@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;800&display=swap');

:root{
  --color-bg: #ffffff;
  --color-surface: #FFFFFF;
  --color-text: #0B1320;
  --color-muted: #55616A;
  --color-primary: #0A4D7A; /* deep slate blue */
  --color-accent: #0E6CA8; /* slightly brighter accent */
  --color-card-light: #EAF6FF; /* soft light-blue for card backgrounds */
  --color-secondary: #F5A623; /* warm amber */
  --radius: 12px;
  --max-width: 1060px;
  --shadow-1: 0 6px 20px rgba(11,19,32,0.06);
  --shadow-2: 0 12px 40px rgba(11,19,32,0.08);
  --zigzag-edge: 40px; /* gutter between panel and viewport edge */
  --main-vertical-padding: 18px; /* used to align full-bleed panels with main padding */
  --site-header-top: 18px;
  --site-header-bottom: 18px;
  /* Logo sizing and spacing -- tweak these to adjust header logo appearance */
  --logo-size-sm: 56px;
  --logo-size-md: 64px;
  --logo-size-lg: 84px;
  --logo-border-width: 1px;
  --logo-padding: 4px;
  --logo-spacing-to-edge: 8px; /* space between logo border and header edge on wide screens */
}

/* Reset-ish */
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background:var(--color-bg);
  color:var(--color-text);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  -webkit-font-feature-settings: "cv01";
  font-feature-settings: "cv01";
}

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

/* Header */
.site-header{background:linear-gradient(90deg, var(--color-primary), var(--color-accent));color:white;padding:var(--site-header-top) 0 var(--site-header-bottom) 0;box-shadow:var(--shadow-1);position:relative;z-index:5;}
.site-header{backdrop-filter: blur(4px);}
.site-header .header-inner{display:flex;align-items:center;justify-content:space-between;gap:14px;}
.header-left{flex:0 0 auto}
.header-right{flex:1 1 auto;text-align:right}
.header-logo{width:var(--logo-size-sm);height:var(--logo-size-sm);display:block;border-radius:20%;border:var(--logo-border-width) solid rgba(255,255,255,0.12);background:white;padding:var(--logo-padding);box-shadow:0 4px 12px rgba(0,0,0,0.06)}
.site-title{margin:0;font-size:1.2rem;letter-spacing:-0.5px;color:white}
.site-tagline{margin:6px 0 0;color:rgba(255,255,255,0.9);font-weight:400}

/* Header compact on small screens */
@media(max-width:600px){
  .site-header .header-inner{flex-direction:row;align-items:center;}
  .header-right{font-size:0.95rem}
}

 
/* Landing specifics */
.hero{
  display:flex;flex-direction:column;gap:18px;background:linear-gradient(180deg, rgba(255,255,255,0.98), rgba(250,251,253,0.95));border-radius:calc(var(--radius) + 4px);padding:28px;box-shadow:var(--shadow-2);margin-top:-36px;position:relative;z-index:2;border:1px solid rgba(11,19,32,0.03)
}
.hero h2{margin:0;font-size:1.6rem;color:var(--color-primary)}
.hero p{margin:0}
.hero .meta{color:var(--color-muted);font-size:0.98rem}

.faq-grid{
  display:grid;
  grid-template-columns:repeat(1,1fr);
  gap:14px;
  margin-top:18px;
}

/* Tile/button-like FAQ cards: mobile 1 column, tablet 2 columns, desktop 3 columns */
.faq-grid a{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:18px 16px;
  background:var(--color-surface);
  color:var(--color-primary);
  text-decoration:none;
  border-radius:14px;
  border:1px solid rgba(11,19,32,0.04);
  box-shadow: 0 8px 26px rgba(11,19,32,0.06);
  font-weight:650;
  transition: transform .16s cubic-bezier(.2,.9,.2,1), box-shadow .16s ease, background-color .12s ease, color .12s ease;
  text-align:center;
}

.faq-grid a:hover,
.faq-grid a:focus{
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(11,19,32,0.08);
  background: linear-gradient(180deg, rgba(10,77,122,0.03), rgba(245,166,35,0.02));
  color:var(--color-primary);
}

.faq-grid a:active{
  transform: translateY(-1px) scale(0.998);
}

/* Ensure long titles wrap nicely and keep a consistent height feel */
.faq-grid a{min-height:72px;padding:18px}
.faq-grid a small{display:block;color:var(--color-muted);font-weight:400;margin-top:6px}

/* Icon inside tiles */
.faq-grid .tile-icon{
  width:36px;height:36px;margin-right:10px;flex:0 0 auto;border-radius:14%;
}
.faq-grid .tile-label{display:block}

/* For the category page header icon */
.category-icon{width:56px;height:56px;vertical-align:middle;margin-right:12px;border-radius:14%}

.category-header{display:flex;align-items:center;gap:14px;margin-bottom:12px}
.category-header h1{margin:0;font-size:1.6rem;color:var(--color-primary)}
.category-subtitle{margin:6px 0 0;color:var(--color-muted);font-size:1rem}
.category-description{margin-top:10px}

/* Make tile content horizontal on larger screens */
@media(min-width:600px){
  .faq-grid a{flex-direction:row}
}

/* Category / list appearance */
section h3{margin-top:0;color:var(--color-primary)}
/* Specific styling for the 'Veelgestelde vragen' / recent list */
/* Make the recent list visually connect with the hero: transparent background with slight overlap */
.faq-list{background:transparent;padding-top:22px;padding-bottom:28px;margin-top:calc(-1 * var(--main-vertical-padding) - 12px);margin-bottom:20px;border-radius:0}
/* align the inner container with the about-hero padding so the section connects visually */
.faq-list .container{max-width:var(--max-width);margin:0 auto;padding-left:clamp(12px,4vw,48px);padding-right:clamp(12px,4vw,48px)}
/* make the recent heading match the visual weight and size of the category grid heading */
.faq-list h3{margin:6px 0 12px;text-align:center;font-size:1.45rem;font-weight:700;color:var(--color-primary)}
ul.post-list{list-style:none;padding:0;margin:12px 0 0}
/* Each post becomes a slightly elevated card with the title and date aligned on one row, excerpt below */
/* Make recent question cards stand out against the very white site background.
   Use a soft tinted card background with a colored left accent and subtle lift on hover. */
ul.post-list li{
  background:var(--color-card-light); /* soft blue tint defined in :root */
  border-radius:10px;
  padding:16px;
  margin-bottom:14px;
  box-shadow:0 6px 18px rgba(11,19,32,0.04);
  border: none;
  border-left: 4px solid var(--color-primary);
  transition: transform .16s cubic-bezier(.2,.9,.2,1), box-shadow .12s ease;

  display: grid;
  grid-template-columns: 1fr min-content;
  grid-template-rows: auto 1fr;
  gap:10px 16px;
  align-items: start;
}
ul.post-list li:hover{transform: translateY(-4px);box-shadow:0 10px 28px rgba(11,19,32,0.06)}
ul.post-list li .post-meta{display:flex;align-items:center;justify-content:space-between;gap:12px}
/* Title spans full width above excerpt */
.post-item .post-title{grid-column: 1 / 2;}
.post-item .post-title a{font-weight:700;color:var(--color-primary);text-decoration:none}
.post-item .post-title a:hover{text-decoration:underline}

/* Excerpt sits in the left column on the second row */
.post-item .post-excerpt{grid-column: 1 / 2;grid-row: 2;margin:10px 0 0;color:var(--color-muted)}

/* Date sits in the right column on the first row so it aligns with the title */
.post-item .post-date{grid-column: 2 / 3;grid-row: 1;align-self:start;justify-self:end;color:var(--color-muted);font-size:0.95rem;white-space:nowrap}
@media(max-width:600px){
  /* Collapse grid to single column on small screens */
  ul.post-list li{display:block;padding:14px}
  .post-item .post-title{grid-column:auto}
  .post-item .post-excerpt{margin-top:8px}
  .post-item .post-date{display:block;margin-top:8px;text-align:right;white-space:normal}
}

/* Match heading size increase on wide screens like the faq-grid heading */
@media (min-width: 1024px) {
  .faq-list h3 { font-size: 1.6rem; }
}

article{background:var(--color-surface);padding:20px;}

/* Article / post specific improvements */
.faq-article{background:var(--color-surface);padding:28px;margin-bottom:18px}
.post-header{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:14px}
.post-header h2{margin:0;font-size:1.8rem;color:var(--color-primary)}
.post-meta{color:var(--color-muted);font-size:0.95rem}
.faq-post-categories{margin-top:28px}
.faq-post-categories .tag{display:inline-block;background:transparent;padding:6px 10px;border-radius:999px;border:1px solid rgba(11,19,32,0.06);margin-right:6px;color:var(--color-primary);text-decoration:none}
.back-link{margin-top:16px}
.back-link a{color:var(--color-primary);text-decoration:none;font-weight:600}
.back-link a:hover{text-decoration:underline}

/* Slightly tighten content font-size for readability */
.post-content p{margin:0 0 14px}
.post-content{margin-bottom:36px}

/* Excerpt shown at the top of an article (front-matter excerpt) */
.faq-article .post-excerpt{margin:0 0 24px;color:var(--color-muted);font-size:1rem;font-style:italic}

@media(max-width:600px){
  .post-header{align-items:flex-start}
  .post-header h2{font-size:1.45rem}
}

/* When the recent/related list is shown inside an article, visually separate it
   from the article content with a subtle divider and different heading alignment. */
.faq-article > .faq-list{margin-top:30px;padding-top:22px;border-top:1px solid rgba(11,19,32,0.06)}
.faq-article > .faq-list .container{padding-left:0;padding-right:0}
.faq-article > .faq-list h3{font-size:1.15rem;text-align:left;margin:0 0 14px;color:var(--color-primary);font-weight:700}
.faq-article > .faq-list ul.post-list{margin-top:6px}

@media(max-width:700px){
  /* keep heading centered on narrow screens for symmetry */
  .faq-article > .faq-list h3{text-align:center}
}

footer{text-align:center;margin-top:28px;padding:24px 0;color:var(--color-muted);font-size:0.9rem}

/* Buttons and links */
.btn{display:inline-block;padding:8px 14px;border-radius:8px;text-decoration:none;font-weight:600}
.btn-primary{background:var(--color-primary);color:white}
.btn-ghost{background:transparent;border:1px solid rgba(11,19,32,0.06);color:var(--color-primary)}

/* responsive */
@media (min-width: 600px) {
  /* switch to 2 columns on medium widths (tablets / narrow desktops) */
  .faq-grid{grid-template-columns:repeat(2,1fr)}
  /* slightly larger logo on medium screens */
  .header-logo{width:var(--logo-size-md);height:var(--logo-size-md)}
}

@media(min-width:1024px){
  /* full 3-column layout on wider screens */
  .faq-grid{grid-template-columns:repeat(3,1fr)}
  .site-title{font-size:1.4rem}
  /* Larger logo on wide screens, keep spacing from header edges */
  .header-logo{width:var(--logo-size-lg);height:var(--logo-size-lg);padding:var(--logo-padding)}
  .site-header{padding:var(--site-header-top) 0 calc(var(--site-header-bottom) + var(--logo-spacing-to-edge)) 0}
}

@media(min-width:1080px){
  :root{--max-width:1060px}
  .hero{padding:28px}
}

/* Accessibility helpers */
a{color:var(--color-primary)}
a:focus{outline:3px solid rgba(10,77,122,0.12);outline-offset:3px}

/* small print */
.muted{color:var(--color-muted);font-size:0.95rem}

/* utilities */
.center{text-align:center}

/* Ensure images scale */
img{max-width:100%;height:auto;border-radius:6px}

/* Make code and pre look clean */
pre,code{font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, 'Roboto Mono', monospace;background:#f6f8fa;padding:4px;border-radius:6px}

/* Minor print tweaks for lists on landing */
.landing-list{margin:12px 0 0;padding-left:18px}

/* Small tweak for the FAQ post back link */
footer a{color:var(--color-primary);text-decoration:none}

/* Zig-zag layout for FAQ categories (alternating left/right) */
.faq-zigzag{display:block;margin-top:18px}

/* Each row stretches full-viewport so the colored panel can touch the browser edge. The .zigzag-item itself is a centered panel within the full-bleed row. */
.faq-zigzag .zigzag-row{width:100vw;position:relative;left:50%;margin-left:-50vw;display:flex;padding:0 var(--zigzag-edge);margin-bottom:18px}
.faq-zigzag .zigzag-row .zigzag-item{display:flex;flex-direction:column;align-items:stretch;gap:12px;text-decoration:none;transition:transform .18s cubic-bezier(.2,.9,.2,1),box-shadow .12s ease,padding .12s ease;border-radius:12px;min-height:72px}
.faq-zigzag .zigzag-row .tile-icon{width:44px;height:44px;border-radius:14%;flex:0 0 auto;background:rgba(255,255,255,0.06)}
.faq-zigzag .zigzag-row .tile-label{font-weight:700;font-size:1.05rem}
.faq-zigzag .zigzag-row .tile-text{display:flex;flex-direction:column;align-items:flex-start}
.faq-zigzag .zigzag-row .tile-subtitle{font-weight:500;margin-top:6px;font-size:0.92rem}

/* Recent posts list inside each tile */
.faq-zigzag .tile-recent{list-style:none;padding:6px 0 0;margin:8px 0 0}
.faq-zigzag .tile-recent li{margin:6px 0}
.faq-zigzag .tile-recent a{
  color:inherit;
  text-decoration:none;
  font-weight:400;
  font-size:0.95rem;
  display:block;
  opacity:0.95;
  padding:2px 0;
}
.faq-zigzag .tile-recent a:hover{opacity:1;text-decoration:underline}

/* Make the header area fully clickable and visually padded */
.faq-zigzag .tile-head{display:block;width:100%;padding:6px 0;margin-bottom:6px}
.faq-zigzag .tile-head .tile-text{margin-left:8px}

/* Subtle separator between header and recent list */
.faq-zigzag .tile-divider{height:1px;background:rgba(255,255,255,0.08);margin:6px 0;border-radius:1px}

/* Tuck icons closer to the panel edge for odd (left) panels */
.faq-zigzag .zigzag-row:nth-child(odd) .tile-head .tile-icon{margin-left:-10px}
.faq-zigzag .zigzag-row:nth-child(odd) .tile-head{padding-left:14px}

/* For even (right) panels, tuck icon on the right edge */
.faq-zigzag .zigzag-row:nth-child(even) .tile-head .tile-icon{margin-right:-10px}
.faq-zigzag .zigzag-row:nth-child(even) .tile-head{padding-right:14px}

/* Recent links alignment: left panels left-align, right panels right-align */
.faq-zigzag .zigzag-row:nth-child(odd) .tile-recent{padding-left:6px;text-align:left}
.faq-zigzag .zigzag-row:nth-child(odd) .tile-recent a{display:block}
.faq-zigzag .zigzag-row:nth-child(even) .tile-recent{padding-right:6px;text-align:right}
.faq-zigzag .zigzag-row:nth-child(even) .tile-recent a{display:inline-block}
.faq-zigzag .tile-head{display:flex;align-items:center;text-decoration:none;color:inherit}
.faq-zigzag .tile-head .tile-text{margin-left:8px}

/* Mobile: full-width stacked cards (inside normal centered container) */
.faq-zigzag .zigzag-row .zigzag-item{width:100%;background:var(--color-surface);color:var(--color-primary);border:1px solid rgba(11,19,32,0.04);box-shadow:0 6px 18px rgba(11,19,32,0.04);border-radius:12px}
.faq-zigzag .zigzag-row .zigzag-item:hover{transform:translateY(-3px);box-shadow:0 10px 28px rgba(11,19,32,0.06)}

/* Larger screens: alternate left/right, touch viewport side, inner (center) rounded corners */
@media(min-width:700px){
  /* narrower, more centered panels with rounded corners and animation */
  /* slightly narrower panels so we can overlap rows in the center */
  .faq-zigzag .zigzag-row .zigzag-item{width:calc(58% - var(--zigzag-edge));border-radius:20px;box-shadow:none;padding:22px 28px;color:white;opacity:0;transform:translateX(0)}

  /* odd rows: panel on the left, touching left viewport edge */
  .faq-zigzag .zigzag-row:nth-child(odd){justify-content:flex-start}
  .faq-zigzag .zigzag-row:nth-child(odd) .zigzag-item{background:var(--color-primary);border-radius:20px;justify-content:flex-start;padding-left:calc(var(--zigzag-edge) + 12px);padding-right:28px;animation: slideInFromLeft .48s ease forwards}

  /* even rows: panel on the right, touching right viewport edge */
  .faq-zigzag .zigzag-row:nth-child(even){justify-content:flex-end}
  .faq-zigzag .zigzag-row:nth-child(even) .zigzag-item{background:var(--color-secondary);border-radius:20px;justify-content:flex-end;padding-right:calc(var(--zigzag-edge) + 12px);padding-left:28px;animation: slideInFromRight .48s ease forwards}

  /* make subsequent rows overlap the previous one slightly (center seam overlap)
     newer rows should appear above older rows so they visually sit on top */
  .faq-zigzag .zigzag-row:not(:first-child){
    margin-top: -28px; /* pull up over the previous row */
    margin-bottom: 18px; /* preserve breathing below */
    z-index: 2; /* stack on top of earlier rows */
  }

  /* Position icons consistently: left panels (odd) show icon on left, right panels (even) show icon on right */
  .faq-zigzag .zigzag-row .tile-icon{order:0;margin:0 12px 0 0}
  .faq-zigzag .tile-head{display:flex;align-items:center;gap:12px}
  .faq-zigzag .zigzag-row:nth-child(even) .tile-head{flex-direction:row-reverse}
  .faq-zigzag .zigzag-row:nth-child(even) .tile-icon{margin:0 0 0 12px}
  .faq-zigzag .tile-text{text-align:left}

  /* Add horizontal padding to header-inner on medium screens so the
     logo and title have the same breathing room as .about-text uses. This
     prevents the header content from sitting flush to the viewport edge
     when the centered container becomes full-width on narrower viewports. */
  .site-header .header-inner{
    padding-left: clamp(12px, 4vw, 48px);
    padding-right: clamp(12px, 4vw, 48px);
  }

  /* make icons sit well on the colored backgrounds */
  .faq-zigzag .zigzag-row .tile-icon{background:rgba(255,255,255,0.12);filter:none}
  .faq-zigzag .zigzag-row .tile-icon{width:48px;height:48px;border-radius:14%}
  /* if icons are darker, invert them on colored backgrounds for contrast */
  .faq-zigzag .zigzag-row:nth-child(odd) .tile-icon,
  .faq-zigzag .zigzag-row:nth-child(even) .tile-icon{filter: invert(1) saturate(0) brightness(2)}
  .faq-zigzag .zigzag-row:nth-child(odd) .tile-subtitle,
  .faq-zigzag .zigzag-row:nth-child(even) .tile-subtitle{color:rgba(255,255,255,0.92)}
}

/* Ensure the text inside panels is consistently left-aligned for both left and right panels */
.faq-zigzag .zigzag-row .tile-text{text-align:left}

/* About / Over mij tweaks */
.about-hero{
  /* make the visual span the full viewport width while keeping the
     textual content centered and constrained. We use the full-bleed
     pattern (left 50% / negative margin) similar to .faq-bleed. */
  width:100vw;
  position:relative;
  left:50%;
  margin-left:-50vw;
  background: transparent;
  border:0;
  box-shadow:none;
  padding:18px 0; /* horizontal padding applied inside .about-grid */
  /* no negative margin when hero is placed after the header; instead
     the decorative pseudo-element will extend upward behind the
     header so the visual touches the header edge without overlapping
     the header content. */
  margin-top: 0;
  overflow:visible; /* allow pseudo-elements to show at edges */
}


/* background image layer (flippable & scalable) */
.about-hero::before {
  content: "";
  position: absolute;
  /* extend the visual upward behind the header by the header's
     bottom padding so the background appears to touch the header
     while the hero's content remains below the header in flow */
  left: 0;
  right: 0;
  top: calc(-1 * var(--site-header-bottom));
  bottom: 0;

  /* Both gradient layers + image */
  background-image:
    linear-gradient(
      to right,
      rgba(196, 203, 255, 0.463) 15%,
      rgba(220, 228, 254, 0.399) 35%,
      rgba(255,255,255,0.8) 60%
    ),
    /* allow an override via --about-hero-image (set inline on the element) */
    var(--about-hero-image, url('https://www.halemonico.com/wp-content/uploads/2024/12/iStock-483348551.jpg'));

  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;

  /* Blend the top 2 gradients over the image */
  background-blend-mode: normal, multiply;

  transform-origin: center center;
  transform: scaleX(-1);

  z-index: 0;
  min-width: 100vw;
  min-height: 100%;
}




/* Constrain the inner content so text stays readable and aligned with
   the site's central column. This keeps the background full-bleed but
   the text within a normal container. */
.about-hero .about-grid{
  max-width:var(--max-width);
  margin:0 auto;
  padding-left:clamp(12px,4vw,48px);
  padding-right:clamp(12px,4vw,48px);
  display:flex;
  align-items:center;
  gap:20px;
  flex-direction:column; /* stack on small screens */
  position:relative; /* sit above pseudo-elements */
  z-index:2;
}

/* Remove any rounded corners for the full-bleed background so the image
   spans edge-to-edge with square corners. Also ensure children don't clip
   the image. */
.about-hero,
.about-hero .about-grid{
  border-radius: 0;
  overflow: visible;
}
.about-hero .about-grid{display:flex;align-items:center;gap:20px;flex-direction:column}
.about-hero .about-text{max-width:720px}
.about-hero .about-text{font-family: inherit;}
.about-hero .about-text h2{font-weight:700;font-size:1.8rem;color:var(--color-primary);margin:0 0 8px}
.about-hero .about-text h2, h2{
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--color-primary);
  margin: 0 0 8px;
}
.about-hero .about-text p.muted{color:var(--color-muted);font-size:1rem;margin:6px 0}
.about-hero .about-media{display:flex;align-items:center;justify-content:center}
.about-hero .about-image{width:220px;max-width:40vw;object-fit:contain;background:transparent;border:0;box-shadow:none;display:block;border-radius:0}

@media(min-width:700px){
  .about-hero .about-grid{flex-direction:row}
  .about-hero .about-text{flex:1}
  .about-hero .about-media{flex:0 0 260px}
  .about-hero .about-image{width:260px}
}

@media(max-width:699px){
  .about-hero{padding:12px 0}
  .about-hero .about-image{width:180px}
}

/* On very wide screens prefer a centered 70% column so the main content breathes */
@media (min-width: 1400px) {
  .container {
    width: 70%;
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    padding-left: 28px;
    padding-right: 28px;
  }
}



/* Slightly increase space between icon and label for readability */
.faq-zigzag .zigzag-row .tile-icon{margin-right:14px}

/* Respect user reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .faq-zigzag .zigzag-row .zigzag-item,
  .faq-zigzag .zigzag-row .zigzag-item * {
    animation: none !important;
    transition: none !important;
  }
  .faq-zigzag .zigzag-row .zigzag-item{opacity:1;transform:none}
}

/* Animations for zig-zag float-in */
@keyframes slideInFromLeft {
  from { transform: translateX(-18px); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}
@keyframes slideInFromRight {
  from { transform: translateX(18px); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}


/* restore visual niceties on very wide screens */
@media(min-width:1080px){
  .faq-zigzag .zigzag-item{width:66%}
  .faq-zigzag .zigzag-item:nth-child(odd){padding-left:48px}
  .faq-zigzag .zigzag-item:nth-child(even){padding-right:48px}
}

/* Mobile improvements: larger touch targets, stacked zig-zag, tighter header */
@media (max-width: 699px) {
  /* Slightly bigger base font and more comfortable line-length */
  html { font-size: 16px; }

  /* Header: stack and center items, reduce clutter */
  .site-header { --site-header-top: 12px; --site-header-bottom: 20px; }
  .site-header .header-inner { flex-direction: column; align-items: center; gap: 8px; padding: 0 12px; }
  .header-right { text-align: center; font-size: 0.98rem; }
  .site-title { font-size: 1.15rem; }

  /* Hero: tighter padding, keep readable line-length */
  .hero { padding: 18px; margin-top: -16px; }
  .hero h2 { font-size: 1.4rem; }

  /* FAQ grid: bigger tap areas and clearer spacing */
  .faq-grid a { padding: 20px; min-height: 88px; font-size: 1rem; border-radius: 12px; }
  .faq-grid .tile-icon { width: 44px; height: 44px; margin-right: 12px; }

  /* Zig-zag: stop full-bleed behavior on small screens and stack cards inside container */
  .faq-zigzag .zigzag-row { width: auto; position: relative; left: auto; margin-left: 0; padding: 0 12px; }
  .faq-zigzag .zigzag-row .zigzag-item {
    width: 100%;
    background: var(--color-surface);
    color: var(--color-primary);
    border-radius: 12px;
    box-shadow: 0 10px 22px rgba(11,19,32,0.06);
    padding: 18px;
    opacity: 1 !important;
    transform: none !important;
  }
  .faq-zigzag .zigzag-row:not(:first-child) { margin-top: 12px; }

  /* Recent links and touch targets inside the tile */
  .faq-zigzag .tile-recent a { padding: 6px 0; font-size: 0.98rem; display: block; }

  /* About image: scale to fit nicely on phones */
  .about-hero .about-image { width: 48%; max-width: 220px; }

  /* Container spacing for small screens */
  .container { padding-left: 16px; padding-right: 16px; }

  /* Ensure reduced motion respects user's preference while allowing immediate visibility */
  @media (prefers-reduced-motion: reduce) {
    .faq-zigzag .zigzag-row .zigzag-item { animation: none !important; transition: none !important; }
  }
}
