/* India Rises: a unified event identity, loaded after the legacy styles. */
:root {
  --ir-navy: #122c3a;
  --ir-teal: #087f86;
  --ir-coral: #c44831;
  --ir-paper: #f4f7f8;
  --ir-border: #dce5e9;
}
body.ir-site {
  --ir-forest: #122c3a;
  --ir-ink: #122c3a;
  --ir-copy: #506471;
  --ir-muted: #506471;
  --ir-line: #dce5e9;
  --ir-surface: #f4f7f8;
  --ir-lime: #b6d84b;
  --ir-coral: #c44831;
  --race-night: #122c3a;
  --race-green: #087f86;
  --race-paper: #f4f7f8;
  --nav-accent: #087f86;
  background: #fff !important;
  color: #122c3a !important;
}
body.ir-site main#mainContent { background: #fff !important; }
body.ir-site .site-header.run-navigation {
  background: #fff !important;
  border-bottom: 1px solid #dce5e9 !important;
  box-shadow: 0 4px 20px #122c3a0a !important;
}
body.ir-site .site-header.run-navigation::after { height: 2px; background: #087f86; }
body.ir-site .site-header.run-navigation .brand-event-wordmark b { color: #122c3a !important; }
body.ir-site .run-navigation .main-nav :is(.nav-group > button, .nav-result) { color: #233f4c !important; border-radius: 6px !important; }
body.ir-site .run-navigation .main-nav :is(.nav-group > button:hover, .nav-group > button[aria-expanded="true"], .nav-result:hover) {
  background: #eaf5f5 !important; color: #06686f !important; transform: none !important;
}
body.ir-site .run-navigation .nav-group > button::after { border-color: currentColor !important; }
body.ir-site .run-navigation .nav-group > button::before { background: #087f86 !important; }
body.ir-site .run-navigation .nav-dropdown { background: #fff !important; border: 1px solid #dce5e9 !important; border-top: 3px solid #087f86 !important; border-radius: 0 0 10px 10px !important; box-shadow: 0 20px 50px #122c3a1a !important; }
body.ir-site .run-navigation .nav-dropdown > a { color: #233f4c !important; }
body.ir-site .run-navigation .nav-dropdown > a:hover { background: #eaf5f5 !important; color: #06686f !important; }
body.ir-site .site-header .header-login { border: 1px solid #cbd9df !important; box-shadow: none !important; color: #122c3a !important; }
body.ir-site :is(.button-primary, .header-register, .registration-submit, .submit-button) {
  background: #c44831 !important; border-color: #c44831 !important; color: #fff !important; border-radius: 6px !important; box-shadow: none !important;
}
body.ir-site :is(.button-primary, .header-register):hover { background: #a53523 !important; border-color: #a53523 !important; }
body.ir-site :is(a, button, input, select, textarea):focus-visible { outline: 3px solid #087f86 !important; outline-offset: 4px; }

/* Carefully selected photographs carry the hero, leaving information on clean surfaces. */
body.ir-site .hero { background: #122c3a !important; }
body.ir-site .hero .hero-slideshow .hero-slide-backdrop { filter: saturate(.86) brightness(.96) !important; transform: none !important; }
body.ir-site .hero-image-scrim { background: linear-gradient(90deg, #102a38f5 0%, #102a38df 32%, #102a3866 68%, #102a381a 100%) !important; }
body.ir-site .hero::before, body.ir-site .hero::after { background-image: none !important; }
body.ir-site .hero-copy { max-width: 680px; }
body.ir-site .hero-event-name { text-shadow: none !important; }
body.ir-site .hero-title-india { color: #fff !important; letter-spacing: -.045em !important; }
body.ir-site .hero :is(.hero-title-run, .hero-title-run i) { color: #fff !important; }
body.ir-site .hero-title-kohinoor i { color: #b6d84b !important; }
body.ir-site .hero .eyebrow.light { color: #d1e88b !important; }
body.ir-site .hero .hero-intro { color: #e1eaf0 !important; max-width: 560px; line-height: 1.75 !important; }
body.ir-site .hero .hero-edition { color: #e1eaf0 !important; }
body.ir-site .hero .hero-sponsor-lockup { background: #0c2230a8 !important; border: 1px solid #ffffff35 !important; border-radius: 10px !important; box-shadow: none !important; }
body.ir-site .hero .button-quiet { background: #ffffff08 !important; border: 1px solid #ffffff80 !important; color: #fff !important; border-radius: 6px !important; box-shadow: none !important; }
body.ir-site .hero .button-quiet:hover { background: #ffffff18 !important; }
body.ir-site .hero-facts { border-bottom: 1px solid #dce5e9 !important; }
body.ir-site .hero-facts > div { border-top: 0 !important; background: #fff !important; }
body.ir-site .hero-facts > div::before { color: #087f86 !important; }
body.ir-site .hero-facts .countdown-wrap { border-left: 1px solid #dce5e9 !important; background: #eaf5f5 !important; }
body.ir-site .hero-facts > div:hover { background: #f4f7f8 !important; }
body.ir-site .hero-facts > div:hover > :is(span, strong) { color: #122c3a !important; }

body.ir-site main#mainContent > section:not(.hero):not(.closing) {
  background: #fff !important; background-image: none !important; color: #122c3a !important;
}
body.ir-site main#mainContent > :is(#event-calendar, #contests, #runner-hub, #updates, #faq) { background: #f4f7f8 !important; }
body.ir-site main#mainContent > section:is(#event-calendar, #contests, #runner-hub, #updates, #faq) { background: #f4f7f8 !important; }
body.ir-site main#mainContent > section:is(#race-journey, #runner-perks) { background: #fff !important; background-image: none !important; }
body.ir-site main#mainContent > section#home { background-color: #122c3a !important; }
body.ir-site main#mainContent > section.photo-section:not(.closing) > .section-photo { display: none !important; }
body.ir-site main#mainContent > section:not(.hero):not(.closing) :is(h2, h3) { color: #122c3a !important; text-shadow: none !important; }
body.ir-site main#mainContent :is(.section-label, .eyebrow, .light-label) { color: #08727a !important; text-shadow: none !important; letter-spacing: .12em !important; }
body.ir-site main#mainContent > section:not(.hero):not(.closing) > .section-heading > p,
body.ir-site main#mainContent :is(.event-calendar-heading > p, .journey-heading > p, .runner-perks-heading > p) { color: #506471 !important; }
body.ir-site main#mainContent > section:not(.hero):not(.closing) { border-bottom: 1px solid #e7edf0; }
body.ir-site main#mainContent .story-image { border-radius: 14px; }

body.ir-site main#mainContent :is(.contest-card, .results-tool, .form-panel, .confirmation-card, .runner-hub-shell, .runner-perk-card, .faq-list details) {
  background: #fff !important; border: 1px solid #dce5e9 !important; border-radius: 12px !important; box-shadow: 0 4px 20px #122c3a05 !important;
}
body.ir-site main#mainContent .contest-card { border-top: 4px solid #087f86 !important; }
body.ir-site main#mainContent .contest-card.millennial { border-top-color: #c44831 !important; }
body.ir-site main#mainContent .contest-card.women-run { border-top-color: #122c3a !important; }
body.ir-site main#mainContent .contest-card :is(p, small) { color: #506471 !important; }
body.ir-site main#mainContent .contest-card :is(h3, strong) { color: #122c3a !important; }
body.ir-site main#mainContent .contest-card .contest-top > span { color: #08727a !important; }
body.ir-site main#mainContent .contest-card .contest-prize-note { color: #36525f !important; }
body.ir-site main#mainContent .contest-card > a { display: flex; align-items: center; justify-content: space-between; min-height: 46px; padding: 12px 16px !important; border-radius: 6px !important; background: #122c3a !important; color: #fff !important; }
body.ir-site main#mainContent .contest-card > a:hover { background: #08727a !important; }
body.ir-site main#mainContent > section#contests .contest-card > a { background: #122c3a !important; color: #fff !important; }
body.ir-site main#mainContent > section#contests .contest-card > a:hover { background: #08727a !important; }
body.ir-site main#mainContent > section#contests :is(.section-label, .eyebrow.light) { color: #08727a !important; }
body.ir-site main#mainContent .contest-card .prizes { border-color: #dce5e9 !important; }
body.ir-site main#mainContent :is(.contest-card, .faq-list details):hover { border-color: #a6c3cb !important; box-shadow: 0 8px 26px #122c3a0a !important; transform: none !important; }
body.ir-site main#mainContent :is(.hub-panel, .hub-panel-heading, .form-title, .payment-section, .payment-option-panel) { background: #fff !important; border-color: #dce5e9 !important; }
body.ir-site main#mainContent .hub-tabs { background: #edf3f5 !important; border: 0 !important; }
body.ir-site main#mainContent .hub-tabs > button { color: #36525f !important; border-radius: 6px !important; }
body.ir-site main#mainContent .hub-tabs > button.active { background: #122c3a !important; color: #fff !important; }
body.ir-site main#mainContent :is(input, select, textarea) { border-color: #bdcdd5 !important; background-color: #fff !important; color: #122c3a !important; border-radius: 6px !important; }
body.ir-site main#mainContent input::placeholder { color: #647986 !important; }
body.ir-site main#mainContent .timeline li { border-color: #dce5e9 !important; background: #fff !important; border-radius: 10px !important; }
body.ir-site main#mainContent .timeline li time { color: #08727a !important; }
body.ir-site main#mainContent .faq-list details { margin-bottom: 12px; }
body.ir-site main#mainContent .faq-list details[open] { border-color: #9cbec5 !important; }
body.ir-site main#mainContent .faq-list :is(summary, p) { color: #233f4c !important; }
body.ir-site main#mainContent .runner-motion-feature { background: #122c3a !important; border-radius: 14px !important; box-shadow: none !important; }
body.ir-site main#mainContent .runner-motion-feature :is(h3, p) { color: #fff !important; }
body.ir-site main#mainContent .runner-motion-feature .eyebrow { color: #b6d84b !important; }
body.ir-site .hero .hero-actions .button-quiet:hover { color: #fff !important; border-color: #fff !important; background: #ffffff18 !important; }

body.ir-site main#mainContent > section.closing { background: #122c3a !important; }
body.ir-site main#mainContent > section.closing.photo-section { background: #122c3a !important; }
body.ir-site main#mainContent > section.closing.photo-section > .section-photo {
  display: block !important;
  background-image: linear-gradient(90deg, #102a38ed, #102a38c9 55%, #102a3866), url('assets/running/bg-community-women.jpg') !important;
  background-position: center, center 45% !important;
}
body.ir-site main#mainContent .closing :is(h2, p, .eyebrow) { color: #fff !important; text-shadow: none !important; }
body.ir-site footer.site-footer { background: #0c222e !important; background-image: none !important; border-top: 1px solid #27404e; }
body.ir-site footer.site-footer :is(p, a, span) { color: #dce6ec !important; }
body.ir-site footer.site-footer .footer-links a { background: transparent !important; border-color: #3d5562 !important; border-radius: 6px !important; }
body.ir-site footer.site-footer .footer-links a:hover { background: #1b3948 !important; color: #fff !important; }

/* Match the standalone public pages to the event identity. */
body.prize-page { background: #f4f7f8 !important; background-image: none !important; color: #122c3a !important; }
.prize-hero { background: linear-gradient(90deg, #102a38f2, #102a38bf), url('assets/running/bg-road-race.jpg') center / cover !important; }
.prize-hero h1, .prize-hero h1 em { color: #fff !important; }
.prize-eyebrow, .prize-hero-mark small { color: #cbe485 !important; }
.prize-stats, .prize-recognition { background: #fff !important; }
.prize-register, .prize-page-cta { background: #c44831 !important; color: #fff !important; }
.prize-footer { background: #0c222e !important; color: #dce6ec !important; }
.prize-race-card { border-color: #dce5e9 !important; border-radius: 12px !important; box-shadow: 0 4px 20px #122c3a08 !important; }
.prize-race-mega .prize-race-header { background: #9e3928 !important; }
.prize-race-kiddathon .prize-race-header { background: #08727a !important; }
.prize-race-women .prize-race-header { background: #122c3a !important; }
body.sponsors-page { --forest: #122c3a; --deep: #0c222e; --ink: #122c3a; --muted: #506471; --line: #dce5e9; --lime: #cbe485; --coral: #c44831; background: #f4f7f8 !important; }
body.sponsors-page .sponsor-hero { background: linear-gradient(90deg, #102a38f5, #102a38bf), url('assets/running/bg-community-women.jpg') center / cover !important; }
body.sponsors-page .sponsor-hero::before { background: none !important; }
body.sponsors-page .site-footer { background: #0c222e !important; }
body.sponsors-page .partner-card { box-shadow: 0 4px 20px #122c3a05 !important; border-color: #dce5e9 !important; }
body.sponsors-page .title-sponsor-card { background: #0c222ecc !important; }
body.sponsors-page .partners-section, body.sponsors-page .closing-band { background: #f4f7f8 !important; }

@media (min-width: 1101px) and (max-width: 1600px) {
  body.ir-site .site-header.run-navigation { padding-inline: 24px !important; }
  body.ir-site .site-header.run-navigation .main-nav :is(.nav-group > button, .nav-result) { font-size: 12px !important; padding-inline: 6px !important; gap: 6px !important; }
}

@media (max-width: 1100px) {
  body.ir-site .site-header.run-navigation .main-nav { background: #122c3a !important; border-bottom-color: #087f86 !important; }
  body.ir-site .site-header.run-navigation .main-nav :is(.nav-group > button, .nav-result) { color: #fff !important; border-bottom-color: #314b59 !important; }
  body.ir-site .site-header.run-navigation .main-nav :is(.nav-group > button:hover, .nav-group > button[aria-expanded="true"], .nav-result:hover) { background: #244452 !important; color: #fff !important; }
  body.ir-site .site-header.run-navigation .header-actions .menu-toggle { background: #122c3a !important; border-color: #122c3a !important; color: #fff !important; }
}
@media (max-width: 680px) {
  body.ir-site .hero-image-scrim { background: linear-gradient(90deg, #102a38ed, #102a38ba 60%, #102a3873) !important; }
  body.ir-site .hero .hero-slideshow .hero-slide-backdrop { object-position: 65% center !important; }
  body.ir-site .hero .hero-copy { padding-top: 30px !important; }
  body.ir-site .hero .hero-sponsor-lockup { max-width: 290px !important; }
  body.ir-site .hero .hero-intro { font-size: 15px !important; line-height: 1.7 !important; }
  body.ir-site main#mainContent > section:not(.hero):not(.closing) { padding-block: 48px !important; }
  body.ir-site main#mainContent .contest-card { padding: 24px !important; }
  body.ir-site main#mainContent .contest-card > a { font-size: 14px !important; }
  body.ir-site main#mainContent .closing h2 { font-size: clamp(34px, 9vw, 52px) !important; }
}
@media (prefers-reduced-motion: reduce) {
  body.ir-site *, body.ir-site *::before, body.ir-site *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
