/* ── Variables ────────────────────────────────────── */
/* See azione-legale.css — same contract: override the --block-* token. */
:root {
	--azl-teal: var(--block-accent, #3DAABD);
	--azl-teal-deep: var(--block-accent-deep, #2B8A9A);
	--azl-teal-glow: var(--block-accent-glow, rgba(61, 170, 189, .15));
	--azl-navy: var(--block-dark, #1a2332);
	--azl-navy-light: #243044;
	--azl-cream: var(--block-bg, #faf9f7);
	--azl-text: var(--block-text, #2c2c2c);
	--azl-text-secondary: var(--block-text-secondary, #5a5a5a);
	--azl-radius: var(--block-radius, 16px);
	--azl-radius-sm: var(--block-radius-sm, 10px);
	--azl-font-body: var(--block-font-body, 'Karla', system-ui, sans-serif);
	--azl-font-heading: var(--block-font-heading, 'DM Serif Display', Georgia, serif);
}

/* ── Reset & base ─────────────────────────────────── */
.azl-page *,
.azl-page *::before,
.azl-page *::after { box-sizing: border-box; }

.azl-page {
	font-family: var(--azl-font-body);
	color: var(--azl-text);
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
	background: #fff;
}

.azl-page h1, .azl-page h2, .azl-page h3, .azl-page h4 {
	font-family: var(--azl-font-heading);
	font-weight: 400;
	line-height: 1.15;
}

.azl-page a { color: var(--azl-teal); text-decoration: none; transition: color .25s ease; }
.azl-page a:hover { color: var(--azl-teal-deep); }
.azl-page img { max-width: 100%; height: auto; }

/* ── Animations ───────────────────────────────────── */
@keyframes azlFadeInUp {
	from { opacity: 0; transform: translateY(44px); }
	to   { opacity: 1; transform: translateY(0); }
}
@keyframes azlFadeIn {
	from { opacity: 0; }
	to   { opacity: 1; }
}
@keyframes azlFloat {
	0%, 100% { transform: translateY(0); }
	50%      { transform: translateY(-8px); }
}

/* ── Label ────────────────────────────────────────── */
.azl-label {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--azl-font-body);
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .15em;
	text-transform: uppercase;
	color: var(--azl-teal);
}
.azl-label::before {
	content: '';
	width: 24px;
	height: 2px;
	background: var(--azl-teal);
	border-radius: 1px;
}

/* ── Pill button ──────────────────────────────────── */
.azl-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--azl-teal);
	color: #fff !important;
	font-family: var(--azl-font-body);
	font-size: .82rem;
	font-weight: 600;
	letter-spacing: .04em;
	padding: 12px 28px;
	border-radius: var(--block-btn-radius, 50px);
	transition: all .3s cubic-bezier(.22,1,.36,1);
	text-decoration: none !important;
}
.azl-btn::after {
	content: '\2192';
	transition: transform .3s ease;
}
.azl-btn:hover {
	background: var(--azl-teal-deep);
	color: #fff !important;
	transform: translateY(-2px);
	box-shadow: 0 6px 24px rgba(61,170,189,.3);
}
.azl-btn:hover::after { transform: translateX(3px); }

.azl-btn--outline {
	background: transparent;
	border: 1.5px solid rgba(255,255,255,.25);
	color: #fff !important;
}
.azl-btn--outline:hover {
	background: rgba(255,255,255,.08);
	border-color: rgba(255,255,255,.5);
	color: #fff !important;
	box-shadow: 0 6px 24px rgba(0,0,0,.15);
}

.azl-btn--white {
	background: #fff;
	color: var(--azl-navy) !important;
}
.azl-btn--white:hover {
	background: #fff;
	color: var(--azl-teal-deep) !important;
	box-shadow: 0 8px 30px rgba(0,0,0,.15);
}


/* ══════════════════════════════════════════════════════
   1. HERO
   ══════════════════════════════════════════════════════ */
.azl-hero {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 100px 24px 40px;
	background: var(--azl-cream);
	overflow: hidden;
}

/* Layered radial gradients for depth */
.azl-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse at 50% 20%, rgba(61,170,189,.08) 0%, transparent 55%),
		radial-gradient(ellipse at 80% 80%, rgba(61,170,189,.05) 0%, transparent 40%);
	pointer-events: none;
}

/* Decorative scales/justice watermark */
.azl-hero::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 500px;
	height: 500px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='none' stroke='rgba(26,35,50,0.06)' stroke-width='0.5'%3E%3Cline x1='50' y1='15' x2='50' y2='50'/%3E%3Cline x1='25' y1='35' x2='75' y2='35'/%3E%3Cpath d='M25 35 L18 55 L32 55 Z'/%3E%3Cpath d='M75 35 L68 55 L82 55 Z'/%3E%3Cline x1='50' y1='50' x2='50' y2='85'/%3E%3Cline x1='35' y1='85' x2='65' y2='85'/%3E%3C/svg%3E");
	background-size: contain;
	background-repeat: no-repeat;
	pointer-events: none;
	opacity: .7;
}

.azl-hero-content {
	position: relative;
	z-index: 2;
	max-width: 800px;
}

.azl-hero .azl-label {
	justify-content: center;
	margin-bottom: 20px;
	animation: azlFadeInUp .9s cubic-bezier(.22,1,.36,1) .1s both;
}

.azl-hero h1 {
	font-size: clamp(2.6rem, 6vw, 4.2rem);
	color: var(--azl-navy);
	margin: 0;
	letter-spacing: -.01em;
	animation: azlFadeInUp .9s cubic-bezier(.22,1,.36,1) .2s both;
}

.azl-hero-subtitle {
	font-family: var(--azl-font-heading);
	font-size: clamp(1.15rem, 2.2vw, 1.5rem);
	font-weight: 400;
	font-style: italic;
	color: var(--azl-text-secondary);
	margin: 14px 0 0;
	line-height: 1.4;
	animation: azlFadeInUp .9s cubic-bezier(.22,1,.36,1) .28s both;
}

.azl-hero-line {
	width: 80px;
	height: 3px;
	background: var(--azl-teal);
	margin: 20px auto;
	border-radius: 2px;
	animation: azlFadeIn .6s ease .45s both;
}

.azl-hero-intro {
	font-family: var(--azl-font-body);
	font-size: clamp(1rem, 1.6vw, 1.18rem);
	font-weight: 400;
	color: var(--azl-text-secondary);
	margin: 0;
	max-width: 620px;
	margin-left: auto;
	margin-right: auto;
	line-height: 1.7;
	animation: azlFadeInUp .9s cubic-bezier(.22,1,.36,1) .35s both;
}

/* Scroll indicator — sits at bottom of impact section */
.azl-hero-scroll {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	margin-top: 36px;
	animation: azlFadeIn 1s ease 1.2s both;
}
.azl-hero-scroll span {
	font-size: .68rem;
	text-transform: uppercase;
	letter-spacing: .15em;
	color: var(--azl-text-secondary);
	opacity: .5;
}
.azl-hero-scroll-line {
	width: 1px;
	height: 36px;
	background: linear-gradient(to bottom, var(--azl-teal), transparent);
	animation: azlFloat 2s ease-in-out infinite;
}


/* ══════════════════════════════════════════════════════
   2. IMPACT STATS
   ══════════════════════════════════════════════════════ */
.azl-impact {
	background: var(--azl-cream);
	padding: 24px 24px 48px;
	position: relative;
	overflow: hidden;
}

.azl-impact::before {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse at 50% 80%, rgba(61,170,189,.06) 0%, transparent 50%);
	pointer-events: none;
}

.azl-impact-inner {
	max-width: 1140px;
	margin: 0 auto;
}

.azl-stats-grid {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 24px;
}

.azl-stat {
	flex: 1 1 200px;
	max-width: 260px;
	background: #fff;
	border: 1px solid rgba(61,170,189,.12);
	border-radius: var(--azl-radius);
	padding: 28px 20px;
	text-align: center;
	transition: all .35s cubic-bezier(.22,1,.36,1);
}

.azl-stat:hover {
	border-color: var(--azl-teal);
	transform: translateY(-3px);
	box-shadow: 0 8px 28px rgba(61,170,189,.12);
}

.azl-stat__value {
	font-family: var(--azl-font-heading);
	font-size: clamp(2rem, 3.5vw, 2.8rem);
	color: var(--azl-teal);
	margin: 0 0 6px;
	line-height: 1;
}

.azl-stat__label {
	font-family: var(--azl-font-body);
	font-size: .78rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .1em;
	color: var(--azl-text-secondary);
	margin: 0;
}


/* ══════════════════════════════════════════════════════
   3. CARD GRID
   ══════════════════════════════════════════════════════ */
.azl-grid-section {
	background: var(--azl-navy);
	padding: 90px 24px 100px;
	position: relative;
	overflow: hidden;
}

.azl-grid-section::before {
	content: '';
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse at 20% 10%, rgba(61,170,189,.1) 0%, transparent 50%),
		radial-gradient(ellipse at 80% 90%, rgba(61,170,189,.06) 0%, transparent 40%);
	pointer-events: none;
}

.azl-grid-inner {
	max-width: 1140px;
	margin: 0 auto;
}

.azl-grid-header {
	text-align: center;
	margin-bottom: 52px;
}

.azl-grid-header .azl-label {
	justify-content: center;
	margin-bottom: 14px;
}

.azl-grid-header h2 {
	font-size: clamp(1.8rem, 3.5vw, 2.6rem);
	color: #fff;
	margin: 0;
}

.azl-grid {
	margin-bottom: 48px;
}

/* Featured grid: 2 columns on desktop */
.azl-grid--featured {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 36px;
}

/* Other grid: 3 columns on desktop */
.azl-grid--other .azl-grid__track {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}

/* Carousel navigation (mobile only) */
.azl-carousel-nav {
	display: none;
}

/* ── Card ──────────────────────────────────────────── */
.azl-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: var(--azl-radius);
	overflow: hidden;
	border: 1px solid rgba(26,35,50,.06);
	box-shadow: 0 4px 24px rgba(26,35,50,.06);
	text-decoration: none !important;
	color: var(--azl-text) !important;
	position: relative;
	transition: all .4s cubic-bezier(.22,1,.36,1);
}

.azl-card::before {
	content: '';
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 4px;
	background: var(--azl-card-accent, var(--azl-teal));
	z-index: 1;
}

.azl-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 20px 56px rgba(26,35,50,.12);
	color: var(--azl-text) !important;
}

/* Image */
.azl-card__img {
	overflow: hidden;
	aspect-ratio: 3 / 2;
	flex-shrink: 0;
}

.azl-card__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .6s cubic-bezier(.22,1,.36,1);
}

.azl-card:hover .azl-card__img img {
	transform: scale(1.05);
}

.azl-card__img--fallback {
	background: linear-gradient(135deg, var(--azl-card-accent, var(--azl-teal)), var(--azl-navy));
	display: flex;
	align-items: center;
	justify-content: center;
}

.azl-card__img--fallback svg {
	width: 56px;
	height: 56px;
	opacity: .25;
	color: #fff;
}

/* Body */
.azl-card__body {
	padding: 26px 28px 20px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.azl-card__label {
	display: inline-block;
	font-family: var(--azl-font-body);
	font-size: .65rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: var(--azl-card-accent, var(--azl-teal));
	background: color-mix(in srgb, var(--azl-card-accent, var(--azl-teal)) 12%, transparent);
	padding: 4px 12px;
	border-radius: 20px;
	margin-bottom: 12px;
	align-self: flex-start;
}

.azl-card__body h2 {
	font-size: clamp(1.2rem, 2.2vw, 1.4rem);
	color: var(--azl-navy);
	margin: 0 0 10px;
	line-height: 1.25;
}

.azl-card__subtitle {
	font-size: .9rem;
	color: var(--azl-text-secondary);
	line-height: 1.7;
	margin: 0 0 16px;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	flex: 1;
}

/* Timeline update footer */
.azl-card__update {
	display: flex;
	align-items: center;
	gap: 10px;
	padding-top: 14px;
	border-top: 1px solid rgba(26,35,50,.06);
	margin-bottom: 14px;
}

.azl-card__update-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--azl-card-accent, var(--azl-teal));
	flex-shrink: 0;
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--azl-card-accent, var(--azl-teal)) 15%, transparent);
}

.azl-card__update-text {
	font-family: var(--azl-font-body);
	font-size: .76rem;
	color: var(--azl-text-secondary);
	line-height: 1.4;
	min-width: 0;
}

.azl-card__update-date {
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .05em;
	font-size: .68rem;
	color: var(--azl-card-accent, var(--azl-teal));
}

.azl-card__update-title {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	display: block;
}

/* CTA link */
.azl-card__cta {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: var(--azl-font-body);
	font-size: .82rem;
	font-weight: 600;
	color: var(--azl-card-accent, var(--azl-teal));
	transition: gap .25s ease;
}

.azl-card:hover .azl-card__cta { gap: 10px; }


/* ══════════════════════════════════════════════════════
   4. COME LAVORIAMO — merged into ali/icon-cards block (chi-siamo.css)
   ══════════════════════════════════════════════════════ */


/* ══════════════════════════════════════════════════════
   5. QUOTE — styles moved to block: ali/quote-block (style.css)
   ══════════════════════════════════════════════════════ */


/* ══════════════════════════════════════════════════════
   6. LATEST NEWS — now rendered by ali/news-grid block
      (CSS is inline in the block's render.php)
   ══════════════════════════════════════════════════════ */


/* ══════════════════════════════════════════════════════
   7. CTA
   ══════════════════════════════════════════════════════ */
.azl-cta {
	background: var(--azl-cream);
	padding: 90px 24px 100px;
	position: relative;
	overflow: hidden;
}

.azl-cta::before {
	content: '';
	position: absolute;
	top: -120px;
	left: -80px;
	width: 400px;
	height: 400px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(61,170,189,.06) 0%, transparent 70%);
	pointer-events: none;
}

.azl-cta::after {
	content: '';
	position: absolute;
	bottom: -100px;
	right: -60px;
	width: 300px;
	height: 300px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(61,170,189,.04) 0%, transparent 70%);
	pointer-events: none;
}

/* Header */
.azl-cta-header {
	text-align: center;
	max-width: 700px;
	margin: 0 auto 48px;
	position: relative;
	z-index: 1;
}

.azl-cta-header .azl-label {
	color: var(--azl-teal);
	margin-bottom: 16px;
}

.azl-cta-header h2 {
	font-size: clamp(1.6rem, 3vw, 2.2rem);
	color: #fff;
	margin: 0 0 16px;
}

.azl-cta-text {
	font-size: .95rem;
	color: rgba(255,255,255,.6);
	margin: 0;
	line-height: 1.7;
}

/* Two-column grid */
.azl-cta-inner {
	position: relative;
	z-index: 1;
	max-width: 1140px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: start;
}

/* Left — Donation form */
.azl-cta-form { margin-top: 0; }

.azl-cta-fallback {
	font-size: .82rem;
	color: rgba(255,255,255,.4);
	margin-top: 12px;
}

.azl-cta-fallback a {
	color: var(--azl-teal);
	text-decoration: underline;
}

.azl-cta-fallback a:hover { color: #fff !important; }

/* Left — Simple button fallback (no donation slug) */
.azl-cta-donate {
	padding-top: 16px;
}

/* Right — Bonifico card (unused — kept for reference) */
.azl-cta-bonifico {
	background: rgba(255,255,255,.06);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border: 1px solid rgba(255,255,255,.1);
	border-radius: var(--azl-radius);
	padding: 28px 24px;
	margin-bottom: 24px;
}

.azl-cta-bonifico h4 {
	font-size: 1.15rem;
	color: #fff;
	margin: 0 0 16px;
	position: relative;
	padding-left: 28px;
}

.azl-cta-bonifico h4::before {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 18px;
	height: 18px;
	background: var(--azl-teal);
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Crect x='1' y='4' width='22' height='16' rx='2' ry='2'/%3E%3Cline x1='1' y1='10' x2='23' y2='10'/%3E%3C/svg%3E");
	-webkit-mask-size: contain;
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Crect x='1' y='4' width='22' height='16' rx='2' ry='2'/%3E%3Cline x1='1' y1='10' x2='23' y2='10'/%3E%3C/svg%3E");
	mask-size: contain;
}

.azl-cta-detail {
	font-size: .85rem;
	color: rgba(255,255,255,.55);
	margin: 0 0 8px;
	line-height: 1.5;
}

.azl-cta-detail strong { color: rgba(255,255,255,.9); }

.azl-cta-iban-row {
	display: flex;
	align-items: center;
	gap: 10px;
	background: rgba(0,0,0,.25);
	border-radius: 8px;
	padding: 10px 14px;
	margin: 12px 0;
	font-family: monospace;
	font-size: .85rem;
	color: var(--azl-teal);
	letter-spacing: .04em;
}

.azl-cta-copy {
	margin-left: auto;
	background: rgba(255,255,255,.1);
	border: 1px solid rgba(255,255,255,.15);
	color: #fff;
	font-size: .75rem;
	padding: 4px 12px;
	border-radius: var(--block-btn-radius, 50px);
	cursor: pointer;
	transition: background .2s, color .2s;
	white-space: nowrap;
}

.azl-cta-copy:hover { background: var(--azl-teal); }
.azl-cta-copy.copied { color: #66BB6A; }

.azl-cta-receipt {
	font-size: .78rem;
	color: rgba(255,255,255,.4);
	margin: 12px 0 0;
	line-height: 1.5;
}

.azl-cta-receipt a {
	color: var(--azl-teal);
	text-decoration: underline;
}

.azl-cta-receipt a:hover { color: #fff !important; }

/* Right — Tessera card (unused — kept for reference) */
.azl-cta-card {
	background: rgba(255,255,255,.06);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border: 1px solid rgba(255,255,255,.1);
	border-radius: var(--azl-radius);
	padding: 36px 32px;
}

.azl-cta-card h3 {
	font-size: 1.4rem;
	color: #fff;
	margin: 0 0 12px;
}

.azl-cta-card > p {
	font-size: .9rem;
	color: rgba(255,255,255,.55);
	margin: 0 0 24px;
	line-height: 1.7;
}

/* Share buttons in CTA */
.azl-cta .ali-share__label {
	color: rgba(255,255,255,.4);
}

.azl-cta .ali-share__btn {
	border-color: rgba(255,255,255,.15);
	color: rgba(255,255,255,.5);
}

.azl-cta .ali-share__btn:hover {
	background: var(--azl-teal);
	border-color: var(--azl-teal);
	color: #fff;
}

.azl-cta .ali-share__copied {
	color: #66BB6A;
}


/* ── Filters ──────────────────────────────────────── */
.azl-filters {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
	margin-bottom: 32px;
}

.azl-filter {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.azl-filter label {
	font-family: var(--azl-font-body);
	font-size: .68rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .1em;
	color: rgba(255,255,255,.5);
}

.azl-filter select {
	font-family: var(--azl-font-body);
	font-size: .85rem;
	padding: 8px 32px 8px 14px;
	border: 1px solid rgba(255,255,255,.12);
	border-radius: 8px;
	background: var(--azl-navy-light);
	color: rgba(255,255,255,.8);
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 10px center;
	transition: border-color .25s ease;
}

.azl-filter select:focus,
.azl-filter input:focus {
	outline: none;
	border-color: var(--azl-teal);
}

.azl-filter--search { flex: 1; min-width: 160px; }

.azl-filter input[type="search"] {
	font-family: var(--azl-font-body);
	font-size: .85rem;
	padding: 8px 14px;
	border: 1px solid rgba(255,255,255,.12);
	border-radius: 8px;
	background: var(--azl-navy-light);
	color: rgba(255,255,255,.8);
	transition: border-color .25s ease;
	width: 100%;
	box-sizing: border-box;
}

.azl-filter input[type="search"]::-webkit-search-cancel-button { cursor: pointer; }

/* ── Filter toggle (mobile only) ─────────────────── */
.azl-filters-toggle {
	display: none;
	align-items: center;
	gap: 8px;
	font-family: var(--azl-font-body);
	font-size: .82rem;
	font-weight: 600;
	color: rgba(255,255,255,.6);
	background: var(--azl-navy-light);
	border: 1px solid rgba(255,255,255,.12);
	border-radius: 8px;
	padding: 9px 18px;
	cursor: pointer;
	margin-bottom: 16px;
	transition: border-color .25s ease, color .25s ease;
}
.azl-filters-toggle:hover,
.azl-filters-toggle[aria-expanded="true"] {
	border-color: var(--azl-teal);
	color: var(--azl-teal);
}
.azl-filters-toggle svg { flex-shrink: 0; }

/* Card badges */
.azl-card__badges {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
	margin-bottom: 10px;
}

.azl-card__badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-family: var(--azl-font-body);
	font-size: .62rem;
	font-weight: 700;
	letter-spacing: .05em;
	text-transform: uppercase;
	padding: 3px 10px;
	border-radius: 12px;
	background: rgba(26,35,50,.06);
	color: var(--azl-text-secondary);
}

.azl-card__badge--attiva {
	background: rgba(61,170,189,.12);
	color: var(--azl-teal-deep);
}

.azl-card__badge--definita {
	background: rgba(26,35,50,.08);
	color: var(--azl-text-secondary);
}

.azl-card__badge--fase {
	background: rgba(26,35,50,.05);
}

.azl-card__badge-dot {
	width: 5px;
	height: 5px;
	border-radius: 50%;
	flex-shrink: 0;
}

.azl-card__badge--attiva .azl-card__badge-dot {
	background: var(--azl-teal);
}

.azl-card__badge--definita .azl-card__badge-dot {
	background: var(--azl-text-secondary);
}

/* Pinned badge */
.azl-card__pin {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 2;
	font-family: var(--azl-font-body);
	font-size: .6rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .08em;
	padding: 4px 10px;
	border-radius: 6px;
	background: rgba(26,35,50,.85);
	color: #fff;
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
}

.azl-card--pinned {
	border-color: rgba(61,170,189,.2);
	box-shadow: 0 4px 24px rgba(61,170,189,.1);
}

/* Hidden by filter */
.azl-card--hidden {
	display: none !important;
}

/* ── Grid actions (Sostienici + load more) ── */
.azl-grid-actions {
	display: flex;
	justify-content: center;
	gap: 16px;
	margin-top: 40px;
	flex-wrap: wrap;
}

/* Paginated: hide cards beyond limit */
.azl-card--paged {
	display: none !important;
}

.azl-grid-empty {
	grid-column: 1 / -1;
	text-align: center;
	padding: 60px 20px;
	color: var(--azl-text-secondary);
	font-size: .95rem;
}


/* ══════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════ */
@media (max-width: 900px) {
	.azl-hero {
		padding: 90px 24px 36px;
	}
	.azl-hero::after { width: 300px; height: 300px; }
	.azl-hero-scroll { display: none; }
	.azl-impact { padding: 24px 20px 32px; }
	.azl-stats-grid { gap: 12px; }
	.azl-stat { flex: 1 1 140px; padding: 18px 14px; }
	.azl-grid-section,
	.azl-cta { padding: 60px 20px 70px; }
	.azl-grid--featured { gap: 24px; }
	.azl-filters-toggle { display: inline-flex; }

	/* Other grid → horizontal carousel on mobile */
	.azl-grid--other .azl-grid__track {
		display: flex;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		gap: 16px;
		padding-bottom: 8px;
		scrollbar-width: none;
	}
	.azl-grid--other .azl-grid__track::-webkit-scrollbar { display: none; }
	.azl-grid--other .azl-grid__track > .azl-card {
		flex: 0 0 82%;
		max-width: 82%;
		scroll-snap-align: center;
	}
	.azl-grid--other .azl-grid__track > .azl-card--hidden {
		flex: 0 0 0;
		max-width: 0;
		overflow: hidden;
		padding: 0;
		margin: 0;
		border: 0;
		opacity: 0;
	}
	.azl-carousel-nav {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 12px;
		margin-top: 20px;
	}
	.azl-carousel-btn {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 36px;
		height: 36px;
		border-radius: 50%;
		border: 1.5px solid rgba(255,255,255,.25);
		background: transparent;
		color: rgba(255,255,255,.7);
		cursor: pointer;
		transition: all .2s ease;
	}
	.azl-carousel-btn:hover:not(:disabled) {
		border-color: var(--azl-teal);
		color: var(--azl-teal);
	}
	.azl-carousel-btn:disabled {
		opacity: .3;
		cursor: default;
	}
	.azl-carousel-dots {
		display: flex;
		gap: 6px;
		align-items: center;
	}
	.azl-carousel-dot {
		width: 8px;
		height: 8px;
		border-radius: 50%;
		background: rgba(255,255,255,.25);
		border: none;
		padding: 0;
		cursor: pointer;
		transition: all .25s ease;
	}
	.azl-carousel-dot--active {
		background: var(--azl-teal);
		transform: scale(1.25);
	}
	.azl-filters {
		display: none;
		flex-direction: column;
		gap: 12px;
	}
	.azl-filters.azl-filters--open { display: flex; }
	.azl-filter--search { min-width: 0; }
	.azl-cta-inner {
		grid-template-columns: 1fr;
		gap: 40px;
	}
	.azl-cta-iban-row {
		flex-wrap: wrap;
		font-size: .78rem;
	}
}

@media (max-width: 520px) {
	.azl-hero {
		min-height: auto;
		padding: 80px 20px 32px;
	}
	.azl-hero h1 { font-size: clamp(2rem, 8vw, 3rem); }
	.azl-grid--featured {
		grid-template-columns: 1fr;
		gap: 20px;
	}
	.azl-grid--other .azl-grid__track > .azl-card {
		flex: 0 0 88%;
		max-width: 88%;
	}
	.azl-card__body { padding: 22px 22px 18px; }
	.azl-stat { flex: 1 1 100%; max-width: 100%; }
}

/* Mobile reveal fix: prevent blank space below hero on first load */
@media (max-width: 900px) {
	.azl-impact .reveal,
	.azl-grid-section .reveal:first-child {
		opacity: 1;
		transform: none;
	}
	/* Carousel cards shouldn't hover-lift on touch */
	.azl-grid--other .azl-card:hover {
		transform: none;
	}
}

/* ── Sticky CTA ──────────────────────────────────── */
.azl-sticky-cta {
	display: flex;
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 900;
	justify-content: center;
	padding: 10px 20px calc(10px + env(safe-area-inset-bottom, 0px));
	background: rgba(26,35,50,.85);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	pointer-events: none;
	opacity: 1;
	transform: translateY(0);
	transition: opacity .35s ease, transform .35s ease;
}
.azl-sticky-cta .azl-btn {
	pointer-events: auto;
	max-width: 360px;
	justify-content: center;
	padding: 14px 28px;
	box-shadow: 0 4px 20px rgba(0,0,0,.3);
}
.azl-sticky-cta--hidden {
	opacity: 0;
	transform: translateY(20px);
	pointer-events: none !important;
}
.azl-sticky-cta--hidden .azl-btn {
	pointer-events: none !important;
}
@media (max-width: 900px) {
	.azl-sticky-cta .azl-btn { width: 100%; }
}
