/* Variabili sezione articoli: font restano Manrope/Playfair (volutamente diversi dal resto del sito);
   spaziature, margini, colori secondari e bottoni allineati al resto del sito */
:root {
    --articles-primary: #101010;
    --articles-accent: #8570c6;
    --articles-accent-deep: #6d58b4;
    --articles-accent-soft: #eee8ff;
    --articles-bg-light: #f8fafc;
    --articles-text-main: #333333;
    --articles-text-muted: #666666;
    --articles-line: #e2e8f0;
    --articles-card-line: #dfe7f1;
    --articles-shadow-soft: rgba(0, 0, 0, 0.03);
    --articles-shadow-card: rgba(0, 0, 0, 0.04);
    --articles-shadow-accent: rgba(133, 112, 198, 0.18);
    /* Allineamento al resto del sito (spaziature/layout) */
    --site-spacing-section: 42px;
    --site-spacing-section-sm: 24px;
    --site-spacing-block: 18px;
    --site-radius-btn: 999px;
    --site-radius-card: 14px;
    --site-footer-bg: #f7f7f8;
    --site-footer-border: #ecdce4;
}

body.articles-list-page,
body.article-detail-page {
    margin: 0;
    background: #ffffff;
}

.articles-local-header,
.articles-local-header *,
.articles-page,
.articles-page *,
.article-page .article-shell,
.article-page .article-shell *,
.article-page .article-empty,
.article-page .article-empty * {
    box-sizing: border-box;
}

.articles-page,
.article-page {
    color: var(--articles-text-main);
    font-family: 'Manrope', sans-serif;
}

.articles-page a,
.article-page a,
.articles-local-header a,
.articles-local-header button {
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.articles-local-header {
    width: 100%;
    background: #ffffff;
    box-shadow: 0 2px 16px rgba(15, 23, 42, 0.05);
    border-bottom: 1px solid #eef2f7;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.articles-local-header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--site-spacing-block);
}

.logo-container {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    text-decoration: none;
}

.logo-mark {
    width: 36px;
    height: 36px;
    display: block;
    object-fit: contain;
    flex: 0 0 36px;
}

.logo-text {
    color: #000000;
    font-family: 'Playfair Display', serif;
    font-size: 1.95rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.dropdown {
    position: relative;
    display: inline-flex;
    flex-shrink: 0;
}

.dropbtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
    color: #111827;
    padding: 10px 16px;
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
}

.dropbtn:hover,
.dropbtn:focus-visible {
    outline: none;
    border-color: #cbd5e1;
    background: #f8fafc;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 220px;
    padding: 8px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.12);
    z-index: 1001;
}

.dropdown-content a {
    display: block;
    padding: 11px 12px;
    border-radius: 10px;
    color: #111827;
    text-decoration: none;
    font-family: 'Manrope', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
}

.dropdown-content a:hover {
    background: #f8fafc;
    color: var(--articles-accent-deep);
}

.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content,
.dropdown.dropdown-is-open .dropdown-content {
    display: block;
}

.articles-page .hero {
    padding: 45px 20px 30px;
    margin-top: 20px;
    background: linear-gradient(180deg, #ffffff 0%, var(--articles-bg-light) 100%);
    text-align: center;
}

.articles-page .hero h1 {
    margin: 0;
    color: var(--articles-primary);
    font-family: 'Playfair Display', serif;
    font-size: 3.18rem;
    font-weight: 700;
    line-height: 1.1;
}

.articles-page .hero p {
    margin: 14px auto 0;
    max-width: 760px;
    color: var(--articles-text-muted);
    font-family: 'Manrope', sans-serif;
    font-size: 1.42rem;
    line-height: 1.62;
}

.articles-page .articles-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: var(--site-spacing-block) 20px 90px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--site-spacing-block);
}

.articles-page .article-card {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: var(--site-spacing-block);
    border: 1px solid var(--articles-line);
    border-radius: var(--site-radius-card);
    background: #ffffff;
    box-shadow: 0 4px 10px var(--articles-shadow-soft);
}

/* Dimensioni fisse per evitare layout shift al caricamento */
.articles-page .article-cover {
    width: 100%;
    height: auto;
    aspect-ratio: 1200 / 630;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    border: 1px solid #dbe5f0;
    background: #e9eef5;
}

.articles-page .article-date {
    margin: 0;
    color: var(--articles-primary);
    font-family: 'Manrope', sans-serif;
    font-size: 1.08rem;
    font-weight: 800;
    text-transform: uppercase;
}

.articles-page .article-title {
    margin: 0;
    color: var(--articles-primary);
    font-family: 'Manrope', sans-serif;
    font-size: 2.18rem;
    line-height: 1.14;
    font-weight: 800;
}

.articles-page .article-author {
    margin: 0;
    color: var(--articles-text-muted);
    font-family: 'Manrope', sans-serif;
    font-size: 1.18rem;
}

.articles-page .article-excerpt {
    margin: 0;
    color: #555555;
    font-family: 'Manrope', sans-serif;
    font-size: 2rem;
    line-height: 1.6;
}

.articles-page .article-link {
    margin-top: auto;
    color: var(--articles-accent-deep);
    text-decoration: none;
    font-family: 'Manrope', sans-serif;
    font-size: 1.28rem;
    font-weight: 800;
}

.articles-page .article-link:hover {
    color: var(--articles-accent-deep);
}

.articles-page .articles-empty {
    max-width: 920px;
    margin: 0 auto 60px;
    padding: 18px 20px;
    border: 1px dashed #cbd5e1;
    border-radius: 14px;
    background: var(--articles-bg-light);
    color: var(--articles-text-muted);
    text-align: center;
    font-family: 'Manrope', sans-serif;
}

.articles-page .articles-pagination {
    max-width: 1100px;
    margin: -18px auto 60px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.articles-page .articles-page-link {
    display: inline-block;
    min-width: 42px;
    padding: 8px 11px;
    border: 1px solid #cbd5e1;
    border-radius: var(--site-radius-btn);
    background: #ffffff;
    color: #334155;
    text-align: center;
    text-decoration: none;
    font-family: 'Manrope', sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
}

.articles-page .articles-page-link:hover {
    color: var(--articles-accent-deep);
    border-color: var(--articles-accent);
}

.articles-page .articles-page-link.current {
    color: #ffffff;
    border-color: var(--articles-accent);
    background: linear-gradient(180deg, #9b89d4 0%, var(--articles-accent) 100%);
    pointer-events: none;
}

.articles-page .articles-page-link.nav {
    padding-left: 14px;
    padding-right: 14px;
}

.article-page .article-shell {
    max-width: 980px;
    margin: 0 auto;
    padding: 26px 20px 64px;
}

.article-page .article-panel,
.article-page .article-audio-panel,
.article-page .article-source-panel,
.article-page .article-related-panel {
    padding: var(--site-spacing-block) 24px;
    border: 1px solid var(--articles-line);
    border-radius: var(--site-radius-card);
    background: #ffffff;
    box-shadow: 0 8px 20px var(--articles-shadow-card);
}

.article-page .profile-comments-wrap {
    margin-top: 32px;
}

/* Testo sezione Commenti ingrandito (stessa dimensione Ascolta / Altri articoli) */
.article-page .profile-comments-wrap .site-comments-form-title,
.article-page .profile-comments-wrap .site-comments-form-copy,
.article-page .profile-comments-wrap .site-comments-field label,
.article-page .profile-comments-wrap .site-comments-hint,
.article-page .profile-comments-wrap .site-comments-rating-head label,
.article-page .profile-comments-wrap .site-comments-rating-value,
.article-page .profile-comments-wrap .site-comments-submit,
.article-page .profile-comments-wrap .site-comments-list-title,
.article-page .profile-comments-wrap .site-comments-list-copy,
.article-page .profile-comments-wrap .site-comments-empty,
.article-page .profile-comments-wrap .site-comment-author,
.article-page .profile-comments-wrap .site-comment-date,
.article-page .profile-comments-wrap .site-comment-body {
    font-size: 1.58rem;
    line-height: 1.6;
}

.article-page .article-audio-panel,
.article-page .article-source-panel,
.article-page .article-related-panel {
    margin-top: 18px;
}

/* Stessa larghezza degli altri contenitori (article-shell) e nessun padding orizzontale extra */
.article-page .article-shell .profile-comments-wrap .profile-comments-card {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}

.article-page .article-audio-panel,
.article-page .article-audio-panel *,
.article-page .article-related-panel,
.article-page .article-related-panel *,
.article-page .profile-comments-wrap,
.article-page .profile-comments-wrap *,
.article-page .article-source-panel,
.article-page .article-source-panel * {
    box-sizing: border-box;
}

/* Stessa dimensione testo per Ascolta, Altri articoli e Commenti */
.article-page .article-audio-panel,
.article-page .article-related-panel,
.article-page .profile-comments-wrap {
    font-size: 1.58rem;
    line-height: 1.6;
}

.article-page .article-source-panel {
    font-size: initial;
    line-height: normal;
}

.article-page .article-top-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.article-page .article-back {
    display: inline-block;
    color: var(--articles-accent-deep);
    text-decoration: none;
    font-family: 'Manrope', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
}

.article-page .article-audio-jump,
.article-page .article-source-link.is-primary,
.article-page .article-audio-btn.is-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1px solid var(--articles-accent);
    border-radius: var(--site-radius-btn);
    background: linear-gradient(180deg, #9b89d4 0%, var(--articles-accent) 100%);
    color: #ffffff;
    text-decoration: none;
    white-space: nowrap;
    font-family: 'Manrope', sans-serif;
    font-size: 0.9rem;
    font-weight: 800;
    box-shadow: 0 10px 18px var(--articles-shadow-accent);
}

.article-page .article-audio-jump:hover,
.article-page .article-source-link.is-primary:hover,
.article-page .article-audio-btn.is-primary:hover {
    filter: brightness(1.03);
    box-shadow: 0 12px 22px rgba(133, 112, 198, 0.24);
    transform: translateY(-1px);
    color: #ffffff;
}

.article-page .article-audio-jump span,
.article-page .article-audio-jump:hover span,
.article-page .article-audio-jump:focus span {
    color: #ffffff;
}

.article-page .article-audio-btn.is-primary span,
.article-page .article-audio-btn.is-primary:hover span,
.article-page .article-audio-btn.is-primary:focus span {
    color: #ffffff;
}

.article-page .article-audio-jump .jump-icon,
.article-page .article-audio-btn .btn-icon {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    display: inline-block;
}

.article-page .article-meta {
    margin: 0 0 6px;
    color: var(--articles-primary);
    font-family: 'Manrope', sans-serif;
    font-size: 0.96rem;
    font-weight: 800;
    text-transform: uppercase;
}

.article-page .article-cover {
    width: 100%;
    height: auto;
    aspect-ratio: 1200 / 630;
    object-fit: cover;
    display: block;
    margin-bottom: 16px;
    border: 1px solid #dbe5f0;
    border-radius: var(--site-radius-card);
    background: #e9eef5;
}

.article-page .article-title {
    margin: 0;
    color: var(--articles-primary);
    font-family: 'Playfair Display', serif;
    font-size: 3.9rem;
    line-height: 1.04;
    font-weight: 700;
}

.article-page .article-title .article-sentence {
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.article-page .article-author {
    margin: 12px 0 24px;
    color: var(--articles-text-muted);
    font-family: 'Manrope', sans-serif;
    font-size: 1.14rem;
}

.article-page .article-content {
    color: #444444;
    font-family: 'Manrope', sans-serif;
    font-size: 1.9rem;
    line-height: 1.64;
}

.article-page .article-content p {
    margin: 0 0 1em;
    color: #444444;
    font-family: 'Manrope', sans-serif;
    font-size: 1.9rem;
    line-height: 1.64;
}

.article-page .article-content ul,
.article-page .article-content ol {
    margin: 0 0 1em;
    padding-left: 1.2rem;
}

.article-page .article-content li {
    margin: 0 0 0.4em;
    color: #444444;
    font-family: 'Manrope', sans-serif;
    font-size: 1.9rem;
    line-height: 1.64;
}

.article-page .article-content h1,
.article-page .article-content h2,
.article-page .article-content h3,
.article-page .article-content h4,
.article-page .article-subtitle {
    margin-top: 1.4em;
    margin-bottom: 0.6em;
    color: #000000;
    line-height: 1.25;
}

.article-page .article-subtitle {
    font-family: 'Manrope', sans-serif;
    font-size: 1.84rem;
    font-weight: 700;
}

.article-page .article-content blockquote {
    margin: 1.2em 0;
}

.article-page .article-content strong {
    color: #000000;
    font-weight: 700;
}

.article-page .article-content img,
.article-page .article-content iframe,
.article-page .article-content video,
.article-page .article-content table,
.article-page .article-panel img,
.article-page .article-panel iframe,
.article-page .article-panel video,
.article-page .article-panel audio,
.article-page .article-panel input,
.article-page .article-panel textarea,
.article-page .article-panel select,
.article-page .article-panel button,
.article-page .article-source-panel img,
.article-page .article-source-panel iframe,
.article-page .article-source-panel video,
.article-page .article-source-panel audio,
.article-page .article-source-panel input,
.article-page .article-source-panel textarea,
.article-page .article-source-panel select,
.article-page .article-source-panel button,
.article-page .article-audio-panel img,
.article-page .article-audio-panel iframe,
.article-page .article-audio-panel video,
.article-page .article-audio-panel audio,
.article-page .article-audio-panel input,
.article-page .article-audio-panel textarea,
.article-page .article-audio-panel select,
.article-page .article-audio-panel button,
.article-page .article-related-panel img,
.article-page .article-related-panel iframe,
.article-page .article-related-panel video,
.article-page .article-related-panel audio,
.article-page .article-related-panel input,
.article-page .article-related-panel textarea,
.article-page .article-related-panel select,
.article-page .article-related-panel button,
.article-page .profile-comments-wrap img,
.article-page .profile-comments-wrap iframe,
.article-page .profile-comments-wrap video,
.article-page .profile-comments-wrap audio,
.article-page .profile-comments-wrap input,
.article-page .profile-comments-wrap textarea,
.article-page .profile-comments-wrap select,
.article-page .profile-comments-wrap button {
    max-width: 100%;
}

.article-page .article-content figure.arcano-card {
    margin: var(--site-spacing-block) 0;
    text-align: center;
}

.article-page .article-content figure.arcano-card img {
    display: block;
    margin: 0 auto;
    max-width: 280px;
    height: auto;
    border-radius: var(--site-radius-card);
    box-shadow: 0 4px 20px var(--articles-shadow-card);
}

.article-page .article-content figure.arcano-card figcaption {
    margin-top: 8px;
    font-size: 0.9rem;
    color: var(--articles-text-muted);
}

.article-page .article-sentence {
    border-radius: 0.38em;
    padding: 0 0.08em;
    margin: 0 -0.08em;
    transition: background-color 0.22s ease, box-shadow 0.22s ease, color 0.22s ease;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    scroll-margin-top: 120px;
}

.article-page .article-sentence.is-speaking {
    color: #111827;
    background: linear-gradient(180deg, rgba(133, 112, 198, 0.18) 0%, rgba(133, 112, 198, 0.3) 100%);
    box-shadow: 0 0 0 1px rgba(133, 112, 198, 0.16);
}

.article-page .article-source-kicker,
.article-page .article-related-kicker,
.article-page .article-audio-kicker {
    margin: 0 0 6px;
    color: var(--articles-accent-deep);
    font-family: 'Manrope', sans-serif;
    font-size: 1.02rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.article-page .article-source-title,
.article-page .article-related-title,
.article-page .article-audio-title {
    margin: 0;
    color: var(--articles-primary);
    font-family: 'Manrope', sans-serif;
    font-size: 2.02rem;
    font-weight: 800;
}

.article-page .article-source-copy,
.article-page .article-audio-copy {
    margin: 10px 0 0;
    color: var(--articles-text-muted);
    font-family: 'Manrope', sans-serif;
    font-size: 1.58rem;
    line-height: 1.6;
}

.article-page .article-source-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.article-page .article-source-link,
.article-page .article-audio-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 132px;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: var(--site-radius-btn);
    background: #ffffff;
    color: #374151;
    cursor: pointer;
    text-decoration: none;
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    font-weight: 800;
}

.article-page .article-source-link:hover,
.article-page .article-audio-btn:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.article-page .article-source-video {
    margin-top: 18px;
    overflow: hidden;
    border: 1px solid #dbe5f0;
    border-radius: 16px;
    background: #0f172a;
    aspect-ratio: 16 / 9;
}

.article-page .article-source-video iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

.article-page .article-audio-controls {
    display: grid;
    grid-template-columns: minmax(180px, 1.8fr) repeat(5, minmax(68px, 0.7fr));
    gap: 12px;
    margin-top: 18px;
    align-items: stretch;
}

.article-page .article-audio-controls .article-audio-btn {
    width: 100%;
    min-width: 0;
    min-height: 52px;
}

/* Pulsante "Ascolta" in basso: mantiene sfondo viola (evita override da .article-audio-btn) */
.article-page .article-audio-controls .article-audio-btn.is-primary,
.article-page .article-audio-controls .article-audio-btn.is-primary:hover,
.article-page .article-audio-controls .article-audio-btn.is-primary:focus {
    background: linear-gradient(180deg, #9b89d4 0%, var(--articles-accent) 100%) !important;
    border-color: var(--articles-accent);
    color: #ffffff !important;
}

.article-page .article-audio-controls .article-audio-btn.is-primary span,
.article-page .article-audio-controls .article-audio-btn.is-primary:hover span,
.article-page .article-audio-controls .article-audio-btn.is-primary .btn-icon {
    color: #ffffff !important;
}

.article-page .article-audio-controls .article-audio-btn.is-primary {
    font-size: 1.58rem;
}

.article-page .article-audio-speed {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 18px;
    padding: 14px 16px;
    border: 1px solid #e7e2f6;
    border-radius: 16px;
    background: #faf8ff;
}

.article-page .article-audio-speed-label {
    color: var(--articles-primary);
    font-family: 'Manrope', sans-serif;
    font-size: 1.58rem;
    font-weight: 800;
}

.article-page .article-audio-rate-group {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.article-page .article-audio-rate-btn {
    min-width: 74px;
    font-size: 1.58rem;
}

.article-page .article-audio-rate-btn.is-active {
    border-color: var(--articles-accent);
    background: linear-gradient(180deg, #9b89d4 0%, var(--articles-accent) 100%);
    color: #ffffff;
    box-shadow: 0 10px 18px var(--articles-shadow-accent);
}

.article-page .article-audio-btn.is-icon {
    min-width: 0;
    padding-left: 0;
    padding-right: 0;
}

.article-page .article-audio-skip-btn {
    gap: 6px;
}

.article-page .article-audio-skip-value {
    font-size: 1.58rem;
    font-weight: 800;
}

.article-page .article-audio-progress {
    margin-top: 18px;
    padding: 18px;
    border: 1px solid #e7e2f6;
    border-radius: 18px;
    background: #fbfaff;
}

.article-page .article-audio-progress-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.article-page .article-audio-progress-title,
.article-page .article-audio-progress-value {
    color: var(--articles-primary);
    font-family: 'Manrope', sans-serif;
    font-size: 1.58rem;
    font-weight: 800;
}

.article-page .article-audio-progress-range {
    width: 100%;
    accent-color: var(--articles-accent);
}

.article-page .article-audio-progress-copy {
    margin: 10px 0 0;
    color: var(--articles-text-muted);
    font-family: 'Manrope', sans-serif;
    font-size: 1.58rem;
    line-height: 1.6;
}

.article-page .article-audio-status {
    margin: 14px 0 0;
    color: var(--articles-text-muted);
    font-family: 'Manrope', sans-serif;
    font-size: 1.58rem;
    line-height: 1.6;
}

.article-page .article-progress {
    height: 8px;
    margin: 16px 0 0;
    overflow: hidden;
    border-radius: 999px;
    background: #ececf3;
}

.article-page .article-progress-bar {
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, #9b89d4 0%, var(--articles-accent) 100%);
}

.article-page .article-related-head {
    margin-bottom: 14px;
}

.article-page .article-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.article-page .article-related-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 18px;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    background: linear-gradient(180deg, #ffffff 0%, #faf8ff 100%);
    text-decoration: none;
    color: inherit;
}

.article-page .article-related-card:hover .article-related-card-title {
    color: var(--articles-accent-deep);
}

.article-page .article-related-cover {
    width: 100%;
    aspect-ratio: 1200 / 630;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid #dbe5f0;
    background: #e9eef5;
}

.article-page .article-related-date {
    margin: 0;
    color: var(--articles-accent-deep);
    font-size: 1.08rem;
    font-weight: 800;
    text-transform: uppercase;
}

.article-page .article-related-card-title {
    margin: 0;
    color: var(--articles-primary);
    font-size: 1.72rem;
    line-height: 1.24;
    font-weight: 800;
}

.article-page .article-related-excerpt {
    margin: 0;
    color: #555;
    font-size: 1.58rem;
    line-height: 1.6;
}

.article-page .article-related-list {
    margin: 16px 0 0;
    padding: 0;
    display: grid;
    gap: 10px;
    list-style: none;
}

.article-page .article-related-list a {
    display: block;
    padding: 12px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #ffffff;
    color: #1f2937;
    text-decoration: none;
    font-family: 'Manrope', sans-serif;
    font-size: 1.08rem;
    font-weight: 700;
}

.article-page .article-related-list a:hover {
    color: var(--articles-accent-deep);
    border-color: #d9d3f0;
    background: #faf8ff;
}

.article-page .article-empty {
    max-width: 980px;
    margin: 40px auto 60px;
    padding: 26px 24px;
    border: 1px dashed #cbd5e1;
    border-radius: 18px;
    background: #ffffff;
    color: #475569;
    text-align: center;
    font-family: 'Manrope', sans-serif;
}

.article-page .article-empty h1 {
    margin: 0 0 10px;
    color: var(--articles-primary);
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
}

.article-page .article-empty p {
    margin: 0;
    color: var(--articles-text-muted);
    font-family: 'Manrope', sans-serif;
    font-size: 1.05rem;
    line-height: 1.6;
}

@media (max-width: 991px) {
    .articles-local-header-inner {
        padding: 12px 16px;
    }

    .logo-text {
        font-size: 1.6rem;
    }

    .articles-page .articles-wrap {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .article-page .article-title {
        font-size: 3rem;
    }

    .article-page .article-related-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .articles-local-header-inner {
        padding: 10px 14px;
    }

    .logo-mark {
        width: 30px;
        height: 30px;
        flex-basis: 30px;
    }

    .logo-text {
        font-size: 1.34rem;
    }

    .dropbtn {
        padding: 8px 12px;
        font-size: 0.92rem;
    }

    .articles-page .hero {
        margin-top: 20px;
        padding: 20px 16px 22px;
    }

    .articles-page .hero h1 {
        font-size: 2.24rem;
    }

    .articles-page .hero p {
        font-size: 1.1rem;
        line-height: 1.56;
    }

    .articles-page .articles-wrap {
        padding: 18px 14px 56px;
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .articles-page .article-card {
        border-radius: 18px;
        padding: 18px;
    }

    .articles-page .article-title {
        font-size: 1.9rem;
    }

    .articles-page .article-author {
        font-size: 1.14rem;
    }

    .articles-page .article-excerpt {
        font-size: 1.42rem;
    }

    .article-page .article-shell {
        padding: 20px 14px 42px;
    }

    .article-page .article-panel,
    .article-page .article-audio-panel,
    .article-page .article-source-panel,
    .article-page .article-related-panel {
        border-radius: 16px;
        padding: 20px 16px;
    }

    .article-page .article-top-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .article-page .article-cover {
        margin-bottom: 14px;
        border-radius: 12px;
    }

    .article-page .article-title {
        font-size: 2.72rem;
        line-height: 1.06;
    }

    .article-page .article-author {
        margin: 10px 0 20px;
    }

    .article-page .article-content,
    .article-page .article-content p,
    .article-page .article-content li {
        font-size: 1.56rem;
        line-height: 1.58;
    }

    .article-page .article-subtitle,
    .article-page .article-related-title {
        font-size: 1.52rem;
    }

    .article-page .article-audio-controls {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }

    .article-page #article-tts-play {
        grid-column: 1 / -1;
    }

    .article-page .article-audio-controls .article-audio-btn {
        min-height: 48px;
        padding: 12px 10px;
        font-size: 0.92rem;
    }

    .article-page .article-audio-controls .article-audio-btn.is-icon {
        padding-left: 0;
        padding-right: 0;
    }

    .article-page .article-audio-skip-value {
        font-size: 1.4rem;
    }

    .article-page .article-audio-progress-head {
        flex-wrap: wrap;
    }
}

/* Footer articoli: stesso layout/spaziature/colori del resto del sito (style.css) */
.footer {
    margin-top: 56px;
    background: var(--site-footer-bg);
    border-top: 1px solid var(--site-footer-border);
    padding: var(--site-spacing-section) 0 var(--site-spacing-section-sm);
}

.footer .footer-grid {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    row-gap: 22px;
}

.footer .footer-brand-col {
    padding-right: 15px;
    text-align: center;
}

.footer .footer-logo-link {
    display: inline-block;
    margin-bottom: 14px;
}

.footer .footer-logo {
    width: 178px;
    max-width: 100%;
    height: auto;
}

.footer .footer-social-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 14px;
}

.footer .footer-social-row a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #ead7e0;
    color: #b32152 !important;
    text-decoration: none;
}

.footer .footer-social-row a i {
    font-size: 20px;
    line-height: 1;
}

.footer .footer-social-row a:hover {
    background: #fceff5;
    border-color: #d8a6ba;
}

.footer .footer-about {
    margin: 0 0 1.52em;
    font-family: 'Nunito', sans-serif;
    font-size: clamp(15px, 1.1vw + 10px, 20px);
    line-height: 1.52;
    color: #575757;
}

.footer .footer-links-wrap {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px 28px;
    width: 100%;
    max-width: none;
    margin: 0 auto;
    justify-items: stretch;
}

.footer .footer-links-group {
    background: #ffffff;
    border: 1px solid #eadfe4;
    border-radius: var(--site-radius-card);
    padding: 12px 14px;
    height: 100%;
}

.footer .footer-links-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer .footer-links-group h4 {
    margin: 0 0 7px;
    font-family: 'Nunito', sans-serif;
    font-size: clamp(14px, 0.8vw + 10px, 18px);
    font-weight: 900;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    color: #9f1846;
    line-height: 1.25;
}

.footer .footer-links-list li {
    margin: 0 0 8px;
    font-family: 'Nunito', sans-serif;
    font-size: clamp(15px, 0.8vw + 11px, 19px);
    font-weight: 700;
    line-height: 1.35;
    text-align: left !important;
}

.footer .footer-links-list li a {
    color: #3f3f3f !important;
    text-decoration: none;
    display: inline-block;
    line-height: 1.28;
}

.footer .footer-links-list li a:visited {
    color: #3f3f3f !important;
    text-decoration: none;
}

.footer .footer-links-list li a:hover {
    color: #b32152 !important;
    text-decoration: underline;
}

.footer .footer-bottom-row {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #e8d9e0;
}

.footer .footer-legal {
    text-align: center;
}

.footer .footer-copy {
    margin: 0 0 10px;
    font-family: 'Nunito', sans-serif;
    font-size: clamp(13px, 0.5vw + 11px, 15px);
    font-weight: 700;
    line-height: 1.4;
    color: #666666;
}

.footer .discla {
    margin: 0;
    font-family: 'Nunito', sans-serif;
    font-size: clamp(12px, 0.4vw + 10px, 14px);
    line-height: 1.45;
    color: #7b7b7b;
    text-align: justify;
    text-justify: inter-word;
}

.footer .footer-social-bottom-row {
    margin-top: 10px;
    padding-top: 14px;
    border-top: 1px solid #e8d9e0;
}

.footer .footer-social-row-bottom {
    margin: 0;
}

@media only screen and (max-width: 991px) {
    .footer {
        padding: 32px 0 20px;
    }

    .footer .footer-brand-col {
        padding-right: 15px;
    }

    .footer .footer-links-wrap {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px 18px;
    }

    .footer .footer-links-list li {
        font-size: 14px;
    }
}

@media only screen and (max-width: 767px) {
    .footer {
        margin-top: 40px;
        padding: 22px 0 14px;
    }

    .footer .footer-grid {
        display: block !important;
    }

    .footer .container {
        width: 100%;
        max-width: none;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .footer .footer-grid,
    .footer .footer-bottom-row,
    .footer .footer-social-bottom-row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .footer .footer-brand-col,
    .footer .footer-links-col {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .footer .footer-logo {
        width: 154px;
    }

    .footer .footer-links-wrap {
        display: block;
        position: static !important;
        left: auto !important;
        transform: none !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        gap: 0;
        padding: 0 !important;
        box-sizing: border-box;
    }

    .footer .footer-links-group h4 {
        text-align: left;
    }

    .footer .footer-links-list li {
        text-align: left;
        margin: 0 0 8px;
    }

    .footer .footer-social-row {
        margin-bottom: 10px;
    }

    .footer .footer-bottom-row {
        margin-top: 14px;
        padding-top: 12px;
    }

    .footer .footer-links-group {
        position: static !important;
        left: auto !important;
        transform: none !important;
        box-sizing: border-box;
        width: calc(100% - 16px) !important;
        margin: 0 8px 6px !important;
        padding: 10px 12px;
        border-radius: 12px;
    }

    .footer .footer-about,
    .footer .footer-copy,
    .footer .discla {
        padding-left: 12px;
        padding-right: 12px;
    }
}
