/* ════════════════════════════════════════════════════════════════════
 * GDM — foglio di stile unico (restyling novembre 2026)
 * Posizione: wp-content/themes/kadence-child/gdm-style.css
 * Caricato da functions.php (sezione 10) su tutte le pagine.
 *
 * Linguaggio: bianco/nero quasi puro, il colore lo danno le foto.
 * Un solo font: Schibsted Grotesk.
 * Per cambiare colori o font si toccano SOLO le variabili qui sotto.
 * ════════════════════════════════════════════════════════════════════ */

:root {
	/* Colori */
	--gdm-ink:        #111111;  /* testo, nero pieno, bottoni */
	--gdm-ink-2:      #3E3E3E;  /* testo secondario */
	--gdm-muted:      #585858;  /* categorie, date, firme */
	--gdm-line:       #E4E4E4;  /* filetti */
	--gdm-paper:      #FFFFFF;  /* fondo */
	--gdm-soft:       #F2F1EE;  /* fondo sezioni alternate */
	--gdm-on-dark:    #FFFFFF;  /* testo su nero/foto */
	--gdm-on-dark-2:  #CFCFCF;  /* testo secondario su nero */
	--gdm-ph:         #C7D0D5;  /* segnaposto immagini */
	--gdm-accent:     #FFE32B;  /* giallo: solo barra in alto, bottoni d'azione, una fascia in home */
	--gdm-on-accent:  #111111;  /* testo sopra il giallo */

	/* Font */
	--gdm-font: 'Schibsted Grotesk', Arial, Helvetica, sans-serif;

	/* Misure */
	--gdm-wrap:   1360px;
	--gdm-gutter: 32px;
}
@media (max-width: 720px) { :root { --gdm-gutter: 16px; } }


/* ════════════════════════════════════════════
   1. TESTATA (header.php)
   ════════════════════════════════════════════ */
.site-header, #masthead, .kadence-header { display: none !important; }
.gdm-h-wrap { max-width: var(--gdm-wrap); margin: 0 auto; padding: 0 var(--gdm-gutter); box-sizing: border-box; }
#gdm-topbar, #gdm-masthead, #gdm-searchbar, #gdm-chips, #gdm-drawer, #gdm-breaking { font-family: var(--gdm-font); }
#gdm-masthead *, #gdm-drawer * { box-sizing: border-box; }

/* Barra superiore */
#gdm-topbar { background: var(--gdm-ink); color: var(--gdm-on-dark); font-size: 13px; }
#gdm-topbar .gdm-h-wrap { min-height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
#gdm-topbar a { color: var(--gdm-on-dark); text-decoration: none; }
#gdm-topbar a:hover { text-decoration: underline; }
.gdm-tb-left, .gdm-tb-right { display: flex; align-items: center; gap: 20px; }
.gdm-tb-partner { color: var(--gdm-on-dark-2); }
.gdm-tb-books { font-weight: 600; text-decoration: underline !important; }
.gdm-social { display: flex; gap: 12px; align-items: center; }
.gdm-social a { display: flex; }
.gdm-social svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Testata: riga logo */
#gdm-masthead { background: var(--gdm-paper); color: var(--gdm-ink); position: relative; z-index: 230; }
.gdm-mh-row { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 24px; padding-top: 22px; padding-bottom: 22px; }
.gdm-mh-left { display: flex; align-items: center; gap: 16px; min-width: 0; }
.gdm-mh-date { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--gdm-muted); white-space: nowrap; }

/* Logo testuale — proposta D "Filetto" */
.gdm-logo { display: inline-flex; flex-direction: column; align-items: center; text-align: center; text-decoration: none !important; color: var(--gdm-ink) !important; font-family: var(--gdm-font); font-size: 29px; font-weight: 800; line-height: 1; letter-spacing: -.015em; text-transform: uppercase; }
.gdm-logo span { display: block; }
.gdm-logo em, .gdm-footer-logo em { font-style: normal; font-weight: 600; font-size: .33em; letter-spacing: .3em; display: flex; align-items: center; gap: 8px; width: 100%; margin: 5px 0 6px; padding-left: .3em; }
.gdm-logo em b, .gdm-footer-logo em b { flex: 1; height: 1.5px; background: currentColor; }

.gdm-hamburger { display: none; width: 44px; height: 44px; border: 0; background: transparent; color: var(--gdm-ink); cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px; padding: 0; }
.gdm-hamburger span { display: block; width: 22px; height: 2px; background: currentColor; transition: transform .2s, opacity .2s; }
.gdm-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.gdm-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.gdm-hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.gdm-h-right { display: flex; align-items: center; justify-content: flex-end; gap: 14px; }
.gdm-icon-btn { width: 44px; height: 44px; border: 0; background: transparent; color: var(--gdm-ink); display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.gdm-icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.gdm-books-btn { height: 44px; padding: 0 18px; background: var(--gdm-ink); color: var(--gdm-on-dark) !important; font-size: 14px; font-weight: 600; display: flex; align-items: center; text-decoration: none !important; white-space: nowrap; }
.gdm-books-btn:hover { background: #000; text-decoration: underline !important; }

/* Testata: riga menu */
#gdm-nav { border-top: 1px solid var(--gdm-line); border-bottom: 1px solid var(--gdm-line); }
.gdm-nav-inner { display: flex; justify-content: center; align-items: stretch; flex-wrap: wrap; gap: 0 22px; }
.gdm-nav-item { position: relative; display: flex; align-items: stretch; }
.gdm-nav-link { display: flex; align-items: center; gap: 6px; padding: 14px 2px; color: var(--gdm-ink); font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.gdm-nav-badge { font-size: 10px; font-weight: 700; letter-spacing: .06em; border: 1px solid currentColor; padding: 0 4px; line-height: 1.5; }
.gdm-nav-toggle { display: flex; align-items: center; justify-content: center; width: 18px; padding: 0; background: none; border: 0; color: var(--gdm-muted); cursor: pointer; }
.gdm-nav-toggle svg { width: 12px; height: 12px; transition: transform .2s; }
.gdm-nav-item:hover > .gdm-nav-link, .gdm-nav-item.is-open > .gdm-nav-link, .gdm-nav-item.is-active > .gdm-nav-link { border-bottom-color: var(--gdm-ink); }
.gdm-nav-item.is-open .gdm-nav-toggle svg { transform: rotate(180deg); }
.gdm-dropdown { display: none; position: absolute; top: 100%; left: 0; min-width: 250px; background: var(--gdm-paper); border: 1px solid var(--gdm-ink); padding: 12px 8px; z-index: 300; }
.gdm-nav-item:hover .gdm-dropdown, .gdm-nav-item.is-open .gdm-dropdown, .gdm-nav-item:focus-within .gdm-dropdown { display: block; }
.gdm-dropdown a { display: block; padding: 7px 12px; color: var(--gdm-ink); font-size: 15px; font-weight: 400; text-decoration: none; }
.gdm-dropdown a:hover { text-decoration: underline; background: var(--gdm-soft); }
.gdm-dropdown-group { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gdm-muted); padding: 10px 12px 4px; }
.gdm-dropdown-divider { display: none; }
.gdm-dropdown-mega { width: 540px; padding: 18px; }
.gdm-mega-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; }
.gdm-mega-footer { border-top: 1px solid var(--gdm-line); margin-top: 12px; padding-top: 10px; }
.gdm-mega-footer a { font-weight: 600; text-decoration: underline; }

/* Ricerca */
#gdm-searchbar { display: none; background: var(--gdm-paper); border-bottom: 1px solid var(--gdm-line); }
#gdm-searchbar.is-open { display: block; }
#gdm-searchbar .gdm-h-wrap { padding-top: 16px; padding-bottom: 16px; }
.gdm-search-form { display: flex; gap: 10px; max-width: 760px; margin: 0 auto; }
.gdm-search-form input[type="search"] { flex: 1; min-width: 0; height: 48px; border: 1px solid var(--gdm-ink); border-radius: 0; padding: 0 16px; font-family: var(--gdm-font); font-size: 16px; color: var(--gdm-ink); background: var(--gdm-paper); }
.gdm-search-form input[type="search"]:focus { outline: 2px solid var(--gdm-ink); outline-offset: 1px; }
.gdm-search-form button { height: 48px; padding: 0 22px; border: 0; border-radius: 0; background: var(--gdm-ink); color: var(--gdm-on-dark); font-family: var(--gdm-font); font-size: 15px; font-weight: 700; cursor: pointer; }

/* Sezioni (mobile) */
#gdm-chips { display: none; background: var(--gdm-paper); border-bottom: 1px solid var(--gdm-line); }
#gdm-chips .gdm-chips-in { display: flex; gap: 20px; overflow-x: auto; padding: 0 16px; scrollbar-width: none; }
#gdm-chips .gdm-chips-in::-webkit-scrollbar { display: none; }
#gdm-chips a { flex: none; padding: 12px 0; color: var(--gdm-ink); font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap; border-bottom: 2px solid transparent; }
#gdm-chips a.is-active { border-bottom-color: var(--gdm-ink); font-weight: 700; }

/* Menu mobile */
#gdm-drawer { display: none; background: var(--gdm-paper); border-bottom: 1px solid var(--gdm-ink); overflow-y: auto; max-height: calc(100vh - 60px); position: relative; z-index: 220; }
#gdm-drawer.is-open { display: block; }
.gdm-dr-search { padding: 16px 16px 8px; }
.gdm-dr-search .gdm-search-form button { padding: 0 16px; }
.gdm-dr-list { padding: 4px 16px 20px; }
.gdm-dr-item { border-bottom: 1px solid var(--gdm-line); }
.gdm-dr-item-link { display: flex; align-items: center; justify-content: space-between; min-height: 54px; text-decoration: none; color: var(--gdm-ink); cursor: pointer; }
.gdm-dr-anchor { display: flex; align-items: center; gap: 8px; color: var(--gdm-ink); font-size: 18px; font-weight: 600; text-decoration: none; }
.gdm-dr-badge { font-size: 10px; font-weight: 700; border: 1px solid currentColor; padding: 0 4px; }
.gdm-dr-chevron { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; color: var(--gdm-muted); }
.gdm-dr-chevron svg { width: 18px; height: 18px; transition: transform .2s; }
.gdm-dr-item-link[aria-expanded="true"] .gdm-dr-chevron svg { transform: rotate(180deg); }
.gdm-dr-sub { display: none; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; padding: 0 0 14px; }
.gdm-dr-sub.is-open { display: grid; }
.gdm-dr-sub a { color: var(--gdm-ink-2); font-size: 15px; padding: 9px 0; text-decoration: none; }
.gdm-dr-sub-group { grid-column: 1 / -1; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gdm-muted); padding: 8px 0 2px; }
.gdm-dr-sub-divider { display: none; }
.gdm-dr-extra { display: flex; flex-direction: column; padding-top: 14px; }
.gdm-dr-extra a { color: var(--gdm-ink); font-size: 15px; font-weight: 600; padding: 9px 0; text-decoration: none; }
.gdm-dr-extra a.gdm-dr-books { text-decoration: underline; }

/* Ultima ora (pagine interne) */
#gdm-breaking { display: block; background: var(--gdm-paper); border-bottom: 1px solid var(--gdm-line); text-decoration: none; }
.gdm-breaking-inner { min-height: 42px; display: flex; align-items: center; gap: 14px; }
.gdm-breaking-label { flex: none; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gdm-ink); }
.gdm-breaking-text { font-size: 14px; color: var(--gdm-ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#gdm-breaking:hover .gdm-breaking-text { text-decoration: underline; }

.gdm-nav-link:focus-visible, .gdm-nav-toggle:focus-visible, .gdm-hamburger:focus-visible, .gdm-icon-btn:focus-visible, .gdm-logo:focus-visible { outline: 2px solid var(--gdm-ink); outline-offset: 2px; }

@media (max-width: 1280px) {
	.gdm-mh-date { display: none; }
	.gdm-nav-inner { gap: 0 16px; }
	.gdm-nav-link { font-size: 14px; }
}
@media (max-width: 1080px) {
	#gdm-topbar, #gdm-nav, .gdm-books-btn { display: none; }
	.gdm-mh-row { padding-top: 10px; padding-bottom: 10px; gap: 8px; }
	.gdm-hamburger { display: flex; }
	.gdm-logo { font-size: 18px; }
	.gdm-logo em { margin: 3px 0 4px; gap: 5px; }
	#gdm-masthead { border-bottom: 1px solid var(--gdm-line); }
	#gdm-chips { display: block; }
	.gdm-breaking-text { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { .gdm-hamburger span, .gdm-nav-toggle svg, .gdm-dr-chevron svg { transition: none; } }


/* ════════════════════════════════════════════
   2. HOME (home-gdm.php + home-gdm-extra.php)
   ════════════════════════════════════════════ */
.gdmh { background: var(--gdm-paper); color: var(--gdm-ink); font-family: var(--gdm-font); }
.gdmh *, .gdmh *::before, .gdmh *::after { box-sizing: border-box; }
.gdmh a { text-decoration: none; color: inherit; }
.gdmh img { max-width: 100%; }
.gdmh h1, .gdmh h2, .gdmh h3 { margin: 0; font-family: var(--gdm-font); color: var(--gdm-ink); font-weight: 700; letter-spacing: -.02em; }
.gdmh p { font-family: var(--gdm-font); }
.gdmh-wrap { max-width: var(--gdm-wrap); margin: 0 auto; padding: 0 var(--gdm-gutter); }

/* Elementi comuni */
.gdmh-kicker { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gdm-muted); }
.gdmh-cat { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gdm-muted); }
.gdmh-more { font-size: 14px; font-weight: 600; color: var(--gdm-ink) !important; text-decoration: underline !important; text-underline-offset: 3px; }
.gdmh-more:hover { text-decoration-thickness: 2px !important; }
.gdmh-media { overflow: hidden; background: var(--gdm-ph); }
.gdmh-media img, .gdmh-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gdmh-t { letter-spacing: -.015em; }
.gdmh-card:hover .gdmh-t { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* Ultima ora */
.gdmh-flash { background: var(--gdm-paper); border-bottom: 1px solid var(--gdm-line); font-size: 14px; }
.gdmh-flash .gdmh-wrap { min-height: 42px; display: flex; align-items: center; gap: 14px; overflow: hidden; white-space: nowrap; }
.gdmh-flash-l { flex: none; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.gdmh-flash a { color: var(--gdm-ink-2); }
.gdmh-flash a:hover { color: var(--gdm-ink); text-decoration: underline; }
.gdmh-flash .sep { color: var(--gdm-line); }

/* Apertura: foto a tutto schermo + riga di titoli */
.gdmh-open { padding-top: 32px; }
.gdmh-open > .gdmh-wrap { max-width: none; padding: 0; display: block; }
.gdmh-hero { position: relative; display: block; height: min(720px, 82vh); min-height: 460px; overflow: hidden; color: var(--gdm-on-dark); background: #2A3A44; }
.gdmh a.gdmh-hero, .gdmh a.gdmh-ias-hero { color: var(--gdm-on-dark); }
.gdmh-hero .gdmh-img { position: absolute; inset: 0; }
.gdmh-hero-shade { position: absolute; left: 0; right: 0; bottom: 0; height: 60%; background: linear-gradient(to top, rgba(10,14,18,.85), rgba(10,14,18,0)); }
.gdmh-hero-body { position: absolute; left: 0; right: 0; bottom: 0; max-width: var(--gdm-wrap); margin: 0 auto; padding: 0 var(--gdm-gutter) 56px; display: flex; flex-direction: column; gap: 14px; }
.gdmh-badges { display: flex; gap: 12px; align-items: center; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.gdmh-badge { border: 1px solid currentColor; padding: 3px 8px; }
.gdmh-badge-cat { color: var(--gdm-on-dark); }
.gdmh-hero h2 { max-width: 920px; font-size: clamp(34px, 4.6vw, 64px); line-height: 1.02; font-weight: 700; letter-spacing: -.025em; color: var(--gdm-on-dark); }
.gdmh-hero:hover h2 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.gdmh-hero p { margin: 0; max-width: 680px; font-size: 18px; line-height: 1.5; color: rgba(255,255,255,.88); }
.gdmh-hero-by { font-size: 15px; color: var(--gdm-on-dark); }

.gdmh-latest { max-width: var(--gdm-wrap); margin: 0 auto; padding: 40px var(--gdm-gutter) 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 40px; }
.gdmh-latest-h { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.gdmh-latest-h h2 { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.gdmh-latest-h a { font-size: 14px; font-weight: 600; text-decoration: underline; }
.gdmh-row { display: block; border-top: 1px solid var(--gdm-ink); padding-top: 16px; }
.gdmh-row .gdmh-media { display: none; }
.gdmh-row-b { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.gdmh-row .gdmh-t { font-size: 22px; line-height: 1.18; font-weight: 700; }
.gdmh-row time { font-size: 14px; color: var(--gdm-muted); }

/* Il giornale */
.gdmh-about .gdmh-wrap { padding-top: 88px; padding-bottom: 72px; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 64px; align-items: end; }
.gdmh-about h1 { font-size: clamp(24px, 2.4vw, 34px); line-height: 1.25; font-weight: 500; letter-spacing: -.015em; }
.gdmh-about h1 em { font-style: normal; font-weight: 700; }
.gdmh-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.gdmh-stat { border-top: 1px solid var(--gdm-ink); padding-top: 14px; }
.gdmh-stat b { display: block; font-size: 40px; font-weight: 700; letter-spacing: -.02em; line-height: 1.05; }
.gdmh-stat span { font-size: 14px; color: var(--gdm-muted); }

/* Il fondatore */
.gdmh-founder { background: var(--gdm-soft); }
.gdmh-founder .gdmh-wrap { padding-top: 72px; padding-bottom: 72px; display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 56px; align-items: center; }
.gdmh-f-photo { width: 280px; aspect-ratio: 4 / 5; overflow: hidden; background: var(--gdm-ink); display: flex; align-items: center; justify-content: center; }
.gdmh-f-photo img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(1); }
.gdmh-f-mono { font-size: 64px; font-weight: 800; color: var(--gdm-on-dark); letter-spacing: -.02em; }
.gdmh-founder h2 { font-size: 40px; line-height: 1.05; margin: 10px 0 6px; }
.gdmh-f-role { font-size: 15px; color: var(--gdm-muted); margin: 0 0 24px; }
.gdmh-founder blockquote { margin: 0 0 20px; padding: 0; border: 0; font-size: 24px; line-height: 1.4; font-weight: 500; letter-spacing: -.01em; color: var(--gdm-ink); }
.gdmh-founder blockquote p { margin: 0; }
.gdmh-f-bio { font-size: 17px; line-height: 1.6; color: var(--gdm-ink-2); margin: 0 0 22px; max-width: 760px; }
.gdmh-f-links { display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 14px; font-weight: 600; }
.gdmh-f-links a { text-decoration: underline; text-underline-offset: 3px; }

/* Sezione a griglia (Biologia marina) */
.gdmh-sec { padding: 88px 0 0; }
.gdmh-sec-h { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 32px; flex-wrap: wrap; }
.gdmh-sec-h h2 { font-size: 40px; margin-top: 6px; }
.gdmh-sec-h p { margin: 10px 0 0; font-size: 17px; line-height: 1.5; color: var(--gdm-ink-2); max-width: 640px; }
.gdmh-grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 56px 40px; }
.gdmh-tile { display: flex; flex-direction: column; gap: 0; }
.gdmh-tile .gdmh-media { aspect-ratio: 4 / 3; margin-bottom: 16px; }
.gdmh-tile .gdmh-cat { margin-bottom: 8px; }
.gdmh-tile .gdmh-t { font-size: 24px; line-height: 1.18; font-weight: 700; }

/* Atlante */
.gdmh-atlas { padding-top: 96px; }
.gdmh-atlas > .gdmh-wrap { max-width: none; padding: 0; }
.gdmh-atlas-box { background: var(--gdm-soft); padding: 72px max(var(--gdm-gutter), calc((100% - var(--gdm-wrap)) / 2 + var(--gdm-gutter))); display: flex; flex-direction: column; gap: 40px; }
.gdmh-atlas-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: end; }
.gdmh-atlas h2 { font-size: 40px; line-height: 1.08; margin: 10px 0 14px; }
.gdmh-atlas-top p { margin: 0; font-size: 18px; line-height: 1.55; color: var(--gdm-ink-2); }
.gdmh-search { display: flex; flex-direction: column; gap: 14px; }
.gdmh-search label { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--gdm-muted); }
.gdmh-search-row { display: flex; gap: 10px; }
.gdmh-search input[type=search] { flex: 1; min-width: 0; height: 52px; border: 1px solid var(--gdm-ink); border-radius: 0; padding: 0 16px; font-family: var(--gdm-font); font-size: 16px; color: var(--gdm-ink); background: var(--gdm-paper); }
.gdmh-search button { height: 52px; padding: 0 26px; border: 0; border-radius: 0; background: var(--gdm-ink); color: var(--gdm-on-dark); font-family: var(--gdm-font); font-size: 15px; font-weight: 700; cursor: pointer; }
.gdmh-search button:hover { background: #000; text-decoration: underline; }
.gdmh-chips { display: flex; gap: 8px 20px; flex-wrap: wrap; font-size: 14px; font-weight: 600; }
.gdmh-chips a { text-decoration: underline; text-underline-offset: 3px; }
.gdmh-grid5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
.gdmh-sp { display: flex; flex-direction: column; color: var(--gdm-ink); }
.gdmh-sp .gdmh-media { aspect-ratio: 4 / 3; background: var(--gdm-paper); }
.gdmh-sp .gdmh-img { object-fit: contain; }
.gdmh-sp-b { padding: 12px 0 0; display: flex; flex-direction: column; gap: 2px; }
.gdmh-sp-b .gdmh-t { font-size: 18px; font-weight: 700; display: block; }
.gdmh-sp-b i { font-size: 14px; color: var(--gdm-muted); }

/* Pesce di stagione (home-gdm-extra.php) */
.gdmh-stg { padding: 96px 0 0; }
.gdmh-stg-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 32px; }
.gdmh-stg-head .gdmh-kicker { margin: 0; }
.gdmh-stg-head h2 { font-size: 40px; line-height: 1.08; margin: 10px 0 12px; }
.gdmh-stg-sub { font-size: 17px; line-height: 1.55; color: var(--gdm-ink-2); max-width: 620px; margin: 0; }
.gdmh-stg-all { font-size: 14px; font-weight: 600; text-decoration: underline !important; white-space: nowrap; }
.gdmh-stg-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; }
.gdmh-stg-card { display: flex; flex-direction: column; }
.gdmh-stg-img { aspect-ratio: 4 / 3; background: var(--gdm-soft); overflow: hidden; }
.gdmh-stg-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gdmh-stg-ph { display: block; width: 100%; height: 100%; background: var(--gdm-soft); }
.gdmh-stg-txt { padding-top: 14px; display: flex; flex-direction: column; gap: 4px; }
.gdmh-stg-badge { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gdm-muted); margin-bottom: 4px; }
.gdmh-stg-txt strong { font-size: 22px; font-weight: 700; line-height: 1.2; letter-spacing: -.015em; }
.gdmh-stg-card:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.gdmh-stg-txt i { font-size: 14px; color: var(--gdm-muted); }
.gdmh-stg-foot { margin-top: 36px; display: flex; flex-direction: column; gap: 14px; border-top: 1px solid var(--gdm-line); padding-top: 20px; }
.gdmh-stg-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.gdmh-stg-lab { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gdm-ink); margin-right: 8px; }
.gdmh-stg-chip { font-size: 14px; color: var(--gdm-ink); border: 1px solid var(--gdm-ink); padding: 4px 10px; }
a.gdmh-stg-chip:hover { background: var(--gdm-ink); color: var(--gdm-on-dark); }
.gdmh-stg-chip--no { border-style: dashed; border-color: var(--gdm-muted); color: var(--gdm-muted); }
a.gdmh-stg-chip--no:hover { background: var(--gdm-muted); color: var(--gdm-on-dark); }

/* Specie aliene */
.gdmh-ias .gdmh-wrap { padding-top: 96px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.gdmh-ias-hero { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; color: var(--gdm-on-dark); background: #2A3A44; }
.gdmh-ias-hero .gdmh-img { position: absolute; inset: 0; }
.gdmh-ias-hero .gdmh-hero-shade { height: 55%; }
.gdmh-ias-hero-b { position: absolute; left: 28px; right: 28px; bottom: 28px; display: flex; flex-direction: column; gap: 10px; }
.gdmh-ias-hero-b span:first-child { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.gdmh-ias-hero-b .gdmh-t { font-size: 30px; line-height: 1.1; font-weight: 700; color: var(--gdm-on-dark); }
.gdmh-ias h2 { font-size: 40px; line-height: 1.08; margin: 10px 0 14px; }
.gdmh-ias-txt p { margin: 0; font-size: 18px; line-height: 1.55; color: var(--gdm-ink-2); }
.gdmh-ias-list { display: flex; flex-direction: column; margin: 28px 0; border-top: 1px solid var(--gdm-ink); }
.gdmh-mini { display: flex; gap: 16px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--gdm-line); }
.gdmh-mini .gdmh-media { width: 96px; height: 72px; flex: none; background: var(--gdm-paper); }
.gdmh-mini .gdmh-img { object-fit: contain; }
.gdmh-mini .gdmh-t { font-size: 18px; font-weight: 700; display: block; }
.gdmh-mini i { font-size: 14px; color: var(--gdm-muted); }

/* Pesca: tre colonne */
.gdmh-pesca .gdmh-wrap { padding-top: 96px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.gdmh-col { display: flex; flex-direction: column; gap: 16px; border-top: 1px solid var(--gdm-ink); padding-top: 18px; }
.gdmh-col-h { display: flex; flex-direction: column; gap: 6px; }
.gdmh-col-h h2 { font-size: 28px; }
.gdmh-col-h p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--gdm-ink-2); }
.gdmh-col .gdmh-media { aspect-ratio: 16 / 10; }
.gdmh-col .gdmh-tile .gdmh-t { font-size: 22px; }
.gdmh-line { font-size: 17px; line-height: 1.4; padding-top: 12px; border-top: 1px solid var(--gdm-line); }
.gdmh-line:hover { text-decoration: underline; }

/* Libri */
.gdmh-books .gdmh-wrap { padding-top: 96px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); gap: 56px; align-items: center; }
.gdmh-books h2 { font-size: 44px; line-height: 1.05; margin: 10px 0 16px; }
.gdmh-books p { margin: 0; font-size: 18px; line-height: 1.55; color: var(--gdm-ink-2); }
.gdmh-books-cta { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-top: 24px; font-size: 14px; color: var(--gdm-muted); }
.gdmh-btn { height: 50px; padding: 0 24px; background: var(--gdm-ink); color: var(--gdm-on-dark) !important; font-size: 15px; font-weight: 600; display: inline-flex; align-items: center; }
.gdmh-btn:hover { background: #000; text-decoration: underline !important; }
.gdmh-covers { display: flex; gap: 16px; align-items: flex-end; justify-content: flex-end; flex-wrap: nowrap; }
.gdmh-covers img { width: 112px; height: auto; display: block; box-shadow: 0 10px 24px rgba(0,0,0,.18); transition: transform .3s; }
.gdmh-covers a:nth-child(2) img, .gdmh-covers a:nth-child(4) img { width: 124px; }
.gdmh-covers a:nth-child(3) img { width: 140px; }
.gdmh-covers a:hover img { transform: translateY(-6px); }

/* Partner */
.gdmh-partners .gdmh-wrap { padding-top: 96px; }
.gdmh-pt-head { text-align: left; margin-bottom: 28px; border-top: 1px solid var(--gdm-ink); padding-top: 18px; }
.gdmh-pt-head h2 { font-size: 28px; margin-top: 8px; }
.gdmh-pt-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.gdmh-pt-card { display: flex; flex-direction: column; gap: 4px; }
.gdmh-pt-box { height: 120px; width: 100%; display: flex; align-items: center; justify-content: center; overflow: hidden; margin-bottom: 14px; background: var(--gdm-soft); }
.gdmh-partners img.gdmh-pt-logo { width: auto !important; max-width: none !important; display: block; filter: grayscale(1); mix-blend-mode: multiply; transition: filter .25s; }
.gdmh-pt-card:hover img.gdmh-pt-logo { filter: none; }
.gdmh-partners img.gdmh-pt-oce { height: 150px !important; }
.gdmh-partners img.gdmh-pt-uni { height: 100px !important; }
.gdmh-partners img.gdmh-pt-cof { height: 190px !important; }
.gdmh-pt-card strong { font-size: 18px; font-weight: 700; }
.gdmh-pt-card span { font-size: 14px; line-height: 1.45; color: var(--gdm-muted); }

/* Newsletter: blocco nero */
.gdmh-nl { padding: 96px 0; }
.gdmh-nl .gdmh-wrap > * { min-width: 0; }
.gdmh-nl .gdmh-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; background: var(--gdm-ink); color: var(--gdm-on-dark); padding: 56px; max-width: none; margin: 0 max(var(--gdm-gutter), calc((100% - var(--gdm-wrap)) / 2 + var(--gdm-gutter))); }
.gdmh-nl h2 { font-size: 40px; line-height: 1.05; color: var(--gdm-on-dark); margin-bottom: 10px; }
.gdmh-nl p { margin: 0; font-size: 17px; line-height: 1.5; color: var(--gdm-on-dark-2); }
.gdmh-nl .wpcf7 form p { margin: 0 0 10px; }
.gdmh-nl .wpcf7 label { color: var(--gdm-on-dark-2); font-size: 14px; }
.gdmh-nl .wpcf7 input[type=email], .gdmh-nl .wpcf7 input[type=text], .gdmh-nl .wpcf7 textarea { width: 100%; height: 52px; border: 1px solid var(--gdm-on-dark); border-radius: 0; padding: 0 16px; font-family: var(--gdm-font); font-size: 15px; color: var(--gdm-on-dark); background: transparent; }
.gdmh-nl .wpcf7 textarea { height: 110px; padding: 12px 16px; }
.gdmh-nl .wpcf7 input::placeholder, .gdmh-nl .wpcf7 textarea::placeholder { color: var(--gdm-on-dark-2); }
.gdmh-nl .wpcf7 input[type=submit] { height: 52px; padding: 0 26px; border: 0; border-radius: 0; background: var(--gdm-on-dark); color: var(--gdm-ink); font-family: var(--gdm-font); font-size: 15px; font-weight: 700; cursor: pointer; }
.gdmh-nl .wpcf7 input[type=submit]:hover { text-decoration: underline; }
.gdmh-nl .wpcf7 a { color: var(--gdm-on-dark); text-decoration: underline; }
.gdmh-nl .wpcf7-response-output { color: var(--gdm-on-dark); border-color: var(--gdm-on-dark) !important; margin: 12px 0 0 !important; }

/* Profondimetro (home-gdm-extra.php) — decorativo, solo desktop largo */
.gdmh-depth { display: none; }
@media (min-width: 1400px) and (prefers-reduced-motion: no-preference) {
	.gdmh-depth { display: block; position: fixed; right: 22px; top: 22vh; height: 56vh; width: 1px; background: rgba(17,17,17,.18); z-index: 40; pointer-events: none; }
	.gdmh-depth-fill { position: absolute; left: 0; top: 0; width: 1px; height: 0; background: var(--gdm-ink); }
	.gdmh-depth-scale span { position: absolute; right: 8px; transform: translateY(-50%); font-family: var(--gdm-font); font-size: 10px; letter-spacing: .04em; color: var(--gdm-muted); white-space: nowrap; }
	.gdmh-depth-scale span::after { content: ''; position: absolute; right: -8px; top: 50%; width: 5px; height: 1px; background: rgba(17,17,17,.4); }
	.gdmh-depth-pin { position: absolute; right: -6px; top: 0; transform: translateY(-50%); display: flex; flex-direction: column; align-items: flex-end; background: var(--gdm-ink); color: var(--gdm-on-dark); padding: 5px 9px; margin-right: 12px; min-width: 78px; }
	.gdmh-depth-pin b { font-family: var(--gdm-font); font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
	.gdmh-depth-pin small { font-family: var(--gdm-font); font-size: 9.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--gdm-on-dark-2); white-space: nowrap; }
}

/* Home — tablet */
@media (max-width: 1100px) {
	.gdmh-about .gdmh-wrap, .gdmh-atlas-top, .gdmh-ias .gdmh-wrap, .gdmh-books .gdmh-wrap, .gdmh-nl .gdmh-wrap { grid-template-columns: minmax(0, 1fr); }
	.gdmh-pesca .gdmh-wrap { grid-template-columns: minmax(0, 1fr); gap: 48px; }
	.gdmh-latest, .gdmh-grid4, .gdmh-stg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.gdmh-latest { gap: 24px 32px; }
	.gdmh-grid5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.gdmh-covers { justify-content: flex-start; }
	.gdmh-founder .gdmh-wrap { grid-template-columns: 200px minmax(0, 1fr); gap: 40px; }
	.gdmh-f-photo { width: 200px; }
}

/* Home — telefono */
@media (max-width: 720px) {
	.gdmh-flash { display: none; }
	.gdmh-open { padding-top: 0; }
	.gdmh-hero { height: 78vh; min-height: 440px; max-height: 620px; }
	.gdmh-hero-body { padding-bottom: 28px; gap: 10px; }
	.gdmh-badges { font-size: 11px; gap: 8px; }
	.gdmh-hero h2 { font-size: 30px; line-height: 1.06; }
	.gdmh-hero p { display: none; }
	.gdmh-hero-by { font-size: 13px; }

	.gdmh-latest { grid-template-columns: minmax(0, 1fr); padding-top: 28px; gap: 0; }
	.gdmh-latest-h { margin-bottom: 4px; }
	.gdmh-row { display: flex; gap: 14px; align-items: flex-start; border-top: 0; border-bottom: 1px solid var(--gdm-line); padding: 14px 0; }
	.gdmh-row .gdmh-media { display: block; width: 96px; height: 72px; flex: none; }
	.gdmh-row .gdmh-t { font-size: 17px; line-height: 1.22; }
	.gdmh-row .gdmh-cat { font-size: 11px; }
	.gdmh-row time { display: none; }

	.gdmh-about .gdmh-wrap { padding-top: 48px; padding-bottom: 48px; gap: 28px; }
	.gdmh-about h1 { font-size: 21px; line-height: 1.35; }
	.gdmh-stats { gap: 14px; }
	.gdmh-stat b { font-size: 28px; }
	.gdmh-stat span { font-size: 12px; }

	.gdmh-founder .gdmh-wrap { grid-template-columns: minmax(0, 1fr); gap: 22px; padding-top: 44px; padding-bottom: 44px; }
	.gdmh-f-photo { width: 140px; }
	.gdmh-f-mono { font-size: 40px; }
	.gdmh-founder h2 { font-size: 28px; }
	.gdmh-founder blockquote { font-size: 19px; }
	.gdmh-f-bio { font-size: 16px; }

	.gdmh-sec, .gdmh-stg { padding-top: 56px; }
	.gdmh-sec-h, .gdmh-stg-head { margin-bottom: 18px; align-items: baseline; }
	.gdmh-stg-head { flex-direction: column; align-items: flex-start; gap: 10px; }
	.gdmh-sec-h h2, .gdmh-stg-head h2, .gdmh-atlas h2, .gdmh-ias h2, .gdmh-books h2, .gdmh-nl h2 { font-size: 28px; }
	.gdmh-sec-h p { display: none; }
	.gdmh-sec .gdmh-kicker { display: none; }
	.gdmh-grid4 { display: flex; overflow-x: auto; gap: 16px; scroll-snap-type: x mandatory; margin: 0 calc(-1 * var(--gdm-gutter)); padding: 0 var(--gdm-gutter) 6px; scrollbar-width: none; }
	.gdmh-grid4::-webkit-scrollbar { display: none; }
	.gdmh-grid4 .gdmh-tile { flex: none; width: 260px; scroll-snap-align: start; }
	.gdmh-grid4 .gdmh-tile .gdmh-t { font-size: 19px; }
	.gdmh-stg-grid { gap: 24px 16px; }
	.gdmh-stg-txt strong { font-size: 18px; }

	.gdmh-atlas { padding-top: 56px; }
	.gdmh-atlas-box { padding: 44px var(--gdm-gutter); gap: 28px; }
	.gdmh-atlas-top { gap: 22px; }
	.gdmh-atlas-top p { font-size: 16px; }
	.gdmh-search button { padding: 0 18px; }
	.gdmh-grid5 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; }
	.gdmh-grid5 .gdmh-sp:nth-child(5) { display: none; }
	.gdmh-sp-b .gdmh-t { font-size: 16px; }

	.gdmh-ias .gdmh-wrap { padding-top: 56px; gap: 20px; }
	.gdmh-ias-txt { order: -1; }
	.gdmh-ias-txt p { font-size: 16px; }
	.gdmh-ias-hero { aspect-ratio: auto; height: 240px; }
	.gdmh-ias-hero-b { left: 16px; right: 16px; bottom: 16px; }
	.gdmh-ias-hero-b .gdmh-t { font-size: 22px; }
	.gdmh-mini .gdmh-media { width: 80px; height: 60px; }
	.gdmh-mini .gdmh-t { font-size: 16px; }

	.gdmh-pesca .gdmh-wrap { padding-top: 56px; gap: 40px; }
	.gdmh-col-h h2 { font-size: 24px; }
	.gdmh-col-h p { display: none; }
	.gdmh-col .gdmh-tile { flex-direction: row; align-items: center; gap: 14px; }
	.gdmh-col .gdmh-tile .gdmh-media { width: 120px; height: 84px; aspect-ratio: auto; flex: none; margin: 0; }
	.gdmh-col .gdmh-tile .gdmh-t { font-size: 17px; }
	.gdmh-line { font-size: 16px; padding-top: 10px; }

	.gdmh-books .gdmh-wrap { padding-top: 56px; gap: 24px; }
	.gdmh-books p { font-size: 16px; }
	.gdmh-covers { flex-wrap: nowrap; overflow-x: auto; gap: 12px; margin: 0 calc(-1 * var(--gdm-gutter)); padding: 0 var(--gdm-gutter) 14px; scrollbar-width: none; order: 2; }
	.gdmh-covers::-webkit-scrollbar { display: none; }
	.gdmh-covers img, .gdmh-covers a:nth-child(n) img { width: 110px; flex: none; }
	.gdmh-books-txt { display: contents; }
	.gdmh-books-cta { order: 3; margin-top: 0; }
	.gdmh-btn { width: 100%; justify-content: center; }

	.gdmh-partners .gdmh-wrap { padding-top: 56px; }
	.gdmh-pt-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }

	.gdmh-nl { padding: 56px 0; }
	.gdmh-nl .gdmh-wrap { padding: 32px 20px; gap: 18px; max-width: none; margin: 0; }
	.gdmh-nl p { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { .gdmh-covers img { transition: none; } }


/* Neutralizza lo sfondo blu dell'apertura impostato in Personalizza > CSS aggiuntivo */
section.gdmh-open { background: var(--gdm-paper) !important; background-image: none !important; }
section.gdmh-open::before, section.gdmh-open::after { display: none !important; }


/* ════════════════════════════════════════════
   3. FOOTER (footer.php)
   ════════════════════════════════════════════ */
.gdm-footer { background: var(--gdm-ink); color: var(--gdm-on-dark-2); font-family: var(--gdm-font); }
.gdm-footer-main { max-width: var(--gdm-wrap); margin: 0 auto; padding: 64px var(--gdm-gutter) 48px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 56px; box-sizing: border-box; }
.gdm-footer-logo { display: inline-flex; flex-direction: column; align-items: center; margin-bottom: 18px; color: var(--gdm-on-dark) !important; text-decoration: none !important; font-size: 22px; font-weight: 800; line-height: 1; letter-spacing: -.02em; text-transform: uppercase; }
.gdm-footer-tagline { font-size: 15px; line-height: 1.6; margin: 0 0 24px; max-width: 300px; }
.gdm-footer-partner-label { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gdm-on-dark); margin-bottom: 8px; }
.gdm-footer-partners { display: flex; flex-direction: column; gap: 6px; }
.gdm-footer-partner { font-size: 14px; }
.gdm-footer-nav h4 { font-family: var(--gdm-font); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gdm-on-dark); margin: 0 0 18px; }
.gdm-footer-nav ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.gdm-footer-nav a { font-size: 15px; color: var(--gdm-on-dark-2); text-decoration: none; }
.gdm-footer-nav a:hover { color: var(--gdm-on-dark); text-decoration: underline; }
.gdm-footer-bottom { border-top: 1px solid rgba(255,255,255,.18); margin: 0 max(var(--gdm-gutter), calc((100% - var(--gdm-wrap)) / 2 + var(--gdm-gutter))); padding: 22px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 14px; }
.gdm-footer-copy a, .gdm-footer-credits a { color: var(--gdm-on-dark-2); text-decoration: none; }
.gdm-footer-copy a:hover, .gdm-footer-credits a:hover { color: var(--gdm-on-dark); text-decoration: underline; }
.gdm-footer-social { display: flex; gap: 10px; }
.gdm-footer-social a { width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.4); display: flex; align-items: center; justify-content: center; color: var(--gdm-on-dark); text-decoration: none; font-size: 14px; }
.gdm-footer-social a:hover { background: var(--gdm-on-dark); color: var(--gdm-ink); }
.gdm-footer-credits { display: flex; align-items: center; gap: 12px; }
@media (max-width: 900px) {
	.gdm-footer-main { grid-template-columns: 1fr 1fr; gap: 40px; padding: 48px var(--gdm-gutter) 32px; }
	.gdm-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
	.gdm-footer-main { grid-template-columns: 1fr; }
	.gdm-footer-bottom { flex-direction: column; align-items: flex-start; gap: 16px; }
}


/* ════════════════════════════════════════════
   4. ARTICOLO (articolo-gdm.php) — tutto dentro .gdm-art
   ════════════════════════════════════════════ */
.gdm-art { background: var(--gdm-paper); color: var(--gdm-ink); font-family: var(--gdm-font); overflow-x: clip; --gdm-sticky-offset: 0px; --gdm-nav-h: 0px; }
.gdm-art *, .gdm-art *::before, .gdm-art *::after { box-sizing: border-box; }
.gdm-art :where(h1, h2, h3, h4, p, ul, ol, li, figure, blockquote, hr) { margin: 0; padding: 0; }
.gdm-art :where(a) { color: inherit; text-decoration: none; }
.gdm-art :where(img) { display: block; max-width: 100%; height: auto; }
.gdm-art :where(a, button, input, textarea):focus-visible { outline: 2px solid var(--gdm-ink); outline-offset: 2px; }
@media (prefers-reduced-motion: no-preference) { html:has(.gdm-art) { scroll-behavior: smooth; } }

/* Barra di lettura */
.gdm-art .gdm-progress { position: fixed; top: 0; left: 0; width: 100%; height: 3px; background: var(--gdm-ink); z-index: 9999; transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }

/* Layout */
.gdm-art .gdm-layout { max-width: 1240px; margin: 0 auto; padding: 48px var(--gdm-gutter) 88px; display: grid; grid-template-columns: 220px minmax(0, 720px); gap: 64px; justify-content: center; align-items: start; }

/* Testata */
.gdm-art .gdm-head { margin-bottom: 8px; }
.gdm-art .gdm-bc { display: flex; flex-wrap: wrap; gap: 6px 8px; font-size: 13px; color: var(--gdm-muted); margin-bottom: 28px; }
.gdm-art .gdm-bc a:hover { color: var(--gdm-ink); text-decoration: underline; }
.gdm-art .gdm-bc__sep { opacity: .5; }
.gdm-art .gdm-head__cat { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gdm-muted); }
.gdm-art .gdm-head__cat:hover { color: var(--gdm-ink); }
.gdm-art .gdm-head__title { font-family: var(--gdm-font); font-weight: 700; font-size: clamp(34px, 4.4vw, 56px); line-height: 1.04; letter-spacing: -.025em; color: var(--gdm-ink); margin: 14px 0 22px; text-wrap: balance; }
.gdm-art .gdm-art-lead { font-size: 22px; line-height: 1.5; color: var(--gdm-ink-2); margin: 0 0 28px; }
.gdm-art .gdm-art-lead a { text-decoration: underline; text-underline-offset: 3px; }
.gdm-art .gdm-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 16px 0; border-top: 1px solid var(--gdm-ink); border-bottom: 1px solid var(--gdm-line); }
.gdm-art .gdm-byline__avatar { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: var(--gdm-soft); }
.gdm-art .gdm-byline__avatar img { width: 100%; height: 100%; object-fit: cover; }
.gdm-art .gdm-byline__who { display: flex; flex-direction: column; gap: 2px; flex: 1 1 200px; min-width: 0; }
.gdm-art .gdm-byline__name { font-size: 15px; font-weight: 700; }
.gdm-art .gdm-byline__name:hover { text-decoration: underline; }
.gdm-art .gdm-byline__role, .gdm-art .gdm-byline__dates { font-size: 13px; color: var(--gdm-muted); }
.gdm-art .gdm-byline__dates { display: flex; flex-direction: column; gap: 2px; text-align: right; }
.gdm-art .gdm-trust { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.gdm-art .gdm-trust span { padding: 4px 10px; border: 1px solid var(--gdm-ink); }
.gdm-art .gdm-head__fig { margin: 36px 0 0; }
.gdm-art .gdm-head__fig img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--gdm-ph); }
.gdm-art .gdm-head__fig figcaption { font-size: 13px; color: var(--gdm-muted); margin-top: 10px; }

/* In breve + indice mobile */
.gdm-art .gdm-inbreve { margin: 40px 0 8px; padding: 24px 28px; background: var(--gdm-soft); }
.gdm-art .gdm-inbreve__t { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; }
.gdm-art .gdm-inbreve ul { margin: 0 0 0 20px; display: flex; flex-direction: column; gap: 8px; font-size: 17px; line-height: 1.55; color: var(--gdm-ink); }
.gdm-art .gdm-toc-m { display: none; margin: 16px 0 0; border-top: 1px solid var(--gdm-ink); border-bottom: 1px solid var(--gdm-line); }
.gdm-art .gdm-toc-m summary { min-height: 50px; display: flex; align-items: center; justify-content: space-between; font-size: 14px; font-weight: 600; cursor: pointer; list-style: none; }
.gdm-art .gdm-toc-m summary::-webkit-details-marker { display: none; }
.gdm-art .gdm-toc-m summary::after { content: ''; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin: -4px 4px 0 0; }
.gdm-art .gdm-toc-m[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.gdm-art .gdm-toc-m ol { list-style: none; padding: 0 0 10px; margin: 0; }
.gdm-art .gdm-toc-m a { display: block; padding: 10px 0; font-size: 15px; line-height: 1.35; color: var(--gdm-ink-2); border-top: 1px solid var(--gdm-line); }

/* Colonna sinistra: indice, condivisione, libro */
.gdm-art .gdm-rail { position: sticky; top: 24px; padding-top: 8px; }
.gdm-art .gdm-rail__t { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding-bottom: 12px; border-bottom: 1px solid var(--gdm-ink); margin-bottom: 4px; }
.gdm-art .gdm-toc { list-style: none; padding: 0; max-height: calc(100vh - 220px); overflow-y: auto; }
.gdm-art .gdm-toc__item { display: block; }
.gdm-art .gdm-toc__item--h3 { padding-left: 14px; }
.gdm-art .gdm-toc a { display: block; padding: 8px 0 8px 12px; border-left: 2px solid transparent; font-size: 14px; line-height: 1.35; color: var(--gdm-muted); }
.gdm-art .gdm-toc a:hover { color: var(--gdm-ink); }
.gdm-art .gdm-toc a.is-active { color: var(--gdm-ink); font-weight: 600; border-left-color: var(--gdm-ink); }
.gdm-art .gdm-rail__share { display: flex; gap: 8px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--gdm-line); }
.gdm-art .gdm-rail__share a { width: 40px; height: 40px; border: 1px solid var(--gdm-ink); display: flex; align-items: center; justify-content: center; color: var(--gdm-ink); }
.gdm-art .gdm-rail__share a:hover { background: var(--gdm-ink); color: var(--gdm-paper); }
.gdm-art .gdm-rail__share svg { width: 16px; height: 16px; fill: currentColor; }
.gdm-art .gdm-rail__book { display: flex; flex-direction: column; gap: 6px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--gdm-line); }
.gdm-art .gdm-rail__book img { width: 120px; height: auto; box-shadow: 0 6px 16px rgba(0,0,0,.16); margin-bottom: 8px; }
.gdm-art .gdm-rail__book-covers { display: flex; margin-bottom: 8px; }
.gdm-art .gdm-rail__book-covers img { width: 56px; margin: 0 -10px 0 0; }
.gdm-art .gdm-rail__book-eb { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gdm-muted); }
.gdm-art .gdm-rail__book-t { font-size: 16px; font-weight: 700; line-height: 1.25; }
.gdm-art .gdm-rail__book-cta { font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Testo */
.gdm-art .gdm-art-body { max-width: 720px; }
.gdm-art .gdm-art-body p { font-size: 19px; line-height: 1.68; color: var(--gdm-ink); margin-bottom: 1.3em; }
.gdm-art .gdm-art-body h2 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 700; line-height: 1.12; letter-spacing: -.02em; color: var(--gdm-ink); margin: 2em 0 .7em; }
.gdm-art .gdm-art-body h3 { font-size: clamp(20px, 2vw, 24px); font-weight: 700; line-height: 1.25; letter-spacing: -.01em; color: var(--gdm-ink); margin: 1.6em 0 .6em; }
.gdm-art .gdm-art-body h2, .gdm-art .gdm-art-body h3 { scroll-margin-top: 24px; }
.gdm-art .gdm-art-body h4 { font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin: 1.4em 0 .5em; }
.gdm-art .gdm-art-body h2[id^="domande-frequenti"] ~ h3 { font-size: 18px; font-weight: 700; margin: 0; padding: 18px 0 6px; border-top: 1px solid var(--gdm-line); }
.gdm-art .gdm-art-body h2[id^="domande-frequenti"] ~ h3 + p { font-size: 17px; line-height: 1.6; margin-bottom: 12px; }
.gdm-art .gdm-art-body h2[id^="fonti"] { font-size: 24px; }
.gdm-art .gdm-art-body h2[id^="fonti"] ~ ul, .gdm-art .gdm-art-body h2[id^="fonti"] ~ ol { font-size: 14px; line-height: 1.7; }
.gdm-art .gdm-art-body ul, .gdm-art .gdm-art-body ol { margin: 0 0 1.4em 1.3em; font-size: 18px; line-height: 1.65; }
.gdm-art .gdm-art-body li { margin-bottom: .45em; }
.gdm-art .gdm-art-body strong { font-weight: 700; }
.gdm-art .gdm-art-body em { font-style: italic; }
.gdm-art .gdm-art-body a { color: var(--gdm-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.gdm-art .gdm-art-body a:hover { text-decoration-thickness: 2px; }
.gdm-art .gdm-art-body figure { margin: 2.2em 0; }
.gdm-art .gdm-art-body > img, .gdm-art .gdm-art-body p > img { margin: 2.2em 0; }
.gdm-art .gdm-art-body figcaption { font-size: 13px; color: var(--gdm-muted); margin-top: 10px; }
.gdm-art .gdm-art-body iframe, .gdm-art .gdm-art-body video { max-width: 100%; }
.gdm-art .gdm-art-body blockquote { margin: 2.2em 0; padding: 22px 0; border-top: 1px solid var(--gdm-ink); border-bottom: 1px solid var(--gdm-ink); }
.gdm-art .gdm-art-body blockquote p { font-size: 24px; line-height: 1.4; font-weight: 500; letter-spacing: -.01em; margin: 0; }
.gdm-art .gdm-art-body blockquote p + p { margin-top: .8em; }
.gdm-art .gdm-art-body blockquote cite { display: block; margin-top: 12px; font-size: 14px; font-style: normal; color: var(--gdm-muted); }
.gdm-art .gdm-art-body .wp-block-table { overflow-x: auto; margin: 2em 0; }
.gdm-art .gdm-art-body table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 2em 0; }
.gdm-art .gdm-art-body .wp-block-table table { margin: 0; }
.gdm-art .gdm-art-body th { background: var(--gdm-ink); color: var(--gdm-on-dark); padding: 10px 14px; text-align: left; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.gdm-art .gdm-art-body td { padding: 10px 14px; border-bottom: 1px solid var(--gdm-line); color: var(--gdm-ink-2); }
.gdm-art .gdm-art-body tr:nth-child(even) td { background: var(--gdm-soft); }
.gdm-art .gdm-art-body hr { border: none; height: 1px; background: var(--gdm-line); margin: 2.5em 0; }

/* Banner sezione */
.gdm-art .gdm-banner-wrap { margin: 2.4em 0; }
.gdm-art .gdm-banner-wrap--end { margin-top: 2.5em; }
.gdm-art .gdm-art-body .gdm-banner-wrap a, .gdm-art .gdm-banner-wrap a { text-decoration: none; }
.gdm-art .gdm-banner-rotante { position: relative; display: block; width: 100%; height: 220px; overflow: hidden; background: #2A3A44; }
.gdm-art .gdm-art-body .gdm-banner-rotante__img, .gdm-art .gdm-banner-rotante__img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; margin: 0; }
.gdm-art .gdm-banner-rotante__overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(10,14,18,.85) 0%, rgba(10,14,18,.55) 55%, rgba(10,14,18,.1) 100%); }
.gdm-art .gdm-banner-rotante__content { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 24px 30px; color: var(--gdm-on-dark); }
.gdm-art .gdm-banner-rotante__eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 8px; }
.gdm-art .gdm-banner-rotante__title { font-size: 24px; font-weight: 700; line-height: 1.12; letter-spacing: -.015em; max-width: 420px; margin-bottom: 8px; }
.gdm-art .gdm-banner-rotante__desc { font-size: 14px; line-height: 1.5; color: var(--gdm-on-dark-2); max-width: 380px; margin-bottom: 16px; }
.gdm-art .gdm-banner-rotante__cta { display: inline-block; background: var(--gdm-on-dark); color: var(--gdm-ink); font-size: 13px; font-weight: 700; padding: 9px 16px; }
.gdm-art .gdm-banner-rotante:hover .gdm-banner-rotante__cta { text-decoration: underline; }

/* Banner libro */
.gdm-art .gdm-book-banner { display: flex; align-items: center; gap: 22px; background: var(--gdm-soft); padding: 24px 26px; }
.gdm-art .gdm-book-banner .gdm-book-banner__cover { flex-shrink: 0; width: 84px; height: auto; margin: 0; box-shadow: 0 6px 16px rgba(0,0,0,.18); }
.gdm-art .gdm-book-banner__body { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.gdm-art .gdm-book-banner__eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gdm-muted); margin-bottom: 4px; }
.gdm-art .gdm-book-banner__title { font-size: 21px; font-weight: 700; line-height: 1.15; letter-spacing: -.015em; }
.gdm-art .gdm-book-banner__hook { font-size: 15px; line-height: 1.45; color: var(--gdm-ink-2); }
.gdm-art .gdm-book-banner__author { font-size: 13px; color: var(--gdm-muted); }
.gdm-art .gdm-book-banner__price { font-size: 14px; font-weight: 700; margin: 4px 0 10px; }
.gdm-art .gdm-book-banner__cta { display: inline-block; background: var(--gdm-ink); color: var(--gdm-on-dark); font-size: 13px; font-weight: 700; padding: 10px 18px; }
.gdm-art .gdm-book-banner:hover .gdm-book-banner__cta { text-decoration: underline; }
.gdm-art .gdm-book-banner__covers { display: flex; flex-shrink: 0; }
.gdm-art .gdm-book-banner .gdm-book-banner__covers img { width: 54px; height: auto; margin: 0; box-shadow: 0 6px 14px rgba(0,0,0,.2); }
.gdm-art .gdm-book-banner__covers img:nth-child(1) { transform: rotate(-6deg); margin-right: -14px; }
.gdm-art .gdm-book-banner__covers img:nth-child(2) { position: relative; z-index: 2; }
.gdm-art .gdm-book-banner__covers img:nth-child(3) { transform: rotate(6deg); margin-left: -14px; }

/* Tag e condivisione */
.gdm-art .gdm-art-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2.5em; padding-top: 1.5em; border-top: 1px solid var(--gdm-line); }
.gdm-art .gdm-art-tag { font-size: 13px; border: 1px solid var(--gdm-ink); padding: 4px 10px; }
.gdm-art .gdm-art-tag:hover { background: var(--gdm-ink); color: var(--gdm-paper); }
.gdm-art .gdm-share { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 1.8em; }
.gdm-art .gdm-share-lbl { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-right: 6px; }
.gdm-art .gdm-share-btn, .gdm-art .gdm-share-btn.fb, .gdm-art .gdm-share-btn.tw, .gdm-art .gdm-share-btn.wa { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border: 1px solid var(--gdm-ink); background: transparent; color: var(--gdm-ink); font-size: 13px; font-weight: 600; }
.gdm-art .gdm-share-btn:hover { background: var(--gdm-ink); color: var(--gdm-paper); }
.gdm-art .gdm-share-btn svg { width: 13px; height: 13px; fill: currentColor; }

/* Box autore */
.gdm-art .gdm-author { display: flex; gap: 22px; align-items: flex-start; margin-top: 3em; padding: 28px 30px; background: var(--gdm-soft); }
.gdm-art .gdm-author-avatar { width: 72px; height: 72px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.gdm-art .gdm-author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.gdm-art .gdm-author-label { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gdm-muted); margin-bottom: 4px; }
.gdm-art .gdm-author-name { font-size: 22px; font-weight: 700; letter-spacing: -.015em; margin-bottom: 2px; }
.gdm-art .gdm-author-role-str { font-size: 14px; color: var(--gdm-muted); margin-bottom: 10px; }
.gdm-art .gdm-author-creds { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.gdm-art .gdm-author-cred { font-size: 12px; padding: 2px 8px; border: 1px solid var(--gdm-ink); }
.gdm-art .gdm-author-bio { font-size: 15px; line-height: 1.6; color: var(--gdm-ink-2); margin-bottom: 12px; }
.gdm-art .gdm-author-links { display: flex; gap: 18px; flex-wrap: wrap; }
.gdm-art .gdm-author-link { font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Commenti */
.gdm-art .gdm-comments { max-width: 760px; margin-top: 3em; padding-top: 2.5em; border-top: 1px solid var(--gdm-ink); }
.gdm-art .gdm-comments .comments-title, .gdm-art .gdm-comments #reply-title { font-size: 24px; font-weight: 700; letter-spacing: -.015em; margin-bottom: 20px; }
.gdm-art .gdm-comments .comment-list { list-style: none; padding: 0; }
.gdm-art .gdm-comments .comment { padding: 18px 0; border-bottom: 1px solid var(--gdm-line); }
.gdm-art .gdm-comments .fn { font-size: 15px; font-weight: 700; }
.gdm-art .gdm-comments .comment-metadata { font-size: 12px; color: var(--gdm-muted); margin-bottom: 8px; }
.gdm-art .gdm-comments .comment-content p { font-size: 16px; line-height: 1.65; color: var(--gdm-ink-2); margin: 0; }
.gdm-art .gdm-comments .reply a { font-size: 13px; font-weight: 600; text-decoration: underline; }
.gdm-art .gdm-comments input[type="text"], .gdm-art .gdm-comments input[type="email"], .gdm-art .gdm-comments input[type="url"], .gdm-art .gdm-comments textarea { width: 100%; margin-top: 6px; padding: 12px 14px; border: 1px solid var(--gdm-ink); border-radius: 0; background: var(--gdm-paper); font-family: var(--gdm-font); font-size: 15px; color: var(--gdm-ink); }
.gdm-art .gdm-comments input:focus, .gdm-art .gdm-comments textarea:focus { outline: 2px solid var(--gdm-ink); outline-offset: 1px; }
.gdm-art .gdm-comments textarea { min-height: 120px; resize: vertical; }
.gdm-art .gdm-comments .submit { margin-top: 10px; padding: 13px 26px; border: none; border-radius: 0; background: var(--gdm-ink); color: var(--gdm-on-dark); font-family: var(--gdm-font); font-size: 15px; font-weight: 700; cursor: pointer; }
.gdm-art .gdm-comments .submit:hover { text-decoration: underline; }

/* Continua a leggere */
.gdm-art .gdm-bottom { padding: 72px 0 96px; border-top: 1px solid var(--gdm-line); }
.gdm-art .gdm-bottom-inner { max-width: var(--gdm-wrap); margin: 0 auto; padding: 0 var(--gdm-gutter); }
.gdm-art .gdm-bottom-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 32px; }
.gdm-art .gdm-bottom-head h2 { font-size: 40px; font-weight: 700; letter-spacing: -.02em; white-space: nowrap; }
.gdm-art .gdm-bottom-rule { display: none; }
.gdm-art .gdm-bottom-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px 40px; }
.gdm-art .gdm-bot-card { display: flex; flex-direction: column; }
.gdm-art .gdm-bot-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--gdm-ph); margin-bottom: 16px; }
.gdm-art .gdm-bot-img img { width: 100%; height: 100%; object-fit: cover; }
.gdm-art .gdm-bot-body { display: flex; flex-direction: column; gap: 8px; }
.gdm-art .gdm-bot-cat { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gdm-muted); }
.gdm-art .gdm-bot-card h3 { font-size: 22px; font-weight: 700; line-height: 1.18; letter-spacing: -.015em; }
.gdm-art .gdm-bot-card:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.gdm-art .gdm-bot-date { font-size: 14px; color: var(--gdm-muted); }

@media (max-width: 1100px) {
	.gdm-art .gdm-layout { grid-template-columns: minmax(0, 1fr); max-width: 784px; gap: 0; padding: 32px var(--gdm-gutter) 64px; }
	.gdm-art .gdm-rail { display: none; }
	.gdm-art .gdm-toc-m { display: block; }
	.gdm-art .gdm-art-body, .gdm-art .gdm-comments { max-width: 100%; }
	.gdm-art .gdm-bottom-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
	.gdm-art .gdm-layout { padding: 20px var(--gdm-gutter) 48px; }
	.gdm-art .gdm-bc { display: none; }
	.gdm-art .gdm-head__title { font-size: 32px; line-height: 1.08; margin: 10px 0 14px; }
	.gdm-art .gdm-art-lead { font-size: 18px; }
	.gdm-art .gdm-byline__dates { text-align: left; flex-basis: 100%; }
	.gdm-art .gdm-head__fig { margin: 20px calc(-1 * var(--gdm-gutter)) 0; }
	.gdm-art .gdm-head__fig figcaption { padding: 0 var(--gdm-gutter); }
	.gdm-art .gdm-inbreve { padding: 18px; margin-top: 24px; }
	.gdm-art .gdm-art-body p { font-size: 18px; }
	.gdm-art .gdm-art-body blockquote p { font-size: 20px; }
	.gdm-art .gdm-author { flex-direction: column; padding: 22px; }
	.gdm-art .gdm-bottom { padding: 48px 0 64px; }
	.gdm-art .gdm-bottom-head h2 { font-size: 28px; }
	.gdm-art .gdm-bottom-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 600px) {
	.gdm-art .gdm-book-banner { flex-direction: column; text-align: center; gap: 14px; padding: 24px 20px; }
	.gdm-art .gdm-book-banner__body { align-items: center; }
	.gdm-art .gdm-book-banner .gdm-book-banner__cover { width: 110px; }
	.gdm-art .gdm-book-banner__cta { display: block; width: 100%; padding: 12px 0; }
	.gdm-art .gdm-book-banner__covers { justify-content: center; margin-bottom: 4px; }
	.gdm-art .gdm-banner-rotante { height: 240px; }
	.gdm-art .gdm-banner-rotante__content { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) { .gdm-art * { transition: none !important; } }
@media print {
	.gdm-art .gdm-progress, .gdm-art .gdm-rail, .gdm-art .gdm-banner-wrap, .gdm-art .gdm-share, .gdm-art .gdm-comments, .gdm-art .gdm-bottom { display: none !important; }
	.gdm-art .gdm-layout { display: block; padding: 0; }
}


/* ════════════════════════════════════════════
   5. ARCHIVI (archive.php) — tutto dentro .gdm-arc
   ════════════════════════════════════════════ */
.gdm-arc { background: var(--gdm-paper); color: var(--gdm-ink); font-family: var(--gdm-font); }
.gdm-arc *, .gdm-arc *::before, .gdm-arc *::after { box-sizing: border-box; }
.gdm-arc a { color: inherit; text-decoration: none; }

/* Testata archivio */
.gdm-arc .gdm-archive-hero { position: relative; padding: 56px 0 40px; background: var(--gdm-paper); }
.gdm-arc .gdm-archive-hero-bg, .gdm-arc .gdm-archive-hero-overlay { display: none; }
.gdm-arc .gdm-archive-hero-content { max-width: var(--gdm-wrap); margin: 0 auto; padding: 0 var(--gdm-gutter); }
.gdm-arc .gdm-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--gdm-muted); margin-bottom: 28px; }
.gdm-arc .gdm-breadcrumb a:hover { color: var(--gdm-ink); text-decoration: underline; }
.gdm-arc .gdm-breadcrumb span { opacity: .7; }
.gdm-arc .gdm-archive-badge { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gdm-muted); margin-bottom: 12px; }
.gdm-arc .gdm-archive-title { font-family: var(--gdm-font); font-size: clamp(40px, 6vw, 80px); font-weight: 700; line-height: 1; letter-spacing: -.03em; color: var(--gdm-ink); margin: 0 0 18px; }
.gdm-arc .gdm-archive-meta { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.gdm-arc .gdm-archive-count { font-size: 15px; color: var(--gdm-muted); }
.gdm-arc .gdm-archive-count strong { color: var(--gdm-ink); font-weight: 700; margin-right: 2px; }
.gdm-arc .gdm-archive-hero-desc { margin-top: 18px; max-width: 760px; font-size: 19px; line-height: 1.55; color: var(--gdm-ink-2); }
.gdm-arc .gdm-archive-hero-desc p { margin: 0; }

/* Sottocategorie */
.gdm-arc .gdm-subcats { position: relative; border-top: 1px solid var(--gdm-ink); border-bottom: 1px solid var(--gdm-line); }
.gdm-arc .gdm-subcats-inner { max-width: var(--gdm-wrap); margin: 0 auto; padding: 14px 56px 14px var(--gdm-gutter); display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.gdm-arc .gdm-subcats-inner::-webkit-scrollbar { display: none; }
.gdm-arc .gdm-subcat-link { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid var(--gdm-ink); font-size: 14px; font-weight: 500; white-space: nowrap; flex-shrink: 0; }
.gdm-arc .gdm-subcat-link:hover { background: var(--gdm-ink); color: var(--gdm-paper); }
.gdm-arc .gdm-subcat-count { font-size: 12px; color: var(--gdm-muted); }
.gdm-arc .gdm-subcat-link:hover .gdm-subcat-count { color: var(--gdm-on-dark-2); }
.gdm-arc .gdm-subcats-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; width: 36px; height: 36px; background: var(--gdm-paper); border: 1px solid var(--gdm-ink); border-radius: 0; color: var(--gdm-ink); font-size: 16px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .2s; padding: 0; }
.gdm-arc .gdm-subcats-arrow.gdm-visible { opacity: 1; pointer-events: auto; }
.gdm-arc .gdm-subcats-arrow:hover { background: var(--gdm-ink); color: var(--gdm-paper); }
.gdm-arc .gdm-subcats-arrow-left { left: 12px; }
.gdm-arc .gdm-subcats-arrow-right { right: 12px; }

/* Barra ordinamento */
.gdm-arc .gdm-toolbar { background: var(--gdm-paper); border-bottom: 1px solid var(--gdm-line); position: sticky; top: 0; z-index: 100; }
.gdm-arc .gdm-toolbar-inner { max-width: var(--gdm-wrap); margin: 0 auto; padding: 10px var(--gdm-gutter); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.gdm-arc .gdm-sort-links { display: flex; gap: 22px; }
.gdm-arc .gdm-sort-link { padding: 8px 0; font-size: 14px; font-weight: 500; color: var(--gdm-muted); border-bottom: 2px solid transparent; }
.gdm-arc .gdm-sort-link:hover { color: var(--gdm-ink); }
.gdm-arc .gdm-sort-link.active { color: var(--gdm-ink); font-weight: 700; border-bottom-color: var(--gdm-ink); }
.gdm-arc .gdm-view-toggle { display: flex; gap: 4px; }
.gdm-arc .gdm-view-btn { width: 36px; height: 36px; background: var(--gdm-paper); border: 1px solid var(--gdm-line); border-radius: 0; cursor: pointer; color: var(--gdm-ink); display: flex; align-items: center; justify-content: center; font-size: 15px; padding: 0; }
.gdm-arc .gdm-view-btn:hover, .gdm-arc .gdm-view-btn.active { border-color: var(--gdm-ink); background: var(--gdm-ink); color: var(--gdm-paper); }

/* Griglia */
.gdm-arc .gdm-archive-wrap { background: var(--gdm-paper); }
.gdm-arc .gdm-archive-inner { max-width: var(--gdm-wrap); margin: 0 auto; padding: 48px var(--gdm-gutter) 96px; }
.gdm-arc .gdm-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 40px; }
.gdm-arc .gdm-grid.list-view { grid-template-columns: minmax(0, 1fr); gap: 0; }
.gdm-arc .gdm-card { position: relative; display: flex; flex-direction: column; background: transparent; }
.gdm-arc .gdm-card-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--gdm-ph); margin-bottom: 16px; }
.gdm-arc .gdm-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gdm-arc .gdm-card-img-placeholder { width: 100%; height: 100%; background: var(--gdm-soft); }
.gdm-arc .gdm-card-cat-badge { position: absolute; left: 0; bottom: 0; background: var(--gdm-paper); color: var(--gdm-ink); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 6px 10px 0 0; }
.gdm-arc .gdm-card-body { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.gdm-arc .gdm-card-date { font-size: 13px; color: var(--gdm-muted); }
.gdm-arc .gdm-card-title { display: block; font-size: 24px; font-weight: 700; line-height: 1.16; letter-spacing: -.015em; color: var(--gdm-ink); }
.gdm-arc .gdm-card-title:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.gdm-arc .gdm-card-excerpt { margin: 0; font-size: 16px; line-height: 1.55; color: var(--gdm-ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.gdm-arc .gdm-card-footer { display: flex; align-items: center; gap: 8px; margin-top: 4px; font-size: 14px; color: var(--gdm-muted); }
.gdm-arc .gdm-card-author::after { content: '·'; margin-left: 8px; }
.gdm-arc .gdm-card-link { font-weight: 600; color: var(--gdm-ink); text-decoration: underline; text-underline-offset: 3px; }

/* Primo articolo in evidenza */
.gdm-arc .gdm-card.featured { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: center; padding-bottom: 56px; border-bottom: 1px solid var(--gdm-ink); }
.gdm-arc .gdm-card.featured .gdm-card-img { aspect-ratio: 16 / 10; margin: 0; }
.gdm-arc .gdm-card.featured .gdm-card-title { font-size: clamp(28px, 3vw, 44px); line-height: 1.05; letter-spacing: -.025em; }
.gdm-arc .gdm-card.featured .gdm-card-excerpt { font-size: 18px; -webkit-line-clamp: 4; }

/* Vista a lista */
.gdm-arc .gdm-grid.list-view .gdm-card { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 28px; align-items: start; padding: 24px 0; border-bottom: 1px solid var(--gdm-line); }
.gdm-arc .gdm-grid.list-view .gdm-card-img { margin: 0; }
.gdm-arc .gdm-grid.list-view .gdm-card-excerpt { -webkit-line-clamp: 2; }
.gdm-arc .gdm-grid.list-view .gdm-card.featured { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); padding-bottom: 40px; border-bottom-color: var(--gdm-ink); }

.gdm-arc .gdm-no-posts { text-align: center; padding: 80px 0; color: var(--gdm-muted); }
.gdm-arc .gdm-no-posts h3 { font-size: 32px; font-weight: 700; color: var(--gdm-ink); margin: 0 0 12px; }

/* Paginazione */
.gdm-arc .gdm-pg { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; margin-top: 72px; padding: 0; }
.gdm-arc .gdm-pg a, .gdm-arc .gdm-pg span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 12px; border: 1px solid var(--gdm-line); font-size: 15px; font-weight: 500; color: var(--gdm-ink); text-decoration: none; line-height: 1; margin: 0; float: none; }
.gdm-arc .gdm-pg a:hover { border-color: var(--gdm-ink); }
.gdm-arc .gdm-pg .is-current { background: var(--gdm-ink); border-color: var(--gdm-ink); color: var(--gdm-on-dark); font-weight: 700; }
.gdm-arc .gdm-pg .is-dots { border-color: transparent; color: var(--gdm-muted); }

/* Testo lungo sotto le card */
.gdm-arc .gdm-archive-text-wrap { background: var(--gdm-soft); padding: 80px 0 96px; width: 100%; }
.gdm-arc .gdm-archive-text-inner { max-width: var(--gdm-wrap); margin: 0 auto; padding: 0 var(--gdm-gutter); }
.gdm-arc .gdm-archive-text-content { display: block; max-width: 760px; margin: 0 auto; font-size: 17px; line-height: 1.7; }
.gdm-arc .gdm-archive-text-content > *:first-child { margin-top: 0; }
.gdm-arc .gdm-archive-text-content, .gdm-arc .gdm-archive-text-content p, .gdm-arc .gdm-archive-text-content li, .gdm-arc .gdm-archive-text-content span { color: var(--gdm-ink-2) !important; background: transparent !important; }
.gdm-arc .gdm-archive-text-content h2 { grid-column: 1 / -1; font-size: 34px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; color: var(--gdm-ink) !important; margin: 48px 0 12px; padding-top: 18px; border-top: 1px solid var(--gdm-ink); background: transparent !important; }
.gdm-arc .gdm-archive-text-content h2:first-child { margin-top: 0; }
.gdm-arc .gdm-archive-text-content h3 { font-size: 22px; font-weight: 700; letter-spacing: -.01em; color: var(--gdm-ink) !important; margin: 24px 0 8px; line-height: 1.2; background: transparent !important; }
.gdm-arc .gdm-archive-text-content h4 { font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--gdm-ink) !important; margin: 20px 0 6px; background: transparent !important; }
.gdm-arc .gdm-archive-text-content p { margin: 0 0 14px; }
.gdm-arc .gdm-archive-text-content strong { color: var(--gdm-ink) !important; font-weight: 700; }
.gdm-arc .gdm-archive-text-content a { color: var(--gdm-ink) !important; text-decoration: underline; text-underline-offset: 3px; }
.gdm-arc .gdm-archive-text-content ul, .gdm-arc .gdm-archive-text-content ol { padding-left: 18px; margin: 0 0 14px; }
.gdm-arc .gdm-archive-text-content li { margin-bottom: 5px; }

@media (max-width: 960px) {
	.gdm-arc .gdm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 28px; }
	.gdm-arc .gdm-card.featured, .gdm-arc .gdm-grid.list-view .gdm-card.featured { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}
@media (max-width: 800px) { .gdm-arc .gdm-archive-text-content { grid-template-columns: minmax(0, 1fr); gap: 0; } }
@media (max-width: 640px) {
	.gdm-arc .gdm-archive-hero { padding: 32px 0 28px; }
	.gdm-arc .gdm-breadcrumb { margin-bottom: 18px; }
	.gdm-arc .gdm-archive-hero-desc { font-size: 16px; }
	.gdm-arc .gdm-subcats-arrow { display: none; }
	.gdm-arc .gdm-subcats-inner { padding: 12px var(--gdm-gutter); }
	.gdm-arc .gdm-archive-inner { padding: 32px var(--gdm-gutter) 64px; }
	.gdm-arc .gdm-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
	.gdm-arc .gdm-card-title { font-size: 21px; }
	.gdm-arc .gdm-card.featured { padding-bottom: 36px; }
	.gdm-arc .gdm-grid.list-view .gdm-card { grid-template-columns: 112px minmax(0, 1fr); gap: 14px; padding: 16px 0; }
	.gdm-arc .gdm-grid.list-view .gdm-card-cat-badge, .gdm-arc .gdm-grid.list-view .gdm-card-excerpt { display: none; }
	.gdm-arc .gdm-grid.list-view .gdm-card-title { font-size: 17px; }
	.gdm-arc .gdm-pg a, .gdm-arc .gdm-pg span { min-width: 40px; height: 40px; font-size: 14px; }
	.gdm-arc .gdm-archive-text-wrap { padding: 48px 0 60px; }
	.gdm-arc .gdm-archive-text-content h2 { font-size: 26px; }
}


/* ════════════════════════════════════════════
   6. ACCENTO GIALLO (come Oceanographic: poco e solo con testo nero)
   Per toglierlo basta cancellare questa sezione.
   ════════════════════════════════════════════ */
/* Barra in alto */
#gdm-topbar { background: var(--gdm-accent); color: var(--gdm-on-accent); }
#gdm-topbar a, #gdm-topbar .gdm-tb-partner { color: var(--gdm-on-accent); }
/* Bottoni d'azione */
.gdm-books-btn, .gdmh-btn, .gdm-art .gdm-book-banner__cta { background: var(--gdm-accent) !important; color: var(--gdm-on-accent) !important; }
.gdm-books-btn:hover, .gdmh-btn:hover { background: var(--gdm-accent) !important; }
.gdmh-nl .wpcf7 input[type=submit] { background: var(--gdm-accent); color: var(--gdm-on-accent); }
/* Etichetta "In evidenza" sulla foto di apertura */
.gdmh-badge { background: var(--gdm-accent); color: var(--gdm-on-accent); border-color: var(--gdm-accent); }
/* Fascia gialla in home: l'atlante delle specie */
.gdmh-atlas-box { background: var(--gdm-accent); }
.gdmh-atlas .gdmh-kicker, .gdmh-search label { color: var(--gdm-on-accent); }
.gdmh-atlas-top p { color: var(--gdm-on-accent); }
/* Barra di lettura dell'articolo */
.gdm-art .gdm-progress { background: var(--gdm-accent); height: 4px; }


/* ════════════════════════════════════════════
   7. SCHEDA SPECIE ALIENA (single-scheda-ias.php) — tutto dentro .ias-wrap
   Il giallo qui fa da segnale di allerta, come un cartello.
   ════════════════════════════════════════════ */
.ias-wrap { font-family: var(--gdm-font); color: var(--gdm-ink); background: var(--gdm-paper); overflow-x: clip; }
.ias-wrap *, .ias-wrap *::before, .ias-wrap *::after { box-sizing: border-box; }
.ias-wrap a { color: inherit; text-decoration: none; }
.ias-wrap .ias-container { width: min(var(--gdm-wrap), calc(100% - 2 * var(--gdm-gutter))); margin: 0 auto; }

/* Apertura: foto a tutto schermo */
.ias-wrap .ias-hero { position: relative; min-height: min(760px, 86vh); display: grid; grid-template-rows: auto auto 1fr; overflow: hidden; background: #2A3A44; color: var(--gdm-on-dark); }
.ias-wrap .ias-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center 35%; filter: none; transform: none; }
.ias-wrap .ias-hero__gradient { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,14,18,.88) 0%, rgba(10,14,18,.45) 45%, rgba(10,14,18,.1) 75%, rgba(10,14,18,.25) 100%); }
.ias-wrap .ias-hero__stripes, .ias-wrap .ias-hero__scroll { display: none; }
.ias-wrap .ias-hero__alert-bar { position: relative; z-index: 20; background: var(--gdm-accent, #FFE32B); color: var(--gdm-on-accent, #111); padding: 10px var(--gdm-gutter); text-align: center; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.ias-wrap .ias-hero__alert-bar::before, .ias-wrap .ias-hero__alert-bar::after { content: none; }
.ias-wrap .ias-hero__nav { position: relative; z-index: 10; padding: 24px 0 0; }
.ias-wrap .ias-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 13px; color: rgba(255,255,255,.75); list-style: none; margin: 0; padding: 0; }
.ias-wrap .ias-breadcrumb a:hover { color: var(--gdm-on-dark); text-decoration: underline; }
.ias-wrap .ias-breadcrumb .sep { opacity: .5; }
.ias-wrap .ias-hero__inner { position: relative; z-index: 5; padding: 0 0 56px; display: flex; flex-direction: column; justify-content: flex-end; }
.ias-wrap .ias-hero__eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gdm-on-dark); margin-bottom: 14px; }
.ias-wrap .ias-hero__eyebrow-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gdm-accent, #FFE32B); animation: none; }
.ias-wrap .ias-hero__title { font-family: var(--gdm-font); font-size: clamp(40px, 5.6vw, 76px); font-weight: 700; line-height: 1; letter-spacing: -.03em; color: var(--gdm-on-dark); margin: 0 0 12px; max-width: 900px; text-shadow: none; }
.ias-wrap .ias-hero__scientific { font-family: var(--gdm-font); font-style: italic; font-size: clamp(18px, 2vw, 24px); color: rgba(255,255,255,.85); margin: 0 0 26px; }
.ias-wrap .ias-hero__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.ias-wrap .ias-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 0; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; border: 1px solid rgba(255,255,255,.6); background: transparent; color: var(--gdm-on-dark); backdrop-filter: none; }
.ias-wrap .ias-badge--invasiva { background: var(--gdm-accent, #FFE32B); border-color: var(--gdm-accent, #FFE32B); color: var(--gdm-on-accent, #111); font-weight: 700; }
.ias-wrap .ias-badge--pericolo { background: var(--gdm-on-dark); border-color: var(--gdm-on-dark); color: var(--gdm-ink); font-weight: 700; }
.ias-wrap .ias-badge--iucn { border-color: transparent; }
.ias-wrap .ias-hero__byline { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 14px; color: rgba(255,255,255,.85); }
.ias-wrap .ias-hero__byline img { width: 32px; height: 32px; border-radius: 50%; border: 0; object-fit: cover; }
.ias-wrap .ias-hero__byline a { color: var(--gdm-on-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.ias-wrap .ias-hero__byline-dot { width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,.6); }

/* Fascia "pericolosa per l'uomo" */
.ias-wrap .ias-danger-bar { background: var(--gdm-ink); border: 0; padding: 18px 0; }
.ias-wrap .ias-danger-bar__inner { display: flex; align-items: flex-start; gap: 16px; font-size: 15px; color: var(--gdm-on-dark-2); line-height: 1.5; }
.ias-wrap .ias-danger-bar__icon { display: none; }
.ias-wrap .ias-danger-bar strong { display: inline-block; margin: 0 0 6px; padding: 3px 8px; background: var(--gdm-accent, #FFE32B); color: var(--gdm-on-accent, #111); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.ias-wrap .ias-danger-bar strong + * , .ias-wrap .ias-danger-bar__inner div { color: var(--gdm-on-dark); }

/* Corpo: scheda a sinistra, testo a destra */
.ias-wrap .ias-main { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 64px; padding: 56px 0 88px; align-items: start; }
.ias-wrap .ias-sidebar { display: flex; flex-direction: column; gap: 28px; }
.ias-wrap .ias-card { background: transparent; border: 0; border-radius: 0; padding: 0; box-shadow: none; }
.ias-wrap .ias-card--sticky { position: sticky; top: 24px; }
.ias-wrap .ias-card--accent { background: var(--gdm-soft); padding: 22px; }
.ias-wrap .ias-card__header { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--gdm-ink); }
.ias-wrap .ias-card__icon { display: none; }
.ias-wrap .ias-card__title { font-family: var(--gdm-font); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--gdm-ink); margin: 0; }
.ias-wrap .ias-thumb { border-radius: 0; overflow: hidden; aspect-ratio: 4 / 3; background: var(--gdm-ph); }
.ias-wrap .ias-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ias-wrap .ias-facts { display: flex; flex-direction: column; }
.ias-wrap .ias-fact { display: grid; gap: 3px; padding: 11px 0; border-bottom: 1px solid rgba(17,17,17,.12); }
.ias-wrap .ias-fact:first-child { padding-top: 0; }
.ias-wrap .ias-fact:last-child { padding-bottom: 0; border-bottom: none; }
.ias-wrap .ias-fact__label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--gdm-muted); }
.ias-wrap .ias-fact__value { font-size: 15px; color: var(--gdm-ink); line-height: 1.45; }
.ias-wrap .ias-taxlink { color: var(--gdm-ink); text-decoration: underline; text-underline-offset: 3px; border: 0; }
.ias-wrap .ias-iucn-badge { display: inline-flex; align-items: center; padding: 3px 8px; border-radius: 0; font-size: 12px; font-weight: 700; }
.ias-wrap .ias-sources { background: transparent; border: 0; border-top: 1px solid var(--gdm-ink); border-radius: 0; padding: 14px 0 0; }
.ias-wrap .ias-sources__title { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--gdm-ink); margin: 0 0 8px; }
.ias-wrap .ias-sources__link { display: flex; align-items: center; gap: 8px; padding: 9px 0; border-bottom: 1px solid var(--gdm-line); font-size: 14px; color: var(--gdm-ink); font-weight: 500; }
.ias-wrap .ias-sources__link:last-child { border-bottom: none; }
.ias-wrap .ias-sources__link:hover { text-decoration: underline; }

.ias-wrap .ias-content { display: flex; flex-direction: column; gap: 48px; min-width: 0; max-width: 760px; }
.ias-wrap .ias-article { font-family: var(--gdm-font); font-size: 19px; line-height: 1.68; color: var(--gdm-ink); }
.ias-wrap .ias-article > * + * { margin-top: 1.1em; }
.ias-wrap .ias-article > *:first-child { margin-top: 0; }
.ias-wrap .ias-article h2 { font-family: var(--gdm-font); font-size: clamp(26px, 2.6vw, 34px); font-weight: 700; line-height: 1.12; letter-spacing: -.02em; color: var(--gdm-ink); margin-top: 2em; margin-bottom: .6em; border: 0; padding: 0; }
.ias-wrap .ias-article h3 { font-family: var(--gdm-font); font-size: clamp(20px, 2vw, 24px); font-weight: 700; letter-spacing: -.01em; color: var(--gdm-ink); margin-top: 1.6em; margin-bottom: .5em; }
.ias-wrap .ias-article p { margin: 0 0 1em; }
.ias-wrap .ias-article a { color: var(--gdm-ink); text-decoration: underline; text-underline-offset: 3px; }
.ias-wrap .ias-article ul, .ias-wrap .ias-article ol { padding-left: 1.3em; margin: 0 0 1em; font-size: 18px; }
.ias-wrap .ias-article li + li { margin-top: .4em; }
.ias-wrap .ias-article blockquote { margin: 1.8em 0; padding: 20px 0; border: 0; border-top: 1px solid var(--gdm-ink); border-bottom: 1px solid var(--gdm-ink); background: transparent; border-radius: 0; font-style: normal; font-size: 22px; line-height: 1.4; font-weight: 500; color: var(--gdm-ink); }
.ias-wrap .ias-article img { max-width: 100%; height: auto; border-radius: 0; display: block; }

.ias-wrap .ias-faq { display: flex; flex-direction: column; }
.ias-wrap .ias-faq__item { border-bottom: 1px solid var(--gdm-line); }
.ias-wrap .ias-faq__q { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 16px 0; cursor: pointer; list-style: none; font-family: var(--gdm-font); font-size: 18px; font-weight: 700; color: var(--gdm-ink); }
.ias-wrap .ias-faq__q:hover { text-decoration: underline; }
.ias-wrap .ias-faq__q::-webkit-details-marker { display: none; }
.ias-wrap .ias-faq__chevron { flex-shrink: 0; width: 24px; height: 24px; border-radius: 0; border: 1px solid var(--gdm-ink); background: transparent; display: flex; align-items: center; justify-content: center; transition: transform .2s; margin-top: 1px; }
.ias-wrap details[open] .ias-faq__chevron { transform: rotate(180deg); background: var(--gdm-ink); }
.ias-wrap details[open] .ias-faq__chevron svg { color: var(--gdm-paper); }
.ias-wrap .ias-faq__a { padding: 0 0 18px; font-size: 16px; line-height: 1.65; color: var(--gdm-ink-2); }

.ias-wrap .ias-content > .ias-card:last-child { background: var(--gdm-soft); padding: 26px 28px; }
.ias-wrap .ias-author { display: flex; gap: 20px; align-items: flex-start; }
.ias-wrap .ias-author__avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 0; }
.ias-wrap .ias-author__avatar-ph { width: 64px; height: 64px; border-radius: 50%; background: var(--gdm-ink); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--gdm-on-dark); font-weight: 700; font-size: 22px; }
.ias-wrap .ias-author__body { flex: 1; min-width: 0; }
.ias-wrap .ias-author__name { font-family: var(--gdm-font); font-size: 22px; font-weight: 700; letter-spacing: -.015em; color: var(--gdm-ink); margin: 0 0 2px; }
.ias-wrap .ias-author__role { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--gdm-muted); margin-bottom: 10px; }
.ias-wrap .ias-author__bio { font-size: 15px; line-height: 1.6; color: var(--gdm-ink-2); margin: 0 0 10px; }
.ias-wrap .ias-author__link { font-size: 14px; font-weight: 600; color: var(--gdm-ink); text-decoration: underline; text-underline-offset: 3px; border: 0; }

/* Altre specie + Esplora */
.ias-wrap .ias-section { padding: 72px 0; }
.ias-wrap .ias-section--dark { background: var(--gdm-paper); border-top: 1px solid var(--gdm-line) !important; }
.ias-wrap .ias-section__head { margin-bottom: 32px; }
.ias-wrap .ias-section__eyebrow { display: block; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--gdm-muted); margin: 0 0 10px; }
.ias-wrap .ias-section__eyebrow::before { content: none; }
.ias-wrap .ias-section__title { font-family: var(--gdm-font); font-size: clamp(28px, 3vw, 40px); font-weight: 700; letter-spacing: -.02em; color: var(--gdm-ink); margin: 0 0 6px; }
.ias-wrap .ias-section__sub { font-size: 16px; color: var(--gdm-ink-2); margin: 0; }
.ias-wrap .ias-related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.ias-wrap .ias-related-card { display: block; background: transparent; border: 0; border-radius: 0; overflow: visible; box-shadow: none; transform: none; }
.ias-wrap .ias-related-card:hover { transform: none; box-shadow: none; }
.ias-wrap .ias-related-card__img-wrap { overflow: hidden; height: auto; aspect-ratio: 4 / 3; background: var(--gdm-ph); margin-bottom: 14px; }
.ias-wrap .ias-related-card__img { width: 100%; height: 100%; object-fit: cover; display: block; transform: none; }
.ias-wrap .ias-related-card__body { padding: 0; }
.ias-wrap .ias-related-card__cat { display: block; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--gdm-muted); margin-bottom: 6px; }
.ias-wrap .ias-related-card__title { font-family: var(--gdm-font); font-size: 22px; font-weight: 700; line-height: 1.18; letter-spacing: -.015em; color: var(--gdm-ink); margin: 0; }
.ias-wrap .ias-related-card:hover .ias-related-card__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.ias-wrap .ias-explore-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.ias-wrap .ias-explore-card { display: inline-flex; align-items: center; gap: 0; padding: 10px 16px; border-radius: 0; background: transparent; border: 1px solid var(--gdm-ink); color: var(--gdm-ink); font-size: 15px; font-weight: 600; transform: none; }
.ias-wrap .ias-explore-card:hover { background: var(--gdm-ink); color: var(--gdm-paper); transform: none; border-color: var(--gdm-ink); }
.ias-wrap .ias-explore-card__icon { display: none; }

@media (max-width: 900px) {
	.ias-wrap .ias-main { grid-template-columns: minmax(0, 1fr); gap: 40px; padding: 36px 0 56px; }
	.ias-wrap .ias-card--sticky { position: static; }
	.ias-wrap .ias-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
	.ias-wrap .ias-author { flex-direction: column; }
}
@media (max-width: 600px) {
	.ias-wrap .ias-hero { min-height: 78vh; }
	.ias-wrap .ias-hero__title { font-size: 36px; }
	.ias-wrap .ias-hero__inner { padding-bottom: 32px; }
	.ias-wrap .ias-article { font-size: 18px; }
	.ias-wrap .ias-related-grid { grid-template-columns: minmax(0, 1fr); }
	.ias-wrap .ias-section { padding: 48px 0; }
}


/* ════════════════════════════════════════════
   8. PAGINA SPECIE ALIENE (page-specie-aliene.php) — tutto dentro .ias-hub
   ════════════════════════════════════════════ */
.ias-hub { font-family: var(--gdm-font); color: var(--gdm-ink); background: var(--gdm-paper); overflow-x: clip; }
.ias-hub *, .ias-hub *::before, .ias-hub *::after { box-sizing: border-box; }
.ias-hub :where(h1, h2, h3, p) { margin: 0; }
.ias-hub a { color: inherit; text-decoration: none; }
.ias-hub img { display: block; max-width: 100%; }

/* Apertura */
.ias-hub .ias-hero { position: relative; height: min(780px, 88vh); min-height: 560px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; background: #2A3A44; color: var(--gdm-on-dark); }
.ias-hub .ias-hero__bg { position: absolute; inset: 0; }
.ias-hub .ias-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; opacity: 1; animation: none; }
.ias-hub .ias-hero__overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,14,18,.88) 0%, rgba(10,14,18,.4) 50%, rgba(10,14,18,.1) 100%); }
.ias-hub .ias-hero__overlay::after { content: none; }
.ias-hub .ias-hero__content { position: relative; z-index: 2; width: 100%; max-width: var(--gdm-wrap); margin: 0 auto; padding: 0 var(--gdm-gutter) 56px; }
.ias-hub .ias-hero__bc { display: flex; gap: 8px; font-size: 13px; color: rgba(255,255,255,.75); margin-bottom: 24px; }
.ias-hub .ias-hero__bc a:hover { color: var(--gdm-on-dark); text-decoration: underline; }
.ias-hub .ias-hero__bc-here { color: var(--gdm-on-dark); }
.ias-hub .ias-hero__eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.ias-hub .ias-hero__line { width: 10px; height: 10px; border-radius: 50%; background: var(--gdm-accent, #FFE32B); }
.ias-hub .ias-hero__cat { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.ias-hub .ias-hero__title { font-family: var(--gdm-font); font-size: clamp(44px, 6.4vw, 92px); font-weight: 700; line-height: .98; letter-spacing: -.035em; color: var(--gdm-on-dark); margin: 0 0 20px; }
.ias-hub .ias-hero__title em { font-style: normal; color: var(--gdm-on-dark); }
.ias-hub .ias-hero__desc { max-width: 640px; font-size: 19px; line-height: 1.5; color: rgba(255,255,255,.9); margin: 0 0 28px; }
.ias-hub .ias-hero__nav { display: flex; flex-wrap: wrap; gap: 8px; }
.ias-hub .ias-hero__nav a { padding: 8px 14px; border: 1px solid rgba(255,255,255,.7); font-size: 14px; font-weight: 600; color: var(--gdm-on-dark); }
.ias-hub .ias-hero__nav a:hover { background: var(--gdm-on-dark); color: var(--gdm-ink); }

/* Barra sezioni */
.ias-hub .ias-nav { background: var(--gdm-paper); position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--gdm-line); }
.ias-hub .ias-nav__inner { max-width: var(--gdm-wrap); margin: 0 auto; padding: 0 var(--gdm-gutter); display: flex; gap: 24px; overflow-x: auto; scrollbar-width: none; }
.ias-hub .ias-nav__inner::-webkit-scrollbar { display: none; }
.ias-hub .ias-nav__a { font-size: 14px; font-weight: 500; color: var(--gdm-muted); padding: 14px 0; white-space: nowrap; border-bottom: 2px solid transparent; }
.ias-hub .ias-nav__a:hover { color: var(--gdm-ink); border-color: var(--gdm-ink); }

/* Numeri: fascia gialla */
.ias-hub .ias-stats { background: var(--gdm-accent, #FFE32B); color: var(--gdm-on-accent, #111); }
.ias-hub .ias-stats__inner { max-width: var(--gdm-wrap); margin: 0 auto; padding: 0 var(--gdm-gutter); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ias-hub .ias-stat { padding: 32px 24px 32px 0; border-right: 1px solid rgba(17,17,17,.2); }
.ias-hub .ias-stat + .ias-stat { padding-left: 24px; }
.ias-hub .ias-stat:last-child { border-right: none; }
.ias-hub .ias-stat__num { font-size: 48px; font-weight: 700; letter-spacing: -.03em; line-height: 1; margin-bottom: 8px; }
.ias-hub .ias-stat__label { font-size: 15px; line-height: 1.4; }

/* Sezioni di testo */
.ias-hub .ias-section { padding: 96px var(--gdm-gutter); max-width: var(--gdm-wrap); margin: 0 auto; }
.ias-hub .ias-section-label { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gdm-muted); margin-bottom: 12px; display: block; }
.ias-hub .ias-section-label::after { content: none; }
.ias-hub .ias-section h2, .ias-hub .ias-h2 { font-family: var(--gdm-font); font-size: clamp(30px, 3.6vw, 48px); font-weight: 700; line-height: 1.05; letter-spacing: -.025em; color: var(--gdm-ink); margin: 0 0 22px; max-width: 900px; }
.ias-hub .ias-section p, .ias-hub .ias-intro { font-size: 18px; line-height: 1.65; color: var(--gdm-ink-2); margin: 0 0 16px; max-width: 760px; }
.ias-hub .ias-section strong { font-weight: 700; color: var(--gdm-ink); }
.ias-hub .ias-arrive-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; align-items: start; margin-top: 8px; }
.ias-hub .ias-arrive-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 32px; }
.ias-hub .ias-arrive-card { border-top: 1px solid var(--gdm-ink); padding-top: 14px; background: transparent; }
.ias-hub .ias-arrive-card h3 { font-size: 19px; font-weight: 700; letter-spacing: -.01em; margin: 0 0 8px; color: var(--gdm-ink); }
.ias-hub .ias-arrive-card p { font-size: 15px; line-height: 1.55; margin: 0; }
.ias-hub .ias-sidebar-box { background: var(--gdm-soft); padding: 22px; position: sticky; top: 72px; }
.ias-hub .ias-sidebar-box h3 { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gdm-ink); padding-bottom: 12px; border-bottom: 1px solid var(--gdm-ink); margin: 0 0 4px; }
.ias-hub .ias-sidebar-link { display: block; padding: 11px 0; border-bottom: 1px solid rgba(17,17,17,.12); font-size: 16px; font-weight: 600; background: transparent; }
.ias-hub .ias-sidebar-link:last-child { border-bottom: 0; }
.ias-hub .ias-sidebar-link::before { content: none; }
.ias-hub .ias-sidebar-link:hover { text-decoration: underline; background: transparent; }
.ias-hub .ias-foto-full { margin-top: 40px; }
.ias-hub .ias-foto-full img { width: 100%; height: 440px; object-fit: cover; display: block; background: var(--gdm-ph); }
.ias-hub .ias-foto-full__cap { font-size: 13px; color: var(--gdm-muted); margin-top: 10px; background: none; padding: 0; position: static; }
.ias-hub .ias-impatto { background: var(--gdm-soft); }
.ias-hub .ias-callout { margin: 32px 0 0; padding: 24px 0; border-top: 1px solid var(--gdm-ink); border-bottom: 1px solid var(--gdm-ink); background: transparent; max-width: 900px; }
.ias-hub .ias-callout h3 { font-size: 24px; font-weight: 700; letter-spacing: -.015em; margin: 0 0 10px; color: var(--gdm-ink); }
.ias-hub .ias-callout p { font-size: 17px; margin: 0; }
.ias-hub .ias-impact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-top: 32px; max-width: 900px; }
.ias-hub .ias-impact { border-top: 1px solid var(--gdm-ink); padding-top: 14px; }
.ias-hub .ias-impact h3 { font-size: 20px; font-weight: 700; letter-spacing: -.01em; margin: 0 0 8px; }
.ias-hub .ias-section .ias-impact p { font-size: 16px; line-height: 1.6; margin: 0; }

/* Schede specie */
.ias-hub .ias-schede-wrap { padding: 96px var(--gdm-gutter); background: var(--gdm-paper); }
.ias-hub .ias-schede-inner { max-width: calc(var(--gdm-wrap) - 2 * var(--gdm-gutter)); margin: 0 auto; }
.ias-hub .ias-schede-header { margin-bottom: 40px; }
.ias-hub .ias-schede-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 48px 32px; }
.ias-hub .ias-card { background: transparent; border: 0; overflow: visible; display: flex; flex-direction: column; box-shadow: none; transform: none; }
.ias-hub .ias-card:hover { transform: none; box-shadow: none; }
.ias-hub .ias-card__img { position: relative; aspect-ratio: 4 / 3; height: auto; overflow: hidden; background: var(--gdm-soft); margin-bottom: 14px; }
.ias-hub .ias-card__img img { width: 100%; height: 100%; object-fit: cover; transform: none; }
.ias-hub .ias-card__img-ph { width: 100%; height: 100%; background: var(--gdm-soft); font-size: 0; }
.ias-hub .ias-card__via { position: absolute; left: 0; bottom: 0; background: var(--gdm-paper) !important; color: var(--gdm-ink) !important; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 6px 10px 0 0; border-radius: 0; }
.ias-hub .ias-card__body { padding: 0; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.ias-hub .ias-card__sci { font-size: 14px; font-style: italic; color: var(--gdm-muted); }
.ias-hub .ias-card__name { font-size: 22px; font-weight: 700; line-height: 1.18; letter-spacing: -.015em; color: var(--gdm-ink); }
.ias-hub .ias-card:hover .ias-card__name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.ias-hub .ias-card__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.ias-hub .ias-card__tag { font-size: 12px; color: var(--gdm-ink-2); border: 1px solid var(--gdm-line); padding: 2px 8px; border-radius: 0; background: transparent; }
.ias-hub .ias-card__link { display: none; }
.ias-hub .ias-loadmore-wrap { display: flex; justify-content: center; margin-top: 56px; }
.ias-hub .ias-loadmore-btn { height: 50px; padding: 0 28px; border: 1px solid var(--gdm-ink); border-radius: 0; background: var(--gdm-paper); color: var(--gdm-ink); font-family: var(--gdm-font); font-size: 15px; font-weight: 700; cursor: pointer; }
.ias-hub .ias-loadmore-btn::after { content: none; }
.ias-hub .ias-loadmore-btn:hover { background: var(--gdm-ink); color: var(--gdm-paper); }
.ias-hub .ias-loadmore-btn:disabled { opacity: .5; cursor: default; }
.ias-hub .ias-empty { font-size: 16px; color: var(--gdm-muted); padding: 32px 0; }

/* Aggiornamenti: blocco nero */
.ias-hub .ias-news-wrap { background: var(--gdm-ink); color: var(--gdm-on-dark); padding: 96px var(--gdm-gutter); }
.ias-hub .ias-news-inner { max-width: calc(var(--gdm-wrap) - 2 * var(--gdm-gutter)); margin: 0 auto; }
.ias-hub .ias-news-header { margin-bottom: 36px; }
.ias-hub .ias-news-header h2 { font-size: clamp(30px, 3.6vw, 48px); font-weight: 700; letter-spacing: -.025em; line-height: 1.05; color: var(--gdm-on-dark); }
.ias-hub .ias-news-rule { display: none; }
.ias-hub .ias-news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; }
.ias-hub .ias-news-card { display: flex; flex-direction: column; background: transparent; border: 0; }
.ias-hub .ias-news-card:hover { background: transparent; }
.ias-hub .ias-news-card__img { aspect-ratio: 16 / 10; height: auto; overflow: hidden; background: #2a2a2a; margin-bottom: 14px; }
.ias-hub .ias-news-card__img img { width: 100%; height: 100%; object-fit: cover; transform: none; }
.ias-hub .ias-news-card__body { padding: 0; display: flex; flex-direction: column; gap: 6px; }
.ias-hub .ias-news-card__date { font-size: 13px; color: var(--gdm-on-dark-2); }
.ias-hub .ias-news-card__title { font-size: 21px; font-weight: 700; line-height: 1.2; letter-spacing: -.015em; color: var(--gdm-on-dark); }
.ias-hub .ias-news-card:hover .ias-news-card__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.ias-hub .ias-news-card__link { display: none; }
.ias-hub .ias-news-all { display: inline-flex; align-items: center; height: 50px; padding: 0 24px; margin-top: 48px; background: var(--gdm-accent, #FFE32B); color: var(--gdm-on-accent, #111); font-size: 15px; font-weight: 700; border: 0; }
.ias-hub .ias-news-all::after { content: none; }
.ias-hub .ias-news-all:hover { text-decoration: underline; background: var(--gdm-accent, #FFE32B); }
.ias-hub .ias-news-empty { color: var(--gdm-on-dark-2); padding: 20px 0; }

/* Video */
.ias-hub .ias-video-wrap { padding: 96px var(--gdm-gutter); }
.ias-hub .ias-video-inner { max-width: calc(var(--gdm-wrap) - 2 * var(--gdm-gutter)); margin: 0 auto; }
.ias-hub .ias-video-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; margin-top: 36px; }
.ias-hub .ias-video-card { background: transparent; border: 0; }
.ias-hub .ias-video-frame { position: relative; padding-top: 56.25%; background: var(--gdm-ink); }
.ias-hub .ias-video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ias-hub .ias-video-meta { padding: 12px 0 0; }
.ias-hub .ias-video-meta h3 { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gdm-muted); margin: 0 0 4px; }
.ias-hub .ias-video-meta p { font-size: 18px; font-weight: 700; letter-spacing: -.01em; color: var(--gdm-ink); margin: 0; }

/* FAQ */
.ias-hub .ias-faq-wrap { padding: 96px var(--gdm-gutter); background: var(--gdm-soft); }
.ias-hub .ias-faq-inner { max-width: 860px; margin: 0 auto; }
.ias-hub .ias-faq-item { border-bottom: 1px solid rgba(17,17,17,.15); }
.ias-hub .ias-faq-item:first-of-type { border-top: 1px solid var(--gdm-ink); }
.ias-hub .ias-faq-btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; background: none; border: 0; text-align: left; font-family: var(--gdm-font); font-size: 19px; font-weight: 700; color: var(--gdm-ink); cursor: pointer; }
.ias-hub .ias-faq-btn:hover { text-decoration: underline; }
.ias-hub .ias-faq-icon { flex-shrink: 0; width: 28px; height: 28px; border: 1px solid var(--gdm-ink); display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 500; transition: transform .2s; }
.ias-hub .ias-faq-item.open .ias-faq-icon { transform: rotate(45deg); background: var(--gdm-ink); color: var(--gdm-paper); }
.ias-hub .ias-faq-ans { display: none; padding: 0 0 20px; font-size: 17px; line-height: 1.65; color: var(--gdm-ink-2); }
.ias-hub .ias-faq-item.open .ias-faq-ans { display: block; }

/* Approfondisci */
.ias-hub .ias-links-wrap { padding: 80px var(--gdm-gutter) 96px; }
.ias-hub .ias-links-inner { max-width: calc(var(--gdm-wrap) - 2 * var(--gdm-gutter)); margin: 0 auto; }
.ias-hub .ias-links-title { font-size: 40px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 28px; color: var(--gdm-ink); }
.ias-hub .ias-links-group { margin-bottom: 28px; }
.ias-hub .ias-links-group-title { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gdm-muted); margin-bottom: 12px; }
.ias-hub .ias-links-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.ias-hub .ias-links-pill { padding: 8px 14px; border: 1px solid var(--gdm-ink); border-radius: 0; font-size: 15px; font-weight: 500; background: transparent; color: var(--gdm-ink); }
.ias-hub .ias-links-pill:hover { background: var(--gdm-ink); color: var(--gdm-paper); }

@media (max-width: 1060px) {
	.ias-hub .ias-news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ias-hub .ias-video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
	.ias-hub .ias-arrive-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.ias-hub .ias-sidebar-box { position: static; }
	.ias-hub .ias-stats__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ias-hub .ias-stat, .ias-hub .ias-stat + .ias-stat { padding: 22px 16px 22px 0; border-right: 0; border-bottom: 1px solid rgba(17,17,17,.2); }
}
@media (max-width: 640px) {
	.ias-hub .ias-hero { min-height: 520px; height: 84vh; }
	.ias-hub .ias-hero__content { padding-bottom: 32px; }
	.ias-hub .ias-hero__title { font-size: 44px; }
	.ias-hub .ias-hero__desc { font-size: 16px; }
	.ias-hub .ias-stat__num { font-size: 34px; }
	.ias-hub .ias-stat__label { font-size: 13px; }
	.ias-hub .ias-section, .ias-hub .ias-schede-wrap, .ias-hub .ias-news-wrap, .ias-hub .ias-video-wrap, .ias-hub .ias-faq-wrap, .ias-hub .ias-links-wrap { padding-top: 56px; padding-bottom: 56px; }
	.ias-hub .ias-arrive-cards, .ias-hub .ias-impact-grid, .ias-hub .ias-news-grid, .ias-hub .ias-video-grid { grid-template-columns: minmax(0, 1fr); }
	.ias-hub .ias-foto-full img { height: 260px; }
	.ias-hub .ias-links-title { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) { .ias-hub *, .ias-wrap * { animation: none !important; transition: none !important; } }


/* ════════════════════════════════════════════
   9. SLIDER DI APERTURA (home-gdm.php)
   ════════════════════════════════════════════ */
.gdmh-slider { position: relative; height: min(720px, 82vh); min-height: 460px; overflow: hidden; background: #2A3A44; }
.gdmh-slider .gdmh-slide { position: absolute; inset: 0; height: auto; min-height: 0; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility 0s linear .7s; }
.gdmh-slider .gdmh-slide.is-active { opacity: 1; visibility: visible; transition: opacity .7s ease, visibility 0s; z-index: 1; }
.gdmh-slider .gdmh-hero-body { padding-bottom: 72px; padding-right: 140px; }
.gdmh-sl-arrow { position: absolute; top: 42%; z-index: 5; width: 56px; height: 56px; margin-top: -28px; display: flex; align-items: center; justify-content: center; padding: 0; border: 0; border-radius: 0; background: rgba(255,255,255,.92); color: var(--gdm-ink); cursor: pointer; transition: background .2s; }
.gdmh-sl-arrow:hover { background: var(--gdm-accent, #FFE32B); }
.gdmh-sl-arrow:focus-visible { outline: 2px solid var(--gdm-on-dark); outline-offset: 3px; }
.gdmh-sl-arrow svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: square; }
.gdmh-sl-prev { left: 24px; }
.gdmh-sl-next { right: 24px; }
.gdmh-sl-dots { pointer-events: none; position: absolute; z-index: 4; left: 0; right: 0; bottom: 28px; max-width: var(--gdm-wrap); margin: 0 auto; padding: 0 var(--gdm-gutter); display: flex; gap: 8px; }
.gdmh-sl-dot { pointer-events: auto; width: 40px; height: 14px; padding: 6px 0; border: 0; background: transparent; cursor: pointer; }
.gdmh-sl-dot::before { content: ''; display: block; height: 2px; background: rgba(255,255,255,.5); }
.gdmh-sl-dot.is-active::before { background: var(--gdm-accent, #FFE32B); height: 3px; }
.gdmh-sl-dot:focus-visible { outline: 2px solid var(--gdm-on-dark); outline-offset: 2px; }
@media (max-width: 1100px) { .gdmh-slider .gdmh-hero-body { padding-right: var(--gdm-gutter); } .gdmh-sl-arrow { top: auto; bottom: 18px; margin: 0; width: 44px; height: 44px; } .gdmh-sl-prev { left: auto; right: 72px; } .gdmh-sl-next { right: var(--gdm-gutter); } .gdmh-sl-dots { bottom: 32px; } }
@media (max-width: 720px) {
	.gdmh-slider { height: 78vh; min-height: 440px; max-height: 620px; }
	.gdmh-slider .gdmh-hero-body { padding-bottom: 76px; }
	.gdmh-sl-dot { width: 28px; }
}
@media (prefers-reduced-motion: reduce) { .gdmh-slider .gdmh-slide { transition: none; } }


/* ════════════════════════════════════════════
   10. ARTICOLI "POST CUSTOM FULL WIDTH" (post-custom-gdm.php) e PAGINE CUSTOM (pagina-custom-gdm.php)
   Ogni articolo ha il suo CSS dentro l'HTML: qui ne ricolleghiamo le
   variabili più usate ai colori del sito e forziamo il font unico.
   Agisce solo su questo template (classe del body).
   ════════════════════════════════════════════ */
body.post-template-post-custom-gdm #inner-wrap, body.page-template-pagina-custom-gdm #inner-wrap {
	/* fondi e testi scuri → nero */
	--navy: #111111; --navy-2: #111111; --navy2: #111111; --navy3: #1b1b1b; --navy-mid: #1b1b1b; --navy-light: #232323; --navy-soft: #1b1b1b; --navy-dark: #0a0a0a; --deep: #111111; --ocean: #111111; --abisso: #111111; --blu: #111111; --mare: #111111; --dark: #111111; --dark-2: #1b1b1b; --notte: #111111;
	--ink: #111111; --ink2: #3E3E3E; --ink-soft: #3E3E3E; --text: #111111; --testo: #111111; --text-dark: #111111;
	--text-mid: #3E3E3E; --muted: #585858; --text-muted: #585858; --grigio: #585858; --gray: #585858; --grey: #585858; --ink3: #585858; --ink4: #585858;
	/* accenti: giallo dove sta su scuro, nero dove sta su chiaro */
	--gold: #FFE32B; --gold-light: #FFE32B; --gold2: #FFE32B; --ocra-light: #FFE32B; --amber: #FFE32B; --teal-light: #FFE32B; --teal2: #FFE32B; --accent-light: #FFE32B;
	--gold-dark: #111111; --ocra: #111111; --teal: #111111; --teal-dark: #111111; --sea: #111111; --verde: #111111; --accent: #111111; --terra: #111111; --terra-dark: #111111; --coral: #111111;
	/* fondi chiari */
	--cream: #F2F1EE; --cream2: #F2F1EE; --sand: #F2F1EE; --sabbia: #F2F1EE; --sabbia-dark: #E4E4E4; --bianco: #FFFFFF; --paper: #FFFFFF; --bg: #FFFFFF; --bg2: #F2F1EE; --surface: #F2F1EE; --teal-pale: #F2F1EE; --gold-pale: #F2F1EE; --g100: #F2F1EE;
	--line: #E4E4E4; --border: #E4E4E4; --g200: #E4E4E4;
	/* font */
	--font-display: var(--gdm-font); --font-sans: var(--gdm-font); --font-ui: var(--gdm-font); --font-body: var(--gdm-font); --font-serif: var(--gdm-font);
	--ff-display: var(--gdm-font); --ff-ui: var(--gdm-font); --ff-sans: var(--gdm-font); --ff-body: var(--gdm-font); --ff-serif: var(--gdm-font);
	--serif: var(--gdm-font); --sans: var(--gdm-font); --ui: var(--gdm-font); --display: var(--gdm-font); --body: var(--gdm-font); --lora: var(--gdm-font);
}
body.page-template-pagina-custom-gdm #inner-wrap :where(*):not(code, pre, kbd, samp, svg, svg *, [class*="icon"], [class*="fa-"]) { font-family: var(--gdm-font) !important; }
body.post-template-post-custom-gdm #inner-wrap :where(*):not(code, pre, kbd, samp, svg, svg *, [class*="icon"], [class*="fa-"]) { font-family: var(--gdm-font) !important; }


/* ════════════════════════════════════════════
   11. PAGINA "LA REDAZIONE" (HTML custom, classi .gdm-red-*)
   ════════════════════════════════════════════ */
.gdm-red-page .gdm-red-hero { background: var(--gdm-ink); border-radius: 0; padding: 56px 32px 48px; }
.gdm-red-page .gdm-red-hero::before { content: none; }
.gdm-red-page .gdm-red-hero h1 { font-weight: 700; letter-spacing: -.03em; color: #fff; }
.gdm-red-page .gdm-red-hero h1 em { font-style: normal; color: var(--gdm-accent); }
.gdm-red-page .gdm-red-eyebrow { color: var(--gdm-accent); font-size: 12px; font-weight: 600; letter-spacing: .12em; }
.gdm-red-page .gdm-red-eyebrow::after { background: rgba(255,255,255,.25); }
.gdm-red-page .gdm-red-stats { border-top-color: rgba(255,255,255,.2); }
.gdm-red-page .gdm-red-stat-num { color: var(--gdm-accent); font-weight: 700; }
.gdm-red-page .gdm-red-body { background: var(--gdm-paper); border-radius: 0; }
.gdm-red-page .gdm-red-section-label { color: var(--gdm-muted); }
.gdm-red-page .gdm-red-section-label::before { background: var(--gdm-ink); }
.gdm-red-page .gdm-red-director-card, .gdm-red-page .gdm-red-member-card { border-radius: 0; border: 0; border-top: 1px solid var(--gdm-ink); box-shadow: none; background: transparent; }
.gdm-red-page .gdm-red-director-card::before { content: none; }
.gdm-red-page .gdm-red-avatar { border-color: var(--gdm-ink); }
.gdm-red-page .gdm-red-avatar-placeholder { background: var(--gdm-ink); color: var(--gdm-accent); border-color: var(--gdm-ink); }
.gdm-red-page .gdm-red-name, .gdm-red-page .gdm-red-member-name { color: var(--gdm-ink); font-weight: 700; letter-spacing: -.015em; }
.gdm-red-page .gdm-red-role, .gdm-red-page .gdm-red-member-role { color: var(--gdm-muted); }
.gdm-red-page .gdm-red-member-bio { color: var(--gdm-ink-2); border-top-color: var(--gdm-line); }
.gdm-red-page .gdm-red-link { color: var(--gdm-ink); border-color: var(--gdm-ink); border-radius: 0; }
.gdm-red-page .gdm-red-link:hover { background: var(--gdm-ink); color: #fff; border-color: var(--gdm-ink); }
.gdm-red-page .gdm-red-link-author { background: var(--gdm-accent); color: var(--gdm-on-accent); border-color: var(--gdm-accent); }
.gdm-red-page .gdm-red-divider { background: var(--gdm-line); }
.gdm-red-page .gdm-red-mission { background: var(--gdm-ink); border-radius: 0; }
.gdm-red-page .gdm-red-mission span { color: var(--gdm-accent); }


/* ════════════════════════════════════════════
   12. HOME — blocchi aggiunti (inchieste, specie del giorno, newsletter, numeri, guide)
   ════════════════════════════════════════════ */
/* Inchieste: blocco nero */
.gdmh-inch { background: var(--gdm-ink); color: var(--gdm-on-dark); margin-top: 96px; padding: 80px 0; }
.gdmh-inch h2, .gdmh-inch h3 { color: var(--gdm-on-dark); }
.gdmh-inch .gdmh-kicker, .gdmh-inch .gdmh-cat { color: var(--gdm-accent); }
.gdmh-inch-h { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: end; margin-bottom: 36px; }
.gdmh-inch-h h2 { font-size: 40px; line-height: 1.05; margin-top: 8px; }
.gdmh-inch-h p { margin: 0; font-size: 17px; line-height: 1.55; color: var(--gdm-on-dark-2); max-width: 520px; }
.gdmh-inch-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 40px; }
.gdmh-inch-main .gdmh-media { aspect-ratio: 16 / 10; margin-bottom: 18px; }
.gdmh-inch-main .gdmh-t { display: block; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.08; margin-top: 8px; }
.gdmh-inch-main p { margin: 12px 0 0; font-size: 17px; line-height: 1.55; color: var(--gdm-on-dark-2); }
.gdmh-inch-side { display: flex; flex-direction: column; gap: 32px; }
.gdmh-inch-item .gdmh-media { aspect-ratio: 16 / 9; margin-bottom: 14px; }
.gdmh-inch-item .gdmh-t { display: block; font-size: 21px; line-height: 1.18; margin-top: 6px; }
.gdmh-inch .gdmh-media { background: #2a2a2a; }

/* Specie del giorno, dentro la fascia gialla dell'atlante */
.gdmh-sdg { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); background: var(--gdm-paper); color: var(--gdm-ink); }
.gdmh-sdg .gdmh-media { aspect-ratio: 4 / 3; background: var(--gdm-paper); }
.gdmh-sdg .gdmh-img { object-fit: contain; }
.gdmh-sdg-b { padding: 32px 36px; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.gdmh-sdg-k { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gdm-muted); margin-bottom: 6px; }
.gdmh-sdg .gdmh-t { font-size: clamp(28px, 3vw, 40px); font-weight: 700; line-height: 1.05; }
.gdmh-sdg i { font-size: 17px; color: var(--gdm-muted); }
.gdmh-sdg p { margin: 12px 0 0; font-size: 16px; line-height: 1.55; color: var(--gdm-ink-2); }
.gdmh-sdg-cta { align-self: flex-start; margin-top: 18px; padding: 11px 18px; background: var(--gdm-ink); color: var(--gdm-on-dark); font-size: 14px; font-weight: 700; }
.gdmh-sdg:hover .gdmh-sdg-cta { text-decoration: underline; }

/* Newsletter a metà pagina */
.gdmh-nl2 { padding-top: 56px; }
.gdmh-nl2-box { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; border-top: 1px solid var(--gdm-ink); border-bottom: 1px solid var(--gdm-ink); padding: 28px 0; }
.gdmh-nl2-t strong { display: block; font-size: 24px; line-height: 1.2; letter-spacing: -.015em; }
.gdmh-nl2-t span { display: block; margin-top: 6px; font-size: 15px; color: var(--gdm-muted); }
.gdmh-nl2 .wpcf7 form { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-start; }
.gdmh-nl2 .wpcf7 form > p, .gdmh-nl2 .wpcf7 form > div { margin: 0; }
.gdmh-nl2 .wpcf7 input[type=email], .gdmh-nl2 .wpcf7 input[type=text] { height: 50px; min-width: 260px; border: 1px solid var(--gdm-ink); border-radius: 0; padding: 0 14px; font-family: var(--gdm-font); font-size: 15px; background: var(--gdm-paper); }
.gdmh-nl2 .wpcf7 input[type=submit] { height: 50px; padding: 0 24px; border: 0; border-radius: 0; background: var(--gdm-accent); color: var(--gdm-on-accent); font-family: var(--gdm-font); font-size: 15px; font-weight: 700; cursor: pointer; }

/* I numeri del Mediterraneo */
.gdmh-dati { padding-top: 96px; }
.gdmh-dati h2 { font-size: 40px; margin: 8px 0 32px; }
.gdmh-dati-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.gdmh-dato { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--gdm-ink); padding-top: 18px; }
.gdmh-dato b { font-size: clamp(56px, 6vw, 88px); font-weight: 700; line-height: .95; letter-spacing: -.04em; }
.gdmh-dato span { font-size: 17px; line-height: 1.45; color: var(--gdm-ink-2); max-width: 340px; }
.gdmh-dato small { font-size: 13px; font-weight: 600; color: var(--gdm-muted); }
.gdmh-dato:hover small { color: var(--gdm-ink); text-decoration: underline; }

/* Guide tecniche */
.gdmh-tec { padding-top: 32px; }
.gdmh-tec-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; }
.gdmh-tec-card { display: flex; flex-direction: column; gap: 4px; }
.gdmh-tec-card .gdmh-media { aspect-ratio: 1 / 1; margin-bottom: 10px; }
.gdmh-tec-card .gdmh-t { font-size: 19px; font-weight: 700; }
.gdmh-tec-card small { font-size: 13px; color: var(--gdm-muted); }

@media (max-width: 1100px) {
	.gdmh-inch-h, .gdmh-inch-grid, .gdmh-sdg, .gdmh-nl2-box { grid-template-columns: minmax(0, 1fr); }
	.gdmh-inch-side { flex-direction: row; }
	.gdmh-inch-side > * { flex: 1; }
	.gdmh-tec-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
	.gdmh-inch { margin-top: 56px; padding: 48px 0; }
	.gdmh-inch-h h2, .gdmh-dati h2 { font-size: 28px; }
	.gdmh-inch-side { flex-direction: column; gap: 24px; }
	.gdmh-sdg-b { padding: 22px 20px; }
	.gdmh-dati { padding-top: 56px; }
	.gdmh-dati-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.gdmh-tec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
	.gdmh-nl2 .wpcf7 input[type=email], .gdmh-nl2 .wpcf7 input[type=text] { min-width: 0; width: 100%; }
}

/* =========================================================
   13. HOME — PESCI, STELLE MARINE E RICCI (decorazioni)
   Solo CSS: pesciolini che nuotano nei vuoti tra le sezioni,
   fondale con stelle marine e ricci che fa da bordo al footer.
   ========================================================= */
body.home {
	--gdm-deco-school: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 220 90%22 fill=%22%23111111%22%3E%3Cg transform=%22translate(0 30) scale(1.1)%22%3E%3Cpath fill-rule=%22evenodd%22 d=%22M62 16C52 5 30 4 17 13L4 5l4 11-4 11 13-8c13 9 35 8 45-3zM53 14a2 2 0 1 0-4 0 2 2 0 1 0 4 0z%22/%3E%3Cpath d=%22M30 6c4-4 10-5 14-3l-4 4zM34 26l6 5 2-5z%22/%3E%3C/g%3E%3Cg transform=%22translate(78 4) scale(0.8)%22%3E%3Cpath fill-rule=%22evenodd%22 d=%22M62 16C52 5 30 4 17 13L4 5l4 11-4 11 13-8c13 9 35 8 45-3zM53 14a2 2 0 1 0-4 0 2 2 0 1 0 4 0z%22/%3E%3Cpath d=%22M30 6c4-4 10-5 14-3l-4 4zM34 26l6 5 2-5z%22/%3E%3C/g%3E%3Cg transform=%22translate(96 52) scale(0.65)%22%3E%3Cpath fill-rule=%22evenodd%22 d=%22M62 16C52 5 30 4 17 13L4 5l4 11-4 11 13-8c13 9 35 8 45-3zM53 14a2 2 0 1 0-4 0 2 2 0 1 0 4 0z%22/%3E%3Cpath d=%22M30 6c4-4 10-5 14-3l-4 4zM34 26l6 5 2-5z%22/%3E%3C/g%3E%3Cg transform=%22translate(150 26) scale(0.5)%22%3E%3Cpath fill-rule=%22evenodd%22 d=%22M62 16C52 5 30 4 17 13L4 5l4 11-4 11 13-8c13 9 35 8 45-3zM53 14a2 2 0 1 0-4 0 2 2 0 1 0 4 0z%22/%3E%3Cpath d=%22M30 6c4-4 10-5 14-3l-4 4zM34 26l6 5 2-5z%22/%3E%3C/g%3E%3C/svg%3E");
	--gdm-deco-fish: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 64 32%22 fill=%22%23111111%22%3E%3Cg transform=%22translate(0 0) scale(1)%22%3E%3Cpath fill-rule=%22evenodd%22 d=%22M62 16C52 5 30 4 17 13L4 5l4 11-4 11 13-8c13 9 35 8 45-3zM53 14a2 2 0 1 0-4 0 2 2 0 1 0 4 0z%22/%3E%3Cpath d=%22M30 6c4-4 10-5 14-3l-4 4zM34 26l6 5 2-5z%22/%3E%3C/g%3E%3C/svg%3E");
	--gdm-deco-pair: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 130 60%22 fill=%22%23111111%22%3E%3Cg transform=%22translate(0 24) scale(1) translate(64 0) scale(-1 1)%22%3E%3Cpath fill-rule=%22evenodd%22 d=%22M62 16C52 5 30 4 17 13L4 5l4 11-4 11 13-8c13 9 35 8 45-3zM53 14a2 2 0 1 0-4 0 2 2 0 1 0 4 0z%22/%3E%3Cpath d=%22M30 6c4-4 10-5 14-3l-4 4zM34 26l6 5 2-5z%22/%3E%3C/g%3E%3Cg transform=%22translate(66 0) scale(0.7) translate(64 0) scale(-1 1)%22%3E%3Cpath fill-rule=%22evenodd%22 d=%22M62 16C52 5 30 4 17 13L4 5l4 11-4 11 13-8c13 9 35 8 45-3zM53 14a2 2 0 1 0-4 0 2 2 0 1 0 4 0z%22/%3E%3Cpath d=%22M30 6c4-4 10-5 14-3l-4 4zM34 26l6 5 2-5z%22/%3E%3C/g%3E%3C/svg%3E");
	--gdm-deco-bed: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 1440 130%22 fill=%22%23111111%22 stroke=%22%23111111%22%3E%3Cpath fill=%22none%22 stroke=%22%23111111%22 stroke-width=%225%22 stroke-linecap=%22round%22 d=%22M118 100c-10-17.5 10-31.5 0-49.0s8-14.0 2-21.0%22/%3E%3Cpath fill=%22none%22 stroke=%22%23111111%22 stroke-width=%225%22 stroke-linecap=%22round%22 d=%22M130 100c-10-13.0 10-23.400000000000002 0-36.4s8-10.4 2-15.6%22/%3E%3Cpath fill=%22none%22 stroke=%22%23111111%22 stroke-width=%225%22 stroke-linecap=%22round%22 d=%22M470 100c-10-21.0 10-37.800000000000004 0-58.8s8-16.8 2-25.2%22/%3E%3Cpath fill=%22none%22 stroke=%22%23111111%22 stroke-width=%225%22 stroke-linecap=%22round%22 d=%22M484 100c-10-15.0 10-27.0 0-42.0s8-12.0 2-18.0%22/%3E%3Cpath fill=%22none%22 stroke=%22%23111111%22 stroke-width=%225%22 stroke-linecap=%22round%22 d=%22M640 100c-10-11.5 10-20.7 0-32.199999999999996s8-9.200000000000001 2-13.799999999999999%22/%3E%3Cpath stroke=%22none%22 d=%22M0 130V96c30-10 52-14 80-8 20-22 58-26 86-6 18-6 34-4 46 6 30-4 52 2 70 14 22-18 60-20 84-2 26-10 56-8 76 4 30-16 70-14 96 2 24-8 46-6 66 4 26-12 58-10 80 0 16-4 26-2 36 2V130z%22/%3E%3Cpolygon points=%2262.6,71.2 64.3,81.8 74.9,83.9 65.3,88.8 66.6,99.5 59.0,91.9 49.2,96.4 54.1,86.8 46.8,79.0 57.4,80.6%22 stroke-width=%223.3%22 stroke-linejoin=%22round%22/%3E%3Cpolygon points=%22315.7,81.2 319.8,87.9 327.5,86.5 322.5,92.5 326.2,99.4 318.9,96.4 313.5,102.0 314.1,94.2 307.1,90.9 314.7,89.0%22 stroke-width=%222.4%22 stroke-linejoin=%22round%22/%3E%3Cpolygon points=%22567.2,68.6 566.1,80.6 576.9,86.1 565.1,88.8 563.2,100.7 557.0,90.3 545.1,92.2 553.1,83.1 547.6,72.4 558.7,77.1%22 stroke-width=%223.7%22 stroke-linejoin=%22round%22/%3E%3Cpath d=%22M186 80a10 10 0 0 1 20 0z%22/%3E%3Cpath fill=%22none%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 d=%22M188.0 80.0L175.0 80.0M188.1 78.8L175.2 76.9M188.4 77.6L175.9 73.8M188.8 76.5L177.1 70.9M189.4 75.5L178.6 68.2M190.1 74.6L180.6 65.7M191.0 73.7L182.9 63.6M192.0 73.1L185.5 61.8M193.1 72.6L188.3 60.5M194.2 72.2L191.3 59.5M195.4 72.0L194.4 59.1M196.6 72.0L197.6 59.1M197.8 72.2L200.7 59.5M198.9 72.6L203.7 60.5M200.0 73.1L206.5 61.8M201.0 73.7L209.1 63.6M201.9 74.6L211.4 65.7M202.6 75.5L213.4 68.2M203.2 76.5L214.9 70.9M203.6 77.6L216.1 73.8M203.9 78.8L216.8 76.9M204.0 80.0L217.0 80.0%22/%3E%3Cpath d=%22M207 84a7 7 0 0 1 14 0z%22/%3E%3Cpath fill=%22none%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 d=%22M208.4 84.0L199.3 84.0M208.5 83.2L199.5 81.8M208.6 82.3L200.0 79.7M209.0 81.6L200.8 77.6M209.4 80.8L201.9 75.7M209.9 80.2L203.2 74.0M210.5 79.6L204.8 72.5M211.2 79.2L206.7 71.3M212.0 78.8L208.6 70.3M212.8 78.5L210.7 69.7M213.6 78.4L212.9 69.3M214.4 78.4L215.1 69.3M215.2 78.5L217.3 69.7M216.0 78.8L219.4 70.3M216.8 79.2L221.3 71.3M217.5 79.6L223.2 72.5M218.1 80.2L224.8 74.0M218.6 80.8L226.1 75.7M219.0 81.6L227.2 77.6M219.4 82.3L228.0 79.7M219.5 83.2L228.5 81.8M219.6 84.0L228.7 84.0%22/%3E%3Cpath d=%22M398 86a12 12 0 0 1 24 0z%22/%3E%3Cpath fill=%22none%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 d=%22M400.4 86.0L384.8 86.0M400.5 84.6L385.1 82.2M400.8 83.2L385.9 78.6M401.4 81.8L387.3 75.1M402.1 80.6L389.2 71.8M403.0 79.5L391.5 68.9M404.0 78.5L394.3 66.3M405.2 77.7L397.4 64.2M406.5 77.1L400.8 62.5M407.9 76.6L404.4 61.4M409.3 76.4L408.1 60.9M410.7 76.4L411.9 60.9M412.1 76.6L415.6 61.4M413.5 77.1L419.2 62.5M414.8 77.7L422.6 64.2M416.0 78.5L425.7 66.3M417.0 79.5L428.5 68.9M417.9 80.6L430.8 71.8M418.6 81.8L432.7 75.1M419.2 83.2L434.1 78.6M419.5 84.6L434.9 82.2M419.6 86.0L435.2 86.0%22/%3E%3Cpath d=%22M682 92a8 8 0 0 1 16 0z%22/%3E%3Cpath fill=%22none%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 d=%22M683.6 92.0L673.2 92.0M683.7 91.0L673.4 89.5M683.9 90.1L673.9 87.0M684.2 89.2L674.9 84.7M684.7 88.4L676.1 82.5M685.3 87.6L677.7 80.6M686.0 87.0L679.5 78.9M686.8 86.5L681.6 77.5M687.7 86.0L683.9 76.4M688.6 85.8L686.3 75.6M689.5 85.6L688.7 75.2M690.5 85.6L691.3 75.2M691.4 85.8L693.7 75.6M692.3 86.0L696.1 76.4M693.2 86.5L698.4 77.5M694.0 87.0L700.5 78.9M694.7 87.6L702.3 80.6M695.3 88.4L703.9 82.5M695.8 89.2L705.1 84.7M696.1 90.1L706.1 87.0M696.3 91.0L706.6 89.5M696.4 92.0L706.8 92.0%22/%3E%3Cg transform=%22translate(1440 0) scale(-1 1)%22%3E%3Cpath fill=%22none%22 stroke=%22%23111111%22 stroke-width=%225%22 stroke-linecap=%22round%22 d=%22M118 100c-10-17.5 10-31.5 0-49.0s8-14.0 2-21.0%22/%3E%3Cpath fill=%22none%22 stroke=%22%23111111%22 stroke-width=%225%22 stroke-linecap=%22round%22 d=%22M130 100c-10-13.0 10-23.400000000000002 0-36.4s8-10.4 2-15.6%22/%3E%3Cpath fill=%22none%22 stroke=%22%23111111%22 stroke-width=%225%22 stroke-linecap=%22round%22 d=%22M470 100c-10-21.0 10-37.800000000000004 0-58.8s8-16.8 2-25.2%22/%3E%3Cpath fill=%22none%22 stroke=%22%23111111%22 stroke-width=%225%22 stroke-linecap=%22round%22 d=%22M484 100c-10-15.0 10-27.0 0-42.0s8-12.0 2-18.0%22/%3E%3Cpath fill=%22none%22 stroke=%22%23111111%22 stroke-width=%225%22 stroke-linecap=%22round%22 d=%22M640 100c-10-11.5 10-20.7 0-32.199999999999996s8-9.200000000000001 2-13.799999999999999%22/%3E%3Cpath stroke=%22none%22 d=%22M0 130V96c30-10 52-14 80-8 20-22 58-26 86-6 18-6 34-4 46 6 30-4 52 2 70 14 22-18 60-20 84-2 26-10 56-8 76 4 30-16 70-14 96 2 24-8 46-6 66 4 26-12 58-10 80 0 16-4 26-2 36 2V130z%22/%3E%3Cpolygon points=%2262.6,71.2 64.3,81.8 74.9,83.9 65.3,88.8 66.6,99.5 59.0,91.9 49.2,96.4 54.1,86.8 46.8,79.0 57.4,80.6%22 stroke-width=%223.3%22 stroke-linejoin=%22round%22/%3E%3Cpolygon points=%22315.7,81.2 319.8,87.9 327.5,86.5 322.5,92.5 326.2,99.4 318.9,96.4 313.5,102.0 314.1,94.2 307.1,90.9 314.7,89.0%22 stroke-width=%222.4%22 stroke-linejoin=%22round%22/%3E%3Cpolygon points=%22567.2,68.6 566.1,80.6 576.9,86.1 565.1,88.8 563.2,100.7 557.0,90.3 545.1,92.2 553.1,83.1 547.6,72.4 558.7,77.1%22 stroke-width=%223.7%22 stroke-linejoin=%22round%22/%3E%3Cpath d=%22M186 80a10 10 0 0 1 20 0z%22/%3E%3Cpath fill=%22none%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 d=%22M188.0 80.0L175.0 80.0M188.1 78.8L175.2 76.9M188.4 77.6L175.9 73.8M188.8 76.5L177.1 70.9M189.4 75.5L178.6 68.2M190.1 74.6L180.6 65.7M191.0 73.7L182.9 63.6M192.0 73.1L185.5 61.8M193.1 72.6L188.3 60.5M194.2 72.2L191.3 59.5M195.4 72.0L194.4 59.1M196.6 72.0L197.6 59.1M197.8 72.2L200.7 59.5M198.9 72.6L203.7 60.5M200.0 73.1L206.5 61.8M201.0 73.7L209.1 63.6M201.9 74.6L211.4 65.7M202.6 75.5L213.4 68.2M203.2 76.5L214.9 70.9M203.6 77.6L216.1 73.8M203.9 78.8L216.8 76.9M204.0 80.0L217.0 80.0%22/%3E%3Cpath d=%22M207 84a7 7 0 0 1 14 0z%22/%3E%3Cpath fill=%22none%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 d=%22M208.4 84.0L199.3 84.0M208.5 83.2L199.5 81.8M208.6 82.3L200.0 79.7M209.0 81.6L200.8 77.6M209.4 80.8L201.9 75.7M209.9 80.2L203.2 74.0M210.5 79.6L204.8 72.5M211.2 79.2L206.7 71.3M212.0 78.8L208.6 70.3M212.8 78.5L210.7 69.7M213.6 78.4L212.9 69.3M214.4 78.4L215.1 69.3M215.2 78.5L217.3 69.7M216.0 78.8L219.4 70.3M216.8 79.2L221.3 71.3M217.5 79.6L223.2 72.5M218.1 80.2L224.8 74.0M218.6 80.8L226.1 75.7M219.0 81.6L227.2 77.6M219.4 82.3L228.0 79.7M219.5 83.2L228.5 81.8M219.6 84.0L228.7 84.0%22/%3E%3Cpath d=%22M398 86a12 12 0 0 1 24 0z%22/%3E%3Cpath fill=%22none%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 d=%22M400.4 86.0L384.8 86.0M400.5 84.6L385.1 82.2M400.8 83.2L385.9 78.6M401.4 81.8L387.3 75.1M402.1 80.6L389.2 71.8M403.0 79.5L391.5 68.9M404.0 78.5L394.3 66.3M405.2 77.7L397.4 64.2M406.5 77.1L400.8 62.5M407.9 76.6L404.4 61.4M409.3 76.4L408.1 60.9M410.7 76.4L411.9 60.9M412.1 76.6L415.6 61.4M413.5 77.1L419.2 62.5M414.8 77.7L422.6 64.2M416.0 78.5L425.7 66.3M417.0 79.5L428.5 68.9M417.9 80.6L430.8 71.8M418.6 81.8L432.7 75.1M419.2 83.2L434.1 78.6M419.5 84.6L434.9 82.2M419.6 86.0L435.2 86.0%22/%3E%3Cpath d=%22M682 92a8 8 0 0 1 16 0z%22/%3E%3Cpath fill=%22none%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 d=%22M683.6 92.0L673.2 92.0M683.7 91.0L673.4 89.5M683.9 90.1L673.9 87.0M684.2 89.2L674.9 84.7M684.7 88.4L676.1 82.5M685.3 87.6L677.7 80.6M686.0 87.0L679.5 78.9M686.8 86.5L681.6 77.5M687.7 86.0L683.9 76.4M688.6 85.8L686.3 75.6M689.5 85.6L688.7 75.2M690.5 85.6L691.3 75.2M691.4 85.8L693.7 75.6M692.3 86.0L696.1 76.4M693.2 86.5L698.4 77.5M694.0 87.0L700.5 78.9M694.7 87.6L702.3 80.6M695.3 88.4L703.9 82.5M695.8 89.2L705.1 84.7M696.1 90.1L706.1 87.0M696.3 91.0L706.6 89.5M696.4 92.0L706.8 92.0%22/%3E%3C/g%3E%3C/svg%3E");
}
body.home .gdmh-sec, body.home .gdmh-stg, body.home .gdmh-dati, body.home .gdmh-books, body.home .gdmh-nl2 { position: relative; }
body.home .gdmh-sec::before, body.home .gdmh-stg::before, body.home .gdmh-dati::before, body.home .gdmh-books::before, body.home .gdmh-nl2::before {
	content: ""; position: absolute; pointer-events: none; z-index: 0;
	background: no-repeat center / contain; animation: gdmh-swim 11s ease-in-out infinite;
}
body.home .gdmh-sec::before   { background-image: var(--gdm-deco-school); width: 150px; height: 62px; top: 14px; right: 18%; opacity: .13; }
body.home .gdmh-stg::before   { background-image: var(--gdm-deco-pair);   width: 96px;  height: 44px; top: 24px; left: 46%; opacity: .16; animation-name: gdmh-swim-l; animation-duration: 13s; }
body.home .gdmh-dati::before  { background-image: var(--gdm-deco-school); width: 200px; height: 82px; top: 28px; right: 12%; opacity: .17; animation-duration: 15s; }
body.home .gdmh-books::before { background-image: var(--gdm-deco-fish);   width: 54px;  height: 27px; top: 34px; left: 52%; opacity: .2; animation-duration: 9s; }
body.home .gdmh-nl2::before   { background-image: var(--gdm-deco-pair);   width: 70px;  height: 32px; top: 6px;  left: 60%; opacity: .18; animation-name: gdmh-swim-l; }
body.home .gdmh-wrap { position: relative; z-index: 1; }
@keyframes gdmh-swim   { 0%,100% { transform: translate(0,0); } 50% { transform: translate(26px,-6px); } }
@keyframes gdmh-swim-l { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-26px,5px); } }

/* Fondale sopra il footer */
body.home .gdm-footer {
	position: relative;
	background: linear-gradient(180deg, var(--gdm-paper) 0, var(--gdm-paper) 150px, var(--gdm-ink) 150px);
	padding-top: 176px;
}
body.home .gdm-footer::before {
	content: ""; position: absolute; left: 0; right: 0; top: 50px; height: 130px; pointer-events: none;
	background: var(--gdm-deco-bed) repeat-x left bottom / 1440px 130px;
}
@media (max-width: 767px) {
	body.home .gdmh-stg::before, body.home .gdmh-books::before { display: none; }
	body.home .gdmh-sec::before  { width: 100px; height: 41px; top: 8px; right: 6%; }
	body.home .gdmh-dati::before { width: 120px; height: 49px; top: 10px; right: 6%; }
	body.home .gdmh-nl2::before  { top: 0; left: auto; right: 8%; }
	body.home .gdm-footer { padding-top: 176px; }
	body.home .gdm-footer::before { top: 50px; height: 104px; background-size: 1152px 104px; }
}
@media (prefers-reduced-motion: reduce) {
	body.home .gdmh-sec::before, body.home .gdmh-stg::before, body.home .gdmh-dati::before, body.home .gdmh-books::before, body.home .gdmh-nl2::before { animation: none; }
}