/* Ajò Core – modulo di registrazione operatori */
.ajo-reg {
	--ajo-blu: #134B73;
	--ajo-verde: #367F2A;
	--ajo-verde-chiaro: #4C9F38;
	--ajo-arancio: #EE7A1E;
	--ajo-marrone: #8A5A34;
	--ajo-grigio: #F3F6F8;
	--ajo-bordo: #C9D2D9;
	--ajo-testo: #2D2A26;
	max-width: 820px;
	margin: 0 auto;
	font-family: 'DM Sans', system-ui, sans-serif;
	color: var(--ajo-testo);
	line-height: 1.5;
}
.ajo-reg h2 {
	font-family: 'Bricolage Grotesque', 'DM Sans', sans-serif;
	font-weight: 800;
	color: var(--ajo-blu);
	font-size: clamp(28px, 4vw, 40px);
	line-height: 1.1;
	margin: 0 0 12px;
}
.ajo-reg__eyebrow {
	margin: 0 0 8px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: var(--ajo-verde);
}
.ajo-reg__intro { margin-bottom: 28px; }
.ajo-reg__form fieldset {
	border: 0;
	margin: 0 0 24px;
	padding: 24px;
	background: var(--ajo-grigio);
	border-radius: 18px;
}
.ajo-reg__form legend {
	font-family: 'Bricolage Grotesque', 'DM Sans', sans-serif;
	font-weight: 700;
	font-size: 20px;
	color: var(--ajo-blu);
	padding: 0;
	float: left;
	width: 100%;
	margin-bottom: 16px;
}
.ajo-reg__form legend + * { clear: both; }
.ajo-reg__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 0 20px;
}
.ajo-reg__full { grid-column: 1 / -1; }
.ajo-reg__form p { margin: 0 0 16px; }
.ajo-reg__form label {
	display: block;
	font-size: 14px;
	font-weight: 700;
	color: var(--ajo-blu);
	margin-bottom: 4px;
}
.ajo-reg__form input[type="text"],
.ajo-reg__form input[type="email"],
.ajo-reg__form input[type="tel"],
.ajo-reg__form input[type="url"],
.ajo-reg__form textarea {
	width: 100%;
	box-sizing: border-box;
	min-height: 48px;
	padding: 10px 14px;
	border: 1px solid var(--ajo-bordo);
	border-radius: 12px;
	background: #fff;
	font: inherit;
	font-size: 16px;
	color: var(--ajo-testo);
}
.ajo-reg__form textarea { min-height: 110px; resize: vertical; }
.ajo-reg__form input:focus,
.ajo-reg__form textarea:focus {
	outline: 3px solid rgba(46, 155, 214, 0.35);
	border-color: #2E9BD6;
}
.ajo-reg__cats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 10px;
	clear: both;
}
.ajo-reg__check {
	display: flex !important;
	gap: 10px;
	align-items: flex-start;
	font-weight: 500 !important;
	color: var(--ajo-testo) !important;
	font-size: 15px !important;
	margin-bottom: 10px !important;
	cursor: pointer;
}
.ajo-reg__check input { width: 20px; height: 20px; margin: 2px 0 0; flex: 0 0 auto; accent-color: var(--ajo-verde); }
.ajo-reg__cats .ajo-reg__check {
	background: #fff;
	border: 1px solid var(--ajo-bordo);
	border-radius: 12px;
	padding: 12px 14px;
	margin: 0 !important;
	align-items: center;
}
.ajo-reg__consents a { color: var(--ajo-blu); }
.ajo-reg__btn {
	min-height: 52px;
	padding: 0 32px;
	border: 0;
	border-radius: 999px;
	background: var(--ajo-verde);
	color: #fff;
	font: inherit;
	font-weight: 800;
	font-size: 17px;
	cursor: pointer;
}
.ajo-reg__btn:hover { background: #2E6B23; }
.ajo-reg__note { font-size: 14px; color: #5E574F; }
.ajo-reg__errors {
	background: #FFF4EC;
	border: 1px solid var(--ajo-arancio);
	border-radius: 14px;
	padding: 16px 20px;
	margin-bottom: 24px;
}
.ajo-reg__errors ul { margin: 6px 0 0 18px; padding: 0; }
.ajo-reg--ok {
	background: var(--ajo-grigio);
	border-radius: 18px;
	padding: 32px;
}
.ajo-reg__hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* ==========================================================
   Ajò Core 0.2 – componenti del portale
   ========================================================== */
:root {
	--ajo-blu: #134B73;
	--ajo-blu-dark: #0F3A57;
	--ajo-azzurro: #2E9BD6;
	--ajo-verde: #367F2A;
	--ajo-verde-chiaro: #4C9F38;
	--ajo-arancio: #EE7A1E;
	--ajo-marrone: #8A5A34;
	--ajo-grigio: #F3F6F8;
	--ajo-bordo: #E3E8EC;
	--ajo-testo: #2D2A26;
	--ajo-muted: #5E574F;
	--ajo-radius: 20px;
	--ajo-font-title: 'Bricolage Grotesque', 'DM Sans', system-ui, sans-serif;
	--ajo-font: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
.ajo-main { font-family: var(--ajo-font); color: var(--ajo-testo); line-height: 1.6; padding: 24px 0 72px; }
.ajo-wrap { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.ajo-h1, .ajo-h2, .ajo-h3, .ajo-h4 { font-family: var(--ajo-font-title); color: var(--ajo-blu); letter-spacing: -0.5px; margin: 0 0 12px; }
.ajo-h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 800; line-height: 1.05; letter-spacing: -1.5px; }
.ajo-h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; line-height: 1.1; }
.ajo-h3 { font-size: 22px; font-weight: 700; }
.ajo-h4 { font-size: 18px; font-weight: 700; }
.ajo-eyebrow { display: inline-block; margin-bottom: 10px; font-size: 13px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--ajo-verde); }
.ajo-lead { font-size: 19px; color: var(--ajo-muted); max-width: 760px; }
.ajo-prose { font-size: 17px; }
.ajo-prose h2 { font-family: var(--ajo-font-title); color: var(--ajo-blu); font-size: 28px; margin: 32px 0 12px; }
.ajo-prose h3 { font-family: var(--ajo-font-title); color: var(--ajo-blu); font-size: 21px; margin: 24px 0 8px; }
.ajo-prose a { color: var(--ajo-blu); }
.ajo-prose ul { padding-left: 20px; }
.ajo-section { margin-top: 64px; }
.ajo-note { font-size: 14px; color: var(--ajo-muted); margin: 12px 0 0; }

/* Briciole */
.ajo-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 24px; font-size: 14px; color: var(--ajo-muted); }
.ajo-crumbs li + li::before { content: "›"; margin-right: 6px; color: #9aa6ae; }
.ajo-crumbs a { color: var(--ajo-blu); text-decoration: none; }
.ajo-crumbs a:hover { text-decoration: underline; }

/* Pulsanti */
.ajo-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 2px solid transparent; font-family: var(--ajo-font); font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.ajo-btn--sm { min-height: 44px; padding: 0 16px; font-size: 14px; }
.ajo-btn--primary { background: var(--ajo-verde); color: #fff; }
.ajo-btn--primary:hover { background: #2E6B23; color: #fff; }
.ajo-btn--dark { background: var(--ajo-blu); color: #fff; }
.ajo-btn--dark:hover { background: var(--ajo-blu-dark); color: #fff; }
.ajo-btn--wa { background: #1F8C4E; color: #fff; }
.ajo-btn--wa:hover { background: #176D3C; color: #fff; }
.ajo-btn--line { background: #fff; color: var(--ajo-blu); border-color: var(--ajo-blu); }
.ajo-btn--line:hover { background: var(--ajo-blu); color: #fff; }

/* Griglia e schede */
.ajo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.ajo-card { background: #fff; border: 1px solid var(--ajo-bordo); border-radius: var(--ajo-radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.ajo-card:hover { box-shadow: 0 12px 28px rgba(19, 75, 115, .12); transform: translateY(-2px); }
.ajo-card__media { display: block; aspect-ratio: 4 / 3; background: var(--ajo-grigio); }
.ajo-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ajo-card__ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--ajo-blu); }
.ajo-tint--mare { background: #DDEFF9; }
.ajo-tint--natura-e-trekking { background: #E2F1DC; }
.ajo-tint--avventura-e-sport { background: #FDE9D6; }
.ajo-tint--cultura-e-tradizioni { background: #EFE3D7; }
.ajo-tint--enogastronomia { background: #F4E1DA; }
.ajo-tint--famiglie-e-bambini { background: #FFF1CC; }
.ajo-tint--benessere { background: #E6EEF7; }
.ajo-tint--pin { background: var(--ajo-grigio); }
.ajo-card__body { padding: 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.ajo-card__meta { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ajo-verde); }
.ajo-card__title { font-family: var(--ajo-font-title); font-size: 21px; line-height: 1.2; margin: 0; }
.ajo-card__title a { color: var(--ajo-blu); text-decoration: none; }
.ajo-card__title a:hover { text-decoration: underline; }
.ajo-card__op, .ajo-card__excerpt { font-size: 14px; color: var(--ajo-muted); margin: 0; }
.ajo-card__foot { margin-top: auto; padding-top: 12px; display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.ajo-price { font-size: 15px; color: var(--ajo-testo); }
.ajo-price strong { font-size: 17px; color: var(--ajo-blu); }
.ajo-price--req { color: var(--ajo-muted); font-weight: 500; }

/* Chips */
.ajo-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 24px; }
.ajo-chips__label { font-weight: 700; color: var(--ajo-blu); margin: 0 0 8px; }
.ajo-chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--ajo-grigio); border: 1px solid var(--ajo-bordo); color: var(--ajo-blu); font-weight: 500; font-size: 15px; text-decoration: none; }
.ajo-chip:hover, .ajo-chip.is-active { background: var(--ajo-blu); border-color: var(--ajo-blu); color: #fff; }

/* Scheda singola */
.ajo-single__head { margin-bottom: 24px; }
.ajo-single__media { border-radius: 24px; overflow: hidden; aspect-ratio: 16 / 7; background: var(--ajo-grigio); margin-bottom: 36px; }
.ajo-single__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ajo-single__cols { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.ajo-single__content { flex: 999 1 560px; min-width: 0; }
.ajo-single__aside { flex: 1 1 320px; position: sticky; top: 24px; }
.ajo-box { background: var(--ajo-grigio); border-radius: var(--ajo-radius); padding: 24px; }
.ajo-box .ajo-price { display: block; margin-bottom: 12px; }
.ajo-box .ajo-price strong { font-size: 26px; font-family: var(--ajo-font-title); }
.ajo-box__op { margin: 0 0 16px; font-size: 15px; }
.ajo-box__op a { color: var(--ajo-blu); font-weight: 700; }
.ajo-box__addr { display: flex; gap: 6px; align-items: flex-start; font-size: 15px; margin: 14px 0 0; color: var(--ajo-testo); }
.ajo-contacts { display: flex; flex-direction: column; gap: 10px; }
.ajo-contacts .ajo-btn { width: 100%; }
.ajo-facts { margin-top: 36px; }
.ajo-facts dl { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin: 0; }
.ajo-facts dl > div, .ajo-facts--box > div { background: var(--ajo-grigio); border-radius: 14px; padding: 14px 16px; }
.ajo-facts--box { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.ajo-facts--box > div { background: #fff; }
.ajo-facts dt { font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--ajo-verde); }
.ajo-facts dd { margin: 4px 0 0; font-size: 16px; color: var(--ajo-testo); }

/* Archivi */
.ajo-archive__head { margin-bottom: 28px; }
.ajo-empty { background: var(--ajo-grigio); border-radius: var(--ajo-radius); padding: 28px; color: var(--ajo-muted); }
.ajo-empty--dark { background: rgba(255,255,255,.08); color: #D9E4E8; }
.ajo-seo-text { max-width: 860px; }
.ajo-main .nav-links { display: flex; gap: 8px; margin-top: 32px; flex-wrap: wrap; }
.ajo-main .nav-links .page-numbers { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; background: var(--ajo-grigio); color: var(--ajo-blu); text-decoration: none; font-weight: 700; padding: 0 12px; }
.ajo-main .nav-links .current { background: var(--ajo-blu); color: #fff; }

/* Eventi */
.ajo-events { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.ajo-event { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: var(--ajo-radius); border: 1px solid var(--ajo-bordo); background: #fff; }
.ajo-event__date { flex: 0 0 64px; text-align: center; border-radius: 14px; background: var(--ajo-arancio); color: #fff; padding: 8px 0; line-height: 1.1; }
.ajo-event__d { display: block; font-family: var(--ajo-font-title); font-weight: 800; font-size: 26px; }
.ajo-event__m { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.ajo-event__title { font-family: var(--ajo-font-title); font-size: 19px; margin: 0 0 4px; line-height: 1.2; }
.ajo-event__title a { color: var(--ajo-blu); text-decoration: none; }
.ajo-event__where { font-size: 14px; color: var(--ajo-muted); }

/* Categorie (home) */
.ajo-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.ajo-cat { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--ajo-radius); text-decoration: none; color: var(--ajo-blu); min-height: 160px; transition: transform .2s, box-shadow .2s; }
.ajo-cat:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(19, 75, 115, .12); color: var(--ajo-blu); }
.ajo-cat__name { font-family: var(--ajo-font-title); font-weight: 700; font-size: 22px; line-height: 1.15; }
.ajo-cat__desc { font-size: 14px; color: var(--ajo-muted); }
.ajo-cat--dark { background: var(--ajo-blu); color: #fff; }
.ajo-cat--dark:hover { color: #fff; }
.ajo-cat--dark svg { stroke: var(--ajo-arancio); }

/* Ricerca (home) */
.ajo-search { background: #fff; border-radius: 20px; padding: 14px; display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; box-shadow: 0 14px 36px rgba(0, 0, 0, .22); max-width: 980px; }
.ajo-search__f { display: flex; flex-direction: column; gap: 4px; flex: 1 1 180px; font-size: 13px; font-weight: 700; color: var(--ajo-blu); }
.ajo-search__f--where { flex: 1.4 1 220px; }
.ajo-search__f input, .ajo-search__f select { min-height: 50px; border: 1px solid #C9D2D9; border-radius: 12px; padding: 0 14px; font: inherit; font-weight: 400; font-size: 16px; color: var(--ajo-testo); background: var(--ajo-grigio); width: 100%; box-sizing: border-box; }
.ajo-search__btn { min-height: 50px; padding: 0 32px; border-radius: 12px; flex: 0 0 auto; }
.ajo-popular { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 18px; font-size: 14px; }
.ajo-popular span { color: inherit; opacity: .85; }
.ajo-popular a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.45); color: #fff; text-decoration: none; }
.ajo-popular a:hover { background: rgba(255,255,255,.15); color: #fff; }

/* Zone e mappa */
.ajo-zones .ajo-chips { margin-bottom: 20px; }
.ajo-map { border-radius: 24px; background: #E3F0F8; border: 2px dashed #9CC8E6; min-height: 380px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.ajo-map.is-loaded { border: 0; }
.ajo-map iframe { width: 100%; height: 420px; border: 0; display: block; }

@media (max-width: 767px) {
	.ajo-single__aside { position: static; }
	.ajo-single__media { aspect-ratio: 4 / 3; }
	.ajo-search__btn { width: 100%; }
}

/* 0.2.1 – pulsanti <button> (sovrascrive lo stile base del tema) */
.ajo-search .ajo-search__btn, button.ajo-btn--primary { background: var(--ajo-verde); color: #fff; border: 2px solid transparent; }
.ajo-search .ajo-search__btn:hover, .ajo-search .ajo-search__btn:focus, button.ajo-btn--primary:hover { background: #2E6B23; color: #fff; }
.ajo-map button.ajo-btn--line { background: #fff; color: var(--ajo-blu); border: 2px solid var(--ajo-blu); }
.ajo-map button.ajo-btn--line:hover { background: var(--ajo-blu); color: #fff; }

/* 0.2.2 – barra contatti fissa su smartphone */
.ajo-mbar { display: none; }
@media (max-width: 900px) {
	.ajo-mbar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: #fff; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); box-shadow: 0 -6px 20px rgba(0, 0, 0, .12); }
	.ajo-mbar .ajo-contacts { flex-direction: row; }
	.ajo-mbar .ajo-btn--line { display: none; }
	.ajo-mbar .ajo-btn { flex: 1; width: auto; min-height: 48px; padding: 0 12px; font-size: 15px; }
	body.single-ajo_attivita { padding-bottom: 76px; }
}

/* 0.2.3 – banner consenso cookie */
.ajo-cookie { position: fixed; left: 16px; bottom: 16px; z-index: 95; max-width: 420px; background: #fff; border: 1px solid var(--ajo-bordo); border-radius: 16px; box-shadow: 0 12px 32px rgba(0, 0, 0, .18); padding: 16px 18px; font-family: var(--ajo-font); font-size: 14px; line-height: 1.5; color: var(--ajo-testo); }
.ajo-cookie[hidden] { display: none; }
.ajo-cookie p { margin: 0 0 12px; }
.ajo-cookie a { color: var(--ajo-blu); }
.ajo-cookie__btns { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
.ajo-cookie button.ajo-btn--line { background: #fff; color: var(--ajo-blu); border: 2px solid var(--ajo-blu); }
.ajo-cookie button.ajo-btn--line:hover { background: var(--ajo-blu); color: #fff; }
.ajo-footer .ajo-cookie-open { background: none; border: 0; padding: 0; margin-left: 12px; color: #D9E4E8; text-decoration: underline; font: inherit; cursor: pointer; }
.ajo-footer .ajo-cookie-open:hover { color: #fff; background: none; }
@media (max-width: 600px) { .ajo-cookie { left: 8px; right: 8px; bottom: 8px; max-width: none; } }

/* 0.2.4 – modulo di ricerca: angoli tutti arrotondati allo stesso modo */
.ajo-search { border-radius: 20px; }
.ajo-search .ajo-search__f input, .ajo-search .ajo-search__f select, .ajo-search .ajo-search__btn { border-radius: 12px !important; -webkit-appearance: none; appearance: none; }
.ajo-search .ajo-search__f select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23134B73' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }

/* 0.2.5 – foto evento e crediti */
.ajo-single__media { margin: 0 0 24px; }
.ajo-single__media img { width: 100%; height: auto; border-radius: 16px; display: block; }
.ajo-credit, .ajo-prose figcaption { font-size: 12px; line-height: 1.4; color: #6b7a80; margin-top: 6px; }
.ajo-credit a, .ajo-prose figcaption a { color: inherit; }
.ajo-prose figure { margin: 28px 0; }
.ajo-prose figure img { width: 100%; height: auto; border-radius: 14px; display: block; }

/* 0.2.6 – card eventi con foto e data sopra */
.ajo-events--media { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ajo-event--media { position: relative; display: flex; gap: 0; padding: 0; overflow: hidden; align-items: stretch; background: #fff; border: 1px solid var(--ajo-bordo); border-radius: 16px; transition: box-shadow .2s, transform .2s; }
.ajo-event--media:hover { box-shadow: 0 10px 28px rgba(15, 58, 87, .14); transform: translateY(-2px); }
.ajo-event--media .ajo-event__media { position: relative; flex: 0 0 42%; min-height: 150px; display: block; background: #e8eef0; }
.ajo-event--media .ajo-event__media img, .ajo-event--media .ajo-event__ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.ajo-event--media .ajo-event__ph { background: linear-gradient(135deg, #2E9BD6, #134B73); }
.ajo-event--media .ajo-event__date { position: absolute; top: 10px; left: 10px; margin: 0; width: 56px; padding: 6px 0; border-radius: 12px; background: var(--ajo-arancio, #EE7A1E); color: #fff; display: flex; flex-direction: column; align-items: center; line-height: 1; box-shadow: 0 4px 12px rgba(0, 0, 0, .25); }
.ajo-event--media .ajo-event__d { font-size: 22px; font-weight: 800; }
.ajo-event--media .ajo-event__m { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; margin-top: 3px; }
.ajo-event--media .ajo-event__body { flex: 1 1 auto; min-width: 0; padding: 16px 16px 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.ajo-event--media .ajo-event__title { font-size: 17px; line-height: 1.3; margin: 0; }
.ajo-event--media .ajo-event__title a::after { content: ""; position: absolute; inset: 0; }
.ajo-event--media .ajo-event__where { font-size: 14px; color: var(--ajo-verde-scuro, #367F2A); font-weight: 600; }
.ajo-event--media .ajo-event__range { font-size: 13px; color: #6b7a80; margin-top: auto; }
.ajo-related { margin-top: 48px; }
.ajo-related__all { margin-top: 20px; text-align: center; }
@media (max-width: 1100px) { .ajo-events--media { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .ajo-events--media { grid-template-columns: 1fr; gap: 14px; } .ajo-event--media .ajo-event__media { flex-basis: 38%; min-height: 128px; } .ajo-event--media .ajo-event__title { font-size: 16px; } }

.ajo-related .ajo-events--media { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 680px) { .ajo-related .ajo-events--media { grid-template-columns: 1fr; } }

/* 0.3.0 – modulo richieste */
.ajo-req { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.ajo-req .ajo-h4 { margin: 0; }
.ajo-req__intro { margin: 0; font-size: 14px; color: var(--ajo-muted); }
.ajo-req__f { display: flex; flex-direction: column; gap: 4px; }
.ajo-req__f label { font-size: 13px; font-weight: 600; color: var(--ajo-testo); }
.ajo-req input[type="text"], .ajo-req input[type="email"], .ajo-req input[type="tel"], .ajo-req input[type="date"], .ajo-req input[type="number"], .ajo-req textarea { width: 100%; box-sizing: border-box; border: 1px solid #C9D2D9; border-radius: 12px; padding: 11px 12px; font: inherit; font-size: 16px; background: #fff; color: var(--ajo-testo); -webkit-appearance: none; appearance: none; }
.ajo-req input:focus, .ajo-req textarea:focus { outline: 2px solid var(--ajo-azzurro); outline-offset: 1px; border-color: var(--ajo-azzurro); }
.ajo-req textarea { resize: vertical; min-height: 110px; }
.ajo-req__row { display: grid; grid-template-columns: 1fr 96px; gap: 10px; }
.ajo-req__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ajo-req__ok { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; line-height: 1.45; color: var(--ajo-muted); }
.ajo-req__ok input { margin-top: 3px; width: 18px; height: 18px; flex: 0 0 auto; accent-color: var(--ajo-verde); }
.ajo-req__ok a { color: var(--ajo-blu); }
.ajo-req .is-bad { border-color: #c0392b !important; box-shadow: 0 0 0 2px rgba(192, 57, 43, .15); }
.ajo-req__ok.is-bad { color: #c0392b; box-shadow: none; }
.ajo-req__send { width: 100%; min-height: 50px; font-size: 16px; }
.ajo-req__send[disabled] { opacity: .7; cursor: wait; }
.ajo-req__msg { margin: 0; font-size: 14px; min-height: 1px; }
.ajo-req__msg.is-err { color: #c0392b; }
.ajo-req__done { background: #EEF7EC; border: 1px solid #CFE6CA; border-radius: 14px; padding: 16px; }
.ajo-req__thanks { margin: 0 0 10px; font-weight: 600; color: var(--ajo-verde); }
.ajo-req__hurry { margin: 8px 0; font-size: 14px; color: var(--ajo-muted); }
#ajo-req { scroll-margin-top: 90px; }
@media (max-width: 900px) { .ajo-mbar .ajo-btn { width: 100%; } }

/* 0.4.3 foto comuni */
.ajo-archive__media { margin: 0 0 28px; }
.ajo-archive__media img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 7; object-fit: cover; border-radius: 14px; }
@media (max-width: 640px) { .ajo-archive__media img { aspect-ratio: 4 / 3; border-radius: 10px; } }

/* 0.4.4 collegamenti comuni e zone */
.ajo-towns { margin-top: 40px; }
.ajo-towns__title { font-size: 22px; line-height: 1.25; color: var(--ajo-blu); margin: 0 0 16px; }
.ajo-towns__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ajo-town { display: flex; flex-direction: column; text-decoration: none !important; color: var(--ajo-testo); }
.ajo-town__img { display: block; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--ajo-grigio); }
.ajo-town__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.ajo-town:hover .ajo-town__img img { transform: scale(1.04); }
.ajo-town__ph { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; background: linear-gradient(135deg, var(--ajo-blu), var(--ajo-verde)); color: #fff; font-size: 40px; font-weight: 700; }
.ajo-town__name { font-weight: 700; font-size: 16px; color: var(--ajo-blu); margin-top: 8px; }
.ajo-town:hover .ajo-town__name { text-decoration: underline; }
.ajo-town__meta { font-size: 13px; color: var(--ajo-muted, #5E574F); }
.ajo-chips--sm { gap: 8px; }
.ajo-chips--sm .ajo-chip { min-height: 36px; padding: 0 13px; font-size: 14px; }
.ajo-chip--area { background: #fff; font-weight: 700; }
@media (max-width: 900px) { .ajo-towns__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }

/* 0.4.5 sidebar e galleria */
@media (min-width: 1024px) { .ajo-single__aside { position: sticky; align-self: flex-start; } }
.ajo-gal-wrap { margin: 32px 0; }
.ajo-gal { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ajo-gal__item { display: block; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--ajo-grigio); cursor: zoom-in; }
.ajo-gal__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.ajo-gal__item:hover img { transform: scale(1.04); }
.ajo-gal__item:first-child { grid-column: span 2; grid-row: span 2; }
@media (max-width: 640px) { .ajo-gal { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ajo-lb { position: fixed; inset: 0; z-index: 9999; background: rgba(10, 20, 28, .94); display: flex; align-items: center; justify-content: center; }
.ajo-lb[hidden] { display: none; }
.ajo-lb__img { max-width: calc(100vw - 120px); max-height: calc(100vh - 100px); border-radius: 8px; box-shadow: 0 10px 40px rgba(0,0,0,.4); }
.ajo-lb button { position: absolute; background: rgba(255,255,255,.12) !important; color: #fff !important; border: 0 !important; border-radius: 50% !important; width: 48px; height: 48px; font-size: 32px; line-height: 1; cursor: pointer; padding: 0 !important; display: flex; align-items: center; justify-content: center; }
.ajo-lb button:hover { background: rgba(255,255,255,.25) !important; }
.ajo-lb__close { top: 16px; right: 16px; }
.ajo-lb__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.ajo-lb__next { right: 16px; top: 50%; transform: translateY(-50%); }
.ajo-lb__nav[hidden] { display: none !important; }
.ajo-lb__count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 14px; opacity: .8; }
@media (max-width: 640px) { .ajo-lb__img { max-width: 100vw; border-radius: 0; } .ajo-lb__nav { display: none !important; } }
