/* Hindi-only editorial hierarchy. Keep the approved shared scale while
   giving Devanagari matras and conjuncts enough vertical space. */

html[lang="hi"] {
  --serif: "Libre Caslon Display", "Noto Serif Devanagari", "Kohinoor Devanagari", "Devanagari Sangam MN", "Nirmala UI", Georgia, serif;
  --sans: "DM Sans", "Noto Sans Devanagari", "Kohinoor Devanagari", "Devanagari Sangam MN", "Nirmala UI", Arial, sans-serif;
}

html[lang="hi"] body[data-seo-locale="hi"][data-page] {
  line-height: 1.72;
}

html[lang="hi"] body[data-seo-locale="hi"] :is(
  .desktop-nav a,
  .header-actions,
  .mobile-menu,
  .mobile-quickbar,
  .site-footer,
  .button,
  .text-link,
  .section-index,
  .eyebrow,
  .kicker,
  label,
  button,
  input,
  select,
  textarea,
  small
) {
  letter-spacing: normal;
  text-transform: none;
}

html[lang="hi"] body[data-seo-locale="hi"][data-page] main h1 {
  font-size: clamp(3.25rem, 4.45vw, 4.25rem);
  line-height: 1.16;
  letter-spacing: normal;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-wrap: balance;
}

html[lang="hi"] body[data-seo-locale="hi"][data-page] main h2 {
  font-size: clamp(2.125rem, 3.2vw, 2.75rem);
  line-height: 1.24;
  letter-spacing: normal;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-wrap: balance;
}

html[lang="hi"] body[data-seo-locale="hi"][data-page] main .hi-hero-primary-title {
  margin-bottom: 0;
}

html[lang="hi"] body[data-seo-locale="hi"][data-page] main .hi-hero-subtitle {
  max-width: 38ch;
  margin: .8rem 0 28px;
  color: var(--burgundy);
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  font-weight: 400;
  line-height: 1.38;
  letter-spacing: normal;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-wrap: balance;
}

html[lang="hi"] body[data-seo-locale="hi"][data-page] main .hi-hero-subtitle span {
  display: inline;
}

html[lang="hi"] body[data-seo-locale="hi"][data-page="home"] .hero .hi-hero-primary-title {
  font-size: clamp(3.5rem, 5vw, 4.25rem);
  line-height: 1.14;
}

html[lang="hi"] body[data-seo-locale="hi"][data-page] .brand-story-copy h2 {
  font-size: clamp(2.125rem, 3.2vw, 2.75rem);
  line-height: 1.24;
  letter-spacing: normal;
  text-wrap: balance;
}

html[lang="hi"] body[data-seo-locale="hi"][data-page] main h3 {
  font-size: clamp(1.375rem, 1.7vw, 1.625rem);
  line-height: 1.34;
  letter-spacing: normal;
  text-wrap: balance;
}

html[lang="hi"] body[data-seo-locale="hi"][data-page="programmes"] main .degree-drawer-copy > .hi-degree-drawer-heading {
  max-width: none;
  margin: 30px 0 18px;
  color: var(--burgundy);
  font-family: var(--serif);
  font-size: clamp(1.375rem, 1.7vw, 1.625rem);
  font-weight: 400;
  line-height: 1.34;
  letter-spacing: normal;
  text-wrap: balance;
}

html[lang="hi"] body[data-seo-locale="hi"][data-page="programmes"] main .degree-drawer-copy > .hi-degree-drawer-subheading {
  max-width: none;
  margin: 31px 0 7px;
  color: var(--burgundy);
  font-family: var(--serif);
  font-size: clamp(1.125rem, 1.4vw, 1.3125rem);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: normal;
  text-wrap: balance;
}

html[lang="hi"] body[data-seo-locale="hi"][data-page] main .hi-carousel-clone-heading {
  font-family: var(--serif);
  font-size: clamp(1.375rem, 1.7vw, 1.625rem);
  font-weight: 400;
  line-height: 1.34;
  letter-spacing: normal;
  text-wrap: balance;
}

html[lang="hi"] body[data-seo-locale="hi"][data-page] main h4 {
  font-size: clamp(1.125rem, 1.4vw, 1.3125rem);
  line-height: 1.4;
  letter-spacing: normal;
  text-wrap: balance;
}

html[lang="hi"] body[data-seo-locale="hi"][data-page] main .editorial-section-subheading {
  max-width: 48ch;
  margin: .65rem 0 1.5rem;
  color: var(--burgundy);
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.8vw, 1.625rem);
  font-weight: 400;
  line-height: 1.38;
  letter-spacing: normal;
  text-wrap: balance;
}

html[lang="hi"] body[data-seo-locale="hi"][data-page] main .editorial-section-subheading em {
  color: inherit;
  font-weight: inherit;
}

html[lang="hi"] body[data-seo-locale="hi"][data-page] main :is(
  .page-cta,
  .about-section-head-dark,
  .about-final-cta,
  .academy-final-cta,
  .visa
) .editorial-section-subheading {
  color: rgba(238, 231, 215, .86);
}

html[lang="hi"] body[data-seo-locale="hi"][data-page] main .hi-section-heading {
  display: block;
  max-width: 38ch;
  margin: 0 0 2rem;
  font-size: clamp(2rem, 2.75vw, 2.5rem);
  line-height: 1.28;
  letter-spacing: normal;
}

html[lang="hi"] body[data-seo-locale="hi"][data-page] main :is(
  .programme-card-back-title,
  .editorial-empty-state-title
) {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.6vw, 1.5rem);
  font-weight: 400;
  line-height: 1.34;
  letter-spacing: normal;
  text-wrap: balance;
}

html[lang="hi"] body[data-seo-locale="hi"][data-page] main :is(
  .destinations-section-lead,
  .country-uk-empty-title
) {
  font-size: clamp(1.0625rem, 1.25vw, 1.1875rem);
  line-height: 1.68;
}

html[lang="hi"] body[data-seo-locale="hi"][data-page] main :is(
  .funding-country-card-title,
  .editorial-card-heading,
  .country-dossier-title
) {
  font-size: clamp(1.25rem, 1.6vw, 1.5rem);
  line-height: 1.34;
}

html[lang="hi"] body[data-seo-locale="hi"][data-page="universities"] main .catalogue-note-title {
  margin: 0;
  color: var(--burgundy);
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.5vw, 1.4rem);
  font-weight: 400;
  line-height: 1.34;
  letter-spacing: normal;
}

html[lang="hi"] body[data-seo-locale="hi"][data-page] :is(
  .hero-description,
  .inner-hero-side > p,
  .country-page-title > div:last-child > p,
  .about-hero-intro,
  .academy-catalogue-copy > p:not(.section-index),
  .careers-hero-lead,
  .contact-copy > p:not(.section-index),
  .section-head > p:last-child,
  .topic-visual-copy > p,
  .brand-story-copy > p:not(.section-index),
  .page-cta > div > p:last-child
) {
  max-width: 68ch;
  font-size: clamp(1.125rem, 1.35vw, 1.25rem);
  line-height: 1.72;
}

html[lang="hi"] body[data-seo-locale="hi"][data-page] main p {
  line-height: 1.72;
  text-wrap: pretty;
}

html[lang="hi"] body[data-seo-locale="hi"][data-page] main :is(
  p,
  h1,
  h2,
  h3,
  h4,
  li,
  a,
  b,
  small
) {
  letter-spacing: normal;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

html[lang="hi"] body[data-seo-locale="hi"][data-page] main :is(p, h1, h2, h3, h4) {
  text-align: start;
}

html[lang="hi"] body[data-seo-locale="hi"] :is(
  .section-index,
  .eyebrow,
  .country-page-country-label
) {
  text-transform: none;
}

html[lang="hi"] body[data-seo-locale="hi"] .country-page-country-label {
  display: block;
  margin: 25px 0 22px;
  color: var(--burgundy);
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: normal;
  text-transform: none;
}

html[lang="hi"] body[data-seo-locale="hi"] .country-page-country-label + h1 {
  margin-top: 0;
}

html[lang="hi"] body[data-seo-locale="hi"] .programme-card-back .programme-card-heading {
  min-height: 0;
  margin: 44px 0 18px;
  color: var(--burgundy);
  font-family: var(--serif);
  font-size: clamp(1.375rem, 1.7vw, 1.625rem);
  font-weight: 400;
  line-height: 1.34;
  letter-spacing: normal;
  text-wrap: balance;
}

html[lang="hi"] body[data-seo-locale="hi"] .contact-card .contact-card-heading {
  margin: 24px 0 12px;
  font-family: var(--serif);
  font-size: 2.1rem;
  font-weight: 400;
  line-height: 1.32;
}

html[lang="hi"] body[data-seo-locale="hi"] .academy-course-empty .academy-course-empty-title {
  margin: 18px 0 10px;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.34;
}

@media (min-width: 761px) and (max-width: 900px) {
  html[lang="hi"] body[data-seo-locale="hi"][data-page] main h1,
  html[lang="hi"] body[data-seo-locale="hi"][data-page="home"] .hero .hi-hero-primary-title {
    font-size: 2.75rem;
    line-height: 1.18;
  }

  html[lang="hi"] body[data-seo-locale="hi"][data-page] main h2,
  html[lang="hi"] body[data-seo-locale="hi"][data-page] .brand-story-copy h2 {
    font-size: 2rem;
    line-height: 1.26;
  }

  html[lang="hi"] body[data-seo-locale="hi"][data-page] main .hi-hero-subtitle {
    font-size: 1.375rem;
    line-height: 1.4;
  }

  html[lang="hi"] body[data-seo-locale="hi"][data-page="destinations"][data-country] main .country-page-title .hi-hero-primary-title {
    font-size: 2.5rem;
    line-height: 1.2;
  }
}

@media (max-width: 760px) {
  html[lang="hi"] body[data-seo-locale="hi"][data-page] main h1,
  html[lang="hi"] body[data-seo-locale="hi"][data-page="home"] .hero .hi-hero-primary-title {
    font-size: clamp(2.25rem, 10.5vw, 2.75rem);
    line-height: 1.2;
  }

  html[lang="hi"] body[data-seo-locale="hi"][data-page="academy"] .academy-catalogue-hero > * {
    min-width: 0;
  }

  html[lang="hi"] body[data-seo-locale="hi"][data-page="academy"] :is(
    .academy-catalogue-copy,
    .academy-current-board
  ) {
    width: 100%;
    max-width: 100%;
  }

  html[lang="hi"] body[data-seo-locale="hi"][data-page="academy"] .academy-catalogue-copy h1 {
    font-size: clamp(2.05rem, 8.8vw, 2.625rem);
  }

  html[lang="hi"] body[data-seo-locale="hi"][data-page] main h2,
  html[lang="hi"] body[data-seo-locale="hi"][data-page] .brand-story-copy h2 {
    font-size: clamp(1.75rem, 8vw, 2.125rem);
    line-height: 1.28;
  }

  html[lang="hi"] body[data-seo-locale="hi"][data-page] main .hi-hero-subtitle {
    font-size: clamp(1.1875rem, 5.25vw, 1.375rem);
    line-height: 1.42;
  }

  html[lang="hi"] body[data-seo-locale="hi"][data-page] main h3 {
    font-size: clamp(1.25rem, 5.6vw, 1.4375rem);
    line-height: 1.36;
  }

  html[lang="hi"] body[data-seo-locale="hi"][data-page="programmes"] main .degree-drawer-copy > .hi-degree-drawer-heading {
    margin-top: 24px;
    font-size: clamp(1.25rem, 5.6vw, 1.4375rem);
    line-height: 1.36;
  }

  html[lang="hi"] body[data-seo-locale="hi"][data-page="programmes"] main .degree-drawer-copy > .hi-degree-drawer-subheading {
    margin-top: 27px;
    font-size: clamp(1.0625rem, 4.8vw, 1.1875rem);
    line-height: 1.42;
  }

  html[lang="hi"] body[data-seo-locale="hi"][data-page] main .hi-carousel-clone-heading {
    font-size: clamp(1.25rem, 5.6vw, 1.4375rem);
    line-height: 1.36;
  }

  html[lang="hi"] body[data-seo-locale="hi"][data-page="destinations"] main .topic-visual-copy h2 {
    font-size: clamp(1.65rem, 7.4vw, 2rem) !important;
    line-height: 1.28;
  }

  html[lang="hi"] body[data-seo-locale="hi"][data-page] main h4 {
    font-size: clamp(1.0625rem, 4.8vw, 1.1875rem);
    line-height: 1.42;
  }

  html[lang="hi"] body[data-seo-locale="hi"][data-page] main .editorial-section-subheading {
    margin: .55rem 0 1.25rem;
    font-size: clamp(1.125rem, 5vw, 1.3125rem);
    line-height: 1.42;
  }

  html[lang="hi"] body[data-seo-locale="hi"][data-page] main .hi-section-heading {
    margin-bottom: 1.5rem;
    font-size: clamp(1.625rem, 7vw, 1.9375rem);
    line-height: 1.32;
  }

  html[lang="hi"] body[data-seo-locale="hi"][data-page] :is(
    .hero-description,
    .inner-hero-side > p,
    .country-page-title > div:last-child > p,
    .about-hero-intro,
    .academy-catalogue-copy > p:not(.section-index),
    .careers-hero-lead,
    .contact-copy > p:not(.section-index),
    .section-head > p:last-child,
    .topic-visual-copy > p,
    .brand-story-copy > p:not(.section-index),
    .page-cta > div > p:last-child
  ) {
    font-size: clamp(1.0625rem, 4.5vw, 1.125rem);
    line-height: 1.72;
  }

  html[lang="hi"] body[data-seo-locale="hi"] .programme-card-back .programme-card-heading {
    margin-top: 36px;
    font-size: clamp(1.25rem, 5.6vw, 1.4375rem);
    line-height: 1.36;
  }

  html[lang="hi"] body[data-seo-locale="hi"] .contact-card .contact-card-heading {
    font-size: 1.875rem;
    line-height: 1.34;
  }
}
