:root {
    --riss-ink: #172b3a;
    --riss-ink-muted: #334b5a;
    --riss-ink-subtle: #4b6472;
    --riss-ink-on-dark: #f9fafb;
    --riss-surface: #ffffff;
    --riss-surface-muted: #f4f7fa;
    --riss-navy: #123b5d;
    --riss-teal: #0f766e;
    --riss-burgundy: #123b5d;
    --riss-burgundy-deep: #0b2c40;
    --riss-gold: #f4c95d;
    --riss-charcoal: #14222b;
    --riss-border: #d8e3ea;
    --riss-link: #123b5d;
    --riss-gold-text: #664b00;
    --riss-coral-text: #123b5d;
    --riss-green-text: #052e16;
}

[data-topbar-marquee][data-marquee-ready="true"] .topbar-marquee {
    display: flex;
    width: 100%;
    min-width: 0;
    align-items: center;
    gap: 0.5rem;
}

.topbar-marquee-window {
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
}

.topbar-marquee-track {
    display: flex;
    width: max-content;
}

.topbar-marquee-group {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: nowrap;
    align-items: center;
    gap: 1.5rem;
    padding-right: 1.5rem;
    white-space: nowrap;
}

[data-topbar-marquee][data-marquee-ready="true"] .topbar-marquee-track {
    animation: riss-contact-marquee 36s linear infinite;
}

.topbar-marquee:hover .topbar-marquee-track,
.topbar-marquee:focus-within .topbar-marquee-track,
.topbar-marquee.is-paused .topbar-marquee-track {
    animation-play-state: paused;
}

.topbar-marquee-toggle {
    display: grid;
    width: 2rem;
    height: 2rem;
    flex: 0 0 auto;
    place-items: center;
    padding: 0;
    border: 1px solid rgb(226 232 240 / 35%);
    border-radius: 0.375rem;
    background: rgb(255 255 255 / 6%);
    color: #f8fafc;
    cursor: pointer;
}

.topbar-marquee-toggle:hover {
    background: rgb(255 255 255 / 14%);
    color: var(--riss-gold);
}

.topbar-marquee-toggle:focus-visible {
    outline: 2px solid var(--riss-gold);
    outline-offset: 2px;
}

.topbar-marquee-toggle[hidden] {
    display: none;
}

@keyframes riss-contact-marquee {
    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    [data-topbar-marquee][data-marquee-ready="true"] .topbar-marquee-track {
        width: 100%;
        animation: none !important;
    }

    .topbar-marquee-window {
        overflow: visible;
    }

    .topbar-marquee-group:not(.topbar-marquee-copy) {
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
        padding-right: 0;
        white-space: normal;
    }

    .topbar-marquee-copy,
    .topbar-marquee-toggle {
        display: none !important;
    }
}

html body main#app-content .bg-white {
    background-color: var(--riss-surface) !important;
}

html body main#app-content .bg-slate-50,
html body main#app-content .bg-slate-100 {
    background-color: var(--riss-surface-muted) !important;
}

html body main#app-content :is(.bg-white, .bg-slate-50, .bg-slate-100).rounded-2xl,
html body main#app-content :is(.bg-white, .bg-slate-50, .bg-slate-100).rounded-xl,
html body main#app-content .rounded-xl:not(button):not(a):not(input):not(select):not([class*="bg-"]) {
    background-color: var(--riss-surface) !important;
    border-color: #e2e8f0 !important;
}

html body main#app-content :is(.bg-white, .bg-slate-50, .bg-slate-100).rounded-2xl :is(h1, h2, h3, h4, h5, h6),
html body main#app-content :is(.bg-white, .bg-slate-50, .bg-slate-100).rounded-xl :is(h1, h2, h3, h4, h5, h6) {
    color: var(--riss-ink) !important;
}

html body main#app-content :is(.bg-white, .bg-slate-50, .bg-slate-100).rounded-2xl :is(p, li, blockquote, label, td, th),
html body main#app-content :is(.bg-white, .bg-slate-50, .bg-slate-100).rounded-xl :is(p, li, blockquote, label, td, th),
html body main#app-content :is(.bg-white, .bg-slate-50, .bg-slate-100).rounded-2xl span:not([class*="bg-"]),
html body main#app-content :is(.bg-white, .bg-slate-50, .bg-slate-100).rounded-xl span:not([class*="bg-"]) {
    color: var(--riss-ink-muted) !important;
}

html body main#app-content :is(.bg-white, .bg-slate-50, .bg-slate-100).rounded-2xl a:not([class*="bg-"]),
html body main#app-content :is(.bg-white, .bg-slate-50, .bg-slate-100).rounded-xl a:not([class*="bg-"]) {
    color: var(--riss-link) !important;
}

html body main#app-content :is(.bg-white, .bg-slate-50, .bg-slate-100).rounded-2xl :is(.text-gold-400, .text-gold-500, .text-gold-600),
html body main#app-content :is(.bg-white, .bg-slate-50, .bg-slate-100).rounded-xl :is(.text-gold-400, .text-gold-500, .text-gold-600) {
    color: var(--riss-gold-text) !important;
}

html body main#app-content [class*="FFFBEB"],
html body main#app-content [class*="FEF9C3"] {
    background-color: #fffbeb !important;
    border-color: #fde68a !important;
}

html body main#app-content section[id^="section-"] > div:first-child.max-w-7xl {
    background-color: transparent !important;
    background-image: none !important;
    color: var(--riss-ink) !important;
}

html body main#app-content section[id^="section-"] > div:first-child.max-w-7xl > .flex.items-center.gap-2.text-xs.text-slate-500 :is(span, a) {
    color: var(--riss-ink-subtle) !important;
}

html body main#app-content section[id^="section-"] > div:first-child.max-w-7xl > .flex.items-center.gap-2.text-xs.text-slate-500 a {
    color: var(--riss-link) !important;
}

html body main#app-content [class*="FFFBEB"] :is(h1, h2, h3, h4, h5, h6, p, li, blockquote, label, span),
html body main#app-content [class*="FEF9C3"] :is(h1, h2, h3, h4, h5, h6, p, li, blockquote, label, span) {
    color: var(--riss-ink) !important;
}

html body main#app-content .bg-navy-900,
html body main#app-content .bg-navy-950,
html body main#app-content .bg-slate-900 {
    background-color: var(--riss-navy) !important;
    border-color: #2347c2 !important;
}

html body main#app-content :is(.bg-navy-900, .bg-navy-950, .bg-slate-900) :is(h1, h2, h3, h4, h5, h6, label),
html body main#app-content :is(.bg-navy-900, .bg-navy-950, .bg-slate-900) :is(a, button):not([class*="bg-"]),
html body main#app-content .hero-pattern :is(h1, h2, h3, h4, h5, h6, label) {
    color: var(--riss-ink-on-dark) !important;
}

html body main#app-content :is(.bg-navy-900, .bg-navy-950, .bg-slate-900) :is(p, li, blockquote, td, th),
html body main#app-content .hero-pattern :is(p, li, blockquote, td, th) {
    color: #e2e8f0 !important;
}

html body main#app-content :is(.bg-navy-900, .bg-navy-950, .bg-slate-900) :is(.text-gold-400, .text-gold-500, .text-gold-600),
html body main#app-content .hero-pattern :is(.text-gold-400, .text-gold-500, .text-gold-600) {
    color: #fbbf24 !important;
}

html body main#app-content :is(a, button)[class*="bg-blue-"],
html body main#app-content :is(a, button)[class*="bg-indigo-"],
html body main#app-content :is(a, button)[class*="bg-navy-"] {
    color: var(--riss-ink-on-dark) !important;
}

html body main#app-content :is(a, button)[class*="bg-white"],
html body main#app-content :is(a, button)[class*="bg-slate-50"],
html body main#app-content :is(a, button)[class*="bg-slate-100"],
html body main#app-content :is(a, button)[class*="bg-slate-200"] {
    color: var(--riss-ink) !important;
}

html body main#app-content :is(a, button)[class*="bg-whatsapp-500"] {
    color: var(--riss-green-text) !important;
}

html body main#app-content :is(a, button)[class*="bg-whatsapp-500"]:hover {
    background-color: #15803d !important;
    color: var(--riss-ink-on-dark) !important;
}

html body .bg-whatsapp-600 :is(h1, h2, h3, h4, h5, h6, p, li, a, span) {
    color: var(--riss-ink-on-dark) !important;
}

html body header a.nav-link[data-nav="blog"],
html body header a.nav-link.active-page-blue[data-nav="blog"],
html body header a.nav-link[data-nav="blog"]:hover {
    color: var(--riss-coral-text) !important;
}

html body main#app-content :is(.bg-navy-900, .bg-navy-950, .bg-slate-900) :is(h1, h2, h3, h4, h5, h6, label),
html body main#app-content :is(.bg-navy-900, .bg-navy-950, .bg-slate-900) :is(p, li, blockquote, td, th, span) {
    color: var(--riss-ink-on-dark) !important;
}

html body main#app-content section[id^="section-"] :is(.bg-white, .bg-slate-50, .bg-slate-100).rounded-2xl :is(h1, h2, h3, h4, h5, h6),
html body main#app-content section[id^="section-"] :is(.bg-white, .bg-slate-50, .bg-slate-100).rounded-xl :is(h1, h2, h3, h4, h5, h6) {
    color: var(--riss-ink) !important;
}

html body main#app-content section[id^="section-"] :is(.bg-white, .bg-slate-50, .bg-slate-100).rounded-2xl :is(p, li, blockquote, label, td, th),
html body main#app-content section[id^="section-"] :is(.bg-white, .bg-slate-50, .bg-slate-100).rounded-xl :is(p, li, blockquote, label, td, th) {
    color: var(--riss-ink-muted) !important;
}

html body main#app-content section[id^="section-"] :is(.bg-white, .bg-slate-50, .bg-slate-100).rounded-2xl a:not([class*="bg-"]),
html body main#app-content section[id^="section-"] :is(.bg-white, .bg-slate-50, .bg-slate-100).rounded-xl a:not([class*="bg-"]) {
    color: var(--riss-link) !important;
}

html body main#app-content section[id^="section-"] :is(.bg-white, .bg-slate-50, .bg-slate-100).rounded-2xl :is(.text-gold-400, .text-gold-500, .text-gold-600),
html body main#app-content section[id^="section-"] :is(.bg-white, .bg-slate-50, .bg-slate-100).rounded-xl :is(.text-gold-400, .text-gold-500, .text-gold-600) {
    color: var(--riss-gold-text) !important;
}

html body main#app-content section[id^="section-"] [class*="FFFBEB"]:not(.hero-pattern) :is(h1, h2, h3, h4, h5, h6, p, li, blockquote, label, span),
html body main#app-content section[id^="section-"] [class*="FEF9C3"]:not(.hero-pattern) :is(h1, h2, h3, h4, h5, h6, p, li, blockquote, label, span) {
    color: var(--riss-ink) !important;
}

html body main#app-content section[id^="section-"] span[class*="bg-amber-50"][class*="text-amber-800"] {
    color: var(--riss-gold-text) !important;
    background-color: #fffbeb !important;
}

html body main#app-content section[id^="section-"] span[class*="bg-emerald-100"][class*="text-emerald-800"],
html body main#app-content section[id^="section-"] span[class*="bg-green-100"][class*="text-green-800"] {
    color: #166534 !important;
}

html body main#app-content section[id^="section-"] span[class*="bg-red-100"][class*="text-red-800"] {
    color: #991b1b !important;
}

html body main#app-content section[id^="section-"] :is(a, button)[class*="bg-gold-500"]:not(:hover) {
    color: var(--riss-ink) !important;
}

html body main#app-content section[id^="section-"] :is(a, button)[class*="bg-gold-500"]:hover {
    color: #fbbf24 !important;
}

html body main#app-content section[id^="section-"] :is(a, button)[class*="bg-white"],
html body main#app-content section[id^="section-"] :is(a, button)[class*="bg-slate-50"],
html body main#app-content section[id^="section-"] :is(a, button)[class*="bg-slate-100"],
html body main#app-content section[id^="section-"] :is(a, button)[class*="bg-slate-200"],
html body main#app-content section[id^="section-"] :is(a, button)[class*="FFFBEB"],
html body main#app-content section[id^="section-"] :is(a, button)[class*="FEF9C3"] {
    color: var(--riss-ink) !important;
}

html body main#app-content section[id^="section-"] a[class*="FEF9C3"],
html body main#app-content section[id^="section-"] a[class*="FEF9C3"] :is(span, i) {
    color: var(--riss-ink) !important;
}

html body main#app-content section[id^="section-"] :is(a, button)[class*="bg-gold-500"]:not(:hover) :is(span, i) {
    color: var(--riss-ink) !important;
}

html body main#app-content section[id^="section-"] :is(a, button)[class*="bg-gold-500"]:hover :is(span, i) {
    color: #fbbf24 !important;
}

html body main#app-content section[id^="section-"] :is(a, button)[class*="bg-white"]:not(:hover) :is(span, i),
html body main#app-content section[id^="section-"] :is(a, button)[class*="bg-slate-50"]:not(:hover) :is(span, i),
html body main#app-content section[id^="section-"] :is(a, button)[class*="bg-slate-100"]:not(:hover) :is(span, i),
html body main#app-content section[id^="section-"] :is(a, button)[class*="bg-slate-200"]:not(:hover) :is(span, i),
html body main#app-content section[id^="section-"] :is(a, button)[class*="FFFBEB"]:not(:hover) :is(span, i),
html body main#app-content section[id^="section-"] :is(a, button)[class*="FEF9C3"]:not(:hover) :is(span, i) {
    color: var(--riss-ink) !important;
}

html body main#app-content section[id^="section-"] .bg-white.rounded-2xl span.bg-navy-900.text-gold-400 {
    color: #fbbf24 !important;
}

html body main#app-content #applyNowTableSection button,
html body main#app-content #applyNowTableSection button :is(span, i) {
    color: #ffffff !important;
}

html body .bg-navy-950.text-slate-200 span.text-slate-600 {
    color: #cbd5e1 !important;
}

html body header a.group span.text-navy-900 {
    color: var(--riss-ink-on-dark) !important;
}

html body header a.group span.text-gold-600 {
    color: #fbbf24 !important;
}

html body header.sticky #headerMottoText {
    color: #fbbf24 !important;
}

html body header .bg-navy-950 :is(span, p, a) {
    color: var(--riss-ink-on-dark) !important;
}

html body main#app-content .hero-pattern .inline-flex.items-center span {
    color: #fbbf24 !important;
}

html body main#app-content .hero-pattern :is(a, button)[class*="bg-whatsapp-500"]:not(:hover) {
    color: var(--riss-green-text) !important;
}

html body main#app-content section[id^="section-"] :is(a, button)[class*="bg-whatsapp-500"]:not(:hover) :is(span, i) {
    color: var(--riss-green-text) !important;
}

html body :is(a, button)[class*="bg-whatsapp-500"]:not(:hover) {
    color: var(--riss-green-text) !important;
}

html body :is(a, button)[class*="bg-whatsapp-600"]:hover {
    background-color: #15803d !important;
    color: var(--riss-ink-on-dark) !important;
}

html body main#app-content #section-blog > div:first-child > div:nth-child(2) h2 {
    color: var(--riss-ink) !important;
}

html body main#app-content #life-sports :is(h3, h4, p, li, span),
html body main#app-content #section-blog article :is(h3, h4, p, li, span),
html body main#app-content #blogGrid :is(h3, h4, p, li, span) {
    color: var(--riss-coral-text) !important;
}

html body main#app-content #life-sports :is(.text-gold-400, .text-gold-500, .text-gold-600),
html body main#app-content #section-blog article :is(.text-gold-400, .text-gold-500, .text-gold-600),
html body main#app-content #blogGrid :is(.text-gold-400, .text-gold-500, .text-gold-600) {
    color: var(--riss-gold-text) !important;
}

html body main#app-content [class*="bg-orange-50/700/20"][class*="text-emerald-300"] {
    color: var(--riss-ink-on-dark) !important;
    background-color: rgb(248 250 252 / 0.12) !important;
    border-color: rgb(248 250 252 / 0.28) !important;
}

html body main#app-content .hero-pattern .inline-flex.items-center.gap-2[class*="backdrop-blur-sm"] {
    background-color: var(--riss-navy) !important;
    background-image: none !important;
    border-color: #fbbf24 !important;
    color: var(--riss-ink-on-dark) !important;
}

html body main#app-content .hero-pattern .inline-flex.items-center.gap-2[class*="backdrop-blur-sm"] :is(span, i) {
    color: var(--riss-ink-on-dark) !important;
}

html body main#app-content .hero-pattern .inline-flex.items-center.gap-2[class*="backdrop-blur-sm"] i {
    color: #fbbf24 !important;
}

html body main#app-content section#section-home .bg-white.rounded-2xl div[class*="bg-slate-50"][class*="justify-between"] > div + span.bg-navy-900.text-gold-400 {
    background-color: transparent !important;
    background-image: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    color: var(--riss-ink-muted) !important;
    padding: 0 !important;
}

html body header.sticky nav a.nav-link[data-nav],
html body #mobileMenu a.nav-link,
html body #mobileMenu a[data-nav] {
    background-color: rgb(255 255 255 / 0.1) !important;
    background-image: none !important;
    border: 1px solid rgb(255 255 255 / 0.2) !important;
    color: var(--riss-ink-on-dark) !important;
}

html body header.sticky nav a.nav-link[data-nav]:hover,
html body #mobileMenu a.nav-link:hover,
html body #mobileMenu a[data-nav]:hover,
html body header.sticky nav a.nav-link[data-nav].active-page-blue,
html body #mobileMenu a.nav-link.active-page-blue,
html body #mobileMenu a[data-nav].active-page-blue {
    background-color: #fbbf24 !important;
    background-image: none !important;
    border-color: #fbbf24 !important;
    color: #071138 !important;
}

html body header.sticky nav a.nav-link[data-nav]:focus-visible,
html body #mobileMenu a.nav-link:focus-visible,
html body #mobileMenu a[data-nav]:focus-visible,
html body main#app-content button.subtab-btn:focus-visible {
    outline: 3px solid #fbbf24 !important;
    outline-offset: 3px !important;
}

html body main#app-content button.subtab-btn {
    background-color: #f1f5f9 !important;
    background-image: none !important;
    border: 1px solid #cbd5e1 !important;
    color: var(--riss-ink) !important;
}

html body main#app-content button.subtab-btn:hover {
    background-color: #e0e7ff !important;
    border-color: #818cf8 !important;
    color: #1e1b4b !important;
}

html body main#app-content button.subtab-btn.active-subtab-blue {
    background-color: var(--riss-navy) !important;
    background-image: none !important;
    border-color: var(--riss-navy) !important;
    color: var(--riss-ink-on-dark) !important;
}

html body main#app-content button.subtab-btn.active-subtab-blue:hover {
    background-color: #183499 !important;
    border-color: #183499 !important;
    color: var(--riss-ink-on-dark) !important;
}

html body main#app-content #section-about > div.max-w-7xl > div.mb-8 > span.text-gold-600 {
    color: var(--riss-gold-text) !important;
}

html body main#app-content #section-about > div.max-w-7xl > div.mb-8 h2 {
    color: var(--riss-ink) !important;
}

html body main#app-content #section-about .subtab-panel span[class~="bg-navy-900/5"] {
    background-color: #eaf0ff !important;
    border: 1px solid #c7d2fe !important;
    color: var(--riss-navy) !important;
}

html body main#app-content #about-our-story .bg-navy-900 li > span:not([class*="bg-gold-500"]) {
    color: #f1f5f9 !important;
}

html body main#app-content #about-our-story .bg-navy-900 li > span[class*="bg-gold-500"] {
    background-color: #fbbf24 !important;
    color: #071138 !important;
    white-space: nowrap !important;
}

html body main#app-content #about-our-story .bg-navy-900 h4.text-gold-400 {
    color: #fbbf24 !important;
}

html body #mobileMenu > div > div > a:not([href*="?sub"]),
html body #mobileMenu > div > a.nav-link,
html body #mobileMenu > div > details > summary {
    background-color: rgb(255 255 255 / 0.1) !important;
    background-image: none !important;
    border: 1px solid rgb(255 255 255 / 0.2) !important;
    border-radius: 0.5rem !important;
    color: var(--riss-ink-on-dark) !important;
    padding: 0.5rem 0.75rem !important;
    transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease !important;
}

html body #mobileMenu > div > div > a:not([href*="?sub"]):hover,
html body #mobileMenu > div > a.nav-link:hover,
html body #mobileMenu > div > details > summary:hover,
html body #mobileMenu > div > details[open] > summary,
html body #mobileMenu > div > div > a.active-page-blue {
    background-color: #fbbf24 !important;
    background-image: none !important;
    border-color: #fbbf24 !important;
    color: #071138 !important;
}

html body #mobileMenu > div > details > summary:focus-visible,
html body #mobileMenu > div > div > a:not([href*="?sub"]):focus-visible,
html body #mobileMenu > div > a.nav-link:focus-visible {
    outline: 3px solid #fbbf24 !important;
    outline-offset: 3px !important;
}

html body #mobileMenu details:has(a[href^="more.html"]) > summary {
    color: #f8fafc !important;
}

html body #mobileMenu details:has(a[href^="more.html"])[open] > summary {
    background-color: #fbbf24 !important;
    border-color: #d97706 !important;
    color: #071138 !important;
}

html body #mobileMenu details:has(a[href^="more.html"]) > summary:focus-visible,
html body #mobileMenu details:has(a[href^="more.html"]) > div a[href^="more.html"]:focus-visible {
    outline: 3px solid #fbbf24 !important;
    outline-offset: 2px !important;
}

html body #mobileMenu details:has(a[href^="more.html"]) > div a[href^="more.html"] {
    background-color: transparent !important;
    border-radius: 0.375rem !important;
    color: #f8fafc !important;
}

html body #mobileMenu details:has(a[href^="more.html"]) > div a[href^="more.html"]:hover,
html body #mobileMenu details:has(a[href^="more.html"]) > div a[href^="more.html"]:focus-visible,
html body #mobileMenu details:has(a[href^="more.html"]) > div a[href^="more.html"].active-submenu-blue {
    background-color: #fbbf24 !important;
    color: #071138 !important;
    font-weight: 700 !important;
}

html body main#app-content #section-more button.subtab-btn:not(.active-subtab-blue) {
    background-color: #fffdfa !important;
    border-color: #cbd5e1 !important;
    color: #1e1b4b !important;
}

html body main#app-content #section-more button.subtab-btn:not(.active-subtab-blue):hover {
    background-color: #fef3c7 !important;
    border-color: #d4af37 !important;
    color: #0f226e !important;
}

html body main#app-content #section-more button.subtab-btn.active-subtab-blue,
html body main#app-content #section-more button.subtab-btn.active-subtab-blue:hover {
    background-color: #0f226e !important;
    border-color: #0f226e !important;
    color: #f8fafc !important;
}

html body main#app-content #section-more button.subtab-btn:focus-visible {
    outline: 3px solid #0f226e !important;
    outline-offset: 3px !important;
}

html body main#app-content #section-more > div.max-w-7xl > div.mb-8 > span.text-gold-600 {
    color: var(--riss-gold-text) !important;
}

html body main#app-content #section-more > div.max-w-7xl > div.mb-8 h2 {
    color: var(--riss-ink) !important;
}

html body main#app-content #section-more #more-events .space-y-4 > div.bg-slate-50,
html body main#app-content #section-more #more-spotlight .grid > div.bg-slate-50,
html body main#app-content #section-more #more-students .grid > div.bg-slate-50,
html body main#app-content #section-more #admissions-information .space-y-3 > div.bg-slate-50,
html body main#app-content #section-more #more-downloads .grid > div,
html body main#app-content #section-more #more-contact .bg-slate-50.rounded-2xl {
    background-color: #f8fafc !important;
    border-color: #cbd5e1 !important;
}

html body main#app-content #section-more #more-events .bg-slate-50 .bg-navy-900 span.text-gold-400 {
    color: #fbbf24 !important;
}

html body main#app-content #section-more #more-events .bg-slate-50 .bg-navy-900 span.text-lg {
    color: var(--riss-ink-on-dark) !important;
}

html body main#app-content #section-more #more-events span[class~="bg-amber-100"] {
    background-color: #fef3c7 !important;
    border: 1px solid #fcd34d !important;
    color: #92400e !important;
}

html body main#app-content #section-more #more-events span[class~="bg-emerald-100"] {
    background-color: #dcfce7 !important;
    border: 1px solid #86efac !important;
    color: #166534 !important;
}

html body main#app-content #section-more #more-events span[class~="bg-blue-100"] {
    background-color: #dbeafe !important;
    border: 1px solid #93c5fd !important;
    color: #1e40af !important;
}

html body main#app-content #section-more #more-gallery #galleryGrid span[class~="bg-amber-50"] {
    background-color: #fffbeb !important;
    border: 1px solid #fcd34d !important;
    color: #9a3412 !important;
}

html body main#app-content #section-more #more-spotlight span[class~="bg-gold-500"] {
    background-color: #fbbf24 !important;
    border: 1px solid #d97706 !important;
    color: #071138 !important;
}

html body main#app-content #section-more #admissions-information .bg-navy-900 h4.text-gold-400 {
    color: #fbbf24 !important;
}

html body main#app-content #section-more #admissions-information .bg-navy-900 p.text-slate-300 {
    color: #e2e8f0 !important;
}

html body main#app-content #section-more #more-downloads button[class*="bg-navy-900"],
html body main#app-content #section-more #more-downloads button[class*="bg-navy-900"] i {
    color: #fbbf24 !important;
}

/* RISS footer: deep blue with warm, high-contrast accents. */
html body footer.bg-navy-950 {
    background-color: #0f226e !important;
    background-image: linear-gradient(115deg, #0b1c50 0%, #0f226e 56%, #101a46 100%) !important;
    border-top: 3px solid #fbbf24 !important;
    color: #f8fafc !important;
}

html body footer.bg-navy-950 :is(h1, h2, h3, h4, h5, h6) {
    color: #fef3c7 !important;
}

html body footer.bg-navy-950 :is(p, li, span, small) {
    color: #e2e8f0 !important;
}

html body footer.bg-navy-950 a:not([class*="bg-"]),
html body footer.bg-navy-950 a:not([class*="bg-"]):hover {
    color: #f8fafc !important;
}

html body footer.bg-navy-950 a:not([class*="bg-"]):hover {
    text-decoration: underline !important;
    text-underline-offset: 0.18em;
}

html body footer.bg-navy-950 a[class*="bg-navy-"],
html body footer.bg-navy-950 a[class*="bg-navy-"]:hover {
    background-color: #152f7a !important;
    color: #fef3c7 !important;
}

html body footer.bg-navy-950 a[class*="bg-navy-"] :is(i, svg) {
    color: #fef3c7 !important;
}

html body footer.bg-navy-950 :is(a, button)[class~="bg-whatsapp-500"] {
    color: #ffffff !important;
}

html body footer.bg-navy-950 :is(a, button)[class~="bg-gold-500"],
html body footer.bg-navy-950 :is(a, button)[class~="bg-gold-400"] {
    color: #0f172a !important;
}

html body footer.bg-navy-950 :is(a, button):focus-visible {
    outline: 3px solid #fbbf24 !important;
    outline-offset: 3px !important;
    box-shadow: 0 0 0 2px #0b1c50 !important;
}

html body footer.bg-navy-950 :is(a, button)[class~="bg-gold-500"]:focus-visible,
html body footer.bg-navy-950 :is(a, button)[class~="bg-gold-400"]:focus-visible,
html body footer.bg-navy-950 :is(a, button)[class~="bg-whatsapp-500"]:focus-visible {
    outline-color: #0b1c50 !important;
    box-shadow: 0 0 0 2px #fef3c7 !important;
}

/* Keep the static Admin surface readable without implying that sign-in works. */
html body main#app-content #section-admin :is(h1, h2, h3, h4, h5, h6) {
    color: #0f172a !important;
}

html body main#app-content #section-admin :is(p, li, blockquote, label, td, th) {
    color: #334155 !important;
}

html body main#app-content #section-admin #adminLocalOnlyNotice {
    background-color: #eff6ff !important;
    border-color: #bfdbfe !important;
    color: #1e3a8a !important;
}

html body main#app-content #section-admin #adminLocalOnlyNotice > div > p:first-child,
html body main#app-content #section-admin #adminLocalOnlyNotice > i {
    color: #0f226e !important;
}

html body main#app-content #section-admin #adminLocalOnlyNotice > div > p:last-child {
    color: #334155 !important;
}

html body main#app-content #section-admin a:not([class*="bg-"]),
html body main#app-content #section-admin a:not([class*="bg-"]):hover {
    color: #0c4a6e !important;
}

html body main#app-content #section-admin #adminLoginGate {
    background-color: #fffdfa !important;
    border-color: #cbd5e1 !important;
    box-shadow: 0 24px 64px rgba(15, 34, 110, 0.14) !important;
}

html body main#app-content #section-admin #adminLoginGate > div:first-child,
html body main#app-content #section-admin #adminDashboardPanel > div:first-child {
    background-color: #0f226e !important;
    background-image: linear-gradient(125deg, #0b1c50 0%, #0f226e 100%) !important;
}

html body main#app-content #section-admin #adminLoginGate > div:first-child h2,
html body main#app-content #section-admin #adminDashboardPanel > div:first-child h2 {
    color: #fef3c7 !important;
}

html body main#app-content #section-admin #adminLoginGate > div:first-child p,
html body main#app-content #section-admin #adminDashboardPanel > div:first-child p {
    color: #e2e8f0 !important;
}

html body main#app-content #section-admin #adminLoginGate label {
    color: #334155 !important;
}

html body main#app-content #section-admin #adminLoginGate input {
    background-color: #ffffff !important;
    border-color: #64748b !important;
    color: #0f172a !important;
}

html body main#app-content #section-admin #adminLoginGate input::placeholder {
    color: #64748b !important;
    opacity: 1;
}

html body main#app-content #section-admin #adminLoginGate input:disabled {
    background-color: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
    color: #334155 !important;
    cursor: not-allowed;
}

html body main#app-content #section-admin #adminLoginGate #adminLoginError {
    background-color: #eff6ff !important;
    border-color: #bfdbfe !important;
    color: #1e3a8a !important;
}

html body main#app-content #section-admin #adminLoginGate #adminLoginError :is(i, span) {
    color: #1e3a8a !important;
}

html body main#app-content #section-admin #adminLoginGate button:disabled {
    background-color: #e2e8f0 !important;
    background-image: none !important;
    border-color: #cbd5e1 !important;
    box-shadow: none !important;
    color: #475569 !important;
    cursor: not-allowed;
    opacity: 1 !important;
}

html body main#app-content #section-admin #adminLoginGate button:disabled i {
    color: #475569 !important;
}

html body main#app-content #section-admin #adminLoginGate button[type="submit"]:disabled span {
    color: #475569 !important;
}

html body main#app-content #section-admin #adminLoginGate button[type="button"]:disabled {
    background-color: transparent !important;
    background-image: none !important;
    border-color: transparent !important;
    box-shadow: none !important;
}

html body main#app-content #section-admin #adminLoginGate .text-slate-400 {
    color: #64748b !important;
}

html body main#app-content #section-admin #adminDashboardPanel .bg-white {
    background-color: #fffdfa !important;
    border-color: #cbd5e1 !important;
}

html body main#app-content #section-admin #adminDashboardPanel .bg-white :is(h1, h2, h3, h4, h5, h6) {
    color: #0f172a !important;
}

html body main#app-content #section-admin #adminDashboardPanel .bg-white :is(p, li, label, td, th) {
    color: #334155 !important;
}

html body main#app-content #section-admin #adminDashboardPanel .bg-white [class*="text-slate-400"],
html body main#app-content #section-admin #adminDashboardPanel .bg-white [class*="text-slate-500"] {
    color: #475569 !important;
}

/* RISS theme adapted to the requested burgundy, gold, and neutral palette. */
html body {
    background-color: var(--riss-surface-muted) !important;
    color: var(--riss-ink) !important;
}

html body main#app-content {
    background-color: var(--riss-surface-muted) !important;
    color: var(--riss-ink) !important;
}

html body main#app-content .bg-white,
html body main#app-content [class~="bg-gray-100"] {
    background-color: var(--riss-surface) !important;
}

html body main#app-content :is(.bg-slate-50, .bg-slate-100, [class~="bg-gray-50"]) {
    background-color: var(--riss-surface-muted) !important;
}

html body main#app-content :is(.bg-white, .bg-slate-50, .bg-slate-100, [class~="bg-gray-50"], [class~="bg-gray-100"]).rounded-xl,
html body main#app-content :is(.bg-white, .bg-slate-50, .bg-slate-100, [class~="bg-gray-50"], [class~="bg-gray-100"]).rounded-2xl,
html body main#app-content :is(.bg-white, .bg-slate-50, .bg-slate-100, [class~="bg-gray-50"], [class~="bg-gray-100"]).rounded-3xl {
    border-color: var(--riss-border) !important;
}

html body :is([class~="bg-navy-950"], [class~="bg-navy-900"], [class~="bg-navy-800"], [class~="bg-navy-700"]) {
    background-image: none !important;
    color: var(--riss-ink-on-dark) !important;
}

html body [class~="bg-navy-950"] {
    background-color: var(--riss-burgundy-deep) !important;
    border-color: #781016 !important;
}

html body [class~="bg-navy-900"] {
    background-color: var(--riss-burgundy) !important;
    border-color: #9a1b22 !important;
}

html body [class~="bg-navy-800"] {
    background-color: #6b0d12 !important;
    border-color: #9a1b22 !important;
}

html body [class~="bg-navy-700"] {
    background-color: #97151b !important;
    border-color: #b52a31 !important;
}

html body [class~="bg-navy-900/5"],
html body [class~="bg-navy-900/10"] {
    background-color: rgb(128 14 19 / 0.08) !important;
    color: var(--riss-burgundy-deep) !important;
}

html body :is([class~="text-navy-950"], [class~="text-navy-900"], [class~="text-navy-800"], [class~="text-navy-700"]) {
    color: var(--riss-burgundy) !important;
}

html body :is([class~="bg-navy-950"], [class~="bg-navy-900"], [class~="bg-navy-800"], [class~="bg-navy-700"]) :is([class~="text-navy-950"], [class~="text-navy-900"], [class~="text-navy-800"], [class~="text-navy-700"]) {
    color: var(--riss-ink-on-dark) !important;
}

html body :is([class~="text-gold-400"], [class~="text-gold-500"], [class~="text-gold-600"]) {
    color: var(--riss-gold-text) !important;
}

html body :is([class~="bg-gold-400"], [class~="bg-gold-500"], [class~="bg-gold-600"]) {
    background-color: var(--riss-gold) !important;
    border-color: #d3ae00 !important;
    color: var(--riss-burgundy-deep) !important;
}

html body :is([class~="bg-gold-400"], [class~="bg-gold-500"], [class~="bg-gold-600"]) :is(span, i, svg) {
    color: var(--riss-burgundy-deep) !important;
}

html body main#app-content .hero-pattern {
    background-color: var(--riss-burgundy-deep) !important;
    background-image:
        radial-gradient(circle at 82% 18%, rgb(255 215 0 / 0.19) 0%, transparent 42%),
        radial-gradient(circle at 12% 90%, rgb(128 14 19 / 0.42) 0%, transparent 48%),
        linear-gradient(118deg, #800e13 0%, #5c0a0f 68%, #3d080c 100%) !important;
    border-color: var(--riss-gold) !important;
    color: #ffffff !important;
}

html body main#app-content .hero-pattern :is(h1, h2, h3, h4, p, li, span:not(.text-gold-400), blockquote) {
    color: #ffffff !important;
}

html body main#app-content .hero-pattern :is(.text-gold-400, .text-gold-500, .text-gold-600),
html body main#app-content .hero-pattern #heroHeadlineText span {
    color: var(--riss-teal) !important;
}

html body main#app-content .hero-pattern :is(a, button)[class*="bg-gold-"] {
    background-color: var(--riss-gold) !important;
    color: var(--riss-burgundy-deep) !important;
}

html body header.sticky {
    background-color: var(--riss-burgundy-deep) !important;
    background-image: linear-gradient(112deg, #800e13 0%, #5c0a0f 100%) !important;
    border-color: var(--riss-gold) !important;
    color: #ffffff !important;
}

html body header.sticky a.group span.text-gold-600,
html body header.sticky #headerMottoText {
    color: var(--riss-gold) !important;
}

html body header.sticky nav a.nav-link[data-nav],
html body #mobileMenu a.nav-link,
html body #mobileMenu a[data-nav],
html body #mobileMenu details > summary {
    background-color: rgb(255 255 255 / 0.06) !important;
    border-color: rgb(255 255 255 / 0.18) !important;
    color: #ffffff !important;
}

html body header.sticky nav a.nav-link[data-nav]:is(:hover, :focus-visible, .active-page-blue),
html body #mobileMenu a:is(:hover, :focus-visible, .active-page-blue),
html body #mobileMenu details:is([open], :focus-within) > summary,
html body #mobileMenu details > summary:hover {
    background-color: var(--riss-gold) !important;
    border-color: var(--riss-gold) !important;
    color: var(--riss-burgundy-deep) !important;
}

html body header.sticky .dropdown-menu {
    background-color: #ffffff !important;
    border-color: var(--riss-border) !important;
    color: var(--riss-ink) !important;
}

html body header.sticky .dropdown-menu a,
html body #mobileMenu details > div a {
    color: var(--riss-burgundy-deep) !important;
}

html body header.sticky .dropdown-menu a:is(:hover, :focus-visible, .active-submenu-blue),
html body #mobileMenu details > div a:is(:hover, :focus-visible, .active-submenu-blue) {
    background-color: var(--riss-gold) !important;
    color: var(--riss-burgundy-deep) !important;
}

html body :is(a, button, input, select, textarea, summary):focus-visible {
    outline: 3px solid var(--riss-burgundy) !important;
    outline-offset: 3px !important;
}

html body header :is(a, button, input, select, textarea, summary):focus-visible,
html body footer :is(a, button, input, select, textarea, summary):focus-visible {
    outline-color: var(--riss-gold) !important;
}

html body main#app-content :is(h2, h3, h4, p, li, blockquote):hover {
    color: var(--riss-ink) !important;
    transform: none !important;
    text-shadow: none !important;
}

html body main#app-content :is(a, button)[class*="bg-navy-"]:hover {
    background-color: var(--riss-burgundy-deep) !important;
    color: #ffffff !important;
}

html body main#app-content :is(a, button)[class*="bg-gold-"]:hover {
    background-color: #e6c200 !important;
    border-color: #c9a900 !important;
    color: var(--riss-burgundy-deep) !important;
}

html body footer.bg-navy-950 {
    background-color: var(--riss-charcoal) !important;
    background-image: linear-gradient(115deg, #242424 0%, #303030 56%, #1d1d1d 100%) !important;
    border-top: 3px solid var(--riss-gold) !important;
    color: #f9fafb !important;
}

html body footer.bg-navy-950 :is(h1, h2, h3, h4, h5, h6, p, li, span, small, a) {
    color: #f9fafb !important;
}

html body footer.bg-navy-950 :is(.text-gold-400, .text-gold-500, .text-gold-600) {
    color: var(--riss-gold) !important;
}

html body main#app-content #section-admin #adminLocalOnlyNotice {
    background-color: #fff8cc !important;
    border-color: #e6c84f !important;
    color: var(--riss-burgundy-deep) !important;
}

html body main#app-content #section-admin #adminLocalOnlyNotice > div > p:first-child,
html body main#app-content #section-admin #adminLocalOnlyNotice > i {
    color: var(--riss-burgundy) !important;
}

html body main#app-content #section-admin #adminLoginGate {
    background-color: #ffffff !important;
    border-color: var(--riss-border) !important;
    box-shadow: 0 24px 64px rgb(92 10 15 / 0.14) !important;
}

html body main#app-content #section-admin #adminLoginGate > div:first-child,
html body main#app-content #section-admin #adminDashboardPanel > div:first-child {
    background-color: var(--riss-burgundy-deep) !important;
    background-image: linear-gradient(125deg, #800e13 0%, #5c0a0f 100%) !important;
}

html body main#app-content #section-admin #adminLoginGate > div:first-child h2,
html body main#app-content #section-admin #adminDashboardPanel > div:first-child h2 {
    color: var(--riss-gold) !important;
}

html body main#app-content #section-admin #adminLoginGate input:focus,
html body main#app-content #section-admin #adminLoginGate select:focus,
html body main#app-content #section-admin #adminLoginGate textarea:focus {
    border-color: var(--riss-burgundy) !important;
    box-shadow: 0 0 0 3px rgb(128 14 19 / 0.16) !important;
}

html body :is([class~="bg-navy-950"], [class~="bg-navy-900"], [class~="bg-navy-800"], [class~="bg-navy-700"]) :is([class~="text-gold-400"], [class~="text-gold-500"], [class~="text-gold-600"]) {
    color: var(--riss-gold) !important;
}

html body main#app-content :is([class~="bg-blue-600"], [class~="bg-blue-700"], [class~="bg-indigo-600"], [class~="bg-indigo-700"]) {
    background-color: var(--riss-burgundy) !important;
    border-color: var(--riss-burgundy-deep) !important;
    color: #ffffff !important;
}

html body main#app-content :is([class~="text-blue-600"], [class~="text-blue-700"], [class~="text-indigo-600"], [class~="text-indigo-700"]) {
    color: var(--riss-link) !important;
}

html body main#app-content :is(a, button)[class*="bg-blue-"]:hover,
html body main#app-content :is(a, button)[class*="bg-indigo-"]:hover {
    background-color: var(--riss-burgundy-deep) !important;
    border-color: var(--riss-burgundy-deep) !important;
    color: #ffffff !important;
}

html body :is(input, select, textarea)::placeholder {
    color: #596273 !important;
    opacity: 1 !important;
}

html body main#app-content #section-admin #adminLoginGate #adminLoginError {
    background-color: #fff8cc !important;
    border-color: #e6c84f !important;
    color: var(--riss-burgundy-deep) !important;
}

html body main#app-content #section-admin #adminLoginGate #adminLoginError :is(i, span) {
    color: var(--riss-burgundy-deep) !important;
}

html body footer.bg-navy-950 > div.max-w-7xl > div.border-t.border-navy-800.mt-12.pt-6 {
    background-color: #1d1d1d !important;
    border-color: rgb(255 215 0 / 0.28) !important;
    color: #f9fafb !important;
    box-shadow: 0 0 0 100vmax #1d1d1d !important;
}

html body footer.bg-navy-950 > div.max-w-7xl > div.border-t.border-navy-800.mt-12.pt-6 > p:first-child {
    color: #f9fafb !important;
}

html body footer.bg-navy-950 > div.max-w-7xl > div.border-t.border-navy-800.mt-12.pt-6 > p:last-child {
    color: var(--riss-gold) !important;
}

html body main#app-content #section-about #about-mission {
    background-color: var(--riss-navy) !important;
    border-color: #315a78 !important;
}

html body main#app-content #section-about #about-vision {
    background-color: var(--riss-teal) !important;
    border-color: #0b625c !important;
}

html body main#app-content #section-about :is(#about-mission, #about-vision) :is(h3, p) {
    color: var(--riss-ink-on-dark) !important;
}

html body main#app-content #section-about :is(#about-mission, #about-vision) :is(#missionStatementText, #visionStatementText) {
    border-color: rgb(255 255 255 / 0.3) !important;
}

html body main#app-content #section-about #about-core-values li:is(:hover, :focus) {
    background-color: #f0fdfa !important;
    border-color: var(--riss-teal) !important;
    color: var(--riss-teal) !important;
}

html body main#app-content #section-about #about-core-values li:focus {
    outline: 2px solid var(--riss-teal);
    outline-offset: 2px;
}

html body main#app-content #section-more #more-spotlight .spotlight-feature {
    background-color: var(--riss-navy) !important;
    border: 1px solid var(--riss-teal) !important;
}

html body main#app-content #section-more #more-spotlight .spotlight-feature-photo {
    min-height: 16rem;
}

html body main#app-content #section-more #more-spotlight .spotlight-feature-photo img {
    animation: none !important;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 16rem;
    object-fit: cover;
    object-position: center 35%;
}

html body main#app-content #section-more #more-spotlight .spotlight-feature-copy {
    background-color: #0b2c40 !important;
    color: #f9fafb !important;
}

html body main#app-content #section-more #more-spotlight .spotlight-feature-copy h4 {
    color: #ffffff !important;
}

html body main#app-content #section-more #more-spotlight .spotlight-feature-copy p {
    color: #e2e8f0 !important;
}

html body main#app-content #section-more #more-spotlight :is(mark, .text-highlight, .highlight-text, .highlighted-text) {
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    color: inherit !important;
}

@media (min-width: 1024px) {
    html body main#app-content #section-more #more-spotlight .spotlight-feature-photo,
    html body main#app-content #section-more #more-spotlight .spotlight-feature-photo img {
        min-height: 24rem;
    }
}

html body main#app-content #section-more button[data-target="admissions"].active-subtab-blue:not(:hover):not(:focus-visible) {
    background-color: transparent !important;
    background-image: none !important;
    border-color: transparent !important;
    box-shadow: none !important;
    color: var(--riss-ink) !important;
    font-weight: 700 !important;
}

html body main#app-content #section-more button[data-target="admissions"].active-subtab-blue:is(:hover, :focus-visible) {
    background-color: var(--riss-teal) !important;
    border-color: var(--riss-teal) !important;
    color: #ffffff !important;
}

html body header.sticky .dropdown-menu a[href="more.html?sub=admissions"].active-submenu-blue:not(:hover):not(:focus-visible) {
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    color: var(--riss-link) !important;
    font-weight: 400 !important;
}

html body #mobileMenu details > div a[href="more.html?sub=admissions"].active-submenu-blue:not(:hover):not(:focus-visible) {
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    color: #f9fafb !important;
    font-weight: 400 !important;
}

html body main#app-content #section-life :is(h1, h2, h3, h4, h5, h6, p, li, span, small, blockquote, label, td, th):is(.text-slate-400, .text-slate-500, .text-slate-600, .text-slate-700, .text-slate-800) {
    color: var(--riss-ink) !important;
}

html body main#app-content #section-evote :is(mark, span.text-highlight, span.highlight-text, span.highlighted-text) {
    background-color: transparent !important;
    background-image: none !important;
    border-color: transparent !important;
    box-shadow: none !important;
    color: inherit !important;
    padding-inline: 0 !important;
}

html body main#app-content #section-evote :is(h1, h2, h3, h4, h5, h6, p, li, span):hover {
    color: inherit !important;
    text-shadow: none !important;
    transform: none !important;
}

html body #mobileMenu,
html body #mobileMenu > div {
    background-color: var(--riss-burgundy-deep) !important;
    background-image: linear-gradient(150deg, #123b5d 0%, #0b2c40 70%, #0f4c5c 100%) !important;
}

html body footer.bg-navy-950 > div.max-w-7xl > div.border-t.border-navy-800.mt-12.pt-6 {
    background-color: #10202a !important;
    border-color: rgb(244 201 93 / 0.4) !important;
    color: #f9fafb !important;
    box-shadow: 0 0 0 100vmax #10202a !important;
}

/* Keep the final shared override after all legacy page and Admin styles. */
html body #mobileMenu,
html body #mobileMenu > div {
    background-color: var(--riss-burgundy-deep) !important;
    background-image: linear-gradient(150deg, #123b5d 0%, #0b2c40 70%, #0f4c5c 100%) !important;
}

html body main#app-content #section-admin {
    background-color: var(--riss-surface-muted) !important;
    color: var(--riss-ink) !important;
}

html body footer.bg-navy-950 > div.max-w-7xl > div.border-t.border-navy-800.mt-12.pt-6 {
    background-color: #10202a !important;
    border-color: rgb(244 201 93 / 0.4) !important;
    color: #f9fafb !important;
    box-shadow: 0 0 0 100vmax #10202a !important;
}

html body footer.bg-navy-950 > div.max-w-7xl > div.border-t.border-navy-800.mt-12.pt-6 > p:first-child {
    color: #f9fafb !important;
}

html body footer.bg-navy-950 > div.max-w-7xl > div.border-t.border-navy-800.mt-12.pt-6 > p:last-child {
    color: var(--riss-gold) !important;
}

html body header.sticky #mobileMenuBtn {
    background-color: rgb(255 215 0 / 0.12) !important;
    border: 1px solid rgb(255 215 0 / 0.34) !important;
    color: var(--riss-gold) !important;
}

html body header.sticky #mobileMenuBtn:hover {
    background-color: rgb(255 215 0 / 0.2) !important;
}

html body header.sticky #mobileMenuBtn:focus-visible {
    outline: 3px solid var(--riss-gold) !important;
    outline-offset: 3px !important;
}

html body main#app-content :is(a, button)[class*="bg-whatsapp-500"],
html body button[class*="bg-whatsapp-500"] {
    background-color: #166534 !important;
    background-image: none !important;
    color: #ffffff !important;
}

html body main#app-content :is(a, button)[class*="bg-whatsapp-500"] :is(span, i),
html body button[class*="bg-whatsapp-500"] :is(span, i) {
    color: #ffffff !important;
}

html body main#app-content :is(a, button)[class*="bg-whatsapp-500"]:hover,
html body button[class*="bg-whatsapp-500"]:hover,
html body main#app-content :is(a, button)[class*="bg-whatsapp-600"],
html body button[class*="bg-whatsapp-600"] {
    background-color: #14532d !important;
    background-image: none !important;
    color: #ffffff !important;
}

html body main#app-content section[id^="section-"] .hero-pattern :is(a, button)[class*="bg-whatsapp-500"] {
    background-color: #166534 !important;
    background-image: none !important;
    color: #ffffff !important;
}

html body main#app-content section[id^="section-"] .hero-pattern :is(a, button)[class*="bg-whatsapp-500"] :is(span, i) {
    color: #ffffff !important;
}

html body main#app-content section[id^="section-"] .hero-pattern :is(a, button)[class*="bg-whatsapp-500"]:hover {
    background-color: #14532d !important;
    color: #ffffff !important;
}

/* Deep blue, teal, and warm gold theme; override legacy per-page color rules. */
html body {
    background-color: var(--riss-surface-muted) !important;
    color: var(--riss-ink) !important;
}

html body main#app-content {
    background-color: var(--riss-surface-muted) !important;
    color: var(--riss-ink) !important;
}

html body main#app-content :is(.bg-white, .bg-slate-50, .bg-slate-100, [class~="bg-gray-50"], [class~="bg-gray-100"]) {
    color: var(--riss-ink) !important;
}

html body main#app-content :is(h1, h2, h3, h4, h5, h6):hover,
html body main#app-content :is(p, li, blockquote):hover {
    color: inherit !important;
    text-shadow: none !important;
    transform: none !important;
}

html body header.sticky {
    background-color: var(--riss-burgundy-deep) !important;
    background-image: linear-gradient(112deg, #0b2c40 0%, #123b5d 58%, #0f4c5c 100%) !important;
    border-color: var(--riss-gold) !important;
    color: #ffffff !important;
}

html body header.sticky a.group span:first-child,
html body header.sticky #headerMottoText {
    color: #ffffff !important;
}

html body header.sticky #headerMottoText,
html body header.sticky a.group span.text-gold-600 {
    color: var(--riss-gold) !important;
}

html body header.sticky nav a.nav-link[data-nav],
html body #mobileMenu a.nav-link,
html body #mobileMenu a[data-nav],
html body #mobileMenu details > summary {
    background-color: rgb(255 255 255 / 0.08) !important;
    background-image: none !important;
    border-color: rgb(255 255 255 / 0.22) !important;
    color: #ffffff !important;
}

html body header.sticky nav a.nav-link[data-nav]:is(:hover, :focus-visible, .active-page-blue),
html body #mobileMenu a:is(:hover, :focus-visible, .active-page-blue),
html body #mobileMenu details:is([open], :focus-within) > summary,
html body #mobileMenu details > summary:hover {
    background-color: var(--riss-gold) !important;
    border-color: var(--riss-gold) !important;
    color: var(--riss-burgundy-deep) !important;
}

html body header.sticky .dropdown-menu,
html body #mobileMenu details > div {
    background-color: #ffffff !important;
    background-image: none !important;
    border-color: var(--riss-border) !important;
    color: var(--riss-ink) !important;
}

html body header.sticky .dropdown-menu a,
html body #mobileMenu details > div a {
    color: var(--riss-link) !important;
}

html body header.sticky .dropdown-menu a:is(:hover, :focus-visible, .active-submenu-blue),
html body #mobileMenu details > div a:is(:hover, :focus-visible, .active-submenu-blue) {
    background-color: var(--riss-surface-muted) !important;
    color: var(--riss-burgundy-deep) !important;
}

html body header.sticky #mobileMenuBtn {
    background-color: rgb(244 201 93 / 0.12) !important;
    border-color: rgb(244 201 93 / 0.45) !important;
    color: var(--riss-gold) !important;
}

html body header.sticky #mobileMenuBtn:is(:hover, :focus-visible) {
    background-color: rgb(244 201 93 / 0.22) !important;
}

html body #mobileMenu,
html body #mobileMenu > div {
    background-color: var(--riss-burgundy-deep) !important;
    background-image: linear-gradient(150deg, #123b5d 0%, #0b2c40 70%, #0f4c5c 100%) !important;
}

html body > div.bg-navy-950.overflow-hidden {
    background-color: var(--riss-burgundy-deep) !important;
    border-color: rgb(244 201 93 / 0.45) !important;
    color: #ffffff !important;
    height: auto !important;
    min-height: 2rem;
    overflow: visible !important;
}

html body > div.bg-navy-950.overflow-hidden > div.w-full {
    display: block !important;
    width: 100% !important;
    animation: none !important;
    white-space: normal !important;
}

html body > div.bg-navy-950.overflow-hidden > div.w-full > span.inline-flex {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.4rem 1.25rem !important;
    width: 100% !important;
    margin: 0 !important;
    white-space: normal !important;
}

html body > div.bg-navy-950.overflow-hidden > div.w-full > span.inline-flex > * {
    margin: 0 !important;
}

html body > div.bg-navy-950.overflow-hidden > div.w-full > span.inline-flex > span.text-slate-600 {
    display: none !important;
}

html body > div.bg-navy-950.overflow-hidden a {
    color: #ffffff !important;
    white-space: normal !important;
}

html body > div.bg-navy-950.overflow-hidden a i {
    color: var(--riss-gold) !important;
}

html body main#app-content .hero-pattern {
    background-color: var(--riss-burgundy-deep) !important;
    background-image:
        radial-gradient(circle at 82% 18%, rgb(244 201 93 / 0.18) 0%, transparent 42%),
        radial-gradient(circle at 12% 90%, rgb(15 118 110 / 0.42) 0%, transparent 48%),
        linear-gradient(118deg, #0b2c40 0%, #123b5d 58%, #0f4c5c 100%) !important;
    border-color: var(--riss-gold) !important;
    color: #ffffff !important;
}

html body main#app-content .hero-pattern :is(h1, h2, h3, h4, p, li, blockquote, label) {
    color: #ffffff !important;
}

html body main#app-content .hero-pattern :is(.text-gold-400, .text-gold-500, .text-gold-600),
html body main#app-content .hero-pattern #heroHeadlineText span {
    color: var(--riss-teal) !important;
}

html body main#app-content .hero-pattern :is(.bg-white, .bg-amber-50, .bg-yellow-50, [class*="FFFBEB"], [class*="FEF9C3"]) {
    background-color: #ffffff !important;
    background-image: none !important;
    color: var(--riss-ink) !important;
}

html body main#app-content :is(.bg-navy-950, .bg-navy-900, .bg-navy-800, .bg-navy-700) {
    color: var(--riss-ink-on-dark) !important;
}

html body main#app-content :is(a, button)[class*="bg-navy-"]:hover,
html body main#app-content :is(a, button)[class*="bg-blue-"]:hover,
html body main#app-content :is(a, button)[class*="bg-indigo-"]:hover {
    background-color: var(--riss-burgundy-deep) !important;
    border-color: var(--riss-burgundy-deep) !important;
    color: #ffffff !important;
}

html body main#app-content :is(a, button)[class*="bg-gold-"],
html body main#app-content :is(a, button)[class*="bg-amber-500"] {
    background-color: var(--riss-gold) !important;
    border-color: #d3a82e !important;
    color: var(--riss-burgundy-deep) !important;
}

html body main#app-content :is(a, button)[class*="bg-gold-"] :is(span, i, svg),
html body main#app-content :is(a, button)[class*="bg-amber-500"] :is(span, i, svg) {
    color: var(--riss-burgundy-deep) !important;
}

html body main#app-content :is(a, button)[class*="bg-gold-"]:hover,
html body main#app-content :is(a, button)[class*="bg-amber-500"]:hover {
    background-color: #e5b94c !important;
    color: var(--riss-burgundy-deep) !important;
}

html body main#app-content :is(#life-sports, #section-blog, #blogGrid article, #blogGrid > div),
html body main#app-content :is(#life-sports, #section-blog) :is(.rounded-xl, .rounded-2xl) {
    background-color: #ffffff !important;
    background-image: none !important;
    border-color: var(--riss-border) !important;
    color: var(--riss-ink) !important;
}

html body main#app-content :is(#life-sports, #section-blog, #blogGrid) :is(h2, h3, h4, p, li, span) {
    color: var(--riss-ink) !important;
}

html body main#app-content :is(#life-sports, #section-blog, #blogGrid) :is(a, button) {
    color: var(--riss-link) !important;
}

html body main#app-content [data-target="sports"]:not(.active-page-blue):not(.active-submenu-blue):not([aria-selected="true"]):not([aria-current]) {
    background-color: transparent !important;
    background-image: none !important;
    border-color: transparent !important;
    color: var(--riss-link) !important;
}

html body main#app-content [data-target="sports"]:is(.active-page-blue, .active-submenu-blue, [aria-selected="true"], [aria-current]) {
    background-color: var(--riss-navy) !important;
    background-image: none !important;
    border-color: var(--riss-navy) !important;
    color: #ffffff !important;
}

html body main#app-content #section-admin {
    background-color: var(--riss-surface-muted) !important;
    color: var(--riss-ink) !important;
}

html body main#app-content #section-admin #adminLoginGate,
html body main#app-content #section-admin .admin-panel.bg-white {
    background-color: #ffffff !important;
    border-color: var(--riss-border) !important;
}

html body main#app-content #section-admin #adminLoginGate > div:first-child,
html body main#app-content #section-admin #adminDashboardPanel > div:first-child {
    background-color: var(--riss-burgundy-deep) !important;
    background-image: linear-gradient(125deg, #123b5d 0%, #0b2c40 72%, #0f4c5c 100%) !important;
}

html body main#app-content #section-admin #adminLoginGate > div:first-child h2,
html body main#app-content #section-admin #adminDashboardPanel > div:first-child h2 {
    color: var(--riss-gold) !important;
}

html body main#app-content #section-admin #adminLocalOnlyNotice {
    background-color: #fff8cc !important;
    border-color: #e6c84f !important;
    color: #503900 !important;
}

html body main#app-content #section-admin #adminLoginGate #adminLoginError {
    background-color: #fff1f2 !important;
    border-color: #fecdd3 !important;
    color: #9f1239 !important;
}

html body main#app-content #section-admin #adminLoginGate #adminLoginError :is(i, span) {
    color: #9f1239 !important;
}

html body footer.bg-navy-950 {
    background-color: var(--riss-charcoal) !important;
    background-image: linear-gradient(115deg, #14222b 0%, #1d303a 56%, #10202a 100%) !important;
    border-color: var(--riss-gold) !important;
    color: #f9fafb !important;
}

/* RISS's navy and teal palette keeps shared content readable and distinctive. */
html body :is([class~="bg-navy-950"], [class~="bg-navy-900"], [class~="bg-navy-800"], [class~="bg-navy-700"]) {
    background-image: none !important;
    color: var(--riss-ink-on-dark) !important;
}

html body [class~="bg-navy-950"] {
    background-color: #0b2c40 !important;
    border-color: #123b5d !important;
}

html body [class~="bg-navy-900"] {
    background-color: #123b5d !important;
    border-color: #1d6077 !important;
}

html body [class~="bg-navy-800"] {
    background-color: #183499 !important;
    border-color: #2347c2 !important;
}

html body [class~="bg-navy-700"] {
    background-color: #2347c2 !important;
    border-color: #3158d4 !important;
}

html body main#app-content :is([class~="bg-blue-600"], [class~="bg-blue-700"], [class~="bg-indigo-600"], [class~="bg-indigo-700"]) {
    background-color: #0f766e !important;
    border-color: #115e59 !important;
    color: #ffffff !important;
}

html body main#app-content :is([class~="text-blue-600"], [class~="text-blue-700"], [class~="text-indigo-600"], [class~="text-indigo-700"]) {
    color: #0f766e !important;
}

html body main#app-content :is(a, button)[class*="bg-blue-"]:hover,
html body main#app-content :is(a, button)[class*="bg-indigo-"]:hover {
    background-color: #115e59 !important;
    border-color: #115e59 !important;
    color: #ffffff !important;
}

html body main#app-content .hero-pattern {
    background-color: #0b2c40 !important;
    background-image:
        radial-gradient(circle at 84% 16%, rgb(20 184 166 / 0.22) 0%, transparent 42%),
        linear-gradient(122deg, #0b2c40 0%, #123b5d 62%, #0f4c5c 100%) !important;
    border-color: #0f766e !important;
    color: #ffffff !important;
}

html body main#app-content .hero-pattern :is(h1, h2, h3, h4, p, li, span, blockquote) {
    color: #ffffff !important;
}

html body main#app-content .hero-pattern :is(.text-gold-400, .text-gold-500, .text-gold-600) {
    color: #f4c95d !important;
}

html body header.sticky {
    background-color: #0b2c40 !important;
    background-image: linear-gradient(112deg, #0b2c40 0%, #123b5d 68%, #0f4c5c 100%) !important;
    border-color: #0f766e !important;
    color: #ffffff !important;
}

html body header.sticky nav a.nav-link[data-nav],
html body #mobileMenu a.nav-link,
html body #mobileMenu a[data-nav],
html body #mobileMenu details > summary {
    background-color: rgb(255 255 255 / 0.06) !important;
    border-color: rgb(255 255 255 / 0.18) !important;
    color: #ffffff !important;
}

html body header.sticky nav a.nav-link[data-nav]:is(:hover, :focus-visible, .active-page-blue),
html body #mobileMenu a:is(:hover, :focus-visible, .active-page-blue),
html body #mobileMenu details:is([open], :focus-within) > summary,
html body #mobileMenu details > summary:hover {
    background-color: #0f766e !important;
    border-color: #0f766e !important;
    color: #ffffff !important;
}

html body header.sticky .dropdown-menu a,
html body #mobileMenu details > div a {
    color: #123b5d !important;
}

html body header.sticky .dropdown-menu a:is(:hover, :focus-visible, .active-submenu-blue),
html body #mobileMenu details > div a:is(:hover, :focus-visible, .active-submenu-blue) {
    background-color: #ccfbf1 !important;
    color: #134e4a !important;
}

html body :is(a, button, input, select, textarea, summary):focus-visible {
    outline: 3px solid #0f766e !important;
    outline-offset: 3px !important;
}

html body main#app-content :is(h1, h2, h3, h4, h5, h6, p, li, blockquote, span):hover {
    color: inherit !important;
    transform: none !important;
    text-shadow: none !important;
}

html body :is(mark, span.text-highlight, span.highlight-text, span.highlighted-text) {
    background-color: transparent !important;
    background-image: none !important;
    border-color: transparent !important;
    box-shadow: none !important;
    color: inherit !important;
    padding-inline: 0 !important;
}

html body main#app-content .bg-white :is(.text-slate-400, .text-slate-500),
html body main#app-content .bg-slate-50 :is(.text-slate-400, .text-slate-500),
html body main#app-content .bg-slate-100 :is(.text-slate-400, .text-slate-500) {
    color: #475569 !important;
}

html body main#app-content [class*="bg-orange-50/700/20"][class*="text-emerald-300"] {
    background-color: #dcfce7 !important;
    border-color: #86efac !important;
    color: #166534 !important;
}

html body footer.bg-navy-950 :is(h1, h2, h3, h4, h5, h6, p, li, span, small, a) {
    color: #f9fafb !important;
}

html body footer.bg-navy-950 :is(.text-gold-400, .text-gold-500, .text-gold-600),
html body footer.bg-navy-950 > div.max-w-7xl > div.border-t.border-navy-800.mt-12.pt-6 > p:last-child {
    color: var(--riss-gold) !important;
}

html body footer.bg-navy-950 > div.max-w-7xl > div.border-t.border-navy-800.mt-12.pt-6 {
    background-color: #10202a !important;
    border-color: rgb(244 201 93 / 0.4) !important;
    color: #f9fafb !important;
    box-shadow: 0 0 0 100vmax #10202a !important;
}

html body :is(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
    outline: 3px solid var(--riss-burgundy-deep) !important;
    outline-offset: 3px !important;
    box-shadow: 0 0 0 2px #ffffff !important;
}

html body :is(header, footer, .hero-pattern, .bg-navy-950, .bg-navy-900) :is(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
    outline-color: var(--riss-gold) !important;
    box-shadow: 0 0 0 2px var(--riss-burgundy-deep) !important;
}

@media (max-width: 639px) {
    html body > div.bg-navy-950.overflow-hidden > div.w-full > span.inline-flex {
        justify-content: flex-start !important;
        gap: 0.35rem 1rem !important;
    }

    html body > div.bg-navy-950.overflow-hidden a {
        font-size: 0.75rem !important;
        line-height: 1.4 !important;
    }
}

html body main#app-content #section-admin :is(.bg-navy-900, .bg-navy-950, .bg-slate-900) :is(h1, h2, h3, h4, h5, h6) {
    color: #fef3c7 !important;
}

html body main#app-content #section-admin :is(.bg-navy-900, .bg-navy-950, .bg-slate-900) :is(p, li, blockquote, td, th, span:not([class*="text-"])) {
    color: #e2e8f0 !important;
}

html body main#app-content #section-admin :is(h1, h2, h3, h4, h5, h6):hover {
    color: #0f172a !important;
    text-shadow: none !important;
    transform: none !important;
}

html body main#app-content #section-admin :is(p, li, blockquote):hover {
    color: #334155 !important;
    text-shadow: none !important;
    transform: none !important;
}

html body main#app-content #section-admin :is(.bg-navy-900, .bg-navy-950, .bg-slate-900) :is(h1, h2, h3, h4, h5, h6):hover {
    color: #fef3c7 !important;
}

html body main#app-content #section-admin :is(.bg-navy-900, .bg-navy-950, .bg-slate-900) :is(p, li, blockquote, td, th):hover {
    color: #e2e8f0 !important;
}

html body main#app-content #section-admin :is(.rounded-2xl, .rounded-3xl):hover > :is(h2, h3, h4) {
    color: #0f172a !important;
    text-shadow: none !important;
    transform: none !important;
}

html body main#app-content #section-admin :is(.rounded-2xl, .rounded-3xl):hover > p {
    color: #334155 !important;
}

html body main#app-content #section-admin :is(a, button, input, select, textarea, [tabindex]):focus-visible {
    outline: 3px solid #0f226e !important;
    outline-offset: 3px !important;
    box-shadow: 0 0 0 2px #fef3c7 !important;
}

html body main#app-content #section-admin :is(.bg-navy-900, .bg-navy-950, .bg-slate-900) :is(a, button, input, select, textarea, [tabindex]):focus-visible {
    outline-color: #fbbf24 !important;
    box-shadow: 0 0 0 2px #0f226e !important;
}

/* Keep the Admin page and shared footer on the RISS display/body type pairing. */
html body main#app-content #section-admin {
    background-color: #f5f2e9 !important;
    color: #1e293b !important;
    font-family: 'Ubuntu', Arial, sans-serif !important;
}

html body main#app-content #section-admin :is(div, p, li, a, button, input, select, textarea, label, span, td, th, blockquote, small, strong, b) {
    font-family: 'Ubuntu', Arial, sans-serif !important;
}

html body main#app-content #section-admin :is(h1, h2, h3, h4, h5, h6) {
    font-family: 'Ubuntu', Arial, sans-serif !important;
    letter-spacing: normal !important;
}

html body main#app-content #section-admin #adminLoginGate #adminLoginError {
    background-color: #fff1f2 !important;
    border-color: #fecdd3 !important;
    color: #9f1239 !important;
}

html body main#app-content #section-admin #adminLoginGate #adminLoginError :is(i, span) {
    color: #9f1239 !important;
}

html body footer.bg-navy-950,
html body footer.bg-navy-950 :is(div, p, li, span, small, a, button, strong, b, em) {
    font-family: 'Ubuntu', Arial, sans-serif !important;
}

html body footer.bg-navy-950 :is(h1, h2, h3, h4, h5, h6) {
    font-family: 'Ubuntu', Arial, sans-serif !important;
}

html body footer.bg-navy-950 > div.max-w-7xl > div.border-t.border-navy-800.mt-12.pt-6 {
    position: relative;
    isolation: isolate;
    margin-left: -1rem !important;
    margin-right: -1rem !important;
    padding: 1.5rem 1rem !important;
    background-color: #071138 !important;
    border-top: 1px solid #fbbf24 !important;
    color: #f8fafc !important;
    box-shadow: 0 0 0 100vmax #071138;
    clip-path: inset(0 -100vmax);
}

html body footer.bg-navy-950 > div.max-w-7xl > div.border-t.border-navy-800.mt-12.pt-6 > p:first-child {
    color: #f8fafc !important;
    font-family: 'Ubuntu', Arial, sans-serif !important;
    font-size: 0.9rem;
    font-weight: 600 !important;
}

html body footer.bg-navy-950 > div.max-w-7xl > div.border-t.border-navy-800.mt-12.pt-6 > p:last-child {
    color: #fbbf24 !important;
    font-family: 'Ubuntu', Arial, sans-serif !important;
    font-weight: 600 !important;
}

@media (min-width: 640px) {
    html body footer.bg-navy-950 > div.max-w-7xl > div.border-t.border-navy-800.mt-12.pt-6 {
        margin-left: -1.5rem !important;
        margin-right: -1.5rem !important;
        padding-right: 1.5rem !important;
        padding-left: 1.5rem !important;
    }
}

@media (min-width: 1024px) {
    html body footer.bg-navy-950 > div.max-w-7xl > div.border-t.border-navy-800.mt-12.pt-6 {
        margin-left: -2rem !important;
        margin-right: -2rem !important;
        padding-right: 2rem !important;
        padding-left: 2rem !important;
    }
}

/* Keep the Admin workspace on the same cream, navy, and gold system as the site. */
html body main#app-content #section-admin {
    background-color: #faf6ec !important;
}

html body main#app-content #section-admin #adminLoginGate {
    width: 100% !important;
    max-width: min(28rem, calc(100vw - 2rem)) !important;
}

html body main#app-content #section-admin .admin-tab-btn {
    flex: 0 0 auto;
    min-height: 2.75rem;
    border: 1px solid #cbd5e1 !important;
    background-color: var(--riss-surface) !important;
    color: var(--riss-ink-muted) !important;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

html body main#app-content #section-admin .admin-tab-btn.bg-navy-900 {
    background-color: var(--riss-navy) !important;
    border-color: var(--riss-navy) !important;
    color: var(--riss-ink-on-dark) !important;
    box-shadow: 0 4px 12px rgb(15 34 110 / 0.18) !important;
}

html body main#app-content #section-admin .admin-tab-btn:not(.bg-navy-900):hover {
    background-color: #eaf0ff !important;
    border-color: #a5b4fc !important;
    color: var(--riss-navy) !important;
}

html body main#app-content #section-admin .admin-panel.bg-white {
    border-color: #dbe4f0 !important;
    box-shadow: 0 12px 32px rgb(15 34 110 / 0.06) !important;
}

html body main#app-content #section-admin .admin-panel :is(input:not([type="file"]), textarea, select) {
    background-color: #fffdfa !important;
    border-color: #cbd5e1 !important;
    color: var(--riss-ink) !important;
}

html body main#app-content #section-admin .admin-panel :is(input:not([type="file"]), textarea, select)::placeholder {
    color: #64748b !important;
    opacity: 1;
}

/* Final reference-theme overrides for legacy page-specific styles. */
html body header.sticky nav {
    background-color: transparent !important;
    background-image: none !important;
    border: 0 !important;
    box-shadow: none !important;
}

html body header.sticky nav[class~="hidden"][class~="lg:flex"] {
    background-color: transparent !important;
    background-image: none !important;
    border: 0 !important;
    box-shadow: none !important;
}

html body #mobileMenu,
html body #mobileMenu > div {
    background-color: var(--riss-navy) !important;
    background-image: linear-gradient(150deg, var(--riss-navy) 0%, var(--riss-burgundy-deep) 65%, var(--riss-teal) 100%) !important;
}

html body main#app-content .hero-pattern :is([class~="bg-white"], [class~="bg-amber-50"], [class~="bg-yellow-50"], [class*="FFFBEB"], [class*="FEF9C3"]) {
    background-color: #ffffff !important;
    background-image: none !important;
}

html body main#app-content :is(a, button, input[type="submit"], input[type="button"])[class~="bg-gold-400"],
html body main#app-content :is(a, button, input[type="submit"], input[type="button"])[class~="bg-gold-500"],
html body main#app-content :is(a, button, input[type="submit"], input[type="button"])[class~="bg-gold-600"] {
    background-color: var(--riss-gold) !important;
    background-image: none !important;
    border-color: #d3ae00 !important;
    color: var(--riss-burgundy-deep) !important;
}

html body main#app-content .hero-pattern button[class*="bg-gold-"]:not(:hover) {
    background-color: var(--riss-gold) !important;
    background-image: none !important;
    color: var(--riss-burgundy-deep) !important;
}

html body main#app-content section[id^="section-"] button[class*="bg-gold-500"][class~="text-navy-950"]:not(:hover) {
    color: var(--riss-burgundy-deep) !important;
}

@media (min-width: 1024px) and (max-width: 1365px) {
    html body header.sticky nav[class~="hidden"][class~="lg:flex"] a.nav-link[data-nav] {
        padding-inline: 0.5rem !important;
        font-size: 0.9rem !important;
    }
}

html body main#app-content :is(a, button, input[type="submit"], input[type="button"])[class*="bg-gold-"]:hover {
    background-color: #e6c200 !important;
    background-image: none !important;
    color: var(--riss-burgundy-deep) !important;
}

html body footer.bg-navy-950 > div.max-w-7xl > div.border-t.border-navy-800.mt-12.pt-6 {
    background-color: #1d1d1d !important;
    border-color: rgb(255 215 0 / 0.28) !important;
    color: #f9fafb !important;
    box-shadow: 0 0 0 100vmax #1d1d1d !important;
}

html body footer.bg-navy-950 > div.max-w-7xl > div.border-t.border-navy-800.mt-12.pt-6 > p:first-child {
    color: #f9fafb !important;
}

html body footer.bg-navy-950 > div.max-w-7xl > div.border-t.border-navy-800.mt-12.pt-6 > p:last-child {
    color: var(--riss-gold) !important;
}

html body main#app-content #section-about #about-mission {
    background-color: var(--riss-navy) !important;
    background-image: none !important;
    border-color: #315a78 !important;
}

html body main#app-content #section-about #about-vision {
    background-color: var(--riss-teal) !important;
    background-image: none !important;
    border-color: #0b625c !important;
}

html body main#app-content #section-about :is(#about-mission, #about-vision) :is(h3, p) {
    color: var(--riss-ink-on-dark) !important;
}

html body main#app-content #section-about :is(#about-mission, #about-vision) :is(#missionStatementText, #visionStatementText) {
    border-color: rgb(255 255 255 / 0.3) !important;
}

html body main#app-content #section-about #about-core-values li:is(:hover, :focus-visible) {
    background-color: #f0fdfa !important;
    border-color: var(--riss-teal) !important;
    color: var(--riss-teal) !important;
}

html body main#app-content #section-about #about-core-values li:focus-visible {
    outline: 2px solid var(--riss-teal) !important;
    outline-offset: 2px !important;
}

html body main#app-content #admissions-information #admissions-application-cta {
    background-color: var(--riss-navy) !important;
    background-image: linear-gradient(120deg, var(--riss-navy) 0%, var(--riss-teal) 100%) !important;
    border-color: #0f766e !important;
    color: var(--riss-ink-on-dark) !important;
    box-shadow: 0 14px 28px rgba(18, 59, 93, 0.22) !important;
}

html body main#app-content #admissions-information #admissions-application-cta :is(h4, p) {
    color: var(--riss-ink-on-dark) !important;
}

html body :is(main#app-content, footer, .floating-social-links) a[aria-label^="Visit Rines Secondary School Namusera on "] {
    border-color: transparent !important;
    color: #ffffff !important;
    transition: filter 160ms ease, transform 160ms ease !important;
}

html body :is(main#app-content, footer, .floating-social-links) a[aria-label^="Visit Rines Secondary School Namusera on "] > i {
    color: #ffffff !important;
}

html body :is(main#app-content, footer, .floating-social-links) a[aria-label^="Visit Rines Secondary School Namusera on "]:hover {
    filter: brightness(0.88);
}

html body :is(main#app-content, footer, .floating-social-links) a[aria-label$=" on Facebook"] {
    background-color: #1877f2 !important;
    background-image: none !important;
}

html body :is(main#app-content, footer, .floating-social-links) a[aria-label$=" on X"] {
    background-color: #000000 !important;
    background-image: none !important;
}

html body :is(main#app-content, footer, .floating-social-links) a[aria-label$=" on TikTok"] {
    background-color: #000000 !important;
    background-image: none !important;
}

html body :is(main#app-content, footer, .floating-social-links) a[aria-label$=" on TikTok"] > i {
    text-shadow: -1.5px 0 #25f4ee, 1.5px 0 #fe2c55;
}

html body :is(main#app-content, footer, .floating-social-links) a[aria-label$=" on Instagram"] {
    background-color: #c13584 !important;
    background-image: linear-gradient(45deg, #feda75 0%, #fa7e1e 24%, #d62976 52%, #962fbf 76%, #4f5bd5 100%) !important;
}

html body :is(main#app-content, footer, .floating-social-links) a[aria-label$=" on Instagram"] > i {
    color: #111827 !important;
}

html body :is(main#app-content, footer, .floating-social-links) a[aria-label$=" on YouTube"] {
    background-color: #ff0000 !important;
    background-image: none !important;
}

.floating-social-links {
    position: fixed;
    z-index: 39;
    right: 1rem;
    bottom: calc(5.25rem + env(safe-area-inset-bottom, 0px));
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.floating-social-links a {
    display: inline-flex;
    width: 2.5rem;
    height: 2.5rem;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 9999px;
    animation: riss-social-swing 4.8s ease-in-out infinite;
    transform-origin: top center;
}

.floating-social-links a:nth-child(2) {
    animation-delay: 120ms;
}

.floating-social-links a:nth-child(3) {
    animation-delay: 240ms;
}

.floating-social-links a:nth-child(4) {
    animation-delay: 360ms;
}

.floating-social-links a:nth-child(5) {
    animation-delay: 480ms;
}

.floating-social-links:hover a,
.floating-social-links:focus-within a {
    animation-play-state: paused;
}

@keyframes riss-social-swing {
    0%, 100% {
        transform: rotate(-4deg);
    }
    50% {
        transform: rotate(4deg);
    }
}

@media (min-width: 800px) {
    .floating-social-links {
        right: 17rem;
        bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
    }
}

@media (prefers-reduced-motion: reduce) {
    .floating-social-links a {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }
}

html body main#app-content section[id^="section-"] > div.max-w-7xl > div.mb-8 > span {
    color: var(--riss-gold-text) !important;
}

html body main#app-content section[id^="section-"] > div.max-w-7xl > div.mb-8 > h2 {
    color: var(--riss-ink) !important;
}

html body main#app-content #section-blog > div.max-w-7xl > div:nth-child(2) > div > span {
    color: var(--riss-gold-text) !important;
}

html body main#app-content #section-blog > div.max-w-7xl > div:nth-child(2) h2 {
    color: var(--riss-ink) !important;
}

html body main#app-content #section-blog .blog-filter-btn[class*="bg-navy-"] {
    color: var(--riss-ink-on-dark) !important;
}

html body main#app-content section[id^="section-"] :is(.bg-navy-900, .bg-navy-950) :is(h1, h2, h3, h4, h5, h6, p, li, span, small, blockquote, label, td, th) {
    color: #f1f5f9 !important;
}

html body main#app-content section[id^="section-"] :is(.bg-navy-900, .bg-navy-950) :is(.text-gold-400, .text-gold-500, .text-gold-600) {
    color: #fbbf24 !important;
}

html body main#app-content section[id^="section-"] .bg-white.rounded-2xl :is(.bg-navy-900, .bg-navy-950) :is(h1, h2, h3, h4, h5, h6, p, li, span:not([class*="bg-"]), small, blockquote, label, td, th) {
    color: #f1f5f9 !important;
}

html body main#app-content section[id^="section-"] .bg-white.rounded-2xl :is(.bg-navy-900, .bg-navy-950) :is(.text-gold-400, .text-gold-500, .text-gold-600) {
    color: #fbbf24 !important;
}

html body main#app-content #section-blog article .bg-navy-900 span.text-white {
    color: #f9fafb !important;
}

html body main#app-content #section-about #about-administration div.bg-navy-900.text-gold-400 {
    color: #fbbf24 !important;
}

html body main#app-content #section-evote #evotePollBanner {
    background-color: #dcfce7 !important;
    border-color: #86efac !important;
    color: #166534 !important;
}

@media (max-width: 1023px) {
    html body #mobileMenu > div > div.flex.flex-wrap {
        align-items: stretch !important;
        flex-direction: column !important;
        gap: 0.25rem !important;
    }

    html body #mobileMenu > div > div.flex.flex-wrap > a {
        display: block !important;
        text-align: left !important;
        width: 100% !important;
    }

    html body #mobileMenu > div > details > div {
        align-items: stretch !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 0.25rem !important;
    }

    html body #mobileMenu > div > details > div > a {
        display: block !important;
        width: 100% !important;
    }

}

html body #mobileMenu details > summary {
    min-height: 44px;
}

html body #mobileMenu details > summary > i.fa-chevron-down {
    color: var(--riss-gold) !important;
    opacity: 1 !important;
    transition: transform 160ms ease;
}

html body #mobileMenu details[open] > summary > i.fa-chevron-down {
    transform: rotate(180deg);
}

html body #mobileMenu details > div a,
html body header.sticky .dropdown-menu a {
    color: #123b5d !important;
    font-family: 'Ubuntu', Arial, sans-serif !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
}

html body #mobileMenu details > div a:is(:hover, :focus-visible),
html body header.sticky .dropdown-menu a:is(:hover, :focus-visible) {
    background-color: #e6fffb !important;
    color: #134e4a !important;
}

@media (max-width: 359px) {
    html body header.sticky .max-w-7xl > .flex > a.group > div:last-child > span:first-child {
        max-width: 180px;
        white-space: normal !important;
    }
}

html body main#app-content article[data-admin-photo-profile="head-teacher"],
html body main#app-content article[data-admin-photo-manager="head-teacher"] {
    background-color: #dbeafe !important;
    border-color: #93c5fd !important;
}

html body main#app-content article[data-admin-photo-profile="deputy-academics-admin"],
html body main#app-content article[data-admin-photo-manager="deputy-academics-admin"] {
    background-color: #ccfbf1 !important;
    border-color: #5eead4 !important;
}

html body main#app-content article[data-admin-photo-profile="o-level-director"],
html body main#app-content article[data-admin-photo-manager="o-level-director"] {
    background-color: #fef3c7 !important;
    border-color: #fcd34d !important;
}

html body main#app-content article[data-admin-photo-profile="a-level-director"],
html body main#app-content article[data-admin-photo-manager="a-level-director"] {
    background-color: #e0e7ff !important;
    border-color: #a5b4fc !important;
}

@media (min-width: 1024px) and (max-width: 1159px) {
    html body header.sticky > .max-w-7xl > .flex.justify-between.items-center {
        height: auto !important;
        min-height: 5rem;
        flex-wrap: wrap;
        row-gap: 0.35rem !important;
    }

    html body header.sticky > .max-w-7xl > .flex.justify-between.items-center > nav {
        display: flex !important;
        flex: 0 0 100% !important;
        width: 100%;
        margin-left: 0 !important;
        justify-content: space-between !important;
    }
}

html body header.sticky nav .nav-item:focus-within > .dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

html body header.sticky nav .dropdown-menu,
html body #mobileMenu details > div {
    background-color: #ffffff !important;
    background-image: none !important;
    color: var(--riss-ink) !important;
}

html body header.sticky nav .dropdown-menu :is(a, button, summary),
html body #mobileMenu details > div :is(a, button, summary) {
    color: var(--riss-link) !important;
}

html body header.sticky nav .dropdown-menu :is(span, i),
html body #mobileMenu details > div :is(span, i) {
    color: inherit !important;
}

html body header.sticky nav .dropdown-menu :is(a, button, summary):is(:hover, :focus-visible):not(.active-submenu-blue),
html body #mobileMenu details > div :is(a, button, summary):is(:hover, :focus-visible):not(.active-submenu-blue) {
    background-color: var(--riss-surface-muted) !important;
    color: var(--riss-burgundy-deep) !important;
}

html body header.sticky nav .dropdown-menu a.active-submenu-blue,
html body #mobileMenu details > div a.active-submenu-blue {
    background-color: var(--riss-surface-muted) !important;
    color: var(--riss-burgundy-deep) !important;
}

html body header.sticky nav a.nav-link:focus-visible,
html body #mobileMenu details > summary:focus-visible,
html body #mobileMenu > div > div > a:focus-visible {
    outline-color: var(--riss-gold) !important;
}

html body header.sticky nav .dropdown-menu a:focus-visible,
html body #mobileMenu details > div a:focus-visible {
    outline-color: var(--riss-burgundy-deep) !important;
}

html body #mobileMenu {
    max-height: calc(100vh - 10rem) !important;
    max-height: calc(100dvh - 10rem - env(safe-area-inset-bottom, 0px)) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-color: var(--riss-gold) var(--riss-burgundy-deep);
}

html body #mobileMenu > div > :is(div, details) > a:not([class*="bg-"]),
html body #mobileMenu > div > details > summary {
    color: var(--riss-ink-on-dark) !important;
}

html body #mobileMenu > div > div > a:not([class*="bg-"]):is(:hover, :focus-visible),
html body #mobileMenu > div > details > summary:is(:hover, :focus-visible) {
    background-color: var(--riss-gold) !important;
    color: var(--riss-burgundy-deep) !important;
}

html body #mobileMenu > div > :is(div, details) {
    border-color: rgb(244 201 93 / 0.24) !important;
}

html body.mobile-menu-open button.fixed[onclick="openWhatsAppModal()"] {
    display: none !important;
}

@media (min-width: 1160px) {
    html body header.sticky > .max-w-7xl > .flex.justify-between.items-center {
        height: 64px !important;
        min-height: 64px;
        flex-wrap: nowrap;
    }

    html body header.sticky nav {
        gap: 7px !important;
    }

    html body header.sticky nav a.nav-link {
        border: 1px solid rgba(255, 255, 255, 0.18);
        border-radius: 999px;
        background: rgba(8, 38, 57, 0.36);
        color: #fff !important;
        padding: 8px 13px !important;
        font-size: 13px !important;
        line-height: 1.15;
        transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
    }

    html body header.sticky nav a.nav-link i {
        color: #e6bd67;
    }

    html body header.sticky nav a.nav-link:hover,
    html body header.sticky nav a.nav-link:focus-visible {
        border-color: rgba(230, 189, 103, 0.75);
        background: rgba(230, 189, 103, 0.14);
        color: #fff !important;
    }

    html body header.sticky nav a.nav-link.active-page-blue {
        border-color: #168f88;
        background: #168f88;
        color: #fff !important;
    }
}
