/*!
Theme Name: Piedras Galería
Theme URI: http://underscores.me/
Author: Jose Hohmann
Author URI: https://hohmann.cl
Description: Tema para Piedras Galería
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: piedras
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.

Piedras Galería 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
--------------------------------------------------------------*/
@font-face {
    font-family: 'Solae';
    src: url('fonts/solae.woff2') format('woff2'),
        url('fonts/solae.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'ABC Oracle';
    src: url('fonts/ABCOracleTrial-Book.woff2') format('woff2'),
        url('fonts/ABCOracleTrial-Book.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'ABC Oracle';
    src: url('fonts/ABCOracleTrial-BookItalic.woff2') format('woff2'),
        url('fonts/ABCOracleTrial-BookItalic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Maria';
    src: url('fonts/Maria-Regular.woff2') format('woff2'),
        url('fonts/Maria-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Maria';
    src: url('fonts/Maria-Italic.woff2') format('woff2'),
        url('fonts/Maria-Italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

/* 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
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

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: #eee;
	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 #666;
	cursor: help;
}

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

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

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

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.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: #000000;
}

a:visited {
	color: #000000;
}

a:hover,
a:focus,
a:active {
	color: #242424;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

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 {
	border-color: #aaa #bbb #bbb;
}

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: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

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: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# 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;
}

/* Small menu. */
.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;
}

.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%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0 0 1.5em;
}

.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. */
.custom-logo-link {
	display: inline-block;
}

/* 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: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	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;
}

/* 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;
}
/*Piedras*/
#intro_animation {
    background-color: #fff;
    height: 100dvh;
    left: 0;
    pointer-events: all;
    position: fixed;
    top: 0;
    transition: background-color .5s ease-out, opacity 1.6s ease-out;
    width: 100%;
    will-change: background-color, opacity;
    z-index: 20000;
}

#intro_animation p.logo {
    padding: 0;
    font-family: 'ABC Oracle', sans-serif; /* Añadí un fallback por si la fuente no carga */
    color: #000;
    font-size: 44px;
    line-height: 1.2;
    margin: 30px;
    /* Esta transición es clave para que el logo se desvanezca suavemente */
    transition: opacity 0.5s ease-out; 
}
@media (max-width: 768px) {
	#intro_animation p.logo {
		font-size: 28px;
	}
}

body{
	font-family: 'Maria';
	color: #000;
	overflow-x: hidden;
	font-variant-ligatures: none;
}
header.site-header{
	display: flex;
}
/**/
/* ============================================
HEADER CON SCROLL Y SUBMENÚS (OPTIMIZADO)
============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.4) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    z-index: 1000;
    /* Transición suave y acelerada por GPU */
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
    padding-bottom: 6px;
}

.site-header.header-hidden {
    /* Solo usamos transform, es más performante y predecible */
    transform: translateY(-100%);
}

/* Ajuste específico para mobile para evitar saltos al mostrar la barra de direcciones */
@media (max-width: 768px) {
    .site-header {
        transition: transform 0.3s ease-out; /* Un poco más rápido en mobile */
    }
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    border-bottom: 1px solid #f0f0f0;
}

/* Subtítulo dinámico */
.header-subtitle {
    font-family: 'Solae';
    font-size: 30px;
    line-height: .8;
    color: #000000;
    padding: 0 0 0 0px;
    font-weight: 300;
    letter-spacing: 0.5px;
}
.lang-es .header-subtitle .date{
	text-transform: lowercase;
}
.lang-en .header-subtitle .date::first-letter{
	text-transform: uppercase;
}
.header-subtitle .feria{
	text-transform: capitalize;
}
.header-subtitle .artists{
	
}
/* Menú de anclas */
.header-anchor-menu {
    display: flex;
    gap: 15px;
    padding: 0 0px 0px 0px;
    margin-top: 2px;
    flex-wrap: wrap;
}

#site-navigation.main-navigation .header-anchor-menu a {
    color: #7C7C7C;
    text-decoration: none;
    font-size: 28px;
    text-transform: none;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    position: relative;
}
#site-navigation.main-navigation .header-anchor-menu a:focus{
	outline: none;
}

#site-navigation.main-navigation .header-anchor-menu a:hover,
#site-navigation.main-navigation .header-anchor-menu a.active {
    color: #000;
}

#site-navigation.main-navigation .header-anchor-menu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #000;
    transition: width 0.3s ease;
}

#site-navigation.main-navigation .header-anchor-menu a:hover::after,
#site-navigation.main-navigation .header-anchor-menu a.active::after {
    /*width: 100%;*/
}

/* Submenú de artistas (ya existente, ajustado) */
.artistas-submenu {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 30px;
    padding: 0 40px 20px 40px;
}

.artistas-submenu .artista-link {
    color: #000;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.artistas-submenu:hover .artista-link {
    color: #999;
}

.artistas-submenu .artista-link:hover,
.artistas-submenu .artista-link.active {
    color: #000 !important;
}

/*página artistas*/
#mobile-artistas-submenu{
	display: none;
}
@media (max-width: 768px){

	#mobile-artistas-submenu{
		display: flex;
        flex-direction: column;
        margin-top: 210px;
        margin-bottom: 60px;
        padding: 0 15px;
	}
	.mobile-artistas-submenu a{
		padding: 10px 10px;
		font-family: 'Solae', serif;
		font-size: 28px;
		line-height: 1;
		text-decoration: none;
	}
	
}
/* Ajustar padding del main por el header fijo */
#primary {
    padding-top: 124px; /* Ajustar según la altura del header */
}

/* Responsive */
@media (max-width: 768px) {
    .header-top {
        padding: 15px 20px;
    }
    
    .header-subtitle {
        padding: 10px 20px;
        font-size: 12px;
    }
    
    .header-anchor-menu,
    .artistas-submenu {
        padding: 0 20px 15px 20px;
        gap: 15px;
    }
    
    .header-anchor-menu a,
    .artistas-submenu .artista-link {
        font-size: 12px;
    }
    
    #primary {
        padding-top: 180px;
    }
}
/**/
.site-branding{
	width: 430px;
    margin-top: 15px;
    margin-left: 15px;
}
.site-branding .custom-logo-link, .site-branding img{
	width: 365px;
	
}
#site-navigation{
	padding-top: 0px;
}

#site-navigation.main-navigation li{
	padding: 0 15px;
}
#site-navigation.main-navigation a{
	font-family: 'Solae';
	color: #7C7C7C;
	font-size: 60px;
	line-height: .8;
	transition: all 0.3s ease;
	letter-spacing: -1px;
}
.home #site-navigation.main-navigation a{
	color: #000;
}
#site-navigation.main-navigation .current-menu-item a, #site-navigation.main-navigation .current-menu-ancestor a{
	color: #000;
}

#site-navigation.main-navigation .current-menu-ancestor ul.sub-menu a, #site-navigation.main-navigation .current-menu-ancestor ul.sub-menu a{
	color: #dadada;
}
#site-navigation.main-navigation .current-menu-ancestor ul.sub-menu a:hover, #site-navigation.main-navigation .current-menu-ancestor ul.sub-menu a:hover{
	color: #000;
}

#site-navigation.main-navigation li.lang-item{
	padding-left: 0px;
    display: flex;
    align-items: flex-end;
    padding-bottom: 13px;
}
#site-navigation.main-navigation li.lang-item a{
	font-family: 'ABC Oracle';
	font-style: normal;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: normal;
    position: relative;
    padding-left: 15px;
    color: #000;
}
#site-navigation.main-navigation a:hover{
	color: #4f4f4f;
}
#menu-item-46{
	padding-right: 0px!important;
}

.main-navigation ul{
	position: relative;
	width: fit-content;
	margin-top: 20px;
}
.main-navigation li{
	position: initial;
}
.main-navigation ul ul{
	float: left;
    width: 100%;
    box-shadow: none;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-left: 0;
    margin-left: 0;
    top: 75%;
    padding-right: 90px;
}
.main-navigation ul ul li{
	display: inline-block;
	padding: 0 !important;
}
.home #site-navigation.main-navigation ul ul a, #site-navigation.main-navigation ul ul a {
    width: auto;
    font-size: 32px;
    line-height: 25px;
    color: #dadada;
}
#site-navigation.main-navigation ul ul a:hover{
	color:#000000; 
}
.right-space{
	min-width: 70px;
}
/* Submenú de artistas (solo se imprime en la página de artistas) */
.artistas-submenu {
    display: flex;
    flex-wrap: wrap;
    gap: 0px 30px;
    padding: 0;
    position: relative;
    z-index: 10;
    width: 100%;
    padding-left: 0px;
    padding-right: 0px;
}

/* Estilo base de los enlaces */
#site-navigation.main-navigation .artistas-submenu a.artista-link {
    color: #000;
    text-decoration: none;
    font-size: clamp(20px, 1.8vw, 30px);
    line-height: .9;
    transition: color 0.3s ease;
}

/* Cuando el mouse entra al contenedor, TODOS los enlaces se ponen grises */
.artistas-submenu:hover .artista-link {
    color: #999;
}

/* EXCEPCIÓN: El enlace que tiene el hover (o la clase active del JS) se queda negro */
.artistas-submenu .artista-link:hover,
.artistas-submenu .artista-link.active {
    color: #000 !important;
}
#site-navigation.main-navigation .artistas-submenu .artista-link.not-active {
    color: #7C7C7C !important;
}

/* Tu overlay existente (aseguramos que funcione) */
/* Overlay para imágenes de artistas */
.artist-overlay {
    position: fixed;
    top: 132px;
    left: 395px;
    width: calc(100vw - 410px);
    height: calc(100vh - 147px);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: rgba(0, 0, 0, 0.3);
    padding-left: 365px;
    background-color: white;
}

.artist-overlay.active {
    opacity: 1;
    visibility: visible;
}

.main-content-hidden, 
.newsletter-hidden {
    opacity: 0;
    transition: opacity 0.4s ease;
}

/**/
.site-main{
	clear: both;
}


/*home swiper*/
.home .entry-content{
	margin-top: 15px;
}
.home #exhibiciones{
	position: relative;
}
.home #exhibiciones h2{
	position: relative;
    top: 0;
    left: 0;
    font-family: 'Solae';
    color: #000;
    font-weight: lighter;
    font-size: 36px;
    line-height: 1;
    padding: 0;
    margin: 0;
}
.home #exhibiciones .arrow{
	font-family: 'ABC Oracle';
    position: absolute;
    left: 348px;
    font-size: 40px;
    color: #000000;
    top: -13px;
}
.swiper-content{
	padding: 0 15px;
	
}
.swiper-content .card{
	display: flex;
}
.card-body{
	width: 365px;
}
.card-body h5{
	width: 365px;
    margin-top: 0px;
    font-family: 'Solae';
    font-size: 36px;
    line-height: 30px;
    color: #000;
    font-weight: lighter;
    margin-bottom: 0px;
    position: relative;
    top: -2px;
}
.card-body a{
	text-decoration: none;
    color: #000;
}
.card-body p{
	margin-top: 2px;
    font-size: 13px;
    font-weight: lighter;
    font-family: 'ABC Oracle';
    line-height: 16px;
    margin-bottom: 0px;
}
.card-body .logo{
	margin-top: 10px;
	width: 60px;
}
.card-img{
	padding-left: 15px;
    width: 100%;
    height: calc(100vh - 260px);
    padding-right: 55px;
}
.card-img img{
	height: 100%;
    width: 100%;
    object-fit: cover;
}
.swiper-horizontal>.swiper-pagination-bullets, .swiper-pagination-horizontal.swiper-pagination-bullets{
	display: none;
}
.swiper-button-next{
	right: 70px!important;
    width: 33%;
    height: 100%;
    top: 22px!important;
    opacity: 0;
}
.swiper-button-prev{
	left: 395px!important;
    height: 100%;
    width: 33%;
    top: 22px!important;
	opacity: 0;
}
#cursor-tooltip-next {
  position: fixed;
  pointer-events: none; /* no bloquea clics */
  background: rgba(255,255,255,.5);  /* verde */
  color: #fff;
  padding: 6px 12px;
  border-radius: 0px;
  font-size: 12px;
  font-weight: bold;
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 9999;
}
#cursor-tooltip-prev {
  position: fixed;
  pointer-events: none; /* no bloquea clics */
  background: rgba(255,255,255,.5);  /* verde */
  color: #fff;
  padding: 6px 12px;
  border-radius: 0px;
  font-size: 12px;
  font-weight: bold;
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 9999;
}

/*newsletter*/
#newsletter{
	display: flex;
    align-items: flex-end;
    position: absolute;
    bottom: 0;
    width: 100%;
    padding-left: 15px;
    padding-bottom: 10px;
}
.n1 h4{
	width: 365px;
    font-family: 'Solae';
    font-size: 64px;
    line-height: 64px;
    letter-spacing: -2px;
    color: #000000;
    font-weight: lighter;
    padding: 0;
    margin: 0;
    padding-left: 0px;
    padding-bottom: 5px;
}
.n2{
	width: 100%;
	padding-left: 15px;
}
.piedras-newsletter{
	display: flex;
	align-items: flex-end;
}
.piedras-newsletter .label{
	text-transform: uppercase;
    font-family: 'ABC Oracle';
    font-size: 10px;
    color: #000;
    width: 75px;
    display: inline-block;
    vertical-align: bottom;
}

.piedras-newsletter p{
	margin-bottom: 0px;
	margin-top: 10px;
	display: flex;
    align-items: flex-end;
}
.piedras-newsletter p:last-child{
	margin-bottom: 15px;
}
.piedras-newsletter p.consent{
	width: 250px;
    font-size: 9px;
    line-height: 10px;
    text-align: justify;
    margin-top: 0;
    margin-bottom: 15px;
    color: #000;
    font-weight: lighter;
}
.piedras-newsletter .button p{
	margin-bottom: 5px;
}

.piedras-newsletter input[type="text"], .piedras-newsletter input[type="email"]{
	border-radius: 0;
    border: none;
    border-bottom: .5px solid #000000;
    width: 460px;
    max-width: 460px;
}
.piedras-newsletter .right{
	padding-left: 15px;
}
.piedras-newsletter .wpcf7-submit{
	background-color: #000;
    color: #fff;
    width: 250px;
    text-align: center;
    border: none;
    border-radius: 0px;
    text-transform: uppercase;
    font-family: 'ABC Oracle';
    font-size: 10px;
    padding: 9px;
    cursor: pointer;
}
.wpcf7-not-valid-tip {
    color: #dc3232;
    font-size: 10px;
    font-weight: normal;
    display: block;
    position: absolute;
}
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
    border-color: #ffb900;
    position: absolute;
    bottom: 0;
    background-color: white;
    margin: 0;
    top: -14px;
    height: 25px;
    font-size: 11px;
    font-family: 'ABC Oracle';
    text-transform: uppercase;
}
.piedras-newsletter input[type="text"], .piedras-newsletter input[type="email"] {
    border-radius: 0;
    border: none;
    border-bottom: .5px solid #000000;
    width: 460px;
    max-width: 460px;
    font-size: 11px;
    font-family: 'ABC Oracle';
    text-transform: uppercase;
}
.piedras-newsletter input[type="text"]:focus, .piedras-newsletter input[type="email"]:focus {
	outline: none;
	border: none;
	border-bottom: .5px solid #000;
}

/* Footer con efecto Glassmorphism y comportamiento por gestos */
footer.site-footer {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 9990 !important;
    
    /* Efecto Blanco Transparente con Blur */
    background-color: rgba(255, 255, 255, 0.65) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.3) !important;
    
    /* Oculto por defecto (desplazado hacia abajo) */
    transform: translateY(100%) !important;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    
    font-family: 'ABC Oracle', sans-serif;
    font-style: normal;
    font-size: 12px;
}

/* Clase que se añade con JavaScript para mostrar el footer */
footer.site-footer.is-visible {
    transform: translateY(0) !important;
}

/* Footer normal en mobile: NO se superpone al contenido */
@media (max-width: 768px) {
	/* Ocultar footer en el Home (mobile) */
	.home footer.site-footer {
		display: none !important;
	}
	.card-img{
		position: relative;
	}
	.card-img:after{
		position: absolute;
        content: "";
        background-image: linear-gradient(to bottom, rgba(255, 0, 0, 0), rgba(0, 0, 0, .5));
        height: 300px;
        width: 100%;
        z-index: 0;
        display: block;
        bottom: 0;
	}
	.single .site-main {
	    padding-bottom: 0px!important;
	}
	footer.site-footer {
		position: relative !important;
		bottom: auto !important;
		left: auto !important;
		width: 100% !important;
		z-index: 1 !important;
		background-color: rgba(255, 255, 255, 0.95) !important;
		backdrop-filter: none !important;
		-webkit-backdrop-filter: none !important;
		border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
		transform: none !important;
		transition: none !important;
	}
	footer.site-footer.is-visible {
		transform: none !important;
	}
	#cursor-tooltip-next, #cursor-tooltip-next{
		display: none;
	}
}

/* --- TUS ESTILOS ORIGINALES DEL INTERIOR DEL FOOTER (Mantenidos) --- */
footer.site-footer .site-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
footer.site-footer .site-info h4 {
    font-family: 'Solae', sans-serif;
    font-weight: lighter;
    font-size: 40px;
    line-height: 40px;
    letter-spacing: -1px;
    padding: 0;
    margin: 0;
}
footer.site-footer .site-info p {
    margin-top: -5px;
    font-size: 16px;
    line-height: 16px;
}
footer.site-footer .site-info p.hours {
    margin-top: 0px;
}
footer.site-footer .site-info p .map {
    text-decoration: none;
    color: #0930ad;
}
footer.site-footer .site-info .ig {
    font-family: 'Solae', sans-serif;
    font-weight: lighter;
    font-size: 40px;
    line-height: 40px;
    letter-spacing: -1px;
    color: #000;
    text-decoration: none;
}
footer.site-footer .first {
    padding: 0 0 20px 15px;
    zoom: .9;
}
footer.site-footer .second {
    font-family: 'Solae', sans-serif;
    font-weight: lighter;
    font-size: 40px;
    line-height: 40px;
    letter-spacing: -1px;
    color: #000;
    zoom: .9;
}
footer.site-footer .second a {
    text-decoration: none;
    color: black;
}
footer.site-footer .second p {
    font-family: 'ABC Oracle', sans-serif;
    font-size: 16px;
    line-height: 18px;
}
footer.site-footer .second .contact, 
footer.site-footer .second .phone {
    margin-bottom: 20px;
}
footer.site-footer .second .member {
    padding-bottom: 0px;
    margin-bottom: 20px;
}
footer.site-footer .third {
    padding: 15px 15px 20px;
}
footer.site-footer img {
    width: 350px;
}

/*single-artista*/
#header-mobile-artist{
	display: none;
}
.single-artista .consent{
	display: none;
}
.single-artista .piedras-newsletter{
	align-items: center;
}
.single-artista .artist-name{
	background: 0 0;
    border: 0;
    padding: 0;
    font-size: 16px;
    text-decoration: none;
    color: #000;
    font-family: 'Solae', sans-serif;
}
.single .site-main{
	padding: 15px 15px 260px 15px;
}
.single-artista #menu-item-43 a{
	color: #000;
}
.single-artista #hero{
	position: relative;	
	height: calc(100vh - 132px);
}
.single-artista #hero img{
	object-fit: cover;
    object-position: center;
    height: 100%;
    width: 100%;
}
.single-artista h1{
	position: absolute;
    top: 50%;                /* Lo mueve al 50% desde arriba */
    left: 50%;               /* Lo mueve al 50% desde la izquierda */
    transform: translate(-50%, -50%); /* Lo centra exactamente */
    width: 100%;             /* Opcional, para que ocupe todo el ancho */
    text-align: center;
    font-size: 11vw;
    font-family: 'ABC Oracle';
    color: #000000;
    z-index: 10;             /* Para que quede por encima de la imagen */
    margin: 0; 
}
#artistaHeroTitulo {
	opacity: 1;
    transition: opacity 1s ease;
    pointer-events: none;
}

#artistaHeroTitulo.hero-titulo--oculto {
    opacity: 0;
}
/* Reset básico */
.artista-bio {
    width: 100%;
    padding-top: 75px;
}

.artista-bio__container {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

.artista-bio__espacio {
    width: 390px;
    flex-shrink: 0;
}

.artista-bio__texto {
    flex: 1;
    padding: 0px 40px 0px 0;
    display: flex;
    flex-direction: column;
}

.artista-bio__contenido {
    font-size: 16px;
    line-height: 1.6;
    color: #000;
}

.artista-bio__contenido p {
    margin-top: 0px;
    margin-bottom: 20px;
    font-size: 20px;
    line-height: 24px;
    font-family: 'Maria';
    font-weight: normal;
}

.artista-bio__btn-cv {
    display: inline-block;
    margin-top: auto;
    padding: 6px 10px;
    background: #7C7C7C;
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 1px;
    align-self: flex-start;
    font-family: 'ABC Oracle';
}
.artista-bio__btn-cv:visited{
	color: white;
}

.artista-bio__imagen {
    flex: 1;
}

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

/* Responsive */
@media (max-width: 1024px) {
    .artista-bio__container {
        grid-template-columns: 1fr;
        display: grid;
    }
    
    .artista-bio__espacio {
        display: none;
    }
    
    .artista-bio__texto {
        padding: 40px 20px;
    }
    
    .artista-bio__imagen {
        max-height: 600px;
    }
}
@media (max-width: 768px) {
	.single-artista #primary{
		padding-left: 0px!important;
		padding-right: 0px!important;
	}
	.artista #header-mobile-artist{
		display: block;
		margin-top: 200px;
		padding: 0 15px;
	}
	.exhibicion #header-mobile-artist{
		display: block;
		margin-top: 146px;
		padding: 0;
	}
	.single-feria .site-main{
		margin-top: 0px!important;
	}
	.feria #header-mobile-artist{
		display: block;
		margin-top: 194px!important;
		padding: 0;
	}
	#header-mobile-artist h6{
		font-family: 'Solae';
        font-size: 16px;
        line-height: 1;
        padding: 0px;
        margin: 0px;
        margin-bottom: 10px;
        color: #000000;
	}
	#header-mobile-artist span.artist-name{
		display: block;
		font-family: 'Solae';
		font-size: 32px;
		line-height: .8;
		padding: 0;
		margin-bottom: 5px;
	}
	#header-mobile-artist span.curator{
		line-height: 1;
		display: block;
		font-family: 'ABC Oracle';
        font-size: 12px;
        text-transform: uppercase;
	}
	#header-mobile-artist span.date{
		line-height: 1;
		display: block;
		margin-bottom: 2px;
		font-family: 'ABC Oracle';
        font-size: 12px;
	}
	#header-mobile-artist nav{
		overflow-y: scroll;
        display: flex;
        padding: 0;
        flex-wrap: nowrap;
        margin-top: 15px;
        margin-bottom: 20px;
	}
	#header-mobile-artist nav {
	    -ms-overflow-style: none;  /* Internet Explorer 10+ */
	    scrollbar-width: none;  /* Firefox, Safari 18.2+, Chromium 121+ */
	}
	#header-mobile-artist nav::-webkit-scrollbar { 
	    display: none;  /* Older Safari and Chromium */
	}
	#header-mobile-artist nav a{
		font-family: 'Solae';
        line-height: 1.1;
        text-decoration: none;
        font-size: 22px;
        text-wrap: nowrap;
	}
	.single-artista #hero{
		height: 40vh;
        padding: 0px;
	}
	.artista-bio{
		padding-top: 0px;
	}
	.artista-bio__texto{
		padding: 30px 15px;
	}
	.artista-bio__contenido p {
        font-size: 14px!important;
        line-height: 1.3!important;
    }	
}

/* ===== Sección Obras ===== */
.obras {
    width: 100%;
    position: relative;
    padding-top: 45px;
}

.obras__container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    width: 100%;
    gap: 20px;
    padding: 40px 0px;
    /* Sin align-items, deja el default "stretch" */
}

.obra {
    display: flex;
    flex-direction: column;
}

.obra__imagen-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    cursor: pointer;
    /* La altura se define dinámicamente por JS */
}

.obra__imagen {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Mantiene proporción original */
    object-position:top;
    display: block;
    transition: transform 0.3s ease;
}

.obra__imagen-wrapper:hover .obra__imagen {
    transform: scale(1.02);
}

.obra__info {
    font-family: 'ABC Oracle';
    margin-top: 12px;
    font-size: 12px;
    line-height: 1;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 0.5px; 
}
.obra__info p{
	margin: 0 0 10px 0;
}
.obra__consultar{
	font-family: 'ABC Oracle';
    margin-top: 12px;
    font-size: 12px;
    line-height: 1;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: underline;
    margin-bottom: 30px;
    display: none;
}

/* Tooltip */
.obra-tooltip {
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(255,255,255,.6);
    padding: 8px 10px;
    font-family: 'ABC Oracle';
    font-size: 11px;
    letter-spacing: 1px;
    font-weight: 500;
    color: #000;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 9999;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.obra-tooltip--visible {
    opacity: 1;
}

@media (max-width: 1023px) {
    .obra__imagen-wrapper,
    .feria-obra__imagen-wrapper,
    .exhibicion-obra__imagen-wrapper {
        height: auto !important;
    }
}
/* Responsive */
@media (max-width: 1200px) {
    .obras__container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .obras__container {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 20px 15px;
    }
    .obra-tooltip--visible{
	    display: none;
    }
    .obra__consultar{
	    display: block;
    }
}

@media (max-width: 480px) {
    .obras__container {
        grid-template-columns: 1fr;
        padding-left: 15px;
        padding-right: 15px;
    }
}
/* ============================================
   MODAL DE OBRA - ESTRUCTURA
   ============================================ */

.obra-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #fff;
    z-index: 9998;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.obra-modal--activo {
    opacity: 1;
    visibility: visible;
}

/* Barra superior fija */
.obra-modal__topbar {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background: #fff;
    flex-shrink: 0;
}

/* Botones de acción centrados con bordes */
.obra-modal__acciones {
    display: flex;
    gap: 0px;
    justify-content: center;
    flex: 1;
}

.obra-modal__accion {
    color: #000;
    text-decoration: none;
    font-size: 11px;
    letter-spacing: 1px;
    background: none;
    border: 1px solid #e8e8e8;
    border-radius: 0px;
    padding: 5px 10px;
    cursor: pointer;
    font-family: 'ABC Oracle';
    transition: all 0.3s ease;
    text-transform: uppercase;
}
.obra-modal__accion:first-child{
	background-color: #e6e6e6;
	border-right:none;
	color: white;
}
.obra-modal__accion:last-child{
	border-left:none;
}

.obra-modal__accion:hover {
    background: #000;
    color: #fff;
}

.obra-modal__accion--email {
    background: none;
    border: 1px solid #e8e8e8;
    color: #000;
}

.obra-modal__accion--email:hover {
    background: #000;
    color: #fff;
}

.obra-modal__cerrar {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    color: #000;
    transition: opacity 0.3s ease;
    border: 1px solid black;
    border-radius: 50px;
}
.obra-modal__cerrar svg{
	position: relative;
	top: 1px;
}

.obra-modal__cerrar:hover {
    opacity: 0.6;
}

/* Contenedor de imagen (ocupa el espacio restante) */
.obra-modal__imagen-container {
    position: relative;
    flex: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    cursor: default;
}

.obra-modal__imagen-container.zoom-mode {
    cursor: zoom-in;
}

.obra-modal__imagen {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-origin: center center;
    user-select: none;
    -webkit-user-drag: none;
}

/* Barra inferior fija con fondo semi-transparente */
.obra-modal__info {
    position: relative;
    z-index: 10;
    padding: 15px 30px 15px 30px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #333;
    flex-shrink: 0;
    font-family: 'ABC Oracle';
    font-size: 12px;
    line-height: 1;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
/* Ajuste para el HTML del WYSIWYG dentro de la barra de info */
.obra-modal__info p {
    margin: 0 0 4px 0;
    display: inline; /* Hace que los párrafos fluyan en la misma línea si son cortos */
}

.obra-modal__info p:last-child {
    margin-bottom: 0;
}

.obra-modal__info em, 
.obra-modal__info i {
    font-style: italic;
}

.obra-modal__info strong, 
.obra-modal__info b {
    font-weight: bold;
}

/* Botones flotantes de control */
.obra-modal__controles {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 20;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.obra-modal__imagen-container:hover .obra-modal__controles {
    opacity: 1;
}

.obra-modal__control-btn {
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.obra-modal__control-btn:hover {
    background: rgba(0, 0, 0, 0.95);
    transform: scale(1.1);
}

.obra-modal__control-btn.active {
    background: rgba(255, 255, 255, 0.95);
    color: #000;
}

/* Estado fullscreen real (API del navegador) */
.obra-modal:fullscreen,
.obra-modal:-webkit-full-screen,
.obra-modal:-moz-full-screen,
.obra-modal:-ms-fullscreen {
    width: 100vw;
    height: 100vh;
    background: #000;
}

.obra-modal:fullscreen .obra-modal__topbar,
.obra-modal:fullscreen .obra-modal__info {
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
}

.obra-modal:fullscreen .obra-modal__accion,
.obra-modal:fullscreen .obra-modal__cerrar {
    color: #fff;
}

.obra-modal:fullscreen .obra-modal__imagen-container {
    background: #000;
}

.obra-modal__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    color: #616161;
    border: 1px solid #e6e6e6;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
    padding: 0;
}
.obra-modal__nav:hover {
    background: rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.1);
    color: white;
}
.obra-modal__nav--prev {
    left: 20px;
}
.obra-modal__nav--next {
    right: 20px;
}
@media (max-width: 768px) {
    .obra-modal__nav {
        width: 40px;
        height: 40px;
    }
    .obra-modal__nav--prev {
        left: 10px;
    }
    .obra-modal__nav--next {
        right: 10px;
    }
}

/* Formulario dentro del modal */
.obra-modal__form-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    z-index: 30;
    display: flex;
    flex-direction: column;
    padding: 40px;
    overflow-y: auto;
}

.obra-modal__form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
    width: 50%;
    margin: 0 auto;
}

.obra-modal__form-header h3 {
	font-family: "Solae";
    margin: 0;
    font-size: 26px;
    line-height: .8;
    font-weight: 400;
    letter-spacing: 0px;
}

.obra-modal__form-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    color: #999;
    transition: color 0.3s ease;
}

.obra-modal__form-close:hover {
    color: #000;
}

.obra-modal__form-content{
	width: 50%;
    margin: 0 auto;
}

.obra-modal__form-content .wpcf7 label {
    display: block;
    margin-bottom: 20px;
    font-size: 13px;
    color: #666;
    font-weight: 300;
}

.obra-modal__form-content .wpcf7-text,
.obra-modal__form-content .wpcf7-email,
.obra-modal__form-content .wpcf7-textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    font-size: 14px;
    font-family: inherit;
    margin-top: 5px;
    box-sizing: border-box;
}

.obra-modal__form-content .wpcf7-text:focus,
.obra-modal__form-content .wpcf7-email:focus,
.obra-modal__form-content .wpcf7-textarea:focus {
    outline: none;
    border-color: #000;
}

.obra-modal__form-content .wpcf7-submit {
    background: #000;
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-size: 13px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.3s ease;
}

.obra-modal__form-content .wpcf7-submit:hover {
    background: #333;
}

/* Responsive */
@media (max-width: 768px) {
	
    .obra-modal__topbar,
    .obra-modal__info {
        padding: 15px 20px;
    }
    
    .obra-modal__form-container {
        padding: 20px;
    }
    
    .obra-modal__controles {
        bottom: 15px;
        right: 15px;
    }
    .obra-modal__form-header, .obra-modal__form-content{
		width: 50%;
	    margin: 0 auto;
	}
}

/* Estilos para el formulario CF7 dentro del modal */
.obra-modal__form-content .wpcf7 {
    margin: 0;
}

.obra-modal__form-content .wpcf7 label {
    display: block;
    margin-bottom: 20px;
    font-size: 13px;
    color: #666;
    font-weight: 300;
}

.obra-modal__form-content .wpcf7-text,
.obra-modal__form-content .wpcf7-email,
.obra-modal__form-content .wpcf7-textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    font-size: 14px;
    font-family: inherit;
    margin-top: 5px;
    box-sizing: border-box;
}

.obra-modal__form-content .wpcf7-text:focus,
.obra-modal__form-content .wpcf7-email:focus,
.obra-modal__form-content .wpcf7-textarea:focus {
    outline: none;
    border-color: #000;
}

.obra-modal__form-content .wpcf7-submit {
    background: #000;
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-size: 13px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.3s ease;
}

.obra-modal__form-content .wpcf7-submit:hover {
    background: #333;
}

/* Responsive */
@media (max-width: 768px) {
    .obra-modal__form-container {
        padding: 20px;
    }
    .obra-modal__form-header, .obra-modal__form-content{
	    width: 100%;
    }
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .obra-modal__topbar {
        padding: 15px 20px;
    }

    .obra-modal__acciones {
        flex-wrap: wrap;
    }

    .obra-modal__accion {
        padding: 6px 12px;
        font-size: 10px;
    }

    .obra-modal__cerrar {
        top: 15px;
        right: 20px;
        width: 36px;
        height: 36px;
    }

    .obra-modal__imagen-container {
        padding: 80px 20px 120px 20px;
    }

    .obra-modal__info {
        left: 20px;
        bottom: 15px;
        max-width: 70%;
        font-size: 11px;
        padding-left: 0;
    }
}

/* ===== Sección Instalaciones ===== */
.instalaciones {
    margin-top: 45px;
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #fff;
}

/* ===== Título flotante ===== */
.instalaciones__titulo {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-70%);
    text-align: center;
    font-size: 11vw;
    font-family: 'ABC Oracle';
    color: #000000;
    z-index: 10;
    margin: 0;
    pointer-events: none;
    opacity: 1;
    transition: opacity 1.2s ease;
}
.instalaciones__titulo--oculto {
    opacity: 0;
}

/* ===== Slider (track horizontal) ===== */
.instalaciones__slider {
    flex: 1;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    background: #fff;
}
.instalaciones__track {
    display: flex;
    align-items: stretch;
    height: 100%;
    will-change: margin-left;
}
.instalaciones__slide {
    flex-shrink: 0;
    height: 100%;
    overflow: hidden;
    will-change: width;
    cursor: none;
}
.instalaciones__imagen {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}

/* ===== Progress bar ===== */
.instalaciones__progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    background: #000;
    width: 0%;
    z-index: 20;
    opacity: 0;
}
.instalaciones__progress.is-animating {
    animation: instalacionesProgressFill 6s linear forwards;
}
@keyframes instalacionesProgressFill {
    from { width: 0%; }
    to   { width: 100%; }
}

/* ===== Thumbnails ===== */
.instalaciones__thumbs {
    width: 100%;
    height: 90px;
    background: #fff;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    overflow-x: auto;
    scrollbar-width: none;
}
.instalaciones__thumbs::-webkit-scrollbar { display: none; }
.instalaciones__thumb {
    width: 120px;
    height: 80px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s ease;
    margin: 0 1.5px;
    flex-shrink: 0;
}
.instalaciones__thumb:first-child { margin-left: 0; }
.instalaciones__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.instalaciones__thumb:hover { opacity: 0.8; }
.instalaciones__thumb.is-active { opacity: 1; }

/* ===== Franja de información ===== */
.instalaciones__franja {
    position: absolute;
    bottom: 90px; /* Por encima de los thumbs */
    left: 0;
    width: 100%;
    height: 60px;
    background: rgba(255, 255, 255);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    z-index: 5;
    box-sizing: border-box;
}
.instalaciones__franja-info {
    font-family: 'ABC Oracle';
    font-size: 12px;
    line-height: 1;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    max-width: 70%;
}
.instalaciones__franja-info br {
    display: block;
    margin-bottom: 2px;
}
.instalaciones__franja-contador {
    font-family: 'ABC Oracle';
    font-size: 12px;
    line-height: 1;
    color: #000;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

/* ===== Tooltip Flotante ===== */
.instalaciones-tooltip {
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.95);
    padding: 12px 24px;
    font-family: 'ABC Oracle';
    font-size: 11px;
    letter-spacing: 1px;
    font-weight: 500;
    color: #000;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 9999;
    white-space: nowrap;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    transform: translate(-50%, -50%);
}
.instalaciones-tooltip--visible {
    opacity: 1;
}
.instalaciones-tooltip__texto {
    display: block;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .instalaciones {
        height: calc(100vh - 100px);
        background-color: #ffffff;
    }
    .instalaciones__thumbs {
        background-color: #ffffff;
        height: 70px;
    }
    .instalaciones__thumb {
        width: 90px;
        height: 60px;
    }
    .instalaciones:after {
        content: "";
        width: 15px;
        height: 100%;
        background-color: #ffffff;
        position: absolute;
        right: -15px;
    }
    .instalaciones:before {
        content: "";
        width: 15px;
        height: 100%;
        background-color: #ffffff;
        position: absolute;
        left: -15px;
    }
}
@media (max-width: 768px) {
    .instalaciones {
        height: calc(50vh - 80px);
        margin-top: 5px;
    }
    .instalaciones__slide {
        cursor: default;
    }
    .instalaciones-tooltip {
        display: none;
    }
    .instalaciones__thumbs {
        height: 80px;
        padding: 0 15px;
        padding-left: 0;
    }
    .instalaciones__thumb {
        width: 85px;
        height: 65px;
        margin: 0 5px;
    }
    .instalaciones__thumb:first-child {
        margin-left: 0;
        padding-left: 0;
    }
    .instalaciones__franja {
        height: 100px;
        padding: 15px 20px;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 10px;
        bottom: 80px;
        display: none;
    }
    .instalaciones__franja-info {
        max-width: 100%;
    }
    .instalaciones__titulo {
        font-size: clamp(40px, 12vw, 80px);
    }
}

/* ===== Sección Exhibiciones ===== */
.exhibiciones {
    width: 100%;
    padding: 80px 0;
}

.exhibiciones__container {
    display: flex;
    width: 100%;
    gap: 5px;
}

.exhibiciones__espacio {
    width: 20%;
    flex-shrink: 0;
}

.exhibiciones__grid {
    width: 80%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px 40px;
}

/* ===== Cada exhibición ===== */
.exhibicion {
    display: flex;
    flex-direction: column;
}

.exhibicion__header {
    margin-bottom: 20px;
}
.exhibiciones__label{
	display: flex;
	justify-content: space-between;
}
.exhibiciones__label span:first-child{
	font-family: 'Solae', serif;
    font-size: 30px;
    font-weight: 400;
    color: #000;
}
.exhibiciones__label .exhibiciones__flecha{
	font-size: 30px;
	line-height: 1.6;
    color: #000;
    font-family: 'Solae';
    padding-right: 25px;	
}
.exhibicion__titulo {
    font-family: 'Solae';
    font-size: 30px;
    font-weight: 400;
    color: #000;
    margin: 0;
    line-height: 1;
}

.exhibicion__fecha {
    font-family: 'ABC Oracle';
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #000;
    margin: 0;
}


/* ===== Imagen ===== */
.exhibicion__imagen-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    cursor: none; /* ← Ocultamos el cursor default */
}

.exhibicion__imagen {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.exhibicion__imagen-wrapper:hover .exhibicion__imagen {
    transform: scale(1.02);
}

/* ===== Tooltip ===== */
.exhibicion-tooltip {
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.5);
    padding: 8px 10px;
    font-family: 'ABC Oracle';
    font-size: 11px;
    letter-spacing: 1px;
    font-weight: 500;
    color: #fff;
    pointer-events: none; /* ← No interfiere con el hover */
    opacity: 0;
    transition: opacity 0.25s ease;
    z-index: 9999;
    white-space: nowrap;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.exhibicion-tooltip--visible {
    opacity: 1;
}

/* ===== Responsive ===== */
@media (max-width: 1367px) {
	.exhibicion__titulo{
		font-size: 26px;
	}
}
@media (max-width: 1024px) {
	.exhibiciones{
		padding: 45px 0px;
	}
    .exhibiciones__container {
        flex-direction: column;
        padding: 0 20px;
    }

    .exhibiciones__espacio {
        /*display: none;*/
    }

    .exhibiciones__grid {
        width: 100%;
        grid-template-columns: 1fr 1fr;
        gap: 40px 20px;
    }

    .exhibicion__titulo {
        font-size: 22px;
    }
    .exhibicion__fecha{
	    font-size: 10px;
    }

    .exhibicion__imagen-wrapper {
        cursor: pointer; /* ← En tablet volvemos al cursor normal */
    }
}

@media (max-width: 600px) {
    .exhibiciones__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .exhibicion__titulo {
        font-size: 22px;
    }

    .exhibicion-tooltip {
        display: none; /* ← En móvil ocultamos el tooltip */
    }
}

/* ===== Sección Novedades ===== */
.novedades {
    position: relative;
    width: 100%;
    padding: 80px 0px 90px 0px; /* Padding bottom grande para el título fijo */
    overflow: hidden;
}

/* ===== Grid 5 columnas ===== */
.novedades__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
    width: 100%;
}

/* ===== Cada novedad ===== */
.novedad {
    display: block;
    text-decoration: none;
    color: #000;
    transition: filter 0.4s ease;
    cursor: pointer;
}

.novedad__titulo {
    font-family: 'Solae';
    font-size: clamp(20px, 1.6vw, 36px);
    font-weight: 400;
    line-height: 1;
    margin: 0 0 12px 0;
    color: #000;
}
.novedad__titulo span{
	font-size: 46px;
    display: block;
    position: relative;
}
/* Efecto blur al hover */
.novedad:hover {
    filter: blur(3px);
}

/* ===== Título fijo "Novedades" ===== */
.novedades__titulo-fijo {
    width: 100%;
    text-align: center;
    font-family: 'ABC Oracle';
    font-size: clamp(80px, 14vw, 220px);
    line-height: 1;
    font-weight: 700;
    color: #000;
    margin: 0;
    letter-spacing: -2px;
    pointer-events: none;
}

/* ===== Responsive ===== */
@media (max-width: 1200px) {
    .novedades__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .novedades {
        padding: 30px 20px 30px 20px;
        display: flex;
        flex-direction: column-reverse;
    }

    .novedades__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .novedad__titulo {
        font-size: 24px;
        margin-top: 0;
        margin-bottom: 30px;
    }

    .novedades__titulo-fijo {
	    margin-top: 30px;
        margin-bottom: 30px;
        font-size: 60px;
    }
}

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

    .novedades__titulo-fijo {
        font-size: 48px;
    }
}
.single #newsletter{
	position: relative;
	padding-left: 0px;
	padding-bottom: 260px;
}
.single .n1 h4 {
    width: max-content;
    font-family: 'Solae';
    font-size: 3.5vw;
    line-height: .8;
    letter-spacing: -2px;
    color: #000000;
    font-weight: lighter;
    padding: 0;
    margin: 0;
    padding-left: 0px;
    padding-bottom: 5px;
}
.single .n2 {
    width: 100%;
    padding-left: 30px;
}
.single .piedras-newsletter input[type="text"], .single .piedras-newsletter input[type="email"]{
	width: 100%;
	min-width: 240px;
}

/*Novedades*/
.page-template-tpl-novedadas .site-main{
	padding: 0 15px;
}
/* ===== Página Novedades ===== */
.novedades-page {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding: 45px 15px 300px 15px;
    overflow: hidden;
}

/* ===== Grid 5 columnas ===== */
.novedades-page__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px 30px;
    width: 100%;
}

/* ===== Cada item de novedad ===== */
.novedad-item {
    display: block;
    text-decoration: none;
    color: #000;
    position: relative;
    cursor: pointer;
}

.novedad-item__titulo {
    font-family: 'Solae', sans-serif;
    font-size: clamp(20px, 2vw, 30px);
    font-weight: 400;
    line-height: .8;
    margin: 0 0 12px 0;
    color: #000;
    transition: opacity 0.3s ease;
}
.novedad-item__titulo::first-letter {
    text-transform: uppercase;
}
.novedad-item__titulo span{
	font-size: 46px;
	display: block;
	position: relative;
}
span.prensa:before{
	content: "";
    width: 80px;
    height: 22px;
    background-image: url(https://dev.hohmann.cl/piedras/wp-content/uploads/2026/08/iso-piedras.svg);
    background-repeat: no-repeat;
    position: absolute;
    left: 142px;
    top: 8px;
}
/* Imagen (oculta por defecto, aparece en hover) */
.novedad-item__imagen-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
    z-index: -1;
}

.novedad-item__imagen {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Efecto hover: blur en el título + muestra imagen */
.novedad-item:hover .novedad-item__titulo {
    filter: blur(3px);
    opacity: 0.5;
}

.novedad-item:hover .novedad-item__imagen-wrapper {
    opacity: 1;
    visibility: visible;
}

/* ===== Paginación ===== */
.novedades-page__paginacion {
    margin-top: 80px;
    display: flex;
    justify-content: center;
}

.paginacion {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Solae', sans-serif;
    font-size: 18px;
}

.paginacion__link {
    color: #000;
    text-decoration: none;
    font-size: 30px;
    font-weight: 400;
    transition: opacity 0.2s ease;
}

.paginacion__link:hover {
    opacity: 0.6;
}

.paginacion__coma {
    color: #000;
    margin-right: 8px;
}

.paginacion__numeros {
    display: flex;
    gap: 8px;
    align-items: center;
}

.paginacion__numero {
    color: #7C7C7C; /* Gris claro para páginas inactivas */
    text-decoration: none;
    font-size: 30px;
    font-weight: 400;
    transition: color 0.2s ease;
}
.paginacion__numero:visited{
	color: #7C7C7C; /* Gris claro para páginas inactivas */
}

.paginacion__numero:hover {
    color: #000;
}

.paginacion__numero--activo {
    color: #000!important; /* Negro para página activa */
}

.paginacion__puntos {
    color: #7C7C7C;
    padding: 0 4px;
}

/* ===== Título fijo "Novedades" ===== */
.novedades-page__titulo-fijo {
    position: absolute;
    top:50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: fit-content;
    height: fit-content;
    text-align: center;
    font-family: 'ABC Oracle';
    font-size: clamp(80px, 12vw, 200px);
    font-weight: 700;
    color: #000;
    margin: 0;
    letter-spacing: -2px;
    pointer-events: none;
    opacity: 1;
    transition: opacity 1s ease; /* ← Transición suave */
}

.novedades-page__titulo-fijo--oculto {
    opacity: 0;
}

/* ===== Responsive ===== */
@media (max-width: 1200px) {
    .novedades-page__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .novedades-page {
        padding: 205px 20px 45px 20px;
    }

    .novedades-page__grid {
        grid-template-columns: repeat(1, 1fr)!important;
        gap: 20px;
    }
	.novedad-item__titulo span {
    	font-size: 36px;
	}
    .novedad-item__titulo {
        font-size: 22px;
    }
	span.prensa:before {
	    left: 112px;
	    top: 2px;
	}
    .paginacion {
        font-size: 14px;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
    .novedades-page__titulo-fijo {
        bottom: 40px;
        font-size: 60px;
    }
    .paginacion__numero{
	    font-size: 14px;
    }
    .paginacion__link{
	    font-size: 18px;
    }
    .novedades-page__grid{
	    gap:20px;
    }
    .novedad-item:hover .novedad-item__imagen-wrapper, .novedad-item .novedad-item__imagen-wrapper{
	    display: block;
    }
    .novedad-item{
	    display: flex;
	    flex-direction: column-reverse;
    }
    .novedad-item:hover{
	    
    }
    .novedad-item__titulo {
        font-size: 22px;
        margin-top: 8px;
        position: relative;
    }
    .novedad-item:hover .novedad-item__titulo{
	    filter: blur(0px);
	    opacity: 1;
    }
    .novedad-item:hover .novedad-item__imagen-wrapper, .novedad-item .novedad-item__imagen-wrapper {
        visibility: visible;
        display: block;
        opacity: 1;
        position: relative;
    }
}

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

    .novedades-page__titulo-fijo {
        font-size: 48px;
    }
}

/* ===== Info General ===== */
.page-template-tpl-info header {
	/*position: relative;*/
	z-index: 1;
}
.page-template-tpl-info #primary.site-main {
	padding-top: 0;
}
.page-template-tpl-info #newsletter {
	position: relative;
	padding-bottom: 300px;
}

/* ===== HERO Info ===== */
.info-hero {
    width: 100%;
    height: calc(100vh - 117px);
    overflow: hidden;
    position: relative;
}

.info-hero__imagen {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    padding: 0; /* Corregido: el padding lateral rompía el object-fit: cover */
}

.info-hero__titulo {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    text-align: center;
    font-family: 'ABC Oracle', sans-serif;
    font-size: clamp(60px, 10vw, 160px);
    font-weight: 700;
    color: #000;
    margin: 0;
    pointer-events: none;
    opacity: 1;
    transition: opacity 1s ease;
    z-index: 10;
}

.info-hero__titulo--oculto {
    opacity: 0;
}

/* ===== Sección Staff / Contacto ===== */
.info-staff {
    width: 100%;
    padding: 80px 15px 0px 160px;
}

.info-staff h5 {
	margin-top: 10px;
    margin-bottom: 0;
    font-family: 'Solae', serif;
    font-weight: lighter;
    font-size: 26px;
    line-height: 1; /* Corregido: .8 era demasiado ajustado */
    color: #000;
}

.info-staff p {
	margin-top: 5px;
    margin-bottom: 22px;
    font-family: 'ABC Oracle', sans-serif;
    font-size: 14px;
    line-height: 1.4;
    text-transform: uppercase;
}

.info-staff p a {
	text-decoration: none;
}

.info-staff__container {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.info-staff__label {
    display: flex;
    align-items: center;
    gap: 20px;
    min-width: 220px;
    flex-shrink: 0;
    justify-content: space-between;
}

.info-staff__label span:first-child {
    font-family: 'Solae', serif;
    font-size: 30px;
    font-weight: 400;
    color: #000;
}

.info-staff__flecha {
    font-size: 30px;
    color: #000;
    font-family: 'Solae', serif;
}

.info-staff__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    flex: 1;
}

/* ===== Staff Item ===== */
.staff-item {
    display: flex;
    flex-direction: column;
}

.staff-item__nombre {
    font-family: 'Solae', serif;
    font-size: clamp(32px, 4vw, 62px);
    font-weight: 400;
    color: #000;
    margin: 0;
    line-height: .8; /* Corregido: valor fijo de 45px causaba superposición */
    letter-spacing: -1px;
}

.staff-item__cargo {
    line-height: 1;
    font-family: 'Solae', serif;
    font-size: 28px;
    color: #000;
    margin-top: 5px; /* Corregido: margen negativo duplicado */
    margin-bottom: 0;
}

.staff-item__email {
    font-family: 'ABC Oracle', sans-serif;
    font-size: 12px;
    color: #000;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 5px;
}

.staff-item__email:hover {
    text-decoration: underline;
}

/* ===== Sección Historia ===== */
.info-historia {
    width: 100%;
    padding: 80px 60px 80px 160px;
}

.info-historia__container {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.info-historia__label {
    display: flex;
    align-items: center;
    gap: 20px;
    min-width: 220px;
    flex-shrink: 0;
    justify-content: space-between;
}

.info-historia__label span:first-child {
    font-family: 'Solae', serif;
    font-size: 30px;
    font-weight: 400;
    color: #000;
}

.info-historia__flecha {
    font-size: 30px;
    color: #000;
    font-family: 'Solae', serif;
}

.info-historia__contenido-wrapper {
    position: relative;
    flex: 1;
    width: 100%;
    overflow: visible;
}

.info-historia__contenido {
    gap: 40px;
    font-family: 'Maria', sans-serif;
    font-size: 18px;
    line-height: 1.5;
    color: #000;
    overflow: hidden;
    transition: max-height 0.6s ease;
    column-count: 2;
}

.info-historia__contenido > p {
    margin: 0 0 16px 0;
}

.info-historia__contenido--expandido {
    max-height: none !important;
    overflow: visible !important;
}

.info-historia__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.info-historia__overlay--oculto {
    opacity: 0;
}

.info-historia__acciones {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    margin-left: 260px;
}

.info-historia__btn-prensa {
    display: inline-block;
    padding: 6px 10px;
    background: #7C7C7C;
    color: #fff;
    font-family: 'ABC Oracle', sans-serif;
    font-size: 12px;
    letter-spacing: 1px;
    text-decoration: none;
    text-transform: uppercase;
    transition: background 0.2s ease;
}

.info-historia__btn-prensa:hover, .info-historia__btn-prensa:visited {
    background: #b0b0b0;
    color: #fff;
}

.info-historia__btn-leermas {
    background: none;
    border: none;
    font-family: 'ABC Oracle', sans-serif;
    font-size: 14px;
    color: #000;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.info-historia__btn-leermas:hover {
    opacity: 0.6;
}

.info-historia__btn-leermas--oculto {
    display: none !important;
}

/* ===== Tablet ===== */
@media (max-width: 1024px) {
    .info-historia {
        padding: 60px 30px;
    }
    
    .info-historia__container {
        flex-direction: column;
        gap: 30px;
    }

    .info-historia__label {
        min-width: auto;
    }

    .info-historia__contenido,
    .info-historia__contenido--expandido {
        -webkit-column-count: 1 !important;
        -moz-column-count: 1 !important;
        column-count: 1 !important;
    }

    .info-historia__acciones {
        margin-left: 0;
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
}

/* ===== Mobile ===== */
@media (max-width: 768px) {
    /* HERO */
    .info-hero {
        height: 60vh!important;
        min-height: 400px;
    }

    .info-hero__titulo {
        font-size: clamp(40px, 12vw, 80px);
        padding: 0 15px;
    }

    /* SECCIONES GENERALES */
    .info-staff,
    .info-historia {
        padding: 30px 20px!important;
    }

    /* LABELS */
    .info-staff__label,
    .info-historia__label {
        min-width: auto;
        width: 100%;
        margin-bottom: 0px;
        justify-content: flex-start;
        gap: 5px;
    }

    .info-staff__label span:first-child,
    .info-historia__label span:first-child {
        font-size: 24px;
    }

    .info-staff__flecha,
    .info-historia__flecha {
        font-size: 18px;
        transform: rotate(90deg);
    }
    .exhibiciones__label .exhibiciones__flecha {
        font-size: 18px;
        transform: rotate(90deg);
        padding: 0px;
    }

    /* GRIDS Y CONTENEDORES */
    .info-staff__container,
    .info-historia__container {
        flex-direction: column;
        gap: 30px;
    }

    .info-staff__grid {
        grid-template-columns: 1fr; /* Una sola columna en mobile */
        gap: 40px;
    }

    /* TIPOGRAFÍA STAFF / CONTACTO */
    .info-staff h5 {
        font-size: 22px;
        line-height: 1.1;
    }

    .info-staff p {
        font-size: 13px;
        line-height: 1.4;
        margin-bottom: 16px;
    }

    .staff-item__nombre {
        font-size: clamp(28px, 8vw, 42px);
        line-height: .8;
        letter-spacing: -0.5px;
    }

    .staff-item__cargo {
        font-size: 20px;
        margin-top: 5px;
    }

    .staff-item__email {
        font-size: 13px;
        margin-top: 5px;
    }

    /* HISTORIA */
    .info-historia__contenido {
        font-size: 14px;
        line-height: 1.3;
    }

    .info-historia__acciones {
        margin-top: 40px;
        width: 100%;
    }

    .info-historia__btn-prensa {
        display: block;
        width: 100%;
        text-align: center;
        padding: 12px 10px;
        font-size: 13px;
    }

    /* NEWSLETTER */
    .page-template-tpl-info #newsletter {
        padding-bottom: 150px; /* Reducido para evitar scroll vacío excesivo */
    }
}

/*Exhibiciones*/
/* ===== FILTROS EXHIBICIONES ===== */
.exhibiciones-filtros {
    width: 100%;
    z-index: 100;
    padding: 0;
}

.exhibiciones-filtros__contenido {
    margin: 0 auto;
    display: flex;
    align-items: baseline;
    gap: 20px;
    flex-wrap: wrap;
}

.exhibiciones-filtros__titulo {
	display: none;
    font-family: 'Solae', sans-serif;
    font-size: clamp(28px, 4vw, 48px);
    color: #000;
    margin: 0;
}

.exhibiciones-filtros__lista {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.exhibiciones-filtros__item {
    background: none;
    border: none;
    font-family: 'Solae', sans-serif;
    font-size: clamp(20px, 3vw, 30px);
    color: #7C7C7C;
    cursor: pointer;
    padding: 0;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.exhibiciones-filtros__item:hover,
.exhibiciones-filtros__item--activo {
    color: #000;
}

.exhibiciones-filtros__pasadas {
    font-family: 'Solae', sans-serif;
    font-size: clamp(20px, 3vw, 30px);
    color: #000;
    margin-right: 5px;
}

/* ===== SECCIÓN EXHIBICIONES ===== */
.exhibiciones-page {
    width: 100%;
    padding: 0px 15px 300px 125px;
    box-sizing: border-box;
}

.exhibiciones-section {
    margin-bottom: 60px;
    opacity: 1;
    transform: translateY(15px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.exhibiciones-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.exhibiciones-section__year-title {
    position: absolute;
    top: 160px;
    pointer-events: none;
    text-align: center;
    width: 100%;
    font-family: 'Maria', sans-serif;
    font-weight: 100;
    font-size: clamp(60px, 14vw, 265px);
    line-height: .8;
    color: #000;
    margin: 0;
    z-index: 10;
    
    /* ESTADO INICIAL: Invisible y ligeramente más pequeño */
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* ESTADO VISIBLE: Activado por JavaScript */
.exhibiciones-section__year-title.is-visible {
    opacity: 1;
    transform: scale(1);
}

/* Ocultar secciones vacías y sus títulos */
.exhibiciones-section.is-empty {
    display: none;
}

.exhibiciones-section__year-title {
    position: absolute;
    top: 160px;
    pointer-events: none;
    text-align: center;
    width: 100%;
    font-family: 'Maria', sans-serif;
    font-weight: 100;
    font-size: clamp(60px, 14vw, 265px);
    line-height: .8;
    color: #000;
    margin: 0;
    z-index: 10;
    
    /* ESTADO INICIAL: Invisible */
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.exhibiciones-section__year-title.is-visible {
    opacity: 1;
    transform: scale(1);
}

/* Item del menú de años oculto */
.exhibiciones-anos-sidebar__item.is-hidden {
    display: none;
}

/* ===== GRID DE EXHIBICIONES ===== */
.exhibiciones-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px 40px;
    width: 100%;
}
/* ===== ITEM EXHIBICIÓN ===== */
.exhibicion-item {
    display: flex;
    flex-direction: row;
    gap: 15px;
    cursor: pointer;
    transition: transform 0.3s ease;
    width: 100%;
    min-width: 0;
    text-decoration: none; /* ← Quitar subrayado del link */
    color: inherit; /* ← Heredar color, no usar el del link del tema */
}
.exhibicion-item:hover {
    transform: translateX(10px);
    text-decoration: none; /* ← Asegurar que no aparezca subrayado en hover */
}
/* Reset de estilos de link para los elementos internos */
.exhibicion-item h3,
.exhibicion-item h4,
.exhibicion-item p {
    color: #000; /* ← Forzar color negro, ignorando el color de links del tema */
    text-decoration: none;
}
.exhibicion-item h3:hover,
.exhibicion-item h4:hover,
.exhibicion-item p:hover {
    color: #000; /* ← Mantener color en hover */
}

.exhibicion-item__contenido {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 5px;
    margin-bottom: 20px;
    flex: 2; /* ← 40% del espacio disponible */
    min-width: 0;
}

.exhibicion-item__texto {
    flex: 1;
    min-width: 0;
}
/* ===== TUS ESTILOS ORIGINALES DE ARTISTAS ===== */
.exhibicion-item__artistas {
    font-family: 'Solae', sans-serif;
    font-size: clamp(24px, 2vw, 32px);
    font-weight: 400;
    color: #000;
    margin: 0 0 8px 0;
    line-height: .8;
    position: relative;
    top: 7px;
    /* ← Solo agregué esto para evitar desbordamiento */
    /* 1. Estándar moderno que reemplaza a word-wrap */
	overflow-wrap: break-word;
	word-wrap: break-word; /* Retrocompatibilidad */
	
	/* 2. Control de guiones con prefijo obligatorio para Safari */
	-webkit-hyphens: none;
	hyphens: none;
	
	/* 3. Evita usar word-break: break-word; que rompe en Safari */
	word-break: normal; 
}

/* ===== TUS ESTILOS ORIGINALES DE TÍTULO ===== */
.exhibicion-item__titulo {
    font-family: 'ABC Oracle', sans-serif;
    font-weight: lighter;
    font-size: clamp(10px, 1.5vw, 10px);
    color: #000;
    margin: 0 0 6px 0;
    text-transform: uppercase;
    letter-spacing: 0;
    margin-bottom: 0px;
    line-height: 1.2;
    /* ← Solo agregué esto para evitar desbordamiento */
    word-wrap: break-word;
    word-break: break-word;
}
/* ===== TUS ESTILOS ORIGINALES DE FECHA ===== */
.exhibicion-item__fecha {
    font-family: 'ABC Oracle', sans-serif;
    font-weight: lighter;
    font-size: 10px;
    line-height: 1.2;
    color: #000;
    margin: 0;
    text-transform: uppercase;
    /* ← Solo agregué esto para evitar desbordamiento */
    word-wrap: break-word;
    word-break: break-word;
}

.exhibicion-item__arrow {
    font-family: 'Solae', sans-serif;
    font-size: 32px;
    color: #000;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.exhibicion-item:hover .exhibicion-item__arrow {
    transform: translateX(10px);
}

.exhibicion-item__imagen {
    flex: 4; /* ← 60% del espacio disponible */
    width: 100%;
    aspect-ratio: 16 / 11;
    overflow: hidden;
    background: #f5f5f5;
    min-width: 0;
}
.exhibicion-item__imagen img{
	object-fit: cover;
    height: 100%;
    width: 100%;
    transition: all .2s ease-in;
}
.exhibicion-item:hover .exhibicion-item__imagen img {
    transform: scale(1.05);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .exhibiciones-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .exhibicion-item {
        flex-direction: column;
        gap: 15px;
    }
    
    .exhibicion-item__contenido,
    .exhibicion-item__imagen {
        width: 100%;
        margin-bottom: 0px;
    }
    
    .exhibicion-item__arrow {
        align-self: flex-end;
    }
}

/* ===== LOADING ===== */
.exhibiciones-loading {
    padding: 40px;
    text-align: center;
}

.exhibiciones-loading__spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #f0f0f0;
    border-top-color: #000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}


@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== SENTINEL ===== */
.exhibiciones-sentinel {
    height: 100px;
    margin-bottom: 40px;
}

/* ===== SIDEBAR DE AÑOS (Izquierda) ===== */
.exhibiciones-anos-sidebar {
    position: fixed;
    top: 143px; /* Ajustar según la altura real de tu header + filtros */
    left: 12px;
    width: 72px;
    z-index: 90;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.exhibiciones-anos-sidebar__lista {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.exhibiciones-anos-sidebar__item {
    background: none;
    border: none;
    font-family: 'Solae', sans-serif;
    font-size: 30px;
    color: #7C7C7C;
    cursor: pointer;
    padding: 0;
    text-align: left;
    transition: color 0.3s ease;
    position: relative;
}

.exhibiciones-anos-sidebar__item:hover,
.exhibiciones-anos-sidebar__item--activo {
    color: #000;
}

/* Indicador visual del año activo */
.exhibiciones-anos-sidebar__item--activo::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 1px;
    background: #000;
    display: none;
}

/* ===== UNIFICACIÓN DE ESTILOS DE FILTROS (Header y Original) ===== */
.exhibiciones-filtros,
.exhibiciones-header-nav {
    width: 100%;
    z-index: 100;
    padding: 0;
}

.exhibiciones-filtros__contenido,
.exhibiciones-header-nav__contenido {
    margin: 0 auto;
    display: flex;
    align-items: baseline;
    gap: 20px;
    flex-wrap: wrap;
}

.exhibiciones-filtros__lista,
.exhibiciones-header-nav__espacios {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.exhibiciones-filtros__item,
.exhibiciones-header-nav__item {
    background: none;
    border: none;
    font-family: 'Solae', sans-serif;
    font-size: clamp(20px, 3vw, 30px);
    line-height: .8;
    color: #7C7C7C;
    cursor: pointer;
    padding: 0;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.exhibiciones-filtros__item:hover,
.exhibiciones-filtros__item--activo,
.exhibiciones-header-nav__item:hover,
.exhibiciones-header-nav__item--activo {
    color: #000;
}

/* ===== WRAPPER PARA FILTRO (No rompe tu diseño) ===== */
.exhibicion-item-filter-wrapper {
    width: 100%;
}

/* ===== RESPONSIVE PARA EL SIDEBAR ===== */
@media (max-width: 992px) {
    .exhibiciones-filtros,
    .exhibiciones-header-nav {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        margin-bottom: 30px;
    }
    
    /*.exhibiciones-anos-sidebar {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 15px;
        margin-bottom: 40px;
        padding-left: 0;
    }*/
    
    .exhibiciones-anos-sidebar__item {
        text-align: left;
        font-size: 18px;
    }
    
    .exhibiciones-anos-sidebar__item--activo::before {
        display: none;
    }
    
    .exhibiciones-anos-sidebar__item--activo {
        color: #000;
        text-decoration: underline;
    }
    
    .exhibiciones-page {
        padding: 0px 15px 100px 15px; /* Quitamos el padding izquierdo grande en móvil */
        padding-top: 190px;
    }
	#primary.exhibiciones-page {
	   padding-top: 190px;
	}
}

/* ===== HERO EXHIBICIÓN ===== */
.single-exhibicion .site-main{
	margin-top: 130px;
	padding-top: 0!important;
	padding-bottom: 0px!important;
}
.single-exhibicion header.site-header {
    display: flex;
    z-index: 2;
    /*position: relative;*/
}
.single-exhibicion #menu-item-44 a{
	color: #000!important;
}

.exhibicion-hero {
    position: relative;
    width: 100%;
    height: calc(100vh - 15px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
}

.exhibicion-hero__titulo {
    position: absolute;
    top: calc(50% - 40px);
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    text-align: center;
    font-family: 'ABC Oracle', sans-serif;
    font-weight: 700;
    color: #000;
    margin: 0;
    pointer-events: none;
    z-index: 10;
    line-height: 1;
    letter-spacing: -2px;
    opacity: 1;
    transition: opacity 1.2s ease;
}

.exhibicion-hero__titulo--oculto { opacity: 0; }
.exhibicion-hero__titulo--uno { font-size: clamp(60px, 10vw, 160px); }
.exhibicion-hero__titulo--dos { font-size: clamp(50px, 8vw, 130px); }
.exhibicion-hero__titulo--varios { font-size: clamp(40px, 6vw, 100px); }

.exhibicion-hero__slider {
    flex: 1;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    background: #fff;
}

.exhibicion-hero__track {
    display: flex;
    align-items: stretch;
    height: 100%;
    will-change: margin-left;
}

.exhibicion-hero__slide {
    flex-shrink: 0;
    height: 100%;
    overflow: hidden;
    will-change: width;
}

.exhibicion-hero__imagen {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}

.exhibicion-hero__progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    background: #000;
    width: 0%;
    z-index: 20;
    display: none;
    opacity: 0;
}

.exhibicion-hero__progress.is-animating {
    animation: heroProgressFill 6s linear forwards;
}

@keyframes heroProgressFill {
    from { width: 0%; }
    to { width: 100%; }
}

.exhibicion-hero__thumbs {
    width: 100%;
    height: 90px;
    background: #fff;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    overflow-x: auto;
    scrollbar-width: none;
}

.exhibicion-hero__thumbs::-webkit-scrollbar { display: none; }

.exhibicion-hero__thumb {
    width: 120px;
    height: 80px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s ease;
    margin: 0 1.5px;
    flex-shrink: 0;
}

.exhibicion-hero__thumb:first-child { margin-left: 0; }

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

.exhibicion-hero__thumb:hover { opacity: 0.8; }
.exhibicion-hero__thumb.is-active { opacity: 1; }

.exhibicion-hero-tooltip {
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.95);
    padding: 12px 24px;
    font-family: 'ABC Oracle', sans-serif;
    font-size: 11px;
    letter-spacing: 1px;
    font-weight: 500;
    color: #000;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 9999;
    white-space: nowrap;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    transform: translate(-50%, -50%);
}

.exhibicion-hero-tooltip--visible { opacity: 1; }

@media (max-width: 1024px) {
    .exhibicion-hero { height: calc(100vh - 100px); background-color: #ffffff; }
    .exhibicion-hero__thumbs { background-color: #ffffff; height: 70px; }
    .exhibicion-hero__thumb { width: 90px; height: 60px; }
    .exhibicion-hero:after { content: ""; width: 15px; height: 100%; background-color: #ffffff; position: absolute; right: -15px; }
    .exhibicion-hero:before { content: ""; width: 15px; height: 100%; background-color: #ffffff; position: absolute; left: -15px; }
}

@media (max-width: 768px) {
    .single-exhibicion .site-main { margin-top: 53px; }
    .exhibicion-hero { height: calc(50vh - 80px); margin-top: 5px; }
    .exhibicion-hero__slide { cursor: default; }
    .exhibicion-hero-tooltip { display: none; }
    .exhibicion-hero__thumbs { height: 80px; padding: 0 15px; padding-left: 0; }
    .exhibicion-hero__thumb { width: 85px; height: 65px; margin: 0 5px; }
    .exhibicion-hero__thumb:first-child { margin-left: 0; padding-left: 0; }
    .exhibicion-hero__titulo--uno { font-size: clamp(40px, 12vw, 80px); }
    .exhibicion-hero__titulo--dos { font-size: clamp(32px, 10vw, 70px); }
    .exhibicion-hero__titulo--varios { font-size: clamp(24px, 8vw, 50px); }
}


/* ===== SECCIÓN TEXTO DE SALA ===== */
.exhibicion-texto-sala {
    width: 100%;
    padding: 80px 0px 80px 160px;
}

.exhibicion-texto-sala__container {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

/* Label izquierdo (fijo) */
.exhibicion-texto-sala__label {
    display: flex;
    flex-direction: column;
    gap: 0px;
    min-width: 220px;
    flex-shrink: 0;
}

.exhibicion-texto-sala__label > div:first-child {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: space-between;
}

.exhibicion-texto-sala__titulo {
    font-family: 'Solae', serif;
    font-size: 30px;
    line-height: .8;
    font-weight: 400;
    color: #000;
}

.exhibicion-texto-sala__flecha {
    font-size: 30px;
    line-height: .8;
    color: #000;
    font-family: 'Solae';
    padding-top: 6px;
}

/* Créditos (subtítulo pequeño) */
.exhibicion-texto-sala__creditos {
    font-family: 'ABC Oracle', sans-serif;
    font-size: 10px;
    font-weight: 400;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 0;
    line-height: 1;
}

.exhibicion-texto-sala__creditos p {
    margin: 0;
}

.exhibicion-texto-sala__creditos strong,
.exhibicion-texto-sala__creditos b {
    font-weight: 700;
}

/* Contenido en 2 columnas con flujo continuo */
.exhibicion-texto-sala__contenido {
    flex: 1;
    width: 100%;
    font-family: 'Maria', sans-serif;
    font-size: 18px;
    line-height: 1.5;
    color: #000;
    
    /* Columnas CSS para flujo continuo */
    column-count: 2;
    column-gap: 40px;
    column-fill: balance;
}

.exhibicion-texto-sala__contenido > p {
    margin: 0 0 16px 0;
    break-inside: avoid; /* Evita que un párrafo se parta entre columnas */
}

.exhibicion-texto-sala__contenido br {
    display: block;
    margin-bottom: 4px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .exhibicion-texto-sala {
        padding: 60px 30px;
    }
    
    .exhibicion-texto-sala__container {
        flex-direction: column;
        gap: 30px;
    }

    .exhibicion-texto-sala__label {
        min-width: auto;
    }

    .exhibicion-texto-sala__contenido {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .exhibicion-texto-sala {
        padding: 40px 0px;
    }
    
    .exhibicion-texto-sala__titulo {
        font-size: 24px;
    }
    
    .exhibicion-texto-sala__flecha {
        font-size: 24px;
    }
    
    .exhibicion-texto-sala__contenido {
        font-size: 14px;
        line-height: 1.3;
        column-gap: 14px;
        column-count: 1;
    }

    .exhibicion-texto-sala__contenido {
        position: relative;
        max-height: 280px; /* Altura colapsada */
        overflow: hidden;
        transition: max-height 0.4s ease-out; /* Transición ágil al cerrar */
    }
    
    .exhibicion-texto-sala__contenido > p{
	    break-inside: auto;
    }
    
    .exhibicion-texto-sala__contenido::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 80px;
        background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
        pointer-events: none;
        transition: opacity 0.3s ease;
    }
    
    .exhibicion-texto-sala__contenido.expandido {
        max-height: 5000px; /* Altura suficiente para cualquier texto */
        transition: max-height 0.6s ease-in; /* Transición suave al abrir */
    }
    
    .exhibicion-texto-sala__contenido.expandido::after {
        opacity: 0;
    }
    
    .exhibicion-texto-sala__leer-mas {
        display: inline-block;
	    padding: 6px 10px;
	    background: #7C7C7C;
	    color: #fff;
	    font-family: 'ABC Oracle', sans-serif;
	    font-size: 12px;
	    letter-spacing: 1px;
	    text-decoration: none;
	    text-transform: uppercase;
	    transition: background 0.2s ease;
	    display: block;
        width: 100%;
        text-align: center;
        padding: 12px 10px;
        font-size: 13px;
        border:none;
        border-radius: 0px;
    }
    
    .exhibicion-texto-sala__leer-mas:hover, .exhibicion-texto-sala__leer-mas:visited {
        background: #7C7C7C;
        border-color: #7C7C7C;
        color: #fff;
    }
    
    .exhibicion-texto-sala__leer-mas .leer-mas__icono {
        display: inline-block;
        transition: transform 0.3s ease;
        font-size: 16px;
        line-height: 1;
    }
    
    .exhibicion-texto-sala__leer-mas.expandido .leer-mas__icono {
        transform: rotate(180deg);
    }
}

@media (min-width: 769px) {
    .exhibicion-texto-sala__leer-mas { display: none; }
    .exhibicion-texto-sala__contenido { max-height: none !important; }
    .exhibicion-texto-sala__contenido::after { display: none; }
}
/* ===== SECCIÓN OBRAS DE LA EXHIBICIÓN ===== */
.exhibicion-obras {
    width: 100%;
    padding: 80px 0;
}

.exhibicion-obras__container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}

.exhibicion-obras__label {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    display: none;
}

.exhibicion-obras__label span:first-child {
    font-family: 'Solae', serif;
    font-size: 30px;
    font-weight: 400;
    color: #000;
}

.exhibicion-obras__flecha {
    font-size: 30px;
    color: #000;
    font-family: 'Solae';
}

/* Grid de obras */
.exhibicion-obras__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    width: 100%;
}

.exhibicion-obra {
    display: flex;
    flex-direction: column;
}

.exhibicion-obra__imagen-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    cursor: none;
}

.exhibicion-obra__imagen {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: top;
    display: block;
    transition: transform 0.3s ease;
}

.exhibicion-obra__imagen-wrapper:hover .exhibicion-obra__imagen {
    transform: scale(1.02);
}

.exhibicion-obra__descripcion {
    font-family: 'ABC Oracle', sans-serif;
    margin-top: 12px;
    font-size: 12px;
    line-height: 1;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.exhibicion-obra__descripcion p{
	margin: 0 0 10px 0;
}

/* Tooltip */
.exhibicion-obra-tooltip {
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(255,255,255,.6);
    padding: 8px 10px;
    font-family: 'ABC Oracle', sans-serif;
    font-size: 11px;
    letter-spacing: 1px;
    font-weight: 500;
    color: #000;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 9999;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.exhibicion-obra-tooltip--visible {
    opacity: 1;
}

/* ===== MODAL/OVERLAY ===== */
.exhibicion-obra-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #fff;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    overflow: hidden;
}

.exhibicion-obra-modal--activo {
    opacity: 1;
    visibility: visible;
}

body.modal-open {
    overflow: hidden;
}

/* Barra superior */
.exhibicion-obra-modal__topbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 30px;
    z-index: 10;
}

.exhibicion-obra-modal__contador {
    font-family: 'ABC Oracle', sans-serif;
    font-size: 12px;
    letter-spacing: 1px;
    color: #000;
    text-transform: uppercase;
}

/* Botón cerrar */
.exhibicion-obra-modal__cerrar {
    position: absolute;
    top: 20px;
    right: 30px;
    background: none;
    border: 1px solid #000;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #000;
    transition: background 0.2s ease, color 0.2s ease;
    z-index: 10;
    padding: 0;
}

.exhibicion-obra-modal__cerrar:hover {
    background: #000;
    color: #fff;
}

.exhibicion-obra-modal__cerrar svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* Botones de navegación */
.exhibicion-obra-modal__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #e6e6e6;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #000;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
    z-index: 10;
    padding: 0;
}

.exhibicion-obra-modal__nav:hover {
    background: #000;
    color: #fff;
}

.exhibicion-obra-modal__nav--prev {
    left: 30px;
}

.exhibicion-obra-modal__nav--next {
    right: 30px;
}

.exhibicion-obra-modal__nav svg {
    width: 24px;
    height: 24px;
}

/* Imagen centrada */
.exhibicion-obra-modal__imagen-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 100px 100px 100px;
    overflow: hidden;
}

.exhibicion-obra-modal__imagen {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    transition: opacity 0.3s ease;
}

.exhibicion-obra-modal__imagen--cambiando {
    opacity: 0.3;
}
/* ===== AJUSTES PARA EL MODAL DE EXHIBICIÓN ===== */
.obra-modal__contador-exhibicion {
    position: absolute;
    left: 40px;
    top:30px;
    font-family: 'ABC Oracle', sans-serif;
    font-size: 12px;
    letter-spacing: 1px;
    color: #000;
    text-transform: uppercase;
    pointer-events: none;
}

/* Descripción abajo izquierda */
.exhibicion-obra-modal__descripcion {
    position: absolute;
    bottom: 20px;
    left: 30px;
    font-family: 'ABC Oracle', sans-serif;
    font-size: 12px;
    line-height: 1.4;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    max-width: 60%;
    z-index: 10;
}

.exhibicion-obra-modal__descripcion br {
    display: block;
    margin-bottom: 2px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .exhibicion-obras__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
	
    .exhibicion-obras {
        padding: 45px 15px;
    }
    
    .exhibicion-obras__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .exhibicion-obra__imagen-wrapper {
        cursor: pointer;
    }
    
    .exhibicion-obra-tooltip {
        display: none;
    }
    
    .exhibicion-obra-modal__imagen-container {
        padding: 80px 60px 100px 60px;
    }
    
    .exhibicion-obra-modal__nav {
        width: 40px;
        height: 40px;
    }
    
    .exhibicion-obra-modal__nav--prev {
        left: 15px;
    }
    
    .exhibicion-obra-modal__nav--next {
        right: 15px;
    }
    
    .exhibicion-obra-modal__descripcion {
        left: 20px;
        bottom: 15px;
        max-width: 80%;
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .exhibicion-obras__grid {
        grid-template-columns: 1fr;
    }
}
/* ===== SECCIÓN NOVEDADES RELACIONADAS ===== */
.exhibicion-novedades {
    width: 100%;
    padding: 80px 15px;
}

.exhibicion-novedades__container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 15px;
}

.exhibicion-novedades__label {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    display: none;
}

.exhibicion-novedades__label span:first-child {
    font-family: 'Solae', serif;
    font-size: 30px;
    font-weight: 400;
    color: #000;
}

.exhibicion-novedades__flecha {
    font-size: 30px;
    color: #000;
    font-family: 'Solae';
}

/* Grid de novedades */
.exhibicion-novedades__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px 30px;
    width: 100%;
}

/* Item de novedad */
.exhibicion-novedad-item {
    display: block;
    text-decoration: none;
    color: #000;
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.exhibicion-novedad-item__artista {
    font-family: 'Solae', serif;
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 400;
    color: #000;
    margin: 0;
    line-height: 1;
    letter-spacing: -1px;
    transition: filter 0.4s ease, opacity 0.4s ease;
    position: relative;
    z-index: 2;
}

.exhibicion-novedad-item__titulo {
    font-family: 'Solae', serif;
    font-size: clamp(16px, 1.8vw, 22px);
    font-weight: 400;
    color: #000;
    margin: 8px 0 0 0;
    line-height: 1.2;
    transition: filter 0.4s ease, opacity 0.4s ease;
    position: relative;
    z-index: 2;
}

/* Imagen de fondo (oculta por defecto) */
.exhibicion-novedad-item__imagen-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.exhibicion-novedad-item__imagen {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Efecto hover: blur en texto + muestra imagen */
.exhibicion-novedad-item:hover .exhibicion-novedad-item__artista,
.exhibicion-novedad-item:hover .exhibicion-novedad-item__titulo {
    filter: blur(3px);
    opacity: 0.5;
}

.exhibicion-novedad-item:hover .exhibicion-novedad-item__imagen-wrapper {
    opacity: 1;
    visibility: visible;
}

/* ===== SECCIÓN CIERRE ===== */
.exhibicion-cierre {
    width: 100%;
    padding: 0px 15px 90px 15px;
    text-align: center;
}

.exhibicion-cierre__titulo {
    font-family: 'ABC Oracle', sans-serif;
    font-weight: 700;
    color: #000;
    margin: 0;
    line-height: 1;
    letter-spacing: -2px;
}

.exhibicion-cierre__titulo--uno {
    font-size: clamp(60px, 10vw, 160px);
}

.exhibicion-cierre__titulo--dos {
    font-size: clamp(50px, 8vw, 130px);
}

.exhibicion-cierre__titulo--varios {
    font-size: clamp(40px, 6vw, 100px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .exhibicion-novedades__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px 20px;
    }
}

@media (max-width: 768px) {
    .exhibicion-novedades {
        padding: 60px 15px;
    }
    
    .exhibicion-novedades__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px 15px;
    }
    
    .exhibicion-novedad-item__artista {
        font-size: clamp(24px, 5vw, 32px);
    }
    
    .exhibicion-novedad-item__titulo {
        font-size: clamp(14px, 3vw, 18px);
    }
    
    .exhibicion-cierre {
        padding: 40px 15px 60px 15px;
    }
    
    .exhibicion-cierre__titulo--uno {
        font-size: clamp(40px, 12vw, 80px);
    }
    
    .exhibicion-cierre__titulo--dos {
        font-size: clamp(32px, 10vw, 70px);
    }
    
    .exhibicion-cierre__titulo--varios {
        font-size: clamp(24px, 8vw, 50px);
    }
}

@media (max-width: 480px) {
    .exhibicion-novedades__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}
/*página Ferias*/
/* ===== FERIAS - SIDEBAR DE AÑOS ===== */
.ferias-anos-sidebar {
    position: fixed;
    top: 143px;
    left: 12px;
    width: 72px;
    z-index: 90;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ferias-anos-sidebar__lista {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ferias-anos-sidebar__item {
    background: none;
    border: none;
    font-family: 'Solae', sans-serif;
    font-size: 30px;
    color: #7C7C7C;
    cursor: pointer;
    padding: 0;
    text-align: left;
    transition: color 0.3s ease;
    position: relative;
}

.ferias-anos-sidebar__item:hover,
.ferias-anos-sidebar__item--activo {
    color: #000;
}

.ferias-anos-sidebar__item--activo::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 1px;
    background: #000;
    display: none;
}

/* ===== FERIAS - CONTENEDOR PRINCIPAL ===== */
.ferias-page {
    width: 100%;
    padding: 0px 15px 300px 125px;
    box-sizing: border-box;
    position: relative;
}

.ferias-section {
	transform: translateY(15px);
    margin-bottom: 60px;
    scroll-margin-top: 150px;
    position: relative;
}

.ferias-section__year-title {
    position: absolute;
    top: 160px;
    pointer-events: none;
    text-align: center;
    width: 100%;
    font-family: 'Maria', sans-serif;
    font-weight: 100;
    font-size: clamp(60px, 14vw, 265px);
    line-height: .8;
    color: #000;
    margin: 0;
    text-align: center;
    z-index: 30;
    
    /* ESTADO INICIAL: Invisible */
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.ferias-section__year-title.is-visible {
    opacity: 1;
    transform: scale(1);
}

/* ===== FERIAS - GRID (Tus estilos originales) ===== */
.ferias-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px 40px;
    width: 100%;
    position: relative;
    z-index: 20;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .ferias-anos-sidebar {
        /*position: relative;
        top: 0;
        left: 0;
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 15px;
        margin-bottom: 40px;
        padding-left: 0;*/
    }
    
    .ferias-anos-sidebar__item {
        text-align: left;
        font-size: 18px;
    }
    
    .ferias-anos-sidebar__item--activo::before {
        display: none;
    }
    
    .ferias-anos-sidebar__item--activo {
        color: #000;
        text-decoration: underline;
    }
    
    #primary.ferias-page {
        /*padding: 190px 15px 100px 15px!important;*/
    }
    
    .ferias-grid {
        /*grid-template-columns: 1fr;
        gap: 40px;*/
    }
    
    .ferias-section__year-title {
        /*position: relative;
        top: 0;
        margin-bottom: 40px;
        font-size: clamp(40px, 10vw, 120px);*/
    }
}

/* ===== ITEM FERIA ===== */
.feria-item {
    display: flex;
    flex-direction: row;
    gap: 20px;
    cursor: pointer;
    transition: transform 0.3s ease;
    width: 100%;
    min-width: 0;
    text-decoration: none;
    color: inherit;
}

.feria-item:hover {
    transform: translateX(10px);
}

.feria-item__contenido {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
    flex: 2;
    min-width: 0;
}

.feria-item__texto {
    flex: 1;
    min-width: 0;
}

.feria-item__titulo {
    font-family: 'Solae', sans-serif;
    font-size: clamp(28px, 3vw, 30px);
    font-weight: 400;
    color: #000;
    margin: 0 0 8px 0;
    line-height: 0.8;
    position: relative;
    top: 7px;
    word-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}

.feria-item__fecha {
    font-family: 'ABC Oracle', sans-serif;
    font-weight: lighter;
    font-size: 10px;
    line-height: 1.2;
    color: #000;
    margin: 0;
    text-transform: uppercase;
    word-wrap: break-word;
    word-break: break-word;
}

.feria-item__arrow {
    font-family: 'Solae', sans-serif;
    font-size: 32px;
    color: #000;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.feria-item:hover .feria-item__arrow {
    transform: translateX(10px);
}

.feria-item__imagen {
    flex: 3;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f5f5f5;
    min-width: 0;
}

.feria-item__imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

/* ===== LOADING ===== */
.ferias-loading {
    padding: 40px;
    text-align: center;
}

.ferias-loading__spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #f0f0f0;
    border-top-color: #000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== SENTINEL ===== */
.ferias-sentinel {
    height: 100px;
    margin-bottom: 40px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .ferias-grid {
        /*grid-template-columns: 1fr;
        gap: 40px;*/
    }
    
    .ferias-filtros__contenido {
        /*flex-direction: column;
        align-items: flex-start;
        gap: 15px;*/
    }
    .feria-item {
	    /*display: block;*/
	}
		
}

@media (max-width: 768px) {
	#primary.ferias-page {
        padding: 190px 15px 100px 15px!important;
    }
	.ferias-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
	.ferias-filtros__contenido {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .feria-item {
	    display: block;
        flex-direction: column;
        gap: 15px;
    }
    
    .feria-item__contenido,
    .feria-item__imagen {
        width: 100%;
        margin-bottom: 0px;
    }
    
    .feria-item__arrow {
        align-self: flex-end;
    }
}
/*single feria*/
.single-feria #primary.site-main{
	padding-top: var(--header-height, 130px); 
    position: relative;
    padding-bottom: 300px;
}
.single-feria header.site-header{
    z-index: 1;
    /*position: relative;*/
}
.single-feria #menu-item-45 a{
	color: #000;
}

/* ===== HEROFERIA ===== */
.feria-hero {
    position: relative;
    width: 100%;
    height: calc(100vh - 15px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
}

.feria-hero__titulo {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    text-align: center;
    font-family: 'ABC Oracle', sans-serif;
    font-weight: 700;
    color: #000;
    margin: 0;
    pointer-events: none;
    z-index: 10;
    line-height: 1;
    letter-spacing: -2px;
    font-size: clamp(60px, 10vw, 160px);
    opacity: 1;
    transition: opacity 1.2s ease; /* Un poco más de tiempo para que sea elegante */
}
.feria-hero__titulo--oculto {
    opacity: 0;
}

.feria-hero__swiper-main {
    flex: 1;
    width: 100%;
    height: 100%;
}

.feria-hero__slide {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    cursor: none;
}

.feria-hero__imagen {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.6s ease;
}

.feria-hero__slide:hover .feria-hero__imagen {
    transform: scale(1.02);
}

.feria-hero__swiper-thumbs {
    width: 100%;
    height: 90px;
    background: #fff;
    flex-shrink: 0;
}

.feria-hero__swiper-thumbs .swiper-wrapper {
    display: flex;
    align-items: center;
}

.feria-hero__thumb {
    width: 120px !important;
    height: 80px !important;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s ease;
    margin: 0 1.5px;
}
.feria-hero__thumb:first-child{
	margin-left: 0px;
}

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

.feria-hero__thumb:hover {
    opacity: 0.8;
}

.feria-hero__thumb.swiper-slide-thumb-active {
    opacity: 1;
}

.feria-hero-tooltip {
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.95);
    padding: 12px 24px;
    font-family: 'ABC Oracle', sans-serif;
    font-size: 11px;
    letter-spacing: 1px;
    font-weight: 500;
    color: #000;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 9999;
    white-space: nowrap;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    transform: translate(-50%, -50%);
}

.feria-hero-tooltip--visible {
    opacity: 1;
}

/* ===== SECCIÓN OBRAS ===== */
.feria-obras {
    width: 100%;
    padding: 80px 0px;
}

.feria-obras__container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0px;
}

.feria-obras__label {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    display: none;
}

.feria-obras__label span:first-child {
    font-family: 'Solae', serif;
    font-size: 30px;
    font-weight: 400;
    color: #000;
}

.feria-obras__flecha {
    font-size: 30px;
    color: #000;
    font-family: 'Solae';
}

.feria-obras__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    width: 100%;
}

.feria-obra {
    display: flex;
    flex-direction: column;
}

.feria-obra__imagen-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    cursor: none;
    /* La altura se define dinámicamente por JS */
}

.feria-obra__imagen {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: top;
    display: block;
    transition: transform 0.3s ease;
}

.feria-obra__imagen-wrapper:hover .feria-obra__imagen {
    transform: scale(1.02);
}

.feria-obra__descripcion {
    font-family: 'ABC Oracle', sans-serif;
    margin-top: 12px;
    font-size: 12px;
    line-height: 1;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.feria-obra__descripcion p{
	margin: 0 0 10px 0;
}

.feria-obra-tooltip {
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(255,255,255,.6);
    padding: 8px 10px;
    font-family: 'ABC Oracle', sans-serif;
    font-size: 11px;
    letter-spacing: 1px;
    font-weight: 500;
    color: #000;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 9999;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.feria-obra-tooltip--visible {
    opacity: 1;
}

/* ===== MODAL OBRAS ===== */
.feria-obra-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #fff;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    overflow: hidden;
}

.feria-obra-modal--activo {
    opacity: 1;
    visibility: visible;
}

body.modal-open {
    overflow: hidden;
}

.feria-obra-modal__topbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 30px;
    z-index: 10;
}

.feria-obra-modal__contador {
    font-family: 'ABC Oracle', sans-serif;
    font-size: 12px;
    letter-spacing: 1px;
    color: #000;
    text-transform: uppercase;
}

.feria-obra-modal__cerrar {
    position: absolute;
    top: 20px;
    right: 30px;
    background: none;
    border: 1px solid #000;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #000;
    transition: background 0.2s ease, color 0.2s ease;
    z-index: 10;
    padding: 0;
}

.feria-obra-modal__cerrar:hover {
    background: #000;
    color: #fff;
}

.feria-obra-modal__cerrar svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.feria-obra-modal__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #e6e6e6;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #000;
    transition: background 0.2s ease, color 0.2s ease;
    z-index: 10;
    padding: 0;
}

.feria-obra-modal__nav:hover {
    background: #000;
    color: #fff;
}

.feria-obra-modal__nav--prev {
    left: 30px;
}

.feria-obra-modal__nav--next {
    right: 30px;
}

.feria-obra-modal__nav svg {
    width: 24px;
    height: 24px;
}

.feria-obra-modal__imagen-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 100px 100px 100px;
    overflow: hidden;
}

.feria-obra-modal__imagen {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    transition: opacity 0.3s ease;
}

.feria-obra-modal__imagen--cambiando {
    opacity: 0.3;
}

.feria-obra-modal__descripcion {
    position: absolute;
    bottom: 20px;
    left: 30px;
    font-family: 'ABC Oracle', sans-serif;
    font-size: 12px;
    line-height: 1.4;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    max-width: 60%;
    z-index: 10;
}

.feria-obra-modal__descripcion br {
    display: block;
    margin-bottom: 2px;
}
/* ===== AJUSTES PARA EL MODAL DE FERIA (Reutilizando clases de artista) ===== */
.obra-modal__contador-feria {
    position: absolute;
    top:20px;
    left: 40px;
    transform: translateX(-50%);
    font-family: 'ABC Oracle', sans-serif;
    font-size: 12px;
    letter-spacing: 1px;
    color: #000;
    text-transform: uppercase;
    pointer-events: none;
}

/* ===== SECCIÓN ARTISTAS ===== */
.feria-artistas {
    width: 100%;
    padding: 80px 120px 80px 120px;
    display: none;
}

.feria-artistas__container {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.feria-artistas__label {
    display: flex;
    align-items: center;
    gap: 20px;
    min-width: 220px;
    flex-shrink: 0;
    justify-content: space-between;
}

.feria-artistas__label span:first-child {
    font-family: 'Solae', serif;
    font-size: 30px;
    font-weight: 400;
    color: #000;
}

.feria-artistas__flecha {
    font-size: 30px;
    color: #000;
    font-family: 'Solae';
}

.feria-artistas__nombres {
    flex: 1;
    font-family: 'Solae', serif;
    font-size: clamp(50px, 3vw, 90px);
    font-weight: 400;
    color: #000;
    line-height: .8;
    letter-spacing: -3px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .feria-obras__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .feria-hero {
        height: calc(60vh - 100px);
    }
    
    .feria-hero__swiper-thumbs {
        height: 70px;
    }
    
    .feria-hero__thumb {
        width: 90px !important;
        height: 60px !important;
    }
    
    .feria-artistas {
        padding: 60px 30px;
    }
    
    .feria-artistas__container {
        flex-direction: column;
        gap: 30px;
    }

    .feria-artistas__label {
        min-width: auto;
    }
}

@media (max-width: 768px) {
	.obra-modal__contador-exhibicion, .obra-modal__contador-feria{
		position: fixed;
		left: inherit;
	    right: 17px;
	    top: inherit;
	    bottom: 30px;
	    font-family: 'ABC Oracle', sans-serif;
	    font-size: 12px;
	    letter-spacing: 1px;
	    color: #000;
	    text-transform: uppercase;
	    pointer-events: none;
	    text-align: center;
	}
    .feria-hero {
        height: calc(50vh - 80px);
    }
    
    .feria-hero__slide {
        cursor: default;
    }
    
    .feria-hero-tooltip {
        display: none;
    }
    
    .feria-hero__swiper-thumbs {
        height: 60px;
    }
    
    .feria-hero__thumb {
        width: 70px !important;
        height: 50px !important;
        margin: 0 3px;
    }
    
    .feria-hero__titulo {
        font-size: clamp(40px, 12vw, 80px);
    }
    
    .feria-obras {
        padding: 60px 15px;
    }
    
    .feria-obras__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .feria-obra__imagen-wrapper {
        cursor: pointer;
    }
    
    .feria-obra-tooltip {
        display: none;
    }
    
    .feria-obra-modal__imagen-container {
        padding: 80px 60px 100px 60px;
    }
    
    .feria-obra-modal__nav {
        width: 40px;
        height: 40px;
    }
    
    .feria-obra-modal__nav--prev {
        left: 15px;
    }
    
    .feria-obra-modal__nav--next {
        right: 15px;
    }
    
    .feria-obra-modal__descripcion {
        left: 20px;
        bottom: 15px;
        max-width: 80%;
        font-size: 11px;
    }
    
    .feria-artistas {
        padding: 40px 20px;
    }
    
    .feria-artistas__nombres {
        font-size: clamp(32px, 10vw, 60px);
    }
}

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

/*general fix responsive*/

/* ELIMINAR los media queries de 1921px, 1681px, 1441px, 1368px para el menú */
.main-navigation{
	padding-left: 15px;
}
/* Tipografía fluida que se ajusta CONTINUAMENTE */
#site-navigation.main-navigation li{
	padding: 0;
}
#site-navigation.main-navigation a {
    font-family: 'Solae';
    color: #7C7C7C;
    /* Se ajusta de 60px (en 1920px) a 32px (en 768px) SIN saltos */
    font-size: clamp(32px, 3.7vw, 80px);
    line-height: .8;
    transition: color 0.3s ease;
    letter-spacing: -1px;
    white-space: nowrap; /* NUNCA partir palabras */
}

/* Ajuste específico para "English" */
#site-navigation.main-navigation li.lang-item{
	position: absolute;
	bottom: -5px;
    right: -60px;
}
#site-navigation.main-navigation li.lang-item a {
    font-family: 'ABC Oracle';
    font-style: normal;
    font-size: clamp(10px, 0.8vw, 12px); /* También fluido */
    text-transform: uppercase;
    letter-spacing: normal;
    position: relative;
    padding-left: 0px;
    color: #000;
}

/* Contenedor forzado a 1 línea */
#site-navigation.main-navigation ul#primary-menu {
    display: flex;
    flex-wrap: nowrap !important;
    width: 100%;
    max-width: calc(100vw - 450px);
    overflow: visible;
    justify-content: space-between;
}

#site-navigation.main-navigation li {
    flex-shrink: 1;
    white-space: nowrap;
}


@media only screen and (max-width: 1921px) {
	/*#site-navigation.main-navigation a{
		font-size: 76px;
		margin-top: -3px;
	}
	.artistas-submenu{
		gap: 0 30px;
	}
	#site-navigation.main-navigation .artistas-submenu a.artista-link {
	    color: #000;
	    text-decoration: none;
	    font-size: 34px;
	    line-height: .8;
	    transition: color 0.3s ease;
	}
	#site-navigation.main-navigation li.lang-item {
	    padding-bottom: 11px;
	}*/
}
@media only screen and (max-width: 1681px) {
	/*#site-navigation.main-navigation a{
		font-size: 64px;
		margin-top: 0px;
	}
	.home #site-navigation.main-navigation ul ul a, #site-navigation.main-navigation ul ul a{
		font-size: 9px;
	}
	.artistas-submenu{
		gap: 0 25px;
	}
	#site-navigation.main-navigation .artistas-submenu a.artista-link {
	    color: #000;
	    text-decoration: none;
	    font-size: 30px;
	    line-height: .9;
	    transition: color 0.3s ease;
	}
	#site-navigation.main-navigation li.lang-item {
	    padding-bottom: 10px;
	}*/
}
@media only screen and (max-width: 1441px) {
	/*#site-navigation.main-navigation a{
		font-size: 50px;
		margin-top: 0px;
		padding-top: 3px;
	}
	.artistas-submenu{
		gap: 0 20px;
	}
	#site-navigation.main-navigation .artistas-submenu a.artista-link {
	    color: #000;
	    text-decoration: none;
	    font-size: 26px;
	    line-height: .8;
	    transition: color 0.3s ease;
	}
	#site-navigation.main-navigation li.lang-item {
	    padding-bottom: 7px;
	}*/
}
@media only screen and (max-width: 1368px) {
	/*#site-navigation.main-navigation a{
		font-size: 46px;
		margin-top: 0px;
		padding-top: 4px;
	}
	.home #site-navigation.main-navigation ul ul a, #site-navigation.main-navigation ul ul a{
		font-size: 27px;
		line-height: 18px;
	}
	.artistas-submenu{
		gap: 0 15px;
	}
	#site-navigation.main-navigation .artistas-submenu a.artista-link {
	    color: #000;
	    text-decoration: none;
	    font-size: 26px;
	    line-height: .8;
	    transition: color 0.3s ease;
	}
	#site-navigation.main-navigation li.lang-item {
	    padding-bottom: 7px;
	}*/	

	.artista-bio__contenido p {
	    font-size: 18px;
	    line-height: 22px;
	}
	footer.site-footer .first{
		zoom: .7;
	}
	footer.site-footer .second{
		zoom: .7;
	}
	footer.site-footer img {
	    width: 226px;
	}
}


/* ============================================
   MENÚ MOBILE - PROTOTIPO
   ============================================ */

/* Header mobile flotante */
.mobile-header {
    z-index: 10;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.4);
    width: calc(100% - 24px);
    height: 170px;
    transition: top 0.5s cubic-bezier(0.76, 0, 0.24, 1),
                left 0.5s cubic-bezier(0.76, 0, 0.24, 1),
                width 0.5s cubic-bezier(0.76, 0, 0.24, 1),
                height 0.65s cubic-bezier(0.76, 0, 0.24, 1),
                box-shadow 0.35s;
    position: fixed;
    top: 12px;
    left: 12px;
    overflow: hidden;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.18);
    display: none; /* Oculto por defecto, se muestra en mobile */
}

/* Ocultar menú desktop en mobile */
@media (max-width: 768px) {
    #site-navigation.main-navigation {
        display: none !important;
    }
    
    .site-branding {
        display: none; /* Ocultar branding desktop cuando está el mobile */
    }
    .right-space{
		display: none;
	}
}

/* Ajustes específicos del menú mobile */
.mobile-header .brand img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.mobile-header.is-open .brand {
    height: clamp(220px, 34dvh, 300px);
    padding: 48px 14px 18px;
}

.mobile-header.is-open .menu-content {
    top: clamp(220px, 34dvh, 300px);
    overflow-y: auto;
    max-height: calc(100vh - 250px);
}

/* Navegación mobile */
.mobile-header .menu-content nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-header .menu-content nav ul li {
    margin-bottom: 15px;
}

.mobile-header .menu-content nav ul li a {
    font-family: 'Solae', sans-serif;
    font-size: clamp(32px, 8vw, 48px);
    color: #000;
    text-decoration: none;
    display: block;
    line-height: 1.1;
}

/* Brand/Logo */
.brand {
    cursor: pointer;
    background: 0 0;
    border: 0;
    width: 100%;
    height: 126px;
    padding: 13px 13px 11px;
    display: block;
}

.brand img {
    object-fit: fill;
    width: 100%;
    height: 100%;
    display: block;
}

/* Controles cerrados */
.closed-controls {
    border-top: 1px solid var(--ink, #050505);
    justify-content: space-between;
    align-items: center;
    height: 44px;
    margin: 0 13px;
    display: flex;
}
.closed-controls h1{
    background: 0 0;
    border: 0;
    padding: 0;
    font-size: 16px;
    text-decoration: none;
    color: #000;
    font-family: 'Solae', sans-serif;
}

.closed-controls button,
.closed-controls a,
.close-button,
.menu-footer a {
    cursor: pointer;
    background: 0 0;
    border: 0;
    padding: 0;
    font-size: 16px;
    text-decoration: none;
    color: #000;
    font-family: 'Solae', sans-serif;
}

.close-button,
.menu-content,
.menu-footer {
    visibility: hidden;
    opacity: 0;
}

.close-button {
    z-index: 3;
    position: absolute;
    top: 13px;
    right: 14px;
    font-family: 'Solae', sans-serif;
    font-size: 16px;
}

/* Contenido del menú */
.menu-content {
    padding: 7px 14px 88px;
    position: absolute;
    top: 126px;
    left: 0;
    right: 0;
    overflow-y: auto;
    max-height: calc(100vh - 200px);
}

.menu-label {
    color: #8b8b8b;
    margin: 0 0 11px;
    font-size: 14px;
    font-family: 'Solae', sans-serif;
}

.menu-content nav {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    display: flex;
}

/* Items del menú */
.nav-item {
    opacity: 0;
    width: 100%;
    transform: translateY(18px);
}

.nav-trigger,
.nav-link {
    width: 100%;
    color: #000;
    letter-spacing: -0.045em;
    cursor: pointer;
    text-align: left;
    background: 0 0;
    border: 0;
    justify-content: space-between;
    align-items: baseline;
    padding: 0;
    font-family: 'Solae', sans-serif;
    font-size: clamp(43px, 13.1vw, 62px);
    font-weight: 400;
    line-height: 0.91;
    text-decoration: none;
    display: flex;
}

.nav-mark {
    letter-spacing: 0;
    margin-left: 12px;
    font-family: 'Solae', sans-serif;
    font-size: 25px;
    font-weight: 300;
    position: relative;
    top: -5px;
}

.nav-trigger:focus-visible,
.nav-link:focus-visible,
.nav-trigger:hover,
.nav-link:hover {
    color: #666;
    outline: none;
}

/* Submenús */
.submenu {
    visibility: hidden;
    opacity: 0;
    /*border-bottom: 0 solid rgba(0, 0, 0, 0.04);*/
    max-height: 0;
    transition: max-height 0.55s cubic-bezier(0.76, 0, 0.24, 1),
                opacity 0.25s,
                border-width 0.25s;
    overflow: hidden;
}

.submenu a,
.submenu button {
    width: 100%;
    color: #000;
    letter-spacing: -0.025em;
    text-align: left;
    cursor: pointer;
    background: 0 0;
    border: 0;
    /*border-top: 1px solid rgba(0, 0, 0, 0.3);*/
    justify-content: space-between;
    align-items: baseline;
    gap: 18px;
    padding: 7px 1px;
    font-family: 'Solae', sans-serif;
    font-size: 30px;
    font-weight: 400;
    line-height: .8;
    text-decoration: none;
    display: flex;
}

.submenu a small {
    color: #555;
    text-align: right;
    text-transform: uppercase;
    max-width: 42%;
    font-family: 'Solae', sans-serif;
    font-size: 13px;
    line-height: 1.15;
}

.submenu .submenu-all {
    color: #555;
    text-transform: none;
    justify-content: space-between;
    padding: 9px 1px 11px;
    font-size: 30px;
}
.submenu .submenu-all span{
	top: 2px;
    position: relative;
}

.nav-item.is-expanded .submenu {
    visibility: visible;
    opacity: 1;
    border-bottom-width: 1px;
    max-height: 720px;
    margin: 8px 0 13px;
}

/* Footer del menú */
.menu-footer {
    right: 14px;
    bottom: max(15px, env(safe-area-inset-bottom));
    position: absolute;
}

.menu-footer a {
    border: 1px solid #000;
    text-transform: uppercase;
    justify-content: space-between;
    align-items: center;
    min-width: 114px;
    padding: 12px 13px;
    font-size: 12px;
    display: flex;
    font-family: 'Solae', sans-serif;
}

/* Estado abierto */
.mobile-header.is-open {
    width: 100%;
    height: 100dvh;
    box-shadow: none;
    top: -12px;
    left: 0;
    overflow-y: auto;
}

.mobile-header.is-open .brand {
    height: clamp(220px, 34dvh, 300px);
    padding: 48px 14px 18px;
}

.mobile-header.is-open .closed-controls {
    display: none;
}

.mobile-header.is-open .menu-content {
    top: clamp(220px, 34dvh, 300px);
}

.mobile-header.is-open .close-button,
.mobile-header.is-open .menu-content,
.mobile-header.is-open .menu-footer {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.25s 0.38s;
}

.mobile-header.is-open .nav-item {
    animation: 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards reveal;
    animation-delay: calc(0.28s + var(--item) * 55ms);
}

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

/* Ocultar menú desktop en mobile */
@media (max-width: 768px) {
    .mobile-header {
        display: block;
        position: absolute;
    }
    
    #site-navigation.main-navigation {
        display: none;
    }
    
    .site-branding {
        display: none;
    }
}

/* Ajustes para desktop */
@media (min-width: 769px) {
    .mobile-header {
        display: none !important;
    }
}

/* ============================================
   VISTA MOBILE INICIO - PROTOTIPO
   ============================================ */

@media (max-width: 768px) {
    /* Home view con imagen hero */
    .home-view {
        background: #ddd;
        position: relative;
        width: 100%;
        min-height: 100dvh;
    }

    .hero-image {
        object-fit: cover;
        object-position: 53% center;
        filter: saturate(0.84) brightness(0.86);
        width: 100%;
        height: 100dvh;
    }

    .home-view:after {
        content: "";
        background: linear-gradient(#0000, #000000b8);
        position: absolute;
        inset: 45% 0 0;
    }

    .exhibition-copy {
        z-index: 1;
        color: #fff;
        position: absolute;
        bottom: 22px;
        left: 15px;
        right: 15px;
    }

    .exhibition-copy p,
    .exhibition-copy h1,
    .exhibition-copy h2,
    .exhibition-copy span {
        margin: 0;
    }

    .exhibition-copy p,
    .exhibition-copy span {
        text-transform: uppercase;
        font-size: 12px;
        line-height: 1.15;
        font-family: 'ABC Oracle', sans-serif;
    }

    .exhibition-copy h1,
    .exhibition-copy h2 {
        letter-spacing: -0.045em;
        font-family: 'Solae', sans-serif;
        font-weight: 400;
        line-height: 0.88;
    }

    .exhibition-copy h1 {
        margin-top: 8px;
        font-size: clamp(45px, 13.5vw, 64px);
    }

    .exhibition-copy h2 {
        color: #d6d6d6;
        margin-bottom: 14px;
        font-size: clamp(36px, 10.5vw, 50px);
    }

    /* Ajustes para el contenido existente en mobile */
    #primary {
        padding-top: 200px;
    }

    .home #exhibiciones h2 {
        font-size: 28px;
        left: 15px;
    }

    .home #exhibiciones .arrow {
        left: 200px;
        font-size: 28px;
    }

    .swiper-content .card {
        flex-direction: column;
        box-shadow: none;
    }

    .card-body {
        width: 100%;
        padding: 15px 0 0 0;
    }

    .card-body h5 {
        width: 100%;
        font-size: 28px;
        line-height: 1.1;
        margin-top: 0;
    }

    .card-body p {
        font-size: 13px;
        line-height: 1.4;
        margin-top: 8px;
    }

    .card-img {
        padding-left: 0;
        padding-right: 0;
        height: 50vh;
        width: 100%;
        margin-top: 15px;
    }

    /* Newsletter mobile */
    #newsletter {
        flex-direction: column;
        align-items: flex-start;
        padding: 40px 15px;
        position: relative;
    }
    .home #newsletter{
	    display: none;
    }

    .n1 h4 {
        font-size: 36px;
        line-height: 1;
        width: 100%;
        margin-bottom: 25px;
    }

    .n2 {
        width: 100%;
        padding-left: 0;
    }

    .piedras-newsletter input[type="text"],
    .piedras-newsletter input[type="email"] {
        width: 100%;
        max-width: 100%;
        margin-bottom: 15px;
        font-size: 14px;
    }

    .piedras-newsletter .wpcf7-submit {
        width: 100%;
        padding: 12px;
        font-size: 12px;
    }

    /* Footer mobile */
    footer.site-footer .site-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
        padding: 25px 15px;
    }

    footer.site-footer .first,
    footer.site-footer .second,
    footer.site-footer .third {
        padding: 0;
        zoom: 1;
    }

    footer.site-footer .site-info h4 {
        font-size: 28px;
    }

    footer.site-footer .site-info p {
        font-size: 12px;
        line-height: 1.5;
    }

    footer.site-footer img {
        width: 140px;
    }
}
@media (max-width: 1032px){
	.site-branding{
		width: 200px;
	}
	.site-branding .custom-logo-link, .site-branding img {
	    width: 200px;
	}
	#site-navigation.main-navigation ul#primary-menu{
		width: 100%;
		max-width: 100%;
	}
	#site-navigation.main-navigation a {
        margin-top: 0px;
        padding-top: 4px;
    }
    #primary {
	    padding-top: 65px;
	}
	.piedras-newsletter input[type="text"], .piedras-newsletter input[type="email"]{
		width: 220px;
	}
	.single .site-main {
	    /*padding: 114px 15px 260px 15px !important;*/
	}
	.single-artista #hero {
	    height: calc(50vh - 132px);
	}
	.artista-bio__espacio {
	    width: 200px;
	}
	.artista-bio__container {
	    min-height: auto;
	}
	.exhibiciones-filtros, .exhibiciones-header-nav {
	    top: 0;
        left: 0;
        width: 100%;
	}
	.exhibiciones-filtros__item, .exhibiciones-header-nav__item {
	    font-size: 20px;
	}
	.feria-item__titulo{
		font-size: 20px;
	}
	.ferias-anos-sidebar__item, .exhibiciones-anos-sidebar__item{
		font-size: 20px;
	}
	#site-navigation.main-navigation .header-anchor-menu a {
		font-size: 20px;
	}
	#site-navigation.main-navigation .artistas-submenu a.artista-link{
		font-size: 20px;
	}
	.novedades-page__grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
    }
    .novedad-item__titulo span{
		font-size: 37px;
	}
    .info-hero {
	    height: calc(50vh - 117px);
	}
    .info-historia__contenido {
	    column-count: 1;
	}
	.info-staff {
	    padding: 80px 15px 0px 75px;
	}
	.piedras-newsletter input[type="text"], .piedras-newsletter input[type="email"] {
	    width: 220px;
	}
}
	
/* Swiper en mobile - Vista full screen */
@media (max-width: 768px) {
	.home header.site-header{
		position: fixed;
	}
	header.site-header{
		padding-top: 12px;
		padding-bottom: 0px;
		backdrop-filter: unset !important;
	}
	#primary{
		padding-top: 0px;
	}
	.home {
		margin: 0;
	}
	.home .entry-content{
		margin-top: 0;
	}
	.home .post, .home .page{
		margin: 0;
	}
    .home #exhibiciones {
        position: relative;
        padding: 0;
        margin: 0;
        overflow: hidden;
    }
    .home #exhibiciones h2.desktop{
		display: none;
	}
    .home #exhibiciones h2 {
        position: relative;
        top: inherit;
        bottom: 0;
        left: 0px;
        font-size: 12px;
        z-index: 10;
        color: #fff;
        text-transform: uppercase;
    }
    .home #exhibiciones .arrow {
        display: none; /* Ocultar flecha en mobile */
    }
    
    .swiper-container {
        width: 100%;
        padding: 0;
    }
    
    .home .swiper-slide {
        width: 100% !important;
        margin: 0!important;
    }
    
    .home .swiper-content {
        padding: 0;
        width: 100%;
    }
    
    .home .swiper-content .card {
        display: flex;
        flex-direction: column;
        width: 100%;
        height: 100vh;
        box-shadow: none;
    }
    
    .card-body {
        padding: 15px;
        position: absolute;
        bottom: 45px;
        left: 0;
        z-index: 10;
        width: fit-content;
    }
    
    .card-body h5 {
        width: 100%;
        font-size: 11vw;
        line-height: .8;
        margin: 10px 0 10px 0;
        color: white;
    }
    
    .card-body p {
        font-size: 13px;
        line-height: 1.4;
        margin: 0 0 10px 0;
        color: white;
    }
    
    /* OCULTAR LOGO DECORATIVO EN MOBILE */
    .card-body .logo {
        display: none;
    }
    
    .card-img {
        width: 100%;
        height: 100vh;
        padding: 0;
        margin: 0;
    }
    
    .card-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
    
    /* Newsletter ajustado */
    #newsletter {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.95);
        padding: 15px;
        z-index: 100;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .n1 h4 {
        width: 100%;
        font-size: clamp(28px, 8vw, 36px);
        margin-bottom: 10px;
    }
    .single .n1 h4{
	    font-size: 28px;
	    padding-left: 15px;
	    padding-bottom: 5px;
    }
    
    .n2 {
        width: 100%;
        padding-left: 0;
    }
    .single .n2{
	    padding-left: 15px;
    }
    .single-artista #newsletter, .single-exhibicion #newsletter{
	    padding-bottom: 0px;
    }
    .piedras-newsletter {
        flex-direction: column;
        width: 100%;
    }
    .piedras-newsletter .button p {
	    margin-bottom: 5px;
	    display: block;
	}
	.piedras-newsletter p {
	    align-items: center;
	    display: block;
	}
    
    .piedras-newsletter .left,
    .piedras-newsletter .right {
        width: 100%;
        padding-left: 0;
    }
    
    .piedras-newsletter input[type="text"],
    .piedras-newsletter input[type="email"] {
        width: 100%;
        max-width: 100%;
        margin-bottom: 10px;
    }
    
    .piedras-newsletter .wpcf7-submit {
        width: 100%;
        margin-top: 10px;
    }
    
    .piedras-newsletter .consent {
        font-size: 10px;
        line-height: 1.3;
        margin-top: 10px;
        width: 100%;
    }
    .piedras-newsletter p.consent{
	    width: 100%;
    }
    footer.site-footer .site-info h4{
	    font-size: 24px;
    }
    footer.site-footer .site-info .ig{
	    font-size: 24px;
    }
    footer.site-footer .second .contact, footer.site-footer .second .phone{
	    font-size: 24px;
    }
	.single .site-main {
	    padding: 0px 15px 60px 15px !important;
	}
	.exhibicion-cierre {
        padding: 3px 15px 30px 15px;
    }
		
}

/* Asegurar que el mobile header esté siempre visible en mobile */
@media (max-width: 768px) {
    .mobile-header {
        position: relative;
        top: 0px;
        left: 12px;
        right: 12px;
        z-index: 1000;
    }
    
    #primary {
        padding-top: 0; /* Quitar padding porque el contenido es full screen */
    }
    .swiper-button-prev, .swiper-button-next{
		display: none;
	}
	#primary.exhibiciones-page {
        padding-top: 190px !important;
    }
	.exhibiciones-anos-sidebar, .ferias-anos-sidebar {
        display: none !important;
    }
}

/* ============================================
OVERLAY DE AÑOS (MOBILE) - Exhibiciones y Ferias
============================================ */
.anos-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    background: #ffffff;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    padding: 0px 30px 40px;
    overflow-y: auto;
}

.anos-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

/* Botón cerrar (X) */
.anos-overlay__close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: 1px solid #000;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #000;
    padding: 0;
    transition: background 0.2s ease, color 0.2s ease;
    z-index: 10;
}

.anos-overlay__close:hover {
    background: #000;
    color: #fff;
}

.anos-overlay__close svg {
    width: 16px;
    height: 16px;
}

/* Título contextual */
.anos-overlay__title {
    font-family: 'Solae', sans-serif;
    font-size: clamp(32px, 8vw, 48px);
    font-weight: 400;
    color: #000;
    margin: 0 0 40px 0;
    text-align: center;
    line-height: 1;
    letter-spacing: -0.5px;
}

/* Lista de años */
.anos-overlay__lista {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 100%;
}

.anos-overlay__item {
    font-family: 'Solae', sans-serif;
    font-size: 28px;
    font-weight: 400;
    color: #7C7C7C;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 12px;
    line-height: 1;
    transition: color 0.25s ease, transform 0.25s ease;
    letter-spacing: -1px;
}

.anos-overlay__item:hover,
.anos-overlay__item--activo {
    color: #000;
    transform: scale(1.05);
}

/* ============================================
BREAKPOINTS UNIFICADOS (mismo corte: 992px)
============================================ */

/* Mobile/Tablet (≤992px): 
   - Sidebar lateral se oculta
   - Overlay está disponible */
@media (max-width: 992px) {
    .exhibiciones-anos-sidebar,
    .ferias-anos-sidebar {
        /*display: none !important;*/
    }
}

/* Desktop (>992px): 
   - Sidebar lateral funciona normal
   - Overlay se oculta completamente */
@media (min-width: 993px) {
    .anos-overlay {
        display: none !important;
    }
}
/* ============================================
   OVERLAY DE ESPACIOS (MOBILE) - Exhibiciones
   ============================================ */

/* Botón "+" al lado del título */
.open-espacios-overlay {
  background: none;
  border: none;
  font-family: 'Solae', sans-serif;
  font-size: inherit;
  color: #000;
  cursor: pointer;
  padding: 0;
  margin-left: 4px;
  line-height: 1;
  vertical-align: baseline;
  transition: opacity 0.2s ease;
}
.open-espacios-overlay:hover {
  opacity: 0.5;
}

/* Overlay fullscreen */
.espacios-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  background: #ffffff;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.espacios-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

/* Botón cerrar */
.espacios-overlay__close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 32px;
  color: #000;
  cursor: pointer;
  padding: 10px;
  line-height: 1;
  font-family: 'Solae', sans-serif;
}

/* Nav de espacios */
.espacios-overlay__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

/* Cada botón de espacio */
.espacios-overlay__item {
  background: none;
  border: none;
  font-family: 'Solae', sans-serif;
  font-size: clamp(24px, 5vw, 36px);
  color: #7C7C7C;
  cursor: pointer;
  padding: 8px 0;
  transition: color 0.3s ease;
  text-align: center;
}
.espacios-overlay__item:hover,
.espacios-overlay__item--activo {
  color: #000;
}

/* Solo visible en mobile */
@media (min-width: 769px) {
  .open-espacios-overlay {
    display: none;
  }
  .espacios-overlay {
    display: none !important;
  }
}

/* ============================================
OVERLAY ARTISTA (MOBILE)
============================================ */
.artista-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    background: #ffffff;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    padding: 80px 30px 40px;
    overflow-y: auto;
}

.artista-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.artista-overlay__close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: 1px solid #000;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #000;
    padding: 0;
    transition: background 0.2s ease, color 0.2s ease;
    z-index: 10;
}

.artista-overlay__close:hover {
    background: #000;
    color: #fff;
}

.artista-overlay__close svg {
    width: 16px;
    height: 16px;
}

.artista-overlay__title {
    font-family: 'Solae', sans-serif;
    font-size: clamp(22px, 5vw, 48px);
    font-weight: 400;
    color: #000;
    margin: 0 0 50px 0;
    text-align: center;
    line-height: 1;
    letter-spacing: -0.5px;
}

.artista-overlay__nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.artista-overlay__link {
    font-family: 'Solae', sans-serif;
    font-size: clamp(36px, 10vw, 64px);
    font-weight: 400;
    color: #7C7C7C;
    text-decoration: none;
    line-height: 1;
    letter-spacing: -1px;
    transition: color 0.25s ease, transform 0.25s ease;
    padding: 4px 12px;
}

.artista-overlay__link:hover {
    color: #000;
    transform: scale(1.03);
}

.artista-overlay__link--cv {
    margin-top: 30px;
    padding: 10px 20px;
    border: 1px solid #000;
    font-size: clamp(14px, 3vw, 16px);
    color: #000;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'ABC Oracle', sans-serif;
}

.artista-overlay__link--cv:hover {
    background: #000;
    color: #fff;
    transform: none;
}

/* Estilo del botón + en closed-controls */
.closed-controls .open-artista-overlay {
    font-family: 'Solae', sans-serif;
    font-size: 28px;
    font-weight: 300;
    color: #000;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

/* Ocultar overlay en desktop */
@media (min-width: 769px) {
    .artista-overlay {
        display: none !important;
    }
}

/* ============================================
SLIDER VERTICAL MOBILE - EFECTO TELÓN (DEFINITIVO)
============================================ */
@media (max-width: 768px) {
    /* 1. Bloqueo total de scroll y refresh */
    body.home {
        overscroll-behavior: none !important;
        overflow: hidden !important;
        position: fixed !important;
        width: 100% !important;
        height: 100dvh !important;
        touch-action: none !important;
    }

    /* 2. Contenedor principal */
    .home #exhibiciones {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100dvh !important;
        z-index: 10 !important;
        overflow: hidden !important;
        background: #000 !important;
    }

    .home #exhibiciones .container {
        padding: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        height: 100% !important;
    }

    .home .swiper-container,
    .home .swiper-wrapper {
        height: 100% !important;
        width: 100% !important;
        display: block !important;
    }

    /* 3. Slides: Apiladas y en su posición por defecto */
    .home .swiper-slide {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100dvh !important;
        z-index: 1 !important;
        overflow: hidden !important;
        margin: 0 !important;
        
        /* Estado base: siempre en 0, listo para ser revelado */
        transform: translateY(0) !important;
        transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
        
        opacity: 1 !important;
        visibility: visible !important;
    }

    /* 4. Estados de animación controlados por JS */
    
    /* Slide visible */
    .home .swiper-slide.active {
        z-index: 2 !important;
    }

    /* AVANZAR: la actual se va hacia ARRIBA */
    .home .swiper-slide.swiped-up {
        z-index: 3 !important;
        transform: translateY(-100%) !important;
    }

    /* RETROCEDER: la actual se va hacia ABAJO */
    .home .swiper-slide.swiped-down {
        z-index: 3 !important;
        transform: translateY(100%) !important;
    }

    /* 5. Contenido interno (para que no se deforme) */
    .home .swiper-content .card {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        height: 100% !important;
        background: transparent !important;
        box-shadow: none !important;
        margin: 0 !important;
        border: none !important;
        border-radius: 0 !important;
    }

    .home .card-img {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        z-index: 1 !important;
    }

    .home .card-img img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
    }

    .home .card-body {
        position: absolute !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 100% !important;
        padding: 30px 20px 60px 20px !important;
        z-index: 10 !important;
        pointer-events: none !important;
    }

    .home .card-body h2{
		bottom: 10px!important;
	}
    .home .card-body .arrow,
    .home .card-body .logo {
        display: none !important;
    }

    .home .card-body a {
        pointer-events: auto !important;
        text-decoration: none !important;
        color: white !important;
        display: block !important;
    }

    .home .card-body h5 {
        width: 100% !important;
        margin: 0 0 10px 0 !important;
        color: white !important;
        font-weight: 400 !important;
    }

    .home .card-body p {
        margin: 0 0 5px 0 !important;
        color: white !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
    }

    /* 6. Paginación */
    .home .swiper-pagination {
        position: fixed !important;
        right: 15px !important;
        left: auto !important;
        width: auto !important;
        bottom: 50% !important;
        transform: translateY(50%) !important;
        z-index: 20 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
    }

    .home .swiper-pagination-bullet {
        width: 8px !important;
        height: 8px !important;
        background: #fff !important;
        opacity: 0.5 !important;
        cursor: pointer !important;
        transition: opacity 0.3s ease !important;
        margin: 0 !important;
    }

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

    /* 7. Ocultar flechas y ajustar header */
    .home .swiper-button-next, 
    .home .swiper-button-prev {
        display: none !important;
    }

    .home header.site-header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        z-index: 100 !important;
        background: transparent!important;
        backdrop-filter: blur(10px) !important;
    }

    #primary {
        padding-top: 0 !important;
    }
    
    .home .entry-content {
        margin-top: 0 !important;
    }
}

/* ============================================
   iPad / TABLETS HORIZONTAL (landscape) — solo correcciones
   Anchos cubiertos: 1024 → 1376 px, solo dispositivos táctiles
   ============================================ */
@media (min-width: 1024px) and (max-width: 1376px)
       and (orientation: landscape) {
	   
	   .home #exhibiciones{
		   overflow-x: hidden;
	   }
	   .main-navigation ul{
		   margin-top: 15px;
	   }
	   #site-navigation.main-navigation a{
		   font-size: clamp(32px, 3.4vw, 80px);
		   letter-spacing: -1px
	   }
	   #site-navigation.main-navigation .artistas-submenu a.artista-link, .exhibiciones-filtros__item, .exhibiciones-header-nav__item{
		   font-size: 20px;
		   letter-spacing: -1px
	   }
	   .header-subtitle{
		    font-size: 20px !important;
		   letter-spacing: -1px!important;
	   }
	   #site-navigation.main-navigation .header-anchor-menu a{
		   font-size: 20px !important;
		   letter-spacing: -1px!important;
	   }
	   .header-anchor-menu{
		   gap:5px!important;
	   }
       #site-navigation.main-navigation li.lang-item {
		    bottom: -6px!important;
		    right: -50px!important;
		}
	   .artistas-submenu{
		   gap: 0px 15px!important;
	   }
	   .home #newsletter{
		   padding: 0;
		   position: fixed;
	   }
	   .home .n1 h4{
		   padding-left: 15px;
	   }
	   .home .piedras-newsletter input[type="text"], .home .piedras-newsletter input[type="email"]{
		   width: 405px;
	   }
}
/* iPad Pro 11" Landscape - 1194 x 834 */
@media screen and (min-width: 1024px) and (max-width: 1194px) and (orientation: landscape) {
  
  /* Contenedor principal */
  .container,
  .main-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 30px;
  }

  /* Grid de 3 columnas ajustado */
  .news-grid,
  .articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px 30px;
    padding: 20px 0;
  }

  /* Ajuste de tipografía */
  .article-title {
    font-size: 1.4rem;
    line-height: 1.3;
    margin-bottom: 8px;
  }

  .article-description {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 15px;
  }

  /* Header y navegación */
  header {
    padding: 15px 30px;
  }

  nav ul {
    gap: 20px;
  }

  nav a {
    font-size: 1rem;
  }

  /* Logo */
  .logo {
    max-width: 120px;
    height: auto;
  }

  /* Ajuste de cards/artículos */
  .article-card {
    padding: 15px;
    margin-bottom: 20px;
  }

  /* Si hay problemas con el texto cortado */
  .article-description {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
  }
}

/* Versión más específica solo para 1194px exactos */
@media screen and (min-width: 1190px) and (max-width: 1200px) and (orientation: landscape) {
	nav ul {
        gap: 8px;
    }
    .novedades-page__grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
    }
	.novedad-item{
	    display: flex;
		flex-direction: column-reverse;
		justify-content: flex-end;
    }
    .novedad-item__imagen-wrapper{
	    position: relative;
	    opacity: 1;
	    visibility: visible;
	    height: auto;
    }
    .novedad-item__titulo span {
        font-size: 28px;
        line-height: .8;
        padding-top: 5px;
        letter-spacing: -1px;
    }
    .novedad-item:hover .novedad-item__titulo{
	    filter:blur(0px);
	    opacity: 1;
    }
}
/* ============================================
   TABLETS VERTICAL (portrait) — solo correcciones
   Cubre: 768, 810, 820, 834, 1024 y 1032 px de ancho
   ============================================ */
@media (min-width: 768px) and (max-width: 1032px) and (orientation: portrait) {
	html, body{
		overflow-x: hidden;
	}
	body.home{
		overflow: hidden;
	}
	.main-navigation ul{
		margin-top: 15px;
	}
	.home{
		margin: 0;
	}
	#intro_animation p.logo{
		font-size: 30px;
		line-height: 1.1;
	}
	.home #newsletter{
		position: relative;
		padding-left: 0px;
		left: 0;
	}
	.home .swiper-wrapper{
		align-items: flex-end;
	}
	.home .swiper-content .card{
		flex-direction: column;
	}
	.home .card-body {
	    width: 90%;
	}
	.card-body h5{
		width: 100%;
	}
	.home .card-body .logo {
	    margin-top: 0px;
	    width: 60px;
	    position: absolute;
	    right: 15px;
	    top: 0;
	}
	.home .card-img{
		padding-left: 0px;
		margin-top: 15px;
		height: 800px;
	}
	.home #exhibiciones .arrow{
		display: none!important;
	}
	.home .swiper-button-prev, .home .swiper-button-next{
		display: none;
	}
	.home .n1{
		padding-left: 15px;
	}
	.site-header{
		max-width: 100vw;
	}
	.home footer.site-footer.is-visible, home footer.site-footer{
		display: none;
	}
	#site-navigation.main-navigation a {
	    font-size: clamp(30px, 3.5vw, 80px);
	}
	.header-subtitle{
		font-size: 20px;
		letter-spacing: -1px;
	}
	.single-artista .site-main {
        padding: 92px 15px 260px 15px !important;
    }
    .header-anchor-menu{
	    margin-top: 0px;
	    gap:5px;
    }
	#site-navigation.main-navigation .header-anchor-menu a {
        font-size: 18px;
        letter-spacing: -1px;
    }
    .exhibiciones-filtros__item, .exhibiciones-header-nav__item {
        font-size: 18px;
        letter-spacing: -1px;
    }
	#site-navigation.main-navigation li.lang-item {
	    bottom: -8px;
	}
	.artista-bio{
		padding-top: 0px;
	}
	.artista-bio__contenido p{
		font-size: 14px;
        line-height: 1.4;
	}
	.single-exhibicion .site-main{
		margin-top: 102px;
	}
	.info-staff__label{
		width: 170px;
	}
	.info-staff {
	    padding: 80px 30px 0px 30px;
	}
	.info-staff__label, .info-staff__label span:first-child, .info-historia__label span:first-child{
	    font-size: 22px;
	}
	.info-staff__label{
		min-width: 170px;
	}
	.info-staff h5{
		font-size: 18px;
	}
	.info-staff p, .staff-item__email{
		font-size: 11px;
		letter-spacing: 0px;
	}
	.info-staff__grid {
	    gap: 15px;
	}
	.info-historia__contenido{
		font-size: 14px;
	}
	.page-template-tpl-info #newsletter{
		padding-left: 0px;
        padding-right: 0px;
        position: inherit;
        overflow: hidden;
	}
	.n1{
		padding-left: 30px;
	}
	.n1 h4{
		width: 180px;
		font-size: 40px;
	}
	footer.site-footer .site-info {
	    align-items: flex-start;
	}
	footer.site-footer .second,footer.site-footer .first{
		zoom: 1;
	}
	footer.site-footer .site-info h4{
		font-size: 20px;
		line-height: 1;
	}
	footer.site-footer .second .contact, footer.site-footer .second .phone, footer.site-footer .site-info .ig{
		font-size: 20px;
		line-height: 1;
	}
	footer.site-footer .site-info p{
		font-size: 10px;
		line-height: 1.2;
		margin-top: 0px;
	}
	span.prensa:before {
	    width: 60px;
	    height: 16px;
	    left: 112px;
	    top: 6px;
	}
	.exhibicion-hero {
        height: calc(50vh - 100px);
        background-color: #ffffff;
    }
    .exhibicion-texto-sala__contenido > p{
	    font-size: 14px;
	    line-height: 1.4;
    }
    #cursor-tooltip-next, #cursor-tooltip-prev, #exhibicionHeroTooltip{
	    display: none !important;
        opacity: 0 !important;
    }
    .exhibiciones-grid, .ferias-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .exhibiciones-anos-sidebar, .ferias-anos-sidebar{
	    display: block;
	    top: 112px;
    }
    #primary.exhibiciones-page, #primary.ferias-page {
        padding-top: 84px;
        padding-left: 90px;
    }
    .exhibiciones-anos-sidebar__item--activo, .ferias-anos-sidebar__item--activo{
	    text-decoration: none;
    }
    .ferias-section__year-title{
	    top: 100px;
    }
    .feria-item{
	    display: flex;
    }
    .exhibicion-item__fecha{
	    font-size: 8px;
    }
    .exhibicion-item__artistas, .feria-item__titulo{
		hyphens: none;
	}
    .exhibicion-item__contenido, .feria-item__contenido{
	    flex: 5;
    }
    .exhibicion-item__imagen, .feria-item__imagen{
	    flex: 5;
    }
    .exhibicion-item__arrow, .feria-item__arrow{
	    font-size: 20px;
    }
    .exhibicion-item__artistas, .feria-item__artistas{
	    font-size: 20px;
    }
    .exhibiciones__label {
	    display: flex;
	    justify-content: flex-start;
	}
    .exhibiciones__label .exhibiciones__flecha{
	    font-size: 21px;
	    line-height: 1.6;
	    color: #000;
	    font-family: 'Solae';
	    padding-right: 1px;
	    transform: rotate(90deg);
    }
    #artistas-submenu{
	    display: none;
    }
    #mobile-artistas-submenu {
        display: flex;
        flex-direction: column;
        margin-top: 18px;
        margin-bottom: 60px;
        padding: 0 15px 0 230px;
    }
    .mobile-artistas-submenu a {
        padding: 0px;
        font-family: 'Solae', serif;
        font-size: 32px;
        line-height: 1;
        text-decoration: none;
    }
    
    .single-artista #newsletter{
	    padding-bottom: 0px;
	    align-items: center;
    }
    .single-artista #newsletter .n1 {
        padding-left: 0px;
        
    }
    .single-artista .n1 h4, .single .n1 h4{
		font-size: 24px;   
    }
    .single .piedras-newsletter input[type="text"], .single .piedras-newsletter input[type="email"] {
	    width: 172px;
	}
	
	.single-exhibicion #newsletter{
		align-items: center;
	}
	.single-exhibicion .n1 {
        padding-left: 15px;
    }
    .novedades-page{
	    padding-top: 15px;
    }
    .novedades-page__grid{
	    gap: 15px 20px;
    }
    .novedad-item{
	    display: flex;
		flex-direction: column-reverse;
		justify-content: flex-end;
    }
    .novedad-item__imagen-wrapper{
	    position: relative;
	    opacity: 1;
	    visibility: visible;
	    height: auto;
    }
    .novedad-item__titulo span {
        font-size: 28px;
        line-height: .8;
        padding-top: 5px;
        letter-spacing: -1px;
    }
    .novedad-item:hover .novedad-item__titulo{
	    filter:blur(0px);
	    opacity: 1;
    }

}
/* ============================================
ELIMINAR TAP HIGHLIGHT CELESTE EN MOBILE
============================================ */

/* Reset global del tap highlight para todos los elementos interactivos */
a,
button,
input,
select,
textarea,
[role="button"],
[tabindex],
.main-navigation a,
.artista-link,
.novedad,
.exhibicion-item,
.feria-item,
.obra__imagen-wrapper,
.exhibicion-obra__imagen-wrapper,
.feria-obra__imagen-wrapper,
.instalaciones__thumb,
.exhibicion-hero__thumb,
.feria-hero__thumb,
.swiper-slide,
.paginacion__link,
.paginacion__numero,
.exhibiciones-filtros__item,
.exhibiciones-anos-sidebar__item,
.ferias-anos-sidebar__item,
.espacios-overlay__item,
.anos-overlay__item,
.artista-overlay__link,
.obra-modal__accion,
.obra-modal__nav,
.obra-modal__cerrar,
.exhibicion-obra-modal__nav,
.exhibicion-obra-modal__cerrar,
.feria-obra-modal__nav,
.feria-obra-modal__cerrar,
.mobile-header .menu-content nav ul li a,
.nav-trigger,
.nav-link,
.submenu a,
.submenu button,
.close-button,
.menu-footer a,
.closed-controls button {
    -webkit-tap-highlight-color: transparent;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    tap-highlight-color: transparent;
    outline: none; /* Elimina también el outline azul por defecto */
}

/* Mantener accesibilidad: focus visible solo con teclado (no con touch) */
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
    outline: 2px solid #000;
    outline-offset: 2px;
}

/* Evitar el "flash" azul al hacer tap en iOS */
* {
    -webkit-touch-callout: none; /* Evita el menú contextual al mantener presionado */
}

/* Permitir callout solo en inputs y textareas (para copiar/pegar) */
input,
textarea,
[contenteditable="true"] {
    -webkit-touch-callout: default;
}

/* Oculto en vista normal */
.landscape-block-overlay {
  display: none;
}

/* Se activa solo en dispositivos móviles cuando están en posición horizontal */
@media screen and (orientation: landscape) and (max-width: 900px) {
	#page{
		display: none;
	}
	.landscape-block-overlay {
		display: flex;
		position: fixed;
		top: 0;
		left: 0;
		width: 100vw;
		height: 100vh;
		background-color: #fff;
		color: #000;
		z-index: 999999;
		justify-content: center;
		align-items: center;
		text-align: center;
		padding: 20px;
		box-sizing: border-box;
	}
	
	.landscape-block-content p {
		font-size: 1.1rem;
		line-height: 1.5;
		max-width: 320px;
		margin-top: 16px;
		font-family: 'Solae', serif;
	}
}