/* Live session — shared status indicator, home card, live post
/* ---------------------------------------------------------- */

/* Status indicator (card + post bar)
   live       = filled dot, fast blink
   pre-market = hollow ring, slow blink
   closed     = dim dot, static */
.gh-live-status {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .02em;
}

.gh-live-status b {
    font-weight: 700;
}

.gh-live-dot {
    box-sizing: border-box;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex: none;
    background: var(--ld-live);
    box-shadow: 0 0 0 4px var(--ld-halo);
    animation: gh-live-blink 1s steps(1, end) infinite;
}

[data-state="premarket"] .gh-live-dot {
    background: transparent;
    border: 2px solid var(--ld-pre);
    box-shadow: none;
    animation: gh-live-blink 2s steps(1, end) infinite;
}

[data-state="closed"] .gh-live-dot {
    background: var(--ld-closed);
    box-shadow: none;
    animation: none;
}

@keyframes gh-live-blink {
    0%, 55% { opacity: 1; }
    56%, 100% { opacity: .12; }
}

@media (prefers-reduced-motion: reduce) {
    .gh-live-dot { animation: none !important; }
}

/* Home card
/* ---------------------------------------------------------- */

.gh-live-slot:not(:empty) {
    margin-top: 40px;
}

.gh-live {
    --ld-live: #fff;
    --ld-halo: rgba(255, 255, 255, .25);
    --ld-pre: #d9d8ff;
    --ld-closed: rgba(255, 255, 255, .45);
    background: #221FFF;
    color: #fff;
    border-radius: 30px;
    overflow: hidden;
    transition: background-color .2s ease;
}

.gh-live:hover {
    background: #1a18d6;
}

.gh-live .gh-live-link,
.gh-live .gh-live-link:hover {
    display: block;
    color: #fff;
    text-decoration: none;
    padding: 45px 45px 55px;
    min-height: 290px;
}

.gh-live-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: .02em;
    margin-bottom: 8px;
}

.gh-live .gh-live-title {
    color: #fff;
    font-size: clamp(3.2rem, 4.2vw, 6rem);
    font-weight: 400;
    letter-spacing: -.04em;
    line-height: 1;
    font-variation-settings: "slnt" -2;
    margin: 0;
    word-break: break-word;
}

.gh-live .gh-live-excerpt {
    max-width: 950px;
    font-size: 18px;
    line-height: 1.25;
    margin: 18px 0 0;
    color: #fff;
}

.gh-live-cta {
    display: inline-block;
    margin-top: 36px;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: .02em;
}

.gh-live-cta::after {
    content: " →";
}

@media (max-width: 767px) {
    .gh-live .gh-live-link,
    .gh-live .gh-live-link:hover {
        padding: 28px 24px 36px;
        min-height: 0;
    }
}

/* Live post page
/* ---------------------------------------------------------- */

.gh-live-bar {
    --ld-live: #221FFF;
    --ld-halo: rgba(34, 31, 255, .18);
    --ld-pre: #221FFF;
    --ld-closed: rgba(0, 0, 0, .35);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
    margin: 40px auto 0;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: .02em;
    color: #000;
}

.gh-live-bar .gh-live-status {
    padding: 8px 16px 8px 14px;
    border: 1px solid #000;
    border-radius: 999px;
    background: #fff;
}

.gh-live-bar[data-state="live"] .gh-live-status {
    border-color: #221FFF;
    color: #221FFF;
}

.gh-live-bar .gh-live-updated {
    color: var(--color-secondary-text-dark, rgba(0, 0, 0, .4));
}

/* "New updates" button */
.gh-live-newbtn {
    position: fixed;
    top: 84px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 50;
    padding: 12px 22px;
    border: 0;
    border-radius: 999px;
    background: #221FFF;
    color: #fff;
    font: inherit;
    font-size: 1.3rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .02em;
    cursor: pointer;
    box-shadow: 0 6px 24px rgba(34, 31, 255, .35);
}

.gh-live-newbtn[hidden] {
    display: none;
}

.gh-live-newbtn:hover {
    background: #000;
}
