.k24-podcast {
    --k24-podcast-red: #c8102e;
    --k24-podcast-ink: #121212;
    --k24-podcast-muted: #667085;
    --k24-podcast-line: #e5e7eb;
    background: #f6f7f8;
    color: var(--k24-podcast-ink);
    font-family: ItfHuwiyaArabic, Tahoma, Arial, sans-serif;
    padding: 32px 0 56px;
}

.k24-podcast__container {
    width: min(1120px, calc(100% - 32px));
    margin-inline: auto;
}

.k24-podcast__header,
.k24-podcast__show-hero {
    display: grid;
    gap: 16px;
    margin-bottom: 28px;
}

.k24-podcast__header {
    align-items: center;
    background: #fff;
    border: 1px solid var(--k24-podcast-line);
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
    grid-template-columns: minmax(0, 1fr) auto;
    padding: clamp(18px, 3vw, 28px);
}

.k24-podcast__eyebrow,
.k24-podcast-player__show {
    color: var(--k24-podcast-red);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
}

.k24-podcast h1,
.k24-podcast h2,
.k24-podcast h3 {
    margin: 0;
    letter-spacing: 0;
}

.k24-podcast h1 {
    font-size: clamp(32px, 5vw, 56px);
    line-height: 1.05;
}

.k24-podcast__heading {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.k24-podcast__heading h1 {
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.08;
}

.k24-podcast__heading p {
    color: var(--k24-podcast-muted);
    font-size: clamp(15px, 1.6vw, 18px);
    line-height: 1.7;
    margin: 0;
    max-width: 680px;
}

.k24-podcast a {
    color: inherit;
    text-decoration: none;
}

.k24-podcast-player__meta a {
    background: var(--k24-podcast-red);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: 13px;
    font-weight: 800;
    padding: 8px 14px;
}

.k24-podcast__sharebar {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

[dir="rtl"] .k24-podcast__sharebar {
    justify-content: flex-start;
}

.k24-podcast__share-button {
    align-items: center;
    background: #f8fafc;
    border: 1px solid var(--k24-podcast-line);
    border-radius: 999px;
    color: #475467;
    display: inline-flex;
    font-size: 15px;
    height: 40px;
    justify-content: center;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
    width: 40px;
}

.k24-podcast__share-button:hover,
.k24-podcast__share-button:focus-visible {
    background: #fff5f6;
    border-color: rgba(200, 16, 46, 0.28);
    color: var(--k24-podcast-red);
}

.k24-podcast__share-button:active {
    transform: scale(0.96);
}

.k24-podcast__share-button .material-symbols-rounded {
    font-size: 20px;
}

.k24-podcast__featured {
    margin-bottom: 36px;
}

.k24-podcast-player,
.k24-podcast-card,
.k24-podcast-show-card,
.k24-podcast__transcript {
    background: #fff;
    border: 1px solid var(--k24-podcast-line);
    border-radius: 16px;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
}

.k24-podcast-player {
    display: grid;
    grid-template-columns: minmax(190px, 30%) minmax(0, 1fr);
    overflow: hidden;
}

.k24-podcast-player__cover,
.k24-podcast-card__image,
.k24-podcast-show-card__image {
    align-items: center;
    background: #e8eaee;
    color: var(--k24-podcast-red);
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.k24-podcast-player__cover img,
.k24-podcast-card__image img,
.k24-podcast-show-card__image img {
    aspect-ratio: 16 / 10;
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.k24-podcast-card__image--placeholder {
    aspect-ratio: 16 / 10;
}

.k24-podcast-card__image--placeholder .material-symbols-rounded {
    background: #fff;
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    font-size: 34px;
    padding: 12px;
}

.k24-podcast-player__content {
    display: grid;
    gap: 14px;
    min-width: 0;
    padding: clamp(20px, 4vw, 40px);
}

.k24-podcast-player h2 {
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1.12;
    overflow-wrap: anywhere;
}

.k24-podcast-player p,
.k24-podcast-card p,
.k24-podcast-show-card p,
.k24-podcast__show-hero p {
    color: var(--k24-podcast-muted);
    line-height: 1.7;
    margin: 0;
}

.k24-podcast-player audio {
    display: none;
}

.k24-podcast .material-symbols-rounded {
    direction: ltr;
    display: inline-flex;
    flex-shrink: 0;
    font-family: 'Material Symbols Rounded' !important;
    font-feature-settings: 'liga';
    font-size: 22px;
    font-style: normal;
    font-weight: normal;
    height: 1em;
    justify-content: center;
    letter-spacing: 0;
    line-height: 1;
    text-transform: none;
    vertical-align: middle;
    white-space: nowrap;
    width: 1em;
    word-wrap: normal;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
}

.k24-podcast-player__controls {
    align-items: center;
    background: #f8fafc;
    border: 1px solid var(--k24-podcast-line);
    border-radius: 18px;
    display: grid;
    gap: 12px;
    grid-template-areas:
        "progress progress"
        "transport speed";
    grid-template-columns: minmax(0, 1fr) auto;
    min-width: 0;
    padding: 12px;
}

.k24-podcast-player__transport {
    align-items: center;
    display: inline-flex;
    gap: 8px;
    grid-area: transport;
    justify-content: flex-start;
    min-width: 0;
    white-space: nowrap;
}

[dir="rtl"] .k24-podcast-player__transport {
    justify-content: flex-end;
}

.k24-podcast-player__button {
    align-items: center;
    background: #fff;
    border: 1px solid var(--k24-podcast-line);
    border-radius: 999px;
    color: var(--k24-podcast-ink);
    display: inline-flex;
    height: 42px;
    justify-content: center;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
    width: 42px;
}

.k24-podcast-player__button .material-symbols-rounded {
    overflow: hidden;
}

[dir="rtl"] .k24-podcast-player__button--directional .material-symbols-rounded {
    transform: scaleX(-1);
}

.k24-podcast-player__button:hover {
    background: #fff5f6;
    border-color: rgba(200, 16, 46, 0.28);
    color: var(--k24-podcast-red);
}

.k24-podcast-player__button:active {
    transform: scale(0.96);
}

.k24-podcast-player__button:focus-visible,
.k24-podcast-player__progress:focus-visible,
.k24-podcast-player__speed-toggle:focus-visible,
.k24-podcast-player__speed-menu button:focus-visible,
.k24-podcast a:focus-visible {
    outline: 3px solid rgba(200, 16, 46, 0.28);
    outline-offset: 2px;
}

.k24-podcast-player__button--primary {
    background: var(--k24-podcast-red);
    border-color: var(--k24-podcast-red);
    color: #fff;
    height: 48px;
    width: 48px;
}

.k24-podcast-player__button--primary .material-symbols-rounded {
    font-size: 26px;
}

.k24-podcast-player__button--primary:hover {
    background: #a70d26;
    border-color: #a70d26;
    color: #fff;
}

.k24-podcast-player__progress-wrap {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(229, 231, 235, 0.82);
    border-radius: 999px;
    color: #475467;
    display: grid;
    font-size: 13px;
    font-variant-numeric: tabular-nums;
    gap: 8px;
    grid-area: progress;
    grid-template-columns: auto minmax(120px, 1fr) auto;
    min-height: 42px;
    min-width: 0;
    padding: 0 12px;
}

.k24-podcast-player__progress {
    --podcast-progress: 0%;
    accent-color: var(--k24-podcast-red);
    background: linear-gradient(to right, var(--k24-podcast-red) var(--podcast-progress), #d0d5dd var(--podcast-progress));
    border-radius: 999px;
    height: 6px;
    width: 100%;
}

[dir="rtl"] .k24-podcast-player__progress {
    background: linear-gradient(to left, var(--k24-podcast-red) var(--podcast-progress), #d0d5dd var(--podcast-progress));
}

.k24-podcast-player__speed {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(229, 231, 235, 0.82);
    border-radius: 999px;
    color: #475467;
    display: inline-flex;
    font-size: 13px;
    gap: 6px;
    grid-area: speed;
    min-height: 42px;
    min-width: 0;
    padding-inline: 12px 6px;
    position: relative;
    white-space: nowrap;
    z-index: 4;
}

.k24-podcast-player__speed-toggle {
    align-items: center;
    background: #f8fafc;
    border: 1px solid transparent;
    border-radius: 999px;
    color: var(--k24-podcast-ink);
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-weight: 800;
    gap: 4px;
    min-width: 62px;
    padding: 6px 10px;
}

.k24-podcast-player__speed-toggle .material-symbols-rounded {
    font-size: 18px;
    transition: transform 0.18s ease;
}

.k24-podcast-player__speed.is-open .k24-podcast-player__speed-toggle .material-symbols-rounded {
    transform: rotate(180deg);
}

.k24-podcast-player__speed-menu {
    background: #fff;
    border: 1px solid var(--k24-podcast-line);
    border-radius: 14px;
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.16);
    display: grid;
    gap: 4px;
    inset-block-end: calc(100% + 8px);
    inset-inline-end: 0;
    min-width: 112px;
    padding: 6px;
    position: absolute;
    z-index: 10;
}

.k24-podcast-player__speed-menu[hidden] {
    display: none;
}

.k24-podcast-player__speed-menu button {
    background: transparent;
    border: 0;
    border-radius: 10px;
    color: var(--k24-podcast-ink);
    cursor: pointer;
    font: inherit;
    font-weight: 800;
    padding: 8px 10px;
    text-align: start;
}

.k24-podcast-player__speed-menu button:hover,
.k24-podcast-player__speed-menu button[aria-selected="true"] {
    background: #fff5f6;
    color: var(--k24-podcast-red);
}

.k24-podcast-player__missing {
    background: #fff7e6;
    border-radius: 12px;
    color: #9a5b00;
    padding: 12px;
}

.k24-podcast-player__meta,
.k24-podcast-card__meta {
    align-items: center;
    color: var(--k24-podcast-muted);
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
}

.k24-podcast-player__meta span,
.k24-podcast-player__meta time,
.k24-podcast-player__meta a {
    align-items: center;
    display: inline-flex;
    gap: 5px;
}

.k24-podcast-player__meta .material-symbols-rounded {
    color: currentColor;
    font-size: 16px;
}

.k24-podcast-player__sponsor {
    background: #fff5f6;
    border-inline-start: 3px solid var(--k24-podcast-red);
    color: #861126;
    padding: 10px 12px;
}

.k24-podcast__subscribe {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.k24-podcast__subscribe a,
.k24-podcast__share a {
    background: #fff;
    border: 1px solid var(--k24-podcast-line);
    border-radius: 999px;
    color: var(--k24-podcast-ink);
    display: inline-flex;
    font-size: 13px;
    font-weight: 800;
    padding: 8px 12px;
}

.k24-podcast__empty {
    background: #fff;
    border: 1px dashed #cbd5e1;
    border-radius: 16px;
    color: var(--k24-podcast-muted);
    padding: 26px;
    text-align: center;
}

.k24-podcast__episode-layout {
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(0, 1fr) 320px;
}

.k24-podcast__sidebar {
    display: grid;
    gap: 16px;
    align-content: start;
}

.k24-podcast__panel {
    background: #fff;
    border: 1px solid var(--k24-podcast-line);
    border-radius: 16px;
    padding: 18px;
}

.k24-podcast__share {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.k24-podcast__section {
    margin-top: 36px;
}

.k24-podcast__section > h2 {
    font-size: 26px;
    margin-bottom: 16px;
}

.k24-podcast__grid,
.k24-podcast__show-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.k24-podcast-card,
.k24-podcast-show-card {
    overflow: hidden;
}

.k24-podcast-card__content,
.k24-podcast-show-card div {
    display: grid;
    gap: 10px;
    padding: 16px;
}

.k24-podcast-card__eyebrow {
    align-items: center;
    color: var(--k24-podcast-red);
    display: inline-flex;
    font-size: 12px;
    font-weight: 800;
    gap: 5px;
}

.k24-podcast-card__eyebrow .material-symbols-rounded {
    font-size: 16px;
}

.k24-podcast-card h3,
.k24-podcast-show-card h3 {
    font-size: 20px;
    line-height: 1.25;
}

.k24-podcast-card h3 a,
.k24-podcast-show-card h3 a {
    display: inline;
}

.k24-podcast-card__meta span,
.k24-podcast-card__meta time {
    align-items: center;
    display: inline-flex;
    gap: 5px;
}

.k24-podcast-card__meta .material-symbols-rounded {
    font-size: 16px;
}

.k24-podcast__show-hero {
    background: #fff;
    border-radius: 20px;
    grid-template-columns: 280px 1fr;
    padding: 22px;
}

.k24-podcast__show-hero img {
    aspect-ratio: 1;
    border-radius: 16px;
    object-fit: cover;
    width: 100%;
}

.k24-podcast__body,
.k24-podcast__transcript {
    line-height: 1.8;
    margin-top: 24px;
    padding: 22px;
}

.k24-podcast__back {
    color: var(--k24-podcast-red);
    display: inline-flex;
    font-weight: 800;
    margin-bottom: 14px;
}

@media (max-width: 900px) {
    .k24-podcast-player,
    .k24-podcast__show-hero,
    .k24-podcast__grid,
    .k24-podcast__show-grid,
    .k24-podcast__episode-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .k24-podcast {
        padding: 20px 0 36px;
    }

    .k24-podcast__container {
        width: min(100% - 20px, 1120px);
    }

    .k24-podcast__header {
        grid-template-columns: 1fr;
    }

    .k24-podcast__sharebar,
    [dir="rtl"] .k24-podcast__sharebar {
        justify-content: flex-start;
    }

    [dir="rtl"] .k24-podcast__sharebar {
        justify-content: flex-end;
    }

    .k24-podcast-player__content,
    .k24-podcast-card__content,
    .k24-podcast-show-card div {
        padding: 14px;
    }

    .k24-podcast-player__controls {
        grid-template-columns: 1fr;
    }

    .k24-podcast-player__transport {
        justify-content: center;
    }

    .k24-podcast-player__progress-wrap,
    .k24-podcast-player__speed {
        width: 100%;
    }

    .k24-podcast-player__speed {
        justify-content: space-between;
    }
}
