/* =========================================================
   BATTLEIT
   CONTENIDO
========================================================= */


/* =========================================================
   HOME
========================================================= */

.contenido-home {
    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            180deg,
            #071b34 0%,
            #09243e 100%
        );
}


/* =========================================================
   DESTACADO
========================================================= */

.contenido-destacado {
    display: grid;

    grid-template-columns:
        minmax(0, 1.25fr)
        minmax(0, 1fr);

    overflow: hidden;

    margin-top: 35px;
    margin-bottom: 45px;

    border:
        1px solid
        rgba(255,255,255,.10);

    border-radius: 22px;

    background:
        rgba(255,255,255,.045);

    box-shadow:
        0 20px 60px
        rgba(0,0,0,.25);
}


.contenido-destacado-imagen {
    position: relative;

    display: block;

    min-height: 340px;

    overflow: hidden;
}


.contenido-destacado-imagen img {
    display: block;

    width: 100%;
    height: 100%;

    min-height: 340px;

    object-fit: cover;

    transition:
        transform .35s ease;
}


.contenido-destacado:hover
.contenido-destacado-imagen img {
    transform: scale(1.035);
}


.contenido-destacado-info {
    display: flex;

    flex-direction: column;

    justify-content: center;

    padding:
        38px
        36px;
}


.contenido-etiqueta {
    display: inline-flex;

    align-items: center;

    align-self: flex-start;

    gap: 7px;

    margin-bottom: 13px;

    padding:
        7px
        11px;

    border-radius: 50px;

    color: #071b34;

    background: #f3b532;

    font-size: 11px;

    font-weight: 900;

    text-transform: uppercase;

    letter-spacing: .8px;
}


.contenido-tema {
    display: block;

    margin-bottom: 8px;

    color: #f3b532;

    font-size: 12px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: .7px;
}


.contenido-destacado h3 {
    margin:
        0
        0
        16px;

    font-size:
        clamp(
            25px,
            3vw,
            38px
        );

    line-height: 1.1;
}


.contenido-destacado h3 a {
    color: #ffffff;

    text-decoration: none;
}


.contenido-destacado p {
    margin:
        0
        0
        22px;

    color:
        rgba(255,255,255,.72);

    font-size: 15px;

    line-height: 1.7;
}


.contenido-leer {
    display: inline-flex;

    align-items: center;

    align-self: flex-start;

    gap: 7px;

    color: #f3b532;

    font-weight: 900;

    text-decoration: none;
}


/* =========================================================
   LAYOUT
========================================================= */

.contenido-home-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 2fr)
        minmax(280px, .75fr);

    gap: 32px;

    align-items: start;
}


/* =========================================================
   CABECERAS
========================================================= */

.contenido-subtitulo {
    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    margin-bottom: 20px;
}


.contenido-subtitulo span {
    color: #f3b532;

    font-size: 11px;

    font-weight: 900;

    text-transform: uppercase;

    letter-spacing: 1px;
}


.contenido-subtitulo h3 {
    margin:
        5px
        0
        0;

    color: #ffffff;

    font-size: 24px;
}


/* =========================================================
   GRID
========================================================= */

.contenido-grid {
    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0,1fr)
        );

    gap: 20px;
}


/* =========================================================
   TARJETA
========================================================= */

.contenido-card {
    overflow: hidden;

    border:
        1px solid
        rgba(255,255,255,.08);

    border-radius: 16px;

    background:
        rgba(255,255,255,.045);

    transition:
        transform .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}


.contenido-card:hover {
    transform:
        translateY(-4px);

    border-color:
        rgba(243,181,50,.35);

    box-shadow:
        0 15px 35px
        rgba(0,0,0,.20);
}


.contenido-card-imagen {
    display: block;

    aspect-ratio: 16 / 9;

    overflow: hidden;

    background: #061728;
}


.contenido-card-imagen img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform .3s ease;
}


.contenido-card:hover
.contenido-card-imagen img {
    transform:
        scale(1.04);
}


.contenido-card-info {
    padding: 18px;
}


.contenido-card h3 {
    margin:
        0
        0
        10px;

    font-size: 18px;

    line-height: 1.25;
}


.contenido-card h3 a {
    color: #ffffff;

    text-decoration: none;
}


.contenido-card h3 a:hover {
    color: #f3b532;
}


.contenido-card p {
    display: -webkit-box;

    overflow: hidden;

    margin:
        0
        0
        16px;

    color:
        rgba(255,255,255,.62);

    font-size: 13px;

    line-height: 1.6;

    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}


.contenido-card-footer {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    padding-top: 12px;

    border-top:
        1px solid
        rgba(255,255,255,.07);
}


.contenido-card-footer span {
    color:
        rgba(255,255,255,.42);

    font-size: 11px;
}


.contenido-card-footer a {
    color: #f3b532;

    font-size: 12px;

    font-weight: 900;

    text-decoration: none;
}


/* =========================================================
   CARGAR MAS
========================================================= */

.contenido-cargar {
    display: flex;

    justify-content: center;

    margin-top: 28px;
}


.contenido-oculto {
    display: none;
}


/* =========================================================
   MAS VISTOS
========================================================= */

.contenido-popular {
    padding: 23px;

    border:
        1px solid
        rgba(255,255,255,.08);

    border-radius: 18px;

    background:
        rgba(255,255,255,.035);
}


.contenido-popular-lista {
    display: flex;

    flex-direction: column;
}


.contenido-popular-item {
    display: grid;

    grid-template-columns:
        42px
        1fr;

    gap: 13px;

    padding:
        17px
        0;

    border-bottom:
        1px solid
        rgba(255,255,255,.075);

    text-decoration: none;
}


.contenido-popular-item:last-child {
    border-bottom: 0;
}


.contenido-popular-numero {
    color:
        rgba(243,181,50,.35);

    font-size: 28px;

    font-weight: 900;

    line-height: 1;
}


.contenido-popular-item small {
    display: block;

    margin-bottom: 5px;

    color: #f3b532;

    font-size: 10px;

    font-weight: 800;

    text-transform: uppercase;
}


.contenido-popular-item strong {
    display: block;

    margin-bottom: 7px;

    color: #ffffff;

    font-size: 14px;

    line-height: 1.35;
}


.contenido-popular-item:hover strong {
    color: #f3b532;
}


.contenido-popular-item div > span {
    color:
        rgba(255,255,255,.42);

    font-size: 11px;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media(max-width:1000px) {

    .contenido-home-layout {
        grid-template-columns: 1fr;
    }


    .contenido-popular {
        margin-top: 10px;
    }

}


@media(max-width:760px) {

    .contenido-destacado {
        grid-template-columns: 1fr;
    }


    .contenido-destacado-imagen {
        min-height: 230px;
    }


    .contenido-destacado-imagen img {
        min-height: 230px;
    }


    .contenido-destacado-info {
        padding:
            26px
            22px;
    }


    .contenido-grid {
        grid-template-columns: 1fr;
    }

}


@media(max-width:520px) {

    .contenido-destacado {
        border-radius: 15px;
    }


    .contenido-destacado-imagen {
        min-height: 190px;
    }


    .contenido-destacado-imagen img {
        min-height: 190px;
    }


    .contenido-popular {
        padding: 17px;
    }

}