/* DBIM header + primary navigation. Scoped to .dbim-* so legacy site CSS is untouched. */
.dbim-header {
    --dbim-navy: #162f6a;
    --dbim-navy-dark: #162f6a;
    --dbim-blue: #214aab;
    --dbim-title: #162f6a;
    --dbim-text: #150202;
    --dbim-border: #ebeaea;
    --dbim-bg: #fff;
    --dbim-focus: #ffc107;
    font-family: 'Noto Sans', Arial, Helvetica, sans-serif;
    font-size: var(--dbim-fs-p1);
    line-height: 1.4;
    color: var(--dbim-text);
    background: var(--dbim-bg);
    position: relative;
    z-index: 100;
    width: 100%;
    text-align: left;
    /* break out of the legacy fixed-width .container so the bar spans the viewport */
    width: var(--vw, 100vw);
    margin-left: calc(50% - var(--vw, 100vw) / 2);
}

.dbim-header *,
.dbim-header *::before,
.dbim-header *::after {
    box-sizing: border-box;
}

.dbim-header ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

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

.dbim-wrap {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 16px;
}

.dbim-sr,
.dbim-skip {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.dbim-skip:focus {
    position: fixed;
    left: 8px;
    top: 8px;
    width: auto;
    height: auto;
    clip: auto;
    background: #fff;
    color: var(--dbim-navy);
    padding: 8px 14px;
    border: 2px solid var(--dbim-focus);
    z-index: 1000;
}

.dbim-header a:focus-visible,
.dbim-header button:focus-visible,
.dbim-header input:focus-visible {
    outline: 3px solid var(--dbim-focus);
    outline-offset: 2px;
}

/* ---- top row ---- */
.dbim-top-in {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 14px;
    padding-bottom: 14px;
}

.dbim-brand {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    color: inherit;
    min-width: 0;
}

.dbim-emblem {
    flex: 0 0 auto;
    width: 38px;
    height: 60px;
    background-size: contain !important;
    background: url('../images/Emblem_of_India.svg') no-repeat;
}

.dbim-brand-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.dbim-brand-text strong {
    font-size: var(--dbim-fs-h3);
    font-weight: 700;
    color: var(--dbim-title);
    line-height: 1.2;
}

.dbim-brand-text small {
    font-size: var(--dbim-fs-p2);
    font-weight: 400;
    color: var(--dbim-text);
    margin-top: 2px;
}

.dbim-tools {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dbim-search {
    display: flex;
    width: 320px;
    max-width: 100%;
    height: 42px;
    border: 1px solid var(--dbim-navy);
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
}

.dbim-search input {
    flex: 1 1 auto;
    min-width: 0;
    border: 0;
    padding: 0 14px;
    font: inherit;
    font-size: var(--dbim-fs-p1);
    color: var(--dbim-text);
    background: transparent;
    border-radius: 0;
    height: 100%;
}

.dbim-search input:focus-visible {
    outline-offset: -3px;
}

.dbim-search button {
    flex: 0 0 52px;
    border: 0;
    background: var(--dbim-navy);
    color: #fff;
    cursor: pointer;
    display: grid;
    place-items: center;
    padding: 0;
}

.dbim-search button:hover {
    background: var(--dbim-blue);
}

.dbim-iconbtn {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: inline-grid;
    place-items: center;
    background: #fff;
    color: var(--dbim-navy);
    border: 1px solid var(--dbim-border);
    border-radius: 6px;
    cursor: pointer;
    padding: 0;
    transition: background .15s, color .15s, border-color .15s;
}

.dbim-iconbtn:hover,
.dbim-iconbtn[aria-expanded="true"] {
    background: var(--dbim-navy);
    color: #fff;
    border-color: var(--dbim-navy);
}

/* line icons (menu, close, feedback, ...) carry no stroke of their own: draw them in the button colour */
.dbim-header svg:not([width]) {
    stroke: currentColor;
}

.dbim-header svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    display: block;
}

/* popovers */
.dbim-pop {
    position: relative;
}

.dbim-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    width: 300px;
    background: #fff;
    border: 1px solid var(--dbim-border);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(20, 34, 79, .18);
    padding: 16px;
    z-index: 200;
}

.dbim-panel[hidden] {
    display: none;
}

.dbim-panel-title {
    margin: 0 0 12px;
    font-weight: 700;
    color: var(--dbim-title);
}

/* language selector (custom list driving the hidden Google Translate engine) */
.dbim-panel-lang {
    width: 280px;
    padding: 0;
    overflow: hidden;
}

.dbim-panel-lang .dbim-panel-title {
    margin: 0;
    padding: 14px 16px;
    text-align: center;
}

.dbim-lang-list {
    list-style: none;
    margin: 0;
    padding: 0 0 8px;
    max-height: 340px;
    overflow-y: auto;
}

.dbim-lang-opt {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    padding: 12px 16px;
    border: 0;
    background: transparent;
    color: var(--dbim-text);
    font: inherit;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}

.dbim-lang-opt:hover,
.dbim-lang-opt:focus-visible {
    background: #d2dfff;
}

.dbim-lang-opt.is-selected {
    background: #d2dfff;
    color: var(--dbim-navy);
    font-weight: 700;
}

.dbim-header .dbim-lang-check {
    display: none;
    flex: none;
    width: 18px;
    height: 18px;
    stroke-width: 2.5;
    color: var(--dbim-navy);
}

.dbim-header .dbim-lang-opt.is-selected .dbim-lang-check {
    display: block;
}

.dbim-gt-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

/* suppress Google's injected banner/tooltip */
body {
    top: 0 !important;
}

.skiptranslate>iframe,
.goog-te-banner-frame,
#goog-gt-tt,
.goog-tooltip,
.goog-text-highlight {
    display: none !important;
}

.goog-text-highlight {
    background: none !important;
    box-shadow: none !important;
}

.dbim-burger {
    display: none;
}

.dbim-burger .dbim-i-close {
    display: none;
}

.dbim-burger[aria-expanded="true"] .dbim-i-open {
    display: none;
}

.dbim-burger[aria-expanded="true"] .dbim-i-close {
    display: block;
}

/* ---- navigation bar ---- */
.dbim-nav {
    background: var(--dbim-navy);
}

.dbim-menu {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
}

.dbim-item {
    position: relative;
}

.dbim-row-link {
    display: flex;
    align-items: center;
}

.dbim-menu>.dbim-item>a,
.dbim-menu>.dbim-item>.dbim-row-link>a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 16px 20px;
    color: #fff;
    font-size: var(--dbim-fs-p1);
    font-weight: 500;
    white-space: nowrap;
    min-height: 52px;
}

.dbim-menu>.dbim-item:hover>a,
.dbim-menu>.dbim-item:hover>.dbim-row-link>a,
.dbim-menu>.dbim-item:focus-within>.dbim-row-link>a {
    background: var(--dbim-navy-dark);
}

.dbim-menu>.dbim-item.is-active>a {
    background: var(--dbim-blue);
}

.dbim-toggle {
    display: none;
}

.dbim-new {
    height: 14px;
    width: auto;
    vertical-align: middle;
}

/* desktop dropdowns */
.dbim-sub {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    min-width: 260px;
    background: #fff;
    border: 1px solid var(--dbim-border);
    border-top: 3px solid var(--dbim-blue);
    box-shadow: 0 10px 24px rgba(20, 34, 79, .2);
    z-index: 300;
}

.dbim-sub .dbim-sub {
    left: 100%;
    top: -1px;
    border-top-width: 1px;
}

.dbim-sub li {
    position: relative;
}

.dbim-sub .dbim-row-link a {
    flex: 1;
    display: block;
    padding: 10px 16px;
    color: var(--dbim-text);
    font-size: var(--dbim-fs-p1);
}

.dbim-sub li:hover>.dbim-row-link>a,
.dbim-sub li:focus-within>.dbim-row-link>a {
    background: #d2dfff;
    color: var(--dbim-navy);
}

.dbim-sub li.has-sub>.dbim-row-link>a::after {
    content: '';
    display: inline-block;
    float: right;
    width: 7px;
    height: 7px;
    margin-top: 7px;
    border-right: 2px solid currentColor;
    border-top: 2px solid currentColor;
    transform: rotate(45deg);
}

.dbim-item:hover>.dbim-sub,
.dbim-item:focus-within>.dbim-sub,
.dbim-sub li:hover>.dbim-sub,
.dbim-sub li:focus-within>.dbim-sub {
    display: block;
}

.dbim-item.has-sub:nth-last-child(-n+3)>.dbim-sub {
    left: auto;
    right: 0;
}

.dbim-item.has-sub:nth-last-child(-n+3) .dbim-sub .dbim-sub {
    left: auto;
    right: 100%;
}

/* ---- tablet ---- */
@media (max-width: 1279px) {

    .dbim-menu>.dbim-item>a,
    .dbim-menu>.dbim-item>.dbim-row-link>a {
        padding: 14px 12px;
        font-size: var(--dbim-fs-p2);
    }

    .dbim-search {
        width: 240px;
    }
}

/* ---- mobile: off-canvas accordion ---- */
@media (max-width: 1279px) {
    .dbim-top-in {
        flex-wrap: wrap;
        padding-top: 10px;
        padding-bottom: 10px;
        row-gap: 10px;
    }

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

    .dbim-tools {
        display: contents;
    }

    .dbim-search {
        order: 10;
        flex: 1 0 100%;
        width: 100%;
    }

    .dbim-pop,
    .dbim-burger,
    .dbim-hide-sm {
        order: 2;
    }

    .dbim-burger {
        display: inline-grid;
    }

    .dbim-emblem {
        width: 34px;
        height: 54px;
        background-size: contain !important;
        background-position: center;
    }

    .dbim-nav {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: min(86vw, 360px);
        overflow-y: auto;
        transform: translateX(-100%);
        visibility: hidden;
        transition: transform .25s ease, visibility .25s;
        z-index: 500;
        box-shadow: 4px 0 24px rgba(0, 0, 0, .3);
        padding-top: 8px;
    }

    .dbim-nav.is-open {
        transform: none;
        visibility: visible;
    }

    .dbim-wrap {
        padding: 0;
    }

    .dbim-menu {
        display: block;
    }

    .dbim-menu>.dbim-item {
        border-bottom: 1px solid rgba(255, 255, 255, .15);
    }

    .dbim-menu>.dbim-item>a,
    .dbim-menu>.dbim-item>.dbim-row-link>a {
        flex: 1;
        padding: 14px 18px;
        white-space: normal;
    }

    .dbim-menu>.dbim-item:hover>a,
    .dbim-menu>.dbim-item:hover>.dbim-row-link>a {
        background: transparent;
    }

    .dbim-menu>.dbim-item.is-active>a {
        background: var(--dbim-blue);
    }

    .dbim-toggle {
        display: grid;
        place-items: center;
        flex: 0 0 48px;
        align-self: stretch;
        background: transparent;
        border: 0;
        border-left: 1px solid rgba(255, 255, 255, .15);
        color: #fff;
        cursor: pointer;
    }

    .dbim-toggle svg {
        transition: transform .2s;
    }

    .dbim-toggle[aria-expanded="true"] svg {
        transform: rotate(180deg);
    }

    .dbim-sub,
    .dbim-sub .dbim-sub {
        position: static;
        display: none !important;
        min-width: 0;
        border: 0;
        box-shadow: none;
        background: rgba(0, 0, 0, .18);
    }

    .dbim-item.is-open>.dbim-sub,
    .dbim-sub li.is-open>.dbim-sub {
        display: block !important;
    }

    .dbim-sub .dbim-row-link a {
        color: #fff;
        padding: 12px 18px 12px 30px;
    }

    .dbim-sub .dbim-sub .dbim-row-link a {
        padding-left: 44px;
    }

    .dbim-sub .dbim-sub .dbim-sub .dbim-row-link a {
        padding-left: 58px;
    }

    .dbim-sub li:hover>.dbim-row-link>a {
        background: transparent;
        color: #fff;
    }

    .dbim-sub li.has-sub>.dbim-row-link>a::after {
        display: none;
    }

    .dbim-sub .dbim-toggle {
        border-left-color: rgba(255, 255, 255, .12);
    }

    .dbim-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(10, 15, 40, .55);
        z-index: 400;
    }

    .dbim-backdrop[hidden] {
        display: none;
    }

    .dbim-panel {
        position: absolute;
        right: 0;
        left: auto;
        width: min(300px, calc(var(--vw, 100vw) - 32px));
    }

    .dbim-pop {
        position: relative;
    }

    .dbim-top-in {
        column-gap: 8px;
    }
}

@media (max-width: 480px) {
    .dbim-iconbtn {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }

    .dbim-tools {
        gap: 8px;
    }
}

@media (min-width: 1280px) {
    .dbim-backdrop {
        display: none !important;
    }
}

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

    .dbim-nav,
    .dbim-toggle svg {
        transition: none;
    }
}

/* ===== v2: layout per updated reference (borderless icons, dividers, tiles panel, spread menu) ===== */
.dbim-header {
    border-top: 3px solid var(--dbim-blue);
}

.dbim-top-in {
    padding-top: 16px;
    padding-bottom: 16px;
}

.dbim-tools {
    gap: 14px;
}

.dbim-search {
    border: 1px solid var(--dbim-border);
    border-bottom: 2px solid var(--dbim-blue);
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(20, 34, 79, .12);
    width: 380px;
    height: 46px;
}

.dbim-search button {
    flex: 0 0 48px;
    background: transparent;
    color: var(--dbim-key);
}

.dbim-search button:hover {
    background: #d2dfff;
}

.dbim-iconbtn {
    border-color: transparent;
    background: transparent;
    width: 44px;
    height: 44px;
    flex-basis: 44px;
    border-radius: 8px;
}

.dbim-iconbtn:hover,
.dbim-iconbtn[aria-expanded="true"],
.dbim-iconbtn[aria-pressed="true"] {
    background: #d2dfff;
    color: var(--dbim-navy);
    border-color: transparent;
}

.dbim-iconbtn svg {
    width: 24px;
    height: 24px;
}

.dbim-divider {
    width: 1px;
    height: 34px;
    background: var(--dbim-border);
    flex: 0 0 1px;
}

.dbim-search svg {
    width: 24px;
    height: 24px;
}

/* menu: items share the bar; chevron on parents; underline on active */
.dbim-menu {
    justify-content: space-between;
}

.dbim-menu>.dbim-item {
    flex: 1 1 auto;
}

.dbim-menu>.dbim-item>a,
.dbim-menu>.dbim-item>.dbim-row-link>a {
    justify-content: center;
    width: 100%;
    padding: 16px 12px;
    border-bottom: 3px solid transparent;
}

.dbim-menu>.dbim-item.has-sub>.dbim-row-link>a::after {
    content: '';
    width: 7px;
    height: 7px;
    margin: -3px 0 0 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    flex: 0 0 auto;
}

.dbim-menu>.dbim-item.is-active>a,
.dbim-menu>.dbim-item:hover>a,
.dbim-menu>.dbim-item:hover>.dbim-row-link>a,
.dbim-menu>.dbim-item:focus-within>.dbim-row-link>a {
    background: var(--dbim-blue);
    border-bottom-color: #fff;
}

/* accessibility controls panel */
.dbim-panel-access {
    width: 400px;
    padding: 20px;
    border-radius: 10px;
}

.dbim-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.dbim-panel-head .dbim-panel-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: var(--dbim-fs-p1);
    color: var(--dbim-text);
}

.dbim-panel-head svg {
    width: 24px;
    height: 24px;
}

.dbim-panel-close {
    border: 0;
    background: transparent;
    color: var(--dbim-navy);
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
}

.dbim-panel-close:hover {
    background: #d2dfff;
}

.dbim-tiles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.dbim-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 96px;
    padding: 12px 8px;
    background: #fff;
    border: 1px solid var(--dbim-border);
    border-radius: 8px;
    color: var(--dbim-navy);
    font: inherit;
    font-size: var(--dbim-fs-sm);
    font-weight: 600;
    letter-spacing: .02em;
    text-transform: uppercase;
    text-align: center;
    cursor: pointer;
}

.dbim-tile svg {
    width: 32px;
    height: 32px;
}

.dbim-tile:hover {
    background: #d2dfff;
    border-color: var(--dbim-navy);
}

.dbim-tile[aria-pressed="true"] {
    background: var(--dbim-navy);
    color: #fff;
    border-color: var(--dbim-navy);
}

.dbim-panel-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--dbim-border);
}

.dbim-panel-foot a,
.dbim-reset {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--dbim-navy);
    font: inherit;
    font-size: var(--dbim-fs-p1);
    text-decoration: underline;
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 0;
}

.dbim-panel-foot svg {
    width: 24px;
    height: 24px;
}

/* accessibility modes (set on <html> by dbim-header.js) */
html.a11y-contrast body,
html.a11y-contrast body :not(.dbim-header):not(.dbim-header *) {
    background-color: #000 !important;
    color: #ff0 !important;
    border-color: #ff0 !important;
}

html.a11y-contrast a {
    color: #0ff !important;
}

html.a11y-contrast .dbim-header,
html.a11y-contrast .dbim-header * {
    background-color: #000 !important;
    color: #ff0 !important;
    border-color: #ff0 !important;
}

html.a11y-contrast .dbim-header svg {
    stroke: #ff0 !important;
}

html.a11y-links a {
    background: #ff0 !important;
    color: #000 !important;
    text-decoration: underline !important;
    outline: 2px solid #000;
}

html.a11y-images img,
html.a11y-images .dbim-emblem {
    visibility: hidden !important;
}

html.a11y-cursor,
html.a11y-cursor * {
    cursor: url('../images/cursor-large.svg') 4 2, auto !important;
}

@media (max-width: 1279px) {
    .dbim-search {
        width: 280px;
    }

    .dbim-tools {
        gap: 8px;
    }
}

@media (max-width: 1279px) {
    .dbim-divider {
        display: none;
    }

    .dbim-search {
        width: 100%;
        height: 44px;
    }

    .dbim-menu {
        display: block;
    }

    .dbim-menu>.dbim-item>a,
    .dbim-menu>.dbim-item>.dbim-row-link>a {
        justify-content: flex-start;
        border-bottom: 0;
    }

    .dbim-menu>.dbim-item.has-sub>.dbim-row-link>a::after {
        display: none;
    }

    .dbim-menu>.dbim-item.is-active>a,
    .dbim-menu>.dbim-item:hover>a,
    .dbim-menu>.dbim-item:hover>.dbim-row-link>a {
        background: transparent;
    }

    .dbim-menu>.dbim-item.is-active>a {
        background: var(--dbim-blue);
    }

    .dbim-panel-access {
        position: fixed;
        left: 12px;
        right: 12px;
        top: 80px;
        width: auto;
        max-height: calc(100vh - 100px);
        overflow-y: auto;
    }

    .dbim-iconbtn {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
    }

    .dbim-iconbtn svg {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 575px) {
    .dbim-tiles {
        gap: 10px;
    }

    .dbim-panel-access {
        padding: 16px;
    }

    .dbim-panel-foot {
        flex-wrap: wrap;
    }
}

@media (max-width: 400px) {
    .dbim-tools {
        gap: 2px;
    }

    .dbim-iconbtn {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }
}

/* active top-level item for the current section (items with a submenu wrap the link in .dbim-row-link) */
.dbim-menu>.dbim-item.is-active>a,
.dbim-menu>.dbim-item.is-active>.dbim-row-link>a {
    background: var(--dbim-blue);
    border-bottom-color: #fff;
}

@media (max-width: 1279px) {
    .dbim-menu>.dbim-item.is-active>.dbim-row-link>a {
        background: var(--dbim-blue);
    }
}


/* 100vw bands include the scrollbar width; clip so they never cause horizontal scroll */
html,
body {
    overflow-x: clip;
}


/* desktop menu: the 9 items need about 1260px, so it starts at 1280px (below that the slide-in menu is used); spacing grows with the screen */
@media (min-width: 1280px) {

    .dbim-menu>.dbim-item>a,
    .dbim-menu>.dbim-item>.dbim-row-link>a {
        padding-left: 6px;
        padding-right: 6px;
    }
}

@media (min-width: 1366px) {

    .dbim-menu>.dbim-item>a,
    .dbim-menu>.dbim-item>.dbim-row-link>a {
        padding-left: 8px;
        padding-right: 8px;
    }
}

@media (min-width: 1440px) {

    .dbim-menu>.dbim-item>a,
    .dbim-menu>.dbim-item>.dbim-row-link>a {
        padding-left: 12px;
        padding-right: 12px;
    }
}

/* NEW badge (replaces the GIF flash image; DBIM allows PNG/SVG/WEBP only) */
.dbim-new {
    display: inline-block;
    font-style: normal;
    font-size: var(--dbim-fs-sm);
    font-weight: 700;
    line-height: 1.4;
    padding: 0 6px;
    margin-left: 6px;
    border-radius: 3px;
    background: #fff;
    color: var(--dbim-key);
    vertical-align: middle;
}

.dbim-sub .dbim-new {
    background: var(--dbim-key);
    color: #fff;
}

/* the legacy off-canvas menu stub (an empty container with a duplicate heading) is replaced by the DBIM menu */
#menuPartWrapper {
    display: none !important;
}