/* Axadle live coverage (inc/live-blog.php, template-parts/home/live-now.php) */
.atp-lv-badge { align-items: center; background: #e11d48; border-radius: 6px; color: #fff; display: inline-flex; font-size: .68rem; font-weight: 900; gap: .35rem; letter-spacing: .08em; line-height: 1; padding: .34rem .55rem; text-transform: uppercase; }
.atp-lv-dot { animation: atp-lv-pulse 1.6s ease-out infinite; background: #fff; border-radius: 50%; display: inline-block; height: 7px; width: 7px; }
@keyframes atp-lv-pulse { 0% { box-shadow: 0 0 0 0 rgb(255 255 255 / .7); } 100% { box-shadow: 0 0 0 7px rgb(255 255 255 / 0); } }
.atp-lv-meta { align-items: center; display: flex; flex-wrap: wrap; gap: .45rem; }
.atp-lv-time { color: #e11d48; font-size: .7rem; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.atp-lv-flag { border-radius: 999px; font-size: .64rem; font-weight: 800; padding: .14rem .5rem; }
.atp-lv-flag.is-key { background: color-mix(in srgb, var(--atp-gold, #f6b23b) 18%, transparent); color: var(--atp-gold, #f6b23b); }
.atp-lv-flag.is-unverified { background: color-mix(in srgb, #f59e0b 16%, transparent); color: #f59e0b; }
.atp-lv-item.is-new { animation: atp-lv-in 2.4s ease; }
@keyframes atp-lv-in { 0% { background: color-mix(in srgb, #e11d48 16%, transparent); } 100% { background: transparent; } }

/* ---------- Story page timeline ---------- */
.atp-lv-timeline { margin: 1.5rem 0 2rem; }
.atp-lv-heading { align-items: center; color: var(--atp-heading, inherit); display: flex; font-size: 1.05rem; font-weight: 850; gap: .55rem; margin: 0 0 1rem; }
.atp-lv-heading .atp-lv-dot { background: #e11d48; }
.atp-lv-timeline.is-ended .atp-lv-heading { color: var(--atp-muted, #8a9bb3); }
.atp-lv-list { list-style: none; margin: 0; padding: 0; }
.atp-lv-timeline .atp-lv-list { border-left: 2px solid color-mix(in srgb, #e11d48 35%, var(--atp-border, #2a3a52)); margin-left: .35rem; }
.atp-lv-timeline .atp-lv-item { border-radius: 0 12px 12px 0; margin: 0 0 1.1rem; padding: .3rem 0 .3rem 1.2rem; position: relative; }
.atp-lv-timeline .atp-lv-item::before { background: var(--atp-bg, #060e1a); border: 2px solid #e11d48; border-radius: 50%; content: ""; height: 10px; left: -7px; position: absolute; top: .55rem; width: 10px; }
.atp-lv-timeline .atp-lv-item.is-pinned { background: color-mix(in srgb, var(--atp-gold, #f6b23b) 7%, transparent); }
.atp-lv-timeline .atp-lv-item.is-pinned::before { background: var(--atp-gold, #f6b23b); border-color: var(--atp-gold, #f6b23b); }
.atp-lv-text { color: var(--atp-text, inherit); font-size: 1.02rem; line-height: 1.6; margin-top: .3rem; }
.atp-lv-text p { margin: 0 0 .5em; }
.atp-lv-text p:last-child { margin-bottom: 0; }
.atp-lv-img { margin: .6rem 0 0; }
.atp-lv-img img { border-radius: 12px; display: block; height: auto; max-width: 100%; }
.atp-lv-empty { color: var(--atp-muted, #8a9bb3); }

/* ---------- Homepage live block ---------- */
.atp-lv-now { padding-bottom: .5rem; padding-top: 1.25rem; }
.atp-lv-now-grid { display: grid; gap: 1.25rem; }
.atp-lv-now-kicker { align-items: center; display: flex; flex-wrap: wrap; gap: .5rem; }
.atp-lv-now-label { color: var(--atp-muted-strong, #aebed3); font-size: .74rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.atp-lv-now-updated { color: var(--atp-muted, #8a9bb3); font-size: .74rem; }
.atp-lv-now-title { font-size: clamp(1.45rem, 2.4vw, 2rem); font-weight: 850; letter-spacing: -.015em; line-height: 1.18; margin: .55rem 0 .5rem; }
.atp-lv-now-title a { color: #e11d48; text-decoration: none; }
.atp-lv-now-title a:hover { text-decoration: underline; }
.atp-lv-now-dek { color: var(--atp-muted-strong, #aebed3); font-size: .98rem; line-height: 1.55; margin: 0 0 .9rem; }
.atp-lv-list--compact .atp-lv-item { border-left: 2px solid color-mix(in srgb, #e11d48 30%, var(--atp-border, #2a3a52)); margin: 0; padding: .1rem 0 .85rem 1rem; position: relative; }
.atp-lv-list--compact .atp-lv-item::before { background: #e11d48; border-radius: 50%; content: ""; height: 8px; left: -5px; position: absolute; top: .35rem; width: 8px; }
.atp-lv-list--compact .atp-lv-item p { color: var(--atp-heading, inherit); font-size: .92rem; font-weight: 700; line-height: 1.4; margin: .2rem 0 0; }
.atp-lv-now-more { color: #e11d48; display: inline-flex; font-size: .85rem; font-weight: 850; gap: .3rem; margin-top: .3rem; text-decoration: none; }
.atp-lv-now-more:hover { text-decoration: underline; }

/* Key facts card (Axadle navy + gold) */
.atp-lv-card {
  background:
    linear-gradient(180deg, rgb(6 18 38 / .55), rgb(6 18 38 / .92)),
    var(--atp-lv-bg, none) center / cover,
    repeating-linear-gradient(0deg, rgb(255 255 255 / .04) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(90deg, rgb(255 255 255 / .04) 0 1px, transparent 1px 34px),
    linear-gradient(135deg, #0a2a5c, #07152d);
  border-radius: 16px;
  color: #fff;
  display: flex;
  flex-direction: column;
  min-height: 300px;
  overflow: hidden;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.atp-lv-card:hover { box-shadow: 0 18px 44px rgb(3 15 30 / .35); transform: translateY(-2px); }
.atp-lv-card-top { align-items: center; display: flex; gap: .5rem; padding: 1.1rem 1.2rem 0; }
.atp-lv-chip { background: #fff; border-radius: 6px; color: #0a2a5c; font-size: .66rem; font-weight: 900; letter-spacing: .08em; padding: .32rem .55rem; text-transform: uppercase; }
.atp-lv-place { color: #c9d6e8; font-size: .72rem; font-weight: 850; letter-spacing: .18em; margin-left: auto; text-transform: uppercase; }
.atp-lv-card-body { display: flex; flex: 1; flex-direction: column; gap: .7rem; justify-content: center; padding: 1.1rem 1.3rem; }
.atp-lv-card-head { font-size: clamp(1.35rem, 2.3vw, 1.9rem); font-weight: 850; letter-spacing: -.015em; line-height: 1.18; }
.atp-lv-card-sub { border-left: 3px solid #3b9eff; color: #d8e3f2; font-size: .95rem; line-height: 1.5; padding-left: .7rem; }
.atp-lv-card-warn { color: #fbbf24; font-size: .8rem; font-weight: 800; }
.atp-lv-card-figure { align-items: center; background: #fff; color: #0a1f3f; display: flex; gap: .8rem; padding: .8rem 1.2rem; }
.atp-lv-card-figure span { background: #0a2a5c; border-radius: 4px; color: #fff; flex: 0 0 auto; font-size: .62rem; font-weight: 900; letter-spacing: .1em; padding: .3rem .5rem; text-transform: uppercase; }
.atp-lv-card-figure b { font-size: .98rem; font-weight: 800; }

@media (min-width: 900px) {
  .atp-lv-now-grid { align-items: stretch; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 1.75rem; }
}
@media (prefers-reduced-motion: reduce) {
  .atp-lv-dot, .atp-lv-item.is-new { animation: none; }
}
.atp-lv-ended-badge { background: #475569 !important; color: #fff !important; }
.atp-lv-background-title { color: var(--atp-heading, inherit); font-size: 1.05rem; font-weight: 850; margin: 2rem 0 .6rem; }

/* Card media keeps the photo's own shape (no cropping); text only when there is an update. */
.atp-lv-card { background: #07152d; min-height: 0; }
.atp-lv-card-media { aspect-ratio: var(--atp-lv-ratio, 16 / 9); display: flex; flex-direction: column; position: relative;
  background: linear-gradient(135deg, #0a2a5c, #07152d); }
.atp-lv-card.has-photo .atp-lv-card-media { background: var(--atp-lv-bg) center / cover no-repeat, #07152d; }
.atp-lv-card.has-photo .atp-lv-card-media::before { /* light shade at the top so the badge reads on any photo */
  background: linear-gradient(180deg, rgb(4 12 26 / .45), rgb(4 12 26 / 0) 30%); content: ""; inset: 0; position: absolute; }
.atp-lv-card.has-photo.has-text .atp-lv-card-media::before { background: linear-gradient(180deg, rgb(4 12 26 / .45), rgb(4 12 26 / 0) 30%, rgb(4 12 26 / .2) 50%, rgb(4 12 26 / .92) 100%); }
.atp-lv-card-media > * { position: relative; }
.atp-lv-card.has-photo .atp-lv-card-body { justify-content: flex-end; }
.atp-lv-card:not(.has-photo) .atp-lv-card-media { aspect-ratio: auto; min-height: 300px; }

/* Homepage live card with a live video: the player fills the card. */
.atp-lv-card--video { background: #000; }
.atp-lv-card--video .atp-article-figure { margin: 0 !important; }
.atp-lv-card--video .atp-player { border-radius: 0; box-shadow: none; margin: 0; }
.atp-lv-card--video .atp-article-figure figcaption { display: none; }
.atp-lv-card--video .atp-lv-card-figure { text-decoration: none; }
.atp-player.is-live .atp-live-pill { z-index: 3; }
