:root{
  --navy:#073b64;
  --navy2:#0d4f79;
  --blue:#0e83db;
  --ink:#073b64;
  --muted:#3b4f60;
  --line:#d5e6f3;
  --pale:#f3f9fd;
  --white:#fff;
  --shadow:0 10px 30px rgba(6,48,79,.08);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:IRYekan,Tahoma,"Segoe UI",sans-serif;color:var(--ink);background:#fff;direction:rtl}
a{color:inherit;text-decoration:none}
.container{width:min(1480px,calc(100% - 48px));margin:auto}
.topbar{background:linear-gradient(90deg,#0a426b,#073557);color:#fff;font-size:14px}
.topbar-inner{height:48px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.top-actions,.top-tools{display:flex;align-items:center;gap:16px}
.topbar a{opacity:.96}.topbar a:hover{opacity:1;text-decoration:underline}
.search-mini{border:0;background:#edf5fb;color:#184d72;border-radius:20px;padding:9px 16px;min-width:250px;text-align:right;cursor:pointer}
.main-header{background:#fff;box-shadow:0 2px 14px rgba(0,0,0,.05);position:relative;z-index:4}
.header-inner{min-height:0;display:flex;flex-direction:column;align-items:stretch;gap:0;padding:14px 0 0}
.brand{display:grid;grid-template-columns:minmax(0,1fr) auto auto;grid-template-areas:"en fa logo";align-items:center;column-gap:26px;min-width:0;width:100%;padding:0 0 14px;direction:ltr}.brand-logo{grid-area:logo;width:112px;height:112px;object-fit:contain;flex:none}.brand-name{grid-area:fa;display:flex;justify-content:flex-end;align-items:center;line-height:0;white-space:nowrap;text-align:right;direction:rtl}.brand-name-image{display:block;width:min(620px,42vw);height:auto;object-fit:contain;object-position:right center}.brand-en{grid-area:en;display:flex;justify-content:flex-start;align-items:center;min-width:0;line-height:1;text-align:left;direction:ltr}.brand-en-image{display:block;width:min(680px,48vw);height:auto;object-fit:contain;object-position:left center}
.nav{display:flex;align-items:center;justify-content:flex-start;gap:24px;flex-wrap:wrap;width:100%;border-top:1px solid var(--line);padding:10px 0 11px}
.nav a{font-weight:700;font-size:15px;padding:8px 0;position:relative}.nav a:after{content:"";position:absolute;right:0;left:0;bottom:0;height:3px;background:transparent;border-radius:3px}.nav a:hover:after,.nav a.active:after{background:var(--blue)}
.menu-btn{display:none}
.hero{position:relative;overflow:hidden;background:#082d4b;color:#fff;width:min(1480px,calc(100% - 48px));margin:18px auto 0;min-height:360px;border-radius:14px;box-shadow:0 12px 30px rgba(6,48,79,.10)}
.slides{position:relative;height:410px}
.slide{position:absolute;inset:0;opacity:0;transition:opacity .6s ease;display:grid;grid-template-columns:1.1fr .9fr;align-items:stretch;pointer-events:none}
.slide.active{opacity:1;pointer-events:auto}
.slide-photo{background-size:cover;background-position:center;position:relative}
.slide-photo:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(3,29,48,.12),rgba(7,58,94,.84))}
.slide-copy{display:flex;flex-direction:column;justify-content:center;padding:52px 64px 45px 56px;position:relative;z-index:2;background:linear-gradient(90deg,rgba(6,53,84,.94),rgba(7,63,98,.90));text-align:right}
.kicker{font-size:18px;font-weight:700;color:#a7d8ff;margin-bottom:12px}.slide-title{font-size:46px;line-height:1.25;margin:0 0 18px;font-weight:900;max-width:700px}.slide-text{font-size:20px;line-height:1.8;margin:0 0 28px;max-width:700px;color:#f0f7fb}
.hero-buttons{display:flex;gap:12px;flex-wrap:wrap}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:28px;padding:12px 22px;font-weight:800;border:1px solid rgba(255,255,255,.6)}.btn.primary{background:#1173ba;color:#fff;border-color:#1173ba}.btn.ghost{color:#fff;background:rgba(255,255,255,.05)}
.arrow{position:absolute;top:50%;transform:translateY(-50%);width:46px;height:46px;border-radius:50%;border:1px solid rgba(255,255,255,.3);background:rgba(0,0,0,.15);color:#fff;font-size:28px;display:grid;place-items:center;cursor:pointer;z-index:3}.arrow.prev{left:22px}.arrow.next{right:22px}
.dots{position:absolute;bottom:18px;left:0;right:0;display:flex;justify-content:center;gap:8px;z-index:3}.dots button{width:10px;height:10px;border-radius:50%;border:0;background:#b9c9d6;padding:0;cursor:pointer}.dots button.active{width:28px;border-radius:8px;background:#fff}
.quick{display:grid;grid-template-columns:repeat(6,1fr);margin-top:18px;border:1px solid var(--line);border-radius:16px;overflow:hidden;box-shadow:0 8px 24px rgba(7,59,100,.05);background:#fff}
.quick-item{padding:22px 12px;text-align:center;border-left:1px solid var(--line);min-height:112px;display:flex;flex-direction:column;justify-content:center;gap:7px}.quick-item:last-child{border-left:0}.quick-icon{font-size:32px;color:var(--blue);font-weight:900}.quick-item strong{font-size:17px}.quick-item small{font-size:12px;color:var(--muted)}
.section-head{display:flex;justify-content:space-between;align-items:end;margin:28px 0 14px}.section-head h2{margin:0;font-size:25px}.section-head a{color:var(--blue);font-weight:800;font-size:13px}

/* V25: dedicated committees heading below hero */
.committee-section{margin-top:24px;margin-bottom:4px}.committee-head{margin:0 0 12px}.committee-head h2{font-size:26px;font-weight:900;color:var(--navy);position:relative;padding-right:14px}.committee-head h2:before{content:"";position:absolute;right:0;top:50%;transform:translateY(-50%);width:5px;height:28px;border-radius:4px;background:var(--blue)}

.departments{display:grid;grid-template-columns:1fr 1.22fr 1fr 1fr 1fr 1fr 1fr 1fr;gap:12px;margin-top:20px}.dept{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fff;box-shadow:0 8px 22px rgba(7,59,100,.05);transition:.2s}.dept:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.dept img{width:100%;height:120px;object-fit:cover;display:block}.dept h3{font-size:16px;white-space:normal;margin:0;padding:14px 10px 16px;text-align:center;line-height:1.5;min-height:58px;display:flex;align-items:center;justify-content:center}
.content-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:18px;margin-top:30px;align-items:stretch;direction:ltr}.content-grid>.panel{direction:rtl}.panel{border:1px solid var(--line);border-radius:16px;overflow:hidden;background:#fff}.panel-head{padding:18px 20px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px}.panel-head h2{white-space:nowrap}.panel-head h2{margin:0;font-size:21px}.panel-head a{font-size:12px;color:var(--blue);font-weight:800}
.member{background:linear-gradient(135deg,#eef8ff,#dceef9);padding:28px 26px;display:flex;flex-direction:column;justify-content:center;text-align:center;min-height:300px}.member .big-icon{font-size:56px;color:#087fcb}.member h2{font-size:28px;margin:8px 0 10px}.member p{font-size:16px;line-height:1.9;color:#2f5f7e;margin:0 0 18px}.member .btn{align-self:center;background:var(--navy);color:#fff;border-color:var(--navy)}
.list{padding:0 20px}.list-item{display:grid;grid-template-columns:112px minmax(0,1fr);gap:14px;padding:16px 0;border-bottom:1px solid var(--line);align-items:center}.list-item>div{min-width:0}.list-item:last-child{border-bottom:0}.thumb{width:112px;height:70px;border-radius:10px;object-fit:cover;flex:none}.list-item small{color:#42596a;font-size:11px}.list-item h3{font-size:15px;line-height:1.7;margin:4px 0 0;overflow-wrap:anywhere}
.join{margin-top:28px;border-radius:16px;overflow:hidden;display:grid;grid-template-columns:1.1fr 1fr;min-height:220px;background:linear-gradient(90deg,#0c4e78,#116991);color:#fff;position:relative}.join-art{background:url('../assets/biochemistry.jpg') center/cover;filter:saturate(.8);opacity:.55}.join-copy{padding:32px 36px;display:flex;flex-direction:column;justify-content:center}.join-copy h2{font-size:29px;margin:0 0 10px}.join-copy p{font-size:16px;line-height:1.9;margin:0 0 18px}.join-copy .btn{align-self:flex-start;background:#fff;color:#0a4f7b;border-color:#fff}.quote{display:flex;align-items:center;justify-content:center;padding:25px;text-align:center;font-size:23px;font-weight:800;line-height:1.6;background:rgba(255,255,255,.08)}
.tiles{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:24px auto 32px}.tile{background:#f4f9fd;border:1px solid var(--line);border-radius:14px;padding:23px 20px}.tile .ic{font-size:31px;color:var(--blue)}.tile h3{margin:7px 0;font-size:18px}.tile p{margin:0 0 12px;color:#40596e;font-size:13px;line-height:1.8}.tile b{font-size:12px;color:var(--blue)}
.footer{background:#063858;color:#eaf5fc;margin-top:10px}.footer-top{padding:38px 0;display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;gap:28px}.footer-brand{display:flex;gap:15px;align-items:flex-start}.footer-brand img{width:82px;height:82px;object-fit:contain}.footer h2,.footer h3{margin:0 0 12px}.footer h2{font-size:18px}.footer h3{font-size:15px}.footer p{margin:6px 0;color:#b8d1e0;font-size:13px}.footer a{display:block;color:#d2e6f0;font-size:12px;margin:8px 0}.socials{display:flex;gap:10px}.socials a{width:34px;height:34px;border:1px solid rgba(255,255,255,.25);border-radius:50%;display:grid;place-items:center;margin:0}.footer-bottom{border-top:1px solid rgba(255,255,255,.18);padding:18px 0;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:11px;color:#b9d0df}
.search-overlay{position:fixed;inset:0;background:rgba(3,25,42,.7);display:none;place-items:center;z-index:20}.search-overlay.show{display:grid}.search-box{background:#fff;width:min(680px,calc(100% - 36px));padding:22px;border-radius:14px;display:flex;gap:10px}.search-box input{flex:1;padding:13px;border:1px solid var(--line);border-radius:10px}.search-box button{border:0;border-radius:10px;padding:0 16px;cursor:pointer}.search-box .submit{background:var(--navy);color:#fff;padding:12px 20px}.close-search{background:#edf4f9}
@media (max-width:1200px){.brand-name-image{width:min(560px,44vw)}.brand-en-image{width:min(625px,46vw)}.nav{gap:15px}.departments{grid-template-columns:repeat(4,1fr)}.content-grid{grid-template-columns:1fr 1fr}.member{grid-column:1/-1}}
@media (max-width:760px){.container{width:min(100% - 24px,1480px)}.topbar-inner{height:auto;padding:9px 0;flex-wrap:wrap}.search-mini{min-width:180px}.header-inner{display:flex;flex-direction:column;align-items:stretch;padding:14px 0}.brand{justify-content:flex-start}.brand img{width:82px;height:82px}.brand-name-image{width:min(100%,420px)}.brand-en-image{width:min(100%,420px)}.menu-btn{display:block;align-self:flex-start;border:1px solid var(--line);background:#fff;border-radius:10px;padding:8px 12px;color:var(--navy)}.nav{display:none;grid-column:auto;padding:0;border-top:1px solid var(--line);padding-top:8px;justify-content:stretch}.nav.open{display:flex;flex-direction:column;align-items:stretch;gap:4px}.slide{grid-template-columns:1fr}.slides{height:470px}.slide-photo{position:absolute;inset:0}.slide-copy{padding:40px 34px;background:linear-gradient(90deg,rgba(6,53,84,.94),rgba(6,53,84,.72));justify-content:flex-end}.slide-title{font-size:32px}.slide-text{font-size:16px}.arrow{display:none}.quick{grid-template-columns:repeat(2,1fr)}.quick-item:nth-child(even){border-left:0}.quick-item{border-bottom:1px solid var(--line)}.departments{grid-template-columns:repeat(2,1fr)}.content-grid{grid-template-columns:1fr}.join{grid-template-columns:1fr}.join-art{min-height:150px}.tiles{grid-template-columns:1fr 1fr}.footer-top{grid-template-columns:1fr 1fr}}
@media (max-width:460px){.tiles{grid-template-columns:1fr}.departments{grid-template-columns:1fr 1fr}.top-actions,.top-tools{gap:8px;font-size:12px}.topbar-inner{justify-content:center}}

.dept.wide h3{font-size:16px;letter-spacing:-.1px}.slide-copy .kicker{font-weight:800}.slide-copy{background:linear-gradient(90deg,rgba(6,53,84,.35),rgba(6,53,84,.9));}
@media (max-width:1200px){.departments{grid-template-columns:repeat(4,1fr)}.dept.wide{grid-column:span 1}}

@media (max-width:760px){.hero{width:calc(100% - 24px);margin-top:12px;border-radius:10px}.content-grid{grid-template-columns:1fr}.member{grid-column:auto}.departments{grid-template-columns:repeat(2,1fr)}}

/* V21 dropdown fix */
.nav-dropdown{position:relative;display:flex;align-items:center;z-index:60}
.nav-dropdown>a{display:inline-flex;align-items:center;gap:4px}
.dropdown-menu{display:none;position:absolute;right:0;top:100%;width:285px;max-width:calc(100vw - 32px);background:#fff;border:1px solid #dbe6ee;border-radius:12px;padding:8px;box-shadow:0 14px 30px rgba(20,45,70,.16);z-index:100;direction:rtl}
.dropdown-menu a{display:block!important;width:100%;padding:10px 12px!important;color:#183b53!important;border-radius:8px;white-space:normal!important;line-height:1.6;text-align:right;position:static!important}
.dropdown-menu a:after{display:none!important}
.dropdown-menu a:hover{background:#eef6fa}
.nav-dropdown:hover .dropdown-menu,.nav-dropdown:focus-within .dropdown-menu{display:block}
@media(max-width:900px){.nav-dropdown{display:block;position:relative}.dropdown-menu{position:absolute;right:0;top:calc(100% + 4px);width:min(285px,calc(100vw - 36px));display:none;box-shadow:0 14px 30px rgba(20,45,70,.16);border:1px solid #dbe6ee;background:#fff;padding:8px;z-index:100}.nav-dropdown:hover .dropdown-menu,.nav-dropdown:focus-within .dropdown-menu{display:block}}


/* Font-pack-based typography (uses local installed fonts; no font files bundled). */
.brand-en{font-family:IRTehran,IRHoma,Tahoma,"Segoe UI",sans-serif}
.nav, .nav a, .topbar, .btn, button{font-family:IRYekan,IRYekan-Bold,Tahoma,"Segoe UI",sans-serif}
.section-head h2, .panel-head h2, .dept h3, .member h2, .list-item h3, .slide-title{font-family:IRMitra,IRMitra-Bold,IRNazanin,Tahoma,"Segoe UI",sans-serif}

.nav-sub-dropdown{position:relative;}
.nav-sub-dropdown .dropdown-menu.sub{
 right:100%;
 top:0;
 width:230px;
}
.nav-sub-dropdown:hover>.dropdown-menu.sub,
.dropdown-menu.sub:hover{display:block;}

.board-period{margin-top:24px}
.board-members ul{margin:0;padding-right:20px}
.board-members li{line-height:2}


/* V42.1 — home-page center/content layout stabilization */
.content-grid{grid-template-columns:repeat(3,minmax(0,1fr));width:min(1480px,calc(100% - 48px));margin-left:auto;margin-right:auto}
.content-grid>.panel{min-width:0;max-width:100%}
.panel-head{min-width:0}
.panel-head h2{min-width:0;overflow-wrap:anywhere}
.list{min-width:0}
.list-item{min-width:0}
.list-item>div{min-width:0;overflow:hidden}
.list-item h3{max-width:100%;word-break:normal;overflow-wrap:anywhere}
.thumb{display:block;object-fit:cover;object-position:center;max-width:100%}
@media(max-width:1200px){
  .content-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .content-grid>.member{grid-column:1/-1}
}
@media(max-width:760px){
  .content-grid{grid-template-columns:1fr;width:calc(100% - 24px)}
  .content-grid>.member{grid-column:auto}
}

/* V42.2 — fix only the three reported homepage issues */
.content-grid .list-item{
  direction:rtl;
  display:grid;
  grid-template-columns:minmax(0,1fr) 112px;
  gap:14px;
  align-items:center;
  min-height:102px;
}
.content-grid .list-item>div{
  min-width:0;
  overflow:visible;
}
.content-grid .list-item h3{
  min-width:0;
  max-width:none;
  margin:4px 0 0;
  line-height:1.65;
  overflow:visible;
  white-space:normal;
  overflow-wrap:anywhere;
}
.content-grid .list-item .thumb{
  grid-column:2;
  grid-row:1;
  width:112px;
  height:70px;
  object-fit:cover;
  object-position:center;
}
.content-grid .list-item>div{
  grid-column:1;
  grid-row:1;
}
@media(max-width:1200px){
  .content-grid .list-item{grid-template-columns:minmax(0,1fr) 100px}
  .content-grid .list-item .thumb{width:100px}
}
@media(max-width:760px){
  .content-grid .list-item{grid-template-columns:minmax(0,1fr) 96px;gap:10px}
  .content-grid .list-item .thumb{width:96px;height:68px}
}





/* V46 — approved header: English | centered logo | Persian */
.main-header .header-inner{
  display:flex;
  flex-direction:column;
  align-items:stretch;
  gap:0;
  padding:14px 0 0;
}
.main-header .brand{
  display:grid;
  grid-template-columns:minmax(0,1fr) 120px minmax(0,1fr);
  grid-template-areas:"en logo fa";
  align-items:center;
  width:100%;
  min-width:0;
  column-gap:18px;
  padding:0 0 16px;
  direction:ltr;
}
.main-header .brand-side{min-width:0;display:flex;align-items:center;overflow:hidden}
.main-header .brand-side-en{grid-area:en;justify-content:flex-start;direction:ltr;text-align:left}
.main-header .brand-center{grid-area:logo;width:120px;height:120px;display:flex;align-items:center;justify-content:center;justify-self:center}
.main-header .brand-logo{display:block;width:120px;height:120px;object-fit:contain}
.main-header .brand-side-fa{grid-area:fa;justify-content:flex-end;direction:rtl;text-align:right}
.main-header .brand-name-text{display:block;max-width:100%;margin:0;padding:0;color:var(--navy);font-family:IRMitra,IRNazanin,Tahoma,"Segoe UI",sans-serif;font-size:clamp(24px,1.82vw,29px);font-weight:700;line-height:1.2;direction:rtl;text-align:right;white-space:nowrap;overflow:hidden;text-overflow:clip;letter-spacing:0}
.main-header .brand-en-text{display:block;max-width:100%;margin:0;padding:0;color:var(--navy);font-family:"IBM Plex Sans Condensed","Roboto Condensed","Arial Narrow",Arial,sans-serif;font-size:clamp(21px,1.65vw,27px);font-weight:700;line-height:1.15;direction:ltr;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:clip;letter-spacing:-0.25px}

/* V46 top-level information architecture */
.nav-dropdown{position:relative;display:flex;align-items:center;z-index:60}
.nav-dropdown>a{display:inline-flex;align-items:center;gap:4px}
.dropdown-menu{display:none;position:absolute;right:0;top:100%;width:285px;max-width:calc(100vw - 32px);background:#fff;border:1px solid #dbe6ee;border-radius:12px;padding:8px;box-shadow:0 14px 30px rgba(20,45,70,.16);z-index:100;direction:rtl}
.dropdown-menu a{display:block!important;width:100%;padding:10px 12px!important;color:#183b53!important;border-radius:8px;white-space:normal!important;line-height:1.6;text-align:right;position:static!important}
.dropdown-menu a:after{display:none!important}
.dropdown-menu a:hover{background:#eef6fa}
.nav-dropdown:hover>.dropdown-menu,.nav-dropdown:focus-within>.dropdown-menu,.nav-dropdown.open>.dropdown-menu{display:block}
.nav-sub-dropdown{position:relative}
.nav-sub-dropdown>.nav-parent{display:flex!important;align-items:center;justify-content:space-between;gap:8px}
.nav-sub-dropdown .dropdown-menu.sub{right:100%;top:0;width:235px}
.nav-sub-dropdown:hover>.dropdown-menu.sub,.nav-sub-dropdown:focus-within>.dropdown-menu.sub,.nav-sub-dropdown.open>.dropdown-menu.sub{display:block}
.nav-sub-dropdown .chev{font-size:15px}

@media(max-width:1100px){
  .main-header .brand{grid-template-columns:minmax(0,1fr) 104px minmax(0,1fr);column-gap:14px}
  .main-header .brand-center,.main-header .brand-logo{width:104px;height:104px}
  .main-header .brand-name-text{font-size:clamp(20px,1.9vw,25px)}
  .main-header .brand-en-text{font-size:clamp(18px,1.8vw,23px)}
}
@media(max-width:900px){
  .nav-dropdown,.nav-sub-dropdown{display:block;position:relative}
  .dropdown-menu,.nav-sub-dropdown .dropdown-menu.sub{position:static;width:100%;max-width:none;margin-top:4px;box-shadow:none;border:1px solid #dbe6ee;background:#fff;padding:8px}
  .nav-sub-dropdown .dropdown-menu.sub{padding-right:12px;border-right:3px solid #dbe6ee;border-top:0;border-bottom:0;border-left:0;border-radius:0}
  .nav-dropdown:hover>.dropdown-menu,.nav-sub-dropdown:hover>.dropdown-menu.sub{display:none}
  .nav-dropdown.open>.dropdown-menu,.nav-sub-dropdown.open>.dropdown-menu.sub,.nav-dropdown:focus-within>.dropdown-menu,.nav-sub-dropdown:focus-within>.dropdown-menu.sub{display:block}
}
@media(max-width:760px){
  .main-header .brand{grid-template-columns:minmax(0,1fr) 82px minmax(0,1fr);column-gap:10px;padding-bottom:12px}
  .main-header .brand-center,.main-header .brand-logo{width:82px;height:82px}
  .main-header .brand-name-text{font-size:18px;line-height:1.25;white-space:normal;overflow:visible}
  .main-header .brand-en-text{font-size:15px;line-height:1.2;white-space:normal;overflow:visible}
}


/* V46.2 — header typography and collision fix
   Official name artwork is used for predictable optical proportions. */
.main-header .brand{
  grid-template-columns:minmax(0,1fr) 132px minmax(0,1fr);
  grid-template-areas:"en logo fa";
  column-gap:24px;
  align-items:center;
}
.main-header .brand-side{
  min-width:0;
  min-height:54px;
  display:flex;
  align-items:center;
  overflow:visible;
}
.main-header .brand-side-en{justify-content:flex-start;padding-left:8px;}
.main-header .brand-side-fa{justify-content:flex-end;padding-right:8px;}
.main-header .brand-name-image-fa,
.main-header .brand-name-image-en{
  display:block;
  width:auto;
  height:auto;
  max-width:100%;
  flex:0 1 auto;
}
.main-header .brand-name-image-fa{height:46px;}
.main-header .brand-name-image-en{height:44px;}
.main-header .brand-center{width:132px;height:132px;flex:none;}
.main-header .brand-logo{width:132px;height:132px;object-fit:contain;}

@media(max-width:1100px){
  .main-header .brand{grid-template-columns:minmax(0,1fr) 108px minmax(0,1fr);column-gap:16px;}
  .main-header .brand-center,.main-header .brand-logo{width:108px;height:108px;}
  .main-header .brand-name-image-fa{height:34px;}
  .main-header .brand-name-image-en{height:34px;}
  .main-header .brand-side-en,.main-header .brand-side-fa{padding-left:0;padding-right:0;}
}

@media(max-width:760px){
  .main-header .brand{
    grid-template-columns:1fr 1fr;
    grid-template-areas:"logo logo" "en fa";
    column-gap:14px;
    row-gap:10px;
    padding-bottom:14px;
  }
  .main-header .brand-center{width:84px;height:84px;justify-self:center;}
  .main-header .brand-logo{width:84px;height:84px;}
  .main-header .brand-side{min-height:36px;width:100%;padding:0;justify-content:center;}
  .main-header .brand-name-image-fa{height:27px;}
  .main-header .brand-name-image-en{height:23px;}
}

@media(max-width:520px){
  .main-header .brand{
    grid-template-columns:1fr;
    grid-template-areas:"logo" "fa" "en";
    row-gap:6px;
  }
  .main-header .brand-side{min-height:0;}
  .main-header .brand-name-image-fa{height:30px;}
  .main-header .brand-name-image-en{height:22px;}
}

/* V46.3 — bilingual header visual test
   Persian name: right-aligned toward the centered logo.
   English name: left-aligned toward the centered logo.
   The logo remains in a protected center column. */
.main-header .brand{
  grid-template-columns:minmax(0,1fr) 132px minmax(0,1fr);
  grid-template-areas:"en logo fa";
  column-gap:12px;
  align-items:center;
  padding-bottom:16px;
}
.main-header .brand-side{
  min-width:0;
  min-height:64px;
  display:flex;
  align-items:center;
  overflow:hidden;
}
.main-header .brand-side-en{
  grid-area:en;
  justify-content:flex-start;
  direction:ltr;
  text-align:left;
  padding-left:0;
}
.main-header .brand-side-fa{
  grid-area:fa;
  justify-content:flex-end;
  direction:rtl;
  text-align:right;
  padding-right:0;
}
.main-header .brand-center{
  grid-area:logo;
  width:132px;
  height:132px;
  justify-self:center;
}
.main-header .brand-logo{
  display:block;
  width:132px;
  height:132px;
  object-fit:contain;
}
.main-header .brand-name-image-fa,
.main-header .brand-name-image-en{
  display:block;
  width:100%;
  height:auto;
  max-width:100%;
  object-fit:contain;
}

@media(max-width:1100px){
  .main-header .brand{
    grid-template-columns:minmax(0,1fr) 108px minmax(0,1fr);
    column-gap:10px;
  }
  .main-header .brand-center,
  .main-header .brand-logo{
    width:108px;
    height:108px;
  }
  .main-header .brand-side{min-height:54px;}
}

@media(max-width:760px){
  .main-header .brand{
    grid-template-columns:1fr 1fr;
    grid-template-areas:"logo logo" "en fa";
    column-gap:14px;
    row-gap:10px;
    padding-bottom:14px;
  }
  .main-header .brand-center{
    width:84px;
    height:84px;
    justify-self:center;
  }
  .main-header .brand-logo{
    width:84px;
    height:84px;
  }
  .main-header .brand-side{
    min-height:32px;
    width:100%;
  }
  .main-header .brand-side-en{
    justify-content:flex-start;
  }
  .main-header .brand-side-fa{
    justify-content:flex-end;
  }
  .main-header .brand-name-image-fa,
  .main-header .brand-name-image-en{
    width:100%;
    max-width:100%;
  }
}

@media(max-width:520px){
  .main-header .brand{
    grid-template-columns:1fr;
    grid-template-areas:"logo" "fa" "en";
    row-gap:7px;
  }
  .main-header .brand-side{
    min-height:0;
  }
  .main-header .brand-side-fa,
  .main-header .brand-side-en{
    justify-content:center;
  }
  .main-header .brand-name-image-fa{width:min(100%,520px);}
  .main-header .brand-name-image-en{width:min(100%,560px);}
}


/* V46.5 — Persian-only identity header
   Persian pages show only the official Persian association name.
   English identity artwork is retained in assets for the future English site. */
.main-header .brand{
  grid-template-columns:minmax(0,1fr) 132px minmax(0,1fr);
  grid-template-areas:"spacer logo fa";
  column-gap:18px;
  align-items:center;
  direction:ltr;
  padding-bottom:16px;
}
.main-header .brand-side-spacer{
  grid-area:spacer;
  min-width:0;
  min-height:68px;
}
.main-header .brand-side-fa{
  grid-area:fa;
  min-width:0;
  min-height:68px;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  padding:0;
  overflow:visible;
  direction:rtl;
  text-align:right;
}
.main-header .brand-name-fa{
  display:block;
  width:100%;
  margin:0;
  padding:0;
  color:var(--navy);
  font-family:IRMitra,IRNazanin,Tahoma,"Segoe UI",sans-serif;
  font-size:clamp(25px,2vw,33px);
  font-weight:700;
  line-height:1.25;
  direction:rtl;
  text-align:right;
  white-space:normal;
}
.main-header .brand-center{
  grid-area:logo;
  width:132px;
  height:132px;
  justify-self:center;
}
.main-header .brand-logo{
  width:132px;
  height:132px;
  object-fit:contain;
}
@media(max-width:1100px){
  .main-header .brand{grid-template-columns:minmax(0,1fr) 108px minmax(0,1fr);column-gap:14px;}
  .main-header .brand-center,.main-header .brand-logo{width:108px;height:108px;}
  .main-header .brand-side-spacer,.main-header .brand-side-fa{min-height:58px;}
  .main-header .brand-name-fa{font-size:clamp(22px,2.1vw,28px);}
}
@media(max-width:760px){
  .main-header .brand{
    grid-template-columns:1fr;
    grid-template-areas:"logo" "fa";
    row-gap:10px;
    padding-bottom:14px;
  }
  .main-header .brand-side-spacer{display:none;}
  .main-header .brand-center,.main-header .brand-logo{width:84px;height:84px;}
  .main-header .brand-side-fa{
    width:100%;
    min-height:0;
    justify-content:center;
  }
  .main-header .brand-name-fa{
    width:100%;
    font-size:clamp(21px,5.4vw,27px);
    line-height:1.3;
    text-align:center;
  }
}
@media(max-width:520px){
  .main-header .brand-name-fa{font-size:clamp(19px,5.8vw,24px);}
}


/* V46.6 — Persian header: left logo + one-line Persian identity */
.main-header .brand{
  display:grid;
  grid-template-columns:132px minmax(0,1fr);
  grid-template-areas:"logo fa";
  align-items:center;
  column-gap:26px;
  width:100%;
  min-width:0;
  padding:0 0 16px;
  direction:ltr;
}
.main-header .brand-center{
  grid-area:logo;
  width:132px;
  height:132px;
  display:flex;
  align-items:center;
  justify-content:center;
  justify-self:start;
}
.main-header .brand-logo{
  display:block;
  width:132px;
  height:132px;
  object-fit:contain;
}
.main-header .brand-side-fa{
  grid-area:fa;
  min-width:0;
  min-height:64px;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  direction:rtl;
  text-align:right;
  overflow:visible;
}
.main-header .brand-name-fa{
  display:block;
  width:100%;
  max-width:none;
  color:var(--navy);
  font-family:IRMitra,IRNazanin,Tahoma,"Segoe UI",sans-serif;
  font-size:clamp(26px,2.35vw,38px);
  font-weight:800;
  line-height:1.1;
  direction:rtl;
  text-align:right;
  white-space:nowrap;
  overflow:visible;
  letter-spacing:0;
}
@media(max-width:1100px){
  .main-header .brand{grid-template-columns:108px minmax(0,1fr);column-gap:20px;}
  .main-header .brand-center,.main-header .brand-logo{width:108px;height:108px;}
  .main-header .brand-side-fa{min-height:54px;}
  .main-header .brand-name-fa{font-size:clamp(23px,2.65vw,31px);}
}
@media(max-width:760px){
  .main-header .brand{grid-template-columns:84px minmax(0,1fr);column-gap:14px;padding-bottom:12px;}
  .main-header .brand-center,.main-header .brand-logo{width:84px;height:84px;}
  .main-header .brand-side-fa{min-height:40px;}
  .main-header .brand-name-fa{font-size:clamp(16px,4.6vw,23px);white-space:nowrap;overflow:hidden;text-overflow:clip;}
}
@media(max-width:430px){
  .main-header .brand{grid-template-columns:68px minmax(0,1fr);column-gap:10px;}
  .main-header .brand-center,.main-header .brand-logo{width:68px;height:68px;}
  .main-header .brand-name-fa{font-size:clamp(13px,4.15vw,18px);}
}

/* V46.16 shared search and placeholder-link polish */
.site-search-results{width:100%;display:grid;gap:8px;max-height:50vh;overflow:auto;margin-top:4px}
.site-search-result{display:block;text-decoration:none;color:var(--ink);background:#f7fbfd;border:1px solid var(--line);border-radius:10px;padding:11px 13px}
.site-search-result:hover,.site-search-result:focus-visible{background:#eef7fb;border-color:#b8d4e3;outline:none}
.site-search-result strong{display:block;color:var(--navy);font-size:13px;line-height:1.5}
.site-search-result small{display:block;color:var(--muted);font-size:11px;line-height:1.5;margin-top:3px}
.site-search-empty{padding:12px;border:1px dashed #b8d4e3;border-radius:10px;color:var(--muted);font-size:12px;line-height:1.6}
.disabled-link{display:inline-flex;align-items:center;justify-content:center;border-radius:8px;padding:9px 13px;background:#eef3f6;color:#475966;text-decoration:none;cursor:not-allowed}
.socials span{width:34px;height:34px;border:1px solid rgba(255,255,255,.25);border-radius:50%;display:grid;place-items:center;margin:0;color:#d2e6f0;font-size:12px}
@media(max-width:760px){.search-box{max-height:85vh;overflow:auto}.site-search-results{max-height:45vh}}

/* V46.32 — identical physical marquee mechanics on Persian + English */
.sponsor-section{margin-top:28px;margin-bottom:34px;overflow:hidden}
.sponsor-head{margin-bottom:14px;align-items:center}
.sponsor-head>div{min-width:0}
.sponsor-head p{margin:5px 0 0;color:var(--muted);font-size:13px}
.sponsor-head>a{color:var(--blue);font-weight:800;font-size:13px;white-space:nowrap}
.sponsor-marquee{position:relative;overflow:hidden;border:1px solid var(--line);border-radius:16px;background:linear-gradient(135deg,#fff,#f7fbfe);box-shadow:0 7px 20px rgba(7,59,100,.05);padding:10px 0;direction:ltr}
.sponsor-marquee:before,.sponsor-marquee:after{content:"";position:absolute;top:0;bottom:0;width:40px;z-index:2;pointer-events:none}
.sponsor-marquee:before{left:0;background:linear-gradient(90deg,#fff,rgba(255,255,255,0))}
.sponsor-marquee:after{right:0;background:linear-gradient(270deg,#fff,rgba(255,255,255,0))}
.sponsor-track{display:flex;flex-wrap:nowrap;width:max-content;min-width:max-content;direction:ltr;animation:none;will-change:transform;transform:translate3d(0,0,0)}
.sponsor-set{display:flex;flex:0 0 auto;gap:10px;padding:0 5px;direction:ltr}
.sponsor-card{flex:0 0 260px;display:grid;direction:ltr;grid-template-columns:72px minmax(0,1fr);align-items:center;gap:9px;padding:10px 12px;border:1px solid var(--line);border-radius:11px;background:#fff;color:var(--navy);text-decoration:none;box-shadow:0 4px 12px rgba(7,59,100,.055);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.sponsor-card:hover,.sponsor-card:focus-visible{transform:translateY(-2px);box-shadow:0 8px 18px rgba(7,59,100,.10);border-color:rgba(7,59,100,.22)}
.sponsor-card .sponsor-logo{width:72px;height:48px;display:flex;align-items:center;justify-content:center;flex:0 0 72px;border-radius:8px;background:#fff;overflow:hidden;padding:4px;box-sizing:border-box}
.sponsor-logo img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;display:block}
.sponsor-card strong{display:block;font-size:14px;line-height:1.28;overflow-wrap:anywhere}
.sponsor-card small{display:block;margin-top:2px;color:var(--muted);font-size:10.5px;line-height:1.3;overflow-wrap:anywhere}

html[dir="rtl"] .sponsor-card>span:nth-of-type(2){direction:rtl;text-align:right}
html[dir="ltr"] .sponsor-card>span:nth-of-type(2){direction:ltr;text-align:left}
.sponsor-marquee:hover .sponsor-track,.sponsor-marquee:focus-within .sponsor-track{animation-play-state:paused}
@keyframes sponsorScroll{from{transform:translate3d(0,0,0)}to{transform:translate3d(-25%,0,0)}}
@media (prefers-reduced-motion:reduce){.sponsor-track{animation:none;transform:none}.sponsor-set-duplicate{display:none}}
@media (max-width:760px){.sponsor-head{align-items:flex-start;flex-direction:column;gap:8px}.sponsor-card{flex-basis:240px;grid-template-columns:64px minmax(0,1fr);padding:9px 10px;gap:8px}.sponsor-card .sponsor-logo{width:64px;height:44px;flex-basis:64px}.sponsor-marquee:before,.sponsor-marquee:after{width:24px}}

/* V46.36 integrated Member Portal */

.member-login-gateway .gateway-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:22px}.gateway-card{display:flex;flex-direction:column;gap:7px;padding:18px;border:1px solid var(--line);border-radius:14px;text-decoration:none;color:var(--ink);background:#fff}.gateway-card:hover{border-color:#b88a9b;box-shadow:0 6px 20px rgba(20,30,40,.06)}.gateway-card strong{color:var(--accent);font-size:16px}.gateway-card span{color:var(--muted);font-size:12px;line-height:1.7}.gateway-note{margin-top:18px;padding:12px 14px;border:1px dashed #d7c0ca;border-radius:10px;background:#fbf7f9;color:#6f3348;font-size:11px;line-height:1.7}@media(max-width:800px){.member-login-gateway .gateway-grid{grid-template-columns:1fr}}

.guidelines-home{justify-content:flex-start!important;text-align:center!important;padding:22px 20px!important}.guidelines-home p{margin-bottom:12px!important}.guideline-filter-label{font-size:12px;font-weight:800;color:var(--navy);margin:8px 0 7px}.guideline-filter-row{display:flex;flex-wrap:wrap;gap:7px;justify-content:center;margin-bottom:6px}.guideline-filter-btn{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;border:1px solid rgba(7,59,100,.18);background:#fff;color:var(--navy);border-radius:999px;padding:7px 10px;font-size:12px;font-weight:800;line-height:1.35;transition:transform .15s,background .15s,color .15s}.guideline-filter-btn:hover{transform:translateY(-1px);background:var(--navy);color:#fff}.scope-row .guideline-filter-btn{padding-inline:14px}.guideline-library-btn{margin-top:10px!important}.guidelines-home .guideline-filter-btn:focus-visible{outline:3px solid rgba(22,143,230,.3);outline-offset:2px}
@media (max-width:760px){.guidelines-home{padding:20px 14px!important}.guideline-filter-btn{font-size:11px;padding:6px 8px}.scope-row .guideline-filter-btn{padding-inline:12px}}

.guidelines-box-icon{display:flex;justify-content:center;align-items:center;margin:0 auto 8px;width:76px;height:76px;border-radius:18px;background:#eef8ff;overflow:hidden}.guidelines-box-icon img{width:100%;height:100%;object-fit:cover;display:block}.guide-card .card-top{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:10px}.guide-card .card-icon{width:42px;height:42px;object-fit:cover;border-radius:10px;display:block}.guide-card .card-top h3{min-width:0;margin:0}.guide-card .card-top .code{white-space:nowrap}

/* V46.63 — language-aware main-menu submenu alignment */
html[dir="rtl"] .nav > .nav-dropdown > .dropdown-menu,
html[dir="rtl"] .nav .nav-sub-dropdown > .dropdown-menu.sub {
  direction: rtl;
  text-align: right;
}
html[dir="rtl"] .nav > .nav-dropdown > .dropdown-menu {
  left: auto;
  right: 0;
}
html[dir="rtl"] .nav .nav-sub-dropdown > .dropdown-menu.sub {
  left: auto;
  right: 100%;
}
html[dir="rtl"] .nav .dropdown-menu a {
  direction: rtl;
  text-align: right;
}

html[dir="ltr"] .nav > .nav-dropdown > .dropdown-menu,
html[dir="ltr"] .nav .nav-sub-dropdown > .dropdown-menu.sub {
  direction: ltr;
  text-align: left;
}
html[dir="ltr"] .nav > .nav-dropdown > .dropdown-menu {
  left: 0;
  right: auto;
}
html[dir="ltr"] .nav .nav-sub-dropdown > .dropdown-menu.sub {
  left: 100%;
  right: auto;
}
html[dir="ltr"] .nav .dropdown-menu a {
  direction: ltr;
  text-align: left;
}

@media (max-width:900px){
  html[dir="ltr"] .nav .nav-sub-dropdown .dropdown-menu.sub {
    left: auto;
    right: auto;
    border-left: 3px solid #dbe6ee;
    border-right: 0;
  }
  html[dir="rtl"] .nav .nav-sub-dropdown .dropdown-menu.sub {
    left: auto;
    right: auto;
    border-right: 3px solid #dbe6ee;
    border-left: 0;
  }
}

/* V46.98 — equal-height homepage News / Events / Guidelines panels */
.content-grid{align-items:stretch}
.content-grid>#events,
.content-grid>#news,
.content-grid>#guidelines-library{align-self:stretch;height:100%;min-height:0}
.content-grid>#events .list,
.content-grid>#news .list{padding-bottom:0}
.content-grid>#events .list-item,
.content-grid>#news .list-item{min-height:0;padding-top:10px;padding-bottom:10px}
@media(max-width:760px){
  .content-grid>#events,
  .content-grid>#news,
  .content-grid>#guidelines-library{height:auto;align-self:stretch}
  .content-grid>#events .list-item,
  .content-grid>#news .list-item{padding-top:9px;padding-bottom:9px}
}

/* V46.100 — English homepage parity and readable News/Event rows */
html[dir="ltr"] .iascl-home .content-grid>.panel{direction:ltr;text-align:left}
html[dir="ltr"] .iascl-home .content-grid>#events .list-item,
html[dir="ltr"] .iascl-home .content-grid>#news .list-item{
  direction:ltr;
  grid-template-columns:minmax(0,1fr) 112px;
}
html[dir="ltr"] .iascl-home .content-grid>#events .list-item>div,
html[dir="ltr"] .iascl-home .content-grid>#news .list-item>div{
  grid-column:1;
  text-align:left;
}
html[dir="ltr"] .iascl-home .content-grid>#events .list-item .thumb,
html[dir="ltr"] .iascl-home .content-grid>#news .list-item .thumb{
  grid-column:2;
  grid-row:1;
}
html[dir="ltr"] .iascl-home .content-grid>#events .panel-head,
html[dir="ltr"] .iascl-home .content-grid>#news .panel-head{
  direction:ltr;
}
html[dir="ltr"] .iascl-home .content-grid>#events .list-item h3,
html[dir="ltr"] .iascl-home .content-grid>#news .list-item h3,
html[dir="ltr"] .iascl-home .content-grid>#events .list-item small,
html[dir="ltr"] .iascl-home .content-grid>#news .list-item small{
  text-align:left;
}
html[dir="rtl"] .iascl-home .content-grid>.panel{direction:rtl}
html[dir="rtl"] .iascl-home .content-grid>#events .list-item,
html[dir="rtl"] .iascl-home .content-grid>#news .list-item{direction:rtl}

@media(max-width:760px){
  html[dir="ltr"] .iascl-home .content-grid>#events .list-item,
  html[dir="ltr"] .iascl-home .content-grid>#news .list-item{grid-template-columns:minmax(0,1fr) 96px}
  html[dir="ltr"] .iascl-home .content-grid>#events .list-item .thumb,
  html[dir="ltr"] .iascl-home .content-grid>#news .list-item .thumb{width:96px;height:64px}
}
/* V46.105 — homepage feature rows with content-aware excerpts */
.iascl-home .content-grid>#news .list,
.iascl-home .content-grid>#events .list{display:flex;flex-direction:column;gap:0}
.iascl-home .content-grid>#news .list-item,
.iascl-home .content-grid>#events .list-item{flex:1 1 0;min-height:0;align-items:center}
.iascl-home .content-grid .home-feature-copy{min-width:0;display:flex;flex-direction:column;justify-content:center;min-height:0}
.iascl-home .content-grid .home-feature-excerpt{margin:.25rem 0 0;line-height:1.45;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical}
html[dir="ltr"] .iascl-home .content-grid .home-feature-copy{text-align:left;direction:ltr}
html[dir="rtl"] .iascl-home .content-grid .home-feature-copy{text-align:right;direction:rtl}
@media(max-width:760px){
  .iascl-home .content-grid .home-feature-excerpt{line-height:1.35}
}
/* V46.105 — content-aware homepage excerpts with ellipsis when truncation is necessary */
.iascl-home .content-grid>#news .list,
.iascl-home .content-grid>#events .list{display:flex;flex-direction:column;gap:0}
.iascl-home .content-grid>#news .list-item,
.iascl-home .content-grid>#events .list-item{flex:1 1 0;min-height:0;align-items:center}
.iascl-home .content-grid .home-feature-copy{min-width:0;display:flex;flex-direction:column;justify-content:center;min-height:0;overflow:hidden}
.iascl-home .content-grid .home-feature-excerpt{margin:.25rem 0 0;line-height:1.45;overflow:hidden}
html[dir="ltr"] .iascl-home .content-grid .home-feature-copy{text-align:left;direction:ltr}
html[dir="rtl"] .iascl-home .content-grid .home-feature-copy{text-align:right;direction:rtl}
html[dir="ltr"] .iascl-home .content-grid>#news .list-item,
html[dir="ltr"] .iascl-home .content-grid>#events .list-item{grid-template-columns:minmax(0,1fr) 112px}
html[dir="ltr"] .iascl-home .content-grid>#news .list-item .thumb,
html[dir="ltr"] .iascl-home .content-grid>#events .list-item .thumb{grid-column:2;grid-row:1}
html[dir="ltr"] .iascl-home .content-grid>#news .list-item>div,
html[dir="ltr"] .iascl-home .content-grid>#events .list-item>div{grid-column:1}
@media(max-width:760px){
  .iascl-home .content-grid .home-feature-excerpt{line-height:1.35}
  html[dir="ltr"] .iascl-home .content-grid>#news .list-item,
  html[dir="ltr"] .iascl-home .content-grid>#events .list-item{grid-template-columns:minmax(0,1fr) 96px}
}

/* V46.105 — definitive homepage News/Events layout repair
   Stable row sizing + bilingual direction + content-aware excerpts. */
.iascl-home .content-grid > #news.panel,
.iascl-home .content-grid > #events.panel,
.iascl-home .content-grid > #guidelines-library.panel{
  display:flex;
  flex-direction:column;
  min-height:0;
  height:100%;
}
.iascl-home .content-grid > #news .list,
.iascl-home .content-grid > #events .list{
  flex:1 1 auto;
  min-height:0;
  display:flex;
  flex-direction:column;
  padding:0 20px;
  overflow:hidden;
}
.iascl-home .content-grid > #news .list-item,
.iascl-home .content-grid > #events .list-item{
  flex:1 1 0;
  min-height:0;
  height:auto;
  display:grid;
  align-items:center;
  overflow:hidden;
  padding:8px 0;
  gap:14px;
}
.iascl-home .content-grid .home-feature-copy{
  min-width:0;
  min-height:0;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.iascl-home .content-grid .home-feature-copy small{
  flex:0 0 auto;
  margin:0;
}
.iascl-home .content-grid .home-feature-copy h3{
  flex:0 0 auto;
  min-width:0;
  margin:4px 0 0;
  line-height:1.5;
  overflow:hidden;
  text-overflow:ellipsis;
}
.iascl-home .content-grid .home-feature-excerpt{
  flex:0 1 auto;
  min-width:0;
  margin:.25rem 0 0;
  line-height:1.45;
  overflow:hidden;
}
.iascl-home .content-grid .list-item .thumb{
  display:block;
  width:112px;
  height:70px;
  object-fit:cover;
  object-position:center;
  border-radius:10px;
}
html[dir="ltr"] .iascl-home .content-grid > #news .list-item,
html[dir="ltr"] .iascl-home .content-grid > #events .list-item{
  direction:ltr;
  grid-template-columns:minmax(0,1fr) 112px;
}
html[dir="ltr"] .iascl-home .content-grid > #news .list-item > .home-feature-copy,
html[dir="ltr"] .iascl-home .content-grid > #events .list-item > .home-feature-copy{
  grid-column:1; text-align:left; direction:ltr;
}
html[dir="ltr"] .iascl-home .content-grid > #news .list-item > .thumb,
html[dir="ltr"] .iascl-home .content-grid > #events .list-item > .thumb{
  grid-column:2; grid-row:1;
}
html[dir="rtl"] .iascl-home .content-grid > #news .list-item,
html[dir="rtl"] .iascl-home .content-grid > #events .list-item{
  direction:rtl;
  grid-template-columns:112px minmax(0,1fr);
}
html[dir="rtl"] .iascl-home .content-grid > #news .list-item > .home-feature-copy,
html[dir="rtl"] .iascl-home .content-grid > #events .list-item > .home-feature-copy{
  grid-column:2; text-align:right; direction:rtl;
}
html[dir="rtl"] .iascl-home .content-grid > #news .list-item > .thumb,
html[dir="rtl"] .iascl-home .content-grid > #events .list-item > .thumb{
  grid-column:1; grid-row:1;
}
@media(max-width:760px){
  .iascl-home .content-grid > #news .list,
  .iascl-home .content-grid > #events .list{padding:0 14px}
  .iascl-home .content-grid > #news .list-item,
  .iascl-home .content-grid > #events .list-item{padding:7px 0;gap:10px}
  html[dir="ltr"] .iascl-home .content-grid > #news .list-item,
  html[dir="ltr"] .iascl-home .content-grid > #events .list-item,
  html[dir="rtl"] .iascl-home .content-grid > #news .list-item,
  html[dir="rtl"] .iascl-home .content-grid > #events .list-item{grid-template-columns:minmax(0,1fr) 96px}
  html[dir="ltr"] .iascl-home .content-grid > #news .list-item > .thumb,
  html[dir="ltr"] .iascl-home .content-grid > #events .list-item > .thumb,
  html[dir="rtl"] .iascl-home .content-grid > #news .list-item > .thumb,
  html[dir="rtl"] .iascl-home .content-grid > #events .list-item > .thumb{grid-column:2;width:96px;height:64px}
  html[dir="rtl"] .iascl-home .content-grid > #news .list-item > .home-feature-copy,
  html[dir="rtl"] .iascl-home .content-grid > #events .list-item > .home-feature-copy{grid-column:1}
}


/* V46.105 — whole-line homepage feature rendering; prevents partial glyph clipping. */
.iascl-home .content-grid > #news .list-item h3,
.iascl-home .content-grid > #events .list-item h3{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  max-height:none;
  overflow:hidden;
  line-height:1.5;
}
.iascl-home .content-grid > #news .list-item .home-feature-excerpt,
.iascl-home .content-grid > #events .list-item .home-feature-excerpt{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.iascl-home .content-grid > #news .list-item .thumb,
.iascl-home .content-grid > #events .list-item .thumb{
  width:112px;
  height:70px;
  object-fit:cover;
  display:block;
  flex:none;
}
html[dir="ltr"] .iascl-home .content-grid > #news .list-item,
html[dir="ltr"] .iascl-home .content-grid > #events .list-item{
  grid-template-columns:minmax(0,1fr) 112px;
}
html[dir="rtl"] .iascl-home .content-grid > #news .list-item,
html[dir="rtl"] .iascl-home .content-grid > #events .list-item{
  grid-template-columns:112px minmax(0,1fr);
}
@media(max-width:760px){
  .iascl-home .content-grid > #news .list-item .thumb,
  .iascl-home .content-grid > #events .list-item .thumb{width:96px;height:68px}
  html[dir="ltr"] .iascl-home .content-grid > #news .list-item,
  html[dir="ltr"] .iascl-home .content-grid > #events .list-item{grid-template-columns:minmax(0,1fr) 96px}
  html[dir="rtl"] .iascl-home .content-grid > #news .list-item,
  html[dir="rtl"] .iascl-home .content-grid > #events .list-item{grid-template-columns:96px minmax(0,1fr)}
}


/* Homepage detail modal */
.home-detail-modal{position:fixed;inset:0;background:rgba(4,28,44,.68);display:none;align-items:center;justify-content:center;padding:18px;z-index:3500}
.home-detail-modal.show{display:flex}
.home-detail-box{width:min(980px,100%);max-height:90vh;overflow:auto;background:#fff;border-radius:18px;box-shadow:0 24px 70px rgba(0,0,0,.25);position:relative}
.home-detail-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:20px 24px 12px;border-bottom:1px solid var(--line)}
.home-detail-head h2{margin:0;color:var(--navy);font-size:24px;line-height:1.55}
.home-detail-close{border:0;background:#edf5fa;color:var(--navy);width:38px;height:38px;min-width:38px;padding:0;margin:0;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;border-radius:50%;font-size:24px;line-height:1;font-family:Segoe UI,Arial,sans-serif;cursor:pointer;flex:none;text-align:center}
.home-detail-body{padding:22px 24px 26px;line-height:1.9;color:#334f62}
.home-detail-meta{color:#425a6f;font-size:13px;margin-bottom:16px}
.home-detail-grid{display:grid;grid-template-columns:minmax(220px,.8fr) minmax(0,1.2fr);gap:24px;align-items:start}
.home-detail-media img{display:block;width:100%;max-height:62vh;object-fit:contain;border-radius:12px;background:#f2f6f9}
.home-detail-copy p{margin:0 0 14px}
.home-detail-fields{display:grid;gap:11px;margin-top:16px}
.home-detail-field{padding-bottom:10px;border-bottom:1px solid #e5eef4}
.home-detail-field:last-child{border-bottom:0}
.home-detail-field strong{display:block;font-size:11px;color:#425a6b;margin-bottom:3px}
.home-detail-source{margin-top:14px;padding-top:14px;border-top:1px solid #e2ebf1}
.home-detail-source a{color:#0b557f}
.home-detail-posters{display:grid;gap:12px}
.home-detail-posters img{display:block;width:100%;height:auto;max-height:60vh;object-fit:contain;border-radius:10px;background:#f2f6f9}
@media(max-width:700px){.home-detail-modal{padding:8px}.home-detail-box{max-height:96vh;border-radius:14px}.home-detail-head{padding:16px 16px 10px}.home-detail-head h2{font-size:20px}.home-detail-body{padding:16px}.home-detail-grid{grid-template-columns:1fr;gap:16px}.home-detail-media{order:0}.home-detail-copy{order:1}}


/* V46.107 — final homepage direction and interaction guard.
   Persian: RTL text with images on the left.
   English: LTR text with images on the right.
   These rules are deliberately last to prevent older homepage patches from overriding them. */
html[dir="rtl"] .iascl-home .content-grid > #news .list-item,
html[dir="rtl"] .iascl-home .content-grid > #events .list-item{
  direction:rtl;
  grid-template-columns:minmax(0,1fr) 112px;
}
html[dir="rtl"] .iascl-home .content-grid > #news .list-item > .home-feature-copy,
html[dir="rtl"] .iascl-home .content-grid > #events .list-item > .home-feature-copy{
  grid-column:1;
  grid-row:1;
  text-align:right;
  direction:rtl;
}
html[dir="rtl"] .iascl-home .content-grid > #news .list-item > .thumb,
html[dir="rtl"] .iascl-home .content-grid > #events .list-item > .thumb{
  grid-column:2;
  grid-row:1;
  justify-self:end;
}
html[dir="ltr"] .iascl-home .content-grid > #news .list-item,
html[dir="ltr"] .iascl-home .content-grid > #events .list-item{
  direction:ltr;
  grid-template-columns:minmax(0,1fr) 112px;
}
html[dir="ltr"] .iascl-home .content-grid > #news .list-item > .home-feature-copy,
html[dir="ltr"] .iascl-home .content-grid > #events .list-item > .home-feature-copy{
  grid-column:1;
  grid-row:1;
  text-align:left;
  direction:ltr;
}
html[dir="ltr"] .iascl-home .content-grid > #news .list-item > .thumb,
html[dir="ltr"] .iascl-home .content-grid > #events .list-item > .thumb{
  grid-column:2;
  grid-row:1;
  justify-self:end;
}
.iascl-home .content-grid > #news .list-item .thumb,
.iascl-home .content-grid > #events .list-item .thumb{
  width:112px;
  height:70px;
  object-fit:cover;
  display:block;
}
@media(max-width:760px){
  html[dir="rtl"] .iascl-home .content-grid > #news .list-item,
  html[dir="rtl"] .iascl-home .content-grid > #events .list-item,
  html[dir="ltr"] .iascl-home .content-grid > #news .list-item,
  html[dir="ltr"] .iascl-home .content-grid > #events .list-item{
    grid-template-columns:minmax(0,1fr) 96px;
  }
  html[dir="rtl"] .iascl-home .content-grid > #news .list-item > .home-feature-copy,
  html[dir="rtl"] .iascl-home .content-grid > #events .list-item > .home-feature-copy{grid-column:1}
  html[dir="rtl"] .iascl-home .content-grid > #news .list-item > .thumb,
  html[dir="rtl"] .iascl-home .content-grid > #events .list-item > .thumb{grid-column:2;width:96px;height:64px}
  html[dir="ltr"] .iascl-home .content-grid > #news .list-item > .thumb,
  html[dir="ltr"] .iascl-home .content-grid > #events .list-item > .thumb{grid-column:2;width:96px;height:64px}
}

/* V46.110 — professional homepage Guideline Library card */
.guidelines-home{position:relative;overflow:hidden;text-align:inherit!important;padding:20px 20px 16px!important;background:linear-gradient(145deg,#ffffff 0%,#f8fbfe 100%);border:1px solid rgba(7,59,100,.12);box-shadow:0 10px 28px rgba(7,59,100,.07)}
.guidelines-home:before{content:"";position:absolute;inset:0 0 auto 0;height:4px;background:linear-gradient(90deg,#073b64,#1173ba,#70b7d9);opacity:.9}
.guidelines-home-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:10px}.guidelines-home-head>div{min-width:0;flex:1 1 auto}.guidelines-home-head h2{margin:2px 0 4px;font-size:20px;color:var(--navy);white-space:nowrap;overflow:visible;text-overflow:clip}.guidelines-home-head p{margin:0!important;color:var(--muted);font-size:11px;line-height:1.7}.guidelines-kicker{font-size:9px;letter-spacing:.14em;font-weight:900;color:#1173ba}.guidelines-count{flex:0 0 auto;padding:6px 9px;border-radius:999px;background:#edf7fd;color:#075b89;font-size:10px;font-weight:800;white-space:nowrap}.guideline-search-wrap{display:flex;align-items:center;gap:7px;padding:7px 10px;border:1px solid rgba(7,59,100,.14);background:#fff;border-radius:10px;box-shadow:0 3px 10px rgba(7,59,100,.04);margin-bottom:9px}.guideline-search-wrap span{font-size:18px;color:#1173ba;line-height:1}.guideline-search-wrap input{width:100%;border:0;outline:0;background:transparent;color:var(--ink);font:inherit;font-size:11px}.guideline-filter-label{font-size:10px;font-weight:900;color:#405c70;margin:7px 0 5px}.guideline-filter-row{justify-content:flex-start!important;gap:5px!important;flex-wrap:nowrap!important;overflow-x:auto;padding-bottom:3px;scrollbar-width:thin}.guideline-filter-btn{flex:0 0 auto;border-color:rgba(7,59,100,.14);background:#fff;color:#345268;border-radius:8px;padding:5px 8px;font-size:10px;font-weight:800;box-shadow:0 2px 5px rgba(7,59,100,.03)}.guideline-filter-btn:hover{transform:none;background:#eef7fc;color:#075b89}.guideline-filter-btn.active{background:#073b64;color:#fff;border-color:#073b64;box-shadow:0 3px 9px rgba(7,59,100,.18)}.home-guideline-results{display:grid;gap:5px;margin-top:8px;min-height:0}.home-guideline-item{display:grid;grid-template-columns:28px minmax(0,1fr) 18px;align-items:center;gap:8px;padding:7px 8px;border:1px solid rgba(7,59,100,.09);border-radius:9px;background:#fff;color:inherit;text-decoration:none;transition:transform .15s,box-shadow .15s,border-color .15s}.home-guideline-item:hover{transform:translateY(-1px);border-color:rgba(22,143,230,.35);box-shadow:0 5px 14px rgba(7,59,100,.08)}.home-guideline-icon{display:grid;place-items:center;width:28px;height:28px;border-radius:8px;background:#edf7fd;color:#1173ba;font-weight:900}.home-guideline-copy{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 7px;align-items:center}.home-guideline-copy strong{font-size:10.5px;line-height:1.45;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#173c55}.home-guideline-copy small{font-size:8.5px;color:#475b69;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.home-guideline-copy em{font-style:normal;font-size:8px;color:#1173ba;white-space:nowrap}.home-guideline-arrow{color:#1173ba;font-weight:900}.home-guideline-empty{padding:12px;text-align:center;color:var(--muted);font-size:10px;border:1px dashed rgba(7,59,100,.16);border-radius:9px}.guideline-home-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:8px}.guideline-home-footer>span{font-size:9px;color:var(--muted)}.guideline-library-btn{margin-top:0!important;padding:7px 10px!important;font-size:10px!important}.guidelines-box-icon{width:52px;height:52px;border-radius:13px;margin:0 0 8px;background:#edf7fd;box-shadow:0 5px 14px rgba(7,59,100,.08)}
html[dir="rtl"] .guidelines-home{text-align:right!important}.guidelines-home .specialty-row{max-width:100%}
@media(max-width:760px){.guidelines-home{padding:18px 14px 14px!important}.guidelines-home-head{gap:8px}.guidelines-home-head h2{font-size:17px;white-space:nowrap;overflow:visible;text-overflow:clip}.guidelines-count{display:none}.home-guideline-copy strong{font-size:10px}.guideline-home-footer{align-items:flex-end}.guideline-library-btn{white-space:nowrap}}

/* V46.112 — Guideline Library browse-first homepage */
.guideline-search-wrap{gap:8px}
.guideline-search-wrap input{min-width:0;flex:1}
.guideline-search-submit{flex:0 0 auto;border:0;border-radius:8px;background:#073b64;color:#fff;padding:6px 9px;font:inherit;font-size:10px;font-weight:800;cursor:pointer;white-space:nowrap}
.guideline-search-submit:hover{background:#1173ba}
.guidelines-home .guideline-filter-btn{cursor:pointer}
.guidelines-home .guideline-filter-btn.active{text-decoration:none}
@media(max-width:760px){.guideline-search-submit{padding:6px 8px;font-size:9px}}
/* V46.112 — Guideline Library browse-first homepage */
.guideline-search-wrap{gap:8px}
.guideline-search-wrap input{min-width:0;flex:1}
.guideline-search-submit{flex:0 0 auto;border:0;border-radius:8px;background:#073b64;color:#fff;padding:6px 9px;font:inherit;font-size:10px;font-weight:800;cursor:pointer;white-space:nowrap}
.guideline-search-submit:hover{background:#1173ba}
.guidelines-home .guideline-filter-btn{cursor:pointer}
.guidelines-home .guideline-filter-btn.active{text-decoration:none}
@media(max-width:760px){.guideline-search-submit{padding:6px 8px;font-size:9px}}


/* V46.114: Guideline homepage category buttons - show all, no horizontal scrolling */
.guidelines-home .guideline-filter-row {
  justify-content: center !important;
  flex-wrap: wrap !important;
  overflow-x: visible !important;
  overflow-y: visible !important;
  max-width: 100%;
  padding-bottom: 0 !important;
}
.guidelines-home .specialty-row .guideline-filter-btn {
  flex: 0 0 auto;
  font-size: 9.5px;
  padding: 5px 7px;
  line-height: 1.25;
}
.guidelines-home .scope-row .guideline-filter-btn {
  font-size: 10px;
  padding: 5px 10px;
}
@media (max-width:760px) {
  .guidelines-home .specialty-row .guideline-filter-btn {
    font-size: 9px;
    padding: 5px 6px;
  }
}


/* V46.116 header language switch — placed directly beside the association name */
.main-header .brand-side-fa{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:nowrap;
}
.main-header .brand-name-fa,
.main-header .brand-name-en{
  min-width:0;
  flex:1 1 auto;
}
.header-language-switch{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:72px;
  min-height:38px;
  padding:6px 14px;
  border:1px solid #0b4f7c;
  border-radius:999px;
  background:#fff;
  color:#0b4f7c;
  font-family:Tahoma,"Segoe UI",sans-serif;
  font-size:14px;
  font-weight:700;
  line-height:1;
  text-decoration:none;
  white-space:nowrap;
  box-shadow:0 2px 6px rgba(7,59,100,.08);
  transition:background-color .16s ease,color .16s ease,transform .16s ease,box-shadow .16s ease;
}
.header-language-switch:hover,
.header-language-switch:focus-visible{
  background:#0b4f7c;
  color:#fff;
  box-shadow:0 4px 10px rgba(7,59,100,.16);
  transform:translateY(-1px);
}
.header-language-switch:focus-visible{
  outline:3px solid rgba(43,127,179,.28);
  outline-offset:2px;
}
html[lang="fa"] .main-header .brand-side-fa{
  direction:rtl;
  justify-content:flex-end;
  text-align:right;
}
html[lang="en"] .main-header .brand-side-fa{
  direction:ltr;
  justify-content:flex-start;
  text-align:left;
}
@media(max-width:900px){
  .main-header .brand-side-fa{
    gap:8px;
  }
  .header-language-switch{
    min-width:64px;
    min-height:34px;
    padding:5px 11px;
    font-size:13px;
  }
}
@media(max-width:620px){
  .main-header .brand-side-fa{
    flex-wrap:nowrap;
  }
  .header-language-switch{
    min-width:58px;
    padding:5px 9px;
    font-size:12px;
  }
}


/* V46.117 — header alignment and ribbon removal */
.topbar{display:none!important}
.main-header .brand{
  display:grid;
  width:100%;
  min-width:0;
  align-items:center;
  column-gap:22px;
  padding:0 0 16px;
  direction:ltr;
}
.main-header .brand-center{width:112px;height:112px;display:flex;align-items:center;justify-content:center;justify-self:center;grid-area:logo}
.main-header .brand-logo{display:block;width:112px;height:112px;object-fit:contain}
.main-header .brand-name-side{min-width:0;display:flex;align-items:center;overflow:visible;grid-area:name}
.main-header .brand-name-fa,.main-header .brand-name-en{display:block;white-space:nowrap;overflow:visible;max-width:100%;margin:0;padding:0}
html[lang="fa"] .main-header .brand{grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"switch name logo"}
html[lang="fa"] .main-header .brand-name-side{justify-content:flex-start;direction:rtl;text-align:right}
html[lang="fa"] .main-header .brand-name-fa{font-family:IRMitra,IRNazanin,Tahoma,"Segoe UI",sans-serif;color:var(--navy);font-size:clamp(24px,1.82vw,29px);font-weight:700;line-height:1.2;text-align:right}
html[lang="en"] .main-header .brand{grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"logo name switch"}
html[lang="en"] .main-header .brand-name-side{justify-content:flex-end;direction:ltr;text-align:right}
html[lang="en"] .main-header .brand-name-en{font-family:"IBM Plex Sans Condensed","Roboto Condensed","Arial Narrow",Arial,sans-serif;color:var(--navy);font-size:clamp(21px,1.65vw,27px);font-weight:700;line-height:1.15;text-align:right}
.header-language-switch{grid-area:switch;flex:0 0 auto!important;justify-self:stretch;min-width:76px;min-height:38px;padding:7px 15px;display:inline-flex;align-items:center;justify-content:center;align-self:center;border:1px solid #0b4f7c;border-radius:999px;background:#fff;color:#0b4f7c;font-family:Tahoma,"Segoe UI",sans-serif;font-size:14px;font-weight:700;line-height:1;text-decoration:none;white-space:nowrap;box-shadow:0 2px 6px rgba(7,59,100,.08)}
html[lang="fa"] .header-language-switch{justify-self:start}
html[lang="en"] .header-language-switch{justify-self:end}
.nav-search-btn{appearance:none;border:0;background:transparent;color:inherit;font:inherit;font-weight:700;font-size:15px;padding:8px 0;cursor:pointer;position:relative;white-space:nowrap}
.nav-search-btn:after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;background:transparent;border-radius:3px}
.nav-search-btn:hover,.nav-search-btn:focus-visible{color:var(--blue)}
.nav-search-btn:hover:after,.nav-search-btn:focus-visible:after{background:var(--blue)}
@media(max-width:900px){
  .main-header .brand{column-gap:12px}
  .main-header .brand-center,.main-header .brand-logo{width:88px;height:88px}
  html[lang="fa"] .main-header .brand-name-fa{font-size:20px;white-space:normal;line-height:1.25}
  html[lang="en"] .main-header .brand-name-en{font-size:18px;white-space:normal;line-height:1.2}
  .header-language-switch{min-width:64px;min-height:34px;padding:5px 11px;font-size:13px}
}
@media(max-width:620px){
  .main-header .brand{column-gap:8px}
  .main-header .brand-center,.main-header .brand-logo{width:70px;height:70px}
  html[lang="fa"] .main-header .brand-name-fa{font-size:16px}
  html[lang="en"] .main-header .brand-name-en{font-size:15px}
  .header-language-switch{min-width:58px;padding:5px 8px;font-size:12px}
}

/* V46.117 final safeguards */
.topbar{display:none !important;}
header.main-header{margin-top:0 !important;}

/* V46.207 — deterministic bilingual sponsor carousel. Travel is based on one measured set,
   so RTL/Persian text widths cannot alter the loop distance or create a visible jump. */
.sponsor-track{
  --sponsor-loop-distance:0px;
  animation:none !important;
  direction:ltr;
  unicode-bidi:isolate;
}
.sponsor-set{direction:ltr;unicode-bidi:isolate;}
.sponsor-card{direction:ltr;unicode-bidi:isolate;min-width:260px;}
html[dir="rtl"] .sponsor-card>span:nth-of-type(2){direction:rtl;text-align:right;unicode-bidi:plaintext;min-width:0;}
html[dir="ltr"] .sponsor-card>span:nth-of-type(2){direction:ltr;text-align:left;unicode-bidi:plaintext;min-width:0;}


/* V46.207 — sponsor marquee geometry is independent of document direction. */
.sponsor-marquee{
  position:relative !important;
  direction:ltr !important;
  unicode-bidi:isolate !important;
  height:92px !important;
  min-height:92px !important;
  padding:10px 0 !important;
  overflow:hidden !important;
}
.sponsor-track{
  position:absolute !important;
  left:0 !important;
  right:auto !important;
  top:10px !important;
  height:calc(100% - 20px) !important;
  display:flex !important;
  flex-wrap:nowrap !important;
  width:max-content !important;
  min-width:max-content !important;
  align-items:stretch !important;
  direction:ltr !important;
  unicode-bidi:isolate !important;
  animation:none !important;
  margin:0 !important;
}
.sponsor-set{
  display:flex !important;
  flex:0 0 auto !important;
  width:max-content !important;
  min-width:max-content !important;
  gap:10px !important;
  padding:0 5px !important;
  direction:ltr !important;
  unicode-bidi:isolate !important;
}
.sponsor-card{
  flex:0 0 260px !important;
  width:260px !important;
  min-width:260px !important;
  max-width:260px !important;
  direction:ltr !important;
  unicode-bidi:isolate !important;
}
@media (max-width:760px){
  .sponsor-marquee{height:82px !important;min-height:82px !important;}
  .sponsor-track{top:10px !important;height:calc(100% - 20px) !important;}
  .sponsor-card{flex-basis:240px !important;width:240px !important;min-width:240px !important;max-width:240px !important;}
}

/* V46.221 — site-wide responsive and accessibility hardening */
:where(a,button,input,select,textarea,[role="button"]):focus-visible{outline:3px solid #0e83db;outline-offset:3px}
button,.btn,.nav-toggle,[role="button"]{min-height:42px}
img{max-width:100%;height:auto}
@media(max-width:900px){
 .container{width:min(100% - 28px,1480px)}
 .topbar-inner{height:auto;min-height:44px;flex-wrap:wrap;padding:6px 0}
 .top-actions,.top-tools{flex-wrap:wrap;gap:10px}
 .search-mini{min-width:0;width:100%}
 .nav{flex-wrap:wrap}
 .nav a,.nav button{min-height:44px}
 .main-header{overflow:visible}
}
@media(max-width:640px){
 .container{width:calc(100% - 24px)}
 .header-inner{padding-top:10px}
 .section-head,.panel-head{gap:10px;flex-wrap:wrap}
 .section-head>*:first-child,.panel-head>*:first-child{min-width:0}
 .hero-buttons,.slide-buttons{flex-wrap:wrap}
 .hero-buttons>*{flex:1 1 160px}
 .modal{padding:8px!important}
 .modal-box,.detail-dialog,.home-detail-box,.event-detail-dialog{width:100%!important;max-width:100%!important;max-height:96vh!important;border-radius:14px!important}
}
@media(prefers-reduced-motion:reduce){
 html{scroll-behavior:auto}
 *,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}
}

/* V46.326 — homepage Laboratory Advances panel */
.home-anchor-proxy{display:block;height:0;scroll-margin-top:100px}
.iascl-home .content-grid>#advances{align-self:stretch;height:100%;min-height:0}
.iascl-home .content-grid>#advances .list{display:flex;flex-direction:column;gap:0;padding-bottom:0}
.iascl-home .content-grid>#advances .list-item{flex:1 1 0;min-height:0;align-items:center;padding-top:10px;padding-bottom:10px}
.iascl-home .content-grid>#advances .list-item .thumb{width:112px;height:70px;object-fit:cover;display:block}
html[dir="rtl"] .iascl-home .content-grid>#advances .list-item{direction:rtl;grid-template-columns:minmax(0,1fr) 112px}
html[dir="rtl"] .iascl-home .content-grid>#advances .list-item>.home-feature-copy{grid-column:1;text-align:right;direction:rtl}
html[dir="rtl"] .iascl-home .content-grid>#advances .list-item>.thumb{grid-column:2;justify-self:end}
html[dir="ltr"] .iascl-home .content-grid>#advances .list-item{direction:ltr;grid-template-columns:minmax(0,1fr) 112px}
html[dir="ltr"] .iascl-home .content-grid>#advances .list-item>.home-feature-copy{grid-column:1;text-align:left;direction:ltr}
html[dir="ltr"] .iascl-home .content-grid>#advances .list-item>.thumb{grid-column:2;justify-self:end}
@media(max-width:760px){.iascl-home .content-grid>#advances{height:auto}.iascl-home .content-grid>#advances .list-item,html[dir="rtl"] .iascl-home .content-grid>#advances .list-item,html[dir="ltr"] .iascl-home .content-grid>#advances .list-item{grid-template-columns:minmax(0,1fr) 96px}.iascl-home .content-grid>#advances .list-item .thumb{width:96px;height:64px}}

/* IASCL V46.346 — public fluid layout + homepage UX repair.
   Applies to public Persian and English pages only. Administrator assets are not affected. */

@media (min-width: 1281px) {
  body:not(.admin-page) .container {
    width: min(1840px, calc(100% - clamp(48px, 4vw, 80px))) !important;
    margin-inline: auto !important;
    box-sizing: border-box;
  }
  body:not(.admin-page) .hero {
    width: min(1840px, calc(100% - clamp(48px, 4vw, 80px))) !important;
    margin-inline: auto !important;
  }
  body:not(.admin-page) .page-wrap > .container,
  body:not(.admin-page) .about-wrap > .container,
  body:not(.admin-page) .footer > .container,
  body:not(.admin-page) .main-header .container {
    width: min(1840px, calc(100% - clamp(48px, 4vw, 80px))) !important;
  }

  /* Homepage: three equal-height primary panels, with a non-participating hash anchor. */
  .iascl-home #membership-home.content-grid {
    position: relative !important;
    width: min(1840px, calc(100% - clamp(48px, 4vw, 80px))) !important;
    margin-inline: auto !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    align-items: stretch !important;
    gap: 20px !important;
  }
  .iascl-home #membership-home.content-grid > .home-anchor-proxy {
    position: absolute !important;
    inset-inline-start: 0 !important;
    inset-block-start: 0 !important;
    width: 1px !important;
    height: 1px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
  .iascl-home #membership-home.content-grid > #guidelines-library,
  .iascl-home #membership-home.content-grid > #advances,
  .iascl-home #membership-home.content-grid > #news {
    min-width: 0 !important;
    min-height: 0 !important;
    height: 100% !important;
    align-self: stretch !important;
    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box !important;
  }
  .iascl-home #membership-home.content-grid > #guidelines-library { grid-column: 1 !important; }
  .iascl-home #membership-home.content-grid > #advances { grid-column: 2 !important; }
  .iascl-home #membership-home.content-grid > #news { grid-column: 3 !important; }

  .iascl-home #membership-home.content-grid > #advances .list,
  .iascl-home #membership-home.content-grid > #news .list {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
  }
  .iascl-home #membership-home.content-grid > #advances .list-item,
  .iascl-home #membership-home.content-grid > #news .list-item {
    flex: 1 1 0 !important;
    min-height: 0 !important;
    height: auto !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }
  .iascl-home #membership-home.content-grid > #advances .list-item h3,
  .iascl-home #membership-home.content-grid > #news .list-item h3 {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  /* Consistent card proportions at wide sizes. */
  .iascl-home #membership-home .panel-head {
    min-height: 58px !important;
    box-sizing: border-box !important;
  }
  .iascl-home #membership-home > #guidelines-library .guidelines-home-head h2 {
    white-space: normal !important;
    line-height: 1.35 !important;
  }
}

/* Public-site baseline UX improvements across page types. */
body:not(.admin-page) .page-hero,
body:not(.admin-page) .about-hero,
body:not(.admin-page) .guide-hero {
  overflow-wrap: anywhere;
}
body:not(.admin-page) .content-card,
body:not(.admin-page) .about-card,
body:not(.admin-page) .archive-card,
body:not(.admin-page) .news-card,
body:not(.admin-page) .event-card,
body:not(.admin-page) .tile,
body:not(.admin-page) .panel {
  box-sizing: border-box;
}
body:not(.admin-page) img {
  max-width: 100%;
}
body:not(.admin-page) :where(a,button,input,select,textarea,[role="button"]):focus-visible {
  outline: 3px solid rgba(14,131,219,.28);
  outline-offset: 3px;
}

@media (max-width: 1280px) and (min-width: 761px) {
  body:not(.admin-page) .container {
    width: min(1480px, calc(100% - 40px));
    margin-inline: auto;
  }
  body:not(.admin-page) .hero {
    width: min(1480px, calc(100% - 40px));
    margin-inline: auto;
  }
}

@media (max-width: 760px) {
  .iascl-home #membership-home.content-grid {
    grid-template-columns: 1fr !important;
    align-items: stretch !important;
  }
  .iascl-home #membership-home.content-grid > #guidelines-library,
  .iascl-home #membership-home.content-grid > #advances,
  .iascl-home #membership-home.content-grid > #news {
    grid-column: 1 !important;
    height: auto !important;
    align-self: stretch !important;
  }
  .iascl-home #membership-home.content-grid > #advances .list,
  .iascl-home #membership-home.content-grid > #news .list {
    overflow: visible !important;
  }
  .iascl-home #membership-home.content-grid > #advances .list-item,
  .iascl-home #membership-home.content-grid > #news .list-item {
    flex: 0 0 auto !important;
    height: auto !important;
  }
}

/* V46.483 — close (×) buttons: the cross is drawn with CSS so it is exactly centred in every browser/font. */
.home-detail-close,.close-search,#close.close,.detail-close,.event-close,.media-public-modal-close,.ve-x,.iw-close,.rw-close,.iconBtn[data-studio-close]{position:relative;font-size:0 !important;line-height:0 !important;padding:0 !important}
.home-detail-close::before,.close-search::before,#close.close::before,.detail-close::before,.event-close::before,.media-public-modal-close::before,.ve-x::before,.iw-close::before,.rw-close::before,.iconBtn[data-studio-close]::before,.home-detail-close::after,.close-search::after,#close.close::after,.detail-close::after,.event-close::after,.media-public-modal-close::after,.ve-x::after,.iw-close::after,.rw-close::after,.iconBtn[data-studio-close]::after{content:"";position:absolute;left:50%;top:50%;width:14px;height:2.4px;margin:-1.2px 0 0 -7px;border-radius:2px;background:currentColor;pointer-events:none}
.home-detail-close::before,.close-search::before,#close.close::before,.detail-close::before,.event-close::before,.media-public-modal-close::before,.ve-x::before,.iw-close::before,.rw-close::before,.iconBtn[data-studio-close]::before{transform:rotate(45deg)}
.home-detail-close::after,.close-search::after,#close.close::after,.detail-close::after,.event-close::after,.media-public-modal-close::after,.ve-x::after,.iw-close::after,.rw-close::after,.iconBtn[data-studio-close]::after{transform:rotate(-45deg)}
.session-media-remove{position:relative;font-size:0 !important;line-height:0 !important;width:22px;height:22px;padding:0 !important}
.session-media-remove::before,.session-media-remove::after{content:"";position:absolute;left:50%;top:50%;width:12px;height:2px;margin:-1px 0 0 -6px;border-radius:2px;background:currentColor;pointer-events:none}
.session-media-remove::before{transform:rotate(45deg)}
.session-media-remove::after{transform:rotate(-45deg)}
/* V46.483 — search overlay close keeps a real width now that the glyph is drawn by CSS */
.search-box .close-search{flex:0 0 46px;width:46px;min-width:46px}

/* V46.483 — taller sponsor cards for better logo visibility. */
.sponsor-marquee{height:150px !important;min-height:150px !important;}
.sponsor-track{top:10px !important;height:calc(100% - 20px) !important;}
.sponsor-card{flex:0 0 300px !important;width:300px !important;min-width:300px !important;max-width:300px !important;grid-template-columns:104px minmax(0,1fr) !important;gap:14px !important;padding:14px 16px !important;}
.sponsor-card .sponsor-logo{width:104px !important;height:100px !important;flex:0 0 104px !important;}
.sponsor-card .sponsor-logo img{width:100% !important;height:100% !important;object-fit:contain !important;}
.sponsor-card strong{font-size:16px !important;line-height:1.4 !important;}
.sponsor-card small{font-size:12px !important;}
@media (max-width:760px){
  .sponsor-marquee{height:128px !important;min-height:128px !important;}
  .sponsor-card{flex-basis:260px !important;width:260px !important;min-width:260px !important;max-width:260px !important;grid-template-columns:80px minmax(0,1fr) !important;padding:10px 12px !important;}
  .sponsor-card .sponsor-logo{width:80px !important;height:80px !important;flex-basis:80px !important;}
  .sponsor-card strong{font-size:14.5px !important;}
}

/* V46.483 footer language link */
.footer-bottom a{color:inherit;text-decoration:underline;text-underline-offset:3px}.footer-bottom a:hover{color:#fff}
