@font-face {
  font-family: 'JeevanSetu Telugu';
  src: url('/releases/6f531b3da00949d6aa25/css/fonts/NotoSansTelugu.ttf') format('truetype');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 82px;
  padding: 9px 12px;
  border: 1px solid #0a2f63;
  border-radius: 7px;
  color: #0a2f63;
  background: #fff;
  font-family: Arial, 'JeevanSetu Telugu', 'Nirmala UI', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
}
.language-switch:hover {
  background: #edf5ff;
}
.header-book-label-mobile {
  display: none;
}
.site-header .header-actions [data-open-booking] .header-book-label-full {
  font-size: inherit;
}
#language-switch-home:empty {
  display: none;
}
.ads-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.ads-header #language-switch-home {
  order: 1;
}

html[lang='te'],
html[lang='te'] #booking-dialog {
  font-family: 'JeevanSetu Telugu', 'Nirmala UI', sans-serif;
  line-height: 1.8;
}
html[lang='te'] :is(h1, h2, h3, .eyebrow, .calculator-ring-label, #booking-title) {
  letter-spacing: normal;
  line-height: 1.5;
}
html[lang='te'] .home-page > :is(.site-header, #main, .site-footer, .skip-link) {
  font-family: 'JeevanSetu Telugu', 'Nirmala UI', sans-serif;
  line-height: 1.8;
}
html[lang='te'] .home-page > #main :is(h1, h2, h3) {
  line-height: 1.5;
  letter-spacing: normal;
}
html[lang='te'] .home-page > :is(.site-header, #main) :is(.button, .text-button) {
  line-height: 1.7;
}
html[lang='te'] .home-page > .site-header .header-inner {
  height: auto;
}
html[lang='te'] :is(.button, label, legend, summary) {
  line-height: 1.7;
}
html[lang='te'] .date-option {
  min-width: 0;
}
html[lang='te'] .date-option span {
  font-size: 0.73rem;
}
html[lang='te'] .slot-option {
  min-width: 0;
  text-align: center;
}
#booking-dialog .booking-header-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
html[lang='te'] #booking-dialog #booking-title {
  font-size: 27px;
  line-height: 1.5;
  letter-spacing: normal;
}
html[lang='te'] #booking-dialog .booking-heading .eyebrow {
  letter-spacing: normal;
}
html[lang='te'] #booking-dialog :is(.booking-intro, .session-countdown, .slot-option) {
  line-height: 1.8;
}
html[lang='te'] .calculator-result-circle {
  aspect-ratio: auto;
  min-height: 190px;
}
html[lang='te'] :is(.calculator-layout > *, .calculator-form-heading > div) {
  min-width: 0;
}
html[lang='te'] .calculator-actions {
  flex-wrap: wrap;
}
html[lang='te'] .calculator-actions button {
  min-width: 0;
  max-width: 100%;
}
html[lang='te'] .calculator-card {
  overflow-wrap: anywhere;
}

@media (max-width: 780px) {
  .header-inner,
  .home-page > .site-header .header-inner {
    height: auto;
    min-height: 80px;
    flex-wrap: wrap;
    padding-block: 10px;
    gap: 10px;
  }
  .header-actions,
  html[lang='te'] .header-actions {
    flex: 1 1 100%;
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr);
    gap: 8px;
  }
  .header-inner .button,
  html[lang='te'] .header-inner .button {
    max-width: none;
    width: 100%;
  }
  .header-inner nav,
  html[lang='te'] .header-inner nav {
    display: none;
  }
}
@media (max-width: 600px) {
  html[lang='te'] #booking-dialog .slot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  html[lang='te'] #booking-dialog .consultation-dialog-header {
    grid-template-columns: minmax(0, 1fr);
  }
  html[lang='te'] #booking-dialog .booking-header-actions {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
  }
  html[lang='te'] h1 {
    font-size: clamp(2.1rem, 8vw, 3rem);
  }
  html[lang='te'] h2 {
    font-size: clamp(1.7rem, 6vw, 2.3rem);
  }
}

/* Keep the longer Telugu labels on a common baseline and give the header
   explicit rows at narrower widths instead of letting its flex items wrap. */
html[lang='te'] .site-header .header-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  height: auto;
  min-height: 84px;
  padding-block: 12px;
  gap: 16px;
}
html[lang='te'] .site-header .brand img {
  width: 180px;
}
html[lang='te'] .site-header nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}
html[lang='te'] .site-header nav a {
  font-size: 0.85rem;
  line-height: 1.6;
  white-space: nowrap;
}
html[lang='te'] .site-header .header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
html[lang='te'] .site-header #language-switch-home {
  display: flex;
  align-items: center;
}
html[lang='te'] .site-header :is(.language-switch, .header-whatsapp, [data-open-booking]),
html[lang='te'] :is(.site-header, #main) .header-actions [data-open-booking] {
  height: 48px;
  min-height: 48px;
  padding: 8px 12px;
  font-size: 0.85rem;
  line-height: 1.6;
  white-space: nowrap;
}
html[lang='te'] .site-header [data-open-booking] {
  width: auto;
  max-width: none;
  gap: 10px;
}
html[lang='te'] .site-header [data-open-booking] > span {
  font-size: 1.1rem;
}

@media (min-width: 781px) and (max-width: 1119px) {
  html[lang='te'] .site-header .header-inner {
    grid-template-columns: auto 1fr;
    gap: 4px 16px;
  }
  html[lang='te'] .site-header .header-actions {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }
  html[lang='te'] .site-header nav {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}
@media (max-width: 780px) {
  html[lang='te'] .site-header .header-inner {
    grid-template-columns: auto 1fr;
    min-height: 72px;
    padding-block: 10px;
    gap: 10px;
  }
  html[lang='te'] .site-header .brand img {
    width: 140px;
  }
  html[lang='te'] .site-header nav {
    display: none;
  }
  html[lang='te'] .site-header .header-actions {
    justify-self: end;
  }
  html[lang='te'] .site-header .header-whatsapp {
    width: 48px;
    padding: 10px;
  }
  html[lang='te'] .site-header .header-whatsapp span {
    display: none;
  }
}
@media (max-width: 639px) {
  .site-header .header-inner,
  .home-page > .site-header .header-inner,
  html[lang='te'] .site-header .header-inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    height: auto;
    min-height: 0;
    padding-block: 10px;
    gap: 10px;
  }
  .site-header .brand,
  .home-page > .site-header .brand,
  html[lang='te'] .site-header .brand {
    grid-column: 1;
    grid-row: 1;
    margin-right: 90px;
  }
  .site-header .header-actions,
  .home-page > .site-header .header-actions,
  html[lang='te'] .site-header .header-actions {
    display: grid;
    grid-column: 1;
    grid-row: 2;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    min-width: 0;
    gap: 8px;
  }
  .site-header #language-switch-home,
  .home-page > .site-header #language-switch-home,
  html[lang='te'] .site-header #language-switch-home {
    position: absolute;
    top: 10px;
    right: 0;
    display: flex;
    align-items: center;
  }
  .site-header .header-whatsapp,
  html[lang='te'] .site-header .header-whatsapp,
  .site-header .header-actions [data-open-booking],
  .home-page > .site-header .header-actions :is(.header-whatsapp, [data-open-booking]),
  .home-page > :is(.site-header, #main) .header-actions [data-open-booking],
  html[lang='te'] :is(.site-header, #main) .header-actions [data-open-booking] {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    height: 48px;
    min-height: 48px;
    padding: 8px 6px;
    gap: 5px;
    font-size: 0.75rem;
    line-height: 1.35;
    white-space: nowrap;
  }
  .site-header .header-whatsapp span,
  .home-page > .site-header .header-whatsapp span,
  html[lang='te'] .site-header .header-whatsapp span {
    display: inline;
    position: static;
    width: auto;
    height: auto;
    padding: 0;
    margin: 0;
    overflow: visible;
    clip: auto;
    font-size: 0.975rem;
  }
  .site-header .header-whatsapp svg,
  .home-page > .site-header .header-whatsapp svg {
    width: 22px;
    height: 22px;
  }
  .site-header .header-actions [data-open-booking],
  .home-page > .site-header .header-actions [data-open-booking] {
    justify-content: center;
    max-width: none;
  }
  .home-page > :is(.site-header, #main) .header-actions [data-open-booking] {
    justify-content: center;
    max-width: none;
  }
  .header-book-label-full {
    display: none;
  }
  .site-header .header-actions [data-open-booking] .header-book-label-mobile {
    display: inline;
    font-size: 0.975rem;
  }
  .site-header .header-actions [data-open-booking] > span[aria-hidden='true'],
  .home-page > .site-header .header-actions [data-open-booking] > span[aria-hidden='true'] {
    display: none;
  }
}

@media (max-width: 520px) {
  .whatsapp-float {
    width: 60px;
    height: 60px;
    min-height: 60px;
    padding: 14px;
  }
}
