/* ============================================================
   Far Overland — CSS dei 4 blocchi Gutenberg custom (inc/blocks.php).
   Condiviso tra frontend (article.css) ed editor (editor.css): il markup
   di questi blocchi è renderizzato server-side, identico nei due contesti
   → uno stile solo, mai due copie che possono divergere.
   ============================================================ */

:root {
	--carta: #FAF6F0;
	--sabbia: #F0E7D8;
	--terracotta: #C05C33;
	--ocra: #D9A441;
	--caramello: #8A5A3B;
	--inchiostro: #2B2320;
	--notte: #241D18;
}

/* ---------- Blocco: citazione a mano ---------- */

.fo-pullquote {
	position: relative;
	margin: 48px 0;
	padding: 12px 32px;
	transform: rotate(-1.2deg);
}
.fo-pullquote blockquote {
	font-family: 'Caveat', cursive;
	font-weight: 500;
	font-size: clamp(26px, 3vw, 34px);
	line-height: 1.35;
	color: var(--inchiostro);
	border: none;
	text-decoration: underline wavy rgba(192, 92, 51, 0.5);
	text-decoration-thickness: 2px;
	text-underline-offset: 8px;
}
.fo-pullquote::before {
	content: '\201C';
	position: absolute;
	top: -28px;
	left: -8px;
	font-family: 'DM Serif Display', serif;
	font-size: 90px;
	line-height: 1;
	color: var(--ocra);
	opacity: 0.6;
}

/* ---------- Blocco: foto polaroid ---------- */

.fo-polaroid {
	display: flex;
	justify-content: center;
	margin: 48px 0;
}
.fo-polaroid-frame {
	position: relative;
	background: #fff;
	padding: 12px 12px 14px;
	border-radius: 4px;
	box-shadow: 0 18px 45px -20px rgba(43, 35, 32, 0.35);
	max-width: 480px;
}
.fo-polaroid--left .fo-polaroid-frame  { transform: rotate(-1.2deg); }
.fo-polaroid--right .fo-polaroid-frame { transform: rotate(1.4deg); }
.fo-polaroid-img {
	width: 100%;
	height: auto;
	border-radius: 2px;
	display: block;
}
.fo-polaroid-tape {
	position: absolute;
	top: -14px;
	left: 50%;
	width: 84px;
	height: 30px;
	transform: translateX(-50%) rotate(-4deg);
	background: rgba(217, 164, 65, 0.55);
	border: 1px solid rgba(217, 164, 65, 0.3);
	box-shadow: 0 2px 6px rgba(43, 35, 32, 0.15);
	z-index: 2;
}
.fo-polaroid-caption {
	font-family: 'Caveat', cursive;
	font-size: 20px;
	color: var(--inchiostro);
	text-align: center;
	padding-top: 10px;
}

/* ---------- Blocco: coppia di foto ---------- */

.fo-duo { margin: 48px 0; }
.fo-duo-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}
.fo-duo-grid img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 8px;
	aspect-ratio: 4 / 5;
}
.fo-duo-caption {
	font-family: 'Caveat', cursive;
	font-size: 19px;
	color: var(--caramello);
	text-align: center;
	margin-top: 10px;
}

/* ---------- Blocco: i numeri del viaggio ---------- */

.fo-numbers {
	display: flex;
	justify-content: center;
	gap: 48px;
	flex-wrap: wrap;
	background: var(--carta);
	border-radius: 12px;
	padding: 32px 24px;
	margin: 48px 0;
}
.fo-numbers-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
}
.fo-numbers-value {
	font-family: 'Nunito', sans-serif;
	font-weight: 800;
	font-size: 36px;
	color: var(--terracotta);
	line-height: 1;
}
.fo-numbers-label {
	font-family: 'Caveat', cursive;
	font-size: 20px;
	color: var(--caramello);
}
