/* ================================================================
   newsito.css — stylesheet UNIFICATO per le pagine ridisegnate
   Caricato condizionalmente solo su:
   - Home (front-page.php / front-page-v3.php / is_front_page)
   - Chi Siamo (tmp-about-new.php)
   - Sport & Events (tmp-sportevents.php)
   - Vecchio template (tmp-old-home.php) per backward compat

   Sezioni:
   1) HOMEPAGE V3 — prefisso .hv3-*
   2) CHI SIAMO   — prefisso .an-* (about-new)
   3) SPORT & EVENTS — prefisso .se-*
   ================================================================ */


/* ====================================================================
   1) HOMEPAGE V3
   ==================================================================== */

/* ================================================================
   Homepage V3 — stylesheet
   Caricato solo sulla pagina con template "Homepage 3" (front-page-v3.php).
   ================================================================ */

:root {
	--hv3-accent:    #4CAF50;
	--hv3-bg:        #0A0A0A;
	--hv3-text:      #FFFFFF;
	--hv3-muted:     rgba(255, 255, 255, 0.85);
	--hv3-nav-h:     72px;
	--hv3-hero-peek: 110px; /* quanto della sezione successiva resta visibile sotto la hero */
}

.hv3-page {
	background: var(--hv3-bg);
	color: var(--hv3-text);
}

/* Reset margini globali eredità tema */
.hv3-page * { box-sizing: border-box; }

/* ================================================================
   HERO STACK — wrapper che fa da contesto allo sticky
   ================================================================ */
.hv3-hero-stack {
	position: relative;
}

/* ================================================================
   HERO — sticky pinned mentre la sezione successiva sale sopra.
   Altezza < 100vh per lasciare visibile la "linguetta" della sezione sotto.
   ================================================================ */
.hv3-hero {
	position: sticky;
	top: var(--hv3-nav-h);
	/* svh = small viewport height: sempre con la barra browser visibile, NON cambia
	   durante lo scroll su iOS Safari → niente "jump" della hero quando l'URL bar
	   si nasconde/mostra. Fallback vh per browser molto vecchi (<2022). */
	height: calc(100vh - var(--hv3-nav-h) - var(--hv3-hero-peek));
	height: calc(100svh - var(--hv3-nav-h) - var(--hv3-hero-peek));
	width: 100%;
	overflow: hidden;
	display: flex;
	align-items: center;
	background: var(--hv3-bg);
	z-index: 1;
}

/* Admin-bar (32px): body padding diventa 72+32=104px, la nav scende a top:32.
   La hero deve agganciarsi a 104 per evitare il "jump" iniziale di 32px. */
@media (min-width: 1025px) {
	.admin-bar .hv3-hero {
		top: calc(var(--hv3-nav-h) + 32px);
		height: calc(100vh - var(--hv3-nav-h) - 32px - var(--hv3-hero-peek));
		height: calc(100svh - var(--hv3-nav-h) - 32px - var(--hv3-hero-peek));
	}
}
@media (min-width: 783px) and (max-width: 1024px) {
	/* Su mobile/tablet WP usa admin-bar 46px */
	.admin-bar .hv3-hero {
		top: 32px;
	}
}
@media (max-width: 782px) {
	.admin-bar .hv3-hero {
		top: 46px;
	}
}

/* Media background ---------------------------------------------- */
.hv3-hero__media {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.hv3-hero__video,
.hv3-hero__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center right;
}

/* Progressive blur (replica effetto Figma):
   blur 0 a X=52%, blur 20 a X=30% (entrambi a Y=100%, vettore orizzontale).
   Sinistra sfocata, destra nitida, transizione tra il 30% e il 52%. */
.hv3-hero__blur {
	position: absolute;
	inset: 0;
	pointer-events: none;
	-webkit-backdrop-filter: blur(20px);
	backdrop-filter: blur(20px);
	-webkit-mask-image: linear-gradient(
		to right,
		#000 0%,
		#000 30%,
		transparent 52%,
		transparent 100%
	);
	mask-image: linear-gradient(
		to right,
		#000 0%,
		#000 30%,
		transparent 52%,
		transparent 100%
	);
}

/* Overlay #1A1A1A con sfumatura a SINISTRA (leggibilità testo) e in ALTO
   (fonde con l'header desktop-nav #1A1A1A → niente "stacco"). */
.hv3-hero__overlay {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg,
			rgba(26,26,26,1)    0%,
			rgba(26,26,26,0.85) 30%,
			rgba(26,26,26,0.4)  60%,
			rgba(26,26,26,0)    100%),
		linear-gradient(180deg,
			rgba(26,26,26,1)   0%,
			rgba(26,26,26,0.6) 20%,
			rgba(26,26,26,0)   55%);
	pointer-events: none;
}

/* Inner / contenuto --------------------------------------------- */
.hv3-hero__inner {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 1440px;
	margin: 0 auto;
	padding: 80px clamp(20px, 5vw, 96px);
}

.hv3-hero__content {
	max-width: 720px;
}

.hv3-hero__title {
	font-family: 'Poppins', sans-serif;
	font-weight: 700;
	font-size: clamp(40px, 6vw, 80px);
	line-height: 1.05;
	letter-spacing: -0.02em;
	margin: 0 0 32px;
	color: var(--hv3-text);
}

.hv3-hero__title-line {
	display: block;
}

.hv3-hero__title-line--accent {
	color: var(--hv3-accent);
	text-transform: uppercase;
	letter-spacing: -0.01em;
}

.hv3-hero__description {
	font-family: 'Poppins', sans-serif;
	font-weight: 400;
	font-size: clamp(15px, 1.15vw, 18px);
	line-height: 1.6;
	color: var(--hv3-muted);
	margin: 0 0 40px;
	max-width: 560px;
}

/* CTA ----------------------------------------------------------- */
.hv3-hero__ctas {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

.hv3-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 28px;
	font-family: 'Poppins', sans-serif;
	font-weight: 600;
	font-size: 15px;
	line-height: 1;
	border-radius: 20px;
	text-decoration: none;
	transition: transform .25s ease, background-color .25s ease, color .25s ease, border-color .25s ease;
	cursor: pointer;
	white-space: nowrap;
}

.hv3-btn--primary {
	background: var(--hv3-accent);
	color: #fff;
	border: 2px solid var(--hv3-accent);
}
.hv3-btn--primary:hover {
	background: #3d8b40;
	border-color: #3d8b40;
	transform: translateY(-2px);
}

.hv3-btn--ghost {
	background: transparent;
	color: #fff;
	border: 2px solid rgba(255,255,255,0.6);
}
.hv3-btn--ghost:hover {
	background: rgba(255,255,255,0.1);
	border-color: #fff;
	transform: translateY(-2px);
}

/* ================================================================
   SEZIONE SERVIZI — sfondo verde con gradient + 6 card
   Sale sopra la hero (z-index più alto della sticky)
   ================================================================ */
.hv3-services {
	position: relative;
	z-index: 2;
	background:
		radial-gradient(ellipse at top left,  rgba(255,255,255,0.18) 0%, rgba(255,255,255,0) 55%),
		radial-gradient(ellipse at bottom right, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0) 55%),
		var(--hv3-services-bg, #5BAE5C);
	color: #fff;
	padding: clamp(80px, 9vw, 120px) 0 clamp(56px, 7vw, 96px);
	border-radius: 20px;
	box-shadow: 0 -24px 48px rgba(0, 0, 0, 0.18);
	margin-top: -20px;
}

.hv3-services__inner {
	max-width: 1320px;
	margin: 0 auto;
	padding: 0 clamp(20px, 5vw, 96px);
}

.hv3-services__title {
	font-family: 'Poppins', sans-serif;
	font-weight: 700;
	font-size: clamp(28px, 3.2vw, 44px);
	line-height: 1.15;
	text-align: center;
	margin: 0 0 16px;
	letter-spacing: -0.01em;
}

.hv3-services__title-part {
	color: #fff;
}
.hv3-services__title-part--accent {
	color: #1A1A1A;
}

.hv3-services__description {
	font-family: 'Poppins', sans-serif;
	font-weight: 400;
	font-size: clamp(14px, 1vw, 16px);
	line-height: 1.55;
	text-align: center;
	color: rgba(255, 255, 255, 0.92);
	max-width: 720px;
	margin: 0 auto 56px;
}

/* Grid 3 colonne ----------------------------------------------- */
.hv3-services__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(20px, 2.2vw, 32px);
}

/* Card --------------------------------------------------------- */
.hv3-card {
	background: #fff;
	border-radius: 20px;
	padding: 32px 24px 24px;
	display: flex;
	flex-direction: column;
	min-height: 380px;
	box-shadow: 0 10px 28px rgba(0,0,0,0.08);
	transition: transform .3s ease, box-shadow .3s ease;
}
.hv3-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 16px 40px rgba(0,0,0,0.15);
}

.hv3-card__title {
	font-family: 'Poppins', sans-serif;
	font-weight: 800;
	font-size: clamp(20px, 1.6vw, 26px);
	line-height: 1.1;
	color: var(--hv3-card-color, #1A1A1A);
	text-transform: uppercase;
	letter-spacing: 0.01em;
	text-align: center;
	margin: 0 0 16px;
}

.hv3-card__media {
	flex: 1 1 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 180px;
	margin-bottom: 24px;
	overflow: hidden;
}
.hv3-card__media img {
	max-width: 100%;
	max-height: 220px;
	width: auto;
	height: auto;
	object-fit: contain;
}

.hv3-card__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	padding: 14px 20px;
	background: var(--hv3-card-color, #1A1A1A);
	color: #fff;
	font-family: 'Poppins', sans-serif;
	font-weight: 600;
	font-size: 15px;
	border-radius: 20px;
	text-decoration: none;
	transition: filter .25s ease, transform .25s ease;
	margin-top: auto;
}
.hv3-card__cta:hover {
	filter: brightness(1.1);
	transform: translateY(-2px);
}
.hv3-card__cta svg {
	flex: 0 0 18px;
	transition: transform .25s ease;
}
.hv3-card__cta:hover svg {
	transform: translateX(3px);
}

/* ================================================================
   CHI SIAMO — testo + slider statistiche
   ================================================================ */
/* ================================================================
   STORY — sezione unica white che contiene about + quote.
   z-index: 1 → resta SOTTO services (z-2) sopra e portfolio-block (z-2) sotto.
   margin-top/-bottom -45px → si sovrappone fisicamente a quelle sezioni;
   nei 45px di overlap services/portfolio coprono la story, e i loro
   border-radius creano il taglio visibile sopra la story.
   ================================================================ */
.hv3-story {
	position: relative;
	z-index: 1;
	background: #fff;
	color: #1A1A1A;
	padding: clamp(110px, 13vw, 165px) 0;
	margin-top: -45px;
	margin-bottom: -45px;
}
/* Gap tra il blocco about e il blocco quote dentro la stessa sezione */
.hv3-story .hv3-about__inner + .hv3-quote__inner {
	margin-top: clamp(48px, 6vw, 80px);
}

.hv3-about__inner {
	max-width: 1320px;
	margin: 0 auto;
	padding: 0 clamp(20px, 5vw, 96px);
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(40px, 5vw, 80px);
	align-items: center;
}

/* Permette ai grid item di rispettare 1fr quando contengono swiper/flex */
.hv3-about__text,
.hv3-about__media {
	min-width: 0;
	max-width: 100%;
}

.hv3-about__title {
	font-family: 'Poppins', sans-serif;
	font-weight: 700;
	font-size: clamp(28px, 3vw, 44px);
	line-height: 1.15;
	letter-spacing: -0.01em;
	margin: 0 0 24px;
	color: #1A1A1A;
}
.hv3-about__title-part {
	display: block;
}
.hv3-about__title-part--accent {
	color: var(--hv3-accent);
}

.hv3-about__description {
	font-family: 'Poppins', sans-serif;
	font-weight: 400;
	font-size: clamp(15px, 1.05vw, 16px);
	line-height: 1.65;
	color: #333;
	margin: 0 0 32px;
}
.hv3-about__description p { margin: 0 0 12px; }
.hv3-about__description p:last-child { margin-bottom: 0; }

.hv3-about__cta {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 28px;
	background: var(--hv3-accent);
	color: #fff;
	font-family: 'Poppins', sans-serif;
	font-weight: 600;
	font-size: 15px;
	border-radius: 20px;
	text-decoration: none;
	transition: filter .25s ease, transform .25s ease;
}
.hv3-about__cta:hover { filter: brightness(1.1); transform: translateY(-2px); }
.hv3-about__cta svg { transition: transform .25s ease; }
.hv3-about__cta:hover svg { transform: translateX(3px); }

/* Slider statistiche (lato destro) ----------------------------- */
.hv3-about__media {
	width: 100%;
}

.hv3-stats {
	position: relative;
	width: 100%;
	max-width: 100%;
	border-radius: 20px;
	overflow: hidden;
	background: #1A1A1A;
}

.hv3-stat {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 18px;
	min-height: 360px;
	padding: 48px 32px 64px;
	color: #fff;
	text-align: center;
}

.hv3-stat__value {
	display: inline-block;
	background: var(--hv3-accent);
	color: #fff;
	font-family: 'Poppins', sans-serif;
	font-weight: 800;
	font-size: clamp(40px, 4.5vw, 64px);
	line-height: 1;
	padding: 18px 36px;
	border-radius: 20px;
	letter-spacing: -0.02em;
}

.hv3-stat__label {
	font-family: 'Poppins', sans-serif;
	font-weight: 400;
	font-size: clamp(15px, 1.15vw, 18px);
	color: rgba(255, 255, 255, 0.92);
}

.hv3-stats__pagination {
	position: absolute !important;
	bottom: 24px !important;
	left: 0;
	right: 0;
	text-align: center;
	z-index: 2;
}
.hv3-stats__pagination .swiper-pagination-bullet {
	width: 10px;
	height: 10px;
	background: rgba(255, 255, 255, 0.4);
	opacity: 1;
	margin: 0 5px !important;
	transition: background .25s ease, transform .25s ease;
}
.hv3-stats__pagination .swiper-pagination-bullet-active {
	background: #fff;
	transform: scale(1.15);
}

/* ================================================================
   CITAZIONE — card grigia con titolo + quote + firma
   ================================================================ */
/* .hv3-quote era una <section> autonoma; ora il contenuto vive dentro
   .hv3-story → niente più padding/bg/position qui, lo gestisce lo wrapper. */

/* ================================================================
   PORTFOLIO BLOCK — wrapper unico bg #1A1A1A che contiene showcase
   portfolio + altri clienti + boonga sports. Sale sopra la hero sticky
   (z-index 1). Override del bg #EAEAEA di .section__otherClient per
   integrarla nel blocco scuro.
   ================================================================ */
.hv3-portfolio-block {
	position: relative;
	z-index: 2;
	background: #1A1A1A;
	border-radius: 20px;
	overflow: hidden;
}

/* Sezione recensioni Google (bwSection--white) inserita tra portfolio-block
   e blog: si infila dietro le sezioni adiacenti (z-index:2) con z-index:1.
   margin-top negativo → si sovrappone al portfolio-block sopra senza creare
   gap nel flusso. Niente border-radius. Padding ampi top/bottom. */
.hv3-page .bwSection.bwSection--white {
	position: relative;
	z-index: 1;
	margin-top: -45px;
	padding-top: 6rem;
	padding-bottom: 6rem;
	border-radius: 0;
}
.hv3-page .bwSection.bwSection--white .bwSection__maxContent {
	border-radius: 0;
}

/* Blog section: idem, sale di 45px per agganciarsi alla review sopra */
.hv3-page .hv3-blog {
	margin-top: -45px;
}

/* ================================================================
   CTA FINALE — sezione scura prima del footer, titolo (highlight + normale),
   descrizione, bottone. Si infila 45px sotto la blog sopra (z-index uguale,
   DOM order la fa paint sopra → border-radius top visibili contro il verde).
   ================================================================ */
.hv3-cta {
	position: relative;
	z-index: 2;
	background: var(--hv3-cta-bg, #1A1A1A);
	color: #fff;
	padding: clamp(80px, 10vw, 140px) 0 clamp(64px, 8vw, 120px);
	border-radius: 20px 20px 0 0;
	overflow: hidden;
	margin-top: -45px;
}

.hv3-cta__inner {
	max-width: 1320px;
	margin: 0 auto;
	padding: 0 clamp(20px, 5vw, 96px);
}

.hv3-cta__title {
	font-family: 'Poppins', sans-serif;
	font-weight: 700;
	font-size: clamp(28px, 3vw, 44px);
	line-height: 1.2;
	letter-spacing: -0.01em;
	margin: 0 0 24px;
	color: #fff;
}
.hv3-cta__title-part {
	display: inline;
}
.hv3-cta__title-part--accent {
	font-family: 'Pixel', 'Poppins', monospace;
	color: var(--hv3-accent, #4CAF50);
	letter-spacing: 0.04em;
	margin-right: 0.5em;
}

.hv3-cta__description {
	font-family: 'Poppins', sans-serif;
	font-weight: 400;
	font-size: clamp(14px, 1vw, 16px);
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.75);
	max-width: 560px;
	margin: 0 0 32px;
}

.hv3-cta__button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 24px;
	background: var(--hv3-accent, #4CAF50);
	color: #fff;
	font-family: 'Poppins', sans-serif;
	font-weight: 600;
	font-size: 14px;
	border-radius: 20px;
	text-decoration: none;
	transition: filter .25s ease, transform .25s ease;
}
.hv3-cta__button:hover {
	filter: brightness(1.08);
	transform: translateY(-2px);
	color: #fff;
}
.hv3-page .showcase-fp__section,
.hv3-page .section__otherClient {
	position: relative;
}
.hv3-page .section__otherClient {
	background: transparent !important;
	margin-top: 0;
}
/* Slider loghi full-width: rompe il max-width del container parent */
.hv3-page .section__otherClient .bwSection__maxContent {
	max-width: none;
	padding-left: 0;
	padding-right: 0;
}
.hv3-page .client-slider-home-wrap {
	width: 100%;
	max-width: none;
}
/* Marquee continuo: timing function linear sul transform Swiper.
   Senza questo il default è "ease" → fa accelerare/rallentare visibilmente. */
.hv3-page .client-slider-home .swiper-wrapper {
	transition-timing-function: linear !important;
}
/* Restyling logo wall su hv3-page: logo wall pulito su sfondo scuro,
   senza titoli, categorie, frecce, card bianca o h2 di sezione. */
.hv3-page .section__otherClient h2,
.hv3-page .client-card__info {
	display: none;
}
.hv3-page .client-slider-home-wrap .swiper-button-prev,
.hv3-page .client-slider-home-wrap .swiper-button-next {
	display: none !important;
}
.hv3-page .client-card {
	background: transparent !important;
	border-radius: 0;
	overflow: visible;
	padding: 0;
	aspect-ratio: auto;
	min-height: 80px;
}
.hv3-page .client-card img {
	max-width: 100%;
	max-height: 70px;
	width: auto;
	filter: brightness(0) invert(1);
	opacity: 0.9;
	transition: opacity .25s ease;
}
.hv3-page .client-card img:hover {
	opacity: 1;
}

/* ================================================================
   BOONGA SPORTS — logo + descrizione + CTA arancione + blob conic
   ================================================================ */
.hv3-sports {
	position: relative;
	overflow: hidden;
	padding: clamp(40px, 6vw, 80px) 0 clamp(80px, 10vw, 140px);
}

.hv3-sports__inner {
	position: relative;
	z-index: 1;
	max-width: 1320px;
	margin: 0 auto;
	padding: 0 clamp(20px, 5vw, 96px);
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 24px;
}

.hv3-sports__logo {
	max-width: 280px;
	height: auto;
	width: auto;
}

.hv3-sports__description {
	font-family: 'Poppins', sans-serif;
	font-weight: 400;
	font-size: clamp(14px, 1vw, 16px);
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.85);
	max-width: 560px;
	margin: 0;
}

.hv3-sports__cta {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 28px;
	background: #FF5722;
	color: #fff;
	font-family: 'Poppins', sans-serif;
	font-weight: 600;
	font-size: 15px;
	border-radius: 20px;
	text-decoration: none;
	transition: filter .25s ease, transform .25s ease;
}
.hv3-sports__cta:hover {
	filter: brightness(1.08);
	transform: translateY(-2px);
	color: #fff;
}
.hv3-sports__cta svg {
	transition: transform .25s ease;
}
.hv3-sports__cta:hover svg {
	transform: translateX(3px);
}

/* Blob = PNG con alpha esportata da Figma, angolo basso destra.
   La sfumatura è nell'asset stesso, qui solo posizionamento. */
.hv3-sports__blob {
	position: absolute;
	right: 0;
	bottom: 0;
	width: clamp(320px, 50vw, 720px);
	height: auto;
	pointer-events: none;
	user-select: none;
	z-index: 0;
}

/* ================================================================
   ARTICOLI DAL BLOG — sezione verde con slider 3-per-view
   ================================================================ */
.hv3-blog {
	position: relative;
	z-index: 2;
	background: var(--hv3-blog-bg, #5BAE5C);
	padding: clamp(56px, 7vw, 100px) 0 clamp(72px, 9vw, 120px);
	border-radius: 20px;
	overflow: hidden;
}

.hv3-blog__inner {
	max-width: 1320px;
	margin: 0 auto;
	padding: 0 clamp(20px, 5vw, 96px);
}

.hv3-blog__head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
	margin: 0 0 clamp(32px, 4vw, 56px);
	flex-wrap: wrap;
}

.hv3-blog__title {
	font-family: 'Poppins', sans-serif;
	font-weight: 800;
	font-size: clamp(28px, 3.2vw, 44px);
	line-height: 1.1;
	letter-spacing: -0.01em;
	margin: 0;
	color: #fff;
	text-transform: uppercase;
}

.hv3-blog__view-all {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 22px;
	background: #fff;
	color: #1A1A1A;
	font-family: 'Poppins', sans-serif;
	font-weight: 600;
	font-size: 14px;
	border-radius: 20px;
	text-decoration: none;
	transition: transform .25s ease, box-shadow .25s ease;
	white-space: nowrap;
}
.hv3-blog__view-all:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(0,0,0,0.15);
	color: #1A1A1A;
}
.hv3-blog__view-all svg {
	transition: transform .25s ease;
}
.hv3-blog__view-all:hover svg {
	transform: translateX(3px);
}

/* Slider --------------------------------------------------------- */
.hv3-blog__slider {
	overflow: hidden;
	padding-bottom: 48px;
}

.hv3-blog__slider .swiper-wrapper {
	box-sizing: border-box;
}

/* Card blog ---------------------------------------------------- */
.hv3-blog-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 20px;
	padding: 16px;
	box-shadow: 0 8px 24px rgba(0,0,0,0.08);
	height: auto;
	box-sizing: border-box;
}

.hv3-blog-card__media {
	position: relative;
	border-radius: 20px;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	margin-bottom: 18px;
	background: #f0f0f0;
}
.hv3-blog-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.hv3-blog-card__cat {
	position: absolute;
	top: 12px;
	left: 12px;
	padding: 6px 12px;
	background: var(--cat-color, #1A1A1A);
	color: #fff;
	font-family: 'Poppins', sans-serif;
	font-weight: 700;
	font-size: 11px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	border-radius: 20px;
	z-index: 1;
}

.hv3-blog-card__title {
	font-family: 'Poppins', sans-serif;
	font-weight: 700;
	font-size: clamp(16px, 1.2vw, 19px);
	line-height: 1.25;
	color: #1A1A1A;
	margin: 0 0 12px;
	padding: 0 4px;
}

.hv3-blog-card__excerpt {
	font-family: 'Poppins', sans-serif;
	font-weight: 400;
	font-size: 13px;
	line-height: 1.55;
	color: #666;
	margin: 0 0 18px;
	padding: 0 4px;
	flex: 1 1 auto;
}

.hv3-blog-card__cta {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 18px;
	background: var(--hv3-accent, #4CAF50);
	color: #fff;
	font-family: 'Poppins', sans-serif;
	font-weight: 600;
	font-size: 13px;
	border-radius: 20px;
	text-decoration: none;
	transition: filter .25s ease, transform .25s ease;
	margin: 0 4px 4px;
	align-self: flex-start;
}
.hv3-blog-card__cta:hover {
	filter: brightness(1.08);
	transform: translateY(-2px);
	color: #fff;
}
.hv3-blog-card__cta svg {
	transition: transform .25s ease;
}
.hv3-blog-card__cta:hover svg {
	transform: translateX(3px);
}

/* Pagination dots ---------------------------------------------- */
.hv3-blog__pagination {
	position: absolute;
	bottom: 0 !important;
	left: 0;
	right: 0;
	text-align: center;
}
.hv3-blog__pagination .swiper-pagination-bullet {
	width: 8px;
	height: 8px;
	background: rgba(255, 255, 255, 0.5);
	opacity: 1;
	margin: 0 4px !important;
	transition: background .25s ease, transform .25s ease;
}
.hv3-blog__pagination .swiper-pagination-bullet-active {
	background: #fff;
	transform: scale(1.25);
}

.hv3-quote__inner {
	max-width: 1320px;
	margin: 0 auto;
	padding: 0 clamp(20px, 5vw, 96px);
}

.hv3-quote__card {
	background: #EAEAEA;
	border-radius: 20px;
	padding: clamp(40px, 5vw, 72px) clamp(32px, 5vw, 72px);
	display: grid;
	grid-template-columns: minmax(180px, 1fr) auto 2fr;
	gap: clamp(24px, 3vw, 48px);
	align-items: center;
}

.hv3-quote__title {
	font-family: 'Poppins', sans-serif;
	font-weight: 700;
	font-size: clamp(28px, 3vw, 44px);
	line-height: 1.1;
	letter-spacing: -0.01em;
	margin: 0;
	color: #1A1A1A;
}
.hv3-quote__title-part {
	display: block;
}
.hv3-quote__title-part--accent {
	color: var(--hv3-accent);
}

.hv3-quote__divider {
	width: 1px;
	align-self: stretch;
	background: #1A1A1A;
	min-height: 80px;
}

.hv3-quote__body {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.hv3-quote__text {
	font-family: 'Poppins', sans-serif;
	font-weight: 400;
	font-size: clamp(16px, 1.4vw, 22px);
	line-height: 1.5;
	color: #1A1A1A;
	margin: 0;
}

.hv3-quote__signature {
	max-height: 60px;
	width: auto;
	align-self: flex-end;
}

/* ================================================================
   Responsive
   ================================================================ */
@media (max-width: 1024px) {
	/* Su mobile l'header originale è in flusso (non fixed) e il body non ha
	   padding-top → la hero si incolla a top:0, non a 72px. */
	.hv3-hero {
		top: 0;
		height: calc(100vh - var(--hv3-hero-peek));
		height: calc(100svh - var(--hv3-hero-peek));
	}
	.hv3-hero__inner {
		padding: 60px 24px;
	}
	.hv3-hero__overlay {
		background:
			linear-gradient(180deg,
				rgba(26,26,26,1)   0%,
				rgba(26,26,26,0.6) 25%,
				rgba(26,26,26,0.4) 60%,
				rgba(26,26,26,0.7) 100%);
	}
	.hv3-hero__video,
	.hv3-hero__image {
		object-position: center;
	}
	/* Su mobile il layout cambia (testo full-width sopra il video),
	   il blur orizzontale a sinistra non ha più senso → disattivato. */
	.hv3-hero__blur {
		display: none;
	}

	.hv3-services__grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.hv3-services__description {
		margin-bottom: 40px;
	}

	.hv3-about__inner {
		grid-template-columns: 1fr;
	}
	.hv3-quote__card {
		grid-template-columns: 1fr;
		gap: 24px;
	}
	.hv3-quote__divider {
		width: 100%;
		height: 1px;
		min-height: 0;
	}
}

@media (max-width: 1024px) {
	.hv3-blog__head {
		gap: 16px;
	}
	.hv3-page .bwSection.bwSection--white {
		padding-top: 4rem;
		padding-bottom: 4rem;
	}
}

@media (max-width: 600px) {
	.hv3-page .bwSection.bwSection--white {
		margin-top: -30px;
		padding-top: 3rem;
		padding-bottom: 3rem;
	}
	.hv3-page .hv3-blog {
		margin-top: -30px;
	}
	.hv3-story {
		margin-top: -30px;
		margin-bottom: -30px;
		padding: clamp(80px, 14vw, 110px) 0;
	}
	.hv3-cta {
		margin-top: -30px;
	}
}

@media (max-width: 600px) {
	.hv3-sports__logo {
		max-width: 200px;
	}
	.hv3-blog,
	.hv3-portfolio-block {
		border-radius: 20px;
	}
	.hv3-blog__view-all {
		padding: 10px 18px;
		font-size: 13px;
	}

	.hv3-hero {
		padding-top: 0;
	}
	.hv3-hero__inner {
		padding: 100px 20px 48px;
	}
	.hv3-hero__title {
		margin-bottom: 24px;
	}
	.hv3-hero__description {
		margin-bottom: 32px;
	}
	.hv3-btn {
		padding: 14px 24px;
		font-size: 14px;
	}

	.hv3-services__grid {
		grid-template-columns: 1fr;
	}
	.hv3-card {
		min-height: 0;
		padding: 28px 20px 20px;
	}
	.hv3-card__media {
		min-height: 160px;
	}

	.hv3-stat {
		min-height: 280px;
		padding: 36px 20px 56px;
	}
	.hv3-quote__card {
		padding: 32px 24px;
		border-radius: 20px;
	}
}


/* ====================================================================
   2) CHI SIAMO (about-new)
   ==================================================================== */

/* ================================================================
   Chi Siamo (nuova) — stylesheet
   Caricato solo sulla pagina con template "Chi Siamo (nuova)" (tmp-about-new.php).
   Prefisso classi: .an-* (about-new).
   ================================================================ */

:root {
	--an-accent:  #4CAF50;
	--an-text:    #FFFFFF;
	--an-muted:   rgba(255, 255, 255, 0.85);
}

.about-new {
	background: #fff;
}
.about-new * { box-sizing: border-box; }

/* ================================================================
   HERO — full-bleed con immagine/video come background della sezione,
   testo a sinistra sopra overlay scuro (sfumatura da sx + dall'alto).
   ================================================================ */
.an-hero {
	position: relative;
	z-index: 2;
	width: 100%;
	min-height: 600px;
	overflow: hidden;
	display: flex;
	align-items: center;
	background: var(--an-hero-bg, #1A1A1A);
	color: var(--an-text);
	border-radius: 0 0 20px 20px;
}

/* Media background ---------------------------------------------- */
.an-hero__media {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.an-hero__image,
.an-hero__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center right;
}

/* Overlay #1A1A1A con sfumatura a SINISTRA (leggibilità testo)
   e in ALTO (fonde con desktop-nav #1A1A1A → niente "stacco"). */
.an-hero__overlay {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg,
			rgba(26,26,26,1)    0%,
			rgba(26,26,26,0.85) 30%,
			rgba(26,26,26,0.4)  60%,
			rgba(26,26,26,0)    100%),
		linear-gradient(180deg,
			rgba(26,26,26,1)   0%,
			rgba(26,26,26,0.6) 20%,
			rgba(26,26,26,0)   55%);
	pointer-events: none;
}

/* Inner / contenuto -------------------------------------------- */
.an-hero__inner {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 1440px;
	margin: 0 auto;
	padding: clamp(64px, 8vw, 120px) clamp(20px, 5vw, 96px);
}

.an-hero__text {
	max-width: 680px;
}

.an-hero__breadcrumb {
	font-family: 'Poppins', sans-serif;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.6);
	margin: 0 0 24px;
}
.an-hero__breadcrumb a {
	color: rgba(255, 255, 255, 0.85);
	text-decoration: none;
	transition: color .2s ease;
}
.an-hero__breadcrumb a:hover {
	color: var(--an-accent);
}

.an-hero__title {
	font-family: 'Poppins', sans-serif;
	font-weight: 700;
	font-size: clamp(36px, 5vw, 64px);
	line-height: 1.05;
	letter-spacing: -0.02em;
	margin: 0 0 32px;
	color: var(--an-text);
}

.an-hero__title-part {
	display: block;
}

.an-hero__title-part--accent {
	color: var(--an-accent);
}

.an-hero__description {
	font-family: 'Poppins', sans-serif;
	font-weight: 400;
	font-size: clamp(15px, 1.05vw, 17px);
	line-height: 1.65;
	color: var(--an-muted);
}
.an-hero__description p {
	margin: 0 0 12px;
}
.an-hero__description p:last-child {
	margin-bottom: 0;
}

/* ================================================================
   PERCHÈ SCEGLIERCI — griglia 3x2 di card chiare con icona verde
   ================================================================ */
.an-perche {
	position: relative;
	z-index: 1;
	background: #fff;
	padding: clamp(40px, 5vw, 72px) 0;
	margin-top: -20px;
}

.an-perche__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 clamp(20px, 5vw, 64px);
}

.an-perche__title {
	font-family: 'Poppins', sans-serif;
	font-weight: 700;
	font-size: clamp(28px, 3.2vw, 44px);
	line-height: 1.15;
	letter-spacing: -0.01em;
	text-align: center;
	color: #1A1A1A;
	margin: 0 0 clamp(40px, 5vw, 64px);
}

.an-perche__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(16px, 2vw, 24px);
}

/* Card --------------------------------------------------------- */
.an-perche-card {
	background: #F2F2F2;
	border-radius: 20px;
	padding: clamp(24px, 3vw, 36px) clamp(20px, 2.5vw, 32px);
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.an-perche-card__icon {
	width: 64px;
	height: 64px;
	background: #4CAF50;
	border-radius: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 8px;
}
.an-perche-card__icon img {
	width: 32px;
	height: 32px;
	object-fit: contain;
	filter: brightness(0) invert(1); /* forza l'icona a bianco anche se non lo è */
}

.an-perche-card__title {
	font-family: 'Poppins', sans-serif;
	font-weight: 700;
	font-size: clamp(18px, 1.4vw, 22px);
	line-height: 1.2;
	color: #1A1A1A;
	margin: 0;
}

.an-perche-card__desc {
	font-family: 'Poppins', sans-serif;
	font-weight: 400;
	font-size: 14px;
	line-height: 1.6;
	color: #555;
	margin: 0;
}

/* ================================================================
   STATS SLIDER — versione larga (data sourced from home hv3_about_stats)
   ================================================================ */
.an-stats-section {
	background: #fff;
	padding: clamp(24px, 3vw, 48px) 0 clamp(32px, 4vw, 56px);
}

.an-stats-section__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 clamp(20px, 5vw, 64px);
}

.an-stats {
	position: relative;
	width: 100%;
	border-radius: 20px;
	overflow: hidden;
	background: #1A1A1A;
}

.an-stat {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 18px;
	min-height: 280px;
	padding: 48px 32px 64px;
	color: #fff;
	text-align: center;
}

.an-stat__value {
	display: inline-block;
	background: var(--an-accent, #4CAF50);
	color: #fff;
	font-family: 'Poppins', sans-serif;
	font-weight: 800;
	font-size: clamp(36px, 4vw, 56px);
	line-height: 1;
	padding: 16px 32px;
	border-radius: 16px;
	letter-spacing: -0.02em;
}

.an-stat__label {
	font-family: 'Poppins', sans-serif;
	font-weight: 400;
	font-size: clamp(15px, 1.15vw, 18px);
	color: rgba(255, 255, 255, 0.92);
}

.an-stats__pagination {
	position: absolute !important;
	bottom: 24px !important;
	left: 0;
	right: 0;
	text-align: center;
	z-index: 2;
}
.an-stats__pagination .swiper-pagination-bullet {
	width: 8px;
	height: 8px;
	background: rgba(255, 255, 255, 0.4);
	opacity: 1;
	margin: 0 4px !important;
	transition: background .25s ease, transform .25s ease;
}
.an-stats__pagination .swiper-pagination-bullet-active {
	background: #fff;
	transform: scale(1.25);
}

/* ================================================================
   BLOCK 2-COL — sezioni testo a sx + immagine a dx
   Condivise tra .an-strategie (Strategie) e .an-offriamo (Ti offriamo)
   ================================================================ */
.an-strategie,
.an-offriamo {
	background: #fff;
	padding: clamp(32px, 4vw, 60px) 0;
}

.an-strategie__inner,
.an-offriamo__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 clamp(20px, 5vw, 64px);
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(40px, 6vw, 96px);
	align-items: center;
}

.an-strategie__text,
.an-offriamo__text {
	min-width: 0;
}

.an-strategie__title,
.an-offriamo__title {
	font-family: 'Poppins', sans-serif;
	font-weight: 700;
	font-size: clamp(28px, 3.2vw, 44px);
	line-height: 1.15;
	letter-spacing: -0.01em;
	margin: 0 0 24px;
	color: #1A1A1A;
}
.an-strategie__title-part,
.an-offriamo__title-part {
	display: block;
}
.an-strategie__title-part--accent,
.an-offriamo__title-part--accent {
	color: var(--an-accent, #4CAF50);
}

.an-strategie__description,
.an-offriamo__description {
	font-family: 'Poppins', sans-serif;
	font-weight: 400;
	font-size: clamp(15px, 1.05vw, 16px);
	line-height: 1.65;
	color: #444;
}
.an-strategie__description p,
.an-offriamo__description p {
	margin: 0 0 12px;
}
.an-strategie__description p:last-child,
.an-offriamo__description p:last-child {
	margin-bottom: 0;
}

.an-strategie__media,
.an-offriamo__media {
	min-width: 0;
}
.an-strategie__media img,
.an-offriamo__media img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 20px;
}

/* ================================================================
   TEAM — card dinamiche dal CPT team, sezione scura full-width
   ================================================================ */
.an-team {
	background: var(--an-team-bg, #1A1A1A);
	padding: clamp(40px, 5vw, 72px) 0;
	border-radius: 20px;
	overflow: hidden;
}

.an-team__inner {
	max-width: 1320px;
	margin: 0 auto;
	padding: 0 clamp(20px, 5vw, 64px);
}

.an-team__title {
	font-family: 'Poppins', sans-serif;
	font-weight: 700;
	font-size: clamp(28px, 3vw, 40px);
	line-height: 1.15;
	letter-spacing: -0.01em;
	text-align: center;
	color: #fff;
	margin: 0 0 clamp(32px, 4vw, 56px);
}

.an-team__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(16px, 2vw, 24px);
}

/* Card --------------------------------------------------------- */
.an-team-card {
	position: relative;
	border-radius: 20px;
	overflow: hidden;
	aspect-ratio: 4 / 5;
	background: #2a2a2a;
}

.an-team-card__media {
	position: absolute;
	inset: 0;
	z-index: 0;
}
.an-team-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.an-team-card__info {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
	padding: 24px 24px 22px;
	background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.55) 70%, rgba(0,0,0,0.75) 100%);
	color: #fff;
}

.an-team-card__name {
	font-family: 'Poppins', sans-serif;
	font-weight: 700;
	font-size: 18px;
	line-height: 1.2;
	margin: 0 0 4px;
	color: #fff;
}

.an-team-card__role {
	display: block;
	font-family: 'Poppins', sans-serif;
	font-weight: 500;
	font-size: 11px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.9);
}

/* ================================================================
   CTA FINALE — sezione scura con titolo (highlight pixel + normale),
   descrizione e bottone "Contattaci".
   Stili condivisi tra Chi Siamo (.an-cta) e Contatti (.co-cta).
   ================================================================ */
.an-cta,
.co-cta,
.bl-cta,
.bs-cta {
	position: relative;
	background: var(--an-cta-bg, var(--co-cta-bg, var(--bl-cta-bg, var(--bs-cta-bg, #1A1A1A))));
	color: #fff;
	padding: clamp(80px, 10vw, 140px) 0 clamp(64px, 8vw, 120px);
	border-radius: 20px 20px 0 0;
	overflow: hidden;
}

.an-cta__inner,
.co-cta__inner,
.bl-cta__inner,
.bs-cta__inner {
	max-width: 1320px;
	margin: 0 auto;
	padding: 0 clamp(20px, 5vw, 96px);
}

.an-cta__title,
.co-cta__title,
.bl-cta__title,
.bs-cta__title {
	font-family: 'Poppins', sans-serif;
	font-weight: 700;
	font-size: clamp(28px, 3vw, 44px);
	line-height: 1.2;
	letter-spacing: -0.01em;
	margin: 0 0 24px;
	color: #fff;
}
.an-cta__title-part,
.co-cta__title-part,
.bl-cta__title-part,
.bs-cta__title-part {
	display: inline;
}
.an-cta__title-part--accent,
.co-cta__title-part--accent,
.bl-cta__title-part--accent,
.bs-cta__title-part--accent {
	font-family: 'Pixel', 'Poppins', monospace;
	color: var(--an-accent, #4CAF50);
	letter-spacing: 0.04em;
	margin-right: 0.5em;
}

.an-cta__description,
.co-cta__description,
.bl-cta__description,
.bs-cta__description {
	font-family: 'Poppins', sans-serif;
	font-weight: 400;
	font-size: clamp(14px, 1vw, 16px);
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.75);
	max-width: 560px;
	margin: 0 0 28px;
}

.an-cta__button,
.co-cta__button,
.bl-cta__button,
.bs-cta__button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 24px;
	background: var(--an-accent, #4CAF50);
	color: #fff;
	font-family: 'Poppins', sans-serif;
	font-weight: 600;
	font-size: 14px;
	border-radius: 20px;
	text-decoration: none;
	transition: filter .25s ease, transform .25s ease;
}
.an-cta__button:hover,
.co-cta__button:hover,
.bl-cta__button:hover,
.bs-cta__button:hover {
	filter: brightness(1.08);
	transform: translateY(-2px);
	color: #fff;
}

/* ================================================================
   Responsive
   ================================================================ */
@media (max-width: 1024px) {
	.an-hero {
		min-height: 520px;
	}
	.an-hero__image,
	.an-hero__video {
		object-position: center;
	}
	/* Su mobile sfumatura più forte sotto, testo full-width centrato sopra */
	.an-hero__overlay {
		background:
			linear-gradient(180deg,
				rgba(26,26,26,1)   0%,
				rgba(26,26,26,0.6) 25%,
				rgba(26,26,26,0.4) 60%,
				rgba(26,26,26,0.7) 100%);
	}

	.an-perche__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.an-strategie__inner,
	.an-offriamo__inner {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.an-team__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.an-hero__inner {
		padding: 96px 24px 56px;
	}
	.an-hero__title {
		margin-bottom: 24px;
	}

	.an-perche__grid {
		grid-template-columns: 1fr;
	}
	.an-perche-card__icon {
		width: 56px;
		height: 56px;
	}
	.an-perche-card__icon img {
		width: 28px;
		height: 28px;
	}

	.an-team__grid {
		grid-template-columns: 1fr;
	}
}


/* ====================================================================
   3) SPORT & EVENTS
   ==================================================================== */

/* ================================================================
   Sport & Events (nuova) — stylesheet
   Caricato solo sulla pagina con template "Sport & Events (nuova)" (tmp-sportevents.php).
   Prefisso classi: .se-* (sport-events).
   ================================================================ */

:root {
	--se-accent: #4CAF50;
	--se-text:   #FFFFFF;
	--se-muted:  rgba(255, 255, 255, 0.85);
}

.sportevents {
	background: #fff;
}
.sportevents * { box-sizing: border-box; }

/* Le sezioni vengono aggiunte man mano che le costruiamo */


/* ====================================================================
   4) CONTATTI (nuova)
   ==================================================================== */

:root {
	--co-accent: #4CAF50;
	--co-text:   #FFFFFF;
	--co-muted:  rgba(255, 255, 255, 0.85);
}

.contatti-new {
	background: #fff;
}
.contatti-new * { box-sizing: border-box; }

/* Le sezioni vengono aggiunte man mano che le costruiamo */

/* ----------------------------------------------------------------
   CONTATTI — Hero (titolo centrato + breadcrumb)
   ---------------------------------------------------------------- */
.co-hero {
	background: #fff;
	padding: clamp(40px, 5vw, 72px) 0 clamp(24px, 3vw, 40px);
}
.co-hero__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 clamp(20px, 5vw, 64px);
	text-align: center;
}
.co-hero__breadcrumb {
	font-family: 'Poppins', sans-serif;
	font-size: 13px;
	color: #777;
	margin: 0 0 16px;
}
.co-hero__breadcrumb a {
	color: #555;
	text-decoration: none;
	transition: color .2s ease;
}
.co-hero__breadcrumb a:hover {
	color: var(--co-accent, #4CAF50);
}
.co-hero__title {
	font-family: 'Poppins', sans-serif;
	font-weight: 700;
	font-size: clamp(36px, 5vw, 56px);
	line-height: 1.05;
	letter-spacing: -0.02em;
	margin: 0;
	color: #1A1A1A;
}

/* ----------------------------------------------------------------
   CONTATTI — Box info (3 card: Dove siamo / Telefono / Social)
   ---------------------------------------------------------------- */
.co-info {
	background: #fff;
	padding: clamp(24px, 3vw, 48px) 0 clamp(40px, 5vw, 72px);
}
.co-info__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 clamp(20px, 5vw, 64px);
}
.co-info__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(16px, 2vw, 24px);
}

/* Card --------------------------------------------------------- */
.co-info-card {
	background: #F2F2F2;
	border-radius: 20px;
	padding: clamp(24px, 3vw, 36px) clamp(20px, 2.5vw, 32px);
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.co-info-card__icon {
	width: 64px;
	height: 64px;
	background: var(--co-accent, #4CAF50);
	border-radius: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 4px;
}
.co-info-card__icon img {
	width: 32px;
	height: 32px;
	object-fit: contain;
	filter: brightness(0) invert(1); /* forza icona a bianco */
}

.co-info-card__title {
	font-family: 'Poppins', sans-serif;
	font-weight: 700;
	font-size: clamp(18px, 1.4vw, 22px);
	line-height: 1.2;
	color: #1A1A1A;
	margin: 0;
}

.co-info-card__desc {
	font-family: 'Poppins', sans-serif;
	font-weight: 400;
	font-size: 14px;
	line-height: 1.6;
	color: #555;
	margin: 0;
}

/* Lista sedi (Dove siamo) -------------------------------------- */
.co-info-card__locations {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.co-info-card__location {
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.co-info-card__city {
	font-family: 'Poppins', sans-serif;
	font-weight: 700;
	font-size: 15px;
	color: #1A1A1A;
}
.co-info-card__address {
	font-family: 'Poppins', sans-serif;
	font-weight: 400;
	font-size: 13px;
	line-height: 1.5;
	color: #555;
}

/* Lista social + bottone azione (link/telefono) ---------------- */
.co-info-card__socials {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.co-info-card__action {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 14px;
	background: #fff;
	color: #1A1A1A;
	font-family: 'Poppins', sans-serif;
	font-weight: 600;
	font-size: 13px;
	border-radius: 12px;
	text-decoration: none;
	transition: transform .2s ease, box-shadow .2s ease;
	border: 1px solid #E5E5E5;
	margin-top: auto;
}
.co-info-card__action:hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 14px rgba(0,0,0,0.08);
	color: #1A1A1A;
}
.co-info-card__socials .co-info-card__action {
	width: 100%;
	margin-top: 0;
}

/* Responsive --------------------------------------------------- */
@media (max-width: 1024px) {
	.co-info__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
/* Header siteHeader è fixed (~80px) anche su tablet → padding-top extra
   per non far finire breadcrumb/titolo sotto l'header */
@media (max-width: 1024px) {
	.co-hero {
		padding-top: 104px;
	}
}

@media (max-width: 600px) {
	.co-info__grid {
		grid-template-columns: 1fr;
	}
	.co-info-card__icon {
		width: 56px;
		height: 56px;
	}
	.co-info-card__icon img {
		width: 28px;
		height: 28px;
	}
}

/* ----------------------------------------------------------------
   CONTATTI — Form ("Compila la form") con bg image + CF7 styling
   ---------------------------------------------------------------- */
.co-form {
	background: #fff;
	padding: clamp(24px, 3vw, 48px) clamp(20px, 4vw, 56px) clamp(40px, 5vw, 72px);
}
.co-form__inner {
	position: relative;
	max-width: 1200px;
	margin: 0 auto;
	border-radius: 20px;
	overflow: hidden;
	min-height: clamp(420px, 50vh, 560px);
	background: #1A1A1A;
}

/* Media (immagine bg + overlay scuro a sinistra per leggibilità) */
.co-form__media {
	position: absolute;
	inset: 0;
	z-index: 0;
}
.co-form__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center right;
}
.co-form__overlay {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg,
			rgba(26,26,26,0.92) 0%,
			rgba(26,26,26,0.75) 35%,
			rgba(26,26,26,0.3)  60%,
			rgba(26,26,26,0)    100%);
	pointer-events: none;
}

/* Content (titolo + form, sempre sulla colonna sinistra) */
.co-form__content {
	position: relative;
	z-index: 1;
	max-width: 480px;
	padding: clamp(40px, 5vw, 64px) clamp(28px, 4vw, 48px);
}

.co-form__title {
	font-family: 'Poppins', sans-serif;
	font-weight: 700;
	font-size: clamp(28px, 3.2vw, 44px);
	line-height: 1.1;
	letter-spacing: -0.01em;
	color: #fff;
	margin: 0 0 28px;
}

/* ---- Override Contact Form 7 (.wpcf7) ---- */
.co-form__cf7 .wpcf7 {
	margin: 0;
}
.co-form__cf7 .wpcf7-form p {
	margin: 0 0 8px;
}
.co-form__cf7 .wpcf7-form p:last-of-type {
	margin-bottom: 0;
}

.co-form__cf7 input[type="text"],
.co-form__cf7 input[type="email"],
.co-form__cf7 input[type="tel"],
.co-form__cf7 input[type="number"],
.co-form__cf7 input[type="url"],
.co-form__cf7 textarea {
	width: 100%;
	padding: 14px 18px;
	background: rgba(255,255,255,0.06);
	border: 1px solid rgba(255,255,255,0.18);
	border-radius: 14px;
	color: #fff;
	font-family: 'Poppins', sans-serif;
	font-weight: 400;
	font-size: 14px;
	line-height: 1.4;
	outline: none;
	transition: border-color .2s ease, background .2s ease;
}
.co-form__cf7 input::placeholder,
.co-form__cf7 textarea::placeholder {
	color: rgba(255,255,255,0.65);
}
.co-form__cf7 input:focus,
.co-form__cf7 textarea:focus {
	border-color: var(--co-accent, #4CAF50);
	background: rgba(255,255,255,0.1);
}
.co-form__cf7 textarea {
	min-height: 110px;
	resize: vertical;
}

/* Submit */
.co-form__cf7 input[type="submit"],
.co-form__cf7 .wpcf7-submit {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 22px;
	background: var(--co-accent, #4CAF50);
	color: #fff;
	font-family: 'Poppins', sans-serif;
	font-weight: 600;
	font-size: 14px;
	border: none;
	border-radius: 14px;
	cursor: pointer;
	transition: filter .2s ease, transform .2s ease;
	margin-top: 6px;
}
.co-form__cf7 input[type="submit"]:hover,
.co-form__cf7 .wpcf7-submit:hover {
	filter: brightness(1.08);
	transform: translateY(-1px);
}

/* Messaggi CF7 (validation / risposta) */
.co-form__cf7 .wpcf7 form .wpcf7-response-output {
	color: #fff;
	border-color: rgba(255,255,255,0.3);
	border-radius: 12px;
	margin: 16px 0 0;
	padding: 12px 16px;
	font-size: 13px;
}
.co-form__cf7 .wpcf7-not-valid-tip {
	color: #FF8A65;
	font-size: 12px;
	margin-top: 4px;
}

/* Acceptance / privacy / consent — testo bianco su sfondo scuro */
.co-form__cf7 .wpcf7-acceptance,
.co-form__cf7 .wpcf7-acceptance label,
.co-form__cf7 label,
.co-form__cf7 p {
	color: rgba(255, 255, 255, 0.85);
	font-family: 'Poppins', sans-serif;
	font-size: 13px;
	line-height: 1.5;
}

/* Allineamento checkbox + testo della privacy sulla stessa riga.
   Markup CF7 reale: <label class="bwAcceptance"><br><span>checkbox</span><span>testo<br></label>
   I <br> interni spingono tutto a capo → li nascondiamo e usiamo flex sul label. */
.co-form__cf7 label.bwAcceptance {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	cursor: pointer;
	margin: 14px 0 16px;
}
.co-form__cf7 label.bwAcceptance br {
	display: none;
}
.co-form__cf7 .wpcf7-acceptance .wpcf7-list-item {
	margin: 0;
	display: block;
}
.co-form__cf7 .wpcf7-acceptance input[type="checkbox"] {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin: 2px 0 0; /* allinea col baseline della prima riga di testo */
	accent-color: var(--co-accent, #4CAF50);
	cursor: pointer;
}

.co-form__cf7 a {
	color: var(--co-accent, #4CAF50);
	text-decoration: underline;
	transition: filter .2s ease;
}
.co-form__cf7 a:hover {
	filter: brightness(1.2);
}

/* Responsive */
@media (max-width: 1024px) {
	.co-form__overlay {
		background:
			linear-gradient(180deg,
				rgba(26,26,26,0.7) 0%,
				rgba(26,26,26,0.85) 60%,
				rgba(26,26,26,0.92) 100%);
	}
	.co-form__content {
		max-width: 100%;
	}
}


/* ====================================================================
   5) BLOG (home.php) — pagina lista articoli
   ==================================================================== */

:root {
	--bl-accent: #4CAF50;
}
.blog-new {
	background: #fff;
}
.blog-new * { box-sizing: border-box; }

/* ----------------------------------------------------------------
   BLOG — Hero slider
   ---------------------------------------------------------------- */
.bl-hero {
	background: #fff;
	padding: 0;
}
.bl-hero__slider {
	width: 100%;
	max-width: none;
	margin: 0;
	border-radius: 0 0 20px 20px;
	overflow: hidden;
	position: relative;
}
.bl-hero-slide {
	position: relative;
	min-height: clamp(520px, 75vh, 760px);
	overflow: hidden;
	background: #1A1A1A;
	display: flex;
	align-items: center;
}

/* Breadcrumb sopra le slide, allineato al container 1320px */
.bl-hero__breadcrumb {
	position: absolute;
	top: clamp(28px, 3vw, 48px);
	left: 50%;
	transform: translateX(-50%);
	width: 100%;
	max-width: 1320px;
	padding: 0 clamp(20px, 5vw, 96px);
	box-sizing: border-box;
	z-index: 3;
	font-family: 'Poppins', sans-serif;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.85);
}
.bl-hero__breadcrumb a {
	color: #fff;
	text-decoration: none;
	transition: opacity .2s ease;
}
.bl-hero__breadcrumb a:hover {
	opacity: 0.75;
}
.bl-hero-slide__media {
	position: absolute;
	inset: 0;
	z-index: 0;
}
.bl-hero-slide__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.bl-hero-slide__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg,
		var(--cat-color, #1A1A1A) 0%,
		var(--cat-color, #1A1A1A) 30%,
		transparent 55%);
}
.bl-hero-slide__content {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 1320px;
	margin: 0 auto;
	padding: clamp(40px, 5vw, 80px) clamp(20px, 5vw, 96px);
	color: #fff;
}
.bl-hero-slide__text {
	max-width: 600px;
}
.bl-hero-slide__cat {
	display: inline-block;
	padding: 8px 18px;
	background: transparent;
	color: #fff;
	font-family: 'Poppins', sans-serif;
	font-weight: 600;
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	border: 1px solid rgba(255, 255, 255, 0.85);
	border-radius: 20px;
	margin-bottom: 24px;
}
.bl-hero-slide__title {
	font-family: 'Poppins', sans-serif;
	font-weight: 700;
	font-size: clamp(32px, 4vw, 52px);
	line-height: 1.1;
	letter-spacing: -0.015em;
	margin: 0 0 22px;
	color: #fff;
}
.bl-hero-slide__title a {
	color: #fff;
	text-decoration: none;
}
.bl-hero-slide__desc {
	font-family: 'Poppins', sans-serif;
	font-weight: 400;
	font-size: clamp(15px, 1.1vw, 17px);
	line-height: 1.6;
	color: rgba(255,255,255,0.9);
	margin: 0 0 32px;
	max-width: 520px;
}
.bl-hero-slide__cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 22px;
	background: rgba(255,255,255,0.95);
	color: #1A1A1A;
	font-family: 'Poppins', sans-serif;
	font-weight: 600;
	font-size: 14px;
	border-radius: 20px;
	text-decoration: none;
	transition: transform .2s ease, box-shadow .2s ease;
}
.bl-hero-slide__cta:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 18px rgba(0,0,0,0.18);
	color: #1A1A1A;
}

/* Pagination dots dello slider */
.bl-hero__pagination {
	position: absolute !important;
	bottom: 18px !important;
	left: 0;
	right: 0;
	text-align: center;
	z-index: 2;
}
.bl-hero__pagination .swiper-pagination-bullet {
	width: 8px;
	height: 8px;
	background: rgba(255,255,255,0.5);
	opacity: 1;
	margin: 0 4px !important;
	transition: background .25s ease, transform .25s ease;
}
.bl-hero__pagination .swiper-pagination-bullet-active {
	background: #fff;
	transform: scale(1.25);
}

/* ----------------------------------------------------------------
   BLOG — Filtri categorie (pillole)
   ---------------------------------------------------------------- */
.bl-filters {
	background: #fff;
	padding: clamp(24px, 3vw, 40px) 0 clamp(8px, 1vw, 16px);
}
.bl-filters__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 clamp(20px, 5vw, 64px);
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
}
.bl-filter {
	display: inline-flex;
	align-items: center;
	padding: 10px 20px;
	background: transparent;
	color: #1A1A1A;
	font-family: 'Poppins', sans-serif;
	font-weight: 600;
	font-size: 14px;
	border: 1px solid #d4d4d4;
	border-radius: 20px;
	cursor: pointer;
	transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.bl-filter:hover {
	border-color: #1A1A1A;
}
.bl-filter.is-active {
	background: var(--bl-accent, #4CAF50);
	border-color: var(--bl-accent, #4CAF50);
	color: #fff;
}

/* ----------------------------------------------------------------
   BLOG — Grid card
   ---------------------------------------------------------------- */
.bl-grid-section {
	background: #fff;
	padding: clamp(20px, 2vw, 32px) 0 clamp(40px, 5vw, 72px);
}
.bl-grid-section__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 clamp(20px, 5vw, 64px);
}
.bl-grid {
	position: relative;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(16px, 2vw, 24px);
	transition: opacity .25s ease;
}

/* Loader globale sul grid (cambio categoria / load more) */
.bl-grid.is-loading {
	opacity: 0.5;
	pointer-events: none;
}
.bl-grid.is-loading::after {
	content: '';
	position: absolute;
	top: 80px;
	left: 50%;
	width: 40px;
	height: 40px;
	margin-left: -20px;
	border: 3px solid rgba(0, 0, 0, 0.12);
	border-top-color: var(--bl-accent, #4CAF50);
	border-radius: 50%;
	animation: bl-spin 0.7s linear infinite;
	z-index: 5;
}

@keyframes bl-spin {
	to { transform: rotate(360deg); }
}

.bl-card {
	display: flex;
	flex-direction: column;
	background: #EAEAEA;
	border-radius: 20px;
	padding: 16px;
	box-shadow: 0 6px 18px rgba(0,0,0,0.06);
	transition: transform .25s ease, box-shadow .25s ease;
}
.bl-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 28px rgba(0,0,0,0.1);
}
.bl-card__media {
	position: relative;
	border-radius: 16px;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	margin-bottom: 16px;
	background: #f0f0f0;
}
.bl-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.bl-card__cat {
	position: absolute;
	top: 12px;
	left: 12px;
	padding: 6px 12px;
	background: var(--cat-color, #1A1A1A);
	color: #fff;
	font-family: 'Poppins', sans-serif;
	font-weight: 700;
	font-size: 11px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	border-radius: 20px;
	z-index: 1;
}
.bl-card__title {
	font-family: 'Poppins', sans-serif;
	font-weight: 700;
	font-size: clamp(16px, 1.2vw, 19px);
	line-height: 1.25;
	color: #1A1A1A;
	margin: 0 0 10px;
	padding: 0 4px;
}
.bl-card__title a {
	color: inherit;
	text-decoration: none;
	transition: color .2s ease;
}
.bl-card__title a:hover {
	color: var(--bl-accent, #4CAF50);
}
.bl-card__desc {
	font-family: 'Poppins', sans-serif;
	font-weight: 400;
	font-size: 13px;
	line-height: 1.55;
	color: #666;
	margin: 0 0 16px;
	padding: 0 4px;
	flex: 1 1 auto;
}
.bl-card__cta {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 18px;
	background: var(--bl-accent, #4CAF50);
	color: #fff;
	font-family: 'Poppins', sans-serif;
	font-weight: 600;
	font-size: 13px;
	border-radius: 20px;
	text-decoration: none;
	transition: filter .25s ease, transform .25s ease;
	margin: 0 4px 4px;
	align-self: flex-start;
}
.bl-card__cta:hover {
	filter: brightness(1.08);
	transform: translateY(-2px);
	color: #fff;
}

/* "Carica altri" */
.bl-grid__more {
	display: flex;
	justify-content: center;
	margin-top: clamp(24px, 3vw, 40px);
}
.bl-load-more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 24px;
	background: #fff;
	color: #1A1A1A;
	font-family: 'Poppins', sans-serif;
	font-weight: 600;
	font-size: 14px;
	border: 1px solid #d4d4d4;
	border-radius: 20px;
	cursor: pointer;
	transition: background .2s ease, border-color .2s ease;
}
.bl-load-more:hover {
	background: #f5f5f5;
	border-color: #1A1A1A;
}
.bl-load-more.is-loading {
	opacity: 0.6;
	pointer-events: none;
}
/* Spinner sull'icona chevron del bottone durante il caricamento */
.bl-load-more.is-loading svg {
	animation: bl-spin 0.7s linear infinite;
}

.bl-grid__empty {
	text-align: center;
	padding: 40px 20px;
	color: #777;
	font-family: 'Poppins', sans-serif;
	font-size: 14px;
}

/* ----------------------------------------------------------------
   BLOG — Responsive
   ---------------------------------------------------------------- */
@media (max-width: 1024px) {
	.bl-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
/* Tablet + mobile: header siteHeader fixed (~80px) → breadcrumb e content
   della hero slider si posizionano sotto l'header. Vale per tutto ≤1024px. */
@media (max-width: 1024px) {
	.bl-hero {
		padding: 0;
	}
	.bl-hero__breadcrumb {
		top: 104px;
		padding: 0 clamp(20px, 4vw, 40px);
	}
	.bl-hero-slide__content {
		padding-top: 152px;
	}
}

@media (max-width: 600px) {
	.bl-grid {
		grid-template-columns: 1fr;
	}

	/* Filtri categorie: slider orizzontale scrollabile (swipe) invece che wrap.
	   Margin sui figli (non padding sul container) perché il padding-right
	   in container scrollable horizontalmente è buggy in alcuni browser. */
	.bl-filters__inner {
		flex-wrap: nowrap;
		justify-content: flex-start;
		overflow-x: auto;
		overflow-y: hidden;
		-webkit-overflow-scrolling: touch;
		scroll-snap-type: x proximity;
		scroll-padding-left: 24px;
		scroll-padding-right: 24px;
		scrollbar-width: none;
		padding: 0 0 4px;
	}
	.bl-filters__inner::-webkit-scrollbar {
		display: none;
	}
	.bl-filter {
		flex: 0 0 auto;
		white-space: nowrap;
		scroll-snap-align: start;
	}
	.bl-filters__inner > .bl-filter:first-child {
		margin-left: 24px;
	}
	.bl-filters__inner > .bl-filter:last-child {
		margin-right: 24px;
	}
	/* Hero parte a y=0 viewport, magenta si estende edge-to-edge.
	   Header mobile fixed (80px, z-index 9) copre i primi 80px della hero.
	   Breadcrumb e content si posizionano per essere visibili SOTTO l'header. */
	.bl-hero {
		padding: 0;
	}
	/* Su mobile content allineato in alto (non centrato) per evitare che il
	   contenuto alto venga tagliato dall'overflow:hidden della slide. */
	.bl-hero-slide {
		min-height: 640px;
		align-items: flex-start;
	}
	/* Overlay mobile: colore pieno semi-trasparente sopra l'immagine intera
	   (più "elegante" del gradiente orizzontale su schermi stretti). */
	.bl-hero-slide__overlay {
		background: var(--cat-color, #1A1A1A);
		opacity: 0.78;
	}
	/* Breadcrumb visibile sotto header fixed (~80px) + piccolo gap */
	.bl-hero__breadcrumb {
		top: 104px;
		padding: 0 24px;
	}
	/* Content: top = header (80) + breadcrumb area (~32) + gap (40) = 152 */
	.bl-hero-slide__content {
		padding: 152px 24px 32px;
	}
	.bl-hero-slide__title {
		font-size: clamp(24px, 6vw, 32px);
		margin-bottom: 16px;
	}
	.bl-hero-slide__desc {
		margin-bottom: 22px;
	}
	.bl-hero__pagination {
		bottom: 14px !important;
	}
}


/* ====================================================================
   6) BLOG SINGLE (single.php) — articolo singolo
   ==================================================================== */

.post-single {
	background: #fff;
}
.post-single * { box-sizing: border-box; }

.bs-wrap {
	max-width: 1280px;
	margin: 0 auto;
	padding: clamp(24px, 3vw, 48px) clamp(20px, 5vw, 64px) clamp(40px, 5vw, 72px);
}

.bs-breadcrumb {
	font-family: 'Poppins', sans-serif;
	font-size: 13px;
	color: #777;
	text-align: center;
	margin: 0 0 clamp(24px, 3vw, 40px);
}
.bs-breadcrumb a {
	color: #555;
	text-decoration: none;
	transition: color .2s ease;
}
.bs-breadcrumb a:hover {
	color: var(--bl-accent, #4CAF50);
}

/* Grid 2 colonne: contenuto + sidebar */
.bs-grid {
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: clamp(32px, 4vw, 56px);
	align-items: start;
}

/* ----------------------------------------------------------------
   Contenuto articolo
   ---------------------------------------------------------------- */
.bs-content {
	min-width: 0;
}

.bs-cat {
	display: inline-block;
	padding: 8px 18px;
	background: var(--cat-color, #1A1A1A);
	color: #fff;
	font-family: 'Poppins', sans-serif;
	font-weight: 700;
	font-size: 12px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	border-radius: 20px;
	margin-bottom: 24px;
}

.bs-title {
	font-family: 'Poppins', sans-serif;
	font-weight: 700;
	font-size: clamp(28px, 3.4vw, 44px);
	line-height: 1.15;
	letter-spacing: -0.01em;
	margin: 0 0 clamp(24px, 3vw, 40px);
	color: #1A1A1A;
}

.bs-feat {
	border-radius: 20px;
	overflow: hidden;
	margin-bottom: clamp(24px, 3vw, 40px);
}
.bs-feat img {
	width: 100%;
	height: auto;
	display: block;
}

/* Body the_content */
.bs-body {
	font-family: 'Poppins', sans-serif;
	font-size: clamp(15px, 1.05vw, 17px);
	line-height: 1.7;
	color: #333;
}
.bs-body p {
	margin: 0 0 18px;
}
.bs-body h2 {
	font-weight: 700;
	font-size: clamp(22px, 2.2vw, 30px);
	line-height: 1.25;
	margin: 28px 0 14px;
	color: #1A1A1A;
}
.bs-body h3 {
	font-weight: 700;
	font-size: clamp(18px, 1.6vw, 22px);
	line-height: 1.3;
	margin: 24px 0 12px;
	color: #1A1A1A;
}
.bs-body ul,
.bs-body ol {
	margin: 0 0 20px;
	padding-left: 22px;
}
.bs-body li {
	margin-bottom: 8px;
}
.bs-body a {
	color: var(--bl-accent, #4CAF50);
	text-decoration: underline;
}
.bs-body img {
	max-width: 100%;
	height: auto;
	border-radius: 16px;
	margin: 20px 0;
}
.bs-body blockquote {
	border-left: 3px solid var(--bl-accent, #4CAF50);
	padding: 8px 20px;
	margin: 20px 0;
	color: #555;
	font-style: italic;
	background: #fafafa;
	border-radius: 0 12px 12px 0;
}

/* ----------------------------------------------------------------
   Sidebar
   ---------------------------------------------------------------- */
.bs-sidebar {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: clamp(20px, 2vw, 32px);
	position: sticky;
	top: 100px;
}

.bs-side-title {
	font-family: 'Poppins', sans-serif;
	font-weight: 700;
	font-size: 18px;
	line-height: 1.2;
	color: #1A1A1A;
	margin: 0 0 18px;
}

/* Card "Articoli Consigliati" */
.bs-related {
	background: #fff;
	border: 1px solid #ECECEC;
	border-radius: 20px;
	padding: 22px;
}
.bs-related__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.bs-related-card__link {
	display: flex;
	gap: 14px;
	align-items: center;
	text-decoration: none;
	color: inherit;
}
.bs-related-card__media {
	flex: 0 0 80px;
	width: 80px;
	height: 80px;
	border-radius: 14px;
	overflow: hidden;
	background: #f0f0f0;
}
.bs-related-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.bs-related-card__info {
	flex: 1 1 auto;
	min-width: 0;
}
.bs-related-card__cat {
	display: inline-block;
	padding: 3px 10px;
	background: var(--cat-color, #1A1A1A);
	color: #fff;
	font-family: 'Poppins', sans-serif;
	font-weight: 700;
	font-size: 9px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	border-radius: 12px;
	margin-bottom: 6px;
}
.bs-related-card__title {
	display: block;
	font-family: 'Poppins', sans-serif;
	font-weight: 600;
	font-size: 14px;
	line-height: 1.3;
	color: #1A1A1A;
	transition: color .2s ease;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}
.bs-related-card__link:hover .bs-related-card__title {
	color: var(--bl-accent, #4CAF50);
}

/* Card "Social" */
.bs-social-card {
	background: #fff;
	border: 1px solid #ECECEC;
	border-radius: 20px;
	padding: 22px;
}
.bs-social-card__icon {
	width: 56px;
	height: 56px;
	background: var(--bl-accent, #4CAF50);
	border-radius: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 12px;
}
.bs-social-card__icon img {
	width: 28px;
	height: 28px;
	object-fit: contain;
	filter: brightness(0) invert(1);
}
.bs-social-card__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.bs-social-card__btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 14px;
	background: #fff;
	color: #1A1A1A;
	font-family: 'Poppins', sans-serif;
	font-weight: 600;
	font-size: 13px;
	border-radius: 12px;
	text-decoration: none;
	border: 1px solid #E5E5E5;
	transition: transform .2s ease, box-shadow .2s ease;
}
.bs-social-card__btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 14px rgba(0,0,0,0.08);
	color: #1A1A1A;
}

/* Responsive */
@media (max-width: 1024px) {
	.bs-grid {
		grid-template-columns: 1fr;
	}
	.bs-sidebar {
		position: static;
	}
	/* Header siteHeader fixed (~80px) → compensa padding-top */
	.bs-wrap {
		padding-top: 104px;
	}
}


/* ====================================================================
   7) BLOG CATEGORY ARCHIVE (category.php) — hero compatta + grid
   ==================================================================== */

.blog-cat {
	background: #fff;
}
.blog-cat * { box-sizing: border-box; }

.bc-hero {
	background: #fff;
	padding: clamp(40px, 5vw, 72px) 0 clamp(24px, 3vw, 40px);
	text-align: center;
}

.bc-hero__inner {
	max-width: 880px;
	margin: 0 auto;
	padding: 0 clamp(20px, 5vw, 64px);
}

.bc-hero__breadcrumb {
	font-family: 'Poppins', sans-serif;
	font-size: 13px;
	color: #777;
	margin: 0 0 22px;
}
.bc-hero__breadcrumb a {
	color: #555;
	text-decoration: none;
	transition: color .2s ease;
}
.bc-hero__breadcrumb a:hover {
	color: var(--bl-accent, #4CAF50);
}

.bc-hero__badge {
	display: inline-block;
	padding: 6px 14px;
	background: var(--cat-color, #1A1A1A);
	color: #fff;
	font-family: 'Poppins', sans-serif;
	font-weight: 700;
	font-size: 11px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	border-radius: 20px;
	margin-bottom: 18px;
}

.bc-hero__title {
	font-family: 'Poppins', sans-serif;
	font-weight: 700;
	font-size: clamp(36px, 5vw, 56px);
	line-height: 1.05;
	letter-spacing: -0.02em;
	color: #1A1A1A;
	margin: 0 0 14px;
}

.bc-hero__desc {
	font-family: 'Poppins', sans-serif;
	font-weight: 400;
	font-size: clamp(15px, 1.1vw, 17px);
	line-height: 1.6;
	color: #555;
	margin: 0 auto 12px;
	max-width: 640px;
}

.bc-hero__count {
	display: inline-block;
	font-family: 'Poppins', sans-serif;
	font-weight: 500;
	font-size: 13px;
	color: #888;
	margin-top: 6px;
}

/* Responsive: padding compensato per header fixed mobile/tablet */
@media (max-width: 1024px) {
	.bc-hero {
		padding-top: 104px;
	}
}
