﻿.podcast-page {
    margin: 32px 0;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 29px;
    margin-bottom: 24px;
    position: relative;
}

    .breadcrumb::after {
        content: "";
        position: absolute;
        bottom: 0;
        width: 100%;
        height: 5px;
        background: #C4CBE3;
        clip-path: polygon( 0.4% 0%, 99.6% 0%, 100% 100%, 0% 100% );
    }

.breadcrumb__main {
    font: 700 16px/24px var(--inter-font);
    color: #920818;
}

.breadcrumb__list {
    display: flex;
    align-items: center;
    gap: 8px;
    font: 14px/149% var(--roboto-font);
    color: #5C5C5C;
}

.podcast-layout {
    display: flex;
}

.podcast-layout__left {
    width: 74.528%;
    margin-right: 24px;
}

.podcast-layout__right {
    flex: 1;
    position: relative;
}

.podcast-detail > *:nth-last-child(n+2) {
    margin-bottom: 24px;
}

.podcast-detail__wrapper {
    padding: 16px;
    border-radius: 16px;
    box-shadow: 4px 16px 32px 0px #1111111F;
    border: 1px solid #E9E9E9;
    background-image: url(/asset/img/footer-bg.png);
    background-color: #3A52A3;
    background-position: center -10px;
    background-size: 100% auto;
    background-repeat: no-repeat;
    color: #fff;
}

.podcast-detail__title {
    font: 700 36px/48px var(--serif-font);
    margin-bottom: 16px;
}

.podcast-detail__post-time {
    font: 500 12px/18px var(--inter-font);
    margin-bottom: 24px;
    color: #626262;
}

.podcast-detail__description {
    font: 600 16px/24px var(--inter-font);
    margin-bottom: 8px;
}

.progress-container {
    position: relative;
    width: 100%;
    height: 8px;
    background-color: #EDEDED;
    border-radius: 25px;
    margin-bottom: 8px;
    cursor: pointer;
}

.progress-track {
    width: 20%;
    height: 100%;
    background-color: #EB7580;
    border-radius: 25px;
}

.progress-thumb {
    position: absolute;
    top: 50%;
    transform: translate(-7px, -50%);
    left: 20%;
    width: 15px;
    height: 15px;
    background-color: #920818;
    border-radius: 50%;
}

.podcast-player {
    margin-bottom: 8px;
}

.podcast-duration {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font: 400 16px/24px var(--inter-font);
}

.podcast-control {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.podcast-volumn {
    display: flex;
    align-items: center;
}

    .podcast-volumn > *:nth-child(odd) {
        background-color: transparent;
        border: none;
        width: 24px;
        height: 24px;
        cursor: pointer;
    }

    .podcast-volumn .progress-container {
        min-width: 113px;
        margin: 0 8px;
        height: 5px;
    }

.podcast-button {
    display: flex;
    align-items: center;
    justify-content: center;
}

    .podcast-button > * {
        background-color: transparent;
        border: none;
        cursor: pointer;
    }

        .podcast-button > *:nth-child(odd) {
            width: 24px;
            height: 24px;
        }

.podcast-button__play {
    width: 42px;
    height: 42px;
    margin: 0 18px;
}

.podcast-speed > * {
    font: 700 16px/149% var(--roboto-font);
    color: #EB7580;
    cursor: pointer;
}

.podcast-detail__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-cl);
}

.podcast-detail__social {
    display: flex;
    align-items: center;
    font: 500 14px/20px var(--inter-font);
    gap: 8px;
}

    .podcast-detail__social > *:first-child {
        padding-right: 8px;
    }

.podcast-detail__post-utc {
    font: 600 18px/28px var(--inter-font);
}

.podcast-detail__icon {
    width: 24px;
    height: 24px;
}

.podcast-detail__keyword {
    display: flex;
    align-items: center;
    /* margin-bottom: 24px; */
    /* position: relative; */
    /* padding-bottom: 29px; */
}
/* .podcast-detail__keyword::after{
    content: "";
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 5px;
    background: #C4CBE3;
    clip-path: polygon(
        0.4% 0%,
        99.6% 0%,
        100% 100%,
        0% 100%
    );
} */
.podcast-detail__keyword-text {
    font: 500 14px/20px var(--inter-font);
    color: #000;
    margin-right: 16px;
}

.podcast-detail__keyword-list {
    display: flex;
    gap: 16px;
    align-items: center;
}

    .podcast-detail__keyword-list > * {
        padding: 8px 16px;
        border-radius: 40px;
        font: 14px/20px var(--inter-font);
        border: 1px solid var(--border-cl);
        color: var(--neutral-500);
    }

.podcast-detail__sub {
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    position: relative;
    padding-bottom: 29px;
}

    .podcast-detail__sub::after {
        content: "";
        position: absolute;
        bottom: 0;
        width: 100%;
        height: 5px;
        background: #C4CBE3;
        clip-path: polygon( 0.4% 0%, 99.6% 0%, 100% 100%, 0% 100% );
    }

    .podcast-detail__sub > * {
        width: calc((100% - 48px) / 3);
    }

        .podcast-detail__sub > *:nth-last-child(n+2) {
            margin-right: 24px;
        }

.podcast-layout__track {
    position: absolute;
    inset: 0;
}

.podcast-layout__thumb {
    position: sticky;
    top: 70px;
}

.podcast-layout__title > * {
    display: flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
}

.podcast-layout__title {
    font: 700 24px/32px var(--inter-font);
    color: var(--primary-500);
    text-transform: uppercase;
    margin-bottom: 24px;
}

.podcast-relate__list > * {
    display: flex;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-cl);
}

.podcast-relate__more > * {
    display: block;
    width: fit-content;
    padding: 8px 24px;
    color: #fff;
    border-radius: 8px;
    background-color: var(--primary-500);
    font: 600 16px/24px var(--inter-font);
    margin: 0 auto;
}

    .podcast-relate__more > *:hover {
        color: #fff;
    }

.podcast-relate__list .new-article__thumb {
    width: 34.177%;
    margin-bottom: 0;
    margin-right: 16px;
}

.podcast-relate__list .new-article__info {
    flex: 1;
}

.podcast-layout__side > *:nth-child(n+2) .new-article__thumb {
    display: none;
}

.podcast-layout__side > * {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-cl);
}

.podcast-layout .banner > * {
    display: block;
    width: 100%;
    height: auto;
}

.podcast-layout .banner img {
    width: 100%;
    object-fit: cover;
}

.podcast-layout__thumb > *:nth-last-child(2).banner {
    margin-bottom: 24px;
}

@media screen and (max-width: 768px) {
    .podcast-layout__track, .podcast-layout__thumb {
        position: static;
    }

    .podcast-page {
        margin: 16px 0;
    }

    .breadcrumb__list {
        display: none;
    }

    .breadcrumb {
        padding-bottom: 21px;
        margin-bottom: 16px;
    }

    .podcast-layout {
        flex-direction: column;
    }

    .podcast-layout__left {
        width: 100%;
        margin-right: 0;
    }

    .podcast-detail__title {
        font: 700 24px/32px var(--serif-font);
        margin-bottom: 8px;
    }

    .podcast-detail__post-time {
        margin-bottom: 16px;
    }

    .podcast-control {
        flex-direction: column;
    }

    .podcast-volumn {
        display: none;
    }

    .podcast-button {
        margin-bottom: 16px;
    }

    .podcast-detail__wrapper {
        background-position: left -90px;
        background-size: 200% auto;
        margin-bottom: 16px;
    }

    .podcast-detail__description {
        margin-bottom: 10px;
    }

    .podcast-detail__footer {
        flex-direction: column;
        align-items: flex-start;
        padding-bottom: 16px;
    }

    .podcast-detail__social {
        margin-bottom: 16px;
    }

    .podcast-detail__keyword {
        position: relative;
        padding-bottom: 16px;
        margin-bottom: 16px;
        border-bottom: 1px solid #E9E9E9;
    }

    .podcast-detail > *:nth-last-child(n+2) {
        margin-bottom: 16px;
    }

    .podcast-detail__sub {
        flex-direction: column;
        padding-bottom: 21px;
        margin-bottom: 16px;
    }

        .podcast-detail__sub > *:nth-last-child(n+2) {
            margin-right: 0;
            margin-bottom: 16px;
            padding-bottom: 16px;
            border-bottom: 1px solid var(--border-cl);
        }

        .podcast-detail__sub > * {
            display: flex;
            width: 100%;
        }

        .podcast-detail__sub .new-article__thumb {
            width: 40.233%;
            margin-bottom: 0;
            margin-right: 8px;
        }

            .podcast-detail__sub .new-article__thumb > *, .podcast-relate .new-article__thumb > * {
                border-radius: 8px;
            }

        .podcast-detail__sub .new-article__info {
            flex: 1;
        }

    .podcast-relate {
        margin-bottom: 16px;
    }

        .podcast-relate .podcast-layout__title {
            margin-bottom: 16px;
        }

        .podcast-relate .new-article__description {
            display: none;
        }

    .podcast-relate__list > * {
        margin-bottom: 16px;
        padding-bottom: 16px;
    }

    .podcast-layout__right .podcast-layout__title {
        margin-bottom: 16px;
        font-size: 18px;
        line-height: 28px;
    }

    .podcast-layout__side > * {
        margin-bottom: 16px;
        padding-bottom: 16px;
    }

        .podcast-layout__side > *:last-child {
            border-bottom: none;
        }

    .podcast-layout__thumb > *:nth-last-child(2).banner {
        margin-bottom: 0;
    }
}
