/* Shared site chrome: the exact homepage header and footer on every public template. */
@font-face{font-family:AeenSans;src:url('assets/IRANSansXVFaNum.woff2') format('woff2-variations');font-weight:100 900;font-style:normal;font-display:swap}
.skip-link{position:fixed;right:16px;top:-100px;z-index:10000;background:#fff;color:#173f35;padding:10px 14px;font-family:AeenSans,Tahoma,sans-serif}.skip-link:focus{top:10px}
.site-header,.site-footer,.search-dialog{--chrome-paper:#fffdf9;--chrome-ink:#25322d;--chrome-muted:#6b756f;--chrome-line:#ded8d0;--chrome-forest:#173f35;--chrome-rose:#9e3f59;--chrome-radius:16px;font-family:AeenSans,Tahoma,sans-serif;color:var(--chrome-ink)}
.site-header .shell,.site-footer .shell{width:min(1440px,calc(100% - 48px));margin-inline:auto}
.site-header{background:var(--chrome-paper);border-bottom:1px solid var(--chrome-line);position:relative;z-index:30}
.site-header .topbar{min-height:112px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center}
.site-header .brand{grid-column:2}.site-header .brand img{display:block;width:178px;max-width:100%;height:auto}
.site-header .topbar p{justify-self:start;color:var(--chrome-muted);font-size:12px;margin:0}
.site-header .header-actions{justify-self:end;display:flex;gap:8px}
.site-header .icon-button{width:40px;height:40px;display:grid;place-items:center;background:transparent;border:1px solid transparent;color:var(--chrome-forest);cursor:pointer;padding:0}
.site-header .icon-button:hover{border-color:var(--chrome-line);border-radius:50%}.site-header .icon-button svg{width:22px;fill:none;stroke:currentColor;stroke-width:1.7}
.site-header .menu-button{display:none}.site-header .menu-button span{display:block;width:20px;height:2px;background:currentColor;margin:2px}
.site-header .main-nav{border-top:1px solid var(--chrome-line)}
.site-header .nav-row{min-height:58px;display:flex;justify-content:center;align-items:center;gap:clamp(18px,3vw,48px);font-size:13px;font-weight:750}
.site-header .nav-row a{position:relative;white-space:nowrap;color:inherit;text-decoration:none}
.site-header .nav-row a:after{content:"";position:absolute;inset-inline:0;bottom:-13px;height:2px;background:var(--chrome-rose);transform:scaleX(0);transition:.2s}
.site-header .nav-row a:hover:after,.site-header .nav-row a:focus-visible:after{transform:scaleX(1)}
.site-footer{background:#eee7df;border-top:1px solid var(--chrome-line)}
.site-footer .footer-intro{padding-block:50px 28px;border-bottom:1px solid #d7cec5;display:flex;justify-content:space-between;align-items:center}
.site-footer .footer-intro img{display:block;width:150px;max-width:100%;height:auto}.site-footer .footer-intro p{font-size:12px;color:var(--chrome-muted);margin:0}
.site-footer .footer-grid{padding-block:42px 60px;display:grid;grid-template-columns:repeat(4,1fr);gap:40px}
.site-footer .footer-grid>div{display:flex;flex-direction:column}.site-footer .footer-grid h2{font-size:14px;margin:0 0 12px}.site-footer .footer-grid a{font-size:11px;color:var(--chrome-muted);margin:5px 0;text-decoration:none}.site-footer .footer-grid a:hover{color:var(--chrome-rose)}
.site-footer .footer-bottom{background:#e5ddd5;border-top:1px solid #d7cec5}.site-footer .footer-bottom>div{min-height:54px;display:flex;align-items:center;justify-content:space-between;font-size:10px;color:var(--chrome-muted)}
.search-dialog{width:min(620px,calc(100% - 28px));border:0;border-radius:var(--chrome-radius);padding:0;background:var(--chrome-paper);color:var(--chrome-ink)}.search-dialog::backdrop{background:rgba(16,31,26,.68)}
.search-dialog .dialog-close{text-align:left;padding:12px 16px 0}.search-dialog .dialog-close button{border:0;background:transparent;font-size:28px;cursor:pointer}.search-dialog .search-form{padding:8px 34px 38px}.search-dialog .search-form h2{font-size:26px;margin:0 0 12px}.search-dialog .search-form label{font-size:12px;color:var(--chrome-muted)}.search-dialog .search-form>div{display:flex;margin-top:10px}.search-dialog .search-form input{flex:1;min-width:0;height:50px;border:1px solid var(--chrome-line);border-radius:0 12px 12px 0;padding:0 14px;background:#fff;font:inherit}.search-dialog .search-form button{border:0;background:var(--chrome-forest);color:#fff;padding:0 20px;border-radius:12px 0 0 12px;cursor:pointer;font:inherit}
@media(max-width:1100px){.site-header .shell,.site-footer .shell{width:min(calc(100% - 36px),920px)}.site-header .topbar p{display:none}.site-header .menu-button{display:block}.site-header .main-nav{display:none;position:absolute;top:146px;inset-inline:0;background:var(--chrome-paper);border-bottom:1px solid var(--chrome-line)}.site-header .main-nav.open{display:block}.site-header .nav-row{display:grid;grid-template-columns:repeat(2,1fr);gap:0;padding:10px 0}.site-header .nav-row a{padding:12px;border-bottom:1px solid var(--chrome-line)}}
@media(max-width:700px){.site-header .shell,.site-footer .shell{width:calc(100% - 28px)}.site-header .topbar{min-height:78px}.site-header .brand img{width:132px}.site-header .main-nav{top:112px}.site-footer .footer-intro{padding-block:34px 22px;align-items:flex-start;gap:16px;flex-direction:column}.site-footer .footer-grid{grid-template-columns:repeat(2,1fr);gap:28px;padding-block:34px 44px}.site-footer .footer-bottom>div{gap:10px}.search-dialog .search-form{padding:8px 20px 28px}}
@media(max-width:430px){.site-footer .footer-grid{grid-template-columns:1fr}.site-footer .footer-bottom>div{align-items:flex-start;justify-content:center;flex-direction:column;padding-block:14px}}
@media(prefers-reduced-motion:reduce){.site-header *{transition:none!important}}
