/* =========================================================
   Museo Chileno de Arte Precolombino — homepage clone
   Custom styles on top of Bootstrap 5. Font: Brandon Grotesque
   (self-hosted, same family used on the original site).
   ========================================================= */

@font-face {
  font-family: "Brandon Grotesque";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../vendor/fonts/BrandonGrotesque-Light.woff") format("woff");
}
@font-face {
  font-family: "Brandon Grotesque";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../vendor/fonts/BrandonGrotesque-Regular.woff") format("woff");
}
@font-face {
  font-family: "Brandon Grotesque";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../vendor/fonts/BrandonGrotesque-Medium.woff") format("woff");
}
@font-face {
  font-family: "Brandon Grotesque";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("../vendor/fonts/BrandonGrotesque-MediumItalic.woff") format("woff");
}
@font-face {
  font-family: "Brandon Grotesque";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../vendor/fonts/BrandonGrotesque-Bold.woff") format("woff");
}

:root {
  --color-pink: #e1007e;
  --color-magenta: #99398e;
  --color-black: #000000;
  --color-ink: #1a1a1a;
  --color-muted: #54595f;
  --color-bg: #f7f7f7;
  --color-bg-alt: #f2f2f2;
  --color-white: #ffffff;
  --font-main: "Brandon Grotesque", "Segoe UI", sans-serif;
  --radius-pill: 17px;
  --container-max: 1320px;
  scroll-behavior: auto;
}

body {
  font-family: var(--font-main);
  color: var(--color-ink);
  background-color: var(--color-white);
  font-size: 1rem;
  line-height: 1.5;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
}

.container-xl-custom {
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.btn-pill-dark {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-width: 9rem;
  background: var(--color-black);
  color: var(--color-bg-alt) !important;
  border: none;
  border-radius: var(--radius-pill);
  padding: 0.7rem 1.4rem;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn-pill-dark:hover {
  background: #222;
  color: var(--color-white) !important;
  transform: translateY(-1px);
}
.btn-pill-dark i {
  font-size: 0.75em;
}

.text-pink {
  color: var(--color-pink) !important;
}

/* ---------------------------------------------------------
   Top utility bar
   --------------------------------------------------------- */
.top-bar {
  background: var(--color-black);
  color: var(--color-white);
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-align: center;
  padding: 0.6rem 1rem;
}
.top-bar a {
  color: var(--color-white);
}
.top-bar a strong {
  color: var(--color-white);
  font-weight: 800;
}

/* ---------------------------------------------------------
   Header
   --------------------------------------------------------- */
.site-header {
  background: var(--color-bg);
  padding-top: 0.75rem;
}

.utility-nav {
  font-size: 0.8rem;
  font-weight: 400;
}
.utility-nav a {
  color: var(--color-pink);
  margin-left: 1.5rem;
  white-space: nowrap;
}
.utility-nav a:hover {
  text-decoration: underline;
}

.brand-logo {
  font-weight: 800;
  line-height: 1.15;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--color-black);
}
.brand-logo img {
  height: 52px;
  width: auto;
}

.main-nav {
  font-size: 0.82rem;
  font-weight: 400;
}
.main-nav .nav-link {
  color: var(--color-ink);
  padding: 0.5rem 0.65rem;
}
.main-nav .nav-link:hover,
.main-nav .nav-link:focus {
  color: var(--color-pink);
}
.main-nav .dropdown-menu {
  border: none;
  border-radius: 0.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  padding: 0.5rem 0;
  font-weight: 400;
}
.main-nav .dropdown-menu.mega-menu {
  min-width: 22rem;
  columns: 2;
  column-gap: 1.5rem;
  padding: 1rem 1.25rem;
}
.main-nav .dropdown-item {
  white-space: normal;
  padding: 0.4rem 1rem;
}
.main-nav .dropdown-item:hover {
  background: var(--color-bg-alt);
  color: var(--color-pink);
}

/* ---------------------------------------------------------
   Hero carousel
   --------------------------------------------------------- */
.hero-carousel {
  background: var(--color-bg-alt);
  position: relative;
}
.hero-slide {
  width: 100%;
}
.hero-slide-text {
  height: 560px;
  overflow: visible;
  padding: 5.625rem 8.5rem 1.875rem;
}
.hero-slide-image {
  height: 560px;
  background-size: cover;
  background-position: center;
}
.hero-slide-text h2 {
  font-size: 2.1875rem; /* 35px, constant desktop through tablet */
  font-weight: 500;
  line-height: 1.114;
  margin-bottom: 1.25rem;
}
.hero-slide-text p {
  color: var(--color-muted);
  margin-bottom: 1.25rem;
  font-size: 1.5625rem; /* 25px, constant desktop through tablet */
  line-height: 1.16;
}
.hero-slide-text .btn-pill-dark {
  font-size: 1.25rem;
  padding: 0.68rem 1.1rem;
}

/* Nav arrows sit at the edges of the whole banner, vertically
   centered — plain icon glyphs, no button background, like the
   original's Font Awesome arrow-circle icons. */
.hero-carousel .flickity-prev-next-button {
  background: none;
  width: 36px;
  height: 36px;
  top: 50%;
}
.hero-carousel .flickity-prev-next-button.previous {
  left: 10px;
}
.hero-carousel .flickity-prev-next-button.next {
  right: 10px;
}
.hero-carousel .flickity-prev-next-button svg {
  display: none;
}
.hero-carousel .flickity-prev-next-button::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 36px;
  color: var(--color-black);
}
.hero-carousel .flickity-prev-next-button.previous::before {
  content: "\f0a8";
}
.hero-carousel .flickity-prev-next-button.next::before {
  content: "\f0a9";
}
.hero-carousel .flickity-prev-next-button:disabled {
  display: block;
  opacity: 1;
}
.hero-carousel .flickity-page-dots {
  display: none;
}

@media (max-width: 767px) {
  .hero-slide-text {
    height: auto;
    padding: 10px;
  }
  .hero-slide-image {
    height: 300px;
  }
  .hero-slide-text h2 {
    font-size: 1.375rem; /* 22px */
  }
  .hero-slide-text p {
    font-size: 1.25rem; /* 20px */
  }
  .hero-slide-text .btn-pill-dark {
    font-size: 1rem;
  }
  .hero-carousel .flickity-prev-next-button {
    display: none;
  }
}

/* ---------------------------------------------------------
   Eventos
   --------------------------------------------------------- */
.eventos-section {
  padding: 2.5rem 0;
}
.eventos-section h2.section-title {
  font-weight: 500;
  font-size: 1.5rem;
}
.eventos-toggle .btn {
  border: none;
  border-radius: 4px;
  color: #111;
  background: #f5f5f5;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  margin-left: 5px;
}
.eventos-toggle .btn.active {
  background: var(--color-black);
  color: var(--color-white);
}

.event-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid #e2e2e2;
  border-radius: 6px;
  overflow: hidden;
  background: var(--color-white);
  height: 415px;
  color: inherit;
}
.event-card-img {
  height: 220px;
  flex: 0 0 220px;
  background-size: cover;
  background-position: center;
  position: relative;
  border-radius: 6px;
}
.event-date-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--color-white);
  border-radius: 6px;
  text-align: center;
  padding: 0.4rem 0.7rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
  line-height: 1.1;
}
.event-date-badge .day {
  display: block;
  font-size: 1.3rem;
  font-weight: 700;
  color: #111;
}
.event-date-badge .month {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-muted);
}
.event-card-body {
  padding: 1.1rem 1rem 1.25rem;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.event-card-title {
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.2;
  color: #111;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.event-card:hover .event-card-title {
  color: var(--color-pink);
}
.event-datetime {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 0.2rem;
}
.event-tag {
  display: inline-block;
  align-self: flex-start;
  margin-top: auto;
  font-size: 0.875rem;
  font-weight: 400;
  background: var(--color-black);
  color: var(--color-white);
  border-radius: 4px;
  padding: 0.3rem 0.45rem;
}
.event-datetime i {
  color: #555;
  margin-right: 0.4rem;
  font-size: 0.85em;
}

.events-carousel.flickity-enabled {
  padding-bottom: 0;
}
/* explicit gutter: Flickity absolute-positions cells by their
   outer width, so Bootstrap's row/col gutter variables don't
   reliably survive re-layout — pad the cell itself instead. */
.event-col {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  margin-bottom: 1.5rem;
}
.events-carousel .flickity-prev-next-button {
  display: none;
}
@media (max-width: 991px) {
  .events-carousel .flickity-prev-next-button {
    display: block;
    background: var(--color-black);
    width: 36px;
    height: 36px;
  }
  .events-carousel .flickity-prev-next-button svg {
    fill: var(--color-white);
  }
}

/* list view: cards become full-width horizontal rows */
.events-carousel.list-view {
  display: block !important;
}
.events-carousel.list-view .event-col {
  width: 100% !important;
  max-width: 100%;
  margin-bottom: 1rem;
}
.events-carousel.list-view .event-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  height: auto;
  min-height: 220px;
}
.events-carousel.list-view .event-card-img {
  width: 220px;
  height: auto;
  flex: 0 0 220px;
  border-radius: 6px 0 0 6px;
}
.events-carousel.list-view .event-card-body {
  padding: 1rem 1.25rem;
  flex: 1 1 auto;
}

@media (max-width: 575px) {
  .events-carousel.list-view .event-card {
    flex-direction: column;
    min-height: 0;
  }
  .events-carousel.list-view .event-card-img {
    width: 100%;
    height: 220px;
    flex: 0 0 220px;
    border-radius: 6px;
  }
}

.eventos-load-more {
  text-align: center;
  margin-top: 2rem;
}
.eventos-load-more .btn-load-more {
  display: inline-block;
  background: #f5f5f5;
  color: #555;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  border-radius: 4px;
  padding: 0.65rem 1rem;
  border: none;
}
.eventos-load-more .btn-load-more:hover {
  background: #e8e8e8;
  color: #333;
}

/* ---------------------------------------------------------
   Catálogo CTA banner
   --------------------------------------------------------- */
.catalogo-banner {
  background: #23a455;
  color: var(--color-white);
  padding: 1.5rem clamp(1rem, 4vw, 3rem);
}
.catalogo-banner h2 {
  font-size: 1.5625rem; /* 25px, constant at every width */
  font-weight: 400;
}
.catalogo-banner .btn-pill-dark {
  background: var(--color-black);
  color: var(--color-bg-alt) !important;
}
.catalogo-banner .btn-pill-dark:hover {
  background: var(--color-white);
  color: var(--color-black) !important;
}

/* ---------------------------------------------------------
   Half-image feature sections
   Each section carries a dominant tint lifted from its photo,
   like the original (image on one side, same-colored panel
   behind the text on the other — no gap between sections).
   --------------------------------------------------------- */
.half-section .half-text {
  min-height: 350px;
  padding-left: clamp(1.5rem, 5vw, 6rem);
  padding-right: clamp(1.5rem, 5vw, 6rem);
}
.half-section .half-image {
  background-size: cover;
  background-position: center;
  min-height: 350px;
}
.half-section h2 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 0.75rem;
}
.half-section p {
  font-size: 1.375rem;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.half-section .note {
  font-size: 0.8rem;
  font-style: italic;
  opacity: 0.7;
  margin-top: -0.75rem;
  margin-bottom: 1.25rem;
}
.half-section .btn-pill-dark {
  align-self: flex-end;
  font-size: 1.25rem;
}

/* "tier-xl" sections use one big headline + a lighter subline
   instead of a bold heading + separate paragraph. Unlike the
   regular tier (constant size at every width), this one steps
   down hard at each breakpoint on the original site. */
.half-section.heading-xl h2 {
  font-size: 3.125rem;
  margin-bottom: 0.5rem;
}
.half-section.heading-xl p {
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1.15;
}

/* dark background => light text; light background => dark text */
.half-section.text-light {
  color: var(--color-white);
}
.half-section.text-light .btn-pill-dark {
  background: var(--color-white);
  color: var(--color-black) !important;
}
.half-section.text-light .btn-pill-dark:hover {
  background: var(--color-black);
  color: var(--color-white) !important;
}
.half-section.text-dark {
  color: var(--color-ink);
}

/* Regular (non heading-xl) titles/leads stay constant at every
   width on the original site — only heading-xl and the buttons
   step down at each breakpoint. */
@media (max-width: 1366px) {
  .half-section.heading-xl h2 {
    font-size: 2.3125rem; /* 37px */
  }
  .half-section.heading-xl p {
    font-size: 1.5rem; /* 24px */
  }
}
@media (max-width: 1024px) {
  .half-section.heading-xl h2 {
    font-size: 1.6875rem; /* 27px */
  }
  .half-section.heading-xl p {
    font-size: 0.875rem; /* 14px */
  }
}
@media (max-width: 767px) {
  .half-section .half-text,
  .half-section .half-image {
    min-height: 260px;
  }
  .half-section.heading-xl h2 {
    font-size: 1.75rem; /* 28px */
  }
  .half-section.heading-xl p {
    font-size: 1.25rem; /* 20px */
  }
}

/* Amigos del Museo carousel occupies the image half like any
   other section's photo — same yellow tint on both sides is
   what makes the split read as one solid block. */
.amigos-carousel {
  width: 100%;
  height: 100%;
  min-height: 350px;
}
.amigos-carousel .carousel-cell {
  width: 100%;
  height: 350px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.amigos-carousel .flickity-page-dots {
  bottom: 10px;
}
.amigos-carousel .flickity-page-dots .dot {
  background: var(--color-black);
  opacity: 0.35;
}
.amigos-carousel .flickity-page-dots .dot.is-selected {
  opacity: 1;
}
@media (max-width: 767px) {
  .amigos-carousel,
  .amigos-carousel .carousel-cell {
    min-height: 260px;
    height: 260px;
  }
}

/* ---------------------------------------------------------
   Publicaciones — white bold title overlaid bottom-left on
   each cover image, not a caption underneath.
   --------------------------------------------------------- */
.publicaciones-section {
  padding: 3rem 0;
}
.publicaciones-section h2.section-title {
  font-weight: 700;
  font-size: 3.125rem; /* 50px, matches the heading-xl scale */
  margin-bottom: 2rem;
}
@media (max-width: 1366px) {
  .publicaciones-section h2.section-title {
    font-size: 2.3125rem; /* 37px */
  }
}
@media (max-width: 1024px) {
  .publicaciones-section h2.section-title {
    font-size: 1.6875rem; /* 27px */
  }
}
@media (max-width: 767px) {
  .publicaciones-section h2.section-title {
    font-size: 1.75rem; /* 28px */
  }
}
.publicacion-item {
  display: block;
  position: relative;
  border-radius: 4px;
  overflow: hidden;
}
.publicacion-item img {
  aspect-ratio: 4/5;
  object-fit: cover;
  width: 100%;
  display: block;
  transition: transform 0.2s ease;
}
.publicacion-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0) 45%);
}
.publicacion-item span {
  position: absolute;
  left: 0.75rem;
  bottom: 0.6rem;
  z-index: 1;
  color: var(--color-white);
  font-weight: 700;
  font-size: 1.1rem;
  text-align: left;
}
.publicacion-item:hover img {
  transform: scale(1.04);
}

/* ---------------------------------------------------------
   Footer — light background throughout, dark text
   --------------------------------------------------------- */
.sponsors-strip {
  background: var(--color-white);
  padding: 3rem 1rem 2.5rem;
}
.sponsors-strip .container-xl-custom {
  text-align: left;
}
.sponsors-strip p {
  font-size: 1.375rem;
  font-weight: 500;
  color: #212529;
  margin-bottom: 1.5rem;
}
.sponsor-carousel {
  max-width: 1100px;
  margin: 0;
}
.sponsor-carousel .carousel-cell {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 340px;
}
.sponsor-carousel img {
  max-height: 320px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
}
.sponsor-carousel .flickity-page-dots {
  display: none;
}

.footer-info {
  background: var(--color-bg);
  padding: 2.5rem 0;
}
.footer-newsletter {
  background: #e8e5ea;
  padding: 2rem 0;
}
.footer-bottom-info {
  background: var(--color-bg);
  padding: 2rem 0;
}

.site-footer h3 {
  color: var(--color-ink);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.6rem;
}
.site-footer a {
  color: var(--color-ink);
}
.site-footer a:hover {
  color: var(--color-pink);
}
.site-footer p {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-bottom: 0.3rem;
}
.footer-apoyo-icons img {
  height: 34px;
  width: auto;
  margin-right: 0.75rem;
  margin-top: 0.5rem;
}

.newsletter-form .form-control {
  border-radius: 14px 0 0 14px;
  border: none;
  padding: 0.65rem 1rem;
}
.newsletter-form .btn {
  border-radius: 0 14px 14px 0;
  background: var(--color-black);
  color: var(--color-white);
  font-weight: 700;
  padding: 0.65rem 1.25rem;
  text-transform: uppercase;
  font-size: 0.85rem;
}
.newsletter-form .btn:hover {
  background: var(--color-pink);
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-right: 0.4rem;
  color: var(--color-ink);
  font-size: 1rem;
}
.social-icons a:hover {
  color: var(--color-pink);
}

.footer-bottom {
  border-top: 1px solid #e2e2e2;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  font-size: 0.78rem;
  color: #9a9a9a;
  text-align: center;
}

/* ==========================================================================
   Exposiciones temporales — listado
   Grilla Bootstrap; sólo se estiliza la tarjeta (imagen + barra de título).
   ========================================================================== */

.expo-list {
  padding: 2.5rem 0 4rem;
}

/* Medidos en el sitio de referencia: título 24px/24px peso 600; bajada 16px/24px. */
.expo-list .section-title {
  color: var(--color-black);
  font-size: 24px;
  font-weight: 600;
  line-height: 23px;
  margin-bottom: 1.1875rem;
}

.expo-list-intro {
  color: #212529;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5rem;
  margin-bottom: 2.5rem;
}

.expo-card {
  display: block;
  color: inherit;
  height: 100%;
}

.expo-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

/* Barra negra bajo la imagen. Tipografía tomada del sitio de referencia:
   20px / 36px, sin padding, alto mínimo de una línea. */
.expo-card-title {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.25rem;
  padding: 0 0.5rem;
  background: var(--color-black);
  color: var(--color-white);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 2.25rem;
  text-align: center;
}

.expo-card:hover .expo-card-title {
  color: var(--color-pink);
}

/* Botones en fila (StreamField): ocupan el ancho de su columna de la grilla.
   `.w-100` de Bootstrap no basta aquí porque responsive.css fija `.btn-pill-dark { width: auto }`. */
.sf-buttons .btn-pill-dark {
  width: 100%;
  min-width: 0;
  max-width: none;
  justify-content: center;
  gap: 0.75rem;
}


/* ==========================================================================
   Catálogo Razonado
   Página con identidad propia: fondo arena y texto café. Todos los valores
   (tamaño, peso, interlínea, color) medidos en el sitio de referencia.
   ========================================================================== */

@font-face {
  font-family: "IBM Plex Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../vendor/fonts/IBMPlexSerif-Regular.woff2") format("woff2");
}

.catraz {
  --catraz-ink: #736055;
  --catraz-sand: #e2dfd5;
  background: var(--catraz-sand);
  color: var(--catraz-ink);
  padding-bottom: 3rem;
}

.catraz-subnav {
  padding: 1.1rem 0;
}
.catraz-subnav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 2rem;
}
.catraz-subnav a {
  color: var(--catraz-ink);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.25rem;
}
.catraz-subnav a:hover,
.catraz-subnav a.active {
  text-decoration: underline;
}

.catraz-wordmark {
  width: 100%;
  max-width: 246px;
  height: auto;
}

.catraz-lead p {
  font-family: "IBM Plex Serif", Georgia, serif;
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 2rem;
  margin-bottom: 1.5rem;
}

.catraz-aside p {
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.25rem;
  margin-bottom: 1.5rem;
}

.catraz-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 245 / 552;   /* medido en la referencia */
  object-fit: cover;
}
.catraz-card figcaption {
  color: var(--catraz-ink);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.40625rem;
  padding-top: 0.75rem;
}

.catraz-heading {
  font-size: 1.4375rem;
  font-weight: 900;
  line-height: 2.15625rem;
}

.catraz-note p {
  font-size: 1.0625rem;
  font-weight: 300;
  line-height: 1.375rem;
  margin-bottom: 1.25rem;
}

.catraz-video {
  aspect-ratio: 16 / 9;
  width: 100%;
  border: 0;
}
.catraz-credits-line {
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.40625rem;
}

.catraz-links a {
  color: var(--catraz-ink);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.40625rem;
}
.catraz-links a:hover {
  text-decoration: underline;
}

/* Bloque de créditos: fondo café, texto arena. */
.catraz-creditos {
  background: #736055;
  color: #e2dfd5;
  padding: 3rem 0;
}
.catraz-creditos img {
  height: auto;
  max-width: 100%;
}
.catraz-creditos h3 {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.3125rem;
  margin-bottom: 0;
}
.catraz-creditos p {
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.3125rem;
  margin-bottom: 1.25rem;
}

/* Dos piezas del bloque de créditos van en blanco, no en arena. */
.catraz-creditos p.catraz-creditos-sub {
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.5rem;
}
.catraz-creditos h3.catraz-apoyan {
  color: var(--color-white);
}

/* --- Catálogo Razonado: subpáginas (colección) --------------------------- */

.catraz-hero-lockup {
  width: 100%;
  max-width: 436px;
  height: auto;
}

.catraz-collection-title {
  font-size: 1.4375rem;
  font-weight: 400;
  letter-spacing: 0.35em;
  line-height: 1.6;
  margin-top: 0.75rem;
  text-transform: uppercase;
}

.catraz-btn {
  border: 1px solid var(--catraz-ink);
  border-radius: 2rem;
  color: var(--catraz-ink);
  display: inline-block;
  font-size: 1.125rem;
  font-weight: 700;
  padding: 0.6rem 1.6rem;
}
.catraz-btn:hover {
  background: var(--catraz-ink);
  color: var(--catraz-sand);
}

.catraz-section-title {
  font-size: 1.625rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: center;
  text-transform: uppercase;
}

/* Carruseles (Flickity) de sabios, ciclo y material de difusión */
.catraz-carousel .carousel-cell {
  margin-right: 2.5rem;
  width: 100%;
}
.catraz-carousel .flickity-page-dots {
  display: none;
}
.catraz-carousel .flickity-prev-next-button {
  background: none;
  height: 44px;
  width: 44px;
}
.catraz-carousel .flickity-prev-next-button svg {
  fill: var(--catraz-ink);
}

.catraz-sabio-img {
  width: 100%;
  height: auto;
  aspect-ratio: 473 / 600;
  object-fit: cover;
}
.catraz-sabio-name {
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.40625rem;
  margin: 0.75rem 0 0;
}
.catraz-sabio-piece {
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.40625rem;
  margin: 0;
}
.catraz-sabio-quote {
  font-family: "IBM Plex Serif", Georgia, serif;
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 2rem;
}

.catraz-dif-title {
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.40625rem;
}
.catraz-dif-desc {
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.40625rem;
}

/* Fichas razonadas */
.catraz-ficha-codigo {
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.40625rem;
  margin-bottom: 0.5rem;
}
.catraz-ficha dl {
  font-size: 0.9375rem;
  line-height: 1.40625rem;
  margin: 0.75rem 0 0;
}
.catraz-ficha dt {
  font-weight: 700;
}
.catraz-ficha dd {
  font-weight: 300;
  margin: 0 0 0.35rem;
}

/* Subpáginas: interlineados y familia, medidos en la referencia.
   El lead del encabezado va a 32px; los párrafos de la columna izquierda, a 35px. */
.catraz-sub .catraz-body p { line-height: 2.1875rem; }   /* 35px */
.catraz-section-title      { line-height: 1.625rem; }    /* 26px */
.catraz-sabio-name         { line-height: 0.9375rem; }   /* 15px */
.catraz-sabio-piece        { line-height: 1.40625rem; }  /* 22.5px */
.catraz-sabio-quote        { line-height: 1.75rem; }     /* 28px */
.catraz-dif-title          { line-height: 0.9375rem; }   /* 15px */

/* Fichas razonadas: el código y las etiquetas van en serif; los valores, en la
   tipografía general. La imagen no se recorta (la referencia la muestra completa). */
.catraz-ficha img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}
.catraz-ficha-codigo,
.catraz-ficha dt {
  font-family: "IBM Plex Serif", Georgia, serif;
}
.catraz-ficha dd {
  font-family: var(--font-main);
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.40625rem;
  color: var(--catraz-ink);
}

/* Fichas razonadas: carrusel de 4 por vista, como en la referencia. */
.catraz-fichas-carousel .carousel-cell {
  margin-right: 1.5rem;
  width: calc(25% - 1.125rem);
}
@media (max-width: 991px) {
  .catraz-fichas-carousel .carousel-cell { width: calc(50% - 0.75rem); }
}
@media (max-width: 575px) {
  .catraz-fichas-carousel .carousel-cell { width: 100%; }
}

/* Separación entre la sub-navegación y el encabezado de la página. */
.catraz-hero-row {
  padding-top: 4.5rem;
  padding-bottom: 3rem;
}

/* «Asignación cronológica» usa peso 400 en la referencia; el resto de los valores, 300. */
.catraz-ficha dd.fw-normal { font-weight: 400; }

/* Flechas del carrusel de fichas: a la altura del título de la sección. */
.catraz-fichas-carousel { position: relative; }
.catraz-fichas-carousel .flickity-prev-next-button {
  top: -3.7rem;
  transform: none;
}
.catraz-fichas-carousel .flickity-prev-next-button.previous { left: 0; }
.catraz-fichas-carousel .flickity-prev-next-button.next { right: 0; }

.catraz-note p.fw-normal { font-weight: 400; }

.catraz-dif-link { color: inherit; }
.catraz-dif-link:hover .catraz-dif-title { text-decoration: underline; }

/* ---------------------------------------------------------
   StreamField page — richtext blocks
   --------------------------------------------------------- */
.sf-page {
  padding-top: 3rem;
  padding-bottom: 3rem;
}
.sf-richtext {
  padding-top: 2rem;
  padding-bottom: 2rem;
}
.sf-richtext h2 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 0.75rem;
}
.sf-richtext p {
  font-size: 1.375rem;
  line-height: 1.15;
}

.site-footer-wrapper {
  margin-top: 1em;
}

/* StreamField buttons: equal height per column, smaller type */
.sf-buttons .col {
  display: flex;
}
.sf-buttons .btn-pill-dark {
  font-size: 0.75rem;
  width: 100%;
  max-width: none;
  gap: 0.5rem;
}

.btn-pink {
  background: var(--color-pink);
  color: #fff;
  border: none;
  font-weight: 700;
}
.btn-pink:hover {
  background: #c4006b;
  color: #fff;
}

/* ==========================================================================
   Educación — páginas del árbol "Educación" (menú sin landing propia).
   Diseño mínimo: banner, texto, botones outline redondeados, lista con flecha.
   ========================================================================== */

.edu-page { padding-bottom: 2.5rem; }

.edu-hero-banner {
  width: 100%;
  height: auto;
  display: block;
}

.edu-section-heading {
  font-size: 1.375rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1.75rem;
}

.edu-page p {
  font-size: 1.125rem;
  line-height: 1.5rem;
  color: #212529;
  margin-bottom: 1.25rem;
}

/* Botón "outline": borde gris, sin relleno, todo mayúsculas — variante ligera
   de .btn-pill-dark para páginas de contenido informativo. */
.edu-btn-outline {
  display: inline-block;
  border: 3px solid var(--color-muted);
  border-radius: 50px;
  color: var(--color-muted);
  background: var(--color-white);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-align: center;
  padding: 1rem 3rem;
}
.edu-btn-outline:hover {
  background: var(--color-muted);
  color: var(--color-white);
}

.edu-arrow-list li {
  font-size: 1.375rem;
  font-weight: 800;
  color: #660001;
  margin-bottom: 1.1rem;
}
.edu-arrow-list li i {
  margin-right: 0.6rem;
  font-size: 0.85em;
}

/* Educación: banner de introducción con texto e iconos en imagen (Niñ@s y páginas similares). */
.edu-banner {
  background: #15291e;
  padding: 1.5rem 2rem;
}
.edu-banner-text {
  max-width: 860px;
  width: 62%;
  height: auto;
}
.edu-banner-icons {
  max-width: 421px;
  width: 27%;
  height: auto;
}
@media (max-width: 767px) {
  .edu-banner-text, .edu-banner-icons {
    width: 100%;
    max-width: 370px;
  }
}

/* Educación: "Ojo a la pieza" — piezas alternadas sobre fondo plano. */
.edu-page-plain { background: var(--color-bg); padding-bottom: 2rem; }
.edu-page-title { font-size: 2rem; font-weight: 700; margin-bottom: 0.75rem; }
.edu-page-intro { font-size: 2rem; font-weight: 400; }

.edu-area-title {
  font-size: 3.125rem;
  font-weight: 500;
  margin: 2.5rem 0 1.5rem;
}
.edu-pieza-row:not(:last-child) { border-bottom: 1px solid rgba(0,0,0,0.08); }
.edu-pieza-row { min-height: 32rem; }
.edu-pieza-title { font-size: 2.5rem; font-weight: 500; margin-bottom: 1rem; }
.edu-pieza-meta p { font-size: 1.75rem; font-weight: 400; line-height: 1.2; margin-bottom: 0.25rem; }
.edu-pieza-desc { font-size: 1.75rem; font-weight: 300; line-height: 1.45; margin-top: 0.75rem; }
.edu-pieza-img { max-width: 100%; max-height: 34rem; width: auto; height: auto; }

@media (max-width: 767px) {
  .edu-area-title { font-size: 1.75rem; }
  .edu-pieza-title { font-size: 1.5rem; }
  .edu-pieza-meta p { font-size: 1.25rem; }
  .edu-pieza-desc { font-size: 1.25rem; }
  .edu-pieza-row { min-height: 0; }
}

/* Educación: "Recursos Educativos" — grilla de tarjetas con imagen, título, descripción y descarga. */
.edu-recurso-card { height: 100%; display: flex; flex-direction: column; }
.edu-recurso-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.edu-recurso-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 1.25rem 0.25rem;
}
.edu-recurso-title { font-size: 1.375rem; font-weight: 500; margin-bottom: 0; }
.edu-recurso-desc { font-size: 1rem; font-weight: 300; line-height: 1.4; white-space: pre-line; }

/* Educación: "El lenguaje de los objetos" — grilla de piezas sobre fondo negro. */
.edu-obj-group-title { font-size: 1.5rem; font-weight: 400; margin-bottom: 1.5rem; }
.edu-obj-card { text-align: center; }
.edu-obj-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #000;
  margin-bottom: 0.75rem;
}
.edu-obj-title { display: block; font-size: 1rem; font-weight: 400; line-height: 1.3; }
.edu-obj-loc { display: block; font-size: 0.9rem; color: var(--color-muted); }

/* Niñ@s: botones más chicos y flecha más grande que la variante half-section por defecto
   (usada también en la portada); escopado a esta página para no tocar el resto del sitio. */
main.edu-nins .btn-pill-dark, div.edu-nins .btn-pill-dark {
  font-size: 0.75rem;
  padding: 0.6rem 1.4rem;
  max-width: none;
}
main.edu-nins .btn-pill-dark i, div.edu-nins .btn-pill-dark i {
  font-size: 1.05em;
}

/* La tarjeta destacada de Recursos Educativos ocupa una fila completa, pero su imagen
   conserva el mismo tamaño que las demás tarjetas (no se estira a lo ancho). */
.edu-recurso-card--featured { max-width: 34rem; margin-left: auto; margin-right: auto; }

/* Educación: fichas individuales de "El lenguaje de los objetos". */
.edu-obj-back { font-size: 1.3125rem; color: var(--color-ink); display: inline-block; margin-bottom: 1rem; }
.edu-obj-back:hover { text-decoration: underline; }
.edu-obj-detail-title { font-size: 2.8125rem; font-weight: 900; margin-bottom: 1.5rem; }
.edu-obj-meta p {
  font-size: 1.25rem;
  font-weight: 300;
  padding-bottom: 0.6rem;
  margin-bottom: 0.6rem;
  border-bottom: 1px dashed rgba(0,0,0,0.25);
}
.edu-obj-detail-img { max-width: 100%; max-height: 26rem; width: auto; height: auto; background: #000; }
.edu-obj-desc { font-size: 1.4375rem; font-weight: 400; line-height: 1.5; margin: 1.5rem 0; }
.edu-obj-desc em { font-style: italic; }
.edu-obj-section-title { font-size: 2.6875rem; font-weight: 700; margin: 1.5rem 0 1rem; }
.edu-obj-saber-list { font-size: 1.4375rem; padding-left: 1.25rem; }
.edu-obj-saber-list li { margin-bottom: 0.75rem; }

.edu-obj-biblio-list { font-size: 1.125rem; font-weight: 300; line-height: 1.4; padding-left: 1.25rem; }
.edu-obj-biblio-list li { margin-bottom: 0.9rem; }
.edu-obj-biblio-list em { font-style: italic; }

.edu-obj-complementarias { --bs-gutter-x: 1.5rem; }
.edu-obj-img-box { margin-bottom: 1.5rem; }
.edu-obj-img-box img { max-width: 100%; height: auto; margin-bottom: 0.6rem; }
.edu-obj-img-box h4 { font-size: 1.0625rem; font-weight: 700; margin-bottom: 0.25rem; }
.edu-obj-img-box p { font-size: 0.9375rem; font-weight: 300; color: #555; }

@media (max-width: 767px) {
  .edu-obj-detail-title { font-size: 1.75rem; }
  .edu-obj-section-title { font-size: 1.75rem; }
  .edu-obj-desc, .edu-obj-saber-list { font-size: 1.125rem; }
}

/* Página con pestañas verticales (Planifica tu visita y similares) */
.tabs-hero {
  width: 100%;
  aspect-ratio: 2560 / 871;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.tabs-page {
  padding-top: 2.5rem;
  padding-bottom: 3rem;
}
.tabs-page__title {
  font-size: 2.625rem;
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 2rem;
}
.tabs-sidebar {
  display: flex;
  flex-direction: column;
  background: #f1f2f3;
}
.tabs-sidebar__link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.5rem;
  color: #54595f;
  text-decoration: none;
  font-size: 1rem;
  line-height: 1.5;
}
.tabs-sidebar__link i {
  width: 1em;
  text-align: center;
}
.tabs-sidebar__link:hover {
  background: #e4e5e7;
  color: #212529;
}
.tabs-sidebar__link.is-active,
.tabs-sidebar__link.is-active:hover {
  background: #333;
  color: #fff;
}
.tabs-page .sf-richtext {
  padding-top: 0;
  padding-bottom: 1.25rem;
}
.tabs-page .sf-richtext p,
.tabs-page .sf-richtext li {
  font-size: 1.125rem;
  line-height: 1.5;
}
.tabs-page .sf-richtext ul {
  padding-left: 1.25rem;
}
.tabs-page .sf-buttons {
  margin-bottom: 1.25rem;
}
.tabs-page .sf-buttons .col {
  flex: 0 0 auto;
  width: auto;
}
.tabs-page .sf-buttons .btn-pill-dark {
  width: auto;
  min-width: 9rem;
  max-width: none;
}
.sf-richtext .richtext-image {
  height: auto;
}
.sf-richtext .richtext-image.left,
.sf-richtext .richtext-image.right {
  max-width: 220px;
  margin-bottom: 1rem;
}
.sf-richtext .richtext-image.left {
  float: left;
  margin-right: 1.5rem;
}
.sf-richtext .richtext-image.right {
  float: right;
  margin-left: 1.5rem;
}
.sf-richtext .richtext-image.full-width {
  width: 100%;
  margin: 1rem 0;
}
.sf-richtext a {
  color: inherit;
  text-decoration: none;
}
.sf-richtext a:hover {
  text-decoration: underline;
}

/* =========================================================
   La Institución — barra de pestañas horizontal + bloques
   StreamField portados desde el diseño anterior (streamfield_page_tabs_horizontal.html).
   Tipografía: hereda var(--font-main) (Brandon Grotesque); layout/espaciado igual al original.
   ========================================================= */

.streamfield-page__tab-nav-horizontal {
  border-top: 1px solid rgba(17, 17, 17, 0.2);
  border-bottom: 1px solid rgba(17, 17, 17, 0.2);
  padding: 0.5rem 0;
  margin-top: 0.75rem;
}
.streamfield-page__tab-nav-horizontal-list {
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
}
.streamfield-page__tab-nav-horizontal-link {
  display: inline-flex;
  align-items: center;
  color: var(--color-ink);
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.15s ease;
}
.streamfield-page__tab-nav-horizontal-link:hover {
  border-bottom-color: var(--color-ink);
}
.streamfield-page__tab-nav-horizontal-link.is-active,
.streamfield-page__tab-nav-horizontal-link.is-active:hover {
  font-weight: 700;
  border-bottom-color: transparent;
}

/* Shell / container: width comes from .container-xl-custom (same as every other page).
   Nested shells (inside a block's own .expo-page__presentation) flush to their parent —
   only the outer wrapper keeps the real page gutter. */
main.streamfield-page--tabs .expo-page__presentation .container-xl-custom.expo-page__shell,
main.streamfield-page--tabs .streamfield-page__title-shell {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Page h1 */
main.streamfield-page .expo-page__text-block > h1 {
  margin: 0 0 1rem;
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.1;
  color: var(--color-ink);
}

main.streamfield-page--tabs .expo-page__presentation--streamfield-page-title + .expo-page__presentation {
  margin-top: 0 !important;
}

/* Hero */
main.streamfield-page .expo-page__hero {
  margin: 0;
}
main.streamfield-page .expo-page__hero-image,
main.streamfield-page .expo-page__body-image figure {
  margin: 0;
}
main.streamfield-page .expo-page__hero-image img,
main.streamfield-page .expo-page__body-image img {
  width: 100%;
  height: auto;
}

/* Richtext columns (split_row_text_image, content_card_grid, richtext_one_column) */
main.streamfield-page .expo-page__text-block {
  font-size: 1rem;
  line-height: 1.5;
}
.expo-richtext-flow {
  display: block;
  width: 100%;
}
main.streamfield-page .expo-page__text-block .expo-richtext-flow > * {
  margin: 0 0 0.85rem !important;
}
main.streamfield-page .expo-page__text-block .expo-richtext-flow > *:last-child {
  margin-bottom: 0 !important;
}
main.streamfield-page .expo-page__text-block .expo-richtext-flow h2,
main.streamfield-page .expo-page__text-block .expo-richtext-flow h3,
main.streamfield-page .expo-page__text-block .expo-richtext-flow h4 {
  margin: 0.35rem 0 0.5rem !important;
  font-weight: 500;
  line-height: 1.12;
}
main.streamfield-page .expo-page__text-block .expo-richtext-flow h2 {
  font-size: clamp(1.55rem, 2.4vw, 2rem);
}
main.streamfield-page .expo-page__text-block .expo-richtext-flow h3 {
  font-size: clamp(1.3rem, 1.9vw, 1.6rem);
}
main.streamfield-page .expo-page__text-block .expo-richtext-flow h4 {
  font-size: clamp(1.1rem, 1.5vw, 1.25rem);
}
main.streamfield-page .expo-page__text-block .expo-richtext-flow ul,
main.streamfield-page .expo-page__text-block .expo-richtext-flow ol {
  margin: 0 0 0.85rem !important;
  padding-left: 1.35rem;
}
main.streamfield-page .expo-page__text-block .expo-richtext-flow li + li {
  margin-top: 0.35rem;
}
main.streamfield-page .expo-page__text-block .expo-richtext-flow a {
  text-decoration: underline;
}
main.streamfield-page .expo-page__text-block .expo-richtext-flow hr {
  margin: clamp(0.75rem, 2vw, 1.25rem) 0 !important;
  border: 0;
  border-top: 1px solid currentColor;
  opacity: 0.35;
}

/* Vertical rhythm between stream blocks */
main.streamfield-page--tabs .col-12.d-flex.flex-column.gap-3 {
  gap: 2rem !important;
}
main.streamfield-page--tabs .col-12 > * {
  margin-bottom: 0 !important;
}

/* split_row_text_image lead heading */
main.streamfield-page .mchap-layout-contenidos__split-row--text-image .expo-page__text-block > h2.expo-page__section-title.mchap-layout-contenidos__lead {
  font-weight: 500;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.15;
}
.mchap-layout-contenidos__split-row--text-image .expo-richtext-flow p {
  font-size: 1rem;
  line-height: 1.35;
}
.mchap-layout-contenidos__text-link {
  display: inline-block;
  color: var(--color-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.mchap-layout-contenidos__text-link:hover {
  color: var(--color-ink);
}

/* content_card_grid */
main.streamfield-page .mchap-layout-contenidos__card-grid .expo-richtext-flow {
  max-width: 100%;
}
/* Divider lines between cards: bottom border on every card, top border only on the first row. */
.mchap-layout-contenidos__card-grid .mchap-layout-contenidos__card {
  border-bottom: 1px solid rgba(17, 17, 17, 0.2);
  padding-top: 2.4rem;
  padding-bottom: 2.4rem;
}
.mchap-layout-contenidos__card-grid .col:first-child .mchap-layout-contenidos__card {
  border-top: 1px solid rgba(17, 17, 17, 0.2);
}
.mchap-layout-contenidos__card-thumb-img {
  display: block;
  width: 200px;
  max-width: 40vw;
  height: auto;
}

/* LineBlock */
main.streamfield-page .expo-page__line {
  margin: 0 !important;
  padding: clamp(1rem, 2.5vw, 1.5rem) 0 !important;
}
.expo-page__line-wrap {
  display: block;
  width: 100%;
}
.expo-page__line-wrap--w-100 { width: 100%; }
.expo-page__line-wrap--w-75 { width: 75%; }
.expo-page__line-wrap--w-50 { width: 50%; }
.expo-page__line-wrap--w-25 { width: 25%; }
.expo-page__line-wrap--align-left { margin-left: 0; margin-right: auto; }
.expo-page__line-wrap--align-center { margin-left: auto; margin-right: auto; }
.expo-page__line-wrap--align-right { margin-left: auto; margin-right: 0; }
.expo-page__line-rule {
  width: 100%;
  margin: 0;
  border: 0;
  border-top: 1px solid;
  opacity: 1;
}
.expo-page__line-rule--color-neutral { border-color: #cfcfcf; }
.expo-page__line-rule--color-black { border-color: #111111; }
.expo-page__line-rule--color-terra { border-color: #6e3d2f; }
.expo-page__line-rule--color-coral { border-color: #f37c51; }
.expo-page__line-rule--color-blue { border-color: #3252c4; }
.expo-page__line-rule--color-accent { border-color: #ffd84a; }

/* Archivos block */
.archivos-block__link {
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.4;
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--color-ink);
  transition: opacity 0.15s ease;
}
.archivos-block__link:hover {
  opacity: 0.7;
  color: var(--color-ink);
}
.archivos-block__title {
  word-break: break-word;
}

/* Organigrama chart */
.organigrama-root {
  max-width: 100%;
}
.organigrama-chart-wrap {
  position: relative;
  max-width: 100%;
}
.organigrama-fullscreen-btn {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
}
.organigrama-host {
  max-width: 100%;
  min-width: 0;
  overflow: visible;
  width: 100%;
}
.organigrama-host svg {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}
.organigrama-chart-wrap--fullscreen {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  padding: 1rem;
  background: #fff;
  display: flex;
  flex-direction: column;
}
.organigrama-chart-wrap--fullscreen .organigrama-host {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  align-items: center;
  margin-bottom: 0 !important;
}
.organigrama-chart-wrap--fullscreen .organigrama-host svg {
  width: 100%;
  height: auto;
  max-width: 100%;
}
