/*
Theme Name: Kurosf Environmental Sociology - Clean Local Final
Theme URI: https://kurosf.com
Author: Kuros Farzadfar
Description: Custom bilingual classic KUROSF theme with preserved multi-level flyout navigation relocated to the desktop top header, cinematic hero, language-aware content, responsive layout, and RTL/LTR presentation.
Version: 2026.08.24.2021
Requires at least: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: kurosf-theme
*/

:root {
  --sidebar-w: 240px;
  --teal: #0796a1;
  --teal-dark: #0a778b;
  --teal-light: #53b3bd;
  --blue: #086f84;
  --ink: #13222a;
  --muted: #5b6770;
  --line: #d9dde0;
  --paper: #ffffff;
  --soft: #f2f3f4;
  --purple: #514c75;
  --lime: #7b9d24;
  --orange: #b26918;
  --shadow: 0 12px 34px rgba(0,0,0,.14);
  --font-en: Calibri, Arial, Helvetica, sans-serif;
  --font-fa: Calibri,"Segoe UI",Tahoma,Arial,sans-serif;
}

/* ===== KUROSF v43.0.6 — homepage accordion chevron toggle ===== */
.entry-content details.home-topic-accordion,
.site-main details.home-topic-accordion{
  position:relative;
}

.entry-content details.home-topic-accordion > summary,
.site-main details.home-topic-accordion > summary{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  min-height:64px;
  padding-inline-end:76px;
  cursor:pointer;
  list-style:none;
  user-select:none;
}

html[data-kurosf-lang="fa"] .entry-content details.home-topic-accordion > summary,
html[data-kurosf-lang="fa"] .site-main details.home-topic-accordion > summary,
body.kurosf-lang-fa .entry-content details.home-topic-accordion > summary,
body.kurosf-lang-fa .site-main details.home-topic-accordion > summary{
  padding-inline-end:0;
  padding-inline-start:76px;
}

.entry-content details.home-topic-accordion > summary::-webkit-details-marker,
.site-main details.home-topic-accordion > summary::-webkit-details-marker{
  display:none;
}

.entry-content details.home-topic-accordion > summary::marker,
.site-main details.home-topic-accordion > summary::marker{
  content:"";
}

.entry-content details.home-topic-accordion > summary::before,
.site-main details.home-topic-accordion > summary::before{
  content:"";
  position:absolute;
  inset-inline-end:22px;
  top:50%;
  width:34px;
  height:34px;
  border-radius:999px;
  background:#087f92;
  box-shadow:0 8px 18px rgba(8,127,146,.18);
  transform:translateY(-50%);
  transition:background-color .18s ease,box-shadow .18s ease,transform .18s ease;
  pointer-events:none;
}

html[data-kurosf-lang="fa"] .entry-content details.home-topic-accordion > summary::before,
html[data-kurosf-lang="fa"] .site-main details.home-topic-accordion > summary::before,
body.kurosf-lang-fa .entry-content details.home-topic-accordion > summary::before,
body.kurosf-lang-fa .site-main details.home-topic-accordion > summary::before{
  inset-inline-end:auto;
  inset-inline-start:22px;
}

.entry-content details.home-topic-accordion > summary::after,
.site-main details.home-topic-accordion > summary::after{
  content:"" !important;
  position:absolute;
  inset-inline-end:33px;
  top:calc(50% - 5px);
  width:10px;
  height:10px;
  border-inline-end:2px solid #fff;
  border-block-end:2px solid #fff;
  transform:rotate(45deg);
  transform-origin:center;
  transition:transform .18s ease,top .18s ease;
  pointer-events:none;
}

html[data-kurosf-lang="fa"] .entry-content details.home-topic-accordion > summary::after,
html[data-kurosf-lang="fa"] .site-main details.home-topic-accordion > summary::after,
body.kurosf-lang-fa .entry-content details.home-topic-accordion > summary::after,
body.kurosf-lang-fa .site-main details.home-topic-accordion > summary::after{
  inset-inline-end:auto;
  inset-inline-start:33px;
}

.entry-content details.home-topic-accordion[open] > summary::after,
.site-main details.home-topic-accordion[open] > summary::after{
  top:calc(50% - 1px);
  transform:rotate(225deg);
}

.entry-content details.home-topic-accordion > summary:hover::before,
.entry-content details.home-topic-accordion > summary:focus-visible::before,
.site-main details.home-topic-accordion > summary:hover::before,
.site-main details.home-topic-accordion > summary:focus-visible::before{
  background:#0796a1;
  box-shadow:0 10px 22px rgba(8,127,146,.24);
}

@media (max-width:700px){
  .entry-content details.home-topic-accordion > summary,
  .site-main details.home-topic-accordion > summary{
    min-height:58px;
    padding-inline-end:60px;
  }

  html[data-kurosf-lang="fa"] .entry-content details.home-topic-accordion > summary,
  html[data-kurosf-lang="fa"] .site-main details.home-topic-accordion > summary,
  body.kurosf-lang-fa .entry-content details.home-topic-accordion > summary,
  body.kurosf-lang-fa .site-main details.home-topic-accordion > summary{
    padding-inline-end:0;
    padding-inline-start:60px;
  }

  .entry-content details.home-topic-accordion > summary::before,
  .site-main details.home-topic-accordion > summary::before{
    inset-inline-end:16px;
    width:30px;
    height:30px;
  }

  html[data-kurosf-lang="fa"] .entry-content details.home-topic-accordion > summary::before,
  html[data-kurosf-lang="fa"] .site-main details.home-topic-accordion > summary::before,
  body.kurosf-lang-fa .entry-content details.home-topic-accordion > summary::before,
  body.kurosf-lang-fa .site-main details.home-topic-accordion > summary::before{
    inset-inline-start:16px;
  }

  .entry-content details.home-topic-accordion > summary::after,
  .site-main details.home-topic-accordion > summary::after{
    inset-inline-end:26px;
  }

  html[data-kurosf-lang="fa"] .entry-content details.home-topic-accordion > summary::after,
  html[data-kurosf-lang="fa"] .site-main details.home-topic-accordion > summary::after,
  body.kurosf-lang-fa .entry-content details.home-topic-accordion > summary::after,
  body.kurosf-lang-fa .site-main details.home-topic-accordion > summary::after{
    inset-inline-start:26px;
  }
}

/* ===== KUROSF v43.0.7 final override — homepage Details chevrons, LTR/RTL ===== */
.entry-content details.home-topic-accordion,
.site-main details.home-topic-accordion{
  position:relative!important;
}

.entry-content details.home-topic-accordion > summary,
.site-main details.home-topic-accordion > summary{
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:18px!important;
  min-height:64px;
  padding-inline-end:76px!important;
  cursor:pointer!important;
  list-style:none!important;
  user-select:none;
}

html[data-kurosf-lang="fa"] .entry-content details.home-topic-accordion > summary,
html[data-kurosf-lang="fa"] .site-main details.home-topic-accordion > summary,
body.kurosf-lang-fa .entry-content details.home-topic-accordion > summary,
body.kurosf-lang-fa .site-main details.home-topic-accordion > summary,
.entry-content[dir="rtl"] details.home-topic-accordion > summary,
.site-main[dir="rtl"] details.home-topic-accordion > summary{
  padding-inline-end:0!important;
  padding-inline-start:76px!important;
}

.entry-content details.home-topic-accordion > summary::-webkit-details-marker,
.site-main details.home-topic-accordion > summary::-webkit-details-marker{
  display:none!important;
}

.entry-content details.home-topic-accordion > summary::marker,
.site-main details.home-topic-accordion > summary::marker{
  content:""!important;
}

.entry-content details.home-topic-accordion > summary::before,
.site-main details.home-topic-accordion > summary::before{
  content:""!important;
  position:absolute!important;
  inset-inline-end:22px!important;
  top:50%!important;
  width:34px!important;
  height:34px!important;
  border-radius:999px!important;
  background:#087f92!important;
  box-shadow:0 8px 18px rgba(8,127,146,.18)!important;
  transform:translateY(-50%)!important;
  transition:background-color .18s ease,box-shadow .18s ease,transform .18s ease!important;
  pointer-events:none!important;
}

html[data-kurosf-lang="fa"] .entry-content details.home-topic-accordion > summary::before,
html[data-kurosf-lang="fa"] .site-main details.home-topic-accordion > summary::before,
body.kurosf-lang-fa .entry-content details.home-topic-accordion > summary::before,
body.kurosf-lang-fa .site-main details.home-topic-accordion > summary::before,
.entry-content[dir="rtl"] details.home-topic-accordion > summary::before,
.site-main[dir="rtl"] details.home-topic-accordion > summary::before{
  inset-inline-end:auto!important;
  inset-inline-start:22px!important;
}

.entry-content details.home-topic-accordion > summary::after,
.site-main details.home-topic-accordion > summary::after{
  content:""!important;
  position:absolute!important;
  inset-inline-end:33px!important;
  top:calc(50% - 5px)!important;
  width:10px!important;
  height:10px!important;
  border-inline-end:2px solid #fff!important;
  border-block-end:2px solid #fff!important;
  transform:rotate(45deg)!important;
  transform-origin:center!important;
  transition:transform .18s ease,top .18s ease!important;
  pointer-events:none!important;
}

html[data-kurosf-lang="fa"] .entry-content details.home-topic-accordion > summary::after,
html[data-kurosf-lang="fa"] .site-main details.home-topic-accordion > summary::after,
body.kurosf-lang-fa .entry-content details.home-topic-accordion > summary::after,
body.kurosf-lang-fa .site-main details.home-topic-accordion > summary::after,
.entry-content[dir="rtl"] details.home-topic-accordion > summary::after,
.site-main[dir="rtl"] details.home-topic-accordion > summary::after{
  inset-inline-end:auto!important;
  inset-inline-start:33px!important;
}

.entry-content details.home-topic-accordion[open] > summary::after,
.site-main details.home-topic-accordion[open] > summary::after{
  top:calc(50% - 1px)!important;
  transform:rotate(225deg)!important;
}

.entry-content details.home-topic-accordion > summary:hover::before,
.entry-content details.home-topic-accordion > summary:focus-visible::before,
.site-main details.home-topic-accordion > summary:hover::before,
.site-main details.home-topic-accordion > summary:focus-visible::before{
  background:#0796a1!important;
  box-shadow:0 10px 22px rgba(8,127,146,.24)!important;
}

@media (max-width:700px){
  .entry-content details.home-topic-accordion > summary,
  .site-main details.home-topic-accordion > summary{
    min-height:58px;
    padding-inline-end:60px!important;
  }

  html[data-kurosf-lang="fa"] .entry-content details.home-topic-accordion > summary,
  html[data-kurosf-lang="fa"] .site-main details.home-topic-accordion > summary,
  body.kurosf-lang-fa .entry-content details.home-topic-accordion > summary,
  body.kurosf-lang-fa .site-main details.home-topic-accordion > summary,
  .entry-content[dir="rtl"] details.home-topic-accordion > summary,
  .site-main[dir="rtl"] details.home-topic-accordion > summary{
    padding-inline-end:0!important;
    padding-inline-start:60px!important;
  }

  .entry-content details.home-topic-accordion > summary::before,
  .site-main details.home-topic-accordion > summary::before{
    inset-inline-end:16px!important;
    width:30px!important;
    height:30px!important;
  }

  html[data-kurosf-lang="fa"] .entry-content details.home-topic-accordion > summary::before,
  html[data-kurosf-lang="fa"] .site-main details.home-topic-accordion > summary::before,
  body.kurosf-lang-fa .entry-content details.home-topic-accordion > summary::before,
  body.kurosf-lang-fa .site-main details.home-topic-accordion > summary::before,
  .entry-content[dir="rtl"] details.home-topic-accordion > summary::before,
  .site-main[dir="rtl"] details.home-topic-accordion > summary::before{
    inset-inline-end:auto!important;
    inset-inline-start:16px!important;
  }

  .entry-content details.home-topic-accordion > summary::after,
  .site-main details.home-topic-accordion > summary::after{
    inset-inline-end:26px!important;
  }

  html[data-kurosf-lang="fa"] .entry-content details.home-topic-accordion > summary::after,
  html[data-kurosf-lang="fa"] .site-main details.home-topic-accordion > summary::after,
  body.kurosf-lang-fa .entry-content details.home-topic-accordion > summary::after,
  body.kurosf-lang-fa .site-main details.home-topic-accordion > summary::after,
  .entry-content[dir="rtl"] details.home-topic-accordion > summary::after,
  .site-main[dir="rtl"] details.home-topic-accordion > summary::after{
    inset-inline-end:auto!important;
    inset-inline-start:26px!important;
  }
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;background:#ededed}
body{margin:0;background:#ededed;color:var(--ink);font-family:var(--font-en);line-height:1.55}
a{color:var(--teal-dark)}
img{max-width:100%;height:auto}
button,input{font:inherit}
.has-text-align-justify{text-align:justify;text-align-last:auto}
.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

.site-app{width:min(100%,1920px);min-height:100vh;margin:0 auto;background:#fff;display:grid;grid-template-columns:var(--sidebar-w) minmax(0,1fr);grid-template-areas:"sidebar main";box-shadow:0 0 20px rgba(0,0,0,.12)}
.site-sidebar{grid-area:sidebar;position:sticky;top:0;align-self:start;height:100vh;background:#fff;border-inline-end:1px solid #e0e0e0;z-index:80;overflow:visible}
.site-main{grid-area:main;min-width:0;background:#fff}
.sidebar-logo-link{height:258px;display:flex;align-items:center;justify-content:center;padding:16px;border-bottom:1px solid #e7e7e7;background:#fff}
.sidebar-logo{width:190px;max-height:215px;object-fit:contain}
.mobile-menu-toggle{display:none;width:calc(100% - 24px);margin:12px;padding:12px;border:0;background:var(--teal-dark);color:#fff;font-weight:700;cursor:pointer}

.vertical-menu-list,.vertical-menu-list ul{list-style:none;margin:0;padding:0}
.vertical-menu-list>li{--section-color:var(--teal);position:relative;border-bottom:1px solid #ececec;background:#fff}
.vertical-menu-list>li:nth-child(1){--section-color:#514c75}
.vertical-menu-list>li:nth-child(2){--section-color:#0796a1}
.vertical-menu-list>li:nth-child(3){--section-color:#7b9d24}
.vertical-menu-list>li:nth-child(4){--section-color:#b26918}
.vertical-menu-list>li:nth-child(5){--section-color:#483d8b}
.vertical-menu-list>li:nth-child(6){--section-color:#514c75}
.vertical-menu-list a{display:flex;align-items:center;justify-content:space-between;gap:12px;text-decoration:none}
.vertical-menu-list>li>a{min-height:64px;padding:0 15px;color:#414141;text-transform:uppercase;font-size:15px;letter-spacing:.01em;transition:background .18s,color .18s}
.vertical-menu-list>li:hover>a,.vertical-menu-list>li.current-menu-item>a,.vertical-menu-list>li.current-menu-ancestor>a{background:var(--section-color);color:#fff}
.menu-arrow{font-weight:900;opacity:.9}
.submenu-toggle{display:none}
.vertical-menu-list ul.sub-menu{display:none;position:absolute;inset-inline-start:100%;top:0;width:215px;min-height:64px;background:var(--section-color);color:#fff;z-index:120;box-shadow:var(--shadow)}
.vertical-menu-list li:hover>ul.sub-menu,.vertical-menu-list li:focus-within>ul.sub-menu,.vertical-menu-list li.is-open>ul.sub-menu{display:block}
.vertical-menu-list ul.sub-menu li{position:relative;border-bottom:1px solid rgba(255,255,255,.24);background:color-mix(in srgb,var(--section-color) 88%,white)}
.vertical-menu-list ul.sub-menu a{min-height:64px;padding:10px 34px 10px 58px;color:#fff;font-size:14px;font-weight:700;line-height:1.25}
.vertical-menu-list ul.sub-menu li:hover>a{background:rgba(0,0,0,.13)}
.vertical-menu-list ul.sub-menu ul.sub-menu{top:0;background:color-mix(in srgb,var(--section-color) 66%,white)}
.vertical-menu-list ul.sub-menu ul.sub-menu ul.sub-menu{background:color-mix(in srgb,var(--section-color) 52%,white)}

.hero{position:relative;height:360px;overflow:hidden;background:#333}
.hero-slide{position:absolute;inset:0;opacity:0;transition:opacity 1.6s ease;overflow:hidden}
.hero-slide.is-active{opacity:1}
.hero-slide img{width:100%;height:100%;object-fit:cover;transform:scale(1.02)}
.hero-slide.effect-cinematic-fade.is-active img{animation:kurosfZoom 60s linear both}
.hero-slide.effect-cinematic-pan.is-active img{animation:kurosfPan 60s linear both}
@keyframes kurosfZoom{from{transform:scale(1.03)}to{transform:scale(1.13)}}
@keyframes kurosfPan{from{transform:scale(1.12) translateX(-2%)}to{transform:scale(1.12) translateX(2%)}}
.hero::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 55%,rgba(0,0,0,.46))}
.hero-caption{position:absolute;z-index:3;inset-inline-start:30px;bottom:20px;color:#fff;font-size:25px;text-transform:lowercase;text-shadow:0 2px 6px #000}
.hero-dots{position:absolute;z-index:4;left:50%;right:auto;bottom:14px;display:flex;gap:8px;padding:6px 8px;direction:ltr;transform:translateX(-50%);border:1px solid rgba(255,255,255,.28);border-radius:5px;background:rgba(5,31,36,.42);box-shadow:0 4px 16px rgba(0,0,0,.2);backdrop-filter:blur(3px)}
.hero-dot{width:12px;height:12px;border:1px solid rgba(255,255,255,.9);border-radius:2px;background:rgba(255,255,255,.22);padding:0;cursor:pointer;box-shadow:inset 0 0 0 1px rgba(0,0,0,.08);transition:background-color .22s ease,border-color .22s ease,transform .22s ease,box-shadow .22s ease}
.hero-dot:is(:hover,:focus-visible){background:#43c6cc;border-color:#fff;transform:translateY(-1px);outline:0;box-shadow:0 0 0 2px rgba(255,255,255,.55)}
.hero-dot.is-active{background:#0796a1;border-color:#fff;transform:scale(1.08);box-shadow:0 0 0 1px rgba(255,255,255,.38)}
.utility-bar{min-height:64px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:8px 28px;border-bottom:1px solid #d5d5d5;background:#fff}
.site-search{width:min(320px,50vw);position:relative}
.site-search input[type=search]{width:100%;height:43px;border:1px solid #b7c8ce;border-radius:24px;padding:0 48px 0 18px;font-size:16px;outline:none}
.site-search button{position:absolute;inset-inline-end:4px;top:4px;width:35px;height:35px;border:0;border-radius:50%;background:transparent;color:#54717d;font-size:25px;cursor:pointer}
.language-switcher{display:flex;border:1px solid #9fb6bd;border-radius:25px;padding:3px;background:#eef4f5;white-space:nowrap}
.language-switcher a{padding:8px 14px;border-radius:20px;text-decoration:none;color:#062f4e;font-weight:700}
.language-switcher a.active{background:#08758b;color:#fff}
.brand-strip{min-height:120px;background:#0e7e93;color:#fff;display:flex;align-items:center;gap:22px;padding:15px 28px}
.brand-icon{width:86px;height:86px;object-fit:contain;flex:0 0 auto}
.brand-title{font-size:32px;line-height:1.1;text-transform:uppercase;margin:0 0 8px;font-weight:400}
.brand-quote{font-family:Georgia,serif;font-size:22px;line-height:1.25;margin:0}
.site-content{min-height:500px}

.home-layout{display:grid;grid-template-columns:280px minmax(0,1fr);align-items:start}
.home-guide{border-inline-end:1px solid #d7d7d7;background:#f2f2f2;position:sticky;top:0;max-height:100vh;overflow:auto}
.home-guide-title{height:76px;display:flex;align-items:center;padding:0 22px;border-bottom:1px solid #d2d2d2;color:#687077;text-transform:uppercase;font-size:14px}
.guide-link{display:block;padding:20px 22px;border-bottom:1px solid #d5d5d5;text-decoration:none;color:#202020;transition:background .18s}
.guide-link:hover,.guide-link.is-active{background:#fff}
.guide-link strong{display:block;font-size:19px;margin-bottom:7px;color:#111}
.guide-link span{display:block;font-size:15px;line-height:1.45;color:#56616a}
.home-body{padding:46px 56px 70px;min-width:0}
.profile-heading{font-size:42px;line-height:1.1;color:#08758b;font-weight:400;margin:14px 0 25px}
.profile-row{display:grid;grid-template-columns:220px minmax(0,1fr);align-items:center;gap:28px;margin-bottom:34px}
.profile-logo{width:210px;max-height:250px;object-fit:contain}
.profile-statement{font-size:36px;line-height:1.05;color:#08758b;font-weight:800;margin:0}
.topic-card{border-top:5px solid var(--teal);background:#fff;margin:0 0 20px;box-shadow:0 4px 18px rgba(0,0,0,.08)}
.topic-card-header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:19px 22px;cursor:pointer;background:#f5f8f8}
.topic-card h2{margin:0;font-size:26px;color:#096f82}
.topic-card-summary{padding:0 22px 19px;font-size:18px;color:#38454c}
.topic-toggle{border:0;background:#08758b;color:#fff;width:34px;height:34px;border-radius:50%;font-size:0;cursor:pointer;display:inline-flex;align-items:center;justify-content:center}
.topic-toggle::before{content:"";width:12px;height:14px;background:currentColor;clip-path:polygon(35% 0,65% 0,65% 52%,100% 52%,50% 100%,0 52%,35% 52%);transition:transform .18s ease}
.topic-details{display:none;padding:0 22px 24px;font-size:17px;line-height:1.72}
.topic-card.is-open .topic-details{display:block}
.topic-card.is-open .topic-toggle{transform:none}
.topic-card.is-open .topic-toggle::before{transform:rotate(180deg)}
.translation-note{padding:11px 15px;background:#fff6d8;border-inline-start:4px solid #d6a000;margin:0 0 18px;color:#6a5100}

.page-layout{padding:42px 6vw 70px;max-width:1180px;margin:0 auto}
.page-header{border-bottom:4px solid var(--teal);padding-bottom:13px;margin-bottom:30px}
.page-header h1{margin:0;color:#08758b;font-size:clamp(34px,5vw,58px);font-weight:400}
.entry-content{font-size:16px;line-height:1.75;overflow-wrap:anywhere}
.entry-content h2{color:#08758b;margin-top:1.7em;font-size:25px}
.entry-content h3{color:#233c45;margin-top:1.5em;font-size:21px}
.entry-content a{text-decoration-thickness:1px;text-underline-offset:2px}
.entry-content .cms-summary-banner{background:#e6f3f4;border-inline-start:5px solid var(--teal);padding:16px 20px;margin:0 0 25px}
.entry-content .wp-block-group{max-width:none}
.entry-content table{border-collapse:collapse;width:100%}
.entry-content th,.entry-content td{border:1px solid #d8d8d8;padding:10px}
.entry-content img{border-radius:2px}

html[data-kurosf-lang="en"] .cms-block-fa,html[data-kurosf-lang="en"] .localized-fa{display:none!important}
html[data-kurosf-lang="fa"] .cms-block-en,html[data-kurosf-lang="fa"] .localized-en{display:none!important}
html[data-kurosf-lang="fa"] body{font-family:var(--font-fa);direction:rtl;text-align:right}
html[data-kurosf-lang="fa"] .site-app{grid-template-columns:minmax(0,1fr) var(--sidebar-w);grid-template-areas:"main sidebar"}
html[data-kurosf-lang="fa"] .vertical-menu-list ul.sub-menu{inset-inline-start:auto;inset-inline-end:100%}
html[data-kurosf-lang="fa"] .site-search input[type=search]{padding:0 18px 0 48px}
html[data-kurosf-lang="fa"] .home-layout{grid-template-columns:minmax(0,1fr) 280px}
html[data-kurosf-lang="fa"] .home-guide{grid-column:2;border-inline-end:0;border-inline-start:1px solid #d7d7d7}
html[data-kurosf-lang="fa"] .home-body{grid-column:1;grid-row:1}
html[data-kurosf-lang="fa"] .brand-title{text-transform:none}

 .site-footer{margin:0;padding:0;background:#083c45;color:#fff;border-top:5px solid #18a9d8;direction:ltr;text-align:left}
.footer-shell{width:min(1365px,calc(100% - 72px));margin:0 auto;padding:29px 0 20px;display:flex;align-items:flex-start;justify-content:space-between;gap:48px}
.footer-identity{min-width:300px;max-width:520px}
.footer-name{margin:0;color:#fff;font-family:Calibri,"Carlito","Segoe UI",Arial,sans-serif;font-size:21px;line-height:1.18;font-weight:700}
.footer-tagline{margin:8px 0 0;color:#fff;font-family:Calibri,"Carlito","Segoe UI",Arial,sans-serif;font-size:16px;line-height:1.35;font-weight:400}
.footer-links{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px 25px;margin:15px 0 0;padding:0}
.footer-links a{position:relative;color:#fff;font-family:Calibri,"Carlito","Segoe UI",Arial,sans-serif;font-size:16px;line-height:1.25;font-weight:700;text-decoration:none;text-transform:uppercase}
.footer-links .footer-contact::before{content:"✉";display:inline-block;margin-inline-end:9px;font-size:15px;line-height:1;vertical-align:1px}
.footer-links a::after{content:"";position:absolute;inset-inline:0;bottom:-5px;height:2px;background:#18a9d8;transform:scaleX(0);transform-origin:inherit;transition:transform .2s ease}
.footer-links a:hover::after,.footer-links a:focus-visible::after{transform:scaleX(1)}
.footer-note{width:min(1365px,calc(100% - 72px));box-sizing:border-box;margin:0 auto;padding:16px 0 29px;border-top:1px solid rgba(255,255,255,.22);color:#fff;font-family:Calibri,"Carlito","Segoe UI",Arial,sans-serif;font-size:16px;line-height:1.35;text-align:left}
.site-footer.theme-deep-teal{background:#083c45;color:#fff}
.site-footer.theme-light{background:#f4f7f7;color:#173642;border-top-color:#18a9d8}
.site-footer.theme-light .footer-name,.site-footer.theme-light .footer-links a{color:#173642}
.site-footer.theme-light .footer-tagline,.site-footer.theme-light .footer-note{color:#536970}
.site-footer.theme-light .footer-note{border-top-color:#d7e2e5}
.site-footer.theme-dark{background:#18242a}
.site-footer.theme-custom{background:var(--footer-bg,#083c45);color:var(--footer-text,#fff);border-top-color:var(--footer-accent,#18a9d8)}
.site-footer.theme-custom .footer-name,.site-footer.theme-custom .footer-links a{color:var(--footer-text,#fff)}
.site-footer.theme-custom .footer-tagline,.site-footer.theme-custom .footer-note{color:var(--footer-muted,#fff)}
.site-footer.theme-custom .footer-links a::after{background:var(--footer-accent,#18a9d8)}

@media (max-width:1200px){:root{--sidebar-w:220px}.hero{height:300px}.home-body{padding:36px}.brand-title{font-size:28px}.brand-quote{font-size:18px}}
@media (max-width:980px){
  .site-app,html[data-kurosf-lang="fa"] .site-app{display:block}
  .site-sidebar{position:relative;height:auto;border:0}
  .sidebar-logo-link{height:155px}.sidebar-logo{max-height:135px;width:150px}
  .mobile-menu-toggle{display:block}
  .vertical-menu{display:none}.vertical-menu.is-active{display:block}
  .vertical-menu-list ul.sub-menu,.vertical-menu-list ul.sub-menu ul.sub-menu,.vertical-menu-list ul.sub-menu ul.sub-menu ul.sub-menu{position:static;width:auto;box-shadow:none;display:none;background:color-mix(in srgb,var(--section-color) 80%,white)}
  .vertical-menu-list li.is-open>ul.sub-menu{display:block}
  .vertical-menu-list>li:hover>ul.sub-menu{display:none}.vertical-menu-list>li.is-open:hover>ul.sub-menu{display:block}
  .vertical-menu-list ul.sub-menu a{padding-inline-start:32px;min-height:48px;font-size:14px}
  .submenu-toggle{display:block;position:absolute;inset-inline-end:7px;top:10px;width:40px;height:40px;border:0;background:rgba(255,255,255,.17);color:currentColor;z-index:2;cursor:pointer}
  .hero{height:240px}.utility-bar{padding:10px 16px;flex-wrap:wrap}.site-search{width:100%;order:2}.language-switcher{margin-inline-start:auto}
  .brand-strip{min-height:96px;padding:12px 18px}.brand-icon{width:65px;height:65px}.brand-title{font-size:24px}.brand-quote{font-size:16px}
  .home-layout,html[data-kurosf-lang="fa"] .home-layout{display:block}.home-guide,html[data-kurosf-lang="fa"] .home-guide{position:relative;max-height:none;border:0}.home-guide-title{height:58px}.guide-link{padding:14px 18px}.guide-link span{display:none}
  .home-body{padding:28px 20px}.profile-heading{font-size:34px}.profile-row{grid-template-columns:130px 1fr}.profile-logo{width:125px}.profile-statement{font-size:25px}.topic-card h2{font-size:21px}
  .page-layout{padding:28px 20px 55px}.entry-content{font-size:16px}
  .footer-shell{width:calc(100% - 36px);padding:25px 0 18px;display:block}
  .footer-identity{min-width:0;max-width:none}
  .footer-links{justify-content:flex-start;margin-top:22px;gap:12px 24px}
  .footer-note{width:calc(100% - 36px);padding:15px 0 22px}
}
@media (max-width:540px){.hero{height:190px}.hero-caption{font-size:18px}.language-switcher a{padding:7px 10px}.brand-icon{width:48px;height:48px}.brand-title{font-size:20px}.brand-quote{font-size:14px}.profile-row{display:block}.profile-logo{display:block;margin:0 auto 18px}.profile-statement{font-size:24px}.page-header h1{font-size:36px}}

/* ===== v4 fidelity patch: animated multilevel navigation, exact directionality, typography ===== */
:root{
  --sidebar-w:240px;
  --menu-col-w:215px;
  --font-en:"Inter","Segoe UI",Calibri,Arial,sans-serif;
  --font-fa:Calibri,"Segoe UI",Tahoma,Arial,sans-serif;
  --font-condensed:"Oswald","Arial Narrow",Arial,sans-serif;
}
body{font-family:var(--font-en);font-size:16px}
.hero-caption{font-family:var(--font-condensed);font-weight:500;letter-spacing:.01em;font-size:27px}
.vertical-menu-list>li>a{font-family:var(--font-en);font-size:15px;font-weight:500;letter-spacing:.015em}
.brand-title{font-family:var(--font-en);font-size:31px}
.brand-quote{font-size:21px}

/* Top-level items fill with their own color as the pointer enters. */
.vertical-menu-list>li{isolation:isolate;overflow:visible}
.vertical-menu-list>li>a{position:relative;z-index:2;overflow:hidden;background:transparent;transition:color .24s ease,transform .24s ease;padding-inline:15px 17px}
.vertical-menu-list>li>a::before{content:"";position:absolute;z-index:-1;inset-block:0;inset-inline-start:0;width:0;background:var(--section-color);transition:width .34s cubic-bezier(.2,.75,.25,1)}
.vertical-menu-list>li:hover>a::before,.vertical-menu-list>li:focus-within>a::before,.vertical-menu-list>li.current-menu-item>a::before,.vertical-menu-list>li.current-menu-ancestor>a::before{width:100%}
.vertical-menu-list>li:hover>a,.vertical-menu-list>li:focus-within>a,.vertical-menu-list>li.current-menu-item>a,.vertical-menu-list>li.current-menu-ancestor>a{background:transparent;color:#fff;transform:translateX(5px)}
.vertical-menu-list>li:nth-child(1){--section-color:#483d8b}
.vertical-menu-list>li:nth-child(2){--section-color:#0796a1}
.vertical-menu-list>li:nth-child(3){--section-color:#7b9d24}
.vertical-menu-list>li:nth-child(4){--section-color:#b26918}
.vertical-menu-list>li:nth-child(5){--section-color:#483d8b}
.vertical-menu-list>li:nth-child(6){--section-color:#514c75}

/* Keep all submenu columns mounted so they can animate instead of popping in. */
.vertical-menu-list ul.sub-menu{
  display:block;
  width:var(--menu-col-w);
  min-height:64px;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translateX(-26px);
  transform-origin:left center;
  transition:opacity .22s ease,transform .34s cubic-bezier(.2,.75,.25,1),visibility 0s linear .34s;
  box-shadow:none;
  border:0;
}
.vertical-menu-list li:hover>ul.sub-menu,.vertical-menu-list li:focus-within>ul.sub-menu,.vertical-menu-list li.is-open>ul.sub-menu{
  opacity:1;visibility:visible;pointer-events:auto;transform:translateX(0);transition-delay:0s;
}
.vertical-menu-list ul.sub-menu li{min-height:64px;background:color-mix(in srgb,var(--section-color) 82%,white);overflow:visible}
.vertical-menu-list ul.sub-menu a{position:relative;z-index:1;min-height:64px;padding:10px 38px 10px 58px;font-family:var(--font-en);font-size:14px;font-weight:700;transition:transform .25s ease,background .25s ease,color .25s ease}
.vertical-menu-list ul.sub-menu li:hover>a,.vertical-menu-list ul.sub-menu li:focus-within>a{background:rgba(255,255,255,.13);transform:translateX(7px)}
.vertical-menu-list ul.sub-menu.depth-1{background:color-mix(in srgb,var(--section-color) 82%,white)}
.vertical-menu-list ul.sub-menu.depth-2{background:color-mix(in srgb,var(--section-color) 65%,white)}
.vertical-menu-list ul.sub-menu.depth-3{background:color-mix(in srgb,var(--section-color) 48%,white)}
.vertical-menu-list ul.sub-menu.depth-2>li{background:color-mix(in srgb,var(--section-color) 65%,white)}
.vertical-menu-list ul.sub-menu.depth-3>li{background:color-mix(in srgb,var(--section-color) 48%,white)}
.vertical-menu-list ul.sub-menu ul.sub-menu{inset-inline-start:100%;inset-inline-end:auto;top:0}
.menu-arrow{transition:transform .25s ease}
.vertical-menu-list li:hover>a .menu-arrow,.vertical-menu-list li:focus-within>a .menu-arrow{transform:translateX(4px)}

/* Persian is a true mirror: sidebar at right; flyouts travel right-to-left and open leftward. */
html[data-kurosf-lang="fa"] body{font-family:var(--font-fa);direction:rtl;text-align:right}
html[data-kurosf-lang="fa"] .site-app{grid-template-columns:minmax(0,1fr) var(--sidebar-w);grid-template-areas:"main sidebar"}
html[data-kurosf-lang="fa"] .site-sidebar{border-inline-end:0;border-inline-start:1px solid #e0e0e0}
html[data-kurosf-lang="fa"] .vertical-menu-list>li>a{font-family:var(--font-fa);font-size:15px}
html[data-kurosf-lang="fa"] .vertical-menu-list>li>a::before{inset-inline-start:auto;inset-inline-end:0}
html[data-kurosf-lang="fa"] .vertical-menu-list>li:hover>a,html[data-kurosf-lang="fa"] .vertical-menu-list>li:focus-within>a{transform:translateX(-5px)}
html[data-kurosf-lang="fa"] .vertical-menu-list ul.sub-menu{inset-inline-start:auto;inset-inline-end:100%;transform:translateX(26px);transform-origin:right center}
html[data-kurosf-lang="fa"] .vertical-menu-list li:hover>ul.sub-menu,html[data-kurosf-lang="fa"] .vertical-menu-list li:focus-within>ul.sub-menu,html[data-kurosf-lang="fa"] .vertical-menu-list li.is-open>ul.sub-menu{transform:translateX(0)}
html[data-kurosf-lang="fa"] .vertical-menu-list ul.sub-menu ul.sub-menu{inset-inline-start:auto;inset-inline-end:100%}
html[data-kurosf-lang="fa"] .vertical-menu-list ul.sub-menu a{font-family:var(--font-fa);padding:10px 58px 10px 38px;text-align:right}
html[data-kurosf-lang="fa"] .vertical-menu-list ul.sub-menu li:hover>a,html[data-kurosf-lang="fa"] .vertical-menu-list ul.sub-menu li:focus-within>a{transform:translateX(-7px)}
html[data-kurosf-lang="fa"] .menu-arrow{transform:scaleX(-1)}
html[data-kurosf-lang="fa"] .vertical-menu-list li:hover>a .menu-arrow,html[data-kurosf-lang="fa"] .vertical-menu-list li:focus-within>a .menu-arrow{transform:scaleX(-1) translateX(4px)}
html[data-kurosf-lang="fa"] .utility-bar{flex-direction:row-reverse}
html[data-kurosf-lang="fa"] .brand-strip{flex-direction:row-reverse;text-align:right}
html[data-kurosf-lang="fa"] .brand-title,html[data-kurosf-lang="fa"] .brand-quote{font-family:var(--font-fa)}
html[data-kurosf-lang="fa"] .hero-caption{font-family:var(--font-condensed);font-size:27px;direction:ltr;text-align:left}
html[data-kurosf-lang="fa"] .language-switcher{direction:ltr}
html[data-kurosf-lang="fa"] .home-guide,html[data-kurosf-lang="fa"] .home-body{direction:rtl;text-align:right}
html[data-kurosf-lang="fa"] .topic-card h2,html[data-kurosf-lang="fa"] .profile-heading,html[data-kurosf-lang="fa"] .profile-statement{font-family:var(--font-fa)}

/* Preserve the original desktop proportions. */
@media (min-width:1201px){
  .hero{height:360px}
  .sidebar-logo-link{height:258px}
  .vertical-menu-list>li>a{min-height:64px}
}
@media (max-width:980px){
  .vertical-menu-list ul.sub-menu{display:none;position:static;width:auto;opacity:1;visibility:visible;pointer-events:auto;transform:none!important;transition:none;background:color-mix(in srgb,var(--section-color) 82%,white)}
  .vertical-menu-list li.is-open>ul.sub-menu{display:block}
  .vertical-menu-list li:not(.is-open)>ul.sub-menu{display:none}
  .vertical-menu-list>li:hover>a,.vertical-menu-list>li:focus-within>a,html[data-kurosf-lang="fa"] .vertical-menu-list>li:hover>a,html[data-kurosf-lang="fa"] .vertical-menu-list>li:focus-within>a{transform:none}
}


/* ===== v5 functional correction: preserve v4 effects while restoring all flyout levels ===== */
.vertical-menu,.vertical-menu-list{overflow:visible}
.vertical-menu-list ul.sub-menu.depth-1{z-index:120}
.vertical-menu-list ul.sub-menu.depth-2{z-index:130}
.vertical-menu-list ul.sub-menu.depth-3{z-index:140}
.hero-caption{font-family:var(--font-condensed);font-size:27px;direction:ltr;text-align:left}
.language-switcher{direction:ltr}
.kurosf-native-content-block+.kurosf-native-content-block{margin-top:2.2rem}
.kurosf-native-block-heading{color:#08758b;margin-top:0}

/* Body-class fallback makes RTL reliable even when a host modifies html attributes. */
body.kurosf-lang-en .cms-block-fa,body.kurosf-lang-en .localized-fa{display:none!important}
body.kurosf-lang-fa .cms-block-en,body.kurosf-lang-fa .localized-en{display:none!important}
body.kurosf-lang-fa{font-family:var(--font-fa);direction:rtl;text-align:right}
body.kurosf-lang-fa .vertical-menu-list>li>a{font-family:var(--font-fa);font-size:15px}
body.kurosf-lang-fa .vertical-menu-list ul.sub-menu a{font-family:var(--font-fa);text-align:right}
body.kurosf-lang-fa .utility-bar,body.kurosf-lang-fa .brand-strip{flex-direction:row-reverse}
body.kurosf-lang-fa .brand-strip,body.kurosf-lang-fa .home-guide,body.kurosf-lang-fa .home-body{text-align:right}
body.kurosf-lang-fa .brand-title,body.kurosf-lang-fa .brand-quote,body.kurosf-lang-fa .topic-card h2,body.kurosf-lang-fa .profile-heading,body.kurosf-lang-fa .profile-statement{font-family:var(--font-fa)}
body.kurosf-lang-fa .hero-caption{font-family:var(--font-condensed);font-size:27px;direction:ltr;text-align:left}

@media (min-width:981px){
  body.kurosf-lang-fa .site-app{grid-template-columns:minmax(0,1fr) var(--sidebar-w);grid-template-areas:"main sidebar"}
  body.kurosf-lang-fa .site-sidebar{border-inline-end:0;border-inline-start:1px solid #e0e0e0}
  body.kurosf-lang-fa .home-layout{grid-template-columns:minmax(0,1fr) 280px}
  body.kurosf-lang-fa .home-guide{grid-column:2;border-inline-end:0;border-inline-start:1px solid #d7d7d7}
  body.kurosf-lang-fa .home-body{grid-column:1;grid-row:1}
  body.kurosf-lang-fa .site-search input[type=search]{padding:0 18px 0 48px}
  body.kurosf-lang-fa .vertical-menu-list>li>a::before{inset-inline-start:auto;inset-inline-end:0}
  body.kurosf-lang-fa .vertical-menu-list>li:hover>a,body.kurosf-lang-fa .vertical-menu-list>li:focus-within>a{transform:translateX(-5px)}
  body.kurosf-lang-fa .vertical-menu-list ul.sub-menu{inset-inline-start:auto;inset-inline-end:100%;transform:translateX(26px);transform-origin:right center}
  body.kurosf-lang-fa .vertical-menu-list li:hover>ul.sub-menu,body.kurosf-lang-fa .vertical-menu-list li:focus-within>ul.sub-menu,body.kurosf-lang-fa .vertical-menu-list li.is-open>ul.sub-menu{transform:translateX(0)}
  body.kurosf-lang-fa .vertical-menu-list ul.sub-menu ul.sub-menu{inset-inline-start:auto;inset-inline-end:100%}
  body.kurosf-lang-fa .vertical-menu-list ul.sub-menu a{padding:10px 58px 10px 38px}
  body.kurosf-lang-fa .vertical-menu-list ul.sub-menu li:hover>a,body.kurosf-lang-fa .vertical-menu-list ul.sub-menu li:focus-within>a{transform:translateX(-7px)}
  body.kurosf-lang-fa .menu-arrow{transform:scaleX(-1)}
  body.kurosf-lang-fa .vertical-menu-list li:hover>a .menu-arrow,body.kurosf-lang-fa .vertical-menu-list li:focus-within>a .menu-arrow{transform:scaleX(-1) translateX(4px)}
}

/* ===== v6: physical RTL placement, robust flyouts, routed interactive pages ===== */
:root{
  --font-page-en:Calibri,Arial,Helvetica,sans-serif;
  --font-menu-en:"Inter","Segoe UI",Calibri,Arial,sans-serif;
}
body{font-family:var(--font-page-en)}
.vertical-menu-list>li>a,.vertical-menu-list ul.sub-menu a{font-family:var(--font-menu-en)}

@media (min-width:981px){
  /* Physical properties avoid host/customizer direction overrides. */
  body.kurosf-lang-en .site-app,
  html[data-kurosf-lang="en"] .site-app{
    direction:ltr!important;
    grid-template-columns:var(--sidebar-w) minmax(0,1fr)!important;
    grid-template-areas:"sidebar main"!important;
  }
  body.kurosf-lang-fa .site-app,
  html[data-kurosf-lang="fa"] .site-app{
    direction:ltr!important;
    grid-template-columns:minmax(0,1fr) var(--sidebar-w)!important;
    grid-template-areas:"main sidebar"!important;
  }
  body.kurosf-lang-fa .site-sidebar,
  html[data-kurosf-lang="fa"] .site-sidebar{
    grid-area:sidebar!important;
    direction:rtl!important;
    text-align:right!important;
    border-right:0!important;
    border-left:1px solid #e0e0e0!important;
  }
  body.kurosf-lang-fa .site-main,
  html[data-kurosf-lang="fa"] .site-main{
    grid-area:main!important;
    direction:rtl!important;
    text-align:right!important;
  }
  body.kurosf-lang-en .vertical-menu-list ul.sub-menu,
  html[data-kurosf-lang="en"] .vertical-menu-list ul.sub-menu{
    left:100%!important;
    right:auto!important;
    transform:translateX(-26px);
    transform-origin:left center;
  }
  body.kurosf-lang-fa .vertical-menu-list ul.sub-menu,
  html[data-kurosf-lang="fa"] .vertical-menu-list ul.sub-menu{
    right:100%!important;
    left:auto!important;
    transform:translateX(26px);
    transform-origin:right center;
    direction:rtl!important;
    text-align:right!important;
  }
  body.kurosf-lang-en .vertical-menu-list li:is(:hover,:focus-within,.is-open,.is-hover-open)>ul.sub-menu,
  html[data-kurosf-lang="en"] .vertical-menu-list li:is(:hover,:focus-within,.is-open,.is-hover-open)>ul.sub-menu,
  body.kurosf-lang-fa .vertical-menu-list li:is(:hover,:focus-within,.is-open,.is-hover-open)>ul.sub-menu,
  html[data-kurosf-lang="fa"] .vertical-menu-list li:is(:hover,:focus-within,.is-open,.is-hover-open)>ul.sub-menu{
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
    transform:translateX(0)!important;
    transition-delay:0s!important;
  }
  body.kurosf-lang-fa .vertical-menu-list>li>a,
  html[data-kurosf-lang="fa"] .vertical-menu-list>li>a{
    direction:rtl!important;
    text-align:right!important;
    flex-direction:row!important;
  }
  body.kurosf-lang-fa .vertical-menu-list ul.sub-menu a,
  html[data-kurosf-lang="fa"] .vertical-menu-list ul.sub-menu a{
    direction:rtl!important;
    text-align:right!important;
    padding:10px 58px 10px 38px!important;
  }
  body.kurosf-lang-fa .vertical-menu-list>li>a::before,
  html[data-kurosf-lang="fa"] .vertical-menu-list>li>a::before{
    right:0!important;
    left:auto!important;
  }
}

body.kurosf-lang-fa .kurosf-native-content,
html[data-kurosf-lang="fa"] .kurosf-native-content{
  direction:rtl!important;
  text-align:right!important;
  font-family:var(--font-fa)!important;
}
body.kurosf-lang-fa .kurosf-native-content :is(p,li,h1,h2,h3,h4),
html[data-kurosf-lang="fa"] .kurosf-native-content :is(p,li,h1,h2,h3,h4){
  direction:rtl;
  text-align:right;
}

.interactive-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:18px 0}
.interactive-toolbar label{flex:1 1 260px}
.interactive-toolbar input{width:100%;min-height:44px;border:1px solid #aebfc5;border-radius:4px;padding:8px 12px;background:#fff;color:#15252c}
.interactive-toolbar button{min-height:44px;border:0;border-radius:4px;padding:8px 16px;background:#08758b;color:#fff;font-weight:700;cursor:pointer}
.interactive-toolbar button.secondary{background:#52636b}
.interactive-status{min-height:1.5em;color:#52636b}
.data-source{font-size:14px;color:#66747b;margin-top:16px}

.live-indicators{margin-top:32px;padding-top:22px;border-top:1px solid #d8e1e3}
.section-heading-row{display:flex;align-items:baseline;justify-content:space-between;gap:20px;flex-wrap:wrap}
.section-heading-row h2{margin:0;color:#08758b}
.section-heading-row span{font-size:14px;color:#68767d}
.indicator-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px;margin-top:14px}
.indicator-card{padding:15px;border:1px solid #d4dfe2;background:#f8fbfb;min-width:0}
.indicator-card h3{font-size:15px;line-height:1.35;margin:0 0 10px;color:#35474f}
.indicator-value{display:block;font-size:26px;line-height:1.1;color:#08758b;overflow-wrap:anywhere}
.indicator-unit{display:block;font-size:13px;color:#68767d;margin:5px 0 10px}
.indicator-source{font-size:12px}

.disaster-results{display:grid;gap:10px;margin:18px 0}
.disaster-event{border-inline-start:4px solid #b26918;background:#fff8ef;padding:12px 14px}
.disaster-event h3{font-size:17px;margin:0 0 5px;color:#6f420f}
.disaster-event p{margin:3px 0;font-size:14px}
.official-source-links{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.official-source-links a{display:inline-block;padding:8px 11px;border:1px solid #9db1b7;border-radius:3px;text-decoration:none;background:#f3f7f8}

@media (max-width:980px){
  body.kurosf-lang-fa .site-app,html[data-kurosf-lang="fa"] .site-app{direction:rtl!important}
  
  .indicator-grid{grid-template-columns:1fr 1fr}
}
@media (max-width:560px){
  .indicator-grid{grid-template-columns:1fr}
  .interactive-toolbar button{flex:1 1 auto}
}
@media (min-width:981px) and (max-width:1200px), (min-width:981px) and (hover:none), (min-width:981px) and (pointer:coarse){
  .vertical-menu-list .submenu-toggle{display:block;position:absolute;top:12px;right:7px;width:36px;height:36px;border:0;border-radius:2px;background:rgba(255,255,255,.14);color:inherit;z-index:6;cursor:pointer}
  body.kurosf-lang-fa .vertical-menu-list .submenu-toggle,html[data-kurosf-lang="fa"] .vertical-menu-list .submenu-toggle{right:auto;left:7px}
}


/* ===== v7 final fidelity and language separation ===== */
:root{
  --font-page-en:Calibri,Arial,Helvetica,sans-serif;
  --font-page-fa:Calibri,"Vazirmatn",Tahoma,"Segoe UI",Arial,sans-serif;
  --font-menu-en:"Inter","Segoe UI",Calibri,Arial,sans-serif;
  --font-menu-fa:Calibri,"Vazirmatn",Tahoma,"Segoe UI",Arial,sans-serif;
  --heading-en:#30363a;
  --heading-fa:#0070c0;
  --link-en:#08758b;
  --link-fa:#0070c0;
}
body.kurosf-lang-en{font-family:var(--font-page-en)}
body.kurosf-lang-fa{font-family:var(--font-page-fa)}
body.kurosf-lang-fa .vertical-menu-list>li>a,body.kurosf-lang-fa .vertical-menu-list ul.sub-menu a{font-family:var(--font-menu-fa)!important}
body.kurosf-lang-en .vertical-menu-list>li>a,body.kurosf-lang-en .vertical-menu-list ul.sub-menu a{font-family:var(--font-menu-en)!important}

/* CMS HTML keeps its own inline font, size, color, alignment and links. */
.kurosf-native-content{font-family:inherit!important;color:#000;line-height:1.75}
.kurosf-native-content .kurosf-native-html{font-family:inherit;color:#000;line-height:1.75}
body.kurosf-lang-en .kurosf-native-content .kurosf-native-html{font-family:var(--font-page-en)}
body.kurosf-lang-fa .kurosf-native-content .kurosf-native-html{font-family:var(--font-page-fa);direction:rtl}
.kurosf-native-content .kurosf-native-html :where(p,li){line-height:1.75}
.kurosf-native-content .kurosf-native-html p:not([style*="text-align"]){text-align:justify;text-justify:inter-word}
body.kurosf-lang-fa .kurosf-native-content .kurosf-native-html p:not([style*="text-align"]){direction:rtl;text-align:justify;text-align-last:right}
body.kurosf-lang-en .kurosf-native-content .kurosf-native-html p:not([style*="text-align"]){direction:ltr;text-align:justify;text-align-last:left}
.kurosf-native-content .kurosf-native-html :where(h1,h2,h3,h4,h5,h6){font-family:inherit;text-align:start}
body.kurosf-lang-en .kurosf-native-block-heading,body.kurosf-lang-en .page-header h1{color:var(--heading-en)}
body.kurosf-lang-fa .kurosf-native-block-heading,body.kurosf-lang-fa .page-header h1{color:var(--heading-fa);font-family:var(--font-page-fa)}
body.kurosf-lang-en .kurosf-native-content a{color:var(--link-en)}
body.kurosf-lang-fa .kurosf-native-content a{color:var(--link-fa)}
.kurosf-native-content-block[data-block-align="center"]>.kurosf-native-block-heading{text-align:center}
.kurosf-native-content-block[data-block-align="right"]>.kurosf-native-block-heading{text-align:right}
.kurosf-native-content-block[data-block-align="left"]>.kurosf-native-block-heading{text-align:left}
.kurosf-native-html .MsoNormal{margin-block:1em}

/* True physical mirror. Flyouts remain above page content and cannot be clipped. */
.site-app,.site-sidebar,.vertical-menu,.vertical-menu-list,.vertical-menu-list li{overflow:visible!important}
.site-sidebar{z-index:500!important}
.site-main{position:relative;z-index:1}
.vertical-menu-list ul.sub-menu{z-index:600!important}
.vertical-menu-list ul.sub-menu ul.sub-menu{z-index:610!important}
.vertical-menu-list ul.sub-menu ul.sub-menu ul.sub-menu{z-index:620!important}
@media (min-width:981px){
  body.kurosf-lang-fa .site-app{direction:ltr!important;grid-template-columns:minmax(0,1fr) var(--sidebar-w)!important;grid-template-areas:"main sidebar"!important}
  body.kurosf-lang-fa .site-sidebar{grid-area:sidebar!important;direction:rtl!important;text-align:right!important;right:auto!important;left:auto!important;border-right:0!important;border-left:1px solid #e0e0e0!important}
  body.kurosf-lang-fa .site-main{grid-area:main!important;direction:rtl!important;text-align:right!important}
  body.kurosf-lang-fa .vertical-menu-list ul.sub-menu{right:100%!important;left:auto!important;transform:translateX(22px)!important;transform-origin:right center!important}
  body.kurosf-lang-fa .vertical-menu-list li:is(:hover,:focus-within,.is-open,.is-hover-open) > ul.sub-menu{opacity:1!important;visibility:visible!important;pointer-events:auto!important;transform:translateX(0)!important}
  body.kurosf-lang-en .vertical-menu-list ul.sub-menu{left:100%!important;right:auto!important;transform:translateX(-22px)!important;transform-origin:left center!important}
  body.kurosf-lang-en .vertical-menu-list li:is(:hover,:focus-within,.is-open,.is-hover-open) > ul.sub-menu{opacity:1!important;visibility:visible!important;pointer-events:auto!important;transform:translateX(0)!important}
}

/* Live counters are displayed only on a live-indicator CMS block or the dedicated route. */
.live-status{display:inline-flex;align-items:center;gap:7px}
.live-status i{width:9px;height:9px;border-radius:50%;background:#1d9c4b;box-shadow:0 0 0 0 rgba(29,156,75,.5);animation:kurosfLivePulse 1.8s infinite}
@keyframes kurosfLivePulse{70%{box-shadow:0 0 0 7px rgba(29,156,75,0)}100%{box-shadow:0 0 0 0 rgba(29,156,75,0)}}
.indicator-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}
.indicator-card{display:flex;flex-direction:column;gap:7px;background:#fff;border-radius:5px}
.indicator-note{font-size:13px;color:#607078}
.indicator-source,.indicator-method,.indicator-disclaimer{font-size:13px;line-height:1.45;margin:0}
.indicator-disclaimer{color:#8b4308}
.indicator-card[data-display-type="estimated_counter"] .indicator-value,.indicator-card[data-display-type="reference_counter"] .indicator-value{font-variant-numeric:tabular-nums}

/* Separate language pages: no hidden second language remains in the DOM. */
.kurosf-native-virtual-page[data-locale="fa"]{direction:rtl;text-align:right}
.kurosf-native-virtual-page[data-locale="en"]{direction:ltr;text-align:left}
.article-meta{display:flex;gap:18px;flex-wrap:wrap;margin:-16px 0 26px;color:#5d686e;font-size:14px;border-bottom:1px solid #e0e5e7;padding-bottom:12px}
body.kurosf-lang-fa .article-meta{justify-content:flex-start;direction:rtl}


/* Contact content is read from the contactInfo singleton without invented translation. */
.kurosf-contact-card{max-width:760px;border:1px solid #d4dfe2;background:#fff;padding:24px;margin-top:18px;box-shadow:0 5px 18px rgba(20,50,60,.07)}
.contact-kicker{margin:0 0 6px;text-transform:uppercase;letter-spacing:.08em;color:#08758b;font-weight:700}
.contact-description{margin:0 0 20px;text-align:justify}
.contact-email-list{display:grid;gap:7px;margin:0 0 20px}
.contact-email-list a{width:max-content;max-width:100%;overflow-wrap:anywhere}
.contact-actions{display:flex;flex-wrap:wrap;gap:10px}
.contact-button{display:inline-block;padding:10px 15px;background:#08758b;color:#fff!important;text-decoration:none;border-radius:3px;font-weight:700}
.contact-button.secondary{background:#52636b}

/* ===== v8 CMS-controlled typography, complete header, and draggable weather cards ===== */
:root{
  --page-text-size-en:18px;
  --page-text-size-fa:18px;
  --page-heading-size-en:32px;
  --page-heading-size-fa:32px;
  --menu-size-en:15px;
  --menu-size-fa:15px;
  --page-line-height-en:1.75;
  --page-line-height-fa:1.75;
  --font-page-heading-en:Calibri,"Carlito",Arial,sans-serif;
  --font-page-heading-fa:Calibri,"Carlito","Vazirmatn",Tahoma,sans-serif;
  --text-en:#000;
  --text-fa:#000;
  --highlight-en:#fff1b8;
  --highlight-fa:#fff1b8;
}
body.kurosf-lang-en .vertical-menu-list>li>a{font-size:var(--menu-size-en)!important}
body.kurosf-lang-en .vertical-menu-list ul.sub-menu a{font-size:14px!important}
body.kurosf-lang-fa .vertical-menu-list>li>a{font-size:var(--menu-size-fa)!important}
body.kurosf-lang-fa .vertical-menu-list ul.sub-menu a{font-size:14px!important}
body.kurosf-lang-en .entry-content{font-family:var(--font-page-en);font-size:var(--page-text-size-en);line-height:var(--page-line-height-en);color:var(--text-en)}
body.kurosf-lang-fa .entry-content{font-family:var(--font-page-fa);font-size:var(--page-text-size-fa);line-height:var(--page-line-height-fa);color:var(--text-fa)}
body.kurosf-lang-en .page-header h1{font-family:var(--font-page-heading-en);font-size:var(--page-heading-size-en);line-height:1.2}
body.kurosf-lang-fa .page-header h1{font-family:var(--font-page-heading-fa);font-size:var(--page-heading-size-fa);line-height:1.35}
body.kurosf-lang-en .kurosf-native-block-heading{font-family:var(--font-page-heading-en);font-size:25px;line-height:1.3}
body.kurosf-lang-fa .kurosf-native-block-heading{font-family:var(--font-page-heading-fa);font-size:25px;line-height:1.45}
body.kurosf-lang-en .kurosf-native-content .kurosf-native-html{font-size:var(--page-text-size-en);line-height:var(--page-line-height-en);color:var(--text-en)}
body.kurosf-lang-fa .kurosf-native-content .kurosf-native-html{font-size:var(--page-text-size-fa);line-height:var(--page-line-height-fa);color:var(--text-fa)}
body.kurosf-lang-en .kurosf-native-content mark{background:var(--highlight-en)}
body.kurosf-lang-fa .kurosf-native-content mark{background:var(--highlight-fa)}
.page-header{margin-bottom:22px}
.brand-strip>div{min-width:0}
.brand-title,.brand-quote{white-space:normal;overflow:visible;text-overflow:clip;max-width:none}
.brand-quote{font-family:Georgia,"Times New Roman",serif;font-size:clamp(16px,1.45vw,21px);line-height:1.35}
body.kurosf-lang-fa .brand-quote{direction:auto;unicode-bidi:plaintext}
.hero-caption{font-family:"Oswald","Arial Narrow",Arial,sans-serif!important;font-size:27px!important;font-weight:500!important;text-transform:none!important}

/* Each retired external CMS slide keeps its selected effect. */
.hero-slide.effect-slide-left{transform:translateX(8%);transition:opacity 1.2s ease,transform 1.4s ease}
.hero-slide.effect-slide-left.is-active{transform:translateX(0)}
.hero-slide.effect-slide-up{transform:translateY(8%);transition:opacity 1.2s ease,transform 1.4s ease}
.hero-slide.effect-slide-up.is-active{transform:translateY(0)}
.hero-slide.effect-blur-fade{filter:blur(10px);transform:scale(1.05);transition:opacity 1.6s ease,filter 1.6s ease,transform 2s ease}
.hero-slide.effect-blur-fade.is-active{filter:blur(0);transform:scale(1)}
.hero-slide.effect-dissolve{mix-blend-mode:normal;transition:opacity 2.2s ease}
.hero-slide.effect-cinematic-fade.is-active img{animation:kurosfZoom var(--hero-duration,60s) linear both}
.hero-slide.effect-cinematic-pan.is-active img{animation:kurosfPan var(--hero-duration,60s) linear both}

/* Environment keeps the weather dashboard and active counters in distinct sections. */


@media (max-width:780px){
  body.kurosf-lang-en .page-header h1,body.kurosf-lang-fa .page-header h1{font-size:clamp(25px,7vw,32px)}
  .hero-caption{font-size:21px}
  .brand-quote{font-size:15px}
}

/* ===== v9 staging-fidelity corrections: CMS-only live widget, exact slide timing, compact live cards ===== */
.hero{
  height:360px;
  background:#20292b;
  isolation:isolate;
}
.hero-slide{
  opacity:0;
  visibility:hidden;
  z-index:0;
  transition:opacity 1.8s cubic-bezier(.4,0,.2,1),visibility 0s linear 1.8s;
  will-change:opacity,transform,filter;
}
.hero-slide.is-active{
  opacity:1;
  visibility:visible;
  z-index:1;
  transition-delay:0s;
}
.hero-slide img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center center;
}
.hero::after{z-index:2;pointer-events:none}
.hero-caption,.hero-dots{z-index:3}
.hero-caption{
  font-family:"Oswald","Arial Narrow",Arial,sans-serif!important;
  font-size:27px!important;
  font-weight:500!important;
  letter-spacing:.01em;
  text-transform:none!important;
}
@media (max-width:1200px){.hero{height:300px}}
@media (max-width:980px){.hero{height:240px}}
@media (max-width:540px){.hero{height:190px}.hero-caption{font-size:18px!important}}

/* Weather is a horizontal staging-style deck: cards stay side by side and remain reorderable. */

/* The live widget exists only where retired external CMS live_data.enabled is true. No virtual menu/page is added. */
.live-data-widget{
  margin:0 0 30px;
  padding:24px;
  border:1px solid #cbdcdf;
  border-radius:10px;
  background:linear-gradient(145deg,#f8fbfb 0%,#edf5f6 100%);
  box-shadow:0 10px 28px rgba(20,58,68,.08);
}
.live-data-header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:24px;
  margin-bottom:19px;
}
.live-data-copy{min-width:0}
.live-data-copy h2{
  margin:0;
  color:#102d37;
  font-family:var(--font-page-heading-en,Calibri,"Carlito",Arial,sans-serif);
  font-size:clamp(24px,2.2vw,32px);
  line-height:1.15;
  font-weight:700;
}
body.kurosf-lang-fa .live-data-copy h2{font-family:var(--font-page-heading-fa,Calibri,"Carlito","Vazirmatn",Tahoma,sans-serif)}
.live-data-copy p{margin:8px 0 0;color:#52666e;font-size:15px;line-height:1.45}
.live-data-updated{
  flex:0 0 auto;
  color:#557078;
  font-size:13px;
  white-space:nowrap;
  padding:7px 10px;
  border:1px solid #d4e1e4;
  border-radius:999px;
  background:rgba(255,255,255,.72);
}
.live-data-widget .indicator-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:13px;
  margin:0;
}
.live-data-widget .indicator-card{
  position:relative;
  min-width:0;
  padding:17px;
  border:1px solid #d3e0e3;
  border-radius:8px;
  background:#fff;
  box-shadow:0 4px 14px rgba(20,58,68,.055);
  overflow:hidden;
}
.live-data-widget .indicator-card::before{
  content:"";
  position:absolute;
  inset:0 auto auto 0;
  width:100%;
  height:3px;
  background:linear-gradient(90deg,#087b91,#23a6ae);
}
.indicator-card-top{display:flex;align-items:flex-start;gap:8px;min-height:43px}
.indicator-card-top h3{margin:0;color:#30474f;font-size:15px;line-height:1.35;font-weight:650}
.indicator-live-dot{flex:0 0 auto;width:7px;height:7px;margin-top:6px;border-radius:50%;background:#10a36a;box-shadow:0 0 0 4px rgba(16,163,106,.11)}
.indicator-reading{display:flex;align-items:baseline;gap:7px;margin:10px 0 4px;min-width:0}
.live-data-widget .indicator-value{
  display:block;
  min-width:0;
  color:#073b4c;
  font-size:clamp(25px,2.2vw,34px);
  line-height:1;
  font-weight:800;
  letter-spacing:-.025em;
  overflow-wrap:anywhere;
}
.live-data-widget .indicator-unit{color:#60737a;font-size:12px;white-space:nowrap}
.live-data-widget .indicator-note{margin:8px 0;color:#65777e;font-size:12px;line-height:1.35}
.live-data-widget .indicator-source{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:7px;
  margin-top:14px;
  padding:9px 10px;
  border-radius:6px;
  background:#edf6f7;
  color:#075f71;
  text-decoration:none;
  font-size:11px;
  line-height:1.25;
}
.live-data-widget .indicator-source span{color:#687b82;text-transform:uppercase;letter-spacing:.05em;font-size:9px}
.live-data-widget .indicator-source strong{min-width:0;overflow-wrap:anywhere;font-weight:650}
.live-data-widget .indicator-source:hover{background:#dff0f2;color:#004f62}
.indicator-details{margin-top:10px;color:#5f7077;font-size:11px}
.indicator-details summary{cursor:pointer;color:#617b83}
.indicator-details p{margin:7px 0;line-height:1.45}
.live-data-source-note{margin:16px 0 0;color:#62757c;font-size:12px}
.live-data-mode-compact .indicator-grid{grid-template-columns:1fr}
.live-data-mode-compact .indicator-card{display:grid;grid-template-columns:minmax(150px,1.4fr) minmax(120px,.8fr) minmax(180px,1fr);align-items:center;gap:15px}
.live-data-mode-table .indicator-grid{grid-template-columns:1fr;gap:0;border:1px solid #d3e0e3;border-radius:8px;overflow:hidden}
.live-data-mode-table .indicator-card{display:grid;grid-template-columns:minmax(180px,1.5fr) minmax(140px,.8fr) minmax(200px,1fr);align-items:center;gap:15px;border:0;border-bottom:1px solid #dbe5e7;border-radius:0;box-shadow:none}
.live-data-mode-table .indicator-card:last-child{border-bottom:0}
@media (max-width:1180px){.live-data-widget .indicator-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:680px){
  .live-data-widget{padding:17px}
  .live-data-header{display:block}
  .live-data-updated{display:inline-block;margin-top:11px}
  .live-data-widget .indicator-grid{grid-template-columns:1fr}
  .live-data-mode-compact .indicator-card,.live-data-mode-table .indicator-card{display:block}
}

/* v9.1 — exact staging live-counter composition. The standalone menu/page remains removed. */
.live-data-widget{
  margin:0 0 30px;
  padding:30px 28px 28px;
  border:1px solid #cddcdf;
  border-radius:10px;
  background:#f6fafb;
  box-shadow:none;
}
.live-data-header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:24px;
  margin-bottom:26px;
}
.live-data-copy{min-width:0}
.live-data-kicker{
  margin:0 0 3px!important;
  color:#435760!important;
  font-family:Arial,Helvetica,sans-serif!important;
  font-size:15px;
  line-height:1.25!important;
  font-weight:700!important;
  letter-spacing:0!important;
}
.live-data-copy h2{
  margin:0;
  color:#0b2632;
  font-family:Arial,Helvetica,sans-serif;
  font-size:27px;
  line-height:1.16;
  font-weight:700;
}
.live-data-copy .live-data-subtitle{
  margin:11px 0 0;
  color:#435760;
  font-family:Arial,Helvetica,sans-serif;
  font-size:17px;
  line-height:1.45;
}
.live-data-updated{
  flex:0 0 auto;
  margin:0;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  color:#435760;
  font-family:Arial,Helvetica,sans-serif;
  font-size:14px;
  line-height:1.4;
  white-space:nowrap;
}
.live-data-widget .indicator-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:13px;
  margin:0;
}
.live-data-widget .indicator-card{
  position:relative;
  display:block;
  min-width:0;
  min-height:100%;
  padding:18px 17px 19px;
  border:1px solid #d8e2e4;
  border-radius:9px;
  background:#fff;
  box-shadow:none;
  overflow:visible;
  color:#384c54;
  font-family:Arial,Helvetica,sans-serif;
}
.live-data-widget .indicator-card::before{display:none!important}
.live-data-widget .indicator-card h3{
  min-height:44px;
  margin:0 0 8px;
  color:#263f49;
  font-family:Arial,Helvetica,sans-serif;
  font-size:16px;
  line-height:1.35;
  font-weight:400;
}
.live-data-widget .indicator-reading{
  display:flex;
  align-items:baseline;
  gap:6px;
  margin:0 0 7px;
  min-width:0;
}
.live-data-widget .indicator-value{
  display:block;
  min-width:0;
  color:#002d3c;
  font-size:29px;
  line-height:1.05;
  font-weight:700;
  letter-spacing:0;
  overflow-wrap:anywhere;
}
.live-data-widget .indicator-unit{
  color:#60717a;
  font-size:13px;
  white-space:nowrap;
}
.live-data-widget .indicator-note{
  margin:0 0 12px;
  color:#60717a;
  font-size:14px;
  line-height:1.4;
}
.indicator-rule{
  height:1px;
  margin:12px 0 12px;
  background:#e1e8ea;
}
.indicator-source-line,
.indicator-confidence,
.indicator-method,
.live-data-widget .indicator-disclaimer{
  margin:0 0 10px;
  color:#455961;
  font-size:13.5px;
  line-height:1.42;
}
.indicator-source-line a{color:#0078a4;text-decoration:none}
.indicator-source-line a:hover{text-decoration:underline}
.indicator-meta-separator{color:#8a989e}
.live-data-widget .indicator-disclaimer{color:#974500;margin-bottom:0}
.live-data-source-note{
  margin:19px 0 0;
  color:#54686f;
  font-size:14px;
  line-height:1.4;
}
.live-data-mode-compact .indicator-grid,
.live-data-mode-table .indicator-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;border:0;overflow:visible}
.live-data-mode-compact .indicator-card,
.live-data-mode-table .indicator-card{display:block;border:1px solid #d8e2e4;border-radius:9px;box-shadow:none}
@media (max-width:1180px){.live-data-widget .indicator-grid,.live-data-mode-compact .indicator-grid,.live-data-mode-table .indicator-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:680px){
  .live-data-widget{padding:20px 17px}
  .live-data-header{display:block;margin-bottom:20px}
  .live-data-updated{display:block;margin-top:10px}
  .live-data-widget .indicator-grid,.live-data-mode-compact .indicator-grid,.live-data-mode-table .indicator-grid{grid-template-columns:1fr}
  .live-data-widget .indicator-card h3{min-height:0}
}


/* ===== v10 exact-content fallback, visible default-city grid, and coloured drag feedback ===== */
.cms-page-band{
  margin:0 0 28px;
  padding:14px 20px 16px;
  background:#087b91;
  color:#fff;
  border:0;
}
.cms-page-band .page-kicker{display:block;margin:0 0 10px;color:#d8aa65;font:600 13px/1.1 Inter,Arial,sans-serif;letter-spacing:.04em;text-transform:uppercase}
.cms-page-band h1{margin:0;color:#fff!important;font-size:clamp(27px,2.5vw,36px)!important;line-height:1.12;text-transform:none}
.cms-page-band p{margin:8px 0 0;color:#fff;font-family:Georgia,"Times New Roman",serif;font-size:clamp(16px,1.45vw,21px);font-weight:600;line-height:1.35}
body.kurosf-lang-fa .cms-page-band{text-align:right}
body.kurosf-lang-fa .cms-page-band .page-kicker{text-transform:none}

/* All CMS default cities are rendered; none are sliced away or hidden in a horizontal deck. */

/* Staging does not add an explanatory sentence above the cards. */

/* ===== v11 staging-fidelity corrections: Home profile and one-row live indicators ===== */
/* Home profile is rendered from homePage.profile without altered wording. */
body.kurosf-lang-en .profile-heading,
body.kurosf-lang-en .profile-statement,
body.kurosf-lang-en .topic-card h2{
  font-family:var(--font-page-heading-en,Calibri,"Carlito",Arial,sans-serif)!important;
}
body.kurosf-lang-fa .profile-heading,
body.kurosf-lang-fa .profile-statement,
body.kurosf-lang-fa .topic-card h2{
  font-family:var(--font-page-heading-fa,Calibri,"Carlito","Vazirmatn",Tahoma,sans-serif)!important;
}
.profile-heading{
  margin:10px 0 25px;
  color:#087b91;
  font-size:clamp(36px,3.1vw,46px);
  line-height:1.08;
  font-weight:400;
  letter-spacing:0;
}
.profile-row{
  display:grid;
  grid-template-columns:minmax(190px,250px) minmax(0,1fr);
  align-items:center;
  gap:58px;
  margin:0 0 42px;
}
.profile-logo{
  display:block;
  width:100%;
  max-width:245px;
  max-height:265px;
  object-fit:contain;
  object-position:center;
}
.profile-statement{
  margin:0;
  color:#087b91;
  font-size:clamp(32px,3vw,43px);
  line-height:1.08;
  font-weight:700;
  letter-spacing:0;
}
.profile-statement-line{display:block}
@media (max-width:760px){
  .profile-row{grid-template-columns:145px minmax(0,1fr);gap:25px}
  .profile-logo{max-width:145px}
  .profile-statement{font-size:clamp(25px,6vw,34px)}
}
@media (max-width:520px){
  .profile-row{display:block}
  .profile-logo{max-width:190px;margin:0 auto 22px}
}

/* The staging live-indicator panel keeps the four selected CMS cards on one horizontal line. */
.live-data-widget{
  overflow-x:auto;
  overflow-y:hidden;
  scrollbar-width:thin;
  scrollbar-color:#9db5bb #edf3f4;
}
.live-data-widget::-webkit-scrollbar{height:9px}
.live-data-widget::-webkit-scrollbar-track{background:#edf3f4;border-radius:99px}
.live-data-widget::-webkit-scrollbar-thumb{background:#9db5bb;border-radius:99px}
.live-data-widget .indicator-grid,
.live-data-mode-compact .indicator-grid,
.live-data-mode-table .indicator-grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(240px,1fr))!important;
  min-width:1038px!important;
  gap:13px!important;
  border:0!important;
  overflow:visible!important;
}
.live-data-widget .indicator-card,
.live-data-mode-compact .indicator-card,
.live-data-mode-table .indicator-card{
  display:block!important;
  min-width:0!important;
  width:auto!important;
}
@media (max-width:680px){
  .live-data-widget{padding:20px 17px 22px}
  .live-data-widget .indicator-grid,
  .live-data-mode-compact .indicator-grid,
  .live-data-mode-table .indicator-grid{
    grid-template-columns:repeat(4,minmax(240px,1fr))!important;
    min-width:1038px!important;
  }
}

/* ======================================================================
   v12 STAGING PARITY LAYER
   Source of truth: staging.kurosf.com + retired external CMS production documents.
   This final layer intentionally overrides the iterative v8-v11 experiments.
   ====================================================================== */

/* Header version label requested by the site owner; preserve exact capitalization and placement. */
.hero-caption{
  display:flex!important;
  align-items:center!important;
  gap:7px!important;
  left:32px!important;
  right:auto!important;
  bottom:17px!important;
  color:#fff!important;
  font-family:Calibri,"Segoe UI",Arial,sans-serif!important;
  font-size:18px!important;
  line-height:1!important;
  font-weight:400!important;
  letter-spacing:0!important;
  text-transform:lowercase!important;
  text-shadow:0 1px 4px rgba(0,0,0,.75)!important;
}
body.kurosf-lang-fa .hero-caption{direction:ltr!important;text-align:left!important}

/* Staging page shell: full-width teal band, centered content column. */
.page-layout{max-width:none!important;margin:0!important;padding:0 0 70px!important;background:#f1f1f1!important}
.kurosf-native-virtual-page{width:100%!important}
.cms-page-band{
  width:100%!important;
  margin:0!important;
  padding:15px 20px 14px!important;
  border:0!important;
  border-radius:0!important;
  background:#11788d!important;
  color:#fff!important;
}
.cms-page-band .page-kicker{
  display:block!important;
  margin:0 0 14px!important;
  color:#b78b61!important;
  font-family:Inter,Arial,sans-serif!important;
  font-size:13px!important;
  line-height:1!important;
  font-weight:500!important;
  letter-spacing:.02em!important;
}
.cms-page-band h1{
  margin:0!important;
  color:#fff!important;
  font-family:Calibri,"Carlito",Arial,sans-serif!important;
  font-size:32px!important;
  line-height:1.08!important;
  font-weight:400!important;
  letter-spacing:0!important;
}
.cms-page-band p{
  margin:9px 0 0!important;
  color:#fff!important;
  font-family:Georgia,"Times New Roman",serif!important;
  font-size:20px!important;
  line-height:1.25!important;
  font-weight:700!important;
}
.cms-page-body{width:min(1064px,calc(100% - clamp(24px,3vw,44px)));margin:28px auto 0!important;padding:0!important}
.entry-content{font-family:Calibri,"Carlito",Arial,sans-serif!important;font-size:20px!important;line-height:1.72!important}
body.kurosf-lang-fa .entry-content{font-family:Calibri,"Carlito","Vazirmatn",Tahoma,sans-serif!important}

/* Exact staging live-indicator composition from the Environment page. */
.live-data-widget{
  width:100%!important;
  margin:0 0 34px!important;
  padding:27px 26px 28px!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  border:1px solid #cad8dc!important;
  border-radius:9px!important;
  background:#f7fbfc!important;
  box-shadow:none!important;
  color:#40545c!important;
  font-family:Arial,Helvetica,sans-serif!important;
}
.live-data-header{
  display:flex!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:24px!important;
  margin:0 0 25px!important;
}
.live-data-kicker{
  margin:0 0 3px!important;
  color:#435760!important;
  font-family:Arial,Helvetica,sans-serif!important;
  font-size:17px!important;
  line-height:1.2!important;
  font-weight:700!important;
  letter-spacing:0!important;
}
.live-data-copy h2{
  margin:0!important;
  color:#0c2631!important;
  font-family:Arial,Helvetica,sans-serif!important;
  font-size:27px!important;
  line-height:1.15!important;
  font-weight:700!important;
}
.live-data-copy .live-data-subtitle{
  margin:11px 0 0!important;
  color:#40545c!important;
  font-family:Arial,Helvetica,sans-serif!important;
  font-size:17px!important;
  line-height:1.42!important;
  font-weight:400!important;
}
.live-data-updated{
  flex:0 0 auto!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#40545c!important;
  font-family:Arial,Helvetica,sans-serif!important;
  font-size:14px!important;
  line-height:1.35!important;
  white-space:nowrap!important;
}
.live-data-widget .indicator-grid,
.live-data-mode-compact .indicator-grid,
.live-data-mode-table .indicator-grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  min-width:1008px!important;
  gap:12px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  overflow:visible!important;
}
.live-data-widget .indicator-card,
.live-data-mode-compact .indicator-card,
.live-data-mode-table .indicator-card{
  position:relative!important;
  display:block!important;
  min-width:0!important;
  min-height:446px!important;
  width:auto!important;
  padding:17px 16px 18px!important;
  overflow:visible!important;
  border:1px solid #d6e0e3!important;
  border-radius:8px!important;
  background:#fff!important;
  box-shadow:none!important;
  color:#41565e!important;
  font-family:Arial,Helvetica,sans-serif!important;
}
.live-data-widget .indicator-card::before{display:none!important}
.live-data-widget .indicator-card h3{
  min-height:43px!important;
  margin:0 0 7px!important;
  color:#263f49!important;
  font-family:Arial,Helvetica,sans-serif!important;
  font-size:16px!important;
  line-height:1.36!important;
  font-weight:400!important;
}
.live-data-widget .indicator-reading{display:flex!important;align-items:baseline!important;gap:5px!important;margin:0 0 8px!important}
.live-data-widget .indicator-value{
  color:#002c3b!important;
  font-family:Arial,Helvetica,sans-serif!important;
  font-size:29px!important;
  line-height:1!important;
  font-weight:700!important;
  letter-spacing:0!important;
  white-space:nowrap!important;
}
.live-data-widget .indicator-unit{color:#64747b!important;font-size:13px!important;line-height:1!important;white-space:nowrap!important}
.live-data-widget .indicator-note{margin:0 0 11px!important;color:#64747b!important;font-size:14px!important;line-height:1.4!important}
.indicator-rule{height:1px!important;margin:12px 0!important;background:#e1e7e9!important}
.indicator-source-line,.indicator-confidence,.indicator-method,.live-data-widget .indicator-disclaimer{
  margin:0 0 9px!important;
  color:#43575f!important;
  font-family:Arial,Helvetica,sans-serif!important;
  font-size:13.5px!important;
  line-height:1.43!important;
  font-weight:400!important;
}
.indicator-source-line a{color:#007ba7!important;text-decoration:none!important}
.indicator-source-line a:hover{text-decoration:underline!important}
.live-data-widget .indicator-disclaimer{color:#974500!important;margin-bottom:0!important}
.live-data-source-note{margin:18px 0 0!important;color:#53676f!important;font-family:Arial,Helvetica,sans-serif!important;font-size:14px!important;line-height:1.4!important}

/* Forecast: all retired external CMS cities remain in one draggable staging deck. */

.interactive-toolbar{display:flex!important;align-items:center!important;gap:9px!important;flex-wrap:wrap!important;margin:0 0 11px!important}
.interactive-toolbar input[type=search]{height:42px!important;min-width:270px!important;padding:0 14px!important;border:1px solid #bdcdd2!important;border-radius:5px!important;background:#fff!important;color:#243b44!important}
.interactive-toolbar button{height:42px!important;padding:0 18px!important;border:1px solid #087b91!important;border-radius:5px!important;background:#087b91!important;color:#fff!important;cursor:pointer!important}
.interactive-toolbar button.secondary{background:#fff!important;color:#087b91!important}
.interactive-status{min-height:20px!important;margin:0 0 7px!important;color:#536970!important;font-size:13px!important}

.data-source{margin:11px 0 0!important;color:#536970!important;font-size:13px!important}
@media (max-width:760px){
  .cms-page-band h1{font-size:26px!important}
  .cms-page-band p{font-size:17px!important}
  .cms-page-body{width:calc(100% - 24px)!important}
  .live-data-header{display:block!important}
  .live-data-updated{display:block!important;margin-top:10px!important}
  
}


/* ===== v13.0.3 Weather Forecast — Staging screenshot parity, 9 retired external CMS locations ===== */

/* v14 — requested internal-page header, staging weather copy, and full-site search */
.brand-strip-internal{
  min-height:76px!important;
  padding:10px 28px!important;
  gap:15px!important;
  background:#007A3D!important;
  border:0!important;
}
.brand-strip-internal .brand-icon{width:52px!important;height:52px!important}
.brand-strip-internal .brand-title{
  margin:0!important;
  color:#fff!important;
  font-family:var(--font-page-heading-en,Calibri,"Carlito","Segoe UI",Arial,sans-serif)!important;
  font-size:clamp(23px,2.2vw,31px)!important;
  font-weight:700!important;
  line-height:1.15!important;
  text-transform:none!important;
}
body.kurosf-lang-fa .brand-strip-internal .brand-title{font-family:var(--font-page-heading-fa,Calibri,"Carlito","Vazirmatn",Tahoma,sans-serif)!important}
body:not(.home) .cms-page-band{display:none!important}
body:not(.home) .cms-page-body{padding-top:32px!important}


.search-results-page{padding:38px 6vw 70px!important;background:#fff!important}
.search-results-header h1{margin:0 0 28px;font-size:32px;color:#17364a}
.search-results-header h1 span{font-weight:500}
.search-results-list{display:grid;gap:18px;max-width:980px}
.search-result-item{padding:20px 22px;border:1px solid #d6e0e3;border-radius:8px;background:#fff}
.search-result-item h2{margin:0 0 8px;font-size:25px}
.search-result-item p{margin:0;line-height:1.7}
.search-empty{font-size:16px}
@media (max-width:700px){
  .brand-strip-internal{min-height:66px!important;padding:9px 16px!important}
  .brand-strip-internal .brand-icon{width:44px!important;height:44px!important}
  
}


/* v15 — retired external CMS footerSettings parity and verified staging green */
@media (max-width:640px){
  .footer-shell{width:calc(100% - 28px)!important;padding:22px 0 17px!important}
  .footer-name{font-size:20px!important}
  .footer-tagline{font-size:16px!important}
  .footer-links{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:13px 20px!important}
  .footer-note{width:calc(100% - 28px)!important;padding:14px 0 18px!important;font-size:15px}
}


/* v16 — footer matched to supplied staging screenshot; weather-card appearance remains v15 and drag logic remains v13. */


/* v17 — replace the six-day toggle with an always-visible three-day forecast. Card layout and v13 drag behavior stay unchanged. */


/* v18 — visual six-day forecast rail inside each city card; full-width footer below sidebar and content. */

.site-footer{
  grid-area:footer!important;
  grid-column:1 / -1!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
}
@media (min-width:981px){
  body.kurosf-lang-en .site-app,
  html[data-kurosf-lang="en"] .site-app{
    grid-template-areas:"sidebar main" "footer footer"!important;
  }
  body.kurosf-lang-fa .site-app,
  html[data-kurosf-lang="fa"] .site-app{
    grid-template-areas:"main sidebar" "footer footer"!important;
  }
}
@media (max-width:980px){
  .site-footer{display:block!important;width:100%!important}
}

/* v19 — weather visual redesign, English-only Weather content in both locales, full-width footer cutting the sidebar, and 60-second home-only hero. */

.site-footer{
  position:relative!important;
  z-index:900!important;
  grid-area:footer!important;
  grid-column:1/-1!important;
  width:100%!important;
  margin:0!important;
}
@media (min-width:981px){
  body.kurosf-lang-en .site-app,html[data-kurosf-lang="en"] .site-app{grid-template-areas:"sidebar main" "footer footer"!important}
  body.kurosf-lang-fa .site-app,html[data-kurosf-lang="fa"] .site-app{grid-template-areas:"main sidebar" "footer footer"!important}
}

/* Footer occupies only the main-content column and never overlays or enters the sidebar column. */
.site-footer{
  position:relative!important;
  z-index:1!important;
  grid-area:footer!important;
  grid-column:auto!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
}
@media (min-width:981px){
  body.kurosf-lang-en .site-app,
  html[data-kurosf-lang="en"] .site-app{
    grid-template-areas:"sidebar main" "sidebar footer"!important;
  }
  body.kurosf-lang-fa .site-app,
  html[data-kurosf-lang="fa"] .site-app{
    grid-template-areas:"main sidebar" "footer sidebar"!important;
  }
  .site-sidebar{grid-area:sidebar!important;z-index:500!important}
  .site-footer{grid-area:footer!important}
}
@media (max-width:980px){
  .site-footer{display:block!important;width:100%!important}
}

/* Current weather: large upper area, lowered central icon, city/condition at left,
   compact AQI at right. */

/* Approved compact forecast columns. Exact structure: gray day strip,
   navy icon/condition block, full-width gray high strip, full-width blue low strip,
   and integrated date strip. No separate rain row. */

/* Footer spans the complete site width and terminates the sidebar row. */
.site-footer{
  position:relative!important;
  z-index:10!important;
  grid-area:footer!important;
  grid-column:1 / -1!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
}
.site-sidebar,
.vertical-menu,
.vertical-menu-list,
.vertical-menu-list li,
.vertical-menu-list ul.sub-menu{
  z-index:3000!important;
}
@media (min-width:981px){
  .site-app,
  body.kurosf-lang-en .site-app,
  html[data-kurosf-lang="en"] .site-app{
    grid-template-columns:var(--sidebar-w) minmax(0,1fr)!important;
    grid-template-areas:"sidebar main" "footer footer"!important;
    grid-template-rows:auto auto!important;
  }
  body.kurosf-lang-fa .site-app,
  html[data-kurosf-lang="fa"] .site-app{
    grid-template-columns:minmax(0,1fr) var(--sidebar-w)!important;
    grid-template-areas:"main sidebar" "footer footer"!important;
  }
  .site-sidebar{
    grid-area:sidebar!important;
    grid-row:1!important;
    position:relative!important;
    top:auto!important;
    align-self:stretch!important;
    height:auto!important;
    min-height:100%!important;
    overflow:visible!important;
  }
  .site-main{grid-area:main!important;grid-row:1!important;position:relative!important;z-index:1!important}
  .site-footer{grid-area:footer!important;grid-row:2!important;grid-column:1 / -1!important}
  .vertical-menu-list ul.sub-menu.opens-up{top:auto!important;bottom:0!important}
  .vertical-menu-list ul.sub-menu.submenu-scroll{
    max-height:var(--submenu-max-height,calc(100vh - 16px))!important;
    overflow-y:auto!important;
    overscroll-behavior:contain!important;
  }
}

/* ======================================================================
   KUROSF v28 — canonical Weather component
   This is the only Weather ruleset in the stylesheet. It replaces all
   accumulated v14–v26 Weather overrides and reproduces the approved model.
   ====================================================================== */
body.kurosf-weather-english-page .kurosf-native-virtual-page,
body.kurosf-weather-english-page .kurosf-native-content,
body.kurosf-weather-english-page .kurosf-native-block-weather,
body.kurosf-weather-english-page .kurosf-weather{direction:ltr;text-align:left}

.kurosf-native-block-weather>.kurosf-native-html{max-width:920px;margin:0 0 24px;color:#314953;font-size:17px;line-height:1.65}
.kurosf-weather{margin-top:18px;min-width:0}
.kurosf-weather .interactive-toolbar{display:grid;grid-template-columns:minmax(220px,1fr) auto auto;gap:10px;align-items:stretch;margin:0 0 12px}
.kurosf-weather .interactive-toolbar label{min-width:0}
.kurosf-weather .interactive-toolbar input{width:100%;height:44px;border:1px solid #b8cdd3;border-radius:5px;padding:0 13px;background:#fff;color:#173744}
.kurosf-weather .interactive-toolbar button{min-height:44px;border:1px solid #087b91;border-radius:5px;padding:0 17px;background:#087b91;color:#fff;font-weight:700;cursor:pointer}
.kurosf-weather .interactive-toolbar button.secondary{background:#fff;color:#087b91}
.kurosf-weather .interactive-status{min-height:22px;margin:0 0 8px;color:#526a74;font-size:14px}

.kurosf-weather .weather-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:start;min-width:0;padding:2px}
.kurosf-weather .weather-card{container-type:inline-size;position:relative;display:grid;grid-template-rows:auto auto auto;min-width:0;overflow:hidden;border:1px solid #bfe5ef;border-radius:14px;background:#edf9fc;box-shadow:0 7px 22px rgba(9,54,77,.12);cursor:grab;transition:transform .2s ease,box-shadow .2s ease,opacity .2s ease}
.kurosf-weather .weather-card:active{cursor:grabbing}
.kurosf-weather .weather-card.is-dragging{opacity:.92;transform:translateY(-3px) scale(1.02);border-color:#f28c28;box-shadow:0 0 0 4px rgba(242,140,40,.38),0 18px 42px rgba(158,83,13,.30);filter:saturate(1.05);cursor:grabbing;z-index:20}
.kurosf-weather .weather-card.is-dragging::after{content:"";position:absolute;inset:0;z-index:50;border:2px solid rgba(255,158,61,.95);border-radius:inherit;box-shadow:inset 0 0 24px rgba(255,153,51,.24);pointer-events:none}
.kurosf-weather .weather-card.is-drag-target{outline:3px solid rgba(242,140,40,.92);outline-offset:3px;box-shadow:0 0 0 5px rgba(242,140,40,.18),0 12px 30px rgba(112,61,13,.20)}
.kurosf-weather .weather-card.is-drag-before{border-left:4px solid #f28c28}
.kurosf-weather .weather-card.is-drag-after{border-right:4px solid #f28c28}
.kurosf-weather .weather-card.is-drag-settled{animation:kurosfWeatherSettleV28 .45s ease}
@keyframes kurosfWeatherSettleV28{0%{transform:scale(1.025)}100%{transform:scale(1)}}

.kurosf-weather .weather-now{position:relative;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(100px,.85fr) minmax(102px,.8fr);grid-template-rows:auto 1fr auto auto;column-gap:10px;min-height:clamp(220px,18vw,280px);padding:clamp(16px,1.8vw,23px) clamp(14px,1.7vw,21px) 14px;overflow:hidden;color:#fff;background:linear-gradient(135deg,#55b5e5 0%,#73c5ed 52%,#8cd2ee 100%)}
.kurosf-weather .weather-now::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 58% 42%,rgba(255,255,255,.17),transparent 34%),linear-gradient(180deg,rgba(255,255,255,.06),transparent 58%);pointer-events:none}
.kurosf-weather .weather-now>*{position:relative;z-index:1;min-width:0}
.kurosf-weather .weather-scene-cloudy{background:linear-gradient(135deg,#6bb7db,#a0d5e8 58%,#80bdd6)}
.kurosf-weather .weather-scene-rain{background:linear-gradient(135deg,#3c88b8,#73b6d6 56%,#4a8eb8)}
.kurosf-weather .weather-scene-snow{background:linear-gradient(135deg,#86bdd8,#d2eaf4 58%,#99c7dc)}
.kurosf-weather .weather-scene-storm{background:linear-gradient(135deg,#36537b,#7189aa 56%,#415f86)}

.kurosf-weather .weather-now-temperature{grid-column:1;grid-row:1;display:grid;grid-template-columns:clamp(17px,1.65vw,23px) minmax(0,max-content);grid-template-rows:auto auto;column-gap:8px;align-items:center;align-self:start;white-space:nowrap;text-shadow:0 2px 4px rgba(0,68,103,.24)}
.kurosf-weather .weather-thermometer{grid-column:1;grid-row:1/3;display:block;width:clamp(16px,1.55vw,22px);height:clamp(36px,3.8vw,50px);color:#fff}
.kurosf-weather .weather-thermometer svg{display:block;width:100%;height:100%}
.kurosf-weather .weather-now-temperature strong{grid-column:2;grid-row:1;display:block;margin:0;font-family:Arial,Helvetica,sans-serif;font-size:clamp(32px,3.45vw,46px);font-weight:700;line-height:.86;letter-spacing:-.055em;color:#fff;white-space:nowrap}
.kurosf-weather .weather-now-temperature small{grid-column:2;grid-row:2;display:block;margin-top:5px;font-family:Arial,Helvetica,sans-serif;font-size:clamp(8px,.8vw,10px);font-weight:700;line-height:1;letter-spacing:0;color:#fff}

.kurosf-weather .weather-now-icon{grid-column:2;grid-row:1/4;align-self:center;justify-self:center;width:clamp(70px,7.8vw,100px);height:clamp(70px,7.8vw,100px);margin-top:clamp(36px,4.2vw,52px);filter:drop-shadow(0 5px 3px rgba(0,45,65,.2))}
.kurosf-weather .weather-now-icon svg{display:block;width:100%;height:100%;overflow:visible}

.kurosf-weather .weather-now-metrics{grid-column:3;grid-row:1/4;display:grid;grid-template-rows:repeat(3,max-content);gap:clamp(12px,1.5vw,19px);align-content:start;justify-self:end;min-width:0;padding-top:2px;font-family:Arial,Helvetica,sans-serif;text-shadow:0 2px 4px rgba(0,68,103,.24)}
.kurosf-weather .weather-now-metrics div{min-width:0}
.kurosf-weather .weather-now-metrics span{display:block;font-size:clamp(7px,.72vw,9px);font-weight:700;line-height:1.05;color:#fff;white-space:nowrap}
.kurosf-weather .weather-now-metrics strong{display:block;margin-top:4px;font-size:clamp(13px,1.4vw,18px);font-weight:700;line-height:1;color:#fff;white-space:nowrap}

.kurosf-weather .weather-now-condition{grid-column:1;grid-row:3;align-self:end;max-width:100%;margin:0 0 7px;font-family:Arial,Helvetica,sans-serif;font-size:clamp(10px,1vw,13px);font-weight:700;line-height:1.15;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-shadow:0 2px 4px rgba(0,68,103,.28)}
.kurosf-weather .weather-now-city{grid-column:1/-1;grid-row:4;align-self:end;display:-webkit-box;max-width:100%;min-height:1.05em;margin:0;padding-right:3px;overflow:hidden;font-family:Arial,Helvetica,sans-serif;font-size:clamp(18px,6.15cqi,24px);font-weight:800;line-height:1.03;color:#082d4c;letter-spacing:-.025em;text-transform:uppercase;white-space:normal;overflow-wrap:anywhere;word-break:normal;-webkit-box-orient:vertical;-webkit-line-clamp:2;text-shadow:0 2px 3px rgba(255,255,255,.35)}
.kurosf-weather .weather-now-city.is-city-medium{font-size:clamp(17px,5.55cqi,22px)}
.kurosf-weather .weather-now-city.is-city-long{font-size:clamp(15px,4.75cqi,19px);line-height:1.06}
.kurosf-weather .weather-now-city.is-city-xlong{font-size:clamp(13px,4cqi,16px);line-height:1.08}

.kurosf-weather .weather-aqi-bar{display:flex;align-items:center;gap:.32em;width:100%;min-height:clamp(34px,3.5vw,42px);padding:5px clamp(11px,1.4vw,16px);overflow:hidden;background:#115a82;color:#fff;font-family:Georgia,'Times New Roman',serif;font-size:clamp(13px,1.35vw,17px);font-weight:700;line-height:1;white-space:nowrap;text-overflow:ellipsis}
.kurosf-weather .weather-aqi-label,.kurosf-weather .weather-aqi-value,.kurosf-weather .weather-aqi-category,.kurosf-weather .weather-aqi-unavailable{display:inline;flex:0 0 auto;color:inherit;font:inherit;line-height:inherit}
.kurosf-weather .weather-aqi-category{min-width:0;overflow:hidden;text-overflow:ellipsis}
.kurosf-weather .weather-aqi-separator{display:none}
.kurosf-weather .weather-aqi-bar.is-unavailable{font-size:clamp(12px,1.2vw,15px)}

.kurosf-weather .weather-days{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 16px)/5);gap:4px;width:100%;min-width:0;overflow-x:auto;overflow-y:hidden;padding:6px;background:#e8f7fa;scroll-snap-type:x proximity;overscroll-behavior-inline:contain;scrollbar-color:#0a7891 #d5ebf2;scrollbar-width:thin}
.kurosf-weather .weather-days::-webkit-scrollbar{height:8px}
.kurosf-weather .weather-days::-webkit-scrollbar-track{background:#d5ebf2;border-radius:99px}
.kurosf-weather .weather-days::-webkit-scrollbar-thumb{background:#0a7891;border-radius:99px}
.kurosf-weather .weather-day{display:grid;grid-template-rows:clamp(26px,2.35vw,31px) clamp(76px,7.5vw,98px) clamp(34px,3.25vw,40px) clamp(36px,3.45vw,43px);min-width:0;overflow:hidden;border:2px solid #c6ebf1;background:#06234d;scroll-snap-align:start;font-family:Arial,Helvetica,sans-serif;text-align:center}
.kurosf-weather .weather-day-name{display:flex;align-items:center;justify-content:center;width:100%;min-width:0;margin:0;padding:0 3px;background:linear-gradient(180deg,#fbfbfb 0%,#d4d4d4 54%,#f1f1f1 100%);color:#111;font-size:clamp(9px,.82vw,11px);font-weight:400;line-height:1;text-transform:uppercase;white-space:nowrap}
.kurosf-weather .weather-day-body{display:grid;grid-template-rows:minmax(0,1fr) auto;align-items:center;width:100%;min-width:0;margin:0;padding:clamp(5px,.6vw,7px) 3px clamp(5px,.6vw,7px);overflow:hidden;background:linear-gradient(180deg,#123d6e 0%,#001b44 100%);color:#fff}
.kurosf-weather .weather-day-icon{display:flex;align-items:center;justify-content:center;align-self:center;justify-self:center;width:clamp(32px,3.5vw,44px);height:clamp(32px,3.5vw,44px);margin:0}
.kurosf-weather .weather-day-icon svg{display:block;width:100%;height:100%;overflow:visible}
.kurosf-weather .weather-day-condition{display:-webkit-box;width:100%;min-height:2.25em;margin:0;overflow:hidden;color:#fff;font-size:clamp(7px,.7vw,9px);font-weight:400;line-height:1.12;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow-wrap:anywhere}
.kurosf-weather .weather-day-high{display:flex;align-items:center;justify-content:center;width:100%;min-width:0;margin:0;padding:0 2px;background:linear-gradient(180deg,#f9f9f9 0%,#d6d6d6 58%,#f5f5f5 100%);color:#111;font-size:clamp(16px,1.7vw,21px);font-weight:400;line-height:1;white-space:nowrap}
.kurosf-weather .weather-day-low{display:flex;align-items:center;justify-content:center;width:100%;min-width:0;margin:0;padding:0 2px;background:linear-gradient(180deg,#06285a 0%,#0a568f 100%);color:#fff;font-size:clamp(17px,1.8vw,22px);font-weight:400;line-height:1;white-space:nowrap}

.kurosf-weather .weather-error{padding:22px;border-color:#d7a5a5;background:#fff7f7;color:#6e2020}
.kurosf-weather .data-source{margin:9px 0 0;color:#536970;font-size:13px}

@media (max-width:1180px){
  .kurosf-weather .weather-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:760px){
  .kurosf-weather .weather-grid{grid-template-columns:1fr}
  .kurosf-weather .interactive-toolbar{grid-template-columns:1fr 1fr}
  .kurosf-weather .interactive-toolbar label{grid-column:1/-1}
  .kurosf-weather .weather-days{grid-auto-columns:calc((100% - 8px)/3)}
}
@media (max-width:480px){
  .kurosf-weather .weather-now{grid-template-columns:minmax(0,1.1fr) minmax(68px,.72fr) minmax(74px,.75fr);min-height:238px;padding:15px 11px 12px;column-gap:5px}
  .kurosf-weather .weather-now-temperature{column-gap:6px}
  .kurosf-weather .weather-now-temperature strong{font-size:34px}
  .kurosf-weather .weather-now-temperature small{font-size:8px;margin-top:5px}
  .kurosf-weather .weather-thermometer{width:16px;height:36px}
  .kurosf-weather .weather-now-icon{width:72px;height:72px;margin-top:46px}
  .kurosf-weather .weather-now-metrics{gap:12px}
  .kurosf-weather .weather-now-metrics span{font-size:7px}
  .kurosf-weather .weather-now-metrics strong{font-size:13px}
  .kurosf-weather .weather-now-condition{font-size:10px}
  .kurosf-weather .weather-now-city{font-size:clamp(18px,6.5vw,21px)}
  .kurosf-weather .weather-aqi-bar{min-height:34px;padding-inline:10px;font-size:13px}
  .kurosf-weather .weather-days{grid-auto-columns:calc((100% - 4px)/2)}
}


/* KUROSF v28 — professional orange drag cue; same version/name, no content changes. */
.weather-drag-ghost{display:flex!important;align-items:center!important;justify-content:center!important;width:42px!important;height:72px!important;padding:6px!important;color:#f28c28!important;background:rgba(255,255,255,.96)!important;border:2px solid rgba(242,140,40,.78)!important;border-radius:24px!important;box-shadow:0 0 0 5px rgba(242,140,40,.18),0 10px 24px rgba(123,64,8,.32)!important;overflow:visible!important;pointer-events:none!important}
.weather-drag-ghost svg{display:block;width:28px!important;height:56px!important;overflow:visible!important;filter:drop-shadow(0 2px 2px rgba(128,62,0,.22))}

/* ===== Opt-in forecast drawer; existing visuals remain unchanged ===== */
.kurosf-weather .weather-card{
  grid-template-rows:auto auto auto auto;
}
.kurosf-weather .weather-forecast-toggle{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  width:100%;
  min-height:38px;
  margin:0;
  padding:8px 12px;
  border:0;
  border-top:1px solid #bfe5ef;
  border-bottom:1px solid #bfe5ef;
  background:#f7fcfd;
  color:#075f78;
  font-family:Arial,Helvetica,sans-serif;
  font-size:12px;
  font-weight:700;
  line-height:1.15;
  text-align:left;
  cursor:pointer;
  appearance:none;
}
.kurosf-weather .weather-forecast-toggle:hover,
.kurosf-weather .weather-forecast-toggle:focus-visible{
  background:#eaf8fb;
  color:#034b61;
}
.kurosf-weather .weather-forecast-toggle:focus-visible{
  outline:3px solid rgba(7,150,161,.28);
  outline-offset:-3px;
}
.kurosf-weather .weather-forecast-toggle::after{
  content:"";
  flex:0 0 auto;
  width:8px;
  height:8px;
  margin-right:2px;
  border-right:2px solid currentColor;
  border-bottom:2px solid currentColor;
  transform:rotate(45deg) translateY(-2px);
  transform-origin:center;
  transition:transform .22s ease;
}
.kurosf-weather .weather-card.is-forecast-open .weather-forecast-toggle::after{
  transform:rotate(225deg) translate(-1px,-1px);
}
.kurosf-weather .weather-forecast-panel{
  display:grid;
  grid-template-rows:0fr;
  min-width:0;
  opacity:0;
  visibility:hidden;
  transition:grid-template-rows .28s ease,opacity .2s ease,visibility 0s linear .28s;
}
.kurosf-weather .weather-forecast-panel-inner{
  min-height:0;
  min-width:0;
  overflow:hidden;
}
.kurosf-weather .weather-card.is-forecast-open .weather-forecast-panel{
  grid-template-rows:1fr;
  opacity:1;
  visibility:visible;
  transition:grid-template-rows .28s ease,opacity .2s ease,visibility 0s;
}
.kurosf-weather .weather-card:not(.is-forecast-open) .weather-days{
  pointer-events:none;
}
@media (prefers-reduced-motion:reduce){
  .kurosf-weather .weather-forecast-panel,
  .kurosf-weather .weather-forecast-toggle::after{
    transition:none;
  }
}

/* ===== Editor parity, bilingual direction, and Persian layout fixes ===== */
.kurosf-content-pe{ direction:rtl; }

/* Keep the Persian internal-page brand title group at the right edge of the green band. */
html[data-kurosf-lang="fa"] .brand-strip,
body.kurosf-lang-fa .brand-strip{
  direction:rtl!important;
  flex-direction:row!important;
  justify-content:flex-start!important;
  text-align:right!important;
}
html[data-kurosf-lang="fa"] .brand-strip>div,
body.kurosf-lang-fa .brand-strip>div{ text-align:right!important; }

/* Persian menu labels occupy the right side of each colored row; arrows remain separate. */
html[data-kurosf-lang="fa"] .vertical-menu-list a,
body.kurosf-lang-fa .vertical-menu-list a{
  direction:rtl!important;
  text-align:right!important;
  justify-content:flex-start!important;
  width:100%;
}
html[data-kurosf-lang="fa"] .vertical-menu-list a>span:first-child,
body.kurosf-lang-fa .vertical-menu-list a>span:first-child{
  flex:1 1 auto;
  min-width:0;
  text-align:right!important;
}
html[data-kurosf-lang="fa"] .vertical-menu-list .menu-arrow,
body.kurosf-lang-fa .vertical-menu-list .menu-arrow{ flex:0 0 auto; }



/* ===== KUROSF v32.0.0 — retained submenu motion ===== */
/* The PHP walker now emits the correct glyph per language; CSS only animates it. */
.vertical-menu-list .menu-arrow{
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  flex:0 0 18px;
  inline-size:18px;
  transform:none!important;
  transition:transform .25s ease!important;
}
html[data-kurosf-lang="fa"] .vertical-menu-list .menu-arrow,
body.kurosf-lang-fa .vertical-menu-list .menu-arrow{ transform:none!important; }
html[data-kurosf-lang="fa"] .vertical-menu-list li:hover>a .menu-arrow,
html[data-kurosf-lang="fa"] .vertical-menu-list li:focus-within>a .menu-arrow,
body.kurosf-lang-fa .vertical-menu-list li:hover>a .menu-arrow,
body.kurosf-lang-fa .vertical-menu-list li:focus-within>a .menu-arrow{ transform:translateX(-4px)!important; }
html[data-kurosf-lang="en"] .vertical-menu-list li:hover>a .menu-arrow,
html[data-kurosf-lang="en"] .vertical-menu-list li:focus-within>a .menu-arrow,
body.kurosf-lang-en .vertical-menu-list li:hover>a .menu-arrow,
body.kurosf-lang-en .vertical-menu-list li:focus-within>a .menu-arrow{ transform:translateX(4px)!important; }

@media (min-width:981px){
  .vertical-menu-list ul.sub-menu{
    isolation:isolate;
    overflow:hidden;
    background:transparent!important;
  }
  .vertical-menu-list ul.sub-menu::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:0;
    pointer-events:none;
    background:color-mix(in srgb,var(--section-color) 82%,white);
    transform:scaleX(0);
    transform-origin:left center;
    transition:transform .38s cubic-bezier(.2,.75,.25,1);
  }
  .vertical-menu-list ul.sub-menu.depth-2::before{background:color-mix(in srgb,var(--section-color) 65%,white)}
  .vertical-menu-list ul.sub-menu.depth-3::before{background:color-mix(in srgb,var(--section-color) 48%,white)}
  .vertical-menu-list li:is(:hover,:focus-within,.is-open,.is-hover-open)>ul.sub-menu::before{transform:scaleX(1)}
  html[data-kurosf-lang="fa"] .vertical-menu-list ul.sub-menu::before,
  body.kurosf-lang-fa .vertical-menu-list ul.sub-menu::before{transform-origin:right center}
  .vertical-menu-list ul.sub-menu>li{position:relative;z-index:1;background:transparent!important}
  .vertical-menu-list ul.sub-menu>li>a{
    position:relative;
    overflow:hidden;
    background:transparent!important;
  }
  .vertical-menu-list ul.sub-menu>li>a::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:-1;
    pointer-events:none;
    background:rgba(255,255,255,.16);
    transform:scaleX(0);
    transform-origin:left center;
    transition:transform .3s cubic-bezier(.2,.75,.25,1);
  }
  html[data-kurosf-lang="fa"] .vertical-menu-list ul.sub-menu>li>a::before,
  body.kurosf-lang-fa .vertical-menu-list ul.sub-menu>li>a::before{transform-origin:right center}
  .vertical-menu-list ul.sub-menu>li:hover>a::before,
  .vertical-menu-list ul.sub-menu>li:focus-within>a::before{transform:scaleX(1)}
}


/* ===== KUROSF v32.0.0 — authoritative bilingual menu arrows =====
 * All Persian menu arrows, including depth 1, 2 and 3, point left.
 * English arrows continue to point right. The visible glyph is the text node
 * emitted by PHP/JS; pseudo-elements from older CSS are explicitly disabled.
 */
.vertical-menu-list .menu-arrow,
.vertical-menu-list .menu-depth-0>a>.menu-arrow,
.vertical-menu-list .menu-depth-1>a>.menu-arrow,
.vertical-menu-list .menu-depth-2>a>.menu-arrow,
.vertical-menu-list .menu-depth-3>a>.menu-arrow{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 18px!important;
  inline-size:18px!important;
  font-family:Arial,sans-serif!important;
  font-size:24px!important;
  font-weight:700!important;
  line-height:1!important;
  direction:ltr!important;
  unicode-bidi:isolate!important;
  transform:none!important;
}
.vertical-menu-list .menu-arrow::before,
.vertical-menu-list .menu-arrow::after{
  content:none!important;
  display:none!important;
}
html[data-kurosf-lang="fa"] .vertical-menu-list .menu-arrow,
body.kurosf-lang-fa .vertical-menu-list .menu-arrow{
  transform:none!important;
}
html[data-kurosf-lang="fa"] .vertical-menu-list li:hover>a>.menu-arrow,
html[data-kurosf-lang="fa"] .vertical-menu-list li:focus-within>a>.menu-arrow,
body.kurosf-lang-fa .vertical-menu-list li:hover>a>.menu-arrow,
body.kurosf-lang-fa .vertical-menu-list li:focus-within>a>.menu-arrow{
  transform:translateX(-4px)!important;
}
html[data-kurosf-lang="en"] .vertical-menu-list li:hover>a>.menu-arrow,
html[data-kurosf-lang="en"] .vertical-menu-list li:focus-within>a>.menu-arrow,
body.kurosf-lang-en .vertical-menu-list li:hover>a>.menu-arrow,
body.kurosf-lang-en .vertical-menu-list li:focus-within>a>.menu-arrow{
  transform:translateX(4px)!important;
}

/* Menu arrows are emitted correctly by PHP. No inline transform and no DOM observer. */
.vertical-menu-list .menu-arrow{
  transform:translateX(0)!important;
  will-change:transform;
}
html[data-kurosf-lang="fa"] .vertical-menu-list li:is(:hover,:focus-within,.is-open,.is-hover-open)>a>.menu-arrow,
body.kurosf-lang-fa .vertical-menu-list li:is(:hover,:focus-within,.is-open,.is-hover-open)>a>.menu-arrow{
  transform:translateX(-4px)!important;
}
html[data-kurosf-lang="en"] .vertical-menu-list li:is(:hover,:focus-within,.is-open,.is-hover-open)>a>.menu-arrow,
body.kurosf-lang-en .vertical-menu-list li:is(:hover,:focus-within,.is-open,.is-hover-open)>a>.menu-arrow{
  transform:translateX(4px)!important;
}

@media (min-width:981px){
  /* Each submenu column reveals its section color smoothly from the language side. */
  .vertical-menu-list ul.sub-menu{
    position:absolute;
    isolation:isolate;
    overflow:hidden;
    background:#fff!important;
  }
  .vertical-menu-list ul.sub-menu::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:0;
    pointer-events:none;
    background:color-mix(in srgb,var(--section-color) 82%,white);
    transform:scaleX(0);
    transform-origin:left center;
    transition:transform .34s cubic-bezier(.2,.75,.25,1);
    will-change:transform;
  }
  .vertical-menu-list ul.sub-menu.depth-2::before{background:color-mix(in srgb,var(--section-color) 65%,white)}
  .vertical-menu-list ul.sub-menu.depth-3::before{background:color-mix(in srgb,var(--section-color) 48%,white)}
  html[data-kurosf-lang="fa"] .vertical-menu-list ul.sub-menu::before,
  body.kurosf-lang-fa .vertical-menu-list ul.sub-menu::before{transform-origin:right center}
  .vertical-menu-list li:is(:hover,:focus-within,.is-open,.is-hover-open)>ul.sub-menu::before{
    transform:scaleX(1)!important;
  }

  .vertical-menu-list ul.sub-menu>li{
    position:relative;
    z-index:1;
    background:transparent!important;
  }
  .vertical-menu-list ul.sub-menu>li>a{
    position:relative;
    z-index:1;
    isolation:isolate;
    overflow:hidden;
    background:transparent!important;
  }
  .vertical-menu-list ul.sub-menu>li>a::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:0;
    pointer-events:none;
    background:rgba(255,255,255,.18);
    transform:scaleX(0);
    transform-origin:left center;
    transition:transform .28s cubic-bezier(.2,.75,.25,1);
    will-change:transform;
  }
  html[data-kurosf-lang="fa"] .vertical-menu-list ul.sub-menu>li>a::before,
  body.kurosf-lang-fa .vertical-menu-list ul.sub-menu>li>a::before{transform-origin:right center}
  .vertical-menu-list ul.sub-menu>li>a>span{
    position:relative;
    z-index:1;
  }
  .vertical-menu-list ul.sub-menu>li:is(:hover,:focus-within,.is-open,.is-hover-open)>a::before{
    transform:scaleX(1)!important;
  }
}

@media (prefers-reduced-motion:reduce){
  .vertical-menu-list .menu-arrow,
  .vertical-menu-list ul.sub-menu::before,
  .vertical-menu-list ul.sub-menu>li>a::before{transition:none!important}
}


/* ===== KUROSF v34.0.0 — native Gutenberg references =====
 * References use native Paragraph direction and WordPress alignment controls.
 * No theme rule forces text alignment, width, or bidi isolation.
 */
.kurosf-references-ltr a{overflow-wrap:anywhere;word-break:normal}


/* ===== v35 Disasters: exact bilingual native page and live location tools ===== */

/* KUROSF Disasters dashboard v36 — visual parity with retired external CMS staging. */
.kurosf-disasters-page{width:100%}
.kurosf-disaster-dashboard-v36{box-sizing:border-box;max-width:930px;margin:28px auto 36px;padding:28px;background:#f5fafc;border:1px solid #bfd5de;border-radius:8px;color:#17333e;font-family:Inter,Carlito,Calibri,Arial,sans-serif;font-size:15px;line-height:1.85;direction:inherit}
.kurosf-disaster-dashboard-v36 *{box-sizing:border-box}
.disaster-v36-header{display:grid;grid-template-columns:minmax(0,1fr) 96px;gap:28px;align-items:start}
.disaster-v36-eyebrow,.disaster-v36-card-label{margin:0 0 12px;color:#244d60;font-size:13px;font-weight:800;line-height:1.35;letter-spacing:.01em;text-transform:uppercase}
.disaster-v36-heading h1{margin:0 0 4px;color:#102f3b;font-size:29px;line-height:1.3;font-weight:800}
.disaster-v36-intro{max-width:690px;margin:0;color:#294c5b;font-size:14px;line-height:1.9}
.disaster-v36-location-badge{min-height:82px;margin:0;padding:14px 12px;display:flex;align-items:center;background:#fff;border:1px solid #ccdce2;border-radius:7px;color:#17333e;font-size:13px;line-height:1.45}
.disaster-v36-search{margin-top:28px}
.disaster-v36-search>label{display:block;margin:0 0 7px;color:#15323d;font-size:15px;font-weight:800}
.disaster-v36-search-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:10px;align-items:stretch}
.disaster-v36-search-row input{width:100%;height:45px;padding:0 13px;background:#fff;border:1px solid #b8cfd8;border-radius:6px;color:#19343e;font:600 15px/1.2 Inter,Carlito,Calibri,Arial,sans-serif;outline:none}
.disaster-v36-search-row input:focus{border-color:#047e94;box-shadow:0 0 0 2px rgba(4,126,148,.13)}
.disaster-v36-search-row button,.disaster-v36-actions a,.disaster-v36-card-head>a{min-height:43px;padding:9px 15px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #067e94;border-radius:6px;background:#078097;color:#fff!important;font:700 14px/1.25 Inter,Carlito,Calibri,Arial,sans-serif;text-decoration:none!important;cursor:pointer;transition:background-color .18s ease,color .18s ease,border-color .18s ease,transform .18s ease}
.disaster-v36-search-row button.secondary,.disaster-v36-actions a:not(.primary),.disaster-v36-card-head>a{background:#fff;color:#07677a!important}
.disaster-v36-search-row button:hover,.disaster-v36-search-row button:focus-visible,.disaster-v36-actions a:hover,.disaster-v36-actions a:focus-visible,.disaster-v36-card-head>a:hover,.disaster-v36-card-head>a:focus-visible{background:#056b7e;color:#fff!important;border-color:#056b7e;transform:translateY(-1px)}
.disaster-v36-search-row button:disabled{opacity:.58;cursor:wait;transform:none}
.disaster-v36-status{min-height:24px;margin:14px 0 0;padding:2px 10px;background:#fff;border-inline-start:4px solid #078097;color:#47636d;font-size:13px;line-height:1.5}
.disaster-v36-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:14px}
.disaster-v36-card{min-width:0;padding:17px 16px 15px;background:#fff;border:1px solid #bfd4dc;border-radius:7px;color:#284954}
.disaster-v36-card h2{margin:0 0 2px;color:#142f39;font-size:20px;line-height:1.45;font-weight:800;text-transform:none}
.disaster-v36-card>p:not(.disaster-v36-card-label):not(.disaster-v36-card-status){margin:14px 0;color:#294b58;font-size:14px;line-height:1.9}
.disaster-v36-card-status{min-height:27px;margin:0;color:#49646e;font-size:13px;line-height:1.75}
.disaster-v36-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.disaster-v36-wide{grid-column:1/-1}
.disaster-v36-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}
.disaster-v36-card-head .disaster-v36-card-label{margin-bottom:12px}
.disaster-v36-card-head h2{margin-bottom:0}
.disaster-v36-card-head>a{flex:0 0 auto}
.disaster-v36-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:15px}
.disaster-v36-results>p{grid-column:1/-1;margin:0;color:#49646e;font-size:13px}
.disaster-v36-event{padding:11px 12px;background:#f6fafb;border:1px solid #d4e1e5;border-radius:5px}
.disaster-v36-event h3{margin:0 0 4px;color:#17333e;font-size:14px;line-height:1.5;font-weight:700}
.disaster-v36-event h3 span{white-space:nowrap;color:#a14b2d}
.disaster-v36-event p{margin:0 0 5px;color:#61747c;font-size:12px;line-height:1.45}
.disaster-v36-event a{font-size:12px;font-weight:700}
.disaster-v36-weather>p:not(.disaster-v36-card-label){margin:2px 0 16px}
.disaster-v36-map-wrap{width:100%;height:558px;overflow:hidden;background:#888;border-radius:7px}
.disaster-v36-map-wrap iframe{display:block;width:100%;height:100%;border:0;background:#888}
.disaster-v36-sources{margin:4px 0 0;color:#295363;font-size:13px;line-height:1.9}
.kurosf-disaster-dashboard-v36.is-loading{cursor:progress}
.kurosf-disaster-dashboard-v36[dir="rtl"]{text-align:right}
.kurosf-disaster-dashboard-v36[dir="rtl"] .disaster-v36-search-row input{direction:rtl;text-align:right}
.kurosf-disaster-dashboard-v36[dir="rtl"] .disaster-v36-card-head{flex-direction:row}
@media (max-width:900px){.kurosf-disaster-dashboard-v36{padding:22px}.disaster-v36-header{grid-template-columns:1fr}.disaster-v36-location-badge{min-height:auto;max-width:240px}.disaster-v36-search-row{grid-template-columns:1fr 1fr}.disaster-v36-search-row input{grid-column:1/-1}.disaster-v36-grid{grid-template-columns:1fr}.disaster-v36-wide{grid-column:auto}.disaster-v36-results{grid-template-columns:1fr}.disaster-v36-map-wrap{height:440px}}
@media (max-width:560px){.kurosf-disaster-dashboard-v36{margin:16px auto 24px;padding:16px;border-radius:6px}.disaster-v36-heading h1{font-size:24px}.disaster-v36-search-row{grid-template-columns:1fr}.disaster-v36-search-row input{grid-column:auto}.disaster-v36-search-row button{width:100%}.disaster-v36-card{padding:15px}.disaster-v36-card-head{display:block}.disaster-v36-card-head>a{margin-top:12px}.disaster-v36-map-wrap{height:340px}}


/* ======================================================================
   KUROSF v38.0.0 — CMS-authoritative, deterministic multi-column menu
   ----------------------------------------------------------------------
   WordPress language menus are the primary data source in functions.php.
   These final rules intentionally override accumulated v1–v37 flyout
   rules so every existing depth-2/depth-3/depth-4 column is measurable,
   visible outside its parent, and controlled by one deterministic state.
   Mobile accordion behaviour remains unchanged.
   ====================================================================== */
@media (min-width:981px){
  .site-app,
  .site-sidebar,
  .vertical-menu,
  .vertical-menu-list,
  .vertical-menu-list li{
    overflow:visible!important;
  }

  .site-sidebar{z-index:5000!important}
  .site-main{position:relative!important;z-index:1!important}
  .vertical-menu{position:relative!important;z-index:5100!important}
  .vertical-menu-list{position:relative!important;z-index:5200!important}
  .vertical-menu-list li{position:relative!important}

  .vertical-menu-list ul.sub-menu,
  .vertical-menu-list ul.sub-menu.opens-up,
  .vertical-menu-list ul.sub-menu.submenu-scroll{
    display:block!important;
    position:absolute!important;
    top:0;
    bottom:auto!important;
    width:215px!important;
    height:auto!important;
    min-height:64px!important;
    max-height:none;
    margin:0!important;
    opacity:0!important;
    visibility:hidden!important;
    pointer-events:none!important;
    overflow:visible!important;
    overflow-x:visible!important;
    overflow-y:visible!important;
    overscroll-behavior:auto!important;
    z-index:5300!important;
    transition:opacity .16s ease,transform .18s ease,visibility 0s linear .18s!important;
  }

  body.kurosf-lang-en .vertical-menu-list ul.sub-menu,
  html[data-kurosf-lang="en"] .vertical-menu-list ul.sub-menu{
    left:100%!important;
    right:auto!important;
    transform:translateX(-16px)!important;
    transform-origin:left top!important;
  }

  body.kurosf-lang-fa .vertical-menu-list ul.sub-menu,
  html[data-kurosf-lang="fa"] .vertical-menu-list ul.sub-menu{
    right:100%!important;
    left:auto!important;
    transform:translateX(16px)!important;
    transform-origin:right top!important;
  }

  .vertical-menu-list li:is(:hover,:focus-within,.is-open,.is-hover-open)>ul.sub-menu{
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
    transition-delay:0s!important;
  }

  body.kurosf-lang-en .vertical-menu-list li:is(:hover,:focus-within,.is-open,.is-hover-open)>ul.sub-menu,
  html[data-kurosf-lang="en"] .vertical-menu-list li:is(:hover,:focus-within,.is-open,.is-hover-open)>ul.sub-menu,
  body.kurosf-lang-fa .vertical-menu-list li:is(:hover,:focus-within,.is-open,.is-hover-open)>ul.sub-menu,
  html[data-kurosf-lang="fa"] .vertical-menu-list li:is(:hover,:focus-within,.is-open,.is-hover-open)>ul.sub-menu{
    transform:translateX(0)!important;
  }

  .vertical-menu-list ul.sub-menu.depth-1{z-index:5310!important}
  .vertical-menu-list ul.sub-menu.depth-2{z-index:5320!important}
  .vertical-menu-list ul.sub-menu.depth-3{z-index:5330!important}
  .vertical-menu-list ul.sub-menu.depth-4{z-index:5340!important}

  /* A final column may scroll vertically. Any column that owns another
     submenu must remain overflow-visible so the next column is never cut. */
  .vertical-menu-list ul.sub-menu.is-leaf-scroll{
    overflow-y:auto!important;
    overflow-x:hidden!important;
    overscroll-behavior:contain!important;
  }
  .vertical-menu-list ul.sub-menu:not(.is-leaf-scroll){
    max-height:none!important;
    overflow:visible!important;
  }
}

/* ===== KUROSF v39.0.0 — Research menu color persisted in the theme =====
 * Scope: Research top-level menu only. Existing shared menu rules use this
 * section color to render progressively lighter submenu columns.
 */
.vertical-menu-list > li.research-menu,
.vertical-menu-list > li:nth-child(5){
  --section-color:#483d8b!important;
}

/* ===== KUROSF v40.0.0 — research article layout + dynamic metadata ===== */
:root{
  --kurosf-article-content-width:800px;
  --kurosf-article-wide-width:1200px;
  --kurosf-article-meta-size:14px;
}
.research-article-layout{
  width:min(100%,var(--kurosf-article-wide-width));
  max-width:var(--kurosf-article-wide-width);
  padding-inline:clamp(20px,4vw,56px);
}
.research-article-layout .kurosf-research-article{
  width:100%;
}
.research-article-layout .page-header,
.research-article-layout .article-meta,
.research-article-layout .kurosf-article-meta,
.research-article-layout .entry-content,
.research-article-layout .translation-note{
  width:min(100%,var(--kurosf-article-content-width));
  max-width:var(--kurosf-article-content-width);
  margin-inline:auto;
}
.research-article-layout .entry-content > .alignwide{
  width:min(var(--kurosf-article-wide-width),calc(100vw - var(--sidebar-w) - 40px));
  max-width:var(--kurosf-article-wide-width);
  margin-inline:50%;
  transform:translateX(-50%);
}
body.kurosf-lang-fa .research-article-layout .entry-content > .alignwide{
  transform:translateX(50%);
}
.research-article-layout .entry-content > .alignfull{
  width:100%;
  max-width:none;
}
.research-article-layout .page-header h1{
  font-size:32px;
  line-height:1.12;
  letter-spacing:-.015em;
}
.research-article-layout .entry-content{
  font-size:16px;
  line-height:1.65;
}
.research-article-layout .entry-content h2{font-size:25px;line-height:1.2}
.research-article-layout .entry-content h3{font-size:21px;line-height:1.25}
.kurosf-article-meta{--kurosf-meta-size:var(--kurosf-article-meta-size)}
@media (max-width:980px){
  .research-article-layout{width:100%;max-width:none;padding:28px clamp(18px,4vw,36px) 56px}
  .research-article-layout .page-header,
  .research-article-layout .article-meta,
  .research-article-layout .kurosf-article-meta,
  .research-article-layout .entry-content,
  .research-article-layout .translation-note{width:100%;max-width:var(--kurosf-article-content-width)}
  .research-article-layout .entry-content > .alignwide{width:100%;max-width:100%;margin-inline:0;transform:none!important}
}
@media (max-width:640px){
  .research-article-layout{padding-inline:18px}
  .research-article-layout .page-header h1{font-size:clamp(30px,9vw,32px)}
  .research-article-layout .entry-content{font-size:16px;line-height:1.62}
}

/* ===== KUROSF v42.0.2 — English bibliography isolation inside RTL pages =====
 * Borges bibliography entries are English/LTR scholarly references even when
 * the surrounding Persian page is RTL. Isolate the block from the page bidi
 * context so author names, punctuation, DOI/URLs, hanging indents and wrapping
 * render in the expected order on the front end.
 */
.wp-block-bibliography-builder-bibliography{
  direction:ltr!important;
  text-align:left!important;
  unicode-bidi:isolate!important;
}
.wp-block-bibliography-builder-bibliography .bibliography-builder-heading{
  direction:ltr!important;
  text-align:center!important;
  unicode-bidi:isolate!important;
}
.wp-block-bibliography-builder-bibliography .bibliography-builder-list,
.wp-block-bibliography-builder-bibliography .bibliography-builder-list > li,
.wp-block-bibliography-builder-bibliography .bibliography-builder-entry-text{
  direction:ltr!important;
  text-align:left!important;
  unicode-bidi:isolate!important;
}
.wp-block-bibliography-builder-bibliography .bibliography-builder-entry-text a{
  direction:ltr!important;
  unicode-bidi:isolate!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
}

/* ===== KUROSF v43.0.0 — Food & Water live-indicator cards ===== */
.fw-live-panel{
  border:1px solid #d8e5df;
  border-radius:8px;
  background:#f8fbfa;
  padding:28px;
  margin-bottom:28px;
}
.fw-card-row{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  margin-block:14px 18px;
}
.fw-card{
  border:1px solid #d9e2e5;
  border-radius:8px;
  background:#fff;
  padding:18px;
  min-height:218px;
  box-sizing:border-box;
}
.fw-card-priority{
  border-color:#78d6a6;
  background:#fbfffd;
  box-shadow:0 0 0 1px rgba(75,190,127,.28),0 0 0 rgba(75,190,127,0);
  animation:fwPriorityGlow 3.8s ease-in-out infinite;
}
@keyframes fwPriorityGlow{
  0%,100%{box-shadow:0 0 0 1px rgba(75,190,127,.22),0 0 0 rgba(75,190,127,0)}
  50%{box-shadow:0 0 0 1px rgba(75,190,127,.58),0 0 18px rgba(75,190,127,.18)}
}
.fw-card .fw-value{
  font-size:28px;
  line-height:1.1;
  font-weight:800;
  color:#002b3a;
  font-variant-numeric:tabular-nums;
}
.fw-card .fw-source{
  border-top:1px solid #e6edf0;
  padding-top:10px;
}
.fw-fa{
  direction:rtl;
  text-align:right;
  font-family:Calibri,"Carlito","Vazirmatn","Segoe UI",Tahoma,Arial,sans-serif;
}
.fw-fa.fw-card-row{
  direction:ltr;
}
.fw-fa.fw-card-row > .wp-block-column{
  direction:rtl;
}
@media (max-width:900px){
  .fw-card-row{
    grid-template-columns:1fr!important;
  }
}

/* KUROSF v44.0.23: Politics default text color only. */
@media (min-width:761px){
  body.kurosf-lang-en .vertical-menu-list>li.kurosf-menu-politics:not(:hover):not(:focus-within):not(.is-open):not(.is-hover-open)>a,
  html[data-kurosf-lang="en"] .vertical-menu-list>li.kurosf-menu-politics:not(:hover):not(:focus-within):not(.is-open):not(.is-hover-open)>a,
  body.kurosf-lang-fa .vertical-menu-list>li.kurosf-menu-politics:not(:hover):not(:focus-within):not(.is-open):not(.is-hover-open)>a,
  html[data-kurosf-lang="fa"] .vertical-menu-list>li.kurosf-menu-politics:not(:hover):not(:focus-within):not(.is-open):not(.is-hover-open)>a,
  body.kurosf-lang-en .vertical-menu-list>li:has(>a[href*="/politics"]):not(:hover):not(:focus-within):not(.is-open):not(.is-hover-open)>a,
  html[data-kurosf-lang="en"] .vertical-menu-list>li:has(>a[href*="/politics"]):not(:hover):not(:focus-within):not(.is-open):not(.is-hover-open)>a,
  body.kurosf-lang-fa .vertical-menu-list>li:has(>a[href*="/politics"]):not(:hover):not(:focus-within):not(.is-open):not(.is-hover-open)>a,
  html[data-kurosf-lang="fa"] .vertical-menu-list>li:has(>a[href*="/politics"]):not(:hover):not(:focus-within):not(.is-open):not(.is-hover-open)>a{
    background:#fff!important;
    color:#13222a!important;
    text-shadow:none!important;
    filter:none!important;
  }

  body.kurosf-lang-en .vertical-menu-list>li.kurosf-menu-politics:not(:hover):not(:focus-within):not(.is-open):not(.is-hover-open)>a>span,
  html[data-kurosf-lang="en"] .vertical-menu-list>li.kurosf-menu-politics:not(:hover):not(:focus-within):not(.is-open):not(.is-hover-open)>a>span,
  body.kurosf-lang-fa .vertical-menu-list>li.kurosf-menu-politics:not(:hover):not(:focus-within):not(.is-open):not(.is-hover-open)>a>span,
  html[data-kurosf-lang="fa"] .vertical-menu-list>li.kurosf-menu-politics:not(:hover):not(:focus-within):not(.is-open):not(.is-hover-open)>a>span,
  body.kurosf-lang-en .vertical-menu-list>li.kurosf-menu-politics:not(:hover):not(:focus-within):not(.is-open):not(.is-hover-open)>a>.menu-arrow,
  html[data-kurosf-lang="en"] .vertical-menu-list>li.kurosf-menu-politics:not(:hover):not(:focus-within):not(.is-open):not(.is-hover-open)>a>.menu-arrow,
  body.kurosf-lang-fa .vertical-menu-list>li.kurosf-menu-politics:not(:hover):not(:focus-within):not(.is-open):not(.is-hover-open)>a>.menu-arrow,
  html[data-kurosf-lang="fa"] .vertical-menu-list>li.kurosf-menu-politics:not(:hover):not(:focus-within):not(.is-open):not(.is-hover-open)>a>.menu-arrow{
    color:#13222a!important;
  }

  body.kurosf-lang-en .vertical-menu-list>li.kurosf-menu-politics:not(:hover):not(:focus-within):not(.is-open):not(.is-hover-open)>a::before,
  html[data-kurosf-lang="en"] .vertical-menu-list>li.kurosf-menu-politics:not(:hover):not(:focus-within):not(.is-open):not(.is-hover-open)>a::before,
  body.kurosf-lang-fa .vertical-menu-list>li.kurosf-menu-politics:not(:hover):not(:focus-within):not(.is-open):not(.is-hover-open)>a::before,
  html[data-kurosf-lang="fa"] .vertical-menu-list>li.kurosf-menu-politics:not(:hover):not(:focus-within):not(.is-open):not(.is-hover-open)>a::before,
  body.kurosf-lang-en .vertical-menu-list>li:has(>a[href*="/politics"]):not(:hover):not(:focus-within):not(.is-open):not(.is-hover-open)>a::before,
  html[data-kurosf-lang="en"] .vertical-menu-list>li:has(>a[href*="/politics"]):not(:hover):not(:focus-within):not(.is-open):not(.is-hover-open)>a::before,
  body.kurosf-lang-fa .vertical-menu-list>li:has(>a[href*="/politics"]):not(:hover):not(:focus-within):not(.is-open):not(.is-hover-open)>a::before,
  html[data-kurosf-lang="fa"] .vertical-menu-list>li:has(>a[href*="/politics"]):not(:hover):not(:focus-within):not(.is-open):not(.is-hover-open)>a::before{
    opacity:1!important;
    transform:scaleX(0)!important;
  }
}

/* KUROSF v44.0.22: Persian menu fill direction only. */
@media (min-width:761px){
  html[data-kurosf-lang="fa"] .vertical-menu-list>li>a,
  body.kurosf-lang-fa .vertical-menu-list>li>a,
  html[data-kurosf-lang="fa"] .vertical-menu-list ul.sub-menu>li>a,
  body.kurosf-lang-fa .vertical-menu-list ul.sub-menu>li>a{
    position:relative!important;
    overflow:hidden!important;
    isolation:isolate!important;
    background:transparent!important;
  }

  html[data-kurosf-lang="fa"] .vertical-menu-list>li>a>span,
  body.kurosf-lang-fa .vertical-menu-list>li>a>span,
  html[data-kurosf-lang="fa"] .vertical-menu-list>li>a>.menu-arrow,
  body.kurosf-lang-fa .vertical-menu-list>li>a>.menu-arrow,
  html[data-kurosf-lang="fa"] .vertical-menu-list ul.sub-menu>li>a>span,
  body.kurosf-lang-fa .vertical-menu-list ul.sub-menu>li>a>span,
  html[data-kurosf-lang="fa"] .vertical-menu-list ul.sub-menu>li>a>.menu-arrow,
  body.kurosf-lang-fa .vertical-menu-list ul.sub-menu>li>a>.menu-arrow{
    position:relative!important;
    z-index:1!important;
  }

  html[data-kurosf-lang="fa"] .vertical-menu-list>li>a::before,
  body.kurosf-lang-fa .vertical-menu-list>li>a::before,
  html[data-kurosf-lang="fa"] .vertical-menu-list ul.sub-menu>li>a::before,
  body.kurosf-lang-fa .vertical-menu-list ul.sub-menu>li>a::before{
    content:""!important;
    position:absolute!important;
    z-index:0!important;
    inset:0!important;
    width:auto!important;
    inline-size:auto!important;
    opacity:1!important;
    background:var(--section-color)!important;
    transform:scaleX(0)!important;
    transform-origin:right center!important;
    transition:transform .68s cubic-bezier(.22,.72,.2,1)!important;
    pointer-events:none!important;
  }

  html[data-kurosf-lang="fa"] .vertical-menu-list>li:is(:hover,:focus-within,.is-open,.is-hover-open,.current-menu-item,.current-menu-ancestor)>a,
  body.kurosf-lang-fa .vertical-menu-list>li:is(:hover,:focus-within,.is-open,.is-hover-open,.current-menu-item,.current-menu-ancestor)>a,
  html[data-kurosf-lang="fa"] .vertical-menu-list ul.sub-menu>li:is(:hover,:focus-within,.is-open,.is-hover-open,.current-menu-item,.current-menu-ancestor)>a,
  body.kurosf-lang-fa .vertical-menu-list ul.sub-menu>li:is(:hover,:focus-within,.is-open,.is-hover-open,.current-menu-item,.current-menu-ancestor)>a{
    background:transparent!important;
    color:#fff!important;
  }

  html[data-kurosf-lang="fa"] .vertical-menu-list>li:is(:hover,:focus-within,.is-open,.is-hover-open,.current-menu-item,.current-menu-ancestor)>a::before,
  body.kurosf-lang-fa .vertical-menu-list>li:is(:hover,:focus-within,.is-open,.is-hover-open,.current-menu-item,.current-menu-ancestor)>a::before,
  html[data-kurosf-lang="fa"] .vertical-menu-list ul.sub-menu>li:is(:hover,:focus-within,.is-open,.is-hover-open,.current-menu-item,.current-menu-ancestor)>a::before,
  body.kurosf-lang-fa .vertical-menu-list ul.sub-menu>li:is(:hover,:focus-within,.is-open,.is-hover-open,.current-menu-item,.current-menu-ancestor)>a::before{
    width:auto!important;
    inline-size:auto!important;
    opacity:1!important;
    background:var(--section-color)!important;
    transform:scaleX(1)!important;
  }

  html[data-kurosf-lang="fa"] .vertical-menu-list>li:is(:hover,:focus-within,.is-open,.is-hover-open)>a,
  body.kurosf-lang-fa .vertical-menu-list>li:is(:hover,:focus-within,.is-open,.is-hover-open)>a{
    transform:translateX(-5px)!important;
  }

  html[data-kurosf-lang="fa"] .vertical-menu-list ul.sub-menu>li:is(:hover,:focus-within,.is-open,.is-hover-open)>a,
  body.kurosf-lang-fa .vertical-menu-list ul.sub-menu>li:is(:hover,:focus-within,.is-open,.is-hover-open)>a{
    transform:translateX(-7px)!important;
  }
}

/* KUROSF v44.0.19: targeted Politics parent hover visibility only. */
@media (min-width:761px){
  .vertical-menu-list>li.kurosf-menu-politics,
  .vertical-menu-list>li:has(>a[href*="/politics"]){
    --section-color:#0796a1!important;
  }
  .vertical-menu-list>li.kurosf-menu-politics:is(:hover,:focus-within,.is-open,.is-hover-open)>a,
  .vertical-menu-list>li:has(>a[href*="/politics"]):is(:hover,:focus-within,.is-open,.is-hover-open)>a{
    background:#0796a1!important;
    color:#fff!important;
    text-shadow:0 1px 1px rgba(0,0,0,.16)!important;
  }
  .vertical-menu-list>li.kurosf-menu-politics:is(:hover,:focus-within,.is-open,.is-hover-open)>a>span,
  .vertical-menu-list>li.kurosf-menu-politics:is(:hover,:focus-within,.is-open,.is-hover-open)>a .menu-arrow{
    color:#fff!important;
  }
  .vertical-menu-list>li.kurosf-menu-politics:is(:hover,:focus-within,.is-open,.is-hover-open)>a::before,
  .vertical-menu-list>li:has(>a[href*="/politics"]):is(:hover,:focus-within,.is-open,.is-hover-open)>a::before{
    width:100%!important;
    opacity:1!important;
    background:#0796a1!important;
  }
  .vertical-menu-list>li.kurosf-menu-politics>ul.sub-menu,
  .vertical-menu-list>li.kurosf-menu-politics ul.sub-menu,
  .vertical-menu-list>li:has(>a[href*="/politics"])>ul.sub-menu,
  .vertical-menu-list>li:has(>a[href*="/politics"]) ul.sub-menu{
    background:#0796a1!important;
  }
}

/* KUROSF v44.0.20: readable output only for Causes/Evidence page. */
body:not(.home) article.kurosf-causes-evidence-native-page .entry-content,
body:not(.home) .kurosf-native-virtual-page[data-kurosf-native-slug="causes-evidence"] .entry-content,
body:not(.home) .kurosf-native-virtual-page[data-kurosf-native-slug="causes-evidence"] .kurosf-native-content{
  width:min(980px,calc(100% - 44px))!important;
  max-width:980px!important;
  margin:32px auto 0!important;
  padding:0!important;
  box-sizing:border-box!important;
}
body:not(.home) article.kurosf-causes-evidence-native-page .entry-content > *,
body:not(.home) .kurosf-native-virtual-page[data-kurosf-native-slug="causes-evidence"] .entry-content > *,
body:not(.home) .kurosf-native-virtual-page[data-kurosf-native-slug="causes-evidence"] .kurosf-native-content > *{
  max-width:100%!important;
}

/* KUROSF v44.0.21: restore directional menu hover fill only. */
@media (min-width:761px){
  .vertical-menu-list>li>a,
  .vertical-menu-list ul.sub-menu>li>a{
    position:relative!important;
    overflow:hidden!important;
    isolation:isolate!important;
    background:transparent!important;
    transition:color .46s ease,transform .46s ease,filter .46s ease,box-shadow .46s ease!important;
  }

  .vertical-menu-list>li>a>span,
  .vertical-menu-list>li>a>.menu-arrow,
  .vertical-menu-list ul.sub-menu>li>a>span,
  .vertical-menu-list ul.sub-menu>li>a>.menu-arrow{
    position:relative!important;
    z-index:1!important;
  }

  .vertical-menu-list>li>a::before,
  .vertical-menu-list ul.sub-menu>li>a::before{
    content:""!important;
    position:absolute!important;
    z-index:0!important;
    inset:0!important;
    width:auto!important;
    inline-size:auto!important;
    opacity:1!important;
    background:var(--section-color)!important;
    transform:scaleX(0)!important;
    transform-origin:left center!important;
    transition:transform .62s cubic-bezier(.22,.72,.2,1)!important;
    pointer-events:none!important;
  }

  html[data-kurosf-lang="fa"] .vertical-menu-list>li>a::before,
  body.kurosf-lang-fa .vertical-menu-list>li>a::before,
  html[data-kurosf-lang="fa"] .vertical-menu-list ul.sub-menu>li>a::before,
  body.kurosf-lang-fa .vertical-menu-list ul.sub-menu>li>a::before{
    transform-origin:right center!important;
  }

  .vertical-menu-list>li:is(:hover,:focus-within,.is-open,.is-hover-open)>a,
  .vertical-menu-list ul.sub-menu>li:is(:hover,:focus-within,.is-open,.is-hover-open)>a,
  .vertical-menu-list>li.kurosf-menu-politics:is(:hover,:focus-within,.is-open,.is-hover-open)>a,
  .vertical-menu-list>li:has(>a[href*="/politics"]):is(:hover,:focus-within,.is-open,.is-hover-open)>a{
    background:transparent!important;
    color:#fff!important;
  }

  .vertical-menu-list>li:is(:hover,:focus-within,.is-open,.is-hover-open)>a::before,
  .vertical-menu-list ul.sub-menu>li:is(:hover,:focus-within,.is-open,.is-hover-open)>a::before,
  .vertical-menu-list>li.kurosf-menu-politics:is(:hover,:focus-within,.is-open,.is-hover-open)>a::before,
  .vertical-menu-list>li:has(>a[href*="/politics"]):is(:hover,:focus-within,.is-open,.is-hover-open)>a::before{
    width:auto!important;
    inline-size:auto!important;
    opacity:1!important;
    background:var(--section-color)!important;
    transform:scaleX(1)!important;
  }

  html[data-kurosf-lang="en"] .vertical-menu-list>li:is(:hover,:focus-within,.is-open,.is-hover-open)>a,
  body.kurosf-lang-en .vertical-menu-list>li:is(:hover,:focus-within,.is-open,.is-hover-open)>a{
    transform:translateX(5px)!important;
  }

  html[data-kurosf-lang="fa"] .vertical-menu-list>li:is(:hover,:focus-within,.is-open,.is-hover-open)>a,
  body.kurosf-lang-fa .vertical-menu-list>li:is(:hover,:focus-within,.is-open,.is-hover-open)>a{
    transform:translateX(-5px)!important;
  }
}

/* ======================================================================
   KUROSF v44.0.24 — stable browser-zoom reflow + hover-only main menu
   ----------------------------------------------------------------------
   1) Keep Food & Water inside the real site-main container. The page's
      legacy inline CSS uses 100vw breakout math, which becomes wider than
      the capped 1920px site shell when visitors zoom OUT. These stronger,
      page-specific rules neutralize that breakout for both languages.
   2) Main menu items are neutral at rest in English and Persian. Color is
      revealed only while hovering/focusing/open. Persian fills from right
      to left; English fills from left to right.
   ====================================================================== */

/* Global defensive reflow: allow grid/flex children and headings to shrink
   instead of forcing horizontal overflow at unusual browser zoom levels. */
.site-main,
.site-content,
.page-layout,
.cms-page-body,
.entry-content,
.brand-strip,
.brand-strip > div,
.utility-bar{
  min-inline-size:0;
}
.brand-strip{flex-wrap:wrap}
.brand-title,
.brand-quote{max-inline-size:100%;overflow-wrap:anywhere}
.entry-content :where(img,video,svg,canvas){max-inline-size:100%;height:auto}
.entry-content :where(iframe){max-inline-size:100%}

/* Food & Water — English page 599 and Persian page 743.
   Never size these sections from 100vw; size them from their actual parent. */
body.page-id-599 .page-layout,
body.page-id-743 .page-layout{
  inline-size:100%!important;
  max-inline-size:none!important;
  margin-inline:auto!important;
  padding-block:clamp(20px,2.4vw,42px) 56px!important;
  padding-inline:clamp(16px,2.2vw,36px)!important;
  overflow-x:clip;
}
body.page-id-599 .kurosf-native-page .cms-page-body,
body.page-id-743 .kurosf-native-page .cms-page-body{
  inline-size:100%!important;
  max-inline-size:none!important;
  min-inline-size:0!important;
  margin-inline:auto!important;
  padding:0!important;
}
body.page-id-599 .site-main .kurosf-native-content :is(.kurosf-cover-header-pattern,.fw-live-panel,.fw-analysis,.fw-section-title,.fw-card-row,.fw-note,.fw-references),
body.page-id-743 .site-main .kurosf-native-content :is(.kurosf-cover-header-pattern,.fw-live-panel,.fw-analysis,.fw-section-title,.fw-card-row,.fw-note,.fw-references){
  inline-size:100%!important;
  width:100%!important;
  min-inline-size:0!important;
  min-width:0!important;
  max-inline-size:100%!important;
  max-width:100%!important;
  margin-inline:0!important;
  margin-left:0!important;
  margin-right:0!important;
  box-sizing:border-box!important;
  transform:none!important;
}
body.page-id-599 .site-main .kurosf-native-content .fw-card-row,
body.page-id-743 .site-main .kurosf-native-content .fw-card-row{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr))!important;
  gap:12px!important;
  padding-inline:0!important;
  align-items:stretch!important;
}
body.page-id-599 .site-main .kurosf-native-content .fw-card-row > .wp-block-column,
body.page-id-743 .site-main .kurosf-native-content .fw-card-row > .wp-block-column{
  inline-size:auto!important;
  width:auto!important;
  min-inline-size:0!important;
  min-width:0!important;
  max-inline-size:none!important;
  max-width:none!important;
  flex-basis:auto!important;
}
body.page-id-599 .site-main .kurosf-native-content .fw-card,
body.page-id-743 .site-main .kurosf-native-content .fw-card{
  min-inline-size:0!important;
  overflow-wrap:anywhere;
}
body.page-id-599 .site-main .kurosf-native-content .fw-card .fw-value,
body.page-id-743 .site-main .kurosf-native-content .fw-card .fw-value{
  font-size:clamp(22px,1.65vw,28px)!important;
  overflow-wrap:anywhere;
}
body.page-id-599 .site-main .kurosf-native-content .kurosf-cover-header-pattern,
body.page-id-743 .site-main .kurosf-native-content .kurosf-cover-header-pattern{
  min-height:clamp(230px,30vw,465px)!important;
}
@media (max-width:700px){
  body.page-id-599 .page-layout,
  body.page-id-743 .page-layout{padding-inline:16px!important}
  body.page-id-599 .site-main .kurosf-native-content .fw-card-row,
  body.page-id-743 .site-main .kurosf-native-content .fw-card-row{grid-template-columns:1fr!important}
}

/* Main navigation — neutral at rest, animated fill only on interaction.
   This intentionally overrides v44.0.22, which included current-menu-item and
   current-menu-ancestor in Persian's filled state and could leave rows colored. */
@media (min-width:761px){
  .vertical-menu-list>li.current-menu-item:not(:hover):not(:focus-within):not(.is-open):not(.is-hover-open)>a,
  .vertical-menu-list>li.current-menu-ancestor:not(:hover):not(:focus-within):not(.is-open):not(.is-hover-open)>a{
    background:#fff!important;
    color:#13222a!important;
    text-shadow:none!important;
    filter:none!important;
    transform:none!important;
    box-shadow:inset 0 -1px 0 rgba(0,0,0,.08)!important;
  }
  .vertical-menu-list>li.current-menu-item:not(:hover):not(:focus-within):not(.is-open):not(.is-hover-open)>a::before,
  .vertical-menu-list>li.current-menu-ancestor:not(:hover):not(:focus-within):not(.is-open):not(.is-hover-open)>a::before{
    opacity:1!important;
    transform:scaleX(0)!important;
  }
  .vertical-menu-list>li.current-menu-item>a::after,
  .vertical-menu-list>li.current-menu-ancestor>a::after{
    display:none!important;
  }

  body.kurosf-lang-en .vertical-menu-list>li>a::before,
  html[data-kurosf-lang="en"] .vertical-menu-list>li>a::before{
    transform-origin:left center!important;
  }
  body.kurosf-lang-fa .vertical-menu-list>li>a::before,
  html[data-kurosf-lang="fa"] .vertical-menu-list>li>a::before{
    transform-origin:right center!important;
  }

  .vertical-menu-list>li:is(:hover,:focus-within,.is-open,.is-hover-open)>a{
    background:transparent!important;
    color:#fff!important;
  }
  .vertical-menu-list>li:is(:hover,:focus-within,.is-open,.is-hover-open)>a::before{
    opacity:1!important;
    transform:scaleX(1)!important;
    transition:transform .58s cubic-bezier(.22,.72,.2,1)!important;
  }
}

/* Respect visitors who request less interface motion. */
@media (prefers-reduced-motion:reduce){
  .vertical-menu-list>li>a,
  .vertical-menu-list>li>a::before,
  .vertical-menu-list ul.sub-menu,
  .vertical-menu-list ul.sub-menu>li>a{
    transition-duration:.01ms!important;
  }
}



/* ======================================================================
   KUROSF v44.0.25 — global internal-page/post zoom-out containment
   ----------------------------------------------------------------------
   Goal: every non-home Page/Post stays inside the same centered 1920px
   site shell as the homepage, including extreme browser zoom-out. No
   internal article, cover, wide block, media, grid, or native post may
   derive a breakout width from the browser viewport.
   ====================================================================== */
:root{--kurosf-shell-max:1920px}

/* Keep the shell itself deterministic at very large CSS viewports created
   by browser zoom-out. The homepage already follows this model. */
.site-app{
  inline-size:min(100%,var(--kurosf-shell-max))!important;
  max-inline-size:var(--kurosf-shell-max)!important;
  min-inline-size:0!important;
  margin-inline:auto!important;
  box-sizing:border-box!important;
}

/* Internal pages/posts: every layout stage must be allowed to shrink and
   must never become wider than the main-column track. */
body:not(.home) :is(.site-main,.site-content,.page-layout,.kurosf-native-virtual-page,.kurosf-native-page,.kurosf-native-post,.cms-page-body,.kurosf-research-article,.entry-content){
  min-inline-size:0!important;
  max-inline-size:100%;
  box-sizing:border-box;
}
body:not(.home) .site-main,
body:not(.home) .site-content{
  inline-size:100%!important;
  max-inline-size:100%!important;
}
body:not(.home) .page-layout{
  inline-size:100%!important;
  max-inline-size:100%!important;
  box-sizing:border-box!important;
}

/* Header/utility elements inside the main column wrap rather than collide. */
body:not(.home) .utility-bar,
body:not(.home) .brand-strip{
  min-inline-size:0!important;
  max-inline-size:100%!important;
  box-sizing:border-box!important;
}
body:not(.home) .utility-bar{flex-wrap:wrap!important}
body:not(.home) .site-search{inline-size:min(320px,100%)!important;max-inline-size:100%!important;min-inline-size:0!important}
body:not(.home) .brand-strip>div{min-inline-size:0!important;max-inline-size:100%!important}
body:not(.home) :is(.brand-title,.brand-quote){max-inline-size:100%!important;overflow-wrap:anywhere!important;word-break:normal!important}

/* Gutenberg/native content safety. Full/wide blocks are bounded by their
   real content container instead of browser viewport width. */
body:not(.home) .site-content :where(.wp-block-cover,.wp-block-group,.wp-block-columns,.wp-block-column,.wp-block-image,.wp-block-media-text,.wp-block-gallery,.wp-block-table){
  min-inline-size:0;
  max-inline-size:100%;
  box-sizing:border-box;
}
body:not(.home) .site-content :where(img,video,canvas,svg,iframe,embed,object){
  max-inline-size:100%!important;
  box-sizing:border-box;
}
body:not(.home) .site-content :where(img,video){height:auto}
body:not(.home) .site-content :where(p,li,h1,h2,h3,h4,h5,h6,a,figcaption,blockquote,pre,code){
  overflow-wrap:anywhere;
}
body:not(.home) .site-content .wp-block-table{overflow-x:auto;overscroll-behavior-inline:contain}
body:not(.home) .site-content .wp-block-table table{max-inline-size:100%}
body:not(.home) .site-content pre{max-inline-size:100%;overflow-x:auto;white-space:pre-wrap}

/* Generic top-level Gutenberg alignment: prevent any legacy alignfull rule
   from escaping the main column. Food & Water keeps its dedicated rules. */
body:not(.home):not(.page-id-599):not(.page-id-743) .entry-content > .alignfull{
  inline-size:100%!important;
  width:100%!important;
  max-inline-size:100%!important;
  max-width:100%!important;
  margin-inline:0!important;
  margin-left:0!important;
  margin-right:0!important;
  transform:none!important;
  box-sizing:border-box!important;
}

/* Research Article: replace the old 100vw calculation with a purely
   container-relative expansion. With the default 800/1200 values the
   article body may grow by at most 400px, but never because the browser
   viewport became enormous at 50%, 33% or 25% zoom. */
.research-article-layout{
  inline-size:min(100%,var(--kurosf-article-wide-width))!important;
  max-inline-size:var(--kurosf-article-wide-width)!important;
  margin-inline:auto!important;
  box-sizing:border-box!important;
}
.research-article-layout .entry-content > .alignwide{
  inline-size:min(var(--kurosf-article-wide-width),calc(100% + var(--kurosf-article-wide-width) - var(--kurosf-article-content-width)))!important;
  width:min(var(--kurosf-article-wide-width),calc(100% + var(--kurosf-article-wide-width) - var(--kurosf-article-content-width)))!important;
  max-inline-size:var(--kurosf-article-wide-width)!important;
  max-width:var(--kurosf-article-wide-width)!important;
  position:relative!important;
  left:50%!important;
  right:auto!important;
  margin-inline:0!important;
  margin-left:0!important;
  margin-right:0!important;
  transform:translateX(-50%)!important;
  box-sizing:border-box!important;
}
body.kurosf-lang-fa .research-article-layout .entry-content > .alignwide{
  left:50%!important;
  right:auto!important;
  transform:translateX(-50%)!important;
}
.research-article-layout .entry-content > .alignfull{
  inline-size:100%!important;
  width:100%!important;
  max-inline-size:100%!important;
  max-width:100%!important;
  margin-inline:0!important;
  transform:none!important;
}

/* Native post renderer from KUROSF Native Content Manager. */
.kurosf-native-post{
  inline-size:min(1140px,calc(100% - clamp(20px,3vw,40px)))!important;
  max-inline-size:1140px!important;
  min-inline-size:0!important;
  margin-inline:auto!important;
  font-size:20px!important;
  line-height:1.72!important;
  box-sizing:border-box!important;
}
.kurosf-native-post > *{max-inline-size:100%;min-inline-size:0;box-sizing:border-box}
body.kurosf-title-dir-rtl .brand-strip-internal .brand-title,
.brand-strip-internal .brand-title[dir="rtl"]{
  direction:rtl!important;
  text-align:right!important;
  unicode-bidi:plaintext!important;
  font-family:var(--font-page-heading-fa,Calibri,"Carlito","Vazirmatn",Tahoma,sans-serif)!important;
}
body.kurosf-title-dir-ltr .brand-strip-internal .brand-title,
.brand-strip-internal .brand-title[dir="ltr"]{
  direction:ltr!important;
  text-align:left!important;
  unicode-bidi:plaintext!important;
}
body.kurosf-post-dir-rtl .kurosf-native-post{
  direction:rtl!important;
  text-align:right!important;
  font-family:var(--font-page-fa,Calibri,"Carlito","Vazirmatn",Tahoma,sans-serif)!important;
}
body.kurosf-post-dir-ltr .kurosf-native-post{
  direction:ltr!important;
  text-align:left!important;
}
body.kurosf-post-dir-rtl .kurosf-native-post :where(p,li):not(.has-text-align-left):not(.has-text-align-center):not(.has-text-align-right):not(.has-text-align-justify):not([style*="text-align"]){
  direction:rtl!important;
  text-align:right!important;
}
body.kurosf-post-dir-ltr .kurosf-native-post :where(p,li):not(.has-text-align-left):not(.has-text-align-center):not(.has-text-align-right):not(.has-text-align-justify):not([style*="text-align"]){
  direction:ltr!important;
  text-align:left!important;
}
@media (max-width:980px){
  .kurosf-native-post{
    inline-size:calc(100% - clamp(20px,3vw,30px))!important;
    max-inline-size:none!important;
  }
}

/* Existing live-indicator pages used hard minimum widths (~1008px). Keep
   four columns when space permits, but reflow automatically when it does not. */
.live-data-widget .indicator-grid,
.live-data-mode-compact .indicator-grid,
.live-data-mode-table .indicator-grid{
  min-inline-size:0!important;
  min-width:0!important;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr))!important;
}
.live-data-widget .indicator-card,
.live-data-mode-compact .indicator-card,
.live-data-mode-table .indicator-card{min-inline-size:0!important;min-width:0!important}

/* Weather/disaster/interactive components remain within their host column. */
:is(.kurosf-weather,.kurosf-disaster-dashboard-v36,.live-data-widget,.interactive-tools,.interactive-toolbar){
  max-inline-size:100%!important;
  min-inline-size:0!important;
  box-sizing:border-box!important;
}
.kurosf-weather .weather-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr))!important}
@media (min-width:1200px){
  .kurosf-weather .weather-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
}
.kurosf-weather .interactive-toolbar{grid-template-columns:minmax(0,1fr) auto auto!important}

/* Persian full-screen contact page 570 has inline 100vw sizing. Keep its
   deliberate viewport overlay, but size the card from the overlay itself. */
body.page-id-570 #kurosf-contact-v38 .kc-panel{
  inline-size:min(820px,calc(100% - 56px))!important;
  width:min(820px,calc(100% - 56px))!important;
  max-inline-size:100%!important;
  box-sizing:border-box!important;
}
body.page-id-570 #kurosf-contact-v38 .kc-search{max-inline-size:100%!important}

@media (max-width:980px){
  .research-article-layout .entry-content > .alignwide{
    inline-size:100%!important;
    width:100%!important;
    max-inline-size:100%!important;
    max-width:100%!important;
    position:static!important;
    left:auto!important;
    transform:none!important;
  }
  .kurosf-weather .interactive-toolbar{grid-template-columns:1fr 1fr!important}
  .kurosf-weather .interactive-toolbar label{grid-column:1/-1}
}
@media (max-width:640px){
  body:not(.home) .utility-bar{gap:10px!important}
  body:not(.home) .site-search{inline-size:100%!important}
  .kurosf-weather .interactive-toolbar{grid-template-columns:1fr!important}
  .kurosf-weather .interactive-toolbar label{grid-column:auto}
  body.page-id-570 #kurosf-contact-v38 .kc-panel{inline-size:100%!important;width:100%!important}
}

/* ======================================================================
   KUROSF v44.0.26 — Food & Water renderer-path reflow correction
   ----------------------------------------------------------------------
   Food & Water is a native WordPress Page and may render its Gutenberg
   blocks directly inside .entry-content. v44.0.24 scoped the strongest
   viewport-breakout neutralizers to .kurosf-native-content, so the legacy
   in-page 100vw + negative-margin rules could still win on the native
   .entry-content path. Apply the same containment to both valid render
   paths, and remove the clipping fallback so overflow is solved at source.
   ====================================================================== */
body.page-id-599 .page-layout,
body.page-id-743 .page-layout{
  overflow-x:visible!important;
}

body.page-id-599 .site-main :is(.kurosf-native-content,.entry-content) :is(.kurosf-cover-header-pattern,.fw-live-panel,.fw-analysis,.fw-section-title,.fw-card-row,.fw-note,.fw-references),
body.page-id-743 .site-main :is(.kurosf-native-content,.entry-content) :is(.kurosf-cover-header-pattern,.fw-live-panel,.fw-analysis,.fw-section-title,.fw-card-row,.fw-note,.fw-references){
  inline-size:100%!important;
  width:100%!important;
  min-inline-size:0!important;
  min-width:0!important;
  max-inline-size:100%!important;
  max-width:100%!important;
  margin-inline:0!important;
  margin-left:0!important;
  margin-right:0!important;
  box-sizing:border-box!important;
  transform:none!important;
}

body.page-id-599 .site-main :is(.kurosf-native-content,.entry-content) .fw-card-row,
body.page-id-743 .site-main :is(.kurosf-native-content,.entry-content) .fw-card-row{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr))!important;
  gap:12px!important;
  padding-inline:0!important;
  align-items:stretch!important;
  min-inline-size:0!important;
  min-width:0!important;
}

body.page-id-599 .site-main :is(.kurosf-native-content,.entry-content) .fw-card-row > .wp-block-column,
body.page-id-743 .site-main :is(.kurosf-native-content,.entry-content) .fw-card-row > .wp-block-column{
  inline-size:auto!important;
  width:auto!important;
  min-inline-size:0!important;
  min-width:0!important;
  max-inline-size:none!important;
  max-width:none!important;
  flex-basis:auto!important;
}

body.page-id-599 .site-main :is(.kurosf-native-content,.entry-content) .fw-card,
body.page-id-743 .site-main :is(.kurosf-native-content,.entry-content) .fw-card{
  inline-size:100%!important;
  width:100%!important;
  min-inline-size:0!important;
  min-width:0!important;
  max-inline-size:100%!important;
  max-width:100%!important;
  overflow-wrap:anywhere;
}

body.page-id-599 .site-main :is(.kurosf-native-content,.entry-content) .fw-card :is(.fw-label,.fw-value,.fw-unit,.fw-source,.fw-method),
body.page-id-743 .site-main :is(.kurosf-native-content,.entry-content) .fw-card :is(.fw-label,.fw-value,.fw-unit,.fw-source,.fw-method){
  min-inline-size:0!important;
  max-inline-size:100%!important;
  overflow-wrap:anywhere;
}

@media (max-width:700px){
  body.page-id-599 .site-main :is(.kurosf-native-content,.entry-content) .fw-card-row,
  body.page-id-743 .site-main :is(.kurosf-native-content,.entry-content) .fw-card-row{
    grid-template-columns:1fr!important;
  }
}

/* Global audit follow-up: keep Research Article alignwide blocks bounded by
   the research layout itself, not by viewport size or a fixed 1200px width
   that can exceed the main column at intermediate widths. Container query
   units make the available ancestor width explicit without 100vw math. */
.research-article-layout{
  container-type:inline-size;
}
.research-article-layout .entry-content > .alignwide{
  inline-size:min(var(--kurosf-article-wide-width),100cqi)!important;
  width:min(var(--kurosf-article-wide-width),100cqi)!important;
  max-inline-size:100cqi!important;
  max-width:100cqi!important;
  position:relative!important;
  left:50%!important;
  right:auto!important;
  margin-inline:0!important;
  margin-left:0!important;
  margin-right:0!important;
  transform:translateX(-50%)!important;
  box-sizing:border-box!important;
}
body.kurosf-lang-fa .research-article-layout .entry-content > .alignwide,
html[data-kurosf-lang="fa"] .research-article-layout .entry-content > .alignwide{
  left:auto!important;
  right:50%!important;
  transform:translateX(50%)!important;
}

/* ===== KUROSF v44.0.27 — typography size normalization only =====
 * Scope lock: font-size only. No layout, color, font-family, spacing, effects,
 * animation, content, menu structure, widgets, or responsive reflow changes.
 */
body.page-id-599 .site-main :is(.kurosf-native-content,.entry-content) .fw-analysis p,
body.page-id-743 .site-main :is(.kurosf-native-content,.entry-content) .fw-analysis p{font-size:16px!important}
body.page-id-599 .site-main :is(.kurosf-native-content,.entry-content) .fw-live-panel .fw-intro,
body.page-id-743 .site-main :is(.kurosf-native-content,.entry-content) .fw-live-panel .fw-intro{font-size:16px!important}
body.page-id-599 .site-main :is(.kurosf-native-content,.entry-content) .fw-card .fw-label,
body.page-id-743 .site-main :is(.kurosf-native-content,.entry-content) .fw-card .fw-label{font-size:16px!important}
body.page-id-599 .site-main :is(.kurosf-native-content,.entry-content) .fw-live-panel h2,
body.page-id-743 .site-main :is(.kurosf-native-content,.entry-content) .fw-live-panel h2{font-size:25px!important}

/* Persian homepage guide removal — frontend Page 194 only. */
body.page-id-194 .entry-content .home-layout{
  display:block!important;
  grid-template-columns:none!important;
}
body.page-id-194 .entry-content .home-guide{
  display:none!important;
}
body.page-id-194 .entry-content .home-body{
  grid-column:auto!important;
  grid-row:auto!important;
  width:100%!important;
}

/* ===== KUROSF v50 — requested click-only homepage accordion + mobile scale =====
 * Scope: homepage accordion behavior and frontend phone sizing only.
 * The first paragraph remains visible; only the remaining details expand/collapse.
 * Desktop/tablet design outside the accordion, CMS content, borders, colors and data remain unchanged.
 */
@media (max-width:700px){
  /* Mobile navigation and site chrome. */
  .sidebar-logo-link{height:96px!important;padding:8px!important}
  .sidebar-logo{width:88px!important;max-height:80px!important}
  .mobile-menu-toggle{width:calc(100% - 20px)!important;margin:10px!important;padding:9px 10px!important;font-size:13px!important;line-height:1.2!important}
  body.kurosf-lang-en .vertical-menu-list>li>a,
  body.kurosf-lang-fa .vertical-menu-list>li>a,
  html[data-kurosf-lang="en"] .vertical-menu-list>li>a,
  html[data-kurosf-lang="fa"] .vertical-menu-list>li>a{
    min-height:46px!important;
    padding-block:7px!important;
    padding-inline:12px 48px!important;
    font-size:13px!important;
    line-height:1.25!important;
  }
  body.kurosf-lang-en .vertical-menu-list ul.sub-menu a,
  body.kurosf-lang-fa .vertical-menu-list ul.sub-menu a,
  html[data-kurosf-lang="en"] .vertical-menu-list ul.sub-menu a,
  html[data-kurosf-lang="fa"] .vertical-menu-list ul.sub-menu a{
    min-height:40px!important;
    padding-block:7px!important;
    padding-inline:24px 44px!important;
    font-size:12px!important;
    line-height:1.25!important;
  }
  .submenu-toggle{top:7px!important;inset-inline-end:7px!important;width:32px;height:32px;font-size:15px}
  .vertical-menu-list .menu-arrow,
  .vertical-menu-list .menu-depth-0>a>.menu-arrow,
  .vertical-menu-list .menu-depth-1>a>.menu-arrow,
  .vertical-menu-list .menu-depth-2>a>.menu-arrow,
  .vertical-menu-list .menu-depth-3>a>.menu-arrow{
    flex-basis:12px!important;
    inline-size:12px!important;
    font-size:16px!important;
  }

  .utility-bar{min-height:48px!important;padding:6px 10px!important;gap:6px!important}
  .site-search input[type=search]{height:34px!important;font-size:13px!important;padding-block:0!important}
  .site-search button{top:3px!important;width:28px!important;height:28px!important;font-size:18px!important}
  .language-switcher{padding:2px}
  .language-switcher a{padding:5px 8px!important;font-size:12px!important}

  .brand-strip{min-height:64px!important;padding:8px 10px!important;gap:9px!important}
  .brand-icon{width:36px!important;height:36px}
  .brand-strip-internal{min-height:58px!important;padding:7px 10px!important;gap:9px!important}
  .brand-strip-internal .brand-icon{width:32px;height:32px}
  .brand-title,
  .brand-strip-internal .brand-title{font-size:18px!important;line-height:1.15!important}
  .brand-quote{font-size:12.5px!important;line-height:1.3!important}
  .hero{height:clamp(150px,42vw,190px)!important}
  .hero-caption{font-size:14px!important;line-height:1.25!important}
  .hero-dots{bottom:9px!important;gap:6px!important;padding:5px 7px!important}
  .hero-dot{width:10px!important;height:10px!important;border-radius:2px!important}

  /* Homepage: proportional text and controls; CMS inline paragraph sizes inherit the mobile scale. */
  .home-body{padding:16px 10px 32px!important}
  .profile-heading{font-size:24px!important}
  .profile-row{gap:14px!important;margin-bottom:20px!important}
  .profile-logo{width:92px!important;max-height:110px!important}
  .profile-statement{font-size:18px!important;line-height:1.15!important}
  .topic-card{margin-bottom:12px!important}
  .topic-card-header{padding:11px 12px!important;gap:10px!important}
  .topic-card h2{font-size:17px!important;line-height:1.25!important}
  .topic-card-summary{padding:0 12px 11px!important;font-size:14px!important;line-height:1.6!important}
  .topic-details{padding:0 12px 14px!important;font-size:14px!important;line-height:1.6!important}
  .home-body .topic-card :where(p,li){font-size:inherit!important;line-height:inherit!important}
  .home-body .topic-card :where(p,li) .kurosf-font-size:not([style*="font-size" i]){font-size:inherit!important}
  .topic-toggle{width:26px!important;height:26px!important;min-width:26px!important;flex:0 0 26px!important}
  .topic-toggle::before{width:8px!important;height:10px!important}

  /* General Page/Post typography and spacing on phones. */
  .page-layout{padding:18px 12px 36px!important}
  .entry-content{font-size:20px!important;line-height:1.65!important}
  .entry-content h2{font-size:21px;line-height:1.3!important}
  .entry-content h3{font-size:18px!important;line-height:1.35!important}
  .entry-content h4{font-size:16px!important;line-height:1.4!important}
  body:not(.home) .page-header{margin-bottom:20px!important;padding-bottom:10px!important}
  body:not(.home) .page-header h1{font-size:clamp(24px,6.5vw,28px)!important;line-height:1.2!important}

  /* Search/archive cards use the same phone scale. */
  .search-results-page{padding:20px 12px 40px!important}
  .search-results-header h1{font-size:24px!important}
  .search-result-item{padding:14px 15px!important}
  .search-result-item h2{font-size:18px!important;line-height:1.3!important}
  .search-result-item p{font-size:14px!important;line-height:1.6!important}
  .kurosf-education-archive .kurosf-education-card-date,
  .kurosf-education-archive .kurosf-education-card-excerpt,
  .kurosf-education-archive .kurosf-education-card-read-more{font-size:13px!important}
  .kurosf-education-archive .kurosf-education-card-title{font-size:17px!important;line-height:1.3!important}

  /* Footer remains structurally identical, only scaled for phones. */
  .footer-shell{width:calc(100% - 24px)!important;padding:17px 0 13px!important}
  .footer-links{gap:9px 16px!important;margin-top:16px!important}
  .footer-name{font-size:16px!important}
  .footer-tagline{font-size:13px!important}
  .footer-links a{font-size:12px!important}
  .footer-note{width:calc(100% - 24px)!important;padding:12px 0 17px!important;font-size:12px!important}
}

/* ===== KUROSF v51 — English homepage accordion collapsed preview only =====
 * Scope: English homepage core/details blocks only.
 * The first CMS content block stays visible. Only later blocks are toggled.
 */
body.home.kurosf-lang-en .site-main details.home-topic-accordion.kurosf-preview-accordion > .kurosf-accordion-extra[hidden],
body.page-id-111.kurosf-lang-en .site-main details.home-topic-accordion.kurosf-preview-accordion > .kurosf-accordion-extra[hidden],
html[data-kurosf-lang="en"] body.home .site-main details.home-topic-accordion.kurosf-preview-accordion > .kurosf-accordion-extra[hidden],
html[data-kurosf-lang="en"] body.page-id-111 .site-main details.home-topic-accordion.kurosf-preview-accordion > .kurosf-accordion-extra[hidden]{
  display:none!important;
}
body.home.kurosf-lang-en .site-main details.home-topic-accordion.kurosf-preview-accordion:not(.is-preview-expanded) > summary::after,
body.page-id-111.kurosf-lang-en .site-main details.home-topic-accordion.kurosf-preview-accordion:not(.is-preview-expanded) > summary::after,
html[data-kurosf-lang="en"] body.home .site-main details.home-topic-accordion.kurosf-preview-accordion:not(.is-preview-expanded) > summary::after,
html[data-kurosf-lang="en"] body.page-id-111 .site-main details.home-topic-accordion.kurosf-preview-accordion:not(.is-preview-expanded) > summary::after{
  top:calc(50% - 5px)!important;
  transform:rotate(45deg)!important;
}
body.home.kurosf-lang-en .site-main details.home-topic-accordion.kurosf-preview-accordion.is-preview-expanded > summary::after,
body.page-id-111.kurosf-lang-en .site-main details.home-topic-accordion.kurosf-preview-accordion.is-preview-expanded > summary::after,
html[data-kurosf-lang="en"] body.home .site-main details.home-topic-accordion.kurosf-preview-accordion.is-preview-expanded > summary::after,
html[data-kurosf-lang="en"] body.page-id-111 .site-main details.home-topic-accordion.kurosf-preview-accordion.is-preview-expanded > summary::after{
  top:calc(50% - 1px)!important;
  transform:rotate(225deg)!important;
}

/* ===== KUROSF 2026-08-16 00:05 — Page/Post body-text typography defaults =====
 * Scope: normal body text inside Page/Post .entry-content only.
 * Headings and interface/component typography remain owned by their existing rules.
 */
:where(body.page,body.single-post) :where(.entry-content) :where(
  p:not(.home-layout *, .home-topic-accordion *, .live-data-widget *, .fw-live-panel *, .fw-card *, .fw-section-title, .fw-note, .fw-references *, .cms-page-band *, .wp-block-bibliography-builder-bibliography *),
  li:not(.home-layout *, .home-topic-accordion *, .live-data-widget *, .fw-live-panel *, .fw-card *, .fw-references *, .wp-block-bibliography-builder-bibliography *),
  blockquote:not(.home-layout *, .home-topic-accordion *, .live-data-widget *, .fw-live-panel *, .fw-card *, .fw-references *, .wp-block-bibliography-builder-bibliography *)
){
  font-family:Calibri,"Carlito","Segoe UI",Arial,sans-serif;
  font-size:20px;
  text-align:justify;
  text-align-last:auto;
}

/* Keep WordPress/CMS text-alignment choices authoritative on the frontend,
 * including inside RTL wrappers whose local CSS otherwise forces text-align:right.
 */
body.page .entry-content .has-text-align-left,
body.single-post .entry-content .has-text-align-left{text-align:left;text-align-last:auto}
body.page .entry-content .has-text-align-center,
body.single-post .entry-content .has-text-align-center{text-align:center;text-align-last:auto}
body.page .entry-content .has-text-align-right,
body.single-post .entry-content .has-text-align-right{text-align:right;text-align-last:auto}
body.page .entry-content .has-text-align-justify,
body.single-post .entry-content .has-text-align-justify{text-align:justify;text-align-last:auto}

/* Existing Food & Water prose wrapper: ordinary analysis paragraphs are body text.
 * Its data cards, labels, notes and references remain on their existing typography.
 */
body.page .entry-content .fw-analysis > p:not(.has-text-align-left):not(.has-text-align-center):not(.has-text-align-right),
body.single-post .entry-content .fw-analysis > p:not(.has-text-align-left):not(.has-text-align-center):not(.has-text-align-right){
  font-family:Calibri,"Carlito","Segoe UI",Arial,sans-serif;
  font-size:20px;
  text-align:justify;
  text-align-last:auto;
}


/* Responsive Page/Post typography repair.
 * Spans without an explicit inline font-size inherit the normalized body text.
 * User-selected inline sizes remain authoritative. Component/card typography
 * remains owned by its existing rules.
 */
:where(body.page,body.single-post) :where(.entry-content) :where(
  p:not(.home-layout *, .home-topic-accordion *, .live-data-widget *, .fw-live-panel *, .fw-card *, .fw-section-title, .fw-note, .fw-references *, .cms-page-band *, .wp-block-bibliography-builder-bibliography *),
  li:not(.home-layout *, .home-topic-accordion *, .live-data-widget *, .fw-live-panel *, .fw-card *, .fw-references *, .wp-block-bibliography-builder-bibliography *),
  blockquote:not(.home-layout *, .home-topic-accordion *, .live-data-widget *, .fw-live-panel *, .fw-card *, .fw-references *, .wp-block-bibliography-builder-bibliography *)
) .kurosf-font-size:not([style*="font-size" i]){
  font-size:inherit!important;
}

:where(body.page,body.single-post) .entry-content > h2.wp-block-heading{
  font-size:clamp(20px,calc(16.5px + .9vw),30px)!important;
  line-height:1.3!important;
}
:where(body.page,body.single-post) .entry-content > h3.wp-block-heading{
  font-size:clamp(18px,calc(15.3px + .65vw),25px)!important;
  line-height:1.35!important;
}
:where(body.page,body.single-post) .entry-content > h4.wp-block-heading{
  font-size:clamp(17px,calc(14.8px + .45vw),21px)!important;
  line-height:1.4!important;
}
:where(body.page,body.single-post) .entry-content .kurosf-native-block-heading{
  font-size:clamp(20px,calc(16.5px + .65vw),25px)!important;
}

/* KUROSF v51 — Page 194 only: collapse the removed homepage-guide grid track.
 * The guide stays stored in CMS; only the Persian homepage frontend layout fills its space.
 */
html body.page-id-194 article#post-194 > .entry-content > .home-layout{
  display:block!important;
  grid-template-columns:none!important;
}
html body.page-id-194 article#post-194 > .entry-content > .home-layout > .home-guide{
  display:none!important;
}
html body.page-id-194 article#post-194 > .entry-content > .home-layout > .home-body{
  grid-column:auto!important;
  grid-row:auto!important;
  width:100%!important;
}

/* ===== KUROSF 2026-08-16 17:02 — Food & Water article gutter correction =====
 * Scope: Page 599 (English Food & Water) and Page 743 (Persian Food & Water),
 * article panel only. Gutenberg's 800px constrained-content width created
 * excessive white space inside the much wider .fw-analysis card. For widths
 * above 800px, this makes each side gap exactly half of the previous gap.
 * Mobile/narrow widths remain 100%, and no stored Page content is changed.
 */
body.page-id-599 .fw-analysis.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)),
body.page-id-743 .fw-analysis.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)){
  max-width:min(100%,calc(50% + 424px))!important;
}


/* ======================================================================
   KUROSF Persian Weather frontend localization / gutter correction
   Scope: Page 198 only. English Weather, CMS structure and Weather card UI stay unchanged.
   ====================================================================== */
body.page-id-198 .live-data-widget,
body.page-id-198 .kurosf-native-block-weather{
  inline-size:calc(100% - clamp(96px,8.5vw,128px))!important;
  max-inline-size:calc(100% - clamp(96px,8.5vw,128px))!important;
  margin-inline:auto!important;
  box-sizing:border-box!important;
}
body.page-id-198 .live-data-widget{
  direction:rtl!important;
  text-align:right!important;
  font-family:var(--font-page-fa)!important;
}
body.page-id-198 .live-data-widget :where(.live-data-header,.live-data-copy,.live-data-kicker,.live-data-subtitle,.indicator-card,.indicator-card h3,.indicator-note,.indicator-source-line,.indicator-confidence,.indicator-method,.indicator-disclaimer,.live-data-source-note){
  direction:rtl!important;
  text-align:right!important;
}
body.page-id-198 .live-data-widget .indicator-reading,
body.page-id-198 .live-data-widget .indicator-value{
  direction:ltr!important;
}
body.page-id-198 .kurosf-native-block-weather{
  direction:rtl!important;
  text-align:right!important;
  font-family:var(--font-page-fa)!important;
}
body.page-id-198 .kurosf-native-block-weather > .weather-section-meta{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:24px!important;
  flex-wrap:wrap!important;
  direction:rtl!important;
  text-align:right!important;
  font-family:var(--font-page-fa)!important;
}
body.page-id-198 .kurosf-native-block-weather > .kurosf-native-block-heading,
body.page-id-198 .kurosf-native-block-weather > .kurosf-native-html,
body.page-id-198 .kurosf-native-block-weather > .kurosf-native-html :where(p,li),
body.page-id-198 .kurosf-native-block-weather .weather-search-heading,
body.page-id-198 .kurosf-native-block-weather .interactive-toolbar,
body.page-id-198 .kurosf-native-block-weather .interactive-status,
body.page-id-198 .kurosf-native-block-weather .data-source{
  direction:rtl!important;
  text-align:right;
  font-family:var(--font-page-fa)!important;
}
body.page-id-198 .kurosf-native-block-weather > .kurosf-native-html :where(p,li){
  text-align-last:right;
}
body.page-id-198 .kurosf-native-block-weather .interactive-toolbar{
  direction:rtl!important;
}
body.page-id-198 .kurosf-native-block-weather .interactive-toolbar input[type=search]{
  direction:rtl!important;
  text-align:right!important;
  font-family:var(--font-page-fa)!important;
}
/* Approved Weather cards remain exactly LTR and keep their existing UI. */
body.page-id-198 .kurosf-native-block-weather .weather-grid,
body.page-id-198 .kurosf-native-block-weather .weather-card,
body.page-id-198 .kurosf-native-block-weather .weather-card *{
  direction:ltr!important;
  text-align:left;
}
@media (max-width:640px){
  body.page-id-198 .live-data-widget,
  body.page-id-198 .kurosf-native-block-weather{
    inline-size:calc(100% - 24px)!important;
    max-inline-size:calc(100% - 24px)!important;
  }
}


/* 2026-08-16 Weather CMS text-font bridge: only Live Indicators text. */
.live-data-widget :where(.live-data-header,.live-data-copy,.live-data-kicker,.live-data-copy h2,.live-data-subtitle,.live-data-updated,.indicator-card,.indicator-card h3,.indicator-unit,.indicator-note,.indicator-source-line,.indicator-confidence,.indicator-method,.indicator-disclaimer,.live-data-source-note){
  font-family:var(--kurosf-live-font,Calibri,"Carlito",Arial,sans-serif)!important;
}
body.page-id-198 .live-data-widget :where(.live-data-header,.live-data-copy,.live-data-kicker,.live-data-copy h2,.live-data-subtitle,.live-data-updated,.indicator-card,.indicator-card h3,.indicator-unit,.indicator-note,.indicator-source-line,.indicator-confidence,.indicator-method,.indicator-disclaimer,.live-data-source-note){
  font-family:var(--kurosf-live-font,Calibri,"Carlito","Vazirmatn",Tahoma,Arial,sans-serif)!important;
}


/* ===== KUROSF 2026-08-16 23:40 — Persian Page/Post title defaults =====
 * Scope: titles/headings only on Persian singular Pages and Posts.
 * Existing explicit Gutenberg alignment and explicit Title Direction overrides
 * remain authoritative. English/LTR content is unchanged.
 */
body:is(.page,.single-post).kurosf-lang-fa:not(.kurosf-title-dir-ltr) .brand-strip-internal{
  direction:rtl;
}
body:is(.page,.single-post).kurosf-lang-fa:not(.kurosf-title-dir-ltr) .brand-strip-internal > div{
  flex:1 1 auto;
  min-inline-size:0;
}
body:is(.page,.single-post).kurosf-lang-fa:not(.kurosf-title-dir-ltr) .brand-strip-internal .brand-title,
body:is(.page,.single-post).kurosf-title-dir-rtl .brand-strip-internal .brand-title{
  direction:rtl!important;
  text-align:right!important;
  unicode-bidi:plaintext!important;
}
body:is(.page,.single-post).kurosf-lang-fa:not(.kurosf-title-dir-ltr) .page-header h1,
body:is(.page,.single-post).kurosf-lang-fa:not(.kurosf-post-dir-ltr) .entry-content :is(h1,h2,h3,h4,h5,h6,.wp-block-heading):not(.has-text-align-left):not(.has-text-align-center):not(.has-text-align-justify):not([style*="text-align" i]),
body:is(.page,.single-post).kurosf-title-dir-rtl .page-header h1,
body:is(.page,.single-post).kurosf-title-dir-rtl .entry-content :is(h1,h2,h3,h4,h5,h6,.wp-block-heading):not(.has-text-align-left):not(.has-text-align-center):not(.has-text-align-justify):not([style*="text-align" i]){
  direction:rtl!important;
  text-align:right!important;
  text-align-last:right;
  unicode-bidi:plaintext;
}

/* KUROSF 2026-08-18 — scoped utility-bar refinement + search-result match highlighting. */
@media (min-width:701px){
  .utility-bar{min-height:52px;padding:5px 28px;gap:16px}
  .site-search input[type=search]{height:36px;padding-inline-start:16px;padding-inline-end:42px;font-size:15px}
  .site-search button{top:2px;width:32px;height:32px;font-size:21px}
  .language-switcher{padding:2px;border-radius:22px}
  .language-switcher a{padding:6px 12px;border-radius:18px}
}
.search-result-match-line{overflow-wrap:anywhere;word-break:normal}
.search-query-hit{
  background:#ffd84d;
  color:inherit;
  padding:0 .05em;
}


/* KUROSF 2026-08-18 — utility bar parity: same thin height in EN/FA and every viewport/context. */
body .utility-bar.utility-bar{
  box-sizing:border-box;
  height:52px!important;
  min-height:52px!important;
  padding:5px 16px!important;
  gap:12px!important;
  flex-wrap:nowrap!important;
}
body .utility-bar .site-search{
  flex:1 1 0!important;
  inline-size:auto!important;
  width:auto!important;
  max-inline-size:320px!important;
  max-width:320px!important;
  min-inline-size:0!important;
  min-width:0!important;
  margin-block:0!important;
  order:initial!important;
}
body .utility-bar .site-search input[type=search]{
  height:36px!important;
  padding-block:0!important;
  padding-inline-start:16px!important;
  padding-inline-end:42px!important;
  font-size:14px!important;
}
body .utility-bar .site-search button{
  top:2px!important;
  width:32px!important;
  height:32px!important;
  font-size:21px!important;
}
body .utility-bar .language-switcher{
  flex:0 0 auto!important;
  margin-block:0!important;
  padding:2px!important;
  border-radius:22px!important;
}
body .utility-bar .language-switcher a{
  padding:6px 12px!important;
  border-radius:18px!important;
  font-size:14px!important;
}


/* ======================================================================
   KUROSF FINAL — CANONICAL STRUCTURAL LAYOUT
   ----------------------------------------------------------------------
   Governing rule: preserve the installed 2026-08-18 menu/home/footer
   behavior and content. This block changes geometry only where required:
   1) existing classic menu output is relocated from left sidebar to header;
   2) homepage-only Latest / Most Read is added beside existing home content;
   3) homepage-only QR uses existing Media Library attachment and stays fixed
      at the physical right edge of the footer at every viewport width.

   IMPORTANT: this section changes structure only. Interaction states are
   consolidated once in the canonical block below. CMS content, homepage
   text, accordion controls, Page/Post data and plugins remain untouched.
   ====================================================================== */

@media (min-width:981px){
  /* Full-width shell: only the navigation location changes. */
  body .site-app,
  html[data-kurosf-lang="en"] .site-app,
  html[data-kurosf-lang="fa"] .site-app,
  body.kurosf-lang-en .site-app,
  body.kurosf-lang-fa .site-app{
    display:block!important;
    grid-template-columns:none!important;
    grid-template-areas:none!important;
    direction:ltr!important;
  }

  .kurosf-reference-topbar{
    display:block!important;
    height:34px!important;
    min-height:34px!important;
    background:#004b4f!important;
    color:#fff!important;
    font-family:Calibri,"Carlito","Segoe UI",Arial,sans-serif!important;
    font-size:13px!important;
    line-height:1!important;
  }
  .kurosf-reference-topbar-inner{
    width:min(100%,1492px)!important;
    height:34px!important;
    margin:0 auto!important;
    padding:0 22px!important;
    box-sizing:border-box!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:20px!important;
  }
  .kurosf-reference-context,.kurosf-reference-tools{display:flex!important;align-items:center!important}
  .kurosf-reference-context{gap:8px!important;white-space:nowrap!important}
  .kurosf-reference-context img{width:20px!important;height:20px!important;object-fit:contain!important}
  .kurosf-reference-tools{gap:18px!important;white-space:nowrap!important}
  .kurosf-reference-tools time{color:#fff!important}
  .kurosf-reference-topbar .site-search{width:28px!important;min-width:28px!important;height:28px!important;display:flex!important;align-items:center!important;justify-content:center!important;position:relative!important;order:0!important}
  .kurosf-reference-topbar .site-search label{position:absolute!important;right:28px!important;top:50%!important;transform:translateY(-50%)!important;pointer-events:none!important}
  .kurosf-reference-topbar .site-search input[type=search]{width:0!important;min-width:0!important;height:28px!important;padding:0!important;opacity:0!important;border:0!important;transition:width .18s ease,opacity .18s ease!important}
  .kurosf-reference-topbar .site-search.is-search-open label,.kurosf-reference-topbar .site-search:focus-within label{pointer-events:auto!important}
  .kurosf-reference-topbar .site-search.is-search-open input[type=search],.kurosf-reference-topbar .site-search:focus-within input[type=search]{width:180px!important;padding:0 10px!important;opacity:1!important;background:#fff!important;color:#111!important}
  .kurosf-reference-topbar .site-search button{position:relative!important;inset:auto!important;top:auto!important;right:auto!important;left:auto!important;display:flex!important;align-items:center!important;justify-content:center!important;width:28px!important;height:28px!important;min-width:28px!important;padding:0!important;border:0!important;background:transparent!important;color:#fff!important;box-shadow:none!important;line-height:1!important}
  .kurosf-reference-topbar .language-switcher{display:flex!important;border:1px solid rgba(255,255,255,.85)!important;border-radius:13px!important;overflow:hidden!important;background:#fff!important}
  .kurosf-reference-topbar .language-switcher a{min-width:64px!important;height:28px!important;padding:0 12px!important;display:flex!important;align-items:center!important;justify-content:center!important;color:#003f45!important;background:#fff!important;text-decoration:none!important;border-radius:11px!important;font-weight:600!important}
  .kurosf-reference-topbar .language-switcher a.active{background:#004b4f!important;color:#fff!important}

  /* Existing sidebar markup becomes a horizontal header. No menu state/color rules here. */
  body .site-navigation-shell,
  html[data-kurosf-lang="fa"] .site-navigation-shell,
  body.kurosf-lang-fa .site-navigation-shell{
    position:relative!important;
    top:auto!important;
    inset:auto!important;
    width:100%!important;
    height:80px!important;
    min-height:80px!important;
    display:flex!important;
    align-items:center!important;
    overflow:visible!important;
    background:#fff!important;
    border:0!important;
    border-bottom:1px solid #e5e8e9!important;
    z-index:5000!important;
    direction:ltr!important;
  }
  .site-navigation-shell .sidebar-logo-link{
    flex:0 0 clamp(206px,21vw,290px)!important;
    width:clamp(206px,21vw,290px)!important;
    height:80px!important;
    min-height:80px!important;
    padding:4px 12px!important;
    box-sizing:border-box!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:8px!important;
    border:0!important;
    background:#fff!important;
    color:#111!important;
    text-decoration:none!important;
    overflow:hidden!important;
  }
  .site-navigation-shell .mobile-menu-toggle{display:none!important}
  .site-navigation-shell .top-navigation{
    display:block!important;
    flex:1 1 auto!important;
    min-width:0!important;
    height:80px!important;
    overflow:visible!important;
  }
  .site-navigation-shell .vertical-menu-list{
    display:flex!important;
    align-items:stretch!important;
    justify-content:flex-start!important;
    width:100%!important;
    height:80px!important;
    margin:0!important;
    padding:0 20px 0 0!important;
    overflow:visible!important;
    direction:ltr!important;
  }
  body.kurosf-lang-fa .site-navigation-shell .vertical-menu-list,
  html[data-kurosf-lang="fa"] .site-navigation-shell .vertical-menu-list{
    direction:rtl!important;
    padding:0 0 0 20px!important;
  }
  .site-navigation-shell .vertical-menu-list>li{
    flex:1 1 0!important;
    min-width:0!important;
    height:80px!important;
    min-height:80px!important;
    display:flex!important;
    align-items:center!important;
    border-bottom:0!important;
    overflow:visible!important;
  }
  .site-navigation-shell .vertical-menu-list>li>a{
    width:100%!important;
    min-height:48px!important;
    height:48px!important;
    padding-inline:16px!important;
    white-space:nowrap!important;
    justify-content:center!important;
    gap:8px!important;
  }
  .site-navigation-shell .vertical-menu-list>.menu-item-has-children>a>.menu-arrow{
    transform:rotate(90deg)!important;
  }
  body.kurosf-lang-fa .site-navigation-shell .vertical-menu-list>.menu-item-has-children>a>.menu-arrow,
  html[data-kurosf-lang="fa"] .site-navigation-shell .vertical-menu-list>.menu-item-has-children>a>.menu-arrow{
    transform:rotate(-90deg)!important;
  }

  /* Geometry only: first submenu below; deeper levels retain existing side-flyout behavior. */
  .site-navigation-shell .vertical-menu-list>li>ul.sub-menu{
    inset-inline-start:0!important;
    inset-inline-end:auto!important;
    top:100%!important;
  }
  body.kurosf-lang-fa .site-navigation-shell .vertical-menu-list>li>ul.sub-menu,
  html[data-kurosf-lang="fa"] .site-navigation-shell .vertical-menu-list>li>ul.sub-menu{
    inset-inline-start:auto!important;
    inset-inline-end:0!important;
  }
  .site-navigation-shell .vertical-menu-list>li:last-child>ul.sub-menu{
    inset-inline-start:auto!important;
    inset-inline-end:0!important;
  }
  body.kurosf-lang-fa .site-navigation-shell .vertical-menu-list>li:last-child>ul.sub-menu,
  html[data-kurosf-lang="fa"] .site-navigation-shell .vertical-menu-list>li:last-child>ul.sub-menu{
    inset-inline-start:0!important;
    inset-inline-end:auto!important;
  }
  .site-navigation-shell .vertical-menu-list ul.sub-menu ul.sub-menu{
    top:0!important;
  }

  /* The old homepage utility controls are represented in the top strip on desktop only. */
  body.home .utility-bar-home-original,
  body.page-id-194 .utility-bar-home-original{display:none!important}

  /* Homepage content itself is untouched; only allocate the requested feed column. */
  body.home .home-layout,
  body.page-id-194 .home-layout{
    display:grid!important;
    grid-template-columns:minmax(240px,270px) minmax(0,1fr)!important;
    align-items:stretch!important;
    direction:ltr!important;
  }
  body.home .home-body,
  body.page-id-194 .home-body{grid-column:2!important;grid-row:1!important;min-width:0!important}
  body.kurosf-lang-fa.home .home-body,
  body.kurosf-lang-fa.page-id-194 .home-body{direction:rtl!important;text-align:right!important}
  .home-feed-panel{
    display:block!important;
    grid-column:1!important;
    grid-row:1!important;
    min-width:0!important;
    position:relative!important;
    background:#f4f3f1!important;
    border-right:1px solid #e0e0de!important;
    direction:ltr!important;
    text-align:left!important;
  }
  body.kurosf-lang-fa .home-feed-panel{direction:rtl!important;text-align:right!important;border-right:1px solid #e0e0de!important;border-left:0!important}
  .home-feed-tablist{
    position:relative!important;
    z-index:3!important;
    margin-top:0!important;
    height:58px!important;
    min-height:58px!important;
    width:min(100%,372px)!important;
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    background:#0b6f75!important;
  }
  .home-feed-tab{
    position:relative!important;
    height:58px!important;
    padding:0 18px!important;
    border:0!important;
    border-radius:0!important;
    background:#004147!important;
    color:#fff!important;
    font-family:Calibri,"Carlito","Segoe UI",Arial,sans-serif!important;
    font-size:16px!important;
    font-weight:700!important;
    cursor:pointer!important;
  }
  body.kurosf-lang-fa .home-feed-tab{font-family:Calibri,"Vazirmatn",Tahoma,Arial,sans-serif!important}
  .home-feed-tab.is-active{background:#fff!important;color:#111!important;border-radius:7px 7px 0 0!important}
  .home-feed-tab.is-active::after{content:"";position:absolute;left:24%;right:24%;bottom:7px;height:2px;background:#08758b}
  .home-feed-list{padding:22px 30px 24px!important;background:#f4f3f1!important}
  .home-feed-list[hidden]{display:none!important}
  .home-feed-item{padding:18px 0!important;border-bottom:1px solid #d5d5d1!important}
  .home-feed-item:last-child{border-bottom:0!important}
  .home-feed-category{margin:0 0 7px!important;color:#08758b!important;font-size:12px!important;font-weight:800!important;text-transform:uppercase!important}
  body.kurosf-lang-fa .home-feed-category{text-transform:none!important}
  .home-feed-item h3{margin:0 0 7px!important;font-family:Georgia,"Times New Roman",serif!important;font-size:20px!important;line-height:1.25!important}
  body.kurosf-lang-fa .home-feed-item h3{font-family:Calibri,"Vazirmatn",Tahoma,Arial,sans-serif!important}
  .home-feed-item h3 a{color:#111!important;text-decoration:none!important}
  .home-feed-meta{margin:0!important;color:#68737a!important;font-size:13px!important}
}

/* QR copy geometry is shared by the single canonical positioning block below. */
body.home .site-footer .footer-home-qr-copy,
body.page-id-111 .site-footer .footer-home-qr-copy,
body.page-id-194 .site-footer .footer-home-qr-copy,
body.kurosf-virtual-home .site-footer .footer-home-qr-copy{
  width:82px!important;
  min-width:82px!important;
  margin:0!important;
  color:#fff!important;
  font-family:Calibri,"Carlito","Segoe UI",Arial,sans-serif!important;
  font-size:8px!important;
  line-height:1.28!important;
}
body.home .site-footer .footer-home-qr-copy strong,
body.page-id-111 .site-footer .footer-home-qr-copy strong,
body.page-id-194 .site-footer .footer-home-qr-copy strong,
body.kurosf-virtual-home .site-footer .footer-home-qr-copy strong{display:block!important;margin:0 0 12px!important;font-size:8px!important;font-weight:500!important}
body.home .site-footer .footer-home-qr-copy span,
body.page-id-111 .site-footer .footer-home-qr-copy span,
body.page-id-194 .site-footer .footer-home-qr-copy span,
body.kurosf-virtual-home .site-footer .footer-home-qr-copy span{display:block!important;white-space:nowrap!important}
body.home .site-footer .footer-home-qr-link,
body.page-id-111 .site-footer .footer-home-qr-link,
body.page-id-194 .site-footer .footer-home-qr-link,
body.kurosf-virtual-home .site-footer .footer-home-qr-link{display:block!important;line-height:0!important;flex:0 0 96px!important}

@media (min-width:981px) and (max-width:1320px){
  .site-navigation-shell .sidebar-logo-link{flex-basis:clamp(206px,21vw,277px)!important;width:clamp(206px,21vw,277px)!important;padding-inline:10px!important;justify-content:flex-start!important}
  .site-navigation-shell .vertical-menu-list{padding-inline:0!important}
  .site-navigation-shell .vertical-menu-list>li>a{padding-inline:clamp(7px,1vw,12px)!important;font-size:clamp(11.5px,1vw,13px)!important;letter-spacing:0!important;gap:4px!important}
}

/* ======================================================================
   KUROSF FINAL — CANONICAL INTERACTION AND RESPONSIVE RULES
   ----------------------------------------------------------------------
   Scope only:
   1) one Search + one Language switcher, always in the top utility bar;
   2) existing menu behavior/colors retained, with the already-requested
      slower directional fill and viewport containment;
   3) Latest / Most Read visible for both EN and FA home routes, with a
      compact physical-left column on desktop/tablet and a safe stacked panel on
      narrow phones;
   4) existing Media Library QR remains pinned to the physical right edge of
      the Homepage footer at every width;
   5) no CMS/Page/Post/Menu-record/Plugin/content text is rewritten here.
   ====================================================================== */

/* One utility control surface only. Higher specificity intentionally defeats
   every older compact utility rule without deleting any CMS/admin feature. */
html body .utility-bar,
html body .utility-bar.utility-bar,
html body .utility-bar-home-original,
html[data-kurosf-lang="fa"] body .utility-bar,
html[data-kurosf-lang="fa"] body .utility-bar-home-original,
body.kurosf-lang-fa .utility-bar,
body.kurosf-lang-fa .utility-bar-home-original{
  display:none!important;
}
html body .kurosf-reference-topbar{display:block!important}

/* One authoritative desktop menu cascade. It replaces the superseded state
   fragments above while retaining each branch's existing --section-color. */
@media (min-width:981px){
  .site-navigation-shell .sidebar-wordmark{transform:translateX(5px)!important;}
  .site-navigation-shell .vertical-menu-list>li>a::before,
  .site-navigation-shell .vertical-menu-list ul.sub-menu>li>a::before,
  body.kurosf-lang-en .site-navigation-shell .vertical-menu-list>li>a::before,
  html[data-kurosf-lang="en"] .site-navigation-shell .vertical-menu-list>li>a::before,
  body.kurosf-lang-en .site-navigation-shell .vertical-menu-list ul.sub-menu>li>a::before,
  html[data-kurosf-lang="en"] .site-navigation-shell .vertical-menu-list ul.sub-menu>li>a::before,
  body.kurosf-lang-fa .site-navigation-shell .vertical-menu-list>li>a::before,
  html[data-kurosf-lang="fa"] .site-navigation-shell .vertical-menu-list>li>a::before,
  body.kurosf-lang-fa .site-navigation-shell .vertical-menu-list ul.sub-menu>li>a::before,
  html[data-kurosf-lang="fa"] .site-navigation-shell .vertical-menu-list ul.sub-menu>li>a::before{
    transition:transform 1.05s cubic-bezier(.20,.72,.20,1)!important;
  }
  .site-navigation-shell .vertical-menu-list>li>a,
  .site-navigation-shell .vertical-menu-list ul.sub-menu>li>a{
    transition:color .52s ease,transform .52s ease,filter .52s ease,box-shadow .52s ease!important;
  }

  html body .site-navigation-shell .vertical-menu-list>li>a,
  html body .site-navigation-shell .vertical-menu-list ul.sub-menu>li>a{
    box-sizing:border-box!important;
    display:flex!important;
    align-items:center!important;
    min-width:0!important;
    overflow:hidden!important;
    isolation:isolate!important;
    background:#fff!important;
    color:#13222a!important;
    text-shadow:none!important;
    filter:none!important;
  }
  html body .site-navigation-shell .vertical-menu-list ul.sub-menu>li>a{
    width:100%!important;
    min-height:52px!important;
    padding:10px 14px!important;
    gap:8px!important;
    transform:none!important;
    box-shadow:inset 0 -1px 0 rgba(0,0,0,.08)!important;
  }
  html body .site-navigation-shell .vertical-menu-list>li:not(:hover):not(:focus-within):not(.is-open):not(.is-hover-open)>a{
    background:#fff!important;
    color:#13222a!important;
    text-shadow:none!important;
    filter:none!important;
    transform:none!important;
  }
  html body .site-navigation-shell .vertical-menu-list ul.sub-menu>li:not(:hover):not(:focus-within):not(.is-open):not(.is-hover-open)>a{
    background:#fff!important;
    color:#13222a!important;
    text-shadow:none!important;
    filter:none!important;
    transform:none!important;
  }
  html body .site-navigation-shell .vertical-menu-list>li>a::before,
  html body .site-navigation-shell .vertical-menu-list ul.sub-menu>li>a::before{
    content:""!important;
    position:absolute!important;
    z-index:0!important;
    inset:0!important;
    width:auto!important;
    inline-size:auto!important;
    opacity:1!important;
    background:var(--section-color)!important;
    transform:scaleX(0)!important;
    transform-origin:left center!important;
    pointer-events:none!important;
  }
  html[data-kurosf-lang="fa"] body .site-navigation-shell .vertical-menu-list>li>a::before,
  html[data-kurosf-lang="fa"] body .site-navigation-shell .vertical-menu-list ul.sub-menu>li>a::before,
  html body.kurosf-lang-fa .site-navigation-shell .vertical-menu-list>li>a::before,
  html body.kurosf-lang-fa .site-navigation-shell .vertical-menu-list ul.sub-menu>li>a::before{
    transform-origin:right center!important;
  }
  html body .site-navigation-shell .vertical-menu-list ul.sub-menu>li:not(:hover):not(:focus-within):not(.is-open):not(.is-hover-open)>a::before{
    width:auto!important;
    inline-size:auto!important;
    opacity:1!important;
    transform:scaleX(0)!important;
  }
  html body .site-navigation-shell .vertical-menu-list>li:not(:hover):not(:focus-within):not(.is-open):not(.is-hover-open)>a::before{
    width:auto!important;
    inline-size:auto!important;
    opacity:1!important;
    transform:scaleX(0)!important;
  }
  html body .site-navigation-shell .vertical-menu-list li:is(:hover,:focus-within,.is-open,.is-hover-open)>a{
    background:#fff!important;
    color:#fff!important;
    text-shadow:0 1px 1px rgba(0,0,0,.16)!important;
    filter:saturate(1.04) brightness(1.02)!important;
  }
  html body .site-navigation-shell .vertical-menu-list ul.sub-menu>li:is(:hover,:focus-within,.is-open,.is-hover-open)>a{
    transform:none!important;
  }
  html body .site-navigation-shell .vertical-menu-list li:is(:hover,:focus-within,.is-open,.is-hover-open)>a::before{
    opacity:1!important;
    transform:scaleX(1)!important;
  }
  html body .site-navigation-shell .vertical-menu-list ul.sub-menu>li:hover>a,
  html body .site-navigation-shell .vertical-menu-list ul.sub-menu>li:focus-within>a,
  html body .site-navigation-shell .vertical-menu-list ul.sub-menu>li.is-open>a,
  html body .site-navigation-shell .vertical-menu-list ul.sub-menu>li.is-hover-open>a{
    background:#fff!important;
    color:#fff!important;
    text-shadow:0 1px 1px rgba(0,0,0,.16)!important;
    filter:saturate(1.04) brightness(1.02)!important;
    transform:none!important;
  }
  html body .site-navigation-shell .vertical-menu-list ul.sub-menu>li:hover>a::before,
  html body .site-navigation-shell .vertical-menu-list ul.sub-menu>li:focus-within>a::before,
  html body .site-navigation-shell .vertical-menu-list ul.sub-menu>li.is-open>a::before,
  html body .site-navigation-shell .vertical-menu-list ul.sub-menu>li.is-hover-open>a::before{
    opacity:1!important;
    transform:scaleX(1)!important;
  }
  html body .site-navigation-shell .vertical-menu-list ul.sub-menu,
  html body .site-navigation-shell .vertical-menu-list ul.sub-menu>li{
    background:#fff!important;
  }
  html body .site-navigation-shell .vertical-menu-list ul.sub-menu::before{
    content:none!important;
    display:none!important;
    transform:none!important;
  }
  html body .site-navigation-shell .vertical-menu-list>li>ul.sub-menu{
    top:100%!important;
    margin-top:0!important;
  }
  html body .site-navigation-shell .vertical-menu-list ul.sub-menu ul.sub-menu{
    top:0!important;
    margin:0!important;
  }
  html body .site-navigation-shell .vertical-menu-list ul.sub-menu{
    max-width:calc(100vw - 16px)!important;
    box-shadow:0 18px 38px rgba(18,28,36,.24),0 0 0 1px rgba(255,255,255,.12) inset!important;
  }
  html body .site-navigation-shell .vertical-menu-list li:is(:hover,:focus-within,.is-open,.is-hover-open)>ul.sub-menu{
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
    transform:translateX(0)!important;
  }

  html body .site-navigation-shell .vertical-menu-list a>.menu-label,
  html body .site-navigation-shell .vertical-menu-list a>span:not(.menu-arrow){
    position:relative!important;
    z-index:1!important;
    flex:1 1 auto!important;
    min-width:0!important;
  }
  html body .site-navigation-shell .vertical-menu-list a>.menu-arrow{
    position:relative!important;
    inset:auto!important;
    z-index:1!important;
    flex:0 0 18px!important;
    inline-size:18px!important;
    align-self:center!important;
    margin:0!important;
    line-height:1!important;
  }
  html body .site-navigation-shell .vertical-menu-list ul.sub-menu a>.menu-arrow{
    transform:none!important;
  }
  html body .site-navigation-shell .vertical-menu-list .submenu-toggle{display:none!important}

  .site-navigation-shell .vertical-menu-list ul.sub-menu[data-kurosf-contained="1"]{right:auto!important}

  /* Context copy may shrink; Search and language controls may not leave bar. */
  .kurosf-reference-topbar-inner{min-width:0!important;overflow:visible!important}
  .kurosf-reference-context{flex:1 1 auto!important;min-width:0!important;overflow:hidden!important}
  .kurosf-reference-context span{display:block!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
  .kurosf-reference-tools{flex:0 0 auto!important;min-width:max-content!important;max-width:100%!important}
  .kurosf-reference-topbar .site-search{flex:0 0 28px!important;min-width:28px!important;overflow:visible!important}
  .kurosf-reference-topbar .language-switcher{flex:0 0 auto!important;min-width:0!important}

  /* The brand row sits above the compact physical-left feed rail. */
  body.home .brand-strip-home,
  body.page-id-111 .brand-strip-home,
  body.page-id-194 .brand-strip-home,
  body.kurosf-virtual-home .brand-strip-home{
    box-sizing:border-box!important;
    height:70px!important;
    min-height:70px!important;
    padding:8px 20px!important;
    display:flex!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:12px!important;
    direction:ltr!important;
    overflow:hidden!important;
  }
  body.kurosf-lang-fa.home .brand-strip-home,
  body.kurosf-lang-fa.page-id-194 .brand-strip-home,
  body.kurosf-lang-fa.kurosf-virtual-home .brand-strip-home{direction:rtl!important}
  body.kurosf-lang-en.home .brand-strip-home,
  body.kurosf-lang-en.page-id-111 .brand-strip-home,
  body.kurosf-lang-en.kurosf-virtual-home .brand-strip-home{direction:ltr!important}
  body.home .brand-strip-home>.brand-icon,
  body.page-id-111 .brand-strip-home>.brand-icon,
  body.page-id-194 .brand-strip-home>.brand-icon,
  body.kurosf-virtual-home .brand-strip-home>.brand-icon{order:1!important;flex:0 0 44px!important;width:44px!important;height:44px!important;object-fit:contain!important}
  body.home .brand-strip-home>div,
  body.page-id-111 .brand-strip-home>div,
  body.page-id-194 .brand-strip-home>div,
  body.kurosf-virtual-home .brand-strip-home>div{order:2!important;display:flex!important;align-items:center!important;gap:14px!important;flex:1 1 auto!important;width:auto!important;min-width:0!important;max-width:100%!important;overflow:hidden!important}
  body.kurosf-lang-fa .brand-strip-home>div{direction:rtl!important;text-align:right!important}
  body.kurosf-lang-en .brand-strip-home>div{direction:ltr!important;text-align:left!important}
  body.home .brand-strip-home .brand-title,
  body.page-id-111 .brand-strip-home .brand-title,
  body.page-id-194 .brand-strip-home .brand-title,
  body.kurosf-virtual-home .brand-strip-home .brand-title{flex:0 0 auto!important;margin:0!important;font-size:clamp(20px,1.7vw,24px)!important;line-height:1.1!important;white-space:nowrap!important}
  body.home .brand-strip-home .brand-quote,
  body.page-id-111 .brand-strip-home .brand-quote,
  body.page-id-194 .brand-strip-home .brand-quote,
  body.kurosf-virtual-home .brand-strip-home .brand-quote{display:-webkit-box!important;flex:1 1 auto!important;min-width:0!important;max-height:2.5em!important;margin:0!important;font-size:clamp(12px,1vw,15px)!important;line-height:1.25!important;white-space:normal!important;overflow:hidden!important;text-overflow:clip!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important}
  body.home .home-feed-panel,
  body.page-id-111 .home-feed-panel,
  body.page-id-194 .home-feed-panel,
  body.kurosf-virtual-home .home-feed-panel{display:block!important}
}

/* Tablet: keep the compact feed at the physical-left edge. */
@media (min-width:700px) and (max-width:980px){
  body.home .brand-strip-home,
  body.page-id-111 .brand-strip-home,
  body.page-id-194 .brand-strip-home,
  body.kurosf-virtual-home .brand-strip-home{height:63px!important;min-height:63px!important;padding:7px 14px!important;display:flex!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:flex-start!important;gap:9px!important;direction:ltr!important;overflow:hidden!important}
  body.kurosf-lang-fa.home .brand-strip-home,
  body.kurosf-lang-fa.page-id-194 .brand-strip-home,
  body.kurosf-lang-fa.kurosf-virtual-home .brand-strip-home{direction:rtl!important}
  body.home .brand-strip-home>.brand-icon,
  body.page-id-111 .brand-strip-home>.brand-icon,
  body.page-id-194 .brand-strip-home>.brand-icon,
  body.kurosf-virtual-home .brand-strip-home>.brand-icon{order:1!important;flex:0 0 38px!important;width:38px!important;height:38px!important;object-fit:contain!important}
  body.home .brand-strip-home>div,
  body.page-id-111 .brand-strip-home>div,
  body.page-id-194 .brand-strip-home>div,
  body.kurosf-virtual-home .brand-strip-home>div{order:2!important;display:flex!important;align-items:center!important;gap:8px!important;flex:1 1 auto!important;width:auto!important;min-width:0!important;overflow:hidden!important}
  body.kurosf-lang-fa .brand-strip-home>div{direction:rtl!important;text-align:right!important}
  .brand-strip-home .brand-title{flex:0 0 auto!important;margin:0!important;font-size:18px!important;line-height:1.1!important;white-space:nowrap!important}
  .brand-strip-home .brand-quote{display:-webkit-box!important;flex:1 1 auto!important;min-width:0!important;max-height:2.5em!important;margin:0!important;font-size:11px!important;line-height:1.25!important;white-space:normal!important;overflow:hidden!important;text-overflow:clip!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important}
  body.home .home-layout,
  body.page-id-111 .home-layout,
  body.page-id-194 .home-layout,
  body.kurosf-virtual-home .home-layout{
    display:grid!important;
    grid-template-columns:minmax(220px,236px) minmax(0,1fr)!important;
    align-items:start!important;
    direction:ltr!important;
  }
  body.home .home-body,
  body.page-id-111 .home-body,
  body.page-id-194 .home-body,
  body.kurosf-virtual-home .home-body{grid-column:2!important;grid-row:1!important;min-width:0!important}
  body.kurosf-lang-fa.home .home-body,
  body.kurosf-lang-fa.page-id-194 .home-body,
  body.kurosf-lang-fa.kurosf-virtual-home .home-body{direction:rtl!important;text-align:right!important}
  body.home .home-feed-panel,
  body.page-id-111 .home-feed-panel,
  body.page-id-194 .home-feed-panel,
  body.kurosf-virtual-home .home-feed-panel{
    display:block!important;grid-column:1!important;grid-row:1!important;min-width:0!important;
    position:relative!important;background:#f4f3f1!important;border-right:1px solid #e0e0de!important;border-left:0!important;
    direction:ltr!important;text-align:left!important;
  }
  body.kurosf-lang-fa .home-feed-panel{direction:rtl!important;text-align:right!important}
  .home-feed-tablist{margin:0!important;width:100%!important;height:52px!important;display:grid!important;grid-template-columns:1fr 1fr!important;background:#0b6f75!important}
  .home-feed-tab{height:52px!important;border:0!important;border-radius:0!important;background:#004147!important;color:#fff!important;font-family:Calibri,"Carlito","Segoe UI",Arial,sans-serif!important;font-size:14px!important;font-weight:600!important}
  .home-feed-tab.is-active{background:#fff!important;color:#111!important;box-shadow:inset 0 -2px 0 #0a7075!important}
  .home-feed-list{padding:20px 18px!important}
  .home-feed-list[hidden]{display:none!important}
  .home-feed-item{padding:0 0 16px!important;margin:0 0 16px!important;border-bottom:1px solid #d8d8d5!important}
  .home-feed-item:last-child{margin-bottom:0!important;border-bottom:0!important}
  .home-feed-category{margin:0 0 7px!important;color:#086d74!important;font-size:11px!important;font-weight:700!important}
  .home-feed-item h3{margin:0 0 7px!important;font-family:Georgia,"Times New Roman",serif!important;font-size:17px!important;line-height:1.25!important}
  body.kurosf-lang-fa .home-feed-item h3{font-family:Calibri,"Vazirmatn",Tahoma,Arial,sans-serif!important}
  .home-feed-item h3 a{color:#111!important;text-decoration:none!important}
  .home-feed-meta{margin:0!important;color:#68737a!important;font-size:11px!important}
}

/* Phones: do not remove Latest/Most Read. Stack it safely above the existing
   accordion content so nothing overlaps or disappears. */
@media (max-width:699.98px){
  body.home .brand-strip-home,
  body.page-id-111 .brand-strip-home,
  body.page-id-194 .brand-strip-home,
  body.kurosf-virtual-home .brand-strip-home{height:66px!important;min-height:66px!important;padding:8px 10px!important;display:flex!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:flex-start!important;gap:7px!important;direction:ltr!important;overflow:hidden!important}
  body.kurosf-lang-fa.home .brand-strip-home,
  body.kurosf-lang-fa.page-id-194 .brand-strip-home,
  body.kurosf-lang-fa.kurosf-virtual-home .brand-strip-home{direction:rtl!important}
  body.home .brand-strip-home>.brand-icon,
  body.page-id-111 .brand-strip-home>.brand-icon,
  body.page-id-194 .brand-strip-home>.brand-icon,
  body.kurosf-virtual-home .brand-strip-home>.brand-icon{order:1!important;flex:0 0 34px!important;width:34px!important;height:34px!important;object-fit:contain!important}
  body.home .brand-strip-home>div,
  body.page-id-111 .brand-strip-home>div,
  body.page-id-194 .brand-strip-home>div,
  body.kurosf-virtual-home .brand-strip-home>div{order:2!important;display:flex!important;align-items:center!important;gap:7px!important;flex:1 1 auto!important;min-width:0!important;overflow:hidden!important}
  body.kurosf-lang-fa .brand-strip-home>div{direction:rtl!important;text-align:right!important}
  .brand-strip-home .brand-title{flex:0 0 auto!important;margin:0!important;font-size:16px!important;line-height:1.1!important;white-space:nowrap!important}
  .brand-strip-home .brand-quote{display:-webkit-box!important;flex:1 1 auto!important;min-width:0!important;max-height:2.5em!important;margin:0!important;font-size:10px!important;line-height:1.25!important;white-space:normal!important;overflow:hidden!important;text-overflow:clip!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important}
  body.home .home-layout,
  body.page-id-111 .home-layout,
  body.page-id-194 .home-layout,
  body.kurosf-virtual-home .home-layout{display:flex!important;flex-direction:column!important;direction:ltr!important}
  body.home .home-feed-panel,
  body.page-id-111 .home-feed-panel,
  body.page-id-194 .home-feed-panel,
  body.kurosf-virtual-home .home-feed-panel{
    display:block!important;order:-1!important;width:100%!important;min-width:0!important;
    position:relative!important;background:#f4f3f1!important;border:0!important;direction:ltr!important;text-align:left!important;
  }
  body.kurosf-lang-fa .home-feed-panel{direction:rtl!important;text-align:right!important}
  .home-feed-tablist{margin:0!important;width:100%!important;height:50px!important;display:grid!important;grid-template-columns:1fr 1fr!important;background:#0b6f75!important}
  .home-feed-tab{height:50px!important;border:0!important;border-radius:0!important;background:#004147!important;color:#fff!important;font-family:Calibri,"Carlito","Segoe UI",Arial,sans-serif!important;font-size:14px!important;font-weight:600!important}
  .home-feed-tab.is-active{background:#fff!important;color:#111!important;box-shadow:inset 0 -2px 0 #0a7075!important}
  .home-feed-list{padding:16px!important}
  .home-feed-list[hidden]{display:none!important}
  .home-feed-item{padding:0 0 13px!important;margin:0 0 13px!important;border-bottom:1px solid #d8d8d5!important}
  .home-feed-item:last-child{margin-bottom:0!important;border-bottom:0!important}
  .home-feed-category{margin:0 0 6px!important;color:#086d74!important;font-size:10px!important;font-weight:700!important}
  .home-feed-item h3{margin:0 0 6px!important;font-family:Georgia,"Times New Roman",serif!important;font-size:16px!important;line-height:1.25!important}
  body.kurosf-lang-fa .home-feed-item h3{font-family:Calibri,"Vazirmatn",Tahoma,Arial,sans-serif!important}
  .home-feed-meta{margin:0!important;color:#68737a!important;font-size:11px!important}
}

/* Top utility is the only Search/Language UI at tablet/mobile sizes. */
@media (max-width:980px){
  html body .kurosf-reference-topbar{display:block!important;min-height:40px!important;height:40px!important;background:#004b4f!important;color:#fff!important;font-family:Calibri,"Carlito","Segoe UI",Arial,sans-serif!important}
  .kurosf-reference-topbar-inner{width:100%!important;height:40px!important;padding:0 10px!important;gap:8px!important;box-sizing:border-box!important;display:flex!important;align-items:center!important;overflow:visible!important}
  .site-navigation-shell .sidebar-logo-link{height:76px!important;min-height:76px!important;padding:4px 12px!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:9px!important;direction:ltr!important;overflow:hidden!important;color:#111!important;text-decoration:none!important}
  .kurosf-reference-context{display:none!important}
  .kurosf-reference-tools{width:100%!important;min-width:0!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:8px!important;direction:ltr!important}
  .kurosf-reference-tools time{flex:1 1 auto!important;min-width:0!important;margin:0!important;font-size:11px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;color:#fff!important}
  .kurosf-reference-topbar .site-search{flex:0 0 32px!important;width:32px!important;min-width:32px!important;height:32px!important;display:flex!important;align-items:center!important;justify-content:center!important;position:relative!important;overflow:visible!important}
  .kurosf-reference-topbar .site-search label{position:static!important;transform:none!important;pointer-events:auto!important}
  .kurosf-reference-topbar .site-search input[type=search]{position:absolute!important;z-index:9000!important;top:34px!important;right:0!important;left:auto!important;width:0!important;min-width:0!important;height:38px!important;padding:0!important;opacity:0!important;pointer-events:none!important;border:1px solid transparent!important;border-radius:19px!important;background:#fff!important;color:#111!important;box-sizing:border-box!important}
  .kurosf-reference-topbar .site-search.is-search-open input[type=search],
  .kurosf-reference-topbar .site-search:focus-within input[type=search]{width:min(260px,calc(100vw - 20px))!important;min-width:min(180px,calc(100vw - 20px))!important;padding:0 12px!important;opacity:1!important;pointer-events:auto!important;border-color:#cbd4d6!important}
  .kurosf-reference-topbar .site-search button{position:relative!important;inset:auto!important;top:auto!important;right:auto!important;left:auto!important;display:flex!important;align-items:center!important;justify-content:center!important;width:32px!important;height:32px!important;min-width:32px!important;padding:0!important;border:0!important;background:transparent!important;color:#fff!important;box-shadow:none!important;line-height:1!important}
  .kurosf-reference-topbar .language-switcher{flex:0 0 auto!important;display:flex!important;min-width:0!important;border:1px solid rgba(255,255,255,.85)!important;border-radius:14px!important;overflow:hidden!important;background:#fff!important;direction:ltr!important}
  .kurosf-reference-topbar .language-switcher a{min-width:54px!important;height:30px!important;padding:0 8px!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:12px!important;color:#003f45!important;background:#fff!important;text-decoration:none!important;border-radius:12px!important;font-weight:600!important}
  .kurosf-reference-topbar .language-switcher a.active{background:#004b4f!important;color:#fff!important}
}
@media (max-width:420px){
  .kurosf-reference-topbar-inner{padding-inline:6px!important;gap:5px!important}
  .kurosf-reference-tools{gap:5px!important}
  .kurosf-reference-tools time{font-size:9px!important}
  .kurosf-reference-topbar .language-switcher a{min-width:45px!important;padding-inline:5px!important;font-size:10.5px!important}
  .kurosf-reference-topbar .site-search{flex-basis:28px!important;width:28px!important;min-width:28px!important}
  .kurosf-reference-topbar .site-search button{width:28px!important;height:28px!important;min-width:28px!important}
}

/* Homepage QR: same physical-right anchor in EN/FA at every viewport. These
   selectors include both real homepage IDs and language aliases. */
body.home .site-footer,
body.page-id-111 .site-footer,
body.page-id-194 .site-footer,
body.kurosf-virtual-home .site-footer{position:relative!important}
body.home .site-footer .footer-shell,
body.page-id-111 .site-footer .footer-shell,
body.page-id-194 .site-footer .footer-shell,
body.kurosf-virtual-home .site-footer .footer-shell,
body.home .site-footer .footer-note,
body.page-id-111 .site-footer .footer-note,
body.page-id-194 .site-footer .footer-note,
body.kurosf-virtual-home .site-footer .footer-note{padding-right:220px!important;box-sizing:border-box!important}
body.home .site-footer .footer-home-qr,
body.page-id-111 .site-footer .footer-home-qr,
body.page-id-194 .site-footer .footer-home-qr,
body.kurosf-virtual-home .site-footer .footer-home-qr{
  display:flex!important;position:absolute!important;z-index:4!important;top:0!important;right:0!important;bottom:0!important;left:auto!important;
  width:205px!important;min-width:205px!important;padding:8px!important;box-sizing:border-box!important;align-items:center!important;justify-content:center!important;
  gap:8px!important;border-left:1px solid rgba(255,255,255,.28)!important;border-right:0!important;direction:ltr!important;text-align:left!important;background:transparent!important;transform:none!important;
}
body.home .site-footer .footer-home-qr img,
body.page-id-111 .site-footer .footer-home-qr img,
body.page-id-194 .site-footer .footer-home-qr img,
body.kurosf-virtual-home .site-footer .footer-home-qr img{display:block!important;width:96px!important;height:96px!important;max-width:96px!important;max-height:96px!important;object-fit:contain!important;background:#fff!important}

/* Keep narrow desktop menu labels inside the header without changing data. */
@media (min-width:981px) and (max-width:1080px){
  .site-navigation-shell .sidebar-logo-link{flex-basis:clamp(206px,21vw,227px)!important;width:clamp(206px,21vw,227px)!important;padding-inline:10px!important}
  .site-navigation-shell .vertical-menu-list>li>a{padding-inline:4px!important;gap:3px!important;font-size:11px!important;letter-spacing:0!important}
  .kurosf-reference-topbar-inner{padding-inline:12px!important;gap:10px!important}
  .kurosf-reference-tools{gap:10px!important}
  .kurosf-reference-tools time{font-size:12px!important}
}

/* ======================================================================
   KUROSF CURRENT CANONICAL UI — 2026-08-23
   Minimum-diff frontend corrections. WordPress menu/content records remain
   authoritative; this block owns only final geometry and interaction state.
   ====================================================================== */

/* Header brand: approved Media Library logo plus real HTML text. */
.site-navigation-shell .sidebar-logo-link{direction:ltr!important;text-decoration:none!important}
.site-navigation-shell .sidebar-header-logo{
  display:block!important;
  flex:0 0 58px!important;
  width:58px!important;
  height:58px!important;
  max-width:58px!important;
  max-height:58px!important;
  object-fit:contain!important;
  object-position:center!important;
  transform:scale(1.30)!important;
  transform-origin:center center!important;
}
.site-navigation-shell .sidebar-wordmark{
  display:flex!important;
  flex:0 1 auto!important;
  min-width:0!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:center!important;
  color:#111!important;
  font-family:"Times New Roman",Times,Georgia,serif!important;
  white-space:nowrap!important;
  text-align:left!important;
  line-height:1!important;
}
.site-navigation-shell .sidebar-wordmark-title{
  display:block!important;
  margin:0!important;
  font-size:25px!important;
  line-height:.98!important;
  font-weight:400!important;
  letter-spacing:-.45px!important;
}
.site-navigation-shell .sidebar-wordmark-name{font-size:1em!important}
.site-navigation-shell .sidebar-wordmark-domain{font-size:.72em!important;letter-spacing:-.2px!important}
.site-navigation-shell .sidebar-wordmark-subtitle{
  display:block!important;
  margin-top:4px!important;
  font-size:14px!important;
  line-height:1.05!important;
  font-weight:400!important;
  letter-spacing:-.15px!important;
}

@media (min-width:981px){
  .site-navigation-shell .sidebar-logo-link{
    flex:0 0 clamp(250px,24vw,330px)!important;
    width:clamp(250px,24vw,330px)!important;
    height:80px!important;
    min-height:80px!important;
    padding:6px 14px!important;
    justify-content:flex-start!important;
    gap:9px!important;
    overflow:hidden!important;
  }
}

/* English WordPress menu colors remain the reference. PHP mirrors those
   saved values to the matching Persian branches at render time. Both
   languages share these exact rest/fill/progression rules. */
.site-navigation-shell .vertical-menu-list>li.kurosf-menu-home{--section-color:#9b1c3f!important}
.site-navigation-shell .vertical-menu-list>li.kurosf-menu-about{--section-color:#04532a!important}
.site-navigation-shell .vertical-menu-list>li.kurosf-menu-environment{--section-color:#4716d0!important}
.site-navigation-shell .vertical-menu-list>li.kurosf-menu-sociology{--section-color:#065a8e!important}
.site-navigation-shell .vertical-menu-list>li.kurosf-menu-politics{--section-color:#0796a1!important}
.site-navigation-shell .vertical-menu-list>li.kurosf-menu-research{--section-color:#483d8b!important}
.site-navigation-shell .vertical-menu-list>li.kurosf-menu-education{--section-color:#1a575b!important}
.site-navigation-shell .vertical-menu-list li>a{
  position:relative!important;
  isolation:isolate!important;
  overflow:hidden!important;
  background:transparent!important;
  transform:none!important;
}
html[data-kurosf-lang] body .site-navigation-shell .vertical-menu-list li:is(:hover,:focus-within,.is-hover-open)>a,
html body.kurosf-lang-en .site-navigation-shell .vertical-menu-list li:is(:hover,:focus-within,.is-hover-open)>a,
html body.kurosf-lang-fa .site-navigation-shell .vertical-menu-list li:is(:hover,:focus-within,.is-hover-open)>a{
  transform:none!important;
}
.site-navigation-shell .vertical-menu-list li>a>span{
  position:relative!important;
  z-index:2!important;
}
.site-navigation-shell .vertical-menu-list li>a::before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  z-index:1!important;
  width:auto!important;
  background:var(--section-color)!important;
  transform:scaleX(0)!important;
  transform-origin:left center!important;
  transition:transform .48s cubic-bezier(.22,.72,.2,1)!important;
  pointer-events:none!important;
}
html[data-kurosf-lang="fa"] .site-navigation-shell .vertical-menu-list li>a::before,
body.kurosf-lang-fa .site-navigation-shell .vertical-menu-list li>a::before{
  transform-origin:right center!important;
}
.site-navigation-shell .vertical-menu-list li:is(:hover,:focus-within,.is-hover-open)>a{
  background:transparent!important;
  color:#fff!important;
}
.site-navigation-shell .vertical-menu-list li:is(:hover,:focus-within,.is-hover-open)>a::before{
  transform:scaleX(1)!important;
}

@media (min-width:981px){
  .site-navigation-shell .vertical-menu-list ul.sub-menu{
    --kurosf-submenu-fill:color-mix(in srgb,var(--section-color) 82%,white);
    isolation:isolate!important;
    overflow:visible!important;
    background:#fff!important;
    box-shadow:0 8px 20px rgba(0,0,0,.14)!important;
  }
  .site-navigation-shell .vertical-menu-list ul.sub-menu.depth-2{--kurosf-submenu-fill:color-mix(in srgb,var(--section-color) 65%,white)}
  .site-navigation-shell .vertical-menu-list ul.sub-menu.depth-3,
  .site-navigation-shell .vertical-menu-list ul.sub-menu.depth-4{--kurosf-submenu-fill:color-mix(in srgb,var(--section-color) 48%,white)}
  .site-navigation-shell .vertical-menu-list ul.sub-menu::before{
    content:""!important;
    position:absolute!important;
    inset:0!important;
    z-index:0!important;
    background:var(--kurosf-submenu-fill)!important;
    transform:scaleX(0)!important;
    transform-origin:left center!important;
    transition:transform .48s cubic-bezier(.22,.72,.2,1)!important;
    pointer-events:none!important;
  }
  html[data-kurosf-lang="fa"] .site-navigation-shell .vertical-menu-list ul.sub-menu::before,
  body.kurosf-lang-fa .site-navigation-shell .vertical-menu-list ul.sub-menu::before{
    transform-origin:right center!important;
  }
  .site-navigation-shell .vertical-menu-list li:is(:hover,:focus-within,.is-hover-open)>ul.sub-menu::before{
    transform:scaleX(1)!important;
  }
  .site-navigation-shell .vertical-menu-list ul.sub-menu>li{
    position:relative!important;
    z-index:1!important;
    background:transparent!important;
  }
  .site-navigation-shell .vertical-menu-list ul.sub-menu>li>a::before{
    z-index:1!important;
    background:rgba(255,255,255,.18)!important;
  }
  /* First dropdown starts at the visible 48px parent-link edge, not at the
     80px flex-item edge, so there is no physical blank strip to cross. */
  html body .site-navigation-shell .vertical-menu-list>li>ul.sub-menu{top:calc(50% + 24px)!important}
  .site-navigation-shell .vertical-menu-list ul.sub-menu ul.sub-menu{top:0!important}
}

/* Latest / Most Read is one real Homepage feed component. The non-visible
   slot below preserves the approved corner geometry; the actual tabs belong
   to the feed panel and are positioned into this reserved corner. */
body:is(.home,.page-id-111,.page-id-194,.kurosf-virtual-home) .brand-strip-home{
  box-sizing:border-box!important;
  min-height:70px!important;
  height:auto!important;
  padding:0 0 0 20px!important;
  display:flex!important;
  flex-flow:row nowrap!important;
  align-items:stretch!important;
  justify-content:flex-start!important;
  gap:12px!important;
  direction:ltr!important;
  overflow:visible!important;
}
body.kurosf-lang-fa:is(.home,.page-id-194,.kurosf-virtual-home) .brand-strip-home{
  padding:0 20px 0 0!important;
  direction:rtl!important;
}
body:is(.home,.page-id-111,.page-id-194,.kurosf-virtual-home) .brand-strip-home>.brand-icon{
  order:1!important;
  align-self:center!important;
  flex:0 0 44px!important;
  width:44px!important;
  height:44px!important;
  object-fit:contain!important;
  transform:translateY(-3px)!important;
}
body:is(.home,.page-id-111,.page-id-194,.kurosf-virtual-home) .brand-strip-home>.brand-copy{
  order:2!important;
  align-self:center!important;
  display:flex!important;
  align-items:center!important;
  flex:1 1 auto!important;
  min-width:0!important;
  gap:14px!important;
  overflow:visible!important;
  transform:translateY(-3px)!important;
}
body.kurosf-lang-fa .brand-strip-home>.brand-copy{direction:rtl!important;text-align:right!important}
body.kurosf-lang-en .brand-strip-home>.brand-copy{direction:ltr!important;text-align:left!important}
body:is(.home,.page-id-111,.page-id-194,.kurosf-virtual-home) .brand-strip-home .brand-title{
  flex:0 0 auto!important;
  margin:0!important;
  white-space:nowrap!important;
}
body:is(.home,.page-id-111,.page-id-194,.kurosf-virtual-home) .brand-strip-home .brand-quote{
  flex:1 1 auto!important;
  min-width:0!important;
  max-height:none!important;
  margin:0!important;
  white-space:normal!important;
  overflow:visible!important;
  -webkit-line-clamp:unset!important;
}
body:is(.home,.page-id-111,.page-id-194,.kurosf-virtual-home) .brand-strip-home>.home-feed-tab-slot{
  order:3!important;
  align-self:flex-end!important;
  flex:0 0 clamp(230px,22vw,285px)!important;
  width:clamp(230px,22vw,285px)!important;
  min-width:230px!important;
  height:60px!important;
  min-height:60px!important;
  margin:0!important;
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:0!important;
  direction:ltr!important;
  background:transparent!important;
  overflow:visible!important;
}
.home-feed-panel .home-feed-tab{
  position:relative!important;
  height:100%!important;
  min-height:60px!important;
  padding:0 14px!important;
  border:0!important;
  border-radius:9px 9px 0 0!important;
  background:#004147!important;
  color:#fff!important;
  font-family:Calibri,"Carlito","Segoe UI",Arial,sans-serif!important;
  font-size:15px!important;
  font-weight:700!important;
  cursor:pointer!important;
}
body.kurosf-lang-fa .home-feed-panel .home-feed-tab{font-family:Calibri,"Vazirmatn",Tahoma,Arial,sans-serif!important}
.home-feed-panel .home-feed-tab.is-active{
  background:#fff!important;
  color:#111!important;
  box-shadow:inset 0 -3px 0 #0a7075!important;
}
.home-feed-panel .home-feed-tab.is-active::after{content:none!important}

body:is(.home,.page-id-111,.page-id-194,.kurosf-virtual-home) .home-feed-panel>.home-feed-tablist{
  position:absolute!important;
  z-index:5!important;
  top:-60px!important;
  inset-inline:0!important;
  width:100%!important;
  min-width:0!important;
  height:60px!important;
  min-height:60px!important;
  margin:0!important;
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:0!important;
  direction:ltr!important;
  background:transparent!important;
  overflow:visible!important;
}
body.kurosf-lang-fa .home-feed-panel>.home-feed-tablist{direction:rtl!important}

/* The post rail follows its own tab group: EN is physical-right and FA is
   physical-left. The matching widths keep the controls joined to the card. */
body:is(.home,.page-id-111,.page-id-194,.kurosf-virtual-home) .home-feed-panel{position:relative!important}
body:is(.home,.page-id-111,.page-id-194,.kurosf-virtual-home) .home-feed-tabs{width:100%!important}

@media (min-width:981px){
  body.kurosf-lang-en:is(.home,.page-id-111,.kurosf-virtual-home) .home-layout{
    grid-template-columns:minmax(0,1fr) clamp(230px,22vw,285px)!important;
  }
  body.kurosf-lang-en:is(.home,.page-id-111,.kurosf-virtual-home) .home-body{grid-column:1!important}
  body.kurosf-lang-en:is(.home,.page-id-111,.kurosf-virtual-home) .home-feed-panel{
    grid-column:2!important;
    border-right:0!important;
    border-left:1px solid #e0e0de!important;
  }
  body.kurosf-lang-fa:is(.home,.page-id-194,.kurosf-virtual-home) .home-layout{
    grid-template-columns:clamp(230px,22vw,285px) minmax(0,1fr)!important;
  }
  body.kurosf-lang-fa:is(.home,.page-id-194,.kurosf-virtual-home) .home-body{grid-column:2!important}
  body.kurosf-lang-fa:is(.home,.page-id-194,.kurosf-virtual-home) .home-feed-panel{
    grid-column:1!important;
    border-right:1px solid #e0e0de!important;
    border-left:0!important;
  }
}

@media (min-width:700px) and (max-width:980px){
  .site-navigation-shell .sidebar-logo-link{
    height:76px!important;
    min-height:76px!important;
    padding:5px 12px!important;
    justify-content:flex-start!important;
  }
  .site-navigation-shell .sidebar-header-logo{flex-basis:56px!important;width:56px!important;height:56px!important;max-width:56px!important;max-height:56px!important;transform:scale(1.16)!important}
  .site-navigation-shell .sidebar-wordmark-title{font-size:23px!important}
  .site-navigation-shell .sidebar-wordmark-subtitle{font-size:13px!important}
  body:is(.home,.page-id-111,.page-id-194,.kurosf-virtual-home) .brand-strip-home{
    min-height:64px!important;
    padding:0 0 0 14px!important;
    gap:9px!important;
  }
  body.kurosf-lang-fa:is(.home,.page-id-194,.kurosf-virtual-home) .brand-strip-home{padding:0 14px 0 0!important}
  body:is(.home,.page-id-111,.page-id-194,.kurosf-virtual-home) .brand-strip-home>.brand-icon{flex-basis:38px!important;width:38px!important;height:38px!important}
  body:is(.home,.page-id-111,.page-id-194,.kurosf-virtual-home) .brand-strip-home>.brand-copy{gap:8px!important}
  .brand-strip-home .brand-title{font-size:18px!important}
  .brand-strip-home .brand-quote{font-size:11px!important;line-height:1.3!important}
  body:is(.home,.page-id-111,.page-id-194,.kurosf-virtual-home) .brand-strip-home>.home-feed-tab-slot{
    flex-basis:235px!important;width:235px!important;min-width:235px!important;height:54px!important;min-height:54px!important;
  }
  .home-feed-panel .home-feed-tab{height:54px!important;min-height:54px!important;font-size:13px!important}
  body:is(.home,.page-id-111,.page-id-194,.kurosf-virtual-home) .home-feed-panel>.home-feed-tablist{top:-54px!important;height:54px!important;min-height:54px!important}
  body.kurosf-lang-en:is(.home,.page-id-111,.kurosf-virtual-home) .home-layout{grid-template-columns:minmax(0,1fr) 235px!important}
  body.kurosf-lang-en:is(.home,.page-id-111,.kurosf-virtual-home) .home-body{grid-column:1!important}
  body.kurosf-lang-en:is(.home,.page-id-111,.kurosf-virtual-home) .home-feed-panel{
    grid-column:2!important;border-right:0!important;border-left:1px solid #e0e0de!important;
  }
  body.kurosf-lang-fa:is(.home,.page-id-194,.kurosf-virtual-home) .home-layout{grid-template-columns:235px minmax(0,1fr)!important}
  body.kurosf-lang-fa:is(.home,.page-id-194,.kurosf-virtual-home) .home-body{grid-column:2!important}
  body.kurosf-lang-fa:is(.home,.page-id-194,.kurosf-virtual-home) .home-feed-panel{
    grid-column:1!important;border-right:1px solid #e0e0de!important;border-left:0!important;
  }
}

@media (max-width:980px){
  .site-navigation-shell .mobile-menu-toggle{margin:8px 10px 0!important}
  .site-navigation-shell .top-navigation.is-active{margin:0!important;padding:0!important}
  .site-navigation-shell .vertical-menu-list li>a{transform:none!important}
  html body .site-navigation-shell .vertical-menu-list li>a>.menu-arrow{display:none!important}
  .site-navigation-shell .vertical-menu-list .submenu-toggle{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    inset-inline-end:7px!important;
    inset-inline-start:auto!important;
    top:7px!important;
    width:34px!important;
    height:34px!important;
    padding:0!important;
    border:1px solid currentColor!important;
    border-radius:4px!important;
    background:rgba(255,255,255,.12)!important;
    color:inherit!important;
  }
  .site-navigation-shell .submenu-toggle-icon{display:block!important;font-size:21px!important;line-height:1!important;transform:rotate(0);transition:transform .2s ease}
  .site-navigation-shell li.is-open>.submenu-toggle .submenu-toggle-icon{transform:rotate(180deg)}
  .site-navigation-shell .vertical-menu-list li>a{padding-inline:12px 52px!important}
  body.kurosf-lang-fa .site-navigation-shell .vertical-menu-list li>a{padding-inline:52px 12px!important}

  /* 2026-08-25: mobile top-level menu state repair only.
     Closed rows stay neutral even when WordPress marks the current page or a
     touch browser leaves :hover/:focus behind. Existing .is-open remains the
     authoritative mobile branch state; existing fill timing/direction is kept. */
  html body .site-navigation-shell .vertical-menu-list>li:not(.is-open)>a{
    color:#414141!important;
    text-shadow:none!important;
    filter:none!important;
    transform:none!important;
  }
  html body .site-navigation-shell .vertical-menu-list>li:not(.is-open)>a::before{
    opacity:1!important;
    transform:scaleX(0)!important;
  }
  html body .site-navigation-shell .vertical-menu-list>li.is-open>a,
  html body .site-navigation-shell .vertical-menu-list>li:not(.menu-item-has-children):active>a{
    color:#fff!important;
  }
  html body .site-navigation-shell .vertical-menu-list>li.is-open>a::before,
  html body .site-navigation-shell .vertical-menu-list>li:not(.menu-item-has-children):active>a::before{
    opacity:1!important;
    transform:scaleX(1)!important;
  }
}

@media (max-width:699.98px){
  html,body{max-width:100%;overflow-x:clip}
  .site-app,.site-navigation-shell,.site-navigation-shell .top-navigation,.site-navigation-shell .vertical-menu-list{max-width:100%!important;overflow-x:clip!important}
  .site-navigation-shell .sidebar-logo-link{
    width:100%!important;
    height:76px!important;
    min-height:76px!important;
    padding:5px 12px!important;
    justify-content:flex-start!important;
    overflow:hidden!important;
  }
  .site-navigation-shell .sidebar-header-logo{flex-basis:54px!important;width:54px!important;height:54px!important;max-width:54px!important;max-height:54px!important;transform:scale(1.18)!important}
  .site-navigation-shell .sidebar-wordmark-title{font-size:22px!important}
  .site-navigation-shell .sidebar-wordmark-subtitle{font-size:12.5px!important}

  body:is(.home,.page-id-111,.page-id-194,.kurosf-virtual-home) .brand-strip-home{
    min-height:0!important;
    height:auto!important;
    padding:8px 10px 0!important;
    display:flex!important;
    flex-flow:row wrap!important;
    align-items:center!important;
    gap:7px!important;
    overflow:visible!important;
  }
  body.kurosf-lang-fa:is(.home,.page-id-194,.kurosf-virtual-home) .brand-strip-home{padding:8px 10px 0!important}
  body:is(.home,.page-id-111,.page-id-194,.kurosf-virtual-home) .brand-strip-home>.brand-icon{flex-basis:34px!important;width:34px!important;height:34px!important}
  body:is(.home,.page-id-111,.page-id-194,.kurosf-virtual-home) .brand-strip-home>.brand-copy{
    display:block!important;
    flex:1 1 calc(100% - 48px)!important;
    min-width:0!important;
    overflow:visible!important;
  }
  .brand-strip-home .brand-title{font-size:16px!important;line-height:1.15!important;white-space:normal!important}
  .brand-strip-home .brand-quote{margin-top:3px!important;font-size:10.5px!important;line-height:1.3!important;overflow-wrap:normal!important}
  body:is(.home,.page-id-111,.page-id-194,.kurosf-virtual-home) .brand-strip-home>.home-feed-tab-slot{display:none!important}
  body:is(.home,.page-id-111,.page-id-194,.kurosf-virtual-home) .home-feed-panel>.home-feed-tablist{position:relative!important;top:auto!important;inset-inline:auto!important;width:100%!important;min-width:0!important;height:50px!important;min-height:50px!important;margin:0!important}
  .home-feed-panel .home-feed-tab{min-height:50px!important;height:50px!important;border-radius:0!important;font-size:14px!important}
  body:is(.home,.page-id-111,.page-id-194,.kurosf-virtual-home) .home-feed-panel{
    order:-1!important;
    width:calc(100% - 20px)!important;
    margin:0 10px!important;
  }
}

@media (prefers-reduced-motion:reduce){
  .site-navigation-shell .vertical-menu-list li>a::before,
  .site-navigation-shell .vertical-menu-list ul.sub-menu::before{transition:none!important}
}

