/* =========================================================
   AHCI CONTENT STYLES
   Permanent Mission of India to the UN, New York
   DBIM V3.0 compliant. No Bootstrap. Fully responsive.
   ========================================================= */

/* ---------- Base ---------- */
.ahci-main {
    background: #FFFFFF;
    font-family: 'Noto Sans', sans-serif;
    color: #150202;
    font-size: 14px;
    line-height: 1.55;
}
.ahci-main *,
.ahci-main *::before,
.ahci-main *::after { box-sizing: border-box; }

.ahci-main .ahci-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 0px;
    width: 100%;
}

/* ---------- Slider ---------- */
.ahci-slider {
    width: 100%;
    overflow: hidden;
    background: #162F6A;
}
.ahci-slider img {
    width: 100%;
    height: auto;
    display: block;
}

/* ---------- Marquee ---------- */
.ahci-marquee-wrap {
    background: #F4F4F4;
    border-bottom: 1px solid #E0E0E0;
    padding: 10px 0;
    overflow: hidden;
}
.ahci-marquee-inner {
    display: flex;
    align-items: center;
    gap: 12px;
}
.ahci-marquee-label {
    flex-shrink: 0;
    background: #162F6A;
    color: #FFF;
    font-size: 11.5px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: .3px;
}
.ahci-marquee {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    font-size: 13px;
}
.ahci-marquee > span {
    display: inline-block;
    animation: ahciScroll 40s linear infinite;
}
.ahci-marquee:hover > span { animation-play-state: paused; }
.ahci-marquee a {
    color: #150202;
    text-decoration: none;
    margin: 0 6px;
}
.ahci-marquee a:hover {
    color: #162F6A;
    text-decoration: underline;
}
.ahci-marquee img {
    height: 11px;
    width: auto;
    vertical-align: middle;
}
@keyframes ahciScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ---------- Banner blocks ---------- */
.ahci-banner {
    margin: 18px 0;
    text-align: center;
}
.ahci-banner img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 4px;
}

/* ---------- Dual cards ---------- */
.ahci-dual-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 16px 0;
}
.ahci-dual-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 22px;
    background: #162F6A;
    color: #FFF;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 15px;
    transition: background .2s;
}
.ahci-dual-card:hover {
    background: #0F1F4A;
    color: #FFF;
    text-decoration: none;
}
.ahci-dual-card .emblem-circle {
    background: #FFF;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.ahci-dual-card .emblem-circle img {
    height: 32px;
    width: auto;
}

/* =========================================================
   MAIN GRID — Left content + Right sidebar
   ========================================================= */
.ahci-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    margin: 24px 0;
    align-items: start;
}

/* ---------- Tabs ---------- */
.ahci-tabs {
    margin-bottom: 28px;
}
.ahci-tab-nav {
    list-style: none;
    margin: 0 0 14px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid #E0E0E0;
}
.ahci-tab-nav li { margin: 0; }
.ahci-tab-nav li a {
    display: block;
    padding: 10px 18px 10px 0;
    font-size: 16px;
    font-weight: 600;
    color: #150202;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    transition: color .2s, border-color .2s;
}
.ahci-tab-nav li:not(:first-child) a { padding-left: 18px; }
.ahci-tab-nav li a:hover { color: #162F6A; text-decoration: none; }
.ahci-tab-nav li a.active {
    color: #150202;
    border-bottom-color: #162F6A;
    font-weight: 600;
}
.ahci-tab-content {
    display: none;
    padding: 4px 0;
}
.ahci-tab-content.active { display: block; }

/* ---------- News list ---------- */
.ahci-news-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.ahci-news-list li {
    padding: 12px 0;
    border-bottom: 1px dashed #E0E0E0;
    font-size: 14px;
    line-height: 1.55;
}
.ahci-news-list li:last-child { border-bottom: none; }
.ahci-news-list li a {
    color: #150202;
    text-decoration: none;
    font-weight: 600;
    font-size: 12px;
}
.ahci-news-list li a:hover {
    color: #162F6A;
    text-decoration: underline;
}
.ahci-news-list img {
    height: 11px;
    width: auto;
    vertical-align: middle;
    margin-left: 4px;
}
.ahci-news-list .sub {
    display: block;
    font-size: 12px;
    color: #150202;
    margin-top: 3px;
    font-weight: 400;
}
.ahci-news-list .date {
    display: block;
    font-size: 11.5px;
    color: #888;
    margin-top: 4px;
}

/* ---------- Tab actions ---------- */
.ahci-tab-actions {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    margin-top: 14px;
    font-size: 12.5px;
}
.ahci-tab-actions a {
    color: #150202;
    text-decoration: none;
    font-weight: 500;
}
.ahci-tab-actions a:hover { text-decoration: underline; }

/* ---------- Icon cards grid ---------- */
.ahci-icon-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 24px 0;
}
.ahci-icon-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    background: #F9F9F9;
    border: 1px solid #E0E0E0;
    border-radius: 4px;
    text-decoration: none;
    color: #150202;
    font-size: 14px;
    font-weight: 500;
    transition: all .2s;
}
.ahci-icon-card:hover {
    background: #EBEAEA;
    color: #162F6A;
    text-decoration: none;
    border-color: #162F6A;
}
.ahci-icon-card svg {
    width: 30px;
    height: 30px;
    fill: #162F6A;
    flex-shrink: 0;
}

/* ---------- Skip button ---------- */
.ahci-skip-btn {
    display: inline-block;
    background: #B22222;
    color: #FFF;
    border: none;
    padding: 10px 22px;
    font-family: 'Noto Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    border-radius: 3px;
    cursor: pointer;
    margin: 16px 0 24px;
    transition: background .2s;
}
.ahci-skip-btn:hover { background: #8B0000; }

/* ---------- Social embeds ---------- */
.ahci-social-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 16px;
}
.ahci-social-grid iframe {
    width: 100%;
    max-width: 100%;
    border: 1px solid #E0E0E0;
    border-radius: 4px;
    background: #FFF;
    display: block;
    min-height: 400px;
}
/* =========================================================
   SIDEBAR (.sb-*) — hardcoded, clean, no CMS conflicts
   ========================================================= */
.ahci-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-width: 0;
    width: 100%;
    align-self: start;
    font-family: 'Noto Sans', sans-serif;
}

/* Hide the raw CMS content — we render our own clean version */
.ahci-sidebar .sb-original {
    display: none !important;
}

/* -------- Card -------- */
.sb-card {
    display: block;
    width: 100%;
    background: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 6px;
    padding: 24px 20px;
    box-sizing: border-box;
    text-align: center;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

/* -------- Portrait -------- */
.sb-portrait {
    display: block;
    width: 100%;
    max-width: 200px;
    aspect-ratio: 1 / 1;
    margin: 0 auto 18px;
    border-radius: 4px;
    border: 1px solid #E0E0E0;
    object-fit: cover;
    background: #F4F4F4;
}

/* -------- Name -------- */
.sb-name {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #162F6A;
    line-height: 1.35;
    margin: 0 0 6px;
    text-align: center;
}

/* -------- Role -------- */
.sb-role {
    display: block;
    font-size: 12px;
    font-weight: 400;
    color: #150202;
    line-height: 1.45;
    margin: 0 0 14px;
    text-align: center;
}

/* -------- Profile button -------- */
.sb-profile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 7px 24px;
    min-width: 100px;
    border: 1px solid #162F6A;
    border-radius: 3px;
    background: none;
    color: #162F6A;
    font-family: 'Noto Sans', sans-serif;
    font-size: 12.5px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all .2s;
}
.sb-profile:hover {
    background: #162F6A;
    color: #FFF;
    text-decoration: none;
}

/* -------- Important links card -------- */
.sb-links-card {
    background: #F9F9F9;
    text-align: left;
}

.sb-links-heading {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #162F6A;
    line-height: 1.3;
    margin: 0 0 16px;
    padding: 0 0 12px;
    border-bottom: 1px solid #E0E0E0;
    text-align: left;
}

.sb-links-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sb-links-list li {
    position: relative;
    padding: 7px 0 7px 20px;
    font-size: 12.5px;
    line-height: 1.5;
    color: #333;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.sb-links-list li::before {
    content: "»";
    position: absolute;
    left: 0;
    top: 7px;
    color: #162F6A;
    font-weight: 700;
    font-size: 13px;
    line-height: 1.5;
}

.sb-links-list li a {
    color: #150202;
    text-decoration: none;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.sb-links-list li a:hover {
    color: #162F6A;
    text-decoration: underline;
}

/* -------- Responsive -------- */
@media (max-width: 992px) {
    .ahci-sidebar {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 20px;
    }
    .ahci-sidebar > .sb-card {
        flex: 1 1 calc(50% - 10px);
        min-width: 260px;
    }
}

@media (max-width: 768px) {
    .ahci-sidebar > .sb-card {
        flex: 1 1 100%;
    }
    .sb-portrait { max-width: 160px; }
}
/* =========================================================
   PHOTO GALLERY (if rendered)
   ========================================================= */
.ahci-gallery-wrap {
    margin: 32px 0;
}
.ahci-gallery-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}
.ahci-gallery-head h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #162F6A;
    border-bottom: 2px solid #162F6A;
    padding-bottom: 6px;
    display: inline-block;
}
.ahci-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}
.ahci-gallery-card {
    border: 1px solid #E0E0E0;
    border-radius: 4px;
    overflow: hidden;
    background: #FFF;
}
.ahci-gallery-card img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    display: block;
}
.ahci-gallery-card .caption {
    padding: 10px 12px;
    font-size: 12.5px;
    line-height: 1.4;
    color: #333;
}
.ahci-gallery-card .caption a {
    color: #333;
    text-decoration: none;
}
.ahci-gallery-card .caption a:hover {
    color: #162F6A;
    text-decoration: underline;
}

/* =========================================================
   BOTTOM BANNERS
   ========================================================= */
.ahci-bottom-banner {
    margin: 24px 0;
    text-align: center;
}
.ahci-bottom-banner img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

/* =========================================================
   LOGO STRIP (footer prep)
   ========================================================= */
.ahci-logo-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 24px 16px;
    border-top: 1px solid #E0E0E0;
    border-bottom: 1px solid #E0E0E0;
    margin-top: 32px;
    background: #FFF;
}
.ahci-logo-strip a {
    display: inline-block;
    text-decoration: none;
}
.ahci-logo-strip img {
    max-height: 44px;
    width: auto;
    display: block;
    transition: opacity .2s;
}
.ahci-logo-strip img:hover { opacity: .75; }

/* =========================================================
   FOOTER
   ========================================================= */
.ahci-footer {
    background: #162F6A;
    color: #FFF;
    font-family: 'Noto Sans', sans-serif;
    padding: 40px 0 20px;
    font-size: 14px;
}
.ahci-footer .ahci-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 16px;
}
.ahci-footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 32px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255,255,255,.15);
}
.ahci-footer h4 {
    margin: 0 0 16px;
    font-size: 15px;
    font-weight: 700;
    color: #FFF;
}
.ahci-footer p {
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255,255,255,.88);
}
.ahci-footer a {
    color: rgba(255,255,255,.88);
    text-decoration: none;
}
.ahci-footer a:hover { color: #FFF; text-decoration: underline; }

.ahci-footer-social {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}
.ahci-footer-social a {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,.12);
    color: #FFF;
    font-size: 14px;
    transition: background .2s;
}
.ahci-footer-social a:hover {
    background: rgba(255,255,255,.28);
    text-decoration: none;
}
.ahci-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.ahci-footer ul li {
    padding: 5px 0;
    font-size: 13px;
}
.ahci-footer-bottom {
    padding-top: 18px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12.5px;
    color: rgba(255,255,255,.75);
}
.ahci-footer-bottom .links a {
    margin-left: 16px;
    color: rgba(255,255,255,.88);
}
.ahci-footer-bottom .links a:first-child { margin-left: 0; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
    .ahci-grid { grid-template-columns: minmax(0, 1fr) 280px; gap: 20px; }
}

@media (max-width: 992px) {
    .ahci-grid { grid-template-columns: 1fr; gap: 24px; }
    .ahci-dual-cards { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .ahci-social-grid { grid-template-columns: 1fr; }
    .ahci-icon-cards { grid-template-columns: 1fr; }
    .ahci-footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .ahci-footer-bottom { flex-direction: column; }
    .ahci-footer-bottom .links a { margin: 4px 10px 4px 0; }
}

@media (max-width: 600px) {
    .ahci-main { font-size: 13px; }
    .ahci-tab-nav li a { font-size: 12.5px; padding: 9px 14px 9px 0; }
    .ahci-tab-nav li:not(:first-child) a { padding-left: 14px; }
    .ahci-dual-card { font-size: 14px; padding: 14px 16px; }
}

/* Print */
@media print {
    .ahci-header, .ahci-menubar, .ahci-footer,
    .ahci-social-grid, .ahci-skip-btn, .ahci-chat-btn {
        display: none !important;
    }
    .ahci-main { background: #FFF !important; color: #000 !important; }
    .ahci-grid { grid-template-columns: 1fr; }
}


/* =========================================================
   FOOTER — DBIM compliant (matches reference image)
   ========================================================= */
.dbim-footer {
    background: #162F6A;
    color: #FFFFFF;
    font-family: 'Noto Sans', sans-serif;
    font-size: 13px;
    line-height: 1.55;
    padding: 0px 0 10px;
}
.dbim-footer *,
.dbim-footer *::before,
.dbim-footer *::after { box-sizing: border-box; }

.dbim-footer .dbim-footer-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 16px;
    width: 100%;
}

/* ---------- 3-Column Grid ---------- */
.dbim-footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

/* ---------- Column headings ---------- */
.dbim-footer h4 {
    margin: 0 0 18px;
    padding-bottom: 10px;
    font-size: 17px;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.35;
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
    letter-spacing: .2px;
}

/* ---------- Paragraphs ---------- */
.dbim-footer p {
    margin: 0 0 12px;
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.92);
}

.dbim-footer a {
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    transition: color .2s;
}
.dbim-footer a:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

/* ---------- Column 1: Organisation info ---------- */
.dbim-footer-org-title {
    font-size: 15px;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0 0 8px;
    line-height: 1.4;
}

.dbim-footer-address {
    font-size: 13px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.92);
    margin: 0 0 20px;
}

.dbim-footer-social-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #FFFFFF;
    margin: 0 0 12px;
}

/* Social circular icons */
.dbim-footer-social {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.dbim-footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.9);
    background: transparent;
    color: #FFFFFF;
    font-size: 18px;
    text-decoration: none;
    transition: background .2s, border-color .2s, transform .2s;
}

.dbim-footer-social a:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #FFFFFF;
    transform: translateY(-2px);
    text-decoration: none;
}

.dbim-footer-social a svg {
    width: 18px;
    height: 18px;
    fill: #FFFFFF;
}

/* ---------- Column 2: Working hours ---------- */
.dbim-footer-hours {
    font-size: 13px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
}

.dbim-footer-hours .hours-line {
    display: block;
    font-weight: 700;
    font-size: 14px;
    color: #FFFFFF;
    margin-bottom: 2px;
}

.dbim-footer-hours .day-note {
    display: block;
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 10px;
}

.dbim-footer-hours .label {
    display: block;
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 10px;
    margin-bottom: 2px;
    text-align: left;
}

.dbim-footer-hours .phone,
.dbim-footer-hours .email {
    display: block;
    font-size: 13px;
    color: #FFFFFF;
    text-decoration: underline;
    text-underline-offset: 3px;
    margin-bottom: 2px;
}
.dbim-footer-hours .phone:hover,
.dbim-footer-hours .email:hover {
    text-decoration-thickness: 2px;
}

/* ---------- Column 3: Website policies ---------- */
.dbim-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}
.dbim-footer-links li {
    position: relative;
    padding: 6px 0 6px 16px;
    font-size: 13px;
    line-height: 1.5;
}
.dbim-footer-links li::before {
    content: "›";
    position: absolute;
    left: 0;
    top: 6px;
    color: #FFFFFF;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.5;
}
.dbim-footer-links li a {
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
}
.dbim-footer-links li a:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

/* ---------- Bottom bar ---------- */
.dbim-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    padding-top: 18px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.75);
}
.dbim-footer-bottom .dbim-footer-bottom-links a {
    color: rgba(255, 255, 255, 0.85);
    margin-left: 14px;
}
.dbim-footer-bottom .dbim-footer-bottom-links a:first-child { margin-left: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
    .dbim-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    .dbim-footer-grid > .dbim-footer-col:first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .dbim-footer {
        padding: 32px 0 20px;
    }
    .dbim-footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-bottom: 22px;
    }
    .dbim-footer h4 {
        font-size: 15px;
        margin-bottom: 14px;
    }
    .dbim-footer-social a {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }
    .dbim-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    .dbim-footer-bottom .dbim-footer-bottom-links a {
        margin: 0 14px 0 0;
    }
}
/* =========================================================
   RESPONSIVE DESIGN OVERRIDES
   Additive CSS only: preserves Blade markup, routes, data and JS.
   Uses existing AHCI / SB classes; no new markup required.
   ========================================================= */
.ahci-main,
.ahci-main * {
    min-width: 0;
}

.ahci-main {
    width: 100%;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.ahci-main img,
.ahci-main video,
.ahci-main iframe,
.ahci-main embed,
.ahci-main object {
    max-width: 100%;
}

.ahci-main .ahci-container {
    width: 100%;
    max-width: 1440px;
    /* padding-left: clamp(12px, 2vw, 24px);
    padding-right: clamp(12px, 2vw, 24px); */
    margin-left: 10px;
}

.ahci-grid {
    grid-template-columns: minmax(0, 1fr) minmax(250px, 320px);
    gap: clamp(16px, 2vw, 28px);
    align-items: start;
}

.ahci-grid > *,
.ahci-grid > div,
.ahci-grid > aside,
.ahci-sidebar,
.ahci-sidebar > *,
.ahci-tab-content,
.ahci-tabs {
    min-width: 0;
    max-width: 100%;
}

.ahci-tab-nav {
    max-width: 100%;
    gap: 0 4px;
}

.ahci-tab-nav li {
    max-width: 100%;
}

.ahci-tab-nav li a {
    max-width: 100%;
    overflow-wrap: anywhere;
}

.ahci-social-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    width: 100%;
}

.ahci-social-grid iframe {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 400px;
}

.ahci-social-grid .twitter-timeline,
.ahci-social-grid iframe.twitter-timeline,
.ahci-social-grid > a {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
}

.ahci-bottom-banner {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.ahci-bottom-banner a,
.ahci-bottom-banner img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
}

.ahci-sidebar {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.sb-card {
    width: 100%;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.sb-portrait {
    display: block;
    max-width: min(200px, 100%);
    height: auto;
    margin-left: auto;
    margin-right: auto;
    object-fit: contain;
}

.sb-links-list,
.sb-links-list li,
.sb-links-list li a {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: normal;
}

/* Tablet */
@media (max-width: 992px) {
    .ahci-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .ahci-sidebar {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
        align-items: stretch;
    }

    .ahci-sidebar > .sb-card {
        width: 100%;
        min-width: 0;
        margin: 0;
    }

    .ahci-sidebar > .sb-links-card {
        grid-column: 1 / -1;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .ahci-main {
        font-size: 14px;
        line-height: 1.6;
    }

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

    .ahci-grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
        margin-top: 16px;
        margin-bottom: 20px;
    }

    .ahci-tab-nav {
        display: flex;
        flex-wrap: wrap;
        gap: 4px 10px;
        margin-bottom: 12px;
    }

    .ahci-tab-nav li a,
    .ahci-tab-nav li:not(:first-child) a {
        padding: 8px 2px;
        font-size: 13px;
        line-height: 1.4;
    }

    .ahci-social-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
        margin-top: 12px;
    }

    .ahci-social-grid iframe {
        width: 100% !important;
        max-width: 100% !important;
        height: 380px;
        min-height: 0;
    }

    .ahci-social-grid .twitter-timeline,
    .ahci-social-grid > a {
        width: 100% !important;
        max-width: 100% !important;
    }

    .ahci-sidebar {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }

    .ahci-sidebar > .sb-links-card {
        grid-column: auto;
    }

    .sb-card {
        padding: 18px 14px;
    }

    .sb-portrait {
        max-width: 150px;
    }

    .ahci-bottom-banner {
        margin: 18px 0;
    }

    .ahci-bottom-banner img {
        width: auto;
        max-width: 100%;
        height: auto;
    }
}

/* Very narrow phones */
@media (max-width: 360px) {
    .ahci-main .ahci-container {
        padding-left: 8px;
        padding-right: 8px;
    }

    .ahci-tab-nav li a,
    .ahci-tab-nav li:not(:first-child) a {
        font-size: 12px;
        padding: 7px 1px;
    }

    .sb-card {
        padding: 14px 10px;
    }

    .ahci-social-grid iframe {
        height: 340px;
    }
}
/* footer */
/* Responsive footer design overrides — load after existing site styles */
#footer.footer-redesign,
#footer.footer-redesign * { box-sizing: border-box; }
#footer.footer-redesign {
  display:block; width:100%; max-width:none; margin:0; padding:0;
  color:#fff; 
  /* background:#0b2850; */
   font-family:inherit; overflow:visible;
}
#footer.footer-redesign .footerCont {
  width:100%; max-width:none; margin:0; padding:28px clamp(16px,5vw,76px) 26px;
  background:linear-gradient(120deg,#123d72 0%,#0b2850 64%,#102f5c 100%);
}
#footer.footer-redesign .footerCont > .container {
  width:100%; max-width:1280px; margin:0 auto; padding:0;
}
#footer.footer-redesign .footer-main-grid {
  display:grid; grid-template-columns:minmax(0,1.7fr) minmax(260px,.8fr);
  gap:clamp(22px,4vw,48px); align-items:stretch;
}
#footer.footer-redesign .footer-main-left { min-width:0; }
#footer.footer-redesign .socialIconBox {
  display:flex !important; position:static !important; float:none !important;
  flex-wrap:wrap; align-items:center; justify-content:flex-start; gap:10px;
  width:100%; height:auto; margin:18px 0 22px; padding:0;
  background:transparent; border:0; box-shadow:none; text-align:left;
}
#footer.footer-redesign .socialIconBox::before {
  content:"Connect with us"; display:block; flex:0 0 100%; margin:0 0 3px;
  color:#b9d5f7; font-size:15px; font-weight:600; line-height:1.5;
}
#footer.footer-redesign .socialIconBox a {
  position:static !important; inset:auto !important; display:inline-flex !important;
  align-items:center; justify-content:center; float:none !important;
  width:42px; height:42px; min-width:42px; min-height:42px; flex:0 0 42px;
  margin:0 !important; padding:9px; border:2px solid #fff; border-radius:50%;
  color:#fff !important; background:transparent !important; text-decoration:none;
  box-shadow:none !important; line-height:1; opacity:1; transform:none;
}
#footer.footer-redesign .socialIconBox a > svg {
  display:block !important; width:20px; height:20px; max-width:100%; flex:0 0 20px;
  fill:currentColor; visibility:visible; opacity:1;
}
#footer.footer-redesign .socialIconBox a:hover,
#footer.footer-redesign .socialIconBox a:focus-visible {
  color:#102d50 !important; background:#fff !important; border-color:#fff;
  outline:3px solid #ffdf80; outline-offset:2px;
}
#footer.footer-redesign .sepratorNone {
  position:absolute !important; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}
#footer.footer-redesign .footerLinks {
  display:flex; flex-wrap:wrap; align-items:center; gap:7px 0;
  margin:0 0 16px; padding:0; list-style:none;
}
#footer.footer-redesign .footerLinks li { display:inline-flex; align-items:center; margin:0; padding:0; }
#footer.footer-redesign .footerLinks li + li::before {
  content:"|"; display:inline-block; padding:0 10px; color:#80b7f3;
}
#footer.footer-redesign .footerLinks a,
#footer.footer-redesign .footerLeft .host {
  display:inline; color:#fff !important; font-size:14px; line-height:1.7;
  text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:3px;
  overflow-wrap:anywhere;
}
#footer.footer-redesign .footerLeft,
#footer.footer-redesign .footerRight { float:none; width:auto; min-width:0; margin:0; }
#footer.footer-redesign .footerLeft p,
#footer.footer-redesign .footerRight p {
  margin:0 0 10px; color:#fff; font-size:14px; line-height:1.7; overflow-wrap:anywhere;
}
#footer.footer-redesign .footerRight {
  display:flex; align-items:flex-start; padding:5px 0 5px clamp(18px,3vw,34px);
  border-left:1px solid rgba(140,194,255,.6); min-width:0;
}
#footer.footer-redesign .footerRight p { margin:0; }
#footer.footer-redesign a:focus-visible { outline:3px solid #ffdf80; outline-offset:3px; }

/* Hide known legacy floating social bars, while leaving the chat widget untouched. */
body .social-sidebar, body .socialSideBar, body #social-sidebar, body #socialSideBar,
body .floating-social, body .social-float, body .social-float-bar,
body .fixed-social, body .sticky-social, body .social-share-fixed,
body .social-media-fixed, body .social-links-fixed, body .socialMediaFixed,
body .social-icons-fixed, body .socialIconFixed, body .socialIconBox:not(#footer .socialIconBox) {
  display:none !important;
}
body a.meaApp:not(#footer a.meaApp),
body a.twitter:not(#footer a.twitter),
body a.facebook:not(#footer a.facebook),
body a.youtube:not(#footer a.youtube),
body a.flickr:not(#footer a.flickr),
body a.instagram:not(#footer a.instagram) { display:none !important; }

@media (max-width:767px) {
  #footer.footer-redesign .footerCont { padding:24px 16px 22px; }
  #footer.footer-redesign .footer-main-grid { grid-template-columns:minmax(0,1fr); gap:18px; }
  #footer.footer-redesign .footerRight {
    padding:16px 0 0; border-left:0; border-top:1px solid rgba(140,194,255,.6);
  }
  #footer.footer-redesign .socialIconBox { gap:9px; margin:18px 0; }
  #footer.footer-redesign .footerLinks { gap:8px 0; }
  #footer.footer-redesign .footerLinks li + li::before { padding:0 7px; }
}
@media (max-width:380px) {
  #footer.footer-redesign .footerCont { padding:20px 12px; }
  #footer.footer-redesign .socialIconBox a { width:40px; height:40px; min-width:40px; min-height:40px; flex-basis:40px; }
  #footer.footer-redesign .footerLinks a { font-size:13px; }
}
@media (prefers-reduced-motion:reduce) { #footer.footer-redesign * { transition:none !important; } }


/* FINAL FIX: policy links spacing and remove legacy badge/button styling */
#footer.footer-redesign .footerLinks {
  display: flex !important;
  flex-flow: row wrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  column-gap: 0 !important;
  row-gap: 8px !important;
  margin: 0 0 18px !important;
  padding: 0 !important;
  list-style: none !important;
}
#footer.footer-redesign .footerLinks li {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
#footer.footer-redesign .footerLinks li + li::before {
  content: "|" !important;
  display: inline-block !important;
  position: static !important;
  margin: 0 12px !important;
  padding: 0 !important;
  color: rgba(185, 213, 247, .8) !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  font-weight: 400 !important;
}
#footer.footer-redesign .footerLinks li::after,
#footer.footer-redesign .footerLinks a::before,
#footer.footer-redesign .footerLinks a::after {
  content: none !important;
  display: none !important;
}
#footer.footer-redesign .footerLinks a {
  display: inline-block !important;
  position: static !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #fff !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-decoration: underline !important;
  text-decoration-color: rgba(255,255,255,.75) !important;
  text-decoration-thickness: 1px !important;
  text-underline-offset: 3px !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.8 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}
#footer.footer-redesign .footerLinks a:hover {
  color: #c8e2ff !important;
  background: transparent !important;
  text-decoration-color: #c8e2ff !important;
}
#footer.footer-redesign .footerLinks a:focus-visible {
  outline: 2px solid #ffdf80 !important;
  outline-offset: 4px !important;
  background: transparent !important;
}
@media (max-width: 767px) {
  #footer.footer-redesign .footerLinks li + li::before {
    margin: 0 8px !important;
  }
}
.footerRight {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    width: 100%;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-family: "Noto Sans", sans-serif;
    font-size: 12px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    text-align: left;
}

.footerRight .footerInfoItem {
    margin: 0;
    padding: 0;
    width: 100%;
}

.footerRight span {
    display: inline;
    overflow-wrap: anywhere;
}
/* menu bar*/

/* ===== Main navigation alignment ===== */

#mainNav {
    position: relative;
    z-index: 10;
    width: 100%;
    background: #19366f;
    font-family: "Noto Sans", sans-serif;
}

#mainNav,
#mainNav * {
    box-sizing: border-box;
}

#mainNav .container {
    width: 100%;
    max-width: 100%;
    padding: 0;
}

#mainNav .menuPart {
    position: relative;
    display: flex;
    align-items: stretch;
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Noto Sans';
}

/* Desktop navigation */
#mainNav #nav {
    display: flex;
    flex: 1 1 auto;
    align-items: stretch;
    justify-content: space-between;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

#mainNav #nav > li {
    position: relative;
    display: flex;
    flex: 1 1 0;
    align-items: stretch;
    justify-content: center;
    min-width: 0;
    margin: 0;
    padding: 0;
}

/* Main menu links */
#mainNav #nav > li > a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    min-height: 48px;
    padding: 10px 12px;
    color: #fff;
    background: transparent;
    border: 0;
    border-radius: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    overflow-wrap: anywhere;
}

#mainNav #nav > li:hover > a,
#mainNav #nav > li:focus-within > a,
#mainNav #nav > li.active > a {
    color: #fff;
    background: #294fa5;
}

/* Arrow for items with submenus */
#mainNav #nav > li:has(> ul) > a::after {
    content: "";
    flex: 0 0 7px;
    width: 7px;
    height: 7px;
    margin-top: -4px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
}

/* Hide the mobile menu trigger on desktop */
#mainNav .menu-trigger {
    display: none;
}

/* Dropdown panels */
#mainNav #nav li > ul.menuSubUl {
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    width: 270px;
    min-width: 230px;
    max-width: 90vw;
    margin: 0;
    padding: 5px 0;
    list-style: none;
    background: #fff;
    border: 1px solid #ddd;
    border-top: 3px solid #294fa5;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .18);
    z-index: 10001;
}

#mainNav #nav li:hover > ul.menuSubUl,
#mainNav #nav li:focus-within > ul.menuSubUl,
#mainNav #nav li.submenu-open > ul.menuSubUl {
    display: block;
}

/* Nested dropdowns open beside their parent */
#mainNav #nav li > ul.menuSubUl li {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
    margin: 0;
    padding: 0;
}

#mainNav #nav ul.menuSubUl li > a {
    display: block;
    flex: 1 1 0;
    min-width: 0;
    padding: 11px 14px;
    color: #19366f;
    background: #fff;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    text-align: left;
    text-decoration: none;
    overflow-wrap: anywhere;
}

#mainNav #nav ul.menuSubUl li > a:hover,
#mainNav #nav ul.menuSubUl li > a:focus-visible {
    color: #19366f;
    background: #edf1fa;
}

#mainNav #nav ul.menuSubUl li > ul.menuSubUl {
    top: 0;
    left: 100%;
    border-top: 1px solid #ddd;
    border-left: 3px solid #294fa5;
}

/* Dropdown toggle buttons */
#mainNav .submenu-toggle {
    display: inline-flex;
    /* flex: 0 0 34px; */
    align-items: center;
    justify-content: center;
    min-height: 34px;
    margin: 0 7px 0 0;
    padding: 0;
    color: #19366f;
    background: #edf1fa;
    /* border: 1px solid #dce2ef; */
    border-radius: 3px;
    cursor: pointer;
}

#mainNav #nav > li > .submenu-toggle {
    display: none;
}

/* Search area, if retained */
#mainNav .menuSearchBox {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    padding: 0 10px;
}

#mainNav .menuSearchIcon {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 8px 12px;
    color: #fff;
    border: 1px solid rgba(255,255,255,.45);
    text-decoration: none;
}

/* Keyboard focus */
#mainNav a:focus-visible,
#mainNav button:focus-visible {
    outline: 3px solid #f4cc72;
    outline-offset: -3px;
}

/* ===== Tablet and mobile ===== */

@media (max-width: 1100px) {
    #mainNav #nav > li > a {
        padding: 10px 8px;
        font-size: 12px;
    }
}

@media (max-width: 991px) {
    #mainNav .menuPart {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }

    #mainNav .menu-trigger {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        min-height: 48px;
        padding: 10px 16px;
        color: #fff;
        background: transparent;
        border: 0;
        font-family: inherit;
        font-size: 15px;
        font-weight: 600;
        cursor: pointer;
    }

    #mainNav .menuSearchBox {
        margin-left: auto;
    }

    #mainNav #nav {
        display: none;
        flex: 0 0 100%;
        width: 100%;
        max-height: 70vh;
        overflow-x: hidden;
        overflow-y: auto;
        order: 3;
        border-top: 1px solid rgba(255,255,255,.2);
    }

    #mainNav #nav.menu-open {
        display: block;
    }

    #mainNav #nav > li {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,.15);
    }

    #mainNav #nav > li > a {
        flex: 1 1 0;
        justify-content: flex-start;
        width: auto;
        min-height: 46px;
        padding: 12px 16px;
        text-align: left;
    }

    #mainNav #nav > li > .submenu-toggle {
        display: inline-flex;
        flex: 0 0 42px;
        min-height: 42px;
        margin: 3px 8px;
        color: #fff;
        background: rgba(255,255,255,.1);
        border-color: rgba(255,255,255,.25);
    }

    #mainNav #nav li > ul.menuSubUl,
    #mainNav #nav ul.menuSubUl li > ul.menuSubUl {
        position: static;
        display: none;
        flex: 0 0 100%;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        margin: 0;
        padding: 0;
        background: #fff;
        border: 0;
        box-shadow: none;
    }

    #mainNav #nav li.submenu-open > ul.menuSubUl {
        display: block;
    }

    #mainNav #nav ul.menuSubUl li > a {
        padding: 12px 18px;
    }

    #mainNav #nav ul.menuSubUl ul.menuSubUl li > a {
        padding-left: 34px;
    }

    #mainNav #nav ul.menuSubUl ul.menuSubUl ul.menuSubUl li > a {
        padding-left: 48px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #mainNav *,
    #mainNav *::before,
    #mainNav *::after {
        transition: none !important;
    }
}
/* Hide duplicate legacy menu triggers */
@media (max-width: 991px) {
    #mainNav .fro,
    #mainNav .menu-trigger.fro {
        display: none !important;
    }

    #mainNav .menu-trigger:not(.fro) {
        display: inline-flex !important;
    }
}

/* Desktop: hide the mobile menu button */
@media (min-width: 992px) {
    #mainNav .menu-trigger {
        display: none !important;
    }
}

.footer-main-grid {
    /* Shrinks columns to fit content and moves right section to the left */
    grid-template-columns: auto auto !important;
    /* Reduces the space between the grid items */
    gap: 16px !important;
    /* Aligns the grid content to the start of the container */
    justify-content: start !important;
}

/* Optional: Ensure child elements don't have forced widths that cause extra space */
.footer-main-grid > * {
    width: auto !important;
}
@media (max-width: 768px) {
    .footer-main-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
        padding: 20px;
        width: 100%;
    }
    
    .footer-main-grid > * {
        width: 100%;
        max-width: 100%;
        justify-content: center;
    }

    .socialIconBox {
        justify-content: center;
        flex-wrap: wrap;
    }
}