.ep-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8rem 1.5rem 4rem;
}

.ep-header-banner {
    background-color: #DAF1DE;
    border: 1px solid rgba(22, 56, 50, 0.2);
    border-radius: 20px;
    padding: 2rem 1.5rem; 
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.ep-header-banner h2 {
    font-family: 'Cinzel', serif;
    font-size: clamp(2rem, 5vw, 3.5rem); 
    line-height: 1;
    color: #163832; 
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 0;
}

.ep-grid-layout {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 4rem;
    align-items: start;
}

.ep-left-col {
    position: sticky;
    top: 100px;
}

.ep-cover-box {
    background-color: #DAF1DE;
    aspect-ratio: 1 / 1;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    margin-bottom: 2rem;
    border: 1px solid rgba(22, 56, 50, 0.2);
}

.ep-cover-box img {
    width: 70%;
    height: auto;
    object-fit: contain;
    margin-bottom: 1rem;
    filter: drop-shadow(0 10px 10px rgba(0, 0, 0, 0.3));
}

.ep-cover-box h3 {
    color: #163832;
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    margin-top: 0.5rem;
    font-weight: 700;
}

.ep-description {
    background-color: #DAF1DE;
    color: #163832;
    font-size: 1rem;
    line-height: 1.7;
    padding: 1.5rem;
    border-radius: 15px;
    border-left: 4px solid #163832; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.ep-right-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.video-card {
    display: flex;
    flex-direction: column;
    background-color: #DAF1DE;
    padding: 1rem;
    border-radius: 20px;
    transition: var(--transition);
    border: 1px solid rgba(22, 56, 50, 0.2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.video-card:hover {
    border-color: #163832;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.video-thumbnail {
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: #cadbcf;
    border-radius: 15px;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    transition: 0.4s;
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 3rem;
    opacity: 0.9;
    transition: 0.3s;
    z-index: 2;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.video-info h3 {
    color: #163832;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    padding-left: 0.2rem;
}

.lang-options {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.btn-lang {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    border: 1px solid #163832;
    background: transparent;
    color: #163832;
}

.btn-lang.pt:hover {
    background-color: #163832;
    color: #DAF1DE;
}

.btn-lang.es:hover {
    background-color: #e6b32e;
    color: #1a1a1a;
    border-color: #e6b32e;
}

.modal-overlay {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(8px);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 1000px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content video {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 12px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 3rem;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10000;
}

.close-modal:hover {
    transform: scale(1.1);
    color: var(--accent-medium);
}

@media (max-width: 900px) {
    .ep-grid-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .ep-left-col {
        position: static;
        margin-bottom: 2rem;
    }
}

@media (max-width: 600px) {
    .ep-right-grid {
        grid-template-columns: 1fr;
    }

    .ep-header-banner {
        padding: 3rem 1rem;
    }

    .ep-header-banner h2 {
        font-size: 2.5rem;
    }
}