/* =========================================================
   PODCAST REELS
========================================================= */

.simba-podcast-reels {
    width: 100%;
    padding: 80px 0;
    background: #ffffff;
}

.simba-podcast-reels .simba-container {
    width: min(1100px, calc(100% - 40px));
    margin: 0 auto;
}


/* =========================================================
   HEADER
========================================================= */

.simba-podcast-reels__header {
    max-width: 760px;
    margin: 0 auto 42px;
    text-align: center;
}

.simba-podcast-reels__eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    color: #d4af37;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.simba-podcast-reels__title {
    margin: 0;
    color: #172033;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.15;
    font-weight: 700;
}

.simba-podcast-reels__description {
    margin: 16px auto 0;
    max-width: 680px;
    color: #666666;
    font-size: 16px;
    line-height: 1.7;
}


/* =========================================================
   GRID
========================================================= */

.simba-podcast-reels__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}


/* =========================================================
   CARD
========================================================= */

.simba-podcast-reel {
    min-width: 0;
}

.simba-podcast-reel__preview {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    text-align: left;
}

.simba-podcast-reel__video-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border: 1px solid #eadfba;
    border-radius: 18px;
    background: #111111;
    box-shadow: 0 10px 30px rgba(23, 32, 51, 0.08);
}

.simba-podcast-reel__video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #111111;
    pointer-events: none;
}


/* =========================================================
   PLAY BUTTON
========================================================= */

.simba-podcast-reel__play {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 3;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 72px;
    height: 72px;

    transform: translate(-50%, -50%);

    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;

    background: rgba(23, 32, 51, 0.65);
    color: #ffffff;

    font-size: 24px;

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.simba-podcast-reel__play span {
    display: block;
    margin-left: 4px;
}

.simba-podcast-reel__preview:hover .simba-podcast-reel__play {
    transform: translate(-50%, -50%) scale(1.08);
    background: rgba(212, 175, 55, 0.9);
}


/* =========================================================
   LOADING
========================================================= */

.simba-podcast-reel__loading {
    position: absolute;
    inset: 0;
    z-index: 2;

    display: none;

    align-items: center;
    justify-content: center;

    background: rgba(0, 0, 0, 0.15);
}

.simba-podcast-reel__loading::after {
    content: "";
    width: 30px;
    height: 30px;

    border: 3px solid rgba(255, 255, 255, 0.4);
    border-top-color: #ffffff;

    border-radius: 50%;

    animation: simbaPodcastSpin 0.8s linear infinite;
}

.simba-podcast-reel.is-loading .simba-podcast-reel__loading {
    display: flex;
}

@keyframes simbaPodcastSpin {
    to {
        transform: rotate(360deg);
    }
}


/* =========================================================
   CONTENT
========================================================= */

.simba-podcast-reel__content {
    padding: 16px 4px 0;
}

.simba-podcast-reel__title {
    margin: 0;
    color: #172033;
    font-size: 20px;
    line-height: 1.35;
    font-weight: 700;
}

.simba-podcast-reel__description {
    margin: 8px 0 0;
    color: #666666;
    font-size: 14px;
    line-height: 1.6;
}


/* =========================================================
   MODAL
========================================================= */

.simba-podcast-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;

    display: none;

    align-items: center;
    justify-content: center;

    padding: 30px;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
}

.simba-podcast-modal.is-open {
    display: flex;
    opacity: 1;
    visibility: visible;
}


/* Overlay */

.simba-podcast-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 12, 18, 0.86);
    backdrop-filter: blur(5px);
}


/* Dialog */

.simba-podcast-modal__dialog {
    position: relative;
    z-index: 2;

    width: min(950px, 100%);

    max-height: calc(100vh - 60px);

    overflow: hidden;

    border: 1px solid #eadfba;
    border-radius: 18px;

    background: #ffffff;

    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);

    transform: translateY(20px);
    transition: transform 0.25s ease;
}

.simba-podcast-modal.is-open .simba-podcast-modal__dialog {
    transform: translateY(0);
}


/* Close */

.simba-podcast-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background: rgba(0, 0, 0, 0.65);
    color: #ffffff;

    cursor: pointer;

    font-size: 30px;
    line-height: 1;
}

.simba-podcast-modal__close:hover {
    background: #d4af37;
}

.simba-podcast-modal__close span {
    display: block;
    margin-top: -3px;
}


/* Modal video */

.simba-podcast-modal__video-wrap {
    position: relative;
    width: 100%;
    background: #000000;
}

.simba-podcast-modal__video {
    display: block;
    width: 100%;
    max-height: 75vh;

    background: #000000;
}


/* Modal loader */

.simba-podcast-modal__loader {
    position: absolute;
    inset: 0;

    display: none;

    align-items: center;
    justify-content: center;

    pointer-events: none;
}

.simba-podcast-modal.is-loading .simba-podcast-modal__loader {
    display: flex;
}

.simba-podcast-modal__loader::after {
    content: "";

    width: 42px;
    height: 42px;

    border: 4px solid rgba(255, 255, 255, 0.35);
    border-top-color: #ffffff;

    border-radius: 50%;

    animation: simbaPodcastSpin 0.8s linear infinite;
}


/* Modal content */

.simba-podcast-modal__content {
    padding: 18px 22px;
}

.simba-podcast-modal__content h3 {
    margin: 0;

    color: #172033;

    font-size: 22px;
    line-height: 1.35;
}


/* =========================================================
   BODY LOCK
========================================================= */

body.simba-podcast-modal-open {
    overflow: hidden;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 800px) {

    .simba-podcast-reels {
        padding: 60px 0;
    }

    .simba-podcast-reels .simba-container {
        width: min(100% - 30px, 650px);
    }

    .simba-podcast-reels__grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .simba-podcast-modal {
        padding: 15px;
    }

    .simba-podcast-modal__dialog {
        max-height: calc(100vh - 30px);
        border-radius: 14px;
    }

    .simba-podcast-modal__video {
        max-height: 70vh;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 480px) {

    .simba-podcast-reels {
        padding: 50px 0;
    }

    .simba-podcast-reels__title {
        font-size: 30px;
    }

    .simba-podcast-reel__video-wrap {
        border-radius: 14px;
    }

    .simba-podcast-reel__play {
        width: 58px;
        height: 58px;
        font-size: 20px;
    }

    .simba-podcast-reel__title {
        font-size: 18px;
    }

    .simba-podcast-modal {
        padding: 10px;
    }

    .simba-podcast-modal__close {
        top: 8px;
        right: 8px;
        width: 38px;
        height: 38px;
        font-size: 26px;
    }

    .simba-podcast-modal__content {
        padding: 14px 16px;
    }

    .simba-podcast-modal__content h3 {
        font-size: 18px;
    }

}