/*
Theme Name: ANDI Latina
Theme URI: https://andilatina.it
Author: we blink
Author URI: https://weblinkdesign.it
Description: Tema dell'Associazione Nazionale Dentisti Italiani, Sezione provinciale di Latina. Trova il dentista ANDI, corsi e formazione, news e circolari, area soci. Lavora insieme al plugin ANDI Hub.
Version: 1.0.0
Requires at least: 6.2
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: andilatina
*/

/* ==========================================================================
   1. Token
   ========================================================================== */
:root {
	--al-navy: #0B1F44;
	--al-navy-2: #12295A;
	--al-blue: #2F5BA7;
	--al-blue-600: #234A8F;
	--al-blue-700: #1B3B75;
	--al-blue-100: #DCE6F7;
	--al-blue-50: #EEF3FB;
	--al-coral: #E2483A;
	--al-coral-600: #C93A2D;
	--al-coral-50: #FDEDEB;
	--al-green: #16A06A;
	--al-green-700: #0E7A50;
	--al-green-50: #E7F6EF;
	--al-amber: #C98000;
	--al-amber-50: #FDF4E3;
	--al-ink: #0F172A;
	--al-ink-2: #334155;
	--al-muted: #5B6B82;
	--al-line: #E3E8F0;
	--al-line-2: #EDF1F6;
	--al-bg: #F6F8FB;
	--al-card: #FFFFFF;
	--al-radius: 18px;
	--al-radius-sm: 12px;
	--al-radius-xs: 8px;
	--al-shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 8px 24px rgba(15, 23, 42, .06);
	--al-shadow-lg: 0 2px 4px rgba(15, 23, 42, .05), 0 24px 48px -12px rgba(15, 23, 42, .18);
	--al-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
	--al-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	--al-wrap: 1200px;
	--al-wrap-narrow: 760px;
	--al-header-h: 72px;
	--al-ease: cubic-bezier(.2, .7, .2, 1);
	--al-flag: linear-gradient(90deg, #1A9A4B 0 33.3%, #fff 33.3% 66.6%, #E2483A 66.6% 100%);
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--al-header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
	margin: 0;
	font-family: var(--al-font);
	font-size: 17px;
	line-height: 1.6;
	color: var(--al-ink);
	background: var(--al-bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--al-blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--al-blue-600); }
h1, h2, h3, h4, h5, h6 { color: var(--al-ink); line-height: 1.15; letter-spacing: -.022em; margin: 0 0 .5em; font-weight: 750; }
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.5rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.6rem, 1.25rem + 1.5vw, 2.4rem); letter-spacing: -.03em; }
h3 { font-size: clamp(1.2rem, 1.1rem + .5vw, 1.45rem); }
h4 { font-size: 1.15rem; }
h5, h6 { font-size: 1rem; }
p { margin: 0 0 1em; }
hr { border: 0; border-top: 1px solid var(--al-line); margin: 2rem 0; }
::selection { background: var(--al-blue-100); color: var(--al-navy); }
:focus-visible { outline: 3px solid rgba(47, 91, 167, .45); outline-offset: 2px; border-radius: 6px; }
button, input, select, textarea { font: inherit; color: inherit; }
table { border-collapse: collapse; width: 100%; }
figure { margin: 0; }
small { font-size: .85em; }
kbd { font-family: var(--al-mono); font-size: .75em; padding: .1em .45em; border: 1px solid var(--al-line); border-bottom-width: 2px; border-radius: 6px; background: #fff; color: var(--al-muted); }

.screen-reader-text, .al-sr {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px;
	overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important;
}
.al-skip { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--al-navy); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; transition: top .2s; }
.al-skip:focus { top: 12px; color: #fff; }

.al-wrap { width: 100%; max-width: var(--al-wrap); margin: 0 auto; padding: 0 20px; }
.al-wrap--narrow { max-width: var(--al-wrap-narrow); }
@media (min-width: 768px) { .al-wrap { padding: 0 32px; } }

/* ==========================================================================
   3. Elementi comuni: pulsanti, card, chip, badge, campi
   ========================================================================== */
.al-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	min-height: 46px; padding: .7em 1.25em; border-radius: 999px; border: 1px solid transparent;
	font-weight: 650; font-size: .98rem; line-height: 1.1; text-decoration: none; cursor: pointer;
	background: var(--al-blue); color: #fff; box-shadow: 0 1px 2px rgba(15, 23, 42, .12), inset 0 1px 0 rgba(255, 255, 255, .15);
	transition: background .2s, transform .2s var(--al-ease), box-shadow .2s, color .2s, border-color .2s;
	white-space: nowrap;
}
.al-btn:hover { background: var(--al-blue-600); color: #fff; transform: translateY(-1px); box-shadow: 0 6px 16px -6px rgba(47, 91, 167, .55); }
.al-btn:active { transform: translateY(0); }
.al-btn svg { flex: none; }
.al-btn--coral { background: var(--al-coral); }
.al-btn--coral:hover { background: var(--al-coral-600); box-shadow: 0 6px 16px -6px rgba(226, 72, 58, .55); }
.al-btn--navy { background: var(--al-navy); }
.al-btn--navy:hover { background: var(--al-navy-2); }
.al-btn--ghost { background: #fff; color: var(--al-ink); border-color: var(--al-line); box-shadow: 0 1px 2px rgba(15, 23, 42, .05); }
.al-btn--ghost:hover { background: #fff; color: var(--al-blue); border-color: var(--al-blue-100); }
.al-btn--light { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .28); box-shadow: none; }
.al-btn--light:hover { background: rgba(255, 255, 255, .2); color: #fff; }
.al-btn--sm { min-height: 38px; padding: .5em 1em; font-size: .9rem; }
.al-btn--lg { min-height: 54px; padding: .8em 1.6em; font-size: 1.05rem; }
.al-btn--block { width: 100%; }
.al-link { display: inline-flex; align-items: center; gap: .35em; font-weight: 650; text-decoration: none; }
.al-link svg { transition: transform .2s var(--al-ease); }
.al-link:hover svg { transform: translateX(3px); }

.al-card {
	background: var(--al-card); border: 1px solid var(--al-line); border-radius: var(--al-radius);
	box-shadow: var(--al-shadow); padding: 24px;
}
.al-card--flat { box-shadow: none; }
.al-card--hover { transition: transform .25s var(--al-ease), box-shadow .25s, border-color .25s; }
.al-card--hover:hover { transform: translateY(-3px); box-shadow: var(--al-shadow-lg); border-color: var(--al-blue-100); }

.al-chip {
	display: inline-flex; align-items: center; gap: .4em; padding: .38em .85em; border-radius: 999px;
	background: #fff; border: 1px solid var(--al-line); color: var(--al-ink-2); font-size: .88rem; font-weight: 550;
	text-decoration: none; line-height: 1.2; transition: border-color .2s, color .2s, background .2s;
}
a.al-chip:hover, button.al-chip:hover { border-color: var(--al-blue); color: var(--al-blue); }
.al-chip.is-active, .al-chip[aria-current="page"] { background: var(--al-navy); color: #fff; border-color: var(--al-navy); }
.al-chip--soft { background: var(--al-blue-50); border-color: transparent; color: var(--al-blue-700); }
.al-chips { display: flex; flex-wrap: wrap; gap: 8px; }

.al-badge {
	display: inline-flex; align-items: center; gap: .35em; padding: .3em .7em; border-radius: 999px;
	font-size: .8rem; font-weight: 700; letter-spacing: .01em; line-height: 1.2;
	background: var(--al-blue-50); color: var(--al-blue-700);
}
.al-badge--green { background: var(--al-green-50); color: var(--al-green-700); }
.al-badge--coral { background: var(--al-coral-50); color: var(--al-coral-600); }
.al-badge--amber { background: var(--al-amber-50); color: #8A5800; }
.al-badge--navy { background: var(--al-navy); color: #fff; }
.al-badge--glass { background: rgba(255, 255, 255, .14); color: #fff; border: 1px solid rgba(255, 255, 255, .25); }

.al-eyebrow {
	display: inline-flex; align-items: center; gap: .5em; font-size: .78rem; font-weight: 750; text-transform: uppercase;
	letter-spacing: .12em; color: var(--al-blue); margin-bottom: 14px;
}
.al-eyebrow::before { content: ""; width: 18px; height: 3px; border-radius: 3px; background: var(--al-flag); box-shadow: 0 0 0 1px rgba(15, 23, 42, .06); }
.al-lead { font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); color: var(--al-muted); line-height: 1.55; }
.al-muted { color: var(--al-muted); }

.al-field { display: grid; gap: 6px; margin-bottom: 14px; }
.al-field label { font-weight: 600; font-size: .92rem; }
.al-input, .al-field input[type="text"], .al-field input[type="email"], .al-field input[type="tel"], .al-field input[type="search"], .al-field textarea, .al-field select,
.al-prose input[type="text"], .al-prose input[type="email"], .al-prose input[type="tel"], .al-prose input[type="password"], .al-prose textarea, .al-prose select {
	width: 100%; min-height: 48px; padding: .7em .95em; border-radius: var(--al-radius-sm); border: 1px solid var(--al-line);
	background: #fff; transition: border-color .2s, box-shadow .2s; font-size: 1rem;
}
.al-field textarea, .al-prose textarea { min-height: 140px; resize: vertical; }
.al-input:focus, .al-field :is(input, textarea, select):focus, .al-prose :is(input, textarea, select):focus { outline: none; border-color: var(--al-blue); box-shadow: 0 0 0 4px rgba(47, 91, 167, .14); }
.al-check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--al-ink-2); }
.al-check input { margin-top: .3em; width: 18px; height: 18px; accent-color: var(--al-blue); flex: none; }
.al-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.al-notice { padding: 14px 18px; border-radius: var(--al-radius-sm); background: var(--al-blue-50); color: var(--al-blue-700); border: 1px solid var(--al-blue-100); margin: 0 0 18px; }
.al-notice--ok { background: var(--al-green-50); color: var(--al-green-700); border-color: #BFE7D4; }
.al-notice--warn { background: var(--al-amber-50); color: #7A4F00; border-color: #F3DDB0; }
.al-notice--err { background: var(--al-coral-50); color: var(--al-coral-600); border-color: #F7C9C4; }

.al-grid { display: grid; gap: 20px; }
@media (min-width: 700px) { .al-grid--2 { grid-template-columns: repeat(2, 1fr); } .al-grid--3 { grid-template-columns: repeat(2, 1fr); } .al-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .al-grid--3 { grid-template-columns: repeat(3, 1fr); } .al-grid--4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 900px) { .al-grid { gap: 24px; } }

/* ==========================================================================
   4. Testata
   ========================================================================== */
.al-topflag { height: 3px; background: var(--al-flag); }
.al-header {
	position: sticky; top: 0; z-index: 90; height: var(--al-header-h);
	background: rgba(246, 248, 251, .78); border-bottom: 1px solid transparent;
	-webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px);
	transition: border-color .25s, background .25s, box-shadow .25s;
}
.admin-bar .al-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .al-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .al-header { top: 0; } }
.al-header.is-scrolled { background: rgba(255, 255, 255, .86); border-bottom-color: var(--al-line); box-shadow: 0 6px 24px -18px rgba(15, 23, 42, .4); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .al-header { background: #fff; } }
.al-header__in { display: flex; align-items: center; gap: 16px; height: 100%; }
.al-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--al-ink); flex: none; }
.al-brand img { height: 46px; width: auto; }
.al-brand__txt { display: none; line-height: 1.15; }
.al-brand__txt b { display: block; font-size: .95rem; letter-spacing: -.01em; }
.al-brand__txt span { display: block; font-size: .72rem; color: var(--al-muted); }
@media (min-width: 1240px) { .al-brand__txt { display: block; } }

.al-nav { display: none; margin-left: auto; }
.al-nav ul { list-style: none; margin: 0; padding: 0; }
.al-nav > ul { display: flex; align-items: center; gap: 2px; }
.al-nav li { position: relative; }
.al-nav a { display: flex; align-items: center; gap: 4px; padding: 9px 12px; border-radius: 10px; color: var(--al-ink-2); text-decoration: none; font-weight: 580; font-size: .95rem; white-space: nowrap; transition: background .2s, color .2s; }
@media (min-width: 1080px) and (max-width: 1319px) { .al-nav a { padding: 9px 9px; font-size: .9rem; } }
.al-nav a:hover, .al-nav .current-menu-item > a, .al-nav .current-menu-ancestor > a, .al-nav .current_page_parent > a { color: var(--al-ink); background: rgba(15, 23, 42, .05); }
.al-nav .current-menu-item > a { color: var(--al-blue); }
.al-nav .menu-item-has-children > a::after { content: ""; width: 7px; height: 7px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg) translateY(-2px); margin-left: 4px; opacity: .6; }
.al-nav .sub-menu {
	position: absolute; top: calc(100% + 8px); left: -8px; min-width: 230px; padding: 8px; background: #fff;
	border: 1px solid var(--al-line); border-radius: 14px; box-shadow: var(--al-shadow-lg);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s var(--al-ease), visibility .18s;
}
.al-nav .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.al-nav li:hover > .sub-menu, .al-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.al-nav .sub-menu a { padding: 9px 12px; }
@media (min-width: 1080px) { .al-nav { display: block; } }

.al-header__tools { display: flex; align-items: center; gap: 8px; margin-left: auto; }
@media (min-width: 1080px) { .al-header__tools { margin-left: 8px; } }
.al-iconbtn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; min-width: 42px; padding: 0 10px;
	border-radius: 12px; border: 1px solid var(--al-line); background: #fff; color: var(--al-ink-2); cursor: pointer; text-decoration: none;
	transition: border-color .2s, color .2s, box-shadow .2s;
}
.al-iconbtn:hover { border-color: var(--al-blue-100); color: var(--al-blue); box-shadow: 0 4px 12px -6px rgba(47, 91, 167, .4); }
.al-search-btn { min-width: 42px; }
.al-search-btn .al-search-btn__label, .al-search-btn kbd { display: none; }
@media (min-width: 640px) {
	.al-search-btn { padding: 0 10px 0 12px; min-width: 190px; justify-content: flex-start; color: var(--al-muted); }
	.al-search-btn .al-search-btn__label { display: inline; font-size: .9rem; margin-right: auto; }
	.al-search-btn kbd { display: inline; }
}
@media (min-width: 1080px) and (max-width: 1499px) { .al-search-btn { min-width: 42px; padding: 0 10px; } .al-search-btn .al-search-btn__label, .al-search-btn kbd { display: none; } }
.al-member-btn { display: none; }
@media (min-width: 520px) { .al-member-btn { display: inline-flex; } }
.al-avatar {
	display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%;
	background: linear-gradient(135deg, var(--al-blue), var(--al-coral)); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .02em;
}
.al-member-btn.is-member { padding-left: 6px; }
.al-burger { display: inline-flex; }
@media (min-width: 1080px) { .al-burger { display: none; } }
.al-burger span, .al-burger span::before, .al-burger span::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .25s var(--al-ease), opacity .2s; }
.al-burger span::before, .al-burger span::after { content: ""; position: absolute; left: 0; }
.al-burger span::before { top: -6px; }
.al-burger span::after { top: 6px; }
.al-burger[aria-expanded="true"] span { background: transparent; }
.al-burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.al-burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* Pannello mobile */
.al-drawer { position: fixed; inset: 0; z-index: 120; visibility: hidden; pointer-events: none; }
.al-drawer.is-open { visibility: visible; pointer-events: auto; }
.al-drawer__bg { position: absolute; inset: 0; background: rgba(11, 31, 68, .38); opacity: 0; transition: opacity .25s; }
.al-drawer.is-open .al-drawer__bg { opacity: 1; }
.al-drawer__panel {
	position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 92vw); background: #fff; display: flex; flex-direction: column;
	transform: translateX(100%); transition: transform .3s var(--al-ease); box-shadow: var(--al-shadow-lg);
}
.al-drawer.is-open .al-drawer__panel { transform: none; }
.al-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--al-line); }
.al-drawer__head img { height: 40px; width: auto; }
.al-drawer__body { overflow-y: auto; padding: 10px 14px 24px; flex: 1; }
.al-drawer ul { list-style: none; margin: 0; padding: 0; }
.al-drawer .menu > li > a { display: block; padding: 14px 10px; font-size: 1.15rem; font-weight: 650; color: var(--al-ink); text-decoration: none; border-bottom: 1px solid var(--al-line-2); }
.al-drawer .sub-menu a { display: block; padding: 10px 10px 10px 24px; color: var(--al-ink-2); text-decoration: none; }
.al-drawer .current-menu-item > a { color: var(--al-blue); }
.al-drawer__foot { padding: 16px 18px 22px; border-top: 1px solid var(--al-line); display: grid; gap: 10px; }
body.al-lock { overflow: hidden; }

/* ==========================================================================
   5. Palette di ricerca ⌘K
   ========================================================================== */
.al-cmdk { position: fixed; inset: 0; z-index: 200; display: none; }
.al-cmdk.is-open { display: block; }
.al-cmdk__bg { position: absolute; inset: 0; background: rgba(11, 31, 68, .35); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); animation: al-fade .18s ease; }
.al-cmdk__box {
	position: relative; margin: 10vh auto 0; width: min(680px, calc(100vw - 24px)); background: #fff; border-radius: 18px;
	box-shadow: 0 30px 80px -20px rgba(11, 31, 68, .45), 0 0 0 1px rgba(15, 23, 42, .06); overflow: hidden; animation: al-pop .2s var(--al-ease);
}
@media (max-width: 600px) { .al-cmdk__box { margin-top: 12px; } }
.al-cmdk__bar { display: flex; align-items: center; gap: 10px; padding: 6px 16px; border-bottom: 1px solid var(--al-line); color: var(--al-muted); }
.al-cmdk__bar input { flex: 1; border: 0; outline: 0; min-height: 56px; font-size: 1.1rem; background: transparent; color: var(--al-ink); }
.al-cmdk__list { max-height: min(60vh, 480px); overflow-y: auto; padding: 8px; }
.al-cmdk__group { padding: 10px 10px 4px; font-size: .72rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: var(--al-muted); }
.al-cmdk__item { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; color: var(--al-ink); text-decoration: none; }
.al-cmdk__item[aria-selected="true"], .al-cmdk__item:hover { background: var(--al-blue-50); color: var(--al-ink); }
.al-cmdk__ico { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--al-bg); color: var(--al-blue); overflow: hidden; font-weight: 800; font-size: .8rem; }
.al-cmdk__ico img { width: 100%; height: 100%; object-fit: cover; }
.al-cmdk__t { display: block; font-weight: 620; line-height: 1.25; }
.al-cmdk__s { display: block; font-size: .85rem; color: var(--al-muted); line-height: 1.3; }
.al-cmdk__empty { padding: 26px 16px; text-align: center; color: var(--al-muted); }
.al-cmdk__foot { display: flex; gap: 14px; padding: 10px 16px; border-top: 1px solid var(--al-line); font-size: .78rem; color: var(--al-muted); background: var(--al-bg); }
@keyframes al-fade { from { opacity: 0; } }
@keyframes al-pop { from { opacity: 0; transform: translateY(8px) scale(.985); } }

/* ==========================================================================
   6. Sezioni e intestazioni di pagina
   ========================================================================== */
.al-main { min-height: 50vh; }
.al-section { padding: 64px 0; }
@media (min-width: 900px) { .al-section { padding: 96px 0; } }
.al-section--tight { padding: 40px 0; }
.al-section--white { background: #fff; border-top: 1px solid var(--al-line); border-bottom: 1px solid var(--al-line); }
.al-section--navy { background: var(--al-navy); color: #C9D5EA; }
.al-section--navy h2, .al-section--navy h3 { color: #fff; }
.al-section__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: 32px; }
.al-section__head h2 { margin: 0; }
.al-section__head p { margin: 8px 0 0; max-width: 620px; }

.al-pagehead { position: relative; padding: 48px 0 36px; overflow: hidden; }
@media (min-width: 900px) { .al-pagehead { padding: 72px 0 52px; } }
.al-pagehead::before {
	content: ""; position: absolute; inset: -40% -10% auto auto; width: 720px; height: 520px; pointer-events: none;
	background: radial-gradient(closest-side, rgba(47, 91, 167, .14), transparent 70%), radial-gradient(closest-side at 70% 60%, rgba(226, 72, 58, .09), transparent 70%);
}
.al-pagehead > * { position: relative; }
.al-pagehead h1 { margin-bottom: .25em; max-width: 920px; }
.al-pagehead .al-lead { max-width: 720px; margin: 0; }
.al-crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; list-style: none; margin: 0 0 16px; padding: 0; font-size: .85rem; color: var(--al-muted); }
.al-crumbs a { color: var(--al-muted); text-decoration: none; }
.al-crumbs a:hover { color: var(--al-blue); }
.al-crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.al-pagehead__meta { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 18px; color: var(--al-muted); font-size: .92rem; }
.al-pagehead__meta span { display: inline-flex; align-items: center; gap: 6px; }

/* ==========================================================================
   7. Home
   ========================================================================== */
.al-hero { position: relative; overflow: hidden; padding: 40px 0 56px; }
@media (min-width: 900px) { .al-hero { padding: 72px 0 88px; } }
.al-hero::before {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background:
		radial-gradient(600px 400px at 85% 20%, rgba(47, 91, 167, .16), transparent 70%),
		radial-gradient(500px 360px at 70% 90%, rgba(226, 72, 58, .10), transparent 70%),
		radial-gradient(700px 500px at -10% -10%, rgba(220, 230, 247, .9), transparent 60%);
}
.al-hero::after {
	content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
	background-image: radial-gradient(rgba(15, 23, 42, .07) 1px, transparent 1px); background-size: 22px 22px;
	-webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%); mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.al-hero__grid { position: relative; z-index: 1; display: grid; gap: 40px; align-items: center; }
@media (min-width: 1000px) { .al-hero__grid { grid-template-columns: 1.05fr .95fr; gap: 56px; } }
.al-hero h1 { font-size: clamp(2.3rem, 1.5rem + 3.6vw, 4.3rem); line-height: 1.02; letter-spacing: -.045em; margin-bottom: .35em; }
.al-hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--al-blue) 10%, var(--al-coral) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.al-hero .al-lead { max-width: 560px; margin-bottom: 28px; }
.al-hero__search {
	display: flex; align-items: center; gap: 6px; padding: 6px 6px 6px 18px; max-width: 580px; background: #fff;
	border: 1px solid var(--al-line); border-radius: 999px; box-shadow: var(--al-shadow-lg);
	transition: box-shadow .2s, border-color .2s;
}
.al-hero__search:focus-within { border-color: var(--al-blue); box-shadow: 0 0 0 5px rgba(47, 91, 167, .12), var(--al-shadow-lg); }
.al-hero__search svg { color: var(--al-muted); flex: none; }
.al-hero__search input { flex: 1; min-width: 0; border: 0; outline: 0; min-height: 50px; font-size: 1.05rem; background: transparent; }
.al-hero__search .al-btn { min-height: 50px; }
@media (max-width: 480px) { .al-hero__search .al-btn span { display: none; } .al-hero__search .al-btn { padding: 0 16px; } }
.al-hero__chips { margin-top: 18px; }
.al-hero__chips .al-chip { background: rgba(255, 255, 255, .8); }
.al-hero__trust { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 26px; color: var(--al-muted); font-size: .9rem; }
.al-hero__trust span { display: inline-flex; align-items: center; gap: 6px; }
.al-hero__trust svg { color: var(--al-green); }

.al-mapcard { position: relative; background: #fff; border: 1px solid var(--al-line); border-radius: 26px; box-shadow: var(--al-shadow-lg); padding: 18px; }
.al-mapcard__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 6px 12px; }
.al-mapcard__head b { font-size: .95rem; }
.al-live { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 650; color: var(--al-green-700); }
.al-live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--al-green); box-shadow: 0 0 0 0 rgba(22, 160, 106, .5); animation: al-pulse 2s infinite; }
@keyframes al-pulse { 70% { box-shadow: 0 0 0 10px rgba(22, 160, 106, 0); } 100% { box-shadow: 0 0 0 0 rgba(22, 160, 106, 0); } }
.al-mapcard__map { border-radius: 18px; overflow: hidden; background: linear-gradient(180deg, #F3F7FD, #EAF1FB); min-height: 300px; display: grid; }
.al-mapcard__map svg { width: 100%; height: auto; display: block; }
.al-mapcard__foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 6px 4px; font-size: .9rem; color: var(--al-muted); }
.al-mapcard__float {
	position: absolute; left: -14px; bottom: 64px; display: none; align-items: center; gap: 10px; padding: 10px 14px;
	background: #fff; border-radius: 14px; border: 1px solid var(--al-line); box-shadow: var(--al-shadow-lg); font-size: .88rem;
}
@media (min-width: 1000px) { .al-mapcard__float { display: flex; } }
.al-mapcard__float b { display: block; font-size: 1.1rem; letter-spacing: -.02em; }
.al-mapfallback { display: grid; place-items: center; padding: 40px; text-align: center; color: var(--al-muted); }

.al-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--al-line); border: 1px solid var(--al-line); border-radius: var(--al-radius); overflow: hidden; }
@media (min-width: 900px) { .al-stats { grid-template-columns: repeat(4, 1fr); } }
.al-stat { background: #fff; padding: 24px 22px; }
.al-stat b { display: block; font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.6rem); line-height: 1; letter-spacing: -.04em; color: var(--al-navy); font-variant-numeric: tabular-nums; }
.al-stat span { display: block; margin-top: 8px; color: var(--al-muted); font-size: .92rem; }

.al-benefits { display: grid; gap: 16px; }
@media (min-width: 700px) { .al-benefits { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .al-benefits { grid-template-columns: repeat(4, 1fr); } }
.al-benefit { background: #fff; border: 1px solid var(--al-line); border-radius: var(--al-radius); padding: 24px; }
.al-benefit__ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--al-blue-50); color: var(--al-blue); margin-bottom: 16px; }
.al-benefit:nth-child(2) .al-benefit__ico { background: var(--al-coral-50); color: var(--al-coral); }
.al-benefit:nth-child(3) .al-benefit__ico { background: var(--al-green-50); color: var(--al-green); }
.al-benefit:nth-child(4) .al-benefit__ico { background: var(--al-amber-50); color: var(--al-amber); }
.al-benefit h3 { font-size: 1.08rem; margin-bottom: .4em; }
.al-benefit p { margin: 0; color: var(--al-muted); font-size: .95rem; }

.al-split { display: grid; gap: 32px; align-items: start; }
@media (min-width: 1000px) { .al-split { grid-template-columns: 1fr 1fr; gap: 64px; } }
.al-front-more { margin-top: 48px; }
.al-front-more > .al-grid { margin-bottom: 8px; }
.al-front-more h2 { max-width: 760px; }
.al-front-more p { max-width: 760px; }
.al-prose .al-grid > .al-panel { margin: 0; }
.al-prose .al-grid .al-panel h3 { font-size: 1.1rem; }
.al-prose .al-grid .al-panel p { font-size: .98rem; }

.al-cta {
	position: relative; overflow: hidden; border-radius: 28px; padding: 40px 28px; color: #D6E0F2;
	background: radial-gradient(500px 300px at 90% 0%, rgba(226, 72, 58, .35), transparent 70%), radial-gradient(600px 400px at 0% 100%, rgba(47, 91, 167, .6), transparent 70%), var(--al-navy);
}
@media (min-width: 900px) { .al-cta { padding: 56px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; } }
.al-cta h2 { color: #fff; }
.al-cta p { margin: 0; }
.al-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
@media (min-width: 900px) { .al-cta__actions { margin-top: 0; justify-content: flex-end; } }
.al-cta__flag { position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--al-flag); opacity: .9; }

.al-newsletter { display: grid; gap: 24px; align-items: center; background: #fff; border: 1px solid var(--al-line); border-radius: var(--al-radius); padding: 28px; box-shadow: var(--al-shadow); }
@media (min-width: 900px) { .al-newsletter { grid-template-columns: 1fr 1.1fr; padding: 40px; } }
.al-newsletter h2 { font-size: 1.6rem; }

/* ==========================================================================
   8. Card corsi, articoli, profili
   ========================================================================== */
.al-course { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; position: relative; overflow: hidden; padding: 0; }
.al-course__top { display: flex; gap: 16px; padding: 22px 22px 0; }
.al-date { flex: none; width: 64px; border-radius: 14px; overflow: hidden; text-align: center; border: 1px solid var(--al-line); background: #fff; box-shadow: 0 1px 2px rgba(15, 23, 42, .06); }
.al-date__m { display: block; background: var(--al-coral); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .12em; padding: 4px 0; }
.al-date__d { display: block; font-size: 1.6rem; font-weight: 800; letter-spacing: -.04em; line-height: 1.25; padding-top: 4px; color: var(--al-navy); }
.al-date__y { display: block; font-size: .72rem; color: var(--al-muted); padding-bottom: 6px; }
.al-course h3 { font-size: 1.12rem; line-height: 1.25; margin: 0 0 6px; }
.al-course h3 a { color: inherit; text-decoration: none; }
.al-course h3 a::after { content: ""; position: absolute; inset: 0; }
.al-course__meta { display: grid; gap: 4px; color: var(--al-muted); font-size: .88rem; }
.al-course__meta span { display: inline-flex; align-items: center; gap: 6px; }
.al-course__body { padding: 16px 22px 0; display: flex; flex-wrap: wrap; gap: 6px; }
.al-course__foot { margin-top: auto; padding: 18px 22px 22px; }
.al-seats { display: grid; gap: 6px; font-size: .84rem; color: var(--al-muted); }
.al-seats__bar { height: 6px; border-radius: 6px; background: var(--al-line-2); overflow: hidden; }
.al-seats__bar i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--al-blue), #5B86D1); }
.al-seats.is-hot .al-seats__bar i { background: linear-gradient(90deg, var(--al-coral), #F08A74); }
.al-seats__row { display: flex; justify-content: space-between; gap: 8px; }
.al-course__price { font-weight: 750; color: var(--al-ink); }
.al-course.is-past { opacity: .85; }
.al-course.is-past .al-date__m { background: var(--al-muted); }

.al-post { display: flex; flex-direction: column; height: 100%; padding: 0; overflow: hidden; position: relative; }
.al-post__img { aspect-ratio: 16 / 9; background: var(--al-blue-50); overflow: hidden; }
.al-post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--al-ease); }
.al-post:hover .al-post__img img { transform: scale(1.03); }
.al-post__ph { width: 100%; height: 100%; display: grid; place-items: center; color: var(--al-blue); background: radial-gradient(circle at 30% 20%, #fff, var(--al-blue-50)); }
.al-post__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.al-post__meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .82rem; color: var(--al-muted); }
.al-post h3 { font-size: 1.1rem; line-height: 1.3; margin: 0; }
.al-post h3 a { color: var(--al-ink); text-decoration: none; }
.al-post h3 a::after { content: ""; position: absolute; inset: 0; }
.al-post p { margin: 0; color: var(--al-muted); font-size: .94rem; }
.al-post__att { margin-top: auto; padding-top: 6px; font-size: .84rem; color: var(--al-coral-600); font-weight: 650; display: inline-flex; align-items: center; gap: 6px; }

.al-list { background: #fff; border: 1px solid var(--al-line); border-radius: var(--al-radius); overflow: hidden; }
.al-list__item { display: flex; gap: 14px; align-items: flex-start; padding: 16px 20px; border-bottom: 1px solid var(--al-line-2); text-decoration: none; color: var(--al-ink); transition: background .15s; }
.al-list__item:last-child { border-bottom: 0; }
.al-list__item:hover { background: var(--al-bg); color: var(--al-ink); }
.al-list__ico { flex: none; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--al-coral-50); color: var(--al-coral); }
.al-list__t { display: block; font-weight: 620; line-height: 1.35; }
.al-list__s { display: block; font-size: .84rem; color: var(--al-muted); margin-top: 2px; }

.al-pcard { display: flex; gap: 14px; align-items: center; padding: 16px; text-decoration: none; color: var(--al-ink); position: relative; }
.al-pcard__ph { flex: none; width: 60px; height: 60px; border-radius: 16px; overflow: hidden; }
.al-pcard__ph img { width: 100%; height: 100%; object-fit: cover; }
.al-pcard b { display: block; line-height: 1.25; }
.al-pcard span { display: block; font-size: .86rem; color: var(--al-muted); }
.al-initials {
	display: grid; place-items: center; width: 100%; height: 100%; color: #fff; font-weight: 800; letter-spacing: .02em;
	background: linear-gradient(135deg, var(--al-blue) 0%, #6A8FD0 55%, var(--al-coral) 130%);
}

/* ==========================================================================
   9. Scheda dentista
   ========================================================================== */
.al-profile-head { position: relative; padding: 36px 0 28px; overflow: hidden; }
.al-profile-head::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 220px; background: linear-gradient(120deg, var(--al-blue-50), #fff 60%, var(--al-coral-50)); border-bottom: 1px solid var(--al-line); }
.al-profile-head > .al-wrap { position: relative; }
.al-phead { display: grid; gap: 20px; align-items: end; margin-top: 40px; }
@media (min-width: 760px) { .al-phead { grid-template-columns: auto 1fr; gap: 28px; } }
.al-phead__ph { width: 132px; height: 132px; border-radius: 30px; overflow: hidden; border: 5px solid #fff; box-shadow: var(--al-shadow-lg); background: #fff; }
.al-phead__ph img { width: 100%; height: 100%; object-fit: cover; }
.al-phead__ph .al-initials { font-size: 2.6rem; }
.al-phead h1 { font-size: clamp(1.9rem, 1.4rem + 2vw, 3rem); margin: 6px 0 4px; }
.al-phead__sub { color: var(--al-muted); font-size: 1.05rem; margin: 0; }
.al-phead__badges { display: flex; flex-wrap: wrap; gap: 8px; }
.al-verified { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 999px; background: var(--al-green-50); color: var(--al-green-700); font-size: .84rem; font-weight: 700; border: 1px solid #C4E9D7; }
.al-verified svg { color: var(--al-green); }
.al-profile { display: grid; gap: 24px; padding: 12px 0 72px; }
@media (min-width: 1000px) { .al-profile { grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: start; } }
.al-profile__side { display: grid; gap: 16px; }
@media (min-width: 1000px) { .al-profile__side { position: sticky; top: calc(var(--al-header-h) + 20px); } }
.al-profile__main { display: grid; gap: 20px; min-width: 0; }
.al-block h2 { font-size: 1.25rem; letter-spacing: -.02em; display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.al-block h2 svg { color: var(--al-blue); }
.al-kv { display: grid; gap: 12px; margin: 0; }
.al-kv div { display: flex; gap: 12px; align-items: flex-start; }
.al-kv dt { flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--al-blue-50); color: var(--al-blue); display: grid; place-items: center; }
.al-kv dd { margin: 0; padding-top: 6px; line-height: 1.4; }
.al-kv dd small { display: block; color: var(--al-muted); }
.al-hours { width: 100%; font-size: .95rem; }
.al-hours th, .al-hours td { padding: 9px 4px; border-bottom: 1px solid var(--al-line-2); text-align: left; vertical-align: top; }
.al-hours th { font-weight: 600; width: 40%; }
.al-hours td { color: var(--al-ink-2); font-variant-numeric: tabular-nums; }
.al-hours tr.is-today th, .al-hours tr.is-today td { color: var(--al-blue); font-weight: 700; }
.al-hours tr:last-child th, .al-hours tr:last-child td { border-bottom: 0; }
.al-open { display: inline-flex; align-items: center; gap: 6px; font-size: .84rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.al-open::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.al-open--yes { background: var(--al-green-50); color: var(--al-green-700); }
.al-open--no { background: var(--al-line-2); color: var(--al-muted); }
.al-tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.al-checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
@media (min-width: 640px) { .al-checklist { grid-template-columns: 1fr 1fr; } }
.al-checklist li { display: flex; gap: 8px; align-items: flex-start; }
.al-checklist li svg { flex: none; margin-top: 3px; color: var(--al-green); }
.al-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.al-gallery a { display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--al-bg); }
.al-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--al-ease); }
.al-gallery a:hover img { transform: scale(1.04); }
.al-mapbox { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 9; background: linear-gradient(135deg, #EAF1FB, #F7F9FD); display: grid; place-items: center; text-align: center; border: 1px solid var(--al-line); }
.al-mapbox iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.al-mapbox__in { padding: 20px; display: grid; gap: 10px; justify-items: center; color: var(--al-muted); font-size: .9rem; }
.al-edu { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 14px; }
.al-edu div { background: var(--al-bg); border-radius: 12px; padding: 14px 16px; }
.al-edu b { display: block; font-size: 1.6rem; letter-spacing: -.03em; line-height: 1.1; color: var(--al-navy); }
.al-edu span { font-size: .85rem; color: var(--al-muted); }
.al-inactive { text-align: center; padding: 48px 24px; }
.al-inactive svg { color: var(--al-amber); margin: 0 auto 12px; }

/* ==========================================================================
   10. Pagina corso
   ========================================================================== */
.al-coursehead { position: relative; overflow: hidden; color: #C9D5EA; background: var(--al-navy); padding: 40px 0 44px; }
@media (min-width: 900px) { .al-coursehead { padding: 64px 0 72px; } }
.al-coursehead::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 400px at 95% 10%, rgba(226, 72, 58, .32), transparent 70%), radial-gradient(700px 480px at 0% 110%, rgba(47, 91, 167, .7), transparent 70%); }
.al-coursehead__img { position: absolute; inset: 0; opacity: .14; background-size: cover; background-position: center; filter: saturate(.6); }
.al-coursehead > .al-wrap { position: relative; }
.al-coursehead h1 { color: #fff; max-width: 900px; }
.al-coursehead .al-crumbs, .al-coursehead .al-crumbs a { color: #A9B8D3; }
.al-coursehead__sub { font-size: 1.15rem; color: #D6E0F2; max-width: 760px; }
.al-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.al-fact { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: #fff; font-size: .92rem; }
.al-fact svg { color: #9FB6E0; }
.al-coursegrid { display: grid; gap: 24px; padding: 36px 0 80px; }
@media (min-width: 1000px) { .al-coursegrid { grid-template-columns: minmax(0, 1fr) 380px; gap: 36px; align-items: start; margin-top: -60px; } }
.al-coursegrid__side { position: relative; z-index: 2; }
@media (min-width: 1000px) { .al-coursegrid__side { position: sticky; top: calc(var(--al-header-h) + 20px); } }
.al-coursegrid__main { display: grid; gap: 20px; min-width: 0; position: relative; z-index: 2; }
.al-timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.al-timeline::before { content: ""; position: absolute; left: 68px; top: 8px; bottom: 8px; width: 2px; background: var(--al-line); }
.al-timeline li { display: grid; grid-template-columns: 56px 1fr; gap: 26px; padding: 10px 0; position: relative; }
.al-timeline li::before { content: ""; position: absolute; left: 63px; top: 17px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid var(--al-blue); }
.al-timeline time { font-weight: 750; font-variant-numeric: tabular-nums; color: var(--al-blue); padding-top: 1px; }
.al-timeline b { display: block; line-height: 1.35; }
.al-timeline p { margin: 4px 0 0; color: var(--al-muted); font-size: .94rem; }
.al-speakers { display: grid; gap: 14px; }
@media (min-width: 700px) { .al-speakers { grid-template-columns: 1fr 1fr; } }
.al-speaker { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 14px; background: var(--al-bg); }
.al-speaker__ph { flex: none; width: 56px; height: 56px; border-radius: 50%; overflow: hidden; }
.al-speaker__ph img { width: 100%; height: 100%; object-fit: cover; }
.al-speaker b { display: block; }
.al-speaker small { display: block; color: var(--al-blue); font-weight: 600; margin-bottom: 4px; }
.al-speaker p { margin: 0; font-size: .9rem; color: var(--al-muted); }
.al-sponsors { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.al-sponsors img { max-height: 70px; width: auto; filter: grayscale(.2); }
.al-tariffs { width: 100%; font-size: .95rem; }
.al-tariffs td { padding: 10px 0; border-bottom: 1px solid var(--al-line-2); }
.al-tariffs td:last-child { text-align: right; font-weight: 700; white-space: nowrap; }
.al-tariffs tr:last-child td { border-bottom: 0; }

/* ==========================================================================
   11. Archivi, filtri, paginazione
   ========================================================================== */
.al-filterbar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.al-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: #fff; border: 1px solid var(--al-line); margin-bottom: 24px; }
.al-tabs a { padding: 8px 16px; border-radius: 999px; text-decoration: none; color: var(--al-ink-2); font-weight: 600; font-size: .92rem; }
.al-tabs a[aria-current="page"] { background: var(--al-navy); color: #fff; }
.al-pagination { margin: 40px 0 0; }
.al-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.al-pagination .page-numbers { min-width: 44px; height: 44px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; border: 1px solid var(--al-line); background: #fff; text-decoration: none; color: var(--al-ink-2); font-weight: 600; }
.al-pagination .page-numbers.current { background: var(--al-navy); color: #fff; border-color: var(--al-navy); }
.al-pagination a.page-numbers:hover { border-color: var(--al-blue); color: var(--al-blue); }
.al-empty { text-align: center; padding: 56px 20px; color: var(--al-muted); background: #fff; border: 1px dashed var(--al-line); border-radius: var(--al-radius); }
.al-empty svg { color: var(--al-blue); margin: 0 auto 12px; }
.al-docsearch { position: relative; margin-bottom: 18px; }
.al-docsearch svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--al-muted); }
.al-docsearch input { padding-left: 46px !important; }

/* ==========================================================================
   12. Articolo e contenuti (prose)
   ========================================================================== */
.al-article { display: grid; gap: 32px; padding: 8px 0 80px; }
@media (min-width: 1000px) { .al-article { grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; } }
.al-article__side { display: grid; gap: 16px; }
@media (min-width: 1000px) { .al-article__side { position: sticky; top: calc(var(--al-header-h) + 20px); } }
.al-article__cover { border-radius: var(--al-radius); overflow: hidden; margin-bottom: 28px; border: 1px solid var(--al-line); background: #fff; }
.al-article__cover img { width: 100%; max-height: 520px; object-fit: contain; background: #fff; }
.al-prose { font-size: 1.06rem; line-height: 1.75; color: var(--al-ink-2); overflow-wrap: break-word; }
.al-prose::after { content: ""; display: table; clear: both; }
.al-prose > :first-child { margin-top: 0; }
.al-prose h2, .al-prose h3, .al-prose h4 { color: var(--al-ink); margin: 1.8em 0 .6em; }
.al-prose h2 { font-size: 1.7rem; }
.al-prose h3 { font-size: 1.3rem; }
.al-prose ul, .al-prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.al-prose li { margin: .35em 0; }
.al-prose li::marker { color: var(--al-blue); }
.al-prose a { font-weight: 550; }
.al-prose img { border-radius: 14px; }
.al-prose figure, .al-prose .wp-caption { margin: 1.6em 0; max-width: 100%; }
.al-prose figcaption, .al-prose .wp-caption-text { font-size: .86rem; color: var(--al-muted); margin-top: 8px; }
.al-prose blockquote { margin: 1.6em 0; padding: 18px 22px; border-left: 4px solid var(--al-blue); background: var(--al-blue-50); border-radius: 0 14px 14px 0; color: var(--al-ink); }
.al-prose table { margin: 1.4em 0; font-size: .95rem; background: #fff; border: 1px solid var(--al-line); border-radius: 12px; overflow: hidden; display: block; overflow-x: auto; }
.al-prose th, .al-prose td { padding: 10px 14px; border-bottom: 1px solid var(--al-line-2); text-align: left; }
.al-prose th { background: var(--al-bg); }
.al-prose iframe { border: 0; border-radius: 14px; width: 100%; min-height: 320px; }
.al-prose .alignleft { float: left; margin: .3em 1.4em 1em 0; }
.al-prose .alignright { float: right; margin: .3em 0 1em 1.4em; }
.al-prose .aligncenter { margin-left: auto; margin-right: auto; }
.al-prose strong { color: var(--al-ink); }
.al-prose .al-btn { color: #fff; text-decoration: none; }
.al-prose .al-btn--ghost { color: var(--al-ink); }
.al-prose > .al-panel, .al-panel { background: #fff; border: 1px solid var(--al-line); border-radius: var(--al-radius); padding: 24px 26px; margin: 0 0 20px; box-shadow: var(--al-shadow); }
.al-panel > :last-child { margin-bottom: 0; }
.al-panel h2, .al-panel h3 { margin-top: 0; }
.al-panel--tint { background: var(--al-blue-50); border-color: var(--al-blue-100); box-shadow: none; }
.al-panel--warn { background: var(--al-amber-50); border-color: #F3DDB0; box-shadow: none; }
.al-panel-grid { display: grid; gap: 20px; margin-bottom: 20px; }
@media (min-width: 800px) { .al-panel-grid { grid-template-columns: 1fr 1fr; } .al-panel-grid > .al-panel { margin: 0; } }
.al-price-list { list-style: none !important; padding: 0 !important; margin: 0 0 1em !important; display: grid; gap: 10px; }
.al-price-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 16px; margin: 0 !important; border-radius: 12px; background: var(--al-bg); }
.al-price-list li b { color: var(--al-navy); font-size: 1.05rem; white-space: nowrap; }
.al-price-list li span { font-size: .95rem; }
.al-price-list li { flex-wrap: wrap; }
.al-price-list li small { flex-basis: 100%; font-size: .88rem; color: var(--al-muted); line-height: 1.45; }
.al-people li > span:last-child small:first-child { font-size: .78rem; text-transform: none; }
.al-iban { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 14px 16px; border-radius: 12px; background: var(--al-navy); color: #fff; font-family: var(--al-mono); font-size: 1rem; letter-spacing: .04em; }
.al-iban code { font: inherit; color: inherit; background: none; word-break: break-all; }
.al-iban button { margin-left: auto; font-family: var(--al-font); }
.al-people { list-style: none !important; padding: 0 !important; display: grid; gap: 10px; }
@media (min-width: 640px) { .al-people { grid-template-columns: 1fr 1fr; } }
.al-people li { display: flex; gap: 12px; align-items: center; padding: 12px 14px; margin: 0 !important; background: var(--al-bg); border-radius: 12px; }
.al-people li .al-avatar { width: 40px; height: 40px; font-size: .8rem; flex: none; }
.al-people b { display: block; color: var(--al-ink); line-height: 1.3; }
.al-people small { display: block; color: var(--al-muted); }
.al-partners { display: grid; gap: 16px; }
@media (min-width: 700px) { .al-partners { grid-template-columns: 1fr 1fr; } }
.al-partner { display: block; border-radius: var(--al-radius); overflow: hidden; border: 1px solid var(--al-line); background: #fff; box-shadow: var(--al-shadow); transition: transform .25s var(--al-ease), box-shadow .25s; }
.al-partner:hover { transform: translateY(-3px); box-shadow: var(--al-shadow-lg); }
.al-partner img { width: 100%; border-radius: 0 !important; }
.al-reasons { counter-reset: r; list-style: none !important; padding: 0 !important; display: grid; gap: 10px; }
.al-reasons li { counter-increment: r; display: flex; gap: 14px; align-items: flex-start; margin: 0 !important; padding: 14px 16px; background: #fff; border: 1px solid var(--al-line); border-radius: 14px; }
.al-reasons li::before { content: counter(r); flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--al-blue); color: #fff; font-weight: 800; font-size: .85rem; }
.al-download { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--al-line); background: #fff; text-decoration: none !important; color: var(--al-ink) !important; transition: border-color .2s, box-shadow .2s, transform .2s var(--al-ease); margin: 0 0 10px; }
.al-download:hover { border-color: var(--al-blue-100); box-shadow: var(--al-shadow); transform: translateY(-1px); }
.al-download__ico { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--al-coral-50); color: var(--al-coral); font-size: .7rem; font-weight: 800; }
.al-download__t { display: block; font-weight: 620; line-height: 1.3; word-break: break-word; }
.al-download__s { display: block; font-size: .8rem; color: var(--al-muted); }
.al-download__go { margin-left: auto; color: var(--al-blue); flex: none; }
.al-share { display: flex; flex-wrap: wrap; gap: 8px; }
.al-related { margin-top: 56px; }

/* Shortcode Enfold convertiti */
.al-av-col { margin-bottom: 1.2em; }
.al-av-col > :last-child { margin-bottom: 0; }
@media (min-width: 768px) {
	.al-av-col { float: left; margin-left: 4%; }
	.al-av-col.first { margin-left: 0; clear: left; }
	.al-av-col--1-1 { width: 100%; margin-left: 0; }
	.al-av-col--1-2 { width: 48%; }
	.al-av-col--1-3 { width: 30.66%; }
	.al-av-col--2-3 { width: 65.33%; }
	.al-av-col--1-4 { width: 22%; }
	.al-av-col--3-4 { width: 74%; }
	.al-av-col--1-5 { width: 16.8%; }
	.al-av-col--2-5 { width: 37.6%; }
	.al-av-col--3-5 { width: 58.4%; }
	.al-av-col--4-5 { width: 79.2%; }
}
.al-av-section { clear: both; padding: 8px 0; }
.al-av-section::after { content: ""; display: table; clear: both; }
.al-av-hr { clear: both; }
.al-av-spacer { clear: both; height: 24px; }
.al-av-iconlist { list-style: none !important; padding: 0 !important; display: grid; gap: 12px; }
.al-av-iconlist li { padding: 14px 16px; background: var(--al-bg); border-radius: 12px; margin: 0 !important; }
.al-av-iconbox { padding: 20px; background: #fff; border: 1px solid var(--al-line); border-radius: 14px; margin-bottom: 1em; }
.al-av-quote { margin: 0 0 1em; }
.al-av-slides { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; margin: 1.2em 0; }
.al-av-slides > * { scroll-snap-align: start; flex: 0 0 min(86%, 560px); }
.al-av-slides img { width: 100%; border-radius: 14px; }
.al-av-recent { list-style: none !important; padding: 0 !important; }

/* ==========================================================================
   13. Piè di pagina
   ========================================================================== */
.al-footer { background: var(--al-navy); color: #A9B8D3; font-size: .95rem; margin-top: 0; position: relative; }
.al-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--al-flag); }
.al-footer a { color: #DCE5F5; text-decoration: none; }
.al-footer a:hover { color: #fff; text-decoration: underline; }
.al-footer__grid { display: grid; gap: 36px; padding: 64px 0 40px; }
@media (min-width: 800px) { .al-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.al-footer h2 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 16px; }
.al-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.al-footer__brand img { height: 52px; width: auto; background: #fff; border-radius: 12px; padding: 6px 10px; margin-bottom: 16px; }
.al-footer__brand p { max-width: 360px; }
.al-footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.al-footer__contact svg { flex: none; margin-top: 3px; color: #7F95BD; }
.al-footer__social { display: flex; gap: 8px; margin-top: 18px; }
.al-footer__social a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); }
.al-footer__social a:hover { background: rgba(255, 255, 255, .16); text-decoration: none; }
.al-footer__people li span { display: block; font-size: .8rem; color: #7F95BD; }
.al-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0 28px; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: .84rem; color: #7F95BD; }
.al-footer__bottom ul { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.al-totop { position: fixed; right: 18px; bottom: 18px; z-index: 80; opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .25s, transform .25s; box-shadow: var(--al-shadow-lg); }
.al-totop.is-on { opacity: 1; transform: none; pointer-events: auto; }

/* ==========================================================================
   14. WooCommerce (carrello, cassa, account)
   ========================================================================== */
.woocommerce .al-prose, .al-woo { font-size: 1rem; }
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { list-style: none; padding: 14px 18px !important; border-radius: 12px; background: var(--al-blue-50); border: 1px solid var(--al-blue-100); margin: 0 0 18px !important; }
.woocommerce-error { background: var(--al-coral-50); border-color: #F7C9C4; }
.woocommerce-message .button, .woocommerce-info .button { float: right; }
.al-woo .button, .woocommerce .button, .woocommerce button.button, .woocommerce a.button, .woocommerce #place_order, .wc-block-components-button {
	display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: .7em 1.3em; border-radius: 999px; border: 0;
	background: var(--al-blue); color: #fff !important; font-weight: 650; text-decoration: none; cursor: pointer;
}
.woocommerce .button:hover, .woocommerce #place_order:hover { background: var(--al-blue-600); }
.woocommerce table.shop_table { background: #fff; border: 1px solid var(--al-line); border-radius: 14px; overflow: hidden; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: 12px 14px; border-bottom: 1px solid var(--al-line-2); text-align: left; }
.woocommerce form .form-row { margin: 0 0 14px; }
.woocommerce form .form-row label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select, .woocommerce .select2-container .select2-selection {
	width: 100%; min-height: 48px; padding: .6em .9em; border-radius: 12px; border: 1px solid var(--al-line); background: #fff;
}
.woocommerce-checkout #payment { background: var(--al-bg); border-radius: 14px; padding: 16px; }
.woocommerce-checkout #payment ul.payment_methods { list-style: none; padding: 0; }
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.woocommerce-MyAccount-navigation a { display: inline-block; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--al-line); text-decoration: none; color: var(--al-ink-2); font-weight: 600; }
.woocommerce-MyAccount-navigation .is-active a { background: var(--al-navy); color: #fff; border-color: var(--al-navy); }
@media (min-width: 900px) { .woocommerce-account .woocommerce { display: grid; grid-template-columns: 240px 1fr; gap: 32px; } .woocommerce-MyAccount-navigation ul { flex-direction: column; } }
.col2-set { display: grid; gap: 24px; }
@media (min-width: 800px) { .col2-set { grid-template-columns: 1fr 1fr; } }

/* ==========================================================================
   15. Animazioni, stampa, preferenze
   ========================================================================== */
.al-js [data-al-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--al-ease), transform .6s var(--al-ease); }
.al-js [data-al-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.al-js [data-al-reveal] { opacity: 1; transform: none; }
}
@media print {
	.al-header, .al-footer, .al-drawer, .al-cmdk, .al-totop, .al-profile__side, .al-share, .al-coursegrid__side { display: none !important; }
	body { background: #fff; }
	.al-card, .al-panel { box-shadow: none; }
}
