/*
 * Taxi Varenna - stili aggiuntivi del progetto.
 * Completano il tema senza modificarne i file originali.
 */

/* Loghi: il file PNG ha sfondo bianco, lo trattiamo come un badge pulito */
.st-header-logo a img,
.offcanvas__logo img,
.st__footer__logo img,
.preloader__logo img {
	width: auto;
	max-width: 300px;
	height: 70px;
	object-fit: contain;
	background-color: #fff;
	padding: 6px 6px;
	border-radius: 6px;
}

.preloader__logo img {
	height: 90px;
}

/* Honeypot anti-spam: campo invisibile agli utenti reali */
.st__form__hidden {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Messaggi di conferma o errore dei form */
.st__form__message {
	display: block;
	padding: 18px 24px;
	border-radius: 6px;
	border-left: 4px solid #2e7d32;
	background-color: #e8f5e9;
	color: #1b5e20;
	font-size: 16px;
	line-height: 1.6;
}

.st__form__message a {
	color: #1b5e20;
	text-decoration: underline;
}

.st__form__message--error {
	border-left-color: #c62828;
	background-color: #fdecea;
	color: #8e1c1c;
}

.st__form__message--error a {
	color: #8e1c1c;
}

/* Selettore lingua nel menu principale */
.lang-switcher > a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.lang-menu li a {
	display: flex;
	align-items: center;
	gap: 10px;
	white-space: nowrap;
}

.lang-menu li a .fi {
	border-radius: 2px;
	box-shadow: 0 0 1px rgba(0, 0, 0, 0.35);
}

/* Titoli di sezione e breadcrumb: il tema stilizza solo h1/h2, qui allineiamo i tag usati per la semantica SEO */
.st__section__title h2 {
	font-size: 48px;
	line-height: 52px;
	color: var(--st-theme-color-two);
	font-weight: 600;
	margin-top: 22px;
}

.slider-content{
	padding: 10px;
	background-color: rgba(0, 0, 0, 0.2);
}
@media (max-width:500px) {
	.slider-content{
	background-color: rgba(0, 0, 0, 0.4);
	}
}
.slider-content h2 {
	color: var(--st-theme-color-white);
	line-height: 84px;
	font-size: 72px;
	font-weight: 600;
}

.owl-item.active .slider-content h2 {
	animation: .60s ease-in-out 0.6s normal none 1 running fadeInDown;
	animation-fill-mode: both;
	animation-name: fadeInDown;
	-webkit-animation: .60s ease-in-out 0.6s normal none 1 running fadeInDown;
}

.breadcumb__top__content h1 {
	font-size: 72px;
	font-weight: 600;
	color: var(--st-theme-color-white);
	margin-top: 48px;
}

@media (min-width: 1200px) and (max-width: 1364px) {
	.st__section__title h2 {
		font-size: 42px;
	}

	.slider-content h2 {
		line-height: 60px;
		font-size: 52px;
	}
}

@media (min-width: 992px) and (max-width: 1199px) {
	.st__section__title h2 {
		font-size: 32px;
		line-height: 50px;
	}

	.slider-content h2 {
		line-height: 60px;
		font-size: 52px;
	}
}

@media (max-width: 991px) {
	.breadcumb__top__content h1 {
		font-size: 50px;
	}
}

@media (min-width: 768px) and (max-width: 991px) {
	.st__section__title h2 {
		font-size: 32px;
		line-height: 50px;
	}

	.slider-content h2 {
		line-height: 60px;
		font-size: 52px;
	}
}

@media (min-width: 600px) and (max-width: 767px) {
	.st__section__title h2 {
		font-size: 32px;
		line-height: 50px;
	}

	.slider-content h2 {
		line-height: 60px;
		font-size: 52px;
	}
}

@media (min-width: 480px) and (max-width: 599px) {
	.st__section__title h2 {
		font-size: 28px;
		line-height: 50px;
	}

	.slider-content h2 {
		line-height: 48px;
		font-size: 36px;
	}

	.breadcumb__top__content h1 {
		font-size: 32px;
		margin-top: 15px;
	}
}

@media (min-width: 320px) and (max-width: 479px) {
	.st__section__title h2 {
		font-size: 20px;
		line-height: 35px;
	}

	.slider-content h2 {
		line-height: 38px;
		font-size: 26px;
	}

	.breadcumb__top__content h1 {
		font-size: 32px;
		margin-top: 15px;
	}
}

/* Titoli degli articoli: il tema non definisce un'interlinea sufficiente */
.st__blog__details__all__content .heading-one {
	line-height: 1.25;
}

.st__blog__details__all__content h2.heading-one {
	font-size: 30px;
}

@media (max-width: 767px) {
	.st__blog__details__all__content .heading-one {
		font-size: 26px;
	}
}

/* Contenuti testuali delle pagine interne */
.st-text h2 {
	font-size: 32px;
	line-height: 1.25;
	margin-bottom: 20px;
}

.st-text h3 {
	font-size: 24px;
	line-height: 1.3;
	margin-top: 32px;
	margin-bottom: 14px;
}

.st-text h4 {
	font-size: 20px;
	line-height: 1.35;
	margin-top: 26px;
	margin-bottom: 12px;
}

.st-text p {
	margin-bottom: 18px;
	font-size: 17px;
	line-height: 1.75;
}

.st-text ul {
	margin: 0 0 20px 0;
	padding-left: 0;
	list-style: none;
}

.st-text ul li {
	position: relative;
	padding-left: 26px;
	margin-bottom: 10px;
	font-size: 17px;
	line-height: 1.7;
}

.st-text ul li::before {
	content: "\F26E";
	font-family: bootstrap-icons;
	position: absolute;
	left: 0;
	top: 1px;
	color: var(--st-theme-color-one);
}

.st-text a {
	color: var(--st-theme-color-two);
	text-decoration: underline;
	text-decoration-color: var(--st-theme-color-one);
	text-underline-offset: 2px;
}

.st-text a:hover {
	color: var(--st-theme-color-two);
	text-decoration-thickness: 2px;
}

/* Colonne informative nel footer */
.st__footer__link span {
	display: block;
	color: rgba(255, 255, 255, 0.75);
	font-size: 15px;
	line-height: 1.6;
	margin-bottom: 10px;
}

/* Link con icona nelle info box dei contatti */
.st__cinfobox_content a {
	color: inherit;
}

/* Contatti nell'offcanvas mobile */
.offcanvas__social p,
.offcanvas__social p a {
	color: #fff;
	font-size: 16px;
}

.offcanvas__social p a:hover {
	color: var(--st-theme-color-one);
}

@media (max-width: 767px) {
	.st-text h2 {
		font-size: 26px;
	}

	.st-text h3 {
		font-size: 21px;
	}
}


.lh-4{
	min-height: 4lh	;
}

/* Card delle destinazioni: aeroporti, località, tour e settimane bianche */
.st__dest__card {
	display: flex;
	flex-direction: column;
	height: 100%;
	margin-bottom: 30px;
	background: #fff;
	border-radius: 6px;
	overflow: hidden;
	box-shadow: 0 1px 20px rgba(109, 109, 109, 0.11);
}

.st__dest__card__thumb {
	overflow: hidden;
	line-height: 0;
}

.st__dest__card__thumb img {
	width: 100%;
	height: 210px;
	object-fit: cover;
	transition: transform 0.5s;
}

.st__dest__card:hover .st__dest__card__thumb img {
	transform: scale(1.05);
}

.st__dest__card__body {
	flex: 1 1 auto;
	padding: 20px 22px 22px;
	border-left: 4px solid var(--st-theme-color-one);
}

.st__dest__card__body h3 {
	font-size: 20px;
	line-height: 1.3;
	font-weight: 600;
	margin-bottom: 8px;
	color: var(--st-theme-color-two);
}

.st__dest__card__body p {
	font-size: 15px;
	line-height: 1.6;
	margin-bottom: 0;
}

@media (max-width: 575px) {
	.st__dest__card__thumb img {
		height: 180px;
	}
}

/* Galleria di tre immagini in una riga */
.st__gallery__grid img {
	width: 100%;
	height: 220px;
	object-fit: cover;
	border-radius: 6px;
	margin-bottom: 30px;
}

@media (max-width: 767px) {
	.st__gallery__grid img {
		height: 200px;
	}
}

/* Riga di link interni verso servizi e pagine correlate */
.st__related__links ul {
	columns: 2;
	column-gap: 32px;
}

@media (max-width: 575px) {
	.st__related__links ul {
		columns: 1;
	}
}