/* ================================================================
   SHIPEAK — CASE STUDY ARCHIVE BANNER CSS
   Paste into: Appearance → Customize → Additional CSS
   OR append to: /wp-content/themes/YOUR-THEME/style.css
   All selectors scoped to .cs-arc-* — zero conflict with theme
   ================================================================ */


/* ── LAYOUT: two-column flex wrapper ── */
.cs-arc-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 10px 0 6px;
}

.cs-arc-left {
    flex: 1;
    min-width: 0;
}


/* ── EYEBROW PILL ── */
.cs-arc-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 193, 7, 0.14);
    border: 1px solid rgba(255, 193, 7, 0.38);
    color: #ffd54f;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 30px;
    margin-bottom: 14px;
}

.cs-arc-eyebrow svg {
    width: 11px;
    height: 11px;
    fill: #ffc107;
    flex-shrink: 0;
}


/* ── HEADING ── */
/* Uses theme's .color-brand-1 for yellow — only layout overrides here */
.cs-arc-heading {
    font-size: 42px !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    margin-top: 0 !important;
    margin-bottom: 10px !important;
}

.cs-arc-heading-sub {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.82);
    margin-top: 6px;
    letter-spacing: 0;
}


/* ── DESCRIPTION ── */
.cs-arc-desc {
    font-size: 15px !important;
    color: rgba(255, 255, 255, 0.62) !important;
    line-height: 1.68 !important;
    max-width: 500px;
    margin-bottom: 22px !important;
}


/* ── BREADCRUMB ── */
.cs-arc-breadcrumb {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
}

.cs-arc-breadcrumb a {
    color: #ffc107 !important;
    text-decoration: none;
    font-weight: 600;
    transition: opacity .15s;
}

.cs-arc-breadcrumb a:hover {
    opacity: .75;
}

.cs-arc-sep {
    color: rgba(255, 255, 255, 0.35);
}

.cs-arc-cur {
    color: rgba(255, 255, 255, 0.58);
}


/* ── STAT CARDS COLUMN (right side) ── */
.cs-arc-stats {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 215px;
    flex-shrink: 0;
}


/* ── SINGLE STAT CARD ── */
.cs-arc-stat {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 12px;
    padding: 13px 18px;
    transition: background .2s ease;
}

.cs-arc-stat:hover {
    background: rgba(255, 255, 255, 0.12);
}


/* ── STAT ICON BOX ── */
.cs-arc-stat-icon {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    background: rgba(255, 193, 7, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cs-arc-stat-icon svg {
    width: 18px;
    height: 18px;
    fill: #ffc107;
}


/* ── STAT NUMBER ── */
.cs-arc-stat-val {
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
}

.cs-arc-stat-val sup {
    font-size: 13px;
    color: #ffc107;
    font-weight: 700;
    vertical-align: super;
}


/* ── STAT LABEL ── */
.cs-arc-stat-lbl {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.42);
    margin-top: 2px;
}


/* ================================================================
   RESPONSIVE
   ================================================================ */

/* Tablet — stack vertically, stat cards go horizontal */
@media (max-width: 900px) {

    .cs-arc-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .cs-arc-heading {
        font-size: 30px !important;
    }

    .cs-arc-heading-sub {
        font-size: 15px;
    }

    .cs-arc-desc {
        max-width: 100%;
    }

    .cs-arc-stats {
        flex-direction: row;
        flex-wrap: wrap;
        width: 100%;
        min-width: 0;
    }

    .cs-arc-stat {
        flex: 1;
        min-width: 130px;
    }
}

/* Mobile */
@media (max-width: 560px) {

    .cs-arc-heading {
        font-size: 24px !important;
    }

    .cs-arc-heading-sub {
        font-size: 14px;
    }

    .cs-arc-eyebrow {
        font-size: 10px;
        padding: 3px 11px;
    }

    .cs-arc-stat {
        flex: 100%;
    }

    .cs-arc-stat-val {
        font-size: 20px;
    }
}
