/* ==========================================================================
   De Steunlijn — styles.css
   --------------------------------------------------------------------------
   Inhoudsopgave
   1.  Design tokens (kleuren, typografie, spacing)
   2.  Reset & basis
   3.  Typografie
   4.  Layout (container, secties, section-head)
   5.  Knoppen
   6.  Touw-motief (rope-divider, knot-list, step-ring)
   7.  Header & navigatie
   8.  Hero
   9.  Sectie: waarom
   10. Sectie: aanbod
   11. Sectie: hoe het werkt
   12. Sectie: vertrouwen / autoriteit
   13. CTA-banner
   14. Footer
   15. Contactpagina (formulier)
   16. Utilities
   17. Responsive
   18. Toegankelijkheid (focus, reduced motion, skip-link)
   19. Blog
   ========================================================================== */

/* 1. Design tokens
   ========================================================================== */
:root {
  /* Kleuren */
  --white: #FFFFFF;
  --blue: #003360;          /* primair donkerblauw */
  --blue-800: #00284d;      /* donkerder blauw (hover / footer) */
  --blue-50: #eef3f8;       /* lichtblauwe tint (achtergrond) */
  --blue-100: #dbe6f0;      /* lichtblauw (randen op tint) */
  --red: #DF1E1E;           /* accentrood */
  --red-700: #b81717;       /* donkerder rood (hover) */
  --red-50: #fbeaea;        /* lichtrode tint */

  /* Tekstkleuren */
  --ink: #003360;           /* koppen */
  --body: #33475b;          /* lopende tekst */
  --muted: #5b6b7a;         /* gedempte tekst (contrast ≥ 4.5:1 op wit) */

  /* Randen & lijnen */
  --line: #d8e0e8;
  --line-strong: #b9c6d2;

  /* Typografie */
  --font-sans: "Segoe UI", "Segoe UI Variable", system-ui, -apple-system,
    "Helvetica Neue", Arial, sans-serif;

  /* Layout */
  --maxw: 1120px;
  --radius: 8px;
  --radius-sm: 6px;

  /* Schaduwen */
  --shadow-sm: 0 1px 2px rgba(0, 51, 96, 0.08);
  --shadow-md: 0 8px 24px rgba(0, 51, 96, 0.10);
  --shadow-lg: 0 16px 40px rgba(0, 51, 96, 0.14);

  /* Spacing-schaal */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
}

/* 2. Reset & basis
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

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

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  color: var(--red);
}

button {
  font: inherit;
  cursor: pointer;
}

/* 3. Typografie
   ========================================================================== */
h1,
h2,
h3,
h4 {
  color: var(--ink);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

h3 {
  font-size: 1.125rem;
}

p {
  max-width: 65ch;
}

/* 4. Layout
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.section {
  padding-block: var(--space-8);
}

.section--tint {
  background: var(--blue-50);
}

.section--blue {
  background: var(--blue);
  color: var(--white);
}

.section--blue h2,
.section--blue h3 {
  color: var(--white);
}

.section-head {
  max-width: 760px;
  margin-bottom: var(--space-6);
}

.section-head h2 {
  margin-bottom: var(--space-3);
}

.section-head p {
  color: var(--muted);
}

.section--blue .section-head p {
  color: rgba(255, 255, 255, 0.82);
}

/* 5. Knoppen
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8125rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  border: 2px solid transparent;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease,
    border-color 0.15s ease, transform 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn--accent {
  background: var(--red);
  color: var(--white);
}

.btn--accent:hover {
  background: var(--red-700);
  color: var(--white);
}

.btn--ghost {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}

.btn--ghost:hover {
  background: var(--blue);
  color: var(--white);
}

.btn--lg {
  padding: 1rem 1.75rem;
  font-size: 1.0625rem;
}

/* 6. Touw-motief
   ========================================================================== */
/* Divider tussen secties: lijn met een knoop in het midden */
.rope-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-block: var(--space-6);
  color: var(--red);
}

.rope-divider::before,
.rope-divider::after {
  content: "";
  flex: 1;
  height: 2px;
  border-radius: 1px;
  background: repeating-linear-gradient(
    -45deg,
    var(--red) 0 2px,
    transparent 2px 5px
  );
  opacity: 0.45;
}

.rope-divider__knot {
  flex: none;
  width: 22px;
  height: 22px;
}

/* Lijst met knoop-icoon in plaats van standaard bullet */
.knot-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--space-4);
}

.knot-list li {
  position: relative;
  padding-left: 2rem;
}

.knot-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3em;
  width: 1.25rem;
  height: 1.25rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23DF1E1E' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4a5 5 0 0 1 5 5c0 2-1.3 3-2.8 3.8L11 14.6'/%3E%3Cpath d='M12 4a5 5 0 0 0-5 5c0 2 1.3 3 2.8 3.8L13 14.6'/%3E%3Ccircle cx='12' cy='17.5' r='1.5' fill='%23DF1E1E' stroke='none'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/* 7. Header & navigatie
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition: box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-md);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  line-height: 0;
  text-decoration: none;
}

.brand__logo {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.brand__name {
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

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

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav__link {
  color: var(--white);
  font-weight: 500;
  font-size: 0.9375rem;
  padding: 0.25rem 0;
  position: relative;
}

.nav__link:hover {
  color: var(--white);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.18s ease;
}

.nav__link:hover::after,
.nav__link[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav__cta {
  padding: 0.625rem 1.25rem;
  font-size: 0.9375rem;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: var(--white);
  padding: 0.5rem;
  border-radius: var(--radius-sm);
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
}

.nav-toggle__icon {
  width: 24px;
  height: 24px;
}

/* 8. Hero
   ========================================================================== */
.hero {
  background: linear-gradient(180deg, #f4f8fb 0%, var(--white) 100%);
  padding-block: var(--space-8) var(--space-9);
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-7);
  align-items: center;
}

.hero__content {
  /* structurele wrapper voor de hero-tekst; geen eigen styling */
}

.hero h1 {
  margin-bottom: var(--space-4);
}

.hero__sub {
  font-size: 1.1875rem;
  color: var(--body);
  margin-bottom: var(--space-6);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-5);
  font-size: 0.875rem;
  color: var(--muted);
}

.hero__trust span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.hero__trust svg {
  width: 16px;
  height: 16px;
  color: var(--red);
  flex: none;
}

.hero__visual {
  display: flex;
  justify-content: center;
}

.hero__image {
  width: 100%;
  max-width: 520px;
  height: auto;
  border-radius: var(--radius);
  mix-blend-mode: multiply;
}

/* Afbeelding binnen een sectie (bijv. "Waarom") */
.section-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin-top: var(--space-6);
}

/* 9. Sectie: waarom
   ========================================================================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
}

.why-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-5);
  box-shadow: var(--shadow-sm);
}

.why-card h3 {
  margin-bottom: var(--space-2);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.why-card h3 svg {
  width: 20px;
  height: 20px;
  color: var(--red);
  flex: none;
}

.why-card p {
  color: var(--body);
  font-size: 0.96875rem;
}

.why-card p a {
  text-decoration: underline;
}

/* 10. Sectie: aanbod
   ========================================================================== */
.offer-list {
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5) var(--space-6);
}

.offer-list h3 {
  margin-bottom: var(--space-2);
}

.offer-list p {
  font-size: 0.96875rem;
}

/* 11. Sectie: hoe het werkt
   ========================================================================== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
  list-style: none;
  padding: 0;
}

.step {
  position: relative;
  padding-top: var(--space-2);
}

.step__number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--red);
  background: var(--white);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: var(--space-4);
}

.step h3 {
  margin-bottom: var(--space-2);
}

.step p {
  font-size: 0.9375rem;
}

/* 12. Sectie: vertrouwen / autoriteit
   ========================================================================== */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  margin-bottom: var(--space-7);
}

.trust-item {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: var(--space-5);
}

.trust-item h3 {
  color: var(--white);
  margin-bottom: var(--space-2);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.trust-item h3 svg {
  width: 20px;
  height: 20px;
  color: var(--red);
  flex: none;
}

.trust-item p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9375rem;
}

.quote {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.quote blockquote {
  font-size: 1.375rem;
  line-height: 1.5;
  color: var(--white);
  font-weight: 500;
  margin-bottom: var(--space-4);
}

.quote figcaption {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9375rem;
}

/* 13. CTA-banner
   ========================================================================== */
.cta-banner {
  background: var(--blue);
  color: var(--white);
  padding-block: var(--space-8);
}

.cta-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: var(--space-2);
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 52ch;
}

/* 14. Footer
   ========================================================================== */
.site-footer {
  background: var(--blue-800);
  color: var(--white);
  padding-block: var(--space-8) var(--space-6);
}

.site-footer a {
  color: rgba(255, 255, 255, 0.82);
}

.site-footer a:hover {
  color: var(--white);
}

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

.site-footer h2 {
  color: var(--white);
  font-size: 0.9375rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-4);
}

.site-footer__brand .brand__logo {
  margin-bottom: var(--space-4);
}

.site-footer__brand p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9375rem;
  max-width: 40ch;
}

.site-footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--space-2);
}

.site-footer__list a {
  font-size: 0.9375rem;
}

.site-footer__contact {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--space-2);
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.82);
}

.site-footer__contact li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}

.site-footer__contact svg {
  width: 16px;
  height: 16px;
  color: var(--red);
  flex: none;
  margin-top: 0.2em;
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: var(--space-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

.site-footer__legal {
  display: flex;
  gap: var(--space-5);
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer__legal a {
  font-size: 0.875rem;
}

/* 15. Contactpagina
   ========================================================================== */
.contact-hero {
  background: linear-gradient(180deg, #f4f8fb 0%, var(--white) 100%);
  padding-block: var(--space-7) var(--space-6);
}

.contact-hero h1 {
  margin-bottom: var(--space-3);
}

.contact-hero p {
  color: var(--body);
  font-size: 1.125rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-7);
  align-items: start;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
}

.contact-form h2 {
  margin-bottom: var(--space-2);
}

.contact-form__intro {
  color: var(--muted);
  margin-bottom: var(--space-5);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field label {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--ink);
}

.required {
  color: var(--red);
}

.form-field input,
.form-field textarea {
  font: inherit;
  color: var(--body);
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.875rem;
  width: 100%;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-field textarea {
  min-height: 140px;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--muted);
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 51, 96, 0.15);
}

.form-field input:user-invalid,
.form-field textarea:user-invalid,
.was-validated .form-field input:invalid,
.was-validated .form-field textarea:invalid {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(223, 30, 30, 0.12);
}

.form-hint {
  font-size: 0.8125rem;
  color: var(--muted);
}

.form-actions {
  margin-top: var(--space-5);
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.form-note {
  font-size: 0.8125rem;
  color: var(--muted);
}

.form-success {
  margin-top: var(--space-5);
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius-sm);
  padding: var(--space-4);
  color: var(--ink);
}

.form-success[hidden] {
  display: none;
}

.form-success h3 {
  margin-bottom: var(--space-1);
}

.form-success p {
  font-size: 0.9375rem;
}

.form-error {
  margin-top: var(--space-5);
  background: var(--red-50);
  border: 1px solid #f3c2c2;
  border-left: 4px solid var(--red);
  border-radius: var(--radius-sm);
  padding: var(--space-4);
  color: var(--ink);
}

.form-error[hidden] {
  display: none;
}

.form-error h3 {
  margin-bottom: var(--space-1);
}

.form-error p {
  font-size: 0.9375rem;
}

.form-error a {
  color: var(--blue);
  text-decoration: underline;
}

.contact-aside {
  display: grid;
  gap: var(--space-5);
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-5);
  box-shadow: var(--shadow-sm);
}

.contact-card h2 {
  font-size: 1.25rem;
  margin-bottom: var(--space-4);
}

.contact-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--space-4);
}

.contact-card__list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.contact-card__list svg {
  width: 20px;
  height: 20px;
  color: var(--red);
  flex: none;
  margin-top: 0.15em;
}

.contact-card__list strong {
  display: block;
  color: var(--ink);
  font-size: 0.9375rem;
}

.contact-card__list span {
  color: var(--body);
  font-size: 0.9375rem;
}

.contact-card__list a {
  color: var(--blue);
}

.contact-card__list a:hover {
  color: var(--red);
}

/* 16. 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;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100%;
  z-index: 100;
  background: var(--red);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
  color: var(--white);
}

/* 17. Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    order: -1;
  }

  .hero__image {
    max-width: 100%;
  }

  .why-grid,
  .offer-list {
    grid-template-columns: 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--blue);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--space-4) 1.5rem var(--space-5);
    box-shadow: var(--shadow-md);
    display: none;
  }

  .nav.is-open {
    display: flex;
  }

  .nav__links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav__link {
    display: block;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .nav__link::after {
    display: none;
  }

  .nav__cta {
    margin-top: var(--space-4);
    justify-content: center;
  }

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

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

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

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

  .cta-banner__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* 18. Toegankelijkheid
   ========================================================================== */
:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* 19. Blog
   ========================================================================== */
.blog-hero {
  background: linear-gradient(180deg, #f4f8fb 0%, var(--white) 100%);
  padding-block: var(--space-7) var(--space-6);
}

.blog-hero h1 {
  margin-bottom: var(--space-3);
}

.blog-hero p {
  color: var(--body);
  font-size: 1.125rem;
}

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

.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-5);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

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

.blog-card__date {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-bottom: var(--space-2);
}

.blog-card h2 {
  font-size: 1.25rem;
  margin-bottom: var(--space-2);
}

.blog-card h2 a {
  color: var(--ink);
}

.blog-card h2 a:hover {
  color: var(--red);
}

.blog-card p {
  font-size: 0.9375rem;
  color: var(--body);
  flex-grow: 1;
}

.blog-card__more {
  margin-top: var(--space-4);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.blog-card__more:hover {
  color: var(--red);
}

/* Enkel blogartikel */
.blog-post {
  max-width: 720px;
  margin-inline: auto;
}

.blog-post__back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--blue);
  margin-bottom: var(--space-5);
}

.blog-post__back:hover {
  color: var(--red);
}

.blog-post h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-bottom: var(--space-4);
}

.blog-post__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-4);
  color: var(--muted);
  font-size: 0.875rem;
  margin-bottom: var(--space-6);
}

.blog-post__body {
  font-size: 1.0625rem;
  color: var(--body);
}

.blog-post__body h2 {
  margin-top: var(--space-7);
  margin-bottom: var(--space-3);
}

.blog-post__body h3 {
  margin-top: var(--space-6);
  margin-bottom: var(--space-2);
}

.blog-post__body p {
  margin-bottom: var(--space-4);
  max-width: none;
}

.blog-post__body ul,
.blog-post__body ol {
  margin-bottom: var(--space-4);
  padding-left: 1.5rem;
}

.blog-post__body li {
  margin-bottom: var(--space-2);
}

.blog-post__body blockquote {
  border-left: 4px solid var(--red);
  padding-left: var(--space-4);
  margin: var(--space-6) 0;
  color: var(--ink);
  font-style: italic;
}

.blog-post__body blockquote p {
  margin-bottom: 0;
}

.blog-post__body a {
  text-decoration: underline;
}

.blog-post__note {
  font-size: 0.875rem;
  color: var(--muted);
  border-left: 3px solid var(--line);
  padding-left: var(--space-4);
  margin-top: var(--space-6);
}

@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}
