/* Axel FM — homepage giornalistica */
@font-face { font-family: "AFM Poppins"; src: url(fonts/poppins-400.woff) format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "AFM Poppins"; src: url(fonts/poppins-500.woff) format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "AFM Poppins"; src: url(fonts/poppins-700.woff) format("woff"); font-weight: 600 700; font-display: swap; }
@font-face { font-family: "AFM Lora"; src: url(fonts/lora.woff) format("woff"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "AFM Lora"; src: url(fonts/lora-italic.woff) format("woff"); font-weight: 400 700; font-style: italic; font-display: swap; }

body.afm {
	--viola: #5A2BD8;
	--notte: #2A1458;
	--notte-2: #3A2270;
	--lilla: #F2EEFC;
	--lilla-2: #CDBDF7;
	--linea: #E4DDF7;
	--testo: #1B1530;
	--testo-2: #3D3650;
	--grigio: #5E5872;
	--sans: "AFM Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
	--serif: "AFM Lora", Georgia, "Times New Roman", serif;
	margin: 0;
	background: #fff;
	color: var(--testo);
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	padding-bottom: 72px; /* spazio per il player */
}
body.afm *, body.afm *::before, body.afm *::after { box-sizing: border-box; }
body.afm a { color: inherit; text-decoration: none; }
body.afm a:hover { color: var(--viola); }
body.afm a:focus-visible, body.afm button:focus-visible, body.afm input:focus-visible { outline: 3px solid var(--viola); outline-offset: 2px; }
body.afm :is(h1, h2, h3, h4) { margin: 0; color: inherit; }
body.afm p { margin: 0; }
body.afm :is(button, a) svg { flex: none; width: 18px; height: 18px; }
body.afm .afm-meteo__ora svg { width: 34px; height: 34px; }
body.afm .afm-icona svg { width: 20px; height: 20px; }
body.afm :is(h1, h2, h3) { font-family: var(--serif); }
body.afm img { max-width: 100%; height: auto; display: block; }
/* il tema Astra dà ai pulsanti colori e maiuscole propri: qui li neutralizziamo */
body.afm :is(button, input[type="submit"]) { text-transform: none; letter-spacing: normal; box-shadow: none; }
body.afm .afm-form .afm-form__campo, body.afm .afm-report__testo .afm-form { flex: none; }

.afm-wrap { max-width: 1240px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.afm-nascosto { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.afm-salta { position: absolute; left: -9999px; top: 0; background: #fff; padding: 8px 12px; z-index: 100; }
.afm-salta:focus { left: 8px; }
.afm-avviso { background: #FFF4D6; color: #5C4300; text-align: center; padding: 10px 16px; font-size: 14px; }
.afm-bozza { display: inline-block; background: #FFF4D6; color: #5C4300; font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; border-radius: 4px; padding: 1px 6px; vertical-align: middle; }

/* Pulsanti */
body.afm .afm-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; border-radius: 999px; border: 0; font: 600 15px/1 var(--sans); cursor: pointer; white-space: nowrap; }
body.afm .afm-btn--pieno { background: var(--viola); color: #fff; }
body.afm .afm-btn--pieno:hover { background: #4A1FC0; color: #fff; }
body.afm .afm-btn--bianco { background: #fff; color: var(--notte); }
body.afm .afm-btn--bianco:hover { background: var(--lilla); color: var(--notte); }
body.afm .afm-btn--contorno { border: 1.5px solid #fff; color: #fff; align-self: flex-start; }
body.afm .afm-btn--contorno:hover { background: #fff; color: var(--notte); }
body.afm .afm-icona { width: 44px; height: 44px; border-radius: 22px; border: 1px solid var(--linea); background: #fff; color: var(--testo); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex: none; }

/* Header */
.afm-header { background: #fff; border-bottom: 1px solid var(--linea); position: relative; z-index: 20; }
.afm-header__riga { display: flex; align-items: center; gap: 24px; padding-top: 12px; padding-bottom: 12px; }
.afm-logo { display: flex; align-items: center; gap: 12px; flex: none; }
body.afm .afm-logo img { height: 48px; width: auto; }
.afm-motto { font-size: 12px; line-height: 1.3; color: var(--grigio); max-width: 120px; }
.afm-menu { display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: 15px; font-weight: 500; flex: 1 1 auto; }
.afm-menu a { padding: 8px 0; }
.afm-cerca { display: flex; align-items: center; gap: 6px; flex: none; }
.afm-cerca input { width: 0; opacity: 0; border: 1px solid var(--linea); border-radius: 22px; height: 44px; padding: 0; font: 15px var(--sans); transition: width .2s, opacity .2s, padding .2s; }
.afm-cerca:focus-within input, .afm-cerca.is-aperta input { width: 180px; opacity: 1; padding: 0 14px; }
.afm-header__sezioni { display: flex; align-items: center; gap: 8px; padding-bottom: 12px; overflow-x: auto; scrollbar-width: none; font-size: 13px; }
.afm-header__sezioni::-webkit-scrollbar { display: none; }
.afm-data { color: var(--grigio); margin-right: 8px; white-space: nowrap; }
.afm-chip { padding: 6px 12px; border-radius: 16px; background: var(--lilla); white-space: nowrap; }
.afm-solo-mobile { display: none !important; }

/* Bande */
.afm-banda--scura { background: var(--notte); color: #fff; }
.afm-banda--lilla { background: var(--lilla); }
body.afm .afm-banda--scura a:hover { color: var(--lilla-2); }

/* Invito newsletter */
.afm-invito__riga { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; padding-top: 22px; padding-bottom: 22px; }
.afm-invito__testo { flex: 999 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.afm-invito h2 { font: 600 24px/1.25 var(--serif); }
.afm-invito p { font-size: 15px; color: var(--linea); }
.afm-invito strong { color: #fff; }
.afm-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px; flex: 1 1 360px; min-width: 0; }
.afm-form__campo { flex: 1 1 220px !important; display: flex; flex-direction: column; gap: 4px; }
.afm-form label { font-size: 13px; }
.afm-form--scuro label { color: var(--linea); }
.afm-form--chiaro label { color: var(--grigio); }
.afm-form input { height: 48px; border-radius: 8px; border: 1.5px solid var(--lilla-2); padding: 0 14px; font: 16px var(--sans); color: var(--testo); background: #fff; width: 100%; }
.afm-form--scuro input { border-color: transparent; }
.afm-form .afm-btn { border-radius: 8px; min-height: 48px; }
.afm-form__msg { flex: 1 0 100%; font-size: 14px; min-height: 0; }
.afm-form__msg:empty { display: none; }

/* Apertura */
.afm-apertura { display: flex; flex-wrap: wrap; gap: 32px; padding-top: 32px; padding-bottom: 40px; }
.afm-principale { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.afm-colonna { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.afm-media { display: block; border-radius: 10px; overflow: hidden; background: var(--lilla); }
.afm-media img, .afm-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.afm-occhiello { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--viola); }
.afm-occhiello--chiaro { color: var(--lilla-2); }
.afm-titolo { font-family: var(--serif); font-weight: 700; line-height: 1.2; text-wrap: balance; }
.afm-titolo--xl { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.15; }
.afm-titolo--l { font-size: clamp(26px, 2.6vw, 34px); }
.afm-titolo--m { font-size: 22px; line-height: 1.25; }
.afm-titolo--s { font-size: 20px; line-height: 1.3; }
.afm-titolo--editoriale { font-style: italic; font-weight: 600; font-size: clamp(27px, 3vw, 38px); }
.afm-sommario { font-size: 18px; line-height: 1.55; color: var(--testo-2); }
.afm-sommario--s { font-size: 15px; margin-top: 8px; }
.afm-meta { font-size: 13px; color: var(--grigio); }
body.afm .afm-etichetta { font: 700 14px/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px !important; }

/* Meteo e cambi */
.afm-servizi { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 12px; }
.afm-servizio { background: var(--lilla); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.afm-servizio__titolo { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--grigio); }
.afm-meteo__ora { display: flex; align-items: center; gap: 10px; color: var(--viola); }
.afm-meteo__ora span { font-size: 32px; font-weight: 700; line-height: 1; color: var(--testo); }
.afm-servizio__riga { font-size: 13px; color: var(--testo-2); }
.afm-servizio__nota { font-size: 12px; color: var(--grigio); }
.afm-cambio { display: flex; justify-content: space-between; font-size: 15px; padding: 3px 0; border-bottom: 1px solid var(--linea); font-variant-numeric: tabular-nums; }
.afm-cambio span:first-child { font-weight: 600; }

/* Ultime */
.afm-ultime { display: flex; flex-direction: column; }
.afm-ultime__voce { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--linea); font-size: 15px; line-height: 1.4; font-weight: 500; }
.afm-ultime__voce:last-child { border-bottom: 1px solid var(--linea); }
.afm-ultime__ora { color: var(--viola); font-size: 13px; font-weight: 600; min-width: 42px; padding-top: 1px; font-variant-numeric: tabular-nums; }

/* Griglie */
.afm-griglia { display: grid; gap: 28px; }
.afm-griglia--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.afm-secondarie { padding-bottom: 48px; }
.afm-scheda { display: flex; flex-direction: column; gap: 10px; }

/* Il punto */
.afm-punto { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; padding-top: 48px; padding-bottom: 48px; }
.afm-punto__testo { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.afm-punto__attacco { font: 19px/1.6 var(--serif); color: var(--testo-2); }
.afm-punto__img { flex: 1 1 360px; max-width: 480px; }
.afm-firma { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.afm-firma__sigla { width: 44px; height: 44px; border-radius: 22px; background: var(--lilla-2); color: var(--notte); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.afm-firma__nome { display: flex; flex-direction: column; font-size: 15px; line-height: 1.3; }
.afm-firma__nome span { font-size: 13px; color: var(--grigio); }
body.afm .afm-link-freccia { font-size: 14px; font-weight: 600; color: var(--viola); }
.afm-firma .afm-link-freccia { margin-left: auto; }

/* Sezioni */
.afm-sezioni { padding-top: 48px; padding-bottom: 48px; gap: 40px 32px; }
.afm-blocco { display: flex; flex-direction: column; gap: 12px; }
body.afm .afm-blocco__titolo { font: 700 18px/1.3 var(--sans); padding-bottom: 8px; border-bottom: 3px solid var(--viola); }
.afm-blocco__altro { padding-top: 10px; border-top: 1px solid var(--linea); font-size: 15px; font-weight: 500; line-height: 1.4; }

/* Analisi */
.afm-analisi { border: 1px solid var(--linea); border-radius: 12px; padding: 32px; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; margin-bottom: 48px; }
.afm-analisi__intro { flex: 1 1 240px; display: flex; flex-direction: column; gap: 8px; }
body.afm .afm-analisi__intro h2 { font: 700 24px/1.3 var(--sans); }
.afm-analisi__intro p { font-size: 15px; color: var(--grigio); }
.afm-tag { align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--notte); border: 1.5px solid var(--notte); border-radius: 4px; padding: 3px 8px; }
.afm-analisi__pezzo { flex: 999 1 520px; min-width: 0; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }
.afm-analisi__pezzo .afm-media { flex: 1 1 260px; max-width: 360px; }
.afm-analisi__pezzo > div { flex: 1 1 280px; }

/* Podcast */
.afm-podcast { display: flex; flex-wrap: wrap; gap: 32px 48px; align-items: center; padding-top: 48px; padding-bottom: 48px; }
.afm-podcast__intro { flex: 1 1 320px; display: flex; flex-direction: column; gap: 12px; }
body.afm .afm-podcast h2 { font: 700 36px/1.2 var(--serif); }
.afm-podcast p { color: var(--linea); }
.afm-spotify { flex: 999 1 480px; min-width: 0; min-height: 232px; border-radius: 12px; background: var(--notte-2); overflow: hidden; display: flex; }
body.afm .afm-spotify__carica { flex: 1 1 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 24px; border: 0; background: transparent; color: #fff; cursor: pointer; text-align: center; font-family: var(--sans); }
body.afm .afm-spotify__carica svg { width: 56px; height: 56px; }
body.afm .afm-spotify__carica:hover { background: rgba(255, 255, 255, .06); }
.afm-spotify__titolo { font-size: 18px; font-weight: 600; }
.afm-spotify__nota { font-size: 13px; color: var(--lilla-2); }
.afm-spotify iframe { width: 100%; height: 352px; border: 0; display: block; }

/* Report */
.afm-report { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.afm-report__img { flex: 1 1 360px; min-width: 0; max-width: 520px; border-radius: 10px; box-shadow: 0 12px 32px rgba(42, 20, 88, .18); }
.afm-report__testo { flex: 999 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }

/* Footer */
.afm-footer { background: var(--testo); color: var(--linea); font-size: 14px; line-height: 1.9; }
.afm-footer__griglia { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 28px; padding-top: 40px; padding-bottom: 24px; }
.afm-footer__griglia > div { display: flex; flex-direction: column; }
body.afm .afm-footer a { color: var(--linea); }
body.afm .afm-footer a:hover { color: #fff; }
.afm-footer__testata { font: 600 22px/1.3 var(--serif); color: #fff; }
.afm-footer__titolo { font-weight: 700; color: #fff; }
.afm-footer__note { padding-bottom: 24px; font-size: 13px; color: #A69FC0; }

/* Player fisso */
.afm-player { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: var(--notte); color: #fff; box-shadow: 0 -4px 18px rgba(0, 0, 0, .18); }
.afm-player__riga { display: flex; align-items: center; gap: 16px; padding-top: 10px; padding-bottom: 10px; }
body.afm .afm-player__play { width: 48px; height: 48px; border-radius: 24px; border: 0; background: #fff; color: var(--notte); display: flex; align-items: center; justify-content: center; cursor: pointer; flex: none; }
.afm-ico-pausa { display: none; }
.afm-player.is-in-onda .afm-ico-play { display: none; }
.afm-player.is-in-onda .afm-ico-pausa { display: block; }
.afm-player.is-carica .afm-player__play { opacity: .7; }
.afm-player__testo { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; }
.afm-player__live { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.afm-pallino { width: 8px; height: 8px; border-radius: 4px; background: #FF6B6B; }
.afm-player.is-in-onda .afm-pallino { animation: afm-pulsa 1.6s infinite; }
@keyframes afm-pulsa { 50% { opacity: .35; } }
.afm-player__nome { font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.afm-player__vol { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--linea); }
.afm-player__vol input { width: 140px; accent-color: var(--lilla-2); }
@media (prefers-reduced-motion: reduce) { .afm-player.is-in-onda .afm-pallino { animation: none; } }

/* Smartphone */
@media (max-width: 900px) {
	.afm-solo-mobile { display: inline-flex !important; }
	.afm-solo-desktop { display: none !important; }
	.afm-wrap { padding-left: 14px; padding-right: 14px; }
	.afm-header__riga { gap: 8px; padding-top: 8px; padding-bottom: 8px; }
	.afm-logo { flex: 1 1 auto; justify-content: center; }
	body.afm .afm-logo img { height: 40px; }
	.afm-motto { display: none; }
	body.afm .afm-icona { border-color: transparent; }
	.afm-menu { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--linea); flex-direction: column; gap: 0; padding: 4px 14px 12px; font-size: 17px; box-shadow: 0 12px 24px rgba(27, 21, 48, .08); }
	.afm-menu.is-aperto { display: flex; }
	.afm-menu a { padding: 12px 0; border-bottom: 1px solid var(--linea); }
	.afm-cerca:focus-within input, .afm-cerca.is-aperta input { width: 150px; }
	.afm-invito h2 { font-size: 19px; }
	.afm-invito p { font-size: 14px; }
	.afm-apertura { padding-top: 16px; gap: 24px; }
	.afm-sommario { font-size: 16px; }
	.afm-punto, .afm-podcast { padding-top: 28px; padding-bottom: 28px; }
	.afm-punto__attacco { font-size: 16px; }
	.afm-analisi { padding: 18px; }
	.afm-report { padding-top: 32px; padding-bottom: 32px; }
}

/* Pagine interne (es. Podcast) */
.afm-titolo-pagina { padding-top: 40px; padding-bottom: 28px; display: flex; flex-direction: column; gap: 8px; }

/* Articolo singolo */
.afm-articolo { max-width: 760px; margin: 0 auto; padding: 36px 20px 24px; }
.afm-articolo__testa { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
body.afm .afm-articolo__titolo { font-size: clamp(30px, 4.2vw, 46px); line-height: 1.12; }
.afm-articolo--punto .afm-articolo__titolo { font-style: italic; font-weight: 600; }
.afm-articolo__meta { display: flex; flex-wrap: wrap; gap: 6px; }
.afm-articolo__meta strong { color: var(--testo); font-weight: 600; }
.afm-articolo__copertina { margin: 0 0 28px; }
.afm-articolo__copertina img { border-radius: 10px; }
.afm-testo { font-family: var(--serif); font-size: 19px; line-height: 1.7; color: var(--testo); }
body.afm .afm-testo p { margin: 0 0 1.1em; }
.afm-testo > p:first-child > em:only-child { display: block; font-family: var(--sans); font-style: normal; font-size: 19px; line-height: 1.5; color: var(--testo-2); padding-bottom: 6px; }
.afm-testo a { color: var(--viola); text-decoration: underline; text-underline-offset: 2px; }
.afm-testo .axelfm-fonti { font-family: var(--sans); font-size: 14px; color: var(--grigio); border-top: 1px solid var(--linea); padding-top: 12px; }
.afm-testo .axelfm-fonti small { font-size: inherit; }
.afm-articolo--punto .afm-testo { font-size: 20px; }
.afm-nota-ia { font-size: 13px; color: var(--grigio); background: var(--lilla); border-radius: 8px; padding: 10px 14px; margin: 8px 0 20px; }
.afm-condividi { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 24px 0; font-size: 14px; }
.afm-condividi > span { font-weight: 600; margin-right: 4px; }
body.afm .afm-condividi a, body.afm .afm-condividi button { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--linea); border-radius: 20px; background: #fff; color: var(--testo); font: 500 14px var(--sans); cursor: pointer; }
body.afm .afm-condividi a:hover, body.afm .afm-condividi button:hover { border-color: var(--viola); color: var(--viola); }
.afm-invito-box { background: var(--notte); color: #fff; border-radius: 12px; padding: 22px 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin: 32px 0 8px; }
.afm-invito-box > div { flex: 999 1 320px; display: flex; flex-direction: column; gap: 6px; }
body.afm .afm-invito-box h2 { font: 600 22px/1.25 var(--serif); }
.afm-invito-box p { color: var(--linea); font-size: 15px; }
.afm-invito-box strong { color: #fff; }
.afm-correlati { padding-top: 24px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 20px; }

/* Archivi */
.afm-archivio { padding-bottom: 56px; }
.afm-paginazione { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 40px; }
body.afm .afm-paginazione .page-numbers { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 12px; border: 1px solid var(--linea); border-radius: 22px; font-size: 14px; }
body.afm .afm-paginazione .current { background: var(--viola); color: #fff; border-color: var(--viola); }
@media (max-width: 900px) {
	.afm-testo { font-size: 18px; }
	.afm-articolo { padding-top: 20px; }
}

/* la firma è già nella testata dell'articolo: non ripeterla nel testo */
.afm-testo > p:nth-child(-n+2):has(> strong:only-child) { display: none; }

/* Consenso newsletter */
.afm-form__consenso { flex: 1 0 100%; display: flex; gap: 8px; align-items: flex-start; font-size: 13px; line-height: 1.4; cursor: pointer; }
.afm-form__consenso input { width: 18px; height: 18px; margin-top: 1px; flex: none; accent-color: var(--viola); }
.afm-form--scuro .afm-form__consenso { color: var(--linea); }
body.afm .afm-form--scuro .afm-form__consenso a { color: #fff; text-decoration: underline; }
body.afm .afm-form--chiaro .afm-form__consenso a { color: var(--viola); text-decoration: underline; }
.afm-avviso--ok { background: #E3F6E8; color: #135C2A; }

/* Pagine normali (La Radio, Contatti, Italiani in Armenia, Privacy…): blocchi dell'editor con lo stile del giornale */
.afm-statica { padding-bottom: 56px; }
.afm-statica__corpo { display: flex; flex-direction: column; gap: 22px; }
.afm-statica__corpo > * { width: 100%; max-width: 760px; margin-left: auto !important; margin-right: auto !important; }
.afm-statica__corpo > :is(.afm-largo, .alignwide, .alignfull, .afm-testa-pagina) { max-width: none; }
body.afm .afm-statica__corpo :is(.wp-block-group, .wp-block-columns, .wp-block-column) { background: none; padding: 0; margin-top: 0; margin-bottom: 0; }
body.afm .afm-statica__corpo p { font-family: var(--serif); font-size: 19px; line-height: 1.7; color: var(--testo); }
body.afm .afm-statica__corpo :is(h2, h3) { font-family: var(--serif); color: var(--testo); line-height: 1.25; }
body.afm .afm-statica__corpo h2 { font-size: clamp(24px, 2.6vw, 30px); margin-top: 18px; }
body.afm .afm-statica__corpo h3 { font-size: 21px; }
body.afm .afm-statica__corpo a:not(.wp-block-button__link):not(.afm-btn) { color: var(--viola); text-decoration: underline; text-underline-offset: 3px; }
body.afm .afm-statica__corpo :is(ul, ol) { font-family: var(--serif); font-size: 19px; line-height: 1.7; padding-left: 1.2em; margin: 0; }
body.afm .afm-statica__corpo figure { margin: 0; }
body.afm .afm-statica__corpo figure img { width: 100%; border-radius: 12px; }

/* Apertura della pagina: occhiello, titolo, sommario */
body.afm .afm-statica__corpo .afm-testa-pagina { display: flex; flex-direction: column; gap: 10px; padding: 40px 0 6px; max-width: 900px !important; margin-left: 0 !important; }
body.afm .afm-statica__corpo .afm-testa-pagina h1 { font: 700 clamp(32px, 4.4vw, 52px)/1.1 var(--serif); text-wrap: balance; }
body.afm .afm-statica__corpo p.afm-occhiello { font: 600 12px/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--viola); }
body.afm .afm-statica__corpo p.afm-sommario { font: 400 20px/1.5 var(--sans); color: var(--testo-2); }

/* Schede in griglia (es. il palinsesto) */
body.afm .afm-statica__corpo .afm-schede { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 18px; }
body.afm .afm-statica__corpo .afm-schede > * { background: var(--lilla); border-radius: 12px; padding: 22px 24px; display: flex; flex-direction: column; gap: 8px; border-top: 4px solid var(--viola); }
body.afm .afm-statica__corpo .afm-schede h3 { font-size: 20px; }
body.afm .afm-statica__corpo .afm-schede p { font: 400 16px/1.6 var(--sans); color: var(--testo-2); }

/* Due colonne (testo + immagine, indirizzo + modulo) */
body.afm .afm-statica__corpo .afm-colonne { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 32px 48px; align-items: center; }
body.afm .afm-statica__corpo .afm-colonne > * { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
body.afm .afm-statica__corpo .afm-colonne--alto { align-items: start; }
body.afm .afm-statica__corpo .afm-riquadro { background: var(--lilla); border-radius: 12px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
body.afm .afm-statica__corpo .afm-riquadro p { font: 400 16px/1.6 var(--sans); }
body.afm .afm-statica__corpo .afm-immagine-tonda img { max-width: 420px; margin: 0 auto; border-radius: 50%; }

/* Fascia scura con invito all'azione */
body.afm .afm-statica__corpo .afm-banda-cta { background: var(--notte); color: #fff; border-radius: 14px; padding: 32px; display: flex; flex-direction: column; gap: 14px; margin-top: 16px !important; }
body.afm .afm-statica__corpo .afm-banda-cta :is(h2, p) { color: #fff; margin: 0; }
body.afm .afm-statica__corpo .afm-banda-cta p { font: 400 17px/1.6 var(--sans); color: var(--linea); }

/* Pulsanti dell'editor nello stile del sito */
body.afm .afm-statica__corpo .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
body.afm .afm-statica__corpo .wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 999px; background: var(--viola); color: #fff; font: 600 15px/1 var(--sans); text-transform: none; letter-spacing: normal; text-decoration: none; border: 0; }
body.afm .afm-statica__corpo .wp-block-button__link:hover { background: #4A1FC0; color: #fff; }
body.afm .afm-statica__corpo .wp-block-button .wp-block-button__link { text-transform: none !important; letter-spacing: normal !important; font: 600 15px/1 var(--sans) !important; padding: 0 24px !important; border-radius: 999px !important; }
body.afm .afm-statica__corpo .is-style-outline .wp-block-button__link { background: transparent !important; border: 1.5px solid currentColor !important; color: var(--viola) !important; }
body.afm .afm-statica__corpo .afm-banda-cta .wp-block-button__link { background: #fff; color: var(--notte); }
body.afm .afm-statica__corpo .afm-banda-cta .is-style-outline .wp-block-button__link { color: #fff !important; }
body.afm .afm-statica__corpo .afm-banda-cta .is-style-outline .wp-block-button__link:hover { background: #fff !important; color: var(--notte) !important; }

/* Modulo contatti (SureForms) */
body.afm .afm-statica__corpo .srfm-form-container { font-family: var(--sans); }
body.afm .afm-statica__corpo .srfm-form-container :is(input, textarea) { font: 400 16px/1.4 var(--sans); }
body.afm .afm-statica__corpo .srfm-form-container button[type="submit"] { min-height: 48px; padding: 0 28px !important; border-radius: 999px !important; background: var(--viola) !important; color: #fff !important; font: 600 15px/1 var(--sans) !important; text-transform: none !important; letter-spacing: normal !important; }

@media (max-width: 900px) {
	body.afm .afm-statica__corpo p, body.afm .afm-statica__corpo :is(ul, ol) { font-size: 17px; }
	body.afm .afm-statica__corpo .afm-testa-pagina { padding-top: 26px; }
	body.afm .afm-statica__corpo p.afm-sommario { font-size: 17px; }
	body.afm .afm-statica__corpo .afm-banda-cta { padding: 24px 20px; }
}

/* Player: invito a riprendere la diretta dopo il cambio di pagina */
.afm-player.is-riprendi .afm-player__play { box-shadow: 0 0 0 4px var(--lilla-2); }
.afm-player__riprendi { display: none; font-size: 13px; color: var(--lilla-2); }
.afm-player.is-riprendi .afm-player__riprendi { display: inline; }
