/* ==========================================================
   Pacibo Theme — sections.css
   Stili per le 5 sezioni homepage
   ========================================================== */

.pcb-section {
	position: relative;
	overflow: hidden;
}

/* ==========================================================
   1) HERO
   ========================================================== */
.pcb-hero {
	width: 100%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	display: flex;
	align-items: center;
	color: #fff;
}
.pcb-hero__overlay {
	position: absolute; inset: 0;
}
.pcb-hero__content {
	position: relative;
	width: 100%;
	z-index: 2;
}
.pcb-hero--align-left   .pcb-hero__content { text-align: left;   }
.pcb-hero--align-center .pcb-hero__content { text-align: center; }
.pcb-hero--align-right  .pcb-hero__content { text-align: right;  }
.pcb-hero__title {
	font-size: clamp(48px, 9vw, 120px);
	margin: 0 0 16px;
	text-shadow: 0 4px 30px rgba(0,0,0,.4);
}
.pcb-hero__subtitle {
	font-size: 18px;
	max-width: 600px;
	text-shadow: 0 2px 10px rgba(0,0,0,.4);
}
.pcb-hero--align-center .pcb-hero__subtitle { margin-left: auto; margin-right: auto; }
.pcb-hero--align-right  .pcb-hero__subtitle { margin-left: auto; }

/* ==========================================================
   2) MARQUEE (immagine scorrevole)
   ========================================================== */
.pcb-marquee {
	overflow: hidden;
	width: 100%;
}
.pcb-marquee__viewport {
	position: relative;
	overflow: hidden;
	width: 100%;
}
.pcb-marquee__track {
	display: flex;
	width: max-content;
	height: 100%;
	align-items: center;
	animation: pcb-marquee-x linear infinite;
}
.pcb-marquee__track img {
	height: 100%;
	width: auto;
	display: block;
	flex-shrink: 0;
	max-height: 100%;
	user-select: none;
	pointer-events: none;
}
@keyframes pcb-marquee-x {
	0%   { transform: translateX(0); }
	100% { transform: translateX(-50%); }
}

/* ==========================================================
   3) CULTURE (testo + pulsanti — niente più marquee)
   ========================================================== */
.pcb-culture {
	background: var(--pcb-color-bg);
}
.pcb-culture__content {
	text-align: center;
	max-width: 760px;
	position: relative;
}
.pcb-culture__title {
	display: inline-block;
	margin: 0 0 28px;
	line-height: 1;
}
.pcb-culture__title span {
	display: inline;
	background: var(--pcb-color-primary);
	color: #fff;
	padding: 0.08em 0.3em;
	box-decoration-break: clone;
	-webkit-box-decoration-break: clone;
	font-size: clamp(28px, 3.6vw, 42px);
	line-height: 1.18;
	letter-spacing: 2px;
}
.pcb-culture__desc {
	font-size: 15px;
	line-height: 1.8;
	color: var(--pcb-color-text);
	margin-bottom: 32px;
}
.pcb-culture__desc p { margin: 0 0 8px; }
.pcb-culture__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	justify-content: center;
}

/* ==========================================================
   4-bis) SNAP STACK (sfoglia carte) — 4 Imgtext della home
   Logica scroll-driven: wrapper Nx100vh, sticky inside,
   5 stati visivi per ogni carta in base al currentIndex.
   Dentro ogni .pcb-snap-card viene renderizzato un imgtext
   completo (con bg, L-shape, box, titolo, descrizione, pulsante).
   ========================================================== */
.pcb-snap-stack-wrapper {
	--pcb-snap-total: 4;
	--pcb-snap-card-ease: cubic-bezier(.22, 1, .36, 1);
	--pcb-snap-card-dur: 720ms;
	position: relative;
	height: calc(var(--pcb-snap-total) * 100vh);
	background: var(--pcb-color-bg, #fafafa);
}

.pcb-snap-stack-sticky {
	position: sticky;
	top: var(--pcb-header-height, 121px);
	height: calc(100vh - var(--pcb-header-height, 121px));
	overflow: hidden;
}

.pcb-snap-stack {
	position: relative;
	width: 100%;
	height: 100%;
}

/* Carta: solo wrapper di trasformazione. Il contenuto è un imgtext intero. */
.pcb-snap-card {
	position: absolute;
	inset: 0;
	transform-origin: center bottom;
	will-change: transform, opacity, filter;
	overflow: hidden;
	transition:
		transform var(--pcb-snap-card-dur) var(--pcb-snap-card-ease),
		opacity var(--pcb-snap-card-dur) var(--pcb-snap-card-ease),
		filter var(--pcb-snap-card-dur) var(--pcb-snap-card-ease);
}

/* L'imgtext dentro la card riempie 100% di card.
   - Padding (pad_top/pad_bottom dal Customizer) RISPETTATO → controllo "spazio sfondo"
   - max-width (content_width) RISPETTATO → larghezza container interna
   - min-height (content_height) override a 0 perché l'altezza la determina la card stessa */
.pcb-snap-card > .pcb-imgtext {
	position: relative;
	width: 100%;
	height: 100%;
	margin: 0;
	overflow: hidden;
	box-sizing: border-box;
}
.pcb-snap-card > .pcb-imgtext > .pcb-imgtext__inner {
	min-height: 0 !important;
	height: 100%;
	box-sizing: border-box;
}

/* 5 stati visivi (identici al reference HTML) */
.pcb-snap-card.is-before {
	transform: translateY(-120%) rotate(-4deg) scale(.92);
	opacity: 0;
	filter: blur(4px);
	pointer-events: none;
}
.pcb-snap-card.is-active {
	transform: translateY(0) rotate(0) scale(1);
	opacity: 1;
	filter: blur(0);
	pointer-events: auto;
}
.pcb-snap-card.is-after {
	transform: translateY(34px) scale(.94);
	opacity: .32;
	filter: blur(1px);
	pointer-events: none;
}
.pcb-snap-card.is-after-2 {
	transform: translateY(68px) scale(.89);
	opacity: .18;
	filter: blur(2px);
	pointer-events: none;
}
.pcb-snap-card.is-hidden {
	transform: translateY(100px) scale(.84);
	opacity: 0;
	filter: blur(4px);
	pointer-events: none;
}

/* Mobile/tablet fallback: collassa in sezioni normali (no sticky, no stacking)
   Breakpoint 1024px allineato allo stack dell'imgtext */
@media (max-width: 1024px) {
	.pcb-snap-stack-wrapper {
		height: auto;
	}
	.pcb-snap-stack-sticky {
		position: static;
		height: auto;
		overflow: visible;
	}
	.pcb-snap-stack {
		height: auto;
		display: flex;
		flex-direction: column;
	}
	.pcb-snap-card {
		position: relative;
		inset: auto;
		min-height: auto;
		height: auto;
		transform: none !important;
		opacity: 1 !important;
		filter: none !important;
		pointer-events: auto !important;
		z-index: auto !important;
		overflow: visible;
	}
	.pcb-snap-card > .pcb-imgtext {
		height: auto;
		padding-top: 60px !important;
		padding-bottom: 60px !important;
	}
	.pcb-snap-card > .pcb-imgtext > .pcb-imgtext__inner {
		height: auto;
		min-height: 0 !important;
	}
	/* Hero card: in fallback diventano sezioni a piena altezza in flusso */
	.pcb-hero-card {
		position: relative;
		min-height: calc(100vh - var(--pcb-header-height, 90px));
	}
	.pcb-hero-card--image {
		min-height: 60vh;
	}
	/* immagine 2ª carta SEMPRE intera su mobile/tablet */
	.pcb-hero-card__image {
		background-size: contain;
	}
}


/* ==========================================================
   4-quater) PARALLAX STACK — pannello FULL-WIDTH con scroll interno
   Pannello a tutta larghezza, altezza ~78vh, bg fisso (parallax).
   Le 4 sezioni imgtext (L-shape originale) scorrono al suo interno
   con scroll-snap PROXIMITY (non mandatory) così quando finisce
   l'ultima card lo scroll passa liberamente alla pagina sia su che giù.
   ========================================================== */
.pcb-parallax-stack {
	position: relative;
	width: 100%;
	max-width: none;
	height: 78vh;
	min-height: 600px;
	margin: 0;
	overflow: hidden;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	background-attachment: fixed; /* parallax */
	background-color: #1a1a1a;
}
.pcb-parallax-stack__overlay {
	position: absolute;
	inset: 0;
	background: #000;
	z-index: 1;
	pointer-events: none;
}
.pcb-parallax-stack__content {
	position: relative;
	z-index: 2;
	height: 100%;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	scroll-snap-type: y proximity; /* proximity = non blocca scroll page */
	scroll-behavior: smooth;
	overscroll-behavior: auto; /* lascia che lo scroll passi alla pagina ai bordi */
	scrollbar-width: thin;
	scrollbar-color: rgba(255,255,255,.55) rgba(255,255,255,.12);
}
.pcb-parallax-stack__content::-webkit-scrollbar { width: 8px; }
.pcb-parallax-stack__content::-webkit-scrollbar-track {
	background: rgba(255,255,255,.10);
}
.pcb-parallax-stack__content::-webkit-scrollbar-thumb {
	background: rgba(255,255,255,.55);
	border-radius: 20px;
}

/* SLIDE — wrapper di ogni imgtext: snap-align start + animazione entrata */
.pcb-parallax-stack__slide {
	scroll-snap-align: start;
	scroll-snap-stop: normal;
	opacity: 0;
	transform: translateY(20px);
	transition: opacity .55s ease, transform .55s ease;
}
.pcb-parallax-stack__slide.is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* L'IMGTEXT dentro il parallax: sfondo della section trasparente
   (così si vede la bg parallax). Box bianco e immagine intatti. */
.pcb-parallax-stack__slide .pcb-imgtext {
	background-color: transparent !important;
	background-image: none !important;
}
.pcb-parallax-stack__slide .pcb-imgtext__pattern {
	display: none;
}

/* Responsive */
@media (max-width: 850px) {
	.pcb-parallax-stack {
		height: auto;
		min-height: 80vh;
		background-attachment: scroll; /* iOS non gestisce bene fixed */
	}
	.pcb-parallax-stack__content {
		max-height: 80vh;
	}
}


   Riusa .pcb-snap-stack-wrapper + .pcb-snap-card (stati transform).
   Card 1 = video loop, Card 2 = immagine sotto.
   ========================================================== */
.pcb-hero-card {
	overflow: hidden;
	background: #000;
}

/* Video full-bleed */
.pcb-hero-video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.pcb-hero-video--mobile { display: none; }

/* Immagine 2ª carta */
.pcb-hero-card--image {
	background: var(--pcb-color-bg, #fafafa);
}
.pcb-hero-card__image {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

/* Overlay + contenuto sopra il video (riusa .pcb-hero__overlay / __content
   già definiti più sotto nella sezione Hero classico) */
.pcb-hero-card .pcb-hero__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
}
.pcb-hero-card .pcb-hero__content {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
	align-items: center;
}

/* Scroll hint animato in fondo alla card video */
.pcb-hero__scroll-hint {
	position: absolute;
	left: 50%;
	bottom: 28px;
	transform: translateX(-50%);
	width: 26px;
	height: 42px;
	border: 2px solid rgba(255,255,255,.7);
	border-radius: 14px;
	z-index: 3;
}
.pcb-hero__scroll-hint span {
	position: absolute;
	top: 8px;
	left: 50%;
	width: 4px;
	height: 8px;
	margin-left: -2px;
	background: rgba(255,255,255,.9);
	border-radius: 2px;
	animation: pcb-hero-scroll 1.6s ease-in-out infinite;
}
@keyframes pcb-hero-scroll {
	0%   { opacity: 0; transform: translateY(0); }
	40%  { opacity: 1; }
	80%  { opacity: 0; transform: translateY(14px); }
	100% { opacity: 0; }
}

/* Swap video desktop/mobile su smartphone (≤860px = telefoni) */
@media (max-width: 860px) {
	.pcb-hero-card--has-mobile .pcb-hero-video--desktop { display: none; }
	.pcb-hero-card--has-mobile .pcb-hero-video--mobile  { display: block; }
	.pcb-hero__scroll-hint { display: none; }
}

.pcb-imgtext {
	position: relative;
	/* Larghezza % dell'immagine interna (default 56%)
	   Override-abile inline via Customizer (vedi pcb_imgtext_media_width)
	   Il box bianco si posiziona di conseguenza (image_w - overlap) */
	--pcb-imgtext-media-w: 56%;
	--pcb-imgtext-box-overlap: 12%;
}
.pcb-imgtext__pattern {
	position: absolute;
	inset: 0;
	z-index: 0;
	opacity: 1;
}
.pcb-imgtext__pattern svg { width: 100%; height: 100%; }

.pcb-imgtext__inner {
	position: relative;
	z-index: 1;
	/* max-width e min-height vengono impostati inline dal Customizer
	   (pcb_imgtext_content_width e pcb_imgtext_content_height) */
}

/* IMAGINE: usa CSS var --pcb-imgtext-media-w (default 56%)
   z-index alto = sta sopra il box bianco nella zona di sovrapposizione */
.pcb-imgtext__media {
	position: absolute;
	top: 30px;
	left: 0;
	width: var(--pcb-imgtext-media-w);
	bottom: 90px;
	z-index: 2;
	overflow: hidden;
	box-shadow: 0 25px 50px -10px rgba(0,0,0,.35);
	background: #f2f0ec; /* sfondo dietro l'immagine (contain non taglia, può lasciare bordi) */
}
.pcb-imgtext__media img {
	width: 100%;
	height: 100%;
	object-fit: contain; /* immagine SEMPRE intera, mai tagliata */
	object-position: center;
	display: block;
}

/* BOX BIANCO: parte da (media_w - overlap) per creare l'L-shape
   z-index basso = passa dietro l'immagine nella zona di sovrapposizione */
.pcb-imgtext__box {
	position: absolute;
	top: 80px;
	right: 0;
	left: calc(var(--pcb-imgtext-media-w) - var(--pcb-imgtext-box-overlap));
	bottom: 0;
	z-index: 1;
	display: flex;
	align-items: center;
}
.pcb-imgtext__box-content {
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 40px 50px 40px 25%;
	box-sizing: border-box;
}

/* Variante: immagine a destra */
.pcb-imgtext--right .pcb-imgtext__media {
	left: auto;
	right: 0;
}
.pcb-imgtext--right .pcb-imgtext__box {
	left: 0;
	right: calc(var(--pcb-imgtext-media-w) - var(--pcb-imgtext-box-overlap));
}
.pcb-imgtext--right .pcb-imgtext__box-content {
	padding: 40px 25% 40px 50px;
}

.pcb-imgtext__title {
	margin: 0 0 24px;
	line-height: 1;
}
.pcb-imgtext__title span {
	display: inline;
	background: var(--pcb-color-primary);
	color: #fff;
	padding: 0.08em 0.3em;
	box-decoration-break: clone;
	-webkit-box-decoration-break: clone;
	font-size: clamp(36px, 5vw, 60px);
	font-weight: 900;
	letter-spacing: 0;
	line-height: 1.15;
}
.pcb-imgtext__desc {
	font-size: 16px;
	line-height: 1.55;
	margin-bottom: 28px;
	max-width: 100%;
}
.pcb-imgtext__desc p { margin: 0 0 12px; }
.pcb-imgtext__desc p:last-child { margin-bottom: 0; }

/* ==========================================================
   6) BLOG
   ========================================================== */
.pcb-blog {
	background: var(--pcb-color-bg);
}
.pcb-blog__head {
	text-align: center;
	max-width: 720px;
	margin: 0 auto 50px;
}
.pcb-blog__title {
	display: inline-block;
	margin: 0 0 20px;
	line-height: 1;
}
.pcb-blog__title span {
	display: inline;
	background: var(--pcb-color-primary);
	color: #fff;
	padding: 0.08em 0.3em;
	box-decoration-break: clone;
	-webkit-box-decoration-break: clone;
	font-size: clamp(28px, 4vw, 44px);
	line-height: 1.18;
	letter-spacing: 2px;
}
.pcb-blog__desc {
	font-size: 15px;
	line-height: 1.8;
	color: var(--pcb-color-text);
}
.pcb-blog__desc p { margin: 0 0 6px; }

.pcb-blog__grid {
	display: grid;
	grid-template-columns: 1.55fr 1fr;
	gap: 24px;
	margin-bottom: 50px;
}
.pcb-blog__col {
	display: flex;
	flex-direction: column;
	gap: 24px;
}
.pcb-blog__card {
	display: block;
	position: relative;
	background-color: #0a0a0a;
	background-size: cover;
	background-position: center;
	color: #fff;
	overflow: hidden;
	min-height: 300px;
	transition: transform .4s;
}
.pcb-blog__card::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.2) 50%, rgba(0,0,0,0) 100%);
}
.pcb-blog__card:hover { transform: translateY(-3px); opacity: 1; }
.pcb-blog__card--big { min-height: 460px; }
.pcb-blog__card--small { min-height: 218px; }
.pcb-blog__card-body {
	position: absolute;
	bottom: 0;
	left: 0; right: 0;
	padding: 24px 28px;
	z-index: 2;
}
.pcb-blog__card-meta {
	font-size: 11px;
	letter-spacing: 1px;
	opacity: .9;
	margin-bottom: 8px;
	display: flex;
	gap: 8px;
	align-items: center;
}
.pcb-blog__card-sep { opacity: .5; }
.pcb-blog__card-title {
	font-family: var(--pcb-font-body);
	font-weight: 700;
	font-size: 20px;
	margin: 0;
	line-height: 1.25;
	text-transform: none;
	letter-spacing: 0;
}
.pcb-blog__card--big .pcb-blog__card-title { font-size: 24px; }

.pcb-blog__cta { text-align: center; }

/* ==========================================================
   PARALLAX layer (immagine decorativa dietro imgtext)
   Solo desktop. Su mobile è nascosta.
   ========================================================== */
.pcb-imgtext__parallax {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 0; /* dietro l'immagine principale e il box */
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
	overflow: hidden;
	will-change: transform;
}
.pcb-imgtext__parallax img {
	width: 100%;
	height: auto;
	max-width: none;
	opacity: .9;
	display: block;
}
.pcb-imgtext--has-parallax .pcb-imgtext__media,
.pcb-imgtext--has-parallax .pcb-imgtext__box {
	z-index: 2; /* sopra il parallax */
}
@media (max-width: 1024px) {
	.pcb-imgtext__parallax { display: none; }
}

/* ==========================================================
   GALLERY ENTRANCE ANIMATION

   Durata customizzabile via --pcb-gallery-anim-base, settata inline
   sulla singola .pcb-gallery dal PHP (con default da Customizer).
   ========================================================== */
.pcb-gallery {
	--pcb-gallery-anim-base: 1200ms;
}
.pcb-gallery__card {
	opacity: 0;
	transform: translateY(60px);
	transition: opacity var(--pcb-gallery-anim-base) cubic-bezier(.2,.7,.3,1),
				transform var(--pcb-gallery-anim-base) cubic-bezier(.2,.7,.3,1);
}
.pcb-gallery.is-visible .pcb-gallery__card {
	opacity: 1;
	transform: translateY(0);
}
.pcb-gallery.is-visible .pcb-gallery__card:nth-child(1) {
	transition-delay: 0s;
}
.pcb-gallery.is-visible .pcb-gallery__card:nth-child(2) {
	transition-delay: calc(var(--pcb-gallery-anim-base) * 0.25);
}
.pcb-gallery.is-visible .pcb-gallery__card:nth-child(3) {
	transition-delay: calc(var(--pcb-gallery-anim-base) * 0.55);
}
@media (prefers-reduced-motion: reduce) {
	.pcb-gallery__card { opacity: 1; transform: none; transition: none; }
}
.pcb-gallery {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}
.pcb-gallery__pattern {
	position: absolute;
	inset: 0;
	z-index: 0;
}
.pcb-gallery__pattern svg { width: 100%; height: 100%; }
.pcb-gallery__inner {
	position: relative;
	z-index: 1;
	width: 100%;
}
.pcb-gallery__cards {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: stretch;
}
.pcb-gallery__card {
	background: #fff;
	color: inherit;
	display: flex;
	flex-direction: column;
	box-shadow: 0 15px 30px -8px rgba(0,0,0,.25);
	transition: transform .35s, box-shadow .35s;
	overflow: hidden;
	flex: 1 1 0;
	min-width: 0;
}
.pcb-gallery__card:hover {
	transform: translateY(-4px);
	box-shadow: 0 20px 40px -8px rgba(0,0,0,.35);
	opacity: 1;
}
.pcb-gallery__media {
	flex: 1 1 auto;
	min-height: 0;
	overflow: hidden;
	background: #f0f0f0;
}
.pcb-gallery__media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
	display: block;
}
.pcb-gallery__label {
	padding: 16px 20px;
	font-family: var(--pcb-font-heading);
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 1px;
	text-align: center;
	color: var(--pcb-color-primary);
	flex: 0 0 auto;
}
/* Fallback aspect ratio quando card_height NON è impostato */
.pcb-gallery__card:not([style*="height"]) .pcb-gallery__media {
	aspect-ratio: 4 / 3;
	flex: 0 0 auto;
}

/* ==========================================================
   TEXTBLOCK — Solo testo centrato (slot pagina)
   ========================================================== */
.pcb-textblock {
	position: relative;
}
.pcb-textblock__pattern {
	position: absolute;
	inset: 0;
	z-index: 0;
}
.pcb-textblock__pattern svg { width: 100%; height: 100%; }
.pcb-textblock__inner {
	position: relative;
	z-index: 1;
	max-width: 820px;
}
.pcb-textblock--center .pcb-textblock__inner { text-align: center; margin: 0 auto; }
.pcb-textblock--left   .pcb-textblock__inner { text-align: left; }
.pcb-textblock__title {
	font-size: clamp(24px, 3vw, 36px);
	font-weight: 900;
	letter-spacing: -.5px;
	margin: 0 0 20px;
	line-height: 1.15;
}
.pcb-textblock__text {
	font-size: 17px;
	line-height: 1.55;
	font-weight: 600;
	color: var(--pcb-color-text);
}
.pcb-textblock__text p { margin: 0 0 12px; }
.pcb-textblock__text p:last-child { margin-bottom: 0; }

/* ==========================================================
   NEWSLETTER — banner con form (solo grafica)
   ========================================================== */
.pcb-newsletter {
	position: relative;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
}
.pcb-newsletter__overlay {
	position: absolute;
	inset: 0;
	z-index: 0;
}
.pcb-newsletter__inner {
	position: relative;
	z-index: 1;
	text-align: center;
	max-width: 760px;
	width: 100%;
}
.pcb-newsletter__title {
	margin: 0 0 20px;
	line-height: 1.15;
	color: #fff;
}
.pcb-newsletter__title span {
	color: #fff;
	font-size: clamp(26px, 3.4vw, 48px);
	font-weight: 900;
	letter-spacing: 1.5px;
	line-height: 1.15;
}
.pcb-newsletter__desc {
	font-size: 14px;
	line-height: 1.6;
	margin-bottom: 26px;
	color: #ffffff;
	opacity: 1;
}
.pcb-newsletter__desc p { color: #ffffff; }
.pcb-newsletter__form {
	display: flex;
	max-width: 540px;
	margin: 0 auto;
	gap: 0;
	background: #fff;
	overflow: hidden;
}
.pcb-newsletter__input {
	flex: 1 1 auto;
	padding: 14px 18px;
	border: none;
	font-size: 14px;
	color: var(--pcb-color-text);
	background: transparent;
	outline: none;
}
.pcb-newsletter__btn {
	border: none !important;
	margin: 0 !important;
	padding: 14px 24px !important;
	white-space: nowrap;
}

/* ==========================================================
   FAQ — Layout 2 colonne: titolo+intro a sx, accordion a dx
   ========================================================== */
.pcb-faq__inner {
	max-width: 1100px;
	display: grid;
	grid-template-columns: 1fr 1.5fr;
	gap: 60px;
	align-items: start;
}
.pcb-faq__head {
	position: sticky;
	top: 24px;
}
.pcb-faq__title {
	font-family: var(--pcb-font-heading);
	font-weight: 900;
	font-size: clamp(36px, 5vw, 60px);
	margin: 0 0 14px;
	line-height: 1;
	letter-spacing: -.5px;
}
.pcb-faq__intro {
	font-size: 14px;
	line-height: 1.6;
	color: #555;
}
.pcb-faq__intro p { margin: 0 0 8px; }
.pcb-faq__intro p:last-child { margin-bottom: 0; }

.pcb-faq__list {
	border-top: 1px solid #e0e0e0;
}
.pcb-faq__item {
	border-bottom: 1px solid #e0e0e0;
}
.pcb-faq__q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 20px 0;
	cursor: pointer;
	font-family: var(--pcb-font-heading);
	font-weight: 700;
	font-size: 16px;
	letter-spacing: .5px;
	color: var(--pcb-color-primary);
	list-style: none;
	transition: opacity .2s;
}
.pcb-faq__q::-webkit-details-marker { display: none; }
.pcb-faq__q::marker { content: ''; }
.pcb-faq__q:hover { opacity: .7; }
.pcb-faq__icon {
	flex-shrink: 0;
	transition: transform .25s;
	color: var(--pcb-color-primary);
}
.pcb-faq__item[open] .pcb-faq__icon {
	transform: rotate(180deg);
}
.pcb-faq__a {
	padding: 0 0 20px;
	font-size: 14px;
	line-height: 1.7;
	color: #555;
}
.pcb-faq__a p { margin: 0 0 10px; }

/* ==========================================================
   Footer logo: se è img custom, non applicare l'invert
   ========================================================== */
.pcb-footer .pcb-logo--footer img {
	max-height: 60px;
	width: auto;
	margin-bottom: 16px;
	filter: none;
}

/* Responsive */
@media (max-width: 1024px) {
	.pcb-gallery__cards { flex-direction: column; gap: 18px !important; }
	.pcb-gallery__card { width: auto !important; flex: 1 1 auto !important; }
	.pcb-faq__inner { grid-template-columns: 1fr; gap: 30px; }
	.pcb-faq__head { position: static; }
}

@media (max-width: 600px) {
	.pcb-newsletter__form { flex-direction: column; gap: 8px; background: transparent; }
	.pcb-newsletter__input { background: #fff; padding: 12px 16px; }
	.pcb-newsletter__btn { width: 100%; }
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1024px) {

	/* Image+Text collassa su mobile: stack verticale immagine sopra/box sotto */
	.pcb-imgtext__inner {
		min-height: auto;
		display: flex;
		flex-direction: column;
	}
	.pcb-imgtext__media,
	.pcb-imgtext__box,
	.pcb-imgtext--right .pcb-imgtext__media,
	.pcb-imgtext--right .pcb-imgtext__box {
		position: relative;
		top: auto;
		left: auto;
		right: auto;
		bottom: auto;
		width: 100%;
	}
	.pcb-imgtext__media { height: 380px; margin-bottom: 0; }
	.pcb-imgtext__box-content,
	.pcb-imgtext--right .pcb-imgtext__box-content {
		padding: 40px 30px;
		height: auto;
	}

	.pcb-blog__grid { grid-template-columns: 1fr; }
	.pcb-blog__card--big { min-height: 320px; }
}

/* Mobile: con misure in % le posizioni scalano da sole.
   Qui basta abbassare l'altezza della track per evitare can troppo allungate. */
@media (max-width: 620px) {
	.pcb-section { overflow: hidden; }
	.pcb-culture__title span { padding: 10px 20px; }



	.pcb-imgtext__media { height: 280px; }
	.pcb-imgtext__box-content,
	.pcb-imgtext--right .pcb-imgtext__box-content {
		padding: 30px 24px;
	}
	.pcb-imgtext__title { font-size: 36px; }
	.pcb-blog__card-body { padding: 18px 20px; }
	.pcb-blog__card-title { font-size: 17px; }
	.pcb-blog__card--big .pcb-blog__card-title { font-size: 19px; }
}

/* ==========================================================
   RIFINITURA MOBILE GLOBALE (≤768px)
   - titoli hero (font px inline) limitati per non sforare
   - immagini di contenuto sempre intere (contain) anche su mobile
   - niente overflow orizzontale
   ========================================================== */
@media (max-width: 768px) {
	/* Hero title: l'inline px viene limitato per il piccolo schermo */
	.pcb-hero__title { font-size: clamp(32px, 10vw, 56px) !important; line-height: 1.05; }
	.pcb-hero__subtitle { font-size: 15px; }
	.pcb-hero__content .pcb-container { padding-left: 20px; padding-right: 20px; }

	/* Hero classico: altezza un po' più contenuta su telefono */
	.pcb-hero { background-attachment: scroll; }

	/* Immagini di contenuto: SEMPRE intere, mai tagliate */
	.pcb-imgtext__media img,
	.pcb-gallery__media img,
	.post-card__thumb img { object-fit: contain; }

	/* Nessuno scroll orizzontale indesiderato */
	html, body { overflow-x: hidden; }
	.pcb-section { overflow-x: hidden; }
}

/* Telefoni piccoli (≤480px) */
@media (max-width: 480px) {
	.pcb-hero__title { font-size: clamp(28px, 11vw, 44px) !important; }
	.pcb-imgtext__media { height: 240px; }
	.pcb-footer__inner { padding: 0 18px; }
}


/* ==========================================================
   4) SHORTCODE HOME — wrapper neutrale, layout gestito dal plugin/shortcode
   ========================================================== */
.pcb-shortcode-section {
	width: 100%;
	box-sizing: border-box;
}
.pcb-shortcode-section__inner {
	max-width: 100%;
	margin: 0;
}

/* ==========================================================
   BANNER BLOCK — Immagine full + testo overlay
   ========================================================== */
.pcb-banner-block {
	position: relative;
	width: 100%;
	display: flex;
	overflow: hidden;
	box-sizing: border-box;
}
.pcb-banner-block__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	z-index: 1;
}
.pcb-banner-block__content {
	position: relative;
	z-index: 2;
	display: flex;
	width: 100%;
	padding: 32px 24px;
	box-sizing: border-box;
}
.pcb-banner-block__inner {
	max-width: 800px;
}
.pcb-banner-block__inner h1,
.pcb-banner-block__inner h2,
.pcb-banner-block__inner h3 {
	font-family: var(--pcb-font-heading, 'Anton', Arial Black, sans-serif);
	font-weight: 800;
	letter-spacing: 1px;
	text-transform: uppercase;
	margin: 0 0 16px;
	color: inherit;
}
.pcb-banner-block__inner h1 { font-size: clamp(36px, 6vw, 80px); line-height: 1; }
.pcb-banner-block__inner h2 { font-size: clamp(28px, 4vw, 56px); line-height: 1.05; }
.pcb-banner-block__inner h3 { font-size: clamp(22px, 3vw, 36px); }
.pcb-banner-block__inner p  { font-size: 16px; line-height: 1.6; margin: 0 0 12px; }
.pcb-banner-block__inner a {
	color: inherit;
	text-decoration: underline;
}
.pcb-banner-block__inner strong { font-weight: 800; }

/* ==========================================================
   SHOP BLOCK — Vetrina prodotti dentro la pagina interna
   ========================================================== */
.pcb-shop-block {
	background: #fff;
}
.pcb-shop-block__container {
	max-width: var(--pcb-container, 1280px);
	margin: 0 auto;
	padding: 0 24px;
	box-sizing: border-box;
}
.pcb-shop-block__heading {
	font-family: var(--pcb-font-heading, 'Anton', Arial Black, sans-serif);
	font-weight: 800;
	font-size: clamp(28px, 4vw, 48px);
	letter-spacing: 1px;
	text-transform: uppercase;
	text-align: center;
	margin: 0 0 32px;
	color: #0a0a0a;
}
/* Override grid del WooCommerce shortcode [products] per coerenza Pacibo */
.pcb-shop-block ul.products {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(4, 1fr);
}
.pcb-shop-block ul.products li.product {
	width: auto !important;
	float: none !important;
	margin: 0 !important;
}
@media (max-width: 900px) {
	.pcb-shop-block ul.products { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
	.pcb-shop-block ul.products { grid-template-columns: 1fr; }
}

/* ==========================================================
   HERO — Testo overlay (sovrapposto sopra immagine/slider)
   ========================================================== */
.pcb-hero__overlay-text {
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	z-index: 5;
	pointer-events: none;
	display: flex;
	padding: 0 24px;
	box-sizing: border-box;
}
.pcb-hero__overlay-text--left   { justify-content: flex-start; }
.pcb-hero__overlay-text--center { justify-content: center; }
.pcb-hero__overlay-text--right  { justify-content: flex-end; }
.pcb-hero__overlay-text-inner {
	display: inline-block;
	padding: 8px 32px;
	font-family: var(--pcb-font-heading, 'Anton', Arial Black, sans-serif);
	font-weight: 800;
	letter-spacing: 2px;
	text-transform: uppercase;
	line-height: 1;
	pointer-events: auto;
}

/* ==========================================================
   HERO — Modalità SLIDER (max 3 immagini)
   ========================================================== */
.pcb-hero--slider {
	position: relative;
	overflow: hidden;
	background: #000;
}
.pcb-hero-slider {
	position: relative;
	width: 100%;
	height: 100%;
}
.pcb-hero-slider__slide {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	opacity: 0;
	transition: opacity .8s ease;
	display: flex;
	align-items: center;
	justify-content: center;
}
.pcb-hero-slider__slide.is-active { opacity: 1; z-index: 2; }
.pcb-hero-slider__content {
	position: relative;
	z-index: 3;
	color: #fff;
	text-align: center;
	max-width: 800px;
	padding: 0 24px;
}
.pcb-hero-slider__title {
	font-family: var(--pcb-font-heading, 'Anton', Arial Black, sans-serif);
	font-size: clamp(36px, 6vw, 72px);
	letter-spacing: 1px;
	text-transform: uppercase;
	margin: 0 0 24px;
	font-weight: 800;
}
.pcb-hero-slider__btn {
	display: inline-block;
	padding: 14px 32px;
	background: #c4994b;
	color: #0a0a0a;
	font-family: var(--pcb-font-heading, 'Anton', Arial Black, sans-serif);
	font-weight: 800;
	font-size: 14px;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	text-decoration: none;
	transition: transform .15s, opacity .2s;
}
.pcb-hero-slider__btn:hover { transform: translateY(-2px); opacity: .95; }

/* Frecce */
.pcb-hero-slider__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 10;
	width: 44px;
	height: 44px;
	background: rgba(0,0,0,.5);
	color: #fff;
	border: 0;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	display: grid;
	place-items: center;
	transition: background .2s;
}
.pcb-hero-slider__arrow:hover { background: rgba(0,0,0,.85); }
.pcb-hero-slider__arrow--prev { left: 16px; }
.pcb-hero-slider__arrow--next { right: 16px; }

/* Dots */
.pcb-hero-slider__dots {
	position: absolute;
	bottom: 24px;
	left: 0;
	right: 0;
	z-index: 10;
	display: flex;
	justify-content: center;
	gap: 8px;
}
.pcb-hero-slider__dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	border: 1px solid #fff;
	background: transparent;
	padding: 0;
	cursor: pointer;
	transition: background .2s;
}
.pcb-hero-slider__dot.is-active { background: #fff; }

@media (max-width: 600px) {
	.pcb-hero-slider__arrow { width: 36px; height: 36px; font-size: 22px; }
	.pcb-hero__overlay-text-inner { padding: 6px 18px; }
}
