/* ══════════════════════════════════════════════════════════════════
   BeautyUSAOnline — Main Stylesheet
   Aesthetic: Editorial luxury · rose gold + cream + charcoal
   Fonts: Cormorant Garamond (display) + Montserrat (body)
══════════════════════════════════════════════════════════════════ */

:root {
  --gold:        #c9a96e;
  --gold-light:  #e8d5b0;
  --gold-deep:   #a07840;
  --rose:        #e8b4c4;
  --cream:       #faf8f4;
  --cream-dark:  #f0ece4;
  --charcoal:    #1a1814;
  --charcoal-2:  #2c2820;
  --charcoal-3:  #3d3830;
  --text:        #2c2820;
  --text-muted:  #7a7268;
  --border:      #e0d8cc;
  --white:       #ffffff;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Montserrat', system-ui, sans-serif;

  --radius:  4px;
  --shadow:  0 2px 16px rgba(26,24,20,.08);
  --shadow-lg: 0 8px 40px rgba(26,24,20,.14);
  --max-w:   1200px;
  --transition: 200ms ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  background: var(--cream);
}

a { color: var(--gold-deep); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }

img { max-width: 100%; display: block; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Buttons ──────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: .65rem 1.6rem;
  background: var(--charcoal);
  color: var(--cream) !important;
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.btn:hover { background: var(--gold-deep); transform: translateY(-1px); }

.btn-hero {
  background: var(--gold);
  color: var(--charcoal) !important;
  font-size: .85rem;
  padding: .8rem 2rem;
  letter-spacing: .14em;
}
.btn-hero:hover { background: var(--gold-deep); color: var(--cream) !important; }

.btn-sm {
  padding: .45rem 1rem;
  font-size: .75rem;
}

/* ── Header ──────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 8px rgba(26,24,20,.06);
}

.header-accent {
  height: 3px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold), var(--rose), var(--gold));
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: .9rem;
  padding-bottom: .9rem;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: .04em;
  line-height: 1;
  color: var(--charcoal) !important;
}
.logo-beauty { color: var(--charcoal); }
.logo-usa    { color: var(--gold-deep); }
.logo-online { color: var(--text-muted); font-weight: 300; }

.logo-tagline {
  display: block;
  font-family: var(--font-body);
  font-size: .65rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: .2rem;
}

.header-brand { flex-shrink: 0; }

.header-nav {
  display: flex;
  gap: 1.6rem;
  flex: 1;
  justify-content: center;
}

.header-nav a {
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--transition);
}
.header-nav a:hover { color: var(--gold-deep); }

.admin-btn {
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted) !important;
  border: 1px solid var(--border);
  padding: .35rem .85rem;
  border-radius: var(--radius);
  transition: all var(--transition);
  flex-shrink: 0;
}
.admin-btn:hover { border-color: var(--gold); color: var(--gold) !important; }

/* ── Hero ─────────────────────────────────────────────────────── */
.hero {
  position: relative;
  background: var(--charcoal-2);
  color: var(--cream);
  overflow: hidden;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(201,169,110,.18) 0%, transparent 70%),
    radial-gradient(ellipse at 20% 80%, rgba(232,180,196,.12) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content {
  position: relative; z-index: 2;
  padding: 4rem 1.5rem;
  max-width: 760px;
}

.hero-badge {
  display: inline-block;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-deep);
  padding: .25rem .75rem;
  border-radius: 2px;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 400;
  line-height: 1.18;
  color: var(--cream);
  margin-bottom: 1rem;
}
.hero-title a { color: var(--cream) !important; }
.hero-title a:hover { color: var(--gold-light) !important; }

.hero-excerpt {
  font-size: .95rem;
  color: var(--gold-light);
  opacity: .85;
  margin-bottom: 1rem;
  max-width: 560px;
}

.hero-meta {
  display: flex; gap: 1rem; align-items: center;
  margin-bottom: 1.75rem;
}

.hero-cat {
  font-size: .7rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold);
}

.hero-date { font-size: .8rem; color: rgba(250,248,244,.5); }

.hero-ribbon {
  position: relative; z-index: 2;
  background: rgba(0,0,0,.25);
  backdrop-filter: blur(4px);
  display: flex; gap: 0; overflow-x: auto;
  border-top: 1px solid rgba(201,169,110,.2);
}
.hero-ribbon a {
  display: inline-block;
  padding: .65rem 1.4rem;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(250,248,244,.6);
  border-right: 1px solid rgba(201,169,110,.15);
  white-space: nowrap;
  transition: all var(--transition);
}
.hero-ribbon a:hover { color: var(--gold); background: rgba(201,169,110,.08); }

/* ── Article Grid ─────────────────────────────────────────────── */
.section-articles { padding: 4rem 0; }

.section-header {
  display: flex; align-items: center; gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
  white-space: nowrap;
}
.section-line {
  flex: 1; height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.75rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
  display: flex; flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }

.card-cat {
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: .75rem;
}
.card-cat a { color: var(--gold-deep); }

.card-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: .75rem;
}
.card-title a { color: var(--charcoal); }
.card-title a:hover { color: var(--gold-deep); }

.card-excerpt {
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1rem;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.card-date { font-size: .75rem; color: var(--text-muted); }
.card-link {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--gold-deep) !important;
}

/* ── Category Page ────────────────────────────────────────────── */
.cat-header {
  padding: 3rem 0 2rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2.5rem;
}
.cat-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 300;
}
.cat-count { color: var(--text-muted); font-size: .85rem; margin-top: .25rem; }

/* ── Single Article ───────────────────────────────────────────── */
.article-wrapper { padding: 2rem 1.5rem 4rem; }

.breadcrumb {
  display: flex; gap: .5rem; align-items: center;
  font-size: .75rem; color: var(--text-muted);
  margin-bottom: 2rem;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--gold-deep); }
.breadcrumb span { color: var(--border); }

.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  align-items: start;
}

.article-header { margin-bottom: 2rem; }

.article-meta-top {
  display: flex; gap: .75rem; align-items: center;
  margin-bottom: 1rem;
}

.article-cat-badge {
  font-size: .68rem; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--white);
  background: var(--gold-deep); padding: .25rem .7rem;
  border-radius: 2px;
}

.article-type-badge {
  font-size: .68rem; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gold-deep);
  border: 1px solid var(--gold); padding: .25rem .7rem;
  border-radius: 2px;
}

.article-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--charcoal);
  margin-bottom: .75rem;
}

.article-standfirst {
  font-size: 1.05rem;
  color: var(--text-muted);
  font-style: italic;
  font-family: var(--font-display);
  border-left: 3px solid var(--gold);
  padding-left: 1rem;
  margin-bottom: 1rem;
}

.article-byline {
  display: flex; gap: .75rem; align-items: center;
  font-size: .8rem; color: var(--text-muted);
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.byline-author { font-weight: 600; color: var(--text); }
.byline-sep { color: var(--border); }

.article-hero-img {
  margin-bottom: 2rem; border-radius: var(--radius);
  overflow: hidden;
}
.article-hero-img img { width: 100%; max-height: 480px; object-fit: cover; }

/* Article Body Typography */
.article-body {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text);
}
.article-body p     { margin-bottom: 1.4rem; }
.article-body h2    { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; margin: 2rem 0 .75rem; color: var(--charcoal); }
.article-body h3    { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; margin: 1.5rem 0 .5rem; }
.article-body ul, .article-body ol { margin-bottom: 1.4rem; padding-left: 1.5rem; }
.article-body li    { margin-bottom: .4rem; }
.article-body a     { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 3px; }
.article-body blockquote {
  border-left: 3px solid var(--gold);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--charcoal-3);
  background: var(--cream-dark);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.article-body strong { font-weight: 600; }

.internal-links-box {
  background: var(--cream-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
}
.internal-links-box h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: .75rem;
  color: var(--charcoal);
}
.internal-links-box ul { list-style: none; padding: 0; }
.internal-links-box li { padding: .3rem 0; border-bottom: 1px solid var(--border); }
.internal-links-box li:last-child { border-bottom: none; }
.internal-links-box a { font-size: .9rem; }

.article-source {
  font-size: .8rem; color: var(--text-muted);
  margin-top: 1.5rem; padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.article-source a { color: var(--gold-deep); }

.article-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }
.tag {
  font-size: .7rem; font-weight: 500; letter-spacing: .1em;
  text-transform: uppercase; color: var(--text-muted);
  background: var(--cream-dark); border: 1px solid var(--border);
  padding: .3rem .75rem; border-radius: 2px;
}

/* Article Sidebar */
.article-sidebar { position: sticky; top: 80px; }

.sidebar-widget {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
  margin-bottom: 1.5rem;
}
.widget-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 1rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--border);
}
.sidebar-list { list-style: none; padding: 0; }
.sidebar-list li {
  padding: .6rem 0;
  border-bottom: 1px solid var(--cream-dark);
  display: flex; justify-content: space-between; gap: 1rem;
}
.sidebar-list li:last-child { border-bottom: none; }
.sidebar-list a { font-size: .85rem; font-weight: 500; color: var(--charcoal); line-height: 1.4; }
.sidebar-list a:hover { color: var(--gold-deep); }
.sidebar-list span { font-size: .75rem; color: var(--text-muted); white-space: nowrap; }

.sidebar-cta { background: var(--charcoal); border-color: var(--charcoal); }
.sidebar-cta h3, .sidebar-cta p { color: var(--cream); }
.sidebar-cta p { font-size: .85rem; opacity: .75; margin-bottom: 1rem; }

/* ── Pagination ───────────────────────────────────────────────── */
.pagination { display: flex; gap: .5rem; justify-content: center; padding: 2rem 0; }
.pag-btn {
  display: inline-block; padding: .45rem .9rem;
  border: 1px solid var(--border); border-radius: var(--radius);
  font-size: .8rem; font-weight: 500; color: var(--text-muted);
  transition: all var(--transition);
}
.pag-btn:hover, .pag-btn.active {
  background: var(--gold); border-color: var(--gold); color: var(--charcoal) !important;
}

/* ── Footer ──────────────────────────────────────────────────── */
.site-footer {
  background: var(--charcoal);
  color: var(--cream);
  padding: 3.5rem 0 0;
  margin-top: 4rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(250,248,244,.1);
}

.footer-brand .logo { font-size: 1.3rem; margin-bottom: .75rem; }
.footer-brand .logo-beauty, .footer-brand .logo-online { color: var(--cream); }
.footer-brand p { font-size: .85rem; color: rgba(250,248,244,.5); line-height: 1.7; }

.footer-links h4 {
  font-family: var(--font-body);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.footer-links a {
  display: block;
  font-size: .85rem;
  color: rgba(250,248,244,.55);
  margin-bottom: .45rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold); }

.footer-bottom {
  padding: 1.25rem 0;
  font-size: .75rem;
  color: rgba(250,248,244,.35);
}
.footer-bottom .container { display: flex; gap: 1rem; align-items: center; }
.footer-sep { color: rgba(250,248,244,.2); }

/* ── Empty states ────────────────────────────────────────────── */
.empty-state {
  text-align: center; padding: 3rem; color: var(--text-muted); font-size: 1rem;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 900px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .header-nav { display: none; }
  .hero-content { padding: 2.5rem 1rem; }
  .footer-inner { grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════════════
   PHASE 2 — Profiles, Events, Internal Links
══════════════════════════════════════════════════════════════════ */

/* ── Filter Bar (Profiles listing) ───────────────────────────── */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 2rem;
}
.filter-chip {
  display: inline-block;
  padding: .4rem 1rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 100px;
  transition: all var(--transition);
}
.filter-chip:hover  { border-color: var(--gold); color: var(--gold-deep); }
.filter-chip.active { background: var(--gold); border-color: var(--gold); color: var(--charcoal) !important; }

/* ── Contestants Grid (Profiles listing + Event hub) ─────────── */
.contestants-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.contestants-grid-lg {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.contestant-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
  color: var(--text) !important;
}
.contestant-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.contestant-card-photo {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--cream-dark);
}
.contestant-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.contestant-card:hover .contestant-card-photo img {
  transform: scale(1.04);
}

.contestant-card-initials {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--gold-deep);
  background: linear-gradient(135deg, var(--cream-dark), var(--cream));
}

.contestant-card-info {
  padding: .9rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: .2rem;
}
.contestant-card-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--charcoal);
  line-height: 1.2;
}
.contestant-card-place {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.contestant-card-state {
  font-size: .78rem;
  color: var(--text-muted);
}
.contestant-card-event {
  font-size: .72rem;
  color: var(--gold);
  margin-top: .15rem;
}

/* ── Profile Hero ─────────────────────────────────────────────── */
.profile-hero {
  position: relative;
  background: var(--charcoal-2);
  color: var(--cream);
  overflow: hidden;
}

.profile-hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 80% 40%, rgba(201,169,110,.2) 0%, transparent 65%),
    radial-gradient(ellipse at 10% 80%, rgba(232,180,196,.15) 0%, transparent 55%);
  pointer-events: none;
}

.profile-hero-inner {
  display: flex;
  align-items: flex-end;
  gap: 2.5rem;
  padding: 3rem 1.5rem 3rem;
  position: relative;
  z-index: 1;
}

.profile-photo-wrap { flex-shrink: 0; }

.profile-photo {
  width: 160px;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 3px solid var(--gold);
  box-shadow: 0 8px 30px rgba(0,0,0,.4);
}

.profile-photo-placeholder {
  width: 160px;
  height: 200px;
  border-radius: var(--radius);
  border: 3px solid var(--gold);
  background: var(--charcoal-3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--gold);
}

.profile-badge {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--charcoal);
  background: var(--gold);
  padding: .25rem .85rem;
  border-radius: 2px;
  margin-bottom: .85rem;
}

.profile-name {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--cream);
  margin-bottom: .75rem;
}

.profile-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.profile-meta-item {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .82rem;
  color: rgba(250,248,244,.65);
}
.profile-meta-item a { color: var(--gold-light); }
.meta-icon { font-style: normal; color: var(--gold); font-size: .75rem; }

/* ── Profile Body ─────────────────────────────────────────────── */
.profile-body { padding: 3rem 1.5rem 4rem; }

.profile-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 3rem;
  align-items: start;
}

.profile-section { margin-bottom: 2.5rem; }

.profile-section-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 1rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--border);
}

.profile-bio {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text);
}
.profile-bio p { margin-bottom: 1.2rem; }

/* Inline event card on profile */
.event-card-link { display: block; }
.event-card-inline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 1.4rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  transition: box-shadow var(--transition), transform var(--transition);
}
.event-card-link:hover .event-card-inline {
  box-shadow: var(--shadow);
  transform: translateX(3px);
}
.event-card-info {
  display: flex;
  flex-direction: column;
  gap: .2rem;
}
.event-card-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--charcoal);
}
.event-card-loc,
.event-card-year {
  font-size: .8rem;
  color: var(--text-muted);
}
.event-card-arrow {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--gold-deep);
  white-space: nowrap;
}

/* Profile articles */
.profile-articles {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.profile-article-card {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  padding: .9rem 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.profile-article-card:hover { box-shadow: var(--shadow); border-color: var(--gold); }
.pac-cat {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.pac-title {
  font-size: .9rem;
  font-weight: 500;
  color: var(--charcoal);
  line-height: 1.35;
}
.pac-date { font-size: .75rem; color: var(--text-muted); }

/* Profile sidebar — contestants list */
.contestants-list { list-style: none; padding: 0; }
.contestant-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .6rem 0;
  border-bottom: 1px solid var(--cream-dark);
}
.contestant-item:last-child { border-bottom: none; }
.contestant-thumb {
  width: 40px; height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.contestant-thumb-placeholder {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--cream-dark);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--gold-deep);
  flex-shrink: 0;
}
.contestant-info { display: flex; flex-direction: column; }
.contestant-name { font-size: .85rem; font-weight: 500; color: var(--charcoal); }
.contestant-name:hover { color: var(--gold-deep); }
.contestant-state { font-size: .75rem; color: var(--text-muted); }

/* ── Event Hero ───────────────────────────────────────────────── */
.event-hero {
  position: relative;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.event-hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 8s ease;
}
.event-hero:hover .event-hero-bg { transform: scale(1.03); }

.event-hero-bg-default {
  background:
    linear-gradient(135deg, var(--charcoal-2) 0%, var(--charcoal-3) 100%),
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 40px,
      rgba(201,169,110,.04) 40px,
      rgba(201,169,110,.04) 80px
    );
}

.event-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,24,20,.9) 0%, rgba(26,24,20,.3) 60%, transparent 100%);
}

.event-hero-inner {
  position: relative; z-index: 2;
  padding: 2.5rem 1.5rem;
  color: var(--cream);
}

.event-hero-top {
  display: flex;
  gap: .75rem;
  align-items: center;
  margin-bottom: 1rem;
}

.event-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--cream);
  margin-bottom: .85rem;
}

.event-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: .82rem;
  color: rgba(250,248,244,.65);
}

/* Event status badges */
.event-status-badge {
  display: inline-block;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: .25rem .75rem;
  border-radius: 2px;
}
.status-active   { background: rgba(90,158,110,.25);  color: #7dd09a; border: 1px solid rgba(90,158,110,.4); }
.status-upcoming { background: rgba(90,126,201,.2);   color: #8aaae8; border: 1px solid rgba(90,126,201,.35); }
.status-past     { background: rgba(122,114,104,.2);  color: var(--text-muted); border: 1px solid var(--border); }

.event-year-badge {
  font-size: .8rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: .1em;
}

/* ── Event Body ───────────────────────────────────────────────── */
.event-body { padding: 3rem 1.5rem 4rem; }

.event-section { margin-bottom: 3rem; }

.event-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--border);
}
.event-section-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--charcoal);
}
.event-section-count {
  font-size: .78rem;
  color: var(--text-muted);
  letter-spacing: .08em;
}
.event-section-link {
  font-size: .78rem;
  font-weight: 600;
  color: var(--gold-deep);
}

.event-description {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text);
  max-width: 760px;
}
.event-description p { margin-bottom: 1.2rem; }

/* ── Events Listing Grid ──────────────────────────────────────── */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
  margin-bottom: 3rem;
}

.event-hub-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
  color: var(--text) !important;
}
.event-hub-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.ehc-img {
  height: 180px;
  background-size: cover;
  background-position: center;
}
.ehc-img-default {
  background: linear-gradient(135deg, var(--charcoal-2), var(--charcoal-3));
  position: relative;
}
.ehc-img-default::after {
  content: '★';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2.5rem;
  color: rgba(201,169,110,.3);
}

.ehc-body { padding: 1.25rem 1.4rem 1.4rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }

.ehc-top { display: flex; justify-content: space-between; align-items: center; }
.ehc-year { font-size: .78rem; font-weight: 700; color: var(--gold); letter-spacing: .1em; }

.ehc-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--charcoal);
  line-height: 1.2;
  margin-top: .3rem;
}

.ehc-loc {
  font-size: .82rem;
  color: var(--text-muted);
}

.ehc-desc {
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}

.ehc-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: .85rem;
  margin-top: .5rem;
  border-top: 1px solid var(--border);
  font-size: .78rem;
  color: var(--text-muted);
}
.ehc-link {
  font-weight: 600;
  color: var(--gold-deep);
  letter-spacing: .05em;
}

/* ── Internal Links Block (article footer) ────────────────────── */
.internal-links-block {
  margin: 2.5rem 0 1.5rem;
  padding: 1.5rem;
  background: var(--cream-dark);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
}

.ilb-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .75rem;
}

.ilb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: .85rem;
}

.ilb-card {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  padding: .9rem 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.ilb-card:hover { box-shadow: var(--shadow); border-color: var(--gold); transform: translateY(-1px); }

.ilb-event {
  border-left: 2px solid var(--gold);
  background: linear-gradient(135deg, var(--white), rgba(201,169,110,.04));
}

.ilb-cat {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.ilb-title-text {
  font-size: .88rem;
  font-weight: 500;
  color: var(--charcoal);
  line-height: 1.35;
}
.ilb-date {
  font-size: .75rem;
  color: var(--text-muted);
}

/* Sidebar event link */
.sidebar-event-link {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  padding: .85rem 1rem;
  background: var(--cream-dark);
  border: 1px solid var(--border);
  border-left: 2px solid var(--gold);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.sidebar-event-link:hover { box-shadow: var(--shadow); border-color: var(--gold); }
.sel-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--charcoal);
}
.sel-arrow {
  font-size: .75rem;
  font-weight: 600;
  color: var(--gold-deep);
}

/* ── Responsive updates ───────────────────────────────────────── */
@media (max-width: 900px) {
  .profile-layout { grid-template-columns: 1fr; }
  .profile-sidebar { order: -1; }
  .profile-hero-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .contestants-grid { grid-template-columns: repeat(2, 1fr); }
  .events-grid { grid-template-columns: 1fr; }
  .ilb-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════════════
   PHASE 3 — Affiliate Products & Monetization
══════════════════════════════════════════════════════════════════ */

/* ── Inline Product Injection Block ──────────────────────────── */
.product-inject {
  margin: 2rem 0;
  padding: 1.25rem 1.4rem 1.4rem;
  background: linear-gradient(135deg, #fdf9f3, #faf5ec);
  border: 1px solid var(--gold-light);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
}

.pi-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.pi-label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.pi-badge {
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: .15rem .5rem;
  border-radius: 2px;
}

.pi-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

/* Inline product card */
.pic-card {
  display: flex;
  gap: 1rem;
  padding: .85rem 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: box-shadow var(--transition), transform var(--transition);
  color: var(--text) !important;
  align-items: flex-start;
}
.pic-card:hover {
  box-shadow: 0 4px 20px rgba(201,169,110,.18);
  transform: translateY(-1px);
  border-color: var(--gold);
}

.pic-photo { flex-shrink: 0; }

.pic-img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}

.pic-placeholder {
  width: 72px;
  height: 72px;
  border-radius: var(--radius);
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--gold-deep);
  font-weight: 300;
}

.pic-info {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  flex: 1;
  min-width: 0;
}

.pic-cat {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.pic-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--charcoal);
  line-height: 1.2;
}

.pic-desc {
  font-size: .8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.pic-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: .4rem;
}

.pic-price {
  font-size: .9rem;
  font-weight: 700;
  color: var(--charcoal);
}

.pic-cta {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--gold-deep);
  white-space: nowrap;
}

/* ── Products Catalog Grid ────────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.75rem;
  margin-bottom: 2.5rem;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
}
.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.product-card-img {
  display: block;
  height: 220px;
  overflow: hidden;
  background: var(--cream-dark);
}
.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .product-card-img img {
  transform: scale(1.05);
}

.product-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  color: var(--gold-deep);
  background: linear-gradient(135deg, var(--cream-dark), #f5efe6);
}

.product-card-body {
  padding: 1.1rem 1.3rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  flex: 1;
}

.product-card-cat {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.product-card-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.25;
}
.product-card-name a { color: var(--charcoal); }
.product-card-name a:hover { color: var(--gold-deep); }

.product-card-desc {
  font-size: .83rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}

.product-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: .9rem;
  border-top: 1px solid var(--border);
  margin-top: .5rem;
}

.product-card-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--charcoal);
}

/* ── Single Product Detail ────────────────────────────────────── */
.product-detail-wrap { padding: 2rem 1.5rem 4rem; }

.product-detail {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 3.5rem;
  align-items: start;
  margin-bottom: 4rem;
}

.pd-image-wrap {
  position: sticky;
  top: 90px;
}

.pd-image {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: block;
}

.pd-image-placeholder {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(135deg, var(--cream-dark), #f5efe6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 300;
  color: var(--gold-deep);
}

.pd-cats {
  display: flex;
  gap: .75rem;
  align-items: center;
  margin-bottom: .85rem;
}

.pd-cat-badge {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--charcoal);
  padding: .25rem .8rem;
  border-radius: 2px;
}

.pd-subcat {
  font-size: .75rem;
  color: var(--text-muted);
  letter-spacing: .1em;
}

.pd-name {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--charcoal);
  margin-bottom: .75rem;
}

.pd-price {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 1.25rem;
  font-family: var(--font-display);
}

.pd-description {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 1.25rem;
}
.pd-description p { margin-bottom: 1rem; }

.pd-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.5rem;
}

.btn-cta {
  display: inline-block;
  padding: 1rem 2.25rem;
  background: var(--gold);
  color: var(--charcoal) !important;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  width: 100%;
  text-align: center;
  margin-bottom: .85rem;
}
.btn-cta:hover {
  background: var(--gold-deep);
  color: var(--cream) !important;
  transform: translateY(-1px);
}

.pd-disclosure {
  font-size: .75rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.5;
}

.product-related { padding-top: 2rem; border-top: 1px solid var(--border); }

/* ── Admin CSS additions ───────────────────────────────────────── */
/* (added to main.css for simplicity — admin.css handles admin-specific) */

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 900px) {
  .product-detail { grid-template-columns: 1fr; }
  .pd-image-wrap { position: static; }
}

@media (max-width: 640px) {
  .pi-cards { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .pic-card { flex-direction: column; }
  .pic-img, .pic-placeholder { width: 100%; height: 140px; border-radius: var(--radius) var(--radius) 0 0; }
}

/* ══════════════════════════════════════════════════════════════════
   PHASE 4 — Rankings & Comparisons
══════════════════════════════════════════════════════════════════ */

/* ── Rankings Listing ────────────────────────────────────────── */
.rankings-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.ranking-list-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem 1.5rem;
  color: var(--text) !important;
  transition: box-shadow var(--transition), transform var(--transition);
}
.ranking-list-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.rlc-type {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: .5rem;
}

.rlc-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--charcoal);
  line-height: 1.25;
  margin-bottom: .6rem;
}

.rlc-desc {
  font-size: .84rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1rem;
}

.rlc-footer {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
  padding-top: .85rem;
  border-top: 1px solid var(--border);
  font-size: .75rem;
}

.rlc-count { color: var(--text-muted); }
.rlc-event { color: var(--gold-deep); font-weight: 500; }
.rlc-link  { margin-left: auto; font-weight: 700; color: var(--gold-deep); }

/* ── Ranking Hero ─────────────────────────────────────────────── */
.ranking-hero {
  position: relative;
  background: var(--charcoal-2);
  color: var(--cream);
  overflow: hidden;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ranking-hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 75% 50%, rgba(201,169,110,.2) 0%, transparent 65%),
    repeating-linear-gradient(
      -45deg,
      transparent, transparent 60px,
      rgba(201,169,110,.03) 60px, rgba(201,169,110,.03) 61px
    );
  pointer-events: none;
}

.ranking-hero-inner {
  position: relative; z-index: 2;
  padding: 2.5rem 1.5rem;
  max-width: 820px;
}

.ranking-hero-badge {
  display: inline-block;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-deep);
  padding: .22rem .75rem;
  border-radius: 2px;
  margin-bottom: 1rem;
}

.ranking-hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--cream);
  margin-bottom: .75rem;
}

.ranking-hero-desc {
  font-size: .9rem;
  color: rgba(250,248,244,.65);
  max-width: 600px;
  margin-bottom: .85rem;
  line-height: 1.65;
}

.ranking-hero-meta {
  display: flex;
  gap: 1rem;
  font-size: .8rem;
  color: rgba(250,248,244,.5);
  align-items: center;
}
.ranking-event-link { color: var(--gold) !important; font-weight: 500; }

/* ── Ranking Body ─────────────────────────────────────────────── */
.ranking-body { padding: 2.5rem 1.5rem 4rem; }

.ranking-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 2.5rem;
  align-items: start;
}

/* Score key */
.score-key {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1rem;
  font-size: .75rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  padding: .75rem 1rem;
  background: var(--cream-dark);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.score-key strong { color: var(--charcoal); }
.sk-item { display: flex; gap: .25rem; }
.sk-sep  { color: var(--border); }

/* Ranking list items */
.ranking-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.rank-item {
  display: grid;
  grid-template-columns: 52px 80px 1fr 110px;
  gap: 1.25rem;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  transition: box-shadow var(--transition), transform var(--transition);
}
.rank-item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateX(2px);
}

.rank-item-top {
  border-color: var(--gold-light);
  background: linear-gradient(135deg, #fffdf8, #faf8f0);
}

/* Position number */
.rank-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--text-muted);
  text-align: center;
  line-height: 1;
}
.rank-num-gold { color: var(--gold); }

/* Contestant photo */
.rank-photo { flex-shrink: 0; }
.rank-photo img {
  width: 72px; height: 90px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 2px solid var(--border);
}
.rank-photo-placeholder {
  width: 72px; height: 90px;
  border-radius: var(--radius);
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--gold-deep);
  font-weight: 300;
  border: 2px solid var(--border);
}

/* Contestant info + score bars */
.rank-info { min-width: 0; }
.rank-info-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  margin-bottom: .6rem;
}

.rank-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--charcoal);
}
.rank-name a { color: var(--charcoal); }
.rank-name a:hover { color: var(--gold-deep); }

.rank-placement {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.rank-state {
  font-size: .75rem;
  color: var(--text-muted);
}

/* Score bars */
.rank-bars {
  display: flex;
  flex-direction: column;
  gap: .3rem;
}

.rank-bar-row {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .7rem;
}

.rbar-label {
  width: 72px;
  color: var(--text-muted);
  flex-shrink: 0;
  font-weight: 500;
}

.rbar-track {
  flex: 1;
  height: 5px;
  background: var(--cream-dark);
  border-radius: 3px;
  overflow: hidden;
}

.rbar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold));
  border-radius: 3px;
  transition: width 0.6s ease;
}

.rbar-val {
  width: 36px;
  text-align: right;
  font-weight: 600;
  color: var(--charcoal);
}

/* Overall score panel */
.rank-score {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  flex-shrink: 0;
}

.rank-overall {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1;
}

.rank-grade {
  display: inline-block;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .06em;
  padding: .15rem .55rem;
  border-radius: 3px;
}
.grade-s, .grade-aplus { background: rgba(201,169,110,.2); color: var(--gold-deep); }
.grade-a              { background: rgba(90,158,110,.15);  color: #4a8e5e; }
.grade-bplus, .grade-b { background: rgba(90,126,201,.12); color: #4a6eaa; }
.grade-cplus, .grade-c { background: rgba(122,114,104,.15); color: var(--text-muted); }
.grade-d              { background: rgba(201,110,126,.12); color: var(--rose); }

.rank-profile-link {
  font-size: .7rem;
  font-weight: 700;
  color: var(--gold-deep) !important;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* Ranking product inject wrapper */
.ranking-product-inject { margin: .25rem 0; }

/* Related comparisons */
.ranking-comparisons { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.rc-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}
.rc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: .85rem;
}
.rc-card {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  padding: .9rem 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text) !important;
  transition: all var(--transition);
}
.rc-card:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.rc-vs {
  font-size: .62rem; font-weight: 800; letter-spacing: .18em;
  color: var(--gold-deep); text-transform: uppercase;
}
.rc-name { font-size: .88rem; font-weight: 500; color: var(--charcoal); line-height: 1.3; }
.rc-link { font-size: .72rem; font-weight: 700; color: var(--gold-deep); }

/* Ranking sidebar */
.ranking-sidebar { position: sticky; top: 80px; }

/* ── Comparisons Listing ──────────────────────────────────────── */
.comparisons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.compare-list-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem 1.4rem;
  color: var(--text) !important;
  transition: box-shadow var(--transition), transform var(--transition);
}
.compare-list-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }

.clc-type {
  font-size: .62rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gold-deep); margin-bottom: .5rem;
}
.clc-title {
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 600;
  color: var(--charcoal); margin-bottom: .5rem; line-height: 1.25;
}
.clc-intro { font-size: .83rem; color: var(--text-muted); line-height: 1.6; flex: 1; margin-bottom: .85rem; }
.clc-link  { font-size: .75rem; font-weight: 700; color: var(--gold-deep); margin-top: auto; }

/* Vote bar mini */
.clc-votes { margin-bottom: .75rem; }
.vote-bar { height: 6px; background: var(--cream-dark); border-radius: 3px; overflow: hidden; display: flex; }
.vote-bar-a { background: var(--gold); border-radius: 3px 0 0 3px; }
.vote-labels { display: flex; justify-content: space-between; font-size: .7rem; color: var(--text-muted); margin-top: .3rem; }

/* ── Single Comparison ────────────────────────────────────────── */
.compare-wrapper { padding: 2rem 1.5rem 4rem; max-width: 960px; margin: 0 auto; }

/* Hero: side-by-side entities */
.compare-hero {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  gap: 0;
  align-items: center;
  background: var(--charcoal-2);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 2rem;
}

.compare-entity {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
  transition: background var(--transition);
}
.compare-entity-winner {
  background: rgba(201,169,110,.08);
  border-bottom: 3px solid var(--gold);
}

.compare-entity-img {
  width: 120px; height: 150px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 3px solid rgba(250,248,244,.15);
  margin-bottom: 1rem;
}
.compare-entity-placeholder {
  width: 120px; height: 150px;
  border-radius: var(--radius);
  background: var(--charcoal-3);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 2.5rem;
  color: var(--gold); margin-bottom: 1rem;
  border: 3px solid rgba(201,169,110,.25);
}

.compare-winner-badge {
  position: absolute; top: 1rem; left: 50%; transform: translateX(-50%);
  font-size: .6rem; font-weight: 800; letter-spacing: .2em;
  text-transform: uppercase; background: var(--gold); color: var(--charcoal);
  padding: .2rem .75rem; border-radius: 100px;
}

.compare-entity-name {
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 600;
  color: var(--cream); margin-bottom: .35rem; line-height: 1.2;
}
.compare-entity-name a { color: var(--cream) !important; }
.compare-entity-name a:hover { color: var(--gold-light) !important; }

.compare-entity-sub, .compare-entity-price {
  font-size: .75rem; color: rgba(250,248,244,.5); margin-bottom: .5rem;
}

.compare-entity-total {
  display: flex; flex-direction: column; align-items: center; gap: .1rem;
  background: rgba(0,0,0,.2); padding: .4rem .75rem; border-radius: 100px; margin-top: .5rem;
}
.cet-score { font-family: var(--font-display); font-size: 1.4rem; color: var(--gold); line-height: 1; }
.cet-label { font-size: .6rem; color: rgba(250,248,244,.4); letter-spacing: .1em; text-transform: uppercase; }

.compare-vs {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--charcoal-3); height: 100%;
}
.vs-text {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 700;
  color: var(--gold); letter-spacing: .08em;
}
.vs-tie { font-size: .62rem; color: var(--text-muted); letter-spacing: .14em; text-transform: uppercase; margin-top: .25rem; }

.compare-intro {
  font-size: 1rem; line-height: 1.75; color: var(--text-muted);
  padding: 1.25rem 1.5rem; background: var(--cream-dark);
  border-left: 3px solid var(--gold); border-radius: var(--radius);
  margin-bottom: 2rem;
}

/* Score table */
.compare-section-title {
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 400;
  color: var(--charcoal); margin-bottom: 1.25rem;
  padding-bottom: .5rem; border-bottom: 1px solid var(--border);
}

.compare-scores { margin-bottom: 2rem; }
.score-table-wrap { overflow-x: auto; }

.score-table {
  width: 100%; border-collapse: collapse; font-size: .9rem;
}

.score-table th {
  font-size: .68rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--text-muted);
  padding: .65rem .85rem; text-align: center;
  border-bottom: 2px solid var(--border);
}
.score-table th.st-metric { text-align: left; }
.score-table th.st-a { color: var(--gold-deep); }
.score-table th.st-b { color: #c96e7e; }

.st-row { border-bottom: 1px solid var(--cream-dark); }
.st-row:last-child { border-bottom: none; }
.st-tie { opacity: .8; }

.st-metric-cell {
  padding: .85rem; font-weight: 600; font-size: .88rem; color: var(--charcoal);
}
.st-note { display: block; font-size: .72rem; color: var(--text-muted); font-weight: 400; margin-top: .15rem; }

.st-score-cell { padding: .7rem .85rem; }

.st-bar-wrap {
  display: flex; align-items: center; gap: .5rem;
}
.st-bar-a { flex-direction: row-reverse; }

.st-score-val { font-weight: 700; font-size: .92rem; min-width: 36px; }
.st-a-cell .st-score-val { color: var(--gold-deep); text-align: right; }
.st-b-cell .st-score-val { color: #c96e7e; }

.st-bar-track {
  flex: 1; height: 8px; background: var(--cream-dark);
  border-radius: 4px; overflow: hidden; min-width: 60px;
}
.st-bar { height: 100%; border-radius: 4px; }
.st-bar-fill-a { background: linear-gradient(90deg, var(--gold-deep), var(--gold)); }
.st-bar-fill-b { background: linear-gradient(90deg, #c96e7e, #e890a0); }

.st-winning .st-score-val { font-size: 1rem; }

.st-vs-cell { text-align: center; color: var(--border); padding: .7rem .4rem; font-size: .8rem; }
.st-winner-cell { text-align: center; padding: .7rem .85rem; }

.st-badge {
  display: inline-block; font-size: .68rem; font-weight: 800;
  letter-spacing: .1em; padding: .2rem .6rem; border-radius: 3px;
}
.st-badge-a   { background: rgba(201,169,110,.2); color: var(--gold-deep); }
.st-badge-b   { background: rgba(201,110,126,.15); color: #c96e7e; }
.st-badge-tie { background: rgba(122,114,104,.12); color: var(--text-muted); }

/* Verdict */
.compare-verdict { margin-bottom: 2rem; }
.verdict-box {
  background: var(--cream-dark); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem 1.75rem;
}
.verdict-winner-name {
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 600;
  color: var(--charcoal); margin-bottom: .85rem;
}
.verdict-wins { font-size: .75rem; color: var(--text-muted); font-weight: 400; margin-left: .5rem; }
.verdict-text { font-size: .95rem; line-height: 1.8; color: var(--text); }

/* Voting */
.compare-vote {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem; margin-bottom: 2rem;
  text-align: center;
}

.vote-results { margin-bottom: 1.25rem; }
.vote-result-bar {
  height: 14px; border-radius: 7px; overflow: hidden;
  display: flex; background: var(--cream-dark); margin-bottom: .5rem;
}
.vrb-a {
  background: linear-gradient(90deg, var(--gold-deep), var(--gold));
  display: flex; align-items: center; justify-content: flex-end; padding-right: .5rem;
  font-size: .65rem; font-weight: 700; color: var(--white); min-width: 4px;
}
.vrb-b {
  background: linear-gradient(90deg, #e890a0, #c96e7e);
  display: flex; align-items: center; padding-left: .5rem;
  font-size: .65rem; font-weight: 700; color: var(--white); min-width: 4px;
}
.vote-counts {
  display: flex; justify-content: space-between;
  font-size: .78rem; color: var(--text-muted);
}

.vote-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: .85rem; }

.btn-vote {
  display: inline-block; padding: .65rem 1.75rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; border-radius: var(--radius);
  border: 2px solid; cursor: pointer; transition: all var(--transition);
}
.btn-vote-a {
  background: transparent; border-color: var(--gold); color: var(--gold-deep);
}
.btn-vote-a:hover { background: var(--gold); color: var(--charcoal); }
.btn-vote-b {
  background: transparent; border-color: #c96e7e; color: #c96e7e;
}
.btn-vote-b:hover { background: #c96e7e; color: var(--white); }

/* Related comparisons */
.compare-related { margin-bottom: 1rem; }
.compare-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: .85rem;
  margin-top: 1rem;
}
.compare-related-card {
  display: flex; flex-direction: column; gap: .3rem;
  padding: .9rem 1rem; background: var(--white);
  border: 1px solid var(--border); border-radius: var(--radius);
  color: var(--text) !important; transition: all var(--transition);
}
.compare-related-card:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.crc-vs  { font-size: .6rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); }
.crc-title { font-size: .88rem; font-weight: 500; color: var(--charcoal); line-height: 1.3; }
.crc-link  { font-size: .72rem; font-weight: 700; color: var(--gold-deep); }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 900px) {
  .ranking-layout { grid-template-columns: 1fr; }
  .ranking-sidebar { position: static; }
  .rank-item { grid-template-columns: 44px 68px 1fr 90px; gap: .85rem; }
}

@media (max-width: 640px) {
  .compare-hero { grid-template-columns: 1fr; }
  .compare-vs { padding: .75rem 0; flex-direction: row; gap: .5rem; }
  .rank-item { grid-template-columns: 40px 1fr; }
  .rank-photo { display: none; }
  .rank-score { flex-direction: row; gap: .75rem; }
  .rankings-list-grid, .comparisons-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════════════
   PHASE 6 — Traffic Amplification: Recirculation, Email, Voting
══════════════════════════════════════════════════════════════════ */

/* ── Recirculation Sidebar ────────────────────────────────────── */
.recirc-sidebar { display: flex; flex-direction: column; gap: 1.25rem; }

.recirc-widget {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
}

.recirc-heading {
  font-family: var(--font-body);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: .75rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--border);
}

.recirc-list { display: flex; flex-direction: column; gap: .1rem; }

.recirc-item {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  padding: .5rem 0;
  border-bottom: 1px solid var(--cream-dark);
  color: var(--text) !important;
  transition: color var(--transition);
}
.recirc-item:last-child { border-bottom: none; }
.recirc-item:hover .ri-title { color: var(--gold-deep); }

.ri-cat {
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: block;
  margin-bottom: .1rem;
}
.ri-title {
  font-size: .85rem;
  font-weight: 500;
  color: var(--charcoal);
  line-height: 1.3;
  display: block;
  flex: 1;
}
.ri-date  { font-size: .7rem; color: var(--text-muted); white-space: nowrap; padding-top: .2rem; flex-shrink: 0; }
.ri-meta  { font-size: .7rem; color: var(--text-muted); display: block; margin-top: .1rem; }
.ri-icon  { font-style: normal; font-size: .75rem; color: var(--gold-deep); flex-shrink: 0; padding-top: .15rem; }

.recirc-item-rank .ri-icon { color: var(--gold-deep); }
.recirc-item-vs   .ri-icon { color: #c96e7e; }

/* Profile mini grid inside recirc */
.rpm-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .6rem;
}
.rpm-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .25rem;
  text-align: center;
  color: var(--text) !important;
}
.rpm-img {
  width: 48px; height: 60px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.rpm-placeholder {
  width: 48px; height: 60px;
  border-radius: var(--radius);
  background: var(--cream-dark);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.3rem; color: var(--gold-deep);
  border: 1px solid var(--border);
}
.rpm-name  { font-size: .75rem; font-weight: 600; color: var(--charcoal); line-height: 1.2; }
.rpm-card:hover .rpm-name { color: var(--gold-deep); }
.rpm-state { font-size: .65rem; color: var(--text-muted); }

/* ── Trending Widget ──────────────────────────────────────────── */
.trending-widget { }

.trending-list { display: flex; flex-direction: column; gap: 0; }

.trending-item {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .55rem 0;
  border-bottom: 1px solid var(--cream-dark);
  color: var(--text) !important;
  transition: color var(--transition);
}
.trending-item:last-child { border-bottom: none; }
.trending-item:hover .ti-title { color: var(--gold-deep); }

.ti-pos {
  width: 20px;
  font-size: .75rem;
  font-weight: 700;
  color: var(--gold);
  text-align: center;
  flex-shrink: 0;
}
.ti-vs {
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .1em;
  color: #c96e7e;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}
.ti-icon {
  font-style: normal;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
  font-size: .75rem;
  color: var(--gold-deep);
}
.ti-body { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.ti-cat  { font-size: .58rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); }
.ti-title { font-size: .83rem; font-weight: 500; color: var(--charcoal); line-height: 1.25; }
.ti-meta  { font-size: .7rem; color: var(--text-muted); }

.widget-see-all {
  display: block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-deep);
  text-align: right;
  margin-top: .6rem;
}

/* ── Email Capture Widget ─────────────────────────────────────── */
.email-capture-widget {
  margin: 2rem 0;
  border-radius: var(--radius);
}

.ecw-box {
  background: var(--cream-dark);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  padding: 1.5rem 1.75rem;
}

.ecw-magnet {
  background: var(--charcoal-2);
  border: 1px solid rgba(201,169,110,.25);
  border-top: 3px solid var(--gold);
  padding: 1.75rem 2rem;
}
.ecw-magnet .ecw-heading { color: var(--cream); }
.ecw-magnet .ecw-sub     { color: rgba(250,248,244,.65); }
.ecw-magnet .ecw-note    { color: rgba(250,248,244,.35); }

.ecw-heading {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: .4rem;
}

.ecw-sub {
  font-size: .87rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.email-form-success {
  background: rgba(90,158,110,.15);
  border: 1px solid rgba(90,158,110,.3);
  color: #4a8e5e;
  padding: .6rem 1rem;
  border-radius: var(--radius);
  font-size: .85rem;
  font-weight: 500;
  margin-bottom: .85rem;
}

.ecw-form { }

.ecw-fields {
  display: flex;
  gap: .65rem;
  flex-wrap: wrap;
}

.ecw-input {
  flex: 1;
  min-width: 200px;
  padding: .65rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .9rem;
  background: var(--white);
  color: var(--text);
  outline: none;
  transition: border-color var(--transition);
}
.ecw-input:focus { border-color: var(--gold); }
.ecw-magnet .ecw-input { background: rgba(250,248,244,.08); color: var(--cream); border-color: rgba(201,169,110,.25); }
.ecw-magnet .ecw-input::placeholder { color: rgba(250,248,244,.4); }

.ecw-btn {
  padding: .65rem 1.5rem;
  background: var(--gold);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--transition);
}
.ecw-btn:hover { background: var(--gold-deep); color: var(--cream); }

.ecw-note {
  font-size: .72rem;
  color: var(--text-muted);
  margin-top: .6rem;
}

/* ── Voting Widget ─────────────────────────────────────────────── */
.vote-widget {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  margin-bottom: 2rem;
}
.vote-heading {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 1rem;
}
.vote-note {
  font-size: .75rem;
  color: var(--text-muted);
  margin-top: .75rem;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 640px) {
  .ecw-fields { flex-direction: column; }
  .ecw-input, .ecw-btn { width: 100%; }
  .rpm-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── Mobile Nav Fix ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .header-inner {
    flex-wrap: nowrap;
    gap: .5rem;
  }
  .header-nav {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: .1rem;
    flex-shrink: 1;
    min-width: 0;
  }
  .header-nav::-webkit-scrollbar { display: none; }
  .header-nav a {
    white-space: nowrap;
    flex-shrink: 0;
    font-size: .6rem;
    padding: .3rem .5rem;
  }
  .header-brand {
    flex-shrink: 0;
  }
  /* Admin button — hide from header on mobile */
  .header-inner > .admin-btn {
    display: none;
  }
}

/* ── Admin Floating Button (mobile only) ─────────────────────── */
.admin-fab {
  display: none;
  position: fixed;
  bottom: 24px;
  right: 16px;
  z-index: 9999;
  background: var(--charcoal-2);
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: .55rem 1.1rem;
  border-radius: 50px;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0,0,0,.5);
}
@media (max-width: 900px) {
  .admin-fab { display: block; }
}

/* ── Fix: make entire card clickable ─────────────────────────── */
.card {
  position: relative;
}
.card .card-link {
  position: static;
}
/* Make the whole card a click target via the title link */
.card .card-title a::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}
/* Keep other links above the overlay */
.card .card-cat a,
.card .card-link,
.card .card-footer {
  position: relative;
  z-index: 2;
}

/* ── Fix: recirc-item full click area ────────────────────────── */
.recirc-item {
  display: block;
  text-decoration: none;
}

/* ── Fix: comparison card full click area ────────────────────── */
.comparison-card,
.ranking-card,
.article-card,
.event-card {
  display: block;
  text-decoration: none;
}
