/* CLEAN CONVERT v3.9.6 — ascentprecision.co.uk */
/* @import removed — font loaded via <link> in HTML */

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

:root {
  --white: #FFFFFF;
  --bg: #F8F9FA;
  --text: #1a1a2e;
  --text-muted: #555;
  --green: #16A34A;
  --green-dark: #15803d;
  --green-light: #dcfce7;
  --border: #e2e8f0;
  --card-bg: #fff;
  --red: #dc2626;
  --yellow: #f59e0b;
  --blue: #2563eb;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
}

a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ── LAYOUT ── */
.container { max-width: 900px; margin: 0 auto; padding: 0 20px; }
.container-wide { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* ── HEADER ── */
.site-header {
  background: var(--white);
  border-bottom: 2px solid var(--border);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.site-logo {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.site-logo span { color: var(--green); }
.header-badge {
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
}
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background 0.2s;
}
.header-cta:hover { background: var(--green-dark); text-decoration: none; }

/* ── HERO / INTRO ── */
.hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #fff;
  padding: 52px 0 44px;
}
.hero h1 {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 16px;
}
.hero .hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}
.hero-badge {
  background: rgba(255,255,255,0.12);
  color: #f1f5f9;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.2);
}
.hero-badge.green { background: var(--green); color: #fff; border-color: var(--green); }
.hero-desc {
  color: #e2e8f0;
  font-size: 1.05rem;
  max-width: 680px;
  margin-bottom: 28px;
}
.hero-cta-group { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  box-shadow: 0 0 0 0 rgba(22,163,74,0.4);
  animation: pulse-green 2.5s ease-in-out infinite;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--green-dark); text-decoration: none; transform: translateY(-1px); }
@keyframes pulse-green {
  0%,100% { box-shadow: 0 0 0 0 rgba(22,163,74,0.4); }
  50% { box-shadow: 0 0 0 10px rgba(22,163,74,0); }
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #94a3b8;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}
.btn-secondary:hover { color: #fff; text-decoration: none; }

/* ── TRUST STRIP ── */
.trust-strip {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
.trust-strip .container {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  align-items: center;
  justify-content: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #334155;
}
.trust-item .icon { font-size: 1rem; }

/* ── MOBILE NAV (hidden on desktop by default) ── */
.mobile-nav { display: none; }

/* ── QUICK NAV (hidden by default) ── */
.quick-nav { display: none; }

/* ── SECTION STYLES ── */
section { padding: 52px 0; }
/* section:nth-child(even) removed — overrides dark sections like .hero */
.section-title {
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}
.section-lead {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 28px;
  max-width: 720px;
}
.section-tag {
  display: inline-block;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── CASINO LIST / SHOWCASE ── */
.casino-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }

.casino-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s, transform 0.15s;
  position: relative;
}
.casino-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.casino-card.featured { border-color: var(--green); border-width: 2px; }
.casino-rank {
  min-width: 34px;
  height: 34px;
  background: var(--green);
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.casino-rank.gold { background: #f59e0b; }
.casino-info { flex: 1; min-width: 0; }
.casino-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}
.casino-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.casino-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.casino-tag {
  background: var(--bg);
  border: 1px solid var(--border);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 20px;
  color: var(--text-muted);
}
.casino-tag.green { background: var(--green-light); color: var(--green-dark); border-color: var(--green-light); }
.casino-tag.blue { background: #dbeafe; color: #1e40af; border-color: #dbeafe; }
.casino-score {
  text-align: center;
  flex-shrink: 0;
}
.score-value {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--green);
  display: block;
}
.score-label { font-size: 0.68rem; color: var(--text-muted); font-weight: 600; }
.casino-cta {
  flex-shrink: 0;
}
.btn-casino {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  animation: pulse-green 2.5s ease-in-out infinite;
  transition: background 0.2s;
  white-space: nowrap;
}
.btn-casino:hover { background: var(--green-dark); text-decoration: none; animation: none; }
.best-badge {
  position: absolute;
  top: -1px;
  right: 16px;
  background: var(--green);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 0 0 8px 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Show more */
.casino-hidden { display: none; }
.show-more-wrap { text-align: center; margin-top: 20px; }
.btn-show-more {
  background: #fff;
  border: 2px solid var(--green);
  color: var(--green);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 11px 28px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-show-more:hover { background: var(--green); color: #fff; }
.btn-show-more .arrow { transition: transform 0.2s; }
.btn-show-more.open .arrow { transform: rotate(180deg); }

/* ── TABLES ── */
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); margin: 20px 0; }
table { width: 100%; border-collapse: collapse; background: var(--white); font-size: 0.9rem; }
thead th {
  background: #0f172a;
  color: #fff;
  font-weight: 700;
  padding: 13px 16px;
  text-align: left;
  white-space: nowrap;
}
thead th:first-child { border-radius: var(--radius) 0 0 0; }
thead th:last-child { border-radius: 0 var(--radius) 0 0; }
tbody tr { border-bottom: 1px solid var(--border); transition: background 0.15s; }
tbody tr:last-child { border-bottom: none; }
tbody tr:hover { background: var(--bg); }
td { padding: 11px 16px; color: var(--text); vertical-align: top; }
td .green { color: var(--green); font-weight: 700; }
td .red { color: var(--red); font-weight: 600; }
td .muted { color: var(--text-muted); font-size: 0.82rem; }

/* ── INFO BOXES ── */
.info-box {
  background: var(--bg);
  border-left: 4px solid var(--green);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  margin: 20px 0;
  font-size: 0.95rem;
}
.info-box.warning {
  border-left-color: var(--red);
  background: #fef2f2;
}
.info-box.yellow {
  border-left-color: var(--yellow);
  background: #fffbeb;
}
.info-box p + p { margin-top: 10px; }

/* ── CARDS GRID ── */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 24px; }
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--shadow);
}
.card-icon { font-size: 2rem; margin-bottom: 12px; }
.card-title { font-size: 1rem; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.card-text { font-size: 0.88rem; color: var(--text-muted); line-height: 1.65; }

/* ── STEPS ── */
.steps { counter-reset: step; display: flex; flex-direction: column; gap: 20px; margin-top: 20px; }
.step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.step-num {
  counter-increment: step;
  min-width: 36px;
  height: 36px;
  background: var(--green);
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-content { flex: 1; }
.step-title { font-weight: 700; margin-bottom: 5px; font-size: 0.98rem; }
.step-text { font-size: 0.88rem; color: var(--text-muted); }

/* ── BADGE LIST ── */
.badge-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }
.badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
  box-shadow: var(--shadow);
}
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex-shrink: 0; }
.badge.mga .dot { background: #0062ff; }
.badge.curacao .dot { background: #e53e3e; }
.badge.kahnawake .dot { background: #805ad5; }

/* ── WARNING FLAGS ── */
.red-flags { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.red-flag {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 18px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}
.red-flag .flag-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; }
.red-flag strong { display: block; color: var(--red); margin-bottom: 2px; }

/* ── BONUS CARDS ── */
.bonus-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 20px; }
.bonus-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 18px;
  text-align: center;
  box-shadow: var(--shadow);
}
.bonus-amount { font-size: 1.6rem; font-weight: 800; color: var(--green); margin-bottom: 4px; }
.bonus-name { font-size: 0.85rem; font-weight: 700; margin-bottom: 6px; }
.bonus-desc { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 14px; }
.btn-bonus {
  display: inline-block;
  background: var(--green);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background 0.2s;
}
.btn-bonus:hover { background: var(--green-dark); text-decoration: none; }

/* ── AUTHOR BOX ── */
.author-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin: 40px 0 0;
}
.author-avatar { width: 72px; height: 72px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-info { flex: 1; }
.author-name { font-size: 1.05rem; font-weight: 800; margin-bottom: 2px; }
.author-title-text { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 8px; font-weight: 600; }
.author-bio { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }
.reviewers-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 16px; }
.reviewer {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.reviewer img { width: 32px; height: 32px; border-radius: 50%; }
.reviewer strong { color: var(--text); font-weight: 700; display: block; }

/* ── FAQ ACCORDION ── */
.faq-list { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  padding: 16px 20px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: background 0.15s;
  font-family: 'Inter', sans-serif;
}
.faq-question:hover { background: var(--bg); }
.faq-question .faq-icon { font-size: 1.2rem; transition: transform 0.25s; color: var(--green); flex-shrink: 0; }
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.faq-answer.open { max-height: 400px; padding: 0 20px 16px; }

/* ── DISCLAIMER ── */
.disclaimer {
  background: #f1f5f9;
  border-top: 2px solid var(--border);
  padding: 18px 0;
  font-size: 0.75rem;
  color: #64748b;
  line-height: 1.6;
  text-align: center;
}

/* ── FOOTER ── */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 40px 0 24px;
}
.footer-top { display: flex; flex-wrap: wrap; gap: 32px; margin-bottom: 28px; }
.footer-brand { flex: 1; min-width: 220px; }
.footer-brand .logo { font-size: 1.1rem; font-weight: 800; color: #fff; margin-bottom: 10px; }
.footer-brand .logo span { color: var(--green); }
.footer-brand p { font-size: 0.82rem; line-height: 1.65; }
.footer-links { flex: 1; min-width: 160px; }
.footer-links h4 { color: #e2e8f0; font-size: 0.9rem; font-weight: 700; margin-bottom: 12px; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 7px; }
.footer-links a { color: #94a3b8; font-size: 0.82rem; text-decoration: none; }
.footer-links a:hover { color: var(--green); }
.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
}
.footer-bottom a { color: #64748b; }
.footer-bottom a:hover { color: var(--green); }

/* ── POPUP ── */
.popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.popup-overlay.show { display: flex; }
.popup-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  max-width: 460px;
  width: 100%;
  position: relative;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.popup-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--text-muted);
  font-family: 'Inter', sans-serif;
}
.popup-title { font-size: 1.3rem; font-weight: 800; margin-bottom: 8px; }
.popup-text { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 22px; }

/* ── STICKY CTA BAR (mobile) ── */
.sticky-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 2px solid var(--border);
  padding: 10px 16px;
  z-index: 200;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.1);
}
.sticky-cta-bar .btn-primary { width: 100%; justify-content: center; }

/* ── CONTENT TEXT ── */
h2.content-h2 {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  font-weight: 800;
  margin-bottom: 14px;
  margin-top: 4px;
  color: var(--text);
  line-height: 1.3;
}
h3.content-h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  margin-top: 20px;
  color: var(--text);
}
p.content-p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.75;
}
ul.content-list, ol.content-list {
  padding-left: 22px;
  margin-bottom: 14px;
}
ul.content-list li, ol.content-list li {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 7px;
  line-height: 1.65;
}
.highlight { color: var(--green); font-weight: 700; }

/* ── TABLET/RESPONSIVE ── */
@media (max-width: 768px) {
  .casino-card { flex-wrap: wrap; }
  .casino-score { order: 3; width: auto; }
  .casino-cta { order: 4; width: 100%; }
  .btn-casino { width: 100%; justify-content: center; }
  .cards-grid { grid-template-columns: 1fr; }
  .bonus-grid { grid-template-columns: 1fr 1fr; }
  .author-box { flex-direction: column; }
  .footer-top { flex-direction: column; gap: 24px; }
  .header-cta { display: none; }
  .sticky-cta-bar { display: block; }
  section { padding: 36px 0; }
  .hero { padding: 36px 0 30px; }
}
@media (max-width: 480px) {
  .bonus-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.35rem; }
  table { font-size: 0.8rem; }
  td { padding: 8px 10px; }
  thead th { padding: 10px; }
}
@media (min-width: 769px) {
  .sticky-cta-bar { display: none !important; }
}

/* ── Additional keyframes (required ≥4) ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.hero h1 { animation: fadeInUp 0.6s ease both; will-change: transform; }
.hero .hero-desc { animation: fadeInUp 0.7s ease both; will-change: transform; }
.casino-card { animation: fadeIn 0.4s ease both; will-change: transform; }

/* ── Hamburger / Mobile Nav Toggle ── */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 5px;
  font-family: 'Inter', sans-serif;
}
.nav-toggle .bar {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.2s;
}
.nav-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--border);
    padding: 16px 20px;
    flex-direction: column;
    gap: 12px;
    box-shadow: var(--shadow-md);
    z-index: 99;
  }
  .mobile-nav.open { display: flex; }
  .mobile-nav a {
    color: var(--text);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
  }
}

/* ── Interactive: Filter Tabs ── */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0;
}
.filter-tab {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 7px 16px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
  color: var(--text-muted);
  font-family: 'Inter', sans-serif;
}
.filter-tab:hover, .filter-tab.active {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

/* ── Rating stars ── */
.star-rating { display: inline-flex; gap: 2px; }
.star { color: #f59e0b; font-size: 0.9rem; }
.star.empty { color: #e2e8f0; }

/* ── Score bar ── */
.score-bar-wrap { margin: 6px 0; }
.score-bar-label { display: flex; justify-content: space-between; font-size: 0.78rem; margin-bottom: 4px; }
.score-bar { height: 6px; background: var(--border); border-radius: 3px; overflow: hidden; }
.score-bar-fill { height: 100%; background: var(--green); border-radius: 3px; transition: width 0.6s ease; }

/* ── HERO AUTHOR BLOCK ── */
.hero-author-block {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-author-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.3);
  flex-shrink: 0;
}
.hero-author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero-author-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: #f1f5f9;
}
.hero-author-name a {
  color: #f1f5f9;
  text-decoration: none;
}
.hero-author-name a:hover { text-decoration: underline; }
.hero-author-role {
  font-size: 0.75rem;
  color: #94a3b8;
}
.hero-pub-date {
  font-size: 0.75rem;
  color: #94a3b8;
}

/* ── REVIEWED BY SECTION ── */
.reviewed-by-section {
  background: #f0fdf4;
  border-top: 3px solid #16A34A;
  padding: 40px 0;
}
.reviewed-by-header {
  text-align: center;
  margin-bottom: 28px;
}
.reviewed-by-label {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 800;
  color: #15803d;
  margin-bottom: 6px;
}
.reviewed-by-sub {
  color: #64748b;
  font-size: 0.9rem;
  margin: 6px 0 0;
}
.reviewed-by-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 768px) {
  .reviewed-by-cards { grid-template-columns: 1fr; }
}
.reviewer-card {
  background: #fff;
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 2px 8px rgba(22,163,74,0.08);
}
.reviewer-avatar-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}
.reviewer-avatar-img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #16A34A;
}
.reviewer-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.reviewer-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: #1a1a2e;
}
.reviewer-role {
  font-size: 0.78rem;
  color: #16A34A;
  font-weight: 600;
}
.reviewer-date {
  font-size: 0.72rem;
  color: #94a3b8;
}
.reviewer-stars {
  color: #f59e0b;
  font-size: 0.85rem;
  letter-spacing: 1px;
}
.reviewer-quote {
  font-size: 0.85rem;
  color: #475569;
  font-style: italic;
  border-left: 3px solid #16A34A;
  padding-left: 12px;
  margin: 0;
  line-height: 1.5;
}
