:root{
    --videos-hero-min-height:800px;
}

.videos-hero{
    position:relative;
    display:flex;
    align-items:center;
    width:100%;
    min-height:var(--videos-hero-min-height);
    overflow:hidden;
    color:var(--global-white);
    background-color:var(--global-black);
    background-image:linear-gradient(90deg,rgba(0,0,0,.98) 0%,rgba(0,0,0,.94) 40%,rgba(0,0,0,.72) 68%,rgba(0,0,0,.28) 100%),var(--videos-hero-image);
    background-position:center;
    background-repeat:no-repeat;
    background-size:cover;
}

.videos-hero::after{
    content:"";
    position:absolute;
    inset:0;
    border-bottom:1px solid rgba(255,255,255,.16);
    pointer-events:none;
}

.videos-hero-container{
    position:relative;
    z-index:1;
    width:100%;
}

.videos-hero-row{
    align-items:center;
    min-height:var(--videos-hero-min-height);
    padding-top:clamp(4rem,7vw,7rem);
    padding-bottom:clamp(4rem,7vw,7rem);
}

.videos-hero-content{
    max-width:760px;
    padding-left:clamp(0rem,5vw,5.5rem);
}

.videos-hero-logo{
    width:clamp(110px,9vw,150px);
    margin-bottom:clamp(1.8rem,3vw,2.6rem);
}

.videos-hero-logo img{
    width:100%;
    height:auto;
    filter:grayscale(1) contrast(1.08);
}

.videos-hero-content .global-kicker{
    margin-bottom:1.4rem;
    color:rgba(255,255,255,.72);
}

.videos-hero-content h1{
    margin-bottom:1.2rem;
    color:var(--global-heading-dark-bg);
    font-size:clamp(4rem,7.2vw,7.2rem);
    line-height:.92;
    letter-spacing:-.07em;
}

.videos-hero-content p{
    max-width:690px;
    margin-bottom:2rem;
    color:rgba(255,255,255,.72);
    font-size:clamp(1.05rem,1.45vw,1.28rem);
    line-height:1.7;
}

.videos-listado{
    background:var(--global-white);
}

.videos-listado-encabezado{
    margin-bottom:clamp(2.5rem,5vw,4.5rem);
}

.videos-listado-encabezado h2{
    max-width:760px;
    margin:1.2rem 0 0;
    font-size:clamp(2.4rem,4.5vw,4.8rem);
    line-height:1;
    letter-spacing:-.05em;
}

.videos-listado-encabezado p{
    margin-bottom:0;
    color:var(--global-gray-600);
    font-size:.75rem;
    font-weight:700;
    letter-spacing:.1em;
    text-transform:uppercase;
}

.video-card{
    height:100%;
}

.video-card-enlace{
    display:flex;
    flex-direction:column;
    height:100%;
    color:var(--global-black);
}

.video-card-imagen{
    position:relative;
    aspect-ratio:16/9;
    margin:0;
    overflow:hidden;
    background:#111111;
}

.video-card-imagen::after{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.24);
    transition:background var(--global-transition);
}

.video-card-enlace:hover .video-card-imagen::after,
.video-card-enlace:focus-visible .video-card-imagen::after{
    background:rgba(0,0,0,.08);
}

.video-card-imagen img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    filter:grayscale(1);
    transition:transform 700ms ease,filter 500ms ease;
}

.video-card-enlace:hover .video-card-imagen img,
.video-card-enlace:focus-visible .video-card-imagen img{
    transform:scale(1.04);
    filter:grayscale(0);
}

.video-card-play{
    position:absolute;
    z-index:2;
    top:50%;
    left:50%;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:72px;
    height:72px;
    color:var(--global-black);
    background:var(--global-heading-dark-bg);
    border-radius:50%;
    transform:translate(-50%,-50%);
    transition:transform var(--global-transition);
}

.video-card-play i{
    margin-left:4px;
    font-size:2rem;
}

.video-card-enlace:hover .video-card-play,
.video-card-enlace:focus-visible .video-card-play{
    transform:translate(-50%,-50%) scale(1.08);
}

.video-card-contenido{
    position:relative;
    flex:1;
    padding:1.35rem 3rem 1.6rem 0;
    border-bottom:1px solid var(--global-gray-200);
}

.video-card-meta{
    display:block;
    margin-bottom:.45rem;
    color:var(--global-gray-600);
    font-size:.7rem;
    font-weight:700;
    letter-spacing:.1em;
    text-transform:uppercase;
}

.video-card-contenido h3{
    margin-bottom:.25rem;
    font-size:clamp(1.25rem,2vw,1.65rem);
}

.video-card-contenido p{
    margin-bottom:0;
    color:var(--global-gray-600);
}

.video-card-flecha{
    position:absolute;
    top:1.35rem;
    right:0;
    font-size:1.25rem;
    transition:transform var(--global-transition);
}

.video-card-enlace:hover .video-card-flecha,
.video-card-enlace:focus-visible .video-card-flecha{
    transform:translate(3px,-3px);
}

.videos-paginacion{
    display:flex;
    align-items:center;
    justify-content:center;
    flex-wrap:wrap;
    gap:12px;
    margin-top:clamp(3.5rem,6vw,6rem);
    padding-top:1.5rem;
    border-top:1px solid var(--global-gray-200);
}

.videos-pagina{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:52px;
    height:52px;
    color:var(--global-black);
    background:var(--global-white);
    border:1px solid #d8d8d8;
    border-radius:6px;
    font-family:var(--global-font-heading);
    font-size:1rem;
    font-weight:700;
    line-height:1;
    transition:color var(--global-transition),background-color var(--global-transition),border-color var(--global-transition),transform var(--global-transition);
}

.videos-pagina:hover,
.videos-pagina:focus-visible{
    color:var(--global-black);
    background:var(--global-heading-dark-bg);
    border-color:var(--global-heading-dark-bg);
    transform:translateY(-2px);
}

.videos-pagina.is-active{
    color:var(--global-white);
    background:var(--global-black);
    border-color:var(--global-black);
    pointer-events:none;
}

.videos-pagina.is-disabled{
    color:#c5c5c5;
    background:#f5f5f5;
    border-color:#e1e1e1;
    cursor:not-allowed;
    pointer-events:none;
}

.videos-pagina--icono i{
    font-size:1rem;
    line-height:1;
}

.videos-contacto{
    color:var(--global-black);
    background:var(--global-heading-dark-bg);
}

.videos-contacto .global-kicker{
    color:rgba(0,0,0,.62);
}

.videos-contacto h2{
    max-width:820px;
    margin:0 0 1.25rem;
    color:var(--global-black);
    font-size:clamp(2.5rem,5vw,5rem);
}

.videos-contacto p{
    max-width:720px;
    margin-bottom:0;
    color:rgba(0,0,0,.72);
    line-height:1.75;
}

.videos-contacto-button{
    color:var(--global-white);
    background:var(--global-black);
    border-color:var(--global-black);
}

.videos-contacto-button:hover{
    color:var(--global-black);
    background:transparent;
}

@media (max-width:1199.98px){
    :root{
        --videos-hero-min-height:720px;
    }

    .videos-hero-content{
        padding-left:0;
    }
}

@media (max-width:991.98px){
    :root{
        --videos-hero-min-height:680px;
    }

    .videos-hero{
        background-image:linear-gradient(90deg,rgba(0,0,0,.96) 0%,rgba(0,0,0,.84) 60%,rgba(0,0,0,.45) 100%),var(--videos-hero-image);
    }

    .videos-hero-content{
        max-width:650px;
    }

    .videos-hero-logo{
        width:150px;
    }
}

@media (max-width:767.98px){
    :root{
        --videos-hero-min-height:620px;
    }

    .videos-hero{
        background-image:linear-gradient(180deg,rgba(0,0,0,.78) 0%,rgba(0,0,0,.96) 100%),var(--videos-hero-image);
        background-position:62% center;
    }

    .videos-hero-row{
        padding-top:3rem;
        padding-bottom:3rem;
    }

    .videos-hero-logo{
        width:150px;
        margin-bottom:1.5rem;
    }

    .videos-hero-content h1{
        font-size:clamp(3rem,15vw,4.8rem);
    }

    .videos-hero-content p{
        font-size:1rem;
    }
}

.videos-hero h1,
.videos-hero h2,
.videos-hero h3,
.videos-hero h4,
.videos-hero h5,
.videos-hero h6{
    color:var(--global-heading-dark-bg);
}
