/************************************************************
 * PHOENIX — INDUSTRY PAGE (CLUSTER HUB)
 * FINAL / GRAPH SAFE
 ************************************************************/

/* =========================================================
   STICKY ENABLEMENT — REQUIRED
========================================================= */

body.single-industry-page,
body.single-industry-page html,
body.single-industry-page main,
body.single-industry-page #content,
body.single-industry-page .phoenix-main,
body.single-industry-page .phoenix-leaf {
    overflow: visible !important;
}

body.single-industry-page #content {
    padding-top: 0;
}

/* =========================================================
   INDUSTRY HERO (AUTHORITATIVE, NON-STICKY)
========================================================= */

body.single-industry-page .phoenix-industry-hero {
    position: relative;
    min-height: 420px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

/* Overlay — deterministic layout */
body.single-industry-page .phoenix-industry-hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    padding: 64px 56px;
    background: linear-gradient(
        rgba(0,0,0,0.55),
        rgba(0,0,0,0.55)
    );
}

/* =========================================================
   HERO LOGO — BRAND REINFORCEMENT
========================================================= */

body.single-industry-page .phoenix-industry-hero-logo {
    position: absolute;
    top: 32px;
    right: 40px;
    z-index: 3;
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0.9;
    pointer-events: none;
}

body.single-industry-page .phoenix-industry-hero-logo img {
    height: 44px;
    width: auto;
    display: block;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.25));
}

/* Title — bottom left */
body.single-industry-page .phoenix-industry-title {
    margin-top: auto;
    font-size: 40px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #ffffff;
    max-width: 900px;
}

/* =========================================================
   PAGE LAYOUT — EDITORIAL FIRST
========================================================= */

body.single-industry-page .row {
    display: flex;
    align-items: flex-start;
}

/* LEFT COLUMN */
body.single-industry-page .column.left {
    width: calc(100% - 340px);
    padding-top: 56px;
}

/* =========================================================
   RIGHT COLUMN — FLOW + STICKY CARD
========================================================= */

body.single-industry-page .column.right {
    width: 260px;
    margin-left: 80px;
    padding-top: 56px;
}

/* Sticky applies to the CARD */
body.single-industry-page .phoenix-industry-cta {
    position: sticky;
    top: 140px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 20px 18px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.06);
    z-index: 10;
}

/* Card label */
body.single-industry-page .phoenix-industry-cta::before {
    content: "INDUSTRY COVERAGE";
    display: block;
    margin-bottom: 14px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6b7280;
}

/* CTA button */
body.single-industry-page .phoenix-coverage-btn {
    width: 100%;
    padding: 14px 18px;
    background: linear-gradient(135deg, #0073e6, #005bb5);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(0,91,181,0.25);
    transition: transform 0.15s ease;
}

body.single-industry-page .phoenix-coverage-btn:hover {
    transform: translateY(-1px);
}

/* =========================================================
   EDITORIAL CONTENT — READABILITY
========================================================= */

body.single-industry-page .phoenix-industry-content {
    max-width: 760px;
    font-size: 17px;
}

body.single-industry-page .phoenix-industry-content p {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 24px;
    color: #1f2937;
}

body.single-industry-page .phoenix-industry-content h2 {
    font-size: 26px;
    margin-top: 72px;
    margin-bottom: 20px;
    padding-left: 14px;
    border-left: 4px solid #0b5cff;
    color: #0f172a;
}

body.single-industry-page .phoenix-industry-content h3 {
    font-size: 19px;
    margin-top: 40px;
    margin-bottom: 14px;
    color: #111827;
}

/* =========================================================
   OFF-CANVAS COVERAGE PANEL
========================================================= */

body.single-industry-page .phoenix-industry-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 440px;
    height: 100vh;
    background: #ffffff;
    box-shadow: -18px 0 36px rgba(0,0,0,0.2);
    z-index: 1200;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    display: flex;
    flex-direction: column;
    padding: 32px 28px;
    overflow-y: auto;
}

body.industry-panel-open .phoenix-industry-panel {
    transform: translateX(0);
}

/* Panel content */
body.single-industry-page .phoenix-coverage-title {
    font-size: 22px;
    margin-bottom: 24px;
    color: #0f172a;
}

body.single-industry-page .phoenix-coverage-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

body.single-industry-page .phoenix-coverage-item {
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
}

body.single-industry-page .phoenix-coverage-item a {
    text-decoration: none;
    color: #0b5cff;
    font-size: 15px;
    line-height: 1.5;
}

body.single-industry-page .phoenix-coverage-item a:hover {
    text-decoration: underline;
}

body.single-industry-page .phoenix-panel-close {
    position: sticky;
    top: 0;
    align-self: flex-end;
    background: transparent;
    border: none;
    font-size: 22px;
    cursor: pointer;
    margin-bottom: 16px;
    color: #374151;
}

/* =========================================================
   MOBILE OVERRIDES — INDUSTRY PAGE
   ≤ 768px ONLY — FINAL / LOCKED
========================================================= */

@media (max-width: 768px) {

    body.single-industry-page .row {
        display: block;
    }

    body.single-industry-page .column.left,
    body.single-industry-page .column.right {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    body.single-industry-page .phoenix-industry-hero {
        min-height: 300px;
    }

    body.single-industry-page .phoenix-industry-hero-overlay {
        padding: 40px 20px;
    }

    body.single-industry-page .phoenix-industry-title {
        font-size: 28px;
    }

    body.single-industry-page .phoenix-industry-hero-logo {
        top: 16px;
        right: 16px;
        opacity: 0.55;
    }

    body.single-industry-page .phoenix-industry-hero-logo img {
        height: 32px;
    }

    body.single-industry-page .phoenix-industry-content {
        padding: 32px 20px;
    }

    body.single-industry-page .phoenix-industry-cta {
        position: static;
        margin: 24px 20px 0;
        padding: 20px;
    }

    body.single-industry-page .phoenix-industry-panel {
        left: 0;
        right: auto;
        bottom: 0;
        top: auto;
        width: 100%;
        height: 85vh;
        transform: translateY(100%);
        border-radius: 16px 16px 0 0;
    }

    body.industry-panel-open .phoenix-industry-panel {
        transform: translateY(0);
    }

    body.single-industry-page .phoenix-panel-close {
        right: 32px;
        top: 16px;
    }

}











/* =========================================================
   MOBILE OVERRIDES — INDUSTRY PAGE
   ≤ 768px ONLY — FINAL / LOCKED
========================================================= */

@media (max-width: 768px) {

    /* =====================================================
       GLOBAL FLOW RESET
    ===================================================== */

    body.single-industry-page .row {
        display: block;
    }

    body.single-industry-page .column.left,
    body.single-industry-page .column.right {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    /* =====================================================
       HERO — MOBILE SCALE
    ===================================================== */

    body.single-industry-page .phoenix-industry-hero {
        min-height: 300px;
    }

    body.single-industry-page .phoenix-industry-hero-overlay {
        padding: 40px 20px;
    }

    body.single-industry-page .phoenix-industry-title {
        font-size: 28px;
        max-width: 100%;
    }

    body.single-industry-page .phoenix-industry-hero-logo {
        top: 16px;
        right: 16px;
        opacity: 0.55;
    }

    body.single-industry-page .phoenix-industry-hero-logo img {
        height: 32px;
        width: auto;
    }

    /* =====================================================
       EDITORIAL CONTENT — MOBILE RHYTHM
    ===================================================== */

    body.single-industry-page .phoenix-industry-content {
        padding: 32px 20px;
        max-width: 100%;
    }

    body.single-industry-page .phoenix-industry-content h2 {
        font-size: 22px;
        margin-top: 44px;
    }

    body.single-industry-page .phoenix-industry-content h3 {
        font-size: 18px;
    }

    body.single-industry-page .phoenix-industry-content p {
        font-size: 16px;
    }

    /* =====================================================
       COVERAGE CTA — INLINE
    ===================================================== */

    body.single-industry-page .phoenix-industry-cta {
        position: static;
        margin: 24px 20px 0;
        padding: 20px;
        box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    }

    body.single-industry-page .phoenix-coverage-btn {
        font-size: 16px;
        padding: 14px 16px;
    }

    /* =====================================================
       COVERAGE PANEL — BOTTOM DRAWER
    ===================================================== */

    body.single-industry-page .phoenix-industry-panel {
        position: fixed;
        left: 0;
        bottom: 0;
        top: auto;

        width: 100%;
        height: 85vh;

        background: #ffffff;
        border-radius: 16px 16px 0 0;
        box-shadow: 0 -12px 30px rgba(0,0,0,0.25);

        transform: translateY(100%);
        transition: transform 0.35s ease;

        z-index: 1400;
        overflow: hidden;

        display: flex;
        flex-direction: column;
    }

    body.industry-panel-open .phoenix-industry-panel {
        transform: translateY(0);
    }

    /* =====================================================
       PANEL INNER — SCROLL AREA
    ===================================================== */

    body.single-industry-page .phoenix-industry-panel-inner {
        position: relative;
        flex: 1;
        overflow-y: auto;

        padding: 64px 20px 32px;
        -webkit-overflow-scrolling: touch;
    }

    body.single-industry-page .phoenix-industry-panel-inner::before {
        content: "";
        display: block;
        width: 40px;
        height: 4px;
        margin: 0 auto 16px;
        background: #d1d5db;
        border-radius: 2px;
    }

    /* =====================================================
       CLOSE BUTTON — SIMPLE FIX (SHIFT LEFT)
    ===================================================== */

    body.single-industry-page .phoenix-panel-close {
        position: absolute;
        top: 16px;

        /* 👇 same fix as segment */
        right: 32px;

        width: 40px;
        height: 40px;

        display: flex;
        align-items: center;
        justify-content: center;

        font-size: 24px;
        line-height: 1;

        border: none;
        border-radius: 50%;
        background: #ffffff;

        box-shadow: 0 2px 10px rgba(0,0,0,0.2);
        color: #374151;
        cursor: pointer;

        z-index: 10;
    }

    body.single-industry-page .phoenix-panel-close:hover {
        color: #111827;
    }

    /* =====================================================
       PANEL CONTENT
    ===================================================== */

    body.single-industry-page .phoenix-coverage-title {
        font-size: 20px;
        font-weight: 600;
        margin-bottom: 20px;
        color: #0f172a;
    }

    body.single-industry-page .phoenix-coverage-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    body.single-industry-page .phoenix-coverage-item {
        padding: 14px 0;
        border-bottom: 1px solid #e5e7eb;
    }

    body.single-industry-page .phoenix-coverage-item a {
        font-size: 15px;
        line-height: 1.5;
        color: #0b5cff;
        text-decoration: none;
        display: block;
    }

    body.single-industry-page .phoenix-coverage-item a:hover {
        text-decoration: underline;
    }

}
