/* Stile comune della sezione Articoli */
@font-face {
    font-family: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url(/fonts/cormorant-garamond-latin.woff2) format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300 600;
    font-display: swap;
    src: url(/fonts/inter-latin.woff2) format('woff2');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1a3a52;
    --primary-2: #2a5570;
    --secondary: #8b7355;
    --accent: #c9a87a;
    --text: #2c2c2c;
    --text-light: #5a5a5a;
    --bg: #fafaf8;
    --white: #ffffff;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.75;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 600;
    line-height: 1.2;
    color: var(--primary);
}

a {
    color: var(--primary);
}

a:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}

/* Header */
header {
    background: var(--white);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0.75rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.logo img {
    display: block;
    height: 46px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 1.6rem;
    align-items: center;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-size: 0.92rem;
    font-weight: 500;
}

.nav-links a.nav-cta {
    background: var(--primary);
    color: var(--white);
    padding: 0.55rem 1.2rem;
    border-radius: 50px;
}

/* Testata della pagina */
.page-head {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%);
    color: var(--white);
    padding: 3.5rem 1.25rem 3rem;
}

.page-head-inner {
    max-width: 780px;
    margin: 0 auto;
}

.kicker {
    display: inline-block;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 0.9rem;
}

.page-head h1 {
    color: var(--white);
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.page-head p {
    color: rgba(255,255,255,0.88);
    font-size: 1.08rem;
}

.byline {
    margin-top: 1.4rem;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.75);
}

/* Elenco articoli */
.list {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 1.25rem 4rem;
    display: grid;
    gap: 1.4rem;
}

.list-item {
    background: var(--white);
    border-radius: 8px;
    padding: 1.8rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    border-left: 4px solid var(--accent);
}

.list-item .meta {
    font-size: 0.82rem;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.list-item h2 {
    font-size: 1.7rem;
    margin: 0.3rem 0 0.6rem;
}

.list-item h2 a {
    text-decoration: none;
}

.list-item p {
    color: var(--text-light);
}

/* Articolo */
article.post {
    max-width: 780px;
    margin: 0 auto;
    padding: 3rem 1.25rem 2rem;
}

.post .summary {
    background: var(--white);
    border-left: 4px solid var(--accent);
    padding: 1.4rem 1.6rem;
    border-radius: 6px;
    margin-bottom: 2.4rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.post .summary h2 {
    font-size: 1.3rem;
    margin-bottom: 0.6rem;
}

.post h2 {
    font-size: 1.9rem;
    margin: 2.4rem 0 0.8rem;
}

.post h3 {
    font-size: 1.4rem;
    margin: 1.8rem 0 0.6rem;
}

.post p, .post li {
    margin-bottom: 0.9rem;
    font-size: 1.04rem;
}

.post ul, .post ol {
    padding-left: 1.4rem;
}

.post .sources {
    margin-top: 2.6rem;
    padding-top: 1.4rem;
    border-top: 1px solid #e5e2dc;
    font-size: 0.92rem;
    color: var(--text-light);
}

.post .sources li {
    font-size: 0.92rem;
    margin-bottom: 0.4rem;
}

.post .disclaimer {
    font-size: 0.88rem;
    color: var(--text-light);
    font-style: italic;
}

/* Riquadro contatto */
.cta-box {
    max-width: 780px;
    margin: 0 auto 4rem;
    padding: 2rem 1.6rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%);
    border-radius: 10px;
    text-align: center;
    color: var(--white);
}

.cta-box h2 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 0.6rem;
}

.cta-box p {
    color: rgba(255,255,255,0.88);
    margin-bottom: 1.3rem;
}

.cta-box a {
    display: inline-block;
    margin: 0.3rem;
    padding: 0.85rem 1.7rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
}

.cta-box .wa {
    background: #25D366;
    color: var(--white);
}

.cta-box .mail {
    background: var(--accent);
    color: var(--primary);
}

/* Footer */
footer {
    background: #132c3f;
    color: rgba(255,255,255,0.75);
    padding: 2.5rem 1.25rem;
    text-align: center;
    font-size: 0.9rem;
    line-height: 1.8;
}

footer a {
    color: var(--accent);
    text-decoration: none;
}

.footer-name {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.4rem;
    color: var(--white);
}

.footer-legal {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.55);
    margin-top: 0.8rem;
}

@media (max-width: 760px) {
    .nav-links li:not(:last-child) {
        display: none;
    }

    .logo img {
        height: 38px;
    }

    .page-head h1 {
        font-size: 2.1rem;
    }

    .post h2 {
        font-size: 1.6rem;
    }
}
