/* Travel Passport - stili oltre theme.json */

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}
body { -webkit-font-smoothing: antialiased; }
.wp-site-blocks > * { margin-block-start: 0; }
:where(a, button, input, select, textarea):focus-visible { outline: 2px solid var(--wp--preset--color--sand); outline-offset: 3px; }

/* Eyebrow label */
.is-style-eyebrow {
	font-family: var(--wp--preset--font-family--sans) !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	letter-spacing: .22em;
	line-height: 1.2 !important;
	text-transform: uppercase;
	color: var(--wp--preset--color--bronze);
	margin-bottom: 18px !important;
}
.has-charcoal-background-color .is-style-eyebrow,
.has-umber-background-color .is-style-eyebrow,
.has-ink-background-color .is-style-eyebrow,
.wp-block-cover .is-style-eyebrow { color: var(--wp--preset--color--sand); }

/* Buttons */
.wp-block-button.is-style-ghost-light .wp-block-button__link {
	background: transparent; color: #fff; border-color: rgba(255,255,255,.85);
}
.wp-block-button.is-style-ghost-light .wp-block-button__link:hover { background: #fff; color: var(--wp--preset--color--ink); border-color: #fff; }
.wp-block-button.is-style-dark .wp-block-button__link {
	background: var(--wp--preset--color--charcoal); color: #fff; border-color: var(--wp--preset--color--charcoal);
}
.wp-block-button.is-style-dark .wp-block-button__link:hover { background: var(--wp--preset--color--ink); border-color: var(--wp--preset--color--ink); color: #fff; }
.wp-block-button__link { transition: background .25s, color .25s, border-color .25s; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; }

/* Header */
.tp-header { position: relative; z-index: 20; }
.tp-header--overlay { position: absolute; left: 0; right: 0; top: 0; }
.admin-bar .tp-header--overlay { top: 32px; }
@media (max-width: 782px) { .admin-bar .tp-header--overlay { top: 46px; } }
.tp-header .tp-logo img { height: 120px !important; width: auto !important; } /* 26/11/2026: logo nuovo (aereo rosso), piu grande: era 88 */
.tp-header .wp-block-navigation a { padding: 10px 0; border-bottom: 1px solid transparent; text-decoration: none; }
.tp-header .wp-block-navigation a:hover { border-color: var(--wp--preset--color--sand); color: inherit; }
.tp-header .wp-block-navigation__responsive-container.is-menu-open {
	background: var(--wp--preset--color--ink) !important; color: #fff !important; padding: 32px;
}
.tp-header .wp-block-navigation__responsive-container.is-menu-open a { font-size: 18px; }
@media (max-width: 640px) { .tp-header .tp-logo img { height: 84px !important; } } /* era 64 */

/* Hero */
.tp-hero { min-height: 100svh !important; align-items: flex-end !important; }
.tp-hero { background: #141311 url(../img/home-poster.webp) center / cover no-repeat; } /* 26/11/2026: fotogramma del video (secondo 2) visibile finche' il video non parte */
.admin-bar .tp-hero { min-height: calc(100svh - 32px) !important; }
@media (max-width: 782px) { .admin-bar .tp-hero { min-height: calc(100svh - 46px) !important; } }
.tp-hero-legal { margin-top: clamp(40px, 8vh, 80px) !important; font-size: 12px; letter-spacing: .04em; color: rgba(255,255,255,.62); }
.tp-hero-legal a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.3); }
.tp-hero-legal a:hover { color: #fff; }
.tp-hero .wp-block-cover__inner-container { padding-bottom: 28px; }
.tp-hero h1 { max-width: 16ch; text-shadow: 0 2px 24px rgba(0,0,0,.25); }
.tp-hero h1 em { font-style: italic; color: var(--wp--preset--color--sand); white-space: nowrap; }
.tp-hero .tp-lead { max-width: 46ch; color: #EDE6DA; }
.tp-hero .wp-block-cover__background { background: linear-gradient(180deg, rgba(20,19,17,.55) 0%, rgba(20,19,17,.2) 30%, rgba(20,19,17,.55) 60%, rgba(20,19,17,.82) 100%) !important; opacity: 1 !important; }
@media (max-width: 640px) { .tp-hero .wp-block-buttons > .wp-block-button { width: 100%; } .tp-hero .wp-block-button__link { width: 100%; } }

/* Page hero (inner pages) */
.tp-page-hero { min-height: 62vh !important; align-items: flex-end !important; }
.tp-page-hero .wp-block-cover__inner-container { padding-bottom: clamp(40px, 7vh, 80px); padding-top: 140px; }

/* Section head */
.tp-section-head { align-items: flex-end !important; }
.tp-section-head > p { max-width: 42ch; color: var(--wp--preset--color--muted); margin: 0; }
.has-charcoal-background-color .tp-section-head > p { color: var(--wp--preset--color--mist); }

/* Intro services list */
.tp-services { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.tp-services li { padding: 12px 0; border-top: 1px solid var(--wp--preset--color--line); font-size: 15px; }
@media (max-width: 640px) { .tp-services { grid-template-columns: 1fr; } }

/* Destination cards (cover blocks with a stretched link) */
.tp-dest-grid { display: grid !important; grid-template-columns: 1.35fr 1fr; gap: 18px; }
.tp-dest-grid > .tp-dest:first-child { grid-row: span 2; min-height: 700px !important; }
.tp-dest { position: relative; overflow: hidden; min-height: 340px !important; align-items: flex-end !important; margin: 0 !important; }
.tp-dest img.wp-block-cover__image-background { transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.tp-dest:hover img.wp-block-cover__image-background { transform: scale(1.04); }
.tp-dest .wp-block-cover__background { background: linear-gradient(180deg, rgba(0,0,0,0) 25%, rgba(15,14,12,.55) 55%, rgba(15,14,12,.88) 100%) !important; opacity: 1 !important; }
.tp-dest .wp-block-cover__inner-container { width: 100%; }
.tp-dest h3 { font-size: clamp(34px, 3.6vw, 52px); font-weight: 400; margin: 0; }
.tp-dest h3 a { text-decoration: none; color: #fff; }
.tp-dest h3 a::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.tp-dest p { margin: 8px 0 0; font-size: 15px; color: #E9E1D2; max-width: 44ch; }
.tp-more { font-size: 11px !important; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--wp--preset--color--sand) !important; margin-top: 16px !important; }
@media (max-width: 1000px) {
	.tp-dest-grid { grid-template-columns: 1fr; }
	.tp-dest-grid > .tp-dest:first-child { grid-row: auto; min-height: 460px !important; }
}

/* Journey cards */
.tp-cards { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 32px); }
.tp-card { position: relative; margin: 0 !important; }
.tp-card .wp-block-image { margin: 0 0 22px; aspect-ratio: 4 / 5; overflow: hidden; background: var(--wp--preset--color--umber); }
.tp-card .wp-block-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.tp-card:hover .wp-block-image img { transform: scale(1.04); }
.tp-card .tp-meta { font-size: 11px !important; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--wp--preset--color--sand); margin: 0 0 10px !important; }
.tp-card h3 { margin: 0; }
.tp-card h3 a { text-decoration: none; }
.tp-card h3 a::after { content: ""; position: absolute; inset: 0; }
.tp-card p:not(.tp-meta) { font-size: 15px; margin-top: 10px; }
.has-charcoal-background-color .tp-card h3 a { color: #fff; }
.has-charcoal-background-color .tp-card p:not(.tp-meta) { color: var(--wp--preset--color--mist); }
@media (max-width: 1000px) { .tp-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .tp-cards { grid-template-columns: 1fr; } }

/* Experience list */
.tp-exp-list { border-top: 1px solid var(--wp--preset--color--line); }
.tp-exp { position: relative; display: grid !important; grid-template-columns: 90px 1fr 1.2fr 160px; gap: 24px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--wp--preset--color--line); margin: 0 !important; }
.tp-exp .tp-n { font-family: var(--wp--preset--font-family--serif); font-size: 15px; color: var(--wp--preset--color--bronze); margin: 0; }
.tp-exp h3 { font-size: clamp(24px, 2.4vw, 32px); margin: 0; }
.tp-exp h3 a { text-decoration: none; }
.tp-exp h3 a::after { content: ""; position: absolute; inset: 0; }
.tp-exp:hover h3 a { color: var(--wp--preset--color--bronze); }
.tp-exp > p:not(.tp-n) { margin: 0; color: var(--wp--preset--color--muted); font-size: 15px; }
.tp-exp .wp-block-image { margin: 0; }
.tp-exp .wp-block-image img { width: 160px; height: 100px; object-fit: cover; }
@media (max-width: 1000px) {
	.tp-exp { grid-template-columns: 60px 1fr 120px; row-gap: 6px; }
	.tp-exp .tp-n { grid-row: 1 / 3; }
	.tp-exp h3 { grid-column: 2; grid-row: 1; }
	.tp-exp > p:not(.tp-n) { grid-column: 2; grid-row: 2; }
	.tp-exp .wp-block-image { grid-column: 3; grid-row: 1 / 3; }
	.tp-exp .wp-block-image img { width: 120px; height: 80px; }
}
@media (max-width: 640px) {
	.tp-exp { grid-template-columns: 44px 1fr; }
	.tp-exp .wp-block-image { display: none; }
}

/* Steps */
.tp-steps { counter-reset: tpstep; }
.tp-step { border-top: 1px solid var(--wp--preset--color--ink); padding-top: 22px; }
.tp-step::before { counter-increment: tpstep; content: "0" counter(tpstep); font-family: var(--wp--preset--font-family--serif); font-size: 15px; color: var(--wp--preset--color--bronze); display: block; margin-bottom: 18px; }
.tp-step h3 { font-size: 28px; margin: 0 0 12px; }
.tp-step p { color: var(--wp--preset--color--muted); font-size: 16px; }

/* Footer */
.tp-footer h4 { font-family: var(--wp--preset--font-family--sans); font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--wp--preset--color--sand); margin: 0 0 18px; }
.tp-footer a { text-decoration: none; }
.tp-footer a:hover { color: #fff; }
.tp-footer ul { list-style: none; padding: 0; margin: 0; line-height: 2; }
.tp-footer .tp-legal { border-top: 1px solid #3A3833; padding-top: 24px; font-size: 13px; color: #8F887C; }
.tp-footer .wp-block-site-logo img { height: 54px; width: auto; }

/* Inner page content */
.tp-entry-title { margin-top: 0; }

/* ---------- Explore: solo destinazioni (23/11/2026) ---------- */
.tp-explore-main { padding-top: 0 !important; padding-bottom: 0 !important; }
.tp-explore { min-height: 100svh; display: flex; flex-direction: column; padding: 150px 0 22px; }
.admin-bar .tp-explore { min-height: calc(100svh - 32px); }
.tp-explore-head { display: flex !important; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.tp-explore-head h1 { font-size: clamp(40px, 5vw, 68px) !important; color: #fff; margin: 0; }
.tp-explore-head > p { max-width: 40ch; color: var(--wp--preset--color--mist); margin: 0; }
.tp-dest-grid3 { flex: 1; display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 16px; min-height: 420px; margin: 0 !important; }
.tp-dest3 { position: relative; overflow: hidden; min-height: 360px !important; align-items: flex-end !important; margin: 0 !important; padding: clamp(20px, 2.6vw, 34px) !important; }
.tp-dest3 img.wp-block-cover__image-background { transition: transform 1.4s cubic-bezier(.2,.7,.2,1); }
.tp-dest3:hover img.wp-block-cover__image-background { transform: scale(1.05); }
.tp-dest3 .wp-block-cover__background { background: linear-gradient(180deg, rgba(0,0,0,0) 25%, rgba(15,14,12,.6) 55%, rgba(15,14,12,.92) 100%) !important; opacity: 1 !important; }
.tp-dest3 .wp-block-cover__inner-container { width: 100%; }
.tp-dest3 h2 { font-size: clamp(34px, 3.4vw, 50px); font-weight: 400; margin: 0; }
.tp-dest3 h2 a { color: #fff; text-decoration: none; }
.tp-dest3 h2 a::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.tp-dest3 p { margin: 8px 0 0; font-size: 15px; color: #E9E1D2; }
.tp-explore .tp-hero-legal { margin-top: 20px !important; }
@media (max-width: 900px) { .tp-dest-grid3 { grid-template-columns: 1fr; } .tp-dest3 { min-height: 300px !important; } }

/* ---------- Pagina destinazione (Svizzera) ---------- */
.tp-d-hero { min-height: 100svh !important; align-items: flex-end !important; padding: 160px 0 36px !important; }
.admin-bar .tp-d-hero { min-height: calc(100svh - 32px) !important; }
.tp-d-hero .wp-block-cover__background { background: linear-gradient(90deg, rgba(20,19,17,.82) 0%, rgba(20,19,17,.55) 38%, rgba(20,19,17,.1) 70%), linear-gradient(180deg, rgba(20,19,17,.45) 0%, rgba(20,19,17,0) 30%, rgba(20,19,17,.5) 100%) !important; opacity: 1 !important; }
.tp-d-hero .wp-block-cover__inner-container { width: 100%; }
.tp-d-grid { display: grid !important; grid-template-columns: minmax(260px, 420px) 1fr; gap: 40px; align-items: end; }
.tp-d-grid .tp-hero-legal { grid-column: 1 / -1; margin: 8px 0 0 !important; }
.tp-themes { list-style: none; margin: 0; padding: 0; counter-reset: tpt; }
.tp-themes li { border-top: 1px solid rgba(255,255,255,.18); margin: 0; }
.tp-themes li:last-child { border-bottom: 1px solid rgba(255,255,255,.18); }
.tp-themes a { display: flex; align-items: baseline; gap: 16px; padding: 10px 0; text-decoration: none; font: 400 clamp(22px, 2.1vw, 30px)/1.15 var(--wp--preset--font-family--serif); color: #fff; transition: color .25s, padding-left .25s; }
.tp-themes a::before { counter-increment: tpt; content: "0" counter(tpt); font: 700 11px/1 var(--wp--preset--font-family--sans); letter-spacing: .14em; color: var(--wp--preset--color--sand); min-width: 22px; }
.tp-themes a:hover { color: var(--wp--preset--color--sand); padding-left: 6px; }
.tp-d-title { text-align: right; }
.tp-d-title h1 { font-size: clamp(56px, 9vw, 132px) !important; line-height: 1; margin: 0; }
.tp-d-title > p:not(.is-style-eyebrow) { color: #EDE6DA; max-width: 38ch; margin: 16px 0 0 auto; }
@media (max-width: 900px) {
	.tp-d-grid { grid-template-columns: 1fr; gap: 26px; }
	.tp-d-title { text-align: left; order: -1; }
	.tp-d-title > p:not(.is-style-eyebrow) { margin-left: 0; }
	.tp-d-hero .wp-block-cover__background { background: linear-gradient(180deg, rgba(20,19,17,.5) 0%, rgba(20,19,17,.35) 30%, rgba(20,19,17,.88) 100%) !important; }
}

.tp-d-cols { gap: clamp(28px, 4vw, 64px) !important; margin: 0 !important; }
.tp-side-col { position: sticky; top: 24px; align-self: flex-start !important; }
.admin-bar .tp-side-col { top: 56px; }
.tp-side { padding: clamp(48px, 7vw, 90px) 0; }
.tp-side-list { list-style: none; margin: 0; padding: 0; counter-reset: tps; }
.tp-side-list li { margin: 0; }
.tp-side-list a { display: flex; gap: 12px; padding: 9px 0; border-top: 1px solid var(--wp--preset--color--line); text-decoration: none; font-size: 15px; line-height: 1.3; color: var(--wp--preset--color--muted); }
.tp-side-list a::before { counter-increment: tps; content: "0" counter(tps); font: 700 10px/1.9 var(--wp--preset--font-family--sans); letter-spacing: .12em; color: var(--wp--preset--color--bronze); }
.tp-side-list a:hover, .tp-side-list a.on { color: var(--wp--preset--color--ink); }
.tp-side-list a.on { font-weight: 700; }
.tp-back { margin-top: 22px !important; }
.tp-back a { font: 700 11px/1 var(--wp--preset--font-family--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--wp--preset--color--bronze); text-decoration: none; }
@media (max-width: 900px) { .tp-side-col { display: none; } }

.tp-theme { padding: clamp(48px, 7vw, 90px) 0; border-bottom: 1px solid var(--wp--preset--color--line); scroll-margin-top: 10px; }
.tp-theme:last-child { border-bottom: 0; }
.tp-theme-head { margin-bottom: 30px; max-width: 62ch; }
.tp-theme-head h2 { font-size: clamp(34px, 4.2vw, 54px); margin: 0; }
.tp-theme-head > p:not(.is-style-eyebrow) { color: var(--wp--preset--color--muted); margin-top: 14px; }
.tp-sub { font: 700 12px/1.2 var(--wp--preset--font-family--sans) !important; letter-spacing: .2em; text-transform: uppercase; margin: 42px 0 18px !important; padding-top: 22px; border-top: 1px solid var(--wp--preset--color--line); }

.tp-cards3 { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 26px); }
.tp-cards3 > * { margin: 0 !important; }
.tp-c { background: var(--wp--preset--color--paper); border: 1px solid var(--wp--preset--color--line); display: flex !important; flex-direction: column; }
.tp-c .wp-block-image { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--wp--preset--color--umber); }
.tp-c .wp-block-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.tp-c:hover .wp-block-image img { transform: scale(1.04); }
.tp-c-body { padding: 18px 20px 22px; display: flex !important; flex-direction: column; flex: 1; }
.tp-c-body > * { margin: 0; }
.tp-c .tp-meta { font: 700 11px/1.3 var(--wp--preset--font-family--sans) !important; letter-spacing: .16em; text-transform: uppercase; color: var(--wp--preset--color--bronze); margin: 0 0 8px !important; }
.tp-c h3 { font-size: 26px; }
.tp-c-body > p:not(.tp-meta):not(.tp-stay):not(.tp-more-link) { font-size: 15px; color: var(--wp--preset--color--muted); margin-top: 8px; }
.tp-stay { font-size: 13px; margin-top: 12px !important; padding-top: 10px; border-top: 1px solid var(--wp--preset--color--line); }
.tp-stay span { font: 700 10px/1 var(--wp--preset--font-family--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--wp--preset--color--bronze); margin-right: 6px; }
.tp-more-link { margin-top: auto !important; padding-top: 14px; }
.tp-more-link a { font: 700 11px/1 var(--wp--preset--font-family--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--wp--preset--color--bronze); text-decoration: none; }
.tp-c-noimg { background: var(--wp--preset--color--charcoal); border-color: var(--wp--preset--color--charcoal); }
.tp-c-noimg .tp-c-body { padding: 26px 22px; justify-content: flex-end; min-height: 220px; }
.tp-c-noimg h3 { color: #fff; }
.tp-c-noimg .tp-c-body > p:not(.tp-meta):not(.tp-stay):not(.tp-more-link) { color: var(--wp--preset--color--mist); }
.tp-c-noimg .tp-meta, .tp-c-noimg .tp-more-link a { color: var(--wp--preset--color--sand); }
.tp-c-noimg .tp-stay { color: #E9E1D2; border-color: rgba(255,255,255,.15); }
@media (max-width: 1100px) { .tp-cards3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .tp-cards3 { grid-template-columns: 1fr; } }

.tp-list2 { list-style: none; margin: 18px 0 0; padding: 0; columns: 2; column-gap: 40px; }
.tp-list2 li { break-inside: avoid; padding: 12px 0; border-top: 1px solid var(--wp--preset--color--line); font-size: 15px; color: var(--wp--preset--color--muted); margin: 0; }
.tp-list2 strong { display: block; font: 500 21px/1.2 var(--wp--preset--font-family--serif); color: var(--wp--preset--color--ink); margin-bottom: 2px; }
@media (max-width: 640px) { .tp-list2 { columns: 1; } }

.tp-map { display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; align-items: start; background: var(--wp--preset--color--paper); border: 1px solid var(--wp--preset--color--line); padding: clamp(18px, 2.4vw, 30px); }
.tp-map svg { width: 100%; height: auto; display: block; }
.tp-map-note { font-size: 12px; color: var(--wp--preset--color--muted); margin-top: 10px; }
.tp-legend { list-style: none; margin: 0; padding: 0; }
.tp-legend li { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-top: 1px solid var(--wp--preset--color--line); font-size: 15px; }
.tp-legend i { width: 28px; height: 4px; flex: none; border-radius: 2px; }
@media (max-width: 900px) { .tp-map { grid-template-columns: 1fr; } }

.tp-pass { display: grid !important; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); background: var(--wp--preset--color--charcoal); color: #F1ECE3; padding: clamp(24px, 3.4vw, 44px); }
.tp-pass > * { margin: 0 !important; }
.tp-pass h3 { font-size: clamp(30px, 3vw, 40px); color: #fff; margin: 0; }
.tp-pass-text p { color: var(--wp--preset--color--mist); font-size: 16px; }
.tp-pass-list { list-style: none; margin: 0; padding: 0; }
.tp-pass-list li { padding: 11px 0; border-top: 1px solid rgba(255,255,255,.14); font-size: 15px; margin: 0; }
.tp-pass a { color: var(--wp--preset--color--sand); }
.tp-pass-src { grid-column: 1 / -1; font-size: 12px; color: #8F887C; }
@media (max-width: 900px) { .tp-pass { grid-template-columns: 1fr; } }

.tp-foot-slim { color: #8F887C; font-size: 13px; }
.tp-foot-slim p { margin: 0; }
.tp-foot-slim a { text-decoration: none; border-bottom: 1px solid #3A3833; }

/* ---------- Pagine di dettaglio (Destination detail) e schede cliccabili ---------- */
.tp-detail-main, .tp-detail-main > .wp-block-post-content { padding: 0 !important; margin: 0 !important; }
.tp-detail-main > .wp-block-post-content > * { margin-block-start: 0; }
.tp-d-hero--detail .tp-d-title h1 { font-size: clamp(46px, 7vw, 104px) !important; }
.tp-crumb-back { margin: 14px 0 0 !important; }
.tp-crumb-back a { font: 700 11px/1 var(--wp--preset--font-family--sans); letter-spacing: .18em; text-transform: uppercase; color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.4); padding-bottom: 3px; }
.tp-prose { max-width: 70ch; }
.tp-prose p { margin: 0 0 1.1em; }
.tp-gallery { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tp-gallery > * { margin: 0 !important; }
.tp-gallery .wp-block-image { aspect-ratio: 4 / 3; overflow: hidden; background: var(--wp--preset--color--umber); }
.tp-gallery .wp-block-image img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) { .tp-gallery { grid-template-columns: 1fr 1fr; } }
.tp-c-link { position: relative; cursor: pointer; }
.tp-c-link h3 a { color: inherit; text-decoration: none; }
.tp-c-link h3 a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.tp-c-link:hover h3 { color: var(--wp--preset--color--bronze); }
.tp-c-link.tp-c-noimg:hover h3 { color: var(--wp--preset--color--sand); }
.tp-c-link .tp-more-link { font: 700 11px/1 var(--wp--preset--font-family--sans) !important; letter-spacing: .18em; text-transform: uppercase; color: var(--wp--preset--color--bronze); }
.tp-c-noimg.tp-c-link .tp-more-link { color: var(--wp--preset--color--sand); }
.tp-side-list a.on { color: var(--wp--preset--color--ink); font-weight: 700; }

/* ---------- Piantine delle piste e fonti (23/11/2026) ---------- */
.tp-map-link { position: relative; z-index: 3; margin-top: 10px !important; }
.tp-map-link a { display: inline-block; font: 700 11px/1 var(--wp--preset--font-family--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--wp--preset--color--ink); text-decoration: none; border: 1px solid var(--wp--preset--color--line); padding: 9px 12px; background: var(--wp--preset--color--ivory); }
.tp-map-link a:hover { border-color: var(--wp--preset--color--bronze); color: var(--wp--preset--color--bronze); }
.tp-c-noimg .tp-map-link a { color: #fff; background: transparent; border-color: rgba(255,255,255,.3); }
.tp-pmap { background: var(--wp--preset--color--paper); border: 1px solid var(--wp--preset--color--line); padding: clamp(18px, 2.4vw, 30px); max-width: 70ch; }
.tp-pmap > p:first-child { color: var(--wp--preset--color--muted); margin: 0 0 16px; }
.tp-pmap-src { font-size: 12px; color: var(--wp--preset--color--muted); margin: 14px 0 0 !important; }
.tp-src-row { font-size: 13px; color: var(--wp--preset--color--muted); margin-top: 30px !important; }
.tp-src-row a { color: var(--wp--preset--color--bronze); }
.tp-map-link + .tp-map-link { margin-top: 6px !important; }

/* Piste maps (23/11/2026): the image replaces the link */
.tp-pmap-thumb { margin: 14px 0 0 !important; border: 1px solid var(--wp--preset--color--line); background: #fff; }
.tp-c-noimg .tp-pmap-thumb { border-color: rgba(255,255,255,.25); }
.tp-pmap-thumb img, .tp-pmap-fig img { display: block; width: 100%; height: auto; }
.tp-pmap-fig { margin: 0; background: #fff; border: 1px solid var(--wp--preset--color--line); }
.tp-pmap-fig figcaption { font-size: 12px; color: var(--wp--preset--color--muted, #6b665c); padding: 12px 16px; margin: 0; border-top: 1px solid var(--wp--preset--color--line); }
.tp-c .wp-block-image.tp-pmap-thumb { aspect-ratio: auto; overflow: visible; background: #fff; }
.tp-c .tp-pmap-thumb img, .tp-c:hover .tp-pmap-thumb img { height: auto; object-fit: contain; transform: none; }

/* Section titles (23/11/2026): elegant coloured band */
.tp-sub { display: flex; align-items: center; gap: 16px; background: var(--wp--preset--color--umber); color: #F3ECDF !important; font: 600 clamp(17px, 1.6vw, 21px)/1.3 var(--wp--preset--font-family--serif) !important; letter-spacing: .12em; text-transform: uppercase; margin: 52px 0 22px !important; padding: 18px clamp(18px, 2.4vw, 28px) !important; border: 0; border-left: 3px solid var(--wp--preset--color--sand); box-shadow: inset 0 0 0 1px rgba(193,170,127,.22); }
.tp-sub::before { content: ""; flex: none; width: 28px; height: 1px; background: var(--wp--preset--color--sand); }

/* Editorial cards (23/11/2026, proposal A chosen by the client) */
.tp-eds { display: grid !important; gap: clamp(44px, 6vw, 96px); margin: 8px 0 12px; }
.tp-eds > * { margin: 0 !important; }
.tp-ed { display: grid !important; grid-template-columns: 7fr 5fr; align-items: center; }
.tp-ed > * { margin: 0 !important; }
.tp-ed-rev { grid-template-columns: 5fr 7fr; }
.tp-ed-rev .tp-ed-img { order: 2; }
.tp-ed-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--wp--preset--color--umber); }
.tp-ed-img a { display: block; height: 100%; }
.tp-ed-img img { width: 100%; height: 100% !important; object-fit: cover; transition: transform 1.4s cubic-bezier(.2,.7,.2,1); }
.tp-ed:hover .tp-ed-img img { transform: scale(1.04); }
.tp-ed-txt { position: relative; z-index: 2; background: var(--wp--preset--color--paper, #FFFDF9); color: var(--wp--preset--color--ink); padding: clamp(26px, 3.4vw, 50px); margin-left: -14% !important; box-shadow: 0 30px 60px -30px rgba(31,30,28,.35); border-top: 2px solid var(--wp--preset--color--sand); }
.tp-ed-rev .tp-ed-txt { margin-left: 0 !important; margin-right: -14% !important; }
.tp-ed-txt > * { margin-top: 0 !important; margin-bottom: 0 !important; }
.tp-ed-num { font: 400 clamp(44px, 4.6vw, 64px)/1 var(--wp--preset--font-family--serif) !important; color: var(--wp--preset--color--sand); margin-bottom: 10px !important; }
.tp-ed .tp-meta { font: 700 11px/1.3 var(--wp--preset--font-family--sans) !important; letter-spacing: .2em; text-transform: uppercase; color: var(--wp--preset--color--bronze); margin-bottom: 10px !important; }
.tp-ed h3 { font: 500 clamp(28px, 3vw, 42px)/1.05 var(--wp--preset--font-family--serif) !important; margin-bottom: 14px !important; }
.tp-ed h3 a { color: inherit; text-decoration: none; }
.tp-ed h3 a:hover { color: var(--wp--preset--color--bronze); }
.tp-ed-txt > p:not(.tp-ed-num):not(.tp-meta):not(.tp-ed-disc):not(.tp-map-link) { color: var(--wp--preset--color--muted); font-size: 17px; }
.tp-ed-disc { margin-top: 20px !important; }
.tp-ed-disc a { display: inline-flex; gap: 10px; align-items: center; font: 700 11px/1 var(--wp--preset--font-family--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--wp--preset--color--bronze); text-decoration: none; }
.tp-ed-disc a span { transition: transform .4s; }
.tp-ed-disc a:hover span { transform: translateX(5px); }
.tp-ed .tp-map-link { margin-top: 14px !important; }
.tp-ed-noimg { grid-template-columns: 1fr; }
.tp-ed-noimg .tp-ed-txt { margin: 0 !important; max-width: 760px; background: var(--wp--preset--color--umber); color: #F3ECDF; }
.tp-ed-noimg h3, .tp-ed-noimg h3 a { color: #fff; }
.tp-ed-noimg .tp-meta, .tp-ed-noimg .tp-ed-disc a { color: var(--wp--preset--color--sand); }
.tp-ed-noimg .tp-ed-txt > p:not(.tp-ed-num):not(.tp-meta):not(.tp-ed-disc):not(.tp-map-link) { color: rgba(255,255,255,.8); }
.tp-ed-noimg .tp-map-link a { color: #fff; background: transparent; border-color: rgba(255,255,255,.3); }
@media (max-width: 900px) {
  .tp-ed, .tp-ed-rev { grid-template-columns: 1fr; }
  .tp-ed-rev .tp-ed-img { order: 0; }
  .tp-ed-txt, .tp-ed-rev .tp-ed-txt { margin: -40px 14px 0 !important; }
  .tp-ed-noimg .tp-ed-txt { margin: 0 !important; }
}
@media (prefers-reduced-motion: reduce) { .tp-ed-img img { transition: none; } .tp-ed:hover .tp-ed-img img { transform: none; } }

/* Cards without a photo (23/11/2026): same structure, a panel with the title instead of the photo */
.tp-ed-ph { display: flex !important; align-items: center; justify-content: center; text-align: center; position: relative; background: radial-gradient(120% 90% at 30% 20%, #4a463f 0%, var(--wp--preset--color--umber) 55%, #2a2925 100%); }
.tp-ed-ph::before { content: ""; position: absolute; inset: 18px; border: 1px solid rgba(193,170,127,.45); pointer-events: none; }
.tp-ed-ph-title { position: relative; margin: 0 !important; padding: 0 12%; font: italic 400 clamp(30px, 3.6vw, 52px)/1.05 var(--wp--preset--font-family--serif) !important; }
.tp-ed-ph-title a { color: #F3ECDF; text-decoration: none; }
.tp-ed-ph-title::after { content: ""; display: block; width: 40px; height: 1px; background: var(--wp--preset--color--sand); margin: 18px auto 0; }

/* All cards identical (23/11/2026): same photo and text panel size on every card */
.tp-ed-img { aspect-ratio: 6 / 5; }
.tp-ed-txt { height: 400px; display: flex !important; flex-direction: column; padding: 34px 40px 32px !important; overflow: hidden; }
.tp-ed-num { font-size: 48px !important; margin-bottom: 8px !important; }
.tp-ed h3 { font-size: clamp(26px, 2.5vw, 36px) !important; margin-bottom: 12px !important; }
.tp-ed-txt > p:not(.tp-ed-num):not(.tp-meta):not(.tp-ed-disc) { font-size: 16px; line-height: 1.55; }
.tp-ed-disc { margin-top: auto !important; padding-top: 16px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.tp-ed-disc a.tp-ed-web { font: 700 11px/1 var(--wp--preset--font-family--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--wp--preset--color--ink); border: 1px solid var(--wp--preset--color--line); padding: 9px 12px; background: var(--wp--preset--color--ivory); }
.tp-ed-disc a.tp-ed-web:hover { border-color: var(--wp--preset--color--bronze); color: var(--wp--preset--color--bronze); }
@media (max-width: 900px) { .tp-ed-txt { height: auto; overflow: visible; } }
/* Below 1200px: photo on top and the text panel overlapping it, the same on every card */
@media (max-width: 1199px) {
  .tp-ed, .tp-ed-rev { grid-template-columns: 1fr; }
  .tp-ed-rev .tp-ed-img { order: 0; }
  .tp-ed-txt, .tp-ed-rev .tp-ed-txt { margin: -56px 24px 0 !important; height: auto; min-height: 300px; overflow: visible; }
}
@media (max-width: 640px) { .tp-ed-txt, .tp-ed-rev .tp-ed-txt { min-height: 420px; margin: -48px 14px 0 !important; } }

/* Footer with all the company data (23/11/2026) */
.tp-footer p { margin: 0 0 18px !important; line-height: 1.75; }
.tp-footer strong { color: #E9E1D2; font-weight: 700; }
.tp-footer .tp-foot-cols { margin: 0 !important; }
.tp-footer .tp-legal { margin: 56px 0 0 !important; line-height: 1.7; }
.tp-footer .tp-legal a { border-bottom: 1px solid #3A3833; }
@media (max-width: 781px) { .tp-footer .tp-foot-cols { gap: 34px !important; } }

/* Footer pages: About us, Contact us, Travel Guarantee Fund (23/11/2026) */
.tp-ticks { list-style: none; padding: 0 !important; margin: 8px 0 0 !important; max-width: 70ch; }
.tp-ticks li { position: relative; padding: 14px 0 14px 34px; border-bottom: 1px solid var(--wp--preset--color--line); font-size: 18px; }
.tp-ticks li::before { content: ""; position: absolute; left: 0; top: 26px; width: 18px; height: 1px; background: var(--wp--preset--color--sand); }
.tp-offices { display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.tp-offices > * { margin: 0 !important; }
.tp-office { background: var(--wp--preset--color--paper, #FFFDF9); border-top: 2px solid var(--wp--preset--color--sand); padding: 22px 22px 8px; box-shadow: 0 20px 40px -30px rgba(31,30,28,.35); }
.tp-office h3 { font: 700 11px/1.3 var(--wp--preset--font-family--sans) !important; letter-spacing: .18em; text-transform: uppercase; color: var(--wp--preset--color--bronze); margin: 0 0 12px !important; }
.tp-office p { margin: 0 0 14px !important; color: var(--wp--preset--color--muted); line-height: 1.7; }
.tp-office a { color: var(--wp--preset--color--ink); text-decoration: none; border-bottom: 1px solid var(--wp--preset--color--line); }
.tp-cta-row { margin-top: 34px !important; }
.tp-fund-logo { margin: 10px 0 0 !important; background: #fff; border: 1px solid var(--wp--preset--color--line); padding: clamp(20px, 4vw, 44px); max-width: 760px; }
.tp-fund-logo img { display: block; width: 100%; height: auto; }
.tp-form { background: var(--wp--preset--color--paper, #FFFDF9); border-top: 2px solid var(--wp--preset--color--sand); padding: clamp(22px, 3vw, 40px); max-width: 820px; box-shadow: 0 30px 60px -30px rgba(31,30,28,.35); }
.tp-form .forminator-ui.forminator-custom-form .forminator-label { font: 700 11px/1.3 var(--wp--preset--font-family--sans) !important; letter-spacing: .16em; text-transform: uppercase; color: var(--wp--preset--color--bronze) !important; }
.tp-form .forminator-ui.forminator-custom-form .forminator-input, .tp-form .forminator-ui.forminator-custom-form .forminator-textarea { border: 1px solid var(--wp--preset--color--line) !important; border-radius: 0 !important; background: #fff !important; font-family: var(--wp--preset--font-family--sans) !important; font-size: 16px !important; }
.tp-form .forminator-ui.forminator-custom-form .forminator-button-submit { background: var(--wp--preset--color--charcoal) !important; color: #fff !important; border-radius: 0 !important; font: 700 12px/1 var(--wp--preset--font-family--sans) !important; letter-spacing: .18em; text-transform: uppercase; padding: 17px 26px !important; }
.tp-form-missing { color: var(--wp--preset--color--muted); margin: 0 !important; }
@media (max-width: 1100px) { .tp-offices { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .tp-offices { grid-template-columns: 1fr; } }
.tp-offices { grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .tp-offices { grid-template-columns: 1fr; } }
/* Card titles slightly smaller so that long names fit (23/11/2026, Italy) */
.tp-ed h3 { font-size: clamp(24px, 2.2vw, 32px) !important; }
@media (max-width: 640px) { .tp-ed-txt, .tp-ed-rev .tp-ed-txt { min-height: 440px; } }

/* Explore: "Where to stay" band below the destinations (23/11/2026) */
.tp-stays { padding: 10px 0 90px; }
.tp-stays .tp-sub { margin-top: 0 !important; }
.tp-stay-grid { display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tp-stay-grid > * { margin: 0 !important; }
.tp-staytile { min-height: 330px !important; position: relative; display: flex !important; align-items: flex-end !important; padding: clamp(20px, 2.6vw, 30px) !important; color: #fff; }
.tp-staytile h3 { font: 500 clamp(28px, 2.4vw, 36px)/1.05 var(--wp--preset--font-family--serif) !important; margin: 0 0 8px !important; }
.tp-staytile h3 a { color: #fff; text-decoration: none; }
.tp-staytile h3 a::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.tp-staytile p { font-size: 15px; color: #E9E1D2; margin: 0 !important; }
.tp-stay-ph { background: radial-gradient(120% 90% at 30% 20%, #4a463f 0%, var(--wp--preset--color--umber) 55%, #2a2925 100%); }
.tp-stay-ph::before { content: ""; position: absolute; inset: 16px; border: 1px solid rgba(193,170,127,.45); pointer-events: none; }
@media (max-width: 1000px) { .tp-stay-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .tp-stay-grid { grid-template-columns: 1fr; } .tp-staytile { min-height: 260px !important; } }
.tp-stay-ph { flex-direction: column !important; justify-content: flex-end; align-items: flex-start !important; } .tp-stay-ph > * { position: relative; width: 100%; }

/* Wine & food: pagina dell'esperienza (23/11/2026), stessa grafica del prototipo (prototipo/assets/tp.css, .wf-*) */
.tp-wf-open h2 { font-size: clamp(34px, 3.6vw, 52px); margin: 0 0 20px !important; }
.tp-wf-code { display: inline-flex; align-items: center; gap: 12px; margin: 0 !important; padding: 9px 16px; border: 1px solid var(--wp--preset--color--sand); font: 700 12px/1 var(--wp--preset--font-family--sans) !important; letter-spacing: .18em; color: var(--wp--preset--color--bronze); }
.tp-wf-code span { font-weight: 400; color: var(--wp--preset--color--muted); text-transform: uppercase; }
.tp-wf-intro { max-width: 70ch; margin: 34px 0 0 !important; }
.tp-wf-intro p { margin: 0 0 1em; }
.tp-wf-lead { font: 400 clamp(21px, 1.9vw, 25px)/1.45 var(--wp--preset--font-family--serif) !important; margin-bottom: .9em !important; }
.tp-wf-list { list-style: none; padding: 0 !important; margin: 0 0 1.2em !important; }
.tp-wf-list li { position: relative; padding: 0 0 0 22px; margin: 0 0 .45em; }
.tp-wf-list li::before { content: ""; position: absolute; left: 0; top: .8em; width: 12px; height: 1px; background: var(--wp--preset--color--sand); }
.tp-wf-facts { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; margin: 46px 0 40px !important; background: var(--wp--preset--color--umber); color: #EFE7DA; border-top: 3px solid var(--wp--preset--color--sand); }
.tp-wf-facts > * { margin: 0 !important; }
.tp-wf-fact { padding: clamp(22px, 2.6vw, 32px); }
.tp-wf-fact + .tp-wf-fact { border-left: 1px solid rgba(193,170,127,.25); }
.tp-wf-label { font: 700 11px/1.2 var(--wp--preset--font-family--sans) !important; letter-spacing: .22em; text-transform: uppercase; color: var(--wp--preset--color--sand); margin: 0 0 14px !important; }
.tp-wf-fact p:not(.tp-wf-label) { font: 400 19px/1.4 var(--wp--preset--font-family--serif) !important; margin: 0 !important; }
.tp-wf-items { list-style: none; margin: 0 !important; padding: 0 !important; font-size: 15px; line-height: 1.5; }
.tp-wf-fact .tp-wf-items li { padding: 9px 0; border-top: 1px solid rgba(193,170,127,.18); }
.tp-wf-fact .tp-wf-items li:first-child { border-top: 0; padding-top: 0; }
.tp-wf-info { display: grid !important; grid-template-columns: 1fr 1fr; gap: 16px; margin: 40px 0 0 !important; }
.tp-wf-info > * { margin: 0 !important; }
.tp-wf-box { background: var(--wp--preset--color--paper); border: 1px solid var(--wp--preset--color--line); padding: clamp(22px, 2.6vw, 30px); }
.tp-wf-box .tp-wf-label { color: var(--wp--preset--color--bronze); }
.tp-wf-box .tp-wf-items { line-height: 1.55; }
.tp-wf-box .tp-wf-items li { position: relative; padding: 10px 0 10px 22px; border-top: 1px solid var(--wp--preset--color--line); }
.tp-wf-box .tp-wf-items li:first-child { border-top: 0; padding-top: 0; }
.tp-wf-box .tp-wf-items li::before { content: ""; position: absolute; left: 0; top: calc(10px + .78em); width: 10px; height: 1px; background: var(--wp--preset--color--sand); }
.tp-wf-box .tp-wf-items li:first-child::before { top: .78em; }
@media (max-width: 900px) { .tp-wf-info { grid-template-columns: 1fr; } .tp-wf-fact + .tp-wf-fact { border-left: 0; border-top: 1px solid rgba(193,170,127,.25); } }
/* indice delle regioni del Wine & food */
.tp-regions { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 34px 0 8px !important; }
.tp-regions > * { margin: 0 !important; }
.tp-region { min-height: 220px !important; }
.tp-region h3 { font: 500 clamp(26px, 2.2vw, 32px)/1.05 var(--wp--preset--font-family--serif) !important; margin: 0 0 4px !important; }
.tp-region p { margin: 0 !important; font-size: 13px; letter-spacing: .06em; }
.tp-sub[id] { scroll-margin-top: 24px; }
@media (max-width: 1000px) { .tp-regions { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .tp-regions { grid-template-columns: 1fr; } .tp-region { min-height: 180px !important; } }
/* Wine & food: foto accanto al testo come nella vecchia pagina, a righe alterne (23/11/2026) */
.tp-wf-intro-grid { display: grid !important; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; margin-top: 34px !important; }
.tp-wf-intro-grid > * { margin: 0 !important; }
.tp-wf-side, .tp-wf-ph { position: relative; overflow: hidden; background: var(--wp--preset--color--umber); }
.tp-wf-side { aspect-ratio: 1 / 1; }
.tp-wf-ph { aspect-ratio: 4 / 3; }
.tp-wf-side .wp-block-image, .tp-wf-ph .wp-block-image, .tp-wf-strip .wp-block-image { margin: 0 !important; height: 100%; }
.tp-wf-side img, .tp-wf-ph img, .tp-wf-strip img { width: 100%; height: 100% !important; object-fit: cover; display: block; }
.tp-wf-side::after, .tp-wf-ph::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(255,255,255,.55); pointer-events: none; }
.tp-wf-story { margin: 8px 0 0 !important; }
.tp-wf-row { display: grid !important; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center; margin: 56px 0 !important; }
.tp-wf-row > * { margin: 0 !important; }
.tp-wf-rev .tp-wf-ph { order: 2; }
.tp-wf-txt { position: relative; padding-top: 22px; font-size: 17px; }
.tp-wf-txt::before { content: ""; position: absolute; top: 0; left: 0; width: 44px; height: 2px; background: var(--wp--preset--color--sand); }
.tp-wf-txt p { margin: 0 0 1em; }
.tp-wf-txt p:last-child { margin-bottom: 0; }
.tp-wf-plain { max-width: 70ch; margin: 40px 0 !important; }
.tp-wf-plain p { margin: 0 0 1.1em; }
.tp-wf-strip { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin: 48px 0 0 !important; }
.tp-wf-strip > * { margin: 0 !important; aspect-ratio: 3 / 2; overflow: hidden; background: var(--wp--preset--color--umber); }
.tp-wf-info-ph { gap: clamp(20px, 3vw, 40px) !important; align-items: stretch; }
.tp-wf-info-ph .tp-wf-ph { aspect-ratio: auto; min-height: 360px; }
.tp-wf-boxes { display: grid !important; gap: 16px; align-content: start; }
.tp-wf-boxes > * { margin: 0 !important; }
@media (max-width: 900px) { .tp-wf-intro-grid, .tp-wf-row { grid-template-columns: 1fr; gap: 22px; } .tp-wf-rev .tp-wf-ph { order: 0; } .tp-wf-row { margin: 40px 0 !important; } .tp-wf-side { aspect-ratio: 4 / 3; } .tp-wf-info-ph .tp-wf-ph { min-height: 0; aspect-ratio: 4 / 3; } }
/* Wine & food uguale alla vecchia pagina (24/11/2026): tre colonne con foto quadrata, righe foto 2/3 + testo 1/3, niente galleria */
.tp-wf-text { max-width: 70ch; margin: 34px 0 0 !important; }
.tp-wf-text p { margin: 0 0 1em; }
.tp-wf-text .tp-wf-label, .tp-wf-txt .tp-wf-label { color: var(--wp--preset--color--bronze); margin: 1.6em 0 .7em !important; }
.tp-wf-text .tp-wf-label:first-child, .tp-wf-txt .tp-wf-label:first-child { margin-top: 0 !important; }
.tp-wf-txt .tp-wf-list li::before { top: .8em; }
.tp-wf-cols { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; margin: 46px 0 !important; background: var(--wp--preset--color--umber); border-top: 3px solid var(--wp--preset--color--sand); }
.tp-wf-cols > * { margin: 0 !important; }
.tp-wf-col { background: var(--wp--preset--color--umber); color: #EFE7DA; display: flex !important; flex-direction: column; }
.tp-wf-col > * { margin: 0 !important; }
.tp-wf-sq { aspect-ratio: 1 / 1; overflow: hidden; background: #2a2925; }
.tp-wf-sq .wp-block-image { margin: 0 !important; height: 100%; }
.tp-wf-sq img { width: 100%; height: 100% !important; object-fit: cover; display: block; }
.tp-wf-col-txt { padding: clamp(20px, 2.4vw, 30px); }
.tp-wf-col-txt p { margin: 0 0 .6em; font: 400 18px/1.4 var(--wp--preset--font-family--serif); }
.tp-wf-col-txt .tp-wf-label { font: 700 11px/1.2 var(--wp--preset--font-family--sans) !important; letter-spacing: .22em; margin: 0 0 14px !important; color: var(--wp--preset--color--sand); }
.tp-wf-col-txt .tp-wf-list { font-size: 15px; line-height: 1.5; }
.tp-wf-col-txt .tp-wf-list li { padding: 9px 0; margin: 0; border-top: 1px solid rgba(193,170,127,.18); }
.tp-wf-col-txt .tp-wf-list li::before { display: none; }
.tp-wf-col-txt .tp-wf-list li:first-child { border-top: 0; padding-top: 0; }
.tp-wf-row2 { display: grid !important; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: clamp(26px, 3.6vw, 48px); align-items: center; margin: 56px 0 !important; }
.tp-wf-row2 > * { margin: 0 !important; }
.tp-wf-row2.tp-wf-left { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.tp-wf-row2.tp-wf-left .tp-wf-ph { order: 2; }
.tp-wf-row2 .tp-wf-ph { aspect-ratio: 16 / 10; }
.tp-wf-row2 .tp-wf-txt { font-size: 16px; }
@media (max-width: 900px) { .tp-wf-cols { grid-template-columns: 1fr; } .tp-wf-sq { aspect-ratio: 4 / 3; } .tp-wf-row2, .tp-wf-row2.tp-wf-left { grid-template-columns: 1fr; gap: 22px; margin: 40px 0 !important; } .tp-wf-row2.tp-wf-left .tp-wf-ph { order: 0; } }
/* Bottone "Hotels Booking Online" (link a myfirst.travel) nell'intestazione, solo in home come nel vecchio sito (24/11/2026) */
.tp-booking { margin-left: auto !important; }
body:not(.home) .tp-booking { display: none !important; }
.tp-booking-btn .wp-block-button__link { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 24px !important; background: var(--wp--preset--color--sand) !important; color: var(--wp--preset--color--ink) !important; border: 1px solid var(--wp--preset--color--sand); border-radius: 0; font: 700 12px/1 var(--wp--preset--font-family--sans) !important; letter-spacing: .18em; text-transform: uppercase; }
.tp-booking-btn .wp-block-button__link::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--wp--preset--color--ink); animation: tp-pulse 1.8s ease-in-out infinite; }
.tp-booking-btn .wp-block-button__link:hover { background: #d3bf97 !important; border-color: #d3bf97; }
@keyframes tp-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.7); } }
@media (max-width: 640px) { .tp-booking-btn .wp-block-button__link { min-height: 44px; padding: 0 12px !important; font-size: 10.5px !important; letter-spacing: .06em; gap: 8px; white-space: nowrap; } }
@media (prefers-reduced-motion: reduce) { .tp-booking-btn .wp-block-button__link::before { animation: none; } }

/* Where to stay (24/11/2026): banner unico in Explore (composizione di 4 foto), stessa grafica del prototipo */
.tp-stay-banner { position: relative; min-height: 520px; overflow: hidden; background: var(--wp--preset--color--umber); color: #fff; display: flex !important; align-items: stretch; }
.tp-sb-collage { position: absolute !important; inset: 0; display: grid !important; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 6px; margin: 0 !important; }
.tp-sb-collage > * { margin: 0 !important; overflow: hidden; background: #2a2925; }
.tp-sb-collage img { width: 100%; height: 100% !important; object-fit: cover; transition: transform 1.6s cubic-bezier(.2,.7,.2,1); }
.tp-sb-c1 { grid-row: 1 / 3; }
.tp-sb-c2 { grid-column: 2; grid-row: 1; }
.tp-sb-c3 { grid-column: 2; grid-row: 2; }
.tp-sb-c4 { grid-column: 3; grid-row: 1 / 3; }
.tp-stay-banner:hover .tp-sb-collage img { transform: scale(1.05); }
.tp-stay-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,14,12,.86) 0%, rgba(15,14,12,.55) 38%, rgba(15,14,12,.05) 70%); pointer-events: none; }
.tp-sb-cap { position: relative; z-index: 2; max-width: 520px; padding: clamp(28px, 4vw, 56px); display: flex !important; flex-direction: column; justify-content: flex-end; margin: 0 !important; }
.tp-sb-cap::before { content: ""; position: absolute; inset: clamp(14px, 1.6vw, 22px); border: 1px solid rgba(193,170,127,.55); pointer-events: none; }
.tp-sb-cap h2 { font: 400 clamp(34px, 3.6vw, 52px)/1.06 var(--wp--preset--font-family--serif) !important; margin: 0 0 16px !important; color: #fff; }
.tp-sb-cap h2 a { color: #fff; text-decoration: none; }
.tp-sb-cap h2 a::after { content: ""; position: absolute; inset: -100vh -100vw; z-index: 3; }
.tp-stay-banner { isolation: isolate; }
.tp-sb-cap p:not(.is-style-eyebrow):not(.tp-more) { color: #E9E1D2; margin: 0 0 22px !important; max-width: 38ch; }
@media (max-width: 760px) { .tp-stay-banner { min-height: 460px; } .tp-sb-collage { grid-template-columns: 1fr 1fr; } .tp-sb-c1 { grid-row: 1; grid-column: 1; } .tp-sb-c2 { grid-column: 2; grid-row: 1; } .tp-sb-c3 { grid-column: 1; grid-row: 2; } .tp-sb-c4 { grid-column: 2; grid-row: 2; } .tp-stay-banner::after { background: linear-gradient(180deg, rgba(15,14,12,.1) 0%, rgba(15,14,12,.6) 45%, rgba(15,14,12,.92) 100%); } }
@media (prefers-reduced-motion: reduce) { .tp-sb-collage img { transition: none; } .tp-stay-banner:hover .tp-sb-collage img { transform: none; } }

/* Where to stay: pagina con 8 foto in movimento e la lista dei grandi nomi */
.tp-wts-hero { position: relative; min-height: min(100svh, 880px); display: flex !important; align-items: flex-end; overflow: hidden; background: var(--wp--preset--color--charcoal); color: #fff; margin: 0 !important; }
.tp-slides { position: absolute !important; inset: 0; z-index: 0; margin: 0 !important; } /* 26/11/2026: livello unico, le foto che sfumano (z-index 1-3) non coprono piu' riquadro e titoli */
.tp-slides > .wp-block-image { position: absolute; inset: 0; margin: 0 !important; opacity: 0; animation: tp-wts-fade 24s ease-in-out infinite; }
.tp-slides > .wp-block-image img { width: 100%; height: 100% !important; object-fit: cover; animation: tp-wts-zoom 24s infinite; }
.tp-slide-0, .tp-slide-0 img { animation-delay: -0.4s !important; } .tp-slide-1, .tp-slide-1 img { animation-delay: 2.6s !important; } .tp-slide-2, .tp-slide-2 img { animation-delay: 5.6s !important; } .tp-slide-3, .tp-slide-3 img { animation-delay: 8.6s !important; }
.tp-slide-4, .tp-slide-4 img { animation-delay: 11.6s !important; } .tp-slide-5, .tp-slide-5 img { animation-delay: 14.6s !important; } .tp-slide-6, .tp-slide-6 img { animation-delay: 17.6s !important; } .tp-slide-7, .tp-slide-7 img { animation-delay: 20.6s !important; }
/* 25/11/2026 sera, utente: "passando da una slide ad un'altra si vede bianco ... non ci deve essere stacco": la foto nuova sfuma sopra la vecchia (1,2 s), la vecchia sparisce solo quando e' coperta */
@keyframes tp-wts-fade { 0% { opacity: 0; z-index: 3; } 1.67% { opacity: 1; z-index: 3; } 12.49% { opacity: 1; z-index: 3; } 12.5% { opacity: 1; z-index: 2; } 14.17% { opacity: 1; z-index: 2; } 14.18% { opacity: 0; z-index: 1; } 100% { opacity: 0; z-index: 1; } }
@keyframes tp-wts-zoom { 0% { transform: scale(1.1); } 14.17% { transform: scale(1); } 100% { transform: scale(1); } }
.tp-wts-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,19,17,.45) 0%, rgba(20,19,17,.15) 35%, rgba(20,19,17,.55) 65%, rgba(20,19,17,.88) 100%); }
.tp-wts-inner { position: relative; z-index: 2; width: 100%; max-width: 1240px; margin: 0 auto !important; padding: 170px clamp(16px, 4vw, 40px) clamp(48px, 8vh, 96px); }
.tp-wts-inner .tp-crumb-back { margin: 0 0 28px !important; }
.tp-wts-inner .tp-crumb-back a { font: 700 11px/1 var(--wp--preset--font-family--sans); letter-spacing: .18em; text-transform: uppercase; text-decoration: none; color: #E9E1D2; }
.tp-wts-title h1 { font: 400 clamp(40px, 5vw, 72px)/1.04 var(--wp--preset--font-family--serif) !important; max-width: 18ch; margin: 0 0 20px !important; color: #fff; }
.tp-wts-title p:not(.is-style-eyebrow) { font-size: clamp(17px, 1.5vw, 20px); color: #EDE6DA; max-width: 46ch; margin: 0 !important; }
.tp-wts-body { padding: clamp(70px, 9vw, 120px) 0; }
.tp-vip { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; margin: 44px 0 40px !important; background: var(--wp--preset--color--line); border-top: 3px solid var(--wp--preset--color--sand); }
.tp-vip > * { margin: 0 !important; }
.tp-vip-col { background: var(--wp--preset--color--paper); padding: clamp(22px, 2.4vw, 32px); }
.tp-vip-col .is-style-eyebrow { color: var(--wp--preset--color--bronze) !important; margin-bottom: 10px !important; }
.tp-vip-col h3 { font: 400 clamp(26px, 2.2vw, 32px)/1.1 var(--wp--preset--font-family--serif) !important; margin: 0 0 18px !important; }
.tp-vip-list { list-style: none; margin: 0 !important; padding: 0 !important; }
.tp-vip-list li { padding: 11px 0; border-top: 1px solid var(--wp--preset--color--line); display: flex; flex-direction: column; gap: 2px; margin: 0; }
.tp-vip-list li:first-child { border-top: 0; }
.tp-vip-list strong { font: 400 18px/1.3 var(--wp--preset--font-family--serif); }
.tp-vip-w { font-size: 13px; color: var(--wp--preset--color--muted); }
@media (max-width: 1100px) { .tp-vip { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .tp-vip { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .tp-slides > .wp-block-image, .tp-slides > .wp-block-image img { animation: none; } .tp-slide-0 { opacity: 1; } }
/* Explore (24/11/2026): 8 foto che si alternano come il video della home, con il bottone lungo sopra (stesse animazioni di where-to-stay) */
.tp-stay-show { position: relative; height: clamp(460px, 72vh, 680px); overflow: hidden; background: var(--wp--preset--color--umber); }
.tp-stay-show::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,14,12,0) 45%, rgba(15,14,12,.55) 100%); pointer-events: none; }
.tp-stay-btn { position: absolute; z-index: 2; left: 50%; bottom: clamp(22px, 4vw, 44px); transform: translateX(-50%); width: min(880px, calc(100% - 32px)); margin: 0 !important; }
.tp-stay-btn a { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px 24px; padding: 20px clamp(20px, 3vw, 34px); background: rgba(20,19,17,.62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(193,170,127,.7); color: #fff; text-decoration: none; transition: background .3s, border-color .3s; }
.tp-stay-btn .t { font: 500 clamp(19px, 1.8vw, 25px)/1.2 var(--wp--preset--font-family--serif); }
.tp-stay-btn .s { grid-column: 1; font-size: 13px; letter-spacing: .04em; color: #E2D9C8; }
.tp-stay-btn .arr { grid-column: 2; grid-row: 1 / 3; width: 46px; height: 46px; border: 1px solid var(--wp--preset--color--sand); border-radius: 50%; display: grid; place-items: center; color: var(--wp--preset--color--sand); font-size: 18px; transition: transform .3s, background .3s, color .3s; }
.tp-stay-btn a:hover { background: rgba(20,19,17,.8); border-color: var(--wp--preset--color--sand); }
.tp-stay-btn a:hover .arr { background: var(--wp--preset--color--sand); color: var(--wp--preset--color--ink); transform: translateX(4px); }
@media (max-width: 600px) { .tp-stay-btn a { grid-template-columns: 1fr; padding: 18px; } .tp-stay-btn .arr { display: none; } }

/* nome della struttura in piccolo a destra, compare con la sua foto (24/11/2026) */
.tp-slides .wp-element-caption { position: absolute; right: clamp(16px, 2.6vw, 34px); top: clamp(16px, 2.6vw, 30px); z-index: 2; margin: 0 !important; display: flex; align-items: center; gap: 10px; font: 700 11px/1.2 var(--wp--preset--font-family--sans); letter-spacing: .18em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.55); }
.tp-slides .wp-element-caption::before { content: ""; width: 24px; height: 1px; background: var(--wp--preset--color--sand); }
.tp-wts-hero .tp-slides .wp-element-caption { top: 64px; bottom: auto; }
@media (max-width: 600px) { .tp-slides .wp-element-caption { font-size: 10px; letter-spacing: .12em; } .tp-wts-hero .tp-slides .wp-element-caption { bottom: auto; top: 120px; } }

/* Wine & food (24/11/2026): niente cornice bianca sulle foto */
.tp-wf-side::after, .tp-wf-ph::after { content: none; display: none; }

/* crediti delle foto con licenza libera (Wikimedia Commons), 24/11/2026 */
.tp-photo-credits { margin: 18px 0 0 !important; font-size: 12px !important; color: var(--wp--preset--color--muted); max-width: 90ch; }
.tp-photo-credits a { color: inherit; text-decoration: underline; text-decoration-color: var(--wp--preset--color--line); }
/* Explore (24/11/2026): foto dei 3 paesi piu' chiare, ombra solo in basso dietro il testo */
.tp-dest-grid3 .tp-dest3 img.wp-block-cover__image-background { filter: brightness(1.14) saturate(1.06); }
.tp-dest-grid3 .tp-dest3 .wp-block-cover__background { background: linear-gradient(180deg, rgba(0,0,0,0) 52%, rgba(15,14,12,.32) 74%, rgba(15,14,12,.74) 100%) !important; }
.tp-dest-grid3 .tp-dest3 .wp-block-cover__inner-container { text-shadow: 0 1px 14px rgba(0,0,0,.45); }
/* 24/11/2026: foto delle schede e delle pagine di dettaglio piu' luminose, velature piu' leggere */
.tp-ed-img img, .tp-gallery img, .tp-wf-ph img, .tp-wf-sq img, .tp-wf-side img, .tp-slides img, .tp-region img.wp-block-cover__image-background { filter: brightness(1.1) saturate(1.05); }
.tp-d-hero img.wp-block-cover__image-background { filter: brightness(1.12) saturate(1.05); }
.tp-d-hero .wp-block-cover__background { background: linear-gradient(90deg, rgba(20,19,17,.58) 0%, rgba(20,19,17,.3) 36%, rgba(20,19,17,0) 66%), linear-gradient(180deg, rgba(20,19,17,.28) 0%, rgba(20,19,17,0) 26%, rgba(20,19,17,0) 70%, rgba(20,19,17,.4) 100%) !important; }
.tp-d-hero .tp-d-title, .tp-d-hero .tp-d-nav { text-shadow: 0 1px 16px rgba(0,0,0,.45); }
.tp-wts-hero::after { background: linear-gradient(180deg, rgba(20,19,17,.3) 0%, rgba(20,19,17,0) 30%, rgba(20,19,17,.2) 60%, rgba(20,19,17,.66) 100%); }
@media (max-width: 900px) { .tp-d-hero .wp-block-cover__background { background: linear-gradient(180deg, rgba(20,19,17,.32) 0%, rgba(20,19,17,.12) 35%, rgba(20,19,17,.7) 100%) !important; } }

/* 24/11/2026: pagine Luxury tours come il vecchio sito (fasce dei giorni a sfondo alterno, foto 2/5, titolo con dropcap) */
.tp-wf-row2.tp-wf-dayrow { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); align-items: start; margin: 0 !important; padding: clamp(28px, 4vw, 52px) clamp(18px, 3vw, 40px); }
.tp-wf-row2.tp-wf-dayrow.tp-wf-left { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
.tp-wf-row2.tp-wf-dayrow .tp-wf-ph { aspect-ratio: 3 / 2; }
.tp-wf-row2.tp-wf-band { background: #EFE9DE; }
.tp-wf-day { font-family: var(--wp--preset--font-family--serif); font-weight: 400; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.2; margin: 0 0 .7em !important; }
.tp-wf-day::first-letter { float: left; font-size: 3.1em; line-height: .82; margin: .04em .1em 0 0; }
.tp-wf-text .tp-wf-day { margin-top: 1.4em !important; }
@media (max-width: 900px) { .tp-wf-row2.tp-wf-dayrow, .tp-wf-row2.tp-wf-dayrow.tp-wf-left { grid-template-columns: 1fr; } .tp-wf-row2.tp-wf-dayrow.tp-wf-left .tp-wf-ph { order: 0; } }
/* tre colonne di tour e borghi come nel vecchio sito: fondo chiaro, foto intere (24/11/2026) */
.tp-wf-cols.tp-wf-light { background: none; border-top: 0; gap: clamp(20px, 2.6vw, 36px); align-items: start; }
.tp-wf-light .tp-wf-col { background: transparent; color: var(--wp--preset--color--ink); }
.tp-wf-light .tp-wf-sq { aspect-ratio: auto; background: none; }
.tp-wf-light .tp-wf-sq img { height: auto !important; object-fit: contain; }
.tp-wf-light .tp-wf-col-txt { padding: 20px 0 0; }
.tp-wf-light .tp-wf-col-txt .tp-wf-list li { border-top-color: var(--wp--preset--color--line, #E3DBCC); }
.tp-wf-light .tp-wf-col-txt .tp-wf-label { color: var(--wp--preset--color--bronze); }
@media (max-width: 900px) { .tp-wf-light .tp-wf-sq { aspect-ratio: auto; } }
/* regioni del Wine & food come schede Editorial (25/11/2026) */
.tp-regions-eds { margin-bottom: 56px !important; }

/* 25/11/2026, utente: "applica il velo scuro" sotto le scritte delle foto. Foto nitide e senza velatura generale (resta solo una
   sfumatura in alto per il logo); dietro il testo un velo scuro con i bordi sfumati (maschera a gradiente: la foto non si sfoca). */
.tp-hero .tp-veil, .tp-d-hero .tp-d-title, .tp-d-hero .tp-d-nav, .tp-d-hero .tp-hero-legal, .tp-wts-title, .tp-wts-inner .tp-crumb-back,
.tp-page-hero .wp-block-cover__inner-container { position: relative; isolation: isolate; }
.tp-slides .wp-element-caption { isolation: isolate; } /* 25/11/2026: resta absolute (nome della struttura in alto a destra) */
.tp-dest .wp-block-cover__inner-container, .tp-dest3 .wp-block-cover__inner-container, .tp-staytile .wp-block-cover__inner-container { position: relative; z-index: 2; isolation: isolate; }
.tp-hero .tp-veil::before, .tp-d-hero .tp-d-title::before, .tp-d-hero .tp-d-nav::before, .tp-wts-title::before, .tp-page-hero .wp-block-cover__inner-container::before
{ content: ""; position: absolute; inset: -36px -48px; z-index: -1; background: rgba(20,19,17,.6); pointer-events: none; -webkit-mask-image:linear-gradient(90deg,transparent,#000 48px,#000 calc(100% - 48px),transparent),linear-gradient(180deg,transparent,#000 36px,#000 calc(100% - 36px),transparent);-webkit-mask-composite:source-in;mask-image:linear-gradient(90deg,transparent,#000 48px,#000 calc(100% - 48px),transparent),linear-gradient(180deg,transparent,#000 36px,#000 calc(100% - 36px),transparent);mask-composite:intersect; }
.tp-d-hero .tp-hero-legal::before, .tp-wts-inner .tp-crumb-back::before, .tp-slides .wp-element-caption::after
{ content: ""; position: absolute; inset: -10px -18px; z-index: -1; background: rgba(20,19,17,.6); pointer-events: none; -webkit-mask-image:linear-gradient(90deg,transparent,#000 18px,#000 calc(100% - 18px),transparent),linear-gradient(180deg,transparent,#000 10px,#000 calc(100% - 10px),transparent);-webkit-mask-composite:source-in;mask-image:linear-gradient(90deg,transparent,#000 18px,#000 calc(100% - 18px),transparent),linear-gradient(180deg,transparent,#000 10px,#000 calc(100% - 10px),transparent);mask-composite:intersect; }
.tp-dest .wp-block-cover__inner-container::before, .tp-dest3 .wp-block-cover__inner-container::before, .tp-staytile .wp-block-cover__inner-container::before
{ content: ""; position: absolute; inset: -56px -60px -60px; z-index: -1; background: rgba(20,19,17,.6); pointer-events: none; -webkit-mask-image:linear-gradient(180deg,transparent,#000 56px);mask-image:linear-gradient(180deg,transparent,#000 56px); }
.tp-hero .tp-veil, .tp-d-hero .tp-d-nav, .tp-d-hero .tp-hero-legal, .tp-wts-title, .tp-wts-inner .tp-crumb-back { width: fit-content; max-width: 100%; }
.tp-d-hero .tp-d-title { justify-self: end; width: fit-content; max-width: 100%; }
.tp-hero .wp-block-cover__background, .tp-d-hero .wp-block-cover__background, .tp-page-hero .wp-block-cover__background { background: linear-gradient(180deg, rgba(20,19,17,.36) 0%, rgba(20,19,17,0) 24%) !important; opacity: 1 !important; }
.tp-wts-hero::after { background: linear-gradient(180deg, rgba(20,19,17,.36) 0%, rgba(20,19,17,0) 24%); }
.tp-dest .wp-block-cover__background, .tp-dest3 .wp-block-cover__background, .tp-dest-grid3 .tp-dest3 .wp-block-cover__background { background: none !important; }
.tp-stay-banner::after { background: none; }
@media (max-width: 900px) { .tp-d-hero .tp-d-title { justify-self: start; } .tp-d-hero .wp-block-cover__background { background: linear-gradient(180deg, rgba(20,19,17,.36) 0%, rgba(20,19,17,0) 24%) !important; } }
/* 25/11/2026: credito della foto di Vienna sotto le tre destinazioni di Explore */
.tp-explore .tp-photo-credits { color: rgba(255,255,255,.6); margin: 14px 0 0 !important; }
.tp-explore .tp-photo-credits a { color: inherit; }
/* 25/11/2026, utente: "4 foto per ogni paese che cambiano come gli alberghi ogni 3 secondi": card dei paesi in Explore */
.tp-dest-show .wp-block-cover__inner-container { position: static !important; isolation: auto !important; }
.tp-dest-show .wp-block-cover__inner-container::before { content: none !important; }
.tp-dest-show .tp-slides { position: absolute !important; inset: 0; z-index: 1; margin: 0 !important; }
.tp-dest-show .tp-slides > .wp-block-image { animation-name: tp-dest-fade; animation-duration: 12s; animation-timing-function: ease-in-out; }
.tp-dest-show .tp-slides > .wp-block-image img { animation-name: tp-dest-zoom; animation-duration: 12s; filter: brightness(1.14) saturate(1.06); }
.tp-dslide-0, .tp-dslide-0 img { animation-delay: calc(-0.4s + var(--tp-off, 0s)) !important; } .tp-dslide-1, .tp-dslide-1 img { animation-delay: calc(2.6s + var(--tp-off, 0s)) !important; }
.tp-dslide-2, .tp-dslide-2 img { animation-delay: calc(5.6s + var(--tp-off, 0s)) !important; } .tp-dslide-3, .tp-dslide-3 img { animation-delay: calc(8.6s + var(--tp-off, 0s)) !important; }
/* le tre card di Explore non cambiano foto nello stesso momento (sfasate di 1 s) */
.tp-dest-grid3 > .tp-dest-show:nth-child(2) { --tp-off: -1s; } .tp-dest-grid3 > .tp-dest-show:nth-child(3) { --tp-off: -2s; }
.tp-dest-show .tp-slides .wp-element-caption { right: clamp(14px, 1.8vw, 24px); top: clamp(14px, 1.8vw, 22px); }
.tp-dest-show .tp-dest-cap { position: relative; z-index: 2; isolation: isolate; margin: 0 !important; }
.tp-dest-show .tp-dest-cap::before { content: ""; position: absolute; inset: -56px -60px -60px; z-index: -1; background: rgba(20,19,17,.6); pointer-events: none; -webkit-mask-image: linear-gradient(180deg,transparent,#000 56px); mask-image: linear-gradient(180deg,transparent,#000 56px); }
/* 25/11/2026 sera, utente: "le slide cambiavano senza apparire all'improvviso": la foto nuova sfuma sopra la vecchia in 1,2 s e la vecchia resta piena finche' la nuova non la copre (niente scuro a meta' passaggio) */
/* 25/11/2026 notte, utente (effetto lattiginoso delle due foto sovrapposte): "si quello lo puoi togliere?" -> passaggio di 0,4 s */
@keyframes tp-dest-fade { 0% { opacity: 0; z-index: 3; } 3.33% { opacity: 1; z-index: 3; } 24.99% { opacity: 1; z-index: 3; } 25% { opacity: 1; z-index: 2; } 28.33% { opacity: 1; z-index: 2; } 28.34% { opacity: 0; z-index: 1; } 100% { opacity: 0; z-index: 1; } }
@keyframes tp-dest-zoom { 0% { transform: scale(1.1); } 28.33% { transform: scale(1); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .tp-dest-show .tp-slides > .wp-block-image, .tp-dest-show .tp-slides > .wp-block-image img { animation: none; } .tp-dest-show .tp-dslide-0 { opacity: 1; } }
/* 25/11/2026, utente: "fai lo stesso nelle pagine di apertura dei paesi": 4 foto alternate nell'apertura di Italy, Switzerland, Austria */
.tp-d-show .wp-block-cover__inner-container { position: static !important; }
.tp-d-show .tp-slides { position: absolute !important; inset: 0; z-index: 1; margin: 0 !important; max-width: none !important; width: auto !important; }
.tp-d-show .tp-slides::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(20,19,17,.36) 0%, rgba(20,19,17,0) 24%); }
.tp-d-show .tp-slides > .wp-block-image { animation-name: tp-dest-fade; animation-duration: 12s; animation-timing-function: ease-in-out; }
.tp-d-show .tp-slides > .wp-block-image img { animation-name: tp-dest-zoom; animation-duration: 12s; filter: brightness(1.12) saturate(1.05); }
.tp-d-show .tp-slides .wp-element-caption { top: 64px; z-index: 2; }
.tp-d-show .tp-d-grid { position: relative; z-index: 2; }
@media (max-width: 600px) { .tp-d-show .tp-slides .wp-element-caption { top: 120px; } }
@media (prefers-reduced-motion: reduce) { .tp-d-show .tp-slides > .wp-block-image, .tp-d-show .tp-slides > .wp-block-image img { animation: none; } .tp-d-show .tp-dslide-0 { opacity: 1; } }
/* 25/11/2026: pagina "Photo credits" (link "Photo" nel footer) */
.tp-credits { padding: clamp(48px, 7vw, 90px) 24px clamp(60px, 8vw, 110px) !important; }
.tp-credits .tp-credits-title { font-size: clamp(40px, 5vw, 64px); font-weight: 400; margin: 6px 0 18px; }
.tp-credits .tp-credits-intro { max-width: none !important; color: var(--wp--preset--color--muted); font-size: 15px; }
.tp-credits-group { margin-top: 44px !important; }
.tp-credits-group h2 { font-size: clamp(28px, 3vw, 38px); font-weight: 400; border-bottom: 1px solid var(--wp--preset--color--line); padding-bottom: 10px; }
.tp-credits-group h3 { font: 700 12px/1.3 var(--wp--preset--font-family--sans); letter-spacing: .16em; text-transform: uppercase; margin: 26px 0 8px; }
.tp-credits-group h3 a { color: inherit; text-decoration: none; }
.tp-credits-list { margin: 0; padding-left: 18px; font-size: 14px; line-height: 1.6; color: var(--wp--preset--color--muted); }
.tp-credits-list a { color: inherit; text-decoration: underline; text-decoration-color: var(--wp--preset--color--line); }
/* 25/11/2026, utente: "puoi far diventare cliccabile tutta la foto?": il link del nome del paese copre tutta la card (tagliato dall'overflow della card) */
.tp-dest-show .tp-dest-cap h2 a::after { inset: -3000px !important; }
.tp-dest-show { cursor: pointer; }
/* 25/11/2026: un solo tema alla volta nelle pagine dei paesi (script in functions.php) */
.tp-theme[hidden] { display: none !important; }
/* 25/11/2026: dati ufficiali delle aree sciistiche e ristoranti in quota */
.tp-ski-facts, .tp-ski-dining { margin: 0 0 8px !important; padding-left: 18px; line-height: 1.7; }
.tp-ski-note { font-size: 13px !important; color: var(--wp--preset--color--muted); margin: 4px 0 22px !important; }

/* 26/11/2026: logo del footer piu grande */
.tp-foot-logo img { height: 84px !important; width: auto !important; }
