/* =========================================================
   CareerAidHub Premium Article System V5
   FINAL GLOBAL STYLESHEET
   September 2026

   FINAL LAYOUT
   ---------------------------------------------------------
   Desktop:
   Hero = two columns
   Left = summary, chips, buttons
   Right = vertical status card

   Tablet / Mobile:
   Status card moves below hero content

   Navigation = 3 columns desktop / 2 tablet / 1 mobile
   Metrics    = 4 desktop / 2 tablet / 1 mobile
   Cards      = 2 desktop / 1 mobile

   Scope:
   All article styling remains inside .cah-article
   ========================================================= */


/* =========================================================
   1. DESIGN TOKENS
   ========================================================= */

.cah-article {

    --cah-primary: var(--ast-global-color-0, #1f67b3);
    --cah-primary-dark: #123d70;

    --cah-navy: #0b2748;
    --cah-navy-soft: #173e67;

    --cah-text: #1c2b3a;
    --cah-text-soft: #526274;
    --cah-muted: #6b7989;

    --cah-bg: #ffffff;
    --cah-surface: #ffffff;
    --cah-surface-soft: #f7fafe;
    --cah-blue-soft: #eef6fd;

    --cah-line: #dbe6f0;
    --cah-line-soft: #eaf0f5;

    --cah-green: #23724a;
    --cah-green-soft: #edf8f1;

    --cah-teal: #087a77;
    --cah-teal-soft: #edf9f8;

    --cah-amber: #9a6516;
    --cah-amber-soft: #fff8eb;

    --cah-red: #a23d3d;
    --cah-red-soft: #fff3f3;

    --cah-radius-xl: 24px;
    --cah-radius-lg: 18px;
    --cah-radius-md: 14px;
    --cah-radius-sm: 10px;

    --cah-shadow-lg:
        0 22px 60px rgba(22, 62, 103, .10);

    --cah-shadow-md:
        0 12px 32px rgba(22, 62, 103, .07);

    --cah-shadow-sm:
        0 5px 16px rgba(22, 62, 103, .045);

    width: 100%;
    max-width: 100%;

    color: var(--cah-text);

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    font-size: 17px;
    line-height: 1.72;
}


/* =========================================================
   2. BASE
   ========================================================= */

.cah-article *,
.cah-article *::before,
.cah-article *::after {
    box-sizing: border-box;
}

.cah-article p {
    margin: 0 0 1.05rem;
}

.cah-article ul,
.cah-article ol {
    margin: .75rem 0 1.15rem 1.15rem;
    padding-left: .75rem;
}

.cah-article li {
    margin: .38rem 0;
}

.cah-article a {
    color: var(--cah-primary);

    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.cah-article a:hover {
    color: var(--cah-primary-dark);
}

.cah-article a:focus-visible,
.cah-article summary:focus-visible,
.cah-article .cah-btn:focus-visible {
    outline: 3px solid rgba(31, 103, 179, .25);
    outline-offset: 3px;

    border-radius: 6px;
}

.cah-article h2,
.cah-article h3 {
    color: var(--cah-navy);

    line-height: 1.27;
}

.cah-article h2 {
    margin: 2.55rem 0 1rem;

    font-size:
        clamp(1.48rem, 2vw, 1.95rem);

    letter-spacing: -.018em;
}

.cah-article h3 {
    margin: 1.45rem 0 .6rem;

    font-size: 1.1rem;
}

.cah-article section[id] {
    scroll-margin-top: 95px;
}


/* General overflow protection */

.cah-article p,
.cah-article li,
.cah-article td,
.cah-article th {
    word-break: normal;
    overflow-wrap: break-word;
}


/* =========================================================
   3. HERO
   ========================================================= */

.cah-article .cah-hero {
    position: relative;

    overflow: hidden;

    margin: 0 0 1.4rem;

    padding:
        clamp(1.35rem, 3vw, 2.3rem);

    border: 1px solid #cbdfee;
    border-radius: var(--cah-radius-xl);

    background:
        radial-gradient(
            circle at 92% 8%,
            rgba(71, 139, 207, .18),
            transparent 29%
        ),
        radial-gradient(
            circle at 3% 100%,
            rgba(8, 122, 119, .07),
            transparent 33%
        ),
        linear-gradient(
            135deg,
            #ffffff 0%,
            #f1f8fe 54%,
            #f7fcfb 100%
        );

    box-shadow: var(--cah-shadow-lg);
}


/* Top accent */

.cah-article .cah-hero::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 5px;

    background:
        linear-gradient(
            90deg,
            var(--cah-primary-dark),
            var(--cah-primary),
            var(--cah-teal)
        );
}


/* =========================================================
   4. HERO GRID
   Desktop:
   Left hero information
   Right vertical status card
   ========================================================= */

.cah-article .cah-hero-grid {
    position: relative;
    z-index: 1;

    display: grid;

    grid-template-columns:
        minmax(0, 1.6fr)
        minmax(320px, .72fr);

    gap:
        clamp(1.35rem, 3vw, 2.35rem);

    align-items: start;

    width: 100%;
    max-width: 100%;

    min-width: 0;
}

.cah-article .cah-hero-grid > * {
    min-width: 0;
    max-width: 100%;
}


/* Left hero section */

.cah-article .cah-hero-main {
    min-width: 0;
    max-width: 100%;
}


/* =========================================================
   5. HERO EYEBROW
   ========================================================= */

.cah-article .cah-eyebrow {
    display: inline-flex;

    align-items: center;

    width: fit-content;
    max-width: 100%;

    margin: 0 0 .8rem !important;

    padding: .34rem .72rem;

    border: 1px solid #c5dcec;
    border-radius: 999px;

    background: rgba(255, 255, 255, .88);

    color: var(--cah-primary);

    font-size: .75rem;
    font-weight: 850;

    line-height: 1.35;

    letter-spacing: .065em;

    text-transform: uppercase;

    word-break: normal;
    overflow-wrap: break-word;
}


/* =========================================================
   6. HERO LEAD
   ========================================================= */

.cah-article .cah-lead {
    margin: 0 !important;

    color: #273b51;

    font-size:
        clamp(1.07rem, 1.4vw, 1.22rem);

    line-height: 1.68;
}

.cah-article .cah-lead strong {
    color: var(--cah-navy);
}


/* =========================================================
   7. HERO CHIPS
   ========================================================= */

.cah-article .cah-chips {
    display: flex;

    flex-wrap: wrap;

    gap: .5rem;

    margin-top: 1.05rem;
}

.cah-article .cah-chip {
    display: inline-flex;

    align-items: center;

    max-width: 100%;

    padding: .42rem .67rem;

    border: 1px solid #d8e7f4;
    border-radius: 999px;

    background: rgba(255, 255, 255, .87);

    color: #39556e;

    font-size: .8rem;
    font-weight: 720;

    line-height: 1.3;

    word-break: normal;
    overflow-wrap: break-word;
}


/* =========================================================
   8. VERTICAL STATUS CARD
   ========================================================= */

.cah-article .cah-status {
    position: relative;

    display: block;

    align-self: start;

    width: 100%;
    max-width: 100%;
    min-width: 0;

    height: auto;

    margin: 0;

    padding:
        1.15rem
        1.2rem
        1.12rem;

    overflow: hidden;

    border:
        1px solid rgba(31, 103, 179, .15);

    border-radius: 18px;

    background:
        rgba(255, 255, 255, .97);

    box-shadow:
        0 13px 32px rgba(22, 62, 103, .075),
        0 2px 7px rgba(22, 62, 103, .025);

    isolation: isolate;
}


/* Small top accent */

.cah-article .cah-status::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;
    right: 0;

    width: 100%;
    height: 4px;

    background:
        linear-gradient(
            90deg,
            var(--cah-primary-dark),
            var(--cah-primary)
        );

    z-index: 1;
}


/* =========================================================
   9. STATUS HEADER
   ========================================================= */

.cah-article .cah-status-top {
    position: relative;

    display: block;

    width: 100%;
    min-width: 0;

    margin: 0;

    padding:
        .15rem
        0
        .92rem;

    border-bottom:
        1px solid var(--cah-line-soft);

    text-align: left;
}


/* Current status */

.cah-article .cah-status-label {
    display: block;

    width: 100%;

    margin: 0 0 .5rem;

    padding: 0;

    color: var(--cah-muted);

    font-size: .7rem;
    font-weight: 850;

    line-height: 1.35;

    letter-spacing: .065em;

    text-transform: uppercase;

    text-align: left;

    white-space: normal;

    word-break: normal;
    overflow-wrap: normal;
}


/* =========================================================
   10. STATUS BADGES
   ========================================================= */

.cah-article .cah-badge {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: .38rem;

    width: auto;
    max-width: 100%;

    padding:
        .32rem
        .67rem;

    border: 0;

    border-radius: 999px;

    font-size: .76rem;
    font-weight: 850;

    line-height: 1.2;

    letter-spacing: .01em;

    vertical-align: middle;

    white-space: nowrap;
}


/* Badge dot */

.cah-article .cah-badge::before {
    content: "";

    display: block;

    width: 7px;
    height: 7px;

    flex: 0 0 7px;

    border-radius: 50%;

    background: currentColor;
}


/* OPEN */

.cah-article .cah-badge-open {
    background: var(--cah-green-soft);

    color: var(--cah-green);
}


/* ROLLING */

.cah-article .cah-badge-rolling {
    background: var(--cah-teal-soft);

    color: var(--cah-teal);
}


/* CLOSED */

.cah-article .cah-badge-closed {
    background: var(--cah-red-soft);

    color: var(--cah-red);
}


/* UPCOMING */

.cah-article .cah-badge-upcoming {
    background: var(--cah-amber-soft);

    color: var(--cah-amber);
}


/* =========================================================
   11. STATUS INFORMATION
   Vertical layout at all screen sizes

   Deadline
   15 September 2026

   Closing time
   Not specified
   ========================================================= */

.cah-article .cah-status-item {
    display: block;

    width: 100%;
    min-width: 0;

    margin: 0;

    padding: .82rem 0;

    border-bottom:
        1px solid var(--cah-line-soft);
}

.cah-article .cah-status-item:last-child {
    padding-bottom: 0;

    border-bottom: 0;
}


/* Status item label */

.cah-article .cah-status-item span {
    display: block;

    width: 100%;
    min-width: 0;

    margin: 0 0 .18rem;

    padding: 0;

    color: var(--cah-muted);

    font-size: .74rem;
    font-weight: 600;

    line-height: 1.35;

    text-align: left;

    white-space: normal;

    word-break: normal;
    overflow-wrap: normal;
}


/* Status item value */

.cah-article .cah-status-item strong {
    display: block;

    width: 100%;
    min-width: 0;

    margin: 0;

    padding: 0;

    color: var(--cah-navy);

    font-size: .94rem;
    font-weight: 800;

    line-height: 1.45;

    letter-spacing: -.005em;

    text-align: left;

    white-space: normal;

    word-break: normal;
    overflow-wrap: break-word;
}


/* =========================================================
   12. WORDPRESS / ASTRA STATUS PROTECTION
   ========================================================= */

.cah-article .cah-status > br,
.cah-article .cah-status-top > br,
.cah-article .cah-status-item > br,

.cah-article .cah-status > p:empty,
.cah-article .cah-status-top > p:empty,
.cah-article .cah-status-item > p:empty {
    display: none !important;
}


/* Remove unwanted wpautop margins */

.cah-article .cah-status p {
    margin-top: 0;
    margin-bottom: 0;
}


/* Prevent theme from splitting status words */

.cah-article .cah-status,
.cah-article .cah-status *,
.cah-article .cah-status-top,
.cah-article .cah-status-item,
.cah-article .cah-status-item span,
.cah-article .cah-status-item strong {
    word-break: normal;
}


/* =========================================================
   13. BUTTONS
   ========================================================= */

.cah-article .cah-buttons {
    display: flex;

    flex-wrap: wrap;

    gap: .62rem;

    margin-top: 1.05rem;
}

.cah-article .cah-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 43px;

    padding:
        .64rem
        .95rem;

    border: 1px solid transparent;
    border-radius: 10px;

    background:
        linear-gradient(
            135deg,
            var(--cah-primary-dark),
            var(--cah-primary)
        );

    color: #ffffff !important;

    font-size: .86rem;
    font-weight: 800;

    line-height: 1.35;

    text-align: center;

    text-decoration: none !important;

    box-shadow:
        0 7px 18px rgba(31, 103, 179, .14);

    transition:
        transform .18s ease,
        box-shadow .18s ease,
        background .18s ease;
}

.cah-article .cah-btn:hover {
    transform: translateY(-1px);

    color: #ffffff !important;

    box-shadow:
        0 10px 24px rgba(16, 52, 95, .18);
}


/* Secondary button */

.cah-article .cah-btn-secondary {
    border-color: #bed6e8;

    background: #ffffff;

    color: var(--cah-primary) !important;

    box-shadow: none;
}

.cah-article .cah-btn-secondary:hover {
    background: var(--cah-blue-soft);

    color:
        var(--cah-primary-dark) !important;
}


/* =========================================================
   14. ALERTS / NOTICES
   ========================================================= */

.cah-article .cah-note,
.cah-article .cah-warning,
.cah-article .cah-danger,
.cah-article .cah-success {
    margin: 1.15rem 0;

    padding:
        .95rem
        1.05rem;

    border-radius: 13px;
}


/* Information */

.cah-article .cah-note {
    border: 1px solid #d3e5f5;
    border-left: 4px solid #4b8fd0;

    background: var(--cah-blue-soft);
}


/* Warning */

.cah-article .cah-warning {
    border: 1px solid #eeddb8;
    border-left: 4px solid #d18a29;

    background: var(--cah-amber-soft);
}


/* Danger */

.cah-article .cah-danger {
    border: 1px solid #efd5d5;
    border-left: 4px solid #c95757;

    background: var(--cah-red-soft);
}


/* Success */

.cah-article .cah-success {
    border: 1px solid #d1e8d9;
    border-left: 4px solid var(--cah-green);

    background: var(--cah-green-soft);
}

.cah-article .cah-note p:last-child,
.cah-article .cah-warning p:last-child,
.cah-article .cah-danger p:last-child,
.cah-article .cah-success p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   15. QUICK NAVIGATION
   ========================================================= */

.cah-article .cah-v4-nav {
    margin: 1.4rem 0 2rem;

    padding:
        1.15rem
        1.2rem;

    border: 1px solid #d5e3eb;

    border-radius:
        var(--cah-radius-lg);

    background:
        linear-gradient(
            180deg,
            #fbfdff 0%,
            #f6fafc 100%
        );

    box-shadow:
        var(--cah-shadow-sm);
}


/* Navigation heading */

.cah-article .cah-v4-nav-title {
    display: flex !important;

    align-items: center !important;

    gap: .55rem !important;

    margin:
        0
        0
        .9rem !important;

    padding: 0 !important;

    color:
        var(--cah-navy) !important;

    font-size: 1rem !important;
    font-weight: 800 !important;

    line-height: 1.3 !important;

    letter-spacing: 0 !important;
}


/* Navigation icon */

.cah-article .cah-v4-nav-title::before {
    content: "☰";

    display: inline-grid;

    place-items: center;

    width: 30px;
    height: 30px;

    flex: 0 0 30px;

    border-radius: 8px;

    background: #deeff8;

    color: var(--cah-primary);

    font-size: .82rem;

    line-height: 1;
}


/* Navigation grid */

.cah-article .cah-v4-nav-grid {
    display: grid !important;

    grid-template-columns:
        repeat(3, minmax(0, 1fr)) !important;

    grid-auto-flow: row !important;

    width: 100% !important;

    margin: 0 !important;

    padding: 0 !important;

    gap: .65rem !important;

    align-items: stretch !important;
    justify-items: stretch !important;
}


/* WordPress wpautop protection */

.cah-article .cah-v4-nav-grid > br,
.cah-article .cah-v4-nav-grid > p:empty {
    display: none !important;
}


/* Navigation item */

.cah-article .cah-v4-nav-item {
    display: flex !important;

    align-items: center !important;
    justify-content: flex-start !important;

    gap: .65rem !important;

    width: 100% !important;

    min-width: 0 !important;
    min-height: 48px !important;

    margin: 0 !important;

    padding:
        .56rem
        .72rem !important;

    border:
        1px solid #d7e4ed !important;

    border-radius:
        11px !important;

    background:
        #ffffff !important;

    color:
        var(--cah-navy) !important;

    font-size:
        .82rem !important;

    font-weight:
        720 !important;

    line-height:
        1.3 !important;

    text-decoration:
        none !important;

    box-shadow:
        0 2px 8px rgba(22, 62, 103, .03);

    transition:
        border-color .16s ease,
        background .16s ease,
        box-shadow .16s ease,
        transform .16s ease;
}

.cah-article .cah-v4-nav-item:hover {
    transform:
        translateY(-1px);

    border-color:
        #a9cddd !important;

    background:
        #f3f9fd !important;

    color:
        var(--cah-navy) !important;

    box-shadow:
        0 6px 16px rgba(22, 62, 103, .06);
}


/* Navigation number */

.cah-article .cah-v4-nav-num {
    display: grid !important;

    place-items: center !important;

    width: 28px !important;
    height: 28px !important;

    flex: 0 0 28px !important;

    border-radius:
        8px !important;

    background:
        #e8f2f8 !important;

    color:
        #0874e8 !important;

    font-size:
        .7rem !important;

    font-weight:
        850 !important;

    line-height:
        1 !important;
}

.cah-article .cah-v4-nav-item:hover
.cah-v4-nav-num {
    background:
        var(--cah-primary) !important;

    color:
        #ffffff !important;
}


/* =========================================================
   16. SECTION HEADERS
   ========================================================= */

.cah-article .cah-section-title {
    display: flex;

    align-items: center;

    gap: .67rem;
}

.cah-article .cah-section-number {
    display: inline-grid;

    place-items: center;

    width: 34px;
    height: 34px;

    flex: 0 0 34px;

    border-radius: 10px;

    background:
        linear-gradient(
            135deg,
            var(--cah-primary-dark),
            var(--cah-primary)
        );

    color: #ffffff;

    font-size: .82rem;
    font-weight: 850;

    box-shadow:
        0 5px 13px rgba(31, 103, 179, .16);
}


/* =========================================================
   17. METRICS
   ========================================================= */

.cah-article .cah-metrics {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: .72rem;

    margin:
        1rem
        0
        1.35rem;
}

.cah-article .cah-metric {
    position: relative;

    min-width: 0;
    min-height: 103px;

    padding: .9rem;

    overflow: hidden;

    border:
        1px solid var(--cah-line);

    border-radius: 13px;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f8fbff 100%
        );

    box-shadow:
        0 5px 17px rgba(22, 62, 103, .035);
}

.cah-article .cah-metric::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 3px;

    background:
        linear-gradient(
            90deg,
            var(--cah-primary),
            #66a9d8
        );
}

.cah-article .cah-metric strong {
    display: block;

    color: var(--cah-primary);

    font-size: 1.03rem;

    line-height: 1.35;
}

.cah-article .cah-metric span {
    display: block;

    margin-top: .25rem;

    color: var(--cah-muted);

    font-size: .8rem;

    line-height: 1.45;
}


/* =========================================================
   18. TABLES
   ========================================================= */

.cah-article .cah-table-wrap {
    width: 100%;
    max-width: 100%;

    margin:
        1.05rem
        0
        1.45rem;

    overflow-x: auto;

    border:
        1px solid var(--cah-line);

    border-radius: 15px;

    background: #ffffff;

    box-shadow:
        var(--cah-shadow-sm);

    -webkit-overflow-scrolling: touch;
}

.cah-article .cah-table {
    width: 100%;

    min-width: 700px;

    margin: 0;

    border-collapse: collapse;
}

.cah-article .cah-table th,
.cah-article .cah-table td {
    padding:
        .75rem
        .85rem;

    border-bottom:
        1px solid var(--cah-line-soft);

    vertical-align: top;

    text-align: left;

    line-height: 1.52;
}

.cah-article .cah-table th {
    background: #f2f7fc;

    color: var(--cah-navy);

    font-size: .85rem;
    font-weight: 820;
}

.cah-article .cah-table td {
    color: #314356;

    font-size: .91rem;
}

.cah-article .cah-table tbody tr:nth-child(even) td {
    background: #fbfdff;
}

.cah-article .cah-table tr:last-child th,
.cah-article .cah-table tr:last-child td {
    border-bottom: 0;
}


/* =========================================================
   19. CONTENT CARDS
   ========================================================= */

.cah-article .cah-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: .8rem;

    margin:
        .95rem
        0
        1.25rem;
}

.cah-article .cah-card {
    position: relative;

    min-width: 0;

    padding:
        1rem
        1.05rem;

    border:
        1px solid var(--cah-line);

    border-radius: 14px;

    background: #ffffff;

    box-shadow:
        0 5px 17px rgba(22, 62, 103, .035);

    transition:
        transform .17s ease,
        box-shadow .17s ease,
        border-color .17s ease;
}

.cah-article .cah-card:hover {
    transform:
        translateY(-2px);

    border-color: #c4d8e8;

    box-shadow:
        0 10px 25px rgba(22, 62, 103, .07);
}

.cah-article .cah-card h3 {
    margin-top: 0;

    font-size: 1.05rem;
}

.cah-article .cah-card p:last-child,
.cah-article .cah-card ul:last-child,
.cah-article .cah-card ol:last-child {
    margin-bottom: 0;
}


/* =========================================================
   20. CHECKLIST
   ========================================================= */

.cah-article .cah-checklist {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: .58rem;

    margin:
        .95rem
        0
        1.3rem !important;

    padding:
        0 !important;

    list-style: none;
}

.cah-article .cah-checklist li {
    position: relative;

    min-width: 0;

    margin: 0;

    padding:
        .72rem
        .78rem
        .72rem
        2.28rem;

    border:
        1px solid #dfe9f3;

    border-radius: 11px;

    background: #ffffff;

    line-height: 1.5;
}

.cah-article .cah-checklist li::before {
    content: "✓";

    position: absolute;

    left: .72rem;
    top: .68rem;

    display: grid;

    place-items: center;

    width: 21px;
    height: 21px;

    border-radius: 50%;

    background:
        var(--cah-green-soft);

    color:
        var(--cah-green);

    font-size: .74rem;
    font-weight: 900;
}


/* =========================================================
   21. NUMBERED STEPS
   ========================================================= */

.cah-article .cah-steps {
    margin:
        .95rem
        0
        1.35rem !important;

    padding:
        0 !important;

    list-style: none;

    counter-reset: cah-step;
}

.cah-article .cah-steps li {
    position: relative;

    min-width: 0;

    margin:
        0
        0
        .58rem;

    padding:
        .82rem
        .9rem
        .82rem
        3.08rem;

    border:
        1px solid var(--cah-line);

    border-radius: 12px;

    background: #ffffff;

    counter-increment: cah-step;
}

.cah-article .cah-steps li::before {
    content:
        counter(cah-step);

    position: absolute;

    left: .82rem;
    top: .74rem;

    display: grid;

    place-items: center;

    width: 28px;
    height: 28px;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            var(--cah-primary-dark),
            var(--cah-primary)
        );

    color: #ffffff;

    font-size: .76rem;
    font-weight: 850;
}


/* =========================================================
   22. FAQ
   ========================================================= */

.cah-article .cah-faq {
    margin-top: 2.6rem;

    padding:
        clamp(1.1rem, 2vw, 1.55rem);

    border:
        1px solid #d7e6f2;

    border-radius:
        var(--cah-radius-lg);

    background:
        linear-gradient(
            180deg,
            #fbfdff 0%,
            #f5f9fe 100%
        );

    box-shadow:
        var(--cah-shadow-sm);
}

.cah-article .cah-faq-list {
    display: grid;

    gap: .68rem;
}

.cah-article .cah-faq-item {
    overflow: hidden;

    min-width: 0;

    border:
        1px solid #dce8f2;

    border-radius: 13px;

    background: #ffffff;

    box-shadow:
        0 4px 14px rgba(17, 58, 99, .03);
}

.cah-article .cah-faq-item summary {
    position: relative;

    cursor: pointer;

    list-style: none;

    padding:
        .95rem
        3rem
        .95rem
        1rem;

    color: var(--cah-navy);

    font-weight: 800;

    line-height: 1.42;
}

.cah-article .cah-faq-item summary::-webkit-details-marker {
    display: none;
}

.cah-article .cah-faq-item summary::after {
    content: "+";

    position: absolute;

    top: 50%;
    right: .95rem;

    transform:
        translateY(-50%);

    display: grid;

    place-items: center;

    width: 27px;
    height: 27px;

    border-radius: 50%;

    background:
        var(--cah-blue-soft);

    color:
        var(--cah-primary);

    font-size: 1.18rem;

    line-height: 1;
}

.cah-article .cah-faq-item[open] summary {
    background: #f7fbff;

    color:
        var(--cah-primary);
}

.cah-article .cah-faq-item[open] summary::after {
    content: "−";

    background:
        var(--cah-primary);

    color: #ffffff;
}

.cah-article .cah-faq-answer {
    padding:
        0
        1rem
        1rem;

    border-top:
        1px solid var(--cah-line-soft);

    color: #344659;
}

.cah-article .cah-faq-answer p {
    margin:
        .85rem
        0
        0;
}


/* =========================================================
   23. RELATED RESOURCES
   ========================================================= */

.cah-article .cah-related {
    margin-top: 2.15rem;

    padding: 1.2rem;

    border:
        1px solid var(--cah-line);

    border-radius:
        var(--cah-radius-lg);

    background:
        linear-gradient(
            135deg,
            #fbfdff,
            #f5faff
        );
}

.cah-article .cah-related h2 {
    margin-top: 0;
}


/* =========================================================
   24. SOURCE / VERIFICATION
   ========================================================= */

.cah-article .cah-source {
    position: relative;

    margin-top: 1.15rem;

    padding: 1.2rem;

    overflow: hidden;

    border:
        1px solid #cadfea;

    border-radius:
        var(--cah-radius-lg);

    background:
        linear-gradient(
            135deg,
            #f8fbff 0%,
            #f3faf9 100%
        );
}

.cah-article .cah-source::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 5px;
    height: 100%;

    background:
        linear-gradient(
            180deg,
            var(--cah-primary),
            var(--cah-teal)
        );
}

.cah-article .cah-source h2 {
    margin-top: 0;
}


/* =========================================================
   25. SMALL TEXT
   ========================================================= */

.cah-article .cah-small {
    color: var(--cah-muted);

    font-size: .87rem;
}


/* =========================================================
   26. LARGE DESKTOP
   ========================================================= */

@media (min-width: 1200px) {

    .cah-article .cah-hero-grid {
        grid-template-columns:
            minmax(0, 1.65fr)
            minmax(330px, .7fr);

        gap:
            clamp(1.75rem, 3vw, 2.6rem);
    }

    .cah-article .cah-status {
        padding:
            1.2rem
            1.25rem
            1.18rem;
    }
}


/* =========================================================
   27. SMALL DESKTOP
   Preserve right-hand status card
   ========================================================= */

@media (max-width: 1100px) and (min-width: 981px) {

    .cah-article .cah-hero-grid {
        grid-template-columns:
            minmax(0, 1.45fr)
            minmax(295px, .72fr);

        gap: 1.4rem;
    }

    .cah-article .cah-status {
        padding:
            1.05rem
            1.05rem
            1rem;
    }

    .cah-article .cah-status-item strong {
        font-size: .91rem;
    }
}


/* =========================================================
   28. TABLET
   Hero switches to single column.
   Status moves below hero content.
   ========================================================= */

@media (max-width: 980px) {

    .cah-article .cah-hero-grid {
        grid-template-columns:
            minmax(0, 1fr);

        gap: 1.35rem;
    }

    .cah-article .cah-status {
        width: 100%;
        max-width: 100%;

        margin: 0;
    }

    .cah-article .cah-metrics {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}


/* =========================================================
   29. QUICK NAVIGATION — TABLET
   ========================================================= */

@media (max-width: 900px) {

    .cah-article .cah-v4-nav-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;
    }
}


/* =========================================================
   30. MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .cah-article {
        font-size: 16px;
    }

    .cah-article .cah-hero {
        padding: 1.08rem;

        border-radius: 18px;
    }

    .cah-article .cah-hero-grid {
        gap: 1.15rem;
    }


    /* Status */

    .cah-article .cah-status {
        padding:
            1rem
            1rem
            .98rem;

        border-radius: 16px;

        box-shadow:
            0 9px 24px rgba(22, 62, 103, .065);
    }

    .cah-article .cah-status::before {
        height: 3px;
    }

    .cah-article .cah-status-top {
        padding:
            .12rem
            0
            .78rem;
    }

    .cah-article .cah-status-label {
        margin-bottom: .45rem;

        font-size: .69rem;
    }

    .cah-article .cah-status-item {
        padding:
            .7rem
            0;
    }

    .cah-article .cah-status-item span {
        margin-bottom: .16rem;

        font-size: .72rem;
    }

    .cah-article .cah-status-item strong {
        font-size: .9rem;

        line-height: 1.42;
    }

    .cah-article .cah-badge {
        padding:
            .3rem
            .62rem;

        font-size: .74rem;
    }


    /* Content grids */

    .cah-article .cah-grid,
    .cah-article .cah-checklist {
        grid-template-columns: 1fr;
    }


    /* Buttons */

    .cah-article .cah-buttons {
        flex-direction: column;
    }

    .cah-article .cah-btn {
        width: 100%;
    }


    /* Section heading */

    .cah-article .cah-section-title {
        align-items: flex-start;
    }


    /* Disable card movement on touch-sized screens */

    .cah-article .cah-card:hover {
        transform: none;
    }
}


/* =========================================================
   31. SMALL MOBILE
   ========================================================= */

@media (max-width: 560px) {

    /* Navigation */

    .cah-article .cah-v4-nav {
        padding: 1rem;

        border-radius: 14px;
    }

    .cah-article .cah-v4-nav-title {
        margin-bottom:
            .8rem !important;
    }

    .cah-article .cah-v4-nav-grid {
        grid-template-columns:
            1fr !important;

        gap:
            .5rem !important;
    }

    .cah-article .cah-v4-nav-item {
        min-height:
            46px !important;

        padding:
            .56rem
            .65rem !important;

        font-size:
            .82rem !important;
    }


    /* Metrics */

    .cah-article .cah-metrics {
        grid-template-columns:
            1fr;
    }


    /* Status */

    .cah-article .cah-status {
        padding:
            .92rem
            .92rem
            .9rem;

        border-radius: 15px;
    }

    .cah-article .cah-status-item {
        padding:
            .66rem
            0;
    }

    .cah-article .cah-status-item strong {
        font-size: .88rem;
    }
}


/* =========================================================
   32. VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 380px) {

    .cah-article .cah-hero {
        padding: .92rem;
    }

    .cah-article .cah-eyebrow {
        border-radius: 12px;
    }

    .cah-article .cah-chip {
        width: 100%;

        border-radius: 10px;
    }


    /* Status */

    .cah-article .cah-status {
        padding:
            .85rem
            .85rem
            .83rem;
    }

    .cah-article .cah-status-label {
        font-size: .67rem;

        letter-spacing: .045em;
    }

    .cah-article .cah-status-item span {
        font-size: .7rem;
    }

    .cah-article .cah-status-item strong {
        font-size: .85rem;

        line-height: 1.4;
    }

    .cah-article .cah-badge {
        padding:
            .24rem
            .5rem;

        font-size: .7rem;
    }
}


/* =========================================================
   33. ACCESSIBILITY — REDUCED MOTION
   ========================================================= */

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

    .cah-article *,
    .cah-article *::before,
    .cah-article *::after {
        scroll-behavior: auto !important;
    }

    .cah-article .cah-btn,
    .cah-article .cah-card,
    .cah-article .cah-v4-nav-item {
        transition: none;
    }

    .cah-article .cah-btn:hover,
    .cah-article .cah-card:hover,
    .cah-article .cah-v4-nav-item:hover {
        transform: none;
    }
}


/* =========================================================
   34. PRINT
   Cleaner output if article is printed / saved as PDF
   ========================================================= */

@media print {

    .cah-article .cah-hero,
    .cah-article .cah-status,
    .cah-article .cah-card,
    .cah-article .cah-v4-nav,
    .cah-article .cah-table-wrap,
    .cah-article .cah-faq,
    .cah-article .cah-related,
    .cah-article .cah-source {
        box-shadow: none !important;
    }

    .cah-article .cah-btn {
        box-shadow: none !important;
    }
}