/* ==========================================================================
   RVIT ENHANCE LAYER (loaded last, sitewide)
   1. Reveal safety      5. Section collapse ("Show more")
   2. Floating actions   6. Festival themes
   3. Tap targets        7. Telugu toggle
   4. Label readability  8. Department accents + hero dossier photo
   ========================================================================== */

/* ---------- 1. Reveal safety ----------------------------------------------
   Older reveal rules start at opacity 0 even without JS. Keep content
   readable at all times; the reveal is only a short, small settle. */
.rvit-reveal,
.rvit-reveal-left,
.rvit-reveal-right,
.rvit-reveal-item {
    opacity: 0.4;
    transform: translate3d(0, 8px, 0);
    transition: opacity 0.32s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.rvit-reveal.rvit-revealed,
.rvit-reveal-left.rvit-revealed,
.rvit-reveal-right.rvit-revealed,
.rvit-reveal-item.rvit-revealed {
    opacity: 1;
    transform: none;
}

html:not(.rvit-js-ready) .rvit-reveal,
html:not(.rvit-js-ready) .rvit-reveal-item {
    opacity: 1;
    transform: none;
}

/* ---------- 2. Floating actions: one Help button ---------------------------
   The old left dock, right social bar, WhatsApp bubble and chat bubble stay
   in the DOM (their scripts keep working) but are replaced visually by the
   single Help menu below. */
#rvit-sidebar,
#rvitSocialSidebar,
#rvitFloatingWaHelpdesk,
#rvitChatContactTrigger {
    display: none !important;
}

#rvitBackToTop {
    right: 26px !important;
    bottom: 88px !important;
    transform: scale(0.82);
}

@media (max-width: 767px) {
    #rvitBackToTop {
        right: 18px !important;
        bottom: 80px !important;
    }
}

.rvit-help {
    position: fixed;
    right: 20px;
    bottom: 18px;
    z-index: 100000;
    font-family: var(--rvit-font-head, 'Plus Jakarta Sans', sans-serif);
}

@media (max-width: 767px) {
    .rvit-help {
        right: 12px;
        bottom: 14px;
    }
}

.rvit-help-fab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 52px;
    padding: 0 20px 0 16px;
    border: 1px solid rgba(251, 191, 36, 0.55);
    border-radius: 999px;
    background: linear-gradient(145deg, #19315e, #081226);
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 10px 28px rgba(8, 18, 38, 0.32), 0 0 0 3px rgba(245, 158, 11, 0.12);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rvit-help-fab:hover {
    transform: translateY(-2px);
}

.rvit-help-fab:focus-visible {
    outline: 3px solid #fbbf24;
    outline-offset: 3px;
}

.rvit-help-fab i {
    color: #fbbf24;
    font-size: 1.1rem;
    transition: transform 0.25s ease;
}

.rvit-help.is-open .rvit-help-fab i {
    transform: rotate(135deg);
}

@media (max-width: 767px) {
    .rvit-help-fab {
        padding: 0 16px 0 14px;
    }
}

.rvit-help-menu {
    position: absolute;
    right: 0;
    bottom: calc(100% + 12px);
    width: min(340px, calc(100vw - 24px));
    max-height: calc(100dvh - 110px);
    overflow-y: auto;
    padding: 14px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid rgba(16, 32, 64, 0.08);
    box-shadow: 0 24px 60px -12px rgba(8, 18, 38, 0.35);
    opacity: 0;
    transform: translateY(10px) scale(0.98);
    transform-origin: bottom right;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
}

.rvit-help.is-open .rvit-help-menu {
    opacity: 1;
    transform: none;
    pointer-events: auto;
    visibility: visible;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.rvit-help-title {
    margin: 2px 4px 10px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--rvit-gold-on-light, #b45309);
}

.rvit-help-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.rvit-help-item {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 8px 10px;
    border-radius: 14px;
    border: 1px solid #eef2f6;
    background: #f8fafc;
    color: #102040;
    font-size: 0.86rem;
    font-weight: 600;
    line-height: 1.2;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.rvit-help-item:hover,
.rvit-help-item:focus-visible {
    background: #fffbeb;
    border-color: rgba(245, 158, 11, 0.45);
    color: #102040;
    transform: translateY(-1px);
}

.rvit-help-item i {
    flex: 0 0 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    font-size: 0.95rem;
    color: #fff;
    background: var(--hi, #102040);
}

.rvit-help-item.is-wide {
    grid-column: 1 / -1;
}

.rvit-help-social {
    display: flex;
    justify-content: space-between;
    gap: 6px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #eef2f6;
}

.rvit-help-social a {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #102040;
    background: #f1f5f9;
    font-size: 1.05rem;
    text-decoration: none;
}

.rvit-help-social a:hover {
    background: #102040;
    color: #fbbf24;
}

[data-theme="dark"] .rvit-help-menu {
    background: #0f1d36;
    border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .rvit-help-item {
    background: #19315e;
    border-color: rgba(255, 255, 255, 0.06);
    color: #e2e8f0;
}

[data-theme="dark"] .rvit-help-item:hover {
    background: #1b3666;
    color: #fff;
}

[data-theme="dark"] .rvit-help-social {
    border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .rvit-help-social a {
    background: #19315e;
    color: #e2e8f0;
}

/* ---------- 3. Touch targets (phones/tablets only) ------------------------ */
@media (pointer: coarse) {

    .btn,
    button:not(.navbar-toggler):not(.btn-close):not(.rvit-switch-thumb),
    .dropdown-item,
    .sidebar-link,
    .rvit-primary-nav-list .nav-link,
    .footer-links a,
    .footer-link,
    .sec-pill a,
    .nav-pills .nav-link,
    .nav-tabs .nav-link {
        min-height: 44px;
    }

    .dropdown-item,
    .sidebar-link,
    .rvit-primary-nav-list .nav-link,
    .nav-pills .nav-link,
    .nav-tabs .nav-link {
        display: flex;
        align-items: center;
    }

    .footer-links li a,
    footer ul li>a {
        display: inline-flex;
        align-items: center;
        min-height: 40px;
    }

    /* carousel dots: keep the dot small but the hit area large */
    .carousel-indicators [data-bs-target],
    .rvit-tap-dot {
        position: relative;
    }

    .carousel-indicators [data-bs-target]::after {
        content: '';
        position: absolute;
        inset: -14px -6px;
    }
}

/* ---------- 4. Monospace label readability --------------------------------
   Keep JetBrains Mono for short tags; tone down tracking on small screens
   and allow wrapping instead of clipping. */
@media (max-width: 767px) {

    .sec-pill,
    .hero-eyebrow,
    .hero-badge,
    .rvit-3d-hero-kicker,
    .hero-telemetry-lbl,
    .hero-chip-kicker,
    [class*="eyebrow"],
    [class*="kicker"] {
        letter-spacing: 0.04em !important;
        white-space: normal;
    }

    .hero-telemetry-lbl,
    .hero-chip-kicker {
        font-size: 0.68rem;
    }
}

/* ---------- 5. Section collapse ("Show more") ----------------------------- */
.rvit-collapsible {
    position: relative;
}

.rvit-collapsible.is-collapsed .rvit-collapsible-body {
    max-height: var(--rvit-collapse-h, 560px);
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 70%, transparent 100%);
}

.rvit-collapse-toggle-wrap {
    display: flex;
    justify-content: center;
    padding: 4px 16px 28px;
}

.rvit-collapse-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 22px;
    border-radius: 999px;
    border: 1px solid rgba(245, 158, 11, 0.5);
    background: #fff;
    color: #102040;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 6px 18px -8px rgba(16, 32, 64, 0.25);
    cursor: pointer;
}

.rvit-collapse-toggle:hover {
    background: #fffbeb;
}

.rvit-collapse-toggle i {
    color: #b45309;
    transition: transform 0.2s ease;
}

.rvit-collapsible:not(.is-collapsed) .rvit-collapse-toggle i {
    transform: rotate(180deg);
}

[data-theme="dark"] .rvit-collapse-toggle {
    background: #19315e;
    color: #fff;
}

/* ---------- 6. Festival themes --------------------------------------------- */
.rvit-festival-ribbon {
    position: relative;
    z-index: 5;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 8px 44px 8px 16px;
    font-family: var(--rvit-font-head, sans-serif);
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    background: var(--fest-bg, linear-gradient(90deg, #b45309, #f59e0b, #b45309));
    text-align: center;
}

html[data-festival] .rvit-festival-ribbon {
    display: flex;
}

.rvit-festival-ribbon .fest-emoji {
    font-size: 1.15rem;
}

.rvit-festival-ribbon a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.rvit-festival-close {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.15);
    color: #fff;
    cursor: pointer;
}

html[data-festival] .hero-gold-strip {
    background: var(--fest-bg) !important;
    opacity: 0.9;
}

html[data-festival] .hero-aurora {
    background: radial-gradient(520px circle at 76% 46%, var(--fest-glow, rgba(251, 191, 36, .18)), transparent 70%),
        radial-gradient(520px circle at 22% 34%, rgba(56, 189, 248, 0.10), transparent 72%);
}

html[data-festival="sankranti"] {
    --fest-bg: linear-gradient(90deg, #c2410c, #f59e0b 50%, #15803d);
    --fest-glow: rgba(245, 158, 11, .22);
}

html[data-festival="republic"],
html[data-festival="independence"] {
    --fest-bg: linear-gradient(90deg, #ea7a1a 0 33%, #f8fafc 33% 66%, #138808 66%);
    --fest-glow: rgba(234, 122, 26, .2);
}

html[data-festival="republic"] .rvit-festival-ribbon,
html[data-festival="independence"] .rvit-festival-ribbon {
    color: #102040;
}

html[data-festival="republic"] .rvit-festival-ribbon a,
html[data-festival="independence"] .rvit-festival-ribbon a {
    color: #102040;
}

html[data-festival="ugadi"] {
    --fest-bg: linear-gradient(90deg, #15803d, #84cc16, #f59e0b);
    --fest-glow: rgba(132, 204, 22, .18);
}

html[data-festival="diwali"],
html[data-festival="dasara"] {
    --fest-bg: linear-gradient(90deg, #7c2d12, #ea580c 40%, #fbbf24 60%, #7c2d12);
    --fest-glow: rgba(251, 146, 60, .26);
}

html[data-festival="engineers"],
html[data-festival="teachers"] {
    --fest-bg: linear-gradient(90deg, #102040, #1d4ed8, #102040);
    --fest-glow: rgba(59, 130, 246, .2);
}

html[data-festival="christmas"],
html[data-festival="newyear"] {
    --fest-bg: linear-gradient(90deg, #7f1d1d, #b91c1c 50%, #15803d);
    --fest-glow: rgba(239, 68, 68, .18);
}

html[data-festival="womens"] {
    --fest-bg: linear-gradient(90deg, #6b21a8, #db2777);
    --fest-glow: rgba(219, 39, 119, .18);
}

.rvit-fest-sparkles {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.rvit-fest-sparkles span {
    position: absolute;
    top: -20px;
    font-size: 16px;
    opacity: 0.8;
    animation: rvitFestFall linear infinite;
}

@keyframes rvitFestFall {
    to {
        transform: translate3d(30px, 110vh, 0) rotate(240deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .rvit-fest-sparkles {
        display: none;
    }
}

/* ---------- 7. Telugu toggle ------------------------------------------------ */
.rvit-lang-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 44px;
    height: 38px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid rgba(245, 158, 11, 0.45);
    background: #fff;
    color: #102040;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    white-space: nowrap;
}

.rvit-lang-btn:hover {
    background: #fffbeb;
}

.rvit-lang-btn:focus-visible {
    outline: 3px solid #fbbf24;
    outline-offset: 2px;
}

[data-theme="dark"] .rvit-lang-btn {
    background: #19315e;
    color: #fff;
}

html[lang="te"] body {
    font-family: 'Noto Sans Telugu', 'Inter', sans-serif;
}

html[lang="te"] h1,
html[lang="te"] h2,
html[lang="te"] h3 {
    line-height: 1.38;
}

html[lang="te"] .hero-title {
    letter-spacing: 0;
}

html[lang="te"] .rvit-primary-nav-list>.nav-item>.nav-link {
    font-size: 0.84rem;
    padding-left: 8px;
    padding-right: 8px;
}

html[lang="te"] .dropdown-menu .dropdown-item span {
    white-space: normal;
    line-height: 1.35;
}

.rvit-lang-btn.is-translating {
    opacity: 0.85;
    border-color: #fbbf24;
}

/* ---------- 8. Department accents — Shield Navy (Tone 1) + Pic 1 Gold (Tone 2) - */
body[data-dept] {
    --dept-accent: #f59e0b;
    --dept-accent-soft: rgba(245, 158, 11, .12);
}

body[data-dept="cse"] {
    --dept-accent: #19315e;
    --dept-accent-soft: rgba(25, 49, 94, .09);
}

body[data-dept="cseaiml"] {
    --dept-accent: #23427a;
    --dept-accent-soft: rgba(35, 66, 122, .09);
}

body[data-dept="cseds"] {
    --dept-accent: #102040;
    --dept-accent-soft: rgba(16, 32, 64, .09);
}

body[data-dept="ece"] {
    --dept-accent: #d97706;
    --dept-accent-soft: rgba(217, 119, 6, .12);
}

body[data-dept="eee"] {
    --dept-accent: #2c4e8c;
    --dept-accent-soft: rgba(44, 78, 140, .09);
}

body[data-dept="vlsi"] {
    --dept-accent: #19315e;
    --dept-accent-soft: rgba(25, 49, 94, .09);
}

body[data-dept="it"] {
    --dept-accent: #23427a;
    --dept-accent-soft: rgba(35, 66, 122, .09);
}

body[data-dept="mca"] {
    --dept-accent: #f59e0b;
    --dept-accent-soft: rgba(245, 158, 11, .12);
}

body[data-dept="bca"] {
    --dept-accent: #102040;
    --dept-accent-soft: rgba(16, 32, 64, .09);
}

body[data-dept="diploma"] {
    --dept-accent: #d97706;
    --dept-accent-soft: rgba(217, 119, 6, .12);
}

body[data-dept="fresher"] {
    --dept-accent: #f59e0b;
    --dept-accent-soft: rgba(245, 158, 11, .12);
}

body[data-dept="cse"] {
    --dept-accent: #2563eb;
    --dept-accent-soft: rgba(37, 99, 235, .10);
}

body[data-dept="cseaiml"] {
    --dept-accent: #1d4ed8;
    --dept-accent-soft: rgba(29, 78, 216, .10);
}

body[data-dept="cseds"] {
    --dept-accent: #0284c7;
    --dept-accent-soft: rgba(2, 132, 199, .10);
}

body[data-dept="ece"] {
    --dept-accent: #d97706;
    --dept-accent-soft: rgba(217, 119, 6, .12);
}

body[data-dept="eee"] {
    --dept-accent: #1e40af;
    --dept-accent-soft: rgba(30, 64, 175, .10);
}

body[data-dept="vlsi"] {
    --dept-accent: #0369a1;
    --dept-accent-soft: rgba(3, 105, 161, .10);
}

body[data-dept="it"] {
    --dept-accent: #2563eb;
    --dept-accent-soft: rgba(37, 99, 235, .10);
}

body[data-dept="mca"] {
    --dept-accent: #f59e0b;
    --dept-accent-soft: rgba(245, 158, 11, .12);
}

body[data-dept="bca"] {
    --dept-accent: #1d4ed8;
    --dept-accent-soft: rgba(29, 78, 216, .10);
}

body[data-dept="diploma"] {
    --dept-accent: #d97706;
    --dept-accent-soft: rgba(217, 119, 6, .12);
}

body[data-dept="fresher"] {
    --dept-accent: #f59e0b;
    --dept-accent-soft: rgba(245, 158, 11, .12);
}

body[data-dept] .gold-hero::after {
    background: linear-gradient(90deg, #102040, #f59e0b, #fbbf24, var(--dept-accent), #102040) !important;
}

body[data-dept] .rvit-3d-hero-dossier {
    border-color: rgba(251, 191, 36, 0.42) !important;
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(251, 191, 36, 0.28), 0 0 42px -12px rgba(59, 130, 246, 0.35) !important;
}

body[data-dept] .rvit-3d-dossier-kicker {
    color: #fbbf24 !important;
}

body[data-dept] .section-card>h2:first-child::after,
body[data-dept] .section-title::after {
    background: linear-gradient(90deg, #f59e0b, #fbbf24) !important;
}

body[data-dept] .section-card {
    border-top: 3px solid var(--dept-accent);
}

.rvit-dossier-photo {
    margin: 10px 0 12px;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: #102040;
}

.rvit-dossier-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.rvit-3d-hero-dossier.has-photo {
    padding-bottom: 18px;
}

.rvit-dossier-counts-custom {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 14px;
}

.rvit-dossier-counts-custom strong {
    font-size: 1.15rem;
}

/* ---------- 9. "Find your branch" quiz modal -------------------------------- */
.rvit-quiz {
    position: fixed;
    inset: 0;
    z-index: 100010;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.rvit-quiz.is-open {
    display: flex;
}

.rvit-quiz-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 18, 38, 0.62);
    backdrop-filter: blur(4px);
}

.rvit-quiz-card {
    position: relative;
    width: min(560px, 100%);
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
    padding: 22px 22px 18px;
    border-radius: 24px;
    background: #fff;
    color: #102040;
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.5);
    animation: rvitQuizIn 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes rvitQuizIn {
    from {
        transform: translateY(14px) scale(0.98);
        opacity: 0.6;
    }
}

.rvit-quiz-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}

.rvit-quiz-head h2 {
    margin: 0;
    font-family: var(--rvit-font-head);
    font-size: 1.35rem;
    font-weight: 800;
}

.rvit-quiz-sub {
    margin: 2px 0 0;
    font-size: 0.85rem;
    color: #576574;
}

.rvit-quiz-x {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #eef2f6;
    background: #f8fafc;
    color: #102040;
    cursor: pointer;
}

.rvit-quiz-progress {
    height: 6px;
    margin: 16px 0 18px;
    border-radius: 99px;
    background: #eef2f6;
    overflow: hidden;
}

.rvit-quiz-progress span {
    display: block;
    height: 100%;
    width: 0;
    background: var(--rvit-gold-gradient);
    transition: width 0.3s ease;
}

.rvit-quiz-step {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #b45309;
}

.rvit-quiz-q {
    margin: 6px 0 14px;
    font-family: var(--rvit-font-head);
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.35;
}

.rvit-quiz-opts {
    display: grid;
    gap: 8px;
}

.rvit-quiz-opt {
    min-height: 52px;
    padding: 12px 16px;
    border-radius: 14px;
    text-align: left;
    border: 1.5px solid #e2e8f0;
    background: #fff;
    color: #102040;
    font-size: 0.97rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.rvit-quiz-opt:hover,
.rvit-quiz-opt:focus-visible {
    border-color: #f59e0b;
    background: #fffbeb;
    transform: translateX(3px);
    outline: none;
}

.rvit-quiz-back {
    margin-top: 14px;
    min-height: 44px;
    padding: 0 14px;
    border: 0;
    background: none;
    color: #576574;
    font-weight: 600;
    cursor: pointer;
}

.rvit-quiz-back:hover {
    color: #102040;
}

.rvit-quiz-result {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin: 10px 0 12px;
    padding: 16px;
    border-radius: 18px;
    background: linear-gradient(140deg, #102040, #19315e);
    color: #fff;
}

.rvit-quiz-result-icon {
    flex: 0 0 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: rgba(251, 191, 36, 0.16);
    color: #fbbf24;
    font-size: 1.4rem;
}

.rvit-quiz-result-name {
    margin: 0 0 4px;
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
}

.rvit-quiz-result-why {
    margin: 0;
    font-size: 0.9rem;
    color: #cbd5e1;
}

.rvit-quiz-also {
    font-size: 0.9rem;
    color: #475569;
}

.rvit-quiz-also a {
    color: #b45309;
    font-weight: 700;
}

.rvit-quiz-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0 8px;
}

.rvit-quiz-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    color: #102040;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    background: #fff;
}

.rvit-quiz-btn:hover {
    border-color: #f59e0b;
    color: #102040;
}

.rvit-quiz-btn.is-primary {
    background: var(--rvit-gold-gradient);
    border-color: transparent;
    color: #102040;
}

.rvit-quiz-btn.is-wa {
    background: #128c7e;
    border-color: transparent;
    color: #fff;
}

.rvit-quiz-note {
    margin: 8px 0 0;
    font-size: 0.78rem;
    color: #64748b;
}

[data-theme="dark"] .rvit-quiz-card {
    background: #0f1d36;
    color: #e2e8f0;
}

[data-theme="dark"] .rvit-quiz-opt,
[data-theme="dark"] .rvit-quiz-btn {
    background: #19315e;
    border-color: rgba(255, 255, 255, .1);
    color: #e2e8f0;
}

[data-theme="dark"] .rvit-quiz-x {
    background: #19315e;
    color: #fff;
    border-color: rgba(255, 255, 255, .1);
}

[data-theme="dark"] .rvit-quiz-sub,
[data-theme="dark"] .rvit-quiz-also,
[data-theme="dark"] .rvit-quiz-note {
    color: #94a3b8;
}

.rvit-lang-btn-compact {
    height: 40px;
    min-width: 56px;
    padding: 0 10px;
    font-size: 0.82rem;
}

@media (max-width: 360px) {
    .rvit-lang-btn-compact {
        min-width: 48px;
        padding: 0 6px;
    }
}

/* Keep the full college name visible on 992–1279px screens */
@media (min-width: 992px) and (max-width: 1279.98px) {
    .rvit-header-extras .rvit-lang-btn {
        min-width: 40px;
        width: 40px;
        padding: 0;
    }

    .rvit-header-extras .rvit-lang-btn .rvit-lang-label {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
    }

    .rvit-header-extras .rvit-lang-btn .fa-language {
        font-size: 1.1rem;
    }

    .rvit-header-extras .rvit-header-search-btn .rvit-search-placeholder,
    .rvit-header-extras .rvit-header-search-btn .kbd-badge {
        display: none;
    }

    .rvit-header-extras .rvit-header-search-btn {
        min-width: 40px;
        width: 40px;
        padding: 0;
        justify-content: center;
    }
}

/* ---------- 10. Admission journey stepper ----------------------------------- */
.rvit-journey {
    margin-bottom: 2rem;
    padding: 24px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid #eef2f6;
    box-shadow: var(--rvit-shadow);
}

.rvit-journey-head .section-title {
    margin-bottom: 6px;
}

.rvit-journey-status {
    margin: 0 0 18px;
    color: #475569;
}

.rvit-journey-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-right: 6px;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    background: rgba(21, 128, 61, 0.1);
    color: #15803d;
}

.rvit-journey-pill i {
    font-size: 0.5rem;
}

.rvit-journey-pill.is-soon {
    background: #fffbeb;
    color: #b45309;
}

.rvit-journey-pill.is-soon i {
    font-size: 0.8rem;
}

.rvit-journey-steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rvit-journey-steps::before {
    content: '';
    position: absolute;
    top: 23px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: #e2e8f0;
    border-radius: 3px;
}

.rvit-journey-step {
    position: relative;
    text-align: center;
    padding: 0 4px;
}

.rvit-journey-dot {
    position: relative;
    z-index: 1;
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #e2e8f0;
    color: #94a3b8;
    font-size: 1.05rem;
}

.rvit-journey-when {
    display: block;
    margin-top: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.rvit-journey-step h3 {
    margin: 4px 0;
    font-size: 1rem;
    font-weight: 800;
    color: #102040;
}

.rvit-journey-step p {
    margin: 0 0 6px;
    font-size: 0.82rem;
    color: #576574;
}

.rvit-journey-step a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 36px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #b45309;
    text-decoration: none;
}

.rvit-journey-step.is-done .rvit-journey-dot {
    background: #15803d;
    border-color: #15803d;
    color: #fff;
}

.rvit-journey-step.is-current .rvit-journey-dot,
.rvit-journey-step.is-next .rvit-journey-dot {
    background: var(--rvit-gold-gradient);
    border-color: #fbbf24;
    color: #102040;
    box-shadow: 0 0 0 6px rgba(251, 191, 36, 0.22);
    animation: rvitJourneyPulse 2.2s ease-in-out infinite;
}

.rvit-journey-step.is-current .rvit-journey-when,
.rvit-journey-step.is-next .rvit-journey-when {
    color: #b45309;
}

@keyframes rvitJourneyPulse {
    50% {
        box-shadow: 0 0 0 11px rgba(251, 191, 36, 0.08);
    }
}

.rvit-journey-note {
    margin: 14px 0 0;
    font-size: 0.8rem;
    color: #64748b;
}

@media (max-width: 767px) {
    .rvit-journey {
        padding: 18px;
    }

    .rvit-journey-steps {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .rvit-journey-steps::before {
        top: 24px;
        bottom: 24px;
        left: 23px;
        right: auto;
        width: 3px;
        height: auto;
    }

    .rvit-journey-step {
        display: grid;
        grid-template-columns: 48px 1fr;
        column-gap: 14px;
        text-align: left;
        padding: 0 0 16px;
    }

    .rvit-journey-dot {
        grid-row: span 4;
    }

    .rvit-journey-when {
        margin-top: 2px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rvit-journey-step .rvit-journey-dot {
        animation: none !important;
    }
}

[data-theme="dark"] .rvit-journey {
    background: #0f1d36;
    border-color: rgba(255, 255, 255, .06);
}

[data-theme="dark"] .rvit-journey-step h3 {
    color: #fff;
}

[data-theme="dark"] .rvit-journey-dot {
    background: #19315e;
    border-color: #1e3a6b;
}

/* ---------- 11. Alumni map --------------------------------------------------- */
.rvit-amap {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 20px;
    align-items: center;
}

.rvit-amap-canvas {
    position: relative;
    border-radius: 18px;
    background:
        radial-gradient(circle at 1px 1px, rgba(251, 191, 36, 0.18) 1px, transparent 0) 0 0 / 18px 18px,
        linear-gradient(160deg, #081226, #102040 60%, #19315e);
    overflow: hidden;
}

.rvit-amap-canvas svg {
    display: block;
    width: 100%;
    height: auto;
}

.rvit-amap-arc {
    fill: none;
    stroke: rgba(251, 191, 36, 0.55);
    stroke-width: 1.4;
    stroke-dasharray: 4 5;
    animation: rvitArc 18s linear infinite;
}

@keyframes rvitArc {
    to {
        stroke-dashoffset: -180;
    }
}

.rvit-amap-home {
    fill: #fbbf24;
}

.rvit-amap-home-ring {
    fill: none;
    stroke: #fbbf24;
    stroke-width: 2;
    opacity: 0.6;
    transform-box: fill-box;
    transform-origin: center;
    animation: rvitRing 2.4s ease-out infinite;
}

@keyframes rvitRing {
    from {
        transform: scale(0.6);
        opacity: 0.8;
    }

    to {
        transform: scale(2.4);
        opacity: 0;
    }
}

.rvit-amap-city {
    fill: #38bdf8;
    stroke: #fff;
    stroke-width: 1.5;
}

.rvit-amap-label {
    fill: #e2e8f0;
    font-family: var(--rvit-font-body, sans-serif);
    font-weight: 600;
}

.rvit-amap-label.is-home {
    fill: #fbbf24;
    font-weight: 800;
}

.rvit-amap-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.rvit-amap-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #eef2f6;
    font-weight: 600;
    color: #102040;
}

.rvit-amap-list li span:last-child {
    font-size: 0.82rem;
    color: #b45309;
    font-weight: 700;
}

.rvit-amap-note {
    margin: 12px 0 0;
    font-size: 0.82rem;
    color: #64748b;
}

@media (max-width: 767px) {
    .rvit-amap {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {

    .rvit-amap-arc,
    .rvit-amap-home-ring {
        animation: none;
    }
}

.rvit-amap-label {
    font-size: 1em;
}

.rvit-amap-arc,
.rvit-amap-city,
.rvit-amap-home-ring {
    vector-effect: non-scaling-stroke;
}

/* transport.php wraps its sidebar in an extra div; let its children lay out
   like every other page (fixes a 1000px-wide page on phones). */
.dept-layout .sidebar-content-inner {
    display: contents;
}

/* ---------- 12. Site-Wide RVIT Color Standardization (Gold, Yellow, Navy & Blue) ---------- */
/* 1) Uniform Gold/Yellow Surface + Dark Oxford Navy Text (#102040) */
:is(.bg-warning, .badge.bg-warning, .badge.text-bg-warning, .badge-warning, .badge-gold, .bg-gold, .bg-warning.text-dark, .badge.bg-warning.text-dark) {
    background-color: #fbbf24 !important;
    color: #102040 !important;
}

:is(.bg-warning, .badge.bg-warning, .badge.text-bg-warning, .badge-warning, .badge-gold, .bg-gold) :is(span, i, strong, b, small, a) {
    color: #102040 !important;
}

:is(.btn-warning, .btn-gold) {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%) !important;
    border-color: #f59e0b !important;
    color: #102040 !important;
    font-weight: 700 !important;
}

:is(.btn-warning, .btn-gold) * {
    color: #102040 !important;
}

:is(.btn-warning, .btn-gold):hover,
:is(.btn-warning, .btn-gold):focus-visible {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    border-color: #d97706 !important;
    color: #081226 !important;
}

:is(.btn-warning, .btn-gold):hover * {
    color: #081226 !important;
}

/* 2) Outline Gold Buttons */
.btn-outline-warning {
    color: #b45309 !important;
    border-color: #f59e0b !important;
    background-color: transparent !important;
}

.btn-outline-warning:hover,
.btn-outline-warning:focus-visible {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%) !important;
    border-color: #f59e0b !important;
    color: #102040 !important;
}

.btn-outline-warning:hover * {
    color: #102040 !important;
}

/* 3) Context-Aware Gold Text, Borders & Alerts */
.text-warning {
    color: #b45309 !important;
}

:is(.bg-navy, .bg-dark, .bg-primary, .btn-navy, .btn-primary,
    .sidebar-link.active, .rvit-hero-subnav-link.is-active,
    .hero-section, .gold-hero, .recognitions-hero, .rvit-3d-hero-copy,
    .tp-leader-card, .rvit-leader-card, #rvit-header-wrapper .rvit-topbar,
    footer, .footer-section, [data-theme="dark"]) .text-warning {
    color: #fbbf24 !important;
}

.border-warning {
    border-color: #f59e0b !important;
}

[data-theme="dark"] .border-warning {
    border-color: #fbbf24 !important;
}

.alert-warning {
    background-color: #fffbeb !important;
    border-color: rgba(245, 158, 11, 0.4) !important;
    color: #102040 !important;
}

[data-theme="dark"] .alert-warning {
    background-color: rgba(251, 191, 36, 0.1) !important;
    border-color: rgba(251, 191, 36, 0.35) !important;
    color: #fde68a !important;
}

[data-theme="dark"] .btn-outline-warning {
    color: #fbbf24 !important;
    border-color: rgba(251, 191, 36, 0.55) !important;
}

[data-theme="dark"] .btn-outline-warning:hover {
    background: #fbbf24 !important;
    border-color: #fbbf24 !important;
    color: #081226 !important;
}

/* 4) Standardize Bootstrap Blue (.btn-primary / .bg-primary / .text-primary / .nav-pills) to RVIT Oxford Navy */
.btn-primary,
.bg-primary:not(.bg-opacity-10):not(.bg-opacity-25) {
    background-color: #102040 !important;
    border-color: #102040 !important;
    color: #ffffff !important;
}

.badge.bg-primary {
    background-color: #102040 !important;
    color: #fbbf24 !important;
}

.btn-primary:hover,
.btn-primary:focus-visible {
    background-color: #19315e !important;
    border-color: #19315e !important;
    color: #fbbf24 !important;
}

.btn-outline-primary {
    color: #102040 !important;
    border-color: rgba(16, 32, 64, 0.4) !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus-visible {
    background-color: #102040 !important;
    border-color: #102040 !important;
    color: #fbbf24 !important;
}

[data-theme="dark"] .btn-primary {
    background-color: #19315e !important;
    border-color: rgba(251, 191, 36, 0.45) !important;
    color: #ffffff !important;
}

[data-theme="dark"] .btn-primary:hover,
[data-theme="dark"] .btn-primary:focus-visible {
    background-color: #fbbf24 !important;
    border-color: #fbbf24 !important;
    color: #081226 !important;
}

[data-theme="dark"] .btn-outline-primary {
    color: #fbbf24 !important;
    border-color: rgba(251, 191, 36, 0.5) !important;
}

[data-theme="dark"] .btn-outline-primary:hover,
[data-theme="dark"] .btn-outline-primary:focus-visible {
    background-color: #fbbf24 !important;
    border-color: #fbbf24 !important;
    color: #081226 !important;
}

.text-primary {
    color: #19315e !important;
}

[data-theme="dark"] .text-primary {
    color: #fbbf24 !important;
}

.border-primary {
    border-color: #102040 !important;
}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link,
.page-item.active .page-link {
    background-color: #102040 !important;
    border-color: #102040 !important;
    color: #fbbf24 !important;
}

.form-check-input:checked {
    background-color: #102040 !important;
    border-color: #102040 !important;
}

.progress-bar {
    background: linear-gradient(90deg, #102040 0%, #f59e0b 55%, #fbbf24 100%) !important;
}

/* 5) Site-Wide Dual-Tone Harmonization (All Inner Pages After $extraHead)
   Preserves intentional semantic exceptions: WhatsApp buttons, social icons,
   pass/verified statuses, and danger/validation alerts. */
:is([class*="-icon-rose"], [class*="-icon-purple"], [class*="-icon-pink"], .bg-purple-subtle, .bg-pink-subtle) {
    background: #eef2f8 !important;
    color: #19315e !important;
    border-color: rgba(16, 32, 64, 0.16) !important;
}

:is(.bg-purple, .bg-pink) {
    background-color: #102040 !important;
    color: #fbbf24 !important;
}

:is(.text-purple, .text-pink) {
    color: #19315e !important;
}

a.btn-success:not([href*="wa.me"]):not([href*="whatsapp.com"]):not(.btn-whatsapp):not(.contact-link-whatsapp) {
    background: linear-gradient(135deg, #102040 0%, #19315e 100%) !important;
    border-color: #102040 !important;
    color: #ffffff !important;
}

a.btn-success:not([href*="wa.me"]):not([href*="whatsapp.com"]):not(.btn-whatsapp):not(.contact-link-whatsapp):hover {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%) !important;
    border-color: #d97706 !important;
    color: #081226 !important;
}

/* 6) Universal Readability & Visibility Matrix (Light & Dark Modes) */
html:not([data-theme="dark"]) :is(.card, .section-card, .fee-card, .admin-card, .exam-card, .club-card, .hs-card, .svc-card, .scm-card, .grv-card, .white-card, .policy-card) :is(.text-warning, .text-gold):not(.badge):not(.bg-navy *) {
    color: #b45309 !important;
}

:is(.bg-warning, .badge.bg-warning, .badge.text-bg-warning, .btn-warning, .btn-gold) {
    color: #081226 !important;
}

:is(.bg-warning, .badge.bg-warning, .badge.text-bg-warning, .btn-warning, .btn-gold) * {
    color: #081226 !important;
}

:is(.bg-navy, .bg-dark, .dark-section, .tp-leader-card, .rvit-leader-card, .overview-cta-box, .premium-contact) {
    color: #f8fafc !important;
}

:is(.bg-navy, .bg-dark, .dark-section, .tp-leader-card, .rvit-leader-card, .overview-cta-box, .premium-contact) :is(h1, h2, h3, h4, h5, h6, .section-title) {
    color: #ffffff !important;
}

:is(.bg-navy, .bg-dark, .dark-section, .tp-leader-card, .rvit-leader-card, .overview-cta-box, .premium-contact) :is(p, small, li, .text-muted, .text-secondary):not(.badge):not(.btn) {
    color: #cbd5e1 !important;
}

:is(.bg-navy, .bg-dark, .dark-section, .tp-leader-card, .rvit-leader-card, .overview-cta-box, .premium-contact) :is(.text-dark, .text-navy):not(.bg-warning):not(.badge.bg-warning):not(.btn-warning):not(.bg-white):not(.bg-light) {
    color: #f8fafc !important;
}

:is(.bg-navy, .bg-dark, .dark-section, .tp-leader-card, .rvit-leader-card, .overview-cta-box, .premium-contact) .badge.bg-primary {
    background-color: rgba(255, 255, 255, 0.14) !important;
    border: 1px solid rgba(251, 191, 36, 0.45) !important;
    color: #fbbf24 !important;
}

:is(.bg-navy, .bg-dark, .dark-section, .tp-leader-card, .rvit-leader-card, .overview-cta-box, .premium-contact) .badge.bg-primary i {
    color: #fbbf24 !important;
}

/* Dark Mode Page-Wide Contrast Safety Net */
html[data-theme="dark"] :is(.card, .section-card, .fee-card, .admin-card, .exam-card, .club-card, .hs-card, .svc-card, .scm-card, .grv-card, .white-card, .policy-card, .modal-content, .accordion-item, .list-group-item) {
    background-color: #102040 !important;
    border-color: rgba(251, 191, 36, 0.18) !important;
    color: #f1f5f9 !important;
}

html[data-theme="dark"] :is(.card, .section-card, .modal-content, .accordion-body, .list-group-item) :is(h1, h2, h3, h4, h5, h6, strong, .text-dark, .text-navy, .text-black):not(.badge):not(.bg-warning):not(.btn-warning) {
    color: #f8fafc !important;
}

html[data-theme="dark"] :is(.card, .section-card, .modal-content, .accordion-body, .list-group-item) :is(.text-secondary, .text-muted, small) {
    color: #cbd5e1 !important;
}

html[data-theme="dark"] :is([class*="-icon-rose"], [class*="-icon-purple"], [class*="-icon-pink"], .bg-purple-subtle, .bg-pink-subtle, .text-purple, .text-pink) {
    background: rgba(251, 191, 36, 0.14) !important;
    color: #fbbf24 !important;
    border-color: rgba(251, 191, 36, 0.28) !important;
}

html[data-theme="dark"] :is(.form-control, .form-select, textarea.form-control) {
    background-color: #0b1830 !important;
    border-color: rgba(255, 255, 255, 0.18) !important;
    color: #f8fafc !important;
}

html[data-theme="dark"] :is(.form-control, .form-select)::placeholder {
    color: #94a3b8 !important;
}

html[data-theme="dark"] .btn-outline-dark {
    color: #f8fafc !important;
    border-color: rgba(255, 255, 255, 0.28) !important;
}

html[data-theme="dark"] .btn-outline-dark:hover {
    background-color: #fbbf24 !important;
    border-color: #fbbf24 !important;
    color: #081226 !important;
}

/* ============================================================================
   13. Global Dual-Tier Docked Navigation (Hero Subnav + Horizontal Sidebars)
   Loaded after $extraHead so it takes uniform effect across ALL RVIT pages
   (Admission Procedure, College Overview, Departments, Governance, Portals)
   ============================================================================ */
:is(.ap-anchor-section, .dept-layout .content-area [id], main section[id], .aicte-register[id]) {
    scroll-margin-top: calc(var(--rvit-subnav-dock-bottom, 108px) + 18px);
}

html .dept-layout.rvit-dept-has-docked {
    z-index: 1035 !important;
}

/* Base high-specificity safety for docked horizontal sidebars on desktop & mobile */
@media (min-width: 992px) {
    html body .dept-layout > :is(.sidebar, aside.sidebar, .dept-sidebar, aside.dept-sidebar).is-docked {
        position: fixed !important;
        top: var(--rvit-subnav-dock-top, 64px) !important;
        left: 0 !important;
        right: 0 !important;
        bottom: auto !important;
        transform: none !important;
        z-index: 1035 !important;
        width: fit-content !important;
        max-width: min(1296px, calc(100vw - 24px)) !important;
        margin: 0 auto !important;
        padding: 4px 8px !important;
        border-radius: 999px !important;
        background: linear-gradient(135deg, rgba(251, 191, 36, 0.94) 0%, rgba(245, 158, 11, 0.96) 52%, rgba(251, 191, 36, 0.94) 100%) !important;
        backdrop-filter: blur(18px) saturate(165%);
        -webkit-backdrop-filter: blur(18px) saturate(165%);
        border: 1px solid rgba(16, 32, 64, 0.18) !important;
        border-top-color: rgba(255, 255, 255, 0.58) !important;
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.48),
            0 14px 32px -8px rgba(8, 18, 38, 0.28),
            0 4px 12px rgba(245, 158, 11, 0.22) !important;
        animation: rvitSubnavDockDesktop 0.22s cubic-bezier(0.16, 1, 0.3, 1) both;
    }

    html[data-theme="dark"] body .dept-layout > :is(.sidebar, aside.sidebar, .dept-sidebar, aside.dept-sidebar).is-docked {
        background: linear-gradient(135deg, rgba(245, 158, 11, 0.93) 0%, rgba(217, 119, 6, 0.95) 52%, rgba(245, 158, 11, 0.93) 100%) !important;
        border-color: rgba(251, 191, 36, 0.55) !important;
        box-shadow:
            inset 0 1px 0 rgba(255, 248, 220, 0.32),
            0 16px 36px rgba(0, 0, 0, 0.45),
            0 4px 14px rgba(245, 158, 11, 0.24) !important;
    }

    html body .dept-layout > :is(.sidebar, aside.sidebar, .dept-sidebar, aside.dept-sidebar).is-docked .sidebar-content {
        display: flex !important;
        flex-flow: row nowrap !important;
        justify-content: flex-start !important;
        align-items: center !important;
        overflow-x: auto !important;
        scrollbar-width: none !important;
        scroll-padding-inline: 16px;
        width: auto !important;
        max-width: 100% !important;
        gap: 3px !important;
        padding: 0 !important;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
    }

    html body .dept-layout > :is(.sidebar, aside.sidebar, .dept-sidebar, aside.dept-sidebar).is-docked .sidebar-content::-webkit-scrollbar {
        display: none;
    }

    html body .dept-layout > :is(.sidebar, aside.sidebar, .dept-sidebar, aside.dept-sidebar).is-docked .nav-group {
        display: flex !important;
        flex: 0 0 auto !important;
        flex-wrap: nowrap !important;
        width: auto !important;
        gap: 3px !important;
        padding: 0 !important;
    }

    html body .dept-layout > :is(.sidebar, aside.sidebar, .dept-sidebar, aside.dept-sidebar).is-docked .sidebar-link {
        flex: 0 0 auto !important;
        min-height: 29px !important;
        padding: 4px 10px !important;
        font-size: 0.75rem !important;
        color: #102040 !important;
        background: transparent !important;
        border-color: transparent !important;
    }

    html body .dept-layout > :is(.sidebar, aside.sidebar, .dept-sidebar, aside.dept-sidebar).is-docked .sidebar-link i {
        color: #102040 !important;
    }

    html body .dept-layout > :is(.sidebar, aside.sidebar, .dept-sidebar, aside.dept-sidebar).is-docked .sidebar-link:hover {
        background: rgba(16, 32, 64, 0.1) !important;
        color: #081226 !important;
    }

    html body .dept-layout > :is(.sidebar, aside.sidebar, .dept-sidebar, aside.dept-sidebar).is-docked .sidebar-link.active {
        background: #102040 !important;
        color: #ffffff !important;
        -webkit-text-fill-color: #ffffff !important;
        border-color: #102040 !important;
        box-shadow: 0 4px 12px rgba(8, 18, 38, 0.28) !important;
    }

    html body .dept-layout > :is(.sidebar, aside.sidebar, .dept-sidebar, aside.dept-sidebar).is-docked .sidebar-link.active i {
        color: #fbbf24 !important;
        -webkit-text-fill-color: #fbbf24 !important;
    }
}

@media (max-width: 991.98px) {
    html body .dept-layout > :is(.sidebar, aside.sidebar, .dept-sidebar, aside.dept-sidebar).is-docked {
        position: fixed !important;
        top: var(--rvit-subnav-dock-top, 53px) !important;
        left: 0 !important;
        right: 0 !important;
        bottom: auto !important;
        transform: none !important;
        z-index: 1035 !important;
        width: 100% !important;
        max-width: 100vw !important;
        margin: 0 !important;
        padding: 5px 12px !important;
        border-radius: 0 !important;
        background: linear-gradient(90deg, rgba(245, 158, 11, 0.96) 0%, rgba(251, 191, 36, 0.97) 50%, rgba(245, 158, 11, 0.96) 100%) !important;
        backdrop-filter: blur(16px) saturate(160%);
        -webkit-backdrop-filter: blur(16px) saturate(160%);
        border: 0 !important;
        border-top: 1px solid rgba(16, 32, 64, 0.14) !important;
        border-bottom: 1px solid rgba(180, 83, 9, 0.32) !important;
        box-shadow: 0 10px 24px -6px rgba(8, 18, 38, 0.24) !important;
        animation: rvitSubnavDockMobile 0.2s cubic-bezier(0.16, 1, 0.3, 1) both;
    }

    html body .dept-layout > :is(.sidebar, aside.sidebar, .dept-sidebar, aside.dept-sidebar).is-docked .sidebar-toggle {
        display: none !important;
    }

    html body .dept-layout > :is(.sidebar, aside.sidebar, .dept-sidebar, aside.dept-sidebar).is-docked .sidebar-content {
        display: flex !important;
        flex-flow: row nowrap !important;
        align-items: center !important;
        justify-content: flex-start !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none !important;
        scroll-padding-inline: 14px;
        width: 100% !important;
        gap: 5px !important;
        padding: 0 !important;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
    }

    html body .dept-layout > :is(.sidebar, aside.sidebar, .dept-sidebar, aside.dept-sidebar).is-docked .sidebar-content::-webkit-scrollbar {
        display: none;
    }

    html body .dept-layout > :is(.sidebar, aside.sidebar, .dept-sidebar, aside.dept-sidebar).is-docked .nav-group {
        display: flex !important;
        flex: 0 0 auto !important;
        flex-wrap: nowrap !important;
        width: auto !important;
        gap: 5px !important;
        padding: 0 !important;
    }

    html body .dept-layout > :is(.sidebar, aside.sidebar, .dept-sidebar, aside.dept-sidebar).is-docked .sidebar-link {
        flex: 0 0 auto !important;
        min-height: 29px !important;
        padding: 4px 11px !important;
        font-size: 0.76rem !important;
        color: #102040 !important;
        background: transparent !important;
        border-color: transparent !important;
    }

    html body .dept-layout > :is(.sidebar, aside.sidebar, .dept-sidebar, aside.dept-sidebar).is-docked .sidebar-link i {
        color: #102040 !important;
    }

    html body .dept-layout > :is(.sidebar, aside.sidebar, .dept-sidebar, aside.dept-sidebar).is-docked .sidebar-link.active {
        background: #102040 !important;
        color: #ffffff !important;
        -webkit-text-fill-color: #ffffff !important;
        border-color: #102040 !important;
        box-shadow: 0 4px 12px rgba(8, 18, 38, 0.28) !important;
    }

    html body .dept-layout > :is(.sidebar, aside.sidebar, .dept-sidebar, aside.dept-sidebar).is-docked .sidebar-link.active i {
        color: #fbbf24 !important;
        -webkit-text-fill-color: #fbbf24 !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    html body .dept-layout > :is(.sidebar, aside.sidebar, .dept-sidebar, aside.dept-sidebar).is-docked {
        animation: none !important;
    }
}