/* =====================================================================
   DPR long-form service pages - shared readability layer (2026-11-20)
   Scope: everything lives under .dpr-article, a wrapper div added inside
   each in-scope page's MainContent. Nothing here touches the rest of the
   site. Pairs with /Scripts/service-pages.js (TOC, hub bar, table wrap);
   every rule below works without the script.
   Tokens mirror the /services hub (service-centres.css): navy ink, gold
   accent, white cards, Inter via Site.Master.
   ===================================================================== */

/* sticky positioning + zero horizontal scroll: "clip" (unlike "hidden")
   does not turn <body> into a scroll container, so sticky sidebars work */
html:has(.dpr-article), html:has(.dpr-article) body { overflow-x: clip; }

.dpr-article {
    --dpa-ink: #102542;
    --dpa-navy: #0b1b32;
    --dpa-navy-2: #183856;
    --dpa-gold: #c9a84c;
    --dpa-gold-soft: #dfbd70;
    --dpa-gold-deep: #87651f;
    --dpa-text: #2b3a4f;
    --dpa-muted: #4f6076;
    --dpa-line: #dce3ed;
    --dpa-tint: #f3f6fa;
    --dpa-top: 112px; /* clearance for the sticky site header */
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--dpa-text);
    line-height: 1.7;
    overflow-x: clip;
}
.dpr-article *, .dpr-article *::before, .dpr-article *::after { box-sizing: border-box; }
.dpr-article :is(img, svg, video, iframe, canvas) { max-width: 100%; }

/* ---------- Prose -------------------------------------------------- */
.dpr-article :is(p, li, dd) { line-height: 1.75; overflow-wrap: break-word; }
.dpr-article p, .dpr-article .accordion-body { text-align: inherit; } /* undo site.css justify */
.dpr-article p { max-width: 72ch; }
.dpr-article :is(.text-center, .text-md-center, [style*="text-align:center"], [style*="text-align: center"]) p { margin-left: auto; margin-right: auto; }
.dpr-article :is(.blog-content, .article-content) { font-size: 1.0625rem; line-height: 1.8; color: var(--dpa-text); }
.dpr-article :is(.blog-content, .article-content) > :is(ul, ol) { max-width: 74ch; }
.dpr-article :is(a, li, td, th, summary, h1, h2, h3, h4, h5, h6) { overflow-wrap: break-word; }
.dpr-article a { overflow-wrap: anywhere; }
.dpr-article li::marker { color: var(--dpa-gold-deep); }
.dpr-article .text-muted { color: var(--dpa-muted) !important; }
.dpr-article strong { color: inherit; }
.dpr-article :is(p, li, td):not(:is([class*="hero"], [class*="cta"], .probate-box, .highlight-box, .mcd-danger, [style*="gradient"], .dpr-toc) *) a:not(.btn) {
    color: #1d4a7a; text-underline-offset: 3px; text-decoration-thickness: 1px;
}
.dpr-article :is(p, li, td):not(:is([class*="hero"], [class*="cta"], .probate-box, .highlight-box, .mcd-danger, [style*="gradient"], .dpr-toc) *) a:not(.btn):hover { color: var(--dpa-ink); text-decoration-thickness: 2px; }
.dpr-article hr { border-color: var(--dpa-line); opacity: 1; }

/* ---------- Headings: H2 gets the hub's gold bar -------------------- */
.dpr-article h2:not(:is([class*="hero"], [class*="cta"], .accordion, .dpr-toc) *) {
    display: block;
    font-size: clamp(1.4rem, 1.15rem + .9vw, 1.75rem) !important;
    line-height: 1.25 !important;
    font-weight: 750;
    letter-spacing: -.02em;
    color: var(--dpa-ink);
    border: 0;
    border-left: 4px solid var(--dpa-gold);
    padding: .1rem 0 .1rem .8rem;
    margin-bottom: 1rem;
    scroll-margin-top: var(--dpa-top);
}
.dpr-article .text-center h2:not(:is([class*="hero"], [class*="cta"]) *) {
    border-left: 0; padding: 0 0 .2rem;
}
.dpr-article .text-center h2:not(:is([class*="hero"], [class*="cta"]) *)::after {
    content: ''; display: block; width: 56px; height: 3px; border-radius: 2px;
    background: var(--dpa-gold); margin: .7rem auto 0;
}
.dpr-article h3:not(:is([class*="hero"], [class*="cta"], [class*="card"], [class*="-box"], .alert, .accordion, .dpr-toc) *) {
    font-size: clamp(1.12rem, 1rem + .4vw, 1.3rem) !important;
    line-height: 1.3 !important;
    font-weight: 700;
    color: var(--dpa-ink);
    margin: 1.75rem 0 .6rem;
    scroll-margin-top: var(--dpa-top);
}
.dpr-article :is(h4, h5, h6) { overflow-wrap: break-word; }
.dpr-article [id] { scroll-margin-top: var(--dpa-top); }
.dpr-article .mb-5 > h2:first-child, .dpr-article .sec > h2:first-child { margin-top: 0; }

/* ---------- Hero: same navy treatment as the hub ------------------- */
.dpr-article section[class*="hero"] {
    background: radial-gradient(ellipse at top right, #254a66 0, transparent 55%), linear-gradient(120deg, var(--dpa-navy), var(--dpa-navy-2)) !important;
    color: #fff;
    padding: clamp(1.75rem, 4vw, 3rem) 0 !important;
    border-bottom: 3px solid var(--dpa-gold);
}
.dpr-article section[class*="hero"] h1 { color: #fff; margin-top: .5rem; }
.dpr-article section[class*="hero"] p { color: #dce4ef; max-width: 70ch; }
.dpr-article section[class*="hero"] .text-center p, .dpr-article section[class*="hero"] .text-center ul { margin-left: auto; margin-right: auto; }
.dpr-article section[class*="hero"] a:not(.btn) { color: #ecd08b; }
.dpr-article h1 {
    font-size: clamp(1.6rem, 1.15rem + 2vw, 2.5rem) !important;
    line-height: 1.2 !important;
    font-weight: 800;
    letter-spacing: -.025em;
    text-wrap: balance;
    overflow-wrap: break-word;
}
.dpr-article section[class*="hero"] .lead { font-size: 1.05rem !important; line-height: 1.6 !important; }
.dpr-article .breadcrumb-seo { background: var(--dpa-tint); border-bottom: 1px solid var(--dpa-line); padding: .65rem 0; font-size: .85rem; }
.dpr-article .breadcrumb-seo a { color: #294866; }
.dpr-article .blog-breadcrumb, .dpr-article .blog-breadcrumb a { font-size: .85rem; }

/* ---------- Layout helpers ------------------------------------------ */
.dpr-article .container { max-width: 1240px; }
.dpr-article .content-section, .dpr-article .ats-section, .dpr-article .pd-section { padding-top: clamp(2rem, 4vw, 3rem); padding-bottom: clamp(2rem, 4vw, 3rem); }

/* ---------- Tables: scroll wrapper + zebra --------------------------- */
.dpr-article table { width: 100%; font-size: .94rem; line-height: 1.55; border-collapse: separate; border-spacing: 0; color: var(--dpa-text); }
.dpr-article :is(th, td) { padding: .7rem .9rem; vertical-align: top; text-align: left; }
.dpr-article td { border-bottom: 1px solid var(--dpa-line); }
.dpr-article tbody tr:last-child td { border-bottom: 0; }
.dpr-article :is(thead th, table > tbody > tr:first-child > th, table > tr:first-child > th) {
    background: var(--dpa-ink); color: #fff; font-weight: 650; font-size: .85rem; border-bottom: 0;
}
.dpr-article tbody tr:nth-child(even) > td { background-color: #f6f8fb; }
.dpr-article .table-responsive, .dpr-article .dpr-table-scroll {
    display: block; width: 100%; max-width: 100%;
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    border: 1px solid var(--dpa-line); border-radius: 10px; background: #fff;
    margin: 1.25rem 0;
}
.dpr-article :is(.table-responsive, .dpr-table-scroll) > table { margin: 0 !important; box-shadow: none !important; border-radius: 0 !important; white-space: normal; display: table; }
.dpr-article :is(.dpr-table-scroll, .table-responsive) > table.dpr-table-wide { min-width: 640px; }
.dpr-article .table-responsive > table { min-width: 100%; }
.dpr-article .dpr-table-scroll:focus-visible { outline: 3px solid #b58b32; outline-offset: 2px; }
@media (max-width: 767.98px) {
    .dpr-article table { font-size: .88rem; }
    .dpr-article :is(th, td) { padding: .6rem .65rem; }
}

/* ---------- FAQ accordion (Bootstrap) + <details> ------------------- */
.dpr-article .accordion { --bs-accordion-border-width: 0; }
.dpr-article .accordion-item {
    border: 1px solid var(--dpa-line) !important; border-radius: 10px !important;
    margin-bottom: .6rem; overflow: hidden; background: #fff;
}
.dpr-article .accordion-button {
    font-weight: 650; font-size: 1rem !important; line-height: 1.4;
    color: var(--dpa-ink); background: #fff; padding: 1rem 1.15rem !important; white-space: normal;
}
.dpr-article .accordion-button:not(.collapsed) { background: #f8f0da; color: var(--dpa-ink); box-shadow: none; }
.dpr-article .accordion-button:focus { box-shadow: none; }
.dpr-article .accordion-button:focus-visible { outline: 3px solid #b58b32; outline-offset: -3px; }
.dpr-article .accordion-body { font-size: .98rem; line-height: 1.7; color: var(--dpa-text); padding: 1rem 1.15rem 1.15rem; }

.dpr-article details:not(.dpr-promo):not(.dpr-toc) {
    border: 1px solid var(--dpa-line); border-radius: 10px; background: #fff; margin-bottom: .6rem; overflow: hidden;
}
.dpr-article details:not(.dpr-promo):not(.dpr-toc) > summary {
    cursor: pointer; font-weight: 650; color: var(--dpa-ink); line-height: 1.4; padding: 1rem 2.8rem 1rem 1.15rem; position: relative; list-style: none;
}
.dpr-article details:not(.dpr-promo):not(.dpr-toc) > summary::-webkit-details-marker { display: none; }
.dpr-article details:not(.dpr-promo):not(.dpr-toc):not(.faq-item) > summary::after {
    content: '+'; position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%);
    font-size: 1.4rem; font-weight: 400; color: var(--dpa-gold-deep);
}
.dpr-article details:not(.dpr-promo):not(.dpr-toc):not(.faq-item)[open] > summary::after { content: '\2212'; }
.dpr-article details[open]:not(.dpr-promo):not(.dpr-toc) > summary { background: #f8f0da; }
.dpr-article details:not(.dpr-promo):not(.dpr-toc) > summary:focus-visible { outline: 3px solid #b58b32; outline-offset: -3px; }
.dpr-article details:not(.dpr-promo):not(.dpr-toc) > :not(summary) { padding-left: 1.15rem; padding-right: 1.15rem; }
.dpr-article details:not(.dpr-promo):not(.dpr-toc) > p:last-child { padding-bottom: 1rem; margin-bottom: 0; }

/* ---------- Callouts: one family ------------------------------------ */
.dpr-article :is(.alert, .blog-tip, .blog-warn, .blog-info, .tip-box, .warn-box, .warning-box, .danger-box, .mcd-warn) {
    border: 0; border-left: 4px solid #385575; border-radius: 0 10px 10px 0;
    background: #eef3f9; color: #1f2d3d; padding: 1rem 1.15rem; margin: 1.5rem 0; font-size: .95rem; line-height: 1.65;
    box-shadow: none;
}
.dpr-article :is(.alert, .blog-tip, .blog-warn, .blog-info, .tip-box, .warn-box, .warning-box, .danger-box, .mcd-warn) :is(p, li) { color: inherit; font-size: inherit; margin-bottom: .5rem; }
.dpr-article :is(.alert, .blog-tip, .blog-warn, .blog-info, .tip-box, .warn-box, .warning-box, .danger-box, .mcd-warn) > :last-child { margin-bottom: 0; }
.dpr-article :is(.alert-warning, .blog-warn, .warn-box, .warning-box, .mcd-warn) { background: #fff8e9; border-left-color: #b58b32; color: #3d3016; }
.dpr-article :is(.alert-danger, .danger-box) { background: #fdf0ee; border-left-color: #b42318; color: #4a1511; }
.dpr-article :is(.blog-tip, .tip-box, .alert-success) { background: #edf7f0; border-left-color: #2f7d4f; color: #173a26; }
.dpr-article :is(.warn-box, .warning-box, .mcd-warn) :is(h4, h5, h6) { color: #5c4313; }
.dpr-article .blog-warn strong, .dpr-article .blog-tip strong { color: inherit; }

/* ---------- Cards, dark CTA blocks ----------------------------------- */
.dpr-article :is(.info-card, .icard, .gd-card, .pd-card, .ats-card, .mcd-card, .doc-card, .act-card, .reason-card, .right-card, .use-case, .step-card, .step-item, .sidebar-card) {
    border-radius: 12px; box-shadow: 0 2px 10px rgba(16, 37, 66, .05);
}
.dpr-article :is(.blog-cta, .cta-box, .cta-navy, .cta-green, .mcd-cta) {
    background: linear-gradient(120deg, var(--dpa-navy), var(--dpa-navy-2)) !important;
    border-radius: 14px; padding: 1.5rem 1.5rem !important; margin: 2rem 0; color: #fff;
}
.dpr-article :is(.blog-cta, .cta-box, .cta-navy, .cta-green, .mcd-cta) :is(h3, h4, h5) { color: #ffd76b !important; font-size: 1.2rem !important; margin: 0 0 .5rem; }
.dpr-article :is(.blog-cta, .cta-box, .cta-navy, .cta-green, .mcd-cta) p { color: #e3eaf4 !important; margin-left: auto; margin-right: auto; }

/* Self-promotional blocks collapsed by default (markup: details.dpr-promo) */
.dpr-article details.dpr-promo {
    background: #fff; border: 1px solid var(--dpa-line); border-left: 4px solid var(--dpa-gold);
    border-radius: 10px; margin: 2rem 0;
}
.dpr-article details.dpr-promo > summary {
    list-style: none; cursor: pointer; position: relative; padding: .9rem 5.5rem .9rem 1.1rem;
}
.dpr-article details.dpr-promo > summary::-webkit-details-marker { display: none; }
.dpr-article details.dpr-promo > summary h2, .dpr-article details.dpr-promo > summary h3 {
    display: inline !important; font-size: 1.02rem !important; line-height: 1.4 !important; font-weight: 700;
    border: 0 !important; padding: 0 !important; margin: 0 !important; color: var(--dpa-ink);
}
.dpr-article details.dpr-promo > summary::after {
    content: 'Show'; position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%);
    font-size: .8rem; font-weight: 700; color: var(--dpa-gold-deep); letter-spacing: .04em; text-transform: uppercase;
}
.dpr-article details.dpr-promo[open] > summary::after { content: 'Hide'; }
.dpr-article details.dpr-promo > summary:focus-visible { outline: 3px solid #b58b32; outline-offset: 2px; border-radius: 6px; }
.dpr-article details.dpr-promo > .dpr-promo-body { padding: .25rem 1.1rem 1.1rem; }

/* ---------- Buttons: gold primary, navy secondary --------------------- */
.dpr-article .btn { border-radius: 8px; font-weight: 700; }
.dpr-article .btn-warning, .dpr-article a[href*="wa.me"][style*="background"] {
    background: var(--dpa-gold-soft) !important; border: 1px solid #b18e40 !important; color: var(--dpa-ink) !important; text-decoration: none;
}
.dpr-article .btn-warning:hover, .dpr-article a[href*="wa.me"][style*="background"]:hover { background: #e8c97f !important; color: var(--dpa-ink) !important; }
.dpr-article :is(.btn-outline-primary, .btn-outline-dark, .btn-outline-secondary) {
    background: transparent; border: 2px solid var(--dpa-ink); color: var(--dpa-ink);
}
.dpr-article :is(.btn-outline-primary, .btn-outline-dark, .btn-outline-secondary):hover { background: var(--dpa-ink); color: #fff; }
.dpr-article .btn-outline-light { border: 2px solid rgba(255, 255, 255, .7); color: #fff; }
.dpr-article .btn-outline-light:hover { background: #fff; color: var(--dpa-ink); }
.dpr-article :is(a, button, summary, input, select, textarea, [tabindex]):focus-visible { outline: 3px solid #b58b32; outline-offset: 2px; }
.dpr-article section[class*="hero"] :is(a, button, summary, input, select):focus-visible { outline-color: #f0d58a; }
.dpr-article :is(.form-control, .form-select):focus { border-color: #b58b32; box-shadow: 0 0 0 3px rgba(181, 139, 50, .25); }
.dpr-article .form-label { color: var(--dpa-ink); font-weight: 600; }
@media (max-width: 575.98px) {
    .dpr-article :is(.cta-box, .cta-navy, .cta-green, .blog-cta) .btn { display: block; width: 100%; margin-bottom: .5rem; }
}

/* ---------- Sticky sidebar (legacy TOC + assistance card) ------------- */
.dpr-article :is(.toc-sidebar, .toc-side, .toc-s) {
    background: #fff; border: 1px solid var(--dpa-line); border-radius: 12px; box-shadow: 0 2px 12px rgba(16, 37, 66, .05); padding: 1rem;
}
.dpr-article :is(.toc-sidebar, .toc-side, .toc-s) h5 { font-size: .95rem; font-weight: 700; color: var(--dpa-ink); margin-bottom: .6rem; }
@media (min-width: 992px) {
    .dpr-article :is(.toc-sidebar, .toc-side, .toc-s) {
        position: sticky !important; top: var(--dpa-top) !important;
        max-height: calc(100vh - var(--dpa-top) - 1rem); overflow-y: auto; overscroll-behavior: contain;
    }
}
@media (max-width: 991.98px) {
    .dpr-article :is(.toc-sidebar, .toc-side, .toc-s) { position: static !important; max-height: none; margin-bottom: 1.5rem; }
}
.dpr-article .dpr-legacy-toc-list { display: none !important; }
.dpr-article.dpr-toc-on .toc-box { display: none; }

/* ---------- "On this page" TOC (built by service-pages.js) ------------ */
.dpr-article .dpr-toc { background: #fff; border: 1px solid var(--dpa-line); border-radius: 12px; font-size: .9rem; line-height: 1.4; }
.dpr-article .dpr-toc > summary {
    list-style: none; cursor: pointer; padding: .8rem 1rem; font-weight: 700; color: var(--dpa-ink);
    display: flex; align-items: center; justify-content: space-between; gap: .75rem;
}
.dpr-article .dpr-toc > summary::-webkit-details-marker { display: none; }
.dpr-article .dpr-toc > summary::after {
    content: ''; width: .5rem; height: .5rem; flex: none; margin-right: .25rem;
    border-right: 2px solid var(--dpa-gold-deep); border-bottom: 2px solid var(--dpa-gold-deep); transform: rotate(45deg); transition: transform .2s;
}
.dpr-article .dpr-toc[open] > summary::after { transform: rotate(-135deg); }
.dpr-article .dpr-toc > summary small { font-weight: 500; color: var(--dpa-muted); margin-left: .35rem; }
.dpr-article .dpr-toc ol { list-style: none; margin: 0; padding: 0 .6rem .7rem; }
.dpr-article .dpr-toc li { margin: 0; padding: 0; }
.dpr-article .dpr-toc a {
    display: block; padding: .42rem .6rem .42rem .75rem; color: #294866; text-decoration: none;
    border-left: 3px solid transparent; border-radius: 0 6px 6px 0; font-size: .88rem; line-height: 1.4;
}
.dpr-article .dpr-toc a:hover { background: var(--dpa-tint); color: var(--dpa-ink); }
.dpr-article .dpr-toc a[aria-current="true"] { border-left-color: var(--dpa-gold); background: #fbf5e6; color: var(--dpa-ink); font-weight: 650; }
.dpr-article .dpr-toc-side { margin: 0 0 .9rem; border: 0; background: transparent; }
.dpr-article .dpr-toc-side > summary { padding-left: .2rem; padding-right: .2rem; }

/* Top block for pages with no sidebar column */
.dpr-article .dpr-toc-wrap { background: #f5f6f8; border-bottom: 1px solid var(--dpa-line); padding: 1rem 0; }
.dpr-article .dpr-toc-top ol { columns: 1; }
@media (min-width: 768px)  { .dpr-article .dpr-toc-top ol { columns: 2; column-gap: 1.5rem; } }
@media (min-width: 1100px) { .dpr-article .dpr-toc-top ol { columns: 3; } }
.dpr-article .dpr-toc-top li { break-inside: avoid; }

/* Right rail for single-column article pages (.blog-content) */
.dpr-article .dpr-layout > .dpr-rail { display: none; }
.dpr-article .dpr-layout > .dpr-layout-main > .dpr-toc-inline { margin: 0 0 1.5rem; }
@media (min-width: 1100px) {
    .dpr-article .dpr-layout { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 3rem; align-items: start; }
    .dpr-article .dpr-layout > .dpr-layout-main > .dpr-toc-inline { display: none; }
    .dpr-article .dpr-layout > .dpr-rail { display: block; position: sticky; top: var(--dpa-top); max-height: calc(100vh - var(--dpa-top) - 1rem); overflow-y: auto; }
    .dpr-article .dpr-layout .blog-content, .dpr-article .dpr-layout .article-content { max-width: none; margin: 0; }
}

/* ---------- Back-to-hub bar ------------------------------------------ */
.dpr-article .dpr-hubbar { background: #f1f4f8; border-top: 1px solid var(--dpa-line); border-bottom: 1px solid var(--dpa-line); padding: .85rem 0; }
.dpr-article .dpr-hubbar .container { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.25rem; }
.dpr-article .dpr-hubbar a { font-size: .9rem; font-weight: 700; color: var(--dpa-ink); text-decoration: none; }
.dpr-article .dpr-hubbar a:hover { text-decoration: underline; text-underline-offset: 4px; }
.dpr-article .dpr-hubbar a.dpr-hub-primary { background: var(--dpa-gold-soft); border: 1px solid #b18e40; border-radius: 7px; padding: .45rem .9rem; }
.dpr-article .dpr-hubbar a.dpr-hub-primary:hover { background: #e8c97f; text-decoration: none; }
.dpr-article .dpr-hubbar a:not(.dpr-hub-primary) { color: #294866; font-weight: 600; }

/* ---------- Motion + small-screen safety ------------------------------- */
@media (max-width: 575.98px) {
    .dpr-article .container { padding-left: 1rem; padding-right: 1rem; }
    .dpr-article .dpr-hubbar .container { gap: .4rem .9rem; }
    .dpr-article details.dpr-promo > summary { padding-right: 4.5rem; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto !important; }
    .dpr-article *, .dpr-article *::before, .dpr-article *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* =====================================================================
   Explainer-standard blocks (2026-11-22)
   .dpr-answer   30-second answer box (aside, directly under the hero)
   .dpr-hinglish "Hinglish mein samjhiye" plain-language recap
   .dpr-sources  "Sources & last verified" small muted card
   .dpr-related-row  "Related guides, tools & videos" link row
   .dpr-pitfalls "What can go wrong" mini-list
   Shared by every page that carries the .dpr-article wrapper.
   Headings inside these blocks opt out of the global H2 gold bar.
   ===================================================================== */
.dpr-article :is(.dpr-answer, .dpr-hinglish, .dpr-sources, .dpr-related-row, .dpr-pitfalls) {
    max-width: 880px;
    margin: 1.75rem 0;
    border-radius: 0 12px 12px 0;
    overflow-wrap: break-word;
}
.dpr-article :is(.dpr-answer, .dpr-hinglish, .dpr-sources, .dpr-related-row, .dpr-pitfalls) :is(h2, h3) {
    display: block;
    border: 0 !important;
    padding: 0 !important;
    letter-spacing: -.01em;
}
.dpr-article :is(.dpr-answer, .dpr-hinglish, .dpr-sources, .dpr-related-row, .dpr-pitfalls) :is(h2, h3)::after { content: none !important; }
/* the blocks sit inside .container columns on some pages: never wider than their column */
.dpr-article :is(.dpr-answer, .dpr-hinglish, .dpr-sources, .dpr-related-row, .dpr-pitfalls) { width: auto; }

/* ---- 30-second answer: soft gold-tinted card, gold bar ---------------- */
.dpr-article .dpr-answer {
    background: #fbf5e6;
    border: 1px solid #e6d5a3;
    border-left: 6px solid var(--dpa-gold);
    padding: 1.1rem 1.25rem 1.2rem;
    box-shadow: 0 2px 10px rgba(16, 37, 66, .06);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: #1f2d3d;
}
.dpr-article .dpr-answer h2 {
    font-size: 1.05rem !important;
    line-height: 1.3 !important;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--dpa-gold-deep);
    margin: 0 0 .65rem !important;
}
.dpr-article .dpr-answer ul { list-style: none; margin: 0; padding: 0; }
.dpr-article .dpr-answer li {
    margin: 0 0 .6rem;
    padding: 0 0 0 1.05rem;
    position: relative;
    font-size: inherit;
    line-height: 1.6;
    max-width: 72ch;
}
.dpr-article .dpr-answer li:last-child { margin-bottom: 0; }
.dpr-article .dpr-answer li::before {
    content: ''; position: absolute; left: 0; top: .62em;
    width: .45rem; height: .45rem; border-radius: 50%; background: var(--dpa-gold);
}
.dpr-article .dpr-answer li strong { color: var(--dpa-ink); font-weight: 750; }

/* ---- Hinglish: light navy-tinted card --------------------------------- */
.dpr-article .dpr-hinglish {
    background: #eef3f9;
    border: 1px solid #d3deec;
    border-left: 6px solid var(--dpa-navy-2);
    padding: 1.1rem 1.25rem 1.2rem;
    font-size: 1.0625rem;
    line-height: 1.75;
    color: #1f2d3d;
}
.dpr-article .dpr-hinglish h2 {
    font-size: 1.25rem !important;
    line-height: 1.3 !important;
    font-weight: 750;
    color: var(--dpa-ink);
    margin: 0 0 .6rem !important;
}
.dpr-article .dpr-hinglish p { margin: 0 0 .7rem; max-width: 72ch; font-size: inherit; color: inherit; }
.dpr-article .dpr-hinglish p:last-child { margin-bottom: 0; }

/* ---- Sources & last verified: small muted card ------------------------ */
.dpr-article .dpr-sources {
    background: #f7f8fa;
    border: 1px solid var(--dpa-line);
    border-left: 4px solid #8ea1b8;
    padding: .95rem 1.1rem 1rem;
    font-size: .9rem;
    line-height: 1.6;
    color: var(--dpa-muted);
}
.dpr-article .dpr-sources h2 {
    font-size: 1.05rem !important;
    line-height: 1.3 !important;
    font-weight: 700;
    color: var(--dpa-ink);
    margin: 0 0 .5rem !important;
}
.dpr-article .dpr-sources p { margin: 0 0 .6rem; font-size: inherit; color: inherit; max-width: 72ch; }
.dpr-article .dpr-sources ul { margin: 0; padding-left: 1.15rem; }
.dpr-article .dpr-sources li { margin: 0 0 .35rem; font-size: inherit; line-height: 1.55; }
.dpr-article .dpr-sources li:last-child { margin-bottom: 0; }
.dpr-article .dpr-sources a { color: #1d4a7a; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.dpr-article .dpr-sources a:hover { color: var(--dpa-ink); text-decoration-thickness: 2px; }

/* ---- Related guides, tools & videos: pill row ------------------------- */
.dpr-article .dpr-related-row {
    background: transparent;
    border: 0;
    border-top: 1px solid var(--dpa-line);
    border-radius: 0;
    padding: 1.1rem 0 .25rem;
}
.dpr-article .dpr-related-row h2 {
    font-size: 1.2rem !important;
    line-height: 1.3 !important;
    font-weight: 750;
    color: var(--dpa-ink);
    margin: 0 0 .75rem !important;
}
.dpr-article .dpr-related-row ul { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem .6rem; margin: 0; padding: 0; }
.dpr-article .dpr-related-row li { margin: 0; padding: 0; max-width: 100%; }
.dpr-article .dpr-related-row li::marker { content: none; }
.dpr-article .dpr-related-row a {
    display: inline-block;
    max-width: 100%;
    padding: .5rem .9rem;
    background: #fff;
    border: 1px solid #c8d3e1;
    border-radius: 999px;
    color: var(--dpa-ink) !important;
    font-size: .92rem;
    font-weight: 650;
    line-height: 1.35;
    text-decoration: none !important;
}
.dpr-article .dpr-related-row a:hover { background: #f8f0da; border-color: #b18e40; }
.dpr-article .dpr-related-row a:focus-visible { outline: 3px solid #b58b32; outline-offset: 2px; }

/* ---- What can go wrong: amber-tinted mini list ------------------------ */
.dpr-article .dpr-pitfalls {
    background: #fff8e9;
    border: 1px solid #ecd9a6;
    border-left: 5px solid #b58b32;
    padding: 1rem 1.2rem 1.05rem;
    font-size: 1rem;
    color: #3d3016;
}
.dpr-article .dpr-pitfalls h2 {
    font-size: 1.2rem !important;
    line-height: 1.3 !important;
    font-weight: 750;
    color: #3d3016;
    margin: 0 0 .6rem !important;
}
.dpr-article .dpr-pitfalls ul { margin: 0; padding-left: 1.15rem; }
.dpr-article .dpr-pitfalls li { margin: 0 0 .45rem; font-size: inherit; line-height: 1.6; }
.dpr-article .dpr-pitfalls li:last-child { margin-bottom: 0; }
.dpr-article .dpr-pitfalls li::marker { color: #87651f; }

/* ---- Small screens: edge-to-edge-safe, no overflow at 375px ------------ */
@media (max-width: 575.98px) {
    .dpr-article :is(.dpr-answer, .dpr-hinglish, .dpr-sources, .dpr-pitfalls) { margin: 1.25rem 0; padding-left: 1rem; padding-right: 1rem; }
    .dpr-article .dpr-answer, .dpr-article .dpr-hinglish { font-size: 1rem; }
    .dpr-article .dpr-related-row ul { gap: .45rem; }
    .dpr-article .dpr-related-row a { font-size: .9rem; padding: .45rem .8rem; }
}

/* ---- Print: plain, bordered, no shadows -------------------------------- */
@media print {
    .dpr-article :is(.dpr-answer, .dpr-hinglish, .dpr-sources, .dpr-pitfalls) {
        background: #fff !important; box-shadow: none !important; color: #000 !important;
        border: 1px solid #555 !important; border-left-width: 5px !important;
        break-inside: avoid; page-break-inside: avoid;
    }
    .dpr-article :is(.dpr-answer, .dpr-hinglish, .dpr-sources, .dpr-pitfalls) :is(h2, li, p, strong) { color: #000 !important; }
    .dpr-article .dpr-related-row a { border: 1px solid #555; background: #fff; color: #000 !important; }
    .dpr-article .dpr-sources a, .dpr-article .dpr-sources a::after { color: #000 !important; }
}

/* keep block text colour even where a page-level ".content-section li/p" rule sets its own */
.dpr-article :is(.dpr-answer, .dpr-hinglish, .dpr-pitfalls) :is(li, p) { color: inherit; }
.dpr-article .dpr-sources :is(li, p) { color: inherit; }
