/*
 * Rajiv Gandhi College
 * Production Header
 *
 * Three layers only:
 * 1. Branding
 * 2. Notice bar
 * 3. Navigation
 */

.rgc-header,
.rgc-header * {
    box-sizing: border-box;
}

.rgc-header {
    --rgc-navy: #073b73;
    --rgc-navy-dark: #062d59;
    --rgc-blue: #0b5ca8;
    --rgc-orange: #ef8615;
    --rgc-orange-dark: #d96f00;
    --rgc-border: #d8e0e8;
    --rgc-text: #202b36;
    --rgc-muted: #5d6c7b;
    --rgc-white: #ffffff;

    width: 100%;
    color: var(--rgc-text);
    background: var(--rgc-white);
    font-family:
        "Noto Sans Devanagari",
        "Nirmala UI",
        "Mangal",
        "Segoe UI",
        Arial,
        sans-serif;
}

.rgc-header a {
    text-decoration: none;
}

.rgc-container {
    width: min(100% - 32px, 1320px);
    margin-inline: auto;
}


/* =========================================================
   LAYER 1 — BRANDING
   ========================================================= */

.rgc-main-brand {
    background: #ffffff;
    border-bottom: 1px solid var(--rgc-border);
}

.rgc-main-brand-inner {
    min-height: 112px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.rgc-brand {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--rgc-text);
}

.rgc-brand-logo {
    width: 82px;
    height: 82px;
    flex: 0 0 82px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rgc-brand-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.rgc-brand-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.rgc-brand-name {
    color: var(--rgc-navy);
    font-size: clamp(24px, 2.1vw, 32px);
    font-weight: 800;
    line-height: 1.08;
}

.rgc-brand-hindi {
    margin-top: 2px;
    color: var(--rgc-navy);
    font-size: clamp(17px, 1.4vw, 21px);
    font-weight: 700;
    line-height: 1.3;
}

.rgc-brand-subtitle {
    margin-top: 3px;
    color: var(--rgc-muted);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
}

.rgc-brand-motto {
    margin-top: 2px;
    color: var(--rgc-orange);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
}

.rgc-brand-actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

.rgc-login-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    color: var(--rgc-navy);
    border: 1px solid transparent;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.rgc-login-link:hover,
.rgc-login-link:focus-visible {
    color: var(--rgc-orange-dark);
    border-color: var(--rgc-border);
    outline: none;
}

.rgc-login-divider {
    width: 1px;
    height: 20px;
    background: var(--rgc-border);
}


/* =========================================================
   LAYER 2 — NOTICE BAR
   ========================================================= */

.rgc-notice-bar {
    min-height: 42px;
    background: #eef3f8;
    border-bottom: 1px solid var(--rgc-border);
}

.rgc-notice-inner {
    min-height: 42px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
}

.rgc-notice-label {
    padding: 5px 10px;
    background: var(--rgc-orange);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .6px;
    line-height: 1;
    white-space: nowrap;
}

.rgc-notice-content {
    min-width: 0;
    min-height: 30px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.rgc-notice-item {
    display: none;
    width: 100%;
    overflow: hidden;
    color: var(--rgc-navy-dark);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.rgc-notice-item.is-active {
    display: block;
    animation: rgcNoticeFade .3s ease;
}

@keyframes rgcNoticeFade {
    from {
        opacity: 0;
        transform: translateY(4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.rgc-view-notices {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--rgc-blue);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.rgc-view-notices:hover,
.rgc-view-notices:focus-visible {
    color: var(--rgc-orange-dark);
}


/* =========================================================
   LAYER 3 — NAVIGATION
   ========================================================= */

.rgc-nav {
    position: relative;
    z-index: 1000;
    background: var(--rgc-navy);
    border-bottom: 4px solid var(--rgc-orange);
}

.rgc-nav-inner {
    min-height: 57px;
    display: flex;
    align-items: stretch;
    gap: 12px;
}

.rgc-nav-list {
    min-width: 0;
    flex: 1 1 auto;
    display: flex;
    align-items: stretch;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rgc-nav-item {
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rgc-nav-link {
    min-height: 57px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 15px;
    color: #ffffff;
    border: 0;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.rgc-nav-link:hover,
.rgc-nav-link:focus-visible,
.rgc-nav-link.is-active {
    color: #ffffff;
    background: var(--rgc-navy-dark);
    outline: none;
}

.rgc-nav-link.is-active {
    box-shadow: inset 0 -4px 0 var(--rgc-orange);
}

.rgc-nav-arrow {
    font-size: 9px;
    transition: transform .2s ease;
}

.rgc-nav-item:hover > .rgc-nav-link .rgc-nav-arrow,
.rgc-nav-item:focus-within > .rgc-nav-link .rgc-nav-arrow {
    transform: rotate(180deg);
}


/* =========================================================
   DROPDOWNS
   ========================================================= */

.rgc-dropdown {
    position: absolute;
    top: calc(100% + 0px);
    left: 0;
    z-index: 1100;

    min-width: 225px;
    margin: 0;
    padding: 6px 0;

    background: #ffffff;
    border: 1px solid var(--rgc-border);
    border-top: 3px solid var(--rgc-orange);

    list-style: none;

    opacity: 0;
    visibility: hidden;
    transform: translateY(5px);
    transition:
        opacity .16s ease,
        transform .16s ease,
        visibility .16s ease;
}

.rgc-dropdown li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.rgc-nav-item:hover > .rgc-dropdown,
.rgc-nav-item:focus-within > .rgc-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.rgc-dropdown-link {
    display: block;
    padding: 10px 15px;
    color: var(--rgc-text);
    border-left: 3px solid transparent;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
}

.rgc-dropdown-link:hover,
.rgc-dropdown-link:focus-visible,
.rgc-dropdown-link.is-active {
    color: var(--rgc-navy);
    background: #f2f6fa;
    border-left-color: var(--rgc-orange);
    outline: none;
}


/* =========================================================
   CHECK RESULT
   ========================================================= */

.rgc-check-result {
    flex: 0 0 auto;
    align-self: center;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    min-height: 38px;
    padding: 0 15px;

    background: var(--rgc-orange);
    color: #ffffff !important;
    border: 1px solid var(--rgc-orange);

    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.rgc-check-result:hover,
.rgc-check-result:focus-visible {
    background: var(--rgc-orange-dark);
    border-color: var(--rgc-orange-dark);
    color: #ffffff !important;
    outline: none;
}


/* =========================================================
   MOBILE TOGGLE
   ========================================================= */

.rgc-mobile-toggle {
    display: none;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;
    margin: auto 0;

    background: var(--rgc-navy-dark);
    color: #ffffff;

    border: 1px solid rgba(255,255,255,.2);

    font-size: 23px;
    cursor: pointer;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1050px) {

    .rgc-nav-link {
        padding-inline: 9px;
        font-size: 12px;
    }

    .rgc-check-result {
        padding-inline: 10px;
    }

    .rgc-brand-actions {
        gap: 2px;
    }

    .rgc-login-link {
        padding-inline: 6px;
        font-size: 12px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767.98px) {

    .rgc-container {
        width: min(100% - 20px, 1320px);
    }


    /* Branding */

    .rgc-main-brand-inner {
        min-height: 84px;
        gap: 10px;
    }

    .rgc-brand {
        gap: 9px;
    }

    .rgc-brand-logo {
        width: 64px;
        height: 64px;
        flex-basis: 64px;
    }

    .rgc-brand-name {
        font-size: 20px;
    }

    .rgc-brand-hindi {
        font-size: 14px;
    }

    .rgc-brand-subtitle {
        font-size: 10px;
    }

    .rgc-brand-motto {
        font-size: 10px;
    }

    .rgc-brand-actions {
        display: none;
    }


    /* Notice */

    .rgc-notice-bar {
        min-height: auto;
    }

    .rgc-notice-inner {
        min-height: 70px;
        grid-template-columns: auto minmax(0, 1fr);
        grid-template-rows: auto auto;
        gap: 5px 9px;
        padding-block: 7px;
    }

    .rgc-notice-label {
        grid-row: 1 / 3;
        align-self: center;
        padding: 5px 7px;
        font-size: 10px;
    }

    .rgc-notice-content {
        min-height: 25px;
    }

    .rgc-notice-item {
        font-size: 11px;
        white-space: normal;
        display: none;
        line-height: 1.3;
    }

    .rgc-notice-item.is-active {
        display: block;
    }

    .rgc-view-notices {
        justify-self: start;
        font-size: 11px;
    }


    /* Navigation */

    .rgc-nav-inner {
        min-height: 55px;
        flex-wrap: wrap;
        align-items: center;
        padding-block: 5px;
    }

    .rgc-mobile-toggle {
        display: inline-flex;
    }

    .rgc-nav-list {
        order: 3;
        flex: 0 0 100%;
        width: 100%;
        display: none;
        flex-direction: column;
        align-items: stretch;
        background: #ffffff;
        border-top: 1px solid var(--rgc-border);
    }

    .rgc-nav-list.is-open {
        display: flex;
    }

    .rgc-nav-item {
        width: 100%;
        background: #ffffff;
    }

    .rgc-nav-link {
        width: 100%;
        min-height: 44px;
        justify-content: space-between;
        padding: 0 12px;
        color: var(--rgc-navy-dark);
        background: #ffffff;
        border-bottom: 1px solid var(--rgc-border);
        font-size: 13px;
    }

    .rgc-nav-link:hover,
    .rgc-nav-link:focus-visible,
    .rgc-nav-link.is-active {
        color: var(--rgc-navy);
        background: #f2f6fa;
        box-shadow: inset 4px 0 0 var(--rgc-orange);
    }

    .rgc-dropdown {
        position: static;
        display: none;
        width: 100%;
        min-width: 0;

        opacity: 1;
        visibility: visible;
        transform: none;

        padding: 0;

        border: 0;
        border-bottom: 1px solid var(--rgc-border);
        background: #f7f9fb;
    }

    .rgc-nav-item.is-open > .rgc-dropdown {
        display: block;
    }

    .rgc-dropdown-link {
        padding: 9px 20px;
        border-left: 3px solid transparent;
        font-size: 12px;
    }

    .rgc-check-result {
        margin-left: auto;
        min-height: 40px;
        padding-inline: 11px;
        font-size: 11px;
    }
}


/* =========================================================
   SMALL PHONES
   ========================================================= */

@media (max-width: 420px) {

    .rgc-container {
        width: min(100% - 14px, 1320px);
    }

    .rgc-brand-logo {
        width: 56px;
        height: 56px;
        flex-basis: 56px;
    }

    .rgc-brand-name {
        font-size: 17px;
    }

    .rgc-brand-hindi {
        font-size: 12px;
    }

    .rgc-brand-subtitle {
        font-size: 9px;
    }

    .rgc-brand-motto {
        font-size: 9px;
    }

    .rgc-notice-inner {
        min-height: 76px;
    }

    .rgc-check-result span {
        display: none;
    }

    .rgc-check-result {
        width: 40px;
        padding: 0;
    }
}
/* =========================================================
   FINAL RESPONSIVE RGC HEADER FIX
   ========================================================= */

.rgc-main-brand-inner {
    gap: 24px;
}

.rgc-brand-actions {
    margin-left: auto;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

.rgc-login-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 36px;
    padding: 0 10px;
    color: var(--rgc-navy);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.rgc-login-link:hover {
    color: var(--rgc-orange-dark);
}

.rgc-login-divider {
    width: 1px;
    height: 18px;
    background: var(--rgc-border);
}

.rgc-notice-content {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    min-height: 28px;
    overflow: hidden;
}

.rgc-view-notices {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--rgc-navy);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.rgc-view-notices:hover {
    color: var(--rgc-orange-dark);
}

/* Tablet */
@media (max-width: 991px) {

    .rgc-main-brand,
    .rgc-main-brand-inner {
        min-height: 118px;
    }

    .rgc-main-brand-inner {
        padding-top: 12px;
        padding-bottom: 12px;
        gap: 14px;
    }

    .rgc-brand {
        flex: 1 1 auto;
        min-width: 0;
    }

    .rgc-brand-actions {
        align-self: flex-start;
        padding-top: 4px;
    }

    .rgc-login-link {
        padding: 0 7px;
        font-size: 12px;
    }

    .rgc-brand-name {
        font-size: 27px;
    }

    .rgc-brand-hindi {
        font-size: 19px;
    }

    .rgc-brand-subtitle {
        font-size: 11px;
    }
}

/* Mobile */
@media (max-width: 767px) {

    .rgc-main-brand,
    .rgc-main-brand-inner {
        min-height: 0;
    }

    .rgc-main-brand-inner {
        padding-top: 9px;
        padding-bottom: 9px;
        gap: 8px;
        align-items: flex-start;
    }

    .rgc-brand {
        width: auto;
        min-width: 0;
        flex: 1 1 auto;
        gap: 8px;
        align-items: flex-start;
    }

    .rgc-brand-logo {
        width: 54px;
        height: 62px;
        flex: 0 0 54px;
    }

    .rgc-brand-copy {
        min-width: 0;
        padding-top: 1px;
    }

    .rgc-brand-name {
        max-width: 100%;
        font-size: 17px;
        line-height: 1.15;
        letter-spacing: -0.1px;
    }

    .rgc-brand-hindi {
        margin-top: 3px;
        max-width: 100%;
        font-size: 14px;
        line-height: 1.3;
        font-weight: 700;
    }

    .rgc-brand-subtitle {
        margin-top: 3px;
        font-size: 9px;
        line-height: 1.25;
        font-weight: 600;
    }

    .rgc-brand-motto {
        display: none;
    }

    /* Login links stay visible on mobile */
    .rgc-brand-actions {
        margin-left: 0;
        flex: 0 0 auto;
        flex-direction: column;
        align-items: flex-end;
        padding-top: 0;
    }

    .rgc-login-link {
        min-height: 25px;
        padding: 0;
        gap: 4px;
        font-size: 10px;
        line-height: 1;
    }

    .rgc-login-link i {
        font-size: 11px;
    }

    .rgc-login-divider {
        width: 34px;
        height: 1px;
        margin: 1px 0;
    }

    /* Notice */
    .rgc-notice-inner {
        min-height: 42px;
        gap: 7px;
    }

    .rgc-notice-content {
        min-width: 0;
        min-height: 30px;
    }

    .rgc-notice-item {
        font-size: 11px;
        line-height: 1.25;
    }

    .rgc-view-notices {
        font-size: 10px;
        gap: 3px;
    }

    /* Navigation */
    .rgc-nav-inner {
        padding-left: 12px;
        padding-right: 12px;
    }
}

/* Small phones */
@media (max-width: 430px) {

    .rgc-container {
        padding-left: 10px;
        padding-right: 10px;
    }

    .rgc-main-brand-inner {
        gap: 6px;
    }

    .rgc-brand-logo {
        width: 48px;
        height: 56px;
        flex-basis: 48px;
    }

    .rgc-brand {
        gap: 7px;
    }

    .rgc-brand-name {
        font-size: 15px;
        line-height: 1.15;
    }

    .rgc-brand-hindi {
        font-size: 12px;
        line-height: 1.28;
    }

    .rgc-brand-subtitle {
        font-size: 8px;
    }

    .rgc-brand-actions {
        min-width: 70px;
    }

    .rgc-login-link {
        font-size: 9px;
    }

    .rgc-notice-label {
        padding: 5px 6px;
        font-size: 8px;
    }

    .rgc-notice-item {
        font-size: 10px;
    }

    .rgc-view-notices span {
        display: none;
    }

    .rgc-view-notices i {
        font-size: 14px;
    }
}

/* 360px phones */
@media (max-width: 360px) {

    .rgc-main-brand-inner {
        gap: 5px;
    }

    .rgc-brand-logo {
        width: 44px;
        height: 52px;
        flex-basis: 44px;
    }

    .rgc-brand {
        gap: 6px;
    }

    .rgc-brand-name {
        font-size: 14px;
    }

    .rgc-brand-hindi {
        font-size: 11px;
    }

    .rgc-brand-subtitle {
        font-size: 7.5px;
    }

    .rgc-brand-actions {
        min-width: 64px;
    }

    .rgc-login-link {
        font-size: 8px;
    }

    .rgc-notice-inner {
        gap: 5px;
    }

    .rgc-notice-item {
        font-size: 9px;
    }
}
/* =========================================================
   FINAL MOBILE / TABLET RESPONSIVE FIX
   Desktop >= 992px remains unchanged.
========================================================= */

@media (max-width: 991px) {

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

    .rgc-header {
        width: 100%;
        max-width: 100%;
        overflow: visible;
    }

    .rgc-container {
        width: 100%;
        max-width: 100%;
    }

    /* -----------------------------------------------------
       BRANDING
    ----------------------------------------------------- */

    .rgc-main-brand {
        min-height: 0;
        height: auto;
    }

    .rgc-main-brand-inner {
        min-height: 0;
        height: auto;
        width: 100%;
        display: flex;
        align-items: flex-start;
        padding-top: 12px;
        padding-bottom: 12px;
        gap: 12px;
    }

    .rgc-brand {
        min-width: 0;
        width: 100%;
        display: flex;
        align-items: flex-start;
        gap: 12px;
    }

    .rgc-brand-logo {
        width: 60px;
        height: 68px;
        min-width: 60px;
        flex: 0 0 60px;
    }

    .rgc-brand-copy {
        min-width: 0;
        width: 100%;
        max-width: 100%;
        overflow: visible;
    }

    .rgc-brand-name {
        display: block;
        width: 100%;
        max-width: 100%;
        font-size: 18px;
        line-height: 1.16;
        font-weight: 700;
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: normal;
    }

    .rgc-brand-hindi {
        display: block;
        width: 100%;
        max-width: 100%;
        margin-top: 4px;
        font-size: 13px;
        line-height: 1.35;
        font-weight: 700;
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: normal;
    }

    .rgc-brand-subtitle {
        display: block;
        width: 100%;
        max-width: 100%;
        margin-top: 4px;
        font-size: 10px;
        line-height: 1.3;
        font-weight: 600;
        white-space: normal;
    }

    .rgc-brand-motto {
        display: none;
    }

    /* Login is moved into mobile menu by JS */
    .rgc-main-brand-inner > .rgc-brand-actions {
        display: none;
    }

    /* -----------------------------------------------------
       NOTICE BAR
    ----------------------------------------------------- */

    .rgc-notice-bar {
        width: 100%;
        min-height: 0;
        height: auto;
        overflow: hidden;
    }

    .rgc-notice-inner {
        width: 100%;
        min-height: 48px;
        height: auto;
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        grid-template-rows: auto auto;
        column-gap: 8px;
        row-gap: 2px;
        align-items: center;
        padding-top: 7px;
        padding-bottom: 7px;
    }

    .rgc-notice-label {
        grid-column: 1;
        grid-row: 1 / span 2;
        align-self: center;
        padding: 6px 7px;
        font-size: 9px;
        line-height: 1;
        white-space: nowrap;
    }

    .rgc-notice-content {
        position: relative;
        grid-column: 2;
        grid-row: 1;
        width: 100%;
        min-width: 0;
        min-height: 18px;
        overflow: hidden;
    }

    .rgc-notice-item {
        position: absolute;
        inset: 0;
        width: 100%;
        min-width: 0;
        padding: 0;
        margin: 0;
        display: flex !important;
        align-items: center;
        font-size: 12px;
        line-height: 1.3;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .rgc-view-notices {
        grid-column: 2;
        grid-row: 2;
        justify-self: start;
        display: inline-flex;
        align-items: center;
        gap: 5px;
        min-height: 20px;
        font-size: 10px;
        line-height: 1.2;
        white-space: nowrap;
    }

    /* -----------------------------------------------------
       MOBILE NAVIGATION BAR
    ----------------------------------------------------- */

    .rgc-nav {
        width: 100%;
        min-height: 56px;
        height: auto;
        overflow: visible;
    }

    .rgc-nav-inner {
        width: 100%;
        min-height: 56px;
        height: auto;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        padding-top: 7px;
        padding-bottom: 7px;
        gap: 8px;
    }

    .rgc-mobile-toggle {
        width: 44px;
        height: 44px;
        min-width: 44px;
        flex: 0 0 44px;
        margin: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        color: #fff;
        background: var(--rgc-navy-dark);
        border: 1px solid rgba(255,255,255,.25);
        font-size: 22px;
        cursor: pointer;
    }

    .rgc-mobile-toggle:focus-visible {
        outline: 3px solid #fff;
        outline-offset: 2px;
    }

    .rgc-nav-list {
        display: none;
        width: 100%;
        min-width: 0;
        flex: 0 0 100%;
        order: 10;
        flex-direction: column;
        align-items: stretch;
        margin: 0;
        padding: 0;
        list-style: none;
        background: #fff;
        border-top: 1px solid var(--rgc-border);
    }

    .rgc-nav-list.is-open {
        display: flex;
    }

    .rgc-nav-item {
        width: 100%;
        min-width: 0;
        display: block;
        margin: 0;
        padding: 0;
    }

    .rgc-nav-link {
        width: 100%;
        min-height: 44px;
        margin: 0;
        padding: 10px 14px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        color: var(--rgc-navy-dark);
        background: #fff;
        border: 0;
        border-bottom: 1px solid var(--rgc-border);
        font-size: 14px;
        line-height: 1.3;
        text-align: left;
        white-space: normal;
    }

    .rgc-nav-link:hover,
    .rgc-nav-link.is-active {
        color: var(--rgc-navy);
        background: #f4f7fa;
    }

    .rgc-nav-arrow {
        flex: 0 0 auto;
        font-size: 10px;
    }

    .rgc-dropdown {
        position: static;
        width: 100%;
        min-width: 0;
        margin: 0;
        padding: 0;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        pointer-events: auto;
        background: #f7f9fb;
        border: 0;
        border-bottom: 1px solid var(--rgc-border);
        box-shadow: none;
    }

    .rgc-nav-item.is-open > .rgc-dropdown,
    .rgc-dropdown.is-open {
        display: block;
    }

    .rgc-dropdown-link {
        min-height: 42px;
        width: 100%;
        padding: 10px 30px;
        display: flex;
        align-items: center;
        color: #26384a;
        background: #f7f9fb;
        border-bottom: 1px solid #e5ebf0;
        font-size: 13px;
        line-height: 1.3;
    }

    .rgc-dropdown-link:hover,
    .rgc-dropdown-link.is-active {
        padding-left: 27px;
        color: var(--rgc-navy);
        background: #eef3f8;
        border-left: 3px solid var(--rgc-orange);
    }

    /* Check Result stays exactly once, beside hamburger */
    .rgc-check-result {
        order: 2;
        margin: 0 0 0 auto;
        min-height: 44px;
        height: 44px;
        padding: 0 14px;
        flex: 0 0 auto;
        font-size: 12px;
        line-height: 1;
        white-space: nowrap;
    }

    /* -----------------------------------------------------
       LOGIN LINKS INSIDE OPEN MOBILE MENU
    ----------------------------------------------------- */

    .rgc-nav-list > .rgc-mobile-login-section {
        width: 100%;
        margin: 0;
        padding: 10px 14px 12px;
        list-style: none;
        background: #fff;
        border-top: 1px solid var(--rgc-border);
    }

    .rgc-mobile-login-title {
        display: block;
        margin-bottom: 5px;
        color: var(--rgc-muted);
        font-size: 10px;
        font-weight: 700;
        letter-spacing: .06em;
        text-transform: uppercase;
    }

    .rgc-nav-list > .rgc-mobile-login-section .rgc-brand-actions {
        display: flex !important;
        width: 100%;
        margin: 0;
        padding: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .rgc-nav-list > .rgc-mobile-login-section .rgc-login-link {
        width: 100%;
        min-height: 44px;
        padding: 10px 0;
        display: flex;
        align-items: center;
        gap: 9px;
        color: var(--rgc-navy);
        font-size: 13px;
        font-weight: 700;
        text-decoration: none;
        border-bottom: 1px solid #edf1f5;
    }

    .rgc-nav-list > .rgc-mobile-login-section .rgc-login-link:last-child {
        border-bottom: 0;
    }

    .rgc-nav-list > .rgc-mobile-login-section .rgc-login-divider {
        display: none;
    }

    .rgc-nav-list > .rgc-mobile-login-section .rgc-login-link i {
        font-size: 16px;
    }

    .rgc-nav-list > .rgc-mobile-menu-result {
        width: 100%;
        min-height: 44px;
        margin: 0;
        padding: 10px 14px;
        display: none;
        align-items: center;
        justify-content: center;
        background: var(--rgc-orange);
        color: #fff;
        text-decoration: none;
        font-size: 13px;
        font-weight: 700;
    }

    /* -----------------------------------------------------
       GLOBAL MOBILE SAFETY
    ----------------------------------------------------- */

    .rgc-header img {
        max-width: 100%;
    }

    .rgc-header a,
    .rgc-header button {
        -webkit-tap-highlight-color: transparent;
    }
}

/* ---------------------------------------------------------
   SMALL MOBILE
--------------------------------------------------------- */

@media (max-width: 479px) {

    .rgc-container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .rgc-main-brand-inner {
        padding-top: 10px;
        padding-bottom: 10px;
        gap: 8px;
    }

    .rgc-brand {
        gap: 9px;
    }

    .rgc-brand-logo {
        width: 56px;
        height: 64px;
        min-width: 56px;
        flex-basis: 56px;
    }

    .rgc-brand-name {
        font-size: 17px;
        line-height: 1.16;
    }

    .rgc-brand-hindi {
        margin-top: 4px;
        font-size: 12px;
        line-height: 1.35;
    }

    .rgc-brand-subtitle {
        margin-top: 4px;
        font-size: 9.5px;
        line-height: 1.3;
    }

    .rgc-notice-inner {
        padding-top: 7px;
        padding-bottom: 7px;
        column-gap: 7px;
    }

    .rgc-notice-label {
        padding: 6px 6px;
        font-size: 8px;
    }

    .rgc-notice-item {
        font-size: 11px;
    }

    .rgc-view-notices {
        font-size: 10px;
    }

    .rgc-nav-inner {
        padding-left: 15px;
        padding-right: 15px;
    }

    .rgc-mobile-toggle,
    .rgc-check-result {
        min-height: 44px;
        height: 44px;
    }

    .rgc-check-result {
        padding-left: 12px;
        padding-right: 12px;
    }
}

/* ---------------------------------------------------------
   360px
--------------------------------------------------------- */

@media (max-width: 360px) {

    .rgc-container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .rgc-main-brand-inner {
        gap: 6px;
    }

    .rgc-brand {
        gap: 7px;
    }

    .rgc-brand-logo {
        width: 52px;
        height: 60px;
        min-width: 52px;
        flex-basis: 52px;
    }

    .rgc-brand-name {
        font-size: 16px;
        line-height: 1.15;
    }

    .rgc-brand-hindi {
        font-size: 11px;
        line-height: 1.32;
    }

    .rgc-brand-subtitle {
        font-size: 9px;
    }

    .rgc-notice-inner {
        column-gap: 6px;
    }

    .rgc-notice-item {
        font-size: 10px;
    }

    .rgc-notice-label {
        font-size: 8px;
    }

    .rgc-view-notices {
        font-size: 9px;
    }

    .rgc-check-result {
        padding-left: 10px;
        padding-right: 10px;
        font-size: 11px;
    }
}
/* =====================================================
   PROFESSIONAL NOTICE NEWS TICKER CSS

   Only ONE .rgc-notice-item is rendered.

   Animation uses transform only.
   No left / margin-left / width animation.
===================================================== */

.rgc-notice-content {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    isolation: isolate;
}

.rgc-notice-track {
    position: relative;
    display: inline-flex;
    width: max-content;
    min-width: max-content;
    white-space: nowrap;
    will-change: transform;
    transform: translate3d(100%, 0, 0);
    animation: none;
}

.rgc-notice-item {
    position: relative;
    display: inline-block;
    width: max-content;
    min-width: max-content;
    padding: 0;
    margin: 0;
    white-space: nowrap;
    overflow: visible;
    flex: 0 0 auto;
}

@keyframes rgcNoticeScroll {

    from {
        transform: translate3d(100%, 0, 0);
    }

    to {
        transform: translate3d(-100%, 0, 0);
    }
}

.rgc-notice-content:hover
.rgc-notice-track {
    animation-play-state: paused;
}

/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 991px) {

    .rgc-notice-bar {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .rgc-notice-inner {
        width: 100%;
        max-width: 100%;
        min-width: 0;

        display: flex;
        align-items: center;

        gap: 8px;

        padding-top: 7px;
        padding-bottom: 7px;

        overflow: hidden;
    }

    .rgc-notice-label {
        flex: 0 0 50px;
        width: 50px;
        min-width: 50px;

        display: inline-flex;
        align-items: center;
        justify-content: center;

        padding: 6px 5px;

        font-size: 9px;
        line-height: 1;
        white-space: nowrap;

        overflow: hidden;
    }

    .rgc-notice-content {
        flex: 1 1 auto;
        width: auto;
        min-width: 0;
        max-width: none;

        height: 20px;

        display: flex;
        align-items: center;

        overflow: hidden;
        white-space: nowrap;
    }

    .rgc-notice-track {
        height: 20px;

        display: inline-flex;
        align-items: center;

        width: max-content;
        min-width: max-content;

        white-space: nowrap;

        transform: translate3d(100%, 0, 0);
        will-change: transform;
    }

    .rgc-notice-item {
        display: inline-block;

        width: max-content;
        min-width: max-content;

        max-width: none;

        padding: 0;
        margin: 0;

        font-size: 12px;
        line-height: 20px;

        white-space: nowrap;
        overflow: visible;
        text-overflow: clip;
    }

    .rgc-view-notices {
        flex: 0 0 auto;

        display: inline-flex;
        align-items: center;

        min-height: 20px;

        padding: 0;

        font-size: 10px;
        line-height: 1.2;

        white-space: nowrap;

        text-decoration: none;
    }
}

/* =====================================================
   NARROW MOBILE
===================================================== */

@media (max-width: 479px) {

    .rgc-notice-inner {
        gap: 7px;

        padding-left: 15px;
        padding-right: 15px;
    }

    .rgc-notice-label {
        flex: 0 0 48px;
        width: 48px;
        min-width: 48px;

        padding-left: 4px;
        padding-right: 4px;

        font-size: 8px;
    }

    .rgc-notice-content {
        flex: 1 1 auto;
        min-width: 0;
        height: 19px;
    }

    .rgc-notice-track {
        height: 19px;
    }

    .rgc-notice-item {
        font-size: 11px;
        line-height: 19px;
    }

    /*
     * Keep View All accessible without allowing it
     * to sit on top of the scrolling text.
     */
    .rgc-view-notices {
        flex: 0 0 auto;

        max-width: 76px;

        overflow: hidden;

        font-size: 9px;
        line-height: 1.15;

        text-overflow: ellipsis;
    }
}

/* =====================================================
   VERY NARROW PHONES
===================================================== */

@media (max-width: 360px) {

    .rgc-notice-inner {
        gap: 6px;

        padding-left: 12px;
        padding-right: 12px;
    }

    .rgc-notice-label {
        flex: 0 0 46px;
        width: 46px;
        min-width: 46px;

        font-size: 8px;
    }

    .rgc-notice-content {
        height: 18px;
    }

    .rgc-notice-track {
        height: 18px;
    }

    .rgc-notice-item {
        font-size: 10px;
        line-height: 18px;
    }

    .rgc-view-notices {
        max-width: 68px;

        font-size: 8.5px;
    }
}

/* =====================================================
   ACCESSIBILITY
===================================================== */

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

    .rgc-notice-track {
        animation: none !important;
        transform: translate3d(0, 0, 0) !important;
    }

    .rgc-notice-content {
        overflow: hidden;
    }

    .rgc-notice-item {
        max-width: 100%;
        white-space: normal;
    }
}

/* =========================================================
   RGIVTC FINAL HEADER + NOTICE RESPONSIVE OVERRIDE
   ========================================================= */

.rgc-container {
    width: 100%;
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

/* Notice bar */
.rgc-notice-bar {
    width: 100%;
    min-height: 42px;
}

.rgc-notice-inner {
    min-height: 42px;
    padding-top: 6px;
    padding-bottom: 6px;
    column-gap: 14px;
}

.rgc-notice-content {
    min-width: 0;
    overflow: hidden;
}

.rgc-notice-item {
    font-size: 13px;
    line-height: 1.35;
}

/* Main header spacing */
.rgc-brand-inner,
.rgc-nav-inner {
    width: 100%;
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

/* =========================================================
   TABLET / MOBILE
   ========================================================= */

@media (max-width: 991px) {

    .rgc-container,
    .rgc-brand-inner,
    .rgc-nav-inner {
        max-width: 100%;
        padding-left: 18px;
        padding-right: 18px;
    }

    .rgc-notice-inner {
        min-height: 42px;
        padding-top: 6px;
        padding-bottom: 6px;
    }

    .rgc-notice-item {
        font-size: 12px;
    }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .rgc-container,
    .rgc-brand-inner,
    .rgc-nav-inner {
        padding-left: 15px;
        padding-right: 15px;
    }

    .rgc-notice-inner {
        min-height: 40px;
        padding-top: 5px;
        padding-bottom: 5px;
        column-gap: 7px;
    }

    .rgc-notice-label {
        flex: 0 0 48px;
        width: 48px;
        min-width: 48px;
        padding: 6px 4px;
        font-size: 8px;
        text-align: center;
    }

    .rgc-notice-content {
        height: 19px;
        min-height: 19px;
    }

    .rgc-notice-item {
        font-size: 11px;
        line-height: 19px;
    }
}

/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .rgc-container,
    .rgc-brand-inner,
    .rgc-nav-inner {
        padding-left: 12px;
        padding-right: 12px;
    }

    .rgc-notice-inner {
        min-height: 38px;
        padding-top: 5px;
        padding-bottom: 5px;
        column-gap: 6px;
    }

    .rgc-notice-label {
        flex: 0 0 46px;
        width: 46px;
        min-width: 46px;
        font-size: 8px;
    }

    .rgc-notice-content {
        height: 18px;
    }

    .rgc-notice-item {
        font-size: 10px;
        line-height: 18px;
    }
}

/* =========================================================
   FINAL RGIVTC HEADER FIX
   Notice + branding spacing
========================================================= */

/* Branding */
.rgc-main-brand-inner {
    gap: 16px;
}

.rgc-brand {
    flex: 1 1 auto;
    min-width: 0;
}

.rgc-brand-copy {
    flex: 1 1 auto;
    min-width: 0;
}

.rgc-brand-name {
    font-size: clamp(24px, 1.85vw, 29px);
    line-height: 1.08;
}

.rgc-brand-actions {
    flex: 0 0 auto;
    white-space: nowrap;
}

/* Notice: only the active message should be visible */
.rgc-notice-content {
    position: relative;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
}

.rgc-notice-item {
    display: none !important;
    width: 100%;
    margin: 0;
    padding: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rgc-notice-item.is-active {
    display: block !important;
}

/* Desktop notice spacing */
@media (min-width: 992px) {
    .rgc-main-brand-inner {
        min-height: 112px;
    }

    .rgc-brand-name {
        white-space: nowrap;
    }

    .rgc-notice-inner {
        min-height: 42px;
    }
}

/* Tablet */
@media (max-width: 991px) {
    .rgc-brand-name {
        font-size: 24px;
    }

    .rgc-brand-hindi {
        font-size: 17px;
    }

    .rgc-brand-subtitle {
        font-size: 12px;
    }

    .rgc-brand-motto {
        font-size: 11px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .rgc-container {
        width: min(100% - 24px, 1320px);
    }

    .rgc-main-brand-inner {
        min-height: 0;
        padding: 14px 0;
        gap: 12px;
        align-items: flex-start;
    }

    .rgc-brand {
        gap: 10px;
        align-items: flex-start;
    }

    .rgc-brand-logo {
        width: 58px;
        height: 58px;
        flex: 0 0 58px;
    }

    .rgc-brand-name {
        font-size: 20px;
        line-height: 1.12;
        white-space: normal;
    }

    .rgc-brand-hindi {
        font-size: 14px;
        line-height: 1.25;
    }

    .rgc-brand-subtitle {
        font-size: 10px;
        line-height: 1.3;
    }

    .rgc-brand-motto {
        font-size: 10px;
    }

    .rgc-brand-actions {
        display: none;
    }

    .rgc-notice-inner {
        min-height: 40px;
        gap: 8px;
    }

    .rgc-notice-label {
        flex: 0 0 auto;
        width: auto;
        min-width: 48px;
        padding: 6px 8px;
        font-size: 9px;
    }

    .rgc-notice-content {
        height: 20px;
    }

    .rgc-notice-item {
        font-size: 11px;
        line-height: 20px;
    }
}

/* Small mobile */
@media (max-width: 479px) {
    .rgc-container {
        width: min(100% - 20px, 1320px);
    }

    .rgc-brand-logo {
        width: 52px;
        height: 52px;
        flex-basis: 52px;
    }

    .rgc-brand-name {
        font-size: 18px;
    }

    .rgc-brand-hindi {
        font-size: 13px;
    }

    .rgc-brand-subtitle,
    .rgc-brand-motto {
        font-size: 9px;
    }

    .rgc-notice-item {
        font-size: 10px;
    }
}


/* =========================================================
   RESPONSIVE POLISH PATCH
   Public header, navigation, buttons and mobile layout
========================================================= */
html {
    max-width: 100%;
    overflow-x: clip;
}

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

.rgc-container,
.rgc-main-brand-inner,
.rgc-nav-inner,
.rgc-notice-inner {
    min-width: 0;
    max-width: 100%;
}

.rgc-brand,
.rgc-brand-copy {
    min-width: 0;
}

.rgc-brand-name,
.rgc-brand-hindi,
.rgc-brand-subtitle,
.rgc-brand-certification,
.rgc-brand-ministry {
    overflow-wrap: anywhere;
}

.rgc-nav-link,
.rgc-dropdown-link,
.rgc-login-link,
.rgc-check-result,
.rgc-view-notices,
.rgc-mobile-toggle {
    -webkit-tap-highlight-color: transparent;
}

.rgc-nav-link,
.rgc-dropdown-link,
.rgc-login-link,
.rgc-check-result,
.rgc-view-notices {
    min-height: 44px;
}

.rgc-nav-link:focus-visible,
.rgc-dropdown-link:focus-visible,
.rgc-login-link:focus-visible,
.rgc-check-result:focus-visible,
.rgc-view-notices:focus-visible,
.rgc-mobile-toggle:focus-visible {
    outline: 3px solid #f0b429;
    outline-offset: 3px;
}

img,
video,
iframe {
    max-width: 100%;
}

@media (max-width: 767.98px) {
    .rgc-container {
        width: 100%;
        padding-left: 14px;
        padding-right: 14px;
    }

    .rgc-main-brand-inner {
        gap: 10px;
    }

    .rgc-brand {
        flex: 1 1 auto;
    }

    .rgc-brand-actions {
        max-width: 100%;
    }

    .rgc-nav-inner {
        flex-wrap: wrap;
        gap: 8px;
    }

    .rgc-mobile-toggle {
        min-width: 44px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .rgc-check-result {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        max-width: 100%;
        white-space: normal;
        text-align: center;
    }

    .rgc-nav-list {
        min-width: 0;
        max-width: 100%;
    }

    .rgc-nav-link,
    .rgc-dropdown-link {
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .rgc-notice-inner {
        gap: 8px;
    }

    .rgc-notice-label,
    .rgc-view-notices {
        flex-shrink: 0;
    }
}

@media (max-width: 420px) {
    .rgc-container {
        padding-left: 10px;
        padding-right: 10px;
    }

    .rgc-main-brand-inner {
        align-items: flex-start;
    }

    .rgc-brand-actions {
        gap: 6px;
    }

    .rgc-login-link {
        min-height: 40px;
    }

    .rgc-notice-inner {
        flex-wrap: wrap;
    }

    .rgc-notice-content {
        flex-basis: 100%;
        order: 3;
    }
}

/* brand-fix-v1 */
.rgc-main-brand-inner { padding-top: 16px; padding-bottom: 16px; min-height: 120px; gap: 28px; }
.rgc-brand { gap: 20px; }
.rgc-brand-logo { width: 96px; height: 96px; flex: 0 0 96px; }
.rgc-brand-copy { gap: 1px; }
.rgc-brand-subtitle { font-size: 13.5px; }
.rgc-brand-motto { font-size: 13px; }
.rgc-brand-actions { gap: 6px; padding-left: 16px; }
.rgc-login-link { padding: 9px 14px; border: 1px solid var(--rgc-border); border-radius: 6px; }
.rgc-login-link:hover, .rgc-login-link:focus-visible { background: #f3f6fa; }
.rgc-login-divider { display: none; }

@media (max-width: 767.98px) {
  .rgc-main-brand-inner { padding-top: 12px; padding-bottom: 12px; min-height: 0; }
  .rgc-brand-logo { width: 64px; height: 64px; flex: 0 0 64px; }
  .rgc-brand { gap: 12px; }
  .rgc-brand-actions { padding-left: 0; }
}
/* brand-fix-v2 */
.rgc-brand-copy { line-height: 1.35; }
.rgc-brand-subtitle,
.rgc-brand-certification,
.rgc-brand-ministry { display: block; margin-top: 3px; color: var(--rgc-muted); font-size: 13.5px; font-weight: 600; line-height: 1.4; }
.rgc-brand-certification { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.rgc-brand-separator { color: var(--rgc-orange); font-weight: 700; }
.rgc-brand-ministry { font-size: 13px; }
.rgc-brand-name { letter-spacing: .1px; }

@media (max-width: 767.98px) {
  .rgc-brand-subtitle,
  .rgc-brand-certification,
  .rgc-brand-ministry { font-size: 11.5px; }
}
/* colors-v1 */
.rgc-header {
    --rgc-navy: #3E4095;
    --rgc-navy-dark: #2f3180;
    --rgc-blue: #3E4095;
    --rgc-orange: #DB3A3C;
    --rgc-orange-dark: #b92d2f;
    --rgc-border: #E2E3EC;
    --rgc-text: #000000;
    --rgc-muted: #666666;
}
.rgc-login-link:hover, .rgc-login-link:focus-visible { background: #E2E3EC; }
/* Compact institute header sizing */
.rgc-header .rgc-main-brand-inner {
    min-height: 100px;
    padding-top: 8px;
    padding-bottom: 8px;
    gap: 14px;
}

.rgc-header .rgc-brand {
    gap: 12px;
}

.rgc-header .rgc-brand-logo {
    width: 76px;
    height: 76px;
    flex: 0 0 76px;
}

.rgc-header .rgc-brand-copy {
    padding-left: 10px;
}

.rgc-header .rgc-brand-name {
    font-size: clamp(21px, 1.8vw, 28px);
    line-height: 1.15;
}

.rgc-header .rgc-brand-hindi {
    margin-top: 2px;
    font-size: 16px;
    line-height: 1.25;
}

.rgc-header .rgc-brand-subtitle {
    margin-top: 4px;
    font-size: 11px;
}

.rgc-header .rgc-brand-certification {
    font-size: 10px;
    line-height: 1.3;
}

.rgc-header .rgc-brand-ministry {
    font-size: 9px;
    line-height: 1.3;
}

@media (max-width: 767.98px) {
    .rgc-header .rgc-main-brand-inner {
        min-height: auto;
        padding: 8px 0;
    }

    .rgc-header .rgc-brand-logo {
        width: 52px;
        height: 52px;
        flex-basis: 52px;
    }

    .rgc-header .rgc-brand-name {
        font-size: 16px;
    }

    .rgc-header .rgc-brand-hindi {
        font-size: 11px;
    }

    .rgc-header .rgc-brand-subtitle {
        font-size: 9px;
    }

    .rgc-header .rgc-brand-certification,
    .rgc-header .rgc-brand-ministry {
        font-size: 8px;
    }
}


/* FINAL REFERENCE MATCH: COLOURS + LARGER BRANDING */

.rgc-header .rgc-main-brand,
.rgc-header .rgc-main-brand-inner {
    background-color: #f4f7fa !important;
}

.rgc-header .rgc-main-brand {
    border-bottom: 1px solid #cbd8e4 !important;
}

.rgc-header .rgc-main-brand-inner {
    min-height: 118px !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

.rgc-header .rgc-brand {
    gap: 14px !important;
}

.rgc-header .rgc-brand-logo {
    width: 86px !important;
    height: 86px !important;
    flex: 0 0 86px !important;
    background: transparent !important;
}

.rgc-header .rgc-brand-copy {
    padding-left: 10px !important;
    border-left: 0 !important;
}

.rgc-header .rgc-brand-name {
    color: #17618c !important;
    font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif !important;
    font-size: clamp(24px, 2vw, 30px) !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    letter-spacing: 0 !important;
}

.rgc-header .rgc-brand-hindi {
    color: #8f2634 !important;
    font-size: clamp(15px, 1.35vw, 19px) !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
}

.rgc-header .rgc-brand-subtitle {
    color: #a1262e !important;
    margin-top: 3px !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1.4 !important;
}

.rgc-header .rgc-brand-certification {
    color: #a1262e !important;
    font-size: 10.5px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
}

.rgc-header .rgc-brand-ministry {
    color: #274b70 !important;
    font-size: 9.5px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
}

.rgc-header .rgc-brand-separator {
    color: #a1262e !important;
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1199.98px) {
    .rgc-header .rgc-brand-logo {
        width: 78px !important;
        height: 78px !important;
        flex-basis: 78px !important;
    }

    .rgc-header .rgc-brand-name {
        font-size: 25px !important;
    }
}

/* Mobile */
@media (max-width: 767.98px) {
    .rgc-header .rgc-main-brand-inner {
        min-height: auto !important;
        padding: 10px 0 !important;
    }

    .rgc-header .rgc-brand-logo {
        width: 58px !important;
        height: 58px !important;
        flex-basis: 58px !important;
    }

    .rgc-header .rgc-brand-name {
        font-size: 17px !important;
    }

    .rgc-header .rgc-brand-hindi {
        font-size: 12px !important;
    }

    .rgc-header .rgc-brand-subtitle {
        font-size: 9.5px !important;
    }

    .rgc-header .rgc-brand-certification {
        font-size: 8.5px !important;
    }

    .rgc-header .rgc-brand-ministry {
        font-size: 8px !important;
    }
}


/* FINAL REFERENCE MATCH: COLOURS + LARGER BRANDING */

.rgc-header .rgc-main-brand,
.rgc-header .rgc-main-brand-inner {
    background-color: #f4f7fa !important;
}

.rgc-header .rgc-main-brand {
    border-bottom: 1px solid #cbd8e4 !important;
}

.rgc-header .rgc-main-brand-inner {
    min-height: 118px !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

.rgc-header .rgc-brand {
    gap: 14px !important;
}

.rgc-header .rgc-brand-logo {
    width: 86px !important;
    height: 86px !important;
    flex: 0 0 86px !important;
    background: transparent !important;
}

.rgc-header .rgc-brand-copy {
    padding-left: 10px !important;
    border-left: 0 !important;
}

.rgc-header .rgc-brand-name {
    color: #17618c !important;
    font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif !important;
    font-size: clamp(24px, 2vw, 30px) !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    letter-spacing: 0 !important;
}

.rgc-header .rgc-brand-hindi {
    color: #8f2634 !important;
    font-size: clamp(15px, 1.35vw, 19px) !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
}

.rgc-header .rgc-brand-subtitle {
    color: #a1262e !important;
    margin-top: 3px !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1.4 !important;
}

.rgc-header .rgc-brand-certification {
    color: #a1262e !important;
    font-size: 10.5px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
}

.rgc-header .rgc-brand-ministry {
    color: #274b70 !important;
    font-size: 9.5px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
}

.rgc-header .rgc-brand-separator {
    color: #a1262e !important;
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1199.98px) {
    .rgc-header .rgc-brand-logo {
        width: 78px !important;
        height: 78px !important;
        flex-basis: 78px !important;
    }

    .rgc-header .rgc-brand-name {
        font-size: 25px !important;
    }
}

/* Mobile */
@media (max-width: 767.98px) {
    .rgc-header .rgc-main-brand-inner {
        min-height: auto !important;
        padding: 10px 0 !important;
    }

    .rgc-header .rgc-brand-logo {
        width: 58px !important;
        height: 58px !important;
        flex-basis: 58px !important;
    }

    .rgc-header .rgc-brand-name {
        font-size: 17px !important;
    }

    .rgc-header .rgc-brand-hindi {
        font-size: 12px !important;
    }

    .rgc-header .rgc-brand-subtitle {
        font-size: 9.5px !important;
    }

    .rgc-header .rgc-brand-certification {
        font-size: 8.5px !important;
    }

    .rgc-header .rgc-brand-ministry {
        font-size: 8px !important;
    }
}

