.p4g-livedirect-page__inner,
.p4g-livedirect-archive__inner {
    max-width: 1100px;
    margin: 0 auto;
}

.p4g-livedirect-page {
    padding-bottom: 0;
}

/* —— Layout page live : footer en bas, sans grand vide gris —— */
html.p4g-livedirect-html {
    height: 100%;
}

body.p4g-livedirect-sticky-footer {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    min-height: 100dvh;
}

body.p4g-livedirect-sticky-footer .site-header,
body.p4g-livedirect-sticky-footer .ad-slot-under-header {
    flex: 0 0 auto;
}

main.site-main.p4g-livedirect-page {
    max-width: none;
    width: 100%;
    padding-top: 0;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
    overflow-x: clip;
    flex: 0 0 auto;
    display: block;
}

body.p4g-livedirect-sticky-footer > .ad-slot-above-footer {
    margin-top: auto;
    flex: 0 0 auto;
}

body.p4g-livedirect-sticky-footer > main.site-main.p4g-livedirect-page + .footer-tendances-band {
    margin-top: auto;
}

body.p4g-livedirect-sticky-footer > .ad-slot-above-footer + .footer-tendances-band,
body.p4g-livedirect-sticky-footer > .ad-slot-above-footer + .home-footer-quote + .footer-tendances-band {
    margin-top: 0;
}

body.p4g-livedirect-sticky-footer .footer-tendances-band,
body.p4g-livedirect-sticky-footer .site-footer {
    flex: 0 0 auto;
}

body.p4g-livedirect-has-editor-bar main.site-main.p4g-livedirect-page {
    padding-bottom: calc(190px + env(safe-area-inset-bottom, 0px));
}

@media (max-width: 782px) {
    body.p4g-livedirect-has-editor-bar main.site-main.p4g-livedirect-page {
        padding-bottom: calc(230px + env(safe-area-inset-bottom, 0px));
    }
}

.p4g-livedirect {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

/* —— Hero bannière —— */
.p4g-livedirect__hero {
    position: relative;
    isolation: isolate;
    width: 100%;
    max-width: 100%;
    min-height: clamp(320px, 42vw, 540px);
    display: flex;
    align-items: stretch;
    overflow: hidden;
    margin-bottom: clamp(1.25rem, 3vw, 2rem);
}

.p4g-livedirect__hero--has-player {
    min-height: clamp(360px, 52vw, 720px);
}

.p4g-livedirect__hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.p4g-livedirect__hero--no-cover .p4g-livedirect__hero-media {
    background:
        radial-gradient(circle at 18% 22%, rgba(245, 158, 11, 0.35), transparent 42%),
        linear-gradient(125deg, #0b1220 0%, #152238 45%, #1a2744 100%);
}

.p4g-livedirect__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.p4g-livedirect__hero-scrim {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(6, 11, 20, 0.25) 0%, rgba(6, 11, 20, 0.55) 100%),
        linear-gradient(105deg, rgba(6, 11, 20, 0.94) 0%, rgba(6, 11, 20, 0.82) 38%, rgba(6, 11, 20, 0.45) 72%, rgba(6, 11, 20, 0.28) 100%);
}

.p4g-livedirect__hero--ended .p4g-livedirect__hero-scrim {
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.35) 0%, rgba(15, 23, 42, 0.72) 100%),
        linear-gradient(105deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.72) 50%, rgba(15, 23, 42, 0.5) 100%);
}

.p4g-livedirect__hero--live .p4g-livedirect__hero-scrim {
    background:
        linear-gradient(180deg, rgba(6, 11, 20, 0.2) 0%, rgba(6, 11, 20, 0.6) 100%),
        linear-gradient(105deg, rgba(6, 11, 20, 0.93) 0%, rgba(40, 8, 8, 0.78) 34%, rgba(6, 11, 20, 0.42) 72%, rgba(6, 11, 20, 0.25) 100%);
}

.p4g-livedirect__hero-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: min(1600px, 100%);
    margin: 0 auto;
    padding: clamp(1.35rem, 3.5vw, 2.75rem) clamp(1rem, 3vw, 2rem);
    display: grid;
    gap: clamp(1rem, 2.5vw, 1.75rem);
    align-items: center;
    align-content: center;
    min-width: 0;
    box-sizing: border-box;
}

@media (min-width: 960px) {
    .p4g-livedirect__hero-inner {
        grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.35fr);
        gap: clamp(1.25rem, 2.5vw, 2rem);
    }

    .p4g-livedirect__hero--has-player .p4g-livedirect__hero-inner {
        align-items: center;
    }

    .p4g-livedirect__hero--has-player:not(.p4g-livedirect__hero--has-cover) .p4g-livedirect__hero-inner {
        grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.45fr);
    }
}

@media (min-width: 1200px) {
    .p4g-livedirect__hero-inner {
        grid-template-columns: minmax(260px, 32%) minmax(0, 68%);
    }
}

.p4g-livedirect__hero-copy {
    color: #f8fafc;
    max-width: 28rem;
    min-width: 0;
}

.p4g-livedirect__hero-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.85rem;
}

.p4g-livedirect__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(8px);
}

.p4g-livedirect__badge--live {
    background: rgba(220, 38, 38, 0.92);
    color: #fff;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 8px 24px rgba(220, 38, 38, 0.35);
}

.p4g-livedirect__badge--scheduled {
    background: rgba(245, 158, 11, 0.95);
    color: #111827;
}

.p4g-livedirect__badge--ended {
    background: rgba(100, 116, 139, 0.92);
    color: #fff;
}

.p4g-livedirect__badge-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.65);
    animation: p4g-livedirect-badge-pulse 1.6s ease-out infinite;
}

@keyframes p4g-livedirect-badge-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.65);
    }
    70% {
        box-shadow: 0 0 0 7px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.p4g-livedirect__title {
    margin: 0;
    font-size: clamp(1.85rem, 4.5vw, 3rem);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
    text-wrap: balance;
    text-shadow: 0 2px 28px rgba(0, 0, 0, 0.35);
}

.p4g-livedirect__excerpt {
    margin: 0.85rem 0 0;
    max-width: 34rem;
    font-size: clamp(0.95rem, 1.6vw, 1.08rem);
    line-height: 1.55;
    color: rgba(248, 250, 252, 0.82);
}

.p4g-livedirect__hero-player {
    width: 100%;
    max-width: none;
    min-width: 0;
    justify-self: stretch;
}

@media (min-width: 960px) {
    .p4g-livedirect__hero-player {
        justify-self: stretch;
    }
}

.p4g-livedirect__player-shell {
    background: rgba(8, 12, 22, 0.72);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    padding: 0.55rem;
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.42),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    width: 100%;
    box-sizing: border-box;
}

.p4g-livedirect__player-label {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0 0 0.55rem 0.2rem;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(248, 250, 252, 0.72);
}

.p4g-livedirect__player-label::before {
    content: "";
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: #ef4444;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.65);
}

.p4g-livedirect__hero--ended .p4g-livedirect__player-label::before,
.p4g-livedirect__hero--scheduled .p4g-livedirect__player-label::before {
    background: #94a3b8;
    box-shadow: none;
}

.p4g-livedirect__player {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 14px;
    overflow: hidden;
    background: #020617;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.p4g-livedirect__player iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* —— Fil live —— */
.p4g-livedirect__main {
    width: 100%;
    max-width: min(1320px, 100%);
    margin: 0 auto;
    padding: 0 clamp(1rem, 3vw, 2rem) clamp(1.25rem, 3vw, 2rem);
    box-sizing: border-box;
}

.p4g-livedirect__feed-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem 1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.1);
}

.p4g-livedirect__feed-title {
    margin: 0;
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    font-weight: 800;
    letter-spacing: -0.01em;
}

.p4g-livedirect__feed-live {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: #64748b;
}

.p4g-livedirect__feed-live::before {
    content: "";
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: #22c55e;
    animation: p4g-livedirect-badge-pulse 2s ease-out infinite;
}

.p4g-livedirect__feed {
    display: grid;
    gap: 1rem;
}

.p4g-livedirect__pagination {
    margin-top: 1.35rem;
    padding-top: 1.15rem;
    border-top: 1px solid rgba(15, 23, 42, 0.1);
}

.p4g-livedirect__pagination-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.65rem 0.85rem;
}

.p4g-livedirect-pagination-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 38px;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(30, 115, 190, 0.22);
    background: #fff;
    color: #1e73be;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.p4g-livedirect-pagination-btn:hover,
.p4g-livedirect-pagination-btn:focus-visible {
    background: rgba(30, 115, 190, 0.08);
    border-color: rgba(30, 115, 190, 0.4);
    color: #145982;
}

.p4g-livedirect-pagination-btn.is-disabled {
    opacity: 0.45;
    pointer-events: none;
}

.p4g-livedirect__pagination-pages {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.p4g-livedirect-pagination-page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    height: 2rem;
    padding: 0 0.45rem;
    border-radius: 999px;
    border: 1px solid transparent;
    color: #475569;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
}

.p4g-livedirect-pagination-page:hover,
.p4g-livedirect-pagination-page:focus-visible {
    background: rgba(15, 23, 42, 0.06);
    color: #0f172a;
}

.p4g-livedirect-pagination-page.is-current {
    background: #1e73be;
    color: #fff;
    box-shadow: 0 4px 14px rgba(30, 115, 190, 0.28);
}

.p4g-livedirect__pagination-meta {
    margin: 0.75rem 0 0;
    text-align: center;
    color: #64748b;
    font-size: 0.82rem;
}

html.theme-dark .p4g-livedirect__pagination,
body.theme-dark .p4g-livedirect__pagination {
    border-top-color: rgba(148, 163, 184, 0.18);
}

html.theme-dark .p4g-livedirect-pagination-btn,
body.theme-dark .p4g-livedirect-pagination-btn {
    background: #0f1b2d;
    border-color: rgba(148, 163, 184, 0.24);
    color: #dbe8ff;
}

html.theme-dark .p4g-livedirect-pagination-page,
body.theme-dark .p4g-livedirect-pagination-page {
    color: #94a3b8;
}

html.theme-dark .p4g-livedirect-pagination-page.is-current,
body.theme-dark .p4g-livedirect-pagination-page.is-current {
    background: #1e73be;
    color: #fff;
}

.p4g-livedirect-note {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    padding: 1rem 1.1rem;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.p4g-livedirect-note.is-pinned {
    border-color: #f59e0b;
    box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.35);
}

.p4g-livedirect-note--alert {
    border-left: 4px solid #dc2626;
}

.p4g-livedirect-note--photo {
    border-left: 4px solid #2563eb;
}

.p4g-livedirect-note__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.85rem;
    font-size: 0.82rem;
    color: #64748b;
    margin-bottom: 0.55rem;
}

.p4g-livedirect-note__type {
    font-weight: 700;
    color: #0f172a;
}

.p4g-livedirect-note__author {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-left: auto;
    font-weight: 600;
    color: #334155;
}

.p4g-livedirect-note__author-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    flex: 0 0 auto;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(15, 23, 42, 0.06);
}

.p4g-livedirect-note__author-name {
    line-height: 1.2;
}

.p4g-livedirect-note__edit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin-left: auto;
    border: 0;
    background: transparent;
    color: #2563eb;
    font-size: 0.95rem;
    cursor: pointer;
    padding: 0;
    border-radius: 8px;
    flex: 0 0 auto;
}

.p4g-livedirect-note__edit--admin {
    width: 32px;
    height: 32px;
    margin-left: 0;
    margin-top: 0.35rem;
    vertical-align: middle;
}

.p4g-livedirect-note__edit:hover,
.p4g-livedirect-note__edit:focus-visible {
    background: rgba(37, 99, 235, 0.08);
    outline: none;
}

.p4g-livedirect-editor-bar.is-editing-note,
.p4g-livedirect-admin-composer.is-editing-note {
    box-shadow: inset 0 0 0 2px rgba(37, 99, 235, 0.35);
}

.p4g-livedirect-note__engagement {
    margin-top: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.p4g-livedirect-note__reactions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.65rem;
}

.p4g-livedirect-reaction-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    min-height: 34px;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    background: rgba(15, 23, 42, 0.03);
    color: #334155;
    cursor: pointer;
    transition: transform 0.15s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.p4g-livedirect-reaction-btn:hover:not(:disabled),
.p4g-livedirect-reaction-btn:focus-visible:not(:disabled) {
    border-color: rgba(30, 115, 190, 0.35);
    background: rgba(30, 115, 190, 0.08);
}

.p4g-livedirect-reaction-btn.is-active {
    border-color: rgba(30, 115, 190, 0.45);
    background: rgba(30, 115, 190, 0.14);
    box-shadow: 0 0 0 1px rgba(30, 115, 190, 0.12);
}

.p4g-livedirect-reaction-btn:disabled {
    opacity: 0.72;
    cursor: not-allowed;
}

.p4g-livedirect-reaction-btn__emoji {
    font-size: 1rem;
    line-height: 1;
}

.p4g-livedirect-reaction-btn__count {
    min-width: 0.85rem;
    font-size: 0.74rem;
    font-weight: 700;
    color: #64748b;
}

.p4g-livedirect-comments-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.2rem 0;
    border: 0;
    background: transparent;
    color: #1e73be;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
}

.p4g-livedirect-note__comments-panel {
    margin-top: 0.65rem;
}

.p4g-livedirect-comments-list {
    display: grid;
    gap: 0.65rem;
    margin: 0 0 0.75rem;
    padding: 0;
    list-style: none;
}

.p4g-livedirect-comment {
    display: flex;
    gap: 0.55rem;
    align-items: flex-start;
}

.p4g-livedirect-comment__avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    flex: 0 0 auto;
}

.p4g-livedirect-comment__body {
    min-width: 0;
    flex: 1 1 auto;
}

.p4g-livedirect-comment__head {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.55rem;
    align-items: baseline;
    margin-bottom: 0.15rem;
    font-size: 0.78rem;
}

.p4g-livedirect-comment__head strong {
    color: #0f172a;
}

.p4g-livedirect-comment__head time {
    color: #94a3b8;
}

.p4g-livedirect-comment__text {
    font-size: 0.86rem;
    line-height: 1.45;
    color: #334155;
}

.p4g-livedirect-comment__text p {
    margin: 0;
}

.p4g-livedirect-comment-form {
    display: flex;
    gap: 0.55rem;
    align-items: flex-start;
}

.p4g-livedirect-comment-form img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex: 0 0 auto;
}

.p4g-livedirect-comment-form__field {
    display: flex;
    flex: 1 1 auto;
    gap: 0.45rem;
    align-items: center;
    min-width: 0;
}

.p4g-livedirect-comment-form__field input[type="text"] {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 38px;
    padding: 0.45rem 0.65rem;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 999px;
    background: #fff;
    font: inherit;
}

.p4g-livedirect-btn--sm {
    min-height: 36px;
    padding: 0.4rem 0.85rem;
    font-size: 0.8rem;
}

.p4g-livedirect-note__engagement .p4g-livedirect-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-height: 36px;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
}

.p4g-livedirect-note__engagement .p4g-livedirect-btn--primary {
    background: linear-gradient(180deg, #228be6 0%, #1e73be 100%);
    color: #fff;
    box-shadow: 0 4px 14px rgba(30, 115, 190, 0.28);
}

.p4g-livedirect-note__login-hint {
    margin: 0;
    font-size: 0.82rem;
}

.p4g-livedirect-note__login-hint a {
    color: #1e73be;
    font-weight: 700;
    text-decoration: none;
}

html.theme-dark .p4g-livedirect-note__engagement,
body.theme-dark .p4g-livedirect-note__engagement {
    border-top-color: rgba(148, 163, 184, 0.18);
}

html.theme-dark .p4g-livedirect-reaction-btn,
body.theme-dark .p4g-livedirect-reaction-btn {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(148, 163, 184, 0.2);
    color: #dbe8ff;
}

html.theme-dark .p4g-livedirect-comment__head strong,
body.theme-dark .p4g-livedirect-comment__head strong,
html.theme-dark .p4g-livedirect-comment__text,
body.theme-dark .p4g-livedirect-comment__text {
    color: #dbe8ff;
}

html.theme-dark .p4g-livedirect-comment-form__field input[type="text"],
body.theme-dark .p4g-livedirect-comment-form__field input[type="text"] {
    background: #0f1b2d;
    border-color: rgba(148, 163, 184, 0.24);
    color: #f8fafc;
}

.p4g-livedirect-note__title {
    margin: 0 0 0.65rem;
    font-size: 1.1rem;
}

.p4g-livedirect-note__media {
    margin: 0 0 0.85rem;
    overflow: hidden;
    border-radius: 12px;
    max-height: min(380px, 50vh);
    background: rgba(15, 23, 42, 0.04);
}

.p4g-livedirect-note__media img {
    width: 100%;
    max-height: min(380px, 50vh);
    height: auto;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
    display: block;
}

.p4g-livedirect-note__content img,
.p4g-livedirect-note__content figure img {
    display: block;
    max-width: 100%;
    width: auto;
    max-height: min(320px, 42vh);
    height: auto;
    object-fit: contain;
    object-position: center;
    border-radius: 8px;
    margin: 0.5rem 0;
}

.p4g-livedirect-note__content > :last-child,
.p4g-livedirect-note__excerpt {
    margin-bottom: 0;
}

.p4g-livedirect__empty,
.p4g-livedirect-empty {
    color: #64748b;
    font-style: italic;
}

.p4g-livedirect-archive__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
}

.p4g-livedirect-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.p4g-livedirect-card a {
    display: block;
    color: inherit;
    text-decoration: none;
    padding: 1rem;
}

.p4g-livedirect-card__thumb {
    max-height: 180px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 0.75rem;
}

.p4g-livedirect-card__thumb img {
    width: 100%;
    height: 100%;
    min-height: 120px;
    max-height: 180px;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
    margin-bottom: 0;
    display: block;
}

.p4g-livedirect-card__badge {
    display: inline-block;
    margin-bottom: 0.5rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
}

.p4g-livedirect-card__badge--live { background: #dc2626; color: #fff; }
.p4g-livedirect-card__badge--scheduled { background: #f59e0b; color: #111827; }
.p4g-livedirect-card__badge--ended { background: #64748b; color: #fff; }

html.theme-dark .p4g-livedirect-note,
body.theme-dark .p4g-livedirect-note,
html.theme-dark .p4g-livedirect-card,
body.theme-dark .p4g-livedirect-card {
    background: #0f1b2d;
    border-color: rgba(148, 163, 184, 0.18);
    color: #dbe8ff;
}

html.theme-dark .p4g-livedirect__feed-head,
body.theme-dark .p4g-livedirect__feed-head {
    border-bottom-color: rgba(148, 163, 184, 0.18);
}

html.theme-dark .p4g-livedirect__feed-title,
body.theme-dark .p4g-livedirect__feed-title {
    color: #f8fafc;
}

html.theme-dark .p4g-livedirect-note__meta,
body.theme-dark .p4g-livedirect-note__meta {
    color: #94a3b8;
}

html.theme-dark .p4g-livedirect-note__type,
body.theme-dark .p4g-livedirect-note__type {
    color: #f8fafc;
}

html.theme-dark .p4g-livedirect-note__author,
body.theme-dark .p4g-livedirect-note__author {
    color: #cbd5e1;
}

.p4g-livedirect-note.is-new {
    animation: p4g-livedirect-note-in 0.45s ease-out;
}

@keyframes p4g-livedirect-note-in {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 959px) {
    .p4g-livedirect__hero,
    .p4g-livedirect__hero--has-player {
        min-height: auto;
    }

    .p4g-livedirect__hero-inner {
        padding-top: clamp(1.5rem, 5vw, 2rem);
        padding-bottom: clamp(1.25rem, 4vw, 1.75rem);
    }

    .p4g-livedirect__hero-copy {
        max-width: none;
    }

    .p4g-livedirect__hero-player {
        max-width: none;
    }
}

@media (max-width: 640px) {
    .p4g-livedirect-note__media,
    .p4g-livedirect-note__media img {
        max-height: min(260px, 38vh);
    }

    .p4g-livedirect-note__content img,
    .p4g-livedirect-note__content figure img {
        max-height: min(220px, 34vh);
    }

    .p4g-livedirect__hero {
        min-height: clamp(280px, 72vw, 420px);
    }

    .p4g-livedirect__hero-scrim {
        background:
            linear-gradient(180deg, rgba(6, 11, 20, 0.15) 0%, rgba(6, 11, 20, 0.88) 100%),
            linear-gradient(0deg, rgba(6, 11, 20, 0.55), rgba(6, 11, 20, 0.55));
    }

    .p4g-livedirect__hero-inner {
        align-content: end;
    }

    .p4g-livedirect__hero--has-player .p4g-livedirect__hero-inner {
        align-content: start;
    }

    .p4g-livedirect__title {
        font-size: clamp(1.55rem, 7vw, 2rem);
    }
}
