
@font-face {
	font-family: 'MyriadPro';
	src: url('../font/Fonts_MyriadPro-Regular.woff2') format('woff2'),
		url('../font/Fonts_MyriadPro-Regular.woff') format('woff');
	font-style: normal;
	font-weight: normal;
}

@font-face {
	font-family: 'RobotoSlab';
	src: url('../font/Fonts_RobotoSlab-Regular.woff2') format('woff2'),
		url('../font/Fonts_RobotoSlab-Regular.woff') format('woff');
	font-style: normal;
	font-weight: normal;
}

@font-face {
	font-family: 'RobotoSlab-Bold';
	src: url('../font/Fonts_RobotoSlab-Bold.woff2') format('woff2'),
		url('../font/Fonts_RobotoSlab-Bold.woff') format('woff');
	font-style: normal;
	font-weight: 700;
}

@font-face {
	font-family: 'RobotoSlab-SemiBold';
	src: url('../font/Fonts_RobotoSlab-SemiBold.woff2') format('woff2'),
		url('../font/Fonts_RobotoSlab-SemiBold.woff') format('woff');
	font-style: normal;
	font-weight: 700;
}

@font-face {
	font-family: 'BaskervilleRoman';
	src: url('../font/NewBaskervilleStd-Roman.ttf') format('truetype');
	font-style: normal;
	font-weight: normal;
}

@font-face {
	font-family: 'BaskervilleItalic';
	src: url('../font/NewBaskervilleStd-Italic.ttf') format('truetype');
	font-style: italic;
	font-weight: normal;
}

@font-face {
	font-family: 'BaskervilleBoldItalic';
	src: url('../font/NewBaskervilleStd-BoldIt.ttf') format('truetype');
	font-style: italic;
	font-weight: 700;
}

@font-face {
	font-family: 'BaskervilleBold';
	src: url('../font/NewBaskervilleStd-Bold.ttf') format('truetype');
	font-style: normal;
	font-weight: 700;
}

@font-face {
	font-family: 'NewsGothicBold';
	src: url('../font/News Gothic Bold.otf') format('opentype');
	font-style: normal;
	font-weight: 700;
}

@font-face {
	font-family: 'NewsGothicItalic';
	src: url('../font/News Gothic Italic.otf') format('opentype');
	font-style: italic;
	font-weight: 400;
}

@font-face {
	font-family: 'NewsGothicStd';
	src: url('../font/NewsGothicStd.otf') format('opentype');
	font-style: normal;
	font-weight: 400;
}

:root {
	--bg-main: #f4f1f3;
	--bg-surface: #ffffff;
	--brand: #980539;
	--brand-dark: #6f022a;
	--ink-strong: #111111;
	--ink-soft: #454545;
	--stroke: #d5c9d0;
	--shadow-soft: 0 10px 30px rgba(42, 26, 19, 0.1);
	--radius-lg: 18px;
	--radius-md: 12px;
	--card-accent-width: clamp(0.55rem, 0.9vw, 1rem);
	--detail-media-accent: clamp(0.5rem, 0.8vw, 0.9rem);
	--page-gutter: clamp(1.9rem, 4.6vw, 3.6rem);
	--page-gutter-compact: clamp(1.5rem, 4vw, 2.95rem);
	--page-gutter-mobile: clamp(1.08rem, 4.5vw, 1.5rem);
}

* {
	box-sizing: border-box;
}

html,
body {
	margin: 0;
	padding: 0;
	width: 100%;
}
		.topbar-branding,
		.topbar-branding-row1,
		.topbar-branding-row2,
		.topbar-branding-row3 {
			display: flex !important;
			flex-direction: row;
			align-items: center !important;
			justify-content: center !important;
			width: 100%;   
		    padding: clamp(1.9rem, 5.7vh, 2.3rem) !important;
			text-align: center !important;
		}
		.topbar-branding-row3 {
			flex-direction: row !important;
			gap: clamp(0.3rem, 2vw, 0.7rem) !important;
		}
		.topbar-branding-row3 .logo-carsa,
		.topbar-branding-row3 .logo-micro,
		.topbar-branding-row3 .qrcode-img {
			height: clamp(2.2rem, 10vw, 2.8rem) !important;
			max-width: 24vw !important;
			margin: 0 0.1rem !important;
			display: inline-block !important;
			vertical-align: middle !important;
		}

.topbar-branding {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: clamp(1rem, 2vw, 2rem);
}

.topbar-right {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	justify-content: center;
	gap: clamp(0.55rem, 1vh, 0.9rem);
	min-width: min(40vw, 27rem);
}

.topbar-copy-shell {
	flex: 1;
	display: flex;
	justify-content: flex-start;
	align-items: center;
	min-width: 0;
}

.topbar-copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	width: 100%;
	max-width: min(82vw, 61rem);
}

.topbar-logo {
	width: clamp(3.5rem, 7vw, 6.9rem);
	height: auto;
}

.topbar-copy h1 {
	margin: 0;
	font-family: 'BaskervilleBoldItalic', Georgia, serif;
	color: var(--brand);
	letter-spacing: 0.02em;
	font-size: clamp(1.35rem, 2.7vw, 2.55rem);
	line-height: 1.02;
	text-align: left;
	width: 100%;
	white-space: normal;
	text-wrap: balance;
	text-shadow: 0 1px 3px rgba(55, 28, 44, 0.18);
}

.topbar-copy h2 {
	margin: clamp(0.28rem, 0.7vh, 0.6rem) 0 0;
	font-family: 'NewsGothicStd', sans-serif;
	color: var(--ink-soft);
	font-size: clamp(1rem, 1.75vw, 1.52rem);
	font-weight: 500;
	line-height: 1.25;
	text-align: left;
	width: 100%;
	text-wrap: balance;
	text-shadow: 0 1px 2px rgba(55, 28, 44, 0.12);
}

.lang-switch {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.28rem;
	border: 1px solid rgba(152, 5, 57, 0.28);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.88);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.lang-btn {
	border: 0;
	background: transparent;
	color: var(--brand-dark);
	font-family: 'NewsGothicStd', sans-serif;
	font-size: clamp(0.82rem, 1.2vw, 0.98rem);
	line-height: 1;
	padding: 0.32rem 0.62rem;
	border-radius: 999px;
	cursor: pointer;
	transition: background-color 160ms ease, color 160ms ease;
}

.lang-btn.is-active {
	background: var(--brand);
	color: #fff;
}

.lang-btn:focus-visible {
	outline: 2px solid var(--brand-dark);
	outline-offset: 2px;
}

@media (pointer: coarse) {
	.lang-switch {
		gap: 0.22rem;
		padding: 0.22rem;
	}

	.lang-btn {
		min-width: 44px;
		min-height: 44px;
		padding: 0.5rem 0.75rem;
		line-height: 1.1;
	}
}

.topbar-logos {
	display: flex;
	align-items: center;
	justify-content: flex-end;
  gap: clamp(1.05rem, 1.2vw, 3.1rem);
	min-width: min(35vw, 24rem);
}

.topbar-logo-inline {
	height: clamp(3.9rem, 7.6vh, 7.4rem);
	width: auto;
	object-fit: contain;
}


.logo-adsi {
	        
    height: clamp(7.25rem, 7.3vh, 8rem);
}

.logo-airport {
    max-width: min(20vw, 14rem);
	margin-right: 0;
}

.logo-pompeis-topbar {   
	 height: clamp(6.88rem, 8.53vh, 7.1rem);
    max-width: min(39.2vw, 28.4rem);
    
}

/* QR code PDF download */
.qr-pdf-link {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-decoration: none !important;
	gap: 0.25rem;
	opacity: 0.93;
	transition: opacity 0.2s;
}
.qr-pdf-link:hover {
	opacity: 1;
}
.qr-pdf-img {
	height: clamp(2.7rem, 5.8vh, 4.9rem);
	width: auto;
	border-radius: 6px;
	border: 2px solid var(--brand);
}
.qr-pdf-label {
	font-family: 'NewsGothicStd', sans-serif;
	font-size: clamp(0.64rem, 0.95vw, 0.82rem);
	color: var(--brand);
	text-align: center;
	line-height: 1.2;
	max-width: 6.2rem;
}
/* visibilità per lingua */
.qr-lang-en { display: none; }
.qr-lang-it { display: flex; }
body.lang-en .qr-lang-it { display: none; }
body.lang-en .qr-lang-en { display: flex; }
body.lang-it .qr-lang-it { display: flex; }
body.lang-it .qr-lang-en { display: none; }

.gallery-intro {
	margin: 0 0 clamp(0.6rem, 1.1vh, 0.95rem);
	padding: 0 clamp(0.3rem, 0.7vw, 0.8rem);
	font-family: 'NewsGothicStd', sans-serif;
	font-size: clamp(1.05rem, 1.45vw, 1.35rem);
	font-weight: 600;
	color: var(--brand-dark);
}

.totem-gallery {
	min-height: 0;
	padding: clamp(0.5rem, 0.95vh, 0.8rem) var(--page-gutter-compact);
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.totem-gallery::-webkit-scrollbar {
	display: none;
}

.gallery-columns {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(0.45rem, 0.9vw, 0.9rem);
	height: auto;
	align-content: start;
}

.gallery-column {
	display: flex;
	flex-direction: column;
	gap: clamp(0.34rem, 0.75vh, 0.62rem);
	min-height: 0;
}

.location-card {
	display: grid;
	grid-template-columns: 46% 1fr var(--card-accent-width);
	gap: 0;
	align-items: stretch;
	background: var(--bg-surface);
	border: 1px solid var(--stroke);
	border-radius: var(--radius-md);
	box-shadow: 0 4px 14px rgba(17, 17, 17, 0.08);
	text-decoration: none;
	color: inherit;
	overflow: hidden;
	transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
	height: clamp(14.2rem, 22vh, 16.2rem);
	min-height: 14.2rem;
	content-visibility: visible;
	contain-intrinsic-size: auto;
}

.location-card:focus-visible {
	box-shadow: 0 12px 28px rgba(134, 12, 59, 0.16);
	border-color: rgba(134, 12, 59, 0.38);
	outline: none;
}

.location-card.is-disabled {
	cursor: default;
	opacity: 0.94;
}

@media (hover: hover) and (pointer: fine) {
	.location-card:not(.is-disabled):hover {
		transform: translateY(-2px);
		box-shadow: 0 12px 28px rgba(134, 12, 59, 0.16);
		border-color: rgba(134, 12, 59, 0.38);
	}
}

.card-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 30%;
	background: #f3f3f3;
	display: block;
}

.card-content {
	min-width: 0;
	padding: clamp(0.7rem, 1.3vh, 1rem) clamp(0.8rem, 1.4vw, 1.2rem);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-self: stretch;
	gap: 0.38rem;
	min-height: 0;
	height: 100%;
}

.card-image.is-dannunzio-image {
	object-position: center center;
}

.card-content h3 {
	margin: 0;
	font-family: 'BaskervilleBoldItalic', Georgia, serif;
	color: var(--brand);
	font-size: clamp(1.05rem, 1.5vw, 1.42rem);
	line-height: 1.16;
	display: -webkit-box;
	line-clamp: 2;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.card-content .locality {
	margin-top: 0;
	font-size: clamp(0.86rem, 1.1vw, 1.05rem);
	color: var(--ink-soft);
	line-height: 1.24;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.card-content .cta {
	margin-top: 0.14rem;
	font-size: clamp(0.86rem, 1.08vw, 1.02rem);
	font-family: 'NewsGothicStd', sans-serif;
	color: var(--brand);
	letter-spacing: 0.01em;
	white-space: nowrap;
}

.location-card.is-disabled .card-content .cta {
	display: inline-block;
	padding: 0.2rem 0.55rem;
	border: 1px solid rgba(152, 5, 57, 0.25);
	border-radius: 999px;
	background: rgba(152, 5, 57, 0.08);
	color: var(--brand-dark);
}

.card-accent {
	background: var(--brand);
	display: block;
	width: var(--card-accent-width);
	height: 100%;
}

.totem-footer {
	border-top: 1px solid rgba(134, 12, 59, 0.16);
	padding: clamp(0.32rem, 0.65vh, 0.62rem) var(--page-gutter-compact);
	background: rgba(255, 255, 255, 0.4);
	overflow: hidden;
}

.partner-bar {
	height: 100%;
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: clamp(0.55rem, 1.1vw, 1.15rem);
}

.partner-col {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: clamp(0.1rem, 0.3vh, 0.24rem);
}

.partner-col-left {
	align-items: flex-start;
}

.partner-col-center {
	align-items: center;
}

.partner-col-right {
	align-items: flex-end;
}

.partner-col-left,
.partner-col-right {
	justify-content: center;
}

.logos-row {
	display: flex;
	flex-direction: row;
	gap: clamp(0.7rem, 1.2vw, 1.15rem);
	align-items: center;
}

.partner-col-right .logo-carsa,
.partner-col-right .logo-micro {
	margin-top: clamp(0.2rem, 0.45vh, 0.38rem);
}

.partner-col-right {
	padding-right: clamp(0.5rem, 1.2vw, 1rem);
}

.partner-col-left .partner-label {
	margin-bottom: clamp(0.8rem, 0.45vh, 0.8rem);
}

.partner-label {
	font-family: 'NewsGothicStd', sans-serif;
	font-size: clamp(0.86rem, 1vw, 1rem);
	font-weight: 400;
	line-height: 1.1;
	color: var(--brand);
	letter-spacing: 0.01em;
	margin: 0;
}

.legal-links {
	margin-top: clamp(0.18rem, 0.45vh, 0.38rem);
	text-align: center;
	font-family: 'NewsGothicStd', sans-serif;
	font-size: clamp(0.76rem, 0.95vw, 0.9rem);
}

.legal-links a {
	color: var(--brand-dark);
	text-decoration: underline;
}

.legal-links a:hover {
	color: var(--brand);
}

/* Keep Iubenda inside the footer only; hide floating widgets that drift over the body. */
.iubenda-tp-btn,
.iubenda-cs-preferences-link,
.iubenda-ibadge {
	display: none !important;
	visibility: hidden !important;
	pointer-events: none !important;
}

/* Hide the floating US privacy widget entirely. The footer link is the only visible entry point. */
.iub__us-widget {
	display: none !important;
	visibility: hidden !important;
	pointer-events: none !important;
}

.iub__us-widget__link {
	display: none !important;
}

.iub__us-widget__wrapper {
	display: none !important;
}

.legal-links .iubenda-embed {
	display: inline-flex !important;
	position: static !important;
	width: auto !important;
	height: auto !important;
	margin: 0 !important;
	padding: 0 !important;
}

.logo-small {
	height: min(4.8vh, 9.4vw);
	width: auto;
	display: block;
}

.logo-pompeis {
	height:  min(10vh, 15vw);
}

.logo-micro {
	height: min(4.4vh, 7.4vw);
	width: auto;
	opacity: 0.95;
}

.logo-carsa {
	height: min(6.3vh, 10.8vw);
	width: auto;
	opacity: 0.95;
}



/* =============================================
   DETAIL PAGE – layout basato su template ygj.png
   ============================================= */

body.detail-page {
	background: #ffffff;
	min-height: 100vh;
	min-height: 100dvh;
	overflow-y: auto;
	overflow-x: hidden;
	-webkit-overflow-scrolling: touch;
	-ms-overflow-style: none;
	scrollbar-width: none;
}

body.detail-page::-webkit-scrollbar {
	width: 0;
	height: 0;
	display: none;
}

.detail-wrap {
	width: 100%;
	margin: 0;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	min-height: 100dvh;
}
        

/* Hero image – larga tutta la colonna, formato panoramico */
.detail-hero-full {
	width: 100%;
	flex-shrink: 0;
	margin-top: -1px;
	line-height: 0;
}

.detail-hero-full img {
	display: block;
	width: 100%;
	height: clamp(22rem, 62vh, 52rem);
	object-fit: cover;
	object-position: center;
	background: #f5f5f5;
}

/* Sezione titolo */
.detail-title-section {
	padding: clamp(0.7rem, 1.4vh, 1rem) var(--page-gutter) 0.3rem;
	border-bottom: 1px solid rgba(134,12,59,0.15);
}

.palace-name {
	margin: 0;
	font-family: 'BaskervilleBoldItalic', Georgia, serif;
	font-style: normal;
	font-size: clamp(2.15rem, 4.9vw, 3.35rem);
	color: var(--brand);
	line-height: 1.06;
	letter-spacing: -0.01em;
}

.palace-city {
	margin: 0.2rem 0 0;
	font-family: 'NewsGothicStd', sans-serif;
	font-size: clamp(1.08rem, 1.9vw, 1.45rem);
	color: var(--ink-strong);
	font-weight: 600;
	letter-spacing: 0.01em;
}

.apertura-dates {
	margin: 0.32rem 0 0;
	font-family: 'NewsGothicStd', sans-serif;
	font-size: clamp(1rem, 1.35vw, 1.16rem);
	color: var(--brand);
	font-weight: 700;
}

/* Sezione info pratiche */
.detail-info-section {
	padding: clamp(0.55rem, 1.1vh, 0.85rem) var(--page-gutter);
	border-bottom: 1px solid rgba(134,12,59,0.15);
}

.info-row {
	margin: 0 0 0.42rem;
	font-size: clamp(0.98rem, 1.24vw, 1.16rem);
	line-height: 1.56;
	color: var(--ink-strong);
}

.info-row:last-child {
	margin-bottom: 0;
}

.info-row strong {
	font-family: 'NewsGothicStd', sans-serif;
	color: var(--ink-strong);
	font-size: inherit;
	margin-right: 0.25rem;
}

.info-row-contacts span {
	word-break: break-word;
}

#row-orari strong,
#row-indirizzo strong,
#row-contatti strong {
	color: var(--brand);
}

/* Sezione bassa: gallery 3 foto + descrizione */
.detail-bottom-section {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(22vw, 0.95fr);
	gap: clamp(0.9rem, 1.8vw, 1.6rem);
	padding: clamp(0.7rem, 1.4vh, 1rem) var(--page-gutter);
	align-items: stretch;
	flex: 1;
}

.detail-left-col,
.detail-right-col {
	display: flex;
	flex-direction: column;
	gap: clamp(0.55rem, 1vh, 0.95rem);
	justify-content: space-between;
	height: 100%;

}

.detail-right-col {
	min-width: 0;
}

.detail-media-slot {
	min-height: 0;
}

.gallery-thumb-frame {
	margin: 0;
	position: relative;
	display: block;
	border: 1px solid rgba(134,12,59,0.14);
	padding-right: var(--detail-media-accent);
	background: transparent;
	overflow: hidden;
}
.gallery-thumb-frame::after {
	content: '';
	position: absolute;
	right: 0;
	top: 0;
	width: var(--detail-media-accent);
	height: 100%;
	background: var(--brand);
}

.gallery-thumb-frame.is-vertical {
	padding-right: 0;
	padding-bottom: var(--detail-media-accent);
	width: 100%;
	max-width: 100%;
	justify-self: stretch;
}

.gallery-thumb-frame.is-vertical::after {
	right: auto;
	top: auto;
	left: 0;
	bottom: 0;
	width: 100%;
	height: var(--detail-media-accent);
}

.gallery-thumb {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	object-position: center;
	border: 0;
}

.gallery-thumb-frame.is-vertical .gallery-thumb {
	aspect-ratio: auto;
	height: auto;
	width: 100%;
	max-width: 100%;
	max-height: none;
	object-fit: contain;
	background: transparent;
	margin: 0;
}

.gallery-thumb-frame.is-horizontal .gallery-thumb {
	aspect-ratio: 16 / 9;
}

.gallery-thumb[src=''] {
	display: none;
}

.palace-description {
	margin: 0;
	padding: clamp(0.45rem, 0.9vh, 0.75rem) clamp(0.8rem, 1.5vw, 1.4rem);
	font-family: 'NewsGothicStd', sans-serif;
	font-size: clamp(1.14rem, 1.55vw, 1.38rem);
	line-height: 1.84;
	color: #2a2524;
	text-align: justify;
	text-wrap: pretty;
}

.palace-description-inline {
	padding-top: 0.25rem;
	padding-bottom: 0.25rem;
}

.palace-description-paragraph {
	margin: 0;
}

.palace-description-paragraph + .palace-description-paragraph {
	margin-top: 0.9rem;
}

.detail-extra-gallery-section {
	margin-top: clamp(0.7rem, 1.6vh, 1.4rem);
	padding: 0 0 clamp(0.95rem, 2vh, 1.4rem);
	position: relative;
	display: flex;
	align-items: stretch;
	justify-content: center;
	width: 100%;
}

.photo-credit-note {
	margin: 0 auto clamp(0.85rem, 1.6vh, 1.2rem);
	max-width: min(94vw, 74rem);
	padding: 0 clamp(1.2rem, 2.6vw, 2.2rem);
	font-family: 'NewsGothicStd', sans-serif;
	font-size: clamp(0.72rem, 0.95vw, 0.84rem);
	line-height: 1.45;
	color: rgba(70, 70, 70, 0.86);
	text-align: center;
}

/* Make leftBottom taller for specific locations (only Palazzo Vetoli via JS) */
#detail-left-image-bottom.is-tall {
	flex: 1.5 1 0;
	min-height: clamp(22rem, 46vh, 39rem);
}

#detail-left-image-bottom.is-tall .gallery-thumb-frame {
	height: 100%;
}

#detail-left-image-bottom.is-tall .gallery-thumb {
	width: 100%;
	height: 100%;
	aspect-ratio: auto;
	object-fit: cover;
	object-position: center bottom;
}

.detail-extra-gallery-grid {
	display: flex;
	flex-direction: row;
	overflow: hidden;
	justify-content: center;
	height: auto;
	flex: 0 0 auto;
	transition: width 0.24s ease;
}

.detail-extra-gallery-grid .gallery-thumb-frame {
	flex: 0 0 100%;
	width: 100%;
	height: auto;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: none;
}

.detail-extra-gallery-grid .gallery-thumb-frame.is-active {
	display: flex;
}

.detail-extra-gallery-grid .gallery-thumb-frame::after {
	content: none;
}

.detail-extra-gallery-grid .gallery-thumb-frame.is-horizontal {
	width: 100%;
}

.detail-extra-gallery-grid .gallery-thumb-frame.is-horizontal .gallery-thumb {
	height: auto;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.detail-extra-gallery-grid .gallery-thumb-frame.is-vertical {
	width: 100%;
}

.detail-extra-gallery-grid .gallery-thumb-frame.is-vertical .gallery-thumb {
	height: auto;
	width: auto;
	max-width: 100%;
	max-height: 70vh;
	aspect-ratio: auto;
	object-fit: contain;
	margin: 0 auto;
}

.carousel-arrow {
	position: absolute;
	top: 0;
	bottom: clamp(0.95rem, 2vh, 1.4rem);
	width: clamp(2.6rem, 4.5vw, 3.8rem);
	background: rgba(152, 5, 57, 0.88);
	border: none;
	color: #fff;
	font-size: clamp(1.6rem, 2.8vw, 2.8rem);
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.18s;
	user-select: none;
	-webkit-user-select: none;
	padding: 0;
	z-index: 2;
}

.carousel-arrow:hover,
.carousel-arrow:focus {
	background: rgba(152, 5, 57, 1);
	outline: none;
}

.carousel-arrow:disabled {
	background: rgba(152, 5, 57, 0.45);
	cursor: default;
}

.carousel-arrow-prev {
	left: 0;
	border-radius: 0;
}

.carousel-arrow-next {
	right: 0;
	border-radius: 0;
}

/* Footer della pagina dettaglio */
.detail-footer-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: var(--brand);
	color: #ffffff;
	padding: clamp(0.55rem, 1.1vh, 0.8rem) var(--page-gutter);
	flex-shrink: 0;
	margin-top: 0;
	position: sticky;
	top: calc(var(--detail-topbar-height, 0px) - 1px);
	z-index: 55;
}

.detail-nav-actions {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
}

.detail-nav-actions .lang-switch {
	margin-left: 0.2rem;
}

.detail-nav-actions .lang-btn {
	font-size: clamp(0.74rem, 1vw, 0.86rem);
}

.home-action-bar {
	position: static;
	top: auto;
	z-index: 1;
	padding-top: clamp(0.22rem, 0.45vh, 0.35rem);
	padding-bottom: clamp(0.22rem, 0.45vh, 0.35rem);
	justify-content: flex-end;
}

.footer-province-label {
	font-family: 'NewsGothicStd', sans-serif;
	font-size: clamp(0.9rem, 1.5vw, 1.1rem);
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: rgba(255,255,255,0.92);
}

.footer-back-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	text-decoration: none;
	color: #ffffff;
	font-family: 'NewsGothicStd', sans-serif;
	font-size: clamp(0.8rem, 1.1vw, 0.96rem);
	border: 1px solid rgba(255,255,255,0.55);
	padding: 0.3rem 0.7rem;
	border-radius: 4px;
	transition: background 120ms ease;
}

.footer-back-btn:hover,
.footer-back-btn:focus {
	background: rgba(255,255,255,0.18);
	color: #ffffff;
	font-weight: bold;
	outline: none;
}

.footer-back-btn.is-disabled,
.footer-back-btn[aria-disabled='true'] {
	opacity: 0.6;
	pointer-events: none;
}

.detail-logo-footer {
	border-top: 0;
	background: rgba(255, 255, 255, 0.4);
	margin-top: 0;
	padding-left: var(--page-gutter);
	padding-right: var(--page-gutter);
}

/* ============================================= */

/* Legacy – mantenute per compatibilità */
.localita-page {
	width: 100%;
	max-width: min(92vw, 61rem);
	margin: 0 auto;
	padding: clamp(0.9rem, 2vh, 1.6rem) var(--page-gutter-compact) clamp(1.2rem, 2.8vh, 2rem);
}

.detail-header {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: clamp(0.6rem, 1.2vw, 1rem);
	align-items: start;
	margin-bottom: clamp(0.9rem, 1.8vh, 1.4rem);
}

.header-nav {
	display: flex;
}

.btn-back {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	border-radius: 50%;
	border: 2px solid rgba(134, 12, 59, 0.3);
	text-decoration: none;
	color: var(--brand);
	background: #fff;
	font-size: 1rem;
	font-weight: bold;
	transition: all 120ms ease;
	flex-shrink: 0;
}

.btn-back:hover,
.btn-back:focus {
	background: var(--brand);
	color: #fff;
	border-color: var(--brand);
	outline: none;
}

.header-title h1 {
	margin: 0;
	font-family: 'BaskervilleBoldItalic', Georgia, serif;
	color: var(--brand);
	font-size: clamp(1.5rem, 3vw, 2.5rem);
	line-height: 1.08;
	letter-spacing: -0.015em;
}

.header-title .province-label {
	margin: 0.3rem 0 0;
	color: var(--ink-soft);
	font-size: clamp(0.84rem, 1.2vw, 1.08rem);
	font-weight: 500;
}

.title-italic {
	font-style: italic;
}

.opening-line {
	margin: 0.35rem 0 0;
	font-family: 'NewsGothicStd', sans-serif;
	color: #9f0d41;
	font-size: clamp(0.82rem, 1.02vw, 1rem);
}

.detail-hero {
	margin-bottom: clamp(0.65rem, 1.2vh, 0.95rem);
}

#hero-image {
	display: block;
	width: 100%;
	height: clamp(22rem, 62vh, 52rem);
	max-height: none;
	aspect-ratio: auto;
	object-fit: cover;
	object-position: center;
	background: #f5f5f5;
	border: 1px solid rgba(95, 6, 41, 0.18);
	border-radius: 0;
}

/* Info rapide */
.info-rapide-box {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0;
	margin-bottom: clamp(0.8rem, 1.6vh, 1.4rem);
	padding: clamp(0.5rem, 0.9vh, 0.8rem) 0;
}

.info-item {
	display: block;
	padding: clamp(0.25rem, 0.4vh, 0.3rem) 0;
	font-size: clamp(0.81rem, 1.05vw, 0.98rem);
	line-height: 1.28;
	color: #151515;
}

.info-item strong {
	font-family: 'NewsGothicStd', sans-serif;
	color: #1f1d1b;
	font-weight: 700;
	margin-right: 0.3rem;
}

.info-item span {
	color: #161616;
}

.info-divider {
	height: 1px;
	background: rgba(134, 12, 59, 0.2);
	margin: clamp(0.15rem, 0.25vh, 0.2rem) 0;
}

/* Photo Gallery - 4 column grid */
.photo-gallery-section {
	margin-bottom: clamp(1.2rem, 2.4vh, 2rem);
}

.photo-grid-main {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(0.45rem, 0.8vw, 0.75rem);
}

.photo-gallery-section img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 0;
	border: 1px solid var(--stroke);
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.07);
	transition: transform 120ms ease, box-shadow 120ms ease;
}

.photo-gallery-section img:hover {
	transform: scale(1.01);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Content sections - alternating layout */
.content-main {
	display: grid;
	gap: clamp(1.4rem, 2.8vh, 2.4rem);
	margin-top: clamp(1rem, 2vh, 1.8rem);
}

.content-section {
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: clamp(0.8rem, 1.6vw, 1.4rem);
	align-items: start;
}

.content-section-right {
	grid-template-columns: 1.2fr 1fr;
}

.content-section-right .section-images {
	order: -1;
}

.section-text h2 {
	margin: 0 0 0.7rem;
	font-family: 'NewsGothicStd', sans-serif;
	color: var(--brand-dark);
	font-size: clamp(1.05rem, 1.7vw, 1.4rem);
	line-height: 1.15;
}

.section-text p {
	margin: 0;
	color: #3f3a37;
	font-size: clamp(0.82rem, 1.02vw, 0.98rem);
	line-height: 1.54;
	text-align: justify;
}

.section-text p + p {
	margin-top: 0.7rem;
}

.section-images {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(0.4rem, 0.8vw, 0.75rem);
}

.section-images img {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	border-radius: 0;
	border: 1px solid var(--stroke);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	transition: transform 120ms ease;
}

.section-images img:hover {
	transform: scale(1.01);
}

/* Footer */
.detail-footer {
	margin-top: clamp(1.8rem, 3.6vh, 3rem);
	padding-top: clamp(1.2rem, 2.4vh, 2rem);
	text-align: center;
	border-top: 1px solid rgba(134, 12, 59, 0.12);
}

.footer-back {
	display: block;
	float: left;
	text-decoration: none;
	color: var(--brand-dark);
	font-family: 'NewsGothicStd', sans-serif;
	font-size: clamp(0.82rem, 1vw, 0.96rem);
}

.footer-credit {
	font-family: 'NewsGothicStd', sans-serif;
	font-style: italic;
	color: var(--brand);
	font-size: clamp(0.86rem, 1.1vw, 1rem);
}

.footer-bar {
	width: clamp(60px, 12%, 180px);
	height: clamp(5px, 0.7vh, 8px);
	background: var(--brand);
	margin: clamp(0.8rem, 1.6vh, 1.2rem) auto 0;
	border-radius: 20px;
	clear: both;
}

/* Responsive */
@media (orientation: portrait) and (min-width: 900px) {
	.gallery-columns {
		grid-template-columns: 1fr 1fr;
	}

	.totem-topbar {
		padding-top: 1vh;
		padding-bottom: clamp(0.42rem, 0.92vh, 0.78rem);
	}

	.topbar-right {
		min-width: min(31vw, 18rem);
	}

	.location-card {
		height: clamp(13.8rem, 19vh, 15.1rem);
		min-height: 13.8rem;
	}

	.detail-bottom-section {
		grid-template-columns: minmax(0, 1.25fr) minmax(22vw, 0.95fr);
	}

	.detail-nav-actions {
		flex-wrap: nowrap;
	}
}

@media (min-width: 1024px) and (max-width: 1366px) {
	.topbar-branding {
		display: flex;
		flex-direction: row;
		align-items: flex-end;
		justify-content: flex-start;
		gap: 0.2rem;
		width: 100%;
		padding: clamp(1.5rem, 2.7vh, 2.3rem) !important;
	}
	.detail-nav-actions .lang-switch {
    margin-left: 5.2rem;
}
	.topbar-branding-row3 {
		display: flex;
		flex-direction: column;
		align-items: flex-end;
		justify-content: flex-end;
		gap: 0.2rem;
		width: 100%;
	}
	.topbar-branding-row3 {
		display: flex;
		flex-direction: row;
		align-items: flex-end;
		justify-content: flex-end;
		gap: 0.2rem;
		width: 100%;
	}
	.topbar-right {
		min-width: min(52vw, 29rem);
	}
	.topbar-logos {
		justify-content: flex-start;
		flex-wrap: nowrap;
		gap: clamp(0.85rem, 0.7vw, 1.1rem);
	}
	.detail-nav-actions {
		flex-wrap: wrap;
		justify-content: flex-end;
	}
	.detail-logo-footer {
		padding-left: var(--page-gutter-compact);
		padding-right: var(--page-gutter-compact);
	}

	 .topbar-copy h1 {
		text-align: left;
		font-size: clamp(2.35rem, 2.7vw, 2.55rem) !important;
		line-height: 1.08;

	}
	.topbar-copy h2
 {
    margin: clamp(0.28rem, 0.7vh, 0.6rem) 0 0;
    font-family: 'NewsGothicStd', sans-serif;
    color: var(--ink-soft);
    font-size: clamp(1rem, 1.75vw, 1.52rem);
    font-weight: 500;
    line-height: 1.25;
    text-align: left;
    width: 100%;
    text-wrap: balance;
    text-shadow: 0 1px 2px rgba(55, 28, 44, 0.12);
}
	.logo-airport {
    max-width: min(16vw, 12rem);
    margin-right: 0;
}
.logo-pompeis-topbar {
    height: clamp(5.88rem, 5.53vh, 6.1rem);
    max-width: min(39.2vw, 28.4rem);
}
.logo-adsi {
    height: clamp(5.25rem, 6.3vh, 6rem);
}
	.gallery-columns {
		grid-template-columns: 1fr;
	}

	.detail-bottom-section {
		grid-template-columns: 1fr;
	}

}

@media (min-width: 781px) and (max-width: 1023px) {
	    .topbar-branding, .topbar-branding-row1, .topbar-branding-row2, .topbar-branding-row3 {
		flex-direction: column !important;
		align-items: center !important;
		gap: 1.1rem !important;
	}
	.topbar-branding-row1 h1,
	.topbar-branding-row1 .topbar-subtitle {
		text-align: center !important;
		font-size: 2.1rem !important;
		line-height: 1.13 !important;
		margin-bottom: 0.3rem !important;
		font-weight: 700 !important;
		letter-spacing: 0.01em !important;
	}


	.topbar-branding-row1 .topbar-subtitle {
		font-size: 1.25rem !important;
		margin-top: 0.1rem !important;
		color: var(--ink-soft);
		font-weight: 500 !important;
	}

	.topbar-branding-row3 {
		flex-direction: column !important;
		align-items: center !important;
		justify-content: center !important;
		gap: 0.7rem !important;
		width: 100%;
	}
	 .qrcode-img {
		height: 2.1rem !important;
		max-width: 18vw !important;
	}
.logo-pompeis-topbar {
		height: 4.2rem !important;
		max-width: 38vw !important;
	}
	 .logo-adsi {
		height: 4.1rem !important;
		max-width: 40vw !important;
	}
	.logo-airport {
		height: 2.2rem !important;
		max-width: 22vw !important;
	}
	.topbar-copy h1{ 
		text-align: center !important;
		width: 100%;
		font-size: clamp(2.35rem, 0.7vw, 1.55rem) !important;
	}
	.detail-extra-gallery-grid{
	align-items: center!important;
}

	.topbar-copy h2 {
		text-align: center !important;
		width: 100%;
		font-size: clamp(1.65rem, 1.7vw, 1.55rem) !important;
	}
		.detail-footer-bar {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 0.3rem;
	}
	.photo-grid-main {
		grid-template-columns: repeat(3, 1fr);
	}

	.content-section {
		grid-template-columns: 1fr;
	}

	.content-section-right {
		grid-template-columns: 1fr;
	}

	.content-section-right .section-images {
		order: 0;
	}

	body.homepage {
		overflow-y: auto;
	}

	.totem-home {
		min-height: 100vh;
		height: auto;
		grid-template-rows: auto auto 1fr auto;
	}

	.gallery-columns {
		grid-template-columns: 1fr;
	}

	.gallery-column {
		display: flex;
		flex-direction: column;
	}

	.totem-footer {
		padding-top: 1.85rem;
		padding-bottom: 1.85rem;
	}
	.footer-province-label {
		order: 1;
		width: 100%;
		text-align: center;
		margin-bottom: 0.2rem;
	}
	.detail-nav-actions .lang-switch {
    margin-left: 4.2rem!important;
}
	 .detail-nav-actions {
		order: 2;
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: center!important;
		align-items: center!important;
		gap: 1.4rem;
		width: 100%;
	}
	.topbar-copy {
		justify-content: center !important;
		align-items: center !important;
		width: 100%;
	}
}
@media (min-width: 581px) and (max-width: 780px) {
	    .topbar-branding, .topbar-branding-row1, .topbar-branding-row2, .topbar-branding-row3 {
		flex-direction: column !important;
		align-items: center !important;
		gap: 1.1rem !important;
	}
.detail-extra-gallery-grid{
	align-items: center!important;
	justify-content: center!important;
}

	.topbar-branding-row1 h1,
	.topbar-branding-row1 .topbar-subtitle {
		text-align: center !important;
		font-size: 2.1rem !important;
		line-height: 1.13 !important;
		margin-bottom: 0.3rem !important;
		font-weight: 700 !important;
		letter-spacing: 0.01em !important;
	}


	.topbar-branding-row1 .topbar-subtitle {
		font-size: 1.25rem !important;
		margin-top: 0.1rem !important;
		color: var(--ink-soft);
		font-weight: 500 !important;
	}

	.topbar-branding-row3 {
		flex-direction: column !important;
		align-items: center !important;
		justify-content: center !important;
		gap: 0.7rem !important;
		width: 100%;
	}
	 .qrcode-img {
		height: 2.1rem !important;
		max-width: 18vw !important;
	}
.logo-pompeis-topbar {
		height: 4.2rem !important;
		max-width: 38vw !important;
	}
	 .logo-adsi {
		height: 4.1rem !important;
		max-width: 40vw !important;
	}
	.logo-airport {
		height: 2.2rem !important;
		max-width: 22vw !important;
	}
	.topbar-copy h1{ 
		text-align: center !important;
		width: 100%;
		font-size: clamp(2.35rem, 0.7vw, 1.55rem) !important;
	}
	.topbar-copy h2 {
		text-align: center !important;
		width: 100%;
		font-size: clamp(1.65rem, 1.7vw, 1.55rem) !important;
	}
	  .lang-btn {
        min-width: 30px;
        min-height: 25px;
		}
			 .partner-col-left
	 {
		align-items: center;
		justify-content: center;
		width: 100%;
	}
	 .partner-col-right {
		align-items: center;
		justify-content: center;
		width: 100%;
	   gap: 1.3vh;

	}
	.topbar-copy {
		justify-content: center !important;
		align-items: center !important;
		width: 100%;
	}
}
@media (max-width: 580px) {
	.topbar-branding,
	.topbar-branding-row3 {
		display: flex !important;
		flex-direction: column !important;
		align-items: center !important;
		justify-content: center !important;
		width: 100%;
		margin-top: 2vh;
		    padding: clamp(0.5rem, 1vh, 1rem) !important;
			text-align: center !important;
		}
	.topbar-branding-row3 {
		flex-direction: row !important;
		gap: clamp(0.3rem, 2vw, 0.7rem) !important;
	}

	/* HEADER: centro tutto il blocco testo - ora regole comuni */
	.topbar-copy-shell {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		width: 100%;
	}
	.topbar-copy {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		width: 100%;
	}
	.topbar-copy h1,
	.topbar-copy h2 {
		text-align: center !important;
		width: 100%;
	}

	/* BARRA PROVINCIA: provincia sopra, bottoni sotto, tutto centrato */
	.detail-footer-bar {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 0.3rem;
	}
	.footer-province-label {
		order: 1;
		width: 100%;
		text-align: center;
		margin-bottom: 0.2rem;
	}
	    .lang-btn {
        min-width: 30px;
        min-height: 25px;
		}
	 .detail-nav-actions {
		order: 2;
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: center!important;
		align-items: center!important;
		gap: 0.5rem;
		width: 100%;
	}


/* HEADER E FOOTER UNIFICATI: stile homepage applicato ovunque */
.topbar-branding,
.topbar-branding-row1,
.topbar-branding-row2,
.topbar-branding-row3 {
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100%;
	text-align: center !important;
}
.topbar-branding-row3 {
	flex-direction: row !important;
	gap: clamp(0.3rem, 2vw, 0.7rem) !important;
}
.topbar-branding-row3 .logo-carsa,
.topbar-branding-row3 .logo-micro,
.topbar-branding-row3 .qrcode-img {
	height: clamp(2.2rem, 10vw, 2.8rem) !important;
	max-width: 24vw !important;
	margin: 0 0.1rem !important;
	display: inline-block !important;
	vertical-align: middle !important;
}
.partner-bar {
	grid-template-columns: 1fr;
	gap: 0.3rem;
}
.partner-col-left,
.partner-col-right {
	align-items: center;
	justify-content: center;
	width: 100%;
}
.logos-row,
.partner-bar .logos-row {
	display: flex !important;
	flex-direction: row !important;
	justify-content: center !important;
	align-items: center !important;
	gap: clamp(0.3rem, 2vw, 0.7rem) !important;
	width: 100%;
}
.logo-carsa,
.logo-micro,
.logo-small {
	height: clamp(1.5rem, 7vw, 2.2rem) !important;
	max-width: 28vw !important;
	margin: 0 0.1rem !important;
	display: inline-block !important;
	vertical-align: middle !important;
}
.partner-label {
	text-align: center !important;
	width: 100% !important;
}


/* HEADER HOMEPAGE MOBILE */
	.topbar-branding {
		display: flex !important;
		flex-direction: column !important;
		align-items: center !important;
		justify-content: center !important;
		gap: 0.5rem;
		width: 100%;
	}
	.topbar-branding-row1 {
		display: flex !important;
		flex-direction: row !important;
		align-items: center !important;
		justify-content: center !important;
		gap: 0.5rem;
		width: 100%;
	}
	.topbar-branding-row1 h1,
	.topbar-branding-row1 .topbar-subtitle {
		margin: 0 !important;
		padding: 0 !important;
		font-size: 1.1rem !important;
		font-weight: 600 !important;
		text-align: center !important;
		white-space: normal !important;
	}
	.topbar-branding-row2 {
		margin: 0.2rem 0 0.2rem 0 !important;
		display: flex !important;
		justify-content: center !important;
		align-items: center !important;
		width: 100%;
	}

	.topbar-branding-row3 {
		display: flex !important;
		flex-direction: row !important;
		justify-content: center !important;
		align-items: center !important;
		gap: clamp(0.3rem, 2vw, 0.7rem) !important;
		width: 100%;
	}
	.topbar-branding-row3 .logo-carsa,
	.topbar-branding-row3 .logo-micro,
	.topbar-branding-row3 .qrcode-img {
		height: clamp(2.2rem, 10vw, 2.8rem) !important;
		max-width: 24vw !important;
		margin: 0 0.1rem !important;
		display: inline-block !important;
		vertical-align: middle !important;
	}

/* FOOTER HOMEPAGE MOBILE */
	body.homepage .logos-row,
	body.homepage .partner-bar .logos-row {
		display: flex !important;
		flex-direction: row !important;
		justify-content: center !important;
		align-items: center !important;
		gap: clamp(0.3rem, 2vw, 0.7rem) !important;
		width: 100%;
	}
	body.homepage .logo-carsa,
	body.homepage .logo-micro,
	body.homepage .logo-small {
		height: clamp(1.5rem, 7vw, 2.2rem) !important;
		max-width: 28vw !important;
		margin: 0 0.1rem !important;
		display: inline-block !important;
		vertical-align: middle !important;
	}

/* FOOTER LOCALITA MOBILE */
/* tutte le regole localita rimosse: ora usa solo quelle globali/homepage */

	.topbar-branding-row3, 
	.topbar-branding-row3 > .logos-row, 
	.topbar-branding-row3 > .logos-row, 
	.topbar-branding-row3 > * {
		display: flex !important;
		flex-direction: row !important;
		justify-content: center !important;
		align-items: center !important;
		gap: clamp(0.3rem, 2vw, 0.7rem) !important;
		width: 100%;
	}

	/* Card altezza -20% */
	body.homepage .location-card {
		height: 80% !important;
		min-height: unset !important;
		max-height: unset !important;
	}
	body.homepage .location-card .card-img-top {
		height: 38vw !important;
		max-height: 160px !important;
		object-fit: cover;
	}
	body.homepage .location-card .card-body {
		padding: 0.7rem 0.5rem 0.5rem 0.5rem !important;
	}

	.topbar-branding {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: flex-start;
		gap: 0.5rem;
	}
	.topbar-branding-row1 {
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: center;
		gap: 0.5rem;
		width: 100%;
	}
	.topbar-branding-row1 h1,
	.topbar-branding-row1 .topbar-subtitle {
		margin: 0;
		padding: 0;
		font-size: 1.1rem;
		font-weight: 600;
		text-align: center;
		white-space: normal;
	}
	.topbar-branding-row2 {
		margin: 0.2rem 0 0.2rem 0;
		display: flex;
		justify-content: center;
		align-items: center;
		width: 100%;
	}

	.topbar-branding-row3 {
		display: flex;
		flex-direction: row;
		justify-content: center;
		align-items: center;
		gap: clamp(0.3rem, 2vw, 0.7rem);
		width: 100%;
	}
	body.homepage .logo-carsa,
	body.homepage .logo-micro {
		height: clamp(1.5rem, 7vw, 2.2rem);
		max-width: 24vw;
		margin: 0 0.1rem;
		display: inline-block;
		vertical-align: middle;
	}
	body.homepage .qrcode-img {
		height: clamp(2.2rem, 10vw, 2.8rem);
		margin-left: 0.3rem;
	}


	body.homepage .logo-carsa,
	body.homepage .logo-micro {
		height: clamp(1.5rem, 7vw, 2.2rem);
		max-width: 24vw;
		margin: 0 0.1rem;
		display: inline-block;
		vertical-align: middle;
	}
	body.homepage .qrcode-img {
		height: clamp(2.2rem, 10vw, 2.8rem);
		margin-left: 0.3rem;
	}

	 .partner-bar {
		grid-template-columns: 1fr;
		gap: 0.3rem;
		display: flex;
		flex-direction: row;
	}
	 .partner-col-left
	 {
		align-items: center;
		justify-content: center;
		width: 100%;
	}
	 .partner-col-right {
		align-items: center;
		justify-content: center;
		width: 100%;
	   gap: 1.3vh;

	}
	body.homepage .logos-row {
		flex-direction: row;
		justify-content: center;
		align-items: center;
		gap: clamp(0.3rem, 2vw, 0.7rem);
		width: 100%;
	}
	body.homepage .logo-carsa,
	body.homepage .logo-micro,
	body.homepage .logo-small {
		height: clamp(1.5rem, 7vw, 2.2rem);
		max-width: 28vw;
		margin: 0 0.1rem;
		display: inline-block;
		vertical-align: middle;
	}
	body.homepage .partner-label {
		text-align: center;
		width: 100%;
	}
	body.homepage .totem-topbar,
	body.homepage .totem-gallery,
	body.homepage .totem-footer {
		padding-left: var(--page-gutter-mobile);
		padding-right: var(--page-gutter-mobile);
		padding-top: clamp(1.3rem, 1vh, 1rem);
	}

	.topbar-branding {
		flex-direction: column;
		align-items: center;
		justify-content: center;
		ALIGN-ITEMS: CENTER;
		gap: clamp(1.6rem, 4vw, 1.95rem);
	}

	body.homepage .topbar-copy-shell {
		width: 100%;
		justify-content: center;
	}

	body.homepage .topbar-copy {
		max-width: 100%;
		align-items: center;
	}

 .topbar-copy h1 {
		text-align: center;
	font-size: clamp(1.7rem, 2vw, 2.25rem) !important;
		line-height: 1.08;

	}

	body.homepage .topbar-copy h2 {
		text-align: center;
		font-size: clamp(0.9rem, 4.2vw, 1.1rem);
		line-height: 1.24;
		margin-top: clamp(0.16rem, 1.2vw, 0.32rem);
		text-wrap: pretty;
	}
.logo-airport {
           max-width: min(32vw, 25rem);
    margin-right: 0;
}
.logo-adsi
 {
    height: clamp(4rem, 4.2vh, 4.2rem);
}
	.topbar-right {
		width: 100%;
		min-width: 0;
		align-items: center;
	}

	.topbar-logos {
		width: 100%;
		min-width: 0;
		justify-content: center;
		flex-wrap: wrap;
		row-gap: clamp(0.5rem, 2.2vw, 0.8rem);
		column-gap: clamp(0.55rem, 2.6vw, 1rem);
	}



	body.homepage .qr-pdf-link {
		gap: 0.18rem;
	}

	body.homepage .qr-pdf-img {
		height: clamp(4rem, 9vw, 5.8rem);
	}

	body.homepage .qr-pdf-label {
		font-size: clamp(0.68rem, 3.4vw, 0.92rem);
		max-width: 9rem;
	}

	body.homepage .gallery-columns {
		grid-template-columns: 1fr;
	}

	.detail-topbar,
	.detail-title-section,
	.detail-info-section,
	.detail-bottom-section,
	.detail-footer-bar,
	.detail-logo-footer {
		padding-left: var(--page-gutter-mobile);
		padding-right: var(--page-gutter-mobile);
	}

	.detail-bottom-section {
		grid-template-columns: 1fr;
	}

	.detail-left-col,
	.detail-right-col {
		gap: clamp(0.45rem, 1.2vh, 0.75rem);
	}

	.gallery-thumb {
		aspect-ratio: 16 / 10;
	}

	.gallery-thumb-frame.is-vertical .gallery-thumb {
		aspect-ratio: auto;
		max-height: none;
		width: 100%;
	}

	.gallery-thumb-frame.is-vertical {
		width: 100%;
	}

	.palace-description {
		max-width: none;
		font-size: clamp(0.92rem, 3.8vw, 1rem);
		line-height: 1.68;
	}

	.detail-extra-gallery-section {
		padding-left: 0;
		padding-right: 0;
	}

	.detail-extra-gallery-grid {
		height: clamp(180px, 32vh, 340px);
		align-items: center!important;
			justify-content: center!important;
	}

	.detail-footer-bar {
		flex-wrap: wrap;
		gap: 0.5rem;
	}

	.detail-nav-actions {
		width: 100%;
		justify-content: flex-end;
		flex-wrap: wrap;
	}

	.localita-page {
		padding: 0.7rem var(--page-gutter-mobile) 1rem;
	}

	.detail-header {
		grid-template-columns: 1fr;
		gap: 0.4rem;
	}

	.header-nav {
		width: 100%;
	}

	.header-title {
		width: 100%;
	}

	.header-title h1 {
		font-size: clamp(1.3rem, 2.2vw, 1.8rem);
	}

	.photo-grid-main {
		grid-template-columns: repeat(2, 1fr);
	}

	.footer-back {
		float: none;
		display: block;
		margin-bottom: 0.45rem;
	}

	.section-images {
		grid-template-columns: 1fr;
	}



	.topbar-copy h1,
	.topbar-copy h2 {
		text-align: left;
		text-shadow: 0 1px 2px rgba(55, 28, 44, 0.12);
	}

	.topbar-copy h2 {
		width: 100%;
		margin-left: 0;
		margin-right: 0;
	}


	.topbar-logo {
		width: clamp(3.2rem, 16vw, 5.3rem);
	}

	.location-card {
		grid-template-columns: 50% 1fr clamp(0.5rem, 1.4vw, 0.85rem);
		height: clamp(13rem, 33vh, 18.8rem);
	}

	.card-content h3 {
		font-size: clamp(0.95rem, 3.4vw, 1.2rem);
	}

	.partner-bar {
		grid-template-columns: 1fr;
		align-items: flex-start;
		gap: 4.5rem;
	}

	.partner-col-center,
	.partner-col-right {
		align-items: flex-start;
	}

	.legal-links {
		text-align: left;
	}
}

@media (min-width: 1600px) {
	.location-card {
		height: clamp(15.6rem, 24vh, 19rem);
		min-height: 15.6rem;
	}
}