@view-transition {
  navigation: auto;
}

html,
body {
  max-width: 100%;
  overflow-x: clip;
}

html[lang]:not([lang="en"]):not([data-ss-locale-ready]):not([data-ss-locale-failed]) body {
  position: relative;
  min-height: 100vh;
}

html[lang]:not([lang="en"]):not([data-ss-locale-ready]):not([data-ss-locale-failed]) body > * {
  visibility: hidden;
}

html[lang]:not([lang="en"]):not([data-ss-locale-ready]):not([data-ss-locale-failed]) body::before {
  content: "Preparing your selected language...";
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: linear-gradient(180deg, #fff9ea 0%, #eef4ee 100%);
  color: #214232;
  font: 700 1rem/1.4 Georgia, serif;
  letter-spacing: 0.02em;
  text-align: center;
  pointer-events: none;
  z-index: 9999;
}

:where(main, section, article, aside, nav, header, footer, .container, .grid, .panel, .card, .hero-card) {
  min-width: 0;
}

:where(img, picture, svg, video, canvas, iframe) {
  max-width: 100%;
}

:where(table) {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

:where(pre) {
  max-width: 100%;
  overflow-x: auto;
}

:root {
  --section-gap-tight: 1.25rem;
  --ss-top-height: 76px;
  --ss-topbar-height: 78px;
  --ss-site-header-height: 92px;
  --ss-stacked-header-height: 76px;
  --ss-subnav-height: 56px;
  --ss-scroll-nav-gap: 0.35rem;
  --ss-scroll-nav-transition: 0.28s ease;
}

:where(.grid, .cards, .help-grid, .links-grid, .status-grid, .history-notes, .results, .map-grid, .mini-grid, .tracker-grid, .facts, .section-grid) {
  align-items: start;
}

:where(.grid, .cards, .help-grid, .links-grid, .status-grid, .history-notes, .results, .map-grid, .mini-grid, .tracker-grid, .facts, .section-grid) > * {
  min-width: 0;
}

:where(.panel, .card, .notice, .service, .place, .teaching, .status-card, .side-card, .map-card, .feature-card, .journey-card, .package-card, .blog-card, .service-panel, .testimonial-card, .tour-stop, .visual-box, .item, .link-card, .fact) {
  height: auto;
}

:where(.panel, .card, .notice, .status-card, .side-card, .map-card, .feature-card, .journey-card, .package-card, .blog-card, .service-panel, .testimonial-card, .tour-stop, .item, .link-card, .fact) {
  display: flex;
  flex-direction: column;
}

:where(.panel, .card, .notice, .status-card, .side-card, .map-card, .feature-card, .journey-card, .package-card, .blog-card, .service-panel, .testimonial-card, .tour-stop, .item, .link-card, .fact) > :last-child {
  margin-bottom: 0;
}

:where(.panel, .notice, .card) .list,
:where(.panel, .notice, .card) .stack,
:where(.panel, .notice, .card) .facts,
:where(.panel, .notice, .card) .official-links,
:where(.panel, .notice, .card) .bullets {
  width: 100%;
}

:where(.cards, .help-grid, .links-grid, .status-grid, .history-notes) > * {
  min-width: 0;
}

.section .container > .panel:only-child,
.section .container > .table-wrap:only-child {
  margin-inline: auto;
}

@media (min-width: 981px) {
  .container.grid > .notice,
  .container.grid > aside.cards,
  .container.section-grid > .side-stack,
  .container.section-grid > aside,
  .services-layout > .service-highlight {
    align-self: start;
  }

  .container.grid > aside.cards,
  .container.section-grid > .side-stack {
    position: sticky;
    top: 8.5rem;
  }
}

@media (max-width: 980px) {
  .container.grid,
  .container.cards,
  .container.section-grid,
  .history-notes,
  .status-grid,
  .help-grid,
  .links-grid {
    gap: var(--section-gap-tight);
  }
}

.subnav .container {
  row-gap: .75rem;
  align-items: flex-start;
}

:where(.site-header, .top, .topbar, .subnav) {
  transition:
    transform var(--ss-scroll-nav-transition),
    opacity var(--ss-scroll-nav-transition),
    box-shadow .28s ease,
    background .28s ease,
    border-color .28s ease;
  will-change: transform;
}

body.ss-nav-ready .subnav {
  top: var(--ss-stacked-header-height);
}

body.ss-nav-hidden .site-header {
  transform: translateY(calc(-100% - var(--ss-scroll-nav-gap)));
}

body.ss-nav-hidden .top {
  transform: translateY(calc(-1 * var(--ss-top-height) - var(--ss-scroll-nav-gap)));
}

body.ss-nav-hidden .topbar {
  transform: translateY(calc(-1 * var(--ss-topbar-height) - var(--ss-scroll-nav-gap)));
}

body.ss-nav-hidden .subnav {
  transform: translateY(calc(-100% - var(--ss-stacked-header-height) - var(--ss-scroll-nav-gap)));
}

body.menu-open .site-header,
body.menu-open .top,
body.menu-open .topbar,
body.menu-open .subnav,
body.ss-nav-hidden .nav-wrap.open {
  transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
  :where(.site-header, .top, .topbar, .subnav) {
    transition: none;
  }
}

.subnav a {
  display: inline-flex;
  align-items: center;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
  box-shadow: 0 8px 18px rgba(74, 53, 39, .07);
  min-height: 2.6rem;
  text-align: center;
  white-space: normal;
  color: #3f2f1d !important;
  text-shadow: none !important;
  filter: none !important;
  opacity: 1 !important;
}

.subnav a:hover,
.subnav a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(157, 124, 54, .42);
  box-shadow: 0 14px 24px rgba(43, 31, 20, .12);
}

.subnav a.is-active {
  background: linear-gradient(135deg, #214232, #35624d) !important;
  color: #fff7ec !important;
  border-color: rgba(33, 66, 50, .65) !important;
  box-shadow: 0 14px 28px rgba(33, 66, 50, .24);
}

.subnav a:nth-child(6n + 1) {
  background: linear-gradient(135deg, rgba(255, 247, 233, .96), rgba(247, 231, 198, .92));
}

.subnav a:nth-child(6n + 2) {
  background: linear-gradient(135deg, rgba(242, 248, 238, .96), rgba(218, 233, 220, .92));
}

.subnav a:nth-child(6n + 3) {
  background: linear-gradient(135deg, rgba(255, 245, 239, .96), rgba(241, 220, 204, .92));
}

.subnav a:nth-child(6n + 4) {
  background: linear-gradient(135deg, rgba(250, 243, 231, .96), rgba(236, 223, 193, .92));
}

.subnav a:nth-child(6n + 5) {
  background: linear-gradient(135deg, rgba(241, 247, 247, .96), rgba(219, 232, 230, .92));
}

.subnav a:nth-child(6n + 6) {
  background: linear-gradient(135deg, rgba(249, 240, 234, .96), rgba(233, 214, 204, .92));
}

body {
  top: 0 !important;
}

iframe.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
body > .skiptranslate {
  display: none !important;
}

.goog-te-gadget,
.goog-logo-link {
  display: none !important;
}

.goog-te-spinner-pos {
  display: none !important;
}

:where(.panel, .card, .notice, .service, .place, .teaching, .status-card, .side-card, .map-card, .feature-card, .journey-card, .package-card, .blog-card, .service-panel, .testimonial-card, .tour-stop, .visual-box, .item, .link-card, .fact) p,
:where(.panel, .card, .notice, .service, .place, .teaching, .status-card, .side-card, .map-card, .feature-card, .journey-card, .package-card, .blog-card, .service-panel, .testimonial-card, .tour-stop, .visual-box, .item, .link-card, .fact) li,
:where(.panel, .card, .notice, .service, .place, .teaching, .status-card, .side-card, .map-card, .feature-card, .journey-card, .package-card, .blog-card, .service-panel, .testimonial-card, .tour-stop, .visual-box, .item, .link-card, .fact) a,
:where(.panel, .card, .notice, .service, .place, .teaching, .status-card, .side-card, .map-card, .feature-card, .journey-card, .package-card, .blog-card, .service-panel, .testimonial-card, .tour-stop, .visual-box, .item, .link-card, .fact) strong,
:where(.panel, .card, .notice, .service, .place, .teaching, .status-card, .side-card, .map-card, .feature-card, .journey-card, .package-card, .blog-card, .service-panel, .testimonial-card, .tour-stop, .visual-box, .item, .link-card, .fact) h2,
:where(.panel, .card, .notice, .service, .place, .teaching, .status-card, .side-card, .map-card, .feature-card, .journey-card, .package-card, .blog-card, .service-panel, .testimonial-card, .tour-stop, .visual-box, .item, .link-card, .fact) h3 {
  overflow-wrap: anywhere;
  word-break: normal;
}

/* Global whitespace tightening (reduces unwanted gaps) */
.section {
  padding-top: 2.1rem;
  padding-bottom: 2.1rem;
}

/* Reduce double-spacing when one section follows another */
.section + .section {
  padding-top: 1.35rem;
}

.panel p,
.card p,
.notice p,
.place p,
.feature-card p,
.journey-card p,
.package-card p,
.service-panel p,
.testimonial-card p,
.blog-card p,
.about-copy p {
  margin: 0.35rem 0 0;
}

.section-title-wrap {
  margin-bottom: 1.6rem;
}

/* Header and navigation tightening */
.site-header .header-inner {
  min-height: var(--header-height);
  height: auto;
  padding-block: 0.6rem;
  align-items: center;
}

.site-header .nav-wrap {
  min-width: 0;
  gap: 0.75rem;
  align-items: center;
}

.site-header .site-nav {
  min-width: 0;
  gap: 0.95rem;
  align-items: center;
}

.site-header .site-nav > a,
.site-header .nav-group-toggle {
  line-height: 1.25;
}

/* Malayalam-safe wrapping for legacy nav clusters */
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

html[lang="ml"] .nav-links a {
  font-size: 0.9rem;
  line-height: 1.6;
  white-space: normal;
  max-width: 150px;
  text-align: center;
}

/* Shared white navbar breathing room for longer Indic labels */
html[lang="ml"] .ss-white-nav-root .ss-white-nav-list {
  row-gap: 8px;
}

html[lang="ml"] .ss-white-nav-root .nav-group {
  align-items: stretch;
}

html[lang="ml"] .ss-white-nav-root .ss-tiered-menu-trigger,
html[lang="ml"] .ss-white-nav-root .ss-white-nav-link {
  white-space: normal;
  line-height: 1.6;
  text-align: center;
}

html[lang="ml"] .ss-white-nav-root .ss-tiered-menu-trigger {
  max-width: 150px;
  min-height: 52px;
  font-size: 12.25px;
  letter-spacing: 0.02em;
}

.site-header .language-switcher {
  max-width: 100%;
}

.site-header-with-language-tab {
  position: fixed;
  background: transparent !important;
  overflow: visible;
}

.site-header-with-language-tab::before,
.site-header-with-language-tab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  pointer-events: none;
}

.site-header-with-language-tab::before {
  top: 0;
  height: 2.4rem;
  background:
    linear-gradient(135deg, rgba(41, 63, 51, 0.98), rgba(54, 82, 66, 0.98));
  border-bottom: 1px solid rgba(197, 163, 95, 0.22);
  box-shadow: inset 0 -1px 0 rgba(255, 231, 184, 0.12);
}

.site-header-with-language-tab::after {
  top: 2.4rem;
  bottom: 0;
  background:
    linear-gradient(180deg, rgba(252, 248, 240, 0.99), rgba(243, 235, 220, 0.98));
  border-bottom: 1px solid rgba(112, 84, 40, 0.12);
  box-shadow: 0 16px 30px rgba(45, 36, 28, 0.08);
}

.site-header-with-language-tab .header-inner,
.site-header-with-language-tab .header-language-tab {
  position: relative;
  z-index: 1;
}

.site-header-with-language-tab .header-inner {
  min-height: calc(var(--header-height) + 1.6rem);
  height: auto;
  padding-top: 1.55rem;
  padding-bottom: 0.65rem;
  padding-right: 0;
  column-gap: 1.2rem;
  align-items: center;
}

.site-header-with-language-tab .logo {
  flex: 0 1 auto;
  padding: 0.2rem 0.2rem 0.2rem 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  transform: translateY(0.35rem);
}

.site-header-with-language-tab .nav-wrap {
  width: min(100%, 1080px);
  min-width: 0;
  margin-inline: auto 0;
  justify-content: center;
}

.site-header-with-language-tab .site-nav {
  width: 100%;
  justify-content: center;
  flex-wrap: wrap;
  row-gap: 0.45rem;
  column-gap: 1.35rem;
  padding: 0.15rem 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.site-header-with-language-tab .nav-group {
  position: relative;
}

.site-header-with-language-tab .submenu {
  left: 50%;
  right: auto;
  transform: translateX(-50%) translateY(10px);
  max-width: min(92vw, 360px);
  background: linear-gradient(180deg, rgba(255, 251, 245, 0.99), rgba(246, 237, 220, 0.98));
  border: 1px solid rgba(177, 143, 80, 0.22);
  box-shadow: 0 24px 40px rgba(56, 39, 18, 0.14);
  border-radius: 22px;
}

.site-header-with-language-tab .nav-group:hover .submenu,
.site-header-with-language-tab .nav-group:focus-within .submenu,
.site-header-with-language-tab .nav-group.open .submenu {
  transform: translateX(-50%) translateY(0);
}

.site-header-with-language-tab .nav-group:last-child .submenu,
.site-header-with-language-tab .nav-group:nth-last-child(2) .submenu {
  left: auto;
  right: 0;
  transform: translateX(0) translateY(10px);
}

.site-header-with-language-tab .nav-group:last-child:hover .submenu,
.site-header-with-language-tab .nav-group:last-child:focus-within .submenu,
.site-header-with-language-tab .nav-group:last-child.open .submenu,
.site-header-with-language-tab .nav-group:nth-last-child(2):hover .submenu,
.site-header-with-language-tab .nav-group:nth-last-child(2):focus-within .submenu,
.site-header-with-language-tab .nav-group:nth-last-child(2).open .submenu {
  transform: translateX(0) translateY(0);
}

.site-header-with-language-tab .site-nav > a,
.site-header-with-language-tab .nav-group-toggle {
  font-size: 1.08rem;
  font-weight: 700;
  padding: 0.3rem 0;
  border-radius: 0;
  line-height: 1.2;
  letter-spacing: 0;
}

.site-header-with-language-tab .logo-mark {
  font-size: 1.8rem;
  color: #4a3120;
  text-shadow: none;
}

.site-header-with-language-tab .logo-sub {
  font-size: 0.92rem;
  color: #35624d;
  font-weight: 700;
}

.site-header-with-language-tab .header-language-tab {
  position: absolute;
  top: 0.22rem;
  left: 1rem;
  right: 1rem;
  z-index: 1205;
  pointer-events: auto;
}

.site-header-with-language-tab .header-language-tab .language-switcher {
  width: 100%;
  justify-content: flex-end;
  padding: 0.18rem 0.48rem;
  gap: 0.22rem;
  border-radius: 999px;
  background: rgba(255, 246, 227, 0.08);
  border: 1px solid rgba(222, 193, 132, 0.2);
  box-shadow: none;
  pointer-events: auto;
}

.site-header-with-language-tab .header-language-tab .language-switcher-label {
  color: #f2dfb2;
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  flex: 0 0 auto;
}

.site-header-with-language-tab .header-language-tab .language-switcher-links {
  flex: 0 0 auto;
  margin-left: auto;
  gap: 0.08rem;
}

.site-header-with-language-tab .header-language-tab .language-switcher-links a {
  padding: 0.1rem 0.24rem;
  font-size: 0.66rem;
  color: #f8ecd1;
  position: relative;
  z-index: 1206;
  pointer-events: auto;
}

.site-header-with-language-tab .site-nav > a,
.site-header-with-language-tab .nav-group-toggle {
  background: transparent;
  color: #4a3320;
  border: 0;
  box-shadow: none;
}

.site-header-with-language-tab .site-nav > a:hover,
.site-header-with-language-tab .site-nav > a:focus-visible,
.site-header-with-language-tab .nav-group-toggle:hover,
.site-header-with-language-tab .nav-group-toggle:focus-visible,
.site-header-with-language-tab .nav-group.open .nav-group-toggle {
  background: transparent;
  color: #7a5924;
  box-shadow: none;
}

.site-header-with-language-tab .header-language-tab .language-switcher-links a.is-active,
.site-header-with-language-tab .header-language-tab .language-switcher-links a[aria-current="page"] {
  background: rgba(255, 238, 198, 0.16);
  color: #fff8ea;
  box-shadow: inset 0 0 0 1px rgba(235, 204, 138, 0.22);
}

.site-header-with-language-tab .header-language-tab .ss-weather-ticker {
  --ss-weather-ticker-duration: 26s;
  --ss-weather-loop-distance: -50%;
  flex: 1 1 auto;
  min-width: 0;
  max-width: clamp(14rem, 34vw, 34rem);
  overflow: hidden;
  align-self: center;
  color: #fff2cf;
  font-size: 0.78rem;
  line-height: 1;
  letter-spacing: 0.02em;
  white-space: nowrap;
  pointer-events: none;
  mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);
}

.site-header-with-language-tab .header-language-tab .ss-weather-ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  width: max-content;
  min-width: max-content;
  will-change: transform;
  animation: ss-weather-ticker-scroll var(--ss-weather-ticker-duration) linear infinite;
}

.site-header-with-language-tab .header-language-tab .ss-weather-ticker-copy {
  display: inline-flex;
  align-items: center;
}

.site-header-with-language-tab .header-language-tab .ss-weather-ticker.is-loading .ss-weather-ticker-track,
.site-header-with-language-tab .header-language-tab .ss-weather-ticker.is-fallback .ss-weather-ticker-track {
  opacity: 0.92;
}

@keyframes ss-weather-ticker-scroll {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(var(--ss-weather-loop-distance), 0, 0);
  }
}

@media (max-width: 980px) {
  .site-header-with-language-tab .header-inner {
    padding-top: 1.6rem;
  }

  .site-header-with-language-tab .site-nav {
    column-gap: 0.7rem;
  }

  .site-header-with-language-tab .site-nav > a,
  .site-header-with-language-tab .nav-group-toggle {
    font-size: 0.94rem;
    padding: 0.4rem 0.28rem;
  }

  .site-header-with-language-tab .logo-mark {
    font-size: 1.42rem;
  }

  .site-header-with-language-tab .logo-sub {
    font-size: 0.86rem;
  }

  .site-header .header-inner {
    gap: 0.75rem;
  }

  .site-header .logo {
    flex: 1 1 auto;
    min-width: 0;
  }

  .site-header .logo-copy {
    min-width: 0;
  }

  .site-header .logo-sub {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

@media (max-width: 860px) {
  .site-header-with-language-tab::before {
    height: 2.3rem;
  }

  .site-header-with-language-tab::after {
    top: 2.3rem;
  }

  .site-header-with-language-tab .submenu,
  .site-header-with-language-tab .nav-group:last-child .submenu,
  .site-header-with-language-tab .nav-group:nth-last-child(2) .submenu {
    left: auto;
    right: auto;
    max-width: none;
    transform: none;
  }

  .site-header .nav-group,
  .site-header-with-language-tab .nav-group {
    width: 100% !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
    overflow: visible !important;
  }

  .site-header .submenu,
  .site-header-with-language-tab .submenu,
  .site-header-with-language-tab .nav-group:last-child .submenu,
  .site-header-with-language-tab .nav-group:nth-last-child(2) .submenu {
    position: static !important;
    inset: auto !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0.12rem 0 0.72rem 0.95rem !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
    display: none !important;
    gap: 0.18rem !important;
    grid-template-columns: 1fr !important;
    backdrop-filter: none !important;
    border-left: 2px solid rgba(255, 187, 77, 0.34) !important;
    background: linear-gradient(180deg, rgba(255, 214, 140, 0.06), rgba(255, 214, 140, 0.02)) !important;
  }

  .site-header .nav-group.open > .submenu,
  .site-header-with-language-tab .nav-group.open > .submenu {
    display: grid !important;
  }

  .site-header .submenu-block,
  .site-header-with-language-tab .submenu-block {
    width: 100% !important;
  }

  .site-header .submenu a,
  .site-header-with-language-tab .submenu a {
    display: block !important;
    width: 100% !important;
    padding: 0.5rem 0 !important;
    color: #ffe7b8 !important;
    text-shadow: none !important;
  }

  .site-header .submenu-heading,
  .site-header-with-language-tab .submenu-heading {
    color: rgba(255, 201, 103, 0.92) !important;
    letter-spacing: 0.12em !important;
    margin-bottom: 0.25rem !important;
  }

  .site-header .submenu a:hover,
  .site-header .submenu a:focus-visible,
  .site-header-with-language-tab .submenu a:hover,
  .site-header-with-language-tab .submenu a:focus-visible {
    color: #fff8e8 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .site-header-with-language-tab .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    row-gap: 0.6rem;
    padding-top: 3.3rem;
    min-height: var(--header-height);
  }

  .site-header-with-language-tab .logo {
    transform: translateY(0);
    max-width: 100%;
  }

  .site-header-with-language-tab .nav-wrap {
    width: 100%;
    grid-column: 1 / -1;
  }

  .site-header-with-language-tab .site-nav {
    width: 100%;
    flex-wrap: nowrap;
    row-gap: 0;
    column-gap: 0.2rem;
  }

  .site-header-with-language-tab .header-language-tab {
    position: absolute;
    top: 0.18rem;
    left: 0.75rem;
    right: 0.75rem;
    z-index: 1205;
  }

  .site-header-with-language-tab .header-language-tab .language-switcher {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
    row-gap: 0.24rem;
    padding: 0.16rem 0.42rem;
    border-radius: 15px;
  }

  .site-header-with-language-tab .header-language-tab .ss-weather-ticker {
    order: 3;
    flex: 1 1 100%;
    max-width: none;
  }

  .site-header .nav-wrap {
    inset: calc(var(--header-height) + 0.55rem) 0.75rem auto;
    max-height: calc(100dvh - var(--header-height) - 1.25rem);
    overflow: hidden;
    padding: 0.95rem;
    gap: 0.9rem;
    grid-template-rows: minmax(0, 1fr) auto;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(252, 248, 240, 0.99), rgba(243, 235, 220, 0.98));
    border: 1px solid rgba(112, 84, 40, 0.12);
    box-shadow: 0 20px 40px rgba(45, 36, 28, 0.16);
  }

  .site-header .site-nav {
    width: 100%;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-right: 0.15rem;
    gap: 0.2rem;
  }

  .site-header .site-nav > a,
  .site-header .nav-group {
    border-bottom: 1px solid rgba(74, 53, 39, 0.08);
  }

  .site-header .site-nav > a:last-of-type,
  .site-header .nav-group:last-of-type {
    border-bottom: 0;
  }

  .site-header .site-nav a,
  .site-header .nav-group-toggle {
    padding: 0.82rem 0.2rem;
    align-items: center;
    font-size: 1rem;
  }

  .site-header .submenu {
    padding: 0.18rem 0 0.82rem 0.85rem;
  }

  .site-header .submenu a {
    padding: 0.46rem 0;
  }

  .site-header .language-switcher {
    width: 100%;
    padding: 0.85rem 0.95rem;
    border-radius: 18px;
    gap: 0.75rem;
  }

  .site-header .language-switcher-links {
    width: 100%;
    justify-content: flex-start;
    gap: 0.35rem;
  }
}

@media (max-width: 640px) {
  .site-header-with-language-tab::before {
    height: 2.15rem;
  }

  .site-header-with-language-tab::after {
    top: 2.15rem;
  }

  .site-header-with-language-tab .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    padding-top: 3.05rem;
    row-gap: 0.45rem;
  }

  .site-header-with-language-tab .header-language-tab {
    left: 0.65rem;
    right: 0.65rem;
  }

  .site-header-with-language-tab .header-language-tab .language-switcher {
    width: 100%;
    justify-content: space-between;
    border-radius: 14px;
    padding: 0.14rem 0.38rem;
  }

  .site-header-with-language-tab .header-language-tab .ss-weather-ticker {
    font-size: 0.72rem;
  }

  .site-header-with-language-tab .header-language-tab .language-switcher-label {
    font-size: 0.52rem;
  }

  .site-header-with-language-tab .header-language-tab .language-switcher-links {
    width: auto;
    justify-content: flex-end;
    gap: 0.1rem;
    flex-wrap: wrap;
  }

  .site-header-with-language-tab .header-language-tab .language-switcher-links a {
    font-size: 0.62rem;
    padding: 0.08rem 0.22rem;
  }

  .site-header .header-inner {
    padding-block: 0.5rem;
  }

  .site-header .logo {
    max-width: calc(100% - 3.5rem);
  }

  .site-header .logo-mark {
    font-size: 1.45rem;
    line-height: 1.02;
  }

  .site-header .logo-sub {
    font-size: 0.78rem;
    white-space: normal;
    line-height: 1.2;
  }

  .site-header .nav-wrap {
    inset: calc(var(--header-height) + 0.45rem) 0.65rem auto;
    max-height: calc(100dvh - var(--header-height) - 1rem);
    padding: 0.85rem;
  }

  .site-header .site-nav {
    padding-right: 0;
  }

  .site-header .language-switcher {
    align-items: flex-start;
  }
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 5.25rem);
    padding-bottom: 3.25rem;
  }

  .hero-grid,
  .grid-2,
  .services-layout,
  .footer-grid,
  .timings-wrapper,
  .cards-grid,
  .journey-grid,
  .packages-grid,
  .hub-card-grid,
  .testimonials-grid,
  .blog-grid {
    grid-template-columns: 1fr !important;
  }

  .hero-content,
  .hero p {
    max-width: 100%;
  }

  .hero-badges {
    grid-template-columns: 1fr;
  }

  .cta-row,
  .hero-actions {
    flex-wrap: wrap;
  }

  .cta-row > *,
  .hero-actions > * {
    flex: 1 1 14rem;
  }

  .about-panel,
  .service-panel,
  .timings-card,
  .testimonial-card,
  .hub-card,
  .blog-card,
  .feature-card,
  .journey-card,
  .package-card {
    min-width: 0;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 1rem, var(--max-width));
  }

  .section {
    padding-top: 1.55rem;
    padding-bottom: 1.55rem;
  }

  .hero {
    padding-top: calc(var(--header-height) + 4.65rem);
    padding-bottom: 2.4rem;
    background-position: center, center, var(--hero-bg-position, 58% center);
  }

  .hero h1 {
    font-size: clamp(2.25rem, 12vw, 3.5rem);
    line-height: 0.98;
  }

  .hero p {
    font-size: 1rem;
    margin-bottom: 1.2rem;
  }

  .hero-actions,
  .cta-row {
    gap: 0.7rem;
  }

  .hero-actions > *,
  .cta-row > * {
    width: 100%;
    flex-basis: 100%;
  }

  .btn,
  .btn-outline {
    width: 100%;
    padding: 0.82rem 1rem;
    min-height: 3rem;
  }

  .section-title-wrap {
    margin-bottom: 1.15rem;
  }

  .section h2 {
    font-size: clamp(1.7rem, 8vw, 2.2rem);
  }

  .section p.lead {
    font-size: 0.98rem;
  }

  .about-panel,
  .service-panel,
  .timings-card,
  .hub-card,
  .testimonial-card,
  .feature-card,
  .journey-card,
  .package-card,
  .blog-card {
    padding: 1.2rem;
    border-radius: 20px;
  }

  .package-copy,
  .service-list,
  .footer-contact,
  .footer-links {
    min-width: 0;
  }

  .timing-row {
    gap: 0.45rem;
    align-items: flex-start;
  }

  .timing-row strong,
  .timing-row span {
    font-size: 0.94rem;
  }

  .footer-grid {
    gap: 1.35rem;
  }

  .footer-links a,
  .footer-contact a,
  .footer-contact p {
    overflow-wrap: anywhere;
  }

}

@media (max-width: 480px) {
  .hero {
    padding-top: calc(var(--header-height) + 4.35rem);
  }

  .site-header .logo-mark {
    font-size: 1.28rem;
  }

  .site-header .logo-sub {
    font-size: 0.72rem;
  }

  .site-header-with-language-tab .header-language-tab .ss-weather-ticker {
    font-size: 0.68rem;
  }

  .about-panel,
  .service-panel,
  .timings-card,
  .hub-card,
  .testimonial-card,
  .feature-card,
  .journey-card,
  .package-card,
  .blog-card {
    padding: 1rem;
  }

  .site-header-with-language-tab .header-language-tab .language-switcher-label {
    display: none;
  }

  .site-header-with-language-tab .header-language-tab .language-switcher {
    justify-content: center;
  }

  .site-header-with-language-tab .header-language-tab .language-switcher-links {
    width: 100%;
    justify-content: space-between;
  }
}

/* Full-screen layout refinement for desktop and Windows preview */

:root {
  --section-gap-tight: 1rem;
}

html {
  font-size: 16px;
}

body {
  font-size: clamp(16px, 0.45vw + 14px, 18px);
}

.container {
  width: min(1480px, calc(100% - 1.5rem)) !important;
}

:where(main, .main, .page-main) {
  width: 100%;
}

.section {
  padding-top: 1.75rem !important;
  padding-bottom: 1.85rem !important;
}

.section + .section {
  padding-top: 1.05rem !important;
}

.section-title-wrap {
  margin-bottom: 1.25rem !important;
}

:where(.hero, .hero-section, .page-hero) {
  padding-top: clamp(2.4rem, 4vw, 3.6rem) !important;
  padding-bottom: clamp(1.2rem, 2vw, 1.8rem) !important;
}

:where(.hero-card, .panel, .card, .notice, .service, .place, .teaching, .status-card, .side-card, .map-card, .feature-card, .journey-card, .package-card, .blog-card, .service-panel, .testimonial-card, .tour-stop, .visual-box, .item, .link-card, .fact) {
  padding-inline: clamp(1rem, 1vw + 0.7rem, 1.7rem);
}

:where(.grid, .cards, .help-grid, .links-grid, .status-grid, .history-notes, .results, .map-grid, .mini-grid, .tracker-grid, .facts, .section-grid) {
  gap: clamp(0.85rem, 1.2vw, 1.25rem) !important;
}

:where(.table-wrap, table) {
  max-width: 100%;
}

.site-header-with-language-tab .nav-wrap {
  width: min(100%, 1280px);
}

.site-header-with-language-tab .site-nav {
  column-gap: 1rem;
}

.site-header-with-language-tab .site-nav > a,
.site-header-with-language-tab .nav-group-toggle {
  font-size: clamp(0.95rem, 0.35vw + 0.86rem, 1.05rem);
}

@media (min-width: 981px) {
  .site-header-with-language-tab .header-inner {
    justify-content: flex-start;
    column-gap: 1rem;
  }

  .site-header-with-language-tab .nav-wrap {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    margin-inline: 0 0;
    justify-content: flex-end;
  }

  .site-header-with-language-tab .site-nav {
    width: auto;
    max-width: 100%;
    justify-content: flex-end;
    flex-wrap: nowrap;
    row-gap: 0;
    column-gap: clamp(0.55rem, 0.75vw, 0.95rem);
  }

  .site-header-with-language-tab .site-nav > a,
  .site-header-with-language-tab .nav-group-toggle {
    font-size: clamp(0.88rem, 0.2vw + 0.82rem, 0.98rem);
    white-space: nowrap;
  }
}

@media (min-width: 1440px) {
  .container {
    width: min(1560px, calc(100% - 2rem)) !important;
  }

  .section {
    padding-top: 1.6rem !important;
    padding-bottom: 1.75rem !important;
  }
}

@media (max-width: 980px) {
  html {
    font-size: 16px;
  }

  .container {
    width: min(100%, calc(100% - 1rem)) !important;
  }

  .section {
    padding-top: 1.35rem !important;
    padding-bottom: 1.45rem !important;
  }
}

/* Restore strong header branding visibility */
.site-header-with-language-tab .logo,
.site-header-with-language-tab .logo-copy,
.site-header-with-language-tab .logo-mark,
.site-header-with-language-tab .logo-sub,
.site-header-with-language-tab .logo-icon {
  opacity: 1 !important;
  visibility: visible !important;
}

.site-header-with-language-tab .logo {
  flex: 0 0 auto !important;
  min-width: max-content;
  max-width: none;
  position: relative;
  z-index: 3;
}

.site-header-with-language-tab .logo-icon {
  width: 2.9rem;
  height: 2.9rem;
  flex-shrink: 0;
}

.site-header-with-language-tab .logo-icon img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.site-header-with-language-tab .logo-copy {
  min-width: max-content;
}

.site-header-with-language-tab .logo-mark {
  display: block !important;
  white-space: nowrap;
  font-size: clamp(1.45rem, 1vw + 1.1rem, 1.9rem);
}

.site-header-with-language-tab .logo-sub {
  display: block !important;
  white-space: nowrap;
}

.site-header-with-language-tab .nav-wrap {
  flex: 1 1 auto;
  min-width: 0;
}

@media (max-width: 980px) {
  .site-header-with-language-tab .logo-mark {
    font-size: 1.3rem;
  }

  .site-header-with-language-tab .logo-sub {
    font-size: 0.82rem;
  }
}

html,
body {
  max-width: 100%;
}

body {
  overflow-x: hidden;
}

:where(img, svg, video, canvas, iframe) {
  max-width: 100%;
}

iframe {
  width: 100%;
}

:where(.top-inner, .topbar-inner, .footer-inner, .header-inner, .brand, .logo, .logo-copy, .hero-content, .hero-card, .visual, .panel, .card, .notice, .service, .place, .teaching, .status-card, .side-card, .map-card, .feature-card, .journey-card, .package-card, .blog-card, .service-panel, .testimonial-card, .tour-stop, .visual-box, .item, .link-card, .fact, .form-card, .gallery-card, .photo-panel, .section-card, .map-note, .state-box, .profile-box, .service-list, .feature-list, .declaration-list, .timing-list, .official-links, .footer-links, .footer-contact) {
  min-width: 0;
}

:where(.brand strong, .brand span, .logo-mark, .logo-sub, .eyebrow, h1, h2, h3, p, li, a, strong, small, td, th, label, button) {
  overflow-wrap: anywhere;
}

:where(.table-wrap) {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

:where(.route-table, .shipping-table) {
  width: max(100%, 42rem);
}

@media (max-width: 980px) {
  :where(.grid, .grid-2, .grid-3, .grid-4, .two-col, .policy-grid, .jump-grid, .map-grid, .route-map-grid, .panel-grid, .resources, .cards, .cards-grid, .journey-grid, .packages-grid, .hub-card-grid, .testimonials-grid, .blog-grid, .services-layout, .timings-wrapper, .history-notes, .status-grid, .help-grid, .links-grid, .results, .mini-grid, .tracker-grid, .facts, .section-grid, .packaging-card) {
    grid-template-columns: 1fr !important;
  }

  :where(.top-inner, .topbar-inner) {
    flex-wrap: wrap;
    row-gap: 0.75rem;
  }

  :where(.top .btn, .top .btn-outline, .topbar .btn, .topbar .btn-outline) {
    width: 100%;
  }

  :where(.feature-list, .declaration-list, .timing-list, .service-list, .official-links) {
    gap: 0.85rem;
  }
}

@media (max-width: 860px) {
  .subnav {
    overflow-x: auto !important;
    overscroll-behavior-x: contain;
  }

  .subnav .container {
    flex-wrap: nowrap !important;
    min-width: max-content !important;
    padding-bottom: 0.15rem;
    scroll-snap-type: x proximity;
  }

  .subnav a {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .site-header-with-language-tab .logo,
  .site-header-with-language-tab .logo-copy {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .site-header-with-language-tab .logo {
    flex: 1 1 auto !important;
  }

  .site-header-with-language-tab .logo-mark,
  .site-header-with-language-tab .logo-sub {
    white-space: normal !important;
  }
}

@media (max-width: 640px) {
  :where(.top-inner, .topbar-inner, .footer-inner, .hero-actions, .button-row, .cta-row, .quote-actions) {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  :where(.top .brand, .topbar .brand) {
    width: 100%;
  }

  :where(.btn, .btn-outline, .step-btn, .top .btn, .top .btn-outline, .topbar .btn, .topbar .btn-outline) {
    width: 100%;
  }

  :where(.form-grid, .check-grid, .step-grid) {
    grid-template-columns: 1fr !important;
  }

  :where(input, select, textarea, button) {
    max-width: 100%;
  }

  :where(.table-wrap) {
    padding: 0.7rem;
  }

  :where(.route-table th, .route-table td, .shipping-table th, .shipping-table td) {
    padding: 0.7rem;
  }

  .site-header-with-language-tab .logo {
    align-items: flex-start !important;
    gap: 0.55rem !important;
  }

  .site-header-with-language-tab .logo-icon {
    width: 2.4rem !important;
    height: 2.4rem !important;
  }

  .site-header-with-language-tab .logo-mark {
    font-size: 1.08rem !important;
    line-height: 1.05 !important;
  }

  .site-header-with-language-tab .logo-sub {
    font-size: 0.68rem !important;
    line-height: 1.15 !important;
  }

  :where(.feature-list, .declaration-list, .timing-list, .service-list, .official-links, .footer-links, .footer-contact) {
    gap: 0.7rem !important;
  }

  :where(.map-note, .state-box, .profile-box, .quote-card, .notice, .panel, .card) {
    overflow-wrap: anywhere;
  }

  :where(.floating-btn) {
    left: auto !important;
    right: 0.75rem !important;
    bottom: 0.75rem !important;
    justify-content: center !important;
  }

  :where(.sacred-ring) {
    width: min(100%, 6rem) !important;
    height: min(100%, 6rem) !important;
    font-size: 0.95rem !important;
  }
}

:root {
  --bg: #fdf5e6;
  --bg-soft: #f7ecda;
  --surface: rgba(253, 245, 230, 0.9);
  --surface-strong: #fff8ef;
  --text: #36261a;
  --muted: #6e5948;
  --gold: #ff9933;
  --gold-deep: #d97706;
  --green: #1b3022;
  --green-soft: #2b4933;
  --brown: #5a3017;
  --brand-maroon: #5d0e0e;
  --camphor: #ffd700;
  --forest: #1b3022;
  --shadow: 0 18px 45px rgba(61, 20, 20, 0.16);
  --ss-nav-font: "Marcellus", "Source Serif 4", Georgia, serif;
}

body {
  background:
    radial-gradient(circle at top left, rgba(255, 153, 51, 0.14), transparent 22%),
    radial-gradient(circle at top right, rgba(27, 48, 34, 0.08), transparent 24%),
    repeating-linear-gradient(135deg, rgba(93, 14, 14, 0.024) 0, rgba(93, 14, 14, 0.024) 2px, transparent 2px, transparent 26px),
    linear-gradient(180deg, #fdf5e6 0%, #faefdc 52%, #fffaf0 100%) !important;
  color: var(--text);
}

:where(.top, .topbar, .site-header) {
  background: linear-gradient(135deg, rgba(122, 83, 39, 0.97), rgba(151, 107, 52, 0.95)) !important;
  border-bottom: 1px solid rgba(255, 196, 105, 0.24) !important;
  box-shadow: 0 16px 30px rgba(69, 45, 20, 0.18) !important;
}

.site-header.scrolled {
  background: linear-gradient(135deg, rgba(113, 75, 34, 0.98), rgba(139, 98, 46, 0.96)) !important;
  border-color: rgba(255, 196, 105, 0.28) !important;
  box-shadow: 0 18px 34px rgba(69, 45, 20, 0.2) !important;
}

.site-header-with-language-tab::before {
  background: linear-gradient(135deg, rgba(245, 231, 202, 0.99), rgba(233, 205, 154, 0.98)) !important;
  border-bottom: 1px solid rgba(181, 125, 49, 0.2) !important;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.34) !important;
}

.site-header-with-language-tab::after {
  background: linear-gradient(180deg, rgba(127, 86, 41, 0.98), rgba(104, 70, 34, 0.98)) !important;
  border-bottom: 1px solid rgba(255, 196, 105, 0.18) !important;
  box-shadow: 0 16px 30px rgba(69, 45, 20, 0.18) !important;
}

:where(.site-nav > a, .nav-group-toggle, .subnav a, .submenu-heading, .submenu a) {
  font-family: var(--ss-nav-font) !important;
}

:where(.site-header .site-nav > a, .site-header .nav-group-toggle, .site-header-with-language-tab .site-nav > a, .site-header-with-language-tab .nav-group-toggle) {
  color: #fff7ec !important;
  letter-spacing: 0.02em !important;
}

:where(.site-header .site-nav > a, .site-header .nav-group-toggle, .site-header-with-language-tab .site-nav > a, .site-header-with-language-tab .nav-group-toggle)::after {
  background: linear-gradient(90deg, var(--gold), var(--camphor)) !important;
  box-shadow: 0 0 14px rgba(255, 215, 0, 0.45);
}

:where(.site-header .site-nav > a:hover, .site-header .site-nav > a:focus-visible, .site-header .nav-group-toggle:hover, .site-header .nav-group-toggle:focus-visible, .site-header .nav-group.open .nav-group-toggle, .site-header-with-language-tab .site-nav > a:hover, .site-header-with-language-tab .site-nav > a:focus-visible, .site-header-with-language-tab .nav-group-toggle:hover, .site-header-with-language-tab .nav-group-toggle:focus-visible, .site-header-with-language-tab .nav-group.open .nav-group-toggle) {
  color: var(--camphor) !important;
  text-shadow: 0 0 14px rgba(255, 215, 0, 0.35);
}

.site-header-with-language-tab .logo-mark {
  color: #fff4e5 !important;
  text-shadow: 0 2px 8px rgba(45, 24, 8, 0.22);
}

.site-header-with-language-tab .logo-sub {
  color: rgba(255, 222, 160, 0.96) !important;
  text-shadow: 0 2px 8px rgba(45, 24, 8, 0.16);
}

.site-header-with-language-tab .logo-icon {
  filter: drop-shadow(0 4px 10px rgba(64, 43, 19, 0.16));
}

.language-switcher {
  background: rgba(255, 251, 242, 0.44) !important;
  border: 1px solid rgba(181, 125, 49, 0.18) !important;
  box-shadow: 0 10px 18px rgba(118, 88, 43, 0.08) !important;
  color: #603716 !important;
}

.language-switcher-label { color: #7b4c1e !important; }

.language-switcher-links a {
  color: #8a4e16 !important;
  font-family: var(--ss-nav-font) !important;
}

.language-switcher-links a:hover,
.language-switcher-links a:focus-visible {
  background: rgba(255, 215, 0, 0.16) !important;
  color: var(--camphor) !important;
  box-shadow: 0 0 16px rgba(255, 215, 0, 0.22);
}

.language-switcher-links a.is-active,
.language-switcher-links a[aria-current="page"] {
  background: linear-gradient(135deg, rgba(255, 153, 51, 0.28), rgba(255, 212, 121, 0.42)) !important;
  color: #5b2d11 !important;
  box-shadow: 0 8px 16px rgba(181, 125, 49, 0.12) !important;
}

.submenu {
  background: linear-gradient(180deg, rgba(255, 249, 238, 0.99), rgba(253, 245, 230, 0.97)) !important;
  border: 1px solid rgba(255, 153, 51, 0.22) !important;
  box-shadow: 0 22px 36px rgba(61, 20, 20, 0.12) !important;
  z-index: 1308 !important;
}

.submenu-heading {
  color: var(--brown) !important;
  letter-spacing: 0.1em !important;
}

.submenu a { color: var(--brown) !important; }

.submenu a:hover,
.submenu a:focus-visible {
  color: var(--brown) !important;
  text-shadow: 0 0 12px rgba(255, 215, 0, 0.4);
  box-shadow: inset 0 -1px 0 rgba(255, 215, 0, 0.92);
}

.subnav {
  background: rgba(253, 245, 230, 0.94) !important;
  border-bottom: 1px solid rgba(255, 153, 51, 0.2) !important;
  box-shadow: 0 10px 22px rgba(61, 20, 20, 0.08);
}

.subnav a {
  color: var(--brown) !important;
  border-color: rgba(255, 153, 51, 0.22) !important;
  box-shadow: 0 10px 20px rgba(61, 20, 20, 0.08) !important;
}

.subnav a:hover,
.subnav a:focus-visible {
  border-color: rgba(255, 215, 0, 0.62) !important;
  box-shadow: 0 0 0 1px rgba(255, 215, 0, 0.4), 0 14px 24px rgba(61, 20, 20, 0.12) !important;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
}

.subnav a.is-active {
  background: linear-gradient(135deg, #ff9933, #ffc35c) !important;
  color: #4b150f !important;
  border-color: rgba(255, 153, 51, 0.68) !important;
  box-shadow: 0 14px 28px rgba(255, 153, 51, 0.22) !important;
}

:where(.subnav a[href*="police"], .subnav a[href*="safety"], .subnav a[href*="care"], .subnav a[href*="pampa"], .subnav a[href*="trek"], .submenu a[href*="police"], .submenu a[href*="safety"], .submenu a[href*="care"], .submenu a[href*="pampa"], .submenu a[href*="trek"]) {
  color: var(--forest) !important;
}

:where(.subnav a[href*="police"], .subnav a[href*="safety"], .subnav a[href*="care"], .subnav a[href*="pampa"], .subnav a[href*="trek"]) {
  background: linear-gradient(135deg, rgba(27, 48, 34, 0.12), rgba(253, 245, 230, 0.96)) !important;
  border-color: rgba(27, 48, 34, 0.22) !important;
}

:where(.btn, .top .btn, .topbar .btn) {
  background: linear-gradient(135deg, #ff9933, #ffb347) !important;
  color: #4b150f !important;
  border: 1px solid rgba(255, 215, 0, 0.34) !important;
  box-shadow: 0 14px 28px rgba(255, 153, 51, 0.22), inset 0 0 0 1px rgba(255, 236, 181, 0.3) !important;
}

:where(.btn-outline, .top .btn-outline, .topbar .btn-outline) {
  background: rgba(255, 249, 239, 0.92) !important;
  color: var(--brown) !important;
  border: 1px solid rgba(255, 153, 51, 0.42) !important;
  box-shadow: 0 10px 22px rgba(61, 20, 20, 0.08), inset 0 0 0 1px rgba(255, 255, 255, 0.48) !important;
}

:where(.btn:hover, .btn:focus-visible, .btn-outline:hover, .btn-outline:focus-visible, .top .btn:hover, .top .btn:focus-visible, .top .btn-outline:hover, .top .btn-outline:focus-visible, .topbar .btn:hover, .topbar .btn:focus-visible, .topbar .btn-outline:hover, .topbar .btn-outline:focus-visible) {
  box-shadow: 0 0 0 1px rgba(255, 215, 0, 0.42), 0 16px 30px rgba(61, 20, 20, 0.14) !important;
}

.footer {
  background:
    radial-gradient(circle at top right, rgba(255, 153, 51, 0.14), transparent 24%),
    linear-gradient(180deg, rgba(93, 14, 14, 0.99), rgba(63, 10, 10, 0.99)) !important;
  color: #fff3e2 !important;
}

.footer p,
.footer a,
.footer span,
.footer li {
  color: rgba(255, 243, 226, 0.82) !important;
}

.socials a:hover,
.socials a:focus-visible {
  background: rgba(255, 153, 51, 0.2) !important;
  box-shadow: 0 0 18px rgba(255, 215, 0, 0.18);
}

.site-header-with-language-tab .header-language-tab .language-switcher {
  background: rgba(255, 249, 239, 0.56) !important;
  border: 1px solid rgba(181, 125, 49, 0.18) !important;
  box-shadow: 0 8px 16px rgba(118, 88, 43, 0.08) !important;
}

.site-header-with-language-tab .header-language-tab .language-switcher-label {
  color: #7b4c1e !important;
}

.site-header-with-language-tab .header-language-tab .language-switcher-links a {
  color: #8a4e16 !important;
}

.spiritual-intro {
  width: min(100%, 58ch);
  margin: 0.85rem auto 0 !important;
  text-align: center !important;
  font-family: var(--ss-nav-font) !important;
  font-style: italic;
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.7 !important;
  color: rgba(255, 244, 230, 0.96) !important;
  text-shadow: 0 0 18px rgba(255, 215, 0, 0.12);
}

@media (min-width: 861px) {
  .site-header-with-language-tab .nav-wrap,
  .site-header-with-language-tab .site-nav {
    flex-wrap: nowrap !important;
    overflow: visible !important;
  }

  .site-header-with-language-tab .nav-group {
    z-index: 1307;
  }

  .site-header-with-language-tab .nav-group:hover,
  .site-header-with-language-tab .nav-group:focus-within,
  .site-header-with-language-tab .nav-group.open {
    z-index: 1309;
  }

  .site-header-with-language-tab .site-nav > a,
  .site-header-with-language-tab .nav-group,
  .site-header-with-language-tab .nav-group-toggle {
    flex: 0 0 auto;
  }
}

@media (max-width: 860px) {
  .site-header .nav-wrap,
  .site-header-with-language-tab .nav-wrap {
    background: linear-gradient(180deg, rgba(93, 14, 14, 0.99), rgba(70, 10, 10, 0.98)) !important;
    border: 1px solid rgba(255, 153, 51, 0.26) !important;
    box-shadow: 0 22px 40px rgba(49, 8, 8, 0.28) !important;
  }

  .site-header .site-nav > a,
  .site-header .nav-group-toggle,
  .site-header-with-language-tab .site-nav > a,
  .site-header-with-language-tab .nav-group-toggle {
    color: var(--gold) !important;
  }

  .site-header .site-nav > a,
  .site-header .nav-group,
  .site-header-with-language-tab .site-nav > a,
  .site-header-with-language-tab .nav-group {
    border-bottom-color: rgba(255, 153, 51, 0.16) !important;
  }

  .site-header .nav-group-toggle-label,
  .site-header-with-language-tab .nav-group-toggle-label,
  .site-header .submenu a,
  .site-header-with-language-tab .submenu a {
    white-space: normal !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    overflow: visible !important;
    text-overflow: clip !important;
  }

  .site-header .nav-group-toggle,
  .site-header-with-language-tab .nav-group-toggle {
    align-items: flex-start !important;
    gap: 0.7rem !important;
    white-space: normal !important;
  }

  .site-header .nav-group-toggle-label,
  .site-header-with-language-tab .nav-group-toggle-label {
    display: block !important;
    line-height: 1.28 !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
  }

  .site-header .nav-group-toggle svg,
  .site-header-with-language-tab .nav-group-toggle svg {
    flex: 0 0 auto;
    margin-top: 0.28rem;
  }
}

@media (max-width: 640px) {
  .spiritual-intro {
    width: 100%;
    font-size: 0.98rem;
  }
}

/* Professional interaction polish */
.submenu {
  padding: 0.72rem !important;
  border-radius: 20px !important;
  backdrop-filter: blur(14px);
}

.submenu-block {
  gap: 0.32rem !important;
}

.submenu-heading {
  font-family: var(--ss-nav-font) !important;
  font-size: 0.74rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.14em !important;
  color: #8a4e16 !important;
  margin-bottom: 0.2rem !important;
}

.submenu a {
  display: flex !important;
  align-items: center;
  min-height: 2.55rem;
  padding: 0.62rem 0.78rem !important;
  border-radius: 14px;
  font-family: "Source Serif 4", Georgia, serif !important;
  font-size: 0.98rem !important;
  font-weight: 600 !important;
  line-height: 1.35;
  transition: transform 0.22s ease, background 0.22s ease, color 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

:where(.btn, .btn-outline, .language-switcher-links a, .subnav a, .site-nav > a, .nav-group-toggle, .submenu a, a.feature-card, a.journey-card, a.blog-card, a.hub-card, .package-card, .service-panel, .testimonial-card, .trust-badge, .timings-card, .live-meta-card, .link-card) {
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease, background 0.24s ease, color 0.24s ease, text-shadow 0.24s ease;
}

main a[href]:not(.btn):not(.btn-outline):not(.feature-card):not(.journey-card):not(.blog-card):not(.hub-card) {
  text-underline-offset: 0.16em;
  transition: color 0.22s ease, text-decoration-color 0.22s ease, text-shadow 0.22s ease;
}

@media (hover: hover) and (pointer: fine) {
  .submenu a:hover,
  .submenu a:focus-visible {
    background: linear-gradient(135deg, rgba(255, 153, 51, 0.16), rgba(255, 215, 0, 0.08)) !important;
    color: #5a3017 !important;
    transform: translateX(4px);
    box-shadow: inset 0 0 0 1px rgba(255, 153, 51, 0.16), 0 12px 22px rgba(61, 20, 20, 0.08);
    text-shadow: none;
  }

  :where(.btn, .btn-outline):hover,
  :where(.btn, .btn-outline):focus-visible {
    transform: translateY(-2px);
  }

  :where(a.feature-card, a.journey-card, a.blog-card, a.hub-card, .package-card, .service-panel, .testimonial-card, .trust-badge, .timings-card, .live-meta-card, .link-card):hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 34px rgba(61, 20, 20, 0.11), 0 0 0 1px rgba(255, 153, 51, 0.12);
    border-color: rgba(255, 153, 51, 0.22) !important;
  }

  main a[href]:not(.btn):not(.btn-outline):not(.feature-card):not(.journey-card):not(.blog-card):not(.hub-card):hover,
  main a[href]:not(.btn):not(.btn-outline):not(.feature-card):not(.journey-card):not(.blog-card):not(.hub-card):focus-visible {
    color: #8a4e16 !important;
    text-decoration-color: rgba(255, 153, 51, 0.6);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.12);
  }
}

@media (max-width: 860px) {
  .submenu {
    padding: 0.18rem 0 0.82rem 0.85rem !important;
    border-radius: 0 !important;
    backdrop-filter: none;
  }

  .submenu a {
    min-height: 0;
    padding: 0.52rem 0 !important;
    border-radius: 0;
    font-size: 0.95rem !important;
  }
}

/* Uniform inner-page hero spacing */
body > .top + .subnav + main .hero,
body > .topbar + .subnav + main .hero {
  padding-top: clamp(2rem, 3vw, 2.8rem) !important;
  padding-bottom: clamp(1rem, 1.8vw, 1.5rem) !important;
}

body > .top + .subnav + main .hero .container,
body > .topbar + .subnav + main .hero .container {
  width: min(980px, calc(100% - 2rem)) !important;
}

body > .top + .subnav + main .hero .hero-card,
body > .topbar + .subnav + main .hero .hero-card {
  min-height: auto !important;
  padding: clamp(1.6rem, 2vw, 2.3rem) !important;
}

body > .top + .subnav + main .hero .hero-content,
body > .top + .subnav + main .hero .hero-summary,
body > .topbar + .subnav + main .hero .hero-content,
body > .topbar + .subnav + main .hero .hero-summary {
  width: min(100%, 56rem) !important;
  gap: 0.72rem !important;
}

body > .top + .subnav + main .hero h1,
body > .topbar + .subnav + main .hero h1 {
  max-width: 28ch !important;
  margin-bottom: 0.1rem !important;
}

body > .top + .subnav + main .hero p,
body > .top + .subnav + main .hero .lead,
body > .topbar + .subnav + main .hero p,
body > .topbar + .subnav + main .hero .lead {
  max-width: 56rem !important;
}

body > .top + .subnav + main .hero .spiritual-intro,
body > .topbar + .subnav + main .hero .spiritual-intro {
  width: min(100%, 52rem) !important;
  margin-top: 0.45rem !important;
}

@media (max-width: 640px) {
  body > .top + .subnav + main .hero .container,
  body > .topbar + .subnav + main .hero .container {
    width: min(100%, calc(100% - 1.25rem)) !important;
  }

  body > .top + .subnav + main .hero h1,
  body > .topbar + .subnav + main .hero h1 {
    max-width: 100% !important;
  }
}

/* Cross-device responsive hardening */
html {
  -webkit-text-size-adjust: 100%;
}

:where(.site-header .site-nav > a, .site-header .nav-group-toggle, .site-header-with-language-tab .site-nav > a, .site-header-with-language-tab .nav-group-toggle, .submenu a, .subnav a, .language-switcher-links a) {
  text-wrap: pretty;
}

@media (max-width: 980px) {
  .site-header .header-inner,
  .site-header-with-language-tab .header-inner {
    width: min(100%, calc(100% - 1rem)) !important;
  }

  .site-header .nav-wrap,
  .site-header-with-language-tab .nav-wrap,
  .site-header .language-switcher,
  .site-header-with-language-tab .header-language-tab,
  .site-header-with-language-tab .header-language-tab .language-switcher {
    width: 100%;
  }

  .site-header .language-switcher,
  .site-header-with-language-tab .header-language-tab .language-switcher {
    flex-wrap: wrap;
  }

  .site-header .language-switcher-links,
  .site-header-with-language-tab .header-language-tab .language-switcher-links {
    width: 100%;
    justify-content: flex-start;
  }

  .site-header .nav-wrap.open,
  .site-header-with-language-tab .nav-wrap.open {
    max-height: min(calc(100vh - 5.75rem), 34rem);
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .site-header .site-nav > a,
  .site-header .nav-group-toggle,
  .site-header-with-language-tab .site-nav > a,
  .site-header-with-language-tab .nav-group-toggle,
  .submenu a,
  .subnav a {
    min-height: 44px;
  }

  .subnav {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .subnav::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 640px) {
  .site-header .header-inner,
  .site-header-with-language-tab .header-inner,
  body > .top + .subnav + main .hero .container,
  body > .topbar + .subnav + main .hero .container,
  .section .container {
    width: min(100%, calc(100% - 1rem)) !important;
  }

  .site-header-with-language-tab .header-language-tab {
    grid-column: 1 / -1;
    justify-self: stretch;
    order: -1;
  }

  .site-header-with-language-tab .header-language-tab .language-switcher {
    justify-content: flex-start;
    gap: 0.4rem;
  }

  .site-header .nav-wrap,
  .site-header-with-language-tab .nav-wrap {
    padding: 0.85rem 0.95rem;
    border-radius: 0 0 1.1rem 1.1rem;
  }

  .site-header .menu-toggle,
  .site-header-with-language-tab .menu-toggle {
    width: 2.75rem;
    height: 2.75rem;
  }

  .site-header .site-nav > a,
  .site-header .nav-group-toggle,
  .site-header-with-language-tab .site-nav > a,
  .site-header-with-language-tab .nav-group-toggle {
    font-size: 0.98rem !important;
    padding-block: 0.82rem !important;
  }

  .submenu a,
  .subnav a {
    padding-inline: 0.95rem !important;
  }

  :where(.hero-card, .panel, .card, .notice, .service, .place, .teaching, .status-card, .side-card, .map-card, .feature-card, .journey-card, .package-card, .blog-card, .service-panel, .testimonial-card, .tour-stop, .visual-box, .item, .link-card, .fact) {
    border-radius: 1.15rem !important;
  }
}

@media (max-width: 420px) {
  .site-header-with-language-tab .logo-mark {
    font-size: 0.98rem !important;
  }

  .site-header-with-language-tab .logo-sub {
    font-size: 0.62rem !important;
  }

  .site-header-with-language-tab .header-language-tab .language-switcher-links a {
    font-size: 0.58rem !important;
    padding: 0.08rem 0.18rem !important;
  }

  .hero h1 {
    font-size: clamp(2rem, 12vw, 2.8rem) !important;
  }
}

/* Homepage header compaction and hero alignment */
:root {
  --ss-effective-header-height: var(--ss-site-header-height, var(--header-height, 92px));
}

.site-header-with-language-tab {
  background: linear-gradient(180deg, rgba(127, 86, 41, 0.98), rgba(104, 70, 34, 0.98)) !important;
  border-bottom: 1px solid rgba(255, 196, 105, 0.18) !important;
}

.site-header-with-language-tab::before,
.site-header-with-language-tab::after {
  display: none !important;
}

.site-header-with-language-tab .header-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  column-gap: 1rem;
  row-gap: 0.45rem;
  min-height: auto !important;
  padding-top: 0.42rem !important;
  padding-bottom: 0.55rem !important;
  background: transparent !important;
  border-bottom: 0 !important;
}

.site-header-with-language-tab .logo {
  grid-column: 1;
  grid-row: 2;
  transform: none !important;
  align-self: center;
}

.site-header-with-language-tab .nav-wrap {
  grid-column: 2;
  grid-row: 2;
  width: 100%;
  margin-inline: 0;
  justify-content: flex-end;
  align-self: center;
}

.site-header-with-language-tab .site-nav {
  justify-content: flex-end;
  row-gap: 0.35rem;
}

.site-header-with-language-tab .header-language-tab {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  grid-column: 1 / -1;
  grid-row: 1;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  z-index: 2;
}

.site-header-with-language-tab .header-language-tab .language-switcher {
  width: 100%;
  justify-content: flex-start;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.75rem;
  border-radius: 0;
  border-left: 0 !important;
  border-right: 0 !important;
  background: linear-gradient(135deg, rgba(245, 231, 202, 0.99), rgba(233, 205, 154, 0.98)) !important;
  border: 1px solid rgba(181, 125, 49, 0.2) !important;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.34) !important;
}

.site-header-with-language-tab .header-language-tab .language-switcher-label {
  order: 2;
  flex: 0 0 auto;
  margin-left: auto;
  font-family: var(--ss-nav-font) !important;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-header-with-language-tab .header-language-tab .language-switcher-links {
  order: 3;
  margin-left: 0;
  justify-content: flex-end;
}

.site-header-with-language-tab .header-language-tab .language-switcher-links a {
  font-family: var(--ss-nav-font) !important;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.05;
}

.site-header-with-language-tab .header-language-tab .ss-weather-ticker {
  order: 1;
  flex: 1 1 auto;
  min-width: 0;
  max-width: min(44rem, 100%);
  color: #6f4019 !important;
  font-family: var(--ss-nav-font) !important;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0.015em;
  text-shadow: 0 1px 0 rgba(255, 248, 232, 0.55);
}

.site-header-with-language-tab .header-language-tab .ss-weather-ticker-copy {
  color: inherit;
  font: inherit;
}

@media (max-width: 980px) {
  .hero {
    padding-top: calc(var(--ss-effective-header-height) + 3.9rem) !important;
  }
}

@media (max-width: 860px) {
  .site-header-with-language-tab .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    row-gap: 0.55rem;
    padding-top: 0.45rem !important;
    padding-bottom: 0.5rem !important;
  }

  .site-header-with-language-tab .header-language-tab {
    grid-column: 1 / -1;
    grid-row: 1;
    margin-bottom: 0.05rem;
  }

  .site-header-with-language-tab .header-language-tab .language-switcher {
    align-items: flex-start;
    flex-wrap: wrap;
    row-gap: 0.3rem;
    padding: 0.18rem 0.55rem;
  }

  .site-header-with-language-tab .header-language-tab .ss-weather-ticker {
    order: 3;
    flex: 1 1 100%;
    max-width: none;
  }

  .site-header .nav-wrap,
  .site-header-with-language-tab .nav-wrap {
    inset: calc(var(--ss-effective-header-height) + 0.55rem) 0.75rem auto !important;
    max-height: calc(100dvh - var(--ss-effective-header-height) - 1.25rem) !important;
  }
}

@media (max-width: 640px) {
  .site-header-with-language-tab .header-inner {
    padding-top: 0.4rem !important;
  }

  .site-header-with-language-tab .header-language-tab .language-switcher {
    padding: 0.16rem 0.42rem;
  }

  .site-header .nav-wrap,
  .site-header-with-language-tab .nav-wrap {
    inset: calc(var(--ss-effective-header-height) + 0.45rem) 0.65rem auto !important;
    max-height: calc(100dvh - var(--ss-effective-header-height) - 1rem) !important;
  }

  .hero {
    padding-top: calc(var(--ss-effective-header-height) + 3rem) !important;
  }
}

@media (max-width: 420px) {
  .site-header-with-language-tab .header-language-tab .language-switcher {
    padding: 0.16rem 0.36rem;
  }

  .hero {
    padding-top: calc(var(--ss-effective-header-height) + 2.7rem) !important;
  }
}

/* Additional homepage hardening for narrow/mobile devices */
:root {
  --ss-safe-top: env(safe-area-inset-top, 0px);
  --ss-safe-right: env(safe-area-inset-right, 0px);
  --ss-safe-bottom: env(safe-area-inset-bottom, 0px);
  --ss-safe-left: env(safe-area-inset-left, 0px);
}

html {
  scroll-padding-top: calc(var(--ss-effective-header-height) + 1rem);
}

.site-header-with-language-tab {
  padding-top: var(--ss-safe-top);
}

.site-header-with-language-tab .logo,
.site-header-with-language-tab .logo-copy,
.site-header-with-language-tab .nav-wrap,
.site-header-with-language-tab .site-nav,
.site-header-with-language-tab .header-language-tab .language-switcher-links,
.site-header-with-language-tab .header-language-tab .ss-weather-ticker {
  min-width: 0;
}

.site-header-with-language-tab .header-language-tab .language-switcher {
  padding-inline-start: max(0.75rem, calc(var(--ss-safe-left) + 0.35rem));
  padding-inline-end: max(0.75rem, calc(var(--ss-safe-right) + 0.35rem));
}

@media (max-width: 980px) {
  .site-header-with-language-tab .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 0.75rem;
  }

  .site-header-with-language-tab .logo-mark {
    font-size: clamp(1.04rem, 2.7vw, 1.28rem) !important;
  }

  .site-header-with-language-tab .logo-sub {
    font-size: clamp(0.66rem, 1.7vw, 0.78rem) !important;
  }
}

@media (max-width: 860px) {
  .site-header-with-language-tab .logo {
    grid-column: 1;
    grid-row: 2;
  }

  .site-header-with-language-tab .menu-toggle {
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
    align-self: center;
  }

  .site-header-with-language-tab .header-language-tab .language-switcher {
    justify-content: flex-end;
    align-items: center;
  }

  .site-header-with-language-tab .header-language-tab .language-switcher-label {
    order: 1;
    margin-left: 0;
  }

  .site-header-with-language-tab .header-language-tab .language-switcher-links {
    order: 2;
    flex: 1 1 auto;
    justify-content: flex-end;
    row-gap: 0.24rem;
  }

  .site-header-with-language-tab .header-language-tab .ss-weather-ticker {
    order: 3;
    flex: 1 1 100%;
    width: 100%;
    max-width: none;
  }

  .site-header .nav-wrap,
  .site-header-with-language-tab .nav-wrap {
    inset:
      calc(var(--ss-effective-header-height) + 0.65rem)
      max(0.75rem, calc(var(--ss-safe-right) + 0.25rem))
      auto
      max(0.75rem, calc(var(--ss-safe-left) + 0.25rem)) !important;
    max-height: calc(100dvh - var(--ss-effective-header-height) - var(--ss-safe-bottom) - 0.85rem) !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .hero {
    padding-top: calc(var(--ss-effective-header-height) + 3.75rem) !important;
  }
}

@media (max-width: 640px) {
  .site-header-with-language-tab .header-inner {
    row-gap: 0.4rem;
  }

  .site-header-with-language-tab .header-language-tab .language-switcher {
    padding-inline-start: max(0.42rem, calc(var(--ss-safe-left) + 0.16rem));
    padding-inline-end: max(0.42rem, calc(var(--ss-safe-right) + 0.16rem));
  }

  .site-header-with-language-tab .header-language-tab .language-switcher-label {
    font-size: 0.68rem;
  }

  .site-header-with-language-tab .header-language-tab .language-switcher-links {
    width: 100%;
    justify-content: flex-start;
    gap: 0.14rem;
  }

  .site-header-with-language-tab .header-language-tab .language-switcher-links a {
    font-size: 0.72rem;
    padding: 0.12rem 0.22rem;
  }

  .site-header-with-language-tab .header-language-tab .ss-weather-ticker {
    font-size: 0.74rem;
    line-height: 1.18;
  }

  .site-header .nav-wrap,
  .site-header-with-language-tab .nav-wrap {
    inset:
      calc(var(--ss-effective-header-height) + 0.5rem)
      max(0.65rem, calc(var(--ss-safe-right) + 0.2rem))
      auto
      max(0.65rem, calc(var(--ss-safe-left) + 0.2rem)) !important;
    max-height: calc(100dvh - var(--ss-effective-header-height) - var(--ss-safe-bottom) - 0.7rem) !important;
  }

  .hero {
    padding-top: calc(var(--ss-effective-header-height) + 3.2rem) !important;
  }

  .hero-content {
    margin-top: clamp(1.4rem, 5vw, 2.25rem) !important;
  }
}

@media (max-width: 480px) {
  .site-header-with-language-tab .header-language-tab .language-switcher {
    row-gap: 0.22rem;
  }

  .site-header-with-language-tab .header-language-tab .language-switcher-label {
    width: 100%;
    justify-content: flex-end;
  }

  .site-header-with-language-tab .header-language-tab .language-switcher-links {
    justify-content: flex-start;
  }

  .site-header-with-language-tab .header-language-tab .ss-weather-ticker {
    font-size: 0.7rem;
  }

  .site-header-with-language-tab .logo-icon {
    width: 2.35rem !important;
    height: 2.35rem !important;
  }

  .site-header-with-language-tab .logo-mark {
    font-size: 0.98rem !important;
  }

  .site-header-with-language-tab .logo-sub {
    font-size: 0.6rem !important;
  }
}

@media (max-width: 360px) {
  .site-header-with-language-tab .header-language-tab .language-switcher-label {
    font-size: 0.64rem;
  }

  .site-header-with-language-tab .header-language-tab .language-switcher-links a {
    font-size: 0.68rem;
  }

  .site-header-with-language-tab .header-language-tab .ss-weather-ticker {
    font-size: 0.67rem;
  }

  .hero {
    padding-top: calc(var(--ss-effective-header-height) + 2.95rem) !important;
  }
}

/* Compliance surfaces */
.ss-compliance-note-wrap {
  padding-top: 1.2rem !important;
  padding-bottom: 1rem !important;
}

.ss-compliance-note {
  display: grid;
  gap: 0.9rem;
  padding: clamp(1.1rem, 1.3vw, 1.5rem);
  border-radius: 1.5rem;
  background:
    linear-gradient(135deg, rgba(255, 247, 226, 0.98), rgba(255, 241, 214, 0.98)),
    linear-gradient(135deg, #fff6e1, #ffe3b8);
  border: 1px solid rgba(191, 112, 21, 0.22);
  box-shadow: 0 18px 34px rgba(61, 20, 20, 0.08);
}

.ss-compliance-kicker {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.45rem;
  padding: 0.38rem 0.78rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #8f241d, #b75c18);
  color: #fff9ef;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ss-compliance-note h2 {
  margin: 0;
  color: #4e2b12 !important;
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
}

.ss-compliance-note p {
  margin: 0;
  color: #553823 !important;
  line-height: 1.72;
}

.ss-compliance-banner-copy {
  font-weight: 700;
}

.ss-compliance-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.ss-footer-compliance {
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 230, 196, 0.16);
  display: grid;
  gap: 0.45rem;
  color: #e9dbc7;
}

.ss-footer-compliance p {
  margin: 0;
}

.ss-footer-compliance a {
  color: #ffd28b;
  font-weight: 700;
}

@media (max-width: 640px) {
  .ss-compliance-actions {
    flex-direction: column;
  }

  .ss-compliance-actions .btn,
  .ss-compliance-actions .btn-outline {
    width: 100%;
  }
}

/* Balanced spacing across English and localized mirrors */
.section {
  padding-top: 1.35rem !important;
  padding-bottom: 1.55rem !important;
}

.section + .section {
  padding-top: 0.8rem !important;
}

.section-title-wrap {
  margin-bottom: 1.2rem !important;
}

:where(.hero-card, .panel, .card, .notice, .service-panel, .timings-card, .live-widget, .section-card, .welcome-panel) {
  padding: clamp(1rem, 1.35vw, 1.45rem) !important;
}

@media (max-width: 980px) {
  .section {
    padding-top: 1.2rem !important;
    padding-bottom: 1.35rem !important;
  }

  .section-title-wrap {
    margin-bottom: 1rem !important;
  }
}

@media (max-width: 640px) {
  .section {
    padding-top: 1.05rem !important;
    padding-bottom: 1.15rem !important;
  }

  :where(.hero-card, .panel, .card, .notice, .service-panel, .timings-card, .live-widget, .section-card, .welcome-panel) {
    padding: 0.95rem !important;
  }
}

:root {
  --ss-page-gutter: clamp(1rem, 2vw, 1.45rem);
  --ss-flow-gap: clamp(0.82rem, 1.15vw, 1.05rem);
  --ss-card-pad: clamp(1rem, 1.2vw, 1.35rem);
  --ss-item-pad: clamp(0.9rem, 1.02vw, 1rem);
}

body {
  font-size: clamp(0.99rem, 0.12vw + 0.96rem, 1.03rem) !important;
  line-height: 1.72 !important;
  overflow-x: hidden !important;
}

html,
body {
  width: 100%;
  max-width: 100%;
}

.container {
  width: min(var(--max, 1200px), calc(100% - (var(--ss-page-gutter) * 2))) !important;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
}

iframe {
  max-width: 100%;
  display: block;
}

:where(p, li, dd, blockquote) {
  line-height: 1.72 !important;
}

:where(.hero-card) :where(p, li, dd, .lead, .hero-copy, .spiritual-intro) {
  color: inherit !important;
  font-size: clamp(0.99rem, 0.18vw + 0.95rem, 1.08rem) !important;
  line-height: 1.74 !important;
}

:where(.grid, .cards, .help-grid, .links-grid, .status-grid, .history-notes, .results, .map-grid, .mini-grid, .tracker-grid, .facts, .section-grid, .policy-grid, .contacts, .hero-grid, .split-grid, .stat-grid, .framework-root, .framework-card-grid, .hero-actions, .section-actions, .actions, .top-actions, .filter-toolbar, .chip-row, .official-links, .meta-list, .point-list, .list, .stack, .bullets, .search-wrap, .hero-mini-grid) {
  gap: var(--ss-flow-gap) !important;
}

:where(.hero-card, .panel, .card, .notice, .service-panel, .timings-card, .live-widget, .section-card, .welcome-panel, .contact-card, .check-card, .route-card, .ambulance-card, .emc-card, .protocol-step, .notice-card, .health-tip, .framework-group, .framework-card, .pill, .table-wrap, .map-card, .stat-card, .rule-card, .timeline, .package-card, .blog-card, .place, .service, .tour-stop, .feature-card, .journey-card) {
  border-radius: clamp(20px, 2.2vw, 28px) !important;
  padding: var(--ss-card-pad) !important;
  height: auto !important;
  min-height: 0 !important;
  align-self: start !important;
}

:where(.list > div, .meta-item, .point-list > div, .bullets > div, .official-links > a, .timeline-step, .source-note, .directory-note, .state-box, .empty-state, .hero-highlight, .hero-mini-grid > div) {
  padding: var(--ss-item-pad) !important;
  border-radius: 18px !important;
}

:where(.btn, .btn-outline) {
  min-height: 2.85rem;
  padding: 0.88rem 1.2rem !important;
  font-size: 0.96rem !important;
  line-height: 1.2 !important;
}

:where(.subnav a) {
  padding: 0.55rem 0.9rem !important;
  font-size: 0.92rem !important;
}

body > main > .hero:first-child,
main.hero {
  padding-top: clamp(2.4rem, 4.3vw, 3.2rem) !important;
  padding-bottom: clamp(1rem, 1.8vw, 1.65rem) !important;
}

@media (max-width: 640px) {
  .container {
    width: min(var(--max, 1200px), calc(100% - 1.5rem)) !important;
  }

  :where(.btn, .btn-outline) {
    min-height: 2.75rem;
    font-size: 0.94rem !important;
  }
}

/* Full-viewport shell and typography refinement for all devices */
:root {
  --ss-page-gutter: clamp(0.72rem, 1.9vw, 2rem);
  --ss-flow-gap: clamp(0.85rem, 1.15vw, 1.18rem);
  --ss-card-pad: clamp(1rem, 0.9vw + 0.76rem, 1.6rem);
  --ss-item-pad: clamp(0.82rem, 0.55vw + 0.68rem, 1.08rem);
  --ss-reading-size: clamp(1rem, 0.18vw + 0.97rem, 1.08rem);
  --ss-ui-size: clamp(0.95rem, 0.14vw + 0.91rem, 1rem);
  --ss-shell-max: max(var(--max-width, var(--max, 1280px)), 1540px);
}

html {
  min-height: 100%;
  height: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-height: 100vh !important;
  min-height: 100dvh !important;
  display: flex;
  flex-direction: column;
  font-size: var(--ss-reading-size) !important;
  line-height: 1.7 !important;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body > main,
:where(main, .main, .page-main) {
  flex: 1 0 auto;
  width: 100%;
  min-height: calc(100dvh - var(--ss-effective-header-height, 0px));
}

:where(header, footer, .site-footer, .top, .topbar, .site-header, .subnav) {
  width: 100%;
}

.container,
:where(.section .container, .hero .container, .top-inner, .topbar-inner, .header-inner, .footer-inner, .subnav .container) {
  width: min(var(--ss-shell-max), calc(100% - (var(--ss-page-gutter) * 2))) !important;
  max-width: 100% !important;
}

body > main > .hero:first-child,
body > main > .hero-section:first-child,
body > main > .page-hero:first-child,
main.hero {
  min-height: max(31rem, calc(100dvh - var(--ss-effective-header-height, 0px) - var(--ss-safe-bottom, 0px))) !important;
  display: flex;
  align-items: stretch;
}

:where(
  body > main > .hero:first-child,
  body > main > .hero-section:first-child,
  body > main > .page-hero:first-child,
  main.hero
) > .container,
:where(
  body > main > .hero:first-child,
  body > main > .hero-section:first-child,
  body > main > .page-hero:first-child,
  main.hero
) :where(.hero-grid, .hero-shell, .hero-content, .hero-card, .visual) {
  min-height: inherit;
}

:where(
  body > main > .hero:first-child,
  body > main > .hero-section:first-child,
  body > main > .page-hero:first-child,
  main.hero
) :where(.hero-grid, .hero-shell) {
  align-items: center !important;
}

:where(h1, .hero h1, .hero-card h1) {
  font-size: clamp(2.1rem, 3.2vw, 3.75rem) !important;
  line-height: 1.08 !important;
}

:where(h2, .section-title-wrap h2) {
  font-size: clamp(1.6rem, 2.15vw, 2.8rem) !important;
  line-height: 1.12 !important;
}

:where(h3) {
  font-size: clamp(1.18rem, 1.1vw, 1.55rem) !important;
  line-height: 1.2 !important;
}

:where(.section p.lead, .hero-copy, .spiritual-intro, .about-copy p, .section-intro) {
  font-size: clamp(1rem, 0.28vw + 0.95rem, 1.12rem) !important;
  line-height: 1.75 !important;
}

:where(.btn, .btn-outline, button, input, select, textarea, .site-nav > a, .nav-group-toggle, .subnav a) {
  font-size: var(--ss-ui-size) !important;
}

:where(.hero-card, .panel, .card, .notice, .service-panel, .timings-card, .live-widget, .section-card, .welcome-panel, .contact-card, .check-card, .route-card, .ambulance-card, .emc-card, .protocol-step, .notice-card, .health-tip, .framework-group, .framework-card, .pill, .table-wrap, .map-card, .stat-card, .rule-card, .timeline, .package-card, .blog-card, .place, .service, .tour-stop, .feature-card, .journey-card) {
  width: 100%;
}

:where(.grid, .cards, .help-grid, .links-grid, .status-grid, .history-notes, .results, .map-grid, .mini-grid, .tracker-grid, .facts, .section-grid, .policy-grid, .contacts, .hero-grid, .split-grid, .stat-grid, .framework-root, .framework-card-grid, .hero-actions, .section-actions, .actions, .top-actions, .filter-toolbar, .chip-row, .official-links, .meta-list, .point-list, .list, .stack, .bullets, .search-wrap, .hero-mini-grid) {
  width: 100%;
}

@media (min-width: 1500px) {
  .container,
  :where(.section .container, .hero .container, .top-inner, .topbar-inner, .header-inner, .footer-inner, .subnav .container) {
    width: min(max(var(--ss-shell-max), 1640px), calc(100% - (var(--ss-page-gutter) * 2))) !important;
  }
}

@media (max-width: 980px) {
  body {
    font-size: clamp(0.99rem, 0.18vw + 0.96rem, 1.03rem) !important;
  }

  .container,
  :where(.section .container, .hero .container, .top-inner, .topbar-inner, .header-inner, .footer-inner, .subnav .container) {
    width: calc(100% - max(1rem, calc(var(--ss-safe-left, 0px) + var(--ss-safe-right, 0px) + 1rem))) !important;
  }

  body > main,
  :where(main, .main, .page-main) {
    min-height: auto;
  }

  body > main > .hero:first-child,
  body > main > .hero-section:first-child,
  body > main > .page-hero:first-child,
  main.hero {
    min-height: calc(100dvh - var(--ss-effective-header-height, 0px) - var(--ss-safe-bottom, 0px)) !important;
  }
}

@media (max-width: 640px) {
  body {
    font-size: clamp(0.98rem, 2.8vw, 1.02rem) !important;
    line-height: 1.68 !important;
  }

  .container,
  :where(.section .container, .hero .container, .top-inner, .topbar-inner, .header-inner, .footer-inner, .subnav .container) {
    width: calc(100% - max(0.85rem, calc(var(--ss-safe-left, 0px) + var(--ss-safe-right, 0px) + 0.85rem))) !important;
  }

  body > main > .hero:first-child,
  body > main > .hero-section:first-child,
  body > main > .page-hero:first-child,
  main.hero {
    min-height: calc(100dvh - var(--ss-effective-header-height, 0px) - var(--ss-safe-bottom, 0px)) !important;
    padding-bottom: max(1rem, calc(var(--ss-safe-bottom, 0px) + 0.85rem)) !important;
  }

  :where(h1, .hero h1, .hero-card h1) {
    font-size: clamp(1.9rem, 7vw, 2.55rem) !important;
  }

  :where(h2, .section-title-wrap h2) {
    font-size: clamp(1.4rem, 5.6vw, 2rem) !important;
  }

  :where(h3) {
    font-size: clamp(1.08rem, 4.2vw, 1.3rem) !important;
  }

  :where(.hero-card, .panel, .card, .notice, .service-panel, .timings-card, .live-widget, .section-card, .welcome-panel, .contact-card, .check-card, .route-card, .ambulance-card, .emc-card, .protocol-step, .notice-card, .health-tip, .framework-group, .framework-card, .pill, .table-wrap, .map-card, .stat-card, .rule-card, .timeline, .package-card, .blog-card, .place, .service, .tour-stop, .feature-card, .journey-card) {
    padding: clamp(0.95rem, 3vw, 1.15rem) !important;
    border-radius: 20px !important;
  }

  :where(.btn, .btn-outline, button, input, select, textarea, .site-nav > a, .nav-group-toggle, .subnav a) {
    font-size: 0.95rem !important;
  }
}

/* Home hero placement and multilingual menu balance */
.hero-grid-home .hero-content {
  margin-top: clamp(27rem, 52vh, 40rem) !important;
}

@media (min-width: 861px) {
  html[lang]:not([lang="en"]) .site-header-with-language-tab .header-inner {
    align-items: start !important;
  }

  html[lang]:not([lang="en"]) .site-header-with-language-tab .nav-wrap {
    align-self: stretch;
    width: min(100%, 58rem);
  }

  html[lang]:not([lang="en"]) .site-header-with-language-tab .site-nav {
    width: min(100%, 58rem);
    flex-wrap: wrap !important;
    justify-content: flex-end !important;
    align-items: stretch !important;
    row-gap: 0.42rem !important;
    column-gap: 0.58rem !important;
  }

  html[lang]:not([lang="en"]) .site-header-with-language-tab .site-nav > a,
  html[lang]:not([lang="en"]) .site-header-with-language-tab .nav-group,
  html[lang]:not([lang="en"]) .site-header-with-language-tab .nav-group-toggle {
    flex: 0 1 auto !important;
  }

  html[lang]:not([lang="en"]) .site-header-with-language-tab .site-nav > a,
  html[lang]:not([lang="en"]) .site-header-with-language-tab .nav-group-toggle,
  html[lang]:not([lang="en"]) .site-header-with-language-tab .nav-group-toggle-label {
    white-space: normal !important;
    line-height: 1.22 !important;
    text-align: center !important;
  }
}

@media (max-width: 980px) {
  .hero-grid-home .hero-content {
    margin-top: clamp(17rem, 40vw, 24rem) !important;
  }
}

@media (max-width: 640px) {
  .hero-grid-home .hero-content {
    margin-top: clamp(12rem, 34vw, 16.5rem) !important;
  }
}

/* Shared spacing polish */
.hero {
  padding-top: clamp(2.4rem, 5.4vw, 4.25rem) !important;
  padding-bottom: clamp(1.15rem, 2.8vw, 2rem) !important;
}

.section {
  padding-top: clamp(1.45rem, 3vw, 2.2rem) !important;
  padding-bottom: clamp(1.7rem, 3.5vw, 2.7rem) !important;
}

.section + .section {
  padding-top: clamp(1rem, 2.3vw, 1.45rem) !important;
}

:where(.hero, .section) {
  scroll-margin-top: calc(var(--ss-site-header-height, 92px) + var(--ss-subnav-height, 56px) + 1rem);
}

:where(main) :where(section, article, div, tr, strong)[id] {
  scroll-margin-top: calc(var(--ss-site-header-height, 92px) + var(--ss-subnav-height, 56px) + 1rem);
}

:where(.hero-card, .panel, .card, .notice, .service-panel, .timings-card, .live-widget, .section-card, .welcome-panel, .contact-card, .check-card, .route-card, .ambulance-card, .emc-card, .protocol-step, .notice-card, .health-tip, .framework-group, .framework-card, .pill, .table-wrap, .map-card, .stat-card, .rule-card, .timeline, .package-card, .blog-card, .place, .service, .tour-stop, .feature-card, .journey-card) > :first-child {
  margin-top: 0 !important;
}

:where(.hero-card, .panel, .card, .notice, .service-panel, .timings-card, .live-widget, .section-card, .welcome-panel, .contact-card, .check-card, .route-card, .ambulance-card, .emc-card, .protocol-step, .notice-card, .health-tip, .framework-group, .framework-card, .pill, .table-wrap, .map-card, .stat-card, .rule-card, .timeline, .package-card, .blog-card, .place, .service, .tour-stop, .feature-card, .journey-card) > :last-child {
  margin-bottom: 0 !important;
}

:where(.hero-card, .panel, .card, .notice, .service-panel, .timings-card, .live-widget, .section-card, .welcome-panel, .contact-card, .check-card, .route-card, .ambulance-card, .emc-card, .protocol-step, .notice-card, .health-tip, .framework-group, .framework-card, .pill, .table-wrap, .map-card, .stat-card, .rule-card, .timeline, .package-card, .blog-card, .place, .service, .tour-stop, .feature-card, .journey-card) :where(.cta-row, .actions, .hero-actions, .section-actions, .support-map-actions, .support-result-actions, .filter-toolbar) {
  margin-top: 1rem !important;
}

:where(.container.grid, .container.cards, .container.grid-2, .container.grid-3, .panel-grid, .resources, .policy-grid, .support-map-grid, .support-map-categories, .framework-card-grid, .stat-grid, .split-grid, .cards, .grid) {
  gap: clamp(0.95rem, 2vw, 1.2rem) !important;
}

/* Shared primary navigation for inner pages */
:where(.top) .top-inner {
  flex-wrap: nowrap;
}

:where(.top) .brand {
  flex: 0 1 auto;
  min-width: 0;
}

:where(.top) .ss-header-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex: 0 0 auto;
}

.ss-search-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 999px;
  border: 1px solid rgba(74, 53, 39, 0.1);
  background: rgba(255, 250, 242, 0.92);
  color: #4a3527;
  box-shadow: 0 12px 24px rgba(43, 31, 20, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.ss-search-button:hover,
.ss-search-button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(43, 31, 20, 0.14);
  outline: none;
}

.ss-search-button svg {
  width: 1rem;
  height: 1rem;
}

:where(.top) .menu-toggle {
  display: none;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 50%;
  background: rgba(255, 251, 244, 0.9);
  border: 1px solid rgba(74, 53, 39, 0.1);
  box-shadow: 0 14px 26px rgba(43, 31, 20, 0.1);
  color: #4a3527;
}

:where(.top) .menu-toggle span,
:where(.top) .menu-toggle span::before,
:where(.top) .menu-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease;
  content: "";
}

:where(.top) .menu-toggle span::before {
  transform: translateY(-6px);
}

:where(.top) .menu-toggle span::after {
  transform: translateY(4px);
}

:where(.top) .menu-toggle.active span {
  background: transparent;
}

:where(.top) .menu-toggle.active span::before {
  transform: translateY(0) rotate(45deg);
}

:where(.top) .menu-toggle.active span::after {
  transform: translateY(-2px) rotate(-45deg);
}

:where(.top) .nav-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  min-width: 0;
  flex: 1 1 auto;
}

:where(.top) .site-nav {
  display: flex;
  align-items: center;
  gap: 1.05rem;
  min-width: 0;
}

:where(.top) .site-nav a,
:where(.top) .nav-group-toggle {
  position: relative;
  font-size: 0.95rem;
  font-weight: 700;
  color: #2d241c;
  padding: 0.35rem 0;
  border: 0;
  background: none;
  white-space: nowrap;
  line-height: 1.25;
}

:where(.top) .site-nav a::after,
:where(.top) .nav-group-toggle::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.12rem;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.22s ease;
  background: linear-gradient(90deg, rgba(200, 165, 90, 0.28), rgba(33, 66, 50, 0.82));
}

:where(.top) .site-nav a:hover::after,
:where(.top) .site-nav a:focus-visible::after,
:where(.top) .nav-group-toggle:hover::after,
:where(.top) .nav-group-toggle:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

:where(.top) .nav-group {
  position: relative;
  padding-bottom: 0.9rem;
  margin-bottom: -0.9rem;
}

:where(.top) .nav-group-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
}

:where(.top) .nav-group-toggle svg {
  width: 12px;
  height: 12px;
  transition: transform 0.22s ease;
}

:where(.top) .nav-group:hover .nav-group-toggle svg,
:where(.top) .nav-group:focus-within .nav-group-toggle svg,
:where(.top) .nav-group.open .nav-group-toggle svg {
  transform: rotate(180deg);
}

:where(.top) .submenu,
.site-header .submenu {
  position: absolute;
  top: calc(100% - 0.15rem);
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  width: min(94vw, 860px);
  padding: 1rem;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.99), rgba(246, 237, 220, 0.98));
  border: 1px solid rgba(177, 143, 80, 0.22);
  box-shadow: 0 24px 40px rgba(56, 39, 18, 0.14);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  align-items: start;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
  z-index: 45;
}

:where(.top) .nav-group:hover .submenu,
:where(.top) .nav-group:focus-within .submenu,
:where(.top) .nav-group.open .submenu,
.site-header .nav-group:hover .submenu,
.site-header .nav-group:focus-within .submenu,
.site-header .nav-group.open .submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

:where(.top) .submenu-block,
.site-header .submenu-block {
  display: grid;
  gap: 0.55rem;
  align-content: start;
  padding: 0.85rem;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(255, 250, 242, 0.96));
  border: 1px solid rgba(177, 143, 80, 0.12);
  min-height: 100%;
}

:where(.top) .submenu-block-info,
.site-header .submenu-block-info {
  background: linear-gradient(180deg, rgba(255, 249, 236, 0.98), rgba(248, 238, 214, 0.9));
}

:where(.top) .submenu-block-sacred,
.site-header .submenu-block-sacred {
  background: linear-gradient(180deg, rgba(245, 248, 238, 0.98), rgba(225, 236, 223, 0.92));
}

:where(.top) .submenu-block-ritual,
.site-header .submenu-block-ritual {
  background: linear-gradient(180deg, rgba(255, 245, 239, 0.98), rgba(243, 227, 214, 0.92));
}

:where(.top) .submenu-block-service,
.site-header .submenu-block-service {
  background: linear-gradient(180deg, rgba(241, 247, 244, 0.98), rgba(221, 234, 227, 0.94));
}

:where(.top) .submenu-block-devotion,
.site-header .submenu-block-devotion {
  background: linear-gradient(180deg, rgba(250, 243, 231, 0.98), rgba(238, 226, 198, 0.92));
}

:where(.top) .submenu-block-utility,
.site-header .submenu-block-utility {
  background: linear-gradient(180deg, rgba(247, 246, 243, 0.98), rgba(234, 229, 220, 0.92));
}

:where(.top) .submenu-heading,
.site-header .submenu-heading {
  display: inline-flex;
  align-items: center;
  width: max-content;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: rgba(33, 66, 50, 0.08);
  color: #214232;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

:where(.top) .submenu-block-service .submenu-heading,
.site-header .submenu-block-service .submenu-heading {
  background: rgba(33, 66, 50, 0.12);
  color: #214232;
}

:where(.top) .submenu-block-devotion .submenu-heading,
.site-header .submenu-block-devotion .submenu-heading {
  background: rgba(157, 124, 54, 0.12);
  color: #7a5327;
}

:where(.top) .submenu a,
.site-header .submenu a {
  display: flex;
  align-items: center;
  min-height: 2.7rem;
  padding: 0.7rem 0.85rem;
  border-radius: 16px;
  background: rgba(255, 253, 248, 0.92);
  border: 1px solid rgba(177, 143, 80, 0.15);
  color: #3f2f1d;
  font-weight: 700;
  white-space: normal;
  box-shadow: 0 8px 16px rgba(43, 31, 20, 0.07);
}

:where(.top) .submenu a:hover,
:where(.top) .submenu a:focus-visible,
.site-header .submenu a:hover,
.site-header .submenu a:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(157, 124, 54, 0.42);
  box-shadow: 0 14px 24px rgba(43, 31, 20, 0.12);
  outline: none;
}

:where(.top) .submenu a.nav-link-emergency,
.site-header .submenu a.nav-link-emergency {
  background: linear-gradient(135deg, rgba(255, 241, 239, 0.98), rgba(252, 224, 217, 0.94));
  border-color: rgba(178, 74, 58, 0.24);
  color: #9a3226;
}

.ss-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 980px) {
  :where(.top) .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  :where(.top) .nav-wrap {
    position: fixed;
    inset: calc(var(--ss-top-height, 76px) + 0.8rem) 0.75rem auto 0.75rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.7rem;
    padding: 1rem;
    max-height: calc(100vh - var(--ss-top-height, 76px) - 1.8rem);
    overflow: auto;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 251, 244, 0.98), rgba(244, 236, 221, 0.98));
    border: 1px solid rgba(112, 84, 40, 0.12);
    box-shadow: 0 22px 46px rgba(45, 36, 28, 0.16);
    z-index: 60;
  }

  :where(.top) .nav-wrap.open {
    display: flex;
  }

  :where(.top) .site-nav {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0.4rem;
  }

  :where(.top) .site-nav a,
  :where(.top) .nav-group,
  :where(.top) .nav-group-toggle {
    width: 100%;
  }

  :where(.top) .nav-group {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: 1px solid rgba(74, 53, 39, 0.08);
  }

  :where(.top) .nav-group:last-child {
    border-bottom: 0;
  }

  :where(.top) .site-nav > a,
  :where(.top) .nav-group-toggle {
    min-height: 3.1rem;
    padding: 0.85rem 0;
    justify-content: space-between;
  }

  :where(.top) .submenu {
    position: static;
    width: 100%;
    padding: 0 0 0.9rem;
    margin-top: -0.2rem;
    border: 0;
    box-shadow: none;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    display: none;
    background: transparent;
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  :where(.top) .nav-group.open .submenu {
    display: grid;
  }

  :where(.top) .submenu a {
    min-height: 3.05rem;
    padding: 0.85rem 1rem;
    font-size: 1rem;
  }

  :where(.top) .ss-header-actions .btn,
  :where(.top) .ss-header-actions .btn-outline {
    display: none;
  }
}

@media (max-width: 640px) {
  :where(.top) .nav-wrap {
    inset: calc(var(--ss-top-height, 76px) + 0.6rem) 0.45rem auto 0.45rem;
    padding: 0.9rem;
  }

  :where(.top) .submenu a {
    min-height: 3.2rem;
  }
}

/* Professional primary-nav polish */
@media (min-width: 981px) {
  .site-header-with-language-tab .site-nav {
    align-items: center;
  }

  .site-header-with-language-tab .site-nav > a,
  .site-header-with-language-tab .nav-group-toggle {
    min-height: 2.65rem;
    padding: 0.58rem 0.92rem;
    border-radius: 999px;
    background: rgba(255, 247, 230, 0.08);
    border: 1px solid rgba(232, 196, 125, 0.16);
    box-shadow: inset 0 1px 0 rgba(255, 248, 230, 0.08);
    transition:
      background 0.22s ease,
      border-color 0.22s ease,
      box-shadow 0.22s ease,
      transform 0.22s ease,
      color 0.22s ease;
  }

  .site-header-with-language-tab .site-nav > a:hover,
  .site-header-with-language-tab .site-nav > a:focus-visible,
  .site-header-with-language-tab .nav-group-toggle:hover,
  .site-header-with-language-tab .nav-group-toggle:focus-visible,
  .site-header-with-language-tab .nav-group.open .nav-group-toggle {
    transform: translateY(-1px);
    background: rgba(255, 243, 212, 0.16);
    border-color: rgba(245, 202, 117, 0.3);
    box-shadow:
      inset 0 1px 0 rgba(255, 247, 228, 0.14),
      0 12px 22px rgba(28, 20, 10, 0.12);
  }

  .site-header-with-language-tab .nav-group {
    padding-bottom: 1rem;
    margin-bottom: -1rem;
  }

  .site-header-with-language-tab .submenu {
    top: calc(100% + 0.2rem);
    width: min(96vw, 920px);
  }

  .site-header-with-language-tab .submenu a {
    line-height: 1.35;
  }
}

/* Remove oversized hero whitespace and keep hero sections content-sized */
body > main > .hero:first-child,
body > main > .hero-section:first-child,
body > main > .page-hero:first-child,
main.hero {
  min-height: auto !important;
  display: block !important;
  align-items: initial !important;
  padding-bottom: clamp(0.8rem, 1.6vw, 1.2rem) !important;
}

:where(
  body > main > .hero:first-child,
  body > main > .hero-section:first-child,
  body > main > .page-hero:first-child,
  main.hero
) > .container,
:where(
  body > main > .hero:first-child,
  body > main > .hero-section:first-child,
  body > main > .page-hero:first-child,
  main.hero
) :where(.hero-grid, .hero-shell, .hero-content, .hero-card, .visual) {
  min-height: 0 !important;
}

:where(
  body > main > .hero:first-child,
  body > main > .hero-section:first-child,
  body > main > .page-hero:first-child,
  main.hero
) :where(.hero-grid, .hero-shell) {
  align-items: start !important;
}

body > main > .hero:first-child + .section,
body > main > .hero-section:first-child + .section,
body > main > .page-hero:first-child + .section,
main > .hero + .section {
  padding-top: clamp(0.8rem, 1.7vw, 1.15rem) !important;
}

.hero-grid-home .hero-content {
  margin-top: clamp(10rem, 24vw, 15rem) !important;
}

@media (max-width: 980px) {
  .hero-grid-home .hero-content {
    margin-top: clamp(6.5rem, 20vw, 9rem) !important;
  }
}

@media (max-width: 640px) {
  .hero-grid-home .hero-content {
    margin-top: clamp(4.2rem, 18vw, 6rem) !important;
  }
}

/* Sabarimala spiritual navigation theme */
:root {
  --ss-nav-forest: #183629;
  --ss-nav-forest-soft: #2b5643;
  --ss-nav-bronze: #8d5e2b;
  --ss-nav-bronze-deep: #6f441a;
  --ss-nav-gold-soft: rgba(244, 212, 142, 0.9);
  --ss-nav-sandal: #f8edd6;
  --ss-nav-sandal-soft: #fff8ec;
  --ss-nav-ink: #372414;
}

.site-header-with-language-tab::before {
  background:
    linear-gradient(90deg, rgba(20, 47, 36, 0.98), rgba(39, 74, 57, 0.98)) !important;
  border-bottom-color: rgba(226, 192, 126, 0.2) !important;
  box-shadow:
    inset 0 -1px 0 rgba(255, 235, 198, 0.12),
    0 6px 16px rgba(19, 28, 22, 0.16) !important;
}

.site-header-with-language-tab::after {
  background:
    linear-gradient(90deg, rgba(126, 84, 34, 0.98), rgba(104, 68, 28, 0.98)) !important;
  border-bottom-color: rgba(92, 58, 22, 0.2) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 234, 192, 0.16),
    0 16px 30px rgba(37, 22, 8, 0.18) !important;
}

.site-header-with-language-tab .nav-wrap,
:where(.top) .nav-wrap {
  gap: 0.95rem;
}

.site-header-with-language-tab .site-nav,
:where(.top) .site-nav {
  padding: 0.22rem 0.35rem;
  border-radius: 999px;
}

.site-header-with-language-tab .site-nav > a,
.site-header-with-language-tab .nav-group-toggle,
:where(.top) .site-nav > a,
:where(.top) .nav-group-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.38rem;
  min-height: 2.48rem;
  padding: 0.56rem 0.86rem;
  border-radius: 18px;
  border: 1px solid rgba(245, 214, 153, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 247, 227, 0.08), rgba(255, 230, 176, 0.03));
  color: #fff7e7 !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 241, 208, 0.06),
    0 6px 14px rgba(25, 15, 6, 0.05);
  text-shadow: none;
  transition:
    transform 0.22s ease,
    color 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease !important;
}

.site-header-with-language-tab .site-nav > a::after,
.site-header-with-language-tab .nav-group-toggle::after,
:where(.top) .site-nav > a::after,
:where(.top) .nav-group-toggle::after {
  left: 0.82rem;
  bottom: 0.34rem;
  width: calc(100% - 1.64rem);
  height: 1.3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 227, 160, 0), rgba(255, 227, 160, 0.92), rgba(180, 231, 198, 0.88), rgba(255, 227, 160, 0)) !important;
  box-shadow: 0 0 10px rgba(255, 214, 120, 0.18);
}

.site-header-with-language-tab .site-nav > a:hover,
.site-header-with-language-tab .site-nav > a:focus-visible,
.site-header-with-language-tab .nav-group-toggle:hover,
.site-header-with-language-tab .nav-group-toggle:focus-visible,
.site-header-with-language-tab .nav-group.open .nav-group-toggle,
:where(.top) .site-nav > a:hover,
:where(.top) .site-nav > a:focus-visible,
:where(.top) .nav-group-toggle:hover,
:where(.top) .nav-group-toggle:focus-visible,
:where(.top) .nav-group.open .nav-group-toggle {
  transform: translateY(-1px);
  color: #fff3d1 !important;
  background:
    linear-gradient(180deg, rgba(255, 243, 212, 0.14), rgba(245, 210, 133, 0.06));
  border-color: rgba(246, 205, 126, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 214, 0.12),
    0 10px 18px rgba(34, 20, 7, 0.1);
  text-shadow: 0 0 10px rgba(255, 214, 120, 0.12);
}

.site-header-with-language-tab .nav-group-toggle svg,
:where(.top) .nav-group-toggle svg {
  color: #ffe5ae;
}

.site-header .nav-group-toggle-label,
.site-header-with-language-tab .nav-group-toggle-label,
:where(.top) .nav-group-toggle-label {
  display: block;
  max-width: 9.25rem;
  white-space: normal !important;
  text-align: center;
  line-height: 1.14;
  text-wrap: balance;
}

.site-header-with-language-tab .submenu,
.site-header .submenu,
:where(.top) .submenu {
  overflow: hidden;
  padding: 1.15rem;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 250, 241, 0.99), rgba(247, 239, 222, 0.98)) !important;
  border: 1px solid rgba(177, 143, 80, 0.2) !important;
  box-shadow:
    0 24px 46px rgba(47, 31, 14, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.site-header-with-language-tab .submenu::before,
.site-header .submenu::before,
:where(.top) .submenu::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at top right, rgba(255, 224, 153, 0.24), transparent 34%),
    radial-gradient(circle at bottom left, rgba(70, 119, 92, 0.1), transparent 30%);
  pointer-events: none;
}

.site-header-with-language-tab .submenu > *,
.site-header .submenu > *,
:where(.top) .submenu > * {
  position: relative;
  z-index: 1;
}

.site-header-with-language-tab .submenu-block,
.site-header .submenu-block,
:where(.top) .submenu-block {
  gap: 0.65rem;
  padding: 1rem;
  border-radius: 22px;
  border: 1px solid rgba(181, 146, 83, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.58),
    0 10px 18px rgba(45, 31, 13, 0.06);
}

.site-header-with-language-tab .submenu-heading,
.site-header .submenu-heading,
:where(.top) .submenu-heading {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.34rem 0.78rem;
  border-radius: 999px;
  font-size: 0.76rem;
  letter-spacing: 0.09em;
  color: var(--ss-nav-bronze-deep) !important;
  background: rgba(255, 239, 201, 0.72) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.site-header-with-language-tab .submenu-heading::before,
.site-header .submenu-heading::before,
:where(.top) .submenu-heading::before {
  content: "";
  width: 0.46rem;
  height: 0.46rem;
  border-radius: 50%;
  background: linear-gradient(180deg, #d2a85f, #916122);
  box-shadow: 0 0 0 3px rgba(210, 168, 95, 0.12);
}

.site-header-with-language-tab .submenu a,
.site-header .submenu a,
:where(.top) .submenu a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.9rem;
  padding: 0.78rem 0.95rem;
  border-radius: 18px;
  background: rgba(255, 253, 248, 0.96);
  border: 1px solid rgba(177, 143, 80, 0.14);
  color: var(--ss-nav-ink) !important;
  box-shadow: 0 8px 18px rgba(43, 31, 20, 0.06);
}

.site-header-with-language-tab .submenu a::before,
.site-header .submenu a::before,
:where(.top) .submenu a::before {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(148, 97, 43, 0.92), rgba(33, 66, 50, 0.86));
  box-shadow: 0 0 0 3px rgba(148, 97, 43, 0.08);
}

.site-header-with-language-tab .submenu a:hover,
.site-header-with-language-tab .submenu a:focus-visible,
.site-header .submenu a:hover,
.site-header .submenu a:focus-visible,
:where(.top) .submenu a:hover,
:where(.top) .submenu a:focus-visible {
  transform: translateY(-1px);
  background: linear-gradient(180deg, rgba(255, 252, 244, 0.98), rgba(250, 242, 224, 0.98)) !important;
  border-color: rgba(157, 124, 54, 0.34) !important;
  box-shadow: 0 14px 24px rgba(43, 31, 20, 0.11) !important;
}

.site-header-with-language-tab .submenu a.nav-link-emergency,
.site-header .submenu a.nav-link-emergency,
:where(.top) .submenu a.nav-link-emergency {
  background: linear-gradient(135deg, rgba(255, 244, 240, 0.98), rgba(254, 231, 224, 0.96)) !important;
  border-color: rgba(178, 74, 58, 0.22) !important;
  color: #962f23 !important;
  box-shadow: 0 10px 20px rgba(147, 52, 38, 0.08);
}

.site-header-with-language-tab .submenu a.nav-link-emergency::before,
.site-header .submenu a.nav-link-emergency::before,
:where(.top) .submenu a.nav-link-emergency::before {
  background: linear-gradient(180deg, #cc6654, #972d22);
  box-shadow: 0 0 0 3px rgba(201, 94, 73, 0.12);
}

.site-header-with-language-tab .language-switcher,
.language-switcher {
  border-color: rgba(241, 213, 154, 0.22) !important;
  background:
    linear-gradient(180deg, rgba(255, 248, 230, 0.12), rgba(255, 232, 181, 0.06)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 242, 214, 0.12),
    0 10px 18px rgba(32, 20, 8, 0.08);
}

.site-header-with-language-tab .header-language-tab .language-switcher-label,
.site-header-with-language-tab .header-language-tab .language-switcher-links a {
  color: #6b4318 !important;
}

.site-header-with-language-tab .header-language-tab .language-switcher-label {
  color: #5b3512 !important;
}

.site-header-with-language-tab .header-language-tab .language-switcher-links a:hover,
.site-header-with-language-tab .header-language-tab .language-switcher-links a:focus-visible {
  color: #8a4b13 !important;
}

.site-header-with-language-tab .header-language-tab .language-switcher-links a[aria-current="page"],
.site-header-with-language-tab .header-language-tab .language-switcher-links a.is-active {
  color: #4d2c0d !important;
  background: rgba(255, 243, 214, 0.78) !important;
  border-color: rgba(162, 106, 40, 0.22) !important;
}

.ss-search-button {
  border-color: rgba(245, 214, 153, 0.2) !important;
  background:
    linear-gradient(180deg, rgba(255, 246, 224, 0.16), rgba(255, 228, 171, 0.08)) !important;
  color: #fff2d0 !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 243, 212, 0.12),
    0 12px 22px rgba(33, 20, 6, 0.12);
}

.ss-search-button:hover,
.ss-search-button:focus-visible {
  background:
    linear-gradient(180deg, rgba(255, 246, 224, 0.26), rgba(255, 228, 171, 0.14)) !important;
  color: #fff7e7 !important;
}

@media (max-width: 980px) {
  :where(.top) .nav-wrap,
  .site-header .nav-wrap,
  .site-header-with-language-tab .nav-wrap {
    background:
      linear-gradient(180deg, rgba(27, 44, 35, 0.985), rgba(56, 33, 14, 0.975)) !important;
    border: 1px solid rgba(230, 196, 126, 0.2) !important;
    box-shadow:
      0 24px 44px rgba(17, 11, 6, 0.3),
      inset 0 1px 0 rgba(255, 237, 204, 0.08) !important;
  }

  :where(.top) .site-nav > a,
  :where(.top) .nav-group-toggle,
  .site-header .site-nav > a,
  .site-header .nav-group-toggle,
  .site-header-with-language-tab .site-nav > a,
  .site-header-with-language-tab .nav-group-toggle {
    padding: 0.88rem 1rem !important;
    min-height: 3.2rem !important;
    justify-content: space-between;
    border-radius: 18px !important;
    background: rgba(255, 245, 219, 0.08) !important;
    border: 1px solid rgba(244, 211, 146, 0.14) !important;
    color: #fff1cf !important;
    box-shadow: none !important;
  }

  :where(.top) .nav-group,
  .site-header .nav-group,
  .site-header-with-language-tab .nav-group {
    border-bottom-color: rgba(244, 211, 146, 0.12) !important;
  }

  :where(.top) .submenu,
  .site-header .submenu,
  .site-header-with-language-tab .submenu {
    padding: 0.2rem 0 0.9rem !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  :where(.top) .submenu::before,
  .site-header .submenu::before,
  .site-header-with-language-tab .submenu::before {
    display: none;
  }

  :where(.top) .submenu-block,
  .site-header .submenu-block,
  .site-header-with-language-tab .submenu-block {
    padding: 0.7rem !important;
    border-radius: 18px !important;
    background: rgba(255, 248, 234, 0.08) !important;
    border: 1px solid rgba(244, 211, 146, 0.12) !important;
    box-shadow: none !important;
  }

  :where(.top) .submenu-heading,
  .site-header .submenu-heading,
  .site-header-with-language-tab .submenu-heading {
    background: rgba(255, 229, 171, 0.14) !important;
    color: #ffdca0 !important;
  }

  :where(.top) .submenu a,
  .site-header .submenu a,
  .site-header-with-language-tab .submenu a {
    background: rgba(255, 250, 241, 0.08) !important;
    border-color: rgba(244, 211, 146, 0.12) !important;
    color: #fff2d4 !important;
    box-shadow: none !important;
  }

  :where(.top) .submenu a.nav-link-emergency,
  .site-header .submenu a.nav-link-emergency,
  .site-header-with-language-tab .submenu a.nav-link-emergency {
    background: rgba(181, 71, 51, 0.2) !important;
    border-color: rgba(228, 124, 102, 0.3) !important;
    color: #ffe3dc !important;
  }

  :where(.top) .menu-toggle,
  .site-header .menu-toggle,
  .site-header-with-language-tab .menu-toggle,
  .ss-search-button {
    background:
      linear-gradient(180deg, rgba(255, 246, 224, 0.16), rgba(255, 228, 171, 0.08)) !important;
    border-color: rgba(245, 214, 153, 0.18) !important;
    color: #fff2d0 !important;
    box-shadow: 0 10px 18px rgba(33, 20, 6, 0.1) !important;
  }
}

/* Homepage hero: restore window-sized presence with proportional background */
body > main > .hero#home:first-child {
  min-height: max(36rem, calc(100dvh - var(--ss-effective-header-height, var(--header-height, 92px)) - 0.4rem)) !important;
  display: flex !important;
  align-items: stretch !important;
  --hero-bg-position: 50% 64%;
  --hero-bg-size: cover;
  padding-top: clamp(1rem, 1.8vw, 1.45rem) !important;
  padding-bottom: clamp(0.75rem, 1.2vw, 1.1rem) !important;
}

body > main > .hero#home:first-child > .container.hero-grid-home {
  min-height: inherit !important;
  display: grid !important;
  align-items: end !important;
}

body > main > .hero#home:first-child .hero-content {
  margin-top: clamp(15rem, 34vh, 23rem) !important;
  max-width: min(100%, 60rem) !important;
}

body > main > .hero#home:first-child + .section {
  padding-top: clamp(0.95rem, 1.8vw, 1.35rem) !important;
}

@media (max-width: 980px) {
  body > main > .hero#home:first-child {
    min-height: max(31rem, calc(100dvh - var(--ss-effective-header-height, var(--header-height, 92px)) - 0.25rem)) !important;
    --hero-bg-position: 52% 60%;
    padding-top: clamp(0.9rem, 2vw, 1.2rem) !important;
  }

  body > main > .hero#home:first-child .hero-content {
    margin-top: clamp(9rem, 26vw, 12.5rem) !important;
  }
}

@media (max-width: 640px) {
  body > main > .hero#home:first-child {
    min-height: max(26rem, calc(100dvh - var(--ss-effective-header-height, var(--header-height, 92px)) - 0.15rem)) !important;
    --hero-bg-position: 58% 57%;
    padding-bottom: clamp(0.7rem, 2vw, 0.95rem) !important;
  }

  body > main > .hero#home:first-child .hero-content {
    margin-top: clamp(6.6rem, 24vw, 8.9rem) !important;
  }
}

/* Homepage cards: keep card groups proportionate and equal in height */
:is(#about, #ayyappa, #teachings, #journey, #visit, #testimonials, #blog) :is(.cards-grid, .journey-grid, .packages-grid, .testimonials-grid, .blog-grid) {
  align-items: stretch !important;
}

#timings .hub-card-grid {
  align-items: stretch !important;
}

:is(#about, #ayyappa, #teachings, #journey, #visit, #services, #testimonials, #blog) :is(.feature-card, .journey-card, .package-card, .service-panel, .testimonial-card, .blog-card) {
  height: 100% !important;
  min-height: 100% !important;
  align-self: stretch !important;
}

#timings .hub-card {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  min-height: 100% !important;
  align-self: stretch !important;
}

:is(#about, #ayyappa, #teachings) .feature-card,
#journey .journey-card,
#visit .package-card,
#services .service-panel,
#testimonials .testimonial-card,
#blog .blog-card {
  display: flex !important;
  flex-direction: column !important;
}

:is(#about, #ayyappa, #teachings) .feature-card p,
#journey .journey-card p,
#services .service-panel p,
#testimonials .testimonial-card p,
#blog .blog-card p {
  flex: 1 1 auto;
}

#timings .hub-card p {
  flex: 1 1 auto;
}

#visit .package-card img {
  flex: 0 0 auto;
}

#visit .package-copy {
  display: flex !important;
  flex: 1 1 auto;
  flex-direction: column !important;
  gap: 0.85rem;
  min-height: 0;
}

#visit .package-copy p {
  flex: 1 1 auto;
}

#visit .package-copy .btn-outline {
  margin-top: auto !important;
}

#services .services-layout {
  align-items: stretch !important;
}

@media (min-width: 641px) {
  :is(#about, #ayyappa, #teachings) .feature-card {
    min-height: clamp(16.5rem, 18vw, 18.75rem) !important;
  }

  #journey .journey-card {
    min-height: clamp(16.75rem, 19vw, 19.25rem) !important;
  }

  #timings .hub-card {
    min-height: clamp(15.75rem, 18vw, 18.4rem) !important;
  }

  #visit .package-card {
    min-height: clamp(26rem, 29vw, 29.5rem) !important;
  }

  #testimonials .testimonial-card {
    min-height: clamp(16rem, 17vw, 18rem) !important;
  }

  #blog .blog-card {
    min-height: clamp(18rem, 20vw, 21rem) !important;
  }
}

/* Inner-page navigation: keep brand readable and desktop mega menus fully visible */
@media (min-width: 981px) {
  :where(.top) .top-inner {
    align-items: center;
    gap: 0.75rem;
    overflow: visible;
  }

  :where(.top) .brand {
    flex: 0 0 auto;
    min-width: 0;
    max-width: clamp(9.75rem, 14vw, 13rem);
  }

  :where(.top) .brand,
  :where(.top) .brand strong,
  :where(.top) .brand span,
  :where(.top) .ss-header-actions .btn,
  :where(.top) .ss-header-actions .btn-outline,
  :where(.top) .site-nav > a,
  :where(.top) .nav-group-toggle,
  :where(.top) .submenu-heading,
  :where(.top) .submenu a {
    overflow-wrap: normal !important;
    word-break: normal !important;
  }

  :where(.top) .brand strong,
  :where(.top) .brand span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  :where(.top) .brand strong {
    font-size: clamp(1.08rem, 0.38vw + 0.98rem, 1.24rem);
    line-height: 1.08;
  }

  :where(.top) .brand span {
    font-size: clamp(0.66rem, 0.16vw + 0.62rem, 0.75rem);
    line-height: 1.14;
  }

  :where(.top) .nav-wrap {
    justify-content: flex-end;
  }

  :where(.top) .site-nav {
    justify-content: flex-end;
    gap: clamp(0.4rem, 0.7vw, 0.78rem);
  }

  :where(.top) .site-nav > a,
  :where(.top) .nav-group-toggle {
    min-height: 2.62rem;
    padding: 0.62rem 0.84rem !important;
    font-size: 0.93rem;
  }

  :where(.top) .ss-header-actions {
    gap: 0.45rem;
  }

  :where(.top) .ss-header-actions .btn,
  :where(.top) .ss-header-actions .btn-outline {
    width: auto !important;
    min-height: 2.72rem;
    padding: 0.74rem 1.04rem !important;
    white-space: nowrap;
  }

  :where(.top) .submenu {
    --ss-submenu-x: -50%;
    --ss-submenu-shift: 0px;
    top: calc(100% + 0.12rem);
    left: 50%;
    right: auto;
    width: min(90vw, 780px);
    max-width: calc(100vw - 1.4rem);
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    transform: translateX(calc(var(--ss-submenu-x) + var(--ss-submenu-shift))) translateY(10px);
  }

  :where(.top) .nav-group:hover > .submenu,
  :where(.top) .nav-group:focus-within > .submenu,
  :where(.top) .nav-group.open > .submenu {
    transform: translateX(calc(var(--ss-submenu-x) + var(--ss-submenu-shift))) translateY(0);
  }

  :where(.top) .submenu.ss-submenu-left {
    left: 0;
    right: auto;
    --ss-submenu-x: 0px;
  }

  :where(.top) .submenu.ss-submenu-right {
    left: auto;
    right: 0;
    --ss-submenu-x: 0px;
  }
}

body.ss-primary-menu-active .site-header,
body.ss-primary-menu-active .top,
body.ss-primary-menu-active .topbar,
body.ss-primary-menu-active .subnav {
  transform: none !important;
}

@media (min-width: 981px) {
  :where(.top) .top-inner,
  .site-header .header-inner,
  .site-header-with-language-tab .header-inner,
  :where(.top) .nav-wrap,
  .site-header .nav-wrap,
  .site-header-with-language-tab .nav-wrap,
  :where(.top) .site-nav,
  .site-header .site-nav,
  .site-header-with-language-tab .site-nav {
    overflow: visible !important;
  }

  :where(.top) .nav-group,
  .site-header .nav-group,
  .site-header-with-language-tab .nav-group {
    position: static !important;
    padding-bottom: 0.85rem !important;
    margin-bottom: -0.85rem !important;
  }

  :where(.top) .nav-group-toggle,
  .site-header .nav-group-toggle,
  .site-header-with-language-tab .nav-group-toggle {
    min-height: 2.48rem;
    padding: 0.56rem 0.84rem !important;
    border-radius: 18px;
    transition:
      background 0.24s ease,
      color 0.24s ease,
      box-shadow 0.24s ease,
      transform 0.24s ease;
  }

  :where(.top) .nav-group.open > .nav-group-toggle,
  .site-header .nav-group.open > .nav-group-toggle,
  .site-header-with-language-tab .nav-group.open > .nav-group-toggle {
    background: linear-gradient(135deg, rgba(255, 231, 184, 0.82), rgba(255, 244, 223, 0.96)) !important;
    color: #513317 !important;
    box-shadow: 0 10px 20px rgba(73, 47, 21, 0.1), inset 0 0 0 1px rgba(177, 129, 56, 0.14);
  }

  :where(.top) .submenu,
  .site-header .submenu,
  .site-header-with-language-tab .submenu {
    position: fixed !important;
    top: calc(var(--ss-effective-header-height, var(--ss-site-header-height, 92px)) + 0.6rem) !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    width: min(540px, calc(100vw - 1.5rem)) !important;
    min-width: min(320px, calc(100vw - 1.5rem)) !important;
    max-width: calc(100vw - 2rem) !important;
    max-height: calc(100dvh - var(--ss-effective-header-height, var(--ss-site-header-height, 92px)) - 1rem) !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-gutter: stable;
    padding: 0.72rem !important;
    border-radius: 24px !important;
    border: 1px solid rgba(139, 95, 39, 0.12) !important;
    background:
      linear-gradient(145deg, rgba(255, 248, 232, 0.96), rgba(255, 252, 247, 0.98) 38%, rgba(247, 238, 219, 0.96)) !important;
    box-shadow:
      0 20px 42px rgba(58, 36, 17, 0.14),
      inset 0 1px 0 rgba(255, 255, 255, 0.62) !important;
    backdrop-filter: blur(18px);
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0.78rem !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateX(calc(-50% + var(--ss-submenu-shift, 0px))) translateY(12px) !important;
    transition:
      opacity 0.22s ease,
      transform 0.22s ease,
      visibility 0.22s step-end !important;
    z-index: 1200 !important;
  }

  :where(.top) .nav-group:hover > .submenu,
  :where(.top) .nav-group:focus-within > .submenu,
  .site-header .nav-group:hover > .submenu,
  .site-header .nav-group:focus-within > .submenu,
  .site-header-with-language-tab .nav-group:hover > .submenu,
  .site-header-with-language-tab .nav-group:focus-within > .submenu {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateX(calc(-50% + var(--ss-submenu-shift, 0px))) translateY(12px) !important;
  }

  :where(.top) .nav-group.open > .submenu,
  .site-header .nav-group.open > .submenu,
  .site-header-with-language-tab .nav-group.open > .submenu {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateX(calc(-50% + var(--ss-submenu-shift, 0px))) translateY(0) !important;
    transition:
      opacity 0.22s ease,
      transform 0.22s ease,
      visibility 0s linear !important;
  }

  :where(.top) .submenu-overview,
  .site-header .submenu-overview,
  .site-header-with-language-tab .submenu-overview {
    display: grid;
    gap: 0.28rem;
    padding: 0.05rem 0.08rem 0.72rem !important;
    border-bottom: 1px solid rgba(156, 111, 53, 0.14);
  }

  :where(.top) .submenu-kicker,
  .site-header .submenu-kicker,
  .site-header-with-language-tab .submenu-kicker {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #8b5a1c;
  }

  :where(.top) .submenu-title,
  .site-header .submenu-title,
  .site-header-with-language-tab .submenu-title {
    font-family: "Source Serif 4", Georgia, serif;
    font-size: clamp(1.08rem, 0.22vw + 1.02rem, 1.24rem);
    line-height: 1.2;
    color: #402817;
  }

  :where(.top) .submenu-summary,
  .site-header .submenu-summary,
  .site-header-with-language-tab .submenu-summary {
    margin: 0;
    max-width: 34ch;
    font-size: 0.88rem;
    line-height: 1.46;
    color: rgba(66, 44, 26, 0.82);
  }

  :where(.top) .submenu-grid,
  .site-header .submenu-grid,
  .site-header-with-language-tab .submenu-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.72rem;
    align-items: start;
    justify-content: start;
  }

  :where(.top) .submenu-block,
  .site-header .submenu-block,
  .site-header-with-language-tab .submenu-block {
    justify-self: start;
    width: fit-content;
    min-width: min(17.5rem, 100%);
    max-width: min(100%, 28rem);
    display: grid !important;
    align-content: start !important;
    justify-items: stretch;
    gap: 0.3rem !important;
    padding: 0.72rem !important;
    border-radius: 16px;
    border: 1px solid rgba(181, 133, 69, 0.12);
    background:
      linear-gradient(180deg, rgba(255, 253, 249, 0.9), rgba(252, 245, 233, 0.8)) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62);
  }

  :where(.top) .submenu a,
  .site-header .submenu a,
  .site-header-with-language-tab .submenu a {
    align-items: flex-start !important;
    justify-content: flex-start;
    width: 100%;
    min-height: 0 !important;
    padding: 0.52rem 0.72rem !important;
    border-radius: 13px;
    border: 1px solid transparent;
    background: rgba(255, 251, 245, 0.76) !important;
    box-shadow: 0 6px 14px rgba(70, 47, 23, 0.05);
  }
}

@media (max-width: 980px) {
  .site-header .nav-group-toggle-label,
  .site-header-with-language-tab .nav-group-toggle-label,
  :where(.top) .nav-group-toggle-label {
    max-width: none;
    text-align: left;
    text-wrap: pretty;
  }

  .submenu-overview {
    display: grid;
    gap: 0.28rem;
    padding: 0 0 0.72rem 0 !important;
    margin: 0 0 0.48rem 0 !important;
    border-bottom: 1px solid rgba(255, 201, 103, 0.2);
  }

  .submenu-kicker {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 201, 103, 0.88);
  }

  .submenu-title {
    font-family: "Source Serif 4", Georgia, serif;
    font-size: 1rem;
    line-height: 1.25;
    color: #fff2d6;
  }

  .submenu-summary {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.5;
    color: rgba(255, 238, 210, 0.78);
  }

  .submenu-grid {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 0.55rem !important;
  }

  .submenu-block {
    justify-self: stretch !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .submenu a {
    width: 100% !important;
    padding: 0.7rem 0.82rem !important;
  }
}

body > main > .hero#home:first-child .hero-content {
  margin-top: clamp(2.8rem, 6vh, 4.5rem) !important;
}

body > main > .hero#home:first-child {
  height: calc(100dvh - var(--ss-effective-header-height, var(--header-height, 92px))) !important;
  min-height: calc(100dvh - var(--ss-effective-header-height, var(--header-height, 92px))) !important;
  max-height: calc(100dvh - var(--ss-effective-header-height, var(--header-height, 92px))) !important;
  align-items: flex-start !important;
  --hero-bg-position: center top !important;
  background-position: center, center, center top !important;
  background-size: cover, cover, contain !important;
  background-repeat: no-repeat !important;
  padding-top: 0 !important;
  padding-bottom: clamp(0.2rem, 0.55vw, 0.45rem) !important;
}

body > main > .hero#home:first-child > .container.hero-grid-home {
  min-height: 100% !important;
  align-items: start !important;
}

@media (max-width: 980px) {
  body > main > .hero#home:first-child {
    height: calc(100dvh - var(--ss-effective-header-height, var(--header-height, 92px))) !important;
    min-height: calc(100dvh - var(--ss-effective-header-height, var(--header-height, 92px))) !important;
    max-height: calc(100dvh - var(--ss-effective-header-height, var(--header-height, 92px))) !important;
    --hero-bg-position: center top !important;
    padding-top: 0 !important;
  }

  body > main > .hero#home:first-child .hero-content {
    margin-top: clamp(1.8rem, 5vw, 3rem) !important;
  }
}

@media (max-width: 720px) {
  body > main > .hero#home:first-child {
    height: calc(100dvh - var(--ss-effective-header-height, var(--header-height, 92px))) !important;
    min-height: calc(100dvh - var(--ss-effective-header-height, var(--header-height, 92px))) !important;
    max-height: calc(100dvh - var(--ss-effective-header-height, var(--header-height, 92px))) !important;
    --hero-bg-position: center top !important;
    padding-top: 0 !important;
    padding-bottom: clamp(0.12rem, 0.45vw, 0.24rem) !important;
  }

  body > main > .hero#home:first-child .hero-content {
    margin-top: clamp(1.05rem, 3.8vw, 1.9rem) !important;
  }
}

/* Root homepage hero: full-bleed background, centered content, no side gutters */
body > main > .hero#home:first-child {
  width: 100% !important;
  max-width: 100vw !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

body > main > .hero#home:first-child > .hero-card {
  width: 100vw !important;
  max-width: 100vw !important;
  height: calc(100dvh - var(--ss-effective-header-height, var(--header-height, 92px))) !important;
  min-height: calc(100dvh - var(--ss-effective-header-height, var(--header-height, 92px))) !important;
  max-height: calc(100dvh - var(--ss-effective-header-height, var(--header-height, 92px))) !important;
  box-sizing: border-box !important;
  margin-left: calc(-50vw + 50%) !important;
  margin-right: calc(-50vw + 50%) !important;
  padding: clamp(1.25rem, 2.3vh, 2rem) 0 !important;
  border-radius: 0 !important;
  display: flex !important;
  align-items: center !important;
  background-position: center top !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
}

body > main > .hero#home:first-child > .hero-card > .container.hero-grid-home {
  width: min(var(--max-width, 1380px), calc(100% - 1.5rem)) !important;
  height: 100% !important;
  min-height: 100% !important;
  max-height: 100% !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  display: grid !important;
  align-items: center !important;
  align-content: center !important;
  margin-left: clamp(0.7rem, 1.8vw, 1.5rem) !important;
  margin-right: auto !important;
}

body > main > .hero#home:first-child .hero-grid-home {
  grid-template-columns: minmax(0, 1fr) !important;
  align-items: center !important;
}

body > main > .hero#home:first-child .hero-content {
  margin-top: 0 !important;
  transform: none !important;
}

@media (max-width: 980px) {
  body > main > .hero#home:first-child > .hero-card {
    padding: clamp(1rem, 2vw, 1.5rem) 0 !important;
  }
}

@media (max-width: 640px) {
  body > main > .hero#home:first-child > .hero-card {
    padding: clamp(0.8rem, 1.8vw, 1.15rem) 0 !important;
  }

  body > main > .hero#home:first-child > .hero-card > .container.hero-grid-home {
    width: min(100%, calc(100% - 1rem)) !important;
    margin-left: 0.5rem !important;
  }
}

.footer {
  padding: clamp(1.05rem, 1.6vw, 1.35rem) 0 0.78rem !important;
}

.footer-grid {
  gap: clamp(0.8rem, 1.2vw, 1rem) !important;
}

.footer h3,
.footer h4 {
  margin-bottom: 0.5rem !important;
}

.footer-links,
.footer-contact {
  gap: 0.42rem !important;
}

.socials {
  margin-top: 0.72rem !important;
  gap: 0.55rem !important;
}

.socials a {
  width: 2.3rem !important;
  height: 2.3rem !important;
}

.footer-bottom {
  margin-top: 0.95rem !important;
  padding-top: 0.68rem !important;
}

.ss-footer {
  padding: 1.15rem 0 1.35rem !important;
}

.ss-footer-inner {
  gap: 0.72rem !important;
}

/* Desktop continuity fixes for pages that were leaving large empty columns */
@media (min-width: 1081px) {
  #police-seva-notice .home-intro-grid {
    grid-template-columns: 1fr !important;
    gap: 1.15rem !important;
  }

  #police-seva-notice .home-intro-stack {
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
    align-items: stretch;
  }

  #police-seva-notice .home-intro-grid > .reveal {
    display: block !important;
    height: auto !important;
  }

  #police-seva-notice .quick-links-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .packages-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 981px) {
  .desktop-flow-grid {
    grid-template-columns: 1fr !important;
    gap: 1.15rem !important;
  }

  body:has(.subnav a[href="./irumudi-preparation"]) main > section:nth-of-type(2) .grid,
  body:has(.subnav a[href="./irumudi-preparation"]) main > section:nth-of-type(5) .grid {
    grid-template-columns: 1fr !important;
    gap: 1.15rem !important;
  }

  body:has(.subnav a[href="./safe-kerala-pilgrim-road-safety-guide"]) main > section:nth-of-type(3) .grid,
  body:has(.subnav a[href="./safe-kerala-pilgrim-road-safety-guide"]) main > section:nth-of-type(4) .grid,
  body:has(.subnav a[href="./safe-kerala-pilgrim-road-safety-guide"]) main > section:nth-of-type(6) .grid {
    grid-template-columns: 1fr !important;
    gap: 1.15rem !important;
  }
}

/* 2026 mobile/header refresh, homepage grid areas, and theme system */
:root {
  color-scheme: light;
  --ss-hero-gap: clamp(1rem, 2vw, 2rem);
  --ss-hero-support-width: minmax(18rem, 30rem);
}

html[data-ss-viewport-mode] body {
  transition: background-color 0.28s ease, color 0.28s ease;
}

.ss-tiered-nav-root.ss-white-nav-root {
  view-transition-name: ss-primary-header;
}

body > main > .hero#home:first-child > .hero-card {
  view-transition-name: ss-home-hero;
}

body > main > .hero#home:first-child > .hero-card > .container.hero-grid-home {
  container: home-hero / inline-size;
  width: min(var(--max-width, 1380px), calc(100% - clamp(1rem, 3vw, 2.8rem))) !important;
  grid-template-columns: minmax(0, 1.08fr) var(--ss-hero-support-width) !important;
  grid-template-areas: "content support" !important;
  gap: var(--ss-hero-gap) !important;
  align-items: stretch !important;
}

body > main > .hero#home:first-child .hero-grid-home .hero-content {
  grid-area: content;
  display: grid !important;
  grid-template-areas:
    "eyebrow"
    "title"
    "lead"
    "actions";
  gap: clamp(0.85rem, 1.4vw, 1.1rem) !important;
  align-content: center !important;
  max-width: min(100%, 42rem) !important;
}

body > main > .hero#home:first-child .hero-content .eyebrow {
  grid-area: eyebrow;
  margin: 0 !important;
}

body > main > .hero#home:first-child .hero-content h1 {
  grid-area: title;
  margin: 0 !important;
  font-size: clamp(0.81rem, 1.8vw, 1.5rem) !important;
  line-height: 0.96 !important;
}

body > main > .hero#home:first-child .hero-content .hero-subtitle {
  grid-area: lead;
  margin: 0 !important;
  max-width: 34rem;
  font-size: clamp(1rem, 0.8vw + 0.9rem, 1.18rem) !important;
  line-height: 1.68 !important;
  color: rgba(255, 247, 239, 0.88) !important;
}

body > main > .hero#home:first-child .hero-content .hero-actions {
  grid-area: actions;
  width: min(100%, 33rem);
  display: grid !important;
  gap: clamp(0.8rem, 1vw, 1rem) !important;
}

body > main > .hero#home:first-child .hero-content .hero-actions > * {
  width: 100%;
  min-height: clamp(3rem, 4vw, 3.55rem);
  justify-content: center;
}

body > main > .hero#home:first-child .hero-support {
  grid-area: support;
  display: grid;
  gap: clamp(0.85rem, 1vw, 1rem);
  align-content: end;
  min-width: 0;
  padding: clamp(0.95rem, 1.4vw, 1.35rem);
  border-radius: clamp(22px, 2vw, 30px);
  background: linear-gradient(180deg, rgba(14, 24, 20, 0.48), rgba(27, 40, 31, 0.74));
  border: 1px solid rgba(255, 216, 130, 0.22);
  box-shadow: 0 24px 44px rgba(8, 11, 10, 0.28);
  backdrop-filter: blur(14px);
  view-transition-name: ss-home-hero-support;
}

body > main > .hero#home:first-child .hero-support-figure {
  margin: 0;
  overflow: hidden;
  border-radius: clamp(18px, 1.4vw, 24px);
  aspect-ratio: 4 / 4.8;
  min-height: 0;
  background: linear-gradient(180deg, rgba(255, 238, 198, 0.1), rgba(13, 20, 18, 0.1));
}

body > main > .hero#home:first-child .hero-support-figure picture,
body > main > .hero#home:first-child .hero-support-figure img {
  display: block;
  width: 100%;
  height: 100%;
}

body > main > .hero#home:first-child .hero-support-figure img {
  object-fit: cover;
}

body > main > .hero#home:first-child .hero-support .hero-badges {
  display: grid;
  gap: clamp(0.7rem, 0.8vw, 0.9rem);
}

body > main > .hero#home:first-child .hero-support .hero-badge {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.78rem;
  padding: clamp(0.82rem, 0.9vw, 0.95rem);
  border: 1px solid rgba(255, 216, 130, 0.18);
  background: rgba(255, 250, 244, 0.08);
}

body > main > .hero#home:first-child .hero-support .hero-badge strong {
  font-size: clamp(0.98rem, 0.3vw + 0.92rem, 1.08rem);
  line-height: 1.35;
}

body > main > .hero#home:first-child .hero-support .hero-badge span {
  font-size: clamp(0.9rem, 0.22vw + 0.86rem, 0.98rem);
  line-height: 1.62;
  color: rgba(255, 247, 239, 0.78);
}

#police-seva-notice .home-intro-stack,
#police-seva-notice .quick-links-grid,
#police-seva-notice .welcome-checklist,
#police-seva-notice .essential-links {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)) !important;
}

#police-seva-notice .quick-links-grid {
  gap: clamp(0.85rem, 1vw, 1.05rem) !important;
  align-items: stretch !important;
}

#police-seva-notice .quick-link-card,
#police-seva-notice .essential-link,
#police-seva-notice .welcome-check {
  container-type: inline-size;
}

#police-seva-notice .quick-link-card {
  position: relative;
  display: grid !important;
  gap: 0.72rem !important;
  align-content: start;
}

#police-seva-notice .quick-link-card .quick-link-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: auto;
  font-family: var(--font-ui-indic);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--green);
}

#police-seva-notice .quick-link-card .quick-link-cta::after {
  content: "↗";
  font-size: 1rem;
  line-height: 1;
}

@supports (grid-template-rows: subgrid) {
  #police-seva-notice .quick-links-grid {
    grid-template-rows: repeat(120, auto) !important;
  }

  #police-seva-notice .quick-link-card {
    grid-template-columns: auto 1fr;
    grid-template-rows: subgrid;
    grid-row: span 4;
    row-gap: 0.72rem;
  }

  #police-seva-notice .quick-link-card .quick-link-icon {
    grid-column: 1;
    grid-row: 1 / span 4;
    align-self: start;
  }

  #police-seva-notice .quick-link-card strong,
  #police-seva-notice .quick-link-card p,
  #police-seva-notice .quick-link-card .quick-link-cta {
    grid-column: 2;
  }

  #police-seva-notice .quick-link-card strong {
    grid-row: 1;
    align-self: end;
  }

  #police-seva-notice .quick-link-card p {
    grid-row: 2 / span 2;
  }

  #police-seva-notice .quick-link-card .quick-link-cta {
    grid-row: 4;
    align-self: end;
  }
}

@supports not (grid-template-rows: subgrid) {
  #police-seva-notice .quick-link-card {
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "icon title"
      "icon body"
      "icon cta";
  }

  #police-seva-notice .quick-link-card .quick-link-icon {
    grid-area: icon;
  }

  #police-seva-notice .quick-link-card strong {
    grid-area: title;
    align-self: end;
  }

  #police-seva-notice .quick-link-card p {
    grid-area: body;
  }

  #police-seva-notice .quick-link-card .quick-link-cta {
    grid-area: cta;
  }
}

@container (max-width: 22rem) {
  #police-seva-notice .quick-link-card,
  #police-seva-notice .essential-link,
  #police-seva-notice .welcome-check {
    padding: clamp(0.85rem, 4.2vw, 1rem) !important;
  }

  #police-seva-notice .quick-link-card p {
    font-size: 0.9rem !important;
  }
}

@container (min-width: 28rem) {
  #police-seva-notice .quick-link-card {
    padding: clamp(1.2rem, 1vw + 0.95rem, 1.5rem) !important;
  }

  #police-seva-notice .quick-link-card .quick-link-icon {
    width: 3.3rem;
    height: 3.3rem;
    font-size: 1.35rem;
  }

  #police-seva-notice .essential-link,
  #police-seva-notice .welcome-check {
    grid-template-columns: auto 1fr;
    column-gap: 0.9rem;
    align-items: start;
  }
}

@media (max-width: 980px) {
  .subnav {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .subnav::-webkit-scrollbar {
    display: none;
  }

  .subnav .container {
    flex-wrap: nowrap !important;
    min-width: max-content;
    padding-bottom: 0.2rem;
  }

  .subnav a {
    flex: 0 0 auto;
  }

  body > main > .hero#home:first-child > .hero-card > .container.hero-grid-home {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "content"
      "support" !important;
  }

  body > main > .hero#home:first-child .hero-support {
    padding: 0.95rem;
  }

  #police-seva-notice .home-intro-grid {
    grid-template-columns: 1fr !important;
  }
}

@container home-hero (max-width: 46rem) {
  body > main > .hero#home:first-child > .hero-card > .container.hero-grid-home {
    grid-template-columns: 1fr !important;
    grid-template-areas: "content" !important;
  }

  body > main > .hero#home:first-child .hero-content .hero-subtitle {
    display: none;
  }

  body > main > .hero#home:first-child .hero-support {
    display: none;
  }
}

@media (max-width: 640px) {
  body > main > .hero#home:first-child > .hero-card > .container.hero-grid-home {
    width: min(100%, calc(100% - 1rem)) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body > main > .hero#home:first-child .hero-content .hero-actions {
    width: 100%;
  }
}

html[data-ss-theme="dark"] {
  color-scheme: dark;
  --bg: #0d1512;
  --bg-soft: #101c17;
  --surface: rgba(19, 28, 24, 0.92);
  --surface-strong: #17241d;
  --text: #f3ebdd;
  --muted: #ccbfa4;
  --gold: #d8b26a;
  --gold-deep: #f1cf8c;
  --green: #2f5a47;
  --green-soft: #3c735c;
  --brown: #f0dcc0;
  --shadow: 0 22px 40px rgba(0, 0, 0, 0.34);
}

html[data-ss-theme="dark"] body {
  background:
    radial-gradient(circle at top left, rgba(216, 178, 106, 0.12), transparent 24%),
    radial-gradient(circle at top right, rgba(58, 103, 82, 0.12), transparent 20%),
    linear-gradient(180deg, #0b1310 0%, #111d18 48%, #14231c 100%) !important;
  color: var(--text) !important;
}

html[data-ss-theme="dark"] :where(.hero-card, .panel, .card, .notice, .service-panel, .timings-card, .live-widget, .section-card, .welcome-panel, .contact-card, .check-card, .route-card, .ambulance-card, .emc-card, .protocol-step, .notice-card, .health-tip, .framework-group, .framework-card, .pill, .table-wrap, .map-card, .stat-card, .rule-card, .timeline, .package-card, .blog-card, .place, .service, .tour-stop, .feature-card, .journey-card, .quick-link-card, .essential-link, .welcome-check, .welcome-note) {
  background: rgba(18, 29, 24, 0.92) !important;
  border-color: rgba(214, 168, 90, 0.16) !important;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28) !important;
}

html[data-ss-theme="dark"] :where(.eyebrow, .welcome-chip) {
  background: rgba(216, 178, 106, 0.14) !important;
  color: #f1cf8c !important;
  border-color: rgba(216, 178, 106, 0.2) !important;
}

html[data-ss-theme="dark"] :where(.quick-link-card p, .essential-link span, .welcome-check span, .welcome-note p, .lead, p, li, dd) {
  color: var(--muted) !important;
}

html[data-ss-theme="dark"] :where(.btn-outline) {
  background: rgba(17, 27, 23, 0.88) !important;
  color: var(--text) !important;
  border-color: rgba(216, 178, 106, 0.22) !important;
}

html[data-ss-theme="dark"] :where(.subnav a, .ss-mobile-link, .ss-white-mobile-link) {
  background: rgba(18, 29, 24, 0.88) !important;
  color: var(--text) !important;
  border-color: rgba(216, 178, 106, 0.18) !important;
}

::view-transition-group(ss-primary-header),
::view-transition-group(ss-home-hero),
::view-transition-group(ss-home-hero-support) {
  animation-duration: 320ms;
  animation-timing-function: ease;
}

/* Performance guards for longform, image-heavy inner pages */
html[data-ss-slug="sannidhanam-sacred-path"] body.ss-nav-hidden .top,
html[data-ss-slug="sannidhanam-sacred-path"] body.ss-nav-hidden .subnav,
html[data-ss-slug="relevant-teachings"] body.ss-nav-hidden .top,
html[data-ss-slug="relevant-teachings"] body.ss-nav-hidden .subnav {
  transform: none !important;
}

html[data-ss-slug="sannidhanam-sacred-path"] :where(.top, .subnav, .btn, .btn-outline),
html[data-ss-slug="relevant-teachings"] :where(.top, .subnav, .btn, .btn-outline, .darshan-copy) {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  will-change: transform;
}

html[data-ss-slug="sannidhanam-sacred-path"] :where(.top, .subnav),
html[data-ss-slug="relevant-teachings"] :where(.top, .subnav, .darshan-copy) {
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

html[data-ss-slug="sannidhanam-sacred-path"] .hero,
html[data-ss-slug="relevant-teachings"] .hero {
  min-height: clamp(22rem, 56svh, 36rem);
}

html[data-ss-slug="sannidhanam-sacred-path"] .hero-card,
html[data-ss-slug="relevant-teachings"] .hero-card {
  min-height: clamp(16rem, 32svh, 24rem);
}

:where(.service-panel, .service-highlight) {
  min-height: 100%;
}

html[data-ss-slug="sannidhanam-sacred-path"] :where(.grid, .cards, .chant-grid),
html[data-ss-slug="relevant-teachings"] .grid {
  align-items: stretch;
}

html[data-ss-slug="sannidhanam-sacred-path"] :where(.panel, .place, .card, .notice, .chant-card),
html[data-ss-slug="relevant-teachings"] :where(.teaching, .darshan-card) {
  min-height: 100%;
  overflow: hidden;
  contain: paint;
  isolation: isolate;
}

html[data-ss-slug="sannidhanam-sacred-path"] .panel img {
  aspect-ratio: 3 / 4;
  min-height: 260px;
}

html[data-ss-slug="sannidhanam-sacred-path"] .place img,
html[data-ss-slug="sannidhanam-sacred-path"] .service-highlight img {
  aspect-ratio: 16 / 10;
  min-height: 220px;
}

html[data-ss-slug="sannidhanam-sacred-path"] .card img,
html[data-ss-slug="relevant-teachings"] .teaching img {
  aspect-ratio: 16 / 9;
}

html[data-ss-slug="sannidhanam-sacred-path"] .card img {
  min-height: 180px;
}

html[data-ss-slug="relevant-teachings"] .teaching img {
  min-height: 260px;
}

html[data-ss-slug="relevant-teachings"] .darshan-card img {
  aspect-ratio: 2 / 3;
  min-height: 520px;
}

html[data-ss-slug="sannidhanam-sacred-path"] :where(#sacred-path-landmarks, #sacred-path-places, #sacred-path-chants),
html[data-ss-slug="relevant-teachings"] :where(#teachings-grid, #holy-teachings-summary) {
  contain: paint;
}

@media (max-width: 980px) {
  html[data-ss-slug="sannidhanam-sacred-path"] :where(.top, .subnav),
  html[data-ss-slug="relevant-teachings"] :where(.top, .subnav) {
    background: rgba(248, 241, 230, 0.98) !important;
  }
}

/* Keep the homepage hero support card stable on locale pages even if runtime
   helpers inject nodes before the hero inside <main>. */
body > main > .hero#home > .hero-card {
  view-transition-name: ss-home-hero;
}

body > main > .hero#home > .hero-card > .container.hero-grid-home {
  container: home-hero / inline-size;
  width: min(var(--max-width, 1380px), calc(100% - clamp(1rem, 3vw, 2.8rem))) !important;
  grid-template-columns: minmax(0, 1.08fr) var(--ss-hero-support-width) !important;
  grid-template-areas: "content support" !important;
  gap: var(--ss-hero-gap) !important;
  align-items: stretch !important;
}

body > main > .hero#home .hero-grid-home .hero-content {
  grid-area: content;
  display: grid !important;
  grid-template-areas:
    "eyebrow"
    "title"
    "lead"
    "actions";
  gap: clamp(0.85rem, 1.4vw, 1.1rem) !important;
  align-content: center !important;
  max-width: min(100%, 42rem) !important;
}

body > main > .hero#home .hero-content .eyebrow {
  grid-area: eyebrow;
  margin: 0 !important;
}

body > main > .hero#home .hero-content h1 {
  grid-area: title;
  margin: 0 !important;
  font-size: clamp(0.81rem, 1.8vw, 1.5rem) !important;
  line-height: 0.96 !important;
}

body > main > .hero#home .hero-content .hero-subtitle {
  grid-area: lead;
  margin: 0 !important;
  max-width: 34rem;
  font-size: clamp(1rem, 0.8vw + 0.9rem, 1.18rem) !important;
  line-height: 1.68 !important;
  color: rgba(255, 247, 239, 0.88) !important;
}

body > main > .hero#home .hero-content .hero-actions {
  grid-area: actions;
  width: min(100%, 33rem);
  display: grid !important;
  gap: clamp(0.8rem, 1vw, 1rem) !important;
}

body > main > .hero#home .hero-content .hero-actions > * {
  width: 100%;
  min-height: clamp(3rem, 4vw, 3.55rem);
  justify-content: center;
}

/* Homepage hero CTA refinement: centered three-button layout with controlled width. */
body > main > .hero#home .hero-content .hero-action-buttons {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: stretch !important;
  gap: 15px !important;
  width: min(100%, 56.25rem) !important;
  max-width: 56.25rem !important;
  margin: 1.25rem auto 0 !important;
}

body > main > .hero#home .hero-content .hero-action-buttons > * {
  flex: 0 1 17.5rem !important;
  width: auto !important;
  max-width: 17.5rem !important;
  min-height: clamp(3rem, 4vw, 3.55rem);
  padding: 0.875rem 1.25rem !important;
  text-align: center !important;
  justify-content: center !important;
  border-radius: 0.375rem !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.03125rem !important;
}

body > main > .know-before-section {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

body > main > .know-before-section .home-intro-grid {
  gap: clamp(0.85rem, 1.5vw, 1rem) !important;
}

body > main > .guidance-section {
  padding-top: 0.625rem !important;
  margin-top: 0 !important;
}

/* Simplify homepage quick-link cards so Chromium subgrid support cannot inflate the section height. */
#police-seva-notice .quick-links-grid {
  grid-template-rows: none !important;
  grid-auto-rows: auto !important;
  align-items: start !important;
}

#police-seva-notice .quick-link-card {
  grid-template-columns: auto 1fr !important;
  grid-template-areas:
    "icon title"
    "icon body" !important;
  grid-template-rows: auto auto !important;
  grid-row: auto !important;
  column-gap: 0.85rem !important;
  row-gap: 0.72rem !important;
  height: auto !important;
  min-height: 0 !important;
}

#police-seva-notice .quick-link-card .quick-link-icon {
  grid-area: icon !important;
  grid-row: auto !important;
  align-self: start !important;
}

#police-seva-notice .quick-link-card strong {
  grid-area: title !important;
  grid-row: auto !important;
  align-self: end !important;
}

#police-seva-notice .quick-link-card p {
  grid-area: body !important;
  grid-row: auto !important;
  margin: 0 !important;
}

/* Shared professional hero buttons for pages that need a clean three-CTA layout. */
.hero-action-buttons {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  align-items: stretch !important;
  gap: clamp(0.75rem, 1.4vw, 1rem) !important;
  width: min(100%, 56rem) !important;
  margin-top: 1.05rem !important;
}

.hero-action-buttons > * {
  width: 100% !important;
  max-width: none !important;
  min-height: 3.15rem !important;
  padding: 0.9rem 1.2rem !important;
  justify-content: center !important;
  text-align: center !important;
  border-radius: 0.75rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.03em !important;
}

.guide-hero-copy {
  display: grid !important;
  gap: clamp(0.8rem, 1.3vw, 1rem) !important;
  width: min(100%, 68ch) !important;
}

.guide-hero-copy > * {
  margin: 0 !important;
}

.guide-hero-copy .eyebrow {
  margin-bottom: 0.1rem !important;
}

.guide-hero-copy h1 {
  margin-top: 0 !important;
  max-width: 18ch;
}

.guide-hero-copy :where(p, .lead, .hero-copy, .spiritual-intro) {
  margin: 0 !important;
  max-width: 68ch;
  color: inherit !important;
  line-height: 1.7 !important;
}

.guide-hero-copy .hero-action-buttons {
  justify-content: flex-start !important;
  margin-top: 0.25rem !important;
}

/* Keep card and panel groups visually proportional across the site. */
:where(.container.grid, .container.cards, .cards-grid, .journey-grid, .packages-grid, .hub-card-grid, .services-layout, .timings-wrapper, .panel-grid, .split-grid, .status-grid, .help-grid, .links-grid, .results, .mini-grid, .facts, .section-grid) {
  align-items: stretch !important;
}

:where(.container.grid, .container.cards, .cards-grid, .journey-grid, .packages-grid, .hub-card-grid, .services-layout, .timings-wrapper, .panel-grid, .split-grid, .status-grid, .help-grid, .links-grid, .results, .mini-grid, .facts, .section-grid) > :where(.panel, .card, .notice, .table-wrap, .feature-card, .journey-card, .package-card, .blog-card, .service-panel, .hub-card, .timings-card, .testimonial-card, .status-card, .side-card, .map-card, .link-card, .fact, .place, .service, .teaching, .tour-stop) {
  align-self: stretch !important;
  min-height: 100% !important;
}

/* First-time pilgrim page: keep the advisory and discipline cards evenly proportioned. */
.first-time-support-cards .cards,
.first-time-discipline-panels .grid {
  align-items: stretch !important;
}

.first-time-support-cards .cards {
  grid-auto-rows: 1fr !important;
}

.first-time-support-cards .card,
.first-time-discipline-panels .panel {
  height: 100% !important;
}

.first-time-discipline-panels .stack {
  grid-auto-rows: 1fr !important;
}

.first-time-discipline-panels .item {
  height: 100% !important;
}

#nearby-support-map.section {
  padding-bottom: clamp(1rem, 2vw, 1.35rem) !important;
}

#nearby-support-map + #framework-search.section {
  padding-top: clamp(0.7rem, 1.6vw, 1.05rem) !important;
}

#nearby-support-map .support-map-canvas[hidden] {
  display: none !important;
  min-height: 0 !important;
  margin-top: 0 !important;
}

body > main > .hero#home .hero-support {
  grid-area: support;
  display: grid;
  gap: clamp(0.85rem, 1vw, 1rem);
  align-content: end;
  min-width: 0;
  padding: clamp(0.95rem, 1.4vw, 1.35rem);
  border-radius: clamp(22px, 2vw, 30px);
  background: linear-gradient(180deg, rgba(14, 24, 20, 0.48), rgba(27, 40, 31, 0.74));
  border: 1px solid rgba(255, 216, 130, 0.22);
  box-shadow: 0 24px 44px rgba(8, 11, 10, 0.28);
  backdrop-filter: blur(14px);
  view-transition-name: ss-home-hero-support;
}

body > main > .hero#home .hero-support-figure {
  margin: 0;
  overflow: hidden;
  border-radius: clamp(18px, 1.4vw, 24px);
  aspect-ratio: 4 / 4.8;
  min-height: 0;
  background: linear-gradient(180deg, rgba(255, 238, 198, 0.1), rgba(13, 20, 18, 0.1));
}

body > main > .hero#home .hero-support-figure picture,
body > main > .hero#home .hero-support-figure img {
  display: block;
  width: 100%;
  height: 100%;
}

body > main > .hero#home .hero-support-figure img {
  object-fit: cover;
}

body > main > .hero#home .hero-support .hero-badges {
  display: grid;
  gap: clamp(0.7rem, 0.8vw, 0.9rem);
}

body > main > .hero#home .hero-support .hero-badge {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.78rem;
  padding: clamp(0.82rem, 0.9vw, 0.95rem);
  border: 1px solid rgba(255, 216, 130, 0.18);
  background: rgba(255, 250, 244, 0.08);
}

body > main > .hero#home .hero-support .hero-badge strong {
  font-size: clamp(0.98rem, 0.3vw + 0.92rem, 1.08rem);
  line-height: 1.35;
}

body > main > .hero#home .hero-support .hero-badge span {
  font-size: clamp(0.9rem, 0.22vw + 0.86rem, 0.98rem);
  line-height: 1.62;
  color: rgba(255, 247, 239, 0.78);
}

@media (max-width: 980px) {
  body > main > .hero#home > .hero-card > .container.hero-grid-home {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "content"
      "support" !important;
  }

  body > main > .hero#home .hero-support {
    padding: 0.95rem;
  }
}

@container home-hero (max-width: 46rem) {
  body > main > .hero#home > .hero-card > .container.hero-grid-home {
    grid-template-columns: 1fr !important;
    grid-template-areas: "content" !important;
  }

  body > main > .hero#home .hero-content .hero-subtitle {
    display: none;
  }

  body > main > .hero#home .hero-support {
    display: none;
  }
}

@media (max-width: 640px) {
  body > main > .hero#home > .hero-card > .container.hero-grid-home {
    width: min(100%, calc(100% - 1rem)) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body > main > .hero#home .hero-content .hero-actions {
    width: 100%;
  }

  body > main > .hero#home .hero-content .hero-action-buttons {
    gap: 12px !important;
  }

  body > main > .hero#home .hero-content .hero-action-buttons > * {
    flex: 1 1 100% !important;
    width: min(100%, 17.5rem) !important;
  }

  .hero-action-buttons {
    grid-template-columns: 1fr !important;
    justify-items: center !important;
  }

  .hero-action-buttons > * {
    width: min(100%, 17.5rem) !important;
    max-width: none !important;
  }

  .guide-hero-copy {
    width: 100% !important;
  }

  .guide-hero-copy :where(h1, p, .lead, .hero-copy, .spiritual-intro) {
    max-width: 100% !important;
  }

  .guide-hero-copy .hero-action-buttons {
    justify-content: center !important;
  }
}

@media (max-width: 980px) {
  .first-time-support-cards .cards,
  .first-time-discipline-panels .stack {
    grid-auto-rows: auto !important;
  }
}

html {
  font-size: 100%;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  overflow-x: hidden;
}

:where(.header-inner, .site-nav, .hero-actions, .welcome-actions, .language-switcher-links, .footer-bottom) {
  flex-wrap: wrap;
}

:where(.btn, .btn-outline, .quick-link-card, .essential-link, .nav-group-toggle, .site-nav a, .footer-links a, .footer-contact a, .language-switcher-links a, .menu-toggle) {
  min-height: 3rem;
}

:where(.btn, .btn-outline) {
  white-space: normal;
  text-align: center;
}

.hero-subtitle {
  width: min(100%, 42rem);
  margin: 0.85rem 0 0;
  font-size: clamp(1rem, 0.7vw + 0.92rem, 1.25rem);
  line-height: 1.7;
  color: rgba(255, 245, 230, 0.92);
  text-shadow: 0 0.125rem 1rem rgba(24, 16, 10, 0.28);
}

:where(.quick-links-grid, .blog-grid, .testimonials-grid, .footer-grid) {
  grid-template-columns: repeat(auto-fit, minmax(min(18.75rem, 100%), 1fr)) !important;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(11rem, 100%), 1fr));
  gap: 0.75rem 1rem;
}

main > .section:not(:first-of-type) {
  content-visibility: auto;
  contain-intrinsic-size: auto 48rem;
}

:where(img, picture, svg, video, canvas, iframe) {
  display: block;
  max-width: 100%;
  height: auto;
}

:where(.quick-link-card img, .blog-card img, .testimonial-card img, .essential-link img) {
  object-fit: cover;
}

@media (max-width: 64rem) {
  .site-nav {
    flex-wrap: wrap !important;
    gap: 0.75rem !important;
  }

  .nav-group {
    min-width: 0;
  }
}

@media (max-width: 48rem) {
  .container {
    width: min(var(--max-width), calc(100% - 3rem)) !important;
  }

  .site-header .header-inner {
    align-items: flex-start;
  }

  .nav-wrap {
    width: min(100%, calc(100vw - 1.5rem));
  }

  .hero-grid,
  .home-intro-grid,
  .quick-links-grid,
  .footer-grid {
    grid-template-columns: 1fr !important;
  }

  .hero-actions,
  .welcome-actions,
  .footer-bottom {
    flex-direction: column;
    align-items: stretch !important;
  }

  .btn,
  .btn-outline,
  .hero-action-buttons > *,
  .welcome-actions > * {
    width: 100% !important;
  }

  .quick-link-card,
  .essential-link,
  .welcome-check {
    padding: 1rem;
  }
}

main > .section:not(:first-of-type) {
  content-visibility: visible !important;
  contain-intrinsic-size: auto !important;
}

:where(.info-card-grid, .route-grid) {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18.75rem), 1fr)) !important;
  gap: clamp(0.9rem, 1.15vw, 1.15rem) !important;
  align-items: stretch !important;
}

:where(.info-card, .route-card, .road-card) {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  height: 100% !important;
  min-height: 0 !important;
}

:where(.info-card, .route-card, .road-card) > p {
  flex: 1 1 auto !important;
}

:where(.info-card, .route-card, .road-card) :where(.route-list, .route-points, .info-card-footer, .card-footer) {
  margin-top: auto !important;
}

body > main > .know-before-section {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

body > main > .guidance-section {
  padding-top: clamp(0.5rem, 1vw, 0.75rem) !important;
  margin-top: 0 !important;
}

#police-seva-notice .home-intro-grid {
  grid-template-columns: 1fr !important;
  gap: clamp(0.9rem, 1.35vw, 1.1rem) !important;
  align-items: start !important;
}

#police-seva-notice .home-intro-stack,
#police-seva-notice .quick-links-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18.75rem), 1fr)) !important;
  align-items: stretch !important;
}

#police-seva-notice .home-intro-grid > .reveal {
  display: block !important;
  height: auto !important;
  min-height: 0 !important;
}

#police-seva-notice .quick-links-grid {
  grid-template-rows: none !important;
  grid-auto-rows: 1fr !important;
}

#police-seva-notice .quick-link-card {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 0.75rem !important;
  height: 100% !important;
  min-height: 0 !important;
}

#police-seva-notice .quick-link-card strong,
#police-seva-notice .quick-link-card p,
#police-seva-notice .quick-link-card .quick-link-cta {
  grid-area: auto !important;
}

#police-seva-notice .quick-link-card p {
  flex: 1 1 auto !important;
  margin: 0 !important;
}

@media (max-width: 48rem) {
  :where(.info-card-grid, .route-grid) {
    grid-template-columns: 1fr !important;
  }
}
