/* Cardioverse concluded state: hero badge and participants line, hero text
   link, certificate call-to-action. Linked by tools/refine-concluded.cjs.
   Uses the event tokens from event.css (--card, --ink, --red, --line ...),
   which theme.css remaps for AAUREX Mode, so everything follows the mode switch. */

/* Hero: concluded badge takes the countdown's place */
.concluded-badge { display: inline-flex; flex-direction: column; gap: 4px; margin: 0; padding: 12px 18px 12px 16px; border-radius: 14px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.concluded-badge b { display: flex; align-items: center; gap: 8px; font: 700 13px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--red-deep); }
.concluded-badge b::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px var(--red-soft); }
.concluded-badge span { font-size: 13px; color: var(--ink-2); }
html[data-mode="aaurex"] .concluded-badge { background: rgba(244, 241, 234, .05); }
html[data-mode="aaurex"] .concluded-badge b { color: var(--c-champagne); }
html[data-mode="aaurex"] .concluded-badge b::before { box-shadow: 0 0 0 4px rgba(214, 193, 154, .16); }

/* Hero: participants line, under the date and badge */
.hero-stat { margin: 18px 0 0; font: 500 clamp(1rem, 2vw, 1.15rem)/1.45 var(--body); color: var(--ink-2); }

/* tertiary hero path: text link, so the three buttons read primary / secondary / tertiary */
.hero-cta .btn-text { background: transparent; box-shadow: none; color: var(--ink); padding-inline: 10px; }
.hero-cta .btn-text:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Certificate call-to-action */
.certificate-cta { padding: 20px 0 100px; }
.certificate-cta .wrap { padding-top: 44px; padding-bottom: 44px; border-radius: 28px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); text-align: center; max-width: 1080px; }
.certificate-cta .lead { margin: 0 auto 26px; max-width: 46ch; }
.certificate-cta .btn { margin-top: 0; }
@media (min-width: 700px) { .certificate-cta .wrap { padding: 56px 40px; } }

@media (max-width: 600px) {
  .hero-cta .btn { flex: 1 1 auto; justify-content: center; }
}
