.bhp-wrap,
.bhp-wrap * {
    box-sizing: border-box;
}

.bhp-wrap {
    --bhp-accent: #FBEE69;
    --bhp-bg: #111111;
    --bhp-surface: #1A1A1A;
    --bhp-text: #FFFFFF;
    --bhp-muted: rgba(255, 255, 255, 0.66);
    --bhp-border: rgba(255, 255, 255, 0.12);
    width: 100%;
    color: var(--bhp-text);
    font-family: inherit;
}

.bhp-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.bhp-title {
    margin: 0;
    color: inherit;
    font-size: clamp(28px, 3vw, 46px);
    line-height: 1.15;
    font-weight: 800;
}

.bhp-subtitle {
    margin: 8px 0 0;
    color: var(--bhp-muted);
    font-size: 15px;
    line-height: 1.9;
}

.bhp-search {
    width: min(320px, 100%);
    flex: 0 0 auto;
}

.bhp-search input {
    width: 100%;
    min-height: 46px;
    border: 1px solid var(--bhp-border);
    border-radius: 999px;
    padding: 0 18px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--bhp-text);
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.bhp-search input::placeholder {
    color: var(--bhp-muted);
}

.bhp-search input:focus {
    border-color: var(--bhp-accent);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--bhp-accent) 25%, transparent);
}

.bhp-player {
    position: sticky;
    top: 12px;
    z-index: 20;
    display: grid;
    grid-template-columns: 46px minmax(180px, 1fr) minmax(220px, 2.2fr) auto;
    align-items: center;
    gap: 14px;
    min-height: 72px;
    padding: 12px 16px;
    margin-bottom: 24px;
    background:
        linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,0)),
        var(--bhp-bg);
    border: 1px solid var(--bhp-border);
    border-radius: 20px;
    box-shadow: 0 16px 40px rgba(0,0,0,.20);
    overflow: hidden;
}

.bhp-player::before {
    content: "";
    position: absolute;
    inset: auto 16px 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--bhp-accent), transparent);
    opacity: .9;
}

.bhp-play {
    position: relative;
    width: 46px;
    height: 46px;
    display: inline-grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: var(--bhp-accent);
    color: #111;
    cursor: pointer;
    transition: transform .2s ease, filter .2s ease;
}

.bhp-play:hover,
.bhp-play:focus-visible {
    transform: scale(1.05);
    filter: brightness(1.02);
    outline: none;
}

.bhp-play-icon {
    width: 0;
    height: 0;
    margin-inline-start: 3px;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 0;
    border-left: 15px solid currentColor;
}

.bhp-wrap.is-playing .bhp-play-icon {
    width: 14px;
    height: 18px;
    margin: 0;
    border: 0;
    border-left: 5px solid currentColor;
    border-right: 5px solid currentColor;
}

.bhp-now {
    min-width: 0;
}

.bhp-now-title {
    overflow: hidden;
    color: var(--bhp-text);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.5;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.bhp-now-meta {
    overflow: hidden;
    margin-top: 2px;
    color: var(--bhp-muted);
    font-size: 12px;
    line-height: 1.5;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.bhp-timeline {
    position: relative;
    min-height: 42px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    background: rgba(255,255,255,.055);
    border: 1px solid rgba(255,255,255,.08);
}

.bhp-timeline:focus-visible {
    outline: 2px solid var(--bhp-accent);
    outline-offset: 3px;
}

.bhp-wave,
.bhp-wave-progress {
    position: absolute;
    inset: 7px 10px;
    display: flex;
    align-items: center;
    gap: 3px;
    overflow: hidden;
}

.bhp-wave span,
.bhp-wave-progress span {
    display: block;
    flex: 1 1 3px;
    min-width: 2px;
    max-width: 6px;
    border-radius: 999px;
    background: rgba(255,255,255,.25);
}

.bhp-wave-progress {
    width: 0;
    inset-inline-end: auto;
    max-width: calc(100% - 20px);
}

.bhp-wave-progress span {
    background: var(--bhp-accent);
}

.bhp-time {
    direction: ltr;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--bhp-muted);
    font-size: 12px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.bhp-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.bhp-card {
    width: 100%;
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr) 44px;
    gap: 16px;
    align-items: center;
    padding: 14px;
    text-align: left;
    color: var(--bhp-text);
    background:
        linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,0)),
        var(--bhp-surface);
    border: 1px solid var(--bhp-border);
    border-radius: 20px;
    cursor: pointer;
    transition: transform .22s ease, border-color .22s ease, background-color .22s ease, box-shadow .22s ease;
}

.bhp-card:hover,
.bhp-card:focus-visible,
.bhp-card.is-active {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--bhp-accent) 70%, transparent);
    box-shadow: 0 14px 34px rgba(0,0,0,.14);
    outline: none;
}

.bhp-card.is-active {
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--bhp-accent) 18%, transparent), transparent 55%),
        var(--bhp-surface);
}

.bhp-card.is-disabled {
    opacity: .55;
    cursor: not-allowed;
}

.bhp-card-cover {
    position: relative;
    width: 92px;
    height: 92px;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255,255,255,.06);
}

.bhp-card-cover img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.bhp-card-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: var(--bhp-accent);
    font-size: 30px;
}

.bhp-card-body {
    display: block;
    min-width: 0;
}

.bhp-card-kicker {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 6px;
    color: var(--bhp-muted);
    font-size: 12px;
    line-height: 1.5;
}

.bhp-card-kicker span {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 1px 9px;
    background: rgba(255,255,255,.07);
    border-radius: 999px;
}

.bhp-card-title {
    display: block;
    color: var(--bhp-text);
    font-size: clamp(16px, 1.7vw, 21px);
    font-weight: 800;
    line-height: 1.55;
}

.bhp-card-excerpt {
    display: -webkit-box;
    margin-top: 5px;
    overflow: hidden;
    color: var(--bhp-muted);
    font-size: 14px;
    line-height: 1.8;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.bhp-card-action {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    justify-self: end;
    border-radius: 50%;
    background: rgba(255,255,255,.06);
    color: var(--bhp-accent);
}

.bhp-card-action::before {
    content: "";
    width: 0;
    height: 0;
    margin-inline-start: 2px;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 12px solid currentColor;
}

.bhp-card.is-active .bhp-card-action {
    background: var(--bhp-accent);
    color: #111;
}

.bhp-empty {
    padding: 18px;
    border-radius: 14px;
    background: #f7f7f7;
}

@media (max-width: 900px) {
    .bhp-head {
        align-items: stretch;
        flex-direction: column;
    }

    .bhp-search {
        width: 100%;
    }

    .bhp-player {
        position: relative;
        top: auto;
        grid-template-columns: 46px 1fr auto;
    }

    .bhp-timeline {
        grid-column: 1 / -1;
        order: 5;
    }
}

@media (max-width: 620px) {
    .bhp-player {
        grid-template-columns: 42px 1fr;
        gap: 12px;
        padding: 12px;
        border-radius: 16px;
    }

    .bhp-time {
        grid-column: 1 / -1;
        justify-content: flex-end;
    }

    .bhp-card {
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 12px;
        padding: 12px;
        border-radius: 16px;
    }

    .bhp-card-cover {
        width: 72px;
        height: 72px;
        border-radius: 14px;
    }

    .bhp-card-action {
        display: none;
    }

    .bhp-card-excerpt {
        -webkit-line-clamp: 1;
    }
}

.bhp-player-wrap .bhp-player {
    margin-bottom: 0;
}

.bhp-list-wrap .bhp-list {
    margin-top: 0;
}

/* Version 1.3.0 - clean editorial episode list */
.bhp-wrap .bhp-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    background: transparent !important;
}

.bhp-list-wrap,
.bhp-list-wrap .bhp-head,
.bhp-list-wrap .bhp-list {
    background: transparent !important;
}

.bhp-list-wrap {
    color: #101820;
}

.bhp-list-wrap .bhp-head {
    display: block;
    margin-bottom: 32px;
}

.bhp-list-wrap .bhp-title {
    margin: 0;
    color: #101820;
    font-size: clamp(22px, 2vw, 28px);
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.bhp-list-wrap .bhp-subtitle {
    max-width: 760px;
    margin-top: 8px;
    color: #626b73;
    font-size: 15px;
    line-height: 1.7;
}

.bhp-wrap .bhp-card {
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
    padding: 28px 0 30px;
    color: inherit;
    background: transparent !important;
    border: 0;
    border-top: 1px solid #d9dde1;
    border-radius: 0;
    box-shadow: none !important;
    transform: none !important;
}

.bhp-wrap .bhp-card:last-child {
    border-bottom: 1px solid #d9dde1;
}

.bhp-wrap .bhp-card:hover,
.bhp-wrap .bhp-card:focus-visible,
.bhp-wrap .bhp-card.is-active {
    background: transparent !important;
    border-color: #d9dde1;
    box-shadow: none !important;
    outline: none;
}

.bhp-wrap .bhp-card:focus-visible .bhp-card-cover {
    outline: 2px solid var(--bhp-accent);
    outline-offset: 4px;
}

.bhp-wrap .bhp-card-cover {
    position: relative;
    width: 42px;
    height: 42px;
    margin-top: 5px;
    display: inline-grid;
    place-items: center;
    border: 4px solid currentColor;
    border-radius: 50%;
    background: transparent !important;
    color: #0f1717;
    overflow: visible;
    transition: color .2s ease, transform .2s ease, border-color .2s ease;
}

.bhp-wrap .bhp-card:hover .bhp-card-cover,
.bhp-wrap .bhp-card.is-active .bhp-card-cover {
    color: #0f1717;
    transform: scale(1.04);
}

.bhp-wrap .bhp-card-cover img,
.bhp-wrap .bhp-card-placeholder {
    display: none !important;
}

.bhp-wrap .bhp-card-cover::before {
    content: "";
    width: 0;
    height: 0;
    margin-left: 4px;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 15px solid currentColor;
}

.bhp-wrap .bhp-card-body {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.bhp-wrap .bhp-card-title {
    order: 1;
    display: block;
    margin: 0;
    color: #101820;
    font-size: clamp(18px, 1.5vw, 21px);
    font-weight: 800;
    line-height: 1.42;
    letter-spacing: -0.015em;
}

.bhp-wrap .bhp-card-excerpt {
    order: 2;
    display: -webkit-box;
    width: 100%;
    max-width: min(100%, 980px);
    margin-top: 6px;
    overflow: hidden;
    color: #000;
    font-size: clamp(15px, 1.2vw, 18px);
    line-height: 1.5;
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: normal;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.bhp-wrap .bhp-card-kicker {
    order: 3;
    display: block;
    margin: 16px 0 0;
    color: #999;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 400;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.bhp-wrap .bhp-card-kicker span {
    min-height: 0;
    padding: 0;
    background: transparent;
    border-radius: 0;
}

.bhp-wrap .bhp-card-action {
    display: none !important;
}

@media (max-width: 620px) {
    .bhp-wrap .bhp-card {
        grid-template-columns: 48px minmax(0, 1fr);
        gap: 14px;
        padding: 22px 0 24px;
    }

    .bhp-wrap .bhp-card-cover {
        width: 38px;
        height: 38px;
        border-width: 3px;
    }

    .bhp-wrap .bhp-card-cover::before {
        border-top-width: 8px;
        border-bottom-width: 8px;
        border-left-width: 12px;
    }

    .bhp-wrap .bhp-card-excerpt {
        -webkit-line-clamp: 3;
    }

    .bhp-wrap .bhp-card-kicker {
        font-size: 12px;
    }
}

/* Version 1.4.2 - longer episode descriptions */
.bhp-timeline .bhp-time-bubble {
    position: absolute;
    top: 50%;
    left: 22px;
    z-index: 6;
    transform: translate(-50%, -50%);
    min-width: 38px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    border-radius: 3px;
    background: var(--bhp-accent);
    color: #111;
    font-size: 10px;
    line-height: 1;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
    pointer-events: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
}

.bhp-timeline .bhp-time-bubble::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -5px;
    transform: translateX(-50%);
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid var(--bhp-accent);
}

.bhp-view-all-wrap {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.bhp-view-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 24px;
    border: 1px solid #101820;
    border-radius: 999px;
    color: #101820;
    background: transparent;
    font-size: 14px;
    line-height: 1;
    font-weight: 800;
    text-decoration: none !important;
    transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.bhp-view-all:hover,
.bhp-view-all:focus-visible {
    background: #101820;
    color: #fff;
    transform: translateY(-1px);
    outline: none;
}


/* Force episode descriptions to use more text and wrap into three lines, even inside Elementor sections. */
.bhp-list-wrap .bhp-card-excerpt,
.bhp-wrap.bhp-list-wrap .bhp-card-excerpt {
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: normal;
    -webkit-line-clamp: 3;
}
