/* =========================================================
   ARCHIVAS & DOCUMENTAS — FICHA INDIVIDUAL DE ARTISTA
   Archivo de destino:
   /var/www/html/themes/default/asset/css/ay-artist-show.css

   Versión final (footer de MAPEO, header alineado, modal blanco, videos con miniatura, DIGITAL limpio y STATEMENT oculto):
   - Header con las mismas medidas de Mapeo.
   - Perfil en dos columnas según el diseño de referencia.
   - GALERÍA alimentada por obras relacionadas.
   - DOCUMENTOS RELACIONADOS separado de las obras.
   - Lateral fijo izquierdo igual a MAPEO / CONOCE MÁS.
   - Modal blanco translúcido para imagen y video.
   - Miniatura real para videos mediante su primer fotograma.
   ========================================================= */

/* =========================================================
   0) FUENTES Y VARIABLES
   ========================================================= */
@font-face {
  font-family: "Bitstream Vera Sans";
  src: url("../fonts/Vera.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Bitstream Vera Sans";
  src: url("../fonts/VeraBd.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Bitstream Vera Sans";
  src: url("../fonts/VeraIt.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Bitstream Vera Sans";
  src: url("../fonts/VeraBI.ttf") format("truetype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

:root {
  --ay-artist-dark: #22061d;
  --ay-artist-purple: #571447;
  --ay-artist-purple-2: #771555;
  --ay-artist-magenta: #a51d75;
  --ay-artist-magenta-hover: #c23893;
  --ay-artist-lavender: #9f9dff;
  --ay-artist-lavender-2: #bd9bf9;
  --ay-artist-pink: #f3dde7;
  --ay-artist-line: #a51d75;

  /* Las mismas medidas principales usadas por Mapeo. */
  --ay-artist-header-width: min(1340px, calc(100vw - 170px));
  --ay-artist-content-width: min(1100px, calc(100vw - 140px));
  --ay-artist-logo-width: 296px;
  --ay-artist-search-width: 530px;
  --ay-artist-access-width: 470px;

  --ay-artist-dark-filter:
    brightness(0) saturate(100%) invert(8%) sepia(37%)
    saturate(1120%) hue-rotate(282deg) brightness(82%) contrast(108%);
  --ay-artist-hover-filter:
    brightness(0) saturate(100%) invert(19%) sepia(76%)
    saturate(2046%) hue-rotate(296deg) brightness(91%) contrast(89%);
  --ay-artist-lavender-filter:
    brightness(0) saturate(100%) invert(73%) sepia(34%)
    saturate(1964%) hue-rotate(203deg) brightness(103%) contrast(105%);
}

/* =========================================================
   1) AISLAMIENTO DEL TEMA DE OMEKA
   ========================================================= */
html:has(.ay-artist-show-page),
body.ay-artist-show-body,
body:has(.ay-artist-show-page) {
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden !important;
  background: var(--ay-artist-lavender) !important;
  color: var(--ay-artist-dark) !important;
  font-family: "Bitstream Vera Sans", Arial, Helvetica, sans-serif !important;
}

body.ay-artist-show-body #user-bar,
body.ay-artist-show-body .user-bar,
body.ay-artist-show-body .admin-bar,
body.ay-artist-show-body .omeka-admin-bar,
body:has(.ay-artist-show-page) #user-bar,
body:has(.ay-artist-show-page) .user-bar,
body:has(.ay-artist-show-page) .admin-bar,
body:has(.ay-artist-show-page) .omeka-admin-bar {
  display: none !important;
}

body.ay-artist-show-body > header,
body.ay-artist-show-body > nav,
body.ay-artist-show-body > footer,
body.ay-artist-show-body .site-header,
body.ay-artist-show-body .site-navigation,
body.ay-artist-show-body .site-footer,
body.ay-artist-show-body .breadcrumbs,
body:has(.ay-artist-show-page) > header,
body:has(.ay-artist-show-page) > nav,
body:has(.ay-artist-show-page) > footer,
body:has(.ay-artist-show-page) .site-header,
body:has(.ay-artist-show-page) .site-navigation,
body:has(.ay-artist-show-page) .site-footer,
body:has(.ay-artist-show-page) .breadcrumbs {
  display: none !important;
}

body.ay-artist-show-body #content,
body:has(.ay-artist-show-page) #content {
  width: 100vw !important;
  max-width: 100vw !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

body.ay-artist-show-body #content > .ay-artist-show-page,
body:has(.ay-artist-show-page) #content > .ay-artist-show-page {
  width: 100vw !important;
  max-width: 100vw !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

/* Elimina límites, márgenes o bordes redondeados heredados del tema Default. */
body.ay-artist-show-body #page,
body.ay-artist-show-body #wrap,
body.ay-artist-show-body .site,
body.ay-artist-show-body .site-container,
body.ay-artist-show-body .site-page,
body.ay-artist-show-body main:not(.ay-artist-show-main),
body:has(.ay-artist-show-page) #page,
body:has(.ay-artist-show-page) #wrap,
body:has(.ay-artist-show-page) .site,
body:has(.ay-artist-show-page) .site-container,
body:has(.ay-artist-show-page) .site-page,
body:has(.ay-artist-show-page) main:not(.ay-artist-show-main) {
  width: 100vw !important;
  max-width: 100vw !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

.ay-artist-show-page,
.ay-artist-show-page *,
.ay-artist-show-page *::before,
.ay-artist-show-page *::after {
  box-sizing: border-box;
}

.ay-artist-show-page {
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ay-artist-dark);
  font-family: "Bitstream Vera Sans", Arial, Helvetica, sans-serif;
  background:
    linear-gradient(
      180deg,
      var(--ay-artist-lavender) 0%,
      #d9caef 6%,
      var(--ay-artist-pink) 17%,
      var(--ay-artist-pink) 82%,
      #d8c8ef 91%,
      var(--ay-artist-lavender) 100%
    );
}

.ay-artist-show-page a {
  color: inherit;
  text-decoration: none;
}

.ay-artist-show-page img,
.ay-artist-show-page video {
  max-width: 100%;
  -webkit-user-drag: none;
  user-select: none;
}

.ay-artist-show-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* =========================================================
   2) MENÚ MÓVIL
   ========================================================= */
.ay-artist-show-menu {
  display: none;
}

/* =========================================================
   3) HEADER — MISMA GEOMETRÍA REAL QUE MAPEO
   - Lienzo interior: min(1340px, 100vw - 170px).
   - Altura: 390px.
   - Logo, buscador, bajada y accesos en las mismas coordenadas.
   - El fondo continúa ocupando el ancho completo de la pantalla.
   ========================================================= */
.ay-artist-show-header {
  display: block !important;
  position: relative !important;
  width: var(--ay-artist-header-width) !important;
  max-width: var(--ay-artist-header-width) !important;
  height: 390px !important;
  min-height: 390px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  overflow: visible !important;
  color: var(--ay-artist-dark) !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.ay-artist-show-header::before,
.ay-artist-show-header::after,
.ay-artist-show-header-top::before,
.ay-artist-show-header-top::after,
.ay-artist-show-logo-area::before,
.ay-artist-show-logo-area::after {
  content: none !important;
  display: none !important;
}

.ay-artist-show-header-top {
  display: block !important;
  position: static !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Logo: misma posición y tamaño del header de Mapeo. */
.ay-artist-show-logo-area {
  display: block !important;
  position: absolute !important;
  left: 0 !important;
  top: 76px !important;
  width: 445px !important;
  max-width: 445px !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
  background: transparent !important;
}

.ay-artist-show-logo-link {
  display: inline-block !important;
  width: 315px !important;
  max-width: 315px !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0 !important;
  text-decoration: none !important;
}

.ay-artist-show-logo {
  display: block !important;
  width: 315px !important;
  max-width: 315px !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: contain !important;
  filter: var(--ay-artist-dark-filter) !important;
  transition: filter 180ms ease !important;
}

.ay-artist-show-logo-link:hover .ay-artist-show-logo,
.ay-artist-show-logo-link:focus-visible .ay-artist-show-logo {
  filter: var(--ay-artist-hover-filter) !important;
}

/* Bajada: queda inmediatamente debajo del logo, como en Mapeo. */
.ay-artist-show-hero-caption {
  display: block !important;
  position: static !important;
  width: 445px !important;
  max-width: 100% !important;
  margin: 8px 0 0 !important;
  padding: 0 !important;
  color: var(--ay-artist-dark) !important;
  background: transparent !important;
  border: 0 !important;
  font-size: 14px !important;
  line-height: 1.36 !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  text-align: left !important;
}

/* El contenedor no limita el posicionamiento de sus elementos. */
.ay-artist-show-header-actions,
.ay-artist-show-search-area {
  display: block !important;
  position: static !important;
  width: auto !important;
  max-width: none !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Buscador: mismas coordenadas y medidas que en Mapeo. */
.ay-artist-show-search-area > label {
  position: absolute !important;
  top: 84px !important;
  right: 520px !important;
  width: 90px !important;
  height: 25px !important;
  min-height: 25px !important;
  display: flex !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 0 0 8px !important;
  border: 2px solid var(--ay-artist-dark) !important;
  border-right: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--ay-artist-dark) !important;
  font-size: 11px !important;
  line-height: 1 !important;
  font-weight: 700 !important;
}

.ay-artist-show-search-area > input {
  position: absolute !important;
  top: 84px !important;
  right: 150px !important;
  width: 370px !important;
  height: 25px !important;
  min-height: 25px !important;
  margin: 0 !important;
  padding: 0 8px !important;
  border-top: 2px solid var(--ay-artist-dark) !important;
  border-bottom: 2px solid var(--ay-artist-dark) !important;
  border-left: 0 !important;
  border-right: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--ay-artist-dark) !important;
  font: inherit !important;
  font-size: 11px !important;
  outline: 0 !important;
  box-shadow: none !important;
}

.ay-artist-show-search-area > button {
  position: absolute !important;
  top: 84px !important;
  right: 0 !important;
  width: 150px !important;
  height: 25px !important;
  min-height: 25px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: var(--ay-artist-dark) !important;
  color: var(--ay-artist-lavender) !important;
  font: inherit !important;
  font-size: 11px !important;
  line-height: 1 !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: background 180ms ease !important;
}

.ay-artist-show-search-area > button:hover,
.ay-artist-show-search-area > button:focus-visible {
  background: var(--ay-artist-magenta) !important;
}

/* Accesos MAPEO / CONOCE MÁS: mismas coordenadas de Mapeo. */
.ay-artist-show-main-access {
  display: grid !important;
  position: absolute !important;
  top: 178px !important;
  right: 205px !important;
  width: 430px !important;
  max-width: 430px !important;
  grid-template-columns: repeat(2, 1fr) !important;
  column-gap: 118px !important;
  align-items: end !important;
  justify-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: center !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.ay-artist-show-access {
  display: grid !important;
  grid-template-rows: 72px auto !important;
  align-items: end !important;
  justify-items: center !important;
  min-width: 92px !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--ay-artist-dark) !important;
  font-size: 13px !important;
  line-height: 1 !important;
  font-weight: 700 !important;
  text-align: center !important;
  text-transform: uppercase !important;
  transition: color 180ms ease !important;
}

.ay-artist-show-access-icon {
  display: block !important;
  width: auto !important;
  height: auto !important;
  margin: 0 auto !important;
  object-fit: contain !important;
  filter: var(--ay-artist-dark-filter) !important;
  transition: filter 180ms ease !important;
}

.ay-artist-show-access-icon-mapeo {
  max-width: 92px !important;
  max-height: 66px !important;
}

.ay-artist-show-access-icon-conoce {
  max-width: 74px !important;
  max-height: 68px !important;
}

.ay-artist-show-access strong {
  display: block !important;
  margin: 10px 0 0 !important;
  padding: 0 !important;
  color: inherit !important;
  font-size: 13px !important;
  line-height: 1 !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
}

.ay-artist-show-access:hover,
.ay-artist-show-access:focus-visible,
.ay-artist-show-access:hover strong,
.ay-artist-show-access:focus-visible strong {
  color: var(--ay-artist-magenta) !important;
}

.ay-artist-show-access:hover .ay-artist-show-access-icon,
.ay-artist-show-access:focus-visible .ay-artist-show-access-icon {
  filter: var(--ay-artist-hover-filter) !important;
}

.ay-artist-show-access:focus-visible,
.ay-artist-show-logo-link:focus-visible {
  outline: 2px solid var(--ay-artist-magenta) !important;
  outline-offset: 5px !important;
}

/* =========================================================
   4) PERFIL — ORDEN DEL DISEÑO
   Retrato y datos a la izquierda.
   Nombre, biografía y redes a la derecha.
   ========================================================= */
.ay-artist-show-main {
  width: var(--ay-artist-content-width) !important;
  max-width: var(--ay-artist-content-width) !important;
  margin: 0 auto !important;
  padding: 0 0 82px !important;
  background: transparent !important;
}

.ay-artist-show-profile {
  position: relative !important;
  display: grid !important;
  grid-template-columns: 420px minmax(0, 1fr) !important;
  column-gap: 34px !important;
  align-items: start !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.ay-artist-show-left-column,
.ay-artist-show-right-column {
  min-width: 0 !important;
}

.ay-artist-show-side-label {
  position: absolute !important;
  left: -70px !important;
  top: 36px !important;
  width: 58px !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--ay-artist-magenta) !important;
  background: transparent !important;
  font-size: 9px !important;
  line-height: 1.18 !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  text-align: left !important;
  text-transform: uppercase !important;
  white-space: normal !important;
  transform: none !important;
}

.ay-artist-show-image-block {
  width: 420px !important;
  max-width: 100% !important;
}

.ay-artist-show-image {
  display: block !important;
  width: 420px !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  line-height: 0 !important;
  background: transparent !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

.ay-artist-show-image img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 520px !important;
  max-height: 640px !important;
  margin: 0 !important;
  object-fit: cover !important;
  object-position: center top !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

.ay-artist-show-image-caption {
  width: 100% !important;
  margin: 8px 0 0 !important;
  color: var(--ay-artist-dark) !important;
  font-size: 9px !important;
  line-height: 1.35 !important;
}

.ay-artist-show-meta {
  width: 320px !important;
  max-width: 100% !important;
  margin: 38px 0 0 !important;
  color: var(--ay-artist-dark) !important;
}

.ay-artist-show-meta-group {
  margin: 0 0 28px !important;
}

.ay-artist-show-meta h2 {
  margin: 0 0 16px !important;
  color: var(--ay-artist-magenta) !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
}

.ay-artist-show-meta-line {
  display: block !important;
  width: 100% !important;
  margin: 0 0 9px !important;
  padding: 0 0 8px !important;
  border-bottom: 1.5px solid var(--ay-artist-magenta) !important;
  color: var(--ay-artist-dark) !important;
  font-size: 12px !important;
  line-height: 1.42 !important;
}

.ay-artist-show-meta-digital,
.ay-artist-show-meta-digital div {
  color: var(--ay-artist-dark) !important;
  font-size: 12px !important;
  line-height: 1.75 !important;
}

/* STATEMENT permanece catalogado, pero no se muestra. */
.ay-artist-show-statement {
  display: none !important;
}

/*
 * DIGITAL:
 * - Sin flechas, botones, fondos ni recuadros.
 * - El correo es texto limpio y continúa siendo clicable.
 * - Solo las páginas web llevan subrayado.
 */
.ay-artist-show-meta-digital .ay-artist-show-digital-link {
  display: block !important;
  width: fit-content !important;
  max-width: 100% !important;
  margin: 0 0 5px !important;
  padding: 0 !important;
  color: var(--ay-artist-dark) !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  font: inherit !important;
  font-size: 12px !important;
  line-height: 1.55 !important;
  font-weight: 400 !important;
  text-decoration: none !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
}

.ay-artist-show-meta-digital
.ay-artist-show-digital-link:not(.ay-artist-show-digital-email) {
  text-decoration-line: underline !important;
  text-decoration-thickness: 1px !important;
  text-decoration-color: currentColor !important;
  text-underline-offset: 3px !important;
}

.ay-artist-show-meta-digital
.ay-artist-show-digital-email {
  text-decoration: none !important;
}

.ay-artist-show-meta-digital
.ay-artist-show-digital-link::after,
.ay-artist-show-meta-digital
.ay-artist-show-digital-email::after {
  content: none !important;
  display: none !important;
}

.ay-artist-show-meta-digital
.ay-artist-show-digital-link:hover,
.ay-artist-show-meta-digital
.ay-artist-show-digital-link:focus-visible {
  color: var(--ay-artist-magenta) !important;
}

.ay-artist-show-right-column {
  position: relative !important;
  padding: 0 42px 0 0 !important;
}

.ay-artist-show-heading {
  width: 100% !important;
  margin: 0 0 48px !important;
  padding: 0 !important;
  border: 0 !important;
}

.ay-artist-show-kicker {
  margin: 0 0 12px !important;
  color: var(--ay-artist-dark) !important;
  font-size: 11px !important;
  line-height: 1.3 !important;
}

.ay-artist-show-heading h1 {
  max-width: 620px !important;
  margin: 0 !important;
  color: var(--ay-artist-dark) !important;
  font-size: clamp(42px, 4.6vw, 64px) !important;
  line-height: 0.93 !important;
  letter-spacing: 0.14em !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  overflow-wrap: anywhere !important;
}

.ay-artist-show-subtitle {
  margin: 14px 0 0 !important;
  color: var(--ay-artist-dark) !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
}

/* =========================================================
   LATERAL FIJO IZQUIERDO
   Misma posición y tamaño aprobados en MAPEO, FILTROS
   y las páginas de CONOCE MÁS.
   ========================================================= */
.ay-artist-show-fixed-side-label {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;

  position: fixed !important;
  left: clamp(24px, 3.7vw, 58px) !important;
  right: auto !important;
  top: auto !important;
  bottom: clamp(54px, 8.2vh, 92px) !important;
  z-index: 800 !important;

  width: 52px !important;
  min-width: 52px !important;
  max-width: 52px !important;
  height: auto !important;
  min-height: 0 !important;

  margin: 0 !important;
  padding: 0 !important;

  color: var(--ay-artist-dark) !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;

  pointer-events: none !important;
  transform: none !important;
  translate: none !important;
  overflow: visible !important;
}

.ay-artist-show-fixed-side-label span {
  display: block !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;

  color: inherit !important;
  font-family: "Bitstream Vera Sans", Arial, Helvetica, sans-serif !important;
  font-size: 15px !important;
  line-height: 1.12 !important;
  font-weight: 400 !important;
  letter-spacing: 0.02em !important;
  text-align: left !important;

  writing-mode: vertical-rl !important;
  transform: rotate(180deg) !important;
  transform-origin: center center !important;
  white-space: normal !important;
  overflow: visible !important;
}

/* =========================================================
   REDES SOCIALES FIJAS — MISMA LÓGICA QUE MAPEO
   Permanecen en la esquina inferior derecha al subir o bajar.
   En móvil se ocultan porque ya existe el bloque de contacto.
   ========================================================= */
.ay-artist-show-socials {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;

  position: fixed !important;
  right: clamp(24px, 3.7vw, 58px) !important;
  left: auto !important;
  top: auto !important;
  bottom: clamp(54px, 8.2vh, 92px) !important;
  z-index: 805 !important;

  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 10px !important;

  width: 36px !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;

  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  transform: none !important;
  translate: none !important;
  pointer-events: auto !important;
  isolation: isolate !important;
}

.ay-artist-show-socials a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  min-height: 34px !important;

  margin: 0 !important;
  padding: 0 !important;

  color: inherit !important;
  text-decoration: none !important;
  background: transparent !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  pointer-events: auto !important;
}

.ay-artist-show-socials img {
  display: block !important;
  width: 34px !important;
  height: 34px !important;
  max-width: 34px !important;
  max-height: 34px !important;

  margin: 0 !important;
  padding: 0 !important;

  object-fit: contain !important;
  border: 0 !important;
  box-shadow: none !important;
  opacity: 1 !important;
  filter: var(--ay-artist-dark-filter) !important;

  transition:
    filter 160ms ease,
    opacity 160ms ease,
    transform 160ms ease !important;
}

.ay-artist-show-socials a:hover img,
.ay-artist-show-socials a:focus-visible img {
  filter: var(--ay-artist-hover-filter) !important;
  opacity: 1 !important;
  transform: scale(1.06) !important;
}

.ay-artist-show-socials a:focus-visible {
  outline: 2px solid var(--ay-artist-magenta) !important;
  outline-offset: 3px !important;
}

.ay-artist-show-bio-title {
  display: none !important;
}

.ay-artist-show-bio {
  width: 100% !important;
  max-width: 610px !important;
  margin: 0 !important;
  color: var(--ay-artist-dark) !important;
}

.ay-artist-show-text,
.ay-artist-show-text p,
.ay-artist-show-bio p {
  color: var(--ay-artist-dark) !important;
  font-size: 11.5px !important;
  line-height: 1.56 !important;
}

.ay-artist-show-text p {
  margin: 0 0 16px !important;
}

.ay-artist-show-statement {
  margin-top: 34px !important;
}

.ay-artist-show-statement h2 {
  margin: 0 0 12px !important;
  color: var(--ay-artist-magenta) !important;
  font-size: 10px !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
}

.ay-artist-show-reference {
  width: 100% !important;
  max-width: 610px !important;
  margin: 32px 0 0 !important;
  color: var(--ay-artist-magenta) !important;
  font-size: 8.5px !important;
  line-height: 1.45 !important;
}

.ay-artist-show-reference a {
  color: var(--ay-artist-magenta) !important;
  text-decoration: underline !important;
}

/* =========================================================
   5) GALERÍA DE OBRAS RELACIONADAS
   ========================================================= */
.ay-artist-show-gallery {
  width: var(--ay-artist-content-width) !important;
  max-width: var(--ay-artist-content-width) !important;
  margin: 0 auto !important;
  padding: 54px 0 74px !important;
  border-top: 2px solid var(--ay-artist-line) !important;
  background: transparent !important;
  color: var(--ay-artist-dark) !important;
}

.ay-artist-show-gallery > h2 {
  margin: 0 0 58px !important;
  color: var(--ay-artist-dark) !important;
  font-size: 34px !important;
  line-height: 1 !important;
  letter-spacing: 0.025em !important;
  font-weight: 700 !important;
  text-align: left !important;
  text-transform: uppercase !important;
}

.ay-artist-show-gallery-inner {
  width: 100% !important;
}

.ay-artist-show-gallery-work {
  scroll-margin-top: 32px !important;
  width: 100% !important;
  margin: 0 0 38px !important;
  padding: 0 0 34px !important;
  border-bottom: 2px solid var(--ay-artist-line) !important;
}

.ay-artist-show-gallery-work-heading {
  display: grid !important;
  grid-template-columns: 96px minmax(0, 1fr) !important;
  column-gap: 10px !important;
  align-items: baseline !important;
  margin: 0 0 18px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.ay-artist-show-gallery-year {
  display: block !important;
  width: 96px !important;
  min-width: 96px !important;
  max-width: 96px !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--ay-artist-magenta) !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  font-size: 10px !important;
  line-height: 1.2 !important;
  font-weight: 400 !important;
  letter-spacing: 0.01em !important;
  white-space: nowrap !important;
}

.ay-artist-show-gallery-work h3 {
  display: block !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--ay-artist-magenta) !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  font-size: 17px !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
  font-style: italic !important;
  letter-spacing: 0.01em !important;
  white-space: normal !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

.ay-artist-show-gallery-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: flex-start !important;
  gap: 14px !important;
  width: 100% !important;
  padding-left: 64px !important;
}

.ay-artist-show-gallery-item {
  flex: 0 0 auto !important;
  width: 154px !important;
  margin: 0 !important;
}

.ay-artist-show-gallery-image-button {
  appearance: none !important;
  -webkit-appearance: none !important;
  position: relative !important;
  display: block !important;
  width: 154px !important;
  height: 112px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  outline: 0 !important;
  background: rgba(255, 255, 255, 0.16) !important;
  color: inherit !important;
  cursor: pointer !important;
}

.ay-artist-show-gallery-image-button::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
  border: 2px solid var(--ay-artist-magenta) !important;
  opacity: 0 !important;
  transition: opacity 160ms ease !important;
}

.ay-artist-show-gallery-image-button:hover::after,
.ay-artist-show-gallery-image-button:focus-visible::after {
  opacity: 1 !important;
}

.ay-artist-show-gallery-image-button:focus-visible {
  outline: 2px solid var(--ay-artist-magenta) !important;
  outline-offset: 3px !important;
}

.ay-artist-show-gallery-image-button img {
  display: block !important;
  width: 100% !important;
  height: 112px !important;
  margin: 0 !important;
  object-fit: cover !important;
  object-position: center !important;
}

/*
 * Miniatura real de video:
 * el elemento <video> carga metadatos y el JavaScript lo posiciona
 * en el primer fotograma disponible. Si el navegador no puede hacerlo,
 * queda una superficie neutra con el icono de reproducción.
 */
.ay-artist-show-video-preview-frame {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
  background:
    linear-gradient(
      135deg,
      rgba(34, 6, 29, 0.92) 0%,
      rgba(87, 20, 71, 0.72) 100%
    ) !important;
  pointer-events: none !important;
}

.ay-artist-show-video-preview {
  position: relative !important;
  z-index: 2 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  opacity: 0 !important;
  object-fit: cover !important;
  object-position: center !important;
  background: transparent !important;
  border: 0 !important;
  transition: opacity 180ms ease !important;
  pointer-events: none !important;
}

.ay-artist-show-video-preview.is-ready {
  opacity: 1 !important;
}

.ay-artist-show-video-preview-fallback {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  display: block !important;
  background:
    radial-gradient(
      circle at center,
      rgba(243, 221, 231, 0.13) 0%,
      rgba(243, 221, 231, 0) 58%
    ) !important;
  pointer-events: none !important;
}

.ay-artist-show-video-preview.is-ready
+ .ay-artist-show-video-preview-fallback {
  opacity: 0 !important;
}

.ay-artist-show-gallery-image-button[data-modal-type="video"]::before,
.ay-artist-show-related-button[data-modal-type="video"]::before {
  content: "▶" !important;
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  z-index: 3 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 34px !important;
  height: 34px !important;
  padding-left: 2px !important;
  transform: translate(-50%, -50%) !important;
  border: 1.5px solid rgba(243, 221, 231, 0.9) !important;
  border-radius: 999px !important;
  background: rgba(34, 6, 29, 0.72) !important;
  color: var(--ay-artist-pink) !important;
  font-size: 14px !important;
  line-height: 1 !important;
  pointer-events: none !important;
}

.ay-artist-show-gallery-work[hidden] {
  display: none !important;
}

.ay-artist-show-gallery-work.is-gallery-visible-last {
  border-bottom: 0 !important;
}

.ay-artist-show-gallery-more {
  appearance: none !important;
  -webkit-appearance: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 34px !important;
  height: 34px !important;
  margin: -12px auto 0 !important;
  padding: 0 !important;
  color: var(--ay-artist-magenta) !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-family: inherit !important;
  font-size: 20px !important;
  line-height: 1 !important;
  text-align: center !important;
  cursor: pointer !important;
}

.ay-artist-show-gallery-more:hover,
.ay-artist-show-gallery-more:focus-visible {
  color: var(--ay-artist-purple-2) !important;
}

.ay-artist-show-gallery-more:focus-visible {
  outline: 1.5px solid var(--ay-artist-magenta) !important;
  outline-offset: 3px !important;
}

.ay-artist-show-gallery-more[hidden] {
  display: none !important;
}

/* =========================================================
   6) DOCUMENTOS RELACIONADOS
   Las obras ya no se repiten aquí.
   ========================================================= */
.ay-artist-show-related {
  width: var(--ay-artist-content-width) !important;
  max-width: var(--ay-artist-content-width) !important;
  margin: 0 auto !important;
  padding: 60px 0 118px !important;
  border-top: 2px solid var(--ay-artist-line) !important;
  background: transparent !important;
  color: var(--ay-artist-dark) !important;
}

.ay-artist-show-related > h2 {
  margin: 0 0 68px !important;
  color: var(--ay-artist-dark) !important;
  font-size: 34px !important;
  line-height: 1.1 !important;
  letter-spacing: 0.025em !important;
  font-weight: 700 !important;
  text-align: left !important;
  text-transform: uppercase !important;
}

.ay-artist-show-related-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  column-gap: 74px !important;
  row-gap: 72px !important;
  width: 100% !important;
}

.ay-artist-show-related-card {
  min-width: 0 !important;
  color: var(--ay-artist-dark) !important;
}

.ay-artist-show-related-card > h3 {
  min-height: 30px !important;
  margin: 0 0 16px !important;
  color: var(--ay-artist-dark) !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
}

.ay-artist-show-related-button {
  appearance: none !important;
  -webkit-appearance: none !important;
  position: relative !important;
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  color: inherit !important;
  font: inherit !important;
  text-align: left !important;
  cursor: pointer !important;
}

.ay-artist-show-related-thumb {
  position: relative !important;
  width: 100% !important;
  margin: 0 0 14px !important;
  overflow: hidden !important;
  background: rgba(255, 255, 255, 0.14) !important;
}

.ay-artist-show-related-thumb img {
  display: block !important;
  width: 100% !important;
  height: 250px !important;
  margin: 0 !important;
  object-fit: cover !important;
  object-position: center top !important;
}

.ay-artist-show-related-thumb.is-video {
  height: 250px !important;
}

.ay-artist-show-related-thumb.is-video
.ay-artist-show-video-preview-frame {
  position: absolute !important;
}

.ay-artist-show-related-thumb.is-video
.ay-artist-show-video-preview {
  height: 250px !important;
  object-position: center !important;
}

.ay-artist-show-related-placeholder {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 250px !important;
  margin: 0 0 14px !important;
  padding: 20px !important;
  border: 1.5px solid var(--ay-artist-magenta) !important;
  color: var(--ay-artist-magenta) !important;
  font-size: 10px !important;
  line-height: 1.4 !important;
  text-align: center !important;
}

.ay-artist-show-related-card h4 {
  margin: 0 0 7px !important;
  color: var(--ay-artist-dark) !important;
  font-size: 11px !important;
  line-height: 1.28 !important;
  font-weight: 700 !important;
}

.ay-artist-show-related-card p,
.ay-artist-show-related-card span {
  display: block !important;
  margin: 0 0 5px !important;
  color: var(--ay-artist-dark) !important;
  font-size: 8.5px !important;
  line-height: 1.35 !important;
}

.ay-artist-show-related-button::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
  border: 2px solid var(--ay-artist-magenta) !important;
  opacity: 0 !important;
  transition: opacity 160ms ease !important;
}

.ay-artist-show-related-button:hover::after,
.ay-artist-show-related-button:focus-visible::after {
  opacity: 1 !important;
}

.ay-artist-show-related-button:focus-visible {
  outline: 2px solid var(--ay-artist-magenta) !important;
  outline-offset: 3px !important;
}

/* =========================================================
   7) DONACIÓN Y FOOTER — MISMO DISEÑO DE MAPEO
   ========================================================= */
.ay-artist-show-donate {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 150px 20px 102px !important;
  overflow-x: clip !important;
  overflow-y: visible !important;
  color: var(--ay-artist-lavender-2) !important;
  background:
    radial-gradient(
      ellipse at 50% 47%,
      #2e0a28 0%,
      #440d35 13%,
      #571040 28%,
      #75396e 46%,
      #834c83 54%,
      #905e98 65%,
      #905e98 100%
    ) !important;
  background-color: #905e98 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-align: center !important;
  transform: none !important;
}

.ay-artist-show-donate::before {
  content: none !important;
  display: none !important;
}

.ay-artist-show-donate p {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
  z-index: 1 !important;
  width: min(760px, calc(100% - 80px)) !important;
  max-width: 100% !important;
  margin: 0 auto 42px !important;
  padding: 0 !important;
  color: var(--ay-artist-lavender-2) !important;
  background: transparent !important;
  font-size: 16px !important;
  line-height: 1.45 !important;
  letter-spacing: 0 !important;
  font-weight: 400 !important;
  text-align: center !important;
}

.ay-artist-show-donate-button {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
  z-index: 1 !important;
  min-width: 250px !important;
  min-height: 54px !important;
  margin: 0 !important;
  padding: 0 24px !important;
  align-items: center !important;
  justify-content: center !important;
  color: var(--ay-artist-lavender-2) !important;
  background: #2e0a28 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-size: 16px !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  font-weight: 400 !important;
  text-align: center !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
  transition:
    background 180ms ease,
    color 180ms ease !important;
}

.ay-artist-show-donate-button:hover,
.ay-artist-show-donate-button:focus-visible {
  color: var(--ay-artist-lavender-2) !important;
  background: var(--ay-artist-magenta) !important;
}

.ay-artist-show-mobile-contact {
  display: none !important;
}

/* Footer de escritorio, igual al de MAPEO. */
.ay-artist-show-footer {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 20px 30px !important;
  overflow: visible !important;
  color: #571447 !important;
  background:
    linear-gradient(
      180deg,
      #905e98 0%,
      #9870b5 58%,
      #9f7fd4 100%
    ) !important;
  background-color: #905e98 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-align: center !important;
  transform: none !important;
  z-index: 20 !important;
}

.ay-artist-show-footer::before {
  content: "" !important;
  display: block !important;
  width: min(720px, calc(100% - 160px)) !important;
  max-width: 100% !important;
  height: 1.5px !important;
  margin: 0 auto 15px !important;
  padding: 0 !important;
  background: #571447 !important;
  border: 0 !important;
}

.ay-artist-show-footer-row {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: min(900px, calc(100% - 80px)) !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  padding: 0 !important;
  color: #571447 !important;
  background: transparent !important;
  border: 0 !important;
  font-size: 16px !important;
  line-height: 1.35 !important;
  letter-spacing: 0 !important;
  font-weight: 400 !important;
  text-align: center !important;
}

.ay-artist-show-footer-row > span,
.ay-artist-show-footer-row > a,
.ay-artist-show-footer a,
.ay-artist-show-footer span {
  display: inline !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #571447 !important;
  background: transparent !important;
  border: 0 !important;
  font-size: 16px !important;
  line-height: 1.35 !important;
  letter-spacing: 0 !important;
  font-weight: 400 !important;
  text-decoration: none !important;
}

.ay-artist-show-footer a:hover,
.ay-artist-show-footer a:focus-visible {
  color: #571447 !important;
  text-decoration: underline !important;
  text-underline-offset: 2px !important;
}

/* =========================================================
   8) MODAL — CAPA BLANCA TRANSLÚCIDA
   Inspiración de visor documental:
   - Sin fondo morado.
   - Sin caja, borde ni sombra.
   - Imagen/video y ficha sobre una capa blanca con opacidad.
   - Único control externo: cerrar.
   ========================================================= */
html.ay-artist-show-modal-open,
body.ay-artist-show-modal-open {
  overflow: hidden !important;
}

.ay-artist-show-modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 9999999 !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 24px !important;
  color: var(--ay-artist-dark) !important;
  user-select: none !important;
  -webkit-user-select: none !important;
}

.ay-artist-show-modal.is-open {
  display: flex !important;
}

.ay-artist-show-modal-backdrop {
  position: absolute !important;
  inset: 0 !important;
  background: rgba(255, 255, 255, 0.93) !important;
  -webkit-backdrop-filter: blur(10px) saturate(82%) !important;
  backdrop-filter: blur(10px) saturate(82%) !important;
}

.ay-artist-show-modal-dialog {
  position: relative !important;
  z-index: 1 !important;
  width: min(1180px, calc(100vw - 48px)) !important;
  max-height: calc(100dvh - 48px) !important;
  margin: 0 !important;
  padding: 42px 24px 28px !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  scrollbar-width: thin !important;
  scrollbar-color:
    rgba(34, 6, 29, 0.34)
    transparent !important;
}

.ay-artist-show-modal-close {
  appearance: none !important;
  -webkit-appearance: none !important;
  position: fixed !important;
  top: 22px !important;
  right: 28px !important;
  z-index: 3 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 42px !important;
  height: 42px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--ay-artist-dark) !important;
  font: inherit !important;
  font-size: 38px !important;
  line-height: 1 !important;
  font-weight: 300 !important;
  cursor: pointer !important;
  box-shadow: none !important;
  transition:
    color 160ms ease,
    transform 160ms ease !important;
}

.ay-artist-show-modal-close:hover,
.ay-artist-show-modal-close:focus-visible {
  color: var(--ay-artist-magenta) !important;
  transform: rotate(90deg) !important;
}

.ay-artist-show-modal-close:focus-visible {
  outline: 2px solid var(--ay-artist-magenta) !important;
  outline-offset: 3px !important;
}

.ay-artist-show-modal-media {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 0 !important;
  margin: 0 auto 24px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.ay-artist-show-modal-media img,
.ay-artist-show-modal-media video {
  display: none;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: min(72dvh, 760px) !important;
  margin: 0 auto !important;
  object-fit: contain !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  -webkit-user-drag: none !important;
  user-select: none !important;
}

.ay-artist-show-modal-media video {
  width: min(100%, 1080px) !important;
}

.ay-artist-show-modal-info {
  width: min(900px, 100%) !important;
  margin: 0 auto !important;
  padding: 0 0 10px !important;
  color: var(--ay-artist-dark) !important;
  text-align: left !important;
  background: transparent !important;
  border: 0 !important;
}

.ay-artist-show-modal-info h2 {
  margin: 0 0 8px !important;
  padding: 0 !important;
  color: var(--ay-artist-dark) !important;
  font-size: 15px !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
  background: transparent !important;
  border: 0 !important;
}

.ay-artist-show-modal-meta {
  margin: 0 0 10px !important;
  color: var(--ay-artist-magenta) !important;
  font-size: 9px !important;
  line-height: 1.48 !important;
}

.ay-artist-show-modal-desc {
  max-width: 780px !important;
  margin: 0 !important;
  color: var(--ay-artist-dark) !important;
  font-size: 10px !important;
  line-height: 1.58 !important;
}

/* El visor no permite seleccionar, arrastrar o abrir menú contextual. */
.ay-artist-show-modal img,
.ay-artist-show-modal video,
.ay-artist-show-modal-info {
  -webkit-user-drag: none !important;
  user-select: none !important;
  -webkit-user-select: none !important;
}

/* =========================================================
   9) TABLETA
   ========================================================= */
@media (min-width: 761px) and (max-width: 1180px) {
  .ay-artist-show-fixed-side-label {
    left: clamp(18px, 2.6vw, 34px) !important;
    bottom: clamp(42px, 6.5vh, 72px) !important;
  }

  .ay-artist-show-socials {
    right: clamp(18px, 2.6vw, 34px) !important;
    bottom: clamp(42px, 6.5vh, 72px) !important;
  }


  :root {
    --ay-artist-header-width: min(1040px, calc(100vw - 80px));
    --ay-artist-content-width: min(920px, calc(100vw - 80px));
  }

  .ay-artist-show-header {
    height: 370px !important;
    min-height: 370px !important;
  }

  .ay-artist-show-logo-area {
    top: 70px !important;
    width: 300px !important;
  }

  .ay-artist-show-logo-link,
  .ay-artist-show-logo {
    width: 250px !important;
    max-width: 250px !important;
  }

  .ay-artist-show-hero-caption {
    position: static !important;
    width: 360px !important;
    max-width: 360px !important;
    margin-top: 10px !important;
    font-size: 12px !important;
  }

  .ay-artist-show-search-area > label {
    top: 76px !important;
    right: 450px !important;
    width: 82px !important;
  }

  .ay-artist-show-search-area > input {
    top: 76px !important;
    right: 135px !important;
    width: 315px !important;
  }

  .ay-artist-show-search-area > button {
    top: 76px !important;
    right: 0 !important;
    width: 135px !important;
  }

  .ay-artist-show-main-access {
    top: 166px !important;
    right: 105px !important;
    width: 410px !important;
    max-width: 410px !important;
    column-gap: 88px !important;
  }

  .ay-artist-show-profile {
    grid-template-columns: 360px minmax(0, 1fr) !important;
    column-gap: 28px !important;
  }

  .ay-artist-show-image-block,
  .ay-artist-show-image {
    width: 360px !important;
  }

  .ay-artist-show-heading h1 {
    font-size: 46px !important;
  }

  .ay-artist-show-related-grid {
    column-gap: 38px !important;
  }


  .ay-artist-show-footer-row,
  .ay-artist-show-footer-row > span,
  .ay-artist-show-footer-row > a,
  .ay-artist-show-footer a,
  .ay-artist-show-footer span {
    font-size: 14px !important;
  }
}


/* =========================================================
   10) MÓVIL — FICHA DE ARTISTA SEGÚN DISEÑO RESPONSIVO
   Solo se aplica hasta 767 px. La vista de escritorio no cambia.
   ========================================================= */
@media (max-width: 767px) {
  :root {
    --ay-artist-header-width: 100%;
    --ay-artist-content-width: 100%;
  }

  html:has(.ay-artist-show-page),
  body.ay-artist-show-body,
  body:has(.ay-artist-show-page),
  body.ay-artist-show-body #content,
  body:has(.ay-artist-show-page) #content,
  body.ay-artist-show-body #content > .ay-artist-show-page,
  body:has(.ay-artist-show-page) #content > .ay-artist-show-page {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden !important;
    border-radius: 0 !important;
  }

  html:has(.ay-artist-show-page),
  body.ay-artist-show-body,
  body:has(.ay-artist-show-page) {
    background: var(--ay-artist-pink) !important;
  }

  .ay-artist-show-page {
    width: 100% !important;
    min-height: 100vh !important;
    overflow-x: hidden !important;
    background: var(--ay-artist-pink) !important;
  }

  /* ---------------------------------------------------------
     MENÚ HAMBURGUESA CERRADO
     --------------------------------------------------------- */
  .ay-artist-show-menu {
    display: block !important;
    position: relative !important;
    z-index: 80 !important;
    width: 100% !important;
    height: 80px !important;
    margin: 0 !important;
    padding: 34px 0 0 !important;
    background: var(--ay-artist-pink) !important;
  }

  .ay-artist-show-menu > summary {
    display: block !important;
    position: relative !important;
    width: 28px !important;
    height: 18px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    list-style: none !important;
    cursor: pointer !important;
    border-top: 2px solid var(--ay-artist-dark) !important;
    border-bottom: 2px solid var(--ay-artist-dark) !important;
  }

  .ay-artist-show-menu > summary::-webkit-details-marker {
    display: none !important;
  }

  .ay-artist-show-menu > summary::before {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    top: 6px !important;
    width: 28px !important;
    border-top: 2px solid var(--ay-artist-dark) !important;
  }

  .ay-artist-show-menu-panel {
    display: none !important;
  }

  /* ---------------------------------------------------------
     MENÚ ABIERTO — VISTA COMPLETA Y ESTÁTICA
     --------------------------------------------------------- */
  html:has(.ay-artist-show-menu[open]),
  body.ay-artist-show-body:has(.ay-artist-show-menu[open]),
  body:has(.ay-artist-show-page):has(.ay-artist-show-menu[open]) {
    overflow: hidden !important;
    overscroll-behavior: none !important;
  }

  .ay-artist-show-menu[open] {
    position: fixed !important;
    inset: 0 !important;
    z-index: 2147483000 !important;
    display: block !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    -webkit-overflow-scrolling: touch !important;
    background:
      linear-gradient(
        180deg,
        var(--ay-artist-lavender) 0%,
        #d8c7ee 12%,
        var(--ay-artist-pink) 28%,
        var(--ay-artist-pink) 100%
      ) !important;
  }

  .ay-artist-show-menu[open] > summary {
    position: absolute !important;
    left: 50% !important;
    top: 31px !important;
    z-index: 3 !important;
    width: 31px !important;
    height: 31px !important;
    margin: 0 !important;
    border: 0 !important;
    transform: translateX(-50%) !important;
  }

  .ay-artist-show-menu[open] > summary::before,
  .ay-artist-show-menu[open] > summary::after {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    top: 12px !important;
    width: 31px !important;
    border-top: 7px solid var(--ay-artist-dark) !important;
    transform-origin: center !important;
  }

  .ay-artist-show-menu[open] > summary::before {
    transform: rotate(45deg) !important;
  }

  .ay-artist-show-menu[open] > summary::after {
    transform: rotate(-45deg) !important;
  }

  .ay-artist-show-menu[open] .ay-artist-show-menu-panel {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    height: auto !important;
    min-height: 100% !important;
    margin: 0 !important;
    padding: 102px 0 0 !important;
    overflow: visible !important;
    text-align: center !important;
  }

  .ay-artist-show-menu-logo-link {
    display: block !important;
    flex: 0 0 auto !important;
    width: 200px !important;
    margin: 0 auto 38px !important;
    padding: 0 !important;
    line-height: 0 !important;
  }

  .ay-artist-show-menu-logo {
    display: block !important;
    width: 200px !important;
    max-width: 200px !important;
    height: auto !important;
    margin: 0 auto !important;
    filter: var(--ay-artist-dark-filter) !important;
  }

  .ay-artist-show-menu-nav {
    display: grid !important;
    flex: 0 0 auto !important;
    width: calc(100% - 48px) !important;
    max-width: 342px !important;
    margin: 0 auto !important;
    padding: 0 !important;
  }

  .ay-artist-show-menu-nav a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 89px !important;
    margin: 0 !important;
    padding: 0 12px !important;
    border-top: 1px solid var(--ay-artist-dark) !important;
    color: var(--ay-artist-dark) !important;
    font-size: 19px !important;
    line-height: 1 !important;
    font-weight: 400 !important;
    text-transform: uppercase !important;
  }

  .ay-artist-show-menu-contact {
    display: flex !important;
    flex: 0 0 auto !important;
    flex-direction: column !important;
    width: 100% !important;
    min-height: clamp(470px, 135vw, 527px) !important;
    margin: 40px 0 0 !important;
    padding: 35px 24px 28px !important;
    color: var(--ay-artist-lavender) !important;
    background:
      linear-gradient(
        180deg,
        #84165f 0%,
        #7b1a62 12%,
        #88418f 44%,
        #9570c6 72%,
        var(--ay-artist-lavender) 100%
      ) !important;
  }

  .ay-artist-show-menu-contact h2 {
    margin: 0 0 27px !important;
    padding: 0 !important;
    color: var(--ay-artist-lavender) !important;
    font-size: 20px !important;
    line-height: 1 !important;
    letter-spacing: 0.01em !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
  }

  .ay-artist-show-menu-contact-item {
    margin: 0 0 15px !important;
    padding: 0 !important;
    color: var(--ay-artist-lavender) !important;
    font-size: 11px !important;
    line-height: 1.2 !important;
    font-weight: 400 !important;
  }

  .ay-artist-show-menu-contact-item span,
  .ay-artist-show-menu-contact-item a {
    display: block !important;
    color: var(--ay-artist-lavender) !important;
    font-size: inherit !important;
    line-height: inherit !important;
  }

  .ay-artist-show-menu-contact-item a {
    text-decoration: underline !important;
    text-underline-offset: 2px !important;
    overflow-wrap: anywhere !important;
  }

  .ay-artist-show-menu-socials {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 48px !important;
    margin: 54px 0 0 !important;
    padding: 0 !important;
  }

  .ay-artist-show-menu-socials a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .ay-artist-show-menu-socials img {
    display: block !important;
    width: 38px !important;
    height: 38px !important;
    max-width: 38px !important;
    max-height: 38px !important;
    margin: 0 !important;
    filter: var(--ay-artist-lavender-filter) !important;
  }

  .ay-artist-show-menu-footer {
    width: min(320px, calc(100% - 16px)) !important;
    margin: auto auto 0 !important;
    padding: 10px 0 0 !important;
    border-top: 1px solid rgba(87, 20, 71, 0.72) !important;
    color: var(--ay-artist-purple) !important;
    font-size: 10px !important;
    line-height: 1.25 !important;
    font-weight: 400 !important;
    text-align: center !important;
  }

  .ay-artist-show-menu-footer div,
  .ay-artist-show-menu-footer a,
  .ay-artist-show-menu-footer span {
    color: var(--ay-artist-purple) !important;
    font-size: inherit !important;
    line-height: inherit !important;
    text-decoration: none !important;
  }

  /* ---------------------------------------------------------
     HEADER MÓVIL
     Orden visual: logo → buscador → texto introductorio.
     --------------------------------------------------------- */
  .ay-artist-show-header {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 24px 8px !important;
    overflow: visible !important;
    background:
      linear-gradient(
        180deg,
        var(--ay-artist-pink) 0%,
        var(--ay-artist-pink) 44%,
        #d8c7ee 100%
      ) !important;
  }

  .ay-artist-show-header-top {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .ay-artist-show-logo-area {
    display: contents !important;
  }

  .ay-artist-show-logo-link {
    order: 1 !important;
    position: static !important;
    display: block !important;
    width: 150px !important;
    max-width: 150px !important;
    margin: 0 auto 28px !important;
    padding: 0 !important;
  }

  .ay-artist-show-logo {
    display: block !important;
    width: 150px !important;
    max-width: 150px !important;
    height: auto !important;
    margin: 0 auto !important;
  }

  .ay-artist-show-header-actions {
    order: 2 !important;
    position: static !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .ay-artist-show-search-area {
    position: static !important;
    display: grid !important;
    grid-template-columns: 70px minmax(0, 1fr) 34px !important;
    grid-template-areas: "label input button" !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 28px !important;
    min-height: 28px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .ay-artist-show-search-area > label,
  .ay-artist-show-search-area > input,
  .ay-artist-show-search-area > button {
    position: static !important;
    inset: auto !important;
    width: auto !important;
    height: 28px !important;
    min-height: 28px !important;
    margin: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  .ay-artist-show-search-area > label {
    display: flex !important;
    align-items: center !important;
    padding: 0 0 0 7px !important;
    border: 1.2px solid var(--ay-artist-dark) !important;
    border-right: 0 !important;
    background: transparent !important;
    color: var(--ay-artist-dark) !important;
    font-size: 9px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
  }

  .ay-artist-show-search-area > input {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 0 6px !important;
    border-top: 1.2px solid var(--ay-artist-dark) !important;
    border-bottom: 1.2px solid var(--ay-artist-dark) !important;
    border-left: 0 !important;
    border-right: 0 !important;
    background: transparent !important;
    color: var(--ay-artist-dark) !important;
    font-size: 10px !important;
    outline: 0 !important;
  }

  .ay-artist-show-search-area > button {
    position: relative !important;
    display: block !important;
    width: 34px !important;
    min-width: 34px !important;
    padding: 0 !important;
    border: 1.2px solid var(--ay-artist-dark) !important;
    border-left: 0 !important;
    background: transparent !important;
    color: transparent !important;
    font-size: 0 !important;
  }

  .ay-artist-show-search-area > button::before {
    content: "" !important;
    position: absolute !important;
    left: 10px !important;
    top: 7px !important;
    width: 9px !important;
    height: 9px !important;
    border: 1.6px solid var(--ay-artist-dark) !important;
    border-radius: 50% !important;
  }

  .ay-artist-show-search-area > button::after {
    content: "" !important;
    position: absolute !important;
    left: 19px !important;
    top: 17px !important;
    width: 7px !important;
    border-top: 1.6px solid var(--ay-artist-dark) !important;
    transform: rotate(45deg) !important;
    transform-origin: left center !important;
  }

  .ay-artist-show-hero-caption {
    order: 3 !important;
    position: static !important;
    display: block !important;
    width: 100% !important;
    max-width: 342px !important;
    margin: 16px auto 0 !important;
    padding: 0 !important;
    color: var(--ay-artist-dark) !important;
    font-size: 11px !important;
    line-height: 1.45 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    text-align: left !important;
  }

  .ay-artist-show-main-access {
    display: none !important;
  }

  /* ---------------------------------------------------------
     PERFIL MÓVIL
     Título → retrato → datos → biografía → referencias.
     --------------------------------------------------------- */
  .ay-artist-show-main {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 24px 24px 74px !important;
    background:
      linear-gradient(
        180deg,
        #d8c7ee 0%,
        var(--ay-artist-lavender) 34%,
        #c9b4ed 76%,
        var(--ay-artist-pink) 100%
      ) !important;
  }

  .ay-artist-show-profile {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 0 !important;
  }

  .ay-artist-show-left-column,
  .ay-artist-show-right-column {
    display: contents !important;
  }

  .ay-artist-show-side-label,
  .ay-artist-show-fixed-side-label,
  .ay-artist-show-socials {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  .ay-artist-show-heading {
    order: 1 !important;
    width: 100% !important;
    margin: 0 0 18px !important;
    padding: 0 !important;
  }

  .ay-artist-show-kicker {
    margin: 0 0 8px !important;
    color: var(--ay-artist-dark) !important;
    font-size: 10px !important;
    line-height: 1.3 !important;
  }

  .ay-artist-show-heading h1 {
    max-width: 100% !important;
    margin: 0 !important;
    color: var(--ay-artist-dark) !important;
    font-size: 27px !important;
    line-height: 0.96 !important;
    letter-spacing: 0.15em !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }

  .ay-artist-show-subtitle {
    margin: 9px 0 0 !important;
    color: var(--ay-artist-dark) !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
  }

  .ay-artist-show-image-block {
    order: 2 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  .ay-artist-show-image {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    overflow: hidden !important;
  }

  .ay-artist-show-image img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 3 / 2 !important;
    margin: 0 !important;
    object-fit: cover !important;
    object-position: center top !important;
  }

  .ay-artist-show-image-caption {
    width: 100% !important;
    margin: 7px 0 0 !important;
    color: var(--ay-artist-dark) !important;
    font-size: 9px !important;
    line-height: 1.35 !important;
  }

  .ay-artist-show-meta {
    order: 3 !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 34px 0 0 !important;
    color: var(--ay-artist-dark) !important;
  }

  .ay-artist-show-meta-group {
    margin: 0 0 30px !important;
    padding: 0 !important;
    border: 0 !important;
  }

  .ay-artist-show-meta h2 {
    margin: 0 0 15px !important;
    color: var(--ay-artist-magenta) !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
  }

  .ay-artist-show-meta-line {
    display: block !important;
    width: 100% !important;
    margin: 0 0 9px !important;
    padding: 0 0 9px !important;
    border-bottom: 1.2px solid var(--ay-artist-magenta) !important;
    color: var(--ay-artist-dark) !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
  }

  .ay-artist-show-meta-digital,
  .ay-artist-show-meta-digital div,
  .ay-artist-show-meta-digital a,
  .ay-artist-show-meta-digital .ay-artist-show-digital-link {
    color: var(--ay-artist-dark) !important;
    font-size: 12px !important;
    line-height: 1.5 !important;
  }

  .ay-artist-show-meta-digital .ay-artist-show-digital-link {
    margin: 0 0 7px !important;
  }

  .ay-artist-show-meta-digital
  .ay-artist-show-digital-email {
    text-decoration: none !important;
  }

  .ay-artist-show-meta-digital
  .ay-artist-show-digital-link:not(.ay-artist-show-digital-email) {
    text-decoration-line: underline !important;
    text-decoration-thickness: 1px !important;
    text-underline-offset: 2px !important;
  }

  .ay-artist-show-bio {
    order: 4 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 4px 0 0 !important;
    color: var(--ay-artist-dark) !important;
  }

  .ay-artist-show-bio-title {
    display: block !important;
    margin: 0 0 17px !important;
    padding: 0 !important;
    color: var(--ay-artist-magenta) !important;
    font-size: 11px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
  }

  .ay-artist-show-text,
  .ay-artist-show-text p,
  .ay-artist-show-bio p {
    color: var(--ay-artist-dark) !important;
    font-size: 12px !important;
    line-height: 1.56 !important;
  }

  .ay-artist-show-text p {
    margin: 0 0 15px !important;
  }

  .ay-artist-show-reference {
    order: 5 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 23px 0 0 !important;
    padding: 17px 0 0 !important;
    border-top: 1.2px solid var(--ay-artist-magenta) !important;
    color: var(--ay-artist-magenta) !important;
    font-size: 9.5px !important;
    line-height: 1.45 !important;
  }

  /* ---------------------------------------------------------
     GALERÍA MÓVIL
     --------------------------------------------------------- */
  .ay-artist-show-gallery {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 62px 24px 82px !important;
    border-top: 0 !important;
    color: var(--ay-artist-dark) !important;
    background:
      linear-gradient(
        180deg,
        var(--ay-artist-lavender) 0%,
        #d8c7ee 11%,
        var(--ay-artist-pink) 24%,
        var(--ay-artist-pink) 79%,
        #c9b4ed 91%,
        var(--ay-artist-lavender) 100%
      ) !important;
  }

  .ay-artist-show-gallery > h2 {
    width: 100% !important;
    margin: 0 0 48px !important;
    padding: 0 !important;
    color: var(--ay-artist-dark) !important;
    font-size: 28px !important;
    line-height: 1 !important;
    letter-spacing: 0.04em !important;
    text-align: center !important;
    text-transform: uppercase !important;
  }

  .ay-artist-show-gallery-inner {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .ay-artist-show-gallery-work {
    display: block !important;
    width: 100% !important;
    margin: 0 0 38px !important;
    padding: 0 0 36px !important;
    border-bottom: 1.4px solid var(--ay-artist-magenta) !important;
  }

  .ay-artist-show-gallery-work-heading {
    display: block !important;
    width: 100% !important;
    margin: 0 0 17px !important;
    padding: 0 !important;
    background: transparent !important;
  }

  .ay-artist-show-gallery-year {
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 0 4px !important;
    color: var(--ay-artist-magenta) !important;
    background: transparent !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
  }

  .ay-artist-show-gallery-work h3 {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    color: var(--ay-artist-dark) !important;
    background: transparent !important;
    font-size: 14px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    font-style: italic !important;
  }

  .ay-artist-show-gallery-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 10px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .ay-artist-show-gallery-item {
    width: 100% !important;
    margin: 0 !important;
  }

  .ay-artist-show-gallery-image-button {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 3 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  .ay-artist-show-gallery-image-button img,
  .ay-artist-show-gallery-image-button
  .ay-artist-show-video-preview-frame,
  .ay-artist-show-gallery-image-button
  .ay-artist-show-video-preview {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: 4 / 3 !important;
    object-fit: cover !important;
  }

  .ay-artist-show-gallery-more {
    width: 40px !important;
    height: 40px !important;
    margin: 14px auto 0 !important;
    color: var(--ay-artist-magenta) !important;
    font-size: 24px !important;
    line-height: 1 !important;
  }

  /* ---------------------------------------------------------
     DOCUMENTOS RELACIONADOS MÓVIL
     --------------------------------------------------------- */
  .ay-artist-show-related {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 82px 24px 104px !important;
    border-top: 1.4px solid var(--ay-artist-line) !important;
    color: var(--ay-artist-dark) !important;
    background:
      linear-gradient(
        180deg,
        var(--ay-artist-lavender) 0%,
        #d8c7ee 9%,
        var(--ay-artist-pink) 21%,
        var(--ay-artist-pink) 84%,
        #c9b4ed 94%,
        var(--ay-artist-lavender) 100%
      ) !important;
  }

  .ay-artist-show-related > h2 {
    width: min(300px, 100%) !important;
    margin: 0 auto 58px !important;
    padding: 0 !important;
    color: var(--ay-artist-dark) !important;
    font-size: 28px !important;
    line-height: 0.98 !important;
    letter-spacing: 0.035em !important;
    text-align: center !important;
    text-transform: uppercase !important;
  }

  .ay-artist-show-related-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
    row-gap: 34px !important;
    column-gap: 0 !important;
  }

  .ay-artist-show-related-card {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    color: var(--ay-artist-dark) !important;
  }

  .ay-artist-show-related-card + .ay-artist-show-related-card {
    padding-top: 34px !important;
    border-top: 1.4px solid var(--ay-artist-magenta) !important;
  }

  .ay-artist-show-related-card > h3 {
    min-height: 0 !important;
    margin: 0 0 20px !important;
    color: var(--ay-artist-dark) !important;
    font-size: 14px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
  }

  .ay-artist-show-related-button {
    width: 100% !important;
  }

  .ay-artist-show-related-button::after {
    display: none !important;
  }

  .ay-artist-show-related-thumb {
    width: 100% !important;
    margin: 0 0 14px !important;
  }

  .ay-artist-show-related-thumb img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 141 / 200 !important;
    object-fit: cover !important;
    object-position: center top !important;
  }

  .ay-artist-show-related-thumb.is-video,
  .ay-artist-show-related-placeholder {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 141 / 200 !important;
    margin: 0 0 14px !important;
  }

  .ay-artist-show-related-thumb.is-video
  .ay-artist-show-video-preview {
    height: 100% !important;
  }

  .ay-artist-show-related-card h4 {
    margin: 0 0 8px !important;
    color: var(--ay-artist-dark) !important;
    font-size: 13px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
  }

  .ay-artist-show-related-card p,
  .ay-artist-show-related-card span {
    margin: 0 0 6px !important;
    color: var(--ay-artist-magenta) !important;
    font-size: 10.5px !important;
    line-height: 1.38 !important;
  }

  /* ---------------------------------------------------------
     CONTACTO Y FOOTER MÓVIL
     --------------------------------------------------------- */
  .ay-artist-show-mobile-contact {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 54px 24px 42px !important;
    color: var(--ay-artist-lavender) !important;
    background:
      linear-gradient(
        180deg,
        #721451 0%,
        #84205f 22%,
        #8f4f9f 60%,
        var(--ay-artist-lavender) 100%
      ) !important;
    text-align: center !important;
    overflow: hidden !important;
    border: 0 !important;
  }

  .ay-artist-show-mobile-contact h2 {
    margin: 0 0 30px !important;
    padding: 0 !important;
    color: var(--ay-artist-lavender) !important;
    font-size: 22px !important;
    line-height: 1 !important;
    letter-spacing: 0.025em !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
  }

  .ay-artist-show-contact-item {
    margin: 0 0 17px !important;
    color: var(--ay-artist-lavender) !important;
    font-size: 11px !important;
    line-height: 1.25 !important;
  }

  .ay-artist-show-contact-item span,
  .ay-artist-show-contact-item a {
    display: block !important;
    color: var(--ay-artist-lavender) !important;
  }

  .ay-artist-show-contact-item a {
    font-size: 10.5px !important;
    line-height: 1.25 !important;
    text-decoration: underline !important;
    text-underline-offset: 2px !important;
    overflow-wrap: anywhere !important;
  }

  .ay-artist-show-mobile-socials {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 44px !important;
    margin: 42px 0 0 !important;
    padding: 0 !important;
  }

  .ay-artist-show-mobile-socials a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  .ay-artist-show-mobile-socials img {
    display: block !important;
    width: 38px !important;
    height: 38px !important;
    max-width: 38px !important;
    max-height: 38px !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: contain !important;
    border: 0 !important;
    box-shadow: none !important;
    filter: var(--ay-artist-lavender-filter) !important;
  }

  .ay-artist-show-donate {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: 0 !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
  }

  .ay-artist-show-footer {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 24px 28px !important;
    color: var(--ay-artist-purple) !important;
    background: var(--ay-artist-lavender) !important;
    border: 0 !important;
    box-shadow: none !important;
    text-align: center !important;
  }

  .ay-artist-show-footer::before {
    content: "" !important;
    display: block !important;
    width: min(342px, 100%) !important;
    height: 1px !important;
    margin: 0 auto 12px !important;
    padding: 0 !important;
    background: var(--ay-artist-purple) !important;
    border: 0 !important;
  }

  .ay-artist-show-footer-row {
    display: block !important;
    width: min(342px, 100%) !important;
    margin: 0 auto !important;
    padding: 0 !important;
    color: var(--ay-artist-purple) !important;
    background: transparent !important;
    border: 0 !important;
    font-size: 11.5px !important;
    line-height: 1.28 !important;
    font-weight: 400 !important;
    text-align: center !important;
  }

  .ay-artist-show-footer-row > span,
  .ay-artist-show-footer-row > a,
  .ay-artist-show-footer a,
  .ay-artist-show-footer span {
    display: inline !important;
    margin: 0 !important;
    padding: 0 !important;
    color: var(--ay-artist-purple) !important;
    background: transparent !important;
    border: 0 !important;
    font-size: inherit !important;
    line-height: inherit !important;
    font-weight: 400 !important;
    text-decoration: none !important;
  }
}


/* Fallback si el navegador no soporta :has(). */
body.ay-artist-show-body .ay-artist-show-page {
  display: block !important;
}

/* AY_MOBILE_DIGITAL_TARGET_SIZE_FIX
   Amplía únicamente el área táctil de los enlaces
   web y correo en móvil, sin convertirlos en botones. */
@media (max-width: 767px) {
    .ay-artist-show-meta .ay-artist-show-digital-link {
        display: flex;
        align-items: center;
        width: fit-content;
        max-width: 100%;
        min-height: 24px;
        padding-block: 6px;
        box-sizing: border-box;
        line-height: 1.2;
    }

    .ay-artist-show-meta
    .ay-artist-show-digital-link
    + .ay-artist-show-digital-link {
        margin-top: 4px;
    }
}

/* AY_ARTIST_WORK_MODAL_V2_BEGIN */

/* =========================================================
   MODAL DE OBRAS — MORADO AZUL TRANSLÚCIDO
   ========================================================= */

html.ay-artist-show-modal-open,
body.ay-artist-show-modal-open {
  overflow: hidden !important;
}

.ay-artist-show-modal {
  display: none !important;
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147482000 !important;

  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;

  margin: 0 !important;
  padding: 0 !important;

  overflow: hidden !important;
  isolation: isolate !important;
}

.ay-artist-show-modal.is-open {
  display: grid !important;
  place-items: center !important;
}

.ay-artist-show-modal-backdrop {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;

  width: 100% !important;
  height: 100% !important;

  background:
    linear-gradient(
      180deg,
      rgba(159, 157, 255, 0.90) 0%,
      rgba(153, 147, 242, 0.87) 45%,
      rgba(189, 155, 249, 0.84) 100%
    ) !important;

  -webkit-backdrop-filter:
    blur(2px)
    saturate(108%) !important;

  backdrop-filter:
    blur(2px)
    saturate(108%) !important;

  cursor: zoom-out !important;
}

.ay-artist-show-modal-dialog {
  display: grid !important;
  position: relative !important;
  z-index: 1 !important;

  grid-template-rows:
    minmax(0, 1fr)
    auto !important;

  align-items: center !important;
  justify-items: center !important;

  width: min(
    1160px,
    calc(100vw - 80px)
  ) !important;

  max-width: none !important;

  height: 100vh !important;
  height: 100dvh !important;

  max-height: none !important;

  margin: 0 auto !important;

  padding:
    42px
    92px
    34px !important;

  overflow: hidden !important;

  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.ay-artist-show-modal-media {
  display: flex !important;
  position: relative !important;

  align-items: center !important;
  justify-content: center !important;

  width: 100% !important;
  min-width: 0 !important;

  height: 100% !important;
  min-height: 0 !important;

  margin: 0 !important;
  padding: 0 !important;

  overflow: hidden !important;

  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;

  touch-action: pan-y !important;
}

.ay-artist-show-modal-media::before {
  content: "" !important;

  position: absolute !important;
  left: 50% !important;
  top: 50% !important;

  width: 34px !important;
  height: 34px !important;

  margin:
    -17px
    0
    0
    -17px !important;

  border:
    2px solid
    rgba(165, 29, 117, 0.24) !important;

  border-top-color:
    var(--ay-artist-magenta) !important;

  border-radius: 50% !important;

  opacity: 0 !important;
  pointer-events: none !important;

  animation:
    ayArtistModalSpin
    700ms
    linear
    infinite !important;
}

.ay-artist-show-modal-media.is-loading::before {
  opacity: 1 !important;
}

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

.ay-artist-show-modal-media img,
.ay-artist-show-modal-media video {
  display: block !important;

  width: auto !important;
  max-width: 100% !important;

  height: auto !important;

  max-height:
    calc(100dvh - 150px) !important;

  margin: 0 auto !important;
  padding: 0 !important;

  object-fit: contain !important;
  object-position: center !important;

  background: transparent !important;

  border: 0 !important;
  border-radius: 0 !important;

  box-shadow:
    0 0 0 1px
    rgba(34, 6, 29, 0.52) !important;

  -webkit-user-drag: none !important;
  user-select: none !important;
}

.ay-artist-show-modal-media video {
  background:
    rgba(34, 6, 29, 0.94) !important;
}

.ay-artist-show-modal-info {
  display: flex !important;
  flex-wrap: wrap !important;

  align-items: baseline !important;
  justify-content: center !important;

  column-gap: 5px !important;
  row-gap: 3px !important;

  width: min(
    980px,
    100%
  ) !important;

  margin: 12px auto 0 !important;
  padding: 0 12px !important;

  color:
    var(--ay-artist-magenta) !important;

  text-align: center !important;

  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.ay-artist-show-modal-info h2,
.ay-artist-show-modal-meta,
.ay-artist-show-modal-desc {
  display: inline !important;

  width: auto !important;

  margin: 0 !important;
  padding: 0 !important;

  color:
    var(--ay-artist-magenta) !important;

  font-family:
    "Bitstream Vera Sans",
    Arial,
    Helvetica,
    sans-serif !important;

  font-weight: 400 !important;
  text-transform: none !important;
}

.ay-artist-show-modal-info h2 {
  font-size: 11px !important;
  line-height: 1.42 !important;
}

.ay-artist-show-modal-info h2:not(:empty)::after {
  content: "," !important;
}

.ay-artist-show-modal-meta {
  font-size: 10px !important;
  line-height: 1.42 !important;
}

.ay-artist-show-modal-desc {
  flex-basis: 100% !important;

  margin-top: 2px !important;

  font-size: 9px !important;
  line-height: 1.45 !important;
}

.ay-artist-show-modal-close {
  display: flex !important;
  position: absolute !important;

  top: 18px !important;
  right: 20px !important;
  z-index: 5 !important;

  align-items: center !important;
  justify-content: center !important;

  width: 42px !important;
  height: 42px !important;

  margin: 0 !important;
  padding: 0 0 3px !important;

  color:
    var(--ay-artist-magenta) !important;

  background:
    rgba(243, 221, 231, 0.18) !important;

  border:
    1px solid
    rgba(165, 29, 117, 0.46) !important;

  border-radius: 50% !important;

  box-shadow: none !important;

  font-family:
    Arial,
    Helvetica,
    sans-serif !important;

  font-size: 31px !important;
  line-height: 1 !important;
  font-weight: 300 !important;

  cursor: pointer !important;

  transition:
    color 160ms ease,
    background 160ms ease,
    transform 160ms ease !important;
}

.ay-artist-show-modal-close:hover,
.ay-artist-show-modal-close:focus-visible {
  color:
    var(--ay-artist-pink) !important;

  background:
    var(--ay-artist-magenta) !important;

  transform: scale(1.05) !important;
}

.ay-artist-show-modal-nav {
  display: flex !important;
  position: absolute !important;

  top: 50% !important;
  z-index: 5 !important;

  align-items: center !important;
  justify-content: center !important;

  width: 62px !important;
  height: 62px !important;

  margin: 0 !important;
  padding: 0 !important;

  color:
    var(--ay-artist-magenta) !important;

  background: transparent !important;

  border: 0 !important;
  border-radius: 0 !important;

  box-shadow: none !important;

  font-family:
    "Bitstream Vera Sans",
    Arial,
    sans-serif !important;

  font-size: 49px !important;
  line-height: 1 !important;
  font-weight: 400 !important;

  cursor: pointer !important;

  transform:
    translateY(-50%) !important;

  transition:
    color 150ms ease,
    transform 150ms ease,
    opacity 150ms ease !important;
}

.ay-artist-show-modal-prev {
  left: 10px !important;
}

.ay-artist-show-modal-next {
  right: 10px !important;
}

.ay-artist-show-modal-nav:hover,
.ay-artist-show-modal-nav:focus-visible {
  color:
    var(--ay-artist-purple-2) !important;

  transform:
    translateY(-50%)
    scale(1.10) !important;
}

.ay-artist-show-modal-nav:focus-visible,
.ay-artist-show-modal-close:focus-visible {
  outline:
    2px solid
    var(--ay-artist-magenta) !important;

  outline-offset: 3px !important;
}

.ay-artist-show-modal-nav[hidden],
.ay-artist-show-modal-counter[hidden] {
  display: none !important;
}

.ay-artist-show-modal-counter {
  display: block !important;
  position: absolute !important;

  right: 24px !important;
  bottom: 20px !important;
  z-index: 5 !important;

  min-width: 50px !important;

  margin: 0 !important;
  padding: 5px 8px !important;

  color:
    var(--ay-artist-magenta) !important;

  background:
    rgba(243, 221, 231, 0.24) !important;

  border:
    1px solid
    rgba(165, 29, 117, 0.30) !important;

  font-size: 9px !important;
  line-height: 1 !important;

  text-align: center !important;
  pointer-events: none !important;
}

@media (max-width: 767px) {
  .ay-artist-show-modal-dialog {
    width: 100vw !important;
    height: 100dvh !important;

    padding:
      54px
      48px
      66px !important;
  }

  .ay-artist-show-modal-media img,
  .ay-artist-show-modal-media video {
    max-height:
      calc(100dvh - 190px) !important;
  }

  .ay-artist-show-modal-nav {
    width: 44px !important;
    height: 52px !important;

    font-size: 37px !important;
  }

  .ay-artist-show-modal-prev {
    left: 1px !important;
  }

  .ay-artist-show-modal-next {
    right: 1px !important;
  }

  .ay-artist-show-modal-close {
    top: 10px !important;
    right: 10px !important;

    width: 38px !important;
    height: 38px !important;

    font-size: 28px !important;
  }

  .ay-artist-show-modal-info {
    margin-top: 10px !important;
    padding: 0 !important;
  }

  .ay-artist-show-modal-info h2 {
    font-size: 9px !important;
  }

  .ay-artist-show-modal-meta {
    font-size: 8px !important;
  }

  .ay-artist-show-modal-desc {
    font-size: 7.5px !important;
  }

  .ay-artist-show-modal-counter {
    right: 12px !important;
    bottom: 12px !important;

    font-size: 8px !important;
  }
}

/* AY_ARTIST_WORK_MODAL_V2_END */

/* AY_ARTIST_MODAL_MEDIA_STABILITY_BEGIN */

/*
 * Un elemento con el atributo hidden debe permanecer oculto,
 * aunque las reglas anteriores utilicen display:block!important.
 */
.ay-artist-show-modal-media img[hidden],
.ay-artist-show-modal-media video[hidden] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

/*
 * El nuevo medio permanece invisible durante su carga.
 * Esto evita mostrar el archivo anterior o un fotograma negro.
 */
.ay-artist-show-modal-media img:not([hidden]),
.ay-artist-show-modal-media video:not([hidden]) {
  opacity: 0 !important;
  visibility: hidden !important;

  transition:
    opacity 150ms ease,
    visibility 150ms ease !important;
}

/*
 * Solo se muestra el archivo correspondiente a la carga actual.
 */
.ay-artist-show-modal.is-media-ready
.ay-artist-show-modal-media
img:not([hidden]),

.ay-artist-show-modal.is-media-ready
.ay-artist-show-modal-media
video:not([hidden]) {
  opacity: 1 !important;
  visibility: visible !important;
}

/*
 * Los textos también aparecen suavemente y no muestran
 * temporalmente los datos del archivo anterior.
 */
.ay-artist-show-modal-info {
  opacity: 0 !important;

  transition:
    opacity 140ms ease !important;
}

.ay-artist-show-modal.is-media-ready
.ay-artist-show-modal-info {
  opacity: 1 !important;
}

/*
 * Durante el cambio se conserva el espacio del visor,
 * evitando movimientos bruscos del modal.
 */
.ay-artist-show-modal-media.is-loading {
  min-height: min(
    68vh,
    700px
  ) !important;
}

@media (max-width: 767px) {
  .ay-artist-show-modal-media.is-loading {
    min-height: 52vh !important;
  }
}

/* AY_ARTIST_MODAL_MEDIA_STABILITY_END */

/* =========================================================
   11) CORRECCIÓN FINAL MÓVIL — MENÚ Y CIERRE DE CONTACTO
   Esta sección está al final para garantizar prioridad.
   No modifica escritorio ni tableta.
   ========================================================= */
@media (max-width: 767px) {
  .ay-artist-show-menu[open] {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    background:
      linear-gradient(
        180deg,
        var(--ay-artist-lavender) 0%,
        #d8c7ee 12%,
        var(--ay-artist-pink) 28%,
        var(--ay-artist-pink) 100%
      ) !important;
  }

  .ay-artist-show-menu[open] .ay-artist-show-menu-panel {
    height: auto !important;
    min-height: 100% !important;
    overflow: visible !important;
  }

  .ay-artist-show-menu-nav a {
    font-size: 19px !important;
  }

  .ay-artist-show-menu-contact {
    flex: 0 0 auto !important;
    min-height: clamp(470px, 135vw, 527px) !important;
  }

  .ay-artist-show-menu-contact h2 {
    font-size: 20px !important;
  }

  .ay-artist-show-menu-contact-item {
    font-size: 11px !important;
  }

  .ay-artist-show-menu-footer {
    font-size: 10px !important;
  }

  .ay-artist-show-mobile-contact {
    height: auto !important;
    min-height: 0 !important;
    padding: 54px 24px 42px !important;
  }

  .ay-artist-show-mobile-socials {
    margin-top: 42px !important;
  }
}

/* =========================================================
   12) AJUSTE PUNTUAL — MENÚ MÓVIL ABIERTO
   Reduce únicamente la distancia entre los íconos sociales
   y el footer dentro del menú desplegado.
   No modifica la vista normal de la ficha.
   ========================================================= */
@media (max-width: 767px) {
  .ay-artist-show-menu[open]
  .ay-artist-show-menu-contact {
    height: auto !important;
    min-height: 0 !important;
  }

  .ay-artist-show-menu[open]
  .ay-artist-show-menu-footer {
    margin: 30px auto 0 !important;
  }
}
