/*
Theme Name: FutureTheme
Theme URI: https://unsa.edu.pe/
Author: Oficina de Tecnologías de la Información - UNSA
Author URI: https://www.unsa.edu.pe/
Description: Tema clásico personalizado para el Centro Cultural de la Universidad Nacional de San Agustín.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: futuretheme
Tags: custom-logo, custom-menu, featured-images, responsive-layout, institutional
*/

/* ============================================================
   01. FUENTES GLOBALES
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&display=swap');


/* ============================================================
   02. VARIABLES GLOBALES DEL THEME
   ============================================================ */

:root {
  /* Colores institucionales */
  --ft-color-navy: #0d1f3c;
  --ft-color-gold: #b8860b;
  --ft-color-cyan: #0099bb;
  --ft-color-white: #ffffff;
  --ft-color-black: #111111;

  /* Fondos y bordes */
  --ft-color-bg: #f9f8f6;
  --ft-color-mid: #e8e5e0;
  --ft-color-border: rgba(0, 0, 0, 0.07);

  /* Textos */
  --ft-color-text: #111111;
  --ft-color-muted: #6b6b6b;

  /* Tipografía */
  --ft-font-main: 'Montserrat', Arial, Helvetica, sans-serif;

  /* Tamaños base */
  --ft-font-size-xs: 9px;
  --ft-font-size-sm: 11px;
  --ft-font-size-md: 13px;
  --ft-font-size-base: 15px;
  --ft-font-size-lg: 18px;
  --ft-font-size-xl: 24px;
  --ft-font-size-xxl: 36px;

  /* Pesos tipográficos */
  --ft-font-light: 300;
  --ft-font-regular: 400;
  --ft-font-medium: 500;
  --ft-font-semibold: 600;
  --ft-font-bold: 700;
  --ft-font-extrabold: 800;
  --ft-font-black: 900;

  /* Layout */
  --ft-container-max: 1440px;
  --ft-side-space: 80px;
  --ft-header-height: 68px;

  /* Efectos */
  --ft-transition-fast: 0.2s ease;
  --ft-transition-normal: 0.28s cubic-bezier(.4, 0, .2, 1);
  --ft-ease: cubic-bezier(.4, 0, .2, 1);

  /* Sombras */
  --ft-shadow-sm: 0 2px 14px rgba(0, 0, 0, 0.07);
  --ft-shadow-md: 0 6px 28px rgba(0, 0, 0, 0.13);
}


/* ============================================================
   03. RESET Y BASE GENERAL
   ============================================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--ft-font-main);
  font-size: var(--ft-font-size-base);
  font-weight: var(--ft-font-regular);
  line-height: 1.6;
  background: var(--ft-color-bg);
  color: var(--ft-color-text);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img,
svg,
video,
canvas {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

ul,
ol {
  list-style-position: inside;
}


/* ============================================================
   04. CONTENEDORES Y UTILIDADES GLOBALES
   ============================================================ */

.ft-wrap,
.wrap {
  width: 100%;
  max-width: var(--ft-container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--ft-side-space);
  padding-right: var(--ft-side-space);
}

.ft-section,
.section {
  padding-top: 72px;
  padding-bottom: 72px;
}

.ft-screen-reader-text,
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}


/* ============================================================
   05. TIPOGRAFÍA GLOBAL
   ============================================================ */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--ft-font-main);
  color: var(--ft-color-text);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: var(--ft-font-extrabold);
}

h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
  font-weight: var(--ft-font-extrabold);
}

h3 {
  font-size: 1.1rem;
  font-weight: var(--ft-font-bold);
}

p {
  font-size: var(--ft-font-size-base);
  font-weight: var(--ft-font-regular);
  line-height: 1.75;
}

.ft-overline,
.overline {
  font-size: 10px;
  font-weight: var(--ft-font-bold);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ft-color-muted);
}

.ft-muted {
  color: var(--ft-color-muted);
}


/* ============================================================
   06. BOTONES GLOBALES
   ============================================================ */

.btn,
.ft-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--ft-font-main);
  font-size: 11px;
  font-weight: var(--ft-font-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 13px 26px;
  border-radius: 2px;
  transition: all var(--ft-transition-normal);
  cursor: pointer;
}

.btn-dark,
.ft-btn-dark {
  background: var(--ft-color-navy);
  color: var(--ft-color-white);
  border: 2px solid var(--ft-color-navy);
}

.btn-dark:hover,
.ft-btn-dark:hover {
  background: transparent;
  color: var(--ft-color-navy);
}

.btn-white,
.ft-btn-white {
  background: var(--ft-color-white);
  color: var(--ft-color-black);
  border: 2px solid var(--ft-color-white);
}

.btn-white:hover,
.ft-btn-white:hover {
  background: transparent;
  color: var(--ft-color-white);
}

.btn-outline,
.ft-btn-outline {
  background: transparent;
  color: var(--ft-color-black);
  border: 2px solid var(--ft-color-black);
}

.btn-outline:hover,
.ft-btn-outline:hover {
  background: var(--ft-color-black);
  color: var(--ft-color-white);
}


/* ============================================================
   07. ESTILOS EXCLUSIVOS DEL HEADER
   ============================================================ */

/*
   Esta sección contiene únicamente los estilos del header.
   Mantener aquí los estilos de:
   - site-header
   - main-nav
   - nav-brand
   - logo
   - nombre del sitio
   - menú principal
   - botón de búsqueda
*/

.site-header {
  position: relative;
  z-index: 900;
}

.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;

  height: var(--ft-header-height);
  padding-left: var(--ft-side-space);
  padding-right: var(--ft-side-space);

  display: flex;
  align-items: center;
  gap: 12px;

  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--ft-color-border);
  z-index: 900;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  color: var(--ft-color-text);
  text-decoration: none;
}

.nav-brand:hover {
  color: var(--ft-color-text);
}

.nav-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-logo img,
.custom-logo {
  display: block;
  width: auto;
  max-width: 170px;
  max-height: 46px;
  object-fit: contain;
}

.nav-logo-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 44px;
  height: 44px;
  padding: 0 10px;

  border: 2px solid var(--ft-color-navy);
  border-radius: 50px;

  font-size: 12px;
  font-weight: var(--ft-font-black);
  letter-spacing: -0.03em;
  color: var(--ft-color-navy);
  text-transform: uppercase;
}

.nav-sep {
  width: 1px;
  height: 30px;
  background: #cccccc;
  flex-shrink: 0;
}

.nav-title {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.nav-title strong {
  font-size: 13px;
  font-weight: var(--ft-font-extrabold);
  letter-spacing: -0.01em;
  color: var(--ft-color-text);
}

.nav-title span {
  font-size: 9px;
  font-weight: var(--ft-font-medium);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ft-color-muted);
}

/* Menú principal generado por wp_nav_menu() */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
  list-style: none;
}

.nav-links li {
  position: relative;
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 7px 13px;
  border-radius: 3px;

  font-size: 11.5px;
  font-weight: var(--ft-font-semibold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;

  color: var(--ft-color-text);
  transition: color var(--ft-transition-fast), background var(--ft-transition-fast);
}

.nav-links a:hover,
.nav-links .current-menu-item>a,
.nav-links .current_page_item>a {
  color: var(--ft-color-cyan);
  background: rgba(0, 153, 187, 0.07);
}

/* Submenú básico */
.nav-links .sub-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;

  min-width: 190px;
  padding: 8px;

  background: var(--ft-color-white);
  border: 1px solid var(--ft-color-mid);
  box-shadow: var(--ft-shadow-sm);
  border-radius: 4px;

  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--ft-transition-fast);

  list-style: none;
  z-index: 999;
}

.nav-links li:hover>.sub-menu,
.nav-links li:focus-within>.sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-links .sub-menu a {
  padding: 9px 12px;
  font-size: 11px;
  color: var(--ft-color-text);
  background: transparent;
}

.nav-links .sub-menu a:hover {
  color: var(--ft-color-cyan);
  background: rgba(0, 153, 187, 0.07);
}

/* Botón buscar */
.nav-search {
  display: flex;
  align-items: center;
  gap: 6px;

  margin-left: 10px;
  padding: 5px 14px;

  border: 1.5px solid #dddddd;
  border-radius: 20px;
  background: transparent;

  font-size: 11px;
  font-weight: var(--ft-font-semibold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ft-color-muted);

  transition: border-color var(--ft-transition-fast), color var(--ft-transition-fast);
}

.nav-search:hover,
.nav-search:focus {
  border-color: var(--ft-color-cyan);
  color: var(--ft-color-cyan);
  outline: none;
}

.nav-search svg {
  width: 11px;
  height: 11px;
  flex-shrink: 0;
}


/* ============================================================
   08. AJUSTES RESPONSIVE DEL HEADER Y VARIABLES
   ============================================================ */

@media (max-width: 960px) {
  :root {
    --ft-side-space: 28px;
  }

  .main-nav {
    padding-left: var(--ft-side-space);
    padding-right: var(--ft-side-space);
  }

  .nav-logo img,
  .custom-logo {
    max-width: 140px;
    max-height: 42px;
  }

  .nav-title strong {
    font-size: 12px;
  }

  .nav-title span {
    font-size: 8px;
  }
}

@media (max-width: 720px) {
  .main-nav {
    padding-left: 16px;
    padding-right: 16px;
  }

  .nav-links {
    display: none;
  }

  .nav-search {
    margin-left: auto;
    padding: 6px 12px;
  }

  .nav-search svg {
    width: 12px;
    height: 12px;
  }
}

@media (max-width: 480px) {

  .nav-sep,
  .nav-title span {
    display: none;
  }

  .nav-title strong {
    font-size: 12px;
  }

  .nav-logo img,
  .custom-logo {
    max-width: 120px;
    max-height: 40px;
  }
}


/* ============================================================
   HEADER - FORMULARIO DE BÚSQUEDA
   ============================================================ */

.nav-search-form {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 10px;
}

.nav-search-input {
  width: 150px;
  height: 31px;
  padding: 0 11px;
  border: 1.5px solid #dddddd;
  border-radius: 20px;
  background: var(--ft-color-white);
  color: var(--ft-color-text);
  font-size: 11px;
  font-weight: var(--ft-font-medium);
  outline: none;
  transition:
    width var(--ft-transition-fast),
    border-color var(--ft-transition-fast);
}

.nav-search-input:focus {
  width: 210px;
  border-color: var(--ft-color-cyan);
}

.nav-search-form .nav-search {
  margin-left: 0;
}

@media (max-width: 960px) {
  .nav-search-input {
    display: none;
  }
}


/* ============================================================
   HEADER - MENÚ RESPONSIVE HAMBURGUESA
   ============================================================ */

.nav-toggle {
  display: none;
  width: 38px;
  height: 38px;
  margin-left: auto;
  border: 1.5px solid #dddddd;
  border-radius: 999px;
  background: var(--ft-color-white);
  color: var(--ft-color-text);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  transition:
    border-color var(--ft-transition-fast),
    background var(--ft-transition-fast),
    color var(--ft-transition-fast);
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition:
    transform var(--ft-transition-fast),
    opacity var(--ft-transition-fast);
}

.nav-toggle:hover,
.nav-toggle:focus {
  border-color: var(--ft-color-cyan);
  color: var(--ft-color-cyan);
  outline: none;
}

.nav-toggle:focus-visible {
  outline: 3px solid rgba(0, 153, 187, 0.22);
  outline-offset: 3px;
}

/* Estado abierto del botón */
body.nav-is-open .nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

body.nav-is-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-is-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Fondo oscuro cuando el menú está abierto */
.nav-mobile-backdrop {
  display: none;
}

/* ------------------------------------------------------------
   Responsive
   ------------------------------------------------------------ */

@media (max-width: 960px) {
  .main-nav {
    gap: 10px;
  }

  .nav-toggle {
    display: inline-flex;
    order: 20;
  }

  .nav-search-form {
    order: 30;
    margin-left: 0;
  }

  .nav-search {
    margin-left: 0;
  }

  .nav-links {
    position: fixed;
    top: var(--ft-header-height);
    left: 0;
    right: 0;
    z-index: 850;

    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;

    max-height: calc(100vh - var(--ft-header-height));
    overflow-y: auto;

    padding: 12px 16px 20px;
    margin: 0;

    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--ft-color-border);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);

    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    pointer-events: none;

    transition:
      opacity var(--ft-transition-fast),
      visibility var(--ft-transition-fast),
      transform var(--ft-transition-fast);
  }

  body.nav-is-open .nav-links {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    width: 100%;
    padding: 14px 12px;
    border-radius: 0;
    border-bottom: 1px solid var(--ft-color-mid);
    font-size: 12px;
    letter-spacing: 0.08em;
  }

  .nav-links a:hover,
  .nav-links .current-menu-item>a,
  .nav-links .current_page_item>a {
    background: rgba(0, 153, 187, 0.07);
  }

  /* Submenús en mobile */
  .nav-links .sub-menu {
    position: static;
    min-width: 0;
    padding: 0;
    margin: 0 0 0 14px;

    opacity: 1;
    visibility: visible;
    transform: none;

    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }

  .nav-links .sub-menu a {
    padding: 12px 12px;
    font-size: 11px;
    color: var(--ft-color-muted);
    background: transparent;
  }

  .nav-links .sub-menu a:hover,
  .nav-links .sub-menu a:focus {
    color: var(--ft-color-cyan);
    background: rgba(0, 153, 187, 0.06);
  }
}

@media (max-width: 720px) {

  /*
   * Anula la regla anterior que ocultaba totalmente el menú.
   * Antes tenías .nav-links { display: none; }
   * Ahora el menú se muestra/oculta con opacity y visibility.
   */
  .nav-links {
    display: flex;
  }

  .nav-toggle {
    margin-left: auto;
  }

  .nav-search-form {
    order: 30;
  }

  .nav-search span {
    display: none;
  }

  .nav-search {
    width: 38px;
    height: 38px;
    padding: 0;
    justify-content: center;
    border-radius: 999px;
  }
}

@media (max-width: 480px) {
  .nav-toggle {
    width: 36px;
    height: 36px;
  }

  .nav-search {
    width: 36px;
    height: 36px;
  }

  .nav-links {
    padding-left: 12px;
    padding-right: 12px;
  }
}

/* ============================================================
   09. ESTILOS EXCLUSIVOS DEL FOOTER
   ============================================================ */

/*
   Esta sección contiene únicamente los estilos del footer.
   Mantener aquí los estilos de:
   - site-footer
   - footer-bg-img
   - footer-overlay
   - footer-inner
   - footer-widget
   - footer-menu
   - footer-copy
*/

.site-footer {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  background: var(--ft-color-navy);
  color: var(--ft-color-white);
}

.footer-bg-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  z-index: 0;
}

.footer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  z-index: 1;
}

.footer-inner {
  position: relative;
  z-index: 2;

  width: 100%;
  max-width: var(--ft-container-max);
  margin-left: auto;
  margin-right: auto;

  padding: 3rem var(--ft-side-space);
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 3.5rem;
  align-items: flex-start;
}

/* Columnas del footer */
.fc,
.footer-widget {
  min-width: 0;
}

.fc h4,
.footer-widget h4 {
  font-size: 10px;
  font-weight: var(--ft-font-semibold);
  color: var(--ft-color-white);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
  line-height: 1.3;
}

.fc p,
.fc a,
.footer-widget p,
.footer-widget a {
  display: block;
  font-size: 13px;
  font-weight: var(--ft-font-light);
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.8;
  text-decoration: none;
}

.fc a,
.footer-widget a {
  transition: color var(--ft-transition-fast);
}

.fc a:hover,
.fc a:focus,
.footer-widget a:hover,
.footer-widget a:focus {
  color: var(--ft-color-white);
  outline: none;
}

.fc-brand,
.footer-widget .fc-brand {
  font-size: 14px !important;
  font-weight: var(--ft-font-semibold) !important;
  color: var(--ft-color-white) !important;
  line-height: 1.6;
}

/* Menús del footer generados por wp_nav_menu() */
.footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-menu li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-menu a {
  display: block;
  font-size: 13px;
  font-weight: var(--ft-font-light);
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.8;
  text-decoration: none;
  transition: color var(--ft-transition-fast), transform var(--ft-transition-fast);
}

.footer-menu a:hover,
.footer-menu a:focus,
.footer-menu .current-menu-item>a,
.footer-menu .current_page_item>a {
  color: var(--ft-color-white);
}

/* Contacto y redes */
.footer-widget-contacto a {
  word-break: break-word;
}

.footer-social-link {
  margin-top: 8px;
}

/* Copyright */
.footer-copy {
  position: relative;
  z-index: 2;

  width: 100%;
  text-align: center;

  padding: 1rem var(--ft-side-space);
  background: rgba(0, 0, 0, 0.55);

  font-size: 11px;
  font-weight: var(--ft-font-regular);
  color: rgba(255, 255, 255, 0.28);
  line-height: 1.5;
}

/* Widgets nativos de WordPress dentro del footer */
.site-footer .widget {
  margin: 0;
}

.site-footer .widget-title {
  font-size: 10px;
  font-weight: var(--ft-font-semibold);
  color: var(--ft-color-white);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  list-style: none;
}

/* Formularios o elementos inesperados dentro de widgets */
.site-footer input,
.site-footer select,
.site-footer textarea {
  max-width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: var(--ft-color-white);
  border-radius: 3px;
  padding: 8px 10px;
}

.site-footer input::placeholder,
.site-footer textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.site-footer button,
.site-footer input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin-top: 10px;
  padding: 9px 16px;

  border: 1px solid var(--ft-color-cyan);
  background: var(--ft-color-cyan);
  color: var(--ft-color-white);

  font-size: 11px;
  font-weight: var(--ft-font-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;

  transition: all var(--ft-transition-fast);
}

.site-footer button:hover,
.site-footer input[type="submit"]:hover {
  background: transparent;
  color: var(--ft-color-cyan);
}


/* ============================================================
   10. RESPONSIVE DEL FOOTER
   ============================================================ */

@media (max-width: 1100px) {
  .footer-inner {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }

  .footer-widget-institucion {
    grid-column: span 2;
  }
}

@media (max-width: 800px) {
  .footer-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .footer-widget-institucion {
    grid-column: span 2;
  }
}

@media (max-width: 560px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-top: 2.25rem;
    padding-bottom: 2.25rem;
  }

  .footer-widget-institucion {
    grid-column: span 1;
  }

  .fc h4,
  .footer-widget h4,
  .site-footer .widget-title {
    margin-bottom: 8px;
  }

  .fc p,
  .fc a,
  .footer-widget p,
  .footer-widget a,
  .footer-menu a {
    font-size: 12.5px;
  }

  .footer-copy {
    font-size: 10.5px;
    padding-top: 0.9rem;
    padding-bottom: 0.9rem;
  }
}

/* ============================================================
   11. DESTACADOS - SLIDER PRINCIPAL
   ============================================================ */

.hero,
.futuretheme-slider {
  position: relative;
  height: calc(100vh - var(--ft-header-height));
  min-height: 520px;
  max-height: 820px;
  overflow: hidden;
  background: #111111;
  margin-top: var(--ft-header-height);
}

.hero-track {
  display: flex;
  height: 100%;
  width: 100%;
  transition: transform 1.2s var(--ft-ease);
}

.hero-slide {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  background: #111111;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
  image-rendering: -webkit-optimize-contrast;
  transition: transform 9s linear;
}

.hero-slide.active img {
  transform: scale(1.07);
}

.hero-content {
  position: absolute;
  bottom: 88px;
  left: 0;
  right: 0;
  padding-left: var(--ft-side-space);
  padding-right: var(--ft-side-space);
  color: var(--ft-color-white);
  z-index: 2;
  max-width: var(--ft-container-max);
  margin-left: auto;
  margin-right: auto;
}

.hero-tag {
  font-size: 10px;
  font-weight: var(--ft-font-bold);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  opacity: 0.72;
  margin-bottom: 14px;
}

.hero-content h1 {
  font-size: clamp(2.4rem, 4.5vw, 4.2rem);
  font-weight: var(--ft-font-extrabold);
  letter-spacing: -0.035em;
  line-height: 1.04;
  margin-bottom: 14px;
  color: var(--ft-color-white);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}

.hero-content p {
  font-size: 15px;
  max-width: 520px;
  line-height: 1.7;
  opacity: 0.88;
  margin-bottom: 32px;
  font-weight: var(--ft-font-regular);
  color: var(--ft-color-white);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}

.hero-nav {
  position: absolute;
  bottom: 36px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 3;
}

.hdot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.hdot.on {
  background: var(--ft-color-white);
  transform: scale(1.45);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ft-color-white);
  font-size: 20px;
  line-height: 1;
  backdrop-filter: blur(4px);
  transition: background 0.25s ease, border-color 0.25s ease;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
}

.hero-arrow:hover,
.hero-arrow:focus {
  background: rgba(255, 255, 255, 0.28);
  outline: none;
}

.hero-arrow.prev {
  left: 22px;
}

.hero-arrow.next {
  right: 22px;
}


/* ============================================================
   12. DESTACADOS - ACTUALIDAD CULTURAL
   ============================================================ */

.actualidad,
.futuretheme-actualidad {
  padding: 84px 0 60px;
  background: var(--ft-color-bg);
}

.sec-title {
  font-size: 10px;
  font-weight: var(--ft-font-bold);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ft-color-muted);
  text-align: center;
  margin-bottom: 52px;
}

.act-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.act-row2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 14px;
}

.act-center {
  display: flex;
  justify-content: center;
  margin-top: 14px;
}

.act-center .act-card {
  width: calc(33.333% - 5px);
}

.act-card {
  position: relative;
  display: block;
  border-radius: 3px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  background: #111111;
  color: var(--ft-color-white);
}

.act-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.62);
  transition: transform 0.85s var(--ft-ease), filter 0.4s ease;
}

.act-card:hover img,
.act-card:focus img {
  transform: scale(1.08);
  filter: brightness(0.45);
}

.act-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 50px 20px 18px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.84), transparent);
  z-index: 2;
}

.act-tag {
  display: block;
  font-size: 9px;
  font-weight: var(--ft-font-bold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
  margin-bottom: 6px;
}

.act-label h3 {
  color: var(--ft-color-white);
  font-size: 16px;
  font-weight: var(--ft-font-bold);
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.act-icon {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  color: var(--ft-color-white);
  transition: all 0.3s ease;
  z-index: 3;
}

.act-icon svg {
  width: 13px;
  height: 13px;
  display: block;
}

.act-icon svg path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.act-card:hover .act-icon,
.act-card:focus .act-icon {
  background: var(--ft-color-white);
  color: var(--ft-color-black);
  transform: rotate(45deg);
}


/* ============================================================
   13. RESPONSIVE DESTACADOS
   ============================================================ */

@media (max-width: 960px) {

  .hero,
  .futuretheme-slider {
    min-height: 500px;
  }

  .hero-content {
    bottom: 78px;
  }

  .hero-content h1 {
    font-size: clamp(2rem, 6vw, 3.2rem);
  }

  .hero-content p {
    max-width: 480px;
    font-size: 14px;
  }

  .act-grid,
  .act-row2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .act-center .act-card {
    width: calc(50% - 7px);
  }
}

@media (max-width: 720px) {

  .hero,
  .futuretheme-slider {
    height: calc(100vh - var(--ft-header-height));
    min-height: 480px;
  }

  .hero-content {
    bottom: 74px;
    padding-left: 28px;
    padding-right: 28px;
  }

  .hero-tag {
    font-size: 9px;
    letter-spacing: 0.18em;
  }

  .hero-content h1 {
    font-size: clamp(1.9rem, 9vw, 2.8rem);
  }

  .hero-content p {
    font-size: 13.5px;
    line-height: 1.65;
    margin-bottom: 24px;
  }

  .hero-arrow {
    width: 38px;
    height: 38px;
    font-size: 18px;
  }

  .hero-arrow.prev {
    left: 12px;
  }

  .hero-arrow.next {
    right: 12px;
  }
}

@media (max-width: 600px) {

  .actualidad,
  .futuretheme-actualidad {
    padding: 64px 0 44px;
  }

  .act-grid,
  .act-row2 {
    grid-template-columns: 1fr;
  }

  .act-center .act-card {
    width: 100%;
  }
}

@media (max-width: 480px) {

  .hero,
  .futuretheme-slider {
    min-height: 460px;
  }

  .hero-content {
    bottom: 70px;
    padding-left: 22px;
    padding-right: 22px;
  }

  .hero-content p {
    max-width: 100%;
  }

  .hero-arrow {
    display: none;
  }
}

/* ============================================================
   SINGLE ESPACIO CULTURAL
   Galerías, Museo, Cineclub, Salas
   ============================================================ */

.single-espacio-cultural {
  background: var(--ft-color-bg);
}

/* ------------------------------------------------------------
   Hero
   ------------------------------------------------------------ */

.espacio-hero {
  position: relative;
  min-height: 370px;
  height: 370px;
  margin-top: var(--ft-header-height);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #111111;
}

.espacio-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 43%;
  background-repeat: no-repeat;
  z-index: 0;
}

.espacio-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top,
      rgba(0, 0, 0, 0.68) 0%,
      rgba(0, 0, 0, 0.42) 46%,
      rgba(0, 0, 0, 0.12) 100%);
  z-index: 1;
}

.espacio-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--ft-container-max);
  margin-left: auto;
  margin-right: auto;
  padding: 0 var(--ft-side-space) 54px;
  color: var(--ft-color-white);
}

.espacio-overline {
  margin-bottom: 14px;
  font-size: 10px;
  font-weight: var(--ft-font-bold);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.espacio-hero-content h1 {
  max-width: 980px;
  /*font-size: clamp(2.6rem, 4.6vw, 5rem);*/
  font-size: clamp(1.8rem, 3.2vw, 3.5rem);
  font-weight: var(--ft-font-extrabold);
  line-height: 0.98;
  letter-spacing: -0.055em;
  color: var(--ft-color-white);
  text-transform: uppercase;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.42);
}

/* ------------------------------------------------------------
   Menú asociado
   ------------------------------------------------------------ */

.espacio-subnav {
  position: relative;
  z-index: 5;
  background: var(--ft-color-white);
  border-bottom: 1px solid var(--ft-color-border);
}

.espacio-subnav-menu {
  width: 100%;
  max-width: var(--ft-container-max);
  margin-left: auto;
  margin-right: auto;
  padding: 0 var(--ft-side-space);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: thin;
}

.espacio-subnav-menu li {
  list-style: none;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
}

.espacio-subnav-menu a {
  display: block;
  padding: 17px 24px;
  font-size: 11px;
  font-weight: var(--ft-font-semibold);
  letter-spacing: 0.065em;
  text-transform: uppercase;
  color: var(--ft-color-muted);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color var(--ft-transition-fast), border-color var(--ft-transition-fast);
}

.espacio-subnav-menu li:first-child a {
  padding-left: 0;
}

.espacio-subnav-menu a:hover,
.espacio-subnav-menu a:focus,
.espacio-subnav-menu .current-menu-item>a {
  color: var(--ft-color-text);
  border-bottom-color: var(--ft-color-navy);
}

/* ------------------------------------------------------------
   Info strip azul
   ------------------------------------------------------------ */

.info-strip,
.espacio-info-strip {
  background: var(--ft-color-navy);
  color: var(--ft-color-white);
}

.info-strip-inner {
  width: 100%;
  max-width: var(--ft-container-max);
  margin-left: auto;
  margin-right: auto;
  padding: 20px var(--ft-side-space);
  display: grid;
  grid-template-columns: auto auto auto;
  gap: 60px;
  align-items: start;
  justify-content: start;
}

.info-strip-item {
  min-width: 0;
}

.info-strip-item span {
  display: block;
  margin-bottom: 5px;
  font-size: 9px;
  font-weight: var(--ft-font-bold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.48);
}

.info-strip-item strong {
  display: block;
  font-size: 13px;
  font-weight: var(--ft-font-extrabold);
  line-height: 1.45;
  color: var(--ft-color-white);
}

.info-strip-item a {
  color: var(--ft-color-white);
  text-decoration: none;
}

.info-strip-item a:hover,
.info-strip-item a:focus {
  color: rgba(255, 255, 255, 0.78);
}

/* ------------------------------------------------------------
   Contenido principal
   ------------------------------------------------------------ */

.espacio-content-section {
  padding: 50px 0 88px;
}

.espacio-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 64px;
  align-items: flex-start;
}

.espacio-main-content {
  min-width: 0;
  max-width: 780px;
}

.espacio-lead {
  max-width: 760px;
  margin-bottom: 28px;
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  font-weight: var(--ft-font-semibold);
  line-height: 1.35;
  letter-spacing: -0.03em;
  color: var(--ft-color-text);
}

.espacio-main-content .entry-content {
  max-width: 760px;
  color: var(--ft-color-text);
}

.espacio-main-content .entry-content p {
  margin-bottom: 1.35em;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ft-color-muted);
}

.espacio-main-content .entry-content h2,
.espacio-main-content .entry-content h3,
.espacio-main-content .entry-content h4 {
  margin-top: 0.6em;
  margin-bottom: 0.65em;
  color: var(--ft-color-text);
  letter-spacing: -0.03em;
}

.espacio-main-content .entry-content ul,
.espacio-main-content .entry-content ol {
  margin: 0 0 1.5em 1.2em;
  color: var(--ft-color-muted);
  line-height: 1.8;
}

.espacio-main-content .entry-content img {
  max-width: 100%;
  height: auto;
}

/* ------------------------------------------------------------
   Info card lateral
   ------------------------------------------------------------ */

.info-card,
.espacio-info-card {
  position: sticky;
  top: calc(var(--ft-header-height) + 28px);
  padding: 28px 30px;
  background: var(--ft-color-white);
  border: 1px solid var(--ft-color-border);
  box-shadow: none;
}

.info-card h2,
.espacio-info-card h2 {
  margin-bottom: 22px;
  font-size: 11px;
  font-weight: var(--ft-font-bold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ft-color-muted);
}

.info-row {
  padding: 15px 0;
  border-bottom: 1px solid var(--ft-color-border);
}

.info-row:first-of-type {
  padding-top: 0;
}

.info-row span {
  display: block;
  margin-bottom: 7px;
  font-size: 9px;
  font-weight: var(--ft-font-bold);
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--ft-color-muted);
}

.info-row strong {
  display: block;
  font-size: 13px;
  font-weight: var(--ft-font-medium);
  line-height: 1.65;
  color: var(--ft-color-text);
}

.info-row a {
  color: var(--ft-color-text);
  text-decoration: none;
  transition: color var(--ft-transition-fast);
  word-break: break-word;
}

.info-row a:hover,
.info-row a:focus {
  color: var(--ft-color-cyan);
}

.info-card-btn {
  width: 100%;
  margin-top: 24px;
  text-align: center;
  justify-content: center;
}

/* ------------------------------------------------------------
   Responsive
   ------------------------------------------------------------ */

@media (max-width: 1100px) {
  .espacio-content-grid {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 42px;
  }

  .info-strip-inner {
    gap: 34px;
  }
}

@media (max-width: 900px) {
  .espacio-hero {
    min-height: 320px;
    height: 320px;
  }

  .espacio-content-grid {
    grid-template-columns: 1fr;
  }

  .espacio-main-content {
    max-width: 100%;
  }

  .espacio-main-content .entry-content {
    max-width: 100%;
  }

  .info-card,
  .espacio-info-card {
    position: relative;
    top: auto;
    max-width: 520px;
  }
}

@media (max-width: 720px) {
  .espacio-hero {
    min-height: 300px;
    height: 300px;
  }

  .espacio-hero-content {
    padding-left: 28px;
    padding-right: 28px;
    padding-bottom: 40px;
  }

  .espacio-hero-content h1 {
    font-size: clamp(2rem, 10vw, 3.6rem);
  }

  .espacio-subnav-menu {
    justify-content: flex-start;
    padding-left: 28px;
    padding-right: 28px;
  }

  .espacio-subnav-menu a {
    padding: 16px 18px;
    font-size: 10px;
  }

  .espacio-subnav-menu li:first-child a {
    padding-left: 0;
  }

  .info-strip-inner {
    padding-left: 28px;
    padding-right: 28px;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .espacio-content-section {
    padding: 52px 0 68px;
  }
}

@media (max-width: 480px) {
  .espacio-hero {
    min-height: 280px;
    height: 280px;
  }

  .espacio-hero-content {
    padding-left: 22px;
    padding-right: 22px;
  }

  .espacio-overline {
    font-size: 9px;
    letter-spacing: 0.18em;
  }

  .espacio-subnav-menu {
    padding-left: 22px;
    padding-right: 22px;
  }

  .info-strip-inner {
    padding-left: 22px;
    padding-right: 22px;
  }

  .info-card,
  .espacio-info-card {
    padding: 24px;
  }
}


/* ============================================================
   PAGE SALAS DE PRESENTACIÓN
   ============================================================ */

.page-salas {
  background: var(--ft-color-bg);
}

/* Hero de página Salas */

.page-salas .pg-hero,
.salas-hero {
  position: relative;
  height: 420px;
  min-height: 360px;
  margin-top: var(--ft-header-height);
  overflow: hidden;
  background: #111111;
}

.page-salas .pg-hero img,
.salas-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.64);
}

.page-salas .pg-hero::after,
.salas-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top,
      rgba(0, 0, 0, 0.72) 0%,
      rgba(0, 0, 0, 0.42) 48%,
      rgba(0, 0, 0, 0.14) 100%);
  z-index: 1;
}

.page-salas .pg-hero-content,
.salas-hero .pg-hero-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 58px;
  z-index: 2;
  width: 100%;
  max-width: var(--ft-container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--ft-side-space);
  padding-right: var(--ft-side-space);
  color: var(--ft-color-white);
}

.page-salas .pg-hero-content .overline,
.salas-hero .overline {
  margin-bottom: 14px;
  font-size: 10px;
  font-weight: var(--ft-font-bold);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.page-salas .pg-hero-content h1,
.salas-hero .pg-hero-content h1 {
  max-width: 980px;
  font-size: clamp(2.4rem, 5vw, 5.2rem);
  font-weight: var(--ft-font-extrabold);
  line-height: 0.98;
  letter-spacing: -0.055em;
  color: var(--ft-color-white);
  text-transform: uppercase;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.42);
}

/* Sección principal */

.salas-section {
  padding-top: 76px;
  padding-bottom: 92px;
}

.salas-intro {
  max-width: 820px;
  margin: 0 auto 52px;
  text-align: center;
}

.salas-intro p {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-weight: var(--ft-font-regular);
  line-height: 1.85;
  color: var(--ft-color-muted);
}

.salas-intro p:last-child {
  margin-bottom: 0;
}

/* Grid de salas */

.salas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.sala-card {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  background: var(--ft-color-white);
  border: 1px solid var(--ft-color-border);
  transition:
    transform var(--ft-transition-normal),
    box-shadow var(--ft-transition-normal),
    border-color var(--ft-transition-fast);
}

.sala-card:hover,
.sala-card:focus-within {
  transform: translateY(-6px);
  box-shadow: var(--ft-shadow-md);
  border-color: rgba(0, 0, 0, 0.12);
}

.sala-card-color {
  height: 6px;
  width: 100%;
  background: var(--ft-color-cyan);
}

/* Variación de colores por posición */

.sala-card:nth-child(3n+1) .sala-card-color {
  background: var(--ft-color-cyan);
}

.sala-card:nth-child(3n+2) .sala-card-color {
  background: var(--ft-color-gold);
}

.sala-card:nth-child(3n+3) .sala-card-color {
  background: var(--ft-color-navy);
}

.sala-card-body {
  padding: 30px 28px 28px;
}

.sala-card h2 {
  margin-bottom: 14px;
  font-size: 1.35rem;
  font-weight: var(--ft-font-extrabold);
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: var(--ft-color-text);
}

.sala-card h2 a {
  color: inherit;
  text-decoration: none;
  transition: color var(--ft-transition-fast);
}

.sala-card h2 a:hover,
.sala-card h2 a:focus {
  color: var(--ft-color-cyan);
}

.sala-card p {
  margin-bottom: 24px;
  font-size: 14px;
  font-weight: var(--ft-font-regular);
  line-height: 1.75;
  color: var(--ft-color-muted);
}

/* Aforo */

.sala-aforo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  margin-bottom: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--ft-color-border);
}

.sala-aforo-n {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: var(--ft-font-extrabold);
  line-height: 0.9;
  letter-spacing: -0.06em;
  color: var(--ft-color-navy);
}

.sala-aforo-l {
  font-size: 10px;
  font-weight: var(--ft-font-bold);
  line-height: 1.25;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ft-color-muted);
}

/* Etiquetas */

.sala-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.sala-tag {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--ft-color-bg);
  border: 1px solid var(--ft-color-border);
  font-size: 9px;
  font-weight: var(--ft-font-bold);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ft-color-muted);
}

/* Mensaje vacío */

.salas-empty {
  max-width: 720px;
  margin: 0 auto;
  padding: 52px 36px;
  text-align: center;
  background: var(--ft-color-white);
  border: 1px solid var(--ft-color-border);
}

.salas-empty h2 {
  margin-bottom: 12px;
  font-size: 1.6rem;
  font-weight: var(--ft-font-extrabold);
  letter-spacing: -0.035em;
  color: var(--ft-color-text);
}

.salas-empty p {
  color: var(--ft-color-muted);
  line-height: 1.7;
}

/* ============================================================
   RESPONSIVE PAGE SALAS
   ============================================================ */

@media (max-width: 1100px) {
  .salas-grid {
    gap: 20px;
  }

  .sala-card-body {
    padding: 28px 24px 26px;
  }
}

@media (max-width: 960px) {
  .salas-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .salas-section {
    padding-top: 64px;
    padding-bottom: 78px;
  }
}

@media (max-width: 720px) {

  .page-salas .pg-hero,
  .salas-hero {
    height: 340px;
    min-height: 320px;
  }

  .page-salas .pg-hero-content,
  .salas-hero .pg-hero-content {
    bottom: 44px;
    padding-left: 28px;
    padding-right: 28px;
  }

  .page-salas .pg-hero-content h1,
  .salas-hero .pg-hero-content h1 {
    font-size: clamp(2rem, 10vw, 3.7rem);
  }

  .salas-section {
    padding-top: 52px;
    padding-bottom: 68px;
  }

  .salas-intro {
    margin-bottom: 40px;
    text-align: left;
  }

  .salas-grid {
    grid-template-columns: 1fr;
  }

  .sala-card:hover,
  .sala-card:focus-within {
    transform: none;
  }
}

@media (max-width: 480px) {

  .page-salas .pg-hero,
  .salas-hero {
    height: 300px;
    min-height: 280px;
  }

  .page-salas .pg-hero-content,
  .salas-hero .pg-hero-content {
    bottom: 38px;
    padding-left: 22px;
    padding-right: 22px;
  }

  .page-salas .pg-hero-content .overline,
  .salas-hero .overline {
    font-size: 9px;
    letter-spacing: 0.18em;
  }

  .sala-card-body {
    padding: 26px 22px 24px;
  }

  .sala-aforo {
    align-items: flex-start;
  }

  .sala-tag {
    font-size: 8.5px;
  }
}



/* ============================================================
   PAGE CONTACTO
   ============================================================ */

.page-contacto {
  background: var(--ft-color-bg);
}

/* ------------------------------------------------------------
   Hero contacto
   ------------------------------------------------------------ */

.page-contacto .pg-hero,
.contacto-hero {
  position: relative;
  height: 420px;
  min-height: 360px;
  margin-top: var(--ft-header-height);
  overflow: hidden;
  background: #111111;
}

.page-contacto .pg-hero img,
.contacto-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.62);
}

.page-contacto .pg-hero::after,
.contacto-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top,
      rgba(0, 0, 0, 0.74) 0%,
      rgba(0, 0, 0, 0.44) 48%,
      rgba(0, 0, 0, 0.14) 100%);
  z-index: 1;
}

.page-contacto .pg-hero-content,
.contacto-hero .pg-hero-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 58px;
  z-index: 2;
  width: 100%;
  max-width: var(--ft-container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--ft-side-space);
  padding-right: var(--ft-side-space);
  color: var(--ft-color-white);
}

.page-contacto .pg-hero-content .overline,
.contacto-hero .overline {
  margin-bottom: 14px;
  font-size: 10px;
  font-weight: var(--ft-font-bold);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.page-contacto .pg-hero-content h1,
.contacto-hero .pg-hero-content h1 {
  max-width: 980px;
  font-size: clamp(2.4rem, 5vw, 5.2rem);
  font-weight: var(--ft-font-extrabold);
  line-height: 0.98;
  letter-spacing: -0.055em;
  color: var(--ft-color-white);
  text-transform: uppercase;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.42);
}

/* ------------------------------------------------------------
   Sección principal
   ------------------------------------------------------------ */

.contacto-section {
  padding-top: 76px;
  padding-bottom: 92px;
}

.contacto-intro {
  max-width: 820px;
  margin: 0 auto 54px;
  text-align: center;
}

.contacto-intro p {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-weight: var(--ft-font-regular);
  line-height: 1.85;
  color: var(--ft-color-muted);
}

.contacto-intro p:last-child {
  margin-bottom: 0;
}

/* ------------------------------------------------------------
   Grid de contacto
   ------------------------------------------------------------ */

.contacto-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

/* ------------------------------------------------------------
   Card contacto
   ------------------------------------------------------------ */

.contacto-card {
  position: relative;
  display: block;
  min-height: 310px;
  background: var(--ft-color-white);
  border: 1px solid var(--ft-color-border);
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.035);
  transition:
    transform var(--ft-transition-normal),
    box-shadow var(--ft-transition-normal),
    border-color var(--ft-transition-fast);
}

.contacto-card:hover,
.contacto-card:focus-within {
  transform: translateY(-4px);
  box-shadow: var(--ft-shadow-md);
  border-color: rgba(0, 0, 0, 0.12);
}

.contacto-card-head {
  width: 100%;
  height: 6px;
  background: var(--ft-color-cyan);
}

/* Colores de la barra superior */

.contacto-card:nth-child(6n+1) .contacto-card-head {
  background: var(--ft-color-gold);
}

.contacto-card:nth-child(6n+2) .contacto-card-head {
  background: var(--ft-color-navy);
}

.contacto-card:nth-child(6n+3) .contacto-card-head {
  background: #8b4513;
}

.contacto-card:nth-child(6n+4) .contacto-card-head {
  background: #2d6b4f;
}

.contacto-card:nth-child(6n+5) .contacto-card-head {
  background: #7040a0;
}

.contacto-card:nth-child(6n+6) .contacto-card-head {
  background: var(--ft-color-cyan);
}

.contacto-card-body {
  display: block;
  padding: 30px 24px 28px;
}

.contacto-card h3 {
  position: relative;
  margin: 0 0 20px;
  padding-left: 14px;
  font-size: 1.05rem;
  font-weight: var(--ft-font-extrabold);
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: var(--ft-color-text);
}

.contacto-card h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  width: 3px;
  height: 1.2em;
  background: var(--ft-color-cyan);
}

/* Color de la línea vertical del título */

.contacto-card:nth-child(6n+1) h3::before {
  background: var(--ft-color-gold);
}

.contacto-card:nth-child(6n+2) h3::before {
  background: var(--ft-color-navy);
}

.contacto-card:nth-child(6n+3) h3::before {
  background: #8b4513;
}

.contacto-card:nth-child(6n+4) h3::before {
  background: #2d6b4f;
}

.contacto-card:nth-child(6n+5) h3::before {
  background: #7040a0;
}

.contacto-card:nth-child(6n+6) h3::before {
  background: var(--ft-color-cyan);
}

/* ------------------------------------------------------------
   Información dentro de la card
   ------------------------------------------------------------ */

.ci {
  display: block;
  padding: 0;
  margin: 0 0 14px;
  border: 0;
}

.ci:last-child {
  margin-bottom: 0;
}

.ci-lbl {
  display: block;
  margin-bottom: 3px;
  font-size: 8.5px;
  font-weight: var(--ft-font-bold);
  letter-spacing: 0.22em;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--ft-color-muted);
}

.ci-val {
  display: block;
  font-size: 13px;
  font-weight: var(--ft-font-medium);
  line-height: 1.45;
  color: var(--ft-color-text);
  word-break: break-word;
}

.ci-val a {
  color: var(--ft-color-text);
  text-decoration: none;
  transition: color var(--ft-transition-fast);
}

.ci-val a:hover,
.ci-val a:focus {
  color: var(--ft-color-cyan);
}

/* ------------------------------------------------------------
   Mensaje vacío
   ------------------------------------------------------------ */

.contacto-empty {
  max-width: 720px;
  margin: 0 auto;
  padding: 52px 36px;
  text-align: center;
  background: var(--ft-color-white);
  border: 1px solid var(--ft-color-border);
}

.contacto-empty h2 {
  margin-bottom: 12px;
  font-size: 1.6rem;
  font-weight: var(--ft-font-extrabold);
  letter-spacing: -0.035em;
  color: var(--ft-color-text);
}

.contacto-empty p {
  color: var(--ft-color-muted);
  line-height: 1.7;
}

/* ============================================================
   RESPONSIVE PAGE CONTACTO
   ============================================================ */

@media (max-width: 1180px) {
  .contacto-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }
}

@media (max-width: 960px) {
  .contacto-section {
    padding-top: 64px;
    padding-bottom: 78px;
  }
}

@media (max-width: 720px) {

  .page-contacto .pg-hero,
  .contacto-hero {
    height: 340px;
    min-height: 320px;
  }

  .page-contacto .pg-hero-content,
  .contacto-hero .pg-hero-content {
    bottom: 44px;
    padding-left: 28px;
    padding-right: 28px;
  }

  .page-contacto .pg-hero-content h1,
  .contacto-hero .pg-hero-content h1 {
    font-size: clamp(2rem, 10vw, 3.7rem);
  }

  .contacto-section {
    padding-top: 52px;
    padding-bottom: 68px;
  }

  .contacto-intro {
    margin-bottom: 40px;
    text-align: left;
  }

  .contacto-grid {
    grid-template-columns: 1fr;
  }

  .contacto-card {
    min-height: auto;
  }

  .contacto-card:hover,
  .contacto-card:focus-within {
    transform: none;
  }

  .contacto-card-body {
    padding: 28px 24px 26px;
  }
}

@media (max-width: 480px) {

  .page-contacto .pg-hero,
  .contacto-hero {
    height: 300px;
    min-height: 280px;
  }

  .page-contacto .pg-hero-content,
  .contacto-hero .pg-hero-content {
    bottom: 38px;
    padding-left: 22px;
    padding-right: 22px;
  }

  .page-contacto .pg-hero-content .overline,
  .contacto-hero .overline {
    font-size: 9px;
    letter-spacing: 0.18em;
  }

  .contacto-card-body {
    padding: 26px 22px 24px;
  }

  .contacto-card h3 {
    font-size: 1rem;
  }

  .ci-lbl {
    font-size: 8px;
  }

  .ci-val {
    font-size: 12.8px;
  }
}


/* ============================================================
   SINGLE EXPOSICIÓN
   Vista tipo Hilando Historias
   ============================================================ */

.single-exposicion {
  background: var(--ft-color-bg);
}

/* ------------------------------------------------------------
   Hero exposición
   ------------------------------------------------------------ */

.single-exposicion .pg-hero,
.exposicion-hero {
  position: relative;
  height: 520px;
  min-height: 420px;
  margin-top: var(--ft-header-height);
  overflow: hidden;
  background: #111111;
}

.single-exposicion .pg-hero img,
.exposicion-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.58);
  transform: scale(1.01);
}

.single-exposicion .pg-hero::after,
.exposicion-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top,
      rgba(0, 0, 0, 0.78) 0%,
      rgba(0, 0, 0, 0.48) 48%,
      rgba(0, 0, 0, 0.16) 100%);
}

.single-exposicion .pg-hero-content,
.exposicion-hero .pg-hero-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 64px;
  z-index: 2;
  width: 100%;
  max-width: var(--ft-container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--ft-side-space);
  padding-right: var(--ft-side-space);
  color: var(--ft-color-white);
}

.single-exposicion .overline,
.exposicion-hero .overline {
  max-width: 920px;
  margin-bottom: 16px;
  font-size: 10px;
  font-weight: var(--ft-font-bold);
  letter-spacing: 0.2em;
  line-height: 1.7;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.single-exposicion .pg-hero-content h1,
.exposicion-hero .pg-hero-content h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(2.8rem, 6.8vw, 6.6rem);
  font-weight: var(--ft-font-extrabold);
  line-height: 0.92;
  letter-spacing: -0.065em;
  color: var(--ft-color-white);
  text-transform: uppercase;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.42);
}

.single-exposicion .pg-hero-content .sub,
.exposicion-hero .pg-hero-content .sub {
  max-width: 760px;
  margin-top: 20px;
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  font-weight: var(--ft-font-medium);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.84);
}

/* ------------------------------------------------------------
   Contenedor principal
   ------------------------------------------------------------ */

.exposicion-wrap,
.hilando-wrap {
  width: 100%;
  max-width: var(--ft-container-max);
  margin-left: auto;
  margin-right: auto;
  padding: 76px var(--ft-side-space) 90px;
}

.exposicion-intro,
.hilando-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 68px;
  align-items: flex-start;
}

/* ------------------------------------------------------------
   Contenido principal de la exposición
   ------------------------------------------------------------ */

.exposicion-main-text {
  min-width: 0;
  max-width: 840px;
}

.exposicion-main-text>*:first-child {
  margin-top: 0;
}

.exposicion-main-text p {
  margin-bottom: 1.45em;
  font-size: 15.5px;
  font-weight: var(--ft-font-regular);
  line-height: 1.9;
  color: var(--ft-color-muted);
}

.exposicion-main-text p.has-large-font-size,
.exposicion-main-text .wp-block-paragraph.has-large-font-size {
  font-size: clamp(1.35rem, 2.4vw, 2.05rem);
  font-weight: var(--ft-font-medium);
  line-height: 1.45;
  letter-spacing: -0.035em;
  color: var(--ft-color-text);
}

.exposicion-main-text h2,
.exposicion-main-text h3,
.exposicion-main-text h4 {
  margin-top: 1.7em;
  margin-bottom: 0.65em;
  font-weight: var(--ft-font-extrabold);
  letter-spacing: -0.04em;
  color: var(--ft-color-text);
}

.exposicion-main-text h2 {
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  line-height: 1;
}

.exposicion-main-text h3 {
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
  line-height: 1.08;
}

.exposicion-main-text ul,
.exposicion-main-text ol {
  margin: 0 0 1.6em 1.2em;
  color: var(--ft-color-muted);
  line-height: 1.8;
}

.exposicion-main-text li {
  margin-bottom: 0.4em;
}

.exposicion-main-text a {
  color: var(--ft-color-navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.exposicion-main-text a:hover,
.exposicion-main-text a:focus {
  color: var(--ft-color-cyan);
}

/* ------------------------------------------------------------
   Imágenes y galería nativa de WordPress
   ------------------------------------------------------------ */

.exposicion-main-text img {
  max-width: 100%;
  height: auto;
}

.exposicion-main-text .wp-block-image {
  margin-top: 44px;
  margin-bottom: 44px;
}

.exposicion-main-text .wp-block-image img {
  display: block;
  width: 100%;
  border-radius: 0;
}

.exposicion-main-text .wp-block-image figcaption,
.exposicion-main-text .wp-block-gallery figcaption {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--ft-color-muted);
  text-align: left;
}

.exposicion-main-text .wp-block-gallery {
  margin-top: 48px;
  margin-bottom: 48px;
  gap: 16px;
}

.exposicion-main-text .wp-block-gallery.has-nested-images figure.wp-block-image {
  margin: 0;
}

.exposicion-main-text .wp-block-gallery.has-nested-images figure.wp-block-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Imagen amplia tipo modelo Hilando Historias */

.exposicion-main-text .alignwide {
  width: calc(100% + 120px);
  max-width: none;
  margin-left: 0;
}

.exposicion-main-text .alignfull {
  width: 100vw;
  max-width: none;
  margin-left: calc((100vw - min(100vw, var(--ft-container-max))) / -2);
}

/* ------------------------------------------------------------
   Mensaje si no hay contenido
   ------------------------------------------------------------ */

.exposicion-empty-content {
  padding: 34px 36px;
  background: var(--ft-color-white);
  border: 1px solid var(--ft-color-border);
}

.exposicion-empty-content p {
  margin: 0;
  color: var(--ft-color-muted);
}

/* ------------------------------------------------------------
   Aside / botones / datos
   ------------------------------------------------------------ */

.exposicion-actions,
.hilando-btns {
  position: sticky;
  top: calc(var(--ft-header-height) + 28px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.exposicion-actions .btn,
.hilando-btns .btn {
  width: 100%;
  justify-content: center;
  text-align: center;
}

.exposicion-data-card {
  margin-top: 14px;
  padding: 26px 28px;
  background: var(--ft-color-white);
  border: 1px solid var(--ft-color-border);
}

.exposicion-data-row {
  padding: 15px 0;
  border-bottom: 1px solid var(--ft-color-border);
}

.exposicion-data-row:first-child {
  padding-top: 0;
}

.exposicion-data-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.exposicion-data-row span {
  display: block;
  margin-bottom: 7px;
  font-size: 9px;
  font-weight: var(--ft-font-bold);
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--ft-color-muted);
}

.exposicion-data-row strong {
  display: block;
  font-size: 13px;
  font-weight: var(--ft-font-medium);
  line-height: 1.65;
  color: var(--ft-color-text);
}

/* ------------------------------------------------------------
   Botón outline, por si no existe aún en el tema
   ------------------------------------------------------------ */

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border: 1.5px solid var(--ft-color-text);
  background: transparent;
  color: var(--ft-color-text);
  font-size: 11px;
  font-weight: var(--ft-font-bold);
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition:
    background var(--ft-transition-fast),
    color var(--ft-transition-fast),
    border-color var(--ft-transition-fast);
}

.btn-outline:hover,
.btn-outline:focus {
  background: var(--ft-color-navy);
  border-color: var(--ft-color-navy);
  color: var(--ft-color-white);
}

/* ------------------------------------------------------------
   Exposiciones relacionadas
   Reemplaza la sección "Entrevistas con el artista"
   ------------------------------------------------------------ */

.exposicion-relacionadas {
  padding: 84px 0 96px;
  background: var(--ft-color-white);
  border-top: 1px solid var(--ft-color-border);
}

.exposicion-relacionadas-inner {
  width: 100%;
  max-width: var(--ft-container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--ft-side-space);
  padding-right: var(--ft-side-space);
}

.exposicion-section-label {
  margin-bottom: 14px;
  font-size: 10px;
  font-weight: var(--ft-font-bold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ft-color-muted);
}

.exposicion-relacionadas h2 {
  max-width: 720px;
  margin: 0 0 34px;
  font-size: clamp(2rem, 3.8vw, 4rem);
  font-weight: var(--ft-font-extrabold);
  line-height: 0.98;
  letter-spacing: -0.055em;
  color: var(--ft-color-text);
  text-transform: uppercase;
}

.exposicion-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.exposicion-related-card,
.entrevista-card {
  overflow: hidden;
  background: var(--ft-color-bg);
  border: 1px solid var(--ft-color-border);
  transition:
    transform var(--ft-transition-normal),
    box-shadow var(--ft-transition-normal),
    border-color var(--ft-transition-fast);
}

.exposicion-related-card:hover,
.exposicion-related-card:focus-within,
.entrevista-card:hover,
.entrevista-card:focus-within {
  transform: translateY(-5px);
  box-shadow: var(--ft-shadow-md);
  border-color: rgba(0, 0, 0, 0.13);
}

.exposicion-related-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.entrevista-thumb {
  height: 210px;
  overflow: hidden;
  background: #111111;
}

.entrevista-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.78);
  transition:
    transform 0.7s var(--ft-ease),
    filter 0.3s ease;
}

.exposicion-related-card:hover .entrevista-thumb img,
.exposicion-related-card:focus-within .entrevista-thumb img {
  transform: scale(1.06);
  filter: brightness(0.62);
}

.entrevista-body {
  padding: 24px 24px 26px;
}

.entrevista-tag {
  margin-bottom: 10px;
  font-size: 9px;
  font-weight: var(--ft-font-bold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ft-color-muted);
}

.entrevista-body h3 {
  margin: 0 0 12px;
  font-size: 1.25rem;
  font-weight: var(--ft-font-extrabold);
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: var(--ft-color-text);
}

.entrevista-body p {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--ft-color-muted);
}

/* ------------------------------------------------------------
   Modal entrevista YouTube
   ------------------------------------------------------------ */

body.exposicion-video-is-open {
  overflow: hidden;
}

.exposicion-video-modal[hidden] {
  display: none;
}

.exposicion-video-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

.exposicion-video-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(6px);
}

.exposicion-video-box {
  position: relative;
  z-index: 2;
  width: min(980px, 100%);
  background: #000000;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.46);
}

.exposicion-video-close {
  position: absolute;
  top: -44px;
  right: 0;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: var(--ft-color-white);
  color: var(--ft-color-black);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.exposicion-video-close:hover,
.exposicion-video-close:focus {
  background: var(--ft-color-cyan);
  color: var(--ft-color-white);
}

.exposicion-video-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}

.exposicion-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ============================================================
   RESPONSIVE SINGLE EXPOSICIÓN
   ============================================================ */

@media (max-width: 1180px) {

  .exposicion-intro,
  .hilando-intro {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 48px;
  }

  .exposicion-main-text .alignwide {
    width: 100%;
  }
}

@media (max-width: 960px) {

  .single-exposicion .pg-hero,
  .exposicion-hero {
    height: 460px;
    min-height: 400px;
  }

  .exposicion-wrap,
  .hilando-wrap {
    padding-top: 66px;
    padding-bottom: 78px;
  }

  .exposicion-intro,
  .hilando-intro {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .exposicion-main-text {
    max-width: 100%;
  }

  .exposicion-actions,
  .hilando-btns {
    position: relative;
    top: auto;
    max-width: 520px;
  }

  .exposicion-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {

  .single-exposicion .pg-hero,
  .exposicion-hero {
    height: 390px;
    min-height: 360px;
  }

  .single-exposicion .pg-hero-content,
  .exposicion-hero .pg-hero-content {
    bottom: 44px;
    padding-left: 28px;
    padding-right: 28px;
  }

  .single-exposicion .pg-hero-content h1,
  .exposicion-hero .pg-hero-content h1 {
    font-size: clamp(2.35rem, 12vw, 4.4rem);
  }

  .single-exposicion .pg-hero-content .sub,
  .exposicion-hero .pg-hero-content .sub {
    margin-top: 16px;
  }

  .exposicion-wrap,
  .hilando-wrap {
    padding: 54px 28px 68px;
  }

  .exposicion-main-text p {
    font-size: 14.5px;
    line-height: 1.85;
  }

  .exposicion-main-text .wp-block-gallery {
    margin-top: 36px;
    margin-bottom: 36px;
  }

  .exposicion-relacionadas {
    padding-top: 64px;
    padding-bottom: 74px;
  }

  .exposicion-relacionadas-inner {
    padding-left: 28px;
    padding-right: 28px;
  }

  .exposicion-related-grid {
    grid-template-columns: 1fr;
  }

  .exposicion-related-card:hover,
  .exposicion-related-card:focus-within,
  .entrevista-card:hover,
  .entrevista-card:focus-within {
    transform: none;
  }

  .exposicion-video-modal {
    padding: 22px;
  }

  .exposicion-video-close {
    top: -46px;
    right: 0;
  }
}

@media (max-width: 480px) {

  .single-exposicion .pg-hero,
  .exposicion-hero {
    height: 350px;
    min-height: 320px;
  }

  .single-exposicion .pg-hero-content,
  .exposicion-hero .pg-hero-content {
    bottom: 36px;
    padding-left: 22px;
    padding-right: 22px;
  }

  .single-exposicion .overline,
  .exposicion-hero .overline {
    font-size: 8.5px;
    letter-spacing: 0.16em;
  }

  .single-exposicion .pg-hero-content .sub,
  .exposicion-hero .pg-hero-content .sub {
    font-size: 0.95rem;
  }

  .exposicion-wrap,
  .hilando-wrap {
    padding-left: 22px;
    padding-right: 22px;
  }

  .exposicion-data-card {
    padding: 24px;
  }

  .entrevista-thumb {
    height: 190px;
  }

  .entrevista-body {
    padding: 22px;
  }
}


/* ============================================================
   PAGE ARTES VISUALES
   Modelo: theme-model.html / page-artes-visuales
   ============================================================ */

.page-artes-visuales {
  background: var(--ft-color-bg);
}

/* ------------------------------------------------------------
   Hero Artes Visuales
   ------------------------------------------------------------ */

#page-artes-visuales .pg-hero,
.artes-visuales-hero {
  position: relative;
  height: 430px;
  min-height: 360px;
  margin-top: var(--ft-header-height);
  overflow: hidden;
  background: #111111;
}

#page-artes-visuales .pg-hero img,
.artes-visuales-hero img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.58);
}

#page-artes-visuales .pg-hero::after,
.artes-visuales-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top,
      rgba(0, 0, 0, 0.74) 0%,
      rgba(0, 0, 0, 0.42) 48%,
      rgba(0, 0, 0, 0.12) 100%);
}

#page-artes-visuales .pg-hero-content,
.artes-visuales-hero .pg-hero-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 58px;
  z-index: 2;
  width: 100%;
  max-width: var(--ft-container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--ft-side-space);
  padding-right: var(--ft-side-space);
  color: var(--ft-color-white);
}

#page-artes-visuales .pg-hero-content .overline,
.artes-visuales-hero .overline {
  margin-bottom: 14px;
  font-size: 10px;
  font-weight: var(--ft-font-bold);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

#page-artes-visuales .pg-hero-content h1,
.artes-visuales-hero .pg-hero-content h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(2.5rem, 5.5vw, 5.6rem);
  font-weight: var(--ft-font-extrabold);
  line-height: 0.96;
  letter-spacing: -0.06em;
  color: var(--ft-color-white);
  text-transform: uppercase;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.42);
}

#page-artes-visuales .pg-hero-content .sub,
.artes-visuales-hero .sub {
  max-width: 720px;
  margin-top: 18px;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: var(--ft-font-medium);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.84);
}

/* ------------------------------------------------------------
   AV2 FILTER BAR
   Estructura original del modelo
   ------------------------------------------------------------ */

.av2-filter-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 1.4rem var(--ft-side-space);
  background: var(--ft-color-white);
  border-bottom: 1px solid var(--ft-color-mid);
}

.av2-filter-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--ft-color-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.av2-select {
  border: 1px solid var(--ft-color-mid);
  border-radius: 7px;
  padding: 6px 12px;
  font-size: 13px;
  font-family: inherit;
  background: var(--ft-color-white);
  cursor: pointer;
  color: var(--ft-color-text);
}

.av2-filter-reset {
  display: inline-flex;
  align-items: center;
  min-height: 33px;
  padding: 6px 12px;
  border: 1px solid var(--ft-color-mid);
  border-radius: 7px;
  background: var(--ft-color-white);
  color: var(--ft-color-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}

.av2-filter-reset:hover,
.av2-filter-reset:focus {
  color: var(--ft-color-navy);
  border-color: var(--ft-color-navy);
}

/* ------------------------------------------------------------
   Contenido opcional de la página
   ------------------------------------------------------------ */

.artes-visuales-intro {
  max-width: 820px;
  margin: 0 auto;
  padding: 2.2rem var(--ft-side-space) 0;
  text-align: center;
}

.artes-visuales-intro p {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  line-height: 1.85;
  color: var(--ft-color-muted);
}

.artes-visuales-intro p:last-child {
  margin-bottom: 0;
}

/* ------------------------------------------------------------
   AV2 GRID
   Estructura original del modelo
   ------------------------------------------------------------ */

.av2-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 2.5rem var(--ft-side-space);
  background: var(--ft-color-bg);
}

/* ------------------------------------------------------------
   AV2 CARD
   ------------------------------------------------------------ */

.av2-card {
  display: block;
  background: var(--ft-color-white);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--ft-color-mid);
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.av2-card:hover,
.av2-card:focus {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  color: inherit;
  text-decoration: none;
}

.av2-card:focus-visible {
  outline: 3px solid var(--ft-color-cyan);
  outline-offset: 3px;
}

/* Imagen como background-image, igual que el modelo */

.av2-img {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #111111;
}

/* Cuerpo */

.av2-body {
  padding: 14px 16px;
}

.av2-body h3 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ft-color-text);
}

.av2-meta {
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 500;
  color: var(--ft-color-muted);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.45;
}

.av2-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.av2-tag {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  padding: 3px 9px;
  border-radius: 20px;
  border: 1px solid var(--ft-color-mid);
  color: #555555;
  background: var(--ft-color-white);
}

.av2-tag.av2-free {
  background: #D1FAE5;
  border-color: #6EE7B7;
  color: #065F46;
}

/* ------------------------------------------------------------
   Empty state
   ------------------------------------------------------------ */

.av2-empty,
.exposiciones-empty {
  grid-column: 1 / -1;
  max-width: 760px;
  margin: 0 auto;
  padding: 42px 34px;
  text-align: center;
  background: var(--ft-color-white);
  border: 1px solid var(--ft-color-mid);
  border-radius: 10px;
}

.av2-empty h2,
.exposiciones-empty h2 {
  margin-bottom: 12px;
  font-size: 1.5rem;
  font-weight: var(--ft-font-extrabold);
  color: var(--ft-color-text);
}

.av2-empty p,
.exposiciones-empty p {
  margin: 0;
  color: var(--ft-color-muted);
  line-height: 1.7;
}

/* ------------------------------------------------------------
   AV2 INFO STRIP
   Si luego se usa debajo del grid
   ------------------------------------------------------------ */

.av2-info-strip {
  background: var(--ft-color-navy);
  padding: 20px var(--ft-side-space);
}

.av2-info-inner {
  max-width: var(--ft-container-max);
  margin: 0 auto;
  display: flex;
  gap: 48px;
  align-items: center;
  flex-wrap: wrap;
}

/* ============================================================
   RESPONSIVE PAGE ARTES VISUALES
   ============================================================ */

@media (max-width: 1180px) {
  .av2-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {

  #page-artes-visuales .pg-hero,
  .artes-visuales-hero {
    height: 350px;
    min-height: 320px;
  }

  #page-artes-visuales .pg-hero-content,
  .artes-visuales-hero .pg-hero-content {
    bottom: 44px;
    padding-left: 28px;
    padding-right: 28px;
  }

  #page-artes-visuales .pg-hero-content h1,
  .artes-visuales-hero .pg-hero-content h1 {
    font-size: clamp(2.2rem, 11vw, 4rem);
  }

  .av2-filter-bar {
    flex-wrap: wrap;
    padding-left: 28px;
    padding-right: 28px;
  }

  .av2-grid {
    grid-template-columns: 1fr;
    padding: 2rem 28px;
  }

  .av2-card:hover,
  .av2-card:focus {
    transform: none;
  }
}

@media (max-width: 480px) {

  #page-artes-visuales .pg-hero,
  .artes-visuales-hero {
    height: 310px;
    min-height: 290px;
  }

  #page-artes-visuales .pg-hero-content,
  .artes-visuales-hero .pg-hero-content {
    bottom: 36px;
    padding-left: 22px;
    padding-right: 22px;
  }

  #page-artes-visuales .pg-hero-content .overline,
  .artes-visuales-hero .overline {
    font-size: 9px;
    letter-spacing: 0.18em;
  }

  .av2-filter-bar {
    padding-left: 22px;
    padding-right: 22px;
  }

  .av2-select {
    max-width: 100%;
  }

  .av2-grid {
    padding-left: 22px;
    padding-right: 22px;
  }
}


/* ============================================================
   ARTES VISUALES - COMMUNITY + INFO STRIP
   ============================================================ */

/* ------------------------------------------------------------
   Comunidad artística
   ------------------------------------------------------------ */

/* ============================================================
   ARTES VISUALES - COMMUNITY WIDGET
   ============================================================ */

#page-artes-visuales .community {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #111111;
}

#page-artes-visuales .community::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to right,
      rgba(13, 31, 60, 0.82) 0%,
      rgba(13, 31, 60, 0.62) 48%,
      rgba(13, 31, 60, 0.38) 100%);
}

#page-artes-visuales .community-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 320px;
  padding: 58px var(--ft-side-space);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ft-color-white);
}

#page-artes-visuales .community-content {
  width: 100%;
  max-width: var(--ft-container-max);
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

#page-artes-visuales .community-content h2 {
  max-width: 900px;
  margin: 0 auto 24px;
  font-size: clamp(1.8rem, 3.2vw, 3.2rem);
  font-weight: var(--ft-font-extrabold);
  line-height: 1.08;
  letter-spacing: -0.045em;
  color: var(--ft-color-white);
  text-transform: uppercase;
}

#page-artes-visuales .community-content .btn {
  margin-left: auto;
  margin-right: auto;
}

#page-artes-visuales .community-content .btn {
  margin-top: 0;
}

.btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 14px 24px;
  border: 1px solid var(--ft-color-white);
  background: var(--ft-color-white);
  color: var(--ft-color-navy);
  font-size: 11px;
  font-weight: var(--ft-font-bold);
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background var(--ft-transition-fast),
    color var(--ft-transition-fast),
    border-color var(--ft-transition-fast);
}

.btn-white:hover,
.btn-white:focus {
  background: transparent;
  color: var(--ft-color-white);
  border-color: var(--ft-color-white);
}

@media (max-width: 720px) {
  #page-artes-visuales .community {
    min-height: 280px;
  }

  #page-artes-visuales .community-overlay {
    min-height: 280px;
    padding: 48px 28px;
  }

  #page-artes-visuales .community-content h2 {
    font-size: clamp(1.7rem, 8vw, 2.8rem);
  }
}

@media (max-width: 480px) {
  #page-artes-visuales .community-overlay {
    padding-left: 22px;
    padding-right: 22px;
  }
}

/* ------------------------------------------------------------
   Info strip Artes Visuales
   ------------------------------------------------------------ */

.av2-info-strip {
  background: var(--ft-color-navy);
  padding: 20px var(--ft-side-space);
}

.av2-info-inner {
  max-width: var(--ft-container-max);
  margin: 0 auto;
  display: flex;
  gap: 48px;
  align-items: center;
  flex-wrap: wrap;
}

.av2-info-inner .info-item {
  min-width: 190px;
}

.av2-info-inner .info-item .lbl {
  display: block;
  margin-bottom: 5px;
  font-size: 9px;
  font-weight: var(--ft-font-bold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.48);
}

.av2-info-inner .info-item .val {
  display: block;
  font-size: 13px;
  font-weight: var(--ft-font-extrabold);
  line-height: 1.45;
  color: var(--ft-color-white);
}

/* ------------------------------------------------------------
   Responsive
   ------------------------------------------------------------ */

@media (max-width: 900px) {
  #page-artes-visuales .community-overlay {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }

  #page-artes-visuales .community-overlay h2 {
    max-width: 100%;
  }

  .av2-info-inner {
    gap: 28px;
  }
}

@media (max-width: 720px) {
  #page-artes-visuales .community {
    min-height: 320px;
  }

  #page-artes-visuales .community-imgs {
    grid-template-columns: 1fr;
  }

  #page-artes-visuales .community-imgs img:nth-child(2),
  #page-artes-visuales .community-imgs img:nth-child(3) {
    display: none;
  }

  #page-artes-visuales .community-overlay {
    min-height: 320px;
    padding: 58px 28px;
  }

  #page-artes-visuales .community-overlay h2 {
    font-size: clamp(2rem, 10vw, 3.6rem);
  }

  .av2-info-strip {
    padding-left: 28px;
    padding-right: 28px;
  }

  .av2-info-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .av2-info-inner .info-item {
    min-width: 0;
  }
}

@media (max-width: 480px) {
  #page-artes-visuales .community-overlay {
    padding-left: 22px;
    padding-right: 22px;
  }

  .av2-info-strip {
    padding-left: 22px;
    padding-right: 22px;
  }
}



/* ============================================================
   PAGE CINECLUB
   ============================================================ */

.page-cineclub {
  background: var(--ft-color-bg);
}

/* ------------------------------------------------------------
   HERO CINECLUB
   ------------------------------------------------------------ */

#page-cineclub .pg-hero,
.cineclub-hero {
  position: relative;
  height: 430px;
  min-height: 360px;
  margin-top: var(--ft-header-height);
  overflow: hidden;
  background: #111111;
}

#page-cineclub .pg-hero img,
.cineclub-hero img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.58);
}

#page-cineclub .pg-hero::after,
.cineclub-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top,
      rgba(0, 0, 0, 0.76) 0%,
      rgba(0, 0, 0, 0.44) 48%,
      rgba(0, 0, 0, 0.12) 100%);
}

#page-cineclub .pg-hero-content,
.cineclub-hero .pg-hero-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 58px;
  z-index: 2;
  width: 100%;
  max-width: var(--ft-container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--ft-side-space);
  padding-right: var(--ft-side-space);
  color: var(--ft-color-white);
}

#page-cineclub .pg-hero-content .overline,
.cineclub-hero .overline {
  margin-bottom: 14px;
  font-size: 10px;
  font-weight: var(--ft-font-bold);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

#page-cineclub .pg-hero-content h1,
.cineclub-hero .pg-hero-content h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(2.5rem, 5.5vw, 5.6rem);
  font-weight: var(--ft-font-extrabold);
  line-height: 0.96;
  letter-spacing: -0.06em;
  color: var(--ft-color-white);
  text-transform: uppercase;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.42);
}

#page-cineclub .pg-hero-content .sub,
.cineclub-hero .sub {
  max-width: 720px;
  margin-top: 18px;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: var(--ft-font-medium);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.84);
}

/* ------------------------------------------------------------
   FILTRO CINECLUB
   ------------------------------------------------------------ */

.cine-filter-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 1.4rem var(--ft-side-space);
  background: var(--ft-color-white);
  border-bottom: 1px solid var(--ft-color-mid);
}

.cine-filter-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--ft-color-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cine-select {
  border: 1px solid var(--ft-color-mid);
  border-radius: 7px;
  padding: 6px 12px;
  font-size: 13px;
  font-family: inherit;
  background: var(--ft-color-white);
  cursor: pointer;
  color: var(--ft-color-text);
}

.cine-filter-reset {
  display: inline-flex;
  align-items: center;
  min-height: 33px;
  padding: 6px 12px;
  border: 1px solid var(--ft-color-mid);
  border-radius: 7px;
  background: var(--ft-color-white);
  color: var(--ft-color-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}

.cine-filter-reset:hover,
.cine-filter-reset:focus {
  color: var(--ft-color-navy);
  border-color: var(--ft-color-navy);
}

/* ------------------------------------------------------------
   CICLO DESTACADO
   ------------------------------------------------------------ */

.cine-ciclo {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background: #050505;
  color: var(--ft-color-white);
}

.cine-ciclo>img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.34) contrast(1.08);
}

.cine-ciclo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to right,
      rgba(0, 0, 0, 0.88) 0%,
      rgba(0, 0, 0, 0.68) 45%,
      rgba(0, 0, 0, 0.35) 100%);
}

.cine-film-grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.16;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.28) 1px, transparent 1px);
  background-size: 4px 4px;
  mix-blend-mode: screen;
}

.cine-ciclo-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--ft-container-max);
  min-height: 560px;
  margin-left: auto;
  margin-right: auto;
  padding: 78px var(--ft-side-space);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.7fr);
  gap: 70px;
  align-items: center;
}

.cine-ciclo-title .pre {
  margin-bottom: 0;
  font-size: 11px;
  font-weight: var(--ft-font-bold);
  line-height: 1.4;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.58);
}

.cine-ciclo-title .scan-line {
  width: 60px;
  height: 2px;
  margin: 14px 0;
  background: var(--ft-color-cyan);
  opacity: 0.9;
}

.cine-ciclo-title h2 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(3rem, 7vw, 7.2rem);
  font-weight: var(--ft-font-extrabold);
  line-height: 0.88;
  letter-spacing: -0.075em;
  color: var(--ft-color-white);
  text-transform: uppercase;
}

.cine-ciclo-title .post {
  max-width: 620px;
  margin-top: 22px;
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  font-weight: var(--ft-font-medium);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.72);
}

.cine-ciclo-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.cine-ciclo-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 5px 11px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.62);
  font-size: 10px;
  font-weight: var(--ft-font-bold);
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.cine-ciclo-tags .cine-ciclo-free {
  border-color: var(--ft-color-cyan);
  color: var(--ft-color-cyan);
}

.cine-ciclo-info {
  max-width: 440px;
  padding: 34px 34px 32px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(8px);
}

.cine-ciclo-info h4 {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: var(--ft-font-bold);
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--ft-color-cyan);
}

.cine-ciclo-description {
  color: rgba(255, 255, 255, 0.74);
}

.cine-ciclo-description p {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: var(--ft-font-regular);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.74);
}

.cine-ciclo-description p:last-child {
  margin-bottom: 0;
}

.cine-ciclo-info-line {
  width: 40px;
  height: 2px;
  margin-top: 24px;
  margin-bottom: 12px;
  background: var(--ft-color-cyan);
}

.cine-ciclo-schedule {
  margin: 0;
  font-size: 11px;
  font-weight: var(--ft-font-bold);
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.48);
}

/* ------------------------------------------------------------
   PROGRAMACIÓN CINECLUB
   ------------------------------------------------------------ */

.cineclub-programacion {
  width: 100%;
  max-width: var(--ft-container-max);
  margin-left: auto;
  margin-right: auto;
  padding: 70px var(--ft-side-space) 0;
}

.cineclub-intro {
  max-width: 820px;
  margin: 0 auto 46px;
  text-align: center;
}

.cineclub-intro p {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-weight: var(--ft-font-regular);
  line-height: 1.85;
  color: var(--ft-color-muted);
}

.prog-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--ft-color-mid);
}

.prog-header h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: var(--ft-font-extrabold);
  line-height: 0.98;
  letter-spacing: -0.055em;
  color: var(--ft-color-text);
  text-transform: uppercase;
}

.month-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--ft-color-navy);
  color: var(--ft-color-white);
  font-size: 12px;
  font-weight: var(--ft-font-bold);
  letter-spacing: 0.12em;
  line-height: 1;
}

/* ------------------------------------------------------------
   FILM GRID / CARD
   ------------------------------------------------------------ */

.film-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.film-card {
  display: block;
  overflow: hidden;
  background: var(--ft-color-white);
  border: 1px solid var(--ft-color-mid);
  border-radius: 10px;
  color: inherit;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.035);
  transition:
    transform var(--ft-transition-normal),
    box-shadow var(--ft-transition-normal),
    border-color var(--ft-transition-fast);
}

.film-card:hover,
.film-card:focus-within {
  transform: translateY(-3px);
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.10);
}

.film-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #111111;
}

.film-img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform var(--ft-transition-normal);
}

.film-card:hover .film-img img,
.film-card:focus-within .film-img img {
  transform: scale(1.045);
}

.film-info {
  padding: 18px 18px 17px;
}

.film-info h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: var(--ft-font-extrabold);
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--ft-color-text);
}

.film-info .dir,
.dir {
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: var(--ft-font-medium);
  line-height: 1.45;
  color: var(--ft-color-muted);
}

.film-summary {
  display: -webkit-box;
  margin-bottom: 14px;
  overflow: hidden;
  font-size: 12.5px;
  font-weight: var(--ft-font-regular);
  line-height: 1.55;
  color: var(--ft-color-muted);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.film-date-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--ft-color-mid);
}

.film-date {
  display: flex;
  align-items: center;
  gap: 10px;
}

.film-day {
  min-width: 42px;
  font-size: 2rem;
  font-weight: var(--ft-font-extrabold);
  line-height: 0.9;
  letter-spacing: -0.07em;
  color: var(--ft-color-navy);
}

.film-day-info {
  font-size: 11px;
  font-weight: var(--ft-font-bold);
  line-height: 1.35;
  color: var(--ft-color-muted);
  text-transform: uppercase;
}

.film-libre {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #D1FAE5;
  border: 1px solid #6EE7B7;
  color: #065F46;
  font-size: 10px;
  font-weight: var(--ft-font-bold);
  line-height: 1;
  white-space: nowrap;
  text-transform: uppercase;
}

/* ------------------------------------------------------------
   EMPTY
   ------------------------------------------------------------ */

.film-empty {
  max-width: 760px;
  margin: 0 auto;
  padding: 46px 34px;
  text-align: center;
  background: var(--ft-color-white);
  border: 1px solid var(--ft-color-mid);
  border-radius: 10px;
}

.film-empty h2 {
  margin: 0 0 12px;
  font-size: 1.5rem;
  font-weight: var(--ft-font-extrabold);
  letter-spacing: -0.035em;
  color: var(--ft-color-text);
}

.film-empty p {
  margin: 0;
  color: var(--ft-color-muted);
  line-height: 1.7;
}

/* ------------------------------------------------------------
   CÓMO LLEGAR
   ------------------------------------------------------------ */

.cine-como-llegar {
  text-align: center;
  padding: 36px 0 18px;
}

.cine-como-llegar .btn-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 14px 24px;
  border: 1px solid var(--ft-color-navy);
  background: var(--ft-color-navy);
  color: var(--ft-color-white);
  font-size: 11px;
  font-weight: var(--ft-font-bold);
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition:
    background var(--ft-transition-fast),
    color var(--ft-transition-fast),
    border-color var(--ft-transition-fast);
}

.cine-como-llegar .btn-dark:hover,
.cine-como-llegar .btn-dark:focus {
  background: transparent;
  color: var(--ft-color-navy);
  border-color: var(--ft-color-navy);
}

/* ------------------------------------------------------------
   BANNER INFERIOR CINECLUB
   ------------------------------------------------------------ */

.cineclub-banner {
  position: relative;
  height: 260px;
  margin-top: 48px;
  overflow: hidden;
  background-color: #111111;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.cineclub-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.68);
}

.cineclub-banner-overlay {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: var(--ft-color-white);
  text-align: center;
  padding: 34px var(--ft-side-space);
}

.cineclub-banner-kicker {
  margin-bottom: 14px;
  font-size: 10px;
  font-weight: var(--ft-font-bold);
  letter-spacing: 0.25em;
  line-height: 1.4;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.cineclub-banner-title {
  max-width: 900px;
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  font-weight: var(--ft-font-extrabold);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-style: italic;
  color: var(--ft-color-white);
}

/* ------------------------------------------------------------
   INFO STRIP CINECLUB
   ------------------------------------------------------------ */

.info-strip.cineclub-info-strip {
  background: var(--ft-color-navy);
  padding: 20px var(--ft-side-space);
}

.info-strip.cineclub-info-strip .info-strip-inner {
  max-width: var(--ft-container-max);
  margin: 0 auto;
  display: flex;
  gap: 48px;
  align-items: center;
  flex-wrap: wrap;
}

.info-strip.cineclub-info-strip .info-item {
  min-width: 190px;
}

.info-strip.cineclub-info-strip .info-item .lbl {
  display: block;
  margin-bottom: 5px;
  font-size: 9px;
  font-weight: var(--ft-font-bold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.48);
}

.info-strip.cineclub-info-strip .info-item .val {
  display: block;
  font-size: 13px;
  font-weight: var(--ft-font-extrabold);
  line-height: 1.45;
  color: var(--ft-color-white);
}

/* ------------------------------------------------------------
   RESPONSIVE CINECLUB
   ------------------------------------------------------------ */

@media (max-width: 1180px) {
  .cine-ciclo-inner {
    grid-template-columns: 1fr;
    gap: 44px;
    align-items: end;
  }

  .cine-ciclo-info {
    max-width: 720px;
  }

  .film-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .cine-filter-bar {
    flex-wrap: wrap;
  }

  .cine-ciclo {
    min-height: auto;
  }

  .cine-ciclo-inner {
    min-height: 560px;
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .cine-ciclo-title h2 {
    font-size: clamp(3rem, 13vw, 5.8rem);
  }

  .prog-header {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 720px) {

  #page-cineclub .pg-hero,
  .cineclub-hero {
    height: 350px;
    min-height: 320px;
  }

  #page-cineclub .pg-hero-content,
  .cineclub-hero .pg-hero-content {
    bottom: 44px;
    padding-left: 28px;
    padding-right: 28px;
  }

  #page-cineclub .pg-hero-content h1,
  .cineclub-hero .pg-hero-content h1 {
    font-size: clamp(2.2rem, 11vw, 4rem);
  }

  .cine-filter-bar {
    padding-left: 28px;
    padding-right: 28px;
  }

  .cine-ciclo-inner {
    padding-left: 28px;
    padding-right: 28px;
  }

  .cine-ciclo-info {
    padding: 28px 24px 26px;
  }

  .cineclub-programacion {
    padding: 54px 28px 0;
  }

  .film-grid {
    grid-template-columns: 1fr;
  }

  .film-card:hover,
  .film-card:focus-within {
    transform: none;
  }

  .film-card:hover .film-img img,
  .film-card:focus-within .film-img img {
    transform: none;
  }

  .cineclub-banner-overlay {
    padding-left: 28px;
    padding-right: 28px;
  }

  .info-strip.cineclub-info-strip {
    padding-left: 28px;
    padding-right: 28px;
  }

  .info-strip.cineclub-info-strip .info-strip-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .info-strip.cineclub-info-strip .info-item {
    min-width: 0;
  }
}

@media (max-width: 480px) {

  #page-cineclub .pg-hero,
  .cineclub-hero {
    height: 310px;
    min-height: 290px;
  }

  #page-cineclub .pg-hero-content,
  .cineclub-hero .pg-hero-content {
    bottom: 36px;
    padding-left: 22px;
    padding-right: 22px;
  }

  #page-cineclub .pg-hero-content .overline,
  .cineclub-hero .overline {
    font-size: 9px;
    letter-spacing: 0.18em;
  }

  .cine-filter-bar {
    padding-left: 22px;
    padding-right: 22px;
  }

  .cine-select {
    max-width: 100%;
  }

  .cine-ciclo-inner {
    padding-left: 22px;
    padding-right: 22px;
  }

  .cine-ciclo-title h2 {
    font-size: clamp(2.8rem, 15vw, 4.8rem);
  }

  .cine-ciclo-title .post {
    font-size: 1rem;
  }

  .cine-ciclo-tags span {
    font-size: 9px;
  }

  .cine-ciclo-info {
    padding: 26px 22px 24px;
  }

  .cineclub-programacion {
    padding-left: 22px;
    padding-right: 22px;
  }

  .prog-header h2 {
    font-size: clamp(1.9rem, 11vw, 3.2rem);
  }

  .film-info {
    padding: 17px 16px 16px;
  }

  .film-date-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .film-libre {
    align-self: flex-start;
  }

  .cineclub-banner {
    height: 230px;
  }

  .cineclub-banner-overlay {
    padding-left: 22px;
    padding-right: 22px;
  }

  .info-strip.cineclub-info-strip {
    padding-left: 22px;
    padding-right: 22px;
  }
}



/* ============================================================
   PAGE MUSEO
   ============================================================ */

.page-museo {
  background: var(--ft-color-bg);
}

/* ------------------------------------------------------------
   HERO MUSEO
   ------------------------------------------------------------ */

#page-museo .pg-hero,
.museo-hero {
  position: relative;
  height: 430px;
  min-height: 360px;
  margin-top: var(--ft-header-height);
  overflow: hidden;
  background: #111111;
}

#page-museo .pg-hero img,
.museo-hero img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.58);
}

#page-museo .pg-hero::after,
.museo-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top,
      rgba(0, 0, 0, 0.76) 0%,
      rgba(0, 0, 0, 0.44) 48%,
      rgba(0, 0, 0, 0.12) 100%);
}

#page-museo .pg-hero-content,
.museo-hero .pg-hero-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 58px;
  z-index: 2;
  width: 100%;
  max-width: var(--ft-container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--ft-side-space);
  padding-right: var(--ft-side-space);
  color: var(--ft-color-white);
}

#page-museo .pg-hero-content .overline,
.museo-hero .overline {
  margin-bottom: 14px;
  font-size: 10px;
  font-weight: var(--ft-font-bold);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

#page-museo .pg-hero-content h1,
.museo-hero .pg-hero-content h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(2.5rem, 5.5vw, 5.6rem);
  font-weight: var(--ft-font-extrabold);
  line-height: 0.96;
  letter-spacing: -0.06em;
  color: var(--ft-color-white);
  text-transform: uppercase;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.42);
}

/* ------------------------------------------------------------
   FILTRO MUSEO
   ------------------------------------------------------------ */

.museo-filter-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 1.4rem var(--ft-side-space);
  background: var(--ft-color-white);
  border-bottom: 1px solid var(--ft-color-mid);
}

.museo-filter-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--ft-color-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.museo-select {
  border: 1px solid var(--ft-color-mid);
  border-radius: 7px;
  padding: 6px 12px;
  font-size: 13px;
  font-family: inherit;
  background: var(--ft-color-white);
  cursor: pointer;
  color: var(--ft-color-text);
}

.museo-filter-reset {
  display: inline-flex;
  align-items: center;
  min-height: 33px;
  padding: 6px 12px;
  border: 1px solid var(--ft-color-mid);
  border-radius: 7px;
  background: var(--ft-color-white);
  color: var(--ft-color-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}

.museo-filter-reset:hover,
.museo-filter-reset:focus {
  color: var(--ft-color-navy);
  border-color: var(--ft-color-navy);
}

/* ------------------------------------------------------------
   ENCABEZADO PIEZA DEL MES
   ------------------------------------------------------------ */

.museo-heading-section {
  background: var(--ft-color-bg);
  padding: 40px var(--ft-side-space) 0;
}

.museo-heading-inner {
  width: 100%;
  max-width: var(--ft-container-max);
  margin-left: auto;
  margin-right: auto;
}

.museo-section-label {
  margin-bottom: 6px;
  font-size: 10px;
  font-weight: var(--ft-font-bold);
  letter-spacing: 0.22em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--ft-color-muted);
}

.museo-heading-inner h2 {
  margin: 0 0 28px;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: var(--ft-font-extrabold);
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--ft-color-text);
}

/* ------------------------------------------------------------
   PIEZA DESTACADA
   ------------------------------------------------------------ */

.museo-pieza {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  min-height: 520px;
  background: #111111;
  color: var(--ft-color-white);
  overflow: hidden;
}

.museo-pieza>img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.74);
}

.museo-pieza-text {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 70px var(--ft-side-space) 70px 56px;
  background: var(--ft-color-navy);
}

.museo-pieza-text::before {
  content: "";
  position: absolute;
  left: -80px;
  top: 0;
  bottom: 0;
  width: 160px;
  background: linear-gradient(to right, rgba(13, 31, 60, 0), var(--ft-color-navy));
  pointer-events: none;
}

.museo-pieza-text .tag {
  position: relative;
  z-index: 1;
  margin-bottom: 16px;
  font-size: 10px;
  font-weight: var(--ft-font-bold);
  letter-spacing: 0.18em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--ft-color-cyan);
}

.museo-pieza-text h2 {
  position: relative;
  z-index: 1;
  margin: 0 0 18px;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  font-weight: var(--ft-font-extrabold);
  line-height: 0.96;
  letter-spacing: -0.055em;
  color: var(--ft-color-white);
  text-transform: uppercase;
}

.museo-pieza-text p {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin: 0;
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  font-weight: var(--ft-font-regular);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.78);
}

/* Datos técnicos pieza */

.museo-pieza-data {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  max-width: 620px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.museo-pieza-data-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 14px;
  align-items: baseline;
}

.museo-pieza-data-row span {
  font-size: 9px;
  font-weight: var(--ft-font-bold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.museo-pieza-data-row strong {
  font-size: 13px;
  font-weight: var(--ft-font-bold);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.86);
}


/* ============================================================
   MUSEO - DESARROLLO DE PIEZA DESTACADA
   Va después del bloque de pieza y antes de la infografía
   ============================================================ */

.museo-pieza-desarrollo {
  padding-top: 64px;
  padding-bottom: 24px;
}

.museo-pieza-desarrollo-content {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--ft-color-text);
}

.museo-pieza-desarrollo .museo-section-label {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 14px;
}

.museo-pieza-desarrollo-content p {
  margin: 0 0 1.35em;
  font-size: 1rem;
  font-weight: var(--ft-font-regular);
  line-height: 1.85;
  color: var(--ft-color-text);
}

.museo-pieza-desarrollo-content p:last-child {
  margin-bottom: 0;
}

.museo-pieza-desarrollo-content h2,
.museo-pieza-desarrollo-content h3,
.museo-pieza-desarrollo-content h4 {
  margin-top: 1.5em;
  margin-bottom: 0.75em;
  font-weight: var(--ft-font-extrabold);
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: var(--ft-color-text);
}

.museo-pieza-desarrollo-content h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.museo-pieza-desarrollo-content h3 {
  font-size: clamp(1.4rem, 2.4vw, 2rem);
}

.museo-pieza-desarrollo-content ul,
.museo-pieza-desarrollo-content ol {
  margin: 0 0 1.35em 1.25em;
  padding: 0;
  color: var(--ft-color-text);
}

.museo-pieza-desarrollo-content li {
  margin-bottom: 0.5em;
  line-height: 1.75;
}

.museo-pieza-desarrollo-content a {
  color: var(--ft-color-cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.museo-pieza-desarrollo-content img {
  max-width: 100%;
  height: auto;
  margin-top: 18px;
  border-radius: 8px;
}

@media (max-width: 720px) {
  .museo-pieza-desarrollo {
    padding-top: 48px;
    padding-bottom: 18px;
  }
}

/* ------------------------------------------------------------
   INFOGRAFÍA
   ------------------------------------------------------------ */

.infografia-section {
  padding-top: 72px;
  padding-bottom: 54px;
}

.infografia-section h3 {
  margin: 0 0 26px;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: var(--ft-font-extrabold);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--ft-color-text);
  text-align: center;
}

.infografia-img {
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
  background: var(--ft-color-white);
  border: 1px solid var(--ft-color-mid);
  border-radius: 10px;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.06);
}

.infografia-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* ------------------------------------------------------------
   TEXTO LLAMADA
   ------------------------------------------------------------ */

.museo-callout {
  padding-top: 10px;
  padding-bottom: 28px;
}

.museo-callout p {
  max-width: 980px;
  margin: 0 auto;
  padding: 36px 0 20px;
  text-align: center;
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: var(--ft-font-bold);
  line-height: 1.45;
  letter-spacing: -0.015em;
  color: var(--ft-color-text);
}

/* ------------------------------------------------------------
   OTRAS PIEZAS
   ------------------------------------------------------------ */

.museo-otras-piezas {
  padding-top: 16px;
  padding-bottom: 52px;
}

.museo-otras-header {
  margin-bottom: 28px;
  text-align: center;
}

.museo-otras-header h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.8vw, 3.4rem);
  font-weight: var(--ft-font-extrabold);
  line-height: 1;
  letter-spacing: -0.055em;
  color: var(--ft-color-text);
  text-transform: uppercase;
}

.museo-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.museo-card {
  display: block;
}

.museo-card-link {
  display: block;
  height: 100%;
  overflow: hidden;
  background: var(--ft-color-white);
  border: 1px solid var(--ft-color-mid);
  border-radius: 10px;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.035);
  transition:
    transform var(--ft-transition-normal),
    box-shadow var(--ft-transition-normal),
    border-color var(--ft-transition-fast);
}

.museo-card-link:hover,
.museo-card-link:focus {
  transform: translateY(-3px);
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.10);
  color: inherit;
  text-decoration: none;
}

.museo-card-link:focus-visible {
  outline: 3px solid var(--ft-color-cyan);
  outline-offset: 3px;
}

.museo-card-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #111111;
}

.museo-card-img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform var(--ft-transition-normal);
}

.museo-card-link:hover .museo-card-img img,
.museo-card-link:focus .museo-card-img img {
  transform: scale(1.045);
}

.museo-card-body {
  padding: 18px 18px 17px;
}

.museo-card-body h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: var(--ft-font-extrabold);
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--ft-color-text);
}

.museo-card-meta {
  margin-bottom: 10px;
  font-size: 10px;
  font-weight: var(--ft-font-bold);
  letter-spacing: 0.08em;
  line-height: 1.45;
  text-transform: uppercase;
  color: var(--ft-color-muted);
}

.museo-card-body p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  font-size: 12.5px;
  font-weight: var(--ft-font-regular);
  line-height: 1.55;
  color: var(--ft-color-muted);
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

/* ------------------------------------------------------------
   CONTENIDO OPCIONAL DE PÁGINA
   ------------------------------------------------------------ */

.museo-page-content {
  padding-top: 28px;
  padding-bottom: 42px;
}

.museo-page-content>* {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

/* ------------------------------------------------------------
   EMPTY
   ------------------------------------------------------------ */

.museo-empty {
  max-width: 760px;
  margin: 48px auto;
  padding: 46px 34px;
  text-align: center;
  background: var(--ft-color-white);
  border: 1px solid var(--ft-color-mid);
  border-radius: 10px;
}

.museo-empty h2 {
  margin: 0 0 12px;
  font-size: 1.5rem;
  font-weight: var(--ft-font-extrabold);
  letter-spacing: -0.035em;
  color: var(--ft-color-text);
}

.museo-empty p {
  margin: 0;
  color: var(--ft-color-muted);
  line-height: 1.7;
}

/* ------------------------------------------------------------
   ACORDEÓN MUSEO
   ------------------------------------------------------------ */

.museo-acordeon-section {
  max-width: 700px;
  padding-top: 10px;
  padding-bottom: 64px;
}

.museo-accordion,
.museo-acordeon-section .widget,
.museo-acordeon-section .custom-html-widget {
  width: 100%;
}

.accordion-item {
  border-top: 1px solid var(--ft-color-mid);
}

.accordion-item:last-child {
  border-bottom: 1px solid var(--ft-color-mid);
}

.accordion-hd {
  width: 100%;
  min-height: 58px;
  padding: 18px 0;
  border: 0;
  background: transparent;
  color: var(--ft-color-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-family: inherit;
  font-size: 14px;
  font-weight: var(--ft-font-extrabold);
  line-height: 1.35;
  letter-spacing: -0.01em;
  text-align: left;
}

.accordion-hd:hover,
.accordion-hd:focus {
  color: var(--ft-color-navy);
}

.accordion-hd:focus-visible {
  outline: 3px solid var(--ft-color-cyan);
  outline-offset: 4px;
}

.acc-icon {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 1px solid var(--ft-color-mid);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ft-color-navy);
  font-size: 16px;
  font-weight: var(--ft-font-bold);
  line-height: 1;
  transition:
    transform var(--ft-transition-fast),
    background var(--ft-transition-fast),
    color var(--ft-transition-fast);
}

.accordion-item.is-open .acc-icon {
  transform: rotate(45deg);
  background: var(--ft-color-navy);
  color: var(--ft-color-white);
  border-color: var(--ft-color-navy);
}

.accordion-bd {
  display: none;
  padding: 0 0 20px;
  color: var(--ft-color-muted);
  font-size: 13px;
  line-height: 1.75;
}

.accordion-item.is-open .accordion-bd {
  display: block;
}

/* ------------------------------------------------------------
   RESPONSIVE MUSEO
   ------------------------------------------------------------ */

@media (max-width: 1180px) {
  .museo-pieza {
    grid-template-columns: 1fr;
  }

  .museo-pieza>img {
    min-height: 420px;
  }

  .museo-pieza-text {
    padding: 52px var(--ft-side-space);
  }

  .museo-pieza-text::before {
    display: none;
  }

  .museo-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .museo-filter-bar {
    flex-wrap: wrap;
  }
}

@media (max-width: 720px) {

  #page-museo .pg-hero,
  .museo-hero {
    height: 350px;
    min-height: 320px;
  }

  #page-museo .pg-hero-content,
  .museo-hero .pg-hero-content {
    bottom: 44px;
    padding-left: 28px;
    padding-right: 28px;
  }

  #page-museo .pg-hero-content h1,
  .museo-hero .pg-hero-content h1 {
    font-size: clamp(2.2rem, 11vw, 4rem);
  }

  .museo-filter-bar {
    padding-left: 28px;
    padding-right: 28px;
  }

  .museo-heading-section {
    padding-left: 28px;
    padding-right: 28px;
  }

  .museo-pieza>img {
    min-height: 340px;
  }

  .museo-pieza-text {
    padding: 44px 28px;
  }

  .museo-pieza-text h2 {
    font-size: clamp(2rem, 10vw, 3.6rem);
  }

  .museo-pieza-data-row {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .infografia-section {
    padding-top: 56px;
    padding-bottom: 44px;
  }

  .museo-card-grid {
    grid-template-columns: 1fr;
  }

  .museo-card-link:hover,
  .museo-card-link:focus {
    transform: none;
  }

  .museo-card-link:hover .museo-card-img img,
  .museo-card-link:focus .museo-card-img img {
    transform: none;
  }

  .museo-callout p {
    padding-top: 26px;
  }
}

@media (max-width: 480px) {

  #page-museo .pg-hero,
  .museo-hero {
    height: 310px;
    min-height: 290px;
  }

  #page-museo .pg-hero-content,
  .museo-hero .pg-hero-content {
    bottom: 36px;
    padding-left: 22px;
    padding-right: 22px;
  }

  #page-museo .pg-hero-content .overline,
  .museo-hero .overline {
    font-size: 9px;
    letter-spacing: 0.18em;
  }

  .museo-filter-bar {
    padding-left: 22px;
    padding-right: 22px;
  }

  .museo-select {
    max-width: 100%;
  }

  .museo-heading-section {
    padding-left: 22px;
    padding-right: 22px;
  }

  .museo-heading-inner h2 {
    font-size: 1.35rem;
  }

  .museo-pieza>img {
    min-height: 300px;
  }

  .museo-pieza-text {
    padding: 38px 22px;
  }

  .museo-pieza-text .tag {
    font-size: 9px;
    letter-spacing: 0.16em;
  }

  .museo-pieza-text p {
    font-size: 0.96rem;
  }

  .infografia-section h3 {
    font-size: 1.55rem;
  }

  .museo-otras-header h2 {
    font-size: clamp(1.7rem, 10vw, 2.8rem);
  }

  .museo-card-body {
    padding: 17px 16px 16px;
  }

  .accordion-hd {
    font-size: 13.5px;
  }
}


/* ============================================================
   SINGLE PIEZA MUSEO
   ============================================================ */

.single-pieza-museo {
  background: var(--ft-color-bg);
}

.single-pieza-hero .pg-hero-content .sub {
  max-width: 760px;
  margin-top: 18px;
  font-size: clamp(1rem, 1.5vw, 1.22rem);
  font-weight: var(--ft-font-bold);
  line-height: 1.55;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.single-pieza-main {
  padding-top: 76px;
  padding-bottom: 42px;
}

.single-pieza-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 56px;
  align-items: start;
}

.single-pieza-content {
  min-width: 0;
}

.single-pieza-content h2 {
  max-width: 900px;
  margin: 0 0 22px;
  font-size: clamp(2.1rem, 4.7vw, 4.8rem);
  font-weight: var(--ft-font-extrabold);
  line-height: 0.98;
  letter-spacing: -0.055em;
  color: var(--ft-color-text);
  text-transform: uppercase;
}

.single-pieza-lead {
  max-width: 860px;
  margin: 0 0 32px;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  font-weight: var(--ft-font-medium);
  line-height: 1.72;
  color: var(--ft-color-muted);
}

.single-pieza-editor {
  max-width: 860px;
  color: var(--ft-color-text);
}

.single-pieza-editor p {
  margin-bottom: 1.35em;
  font-size: 1rem;
  line-height: 1.85;
  color: var(--ft-color-text);
}

.single-pieza-editor h2,
.single-pieza-editor h3,
.single-pieza-editor h4 {
  margin-top: 1.6em;
  margin-bottom: 0.7em;
  font-weight: var(--ft-font-extrabold);
  letter-spacing: -0.03em;
  color: var(--ft-color-text);
}

.single-pieza-editor img {
  max-width: 100%;
  height: auto;
}

.single-pieza-data-card {
  position: sticky;
  top: calc(var(--ft-header-height) + 24px);
  padding: 28px 26px;
  background: var(--ft-color-white);
  border: 1px solid var(--ft-color-mid);
  border-radius: 10px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.045);
}

.single-pieza-data-card h3 {
  margin: 0 0 22px;
  font-size: 1rem;
  font-weight: var(--ft-font-extrabold);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ft-color-text);
  text-transform: uppercase;
}

.single-pieza-data-row {
  padding: 14px 0;
  border-top: 1px solid var(--ft-color-mid);
}

.single-pieza-data-row span {
  display: block;
  margin-bottom: 5px;
  font-size: 9px;
  font-weight: var(--ft-font-bold);
  letter-spacing: 0.18em;
  line-height: 1.35;
  text-transform: uppercase;
  color: var(--ft-color-muted);
}

.single-pieza-data-row strong {
  display: block;
  font-size: 13px;
  font-weight: var(--ft-font-extrabold);
  line-height: 1.45;
  color: var(--ft-color-text);
}

/* Ajuste de grilla inferior para single */
.single-pieza-museo .museo-otras-piezas {
  padding-top: 34px;
  padding-bottom: 84px;
}

.single-pieza-museo .infografia-section {
  padding-top: 48px;
  padding-bottom: 62px;
}

/* ------------------------------------------------------------
   RESPONSIVE SINGLE PIEZA MUSEO
   ------------------------------------------------------------ */

@media (max-width: 1024px) {
  .single-pieza-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .single-pieza-data-card {
    position: relative;
    top: auto;
  }
}

@media (max-width: 720px) {
  .single-pieza-main {
    padding-top: 56px;
    padding-bottom: 34px;
  }

  .single-pieza-content h2 {
    font-size: clamp(2rem, 10vw, 3.6rem);
  }

  .single-pieza-data-card {
    padding: 24px 22px;
  }
}

@media (max-width: 480px) {
  .single-pieza-main {
    padding-top: 46px;
  }

  .single-pieza-lead {
    font-size: 1rem;
  }

  .single-pieza-data-card h3 {
    font-size: 0.95rem;
  }
}



/* ============================================================
   PLANTILLAS GENERALES
   page.php / single.php / archive.php / search.php / 404.php
   ============================================================ */

.page-general,
.single-general,
.archive-general,
.search-general,
.error404-general {
  background: var(--ft-color-bg);
}

/* ------------------------------------------------------------
   HERO GENERAL
   ------------------------------------------------------------ */

.page-general-hero,
.single-general-hero,
.archive-general-hero,
.search-general-hero,
.error404-general-hero {
  position: relative;
  height: 420px;
  min-height: 340px;
  margin-top: var(--ft-header-height);
  overflow: hidden;
  background: #111111;
}

.page-general-hero img,
.single-general-hero img,
.archive-general-hero img,
.search-general-hero img,
.error404-general-hero img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.58);
}

.page-general-hero::after,
.single-general-hero::after,
.archive-general-hero::after,
.search-general-hero::after,
.error404-general-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top,
      rgba(0, 0, 0, 0.76) 0%,
      rgba(0, 0, 0, 0.44) 48%,
      rgba(0, 0, 0, 0.12) 100%);
}

.page-general-hero .pg-hero-content,
.single-general-hero .pg-hero-content,
.archive-general-hero .pg-hero-content,
.search-general-hero .pg-hero-content,
.error404-general-hero .pg-hero-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 58px;
  z-index: 2;
  width: 100%;
  max-width: var(--ft-container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--ft-side-space);
  padding-right: var(--ft-side-space);
  color: var(--ft-color-white);
}

.page-general-hero .overline,
.single-general-hero .overline,
.archive-general-hero .overline,
.search-general-hero .overline,
.error404-general-hero .overline {
  margin-bottom: 14px;
  font-size: 10px;
  font-weight: var(--ft-font-bold);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.page-general-hero h1,
.single-general-hero h1,
.archive-general-hero h1,
.search-general-hero h1,
.error404-general-hero h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 5.2rem);
  font-weight: var(--ft-font-extrabold);
  line-height: 0.98;
  letter-spacing: -0.055em;
  color: var(--ft-color-white);
  text-transform: uppercase;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.42);
}

.page-general-hero .sub,
.single-general-hero .sub,
.archive-general-hero .sub,
.search-general-hero .sub,
.error404-general-hero .sub {
  max-width: 760px;
  margin-top: 18px;
  font-size: clamp(1rem, 1.5vw, 1.22rem);
  font-weight: var(--ft-font-medium);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
}

/* ------------------------------------------------------------
   CONTENIDO GENERAL
   ------------------------------------------------------------ */

.page-general-content-section,
.single-general-content-section,
.archive-general-content-section,
.search-general-content-section,
.error404-general-content-section {
  padding-top: 76px;
  padding-bottom: 90px;
}

.page-general-content,
.single-general-content,
.archive-general-content,
.search-general-content,
.error404-general-content {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-general-content .entry-content,
.single-general-content .entry-content {
  color: var(--ft-color-text);
}

.page-general-content .entry-content>*:first-child,
.single-general-content .entry-content>*:first-child {
  margin-top: 0;
}

.page-general-content .entry-content p,
.single-general-content .entry-content p {
  margin-bottom: 1.35em;
  font-size: 15px;
  font-weight: var(--ft-font-regular);
  line-height: 1.85;
  color: var(--ft-color-text);
}

.page-general-content .entry-content h2,
.page-general-content .entry-content h3,
.page-general-content .entry-content h4,
.single-general-content .entry-content h2,
.single-general-content .entry-content h3,
.single-general-content .entry-content h4 {
  margin-top: 1.6em;
  margin-bottom: 0.7em;
  font-weight: var(--ft-font-extrabold);
  letter-spacing: -0.035em;
  color: var(--ft-color-text);
}

.page-general-content .entry-content h2,
.single-general-content .entry-content h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.1;
}

.page-general-content .entry-content h3,
.single-general-content .entry-content h3 {
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.15;
}

.page-general-content .entry-content ul,
.page-general-content .entry-content ol,
.single-general-content .entry-content ul,
.single-general-content .entry-content ol {
  margin: 0 0 1.35em 1.25em;
  padding: 0;
  color: var(--ft-color-text);
}

.page-general-content .entry-content li,
.single-general-content .entry-content li {
  margin-bottom: 0.5em;
  line-height: 1.75;
}

.page-general-content .entry-content a,
.single-general-content .entry-content a {
  color: var(--ft-color-navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-general-content .entry-content a:hover,
.page-general-content .entry-content a:focus,
.single-general-content .entry-content a:hover,
.single-general-content .entry-content a:focus {
  color: var(--ft-color-cyan);
}

.page-general-content .entry-content img,
.single-general-content .entry-content img {
  max-width: 100%;
  height: auto;
}

.page-general-content .entry-content .wp-block-image,
.single-general-content .entry-content .wp-block-image {
  margin-top: 36px;
  margin-bottom: 36px;
}

.page-general-content .entry-content .alignwide,
.single-general-content .entry-content .alignwide {
  width: min(100%, var(--ft-container-max));
}

.page-general-content .entry-content .alignfull,
.single-general-content .entry-content .alignfull {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
}

/* ------------------------------------------------------------
   MENSAJE VACÍO
   ------------------------------------------------------------ */

.page-general-empty,
.single-general-empty,
.archive-general-empty,
.search-general-empty,
.error404-general-empty {
  max-width: 760px;
  margin: 0 auto;
  padding: 46px 34px;
  text-align: center;
  background: var(--ft-color-white);
  border: 1px solid var(--ft-color-mid);
  border-radius: 10px;
}

.page-general-empty h2,
.single-general-empty h2,
.archive-general-empty h2,
.search-general-empty h2,
.error404-general-empty h2 {
  margin: 0 0 12px;
  font-size: 1.5rem;
  font-weight: var(--ft-font-extrabold);
  letter-spacing: -0.035em;
  color: var(--ft-color-text);
}

.page-general-empty p,
.single-general-empty p,
.archive-general-empty p,
.search-general-empty p,
.error404-general-empty p {
  margin: 0;
  color: var(--ft-color-muted);
  line-height: 1.7;
}

/* ------------------------------------------------------------
   PAGINACIÓN INTERNA DE PÁGINAS
   ------------------------------------------------------------ */

.page-links {
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid var(--ft-color-mid);
  font-size: 13px;
  font-weight: var(--ft-font-bold);
  color: var(--ft-color-muted);
}

.page-links a,
.page-links span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 30px;
  margin-left: 6px;
  padding: 0 8px;
  border: 1px solid var(--ft-color-mid);
  border-radius: 3px;
  text-decoration: none;
  color: var(--ft-color-text);
}

.page-links a:hover,
.page-links a:focus {
  color: var(--ft-color-white);
  background: var(--ft-color-navy);
  border-color: var(--ft-color-navy);
}

/* ------------------------------------------------------------
   RESPONSIVE GENERAL
   ------------------------------------------------------------ */

@media (max-width: 720px) {

  .page-general-hero,
  .single-general-hero,
  .archive-general-hero,
  .search-general-hero,
  .error404-general-hero {
    height: 340px;
    min-height: 310px;
  }

  .page-general-hero .pg-hero-content,
  .single-general-hero .pg-hero-content,
  .archive-general-hero .pg-hero-content,
  .search-general-hero .pg-hero-content,
  .error404-general-hero .pg-hero-content {
    bottom: 44px;
    padding-left: 28px;
    padding-right: 28px;
  }

  .page-general-hero h1,
  .single-general-hero h1,
  .archive-general-hero h1,
  .search-general-hero h1,
  .error404-general-hero h1 {
    font-size: clamp(2rem, 10vw, 3.7rem);
  }

  .page-general-content-section,
  .single-general-content-section,
  .archive-general-content-section,
  .search-general-content-section,
  .error404-general-content-section {
    padding-top: 54px;
    padding-bottom: 70px;
  }

  .page-general-content .entry-content p,
  .single-general-content .entry-content p {
    font-size: 14.5px;
    line-height: 1.8;
  }
}

@media (max-width: 480px) {

  .page-general-hero,
  .single-general-hero,
  .archive-general-hero,
  .search-general-hero,
  .error404-general-hero {
    height: 300px;
    min-height: 280px;
  }

  .page-general-hero .pg-hero-content,
  .single-general-hero .pg-hero-content,
  .archive-general-hero .pg-hero-content,
  .search-general-hero .pg-hero-content,
  .error404-general-hero .pg-hero-content {
    bottom: 38px;
    padding-left: 22px;
    padding-right: 22px;
  }

  .page-general-hero .overline,
  .single-general-hero .overline,
  .archive-general-hero .overline,
  .search-general-hero .overline,
  .error404-general-hero .overline {
    font-size: 9px;
    letter-spacing: 0.18em;
  }

  .page-general-content-section,
  .single-general-content-section,
  .archive-general-content-section,
  .search-general-content-section,
  .error404-general-content-section {
    padding-top: 46px;
    padding-bottom: 62px;
  }

  .page-general-empty,
  .single-general-empty,
  .archive-general-empty,
  .search-general-empty,
  .error404-general-empty {
    padding: 38px 24px;
  }
}


/* ============================================================
   ARCHIVE GENERAL
   archive.php
   ============================================================ */

.archive-card-grid {
  margin-bottom: 46px;
}

.archive-pagination {
  display: flex;
  justify-content: center;
  margin-top: 42px;
}

.archive-pagination ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.archive-pagination li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.archive-pagination a,
.archive-pagination span {
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--ft-color-mid);
  border-radius: 4px;
  background: var(--ft-color-white);
  color: var(--ft-color-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: var(--ft-font-bold);
  line-height: 1;
  text-decoration: none;
}

.archive-pagination a:hover,
.archive-pagination a:focus {
  background: var(--ft-color-navy);
  border-color: var(--ft-color-navy);
  color: var(--ft-color-white);
}

.archive-pagination .current {
  background: var(--ft-color-navy);
  border-color: var(--ft-color-navy);
  color: var(--ft-color-white);
}

.archive-pagination .prev,
.archive-pagination .next {
  padding-left: 16px;
  padding-right: 16px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (max-width: 480px) {

  .archive-pagination a,
  .archive-pagination span {
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    font-size: 11px;
  }
}



/* ============================================================
   SEARCH GENERAL
   search.php
   ============================================================ */

.search-form-box {
  max-width: 760px;
  margin: 0 auto 46px;
  padding: 28px;
  background: var(--ft-color-white);
  border: 1px solid var(--ft-color-mid);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.035);
}

.search-page-form {
  display: flex;
  align-items: stretch;
  gap: 10px;
}

.search-page-input {
  flex: 1;
  min-width: 0;
  min-height: 46px;
  padding: 0 15px;
  border: 1px solid var(--ft-color-mid);
  border-radius: 4px;
  background: var(--ft-color-white);
  color: var(--ft-color-text);
  font-family: inherit;
  font-size: 14px;
  line-height: 1;
}

.search-page-input:focus {
  outline: 3px solid rgba(0, 153, 187, 0.18);
  border-color: var(--ft-color-cyan);
}

.search-page-button {
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid var(--ft-color-navy);
  border-radius: 4px;
  background: var(--ft-color-navy);
  color: var(--ft-color-white);
  font-size: 11px;
  font-weight: var(--ft-font-bold);
  letter-spacing: 0.09em;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background var(--ft-transition-fast),
    color var(--ft-transition-fast),
    border-color var(--ft-transition-fast);
}

.search-page-button:hover,
.search-page-button:focus {
  background: transparent;
  color: var(--ft-color-navy);
}

.search-card-grid {
  margin-bottom: 46px;
}

.search-pagination {
  margin-top: 42px;
}

@media (max-width: 600px) {
  .search-form-box {
    padding: 22px;
  }

  .search-page-form {
    flex-direction: column;
  }

  .search-page-button {
    width: 100%;
  }
}
