/*!
Theme Name: Navarra Media
Theme URI: http://underscores.me/
Author: Hitz Karega
Author URI: http://hitzkareaga.com
Description: Un theme personalizado para Navarra Media
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: nm
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Navarra Media is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/
:root {
	--black: #1D1D1B;
	--white: #ffffff;
	--lightgrey: #F6F6F6;
	--grey: #D2D2D1;
	--green: #238561;
	--lightgreen: #DBE9E1;
	--yellow: #FCDB5B;
	--lightyellow: #FEF8E2;
	--red: #EB525C;
	--lightred: #F5DEDE;
	--blue: #66CCCC;
	--lightblue: #E0F5F5;
}
::selection {
  color: var(--white);
  background: var(--green);
}
.white  {
	color: var(--white);
}
.green  {
	color: var(--green);
}
.yellow  {
	color: var(--yellow);
}
.red  {
	color: var(--red);
}
.blue  {
	color: var(--blue);
}
.bgblack  {
	background-color: var(--black);
}
.bggreen  {
	background-color: var(--green);
}
.bgyellow  {
	background-color: var(--yellow);
}
.bgred  {
	background-color: var(--red);
}
.bgblue  {
	background-color: var(--blue);
}
.home-h2 {
	font-family: 'ABeeZee';
	font-style: italic;
}
/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: var(--black);
	font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: clamp(1rem, 0.8077rem + 0.7692vw, 1.5rem);
	font-weight: 300;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	font-weight: 600;
  line-height: 1.15;
}
h1 {
	line-height: 1.1;
  font-size: clamp(1.25rem, 0.6604rem + 1.8868vw, 2.5rem);
  margin: 0;
  max-width: 900px;
}
h2 {line-height: 1.1; font-size: clamp(1.5rem, 0.2027rem + 2.7027vw, 2.5rem);}
.desc, .desc2 {
	font-style: italic;
  font-size: clamp(1rem, 0.6462rem + 1.1321vw, 1.75rem);
  line-height: 1.2;
  padding: 0;
  margin: 10px auto 0;
   max-width: 990px;
   text-align: center;
}
.desc2 {max-width: 760px;}
.desc2 small{
	font-size: 20px;
	font-style: normal !important;
}
p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: var(--lightgrey);
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted var(--black);
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: var(--white);
	overflow-x: hidden;
}

hr {
	background-color: var(--black);
	border: 0;
	height: 2px;
	margin-bottom: 1em;
}

ul,
ol {
	margin: 0;
    padding: 0 0 0 1em;
}
.txt-main ol {
  font-size: clamp(1rem, 0.6757rem + 0.6757vw, 1.25rem);
}
ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 0;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}


ol {
  counter-reset: item;
  list-style: none;
  padding-left: .5em;
}

ol li {
  display: block;
  counter-increment: item;
}

ol li::before {
  content: counters(item, ".") ". ";
  margin-right: 0.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: var(--black);
	text-decoration: underline;
}

a:visited {
	color: var(--black);
}

a:hover,
a:focus,
a:active {
	color: var(--black);
	text-decoration: none;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}
.bg-green {
	background-color: var(--green);
}
.bg-red {
	background-color: var(--red);
}
.bg-yellow {
	background-color: var(--yellow);
}
.bg-black {
	background-color: var(--black);
}
.bg-white {
	background-color: var(--white);
}
.single-pueblo a,
.single-pueblo a:visited,
.single-pueblo a:hover,
.single-pueblo a:target,
.single-pueblo a:active {
	color: var(--green);
}
.single-reportaje a,
.single-reportaje a:visited,
.single-reportaje a:hover,
.single-reportaje a:target,
.single-reportaje a:active {
	color: var(--green);
}
.single-evento a,
.single-evento a:visited,
.single-evento a:hover,
.single-evento a:target,
.single-evento a:active {
	color: var(--yellow);
}
.single-reportaje .subhome-button a, 
.single-reportaje .subhome-button a:visited {
  color: var(--white);
}
/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	line-height: 1;
	background-color: var(--black);
	font-size: clamp(1rem, 0.6757rem + 0.6757vw, 1.25rem);
	color: white;
	padding: 12px 40px;
	border: none;
	border-radius: 30px;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	transition: background 0.3s ease;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	background-color: var(--green);
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	background-color: var(--green);
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: var(--black);
	border: 1px solid var(--black);
	border-radius: 0;
	padding: 3px;
	max-width: 500px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: var(--black);
}

select {
	border: 1px solid var(--black);
	max-width: 500px;
	width: 100%;
  background: transparent;
}

textarea {
	width: 100%;
}
.flatpickr-calendar {
    font-size: 18px;
}
/* Centra el bloque completo */
.wpcf7-form p {
  text-align: center;   
  margin: 5px 0;          
}
.wpcf7-turnstile.cf-turnstile {text-align: center;}
.wpcf7-form label.text-label {
  display: inline-block;          
  text-align: left;               
}

/* Para que el input/selector vaya debajo del texto del label */
.wpcf7-form .wpcf7-form-control {
  display: block;
  margin-top: .25rem;
  width: 100%;
}
.wpcf7-form select.wpcf7-form-control  {width: 500px; height: 41px;}
.wpcf7-form label.text-label small {font-size: 16px; font-weight: bold; text-transform: uppercase;}

.wpcf7-form input[type="submit"] {
	max-width: 500px;
	margin: 30px auto 0;
}
.wpcf7 form.sent .wpcf7-response-output {
  border-color: var(--green);
  background-color: var(--green);
  color: var(--white);
  text-align: center;
}
/* Mensaje de error de validación */
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
    background-color: var(--red);
    border: 2px solid var(--red);
    color: var(--white);
}

/* Mensaje de error de envío */
.wpcf7 form.failed .wpcf7-response-output {
    background-color: var(--red);
    border: 2px solid var(--red);
    color: var(--white);
}

.wpcf7-not-valid-tip {
  color: var(--red);
  max-width: 500px;
}
input.wpcf7-not-valid, textarea.wpcf7-not-valid {
	border: 2px solid var(--red);
	color: var(--red);
	font-weight: normal;
}
@media screen and (max-width: 560px) {
	.wpcf7-form select {width: 100%;}
	.wpcf7-form label.text-label {
	  display: block;          
	}

}
/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
/*.main-navigation {
	display: block;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}


.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}
*/

/* Oculta el menú por defecto 
#primary-menu {
	display: none;
}
*/
/* Estilo del botón hamburguesa */

.site-header {
	position: relative;
	z-index: 9999;
	display: flex;
	justify-content: space-between;
	padding: 0 30px;
}
.menu-toggle {
	font-size: 3.5rem;
	background: none;
	border: none;
	cursor: pointer;
	z-index: 1001;
	position: relative;
	color: white;
	padding:0;
}
.menu-toggle:hover {background-color: transparent;}
/* Menú a pantalla completa */
.fullscreen-menu {
	display: none;
	position: fixed;
	inset: 0;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	background: var(--grey);
	z-index: 9999;
	overflow-y: auto;
	justify-content: center;
	align-items: center;	
	flex-direction: column;
	padding: 4em 2rem 2em;
	
	transition: opacity 0.3s ease;
}




.fullscreen-menu.active {
	display: block;
}

/* Opcional: evitar scroll del body cuando está activo */
body.menu-open {
	overflow: hidden;
}




#primary-menu {
	display: flex;
    flex-wrap: wrap;
	gap: 30px;
	width: 100%;
	max-width: 1200px;
	padding: 24px;
	justify-content: flex-end;
}

/* Cada sección principal */
#primary-menu > li {
	list-style: none;
}

/* Estilo del título (nivel 1) */
#primary-menu > li > a {
	font-size: 1.8rem;
	font-weight: 300;
	color: var(--black);
	display: block;
	font-family: 'ABeeZee';
	font-style: italic;
	text-decoration: none;
	/*pointer-events: none; */
    cursor: default;
}
#primary-menu > li > a {
	cursor: pointer;
  color: white;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  background: transparent;
  border: none;
  padding: 0 8px 0 0;
  position: relative;
  outline: none;
  z-index: 10;
}
/* Submenú */
#primary-menu li ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

#primary-menu li ul li {
	margin-bottom: 0.5rem;
}

#primary-menu li ul li a {
	color: var(--black);
	text-decoration: none;
	font-size: 1rem;
}

#primary-menu li ul li a:hover {
	color: var(--black);
	text-decoration: none;
	
}
#primary-menu li ul li a:hover h4 {
	text-decoration: underline;
}
/* Botón cerrar */
.close-menu {
	position: absolute;
	top: 10px;
	right: 30px;
	background: none;
	border: none;
	color: var(--black);
	font-size: 5rem;
	cursor: pointer;
	z-index: 1001;
	padding: 20px 0 0;
}
.close-menu:hover {background-color: transparent;}
.body-no-scroll {
	overflow: hidden;
	height: 100%;
}
@media screen and (max-width: 768px) {
  #primary-menu {flex-direction: column;}
}

.topbar-menu-wrapper {
	display: flex;
  justify-content: space-between;
  color: var(--white);
  padding: 15px 60px 5px 20px;
  font-size: 1.2rem;
  /*border-bottom: 2px solid var(--white); */
  position: relative;
  z-index: 9999;
}

.topbar-menu, .lang-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 15px;
  
}

.topbar-menu li a,
.lang-menu li a,
.topbar-menu li a:visited,
.lang-menu li a:visited {
  color: var(--white);
  text-decoration: none;
  padding: 3px 5px;
  display: inline-block;
  font-size: 16px;
}

.topbar-menu li a:hover,
.lang-menu li a:hover {
  text-decoration: underline;
}
.topbar-menu li.btn a, .topbar-menu li.btn a:visited{
	background-color: var(--white);
  color: var(--black);
	font-weight: 500;
  padding: 6px 20px;
  border: none;
  border-radius: 18px;
  max-width: 380px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  transition: background 0.3s ease;
}
.topbar-menu li.btn a:hover, .topbar-menu li.btn a:target {
	background-color: var(--black);
  color: var(--white);
}
/* Submenús ocultos por defecto */
#topbar-right .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  background: rgba(255,255,255, .9);
  padding: 10px 15px;
  margin: 0;
  list-style: none;
  font-size: 16px;
  min-width: 180px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  z-index: 1000;
}
#topbar-right .sub-menu li a,
#topbar-right .sub-menu li a:visited {
	color: var(--black);
}
/* Mostrar al abrir */
#topbar-right .menu-item-has-children.submenu-open > .sub-menu {
  display: block;
}

/* Icono */
.submenu-toggle {
  display: inline-block;
  margin-left: 6px;
  cursor: pointer;
  vertical-align: middle;
}

.submenu-toggle svg {
  width: 14px;
  height: auto;
  transition: transform 0.3s ease;
}

/* Girar icono cuando está abierto */
.menu-item-has-children.submenu-open .submenu-toggle svg {
  transform: rotate(180deg);
}

.single-reportaje .topbar-menu li a, 
.single-reportaje .topbar-menu li a:visited, 
.single-reportaje .topbar-menu li a:hover, 
.single-reportaje .topbar-menu li a:target, 
.single-reportaje .topbar-menu li a:active,
.single-reportaje .lang-menu li a, 
.single-reportaje .lang-menu li a:visited, 
.single-reportaje .lang-menu li a:hover, 
.single-reportaje .lang-menu li a:target, 
.single-reportaje .lang-menu li a:active {
	color: var(--white);
}
.single-reportaje .topbar-menu li.btn a, 
.single-reportaje .topbar-menu li.btn a:visited {
	color: var(--black);
}
.single-reportaje.black-text .topbar-menu li a, 
.single-reportaje.black-text .lang-menu li a, 
.single-reportaje.black-text .topbar-men li a:visited, 
.single-reportaje.black-text .lang-menu li a:visited {
  color: var(--black);
}
.single-reportaje .topbar-menu li.btn a:hover, 
.single-reportaje .topbar-menu li.btn a:target {
	color: var(--white);
}
.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}
.hidden {
  display: none !important;
}
/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.site-branding {
	padding-right: 50px;
	/*border-right: 2px solid var(--white);*/
	position: relative;
    z-index: 3;
}
.custom-logo-link {
	display: inline-block;
	padding: 20px 0
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: var(--lightgrey);
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: var(--black);
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}
.site-footer {
    background-color: #272727;
    padding: 60px 0 20px;
    color: var(--white);
}
.social {
	margin: 30px 0 20px;
	padding: 0 0 30px;
	border-top: 2px solid var(--white);
	border-bottom: 2px solid var(--white);
}
.footer-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 30px;
}

.footer-menu {
	display: contents; /* importante: evita que el <ul> interfiera en el grid */
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-menu > li {
	color: white;
}

.footer-menu > li > a,
.footer-menu > li > a:visited {
	font-weight: 500;
	font-size: 18px;
	color: var(--white);
	text-decoration: none;
	text-transform: uppercase;
	display: inline-block;
	margin-bottom: 12px;
}

.footer-menu li ul {
	margin-top: 10px;
	padding-left: 0;
	list-style: none;
	margin-left: 0;
}

.footer-menu li ul li a,
.footer-menu li ul li a:visited {
	color: var(--lightgrey);
	font-size: 1rem;
	text-decoration: underline;
	display: inline-block;
	margin-bottom: 8px;
}
.footer-menu li ul li a:hover,
.footer-menu li ul li a:target {
  text-decoration: none;
}
.footer-icons {
    display: flex;
    justify-content: center;
    gap: 30px; /* espacio entre iconos */
    margin-top: 40px; /* espacio arriba */
}

.footer-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;  /* tamaño caja del icono */
    height: 80px;
    color: white; /* color SVG por defecto si usas fill="currentColor" */
    transition: color 0.3s ease;
    text-decoration: none;
}

.footer-icons a:hover {
    color: var(--green); /* color de acento al hover */
}

.footer-icons svg {
    width: 60px;
    height: 60px;
    fill: currentColor; /* para heredar el color desde el enlace */
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    font-size: 16px;
    color: var(--lightgrey);
    margin: 0 30px 0;
}

.legal-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
}

.legal-menu li a,
.legal-menu li a:visited {
    color: var(--lightgrey);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.legal-menu li a:hover,
.legal-menu li a:target {
    text-decoration: none;
}

.footer-copyright {
    color: #aaa;
    font-size: 16px;
}

.logos {
    display: flex;
    flex-wrap: nowrap;         
    justify-content: space-evenly; 
    align-items: center; 
    gap: 0;  
    padding: 15px;              
}
.logos .logo {
	flex: 0 1 auto;
	min-width: 0;
    display: flex;              
    justify-content: center;
    align-items: center;
    padding: 20px 10px;
}
.logos  .logo img {
    max-height: 60px;
    max-width: 220px;
    height: auto;
    width: auto;
    display: block;
  object-fit: contain;
}
@media screen and (max-width: 1200px) {
	.logos {
		flex-wrap: wrap; 
	}
	.logos .logo {
		flex: 0 1 auto;
	}
}


@media (min-width: 768px) and (max-width: 1024px) {
    .logo {
        flex: 0 1 calc(50% - 55px); /* 2 columnas menos el gap */
        display: flex;
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .logo {
        flex: 0 1 100%;
        display: flex;
        justify-content: center;
    }
}

@media screen and (max-width: 990px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media screen and (max-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .legal-menu {display: block; margin-bottom: 20px;}
}
@media screen and (max-width: 500px) {
  .footer-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}
/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}
.wrapper {
	max-width: 1440px;
	width: 100%;
	margin: 0 auto;
	padding: 5px 30px;
}
.wrapper-home {
	width: 100%;
	margin: 0 auto;
	padding: 15px 70px;
}
.wrapper.center {text-align:center; margin: 30px auto;}
.wrapper-sm {
	max-width: 1100px;
	margin: 0 auto;
}
.wrapper.cols {
	display: flex;
  flex-wrap: wrap;
	gap: 60px;
	align-items: center;   
  justify-content: center;
}
.wrapper.cols.textual {
	align-items:flex-start;  
}
.wrapper.cols > * {
  flex: 1 1 0;
  /* o simplemente flex: 1; */
}
.wrapper.cols > .col.image {
	text-align: center;
	overflow: hidden;
}
.wrapper.cols > .col.image > img {
	max-height: 700px;
	display: block;
    transition: transform 0.5s ease;
}
.wrapper.cols > .col.image > img:hover {
	transform: scale(1.05); 
}





.page-template-pueblos-page .title,
.page-template-page-page .title {
	max-width: 900px; 
	text-align: center;
	margin: 0 auto;
}
.page-template-page-page .title {margin-top: 60vh; margin-bottom: 50px;}
.page-template-pueblos-page .title h1 {
	font-size: clamp(1.5rem, 0.6346rem + 3.4615vw, 3.75rem);
}
.page-template-page-page h2::before {
  content: '';
  display: inline-block;
  width: 60px;
  height: 10px;
  background: var(--red);
  position: absolute;
  margin-top: -20px;
}
.page-template-page-page.page-id-3899  h2::before {
  background: var(--green);
}
.map-menu-wrapper {
	display: flex;
	gap: 60px;
	justify-content:space-between;
	align-items:flex-start;
	flex-wrap: wrap;
	overflow: visible;
}
.map-menu-wrapper svg {
  overflow: visible;
}
.wrapper-map {margin-top: 60px; margin-bottom: 100px;}
.map-text-menu {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(3, 220px);
  grid-template-rows: repeat(13, auto);
  grid-auto-flow: column;
	gap: 6px 30px;
}

.map-text-menu a,
.map-text-menu a:visited {
	color: var(--black);
	text-decoration: none;
	font-size: 1rem;
	transition: color 0.2s ease;
}

.map-text-menu a.active,
.map-text-menu a:hover {
	color: var(--green);
	font-weight: bold;
}

/* Mapa SVG */
#interactive-map {
	width: 500px;
	height: auto;
}

.zone-menu-section {
	text-align: center;
	margin-bottom: 2rem;
}

.zone-columns {
	display: flex;
	justify-content: center;
	gap: 2rem;
}

.zone-column a {
	display: block;
	text-align: center;
	font-weight: bold;
	line-height: 1;
}

.map-wrapper {
	display: flex;
	justify-content: center;
	padding: 2rem 0;
}

.map-zone {
	fill: var(--lightgreen);
	transition: fill 0.3s;
	cursor: pointer;
	line-height: 1.2;
	font-size: clamp(1rem, 0.8077rem + 0.7692vw, 1.5rem);
}

.map-zone.yellow {
	fill: var(--lightyellow);
}
.map-zone.active,
.map-zone:hover {
	fill: var(--green);
}
.map-zone.highlight {
	fill: var(--green); /* verde al pasar el cursor por el enlace */
}
.map-zone.yellow.active,
.map-zone.yellow:hover,
.map-zone.highlight {
	fill: var(--yellow);
}
/* SINGLE PUEBLO */
.head-pueblo, .head-evento,  .head-repor, .head-establecimiento  {
	position: absolute;
	top: 0;
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 80vh;
    max-height: 800px;
    color: white;
}

.head-pueblo .overlay, .head-evento .overlay, .head-repor .overlay, .head-establecimiento {
    background-image: linear-gradient(0deg, rgba(0,0,0,0.30) 13%, rgba(0,0,0,0.00) 49%, rgba(0,0,0,0.20) 85%);
    display: inline-block;
    width: 100%;
    height: 80vh;
    max-height: 800px;
    margin: 0 auto;
	z-index: 2;
  position: relative;
}
.head-pueblo .overlay .wrapper, .head-evento .overlay .wrapper, .head-repor .overlay .wrapper, .head-repor .wrapper,  .head-establecimiento .wrapper  {
	display: flex;
	flex-direction: column;
	justify-content: flex-end; 
	margin: 0 auto;
	height: 55vh;
    max-height: 650px;
    text-align: center;
}
.head-evento {color: var(--black);}
.head-evento .overlay .wrapper {
	height: 102vh;
    max-height: 1100px;
}
.head-pueblo .overlay .wrapper-sm, .head-evento .overlay .wrapper-sm, .head-repor .overlay .wrapper-sm, .head-repor .wrapper,  .head-establecimiento .wrapper-sm {
	margin: 0;
}
.head-repor.no-img .wrapper {
	margin: 5vh auto 0;
	height: auto
}

.head-pueblo h1, .head-evento h1, .head-repor h1, .head-establecimiento h1  {
	line-height: 1.1;
    font-size: clamp(1.5rem, 0.6346rem + 3.4615vw, 3.75rem);
    margin: 0 auto;
    text-align: center;
}
.head-evento h1 {
	max-width: 1200px;
}
.head-repor.no-img h1 {
  margin: 0 auto ;
}
.single-reportaje h1 {
      line-height: 1.1;
      font-size: clamp(1.5rem, 0.6346rem + 3.4615vw, 3.75rem);
	  margin: 35vh auto 0;
	  text-align: center;
}
.head-pueblo .desc, .head-evento .desc, .head-repor .desc {
	font-style: italic;
	font-size: clamp(1rem, 0.6462rem + 1.1321vw, 1.75rem);
	line-height: 1;
	padding: 0;
	margin: 10px 0 0;
}

.head-pueblo.no-img, .head-evento.no-img {
    background-color: var(--green);
    display: flex;
    flex-direction: column;
  justify-content: flex-end;
  height: 60vh;
  max-height: 800px;
}
.head-repor.no-img {
    background-color: var(--green);
    display: flex;
    flex-direction: column;
  justify-content: center;
  height: 80vh;
  max-height: 800px;
}
.head-page.no-img {
	position: absolute;
  top: 0;
  width: 100vw;
    background-color: var(--red);
    display: flex;
    flex-direction: column;
  justify-content: flex-end;
  height: 20vh;
  max-height: 200px;
}
.head-results.no-img {
	position: absolute;
  top: 0;
  width: 100vw;
    background-color: var(--green);
    display: flex;
    flex-direction: column;
  justify-content: flex-end;
  height: 35vh;
  max-height: 400px;
}
.head-results.no-img h1 {color: var(--white);}
.search-results .site-main {
	margin-top: 150px;
}
.page-template-page-page h1 {
	margin-top: 80px;
	font-size: clamp(1.5rem, 0.6346rem + 3.4615vw, 3.75rem);
}

.head-evento.no-img {
	 height: 30vh;
}
.head-establecimiento.no-img {
	position: absolute;
    background-color: var(--red);
    background-image: none;
    height: 30vh;
}
.head-normal {
  background-color: var(--green);
  height: 35vh;
  position: absolute;
  top: 0;
  background-size: cover;
  background-position: center;
  width: 100%;
  color: white;
}
.head-normal h1 {
  margin-top: 25vh;
  padding-bottom: 100px;
  max-width: 100%;
  text-align: center;
}
.site-main-normal {
  margin-top: 100px;
}
.head-establecimiento.no-img  .wrapper {
  height: 50vh;
}
.head-establecimiento.no-img h1, .head-establecimiento.no-img p {
  color: var(--black);
}
.head-establecimiento.no-img + .site-main, .single-restaurante .site-main {
  margin-top: 28vh;
}

.head-establecimiento a, .head-establecimiento:hover, .head-establecimiento a:target, .head-establecimiento a:visited {
  color: var(--white);
}
.head-establecimiento.no-img  a, .head-establecimiento.no-img :hover, .head-establecimiento.no-img  a:target, .head-establecimiento.no-img  a:visited {
  color: var(--black);
}
.single-pueblo .site-main, .single-reportaje .site-main, .single-alojamiento .site-main, .single-bodega .site-main, .single-restaurante .site-main {
	margin-top: 60vh;
	position: relative;
}
.single-evento .site-main {
	margin-top: 80vh;
	position: relative;
}
.head-evento.no-img ~ .site-main {
	margin-top: 90px;
}
.establecimiento-main {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
    margin-bottom: 30px;
}
.ruta-main .txt-main {
	max-width: 980px;
	margin: 0 auto;
	text-align: center;
}
.txt-main,
.establecimiento-map {
    flex: 1 1 45%;
    min-width: 300px;
}
.establecimiento-map {
  margin-top: 30px;
}
/* Responsive para móvil */
@media (max-width: 768px) {
	.wrapper {
		padding: 15px 30px;
	}
    .establecimiento-main {
        flex-direction: column;
    }

    .txt-main,
    .establecimiento-map {
        flex: 1 1 100%;
    }
}


.head-repor.video-bg {
  position: absolute;
  overflow: hidden;
}

.head-repor.video-bg .video-container,
.video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.head-repor.video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}







.single-pueblo .pueblo-main,
.single-evento .evento-main,
.single-reportaje .reportaje-main,
.single-alojamiento .establecimiento-main,
.single-bodega .establecimiento-main,
.single-restaurante .establecimiento-main {
	display: flex;
	flex-wrap: wrap;
    gap: 30px;
}
.single-pueblo .pueblo-main  .txt-main,
.single-evento .evento-main  .txt-main,
.single-repotaje .repotaje-main  .txt-main	{
    flex: 0 0 calc(66.666% - 30px);
}

.single-pueblo .pueblo-main .mapa-pueblo,
.single-evento .evento-main .btn-evento,
.single-reportaje .reportaje-main .btn-reportaje {
    flex: 0 0 33.333%;
}
.single-evento .evento-main  .btn-evento{ 
	display: flex;
	align-items: center;
	align-content: center;
	justify-content: center;
}

.single-pueblo .galeria-pueblo,
.single-reportaje .galeria-reportaje,
.single-ruta .galeria-pueblo,
.single-estacion .galeria-pueblo{
    position: relative;
}
.single-ruta .galeria-pueblo,
.single-estacion .galeria-pueblo{
	padding-top: 50px;
}
.single-pueblo .galeria-swiper,
.single-reportaje .galeria-swiper {
    position: relative;
}
.single-reportaje .galeria-pueblo {margin: 60px 0;}
.single-pueblo .slide-text,
.single-ruta .slide-text,
.single-estacion .slide-text{
    position: absolute;
    z-index: 10;
    top: 20%;
    left: 20%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: left;
    padding: 1rem;
}
.single-reportaje .slide-text  {
    position: absolute;
    z-index: 10;
    top: 10%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: left;
    padding: 1rem;
}
.single-reportaje .slide-text h3,
.single-ruta .slide-text h3,
.single-estacion .slide-text h3{
    line-height: 1.2;
	text-shadow: 0 2px 20px rgba(0,0,0,0.46);
}

.single-pueblo .slide-text h2,
.single-ruta .slide-text h2,
.single-estacion .slide-text h2{
    font-size: clamp(1.25rem, 0.5769rem + 2.6923vw, 3rem);
    line-height: 1;
}
.single-pueblo .slide-text h2 small,
.single-reportaje .slide-text h2 small,
.single-ruta .slide-text h2 small,
.single-estacion .slide-text h2 small {
    display: block;
    font-size: clamp(1.125rem, 0.7885rem + 1.3462vw, 2rem);
    margin-bottom: 10px;
    font-weight: 300;
}





.single-pueblo .galeria-swiper .swiper-slide,
.single-reportaje .galeria-swiper .swiper-slide,
.single-ruta .galeria-swiper .swiper-slide,
.single-estacion .galeria-swiper .swiper-slide{
    width: 100%;
    height: 800px;
}

.single-pueblo .slide-bg,
.single-reportaje .slide-bg,
.single-ruta .slide-bg,
.single-estacion .slide-bg{
    position: relative;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.single-pueblo .slide-overlay,
.single-reportaje .slide-overlay  {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(0deg, rgba(0,0,0,0.50) 13%, rgba(0,0,0,0.20) 44%, rgba(0,0,0,0.40) 75%);
    z-index: 1;
}

.single-pueblo .swiper-pagination,
.single-reportaje .swiper-pagination {
    position: absolute;
	  bottom: 20px;
	  right: 10%;
	  width: auto; /* no ocupar todo el ancho */
	  text-align: right;
	  z-index: 10;
}


/* Bullets generales */
.single-pueblo .swiper-pagination-bullet,
.single-reportaje .swiper-pagination-bullet {
  background-color: white;
  opacity: 1; /* sin transparencia */
  width: 20px;
  height: 20px;
  border-radius: 10px;
  margin: 0 6px;
  transition: all 0.3s ease;
}

/* Bullet activo */
.single-pueblo .swiper-pagination-bullet-active,
.single-reportaje .swiper-pagination-bullet-active  {
  width: 60px;
  border-radius: 10px;
}

.single-pueblo .swiper-button-next,
.single-pueblo .swiper-button-prev,
.single-reportaje .swiper-button-next,
.single-reportaje .swiper-button-prev {
  color: white; /* Hace las flechas blancas */
  width: 60px;
  height: 60px;
  font-size: 48px; 
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.3s ease;
  z-index: 11;
}

.single-pueblo .swiper-button-next:hover,
.single-pueblo .swiper-button-prev:hover,
.single-reportaje .swiper-button-next:hover,
.single-reportaje .swiper-button-prev:hover  {
  opacity: 0.7;
}


.single-pueblo .row-flex,
.single-reportaje .row-flex {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  align-items: center;
  gap: 30px;
  margin: 40px auto;
}

.single-pueblo .col-7, .single-reportaje .col-7 {
  flex: 0 0 calc(58.3333% - 15px); /* 7/12 */
  max-width: calc(58.3333% - 15px);
}

.single-pueblo .col-5, .single-reportaje .col-5  {
  flex: 0 0 calc(41.6667% - 15px); /* 5/12 */
  max-width: calc(41.6667% - 15px);
  text-align: center
}
.single-pueblo .col-5 img, .single-reportaje .col-5 img {
	max-height: 700px;
}
@media (max-width: 768px) {
  .single-pueblo .col-7, .single-pueblo .col-5,
   .single-reportaje .col-7, .single-reportaje .col-5 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}





/* Estilos de la galería */
.galeria-recuadros {
    position: relative;
    background-color: var(--lightgreen);
    padding: 50px 0;
}
.single-reportaje .galeria-recuadros {
    position: relative;
    background-color: transparent;
    padding: 50px 0;
    margin-top: 50px;
}
.galeria-recuadros h2 {
    font-size: clamp(1.25rem, 0.5769rem + 2.6923vw, 3rem);
    line-height: 1;
}

.galeria-recuadros h2 small {
    display: block;
    font-size: clamp(1.125rem, 0.7885rem + 1.3462vw, 2rem);
    margin-bottom: 10px;
    font-weight: 300;
}
.galeria-recuadros h2 {
    margin-bottom: 30px;
    margin-left: calc(50vw - 720px);
    padding: 0 30px;
    
}

.swiper-container {
    width: calc(50vw + 720px - 480px);
    margin-left: calc(50vw - 720px + 480px);
    margin-top: -120px;
    padding-bottom: 20px;
    overflow: hidden;
}

.swiper-wrapper {
    display: flex;
}

.galeria-recuadros .swiper-slide {
    width: 420px;  /* Ancho del recuadro */
    height: 420px; /* Alto del recuadro */
    position: relative;
}

.recuadro {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.recuadro-img {
    width: 100%;
    height: 100%;
    object-fit: cover;  /* Asegura que la imagen cubra todo el recuadro */
}

.recuadro-title {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    color: white;
    padding: 10px;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    z-index: 10;
}

/* Estilos de la galería */
.galeria-recuadros {
    position: relative;
    padding: 20px;
    overflow: hidden;
}

.galeria-recuadros h2 {
    margin-bottom: 30px;
    position: relative;
    z-index: 10;
}

/* Ajuste del contenedor del slider */
.swiper-container {
    width: calc(50vw + 720px - 480px);  /* Ancho dinámico calculado */
    margin-left: calc(50vw - 720px + 480px);  /* Márgenes ajustados para centrar */
    padding-bottom: 70px;
    overflow: hidden;
    position: relative;
}

/* Wrapper del slider */
.swiper-wrapper {
    display: flex;
    transition: transform 0.3s ease;
}

/* Estilo de cada slide */
.swiper-slide {
    width: 420px;
    height: 420px;
    position: relative;
    flex-shrink: 0;
}

.recuadro {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.recuadro-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recuadro-title {
    position: absolute;
    color: white;
    padding: 10px 15px;
    font-size: clamp(1rem, 0.7837rem + 0.8654vw, 1.5625rem);
    font-weight: 500;
    z-index: 10;
}

/* Estilos de las flechas */
.galeria-recuadros  .swiper-button-next, .galeria-recuadros  .swiper-button-prev {
    color: var(--green);  /* Flechas de color verde */
    position: absolute;
    bottom: -10px;  
    top: auto;
    z-index: 10;  
}

/* Flecha derecha */
.galeria-recuadros .swiper-button-next {
    left: 100px;  /* Ubicación a la derecha */
}

/* Flecha izquierda */
.galeria-recuadros .swiper-button-prev {
    left: 0;
}

.galeria-recuadros .swiper-pagination {
  position: absolute;
  bottom: 0px;
  right: auto;left: 0;
  width: auto;
  text-align: right;
  z-index: 10;
}
.galeria-recuadros .swiper-pagination-bullet {
    background-color: var(--green);
    width: 20px;
    height: 20px;
    border-radius: 10px;
}

.galeria-recuadros .swiper-pagination-bullet-active {
    width: 60px;
    background-color: var(--green); 
}


.galeria-recuadros .swiper-pagination-bullet {
    background-color: var(--green); 
    width: 20px;
    height: 20px;
    border-radius: 10px;
}

.galeria-recuadros .swiper-pagination-bullet-active {
    width: 60px;
    background-color: var(--green); 
}
.single-pueblo .faq {
	display: flex;
}
.single-pueblo .faq-pueblo {
  flex: 0 0 calc(66.6666% - 15px); /* 7/12 */
  max-width: calc(66.6666% - 15px);
    margin: 20px 0;
}
.single-pueblo .googlemaps {
	flex: 0 0 calc(33.3333% - 15px); /* 7/12 */
  max-width: calc(33.3333% - 15px);
  text-align: center;
  margin: 0 auto;
}
.single-pueblo .faq-item {
    margin-bottom: 4px;
}

.single-pueblo .faq-question {
    font-size: clamp(1rem, 0.8077rem + 0.7692vw, 1.5rem);
    font-weight: bold;
    cursor: pointer; /* Cambiar el cursor a mano para indicar que es clickeable */
    padding: 10px;
    background-color: var(--lightgrey);
    margin: 0;
    display: flex;
  justify-content: space-between;
  align-items: center;
}

.single-pueblo .faq-answer {
    padding: 10px;
    background-color: var(--lightgrey);
    display: none; 
    font-size: clamp(1rem, 0.9038rem + 0.3846vw, 1.25rem);
}
 
.single-pueblo .faq-question.active .faq-toggle-icon {
  transform: rotate(-180deg); /* flecha hacia arriba */
}
.single-pueblo .faq-question
.single-pueblo .faq-toggle-icon {
  font-size: clamp(1rem, 0.8077rem + 0.7692vw, 1.5rem);
  transition: transform 0.3s;
}

.single-pueblo .btn-maps,
.single-evento .btn-enlace-evento {
  display: inline-block;
  background-color: var(--green);
  color: var(--white);
  font-size: clamp(1rem, 0.8077rem + 0.7692vw, 1.5rem);
  font-weight: bold;
  padding: 0.75em 1.5em;
  border-radius: 999px; /* o 50em para asegurar el pill shape */
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.single-pueblo .btn-maps:hover,
.single-evento .btn-enlace-evento:hover{
  background-color: var(--black); /* O un tono más oscuro de --green */
}


.single-pueblo .enlaces-paginas {
  background-color: var(--lightgreen);
  padding: 50px 0;
}

.single-pueblo .enlaces-paginas h3 {
  font-size: clamp(1.5rem, 0.9231rem + 2.3077vw, 3rem);
  font-weight: 300;
}

.single-pueblo .enlaces-paginas .otros {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap;
}

.single-pueblo .enlaces-paginas .item-pagina {
  flex: 1 1 calc(33.333% - 30px);
  max-width: calc(33.333% - 30px);
}

.single-pueblo .item-pagina a {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 630px;
  position: relative;
  overflow: hidden;
}

.single-pueblo .imagen-fondo {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
}

.single-pueblo .imagen-fondo .overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(180deg, rgba(0,0,0,0.00) 56%, rgba(0,0,0,0.98) 99%, #D8D8D8 100%);
  display: flex;
  align-items: flex-end;
  padding: 30px;
  box-sizing: border-box;
  transition: opacity 0.3s ease;
}

.single-pueblo .imagen-fondo h4 {
  color: var(--white);
  font-size: clamp(1rem, 0.8077rem + 0.7692vw, 1.5rem);
  font-weight: 300;
  margin: 0;
  transition: opacity 0.3s ease;
}

/* Hover: desaparece fondo y texto */
.single-pueblo .item-pagina a:hover .overlay {
  opacity: 0;
}

.single-pueblo .item-pagina a:hover .overlay h4 {
  opacity: 0;
}

.agenda {
	background-color: var(--lightblue);
	padding: 50px 0;
}
.agenda h3 {
	font-size: clamp(1.5rem, 0.9231rem + 2.3077vw, 3rem);
	text-align: center;
}
.agenda .eventos-flex {
	display: flex;
  flex-wrap: wrap;
	gap: 50px;
}
.agenda .eventos-flex .evento-item {
  flex: 1 1 calc((100% - 100px) / 3);
  box-sizing: border-box;
}
.agenda .eventos-flex .evento-item a {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 430px;
  position: relative;
  overflow: hidden;
}
.agenda .eventos-flex .thumb::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(180deg, rgba(0,0,0,0.00) 56%, rgba(0,0,0,0.98) 99%, #D8D8D8 100%);
  pointer-events: none;
  z-index: 1;
}
.agenda .eventos-flex .thumb {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
}
.agenda .eventos-flex .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.agenda .eventos-flex .thumb .fecha {
  position: absolute;
  bottom: 0;
  width: 100%;
  color: var(--white);
  display: flex;
  align-items: flex-end;
  padding: 10px 10px 20px;
  box-sizing: border-box;
  z-index: 2; /* Encima de la sombra */
}

.agenda h4 {
	line-height: 1;
	padding: 15px 15px 0;
	margin: 0;
}
.agenda .lugar {
	padding: 0 15px;
	font-size: clamp(1rem, 0.9038rem + 0.3846vw, 1.25rem);
}
.filtros {
	display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-bottom: 2rem;
}
.filtros input {
	min-width: 240px;
	min-height: 37px;
	border: 1px solid var(--black);
	font-size: 1rem;
}
.filtros label {
  font-size: 0.8rem;
  display: flex;
  flex-direction: column;
  font-weight: bold;
  width: 100%;
}
.filtros select {
	display: flex;
  flex-direction: column;
  font-size: 1rem;
  width: 100%;
  min-height: 37px;
}
.filtros button {
  align-self: end;
  padding: 0.75rem 1rem;
  background: var(--yellow);
  color: var(--black);
  border: none;
  border-radius: 20px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
}
@media (max-width: 992px) {
  .agenda .eventos-flex .evento-item {
    flex: 1 1 calc((100% - 30px) / 2);
  }
}

/* Responsive: 1 columna en móviles */
@media (max-width: 600px) {
  .agenda .eventos-flex .evento-item {
    flex: 1 1 100%;
  }
}

.home-hero {
    position: absolute;top: 0;
    width: 100%;
    height: 85vh;
    max-height: 900px;
    background-size: cover;
    background-position: center 90%;
    display: flex;
    align-items: flex-end;
    color: var(--white);
}
.home-hero .slider-wrapper {
	width: 100vw;
}
.home-hero.has-slider {
	position: absolute;top: 0;
    width: 100vw;
    height: 85vh; /* o la altura que quieras */
    max-height: 900px;
}

.home-slider {
    width: 100%;
    height: 100%;
}

.home-slider .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--black);
    height: 85vh;
    max-height: 900px;
}

.home-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.home-hero .swiper-button-next,
.home-hero .swiper-button-prev,
.home-hero .swiper-pagination {
    position: absolute;
    z-index: 20; /* Mayor que el z-index del overlay */
}
.home-hero .swiper-button-next {
	right: 30px;
}
.home-hero .swiper-button-prev {
	left: 30px;
}
.subhome-hero {
    position: absolute;top: 0;
    width: 100%;
    height: 80vh;
    max-height: 800px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    color: var(--white);
}
.space {height:  60vh;} 
.space.sm {height: 60vh;} 
#ven.space {height: 65vh; max-height: 700px;}  

.home-hero .overlay {
	background-image: linear-gradient(0deg, rgba(0,0,0,0.20) 18%, rgba(0,0,0,0.40) 79%);
  display: inline-block;
  width: 100%;
  height: 85vh;
    max-height: 900px;
  margin: 0 auto;
  z-index: 2;
  position: absolute;
}
.home-hero .overlay {
    pointer-events: none; /* No bloquea clics */
}
.home-hero .overlay .wrapper {
    pointer-events: auto; /* Pero sí permite clics dentro del texto */
}
.subhome-hero .overlay {
    background-image: linear-gradient(0deg, rgba(0,0,0,0.50) 13%, rgba(0,0,0,0.20) 44%, rgba(0,0,0,0.40) 75%);
  display: inline-block;
  width: 100%;
  height: 80vh;
    max-height: 800px;
  margin: 0 auto;
  z-index: 2;
  position: absolute;
}
.subhome-hero h1 {
  font-size: clamp(1.5rem, 0.6346rem + 3.4615vw, 3.75rem);
  margin: 35vh auto 0;
  text-align: center;
}
.home-hero h1 {
  font-size: clamp(1.5rem, 0.6346rem + 3.4615vw, 3.75rem);
  margin: 35vh auto 0;
	text-align: center;
}
.home-hero .tagline p {
	text-align: center; 
	font-family: 'ABeeZee'; 
	font-style: italic; 
	font-weight: 300; font-size: clamp(1.75rem, 1.3158rem + 0.7018vw, 2rem);
	padding: 0 0 20px;
	margin: 0
}

.home-hero .tagline p a, .home-hero .tagline p a:visited {
  background-color: transparent;
  font-size: clamp(1rem, 0.6757rem + 0.6757vw, 1.25rem);
	font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-style: normal;
  color: white;
  padding: 12px 40px;
  border: none;
  border-radius: 30px;
	border:2px solid white;
  max-width: 360px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  transition: background 0.3s ease;
}

.subhome-hero .desc, .subhome-hero .desc p {
	font-style: italic;
  font-size: clamp(1.125rem, 0.7885rem + 1.3462vw, 2rem);
  line-height: 1.2;
  padding: 0;
  margin: 10px auto 0;
  text-align: center;
}
.subhome-hero .desc a, .subhome-hero .desc a:visited {
	color: var(--white);
}
.subhome-block {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    margin: 80px auto;
    max-width: 1380px;
    padding: 0 30px;
    gap: 60px;
}
.subhome-block.one-column {
	gap: 0;
}

.subhome-block h2,
.subhome-block h3,
.subhome-block h4
.subhome-block h5
.subhome-block h6 {
	font-size: clamp(1.5rem, 0.2027rem + 2.7027vw, 2.5rem);
	line-height: 1.2;
}
.subhome-block p {
	font-size: clamp(1.25rem, 0.6014rem + 1.3514vw, 1.75rem);
	line-height: 1.3;
}
.subhome-block.one-column .subhome-text,
.subhome-block.one-column .subhome-image {
    width: 100%;
}
.subhome-block.two-columns .subhome-text,
.subhome-block.two-columns .subhome-image {
    width: calc(50% - 30px);
}

.subhome-block2 {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    margin: 80px auto 80px;
    max-width: 1380px;
    padding: 0 30px;
    gap: 60px;
}
.subhome-block2 h2,
.subhome-block2 h3,
.subhome-block2 h4,
.subhome-block2 h5,
.subhome-block2 h6 {
	font-size: clamp(1.5rem, 0.2027rem + 2.7027vw, 2.5rem);
	line-height: 1.2;
}


.subhome-block2 p {
	font-size: clamp(1.25rem, 0.6014rem + 1.3514vw, 1.75rem);
	line-height: 1.3;
}

.subhome-block2.two-columns .subhome-text,
.subhome-block2.two-columns .subhome-image {
    width: calc(50% - 30px);
}
.subhome-block.two-columns .subhome-text h2:before {
  content: '';
  display: inline-block;
  width: 60px;
  height: 10px;
  background: var(--green);
  position: absolute;
  margin-top: -20px;
}

.subhome-block2.two-columns .subhome-text h2:before {
  content: '';
  display: inline-block;
  width: 60px;
  height: 10px;
  background: var(--green);
  position: absolute;
  margin-top: -20px;
}
.single-reportaje .wrapper.cols h2:before {
	content: '';
  display: inline-block;
  width: 60px;
  height: 10px;
  background: var(--green);
  position: absolute;
  margin-top: -20px;
}
.subhome-image {
	overflow: hidden; 
    width: 100%;
}
.subhome-image img {
    width: 100%;
    object-fit: cover;
    object-position: center center;
    height: auto;
    display: block;
    transition: transform 0.5s ease; 
}


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





.subhome-text {
    padding: 0 30px;
}
.subhome-button {
    margin-top: 20px;
}
.btn-green, .btn-green:visited {
    background-color: var(--green);
    font-size: clamp(1rem, 0.6757rem + 0.6757vw, 1.25rem);
    font-weight: bold;
    color: white;
    padding: 12px 60px;
    border: none;
    border-radius: 30px;
    max-width: 300px;
  text-align: center;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s ease;
}
.btn-green:hover, .btn-green:target {
    background-color: var(--black); 
    text-decoration: none;
    color: var(--white);
}
.btn-black, .btn-black:visited {
    background-color: var(--black);
    font-size: clamp(1rem, 0.6757rem + 0.6757vw, 1.25rem);
    font-weight: bold;
    color: var(--white);
    padding: 12px 60px;
    border: none;
    border-radius: 30px;
    max-width: 380px;
  text-align: center;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s ease;
}
.btn-black:hover, .btn-black:target {
    background-color: var(--green); 
    text-decoration: none;
    color: var(--white);
    
}
.accent-yellow .btn-black:hover, .accent-yellow .btn-black:target {
	background-color: var(--yellow); 
	 color: var(--black);
}
.single-pueblo a.btn-black, .single-pueblo a.btn-black:visited, .single-pueblo .btn-black:hover, .single-pueblo a.btn-black:target, .single-pueblo a.btn-black:active,
.single-evento a.btn-black, .single-evento a.btn-black:visited, .single-evento a.btn-black:hover, .single-evento a.btn-black:target, .single-evento a.btn-black:active,
.single-reportaje a.btn-black, .single-reportaje a.btn-black:visited, .single-reportaje a.btn-black:hover, .single-reportaje a.btn-black:target, .single-reportaje a.btn-black:active,
.single-evento a.btn-enlace-evento, .single-evento a.btn-enlace-evento:visited, .single-evento a.btn-enlace-eventon:hover, .single-evento a.btn-enlace-evento:target, .single-evento a.btn-enlace-evento:active {
	color: var(--white);
}

.subhome-slider {
    width: 100%;
    position: relative;
    padding-bottom: 80px;
    overflow: hidden;
}
.swiper-slide {
    height: 850px;
  width: 100%;
}
.slide {
    position: relative;
    height: 100%;
    background-size: cover;
    background-position: center;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px 20px;
}
.slide .overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-image: linear-gradient(179deg, rgba(0, 0, 0, 0.00) 50%, rgba(0, 0, 0, 0.70) 100%);
    z-index: 1;
}
.slide .mapa {
    position: absolute;
    top: 30px;
    left: 30px;
    z-index: 2;
    max-width: 400px;
}
.slide-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    z-index: 2;
    margin: 500px 0 0;
    padding-bottom: 40px;
    text-align: left;
    max-width: 1000px;
}
.slide-wrapper h3 {
    font-size: clamp(1.5rem, -0.4459rem + 4.0541vw, 3rem);
    margin-bottom: 10px;
}
.slide-wrapper p {
    font-size: 1.2rem;
    max-width: 700px;
    margin-bottom: 20px;
}
.page-template-subhome-page .swiper-button-next,
.page-template-subhome-page .swiper-button-prev {
  color: white; /* Hace las flechas blancas */
  width: 60px;
  height: 60px;
  font-size: 48px; 
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.3s ease;
  z-index: 11;
}

.page-template-subhome-page .swiper-button-next:hover,
.page-template-subhome-page .swiper-button-prev:hover {
  opacity: 0.7;
}

.page-template-subhome-page .swiper-pagination {
    position: absolute;
	  bottom: 20px;
	  right: 10%;
	  width: auto; /* no ocupar todo el ancho */
	  text-align: right;
	  z-index: 10;
}


/* Bullets generales */
.page-template-subhome-page .swiper-pagination-bullet {
  background-color: white;
  opacity: 1; /* sin transparencia */
  width: 20px;
  height: 20px;
  border-radius: 10px;
  margin: 0 6px;
  transition: all 0.3s ease;
}

/* Bullet activo */
.page-template-subhome-page .swiper-pagination-bullet-active {
  width: 60px;
  border-radius: 10px;
}



.subhome-related {
    padding: 80px 0 10px;
    background-color: var(--white);
}

.subhome-related-title {
    text-align: center;
    font-family: 'ABeeZee', sans-serif;
    font-style: italic;
    font-weight: 400;
    font-size: clamp(1.5rem, 0.6346rem + 3.4615vw, 3.75rem);
    color: var(--black);
    margin-bottom: 40px;
}
.subhome-related-title.yellow::after {
  content: '';
  display: block;
  width: 60px;
  height: 10px;
  background: var(--yellow);
  position: absolute;
  margin-bottom: -20px;
  right: calc(50vw - 30px);
}
h3.rel-title {
	text-align: center;
    font-size: clamp(1.5rem, 0.6346rem + 3.4615vw, 3.75rem);
    color: var(--black);
    margin-bottom: 60px;
	margin-top: 60px;
}
h3.rel-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 10px;
  background: var(--yellow);
  position: absolute;
  margin-bottom: -30px;
  right: calc(50vw - 30px);
}
.subhome-related-title.red::after, .subhome-pills-title.red:after {
  content: '';
  display: block;
  width: 60px;
  height: 10px;
  background: var(--red);
  position: absolute;
  margin-bottom: -20px;
  right: calc(50vw - 30px);
}
.subhome-related-text {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto 50px;
    font-size: clamp(1rem, 0.6479rem + 1.1268vw, 2rem);
    line-height: 1.3;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(28%, 1fr));
    gap: 70px;
}

.related-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.related-image {
    overflow: hidden; 
    width: 100%;
    margin-bottom: 20px;
}
.related-image img {
    width: 100%;
    object-fit: cover;
    object-position: center center;
    aspect-ratio: 1 / 1;
    height: auto;
    margin-bottom: 20px;
    display: block;
    transition: transform 0.5s ease; 
}
.related-image img:hover {
    transform: scale(1.05); 
}
.related-text {
    font-size: 18px;
    margin-bottom: 15px;
}
.related-text h3 {
	font-size: clamp(1.5rem, 0.8514rem + 1.3514vw, 1.8rem);
	line-height: 1.2;
	margin: 0 0 15px;
	padding: 0;
}
.related-button {
  width: 100%;
}
.related-button .btn-black,
.related-button .btn-black:visited {
    background-color: var(--white);
    border: 2px solid var(--black);
    border-radius: 30px;
    color: var(--black);
    padding: 12px 0;
    font-size: clamp(1rem, 0.6757rem + 0.6757vw, 1.25rem);
    text-decoration: none;
    display: block;
    width: 100%;
    max-width: 100%;
    text-align: center;
    font-weight: 700;
    box-sizing: border-box;
    transition: background 0.3s ease;
}

.related-button .btn-black:hover,
.related-button .btn-black:target {
    background-color: var(--black);
    color: var(--white);
}


.subhome-pills {
    width: 100%;
    padding: 30px 70px 80px;
    box-sizing: border-box;
}

.pills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 50px;
}

/* Estilo base de las pills */
.pill {
    display: flex;
    flex-direction: column;
    align-content: baseline;
    justify-content: flex-end;
    border-radius: 20px;
    padding: 30px 30px 10px;
    text-decoration: none;
    color: white;
    transition: transform 0.2s ease;
}

.pill:hover {
	color: white;
    transform: translateY(-5px);
}

.pill-icon img {
    width: auto;
    max-height: 100px;
    max-width: 120px;
    margin-bottom: 10px;
}

.pill-text {
    /*font-size: clamp(1.125rem, 0.993rem + 0.4225vw, 1.5rem);*/
	font-size: clamp(1.25rem, 1.1575rem + 0.3896vw, 1.625rem);
    font-weight: 700;
}

/* Colores dinámicos según el radio button */
.accent-green .pill {
    background-color: var(--green);
    color: white;
     text-align: center;
    padding: 20px;
    transition: all linear 0.3s;
}

.accent-yellow .pill {
    background-color: var(--yellow);
    color: var(--black);
    text-align: center;
    padding: 20px;
    transition: all linear 0.3s;
}

.accent-red .pill {
    background-color: var(--red);
     text-align: center;
    color: white;
    padding: 20px;
    transition: all linear 0.3s;
}

.subhome-pills-title {
    text-align: center;
  font-family: 'ABeeZee', sans-serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.5rem, 0.6346rem + 3.4615vw, 3.75rem);
  color: var(--black);
  margin-bottom: 40px;
}

.subhome-pills-text {
    text-align: center;
  max-width: 1000px;
  margin: 0 auto 50px;
  font-size: clamp(1rem, 0.6479rem + 1.1268vw, 2rem);
  line-height: 1.3;
}
.btn-open-menu, .btn-open-menu:visited {
    background-color: var(--black);
    color: var(--white);
    padding: 18px 0;
    border: none;
    border-radius: 34px;
    font-size: clamp(1rem, 0.6757rem + 0.6757vw, 1.25rem);
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
    text-align: center;
    margin: 40px auto;
    display: block;
    min-width: 300px;
}

.btn-open-menu:hover {
    background-color: var(--black);
}
.accent-green .pill:hover, .accent-yellow .pill:hover, .accent-red .pill:hover {
	background-color: var(--black);
	color: var(--white);
}
.accent-yellow .pill img {
	filter: brightness(0) invert(0);
	transition: all linear 0.3s;
}
.accent-yellow .pill:hover img {
	filter: brightness(0) invert(1);
}
.agenda-flex {
	position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columnas iguales */
    gap: 2rem; /* Espacio entre columnas y filas */
}
.agenda-flex .evento-info h4 {
	line-height: 1;
	padding: 10px 0;
	margin: 0;
}
.data-place {
	text-align: center;
	font-style: italic;
	  font-size: clamp(1rem, 0.6462rem + 1.1321vw, 1.75rem);
	  line-height: 1.2;
	  padding: 0px;
	  margin: 10px auto 0px;
	  max-width: 980px;
}
.thumb {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 200px; /* mismo alto que las imágenes */
}

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

.gradient-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(180deg, rgba(0,0,0,0.00) 56%, rgba(0,0,0,0.98) 99%, #D8D8D8 100%);
    pointer-events: none; /* no bloquea clics */
}

.fecha {
    position: absolute;
    bottom: 10px;
    left: 10px;
    color: white;
    z-index: 2; /* por encima del degradado */
    font-size: 16px;
    line-height: 1.2;
}




.bloques-titulo {
  text-align: center;
  font-family: 'ABeeZee', sans-serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.5rem, 0.6346rem + 3.4615vw, 3.75rem);
  color: var(--black);
  margin-bottom: 40px;
}
.bloques-titulo::after {
  content: '';
  display: block;
  width: 60px;
  height: 10px;
  background: var(--green);
  position: absolute;
  margin-bottom: -20px;
  right: calc(50vw - 30px);
}
.bloques-descripcion {
  text-align: center;
  max-width: 1000px;
  margin: 0 auto 50px;
  font-size: clamp(1rem, 0.6479rem + 1.1268vw, 2rem);
  line-height: 1.3;
}
/* Contenedor general */
.bloques-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 70px;
  justify-content: center;
	padding: 0 70px;
}

/* Ancho por tamaño */
.bloque-sm { width: 100%; }
.bloque-md { width: 100%; }
.bloque-lg { width: 100%; }

@media (min-width: 768px) {
  .bloque-sm { width: calc(33.33% - 47px); }
  .bloque-md { width: calc(50% - 35px); }
  .bloque-lg { width: 100%; }
}

/* Estilo general del bloque */
.bloque {
  position: relative;
  /*overflow: hidden;
  max-height: 550px;
  min-height: 450px;*/
  
}
.bloque-img {
	position: relative;
  overflow: hidden;
  height: 65vh;
  max-height: 650px;
  overflow: hidden;
}
.bloque-md .bloque-img {
  height: 45vh;
  max-height: 450px;
}
/* Imagen */
.bloque img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  
}
.bloque-img img {
	transition: transform 0.5s ease;
	
}
/* Overlay completo */
.bloque-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 65vh;
  max-height: 650px;
  background-image: linear-gradient(180deg, rgba(0,0,0,0.00) 55%, rgba(0,0,0,0.01) 59%, rgba(0,0,0,0.05) 64%, rgba(0,0,0,0.50) 100%);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 15px;
  text-align: left;
  box-sizing: border-box;
 /*pointer-events:none;*/
}
.bloque-md .bloque-overlay {
  height: 45vh;
  max-height: 450px;
}
 a .bloque-overlay, a:visited .bloque-overlay  {
	color: var(--white);
	text-decoration: none;
}
a:hover .bloque-overlay,  a:target .bloque-overlay {
	color: var(--white);
	text-decoration: underline;
	background: rgba(0,0,0,0.5);
}
.bloque:hover .bloque-img img,
.bloque a:hover ~ .bloque-img img {
  transform: scale(1.05);
  border-radius: 20px;
}
/* Título dentro del overlay */
.bloque-overlay h3 {
  font-size: clamp(1.125rem, 0.993rem + 0.4225vw, 1.5rem);
	padding: 0;
  margin-bottom: 0;
}
.bloque-contenido {
  margin-top: 15px;
  text-align: left;
}

.bloque-contenido p {
  font-size: 18px;
  line-height: 1.4;
  margin: 0 10px 10px;
  color: var(--black);
}
.bloque-lg .bloque-contenido p{
	max-width: 920px;
}
/* Descripción dentro del overlay 
.bloque-overlay p {
  font-size: 16px;
	line-height: 1.1;
	padding: 0;
	margin: 0 0 15px;
  color: #fff;
}*/

/* Botón dentro del overlay */
.bloque-boton, .bloque-boton:visited {
  display: inline-block;
	max-width: 300px;
  padding: 10px 40px;
  background-color: var(--green);
	color: white;
	font-size: 18px;
  text-decoration: none;
  text-align: center;
  border-radius: 30px;
  transition: background-color 0.3s;
}

.bloque-boton:hover, .bloque-boton:target {
  background-color: white;
	color: var(--black);
}
.accent-red .pill {
  color: var(--white);
  text-align: center;
  padding: 20px;
}
.single-ruta .site-main,
.single-estacion .site-main {
  margin-top: 60vh;
}
.single-ruta #map,
.single-estacion #map {
  min-height: 500px;
}
.single-ruta #elevation,
.single-estacion #elevation {
  margin-top: 1em;
}



.alojamientos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.alojamiento-item {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    background: var(--white);
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
    transition: transform 0.2s;
}

/*.alojamiento-item:hover {
    transform: scale(1.02);
}*/
.alojamiento-imagen-link {
    position: relative;
    display: block;
    /*height: 180px;*/
    overflow: hidden;
}
.alojamiento-imagen {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end; 
}
/*.alojamiento-imagen .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}*/

.alojamiento-item .alojamiento-imagenno-img {
    background-color: var(--white);
}

/* Info */
.alojamiento-info {
    padding: 1rem;
}
.titulo-sobre-imagen {
    position: relative; /* encima del overlay */
    z-index: 2;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 1rem 1rem 0.5rem;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
}

/* Si no hay imagen, no mostrar overlay ni título dentro de la imagen */
[data-noimage] .alojamiento-imagen .overlay{
    display: none;
}

.alojamiento-info h3 {
    font-size: 22px;
    margin-bottom: 0.5rem;
}

.alojamiento-info p {
    margin: 0.3rem 0;
	padding: 0.5rem 0;
    font-size: 16px;
}
.alojamiento-info p.data-place {text-align: left;}
.filtros-alojamientos {
    display: flex;
    float: right;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 2rem 0;
}
.filtros-alojamientos div {
	display: flex;
	flex-direction:column;
}
.filtros-alojamientos div label {
  font-size: 0.8rem;
  display: flex;
  flex-direction: column;
  font-weight: bold;
  width: 100%;
}
.filtros-alojamientos select,
.filtros-alojamientos button {
    padding: 0.5rem;
    font-size: 1rem;
    width: auto;
    min-width: 200px;
}
.paginacion-alojamientos {
    text-align: center;
    margin: 30px auto;
}
.paginacion-alojamientos .page-numbers, .paginacion-alojamientos .page-numbers:visited {
    display: inline-block;
    margin: 0 6px;
    padding: 2px 10px;
    border: 1px solid var(--red);
    color: var(--red);
    border-radius: none;
    text-decoration: none;
}
.paginacion-alojamientos .page-numbers:hover, .paginacion-alojamientos .page-numbers:target {
	background: var(--red);
    color: var(--white);
    border-color: var(--red);
}
.paginacion-alojamientos .current {
    background: var(--red);
    color: var(--white);
    border-color: var(--red);
}
.categorias-alojamientos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.categoria-box {
    display: block;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.2s;
}

.categoria-box:hover {
    transform: scale(1.02);
}

.categoria-contenido {
    padding: 1rem;
}

.categoria-contenido h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.categoria-preview {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
    text-align: center;
}

.preview-img {
    width: 100%;
    height: 150px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
}

.preview-img.no-img {
    background-color: var(--red, --green);
}
#mapa-recorrido {
  height: 500px;
  width: 100%;
}
.otras-rutas {
  background-color: var(--lightgrey);
  padding: 60px 0;
}
.otras-rutas h3 {
  font-weight: 300;
  color: var(--black);
}
.otras-rutas .rutas-flex {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 40px;
    padding: 30px 0;
    color: var(--black);
}

.otras-rutas .ruta-item {
    color: var(--black);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.otras-rutas .ruta-item:hover {
    transform: translateY(-5px);
}

.otras-rutas .thumb {
    background-size: cover;
    background-position: center;
    height: 300px;
}

.otras-rutas .info {
    padding: 1rem;
}

.ruta-listado {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 50px;
  padding: 30px 0;
  margin: 60px 0;
}

.ruta-item {
  padding: 0;
  transition: transform 0.3s ease;
}

.ruta-item a {
  text-decoration: none;
  color: inherit;
  display: block;
  flex-direction: column;
  transition: transform 0.5s ease;
}
.ruta-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.ruta-thumb {
  overflow: hidden; 
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  margin-bottom: 20px;
}

.ruta-thumb img {
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease;
  object-fit: cover;
  display: block;
}
.ruta-item a:hover .ruta-thumb img {
    transform: scale(1.05);
}
    
    
    
.ruta-title {
  font-size: clamp(1.5rem, 0.8514rem + 1.3514vw, 2rem);
  line-height: 1.2;
  margin: 15px 0 10px;
}

.ruta-extracto {
  font-size: 1rem;
  margin-bottom: 15px;
}

.ver-mas-btn {
  margin-top: auto;
  display: block;
  width: 100%;
  background-color: transparent;
  border: 2px solid var(--black);
  border-radius: 30px;
  color: var(--black);
  padding: 12px 0;
  font-size: clamp(1rem, 0.6757rem + 0.6757vw, 1.25rem);
  text-decoration: none;
  display: block;
  width: 100%;
  text-align: center;
  font-weight: 700;
  box-sizing: border-box;
  transition: background 0.3s ease;
}
.otras-rutas .btn-open-menu {
  text-align: center;
  text-decoration: none;
  max-width: 300px;
}
.ver-mas-btn:hover {
  background-color: var(--black);
  color: var(--white);
}
/* Orden por defecto en desktop (alternado) */
.ruta-item.impar .ruta-thumb { order: 0; }
.ruta-item.impar .ruta-title { order: 1; }
.ruta-item.impar .ruta-extracto { order: 2; }
.ruta-item.impar .ver-mas-btn { order: 3; }

.ruta-item.par .ruta-title { order: 0; }
.ruta-item.par .ruta-extracto { order: 1; }
.ruta-item.par .ruta-thumb { order: 2; }
.ruta-item.par .ver-mas-btn { order: 3; }





.ruta-title::before {
  content: '';
  display: inline-block;
  width: 60px;
  height: 10px;
  background: var(--yellow);
  position: absolute;
  margin-top: -20px;
}



.experiencia-header {
  position: absolute;
  top: 0;
  width: 100%;
  height: 600px;
  overflow: hidden;
  background: var(--black);
}

.titulo-precio {
    display: flex;
    align-items: center;
    gap: 1rem; /* espacio entre h2 y el precio */
    flex-wrap: wrap; /* por si no entra en móviles */
}
.titulo-precio h2 {padding: 0; margin: 0;}
.experiencia-swiper {
  height: 100%;
}
.swiper-slide img {
  object-fit: cover;
  object-position: center 68%;
  width: 100%;
  height: 100%;
}
.header-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: linear-gradient(0deg, rgba(0,0,0,0.51) 2%, rgba(0,0,0,0.00) 54%, rgba(0,0,0,0.20) 85%);
  z-index: 1;
}

.header-content {
  position: relative;
  z-index: 2;
  color: white;
}
.experiencia-header.has-image .header-content{
  bottom: 120px;
}
.experiencia-header.no-image .header-content{
  margin-top: 470px;
}

.header-content .wrapper {position: relative;}
.header-content .lugar-fecha {
  font-size: 1rem;
  font-weight: 600;
  padding: 20px 0 0;
  margin: 0;
}
.wrapper.exp {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  padding: 60px 40px;
  margin-top: 400px;
}
.experiencia-map {
  width: 100%;
  height: 500px;
}
.btn-reservar {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 30px;
  color: white;
  text-decoration: none;
  text-align: center;
  margin-top: 20px;
  width: 100%;
  background: var(--yellow);
  font-size: 1rem;
  font-weight: bold;
}
.experiencia-swiper .swiper-button-next,
.experiencia-swiper .swiper-button-prev {
    z-index: 5; 
    position: absolute;
}

.swiper-button-next,
.swiper-button-prev {
    top: 50%;
    transform: translateY(-50%);
}

.swiper-pagination {
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
}

.experiencia-swiper {
    position: relative;
}


.header-overlay {
    pointer-events: none;
}

.experiencia-swiper {
    position: relative;
    height: 100%;
}
.experiencia-swiper  .swiper-slide {
  height:600px;
}
.swiper-button-next,
.swiper-button-prev {
    color: white;
    z-index: 5;
    top: 50%;
    transform: translateY(-50%);
}

.swiper-pagination {
    color: white;
    z-index: 5;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
}

.swiper-pagination-bullet {
    background: white;
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    opacity: 1;
}

.header-overlay {
    pointer-events: none;
}



.swiper-button-next,
.swiper-button-prev,
.swiper-pagination-bullet {
    color: white;
    fill: white;
}
.swiper-pagination, .swiper-horizontal > .swiper-pagination-bullets, .swiper-pagination-bullets.swiper-pagination-horizontal {
  position: absolute;
  bottom: 20px;
  right: 5%;
  width: auto;
  text-align: right;
  z-index: 10;
}
.swiper-pagination-bullet-active {
    background-color: white;
    width: 60px;
    border-radius: 10px;
}

.swiper-pagination-bullet {
  color: white;
  fill: white;
  background-color: white;
  opacity: 1; 
  width: 20px;
  height: 20px;
  border-radius: 10px;
  margin: 0 6px;
  transition: all 0.3s ease;
}
.swiper-pagination-bullet-active {
    background-color: white;
    width: 60px;
    border-radius: 10px;
}
.single-experiencia .precio,
.single-ficha .precio {
  padding: 8px 20px 6px;
  margin: 0 20px;
  text-align: center;
  font-weight: bold;
  font-size: 1rem;
  background-color: var(--yellow);
  color: var(--black);
  border-radius: 40px;
}
.single-experiencia .que-exp,
.single-ficha .que-exp {
  background: var(--black);
  color: var(--white);
  padding: 6px 30px 20px;
  border-radius: 20px;
}
.single-experiencia .que-exp h4,
.single-ficha .que-exp h4 {
  font-size: 24px:
}
.single-experiencia .que-exp p, .single-experiencia .que-exp ul li,
.single-ficha .que-exp p, .single-ficha .que-exp ul li {
  font-size: 1rem;
}
.single-experiencia .que-exp ul,
.single-ficha .que-exp ul {
  padding: 0;
  margin: 0;
}
.single-experiencia .btn-reservar,
.single-ficha .btn-reservar {
  width: 100%;
  background: var(--yellow);
}
.single-experiencia .main-content,
.single-ficha .main-content {
  font-size: 20px;
}

.experiencias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 50px;
    margin-top: 2rem;
}

.experiencia-item, .experiencia-item:visited {
    position: relative;
    display: block;
    color: white;
    height: 560px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    text-decoration: underline;
    background-color: var(--green);
}
.experiencia-item:hover, .experiencia-item:target {
  color: white;
  text-decoration: none;
}
.experiencia-item .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6), rgba(0,0,0,0));
    z-index: 1;
}

.experiencia-item .meta-top,
.experiencia-item .meta-bottom {
    position: absolute;
    left: 1rem;
    right: 1rem;
    z-index: 2;
}

.meta-top {
    top: 1rem;
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    font-size: 0.9rem;
}
.meta-top .fecha,
.meta-top .precio {
  position: static; /* asegúrate de que no son absolute */
  margin: 0;
}
.meta-top .precio {
  padding: 8px 10px 6px;
  text-align: center;
  font-weight: bold;
  font-size: 0.8rem;
  background-color: var(--yellow);
  color: var(--black);
  border-radius: 40px;
}
.meta-bottom {
    bottom: 1rem;
}

.meta-bottom h3 {
    margin: 0;
    font-size: 1.5rem;
}

.meta-bottom .lugar {
    font-size: 1rem;
    margin: 0;
    opacity: 0.8;
}

.experiencias-filtros {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin: 2rem 0;
}

.experiencias-filtros label,
.experiencias-filtros button {
  display: flex;
  flex-direction: column;
  font-weight: bold;
  width: 100%;
}
.experiencias-filtros label {
  font-size: 0.8rem;
}
.experiencias-filtros select {
  padding: 0.5rem;
  border-radius: 5px;
  font-size: 1rem;
  margin-top: 0.25rem;
}

.experiencias-filtros button {
  align-self: end;
  padding: 0.75rem 1rem;
  background: var(--yellow);
  color: var(--black);
  border: none;
  border-radius: 20px;
  font-size: 1rem;
  cursor: pointer;
}

.pagination {
  margin-top: 2rem;
  text-align: center;
}

.pagination ul {
  display: inline-flex;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
  justify-content:center;
}
.pagination li {
  display: inline-block;
}
.pagination a,
.pagination span {
  display: inline-block;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--lightgrey);
  color: inherit;
  text-decoration: none;
  border-radius: 5px;
}

.pagination .current {
  background: var(--black);
  color: white;
  font-weight: bold;
  border-color: var(--black);
}


.search-result-item {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--green);
    padding-bottom: 30px;
}

.search-result-thumbnail img {
    width: 240px;
    height: auto;
}

.search-result-content {
    flex: 1;
}

.search-result-title {
    margin: 0 0 8px 0;
    font-size: 22px;
}

.search-result-title a {
    text-decoration: none;
	color: var(--green);
}

.search-result-meta {
    font-size: 14px;
    margin-bottom: 10px;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-result-excerpt {
    font-size: 18px;
}


.page-template-index-page1 .title {
  margin-top: 60vh;
  margin-bottom: 50px;
}

.page-template-index-page1 .page-index-list {
    display: flex;
    gap: 20px;
	padding: 0;
    list-style: none;
	align-items: center;
	justify-content: center;
    overflow-x: auto;
}
.page-template-index-page1 .page-index {
    position: relative;
    z-index: 100;
	display: flex;
    align-items: center;
	justify-content: center;
	background-color: var(--black);
}

.page-template-index-page1 .page-index.is-sticky {
     position: fixed;
    top: 0;
    left: 0;
    width: 100%;
	padding: 6px 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    z-index: 999;
}
.page-template-index-page1 .page-index-item a,
.page-template-index-page1 .page-index-item a:visited{
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    line-height: 1;
	text-transform: uppercase;
	text-decoration: none;
	font-weight: 500;
	padding: 15px 20px;
	color: var(--white);
	transition: background 0.3s ease;
}
.page-template-index-page1 .page-index-item a:hover,
.page-template-index-page1 .page-index-item a:target {
	background: var(--red);
	color: var(--white);
}
.page-template-index-page1 .apartado {
    padding: 60px 0;
}

.page-template-index-page1 .apartado-title,
.page-template-index-page1 .apartado-subtitle {
    text-align: center;
}

.page-template-index-page1 .apartado-elements {
    margin-top: 40px;
}
.page-template-index-page1 .btn-black {
	 display: block;
    width: 100%;
    text-align: center;
	margin: 30px 0;
}
.page-template-index-page1 .bg-black,
.page-template-index-page1 .bg-red,
.page-template-index-page1 .bg-green {
	color: var(--white);
}
.page-template-index-page1 .bg-black a,
.page-template-index-page1 .bg-red a,
.page-template-index-page1 .bg-green a,
.page-template-index-page1 .bg-black a:visited,
.page-template-index-page1 .bg-red a:visited,
.page-template-index-page1 .bg-green a:visited {
	color: var(--white);
}
.page-template-index-page1 .bg-black .btn-black,
.page-template-index-page1 .bg-black .btn-black:visited {
	background: var(--white);
	color: var(--black);
}
.page-template-index-page1 .apartado-elements {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
	align-items: start;
    justify-content: center; 
    align-items: stretch;
}
.page-template-index-page1 .apartado-element {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.page-template-index-page1 .apartado-element a {
  margin-top: auto;
  width: 100%;
}
.page-template-index-page1 .apartado-element .text {
	font-size: 18px;
	margin-bottom: 30px;
}
@media (max-width: 1024px) {
    .page-template-index-page1 .apartado-elements {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-template-index-page1 .apartado-elements {
        grid-template-columns: 1fr;
    }
	.page-template-index-page1 .page-index-list {
	  display: block;
	  overflow-x: hidden;
	  overflow-y: hidden;
	  list-style: none;
	  counter-reset: item;     
      padding-left: 0;
		width: 100%;
	}
	.page-template-index-page1 .page-index-list li {
		counter-increment: item;
	    position: relative;
	    padding-left: 25px;
	}
	.page-template-index-page1 .apartado-title {font-size: 32px;}
}

@media screen and (max-width: 1110px) {
	.mega-item-desc {display: none;}
}


@media screen and (max-width: 1023px) {
  .site-branding {max-width: 280px;}
  .home-slider .swiper-slide, .home-hero.has-slider, .subhome-hero,  .head-pueblo, .head-evento, .head-repor, .head-establecimiento {
	  height: 65vh;
	  max-height: 600px;
	}
	.home-hero .overlay, .subhome-hero .overlay, .head-pueblo .overlay, .head-evento .overlay, .head-repor .overlay, .head-establecimiento {
	  height: 65vh;
	  max-height: 600px;
	}  
	.space {
	  height: 55vh;
	}
	 .single-pueblo .site-main, .single-reportaje .site-main, .single-alojamiento .site-main, .single-bodega .site-main, .single-restaurante .site-main {margin-top: 55vh;}
	 .head-evento .overlay .wrapper {
		  height: 80vh;
		  max-height: 800px;
		}
	.single-evento .site-main {
		 margin-top: 65vh;
	 }
	.related-button .btn-black {max-width: 100%;}
  .subhome-block,
  .subhome-block2,
  .wrapper.cols,
  .map-menu-wrapper {
    flex-direction: column;
  }
  .slide-wrapper {padding: 0;}
  .subhome-text {
	  padding: 0;
	}
  .agenda-flex {
	  grid-template-columns: repeat(2, 1fr);
	}
	.agenda .eventos-flex .thumb .fecha {
	  padding: 30px 10px 20px;
	}
  .subhome-block.two-columns .subhome-text,
  .subhome-block.two-columns .subhome-image,
  .subhome-block2.two-columns .subhome-text, 
  .subhome-block2.two-columns .subhome-image,
  .wrapper.cols > .col {
    width: 100%;
  }
  
  /* Forzar orden: imagen primero, texto después */
  .subhome-block .subhome-image,
  .subhome-block2 .subhome-image,
  .wrapper.cols > .col.image{
    order: 1;
  }
  
  .subhome-block .subhome-text,
  .subhome-block2 .subhome-text,
  .wrapper.cols > .col {
    order: 2;
  }
  .single-reportaje .slide-text {width: 80%;}
  .ruta-item.par .ruta-thumb { order: 0; }
  .ruta-item.par .ruta-title { order: 1; }
  .ruta-item.par .ruta-extracto { order: 2; }
  .ruta-item.par .ver-mas-btn { order: 3; }
	
}
@media screen and (max-width: 768px) {
	.mega-item-desc {display: none;}
  .site-branding {max-width: 240px;}
  .fullscreen-menu.active {display: block !important; overflow-y: scroll;}
  .head-evento .overlay .wrapper {
	  height: 74vh;
	  max-height: 800px;
  }
  .single-evento .site-main {
		 margin-top: 55vh;
	 }
    .agenda-flex {
        grid-template-columns: repeat(2, 1fr); /* 2 columnas en tablet */
    }
    .bloques-grid, .subhome-pills {
	  padding: 30px;
	}
    .single-reportaje .slide-text {width: 90%;}
    .map-text-menu {
      grid-template-columns: repeat(2, 220px);
      grid-template-rows: repeat(13, auto);
    }
    .bloque-lg {
      min-height: 500px;
    }
    .experiencia-header {
      height: 400px;
    }
    .wrapper.exp {
      margin-top: 200px;
      grid-template-columns: 1fr;
    }
    .titulo-precio {
      display: block;
    }
    .single-experiencia .precio, .single-ficha .precio {margin: 0;}
    .titulo-precio h2 {
      margin: 0 0 20px;
    }
    .header-content .lugar-fecha {
      margin: 20px 0 0;
    }
    .header-content {
      bottom: 180px;
    }
    .single-pueblo .pueblo-main .mapa-pueblo, .single-evento .evento-main .btn-evento, .single-reportaje .reportaje-main .btn-reportaje,
    .single-pueblo .pueblo-main .txt-main, .single-evento .evento-main .txt-main, .single-repotaje .repotaje-main .txt-main {
	  flex: 0 0 100%;
	}
	.single-pueblo .slide-text {margin: 0 30px;}
}

@media screen and (max-width: 480px) {
	p, ul, ol {font-size: 18px;}
	#ven.space {
	  height: 55vh;
	  max-height: 500px;
	}
  .site-branding {max-width: 200px;}
    .agenda-flex {
        grid-template-columns: 1fr; /* 1 columna en móvil */
    }
    .map-text-menu {
      grid-template-columns: repeat(1, 300px);
      grid-template-rows: repeat(40, auto);
    }
     .map-zone {font-size: 20px;}
	.agenda-flex {
	  grid-template-columns: repeat(1, 1fr);
	}
    .map-menu-wrapper svg {max-width: 240px;}
    .home-hero h1, .single-reportaje h1 {font-size: 32px; margin: 25vh auto 0;}
    .bloques-titulo, .subhome-related-title,  .subhome-pills-title {font-size: 32px;}
    .bloques-descripcion, .subhome-related-text {font-size: 24px;}
    .bloque-overlay h3 {font-size: 24px;}
    h4 {font-size: 20px;}
    .pill-text, .subhome-pills-text {font-size: 24px;}
    .related-text h3 {font-size: 24px;}
    .wrapper-home {
	  padding: 15px 30px;
	}
	 .agenda .eventos-flex .thumb .fecha, .agenda h4, .agenda .lugar {font-size: 24px;}
	.bloque-img, .bloque-overlay {height: 45vh;} 
	.subhome-hero h1 {font-size: 32px;}
	.desc, .desc2 {font-size: 24px;}
	.subhome-pills.accent-red .wrapper {padding: 15px 0;}
	.subhome-button {width: 100%;}
	.btn-green, .btn-green:visited {display: block;max-width: 100%;}
	.ruta-inner {max-width: calc(100% - 30px);}
	.filtros-alojamientos div,  .filtros-alojamientos button {width: 1000%;}
	.related-grid {
	  grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
	}
}

nav.onetap-accessibility.onetap-plugin-onetap .onetap-container .onetap-accessibility-settings header.onetap-header-top .onetap-site-container .onetap-site-info .onetap-information {display: none !important;}



.cicerone-chat__toast {
  font-size: 18px !important;
}
.cicerone-chat__toast-wrapper {
  width: min(65vw, 340px) !important;
}
.cicerone-chat__toast-close {
  padding: 12px !important;
}


/* GAMIFICATION */
.forminator-quiz-21919 {margin: 220px auto 120px; max-width: 600px;}
.page-id-21709 .site-main-normal {
	background-color: var(--yellow);
	margin-top: 40px;
}
.page-id-21709 .site-main-normal .forminator-quiz-intro .intro {
	position: absolute;
	display: block;
	margin-left: -330px;
	margin-top: -301px;
	width: 300px;
}
.page-id-21709 .site-main-normal .forminator-question--description .preg {
	position: absolute;
	display: block;
	margin-left: -330px;
	margin-top: -130px;
	margin-bottom: 30px;
	width: 280px;
}
.page-id-21709 .site-main-normal .forminator-question--description .preg img {
    max-width: 280px;
    max-height: 500px;
    width: auto;
    height: auto;
	margin-bottom: 30px;
}
.page-id-21709 .site-main-normal .forminator-pagination--content .resp {
	position: absolute;
	display: block;
	margin-left: -350px;
	margin-top: -20px;
	width: 300px;
}
.page-id-21709 .site-main-normal .forminator-quiz-21919::before {
	content: "";
    position: absolute;
    right: 0;
    top: 28vh;
    width: 360px;
    height: 153px; 
    background-image: url("https://visitnavarramedia.com/website/wp-content/uploads/cerco-artajona.webp");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;

}
.page-id-21709 .site-main-normal .forminator-ui.forminator-quiz#forminator-module-21919 .forminator-pagination-footer .forminator-button.forminator-button-next,
.page-id-21709 .site-main-normal .forminator-ui.forminator-quiz#forminator-module-21919 .forminator-pagination-footer .forminator-button.forminator-button-submit{
	float: none;
}
.page-id-21709 .site-main-normal .forminator-ui.forminator-quiz#forminator-module-21919 .forminator-answer input:checked + .forminator-answer--design {
  border-color: var(--green);
  background-color: var(--extralightgreen);
}
.page-id-21709 .site-main-normal .forminator-ui.forminator-quiz#forminator-module-21919 .forminator-answer input:checked + .forminator-answer--design .forminator-answer--status {
  border-color: var(--green);
  background-color: var(--green);
}
.page-id-21709 .site-main-normal .forminator-ui.forminator-quiz-leads#forminator-quiz-leads-21919 .forminator-quiz--description, 
.page-id-21709 .site-main-normal .forminator-ui.forminator-quiz-leads#forminator-quiz-leads-21919 .forminator-quiz--description p,
.page-id-21709 .site-main-normal .forminator-ui.forminator-quiz#forminator-module-21919 .forminator-quiz--description p{
  color: var(--black);
  font-size: 20px;
  font-weight: 300;
}
.page-id-21709 .site-main-normal .forminator-ui.forminator-quiz#forminator-module-21919 .forminator-button.forminator-quiz-start:hover, 
.page-id-21709 .site-main-normal #forminator-quiz-leads-21919.forminator-ui button.forminator-button.forminator-quiz-start:hover {
  background-color: var(--black);
  color: #FFFFFF;
}
.page-id-21709 .site-main-normal .forminator-ui.forminator-quiz-leads#forminator-quiz-leads-21919 .forminator-quiz--title {
  color: var(--black);
  font-size: 28px;
  font-weight: 700;
	text-align: center;
}
.page-id-21709 .site-main-normal .forminator-ui.forminator-quiz#forminator-module-21919 .forminator-answer .forminator-answer--name {
  color: var(--black);
  font-size: 16px;
  font-weight: 300;
}

.page-id-21709 .site-main-normal .forminator-ui.forminator-quiz#forminator-module-21919 .forminator-button.forminator-quiz-start {
  background-color: var(--black);
  color: #FFFFFF;
  font-size: 18px;
  font-weight: 300;
	padding-left: 30px;
	padding-right: 30px;
	border-radius: 21px;
}

.forminator-ui.forminator-quiz#forminator-module-21919 .forminator-quiz--result,
.forminator-ui.forminator-quiz#forminator-module-21919 .forminator-quiz--result .forminator-result,
.forminator-ui.forminator-quiz#forminator-module-21919 .forminator-quiz--result .forminator-result .forminator-result--content .forminator-result--text {
	background: transparent !important;
	border-color: transparent !important;
}
.forminator-ui.forminator-quiz#forminator-module-21919 .forminator-quiz--result .forminator-result--title {
	font-size: 32px !important;
	font-weight: 700 !important;
}
.forminator-ui.forminator-quiz#forminator-module-21919 .forminator-quiz--result .forminator-result .forminator-result--content .forminator-result--description p {
  font-size: 18px !important;
  font-weight: 300 !important;
	color: white !important;
}
.forminator-ui.forminator-quiz#forminator-module-21919 .forminator-quiz--result .forminator-result .forminator-result--content .forminator-result--description ul li {
	font-size: 18px !important;
    font-weight: 300 !important;
}
.forminator-ui.forminator-quiz#forminator-module-21919 .forminator-quiz--result .forminator-result .forminator-result--content .forminator-result--description .dest {
	background: var(--black);
  color: var(--white) !important;
	margin-top: 15px;
  padding: 30px 30px 20px;
  border-radius: 20px;
}
.forminator-ui.forminator-quiz#forminator-module-21919 .forminator-quiz--result .forminator-result .forminator-result--content .forminator-result--description .dest-red {
	background: var(--red);
  color: var(--white) !important;
	margin-top: 45px;
  padding: 30px 30px 20px;
  border-radius: 20px;
}
@media screen and (max-width: 1300px) {
	.page-id-21709 .site-main-normal .forminator-quiz-21919:after  {display: none;}
}
@media screen and (max-width: 500px) {
	.forminator-quiz-21919 {
	  margin: 120px auto;
	}
	
	.page-id-21709 .site-main-normal .forminator-quiz-intro .intro {
	  position: relative;
	  margin: 10px auto;
		text-align:center;
		width: 100px;
	}
	.page-id-21709 .site-main-normal .forminator-question--description .preg {
		position: relative;
		margin: 10px auto;
		text-align:center;
		max-width: 100px;
		height: 160px;
		width: auto;
	}
	.page-id-21709 .site-main-normal .forminator-question--description .preg img {
		height: 160px;
		width: auto;
	}
	.page-id-21709 .site-main-normal .forminator-pagination--content .resp {
		position: relative;
		margin-left: 0;
		margin-top: 10px;
		text-align:center;
	}
}