/* Elements */
.episode {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 35rem;
    width: 100%;
    background-color: var(--white);
    border-radius: var(--border-radius);
    color: var(--black);
    padding: 1rem;

    @media (max-width: 671px) {
        aspect-ratio: 3/4;
        max-width: 400px;
        margin: auto;
    }

    .coming-soon {
        position: absolute;
        top: -1rem;
        left: -1rem;
        bottom: -1rem;
        right: -1rem;
        padding: 2rem;
        display: grid;
        background-color: rgba(0,0,0,0.80);
        backdrop-filter: blur(5px);
        z-index: 2;
        color: var(--white);
        grid-template-columns: 1fr 2fr;
    }

    img {
        position: absolute;
        pointer-events: none;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        border-radius: var(--border-radius);
        z-index: -1;
    }

    .episode-info {
        display: flex;
        flex-direction: column;
        gap: 0.8rem;

        .gap {
            display: flex;
            flex-direction: column;
            gap: 0.25rem;
        }
    }
}

.panelist {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 26rem;

    .panelist-details {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        min-height: 5rem;
    }

    .h4 {
        text-wrap: balance;
    }

    img, .no-image {
        width: 60%;
        aspect-ratio: 1/1;
        margin-bottom: 1rem;
    }

    .no-image {
        background-color: rgba(255, 255, 255, 0.1);
    }
}

.event {
    .image {
        grid-column: span 3;
        width: 100%;
    }
}

.earth {
    position: fixed;
    top: 5rem;
    left: 5rem;
    width: 6rem;
    height: 6rem;
    z-index: 5;
    pointer-events: none;

    @media (max-width: 671px) {
        display: none;
    }

    img {
        width: 100%;
        height: 100%;
        opacity: 0;
        object-fit: contain;
        object-position: center;
        filter: drop-shadow(2rem 2rem 1rem rgba(0,0,0,0.5));
    }
}