/*
Theme Name: machupicchuspirttheme
Theme URI:
Author:
Description: Tema Machu Picchu Spirit
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: machupicchuspirit
*/

/* ==========================================================================
   TEMA LIGHT: escala de grises (sin blanco puro #fff)
   ========================================================================== */
:root {
	/* Neutros (escala gris) */
	--color-white: #ffffff;
	--color-gray-50: #f8f9fa;
	--color-gray-100: #eef1f3;
	--color-gray-200: #dce2e6;
	--color-gray-300: #b8c4cc;
	--color-gray-400: #8a9ba8;
	--color-gray-500: #6b7d8a;
	--color-gray-600: #4d5d6b;
	--color-gray-700: #354250;
	--color-gray-800: #1e2a35;
	--color-gray-900: #0f161c;

	/* Fondos y texto (light: tonos más claros) */
	--color-bg: var(--color-gray-50);
	--color-text: var(--color-gray-600);
	--color-text-muted: var(--color-gray-500);
	--color-bar-bg: var(--color-gray-600);
	--color-bar-text: var(--color-gray-100);
	--color-panel-bg: var(--color-gray-100);
	--color-hero-bg: var(--color-gray-700);

	/* Acento para títulos/énfasis (se mantiene en light) */
	--color-primary: var(--color-gray-600);
	--color-primary-light: var(--color-gray-500);
	--color-primary-mid: var(--color-gray-500);
	--color-primary-dark: var(--color-gray-700);
	--color-accent: #fdc000;
	--color-accent-light: #ffd84d;
	--color-accent-dark: #c99700;

	/* Superficies (cards: muy claros) */
	--color-card-bg: var(--color-gray-50);
	--color-card-border: var(--color-gray-200);
	--color-card-shadow: rgba(15, 22, 28, 0.04);
	--color-card-shadow-strong: rgba(15, 22, 28, 0.08);

	/* Sección Home One */
	--color-homeone-bg: #ededed;

	/* Sección Home Two */
	--color-hometwo-bg: #dbe5ed;

	--section-margin-h: 8%;

	/* Header categoría/single: siempre el mismo color, no cambia con el tema */
	--color-header-bg: #023048;
}

/* ==========================================================================
   TEMA DARK: primario azul, acento dorado, fondos oscuros
   ========================================================================== */
[data-theme="dark"] {
	/* Primario (azul) */
	--color-primary: #023048;
	--color-primary-light: #034a6b;
	--color-primary-mid: #155c7d;
	--color-primary-dark: #011c2a;

	/* Acento (dorado) */
	--color-accent: #fdc000;
	--color-accent-light: #ffd84d;
	--color-accent-dark: #c99700;

	/* Fondos y texto */
	--color-bg: #023048;
	--color-text: #e8eef2;
	--color-text-muted: #8bb4c4;
	--color-bar-bg: var(--color-primary);
	--color-bar-text: #fff;
	--color-panel-bg: var(--color-primary);
	--color-hero-bg: #011c2a;

	/* Superficies (cards) */
	--color-card-bg: #034a6b;
	--color-card-border: rgba(255, 255, 255, 0.1);
	--color-card-shadow: rgba(0, 0, 0, 0.2);
	--color-card-shadow-strong: rgba(0, 0, 0, 0.35);
	--color-homeone-bg: var(--color-hero-bg);
	--color-hometwo-bg: var(--color-primary-mid);
}


* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html,
body {
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: 0;
	overflow-x: hidden;
	font-family: "Open Sans", sans-serif;
	background-color: var(--color-bg);
	color: var(--color-text);
	transition: background-color 0.3s ease, color 0.3s ease;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
	font-family: "Poiret One", sans-serif;
}

p,
li {
	font-family: "Open Sans", sans-serif;
}

/* ==========================================================================
   Home Tree Widget
   ========================================================================== */
.home-tree-widget {
	margin-bottom: 2rem;
}

.home-tree {
	font-family: "Open Sans", sans-serif;
	line-height: 1.6;
}

.home-tree-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.home-tree-sublist {
	list-style: none;
	padding-left: 1.5rem;
	margin: 0.5rem 0;
	display: none;
}

.home-tree-item {
	margin-bottom: 0.5rem;
	position: relative;
}

.home-tree-item.has-children>.home-tree-link {
	font-weight: 600;
	color: var(--color-primary);
}

.home-tree-link {
	display: block;
	padding: 0.5rem 1rem;
	color: var(--color-text);
	text-decoration: none;
	border-radius: 4px;
	transition: all 0.2s ease;
	position: relative;
}

.home-tree-link:hover,
.home-tree-item.current-menu-item>.home-tree-link {
	background-color: rgba(21, 92, 125, 0.08);
	color: var(--color-accent);
}

.home-tree-item.has-children>.home-tree-link::after {
	content: '+';
	position: absolute;
	right: 1rem;
	font-weight: bold;
	transition: transform 0.3s ease;
}

.home-tree-item.has-children.active>.home-tree-link::after {
	content: '-';
}

.home-tree-item.has-children.active>.home-tree-sublist {
	display: block;
}

/* Responsive adjustments */
@media (max-width: 768px) {
	.home-tree-sublist {
		padding-left: 1rem;
	}

	.home-tree-link {
		padding: 0.4rem 0.8rem;
	}
}

/* ==========================================================================
   Área principal (páginas interiores): fondo gris suave y ancho del texto
   ========================================================================== */

/* Contenedor principal del contenido (margen 8%, sin max-width) */
.site-content {
	margin-left: var(--section-margin-h);
	margin-right: var(--section-margin-h);
	padding: 0 20px;
	width: auto;
	box-sizing: border-box;
}

/* Tipografía solo dentro de .main-content-container */
.main-content-container h1 {
	font-family: "Poiret One", sans-serif;
	font-size: 2.25rem;
	font-weight: 400;
	line-height: 1.2;
	margin: 0 0 0.75rem;
	color: var(--color-primary);
}

.main-content-container h2 {
	font-family: "Poiret One", sans-serif;
	font-size: 1.875rem;
	font-weight: 400;
	line-height: 1.25;
	margin: 1.5rem 0 0.5rem;
	color: var(--color-primary);
}

.main-content-container h3 {
	font-family: "Poiret One", sans-serif;
	font-size: 1.5rem;
	font-weight: 400;
	line-height: 1.3;
	margin: 1.25rem 0 0.5rem;
	color: var(--color-primary-mid);
}

.main-content-container h4 {
	font-family: "Poiret One", sans-serif;
	font-size: 1.25rem;
	font-weight: 400;
	line-height: 1.35;
	margin: 1rem 0 0.5rem;
	color: var(--color-accent);
}

.main-content-container h5 {
	font-family: "Poiret One", sans-serif;
	font-size: 1.125rem;
	font-weight: 400;
	line-height: 1.4;
	margin: 0.875rem 0 0.375rem;
	color: var(--color-text);
}

.main-content-container h6 {
	font-family: "Poiret One", sans-serif;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.4;
	margin: 0.75rem 0 0.25rem;
	color: var(--color-text-muted);
}

.main-content-container p {
	font-family: "Open Sans", sans-serif;
	font-size: 1rem;
	line-height: 1.6;
	margin: 0 0 1rem;
	color: var(--color-text);
}

[data-theme="dark"] .main-content-container h1,
[data-theme="dark"] .main-content-container h2 {
	color: var(--color-accent);
}

[data-theme="dark"] .main-content-container h3 {
	color: #b8d4e0;
}

[data-theme="dark"] .main-content-container h4,
[data-theme="dark"] .main-content-container h5,
[data-theme="dark"] .main-content-container h6 {
	color: var(--color-accent);
}

[data-theme="dark"] .main-content-container p {
	color: var(--color-text);
}

/* ==========================================================================
   Single actividad (entrada)
   ========================================================================== */

.single-actividad {
	margin-left: var(--section-margin-h);
	margin-right: var(--section-margin-h);
	padding: 0 1.5rem;
}

.single-title {
	margin: 1.5rem 0;
	font-size: 2rem;
}

/* Imagen inicial: background-image, altura reducida para ver la imagen completa */
.hero-inicial {
	width: 100%;
	max-width: 100%;
	height: 140px;
	max-height: 140px;
	min-height: 100px;
	margin-bottom: 1rem;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

@media (max-width: 50rem) {
	.hero-inicial {
		height: 100px;
		max-height: 100px;
		min-height: 80px;
	}
}

/* Hero: grid 5 imágenes (4 cols x 2 filas) */
/* Pasarela encima del slide: mismo ancho que el slide, una sola caja con una imagen, altura = slide + 50px */
.pasarela-encima-slide {
	width: 100%;
	margin-bottom: 1.5rem;
	padding: 1rem 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.pasarela-encima-slide-texto {
	font-size: 1rem;
	line-height: 1.5;
	color: #333;
	margin-bottom: 1rem;
	margin-left: var(--section-margin-h);
	margin-right: var(--section-margin-h);
}

/* Single: solo imagen hero1 (en lugar de 5 imágenes) */
.single-hero1-only .single-hero1-image {
	width: 100%;
	max-width: 100%;
	height: 22rem;
	overflow: hidden;
	border-radius: 0.5rem;
	background: #e8e8e8;
}

.single-hero1-only .single-hero1-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

@media (max-width: 50rem) {
	.single-hero1-only .single-hero1-image {
		height: 16rem;
	}
}

/* Una sola caja: carrusel automático con las 5 imágenes del slide */
.pasarela-encima-slide-caja {
	position: relative;
	width: 100%;
	height: calc(20rem + 50px);
	overflow: hidden;
	border-radius: 0.5rem;
	background: #f0f0f0;
}

.pasarela-carrusel-pista {
	display: flex;
	width: 500%;
	height: 100%;
	animation: pasarela-carrusel 25s ease-in-out infinite;
}

.pasarela-carrusel-item {
	flex: 0 0 20%;
	width: 20%;
	height: 100%;
	overflow: hidden;
}

.pasarela-carrusel-item img,
.pasarela-encima-slide-caja .pasarela-carrusel-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

@keyframes pasarela-carrusel {

	0%,
	18% {
		transform: translateX(0);
	}

	20%,
	38% {
		transform: translateX(-20%);
	}

	40%,
	58% {
		transform: translateX(-40%);
	}

	60%,
	78% {
		transform: translateX(-60%);
	}

	80%,
	98% {
		transform: translateX(-80%);
	}

	100% {
		transform: translateX(0);
	}
}

.pasarela-encima-slide-caja-texto {
	position: absolute;
	left: 1.5rem;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1.75rem;
	font-weight: 700;
	color: #fff;
	text-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.6), 0 0.0625rem 0.125rem rgba(0, 0, 0, 0.8);
	line-height: 1.2;
	z-index: 1;
}

.hero-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-template-rows: repeat(2, 12rem);
	gap: 0.5rem;
	margin: 1rem 0;
}

.hero-item {
	overflow: hidden;
}

.hero-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.hero-item-large {
	grid-column: 1 / 3;
	grid-row: 1 / 3;
}

.hero-item:empty {
	background: #eee;
}

/* Bloque presentación: fondo oscuro, ancho 100% del viewport (full-bleed) */
.single-actividad .presentacion {
	width: 100vw;
	max-width: none;
	box-sizing: border-box;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	margin-top: 1rem;
	margin-bottom: 1rem;
	background-color: #1e1e1e;
	color: #b0b0b0;
	padding: 2.5rem 0;
	border-radius: 0;
	text-align: left;
	line-height: 1.6;
}

/* Contenido interior alineado con el ancho del slider/hero */
.single-actividad .presentacion-inner {
	margin-left: var(--section-margin-h);
	margin-right: var(--section-margin-h);
	padding: 0 1.5rem;
	box-sizing: border-box;
}

.single-actividad .presentacion h2,
.single-actividad .presentacion h2:first-child {
	border: none;
	display: block;
	color: #e8e8e8;
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.3;
	margin: 0 0 1rem;
	padding: 0;
}

.single-actividad .presentacion p {
	color: #9a9a9a;
	margin: 0 0 1rem;
}

.single-actividad .presentacion p:first-of-type {
	font-size: 0.875rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #d0d0d0;
	margin-bottom: 0.75rem;
	padding-bottom: 0.75rem;
	border-bottom: 0.0625rem solid #4a4a4a;
}

.single-actividad .presentacion p:first-of-type+p {
	margin-top: 1rem;
}

.single-actividad .presentacion hr {
	border: none;
	border-top: 0.0625rem solid #4a4a4a;
	margin: 0.75rem 0 1rem;
}

.single-actividad .presentacion h3,
.single-actividad .presentacion h4,
.single-actividad .presentacion h5,
.single-actividad .presentacion h6 {
	color: #d0d0d0;
}

/* Detalles de la actividad: pills amarillo-naranja con icono y texto */
.meta-list-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin: 1.5rem 0;
	list-style: none;
}

.meta-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 1rem;
	background-color: #FFC800;
	border-radius: 2rem;
	font-size: 0.9375rem;
	font-weight: 500;
	color: #b38600;
	box-sizing: border-box;
}

.meta-pill-icon {
	flex-shrink: 0;
	color: #2C3E50;
	stroke: #2C3E50;
}

.meta-pill-text {
	color: #996600;
}

.meta-pill-tipo .meta-pill-text {
	text-decoration: underline;
}

/* Dos columnas: 70% contenido + 30% formulario */
.content-columns {
	display: flex;
	gap: 2rem;
	margin: 2rem 0;
}

.col-content {
	width: 70%;
}

.col-form {
	width: calc(30% - 2rem);
	flex-shrink: 0;
}

/* Tabs por H2 (Short Itinerary, Itinerary, Inclusions, etc.) */
.content-tabs {
	background-color: #fff;
	box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.08);
	border-radius: 0.25rem;
	padding: 1rem 0.625rem 1rem 1.25rem;
}

.tabs-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	margin-bottom: 0;
	padding: 0 0 0 0.25rem;
	box-shadow: 0 0.0625rem 0 0 rgba(0, 0, 0, 0.05);
	background: transparent;
}

.tab-btn {
	padding: 0.75rem 1.25rem;
	cursor: pointer;
	border: none;
	background: #fff;
	color: #4A6572;
	font-weight: 500;
	font-size: 0.9375rem;
	border-radius: 0.5rem 0.5rem 0 0;
	box-shadow: 0 -0.0625rem 0.25rem rgba(0, 0, 0, 0.04), 0 0 0 0.0625rem rgba(0, 0, 0, 0.05);
	transition: color 0.2s ease, box-shadow 0.2s ease;
	margin: 6px;
	margin-bottom: -0.125rem;
}

.tab-btn:not(:last-child) {
	box-shadow: 0 -0.0625rem 0.25rem rgba(0, 0, 0, 0.04), 0 0 0 0.0625rem rgba(0, 0, 0, 0.05), 0.0625rem 0 0 0 rgba(0, 0, 0, 0.04);
}

.tab-btn:hover {
	color: #36454F;
	box-shadow: 0 -0.0625rem 0.375rem rgba(0, 0, 0, 0.06), 0 0 0 0.0625rem rgba(0, 0, 0, 0.06);
}

.tab-btn:not(:last-child):hover {
	box-shadow: 0 -0.0625rem 0.375rem rgba(0, 0, 0, 0.06), 0 0 0 0.0625rem rgba(0, 0, 0, 0.06), 0.0625rem 0 0 0 rgba(0, 0, 0, 0.05);
}

.tab-btn.active {
	background: #fff;
	color: #36454F;
	font-weight: 600;
	border: none;
	box-shadow: 0 -0.0625rem 0.25rem rgba(0, 0, 0, 0.04), 0 0.0625rem 0 0 #fff, 0 0 0 0.0625rem rgba(0, 0, 0, 0.05);
}

.tab-btn.active:not(:last-child) {
	box-shadow: 0 -0.0625rem 0.25rem rgba(0, 0, 0, 0.04), 0 0.0625rem 0 0 #fff, 0 0 0 0.0625rem rgba(0, 0, 0, 0.05), 0.0625rem 0 0 0 rgba(0, 0, 0, 0.04);
}

.tab-panel {
	display: none;
	padding: 1rem 0 0 0.75rem;
	text-align: justify;
}

.tab-panel.active {
	display: block;
	animation: tab-panel-fade-in 0.5s ease forwards;
}

@keyframes tab-panel-fade-in {
	from {
		opacity: 0;
		transform: translateY(0.5rem);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Títulos en bloques de texto: h2 con borde amarillo en L, h3–h6 en negrita azul */
.single-actividad .col-content h2,
.single-actividad .presentacion h2,
.single-actividad .tab-panel h2 {
	display: inline-block;
	border-left: 0.1875rem solid #d4a84b;
	border-bottom: 0.1875rem solid #d4a84b;
	padding-left: 0.5rem;
	padding-bottom: 0.25rem;
	margin: 1.5rem 0 1rem;
	color: #333;
	font-weight: 700;
}

.single-actividad .col-content h2:first-child,
.single-actividad .presentacion h2:first-child,
.single-actividad .tab-panel h2:first-child {
	margin-top: 0;
}

.single-actividad .col-content h3,
.single-actividad .col-content h4,
.single-actividad .col-content h5,
.single-actividad .col-content h6,
.single-actividad .presentacion h3,
.single-actividad .presentacion h4,
.single-actividad .presentacion h5,
.single-actividad .presentacion h6,
.single-actividad .tab-panel h3,
.single-actividad .tab-panel h4,
.single-actividad .tab-panel h5,
.single-actividad .tab-panel h6 {
	font-weight: 700;
	color: #3C6CD1;
	margin: 1rem 0 0.5rem;
}

.single-actividad .col-content h3,
.single-actividad .presentacion h3,
.single-actividad .tab-panel h3 {
	font-size: 1.25rem;
}

/* Presentación: anular bordes/colores de col-content para mantener fondo oscuro */
.single-actividad .presentacion h2,
.single-actividad .presentacion h2:first-child {
	border-left: none;
	border-bottom: none;
	padding-left: 0;
	padding-bottom: 0;
	color: #e8e8e8;
}

.single-actividad .presentacion h3,
.single-actividad .presentacion h4,
.single-actividad .presentacion h5,
.single-actividad .presentacion h6 {
	color: #d0d0d0;
}

/* Formulario de contacto: panel blanco, sombra suave, título con línea naranja, botón gradiente */
.form-contacto {
	background: #fff;
	border-radius: 0.5rem;
	box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.08);
	padding: 1.5rem 1.5rem 1.75rem;
	box-sizing: border-box;
}

.form-contacto-title {
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #2C3E50;
	margin: 0 0 0.5rem;
	padding-bottom: 0.5rem;
	border-bottom: 0.1875rem solid #e8a317;
	display: inline-block;
}

.form-contacto label {
	display: block;
	margin-top: 1rem;
	margin-bottom: 0.25rem;
	font-size: 0.9375rem;
	font-weight: 500;
	color: #2C3E50;
}

.form-contacto label:first-of-type {
	margin-top: 0;
}

.form-contacto input,
.form-contacto textarea {
	width: 100%;
	padding: 0.625rem 0.75rem;
	margin: 0;
	box-sizing: border-box;
	font-size: 1rem;
	line-height: 1.5;
	color: #2C3E50;
	background: #fff;
	border: 0.0625rem solid #d1d9e0;
	border-radius: 0.375rem;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-contacto input::placeholder,
.form-contacto textarea::placeholder {
	color: #8a9ba8;
}

.form-contacto input:focus,
.form-contacto textarea:focus {
	outline: none;
	border-color: #e8a317;
	box-shadow: 0 0 0 0.125rem rgba(232, 163, 23, 0.2);
}

.form-contacto textarea {
	min-height: 6rem;
	resize: vertical;
}

.form-contacto button {
	display: block;
	width: 100%;
	margin-top: 1.5rem;
	padding: 0.75rem 1.5rem;
	cursor: pointer;
	font-size: 0.9375rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #fff;
	background: linear-gradient(90deg, #f5c842 0%, #e8a317 100%);
	border: none;
	border-radius: 0.375rem;
	box-shadow: 0 0.125rem 0.5rem rgba(232, 163, 23, 0.35);
	transition: opacity 0.2s ease, box-shadow 0.2s ease;
}

.form-contacto button:hover {
	opacity: 0.95;
	box-shadow: 0 0.25rem 0.75rem rgba(232, 163, 23, 0.4);
}

@media (max-width: 50rem) {
	.content-columns {
		flex-direction: column;
	}

	.col-content,
	.col-form {
		width: 100%;
	}

	.hero-grid {
		grid-template-rows: repeat(2, 8rem);
	}

	.pasarela-encima-slide-caja {
		height: calc(14rem + 50px);
	}
}

/* ==========================================================================
   Category: tours en 4 columnas
   ========================================================================== */

.category-page {
	margin-left: var(--section-margin-h);
	margin-right: var(--section-margin-h);
	padding: 0 1.5rem 2rem;
}

.category-header {
	margin-bottom: 2rem;
}

.category-title {
	margin: 0 0 0.5rem;
	font-size: 2rem;
}

.category-description {
	margin-top: 0.5rem;
}

.tours-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.5rem;
	margin: 2rem 0;
}

.tour-card {
	margin: 0;
}

.tour-card-link {
	display: block;
	text-decoration: none;
	color: inherit;
	background: #f9f9f9;
	border: 1px solid #eee;
	border-radius: 0.25rem;
	overflow: hidden;
	transition: box-shadow 0.2s ease;
}

.tour-card-link:hover {
	box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.1);
}

.tour-card-img {
	width: 100%;
	height: 12rem;
	object-fit: cover;
	display: block;
}

.tour-card-img-placeholder {
	background: #eee;
}

.tour-card-body {
	padding: 1rem;
}

.tour-card-title {
	margin: 0 0 0.5rem;
	font-size: 1.125rem;
	line-height: 1.3;
}

.tour-card-body p {
	margin: 0;
	font-size: 0.875rem;
	line-height: 1.5;
}

.category-page .nav-links {
	display: flex;
	justify-content: center;
	gap: 0.5rem;
	margin-top: 2rem;
}

.no-tours {
	padding: 2rem;
	text-align: center;
}

@media (max-width: 60rem) {
	.tours-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 35rem) {
	.tours-grid {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   Front Page: Hero animado (5 slides), logo y menú toggle
   ========================================================================== */

/* Portada: sin márgenes ni límite de ancho en body para que el hero llene toda la pantalla */
body.home,
body.page-template-default {
	margin: 0;
	padding: 0;
	max-width: none !important;
}

/* Sección front page: 2 columnas (contenido + imagen parallax) */
.front-page-parallax-section {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0;
	min-height: 70vh;
	background-color: var(--color-bg);
	color: var(--color-text);
	transition: background-color 0.3s ease, color 0.3s ease;
}

.front-page-parallax-inner {
	display: contents;
}

.front-page-col-content {
	margin-left: var(--section-margin-h);
	padding: 2rem 1.5rem 2rem 0;
	display: flex;
	align-items: center;
}

.front-page-col-content .main-content-container {
	color: var(--color-text);
	width: 100%;
}

.front-page-col-image {
	position: relative;
	min-height: 70vh;
	overflow: hidden;
}

.front-page-parallax-image {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-repeat: no-repeat;
	background-attachment: fixed;
	/* Con fixed, el fondo se posiciona respecto al viewport: 75% centra la imagen en la columna derecha (mitad del viewport) */
	background-position: 75% center;
}

@media (max-width: 768px) {
	.front-page-parallax-section {
		grid-template-columns: 1fr;
		min-height: auto;
	}

	.front-page-col-content {
		margin-right: var(--section-margin-h);
		padding: 2rem 0;
	}

	.front-page-col-image {
		min-height: 50vh;
	}

	.front-page-parallax-image {
		background-attachment: scroll;
		background-position: center center;
	}
}

.front-page-parallax-section h1,
.front-page-parallax-section h2,
.front-page-parallax-section h3,
.front-page-parallax-section h4,
.front-page-parallax-section h5,
.front-page-parallax-section h6 {
	transition: color 0.3s ease;
}

.front-page-parallax-section h1,
.front-page-parallax-section h2 {
	color: var(--color-primary);
}

.front-page-parallax-section h3 {
	color: var(--color-primary-mid);
}

.front-page-parallax-section h4,
.front-page-parallax-section h5,
.front-page-parallax-section h6 {
	color: var(--color-accent);
}

[data-theme="dark"] .front-page-parallax-section h1,
[data-theme="dark"] .front-page-parallax-section h2 {
	color: var(--color-accent);
}

[data-theme="dark"] .front-page-parallax-section h3 {
	color: #b8d4e0;
}

[data-theme="dark"] .front-page-parallax-section h4,
[data-theme="dark"] .front-page-parallax-section h5,
[data-theme="dark"] .front-page-parallax-section h6 {
	color: var(--color-accent);
}

.front-page-parallax-section p,
.front-page-parallax-section li {
	color: var(--color-text);
}

.home-one {
	padding: 2rem 0;
}

.home-one-inner {
	margin-left: var(--section-margin-h);
	margin-right: var(--section-margin-h);
	padding: 0 1.5rem;
}

/* Light: fondo claro, texto negro, título azul */
.homeone-section {
	padding: 5rem 0;
	background-color: var(--color-homeone-bg);
	color: #000;
}

.homeone-section .widget-title {
	color: #034a6b;
}

[data-theme="dark"] .homeone-section {
	color: var(--color-text);
}

[data-theme="dark"] .homeone-section .widget-title {
	color: var(--color-accent);
}


.hometwo-section {
	padding: 5rem 0;
	background-color: var(--color-hometwo-bg);
	color: var(--color-text);
}

.hometwo-inner {
	padding: 0 1.5rem;
}

.homethree-section {
	padding: 5rem 0;
	background-color: var(--color-homeone-bg);
	color: var(--color-text);
}

.homethree-inner {
	padding: 0 1.5rem;
}

.homefour-section {
	padding: 5rem 7%;
	background-color: var(--color-hometwo-bg);
	color: var(--color-text);
}

.homefour-inner {
	padding: 0 1.5rem;
}

.hero-front {
	display: block;
	position: relative;
	width: 100%;
	height: 100vh;
	min-height: 100vh;
	max-width: 100%;
	margin: 0;
	padding: 0;
	overflow: hidden;
	background: var(--color-hero-bg);
	box-sizing: border-box;
}

.hero-front-bar {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 20;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1.25rem 1.5rem;
	pointer-events: none;
	transition: background-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

.hero-front-bar>* {
	pointer-events: auto;
}

.hero-front-bar-logo {
	display: flex;
	align-items: center;
}

.hero-front-bar-right {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 1rem;
}

.hero-topphone-widget-area {
	display: flex;
	align-items: center;
}

.hero-topphone-widget-area .topphone-widget {
	color: var(--color-bar-text);
	border: 1px solid var(--color-bar-text);
	border-radius: 1rem;
	padding: 0.35rem 1rem;
	font-size: 1.25em;
	transition: color 0.3s ease, border-color 0.3s ease;
}

.hero-front-bar.is-sticky {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	background-color: var(--color-bar-bg);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero-logo {
	display: inline-block;
	text-decoration: none;
	color: var(--color-bar-text);
}

.hero-logo img {
	display: block;
	max-height: 3rem;
	width: auto;
}

.hero-logo-text {
	font-size: 1.5rem;
	font-weight: 700;
	text-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.5);
}

.hero-logo-widget-area {
	display: inline-block;
}

.hero-logo-widget-area img {
	max-height: 3.5rem;
	width: auto;
	display: block;
}

.hero-front-bar.is-sticky .hero-logo-widget-area img {
	filter: brightness(0) invert(1);
}

/* Header de archivo de categoría: barra oscura con logo, menú y toggle de tema */
.category-header-wrap {
	position: relative;
	width: 100%;
	min-height: 5rem;
}

body.archive.category main {
	padding-top: 0;
}

.category-archive {
	margin-left: 8%;
	margin-right: 8%;
}

body.archive.category .category-archive {
	padding-top: 3rem;
	padding-bottom: 3rem;
}

/* ── Category Archive Header ── */
.category-archive-header {
	text-align: center;
	margin: 0 auto 3rem;
	padding: 1.5rem 0 0.5rem;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .category-archive-header {
	border-bottom-color: rgba(255, 255, 255, 0.08);
}

.category-archive-title {
	margin: 0 0 0.5rem;
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.15;
	color: var(--color-primary, #023048);
	text-align: center;
	position: relative;
	display: inline-block;
}

[data-theme="dark"] .category-archive-title {
	color: #eef1f3;
}

/* Línea decorativa dorada bajo el título */
.category-archive-title::after {
	content: '';
	display: block;
	width: 56px;
	height: 3px;
	background: var(--color-accent, #fdc000);
	border-radius: 2px;
	margin: 0.6rem auto 0;
}

.category-archive-description {
	margin: 1.5rem 0 0;
	text-align: center;
}

.category-archive-description p {
	font-size: clamp(0.95rem, 1.5vw, 1.08rem);
	line-height: 1.85;
	color: var(--color-texto-mutado, #4b5563);
	margin: 0 auto 1em;
	text-align: center;
}

[data-theme="dark"] .category-archive-description p {
	color: #8b9aac;
}

.category-archive .category-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
	width: 100%;
	padding: 0 0 5rem;
}

.category-archive .category-grid.list-layout {
	grid-template-columns: 1fr;
}

.category-archive .category-grid.list-layout .category-card {
	flex-direction: row;
	align-items: flex-start;
}

.category-archive .category-grid.list-layout .category-card-image {
	width: 40%;
	height: 250px !important;
}

.category-archive .category-grid.list-layout .category-card-content {
	width: 60%;
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.category-archive .category-grid.list-layout .category-card-image .category-card-title {
	display: none;
	/* Hide the overlay title in list mode */
}

/* === Professional Card Styles === */
.category-archive .category-card {
	background: var(--color-bg, #ffffff);
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07), 0 1px 3px rgba(0, 0, 0, 0.05);
	border: 1px solid rgba(0, 0, 0, 0.05);
	display: flex;
	flex-direction: column;
	transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.35s ease;
	position: relative;
}

[data-theme="dark"] .category-archive .category-card {
	background: #1a2432;
	border-color: rgba(255, 255, 255, 0.07);
}

.category-archive .category-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14), 0 4px 12px rgba(0, 0, 0, 0.08);
}

.category-archive .category-card-image {
	position: relative;
	width: 100%;
	overflow: hidden;
	background: #c9d6df;
	flex-shrink: 0;
}

/* Permanent subtle gradient overlay at bottom */
.category-archive .category-card-image::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(2, 30, 48, 0.55) 0%, rgba(2, 30, 48, 0.15) 45%, transparent 70%);
	z-index: 1;
	transition: opacity 0.4s ease;
}

.category-archive .category-card-image>a:first-of-type {
	display: block;
	width: 100%;
	height: 100%;
}

.category-archive .category-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
	transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.category-archive .category-card:hover .category-card-image img {
	transform: scale(1.07);
}

.category-archive .category-card-image-hover,
.category-archive .category-card-image .category-card-title {
	transition-duration: 0.45s;
}

.category-archive .category-card-image-hover {
	position: absolute;
	inset: 0;
	z-index: 1;
	opacity: 0;
	transition-property: opacity;
	transition-timing-function: ease;
	pointer-events: none;
	overflow: hidden;
}

.category-archive .category-card-image-hover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}

.category-archive .category-card:hover .category-card-image-hover {
	opacity: 1;
}

/* Meta badges — dentro del card-content, debajo del título */
.category-archive .category-card-meta {
	position: static;
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 0.5rem;
	align-items: center;
	padding: 0;
	margin: 0;
	opacity: 1;
	pointer-events: auto;
}

.category-archive .category-card-meta-item {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	margin: 0;
	padding: 0.2rem 0.55rem;
	background: rgba(2, 48, 71, 0.07);
	border-radius: 20px;
	border: 1px solid rgba(2, 48, 71, 0.12);
	flex-direction: row;
	text-align: left;
	transition: background 0.2s ease;
}

[data-theme="dark"] .category-archive .category-card-meta-item {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.12);
}

.category-archive .category-card-meta-icon {
	flex-shrink: 0;
	width: 12px;
	height: 12px;
	color: var(--color-primary, #023048);
	stroke: currentColor;
}

[data-theme="dark"] .category-archive .category-card-meta-icon {
	color: var(--color-accent, #fdc000);
}

.category-archive .category-card-meta-value {
	font-size: 0.7rem;
	font-weight: 600;
	line-height: 1;
	color: var(--color-primary, #023048);
	letter-spacing: 0.02em;
}

[data-theme="dark"] .category-archive .category-card-meta-value {
	color: #c8d8e4;
}

.category-archive .category-card-title {
	margin: 0 0 0.5rem 0;
}

.category-archive .category-card-title a {
	color: var(--color-texto, #0d1f2d);
	text-decoration: none;
	display: block;
	line-height: 1.35;
	font-size: 1.1rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	transition: color 0.25s ease;
}

[data-theme="dark"] .category-archive .category-card-title a {
	color: #eef1f3;
}

.category-archive .category-card-title a:hover {
	color: var(--color-accent, #fdc000);
	text-decoration: none;
}

.category-archive .category-card-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	padding: 1.25rem 1.25rem 1rem;
	gap: 0.5rem;
	min-height: 0;
}

.category-archive .category-card-excerpt {
	margin: 0;
	font-size: 0.875rem;
	color: var(--color-texto-mutado, #6b7280);
	line-height: 1.65;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

[data-theme="dark"] .category-archive .category-card-excerpt {
	color: #8b9aac;
}

/* CTA footer de la card */
.category-archive .category-card-footer {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	padding: 0.75rem 1.25rem 1.1rem;
	margin-top: auto;
	border-top: 1px solid rgba(0, 0, 0, 0.06);
}

[data-theme="dark"] .category-archive .category-card-footer {
	border-top-color: rgba(255, 255, 255, 0.07);
}

.category-archive .category-card-cta {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--color-accent, #fdc000);
	text-decoration: none;
	transition: gap 0.25s ease, color 0.25s ease;
}

.category-archive .category-card-cta:hover {
	gap: 0.55rem;
	color: var(--color-primary, #023048);
}

[data-theme="dark"] .category-archive .category-card-cta:hover {
	color: #fff;
}

.category-archive .category-card-cta svg {
	transition: transform 0.25s ease;
}

.category-archive .category-card-cta:hover svg {
	transform: translateX(3px);
}

.category-view-toggle {
	display: flex;
	justify-content: flex-end;
	gap: 0.5rem;
	margin-bottom: 1.5rem;
}

.category-view-toggle .view-btn {
	background: transparent;
	border: 1px solid #ccc;
	border-radius: 4px;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: var(--color-texto, #333);
	transition: all 0.3s ease;
}

[data-theme="dark"] .category-view-toggle .view-btn {
	border-color: #444;
	color: #eef1f3;
}

.category-view-toggle .view-btn.active,
.category-view-toggle .view-btn:hover {
	background-color: var(--color-accent, #fdc000);
	border-color: var(--color-accent, #fdc000);
	color: #023048;
}



@media (max-width: 768px) {
	.category-archive .category-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.category-archive .category-grid.list-layout .category-card {
		flex-direction: column;
	}

	.category-archive .category-grid.list-layout .category-card-image,
	.category-archive .category-grid.list-layout .category-card-content {
		width: 100%;
	}

	.category-archive .category-grid.list-layout .category-card-image .category-card-title {
		display: block;
		/* Show back the overlay title in mobile */
	}
}

@media (max-width: 480px) {
	.category-archive .category-grid {
		grid-template-columns: 1fr;
	}
}

.category-header-wrap--dark {
	background-color: var(--color-header-bg);
}

.category-header-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	box-sizing: border-box;
	transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.category-header-wrap--dark .category-header-bar {
	background-color: var(--color-header-bg);
	color: var(--color-gray-100, #eef1f3);
}

.category-header-bar.is-sticky {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 20;
	background-color: var(--color-header-bg);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.category-header-bar-logo {
	display: flex;
	align-items: center;
	padding: 0.75rem;
	background-color: var(--color-gray-100);
}

.category-header-bar-logo .hero-logo,
.category-header-bar-logo .hero-logo-text {
	color: var(--color-gray-100, #eef1f3);
}

.category-header-bar-logo .hero-logo img,
.category-header-bar-logo .hero-logo-widget-area img {
	max-height: 3.5rem;
	width: auto;
	display: block;
}

.category-header-bar-right {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 1rem;
}

.category-header-bar .menu-toggle,
.category-header-bar .theme-toggle {
	color: var(--color-gray-100, #eef1f3);
}

.menu-toggle {
	width: 2.5rem;
	height: 2.5rem;
	padding: 0;
	border: none;
	background: transparent;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--color-bar-text);
	text-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.5);
}

.theme-toggle {
	width: 2.5rem;
	height: 2.5rem;
	padding: 0;
	border: none;
	background: transparent;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--color-bar-text);
	border-radius: 50%;
	transition: background 0.2s ease, color 0.2s ease;
}

.theme-toggle:hover {
	background: rgba(255, 255, 255, 0.15);
}

.theme-toggle svg {
	width: 1.25rem;
	height: 1.25rem;
}

.theme-toggle .icon-dark,
.theme-toggle .icon-light {
	display: none;
}

/* En modo claro mostramos luna (cambiar a oscuro); en modo oscuro mostramos sol (cambiar a claro) */
[data-theme="light"] .theme-toggle .icon-dark,
html:not([data-theme]) .theme-toggle .icon-dark {
	display: block;
}

[data-theme="dark"] .theme-toggle .icon-light {
	display: block;
}

.menu-toggle-icon,
.menu-toggle-icon::before,
.menu-toggle-icon::after {
	display: block;
	width: 1.5rem;
	height: 0.125rem;
	background: currentColor;
	border-radius: 0.0625rem;
}

.menu-toggle-icon {
	position: relative;
}

.menu-toggle-icon::before,
.menu-toggle-icon::after {
	content: "";
	position: absolute;
	left: 0;
}

.menu-toggle-icon::before {
	top: -0.375rem;
}

.menu-toggle-icon::after {
	top: 0.375rem;
}

.hero-menu {
	position: fixed;
	inset: 0;
	z-index: 1000;
	pointer-events: none;
}

.hero-menu:not([hidden]) {
	pointer-events: auto;
}

.hero-menu-backdrop {
	position: fixed;
	inset: 0;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 1;
	opacity: 0;
	transition: opacity 0.3s ease-in-out;
}

.hero-menu.active .hero-menu-backdrop {
	opacity: 1;
}

/* Panel del menú: siempre oscuro (sin versión light) */
.hero-menu-panel {
	position: fixed;
	top: 0;
	right: 0;
	width: 100%;
	max-width: 30vw;
	height: 100%;
	background-color: #1e2a35;
	z-index: 2;
	transform: translateX(100%);
	transition: transform 0.3s ease-in-out;
	display: flex;
	flex-direction: column;
	box-shadow: -4px 0 24px rgba(0, 0, 0, 0.3);
}

.hero-menu.active .hero-menu-panel {
	transform: translateX(0);
}

.hero-menu-panel .menu-close {
	position: absolute;
	top: 1.25rem;
	right: 1.25rem;
	background: transparent;
	border: 2px solid #eef1f3;
	border-radius: 50%;
	color: #eef1f3;
	font-size: 1.5rem;
	cursor: pointer;
	padding: 0.5rem;
	width: 2.5rem;
	height: 2.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease;
	flex-shrink: 0;
}

.hero-menu-panel .menu-close:hover {
	background: rgba(255, 255, 255, 0.1);
}

.hero-menu-panel-content {
	flex: 1;
	padding: 4rem 1.5rem 2rem;
	overflow: auto;
	color: #eef1f3;
}

/* Estilos para el widget de menú móvil */
.mobile-menu-widget {
	width: 100%;
	max-width: 600px;
	padding: 2rem;
	margin: 0 auto;
}

/* Asegurar que el widget de menú ocupe todo el ancho */
.mobile-menu-widget .widget_nav_menu {
	width: 100%;
}

/* Estilo para el contenedor del menú */
.mobile-menu-widget .menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
	width: 100%;
}

/* Estilo para los ítems del menú */
.mobile-menu-widget .menu>li {
	width: 100%;
	text-align: center;
	margin: 0;
	padding: 0;
	position: relative;
}

/* Estilo para los enlaces del menú */
.mobile-menu-widget .menu a {
	display: block;
	color: #fff;
	text-decoration: none;
	font-size: 1.25rem;
	font-weight: 500;
	padding: 1rem 2rem;
	transition: all 0.3s ease;
	position: relative;
	text-align: center;
	width: 100%;
	box-sizing: border-box;
	border-radius: 4px;
}

/* Efecto hover para los enlaces */
.mobile-menu-widget .menu a:hover,
.mobile-menu-widget .menu a:focus {
	background-color: rgba(255, 255, 255, 0.1);
	color: #fff;
}

/* Línea inferior en hover */
.mobile-menu-widget .menu a::after {
	content: '';
	position: absolute;
	width: 0;
	height: 2px;
	bottom: 8px;
	left: 50%;
	background-color: #fff;
	transition: all 0.3s ease;
	transform: translateX(-50%);
}

.mobile-menu-widget .menu a:hover::after,
.mobile-menu-widget .menu a:focus::after {
	width: 40%;
}

/* Estilos para submenús */
.mobile-menu-widget .sub-menu {
	list-style: none;
	margin: 0.5rem 0 0 0;
	padding: 0;
	display: none;
	width: 100%;
}

.mobile-menu-widget .menu-item-has-children>a::after {
	content: '+';
	position: absolute;
	right: 1rem;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1.2em;
}

.mobile-menu-widget .menu-item-has-children.active>a::after {
	content: '-';
}

.mobile-menu-widget .sub-menu a {
	font-size: 1.1rem;
	padding: 0.8rem 1.5rem;
	background-color: rgba(0, 0, 0, 0.2);
}

/* Estilos responsivos */
@media (min-width: 768px) {
	.mobile-menu-widget .menu {
		gap: 0.75rem;
	}

	.mobile-menu-widget .menu a {
		font-size: 1.5rem;
		padding: 1.25rem 2rem;
	}

	.mobile-menu-widget .sub-menu a {
		font-size: 1.25rem;
	}
}

/* Estilos para los menús de navegación */
.main-navigation,
.mobile-menu-widget .menu {
	width: 100%;
	max-width: 600px;
}

.main-menu,
.mobile-menu-widget .menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
	width: 100%;
}

.main-menu li,
.mobile-menu-widget .menu>li {
	width: 100%;
	text-align: center;
	margin: 0;
	padding: 0;
}

.main-menu a,
.mobile-menu-widget .menu a {
	display: block;
	color: #fff;
	text-decoration: none;
	font-size: 1.25rem;
	font-weight: 500;
	padding: 1rem 2rem;
	transition: all 0.3s ease;
	position: relative;
	text-align: center;
	width: 100%;
	box-sizing: border-box;
	border-radius: 4px;
}

/* Efecto hover consistente */
.main-menu a:hover,
.main-menu a:focus,
.mobile-menu-widget .menu a:hover,
.mobile-menu-widget .menu a:focus {
	background-color: rgba(255, 255, 255, 0.1);
	transform: none;
	color: #fff;
}

/* Línea inferior en hover */
.main-menu a::after,
.mobile-menu-widget .menu a::after {
	content: '';
	position: absolute;
	width: 0;
	height: 2px;
	bottom: 8px;
	left: 50%;
	background-color: #fff;
	transition: all 0.3s ease;
	transform: translateX(-50%);
}

.main-menu a:hover::after,
.main-menu a:focus::after,
.mobile-menu-widget .menu a:hover::after,
.mobile-menu-widget .menu a:focus::after {
	width: 40%;
}

/* Asegurar que los submenús tengan el mismo estilo */
.main-menu .sub-menu,
.mobile-menu-widget .sub-menu {
	list-style: none;
	margin: 0.5rem 0 0 0;
	padding: 0;
	display: none;
	width: 100%;
}

.main-menu .menu-item-has-children>a::after {
	content: '+';
	/* Indicador de submenú */
	position: absolute;
	right: 1rem;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1.2em;
}

.main-menu .menu-item-has-children.active>a::after {
	content: '-';
}

.main-menu .sub-menu a,
.mobile-menu-widget .sub-menu a {
	font-size: 1.1rem;
	padding: 0.8rem 1.5rem;
	background-color: rgba(0, 0, 0, 0.2);
}

/* Responsive */
@media (min-width: 768px) {

	.main-menu,
	.mobile-menu-widget .menu {
		gap: 0.75rem;
	}

	.main-menu a,
	.mobile-menu-widget .menu a {
		font-size: 1.5rem;
		padding: 1.25rem 2rem;
	}

	.main-menu .sub-menu a,
	.mobile-menu-widget .sub-menu a {
		font-size: 1.25rem;
	}
}

/* Asegurar que el menú esté por encima de todo */
.hero-menu {
	z-index: 10000;
}

/* Ajustes para móviles */
@media (max-width: 768px) {
	.hero-menu-panel {
		max-width: 85%;
	}
}

.hero-menu[hidden] {
	display: none;
}

.hero-menu-list {
	list-style: none;
	margin: 0;
	padding: 0;
	text-align: center;
}

.hero-menu-list li {
	margin: 0.75rem 0;
}

.hero-menu-list a {
	color: #eef1f3;
	text-decoration: none;
	font-size: 1.25rem;
}

.hero-menu-widget-area ul {
	list-style: none;
	margin: 0;
	padding: 0;
	text-align: center;
}

.hero-menu-widget-area li {
	margin: 0.75rem 0;
}

.hero-menu-widget-area a {
	color: #eef1f3;
	text-decoration: none;
	font-size: 1.25rem;
}

/* Menú principal dentro del panel: siempre texto claro */
.hero-menu-panel .main-menu a,
.hero-menu-panel .main-navigation a {
	color: #eef1f3;
}

.hero-menu-panel .main-menu a:hover,
.hero-menu-panel .main-navigation a:hover {
	color: #fff;
}

.hero-front-slides {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	min-width: 100%;
	min-height: 100%;
}

.hero-slide {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	min-width: 100%;
	min-height: 100%;
	opacity: 0;
	transition: opacity 0.6s ease;
	pointer-events: none;
}

.hero-slide-active {
	opacity: 1;
	pointer-events: auto;
}

.hero-slide-bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	min-width: 100%;
	min-height: 100%;
	margin: 0;
	padding: 0;
	background-size: cover !important;
	background-position: center center !important;
	background-repeat: no-repeat !important;
}

/* Capa degradado absoluta sobre la imagen del slide: siempre oscuro arriba → claro abajo (no cambia con el tema) */
.hero-slide::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(to bottom, rgba(1, 28, 42, 0.85) 0%, transparent 45%, rgba(238, 241, 243, 0.35) 100%);
	pointer-events: none;
}

.hero-slide-bg-placeholder {
	background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
}

.hero-slide-content {
	position: relative;
	z-index: 2;
	margin-left: var(--section-margin-h);
	margin-right: var(--section-margin-h);
	padding: 2rem;
	color: #fff;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 100%;
}

.hero-slide-title {
	font-size: 2.5rem;
	font-weight: 700;
	line-height: 1.2;
	margin-bottom: 1rem;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
	margin-left: var(--section-margin-h);
	margin-right: var(--section-margin-h);
}

.hero-slide-description {
	max-width: 600px;
	font-size: 1.2rem;
	line-height: 1.6;
	margin: 0.25rem auto 0.5rem;
	padding: 0;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
	.hero-slide-content {
		text-align: center;
		align-items: center;
	}

	.hero-slide-description {
		font-size: 1rem;
		margin: 0.2rem 1rem 0.4rem;
		max-width: 100%;
	}
}

.hero-cta {
	display: inline-block;
	padding: 0.5rem 1.5rem;
	background: #fff;
	color: #2C3E50;
	text-decoration: none;
	border: 0.0625rem solid #DDE6ED;
	border-radius: 2rem;
	font-weight: 500;
	box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.06);
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.hero-cta:hover {
	background: #f8f9fa;
	color: #1a252f;
	border-color: #c5d1dc;
	box-shadow: 0 0.1875rem 0.375rem rgba(0, 0, 0, 0.08);
}

.hero-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 15;
	width: 3rem;
	height: 3rem;
	padding: 0;
	border: none;
	background: rgba(255, 255, 255, 0.3);
	color: #fff;
	font-size: 1.5rem;
	cursor: pointer;
	transition: background 0.2s ease;
}

.hero-nav:hover {
	background: rgba(255, 255, 255, 0.5);
}

.hero-prev {
	left: 1rem;
}

.hero-next {
	right: 1rem;
}

.hero-dots {
	position: absolute;
	bottom: 1rem;
	left: 0;
	right: 0;
	z-index: 15;
	display: flex;
	justify-content: center;
	gap: 0.5rem;
}

.hero-dots button {
	width: 0.5rem;
	height: 0.5rem;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.5);
	cursor: pointer;
	transition: background 0.2s ease;
}

.hero-dots button.active {
	background: #fff;
}

/* Forzar hero a pantalla completa: evita que WordPress/plugins anulen width y height */
#hero-front,
body section.hero-front {
	width: 100% !important;
	max-width: none !important;
	height: 100vh !important;
	min-height: 100vh !important;
	box-sizing: border-box !important;
}

#hero-front .hero-front-slides,
#hero-front .hero-slide,
#hero-front .hero-slide-bg {
	width: 100% !important;
	max-width: none !important;
	height: 100% !important;
	min-height: 100% !important;
	box-sizing: border-box !important;
}

/* ==========================================================================
   Header (páginas internas): logo y menú – barra blanca, línea superior, enlaces azul
   ========================================================================== */

/* Barra superior encima de la navegación: contacto, modo oscuro, idioma */
.top-bar {
	background-color: #1e1e1e;
	color: #fff;
	padding: 0.5rem 1.5rem;
	font-size: 0.875rem;
}

.top-bar-inner {
	margin-left: var(--section-margin-h);
	margin-right: var(--section-margin-h);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
}

.top-bar-left {
	display: flex;
	align-items: center;
	gap: 1rem;
	flex-wrap: wrap;
}

.top-bar-left .top-bar-widget {
	margin: 0;
	display: flex;
	align-items: center;
	gap: 1rem;
	flex-wrap: wrap;
}

.top-bar-link {
	color: #fff;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
}

.top-bar-link:hover {
	text-decoration: underline;
	color: #e8e8e8;
}

.top-bar-icon {
	opacity: 0.9;
}

.top-bar-sep {
	opacity: 0.6;
	user-select: none;
}

.top-bar-right {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.top-bar-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.35rem 0.75rem;
	background: transparent;
	color: #fff;
	border: 0.0625rem solid rgba(255, 255, 255, 0.4);
	border-radius: 0.25rem;
	font-size: 0.875rem;
	font-family: inherit;
	cursor: pointer;
	transition: background 0.2s ease, border-color 0.2s ease;
}

.top-bar-btn:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.6);
}

.top-bar-lang-btn {
	min-width: 5rem;
	justify-content: space-between;
}

header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 1rem;
	padding: 1rem 1.5rem;
	max-width: 100%;
	overflow: hidden;
	box-sizing: border-box;
	background-color: var(--color-bg);
	border-top: 0.125rem solid var(--color-primary-mid);
}

.header-logo-area {
	flex-shrink: 1;
	min-width: 0;
	max-width: 100%;
}

.header-logo-area a {
	color: var(--color-primary);
	text-decoration: none;
	font-weight: 500;
}

.header-logo-area a:hover {
	text-decoration: underline;
}

.header-menu-area ul {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 1.25rem 1.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.header-menu-area li {
	margin: 0;
}

/* Todos los enlaces del menú: efecto hover (sombra + elevación) en todos los ítems */
.header-menu-area a,
.header-menu-area .menu a,
.header-menu-area .widget-menu a {
	color: #2C3E50;
	text-decoration: none;
	font-weight: 500;
	padding: 0.5rem 1rem;
	border: 0.0625rem solid transparent;
	border-radius: 2rem;
	transition: color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.header-menu-area a:hover,
.header-menu-area .menu a:hover,
.header-menu-area .widget-menu a:hover {
	color: #1a252f;
	border-color: rgba(0, 0, 0, 0.2);
	box-shadow: 0 0.25rem 0.5rem 0.75rem rgba(0, 0, 0, 0.12), 0 0.125rem 0.25rem rgba(0, 0, 0, 0.08);
	transform: translateY(-0.125rem);
}

/* Último enlace del menú como botón "Contact Us" (estilo Overview) */
.header-menu-area ul li:last-child a,
.header-menu-area .menu li:last-child a {
	background-color: #fff;
	border-color: rgba(0, 0, 0, 0.12);
	box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.06);
}

.header-menu-area ul li:last-child a:hover,
.header-menu-area .menu li:last-child a:hover {
	background-color: #fff;
	border-color: rgba(0, 0, 0, 0.2);
	box-shadow: 0 0.25rem 0.5rem 0.75rem rgba(0, 0, 0, 0.12), 0 0.125rem 0.25rem rgba(0, 0, 0, 0.08);
	transform: translateY(-0.125rem);
}

/* Clase opcional para marcar un ítem como botón (estilo Overview) */
.header-menu-area a.nav-button {
	background-color: #fff;
	border-color: rgba(0, 0, 0, 0.12);
	box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.06);
}

.header-menu-area a.nav-button:hover {
	background-color: #fff;
	border-color: rgba(0, 0, 0, 0.2);
	box-shadow: 0 0.25rem 0.5rem 0.75rem rgba(0, 0, 0, 0.12), 0 0.125rem 0.25rem rgba(0, 0, 0, 0.08);
	transform: translateY(-0.125rem);
}

.header-logo-area .widget_media_image,
.header-logo-area .widget-logo {
	display: block;
	max-width: 100%;
	line-height: 0;
}

.header-logo-area .widget_media_image img,
.header-logo-area .widget-logo img {
	max-width: 100%;
	max-height: 5rem;
	width: auto;
	height: auto;
	object-fit: contain;
	display: block;
}

@media (max-width: 50rem) {

	.header-logo-area .widget_media_image img,
	.header-logo-area .widget-logo img {
		max-height: 3.5rem;
	}

	.header-menu-area ul {
		justify-content: center;
		gap: 0.75rem 1rem;
	}
}

/* ==========================================================================
   Comentarios destacados (testimonios / reseñas de clientes)
   ========================================================================== */

.comentarios-destacados {
	background-color: #2d2a28;
	color: #fff;
	padding: 3rem 1.5rem;
	margin: 0;
}

.comentarios-destacados-inner {
	margin-left: var(--section-margin-h);
	margin-right: var(--section-margin-h);
	padding: 0;
}

.comentarios-destacados-title {
	font-size: 1.75rem;
	font-weight: 700;
	text-align: center;
	margin: 0 0 2rem;
	color: #fff;
}

.comentarios-destacados-content {
	color: #e0e0e0;
}

.comentarios-destacados-placeholder .comentarios-destacados-empty {
	text-align: center;
	color: rgba(255, 255, 255, 0.6);
	margin: 0;
	padding: 1rem;
}

/* ==========================================================================
   Categories Show Post – integración con tema (título y descripción)
   ========================================================================== */

.csp-widget-wrapper .widget-title {
	font-family: "Poiret One", sans-serif;
	font-size: 1.75rem;
	font-weight: 600;
	line-height: 1.2;
	margin: 0 0 1.5rem;
	color: var(--color-primary);
	border-bottom: solid 1px;
	padding-bottom: 1rem;
	text-transform: uppercase;
	letter-spacing: 0.5rem;
}

.csp-description {
	font-family: "Open Sans", sans-serif;
	font-size: 1rem;
	line-height: 1.6;
	margin: 0 0 1.25rem;
	color: var(--color-text);
}

[data-theme="dark"] .csp-widget-wrapper .widget-title {
	color: var(--color-accent);
}

[data-theme="dark"] .csp-description {
	color: var(--color-text);
}

/* ==========================================================================
   Footer: 4 columnas, fondo oscuro (logo/contacto, destinos, empresa, redes)
   ========================================================================== */

.site-footer {
	background-color: #1A1B20;
	color: #f0f0f0;
	padding: 3rem 1.5rem 2rem;
	margin: 0;
}

.site-footer-inner {
	margin-left: var(--section-margin-h);
	margin-right: var(--section-margin-h);
}

.footer-columns {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1fr;
	gap: 2rem 2.5rem;
	margin-bottom: 2.5rem;
}

.footer-col {
	min-width: 0;
}

.footer-col-contact .footer-widget {
	margin: 0;
}

.footer-col-contact .footer-widget img {
	display: block;
	max-height: 3.5rem;
	width: auto;
	margin-bottom: 1.25rem;
}

.footer-col-contact p,
.footer-col-contact .widget {
	font-size: 0.9375rem;
	line-height: 1.7;
	color: #e8e8e8;
	margin: 0 0 0.5rem;
}

.footer-col-contact a {
	color: #f0f0f0;
	text-decoration: none;
}

.footer-col-contact a:hover {
	text-decoration: underline;
}

.footer-col-title {
	font-size: 1rem;
	font-weight: 700;
	color: #fff;
	margin: 0 0 1rem;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.footer-col-destinos ul,
.footer-col-empresa ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-col-destinos li,
.footer-col-empresa li {
	margin: 0 0 0.5rem;
}

.footer-col-destinos a,
.footer-col-empresa a {
	color: #e8e8e8;
	text-decoration: none;
	font-size: 0.9375rem;
}

.footer-col-destinos a:hover,
.footer-col-empresa a:hover {
	color: #fff;
	text-decoration: underline;
}

.footer-col-social .footer-social-heading {
	font-size: 1rem;
	font-weight: 700;
	color: #fff;
	margin: 0 0 0.25rem;
}

.footer-col-social .footer-social-sub {
	font-size: 0.9375rem;
	color: #b0b0b0;
	margin: 0 0 1rem;
}

.footer-col-social .footer-widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.footer-col-social .footer-widget li {
	margin: 0;
}

.footer-col-social .footer-widget a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 0.25rem;
	text-decoration: none;
	transition: opacity 0.2s ease;
}

.footer-col-social .footer-widget a:hover {
	opacity: 0.9;
}


.footer-copyright a {
	color: #b0b0b0;
	text-decoration: none;
}

.footer-copyright a:hover {
	color: #e8e8e8;
	text-decoration: underline;
}

/* Journey Steps - Sección de 3 pasos */
.single-actividad .presentacion .journey-steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
	margin-top: 2rem;
	padding: 2rem 0;
	position: relative;
}

/* Línea continua que une los tres círculos (por detrás) */
.single-actividad .presentacion .journey-steps::before {
	content: '';
	position: absolute;
	left: 16.666%;
	top: 3.25rem;
	width: 66.666%;
	height: 0.125rem;
	background-color: #b4c969;
	z-index: 0;
	pointer-events: none;
}

.single-actividad .presentacion .journey-step {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	position: relative;
	z-index: 1;
}

.single-actividad .presentacion .step-number {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	border-radius: 50%;
	background-color: #b4c969;
	color: #fff;
	font-size: 1.5rem;
	font-weight: bold;
	margin-bottom: 1rem;
	position: relative;
	z-index: 1;
}

.single-actividad .presentacion .journey-step h3 {
	font-size: 1.25rem;
	font-weight: 700;
	color: #ffffff;
	margin: 0 0 0.75rem;
}

.single-actividad .presentacion .journey-step p {
	font-size: 0.9375rem;
	color: #cccccc;
	line-height: 1.5;
	margin: 0;
}

@media (max-width: 60rem) {
	.footer-columns {
		grid-template-columns: 1fr 1fr;
	}

	.single-actividad .presentacion .journey-steps {
		grid-template-columns: repeat(2, 1fr);
		gap: 1.5rem;
	}

	.single-actividad .presentacion .journey-steps::before {
		display: none;
	}
}

@media (max-width: 40rem) {
	.footer-columns {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.single-actividad .presentacion .journey-steps {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	.single-actividad .presentacion .journey-steps::before {
		display: none;
	}
}

/* ==========================================================================
   Single tour: header, hero grid 7×2, pestañas por H2
   ========================================================================== */
body.single main {
	padding-top: 0;
}

.single-tour-header,
.single-hero-grid,
.single-tour-presentacion,
.single-tabs,
.single-tour-precios,
.single-tour-include,
.single-tour-related {
	margin-left: var(--section-margin-h, 8%);
	margin-right: var(--section-margin-h, 8%);
	max-width: 100%;
}

.single-tour-header {
	padding-top: 2rem;
}

.single-tour-header {
	margin-bottom: 1.5rem;
	text-align: center;
}

.single-tour-title {
	margin: 0 0 0.75rem;
	font-size: 1.75rem;
	color: var(--color-primary, #354250);
}

.single-tour-meta {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1rem 1.5rem;
	align-items: center;
	color: var(--color-text-muted, #6b7d8a);
	font-size: 0.9375rem;
}

.single-tour-meta-item {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
}

.single-tour-meta-icon {
	flex-shrink: 0;
	stroke: currentColor;
}

/* Hero grid: 7 columnas × 2 filas. Primera imagen 3 cols + 2 filas, resto 2 cols × 1 fila */
.single-hero-grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	grid-template-rows: repeat(2, 200px);
	gap: 0.75rem;
	margin-bottom: 2rem;
}

.single-hero-cell {
	position: relative;
	overflow: hidden;
	background: var(--color-gray-200, #dce2e6);
	border-radius: 8px;
}

.single-hero-cell img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}

.single-hero-cell--main {
	grid-column: span 3;
	grid-row: span 2;
}

.single-hero-cell--sub {
	grid-column: span 2;
	grid-row: span 1;
}

/* Pestañas por H2 */
/* Presentación (metabox) antes de las pestañas */
.single-tour-presentacion {
	margin-bottom: 2rem;
}

.single-tour-presentacion-inner.entry-content {
	color: var(--color-text, #4d5d6b);
	line-height: 1.6;
}

.single-tour-presentacion-inner.entry-content p {
	margin: 0 0 1.35rem;
}

.single-tour-presentacion-inner.entry-content h2,
.single-tour-presentacion-inner.entry-content h3,
.single-tour-presentacion-inner.entry-content h4 {
	color: var(--color-primary, #354250);
}

.single-tour-presentacion-inner.entry-content h2 {
	margin-top: 2rem;
	margin-bottom: 1rem;
	font-size: 1.25rem;
}

.single-tour-presentacion-inner.entry-content h2:first-child {
	margin-top: 0;
}

.single-tour-presentacion-inner.entry-content h3 {
	margin-top: 1.5rem;
	margin-bottom: 0.75rem;
	font-size: 1.1rem;
}

.single-tour-presentacion-inner.entry-content h4 {
	margin-top: 1.25rem;
	margin-bottom: 0.5rem;
	font-size: 1rem;
}

.single-tour-presentacion-inner.entry-content ul,
.single-tour-presentacion-inner.entry-content ol {
	margin: 0 0 1.35rem;
	padding-left: 1.5rem;
	margin-left: 1.25rem;
}

.single-tour-presentacion-inner.entry-content li {
	margin-left: 0.5rem;
	margin-bottom: 0.35rem;
}

.single-tabs {
	margin-top: 2rem;
	display: flex;
	align-items: flex-start;
	gap: 1.5rem;
	background: var(--color-card-bg);
	padding: 1.5rem;
	border-radius: 16px;
	box-shadow: 0 10px 30px var(--color-card-shadow-strong);
	border: 1px solid var(--color-card-border);
}

.single-tabs-list {
	display: flex;
	flex-direction: column;
	width: 280px;
	flex-shrink: 0;
	gap: 0.5rem;
	margin-bottom: 0;
	border-right: 1px solid var(--color-card-border, #dce2e6);
	padding-right: 1.5rem;
}

.single-tabs-trigger {
	padding: 1rem 1.25rem;
	font-size: 1.05rem;
	font-weight: 600;
	text-align: left;
	color: var(--color-text-muted, #6b7d8a);
	background: rgba(128, 128, 128, 0.1);
	border: none;
	border-radius: 8px;
	cursor: pointer;
	position: relative;
	overflow: hidden;
	transition: all 0.3s ease;
}

.single-tabs-trigger:hover {
	color: var(--color-text, #354250);
	background: rgba(128, 128, 128, 0.2);
	transform: translateX(6px);
}

.single-tabs-trigger.is-active {
	color: #ffffff;
	background: var(--color-primary-dark, #1e2a35);
	box-shadow: inset 4px 0 0 var(--color-accent, #fdc000);
	transform: translateX(6px);
}

.single-tab-panel {
	display: none;
}

.single-tab-panel.is-active {
	display: block;
	flex: 1;
	min-width: 0;
}

.single-tab-panel-content {
	color: var(--color-text, #4d5d6b);
	line-height: 1.6;
}

.single-tab-panel-content h2,
.single-tab-panel-content h3,
.single-tab-panel-content h4 {
	color: var(--color-primary, #354250);
}

.single-tab-panel-content h2 {
	margin-top: 2rem;
	margin-bottom: 1rem;
	font-size: 2rem;
	text-transform: uppercase;
	letter-spacing: 0.25rem;
	border-bottom: solid 1px;
}

.single-tab-panel-content h2:first-child {
	margin-top: 0;
}

.single-tab-panel-content h3 {
	margin-top: 1.5rem;
	margin-bottom: 0.75rem;
	font-size: 1.1rem;
}

.single-tab-panel-content h4 {
	margin-top: 1.25rem;
	margin-bottom: 0.5rem;
	font-size: 1rem;
}

.single-tab-panel-content p {
	margin: 0 0 1.35rem;
}

.single-tab-panel-content ul,
.single-tab-panel-content ol {
	margin: 0 0 1.35rem;
	padding-left: 1.5rem;
	margin-left: 1.25rem;
}

.single-tab-panel-content li {
	margin-left: 0.5rem;
	margin-bottom: 0.35rem;
}

@media (max-width: 768px) {
	.single-hero-grid {
		grid-template-columns: 1fr;
		grid-template-rows: repeat(5, minmax(200px, 50vw));
	}

	.single-hero-cell--main,
	.single-hero-cell--sub {
		grid-column: span 1;
		grid-row: span 1;
	}

	.single-tabs {
		flex-direction: column;
		gap: 1.5rem;
		padding: 1.5rem;
	}

	.single-tabs-list {
		width: 100%;
		flex-direction: row;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		border-right: none;
		border-bottom: 1px solid var(--color-card-border, #dce2e6);
		padding-right: 0;
		padding-bottom: 1rem;
	}

	.single-tabs-trigger {
		flex-shrink: 0;
		border-radius: 8px;
		margin-bottom: 0;
		white-space: nowrap;
		padding: 0.75rem 1.25rem;
	}

	.single-tabs-trigger:hover,
	.single-tabs-trigger.is-active {
		transform: translateY(-2px) translateX(0);
		box-shadow: inset 0 -4px 0 var(--color-accent, #fdc000);
	}
}

/* Photo Shortcodes in content */
.tour-inline-photo {
	margin: 2rem 0;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.tour-inline-photo img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
	max-height: 500px;
}

/* Tabla de precios */
.single-tour-precios {
	margin-top: 3rem;
	margin-bottom: 3rem;
	background: var(--color-card-bg);
	padding: 2.5rem;
	border-radius: 16px;
	box-shadow: 0 10px 30px var(--color-card-shadow-strong);
	border: 1px solid var(--color-card-border);
}

.single-tour-precios-grid {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 2.5rem;
	align-items: start;
}

.single-tour-precios-title {
	margin-top: 0;
	margin-bottom: 1.5rem;
	color: var(--color-primary);
	font-size: 1.5rem;
}

.tour-precios-info-box {
	background: var(--color-primary-dark, #1e2a35);
	color: #ffffff;
	padding: 2rem;
	border-radius: 12px;
	box-shadow: inset 4px 0 0 var(--color-accent, #fdc000);
}

.tour-precios-info-box h3 {
	color: #ffffff;
	margin-top: 0;
	margin-bottom: 1rem;
	font-size: 1.25rem;
}

.tour-precios-info-box p {
	color: #eef1f3;
	margin-bottom: 0;
	line-height: 1.6;
}

.tour-precios-table {
	width: 100%;
	border-collapse: collapse;
	border: 1px solid var(--color-card-border);
}

.tour-precios-table th,
.tour-precios-table td {
	padding: 0.35rem 0.5rem;
	border: 1px solid var(--color-card-border);
	text-align: left;
}

.tour-precios-table th {
	color: var(--color-text-muted);
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.tour-precios-table td {
	color: var(--color-text);
	font-weight: 500;
	font-size: 0.9rem;
	vertical-align: middle;
}

.tour-precios-table td.precio-valor {
	font-weight: 700;
	color: var(--color-accent-dark, #c99700);
	font-size: 1.1rem;
}

.tour-precios-table td.precio-cta {
	text-align: right;
}

.tour-precios-table td.precio-cta .button {
	background: var(--color-accent);
	color: #fff;
	padding: 0.4rem 0.8rem;
	font-size: 0.85rem;
	border-radius: 6px;
	text-decoration: none;
	font-weight: bold;
	transition: background 0.3s;
	display: inline-block;
}

.tour-precios-table td.precio-cta .button:hover {
	background: var(--color-accent-dark);
}

@media (max-width: 992px) {
	.single-tour-precios-grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}
}

@media (max-width: 768px) {
	.single-tour-precios {
		padding: 1.5rem;
	}

	.tour-precios-table td.precio-cta {
		text-align: left;
	}
}

/* Accordion "Include" */
.single-tour-include {
	margin-top: 1.5rem;
	margin-bottom: 1.5rem;
	background: var(--color-card-bg);
	border-radius: 12px;
	box-shadow: 0 4px 15px var(--color-card-shadow-strong);
	border: 1px solid var(--color-card-border);
	overflow: hidden;
}

.single-tour-include-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1.25rem 2rem;
	cursor: pointer;
	background: var(--color-card-bg);
	transition: background 0.3s;
}

.single-tour-include-header:hover {
	background: var(--color-bg);
}

.single-tour-include-title {
	margin: 0;
	color: var(--color-primary);
	font-size: 1.35rem;
}

.single-tour-include-icon {
	color: var(--color-text-muted);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.3s ease;
}

.single-tour-include-content {
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	transition: max-height 0.4s ease, opacity 0.4s ease;
}

.single-tour-include-inner-pad {
	padding: 0 2rem 2rem 2rem;
	border-top: 1px solid var(--color-card-border);
	margin-top: 0;
	padding-top: 1.25rem;
}

/* Open State */
.single-tour-include.is-open .single-tour-include-content {
	max-height: 3000px;
	opacity: 1;
}

.single-tour-include.is-open .single-tour-include-icon {
	transform: rotate(180deg);
}

@media (max-width: 768px) {
	.single-tour-include-header {
		padding: 1rem 1.25rem;
	}

	.single-tour-include-inner-pad {
		padding: 0 1.25rem 1.25rem 1.25rem;
	}
}

/* Include List Styling */
.single-tour-include-inner-pad ul,
.single-tour-include-inner-pad ol {
	margin-top: 1rem;
	margin-bottom: 2rem;
	padding-left: 1.5rem;
}

.single-tour-include-inner-pad ul li,
.single-tour-include-inner-pad ol li {
	margin-bottom: 0.5rem;
	line-height: 1.5;
	color: var(--color-text);
	position: relative;
}

.single-tour-include-inner-pad ul {
	list-style: none;
	/* quitamos los bullets por defecto para usar un ícono/viñeta personalizada */
}

.single-tour-include-inner-pad ul li::before {
	content: "✓";
	color: var(--color-accent-dark, #c99700);
	font-weight: bold;
	display: inline-block;
	width: 1.5rem;
	margin-left: -1.5rem;
}

.single-tour-include-inner-pad ol {
	list-style-type: decimal;
}

.single-tour-include-inner-pad ol li::marker {
	color: var(--color-accent-dark, #c99700);
	font-weight: bold;
}

/* Not Include overrides */
.single-tour-not-include .single-tour-include-inner-pad ul li::before {
	content: "✗";
	color: #e74c3c;
	/* Un rojo claro sutil para denotar lo que no incluye */
}

/* Related Tours Section */
.single-tour-related {
	margin-top: 4rem;
	margin-bottom: 4rem;
}

.single-tour-related-title {
	margin-bottom: 2rem;
	color: var(--color-primary);
	font-size: 2rem;
}

.single-tour-related .category-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
}

.related-tour-card {
	background: var(--color-bg, #ffffff);
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
	display: flex;
	flex-direction: column;
	border: 1px solid var(--color-card-border);
	transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.related-tour-card:hover {
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
	transform: translateY(-5px);
}

.related-tour-card .category-card-image {
	width: 100%;
	overflow: hidden;
}

.related-tour-card .category-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}

.related-tour-card:hover .category-card-image img {
	transform: scale(1.05);
}

.related-card-content {
	padding: 1.5rem;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	background: #ffffff;
}

.related-card-content .category-card-title {
	margin-top: 0;
	margin-bottom: 1rem;
	font-size: 1.35rem;
	line-height: 1.3;
}

.related-card-content .category-card-title a {
	color: var(--color-primary);
	text-decoration: none;
	transition: color 0.3s ease;
}

.related-card-content .category-card-title a:hover {
	color: var(--color-accent-dark, #c99700);
}

.related-tour-excerpt {
	color: var(--color-text-muted);
	font-size: 0.95rem;
	line-height: 1.6;
	margin-bottom: 0;
}

@media (max-width: 992px) {
	.single-tour-related .category-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	.single-tour-related .category-grid {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   Template: General
   ========================================================================== */

.general-template-wrap {
	width: 100%;
	padding: 3rem 5% 5rem;
	box-sizing: border-box;
}

.general-template-inner {
	max-width: 900px;
	margin: 0 auto;
}

/* Título de la página */
.general-template-header {
	margin-bottom: 2.5rem;
	padding-bottom: 1.5rem;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .general-template-header {
	border-bottom-color: rgba(255, 255, 255, 0.08);
}

.general-template-title {
	margin: 0;
	font-size: clamp(1.75rem, 4vw, 2.75rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.15;
	color: var(--color-primary, #023048);
	position: relative;
	display: inline-block;
}

.general-template-title::after {
	content: '';
	display: block;
	width: 48px;
	height: 3px;
	background: var(--color-accent, #fdc000);
	border-radius: 2px;
	margin-top: 0.6rem;
}

[data-theme="dark"] .general-template-title {
	color: #eef1f3;
}

/* Contenido editorial */
.general-template-content {
	font-size: clamp(1rem, 1.5vw, 1.1rem);
	line-height: 1.85;
	color: var(--color-texto, #1a2432);
}

[data-theme="dark"] .general-template-content {
	color: #c8d8e4;
}

.general-template-content p {
	margin: 0 0 1.5em;
}

.general-template-content h2 {
	font-size: 1.5rem;
	font-weight: 700;
	margin: 2.5rem 0 1rem;
	color: var(--color-primary, #023048);
	letter-spacing: -0.02em;
}

[data-theme="dark"] .general-template-content h2 {
	color: var(--color-accent, #fdc000);
}

.general-template-content h3 {
	font-size: 1.2rem;
	font-weight: 700;
	margin: 2rem 0 0.75rem;
	color: var(--color-primary, #023048);
}

[data-theme="dark"] .general-template-content h3 {
	color: #eef1f3;
}

.general-template-content ul,
.general-template-content ol {
	margin: 0 0 1.5em 1.5rem;
	padding: 0;
}

.general-template-content li {
	margin-bottom: 0.4em;
}

.general-template-content img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
	margin: 1.5rem 0;
	display: block;
}

.general-template-content a {
	color: var(--color-accent, #fdc000);
	text-decoration: underline;
	text-underline-offset: 3px;
	transition: color 0.2s ease;
}

.general-template-content a:hover {
	color: var(--color-primary, #023048);
}

[data-theme="dark"] .general-template-content a:hover {
	color: #fff;
}

.general-template-content blockquote {
	margin: 2rem 0;
	padding: 1rem 1.5rem;
	border-left: 4px solid var(--color-accent, #fdc000);
	background: rgba(253, 192, 0, 0.06);
	border-radius: 0 6px 6px 0;
	font-style: italic;
	color: var(--color-texto-mutado, #4b5563);
}

[data-theme="dark"] .general-template-content blockquote {
	background: rgba(253, 192, 0, 0.05);
	color: #8b9aac;
}

/* Responsive */
@media (max-width: 768px) {
	.general-template-wrap {
		padding: 2rem 1.25rem 3rem;
	}
}

/* ==========================================================================
   Template: Contact Us
   ========================================================================== */

.contact-template-wrap {
	width: 100%;
	padding: 3rem 5% 5rem;
	box-sizing: border-box;
}

.contact-template-inner {
	max-width: 1200px;
	margin: 0 auto;
}

/* Título */
.contact-template-header {
	margin-bottom: 2.5rem;
	padding-bottom: 1.5rem;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .contact-template-header {
	border-bottom-color: rgba(255, 255, 255, 0.08);
}

.contact-template-title {
	margin: 0;
	font-size: clamp(1.75rem, 4vw, 2.75rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.15;
	color: var(--color-primary, #023048);
	display: inline-block;
}

.contact-template-title::after {
	content: '';
	display: block;
	width: 48px;
	height: 3px;
	background: var(--color-accent, #fdc000);
	border-radius: 2px;
	margin-top: 0.6rem;
}

[data-theme="dark"] .contact-template-title {
	color: #eef1f3;
}

/* Grid de 2 columnas */
.contact-template-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem 4rem;
	align-items: start;
}

/* Columna genérica */
.contact-col {
	min-width: 0;
}

/* ── Alertas ── */
.contact-success,
.contact-error {
	display: flex;
	align-items: flex-start;
	gap: 0.85rem;
	padding: 1rem 1.25rem;
	border-radius: 10px;
	margin-bottom: 1.5rem;
	font-size: 0.9rem;
	line-height: 1.5;
}

.contact-success {
	background: rgba(16, 185, 129, 0.1);
	border: 1px solid rgba(16, 185, 129, 0.3);
	color: #065f46;
}

[data-theme="dark"] .contact-success {
	background: rgba(16, 185, 129, 0.08);
	border-color: rgba(16, 185, 129, 0.25);
	color: #6ee7b7;
}

.contact-success svg {
	flex-shrink: 0;
	color: #10b981;
	margin-top: 2px;
}

.contact-success strong {
	display: block;
	font-weight: 700;
	margin-bottom: 0.2rem;
}

.contact-success p {
	margin: 0;
}

.contact-error {
	background: rgba(239, 68, 68, 0.08);
	border: 1px solid rgba(239, 68, 68, 0.25);
	color: #991b1b;
}

[data-theme="dark"] .contact-error {
	background: rgba(239, 68, 68, 0.07);
	border-color: rgba(239, 68, 68, 0.2);
	color: #fca5a5;
}

.contact-error svg {
	flex-shrink: 0;
	color: #ef4444;
	margin-top: 1px;
}

/* ── Formulario ── */
.contact-form {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.contact-form-group {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
}

/* Fila de 2 campos en paralelo (ej: Country + Phone) */
.contact-form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}

@media (max-width: 480px) {
	.contact-form-row {
		grid-template-columns: 1fr;
	}
}

.contact-form-label {
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--color-primary, #023048);
}

[data-theme="dark"] .contact-form-label {
	color: #c8d8e4;
}

.contact-form-required {
	color: var(--color-accent, #fdc000);
	margin-left: 2px;
}

/* Input y Textarea */
.contact-form-input,
.contact-form-textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 0.75rem 1rem;
	font-size: 0.95rem;
	font-family: inherit;
	line-height: 1.5;
	color: var(--color-texto, #1a2432);
	background: var(--color-bg, #ffffff);
	border: 1.5px solid rgba(2, 48, 71, 0.18);
	border-radius: 8px;
	outline: none;
	transition: border-color 0.25s ease, box-shadow 0.25s ease;
	-webkit-appearance: none;
	appearance: none;
}

[data-theme="dark"] .contact-form-input,
[data-theme="dark"] .contact-form-textarea {
	background: #1a2432;
	border-color: rgba(255, 255, 255, 0.12);
	color: #eef1f3;
}

.contact-form-input:focus,
.contact-form-textarea:focus {
	border-color: var(--color-accent, #fdc000);
	box-shadow: 0 0 0 3px rgba(253, 192, 0, 0.18);
}

.contact-form-input::placeholder,
.contact-form-textarea::placeholder {
	color: #9ca3af;
}

[data-theme="dark"] .contact-form-input::placeholder,
[data-theme="dark"] .contact-form-textarea::placeholder {
	color: #4b5563;
}

.contact-form-textarea {
	resize: vertical;
	min-height: 150px;
}

/* Input con ícono */
.contact-form-input-icon-wrap {
	position: relative;
}

.contact-form-input-icon {
	position: absolute;
	left: 0.85rem;
	top: 50%;
	transform: translateY(-50%);
	color: #9ca3af;
	pointer-events: none;
	flex-shrink: 0;
}

.contact-form-input.has-icon {
	padding-left: 2.6rem;
}

/* Pie del formulario: nota + botón */
.contact-form-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
	margin-top: 0.5rem;
}

.contact-form-note {
	margin: 0;
	font-size: 0.78rem;
	color: #9ca3af;
}

/* Botón enviar */
.contact-form-submit {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.8rem 2rem;
	font-size: 0.88rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--color-primary, #023048);
	background: var(--color-accent, #fdc000);
	border: none;
	border-radius: 8px;
	cursor: pointer;
	transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
	box-shadow: 0 2px 8px rgba(253, 192, 0, 0.3);
	font-family: inherit;
}

.contact-form-submit:hover {
	background: #e6ac00;
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(253, 192, 0, 0.4);
}

.contact-form-submit:active {
	transform: translateY(0);
}

.contact-form-submit svg {
	transition: transform 0.25s ease;
}

.contact-form-submit:hover svg {
	transform: translateX(3px) translateY(-2px);
}

/* ── Columna de contenido ── */
.contact-col-content {
	position: sticky;
	top: 6rem;
}

.contact-content-inner {
	font-size: clamp(0.95rem, 1.4vw, 1.05rem);
	line-height: 1.8;
	color: var(--color-texto, #1a2432);
}

[data-theme="dark"] .contact-content-inner {
	color: #c8d8e4;
}

.contact-content-inner p {
	margin: 0 0 1.25em;
}

.contact-content-inner h2,
.contact-content-inner h3 {
	font-weight: 700;
	color: var(--color-primary, #023048);
	margin: 2rem 0 0.75rem;
}

[data-theme="dark"] .contact-content-inner h2,
[data-theme="dark"] .contact-content-inner h3 {
	color: var(--color-accent, #fdc000);
}

.contact-content-inner h2 {
	font-size: 1.35rem;
}

.contact-content-inner h3 {
	font-size: 1.1rem;
}

.contact-content-inner ul,
.contact-content-inner ol {
	margin: 0 0 1.25em 1.5rem;
}

.contact-content-inner li {
	margin-bottom: 0.4em;
}

.contact-content-inner a {
	color: var(--color-accent, #fdc000);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.contact-content-inner img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
	margin: 1rem 0;
}

/* ── Responsive ── */
@media (max-width: 960px) {
	.contact-template-grid {
		grid-template-columns: 1fr;
		gap: 2.5rem;
	}

	.contact-col-content {
		position: static;
		order: -1;
		/* Contenido arriba, formulario abajo en móvil */
	}
}

@media (max-width: 600px) {
	.contact-template-wrap {
		padding: 2rem 1.25rem 3rem;
	}

	.contact-form-footer {
		flex-direction: column;
		align-items: flex-start;
	}

	.contact-form-submit {
		width: 100%;
		justify-content: center;
	}
}

/* Footer Logos Section */
.footer-logos-section {
	padding: 30px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	margin-bottom: 30px;
	justify-content: center;
	align-items: center;
}

[data-theme=" light\] .footer-logos-section {
 border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}