@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&display=swap");
html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

img, picture, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
}

button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

input, textarea {
  font-size: 16px;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

::-moz-selection {
  background-color: rgba(230, 32, 32, 0.2);
  color: #1A1B22;
}

::selection {
  background-color: rgba(230, 32, 32, 0.2);
  color: #1A1B22;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
@font-face {
  font-family: "Chulapa";
  src: url("../fonts/Chulapa-Regular.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Chulapa";
  src: url("../fonts/Chulapa-Bold.otf") format("opentype");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Ferpal";
  src: url("../fonts/Ferpal-Regular.otf") format("opentype");
  font-style: normal;
  font-display: swap;
}
body {
  font-family: "DM Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #1A1B22;
  line-height: 1.6;
}

h1, h2, h3, .h1, .h2, .h3 {
  font-family: "Chulapa", serif;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

p {
  margin-bottom: 1.25rem;
}

.text-accent {
  color: #E62020;
}

h1 {
  font-size: 2.5rem;
}
@media (min-width: 992px) {
  h1 {
    font-size: 4rem;
  }
}

.navbar-nav, #mainNavbar .dropdown-menu .nav-link {
  font-family: "DM Sans", "Helvetica", Arial, sans-serif;
}

:focus-visible {
  outline: 3px solid #E62020 !important;
  outline-offset: 4px;
}

.visually-hidden, .c-event-card__sr-text {
  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;
}

.c-skip-link {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #E62020;
  color: #FFFFFF;
  padding: 1rem 2rem;
  z-index: 9999;
  font-weight: bold;
  text-decoration: none;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
  transition: top 0.3s ease;
}
.c-skip-link:focus {
  top: 0;
  outline: 3px solid #FFFFFF;
  outline-offset: -6px;
}

:focus-visible {
  outline: 3px solid #E62020 !important;
  outline-offset: 4px;
}

.c-burger {
  --burger-width: 24px;
  --burger-height: 18px;
  --burger-line: 1.3px;
  --burger-color: #111;
  --burger-radius: 999px;
  --burger-duration: 0.25s;
  border: 0;
  background: transparent;
  padding: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.c-burger:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.c-burger__box {
  position: relative;
  display: block;
  width: var(--burger-width);
  height: var(--burger-height);
}

.c-burger__inner,
.c-burger__inner::before,
.c-burger__inner::after {
  position: absolute;
  left: 0;
  width: 100%;
  height: var(--burger-line);
  border-radius: var(--burger-radius);
  background: var(--burger-color);
  transition: transform var(--burger-duration) ease, opacity var(--burger-duration) ease, top var(--burger-duration) ease, bottom var(--burger-duration) ease;
  content: "";
}

.c-burger__inner {
  top: 50%;
  transform: translateY(-50%);
}

.c-burger__inner::before {
  top: -8px;
}

.c-burger__inner::after {
  top: 8px;
}

.c-burger[aria-expanded=true] .c-burger__inner {
  background: transparent;
}

.c-burger[aria-expanded=true] .c-burger__inner::before {
  top: 0;
  transform: rotate(45deg);
}

.c-burger[aria-expanded=true] .c-burger__inner::after {
  top: 0;
  transform: rotate(-45deg);
}

.site-header {
  position: relative;
  z-index: 1030;
}

.site-header__top {
  position: relative;
  z-index: 2;
  overflow: hidden;
  max-height: 80px;
  opacity: 1;
  transform: translateY(0);
  transition: max-height 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

.site-header__main {
  position: relative;
  z-index: 3;
}

.site-header.is-compact .site-header__top {
  max-height: 0;
  opacity: 0;
  transform: translateY(-100%);
}

.site-header.is-compact .site-header__top {
  max-height: 0;
  opacity: 0;
  transform: translateY(-100%);
}

#siteHeaderSpacer {
  height: 0;
}

.site-header {
  position: relative;
  width: 100%;
  z-index: 1030;
}

.site-header.is-fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
}

.site-header__top {
  overflow: hidden;
  max-height: 80px;
  opacity: 1;
  transform: translateY(0);
  transition: max-height 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

.site-header.is-compact .site-header__top {
  max-height: 0;
  opacity: 0;
  transform: translateY(-100%);
}

.c-header {
  position: relative;
  top: auto;
}

.l-footer {
  border-top: 4px solid #E62020;
}
.l-footer .icon {
  font-size: 2rem;
}
.l-footer h2 {
  font-family: "DM Sans", sans-serif;
  letter-spacing: 0.05em;
  font-size: 0.9rem;
}
.l-footer a.hover-white {
  transition: color 0.2s ease;
}
.l-footer a.hover-white:hover, .l-footer a.hover-white:focus {
  color: #FFFFFF !important;
  text-decoration: underline !important;
}
.l-footer .logo-footer {
  width: 100%;
  height: 60px;
}
.l-footer .ph {
  vertical-align: middle;
}
.l-footer__social a {
  transition: transform 0.2s ease, color 0.2s ease;
}
.l-footer__social a:hover {
  color: #E62020 !important;
  transform: translateY(-3px);
}
.l-footer .social-links {
  font-size: 1.3rem;
}
.l-footer .social-links a {
  text-decoration: none;
  font-size: 1.5rem;
}
.l-footer ul li {
  margin-bottom: 0.5rem;
}
.l-footer .bg-dark {
  background-color: black !important;
}
.l-footer .lf {
  position: relative;
}
.l-footer .lf:before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0; /* ocupa toda la altura */
  left: -8px; /* separación de 5px */
  width: 1px;
  background-color: #fff;
}

.bg-sanisidro {
  background: #e20414;
}

#siteHeaderTop {
  pointer-events: initial;
  padding: 0;
  color: #fff;
}
#siteHeaderTop .cabecera-ayto {
  background-color: #000;
  padding: 0;
  z-index: 9999;
  margin: auto;
  min-height: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

em.ayto {
  font-style: normal;
}
@media (max-width: 500px) {
  em.ayto {
    display: none;
  }
}

.cabecera_madrid {
  min-height: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: auto;
}
@media (max-width: 991px) {
  .cabecera_madrid {
    justify-content: center;
    padding: 0 1rem !important;
    min-height: 30px;
  }
}
@media (max-width: 415px) {
  .cabecera_madrid {
    justify-content: center;
  }
}

.titulositio,
.logomadrid {
  align-self: center;
  flex: 0 1 auto;
  line-height: 1.2rem;
  font-family: "DM Sans", Helvetica, Arial, sans-serif;
}

.logomadrid {
  font-size: 1.5rem !important;
  position: relative;
}
@media (max-width: 991px) {
  .logomadrid::before {
    content: "";
    background-color: #fff;
    position: absolute;
    height: 29px;
    width: 0.08rem;
    top: -1;
    right: -8px;
    margin-left: 1px;
  }
}

@media (max-width: 991px) {
  .titulositio {
    margin-left: 0.9rem;
    width: auto;
    text-align: left;
    position: relative;
  }
}

.cabecera_madrid a {
  font-family: "DM Sans", Arial, sans-serif;
  color: #fff;
  font-weight: normal;
  font-size: clamp(0.9rem, 2vw, 15px);
  text-decoration: none;
  transition: all 0.25s ease;
}
.cabecera_madrid a h1 {
  font-size: 15px;
  font-weight: normal;
  text-transform: initial;
}
.cabecera_madrid a:hover, .cabecera_madrid a:focus {
  text-decoration: none;
  opacity: 0.85;
}
.cabecera_madrid a:hover span.icon-madrid-ayto, .cabecera_madrid a:focus span.icon-madrid-ayto {
  background-size: 0 !important;
}

@media (max-width: 991px) {
  a.titulositio {
    padding-top: 3px;
  }
}
a.titulositio:hover, a.titulositio:focus {
  text-decoration: underline;
}
a.titulositio span {
  font-size: clamp(0.9rem, 2vw, 15px);
}

@media (max-width: 991px) {
  .cabecera_madrid a {
    font-size: 0.75rem;
  }
  .cabecera_madrid a h1 {
    font-size: 0.75rem;
  }
  .cabecera_madrid a span.aytomadrid {
    font-size: 0.75rem;
  }
  .icon-madrid-ayto {
    margin-left: 0.4rem;
  }
  .container-fluid.header {
    overflow: hidden;
  }
}
@media (max-width: 415px) {
  .icon-madrid-ayto {
    margin-left: 0;
  }
  span.aytomadrid {
    display: none;
  }
}
@media (max-width: 991px) {
  a.logomadrid {
    pointer-events: none;
    cursor: default;
    padding-top: 3px;
  }
}
.l-event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
@media (max-width: md) {
  .l-event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
    gap: 2rem;
  }
}
@media (max-width: md) {
  .l-event-grid {
    gap: 2rem;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  }
}
.l-event-grid--featured {
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
}

.l-section {
  padding-top: 3rem;
  padding-bottom: 3rem;
}
@media (max-width: lg) {
  .l-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

h1.busqueda {
  display: flex !important;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 4px;
}
h1.busqueda div {
  display: inline;
}
h1.busqueda .icon {
  font-size: 5rem;
}

.image-stack {
  display: grid;
  position: relative;
  grid-template-columns: repeat(12, 1fr);
  width: 100%;
  isolation: isolate;
  align-items: start;
}
.image-stack img {
  display: block;
  max-width: 100%;
  height: auto;
}
.image-stack .stack-back {
  grid-column: 4/-1;
  grid-row: 1;
  width: 100%;
  z-index: 1;
  display: block;
  position: relative;
  border: 5px solid #fff;
  box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.1);
  will-change: transform;
  transform: translateY(0);
}
.image-stack .stack-front {
  grid-row: 1;
  grid-column: 1/span 9;
  margin-top: 15%;
  width: 100%;
  z-index: 2;
  display: block;
  position: relative;
  border: 5px solid #fff;
  box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.1);
}
.image-stack .copy2 {
  grid-row: 1;
  grid-column: 1/span 9;
  align-self: end;
  justify-self: start;
  z-index: 3;
  min-width: -moz-max-content;
  min-width: max-content;
  opacity: 0.8;
  font-size: 0.85rem;
  margin-top: 15%;
  transform: translateY(100%);
}

.image-stack .stack-front.stackv2 {
  grid-column: auto !important;
}

@supports (animation-timeline: view()) {
  .image-stack .stack-back {
    animation-name: stackBackParallax;
    animation-duration: 1s;
    animation-timing-function: linear;
    animation-fill-mode: both;
    animation-timeline: view(block);
    animation-range: entry 0% exit 100%;
  }
}
@keyframes stackBackParallax {
  0% {
    transform: translateY(-30px);
  }
  100% {
    transform: translateY(30px);
  }
}
.copy2 {
  min-width: -moz-max-content;
  min-width: max-content;
  opacity: 0.8;
  font-size: 0.85rem;
}

.doc {
  display: inline;
}
.doc span {
  font-size: 1rem;
}
.doc a {
  text-decoration: none;
}
.doc a:hover .btn {
  background-color: #eb4c61 !important;
  color: #fff !important;
  border-color: #eb4c61;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.doc p {
  margin: 0;
}
.doc .img-documento {
  max-width: 100%;
  width: 150px;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.logo-si26 {
  width: 350px;
  max-width: 100%;
  margin-top: 1rem;
}

@media (max-width: 991px) {
  .logo-si26 {
    max-width: 50%;
  }
}
.banner-aviso {
  background-color: #e20414;
  color: #FFFFFF;
}
.banner-aviso p,
.banner-aviso a {
  color: #FFFFFF;
}

.bloque_aviso {
  position: relative;
}
.bloque_aviso .aviso {
  border-bottom: 1px solid #fff;
}
.bloque_aviso .no-border {
  border: 0;
}
.bloque_aviso .view-header {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
}
.bloque_aviso .close-button {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 4px;
  font-weight: bold;
}
.bloque_aviso .close-button:hover, .bloque_aviso .close-button:focus {
  color: black;
}

.icon {
  font-size: 1.5rem;
}

.btn-sanisidro {
  background-color: #E62020;
  color: #FFFFFF;
  border: 2px solid #E62020;
  transition: all 0.2s ease-in-out;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0.5rem;
  cursor: pointer;
}
.btn-sanisidro:hover {
  background-color: rgb(198.9016129032, 22.2983870968, 22.2983870968);
  border-color: rgb(198.9016129032, 22.2983870968, 22.2983870968);
  color: #FFFFFF;
}
.btn-sanisidro:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px white, 0 0 0 4px #E62020;
}
.btn-sanisidro:active {
  transform: translateY(1px);
  background-color: rgb(180.5580645161, 20.2419354839, 20.2419354839);
}
.btn-sanisidro:disabled, .btn-sanisidro.is-disabled {
  opacity: 0.6;
  pointer-events: none;
  filter: grayscale(100%);
}
.btn-sanisidro i {
  margin-right: 0.5rem;
  font-size: 1.2rem;
}

.btn-outline-dark {
  background-color: #1A1B22;
  color: #FFFFFF;
  border: 2px solid #1A1B22;
  transition: all 0.2s ease-in-out;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0.5rem;
  cursor: pointer;
}
.btn-outline-dark:hover {
  background-color: rgb(8.32, 8.64, 10.88);
  border-color: rgb(8.32, 8.64, 10.88);
  color: #FFFFFF;
}
.btn-outline-dark:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px white, 0 0 0 4px #1A1B22;
}
.btn-outline-dark:active {
  transform: translateY(1px);
  background-color: black;
}
.btn-outline-dark:disabled, .btn-outline-dark.is-disabled {
  opacity: 0.6;
  pointer-events: none;
  filter: grayscale(100%);
}

.btn-sanisidro {
  align-items: center;
  background-color: #fff;
  border-color: #e20414;
  border-radius: 50px;
  color: #e20414;
  display: inline-flex;
  font-family: "DM Sans", Arial, Helvetica, sans-serif;
  font-size: 0.8rem;
  justify-content: center;
  padding: 0.75rem 1.05rem;
  text-decoration: none;
  white-space: nowrap;
  width: auto;
}
.btn-sanisidro .size {
  font-size: 0.8rem;
}
.btn-sanisidro i,
.btn-sanisidro img {
  transition: transform 0.2s ease;
}
.btn-sanisidro:hover, .btn-sanisidro:focus {
  background-color: #e20414;
  color: #fff;
  text-decoration: none;
}
.btn-sanisidro:hover i,
.btn-sanisidro:hover img, .btn-sanisidro:focus i,
.btn-sanisidro:focus img {
  transform: scale(1.2);
}

.saveShareBtn, .categoryBtn {
  float: right;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.4rem 0.6rem;
  border-radius: 20px;
  margin: 0.5rem 0;
  font-family: "DM Sans", Arial, Helvetica, sans-serif;
  font-size: 0.8rem;
  line-height: 1;
  color: rgba(0, 0, 0, 0.75);
  background: rgb(248, 249, 250);
  border: 1px solid rgba(0, 0, 0, 0.05);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.saveShareBtn .btn__text, .categoryBtn .btn__text {
  font-size: 0.95rem;
  line-height: 1;
}
.saveShareBtn .btn__icon, .categoryBtn .btn__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  flex-shrink: 0;
}
.saveShareBtn .btn__icon i, .categoryBtn .btn__icon i {
  display: block;
  font-size: 1rem;
  line-height: 1;
  transition: transform 0.25s ease, color 0.2s ease;
  will-change: transform;
}
.saveShareBtn:hover, .saveShareBtn:focus, .categoryBtn:hover, .categoryBtn:focus {
  background-color: #e20414;
  color: #fff;
}
.saveShareBtn:hover .btn__icon i, .saveShareBtn:focus .btn__icon i, .categoryBtn:hover .btn__icon i, .categoryBtn:focus .btn__icon i {
  transform: scale(1.22);
}
.saveShareBtn:hover .btn__text, .saveShareBtn:focus .btn__text, .categoryBtn:hover .btn__text, .categoryBtn:focus .btn__text {
  color: #fff;
}
.saveShareBtn.saved-event-toggle .btn__icon i.ph-star, .categoryBtn.saved-event-toggle .btn__icon i.ph-star {
  text-shadow: 0 0 1px #fff;
}

.categoryBtn {
  color: #e20414;
  background: transparent;
  border: 1px solid #e20414;
  font-size: 1rem;
}
.categoryBtn:hover, .categoryBtn:focus {
  text-decoration: none;
}
@keyframes yellow-circle {
  0% {
    border-width: 0px;
    opacity: 0.8;
  }
  80% {
    border-width: 25px;
    opacity: 0.8;
  }
  100% {
    border-width: 25px;
    opacity: 0.5;
  }
}
@keyframes white-circle {
  from {
    border-width: 0px;
  }
  to {
    border-width: 25px;
  }
}
@keyframes shiner {
  0% {
    height: 0px;
    transform-origin: 1px -5px;
    top: 5px;
  }
  60% {
    height: 15px;
    transform-origin: 1px -5px;
    top: 5px;
  }
  100% {
    height: 0px;
    transform-origin: 1px -15px;
    top: 15px;
  }
}
@keyframes star {
  0% {
    font-size: 0;
    color: #82f853;
  }
  30% {
    font-size: 0;
  }
  50% {
    /*font-size:2.2em;*/
    font-size: 1.8em;
  }
  66% {
    font-size: 1em;
  }
  82% {
    font-size: 1.4em;
  }
  92% {
    font-size: 1.1em;
  }
  /*	94% {
  		font-size:1.6em;
  	}
  	97% {
  		font-size:1.4em;
  	}*/
  100% {
    font-size: 1.2em;
  }
}
.calendar-search-panel__inner .btn.btn-primary {
  background-color: #e20414;
  border-color: #e20414;
}
.calendar-search-panel__inner .btn.btn-primary:hover, .calendar-search-panel__inner .btn.btn-primary:focus {
  background-color: #111;
  border-color: #333;
}
.calendar-search-panel__inner .btn.btn-link {
  color: #e20414;
}

.fave {
  position: relative;
  width: 30px;
  height: 30px;
}
@media (max-width: 991px) {
  .fave {
    width: 20px;
    height: 20px;
  }
}
.fave {
  margin-top: -3px;
  z-index: 0;
}
.fave .circle {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.fave .circle:before, .fave .circle:after {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  content: "";
  width: 0;
  height: 0;
  border-radius: 50%;
}
.fave .circle:before {
  border: 0px solid #82f853;
}
.fave .circle:after {
  border: 0px solid #FFFFFF;
}
.fave .shine {
  position: absolute;
  left: 50%;
  top: 50%;
  height: 0;
  width: 0;
  z-index: 1;
}
.fave .shine .shiner {
  position: absolute;
  top: 8px;
  left: 0;
  width: 1px;
  height: 0px;
  background: white;
}
.fave .shine .shiner:nth-child(1) {
  transform: rotate(0deg);
}
.fave .shine .shiner:nth-child(2) {
  transform: rotate(72deg);
}
.fave .shine .shiner:nth-child(3) {
  transform: rotate(144deg);
}
.fave .shine .shiner:nth-child(4) {
  transform: rotate(216deg);
}
.fave .shine .shiner:nth-child(5) {
  transform: rotate(288deg);
}
.fave i.ph-star {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  margin-top: 1px;
  margin-left: 1px;
  font-size: 1.2rem;
  color: #82f853;
  transition: font-size 0.2s ease-in-out;
}
.fave:hover {
  cursor: pointer;
}
.fave:hover .ph-star {
  color: #82f853;
}
.fave.selected .circle:before {
  animation: yellow-circle .4s ease-in-out 0 1;
}
.fave.selected .circle:after {
  animation: white-circle .6s ease-in-out .2s 1;
}
.fave.selected .shine .shiner {
  animation: shiner .6s ease-out 1 0s;
}
.fave.selected i.ph-star {
  animation: star 1.1s ease-in-out 1 0s;
  font-size: 1.2em;
  color: #82f853;
}

.saved-events-widget__collapsed {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.document-btn {
  display: block;
  width: 100%;
  padding: 0.625rem 0.875rem;
  border: 1px solid #d8dee6;
  border-radius: 0.85rem;
  background-color: #f8fafc;
  color: #1f2937;
  text-decoration: none;
  transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease, transform 0.12s ease;
}

.document-btn:hover {
  background-color: #f1f5f9;
  border-color: #c5d0dd;
  text-decoration: none;
}

.document-btn:focus,
.document-btn:focus-visible {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}

.document-btn:active {
  transform: scale(0.995);
}

.document-btn__main {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  width: 100%;
  min-width: 0;
}

.document-btn__icon {
  flex: 0 0 auto;
  font-size: 1rem;
  line-height: 1;
  margin-top: 0.1rem;
  color: #475569;
  transition: transform 0.16s ease;
}

.document-btn:hover .document-btn__icon,
.document-btn:focus-visible .document-btn__icon,
.document-btn:active .document-btn__icon {
  transform: scale(1.08);
}

.document-btn__content {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1 1 auto;
}

.document-btn__title-row {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  flex-wrap: wrap;
  min-width: 0;
}

.document-btn__name {
  font-size: 0.9rem !important;
  font-weight: 600;
  line-height: 1.3;
  min-width: 0;
  overflow-wrap: anywhere;
}

.document-btn__type {
  flex: 0 0 auto;
  font-size: 0.66rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0.2rem 0.38rem;
  border-radius: 999px;
  background-color: #e2e8f0;
  color: #334155;
}

.document-btn__meta-row {
  margin-top: 0.3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}

.document-btn__size {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  font-size: 0.72rem;
  line-height: 1.2;
  font-weight: 500;
  color: #475569;
  white-space: normal;
  overflow-wrap: anywhere;
}

.document-btn__warning-icon {
  font-size: 0.85em;
}

.chulapa {
  font-family: "chulapa", "DM Sans", Arial, Helvetica, sans-serif;
  font-weight: bold;
  font-display: swap;
}
.chulapa .font-normal {
  font-feature-settings: initial;
}
.chulapa .a0 {
  font-feature-settings: "ss01";
}
.chulapa .a1 {
  font-feature-settings: "aalt" 2;
}
.chulapa .a2 {
  font-feature-settings: "ss02";
}
.chulapa .a3 {
  font-feature-settings: "aalt" 4;
}
.chulapa .a4 {
  font-feature-settings: "aalt" 3;
}
.chulapa .a5 {
  font-feature-settings: "ss01";
}
.chulapa .a6 {
  font-feature-settings: "aalt";
}
.chulapa .e1 {
  font-feature-settings: "ss01";
}
.chulapa .e2 {
  font-feature-settings: "ss03";
}
.chulapa .e3 {
  font-feature-settings: "ss02";
}
.chulapa .o2 {
  font-feature-settings: "ss02";
}
.chulapa .n1 {
  font-feature-settings: "ss01";
}
.chulapa .d1 {
  font-feature-settings: "ss01";
}
.chulapa .q1 {
  font-feature-settings: "aalt";
}
.chulapa .r1 {
  font-feature-settings: "aalt" 4;
}
.chulapa .s4r {
  font-feature-settings: "aalt" 4;
}
.chulapa .fsp {
  font-size: 1.6rem;
}
.chulapa .r2 {
  font-feature-settings: "aalt" 3;
}
.chulapa .r3 {
  font-feature-settings: "ss01";
}
.chulapa .r4 {
  font-feature-settings: "aalt" 2;
}
.chulapa .s1 {
  font-feature-settings: "aalt" 2;
}
.chulapa .s2 {
  font-feature-settings: "aalt" 3;
}
.chulapa .s3 {
  font-feature-settings: "aalt";
}
.chulapa .s4 {
  font-feature-settings: "aalt" 6;
  letter-spacing: -2px;
}
.chulapa .s5 {
  font-feature-settings: "aalt" 5;
}
.chulapa .t1 {
  font-feature-settings: "ss01";
}
.chulapa .c1 {
  font-feature-settings: "aalt";
}
.chulapa .i1 {
  font-feature-settings: "ss01";
}
.chulapa .i3 {
  font-feature-settings: "ss03";
}
.chulapa .u1 {
  font-feature-settings: "ss01";
}
.chulapa .d1 {
  font-feature-settings: "ss01";
}
.chulapa .de, .chulapa .ra, .chulapa .dlig {
  font-feature-settings: "dlig";
}

.cc-text h1,
.ccm__content__heading h1 {
  color: #111;
  font-family: "DM Sans", Arial, Helvetica, sans-serif;
}
.cc-text p,
.cc-text a,
.ccm__content__heading p,
.ccm__content__heading a {
  color: #111;
  display: inline;
  font-size: 16px;
  line-height: 1.7rem;
}
.cc-text h1,
.ccm__content__heading h1 {
  font-size: 1.6rem;
  font-weight: bold;
}
.cc-text,
.ccm__content__heading {
  margin-bottom: 1rem;
}

.cc-text a {
  text-decoration: underline;
}

#cconsent-bar button.ccb__edit {
  text-decoration: none !important;
}

#cconsent-bar .ccb__right {
  white-space: normal !important;
  width: 100%;
}

#cconsent-modal .ccm__content > .ccm__content__heading strong, #cconsent-init-modal .ccm__content > .ccm__content__heading strong {
  color: #111 !important;
  display: block;
  margin-bottom: 2rem;
}

#cconsent-bar {
  border: 1px solid;
}
@media (min-width: 780px) {
  #cconsent-bar {
    border-top-right-radius: 30px;
  }
}
#cconsent-bar {
  max-width: 100%;
  right: 0;
  width: 750px;
}
#cconsent-bar button {
  background-color: #A06546 !important;
  border-radius: 50px;
  border: 1px solid #fff !important;
  color: #fff !important;
  padding: 8px 12px !important;
  transition: all, 0.3s;
}
#cconsent-bar button:hover, #cconsent-bar button:focus {
  background-color: #fff !important;
  color: #A06546 !important;
  border: 1px solid #A06546 !important;
}

.ccb__button {
  gap: 20px;
}
@media (max-width: 780px) {
  .ccb__button {
    gap: 10px;
  }
}
.ccb__button {
  display: flex !important;
  justify-content: center;
  align-items: center;
  margin-bottom: 1rem;
}
.ccb__button button {
  font-size: 16px !important;
}

#cconsent-modal .ccm__content {
  border: 2px solid #fff !important;
}
#cconsent-modal .ccm__footer button {
  border-radius: 50px;
  border: 1px solid #A06546;
  font-size: 16px;
}
#cconsent-modal .ccm__footer button:hover, #cconsent-modal .ccm__footer button:focus {
  background-color: #A06546 !important;
  color: #fff !important;
}
#cconsent-modal .ccm__list ul {
  color: #000 !important;
}

#cconsent-modal .ccm__content > .ccm__content__body .ccm__tab-content .ccm__tab-content__left .ccm__switch {
  display: flex !important;
}
#cconsent-modal .ccm__content > .ccm__content__body .ccm__tab-content .ccm__tab-content__left .ccm__switch label {
  padding-left: 0.5rem;
  color: #0C0C0D;
}
#cconsent-modal .ccm__content > .ccm__content__body .ccm__tab-content .ccm__tab-content__left .ccm__switch input {
  display: block !important;
}

#cconsent-modal .ccm__content {
  justify-content: start !important;
}

#cconsent-modal .ccm__footer button + button, #cconsent-init-modal .ccm__footer button + button, #ccm__footer__consent-modal-submit {
  border: 1px solid #fff !important;
  border-radius: 50px !important;
  font-family: "DM Sans", Arial, Helvetica, sans-serif !important;
  padding: 8px 10px !important;
}

#cconsent-modal .ccm__footer {
  padding: 20px !important;
  align-items: center;
  justify-content: center !important;
  flex-wrap: wrap;
  margin: 3px;
  height: auto !important;
}
#cconsent-modal .ccm__footer button {
  flex: 1;
  margin: 5px;
}

#cconsent-modal .ccm__content > .ccm__content__heading p {
  margin-top: 1rem;
  margin-bottom: 1rem;
  display: block;
  text-align: justify;
  hyphens: auto;
}

.ccm__switch .custom-control-label {
  padding-left: 1rem;
  padding-bottom: 1rem;
}
.ccm__switch .custom-control-label::before {
  height: 1rem;
  width: calc(1rem + 0.75rem);
}
.ccm__switch .custom-control-label::after {
  width: calc(1rem - 4px);
  height: calc(1rem - 4px);
}
.ccm__switch .ccm__switch:checked ~ .custom-control-label::after {
  transform: translateX(calc(1rem - 0.25rem));
}

@media (max-width: 991px) {
  .cc-text {
    text-align: justify;
    hyphens: auto;
  }
  #cconsent-bar .ccb__wrapper {
    justify-content: center !important;
  }
}
#cconsent-bar button.ccb__edit, #cconsent-bar button.consent-decline {
  margin-right: 0 !important;
}

#cconsent-bar button.consent-give, #cconsent-bar button.consent-decline {
  width: 90px;
}

.cartel-descargas {
  position: relative;
  z-index: 9;
}
@media (max-width: 1199px) {
  .cartel-descargas {
    padding-bottom: 4.5rem;
  }
}

.cartel-texto {
  position: relative;
  z-index: 1;
}

.cartel {
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 0 4rem;
  overflow: hidden;
  position: relative;
}
.cartel .container {
  max-width: 1100px;
  width: calc(100% - 40px);
}
.cartel h2 {
  margin: 2rem 0 1.25rem;
  width: 100%;
  color: #fff;
}
.cartel .descripcion {
  font-weight: normal;
  font-size: 1rem;
  line-height: 1.6;
  color: #fff;
}
.cartel .descripcion a {
  color: #fff7e7;
}
.cartel p {
  color: #ffffff;
  margin: 3px 0;
  width: 100%;
}
.cartel a {
  color: #c72846;
  display: inline-block;
  transition: all 0.2s ease;
  text-decoration: underline;
  font-weight: bold;
}
.cartel a:hover, .cartel a:focus {
  color: #111;
}

.cartel.color2descargas {
  border-top: 1px solid rgba(255, 255, 255, 0.38);
}

/* Zona de tarjetas de descarga */
.cartel-descarga {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}
.cartel-descarga a.imagen-thumb {
  margin-top: 3rem;
  width: min(100%, 290px);
  text-decoration: none;
  font-size: 1rem;
  background: #fff;
  padding: 0.75rem;
  border-radius: 20px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  color: #222;
}
.cartel-descarga a.imagen-thumb:hover, .cartel-descarga a.imagen-thumb:focus {
  text-decoration: none;
  transform: translateY(-4px);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.24);
}
.cartel-descarga a.imagen-thumb:hover img, .cartel-descarga a.imagen-thumb:focus img {
  transform: scale(1.05);
}
.cartel-descarga a.imagen-thumb:hover .texto .txtdescargar,
.cartel-descarga a.imagen-thumb:hover .texto span:first-of-type, .cartel-descarga a.imagen-thumb:focus .texto .txtdescargar,
.cartel-descarga a.imagen-thumb:focus .texto span:first-of-type {
  text-decoration: underline;
}
.cartel-descarga a.imagen-thumb .txtdescargar.chulapa {
  font-size: 1.1rem;
}
.cartel-descarga a.imagen-thumb .size {
  font-size: 0.8rem;
  color: #6c757d;
  font-weight: 500;
  display: block;
  margin-top: 0.2rem;
}
.cartel-descarga .imgcartel {
  display: block;
  overflow: hidden;
  border-radius: 14px;
  background: #f3f4f6;
  aspect-ratio: 9/13;
}
.cartel-descarga .imgcartel img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}
.cartel-descarga .texto {
  padding: 0.9rem 0.35rem 0.35rem;
  text-align: center;
  color: #212529;
}
.cartel-descarga .texto i {
  display: block;
  font-size: 1.6rem;
  margin-bottom: 0.45rem;
  color: #c72846;
}
.cartel-descarga .texto span {
  display: inline-block;
  line-height: 1.35;
}
.cartel-descarga .texto .txtdescargar {
  font-weight: 700;
  color: #212529;
}

@media screen and (max-width: 576px) {
  .cartel {
    padding: 0.5rem 0 2rem;
  }
  .cartel h2 {
    width: 100%;
    text-align: left;
    margin-bottom: 1rem;
  }
  .cartel .body {
    padding: 30px;
  }
}
.corte2 {
  display: none;
  position: absolute;
  z-index: 5;
  top: -1px;
  width: 100%;
  max-height: 123px;
  height: 13vw;
  transform: scaleY(-1);
  overflow: hidden;
}
.corte2 svg {
  position: relative;
  display: block;
  width: calc(160% + 1.3px);
  height: 165px;
}
.corte2 .shape-fill {
  fill: #fff;
}

@media (min-width: 1600px) {
  .corte2 {
    display: block;
  }
}
@media (max-width: 1599px) and (min-width: 1200px) {
  .corte2 {
    display: block;
    max-height: 60px;
  }
  .corte2 svg {
    height: 105px;
  }
}
@media (min-width: 1599px) and (max-width: 1199px) {
  .cartel {
    padding-top: 2rem;
  }
}
@media (max-width: 756px) {
  .bloquedescargas {
    text-align: center;
  }
  .bloquedescargas .cartel-texto h2 {
    text-align: center;
  }
  .bloquedescargas p {
    padding: 0 1.2rem;
  }
}
/* Ojo: mejor usar clase en vez de repetir #cartel en varios bloques */
.bloquedescargas.has-fondo {
  position: relative;
  overflow: hidden;
  z-index: 0;
}
.bloquedescargas.has-fondo .img-fondo {
  position: absolute;
  top: -20%;
  left: 0;
  width: 100%;
  height: 120%;
  background-position: top center !important;
  background-repeat: no-repeat !important;
  background-size: 100% !important;
  z-index: -1;
}
@media (max-width: 991px) {
  .bloquedescargas.has-fondo .img-fondo {
    background-size: cover !important;
  }
}
.bloquedescargas.has-fondo::before {
  content: "";
  position: absolute;
  background: url("/images/banner/cielo.jpg") no-repeat;
  background-size: cover;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
}
.bloquedescargas.has-fondo .img-fondo0 {
  top: 0%;
}
.bloquedescargas.has-fondo .img-fondo2 {
  top: -100%;
  z-index: 0;
}
.bloquedescargas.has-fondo .img-fondo3 {
  top: -100%;
  z-index: 0;
}

.downloadpdf {
  --si-red: $color-sanisidro;
  --si-red-soft: rgba(227, 6, 19, 0.08);
  --si-red-border: rgba(227, 6, 19, 0.95);
  --si-text: #1d1f25;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.25rem;
  min-width: 240px;
  padding: 0.5rem 0.82rem;
  font-size: 0.88rem;
  font-weight: 650;
  line-height: 1;
  white-space: nowrap;
  color: var(--si-red);
  background-color: #fff;
  border: 2px solid var(--si-red-border);
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  transition: all 0.2s ease;
}
.downloadpdf i {
  font-size: 1.1rem;
  display: flex;
  align-items: center;
}
.downloadpdf span:not(.size) {
  font-weight: 500;
}
.downloadpdf .size {
  font-size: 0.8rem;
  opacity: 0.75;
}
.downloadpdf:hover {
  background-color: var(--si-red-soft);
  border-color: var(--si-red);
  color: var(--si-red);
  text-decoration: none;
}
.downloadpdf:active {
  transform: translateY(1px);
}
.downloadpdf:focus-visible {
  outline: 2px solid rgba(227, 6, 19, 0.4);
  outline-offset: 2px;
}
.downloadpdf--compact {
  padding: 0.3rem 0.65rem;
  font-size: 0.8rem;
}
.downloadpdf--compact .size {
  display: none;
}
@media (max-width: 576px) {
  .downloadpdf {
    font-size: 0.8rem;
    padding: 0.35rem 0.7rem;
  }
  .downloadpdf .size {
    display: none;
  }
}
.downloadpdf .info-txt {
  line-height: normal;
}
.downloadpdf .size {
  opacity: 0.7;
  font-size: 0.7rem;
}

.downloadpdf i {
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}
.downloadpdf:hover {
  background-color: var(--si-red-soft);
  border-color: var(--si-red);
  color: var(--si-red);
  text-decoration: none;
}
.downloadpdf:hover i {
  transform: scale(1.15);
}

.icon-decorativo {
  width: 16px;
  -o-object-fit: contain;
     object-fit: contain;
}

#sidebar-accessibility-title {
  font-size: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.event-detail__sidebar-accessibility .accessibility-icon {
  width: 2.75rem;
  height: 2.75rem;
  background-color: #e9ecef;
  color: #495057;
  border: 1px solid #ced4da;
}
.event-detail__sidebar-accessibility .event-icon {
  width: 2.5rem;
  height: 2.5rem;
  font-size: 1.65rem;
  font-weight: 700;
}
.event-detail__sidebar-accessibility ul li a {
  text-decoration: none;
  color: #e20414;
}
.event-detail__sidebar-accessibility ul li p {
  margin: 0;
}
.event-detail__sidebar-accessibility .nombre-ico {
  background-color: transparent !important;
}
.event-detail__sidebar-accessibility .accessibility-icon--11 {
  background-color: #dff4ff;
  color: #0b5cab;
  border-color: #b6e0fe;
}
.event-detail__sidebar-accessibility .accessibility-icon--12 {
  background-color: #fde7ea;
  color: #b42318;
  border-color: #f7c6cd;
}
.event-detail__sidebar-accessibility .accessibility-icon--13 {
  background-color: #fff4db;
  color: #9a6700;
  border-color: #f3d28b;
}
.event-detail__sidebar-accessibility .accessibility-icon--14 {
  background-color: #e7f8ee;
  color: #157347;
  border-color: #b7e4c7;
}
.event-detail__sidebar-accessibility .accessibility-icon--15 {
  background-color: #e6f7fb;
  color: #0f5f75;
  border-color: #b8e3ee;
}
.event-detail__sidebar-accessibility .accessibility-icon--16 {
  background-color: #f1f3f5;
  color: #495057;
  border-color: #d0d5dd;
}
.event-detail__sidebar-accessibility .accessibility-icon--17 {
  background-color: #efe7ff;
  color: #6941c6;
  border-color: #d9c2ff;
}
.event-detail__sidebar-accessibility .accessibility-icon--18 {
  background-color: #ffe9f3;
  color: #c11574;
  border-color: #f8bfdc;
}
.event-detail__sidebar-accessibility .accessibility-icon--20 {
  background-color: #fff1e7;
  color: #c2410c;
  border-color: #fdc9a8;
}
.event-detail__sidebar-accessibility .accessibility-icon--28 {
  background-color: #e8fff6;
  color: #0f766e;
  border-color: #b7f0df;
}
.event-detail__sidebar-accessibility .accessibility-icon--29 {
  background-color: #f3e8ff;
  color: #7e22ce;
  border-color: #ddc1fa;
}

.event-listing .row {
  --bs-gutter-x:2rem;
  --bs-gutter-y: 3.5rem;
}

.c-event-card {
  --card-radius: 1.75rem;
  --card-radius-sm: 1.1rem;
  --card-bg: #ffffff;
  --card-text: #ffffff;
  --card-text-soft: rgba(255, 255, 255, 0.86);
  --card-text-muted: rgba(255, 255, 255, 0.72);
  --card-red: rgba(227, 5, 19, 1);
  --card-red-dark: #78000a;
  --card-red-darker: #4d0007;
  --card-chip-bg: rgba(255, 255, 255, 0.16);
  --card-chip-bg-hover: rgba(255, 255, 255, 0.22);
  --card-chip-border: rgba(255, 255, 255, 0.12);
  --card-gradient: linear-gradient(to bottom, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.18) 60%, rgba(0, 0, 0, 0.42) 82%, rgba(0, 0, 0, 0.72) 100%);
  --card-shadow: 0 20px 50px rgba(0, 0, 0, 0.16);
  --card-shadow-hover: 0 24px 60px rgba(0, 0, 0, 0.22);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  border-radius: var(--card-radius);
  overflow: hidden;
  background: var(--card-bg);
  box-shadow: var(--card-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.c-event-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--card-radius);
  overflow: hidden;
  background: var(--card-red);
  box-shadow: var(--card-shadow);
  transition: box-shadow 0.25s ease;
  isolation: isolate;
  min-width: 0;
  width: 100%;
  height: 100%;
}

.c-event-card:hover,
.c-event-card:focus-within {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  transform: translateY(-2px);
  box-shadow: var(--card-shadow-hover);
}

.c-event-card__link {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
  min-width: 0;
  position: relative;
}
.c-event-card__link:hover, .c-event-card__link:focus, .c-event-card__link:active {
  color: inherit;
  text-decoration: none;
}
.c-event-card__link:focus-visible {
  outline: 0;
  box-shadow: inset 0 0 0 0.28rem var(--card-focus-ring);
  border-radius: var(--card-radius);
}

/* ==========
   MEDIA
   ========== */
.c-event-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 800/620;
  flex: 0 0 auto;
  z-index: 1;
}
.c-event-card__img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
  background-color: var(--card-placeholder-bg);
}

/* Lazyload states */
.c-event-card__img.js-lazy,
.c-event-card__img.is-loading {
  opacity: 0.92;
  filter: blur(6px);
}

.c-event-card__img.is-loaded {
  opacity: 1;
  filter: blur(0);
}

.c-event-card__img.is-error {
  opacity: 1;
  filter: none;
}

/* Fusión foto -> rojo */
.c-event-card__media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 40%;
}
@media (max-width: 768px) {
  .c-event-card__media::after {
    height: 20%;
  }
}
.c-event-card__media::after {
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(to bottom, rgba(227, 5, 19, 0) 0%, rgba(227, 5, 19, 0.05) 20%, rgba(227, 5, 19, 0.15) 35%, rgba(227, 5, 19, 0.35) 50%, rgba(227, 5, 19, 0.65) 70%, rgba(227, 5, 19, 0.9) 85%, rgb(227, 5, 19) 100%);
}

/* Opcional por si algún día quieres una etiqueta flotante sobre la imagen */
.c-event-card__media-badge,
.c-event-card__category-top {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: #111;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* ==========
   BODY
   ========== */
.c-event-card__body {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1 1 auto;
  min-width: 0;
  color: var(--card-text);
}

.c-event-card__body {
  padding: 0.5rem 1rem 1.3rem;
}

.c-event-card__header {
  min-width: 0;
}

.c-event-card__title {
  margin: 0;
  color: var(--card-text);
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
  overflow-wrap: anywhere;
  font-family: "DM Sans", "Helvetica", Arial, sans-serif;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.22);
}

.c-event-card__subtitle {
  margin: 0 0 0.55rem 0;
  color: var(--card-text-soft);
  font-size: 0.94rem;
  line-height: normal;
  max-width: 34ch;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-align: left;
}

.c-event-card__meta {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  margin-top: auto;
  min-width: 0;
  height: 100%;
  justify-content: space-between;
}

/* ==========
   INFO LIST
   ========== */
.c-event-card__info {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
}

.c-event-card__info-item {
  min-width: 0;
  color: rgba(255, 255, 255, 0.96);
  font-size: 0.94rem;
  line-height: 1.4;
}
.c-event-card__info-item ul li {
  font-size: 0.94rem;
}
.c-event-card__info-item .madrugada {
  display: inline-block;
  font-size: 0.8rem;
}

.c-event-card__info-item > *:last-child {
  min-width: 0;
}

.c-event-card__info-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  margin-top: 0.15rem;
  color: rgba(255, 255, 255, 0.92);
}
.c-event-card__info-icon svg,
.c-event-card__info-icon img {
  display: block;
  width: 100%;
  height: 100%;
}

/* Ajustes por si tus includes meten time, spans o wrappers */
.c-event-card__info-item time,
.c-event-card__info-item span,
.c-event-card__info-item div,
.c-event-card__info-item p {
  color: inherit;
}

.c-event-card__info-item p {
  margin: 0;
}

.c-event-card__info-item a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-underline-offset: 0.15em;
}
.c-event-card__info-item a:hover, .c-event-card__info-item a:focus-visible {
  text-decoration-color: rgba(255, 255, 255, 0.85);
}

/* ==========
   CHIPS
   ========== */
.c-event-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.c-event-card__chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.25rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: var(--card-chip-bg);
  border: 1px solid var(--card-chip-border);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 650;
  line-height: 1;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
@media (max-width: 1399px) {
  .c-event-card__chip {
    padding: 0.4rem 0.52rem;
    font-size: 0.8rem;
  }
}

.c-event-card__chip_accesibilidad {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.7rem;
  padding: 0.5rem 0.82rem;
  border-radius: 999px;
  background: var(--card-chip-bg);
  border: 1px solid var(--card-chip-border);
  color: #fff;
  font-size: 0.8rem;
  line-height: 1;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.c-event-card__chip--category {
  background: rgba(255, 255, 255, 0.18);
}

.c-event-card__chip--icon {
  min-width: 1.7rem;
  width: 1.7rem;
  height: 1.7rem;
  padding: 0;
}
.c-event-card__chip--icon .icon {
  font-size: 1.3rem;
}

.c-event-card__chip:hover,
.c-event-card__chip:focus-visible {
  background: var(--card-chip-bg-hover);
}

.c-event-card__chip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  color: #fff;
  flex: 0 0 auto;
  font-size: 1.3rem;
}
.c-event-card__chip-icon svg,
.c-event-card__chip-icon img {
  display: block;
  width: 100%;
  height: 100%;
}

/* ==========
   UTILIDADES INTERNAS
   ========== */
/* Si tus iconos SVG heredados salen muy grandes */
.c-event-card__chip-icon svg,
.c-event-card__info-icon svg {
  max-width: 100%;
  max-height: 100%;
}

/* ==========
   GRID / INTEGRACION CON BOOTSTRAP
   ========== */
.row > [class*=col-].d-flex > .c-event-card {
  width: 100%;
}

/* ==========
   ESTADOS DE ACCESIBILIDAD
   ========== */
.c-event-card [data-bs-toggle=tooltip] {
  cursor: help;
}

.c-event-card a:focus-visible,
.c-event-card button:focus-visible,
.c-event-card [tabindex]:focus-visible {
  outline: 0;
}

/* ==========
   MODO REDUCED MOTION
   ========== */
@media (prefers-reduced-motion: reduce) {
  .c-event-card,
  .c-event-card__img,
  .c-event-card__chip {
    transition: none;
  }
  .c-event-card:hover,
  .c-event-card:focus-within {
    transform: none;
  }
  .c-event-card:hover .c-event-card__img,
  .c-event-card:focus-within .c-event-card__img {
    transform: none;
  }
}
.c-event-card__body {
  position: relative;
  z-index: 3;
  overflow: hidden;
  background: var(--card-gradient);
  margin-top: -1.25rem;
}

/* capa negra para el fade */
.c-event-card__body::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 55%, rgba(0, 0, 0, 0.88) 100%);
}

/* el contenido siempre por encima */
.c-event-card__body > * {
  position: relative;
  z-index: 1;
}

.c-event-card:hover .c-event-card__body::after, .c-event-card:hover .c-event-card__media::before,
.c-event-card:focus-within .c-event-card__body::after {
  opacity: 1;
}

.programa-header {
  min-height: 60px;
}

.programa-title {
  width: 100%;
}

@media (min-width: 992px) {
  .programa-header {
    display: flex;
    align-items: center;
  }
  .programa-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    white-space: nowrap;
    pointer-events: none;
  }
  .programa-download {
    margin-left: auto;
    position: relative;
    z-index: 1;
  }
}
@media (max-width: 991px) {
  .programa-download {
    margin-bottom: 1.5rem;
  }
}
.mi-estado {
  font-weight: bold;
  padding: 2px 8px;
  border: 2px solid #111;
  border-radius: 8px;
  display: inline-flex;
}

.mi-estado.entradas {
  color: #060074;
  border-color: #060074;
}

.mi-estado.finalizado {
  color: #ac5000;
  border-color: #ac5000;
}

.mi-estado.cancelado {
  color: #fff;
  background-color: #ac5000;
  border-color: #ac5000;
}

.fecha-cancelada {
  text-decoration: line-through;
  opacity: 0.7;
}

.c-location-card {
  transition: transform 0.3s ease;
}
.c-location-card:hover {
  transform: translateY(-5px);
}
.c-location-card .c-loader {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  z-index: 400;
}

.c-location-transport .badge {
  font-weight: 500;
  padding: 0.5rem 0.8rem;
}

.transport-list dd p {
  margin: 0;
}

.event-detail__map-section,
.event-detail__place-info {
  height: 100%;
}

.event-detail__map-section .mapa,
.event-detail__map-section .mapid {
  flex: 1 1 auto;
}

.copy-mail {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.copy-mail__text {
  margin: 0;
}

.copy-mail__btn {
  border: 1px solid #ccc;
  background: #f8f9fa;
  padding: 0.25rem 0.6rem;
  border-radius: 0.375rem;
  cursor: pointer;
  font-size: 0.875rem;
  line-height: 1;
}

.copy-mail__btn:hover {
  background: #e9ecef;
}

.c-filter-card {
  border: 1px solid rgba(26, 27, 34, 0.08);
}
.c-filter-card .form-check-input:checked {
  background-color: #E62020;
  border-color: #E62020;
}

.adminbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1100;
  background: rgba(24, 37, 52, 0.56);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
  transition: transform 0.28s ease, opacity 0.28s ease, visibility 0.28s ease;
}
.adminbar .container {
  max-width: 1320px;
}
.adminbar__row {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
}
.adminbar__left, .adminbar__right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
}
.adminbar__right {
  margin-left: auto;
}
.adminbar__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: transparent;
  color: #ffffff;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.18s ease, box-shadow 0.18s ease;
  z-index: 1101;
}
.adminbar__toggle i {
  font-size: 1.05rem;
  line-height: 1;
}
.adminbar__toggle:hover, .adminbar__toggle:focus {
  background: #fdecef;
  border-color: rgba(226, 4, 20, 0.35);
  color: #e20414;
  transform: translateY(-1px);
  outline: none;
}
.adminbar__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 38px;
  max-width: 100%;
  padding: 0.55rem 0.85rem;
  border: 1px solid transparent;
  border-radius: 12px;
  color: #ffffff;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.18s ease;
}
.adminbar__link:hover, .adminbar__link:focus {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-1px);
}
.adminbar__link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.adminbar__link-icon i {
  font-size: 1rem;
  line-height: 1;
}
.adminbar__link-text {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
}
.adminbar__link-text em {
  font-style: normal;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
}
.adminbar__link--logout {
  background: #e20414;
  color: #fff;
  box-shadow: 0 8px 18px rgba(226, 4, 20, 0.16);
}
.adminbar__link--logout .adminbar__link-icon,
.adminbar__link--logout .adminbar__link-text {
  color: #fff;
}
.adminbar__link--logout:hover, .adminbar__link--logout:focus {
  background: #c90312;
  border-color: transparent;
  color: #fff;
  box-shadow: 0 12px 24px rgba(226, 4, 20, 0.24);
}

/* Si quieres compensar el fixed para el contenido */
html.adminbar-expanded body {
  padding-top: 56px;
}

/* Estado colapsado: desaparece la barra y queda solo el toggle flotando */
html.adminbar-collapsed body {
  padding-top: 0;
}
html.adminbar-collapsed #adminbar {
  transform: translateY(-100%);
  pointer-events: none;
  border-bottom: 0;
  box-shadow: none;
}
html.adminbar-collapsed #adminbar .adminbar__toggle {
  position: fixed;
  top: 40px;
  right: 12px;
  width: 44px;
  height: 44px;
  border-bottom-left-radius: 50%;
  border-bottom-right-radius: 50%;
  background: #e20414;
  color: #fff;
  border: 0;
  box-shadow: 0 12px 24px rgba(226, 4, 20, 0.28);
  pointer-events: auto;
  visibility: visible;
  opacity: 1;
}
html.adminbar-collapsed #adminbar .adminbar__toggle:hover,
html.adminbar-collapsed #adminbar .adminbar__toggle:focus {
  background: #c90312;
  color: #fff;
  transform: translateY(-1px);
}

html.adminbar-expanded #adminbar {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.btn-calendar {
  border: 0;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.calendar-search-backdrop {
  --calendar-search-backdrop-bg: rgba(10, 10, 10, 0.55);
  position: fixed;
  inset: 0;
  background: var(--calendar-search-backdrop-bg);
  backdrop-filter: blur(4px);
  z-index: 1040;
  height: 100vh;
}

.calendar-search-panel {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(420px, 100vw - 2rem);
  z-index: 1050;
}

.calendar-search-panel__inner {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
  border: 1px solid #e9e9e9;
  padding: 1rem;
}

.calendar-search-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.calendar-search-panel__title {
  font-size: 1.125rem;
  margin: 0;
}

.calendar-search-panel__close {
  flex: 0 0 auto;
  width: 2.75rem;
  height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--search-text);
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.calendar-search-panel__close:hover, .calendar-search-panel__close:focus-visible {
  background: rgba(0, 0, 0, 0.06);
}

.calendar-search-form__field {
  margin-bottom: 1rem;
}

.calendar-search-panel__quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.calendar-search-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.calendar-search-panel .form-control {
  min-height: 48px;
}

.calendar-search-panel .btn {
  min-height: 44px;
}

body.calendar-search-open {
  overflow: hidden;
}

@media (max-width: 991.98px) {
  .calendar-search-backdrop {
    background: #fff;
  }
  .calendar-search-panel {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 100dvh;
    transform: none;
    max-width: none;
  }
  .calendar-search-panel__inner {
    height: 100%;
    max-height: none;
    overflow-y: auto;
    border-radius: 0;
    border: 0;
    box-shadow: none;
    padding: 1rem;
    display: flex;
    flex-direction: column;
  }
  .calendar-search-panel__header {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 2;
    padding-bottom: 0.75rem;
    margin-bottom: 1rem;
  }
  .calendar-search-form {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
  }
  .calendar-search-panel__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .calendar-search-panel__actions .btn,
  .calendar-search-panel__actions .btn-link {
    width: 100%;
    text-align: center;
  }
}
/* =========================
   SITE HEADER
   ========================= */
.site-header {
  --header-transition: 0.38s cubic-bezier(0.22, 1, 0.36, 1);
  --header-fade: 0.16s ease;
  position: relative;
  width: 100%;
  z-index: 1030;
  background: rgba(255, 255, 255, 0.8);
  /* CORREGIDO: Añadidas propiedades para fixed */
}
.site-header.is-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  animation: slideDown 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}
.site-header {
  /* CORREGIDO: Animación para el slide down */
}
.site-header.is-animatable {
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1), background var(--header-fade);
}

/* CORREGIDO: Keyframes para la animación */
@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}
.site-header.ishome {
  background: transparent;
  /* CORREGIDO: Mantener consistencia en is-fixed */
}
.site-header.ishome.is-fixed {
  backdrop-filter: blur(0);
}

#siteHeaderSpacer {
  display: block;
  height: 0;
  transition: height 0.2s ease; /* CORREGIDO: Transición suave */
}

/* =========================
   HEADER NAV / C-HEADER
   ========================= */
@media (min-width: 992px) {
  .navbar-expand-xl .navbar-nav .nav-link {
    --bs-navbar-nav-link-padding-x: .8rem;
    padding-right: var(--bs-navbar-nav-link-padding-x);
    padding-left: var(--bs-navbar-nav-link-padding-x);
  }
}
.c-header {
  --header-bg: rgba(255, 255, 255, 0.9);
  --header-bg-sticky: rgba(255, 255, 255, 0.85);
  --header-text: #111;
  --header-border: rgba(0, 0, 0, 0.08);
  --dropdown-bg: #fff;
  --dropdown-text: #111;
  --dropdown-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  --dropdown-radius: 1rem;
  --dropdown-border: rgba(0, 0, 0, 0.08);
  --dropdown-min-width: 19rem;
  --submenu-min-width: 18rem;
  --nav-gap: 0.4rem;
  --nav-link-px: 0.9rem;
  --nav-link-py: 0.7rem;
  --z-header: 1030;
  --z-dropdown: 1040;
  --logo-width: 220px;
  --logo-height-default: 150px;
  --logo-height-sticky: 50px;
  --navbar-min-height: 5.25rem;
  --navbar-min-height-compact: 4.5rem;
  --navbar-py: 0.7rem;
  --navbar-py-compact: 0.45rem;
  position: relative;
  top: auto;
  z-index: var(--z-header);
  width: 100%;
  background: var(--header-bg);
  border-bottom: 1px solid transparent;
  transition: background-color 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, padding 0.25s ease;
}
.c-header .navbar {
  min-height: var(--navbar-min-height);
  padding-top: var(--navbar-py);
  padding-bottom: var(--navbar-py);
  flex-wrap: nowrap;
  gap: 1rem;
  align-items: center;
  transition: min-height var(--header-transition), padding-top var(--header-transition), padding-bottom var(--header-transition), box-shadow 0.25s ease, background-color 0.25s ease;
}
.c-header .navbar-collapse {
  min-width: 0;
}
.c-header .navbar-nav {
  gap: var(--nav-gap);
  min-width: 0;
  flex-wrap: nowrap;
}
.c-header .nav-item {
  position: relative;
}
.c-header .nav-item.active a {
  text-decoration: underline;
}
.c-header .nav-link {
  position: relative;
  align-items: center;
  border-radius: 20px;
  color: var(--header-text);
  display: inline-flex;
  gap: 0.5rem;
  line-height: 1.2;
  margin: 0.5rem 0;
  padding: 0.4rem 0.6rem;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}
.c-header .nav-link span {
  white-space: nowrap;
}
.c-header .nav-link i {
  font-size: 0.95rem;
  line-height: 1;
  transition: transform 0.2s ease;
}
.c-header .nav-link:hover, .c-header .nav-link:focus-visible {
  background: rgba(0, 0, 0, 0.06);
  color: var(--header-text);
  text-decoration: none;
}
.c-header .dropdown-toggle::after {
  display: none;
}
.c-header .dropdown.show > .nav-link,
.c-header .dropdown.is-open > .nav-link,
.c-header .dropdown2.show > .nav-link,
.c-header .dropdown2.is-open > .nav-link {
  background: rgba(0, 0, 0, 0.08);
}
.c-header .dropdown.show > .nav-link i,
.c-header .dropdown.is-open > .nav-link i,
.c-header .dropdown2.show > .nav-link i,
.c-header .dropdown2.is-open > .nav-link i {
  transform: rotate(180deg);
}
.c-header .dropdown2.show > .nav-link i.rotate-90,
.c-header .dropdown2.is-open > .nav-link i.rotate-90 {
  transform: rotate(90deg);
}
.c-header .btn-search {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.c-header-home {
  --header-bg: transparent;
  background: var(--header-bg);
}

/* =========================
   LOGO TRANSITIONS
   ========================= */
.c-header .c-header__logo {
  display: inline-flex;
  align-items: flex-end;
  flex-shrink: 0;
  text-decoration: none;
  min-width: var(--logo-width);
  isolation: isolate;
}
.c-header .c-header__logo-frame {
  position: relative;
  display: block;
  width: var(--logo-width);
  height: var(--logo-height-default);
  overflow: hidden;
  transition: height var(--header-transition);
  will-change: height;
}
.c-header .c-header__logo-inner {
  position: relative;
  display: flex;
  justify-content: end;
  width: 100%;
  height: 100%;
}
.c-header .logo {
  position: absolute;
  left: 0;
  bottom: 0;
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  backface-visibility: hidden;
  transform-origin: left bottom;
  will-change: transform, opacity;
  transition: transform var(--header-transition), opacity var(--header-fade);
  pointer-events: none;
}
.c-header .logo--default {
  max-height: var(--logo-height-default);
  opacity: 1;
  transform: translateY(0) scale(1);
  z-index: 2;
}
.c-header .logo--sticky {
  max-height: var(--logo-height-sticky);
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  z-index: 3;
  filter: invert(1);
}

/* =========================
   ESTADO COMPACTO
   ========================= */
.site-header.is-compact #siteHeaderMain {
  box-shadow: 0 0 13px rgba(0, 0, 0, 0.2);
}
.site-header.is-compact .c-header {
  background: var(--header-bg-sticky);
  border-bottom-color: var(--header-border);
}
.site-header.is-compact .c-header .navbar {
  min-height: var(--navbar-min-height-compact);
  padding-top: var(--navbar-py-compact);
  padding-bottom: var(--navbar-py-compact);
}
.site-header.is-compact .c-header .c-header__logo-frame {
  height: var(--logo-height-sticky);
}
.site-header.is-compact .c-header .logo--default {
  opacity: 0;
  transform: translateY(-24px) scale(0.98);
}
.site-header.is-compact .c-header .logo--sticky {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* =========================
   DROPDOWNS - BASE DESKTOP
   ========================= */
.c-header .dropdown-menu {
  position: absolute;
  inset: auto auto auto 0;
  min-width: var(--dropdown-min-width);
  margin: 0;
  padding: 0.65rem;
  background: var(--dropdown-bg) !important;
  border: 1px solid var(--dropdown-border) !important;
  border-radius: var(--dropdown-radius);
  box-shadow: var(--dropdown-shadow);
  z-index: var(--z-dropdown);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  pointer-events: none;
  display: block;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}
.c-header .dropdown-menu > li {
  list-style: none;
}
.c-header .dropdown-menu .nav-link {
  width: 100%;
  justify-content: space-between;
  border-radius: 100px;
  padding: 0.45rem 0.95rem;
}
.c-header .dropdown-menu .nav-link span {
  white-space: normal;
}
.c-header .dropdown.show > .dropdown-menu,
.c-header .dropdown.is-open > .dropdown-menu,
.c-header .dropdown2.show > .dropdown-menu,
.c-header .dropdown2.is-open > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* =========================
   DESKTOP
   ========================= */
@media (min-width: 992px) {
  .c-header,
  .c-header .navbar,
  .c-header .navbar-collapse,
  .c-header .navbar-nav,
  .c-header .nav-item {
    overflow: visible !important;
  }
  .c-header .navbar-nav {
    align-items: center;
  }
  .c-header .navbar-collapse {
    overflow: visible;
  }
  .c-header .nav-link > span {
    white-space: nowrap;
  }
  .c-header .dropdown:not(.dropdown2) > .dropdown-menu {
    top: calc(100% + 0.9rem);
    left: 0;
  }
  .c-header .dropdown:not(.dropdown2) > .dropdown-menu::before,
  .c-header .dropdown:not(.dropdown2) > .dropdown-menu::after {
    content: "";
    position: absolute;
    left: 1.75rem;
    width: 0;
    height: 0;
  }
  .c-header .dropdown:not(.dropdown2) > .dropdown-menu::before {
    top: -11px;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid rgba(0, 0, 0, 0.08);
  }
  .c-header .dropdown:not(.dropdown2) > .dropdown-menu::after {
    top: -9px;
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-bottom: 9px solid #fff;
  }
  .c-header .dropdown2 > .dropdown-menu,
  .c-header .dropdown2 > .dropdown-menu2 {
    top: -0.65rem;
    left: calc(100% + 1rem);
    min-width: var(--submenu-min-width);
    transform: translateX(-8px);
  }
  .c-header .dropdown2.show > .dropdown-menu, .c-header .dropdown2.show > .dropdown-menu2, .c-header .dropdown2.is-open > .dropdown-menu, .c-header .dropdown2.is-open > .dropdown-menu2 {
    transform: translateX(0);
  }
  .c-header .dropdown2 > .dropdown-menu::before,
  .c-header .dropdown2 > .dropdown-menu2::before {
    content: "";
    position: absolute;
    left: -11px;
    top: 1.4rem;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid rgba(0, 0, 0, 0.08);
  }
  .c-header .dropdown2 > .dropdown-menu::after,
  .c-header .dropdown2 > .dropdown-menu2::after {
    content: "";
    position: absolute;
    left: -9px;
    top: calc(1.4rem + 1px);
    width: 0;
    height: 0;
    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
    border-right: 9px solid #fff;
  }
  .c-header .dropdown-menu .dropdown2 {
    position: relative;
  }
  .c-header .dropdown-menu .dropdown2 > .dropdown-menu,
  .c-header .dropdown-menu .dropdown2 > .dropdown-menu2 {
    position: absolute;
    top: -0.5rem;
    left: calc(100% + 16px);
    right: auto;
    min-width: var(--submenu-width, 18rem);
    transform: translateX(-8px);
  }
  .c-header .dropdown-menu .dropdown2.show > .dropdown-menu,
  .c-header .dropdown-menu .dropdown2.show > .dropdown-menu2,
  .c-header .dropdown-menu .dropdown2.is-open > .dropdown-menu,
  .c-header .dropdown-menu .dropdown2.is-open > .dropdown-menu2 {
    transform: translateX(0);
  }
  .c-header .dropdown-menu .dropdown2.open-left > .dropdown-menu,
  .c-header .dropdown-menu .dropdown2.open-left > .dropdown-menu2 {
    left: auto;
    right: calc(100% + 16px);
    transform: translateX(8px);
  }
  .c-header .dropdown-menu .dropdown2.open-left.show > .dropdown-menu,
  .c-header .dropdown-menu .dropdown2.open-left.show > .dropdown-menu2,
  .c-header .dropdown-menu .dropdown2.open-left.is-open > .dropdown-menu,
  .c-header .dropdown-menu .dropdown2.open-left.is-open > .dropdown-menu2 {
    transform: translateX(0);
  }
  .c-header .dropdown-menu .dropdown2 > .dropdown-menu::before,
  .c-header .dropdown-menu .dropdown2 > .dropdown-menu2::before {
    content: "";
    position: absolute;
    left: -11px;
    top: 20px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid rgba(0, 0, 0, 0.08);
  }
  .c-header .dropdown-menu .dropdown2 > .dropdown-menu::after,
  .c-header .dropdown-menu .dropdown2 > .dropdown-menu2::after {
    content: "";
    position: absolute;
    left: -9px;
    top: 21px;
    width: 0;
    height: 0;
    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
    border-right: 9px solid #fff;
  }
  .c-header .dropdown-menu .dropdown2.open-left > .dropdown-menu::before,
  .c-header .dropdown-menu .dropdown2.open-left > .dropdown-menu2::before {
    left: auto;
    right: -11px;
    border-right: 0;
    border-left: 10px solid rgba(0, 0, 0, 0.08);
  }
  .c-header .dropdown-menu .dropdown2.open-left > .dropdown-menu::after,
  .c-header .dropdown-menu .dropdown2.open-left > .dropdown-menu2::after {
    left: auto;
    right: -9px;
    border-right: 0;
    border-left: 9px solid #fff;
  }
  #mainNavbar {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }
}
/* =========================
   MOBILE / RESPONSIVE
   ========================= */
@media (max-width: 991.98px) {
  .c-header {
    --logo-width: 120px;
    --logo-height-default: 48px;
    --logo-height-sticky: 48px;
    --navbar-min-height: auto;
    --navbar-min-height-compact: auto;
  }
  .c-header .navbar {
    min-height: auto;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: center;
  }
  .c-header .navbar-toggler {
    border: 0;
    padding: 0.5rem;
    border-radius: 0.85rem;
    box-shadow: none;
    margin: 0;
    flex: 0 0 auto;
  }
  .c-header .navbar-toggler:focus {
    box-shadow: none;
  }
  .c-header .c-header__logo {
    min-width: 0;
    max-width: 100%;
    align-items: center;
    text-decoration: none;
  }
  .c-header .c-header__logo-frame {
    width: min(var(--logo-width), 100%);
    height: var(--logo-height-default);
    overflow: visible;
    transition: none;
  }
  .c-header .c-header__logo-inner {
    width: 100%;
    height: 100%;
    justify-content: center;
  }
  .c-header .logo {
    transition: none;
  }
  .c-header .logo--default {
    position: relative;
    left: auto;
    bottom: auto;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: var(--logo-height-default);
    opacity: 1;
    transform: none;
    z-index: auto;
  }
  .c-header .logo--sticky {
    display: none !important;
  }
  .c-header .navbar-collapse {
    width: 100%;
    margin-top: 0;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 1.25rem;
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.08);
  }
  .c-header .navbar-nav {
    width: 100%;
    gap: 0.25rem;
    align-items: stretch !important;
    flex-wrap: wrap;
  }
  .c-header .nav-item {
    width: 100%;
  }
  .c-header .nav-link {
    padding: 0.45rem 1rem;
    border-radius: 1rem;
  }
  .c-header .nav-link span {
    white-space: normal;
  }
  .c-header .dropdown-menu,
  .c-header .dropdown-menu2 {
    position: static;
    min-width: 100%;
    margin-top: 0.35rem;
    padding: 0.35rem;
    border-radius: 1rem;
    box-shadow: none;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    background: rgba(0, 0, 0, 0.02) !important;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    display: none;
  }
  .c-header .dropdown.show > .dropdown-menu,
  .c-header .dropdown.is-open > .dropdown-menu,
  .c-header .dropdown2.show > .dropdown-menu,
  .c-header .dropdown2.show > .dropdown-menu2,
  .c-header .dropdown2.is-open > .dropdown-menu,
  .c-header .dropdown2.is-open > .dropdown-menu2 {
    display: block;
  }
  .c-header .dropdown-menu::before,
  .c-header .dropdown-menu::after,
  .c-header .dropdown-menu2::before,
  .c-header .dropdown-menu2::after {
    display: none;
  }
  .c-header .dropdown-menu .nav-link,
  .c-header .dropdown-menu2 .nav-link {
    padding-left: 1rem;
    font-size: 0.97rem;
  }
  .c-header .dropdown-menu .dropdown-menu .nav-link,
  .c-header .dropdown-menu2 .dropdown-menu2 .nav-link {
    padding-left: 1.25rem;
  }
  .site-header.is-compact .c-header .navbar {
    min-height: auto;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }
  .site-header.is-compact .c-header .c-header__logo-frame {
    height: var(--logo-height-default);
  }
  .site-header.is-compact .c-header .logo--default {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 991.98px) and (max-width: 991.98px) {
  #mainNavbar {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    -moz-column-gap: 0.5rem;
         column-gap: 0.5rem;
    row-gap: 0.75rem;
  }
  #mainNavbar > .navbar-toggler {
    grid-column: 1;
    justify-self: start;
    margin: 0;
    flex: 0 0 auto;
  }
  #mainNavbar > .c-header__mobile-actions {
    grid-column: 2;
    justify-self: center;
    width: 100%;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    flex-wrap: nowrap;
    overflow: visible;
    position: relative;
  }
  #mainNavbar > .c-header__logo {
    grid-column: 3;
    justify-self: end;
    min-width: 0;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }
  #mainNavbar > .navbar-collapse {
    grid-column: 1/-1;
    width: 100%;
  }
}
@media (max-width: 991.98px) {
  .c-header__mobile-actions .btn-search,
  .c-header__mobile-actions .btn-calendar,
  .c-header__mobile-actions .saved-events-widget {
    /* mantiene tus estilos originales */
  }
}
/* CORREGIDO: Mejorado el shadow con transición */
#siteHeader {
  transition: box-shadow 0.25s ease;
}
#siteHeader.is-fixed.has-scroll {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

/* CORREGIDO: Aseguramos que en móvil no haya problemas con fixed */
@media (max-width: 991.98px) {
  .site-header.is-fixed {
    position: sticky;
    top: 0;
  }
  #siteHeaderSpacer {
    display: none;
  }
}
/* =========================
   SITE HEADER - HOME
   ========================= */
.site-header.ishome {
  background: linear-gradient(to bottom, #1c2c4a 0%, #1c2c4a 14%, rgba(28, 44, 74, 0.8) 50%, rgba(28, 44, 74, 0) 100%);
  box-shadow: none !important;
}
@media (max-width: 991.98px) {
  .site-header.ishome .c-header .navbar-toggler {
    filter: invert(1);
  }
}

.site-header.is-compact #siteHeaderMain {
  box-shadow: none !important;
  border-bottom: 0;
}

.site-header.ishome .c-header,
.site-header.ishome .c-header-home {
  --header-bg: transparent;
  --header-bg-sticky: rgba(255, 255, 255, 0.08);
  --header-text: #fff;
  --header-border: rgba(255, 255, 255, 0.18);
  --dropdown-bg: rgba(20, 20, 20, 0.96);
  --dropdown-text: #fff;
  --dropdown-border: rgba(255, 255, 255, 0.12);
  --dropdown-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
  background: var(--header-bg);
}

/* Links y botones en home */
.site-header.ishome .c-header .nav-link {
  color: var(--header-text);
}
.site-header.ishome .c-header .nav-link:hover, .site-header.ishome .c-header .nav-link:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(5px);
  color: var(--header-text);
}
.site-header.ishome .c-header .dropdown.show > .nav-link,
.site-header.ishome .c-header .dropdown.is-open > .nav-link,
.site-header.ishome .c-header .dropdown2.show > .nav-link,
.site-header.ishome .c-header .dropdown2.is-open > .nav-link {
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(5px);
}
.site-header.ishome .c-header .btn-search,
.site-header.ishome .c-header .btn-calendar {
  color: var(--header-text);
}
.site-header.ishome .c-header .dropdown-menu,
.site-header.ishome .c-header .dropdown-menu2 {
  color: var(--dropdown-text);
  background: var(--dropdown-bg) !important;
  border-color: var(--dropdown-border) !important;
  box-shadow: var(--dropdown-shadow);
}
.site-header.ishome .c-header .dropdown-menu .nav-link,
.site-header.ishome .c-header .dropdown-menu2 .nav-link {
  color: var(--dropdown-text);
}
.site-header.ishome .c-header .dropdown-menu .nav-link:hover, .site-header.ishome .c-header .dropdown-menu .nav-link:focus-visible,
.site-header.ishome .c-header .dropdown-menu2 .nav-link:hover,
.site-header.ishome .c-header .dropdown-menu2 .nav-link:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: var(--dropdown-text);
}

/* Flechas desktop adaptadas a fondo oscuro */
@media (min-width: 992px) {
  .site-header.ishome .c-header .dropdown:not(.dropdown2) > .dropdown-menu::before {
    border-bottom-color: rgba(255, 255, 255, 0.12);
  }
  .site-header.ishome .c-header .dropdown:not(.dropdown2) > .dropdown-menu::after {
    border-bottom-color: rgba(20, 20, 20, 0.96);
  }
  .site-header.ishome .c-header .dropdown2 > .dropdown-menu::before,
  .site-header.ishome .c-header .dropdown2 > .dropdown-menu2::before,
  .site-header.ishome .c-header .dropdown-menu .dropdown2 > .dropdown-menu::before,
  .site-header.ishome .c-header .dropdown-menu .dropdown2 > .dropdown-menu2::before {
    border-right-color: rgba(255, 255, 255, 0.12);
  }
  .site-header.ishome .c-header .dropdown2 > .dropdown-menu::after,
  .site-header.ishome .c-header .dropdown2 > .dropdown-menu2::after,
  .site-header.ishome .c-header .dropdown-menu .dropdown2 > .dropdown-menu::after,
  .site-header.ishome .c-header .dropdown-menu .dropdown2 > .dropdown-menu2::after {
    border-right-color: rgba(20, 20, 20, 0.96);
  }
  .site-header.ishome .c-header .dropdown-menu .dropdown2.open-left > .dropdown-menu::before,
  .site-header.ishome .c-header .dropdown-menu .dropdown2.open-left > .dropdown-menu2::before {
    border-left-color: rgba(255, 255, 255, 0.12);
  }
  .site-header.ishome .c-header .dropdown-menu .dropdown2.open-left > .dropdown-menu::after,
  .site-header.ishome .c-header .dropdown-menu .dropdown2.open-left > .dropdown-menu2::after {
    border-left-color: rgba(20, 20, 20, 0.96);
  }
}
/* Menú móvil en home */
@media (max-width: 991.98px) {
  .site-header.ishome .c-header .navbar-collapse {
    background: rgba(20, 20, 20, 0.94);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.22);
  }
  .site-header.ishome .c-header .dropdown-menu,
  .site-header.ishome .c-header .dropdown-menu2 {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
  }
}
/* =========================
   HOME - HEADER SCROLLEADO
   ========================= */
.site-header.ishome.is-home-scrolled {
  /* Fondo blanco con ligera transparencia y blur */
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  /* Sombra opcional para mejorar separación */
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}
.site-header.ishome.is-home-scrolled .c-header {
  /* Variables principales */
  --header-bg: rgba(255, 255, 255, 0.96);
  --header-bg-sticky: rgba(255, 255, 255, 0.96);
  --header-text: #111;
  --header-border: rgba(0, 0, 0, 0.08);
  /* Dropdowns */
  --dropdown-bg: #ffffff;
  --dropdown-text: #111;
  --dropdown-border: rgba(0, 0, 0, 0.08);
  --dropdown-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}
.site-header.ishome.is-home-scrolled .c-header .navbar-toggler {
  filter: invert(0);
}
.site-header.ishome.is-home-scrolled {
  /* =========================
     NAVEGACIÓN PRINCIPAL
     ========================= */
}
.site-header.ishome.is-home-scrolled .c-header .nav-link {
  color: var(--header-text);
}
.site-header.ishome.is-home-scrolled .c-header .nav-link:hover, .site-header.ishome.is-home-scrolled .c-header .nav-link:focus-visible {
  background: rgba(0, 0, 0, 0.06);
  color: var(--header-text);
}
.site-header.ishome.is-home-scrolled {
  /* Iconos (búsqueda, calendario, etc.) */
}
.site-header.ishome.is-home-scrolled .c-header .btn-search,
.site-header.ishome.is-home-scrolled .c-header .btn-calendar,
.site-header.ishome.is-home-scrolled .c-header .saved-events-widget,
.site-header.ishome.is-home-scrolled .c-header .nav-link i {
  color: var(--header-text);
}
.site-header.ishome.is-home-scrolled {
  /* Elemento activo */
}
.site-header.ishome.is-home-scrolled .c-header .nav-item.active > .nav-link {
  color: var(--header-text);
  text-decoration: underline;
}
.site-header.ishome.is-home-scrolled {
  /* =========================
     DROPDOWNS / SUBMENÚS
     ========================= */
}
.site-header.ishome.is-home-scrolled .c-header .dropdown-menu,
.site-header.ishome.is-home-scrolled .c-header .dropdown-menu2 {
  background: var(--dropdown-bg) !important;
  border: 1px solid var(--dropdown-border) !important;
  box-shadow: var(--dropdown-shadow);
  color: var(--dropdown-text);
}
.site-header.ishome.is-home-scrolled .c-header .dropdown-menu .nav-link,
.site-header.ishome.is-home-scrolled .c-header .dropdown-menu2 .nav-link {
  color: var(--dropdown-text);
}
.site-header.ishome.is-home-scrolled .c-header .dropdown-menu .nav-link:hover, .site-header.ishome.is-home-scrolled .c-header .dropdown-menu .nav-link:focus-visible,
.site-header.ishome.is-home-scrolled .c-header .dropdown-menu2 .nav-link:hover,
.site-header.ishome.is-home-scrolled .c-header .dropdown-menu2 .nav-link:focus-visible {
  background: rgba(0, 0, 0, 0.05);
  color: var(--dropdown-text);
}
.site-header.ishome.is-home-scrolled {
  /* Estado abierto del dropdown */
}
.site-header.ishome.is-home-scrolled .c-header .dropdown.show > .nav-link,
.site-header.ishome.is-home-scrolled .c-header .dropdown.is-open > .nav-link,
.site-header.ishome.is-home-scrolled .c-header .dropdown2.show > .nav-link,
.site-header.ishome.is-home-scrolled .c-header .dropdown2.is-open > .nav-link {
  background: rgba(0, 0, 0, 0.08);
  color: var(--header-text);
}
.site-header.ishome.is-home-scrolled {
  /* =========================
     FLECHAS DECORATIVAS (DESKTOP)
     ========================= */
}
@media (min-width: 992px) {
  .site-header.ishome.is-home-scrolled .c-header {
    /* Flecha superior de primer nivel */
  }
  .site-header.ishome.is-home-scrolled .c-header .dropdown:not(.dropdown2) > .dropdown-menu::before {
    border-bottom-color: var(--dropdown-border);
  }
  .site-header.ishome.is-home-scrolled .c-header .dropdown:not(.dropdown2) > .dropdown-menu::after {
    border-bottom-color: var(--dropdown-bg);
  }
  .site-header.ishome.is-home-scrolled .c-header {
    /* Flechas de submenús */
  }
  .site-header.ishome.is-home-scrolled .c-header .dropdown2 > .dropdown-menu::before,
  .site-header.ishome.is-home-scrolled .c-header .dropdown2 > .dropdown-menu2::before,
  .site-header.ishome.is-home-scrolled .c-header .dropdown-menu .dropdown2 > .dropdown-menu::before,
  .site-header.ishome.is-home-scrolled .c-header .dropdown-menu .dropdown2 > .dropdown-menu2::before {
    border-right-color: var(--dropdown-border);
  }
  .site-header.ishome.is-home-scrolled .c-header .dropdown2 > .dropdown-menu::after,
  .site-header.ishome.is-home-scrolled .c-header .dropdown2 > .dropdown-menu2::after,
  .site-header.ishome.is-home-scrolled .c-header .dropdown-menu .dropdown2 > .dropdown-menu::after,
  .site-header.ishome.is-home-scrolled .c-header .dropdown-menu .dropdown2 > .dropdown-menu2::after {
    border-right-color: var(--dropdown-bg);
  }
  .site-header.ishome.is-home-scrolled .c-header {
    /* Submenús que se abren hacia la izquierda */
  }
  .site-header.ishome.is-home-scrolled .c-header .dropdown-menu .dropdown2.open-left > .dropdown-menu::before,
  .site-header.ishome.is-home-scrolled .c-header .dropdown-menu .dropdown2.open-left > .dropdown-menu2::before {
    border-left-color: var(--dropdown-border);
  }
  .site-header.ishome.is-home-scrolled .c-header .dropdown-menu .dropdown2.open-left > .dropdown-menu::after,
  .site-header.ishome.is-home-scrolled .c-header .dropdown-menu .dropdown2.open-left > .dropdown-menu2::after {
    border-left-color: var(--dropdown-bg);
  }
}
.site-header.ishome.is-home-scrolled {
  /* =========================
     LOGO (opcional)
     ========================= */
  /* Si el logo sticky requiere ajuste de color */
}
.site-header.ishome.is-home-scrolled .c-header .logo--sticky {
  filter: none;
}
.site-header.ishome.is-home-scrolled {
  /* =========================
     MENÚ MÓVIL
     ========================= */
}
@media (max-width: 991.98px) {
  .site-header.ishome.is-home-scrolled .c-header .navbar-collapse {
    background: var(--dropdown-bg);
    border: 1px solid var(--dropdown-border);
    box-shadow: var(--dropdown-shadow);
  }
  .site-header.ishome.is-home-scrolled .c-header .dropdown-menu,
  .site-header.ishome.is-home-scrolled .c-header .dropdown-menu2 {
    background: rgba(0, 0, 0, 0.02) !important;
    border-color: var(--dropdown-border) !important;
  }
  .site-header.ishome.is-home-scrolled .c-header .nav-link {
    color: var(--header-text);
  }
}

.site-header__main.c-header.c-header-home.isvideo {
  background-color: #1c2c4a;
}

.site-header.ishome.is-fixed.is-animatable.has-scroll.is-compact.is-home-scrolled .site-header__main.c-header.c-header-home.isvideo {
  background-color: transparent;
}

.site-header.ishome .c-header:has(.navbar-collapse.show),
.site-header.ishome .c-header-home:has(.navbar-collapse.show) {
  background: rgba(0, 0, 0, 0.9);
}

.js-search-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(26, 27, 34, 0.95);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.js-search-overlay[aria-hidden=true] {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.js-search-overlay__content {
  width: 100%;
  max-width: 600px;
  padding: 2rem;
}
.js-search-overlay .form-control-lg {
  background: transparent;
  border: none;
  border-bottom: 2px solid #E62020;
  color: white;
  font-size: 2rem;
  border-radius: 0;
}
.js-search-overlay .form-control-lg:focus {
  box-shadow: none;
  border-bottom-color: white;
}

.search-overlay {
  --search-overlay-bg: rgba(10, 10, 10, 0.55);
  --search-surface: #fff;
  --search-text: #111;
  --search-border: rgba(0, 0, 0, 0.08);
  --search-shadow: 0 24px 70px rgba(0, 0, 0, 0.2);
  --search-radius: 1.5rem;
  --search-gap: 1rem;
  --search-danger: #b42318;
  --search-focus: #111;
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 1rem;
}
.search-overlay[hidden] {
  display: none;
}
.search-overlay__backdrop {
  position: absolute;
  inset: 0;
  background: var(--search-overlay-bg);
  backdrop-filter: blur(4px);
}
.search-overlay__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 46rem);
  background: var(--search-surface);
  color: var(--search-text);
  border: 1px solid var(--search-border);
  border-radius: var(--search-radius);
  box-shadow: var(--search-shadow);
  padding: 1.5rem;
}
.search-overlay__header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.5rem;
}
.search-overlay__title {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.1;
}
.search-overlay__close {
  flex: 0 0 auto;
  width: 2.75rem;
  height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--search-text);
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.search-overlay__close:hover, .search-overlay__close:focus-visible {
  background: rgba(0, 0, 0, 0.06);
}
.search-overlay__desc {
  margin: 0 0 1rem;
  color: rgba(17, 17, 17, 0.8);
}
.search-overlay__form {
  display: grid;
  gap: 0.75rem;
}
.search-overlay__field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: start;
}
.search-overlay__input {
  min-width: 0;
  width: 100%;
  min-height: 3.5rem;
  padding: 0 1rem;
  border: 1px solid var(--search-border);
  border-radius: 1rem;
  background: #fff;
  color: var(--search-text);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.search-overlay__input::-moz-placeholder {
  color: rgba(17, 17, 17, 0.45);
}
.search-overlay__input::placeholder {
  color: rgba(17, 17, 17, 0.45);
}
.search-overlay__input:focus {
  border-color: var(--search-focus);
  box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.12);
}
.search-overlay__input[aria-invalid=true] {
  border-color: var(--search-danger);
  box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.12);
}
.search-overlay__submit {
  min-height: 3.5rem;
  padding: 0 1.25rem;
  border: 0;
  border-radius: 1rem;
  background: #e30715;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.search-overlay__submit:hover, .search-overlay__submit:focus-visible {
  opacity: 0.92;
  background-color: #111;
}
.search-overlay__help {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(17, 17, 17, 0.75);
}
.search-overlay__error {
  margin: 0;
  font-size: 0.95rem;
  color: var(--search-danger);
  font-weight: 600;
}

/* Evita scroll del body cuando esté abierto */
body.search-overlay-open {
  overflow: hidden;
}

/* Mobile */
@media (max-width: 767.98px) {
  .search-overlay {
    align-items: start;
    padding: 0;
  }
  .search-overlay__dialog {
    width: 100%;
    min-height: 100dvh;
    border-radius: 0;
    border: 0;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
  .search-overlay__header {
    margin-bottom: 0.75rem;
  }
  .search-overlay__field {
    grid-template-columns: 1fr;
  }
  .search-overlay__submit {
    width: 100%;
  }
}
.press-gallery-card {
  --card-radius: 1.75rem;
  --card-bg: #ffffff;
  --card-text: #212529;
  --card-text-muted: #6c757d;
  --card-gradient: linear-gradient(
     to bottom,
     rgba(0, 0, 0, 0) 35%,
     rgba(0, 0, 0, 0.18) 60%,
     rgba(0, 0, 0, 0.42) 82%,
     rgba(0, 0, 0, 0.72) 100%
  );
  --card-shadow: 0 20px 50px rgba(0, 0, 0, 0.16);
  --card-shadow-hover: 0 24px 60px rgba(0, 0, 0, 0.22);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  border-radius: var(--card-radius);
  overflow: hidden;
  background: var(--card-bg);
  box-shadow: var(--card-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.press-gallery-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--card-shadow-hover);
}

.press-gallery-thumb-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  flex-shrink: 0;
}

.press-gallery-thumb-wrapper {
  position: relative;
  overflow: hidden;
  background-color: #faf8f8;
}

.press-gallery-thumb-img,
.press-gallery-full-img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.press-gallery-card-body {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1 1 auto;
  min-height: 0;
  padding: 1.25rem 1rem 1.1rem;
  background: #fff;
  text-align: center;
}

.press-gallery-info {
  width: 100%;
}

.press-gallery-item-title {
  margin: 0 0 0.5rem 0;
  font-size: 1.125rem;
  line-height: 1.3;
  font-weight: 700;
  color: var(--card-text);
}

.press-gallery-item-meta {
  margin: 0 0 0.35rem 0;
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--card-text-muted);
}

.press-gallery-card-actions {
  width: 100%;
  margin-top: auto;
  padding-top: 1rem;
  text-align: center;
}

.press-gallery-card-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
}

.press-gallery-thumb-btn:focus-visible {
  outline: 3px solid #0d6efd;
  outline-offset: -3px;
}

/* Contenedor con altura constante */
.press-gallery-modal-image-wrapper {
  --card-shadow: 0 20px 50px rgba(0, 0, 0, 0.16);
  width: 100%;
  height: 70vh; /* Altura fija relativa a la ventana */
  max-height: 700px; /* Límite para pantallas grandes */
  min-height: 320px; /* Evita que sea demasiado pequeño en móvil */
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #faf8f8; /* Fondo */
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid rgba(178, 178, 178, 0.25);
  padding: 0.25rem;
  box-shadow: var(--card-shadow);
}

/* Imagen manteniendo su ratio original */
.press-gallery-full-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain; /* Mantiene el ratio sin recortes */
  display: block;
}

.press-gallery-modal .carousel-inner {
  height: 70vh;
}

.press-gallery-modal .carousel-item {
  height: 100%;
}

@media (max-width: 768px) {
  .press-gallery-modal-image-wrapper,
  .press-gallery-modal .carousel-inner {
    height: 50vh;
    min-height: 260px;
  }
}
/* Contenedor de los controles */
.press-gallery-modal .carousel-control-prev,
.press-gallery-modal .carousel-control-next {
  width: auto;
  opacity: 1;
}

/* Botón circular */
.press-gallery-carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.25); /* Alto contraste */
  backdrop-filter: blur(3px); /* Efecto moderno */
  -webkit-backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  border: 2px solid rgba(255, 255, 255, 0.35);
}

/* Botones del carrusel */
.press-gallery-modal .carousel-control-prev,
.press-gallery-modal .carousel-control-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  opacity: 1;
}

/* Posicionamiento */
.press-gallery-modal .carousel-control-prev {
  left: 1rem;
}

.press-gallery-modal .carousel-control-next {
  right: 1rem;
}

/* Estilo visual */
.press-gallery-carousel-control {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 2px solid rgba(255, 255, 255, 0.4);
  transition: all 0.25s ease;
  padding: 0;
}

/* Focus accesible */
.press-gallery-carousel-control:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

/* Estado activo */
.press-gallery-carousel-control:active {
  transform: translateY(-50%) scale(0.95);
}

/* Ajustes responsive */
@media (max-width: 768px) {
  .press-gallery-modal .carousel-control-prev,
  .press-gallery-modal .carousel-control-next {
    width: 44px;
    height: 44px;
  }
  .press-gallery-carousel-control i {
    font-size: 1.3rem;
  }
  .press-gallery-modal .carousel-control-prev {
    left: 0.5rem;
  }
  .press-gallery-modal .carousel-control-next {
    right: 0.5rem;
  }
}
.press-gallery-thumb-img,
.press-gallery-full-img {
  display: block;
  width: 100%;
  height: 100%;
}

.press-gallery-thumb-img {
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center center;
     object-position: center center;
}
.press-gallery-thumb-img--landscape, .press-gallery-thumb-img--square {
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center center;
     object-position: center center;
}
.press-gallery-thumb-img--portrait {
  -o-object-fit: contain !important;
     object-fit: contain !important;
}
.press-gallery-thumb-img--portrait-tall {
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: center center;
     object-position: center center;
  background: #111;
}

.press-gallery-full-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
}

.press-gallery-thumb-btn {
  position: relative;
}
.press-gallery-thumb-btn .press-gallery-copy {
  position: absolute;
  bottom: -1px;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-top-right-radius: 20px;
  font-size: 0.7rem;
  color: #fff;
  padding: 2px 5px;
  padding-right: 15px;
  z-index: 1;
}

.press-autor {
  font-size: 0.8rem;
}

.press-gallery-thumb-img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.press-gallery-thumb-wrapper {
  position: relative;
  overflow: hidden;
  background-color: #f8f9fa;
}

/* Icono de ampliación */
.press-gallery-zoom-icon {
  position: absolute;
  top: 0;
  right: 0.6rem;
  width: 38px;
  height: 38px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  z-index: 2;
  pointer-events: none;
  opacity: 0.9;
  transition: all 0.25s ease;
}

.press-gallery-video-badge.press-gallery-zoom-icon {
  background-color: rgba(245, 4, 4, 0.55);
}

.press-gallery-zoom-icon i {
  font-size: 1.2rem;
  line-height: 1;
}

/* Efecto hover */
.press-gallery-thumb-btn:hover .press-gallery-zoom-icon {
  transform: scale(1.1);
  background: rgba(0, 0, 0, 0.65);
  opacity: 1;
}
.press-gallery-thumb-btn:hover .press-gallery-video-badge.press-gallery-zoom-icon {
  background-color: rgba(245, 4, 4, 0.85);
}

.press-gallery-filter-item.is-hidden {
  display: none !important;
}

.press-gallery-toolbar {
  margin-bottom: 2rem;
}
.press-gallery-toolbar__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 1.25rem;
  align-items: center;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}
.press-gallery-toolbar__main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
}
.press-gallery-toolbar__label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #495057;
  line-height: 1;
}

.press-gallery-filters {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.press-gallery-filter {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #f8f9fa;
  color: #212529;
  border-radius: 999px;
  padding: 0.625rem 1rem;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.press-gallery-filter:hover {
  background: #eef2f6;
  border-color: rgba(0, 0, 0, 0.14);
  transform: translateY(-1px);
}
.press-gallery-filter:focus-visible {
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.2);
}
.press-gallery-filter.is-active {
  background: #e20414;
  color: #fff;
  border-color: #e20414;
  box-shadow: 0 8px 18px rgba(13, 110, 253, 0.22);
}

.press-gallery-counter {
  font-size: 0.95rem;
  color: #6c757d;
  font-weight: 600;
}

.press-gallery-empty {
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 0.875rem;
  background: #f8f9fa;
  border: 1px dashed rgba(0, 0, 0, 0.12);
  color: #6c757d;
  font-size: 0.95rem;
}

.pestanas-prensa {
  --tabs-bg: #ffffff;
  --tabs-border: rgba(0, 0, 0, 0.08);
  --tabs-muted: #6c757d;
  --tabs-text: #212529;
  --tabs-soft: #f8f9fa;
  --tabs-soft-hover: #eef2f6;
  --tabs-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  --tabs-active-shadow: 0 8px 18px rgba(13, 110, 253, 0.22);
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0 0 2rem;
  padding: 0.9rem 1rem;
  list-style: none;
  border: 1px solid var(--tabs-border);
  border-radius: 1rem;
  background: var(--tabs-bg);
  box-shadow: var(--tabs-shadow);
}
.pestanas-prensa .nav-item {
  margin: 0;
}
.pestanas-prensa .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.75rem 1rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--tabs-soft);
  color: var(--tabs-text);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.pestanas-prensa .nav-link i {
  font-size: 1.1rem;
  line-height: 1;
  color: inherit;
  opacity: 0.9;
}
.pestanas-prensa .nav-link span {
  line-height: 1.1;
}
.pestanas-prensa .nav-link:hover {
  background: var(--tabs-soft-hover);
  border-color: rgba(0, 0, 0, 0.12);
  color: var(--tabs-text);
  transform: translateY(-1px);
}
.pestanas-prensa .nav-link:focus-visible {
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.18);
}
.pestanas-prensa .nav-link.active {
  background: var(--bs-primary, #0d6efd);
  color: #fff;
  border-color: var(--bs-primary, #0d6efd);
  box-shadow: var(--tabs-active-shadow);
}
.pestanas-prensa .nav-link.active i {
  opacity: 1;
}
.pestanas-prensa .nav-link:disabled, .pestanas-prensa .nav-link.disabled {
  opacity: 0.5;
  pointer-events: none;
}

.pestanas-prensa {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
}

.pestanas-prensa .nav-item {
  width: 100%;
}

.pestanas-prensa .nav-link {
  width: 100%;
  justify-content: center;
}

@media (max-width: 767.98px) {
  .pestanas-prensa {
    gap: 0.5rem;
    padding: 0.75rem;
    border-radius: 0.875rem;
  }
  .pestanas-prensa .nav-link {
    min-height: 40px;
    padding: 0.65rem 0.9rem;
    font-size: 0.9rem;
  }
}
.press-gallery-modal .modal-dialog {
  --bs-modal-width: 1200px;
}
.press-gallery-modal .modal-content {
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 1.25rem;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.14);
}
.press-gallery-modal .modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  background: #ffffff;
}
.press-gallery-modal .modal-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.25;
  color: #212529;
}
.press-gallery-modal .btn-close {
  flex: 0 0 auto;
  width: 2.5rem;
  height: 2.5rem;
  margin: 0;
  padding: 0;
  border-radius: 999px;
  background-color: #f8f9fa;
  background-size: 0.9rem;
  opacity: 1;
  box-shadow: none;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}
.press-gallery-modal .btn-close:hover {
  background-color: #eef2f6;
  transform: translateY(-1px);
}
.press-gallery-modal .btn-close:focus-visible {
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.18);
}
.press-gallery-modal .modal-body {
  padding: 1.25rem;
  background: #fbfcfd;
}
.press-gallery-modal .carousel {
  position: relative;
}
.press-gallery-modal .carousel-inner {
  border-radius: 1rem;
}
.press-gallery-modal .carousel-item {
  padding: 0.25rem 0;
}
.press-gallery-modal .press-gallery-modal-image-wrapper {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 1rem;
  background: #f3f5f7;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}
.press-gallery-modal .press-gallery-modal-image-wrapper img,
.press-gallery-modal .press-gallery-modal-image-wrapper iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: inherit;
}
.press-gallery-modal .press-gallery-full-img {
  -o-object-fit: contain;
     object-fit: contain;
  background: #f3f5f7;
}
.press-gallery-modal .press-gallery-modal-info {
  height: 100%;
  padding: 1.25rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 1rem;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}
.press-gallery-modal .press-gallery-modal-info h4,
.press-gallery-modal .press-gallery-modal-info .h5 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.35;
  color: #212529;
}
.press-gallery-modal .press-gallery-modal-info p {
  color: #495057;
}
.press-gallery-modal .press-gallery-modal-info dl {
  margin-bottom: 1rem;
}
.press-gallery-modal .press-gallery-modal-info dt {
  margin-bottom: 0.2rem;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #6c757d;
}
.press-gallery-modal .press-gallery-modal-info dd {
  color: #212529;
}
.press-gallery-modal .press-gallery-modal-info .btn-sanisidro {
  min-height: 44px;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 8px 18px rgba(13, 110, 253, 0.14);
}
.press-gallery-modal .press-gallery-carousel-control {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 3rem;
  height: 3rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: #212529;
  opacity: 1;
  transform: translateY(-50%);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}
.press-gallery-modal .press-gallery-carousel-control i {
  font-size: 1.35rem;
  line-height: 1;
}
.press-gallery-modal .press-gallery-carousel-control:hover {
  background: #ffffff;
  transform: translateY(calc(-50% - 1px));
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
}
.press-gallery-modal .press-gallery-carousel-control:focus-visible {
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.18), 0 10px 24px rgba(0, 0, 0, 0.12);
}
.press-gallery-modal .press-gallery-carousel-control.carousel-control-prev {
  left: 1rem;
}
.press-gallery-modal .press-gallery-carousel-control.carousel-control-next {
  right: 1rem;
}
.press-gallery-modal .press-gallery-carousel-control::after {
  display: none;
}

.press-gallery-copy-link .input-group {
  border-radius: 999px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.press-gallery-copy-link .press-gallery-copy-input {
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #f8f9fa;
  font-size: 0.85rem;
  padding: 0.5rem 0.75rem;
  color: #495057;
}
.press-gallery-copy-link .press-gallery-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border-radius: 0;
  font-weight: 600;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.press-gallery-copy-link .press-gallery-copy-btn i {
  font-size: 1rem;
}
.press-gallery-copy-link .press-gallery-copy-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(13, 110, 253, 0.15);
}
.press-gallery-copy-link .press-gallery-copy-feedback {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.75rem;
  color: var(--bs-success, #198754);
  font-weight: 500;
}

.press-notas-card {
  --card-radius: 1.75rem;
  --card-bg: #ffffff;
  --card-text: #212529;
  --card-text-muted: #6c757d;
  --card-shadow: 0 20px 50px rgba(0, 0, 0, 0.16);
  --card-shadow-hover: 0 24px 60px rgba(0, 0, 0, 0.22);
  display: flex;
  align-items: stretch;
  background: var(--card-bg);
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
}

.press-notas-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--card-shadow-hover);
}

/* Imagen */
.press-notas-thumb {
  position: relative;
  flex: 0 0 240px;
  max-width: 240px;
  overflow: hidden;
  background-color: #f8f9fa;
}

.press-notas-thumb .ratio {
  height: 100%;
}

.press-notas-thumb img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}

/* Contenido */
.press-notas-body {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  flex: 1 1 auto;
}

.press-notas-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--card-text);
}

.press-notas-date {
  font-size: 0.9rem;
  color: var(--card-text-muted);
  margin-bottom: 0.75rem;
}

.press-notas-description {
  font-size: 1rem;
  color: var(--card-text);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.press-notas-actions {
  margin-top: auto;
}

.press-notas-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.press-notas-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.press-notas-btn i {
  font-size: 1.1rem;
  transition: transform 0.25s ease;
}
.press-notas-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}
.press-notas-btn:hover i {
  transform: translateX(4px);
}
.press-notas-btn:focus-visible {
  outline: 3px solid #0d6efd;
  outline-offset: 2px;
}

/* Enlace completo de la card */
.press-notas-link {
  text-decoration: none;
  color: inherit;
}

/* Responsive */
@media (max-width: 768px) {
  .press-notas-card {
    flex-direction: column;
  }
  .press-notas-thumb {
    flex: 0 0 auto;
    max-width: 100%;
  }
}
.press-nota-fecha {
  color: #6c757d;
}
.press-nota-fecha::first-letter {
  text-transform: uppercase;
}

.border-top-color-embed {
  border-top: 3px solid #e20414;
}

.press-nota-download .card {
  border: 0;
  border-top: 3px solid #e20414;
}

.saved-events-widget {
  position: fixed;
  top: 256px;
  right: 0;
  z-index: 1050;
}
.saved-events-widget:not(.has-items) {
  display: none;
}

.saved-events-widget__collapsed {
  width: 42px;
  min-height: 42px;
  border: 0;
  background: #e20414;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border-radius: 12px 0 0 12px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transform: translateY(-50%);
}
@media (min-width: 992px) {
  .saved-events-widget__collapsed {
    width: 64px;
    min-height: 64px;
    gap: 4px;
  }
}

.saved-events-widget__collapsed-icon {
  font-size: 13px;
}
@media (min-width: 992px) {
  .saved-events-widget__collapsed-icon {
    font-size: 18px;
  }
}

.saved-events-widget__count {
  font-size: 14px;
  font-weight: 700;
}

.saved-events-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 380px;
  max-width: calc(100vw - 24px);
  height: 100vh;
  background: #fff;
  box-shadow: -8px 0 24px rgba(0, 0, 0, 0.18);
  transform: translateX(100%);
  transition: transform 0.35s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.saved-events-widget.is-open .saved-events-panel {
  transform: translateX(0);
}

.saved-events-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border-bottom: 1px solid #e5e5e5;
  flex: 0 0 auto;
}

.saved-events-panel__title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}
.saved-events-panel__title-wrap .ph-fill {
  color: #82f853;
  text-shadow: 0em 0em 1px #333;
  font-size: 1.2rem;
}

.saved-events-panel__title {
  font-size: 18px;
}

.saved-events-panel__close {
  border: 0;
  background: transparent;
  font-size: 22px;
  cursor: pointer;
}

.saved-events-panel__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 16px;
  -webkit-overflow-scrolling: touch;
}

.saved-events-panel__empty {
  color: #666;
}

.saved_datetime, .saved_info ul li,
.saved_info {
  line-height: normal;
  margin: 0 0 0.5rem 0;
  font-size: 14px;
  font-family: "DM Sans", Helvetica, Arial, sans-serif;
}

.saved-events-list {
  margin: 0;
  padding: 0;
}

.saved-events-list__item {
  display: flex;
  gap: 12px;
  padding: 0 0 16px 0;
  margin: 0 0 16px 0;
  border-bottom: 1px solid #eee;
}

.saved-events-list__image {
  flex: 0 0 88px;
}
.saved-events-list__image img {
  width: 88px;
  height: 88px;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  border-radius: 8px;
}

.saved-events-list__content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  flex: 1 1 auto;
}

.saved-events-list__title {
  font-weight: 600;
  color: inherit;
  text-decoration: none;
  line-height: normal;
}

.saved-events-list__remove {
  align-self: flex-start;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0.25rem 0.8rem;
  border-radius: 50px;
  font-family: "DM Sans", Arial, Helvetica, sans-serif;
  font-size: 14px;
  color: rgba(171, 83, 48, 0.9);
  background: #f5f1e8;
  text-decoration: none;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.saved-events-list__remove:hover, .saved-events-list__remove:focus {
  background-color: #82f853;
  color: #000;
}

.saved-event-toggle.is-saved {
  font-weight: 600;
}

.saved-events-tooltip {
  position: absolute;
  right: 80px;
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  background: #fff;
  color: #000;
  border: 2px solid #000;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 14px;
  line-height: 1.4;
  min-width: 220px;
  max-width: 320px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  z-index: 1990;
}

.saved-events-tooltip.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

.saved-events-tooltip::after {
  content: "";
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 10px solid #000;
}

.saved-events-tooltip::before {
  content: "";
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 9px solid #fff;
}

.saved-events-widget {
  position: relative;
}
.saved-events-widget:not(.has-items) {
  display: none;
}

@media (max-width: 991.98px) {
  .saved-events-widget {
    position: relative;
    top: auto;
    right: auto;
    z-index: 20;
    display: flex;
    align-items: center;
    margin: 0;
  }
  .saved-events-widget__collapsed {
    position: relative;
    transform: none;
    width: auto;
    min-width: 42px;
    min-height: 21px;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    gap: 0.35rem;
    box-shadow: none;
  }
  .saved-events-widget__collapsed-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
  }
  .saved-events-widget__count {
    font-size: 14px;
    line-height: 1;
  }
}
@media (min-width: 992px) {
  .saved-events-widget {
    position: fixed;
    right: 0;
    z-index: 1050;
  }
  .saved-events-widget__collapsed {
    width: 64px;
    min-height: 64px;
    gap: 4px;
    border-radius: 12px 0 0 12px;
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  }
  .saved-events-widget__collapsed-icon {
    font-size: 18px;
  }
}
@media (max-width: 991.98px) {
  .saved-events-tooltip {
    position: absolute;
    top: calc(100% + 8px);
    right: 50%;
    left: auto;
    transform: translateX(50%) translateY(-6px);
    min-width: 180px;
    max-width: 260px;
    padding: 10px 12px;
    font-size: 13px;
    border-radius: 10px;
    z-index: 30;
  }
  .saved-events-tooltip.is-visible {
    transform: translateX(50%) translateY(0);
  }
  .saved-events-tooltip::after {
    right: 50%;
    top: -10px;
    transform: translateX(50%);
    border: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #000;
  }
  .saved-events-tooltip::before {
    right: 50%;
    top: -8px;
    transform: translateX(50%);
    border: 0;
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-bottom: 9px solid #fff;
  }
}
@media (min-width: 992px) {
  .saved-events-tooltip {
    position: absolute;
    right: 80px;
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    background: #fff;
    color: #000;
    border: 2px solid #000;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 14px;
    line-height: 1.4;
    min-width: 220px;
    max-width: 320px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    z-index: 10;
  }
  .saved-events-tooltip.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
  }
  .saved-events-tooltip::after {
    content: "";
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 10px solid #000;
  }
  .saved-events-tooltip::before {
    content: "";
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
    border-left: 9px solid #fff;
  }
}
.saved-events-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 380px;
  max-width: calc(100vw - 24px);
  height: 100vh;
  background: #fff;
  box-shadow: -8px 0 24px rgba(0, 0, 0, 0.18);
  transform: translateX(100%);
  transition: transform 0.35s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

@media (max-width: 575.98px) {
  .saved-events-panel {
    width: 100vw;
    max-width: 100vw;
  }
}
.saved-events-widget:not(.has-items) {
  display: none;
}
.saved-events-widget.is-hydrating {
  display: none;
}

/* Tooltip personalizado solo para escritorio */
@media (min-width: 768px) {
  .saved-events-widget__collapsed {
    position: relative;
  }
  .saved-events-widget__collapsed:hover::before {
    content: attr(aria-label);
    position: absolute;
    top: -27px;
    right: 50%;
    transform: translateY(-50%);
    margin-right: 12px;
    padding: 8px 12px;
    background-color: #ffffff;
    color: #1a1a1a;
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: 2px solid #000;
    z-index: 1000;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
  }
  .saved-events-widget__collapsed:hover::before {
    opacity: 1;
    visibility: visible;
  }
  /* Flecha negra abajo a la derecha */
  .saved-events-widget__collapsed:hover::after {
    content: "";
    position: absolute;
    top: -7px; /* Posición desde abajo */
    right: calc(50% + 18px); /* Se alinea con el borde derecho del tooltip */
    transform: translateX(0);
    border-width: 8px;
    border-style: solid;
    border-color: #1a1a1a transparent transparent transparent; /* Flecha negra hacia arriba */
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.05));
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
  }
  .saved-events-widget__collapsed:hover::after {
    opacity: 1;
    visibility: visible;
  }
}
@media (max-width: lg) {
  .c-sidebar-sticky {
    position: sticky;
    top: 2rem;
    max-height: calc(100vh - 4rem);
    overflow-y: auto;
  }
  .c-sidebar-sticky::-webkit-scrollbar {
    width: 4px;
  }
  .c-sidebar-sticky::-webkit-scrollbar-thumb {
    background: rgba(26, 27, 34, 0.1);
    border-radius: 10px;
  }
}
@media (max-width: md) {
  .c-sidebar-sticky {
    position: relative;
    top: 0;
    margin-bottom: 2rem;
  }
}

.press-listing h2 {
  font-size: 1.2rem;
  margin: 0;
}
.press-listing li {
  margin: 0;
  padding: 0;
  list-style-type: none;
}
.press-listing li .nav-link.active {
  background-color: #e20414;
  box-shadow: 0 0 5px #e20414;
  border-radius: 0;
  color: #fff;
}
.press-listing li .nav-link {
  color: #e20414;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  border-radius: 0px;
  background-color: rgba(238, 238, 238, 0.5);
}
.press-listing li .nav-link:hover, .press-listing li .nav-link:focus {
  color: #fff;
  background-color: #e20414;
  box-shadow: 0 0 5px #e20414;
  border-color: #e20414;
}
.press-listing .nav-tabs {
  border-bottom: 1px solid rgba(0, 0, 0, 0.175);
}
.press-listing .nav-tabs .nav-link {
  border: 0;
  box-shadow: none;
}

.card-body .descripcion ul {
  margin: 1rem 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.card-body .descripcion ul li {
  padding-bottom: 2px;
  border-bottom: 1px solid #eee;
}
.card-body .descripcion ul li a {
  text-decoration: none;
}
.card-body .descripcion ul li:last-child {
  border-bottom: 0;
}

#map {
  z-index: 1;
}

.leyenda {
  list-style: none;
  padding: 0;
}
.leyenda img {
  width: 23px;
}

.leaflet-popup-content {
  text-align: left;
  font-size: 0.9rem !important;
}
.leaflet-popup-content p {
  font-size: 0.9rem !important;
}

.mapa .mapa_descripcion {
  text-align: left;
}
.mapa .mapawidget {
  width: 100%;
  height: 620px;
  display: block;
}
.mapa div::first-letter {
  text-transform: capitalize;
}
.mapa .leaflet-container a {
  font-size: inherit;
}
.mapa p {
  text-align: left;
  line-height: normal;
}
.mapa .leaflet-popup-content-wrapper p {
  margin-top: 1rem;
}
.mapa .leaflet-popup-content a {
  font-family: "chulapa", Arial, Helvetica, sans-serif;
  font-size: 1.1rem;
  line-height: normal;
  font-weight: bold;
  color: #E62020;
  text-decoration: none;
  margin-bottom: 1rem;
}
.mapa .leaflet-popup-content a:hover, .mapa .leaflet-popup-content a:focus {
  color: #111;
  text-decoration: underline;
}
.mapa .leaflet-popup-content .fecha strong::first-letter {
  text-transform: uppercase;
}
.mapa .actividad {
  display: none;
}
.mapa {
  font-size: 0.9rem;
}
.mapa p {
  margin: 5px 0 !important;
}
.mapa p.subtitulo {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-weight: bold;
}
.mapa p.subtitulo::first-letter {
  text-transform: capitalize;
}
.mapa img.mapa_imagen {
  margin: 0.4rem;
  padding: 0.4rem;
  width: auto;
  clear: both;
  display: block;
  margin: auto;
  max-width: 100% !important;
  max-height: 250px;
  border-radius: 20px;
}

.mapawidget {
  display: block;
}

.mapa_descripcion p {
  font-size: 0.9rem;
}
.mapa_descripcion ul.leyenda {
  list-style: none;
  display: inline;
  padding: 0.5rem;
  font-size: 0.9rem;
}
.mapa_descripcion ul.leyenda li img {
  vertical-align: middle;
  max-width: 25px;
}

#map {
  border: 1px solid #ddd;
  border-radius: 20px;
}
@media (max-width: 767px) {
  #map {
    border-radius: 6px;
  }
}

.leaflet-container .leaflet-control-attribution {
  display: inline-flex;
}

@media (min-height: 980px) {
  .mapa .mapawidget {
    height: 820px;
  }
}
.map-popup-group {
  min-width: 260px;
}

.map-popup-group__count {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 12px;
}

.map-popup-group__list {
  max-height: 320px;
  overflow-y: auto;
}

.map-popup-group__item {
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid #e9e9e9;
}

.map-popup-group__item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

/* Por si tus imágenes no tienen estilo suficiente */
.mapa_imagen {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 8px;
  border-radius: 6px;
}

.marker-cluster-small,
.marker-cluster-medium,
.marker-cluster-large {
  background: rgba(233, 84, 153, 0.2);
}

.marker-cluster-small div,
.marker-cluster-medium div,
.marker-cluster-large div {
  background: #c690a9;
  color: #333;
  font-weight: 700;
}

.event-detail__content > * + * {
  margin-top: 1rem;
}

.event-detail__content p {
  display: inline-block;
  margin: 0;
}

.event-detail__map {
  min-height: 320px;
  background-color: var(--bs-tertiary-bg);
}

.event-detail .text-body-secondary p {
  text-align: left;
  font-size: 0.9rem;
  line-height: normal;
}
.event-detail .accessibility-description {
  display: none;
}

@media (min-width: 1200px) {
  .event-detail__map {
    min-height: 420px;
  }
}
@media (min-width: 1400px) {
  .sticky-xxl-top {
    position: sticky;
    top: 2rem;
    z-index: 10;
  }
}
@media (min-width: 992px) {
  .event-detail__sidebar-sticky {
    position: sticky;
    top: 135px;
  }
}
.event-detail__sidebar .madrugada {
  font-size: 0.9rem;
  padding: 0;
  background-color: transparent !important;
}

.gallery-splide {
  position: relative;
}
.gallery-splide .splide__track {
  overflow: hidden;
}
.gallery-splide .splide__pagination__page.is-active {
  transform: none;
}
.gallery-splide .splide__pagination {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  left: 0.75rem;
  bottom: auto;
  display: flex;
  gap: 0.4rem;
  padding: 0;
  margin: 0;
  z-index: 3;
}
.gallery-splide .splide__pagination li {
  flex: 1 1 0;
  display: flex;
  margin: 0;
}
.gallery-splide .splide__pagination__page {
  position: relative;
  width: 100%;
  height: 0.35rem;
  margin: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  opacity: 1;
  transform: none;
  overflow: hidden;
}
.gallery-splide {
  /* Capa de progreso interna */
}
.gallery-splide .splide__pagination__page::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.96);
}
.gallery-splide {
  /* Slides ya visitados */
}
.gallery-splide .splide__pagination__page.is-done::before {
  width: 100%;
}
.gallery-splide {
  /* Slide activo: se anima */
}
.gallery-splide .splide__pagination__page.is-animating::before {
  animation: storyProgress var(--story-progress-duration, 4.5s) linear forwards;
}
.gallery-splide .splide__arrow {
  width: 3rem;
  height: 3rem;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.65);
  opacity: 1;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}
.gallery-splide .splide__arrow:hover {
  background: rgba(0, 0, 0, 0.8);
  box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.12);
}
.gallery-splide .splide__arrow:focus-visible,
.gallery-splide .splide__pagination__page:focus-visible {
  outline: 3px solid #0d6efd;
  outline-offset: 3px;
}
.gallery-splide .splide__arrow svg {
  fill: #fff;
}

/* Sombra superior para que se vea bien sobre imágenes claras */
.gallery-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 1rem;
  background: #111;
  aspect-ratio: 16/9;
}

.gallery-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3.5rem;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.38) 0%, rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
}

.gallery-card__image {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.gallery-card__caption {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.gallery-card__overlay {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 1rem 1rem 3.25rem;
  color: #fff;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.45) 35%, rgba(0, 0, 0, 0) 100%);
  z-index: 2;
}

.gallery-card__title {
  margin: 0 0 0.35rem;
  font-size: clamp(1rem, 2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.2;
}

.gallery-card__text {
  margin: 0;
  max-width: 60ch;
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  line-height: 1.4;
}

.gallery-card__copyright {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 0.55rem 1rem;
  font-size: 0.8rem;
  line-height: 1.3;
  color: #fff;
  background: rgba(0, 0, 0, 0.82);
  z-index: 2;
}

.gallery-card__copyright:empty {
  display: none;
}

@keyframes storyProgress {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}
@media (max-width: 767.98px) {
  .gallery-splide .splide__pagination {
    top: 0.5rem;
    right: 0.5rem;
    left: 0.5rem;
    gap: 0.3rem;
  }
  .gallery-splide .splide__pagination__page {
    height: 0.4rem;
  }
  .gallery-splide .splide__arrow {
    width: 2.5rem;
    height: 2.5rem;
  }
  .gallery-card {
    aspect-ratio: 4/3;
    border-radius: 0.75rem;
  }
  .gallery-card__overlay {
    padding: 0.875rem 0.875rem 2.75rem;
  }
}
.categ_relacionadas, .categ_relacionadas_list {
  font-size: 1rem;
  font-family: "DM Sans", Helvetica, Arial, sans-serif;
  margin: 0;
  line-height: normal;
}
.categ_relacionadas a, .categ_relacionadas_list a {
  text-decoration: none;
}

.categ_relacionadas_list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
}

.page-info-detail section.page-basic ul {
  width: 100%;
  max-width: 900px;
  margin: auto;
}
.page-info-detail section.page-basic ul li a:hover .event-icon {
  transform: scale(1.2);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}
.page-info-detail .event-detail__sidebar-accessibility .event-icon {
  width: 4.3rem;
  height: 4.3rem;
}
.page-info-detail .event-detail__sidebar-accessibility .event-icon .icon {
  font-size: 3.1rem;
}
.page-info-detail .event-detail__sidebar-accessibility .event-icon .icon {
  transition: transform 0.3s ease;
}
.page-info-detail .event-detail__sidebar-accessibility ul li a:hover .event-icon .icon {
  transform: scale(1.1);
}
.page-info-detail .event-detail__sidebar-accessibility .accessibility-icon {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.page-info-detail .event-detail__sidebar-accessibility .accessibility-icon .icon {
  transition: color 0.3s ease;
}
.page-info-detail .event-detail__sidebar-accessibility ul li a:hover .accessibility-icon,
.page-info-detail .event-detail__sidebar-accessibility ul li a:focus .accessibility-icon {
  background-color: #e20414;
  border-color: rgb(175.8869565217, 3.1130434783, 15.5652173913);
  transform: scale(1.15);
}
.page-info-detail .event-detail__sidebar-accessibility ul li a:hover .accessibility-icon .icon,
.page-info-detail .event-detail__sidebar-accessibility ul li a:focus .accessibility-icon .icon {
  color: #fff;
}

.event-detail__sidebar-accessibility ul li a:hover .accessibility-icon,
.event-detail__sidebar-accessibility ul li a:focus .accessibility-icon {
  background-color: #e20414;
  border-color: rgb(175.8869565217, 3.1130434783, 15.5652173913);
  transform: scale(1.15);
}
.event-detail__sidebar-accessibility ul li a:hover .accessibility-icon .icon,
.event-detail__sidebar-accessibility ul li a:focus .accessibility-icon .icon {
  color: #fff;
}

html,
body {
  overflow-x: clip;
}

h1 {
  font-size: clamp(1.5rem, 1.4rem + 1.2vw, 3.5rem);
}

a {
  color: #e20414;
}
a:hover, a:focus {
  text-decoration: underline;
}

.text-accent {
  color: #e20414;
}

.text-white-50 {
  color: rgba(255, 255, 255, 0.8) !important;
}/*# sourceMappingURL=previa.css.map */