﻿/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/inter-0.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/inter-1.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/inter-2.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/inter-3.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/inter-4.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/inter-5.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/inter-6.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/inter-0.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/inter-1.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/inter-2.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/inter-3.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/inter-4.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/inter-5.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/inter-6.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/inter-0.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/inter-1.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/inter-2.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/inter-3.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/inter-4.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/inter-5.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/inter-6.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/assets/fonts/inter-0.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/assets/fonts/inter-1.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/assets/fonts/inter-2.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/assets/fonts/inter-3.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/assets/fonts/inter-4.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/assets/fonts/inter-5.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/assets/fonts/inter-6.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}



/* =========================================================================
   KryssordHjelper â€” Design System (static edition)
   InspirÃ© d'une stack premium Ã©ditoriale, sans framework, mobile-first.
   ========================================================================= */

:root {
  /* Palette */
  --color-bg: #f6f7fb;
  --color-surface: #ffffff;
  --color-surface-2: #fbfcfe;
  --color-text: #0b1220;
  --color-text-soft: #334155;
  --color-muted: #5b6b85;
  --color-border: #e3e9f3;
  --color-border-strong: #c8d2e3;

  /* Brand */
  --brand-50: #eef4ff;
  --brand-100: #dce8ff;
  --brand-300: #8fb1ff;
  --brand-500: #3563ff;
  --brand-600: #2549d4;
  --brand-700: #1d3aa8;
  --brand-900: #0f1f5e;

  /* Accents */
  --accent-teal: #06b6d4;
  --accent-coral: #ff6b6b;
  --accent-gold: #f5b400;
  --success: #15803d;
  --danger: #b91c1c;

  /* Effects */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 1px rgba(15, 23, 42, 0.03);
  --shadow-md: 0 6px 18px rgba(15, 23, 42, 0.06), 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 24px 50px -20px rgba(15, 23, 42, 0.18), 0 8px 16px -8px rgba(15, 23, 42, 0.08);
  --shadow-glow: 0 0 0 1px rgba(53, 99, 255, 0.18), 0 12px 36px -16px rgba(53, 99, 255, 0.4);

  /* Typography */
  --font-sans: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  /* Layout */
  --container-max: 1120px;
  --header-h: 64px;
}

/* ---------- Reset lÃ©ger ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: var(--brand-600);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--brand-700);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

button {
  font-family: inherit;
  cursor: pointer;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.6rem;
  line-height: 1.2;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--color-text);
}

h1 {
  font-size: clamp(1.7rem, 1.2rem + 2.4vw, 2.8rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.25rem, 1rem + 1vw, 1.6rem);
}

h3 {
  font-size: 1.05rem;
  letter-spacing: 0;
}

p {
  margin: 0 0 0.9rem;
  color: var(--color-text-soft);
}

ul,
ol {
  margin: 0 0 0.9rem;
  padding-left: 1.25rem;
  color: var(--color-text-soft);
}

li + li {
  margin-top: 0.25rem;
}

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

/* ---------- Header ---------- */
.site-header {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--header-h);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--color-text);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.logo:hover {
  text-decoration: none;
  color: var(--brand-600);
}

.logo img {
  border-radius: var(--radius-sm);
}

.top-nav {
  display: none;
  gap: 0.25rem;
  align-items: center;
}

.top-nav a {
  padding: 0.4rem 0.7rem;
  border-radius: var(--radius-sm);
  color: var(--color-text-soft);
  font-size: 0.92rem;
  font-weight: 500;
  white-space: nowrap;
}

.top-nav a:hover {
  background: var(--brand-50);
  color: var(--brand-700);
  text-decoration: none;
}

/* ---------- Main / sections ---------- */
main {
  padding: 1.25rem 0 3rem;
}

.section {
  margin-top: 1.25rem;
}

.card,
.hero,
.solver-card,
.seo-content,
.related-links,
.faq {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
  margin-top: 1rem;
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
  margin: 0.5rem 0 1.1rem;
  color: var(--color-muted);
  font-size: 0.88rem;
}

.breadcrumbs a {
  color: var(--color-text-soft);
  font-weight: 500;
}

.breadcrumbs span {
  margin: 0 0.4rem;
  color: var(--color-muted);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  background:
    radial-gradient(circle at 90% -10%, rgba(6, 182, 212, 0.18), transparent 45%),
    radial-gradient(circle at 0% 0%, rgba(53, 99, 255, 0.18), transparent 50%),
    linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 120%, rgba(53, 99, 255, 0.06), transparent 60%);
}

.hero > * {
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.9rem;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-pill);
  background: var(--brand-50);
  color: var(--brand-700);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.hero-badge::before {
  content: "âœ¦";
  color: var(--brand-500);
}

.hero h1 {
  margin-bottom: 0.7rem;
  font-weight: 800;
}

.hero p {
  max-width: 60ch;
  color: var(--color-text-soft);
  font-size: 1.05rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px dashed var(--color-border-strong);
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.hero-stat__value {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-text);
  letter-spacing: -0.01em;
}

.hero-stat__label {
  font-size: 0.8rem;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---------- SEO content blocks ---------- */
.seo-content h2,
.related-links h2,
.faq h2 {
  margin-bottom: 0.8rem;
}

.seo-content p {
  font-size: 0.98rem;
}

.seo-content ul,
.seo-content ol {
  font-size: 0.98rem;
}

.semantic-block {
  background: linear-gradient(180deg, var(--color-surface) 0%, var(--color-surface-2) 100%);
}

/* ---------- Solver ---------- */
.solver-card {
  background: linear-gradient(180deg, var(--color-surface) 0%, var(--brand-50) 220%);
  border: 1px solid var(--brand-100);
  position: relative;
}

.solver-card form {
  margin: 0;
}

label {
  display: block;
  margin: 0.8rem 0 0.3rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--color-text);
}

input,
select {
  width: 100%;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.85rem;
  font-size: 1rem;
  background: #fff;
  color: var(--color-text);
  font-family: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input:focus,
select:focus {
  outline: none;
  border-color: var(--brand-500);
  box-shadow: 0 0 0 4px rgba(53, 99, 255, 0.14);
}

input::placeholder {
  color: #94a3b8;
}

small {
  display: block;
  color: var(--color-muted);
  margin-top: 0.35rem;
  font-size: 0.85rem;
}

button {
  border: 0;
  border-radius: var(--radius-sm);
  padding: 0.75rem 1.1rem;
  font-size: 0.95rem;
  font-weight: 700;
  background: linear-gradient(180deg, var(--brand-500), var(--brand-600));
  color: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 4px 14px -4px rgba(53, 99, 255, 0.5);
  transition: transform 0.08s ease, box-shadow 0.15s ease, background 0.2s ease;
}

button:hover {
  background: linear-gradient(180deg, var(--brand-600), var(--brand-700));
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 6px 18px -4px rgba(53, 99, 255, 0.55);
}

button:active {
  transform: translateY(1px);
}

.secondary-btn {
  background: var(--brand-50);
  color: var(--brand-700);
  box-shadow: none;
}

.secondary-btn:hover {
  background: var(--brand-100);
}

.filter-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.advanced-filters {
  margin-top: 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.35rem 0.95rem 0.95rem;
  background: var(--color-surface-2);
}

.advanced-filters summary {
  font-weight: 600;
  cursor: pointer;
  color: var(--color-text-soft);
  padding: 0.5rem 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.advanced-filters summary::before {
  content: "â–¸";
  font-size: 0.7rem;
  color: var(--color-muted);
  transition: transform 0.15s ease;
}

.advanced-filters[open] summary::before {
  transform: rotate(90deg);
}

.solver-actions {
  margin-top: 1rem;
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.results-meta {
  color: var(--color-text);
  font-weight: 700;
  margin-top: 1.2rem;
  padding: 0.5rem 0.8rem;
  background: var(--brand-50);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
}

.results-list {
  list-style: none;
  margin: 0.7rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.results-list li {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  padding: 0.55rem 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  transition: border-color 0.15s ease, transform 0.1s ease;
}

.results-list li:hover {
  border-color: var(--brand-300);
  transform: translateY(-1px);
}

.results-list li strong {
  font-weight: 700;
  color: var(--color-text);
  text-transform: lowercase;
  letter-spacing: 0;
}

.results-list li span {
  color: var(--brand-700);
  background: var(--brand-50);
  border-radius: var(--radius-pill);
  padding: 0.1rem 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
}

/* ---------- Category cards (home) ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.85rem;
  margin-top: 1rem;
}

.cat-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem 1.1rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  color: var(--color-text);
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.cat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-300);
  text-decoration: none;
}

.cat-card__icon {
  font-size: 1.6rem;
  line-height: 1;
}

.cat-card__title {
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--color-text);
}

.cat-card__count {
  font-size: 0.82rem;
  color: var(--color-muted);
}

/* ---------- Internal links ---------- */
.link-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

.link-list a {
  display: block;
  padding: 0.55rem 0.75rem;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--brand-700);
  font-size: 0.93rem;
  font-weight: 500;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.link-list a:hover {
  background: var(--brand-50);
  border-color: var(--brand-300);
  text-decoration: none;
}

/* ---------- Chips ---------- */
.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.chip-list span {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  padding: 0.25rem 0.7rem;
  background: var(--color-surface);
  color: var(--color-text);
  font-size: 0.88rem;
  font-weight: 500;
}

/* ---------- FAQ ---------- */
.faq-item {
  border-top: 1px solid var(--color-border);
  padding-top: 0.9rem;
  margin-top: 0.9rem;
}

.faq-item:first-of-type {
  border-top: 0;
  padding-top: 0;
  margin-top: 0;
}

.faq-item h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.3rem;
}

.faq-item p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ---------- Footer ---------- */
.site-footer {
  margin-top: 3rem;
  background: var(--color-text);
  color: #cbd5e1;
}

.site-footer .container {
  padding-top: 2.5rem;
  padding-bottom: 2rem;
}

.site-footer a {
  color: #cbd5e1;
}

.site-footer a:hover {
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #1e293b;
  margin-bottom: 1rem;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-top: 0.4rem;
}

.footer-col a {
  font-size: 0.88rem;
}

.footer-brand p {
  color: #94a3b8;
  font-size: 0.88rem;
  max-width: 38ch;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.9rem;
  margin-top: 1rem;
  color: #64748b;
  font-size: 0.85rem;
}

.footer-legal a {
  color: #94a3b8;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.83rem;
  color: #64748b;
}

/* ---------- Tables / distribution lists ---------- */
.dist-list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.4rem;
}

.dist-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.45rem 0.7rem;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
}

.dist-list li strong {
  color: var(--brand-700);
}

/* ---------- Mobile-up breakpoints ---------- */
@media (min-width: 640px) {
  .filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .results-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .link-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .top-nav {
    display: inline-flex;
  }
  main {
    padding-bottom: 4rem;
  }
  .results-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 2rem;
  }
}

@media (min-width: 1024px) {
  .results-list {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  .link-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ---------- Clue keyword pages ---------- */
.clue-toc {
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.9rem;
  font-size: 0.92rem;
  color: var(--color-text);
  margin-bottom: 1.2rem;
  font-weight: 500;
}

.clue-toc a {
  color: var(--brand-700);
  font-weight: 600;
  white-space: nowrap;
}

.clue-bucket {
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--color-border);
}

.clue-bucket:first-of-type {
  border-top: 0;
  padding-top: 0;
  margin-top: 0;
}

.clue-bucket h3 {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin-bottom: 0.7rem;
  font-size: 1.05rem;
}

.clue-bucket h3 small {
  color: var(--color-muted);
  font-size: 0.82rem;
  font-weight: 500;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.tag-list .tag,
.tag-list a {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  color: var(--brand-700);
  text-decoration: none;
  font-weight: 500;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.tag-list a:hover {
  background: var(--brand-100);
  border-color: var(--brand-300);
}

/* ---------- Kryssordbok listings ---------- */
.clue-group {
  margin-top: 1.6rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--color-border);
}

.clue-group:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.clue-group h2 {
  font-size: 1.15rem;
  margin-bottom: 0.7rem;
}

.clue-group h2 small {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-muted);
}

.kw-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.3rem;
}

.kw-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem 0.7rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
}

.kw-list a {
  color: var(--brand-700);
  font-weight: 500;
  text-decoration: none;
}

.kw-list a:hover {
  text-decoration: underline;
}

.kw-vol {
  font-size: 0.78rem;
  background: var(--brand-50);
  color: var(--brand-700);
  border-radius: var(--radius-pill);
  padding: 0.1rem 0.5rem;
  font-weight: 700;
}

@media (min-width: 640px) {
  .kw-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .kw-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ---------- Editorial clue pages ---------- */
.editorial-quote {
  margin: 1.25rem 0 0;
  padding: 1.25rem 1.5rem;
  border-left: 4px solid var(--brand-500);
  background: linear-gradient(135deg, var(--brand-50) 0%, var(--color-surface) 100%);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.editorial-quote p {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--color-text-soft);
  font-style: italic;
}

.editorial-quote cite {
  font-size: 0.875rem;
  color: var(--color-muted);
  font-style: normal;
}

.editorial-quote cite a {
  color: var(--brand-600);
  font-weight: 600;
}

.editorial-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1rem 0 1.5rem;
}

@media (min-width: 640px) {
  .editorial-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .editorial-stats {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

.editorial-stat {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.editorial-stat__value {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--brand-600);
  line-height: 1.2;
}

.editorial-stat__label {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: var(--color-muted);
  line-height: 1.3;
}

.editorial-about {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.editorial-about h2 {
  margin-top: 0;
}

.editorial-about p {
  color: var(--color-text-soft);
  line-height: 1.75;
}

.editorial-resources .resource-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.editorial-resources .resource-list a {
  color: var(--brand-600);
  font-weight: 600;
}

.chip-list .chip-link {
  text-decoration: none;
  color: inherit;
  border-bottom: 1px dashed var(--brand-300);
  transition: color 0.15s ease, border-color 0.15s ease;
}

.chip-list .chip-link:hover {
  color: var(--brand-600);
  border-bottom-color: var(--brand-500);
}

/* ---------- Utilities ---------- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-muted {
  color: var(--color-muted);
}

.mt-0 {
  margin-top: 0;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

