* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--color-background);
  color: var(--color-text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a {
  color: var(--color-primary);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.container {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.logo {
  font-weight: 800;
  color: var(--color-primary);
  text-decoration: none;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

nav a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
}

.main-content {
  padding: 56px 0;
}

.hero,
.page-header,
.section-block,
.article,
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(22, 56, 44, 0.08);
}

.hero {
  padding: clamp(32px, 6vw, 72px);
  background:
    radial-gradient(circle at top right, var(--color-accent-soft), transparent 40%),
    var(--color-surface);
}

.hero h1,
.page-header h1 {
  color: var(--color-primary);
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.05;
  margin: 0 0 18px;
}

.section-block,
.article,
.page-header {
  padding: 32px;
  margin-top: 32px;
}

.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.section-heading h2 {
  margin: 0;
  color: var(--color-primary);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.card {
  padding: 24px;
}

.card h2,
.card h3 {
  color: var(--color-primary);
  margin-top: 0;
}

.meta {
  color: var(--color-muted);
  font-size: 0.92rem;
  margin-top: 0;
}

.read-more,
.button {
  display: inline-flex;
  align-items: center;
  margin-top: 10px;
  background: var(--color-primary);
  color: white;
  border-radius: 999px;
  padding: 10px 16px;
  text-decoration: none;
  font-weight: 700;
}

.content-body {
  max-width: 760px;
}

.site-footer {
  border-top: 1px solid var(--color-border);
  background: var(--color-primary);
  color: white;
  padding: 28px 0;
}

.site-footer a {
  color: white;
}

@media (max-width: 760px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    gap: 10px;
  }

  .main-content {
    padding: 32px 0;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 32px;
}

.highlight-card {
  display: block;
  padding: 22px;
  border-radius: 20px;
  background: var(--color-accent-soft);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.highlight-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(22, 56, 44, 0.12);
}

.highlight-card span {
  display: block;
  color: var(--color-primary);
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.highlight-card p {
  margin: 0;
  color: var(--color-text);
}

/* Services module */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  padding: 24px;
  border: 1px solid var(--color-border, #e5e7eb);
  border-radius: 22px;
  background: var(--color-surface, #fff);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.service-card h2 {
  margin-top: 0;
}

.service-excerpt {
  color: var(--color-muted, #5f6b66);
}

.service-card-footer {
  display: grid;
  gap: 18px;
}

.service-price,
.service-price-box {
  display: grid;
  gap: 4px;
  padding: 16px;
  border: 1px solid var(--color-border, #e5e7eb);
  border-radius: 18px;
  background: var(--color-accent-soft, #ede7f6);
}

.service-price span,
.service-price-box span {
  color: var(--color-muted, #5f6b66);
  font-size: 0.9rem;
}

.service-price strong,
.service-price-box strong {
  color: var(--color-primary, #16382c);
  font-size: 1.25rem;
}

.service-price small,
.service-price-box p {
  margin: 0;
  color: var(--color-muted, #5f6b66);
}

.service-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 36px;
  align-items: start;
}

.service-sidebar {
  position: sticky;
  top: 24px;
  display: grid;
  gap: 16px;
}

.service-cta {
  width: 100%;
  text-align: center;
}

.back-link {
  margin-bottom: 24px;
}

@media (max-width: 800px) {
  .service-detail-grid {
    grid-template-columns: 1fr;
  }

  .service-sidebar {
    position: static;
  }
}


/* Contact form */
.contact-form-section {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--color-border, #e5e7eb);
}

.contact-form {
  display: grid;
  gap: 18px;
  max-width: 720px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-border, #e5e7eb);
  border-radius: 14px;
  font: inherit;
  background: #fff;
}

.contact-form textarea {
  resize: vertical;
}

.hp-field {
  position: absolute;
  left: -9999px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin: 0 0 18px;
  padding: 14px 16px;
  border-radius: 14px;
  font-weight: 700;
}

.form-status.success {
  border: 1px solid #b7e4c7;
  background: #ecfdf3;
}

.form-status.error {
  border: 1px solid #fecaca;
  background: #fff1f2;
}

/* ------------------------------------------------------------
   Public theme polish - hvvliet.nl
------------------------------------------------------------ */

:root {
  --site-bg: #f7f4fa;
  --site-surface: #ffffff;
  --site-surface-soft: #eee7f5;
  --site-fg: #10251c;
  --site-muted: #59665f;
  --site-line: rgba(16, 37, 28, 0.10);
  --site-green: #0f3b2b;
  --site-green-dark: #0b2d21;
  --site-lilac: #eee7f5;
  --site-radius: 22px;
  --site-shadow: 0 14px 38px rgba(16, 37, 28, 0.07);
}

/* Algemene ritmiek */
body {
  background: var(--site-bg);
  color: var(--site-fg);
}

main {
  width: min(960px, calc(100vw - 32px));
  margin-inline: auto;
  padding: 54px 0 64px;
}

section {
  margin-block: 0 34px;
}

.page-hero,
.hero,
.archive-hero,
.posts-hero,
.services-hero {
  margin-bottom: 34px;
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid var(--site-line);
  border-radius: var(--site-radius);
  background: var(--site-surface);
  box-shadow: var(--site-shadow);
}

.page-hero h1,
.hero h1,
.archive-hero h1,
.posts-hero h1,
.services-hero h1 {
  margin: 0 0 12px;
  color: var(--site-green);
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.page-content,
.content-body {
  max-width: 820px;
}

/* Publicaties: gelijke kaarten en knoppen onderaan */
.posts-grid,
.post-grid,
.article-grid,
.publications-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
  margin-top: 30px;
}

.post-card,
.article-card,
.publication-card,
.posts-grid article,
.post-grid article,
.article-grid article,
.publications-grid article {
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 24px;
  border: 1px solid var(--site-line);
  border-radius: 18px;
  background: var(--site-surface);
  box-shadow: var(--site-shadow);
}

.post-card h2,
.article-card h2,
.publication-card h2,
.posts-grid article h2,
.post-grid article h2,
.article-grid article h2,
.publications-grid article h2 {
  margin: 0 0 14px;
  color: var(--site-green);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.post-card p,
.article-card p,
.publication-card p,
.posts-grid article p,
.post-grid article p,
.article-grid article p,
.publications-grid article p {
  color: var(--site-muted);
}

.post-card .button,
.post-card .btn,
.post-card a.button,
.article-card .button,
.article-card .btn,
.article-card a.button,
.publication-card .button,
.publication-card .btn,
.publication-card a.button,
.posts-grid article > a:last-child,
.post-grid article > a:last-child,
.article-grid article > a:last-child,
.publications-grid article > a:last-child {
  margin-top: auto;
  align-self: flex-start;
}

/* Diensten: ook als kaarten */
.services-list,
.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 30px;
}

.service-card,
.service-item,
.services-list article,
.service-list article,
.services-list > div,
.service-list > div {
  padding: 26px;
  border: 1px solid var(--site-line);
  border-radius: 18px;
  background: var(--site-surface);
  box-shadow: var(--site-shadow);
}

.service-card h2,
.service-item h2,
.services-list h2,
.service-list h2,
.services-list h3,
.service-list h3 {
  margin-top: 0;
  color: var(--site-green);
  font-size: 1.45rem;
  letter-spacing: -0.025em;
}

.service-actions,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

/* Buttons uniform */
.button,
.btn,
a.button,
a.btn,
button,
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border: 0;
  border-radius: 999px;
  background: var(--site-green);
  color: #fff;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.button:hover,
.btn:hover,
a.button:hover,
a.btn:hover,
button:hover,
input[type="submit"]:hover {
  background: var(--site-green-dark);
}

/* Contactformulier */
.contact-form,
form[action="/forms/contact"] {
  display: grid;
  gap: 16px;
  max-width: 720px;
  margin-top: 24px;
  padding: 26px;
  border: 1px solid var(--site-line);
  border-radius: 18px;
  background: var(--site-surface);
  box-shadow: var(--site-shadow);
}

.contact-form label,
form[action="/forms/contact"] label {
  display: grid;
  gap: 7px;
  color: var(--site-green);
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea,
form[action="/forms/contact"] input,
form[action="/forms/contact"] select,
form[action="/forms/contact"] textarea {
  width: 100%;
  min-height: 44px;
  padding: 11px 13px;
  border: 1px solid var(--site-line);
  border-radius: 12px;
  background: #fff;
  color: var(--site-fg);
  font: inherit;
}

.contact-form textarea,
form[action="/forms/contact"] textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus,
form[action="/forms/contact"] input:focus,
form[action="/forms/contact"] select:focus,
form[action="/forms/contact"] textarea:focus {
  outline: 3px solid rgba(15, 59, 43, 0.14);
  border-color: var(--site-green);
}

/* Honeypot echt verbergen */
.contact-form .honeypot,
form[action="/forms/contact"] .honeypot,
.contact-form label:has(input[name="website"]),
form[action="/forms/contact"] label:has(input[name="website"]),
.contact-form input[name="website"],
form[action="/forms/contact"] input[name="website"] {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Contact-status */
.form-status,
.contact-status,
[data-contact-status] {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--site-lilac);
  color: var(--site-green);
  font-weight: 750;
}

/* Footer iets consistenter met de kaarten */
footer {
  margin-top: 40px;
  background: var(--site-green);
  color: #fff;
}

footer a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Responsive */
@media (max-width: 860px) {
  .posts-grid,
  .post-grid,
  .article-grid,
  .publications-grid,
  .services-list,
  .service-list {
    grid-template-columns: 1fr;
  }

  .post-card,
  .article-card,
  .publication-card,
  .posts-grid article,
  .post-grid article,
  .article-grid article,
  .publications-grid article {
    min-height: auto;
  }

  main {
    padding-top: 32px;
  }
}

/* ------------------------------------------------------------
   Card layout fix - exact generated markup
------------------------------------------------------------ */

/* Generated publication cards use: article.card + a.read-more */
.grid,
.cards,
.posts-list,
.posts-grid {
  align-items: stretch;
}

article.card,
.card {
  display: flex;
  flex-direction: column;
}

article.card .read-more,
.card .read-more {
  margin-top: auto;
  align-self: flex-start;
}

/* Zorg dat de knop ook echt als knop oogt, niet als tekstlink */
.read-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 40px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--green, #0f3b2b);
  color: #fff;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.read-more:hover {
  background: var(--green-dark, #0b2d21);
}

/* Meer ruimte tussen publicatie-header en kaartgrid */
.archive-header + .grid,
.archive-hero + .grid,
.posts-hero + .grid,
.content-card + .grid,
main > .grid {
  margin-top: 34px;
}

/* Dienst detail: tekst en prijskaart iets meer als één geheel */
.service-detail,
.service-detail-layout {
  align-items: start;
}

.service-detail > div:first-child,
.service-detail .service-content,
.service-detail .service-body {
  max-width: 620px;
}

/* ------------------------------------------------------------
   Service detail grid fix - exact generated markup
------------------------------------------------------------ */

/* service-detail bevat de header + daarna pas de echte grid */
.service-detail {
  display: block;
}

.service-detail > .page-header {
  margin-bottom: 28px;
}

/* Alleen deze div is de tweekoloms layout */
.service-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 28px;
  align-items: start;
}

/* Linkertekst in een kaart */
.service-detail-grid > .content-body {
  max-width: none;
  padding: 28px;
  border: 1px solid var(--color-border, #E5DDF0);
  border-radius: 18px;
  background: var(--color-surface, #fff);
  box-shadow: 0 8px 24px rgba(16, 37, 28, 0.055);
}

/* Rechter prijsblok blijft compact */
.service-detail-grid > .service-sidebar {
  align-self: start;
}

.service-sidebar .service-cta {
  width: 100%;
  margin-top: 16px;
}

/* Mobiel onder elkaar */
@media (max-width: 860px) {
  .service-detail-grid {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------------
   Editable posts archive spacing
------------------------------------------------------------ */

.page-header + .grid {
  margin-top: 34px;
}

/* ------------------------------------------------------------
   Editable posts archive intro
------------------------------------------------------------ */

.posts-page-header + .card-grid,
.page-header + .card-grid,
.page-header + .posts-card-grid {
  margin-top: 36px;
}

.archive-intro {
  max-width: 760px;
}

.archive-intro p:last-child {
  margin-bottom: 0;
}

/* ------------------------------------------------------------
   CMS page content polish
------------------------------------------------------------ */

.content-card h1:first-child {
  margin-bottom: 18px;
}

.content-card h2 {
  margin-top: 34px;
  color: var(--color-primary, #16382C);
}

.content-card ul {
  margin: 16px 0 0;
  padding-left: 1.25rem;
}

.content-card li {
  margin-bottom: 8px;
}

.content-card strong {
  color: var(--color-primary, #16382C);
}

.contact-form-section {
  margin-top: 34px;
}

.contact-form-section h2 {
  font-size: 1.65rem;
}

/* ------------------------------------------------------------
   Normal CMS page layout polish
------------------------------------------------------------ */

.page-content-card {
  max-width: 900px;
  margin-inline: auto;
}

/* Over Heather: duidelijke contentkaart */
.page-over-heather {
  padding: clamp(34px, 5vw, 52px);
}

.page-over-heather h1:first-child {
  margin-bottom: 22px;
}

.page-over-heather h2 {
  margin-top: 38px;
  color: var(--color-primary, #16382C);
}

.page-over-heather ul {
  margin-top: 18px;
  padding-left: 1.25rem;
}

.page-over-heather li {
  margin-bottom: 8px;
}

/* Als later een foto in de Markdown wordt gezet, bijvoorbeeld helemaal bovenaan:
   ![Heather van Vliet](/uploads/heather.jpg)
   dan wordt die netjes als profielbeeld getoond. */
.page-over-heather > p:first-of-type:has(img) {
  float: right;
  width: min(260px, 38vw);
  margin: 0 0 24px 34px;
}

.page-over-heather > p:first-of-type:has(img) img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 14px 38px rgba(16, 37, 28, 0.12);
}

/* Contactpagina: intro en formulier meer als één geheel */
.page-contact {
  max-width: 900px;
}

.page-contact h1:first-child {
  margin-bottom: 22px;
}

.page-contact .contact-form-section {
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border, #E5DDF0);
}

.page-contact .contact-form-section h2 {
  color: var(--color-primary, #16382C);
  font-size: 1.7rem;
}

.page-contact .contact-form {
  max-width: 640px;
}

/* Kleine schermen: foto gewoon boven tekst laten vallen */
@media (max-width: 760px) {
  .page-over-heather > p:first-of-type:has(img) {
    float: none;
    width: 100%;
    max-width: 320px;
    margin: 0 0 24px;
  }
}

/* ------------------------------------------------------------
   Over Heather page card fix
------------------------------------------------------------ */

main > article.page-over-heather,
.page-over-heather.content-card,
.page-over-heather.page-content-card {
  max-width: 900px;
  margin: 0 auto 40px;
  padding: clamp(34px, 5vw, 52px) !important;
  border: 1px solid var(--color-border, #E5DDF0);
  border-radius: 24px;
  background: var(--color-surface, #FFFFFF);
  box-shadow: 0 14px 38px rgba(16, 37, 28, 0.075);
}

.page-over-heather h1:first-child {
  margin-top: 0;
}

.page-over-heather h2 {
  margin-top: 38px;
}

/* ------------------------------------------------------------
   Mobile polish
------------------------------------------------------------ */

@media (max-width: 760px) {
  body {
    font-size: 15.5px;
    line-height: 1.6;
  }

  .container,
  main.container,
  .main-content {
    width: min(100% - 24px, 100%);
    padding-top: 28px;
    padding-bottom: 42px;
  }

  .site-header,
  header.site-header {
    width: min(100% - 24px, 100%);
    padding: 14px 0 10px;
  }

  .site-header .container,
  .site-header-inner,
  .header-inner {
    width: 100%;
  }

  .site-title,
  .brand,
  .logo {
    display: block;
    margin-bottom: 10px;
    font-size: 0.95rem;
  }

  nav,
  .nav,
  .site-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    align-items: center;
    justify-content: flex-start;
    font-size: 0.82rem;
    line-height: 1.2;
  }

  nav a,
  .nav a,
  .site-nav a {
    padding: 4px 0;
  }

  h1 {
    font-size: clamp(2rem, 11vw, 3rem);
    line-height: 1;
    letter-spacing: -0.05em;
  }

  h2 {
    font-size: 1.45rem;
  }

  .hero,
  .page-hero,
  .archive-hero,
  .posts-hero,
  .services-hero,
  .page-header,
  .content-card,
  main > article.content-card,
  main > .page-header {
    padding: 24px;
    border-radius: 20px;
  }

  .hero p,
  .page-header p,
  .content-card p,
  .archive-intro {
    max-width: none;
  }

  .feature-grid,
  .features,
  .teaser-grid,
  .home-intro-grid,
  .card-grid,
  .posts-card-grid,
  .posts-grid,
  .post-grid,
  .article-grid,
  .publications-grid,
  .latest-posts-grid,
  .posts-list,
  .services-list,
  .service-list,
  .services-grid,
  .service-detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  article.card,
  .card,
  .post-card,
  .article-card,
  .publication-card,
  .service-card,
  .service-item {
    min-height: auto;
    padding: 22px;
    border-radius: 18px;
  }

  article.card h2,
  .card h2,
  .post-card h2,
  .article-card h2,
  .publication-card h2 {
    font-size: 1.28rem;
  }

  .read-more,
  .button,
  .btn,
  a.button,
  a.btn,
  button,
  input[type="submit"] {
    min-height: 42px;
    padding: 11px 16px;
    font-size: 0.9rem;
  }

  .service-detail > .page-header {
    margin-bottom: 18px;
  }

  .service-detail-grid > .content-body,
  .service-sidebar {
    padding: 22px;
    border-radius: 18px;
  }

  .service-sidebar .service-cta,
  .service-cta,
  .contact-form button,
  form[action="/forms/contact"] button {
    width: 100%;
  }

  .contact-form,
  form[action="/forms/contact"] {
    max-width: none;
    padding: 22px;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea,
  form[action="/forms/contact"] input,
  form[action="/forms/contact"] select,
  form[action="/forms/contact"] textarea {
    font-size: 16px;
  }

  footer,
  .site-footer {
    margin-top: 32px;
    padding: 24px 0;
    font-size: 0.86rem;
  }

  footer .inner,
  .site-footer .inner,
  footer > div {
    width: min(100% - 24px, 100%);
  }
}

@media (max-width: 420px) {
  .container,
  main.container,
  .main-content,
  .site-header,
  header.site-header,
  footer .inner,
  .site-footer .inner,
  footer > div {
    width: min(100% - 18px, 100%);
  }

  .hero,
  .page-hero,
  .archive-hero,
  .posts-hero,
  .services-hero,
  .page-header,
  .content-card,
  main > article.content-card,
  main > .page-header,
  article.card,
  .card,
  .service-card,
  .service-item,
  .contact-form,
  form[action="/forms/contact"] {
    padding: 20px;
  }

  nav,
  .nav,
  .site-nav {
    gap: 7px 10px;
    font-size: 0.78rem;
  }

  h1 {
    font-size: clamp(1.9rem, 12vw, 2.55rem);
  }
}

/* ------------------------------------------------------------
   Mobile header polish
------------------------------------------------------------ */

@media (max-width: 760px) {
  .site-header,
  header.site-header {
    width: 100%;
    margin: 0;
    padding: 16px 0 18px;
    background: #fff;
    border-bottom: 1px solid var(--color-border, #E5DDF0);
  }

  .site-header .container,
  header.site-header .container,
  .site-header-inner,
  .header-inner {
    width: calc(100% - 32px);
    max-width: 960px;
    margin: 0 auto;
  }

  .site-header-inner,
  .header-inner {
    display: block;
  }

  .site-title,
  .brand,
  .logo,
  .site-header a[href="/"] {
    display: inline-block;
    margin: 0 0 14px;
    color: var(--color-primary, #16382C);
    font-size: 1.05rem;
    font-weight: 900;
    line-height: 1.1;
    text-decoration: none;
  }

  .site-nav,
  nav.site-nav,
  .nav,
  header nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    font-size: 0.88rem;
    line-height: 1.2;
  }

  .site-nav a,
  nav.site-nav a,
  .nav a,
  header nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 11px;
    border: 1px solid var(--color-border, #E5DDF0);
    border-radius: 999px;
    background: var(--color-accent-soft, #EDE7F6);
    color: var(--color-primary, #16382C);
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
  }

  .site-nav a:hover,
  nav.site-nav a:hover,
  .nav a:hover,
  header nav a:hover {
    background: var(--color-primary, #16382C);
    color: #fff;
  }

  main.container,
  .main-content {
    padding-top: 28px;
  }
}

@media (max-width: 420px) {
  .site-header .container,
  header.site-header .container,
  .site-header-inner,
  .header-inner {
    width: calc(100% - 24px);
  }

  .site-nav,
  nav.site-nav,
  .nav,
  header nav {
    gap: 7px;
  }

  .site-nav a,
  nav.site-nav a,
  .nav a,
  header nav a {
    min-height: 36px;
    padding: 7px 10px;
    font-size: 0.82rem;
  }
}

/* ------------------------------------------------------------
   Mobile nav home button fix
------------------------------------------------------------ */

@media (max-width: 760px) {
  header nav a[href="/"],
  .site-nav a[href="/"],
  nav.site-nav a[href="/"],
  .nav a[href="/"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    min-height: 38px;
    padding: 8px 11px;
    border: 1px solid var(--color-border, #E5DDF0);
    border-radius: 999px;
    background: var(--color-accent-soft, #EDE7F6);
    color: var(--color-primary, #16382C);
    font-size: 0.88rem;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
  }
}

@media (max-width: 420px) {
  header nav a[href="/"],
  .site-nav a[href="/"],
  nav.site-nav a[href="/"],
  .nav a[href="/"] {
    min-height: 36px;
    padding: 7px 10px;
    font-size: 0.82rem;
  }
}
