/* ============================================
   5th Sohra International Half Marathon
   Design system — scoped under .sihm
   Subject: Sohra (Cherrapunji) — the wettest inhabited
   place on earth, East Khasi Hills. Race runs the
   Shillong–Sohra highland road. Palette pulls from pine
   forest, limestone, monsoon mist and Khasi textile red.
   ============================================ */
.sihm {
  --mist: #F4F8F2;
  --mist-deep: #E8F0E4;
  --paper: #FFFFFF;
  --pine: #1A6F45;
  --pine-700: #14583A;
  --pine-100: #D4EDDE;
  --khasi-red: #C53024;
  --khasi-red-700: #A42319;
  --teal: #2A9DA6;
  --teal-100: #D4F0F2;
  --gold: #D69B2E;
  --stone: #E2DDD0;
  --ink: #1E2B24;
  --ink-soft: #4D6456;

  --radius-s: 6px;
  --radius-m: 14px;
  --shadow-card: 0 2px 4px rgba(26, 111, 69, .06), 0 12px 32px -14px rgba(26, 111, 69, .15);

  --font-display: 'Fraunces', serif;
  --font-body: 'Work Sans', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  font-family: var(--font-body);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

/* ---- reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  .sihm * {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* ---- base reset inside scope ---- */
.sihm img {
  max-width: 100%;
  display: block;
}

.sihm a {
  color: var(--khasi-red);
  text-decoration: none;
}

.sihm a:hover {
  text-decoration: underline;
}

.sihm h1,
.sihm h2,
.sihm h3 {
  font-family: var(--font-display);
  color: #000000;
  margin: 0;
  font-weight: 600;
}

.sihm h4,
.sihm h5,
.sihm h6 {
  font-family: var(--font-body);
  color: #000000;
  margin: 0;
  font-weight: 600;
}

.sihm p {
  margin: 0 0 .5rem;
}

.sihm .eyebrow {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--khasi-red);
  font-weight: 500;
}

.sihm :focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 2px;
}

.sihm .wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (max-width:560px) {
  .sihm .wrap {
    padding: 0 1.1rem;
  }
}

.sihm section {
  padding: 4.5rem 0;
}

@media (max-width:720px) {
  .sihm section {
    padding: 3rem 0;
  }
}

/* ============================================
   SUB-NAV (marathon-specific, sits below site header)
   ============================================ */
.sihm .sub-nav {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(252, 252, 250, .92);
  backdrop-filter: saturate(140%) blur(6px);
  -webkit-backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid var(--stone);
}

.sihm .sub-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .85rem 1.5rem;
  max-width: 1140px;
  margin: 0 auto;
}

.sihm .brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--pine);
  text-decoration: none;
}

.sihm .brand small {
  display: block;
  font-family: var(--font-mono);
  font-size: .6rem;
  letter-spacing: .1em;
  color: var(--ink-soft);
  font-weight: 500;
}

.sihm .nav-links {
  display: flex;
  gap: 1.75rem;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.sihm .nav-links a {
  color: var(--ink);
  font-size: .92rem;
  font-weight: 500;
}

.sihm .nav-links a:hover {
  color: var(--khasi-red);
  text-decoration: none;
}

.sihm .nav-cta {
  background: var(--khasi-red);
  color: var(--paper) !important;
  padding: .55rem 1.15rem;
  border-radius: 30px;
  font-size: .88rem;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none !important;
}

.sihm .nav-cta:hover {
  background: var(--khasi-red-700);
}

.sihm .nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--stone);
  border-radius: 8px;
  padding: .4rem .55rem;
  cursor: pointer;
}

@media (max-width:780px) {
  .sihm .nav-links {
    display: none;
  }

  .sihm .nav-toggle {
    display: inline-flex;
  }

  .sihm .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--stone);
    gap: 1rem;
    z-index: 91;
  }
}

/* ============================================
   HERO
   ============================================ */
.sihm .hero {
  background: linear-gradient(180deg, var(--mist) 0%, var(--mist-deep) 100%);
  padding: 4.5rem 0 0;
  overflow: hidden;
}

.sihm .hero__inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
}

.sihm .hero__title {
  font-size: clamp(1.3rem, 3vw, 4.6rem);
  line-height: 1.04;
  margin: 1rem 0 .6rem;
  letter-spacing: -.01em;
  overflow-wrap: break-word;
  word-break: break-word;
  color: #000000 !important;
}

.sihm .hero__edition {
  font-family: var(--font-mono);
  color: var(--teal);
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .85rem;
  margin-bottom: 1.6rem;
}

.sihm .hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  justify-content: center;
  margin-bottom: 2.1rem;
}

.sihm .meta-chip {
  border: 1px solid var(--stone);
  background: var(--paper);
  border-radius: 30px;
  padding: .45rem 1rem;
  font-size: .85rem;
  color: var(--ink-soft);
  font-family: var(--font-mono);
}

.sihm .hero__cta {
  display: flex;
  gap: .85rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

/* Buttons */
.sihm .btn-s {
  display: inline-block;
  padding: .85rem 1.7rem;
  border-radius: 30px;
  font-weight: 600;
  font-size: .96rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none !important;
  font-family: var(--font-body);
}

.sihm .btn-s--primary {
  background: var(--khasi-red);
  color: var(--paper) !important;
}

.sihm .btn-s--primary:hover {
  background: var(--khasi-red-700);
}

.sihm .btn-s--ghost {
  background: transparent;
  border-color: var(--pine);
  color: var(--pine) !important;
}

.sihm .btn-s--ghost:hover {
  background: var(--pine);
  color: var(--mist) !important;
}

/* Route SVG */
.sihm .hero__route {
  margin-top: 2.5rem;
}

.sihm .route-svg path.route-line {
  fill: none;
  stroke: var(--pine);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 1500;
  stroke-dashoffset: 1500;
  transition: stroke-dashoffset 1.6s ease-out;
}

.sihm .route-svg.drawn path.route-line {
  stroke-dashoffset: 0;
}

.sihm .route-svg text {
  font-family: var(--font-mono);
  font-size: 13px;
  fill: var(--ink-soft);
  letter-spacing: .05em;
}

.sihm .route-svg circle {
  fill: var(--khasi-red);
}

.sihm .route-divider {
  display: block;
  width: 100%;
  height: 34px;
  opacity: .5;
}

.sihm .route-divider path {
  fill: none;
  stroke: var(--pine);
  stroke-width: 1.4;
}

/* ============================================
   ORGANISERS
   ============================================ */
.sihm .organisers {
  padding: 1.6rem 0;
  background: var(--paper);
  border-bottom: 1px solid var(--stone);
  border-top: 1px solid var(--stone);
}

.sihm .organisers__label {
  text-align: center;
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 .6rem;
}

.sihm .organisers__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .6rem 1.4rem;
  text-align: center;
  font-weight: 600;
  color: #000000;
  font-size: .94rem;
}

.sihm .organisers__list .dot {
  color: #000000;
}

@media (max-width:600px) {
  .sihm .organisers__list .dot {
    display: none;
  }

  .sihm .organisers__list span:not(.dot) {
    display: block;
    width: 100%;
  }
}

/* ============================================
   CATEGORIES
   ============================================ */
.sihm .section-head {
  max-width: 560px;
  margin: 0 auto 2.4rem;
  text-align: center;
}

.sihm .section-head h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  margin-bottom: .5rem;
}

.sihm .section-head p {
  color: var(--ink-soft);
  margin: 0;
}

.sihm .cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width:880px) {
  .sihm .cat-grid {
    grid-template-columns: 1fr;
  }
}

.sihm .cat-card {
  background: var(--paper);
  border: 1px solid var(--stone);
  border-radius: var(--radius-m);
  padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow-card);
  border-left: 4px solid var(--pine);
}

.sihm .cat-card[data-tone="elite"] {
  border-left-color: var(--khasi-red);
}

.sihm .cat-card[data-tone="open"] {
  border-left-color: var(--teal);
}

.sihm .cat-card[data-tone="fun"] {
  border-left-color: var(--gold);
}

.sihm .cat-card .dist {
  font-family: var(--font-display);
  font-size: 2.1rem;
  color: var(--pine);
}

.sihm .cat-card .dist span {
  font-family: var(--font-mono);
  font-size: .85rem;
  color: var(--ink-soft);
  margin-left: .3rem;
}

.sihm .cat-card h3 {
  font-size: 1.1rem;
  margin: .3rem 0 .5rem;
}

.sihm .cat-card p {
  color: var(--ink-soft);
  font-size: .92rem;
  margin: 0 0 1rem;
}

.sihm .cat-card .fee {
  font-family: var(--font-mono);
  font-size: .85rem;
  color: var(--ink);
  border-top: 1px dashed var(--stone);
  padding-top: .85rem;
}

.sihm .cat-card .fee b {
  color: var(--khasi-red);
}

/* ============================================
   HOW IT WORKS (collapsible steps)
   ============================================ */
.sihm .steps {
  max-width: 760px;
  margin: 0 auto;
}

.sihm .step-item {
  border: 1px solid var(--stone);
  border-radius: var(--radius-m);
  margin-bottom: 1rem;
  background: var(--paper);
  overflow: hidden;
}

.sihm .step-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 600;
  color: #000000;
  font-size: 1.02rem;
}

.sihm .step-item summary::-webkit-details-marker {
  display: none;
}

.sihm .step-item summary .num {
  font-family: var(--font-mono);
  color: var(--paper);
  background: var(--pine);
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  flex: none;
}

.sihm .step-item summary .chev {
  margin-left: auto;
  transition: transform .2s ease;
  color: var(--ink-soft);
}

.sihm .step-item[open] summary .chev {
  transform: rotate(180deg);
}

.sihm .step-item .body {
  padding: 0 1.4rem 1.3rem 4.1rem;
  color: var(--ink-soft);
  font-size: .95rem;
}

.sihm .step-item .body ul {
  margin: .4rem 0;
  padding-left: 1.1rem;
}

.sihm .step-item .body li {
  margin-bottom: .4rem;
}

.sihm .step-item .body b {
  color: var(--ink);
}

/* ============================================
   REGISTRATION FORM
   ============================================ */
.sihm .reg-panel {
  background: var(--paper);
  border: 1px solid var(--stone);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-card);
  padding: 2.2rem;
}

@media (max-width:600px) {
  .sihm .reg-panel {
    padding: 1.4rem;
  }
}

.sihm .field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem 1.2rem;
}

@media (max-width:680px) {
  .sihm .field-grid {
    grid-template-columns: 1fr;
  }
}

.sihm .field {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.sihm .field.span-2 {
  grid-column: 1 / -1;
}

.sihm .field label {
  font-size: .84rem;
  font-weight: 600;
  color: var(--pine);
}

.sihm .field label .req {
  color: var(--khasi-red);
}

.sihm .field input,
.sihm .field select {
  font-family: var(--font-body);
  font-size: .96rem;
  padding: .7rem .85rem;
  border: 1px solid var(--stone);
  border-radius: var(--radius-s);
  background: var(--mist);
  color: var(--ink);
  width: 100%;
  box-sizing: border-box;
}

.sihm .field input:focus,
.sihm .field select:focus {
  background: var(--paper);
  outline: 3px solid var(--gold);
  outline-offset: 1px;
  border-color: var(--gold);
}

.sihm .payment-note {
  background: var(--pine-100);
  border: 1px solid var(--pine-100);
  border-radius: var(--radius-s);
  padding: .9rem 1.1rem;
  font-size: .88rem;
  color: var(--pine-700);
  margin: 1.4rem 0;
}

.sihm .fee-info {
  font-family: var(--font-mono);
  font-size: .82rem;
  color: var(--ink-soft);
  border: 1px dashed var(--stone);
  border-radius: var(--radius-s);
  background: var(--mist);
  padding: .8rem 1rem;
  margin: 1rem 0;
}

.sihm .fee-info b {
  color: var(--khasi-red);
}

.sihm .terms-row {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin: 1.2rem 0 1.6rem;
  font-size: .9rem;
}

.sihm .terms-row input[type="checkbox"] {
  width: auto;
}

.sihm .terms-row a {
  font-weight: 600;
}

.sihm .submit-row {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  margin-top: 20px;
}

.sihm .captcha-wrap {
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.sihm .button-wrap {
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

@media (max-width:560px) {
  .sihm .submit-row {
    align-items: stretch;
  }

  .sihm .captcha-wrap {
    justify-content: center;
  }

  .sihm .button-wrap {
    justify-content: stretch;
  }

  .sihm .submit-row .btn-s {
    width: 100%;
    text-align: center;
  }
}

.sihm #server-response {
  width: 100%;
  text-align: right;
  min-height: 24px;
  margin-top: .8rem;
}

/* ============================================
   SUPPORT
   ============================================ */
.sihm .support-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1.5rem;
}

@media (max-width:820px) {
  .sihm .support-grid {
    grid-template-columns: 1fr;
  }
}

.sihm .support-card {
  background: var(--paper);
  border: 1px solid var(--stone);
  border-radius: var(--radius-m);
  padding: 1.8rem;
  box-shadow: var(--shadow-card);
  min-width: 0;
  box-sizing: border-box;
  overflow: hidden;
}

.sihm .support-card h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.sihm .support-card h4 {
  font-family: var(--font-body);
  font-size: .86rem;
  color: var(--ink-soft);
  margin: 1rem 0 .35rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-weight: 700;
}

.sihm .support-card .phones a {
  display: block;
  font-family: var(--font-mono);
  font-size: .95rem;
  color: var(--pine);
  margin-bottom: .3rem;
  text-decoration: none;
}

.sihm .support-card .phones a:hover {
  color: var(--khasi-red);
}

.sihm .support-card .hours {
  font-size: .84rem;
  color: var(--ink-soft);
  margin-top: .8rem;
}

.sihm .whatsapp-container {
  display: flex;
  justify-content: center;
  width: 100%;
}

.sihm .whatsapp-cta {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  background: #1AA34A;
  color: #fff !important;
  padding: .7rem 1.2rem;
  border-radius: 30px;
  font-weight: 600;
  font-size: .92rem;
  margin-bottom: 1.4rem;
  text-decoration: none !important;
  white-space: normal;
  max-width: 100%;
  box-sizing: border-box;
}

.sihm .whatsapp-cta:hover {
  background: #158B3E;
}

.sihm .whatsapp-cta svg {
  flex: none;
}

.sihm .status-form {
  display: flex;
  gap: .7rem;
  margin-top: .6rem;
  max-width: 100%;
}

.sihm .status-form input {
  flex: 1;
  min-width: 0;
  font-family: var(--font-body);
  padding: .7rem .85rem;
  border: 1px solid var(--stone);
  border-radius: var(--radius-s);
  background: var(--mist);
  font-size: .96rem;
  color: var(--ink);
  box-sizing: border-box;
}

.sihm .status-form input:focus {
  outline: 3px solid var(--gold);
  outline-offset: 1px;
  background: var(--paper);
}

.sihm .status-form button {
  white-space: nowrap;
  background: var(--pine);
  color: var(--mist);
  border: none;
  border-radius: var(--radius-s);
  padding: .7rem 1.1rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: .92rem;
}

.sihm .status-form button:hover {
  background: var(--pine-700);
}

.sihm .status-result {
  margin-top: .8rem;
  font-size: .88rem;
  color: var(--ink-soft);
  min-height: 1.2em;
}

/* ============================================
   RUN DAY DETAILS TABLE
   ============================================ */
.sihm .tba {
  font-family: var(--font-mono);
  font-size: .78rem;
  color: var(--ink-soft);
  background: var(--mist-deep);
  border-radius: 20px;
  padding: .25rem .7rem;
  display: inline-block;
}

.sihm .details-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper);
  border: 1px solid var(--stone);
  border-radius: var(--radius-m);
  overflow: hidden;
}

.sihm .details-table tr {
  border-bottom: 1px solid var(--stone);
}

.sihm .details-table tr:last-child {
  border-bottom: none;
}

.sihm .details-table th,
.sihm .details-table td {
  padding: 1rem 1.3rem;
  text-align: left;
  vertical-align: top;
}

.sihm .details-table th {
  width: 38%;
  font-family: var(--font-mono);
  font-size: .84rem;
  color: #000000;
  font-weight: 600;
  background: var(--mist);
}

@media (max-width:600px) {

  .sihm .details-table th,
  .sihm .details-table td {
    padding: .8rem 1rem;
    font-size: .92rem;
  }

  .sihm .details-table th {
    width: auto;
  }
}

.sihm .fun-callout {
  margin-top: 1.6rem;
  background: var(--mist-deep);
  border: 1px solid var(--stone);
  border-radius: var(--radius-m);
  padding: 1.5rem 1.7rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.sihm .fun-callout svg {
  flex: none;
  margin-top: .1rem;
  color: var(--gold);
}

.sihm .fun-callout p {
  margin: 0;
  font-size: .92rem;
  color: var(--ink-soft);
}

.sihm .fun-callout b {
  color: var(--ink);
}

/* ============================================
   PRIZE MONEY
   ============================================ */
.sihm .prize-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  margin-bottom: 1.6rem;
}

@media (max-width:760px) {
  .sihm .prize-grid {
    grid-template-columns: 1fr;
  }
}

.sihm .prize-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper);
  border: 1px solid var(--stone);
  border-radius: var(--radius-m);
  overflow: hidden;
}

.sihm .prize-table caption {
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--pine);
  padding: 1rem 1.3rem .2rem;
  caption-side: top;
}

.sihm .prize-table th,
.sihm .prize-table td {
  padding: .75rem 1.3rem;
  font-size: .92rem;
  border-bottom: 1px solid var(--stone);
}

.sihm .prize-table thead th {
  font-family: var(--font-mono);
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ink-soft);
  background: var(--mist);
}

.sihm .prize-table td:last-child,
.sihm .prize-table th:last-child {
  text-align: right;
  font-family: var(--font-mono);
}

.sihm .prize-table tr.total td,
.sihm .prize-table tr.total th {
  font-weight: 700;
  color: var(--pine);
  border-bottom: none;
}

.sihm .total-banner {
  background: var(--pine-700);
  color: var(--mist);
  border-radius: var(--radius-m);
  padding: 1.6rem 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.sihm .total-banner .label {
  font-family: var(--font-mono);
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .8;
}

.sihm .total-banner .amount {
  font-family: var(--font-display);
  font-size: 2rem;
}

.sihm .consolation-note {
  text-align: center;
  font-size: .88rem;
  color: var(--ink-soft);
  margin-top: 1.2rem;
}

/* ============================================
   MODAL (Bootstrap overrides inside .sihm)
   ============================================ */
.sihm .modal-content {
  border: none;
  border-radius: var(--radius-m);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .35);
}

.sihm .modal-body {
  font-family: var(--font-body);
  font-size: .92rem;
  color: var(--ink-soft);
}

.sihm .modal-body h3 {
  font-family: var(--font-display);
  color: var(--pine);
  font-size: 1.3rem;
  margin-bottom: .8rem;
}

.sihm .modal-body h4 {
  font-family: var(--font-display);
  color: var(--pine);
  font-size: 1.05rem;
  margin-bottom: .4rem;
}

.sihm .modal-body h5 {
  font-family: var(--font-body);
  color: var(--pine);
  font-size: .92rem;
  margin: 1.3rem 0 .4rem;
  font-weight: 700;
}

.sihm .modal-body p {
  margin: 0 0 .5rem;
}

/* ============================================
   FOOTER (page-specific, before site footer)
   ============================================ */
.sihm .page-footer {
  background: var(--pine-100);
  padding: 3rem 0 2rem;
}

.sihm .footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

.sihm .footer-brand {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--pine);
  max-width: 320px;
}

.sihm .footer-brand p {
  font-family: var(--font-body);
  font-size: .85rem;
  color: var(--ink-soft);
  margin-top: .5rem;
}

.sihm .footer-col h4 {
  font-family: var(--font-mono);
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--pine);
  margin-bottom: .7rem;
}

.sihm .footer-col a,
.sihm .footer-col span {
  display: block;
  font-size: .88rem;
  color: var(--ink-soft);
  margin-bottom: .4rem;
}

.sihm .footer-bottom {
  border-top: 1px solid var(--stone);
  margin-top: 2rem;
  padding-top: 1.2rem;
  font-size: .8rem;
  color: var(--ink-soft);
  text-align: center;
}

/* ============================================
   SECTION BACKGROUNDS (alternating)
   ============================================ */
.sihm .bg-paper {
  background: var(--paper);
  border-top: 1px solid var(--stone);
  border-bottom: 1px solid var(--stone);
}

.sihm .bg-mist {
  background: var(--mist);
}

/* ============================================
   RESPONSIVE HELPERS
   ============================================ */

/* ---- Tablet (≤ 820px) ---- */
@media (max-width:820px) {
  .sihm .footer-grid {
    flex-direction: column;
    gap: 1.4rem;
  }

  .sihm .footer-brand {
    max-width: 100%;
  }
}

/* ---- Small tablet / large phone (≤ 680px) ---- */
@media (max-width:680px) {
  .sihm .organisers__list {
    font-size: .84rem;
    gap: .4rem 1rem;
  }

  .sihm .organisers__label {
    font-size: .68rem;
  }

  .sihm .step-item .body {
    padding: 0 1.2rem 1.2rem 1.4rem;
  }

  .sihm .step-item .body h4 {
    font-size: .92rem;
  }
}

/* ---- Phone (≤ 560px) ---- */
@media (max-width:560px) {
  .sihm .hero__title {
    font-size: 2.2rem;
  }

  .sihm .sub-nav__inner {
    padding: .7rem 1.1rem;
  }

  .sihm .section-head {
    margin-bottom: 1.6rem;
  }

  .sihm .section-head h2 {
    font-size: 1.4rem;
  }

  /* Details table: stack th/td vertically */
  .sihm .details-table,
  .sihm .details-table tbody,
  .sihm .details-table tr,
  .sihm .details-table th,
  .sihm .details-table td {
    display: block;
    width: 100%;
  }

  .sihm .details-table tr {
    padding: .6rem 0;
  }

  .sihm .details-table th {
    background: transparent;
    padding: .5rem 1rem .15rem;
    font-size: .78rem;
    border-bottom: none;
  }

  .sihm .details-table td {
    padding: .15rem 1rem .5rem;
    font-size: .9rem;
  }

  /* Prize table tighter on mobile */
  .sihm .prize-table th,
  .sihm .prize-table td {
    padding: .6rem .9rem;
    font-size: .86rem;
  }

  .sihm .prize-table caption {
    padding: .8rem .9rem .15rem;
    font-size: 1.02rem;
  }

  /* Total banner stack */
  .sihm .total-banner {
    flex-direction: column;
    text-align: center;
    padding: 1.2rem 1.4rem;
  }

  .sihm .total-banner .amount {
    font-size: 1.6rem;
  }

  /* Status form stack on small screens */
  .sihm .status-form {
    flex-direction: column;
  }

  .sihm .status-form button {
    width: 100%;
    text-align: center;
  }

  /* Support card padding */
  .sihm .support-card {
    padding: 1.3rem;
  }

  /* Fun callout */
  .sihm .fun-callout {
    flex-direction: column;
    padding: 1.2rem;
    gap: .6rem;
  }

  /* Modal body padding */
  .sihm .modal-body {
    font-size: .86rem;
  }

  /* Fee info */
  .sihm .fee-info {
    font-size: .78rem;
    padding: .7rem .85rem;
  }

  /* Payment note */
  .sihm .payment-note {
    font-size: .84rem;
    padding: .75rem .9rem;
  }

  /* Buttons slightly smaller */
  .sihm .btn-s {
    padding: .72rem 1.3rem;
    font-size: .9rem;
  }
}

/* ---- Very small phone (≤ 380px) — reCAPTCHA fix ---- */
@media (max-width:380px) {

  /* reCAPTCHA widget is 304px fixed; scale it to fit */
  .sihm .g-recaptcha {
    transform: scale(0.85);
    transform-origin: right center;
  }

  .sihm .captcha-wrap {
    overflow: hidden;
  }

  .sihm .hero__title {
    font-size: 1.6rem;
  }

  .sihm .eyebrow {
    font-size: .62rem;
    letter-spacing: .1em;
  }

  .sihm .whatsapp-cta {
    font-size: .84rem;
    padding: .6rem 1rem;
  }

  .sihm .field input,
  .sihm .field select {
    font-size: .9rem;
    padding: .6rem .7rem;
  }

  .sihm .field label {
    font-size: .8rem;
  }

  .sihm .reg-panel {
    padding: 1rem;
  }
}

.sihm .whatsapp-alert-banner {
  background-color: #FFF9E6;
  border: 1px solid #D69B2E;
  border-radius: var(--radius-s);
  padding: 1rem 1.2rem;
  margin: 1.5rem 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  font-family: var(--font-body);
  font-size: .94rem;
  color: #000000;
}

.sihm .whatsapp-alert-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.sihm .whatsapp-alert-banner .badge-mandatory {
  background-color: #C53024;
  color: #FFFFFF;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.72rem;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.sihm .whatsapp-btn {
  background-color: var(--pine);
  color: #FFFFFF !important;
  font-weight: 600;
  text-decoration: none !important;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  transition: background-color 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.sihm .whatsapp-btn:hover {
  background-color: var(--pine-700);
  color: #FFFFFF !important;
  text-decoration: none !important;
}

.sihm .fee-info .fee-title {
  color: #000000;
}

@media (max-width: 600px) {
  .sihm .whatsapp-alert-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
  .sihm .whatsapp-alert-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .sihm .whatsapp-btn {
    justify-content: center;
  }
}
