:root {
    --azul: #061b3d;
    --azul2: #0b2e63;
    --oro: #d8a928;
    --blanco: #ffffff;
    --gris: #f4f4f4;
    --texto: #0b1730
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--texto);
    background: #061b3d
}

a {
    text-decoration: none;
    color: inherit
}

.topbar {
    background: linear-gradient(90deg, #03152f, #08275a);
    color: white;
    border-bottom: 4px solid var(--oro);
    position: sticky;
    top: 0;
    z-index: 10
}

.nav {
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-direction: column;
    padding: 8px 18px 0;
    gap: 10px
}

.brand {
    display: flex;
    align-items: center;
    gap: 18px;
    font-weight: bold;
    font-size: 34px;
    letter-spacing: .5px;
    align-self: flex-start
}

.brand img {
    height: 82px
}

.brand small {
    display: block;
    font-size: 15px;
    font-style: italic;
    color: #f7d16b;
    font-weight: normal;
    margin-top: 3px
}

.menu {
    display: flex;
    justify-content: center;
    width: 100%;
    gap: 10px;
    align-items: center;
    border-top: 1px solid rgba(216, 169, 40, .65);
    padding-top: 6px
}

.menu-item {
    position: relative
}

.menu-btn {
    padding: 10px 12px;
    display: block;
    font-weight: bold;
    font-size: 15px
}

.menu-item:hover .submenu,
.submenu:hover {
 display: block;
}
  

.submenu {
    display: none;
    position: absolute;
    background: white;
    box-shadow: 0 10px 25px #0005;
    border-top: 4px solid var(--oro);
    min-width: 220px;
    z-index: 100;
}

.submenu a {
    display: block;
    padding: 12px 16px;
    border-bottom: 1px solid #eee;
    color: #0b1730;
    background: white;
}

.submenu a:hover {
    background: #f1f4f9;
    color: #0b2e63
}

.hero {
    min-height: 280px;
    background: linear-gradient(#0006, #0007), url('../imagenes/foto-club.jpg') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    border-bottom: 4px solid var(--oro);
    padding: 30px 20px
}

.hero-frase {
    color: white;
    font-size: 20px;
    font-weight: 500;
    text-align: center;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, .6)
}

.portada-modelo-03 {
    max-width: 1500px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 330px 1fr 330px;
    gap: 26px;
    padding: 24px 34px 28px;
    background: #061b3d;
    color: white
}

.columna h2 {
    margin-top: 0
}

.retransmisiones-col h2,
.patrocinadores-lateral h2,
.federativos-lateral h2 {
    text-align: center;
    font-size: 28px;
    letter-spacing: .5px;
    color: white
}

.videos-mini {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    border-left: 1px solid rgba(216, 169, 40, .85);
    padding-left: 12px
}

.video-card {
    background: #102d5b;
    border: 2px solid var(--oro);
    border-radius: 7px;
    overflow: hidden;
    box-shadow: 0 6px 18px #0005;
    display: block
}

.video-card img {
    width: 100%;
    display: block;
    aspect-ratio: 16/10;
    object-fit: cover
}

.video-card h3 {
    margin: 8px 10px 2px;
    font-size: 17px;
    color: white
}

.video-card p {
    margin: 0 10px 10px;
    color: #ffdf75;
    font-size: 11px
}

.actualidad {
    background: white;
    color: #111;
    min-height: 390px;
    padding: 30px 42px;
    border-radius: 2px;
    box-shadow: 0 8px 20px #0004
}

.actualidad h2 {
    font-size: 25px;
    margin-bottom: 35px;
    color: #111
}

.noticia-destacada {
    max-width: 760px;
    margin: 0 auto;
    text-align: center
}

.noticia-destacada h3 {
    font-size: 24px;
    margin-bottom: 18px
}

.noticia-destacada p {
    font-size: 18px;
    line-height: 1.5;
    font-weight: bold
}

.acciones {
    margin-top: 26px;
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap
}

.btn {
    display: inline-block;
    background: #061b3d;
    color: white;
    padding: 12px 22px;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 12px
}

.btn:hover {
    background: #0b2e63
}

.btn-secundario {
    background: #0b2e63
}

.doble-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin-top: 24px
}

.bloque {
    background: #f7f7f7;
    color: #0b1730;
    padding: 22px;
    border-radius: 8px
}

.escuela-box {
    display: flex;
    gap: 18px;
    align-items: center
}

.escuela-box img {
    width: 100px;
    flex: 0 0 auto
}

.derecha-col {
    display: flex;
    flex-direction: column;
    gap: 28px
}

.patrocinadores-lateral {
    text-align: center;
    min-height: 260px
}

.carrusel-patrocinadores {
    position: relative;
    height: 150px;
    max-width: 260px;
    margin: 22px auto 0;
    overflow: hidden
}

.carrusel-patrocinadores img {
    position: absolute;
    inset: 0;
    margin: auto;
    max-width: 240px;
    max-height: 125px;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 0;
    animation: carruselPatrocinadores 16s infinite;
    background: white;
    padding: 10px;
    border-radius: 8px
}

.carrusel-patrocinadores img:nth-child(1) {
    animation-delay: 0s
}

.carrusel-patrocinadores img:nth-child(2) {
    animation-delay: 4s
}

.carrusel-patrocinadores img:nth-child(3) {
    animation-delay: 8s
}

.carrusel-patrocinadores img:nth-child(4) {
    animation-delay: 12s
}

@keyframes carruselPatrocinadores {
    0% {
        opacity: 0
    }

    8% {
        opacity: 1
    }

    25% {
        opacity: 1
    }

    33% {
        opacity: 0
    }

    100% {
        opacity: 0
    }
}

.federativos-lateral {
    text-align: center
}

.federativos-lateral h2 {
    background: transparent;
    color: white;
    display: block;
    padding: 0;
    margin-bottom: 18px;
    text-align: center;
}
.logos-federativos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding: 16px;
}

.logos-federativos img {
    max-width: 100%;
    max-height: 84px;
    object-fit: contain
}
.logos-federativos a {
    transition: 0.3s;
}

.logos-federativos a:hover {
    transform: scale(1.05);
}

.footer {
    background: #03152f;
    color: white;
    padding: 22px;
    text-align: center
}

.page-header {
    background: linear-gradient(#0007, #0008), url('../imagenes/foto-club.jpg') center/cover;
    color: white;
    text-align: center;
    padding: 90px 20px
}

.page-header h1 {
    font-size: 42px;
    margin: 0
}

.contenido {
    max-width: 1000px;
    margin: 35px auto;
    padding: 0 20px;
    line-height: 1.6;
    background: white
}

.card {
    background: #f7f7f7;
    border-left: 5px solid var(--oro);
    padding: 22px;
    margin: 18px 0;
    border-radius: 8px
}

@media(max-width:1100px) {
    .portada-modelo-03 {
        grid-template-columns: 1fr
    }

    .videos-mini {
        grid-template-columns: repeat(4, 1fr);
        border-left: 0;
        padding-left: 0
    }

    .derecha-col {
        display: grid;
        grid-template-columns: 1fr 1fr
    }
}

@media(max-width:850px) {
    .brand {
        font-size: 23px;
        align-self: center
    }

    .brand img {
        height: 62px
    }

    .menu {
        flex-wrap: wrap;
        justify-content: center
    }

.submenu {
    display: none;
    position: absolute;
    background: white;
    color: #0b1730;
    box-shadow: 0 10px 25px #0005;
    border-top: 4px solid var(--oro);
    min-width: 220px;
    z-index: 100;
}

.submenu a {
    color: #0b1730;
}

    .hero {
        min-height: 220px
    }

    .videos-mini,
    .doble-info,
    .derecha-col {
        grid-template-columns: 1fr
    }

    .actualidad {
        padding: 24px;
        min-height: auto
    }

    .noticia-destacada p {
        font-size: 16px
    }

    .portada-modelo-03 {
        padding: 20px
    }
}
.facebook-rfeb a {
    display: inline-block;
    margin-top: 8px;
    padding: 8px 14px;
    border: 1px solid var(--oro);
    border-radius: 6px;
    color: white;
    font-weight: bold;
    font-size: 14px;
}

.facebook-rfeb a:hover {
    background: var(--oro);
    color: #061b3d;
}
.contenido p {
    text-align: justify;
    text-indent: 20px;
}
.galeria-campus {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    margin-top: 20px;
}

.galeria-campus img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #d8a928;
    box-shadow: 0 4px 12px #0003;
}
.galeria-campus {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    margin-top: 20px;
}

.galeria-campus img {
    width: 100%;
    max-width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #d8a928;
    box-shadow: 0 4px 12px #0003;
    display: block;
}
.galeria-campus img {
    width: 100%;
    max-width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #d8a928;
    box-shadow: 0 4px 12px #0003;
    display: block;
    transition: transform .3s ease;
}

.galeria-campus img:hover {
    transform: scale(1.03);
}
.videos-campus {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
    margin-top: 20px;
}

.videos-campus video {
    width: 100%;
    max-width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #d8a928;
    box-shadow: 0 4px 12px #0003;
    display: block;
}