.podcasts-carousel-container {
    position: relative;
    margin: 0;
    padding: 0;
}

.podcasts-swiper {
    width: 100%;
    overflow: hidden;
}

.podcasts-swiper .swiper-wrapper {
    display: flex !important;
    grid-column-gap: 0 !important;
    grid-row-gap: 0 !important;
    gap: 0 !important;
    transition: transform 0.3s ease;
}

.podcasts-swiper .swiper-slide {
    flex: 0 0 auto !important;
    width: 300px;
    margin-right: 20px;
    grid-column: unset !important;
    grid-row: unset !important;
}

.podcasts-swiper .swiper-slide:last-child {
    margin-right: 0;
}

.podcasts-navigation {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-top: 20px;
    padding: 0;
}

.podcasts-nav-buttons {
    display: flex;
    gap: 10px;
}

.podcasts-nav-btn {
    background: var(--theme-button-background, #333);
    color: var(--theme-button-text, #fff);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.podcasts-nav-btn:hover {
    opacity: 0.8;
}

.podcasts-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.podcasts-nav-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.podcasts-view-all {
    color: var(--theme-link-color, #007cba);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.podcasts-view-all:hover {
    opacity: 0.8;
}

.podcasts-carousel-container .entry-card {
    background: var(--theme-card-background, #fff);
    border-radius: var(--theme-card-border-radius, 8px);
    overflow: hidden;
    box-shadow: var(--theme-card-shadow, 0 2px 10px rgba(0,0,0,0.1));
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    min-height:400px;
    flex-direction: column;
}

.podcasts-carousel-container .entry-card:hover {
    transform: translateY(-5px);
}

.podcasts-carousel-container .ct-media-container {
    display: block;
    overflow: hidden;
}

.podcasts-carousel-container .ct-media-container img {
    width: 100%;
    min-height: 190px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.podcasts-carousel-container .ct-media-container:hover img {
    transform: scale(1.05);
}

.podcasts-carousel-container .entry-title {
    font-size: 18px;
    line-height: 1.4;
    font-weight: 500;
}

.podcasts-carousel-container .entry-title a {
    color: var(--theme-heading-color, #333);
    text-decoration: none;
    transition: color 0.3s ease;
}

.podcasts-carousel-container .entry-title a:hover {
    color: var(--theme-link-hover-color, #005a87);
}

.podcasts-carousel-container .entry-meta {
    padding: 0;
    list-style: none;
    font-size: 14px;
    color: var(--theme-meta-color, #666);
}

.podcasts-carousel-container .entry-meta li {
    margin: 0;
    padding: 0;
}

.podcasts-carousel-container .entry-button svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.podcasts-carousel-container .screen-reader-text {
    position: absolute !important;
    clip: rect(1px, 1px, 1px, 1px);
    padding: 0 !important;
    border: 0 !important;
    height: 1px !important;
    width: 1px !important;
    overflow: hidden;
}

/* Desktop Large */
@media (min-width: 1200px) {
    .podcasts-swiper .swiper-slide {
        width: calc(25% - 15px);
        min-width: 280px;
    }
}

/* Desktop */
@media (max-width: 1199px) and (min-width: 992px) {
    .podcasts-swiper .swiper-slide {
        width: calc(33.333% - 13px);
        min-width: 250px;
    }
}

/* Tablet */
@media (max-width: 991px) and (min-width: 768px) {
    .podcasts-swiper .swiper-slide {
        width: calc(50% - 10px);
        min-width: 220px;
        margin-right: 15px;
    }
    
    .podcasts-carousel-container .entry-title {
        font-size: 16px;
    }
    
    .podcasts-carousel-container .ct-media-container img {
        height: 180px;
    }
}

/* Mobile Large */
@media (max-width: 767px) and (min-width: 480px) {
    .podcasts-swiper .swiper-slide {
        width: calc(50% - 8px);
        min-width: 180px;
        margin-right: 15px;
    }
    
    .podcasts-carousel-container .entry-title {
        font-size: 15px;
    }
    
    .podcasts-carousel-container .entry-meta {
        font-size: 13px;
    }
    
    .podcasts-carousel-container .entry-button {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .podcasts-carousel-container .ct-media-container img {
        height: 160px;
    }
    
    .podcasts-navigation {
        flex-direction: column;
        gap: 15px;
    }
}

/* Mobile Small */
@media (max-width: 479px) {
    .podcasts-swiper .swiper-slide {
        width: calc(100% - 5px);
        min-width: 200px;
        margin-right: 10px;
    }
    
    .podcasts-carousel-container .entry-title {
        font-size: 14px;
        margin: 10px 10px 6px 10px;
    }
    
    .podcasts-carousel-container .entry-meta {
        margin: 0 10px 6px 10px;
        font-size: 12px;
    }
    
    .podcasts-carousel-container .entry-button {
        padding: 6px 10px;
        font-size: 12px;
    }
    
    .podcasts-carousel-container .ct-media-container img {
        height: 140px;
    }
    
    .podcasts-nav-btn {
        width: 35px;
        height: 35px;
    }
    
    .podcasts-nav-btn svg {
        width: 14px;
        height: 14px;
    }
    
    .podcasts-navigation {
        flex-direction: column;
        gap: 15px;
    }
    
    .podcasts-view-all {
        font-size: 14px;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .podcasts-swiper .swiper-wrapper,
    .podcasts-carousel-container .entry-card,
    .podcasts-carousel-container .ct-media-container img,
    .podcasts-carousel-container .entry-button,
    .podcasts-nav-btn,
    .podcasts-view-all {
        transition: none;
    }
    
    .podcasts-carousel-container .entry-card:hover {
        transform: none;
    }
    
    .podcasts-carousel-container .ct-media-container:hover img {
        transform: none;
    }
}

.podcasts-nav-btn:focus {
    outline: 2px solid var(--theme-link-color, #007cba);
    outline-offset: 2px;
}

.podcasts-carousel-container .entry-title a:focus,
.podcasts-carousel-container .ct-media-container:focus,
.podcasts-carousel-container .entry-button:focus,
.podcasts-view-all:focus {
    outline: 2px solid var(--theme-link-color, #007cba);
    outline-offset: 2px;
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .podcasts-carousel-container .entry-card {
        border: 2px solid currentColor;
    }
    
    .podcasts-nav-btn {
        border: 2px solid currentColor;
    }
}