html,body{
    font-family: 'Open Sans',sans-serif;
    min-width: 360px;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
img{
    object-fit: cover;
}
a {
  text-decoration: none; 
  color: inherit;       
  background: none;
  border: none;
  outline: none;
}

a:hover,
a:focus,
a:active {
  text-decoration: none;
  color: inherit;
  outline: none;
  background: none;
  border: none;
}
button:focus{
    outline: none;
    box-shadow: none;
}

.ad-top-container{
    width: 100%;
    height: 124px;
    position: relative;
    top: 0;
    left: 0;
}
.ad-top-responsive{
    width: 320px;
    align-items: center;
    display: flex;
    margin-top: 12px;
    margin-bottom: 12px;
}

#ad_top{
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: #fff;
    transition: opacity 0.3s ease, height 0.3s ease;
}

header {
    width: 100%;
    height: 96px;
    border-bottom: 1px solid rgba(217, 217, 217, 1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: top 0.3 ease, padding 0.3s ease;
    padding: 0 16px;
    background-color: #fff;
}

.share-btn {
    background: #f3f4f6;
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.share-btn:hover {
  background: #e1e3e6;
}

.bbcl-logo{
    display: flex;
    align-items: center;
    justify-content: start;    
}

.bbcl-logo img{
    width: 70px;
    padding: 37px 0;
    margin-left: 16px;
}
.icon {
  width: 16px;
  height: 14px;
  fill: #000038;
  transition: fill 0.3s ease, transform 0.3s ease;
  color: black;
}
.icon:hover {
  fill: #0FAADB;
  transform: scale(1.1);
}
.rrss-menu {
  display: flex;
  gap: 12px;
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%) translateX(15px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s ease;
  
}

.rrss-menu.show {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
    pointer-events: auto;
    background-color: rgb(255, 255, 255);

}
.sociales-logo{
    margin-top: 32px;
    width: 227px;
    height: 83px;
}
.sociales-logo img{
    width: 100%;
    height: 100%;
    object-fit: unset;
}
.text-container{
    margin-top: 64px;
    max-width: 199px;
    opacity: 60%;
    font-weight: 400;
    font-size: 13px;
    line-height: 17px;
    letter-spacing: 0;
    color: #000038;
    text-align: center;
}
.buscador-container {
  text-align: center;
  margin: 16px 16px 0;
}


.input-group {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    height: 60px;
    border: 1px solid rgba(0, 0, 56, 0.3);
    border-radius: 64px;
    padding: 0 4px 0 14px;
    background-color: #fff;
    box-sizing: border-box;
}

.icono-buscar {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icono-buscar .icon {
    width: 20px;
    height: 20px;
}

.input-buscar {
    flex: 1 1 auto;
    border: none;
    outline: none;
    font-size: 16px;
    line-height: 22px;
    color: #000038;
    background: transparent;
    padding: 0 6px;
    width: 112px;
}

.input-buscar::placeholder {
    color: #000038;
    opacity: 0.6;
}

.btn-buscar {
    background-color: #1E40AF;
    color: #fff;
    border: none;
    border-radius: 64px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s ease;
    padding: 8px 16px;
    font-size: 14px;
    height: 40px;
    white-space: nowrap;

}

.btn-buscar:hover {
    background-color: #001e36;
}
.text-revisa-los-ultimos{
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 28px;
    color: #000038;
    letter-spacing: 0;
    text-align: center;
    width: 213px;
    margin-top: 80px;
}

.eventos-section {
    height: 300px;
    text-align: center;
    margin: 40px 0 0 0;
}

.eventos-titulo {
    font-family: 'Playfair Display', serif;
    color: #000038;
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
    margin-bottom: 24px;
}

.eventos-swiper {
    width: 100%;
    height: 100%;
    padding-left: 16px;
    padding-right: 16px;
    overflow: hidden;
}


.swiper-slide {
    width: 119px;
    height: 212px;
    margin-right: 16px;
}

.evento-card {
    width: 110px !important;
    height: 212px !important;
    text-align: center;
}

.evento-card img {
    width: 100%;
    height: 100%;
    border-radius: 16px;
    object-fit: cover;
    display: block;
    margin: 0 auto 8px;
}

.evento-nombre {
    color: #000038;
    font-weight: 400;
    font-size: 15px;
    line-height: 19px;
    letter-spacing: 0;
    text-align: center;
}

/* --- Flechas --- */
.swiper-button-prev,
.swiper-button-next {
    width: 50px !important;
    height: 50px !important;
    color: #ffffff;
    background-color: rgba(0, 0, 56, 0.8);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 1);
    top: 40% !important;
}

.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 14px;
}
.swiper-button-prev::after{
    content: "<"; 
    color: white;
}
.swiper-button-next::after{
    content: ">"; 
    color: white;
}

.swiper-button-next svg,
.swiper-button-prev svg {
    display: none !important;
}

.ad-middle1-container{
    width: 300px;
    height: 400px;
    margin-top: 48px;
}
footer{
    margin-top: 80px;
    border-top: 1px solid rgba(136, 153, 166, 0.3);
}
.bbcl-footer-logo{
    padding-top: 35px;
    display: flex;
    align-items: center;
    justify-content: center
}
.footer-text{
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: rgba(0, 0, 56, 0.6);
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0;
    margin-top: 48px;
    max-width: 248px;
    margin-bottom:26px ;
}
.ad-right-container{
    display: none;
}
.ad-right{
    width: 160px;
    height: 600px;
}



@media (min-width: 1187px) {
    .ad-top-responsive{
        width: 970px;
        height: 70px;
        margin-bottom: 16px;
    }
    .ad-top-container{
        height: 70px;
    }
    header{
        padding: 0 126px;
    }
    .bbcl-logo{
        width: 84px;
        height: 26px;
    }
    .bbcl-logo img{
        width: 100%;
        height: 100%;
        margin: 0;
        padding: 0;
    }
    .share-btn{
        display: none;
    }
    .rrss-menu{
        display: flex;
        position: static;
        transform: none;
        opacity: 1;
        pointer-events: auto;
        gap: 28px;
    }
    .text-container{
        max-width: unset;
    }
    .buscador-container{
        max-width: 728px;
        margin-left: auto;
        margin-right: auto;
    }
    .text-revisa-los-ultimos{
        width: unset;
    }
    .eventos-section{
        max-width: 1094px;
        margin-left: auto;
        margin-right: auto
    }
    .swiper-button-next, .swiper-button-prev{
        top: 40%;
    }

    .swiper-button-prev {
        left: 0; 
    }

    .swiper-button-next {
        right: 0; 
    }
    .eventos-swiper{
        padding: 0;
    }
    .ad-middle1-container{
        display: none;
    }
    .main-layout {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: flex-start;
        gap: 40px; 
        max-width: 1200px;
        margin: 0 auto;
    }

    .main-content {
        flex: 1;
        max-width: 970px;
    }

    .ad-right-container {
        margin-top: 64px;
        display: block; 
        position: relative;
        top: 0;
    }

    


}




