/* Sarv newsroom — native video article and poster-backed moving video gallery.
   FA only; approved news content and translations remain untouched. */

/* Single Persian video report: centered editorial title, full-width native
   player, quiet centered text. Controls remain native and keyboard accessible.
   Media fits its real 16:9 source ratio; no duplicate image or dark wrapper. */
html[lang="fa-IR"] .sc-news-single--video-fa {
  color:#20394e;
  background:#fff;
  padding-bottom:clamp(56px,6vw,95px);
}
html[lang="fa-IR"] .sc-news-single--video-fa .sc-news-single__header {
  padding-block:clamp(30px,4vw,58px) clamp(26px,3vw,42px);
  background:#f4f8fb;
  border-bottom:1px solid #e4edf3;
}
html[lang="fa-IR"] .sc-news-single--video-fa .sc-news-single__header > .sc-container {
  max-width:min(100% - 36px,1200px);
  margin-inline:auto;
}
html[lang="fa-IR"] .sc-news-single--video-fa .sc-news-single__header .sc-breadcrumbs {
  margin-bottom:clamp(24px,3vw,38px);
}
html[lang="fa-IR"] .sc-news-single--video-fa .sc-news-item__type {
  display:block;
  width:100%;
  text-align:center !important;
  margin:0 0 14px;
  color:#126fa5;
}
html[lang="fa-IR"] .sc-news-single--video-fa .sc-news-single__title {
  display:block !important;
  width:100% !important;
  max-width:1120px !important;
  margin:0 auto !important;
  color:#17354b;
  font-size:clamp(30px,3.2vw,48px);
  line-height:1.55;
  font-weight:750;
  text-align:center !important;
  text-wrap:balance;
}
html[lang="fa-IR"] .sc-news-single--video-fa > .sc-container {
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:flex-start !important;
  width:calc(100% - 40px);
  max-width:1220px;
  margin-inline:auto;
  gap:0;
}
html[lang="fa-IR"] .sc-news-single--video-fa .sc-news-single__video {
  display:block !important;
  position:relative;
  flex:0 0 auto !important;
  align-self:center !important;
  width:100% !important;
  max-width:1180px !important;
  margin:clamp(28px,3.4vw,46px) auto 0 !important;
  padding:0 !important;
  overflow:hidden;
  border:0 !important;
  border-radius:2px;
  background:transparent !important;
  box-shadow:0 14px 42px rgb(17 46 69 / 10%);
}
html[lang="fa-IR"] .sc-news-single--video-fa .sc-news-single__player {
  display:block !important;
  width:100% !important;
  max-width:none !important;
  min-width:0 !important;
  height:auto !important;
  aspect-ratio:16 / 9;
  object-fit:cover;
  margin:0 !important;
  background:#071727;
}
html[lang="fa-IR"] .sc-news-single--video-fa .sc-news-single__video-description {
  display:block;
  width:100% !important;
  max-width:1040px !important;
  align-self:center !important;
  margin:clamp(28px,3.2vw,46px) auto 0 !important;
  padding:clamp(25px,3.1vw,44px) clamp(22px,4.5vw,74px) !important;
  background:#f7fafc;
  border:1px solid #e6edf3;
  border-top:3px solid #0b6fa5;
  border-radius:2px;
  box-shadow:0 13px 34px rgb(19 60 88 / 6%);
  color:#334c5e;
  text-align:center !important;
  font-size:clamp(15px,1.22vw,18px);
  line-height:2.1;
}
html[lang="fa-IR"] .sc-news-single--video-fa .sc-news-single__video-description :is(p,div,li) {
  display:block;
  width:100% !important;
  max-width:none !important;
  margin:0 auto !important;
  text-align:center !important;
  text-wrap:pretty;
  word-spacing:normal;
  line-height:2.1;
}
html[lang="fa-IR"] .sc-news-single--video-fa .sc-news-single__video-description p+p {
  margin-top:14px !important;
}
@media(max-width:700px) {
  html[lang="fa-IR"] .sc-news-single--video-fa .sc-news-single__title {
    font-size:clamp(25px,6vw,34px);
    line-height:1.65;
  }
  html[lang="fa-IR"] .sc-news-single--video-fa > .sc-container {
    width:calc(100% - 24px);
  }
  html[lang="fa-IR"] .sc-news-single--video-fa .sc-news-single__video {
    margin-top:22px !important;
    box-shadow:0 7px 22px rgb(17 46 69 / 9%);
  }
  html[lang="fa-IR"] .sc-news-single--video-fa .sc-news-single__video-description {
    margin-top:23px !important;
    padding:24px 18px !important;
  }
}

/* Main-page clips: 1 cinematic lead, 4 supporting moving poster cards. */
html[lang="fa-IR"] .sc-home-news--editorial-fa:has(.sc-fa-news-clips) {
  background:#fff;
}
html[lang="fa-IR"] .sc-fa-news-clips {
  display:grid;
  direction:rtl;
  grid-template-columns:minmax(0,1.13fr) minmax(0,.87fr);
  grid-template-rows:repeat(2,minmax(216px,1fr));
  gap:13px;
  min-height:560px;
}
html[lang="fa-IR"] .sc-fa-news-clips__item {
  min-width:0;
  min-height:0;
  position:relative;
}
html[lang="fa-IR"] .sc-fa-news-clips__item--featured {
  grid-column:1;
  grid-row:1 / span 2;
  min-height:560px;
}
html[lang="fa-IR"] .sc-fa-news-clips__item:not(.sc-fa-news-clips__item--featured) {
  grid-column:2;
}
html[lang="fa-IR"] .sc-fa-news-clips__item:nth-child(2),
html[lang="fa-IR"] .sc-fa-news-clips__item:nth-child(3) {
  grid-row:1;
}
html[lang="fa-IR"] .sc-fa-news-clips__item:nth-child(4),
html[lang="fa-IR"] .sc-fa-news-clips__item:nth-child(5) {
  grid-row:2;
}
html[lang="fa-IR"] .sc-fa-news-clips__item:not(.sc-fa-news-clips__item--featured) {
  /* two side tiles per row in a nested column pair, without extra wrappers */
  grid-column:2;
}
html[lang="fa-IR"] .sc-fa-news-clips {
  grid-template-columns:minmax(0,1.08fr) repeat(2,minmax(0,.44fr));
}
html[lang="fa-IR"] .sc-fa-news-clips__item:not(.sc-fa-news-clips__item--featured) {
  grid-column:auto;
}
html[lang="fa-IR"] .sc-fa-news-clips__item:nth-child(2),
html[lang="fa-IR"] .sc-fa-news-clips__item:nth-child(4) {
  grid-column:2;
}
html[lang="fa-IR"] .sc-fa-news-clips__item:nth-child(3),
html[lang="fa-IR"] .sc-fa-news-clips__item:nth-child(5) {
  grid-column:3;
}
html[lang="fa-IR"] .sc-fa-news-clips__link {
  display:block;
  position:relative;
  width:100%;
  height:100%;
  min-height:210px;
  overflow:hidden;
  isolation:isolate;
  background:#062e53;
  color:#fff;
  text-decoration:none;
  border-radius:2px;
}
html[lang="fa-IR"] .sc-fa-news-clips__video {
  width:100%;
  height:100%;
  inset:0;
  position:absolute;
  display:block;
  object-fit:cover;
  pointer-events:none;
  background:#164166;
  transition:transform .65s cubic-bezier(.2,.72,.2,1);
}
html[lang="fa-IR"] .sc-fa-news-clips__shade {
  position:absolute;
  z-index:1;
  inset:0;
  pointer-events:none;
  background:linear-gradient(180deg,rgba(2,22,41,.10) 0%,rgba(2,22,41,.28) 27%,rgba(2,20,41,.94) 100%);
  transition:background-color .3s ease,opacity .3s ease;
}
html[lang="fa-IR"] .sc-fa-news-clips__link:is(:hover,:focus-visible) .sc-fa-news-clips__shade {
  opacity:.78;
}
html[lang="fa-IR"] .sc-fa-news-clips__link:is(:hover,:focus-visible) .sc-fa-news-clips__video {
  transform:scale(1.035);
}
html[lang="fa-IR"] .sc-fa-news-clips__link:focus-visible {
  outline:3px solid #ef333f;
  outline-offset:3px;
}
html[lang="fa-IR"] .sc-fa-news-clips__play {
  position:absolute;
  z-index:3;
  top:18px;
  left:18px;
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border:1px solid rgb(255 255 255 / .7);
  border-radius:50%;
  background:rgb(5 26 48 / .20);
  color:#fff;
  transition:background-color .2s ease, transform .2s ease;
}
html[lang="fa-IR"] .sc-fa-news-clips__link:is(:hover,:focus-visible) .sc-fa-news-clips__play {
  background:#d9222a;
  transform:scale(1.065);
}
html[lang="fa-IR"] .sc-fa-news-clips__copy {
  position:absolute;
  z-index:2;
  bottom:0;
  right:0;
  left:0;
  padding:22px;
  display:flex;
  flex-direction:column;
  gap:8px;
  color:#fff;
  text-align:right;
}
html[lang="fa-IR"] .sc-fa-news-clips__eyebrow {
  color:#d0e1ee;
  font-size:11px;
  font-weight:600;
  line-height:1.4;
}
html[lang="fa-IR"] .sc-fa-news-clips__title {
  font-size:clamp(14px,1.15vw,18px);
  line-height:1.65;
  font-weight:750;
  color:#fff;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
}
html[lang="fa-IR"] .sc-fa-news-clips__excerpt {
  font-size:12px;
  line-height:1.9;
  color:#f1f6fa;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
}
html[lang="fa-IR"] .sc-fa-news-clips__item--featured .sc-fa-news-clips__copy {
  padding:clamp(22px,3vw,42px);
  gap:13px;
}
html[lang="fa-IR"] .sc-fa-news-clips__item--featured .sc-fa-news-clips__title {
  font-size:clamp(26px,2.25vw,37px);
  line-height:1.53;
  -webkit-line-clamp:3;
}
html[lang="fa-IR"] .sc-fa-news-clips__item--featured .sc-fa-news-clips__excerpt {
  font-size:14px;
  line-height:1.94;
  -webkit-line-clamp:4;
}
@media(max-width:1020px) {
  html[lang="fa-IR"] .sc-fa-news-clips {
    grid-template-columns:repeat(2,minmax(0,1fr));
    grid-template-rows:400px repeat(2,240px);
  }
  html[lang="fa-IR"] .sc-fa-news-clips__item--featured {
    grid-column:1 / -1;
    grid-row:1;
    min-height:0;
  }
  html[lang="fa-IR"] .sc-fa-news-clips__item:nth-child(2),
  html[lang="fa-IR"] .sc-fa-news-clips__item:nth-child(3) {
    grid-row:2;
  }
  html[lang="fa-IR"] .sc-fa-news-clips__item:nth-child(4),
  html[lang="fa-IR"] .sc-fa-news-clips__item:nth-child(5) {
    grid-row:3;
  }
  html[lang="fa-IR"] .sc-fa-news-clips__item:nth-child(2),
  html[lang="fa-IR"] .sc-fa-news-clips__item:nth-child(4) { grid-column:1; }
  html[lang="fa-IR"] .sc-fa-news-clips__item:nth-child(3),
  html[lang="fa-IR"] .sc-fa-news-clips__item:nth-child(5) { grid-column:2; }
}
@media(max-width:600px) {
  html[lang="fa-IR"] .sc-fa-news-clips {
    display:flex;
    flex-direction:column;
    gap:12px;
  }
  html[lang="fa-IR"] .sc-fa-news-clips__item,
  html[lang="fa-IR"] .sc-fa-news-clips__item--featured {
    width:100%;
    flex:auto;
    height:235px;
    min-height:0;
  }
  html[lang="fa-IR"] .sc-fa-news-clips__item--featured {
    height:390px;
  }
  html[lang="fa-IR"] .sc-fa-news-clips__item--featured .sc-fa-news-clips__title {
    font-size:23px;
  }
  html[lang="fa-IR"] .sc-fa-news-clips__item--featured .sc-fa-news-clips__excerpt {
    font-size:13px;
    -webkit-line-clamp:3;
  }
  html[lang="fa-IR"] .sc-fa-news-clips__copy {
    padding:18px;
  }
}
@media(prefers-reduced-motion:reduce) {
  html[lang="fa-IR"] .sc-fa-news-clips__video,
  html[lang="fa-IR"] .sc-fa-news-clips__shade,
  html[lang="fa-IR"] .sc-fa-news-clips__play {
    transition:none;
    transform:none !important;
  }
}
