/* rijeka.party redesign-v2: shared production shell for non-homepage templates. */
@font-face {
  font-family: "RP Syne";
  src: url("/assets/fonts/syne-latin-ext.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0100-024F, U+1E00-1EFF;
}

@font-face {
  font-family: "RP Syne";
  src: url("/assets/fonts/syne-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+20AC;
}

/* Jakarta needs both subsets; with only latin-ext, basic letters fell back
   to the system sans and only č/ć/š/đ/ž rendered in Jakarta. */
@font-face {
  font-family: "RP Jakarta";
  src: url("/assets/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "RP Jakarta";
  src: url("/assets/fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "RP Newsreader";
  src: url("/assets/fonts/newsreader-display-bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --rp-ink: #0b0d13;
  --rp-panel: #131622;
  --rp-panel-2: #1b1f2c;
  --rp-paper: #f4f6fb;
  --rp-muted: #9ba2b4;
  --rp-line: rgba(244, 246, 251, .14);
  --rp-acid: #ff3b55;
  --rp-coral: #5b8bff;
  --rp-cyan: #a9c4ff;
  --rp-violet: #9f82ff;
  --rp-radius: 22px;
  --header-height: 68px;
  --page: min(1440px, calc(100% - 48px));
  --shadow: 0 30px 80px rgba(0, 0, 0, .34);
}

html {
  scroll-padding-top: var(--header-height);
  scrollbar-gutter: auto;
  scrollbar-width: none;
}

/* The legacy stylesheet reserves a 10px custom scrollbar gutter. Restore the
   overlay-style behavior used by the redesigned homepage so every navbar
   receives the same available viewport width. Scrolling remains fully active. */
body { scrollbar-width: none; }
html::-webkit-scrollbar,
body::-webkit-scrollbar { width: 0; height: 0; }

body {
  color: var(--rp-paper);
  background:
    radial-gradient(circle at 82% 0%, rgba(169, 196, 255, .08), transparent 30rem),
    radial-gradient(circle at 12% 35%, rgba(91, 139, 255, .06), transparent 32rem),
    var(--rp-ink);
  font-family: "RP Jakarta", system-ui, sans-serif;
}

.grain-overlay { opacity: .16; }
.bg-glow-wrapper { opacity: .35; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-height);
  border-bottom: 1px solid var(--rp-line);
  background: rgba(11, 13, 19, .84);
  backdrop-filter: blur(18px) saturate(135%);
}

.nav {
  width: var(--page);
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  color: var(--rp-paper);
  font-family: "RP Syne", sans-serif;
  font-size: clamp(1.08rem, 2vw, 1.38rem);
  font-weight: 800;
  letter-spacing: -.06em;
  white-space: nowrap;
}
.wordmark i, .wordmark-party { color: var(--rp-acid); }
.wordmark i { font-style: normal; }
.wordmark::after { display: none; }

.desktop-nav { display: flex; align-items: center; gap: 6px; }
.desktop-nav a,
.nav-language {
  min-height: 44px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  color: #d4d9e5;
  font-size: .8rem;
  font-weight: 700;
}
.desktop-nav a:hover,
.desktop-nav a[aria-current="page"] { color: var(--rp-paper); background: rgba(255, 255, 255, .06); }
.nav-language { border: 1px solid var(--rp-line); background: transparent; }

.nav-cta {
  min-height: 44px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 0;
  border-radius: 999px;
  color: var(--rp-ink) !important;
  background: var(--rp-acid) !important;
  font-weight: 800 !important;
}

.menu-button {
  width: 46px;
  height: 46px;
  padding: 0;
  display: none;
  place-items: center;
  color: var(--rp-paper);
  border: 1px solid var(--rp-line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.menu-button svg { width: 21px; stroke: currentColor; }

.mobile-menu {
  position: fixed;
  inset: var(--header-height) 0 auto;
  z-index: 45;
  padding: 18px 24px 28px;
  display: none;
  border-bottom: 1px solid var(--rp-line);
  background: rgba(11, 13, 19, .97);
  box-shadow: var(--shadow);
}
.mobile-menu[aria-hidden="false"] { display: grid; }
.mobile-menu a {
  padding: 15px 0;
  border-bottom: 1px solid var(--rp-line);
  font-family: "RP Syne", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
}
.mobile-menu a[aria-current="page"] { color: var(--rp-cyan); }

.btn-primary {
  border: 0;
  border-radius: 999px;
  color: var(--rp-ink);
  background: var(--rp-acid);
  box-shadow: none;
  font-weight: 800;
}
.btn-primary:hover { color: var(--rp-ink); background: #45d5ef; transform: translateY(-1px); }

/* Search-intent event indexes: today, tonight, weekend, parties, concerts and
   free entry. The rows intentionally echo the homepage calendar while staying
   reusable across the shared non-homepage shell. */
.discovery-nav {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.discovery-nav a {
  min-height: 40px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--rp-line);
  border-radius: 999px;
  color: #d4d9e5;
  font-size: .72rem;
  font-weight: 800;
}

.discovery-nav a:hover,
.discovery-nav a[aria-current="page"] {
  color: var(--rp-ink);
  border-color: var(--rp-acid);
  background: var(--rp-acid);
}

.discovery-featured {
  max-width: 780px;
  margin-top: 36px;
  padding: 22px 26px;
  border: 1px solid var(--rp-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, .035);
}

.discovery-featured h2 {
  margin: 0 0 12px;
  font-size: 1.1rem;
}

.discovery-featured ul {
  margin: 0;
  padding-left: 20px;
  line-height: 1.65;
}

.discovery-featured li + li { margin-top: 8px; }
.discovery-featured a { color: var(--rp-ink); text-decoration-color: var(--rp-acid); text-underline-offset: 3px; }
.discovery-featured a:hover { color: var(--rp-acid); }

.section-title.discovery-list-title {
  margin-top: clamp(42px, 6vw, 70px);
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.discovery-list-note {
  max-width: 760px;
  margin: 10px 0 0;
  color: var(--rp-muted);
  font-size: .86rem;
  line-height: 1.65;
}

.discovery-event-list {
  margin-top: 20px;
  border-top: 1px solid var(--rp-line);
}

.discovery-event-row {
  --event-signal: var(--rp-cyan);
  min-height: 126px;
  padding: 20px 12px;
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr) minmax(140px, .36fr) 48px;
  align-items: center;
  gap: 22px;
  border-bottom: 1px solid var(--rp-line);
  transition: padding .2s ease, background .2s ease;
}

.discovery-event-row[data-genre="pop"] { --event-signal: var(--rp-coral); }
.discovery-event-row[data-genre="electronic"],
.discovery-event-row[data-genre="disco"],
.discovery-event-row[data-genre="latino"] { --event-signal: var(--rp-cyan); }
.discovery-event-row[data-genre="rap"] { --event-signal: var(--rp-violet); }
.discovery-event-row[data-genre="rock"] { --event-signal: #ff9c4a; }

.discovery-event-row:hover {
  padding-inline: 22px;
  background: rgba(255, 255, 255, .045);
}

.discovery-event-row.is-current {
  margin: 12px 0;
  padding-inline: 22px;
  color: var(--rp-ink);
  border: 0;
  border-radius: var(--rp-radius);
  background: var(--rp-paper);
  box-shadow: 0 22px 60px rgba(0, 0, 0, .22);
}

.discovery-event-date {
  font-family: "RP Syne", sans-serif;
  font-size: 2.35rem;
  font-weight: 800;
  letter-spacing: -.08em;
  line-height: .86;
}

.discovery-event-date > span:not(.discovery-relative) { display: block; }

.discovery-event-date small {
  margin-top: 10px;
  display: block;
  color: var(--event-signal);
  font-family: "RP Jakarta", sans-serif;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.discovery-relative {
  margin-bottom: 10px;
  display: block;
  color: var(--event-signal);
  font-family: "RP Jakarta", sans-serif;
  font-size: .56rem;
  font-weight: 800;
  letter-spacing: .09em;
  line-height: 1;
  text-transform: uppercase;
}

.discovery-event-copy { min-width: 0; }
.discovery-event-copy h3 {
  margin: 0;
  font-family: "RP Newsreader", Georgia, serif;
  font-size: clamp(1.35rem, 2.3vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.04;
}

.discovery-event-copy p {
  margin: 10px 0 0;
  color: var(--rp-muted);
  font-size: .75rem;
  line-height: 1.5;
}

.discovery-event-meta { justify-self: end; text-align: right; }
.discovery-event-meta strong {
  display: block;
  color: var(--event-signal);
  font-size: .76rem;
}
.discovery-event-meta span {
  margin-top: 7px;
  display: block;
  color: var(--rp-muted);
  font-size: .66rem;
  text-transform: capitalize;
}

.discovery-event-arrow {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--rp-line);
  border-radius: 50%;
  transition: transform .2s ease, border-color .2s ease;
}
.discovery-event-arrow svg { width: 17px; }
.discovery-event-row:hover .discovery-event-arrow {
  border-color: var(--event-signal);
  transform: rotate(-42deg);
}

.discovery-event-row.is-current .discovery-event-copy p,
.discovery-event-row.is-current .discovery-event-meta span { color: rgba(11, 13, 19, .62); }
.discovery-event-row.is-current .discovery-event-arrow { border-color: rgba(11, 13, 19, .3); }
.discovery-event-row.is-current .discovery-relative { color: var(--rp-ink); }

.discovery-empty {
  margin: 0;
  padding: 34px 18px;
  color: var(--rp-muted);
  border-bottom: 1px solid var(--rp-line);
  line-height: 1.65;
}

.discovery-method {
  max-width: 780px;
  margin-top: 54px;
  padding: 22px;
  color: var(--rp-muted);
  border: 1px solid var(--rp-line);
  border-radius: var(--rp-radius);
  background: rgba(255, 255, 255, .025);
  font-size: .78rem;
  line-height: 1.65;
}

@media (max-width: 760px) {
  .discovery-event-row {
    min-height: 116px;
    padding-inline: 4px;
    grid-template-columns: 76px minmax(0, 1fr) 40px;
    gap: 14px;
  }
  .discovery-event-row:hover { padding-inline: 4px; }
  .discovery-event-row.is-current,
  .discovery-event-row.is-current:hover { padding-inline: 14px; }
  .discovery-event-date { font-size: 1.75rem; }
  .discovery-event-meta { grid-column: 2; justify-self: start; text-align: left; }
  .discovery-event-arrow { grid-column: 3; grid-row: 1 / span 2; width: 40px; height: 40px; }
}

.main-content { padding-top: 0; }

.main-content > .section,
main > .section {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
  padding: clamp(54px, 7vw, 96px) 0 clamp(80px, 9vw, 130px);
}

.breadcrumbs {
  margin-bottom: clamp(34px, 5vw, 62px);
  color: var(--rp-muted);
  font-size: .7rem;
}
.breadcrumbs a:hover { color: var(--rp-cyan); }
.crumb-sep { color: rgba(244, 246, 251, .28); }

.section-subtitle {
  color: var(--rp-coral);
  font-family: "RP Jakarta", sans-serif;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.section-title {
  max-width: 1050px;
  margin: 12px 0 0;
  color: var(--rp-paper);
  font-family: "RP Jakarta", sans-serif;
  font-size: clamp(2.8rem, 6vw, 6.2rem);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1.08;
  text-wrap: balance;
}

/* Match the homepage hero identity, optically normalized to the former
   Jakarta title footprint. */
h1.section-title {
  font-family: "RP Syne", sans-serif;
  font-size: clamp(1.95rem, 4.15vw, 4.3rem);
}

.club-lead {
  max-width: 880px;
  margin: clamp(24px, 3vw, 38px) 0 0;
  color: #d4d9e5;
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  line-height: 1.7;
}

.club-facts {
  margin-top: clamp(38px, 5vw, 68px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}
.fact-card {
  min-width: 0;
  min-height: 118px;
  padding: 20px;
  border: 1px solid var(--rp-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, .025);
}
.fact-label { color: var(--rp-cyan); font-size: .62rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.fact-value { margin-top: 22px; color: var(--rp-paper); font-family: "RP Newsreader", Georgia, serif; font-size: 1.3rem; line-height: 1.08; }
.fact-value-combined span { display: block; }
.fact-value-combined span + span {
  margin-top: 7px;
  color: var(--rp-cyan);
  font-family: "RP Jakarta", sans-serif;
  font-size: .78rem;
  font-weight: 800;
}
.audience-generation-card {
  border-color: color-mix(in srgb, var(--rp-cyan) 55%, transparent);
  background: color-mix(in srgb, var(--rp-cyan) 8%, transparent);
}
.audience-generation-card .fact-value { margin-top: 16px; }
.audience-disclaimer {
  margin-top: 10px;
  color: var(--rp-muted);
  font-size: .63rem;
  line-height: 1.35;
}

.club-body {
  max-width: 900px;
  margin-top: clamp(42px, 6vw, 76px);
  color: #d4d9e5;
  font-size: clamp(1rem, 1.25vw, 1.1rem);
  line-height: 1.82;
}
.club-body h2,
.club-body h3 {
  margin-top: 2.2em;
  color: var(--rp-paper);
  font-family: "RP Newsreader", Georgia, serif;
  line-height: 1.06;
}
.club-body strong { color: var(--rp-paper); }
.club-body a,
.club-link { color: var(--rp-cyan); text-underline-offset: 3px; }
.club-body a:hover,
.club-link:hover { color: var(--rp-acid); }

.event-list { padding-left: 1.15rem; }
.event-list li { margin-bottom: .8rem; padding-left: .35rem; }

.club-page-actions {
  margin-top: clamp(42px, 6vw, 72px);
  padding-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  border-top: 1px solid var(--rp-line);
}
.club-page-actions .btn-primary,
.club-page-actions .btn-secondary {
  min-height: 50px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 800;
}
.club-page-actions .btn-secondary {
  color: var(--rp-paper);
  border: 1px solid var(--rp-line);
  background: transparent;
}
.club-page-actions .btn-secondary:hover { border-color: var(--rp-cyan); background: rgba(169, 196, 255, .06); }

.clubs-grid {
  margin-top: clamp(38px, 5vw, 66px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.club-card {
  min-width: 0;
  min-height: 310px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--rp-line);
  border-radius: var(--rp-radius);
  background: var(--rp-panel);
  box-shadow: none;
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
.club-card:hover { border-color: rgba(169, 196, 255, .55); background: var(--rp-panel-2); transform: translateY(-3px); }
.club-header { gap: 16px; }
.club-name {
  color: var(--rp-paper);
  font-family: "RP Newsreader", Georgia, serif;
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
  line-height: .98;
}
.club-status {
  color: var(--rp-ink);
  border: 0;
  background: var(--rp-acid);
  font-size: .58rem;
  font-weight: 800;
}
.status-dot { background: var(--rp-coral); }
.club-info { color: var(--rp-muted); line-height: 1.6; }
.club-footer { margin-top: auto; padding-top: 22px; border-top: 1px solid var(--rp-line); }
.club-address { color: var(--rp-muted); }
.club-title-wrap { gap: 14px; }
.scene-avatar { border-color: var(--rp-line); }

.events-grid { gap: 14px; }
.event-card {
  border: 1px solid var(--rp-line);
  border-radius: var(--rp-radius);
  background: var(--rp-panel);
  box-shadow: none;
}
.event-title,
.event-title a { color: var(--rp-paper); font-family: "RP Newsreader", Georgia, serif; }
.event-description,
.event-meta { color: var(--rp-muted); }
.event-date-badge { background: var(--rp-acid); }

.playlist-tracks { gap: 8px; }
.playlist-track {
  border: 1px solid var(--rp-line);
  border-radius: 16px;
  background: var(--rp-panel);
}
.playlist-track-title { color: var(--rp-paper); font-family: "RP Newsreader", Georgia, serif; }
.playlist-track-artist,
.playlist-genre,
.playlist-method { color: var(--rp-muted); }
.playlist-youtube { color: var(--rp-ink); background: var(--rp-acid); border-radius: 999px; }
.playlist-featured-set { border: 1px solid var(--rp-line); border-radius: var(--rp-radius); background: var(--rp-panel); }
.playlist-featured-copy h2 { color: var(--rp-paper); font-family: "RP Newsreader", Georgia, serif; }

.map-shell,
.map-card,
#map {
  border-color: var(--rp-line) !important;
  border-radius: var(--rp-radius) !important;
}
.leaflet-container { z-index: 1; }

.site-footer {
  margin-top: 24px;
  padding: 54px 0;
  border-top: 1px solid var(--rp-line);
}
.footer-inner {
  width: var(--page);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: end;
}
.footer-wordmark {
  min-width: 0;
  color: var(--rp-paper);
  font-family: "RP Syne", sans-serif;
  font-size: clamp(2.8rem, 7vw, 7.5rem);
  font-weight: 800;
  letter-spacing: -.085em;
  line-height: .8;
}
.footer-wordmark i { color: var(--rp-coral); font-style: normal; }
.footer-meta {
  display: grid;
  gap: 12px;
  justify-items: end;
  color: var(--rp-muted);
  font-size: .72rem;
}
.footer-meta a:hover { color: var(--rp-paper); }

@media (max-width: 980px) {
  .clubs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1080px) {
  .desktop-nav a:not(.nav-cta),
  .nav-language { display: none; }
  .menu-button { display: grid; }
}

@media (max-width: 760px) {
  .main-content > .section,
  main > .section { width: calc(100% - 28px); }

  :root { --header-height: 60px; --page: calc(100% - 28px); }
  .nav { width: var(--page); }
  .desktop-nav { display: none; }
  .menu-button { width: 42px; height: 42px; display: grid; }

  .main-content > .section,
  main > .section { padding-top: 38px; }
  .breadcrumbs { margin-bottom: 34px; overflow-x: auto; white-space: nowrap; }
  .section-title { font-size: clamp(2.35rem, 12vw, 4.2rem); }
  h1.section-title { font-size: clamp(1.75rem, 8.25vw, 3rem); }
  .club-lead { font-size: .98rem; }
  .club-facts { grid-template-columns: 1fr 1fr; }
  .fact-card { min-height: 106px; padding: 16px; }
  .fact-value { margin-top: 18px; font-size: 1.12rem; }
  .clubs-grid { grid-template-columns: 1fr; }
  .club-card { min-height: 280px; }
  .club-page-actions { display: grid; }
  .club-page-actions > * { width: 100%; }
  .footer-inner { grid-template-columns: minmax(0, 1fr); }
  .footer-wordmark { font-size: min(8vw, 2.7rem); }
  .footer-meta { justify-items: start; }
}

@media (max-width: 420px) {
  .club-facts { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ------------------------------------------------------------------
   Floating pill navigation (preview)
   Replaces the full-width blurred bar with free-floating pills for the
   wordmark, the desktop link group and the menu button. The header stays
   sticky so the pills remain reachable while scrolling.
   ------------------------------------------------------------------ */
.site-header {
  height: auto;
  padding: 12px 0;
  border-bottom: 0;
  background: none;
  backdrop-filter: none;
  pointer-events: none;
}
.site-header .nav {
  width: var(--page);
  align-items: center;
  gap: 12px;
  pointer-events: none;
}
.site-header .nav > * { pointer-events: auto; }

/* shared pill surface */
.wordmark,
.desktop-nav,
.nav-cta,
.menu-button {
  border-radius: 999px;
  border: 1px solid rgba(244, 246, 251, .22);
  background: linear-gradient(180deg, rgba(30, 33, 30, .92), rgba(14, 15, 13, .92));
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(244, 246, 251, .09);
}

.wordmark {
  min-height: 44px;
  padding: 0 18px;
  order: 0;
}
.wordmark:hover { border-color: rgba(244, 246, 251, .3); }

/* keep the link cluster visually centred between the two pills */
.desktop-nav {
  margin: 0 auto;
  padding: 4px;
  gap: 2px;
}
.desktop-nav a,
.nav-language {
  min-height: 40px;
  border-radius: 999px;
  background: none;
  border: 0;
}
.desktop-nav a:hover,
.desktop-nav a[aria-current="page"] { background: rgba(255, 255, 255, .08); }

.nav-cta { min-height: 44px; border: 0; box-shadow: none; }

.menu-button {
  width: auto;
  min-width: 46px;
  height: 46px;
  margin-left: auto;
  padding: 0 18px;
  display: none;
  place-items: center;
  gap: 9px;
  color: var(--rp-paper);
  font: 800 .74rem/1 "RP Syne", sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.menu-button svg { width: 21px; stroke: currentColor; }

@media (max-width: 980px) {
  .menu-button { display: inline-flex; width: auto; padding: 0 16px; }
}
@media (max-width: 760px) {
  .site-header { padding: 10px 0; }
  .menu-button {
    width: auto;
    min-width: 46px;
    height: 46px;
    padding: 0 16px;
    display: inline-flex;
  }
  .wordmark { min-height: 42px; padding: 0 14px; }
  .mobile-menu { inset: 0 auto auto 0; right: 0; }
}

/* Static past-event index on /arhiva/ and /en/archive/ (tools/render_discovery.py) */
.archive-index { margin-top: 56px; }
.archive-index h2 { font: 800 clamp(1.4rem, 3vw, 2rem)/1.1 'Syne', sans-serif; letter-spacing: -.03em; margin-bottom: 8px; }
.archive-index h3 { margin: 28px 0 10px; color: var(--accent, #ff3b55); font: 800 .78rem/1 'Syne', sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.archive-index-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgb(255 255 255 / .08); }
.archive-index-list li { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid rgb(255 255 255 / .08); }
.archive-index-list time { min-width: 9.5em; color: rgb(255 255 255 / .55); font-size: .86rem; font-variant-numeric: tabular-nums; }
.archive-index-list a { color: inherit; font-weight: 700; text-decoration: none; }
.archive-index-list a:hover, .archive-index-list a:focus-visible { text-decoration: underline; }
.archive-index-list span { color: rgb(255 255 255 / .55); font-size: .86rem; }
@media (max-width: 600px) { .archive-index-list time { flex-basis: 100%; } }

/* ===== Typography system (October 2026) =====
   One role per typeface across every sub-page:
   - Syne: page titles and section headings (matches the homepage).
   - Newsreader: article sub-headings, card and event titles.
   - Jakarta: body copy and small labels. */
.section-title,
h2.section-title,
.bands-title,
.archive-index h2 {
  font-family: "RP Syne", "Syne", sans-serif;
  font-weight: 800;
  letter-spacing: -.05em;
  line-height: 1.02;
  text-transform: uppercase;
}
h2.section-title,
.section-title.discovery-list-title,
.bands-title,
.archive-index h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
}

/* Small kicker labels stay Jakarta, even inside article bodies. */
.section-subtitle,
.club-body .section-subtitle {
  font-family: "RP Jakarta", "Plus Jakarta Sans", sans-serif;
}

/* Article sub-headings were marked up as tiny kicker labels; inside an
   article body they read as real headings in the editorial serif. */
.club-body h2.section-subtitle {
  margin-top: 2.2em;
  color: var(--rp-paper);
  font-family: "RP Newsreader", Georgia, serif;
  font-size: clamp(1.45rem, 2.2vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.12;
  text-transform: none;
}

/* Guides (vodiči): editorial sections around the live event list. */
.guide-section { margin: 28px 0 8px; max-width: 760px; }
.guide-section h2 { margin: 0 0 12px; font-family: "RP Newsreader", Georgia, serif; font-size: clamp(1.35rem, 2.6vw, 1.75rem); line-height: 1.15; letter-spacing: -0.01em; text-transform: none; }
.guide-section ul { margin: 0; padding-left: 1.1em; }
.guide-section li + li { margin-top: 8px; }
.guide-section a { color: #f4f6fb; text-decoration-color: var(--rp-acid); text-underline-offset: 3px; }
.guide-section a:hover { color: var(--rp-acid); }

/* ===== Legacy component alignment (October 13, 2026 design audit) =====
   style.css still carries the pre-redesign neon palette. These rules map its
   variables onto the redesign tokens and restyle the components that kept the
   old purple/neon look, so every sub-page matches the homepage and hubs. */
:root {
  --neon-cyan: var(--rp-cyan);
  --neon-magenta: var(--rp-coral);
  --neon-purple: var(--rp-violet);
  --neon-lime: #d8ff43;
  --grad-primary: linear-gradient(90deg, var(--rp-cyan), var(--rp-violet));
  --color-bg-card: var(--rp-panel);
  --paper: var(--rp-paper);
  --ink: var(--rp-ink);
}

/* The old animated purple/cyan/magenta glow layers tint every sub-page and
   are expensive to render; the homepage does not use them. */
.bg-glow-wrapper, .pointer-glow { display: none !important; }

.discovery-featured a { color: var(--rp-paper); }

/* "Add your event" banner on club and scene pages */
.cta-banner {
  margin: clamp(32px, 5vw, 56px) 0 0;
  padding: clamp(32px, 5vw, 56px) clamp(20px, 4vw, 48px);
  border: 1px solid var(--rp-line);
  border-radius: var(--rp-radius);
  background: var(--rp-panel);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.cta-banner::before { display: none; }
.cta-banner .cta-title { font-family: "RP Syne", Syne, sans-serif; font-weight: 800; letter-spacing: -.04em; }
.cta-banner .cta-description { color: #d4d9e5; }
button.btn-primary {
  min-height: 48px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  font: 800 .86rem/1 "RP Jakarta", system-ui, sans-serif;
  cursor: pointer;
}

/* /scena/ band directory */
.bands-directory { border-color: var(--rp-line); background: var(--rp-panel); box-shadow: none; }
.bands-total, .band-count { border-color: var(--rp-line); color: var(--rp-paper); background: transparent; }
.band-group { border-color: var(--rp-line); background: var(--rp-ink); }
.band-group summary::after { color: var(--rp-cyan); }
.band-name-grid li { border-left-color: var(--rp-line); background: rgba(244, 246, 251, .04); }

/* /playlist/ */
.playlist-track:nth-child(-n + 3) { border-color: var(--rp-line); background: var(--rp-panel); }
.playlist-track:nth-child(-n + 3) .playlist-rank::before { color: var(--rp-cyan); text-shadow: none; }
.playlist-genre { border-color: var(--rp-line); color: #d4d9e5; background: transparent; }

/* Status pills on directory cards: no glowing lime dot. */
.status-active { border-color: rgba(169, 196, 255, .3); color: var(--rp-cyan); background: rgba(169, 196, 255, .08); }
.status-active .status-dot { background-color: var(--rp-cyan); box-shadow: none; }

/* Free-entry label on event pages matches the cyan "BESPLATNO" in listings. */
/* Free entry: solid cyan pill like the primary buttons, ticket icon in place of the ✓. */
.free-entry-callout { gap: 9px; min-height: 44px; padding: 0 19px 0 17px; border-color: var(--rp-cyan, #a9c4ff); color: #0b0d13; background: var(--rp-cyan, #a9c4ff); font-weight: 800; letter-spacing: .06em; }
.free-entry-callout span { width: 19px; height: 19px; border-radius: 0; font-size: 0; color: transparent; background: #0b0d13;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 9V7a1.5 1.5 0 0 1 1.5-1.5h14A1.5 1.5 0 0 1 20.5 7v2a3 3 0 0 0 0 6v2a1.5 1.5 0 0 1-1.5 1.5H5A1.5 1.5 0 0 1 3.5 17v-2a3 3 0 0 0 0-6z'/%3E%3Cpath d='M14.5 6v2.2M14.5 10.9v2.2M14.5 15.8V18'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 9V7a1.5 1.5 0 0 1 1.5-1.5h14A1.5 1.5 0 0 1 20.5 7v2a3 3 0 0 0 0 6v2a1.5 1.5 0 0 1-1.5 1.5H5A1.5 1.5 0 0 1 3.5 17v-2a3 3 0 0 0 0-6z'/%3E%3Cpath d='M14.5 6v2.2M14.5 10.9v2.2M14.5 15.8V18'/%3E%3C/svg%3E") center / contain no-repeat; }

/* Stacked sections (e.g. an event page followed by "Upcoming events") were
   separated by ~200px of padding. */
main > .section:has(+ .section) { padding-bottom: clamp(32px, 4vw, 56px); }
main > .section + .section { padding-top: clamp(24px, 3vw, 40px); }

/* Nav links: same 44px pills as on the homepage (was 40px on sub-pages). */
.desktop-nav a, .nav-language { min-height: 44px; }

/* Archive: event titles in Newsreader like every other event list. */
.archive-index h3 { font-family: "RP Syne", Syne, sans-serif; }
.archive-index-list a { font-family: "RP Newsreader", Georgia, serif; font-size: 1.02rem; }

/* Plain link lists in article bodies (404, legal and promote pages). */
.club-body ul.event-list { list-style: disc; margin: 1rem 0 0; padding-left: 1.2em; }
.club-body ul.event-list li { margin: 0 0 .55rem; padding-left: .2em; }

/* ===== /playlist/: the same row language as the event lists (October 13) =====
   Rank in Syne like the date column, title in Newsreader, genre as a small
   label and a round arrow button; the whole row opens the track on YouTube. */
.playlist-chart { gap: 0; border-top: 1px solid var(--rp-line); }
.playlist-track,
.playlist-track:nth-child(-n + 3) {
  position: relative;
  min-height: 108px;
  padding: 18px 12px;
  grid-template-columns: 96px minmax(0, 1fr) minmax(110px, .3fr) 44px;
  gap: 22px;
  border: 0;
  border-bottom: 1px solid var(--rp-line);
  border-radius: 0;
  background: transparent;
  transform: none;
  transition: padding .2s ease, background .2s ease;
}
.playlist-track:hover { padding-inline: 22px; transform: none; border-color: var(--rp-line); background: rgba(255, 255, 255, .045); }
.playlist-rank::before,
.playlist-track:nth-child(-n + 3) .playlist-rank::before {
  color: var(--rp-paper);
  font-family: "RP Syne", sans-serif;
  font-size: 2.35rem;
  font-weight: 800;
  letter-spacing: -.08em;
  line-height: .86;
  text-shadow: none;
}
.playlist-track:nth-child(-n + 3) .playlist-rank::before { color: var(--rp-cyan); }
.playlist-track-title { display: block; font-size: clamp(1.3rem, 2.2vw, 1.75rem); font-weight: 700; letter-spacing: -.025em; line-height: 1.06; }
.playlist-track-artist { display: block; margin-top: 8px; color: var(--rp-muted); font-size: .78rem; }
.playlist-genre,
.playlist-track:nth-child(-n + 3) .playlist-genre {
  justify-self: end;
  padding: 0;
  border: 0;
  background: none;
  color: var(--rp-muted);
  font-size: .66rem;
  letter-spacing: .08em;
}
.playlist-youtube {
  width: 44px;
  height: 44px;
  min-height: 0;
  padding: 0;
  display: grid;
  place-items: center;
  justify-self: end;
  border: 1px solid var(--rp-line);
  border-radius: 50%;
  color: transparent;
  background: transparent;
  font-size: 0;
  transition: border-color .2s ease;
}
/* Rotate only the arrow: a transform on the anchor itself would make it the
   containing block of ::after and shrink the whole-row link on hover. */
/* Drawn arrow, not the ↗ glyph: the glyph sits off-centre in the circle.
   The hidden "YouTube" text was a second grid row that pushed the arrow up;
   in a flex row it is a zero-width item beside it. */
.playlist-youtube { display: flex; align-items: center; justify-content: center; gap: 0; }
.playlist-youtube::before { content: ""; display: block; width: 18px; height: 18px; background: var(--rp-paper); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='square'%3E%3Cpath d='M7 17 17 7M9 7h8v8'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='square'%3E%3Cpath d='M7 17 17 7M9 7h8v8'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .2s ease, background-color .2s ease; }
.playlist-youtube::after { content: ""; position: absolute; inset: 0; } /* whole row is the link */
.playlist-youtube:focus-visible { outline: 2px solid var(--rp-cyan); outline-offset: 3px; }
.playlist-track:hover .playlist-youtube { border-color: var(--rp-cyan); background: transparent; }
.playlist-track:hover .playlist-youtube::before { background: var(--rp-cyan); transform: rotate(-8deg); }
.playlist-method {
  margin-top: 28px;
  padding: 18px 20px;
  border: 1px solid var(--rp-line);
  border-radius: 18px;
  color: var(--rp-muted);
  background: transparent;
  font-size: .8rem;
  line-height: 1.6;
}
.playlist-method a { color: var(--rp-cyan); }
@media (max-width: 760px) {
  .playlist-track,
  .playlist-track:nth-child(-n + 3) { min-height: 92px; padding: 16px 4px; grid-template-columns: 56px minmax(0, 1fr) 40px; gap: 12px 14px; }
  .playlist-track:hover { padding-inline: 4px; }
  .playlist-rank::before,
  .playlist-track:nth-child(-n + 3) .playlist-rank::before { font-size: 1.75rem; }
  .playlist-genre,
  .playlist-track:nth-child(-n + 3) .playlist-genre { grid-column: 2; grid-row: 2; justify-self: start; margin-top: -4px; }
  .playlist-rank { grid-row: 1 / span 2; }
  .playlist-youtube { grid-column: 3; grid-row: 1 / span 2; width: 40px; height: 40px; }
}

/* /playlist/ "Uskoro uživo": the date takes the rank column and the venue
   links to the event page, above the whole-row YouTube link (October 22). */
.playlist-day {
  display: grid;
  align-content: center;
  color: var(--rp-muted);
  font: 800 .66rem/1 "RP Syne", sans-serif;
  letter-spacing: .08em;
}
.playlist-day b { margin-bottom: 6px; color: var(--rp-paper); font-size: 2.35rem; letter-spacing: -.08em; line-height: .86; }
.playlist-live .playlist-track .playlist-gig { position: relative; z-index: 1; color: var(--rp-cyan); text-decoration: none; }
.playlist-live .playlist-gig:hover { text-decoration: underline; text-underline-offset: 3px; }
.playlist-live .playlist-gig:focus-visible { outline: 2px solid var(--rp-cyan); outline-offset: 3px; }
.playlist-chart-head p a { color: var(--rp-cyan); }
@media (max-width: 760px) {
  .playlist-day { grid-row: 1 / span 2; }
  .playlist-day b { font-size: 1.75rem; }
  /* style.css hides the genre label on phones; the venue link stays */
  .playlist-live .playlist-track .playlist-gig { display: block; grid-column: 2; grid-row: 2; justify-self: start; margin-top: -9px; padding: 5px 0; }
}

/* ===== /scena/: photo-led cards instead of small thumbnails (October 13) =====
   The portrait fills the top of the card in black and white, so very
   different photos read as one series; colour returns on hover. */
.scene-card { position: relative; overflow: hidden; padding-top: calc(75% + 22px); }
.scene-card .club-header { gap: 10px; }
.scene-card .club-title-wrap { display: block; }
.scene-card .scene-avatar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  border: 0;
  border-bottom: 1px solid var(--rp-line);
  border-radius: 0;
  object-fit: cover;
  object-position: center 30%;
  background: #000;
  filter: grayscale(1) contrast(1.06) brightness(.92);
  transition: filter .35s ease, transform .5s ease;
}
.scene-card:hover .scene-avatar { filter: none; transform: scale(1.03); }
.scene-card .club-status {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  border-color: rgba(244, 246, 251, .25);
  color: var(--rp-paper);
  background: rgba(11, 13, 19, .72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.scene-card .club-status .status-dot { background-color: var(--rp-cyan); }
.scene-card .club-name { margin: 0; font-size: clamp(1.6rem, 2.4vw, 2rem); }

/* ===== /klubovi/: venue directory (October 13) =====
   Venues are grouped like the event lists: an index in Syne, the name in
   Newsreader, a quiet meta column and the next event from the calendar. The
   name link stretches over the whole row; the next-event link sits above it. */
.venue-overview {
  margin-top: clamp(30px, 4vw, 48px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
}
.venue-count { margin: 0; color: var(--rp-muted); font-size: .86rem; }
.venue-count strong { color: var(--rp-paper); font-weight: 800; }
.venue-upcoming { color: var(--rp-cyan); }
.venue-jump { display: flex; flex-wrap: wrap; gap: 8px; }
.venue-jump a {
  min-height: 44px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--rp-line);
  border-radius: 999px;
  color: var(--rp-paper);
  font-size: .74rem;
  font-weight: 800;
  text-decoration: none;
  transition: border-color .2s ease, color .2s ease;
}
.venue-jump a span { color: var(--rp-muted); font-weight: 700; }
.venue-jump a:hover { border-color: var(--rp-cyan); color: var(--rp-cyan); }

.venue-group { margin-top: clamp(52px, 7vw, 92px); scroll-margin-top: 96px; }
.venue-group-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--rp-line);
}
.venue-group-head h2 {
  margin: 0;
  color: var(--rp-paper);
  font-family: "RP Syne", sans-serif;
  font-size: clamp(1.45rem, 3vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: .95;
  text-transform: uppercase;
}
.venue-group-head p { max-width: 380px; margin: 0; color: var(--rp-muted); font-size: .84rem; line-height: 1.55; text-align: right; }

.venue-list { margin: 0; padding: 0; list-style: none; }
.venue-row {
  position: relative;
  min-height: 128px;
  padding: 24px 12px;
  display: grid;
  grid-template-columns: 64px minmax(0, 1.45fr) minmax(0, .75fr) minmax(0, .95fr) 44px;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--rp-line);
  transition: padding .2s ease, background .2s ease;
}
.venue-row.has-link:hover { padding-inline: 22px; background: rgba(255, 255, 255, .045); }
.venue-index {
  align-self: start;
  color: var(--rp-muted);
  font-family: "RP Syne", sans-serif;
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -.08em;
  line-height: .9;
}
.venue-name {
  margin: 0;
  color: var(--rp-paper);
  font-family: "RP Newsreader", Georgia, serif;
  font-size: clamp(1.4rem, 2.25vw, 1.95rem);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.02;
}
.venue-name a { color: inherit; text-decoration: none; }
.venue-name a::after { content: ""; position: absolute; inset: 0; } /* whole row opens the venue guide */
.venue-name a:focus-visible { outline: none; }
.venue-row:has(.venue-name a:focus-visible) { outline: 2px solid var(--rp-cyan); outline-offset: -2px; }
.venue-info { margin: 10px 0 0; max-width: 560px; color: var(--rp-muted); font-size: .86rem; line-height: 1.55; }
.venue-meta { min-width: 0; display: grid; gap: 7px; justify-items: start; color: var(--rp-muted); font-size: .78rem; line-height: 1.4; }
.venue-type { color: var(--rp-paper); font-size: .64rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.venue-season {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--rp-cyan);
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.venue-season::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.venue-row.is-off-season .venue-season { color: var(--rp-muted); }
.venue-row.is-off-season .venue-name { color: #c9c6bb; }

.venue-next { position: relative; z-index: 1; min-width: 0; display: grid; gap: 5px; justify-items: start; }
.venue-next-label { color: var(--rp-cyan); font-size: .62rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.venue-next a {
  color: var(--rp-paper);
  font-size: .92rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
  transition: color .2s ease, text-decoration-color .2s ease;
}
.venue-next a:hover { color: var(--rp-cyan); text-decoration-color: currentColor; }
.venue-next-more,
.venue-next-empty { color: var(--rp-muted); font-size: .74rem; }

.venue-arrow {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  justify-self: end;
  border: 1px solid var(--rp-line);
  border-radius: 50%;
  color: var(--rp-paper);
  transition: border-color .2s ease, color .2s ease;
}
.venue-arrow::before { content: "↗"; display: inline-block; font-size: 1.05rem; font-weight: 700; transition: transform .2s ease; }
.venue-arrow.is-empty { visibility: hidden; }
.venue-row.has-link:hover .venue-arrow { border-color: var(--rp-cyan); color: var(--rp-cyan); }
.venue-row.has-link:hover .venue-arrow::before { transform: rotate(-8deg); }

.club-body-more { margin-top: 2.2em; }

@media (max-width: 1080px) {
  .venue-row { grid-template-columns: 52px minmax(0, 1fr) minmax(0, .8fr) 44px; row-gap: 14px; }
  .venue-index { grid-column: 1; grid-row: 1 / span 2; }
  .venue-main { grid-column: 2; grid-row: 1; }
  .venue-meta { grid-column: 2; grid-row: 2; display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
  .venue-next { grid-column: 3; grid-row: 1 / span 2; }
  .venue-arrow { grid-column: 4; grid-row: 1; }
}
@media (max-width: 720px) {
  .venue-overview { align-items: flex-start; flex-direction: column; }
  .venue-group-head { align-items: flex-start; flex-direction: column; gap: 10px; }
  .venue-group-head p { text-align: left; }
  .venue-row,
  .venue-row.has-link:hover {
    min-height: 0;
    padding: 20px 2px;
    grid-template-columns: 38px minmax(0, 1fr) 40px;
    gap: 12px 12px;
  }
  .venue-index { grid-column: 1; grid-row: 1; font-size: 1.3rem; padding-top: 4px; }
  .venue-main { grid-column: 2; grid-row: 1; }
  .venue-arrow { grid-column: 3; grid-row: 1; align-self: start; width: 40px; height: 40px; }
  .venue-meta { grid-column: 2 / span 2; grid-row: 2; display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; }
  .venue-next { grid-column: 2 / span 2; grid-row: 3; }
  .venue-next:empty { display: none; }
  .venue-next:not(.is-empty):not(:empty) { padding: 12px 14px; border: 1px solid var(--rp-line); border-radius: 14px; background: var(--rp-panel); }
}

/* Event detail: the date card adds the event to a calendar and the venue card
   opens directions (November 7). The link covers the whole card. */
.fact-card:has(> .fact-action) {
  position: relative;
  display: flex;
  flex-direction: column;
  transition: border-color .18s ease, background-color .18s ease;
}
.fact-card:has(> .fact-action):hover,
.fact-card:has(> .fact-action:focus-visible) {
  border-color: color-mix(in srgb, var(--rp-cyan) 55%, transparent);
  background: color-mix(in srgb, var(--rp-cyan) 6%, transparent);
}
.fact-action {
  margin-top: auto;
  padding-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--rp-paper);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
}
.fact-action svg { width: 15px; height: 15px; flex: none; color: var(--rp-cyan); }
.fact-action::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.fact-action:focus-visible { outline: none; }
.fact-card:has(> .fact-action:focus-visible) { outline: 2px solid var(--rp-cyan); outline-offset: 2px; }
.fact-card:has(> .fact-action):hover .fact-action { color: var(--rp-cyan); }
