/* ======================================================
   AndersCasinos.vip, Nordic Teal & Amber palette (v1)
   Modern nordic minimal theme with electric accents
   ====================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--blue-hot); text-decoration: underline; text-underline-offset: 3px; }

:root {
  --paper: #FAFAF7;
  --paper-2: #F1EEE6;
  --paper-3: #E4DFD1;

  --blue: #0E7C7B;
  --blue-hot: #0A5F5E;
  --blue-deep: #083F3E;
  --blue-tint: #E6F4F3;
  --blue-tint-2: #B7DFDE;

  --yellow: #D4A045;
  --yellow-hot: #B08535;
  --yellow-soft: #F5DFB0;
  --yellow-tint: #FAEED4;

  --ink: #111827;
  --ink-2: #37415B;
  --ink-3: #6B7280;
  --ink-4: #9CA3AF;

  --line: #E5E1D5;
  --line-2: #C9C3B0;
  --line-blue: rgba(14, 124, 123, 0.14);

  --max-w: 1160px;
  --radius: 10px;
  --radius-lg: 16px;

  --shadow-1: 0 1px 2px rgba(17, 24, 39, .04), 0 1px 4px rgba(17, 24, 39, .04);
  --shadow-2: 0 4px 14px rgba(8, 63, 62, .08);
  --shadow-yellow: 0 4px 14px rgba(212, 160, 69, .28);

  --font-display: 'Inter', 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ======================================================
   Typography
   ====================================================== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--blue-deep);
  font-weight: 700;
  letter-spacing: -.015em;
  line-height: 1.22;
  margin: 1.4em 0 .45em;
}
h1 { font-size: clamp(2.1rem, 4.4vw, 3.15rem); font-weight: 800; letter-spacing: -.025em; }
h2 { font-size: clamp(1.55rem, 2.6vw, 2.05rem); }
h3 { font-size: clamp(1.15rem, 1.4vw, 1.28rem); }
h4 { font-size: 1.05rem; }

h2 { position: relative; padding-top: .25em; }
h2::before {
  content: "";
  display: block;
  width: 44px;
  height: 4px;
  background: var(--yellow);
  margin-bottom: .5em;
  border-radius: 2px;
}

p { margin: 0 0 1.05em; }
ul, ol { padding-left: 1.4em; margin: 0 0 1.1em; }
li { margin-bottom: .35em; }
strong { color: var(--blue-deep); font-weight: 700; }

.flag-inline {
  display: inline-block;
  height: .82em;
  width: auto;
  vertical-align: -.08em;
  margin: 0 .18em 0 .12em;
  border: 1px solid rgba(30, 27, 75, .18);
  border-radius: 1.5px;
}

/* ======================================================
   Layout
   ====================================================== */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 22px;
}
.section, section.container, section.content, .content > .container {
  padding-top: 34px;
  padding-bottom: 34px;
}
@media (max-width: 720px) {
  .section, section.container, section.content, .content > .container { padding-top: 22px; padding-bottom: 22px; }
}

/* ======================================================
   Header, thin, editorial, sticky
   ====================================================== */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 60;
  box-shadow: var(--shadow-1);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 22px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo img { height: 42px; width: auto; max-width: 280px; display: block; }
.logo-text { display: none; }

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: wrap;
}
.nav a {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  padding: 8px 11px;
  border-radius: var(--radius);
  transition: background .15s ease, color .15s ease;
}
.nav a:hover {
  color: var(--blue-hot);
  background: var(--blue-tint);
  text-decoration: none;
}
.nav a.active { color: var(--blue-deep); background: var(--yellow-tint); }

.menu-toggle {
  display: none;
  background: transparent;
  border: 1.5px solid var(--line-2);
  border-radius: var(--radius);
  color: var(--blue-deep);
  font-size: 22px;
  padding: 4px 12px;
  cursor: pointer;
}

@media (max-width: 900px) {
  .nav { display: none; }
  .menu-toggle { display: inline-block; }
  .nav.is-open, .nav.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--paper);
    border-bottom: 3px solid var(--yellow);
    padding: 8px 12px 14px;
    box-shadow: var(--shadow-2);
    gap: 0;
  }
  .nav.is-open a, .nav.open a {
    padding: 12px 14px;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
  }
  .nav.is-open a:last-child, .nav.open a:last-child { border-bottom: none; }
}

/* ======================================================
   Hero, flat editorial, flag stripe
   ====================================================== */
.page-hero {
  position: relative;
  background: var(--paper);
  padding: 48px 0 34px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.page-hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg,
    var(--blue) 0 33%,
    var(--yellow) 33% 66%,
    var(--blue) 66%);
}
.page-hero .blob { display: none; }
.page-hero .container { position: relative; z-index: 2; }

.breadcrumbs {
  font-size: 13px;
  color: var(--ink-3);
  margin-bottom: 14px;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.breadcrumbs a { color: var(--ink-2); text-decoration: none; }
.breadcrumbs a:hover { color: var(--blue-hot); text-decoration: underline; }
.breadcrumbs .sep { color: var(--line-2); }

.page-hero h1 { margin: 0 0 .35em; max-width: 900px; }
.page-hero .lead {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--ink-2);
  max-width: 720px;
  line-height: 1.55;
  font-weight: 400;
  margin-bottom: 0;
}

/* Mobile, clamp intro paragraph behind Läs mer */
.lead-more-btn {
  display: none;
  background: transparent;
  color: var(--blue);
  border: none;
  padding: 6px 0 0;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 720px) {
  .page-hero { padding: 30px 0 20px; }
  .page-hero h1 { font-size: 1.65rem; margin-bottom: .3em; }
  .page-hero .lead.lead-clamp {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .page-hero .lead.lead-open {
    display: block;
    -webkit-line-clamp: unset;
  }
  .lead-more-btn { display: inline-block; }
}

body.home .page-hero { padding: 56px 0 42px; background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%); }
body.home .page-hero h1 {
  font-size: clamp(2.2rem, 4.8vw, 3.4rem);
  font-weight: 800;
}
@media (max-width: 720px) {
  body.home .page-hero { padding: 26px 0 18px; }
}

/* ======================================================
   Buttons
   ====================================================== */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  padding: 12px 22px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  letter-spacing: .01em;
  transition: transform .15s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.btn-primary {
  background: var(--yellow);
  color: var(--blue-deep);
  border-color: var(--yellow);
  box-shadow: var(--shadow-yellow);
}
.btn-primary:hover {
  background: var(--yellow-hot);
  border-color: var(--yellow-hot);
  color: var(--blue-deep);
  transform: translateY(-1px);
  text-decoration: none;
}
.btn-secondary {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.btn-secondary:hover { background: var(--blue-hot); color: #fff; text-decoration: none; }
.btn-ghost {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-ghost:hover { background: var(--blue-tint); color: var(--blue-deep); text-decoration: none; }
.btn-block { display: block; width: 100%; }

/* ======================================================
   List-heading (Hitta rätt casino direkt)
   ====================================================== */
.list-heading {
  text-align: center;
  margin-top: 28px;
  margin-bottom: 18px;
}
.list-heading::before { margin-left: auto; margin-right: auto; }
@media (max-width: 720px) {
  .list-heading { margin-top: 14px; margin-bottom: 10px; }
}

/* ======================================================
   Featured cards, casino tracking cards
   ====================================================== */
.featured-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 22px;
}
@media (max-width: 900px) {
  .featured-cards { grid-template-columns: 1fr; gap: 14px; margin-top: 8px; }
}
.feat-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px 20px 20px;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  box-shadow: var(--shadow-1);
}
.feat-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: var(--blue);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.feat-card:hover {
  transform: translateY(-3px);
  border-color: var(--blue-tint-2);
  box-shadow: var(--shadow-2);
}
.feat-card.is-hot::before { background: var(--yellow); }

/* Fire badge, small circle, tucked at top-right INSIDE card corner */
.feat-card .feat-flame {
  position: absolute;
  top: 8px;
  right: 10px;
  background: var(--yellow);
  color: var(--blue-deep);
  font-size: 14px;
  font-weight: 800;
  width: 26px;
  height: 26px;
  padding: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(212, 160, 69, .5);
  line-height: 1;
  z-index: 2;
}

/* Thumb, NO frame, illustration fully visible */
.feat-card .feat-thumb {
  margin: 6px auto 12px;
  background: transparent;
  border: none;
  border-radius: 0;
  aspect-ratio: auto;
  padding: 0;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 130px;
}
.feat-card .feat-thumb img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 160px;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.feat-card h3 {
  font-family: var(--font-display);
  font-size: 1.18rem;
  margin: 0 0 10px;
  color: var(--blue-deep);
  line-height: 1.3;
}
.feat-card .feat-list {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  flex: 1;
}
.feat-card .feat-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 4px 0;
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.5;
}
.feat-card .feat-list .ico { font-size: 16px; line-height: 1.2; flex: 0 0 auto; }
.feat-card .btn-primary { margin-top: auto; }

/* ======================================================
   Trust stats
   ====================================================== */
.trust-stats-wrap { margin: 0 auto 12px; padding: 0 20px; }
.trust-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 900px;
  margin: 8px auto 0;
  background: var(--blue-deep);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-2);
}
.trust-stats .ts-tile {
  text-align: center;
  padding: 18px 12px;
  border-right: 1px solid rgba(255, 255, 255, .08);
  color: #fff;
}
.trust-stats .ts-tile:last-child { border-right: none; }
.trust-stats .ts-num {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 1.95rem);
  font-weight: 800;
  color: var(--yellow);
  line-height: 1;
  margin-bottom: 4px;
}
.trust-stats .ts-lab {
  font-size: 12px;
  color: rgba(255, 255, 255, .82);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 600;
}
@media (max-width: 900px) {
  .trust-stats { grid-template-columns: 1fr 1fr; }
  .trust-stats .ts-tile { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); }
  .trust-stats .ts-tile:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.08); }
  .trust-stats .ts-tile:nth-child(n+3) { border-bottom: none; }
}
@media (max-width: 460px) {
  .trust-stats .ts-num { font-size: 1.3rem; }
  .trust-stats .ts-lab { font-size: 11px; }
  .trust-stats .ts-tile { padding: 14px 8px; }
}

/* ======================================================
   Content flow, reduce top gap after trust-stats
   ====================================================== */
.content { padding-top: 12px; }
.content .container > section { margin-bottom: 28px; }
.content .container > section:last-child { margin-bottom: 0; }
.content h2 { margin-top: 1em; }

/* ======================================================
   TOC, sober editorial box with corner toggle
   ====================================================== */
.toc {
  position: relative;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-left: 4px solid var(--yellow);
  border-radius: var(--radius-lg);
  padding: 18px 26px 16px;
  margin: 14px 0 20px;
}
.toc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.toc-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--blue-deep);
  text-transform: uppercase;
  letter-spacing: .05em;
  font-weight: 700;
  padding: 0;
}
.toc-title::before { display: none; }
.toc-toggle {
  position: static;
  background: transparent;
  border: 1.5px solid var(--line-2);
  border-radius: 4px;
  width: 32px;
  height: 32px;
  padding: 0;
  cursor: pointer;
  font-size: 16px;
  color: var(--blue-deep);
  line-height: 1;
  transition: transform .2s ease, background .15s ease;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.toc-toggle:hover { background: var(--yellow-tint); }
.toc.is-collapsed ol { display: none; }
.toc.is-collapsed { padding-bottom: 12px; }
.toc ol {
  margin: 0;
  padding-left: 20px;
  columns: 2;
  column-gap: 34px;
}
.toc li { margin: 4px 0; font-size: 14.5px; break-inside: avoid; }
.toc a { color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--blue-hot); text-decoration: underline; }
@media (max-width: 720px) { .toc ol { columns: 1; } }

/* ======================================================
   Tables
   ====================================================== */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  margin: 18px 0;
  background: #fff;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}
thead th {
  background: var(--blue-deep);
  color: #fff;
  padding: 12px 14px;
  text-align: left;
  font-family: var(--font-body);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 700;
  white-space: nowrap;
}
tbody td {
  padding: 11px 14px;
  border-top: 1px solid var(--line);
  color: var(--ink-2);
  vertical-align: top;
}
tbody tr:nth-child(even) td { background: var(--paper); }
tbody tr:hover td { background: var(--yellow-tint); }

/* ======================================================
   Feature-cards (6-tile info grid), REDESIGNED sober
   ====================================================== */
.feature-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 18px 0 22px;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px 18px 18px;
  transition: border-color .18s ease, transform .18s ease;
  box-shadow: var(--shadow-1);
  position: relative;
}
.feature-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 40px;
  height: 3px;
  background: var(--yellow);
  border-radius: 0 var(--radius) 0 0;
}
.feature-card:hover {
  border-color: var(--blue-tint-2);
  transform: translateY(-2px);
}
.feature-card .ico {
  display: inline-block;
  background: transparent;
  color: var(--blue-hot);
  padding: 0;
  width: auto;
  height: auto;
  font-size: 26px;
  margin-bottom: 6px;
  line-height: 1;
}
.feature-card h3 {
  margin: 0 0 6px;
  font-size: 1.02rem;
  color: var(--blue-deep);
}
.feature-card p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.55;
}
@media (max-width: 900px) { .feature-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .feature-cards { grid-template-columns: 1fr; } }

/* ======================================================
   Step grid
   ====================================================== */
.step-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 18px 0 24px;
}
.step-box {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 20px 18px 58px;
  box-shadow: var(--shadow-1);
}
.step-box .step-num {
  position: absolute;
  top: 20px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--blue-deep);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  line-height: 1;
}
.step-box h3 { margin: 0 0 6px; font-size: 1.04rem; color: var(--blue-deep); }
.step-box p { margin: 0; font-size: 14px; color: var(--ink-2); }
@media (max-width: 720px) { .step-grid { grid-template-columns: 1fr; } }

/* ======================================================
   Snabbfakta callout
   ====================================================== */
.snabbfakta {
  background: var(--blue-deep);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  margin: 22px 0;
  border-left: 6px solid var(--yellow);
}
.snabbfakta h3 { color: #fff; margin: 0 0 10px; font-size: 1.12rem; }
.snabbfakta ul { list-style: none; padding: 0; margin: 0; }
.snabbfakta li {
  display: flex;
  gap: 12px;
  padding: 5px 0;
  color: rgba(255, 255, 255, .92);
  font-size: 14.5px;
}
.snabbfakta li::before { content: "✓"; color: var(--yellow); font-weight: 700; }

/* ======================================================
   Pros / cons
   ====================================================== */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 18px 0 22px;
}
.pros-cons .pros, .pros-cons .cons {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  padding: 18px 20px;
}
.pros-cons .pros { border-top: 4px solid #1F9E4A; }
.pros-cons .cons { border-top: 4px solid #C0392B; }
.pros-cons h3 { margin: 0 0 8px; font-size: 1.03rem; color: var(--blue-deep); }
.pros-cons ul { list-style: none; padding: 0; margin: 0; }
.pros-cons li { padding: 4px 0 4px 22px; position: relative; color: var(--ink-2); font-size: 14px; }
.pros-cons .pros li::before { content: "+"; position: absolute; left: 0; color: #1F9E4A; font-weight: 800; }
.pros-cons .cons li::before { content: "−"; position: absolute; left: 0; color: #C0392B; font-weight: 800; }
@media (max-width: 720px) { .pros-cons { grid-template-columns: 1fr; } }

/* ======================================================
   FAQ (details/summary)
   ====================================================== */
.faq { margin: 18px 0 24px; }
details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color .18s ease;
}
details[open] { border-color: var(--blue-tint-2); box-shadow: var(--shadow-1); }
summary {
  padding: 14px 20px;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--blue-deep);
  font-weight: 700;
  list-style: none;
  position: relative;
  padding-right: 46px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--yellow-hot);
  font-weight: 800;
  line-height: 1;
  transition: transform .2s ease;
}
details[open] summary::after { content: "−"; }
details > p, details > div {
  padding: 0 20px 16px;
  color: var(--ink-2);
  font-size: 14.5px;
}

/* ======================================================
   Author card, COMPACT (small photo + tight padding)
   ====================================================== */
.author-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 12px 14px 12px;
  margin: 20px 0;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  align-items: center;
  max-width: 100%;
}
.author-photo,
.author-card img.author-photo,
.author-card img.author-avatar,
.author-card > img {
  width: 52px !important;
  height: 52px !important;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--yellow);
  box-shadow: var(--shadow-1);
  flex: 0 0 auto;
  aspect-ratio: 1 / 1;
  max-width: 52px;
  align-self: start;
  margin-top: 2px;
}
.author-info { min-width: 0; }
.author-name {
  margin: 0 0 2px;
  font-family: var(--font-display);
  font-size: .98rem;
  color: var(--blue-deep);
  font-weight: 800;
  line-height: 1.2;
}
.author-name::before { display: none; }
.author-role {
  font-size: 10.5px;
  color: var(--ink-3);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-weight: 600;
}
.author-bio { font-size: 13px; color: var(--ink-2); margin: 0 0 8px; line-height: 1.5; }
.author-email-btn {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  padding: 5px 11px;
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}
.author-email-btn:hover { background: var(--blue-hot); color: #fff; text-decoration: none; }
@media (max-width: 600px) {
  .author-card {
    grid-template-columns: 44px 1fr;
    gap: 12px;
    padding: 10px 12px 10px;
    margin: 16px 0;
  }
  .author-photo, .author-card img.author-photo, .author-card img.author-avatar, .author-card > img {
    width: 44px !important; height: 44px !important; max-width: 44px;
  }
  .author-name { font-size: .92rem; }
  .author-role { font-size: 10px; margin-bottom: 4px; }
  .author-bio { font-size: 12.5px; margin-bottom: 6px; }
  .author-email-btn { font-size: 11.5px; padding: 4px 10px; }
}

/* ======================================================
   Footer, TIGHT, columns bunched together
   ====================================================== */
.site-footer {
  background: var(--blue-deep);
  color: rgba(255, 255, 255, .85);
  padding: 28px 0 16px;
  margin-top: 42px;
  position: relative;
  border-top: 4px solid var(--yellow);
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 4px; left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg,
    var(--yellow) 0 33%,
    var(--blue) 33% 66%,
    var(--yellow) 66%);
  opacity: .5;
}
.footer-inner {
  max-width: 940px;
  margin: 0 auto;
  padding: 0 22px;
  display: grid;
  grid-template-columns: 280px auto auto auto;
  gap: 28px;
  justify-content: center;
  align-items: start;
}
.site-footer h4 {
  font-family: var(--font-display);
  font-size: .82rem;
  color: #fff;
  margin: 0 0 7px;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-weight: 700;
  white-space: nowrap;
}
.site-footer p { font-size: 12px; color: rgba(255,255,255,.7); line-height: 1.5; margin-bottom: 8px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 1.5px 0; font-size: 12px; white-space: nowrap; }
.site-footer a { color: rgba(255, 255, 255, .82); }
.site-footer a:hover { color: var(--yellow); text-decoration: none; }
.footer-logo { height: 26px; margin-bottom: 8px; }
.footer-bottom {
  max-width: 940px;
  margin: 18px auto 0;
  padding: 12px 22px 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 11px;
  color: rgba(255, 255, 255, .55);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 20px; max-width: 480px; }
  .site-footer li, .site-footer p { white-space: normal; }
}
@media (max-width: 500px) {
  .footer-inner { grid-template-columns: 1fr; gap: 14px; text-align: left; }
}

/* ======================================================
   Reveal animation
   ====================================================== */
.reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .5s ease, transform .5s ease;
  }
  .reveal.is-visible { opacity: 1; transform: none; }
}

/* ======================================================
   Callout / info-box
   ====================================================== */
.callout, .info-box, .note {
  background: var(--yellow-tint);
  border: 1px solid var(--yellow-hot);
  border-left: 4px solid var(--yellow-hot);
  border-radius: var(--radius);
  padding: 14px 20px;
  margin: 16px 0;
  color: var(--blue-deep);
}
.callout h3, .info-box h3, .note h3 { margin-top: 0; color: var(--blue-deep); }
.callout h3::before, .info-box h3::before, .note h3::before { display: none; }

/* ======================================================
   Win ticker
   ====================================================== */
.win-ticker, #win-ticker {
  background: var(--blue-deep);
  color: #fff;
  padding: 10px 0;
  font-size: 13.5px;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* ======================================================
   Utilities
   ====================================================== */
.mt-0 { margin-top: 0 !important; }
.center { text-align: center; }
main { min-height: 60vh; }

/* ======================================================
   Print
   ====================================================== */
@media print {
  .site-header, .site-footer, .featured-cards, .btn { display: none; }
  body { background: #fff; color: #000; font-size: 12pt; }
  a { color: #000; text-decoration: underline; }
}

/* ======================================================
   PATCH v3, real HTML class names
   ====================================================== */

/* --- Author box (not .author-card) --- */
.author-box {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  margin: 26px 0;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  align-items: start;
}
.author-box .author-avatar {
  width: 56px !important;
  height: 56px !important;
  max-width: 56px !important;
  border-radius: 50% !important;
  object-fit: cover;
  border: 2px solid var(--yellow);
  box-shadow: var(--shadow-1);
  aspect-ratio: 1 / 1;
  display: block;
  margin: 0;
}
.author-box .author-info { min-width: 0; }
.author-box .author-eyebrow {
  display: block;
  font-size: 10.5px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 700;
  margin-bottom: 2px;
}
.author-box .author-name-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 3px;
}
.author-box h3.author-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--blue-deep);
  line-height: 1.2;
}
.author-box h3.author-name::before { display: none; }
.author-box .author-role {
  display: block;
  font-size: 11px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: .04em;
  font-weight: 600;
  margin-bottom: 6px;
}
.author-box .author-email-btn {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  padding: 5px 11px;
  border-radius: var(--radius);
  font-size: 11.5px;
  font-weight: 600;
  text-decoration: none;
}
.author-box .author-email-btn:hover { background: var(--blue-hot); color: #fff; text-decoration: none; }
.author-box .author-bio {
  font-size: 13px;
  color: var(--ink-2);
  margin: 0;
  line-height: 1.55;
}
@media (max-width: 600px) {
  .author-box {
    grid-template-columns: 44px 1fr;
    gap: 12px;
    padding: 12px 14px;
    margin: 20px 0;
  }
  .author-box .author-avatar {
    width: 44px !important; height: 44px !important; max-width: 44px !important;
  }
  .author-box h3.author-name { font-size: .95rem; }
  .author-box .author-bio { font-size: 12.5px; }
  .author-box .author-name-row { gap: 8px; }
  .author-box .author-email-btn { font-size: 11px; padding: 4px 10px; }
}

/* --- Footer grid (real class) --- */
.site-footer .footer-grid {
  max-width: 940px;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
.site-footer .footer-grid > div { min-width: 0; }
.site-footer .footer-grid h3 {
  font-family: var(--font-display);
  font-size: .78rem !important;
  color: #fff;
  margin: 0 0 8px !important;
  padding: 0 !important;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 700;
  line-height: 1.2;
}
.site-footer .footer-grid h3::before { display: none; }
.site-footer .footer-grid p {
  font-size: 12px;
  color: rgba(255,255,255,.7);
  line-height: 1.5;
  margin: 8px 0 8px;
}
.site-footer .footer-grid ul { list-style: none; padding: 0; margin: 0; }
.site-footer .footer-grid li { padding: 2px 0; font-size: 12px; }
.site-footer .footer-grid a { color: rgba(255,255,255,.82); }
.site-footer .footer-grid a:hover { color: var(--yellow); text-decoration: none; }
.site-footer .footer-grid .logo img { height: 34px; width: auto; max-width: 240px; }
.site-footer .responsible-badge {
  display: inline-block;
  background: rgba(254, 204, 0, .12);
  color: var(--yellow);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  border: 1px solid rgba(254, 204, 0, .35);
}
@media (max-width: 900px) {
  .site-footer .footer-grid { grid-template-columns: 1fr 1fr; gap: 22px; max-width: 500px; }
}
@media (max-width: 500px) {
  .site-footer .footer-grid { grid-template-columns: 1fr; gap: 18px; }
}

/* --- Related guides linkbar (Fler svenska guider) --- */
.related-title {
  margin: 30px 0 14px;
  font-family: var(--font-display);
  color: var(--blue-deep);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 30px;
}
.related-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 12px 16px;
  text-decoration: none;
  color: var(--blue-deep);
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
  box-shadow: var(--shadow-1);
}
.related-card:hover {
  border-color: var(--yellow);
  transform: translateY(-2px);
  text-decoration: none;
  box-shadow: var(--shadow-2);
}
.related-card .r-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 700;
}
.related-card .r-tag::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 10px;
  background: linear-gradient(to bottom, #0E7C7B 0 40%, #D4A045 40% 60%, #0E7C7B 60%);
  position: relative;
  border-radius: 1px;
  vertical-align: middle;
}
.related-card .r-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--blue-deep);
  line-height: 1.3;
}
@media (max-width: 900px) { .related-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .related-grid { grid-template-columns: 1fr; } }

/* --- Feature-cards (6-tile) polish --- */
.feature-card {
  padding: 22px 20px 18px;
  border-radius: 8px;
}
.feature-card::before {
  width: 100%;
  height: 3px;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(90deg, var(--yellow) 0 40%, transparent 40%);
}
.feature-card .ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--yellow-tint);
  color: var(--blue-hot);
  border-radius: 8px;
  font-size: 22px;
  margin-bottom: 10px;
  border: 1px solid rgba(254, 204, 0, .45);
}
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.08rem;
  margin: 0 0 6px;
  color: var(--blue-deep);
}
.feature-card p {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.55;
  margin: 0;
}

/* --- Logo sizing tweaks: wider ratio, fit full domain --- */
.site-header .logo img {
  height: 32px !important;
  max-width: 240px !important;
  width: auto;
}
.site-footer .footer-grid .logo img {
  height: 30px !important;
  max-width: 220px !important;
  width: auto;
}

/* --- Author photo, slightly bigger --- */
.author-box { grid-template-columns: 72px 1fr !important; gap: 16px !important; }
.author-box .author-avatar {
  width: 72px !important;
  height: 72px !important;
  max-width: 72px !important;
}
@media (max-width: 600px) {
  .author-box { grid-template-columns: 56px 1fr !important; gap: 14px !important; }
  .author-box .author-avatar {
    width: 56px !important; height: 56px !important; max-width: 56px !important;
  }
}

/* --- Author photo, bigger --- */
.author-box { grid-template-columns: 100px 1fr !important; gap: 20px !important; }
.author-box .author-avatar {
  width: 100px !important;
  height: 100px !important;
  max-width: 100px !important;
  border-width: 3px !important;
}
@media (max-width: 600px) {
  .author-box { grid-template-columns: 76px 1fr !important; gap: 14px !important; }
  .author-box .author-avatar {
    width: 76px !important; height: 76px !important; max-width: 76px !important;
    border-width: 2px !important;
  }
}

/* --- Global padding trim v2 --- */
.section, section.container, section.content, .content > .container {
  padding-top: 22px !important;
  padding-bottom: 22px !important;
}
.content { padding-top: 6px !important; }
.content .container > section { margin-bottom: 18px !important; }

.page-hero { padding: 30px 0 22px !important; }
body.home .page-hero { padding: 34px 0 24px !important; }
@media (max-width: 720px) {
  .page-hero, body.home .page-hero { padding: 20px 0 14px !important; }
}

.header-inner { padding: 10px 22px !important; }

.list-heading { margin-top: 14px !important; margin-bottom: 12px !important; }
.featured-cards { gap: 16px !important; margin-bottom: 14px !important; }
.feat-card { padding: 16px 16px 16px !important; }
.feat-card .feat-thumb { min-height: 100px !important; margin: 4px auto 8px !important; }
.feat-card .feat-thumb img { max-height: 130px !important; }
.feat-card h3 { font-size: 1.06rem !important; margin: 0 0 6px !important; }
.feat-card .feat-list { margin: 0 0 10px !important; }
.feat-card .feat-list li { padding: 2px 0 !important; font-size: 14px !important; }
.feat-card .btn { padding: 9px 18px !important; font-size: 14px !important; }

.trust-stats-wrap { margin: 0 auto 8px !important; padding: 0 20px !important; }
.trust-stats .ts-tile { padding: 12px 10px !important; }

.toc { padding: 12px 18px !important; margin: 6px 0 14px !important; }
.toc-header { margin-bottom: 4px !important; }
.toc ol { padding-left: 18px !important; }
.toc li { margin: 2px 0 !important; }

.feature-cards { gap: 12px !important; margin: 14px 0 18px !important; }
.feature-card { padding: 14px 16px 12px !important; }
.feature-card .ico { width: 38px !important; height: 38px !important; font-size: 18px !important; margin-bottom: 8px !important; }

.step-grid { gap: 12px !important; margin: 14px 0 18px !important; }
.step-box { padding: 16px 16px 14px 52px !important; }
.step-box .step-num { top: 14px !important; left: 14px !important; width: 26px !important; height: 26px !important; font-size: 13px !important; }

.snabbfakta { padding: 16px 20px !important; margin: 16px 0 !important; }

.pros-cons { gap: 12px !important; margin: 14px 0 18px !important; }
.pros-cons .pros, .pros-cons .cons { padding: 14px 16px !important; }

details { margin-bottom: 8px !important; }
summary { padding: 12px 18px !important; padding-right: 42px !important; }
details > p, details > div { padding: 0 18px 12px !important; }

.author-box { padding: 12px 14px !important; margin: 18px 0 !important; }
.author-box .author-bio { font-size: 13px !important; line-height: 1.5 !important; }

.table-wrap { margin: 14px 0 !important; }
thead th { padding: 10px 12px !important; }
tbody td { padding: 9px 12px !important; }

.related-title { margin: 18px 0 10px !important; }
.related-grid { gap: 10px !important; margin-bottom: 18px !important; }
.related-card { padding: 10px 14px !important; }

.site-footer { padding: 22px 0 12px !important; margin-top: 30px !important; }
.footer-bottom { margin: 14px auto 0 !important; padding: 10px 22px 0 !important; }

h1, h2, h3, h4 { margin: 1em 0 .35em !important; }
h2 { padding-top: .1em !important; }
h2::before { margin-bottom: .35em !important; }
p { margin: 0 0 .85em !important; }

/* ======================================================
   v3 Nordic redesign, style overrides
   ====================================================== */

/* H2 style, vertical accent bar on left instead of top-dash */
h2::before {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  background: var(--yellow);
  margin-bottom: .55em;
  border-radius: 2px;
  opacity: 0.9;
}
.list-heading::before { margin-left: auto; margin-right: auto; }

/* Hero, soft pine gradient card, no flag stripe */
.page-hero {
  background: linear-gradient(135deg, var(--paper) 0%, var(--paper-2) 55%, var(--paper) 100%);
  border-bottom: 1px solid var(--line);
  padding: 42px 0 30px;
}
.page-hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--yellow);
  opacity: 0.75;
}
body.home .page-hero {
  background:
    radial-gradient(1000px 380px at 85% -10%, rgba(212, 160, 69, .13), transparent 60%),
    radial-gradient(700px 300px at 8% 0%, rgba(14, 124, 123, .08), transparent 55%),
    linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
  padding: 62px 0 46px;
}
body.home .page-hero::before {
  background: linear-gradient(90deg, var(--blue), var(--yellow) 55%, var(--blue));
  height: 3px;
  opacity: 1;
}

/* Header, pill nav, slightly taller, with subtle bottom accent */
.site-header {
  background: rgba(251, 250, 246, .96);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(14, 124, 123, .04);
}
.header-inner { padding: 14px 22px; }
.logo img { height: 42px; max-width: 280px; width: auto; }

.nav { gap: 4px; }
.nav a {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  padding: 8px 13px;
  border-radius: 999px;
  transition: background .16s ease, color .16s ease;
  border: 1px solid transparent;
}
.nav a:hover {
  background: var(--yellow-tint);
  color: var(--blue-deep);
  text-decoration: none;
  border-color: var(--yellow-soft);
}
.nav a.active {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

/* Buttons: primary uses copper amber */
.btn { border-radius: 999px; padding: 12px 24px; }
.btn-primary {
  background: var(--yellow);
  color: #fff;
  border-color: var(--yellow);
  box-shadow: 0 6px 18px rgba(212, 160, 69, .28);
}
.btn-primary:hover {
  background: var(--yellow-hot);
  border-color: var(--yellow-hot);
  color: #fff;
  transform: translateY(-1px);
}
.btn-secondary { border-radius: 999px; }
.btn-ghost { border-radius: 999px; }

/* Feat-card, softer, rounder, subtle pine top accent */
.feat-card {
  border-radius: 18px;
  padding: 22px 20px;
  box-shadow: 0 4px 18px rgba(14, 124, 123, .06);
  border-color: var(--line);
}
.feat-card::before {
  height: 4px;
  border-radius: 18px 18px 0 0;
}
.feat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(14, 124, 123, .13);
}
.feat-card h3 { font-family: var(--font-body); font-weight: 800; }

/* Trust stats, softer, lighter card, pine background remains */
.trust-stats { border-radius: 18px; }

/* Content tables and callouts, slight round */
.callout { border-radius: 14px; }
.step-box, .related-card, .toc, .author-card, .snabbfakta, .pros-cons, .table-wrap {
  border-radius: 16px;
}

/* Footer refinement */
.site-footer { border-top: 3px solid var(--yellow); }

/* Mobile menu open, copper accent line instead of yellow */
@media (max-width: 900px) {
  .nav.is-open, .nav.open {
    border-bottom: 3px solid var(--yellow);
    border-radius: 0 0 14px 14px;
  }
  .nav.is-open a, .nav.open a {
    border-radius: 8px;
    border-bottom: 1px solid var(--line);
  }
}

/* ======================================================
   v4, bolder font, new menu style, larger logo
   ====================================================== */

/* Body: bolder base weight */
body {
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: -0.005em;
}

/* Headings: heavier weight */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
}
h1 { font-weight: 900; letter-spacing: -0.035em; }
h2 { font-weight: 800; }
h3 { font-weight: 700; }

/* Buttons: heavier */
.btn { font-weight: 700; letter-spacing: 0; }

/* Logo, bigger, no G-mark tagline text */
.logo img {
  height: 58px;
  max-width: 280px;
}
@media (max-width: 720px) {
  .logo img { height: 44px; max-width: 260px; width: auto; }
}

/* Header, cleaner two-line layout: logo left, menu below on a strip */
.site-header {
  background: var(--paper);
  backdrop-filter: none;
  border-bottom: 2px solid var(--blue);
  box-shadow: none;
}
.header-inner {
  padding: 18px 22px 14px;
  align-items: center;
}

/* New menu style, uppercase, letter-spacing, underline hover, vertical dividers */
.nav {
  display: flex;
  align-items: stretch;
  gap: 0;
  flex-wrap: nowrap;
}
.nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ink);
  background: transparent;
  border: none;
  border-radius: 0;
  border-left: 1px solid var(--line);
  transition: color .16s ease, background .16s ease;
}
.nav a:first-child { border-left: none; }
.nav a::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 4px;
  height: 3px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .22s cubic-bezier(.55,.06,.32,1);
}
.nav a:hover {
  color: var(--blue);
  background: transparent;
  text-decoration: none;
}
.nav a:hover::after { transform: scaleX(1); }
.nav a.active {
  color: var(--blue);
  background: transparent;
}
.nav a.active::after { transform: scaleX(1); background: var(--blue); }

/* Mobile, hamburger opens a full-width panel with the same style */
@media (max-width: 900px) {
  .header-inner { padding: 14px 22px; }
  .nav.is-open, .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-top: 1px solid var(--line);
    border-bottom: 3px solid var(--yellow);
    padding: 6px 0 8px;
    box-shadow: var(--shadow-2);
    z-index: 60;
    border-radius: 0;
  }
  .nav.is-open a, .nav.open a {
    padding: 14px 22px;
    border-left: none;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
    letter-spacing: 0.14em;
    border-radius: 0;
  }
  .nav.is-open a::after, .nav.open a::after {
    display: none;
  }
  .nav.is-open a:last-child, .nav.open a:last-child { border-bottom: none; }
  .nav.is-open a:hover, .nav.open a:hover {
    background: var(--yellow-tint);
    color: var(--blue-deep);
  }
}

/* Menu toggle, square, matches new nav */
.menu-toggle {
  border: 2px solid var(--blue);
  border-radius: 4px;
  color: var(--blue);
  font-weight: 800;
}

/* Hero H1 more punchy */
.page-hero h1, body.home .page-hero h1 {
  font-weight: 900;
  letter-spacing: -0.038em;
  line-height: 1.08;
}

/* ======================================================
   v5, Redesign: trust-stats + TOC
   ====================================================== */

/* Trust-stats, inverted look: separate white cards with copper accent bar */
.trust-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 980px;
  margin: 18px auto 0;
  background: transparent;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  padding: 0;
}
.trust-stats .ts-tile {
  position: relative;
  background: #fff;
  color: var(--ink);
  padding: 22px 14px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(14, 124, 123, .06);
  text-align: center;
  border-right: 1px solid var(--line);
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}
.trust-stats .ts-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(14, 124, 123, .12);
}
.trust-stats .ts-tile::before {
  content: "";
  position: absolute;
  top: 0; left: 14px; right: 14px;
  height: 4px;
  background: var(--yellow);
  border-radius: 0 0 4px 4px;
}
.trust-stats .ts-num {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  font-weight: 900;
  color: var(--blue-deep);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}
.trust-stats .ts-lab {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: 0.13em;
  line-height: 1.3;
}

@media (max-width: 900px) {
  .trust-stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .trust-stats .ts-tile { padding: 18px 10px 16px; }
}
@media (max-width: 460px) {
  .trust-stats .ts-num { font-size: 1.4rem; }
  .trust-stats .ts-lab { font-size: 10px; letter-spacing: 0.10em; }
}

/* ---------------------------------------------------
   TOC, magazine two-column style, copper number badges
   --------------------------------------------------- */
.toc {
  background: transparent;
  border: none;
  border-left: none;
  padding: 22px 4px 8px;
  margin: 30px 0 40px;
  box-shadow: none;
  border-radius: 0;
  position: relative;
}
.toc::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 60px;
  height: 4px;
  background: var(--yellow);
  border-radius: 4px;
}
.toc-title, .toc h2.toc-title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  padding: 0;
  margin: 12px 0 20px;
  border: none;
  background: none;
}
.toc-title::before, .toc h2.toc-title::before { display: none; }
/* header + toggle enabled, see v12 */
.toc ol {
  list-style: none;
  padding: 0;
  margin: 0;
  columns: 2;
  column-gap: 40px;
  counter-reset: toc-counter;
}
@media (max-width: 720px) {
  .toc ol { columns: 1; }
}
.toc ol li {
  position: relative;
  counter-increment: toc-counter;
  padding: 10px 0 10px 42px;
  margin: 0;
  border-bottom: 1px solid var(--line);
  break-inside: avoid;
  list-style: none;
}
.toc ol li:last-child { border-bottom: none; }
.toc ol li::before {
  content: counter(toc-counter, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 10px;
  width: 30px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  color: var(--yellow);
  letter-spacing: 0.02em;
}
.toc ol li a {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  transition: color .15s ease, transform .15s ease;
  display: inline-block;
}
.toc ol li a:hover {
  color: var(--blue);
  transform: translateX(3px);
  text-decoration: none;
}

/* ======================================================
   v6, Redesign: .feature-card grid + .related-card grid
   ====================================================== */

/* Feature cards: horizontal layout, icon in pine circle on left, no top bar */
.feature-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 22px 0;
}
@media (max-width: 900px) { .feature-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .feature-cards { grid-template-columns: 1fr; } }

.feature-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 22px 22px 78px;
  box-shadow: 0 6px 20px rgba(14, 124, 123, .05);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  overflow: hidden;
}
.feature-card::before {
  content: none;
  display: none;
}
.feature-card::after {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--yellow);
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform .25s ease;
}
.feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--yellow-soft);
  box-shadow: 0 14px 32px rgba(14, 124, 123, .12);
}
.feature-card:hover::after { transform: scaleY(1); }

/* Icon: circle in top-left */
.feature-card .ico {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(14, 124, 123, .28);
  padding: 0;
}
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--blue-deep);
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}
.feature-card h3::before { display: none; }
.feature-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-2);
}

/* ---------------------------------------------------
   Related cards: pill row with big titles, arrow indicator
   --------------------------------------------------- */
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 20px;
}
@media (max-width: 900px) { .related-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .related-grid { grid-template-columns: 1fr; } }

.related-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: transparent;
  border: none;
  border-left: 3px solid var(--yellow);
  border-radius: 0;
  padding: 14px 40px 14px 16px;
  text-decoration: none;
  box-shadow: none;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
  min-height: 62px;
}
.related-card:hover {
  background: #fff;
  border-left-color: var(--blue);
  text-decoration: none;
  transform: translateX(2px);
  box-shadow: 0 6px 18px rgba(14, 124, 123, .08);
}
.related-card .r-tag {
  display: none;
}
.related-card .r-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--blue-deep);
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.related-card::after {
  content: "→";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: var(--yellow);
  font-weight: 800;
  transition: transform .18s ease, color .18s ease;
}
.related-card:hover::after {
  color: var(--blue);
  transform: translateY(-50%) translateX(4px);
}

.related-title {
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--blue-deep);
  letter-spacing: -0.035em;
}

/* ======================================================
   v7, Fix feature-card icon overlap (clean grid layout)
   ====================================================== */

.feature-card {
  display: grid;
  grid-template-columns: 44px 1fr;
  grid-template-rows: auto auto;
  column-gap: 16px;
  row-gap: 6px;
  align-items: start;
  padding: 20px 22px 22px;
  position: relative;
}

.feature-card > .ico {
  grid-column: 1;
  grid-row: 1;
  position: static;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(14, 124, 123, .28);
  padding: 0;
  margin: 0;
  align-self: start;
}

.feature-card > h3 {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  margin: 0;
  padding: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--blue-deep);
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.feature-card > h3::before { display: none; }

.feature-card > p {
  grid-column: 1 / -1;
  grid-row: 2;
  margin: 0;
  padding: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-2);
}

.feature-card::before, .feature-card::after {
  content: none;
  display: none;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(14, 124, 123, .05);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  overflow: hidden;
}
.feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--yellow-soft);
  box-shadow: 0 14px 32px rgba(14, 124, 123, .12);
}

/* ======================================================
   v8, Center feat-card content on mobile + footer logo sizing
   ====================================================== */

/* Footer logo (light variant) needs a bit more height to be visible */
.site-footer .logo img { height: 46px; max-width: 300px; width: auto; }

/* Center card content in single-column layouts (mobile) */
@media (max-width: 900px) {
  .feat-card {
    text-align: center;
    align-items: center;
  }
  .feat-card h3,
  .feat-card p {
    text-align: center;
  }
  .feat-card .feat-list {
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
  .feat-card .feat-list li {
    justify-content: flex-start;
    text-align: left;
  }
  .feat-card .feat-thumb {
    margin-left: auto;
    margin-right: auto;
  }
}

/* ======================================================
   v9, Logo fit: allow full width so nothing gets clipped
   ====================================================== */

/* Aspect ratio of new logo: ~5.57:1 (1081 x 194).
   At height 58, natural width is ~323px, bump max-width so the
   text isn't compressed or hidden by the container. */
.logo img {
  height: 54px;
  max-width: 340px;
  width: auto;
}
@media (max-width: 720px) {
  .logo img { height: 40px; max-width: 240px; }
}
@media (max-width: 440px) {
  .logo img { height: 34px; max-width: 200px; }
}

/* Footer logo, same aspect, size for dark bg readability */
.site-footer .logo img {
  height: 44px;
  max-width: 290px;
}

/* ======================================================
   v10, TOC: line below every item including the last one
   ====================================================== */

/* Add bottom border under every TOC item including the last one so
   both columns visually close cleanly. */
.toc ol li,
.toc ol li:last-child {
  border-bottom: 1px solid var(--line);
}

/* ======================================================
   v13, Fire flame: inside card, high contrast, no clipping
   ====================================================== */

/* Restore standard overflow on card (badge sits inside now) */
.feat-card { overflow: hidden; }

.feat-card .feat-flame {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 54px;
  height: 54px;
  background:
    radial-gradient(circle at 35% 30%, #FFB84A 0%, #FF6A2C 45%, #D9401A 100%);
  color: #fff;
  font-size: 28px;
  font-weight: 900;
  border-radius: 50%;
  border: 3px solid #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 0 2px rgba(217, 64, 26, .35),
    0 8px 20px rgba(217, 64, 26, .45),
    0 2px 6px rgba(0, 0, 0, .12);
  line-height: 1;
  padding: 0;
  z-index: 5;
  animation: flame-glow 2.4s ease-in-out infinite;
}

@keyframes flame-glow {
  0%, 100% {
    box-shadow:
      0 0 0 2px rgba(217, 64, 26, .35),
      0 8px 20px rgba(217, 64, 26, .45),
      0 2px 6px rgba(0, 0, 0, .12);
  }
  50% {
    box-shadow:
      0 0 0 4px rgba(217, 64, 26, .5),
      0 10px 26px rgba(217, 64, 26, .65),
      0 3px 8px rgba(0, 0, 0, .16);
  }
}

/* Add some space at top-right of card so title text won't collide with badge */
.feat-card.is-hot .feat-thumb,
.feat-card.is-hot h3 {
  padding-right: 60px;
}

@media (max-width: 720px) {
  .feat-card .feat-flame {
    width: 50px;
    height: 50px;
    font-size: 26px;
    top: 10px;
    right: 10px;
  }
}

/* ======================================================
   v14, Mobile menu: hide desktop nav, show hamburger, open panel
   ====================================================== */

@media (max-width: 900px) {
  /* Hide desktop nav on mobile */
  .site-header .nav {
    display: none;
  }
  /* Show hamburger */
  .site-header .menu-toggle {
    display: inline-block;
    background: transparent;
    border: 2px solid var(--blue);
    border-radius: 6px;
    color: var(--blue);
    font-size: 22px;
    font-weight: 800;
    padding: 4px 12px;
    cursor: pointer;
    line-height: 1;
  }
  /* When open, full-width panel below header */
  .site-header .nav.open,
  .site-header .nav.is-open {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-top: 1px solid var(--line);
    border-bottom: 3px solid var(--yellow);
    box-shadow: 0 10px 24px rgba(14, 124, 123, .12);
    padding: 8px 0 12px;
    z-index: 70;
    gap: 0;
  }
  .site-header .nav.open a,
  .site-header .nav.is-open a {
    display: block;
    padding: 14px 22px;
    border: none;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink);
    background: transparent;
    text-align: left;
  }
  .site-header .nav.open a::after,
  .site-header .nav.is-open a::after {
    display: none;
  }
  .site-header .nav.open a:last-child,
  .site-header .nav.is-open a:last-child {
    border-bottom: none;
  }
  .site-header .nav.open a:hover,
  .site-header .nav.is-open a:hover,
  .site-header .nav.open a.active,
  .site-header .nav.is-open a.active {
    background: var(--yellow-tint);
    color: var(--blue);
  }
}

/* Position site-header relative so absolute nav aligns to it */
.site-header { position: sticky; }

@media (max-width: 900px) {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 60;
  }
  .site-header .header-inner { position: relative; }
}

/* Hide hamburger on desktop, always */
@media (min-width: 901px) {
  .site-header .menu-toggle { display: none; }
}

/* ======================================================
   v15, Smaller flame badge (user feedback: bilo prevelika)
   ====================================================== */

.feat-card .feat-flame {
  width: 40px;
  height: 40px;
  font-size: 20px;
  top: 10px;
  right: 10px;
  border-width: 2px;
}

.feat-card.is-hot .feat-thumb,
.feat-card.is-hot h3 {
  padding-right: 46px;
}

@media (max-width: 720px) {
  .feat-card .feat-flame {
    width: 36px;
    height: 36px;
    font-size: 18px;
    top: 8px;
    right: 8px;
  }
  .feat-card.is-hot .feat-thumb,
  .feat-card.is-hot h3 {
    padding-right: 42px;
  }
}


/* ==== Nordic theme, global section H2 accent + link accent ==== */
h2::before { background: linear-gradient(90deg, var(--blue), var(--yellow)) !important; }
a { transition: color .18s ease, opacity .18s ease; }
.btn-primary { background: linear-gradient(135deg, var(--blue), var(--yellow)); color: #fff; border: 0; }
.btn-primary:hover { filter: brightness(1.08); }


/* ==== Logo sizing override (wide raster wordmark) ==== */
.site-header .logo img { height: 44px !important; max-width: 300px !important; width: auto !important; }
.site-footer .logo img { height: 46px !important; max-width: 320px !important; width: auto !important; }
@media (max-width: 640px) {
  .site-header .logo img { height: 40px !important; max-width: 240px !important; }
}

/* ======================================================
   AndersCasinos.vip, Nordic Redesign Overrides (v2)
   Simpler, cleaner Scandinavian look
   ====================================================== */

/* ---- Header: cleaner, thinner, no glow ---- */
.site-header {
  background: #FFFFFF;
  border-bottom: 1px solid var(--line);
  box-shadow: none;
}
.header-inner {
  padding: 14px 22px;
}
.logo img { height: 38px; max-width: 220px; }

/* Nav: underline style instead of pill */
.nav { gap: 6px; }
.nav a {
  border-radius: 0;
  padding: 8px 4px;
  margin: 0 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--ink-2);
  border-bottom: 2px solid transparent;
  background: none !important;
  transition: color .15s ease, border-color .15s ease;
}
.nav a:hover {
  color: var(--blue-deep);
  background: none !important;
  border-bottom-color: var(--yellow);
  text-decoration: none;
}
.nav a.active {
  color: var(--blue-deep);
  background: none !important;
  border-bottom-color: var(--blue);
}

/* Mobile: same clean list, no yellow bottom bar */
@media (max-width: 900px) {
  .nav.is-open, .nav.open {
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 22px rgba(8,63,62,.08);
    padding: 4px 10px 10px;
  }
  .nav.is-open a, .nav.open a {
    margin: 0;
    padding: 12px 6px;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }
}

/* ---- Home hero: strip animations, flat Nordic panel ---- */
body.home .page-hero {
  padding: 56px 0 44px !important;
  background: linear-gradient(180deg, #FFFFFF 0%, var(--paper) 100%) !important;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
body.home .page-hero::after { display: none; }
body.home .page-hero .blob { display: none !important; }
body.home .page-hero h1 { color: var(--blue-deep); text-shadow: none; }
body.home .page-hero .lead { color: var(--ink-2); font-weight: 500; }

/* Accent divider strip at top of hero */
body.home .page-hero { position: relative; }
body.home .page-hero::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--yellow) 100%);
  z-index: 3;
}

/* ---- Feat cards: cleaner, less shadow ---- */
body.home .feat-card {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-top: 3px solid var(--blue);
  box-shadow: 0 1px 2px rgba(8,63,62,.04);
  transition: transform .18s ease, box-shadow .18s ease;
}
body.home .feat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(8,63,62,.10);
}
body.home .feat-card.is-hot { border-top-color: var(--yellow); }
body.home .feat-card.is-hot::before { display: none; }

/* Trust stats: cleaner tiles */
.trust-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 900px;
  margin: 26px auto 6px;
}
.trust-stats .ts-tile {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 14px;
  text-align: center;
}
.trust-stats .ts-num {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -.02em;
}
.trust-stats .ts-lab {
  font-size: .78rem;
  font-weight: 600;
  color: var(--ink-3);
  letter-spacing: .02em;
  text-transform: uppercase;
  margin-top: 4px;
}
@media (max-width: 720px) {
  .trust-stats { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .trust-stats .ts-tile { padding: 14px 10px; }
  .trust-stats .ts-num { font-size: 1.3rem; }
}

/* ---- Footer: lighter, editorial ---- */
.site-footer {
  background: var(--paper-2) !important;
  color: var(--ink-2) !important;
  border-top: 1px solid var(--line);
}
.site-footer .logo img { height: 36px; max-width: 200px; }
.site-footer h3 {
  color: var(--blue-deep) !important;
  font-size: .85rem !important;
  text-transform: uppercase;
  letter-spacing: .08em;
  border-bottom: none !important;
  padding-bottom: 0 !important;
  margin-bottom: 12px !important;
}
.site-footer a { color: var(--ink-2) !important; }
.site-footer a:hover { color: var(--blue-hot) !important; text-decoration: underline; }
.site-footer .footer-bottom {
  border-top: 1px solid var(--line-2);
  color: var(--ink-3) !important;
}
.site-footer .responsible-badge {
  background: var(--yellow-tint);
  color: var(--blue-deep);
  border: 1px solid var(--yellow-soft);
}

/* ---- H2 accent bar cleaner ---- */
h2::before {
  background: var(--blue) !important;
  height: 3px !important;
  width: 36px !important;
}

/* ---- Primary CTA: keep amber, softer edge ---- */
.btn-primary {
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(8,63,62,.10);
}

/* ======================================================
   AndersCasinos.vip, Header & Footer Redesign v3 (Dark)
   Bold dark-teal top bar + matching dark footer
   ====================================================== */

/* HEADER: dark teal top bar with amber accent strip */
.site-header {
  background: linear-gradient(180deg, #083F3E 0%, #0A4746 100%) !important;
  border-bottom: none !important;
  box-shadow: 0 2px 0 rgba(212,160,69,.35), 0 6px 18px rgba(8,63,62,.18) !important;
  position: sticky;
  top: 0;
  z-index: 60;
}
.site-header::before {
  content: "";
  display: block;
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #D4A045 0%, #0E7C7B 60%, #D4A045 100%);
}
.header-inner {
  padding: 14px 22px !important;
  position: relative;
}
.logo img {
  height: 44px !important;
  width: auto !important;
  max-width: 260px !important;
  filter: drop-shadow(0 1px 0 rgba(0,0,0,.15));
}

/* NAV: minimalist white pill items with amber hover underline */
.nav { gap: 2px !important; }
.nav a {
  color: #FFFFFF !important;
  background: transparent !important;
  border-bottom: none !important;
  margin: 0 !important;
  padding: 10px 14px !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: 4px;
  position: relative;
  transition: color .18s ease, background .18s ease;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 2px;
  background: #D4A045;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .2s ease;
}
.nav a:hover {
  color: #FCE8B9 !important;
  background: rgba(255,255,255,.05) !important;
  text-decoration: none !important;
}
.nav a:hover::after { transform: scaleX(1); }
.nav a.active {
  color: #FCE8B9 !important;
  background: rgba(212,160,69,.12) !important;
}
.nav a.active::after { transform: scaleX(1); }

/* Hamburger button, white on dark */
.menu-toggle {
  color: #FFFFFF !important;
  border: 1.5px solid rgba(255,255,255,.35) !important;
  background: transparent !important;
}
.menu-toggle:hover { border-color: #D4A045 !important; color: #FCE8B9 !important; }

/* Mobile menu panel (opens under dark header) */
@media (max-width: 900px) {
  .nav.is-open, .nav.open {
    background: #0A4746 !important;
    border-bottom: 3px solid #D4A045 !important;
    box-shadow: 0 10px 22px rgba(8,63,62,.24) !important;
    padding: 6px 12px 12px !important;
  }
  .nav.is-open a, .nav.open a {
    color: #FFFFFF !important;
    padding: 14px 10px !important;
    border-bottom: 1px solid rgba(255,255,255,.08) !important;
    border-radius: 0 !important;
    font-size: 13.5px !important;
  }
  .nav.is-open a::after, .nav.open a::after { display: none; }
  .nav.is-open a:hover, .nav.open a:hover {
    background: rgba(255,255,255,.06) !important;
  }
}

/* Kill the earlier home-hero top gradient line since header already has one */
body.home .page-hero::before { display: none !important; }

/* FOOTER: matching dark teal, cleaner grid, amber section headings */
.site-footer {
  background: linear-gradient(180deg, #0A4746 0%, #083F3E 100%) !important;
  color: rgba(255,255,255,.82) !important;
  border-top: none !important;
  padding-top: 44px !important;
  padding-bottom: 26px !important;
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #D4A045 0%, #0E7C7B 60%, #D4A045 100%);
}
.site-footer .logo img {
  height: 40px !important;
  max-width: 240px !important;
}
.site-footer p {
  color: rgba(255,255,255,.78) !important;
  font-size: 14px;
  line-height: 1.6;
}
.site-footer h3 {
  color: #D4A045 !important;
  font-size: .78rem !important;
  text-transform: uppercase !important;
  letter-spacing: .12em !important;
  margin: 0 0 14px !important;
  padding-bottom: 8px !important;
  border-bottom: 1px solid rgba(212,160,69,.28) !important;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin: 8px 0; }
.site-footer a {
  color: rgba(255,255,255,.82) !important;
  font-size: 14px;
  transition: color .15s ease;
}
.site-footer a:hover {
  color: #FCE8B9 !important;
  text-decoration: none !important;
  padding-left: 4px;
}
.site-footer .footer-grid {
  gap: 32px !important;
}
.site-footer .responsible-badge {
  background: rgba(212,160,69,.14) !important;
  color: #FCE8B9 !important;
  border: 1px solid rgba(212,160,69,.35) !important;
  display: inline-block;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
}
.site-footer .footer-bottom {
  border-top: 1px solid rgba(255,255,255,.10) !important;
  margin-top: 32px !important;
  padding-top: 20px !important;
  color: rgba(255,255,255,.55) !important;
  font-size: 12.5px !important;
  letter-spacing: .01em;
}
.site-footer .footer-bottom span { color: rgba(255,255,255,.55) !important; }

/* ======================================================
   AndersCasinos.vip, Footer Redesign v4 (Editorial)
   Big brand column left, inline chip nav on the right
   ====================================================== */

.site-footer { padding-top: 52px !important; padding-bottom: 24px !important; }
.site-footer .container { max-width: 1160px; }

/* Reset the grid: brand block left (2fr) + three menu blocks stacked in a flex column right (1fr) */
.site-footer .footer-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: 36px !important;
  align-items: start !important;
  max-width: 1160px !important;
  padding: 0 4px !important;
}

/* Brand column: big logo, generous paragraph, amber vertical divider on right */
.site-footer .footer-grid > div:first-child {
  padding-right: 24px;
  border-right: 1px solid rgba(212,160,69,.28);
}
.site-footer .footer-grid > div:first-child .logo img {
  height: 46px !important; max-width: 260px !important;
  margin-bottom: 4px;
}
.site-footer .footer-grid > div:first-child p {
  font-size: 13.5px !important;
  color: rgba(255,255,255,.72) !important;
  line-height: 1.65 !important;
  margin: 14px 0 16px !important;
  max-width: 440px;
}

/* Section headings: no border-bottom, replace with a small amber square accent to the left */
.site-footer h3,
.site-footer .footer-grid h3 {
  display: flex !important;
  align-items: center !important;
  gap: 10px;
  color: rgba(255,255,255,.95) !important;
  font-size: .72rem !important;
  text-transform: uppercase !important;
  letter-spacing: .16em !important;
  font-weight: 800 !important;
  border-bottom: none !important;
  padding-bottom: 0 !important;
  margin: 0 0 14px !important;
  position: relative;
}
.site-footer h3::before,
.site-footer .footer-grid h3::before {
  content: "" !important;
  display: inline-block !important;
  width: 10px !important;
  height: 10px !important;
  background: #D4A045 !important;
  transform: rotate(45deg);
  border-radius: 1px;
  flex: none;
}

/* Menu lists: no bullets, small caret prefix on hover */
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li,
.site-footer .footer-grid li {
  padding: 0 !important;
  margin: 7px 0 !important;
  font-size: 13.5px !important;
  line-height: 1.4 !important;
  white-space: normal !important;
}
.site-footer a,
.site-footer .footer-grid a {
  color: rgba(255,255,255,.78) !important;
  font-size: 13.5px !important;
  display: inline-block;
  position: relative;
  padding-left: 0 !important;
  transition: color .18s ease, transform .18s ease;
}
.site-footer a::before,
.site-footer .footer-grid a::before {
  content: "→";
  display: inline-block;
  width: 0;
  overflow: hidden;
  color: #D4A045;
  font-weight: 700;
  opacity: 0;
  transition: width .18s ease, opacity .18s ease, margin-right .18s ease;
  margin-right: 0;
}
.site-footer a:hover,
.site-footer .footer-grid a:hover {
  color: #FCE8B9 !important;
  text-decoration: none !important;
  padding-left: 0 !important;
  transform: none !important;
}
.site-footer a:hover::before,
.site-footer .footer-grid a:hover::before {
  width: 14px;
  opacity: 1;
  margin-right: 6px;
}

/* Responsible badge: standalone amber pill in brand column */
.site-footer .responsible-badge {
  background: transparent !important;
  color: #FCE8B9 !important;
  border: 1px solid rgba(212,160,69,.55) !important;
  padding: 6px 14px !important;
  border-radius: 4px !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  letter-spacing: .1em !important;
  text-transform: uppercase !important;
}

/* Bottom row: two-line editorial copyright */
.site-footer .footer-bottom {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 18px !important;
  margin-top: 40px !important;
  padding-top: 22px !important;
  border-top: 1px solid rgba(255,255,255,.10) !important;
  font-size: 12px !important;
  color: rgba(255,255,255,.55) !important;
  flex-wrap: wrap;
}
.site-footer .footer-bottom span { color: rgba(255,255,255,.55) !important; }
.site-footer .footer-bottom span:first-child {
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85) !important;
}

/* Responsive: stack on tablet, drop right divider */
@media (max-width: 900px) {
  .site-footer .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 28px !important;
  }
  .site-footer .footer-grid > div:first-child {
    grid-column: 1 / -1 !important;
    border-right: none !important;
    border-bottom: 1px solid rgba(212,160,69,.28) !important;
    padding-right: 0 !important;
    padding-bottom: 22px !important;
  }
}
@media (max-width: 560px) {
  .site-footer .footer-grid { grid-template-columns: 1fr !important; }
  .site-footer .footer-bottom { text-align: center; justify-content: center; }
}

/* Related-title accent: no bar, amber diamond only (see v5 rule below) */
.related-title::before,
h2.related-title::before {
  content: "" !important;
  display: inline-block !important;
  width: 12px !important;
  height: 12px !important;
  background: #D4A045 !important;
  background-image: none !important;
  transform: rotate(45deg) !important;
  border-radius: 2px !important;
  margin: 0 !important;
  border: 0 !important;
}

/* ======================================================
   Mobile padding compression (all pages)
   Push the casino list up so it's visible ASAP on phones
   ====================================================== */
@media (max-width: 760px) {
  .page-hero,
  body.home .page-hero {
    padding: 14px 0 10px !important;
  }
  .page-hero .breadcrumbs {
    margin-bottom: 6px !important;
    font-size: 12px !important;
  }
  .page-hero h1 {
    margin: 4px 0 6px !important;
    font-size: 1.55rem !important;
    line-height: 1.18 !important;
  }
  .page-hero .lead {
    margin: 0 !important;
    font-size: 0.98rem !important;
    line-height: 1.4 !important;
  }
  .list-heading {
    margin: 12px 0 8px !important;
    font-size: 1.15rem !important;
    padding-top: 0 !important;
  }
  .list-heading::before { margin-bottom: 6px !important; }
  section.container { padding-top: 6px !important; padding-bottom: 6px !important; }
  .featured-cards { margin-top: 4px !important; gap: 10px !important; }
  .trust-stats-wrap { padding: 4px 12px !important; }
  .trust-stats { margin: 10px auto 4px !important; }
  main > section:first-of-type + section { margin-top: 0 !important; }
}
@media (max-width: 480px) {
  .page-hero,
  body.home .page-hero {
    padding: 10px 0 8px !important;
  }
  .page-hero h1 { font-size: 1.42rem !important; }
  .page-hero .lead { font-size: 0.94rem !important; }
}

/* ======================================================
   Related guides ("Fler svenska guider") — Redesign v5
   Numbered tile grid with amber accent
   ====================================================== */

/* Section title: no gradient accent bar, replace with amber diamond */
.related-title,
h2.related-title {
  color: var(--blue-deep);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem) !important;
  margin: 34px 0 18px !important;
  padding: 0 !important;
  display: flex;
  align-items: center;
  gap: 12px;
}
.related-title::before {
  content: "" !important;
  display: inline-block !important;
  width: 12px !important;
  height: 12px !important;
  background: #D4A045 !important;
  transform: rotate(45deg) !important;
  border-radius: 2px !important;
  margin: 0 !important;
}

/* Grid: 3 cols desktop, 2 tablet, 1 mobile */
.related-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 14px !important;
  counter-reset: rc !important;
  margin: 0 0 40px !important;
}
@media (max-width: 900px) { .related-grid { grid-template-columns: 1fr 1fr !important; } }
@media (max-width: 560px) { .related-grid { grid-template-columns: 1fr !important; gap: 10px !important; } }

/* Card: white surface, subtle border, numbered accent + big arrow */
.related-card {
  counter-increment: rc !important;
  position: relative !important;
  display: grid !important;
  grid-template-columns: 44px 1fr auto !important;
  grid-template-areas: "num title arrow" "num tag arrow" !important;
  align-items: center !important;
  gap: 4px 14px !important;
  background: #FFFFFF !important;
  border: 1px solid var(--line) !important;
  border-left: 3px solid #0E7C7B !important;
  border-radius: 10px !important;
  padding: 16px 18px !important;
  text-decoration: none !important;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease, background .18s ease !important;
  box-shadow: 0 1px 2px rgba(8,63,62,.04) !important;
  min-height: 76px !important;
  overflow: hidden !important;
}
.related-card::before {
  content: counter(rc, decimal-leading-zero) !important;
  grid-area: num !important;
  font-family: var(--font-display) !important;
  font-size: 1.4rem !important;
  font-weight: 800 !important;
  color: #D4A045 !important;
  letter-spacing: -.02em !important;
  line-height: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  height: 100% !important;
  background: none !important;
  width: auto !important;
  border-radius: 0 !important;
}
.related-card::after {
  content: "" !important;
  grid-area: arrow !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  background: var(--paper-2) !important;
  color: var(--blue-deep) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: background .18s ease, color .18s ease, transform .18s ease !important;
  /* Arrow via mask so color is controllable */
  -webkit-mask: no-repeat center / 14px 14px url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23083F3E' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><line x1='5' y1='12' x2='19' y2='12'/><polyline points='12 5 19 12 12 19'/></svg>");
          mask: no-repeat center / 14px 14px url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23083F3E' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><line x1='5' y1='12' x2='19' y2='12'/><polyline points='12 5 19 12 12 19'/></svg>");
  background-color: #083F3E !important;
}
.related-card .r-title {
  grid-area: title !important;
  font-family: var(--font-display) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: var(--blue-deep) !important;
  line-height: 1.25 !important;
  text-align: left !important;
}
.related-card .r-tag {
  grid-area: tag !important;
  font-size: 10.5px !important;
  color: var(--ink-3) !important;
  text-transform: uppercase !important;
  letter-spacing: .1em !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  padding: 0 !important;
}
.related-card .r-tag::before {
  content: "GUIDE ·" !important;
  display: inline-block !important;
  margin-right: 6px !important;
  color: #D4A045 !important;
  background: none !important;
  width: auto !important;
  height: auto !important;
  border-radius: 0 !important;
}
.related-card:hover {
  border-color: rgba(212,160,69,.55) !important;
  border-left-color: #D4A045 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 22px rgba(8,63,62,.10) !important;
  background: #FFFFFF !important;
}
.related-card:hover::after {
  background-color: #D4A045 !important;
  transform: translateX(3px) !important;
}
.related-card:hover .r-title { color: #0E7C7B !important; }

/* Mobile tweaks */
@media (max-width: 480px) {
  .related-card { padding: 14px 14px !important; min-height: 68px !important; grid-template-columns: 36px 1fr auto !important; }
  .related-card::before { font-size: 1.2rem !important; }
  .related-card::after { width: 28px !important; height: 28px !important; }
}
