/* =========================================================
   IL CORRIERE DEL CREMLINO
   Foglio di stile principale
   ========================================================= */

:root {
    --paper: #f3f0e8;
    --ink: #111;
    --muted: #5a5853;
    --line: #171717;
    --soft: #aaa69e;
}

/* =========================================================
   Base
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #d7d4cd;
    color: var(--ink);
    font-family: "Libre Baskerville", Georgia, serif;
}

.paper {
    width: min(1220px, 100%);
    margin: auto;
    padding: 18px 34px 40px;
    min-height: 100vh;
    background: var(--paper);
    box-shadow: 0 0 35px #0002;
}

/* =========================================================
   Tipografia editoriale
   ========================================================= */

.top,
.edition,
nav,
.label,
.kicker,
.tag,
footer {
    font-family: "Source Sans 3", Arial, sans-serif;
}

/* =========================================================
   Testata
   ========================================================= */

.top,
.edition {
    display: flex;
    justify-content: space-between;
    gap: 15px;

    padding-bottom: 7px;

    border-bottom: 1px solid var(--line);

    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.mast {
    padding: 14px 0 10px;
    text-align: center;
}

.mast h1 {
    margin: 0;

    font-family: "Playfair Display", Georgia, serif;

    /** font-size: clamp(55px, 9vw, 108px); */ 
    font-size: clamp(35px, 8vw, 98px);

    font-weight: 900;
    line-height: 0.78;
    letter-spacing: -0.065em;

    /** font-style: italic; */ 

}

.claim {
    margin-top: 14px;

    font-family: "Source Sans 3", Arial, sans-serif;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.28em;
}

.sub {
    margin-top: 7px;

    font-family: "Libre Baskerville", Georgia, serif;
    font-size: 12px;
    font-style: italic;
}

/* =========================================================
   Navigazione
   ========================================================= */

nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;

    border-top: 3px double var(--line);
    border-bottom: 3px double var(--line);
}

nav a {
    padding: 9px 12px;

    color: inherit;
    text-decoration: none;

    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

nav a:hover {
    text-decoration: underline;
}

.edition {
    padding-top: 7px;
    border-top: 0;
    border-bottom: 1px solid var(--soft);
}

/* =========================================================
   Sezioni
   ========================================================= */

.section {
    padding-top: 23px;
}

.label {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 13px;

    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.label::after {
    content: "";

    flex: 1;

    height: 1px;

    background: var(--line);
}

/* =========================================================
   Prima pagina
   ========================================================= */

.hero-grid {
    display: grid;
    grid-template-columns: 1.8fr 0.8fr;
    gap: 24px;
}

.hero {
    padding-right: 24px;

    border-right: 1px solid var(--line);
}

.kicker,
.tag {
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.11em;
}

.hero h2 {
    margin: 7px 0 11px;

    font-family: "Playfair Display", Georgia, serif;

    font-size: clamp(42px, 6vw, 76px);
    font-size: clamp(42px, 5.5vw, 70px);   

    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -0.045em;
}

.deck {
    margin: 0 0 14px;

    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
}

.hero img {
    display : block;

    width   : 100%;
    height  : 350px;
    height  : 900px;

    border  : 1px solid var(--line);

    object-fit: cover;
    filter: grayscale(1) contrast(1.12);
}

.caption {
    margin-top: 5px;

    color: var(--muted);

    font-family: "Source Sans 3", Arial, sans-serif;
    font-size: 10px;
}

.hero-text {
    columns: 2;
    column-gap: 24px;

    margin-top: 15px;

    font-size: 13px;
    line-height: 1.7;
}

.hero-text p {
    margin: 0 0 10px;
}

/* =========================================================
   Sidebar
   ========================================================= */

.stack {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.card {
    padding-top: 9px;
    padding-bottom: 13px;

    border-top: 3px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.card h3,
.story h3 {
    margin: 5px 0 8px;

    font-family: "Playfair Display", Georgia, serif;
    font-size: 27px;
    font-weight: 800;
    line-height: 1.03;
}

.card p,
.story p {
    margin: 0;

    font-size: 12px;
    line-height: 1.55;
}

.quote {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 25px;
    font-weight: 800;
    line-height: 1.2;
}

.by {
    margin-top: 9px !important;

    font-family: "Source Sans 3", Arial, sans-serif !important;
    font-size: 10px !important;
    font-weight: 800;
    text-transform: uppercase;
}

/* =========================================================
   Griglie degli articoli
   ========================================================= */

.news {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.story {
    padding-top: 9px;

    border-top: 3px solid var(--line);
}

.story:not(:last-child) {
    padding-right: 18px;

    border-right: 1px solid var(--soft);
}

.more {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 20px;
}

/* =========================================================
   Sezione "Quello che non vi hanno raccontato"
   ========================================================= */

.hidden {
    padding: 18px 20px;

    background: #e9e5dc;
    border: 1px solid var(--line);
}

.hidden-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 25px;
}

.hidden h3 {
    margin: 5px 0 10px;

    font-family: "Playfair Display", Georgia, serif;
    font-size: 35px;
    font-weight: 800;
    line-height: 1;
}

.hidden p {
    font-size: 13px;
    line-height: 1.6;
}

.num {
    float: left;

    margin: 4px 12px 3px 0;

    font-family: "Playfair Display", Georgia, serif;
    font-size: 58px;
    font-weight: 900;
    line-height: 0.8;
}

/* =========================================================
   Angolo acido
   ========================================================= */

.acid {
    padding: 17px 19px 20px;

    color: var(--paper);
    background: var(--ink);
}

.acid .label {
    color: var(--paper);
}

.acid .label::after {
    background: var(--paper);
}

.acid-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 18px;
}

.acid article {
    padding-right: 16px;

    border-right: 1px solid #777;
}

.acid article:last-child {
    border-right: 0;
}

.acid h3 {
    margin: 5px 0 8px;

    font-family: "Playfair Display", Georgia, serif;
    font-size: 27px;
    font-weight: 800;
    line-height: 1.02;
}

.acid p {
    margin: 0;

    font-size: 12px;
    line-height: 1.5;
}

/* =========================================================
   Footer
   ========================================================= */

footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;

    margin-top: 25px;
    padding-top: 10px;

    border-top: 3px double var(--line);

    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

/* =========================================================
   Responsive / Mobile
   ========================================================= */

@media (max-width: 800px) {
    .paper {
        padding: 12px 16px 30px;
    }

    .top,
    .edition {
        font-size: 9px;
    }

    .hero-grid,
    .more,
    .hidden-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-right: 0;
        border-right: 0;
    }

    .hero-text {
        columns: 1;
    }

    .news,
    .acid-grid {
        grid-template-columns: 1fr;
    }

    .story:not(:last-child),
    .acid article {
        padding-bottom: 16px;

        border-right: 0;
        border-bottom: 1px solid var(--soft);
    }

    .hero img {
        height: 250px;
    }

    nav a {
        padding: 8px;
        font-size: 10px;
    }
}

/* =========================================================
   Stampa
   ========================================================= */

@media print {
    body {
        background: #fff;
    }

    .paper {
        width: 100%;
        box-shadow: none;
    }
}
