/*
	Theme Name: HTML5 Blank
	Theme URI: http://html5blank.com
	Description: HTML5 Blank WordPress Theme
	Version: 1.4.3
	Author: Todd Motto (@toddmotto)
	Author URI: http://toddmotto.com
	Tags: Blank, HTML5, CSS3

	License: MIT
	License URI: http://opensource.org/licenses/mit-license.php
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* ==================== EDITORIAL TEMPLATE STYLES ==================== */

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: 140px;
}

body {
	font-family: 'Open Sans', sans-serif;
	background-color: #f8f9fa;
	color: #000;
	overflow-x: hidden;
	/* scroll-padding-top: 90px; */
}

.header.clear {
	padding: 0;
}

.container {
	max-width: 1500px;
	width: 90%;
	margin: 0 auto;
}

.container-editorial {
	max-width: 1200px;
	width: 90%;
	margin: 0 auto;
}

/* ==================== HERO SECTION ==================== */
.editorial-hero {
	position: relative;
	z-index: 1;
	height: 600px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Hero Logos - Superior derecha */
.hero-logos {
	position: absolute;
	top: 30px;
	right: 30px;
	display: flex;
	gap: 15px;
	z-index: 10;
}

.hero-logo {
	height: 60px;
	width: auto;
	object-fit: contain;
	filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.hero-logo-estado {
	height: 55px;
}

.hero-logo-mundial {
	height: 60px;
}

/* Hero Days Badge - Inferior izquierda */
.hero-days-badge {
	position: absolute;
	bottom: 40px;
	left: 30px;
	display: flex;
	flex-direction: column;
	align-items: center;
	background: rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	padding: 15px 25px;
	border-radius: 8px;
	z-index: 10;
}

.hero-days-number {
	font-family: 'Bebas Neue', sans-serif;
	font-size: 48px;
	color: #fff;
	line-height: 1;
}

.hero-days-label {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.8);
	text-transform: uppercase;
	letter-spacing: 2px;
}

/* Hero Location Badge */
.hero-location-badge {
	background: rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	padding: 12px 24px;
	border-radius: 8px;
	z-index: 10;
	/* En desktop: estático dentro de hero-content, arriba del título */
	position: static;
	align-self: flex-start;
	margin-bottom: 15px;
}

.hero-location-badge span {
	font-size: 14px;
	color: #fff;
	font-weight: 600;
	letter-spacing: 1px;
	white-space: nowrap;
}

.editorial-hero-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.3) 100%);
}

/* Hero Content - Título y subtítulo en inferior izquierda */
.hero-content {
	position: absolute;
	bottom: 50px;
	left: 30px;
	z-index: 10;
	text-align: left;
	max-width: 700px;
	display: flex;
	flex-direction: column;
}

.hero-content .editorial-title {
	margin-bottom: 8px;
}

.hero-content .editorial-subtitle {
	margin-bottom: 0;
}

.editorial-hero-content {
	position: relative;
	z-index: 10;
	max-width: 800px;
	padding: 40px;
	text-align: center;
}

.editorial-breadcrumb {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.8);
	margin-bottom: 20px;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.editorial-breadcrumb a {
	color: rgba(255, 255, 255, 0.8);
	text-decoration: none;
	transition: color 0.3s ease;
}

.editorial-breadcrumb a:hover {
	color: #fff;
}



.editorial-subtitle {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.9);
	text-transform: uppercase;
	letter-spacing: 2px;
	font-weight: 600;
	margin-bottom: 10px;
}

.editorial-title {
	font-family: 'Bebas Neue', sans-serif;
	font-size: clamp(48px, 8vw, 90px);
	line-height: 0.95;
	color: #fff;
	margin-bottom: 20px;
	text-shadow: 2px 4px 10px rgba(0, 0, 0, 0.5);
}

.editorial-description {
	font-size: 16px;
	color: rgba(255, 255, 255, 0.85);
	line-height: 1.6;
	max-width: 600px;
	margin: 0 auto;
}

.editorial-scroll-indicator {
	position: absolute;
	bottom: 40px;
	left: 50%;
	transform: translateX(-50%);
	width: 40px;
	height: 40px;
	animation: bounce 2s infinite;
}

.editorial-scroll-indicator svg {
	width: 100%;
	height: 100%;
	stroke: rgba(255, 255, 255, 0.7);
}

@keyframes bounce {

	0%,
	20%,
	50%,
	80%,
	100% {
		transform: translateX(-50%) translateY(0);
	}

	40% {
		transform: translateX(-50%) translateY(-10px);
	}

	60% {
		transform: translateX(-50%) translateY(-5px);
	}
}

/* ==================== INCLUDES SECTION ==================== */
.editorial-includes {
	position: relative;
	z-index: 2;
	background: #000000;
	color: #fff;
	padding: 40px 0;
}

.editorial-includes .container {
	display: flex;
	align-items: center;
	gap: 30px;
}

.editorial-includes h2 {
	font-family: 'Bebas Neue', sans-serif;
	font-size: 24px;
	margin-bottom: 10px;
	letter-spacing: 1px;
}

.editorial-includes p {
	font-size: 15px;
	line-height: 1.6;
	opacity: 0.95;
	flex: 1;
	margin: 0;
}

/* Badge de días en includes */
.includes-days-badge {
	display: flex;
	flex-direction: column;
	align-items: center;
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	padding: 15px 25px;
	border-radius: 8px;
	flex-shrink: 0;
}

.includes-days-number {
	font-family: 'Bebas Neue', sans-serif;
	font-size: 42px;
	color: #fff;
	line-height: 1;
}

.includes-days-label {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.8);
	text-transform: uppercase;
	letter-spacing: 2px;
}

/* ====================  SECTION TITLE ==================== */
.editorial-section-title {
	position: relative;
	z-index: 2;
	background: #f8f9fa;
	padding: 40px 0 20px;
}

.editorial-section-title h2 {
	font-family: 'Bebas Neue', sans-serif;
	font-size: 32px;
	color: #1a1a1a;
	letter-spacing: 2px;
	border-bottom: 3px solid #D52B1E;
	display: inline-block;
	padding-bottom: 5px;
}

/* ==================== DAYS GRID ==================== */
.editorial-days-grid {
	position: sticky;
	top: 0;
	z-index: 50;
	background: #f8f9fa;
	padding: 0px 0 6px;
	transition: all 0.3s ease;
}

/* Estado compacto cuando se hace scroll */
.editorial-days-grid.compact {
	padding: 8px 0;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.editorial-days-grid.compact .day-card {
	flex: 0 0 180px;
}

.editorial-days-grid.compact .day-card-image {
	height: 0;
	overflow: hidden;
	opacity: 0;
}

.editorial-days-grid.compact .day-card-info {
	padding: 12px 15px;
}

.editorial-days-grid.compact .day-number {
	font-size: 10px;
	margin-bottom: 2px;
}

.editorial-days-grid.compact .day-title {
	font-size: 17px;
	/* white-space: nowrap; */
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Back-to-home integrado en modo compacto */
body.days-grid-compact .back-to-home {
	position: fixed;
	top: 30px;
	left: 15px;
	padding: 10px;
	font-size: 0;
	background: #000;
	color: #fff;
	z-index: 60;
	border-radius: 50%;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
	transition: all 0.3s ease;
	width: 50px;
	height: 50px;
	justify-content: center;
}

body.days-grid-compact .back-to-home:hover {
	background: #D52B1E;
	color: #fff;
	transform: scale(1.1);
}

body.days-grid-compact .back-to-home svg {
	stroke: #fff;
}

/* Ocultar texto e icono de flecha en modo compacto */
body.days-grid-compact .back-to-home .back-text {
	display: none;
}

body.days-grid-compact .back-to-home .icon-arrow {
	display: none;
}

body.days-grid-compact .back-to-home .icon-home {
	display: block;
}

/* ==================== CARRUSEL DE DÍAS ==================== */
.days-carousel-wrapper {
	position: relative;
	padding: 0 50px;
	/* Espacio para botones del carrusel */
}

.days-grid {
	display: flex;
	gap: 20px;
	overflow-x: auto;
	scroll-behavior: smooth;
	padding: 10px 0;
	scrollbar-width: none;
	/* Firefox */
	-ms-overflow-style: none;
	/* IE and Edge */
}

.days-grid::-webkit-scrollbar {
	display: none;
	/* Chrome, Safari, Opera */
}

.day-card {
	flex: 0 0 280px;
	cursor: pointer;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	border: 3px solid transparent;
	position: relative;
}

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

/* Day card ACTIVA - Resaltado azul */
.day-card.active {
	border-color: #212121;
	background: #212121;
	color: #ffffff;
	box-shadow: 0 8px 24px rgba(0, 0, 128, 0.3);
	/*transform: translateY(-8px) scale(1.05);*/
}

.day-card.active .day-card-info {
	background: #212121;
	color: #ffffff;
}

.day-card.active .day-title {
	color: #ffffff;
}

.day-card.active .day-number {
	background: #eb008b;
	color: #ffffff;
}

/* Indicador visual en el borde izquierdo */
.day-card.active::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 6px;
	/*background: linear-gradient(180deg, #3b82f6, #2563eb);*/
	border-radius: 8px 0 0 8px;
	z-index: 1;
}

/* Imagen limpia sin overlays */
.day-card-image {
	width: 100%;
	height: 220px;
	overflow: hidden;
	background: #f5f5f5;
}

.day-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.day-card:hover .day-card-image img {
	transform: scale(1.05);
}

/* Información debajo de la imagen */
.day-card-info {
	padding: 20px;
	background: #fff;
}

.day-number {
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	font-weight: 700;
	color: #D52B1E;
	display: block;
	transition: all 0.3s ease;
}

/* Número del día cuando la card está activa */
.day-card.active .day-number {
	/*background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;*/
	padding: 8px 16px;
	border-radius: 20px;
	font-weight: bold;
	box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
	display: inline-block;
	margin-bottom: 8px;
}

.day-title {
	font-size: 16px;
	font-weight: 600;
	color: #1a1a1a;
	margin: 0;
	line-height: 1.4;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* Botones de navegación del carrusel */
.carousel-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #fff;
	border: none;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 10;
	transition: all 0.3s ease;
}

.carousel-nav:hover {
	background: #000000;
	transform: translateY(-50%) scale(1.1);
}

.carousel-nav:hover svg {
	stroke: #fff;
}

.carousel-nav svg {
	width: 20px;
	height: 20px;
	stroke: #000000;
	transition: stroke 0.3s ease;
}

.carousel-prev {
	left: 0;
}

.carousel-next {
	right: 0;
}

/* ==================== EDITORIAL CONTENT ==================== */
.editorial-days-content {
	position: relative;
	z-index: 2;
	padding: 80px 0;
	background: #fff;
}

.content-main-title {
	font-family: 'Bebas Neue', sans-serif;
	font-size: 42px;
	color: #1a1a1a;
	margin-bottom: 20px;
	text-align: center;
}

.content-main-intro {
	font-size: 18px;
	color: #666;
	line-height: 1.8;
	text-align: center;
	max-width: 700px;
	margin: 0 auto 60px;
}

.day-detail {
	margin-bottom: 80px;
	padding-bottom: 80px;
	border-bottom: 1px solid #e0e0e0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: auto auto auto auto auto;
	gap: 10px 40px;
	align-items: start;
}

.day-detail:last-child {
	border-bottom: none;
}

/* Layout izquierda: texto a la izquierda, imagen a la derecha */
.day-detail-left .day-detail-title {
	grid-column: 1;
	grid-row: 1;
}

.day-detail-left .day-detail-dates {
	grid-column: 1;
	grid-row: 2;
}

.day-detail-left .day-detail-content {
	grid-column: 1;
	grid-row: 3;
}

.day-detail-left .day-detail-image {
	grid-column: 2;
	grid-row: 1 / 5;
	align-self: center;
}

.day-detail-left .day-actions {
	grid-column: 1;
	grid-row: 4;
}

.day-detail-left .day-tags {
	grid-column: 1 / 3;
	grid-row: 5;
}

/* Layout derecha: imagen a la izquierda, texto a la derecha */
.day-detail-right .day-detail-title {
	grid-column: 2;
	grid-row: 1;
}

.day-detail-right .day-detail-dates {
	grid-column: 2;
	grid-row: 2;
}

.day-detail-right .day-detail-content {
	grid-column: 2;
	grid-row: 3;
}

.day-detail-right .day-detail-image {
	grid-column: 1;
	grid-row: 1 / 5;
	align-self: center;
}

.day-detail-right .day-actions {
	grid-column: 2;
	grid-row: 4;
}

.day-detail-right .day-tags {
	grid-column: 1 / 3;
	grid-row: 5;
}

.day-detail-title {
	font-family: 'Bebas Neue', sans-serif;
	font-size: 36px;
	color: #000000;
	margin-bottom: 8px;
	letter-spacing: 1px;
}

.day-detail-dates {
	font-size: 14px;
	font-weight: 600;
	color: #000000;
}

.day-detail-content {
	font-size: 16px;
	color: #444;
	line-height: 1.8;
	margin-bottom: 30px;
}

.day-detail-content p {
	margin-bottom: 15px;
}

/* Estilos para contenido del editor WYSIWYG */
.day-detail-content strong {
	font-weight: 700;
	color: #222;
}

.day-detail-content em {
	font-style: italic;
}

.day-detail-content u {
	text-decoration: underline;
}

.day-detail-content ol,
.day-detail-content ul {
	margin-left: 30px;
	margin-bottom: 15px;
}

.day-detail-content ol {
	list-style-type: decimal;
}

.day-detail-content ul {
	list-style-type: disc;
}

.day-detail-content li {
	margin-bottom: 8px;
	line-height: 1.6;
}

.day-detail-content a {
	color: #D52B1E;
	text-decoration: underline;
}

.day-detail-image {
	width: 100%;
	height: 500px;
	border-radius: 16px;
	overflow: hidden;
	margin-bottom: 30px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.day-detail-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}


.day-detail:nth-child(odd) .columna:nth-child(1){
	order : 2;
}

.day-detail:nth-child(even) .columna:nth-child(2){
	order : 1;
}

/* ==================== CALL TO ACTIONS ==================== */
.day-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	margin-bottom: 25px;
}

.cta-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #D52B1E;
	color: #fff;
	padding: 14px 24px;
	border-radius: 30px;
	border: none;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(213, 43, 30, 0.3);
}

.cta-btn:hover {
	background: #b8241a;
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(213, 43, 30, 0.4);
}

.cta-btn svg {
	width: 18px;
	height: 18px;
}

/* Variantes de color para CTAs */
.cta-btn-blue {
	background: #0326DE;
	box-shadow: 0 4px 15px rgba(3, 38, 222, 0.3);
}

.cta-btn-blue:hover {
	background: #021eb3;
	box-shadow: 0 6px 20px rgba(3, 38, 222, 0.4);
}

.cta-btn-green {
	background: #27A550;
	box-shadow: 0 4px 15px rgba(39, 165, 80, 0.3);
}

.cta-btn-green:hover {
	background: #1e8a40;
	box-shadow: 0 6px 20px rgba(39, 165, 80, 0.4);
}

.cta-btn-purple {
	background: #5B2DE0;
	box-shadow: 0 4px 15px rgba(91, 45, 224, 0.3);
}

.cta-btn-purple:hover {
	background: #4a24b8;
	box-shadow: 0 6px 20px rgba(91, 45, 224, 0.4);
}

/* Variantes de azul para botones CTA */
.cta-btn-blue-dark {
	background: #0A1F5C;
	box-shadow: 0 4px 15px rgba(10, 31, 92, 0.3);
}

.cta-btn-blue-dark:hover {
	background: #071642;
	box-shadow: 0 6px 20px rgba(10, 31, 92, 0.4);
}

.cta-btn-blue-medium {
	background: #0326DE;
	box-shadow: 0 4px 15px rgba(3, 38, 222, 0.3);
}

.cta-btn-blue-medium:hover {
	background: #021eb3;
	box-shadow: 0 6px 20px rgba(3, 38, 222, 0.4);
}

.cta-btn-blue-light {
	background: #42A5F5;
	box-shadow: 0 4px 15px rgba(66, 165, 245, 0.3);
}

.cta-btn-blue-light:hover {
	background: #1e88e5;
	box-shadow: 0 6px 20px rgba(66, 165, 245, 0.4);
}

/* ==================== TAGS ==================== */
.day-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 20px;
}

.day-tag {
	font-size: 12px;
	font-weight: 600;
	padding: 6px 14px;
	border-radius: 20px;
}

/* Colores de tags según la paleta */
.day-tag:nth-child(6n+1) {
	background: #B39DDB;
	color: #5B2DE0;
}

.day-tag:nth-child(6n+2) {
	background: #80DEEA;
	color: #0A1F5C;
}

.day-tag:nth-child(6n+3) {
	background: #EFADA0;
	color: #5D2020;
}

.day-tag:nth-child(6n+4) {
	background: #C6FF00;
	color: #0F3D3E;
}

.day-tag:nth-child(6n+5) {
	background: #42A5F5;
	color: #fff;
}

.day-tag:nth-child(6n) {
	background: #EF6C50;
	color: #fff;
}

/* ==================== DIVIDER SECTION ==================== */
.editorial-divider {
	position: relative;
	z-index: 2;
	min-height: 400px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	background-attachment: fixed;
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

.divider-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.75) 100%);
}

.divider-content {
	position: relative;
	z-index: 10;
	width: 50%;
	padding: 60px 80px 60px 40px;
	color: #fff;
}

/* Asegurar que todo el texto del editor WYSIWYG sea blanco */
.divider-content * {
	color: #fff;
}

.divider-content strong,
.divider-content b,
.divider-content em,
.divider-content i,
.divider-content u,
.divider-content span {
	color: #fff !important;
}

.divider-content p {
	font-size: 20px;
	line-height: 1.8;
	color: #fff !important;
	text-align: justify;
	text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
	margin-bottom: 15px;
}

.divider-content p:last-child {
	margin-bottom: 0;
}

.divider-content h1 {
	font-size: 42px;
	font-weight: 700;
	color: #fff !important;
	margin-bottom: 20px;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.divider-content h2 {
	font-size: 32px;
	font-weight: 600;
	color: #fff !important;
	margin-bottom: 18px;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.divider-content h3 {
	font-size: 24px;
	font-weight: 600;
	color: #fff !important;
	margin-bottom: 15px;
	text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.divider-content ul,
.divider-content ol {
	color: #fff !important;
	margin: 15px 0;
	padding-left: 25px;
	text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.divider-content li {
	font-size: 18px;
	line-height: 1.6;
	margin-bottom: 8px;
	color: #fff !important;
}

.divider-content a {
	color: #fff !important;
	text-decoration: underline;
}

.divider-content a:hover {
	color: #D52B1E !important;
}

/* Tablet */
@media (max-width: 992px) {
	.editorial-divider {
		min-height: 350px;
		background-attachment: scroll;
	}

	.divider-content {
		width: 60%;
		padding: 50px 50px 50px 30px;
	}

	.divider-content p {
		font-size: 18px;
	}

	.divider-content h1 {
		font-size: 36px;
	}

	.divider-content h2 {
		font-size: 28px;
	}

	.divider-content h3 {
		font-size: 22px;
	}

	.divider-content li {
		font-size: 16px;
	}
}

/* Mobile */
@media (max-width: 768px) {
	.editorial-divider {
		min-height: 300px;
		justify-content: center;
	}

	.divider-content {
		width: 100%;
		padding: 40px 30px;
		text-align: center;
	}

	.divider-content p {
		font-size: 16px;
		text-align: center;
	}

	.divider-content h1 {
		font-size: 30px;
	}

	.divider-content h2 {
		font-size: 24px;
	}

	.divider-content h3 {
		font-size: 20px;
	}

	.divider-content li {
		font-size: 15px;
	}

	.divider-content ul,
	.divider-content ol {
		text-align: left;
	}
}

/* Mobile pequeño */
@media (max-width: 480px) {
	.editorial-divider {
		min-height: 250px;
	}

	.divider-content {
		padding: 30px 20px;
	}

	.divider-content p {
		font-size: 15px;
		line-height: 1.7;
	}

	.divider-content h1 {
		font-size: 26px;
	}

	.divider-content h2 {
		font-size: 22px;
	}

	.divider-content h3 {
		font-size: 18px;
	}

	.divider-content li {
		font-size: 14px;
	}
}

/* ==================== PHOTO GALLERY ==================== */
.editorial-gallery {
	position: relative;
	z-index: 2;
	background: #f0f2f5;
	padding: 60px 0;
}

.gallery-title {
	font-family: 'Bebas Neue', sans-serif;
	font-size: 32px;
	color: #1a1a1a;
	letter-spacing: 2px;
	margin-bottom: 30px;
	text-align: center;
}

.gallery-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	grid-template-rows: auto auto;
	gap: 15px;
}

/* Imágenes grandes (fila superior) - 2 imágenes ocupan 3 columnas cada una */
.gallery-item-large {
	grid-column: span 3;
}

/* Imágenes pequeñas (fila inferior) - 3 imágenes ocupan 2 columnas cada una */
.gallery-item-small {
	grid-column: span 2;
}

.gallery-item {
	border-radius: 12px;
	overflow: hidden;
	position: relative;
	cursor: pointer;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
}

.gallery-item:hover img {
	transform: scale(1.05);
}

/* Altura de las imágenes */
.gallery-item-large {
	height: 280px;
}

.gallery-item-small {
	height: 220px;
}

/* Tablet: 2 columnas arriba, 3 abajo (mismo layout) */
@media (max-width: 992px) {
	.editorial-gallery {
		padding: 40px 0;
	}

	.gallery-grid {
		gap: 12px;
	}

	.gallery-item-large {
		height: 240px;
	}

	.gallery-item-small {
		height: 180px;
	}
}

/* Mobile: layout vertical */
@media (max-width: 768px) {
	.gallery-title {
		font-size: 26px;
		margin-bottom: 20px;
	}

	.gallery-grid {
		grid-template-columns: 1fr 1fr;
		gap: 10px;
	}

	/* En mobile: 2 imágenes grandes arriba (1 columna cada una) */
	.gallery-item-large {
		grid-column: span 1;
		height: 180px;
	}

	/* 3 imágenes pequeñas: las primeras 2 lado a lado, la tercera ocupa todo el ancho */
	.gallery-item-small {
		grid-column: span 1;
		height: 150px;
	}

	.gallery-item-small:last-child {
		grid-column: span 2;
		height: 180px;
	}
}

/* Mobile pequeño */
@media (max-width: 480px) {
	.editorial-gallery {
		padding: 30px 0;
	}

	.gallery-grid {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.gallery-item-large,
	.gallery-item-small,
	.gallery-item-small:last-child {
		grid-column: span 1;
		height: 200px;
	}
}

/* ==================== LIGHTBOX ==================== */
.lightbox {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.active {
	opacity: 1;
	visibility: visible;
}

.lightbox-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.95);
	cursor: pointer;
}

.lightbox-content {
	position: relative;
	z-index: 10;
	max-width: 90%;
	max-height: 85vh;
	display: flex;
	align-items: center;
	justify-content: center;
}

.lightbox-image {
	max-width: 100%;
	max-height: 85vh;
	object-fit: contain;
	border-radius: 8px;
	box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
	transition: opacity 0.15s ease, transform 0.3s ease;
}

.lightbox-image.transitioning {
	opacity: 0.5;
	transform: scale(0.98);
}

.lightbox-close {
	position: absolute;
	top: 20px;
	right: 20px;
	width: 50px;
	height: 50px;
	background: rgba(255, 255, 255, 0.1);
	border: none;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 20;
	transition: all 0.3s ease;
}

.lightbox-close:hover {
	background: rgba(255, 255, 255, 0.2);
	transform: rotate(90deg);
}

.lightbox-close svg {
	width: 24px;
	height: 24px;
	stroke: #fff;
}

.lightbox-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 60px;
	height: 60px;
	background: rgba(255, 255, 255, 0.1);
	border: none;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 20;
	transition: all 0.3s ease;
}

.lightbox-nav:hover {
	background: rgba(255, 255, 255, 0.25);
	transform: translateY(-50%) scale(1.1);
}

.lightbox-nav svg {
	width: 28px;
	height: 28px;
	stroke: #fff;
}

.lightbox-prev {
	left: 30px;
}

.lightbox-next {
	right: 30px;
}

.lightbox-counter {
	position: absolute;
	bottom: 30px;
	left: 50%;
	transform: translateX(-50%);
	color: rgba(255, 255, 255, 0.8);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 2px;
	z-index: 20;
}

/* Lightbox Tablet */
@media (max-width: 992px) {
	.lightbox-nav {
		width: 50px;
		height: 50px;
	}

	.lightbox-nav svg {
		width: 24px;
		height: 24px;
	}

	.lightbox-prev {
		left: 20px;
	}

	.lightbox-next {
		right: 20px;
	}
}

/* Lightbox Mobile */
@media (max-width: 768px) {
	.lightbox-content {
		max-width: 95%;
		max-height: 80vh;
	}

	.lightbox-image {
		max-height: 80vh;
	}

	.lightbox-close {
		top: 15px;
		right: 15px;
		width: 44px;
		height: 44px;
	}

	.lightbox-close svg {
		width: 20px;
		height: 20px;
	}

	.lightbox-nav {
		width: 44px;
		height: 44px;
	}

	.lightbox-nav svg {
		width: 20px;
		height: 20px;
	}

	.lightbox-prev {
		left: 10px;
	}

	.lightbox-next {
		right: 10px;
	}

	.lightbox-counter {
		bottom: 20px;
		font-size: 13px;
	}
}

/* Lightbox Mobile pequeño */
@media (max-width: 480px) {
	.lightbox-nav {
		width: 40px;
		height: 40px;
		background: rgba(255, 255, 255, 0.15);
	}

	.lightbox-nav svg {
		width: 18px;
		height: 18px;
	}

	.lightbox-prev {
		left: 5px;
	}

	.lightbox-next {
		right: 5px;
	}
}

/* ==================== WORDPRESS PANEL ==================== */
.wp-panel {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #fff;
	z-index: 9999;
	transform: translateX(100%);
	transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	overflow-y: auto;
}

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

.wp-panel-header {
	position: sticky;
	top: 0;
	background: #fff;
	padding: 20px 40px;
	border-bottom: 1px solid #e0e0e0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	z-index: 10;
}

.wp-panel-header h2 {
	font-family: 'Bebas Neue', sans-serif;
	font-size: 32px;
	color: #1a1a1a;
}

.wp-panel-close {
	width: 40px;
	height: 40px;
	background: #f5f5f5;
	border: none;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s ease;
}

.wp-panel-close:hover {
	background: #e0e0e0;
	transform: rotate(90deg);
}

.wp-panel-close svg {
	width: 20px;
	height: 20px;
	stroke: #333;
}

.wp-panel-content {
	padding: 40px;
	max-width: 900px;
	margin: 0 auto;
}

.wp-loading {
	text-align: center;
	padding: 80px 20px;
}

.loader {
	width: 50px;
	height: 50px;
	border: 4px solid #f3f3f3;
	border-top: 4px solid #0326DE;
	border-radius: 50%;
	animation: spin 1s linear infinite;
	margin: 0 auto 20px;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

.wp-loading p {
	color: #666;
	font-size: 14px;
}

/* WordPress Content Styles */
.wp-content {
	font-size: 16px;
	line-height: 1.8;
	color: #444;
}

.wp-content h1,
.wp-content h2,
.wp-content h3 {
	font-family: 'Bebas Neue', sans-serif;
	color: #1a1a1a;
	margin: 30px 0 15px;
}

.wp-content p {
	margin-bottom: 15px;
}

.wp-content img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
	margin: 20px 0;
}

.wp-content ul,
.wp-content ol {
	margin-left: 20px;
	margin-bottom: 15px;
}

/* ==================== BACK TO HOME ==================== */
.back-to-home {
	position: fixed;
	top: 20px;
	bottom: auto;
	left: 20px;
	background: rgba(255, 255, 255, 0.95);
	color: #1a1a1a;
	padding: 10px 20px;
	border-radius: 30px;
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease, top 0.3s ease, left 0.3s ease, padding 0.3s ease, font-size 0.3s ease, background 0.3s ease;
	z-index: 1000;
	backdrop-filter: blur(5px);
}

.back-to-home svg {
	transition: stroke 0.3s ease;
}

/* Icono de flecha visible por defecto, home oculto */
.back-to-home .icon-arrow {
	display: block;
}

.back-to-home .icon-home {
	display: none;
}

.back-to-home:hover {
	background: #fff;
	transform: translateY(2px);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.back-to-home svg {
	width: 18px;
	height: 18px;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
	.editorial-hero {
		height: 68vh;
		min-height: 300px;
	}

	/* Hero content en mobile */
	.hero-content {
		bottom: 40px;
		left: 20px;
		right: 20px;
		max-width: none;
	}

	.hero-logos {
		top: 15px;
		right: 15px;
		gap: 10px;
	}

	.hero-logo {
		height: 40px;
	}

	.hero-logo-estado {
		height: 35px;
	}

	.hero-logo-mundial {
		height: 40px;
	}

	/* Hero content en mobile */
	.hero-content {
		bottom: 52px;
		left: 20px;
		right: 20px;
		max-width: none;
	}

	.hero-location-badge {
		padding: 8px 16px;
		margin-bottom: 10px;
	}

	.hero-location-badge span {
		font-size: 11px;
	}

	/* Includes section en mobile */
	.editorial-includes .container {
		flex-direction: row;
		gap: 15px;
		text-align: left;
		align-items: center;
	}

	.includes-days-badge {
		flex-direction: column;
		gap: 2px;
		padding: 8px 12px;
		flex-shrink: 0;
	}

	.includes-days-number {
		font-size: 22px;
	}

	.includes-days-label {
		font-size: 9px;
	}

	.editorial-includes p {
		font-size: 13px;
		line-height: 1.5;
	}

	.editorial-title {
		font-size: clamp(36px, 10vw, 60px);
	}

	.editorial-subtitle {
		font-size: 12px;
	}

	/* Carrusel en mobile */
	.days-carousel-wrapper {
		padding: 0 40px;
	}

	.days-grid {
		gap: 15px;
		padding: 7px 0;
	}

	.day-card {
		flex: 0 0 240px;
	}

	.day-card-image {
		height: 180px;
	}

	.day-card-info {
		padding: 15px;
	}

	.carousel-nav {
		width: 36px;
		height: 36px;
	}

	.carousel-nav svg {
		width: 16px;
		height: 16px;
	}

	.carousel-prev {
		left: -5px;
	}

	.carousel-next {
		right: -5px;
	}

	.content-main-title {
		font-size: 32px;
	}

	.day-detail-title {
		font-size: 28px;
	}

	.day-detail-image {
		height: 300px;
	}

	/* Layout de una columna en mobile */
	.day-detail {
		grid-template-columns: 1fr;
		gap: 15px;
		display: flex;
		flex-direction: column;
	}

	.day-detail-left .day-detail-title,
	.day-detail-left .day-detail-content,
	.day-detail-left .day-detail-image,
	.day-detail-left .day-actions,
	.day-detail-left .day-tags,
	.day-detail-right .day-detail-title,
	.day-detail-right .day-detail-content,
	.day-detail-right .day-detail-image,
	.day-detail-right .day-actions,
	.day-detail-right .day-tags {
		grid-column: 1;
		grid-row: auto;
	}

	.day-actions {
		flex-direction: column;
	}

	.cta-btn {
		width: 100%;
		justify-content: center;
	}

	.wp-panel-header {
		padding: 15px 20px;
	}

	.wp-panel-content {
		padding: 20px;
	}

	.back-to-home {
		top: 15px;
		bottom: auto;
		left: 15px;
		font-size: 13px;
		padding: 8px 16px;
	}

	/* Compact mode en mobile */
	body.days-grid-compact .back-to-home {
		top: 27px;
		bottom: auto;
		left: 15px;
		width: 36px;
		height: 36px;
		padding: 8px;
		z-index: 950;
	}

	/* Days grid compact en mobile - reducir más el padding */
	.editorial-days-grid.compact {
		padding: 6px 0;
	}

	.editorial-days-grid.compact .days-carousel-wrapper {
		padding: 0 35px;
	}

	.editorial-days-grid.compact .day-card {
		flex: 0 0 140px;
	}

	.editorial-days-grid.compact .day-card-info {
		padding: 8px 10px;
	}

	.editorial-days-grid.compact .day-number {
		font-size: 11px;
		margin-bottom: 1px;
	}

	.editorial-days-grid.compact .day-title {
		font-size: 15px;
	}

	.editorial-days-grid.compact .carousel-nav {
		width: 30px;
		height: 30px;
	}

	.editorial-days-grid.compact .carousel-nav svg {
		width: 14px;
		height: 14px;
	}
}

/* ==================== CONTACT BAR TOGGLE ==================== */
.contact-bar-toggle {
	position: fixed;
	bottom: 20px;
	right: 20px;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 12px 20px;
	background: rgb(0 0 0 / 95%);
	color: #fff;
	border: none;
	border-radius: 50px;
	cursor: pointer;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
	z-index: 901;
	transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}

.contact-bar-toggle:hover {
	transform: scale(1.05);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.contact-bar-toggle svg {
	width: 20px;
	height: 20px;
}

.contact-bar-toggle span {
	font-weight: 600;
	font-size: 14px;
}

.contact-bar-toggle.hidden {
	opacity: 0;
	pointer-events: none;
	transform: scale(0.8);
}

/* ==================== CONTACT BAR ==================== */
.contact-bar {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgb(0 0 0 / 95%);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	padding: 15px 30px;
	padding-right: 60px;
	box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.1);
	z-index: 900;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	transform: translateY(100%);
	opacity: 0;
	transition: transform 0.3s ease, opacity 0.3s ease;
}

.contact-bar.expanded {
	transform: translateY(0);
	opacity: 1;
}

/* Close Button */
.contact-bar-close {
	position: absolute;
	top: 15px;
	right: 15px;
	background: rgba(255, 255, 255, 0.15);
	border: none;
	border-radius: 50%;
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background 0.3s ease;
}

.contact-bar-close:hover {
	background: rgba(255, 255, 255, 0.25);
}

.contact-bar-close svg {
	width: 18px;
	height: 18px;
	stroke: #fff;
}

.contact-info {
	display: flex;
	flex-direction: column;
}

.contact-label {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: #fff;
	margin-bottom: 2px;
}

.contact-org {
	font-family: 'Bebas Neue', sans-serif;
	font-size: 20px;
	color: #27A550;
	letter-spacing: 0.5px;
}

.contact-actions {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	justify-content: flex-end;
}

.contact-btn,
.contact-item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	border-radius: 30px;
	font-size: 13px;
	font-weight: 600;
	transition: all 0.3s ease;
}

.contact-btn {
	background: #1a1a1a;
	color: #fff;
	text-decoration: none;
	cursor: pointer;
}

.contact-btn:hover {
	background: #000;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.contact-item {
	background: rgba(0, 0, 0, 0.05);
	color: #fff;
}

.contact-btn svg,
.contact-item svg {
	width: 16px;
	height: 16px;
}

/* Colores específicos por tipo */
.contact-btn-whatsapp {
	background: #25D366;
}

.contact-btn-whatsapp:hover {
	background: #128C7E;
}

.contact-btn-email {
	background: #EA4335;
}

.contact-btn-email:hover {
	background: #B92B1E;
}

/* Ajuste para que el contenido no quede oculto detrás de la barra */
body {
	padding-bottom: 100px;
}

@media (max-width: 768px) {
	.contact-bar-toggle {
		bottom: 15px;
		right: 15px;
		padding: 10px 16px;
	}

	.contact-bar-toggle span {
		font-size: 13px;
	}

	.contact-bar-toggle svg {
		width: 18px;
		height: 18px;
	}

	.contact-bar {
		padding: 12px 20px;
		padding-right: 50px;
		flex-direction: column;
		align-items: flex-start;
		gap: 15px;
	}

	.contact-bar-close {
		top: 12px;
		right: 10px;
		width: 32px;
		height: 32px;
	}

	.contact-bar-close svg {
		width: 16px;
		height: 16px;
	}

	.contact-actions {
		width: 100%;
		justify-content: flex-start;
	}

	.contact-org {
		font-size: 18px;
	}

	.contact-btn,
	.contact-item {
		padding: 8px 14px;
		font-size: 12px;
	}

	.day-actions {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 10px;
	}

	.cta-btn {
		width: 100%;
		justify-content: center;
		padding: 10px 20px;
		font-size: 12px;
	}

	.editorial-scroll-indicator {
		/* position: absolute; */
		bottom: 0px;
		/* left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    animation: 2s ease 0s infinite normal none running bounce;
    } */

	}

	.content-main-title {
		display: none;
	}

	.content-main-intro {
		display: none;
	}

	.day-detail:nth-child(odd) .columna:nth-child(1){
		order : initial;
	}

	.day-detail:nth-child(even) .columna:nth-child(2){
		order : initial;
	}
}

.ruta-card-tag {
	padding: 4px 10px;
	border-radius: 12px;
	font-size: 10px;
	font-weight: 500;
	color: #fff !important;
}

/* colores distintos para cada tag */
.tag-1 { background: #0ea5e9; }
.tag-2 { background: #22c55e; }
.tag-3 { background: #f97316; }
.tag-4 { background: #a855f7; }
.tag-5 { background: #ef4444; }
.tag-6 { background: #06b6d4; }
.tag-7 { background: #84cc16; }
.tag-8 { background: #f43f5e; }
.tag-9 { background: #8b5cf6; }
.tag-10 { background: #14b8a6; }
.tag-11 { background: #ec4899; }
.tag-12 { background: #6366f1; }
.tag-13 { background: #10b981; }
.tag-14 { background: #f59e0b; }
.tag-15 { background: #3b82f6; }
.tag-16 { background: #d946ef; }
.tag-17 { background: #0891b2; }
.tag-18 { background: #65a30d; }
.tag-19 { background: #dc2626; }
.tag-20 { background: #7c3aed; }

/* Colores cíclicos usando nth-child para tags adicionales */
.ruta-card-tag:nth-child(10n+1) { background: #0ea5e9; }
.ruta-card-tag:nth-child(10n+2) { background: #22c55e; }
.ruta-card-tag:nth-child(10n+3) { background: #f97316; }
.ruta-card-tag:nth-child(10n+4) { background: #a855f7; }
.ruta-card-tag:nth-child(10n+5) { background: #ef4444; }
.ruta-card-tag:nth-child(10n+6) { background: #06b6d4; }
.ruta-card-tag:nth-child(10n+7) { background: #ec4899; }
.ruta-card-tag:nth-child(10n+8) { background: #14b8a6; }
.ruta-card-tag:nth-child(10n+9) { background: #6366f1; }
.ruta-card-tag:nth-child(10n) { background: #f59e0b; }

/* ==================== RUTA CARD BODY ELEMENTS ==================== */
.ruta-card-duration {
	position: relative;
	display: inline-block;
	background: #D52B1E;
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	padding: 4px 10px;
	border-radius: 4px;
	margin-right: 8px;
	margin-bottom: 8px;
}

.ruta-card-location {
	position: relative;
	display: inline-block;
	background: #1a1a1a;
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	padding: 4px 10px;
	border-radius: 4px;
	margin-bottom: 8px;
}

.ruta-card-name {
	position: relative;
	font-family: 'Bebas Neue', sans-serif;
	font-size: 22px;
	color: #1a1a1a;
	margin: 10px 0 12px;
	line-height: 1.2;
	letter-spacing: 0.5px;
}