/**
 * Sarv / 23 Oct 2026 — Persian owner review.
 * Scope: nine requested frontend changes only. EN/RU untouched.
 * Loaded after all locale and page CSS to avoid fragile global overrides.
 */

/* 05 + 09 — Inner pages are introduction bands, not second home heroes. */
html[lang="fa-IR"] .sc-fa-inner-hero__inner {
  padding-block: clamp(18px, 1.7vw, 26px) clamp(27px, 3vw, 43px) !important;
}

html[lang="fa-IR"] .sc-fa-inner-hero .sc-breadcrumbs {
  margin-block-end: clamp(14px, 2vw, 29px) !important;
}

html[lang="fa-IR"] .sc-fa-inner-hero__heading {
  gap: clamp(8px, .8vw, 14px);
}

html[lang="fa-IR"] .sc-fa-inner-hero::before {
  inset-block-start: -30px;
  opacity: .11;
}

html[lang="fa-IR"] .sc-contact-hero__inner,
html[lang="fa-IR"] .sc-news-hero__inner,
html[lang="fa-IR"] .sc-insights-hero__inner {
  padding-block: clamp(24px, 2.5vw, 40px) !important;
}

html[lang="fa-IR"] body:not(.home) :is(
  .sc-product__header,
  .sc-news-single__header,
  .sc-call-single__header
) {
  padding-block: clamp(22px, 2.5vw, 38px) !important;
}

html[lang="fa-IR"] body:not(.home) :is(
  .sc-product__header,
  .sc-news-single__header,
  .sc-call-single__header
) .sc-breadcrumbs {
  margin-block-end: clamp(14px, 2vw, 28px) !important;
}

/* The newsroom hero has just a breadcrumb, eyebrow and title. */
html[lang="fa-IR"] #news-hero.sc-fa-inner-hero .sc-breadcrumbs {
  margin-block-end: 15px !important;
}

html[lang="fa-IR"] #news-hero.sc-fa-inner-hero__inner,
html[lang="fa-IR"] #news-hero.sc-fa-inner-hero {
  min-height: 0 !important;
}

html[lang="fa-IR"] #news-hero .sc-fa-inner-hero__inner {
  padding-block: 17px 27px !important;
}

/* 06 — A pure text CEO statement spanning the panel; no empty photo grid. */
html[lang="fa-IR"] .sc-leadership--editorial .sc-leadership__panel {
  display: block !important;
  height: auto !important;
  min-height: 0 !important;
  padding: clamp(28px, 3.5vw, 51px) clamp(25px, 5vw, 73px) !important;
}

html[lang="fa-IR"] .sc-leadership--editorial .sc-leadership__copy {
  width: 100%;
  max-width: none !important;
  min-width: 0;
}

html[lang="fa-IR"] .sc-leadership--editorial .sc-leadership__portrait {
  display: none !important;
}

html[lang="fa-IR"] .sc-leadership--editorial .sc-leadership__statement p {
  max-width: none;
  text-align: justify;
  text-align-last: right;
}

html[lang="fa-IR"] .sc-leadership--editorial .sc-leadership__signature {
  margin-top: clamp(5px, 1.3vw, 16px);
}

/* 07 — The knowledge CTA belongs across from the title and introduction. */
@media (width >= 1024px) {
  html[lang="fa-IR"] .sc-insights__headline {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "eyebrow action"
      "title action"
      "lead action";
    align-items: center;
    gap: 8px clamp(20px, 4vw, 65px);
    margin-bottom: clamp(20px, 2.5vw, 37px);
  }
  html[lang="fa-IR"] .sc-insights__headline > .sc-eyebrow { grid-area: eyebrow; }
  html[lang="fa-IR"] .sc-insights__headline > .sc-section__title { grid-area: title; }

  html[lang="fa-IR"] .sc-insights__headline > .sc-insights__wide-lead {
    grid-area: lead;
    max-width: 80ch;
    white-space: normal;
  }

  html[lang="fa-IR"] .sc-insights__headline > .sc-insights__headline-action {
    grid-area: action;
    margin: 0;
    place-self: center start;
  }
}

html[lang="fa-IR"] .sc-insights__headline .sc-insights__headline-action {
  margin: 10px 0 0;
}

html[lang="fa-IR"] .sc-insights__headline-action .sc-button {
  min-height: 47px;
  white-space: nowrap;
}

/* 04 — Contact channels: read phone first, address second, socials by icon. */
html[lang="fa-IR"] .sc-contact-details--fa {
  padding-block: clamp(42px, 5.3vw, 80px);
  background: #f4f8fa;
}

html[lang="fa-IR"] .sc-contact-details--fa .sc-contact-details__shell {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(36px, 6vw, 100px);
  align-items: start;
}

html[lang="fa-IR"] .sc-contact-details--fa .sc-contact-details__heading {
  min-width: 0;
  padding-block-start: 4px;
}

html[lang="fa-IR"] .sc-contact-details--fa .sc-contact-details__title {
  margin-block: 13px 17px;
  font-size: clamp(27px, 2.8vw, 40px);
  line-height: 1.35;
}

html[lang="fa-IR"] .sc-contact-details--fa .sc-contact-details__body {
  max-width: 38ch;
  margin: 0;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 2.05;
  color: #546b7b;
}

html[lang="fa-IR"] .sc-contact-details--fa .sc-contact-details__content {
  min-width: 0;
}

html[lang="fa-IR"] .sc-contact-details--fa .sc-contact-details__methods {
  display: grid;
  gap: 0;
  margin: 0;
}

html[lang="fa-IR"] .sc-contact-details--fa .sc-contact-details__method {
  display: grid;
  grid-template-columns: minmax(110px, .42fr) minmax(0, 1fr);
  gap: 15px;
  align-items: baseline;
  padding: clamp(16px, 1.6vw, 23px) 0;
  border-block-start: 1px solid #cbd8e1;
}

html[lang="fa-IR"] .sc-contact-details--fa .sc-contact-details__method:first-child {
  border-top: 2px solid #1c7aaa;
}

html[lang="fa-IR"] .sc-contact-details--fa .sc-contact-details__method dt {
  color: #657b89;
  font-size: 13px;
  font-weight: 650;
}

html[lang="fa-IR"] .sc-contact-details--fa .sc-contact-details__method dd {
  margin: 0;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.85;
  font-weight: 500;
  color: #16364b;
  overflow-wrap: anywhere;
}

html[lang="fa-IR"] .sc-contact-details--fa .sc-contact-details__method--primary dd {
  font-size: clamp(19px, 1.8vw, 26px);
  font-weight: 650;
  text-align: right;
}

html[lang="fa-IR"] .sc-contact-details--fa .sc-contact-details__method a {
  color: #0a608d;
  text-decoration: none;
  transition: color 160ms ease;
}

html[lang="fa-IR"] .sc-contact-details--fa .sc-contact-details__method a:is(:hover,:focus-visible) {
  color: #033b5b;
  text-decoration: underline;
  text-underline-offset: 4px;
}

html[lang="fa-IR"] .sc-contact-details__socials {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  border-top: 1px solid #cbd8e1;
  padding-top: 21px;
}

html[lang="fa-IR"] .sc-contact-details__social-label {
  color: #526a7a;
  font-size: 14px;
  font-weight: 650;
}

html[lang="fa-IR"] .sc-contact-details__social-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

html[lang="fa-IR"] .sc-contact-details__social {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid #c3d5df;
  border-radius: 6px;
  background: #ffffff;
  color: #1a6f9f;
  transition: background-color 160ms ease, border-color 160ms ease;
}

html[lang="fa-IR"] .sc-contact-details__social:is(:hover,:focus-visible) {
  border-color: #126b9c;
  background: #e5f2f9;
  outline-offset: 3px;
}

@media (width <= 900px) {
  html[lang="fa-IR"] .sc-contact-details--fa .sc-contact-details__shell {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  html[lang="fa-IR"] .sc-contact-details--fa .sc-contact-details__body {
    max-width: 65ch;
  }
}

@media (width <= 600px) {
  html[lang="fa-IR"] .sc-contact-details--fa .sc-contact-details__method {
    grid-template-columns: 1fr;
    gap: 2px;
    padding-block: 16px;
  }

  html[lang="fa-IR"] .sc-contact-details--fa .sc-contact-details__method--primary dd {
    text-align: right;
  }

  html[lang="fa-IR"] .sc-insights__headline .sc-insights__headline-action {
    margin-top: 13px;
    width: 100%;
  }

  html[lang="fa-IR"] .sc-insights__headline-action .sc-button {
    max-width: 100%;
    white-space: normal;
  }

  html[lang="fa-IR"] .sc-leadership--editorial .sc-leadership__panel {
    padding: 25px 20px !important;
  }

  html[lang="fa-IR"] .sc-fa-inner-hero__inner {
    padding-block: 16px 28px !important;
  }

  html[lang="fa-IR"] .sc-fa-inner-hero .sc-breadcrumbs {
    margin-bottom: 12px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html[lang="fa-IR"] .sc-contact-details--fa .sc-contact-details__method a,
  html[lang="fa-IR"] .sc-contact-details__social {
    transition: none;
  }
}

/* Approved Sarv Group destinations: logo and company name form one link. */
html[lang="fa-IR"] .sc-family--band .sc-family__identity-link {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 100%;
  color: inherit;
  text-decoration: none;
}

html[lang="fa-IR"] .sc-family--band .sc-family__identity-link:focus-visible {
  outline: 2px solid #126fa5;
  outline-offset: 6px;
}

html[lang="fa-IR"] .sc-family--band .sc-family__identity-link:is(:hover, :focus-visible) .sc-family__wordmark {
  color: #08659b;
  text-decoration: underline;
  text-underline-offset: 4px;
}
