/* Reference desktop masthead: 1190px content, 35px utility row, 75px navigation row. */
.site-shell{--site-mobile-header-height:65px}
.site-shell .mobile-menu-tools,.site-shell .mobile-menu-social,.site-shell .site-menu-backdrop,.site-shell .return-mobile-view,.mobile-quick-menu,.mobile-quick-backdrop{display:none}
.site-shell .site-header .brand{position:relative}
.site-shell .site-header .header-actions:empty{display:none}
.site-shell .site-footer{margin:0;padding:0;background:#f4f4f4;color:#000;font:12px/18px dana-regular,Tahoma,Arial,sans-serif;direction:rtl}
.site-shell .site-footer .wrap{box-sizing:border-box;width:100%;max-width:1190px;margin:0 auto;padding-inline:5px}
.site-shell .site-footer-top{background:#e9e9e9}
.site-shell .site-footer-top>.wrap{display:flex;align-items:center;justify-content:space-between;min-height:57px}
.site-shell .site-footer-social{display:flex;align-items:center;gap:13px}
.site-shell .site-footer-social a{display:grid;place-items:center;width:33px;height:33px;color:#0152ad;border-radius:9px;background:#fff}
.site-shell .site-footer-social img{display:block;width:33px;height:33px;object-fit:contain}
.site-shell .site-footer-social img[src*=aparat]{width:21px;height:21px}
.site-shell .site-footer-latin img{display:block;width:291px;height:48px;object-fit:contain}
.site-shell .site-footer-main{display:flex;align-items:center;gap:45px;min-height:120px}
.site-shell .site-footer-brand img{display:block;width:155px;height:95px;object-fit:contain}
.site-shell .site-footer-main nav{display:flex;flex:1;align-items:center;justify-content:center;flex-wrap:wrap;padding:10px;background:#fff;border-radius:6px}
.site-shell .site-footer-main nav a{padding:0 12px;border-left:1px solid #ccc;white-space:nowrap;color:#000;font-size:12px;line-height:18px}
.site-shell .site-footer-main nav a:last-child{border:0}
.site-shell .site-footer-legal{box-sizing:border-box;border-top:1px solid #cad5da80;padding-top:11px;padding-bottom:15px;color:#000;font-size:12px;line-height:18px}
.site-shell .site-footer a:focus-visible{outline:2px solid #0152ad;outline-offset:3px}
.site-shell .mobile-quick-backdrop[hidden],.site-shell .site-menu-backdrop[hidden],.site-shell .mobile-quick-menu nav[hidden],.site-shell .return-mobile-view[hidden]{display:none}
@media(min-width:992px){.site-shell .site-header .mobile-nav-extra,.site-shell .site-header .mobile-nav-toggle,.site-shell .site-header .mobile-header-tools{display:none!important}}
@media(max-width:991px){
  .site-shell .site-header.site-header{position:sticky;top:0;z-index:100;height:65px;min-height:65px;background:#0152ad;box-shadow:none;color:#fff}
  .site-shell .site-header .utility-bar,.site-shell .site-header .header-actions,.site-shell .site-header .brand-latin{display:none!important}
  .site-shell .site-header .masthead.masthead{box-sizing:border-box;display:grid;grid-template-columns:7fr 21fr 8fr;align-items:center;width:100%;max-width:none;height:65px;min-height:65px;margin:0;padding:5px 0!important;gap:0;border:0;direction:rtl}
  .site-shell .site-header .masthead .brand{grid-column:2;grid-row:1;justify-self:center;display:block;width:86px!important;height:55px!important}
  .site-shell .site-header .masthead .brand img{display:none}
  .site-shell .site-header .masthead .brand::after{content:'';display:block;width:86px;height:55px;background:url("../img/header_logo_mob.57718a10b7b3.svg") no-repeat center center;background-size:contain}
  .site-shell .site-header .mobile-nav-toggle{grid-column:1;grid-row:1;justify-self:stretch;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:55px;margin:0;padding:10px 20px;border:0;background:none;color:#fff;font-size:0;cursor:pointer}
  .site-shell .site-header .mobile-nav-toggle::before{display:none}
  .site-shell .site-header .mobile-nav-toggle svg{display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2}
  .site-shell .site-header .mobile-header-tools{grid-column:3;grid-row:1;justify-self:stretch;display:flex;align-items:center;justify-content:flex-end;gap:10px;direction:rtl;padding-left:20px}
  .site-shell .site-header .mobile-header-tools button{box-sizing:border-box;display:grid;place-items:center;flex:none;width:25px;height:25px;margin:0;padding:3px;border:0;border-radius:5px;background:#fff;color:#0152ad;cursor:pointer;font-size:0}
  .site-shell .site-header .mobile-header-tools svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round}
  .site-shell .site-header .main-nav{position:fixed;z-index:113;top:65px;right:0;bottom:0;box-sizing:border-box;display:block;width:min(300px,88vw);height:calc(100dvh - 65px);max-height:none;margin:0;padding:0;border:0;border-radius:0;background:#fff;color:#4a4a4a;overflow:auto;overscroll-behavior:contain;transform:translateX(105%);visibility:hidden;pointer-events:none;transition:transform .22s ease,visibility 0s linear .22s}
  .site-shell .site-header .main-nav.is-open{transform:translateX(0);visibility:visible;pointer-events:auto;transition-delay:0s}
  .site-shell .site-header .main-nav-inner{display:flex;flex-direction:column;align-items:stretch;gap:0;margin:0;padding:0;overflow:visible;background:#fff}
  .site-shell .site-header .main-nav-inner>a,.site-shell .site-header .main-nav-inner>a:first-child{box-sizing:border-box;display:block;min-height:40px;padding:8px 20px;border:0;border-radius:0;background:none;color:#4a4a4a;font-size:14px;font-weight:400;line-height:24px;white-space:normal}
  .site-shell .site-header .main-nav-inner>a:hover{color:#eb001a;background:#f4f4f4}
  .site-shell .site-header .main-nav-inner .mobile-logout{display:block;margin:0}
  .site-shell .site-header .main-nav-inner .mobile-logout button{padding:8px 20px;color:#4a4a4a;background:none;border:0;font:14px/24px dana-regular,Tahoma,sans-serif;text-align:right}
  .site-shell .mobile-menu-tools{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 18px;background:#f2f2f2}
  .site-shell .mobile-menu-tools>button:last-child{padding:0;border:0;background:none;color:#555;font:26px/25px Arial;cursor:pointer}
  .site-shell .mobile-menu-language{font:12px/24px Arial,Tahoma,sans-serif;color:#333}
  .site-shell .mobile-menu-theme{box-sizing:border-box;width:44px;height:24px;padding:2px;border:0;border-radius:4px;background:#3d7dbb;cursor:pointer}
  .site-shell .mobile-menu-theme span{display:block;width:20px;height:20px;border-radius:3px;background:#fff url("../img/header_sun.1ac07632f16b.svg") no-repeat center center;background-size:90%}
  .site-shell[data-theme=dark] .mobile-menu-theme span{margin-right:auto;background-image:url("../img/header_moon.43826c4eac9d.svg")}
  .site-shell .mobile-menu-social{display:flex;align-items:center;justify-content:center;gap:8px;padding:7px 5px;background:#0152ad}
  .site-shell .mobile-menu-social a{display:grid;place-items:center;width:22px;height:22px}
  .site-shell .mobile-menu-social img{display:block;width:22px;height:22px;object-fit:contain}
  .site-shell .site-menu-backdrop:not([hidden]){position:fixed;inset:65px 0 0;z-index:99;display:block;width:100%;height:calc(100dvh - 65px);margin:0;padding:0;border:0;background:#0006;cursor:pointer}
  .site-shell .site-header .mobile-search:not([hidden]){box-sizing:border-box;position:absolute;z-index:114;top:65px;left:0;display:flex;gap:8px;width:100%;margin:0;padding:15px 20px;background:#f9f9f9;color:#222;box-shadow:0 3px 5px #0002}
  .site-shell .site-header .mobile-search input{box-sizing:border-box;min-width:0;flex:1;height:38px;margin:0;padding:5px 10px;border:1px solid #ccc;border-radius:4px;font:14px dana-regular,Tahoma,sans-serif;background:#fff;color:#333}
  .site-shell .site-header .mobile-search button{padding:5px 12px;border:0;border-radius:4px;background:#0152ad;color:#fff;font:13px dana-regular,Tahoma,sans-serif;cursor:pointer}
  .site-shell .site-footer-top>.wrap{justify-content:center;min-height:60px}
  .site-shell .site-footer-latin img{display:block;width:102px;height:36px;object-fit:contain}
  .site-shell .site-footer-social,.site-shell .site-footer-main{display:none}
  .site-shell .site-footer .site-footer-legal{display:flex;align-items:center;justify-content:center;min-height:117px;padding:18px 20px 30px;border-top:0;font-size:12px;line-height:18px;text-align:right}
}
@media(max-width:700px){
 .site-shell .mobile-quick-menu{display:block;position:fixed;z-index:496;left:13px;bottom:calc(85px + env(safe-area-inset-bottom,0px));width:40px;height:40px}
 .site-shell .mobile-quick-trigger{display:grid;place-items:center;box-sizing:border-box;width:40px;height:40px;padding:7px;border:0;border-radius:50%;background:#ec1922;color:#fff;cursor:pointer;appearance:none}
 .site-shell .mobile-quick-trigger svg{width:26px;height:12px;fill:currentColor}
 .site-shell .mobile-quick-trigger:focus-visible{outline:2px solid #fff;outline-offset:2px}
 .site-shell .mobile-quick-menu nav{position:absolute;bottom:40px;left:-3px;display:flex;flex-direction:column;align-items:flex-start;gap:5px;direction:rtl;padding-bottom:5px}
 .site-shell .mobile-quick-menu nav a{display:flex;align-items:center;justify-content:flex-start;gap:9px;width:max-content;height:30px;padding:0 11px;border-radius:5px;background:#d70810;color:#fff;font:15px/30px dana-regular,Tahoma,sans-serif;text-decoration:none;white-space:nowrap}
 .site-shell .mobile-quick-menu nav a:nth-child(even){background:#0053ad}
 .site-shell .mobile-quick-menu nav svg{width:16px;height:16px;fill:currentColor;flex:none}
 .site-shell .mobile-quick-backdrop:not([hidden]){position:fixed;inset:0;z-index:495;display:block;width:100%;height:100%;padding:0;border:0;background:#0003;cursor:pointer}
}
@media(prefers-reduced-motion:reduce){.site-shell .site-header .main-nav{transition:none}}
@media print{.site-shell .site-header,.site-shell .site-footer,.site-shell .mobile-quick-menu,.site-shell .mobile-quick-backdrop,.site-shell .return-mobile-view,.site-shell .site-menu-backdrop{display:none!important}}
@media(min-width:992px){
  .site-shell .site-header{position:sticky;top:-35px;z-index:100;background:#0752a5;box-shadow:none}
  .site-shell .site-header .utility-bar{background:#0752a5;border-bottom:0}
  .site-shell .site-header .utility-inner{max-width:1190px;min-height:35px;height:35px;padding:0}
  .site-shell .site-header .utility-dates{gap:9px;white-space:nowrap;font-size:12px;font-weight:700}
  .site-shell .site-header .utility-divider{opacity:.75}
  .site-shell .site-header .utility-english-date{direction:ltr;font-family:Arial,sans-serif;font-size:12px}
  .site-shell .site-header .utility-calendar{width:14px;height:14px;border:1.5px solid #fff;border-radius:2px;position:relative;box-sizing:border-box}
  .site-shell .site-header .utility-calendar:before{content:"";position:absolute;left:1px;right:1px;top:3px;border-top:1px solid #fff}
  .site-shell .site-header .utility-calendar:after{content:"";position:absolute;top:-3px;right:3px;width:2px;height:5px;background:#fff;box-shadow:-5px 0 #fff}
  .site-shell .site-header .utility-clock{width:14px;height:14px;border:1.5px solid #fff;border-radius:50%;position:relative;box-sizing:border-box}
  .site-shell .site-header .utility-clock:after{content:"";position:absolute;top:2px;right:5px;width:3px;height:5px;border-left:1px solid #fff;border-bottom:1px solid #fff;transform:rotate(-30deg)}
  .site-shell .site-header .utility-links{gap:11px;height:35px}
  .site-shell .site-header .utility-links>a{font-size:12px;white-space:nowrap}
  .site-shell .site-header .utility-links>a:nth-of-type(6){order:1}
  .site-shell .site-header .utility-links>a:nth-of-type(5){order:2}
  .site-shell .site-header .utility-links>a:nth-of-type(4){order:3}
  .site-shell .site-header .utility-links>a:nth-of-type(1){order:4}
  .site-shell .site-header .utility-links>a:nth-of-type(2){order:5}
  .site-shell .site-header .utility-links>a:nth-of-type(3){order:6}
  .site-shell .site-header .utility-links .header-search{order:7;width:138px;height:25px;background:#3d7dbb;border-radius:4px;overflow:hidden}
  .site-shell .site-header .utility-links .header-search input{background:#3d7dbb;color:#fff;min-width:0;text-align:right}
  .site-shell .site-header .utility-links .header-search input::placeholder{color:#fff;opacity:1}
  .site-shell .site-header .utility-links .header-search button{background:#fff;color:#0752a5;width:27px;font-size:21px;line-height:1}
  .site-shell .site-header .utility-links .header-search button{font-size:0;position:relative}
  .site-shell .site-header .utility-links .header-search button:before{content:"";position:absolute;top:4px;left:5px;width:13px;height:13px;border:1.5px solid #0752a5;border-radius:50%}
  .site-shell .site-header .utility-links .header-search button:after{content:"";position:absolute;top:17px;left:18px;width:7px;border-top:1.5px solid #0752a5;transform:rotate(45deg);transform-origin:left center}
  .site-shell .site-header .header-mode{order:8;width:47px;height:24px;background:#3d7dbb;padding:2px;box-sizing:border-box}
  .site-shell .site-header .header-mode{margin-right:12px}
  .site-shell .site-header .header-mode span{height:20px;width:22px}
  .site-shell .site-header .header-language{order:9;margin-right:11px}
  .site-shell .site-header .utility-links .header-search{margin-right:44px}
  .site-shell .site-header .utility-links>a:nth-of-type(-n+3){padding-left:6px;padding-right:6px}
  .site-shell .site-header .utility-links>a:nth-of-type(n+4):nth-of-type(-n+6){display:inline-flex;align-items:center;height:19px;line-height:19px;padding:0 9px;border-radius:3px}
  .site-shell .site-header .masthead{max-width:1190px;min-height:75px;height:75px;padding:0;gap:28px;border-top:1px solid #2670b8;box-sizing:border-box}
  .site-shell .site-header .masthead .brand{width:130px}
  .site-shell .site-header .masthead .brand img{width:110px;height:70px;transform:translateX(-20px)}
  .site-shell .site-header .brand-latin{width:130px;line-height:0}
  .site-shell .site-header .brand-latin img{display:block;width:130px;height:auto}
  .site-shell .site-header .header-actions{display:none}
  .site-shell .site-header .main-nav-inner{justify-content:center;overflow:visible;gap:0}
  .site-shell .site-header .main-nav-inner>a{padding:6px 11px;font-size:13px;line-height:19px}
  .site-shell .site-header .main-nav-inner>a:first-child{border-radius:5px}
}
.site-shell .site-header{position:sticky;z-index:100}
@media(max-width:991px){.site-shell .site-header{top:0}}
@media(min-width:992px) and (max-width:1210px){.site-shell .site-header .utility-inner,.site-shell .site-header .masthead{padding-left:12px;padding-right:12px}.site-shell .site-header .main-nav-inner>a{padding-left:5px;padding-right:5px;font-size:12px}}

.site-shell .site-header .mobile-header-tools button .view-icon-mobile{display:none}
.site-shell[data-desktop-view="true"] .site-header .mobile-header-tools button .view-icon-desktop{display:none}
.site-shell[data-desktop-view="true"] .site-header .mobile-header-tools button .view-icon-mobile{display:block}
@media(min-width:992px){
 .site-shell[data-desktop-view="true"] .site-header .masthead{position:relative}
 .site-shell[data-desktop-view="true"] .site-header .brand-latin{visibility:hidden}
 .site-shell[data-desktop-view="true"] .site-header .mobile-header-tools{position:absolute;left:20px;top:25px;display:flex!important;align-items:center}
 .site-shell[data-desktop-view="true"] .site-header .mobile-header-tools .mobile-search-toggle{display:none}
 .site-shell[data-desktop-view="true"] .site-header [data-desktop-view]{box-sizing:border-box;display:grid;place-items:center;width:25px;height:25px;margin:0;padding:3px;border:0;border-radius:5px;background:#fff;color:#0152ad;cursor:pointer;font-size:0}
 .site-shell[data-desktop-view="true"] .site-header [data-desktop-view] svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round}
}

.footer-prayer-mobile{display:none}@media(max-width:991px){.footer-prayer-mobile{display:block;text-align:center;padding:8px 5px 15px}.footer-prayer-mobile a{color:inherit;font:12px/22px dana-regular,Tahoma,sans-serif;text-decoration:none}}

/* Shared header controls must not depend on home/category styles. */
.site-shell .site-header .header-mode{display:flex;align-items:center;flex:none;position:relative;width:47px;height:24px;margin:0;padding:2px;border:0;border-radius:4px;background:#3d7dbb;box-shadow:none;cursor:pointer;appearance:none}
.site-shell .site-header .header-mode span{display:block;flex:none;width:20px;height:20px;margin:0;border-radius:3px;background:#fff url("../img/header_sun.1ac07632f16b.svg") no-repeat center;background-size:90%;pointer-events:none}
.site-shell[data-theme=dark] .site-header .header-mode span{margin-right:auto;background-image:url("../img/header_moon.43826c4eac9d.svg")}
.site-shell .site-header .header-mode:focus-visible{outline:2px solid white;outline-offset:3px}
.mobile-footer-links{display:none}
@media(max-width:991px){.site-shell .site-header .mobile-footer-links{display:block;list-style:none;padding:0;margin:25px 0 0;background:#f2f2f2}.mobile-footer-links li{display:block;padding:8px 0}.mobile-footer-links li:not(:last-child){border-bottom:1px solid #fff}.site-shell .site-header .mobile-footer-links a{display:block;padding:0 20px;border-radius:0;color:#4a4a4a;background:transparent;font:13px/22px dana-regular,Tahoma,sans-serif;text-decoration:none}.site-shell .site-header .mobile-footer-links a:hover{color:#eb001a}}
.jalali-month-year{display:flex;gap:4px;min-width:0;flex:1}.jalali-month-year select{min-width:0;width:auto;flex:1;font:inherit;padding:3px 1px;background:#fff;color:#00316e;border:1px solid #b7cbe6;border-radius:3px}.jalali-calendar-head{flex-wrap:wrap}.jalali-calendar-head>button{font-size:11px;padding:4px}
.jalali-control:has(.jalali-time) .jalali-display{width:175px}
.jalali-calendar-time{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:10px;padding-top:10px;border-top:1px solid #dce5ef}
.jalali-calendar-time label{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%}
.jalali-calendar-time .jalali-time{padding:5px;border:1px solid #b7cbe6;border-radius:4px}
.jalali-control:has(>.jalali-time-field) .jalali-display{width:130px}
.jalali-control>.jalali-time-field{display:flex;align-items:center;gap:8px;font-size:12px;white-space:nowrap}
.jalali-control>.jalali-time-field .jalali-time{width:115px;padding:5px;border:1px solid #b7cbe6;border-radius:4px;background:#fff;cursor:pointer}
body.site-shell[data-theme=dark]{background:#15191f;color:#ddd}
.site-shell[data-theme=dark] main,.site-shell[data-theme=dark] .story,.site-shell[data-theme=dark] .article-grid{background:#15191f;color:#ddd}
.site-shell[data-theme=dark] main p,.site-shell[data-theme=dark] main h1,.site-shell[data-theme=dark] main h2,.site-shell[data-theme=dark] main h3{color:#ddd}
.site-shell[data-theme=dark] main a{color:#acd6ff}
.site-shell[data-theme=dark] .site-footer,.site-shell[data-theme=dark] .site-footer-top,.site-shell[data-theme=dark] .site-footer-main nav{background:#222832;color:#ddd}
.site-shell[data-theme=dark] .site-footer-main nav a{color:#ddd}

.site-shell[data-theme=dark] .srvTabBox,.site-shell[data-theme=dark] .srvSideNewsBox,.site-shell[data-theme=dark] .srvAdvBg,.site-shell[data-theme=dark] .service-special,.site-shell[data-theme=dark] .prayer-page,.site-shell[data-theme=dark] .weather_container{background:#222832;color:#ddd}
.site-shell[data-theme=dark] .ptime_c th,.site-shell[data-theme=dark] .ptime_c td,.site-shell[data-theme=dark] .tableLig td{background:#222832;color:#ddd;border-color:#49515c}
.site-shell[data-theme=dark] .weather_body dt,.site-shell[data-theme=dark] .weather-minmax{color:#ddd}
.site-shell[data-theme=dark] .weather_body dd,.site-shell[data-theme=dark] .weather-minmax span{color:#acd6ff}
.poll-card .poll-option-image{width:64px;height:48px;object-fit:cover;border-radius:3px;flex-shrink:0;vertical-align:middle;margin-inline-end:8px}.service-featured-tags{display:flex;flex-wrap:wrap;gap:8px;padding-block:10px}.service-featured-tags a{padding:3px 9px;border:1px solid #d4dce5;border-radius:4px;font-size:12px}
@media(max-width:991px){.site-shell[data-theme=dark] .site-header .main-nav,.site-shell[data-theme=dark] .site-header .main-nav-inner{background:#1b2028}.site-shell[data-theme=dark] .site-header .main-nav-inner>a,.site-shell[data-theme=dark] .site-header .province-menu-link{color:#ddd}.site-shell[data-theme=dark] .site-header .mobile-footer-links{background:#252b35}.site-shell[data-theme=dark] .site-header .mobile-footer-links a{color:#ddd}.site-shell[data-theme=dark] .mobile-footer-links li:not(:last-child){border-color:#38414d}}
