/*
|--------------------------------------------------------------------------
| SAN NICODEMO ABATE — PRESS & MEDIA
|--------------------------------------------------------------------------
|
| Premium editorial styling for:
| app/views/public/press.php
|
|--------------------------------------------------------------------------
*/

.press-page {
    --press-navy: #0b1c2b;
    --press-navy-soft: #17354d;
    --press-gold: #b8914b;
    --press-gold-light: #d9bf86;
    --press-cream: #f8f4ec;
    --press-paper: #fffdf8;
    --press-border: rgba(11, 28, 43, 0.10);
    --press-text: #243544;
    --press-muted: #6d7780;

    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
    padding: 38px 0 90px;
    color: var(--press-text);
}


/* --------------------------------------------------------------------------
   Shared eyebrow
---------------------------------------------------------------------------- */

.press-page .eyebrow {
    margin: 0 0 10px;
    color: var(--press-gold);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}


/* --------------------------------------------------------------------------
   Hero
---------------------------------------------------------------------------- */

.press-hero {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 42px;
    padding: 54px 58px;
    border: 1px solid rgba(184, 145, 75, 0.22);
    border-radius: 28px;
    background:
        radial-gradient(circle at 88% 18%, rgba(217, 191, 134, 0.18), transparent 28%),
        linear-gradient(135deg, #fffdf8 0%, #f8f4ec 100%);
    box-shadow: 0 24px 60px rgba(11, 28, 43, 0.08);
}

.press-hero::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 6px;
    background: linear-gradient(
        180deg,
        var(--press-gold-light),
        var(--press-gold)
    );
}

.press-hero-copy {
    position: relative;
    z-index: 1;
    max-width: 760px;
}

.press-hero h1 {
    margin: 0;
    color: var(--press-navy);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.7rem, 5vw, 5.1rem);
    font-weight: 600;
    line-height: 0.98;
    letter-spacing: -0.045em;
}

.press-hero-lead {
    max-width: 720px;
    margin: 24px 0 0;
    color: #566674;
    font-size: 1.08rem;
    line-height: 1.75;
}

.press-hero-mark {
    position: relative;
    z-index: 1;
    width: 156px;
    min-height: 156px;
    display: grid;
    place-items: center;
    align-content: center;
    border: 1px solid rgba(184, 145, 75, 0.30);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.78);
    box-shadow:
        inset 0 0 0 8px rgba(184, 145, 75, 0.05),
        0 18px 42px rgba(11, 28, 43, 0.08);
}

.press-hero-mark span {
    margin-bottom: 3px;
    color: var(--press-gold);
    font-size: 1.15rem;
}

.press-hero-mark strong {
    color: var(--press-navy);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.9rem;
    line-height: 1;
}

.press-hero-mark small {
    margin-top: 7px;
    color: var(--press-muted);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.16em;
}


/* --------------------------------------------------------------------------
   Introduction
---------------------------------------------------------------------------- */

.press-intro {
    max-width: 820px;
    margin: 72px auto 76px;
    text-align: center;
}

.press-intro h2 {
    margin: 0;
    color: var(--press-navy);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 3.8vw, 3.4rem);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.press-intro > p:last-child {
    max-width: 760px;
    margin: 22px auto 0;
    color: #65717a;
    font-size: 1.02rem;
    line-height: 1.8;
}


/* --------------------------------------------------------------------------
   Section headings
---------------------------------------------------------------------------- */

.press-section {
    margin-top: 74px;
}

.press-section-header {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 30px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--press-border);
}

.press-section-number {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border: 1px solid rgba(184, 145, 75, 0.30);
    border-radius: 50%;
    color: var(--press-gold);
    background: var(--press-paper);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1rem;
    font-weight: 700;
}

.press-section-header h2 {
    margin: 0;
    color: var(--press-navy);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.75rem, 3vw, 2.65rem);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -0.025em;
}


/* --------------------------------------------------------------------------
   Article grid
---------------------------------------------------------------------------- */

.press-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.press-card {
    position: relative;
    min-height: 410px;
    display: flex;
    flex-direction: column;
    padding: 30px;
    overflow: hidden;
    border: 1px solid var(--press-border);
    border-radius: 24px;
    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.98),
            rgba(255, 253, 248, 0.98)
        );
    box-shadow: 0 16px 42px rgba(11, 28, 43, 0.06);
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease;
}

.press-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(
        90deg,
        var(--press-gold),
        var(--press-gold-light),
        transparent 90%
    );
}

.press-card:hover {
    transform: translateY(-4px);
    border-color: rgba(184, 145, 75, 0.28);
    box-shadow: 0 24px 54px rgba(11, 28, 43, 0.10);
}

.press-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.press-publication {
    color: var(--press-navy);
    font-size: 0.80rem;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.press-external-icon {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: var(--press-gold);
    background: rgba(184, 145, 75, 0.08);
    font-size: 0.95rem;
}

.press-category {
    margin: 24px 0 12px;
    color: var(--press-gold);
    font-size: 0.70rem;
    font-weight: 800;
    letter-spacing: 0.11em;
}

.press-card h3 {
    margin: 0;
    color: var(--press-navy);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.42rem, 2.1vw, 1.85rem);
    font-weight: 600;
    line-height: 1.25;
}

.press-description {
    margin: 18px 0 26px;
    color: #65717b;
    font-size: 0.96rem;
    line-height: 1.72;
}


/* --------------------------------------------------------------------------
   Actions + QR
---------------------------------------------------------------------------- */

.press-card-actions {
    margin-top: auto;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    padding-top: 22px;
    border-top: 1px solid rgba(11, 28, 43, 0.08);
}

.press-read-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid var(--press-navy);
    border-radius: 999px;
    color: #ffffff;
    background: var(--press-navy);
    font-size: 0.84rem;
    font-weight: 800;
    text-decoration: none;
    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

.press-read-link:hover {
    transform: translateY(-1px);
    border-color: var(--press-gold);
    background: var(--press-gold);
    color: #ffffff;
}

.press-read-link span {
    font-size: 1rem;
}

.press-qr {
    flex: 0 0 auto;
    display: grid;
    justify-items: center;
    gap: 6px;
}

.press-qr img {
    width: 92px;
    height: 92px;
    display: block;
    padding: 7px;
    border: 1px solid rgba(11, 28, 43, 0.10);
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 8px 22px rgba(11, 28, 43, 0.08);
}

.press-qr small {
    color: var(--press-muted);
    font-size: 0.67rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}


/* --------------------------------------------------------------------------
   Digital project section
---------------------------------------------------------------------------- */

.press-section-digital {
    padding: 42px;
    border: 1px solid rgba(184, 145, 75, 0.18);
    border-radius: 28px;
    background:
        radial-gradient(circle at 92% 10%, rgba(184, 145, 75, 0.08), transparent 30%),
        var(--press-cream);
}

.press-grid-featured .press-card {
    background: rgba(255, 255, 255, 0.91);
}


/* --------------------------------------------------------------------------
   Closing statement
---------------------------------------------------------------------------- */

.press-closing {
    margin-top: 78px;
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 34px 38px;
    border-radius: 22px;
    background: var(--press-navy);
    box-shadow: 0 18px 45px rgba(11, 28, 43, 0.14);
}

.press-closing-symbol {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border: 1px solid rgba(217, 191, 134, 0.35);
    border-radius: 50%;
    color: var(--press-gold-light);
    font-size: 1.25rem;
}

.press-closing .eyebrow {
    color: var(--press-gold-light);
}

.press-closing h2 {
    margin: 0;
    color: #ffffff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.4rem, 2.8vw, 2.15rem);
    font-weight: 500;
    line-height: 1.2;
}


/* --------------------------------------------------------------------------
   Responsive
---------------------------------------------------------------------------- */

@media (max-width: 900px) {

    .press-hero {
        padding: 44px 38px;
    }

    .press-hero-mark {
        width: 132px;
        min-height: 132px;
    }

    .press-grid {
        grid-template-columns: 1fr;
    }

    .press-section-digital {
        padding: 30px;
    }

}


@media (max-width: 700px) {

    .press-page {
        width: min(100% - 24px, 1180px);
        padding-top: 22px;
    }

    .press-hero {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 38px 28px;
    }

    .press-hero-mark {
        width: 112px;
        min-height: 112px;
        border-radius: 22px;
    }

    .press-hero-mark strong {
        font-size: 2.3rem;
    }

    .press-intro {
        margin: 52px auto 58px;
    }

    .press-section {
        margin-top: 54px;
    }

    .press-section-header {
        gap: 16px;
    }

    .press-section-number {
        width: 44px;
        height: 44px;
    }

    .press-card {
        min-height: auto;
        padding: 24px;
    }

    .press-card-actions {
        align-items: center;
    }

    .press-qr img {
        width: 84px;
        height: 84px;
    }

    .press-section-digital {
        padding: 22px;
    }

    .press-closing {
        margin-top: 58px;
        padding: 28px;
    }

}


@media (max-width: 480px) {

    .press-hero {
        padding: 34px 22px;
        border-radius: 22px;
    }

    .press-card-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .press-read-link {
        justify-content: center;
        width: 100%;
    }

    .press-qr {
        width: 100%;
        grid-template-columns: auto 1fr;
        align-items: center;
        justify-content: start;
        gap: 12px;
        padding: 10px 12px;
        border: 1px solid rgba(11, 28, 43, 0.08);
        border-radius: 14px;
        background: #ffffff;
    }

    .press-qr img {
        width: 74px;
        height: 74px;
        padding: 5px;
    }

    .press-qr small {
        font-size: 0.70rem;
    }

    .press-section-digital {
        padding: 16px;
        border-radius: 22px;
    }

    .press-closing {
        align-items: flex-start;
        padding: 24px;
    }

    .press-closing-symbol {
        width: 48px;
        height: 48px;
    }

}
/* --------------------------------------------------------------------------
   STATIC EXPERIENCE
   Keep the Press & Media page calm and motion-free.
---------------------------------------------------------------------------- */

.press-page *,
.press-page *::before,
.press-page *::after {
    animation: none !important;
    transition: none !important;
}

.press-card:hover {
    transform: none !important;
}

.press-read-link:hover {
    transform: none !important;
}