.home-page {
    padding: 0 0 48px;
}

.home-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 32px;
    align-items: start;
    margin-top: 28px;
}

.home-section-title {
    margin: 0 0 16px;
    padding-bottom: 10px;
    font-size: 1.35rem;
    font-weight: 700;
    color: #033f88;
    line-height: 1.2;
    border-bottom: 3px solid #f9a800;
}

.home-events-nav {
    padding: 24px 22px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(3, 63, 136, 0.08);
}

.home-events-banner {
    display: block;
    line-height: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(3, 63, 136, 0.1);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    text-decoration: none;
}

.home-events-banner:hover,
.home-events-banner:focus {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(3, 63, 136, 0.16);
    text-decoration: none;
}

.home-events-banner-img {
    display: block;
    width: 100%;
    max-width: 300px;
    height: auto;
}

.home-events-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.home-events-link {
    display: block;
    padding: 11px 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #033f88;
    text-decoration: none;
    background: #f7f8fb;
    transition: background 0.2s ease, color 0.2s ease;
}

.home-events-link:hover,
.home-events-link:focus {
    background: #033f88;
    color: #ffffff;
    text-decoration: none;
}

.home-featured {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.home-promo-card {
    display: block;
    line-height: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.home-promo-card:hover,
.home-promo-card:focus {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
}

.home-promo-card img {
    display: block;
    width: 100%;
    height: auto;
}

.home-video-section {
    padding: 24px 26px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(3, 63, 136, 0.08);
}

.home-video-section .home-section-title {
    margin-bottom: 18px;
}

.home-video-card {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    border-radius: 12px;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.home-video-card:hover,
.home-video-card:focus {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
    outline: none;
}

.home-video-thumb {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    background: #111111;
}

.home-video-thumb img,
.home-video-preview {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    background: #111111;
}

.home-video-thumb--mp4 {
    background: linear-gradient(135deg, #033f88 0%, #022a5c 100%);
}

.fv-modal-video-wrap.fv-modal-video-wrap--mp4 {
    padding-bottom: 0;
    height: auto;
    overflow: visible;
    line-height: 0;
}

.fv-modal-dialog--video .fv-modal-close {
    top: 10px;
    right: 10px;
}

.home-modal-video-player {
    display: block;
    width: 100%;
    height: auto;
    max-height: 80vh;
    border-radius: 12px;
    background: #000000;
    vertical-align: top;
}

.home-video-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(3, 63, 136, 0.32);
    transition: background 0.2s ease;
}

.home-video-play::after {
    content: "";
    width: 0;
    height: 0;
    margin-left: 6px;
    border-style: solid;
    border-width: 22px 0 22px 38px;
    border-color: transparent transparent transparent #ffffff;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}

.home-video-card:hover .home-video-play,
.home-video-card:focus .home-video-play {
    background: rgba(249, 168, 0, 0.48);
}

/* Eventos Anteriores detail page */
.ea-page {
    padding: 0 0 48px;
}

.ea-breadcrumb {
    padding-top: 20px;
    margin-bottom: 8px;
    font-size: 14px;
}

.ea-breadcrumb a {
    color: #033f88;
    font-weight: 600;
    text-decoration: none;
}

.ea-breadcrumb a:hover,
.ea-breadcrumb a:focus {
    color: #f9a800;
    text-decoration: underline;
}

.ea-page-title {
    margin: 0 0 28px;
    padding-bottom: 12px;
    font-size: 2rem;
    font-weight: 700;
    color: #033f88;
    border-bottom: 3px solid #f9a800;
}

.ea-category {
    display: flex;
    gap: 28px;
    align-items: flex-start;
    margin-bottom: 32px;
    padding: 24px 28px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(3, 63, 136, 0.08);
}

.ea-category-visual {
    flex-shrink: 0;
    width: 180px;
}

.ea-category-visual img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.ea-category-body {
    flex: 1;
    min-width: 0;
}

.ea-category-name {
    margin: 0 0 14px;
    font-size: 1.25rem;
    font-weight: 700;
    color: #033f88;
}

.ea-year-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ea-year-link {
    display: inline-block;
    padding: 8px 14px;
    background: #f7f8fb;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    color: #033f88;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.ea-year-link:hover,
.ea-year-link:focus {
    background: #f9a800;
    color: #ffffff;
    text-decoration: none;
}

@media (max-width: 991.98px) {
    .home-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .ea-category {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .ea-category-visual {
        width: 160px;
    }

    .ea-year-list {
        justify-content: center;
    }
}

@media (max-width: 767.98px) {
    .home-page-title,
    .ea-page-title {
        font-size: 1.65rem;
    }
}
