/*
Theme Name: خانه هنر
Author: فرحناز سعیدی
Description: قالب فارسی ساده و واکنش‌گرا برای پروژهٔ خانه هنر؛ سازگار با ویرایشگر بلوکی وردپرس.
Version: 1.0.0
Requires at least: 6.7
Requires PHP: 8.2
License: GNU General Public License v2 or later
Text Domain: khaneh-honar
*/
@font-face{font-family:Vazirmatn;src:url(assets/Vazirmatn-Regular.woff2) format('woff2');font-weight:400;font-display:swap}@font-face{font-family:Vazirmatn;src:url(assets/Vazirmatn-Bold.woff2) format('woff2');font-weight:700;font-display:swap}
:root{--cream:#faf7f0;--ink:#293f35;--rust:#b85b3d;--line:#ded8cb;--sand:#f1eadc}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--cream);color:var(--ink);font:16px/1.9 Vazirmatn,Tahoma,sans-serif}a{color:inherit;text-decoration:none}a:hover{color:var(--rust)}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid var(--rust);outline-offset:5px}img{max-width:100%;height:auto;display:block}button,input,textarea{font:inherit}h1,h2,h3,p{margin:0}h1,h2,h3{font-weight:700;line-height:1.55}h2{font-size:30px}h3{font-size:19px}.container{width:min(1240px,calc(100% - 96px));margin-inline:auto}.site-header{height:90px;position:relative;z-index:5;background:var(--cream)}.header-inner{display:flex;align-items:center;justify-content:space-between;height:100%}.brand{display:flex;align-items:center;gap:10px;font-size:29px;font-weight:700}.brand svg{width:34px;height:43px;color:var(--rust)}nav ul{display:flex;gap:38px;list-style:none;padding:0;margin:0}nav li a{display:block;padding:8px 0}.current-menu-item>a{color:var(--rust);border-bottom:2px solid var(--rust)}.menu-toggle{display:none}.hero{position:relative;min-height:430px;overflow:hidden}.hero-photo{position:absolute;inset:0 40% 0 0}.hero-photo img{height:100%;width:100%;object-fit:cover;object-position:center}.hero-photo:after{content:'';position:absolute;inset:0;background:linear-gradient(to left,var(--cream),transparent 28%)}.hero-inner{position:relative;min-height:430px;display:flex;align-items:center}.hero-copy{width:42%;padding-block:30px}.hero h1{font-size:56px;line-height:1.45;letter-spacing:-1.8px}.hero p{font-size:17px;margin:15px 0 24px;max-width:450px}.button{display:inline-flex;align-items:center;gap:28px;background:var(--rust);color:white;border-radius:7px;padding:11px 26px;font-size:17px;border:0;cursor:pointer}.button:hover{background:#914630;color:#fff}.button svg{width:20px;height:20px}.topic-band{background:var(--sand)}.topic-band .container{display:flex;align-items:center;padding-block:15px}.topic-band a{flex:1;text-align:center;font-size:21px;font-weight:700;border-inline-start:1px solid #cfc6b5}.topic-band a:first-child{border:0}.latest{padding-block:35px 45px}.section-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.section-heading p{font-size:15px;color:#536258}.text-link{font-size:14px;text-decoration:underline;text-underline-offset:6px}.articles{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}.article .image-link{display:block;border-radius:7px;overflow:hidden;margin-bottom:12px;aspect-ratio:1.7;background:var(--sand)}.image-link img{width:100%;height:100%;object-fit:cover;transition:transform .35s}.image-link:hover img{transform:scale(1.04)}.article-category{color:var(--rust);font-size:12px;margin-bottom:4px}.article h3{font-size:18px}.article h2{font-size:22px}.article>p:last-child{font-size:14px;color:#536258;margin-top:5px}.home-note{border-top:1px solid var(--line);padding-block:25px 35px;max-width:1240px}.home-note h2{font-size:22px}.home-note p{margin-top:8px;max-width:850px}.home-note ul{display:flex;gap:35px;padding-right:20px}.site-footer{background:var(--ink);color:var(--cream);padding:30px 0}.footer-inner{display:flex;gap:30px;align-items:center;justify-content:space-between}.site-footer nav{display:flex;gap:25px;font-size:14px}.site-footer p{font-size:12px;opacity:.85}.credit{text-align:left}.page-main{padding-block:40px 70px;min-height:65vh}.page-heading{margin-bottom:25px;border-bottom:1px solid var(--line);padding-bottom:20px}.page-heading h1{font-size:40px}.content{font-size:17px;line-height:2.1}.content p{margin:16px 0}.content h2{margin:30px 0 12px;font-size:26px}.content h3{margin-top:25px}.content a,.tags a{color:var(--rust);text-decoration:underline;text-underline-offset:4px}.content li{margin-block:7px}.content .articles a{text-decoration:none;color:inherit}.content .articles{margin-top:24px;grid-template-columns:repeat(3,1fr)}.content figure{margin:25px 0}.content figure img{border-radius:8px}.content figcaption{font-size:13px;color:#697468;text-align:center}.content table{border-collapse:collapse;width:100%;font-size:15px}.content th,.content td{padding:12px 18px;border:1px solid var(--line);text-align:right}.content th{background:var(--sand)}.wp-block-table{overflow-x:auto}.wp-block-gallery{display:flex;gap:24px;flex-wrap:wrap}.wp-block-gallery .wp-block-image{width:calc(33.33% - 16px);margin:0}.wp-block-gallery img{aspect-ratio:1.3;object-fit:cover}.wp-block-buttons{margin-block:25px}.wp-block-button__link{background:var(--rust);color:white!important;text-decoration:none!important;font:inherit;padding:10px 24px;border-radius:7px}.single-main{max-width:860px;padding-block:40px 65px}.byline{font-size:13px;color:#697468}.featured{width:100%;max-height:420px;object-fit:cover;border-radius:8px}.tags{font-size:14px;padding-block:25px;border-bottom:1px solid var(--line)}.post-nav{display:flex;justify-content:space-between;gap:20px;font-size:14px;margin-block:25px}.comments{padding-top:30px;border-top:1px solid var(--line)}.comments h2{font-size:26px}.comments h3{margin-top:20px}.comment-form p{margin-block:16px}.comment-form label{display:block;font-size:14px}.comment-form input:not([type=checkbox]),.comment-form textarea{padding:10px;background:#fff;border:1px solid #c9cbbc;border-radius:5px;width:100%;color:var(--ink)}.comment-form .submit{background:var(--rust)!important;color:white!important;width:auto!important;cursor:pointer}.comment-form-cookies-consent label{display:inline}.comment-list{padding-right:24px}.comment-body{padding-block:15px}.skip{position:absolute;top:-100px;right:20px;background:white;padding:8px;z-index:100}.skip:focus{top:10px}
@media(min-width:1600px){.hero-photo{inset-inline-end:0}.hero-photo img{object-position:60% center}}@media(max-width:1050px){.container{width:calc(100% - 48px)}.hero h1{font-size:44px}.hero-copy{width:45%}.articles{grid-template-columns:repeat(2,1fr)}.footer-inner{flex-wrap:wrap}.credit{text-align:right}.content .articles{grid-template-columns:repeat(2,1fr)}}@media(max-width:650px){.container{width:calc(100% - 36px)}.site-header{height:76px}.brand{font-size:24px}.menu-toggle{display:block;background:transparent;border:1px solid var(--line);border-radius:5px;color:var(--ink);padding:5px 12px;font-size:14px}#primary-nav{display:none;position:absolute;top:76px;left:0;right:0;background:var(--cream);box-shadow:0 10px 14px #293f3515;padding:15px 25px}#primary-nav.open{display:block}nav ul{flex-direction:column;gap:8px}.hero{min-height:650px;display:flex;flex-direction:column}.hero-inner{min-height:auto;order:0}.hero-copy{width:100%;padding-block:24px 30px}.hero h1{font-size:41px;letter-spacing:-1px}.hero p{font-size:16px}.hero-photo{position:relative;inset:auto;height:260px;order:1}.hero-photo:after{display:none}.hero-photo img{object-position:center}.topic-band a{font-size:16px}.topic-band .container{padding-block:12px}.section-heading{align-items:flex-start;gap:10px}.section-heading h2{font-size:25px}.section-heading p{font-size:13px}.text-link{font-size:12px;white-space:nowrap;margin-top:9px}.articles{gap:24px 14px}.article h3{font-size:16px}.article-category{font-size:11px}.article>p:last-child{font-size:13px}.home-note ul{display:block}.footer-inner{display:block}.site-footer nav{margin-block:20px;gap:20px;flex-wrap:wrap}.site-footer .credit{margin-top:15px}.page-heading h1{font-size:30px}.page-main,.single-main{padding-block:28px 45px}.content{font-size:16px}.content .articles{grid-template-columns:1fr}.wp-block-gallery .wp-block-image{width:100%}.post-nav{flex-direction:column}.content td,.content th{padding:9px;font-size:13px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.image-link img{transition:none}}
.content .wp-block-gallery.has-nested-images figure.wp-block-image{flex-grow:0;display:block;width:calc(33.333% - 16px)!important}.content .wp-block-gallery.has-nested-images figure.wp-block-image figcaption{position:static;background:none;padding:8px 0;color:#697468;max-height:none;width:auto}.content .wp-block-gallery.has-nested-images figure.wp-block-image img{height:auto;flex:none;border-radius:8px}@media(max-width:650px){.hero{min-height:auto}.content .wp-block-gallery.has-nested-images figure.wp-block-image{width:100%!important}}
.content .wp-block-gallery.has-nested-images figure.wp-block-image{height:auto!important;aspect-ratio:auto!important;overflow:visible}.content .wp-block-gallery.has-nested-images figure.wp-block-image img{width:100%!important;height:auto!important;aspect-ratio:1.3!important;object-fit:cover}

.profile-intro{display:grid;grid-template-columns:180px 1fr;gap:38px;align-items:center;background:var(--sand);padding:30px;border-radius:8px;margin-bottom:32px}.content .profile-intro figure{margin:0}.profile-intro img{width:180px;height:auto}.profile-intro h2{margin-top:0}.profile-intro p{margin-block:10px}.page-main:has(.profile-intro){max-width:1040px}.profile-intro-copy{min-width:0}@media(max-width:650px){.profile-intro{grid-template-columns:1fr;padding:22px;gap:16px}.profile-intro img{width:140px}.profile-intro h2{font-size:23px}}
