/* ==================== Featured (latest podcast) ==================== */
.st-podcasts-featured {
    background: #fff;
    padding: 60px 0;
}

.st-podcast-featured {
    background: #F5F5F5;
    border-radius: 16px;
    padding: 40px;
}

.st-featured-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.st-featured-content {
    display: flex;
    flex-flow: column;
}

.st-featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    overflow: hidden;
}

.st-featured-badge {
    padding: 3px 6px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 12px;
    line-height: 160%;
    letter-spacing: 0%;
    color: #EB6222;
    border-radius: 4px;
    border: 1px solid #EB6222;
    width: fit-content;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.st-featured-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 110%;
    color: #505050;
    margin: 0 0 24px 0;
}

.st-podcasts-featured .st-podcast-tags {
    font-weight: 700;
    color: #4D4D4D;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #000000
}

.st-featured-excerpt {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 150%;
    color: #4D4D4D;
    margin: 0 0 40px 0;
}

.st-featured-hosts {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 30px;
}

.st-featured-hosts .st-featured-hosts-left {
    display: flex;
    align-items: center;
    gap: 6px;
}

.st-featured-hosts .st-podcast-avatars img {
    width: 36px;
    height: 36px;
    border: none;
}

.st-featured-hosts .st-podcast-hosts-label {
    font-weight: 500;
    font-size: 14px;
}

.st-featured-hosts .st-featured-authors {
    font-weight: 600;
    color: #CD4631;
}

.st-featured-date {
    margin-left: auto;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 160%;
    color: #4D4D4D;
}

.st-featured-authors {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: #505050;
}

/* ==================== Archive: title ==================== */
.st-podcasts-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 52px;
    line-height: 110%;
    color: #505050;
    margin: 0;
}

.st-podcasts-title .st-highlight {
    color: #32A8C6;
}

.st-podcast-featured .st-podcast-card--featured {
    padding: 0;
    overflow: unset;
    margin-top: auto;
}

/* ==================== Archive: container & layout ==================== */
.st-podcasts-container {
    display: flex;
    flex-direction: column;
    padding: 80px 0;
    overflow: visible;
    background: #F2F2F2;
}

/* Main Content Area */
.st-podcasts-main {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.st-podcasts-content {
    width: 75%;
    max-width: 100%;
}

.st-podcasts-header {
    margin-bottom: 40px;
}

/* ==================== Channel sections ==================== */
.st-channel-section {
    background: #FFF;
    padding: 24px;
    border-radius: 16px;
    margin-bottom: 24px;
    overflow: hidden;
    position: relative;
}

.st-channel-section.one:after {
	display: none;
}

.st-channel-section:after {
    content: '';
    position: absolute;
    height: 100%;
    width: 130px;
    top: 0;
    right: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 100%);
    pointer-events: none;
}

.st-channel-section:last-child {
    margin-bottom: 0;
}

.st-channel-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 135%;
    color: #505050;
    margin: 0 0 24px 0;
}

/* ==================== Channel list: horizontal scroller ==================== */
.st-podcasts-wrapper {
    display: flex;
    align-items: stretch;
    gap: 24px;
    overflow-x: auto;
    max-width: 100%;
    padding-bottom: 24px;
}

.st-channel-section.one .st-podcasts-wrapper {
	overflow: unset;
	padding-bottom: 0;
}

/* ----- Custom horizontal scrollbar for podcasts row ----- */
.st-podcasts-wrapper::-webkit-scrollbar {
    height: 8px;
    background: #F5F5F5;
    border-radius: 32px;
}

.st-podcasts-wrapper::-webkit-scrollbar-track {
    background: #E7E7E7;
    border-radius: 32px;
}

.st-podcasts-wrapper::-webkit-scrollbar-thumb {
    background: linear-gradient(105.44deg, #32A8C6 0.57%, #007795 100.46%);
    border-radius: 32px;
}

.st-podcasts-wrapper::-webkit-scrollbar-thumb:hover {
    filter: brightness(0.95);
}

/* ==================== Cards ==================== */
.st-podcast-card {
    max-width: 355px;
    min-width: 355px;
    width: 100%;
    height: auto;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    padding: 16px;
    background: #F5F5F5;
    border-radius: 12px;
    overflow: hidden;
}

/* ----- Load more card ----- */
.st-podcast-card.st-podcast-card--load {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    max-width: 120px;
    background: #F5F5F5;
}

.st-load-more-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(105.44deg, #32A8C6 0.57%, #007795 100.46%);
    border: 2px solid #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.st-load-more-btn:hover {
    transform: translateY(-2px);
    opacity: 0.8;
}

.st-load-more-icon {
    display: flex;
}

.st-podcast-content {
    display: flex;
    flex-flow: column;
    height: 100%;
}

.st-podcast-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 20px;
}

.st-podcast-tags {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.st-podcast-tag {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 12px;
    line-height: 160%;
    padding: 6px 12px;
    border-radius: 4px;
    border: 1px solid #4D4D4D;
}

.st-podcast-episode {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 160%;
    color: #EB6222;
    margin-bottom: 4px;
}

.st-podcast-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 22px;
    line-height: 120%;
    color: #505050;
    padding-bottom: 15px;
    margin: 0 0 10px 0;
    border-bottom: 1px solid #4D4D4D
}

.st-podcast-excerpt {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 150%;
    color: #4D4D4D;
    margin-bottom: 15px;
}

.st-podcast-hosts {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.st-podcast-hosts-label {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 12px;
    line-height: 160%;
    color: #4D4D4D;
}

.st-podcast-avatars {
    display: flex;
    align-items: center;
}

.st-podcast-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #fff;
    margin-left: -0.5rem;
}

.st-podcast-avatar:first-child {
    margin-left: 0;
}

/* ==================== Listen button ==================== */
.st-podcast-listen-btn {
    min-height: 56px;
    max-height: 56px;
    padding: 2px 24px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid #505050;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 160%;
    color: #505050;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.st-podcast-listen-btn:hover {
    background: #505050;
    color: #fff;
}

.st-podcast-listen-btn svg path {
    transition: all 0.3s ease;
}

.st-podcast-listen-btn:hover svg path {
    fill: #fff;
}

.st-podcast-listen-btn .st-duration {
    color: #EB6222;
    transition: all 0.3s ease;
}

.st-podcast-listen-btn:hover .st-duration {
    color: #fff;
}

/* ==================== Player (WaveSurfer) ==================== */
.st-podcast-player {
    margin-top: auto;
}

.st-podcast-player-active {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 56px;
    max-height: 56px;
    border: 1px solid #000000;
    border-radius: 8px;
    padding: 2px 16px;
}

.st-podcast-play-btn {
    width: 100%;
    min-width: 32px;
    max-width: 32px;
    height: 32px;
    border-radius: 100%;
    background: #EB6222;
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.st-podcast-play-btn .st-pause-icon {
    display: flex;
}

.st-podcast-play-btn .st-play-icon {
    display: flex;
}


/* WaveSurfer container */
.st-waveform {
    flex: 1;
    position: relative;
}

.st-waveform canvas {
    width: 100% !important;
}

.st-podcast-time {
    min-width: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #505050;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 12px;
    line-height: 100%;
}

/* ==================== Sidebar (categories) ==================== */
.st-podcasts-sidebar {
    position: sticky;
    top: 60px;
    width: 25%;
    align-self: flex-start;
}

.st-categories-section {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    width: 100%;
    height: fit-content;
}

.st-categories-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 135%;
    color: #505050;
    margin: 0 0 24px 0;
}

.st-categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-flow: column;
    gap: 12px;
}

.st-category-link {
    display: block;
    border-radius: 100px;
    padding: 10px 24px;
    text-decoration: none;
    transition: all 0.3s ease;

    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 135%;
    color: #505050;
    background: #F5F5F5;
}

.st-category-link:hover {
    opacity: 0.8;
    background: #009294;
    color: white;
}

.st-category-link.st-active {
    background: #009294;
    color: white;
    font-weight: 600;
    pointer-events: none;
}

.st-category-count {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 135%;
    color: #505050;
    transition: all 0.3s ease;
}

.st-category-link.st-active .st-category-count {
    color: white;
    font-weight: 600;
}

.st-category-link:hover .st-category-count {
    color: white;
}

.podcast-link{
    color: #32A8C6;
    text-decoration: none;
}

.podcast-link:hover{
    color: #EB6222;
}


@media screen and (max-width: 1100px) {
    .st-podcast-featured {
        padding: 30px;
    }

    .st-featured-card {
        grid-template-columns: 1fr;
    }

    .st-featured-image {
        height: 402px;
    }

    .st-podcasts-main {
        flex-flow: column-reverse;
    }

    .st-podcasts-sidebar {
        width: 100%;
        top: 0;
        position: relative;
    }

    .st-podcasts-content {
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
	.st-featured-image {
		height: 288px;
	}
	
	.st-podcast-featured {
        padding: 24px 16px;
    }
	
    .st-podcasts-title {
        font-size: 28px;
    }

    .st-featured-title {
        font-size: 28px;
    }
	
	.st-podcasts-container {
		padding: 60px 0;
	}
	
	.st-podcast-title {
		font-size: 18px;
	}
	
	.st-podcasts-featured {
		padding: 40px 0;
	}
}

@media screen and (max-width: 560px) {
	.st-featured-image {
		height: 188px;
	}
	
    .st-podcast-featured .st-podcast-card--featured {
        width: 100%;
        max-width: 100%;
        min-width: 100%;
    }
	
	.st-podcast-card {
    	max-width: 265px;
    	min-width: 265px;
	}
	
	.st-podcast-image {
		height: 166px;
	}
	
	.st-podcast-listen-btn .st-duration {
		display: none;
	}
	
	.st-channel-section.one .st-podcast-card {
		max-width: 100%;
		min-width: 100%;
	}
}