/**********************************************************/
/************************* XEERPA *************************/
/**********************************************************/

.btn-facebook {
  background-color: #3b579d;
}

.btn-google {
  background: linear-gradient(90deg,
      rgba(191, 193, 197, 1) 0%,
      rgba(137, 138, 142, 1) 100%);
}

.gsi-material-button {
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  -webkit-appearance: none;
  background-color: WHITE;
  background-image: none;
  border: 1px solid #747775;
  box-sizing: border-box;
  color: #1f1f1f;
  font-family: "Roboto Condensed", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  height: 40px;
  outline: none;
  overflow: hidden;
  padding: 0 12px;
  position: relative;
  text-align: center;
  transition: background-color 0.218s, border-color 0.218s, box-shadow 0.218s;
  white-space: nowrap;
  max-width: 400px;
  min-width: min-content;
}

.gsi-material-button .gsi-material-button-icon {
  height: 20px;
  margin-right: 12px;
  min-width: 20px;
  width: 20px;
}

.gsi-material-button .gsi-material-button-content-wrapper,
.btn-tiktok,
.btn-facebook {
  -webkit-align-items: center;
  align-items: center;
  display: flex;
  -webkit-flex-direction: row;
  flex-direction: row;
  -webkit-flex-wrap: nowrap;
  flex-wrap: nowrap;
  justify-content: space-between;
  position: relative;
  width: 100%;
}

.w-400{
  max-width: 400px !important;
}

.btn-tiktok,
.btn-facebook {
  padding: 10px 14px;
  max-width: 400px;
}

.gsi-material-button .gsi-material-button-contents,
.btn-tiktok-text,
.btn-facebook-text {
  -webkit-flex-grow: 1;
  flex-grow: 1;
  font-family: "Roboto Condensed", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: top;
}

.gsi-material-button .gsi-material-button-state {
  -webkit-transition: opacity 0.218s;
  transition: opacity 0.218s;
  bottom: 0;
  left: 0;
  opacity: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.gsi-material-button:disabled {
  cursor: default;
  background-color: #ffffff61;
  border-color: #1f1f1f1f;
}

.gsi-material-button:disabled .gsi-material-button-contents {
  opacity: 38%;
}

.gsi-material-button:disabled .gsi-material-button-icon {
  opacity: 38%;
}

.gsi-material-button:not(:disabled):active .gsi-material-button-state,
.gsi-material-button:not(:disabled):focus .gsi-material-button-state {
  background-color: #303030;
  opacity: 12%;
}

.gsi-material-button:not(:disabled):hover {
  -webkit-box-shadow: 0 1px 2px 0 rgba(60, 64, 67, 0.3),
    0 1px 3px 1px rgba(60, 64, 67, 0.15);
  box-shadow: 0 1px 2px 0 rgba(60, 64, 67, 0.3),
    0 1px 3px 1px rgba(60, 64, 67, 0.15);
}

.gsi-material-button:not(:disabled):hover .gsi-material-button-state {
  background-color: #303030;
  opacity: 8%;
}

.btn-tiktok {
  background-color: #000;
}

.w-35 {
  width: 35% !important;
}

.w-85 {
  width: 85% !important;
}

.mb--25{
  margin-bottom: -40px;
}

.ms--25{
  margin-left: -25px;
}

.fw-extra-bold {
  font-weight: 800 !important;
}

/** RECOMEDADOR **/
.x_button {
  width: 75%;
}

/**********************************************************/
/************************** MENÚ **************************/
/**********************************************************/

.fullscreen-menu {
  transition: 0.5s;
  z-index: 9999;
  background-color: rgba(0,0,0,0.9);
}

.navbar-brand img {
  width: 180px;
}

.esconder {
  opacity: 0;
  visibility: hidden;
}

.btn-cerrar {
  top: 10px;
  right: 10px;
}

#menu-primario > .menu-item > a {
  position: relative;
  color: #fff !important;
  transition: transform 0.3s;
}

#menu-primario > .menu-item > a:hover {
  transform: scale(1.1);
}

#menu-primario > .menu-item > a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  width: 100%;
  height: 1px;
  background-color: #fff;
  transition: transform 0.3s;
}

#menu-primario > .menu-item > a:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.page-template-page-age-gate .navbar {
  display: none !important;
}

.leon-menu {
  width: 150px;
}

.dropdown-toggle::after {
  border-top: 0;
  border-bottom: 0;
  margin-left: 0;
}


/**********************************************************/
/************************* AGE GATE ***********************/
/**********************************************************/

#enter-btn.enabled {
    background-color: #163bd6 !important; 
    border: none;
    cursor: pointer;
  }

  #enter-btn:disabled {
    cursor: not-allowed;
    background-color: #171717 !important;
    color: #ffffff !important; 
    border: solid 1.5px #878787 !important;
    border-bottom: none !important;
  }

  .rounded-circle{
    width: 125px; height: 125px; 
  }

  .page-template-page-age-gate{
      background-color: #000000 !important;
  }

/**********************************************************/
/************************* CUSTOM *************************/
/**********************************************************/

html,
body {
  overscroll-behavior: none;
}

body {
  font-family: "Roboto Condensed", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

.text-celeste {
  color: #57d4cc !important;
}

.text-azul-light{
  color: #113ecc !important;  
}

.text-azul{
  color: #00A0EB;
}

.text-verde{
  color: #6de0c0;
}

.text-rojo{
  color: #E5005D;
}

.text-gold{
  color: #c6b66b;
}

.text-justify {
  text-align: justify;
}

.boton-rojo {
  background-color: #E5005D;
  color: #fff;
  transition: background-color 0.3s ease;
}

.boton-rojo:hover {
  background-color: #c20050;
}

.font-grande {
  font-size: 3.5rem;
}

.font-numero-muy-grande {
  font-size: 7rem;
  line-height: 0.7;
}

.font-pequena {
  font-size: 0.7rem;
}

.font-semi-pequena {
  font-size: 0.9rem;
}

.font-roboto{
 font-family: "Roboto Condensed", sans-serif;
}

 .bg-transparente-oscuro{
    background-color: #000000c9 !important;
  }

@media (min-width: 768px) {
  .min-vh-100-md {
    min-height: 100vh;
  }
}

.ancho-500 {
  max-width: 510px;
}

@media (max-width: 767px) {
  .ancho-500 {
    max-width: none;
  }
}


/**********************************************************/
/************************* INICIO *************************/
/**********************************************************/

#zoomScroll {
  height: 2600vh;
}

.fondo-fijo {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(/wp-content/themes/bootstrap-5-xeerpa/img/fondo.jpg) center/cover no-repeat;
  z-index: -1;
  filter: brightness(0.3);
}

.btn-vidrio-transparente {
  background-color: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
}

.item {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.5);
  opacity: 0;
  transition: transform 1s ease, opacity 1s ease;
}

.item.activo {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.item.salida {
  opacity: 0;
  transform: translate(-50%, -50%) scale(5);
}

.item h1 {
  text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.7);
}

.item-1 {
  width: 40vw;
}

.item-1 h1 {
  margin-left: 15vw;
  margin-top: -4vw;
}

.item-2 {
  width: 50vw;
  z-index: 3;
}

.item-4 {
  width: 30vw;
  transform: translate(50%, -50%) scale(0.5);
}

.item-4.activo {
  transform: translate(50%, -50%) scale(1);
}

.item-4.salida {
  transform: translate(50%, -50%) scale(5);
}

.item-5 {
  width: 30vw;
  transform: translate(-150%, -50%) scale(0.5);
}

.item-5.activo {
  transform: translate(-150%, -50%) scale(1);
}

.item-5.salida {
  transform: translate(-150%, -50%) scale(5);
}

.item-7 {
  width: 30vw;
}

.item-8 {
  width: 30vw;
}

.item-9 {
  width: 30vw;
  transform: translate(50%, -50%) scale(0.5);
}

.item-9.activo {
  transform: translate(50%, -50%) scale(1);
}

.item-9.salida {
  transform: translate(50%, -50%) scale(5);
}

.item-10 {
  width: 30vw;
  transform: translate(-150%, -50%) scale(0.5);
}

.item-10.activo {
  transform: translate(-150%, -50%) scale(1);
}

.item-10.salida {
  transform: translate(-150%, -50%) scale(5);
}

.item-11 {
  width: 10vw;
}

.item-11 img {
  position: relative;
  transform: rotate(-15deg);
  transition: transform 1s ease;
}

.item-11.activo img {
  transform: rotate(15deg);
}

.item-11.salida img {
  transform: rotate(0deg);
}

.item-12 {
  width: 30vw;
}

.item-13 {
  width: 10vw;
}

.item-13 img {
  position: relative;
  transform: rotate(15deg);
  transition: transform 1s ease;
}

.item-13.activo img {
  transform: rotate(-15deg);
}

.item-13.salida img {
  transform: rotate(0deg);
}

.item-14 {
  width: 30vw;
}

.item-15 {
  width: 10vw;
}

.item-15 img {
  position: relative;
  transform: rotate(-15deg);
  transition: transform 1s ease;
}

.item-15.activo img {
  transform: rotate(15deg);
}

.item-15.salida img {
  transform: rotate(0deg);
}

.item-16 {
  width: 30vw;
}

.item-17 {
  width: 30vw;
}

.item-18 {
  width: 30vw;
}

.item-19 {
  width: 30vw;
}

.item-20 {
  width: 30vw;
}

.item-12-button,
.item-14-button,
.item-16-button,
.item-19-button,
.item-21-button,
.item-24-button {
  position: fixed;
  bottom: 15%;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 10;
  pointer-events: none;
  animation: floatingButton 2s ease-in-out infinite;
}

.barra-progreso{
  position: fixed;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  transition: opacity 1s ease;
  z-index: 9;
  pointer-events: none;
  width: 25%;
}

.barra-progreso .progress {
  height: 5px;
  background-color: rgba(255, 255, 255, 0.2);
}

.barra-progreso .progress-bar {
  background-color: #fff;
  transition: width 0.5s ease;
}

.item-12-button.visible,
.item-14-button.visible,
.item-16-button.visible,
.item-19-button.visible,
.item-21-button.visible,
.item-24-button.visible {
  opacity: 1;
  pointer-events: auto;
}

@keyframes floatingButton {
  0% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(-5px);
  }

  100% {
    transform: translateX(-50%) translateY(0);
  }
}

.item-21 {
  width: 30vw;
  transform: translate(50%, -50%) scale(0.5);
}

.item-21.activo {
  transform: translate(50%, -50%) scale(1);
}

.item-21.salida {
  transform: translate(50%, -50%) scale(5);
}

.item-22 {
  width: 30vw;
  transform: translate(-150%, -50%) scale(0.5);
}

.item-22.activo {
  transform: translate(-150%, -50%) scale(1);
}

.item-22.salida {
  transform: translate(-150%, -50%) scale(5);
}

.item-23 {
  width: 30vw;
}

.item-24 {
  width: 30vw;
}

.item:not(.activo) iframe {
  pointer-events: none;
}

@media (min-width: 768px) {
  .fondo-fijo {
    /* background-size: auto; */
    transform: scale(1.04);
  }
}

@media (max-width: 767px) {

  .barra-progreso {
    width: 80%;
  }

  .item h1 {
    font-size: 1.2rem;
  }

  .font-grande {
    font-size: 2.5rem !important;
  }

  .item-1 {
    width: 70vw;
  }

  .item-1 h1 {
    margin-left: 25vw;
    margin-top: -8vw;
  }

  .item-2 {
    width: 80vw;
  }

  .item-3 {
    width: 90vw;
  }

  .item-4 {
    width: 50vw;
    transform: translate(0%, -50%) scale(0.5);
  }

  .item-4.activo {
    transform: translate(0%, -50%) scale(1);
  }

  .item-4.salida {
    transform: translate(0%, -50%) scale(5);
  }

  .item-5 {
    width: 50vw;
    transform: translate(-100%, -50%) scale(0.5);
  }

  .item-5.activo {
    transform: translate(-100%, -50%) scale(1);
  }

  .item-5.salida {
    transform: translate(-100%, -50%) scale(5);
  }

  .item-7 {
    width: 50vw;
  }

  .item-8 {
    width: 70vw;
  }

  .item-9 {
    width: 50vw;
    transform: translate(0%, -50%) scale(0.5);
  }

  .item-9.activo {
    transform: translate(0%, -50%) scale(1);
  }

  .item-9.salida {
    transform: translate(0%, -50%) scale(5);
  }

  .item-10 {
    width: 50vw;
    transform: translate(-100%, -50%) scale(0.5);
  }

  .item-10.activo {
    transform: translate(-100%, -50%) scale(1);
  }

  .item-10.salida {
    transform: translate(-100%, -50%) scale(5);
  }

  .item-11 {
    width: 40vw;
  }

  .item-12 {
    width: 70vw;
  }

  .item-13 {
    width: 40vw;
  }

  .item-14 {
    width: 70vw;
  }

  .item-15 {
    width: 40vw;
  }

  .item-16 {
    width: 70vw;
  }

  .item-17 {
    width: 70vw;
  }

  .item-18 {
    width: 90vw;
  }

  .item-19 {
    width: 50vw;
  }

  .item-20 {
    width: 90vw;
  }

  .item-12-button,
  .item-14-button,
  .item-16-button,
  .item-19-button,
  .item-21-button,
  .item-24-button {
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
  }

  .item-21 {
    width: 50vw;
    transform: translate(0%, -50%) scale(0.5);
  }

  .item-21.activo {
    transform: translate(0%, -50%) scale(1);
  }

  .item-21.salida {
    transform: translate(0%, -50%) scale(5);
  }

  .item-22 {
    width: 50vw;
    transform: translate(-100%, -50%) scale(0.5);
  }

  .item-22.activo {
    transform: translate(-100%, -50%) scale(1);
  }

  .item-22.salida {
    transform: translate(-100%, -50%) scale(5);
  }

  .item-23 {
    width: 90vw;
  }

  .item-24 {
    width: 50vw;
  }

  .item-25 {
    width: 50vw;
  }

  .mb--25{
    margin-bottom: -25px;
  }

  .font-numero-muy-grande {
    font-size: 4.5rem;
    line-height: 0.7;
  }

  .font-semi-pequena {
    font-size: 0.6rem;
  }

  .columna-eventos:hover .evento-contenido-inferior {
    transform: translateY(-25%) !important;
  }
}

/* Viewport entre 768 y 1024 para iPad, iPad Air y iPad Pro en orientación vertical */
@media (min-width: 768px) and (max-width: 1024px) {
  .barra-progreso {
    width: 45%;
  }

  .item h1 {
    font-size: 2rem;
  }

  .font-grande {
    font-size: 2.5rem !important;
  }

  .item-1 {
    width: 70vw;
  }

  .item-1 h1 {
    margin-left: 25vw;
    margin-top: -8vw;
  }

  .item-2 {
    width: 80vw;
  }

  .item-3 {
    width: 90vw;
  }

  .item-4 {
    width: 50vw;
    transform: translate(0%, -50%) scale(0.5);
  }

  .item-4.activo {
    transform: translate(0%, -50%) scale(1);
  }

  .item-4.salida {
    transform: translate(0%, -50%) scale(5);
  }

  .item-5 {
    width: 50vw;
    transform: translate(-100%, -50%) scale(0.5);
  }

  .item-5.activo {
    transform: translate(-100%, -50%) scale(1);
  }

  .item-5.salida {
    transform: translate(-100%, -50%) scale(5);
  }

  .item-7 {
    width: 50vw;
  }

  .item-8 {
    width: 55vw;
  }

  .item-9 {
    width: 50vw;
    transform: translate(0%, -50%) scale(0.5);
  }

  .item-9.activo {
    transform: translate(0%, -50%) scale(1);
  }

  .item-9.salida {
    transform: translate(0%, -50%) scale(5);
  }

  .item-10 {
    width: 50vw;
    transform: translate(-100%, -50%) scale(0.5);
  }

  .item-10.activo {
    transform: translate(-100%, -50%) scale(1);
  }

  .item-10.salida {
    transform: translate(-100%, -50%) scale(5);
  }

  .item-11 {
    width: 25vw;
  }

  .item-12 {
    width: 55vw;
  }

  .item-13 {
    width: 25vw;
  }

  .item-14 {
    width: 55vw;
  }

  .item-15 {
    width: 25vw;
  }

  .item-16 {
    width: 55vw;
  }

  .item-17 {
    width: 55vw;
  }

  .item-18 {
    width: 90vw;
  }

  .item-19 {
    width: 50vw;
  }

  .item-20 {
    width: 90vw;
  }

  .item-12-button,
  .item-14-button,
  .item-16-button,
  .item-19-button,
  .item-21-button,
  .item-24-button {
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
  }

  .item-21 {
    width: 50vw;
    transform: translate(0%, -50%) scale(0.5);
  }

  .item-21.activo {
    transform: translate(0%, -50%) scale(1);
  }

  .item-21.salida {
    transform: translate(0%, -50%) scale(5);
  }

  .item-22 {
    width: 50vw;
    transform: translate(-100%, -50%) scale(0.5);
  }

  .item-22.activo {
    transform: translate(-100%, -50%) scale(1);
  }

  .item-22.salida {
    transform: translate(-100%, -50%) scale(5);
  }

  .item-23 {
    width: 90vw;
  }

  .item-24 {
    width: 50vw;
  }

  .item-25 {
    width: 50vw;
  }

  .mb--25{
    margin-bottom: -25px;
  }
}

/* Viewport iPad en orientación horizontal */
@media screen and (min-width: 1020px) and (max-width: 1028px) and (min-height: 764px) and (max-height: 772px) {

  .font-grande{
    font-size: 3.5rem !important;
  }

  .item-1 h1 {
    margin-left: 20vw;
    margin-top: -5vw;
  }

  .item-1,
  .item-2{
    width: 50vw;
  }

  .item-4,
  .item-5,
  .item-9,
  .item-10,
  .item-18,
  .item-19,
  .item-20,
  .item-21,
  .item-22,
  .item-23{
    width: 40vw;
  }

  .item-8,
  .item-12,
  .item-14,
  .item-16,
  .item-17
  {
    width: 40vw;
  }

  .item-11,
  .item-13,
  .item-15
  {
    width: 13vw;
  }
}


/**********************************************************/
/****************** REGISTRO Y LOGIN **********************/
/**********************************************************/

  input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="date"],
    input[type="number"],
    select {
      background-color: #171717 !important;
      color: #ffffff !important; 
      border: solid 1.5px #878787 !important;
      border-bottom: none !important;
    }

    input::placeholder{
      color: #ffffff !important;

    }

    .form-check{
      text-align: left !important;
    }
    label{
      text-align: left !important;
    }

/**********************************************************/
/********************* LOST PASSWORD **********************/
/**********************************************************/

.login-action-lostpassword,
.login-action-checkemail,
.login-action-login,
.login-action-rp
{
  background-image: url(../img/fondo.jpg);
  background-position: center;
}
.login-action-checkemail,
.login-action-login, .login-action-rp
{
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
.login h1 a {
  background-image: url(../img/leon.png) !important;
  height: 100px !important;
}

.login-action-lostpassword .login .message,
.login .notice,
.login .success {
  border-left: 4px solid #57d4cc !important;
}

.login #backtoblog a,
.login #nav a {
  text-decoration: none;
  color: #fff !important;
}

.wp-core-ui .button-primary,
.wp-core-ui .button {
  background-color: rgba(255, 255, 255, 0.2) !important;
  border: 1px solid rgba(255, 255, 255, 0.5) !important;
  color: #fff !important;
  border-radius: 25px !important;
  width: 100% !important;
}

.wp-pwd .button {
  width: auto !important;
  border: 0 !important;
  background: none !important;
}

.login label {
  color: #fff !important;
}

.login form {
  margin: 24px 0;
  padding: 26px 24px;
  font-weight: 400;
  overflow: hidden;
  background-color: #000000c9  !important; 
  border: none !important; 
  box-shadow: none !important;
}

.login form .input, .login input[type="password"], .login input[type="text"] {
  font-size: 18px;
}

.login .message, .login .notice{
  background-color: #000000c9 !important;
  color: #fff !important;
}

.language-switcher {
  display: none !important;
}

.mt-neg {
  margin-top: -16px;
}

.padding-verificar{
      padding: 150px 0px;
}

.pb-10{
  padding-bottom: 6rem !important;
}

@media (max-width: 767px) {
  .pb-10{
    padding-bottom: 4.5rem !important;
  }
}

.fs-medallas{
  font-size: 60px;
}

/**********************************************************/
/****************** PILARES Y CERVEZAS ********************/
/**********************************************************/

.fondo-fijo-pilar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(/wp-content/themes/bootstrap-5-xeerpa/img/musica/bgMusica.jpg) center/cover no-repeat;
  z-index: -1;
  filter: brightness(0.5);
}

.fondo-fijo-musica {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(/wp-content/themes/bootstrap-5-xeerpa/img/musica/bgMusica.jpg) center/cover no-repeat;
  z-index: -1;
  filter: brightness(0.5);
}

.fondo-fijo-gastro {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(/wp-content/themes/bootstrap-5-xeerpa/img/gastro/SecGastronomia_Foto-Fondo.jpg) center/cover no-repeat;
  z-index: -1;
  filter: brightness(0.5);
}

.fondo-fijo-moda {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(/wp-content/themes/bootstrap-5-xeerpa/img/moda/SecModa-Arte_Foto-Fondo.jpg) center/cover no-repeat;
  z-index: -1;
  filter: brightness(0.5);
}

@media (min-width: 768px) {
  .fondo-fijo-pilar,
  .fondo-fijo-musica,
  .fondo-fijo-gastro,
  .fondo-fijo-moda {
    /* background-size: auto; */
    transform: scale(1.04);
  }
}

.zoom-image {
  transition: width 0.1s ease-out;
}

#imagenTexto {
  opacity: 0;
  transition: opacity 2s ease-in-out;
  z-index: -1;
}

#imagenTexto.show {
  opacity: 1;
}

#imagenCerveza{
  transform: rotate(15deg);
}

.rotar-180 {
  transform: rotate(180deg) !important;
}

/* Fix para Safari */

/* Safari-specific fixes for Bootstrap grid and aspect ratios */

/* Fix for Safari flexbox height calculation issues */
@supports (-webkit-appearance: none) {
    
    /* Force proper aspect ratio behavior in Safari */
    .ratio {
        position: relative !important;
        width: 100% !important;
        min-height: 0 !important;
    }
    
    .ratio::before {
        display: block !important;
        padding-top: var(--bs-aspect-ratio) !important;
        content: "" !important;
    }
    
    .ratio > * {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
    }
    
    /* Fix object-fit behavior in Safari */
    .object-fit-cover {
        object-fit: cover !important;
        object-position: center !important;
        width: 100% !important;
        height: 100% !important;
    }
    
    /* Fix height: 100% issues in Safari flexbox */
    .h-100 {
        height: 100% !important;
        min-height: 0 !important;
    }
    
    /* Ensure parent containers maintain height */
    .row.h-100 {
        min-height: 0 !important;
        height: 100% !important;
        display: flex !important;
        flex-direction: row !important;
    }
    
    .col-6 .row.h-100 {
        height: 100% !important;
    }
    
    /* Video specific fixes for Safari */
    video.object-fit-cover {
        -webkit-object-fit: cover !important;
        object-fit: cover !important;
        width: 100% !important;
        height: 100% !important;
    }
    
    /* Fix for the specific tall images in your layout */
    .col-6:nth-child(2) img.h-100,
    .col-6:nth-child(3) img.h-100 {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }
    
    .col-6:nth-child(2) .row.h-100,
    .col-6:nth-child(3) .row.h-100 {
        position: relative !important;
        height: 100% !important;
    }
    
    .col-6:nth-child(2) .col-12,
    .col-6:nth-child(3) .col-12 {
        position: relative !important;
        height: 100% !important;
    }
}

/* Alternative fallback for older Safari versions */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    .ratio-1x1 {
        aspect-ratio: 1 / 1 !important;
    }
    
    /* Ensure video autoplay works in Safari */
    video {
        -webkit-playsinline: true !important;
    }
}

/* Custom classes for responsive borders */
.border-end-mobile {
  border-right: 1px solid white;
}

.border-start-desktop {
  border-left: 1px solid white;
}

/* Media query to control when borders appear */
@media (max-width: 991px) {
  .border-start-desktop {
    border-left: none !important;
  }
}

@media (min-width: 992px) {
  .border-end-mobile {
    border-right: none !important;
  }
}


/**********************************************************/
/************************ EVENTOS *************************/
/**********************************************************/

.post-template-single-eventos .main-image {
    transition: opacity 0.4s ease-in-out;
    opacity: 1;
}

.post-template-single-eventos .main-image.fade-out {
    opacity: 0;
}

.post-template-single-eventos .thumbnail {
    transition: all 0.3s ease;
    filter: brightness(0.5);
    cursor: pointer;
}

.post-template-single-eventos .thumbnail:hover {
    filter: brightness(1);
}

.post-template-single-eventos .thumbnail.active {
    filter: grayscale(100%) brightness(1);
}

.post-template-single-eventos strong {
  color: #E5005D !important;
}

.columna-eventos {
  background-color: #fff !important;
  transition: background-color 0.3s ease;
}

.columna-eventos:hover {
  background-color: #E5005D !important;
}

.columna-eventos p {
  color: #000 !important;
  pointer-events: none;
  transition: color 0.3s ease;
}

.columna-eventos:hover p {
  color: #fff !important;
}

.columna-eventos .borde-seccion-evento {
  border-bottom: 2px solid #000 !important;
  transition: border-color 0.3s ease;
}

.columna-eventos:hover .borde-seccion-evento {
  border-bottom: 2px solid #fff !important;
}

.evento-contenido-inferior {
  transition: transform 0.3s ease;
}

.columna-eventos:hover .evento-contenido-inferior {
  transform: translateY(-30px);
}

.columna-eventos .eventos-botones-contenedor {
  position: absolute;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.columna-eventos:hover .eventos-botones-contenedor {
  opacity: 1;
}

.icono-participa {
  height: 1.2em;
  width: 1.2em;
}