/**
 * Personalizaciones heredadas del sitio público Tour Salinerito.
 * Migradas desde Apariencia > Personalizar > CSS adicional.
 *
 * Se eliminan reglas de prueba y se corrigen errores de sintaxis del CSS original.
 */

/* Enlaces especiales del menú. */
.texto-verde a {
	color: #006400 !important;
}
.texto-verde a:hover,
.texto-verde a:focus-visible {
	color: #004d00 !important;
}
.texto-violeta a {
	color: #6f27f5 !important;
	font-weight: 700;
}
.texto-violeta a:hover,
.texto-violeta a:focus-visible {
	color: #c449b8 !important;
}

/* Mapas de los Trips. */
.trip-map iframe {
	display: block;
	max-width: 100%;
	margin-bottom: 30px !important;
}

/* Oculta el formulario de consultas de WP Travel Engine. */
.wte_enquiry_contact_form-wrap {
	display: none !important;
}

/* Título de las fichas de viajes. */
body.single-trip .entry-header .entry-title {
	color: #006400 !important;
}

/*
 * Duración de los Trips.
 * El número o bloque .duration se muestra en verde y la unidad .days en amarillo/anaranjado,
 * reproduciendo el aspecto del sitio público.
 */
body.single-trip .entry-header .wte-title-duration .duration,
body.single-trip .entry-header .wte-duration-night .duration {
	display: inline-flex !important;
	min-height: 2.1rem;
	align-items: center;
	justify-content: center;
	padding: .4rem .72rem !important;
	border: 0 !important;
	border-radius: .35rem 0 0 .35rem !important;
	background: #006400 !important;
	background-image: none !important;
	color: #fff !important;
	font-weight: 800 !important;
	line-height: 1.15 !important;
}

body.single-trip .entry-header .wte-title-duration .days,
body.single-trip .entry-header .wte-duration-night .days {
	display: inline-flex !important;
	min-height: 2.1rem;
	align-items: center;
	justify-content: center;
	padding: .4rem .72rem !important;
	border: 0 !important;
	border-radius: 0 .35rem .35rem 0 !important;
	background: #d98929 !important;
	background-image: none !important;
	color: #fff !important;
	font-weight: 800 !important;
	line-height: 1.15 !important;
}

/* Respaldo para versiones de WP Travel Engine que usan otras clases. */
body.single-trip .entry-header [class*="title-duration"] [class~="duration"],
body.single-trip .entry-header [class*="duration-night"] [class~="duration"] {
	background-color: #006400 !important;
	color: #fff !important;
}
body.single-trip .entry-header [class*="title-duration"] [class~="days"],
body.single-trip .entry-header [class*="duration-night"] [class~="days"] {
	background-color: #d98929 !important;
	color: #fff !important;
}

/* Opciones de origen o tarifa en el proceso de reserva. */
.wte-process-tab-content .wte-button-group .wte-check-button {
	background-color: #a8a097 !important;
	color: #4f4c48 !important;
}
.wte-check-button.checked {
	background-color: #008000 !important;
	color: #fff !important;
}
.wte-popup-sidebar .wte-booking-summary .wte-booking-summary-info .wte-booking-summary-info-title {
	background-color: #008000 !important;
	color: #fff !important;
}

/* ==========================================================
 * FOOTER: fondo único con la fotografía Atardecer-uno.
 * ========================================================== */
footer.site-footer,
#colophon,
.tm-footer,
.elementor-location-footer {
	--tmp-uf-bg-color: transparent !important;
	position: relative !important;
	min-height: 320px;
	background-image:
		linear-gradient(to top, rgba(0, 0, 0, .38), rgba(0, 0, 0, .15)),
		url('../images/footer-atardecer-uno.webp') !important;
	background-repeat: no-repeat !important;
	background-position: center center !important;
	background-size: cover !important;
	color: #fff !important;
}

/* Todas las áreas internas heredan el mismo fondo visual. */
footer.site-footer .footer-top,
footer.site-footer .footer-widgets,
footer.site-footer .footer-bottom,
footer.site-footer .site-info,
footer.site-footer .tm-footer__top,
footer.site-footer .tm-footer__bottom,
footer.site-footer .container,
footer.site-footer .container-fluid,
#colophon .footer-top,
#colophon .footer-widgets,
#colophon .footer-bottom,
#colophon .site-info,
.site-info,
.footer-bottom,
.tm-footer__bottom {
	background: transparent !important;
	background-color: transparent !important;
}

.site-footer .footer-b {
	--tmp-bf-bg-color: transparent !important;
	background: transparent !important;
	background-color: transparent !important;
	color: #000 !important;
}

/* Evita overlays del tema que cubran la fotografía. */
footer.site-footer::before,
#colophon::before,
.tm-footer::before,
.site-info::before,
.footer-bottom::before,
.tm-footer__bottom::before {
	content: none !important;
	background: transparent !important;
}

/* Títulos y textos del footer. */
footer.site-footer .widget .widget-title {
	color: #f4a8ff !important;
}
footer.site-footer .widget_block .wp-block-heading,
footer.site-footer .wp-block-heading,
footer#colophon .wp-block-heading {
	color: #ffdf20 !important;
	font-size: 17px !important;
}
footer.site-footer .widget .widget_block .widget_text,
footer.site-footer .widget_text,
footer#colophon .widget_text p {
	font-family: "Arial Narrow", Arial, sans-serif;
	font-size: 15px;
	font-style: italic !important;
	color: #fff !important;
}

/* Menús del footer. */
footer .widget_nav_menu .menu > li {
	--tmp-uf-text-color: #fff !important;
	--tmp-uf-link-hover-color: #05df72 !important;
	margin: 1px 0 !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	line-height: 2 !important;
}
footer .widget_nav_menu .widget-title {
	margin-bottom: 6px !important;
}
footer .widget_nav_menu a {
	color: #fff !important;
}
footer .widget_nav_menu a:hover,
footer .widget_nav_menu a:focus-visible {
	color: #05df72 !important;
}

/* Slogan del footer. */
footer.site-footer #block-19 p,
footer#colophon #block-16 a {
	font-family: sans-serif;
	font-size: 15px;
	font-weight: 700 !important;
	color: #2f0d68 !important;
}

/* Barra de copyright. */
.footer-b-wrap .copyright p {
	box-sizing: border-box !important;
	margin: 0 !important;
	padding: 0 !important;
}
.site-footer .footer-b .footer-b-wrap a {
	color: #000 !important;
}
.site-footer .footer-b .footer-b-wrap .author-link,
.site-footer .footer-b .footer-b-wrap .wp-link {
	display: none !important;
}
.site-footer .footer-b::before,
.site-footer .footer-b::after {
	content: none !important;
	background: transparent !important;
}

/* Imagen/logotipo del bloque existente del footer en escritorio. */
@media (min-width: 1025px) {
	footer.site-footer .widget_block .wp-block-heading,
	footer.site-footer .wp-block-heading,
	footer#colophon .wp-block-heading {
		color: #f4a8ff !important;
		font-size: 20px !important;
	}

	footer.site-footer .widget .widget_block .widget_text,
	footer.site-footer .widget_text,
	footer#colophon .widget_text p {
		font-size: 18px;
	}

	footer.site-footer #block-19 p,
	footer#colophon #block-16 a {
		font-family: "Comic Sans MS", cursive;
		color: #000 !important;
	}

	#block-23 .wp-block-image {
		display: inline-block;
		width: 120px;
		height: 93px;
		background-image: url('../images/footer-logo-blue-green.webp') !important;
		background-repeat: no-repeat !important;
		background-position: center center !important;
		background-size: contain !important;
	}

	#block-23 .wp-block-image img {
		opacity: 0 !important;
		visibility: hidden !important;
	}

	.footer-b-wrap .copyright p {
		text-align: right !important;
	}
}

@media (max-width: 1024px) {
	footer .footer-widgets .widget_text,
	footer .footer-widgets .widget_text .textwidget,
	footer .footer-widgets .widget_text a:link,
	footer .footer-widgets .widget_text a:visited {
		color: #fff !important;
	}
	footer .footer-widgets .widget_text a:hover,
	footer .footer-widgets .widget_text a:focus {
		color: #fff !important;
		opacity: .85;
	}
}
