.expo-temporal-page {
  background: #34363a;
  overflow-x: hidden;
}

.expo-temporal-page .expo-page {
  background: #34363a;
  color: #ececec;
  /* Body copy: Figma «Exposición temporal / EN PROCESO» uses Gambetta Variable; web ships static Gambetta (see gambetta.css). */
  font-family: "Gambetta", serif;
}

.expo-temporal-page .expo-page__shell {
  width: 100%;
  max-width: var(--site-container-max, 1440px);
  margin: 0 auto;
}

/* Main: modest extra side inset vs default .container (md+); keeps global 1440px shell */
@media (min-width: 768px) {
  .expo-temporal-page main.expo-page .container.expo-page__shell {
    --bs-gutter-x: 3.75rem;
  }
}

@media (min-width: 1200px) {
  .expo-temporal-page main.expo-page .container.expo-page__shell {
    --bs-gutter-x: 4.25rem;
  }
}

/* Footer strip: same horizontal shell + gutters as main content / hero */
@media (min-width: 768px) {
  .expo-temporal-page #footer .container.expo-page__shell {
    --bs-gutter-x: 3.75rem;
  }
}

@media (min-width: 1200px) {
  .expo-temporal-page #footer .container.expo-page__shell {
    --bs-gutter-x: 4.25rem;
  }
}

/* Language links: bottom-right of slim expo header row */
.expo-temporal-page .header-site--v2 .expo-header-top {
  align-items: flex-end;
}

.expo-temporal-page .header-site--v2 .expo-header-lang {
  margin-left: auto;
}

.expo-temporal-page .expo-page section+section {
  margin-top: 15px;
}

@media (min-width: 768px) {
  .expo-temporal-page .expo-page section.mb-5 {
    margin-bottom: 4.5rem !important;
  }
}

.expo-temporal-page .expo-page section:not(#cartelera) h1,
.expo-temporal-page .expo-page section:not(#cartelera) h3 {
  margin: 0 0 25px;
  line-height: 1.03;
}

.expo-temporal-page .expo-page section:not(#cartelera) h2 {
  margin: 0;
  line-height: 1.03;
}

.expo-temporal-page .expo-page section:not(#cartelera) p {
  margin: 0 0 25px;
  line-height: 1.35;
  color: #d3d5d6;
}

.expo-temporal-page .expo-page section:not(#cartelera) a {
  color: #ececec;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.expo-temporal-page .expo-page figure {
  margin: 0;
}

.expo-temporal-page .expo-page img {
  width: 100%;
  height: 100%;
  display: block;
}

/* Grid-only: undo temporal hero img fill (carousel uses rules below). */
.expo-temporal-page .expo-page__gallery-option:not(.expo-gallery) img {
  width: auto;
  max-width: 100%;
  height: auto;
}

/*
 * Flickity slides: fixed row height so every slide matches; object-fit contain = full photo visible (no crop).
 * Wagtail height-480 renditions supply pixels; this aligns display when cell width forces scaling.
 */
.expo-gallery--01 .expo-gallery-01__cell img,
.expo-gallery--02 .expo-gallery-02__cell img,
.expo-gallery--03 .expo-gallery-03__cell img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center;
}

.expo-temporal-page .expo-page__crumbs .breadcrumb {
  --bs-breadcrumb-divider: ">";
  --bs-breadcrumb-divider-color: #fff;
  font-family: "Inconsolata", monospace;
  font-size: 0.88rem;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  gap: 6px;
}

.expo-temporal-page .expo-page__crumbs .breadcrumb a {
  text-decoration: none !important;
}

.expo-temporal-page .expo-page__crumbs .breadcrumb a:hover {
  text-decoration: underline !important;
}

.expo-temporal-page .expo-page__crumbs .breadcrumb-item,
.expo-temporal-page .expo-page__crumbs .breadcrumb-item.active {
  font-family: inherit;
  font-weight: 400;
  font-size: 1rem;
  color: #fff;
}

/* Hero: background PNG + title SVG; bottom strip = Bootstrap row (subtitle + dates SVG) */
.expo-temporal-page .expo-page__hero-banner {
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  min-height: clamp(260px, 42vw, 560px);
}

.expo-temporal-page .expo-page__hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("../img/vyp-hero-background.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Top lockup only — not in grid */
.expo-temporal-page .expo-page__hero-banner .expo-page__hero-asset--1 {
  position: absolute;
  z-index: 1;
  top: 5%;
  left: 3%;
  width: min(82%, 58rem);
  max-height: 44%;
  height: auto;
  object-fit: contain;
  object-position: left top;
  pointer-events: none;
}

/* Dates SVG: sits in Bootstrap column; override global img stretch */
.expo-temporal-page .expo-page__hero-banner .expo-page__hero-asset--2 {
  position: relative;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: clamp(7.5rem, 20vw, 12rem);
  object-fit: contain;
  object-position: right bottom;
  vertical-align: bottom;
}

.expo-temporal-page .expo-page__hero-text {
  min-width: 0;
}

/* Must beat section:not(#cartelera) p { line-height: 1.35 } */
.expo-temporal-page .expo-page section:not(#cartelera) p.expo-page__hero-line {
  font-family: "Gambetta", serif;
  font-size: clamp(1.3125rem, 3vw, 2.1875rem);
  /* +25% vs previous */
  font-weight: 400;
  line-height: 24px;
  color: #f1ede0;
  letter-spacing: 0.01em;
}

/* EN hero: exhibition title line (same type, bold) */
.expo-temporal-page .expo-page section:not(#cartelera) p.expo-page__hero-line.expo-page__hero-line--bold {
  font-weight: 700;
}

@media (max-width: 768px) {
  .expo-temporal-page .expo-page__hero-banner {
    aspect-ratio: 4 / 5;
    min-height: 320px;
  }

  .expo-temporal-page .expo-page__hero-banner .expo-page__hero-asset--1 {
    top: 4%;
    left: 2%;
    width: 96%;
    max-height: 32%;
  }

  .expo-temporal-page .expo-page__hero-banner .expo-page__hero-asset--2 {
    max-height: clamp(6.5rem, 28vw, 10rem);
  }

  /* Tighter stack than gap-1 / gap-sm-2 on small screens */
  .expo-temporal-page .expo-page .expo-page__hero-text {
    gap: 0.125rem;
  }

  .expo-temporal-page .expo-page section:not(#cartelera) p.expo-page__hero-line {
    font-size: clamp(1.4375rem, 5.25vw, 2.0625rem);
    /* +25% vs previous */
    line-height: 24px;
  }
}

.expo-temporal-page .expo-page__text-block h1 {
  font-size: 2.5625rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 30px;
}

.expo-temporal-page .expo-page__text-block h2 {
  font-size: 1.625rem;
  font-weight: 500;
  margin: 0;
}

.expo-temporal-page .expo-page__text-block h3 {
  font-size: 1.0625rem;
  font-weight: 400;
  letter-spacing: -0.005em;
  margin: 44px 0 18px;
}

.expo-temporal-page .expo-page__text-block p {
  font-family: "Gambetta", serif;
  font-size: 1.08rem;
  line-height: 1.5;
  max-width: 47ch;
  margin-bottom: 20px;
}

.expo-temporal-page .expo-page__credits p {
  font-family: "Satoshi", sans-serif;
  font-size: 1rem;
  line-height: 1.35;
  max-width: 47ch;
  margin-bottom: 0;
}

.expo-temporal-page .expo-page__text-block p+p {
  margin-top: 0;
}

.expo-temporal-page .expo-page__text-block a {
  display: inline-block;
  margin-top: 30px;
  font-size: 1.06rem;
}

.expo-temporal-page .expo-page__text-block a.expo-page__auto-pill-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* Inverted: solid light pill by default (was outline; hover is now outline). */
  border: 1px solid #fff;
  border-radius: 999px;
  padding: 10px 15px;
  margin-top: 0;
  background: #fff;
  color: #34363a !important;
  text-decoration: none !important;
  text-decoration-line: none !important;
  font-family: "Satoshi", sans-serif;
  font-size: 1.05rem;
  user-select: text;
  -webkit-user-select: text;
}

/* Mid-sentence external (class from stylize only — not auto-pill): underline, no capsule. */
.expo-temporal-page .expo-page__text-block a.expo-page__auto-external-inline {
  display: inline;
  vertical-align: baseline;
  margin-top: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  font-size: inherit;
  font-family: inherit;
  text-decoration: underline;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  user-select: text;
  -webkit-user-select: text;
}

.expo-temporal-page .expo-page__text-block a.expo-page__auto-external-inline:hover {
  background: transparent;
  color: #fff;
  text-decoration-thickness: 2px;
}

.expo-temporal-page .expo-page__text-block a.expo-page__auto-download-link {
  display: block;
  width: fit-content;
  margin-top: 0;
  margin-bottom: 5px;
  font-family: "Satoshi", sans-serif;
  font-size: 1.04rem;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.expo-temporal-page .expo-page__links-block .expo-page__info-block {
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.expo-temporal-page .expo-page__info-group {
  display: flex;
  flex-direction: column;
}

.expo-temporal-page .expo-page__info-block p {
  font-family: "Satoshi", sans-serif;
  font-size: 1.06rem;
  line-height: 1.32;
  color: #ececec;
  margin-bottom: 0;
}

.expo-temporal-page .expo-page__info-cta {
  line-height: 1;
}

.expo-temporal-page .expo-page__info-block a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #fff;
  border-radius: 999px;
  padding: 10px 15px;
  margin-top: 0;
  background: #fff;
  color: #34363a !important;
  text-decoration: none !important;
  text-decoration-line: none !important;
  font-size: 1.05rem;
}

.expo-temporal-page .expo-page__resource-links a {
  display: block;
  width: fit-content;
  font-size: 1.04rem;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  margin-bottom: 5px;
}

.expo-temporal-page .expo-page__resource-note {
  display: block;
  width: fit-content;
  margin-bottom: 10px;
  font-size: 1.04rem;
  color: #aeb4b8;
  font-family: "Satoshi", sans-serif;
}

/* Catálogo cover: 25% smaller than 400px cap → 300px (img-fluid keeps aspect) */
.expo-temporal-page .expo-page__catalog-cover {
  max-width: 300px;
}

.expo-temporal-page .expo-page__text-block a:hover,
.expo-temporal-page .expo-page__resource-links a:hover {
  color: #fff;
  text-decoration-thickness: 2px;
}

.expo-temporal-page .expo-page__text-block a.expo-page__auto-pill-link:hover {
  background: transparent;
  color: #ececec !important;
  border-color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.expo-temporal-page .expo-page__info-block a:hover {
  background: transparent;
  color: #ececec !important;
  border-color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.expo-temporal-page .expo-page__video .ratio {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #000;
}

.expo-temporal-page .expo-page__video-full {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.expo-temporal-page .expo-page__video-full .ratio {
  border: 0;
}

.expo-temporal-page .expo-page__video-carousel {
  width: 100%;
}

.expo-temporal-page .expo-page__video-carousel .flickity-viewport {
  overflow: hidden;
}

.expo-temporal-page .expo-page__video-cell {
  width: 100%;
  margin-right: 0;
}

.expo-temporal-page .expo-page__video-frame {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  pointer-events: auto;
}

.expo-temporal-page .expo-page__video-arrows {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 12px;
  margin-top: 0;
  margin-left: auto;
  width: fit-content;
}

.expo-temporal-page .expo-page__carousel-counter {
  font-family: "Inconsolata", monospace;
  font-size: 1rem;
  letter-spacing: 0.06em;
  color: #ececec;
  min-width: 52px;
  text-align: center;
}

.expo-temporal-page .expo-page__video-meta {
  margin-top: 0;
  padding-top: 16px;
  align-items: flex-start;
}

.expo-temporal-page .expo-page__video-heading {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.expo-temporal-page .expo-page__video-meta h2 {
  font-size: 1.25rem;
  font-weight: 400;
  margin: 0;
  margin-bottom: 0 !important;
}

.expo-temporal-page .expo-page__video-meta span {
  font-family: "Inconsolata", monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ccd0d2;
  font-size: 1.125rem;
  padding-top: 0;
}

.expo-temporal-page .expo-page__video-meta p {
  margin: 0;
  max-width: 58ch;
  font-size: 1rem;
  font-family: "Satoshi", sans-serif;
  margin-left: auto;
}

.expo-temporal-page .expo-page__video-meta p+p {
  margin-top: 10px;
}

.expo-temporal-page #expoVideoDescription {
  white-space: pre-line;
}

/* --- Galerías Flickity / grid: marcas del bloque (.expo-page__gallery-option, .expo-gallery--*) — sin main.expo-page --- */
.expo-page__gallery-option .expo-page__gallery-head {
  align-items: center;
  justify-content: space-between;
}

.expo-page__gallery-option .expo-page__gallery-head h2 {
  font-size: 2.7rem;
  font-weight: 500;
  margin: 0 0 2px;
}

.expo-page__gallery-option .expo-page__gallery-title-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.expo-page__gallery-option .expo-page__gallery-credit {
  margin: 0;
  font-family: "Gambetta", serif;
  font-size: 1.08rem;
  line-height: 1.5;
  color: #5c5c5c;
}

.expo-temporal-page .expo-page__gallery-option .expo-page__gallery-credit {
  color: #cfd2d4;
}

.expo-page__gallery-option .expo-page__gallery-arrows {
  display: inline-flex;
  gap: 20px;
  align-items: center;
}

.expo-page__gallery-option .expo-page__gallery-arrows .colec-arrow {
  color: #1a1a1a;
  font-size: inherit;
}

.expo-temporal-page .expo-page__gallery-option .expo-page__gallery-arrows .colec-arrow {
  color: #ececec;
}

.expo-page__gallery-arrows.expo-page__video-arrows {
  display: flex;
  justify-content: flex-end;
  margin-left: auto;
  width: fit-content;
}

/* Galeria componente 01 */
.expo-gallery--01 .expo-gallery-01__carousel {
  width: 100%;
}

.expo-gallery--01 .expo-gallery-01__carousel .flickity-viewport {
  overflow: hidden;
}

.expo-gallery--01 .expo-gallery-01__cell {
  width: 200px;
  margin-right: 12px;
}

.expo-gallery--01 .expo-gallery-01__cell figure {
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: hidden;
}

.expo-gallery--01 .expo-gallery-01__cell .expo-gallery__link {
  display: block;
}

.expo-gallery--01 .expo-gallery-01__cell img {
  width: 200px;
  height: 300px;
  object-fit: cover;
}

/* Galeria componente 02 */
.expo-gallery--02 .expo-gallery-02__carousel {
  width: 100%;
}

.expo-gallery--02 .expo-gallery-02__carousel .flickity-viewport {
  overflow: hidden;
}

.expo-gallery--02 .expo-gallery-02__cell {
  width: 100%;
  margin-right: 0;
}

/* Galeria componente 03 */
.expo-gallery--03 .expo-gallery-03__carousel {
  width: 100%;
}

.expo-gallery--03 .expo-gallery-03__carousel .flickity-viewport {
  overflow: hidden;
}

.expo-gallery--03 .expo-gallery-03__cell {
  width: calc((100% - 20px) / 3);
  margin-right: 10px;
}

/* Marco por defecto (fondos claros); exposición temporal sobrescribe abajo */
.expo-page__gallery-wide,
.expo-gallery-01__cell figure,
.expo-gallery-02__cell figure,
.expo-gallery-03__cell figure,
.expo-page__gallery-grid figure {
  border: 1px solid rgba(26, 26, 26, 0.12);
  border-radius: 0.35rem;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.04);
}

.expo-gallery--01 .expo-gallery-01__cell figure {
  border: 0;
  border-radius: 0;
  background: transparent;
}

.expo-temporal-page .expo-page__gallery-wide,
.expo-temporal-page .expo-gallery-01__cell figure,
.expo-temporal-page .expo-gallery-02__cell figure,
.expo-temporal-page .expo-gallery-03__cell figure,
.expo-temporal-page .expo-page__gallery-grid figure {
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 0;
  background: #2a2c2f;
}

.expo-lg-item {
  cursor: zoom-in;
}

.expo-page__gallery-grid {
  --bs-gutter-x: 16px;
  --bs-gutter-y: 16px;
}

.expo-page__gallery-grid figure.expo-piece-card {
  display: flex;
  flex-direction: column;
  height: auto;
  aspect-ratio: auto;
  min-height: 0;
  margin: 0;
}

.expo-page__gallery-grid figure.expo-piece-card img {
  /*width: 100%;
  max-width: 100%;
  height: auto;
  max-height: min(55vh, 480px);
  object-fit: contain;
  object-position: center;
  display: block;*/
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.expo-temporal-page .expo-page__gallery-option .cartelera-load {
  color: #ececec;
}

.expo-temporal-page .expo-page__gallery-option .cartelera-load:hover {
  color: #fff;
}

.expo-temporal-page .expo-page__text-right {
  margin-top: 52px;
}

.expo-temporal-page .expo-page__text-right .expo-page__text-block h2 {
  font-size: 1.625rem;
}

.expo-temporal-page .expo-page__byline {
  margin: 14px 0 24px;
  font-family: "Satoshi", sans-serif !important;
  font-size: 1rem !important;
  line-height: 1.35 !important;
  color: #cfd2d4 !important;
}

.expo-temporal-page .expo-page__quote {
  margin-top: 60px;
}

.expo-temporal-page .expo-page__quote blockquote {
  margin-bottom: 15px;
  font-size: clamp(2.2rem, 4.2vw, 3.7rem);
  line-height: 1.05;
  color: #ececec;
}

.expo-temporal-page .expo-page__quote p {
  margin-top: 24px;
  font-size: 1.1rem;
}

.expo-temporal-page .expo-page__objects {
  margin-top: 56px;
}

.expo-temporal-page .expo-page__objects-head h2 {
  font-size: 2.9rem;
  font-weight: 500;
  margin-bottom: 18px;
}

.expo-temporal-page .expo-page__objects-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 40px 18px;
  align-items: start;
}

.expo-temporal-page .expo-page__objects-grid .catalogo-card {
  break-inside: avoid;
  margin-bottom: 0;
  align-self: start;
  text-decoration: none;
  color: #fff;
}

.expo-temporal-page .expo-page__objects-grid .catalogo-card,
.expo-temporal-page .expo-page__objects-grid .catalogo-card:hover,
.expo-temporal-page .expo-page__objects-grid .catalogo-card:focus {
  text-decoration: none !important;
}

.expo-temporal-page .expo-page__objects-grid .catalogo-card__thumb {
  width: 100%;
  background: #d9d9d9;
  height: 120px;
  margin-bottom: 8px;
}

.expo-temporal-page .expo-page__objects-grid .catalogo-card__thumb.is-tall {
  height: 185px;
}

.expo-temporal-page .expo-page__objects-grid .catalogo-card__thumb.is-short {
  height: 95px;
}

.expo-temporal-page .expo-page__objects-grid .catalogo-card__thumb.is-wide {
  height: 130px;
}

.expo-temporal-page .expo-page__objects-grid .catalogo-card h3 {
  font-family: "Museo", sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.08;
  margin: 0 0 4px;
  color: #fff;
  display: inline;
  padding-bottom: 2px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  background-image: linear-gradient(#fff, #fff);
  background-size: 0 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size .2s ease;
}

.expo-temporal-page .expo-page__objects-grid .catalogo-card:hover h3,
.expo-temporal-page .expo-page__objects-grid .catalogo-card:focus h3 {
  background-size: 100% 1px;
}

.expo-temporal-page .expo-page__objects-grid .catalogo-card p,
.expo-temporal-page .expo-page__objects-grid .catalogo-card span {
  margin: 0;
  color: #d3d5d6;
  font-family: "Satoshi", sans-serif;
  font-size: 0.76rem;
  line-height: 1.1;
  margin-bottom: 3px !important;
}

.expo-temporal-page .expo-page__objects-grid .catalogo-card-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.expo-temporal-page .expo-page__objects-grid .catalogo-card-place,
.expo-temporal-page .expo-page__objects-grid .catalogo-card-date,
.expo-temporal-page .expo-page__objects-grid .catalogo-card-code {
  display: none;
  font-size: 0.9rem;
}

.expo-temporal-page .expo-page__objects-grid .catalogo-card-code {
  display: block;
}

.expo-temporal-page .expo-page__objects-grid .catalogo-card-date,
.expo-temporal-page .expo-page__objects-grid .catalogo-card-code {
  font-family: "Inconsolata", monospace;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.65rem;
}

.expo-temporal-page .expo-page__articles-wrap h2 {
  font-size: 2.0625rem;
  font-weight: 400;
  line-height: 1.03;
  margin: 0 0 22px;
}

.expo-temporal-page .expo-page__articles-wrap ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.expo-temporal-page .expo-page__articles-wrap li {
  margin-bottom: 15px;
}

.expo-temporal-page .expo-page__articles-wrap a {
  color: #ececec;
  font-family: "Satoshi", sans-serif;
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1.12;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  text-decoration-color: rgba(236, 236, 236, 0.7);
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.expo-temporal-page .expo-page__articles-wrap a:hover {
  color: #fff;
  text-decoration-color: #fff;
}

.expo-temporal-page .expo-page__credits-section {
  margin-top: 56px;
  color: #ececec;
}

.expo-temporal-page .expo-page__credits-head h2 {
  font-size: 2.7rem;
  font-weight: 500;
  margin-bottom: 10px;
}

.expo-temporal-page .expo-page__credits-head p {
  max-width: 70ch;
  font-family: "Gambetta", serif;
  font-size: 1.08rem;
  line-height: 1.5;
  margin-bottom: 24px;
  color: #d3d5d6;
}

.expo-temporal-page .expo-credits-accordion {
  --bs-accordion-bg: transparent;
  --bs-accordion-border-color: transparent;
  --bs-accordion-btn-color: #ececec;
  --bs-accordion-active-color: #ececec;
  --bs-accordion-active-bg: transparent;
  --bs-accordion-btn-focus-box-shadow: none;
}

.expo-temporal-page .expo-credits-accordion .accordion-item {
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0;
  background: transparent;
}

.expo-temporal-page .expo-credits-accordion .accordion-header {
  margin-bottom: 0;
}

.expo-temporal-page .expo-page #expoCreditsAccordion .accordion-header {
  margin-bottom: 0 !important;
}

.expo-temporal-page .expo-credits-accordion .accordion-item+.accordion-item {
  margin-top: 0;
}

.expo-temporal-page .expo-credits-accordion .accordion-button {
  background: transparent !important;
  color: #ececec;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font-family: "Satoshi", sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  padding: 16px 0px;
}

.expo-temporal-page .expo-credits-accordion .accordion-button:not(.collapsed) {
  background: transparent !important;
}

.expo-temporal-page .expo-credits-accordion .accordion-button:focus {
  box-shadow: none;
}

.expo-temporal-page .expo-credits-accordion .accordion-button::after {
  content: "\f067";
  font-family: "Font Awesome 6 Pro";
  font-weight: 300;
  width: auto;
  height: auto;
  margin-left: auto;
  flex-shrink: 0;
  background-color: transparent;
  background-image: none;
  -webkit-mask: none;
  mask: none;
  color: #ececec;
  font-size: 25.2px;
  line-height: 1;
  transition: transform .12s ease, opacity .12s ease;
}

.expo-temporal-page .expo-credits-accordion .accordion-button:hover::after {
  transform: translateY(-1px);
  opacity: .8;
}

.expo-temporal-page .expo-credits-accordion .accordion-button:not(.collapsed)::after {
  transform: rotate(45deg);
}

.expo-temporal-page .expo-credits-accordion .accordion-body {
  padding: 18px 0px;
  background: transparent;
  color: #d3d5d6;
}

.expo-temporal-page .expo-credits-list {
  margin: 0;
  display: grid;
  gap: 14px;
}

.expo-temporal-page .expo-credits-list dt {
  font-family: "Inconsolata", monospace;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #cfd2d4;
  margin-bottom: 3px;
}

.expo-temporal-page .expo-credits-list dd {
  margin: 0;
  font-family: "Gambetta", serif;
  font-size: 1.02rem;
  line-height: 1.45;
  color: #ececec;
}

.expo-temporal-page .expo-credits-accordion h4 {
  font-size: 1.05rem;
  margin: 4px 0 10px;
  color: #ececec;
}

.expo-temporal-page .expo-credits-accordion p {
  color: #d3d5d6;
}

.expo-temporal-page .expo-credits-bullets {
  margin: 0 0 18px;
  padding-left: 20px;
}

.expo-temporal-page .expo-credits-bullets li {
  margin-bottom: 4px;
  font-family: "Gambetta", serif;
  color: #d3d5d6;
}

.expo-temporal-page .expo-footer-banner {
  margin-top: 48px;
  background: linear-gradient(135deg, #ececec 0%, #d8ddd8 100%);
  color: #202225;
  padding: 28px 0;
}

.expo-temporal-page .expo-footer-banner__copy {
  max-width: 58ch;
}

.expo-temporal-page .expo-footer-banner__eyebrow {
  margin: 0 0 8px;
  font-family: "Inconsolata", monospace;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4d565d;
}

.expo-temporal-page .expo-footer-banner h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.02;
  color: #202225;
}

.expo-temporal-page .expo-footer-banner .expo-page__shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.expo-temporal-page .expo-footer-banner__actions {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
}

.expo-temporal-page .expo-footer-banner__actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #202225;
  border-radius: 999px;
  padding: 10px 15px;
  color: #202225;
  text-decoration: none;
  font-family: "Satoshi", sans-serif;
  transition: background 0.2s ease, color 0.2s ease;
}

.expo-temporal-page .expo-footer-banner__actions a:hover {
  background: #202225;
  color: #ececec;
}

.expo-temporal-page .expo-footer-sponsors {
  background: #ececec;
  padding: 24px 0 30px;
}

.expo-temporal-page .expo-footer-sponsors__title {
  margin: 0 0 18px;
  font-family: "Satoshi", sans-serif;
  font-size: 1rem;
  line-height: 1.35;
  color: #202225;
}

.expo-temporal-page .expo-footer-sponsors__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: center;
}

.expo-temporal-page .expo-footer-sponsors__grid img {
  width: 100%;
  height: 72px;
  object-fit: contain;
  background: #fff;
  border-radius: 12px;
  padding: 12px 16px;
}

.expo-temporal-page #cartelera .cartelera-sidebar-title h3,
.expo-temporal-page #cartelera .filter-item,
.expo-temporal-page #cartelera .cartelera-top-filter,
.expo-temporal-page #cartelera .cartelera-calendar-btn,
.expo-temporal-page #cartelera .card-live,
.expo-temporal-page #cartelera .cartelera-card-title,
.expo-temporal-page #cartelera .cartelera-card-date,
.expo-temporal-page #cartelera .cartelera-card-time,
.expo-temporal-page #cartelera .cartelera-card-location,
.expo-temporal-page #cartelera .cartelera-card-meta,
.expo-temporal-page #cartelera .cartelera-load {
  color: #fff;
}

.expo-temporal-page #cartelera .cartelera-top-filter {
  background-image: linear-gradient(#fff, #fff);
}

.expo-temporal-page #cartelera .cartelera-calendar-btn {
  border-color: #fff;
  background: #34363a;
}

.expo-temporal-page #cartelera .cartelera-calendar-btn:hover {
  background: #fff;
  color: #34363a;
}

.expo-temporal-page #cartelera .cartelera-card-title span {
  background-image: linear-gradient(#fff, #fff);
}

.expo-temporal-page #cartelera .cartelera-card__media img {
  height: 210px;
  object-fit: cover;
}

.expo-temporal-page #cartelera .cartelera-card.is-static {
  cursor: default;
}

@media (min-width: 576px) {
  .expo-temporal-page #cartelera .cartelera-card__media img {
    height: 240px;
  }
}

@media (min-width: 1200px) {
  .expo-temporal-page #cartelera .cartelera-card__media img {
    height: 210px;
  }
}

@media (max-width: 1199.98px) {

  .expo-page__gallery-option .expo-page__gallery-head h2,
  .expo-temporal-page .expo-page__credits-head h2,
  .expo-temporal-page .expo-page__objects-head h2 {
    font-size: 2.2rem;
  }

  .expo-temporal-page .expo-page__objects-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px 16px;
  }

}

@media (max-width: 991.98px) {
  .expo-temporal-page .expo-page {
    padding: 16px 0 62px;
  }

  .expo-temporal-page .expo-page__video-meta {
    row-gap: 10px;
  }

  .expo-temporal-page .expo-page__resource-links a {
    margin-left: 0;
  }

  .expo-temporal-page .expo-page__objects-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px 14px;
  }

  .expo-temporal-page .expo-footer-banner .expo-page__shell {
    flex-direction: column;
    align-items: flex-start;
  }

  .expo-temporal-page .expo-footer-sponsors__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .expo-temporal-page .expo-page section+section {
    margin-top: 30px;
  }

  .expo-temporal-page .expo-page__objects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 12px;
  }

  .expo-page__gallery-option .expo-page__gallery-head h2,
  .expo-temporal-page .expo-page__credits-head h2,
  .expo-temporal-page .expo-page__objects-head h2 {
    font-size: 1.45rem;
  }

  .expo-page__gallery-option .expo-page__gallery-arrows {
    font-size: 1.4rem;
    gap: 14px;
  }

  .expo-gallery--01 .expo-gallery-01__cell,
  .expo-gallery--03 .expo-gallery-03__cell {
    width: 100%;
    margin-right: 8px;
  }

  .expo-gallery--01 .expo-gallery-01__cell img,
  .expo-gallery--02 .expo-gallery-02__cell img,
  .expo-gallery--03 .expo-gallery-03__cell img {
    height: min(360px, 55vh);
  }

  .expo-page__gallery-grid figure.expo-piece-card {
    height: auto;
  }

  .expo-page__gallery-grid figure.expo-piece-card img {
    max-height: min(50vh, 360px);
  }

  .expo-temporal-page .expo-page__quote blockquote {
    font-size: 2rem;
  }

  .expo-temporal-page .expo-page__text-block h1 {
    font-size: 1.75rem;
    margin-bottom: 18px;
  }

  .expo-temporal-page .expo-page__text-block h2 {
    font-size: 1.35rem;
    margin: 0;
  }

  .expo-temporal-page .expo-page__text-block h3 {
    font-size: 1.12rem;
    margin: 22px 0 10px;
  }

  .expo-temporal-page .expo-footer-sponsors__grid {
    grid-template-columns: 1fr;
  }
}

/* Page-level h1 (Streamfield auto title, TitleBlock): gap before next block. */
.expo-page .container.expo-page__shell>h1,
.expo-page .expo-page__shell>h1 {
  margin-bottom: 1em;
}

/*
 * Richtext / column body images: keep natural aspect ratio.
 * .expo-temporal-page .expo-page img sets width/height 100% for hero fill;
 * grid gallery uses :not(.expo-gallery) reset; Flickity slides use fixed height + contain.
 */
.expo-temporal-page .expo-page__text-block img,
.expo-page .expo-page__text-block img,
.expo-temporal-page .expo-page__video-meta img {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
}

/* Streamfield / light expo: richtext h2 (section h2 rule above is temporal-only). */
.expo-page .expo-page__text-block h2 {
  font-size: 1.625rem;
  font-weight: 500;
  margin: 0;
  line-height: 1.15;
}

.expo-temporal-page .expo-page .expo-page__section-title {
  font-size: 2.5625rem !important;
  line-height: 1.03;
}

@media (max-width: 575.98px) {
  .expo-page .expo-page__text-block h2 {
    font-size: 1.35rem;
  }

  .expo-temporal-page .expo-page .expo-page__section-title {
    font-size: 1.75rem !important;
  }
}

/* Richtext: top-level lists get extra space above (temporal + light). */
.expo-page .expo-page__text-block>ul,
.expo-page .expo-page__text-block>ol {
  margin-top: 0.5em;
}

/*
 * All Wagtail richtext (wrapper from richtext.html + stylize_presentation_richtext).
 */
/* Block flow + tight gaps between Draftail blocks (override .expo-temporal-page … p { margin-bottom: 20px }). */
.small.text-muted .expo-richtext-flow {
  font-size: 0.9rem;
  line-height: 1.15;
}

.expo-richtext-flow {
  display: block;
  width: 100%;
}

/* Tight vertical rhythm: no stacked p margins; only a small gap between siblings (lists/headings keep their own margins). */
.expo-page .expo-page__text-block .expo-richtext-flow>* {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.expo-page .expo-page__text-block .expo-richtext-flow>*+* {
  margin-top: 0.4em !important;
}

/* TableBlock (streamfield): no cell or outer borders (overrides .table / admin cell classes). */
.expo-page .expo-page__stream-table,
.expo-page .expo-page__stream-table caption,
.expo-page .expo-page__stream-table :is(thead, tbody, tfoot, tr, th, td) {
  border: 0 !important;
  box-shadow: none !important;
}

/*
 * Light layout (body sin .expo-temporal-page): enlaces externos / descargas
 * clasificados por stylize_presentation_richtext. Las reglas .expo-temporal-page … arriba no aplican aquí.
 */
body:not(.expo-temporal-page) .expo-page .expo-page__text-block a.expo-page__auto-pill-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* Inverted: filled dark pill by default; hover = outline on light bg. */
  border: 1px solid #1a1a1a;
  border-radius: 999px;
  padding: 10px 15px;
  margin-top: 0;
  background: #1a1a1a;
  text-decoration: none !important;
  text-decoration-line: none !important;
  font-family: "Satoshi", sans-serif;
  font-size: 1.05rem;
  color: #fff !important;
  user-select: text;
  -webkit-user-select: text;
}

body:not(.expo-temporal-page) .expo-page .expo-page__text-block a.expo-page__auto-external-inline {
  display: inline;
  vertical-align: baseline;
  margin-top: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  font-size: inherit;
  font-family: inherit;
  color: inherit;
  text-decoration: underline;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  user-select: text;
  -webkit-user-select: text;
}

body:not(.expo-temporal-page) .expo-page .expo-page__text-block a.expo-page__auto-external-inline:hover {
  background: transparent;
  color: inherit;
  text-decoration-thickness: 2px;
}

body:not(.expo-temporal-page) .expo-page .expo-page__text-block a.expo-page__auto-pill-link:hover {
  background: #fff;
  color: #1a1a1a !important;
  border-color: #1a1a1a;
}

body:not(.expo-temporal-page) .expo-page .expo-page__text-block a.expo-page__auto-download-link {
  display: block;
  width: fit-content;
  margin-top: 0;
  margin-bottom: 5px;
  font-family: "Satoshi", sans-serif;
  font-size: 1.04rem;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

body:not(.expo-temporal-page) .expo-page .expo-page__text-block a.expo-page__auto-download-link:hover {
  color: #000;
  text-decoration-thickness: 2px;
}

/* Text ↔ image/video spacing (news + streamfield bodies). */
.news-article-page,
main.streamfield-page {
  --mchap-text-media-spacing: clamp(3.5rem, 10vw, 6.25rem);
}

.news-article-page .expo-page__text-block .expo-richtext-flow > * + :is(
    figure:has(img),
    figure.wp-block-embed,
    iframe,
    .elementor-widget-video
  ),
.news-article-page .expo-page__text-block .expo-richtext-flow > :is(
    figure:has(img),
    figure.wp-block-embed,
    iframe,
    .elementor-widget-video
  ) + *,
.news-article-page .news-article__main .expo-richtext-flow > * + :is(
    div.wp-block-image:has(img),
    figure.wp-block-image:has(img),
    figure:has(img),
    figure.wp-block-embed,
    .wp-block-embed,
    iframe,
    video,
    .elementor-widget-video
  ),
.news-article-page .news-article__main .expo-richtext-flow > :is(
    div.wp-block-image:has(img),
    figure.wp-block-image:has(img),
    figure:has(img),
    figure.wp-block-embed,
    .wp-block-embed,
    iframe,
    video,
    .elementor-widget-video
  ) + *,
.news-article-page .news-article__main .noticias-elementor-body > * + :is(
    figure:has(img),
    figure.wp-block-embed,
    iframe,
    .elementor-widget-video,
    .elementor-element:has(.elementor-widget-video)
  ),
.news-article-page .news-article__main .noticias-elementor-body > :is(
    figure:has(img),
    figure.wp-block-embed,
    iframe,
    .elementor-widget-video,
    .elementor-element:has(.elementor-widget-video)
  ) + *,
.news-article-page .news-article__main .noticias-elementor-body > .elementor-widget-container + .elementor-widget-container:has(
    img,
    iframe,
    video,
    figure,
    .wp-block-embed
  ),
.news-article-page .news-article__main .noticias-elementor-body > .elementor-widget-container:has(
    img,
    iframe,
    video,
    figure,
    .wp-block-embed
  ) + .elementor-widget-container,
.news-article-page .news-article__main .expo-richtext-flow .elementor-widget-container > * + :is(
    figure:has(img),
    figure:has(iframe),
    figure.wp-block-embed,
    iframe,
    div:has(> figure img),
    div:has(> .wp-block-embed),
    div:has(iframe)
  ),
.news-article-page .news-article__main .expo-richtext-flow .elementor-widget-container > :is(
    figure:has(img),
    figure:has(iframe),
    figure.wp-block-embed,
    iframe,
    div:has(> figure img),
    div:has(> .wp-block-embed),
    div:has(iframe)
  ) + *,
main.streamfield-page .expo-page__text-block .expo-richtext-flow > * + :is(
    figure:has(img),
    figure.wp-block-embed,
    iframe
  ),
main.streamfield-page .expo-page__text-block .expo-richtext-flow > :is(
    figure:has(img),
    figure.wp-block-embed,
    iframe
  ) + * {
  margin-top: var(--mchap-text-media-spacing) !important;
}

/* Section subheads after images: normal subhead gap, not full text–media spacing. */
.news-article-page .news-article__main .expo-richtext-flow > :is(
    figure:has(img),
    figure.wp-block-embed,
    iframe,
    .elementor-widget-video,
    div.wp-block-image:has(img)
  ) + :is(p.news-article__section-subhead, h2.news-article__section-subhead, h2.wp-block-heading),
.news-article-page .news-article__main .expo-richtext-flow .elementor-widget-container > :is(
    figure:has(img),
    figure.wp-block-embed,
    iframe,
    div.wp-block-image:has(img),
    div:has(> figure img)
  ) + :is(p.news-article__section-subhead, h2.news-article__section-subhead, h2.wp-block-heading) {
  margin-top: 1.75rem !important;
}


/* Sitewide .container horizontal inset: base-style.css (54px). Do not override here. */

.dot-taller {
  background: rgb(118, 199, 145) !important;
}

.dot-curso {
  background: rgb(0, 0, 0) !important;
}

.dot-charla {
  background: rgb(123, 63, 44) !important;
}

.dot-otros {
  background: rgb(39, 52, 169) !important;
}