/*
 * Sarv Catalyst — Persian Home, Editorial Newsroom.
 * Deliberately no generic "news cards". An institutional, image-led front page.
 * Scoped to FA home. Source article data remains WordPress-driven.
 */
html[lang="fa-IR"] .sc-home-news--editorial-fa {
  --sc-news-ink: #192f42;
  --sc-news-secondary: #536a7b;
  --sc-news-blue: #0b578a;
  --sc-news-line: #dce6ec;
  --sc-news-accent: #e31d24;
  background: #fff;
  color: var(--sc-news-ink);
  padding-block: clamp(56px, 5.6vw, 94px);
  border-block: 1px solid #e5edf2;
}
html[lang="fa-IR"] .sc-home-news--editorial-fa > .sc-container {
  max-inline-size: 1490px;
  margin-inline: auto;
}
html[lang="fa-IR"] .sc-home-news--editorial-fa .sc-home-news__headline {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 36px;
  padding-bottom: clamp(20px, 2.3vw, 32px);
  margin-bottom: clamp(28px, 3.1vw, 47px);
  border-bottom: 1px solid var(--sc-news-line);
}
html[lang="fa-IR"] .sc-home-news--editorial-fa .sc-home-news__headline-copy {
  min-width: 0;
  gap: 11px;
}
html[lang="fa-IR"] .sc-home-news--editorial-fa .sc-eyebrow {
  color: var(--sc-news-blue);
  font-size: 13px;
  font-weight: 650;
}
html[lang="fa-IR"] .sc-home-news--editorial-fa .sc-eyebrow::before,
html[lang="fa-IR"] .sc-home-news--editorial-fa .sc-eyebrow::after {
  background-color: var(--sc-news-accent);
}
html[lang="fa-IR"] .sc-home-news--editorial-fa .sc-home-news__headline .sc-section__title {
  color: var(--sc-news-ink);
  font-size: clamp(32px, 3.1vw, 48px);
  font-weight: 770;
  line-height: 1.3;
  max-inline-size: none;
  letter-spacing: -0.024em;
}
html[lang="fa-IR"] .sc-home-news--editorial-fa .sc-home-news__headline .sc-section__lead {
  width: auto;
  max-width: 100%;
  white-space: nowrap;
  color: var(--sc-news-secondary);
  font-size: clamp(12px, 1.02vw, 15px);
  line-height: 1.95;
  margin: 0;
}
html[lang="fa-IR"] .sc-home-news--editorial-fa .sc-home-news__action {
  flex: 0 0 auto;
  margin: 0;
  padding-bottom: 4px;
  justify-self: auto;
}
html[lang="fa-IR"] .sc-home-news--editorial-fa .sc-home-news__action .sc-button {
  min-height: 44px;
  padding: 7px 14px;
  border: 1px solid #c8dae6;
  border-radius: 2px;
  background: #fff;
  color: var(--sc-news-blue);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color .22s ease, color .22s ease, border-color .22s ease;
}
html[lang="fa-IR"] .sc-home-news--editorial-fa .sc-home-news__action .sc-button :is(.sc-button__label,.sc-button__arrow) {
  color: inherit;
  -webkit-text-fill-color: currentcolor;
}
html[lang="fa-IR"] .sc-home-news--editorial-fa .sc-home-news__action .sc-button:is(:hover,:focus-visible) {
  background: #073d78;
  color: #fff;
  border-color: #073d78;
}

/* Magazine hierarchy: the one significant story at right, a quieter
   chronological index to its left. No competing equal-weight cards. */
html[lang="fa-IR"] .sc-home-news--editorial-fa .sc-home-news__body {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(0, .84fr);
  gap: clamp(30px, 4vw, 66px);
  align-items: start;
}
html[lang="fa-IR"] .sc-home-news--editorial-fa .sc-home-news__lead {
  min-width: 0;
}
html[lang="fa-IR"] .sc-home-news--editorial-fa .sc-home-news__lead-link {
  display: block;
  position: relative;
  border-radius: 0;
  overflow: visible;
  color: var(--sc-news-ink);
  text-decoration: none;
}
html[lang="fa-IR"] .sc-home-news--editorial-fa .sc-home-news__lead-link::after {
  content: none;
}
html[lang="fa-IR"] .sc-home-news--editorial-fa .sc-home-news__lead-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  width: 100%;
  max-height: none;
  overflow: hidden;
  border-radius: 2px;
  background-color: #edf4f8;
}
html[lang="fa-IR"] .sc-home-news--editorial-fa .sc-home-news__lead-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .65s cubic-bezier(.2,.75,.2,1);
}
html[lang="fa-IR"] .sc-home-news--editorial-fa .sc-home-news__lead-link:is(:hover,:focus-visible) .sc-home-news__lead-media img {
  transform: scale(1.035);
}
html[lang="fa-IR"] .sc-home-news--editorial-fa .sc-home-news__lead-body {
  position: static;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 21px 0 0;
  background: none;
}
html[lang="fa-IR"] .sc-home-news--editorial-fa .sc-home-news__type {
  font-size: 12px;
  color: var(--sc-news-blue);
  font-weight: 700;
  letter-spacing: 0;
}
html[lang="fa-IR"] .sc-home-news--editorial-fa .sc-home-news__lead-date,
html[lang="fa-IR"] .sc-home-news--editorial-fa .sc-home-news__entry-date {
  display: block;
  color: #7a8b97;
  font-size: 11px;
  line-height: 1.5;
  direction: auto;
}
html[lang="fa-IR"] .sc-home-news--editorial-fa .sc-home-news__lead-title {
  margin: 0;
  color: var(--sc-news-ink);
  font-size: clamp(24px, 2.2vw, 33px);
  line-height: 1.55;
  font-weight: 750;
  max-width: 35rem;
}
html[lang="fa-IR"] .sc-home-news--editorial-fa .sc-home-news__lead-summary {
  margin: 0;
  color: var(--sc-news-secondary);
  font-size: 14px;
  line-height: 2;
  max-width: 42rem;
  text-align: right;
}
html[lang="fa-IR"] .sc-home-news--editorial-fa .sc-home-news__more {
  margin-top: 3px;
  font-size: 13px;
  font-weight: 750;
  color: var(--sc-news-blue);
}

/* Light, information-rich index with article imagery kept subordinate. */
html[lang="fa-IR"] .sc-home-news--editorial-fa .sc-home-news__index {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--sc-news-ink);
}
html[lang="fa-IR"] .sc-home-news--editorial-fa .sc-home-news__entry {
  border-bottom: 1px solid var(--sc-news-line);
}
html[lang="fa-IR"] .sc-home-news--editorial-fa .sc-home-news__entry + .sc-home-news__entry {
  border-top: 0;
}
html[lang="fa-IR"] .sc-home-news--editorial-fa .sc-home-news__entry-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 76px;
  grid-template-areas: "copy media";
  column-gap: clamp(15px, 2vw, 25px);
  row-gap: 0;
  align-items: center;
  padding-block: clamp(21px, 2.2vw, 31px);
  color: var(--sc-news-ink);
  text-decoration: none;
}
html[lang="fa-IR"] .sc-home-news--editorial-fa .sc-home-news__entry-index {
  display: none;
}
html[lang="fa-IR"] .sc-home-news--editorial-fa .sc-home-news__entry-media {
  grid-area: media;
  width: 76px;
  height: 76px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 2px;
  background: #f0f5f8;
}
html[lang="fa-IR"] .sc-home-news--editorial-fa .sc-home-news__entry-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}
html[lang="fa-IR"] .sc-home-news--editorial-fa .sc-home-news__entry-body {
  grid-area: copy;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  min-width: 0;
  text-align: right;
}
html[lang="fa-IR"] .sc-home-news--editorial-fa .sc-home-news__entry-title {
  display: block;
  font-size: clamp(16px, 1.3vw, 20px);
  font-weight: 700;
  line-height: 1.65;
  color: var(--sc-news-ink);
  transition: color .22s ease;
}
html[lang="fa-IR"] .sc-home-news--editorial-fa .sc-home-news__entry-summary {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: var(--sc-news-secondary);
  font-size: 12px;
  line-height: 1.85;
  text-align: right;
}
html[lang="fa-IR"] .sc-home-news--editorial-fa .sc-home-news__entry-arrow {
  display: none;
}
html[lang="fa-IR"] .sc-home-news--editorial-fa .sc-home-news__entry-link:is(:hover,:focus-visible) .sc-home-news__entry-title {
  color: var(--sc-news-blue);
}
html[lang="fa-IR"] .sc-home-news--editorial-fa .sc-home-news__entry-link:is(:hover,:focus-visible) .sc-home-news__entry-media img {
  transform: scale(1.06);
}

/* Tablet keeps the editorial order without cramped columns. */
@media (max-width: 1050px) {
  html[lang="fa-IR"] .sc-home-news--editorial-fa .sc-home-news__body {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 28px;
  }
  html[lang="fa-IR"] .sc-home-news--editorial-fa .sc-home-news__lead-media {
    aspect-ratio: 4 / 3;
  }
  html[lang="fa-IR"] .sc-home-news--editorial-fa .sc-home-news__headline .sc-section__lead {
    white-space: normal;
  }
}
@media (max-width: 760px) {
  html[lang="fa-IR"] .sc-home-news--editorial-fa {
    padding-block: 52px 66px;
  }
  html[lang="fa-IR"] .sc-home-news--editorial-fa .sc-home-news__headline {
    flex-wrap: wrap;
    align-items: flex-start;
    margin-bottom: 26px;
  }
  html[lang="fa-IR"] .sc-home-news--editorial-fa .sc-home-news__body {
    grid-template-columns: minmax(0, 1fr);
    gap: 33px;
  }
  html[lang="fa-IR"] .sc-home-news--editorial-fa .sc-home-news__lead-media {
    aspect-ratio: 16 / 11;
  }
  html[lang="fa-IR"] .sc-home-news--editorial-fa .sc-home-news__lead-body {
    padding-top: 15px;
    gap: 8px;
  }
  html[lang="fa-IR"] .sc-home-news--editorial-fa .sc-home-news__lead-title {
    font-size: 24px;
  }
  html[lang="fa-IR"] .sc-home-news--editorial-fa .sc-home-news__entry-link {
    grid-template-columns: minmax(0, 1fr) 74px;
    padding-block: 19px;
  }
  html[lang="fa-IR"] .sc-home-news--editorial-fa .sc-home-news__entry-media {
    width: 74px;
    height: 74px;
  }
  html[lang="fa-IR"] .sc-home-news--editorial-fa .sc-home-news__entry-summary {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html[lang="fa-IR"] .sc-home-news--editorial-fa .sc-home-news__lead-media img,
  html[lang="fa-IR"] .sc-home-news--editorial-fa .sc-home-news__entry-media img,
  html[lang="fa-IR"] .sc-home-news--editorial-fa .sc-home-news__entry-title,
  html[lang="fa-IR"] .sc-home-news--editorial-fa .sc-home-news__action .sc-button {
    transition: none;
    transform: none !important;
  }
}
