﻿.podcast-page {
    display: flex;
    justify-content: center;
    background: #FFF;
}

.podcast-grid {
    margin: 0 auto;
    max-width: 1680px;
}

:root {
    --c1: transparent linear-gradient(180deg, #9896D4 0%, #807EC1 100%) 0% 0% no-repeat padding-box;
    --c1-more: #9896D4;
    --c2: transparent linear-gradient(180deg, #82B3D2 0%, #5998BF 100%) 0% 0% no-repeat padding-box;
    --c2-more: #82B3D2;
    --c3: transparent linear-gradient(180deg, #8EA4D3 0%, #627CB4 100%) 0% 0% no-repeat padding-box;
    --c3-more: #8EA4D3;
    --c4: transparent linear-gradient(180deg, #B28ACA 0%, #9C6FB7 100%) 0% 0% no-repeat padding-box;
    --c4-more: #B28ACA;
    --c5: transparent linear-gradient(180deg, #BC90C1 0%, #AE78B4 100%) 0% 0% no-repeat padding-box;
    --c5-more: #BC90C1;
    --c6: transparent linear-gradient(180deg, #D5A1A8 0%, #BE828A 100%) 0% 0% no-repeat padding-box;
    --c6-more: #D5A1A8;
    --c7: transparent linear-gradient(180deg, #6ECDD0 0%, #45B0B2 100%) 0% 0% no-repeat padding-box;
    --c7-more: #6ECDD0;
    --c8: transparent linear-gradient(180deg, #45B0B2 0%, #D68B6C 100%) 0% 0% no-repeat padding-box;
    --c8-more: #45B0B2;
}

.color1 {
    background: var(--c1) !important;
}

    .color1 .podcast-more a {
        background-color: var(--c1-more) !important;
    }

.color2 {
    background: var(--c2) !important;
}

    .color2 .podcast-more a {
        background-color: var(--c2-more) !important;
    }

.color3 {
    background: var(--c3) !important;
}

    .color3 .podcast-more a {
        background-color: var(--c3-more) !important;
    }

.color4 {
    background: var(--c4) !important;
}

    .color4 .podcast-more a {
        background-color: var(--c4-more) !important;
    }

.color5 {
    background: var(--c5) !important;
}

    .color5 .podcast-more a {
        background-color: var(--c5-more) !important;
    }

.color6 {
    background: var(--c6) !important;
}

    .color6 .podcast-more a {
        background-color: var(--c6-more) !important;
    }

.color7 {
    background: var(--c7) !important;
}

    .color7 .podcast-more a {
        background-color: var(--c7-more) !important;
    }

.color8 {
    background: var(--c8) !important;
}

    .color8 .podcast-more a {
        background-color: var(--c8-more) !important;
    }

.podcast-container {
    display: inline-grid;
    grid-template-columns: repeat(2, minmax(324px, 795px));
    gap: 89px;
    width: 100%;
    justify-content: center;
}

.podcast-background {
    background: transparent linear-gradient(180deg, #9896D4 0%, #807EC1 100%) 0% 0% no-repeat padding-box;
    border-radius: 15px;
    margin-top: 4rem;
    margin-bottom: 0.5rem;
    display: flex;
    flex-direction: column;
    border: 1px solid #CBCBCB;
}

.podcast-content {
    background-color: #FFFFFF;
    margin-bottom: 7px;
    border-radius: 0 0 15px 15px;
    padding: 20px 32px 46px 32px;
    height: 100%;
}

    .podcast-content .podcast-info-border {
        height: 175px;
    }

    .podcast-content .podcast-info {
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 4;
        font-size: 20px;
        line-height: 35px;
        color: #454545;
    }

    .podcast-content .podcast-more {
        text-align: center;
        margin: 20px;
    }

        .podcast-content .podcast-more a {
            background-color: #9896D4;
            padding: 12px 24px;
            color: #FFFFFF;
            border-radius: 25px;
            text-decoration: none;
            font-size: 20px;
            /*font: normal normal bold 20px/46px Noto Sans Syriac*/
        }

    .podcast-content .podcast-date {
        display: flex;
        align-items: center;
        margin-bottom: 5px;
    }

        .podcast-content .podcast-date i {
            margin-right: 7px;
        }

        .podcast-content .podcast-date span {
            color: #7C7B7B;
            font-size: 16px;
        }

    .podcast-content .podcast-name {
        color: #454545;
        font-size: 20px;
        font-weight: bold;
    }

        .podcast-content .podcast-name .podcast-new {
            margin: 5px 0;
        }

            .podcast-content .podcast-name .podcast-new img {
                width: 63px;
            }

.podcast-top {
    position: relative;
    display: flex;
    align-items: flex-end;
    padding-bottom: 27px;
    background: transparent linear-gradient(180deg, #9896D4 0%, #807EC1 100%) 0% 0% no-repeat padding-box;
    border-radius: 15px 15px 0 0;
}

    .podcast-top .podcast-image {
        position: absolute;
        top: -3.8rem;
        left: 1.5rem;
    }

        .podcast-top .podcast-image img {
            width: 200px;
            height: 200px;
            background-color: #FFF;
            border-radius: 20px;
            border: 3px solid #FFFFFF;
        }

    .podcast-top .podcast-title {
        color: #FAFAFA;
        font-size: 32px;
        display: flex;
        align-items: flex-end;
        font-weight: bold;
    }

        .podcast-top .podcast-title .clear {
            min-width: 15rem;
            height: 143px;
        }

/*detail page*/
.podcast-detail-top {
    display: flex;
}

    .podcast-detail-top .podcast-detail-image {
        margin-right: 21px;
        min-width: 245px;
    }

        .podcast-detail-top .podcast-detail-image img {
            width: 245px;
            border-radius: 20px;
        }

    .podcast-detail-top .podcast-detail-title {
        font-size: 32px;
        font-weight: bold;
        color: #222222;
        margin-bottom: 13px;
    }

    .podcast-detail-top .podcast-detail-info {
        font-size: 20px;
        color: #222222;
        line-height: 1.8;
    }

.podcast-detail-filter {
    margin: 35px 0 17px 0;
    display: flex;
    justify-content: flex-end;
}

    .podcast-detail-filter .podcast-detail-sort {
        width: 107px;
        border: solid 1px #CBCBCB;
        text-align: center;
        padding: 11px 39px;
        border-radius: 45px;
    }

        .podcast-detail-filter .podcast-detail-sort img {
            width: 30px;
        }

.ui-selectmenu-button.ui-button {
    text-align: center;
    padding: 11px 20px;
    border-radius: 45px;
    margin-right: 8.5px;
    width: 225px;
    font-size: 20px;
}

.ui-icon {
    width: 20px;
    height: 100%;
    background-position: center;
}

    .ui-icon.custom-icon {
        background-image: url(/Podcast/images/arrow-down.svg) !important;
    }

.ui-selectmenu-button:focus {
    background-color: #9896D4;
    color: #FFF;
}

.ui-selectmenu-text {
    height: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    /*margin-right: 52px;*/
}

.ui-selectmenu-menu .ui-menu {
    margin-top: 12px;
    border-radius: 15px;
    max-height: 283px;
}

.ui-menu .ui-menu-item:hover {
    background-color: #9896D4;
}

.ui-menu .ui-menu-item-wrapper {
    padding: 13px 22px;
    font-size: 24px;
    border-bottom: #CBCBCB 1px solid;
}

.ui-state-active, .ui-menu-item-wrapper:hover {
    background-color: #9896D4 !important;
    border: 1px solid #9896D4 !important;
}

.podcast-detail-down .podcast-detail-content {
    border: solid 1px #CBCBCB;
    border-radius: 18px;
    padding: 20px 36px 16px 36px;
    margin-bottom: 24px;
}

    .podcast-detail-down .podcast-detail-content:hover .podcast-detail-episode-title {
        color: #9896D4;
    }

.podcast-detail-down .podcast-detail-datetime {
    display: flex;
}

.podcast-detail-down .podcast-detail-date {
    display: flex;
    align-items: center;
    margin-right: 36px;
}

    .podcast-detail-down .podcast-detail-date i {
        margin-right: 7px;
        display: flex;
        align-items: center;
    }

    .podcast-detail-down .podcast-detail-date span {
        color: #7C7B7B;
        font-size: 16px;
    }

.podcast-detail-episode .podcast-detail-episode-title {
    color: #454545;
    font-size: 20px;
    font-weight: bold;
    margin: 6px 0;
}

.podcast-detail-episode .podcast-detail-episode-content {
    color: #7C7B7B;
    margin: 6px 0;
    font-size: 18px;
    /*font: normal normal normal 18px/30px Noto Sans Syriac;*/
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.podcast-detail-episode .podcast-detail-episode-tag i {
    margin-right: 8px;
}

.more {
    display: none;
    text-align: center;
}

.footer-head {
    background: #FFF;
}

.details {
    display: block !important;
}

@media screen and (max-width: 1440px) {
    .podcast-grid {
        /*margin: 0 60px;*/
    }

    .podcast-container {
        gap: 61px;
    }

    .podcast-top {
        padding-bottom: 19px;
    }

        .podcast-top .podcast-image img {
            width: 150px;
            height: 150px;
        }

        .podcast-top .podcast-title .clear {
            min-width: 12rem;
            height: 93px;
        }

    .podcast-content {
        padding: 20px 32px 25px 32px;
    }

        .podcast-content .podcast-more a {
            padding: 15px 35px;
        }

    .podcast-detail-top .podcast-detail-image {
        margin-right: 26px;
        min-width: 200px;
    }

        .podcast-detail-top .podcast-detail-image img {
            width: 200px;
        }

    .ui-menu .ui-menu-item-wrapper {
        font-size: 20px;
    }

    .ui-selectmenu-menu .ui-menu {
        max-height: 250px;
    }
}

@media screen and (max-width: 1024px) {
    .podcast-grid {
        /*margin: 0 48px;*/
    }

    .podcast-container {
        gap: 24px;
    }

    .podcast-top {
        padding-bottom: 8px;
    }

        .podcast-top .podcast-image img {
            width: 85px;
            height: 85px;
        }

        .podcast-top .podcast-title .clear {
            min-width: 7rem;
            height: 71px;
        }

        .podcast-top .podcast-title {
            font-size: 20px;
        }

        .podcast-top .podcast-image {
            top: -1rem;
            left: 1rem;
        }

    .podcast-content {
        padding: 12px 10px 21px 10px;
    }

        .podcast-content .podcast-info {
            -webkit-line-clamp: 3;
            font-size: 16px;
            line-height: 25px;
        }

        .podcast-content .podcast-info-border {
            height: 100px;
        }

        .podcast-content .podcast-more {
            margin: 8px;
        }

            .podcast-content .podcast-more a {
                padding: 8px 17px;
                font-size: 14px;
            }

        .podcast-content .podcast-date span {
            color: #7C7B7B;
            font-size: 14px;
        }

        .podcast-content .podcast-name {
            font-size: 16px;
        }

            .podcast-content .podcast-name .podcast-new img {
                width: 50px;
            }

    .podcast-detail-top .podcast-detail-image {
        margin-right: 11px;
        min-width: 100px;
    }

        .podcast-detail-top .podcast-detail-image img {
            width: 100px;
            border-radius: 10px;
        }

    .podcast-detail-top .podcast-detail-title {
        font-size: 22px;
        margin-bottom: 0;
    }

    .podcast-detail-top .podcast-detail-info {
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        font-size: 16px;
        line-height: 25px;
    }

    .ui-selectmenu-text {
        margin-right: 0;
    }

    .ui-selectmenu-button.ui-button {
        padding: 13px 15px;
        border-radius: 60px;
        width: 164px;
        font-size: 16px;
    }

    .ui-menu .ui-menu-item-wrapper {
        padding: 14px 13px;
        font-size: 14px;
    }

    .ui-selectmenu-menu .ui-menu {
        margin-top: 12px;
        border-radius: 15px;
        max-height: 230px;
    }

    .podcast-detail-filter .podcast-detail-sort {
        width: 84.5px;
        padding: 13px 32px;
    }

        .podcast-detail-filter .podcast-detail-sort img {
            width: 19px;
        }

    .podcast-detail-down .podcast-detail-datetime {
        font-size: 14px;
    }

        .podcast-detail-down .podcast-detail-datetime img {
            width: 20px;
        }

    .podcast-detail-episode .podcast-detail-episode-title {
        font-size: 18px;
        margin-top: 15px;
    }

    .podcast-detail-episode .podcast-detail-episode-content {
        margin: 9px 0;
        font-size: 16px;
    }

    .podcast-detail-episode-tag img {
        width: 50px;
    }

    .podcast-detail-filter {
        margin: 13px 0 17px 0;
    }

    .more {
        display: block;
    }
}

@media screen and (max-width: 768px) {
    .podcast-page {
        display: block;
    }

    .podcast-grid {
        /*margin: 0 20px;*/
    }

    .podcast-container {
        display: inline-block;
    }

    .podcast-background {
        margin-top: 2rem;
    }

    .podcast-content .podcast-info {
        -webkit-line-clamp: 4;
        font-size: 18px;
    }

    .podcast-content .podcast-info-border {
        height: 128px;
    }

    .podcast-content .podcast-more a {
        font-size: 18px;
    }

    .podcast-content .podcast-date span {
        font-size: 16px;
    }

    .podcast-content .podcast-name {
        font-size: 18px;
    }

    .podcast-detail-top {
        display: block;
    }

        .podcast-detail-top .podcast-detail-image {
            min-width: 84px;
            width: 84px;
            height: 84px;
            float: left;
        }

            .podcast-detail-top .podcast-detail-image img {
                width: 84px;
            }

        .podcast-detail-top .podcast-detail-title {
            font-size: 20px;
            height: 84px;
            display: flex;
            align-items: flex-end;
        }

        .podcast-detail-top .podcast-detail-info {
            width: 100%;
        }

    .podcast-detail-down .podcast-detail-datetime {
        font-size: 16px;
    }

    .podcast-detail-down .podcast-detail-content {
        padding: 23px 19px 23px 19px;
    }

    .podcast-detail-episode .podcast-detail-episode-title {
        font-size: 20px;
        margin-top: 8px;
    }

    .podcast-detail-episode .podcast-detail-episode-content {
        margin: 3px 0;
        -webkit-line-clamp: 3;
        line-height: 1.5;
    }
}
