/* ============================================================
   siirtokasinot.co — Design System CSS
   Clean Scandinavian / Nordic editorial design
   ============================================================ */

/* --- CSS Custom Properties --- */
:root {
  /* Primary colors */
  --brand-blue: #1A5276;
  --brand-blue-light: #2980B9;
  --brand-accent: #27AE60;

  /* Neutral colors */
  --text-primary: #2C3E50;
  --text-secondary: #566573;
  --text-muted: #85929E;
  --border: #D5D8DC;
  --bg-light: #F8F9FA;
  --bg-white: #FFFFFF;
  --bg-dark: #1B2631;

  /* Semantic colors */
  --success: #27AE60;
  --warning: #F39C12;
  --danger: #E74C3C;
  --info: #3498DB;

  /* Typography */
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;

  /* Border radius */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 50%;

  /* Shadows */
  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-card-hover: 0 4px 16px rgba(0, 0, 0, 0.1);
  --shadow-header: 0 2px 12px rgba(0, 0, 0, 0.08);
  --shadow-modal: 0 8px 32px rgba(0, 0, 0, 0.15);

  /* Layout */
  --max-width: 1200px;
  --header-height: 64px;
  --header-height-mobile: 56px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--bg-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--brand-blue-light);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--brand-blue);
  text-decoration: underline;
}

a:focus-visible {
  outline: 2px solid var(--brand-blue-light);
  outline-offset: 2px;
  border-radius: 2px;
}

ul, ol {
  padding-left: var(--space-lg);
}

table {
  width: 100%;
  border-collapse: collapse;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* --- Skip to content --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  background: var(--brand-blue);
  color: #fff;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  z-index: 200;
  font-size: 0.875rem;
}

.skip-link:focus {
  top: var(--space-sm);
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  line-height: 1.2;
  font-weight: 700;
}

h1 {
  font-size: 2.25rem;
  line-height: 1.2;
  margin-bottom: var(--space-lg);
}

h2 {
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.3;
  margin-top: var(--space-3xl);
  margin-bottom: var(--space-md);
}

h3 {
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.4;
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
}

h4 {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
}

p {
  margin-bottom: var(--space-md);
  max-width: 70ch;
}

small, .text-small {
  font-size: 0.875rem;
  line-height: 1.5;
}

.text-caption {
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--text-muted);
}

.text-muted {
  color: var(--text-muted);
}

.text-secondary {
  color: var(--text-secondary);
}

strong {
  font-weight: 600;
}

/* --- Layout --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section {
  padding: var(--space-3xl) 0;
}

.section--light {
  background-color: var(--bg-light);
}

.section--dark {
  background-color: var(--bg-dark);
  color: #ECF0F1;
}

main {
  min-height: 60vh;
}

/* --- Editorial Top Strip --- */
.editorial-strip {
  background-color: var(--bg-light);
  border-bottom: 1px solid var(--border);
  height: 32px;
  display: flex;
  align-items: center;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.editorial-strip .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.editorial-strip__left,
.editorial-strip__right {
  white-space: nowrap;
}

/* --- Header --- */
.header {
  background: var(--bg-white);
  height: var(--header-height);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow 0.3s ease;
  border-bottom: 1px solid var(--border);
}

.header--scrolled {
  box-shadow: var(--shadow-header);
  border-bottom-color: transparent;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1.125rem;
}

.header__logo img {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
}

.header__logo span {
  color: var(--brand-blue);
}

.header__nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.header__nav a {
  color: var(--text-primary);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  padding: var(--space-sm) 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.header__nav a:hover,
.header__nav a[aria-current="page"] {
  color: var(--brand-blue);
  border-bottom-color: var(--brand-blue);
  text-decoration: none;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  cursor: pointer;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-white);
  z-index: 99;
  padding: var(--space-lg);
  overflow-y: auto;
  border-top: 1px solid var(--border);
}

.mobile-nav.is-open {
  display: block;
}

.mobile-nav a {
  display: block;
  padding: var(--space-md) 0;
  color: var(--text-primary);
  font-size: 1.125rem;
  font-weight: 500;
  border-bottom: 1px solid var(--bg-light);
  text-decoration: none;
}

.mobile-nav a:hover {
  color: var(--brand-blue);
}

/* --- Breadcrumbs --- */
.breadcrumbs {
  padding: var(--space-md) 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.breadcrumbs a {
  color: var(--text-muted);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--brand-blue-light);
}

.breadcrumbs__separator {
  margin: 0 var(--space-sm);
  color: var(--text-muted);
}

.breadcrumbs__current {
  color: var(--text-secondary);
  font-weight: 500;
}

/* --- Homepage Hero --- */
.hero {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  background-color: var(--bg-dark);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(27, 38, 49, 0.7), rgba(27, 38, 49, 0.85));
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-3xl);
}

.hero h1 {
  color: #fff;
  font-size: 2.25rem;
  max-width: 700px;
  margin-bottom: var(--space-md);
}

.hero__subtitle {
  color: #D5D8DC;
  font-size: 1.125rem;
  max-width: 600px;
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

.hero__disclosure {
  color: var(--text-muted);
  font-size: 0.75rem;
  margin-top: var(--space-md);
}

/* Inner page hero (simpler) */
.hero--inner {
  min-height: 240px;
  background-color: var(--brand-blue);
}

.hero--inner::before {
  background: linear-gradient(to bottom, rgba(26, 82, 118, 0.85), rgba(26, 82, 118, 0.95));
}

/* --- CTA Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-sm);
  padding: 12px 24px;
  height: 48px;
  min-width: 120px;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
}

.btn:hover {
  text-decoration: none;
}

.btn:focus-visible {
  outline: 2px solid var(--brand-blue-light);
  outline-offset: 2px;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background-color: var(--brand-accent);
  color: #fff;
  border: none;
}

.btn--primary:hover {
  background-color: #219a52;
  color: #fff;
  box-shadow: 0 2px 8px rgba(39, 174, 96, 0.3);
}

.btn--secondary {
  background-color: var(--bg-white);
  color: var(--brand-blue);
  border: 2px solid var(--brand-blue);
  height: 44px;
}

.btn--secondary:hover {
  background-color: var(--bg-light);
  color: var(--brand-blue);
}

.btn--full {
  width: 100%;
}

/* --- Age Badge --- */
.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--danger);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

/* --- Casino Card --- */
.casino-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  display: grid;
  grid-template-columns: 80px 1fr auto auto auto;
  gap: var(--space-lg);
  align-items: center;
  transition: box-shadow 0.2s ease;
  margin-bottom: var(--space-md);
}

.casino-card:hover {
  box-shadow: var(--shadow-card-hover);
}

.casino-card__logo {
  width: 80px;
  height: 60px;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.casino-card__info {
  min-width: 0;
}

.casino-card__name {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
}

.casino-card__bonus {
  font-size: 0.9375rem;
  color: var(--brand-blue);
  font-weight: 500;
  margin-bottom: var(--space-xs);
}

.casino-card__details {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.casino-card__detail {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.casino-card__license {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  color: var(--text-muted);
  background: var(--bg-light);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.casino-card__rating {
  font-size: 1rem;
  font-weight: 600;
  color: var(--warning);
  white-space: nowrap;
}

.casino-card__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

.casino-card__terms {
  font-size: 0.6875rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 200px;
}

.casino-card__tax-warning {
  font-size: 0.75rem;
  color: var(--danger);
  background: #FDF2F2;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  margin-top: var(--space-xs);
}

/* --- Featured Top Three --- */
.featured-casinos {
  padding: var(--space-2xl) 0;
}

.featured-casinos__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.featured-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  position: relative;
}

.featured-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.featured-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-blue);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
}

.featured-card__logo {
  width: 80px;
  height: 60px;
  object-fit: contain;
  margin: var(--space-md) 0;
  border-radius: var(--radius-sm);
}

.featured-card__name {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.featured-card__bonus {
  font-size: 0.9375rem;
  color: var(--brand-blue);
  font-weight: 500;
  margin-bottom: var(--space-sm);
}

.featured-card__meta {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
  line-height: 1.5;
}

.featured-card__rating {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--warning);
  margin-bottom: var(--space-md);
}

.featured-card .btn {
  width: 100%;
}

.featured-card__terms {
  font-size: 0.6875rem;
  color: var(--text-muted);
  margin-top: var(--space-sm);
}

/* --- Comparison Table --- */
.comparison-table-wrapper,
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: var(--space-lg) 0;
}

.comparison-table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.comparison-table thead {
  background: var(--brand-blue);
  color: #fff;
}

.comparison-table th {
  padding: var(--space-md);
  text-align: left;
  font-weight: 600;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.comparison-table td {
  padding: var(--space-md);
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.comparison-table tbody tr:nth-child(even) {
  background: var(--bg-light);
}

.comparison-table tbody tr:hover {
  background: #EBF5FB;
}

.comparison-table__logo {
  width: 48px;
  height: 36px;
  object-fit: contain;
  border-radius: 4px;
}

.comparison-table__pos {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--brand-blue);
  color: #fff;
  font-weight: 600;
  font-size: 0.8125rem;
  border-radius: var(--radius-full);
}

.comparison-table__name {
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.comparison-table .btn {
  height: 36px;
  font-size: 0.8125rem;
  padding: 6px 16px;
  min-width: auto;
}

.table-notice {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: var(--space-sm);
  padding: var(--space-sm) 0;
}

/* --- Payment Signals --- */
.payment-signals {
  background: var(--bg-light);
  padding: var(--space-xl) 0;
  text-align: center;
}

.payment-signals__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-lg);
  margin-bottom: var(--space-md);
}

.payment-signals__logos img {
  height: 32px;
  width: auto;
  filter: grayscale(50%);
  opacity: 0.8;
  transition: filter 0.2s ease, opacity 0.2s ease;
}

.payment-signals__logos img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

.payment-signals__note {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* --- Quick Answer Cards --- */
.quick-answers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  padding: var(--space-2xl) 0;
}

.quick-answer {
  background: var(--bg-light);
  border-left: 4px solid var(--brand-blue-light);
  padding: 20px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.quick-answer h3 {
  font-size: 1rem;
  margin-top: 0;
  margin-bottom: var(--space-sm);
  color: var(--brand-blue);
}

.quick-answer p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
}

.quick-answer a {
  font-size: 0.875rem;
  font-weight: 500;
}

/* --- Table of Contents --- */
.toc {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  margin: var(--space-xl) 0;
}

.toc__title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
  color: var(--text-primary);
  margin-top: 0;
}

.toc__list {
  list-style: none;
  padding: 0;
  counter-reset: toc-counter;
}

.toc__list li {
  counter-increment: toc-counter;
  margin-bottom: var(--space-sm);
}

.toc__list li a {
  font-size: 0.9375rem;
  color: var(--brand-blue-light);
  text-decoration: none;
  display: flex;
  align-items: baseline;
  gap: var(--space-sm);
}

.toc__list li a::before {
  content: counter(toc-counter) ".";
  color: var(--text-muted);
  font-size: 0.8125rem;
  min-width: 20px;
}

.toc__list li a:hover {
  color: var(--brand-blue);
}

/* --- Content Sections --- */
.content-section {
  margin-bottom: var(--space-2xl);
}

.content-section h2 {
  margin-top: 0;
  padding-top: var(--space-xl);
}

.content-section h2:first-child {
  padding-top: 0;
}

.content-section ul,
.content-section ol {
  margin-bottom: var(--space-md);
}

.content-section li {
  margin-bottom: var(--space-sm);
}

.content-section li strong {
  color: var(--text-primary);
}

.content-h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.eeat-section {
  background: var(--bg-light);
  border-left: 4px solid var(--brand-blue);
  border-radius: var(--radius-md);
}

/* Steps / How-To */
.steps-list {
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
}

.steps-list li {
  counter-increment: step-counter;
  padding: var(--space-md) var(--space-md) var(--space-md) 48px;
  margin-bottom: var(--space-sm);
  position: relative;
  background: var(--bg-light);
  border-radius: var(--radius-md);
}

.steps-list li::before {
  content: counter(step-counter);
  position: absolute;
  left: 12px;
  top: var(--space-md);
  width: 28px;
  height: 28px;
  background: var(--brand-blue);
  color: #fff;
  font-weight: 600;
  font-size: 0.8125rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- Pros / Cons --- */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  margin: var(--space-lg) 0;
}

.pros-cons__col {
  padding: var(--space-lg);
  border-radius: var(--radius-md);
}

.pros-cons__col--pros {
  background: #F0FFF4;
  border-left: 4px solid var(--success);
}

.pros-cons__col--cons {
  background: #FFF5F5;
  border-left: 4px solid var(--danger);
}

.pros-cons__title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
  margin-top: 0;
}

.pros-cons__col ul {
  list-style: none;
  padding: 0;
}

.pros-cons__col li {
  padding: var(--space-xs) 0;
  font-size: 0.9375rem;
}

.pros-cons__col--pros li::before {
  content: "\2713 ";
  color: var(--success);
  font-weight: 700;
  margin-right: var(--space-sm);
}

.pros-cons__col--cons li::before {
  content: "\2717 ";
  color: var(--danger);
  font-weight: 700;
  margin-right: var(--space-sm);
}

/* --- Data Tables (generic) --- */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  margin: var(--space-lg) 0;
}

.data-table th {
  background: var(--bg-light);
  padding: var(--space-md);
  text-align: left;
  font-weight: 600;
  font-size: 0.8125rem;
  border-bottom: 2px solid var(--border);
  color: var(--text-primary);
}

.data-table td {
  padding: var(--space-md);
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.data-table tbody tr:hover {
  background: var(--bg-light);
}

/* --- FAQ Accordion --- */
.faq {
  margin: var(--space-xl) 0;
}

.faq__item {
  border-bottom: 1px solid var(--border);
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  gap: var(--space-md);
  min-height: 48px;
}

.faq__question:hover {
  color: var(--brand-blue);
}

.faq__question:focus-visible {
  outline: 2px solid var(--brand-blue-light);
  outline-offset: 2px;
}

.faq__icon {
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.2s ease;
  width: 24px;
  text-align: center;
}

.faq__item.is-open .faq__icon {
  transform: rotate(45deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq__item.is-open .faq__answer {
  max-height: 600px;
  padding-bottom: var(--space-md);
}

.faq__answer p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
  padding: var(--space-sm) var(--space-md);
  background: var(--bg-light);
  border-radius: var(--radius-md);
}

.faq__answer p a {
  color: var(--brand-blue-light);
}

/* --- Author Box / Reviewer Box --- */
.author-box {
  display: flex;
  gap: var(--space-lg);
  padding: var(--space-lg);
  background: var(--bg-light);
  border-radius: var(--radius-md);
  border-top: 3px solid var(--brand-blue);
  margin: var(--space-lg) 0;
}

.author-box__photo {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  object-fit: cover;
  flex-shrink: 0;
}

.author-box__photo--placeholder {
  background: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--text-muted);
}

.author-box__label {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: var(--space-xs);
}

.author-box__name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
}

.author-box__role {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-xs);
}

.author-box__bio {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.reviewer-box {
  padding: var(--space-md) var(--space-lg);
  background: var(--bg-light);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin: var(--space-md) 0;
}

.reviewer-box strong {
  color: var(--text-primary);
}

/* --- Methodology Block --- */
.methodology-block {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin: var(--space-lg) 0;
}

.methodology-block h3 {
  margin-top: 0;
}

.methodology-block__criteria {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin: var(--space-md) 0;
}

.methodology-block__item {
  display: flex;
  gap: var(--space-sm);
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.methodology-block__item strong {
  color: var(--text-primary);
}

/* --- Disclosure Box --- */
.disclosure-box {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin: var(--space-lg) 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.disclosure-box p {
  margin-bottom: var(--space-sm);
  max-width: 100%;
}

.disclosure-box p:last-child {
  margin-bottom: 0;
}

.disclosure-box strong {
  color: var(--text-primary);
}

/* --- Responsible Gambling Block --- */
.rg-block {
  background: #FFFBEB;
  border-left: 4px solid var(--warning);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: var(--space-lg);
  margin: var(--space-xl) 0;
}

.rg-block__header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.rg-block__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.rg-block p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
  max-width: 100%;
}

.rg-block ul {
  list-style: none;
  padding: 0;
  margin-bottom: var(--space-md);
}

.rg-block li {
  padding: var(--space-xs) 0;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.rg-block li strong {
  color: var(--text-primary);
}

.rg-block a {
  color: var(--brand-blue-light);
}

/* --- Trust Badges --- */
.trust-badges {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.75rem;
  color: var(--text-muted);
  background: var(--bg-light);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

/* --- Related Guides --- */
.related-guides {
  padding: var(--space-2xl) 0;
}

.related-guides__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.related-guide-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  display: block;
  text-decoration: none;
  color: inherit;
}

.related-guide-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
  text-decoration: none;
  color: inherit;
}

.related-guide-card__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.related-guide-card__desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
  line-height: 1.5;
}

.related-guide-card__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--brand-blue-light);
}

/* --- Final Verdict --- */
.verdict {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  margin: var(--space-xl) 0;
  border-top: 3px solid var(--brand-blue);
}

.verdict h2 {
  margin-top: 0;
  font-size: 1.5rem;
}

.verdict p {
  max-width: 100%;
}

/* --- E-E-A-T Block --- */
.eeat-block {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  margin: var(--space-xl) 0;
}

.eeat-block h2 {
  margin-top: 0;
}

.eeat-block h3 {
  margin-top: var(--space-lg);
}

.eeat-block h3:first-of-type {
  margin-top: 0;
}

.correction-policy,
.sources-block {
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border);
}

.sources-block ul {
  padding-left: var(--space-lg);
}

.sources-block li {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-xs);
}

/* --- Footer --- */
.footer {
  background: var(--bg-dark);
  color: #AEB6BF;
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer a {
  color: #AEB6BF;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer a:hover {
  color: #fff;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer__brand-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: #ECF0F1;
  font-weight: 700;
  font-size: 1.125rem;
  text-decoration: none;
}

.footer__brand-logo img {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
}

.footer__brand-desc {
  font-size: 0.875rem;
  line-height: 1.6;
  color: #85929E;
}

.footer__payments {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.footer__payments img {
  height: 24px;
  width: auto;
  opacity: 0.6;
}

.footer__col h4 {
  color: #ECF0F1;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-md);
  margin-top: 0;
}

.footer__col ul {
  list-style: none;
  padding: 0;
}

.footer__col li {
  margin-bottom: var(--space-sm);
}

.footer__col a {
  font-size: 0.875rem;
}

.footer__bottom {
  border-top: 1px solid #34495E;
  padding-top: var(--space-lg);
  margin-top: var(--space-lg);
}

.footer__disclaimers {
  font-size: 0.75rem;
  color: #85929E;
  line-height: 1.6;
}

.footer__disclaimers p {
  margin-bottom: var(--space-sm);
  max-width: 100%;
}

.footer__copyright {
  font-size: 0.75rem;
  color: #566573;
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid #34495E;
}

/* --- Callout Box --- */
.callout {
  background: #EBF5FB;
  border-left: 4px solid var(--info);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: var(--space-lg);
  margin: var(--space-lg) 0;
  font-size: 0.9375rem;
}

.callout--warning {
  background: #FEF9E7;
  border-left-color: var(--warning);
}

.callout--danger {
  background: #FDF2F2;
  border-left-color: var(--danger);
}

.callout p {
  margin-bottom: var(--space-sm);
  max-width: 100%;
}

.callout p:last-child {
  margin-bottom: 0;
}

/* --- Direct Answer --- */
.direct-answer {
  background: #EBF5FB;
  border: 1px solid #AED6F1;
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin: var(--space-lg) 0;
}

.direct-answer p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-primary);
  max-width: 100%;
}

/* ============================================================
   MOBILE RESPONSIVE (< 768px)
   ============================================================ */
@media (max-width: 767px) {
  /* Typography */
  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  /* Container */
  .container {
    padding: 0 var(--space-md);
  }

  /* Section spacing */
  .section {
    padding: var(--space-2xl) 0;
  }

  /* Editorial strip */
  .editorial-strip {
    font-size: 0.6875rem;
    height: auto;
    padding: var(--space-xs) 0;
  }

  .editorial-strip .container {
    flex-direction: column;
    gap: 2px;
    text-align: center;
  }

  /* Header */
  .header {
    height: var(--header-height-mobile);
  }

  .header__nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-nav {
    top: var(--header-height-mobile);
  }

  /* Hero */
  .hero {
    min-height: 300px;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .hero__subtitle {
    font-size: 1rem;
  }

  .hero--inner {
    min-height: 200px;
  }

  /* Casino Cards — stack on mobile */
  .casino-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: var(--space-md);
  }

  .casino-card__logo {
    margin: 0 auto;
    width: 64px;
    height: 48px;
  }

  .casino-card__details {
    justify-content: center;
  }

  .casino-card__cta {
    width: 100%;
  }

  .casino-card .btn {
    width: 100%;
    height: 52px;
  }

  .casino-card__terms {
    max-width: 100%;
  }

  /* Featured cards — stack */
  .featured-casinos__grid {
    grid-template-columns: 1fr;
  }

  .featured-card {
    padding: var(--space-md);
  }

  /* Comparison table — cards on mobile */
  .comparison-table--mobile-hide {
    display: none;
  }

  .mobile-casino-cards {
    display: block;
  }

  /* Quick answers — stack */
  .quick-answers {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  /* Related guides — stack */
  .related-guides__grid {
    grid-template-columns: 1fr;
  }

  /* Pros/cons — stack */
  .pros-cons {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  /* Methodology criteria — stack */
  .methodology-block__criteria {
    grid-template-columns: 1fr;
  }

  /* Author box — stack on very small */
  .author-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  /* Buttons */
  .btn {
    width: 100%;
    min-height: 52px;
  }

  /* Data tables */
  .data-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Verdict */
  .verdict {
    padding: var(--space-lg);
  }
}

/* Tablet adjustments */
@media (min-width: 768px) and (max-width: 1024px) {
  .featured-casinos__grid {
    grid-template-columns: 1fr 1fr;
  }

  .quick-answers {
    grid-template-columns: 1fr 1fr;
  }

  .related-guides__grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .casino-card {
    grid-template-columns: 60px 1fr auto;
  }

  .casino-card__license,
  .casino-card__rating {
    grid-column: 2;
  }

  .casino-card__cta {
    grid-column: 1 / -1;
  }
}

/* Mobile cards that replace comparison table */
.mobile-casino-cards {
  display: none;
}

@media (max-width: 767px) {
  .mobile-casino-cards {
    display: block;
  }
}

@media (min-width: 768px) {
  .mobile-casino-cards {
    display: none;
  }
}

/* ============================================================
   PRINT STYLES
   ============================================================ */
@media print {
  .header,
  .editorial-strip,
  .hamburger,
  .mobile-nav,
  .btn,
  .footer,
  .payment-signals,
  .skip-link {
    display: none !important;
  }

  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }

  a {
    color: #000;
    text-decoration: underline;
  }

  .hero {
    background: #f5f5f5 !important;
    min-height: auto;
    padding: 20pt 0;
  }

  .hero::before {
    display: none;
  }

  .hero h1,
  .hero__subtitle {
    color: #000;
  }

  .casino-card,
  .featured-card {
    break-inside: avoid;
    border: 1pt solid #ccc;
  }

  .comparison-table {
    min-width: auto;
  }
}

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

/* ============================================================
   FOCUS STYLES (WCAG AA)
   ============================================================ */
:focus-visible {
  outline: 2px solid var(--brand-blue-light);
  outline-offset: 2px;
}

/* Remove focus ring on mouse click */
:focus:not(:focus-visible) {
  outline: none;
}

/* --- Utility classes --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-center {
  text-align: center;
}

.mb-0 { margin-bottom: 0; }
.mt-0 { margin-top: 0; }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
