﻿.podcast-wrapper {
    max-width: 1100px;
    margin: auto;
    padding: 2rem 1rem;
    font-family: system-ui, Arial, sans-serif;
}

/* HEADER */
.podcast-header {
    text-align: center;
    margin-bottom: 2rem;
}

    .podcast-header h2 {
        font-size: 1.75rem;
        font-weight: 700;
        text-transform: uppercase;
        color: #111;
        margin: 0;
    }

.podcast-divider {
    width: 50px;
    height: 3px;
    background: #0078d4;
    margin: .75rem auto 0;
}

/* CARD CONTAINER */
.podcast-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

/* CARD */
.podcast-card {
    flex: 1 1 300px;
    max-width: 340px;
    background: #fff;
    border: 1px solid #ddd;
    padding: 1.5rem;
    box-shadow: 0 2px 6px rgba(0,0,0,.05);
    transition: .25s;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

    .podcast-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 12px rgba(0,0,0,.1);
    }

    .podcast-card img {
        width: 100%;
        object-fit: cover;
        margin-bottom: 1rem;
        border-radius: 7px;
    }

    .podcast-card h3 {
        font-size: 1.1rem;
        font-weight: 600;
        color: #222;
        margin-bottom: .5rem;
    }

.podcast-summary {
    font-size: .95rem;
    color: #555;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.podcast-link {
    color: #f25c05;
    font-weight: 600;
    text-decoration: none;
}

    .podcast-link:hover {
        text-decoration: underline;
    }

/* ============================= */
/*            MODAL             */
/* ============================= */

.modal {
    position: fixed;
    inset: 0;
    display: none;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: opacity 0.25s ease;
    z-index: 2000;
}

    .modal.show {
        display: flex;
        opacity: 1;
    }

.modal-content {
    background: #fff;
    width: 900px;
    max-width: 95%;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    transform: translateY(20px);
    transition: transform 0.25s ease;
    position: relative;
}

.modal.show .modal-content {
    transform: translateY(0);
}

/* CLOSE BUTTON */
.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.6rem;
    color: #666;
    cursor: pointer;
}

    .modal-close:hover {
        color: #000;
    }

/* MODAL BODY */
.modal-container {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}
.video-placeholder {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 6px;
    background: #f3f3f3;
    margin-bottom: 1rem;
    aspect-ratio: 16 / 9;
}

.video-placeholder-img {
    margin: 2.5rem;
    object-fit: cover;
}

/* LEFT */
.left-column-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-top: 2rem;
    width: 100%;
}

.modal-video iframe {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 8px;
    border: none;
}

/* RIGHT */
.modal-details {
    flex: 1;
    display: flex;
    flex-direction: column;
}

    .modal-details h2 {
        font-size: 1.6rem;
        font-weight: 700;
        margin-bottom: .3rem;
    }

.modal-subtitle {
    font-size: .9rem;
    color: #666;
    font-weight: 600;
    margin-bottom: 1rem;
}

#modalDescription {
    font-size: 1rem;
    line-height: 1.6;
}

/* SHARE ICONS */

.share-icons {
    display: flex;
    flex-direction: row;
}
.icons {
    display: flex;
    gap: 12px;
}

    .icons img {
        width: 30px;
        height: 30px;
        transition: 0.2s;
    }

        .icons img:hover {
            transform: scale(1.1);
        }

.icon-wrapper {
    width: 34px;
    height: 34px;
    min-width: 34px;
    min-height: 34px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 6px;
    overflow: hidden; 
    border-radius: 4px; 
    background: #0000; 
    cursor: pointer;
}

    .icon-wrapper i,
    .icon-wrapper img,
    .icon-wrapper svg {
        width: 100%;
        height: 100%;
        object-fit: contain;
        font-size: 28px;
    }
    .icon-wrapper i {
        font-size: 26px; 
        line-height: 1;
        display: flex;
        align-items: center;
        justify-content: center;
    }
/* ============================= */
/*           toast            */
/* ============================= */

#copyToast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: #003f72;
    color: #fff;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 14px;
    opacity: 0;
    transition: opacity .3s ease;
    pointer-events: none;
}
/* ============================= */
/*           MOBILE              */
/* ============================= */

@media (max-width: 768px) {

    .podcast-card {
        padding: 1rem;
    }

    /* Modal scroll */
    .modal-content {
        padding: 1.5rem;
        max-height: 90vh;
        overflow-y: auto;
    }

    /* STACK MODAL COLUMNS */
    .modal-container {
        flex-direction: column;
        gap: 1.5rem;
    }

    .modal-details h2 {
        font-size: 1.3rem;
    }

    .modal-subtitle {
        font-size: .85rem;
    }
    .icon-wrapper {
        width: 28px;
        height: 28px;
        min-width: 28px;
        min-height: 28px;
    }

        .icon-wrapper i {
            font-size: 22px;
        }
}
