/*
|--------------------------------------------------------------------------
| SAN NICODEMO ABATE
|--------------------------------------------------------------------------
| PREMIUM HISTORY PAGE
|--------------------------------------------------------------------------
*/

.history-premium {
    width: min(94%, 1500px);
    margin: 42px auto 100px;
}


/* Hero */

.history-premium-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr);
    min-height: 660px;
    overflow: hidden;
    border: 1px solid rgba(178, 132, 26, .22);
    border-radius: 32px;
    background:
        linear-gradient(
            135deg,
            #fbf7ec 0%,
            #fffdf8 53%,
            #eef4f7 100%
        );
    box-shadow: 0 32px 90px rgba(11, 28, 43, .11);
}

.history-premium-copy {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(48px, 6vw, 92px);
}

.history-premium-eyebrow,
.history-section-eyebrow {
    color: #b68419;
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.history-premium-eyebrow {
    margin: 0 0 22px;
}

.history-premium-copy h1 {
    max-width: 770px;
    margin: 0;
    color: #0a1b2b;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3.6rem, 6.6vw, 7.5rem);
    font-weight: 500;
    line-height: .92;
    letter-spacing: -.045em;
}

.history-premium-lead {
    max-width: 670px;
    margin: 30px 0 0;
    color: #5d6973;
    font-size: 1.12rem;
    line-height: 1.8;
}


/* Facts */

.history-premium-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 42px;
}

.history-premium-fact {
    padding: 17px 18px;
    border: 1px solid rgba(11, 28, 43, .08);
    border-radius: 14px;
    background: rgba(255, 255, 255, .68);
}

.history-premium-fact span {
    display: block;
    margin-bottom: 6px;
    color: #a67a1a;
    font-size: .68rem;
    font-weight: 850;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.history-premium-fact strong {
    color: #132536;
    font-size: .94rem;
}


/* Hero image */

.history-premium-image {
    position: relative;
    min-height: 660px;
    overflow: hidden;
}

.history-premium-image::before {
    content: "";
    position: absolute;
    z-index: 2;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            #fffdf8 0%,
            rgba(255, 253, 248, .18) 18%,
            transparent 42%
        );
}

.history-premium-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.history-premium-caption {
    position: absolute;
    z-index: 3;
    right: 28px;
    bottom: 28px;
    max-width: 290px;
    padding: 15px 18px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 14px;
    background: rgba(7, 24, 39, .84);
    color: #fff;
    backdrop-filter: blur(12px);
}

.history-premium-caption span {
    display: block;
    color: #dfb545;
    font-size: .7rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.history-premium-caption p {
    margin: 5px 0 0;
    color: #e8edf0;
    font-size: .85rem;
    line-height: 1.5;
}


/* Introduction */

.history-introduction {
    max-width: 1060px;
    margin: clamp(80px, 10vw, 140px) auto;
    text-align: center;
}

.history-section-eyebrow {
    display: block;
    margin-bottom: 17px;
}

.history-introduction h2 {
    margin: 0;
    color: #0b1c2b;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.7rem, 5vw, 5.4rem);
    font-weight: 500;
    line-height: 1.03;
    letter-spacing: -.035em;
}

.history-introduction p {
    max-width: 900px;
    margin: 32px auto 0;
    color: #475762;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.25rem, 2vw, 1.65rem);
    line-height: 1.75;
}


/* Theme cards */

.history-themes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.history-theme {
    position: relative;
    min-height: 410px;
    padding: 38px;
    overflow: hidden;
    border: 1px solid rgba(11, 28, 43, .08);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(11, 28, 43, .07);
}

.history-theme::after {
    content: "";
    position: absolute;
    right: -70px;
    bottom: -100px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background:
        radial-gradient(
            circle,
            rgba(210, 169, 59, .13),
            transparent 70%
        );
}

.history-theme-number {
    display: block;
    margin-bottom: 48px;
    color: #c18e1f;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.4rem;
}

.history-theme h3 {
    margin: 0;
    color: #102334;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.15;
}

.history-theme p {
    position: relative;
    z-index: 2;
    margin: 20px 0 0;
    color: #65717a;
    line-height: 1.75;
}


/* Legacy */

.history-legacy {
    position: relative;
    margin-top: 24px;
    padding: clamp(42px, 6vw, 82px);
    overflow: hidden;
    border-radius: 28px;
    background: linear-gradient(135deg, #081b2b 0%, #17364a 100%);
    color: #fff;
}

.history-legacy::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            circle at 80% 10%,
            rgba(206, 163, 50, .20),
            transparent 33%
        );
}

.history-legacy > * {
    position: relative;
    z-index: 2;
}

.history-legacy h2 {
    max-width: 890px;
    margin: 0;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.5rem, 4.5vw, 5rem);
    font-weight: 500;
    line-height: 1.04;
}

.history-legacy p {
    max-width: 860px;
    margin: 26px 0 0;
    color: #d9e1e6;
    font-size: 1.03rem;
    line-height: 1.8;
}


/* Archive */

.history-archive {
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    gap: 24px;
    margin-top: 24px;
}

.history-archive-main,
.history-editorial-note {
    padding: clamp(34px, 5vw, 60px);
    border: 1px solid rgba(11, 28, 43, .09);
    border-radius: 24px;
    background: #fff;
}

.history-archive-main h2 {
    margin: 0;
    color: #102334;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 3vw, 3.5rem);
    font-weight: 500;
}

.history-archive-main p {
    margin: 24px 0 0;
    color: #586670;
    font-size: 1rem;
    line-height: 1.85;
}

.history-editorial-note {
    background: linear-gradient(145deg, #faf5e7, #fffdf7);
}

.history-editorial-note strong {
    display: block;
    color: #a6750f;
    font-size: .76rem;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.history-editorial-note p {
    margin: 20px 0 0;
    color: #475661;
    line-height: 1.75;
}


/* Closing */

.history-closing {
    max-width: 1000px;
    margin: 100px auto 0;
    text-align: center;
}

.history-closing::before {
    content: "✦";
    display: block;
    margin-bottom: 26px;
    color: #c08a17;
    font-size: 1.4rem;
}

.history-closing blockquote {
    margin: 0;
    color: #132536;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 1.25;
}


/* Responsive */

@media (max-width: 1050px) {

    .history-premium-hero {
        grid-template-columns: 1fr;
    }

    .history-premium-image {
        min-height: 540px;
    }

    .history-premium-image::before {
        background:
            linear-gradient(
                180deg,
                #fffdf8 0%,
                transparent 20%
            );
    }

    .history-themes {
        grid-template-columns: 1fr;
    }

    .history-theme {
        min-height: auto;
    }

    .history-archive {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {

    .history-premium {
        width: min(94%, 1500px);
        margin-top: 20px;
    }

    .history-premium-hero {
        border-radius: 22px;
    }

    .history-premium-copy {
        padding: 38px 26px;
    }

    .history-premium-facts {
        grid-template-columns: 1fr;
    }

    .history-premium-image {
        min-height: 430px;
    }

    .history-premium-caption {
        right: 16px;
        bottom: 16px;
        left: 16px;
        max-width: none;
    }
}
