/* All refinements are confined to the explicitly requested visual preview. */
html[lang=fa] body[data-home-production-polish] .polish-preview-notice{display:flex;justify-content:space-between;align-items:center;gap:8px 24px;flex-wrap:wrap;padding:8px max(20px,calc((100vw - 1344px)/2));background:var(--future-paper,#f5f3ea);color:var(--future-ink,#123246);border-bottom:1px solid var(--future-line,#c5d2d6);font-size:13px;line-height:1.8}
html[lang=fa] body[data-home-production-polish] .polish-preview-notice a{color:inherit;display:inline-flex;align-items:center;min-height:32px;text-underline-offset:5px}
html[lang=fa] body[data-home-production-polish] .polish-programme-link{display:inline-flex;align-items:center;gap:18px;min-height:44px;color:var(--future-accent);font-size:14px;font-weight:700;margin-top:8px;text-decoration:none}
html[lang=fa] body[data-home-production-polish] .polish-programme-link:hover{text-decoration:underline;text-underline-offset:5px}
html[lang=fa] body[data-home-production-polish] :is(.future-section-heading h2,.university-statistics h2){font-size:clamp(28px,2.5vw,36px);line-height:1.65}
html[lang=fa] body[data-home-production-polish] .future-hero-copy{padding-block:24px}
html[lang=fa] body[data-home-production-polish] .future-research .future-story-media figcaption{font-size:13px;line-height:1.85}
html[lang=fa] body[data-home-production-polish] .future-research .future-story-copy{gap:14px}
html[lang=fa] body[data-home-production-polish] .future-research .future-story-copy>p{font-size:15px;line-height:1.95}
html[lang=fa] body[data-home-production-polish] .future-news-media.polish-activity-photo img{object-fit:cover;object-position:50% 78%}
html[lang=fa] body[data-home-production-polish] .future-community-story .polish-athlete-frame{overflow:hidden;display:block}

html[lang=fa] body[data-home-production-polish] .site-footer .footer-grid{padding-bottom:32px;align-items:start}
html[lang=fa] body[data-home-production-polish] .site-footer .polish-footer-utilities{display:flex;align-items:center;flex-wrap:wrap;gap:8px 24px;padding-block:16px;border-top:1px solid #436071;margin-top:0}
html[lang=fa] body[data-home-production-polish] .site-footer .polish-footer-utilities a{display:inline-flex;align-items:center;min-height:44px;font-size:13px;line-height:1.8;color:inherit}
html[lang=fa] body[data-home-production-polish] .future-story-copy>a:focus-visible,html[lang=fa] body[data-home-production-polish] .polish-programme-link:focus-visible{outline:2px solid currentColor;outline-offset:4px}
@media(max-width:800px){
 html[lang=fa] body[data-home-production-polish] :is(.future-section-heading h2,.university-statistics h2){font-size:28px;line-height:1.65}
 html[lang=fa] body[data-home-production-polish] .future-section-heading{margin-bottom:24px;gap:16px}
 html[lang=fa] body[data-home-production-polish] .future-research .future-story-media img{aspect-ratio:3/2;object-position:50% 34%}
 html[lang=fa] body[data-home-production-polish] .future-research .future-story-copy{padding:20px;gap:12px}
 html[lang=fa] body[data-home-production-polish] .future-research .future-story-copy h3{font-size:20px;line-height:1.7}
 html[lang=fa] body[data-home-production-polish] .future-community-story{row-gap:16px}
 html[lang=fa] body[data-home-production-polish] .future-community-story>div{gap:10px}
 html[lang=fa] body[data-home-production-polish] .future-community-story>div>p{font-size:15px;line-height:1.95}
 html[lang=fa] body[data-home-production-polish] .polish-footer-utilities{justify-content:flex-start;gap:4px 20px!important}
}
@media(max-width:360px){html[lang=fa] body[data-home-production-polish] :is(.future-section-heading h2,.university-statistics h2){font-size:26px}}
@media(max-width:900px){
 html[lang=fa] body[data-home-production-polish] .site-footer{padding-top:40px}
 html[lang=fa] body[data-home-production-polish] .site-footer .footer-grid{padding-bottom:16px}
 html[lang=fa] body[data-home-production-polish] .site-footer .polish-footer-utilities{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px!important;padding-block:12px}
 html[lang=fa] body[data-home-production-polish] .site-footer .footer-bottom{padding-block:20px;margin-top:8px;gap:12px}
}
/* Override the shared editorial fit policy only inside this isolated preview. */

/* Tablet layouts use the available width instead of enlarging mobile cards. */
@media(min-width:600px) and (max-width:1100px){
 html[lang=fa] body[data-home-production-polish] .future-research .future-story-grid,
 html[lang=fa] body[data-home-production-polish] .future-community-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:stretch}
 html[lang=fa] body[data-home-production-polish] .future-research .future-story{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr)}
 html[lang=fa] body[data-home-production-polish] .future-research .future-story-media{grid-column:1;grid-row:1;grid-template-rows:auto auto;display:grid}
 html[lang=fa] body[data-home-production-polish] .future-research .future-story-media img{grid-column:1;grid-row:1;aspect-ratio:3/2;height:auto;object-position:50% 34%}
 html[lang=fa] body[data-home-production-polish] .future-research .future-story-media figcaption{grid-column:1;grid-row:2}
 html[lang=fa] body[data-home-production-polish] .future-research .future-story-copy{grid-column:1;grid-row:2;padding:20px;gap:12px;display:flex}
 html[lang=fa] body[data-home-production-polish] .future-research .future-story-copy h3,
 html[lang=fa] body[data-home-production-polish] .future-community-story h3{font-size:20px;line-height:1.8}
 html[lang=fa] body[data-home-production-polish] .future-community-story>div{display:flex;flex-direction:column;gap:12px}
 html[lang=fa] body[data-home-production-polish] .future-community-story>div>a{margin-top:auto}
}
@media(min-width:600px) and (max-width:900px){
 html[lang=fa] body[data-home-production-polish] .site-footer .footer-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 24px}
 html[lang=fa] body[data-home-production-polish] .site-footer .footer-identity{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 24px;align-items:start;padding-bottom:20px}
 html[lang=fa] body[data-home-production-polish] .site-footer .footer-identity address{grid-column:2;grid-row:1/5;margin:0}
 html[lang=fa] body[data-home-production-polish] .site-footer .footer-identity>a{grid-column:1}
 html[lang=fa] body[data-home-production-polish] .site-footer .polish-footer-utilities{display:flex;gap:4px 24px!important}
}
/* Align keyboard destinations below the persistent masthead. */
html[lang=fa] body[data-home-production-polish] #future-study{scroll-margin-top:120px}
@media(prefers-reduced-motion:no-preference){
 html[lang=fa] body[data-home-production-polish] .future-news-link :is(h3,img){transition:color .18s ease,filter .18s ease}
 html[lang=fa] body[data-home-production-polish] .future-news-link:hover img{filter:brightness(.96)}
}
@media(min-width:901px) and (max-width:1200px){
 html[lang=fa] body[data-home-production-polish] .site-footer .footer-grid{grid-template-columns:minmax(0,1.1fr) repeat(3,minmax(0,1fr));gap:24px}
 html[lang=fa] body[data-home-production-polish] .site-footer .footer-grid>*{min-width:0}
 html[lang=fa] body[data-home-production-polish] .site-footer .footer-grid h2{font-size:15px;line-height:1.85}
}

/* Complete, compact news summaries and a consistent editorial baseline. */
html[lang=fa] body[data-home-production-polish] .future-news-card .news-meta{font-size:13px;line-height:1.85}
html[lang=fa] body[data-home-production-polish] .future-news-card .home-news-summary{display:block;-webkit-line-clamp:unset;overflow:visible;text-wrap:pretty}
@media(max-width:800px){
 html[lang=fa] body[data-home-production-polish] .future-news-link{row-gap:12px}
 html[lang=fa] body[data-home-production-polish] .future-news-media{grid-column:2;grid-row:1/3;align-self:start}
 html[lang=fa] body[data-home-production-polish] .future-news-card .news-meta{grid-column:1;grid-row:1;gap:4px 12px}
 html[lang=fa] body[data-home-production-polish] .future-news-card h3{grid-column:1;grid-row:2;font-size:17px;line-height:1.85}
 html[lang=fa] body[data-home-production-polish] .future-news-card .home-news-summary{grid-column:1/-1;grid-row:3;font-size:14px;line-height:1.95}
}
@supports(grid-template-rows:subgrid){
 @media(min-width:801px){
  html[lang=fa] body[data-home-production-polish] .future-news-grid{row-gap:14px;align-items:stretch}
  html[lang=fa] body[data-home-production-polish] .future-news-card{display:grid;grid-row:span 4;grid-template-rows:subgrid}
  html[lang=fa] body[data-home-production-polish] .future-news-link{grid-row:1/-1;grid-template-rows:subgrid;row-gap:14px;align-items:start}
 }
}

/* Landscape group-photo composition, compact mobile entry and aligned calendar. */
html[lang=fa] body[data-home-production-polish] .future-community-grid{align-items:start}
html[lang=fa] body[data-home-production-polish] [data-home-calendar] .hc-event{grid-template-columns:112px minmax(0,1fr) auto;gap:8px 24px;align-items:start}
html[lang=fa] body[data-home-production-polish] [data-home-calendar] .hc-content{display:contents}
html[lang=fa] body[data-home-production-polish] [data-home-calendar] .hc-content>*{grid-column:2;min-width:0}
html[lang=fa] body[data-home-production-polish] [data-home-calendar] .hc-content>.event-state{grid-row:1}
html[lang=fa] body[data-home-production-polish] [data-home-calendar] .hc-content>h3{grid-row:2}
html[lang=fa] body[data-home-production-polish] [data-home-calendar] .hc-content>.event-details{grid-row:3}
html[lang=fa] body[data-home-production-polish] [data-home-calendar] .hc-content>.hc-deadline{grid-row:4}
html[lang=fa] body[data-home-production-polish] [data-home-calendar] .hc-content>.hc-more{grid-row:5}
html[lang=fa] body[data-home-production-polish] [data-home-calendar] .hc-date{grid-column:1;grid-row:1/4;align-self:start}
html[lang=fa] body[data-home-production-polish] [data-home-calendar] .hc-action{grid-column:3;grid-row:2;align-self:start;justify-self:start}
@media(max-width:800px){
 html[lang=fa] body[data-home-production-polish] .future-hero-copy{margin-block-start:16px;padding-block:0}
 html[lang=fa] body[data-home-production-polish] .future-hero-copy .future-intro{margin-block-start:8px}
 html[lang=fa] body[data-home-production-polish] .polish-programme-link{margin-block-start:4px}
 html[lang=fa] body[data-home-production-polish] .future-search-wrap{margin-block:16px 24px}
 html[lang=fa] body[data-home-production-polish] .future-search{padding:16px}
 html[lang=fa] body[data-home-production-polish] [data-home-calendar] .hc-event{grid-template-columns:80px minmax(0,1fr);gap:8px 16px}
 html[lang=fa] body[data-home-production-polish] [data-home-calendar] .hc-action{grid-column:2;grid-row:6;margin-block-start:4px}
}
@media(max-width:360px){html[lang=fa] body[data-home-production-polish] .future-search{padding:14px}}
/* Keep text immediately below each natural frame and CTAs at the RTL start. */
html[lang=fa] body[data-home-production-polish] .future-community-story>div{display:flex;flex-direction:column;gap:12px}
html[lang=fa] body[data-home-production-polish] .future-community-story>div>a{align-self:flex-start;margin-top:0}

/* Equal campus cards: identical frames, full photos and aligned text rows. */
html[lang=fa] body[data-home-production-polish] .future-community-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:16px 32px}
html[lang=fa] body[data-home-production-polish] .future-community-story[data-campus-equal-card]{align-self:stretch;min-width:0;row-gap:16px}
html[lang=fa] body[data-home-production-polish] .future-community-story figure[data-campus-cover]{position:relative;isolation:isolate;overflow:hidden;aspect-ratio:3/2!important;width:100%;margin:0;background:#102f46}
html[lang=fa] body[data-home-production-polish] .future-community-story figure[data-campus-cover] img.polish-campus-photo{position:relative;z-index:1;display:block;width:100%;height:100%!important;aspect-ratio:3/2!important;object-fit:contain!important;object-position:center!important;background:transparent}
html[lang=fa] body[data-home-production-polish] .future-community-story figure[data-campus-cover] img.polish-campus-backdrop{position:absolute;z-index:0;inset:0;display:block;width:100%;height:100%!important;aspect-ratio:3/2!important;object-fit:cover!important;object-position:center!important;filter:blur(18px) brightness(.72) saturate(.65);transform:scale(1.12);opacity:.7;pointer-events:none;user-select:none;background:transparent}
html[lang=fa] body[data-home-production-polish] .future-community-story[data-campus-equal-card]>div>a{align-self:end;justify-self:start;margin:0}
@supports(grid-template-rows:subgrid){
 @media(min-width:600px){
  html[lang=fa] body[data-home-production-polish] .future-community-story[data-campus-equal-card]{display:grid;grid-template-rows:subgrid;grid-row:span 4}
  html[lang=fa] body[data-home-production-polish] .future-community-story[data-campus-equal-card]>figure{grid-row:1;grid-column:1}
  html[lang=fa] body[data-home-production-polish] .future-community-story[data-campus-equal-card]>div{display:contents}
  html[lang=fa] body[data-home-production-polish] .future-community-story[data-campus-equal-card] h3{grid-column:1;grid-row:2}
  html[lang=fa] body[data-home-production-polish] .future-community-story[data-campus-equal-card] p{grid-column:1;grid-row:3}
  html[lang=fa] body[data-home-production-polish] .future-community-story[data-campus-equal-card] a{grid-column:1;grid-row:4}
 }
}
@media(max-width:599px){
 html[lang=fa] body[data-home-production-polish] .future-community-grid{grid-template-columns:minmax(0,1fr);row-gap:32px}
 html[lang=fa] body[data-home-production-polish] .future-community-story[data-campus-equal-card]{grid-template-rows:auto auto}
 html[lang=fa] body[data-home-production-polish] .future-community-story[data-campus-equal-card]>div{display:flex;flex-direction:column;gap:12px}
 html[lang=fa] body[data-home-production-polish] .future-community-story[data-campus-equal-card]>div>a{align-self:flex-start}
}

html[lang=fa] body[data-home-production-polish] .polish-campus-backdrop-wrap{position:absolute;inset:0;z-index:0;overflow:hidden;pointer-events:none}
@media(max-width:599px){
 html[lang=fa] body[data-home-production-polish] .future-community-grid{grid-auto-rows:1fr}
 html[lang=fa] body[data-home-production-polish] .future-community-story[data-campus-equal-card]{grid-template-rows:auto minmax(0,1fr)}
 html[lang=fa] body[data-home-production-polish] .future-community-story[data-campus-equal-card]>div>a{margin-top:auto}
}

/* Harmonize editorial stories across research and campus life. */
html[lang=fa] body[data-home-production-polish] .future-community-grid{gap:24px}
html[lang=fa] body[data-home-production-polish] .future-community-story figure[data-campus-cover]{border-radius:6px}
@media(max-width:1100px){
 html[lang=fa] body[data-home-production-polish] :is(.future-research .future-story-copy h3,.future-community-story h3){font-size:20px;line-height:1.8}
}
@media(min-width:1101px){
 html[lang=fa] body[data-home-production-polish] .future-research .future-story-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
 html[lang=fa] body[data-home-production-polish] :is(.future-research .future-story-copy h3,.future-community-story h3){font-size:24px;line-height:1.8}
}

/* Respect editorial image fit and independently cropped mobile and desktop renditions. */
html[lang=fa] body[data-home-production-polish] .future-community-story figure[data-campus-cover] picture{display:block;position:relative;z-index:1;width:100%;height:100%}
html[lang=fa] body[data-home-production-polish] .future-community-story figure[data-campus-cover][data-story-image-fit=cover] img.polish-campus-photo{object-fit:cover!important}
html[lang=fa] body[data-home-production-polish] .future-community-story figure[data-campus-cover][data-card-fit-desktop=cover] img.polish-campus-photo{object-fit:cover!important}
html[lang=fa] body[data-home-production-polish] .future-community-story figure[data-campus-cover][data-card-fit-desktop=contain] img.polish-campus-photo{object-fit:contain!important}
@media(max-width:800px){html[lang=fa] body[data-home-production-polish] .future-community-story figure[data-campus-cover][data-card-fit-mobile=cover] img.polish-campus-photo{object-fit:cover!important}html[lang=fa] body[data-home-production-polish] .future-community-story figure[data-campus-cover][data-card-fit-mobile=contain] img.polish-campus-photo{object-fit:contain!important}}

/* Align utility controls while preserving the compact mobile header. */
@media (min-width: 601px) {
 html[lang=fa] body[data-home-production-polish] .utility-inner > :is(.language-picker,.ds-theme-picker) > summary {
  box-sizing: border-box;
  min-height: 44px;
  height: 100%;
  display: flex;
  align-items: center;
 }
 html[lang=fa] body[data-home-production-polish] .utility-inner > :is(.login-link,.search-toggle) > svg,
 html[lang=fa] body[data-home-production-polish] .utility-inner > .language-picker > summary > svg {
  width: 22px;
  height: 22px;
  flex: none;
 }
}
/* A drawn theme symbol avoids font-dependent missing or undersized glyphs. */
@media (min-width:601px) {
 html[lang=fa] body[data-home-production-polish] :is(.utility-inner,.future-sticky-tools) > .ds-theme-picker > summary {gap:8px}
 html[lang=fa] body[data-home-production-polish] :is(.utility-inner,.future-sticky-tools) > .ds-theme-picker > summary::before {
  content:"";
  display:block;
  flex:none;
  box-sizing:border-box;
  width:18px;
  height:18px;
  border:1.5px solid currentColor;
  border-radius:50%;
  background:linear-gradient(90deg,currentColor 50%,transparent 50%);
 }
}
