/*
 * Valle del Celone: il disegno del sito, «bosco e pietra».
 * Colori e marchio sono quelli del sito di oggi (rame, verde valle, pietra, ardesia, bosco); cambia l'impianto.
 * Segni propri di questo portale, da non portare sugli altri borghi: curve di livello, lastra di pietra,
 * polaroid col nastro, cartolina con francobollo, timbri, segnavia, mappa illustrata.
 * Titoli Alegreya, testo Alegreya Sans (nel tema). Movimento: solo transform/opacity brevi, spenti con
 * prefers-reduced-motion.
 */

:root {
	--vc-pietra: var(--wp--preset--color--base);
	--vc-pietra-calda: var(--wp--preset--color--stone-warm);
	--vc-calce: var(--wp--preset--color--surface);
	--vc-ardesia: var(--wp--preset--color--contrast);
	--vc-verde: var(--wp--preset--color--primary);
	--vc-bosco: var(--wp--preset--color--forest);
	--vc-muschio: var(--wp--preset--color--moss);
	--vc-rame: var(--wp--preset--color--accent);
	--vc-rame-chiaro: var(--wp--preset--color--accent-light);
	--vc-filetto: var(--wp--preset--color--line);
	--vc-grigio: var(--wp--preset--color--muted);
	--vc-display: var(--wp--preset--font-family--display);
	--vc-ombra: 0 2px 4px rgba(44, 53, 49, .08), 0 14px 28px -16px rgba(44, 53, 49, .45);
	/* curve di livello: chiare su fondo scuro, scure su fondo chiaro */
	--vc-curve-scure: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='300' viewBox='0 0 600 300' fill='none' stroke='%234A5D45' stroke-opacity='.13' stroke-width='1.2'%3E%3Cpath d='M-10 60c80-30 150 10 230-10s160-60 240-40 110 40 150 30'/%3E%3Cpath d='M-10 100c90-34 160 12 240-12s150-58 230-36 110 44 150 32'/%3E%3Cpath d='M-10 140c100-38 170 14 250-14s140-56 220-32 110 48 150 34'/%3E%3Cpath d='M-10 200c70 30 150-6 230 18s170 54 250 30 100-30 130-24'/%3E%3Cpath d='M-10 240c80 32 160-4 240 20s160 50 240 28 100-28 130-22'/%3E%3Cpath d='M-10 280c90 34 170-2 250 22s150 46 230 26 100-26 130-20'/%3E%3C/svg%3E");
	--vc-curve-chiare: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='300' viewBox='0 0 600 300' fill='none' stroke='%23F3F0E8' stroke-opacity='.1' stroke-width='1.2'%3E%3Cpath d='M-10 60c80-30 150 10 230-10s160-60 240-40 110 40 150 30'/%3E%3Cpath d='M-10 100c90-34 160 12 240-12s150-58 230-36 110 44 150 32'/%3E%3Cpath d='M-10 140c100-38 170 14 250-14s140-56 220-32 110 48 150 34'/%3E%3Cpath d='M-10 200c70 30 150-6 230 18s170 54 250 30 100-30 130-24'/%3E%3Cpath d='M-10 240c80 32 160-4 240 20s160 50 240 28 100-28 130-22'/%3E%3Cpath d='M-10 280c90 34 170-2 250 22s150 46 230 26 100-26 130-20'/%3E%3C/svg%3E");
	--vc-onda: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='12' viewBox='0 0 120 12'%3E%3Cpath d='M0 6c20-6 40 6 60 0s40-6 60 0' fill='none' stroke='%23C87941' stroke-width='2'/%3E%3C/svg%3E");
}

body { text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
::selection { background: var(--vc-rame-chiaro); color: var(--vc-calce); }
:focus-visible { outline: 3px solid var(--vc-rame-chiaro); outline-offset: 3px; border-radius: 3px; }
.wp-site-blocks { overflow-x: clip; }
main.vc-main { padding-bottom: var(--wp--preset--spacing--60); }
img { height: auto; }

/* barra «Vendita online in apertura» del plugin (stile in linea: qui va forzato) */
.dh-collaudo-barra { background: var(--vc-ardesia) !important; color: var(--vc-pietra) !important; font-family: var(--wp--preset--font-family--body) !important; font-size: .9rem !important; }

/* ---------- testata ---------- */
.vc-sopra { position: sticky; top: 0; z-index: 50; }
.admin-bar .vc-sopra { top: 32px; }
@media (max-width: 782px) { .admin-bar .vc-sopra { top: 46px; } .vc-sopra { position: relative; } }
.vc-striscia { background: var(--vc-bosco); color: var(--vc-pietra); font-size: .85rem; padding-top: .35rem !important; padding-bottom: .35rem !important; }
.vc-striscia__testo { margin: 0; display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; justify-content: space-between; letter-spacing: .02em; }
.vc-striscia__testo a { color: var(--vc-pietra); text-decoration: none; font-weight: 500; }
.vc-striscia__testo a::before { content: "☎ "; opacity: .7; }
@media (max-width: 700px) { .vc-striscia__luogo { display: none; } }
.vc-testata { position: relative; background: var(--vc-pietra); padding-top: .55rem !important; padding-bottom: .7rem !important; }
.vc-testata::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 12px; background: var(--vc-onda) repeat-x center / 120px 12px; opacity: .55; pointer-events: none; }
.vc-testata__riga { gap: 1.25rem; }
.vc-marchio { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--vc-bosco); flex-shrink: 0; }
.vc-marchio img { width: 56px; height: 56px; display: block; border-radius: 50%; background: var(--vc-calce); box-shadow: 0 0 0 3px var(--vc-calce), 0 0 0 4px var(--vc-filetto); }
.vc-marchio__nome { font-family: var(--vc-display); font-weight: 800; font-size: 1.3rem; line-height: 1; }
.vc-marchio__nome small { display: block; font-family: var(--wp--preset--font-family--body); font-weight: 500; font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--vc-rame); margin-top: .3rem; }
.vc-nav { flex: 1; }
.vc-nav .wp-block-navigation__container { gap: 1.5rem; }
.vc-nav .wp-block-navigation-item__content { color: var(--vc-ardesia); text-decoration: none; text-transform: uppercase; letter-spacing: .1em; font-size: .86rem; font-weight: 700; padding: .4rem 0; border-bottom: 2px dotted transparent; transition: border-color .2s ease, color .2s ease; }
.vc-nav .wp-block-navigation-item__content:hover,
.vc-nav .current-menu-item > .wp-block-navigation-item__content { color: var(--vc-rame); border-bottom-color: var(--vc-rame-chiaro); }
/* il cartellino: un'etichetta col foro, appesa */
.vc-cartellino .wp-block-button__link { position: relative; padding: .6rem 1.2rem .6rem 1.9rem; font-size: .92rem; border-radius: 3px; clip-path: polygon(14px 0, 100% 0, 100% 100%, 14px 100%, 0 50%); }
.vc-cartellino .wp-block-button__link::before { content: ""; position: absolute; left: 12px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--vc-pietra); }
@media (max-width: 600px) { .vc-testata__azione { display: none; } .vc-marchio__nome { font-size: 1.1rem; } }

/* menu a cassetto sul telefono: foglio di pietra da destra */
.vc-nav .wp-block-navigation__responsive-container.is-menu-open { background: rgba(44, 53, 49, .6) !important; left: auto; padding: 0; }
.vc-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	background: var(--vc-pietra) var(--vc-curve-scure); margin-left: auto; width: min(84vw, 360px); min-height: 100vh;
	padding: 5rem 2rem 2rem; align-items: flex-start; box-shadow: -20px 0 40px -20px rgba(0, 0, 0, .4);
}
.vc-nav .is-menu-open .wp-block-navigation__container { gap: 1.1rem; align-items: flex-start; }
.vc-nav .is-menu-open .wp-block-navigation-item__content { font-family: var(--vc-display); font-size: 1.55rem; text-transform: none; letter-spacing: 0; }
.vc-nav .wp-block-navigation__responsive-container-open,
.vc-nav .wp-block-navigation__responsive-container-close { color: var(--vc-bosco); }

/* ---------- elementi comuni ---------- */
.vc-occhiello { font-size: .82rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--vc-rame); display: flex; align-items: center; gap: .6rem; margin-bottom: .4rem; }
.vc-occhiello::before { content: ""; width: 2rem; height: 0; border-top: 2px dashed var(--vc-rame-chiaro); }
.vc-attacco { font-family: var(--vc-display); font-size: clamp(1.3rem, 2.3vw, 1.65rem); line-height: 1.4; color: var(--vc-ardesia); max-width: 48rem; }
.vc-credito { font-size: .75rem; color: var(--vc-grigio); margin-top: .75rem; }
.vc-link-sentiero a { font-weight: 700; text-decoration: none; color: var(--vc-rame); padding-bottom: .2rem; background: var(--vc-onda) repeat-x left bottom / 60px 6px; }
.vc-link-sentiero a::after { content: " ⟶"; display: inline-block; transition: transform .2s ease; }
.vc-link-sentiero a:hover::after { transform: translateX(4px); }
.wp-block-button.is-style-outline > .wp-block-button__link { background: transparent; color: var(--vc-bosco); border: 2px solid var(--vc-bosco); }
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--vc-bosco); color: var(--vc-calce); }
.wp-block-button__link { transition: background-color .2s ease, color .2s ease, transform .2s ease; }
.wp-block-button__link:hover { transform: translateY(-1px); }
.vc-sezione { margin-top: var(--wp--preset--spacing--60) !important; }
.vc-sezione__testa { margin-bottom: 1.75rem; gap: 1rem; }
.vc-sezione__testa h2 { margin: 0; }
/* elenco a sentiero: tappe unite da una traccia tratteggiata */
.vc-sentiero { list-style: none; padding: 0; margin: 1.5rem 0 0; position: relative; }
.vc-sentiero li { position: relative; padding: 0 0 1rem 2rem; }
.vc-sentiero li::before { content: ""; position: absolute; left: 0; top: .35rem; width: .8rem; height: .8rem; border-radius: 50%; background: var(--vc-pietra); border: 2.5px solid var(--vc-verde); }
.vc-sentiero li::after { content: ""; position: absolute; left: .37rem; top: 1.3rem; bottom: -.1rem; border-left: 2px dashed var(--vc-filetto); }
.vc-sentiero li:last-child::after { display: none; }
.vc-sentiero--colonne { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 2rem; }
.vc-sentiero--colonne li::after { display: none; }
.vc-colonne-larghe { gap: clamp(2rem, 5vw, 4rem) !important; }

/* ---------- home: apertura con la lastra ---------- */
.vc-apertura { position: relative; padding: 0 !important; margin-top: 0 !important; }
.vc-apertura__foto { margin: 0; position: relative; }
.vc-apertura__foto img { display: block; width: 100%; height: min(80vh, 760px); min-height: 460px; object-fit: cover; object-position: center 60%; }
.vc-apertura__foto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(44, 53, 49, 0) 45%, rgba(44, 53, 49, .45)); }
.vc-apertura__foto figcaption { position: absolute; right: 1rem; bottom: .75rem; z-index: 1; color: var(--vc-pietra); font-size: .72rem; opacity: .85; }
.vc-lapide {
	position: absolute; left: max(clamp(1rem, 4vw, 2rem), calc((100% - 1200px) / 2)); bottom: clamp(2rem, 6vw, 4rem); z-index: 2;
	width: min(600px, calc(100% - 2rem)); padding: clamp(1.5rem, 4vw, 2.6rem);
	background: var(--vc-pietra-calda) var(--vc-curve-scure); color: var(--vc-ardesia);
	border-radius: 4px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(255, 255, 255, .6), inset 0 0 0 8px var(--vc-pietra-calda), inset 0 0 0 9px rgba(140, 74, 50, .35);
}
.vc-lapide__titolo { font-size: clamp(2.2rem, 5vw, 3.7rem) !important; font-weight: 800; line-height: 1.02; margin: .3rem 0 1rem; color: var(--vc-bosco); }
.vc-lapide__titolo em { font-style: italic; font-weight: 500; color: var(--vc-rame); }
.vc-lapide__testo { font-size: 1.15rem; margin: 0; }
.vc-lapide__azioni { margin-top: 1.5rem; gap: .7rem; }
@media (max-width: 781px) {
	.vc-apertura__foto img { height: 340px; min-height: 0; }
	.vc-lapide { position: relative; left: auto; bottom: auto; width: auto; margin: -4rem 1rem 0; }
}

/* ---------- home: polaroid sul tavolo ---------- */
.vc-hub { margin-top: var(--wp--preset--spacing--60) !important; }
.vc-hub__colonne { gap: clamp(2rem, 5vw, 4.5rem) !important; }
.vc-polaroid-tavolo { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: auto auto; padding: 1rem 0; }
.vc-polaroid { position: relative; display: block; background: var(--vc-calce); padding: 10px 10px 0; box-shadow: var(--vc-ombra); text-decoration: none; color: var(--vc-ardesia); transition: transform .25s ease, box-shadow .25s ease; }
.vc-polaroid img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.vc-polaroid__dida { display: block; padding: .7rem .2rem .9rem; font-family: var(--vc-display); font-style: italic; font-size: 1.25rem; font-weight: 600; text-align: center; line-height: 1.15; }
.vc-polaroid__dida small { display: block; font-family: var(--wp--preset--font-family--body); font-style: normal; font-size: .8rem; font-weight: 500; color: var(--vc-grigio); margin-top: .2rem; }
.vc-polaroid::before { content: ""; position: absolute; top: -12px; left: 50%; width: 84px; height: 24px; margin-left: -42px; background: rgba(200, 121, 65, .55); transform: rotate(-3deg); box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.vc-polaroid--1 { grid-column: 1 / 4; grid-row: 1; transform: rotate(-4deg); z-index: 1; }
.vc-polaroid--2 { grid-column: 4 / 7; grid-row: 1; transform: rotate(3deg) translateY(1.5rem); z-index: 2; }
.vc-polaroid--3 { grid-column: 2 / 6; grid-row: 2; transform: rotate(-1.5deg); margin-top: 3.25rem; z-index: 3; width: 64%; justify-self: center; }
.vc-polaroid:hover, .vc-polaroid:focus-visible { transform: rotate(0) translateY(-6px) scale(1.02); z-index: 5; box-shadow: 0 30px 50px -24px rgba(44, 53, 49, .55); }
@media (max-width: 600px) {
	.vc-polaroid-tavolo { grid-template-columns: 1fr 1fr; gap: 1.25rem .75rem; }
	.vc-polaroid--1, .vc-polaroid--2, .vc-polaroid--3 { grid-column: auto; grid-row: auto; margin: 0; width: auto; }
	.vc-polaroid--3 { grid-column: 1 / 3; width: 70%; }
	.vc-polaroid__dida { font-size: 1.05rem; }
}

/* ---------- home: agenda ---------- */
.vc-agenda__sotto { margin-top: var(--wp--preset--spacing--50) !important; font-size: var(--wp--preset--font-size--x-large) !important; }

/* ---------- fascia bosco e cartolina ---------- */
.vc-fascia-bosco { background: var(--vc-bosco) var(--vc-curve-chiare); margin-top: var(--wp--preset--spacing--60) !important; padding-top: clamp(3rem, 7vw, 5rem); padding-bottom: clamp(3rem, 7vw, 5rem); }
.vc-cartolina { display: grid; grid-template-columns: 1.05fr 1fr; background: var(--vc-calce); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); transform: rotate(-.8deg); padding: 14px; gap: 0; }
.vc-cartolina__fronte { margin: 0; position: relative; }
.vc-cartolina__fronte img { display: block; width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.vc-cartolina__fronte figcaption { position: absolute; left: .6rem; right: .6rem; bottom: .5rem; color: var(--vc-calce); font-size: .7rem; text-shadow: 0 1px 2px rgba(0, 0, 0, .7); }
.vc-cartolina__retro { position: relative; padding: clamp(1.25rem, 3.5vw, 2.4rem); border-left: 2px solid var(--vc-filetto); margin-left: 14px; }
.vc-cartolina__retro h2 { margin-top: .2rem; padding-right: 5rem; }
.vc-francobollo { position: absolute; top: 1rem; right: 1rem; width: 78px; height: 92px; display: grid; place-items: center; background: var(--vc-pietra-calda); transform: rotate(4deg);
	-webkit-mask: radial-gradient(circle 5px at 5px 5px, transparent 98%, #000) -5px -5px / 13px 13px; mask: radial-gradient(circle 5px at 5px 5px, transparent 98%, #000) -5px -5px / 13px 13px; }
.vc-francobollo img { width: 54px; height: 54px; }
.vc-francobollo::after { content: ""; position: absolute; inset: 7px; border: 1px solid rgba(140, 74, 50, .45); }
.vc-righe { list-style: none; padding: 0; margin: 1.25rem 0 1.5rem; }
.vc-righe li { border-bottom: 1px solid var(--vc-filetto); padding: .55rem 0 .35rem; font-family: var(--vc-display); font-style: italic; font-size: 1.12rem; }
@media (max-width: 781px) {
	.vc-cartolina { grid-template-columns: 1fr; transform: none; }
	.vc-cartolina__fronte img { min-height: 220px; aspect-ratio: 4 / 3; }
	.vc-cartolina__retro { border-left: 0; border-top: 2px solid var(--vc-filetto); margin: 14px 0 0; }
}

/* ---------- mappa illustrata ---------- */
.vc-mappa { margin: 1.5rem 0 1rem; display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(220px, 1fr); gap: 1.5rem 2rem; align-items: start; }
.vc-mappa__tela { background: var(--vc-calce); padding: 10px; box-shadow: var(--vc-ombra); border-radius: 4px; }
.vc-mappa svg { display: block; width: 100%; height: auto; border-radius: 2px; }
.vc-mappa__fondo { fill: var(--vc-pietra-calda); }
.vc-mappa__curve path { stroke: var(--vc-muschio); stroke-opacity: .28; stroke-width: 1.4; }
.vc-mappa__collina { fill: var(--vc-verde); fill-opacity: .55; }
.vc-mappa__collina--lontana { fill: var(--vc-muschio); fill-opacity: .3; }
.vc-mappa__bosco path { fill: var(--vc-bosco); }
.vc-mappa__rosa circle { fill: none; stroke: var(--vc-rame); stroke-opacity: .6; stroke-dasharray: 3 4; }
.vc-mappa__rosa path { fill: var(--vc-rame); }
.vc-mappa__rosa text { fill: var(--vc-rame); font: 700 18px var(--vc-display); }
.vc-mappa__pin path { fill: var(--vc-rame); stroke: var(--vc-calce); stroke-width: 3; transition: fill .2s ease; }
.vc-mappa__pin text { fill: var(--vc-calce); font: 700 17px var(--wp--preset--font-family--body); pointer-events: none; }
.vc-mappa__pin:hover path, .vc-mappa__pin:focus path { fill: var(--vc-bosco); }
.vc-mappa__pin:focus { outline: none; }
.vc-mappa__pin:focus-visible path { stroke: var(--vc-ardesia); stroke-width: 4; }
.vc-mappa__legenda ol { list-style: none; counter-reset: luogo; padding: 0; margin: 0; }
.vc-mappa__legenda li { counter-increment: luogo; display: flex; gap: .7rem; align-items: baseline; padding: .45rem 0; border-bottom: 1px dashed var(--vc-filetto); }
.vc-mappa__legenda li::before { content: counter(luogo); flex: 0 0 1.6rem; height: 1.6rem; display: grid; place-items: center; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--vc-rame); color: var(--vc-calce); font-weight: 700; font-size: .82rem; }
.vc-mappa__legenda a { color: var(--vc-ardesia); text-decoration: none; font-weight: 500; }
.vc-mappa__legenda a:hover { color: var(--vc-rame); }
.vc-mappa__nota { font-size: .78rem; color: var(--vc-grigio); margin-top: .9rem; }
@media (max-width: 781px) { .vc-mappa { grid-template-columns: 1fr; } }

/* ---------- pagine ---------- */
.vc-testa { position: relative; background: var(--vc-pietra-calda) var(--vc-curve-scure); padding-top: clamp(2.5rem, 6vw, 4.5rem); padding-bottom: clamp(1.75rem, 4vw, 2.75rem); margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.vc-testa::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 12px; background: var(--vc-onda) repeat-x center / 120px 12px; opacity: .6; }
.vc-testa__titolo { font-size: clamp(2.3rem, 5.5vw, 3.9rem) !important; font-weight: 800; margin: 0; color: var(--vc-bosco); }
.vc-testa__sommario { font-family: var(--vc-display); font-size: 1.3rem; color: var(--vc-ardesia); max-width: 44rem; margin-top: .9rem; }
.vc-timbri { margin-top: 2rem !important; }
.vc-timbri .wp-block-column { text-align: center; padding: 0 .5rem; }
.vc-timbro { width: 4.4rem; height: 4.4rem; margin: 0 auto .8rem !important; display: grid; place-items: center; border-radius: 50%; font-family: var(--vc-display); font-size: 1.9rem; font-weight: 800; color: var(--vc-rame);
	border: 2px solid var(--vc-rame); box-shadow: inset 0 0 0 4px var(--vc-pietra), inset 0 0 0 5.5px var(--vc-rame-chiaro); transform: rotate(-8deg); }
.vc-timbri .wp-block-column:nth-child(2) .vc-timbro { transform: rotate(6deg); }
.vc-dotazioni { background: var(--vc-calce); padding: clamp(1.5rem, 4vw, 2.5rem) !important; border-radius: 4px; }
.vc-scheda-pietra { background: var(--vc-pietra-calda); padding: clamp(1.5rem, 4vw, 2.5rem) !important; border-left: 6px solid var(--vc-verde); }
/* segnavia: cartelli del sentiero */
.vc-segnavia { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.5rem 0 0; }
.vc-segnavia a { position: relative; padding: .5rem 1.6rem .5rem 1rem; background: var(--vc-bosco); color: var(--vc-pietra); text-decoration: none; font-weight: 700; font-size: .92rem; clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%); transition: background-color .2s ease; }
.vc-segnavia a:hover { background: var(--vc-rame); }
.vc-contatti__voce a { font-family: var(--vc-display); font-size: clamp(1.3rem, 3vw, 1.75rem); color: var(--vc-rame); text-decoration: none; font-weight: 700; }

/* ---------- PNRR e piede ---------- */
.vc-pnrr { background: var(--vc-calce); padding-top: 2.5rem; padding-bottom: 2.5rem; text-align: center; border-top: 1px solid var(--vc-filetto); }
.vc-pnrr__loghi { width: 100%; max-width: 760px; height: auto; display: block; margin: 0 auto 1.25rem; }
.vc-pnrr__testo { font-size: .85rem; line-height: 1.6; color: var(--vc-grigio); }
.vc-pnrr__codici { font-size: .88rem; font-weight: 700; letter-spacing: .04em; color: var(--vc-ardesia); }
.vc-piede { background: var(--vc-bosco) var(--vc-curve-chiare); color: #dfe3d8; padding-top: clamp(3rem, 6vw, 4.5rem); padding-bottom: 1.5rem; font-size: 1rem; }
.vc-piede a { color: var(--vc-pietra); text-decoration: none; }
.vc-piede a:hover { color: var(--vc-rame-chiaro); }
.vc-piede__colonne { gap: 3rem !important; }
.vc-piede__marchio img { width: 112px; height: 112px; display: block; margin-bottom: 1rem; border-radius: 50%; background: var(--vc-calce); box-shadow: 0 0 0 5px rgba(243, 240, 232, .15); }
.vc-piede__titolo { font-family: var(--wp--preset--font-family--body) !important; font-size: .8rem !important; letter-spacing: .2em; text-transform: uppercase; color: var(--vc-rame-chiaro) !important; font-weight: 700 !important; margin-bottom: 1rem; }
.vc-piede__menu { list-style: none; padding: 0; }
.vc-piede__menu li { margin-bottom: .45rem; }

/* ======================================================================
 * Componenti del plugin gaw-hub-valledelcelone, alla maniera di Valle del Celone
 * ====================================================================== */

/* griglia e schede: polaroid col nastro, appena storte */
body .dh-griglia { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 2.4rem 1.75rem; margin: 0; padding-top: .75rem; }
body .dh-card { position: relative; background: var(--vc-calce); color: var(--vc-ardesia); border: 0; border-radius: 2px; padding: 11px 11px 0; box-shadow: var(--vc-ombra); overflow: visible; transform: rotate(-.9deg); transition: transform .25s ease, box-shadow .25s ease; }
body .dh-card:nth-child(2n) { transform: rotate(.8deg); }
body .dh-card:nth-child(3n) { transform: rotate(-.3deg); }
body .dh-card::before { content: ""; position: absolute; z-index: 2; top: -11px; left: 50%; width: 76px; height: 22px; margin-left: -38px; background: rgba(200, 121, 65, .5); transform: rotate(2deg); }
body .dh-card:hover { transform: rotate(0) translateY(-4px); box-shadow: 0 26px 44px -24px rgba(44, 53, 49, .55); }
body .dh-card-img { background: var(--vc-pietra-calda); border-radius: 0; aspect-ratio: 4 / 3; }
body .dh-card-img img { filter: saturate(.92) contrast(1.03); }
body .dh-card-c { padding: 1rem .5rem 1.1rem; }
body .dh-card-c .dh-quando { color: var(--vc-verde); font-size: .8rem; font-weight: 700; letter-spacing: .08em; margin-bottom: .45rem; }
body .dh-card-c h3 { color: var(--vc-bosco); font-family: var(--vc-display); font-size: 1.42rem; font-weight: 700; line-height: 1.18; }
body .dh-card-c p { color: var(--vc-grigio); font-size: 1rem; }
body .dh-card .dh-etichetta { background: var(--vc-pietra-calda); color: var(--vc-rame); border: 0; border-radius: 2px; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 9px; }
body .dh-card-piede { border-top: 1px solid var(--vc-filetto); margin-top: .9rem; padding-top: .85rem; }
body .dh-prezzo { font-family: var(--vc-display); font-style: italic; font-size: 1.45rem; font-weight: 700; color: var(--vc-rame); }
body .dh-posti { color: var(--vc-grigio); font-size: .85rem; }
body .dh-btn, body .dh-card .dh-btn, body button.dh-btn, body .dh-prenota button.dh-btn {
	background: var(--vc-bosco) !important; color: var(--vc-calce) !important; border: 0 !important; border-radius: 3px; padding: .68rem 1.1rem; font-size: .92rem; font-weight: 700;
	transition: background-color .2s ease;
}
body .dh-btn:hover { background: var(--vc-rame) !important; }
body .dh-btn[disabled] { background: #9aa39c !important; }
body .dh-vuoto { background: var(--vc-calce); border: 2px dashed var(--vc-filetto); border-radius: 4px; padding: 1.5rem; font-family: var(--vc-display); font-size: 1.2rem; }

/* scheda della singola attivita' */
body .dh-scheda-img { background: var(--vc-calce); padding: 12px 12px 0; box-shadow: var(--vc-ombra); transform: rotate(-.6deg); margin: 0 0 1rem; }
body .dh-scheda-img img { border-radius: 0; max-height: 520px; box-shadow: none; display: block; width: 100%; object-fit: cover; }
body .dh-scheda-img .dh-credito { padding: .55rem 0 .7rem; margin: 0; }
body .dh-credito { font-size: .76rem; color: var(--vc-grigio); }
body .dh-scheda-info { background: var(--vc-pietra-calda); border: 0; border-left: 5px solid var(--vc-verde); border-radius: 0 4px 4px 0; padding: 1.1rem 1.3rem; gap: 1rem 2rem; margin: 1.75rem 0 2rem; }
body .dh-scheda-info strong { color: var(--vc-rame); font-size: .74rem; letter-spacing: .14em; font-weight: 700; margin-bottom: .2rem; }
body .dh-scheda-info div { font-size: 1.05rem; }

/* prenotazione: una cartolina, col francobollo e il timbro postale */
body .dh-prenota {
	position: relative; margin: 2.5rem 0; padding: clamp(1.4rem, 4vw, 2.4rem); padding-right: clamp(1.4rem, 4vw, 7.5rem);
	background: var(--vc-calce) repeating-linear-gradient(180deg, transparent 0 2.3rem, rgba(217, 209, 194, .45) 2.3rem calc(2.3rem + 1px));
	border: 1px solid var(--vc-filetto); border-radius: 3px; box-shadow: var(--vc-ombra);
}
body .dh-prenota::before { content: ""; position: absolute; top: 1.1rem; right: 1.1rem; width: 70px; height: 84px; background: var(--vc-pietra-calda) url("../img/valle-del-celone-logo-120.png") center / 50px no-repeat; transform: rotate(4deg);
	-webkit-mask: radial-gradient(circle 4.5px at 4.5px 4.5px, transparent 98%, #000) -4.5px -4.5px / 12px 12px; mask: radial-gradient(circle 4.5px at 4.5px 4.5px, transparent 98%, #000) -4.5px -4.5px / 12px 12px; }
body .dh-prenota::after { content: "CASTELLUCCIO V."; position: absolute; top: 4.4rem; right: 3.3rem; width: 74px; height: 74px; display: grid; place-items: center; border-radius: 50%; border: 2px solid rgba(140, 74, 50, .5); color: rgba(140, 74, 50, .6); font: 700 .55rem/1 var(--wp--preset--font-family--body); letter-spacing: .08em; text-align: center; transform: rotate(-14deg); pointer-events: none; }
body .dh-prenota h2 { font-family: var(--vc-display); font-size: 1.9rem; color: var(--vc-bosco); margin: 0 0 1rem; }
body .dh-prenota label { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--vc-grigio); }
body .dh-prenota input[type=date], body .dh-prenota input[type=number] { border: 0; border-bottom: 2px dashed var(--vc-muschio); border-radius: 0; background: transparent; padding: .55rem .2rem; font: 1.15rem var(--vc-display); color: var(--vc-ardesia); max-width: 300px; }
body .dh-prenota input:focus { outline: none; border-bottom-color: var(--vc-rame); border-bottom-style: solid; }
body .dh-fasce { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); max-width: 640px; gap: .65rem; }
body .dh-fascia { position: relative; padding: .85rem 1rem; border: 2px dashed var(--vc-filetto); border-radius: 4px; background: var(--vc-calce); transition: border-color .2s ease, background-color .2s ease; }
body .dh-fascia input { position: absolute; opacity: 0; pointer-events: none; }
body .dh-fascia span { font-weight: 400; font-size: .85rem; color: var(--vc-grigio); }
body .dh-fascia small { margin: .35rem 0 0; font-family: var(--vc-display); font-style: italic; font-size: 1.1rem; color: var(--vc-rame); }
body .dh-fascia:has(input:checked) { border-style: solid; border-color: var(--vc-verde); background: #e6efe7; }
body .dh-fascia:has(input:focus-visible) { outline: 3px solid var(--vc-rame-chiaro); outline-offset: 2px; }
body .dh-fascia.pieno { opacity: .45; }
body .dh-nota { color: var(--vc-grigio); font-size: .9rem; }
body .dh-anteprima { border-radius: 4px !important; font-size: .95rem !important; }
@media (max-width: 600px) { body .dh-prenota { padding-top: 6.5rem; } body .dh-prenota::after { top: 1.3rem; right: auto; left: 1.2rem; } }

/* fasce orarie: il plugin mette display:block e maiuscole su tutte le label del modulo */
body .dh-prenota .dh-fascia { display: flex; flex-direction: column; align-items: flex-start; text-transform: none; letter-spacing: 0; font-size: 1.02rem; font-weight: 700; color: var(--vc-ardesia); margin: 0; }
body .dh-prenota .dh-fascia span, body .dh-prenota .dh-fascia small { display: block; }

/* luoghi: numerati come sulla mappa, foto a polaroid */
body .dh-luoghi { max-width: none; padding: 0; margin: 0; gap: clamp(2.25rem, 5vw, 3.5rem); counter-reset: luogo; }
body .dh-luogo { counter-increment: luogo; gap: clamp(1.25rem, 4vw, 3rem); align-items: center; }
body .dh-luogo:nth-child(even) > div:first-child { order: 2; }
body .dh-luogo > div:first-child { background: var(--vc-calce); padding: 10px 10px 0; box-shadow: var(--vc-ombra); transform: rotate(-1deg); }
body .dh-luogo:nth-child(even) > div:first-child { transform: rotate(1deg); }
body .dh-luogo img { border-radius: 0; aspect-ratio: 4 / 3; box-shadow: none; display: block; width: 100%; object-fit: cover; }
body .dh-luogo .dh-credito { padding: .5rem 0 .6rem; margin: 0; }
body .dh-luogo h3 { font-family: var(--vc-display); font-size: clamp(1.55rem, 3vw, 2rem); color: var(--vc-bosco); display: flex; gap: .7rem; align-items: center; }
body .dh-luogo h3::before { content: counter(luogo); flex: 0 0 2rem; height: 2rem; display: grid; place-items: center; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--vc-rame); color: var(--vc-calce); font: 700 .95rem var(--wp--preset--font-family--body); }
body .dh-luogo h3 a { color: inherit; text-decoration: none; }
body .dh-luogo h3 a:hover { color: var(--vc-rame); }
@media (max-width: 760px) { body .dh-luogo:nth-child(even) > div:first-child { order: 0; } }

/* pagamento a blocchi di WooCommerce: stessi caratteri e bottoni */
.wc-block-checkout, .wc-block-components-order-summary { font-family: var(--wp--preset--font-family--body); }
.wc-block-components-checkout-place-order-button { background: var(--vc-rame) !important; color: var(--vc-calce) !important; border: 0 !important; border-radius: 3px !important; }
.wc-block-components-checkout-place-order-button:hover { background: var(--vc-bosco) !important; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; }
	.vc-polaroid:hover, body .dh-card:hover, .wp-block-button__link:hover { transform: none; }
}
.vc-mappa__senza::before { background: var(--vc-muschio) !important; }
.vc-sezione > .vc-attacco { margin-left: 0 !important; }
/* luoghi senza foto: niente cornice vuota, il testo prende tutta la riga */
body .dh-luogo > div:first-child:not(:has(img)) { display: none; }
body .dh-luogo:not(:has(img)) { grid-template-columns: 1fr; }
body .dh-luogo:not(:has(img)) > div:last-child { border-left: 5px solid var(--vc-verde); background: var(--vc-pietra-calda); padding: 1.25rem 1.5rem; }
.vc-contenuto > .vc-attacco { margin-left: 0 !important; }
body .dh-btn, body button.dh-btn, .wc-block-components-button { font-family: var(--wp--preset--font-family--body) !important; }
/* numeri della legenda e dei luoghi: cerchi dritti, leggibili */
.vc-mappa__legenda li::before, body .dh-luogo h3::before { border-radius: 50% !important; transform: none !important; }
