/************************************************************
 * PHOENIX — PRESS RELEASE (SUPPORTING LEAF)
 * FINAL — DESKTOP + MOBILE
 * Layout identical to Market Report
 ************************************************************/

/* =========================================================
   DESKTOP LAYOUT — TWO COLUMN (FIXED CTA)
========================================================= */

body.single-press-release .phoenix-report-header {
    padding-top: 16px;
}

body.single-press-release .phoenix-report-header h1 {
    margin-top: 0;
}

body.single-press-release .row {
    width: 100%;
    display: flex;
}

/* LEFT COLUMN */
body.single-press-release .column.left {
    width: calc(100% - 340px);
    padding-top: 20px;
}

/* RIGHT COLUMN — FIXED CTA */
body.single-press-release .column.right {
    position: fixed;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    width: 300px;
    z-index: 100;
    background: transparent;
}

/* =========================================================
   SIDEBAR CTA (IDENTICAL TO MARKET REPORT)
========================================================= */

body.single-press-release .sidebar-button {
    display: block;
    width: 100%;
    padding: 14px 18px;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #0073e6, #005bb5);
    border-radius: 8px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    cursor: pointer;
    box-shadow:
        0 6px 16px rgba(0, 91, 181, 0.25),
        inset 0 1px 0 rgba(255,255,255,0.25);
}

body.single-press-release .sidebar-button:hover {
    transform: translateY(-1px);
}

body.single-press-release .sidebar-contact-box {
    margin-top: 16px;
    padding: 16px;
    background-color: #ffffff;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

body.single-press-release .sidebar-contact-header {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
    text-align: center;
    color: #111;
}

body.single-press-release .sidebar-item {
    font-size: 14px;
    margin: 6px 0;
}

/* =========================================================
   TYPOGRAPHY / EDITORIAL FLOW
========================================================= */

body.single-press-release {
    color: #1f2937;
}

body.single-press-release .column.left p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 18px;
}

body.single-press-release .column.left p + p {
    margin-top: 20px;
}

body.single-press-release .column.left h2 {
    font-size: 22px;
    margin-top: 30px;
    margin-bottom: 12px;
    border-left: 4px solid #0b5cff;
    padding-left: 10px;
}

body.single-press-release strong {
    color: #0f172a;
}

/* =========================================================
   POPUPS — OVERLAY + FORM POLISH
========================================================= */

.phoenix-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 9998;
}

.phoenix-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 92%;
    max-width: 600px;
    max-height: calc(100vh - 80px);
    background: #ffffff;
    padding: 24px;
    border-radius: 10px;
    box-sizing: border-box;
    overflow-y: auto;
    box-shadow: 0 30px 80px rgba(0,0,0,0.35);
    z-index: 9999;
}

.phoenix-popup h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 18px;
    color: #111;
}

.phoenix-popup input,
.phoenix-popup textarea,
.phoenix-popup select {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 14px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
}

.phoenix-popup input:focus,
.phoenix-popup textarea:focus {
    border-color: #0b5cff;
    outline: none;
}

.phoenix-popup input[type="submit"],
.phoenix-popup button {
    background: linear-gradient(135deg, #0073e6, #005bb5);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 12px 18px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.phoenix-popup-close {
    position: absolute;
    top: 10px;
    right: 12px;
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
}

/* =========================================================
   MOBILE (≤ 768px) — SINGLE COLUMN + SAFE POPUPS
========================================================= */

@media (max-width: 768px) {

    body.single-press-release .row {
        flex-direction: column;
    }

    body.single-press-release .column.left {
        width: 100%;
        padding-top: 16px;
    }

    body.single-press-release .column.right {
        position: static !important;
        width: 100%;
        transform: none !important;
        top: auto !important;
        right: auto !important;
        margin-top: 32px;
        padding-top: 16px;
        border-top: 1px solid #e5e7eb;
        z-index: auto;
    }

    /* URL wrapping */
    body.single-press-release .column.left,
    body.single-press-release .column.left p,
    body.single-press-release .column.left li,
    body.single-press-release .column.left a {
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    body.single-press-release .column.left a {
        line-height: 1.5;
        display: inline-block;
    }

    /* Popup mobile safety */
    .phoenix-popup {
        width: 94%;
        max-height: calc(100vh - 100px);
    }
}
