:root {
    --color-green: #79f786;
    --color-black: #000000;
    --color-blue: #001884;
    --color-pink: #ff65c3;
    --color-white: #ffffff;
    --color-gray: #f4f4f4;
    --font-main: 'Oswald', sans-serif;
    --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    --spacing-unit: 1rem;
    --container-width: 1200px;
    --header-height: 80px;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    background-color: var(--color-white);
    color: var(--color-black);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-main);
    margin-top: 0;
    margin-bottom: 0.5em;
    font-weight: 700;
    text-transform: uppercase;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-green);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Ensure all images are contained on mobile */
figure,
.wp-block-image,
.post-thumbnail {
    margin: 0;
    padding: 0;
}

figure img,
.wp-block-image img,
.post-thumbnail img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Layout */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
}

.container-submit {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.section-pad {
    padding: 6rem 0;
}

/* Mobile-first content padding */
.site-content {
    padding-left: 20px;
    padding-right: 20px;
}

.entry-content {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Prevent layout breaks */
pre,
code {
    overflow-x: auto;
    max-width: 100%;
}

/* Section Title with Underline Separator */
.section-title,
.page-title {
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
    text-align: left;
}

.section-title::after,
.page-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--color-black);
}

/* Exclude screen reader titles */
.page-title.screen-reader-text::after {
    display: none;
}

/* Header */
.site-header {
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: transparent;
    transition: all 0.4s ease;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid #eaeaea;
    padding: 0.75rem 0;
}

/* Mobile header - smaller padding */
@media (max-width: 768px) {
    .site-header {
        padding: 0.4rem 0;
    }

    .site-header.scrolled {
        padding: 0.3rem 0;
    }
}

.header-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title {
    margin: 0;
    line-height: 1;
}

.site-title a {
    display: inline-block;
    transition: opacity 0.3s ease;
}

.site-title a:hover {
    opacity: 0.8;
}

.site-logo {
    height: 28px;
    width: auto;
    display: block;
}

/* Logo appears white by default on homepage */
body.home .site-logo-white {
    filter: brightness(1);
}

/* Homepage logo - same size as other pages */
body.home .site-logo {
    height: 28px;
}

/* Logo turns black on scroll - use CSS filter to invert color */
body.home .site-header.scrolled .site-logo-white {
    filter: brightness(0);
}

/* Keep logo same size on scroll */
body.home .site-header.scrolled .site-logo {
    height: 28px;
}

.site-title a {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -1px;
    transition: color 0.4s ease;
}

.site-header.scrolled .site-title a {
    color: var(--color-black);
}

/* Navigation */
.main-navigation ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.main-navigation a {
    font-family: var(--font-main);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-white);
    transition: color 0.4s ease;
}

.site-header.scrolled .main-navigation a {
    color: var(--color-black);
}

.main-navigation a:hover {
    text-decoration: underline;
    text-decoration-color: var(--color-green);
    text-decoration-thickness: 3px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 10px;
}

.menu-close {
    display: none;
}

.mobile-menu-footer {
    display: none;
}

/* Hero Video - FULL SCREEN */
.hero-section {
    position: relative;
    height: 100vh;
    height: 100dvh; /* Accounts for browser chrome on mobile */
    width: 100%;
    overflow: hidden;
    background: #000;
    margin: 0;
}

/* Internal Pages Header Fixes */
body:not(.home) {
    padding-top: 0;
    /* Remove body padding, apply to main instead */
}

body:not(.home) .site-header {
    background: var(--color-white);
    border-bottom: 1px solid #eaeaea;
}

body:not(.home) .site-title a,
body:not(.home) .main-navigation a,
body:not(.home) .menu-toggle {
    color: var(--color-black);
}

body:not(.home) .hamburger-icon,
body:not(.home) .hamburger-icon::before,
body:not(.home) .hamburger-icon::after {
    background: var(--color-black);
}

/* Push content below fixed header — solo per pagine senza hero full-bleed */
body:not(.home) .site-main {
    padding-top: 80px;
}

/* Pagine con hero full-bleed (nero a schermo intero): l'header del sito
   è trasparente/sovrapposto, il padding lo gestisce la hero section stessa.
   Specificità (0,2,1) = uguale a body:not(.home) .site-main, ma dichiarata
   DOPO nel cascade: vince correttamente e azzera il gap bianco. */
body:not(.home) .archive-main,
body:not(.home) .about-main,
body:not(.home) .submit-main {
    padding-top: 0;
}

/* Mobile */
@media (max-width: 768px) {
    body:not(.home) .site-main {
        padding-top: 120px;
    }

    body:not(.home) .archive-main,
    body:not(.home) .about-main,
    body:not(.home) .submit-main {
        padding-top: 0;
    }
}

body:not(.home) .archive-header {
    padding-top: 2rem;
}


.video-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
    opacity: 0.7;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.hero-content {
    text-align: center;
    color: var(--color-white);
}

.hero-logo {
    font-size: 8vw;
    /* Responsive huge logo */
    margin-bottom: 0;
    line-height: 1;
    text-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    letter-spacing: -2px;
}

.hero-payoff {
    font-family: var(--font-body);
    font-size: 1.5rem;
    font-style: italic;
    margin-top: 1rem;
    opacity: 0.9;
    letter-spacing: 1px;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: var(--font-main);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    z-index: 20;
    animation: fadeIn 2s ease;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: white;
    margin-top: 10px;
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-green);
    animation: scrollLine 2s cubic-bezier(0.77, 0, 0.175, 1) infinite;
}

@keyframes scrollLine {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(100%);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, 20px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* Grid System & Cards */
.grid-layout-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.grid-layout-2col-text {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
}

.grid-card {
    display: flex;
    flex-direction: column;
    background: transparent;
    transition: transform 0.3s ease;
}

.grid-card:hover {
    transform: translateY(-5px);
}

.card-image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/5;
    /* Slightly taller */
    margin-bottom: 1.2rem;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card-image-wrapper:hover .card-img {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    padding: 1.5rem;
    text-align: center;
    backdrop-filter: blur(2px);
}

.card-image-wrapper:hover .card-overlay {
    opacity: 1;
}

.card-category {
    background: var(--color-green);
    color: var(--color-black);
    padding: 4px 10px;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.card-title {
    font-size: 1.7rem;
    margin-bottom: 0.5rem;
    line-height: 1.1;
    font-weight: 600;
}

.card-meta {
    font-size: 0.85rem;
    color: #888;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-excerpt {
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Mobile-only: Hidden by default, shown below title */
.card-excerpt-mobile {
    display: none;
}

/* Text Card */
.text-card-img-link {
    display: block;
    margin-bottom: 1rem;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.text-card-img-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.text-card-excerpt {
    color: #555;
    margin-bottom: 1rem;
}

.read-more {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.8rem;
    border-bottom: 1px solid var(--color-black);
}

/* Newsletter CTA */
.newsletter-cta {
    background-color: var(--color-gray);
    padding: 6rem 0;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.newsletter-form-inline {
    display: flex;
    gap: 0;
    justify-content: center;
    margin-top: 2rem;
    border-bottom: 1px solid #000;
    padding-bottom: 5px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form-inline input {
    padding: 1rem 0;
    border: none;
    width: 100%;
    background: transparent;
    font-size: 1.1rem;
    font-family: inherit;
    outline: none;
}

.btn-black {
    background: var(--color-black);
    color: var(--color-white);
    border: none;
    padding: 1rem 3rem;
    text-transform: uppercase;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    font-family: var(--font-main);
    letter-spacing: 1px;
}

/* Reusing btn-black generally */
.newsletter-form-inline .btn-black {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Submit Page Redesign */
.submit-hero {
    padding: 8rem 0 4rem;
    background: var(--color-gray);
    margin-bottom: 2rem;
}

.big-title {
    font-size: 4rem;
    line-height: 1;
    margin-bottom: 1rem;
    letter-spacing: -2px;
}

.hero-subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 0 2rem 0;
    /* Left align, add bottom margin */
    color: #555;
    font-family: var(--font-body);
}

.submit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 6rem;
}

.submit-col {
    padding: 2rem;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.submit-col:hover {
    border-color: var(--color-black);
    transform: translateY(-5px);
}

.submit-heading {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--color-green);
    display: inline-block;
}

.submit-desc p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.submission-specs {
    list-style: none;
    padding: 0;
    margin: 0;
}

.submission-specs li {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #666;
    display: flex;
    align-items: center;
}

.submission-specs li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--color-black);
    border-radius: 50%;
    margin-right: 10px;
}

.submit-cta-block {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--color-black);
    color: white;
}

.submission-email-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.submission-email-link {
    font-family: var(--font-main);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-green);
    text-decoration: none;
    display: block;
    margin-bottom: 1rem;
    word-break: break-all;
}

.submission-email-link:hover {
    color: var(--color-white);
}

.submission-note {
    font-size: 0.8rem;
    opacity: 0.6;
    font-style: italic;
}

@media (max-width: 768px) {
    .submit-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .big-title {
        font-size: 2.5rem;
    }

    .submission-email-link {
        font-size: 1.5rem;
    }
}

/* Footer - Professional Indie Look */
.site-footer {
    background: var(--color-black);
    color: var(--color-white);
    padding: 5rem 0 2rem;
    font-family: var(--font-body);
}

.footer-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 2fr;
    gap: 3rem;
    border-bottom: 1px solid #333;
    padding-bottom: 4rem;
}

.footer-logo {
    font-size: 2.5rem;
    color: var(--color-white);
    letter-spacing: -1px;
}

.site-footer h3 {
    font-size: 0.7rem;
    /* Tiny label style */
    text-transform: uppercase;
    color: #888;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.site-footer p,
.site-footer a {
    font-size: 0.95rem;
    line-height: 1.6;
    display: block;
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

.site-footer a:hover {
    color: var(--color-green);
}

.newsletter-input-group {
    display: flex;
    border-bottom: 1px solid #555;
    padding-bottom: 5px;
}

.newsletter-input-group input {
    background: transparent;
    border: none;
    color: white;
    width: 100%;
    padding: 5px 0;
    outline: none;
}

/* Full Width Featured Image on Single Posts */
.single-post-main .featured-image-wrapper {
    width: 100%;
    display: block;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.single-post-main .featured-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 90vh;
}

/* Mobile: nessun margine negativo, l'article è già full-width */
@media (max-width: 768px) {
    .single-post-main .featured-image-wrapper {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
        margin-top: 1.5rem;
        margin-bottom: 1.5rem;
    }
}

.newsletter-input-group button {
    background: transparent;
    border: none;
    color: var(--color-green);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0 5px;
    transition: transform 0.3s;
}

.newsletter-input-group button:hover {
    transform: translateX(5px);
}

/* ================================================
   MAILPOET – Form shortcode override
   Copre entrambe le generazioni di classi MailPoet:
   - Legacy:  .mailpoet_form  .mailpoet_text  .mailpoet_submit
   - Modern:  .mailpoet-form  .mailpoet-form-input  .mailpoet-submit
   Usa !important per battere gli stili inline e il
   foglio CSS iniettato da MailPoet stesso.
   ================================================ */

/* ---- Reset condiviso: sfondo e bordi del form container ---- */
.newsletter-cta .mailpoet_form,
.newsletter-cta .mailpoet-form,
.footer-newsletter .mailpoet_form,
.footer-newsletter .mailpoet-form {
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
}

/* ---- Reset condiviso: colonne/paragrafi MailPoet ---- */
.newsletter-cta .mailpoet_form_paragraph,
.newsletter-cta .mailpoet-form-column,
.newsletter-cta .mailpoet-form-field,
.footer-newsletter .mailpoet_form_paragraph,
.footer-newsletter .mailpoet-form-column,
.footer-newsletter .mailpoet-form-field {
    padding: 0 !important;
    margin: 0 !important;
    /* Fix email lunga: permette al flex item di ridursi sotto la sua larghezza minima */
    min-width: 0 !important;
}

/* ---- Stato successo: rimuove il bordo decorativo dal form ---- */
/* :has() è supportato da Chrome 105+, Firefox 121+, Safari 15.4+ */
.newsletter-cta .mailpoet_form:has(.mailpoet_validate_success),
.newsletter-cta .mailpoet-form:has([class*="success"]),
.newsletter-cta .mailpoet-form:has(.mailpoet_validate_success) {
    border-bottom: none !important;
    padding-bottom: 0 !important;
    display: block !important;
    text-align: center;
}
.footer-newsletter .mailpoet_form:has(.mailpoet_validate_success),
.footer-newsletter .mailpoet-form:has([class*="success"]),
.footer-newsletter .mailpoet-form:has(.mailpoet_validate_success) {
    border-bottom: none !important;
    padding-bottom: 0 !important;
    display: block !important;
}

/* ---- Messaggio di conferma post-iscrizione ----
   NON forzare display: block — MailPoet gestisce
   show/hide via JS. Stiliamo solo l'aspetto visivo. */
.newsletter-cta .mailpoet_validate_success,
.newsletter-cta [class*="mailpoet"][class*="success"],
.footer-newsletter .mailpoet_validate_success,
.footer-newsletter [class*="mailpoet"][class*="success"] {
    width: 100%;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0.75rem 0 !important;
    font-family: var(--font-body) !important;
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
}
/* Nel CTA homepage: centra il testo */
.newsletter-cta .mailpoet_validate_success,
.newsletter-cta [class*="mailpoet"][class*="success"] {
    color: var(--color-green) !important;
    text-align: center;
}
/* Nel footer: allineato a sinistra, testo più piccolo */
.footer-newsletter .mailpoet_validate_success,
.footer-newsletter [class*="mailpoet"][class*="success"] {
    color: var(--color-green) !important;
    font-size: 0.8rem !important;
    text-align: left;
}

/* ---- Reset condiviso: nasconde label e asterisco ---- */
.newsletter-cta .mailpoet_text_label,
.newsletter-cta .mailpoet-form-label,
.newsletter-cta .mailpoet-form-label-required,
.footer-newsletter .mailpoet_text_label,
.footer-newsletter .mailpoet-form-label,
.footer-newsletter .mailpoet-form-label-required {
    display: none !important;
}

/* ================================================
   HOMEPAGE CTA — replica .newsletter-form-inline
   ================================================ */
.newsletter-cta .mailpoet_form,
.newsletter-cta .mailpoet-form {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 0 !important;
    justify-content: center;
    max-width: 400px;
    margin: 2rem auto 0 !important;
    border-bottom: 1px solid #000;
    padding-bottom: 5px !important;
}

/* Colonna email: si allarga */
.newsletter-cta .mailpoet_form .mailpoet_form_paragraph,
.newsletter-cta .mailpoet-form .mailpoet-form-column {
    flex: 1 !important;
    flex-basis: auto !important;
}

/* Colonna submit: si restringe al contenuto */
.newsletter-cta .mailpoet_form .mailpoet_form_paragraph:last-child,
.newsletter-cta .mailpoet-form .mailpoet-form-column:last-child {
    flex: 0 0 auto !important;
    flex-basis: auto !important;
}

/* Input email — homepage */
.newsletter-cta .mailpoet_form input.mailpoet_text,
.newsletter-cta .mailpoet-form input.mailpoet-form-input,
.newsletter-cta .mailpoet-form .mailpoet-form-input {
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    width: 100% !important;
    padding: 1rem 0 !important;
    font-size: 1.1rem !important;
    font-family: inherit !important;
    outline: none !important;
    color: inherit !important;
}

/* Bottone submit — homepage */
.newsletter-cta .mailpoet_form input.mailpoet_submit,
.newsletter-cta .mailpoet-form input.mailpoet-submit,
.newsletter-cta input.mailpoet-submit {
    background: var(--color-black) !important;
    color: var(--color-white) !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0.5rem 1rem !important;
    font-family: var(--font-main) !important;
    font-size: 0.9rem !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    transition: background 0.3s !important;
    height: auto !important;
    line-height: normal !important;
}
.newsletter-cta .mailpoet_form input.mailpoet_submit:hover,
.newsletter-cta .mailpoet-form input.mailpoet-submit:hover,
.newsletter-cta input.mailpoet-submit:hover {
    background: var(--color-green) !important;
}

/* Messaggi esito — homepage */
.newsletter-cta .mailpoet_validate_success,
.newsletter-cta [class*="mailpoet"][class*="success"] {
    color: var(--color-green);
    font-size: 0.9rem;
    margin-top: 0.75rem;
}
.newsletter-cta .mailpoet_validate_error,
.newsletter-cta [class*="mailpoet"][class*="error"] {
    color: #dc3232;
    font-size: 0.9rem;
    margin-top: 0.75rem;
}

/* ================================================
   FOOTER NEWSLETTER — replica .newsletter-input-group
   ================================================ */
.footer-newsletter .mailpoet_form,
.footer-newsletter .mailpoet-form {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 0 !important;
    border-bottom: 1px solid #555 !important;
    padding-bottom: 5px !important;
    margin-top: 0.25rem !important;
}

/* Colonna email footer: si allarga */
.footer-newsletter .mailpoet_form .mailpoet_form_paragraph,
.footer-newsletter .mailpoet-form .mailpoet-form-column {
    flex: 1 !important;
    flex-basis: auto !important;
}
.footer-newsletter .mailpoet_form .mailpoet_form_paragraph:last-child,
.footer-newsletter .mailpoet-form .mailpoet-form-column:last-child {
    flex: 0 0 auto !important;
    flex-basis: auto !important;
}

/* Input email — footer */
.footer-newsletter .mailpoet_form input.mailpoet_text,
.footer-newsletter .mailpoet-form input.mailpoet-form-input,
.footer-newsletter .mailpoet-form .mailpoet-form-input {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: #fff !important;
    width: 100% !important;
    padding: 5px 0 !important;
    outline: none !important;
    font-family: inherit !important;
    font-size: 0.9rem !important;
}
.footer-newsletter .mailpoet_form input.mailpoet_text::placeholder,
.footer-newsletter .mailpoet-form .mailpoet-form-input::placeholder {
    color: rgba(255, 255, 255, 0.45) !important;
}

/* Bottone submit — footer */
.footer-newsletter .mailpoet_form input.mailpoet_submit,
.footer-newsletter .mailpoet-form input.mailpoet-submit,
.footer-newsletter input.mailpoet-submit {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: var(--color-green) !important;
    font-size: 0.9rem !important;
    font-family: var(--font-main) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    cursor: pointer !important;
    padding: 0 5px !important;
    transition: color 0.2s, transform 0.2s !important;
    white-space: nowrap !important;
    height: auto !important;
    line-height: normal !important;
}
.footer-newsletter .mailpoet_form input.mailpoet_submit:hover,
.footer-newsletter .mailpoet-form input.mailpoet-submit:hover,
.footer-newsletter input.mailpoet-submit:hover {
    color: #fff !important;
    background: transparent !important;
    transform: translateX(4px) !important;
}

/* Messaggi esito — footer */
.footer-newsletter .mailpoet_validate_success,
.footer-newsletter [class*="mailpoet"][class*="success"] {
    color: var(--color-green);
    font-size: 0.85rem;
    margin-top: 0.5rem;
}
.footer-newsletter .mailpoet_validate_error,
.footer-newsletter [class*="mailpoet"][class*="error"] {
    color: #f87171;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.site-info {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.75rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Mobile Responsiveness & Animations */
@media (max-width: 992px) {
    .grid-layout-3col {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }

    .hero-logo {
        font-size: 12vw;
    }
}

@media (max-width: 768px) {

    /* ========================================
       MOBILE OPTIMIZATION - FASHION MAGAZINE
       Professional UX/UI - Single Source of Truth
       ======================================== */

    /* ----- 1. BASE & TYPOGRAPHY ----- */
    body {
        font-size: 16px;
        -webkit-text-size-adjust: 100%;
    }

    h1 {
        font-size: 2rem;
        line-height: 1.15;
    }

    h2 {
        font-size: 1.75rem;
        line-height: 1.2;
    }

    h3 {
        font-size: 1.5rem;
        line-height: 1.25;
    }

    h4 {
        font-size: 1.25rem;
    }

    /* ----- 2. GLOBAL SPACING (2rem = 32px) ----- */
    .container,
    .container-narrow,
    .container-submit,
    .site-content,
    .archive-header,
    .page-header,
    .entry-header,
    .about-content,
    .submit-intro,
    .entry-content,
    .no-stories,
    .header-container {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    /* ----- 3. SECTION & PAGE TITLES ----- */
    .section-title,
    .page-title,
    .big-title {
        padding-left: 2rem;
        padding-right: 2rem;
        text-align: left;
        position: relative;
        margin-bottom: 1.5rem;
    }

    .section-title::after,
    .page-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 3px;
        background: var(--color-black);
        display: block;
    }

    /* ----- 4. HEADER & NAVIGATION ----- */
    .site-header {
        padding: 0.75rem 0;
    }

    .site-logo {
        height: 40px;
        width: auto;
    }

    /* Homepage white logo - larger */
    body.home .site-logo-white {
        height: 60px;
    }

    /* Keep logo same size on homepage scroll */
    body.home .site-header.scrolled .site-logo {
        height: 40px;
    }

    .menu-toggle {
        display: block;
        z-index: 1005;
    }

    .hamburger-icon {
        display: block;
        width: 28px;
        height: 2px;
        background: var(--color-white);
        position: relative;
        transition: all 0.3s ease;
    }

    .hamburger-icon::before,
    .hamburger-icon::after {
        content: '';
        position: absolute;
        width: 28px;
        height: 2px;
        background: var(--color-white);
        left: 0;
        transition: all 0.3s ease;
    }

    .hamburger-icon::before {
        top: -8px;
    }

    .hamburger-icon::after {
        top: 8px;
    }

    .site-header.scrolled .hamburger-icon,
    .site-header.scrolled .hamburger-icon::before,
    .site-header.scrolled .hamburger-icon::after {
        background: var(--color-black);
    }

    .menu-toggle.active .hamburger-icon {
        background: transparent;
    }

    .menu-toggle.active .hamburger-icon::before {
        transform: rotate(45deg);
        top: 0;
        background: var(--color-black);
    }

    .menu-toggle.active .hamburger-icon::after {
        transform: rotate(-45deg);
        top: 0;
        background: var(--color-black);
    }

    /* Mobile Menu Close Button */
    .menu-close {
        display: block;
        position: fixed;
        top: 1.5rem;
        right: 2rem;
        background: none;
        border: none;
        cursor: pointer;
        color: var(--color-black);
        padding: 8px;
        z-index: 1010;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s ease 0.15s, visibility 0.4s ease 0.15s, color 0.3s ease;
    }

    .menu-close:hover {
        color: var(--color-green);
    }

    .main-navigation.toggled .menu-close {
        opacity: 1;
        visibility: visible;
    }

    /* Body scroll lock — impedisce lo scroll della pagina dietro il menu */
    body.menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }

    /* Mobile Menu Footer (Cookie Policy & Privacy Links) */
    .mobile-menu-footer {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        position: fixed;
        bottom: 1.5rem;
        left: 0;
        width: 100%;
        text-align: center;
        padding: 0 2rem;
        z-index: 1001;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s ease 0.2s, visibility 0.4s ease 0.2s;
    }

    .main-navigation.toggled .mobile-menu-footer {
        opacity: 1;
        visibility: visible;
    }

    .main-navigation .mobile-menu-footer a {
        display: inline-block;
        font-size: 0.78rem;
        color: #666;
        font-family: var(--font-body);
        text-transform: none;
        font-weight: 400;
        letter-spacing: 0.3px;
        padding: 0.3rem 0;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .main-navigation .mobile-menu-footer a:hover {
        color: var(--color-green);
    }

    .main-navigation ul {
        display: flex;
        flex-direction: column;
        align-items: center;     /* Centra gli elementi orizzontalmente */
        justify-content: center; /* Centra gli elementi verticalmente */
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        background: white;
        padding: 5rem 2rem 6rem; /* Spazio per il mobile-menu-footer fisso */
        overflow-y: auto;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: all 0.4s ease;
        z-index: 1000;
    }

    .main-navigation.toggled ul {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .main-navigation ul li {
        margin-bottom: 1.5rem;
        text-align: center;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.4s ease;
    }

    .main-navigation.toggled ul li {
        opacity: 1;
        transform: translateY(0);
    }

    .main-navigation.toggled ul li:nth-child(1) {
        transition-delay: 0.1s;
    }

    .main-navigation.toggled ul li:nth-child(2) {
        transition-delay: 0.15s;
    }

    .main-navigation.toggled ul li:nth-child(3) {
        transition-delay: 0.2s;
    }

    .main-navigation.toggled ul li:nth-child(4) {
        transition-delay: 0.25s;
    }

    .main-navigation.toggled ul li:nth-child(5) {
        transition-delay: 0.3s;
    }

    .main-navigation a {
        font-size: 1.75rem;
        color: var(--color-black);
    }

    /* ----- 5. ARTICLE CARDS ----- */
    .grid-layout-3col,
    .grid-layout-2col-text {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .article-card,
    .grid-card {
        margin-bottom: 0;
    }

    .card-image-wrapper {
        margin: 0;
        height: 180px;
        overflow: hidden;
    }

    .card-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
        transform: scale(1.1);
        transform-origin: center center;
    }

    .card-content {
        padding: 0.75rem 2rem 0;
    }

    .card-title {
        font-size: 1.35rem;
        line-height: 1.2;
        margin: 0 0 0.25rem;
    }

    .card-meta {
        font-size: 0.8rem;
        margin-bottom: 0.25rem;
        color: #888;
    }

    .card-overlay {
        display: none !important;
    }

    .card-excerpt-mobile {
        display: block;
        margin-top: 0.5rem;
        font-size: 0.9rem;
        line-height: 1.5;
        color: #555;
    }

    /* ----- 6. SINGLE POST ----- */
    .entry-title {
        font-size: 1.6rem;
        line-height: 1.2;
        margin: 0 0 0.5rem;
    }

    .entry-meta {
        font-size: 0.85rem;
        color: #888;
    }

    .entry-content {
        font-size: 1rem;
        line-height: 1.75;
    }

    .entry-content p,
    .entry-content ul,
    .entry-content ol {
        margin-bottom: 1.25rem;
    }

    .featured-image-wrapper {
        margin: 0 -2rem 1.5rem;
    }

    .featured-image-wrapper img {
        width: 100%;
        height: auto;
    }

    .article-card .post-thumbnail img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    /* ----- 7. SECTIONS ----- */
    .section-pad {
        padding: 2.5rem 0;
    }

    /* ----- 8. NEWSLETTER ----- */
    .newsletter-section {
        padding: 2.5rem 2rem;
    }

    .newsletter-input-group {
        max-width: 100%;
    }

    .newsletter-input-group input {
        font-size: 16px;
    }

    /* ----- 9. FOOTER ----- */
    .site-footer {
        padding: 2.5rem 2rem 1.5rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-branding {
        margin-bottom: 1rem;
    }

    .social-icons {
        justify-content: center;
    }

    /* ----- 10. SUBMIT PAGE ----- */
    .submit-content-split {
        grid-template-columns: 1fr;
    }

    .submit-intro,
    .submission-form {
        padding: 1.5rem;
    }

    .submission-form {
        margin-top: 1.5rem;
    }

    /* ----- 11. FORMS ----- */
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px;
        padding: 0.875rem;
    }

    .btn-block {
        padding: 1rem;
        font-size: 1rem;
    }

    /* ----- 12. ABOUT PAGE ----- */
    .about-content {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }

    /* ----- 13. PAGINATION ----- */
    .pagination {
        font-size: 0.9rem;
    }

    /* ----- 14. IMAGES ----- */
    img {
        max-width: 100%;
        height: auto;
    }

    /* ----- 15. PREVENT OVERFLOW ----- */
    .site-content,
    .entry-content,
    .container,
    .container-narrow,
    .container-submit {
        max-width: 100%;
        overflow-x: hidden;
    }
}


/* Submission Form Styles */
.submission-form {
    background: #fff;
    padding: 2rem;
    border: 1px solid #eee;
    margin-top: 2rem;
}

.form-row {
    display: block;
    /* Stack inputs for uniform width */
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    font-family: var(--font-main);
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 1rem;
    margin: 0;
    border: 1px solid #ccc;
    font-family: var(--font-body);
    font-size: 1rem;
    background: #fdfdfd;
    transition: all 0.3s;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
    border-radius: 0;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-black);
    outline: none;
}

.field-note {
    font-size: 0.8rem;
    color: #888;
    margin-top: 0.5rem;
}

.form-submit-wrapper {
    margin-top: 2rem;
    text-align: center;
}

.btn-block {
    width: 100%;
    display: block;
    padding: 1.2rem;
    font-size: 1.1rem;
}

/* Green Hover Effect */
.btn-black:hover {
    background-color: var(--color-green);
    color: var(--color-black);
    cursor: pointer;
}

.disclaimer {
    font-size: 0.75rem;
    color: #999;
    text-align: center;
    margin-top: 1.5rem;
}

.submit-success {
    background: #d4edda;
    color: #155724;
    padding: 1rem;
    margin-bottom: 2rem;
    border: 1px solid #c3e6cb;
    text-align: center;
}

.submit-error {
    background: #f8d7da;
    color: #721c24;
    padding: 1rem;
    margin-bottom: 2rem;
    border: 1px solid #f5c6cb;
    text-align: center;
}

@media (max-width: 768px) {
    .form-row {
        gap: 0;
    }

    .social-icons {
        justify-content: center;
    }
}

/* Social Icons in Footer */
.social-icons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #444;
    border-radius: 50%;
    color: var(--color-white);
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--color-green);
    border-color: var(--color-green);
    color: var(--color-black);
}

.social-icons svg {
    width: 20px;
    height: 20px;
}

/* =============================================
   ARCHIVE HERO (Fashion Stories & Words)
   Shared editorial header — same language as About/Submit
   ============================================= */

.archive-hero {
    background: var(--color-black);
    color: var(--color-white);
    padding: 8rem 0 4rem;
}

.archive-hero-inner {
    max-width: 760px;
}

.archive-hero-label {
    font-family: var(--font-main);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-green);
    display: block;
    margin-bottom: 1.25rem;
}

.archive-hero-title {
    font-size: clamp(2.8rem, 7vw, 6rem);
    line-height: 1;
    margin: 0 0 1.25rem;
    letter-spacing: -2px;
    font-family: var(--font-main);
    font-weight: 700;
}

.archive-hero-tagline {
    font-size: 1.1rem;
    color: #aaa;
    font-family: var(--font-body);
    font-style: italic;
    max-width: 540px;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .archive-hero {
        padding: 6.5rem 0 3rem;
    }

    .archive-hero-title {
        font-size: clamp(2.2rem, 10vw, 3.5rem);
        letter-spacing: -1px;
    }

    .archive-hero-tagline {
        font-size: 1rem;
    }
}

/* =============================================
   ABOUT US PAGE
   ============================================= */

.about-hero {
    background: var(--color-black);
    color: var(--color-white);
    padding: 10rem 0 5rem;
}

.about-hero-inner {
    max-width: 800px;
}

.about-label {
    font-family: var(--font-main);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-green);
    display: block;
    margin-bottom: 1.5rem;
}

.about-headline {
    font-size: clamp(3rem, 8vw, 7rem);
    line-height: 1;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.about-tagline {
    font-size: 1.25rem;
    color: #aaa;
    font-family: var(--font-body);
    font-style: italic;
    max-width: 600px;
    line-height: 1.6;
}

/* Intro block: two-column label + text */
.about-intro-block {
    background: var(--color-white);
    border-bottom: 1px solid #eee;
}

.about-intro-grid {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 4rem;
    align-items: start;
}

.about-intro-label {
    font-family: var(--font-main);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #888;
    padding-top: 0.4rem;
}

.about-intro-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--color-black);
    margin: 0;
}

/* Timeline */
.about-timeline-section {
    background: transparent;
    padding: 2.5rem 0;
}

.about-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.timeline-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 2rem;
    padding: 2.5rem 0;
    border-bottom: 1px solid #ddd;
    align-items: start;
}

.timeline-item:last-child {
    border-bottom: none;
}

.timeline-number {
    font-family: var(--font-main);
    font-size: 3.5rem;
    font-weight: 700;
    color: #ddd;
    line-height: 1;
    letter-spacing: -2px;
    padding-top: 0.1rem;
}

.timeline-body {
    padding-top: 0.25rem;
}

.timeline-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    letter-spacing: -0.5px;
}

.timeline-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin: 0;
}

/* Team block */
.about-team-section {
    background: var(--color-white);
    overflow: hidden;
    position: relative;
}

/* Il wrapper è position:relative + block (NON grid) —
   così l'accent può essere absolute senza interferire con il contenuto */
.about-team-inner {
    position: relative;
    min-height: 220px;
}

.about-team-content {
    position: relative;
    z-index: 2;          /* davanti all'accent */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 580px;
}

.about-team-title {
    font-size: 2rem;
    margin-bottom: 1.25rem;
    margin-top: 0;
}

.about-team-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 2rem;
    margin-top: 0;
}

/* Testo decorativo: assoluto, dietro il contenuto, mai cliccabile */
.about-team-accent {
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 0.88;
    z-index: 0;          /* dietro .about-team-content */
    pointer-events: none;
    user-select: none;
}

.accent-word {
    font-family: var(--font-main);
    font-size: clamp(4rem, 8vw, 9rem);
    font-weight: 700;
    letter-spacing: -3px;
    color: #ececec;
    text-transform: uppercase;
    display: block;
    line-height: 0.9;
}

.accent-green {
    color: #d6fcd9;   /* verde desaturato: visibile ma non invadente */
}

/* Homepage section description */
.section-description {
    font-size: 1rem;
    color: #666;
    margin-top: -1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    line-height: 1.6;
}

/* Submit page intro text */
.submit-page-intro {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    border-left: 3px solid var(--color-green);
    background: var(--color-gray);
}

/* Words archive subtitle */
.archive-subtitle {
    font-size: 1.05rem;
    color: #666;
    margin-top: -1rem;
    margin-bottom: 0;
    line-height: 1.6;
    font-style: italic;
}

/* =============================================
   FIX: Article date/image spacing in archive cards
   ============================================= */

/* Words archive: more breathing room between image and date/title */
.text-card-img-link {
    margin-bottom: 1.5rem;
}

.meta-date {
    display: block;
    margin-bottom: 0.6rem;
    font-size: 0.8rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: var(--font-body);
}

/* Grid card: more space between image and title/date */
.card-image-wrapper {
    margin-bottom: 1.5rem;
}

.card-meta {
    margin-top: 0.4rem;
    margin-bottom: 0.25rem;
}

/* =============================================
   MOBILE MENU: support for 6th and 7th nav items
   (extra pages added by client via Appearance > Menus)
   ============================================= */
@media (max-width: 768px) {
    .main-navigation.toggled ul li:nth-child(6) {
        transition-delay: 0.35s;
    }

    .main-navigation.toggled ul li:nth-child(7) {
        transition-delay: 0.4s;
    }

    /* About Us: responsive */
    .about-hero {
        padding: 8rem 0 3rem;
    }

    .about-intro-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .about-intro-label {
        padding-top: 0;
    }

    .about-intro-text p {
        font-size: 1rem;
    }

    .timeline-item {
        grid-template-columns: 50px 1fr;
        gap: 1rem;
        padding: 2rem 0;
    }

    .timeline-number {
        font-size: 2rem;
    }

    .timeline-title {
        font-size: 1.25rem;
    }

    /* Su mobile l'accent resta absolute ma si ridimensiona
       e si sposta in basso per non coprire il testo */
    .about-team-inner {
        min-height: auto;
        padding-bottom: 5rem;
    }

    .about-team-accent {
        right: 0;
        top: auto;
        bottom: 0;
        transform: none;
        flex-direction: row;
        gap: 0.2rem;
        overflow: hidden;
        max-width: 100%;
    }

    .accent-word {
        font-size: clamp(2.2rem, 10vw, 4rem);
        letter-spacing: -2px;
    }

    /* About page: riduce spazi verticali su mobile */
    .about-intro-block.section-pad,
    .about-team-section.section-pad {
        padding: 1.5rem 0;
    }

    .about-timeline-section {
        padding: 1.5rem 0;
    }

    .timeline-item {
        padding: 1.25rem 0;
    }

    /* Fix date/image spacing on mobile */
    .text-card-img-link {
        margin-bottom: 1.25rem;
    }

    .card-image-wrapper {
        margin-bottom: 1rem;
    }
}

/* =============================================
   GENERIC PAGE (page.php fallback)
   ============================================= */

.generic-page-wrap {
    padding: 2.5rem 0 6rem;
}

.generic-page-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eaeaea;
}

.generic-page-body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.8;
    color: #222;
}

.generic-page-body p {
    margin-bottom: 1.2rem;
}

/* =============================================
   LEGAL PAGES (Cookie Policy & Privacy)
   ============================================= */

.legal-page-wrap {
    padding: 2.5rem 0 6rem;
}

.legal-page-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eaeaea;
}

.legal-page-intro {
    font-size: 1.05rem;
    color: #555;
    font-family: var(--font-body);
    margin-top: 1rem;
    line-height: 1.6;
}

.legal-page-body {
    font-family: var(--font-body);
    font-size: 0.97rem;
    line-height: 1.9;
    color: #333;
}

.legal-page-body h2,
.legal-page-body h3,
.legal-page-body h4 {
    font-family: var(--font-main);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
}

.legal-page-body p {
    margin-bottom: 1.2rem;
}

.legal-page-body ul,
.legal-page-body ol {
    padding-left: 1.5rem;
    margin-bottom: 1.2rem;
}

.legal-page-body a {
    color: var(--color-black);
    text-decoration: underline;
}

.legal-page-body a:hover {
    opacity: 0.6;
}

/* =============================================
   MOBILE POLISH — v2.2.6
   Fix chirurgici per fluidità mobile completa.
   Nessuna modifica alla UI desktop.
   ============================================= */

/* Touch targets: social icons -> 44x44px (WCAG 2.5.5) */
.social-icons a {
    width: 44px;
    height: 44px;
}

@media (max-width: 768px) {

    /* ── Hero ──────────────────────────────── */

    /* Nascondi scroll indicator su mobile: spazio prezioso */
    .scroll-indicator {
        display: none;
    }

    /* Hero payoff: ridimensiona per schermi piccoli */
    .hero-payoff {
        font-size: 1.05rem;
        letter-spacing: 0;
        margin-top: 0.75rem;
    }

    /* ── Navigazione ───────────────────────── */

    /* Menu link: touch target minimo 44px di altezza */
    .main-navigation ul li a {
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    /* ── Cards ─────────────────────────────── */

    /* Sostituisce l'altezza fissa 180px con aspect-ratio
       per scaling fluido su tutti i viewport */
    .card-image-wrapper {
        height: auto;
        aspect-ratio: 16/10;
    }

    /* Allinea padding card-content col container (2rem) */
    .card-content {
        padding: 0.75rem 1rem 0;
    }

    /* ── Single post ───────────────────────── */

    /* Featured image full-bleed: l'article è già full-width, basta width 100% */
    .single-post-main .featured-image-wrapper {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
    }

    /* Evita che la featured image occupi tutto il viewport */
    .single-post-main .featured-image-wrapper img {
        max-height: 55vh;
        object-fit: cover;
    }

    /* ── Pagina About ──────────────────────── */

    /* Aumenta il gap tra label e testo intro (era 1rem: troppo stretto) */
    .about-intro-grid {
        gap: 2rem;
    }

    /* ── Titoli e decorazioni ──────────────── */

    /* Riduce lo spessore dell'underline: 3px -> 2px su mobile */
    .section-title::after,
    .page-title::after {
        height: 2px;
    }

    /* ── Footer ────────────────────────────── */

    /* Più spazio tra le icone social nel footer su mobile */
    .social-icons {
        gap: 0.75rem;
    }

    /* ── Pagine legali ─────────────────────── */

    .legal-page-wrap,
    .generic-page-wrap {
        padding: 2rem 0 4rem;
    }

}

/* Extra small: iPhone SE (375px) e schermi < 390px */
@media (max-width: 390px) {

    .container,
    .container-narrow,
    .container-submit {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .section-title,
    .page-title,
    .big-title {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    /* Big title: leggero ridimensionamento su schermi < 390px */
    .big-title {
        font-size: clamp(1.8rem, 10vw, 2.5rem);
    }

    /* Archive hero su schermi molto stretti */
    .archive-hero-title {
        font-size: clamp(1.9rem, 11vw, 2.8rem);
    }

    /* Riduce il padding dell'about hero */
    .about-hero {
        padding: 7rem 0 2.5rem;
    }

}
}