/* =========================================================
   Inner pages — Embassy of India, Doha   (v1)
   One stylesheet for every content page that uses layouts.master_new
   (loaded by the layout on all pages except the homepage).

   Same design language as the homepage (home.css v9):
     DBIM 3.0 palette only — Blue group #162F6A key · #214AAB · #5279D7 · #A3BBF3 · #D2DFFF
                             White #FFFFFF · Linen #EBEAEA · Deep Earthy Brown #150202 · Greys #606060 #8E8E8E
     Noto Sans · DBIM type scale (desktop H1 36 · H2 24 · H3 20 · P1 16 · P2 14 / mobile H1 24 · H2 20 · H3 16 · P1 14)
     Thin Blue-group borders, no drop shadows, no gradients, no animation.

   Works on the existing markup of all inner views:
     .innerBanner (page title)  ·  .breadcrumb  ·  #innerContent / .mcontent (CMS HTML)
     .commonListing (link lists) · .rightPart / .leftMenu (section menu from user.pages_right)
   plus the new components used by user/pages.blade.php:
     .ip-head · .ip-crumbs · .ip-layout · .ip-article · .ip-side · .ip-links

   Everything is scoped to .site-main (the <main> in layouts.master_new),
   so the header, footer and homepage are not affected.
   ========================================================= */

.site-main {
    --ip-navy: #162F6A;
    --ip-blue: #214AAB;
    --ip-mid: #5279D7;
    --ip-line: #A3BBF3;
    --ip-soft: #D2DFFF;
    --ip-card: #FFFFFF;
    --ip-text: #150202;
    --ip-muted: #606060;
    --ip-field: #8E8E8E;
    --ip-radius: .625rem;
    --ip-gap: 1.5rem;
    display: block;
    padding-bottom: 3rem;
    font-family: "Noto Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    color: var(--ip-text);
}
.site-main:focus { outline: none; }          /* <main> only receives focus from the skip link */
.site-main *, .site-main *::before, .site-main *::after { box-sizing: border-box; }

.ip-sr-only {
    position: absolute !important;
    width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* keyboard focus everywhere in the content area */
.site-main a:focus-visible,
.site-main button:focus-visible,
.site-main input:focus-visible,
.site-main select:focus-visible,
.site-main textarea:focus-visible,
.site-main summary:focus-visible,
.site-main [tabindex]:not(#contentStart):focus-visible {
    outline: 3px solid var(--ip-blue);
    outline-offset: 2px;
}

/* =========================================================
   1. Page title band  (.innerBanner — legacy  ·  .ip-head — new)
   ========================================================= */
.site-main .innerBanner,
.ip-head {
    display: flex;
    align-items: center;
    min-height: 0;
    height: auto;
    margin: 1.5rem 0 0;
    padding: 1.5rem 1.75rem;
    border: 0;
    border-bottom: 3px solid var(--ip-mid);
    border-radius: var(--ip-radius) var(--ip-radius) 0 0;
    background: var(--ip-navy);       /* solid key colour (old banner image removed) */
    background-image: none;
    color: #fff;
    float: none;
    width: auto;
}
.site-main .innerBanner > img { display: none; }   /* old decorative mini-icon, if a view still has one */
.site-main .innerBanner__title span,
.ip-head__title span {                                /* style.css ".innerBanner span" (float, 3.167em, padding 37px) */
    float: none; padding: 0; background: none; color: inherit; font-size: inherit; line-height: inherit;
}
.site-main .innerBanner > span,
.site-main .innerBanner__title,
.ip-head__title {
    display: block;
    margin: 0;
    padding: 0;
    color: #fff;
    font-family: inherit;
    font-size: 2.25rem;               /* H1 36 */
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0;
    text-transform: none;
    overflow-wrap: break-word;
}

/* =========================================================
   2. Breadcrumb  (legacy ul.breadcrumb  ·  new .ip-crumbs)
   ========================================================= */
.site-main .ip-crumbs,
.site-main .breadcrumb {
    margin: 0 0 var(--ip-gap);
    padding: .625rem 1.25rem;
    border: 1px solid var(--ip-line);
    border-top: 0;
    border-radius: 0 0 var(--ip-radius) var(--ip-radius);
    background: var(--ip-soft);
    color: var(--ip-navy);
    font-size: .875rem;               /* P2 14 */
    line-height: 1.5;
    list-style: none;
}
.site-main .breadcrumb li,
.site-main .breadcrumb li > span,
.site-main .breadcrumb li > span > span { display: inline; padding: 0; margin: 0; color: var(--ip-navy); }
.site-main .breadcrumb .bdrNoLink { padding-right: 0; }
.site-main .breadcrumb > li + li::before { content: none; }
.site-main .breadcrumb a,
.ip-crumbs a {
    color: var(--ip-blue);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: .2em;
}
.site-main .breadcrumb a:hover,
.ip-crumbs a:hover { color: var(--ip-navy); text-decoration-thickness: 2px; }
.site-main .breadcrumb .ip-sep,
.ip-crumbs .ip-sep { margin: 0 .375rem; color: var(--ip-navy); }
.site-main .breadcrumb .bdrNoLink { color: var(--ip-navy); }
.site-main .breadcrumb [aria-current="page"],
.ip-crumbs [aria-current="page"] { color: var(--ip-text); font-weight: 600; }

.ip-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: .125rem 0; margin: 0; padding: 0; list-style: none; }
.ip-crumbs li { display: inline-flex; align-items: center; margin: 0; }

/* =========================================================
   3. Page layout: content + optional section menu
   Bootstrap 3 floats (.row/.col-md-*) on the top-level row are replaced by a grid;
   an empty right column disappears and the content takes the full width.
   ========================================================= */
.site-main > .container > .row,
.ip-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--ip-gap);
    margin: 0;
}
.site-main > .container > .row::before,
.site-main > .container > .row::after { content: none; display: none; }
.site-main > .container > .row > [class*="col-"] {
    float: none;
    width: auto;
    min-width: 0;
    min-height: 0;
    padding: 0;
}
.site-main > .container > .row > .col-md-3:not(:has(*)) { display: none; }   /* empty sidebar column */
.site-main > .container > .row > .col-md-3:has(.rightPart:empty) { display: none; }
.site-main .rightPartShadow { display: none; }

@media (min-width: 992px) {
    .site-main > .container > .row:has(> .col-md-3 .leftMenu),
    .ip-layout--side {
        grid-template-columns: minmax(0, 1fr) 18rem;
        align-items: start;
    }
}

/* =========================================================
   4. Content card + CMS typography  (#innerContent, .mcontent, .ip-article)
   ========================================================= */
.site-main #innerContent,
.ip-article {
    min-width: 0;
    margin: 0;                        /* style.css: #innerContent { margin: 0 25px } */
    padding: 1.75rem 2rem 2rem;
    border: 1px solid var(--ip-line);
    border-radius: var(--ip-radius);
    background: var(--ip-card);
    color: var(--ip-text);
    font-size: 1rem;                  /* P1 16 */
    line-height: 1.6;
    text-align: left;                 /* DBIM 4: body text left-aligned (old align="justify" ignored) */
    overflow-wrap: break-word;
}
.site-main .mcontent { text-align: left; }
.site-main .mcontent:focus { outline: none; }
.site-main .mcontent:focus-visible { outline: 3px solid var(--ip-blue); outline-offset: 4px; border-radius: .25rem; }

/* CMS content often carries Word / Calibri inline fonts — keep one typeface (DBIM: Noto Sans everywhere) */
.site-main #innerContent :where(p, span, font, div, li, td, th, a, strong, b, em, i, u, h1, h2, h3, h4, h5, h6, label) {
    font-family: inherit !important;
}
/* and one readable body size for running text (headings keep their own sizes) */
.site-main #innerContent :where(p, li, td, th, dd, dt) :where(span, font) { font-size: inherit !important; line-height: inherit !important; }
.site-main #innerContent :where(p, li, dd) { font-size: 1rem; }

.site-main #innerContent p,
.ip-article p {
    margin: 0 0 1rem;
    padding: 0;                       /* style.css: padding-bottom 3% */
    clear: none;                      /* style.css: clear both — stopped text wrapping beside floated images */
    color: inherit;                   /* style.css: #595656 */
    line-height: inherit;             /* style.css: 1.367em */
}
.site-main #innerContent table { color: inherit; }
/* style.css gives #innerContent h2/h3 "margin-bottom: 15px !important"; only !important can restore the scale */
.site-main #innerContent :is(h2, .pages_heading) { margin-bottom: 1.25rem !important; }
.site-main #innerContent h3 { margin-bottom: .75rem !important; }
.site-main #innerContent p:last-child { margin-bottom: 0; }

/* headings inside the content */
.site-main #innerContent :is(h2, .pages_heading),
.ip-article h2 {
    position: relative;
    margin: 0 0 1.25rem;
    padding: 0 0 .625rem;
    border-bottom: 1px solid var(--ip-soft);
    color: var(--ip-navy);
    font-size: 1.5rem;                /* H2 24 */
    font-weight: 700;
    line-height: 1.3;
    text-align: left;
}
.site-main #innerContent :is(h2, .pages_heading)::after,
.ip-article h2::after {
    content: "";
    position: absolute;
    left: 0; bottom: -1px;
    width: 3rem; height: 3px;
    background: var(--ip-navy);
}
.site-main #innerContent * + h2,
.ip-article * + h2 { margin-top: 2rem; }
.site-main #innerContent h3 { margin: 1.5rem 0 .75rem; color: var(--ip-navy); font-size: 1.25rem; font-weight: 700; line-height: 1.35; }
.site-main #innerContent h4 { margin: 1.25rem 0 .5rem; color: var(--ip-navy); font-size: 1.125rem; font-weight: 700; line-height: 1.4; }
.site-main #innerContent :is(h5, h6) { margin: 1rem 0 .5rem; color: var(--ip-navy); font-size: 1rem; font-weight: 700; }

/* links */
.site-main #innerContent a:not(.btn):not([class*="ip-btn"]) {
    color: var(--ip-blue);
    text-decoration: underline;
    text-underline-offset: .2em;
}
.site-main #innerContent a:not(.btn):not([class*="ip-btn"]):hover { color: var(--ip-navy); text-decoration-thickness: 2px; }

/* lists */
.site-main #innerContent ul:not([class]),
.ip-article ul:not([class]) { margin: 0 0 1rem; padding-left: 1.25rem; list-style: square; }
.site-main #innerContent ul:not([class]) li::marker { color: var(--ip-navy); }
.site-main #innerContent ol:not([class]) { margin: 0 0 1rem; padding-left: 1.5rem; }
.site-main #innerContent li { margin-bottom: .375rem; }

/* images: never wider than the card; floated CMS images stack on phones */
.site-main #innerContent img { max-width: 100%; height: auto; }
.site-main #innerContent img[align="left"],
.site-main #innerContent img[style*="float: left"],
.site-main #innerContent img[style*="float:left"] { margin: .25rem 1.5rem 1rem 0; }
.site-main #innerContent img[align="right"],
.site-main #innerContent img[style*="float: right"],
.site-main #innerContent img[style*="float:right"] { margin: .25rem 0 1rem 1.5rem; }
.site-main #innerContent :is(iframe, video, embed, object) { max-width: 100%; }
.site-main #innerContent hr { margin: 1.5rem 0; border: 0; border-top: 1px solid var(--ip-soft); }
.site-main #innerContent blockquote {
    margin: 1rem 0;
    padding: .75rem 1rem;
    border-left: 4px solid var(--ip-navy);
    background: #EBEAEA;              /* DBIM Linen: quotes */
}

/* nothing inside the card may be wider than the card (fixed widths from old inline styles, long e-mail addresses / URLs) */
.site-main #innerContent :is(div, p, ul, ol, dl, figure, section, article, form, fieldset, iframe, video) { max-width: 100%; }
.site-main #innerContent :is(p, li, td, dd, a, strong, span) { overflow-wrap: anywhere; }
.site-main #innerContent figure.table { margin: 0 0 1.25rem; overflow-x: auto; }

/* FAQ pages (OCI, visa, passport, apostille …): question / answer cards */
.site-main #innerContent .faqListing { margin: 0; padding: 0; list-style: none; }
.site-main #innerContent :is(.queAns, .faqListing > li) {
    margin: 0 0 1rem;
    padding: 1rem 1.25rem;
    border: 1px solid var(--ip-soft);
    border-left: 4px solid var(--ip-navy);
    border-radius: .5rem;
    background: var(--ip-card);
    box-shadow: none;
}
.site-main #innerContent :is(.faqQue, .faqAns) {
    display: grid;
    grid-template-columns: 2rem minmax(0, 1fr);
    gap: .75rem;
    align-items: start;
    clear: both;
}
.site-main #innerContent .faqAns,
.site-main #innerContent .faqAns .faqDetails,
.site-main #innerContent .faqAns p { margin-top: .75rem; color: var(--ip-text); }
.site-main #innerContent .faqAns .faqDetails,
.site-main #innerContent .faqAns p:first-child { margin-top: 0; }
.site-main #innerContent .faqListing .faqDetails { float: none; width: auto; margin: 0; padding: 0; }
.site-main #innerContent .faqQue .faqDetails { color: var(--ip-navy); font-size: 1.125rem; font-weight: 700; line-height: 1.4; }
.site-main #innerContent .faqListing .lbl {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: .375rem;
    font-size: .875rem;
    font-weight: 700;
}
.site-main #innerContent .faqQue .lbl { background: var(--ip-navy); color: #fff; }
.site-main #innerContent .faqAns .lbl { background: var(--ip-soft); color: var(--ip-navy); }
.site-main #innerContent .faqListing .lbl::after { content: none; }
.site-main #innerContent ul.bulletText { margin: 0 0 1rem; padding: 0; list-style: none; }
.site-main #innerContent ul.bulletText li { position: relative; padding-left: 1rem; background: none; }
.site-main #innerContent ul.bulletText li::before { content: ""; position: absolute; left: 0; top: .6em; width: .375rem; height: .375rem; background: var(--ip-navy); }

/* =========================================================
   5. Tables (inner.js wraps each table in .ip-table so wide tables scroll, not the page)
   ========================================================= */
.ip-table {
    max-width: 100%;
    margin: 0 0 1.25rem;
    overflow-x: auto;
    border: 1px solid var(--ip-line);
    border-radius: .5rem;
}
.ip-table:focus-visible { outline: 3px solid var(--ip-blue); outline-offset: 2px; }
.site-main #innerContent table {
    width: 100%;
    max-width: 100%;
    margin: 0 0 1.25rem;
    border-collapse: collapse;
    font-size: .9375rem;
    line-height: 1.5;
}
.site-main #innerContent .ip-table > table { margin: 0; }
.site-main #innerContent table caption {
    caption-side: top;
    padding: .625rem .75rem;
    color: var(--ip-navy);
    font-weight: 700;
    text-align: left;
}
.site-main #innerContent :is(th, td) {
    padding: .625rem .75rem;
    border: 1px solid var(--ip-soft);
    vertical-align: top;
    text-align: left;                 /* DBIM 4: text left; numbers via .num */
}
.site-main #innerContent th,
.site-main #innerContent thead td {
    background: var(--ip-navy);
    color: #fff;
    font-weight: 600;
    text-align: center;               /* DBIM 4: headers centred */
}
.site-main #innerContent th a { color: #fff !important; }
.site-main #innerContent td.num,
.site-main #innerContent td[align="right"] { text-align: right; }
/* old layout tables (border="0") keep a quiet look */
.site-main #innerContent table[border="0"] :is(th, td) { border-color: transparent; }

/* =========================================================
   6. Link lists  (.commonListing — sub-menus, archives, tenders …  ·  .ip-links — new)
   ========================================================= */
.site-main .commonListing,
.ip-links { margin: 0 0 1rem; padding: 0; list-style: none; }
.site-main .commonListing > li,
.ip-links > li {
    position: relative;
    margin: 0;
    padding: .75rem .75rem .75rem 1.75rem;
    border-bottom: 1px solid var(--ip-soft);
    background: none;
    line-height: 1.5;
}
.site-main .commonListing > li::before,
.ip-links > li::before {
    content: "";
    position: absolute;
    left: .375rem;
    top: 1.25rem;
    width: .5rem;
    height: .5rem;
    border-top: 2px solid var(--ip-navy);
    border-right: 2px solid var(--ip-navy);
    transform: rotate(45deg);
}
.site-main .commonListing li { float: none; width: auto; color: inherit; list-style: none; }
.site-main .commonListing > li:last-child,
.ip-links > li:last-child { border-bottom: 0; }
.site-main .commonListing a,
.ip-links a { font-weight: 600; }
.site-main .commonListing ul { margin: .5rem 0 0; padding-left: 1rem; list-style: none; }
.site-main .commonListing ul li { position: relative; margin: 0; padding: .375rem 0 .375rem 1rem; }
.site-main .commonListing ul li::before {
    content: "";
    position: absolute;
    left: 0; top: 1rem;
    width: .375rem; height: .375rem;
    background: var(--ip-line);
}
.site-main .commonListing ul a { font-weight: 500; }
.site-main .commonListing img { display: inline-block; width: 1rem; height: 1rem; margin-left: .375rem; vertical-align: -.125em; }
.ip-meta { margin-left: .375rem; color: var(--ip-muted); font-size: .875rem; font-weight: 400; white-space: nowrap; }

/* =========================================================
   7. Section menu  (.rightPart/.leftMenu from user.pages_right  ·  .ip-side — new)
   ========================================================= */
.site-main .rightPart,
.ip-side { min-width: 0; }
.site-main .leftMenu,
.ip-side__box {
    overflow: hidden;
    border: 1px solid var(--ip-line);
    border-radius: var(--ip-radius);
    background: var(--ip-card);
}
.site-main .leftMenu + .leftMenu { margin-top: var(--ip-gap); }
.site-main .leftMenu .menuTitle,
.site-main .rightPart .menuTitle,
.ip-side__title {
    display: block;
    margin: 0;
    padding: .75rem 1rem;
    border-bottom: 3px solid var(--ip-mid);
    background: var(--ip-navy);
    color: #fff;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.35;
}
.site-main .leftMenu .menuTitle:empty { display: none; }
.site-main .rightPart { padding: 0; font-size: inherit; }          /* style.css: padding 30px 0 30px 20px */
.site-main .leftMenu ul,
.site-main #menuLeft,
.ip-side__list { float: none; width: auto; margin: 0; padding: .375rem 0; list-style: none; }
.site-main .leftMenu li,
.site-main #menuLeft li,
.ip-side__list li { width: auto; margin: 0; padding: 0; border: 0; background: none; }
.site-main .leftMenu li + li,
.site-main #menuLeft li + li,
.ip-side__list li + li { border-top: 1px solid var(--ip-soft); }
.site-main .leftMenu a,
.site-main #menuLeft li a,
.ip-side__list a {
    position: relative;
    display: block;
    min-height: 2.75rem;              /* 44 px target */
    padding: .625rem 1rem .625rem 1.25rem;
    background: none;
    color: var(--ip-navy);
    font-size: .9375rem;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
}
.site-main .leftMenu a:hover,
.site-main .leftMenu a:focus-visible,
.site-main #menuLeft li a:hover,
.site-main #menuLeft li a:focus-visible,
.ip-side__list a:hover,
.ip-side__list a:focus-visible { background: var(--ip-soft); color: var(--ip-navy); text-decoration: underline; text-underline-offset: .2em; }
.site-main .leftMenu a[aria-current="page"],
.site-main #menuLeft li a[aria-current="page"],
.ip-side__list a[aria-current="page"] { background: var(--ip-soft); font-weight: 700; }
.site-main .leftMenu a[aria-current="page"]::before,
.ip-side__list a[aria-current="page"]::before {
    content: "";
    position: absolute;
    top: 0; bottom: 0; left: 0;
    width: 4px;
    background: var(--ip-navy);
}
.site-main .leftMenu a:focus-visible,
.ip-side__list a:focus-visible { outline-offset: -3px; }

/* =========================================================
   8. Forms inside content pages (feedback, registrations, enquiries …)
   ========================================================= */
.site-main #innerContent label { color: var(--ip-text); font-weight: 600; }
.site-main #innerContent :is(input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="hidden"]):not([type="file"]), select, textarea) {
    max-width: 100%;
    min-height: 2.75rem;
    padding: .5rem .75rem;
    border: 1px solid var(--ip-field);
    border-radius: .375rem;
    background: #fff;
    color: var(--ip-text);
    font: inherit;
    font-size: 1rem;
    box-shadow: none;
}
.site-main #innerContent textarea { min-height: 7rem; }
.site-main #innerContent :is(input, select, textarea):focus { border-color: var(--ip-blue); }
.site-main #innerContent :is(.btn, button, input[type="submit"], input[type="button"], input[type="reset"]) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding: .5rem 1.25rem;
    border: 1px solid var(--ip-navy);
    border-radius: .375rem;
    background: var(--ip-navy);
    color: #fff;
    font: inherit;
    font-size: .9375rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}
.site-main #innerContent :is(.btn, button, input[type="submit"], input[type="button"]):hover { background: var(--ip-blue); border-color: var(--ip-blue); text-decoration: underline; }
.site-main #innerContent :is(input[type="reset"], .btn-default, .btn-secondary) { background: #fff; color: var(--ip-navy); }
.site-main #innerContent :is(button, input):disabled { opacity: .55; cursor: not-allowed; }
.site-main #innerContent .error,
.site-main #innerContent label.error { color: #A72626; }          /* DBIM Cinnamon Red, 6.6:1 on white */

/* =========================================================
   9. Ambassador / profile block (new pages.blade.php) and figures
   ========================================================= */
.ip-figure { margin: 0 0 1.5rem; text-align: center; }
.ip-figure img { display: inline-block; max-width: 100%; height: auto; border: 1px solid var(--ip-soft); border-radius: .5rem; }
.ip-figure figcaption { margin-top: .5rem; color: var(--ip-muted); font-size: .875rem; }
.site-main #innerContent p[align="center"],
.site-main #innerContent p[style*="text-align: center"],
.site-main #innerContent p[style*="text-align:center"] { text-align: center; }

.ip-updated {
    margin: 1.5rem 0 0 !important;
    padding-top: .75rem;
    border-top: 1px solid var(--ip-soft);
    color: var(--ip-muted);
    font-size: .875rem;
}

/* Photo galleries (.thumbnail / .caption from style.css) */
.site-main .thumbnail {
    overflow: hidden;
    margin-bottom: 1.25rem;
    padding: 0;
    border: 1px solid var(--ip-soft);
    border-radius: .5rem;
    background: var(--ip-card);
    transition: border-color .15s ease;
}
.site-main .thumbnail:hover,
.site-main .thumbnail:focus-within { border-color: var(--ip-navy); }
.site-main .thumbnail a > img,
.site-main .thumbnail > img { display: block; width: 100%; height: 180px; object-fit: cover; }   /* crop, never stretch */
.site-main .height_200 a > img { height: 110px; }
.site-main .caption {
    height: auto;                     /* style.css: height 110px + overflow hidden cut captions off */
    margin: 0;
    padding: .75rem .875rem;
    overflow: visible;
    color: var(--ip-text);
    font-size: .875rem;
    line-height: 1.45;
}
.site-main .image-container a { border-color: var(--ip-soft); border-radius: .5rem; }
.site-main .image-container a:hover,
.site-main .image-container a:focus-visible { border-color: var(--ip-navy); }

/* =========================================================
   10. Breakpoints
   ========================================================= */
@media (max-width: 991.98px) {
    .site-main .innerBanner > span,
    .site-main .innerBanner__title,
    .ip-head__title { font-size: 1.75rem; }
    .site-main #innerContent,
    .ip-article { padding: 1.5rem; }
}

@media (max-width: 767.98px) {
    .site-main { padding-bottom: 2rem; }
    .site-main .innerBanner,
    .ip-head { margin-top: 1rem; padding: 1rem 1.125rem; }
    .site-main .innerBanner > span,
    .site-main .innerBanner__title,
    .ip-head__title { font-size: 1.5rem; }                 /* H1 mobile 24 */
    .site-main .ip-crumbs,
    .site-main .breadcrumb { padding: .5rem 1rem; font-size: .8125rem; margin-bottom: 1rem; }
    .site-main > .container > .row,
    .ip-layout { gap: 1rem; }
    .site-main #innerContent,
    .ip-article { padding: 1.125rem 1rem 1.25rem; font-size: .875rem; }
    .site-main #innerContent :where(p, li, dd) { font-size: .875rem; }   /* P1 mobile 14 */
    .site-main #innerContent :is(h2, .pages_heading),
    .ip-article h2 { font-size: 1.25rem; }                              /* H2 mobile 20 */
    .site-main #innerContent h3 { font-size: 1rem; }                    /* H3 mobile 16 */
    .site-main #innerContent h4 { font-size: .9375rem; }
    .site-main #innerContent img[align],
    .site-main #innerContent img[style*="float"] { float: none !important; display: block; margin: 0 auto 1rem !important; }
    .site-main #innerContent table { font-size: .8125rem; }
    .site-main .leftMenu .menuTitle,
    .ip-side__title { font-size: 1rem; }
    .site-main #innerContent :is(.queAns, .faqListing > li) { padding: .875rem 1rem; }
    .site-main #innerContent :is(.faqQue, .faqAns) { grid-template-columns: 1.75rem minmax(0, 1fr); gap: .625rem; }
    .site-main #innerContent .faqListing .lbl { width: 1.75rem; height: 1.75rem; font-size: .8125rem; }
    .site-main #innerContent .faqQue .faqDetails { font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
    .site-main * { transition: none !important; animation: none !important; }
}

@media (forced-colors: active) {
    .site-main .innerBanner, .ip-head, .site-main #innerContent, .ip-article,
    .site-main .leftMenu, .ip-side__box, .ip-table { border: 1px solid CanvasText; }
}

@media print {
    .site-main .rightPart, .ip-side { display: none; }
    .site-main .innerBanner, .ip-head { background: none; color: #000; border-bottom: 2px solid #000; }
    .site-main .innerBanner > span, .site-main .innerBanner__title, .ip-head__title { color: #000; }
    .site-main #innerContent, .ip-article { border: 0; padding: 0; }
}

/* =========================================================
   11. Dark Contrast (html.ei-dark) / Dark Mode (html.ei-theme-dark) — set by the header's accessibility panel
   (DBIM defines no dark palette; these values keep WCAG AA contrast)
   ========================================================= */
html.ei-dark .site-main,
html.ei-theme-dark .site-main {
    --ip-card: #111827;
    --ip-text: #F9FAFB;
    --ip-muted: #D1D5DB;
    --ip-line: #3A4A70;
    --ip-soft: #1f2a44;
    --ip-navy: #0B1A38;
    --ip-blue: #A3BBF3;
}
html.ei-dark .site-main :is(.breadcrumb, .ip-crumbs, .leftMenu a, .ip-side__list a, #innerContent :is(h2, h3, h4, .pages_heading)),
html.ei-theme-dark .site-main :is(.breadcrumb, .ip-crumbs, .leftMenu a, .ip-side__list a, #innerContent :is(h2, h3, h4, .pages_heading)) { color: #F9FAFB; }
html.ei-dark .site-main #innerContent h2::after,
html.ei-dark .site-main #innerContent .pages_heading::after,
html.ei-dark .site-main .leftMenu a[aria-current="page"]::before,
html.ei-theme-dark .site-main #innerContent h2::after,
html.ei-theme-dark .site-main #innerContent .pages_heading::after,
html.ei-theme-dark .site-main .leftMenu a[aria-current="page"]::before { background: #A3BBF3; }
html.ei-dark .site-main a:focus-visible,
html.ei-theme-dark .site-main a:focus-visible { outline-color: #FFD54A; }
