.payamad-podcasts-shell,
.payamad-podcast-single {
    --pp-bg: #f6f8f7;
    --pp-card: #ffffff;
    --pp-text: #16221f;
    --pp-muted: #6a7773;
    --pp-border: rgba(22, 34, 31, .10);
    direction: rtl;
    color: var(--pp-text);
    font-family: inherit;
}

.payamad-podcasts-shell * ,
.payamad-podcast-single * { box-sizing: border-box; }

.payamad-podcast-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(220px, .55fr);
    gap: 36px;
    align-items: center;
    overflow: hidden;
    max-width: 1180px;
    margin: 38px auto 28px;
    padding: 54px;
    border-radius: 30px;
    background:
        radial-gradient(circle at 10% 15%, color-mix(in srgb, var(--payamad-podcast-accent) 24%, transparent), transparent 35%),
        linear-gradient(135deg, #102a24 0%, #1d473d 100%);
    color: #fff;
    box-shadow: 0 24px 80px rgba(18, 43, 36, .18);
}

.payamad-podcast-hero::after {
    content: '';
    position: absolute;
    inset: auto -70px -100px auto;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 50%;
}

.payamad-podcast-hero__content,
.payamad-podcast-hero__visual { position: relative; z-index: 1; }

.payamad-podcast-eyebrow {
    display: inline-flex;
    margin-bottom: 12px;
    padding: 7px 12px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    font-size: 13px;
}

.payamad-podcast-hero h1 {
    margin: 0 0 12px;
    color: #fff;
    font-size: clamp(32px, 5vw, 58px);
    line-height: 1.25;
    letter-spacing: -.03em;
}

.payamad-podcast-hero p {
    max-width: 720px;
    margin: 0;
    color: rgba(255,255,255,.76);
    font-size: 17px;
    line-height: 2;
}

.payamad-podcast-hero__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.payamad-primary-button,
.payamad-secondary-button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 0 19px;
    border-radius: 13px;
    text-decoration: none !important;
    font-weight: 700;
    transition: transform .2s ease, opacity .2s ease;
}
.payamad-primary-button { background: #fff; color: #16352e !important; }
.payamad-secondary-button { border: 1px solid rgba(255,255,255,.22); color: #fff !important; background: rgba(255,255,255,.08); }
.payamad-primary-button:hover,
.payamad-secondary-button:hover { transform: translateY(-2px); opacity: .92; }

.payamad-podcast-hero__visual img,
.payamad-podcast-placeholder {
    display: block;
    width: min(100%, 280px);
    aspect-ratio: 1;
    margin-inline: auto;
    border-radius: 26px;
    object-fit: cover;
    box-shadow: 0 25px 55px rgba(0,0,0,.28);
    transform: rotate(-3deg);
}
.payamad-podcast-placeholder {
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, rgba(255,255,255,.18), rgba(255,255,255,.06));
    border: 1px solid rgba(255,255,255,.16);
    font-size: 84px;
}

.payamad-podcast-listing { max-width: 1180px; margin: 0 auto; padding: 26px 16px 70px; }
.payamad-podcast-filters {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px auto;
    gap: 10px;
    margin-bottom: 24px;
    padding: 12px;
    border: 1px solid var(--pp-border);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 35px rgba(23, 49, 42, .06);
}
.payamad-podcast-search { position: relative; display: flex; align-items: center; }
.payamad-podcast-search > span { position: absolute; right: 15px; color: var(--pp-muted); font-size: 23px; }
.payamad-podcast-filters input,
.payamad-podcast-filters select {
    width: 100%;
    height: 48px;
    border: 1px solid var(--pp-border);
    border-radius: 12px;
    background: #fbfcfc;
    color: var(--pp-text);
    font: inherit;
    outline: none;
}
.payamad-podcast-filters input { padding: 0 48px 0 14px; }
.payamad-podcast-filters select { padding: 0 13px; }
.payamad-podcast-filters input:focus,
.payamad-podcast-filters select:focus { border-color: var(--payamad-podcast-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--payamad-podcast-accent) 14%, transparent); }
.payamad-podcast-filters button {
    min-width: 110px;
    height: 48px;
    border: 0;
    border-radius: 12px;
    background: var(--payamad-podcast-accent);
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.payamad-podcast-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.payamad-podcast-card {
    overflow: hidden;
    border: 1px solid var(--pp-border);
    border-radius: 22px;
    background: var(--pp-card);
    box-shadow: 0 12px 40px rgba(22, 48, 41, .06);
    transition: transform .25s ease, box-shadow .25s ease;
}
.payamad-podcast-card:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(22, 48, 41, .11); }
.payamad-podcast-card__cover { position: relative; display: block; aspect-ratio: 16/10; overflow: hidden; background: #dfe9e5; }
.payamad-podcast-card__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.payamad-podcast-card:hover .payamad-podcast-card__cover img { transform: scale(1.035); }
.payamad-podcast-card__placeholder { display: grid; width: 100%; height: 100%; place-items: center; background: linear-gradient(145deg, #dbe9e4, #eff5f2); color: var(--payamad-podcast-accent); font-size: 60px; }
.payamad-podcast-duration { position: absolute; left: 12px; bottom: 12px; padding: 6px 9px; border-radius: 8px; background: rgba(11, 25, 21, .78); color: #fff; font-size: 12px; backdrop-filter: blur(7px); }
.payamad-podcast-card__body { padding: 18px; }
.payamad-podcast-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--pp-muted); font-size: 12px; }
.payamad-podcast-card__meta span { color: var(--payamad-podcast-accent); font-weight: 700; }
.payamad-podcast-card h2 { margin: 11px 0 7px; font-size: 20px; line-height: 1.65; }
.payamad-podcast-card h2 a { color: var(--pp-text); text-decoration: none; }
.payamad-podcast-speaker { margin: 0 0 8px; color: var(--payamad-podcast-accent); font-size: 13px; }
.payamad-podcast-card__excerpt { min-height: 56px; margin: 0 0 14px; color: var(--pp-muted); line-height: 1.85; font-size: 14px; }
.payamad-podcast-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; }
.payamad-podcast-card__footer > a { color: var(--payamad-podcast-accent); font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.payamad-podcast-topics { display: flex; gap: 6px; min-width: 0; }
.payamad-podcast-topics span { overflow: hidden; padding: 5px 8px; border-radius: 999px; background: #f0f5f3; color: #52625d; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }

.payamad-audio-player { display: flex; align-items: center; gap: 13px; padding: 14px; border-radius: 17px; background: #f2f6f4; }
.payamad-audio-player.is-compact { padding: 10px; border-radius: 13px; }
.payamad-audio-toggle { flex: 0 0 auto; display: grid; width: 42px; height: 42px; place-items: center; border: 0; border-radius: 50%; background: var(--payamad-podcast-accent); color: #fff; cursor: pointer; }
.payamad-audio-player.is-compact .payamad-audio-toggle { width: 36px; height: 36px; }
.payamad-icon-pause { display: none; }
.payamad-audio-player.is-playing .payamad-icon-play { display: none; }
.payamad-audio-player.is-playing .payamad-icon-pause { display: inline; }
.payamad-audio-track { flex: 1; min-width: 0; }
.payamad-audio-track input[type="range"] { --progress: 0%; width: 100%; height: 4px; margin: 0; appearance: none; border-radius: 999px; background: linear-gradient(to left, var(--payamad-podcast-accent) var(--progress), #cbd7d3 var(--progress)); cursor: pointer; }
.payamad-audio-track input[type="range"]::-webkit-slider-thumb { width: 13px; height: 13px; appearance: none; border-radius: 50%; background: var(--payamad-podcast-accent); }
.payamad-audio-time { display: flex; justify-content: space-between; margin-top: 5px; color: var(--pp-muted); font-size: 10px; direction: ltr; }
.payamad-audio-speed { flex: 0 0 auto; width: 34px; height: 30px; border: 1px solid var(--pp-border); border-radius: 9px; background: #fff; color: var(--pp-text); font-size: 11px; cursor: pointer; }

.payamad-pagination ul { display: flex; justify-content: center; gap: 7px; margin: 30px 0 0; padding: 0; list-style: none; }
.payamad-pagination a,
.payamad-pagination span { display: grid; min-width: 40px; height: 40px; place-items: center; padding: 0 10px; border: 1px solid var(--pp-border); border-radius: 11px; background: #fff; color: var(--pp-text); text-decoration: none; }
.payamad-pagination .current { border-color: var(--payamad-podcast-accent); background: var(--payamad-podcast-accent); color: #fff; }
.payamad-podcast-empty { padding: 70px 20px; border: 1px dashed var(--pp-border); border-radius: 22px; text-align: center; }
.payamad-podcast-empty > span { font-size: 58px; color: var(--payamad-podcast-accent); }
.payamad-podcast-empty h2 { margin: 8px 0; }
.payamad-podcast-empty p { color: var(--pp-muted); }

.payamad-podcast-single { max-width: 1080px; margin: 38px auto 70px; padding: 0 16px; }
.payamad-podcast-single__hero { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 42px; align-items: center; padding: 38px; border-radius: 28px; background: linear-gradient(135deg, #102a24, #24564a); color: #fff; }
.payamad-podcast-single__cover img,
.payamad-podcast-single__cover-placeholder { width: 100%; aspect-ratio: 1; border-radius: 22px; object-fit: cover; box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.payamad-podcast-single__cover-placeholder { display: grid; place-items: center; background: rgba(255,255,255,.1); font-size: 80px; }
.payamad-podcast-single__meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.payamad-podcast-single__meta span { padding: 6px 10px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; background: rgba(255,255,255,.07); color: rgba(255,255,255,.78); font-size: 12px; }
.payamad-podcast-single h1 { margin: 0 0 12px; color: #fff; font-size: clamp(29px, 4vw, 47px); line-height: 1.45; }
.payamad-podcast-single__lead { color: rgba(255,255,255,.74); line-height: 1.9; }
.payamad-podcast-single__hero .payamad-audio-player { margin-top: 22px; background: rgba(255,255,255,.1); }
.payamad-podcast-single__hero .payamad-audio-time,
.payamad-podcast-single__hero .payamad-audio-speed { color: rgba(255,255,255,.78); }
.payamad-podcast-single__hero .payamad-audio-speed { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); }
.payamad-download-link { display: inline-flex; margin-top: 13px; color: #fff; font-weight: 700; text-decoration: none; }
.payamad-podcast-single__content { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 34px; padding-top: 34px; }
.payamad-podcast-article { min-width: 0; padding: 28px; border: 1px solid var(--pp-border); border-radius: 22px; background: #fff; line-height: 2.05; }
.payamad-podcast-article h2 { margin-top: 0; }
.payamad-podcast-sidebar { align-self: start; position: sticky; top: 28px; padding: 20px; border: 1px solid var(--pp-border); border-radius: 18px; background: #fff; }
.payamad-podcast-sidebar h3 { margin-top: 0; font-size: 16px; }
.payamad-podcast-sidebar a { color: var(--payamad-podcast-accent); text-decoration: none; }
.payamad-transcript { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--pp-border); }
.payamad-transcript summary { cursor: pointer; color: var(--payamad-podcast-accent); font-weight: 800; }
.payamad-transcript__body { margin-top: 18px; }
.payamad-related { margin-top: 36px; }
.payamad-related > h2 { margin-bottom: 18px; }
.payamad-related .payamad-podcast-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 960px) {
    .payamad-podcast-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .payamad-podcast-single__hero { grid-template-columns: 260px minmax(0, 1fr); }
    .payamad-podcast-single__content { grid-template-columns: 1fr; }
    .payamad-podcast-sidebar { position: static; }
}

@media (max-width: 720px) {
    .payamad-podcast-hero { grid-template-columns: 1fr; padding: 30px 22px; margin: 18px 12px 10px; border-radius: 22px; }
    .payamad-podcast-hero__visual { order: -1; }
    .payamad-podcast-hero__visual img,
    .payamad-podcast-placeholder { width: 170px; border-radius: 20px; }
    .payamad-podcast-filters { grid-template-columns: 1fr; }
    .payamad-podcast-grid,
    .payamad-related .payamad-podcast-grid { grid-template-columns: 1fr; }
    .payamad-podcast-single { margin-top: 16px; }
    .payamad-podcast-single__hero { grid-template-columns: 1fr; padding: 22px; }
    .payamad-podcast-single__cover { max-width: 230px; margin: 0 auto; }
    .payamad-podcast-single__content { padding-top: 20px; }
    .payamad-podcast-article { padding: 20px; }
    .payamad-podcast-card__excerpt { min-height: auto; }
}

/* Homepage podcast carousel */
.payamad-podcast-carousel {
    --pp-card: #fff;
    --pp-text: #16221f;
    --pp-muted: #6a7773;
    --pp-border: rgba(22, 34, 31, .10);
    position: relative;
    max-width: 1180px;
    margin: 44px auto;
    padding: 0 16px;
    direction: rtl;
    color: var(--pp-text);
    font-family: inherit;
}
.payamad-podcast-carousel *,
.payamad-podcast-carousel *::before,
.payamad-podcast-carousel *::after { box-sizing: border-box; }
.payamad-podcast-carousel__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}
.payamad-podcast-carousel__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 7px;
    color: var(--payamad-podcast-accent);
    font-size: 13px;
    font-weight: 800;
}
.payamad-podcast-carousel__eyebrow::before {
    content: '';
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: var(--payamad-podcast-accent);
}
.payamad-podcast-carousel__header h2 {
    margin: 0;
    color: var(--pp-text);
    font-size: clamp(25px, 3vw, 38px);
    line-height: 1.45;
}
.payamad-podcast-carousel__actions { display: flex; gap: 8px; direction: rtl; }
.payamad-podcast-carousel__arrow {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    padding: 0;
    border: 1px solid var(--pp-border);
    border-radius: 50%;
    background: #fff;
    color: var(--pp-text);
    font-family: inherit;
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(19, 45, 38, .07);
    transition: border-color .2s ease, background .2s ease, color .2s ease, transform .2s ease;
}
.payamad-podcast-carousel__arrow:hover,
.payamad-podcast-carousel__arrow:focus-visible {
    border-color: var(--payamad-podcast-accent);
    background: var(--payamad-podcast-accent);
    color: #fff;
    transform: translateY(-2px);
    outline: none;
}
.payamad-podcast-carousel__viewport {
    position: relative;
    overflow: hidden;
    direction: ltr;
    border-radius: 24px;
}
.payamad-podcast-carousel__track {
    display: flex;
    align-items: stretch;
    width: max-content;
    will-change: transform;
}
.payamad-podcast-carousel__slide {
    flex: 0 0 auto;
    min-width: 0;
    direction: rtl;
}
.payamad-podcast-slide-card {
    display: flex;
    height: 100%;
    min-height: 100%;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--pp-border);
    border-radius: 22px;
    background: var(--pp-card);
    box-shadow: 0 12px 38px rgba(22, 48, 41, .07);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.payamad-podcast-slide-card:hover {
    border-color: color-mix(in srgb, var(--payamad-podcast-accent) 30%, transparent);
    transform: translateY(-4px);
    box-shadow: 0 20px 52px rgba(22, 48, 41, .12);
}
.payamad-podcast-slide-card__cover {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #dfe9e5;
}
.payamad-podcast-slide-card__cover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7, 22, 18, .24), transparent 48%);
    pointer-events: none;
}
.payamad-podcast-slide-card__cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.payamad-podcast-slide-card:hover .payamad-podcast-slide-card__cover img { transform: scale(1.045); }
.payamad-podcast-slide-card__placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    background: linear-gradient(145deg, #dbe9e4, #eff5f2);
    color: var(--payamad-podcast-accent);
    font-size: 68px;
}
.payamad-podcast-slide-card__play {
    position: absolute;
    z-index: 2;
    right: 16px;
    bottom: 15px;
    display: grid;
    width: 47px;
    height: 47px;
    place-items: center;
    padding-right: 2px;
    border: 1px solid rgba(255,255,255,.42);
    border-radius: 50%;
    background: rgba(255,255,255,.92);
    color: var(--payamad-podcast-accent);
    font-size: 15px;
    box-shadow: 0 9px 24px rgba(0,0,0,.15);
    backdrop-filter: blur(8px);
    transition: transform .25s ease, background .25s ease, color .25s ease;
}
.payamad-podcast-slide-card:hover .payamad-podcast-slide-card__play {
    background: var(--payamad-podcast-accent);
    color: #fff;
    transform: scale(1.07);
}
.payamad-podcast-slide-card .payamad-podcast-duration { z-index: 2; }
.payamad-podcast-slide-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 18px;
}
.payamad-podcast-slide-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: var(--pp-muted);
    font-size: 11px;
}
.payamad-podcast-slide-card__meta span {
    color: var(--payamad-podcast-accent);
    font-weight: 800;
}
.payamad-podcast-slide-card h3 {
    margin: 11px 0 6px;
    color: var(--pp-text);
    font-size: 19px;
    line-height: 1.65;
}
.payamad-podcast-slide-card h3 a { color: inherit; text-decoration: none; }
.payamad-podcast-slide-card__speaker {
    margin: 0 0 8px;
    color: var(--payamad-podcast-accent);
    font-size: 13px;
}
.payamad-podcast-slide-card__excerpt {
    margin: 0 0 15px;
    color: var(--pp-muted);
    font-size: 13px;
    line-height: 1.9;
}
.payamad-podcast-slide-card__link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: auto;
    color: var(--payamad-podcast-accent);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}
.payamad-podcast-slide-card__link span { transition: transform .2s ease; }
.payamad-podcast-slide-card__link:hover span { transform: translateX(-3px); }
.payamad-podcast-carousel__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 18px;
}
.payamad-podcast-carousel__footer > a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--payamad-podcast-accent);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}
.payamad-podcast-carousel__status {
    display: flex;
    min-width: 126px;
    align-items: center;
    gap: 9px;
    direction: ltr;
    color: var(--pp-muted);
    font-size: 12px;
}
.payamad-podcast-carousel__status i {
    position: relative;
    display: block;
    width: 72px;
    height: 2px;
    overflow: hidden;
    border-radius: 999px;
    background: #dce5e2;
}
.payamad-podcast-carousel__status i::after {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 35%;
    border-radius: inherit;
    background: var(--payamad-podcast-accent);
}

@media (prefers-reduced-motion: reduce) {
    .payamad-podcast-carousel__track,
    .payamad-podcast-slide-card,
    .payamad-podcast-slide-card__cover img { transition-duration: .01ms !important; }
}

@media (max-width: 640px) {
    .payamad-podcast-carousel { margin: 32px auto; padding: 0 12px; }
    .payamad-podcast-carousel__header { align-items: center; margin-bottom: 15px; }
    .payamad-podcast-carousel__header h2 { font-size: 25px; }
    .payamad-podcast-carousel__eyebrow { font-size: 12px; }
    .payamad-podcast-carousel__arrow { width: 39px; height: 39px; font-size: 24px; }
    .payamad-podcast-carousel__footer { margin-top: 14px; }
    .payamad-podcast-slide-card__body { padding: 16px; }
    .payamad-podcast-slide-card h3 { font-size: 18px; }
}
