/* ======================================================
   UtanSvenskLicens.vip — Swedish flag palette (v2)
   Editorial + Scandinavian minimal
   ====================================================== */

*, *::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: #FDFBF5;
  --paper-2: #F6F1E4;
  --paper-3: #EBE3CE;

  --blue: #004B87;
  --blue-hot: #003665;
  --blue-deep: #002744;
  --blue-tint: #E6EEF6;
  --blue-tint-2: #C7D6E7;

  --yellow: #FECC00;
  --yellow-hot: #E5B500;
  --yellow-soft: #FFE58A;
  --yellow-tint: #FFF7D6;

  --ink: #16202E;
  --ink-2: #34435B;
  --ink-3: #64738A;
  --ink-4: #94A0B4;

  --line: #E1DACA;
  --line-2: #CBC1A8;
  --line-blue: rgba(0, 75, 135, 0.14);

  --max-w: 1160px;
  --radius: 3px;
  --radius-lg: 6px;

  --shadow-1: 0 1px 2px rgba(22, 32, 46, .04), 0 1px 4px rgba(22, 32, 46, .04);
  --shadow-2: 0 8px 24px rgba(0, 75, 135, .10);
  --shadow-yellow: 0 4px 14px rgba(254, 204, 0, .28);

  --font-display: 'Fraunces', 'Georgia', 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 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(0, 39, 68, .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: 34px;
  width: auto;
  max-width: 220px;
  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(254, 204, 0, .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: 28px; width: auto; }
.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, #004B87 0 40%, #FECC00 40% 60%, #004B87 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; }
