/* 1. Section & Layout */
.blu-podcast-section {
    background-color: #ffffff;
    padding-block: 32px; /* Replaced top/bottom */
}

.blu-podcast-container {
    max-width: 1200px;
    margin-inline: auto; /* Replaced left/right */
    padding-inline: 16px; /* Replaced left/right */
}

.blu-podcast-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* 2. Heading */
.blu-podcast-heading {
    font-size: 30px;
    font-weight: 500;
    color: #111827;
    text-align: center;
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.04em;
}

:lang(ar) .blu-podcast-heading {

    letter-spacing: 0;
        font-weight: 300;

}
:lang(ar) .blu-podcast-title {
    font-size: 18px;
    font-weight: 300;
    color: #111827;
    margin: 0;
    line-height: 1.5; /* Increased for Arabic */
}

/* 3. Scroll Container (Horizontal Scroll) */
.blu-podcast-scroll-container {
    overflow-x: auto;
    padding-bottom: 24px;
    
    /* Negative margins using logical properties */
    margin-inline-start: -16px;
    margin-inline-end: -16px;
    padding-inline-start: 16px;
    padding-inline-end: 16px;
    
    /* Hide scrollbars */
    scrollbar-width: none; 
    -ms-overflow-style: none;
}
.blu-podcast-scroll-container::-webkit-scrollbar {
    display: none;
}

/* 4. Track */
.blu-podcast-track {
    display: flex;
    gap: 16px;
    width: max-content;
}

/* 5. Podcast Card */
.blu-podcast-card {
    background-color: #ffffff;
    border: 1px solid #f3f4f6;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05);
    transition: box-shadow 0.2s ease;
    flex-shrink: 0;
    width: calc(100vw - 32px);
}
.blu-podcast-card:hover {
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}

/* 6. Video Embed Wrapper */
.blu-podcast-video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    background-color: #000;
}
.blu-podcast-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0; /* 'left' is treated as 'start' in this context, works for RTL */
    width: 100%;
    height: 100%;
}

/* 7. Content */
.blu-podcast-content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: start; /* Aligns right in RTL */
}
.blu-podcast-title {
    font-size: 18px;
    font-weight: 500;
    color: #111827;
    margin: 0;
    line-height: 1.5; /* Increased for Arabic */
}
.blu-podcast-date {
    font-size: 14px;
    color: #4b5563;
    margin: 0;
}

/* =================================================================== */
/* Responsive Breakpoints
/* =================================================================== */

@media (min-width: 640px) { /* sm */
    .blu-podcast-heading { font-size: 36px; }
    .blu-podcast-card { width: calc(50vw - 24px); }
}

@media (min-width: 768px) { /* md */
    .blu-podcast-section {
        padding-block: 64px;
    }
    .blu-podcast-container {
        padding-inline: 64px;
    }
    .blu-podcast-heading { font-size: 48px; }
    .blu-podcast-wrapper { gap: 32px; }
    
    .blu-podcast-track { gap: 24px; }
    
    /* Adjust negative margins to match new container padding */
    .blu-podcast-scroll-container {
        margin-inline-start: -64px;
        margin-inline-end: -64px;
        padding-inline-start: 64px;
        padding-inline-end: 64px;
    }

    .blu-podcast-card { width: calc(33.33vw - 32px); }
    
    .blu-podcast-content { padding: 24px; }
    .blu-podcast-title { font-size: 20px; }
    .blu-podcast-date { font-size: 16px; }
}

@media (min-width: 1024px) { /* lg */
    .blu-podcast-card { width: 400px; }
    .blu-podcast-date { font-size: 18px; }
}