/*
 * MODULE: Videos - Featured videos section
 * Purpose: Styles for videos destacados component
 * WARNING: Do not override global layout here.
 */

/* Wrapper principal con fondo negro */
.sde-videos-section {
    background-color: #000;
    padding: 32px 0;
}

.sde-videos {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}

/* HEADER */
.sde-videos__header {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 0;
    margin-bottom: 24px;
    background: transparent;
    padding: 0;
}

.sde-videos__header .sde-videos__title {
    grid-column: 1;
    grid-row: 1;
}

.sde-videos__header .sde-videos__more {
    grid-column: 2;
    grid-row: 1;
}

.sde-videos-section__separator {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    height: 4px;
    background-color: #fff;
    margin-top: 8px;
}

.sde-videos-section .sde-videos__title {
    font-family: "MJRT", serif !important;
    font-size: 1.9rem !important;
    font-weight: 700 !important;
    margin: 0 !important;
    color: #fff !important;
}

.sde-videos__more {
    font-family: "MarcinAnt", sans-serif !important;
    text-transform: uppercase !important;
    font-size: 0.8rem !important;
    color: #EE3339 !important;
    text-decoration: none !important;
    letter-spacing: .6px !important;
    font-weight: 700 !important;
    margin-top: 0;
}

.sde-videos__more:hover {
    text-decoration: underline;
}

.sde-videos__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.sde-videos__item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sde-videos__embed iframe,
.sde-videos__embed video {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    display: block;
    border-radius: 4px;
    margin-bottom: 4px !important;
}

.sde-videos-section .sde-videos__meta {
    margin: 0 0 2px !important;
    font-family: "MarcinAnt", sans-serif !important;
    font-size: 0.72rem !important;
    display: flex !important;
    gap: 8px !important;
    text-transform: uppercase !important;
}

.sde-videos-section .sde-videos__meta span:first-child {
    color: #EE3339 !important;
}

.sde-videos-section .sde-videos__meta span:last-child {
    color: #bbbbbb !important;
}

.sde-videos-section .sde-videos__headline a {
    font-family: "MJRT", serif;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.25;
    color: #fff !important;
    text-decoration: none;
    display: block;
    margin-top: 6px;
}

.sde-videos-section .sde-videos__headline a:hover {
    color: #d4d4d4;
    text-decoration: underline;
}

.sde-videos-section .sde-videos__headline,
.sde-videos-section h3 {
    margin: 0;
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
}

.sde-videos .embed-wrap {
    margin: 0 !important;
    padding: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 16 / 9 !important;
    overflow: hidden !important;
    display: block;
}

.sde-videos .embed-wrap iframe,
.sde-videos .embed-wrap video {
    width: 100% !important;
    height: 100% !important;
    display: block;
}

.sde-videos-global .sde-videos__title {
    background: #000;
    color: #fff;
    font-family: "MJRT", serif;
    font-size: 2rem;
    padding: 16px 24px;
}

.sde-videos-global .sde-videos__meta {
    font-family: "MarcinAnt", serif;
    font-size: 0.7rem;
    color: #444;
    text-transform: uppercase;
    letter-spacing: .5px;
}

/* Responsive */
@media (max-width: 1024px) {
    .sde-videos {
        max-width: 100%;
        padding: 0 16px;
    }

    .sde-videos__grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

@media (max-width: 768px) {
    .sde-videos-section {
        padding: 24px 0;
    }

    .sde-videos {
        padding: 0 12px;
    }

    .sde-videos__header {
        margin-bottom: 20px;
    }

    .sde-videos-section .sde-videos__title {
        font-size: 1.38rem !important;
        line-height: 1.05 !important;
    }

    .sde-videos-section .sde-videos__item {
        gap: 3px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
        padding-bottom: 16px;
        margin-bottom: 16px;
    }

    .sde-videos-section .sde-videos__item:last-child {
        border-bottom: none;
        padding-bottom: 0;
        margin-bottom: 0;
    }

    .sde-videos-section .sde-videos__headline a {
        font-size: 0.95rem;
        line-height: 1.3;
    }
}