/*
Theme Name: HSV Vereniging - Modern
Theme URI: https://example.com
Author: Jouw Vereniging
Author URI: https://example.com
Description: Fris, modern WordPress-thema voor hengelsportverenigingen, ontworpen in de blauwe huisstijl van hsvvelsen.nl (geen gekopieerde content, logo's of afbeeldingen). Zelfde functionaliteit als het thema "HSV Vereniging" (nieuwsoverzicht, Mijn vangsten-sectie, vangstformulier-knop, 3-blokken paginatemplate), maar met een eigentijdse, ronde, luchtige vormgeving: zwevende header, golfvormen, pillen-navigatie en zachte kaartschaduwen.
Version: 1.30
Requires PHP: 7.4
Text Domain: hsv-vereniging
*/

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

/* -------------------------------------------------
   0. VARIABELEN - fris/modern kleurenpalet
-------------------------------------------------- */
:root {
  --hsv-navy: #023047;
  --hsv-blue: #0077b6;
  --hsv-teal: #00b4d8;
  --hsv-light: #caf0f8;
  --hsv-white: #ffffff;
  --hsv-orange: #f07c00;
  --hsv-orange-dark: #d16a00;
  --hsv-offwhite: #f5fbfd;
  --hsv-text: #1b2a33;
  --hsv-grey: #6b7f8c;
  --hsv-border: #e3eef3;
  --hsv-heading-font: 'Poppins', 'Segoe UI', sans-serif;
  --hsv-font: 'Inter', 'Segoe UI', sans-serif;
  --hsv-radius: 16px;
  --hsv-radius-sm: 10px;
  --hsv-shadow: 0 12px 28px rgba(2, 48, 71, .10);
  --hsv-shadow-hover: 0 18px 36px rgba(2, 48, 71, .16);
  --hsv-header-height: 108px; /* startwaarde; wordt automatisch bijgewerkt door js/app-toolbar.js */
}

/* -------------------------------------------------
   1. BASIS
-------------------------------------------------- */
* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--hsv-font);
  color: var(--hsv-text);
  background: var(--hsv-offwhite);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--hsv-blue); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--hsv-teal); }

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

h1, h2, h3, h4 {
  font-family: var(--hsv-heading-font);
  color: var(--hsv-navy);
  line-height: 1.2;
  margin-top: 0;
  font-weight: 700;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* -------------------------------------------------
   2. TOPBAR (contact info) - subtiel, boven de zwevende header
-------------------------------------------------- */
.hsv-topbar {
  background: var(--hsv-navy);
  color: var(--hsv-light);
  font-size: 13px;
}
.hsv-topbar .container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  padding-top: 8px;
  padding-bottom: 8px;
}
.hsv-topbar a { color: var(--hsv-light); }
.hsv-topbar a:hover { color: var(--hsv-white); }
.hsv-topbar-info span { margin-left: 22px; }
.hsv-topbar-info span:first-child { margin-left: 0; }

/* -------------------------------------------------
   3. HEADER / BRANDING - zwevend, afgerond, met schaduw
-------------------------------------------------- */
.hsv-header {
  background: var(--hsv-white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 18px rgba(2, 48, 71, .07);
}
.hsv-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  flex-wrap: wrap;
  gap: 12px;
}
.hsv-header-row { justify-content: space-between; }
.hsv-branding {
  display: flex;
  align-items: center;
  gap: 14px;
}
.hsv-branding img.custom-logo {
  max-height: 64px;
  width: auto;
}
.hsv-site-title {
  font-family: var(--hsv-heading-font);
  font-size: 24px;
  font-weight: 800;
  margin: 0;
  color: var(--hsv-navy);
}
.hsv-site-title a { color: inherit; }
.hsv-site-tagline {
  margin: 2px 0 0;
  font-size: 13px;
  color: var(--hsv-grey);
}

/* -------------------------------------------------
   3b. APP-TOOLBAR - opvallende "+"-knop rechts in de header
   (De tabbladen van de plugin blijven op hun eigen plek staan en worden
   daar sticky/compact gemaakt - zie sectie 6b hieronder.)
-------------------------------------------------- */
.hsv-app-toolbar {
  border-top: 1px solid var(--hsv-border);
}
.hsv-app-toolbar-inner {
  display: flex;
  align-items: center;
  padding: 8px 24px;
}

.hsv-topnav {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.hsv-topnav::-webkit-scrollbar { display: none; }
.hsv-topnav:empty { display: none; }
.hsv-topnav a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--hsv-border);
  color: var(--hsv-navy);
  font-weight: 600;
  font-size: 12.5px;
  white-space: nowrap;
}
.hsv-topnav a:hover { background: var(--hsv-light); }
.hsv-topnav a.active {
  background: var(--hsv-navy);
  border-color: var(--hsv-navy);
  color: var(--hsv-white);
}
.hsv-topnav-icon { font-size: 19px; line-height: 1; }

/* Opvallende ronde "+"-knop, altijd zichtbaar (header is sticky) */
.hsv-app-toolbar-add {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: var(--hsv-orange);
  color: var(--hsv-white) !important;
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(240, 124, 0, .32);
  transition: background .2s ease, transform .2s ease;
}
.hsv-app-toolbar-add:hover { background: var(--hsv-orange-dark); color: var(--hsv-white); transform: scale(1.06); }

@media (max-width: 600px) {
  .hsv-app-toolbar-inner { padding: 7px 16px; }
  .hsv-app-toolbar-add { width: 38px; height: 38px; font-size: 21px; }

  /* Op een telefoon is er geen ruimte voor 6 pillen met tekst ernaast:
     toon alleen de iconen (rond, net als de "+"-knop) zodat de hele balk
     in één keer past. De tekst blijft voor schermlezers wel aanwezig.
     De knoppen verdelen zich gelijk over de volledige breedte van het
     scherm (net als de onderste navigatiebalk), in plaats van een vaste
     grootte met lege ruimte ernaast op bredere telefoons. */
  .hsv-topnav {
    gap: 4px;
    overflow-x: visible;
  }
  .hsv-topnav a {
    flex: 1 1 0;
    width: auto;
    height: 38px;
    padding: 0;
    justify-content: center;
  }
  .hsv-topnav-icon { font-size: 18px; }
  .hsv-topnav-label {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    white-space: nowrap;
    clip: rect(0, 0, 0, 0);
    border: 0;
  }
}

/* Header CTA-knop (bv. "VISpas") - ronde oranje pil rechts in de header */
.hsv-header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--hsv-orange);
  color: var(--hsv-white) !important;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 22px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(240, 124, 0, .28);
  transition: background .2s ease, transform .2s ease;
}
.hsv-header-cta:hover { background: var(--hsv-orange-dark); color: var(--hsv-white); transform: translateY(-1px); }
.hsv-header-cta .hsv-header-cta-icon { font-size: 15px; line-height: 1; }
@media (max-width: 600px) {
  .hsv-header-cta { padding: 9px 16px; font-size: 13px; }
}

/* -------------------------------------------------
   4. NAVIGATIE - pillen-stijl, direct in de header
-------------------------------------------------- */
.hsv-nav-wrap {
  background: transparent;
  border-top: 1px solid var(--hsv-border);
}
.hsv-nav-wrap .container { padding-top: 4px; padding-bottom: 4px; }

#hsv-primary-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
#hsv-primary-menu > li {
  position: relative;
}
#hsv-primary-menu > li > a {
  display: block;
  padding: 10px 16px;
  margin: 6px 0;
  border-radius: 999px;
  color: var(--hsv-navy);
  font-weight: 600;
  font-size: 14px;
  transition: background .2s ease, color .2s ease;
}
#hsv-primary-menu > li > a:hover,
#hsv-primary-menu > li.current-menu-item > a {
  background: var(--hsv-blue);
  color: var(--hsv-white);
}
#hsv-primary-menu ul {
  list-style: none;
  margin: 0;
  padding: 8px;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--hsv-white);
  min-width: 230px;
  display: none;
  z-index: 50;
  border-radius: var(--hsv-radius-sm);
  box-shadow: var(--hsv-shadow);
}
#hsv-primary-menu li:hover > ul { display: block; }
#hsv-primary-menu ul li a {
  padding: 9px 14px;
  display: block;
  color: var(--hsv-text);
  font-size: 13px;
  font-weight: 500;
  border-radius: 8px;
}
#hsv-primary-menu ul li a:hover { background: var(--hsv-light); color: var(--hsv-navy); }

.hsv-menu-toggle {
  display: none;
  background: var(--hsv-blue);
  color: var(--hsv-white);
  border: none;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  margin: 8px 0;
}

/* -------------------------------------------------
   5. HERO - gradient met golfvorm onderaan
-------------------------------------------------- */
.hsv-hero {
  position: relative;
  background: linear-gradient(120deg, var(--hsv-navy), var(--hsv-blue) 55%, var(--hsv-teal));
  color: var(--hsv-white);
  padding: 36px 0 54px;
  overflow: hidden;
}
.hsv-hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 46px;
  background: var(--hsv-offwhite);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 60' preserveAspectRatio='none'%3E%3Cpath d='M0,30 C200,70 400,0 600,30 C800,60 1000,10 1200,30 L1200,60 L0,60 Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 60' preserveAspectRatio='none'%3E%3Cpath d='M0,30 C200,70 400,0 600,30 C800,60 1000,10 1200,30 L1200,60 L0,60 Z'/%3E%3C/svg%3E");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}
.hsv-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
}
.hsv-hero-tekst { flex: 1 1 420px; text-align: left; }
.hsv-hero h2 {
  color: var(--hsv-white);
  font-size: 26px;
  margin-bottom: 6px;
}
.hsv-hero-tekst p {
  max-width: 620px;
  margin: 0;
  color: var(--hsv-light);
  font-size: 14px;
}
.hsv-hero-knop {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch; /* beide knoppen even breed */
  gap: 10px;
}
.hsv-hero-knop a,
.hsv-hero-knop button,
.hsv-hero-knop input[type="submit"] {
  display: block;
  width: 100%;
  background: var(--hsv-orange);
  color: var(--hsv-white) !important;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: 999px;
  border: none;
  text-decoration: none;
  font-size: 15px;
  text-align: center;
  cursor: pointer;
  box-shadow: var(--hsv-shadow);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.hsv-hero-knop a:hover,
.hsv-hero-knop button:hover,
.hsv-hero-knop input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: var(--hsv-shadow-hover);
  background: var(--hsv-orange-dark);
  color: var(--hsv-white) !important;
  text-decoration: none;
}

/* Tweede hero-knop: standaard verborgen, alleen zichtbaar op mobiel/tablet
   (telefoon en iPad staand). De link stel je in via Weergave > Aanpassen > Hero sectie.
   Pas de 900px hieronder aan als je de grens tussen "mobiel" en "desktop" wilt verschuiven. */
.hsv-hero-knop-mobiel { display: none; }
@media (max-width: 900px) {
  .hsv-hero-knop-mobiel { display: block; }
}

/* -------------------------------------------------
   6. MIJN VANGSTEN sectie - app-achtige, ronde uitstraling
-------------------------------------------------- */
.hsv-vangsten-sectie {
  background: var(--hsv-white);
  padding: 28px 0 32px;
  margin-top: -40px;
  border-radius: var(--hsv-radius) var(--hsv-radius) 0 0;
  text-align: center;
}
.hsv-eyebrow {
  margin: 0 0 4px;
  font-size: 14px;
  color: var(--hsv-grey);
}
.hsv-vangsten-titel {
  font-size: 36px;
  margin: 0 0 14px;
  letter-spacing: -.01em;
}
.hsv-login-inhoud {
  margin-bottom: 20px;
  font-size: 15px;
  color: var(--hsv-grey);
}
.hsv-login-inhoud a { font-weight: 600; text-decoration: underline; }

/* "Download de app" knop */
.hsv-app-knop {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--hsv-white);
  color: var(--hsv-navy) !important;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 26px;
  border: 1px solid var(--hsv-border);
  border-radius: 999px;
  box-shadow: var(--hsv-shadow);
  margin-bottom: 30px;
  transition: box-shadow .2s ease, transform .2s ease;
}
.hsv-app-knop:hover { box-shadow: var(--hsv-shadow-hover); transform: translateY(-1px); color: var(--hsv-navy); }
.hsv-app-knop-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--hsv-blue), var(--hsv-teal));
  color: var(--hsv-white);
  font-size: 14px;
}

.hsv-vangsten-inhoud { margin-bottom: 10px; text-align: left; }
.hsv-vangsten-inhoud img { border-radius: var(--hsv-radius-sm); }

/* Generieke opmaak voor de dynamische inhoud van de shortcodes
   ([user_registration_login] / [mijn_vangsten]) - zodat tabs, filters,
   formuliervelden en vangst-items dezelfde ronde, kaart-achtige stijl
   krijgen als de rest van het thema, ongeacht de exacte plugin-markup. */
.hsv-vangsten-inhoud select,
.hsv-vangsten-inhoud input[type="text"],
.hsv-vangsten-inhoud input[type="search"],
.hsv-vangsten-inhoud input[type="number"],
.hsv-vangsten-inhoud input[type="date"],
.hsv-vangsten-inhoud input[type="email"],
.hsv-vangsten-inhoud input[type="password"],
.hsv-login-inhoud select,
.hsv-login-inhoud input[type="text"],
.hsv-login-inhoud input[type="email"],
.hsv-login-inhoud input[type="password"] {
  font-family: var(--hsv-font);
  font-size: 13px;
  padding: 9px 11px;
  border: 1px solid var(--hsv-border);
  border-radius: var(--hsv-radius-sm);
  background: var(--hsv-white);
  color: var(--hsv-text);
}
.hsv-vangsten-inhoud select:focus,
.hsv-vangsten-inhoud input:focus,
.hsv-login-inhoud select:focus,
.hsv-login-inhoud input:focus {
  outline: none;
  border-color: var(--hsv-blue);
  box-shadow: 0 0 0 3px rgba(0, 119, 182, .12);
}
.hsv-vangsten-inhoud label,
.hsv-login-inhoud label {
  display: block;
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .03em;
  margin-bottom: 4px;
  color: var(--hsv-grey);
}
.hsv-vangsten-inhoud button,
.hsv-vangsten-inhoud input[type="submit"],
.hsv-vangsten-inhoud input[type="button"],
.hsv-login-inhoud button,
.hsv-login-inhoud input[type="submit"] {
  font-family: var(--hsv-font);
  font-weight: 700;
  font-size: 13px;
  padding: 9px 20px;
  border: none;
  border-radius: 999px;
  background: var(--hsv-blue);
  color: var(--hsv-white);
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.hsv-vangsten-inhoud button:hover,
.hsv-vangsten-inhoud input[type="submit"]:hover,
.hsv-login-inhoud button:hover,
.hsv-login-inhoud input[type="submit"]:hover {
  background: var(--hsv-navy);
  transform: translateY(-1px);
}

/* Filterblok van het vangstenlogboek (Jaar/Vissoort/Sorteren/"Alleen met
   foto") - echte structuur: .vvl-logboek-filters met .vvl-filter-veld
   kindjes. Compact, in een rij, en in- en uitklapbaar via een knop die
   hieronder met JS wordt toegevoegd. */
.vvl-logboek-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px 16px;
  background: var(--hsv-offwhite);
  border: 1px solid var(--hsv-border);
  border-radius: var(--hsv-radius);
  box-sizing: border-box;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0 16px;
  margin: 0;
  border-width: 0;
  transition: max-height .3s ease, opacity .25s ease, padding .3s ease, margin .3s ease, border-width .3s ease;
}
.vvl-logboek-filters.hsv-filters-open {
  max-height: 500px;
  opacity: 1;
  padding: 16px;
  margin-bottom: 20px;
  border-width: 1px;
}
.vvl-filter-veld {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1 1 130px;
  min-width: 0;
}
.vvl-filter-veld label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--hsv-grey);
}
.vvl-filter-veld select {
  font-family: var(--hsv-font);
  font-size: 13px;
  padding: 9px 10px;
  border: 1px solid var(--hsv-border);
  border-radius: var(--hsv-radius-sm);
  background: var(--hsv-white);
  color: var(--hsv-text);
  width: 100%;
}
.vvl-filter-veld select:focus {
  outline: none;
  border-color: var(--hsv-blue);
  box-shadow: 0 0 0 3px rgba(0, 119, 182, .12);
}
.vvl-filter-veld.vvl-filter-checkbox {
  flex: 0 0 auto;
  flex-direction: row;
  align-items: center;
  padding-bottom: 9px;
}
.vvl-filter-veld.vvl-filter-checkbox label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: normal;
  color: var(--hsv-text);
}

/* Knop die het filterblok in-/uitklapt (door js/app-toolbar.js toegevoegd) */
.hsv-filters-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  margin: 0 0 14px;
  border: 1px solid var(--hsv-border);
  border-radius: 999px;
  background: var(--hsv-white);
  color: var(--hsv-navy);
  font-family: var(--hsv-font);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  box-shadow: var(--hsv-shadow);
  transition: box-shadow .2s ease;
}
.hsv-filters-toggle:hover { box-shadow: var(--hsv-shadow-hover); }
.hsv-filters-toggle-chevron { font-size: 10px; transition: transform .2s ease; }
.hsv-filters-toggle.hsv-filters-toggle-open .hsv-filters-toggle-chevron { transform: rotate(180deg); }

/* De eigen tabbladen van de vangstenlogboek-plugin (.vvl-tabs) staan hier
   volledig uit - de site-eigenaar plaatst zijn eigen knoppen bovenin via
   de nieuwe "Navigatieknoppen bovenin"-sectie in de Customizer (zie hieronder). */
.vvl-tabs {
  display: none !important;
}

/* Filter-/instellingenblok en losse vangst-items als zachte kaarten */
.hsv-vangsten-inhoud table,
.hsv-vangsten-inhoud > div > div,
.hsv-vangsten-inhoud .hsv-vangst-item {
  border-radius: var(--hsv-radius);
}
.hsv-vangsten-inhoud table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--hsv-white);
  border: 1px solid var(--hsv-border);
  overflow: hidden;
  box-shadow: var(--hsv-shadow);
}
.hsv-vangsten-inhoud table th,
.hsv-vangsten-inhoud table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--hsv-border);
}
.hsv-vangsten-inhoud table th {
  background: var(--hsv-offwhite);
  color: var(--hsv-navy);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.hsv-vangsten-inhoud table tr:last-child td { border-bottom: none; }

@media (max-width: 600px) {
  .hsv-vangsten-titel { font-size: 28px; }
}

/* -------------------------------------------------
   7. CONTENT LAYOUT
-------------------------------------------------- */
.hsv-content-wrap { padding: 14px 0 64px; }
.hsv-main > *:first-child,
.hsv-entry-content > *:first-child { margin-top: 0; }

/* Minder witruimte tussen de knoppenbalk bovenin en de eerste inhoud:
   - lege <p>'s die WordPress rond shortcodes zet, tellen niet mee;
   - de (verborgen) plugin-tabbladen en de eerste elementen van de
     plugin-inhoud krijgen geen extra bovenmarge. */
.hsv-entry-content > p:empty,
.hsv-entry-content > p:has(> br:only-child) { display: none; }
.hsv-entry-content > :first-child > :first-child,
.hsv-entry-content > :first-child > :first-child > :first-child,
.vvl-tabs + *,
.vvl-tabs + * > :first-child { margin-top: 0 !important; }
.hsv-layout {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 36px;
  align-items: start;
}
.hsv-layout-full { display: block; }
.hsv-layout-full .hsv-main { width: 100%; }
@media (max-width: 860px) {
  .hsv-layout { grid-template-columns: 1fr; }
}

/* -------------------------------------------------
   8. NIEUWSBERICHTEN / LOOP - ronde kaarten met hover-lift
-------------------------------------------------- */
.hsv-post-card {
  background: var(--hsv-white);
  border: 1px solid var(--hsv-border);
  border-radius: var(--hsv-radius);
  overflow: hidden;
  margin-bottom: 28px;
  box-shadow: var(--hsv-shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.hsv-post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--hsv-shadow-hover);
}
.hsv-post-card .thumb img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.hsv-post-card .body { padding: 22px 24px; }
.hsv-post-meta {
  font-size: 12px;
  color: var(--hsv-teal);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 8px;
}
.hsv-post-card h2 { font-size: 20px; margin-bottom: 10px; }
.hsv-post-card h2 a { color: var(--hsv-navy); }
.hsv-post-card h2 a:hover { color: var(--hsv-blue); }
.hsv-read-more {
  display: inline-block;
  margin-top: 10px;
  font-weight: 700;
  font-size: 13px;
  color: var(--hsv-blue);
}
.hsv-read-more::after { content: " \2192"; }

.hsv-pagination { margin-top: 10px; text-align: center; }
.hsv-pagination a, .hsv-pagination span {
  display: inline-block;
  padding: 9px 15px;
  margin: 0 3px;
  background: var(--hsv-white);
  border: 1px solid var(--hsv-border);
  border-radius: 999px;
  color: var(--hsv-navy);
  font-size: 13px;
  font-weight: 600;
}
.hsv-pagination .current { background: var(--hsv-blue); border-color: var(--hsv-blue); color: var(--hsv-white); }

/* -------------------------------------------------
   9. SIDEBAR (nog aanwezig in de code, momenteel niet gebruikt in de templates)
-------------------------------------------------- */
.hsv-sidebar .widget {
  background: var(--hsv-white);
  border: 1px solid var(--hsv-border);
  border-radius: var(--hsv-radius);
  padding: 22px;
  margin-bottom: 24px;
  box-shadow: var(--hsv-shadow);
}
.hsv-sidebar .widget-title {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--hsv-navy);
  margin-bottom: 14px;
}
.hsv-sidebar ul { list-style: none; margin: 0; padding: 0; }
.hsv-sidebar ul li { padding: 7px 0; border-bottom: 1px dashed var(--hsv-border); font-size: 14px; }
.hsv-sidebar ul li:last-child { border-bottom: none; }
.hsv-sidebar .widget_search input[type="search"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--hsv-border);
  border-radius: var(--hsv-radius-sm);
}
.hsv-sidebar .widget_search input[type="submit"] {
  margin-top: 8px;
  width: 100%;
  padding: 10px 12px;
  background: var(--hsv-blue);
  color: var(--hsv-white);
  border: none;
  border-radius: var(--hsv-radius-sm);
  cursor: pointer;
  font-weight: 700;
}
.hsv-sidebar .widget_search input[type="submit"]:hover { background: var(--hsv-navy); }

/* -------------------------------------------------
   10. SINGLE POST / PAGINA
-------------------------------------------------- */
.hsv-single-header { margin-bottom: 18px; }
.hsv-single-header h1 { font-size: 30px; }
.hsv-featured-image {
  margin-bottom: 22px;
  border-radius: var(--hsv-radius);
  overflow: hidden;
  box-shadow: var(--hsv-shadow);
}
.hsv-entry-content p { margin: 0 0 16px; }
.hsv-entry-content ul, .hsv-entry-content ol { margin: 0 0 16px 22px; }

/* -------------------------------------------------
   10b. DRIE BLOKKEN TEMPLATE - ronde kaarten, hover-lift
-------------------------------------------------- */
.hsv-blokken-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 10px;
}
.hsv-blok {
  background: var(--hsv-white);
  border: 1px solid var(--hsv-border);
  border-radius: var(--hsv-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--hsv-shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.hsv-blok:hover { transform: translateY(-4px); box-shadow: var(--hsv-shadow-hover); }
.hsv-blok-image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.hsv-blok-body { padding: 20px 22px; }
.hsv-blok-body h3 { font-size: 18px; margin-bottom: 8px; color: var(--hsv-navy); }
.hsv-blok-body p { margin: 0; color: var(--hsv-grey); font-size: 14px; }

@media (max-width: 1024px) and (min-width: 601px) {
  .hsv-blokken-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .hsv-blokken-grid { grid-template-columns: 1fr; }
}

/* -------------------------------------------------
   11. FOOTER - donkere golf, ronde afsluiting
-------------------------------------------------- */
.hsv-footer {
  background: var(--hsv-navy);
  color: var(--hsv-light);
  padding: 50px 0 24px;
  margin-top: 30px;
  position: relative;
}
.hsv-footer::before {
  content: "";
  position: absolute;
  top: -40px; left: 0; right: 0;
  height: 40px;
  background: var(--hsv-navy);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 40' preserveAspectRatio='none'%3E%3Cpath d='M0,40 C300,0 900,40 1200,0 L1200,40 Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 40' preserveAspectRatio='none'%3E%3Cpath d='M0,40 C300,0 900,40 1200,0 L1200,40 Z'/%3E%3C/svg%3E");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}
.hsv-footer-widgets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  margin-bottom: 30px;
}
@media (max-width: 760px) {
  .hsv-footer-widgets { grid-template-columns: 1fr; }
}
.hsv-footer-widgets .widget-title {
  color: var(--hsv-white);
  font-family: var(--hsv-heading-font);
  font-size: 15px;
  margin-bottom: 14px;
}
.hsv-footer-widgets ul { list-style: none; margin: 0; padding: 0; }
.hsv-footer-widgets ul li { padding: 5px 0; font-size: 14px; }
.hsv-footer-widgets a { color: var(--hsv-light); }
.hsv-footer-widgets a:hover { color: var(--hsv-white); }

.hsv-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 18px;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,.55);
}

/* -------------------------------------------------
   11b. ONDERSTE NAVIGATIEBALK (mobiel) - Home / Account / Kaart / Instellingen
-------------------------------------------------- */
.hsv-bottom-nav {
  display: none;
}
@media (max-width: 760px) {
  .hsv-bottom-nav {
    display: flex;
    align-items: stretch;
    justify-content: space-around;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 190;
    background: var(--hsv-white);
    border-top: 1px solid var(--hsv-border);
    box-shadow: 0 -10px 24px rgba(2, 48, 71, .08);
    padding: 8px 6px calc(8px + env(safe-area-inset-bottom, 0px));
  }
  .hsv-bottom-nav a {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 6px 4px;
    color: var(--hsv-grey);
    font-size: 11px;
    font-weight: 600;
    border-radius: var(--hsv-radius-sm);
  }
  .hsv-bottom-nav a:hover,
  .hsv-bottom-nav a.active {
    color: var(--hsv-navy);
  }
  .hsv-bottom-nav-icon { font-size: 20px; line-height: 1; }

  /* Ruimte onderaan de pagina vrijhouden zodat de vaste navigatiebalk
     geen inhoud overlapt. */
  body.hsv-has-bottomnav { padding-bottom: 78px; }
}

/* -------------------------------------------------
   12. RESPONSIVE / MOBIEL MENU
-------------------------------------------------- */
@media (max-width: 860px) {
  .hsv-menu-toggle { display: inline-block; }
  #hsv-primary-menu {
    display: none;
    flex-direction: column;
    gap: 0;
  }
  #hsv-primary-menu.hsv-menu-open { display: flex; }
  #hsv-primary-menu ul { position: static; box-shadow: none; padding-left: 12px; }
  .hsv-topbar .container { justify-content: center; }
}

@media (max-width: 600px) {
  .hsv-topbar { display: none; }

  .hsv-header .container { padding-top: 10px; padding-bottom: 10px; gap: 6px; }
  .hsv-branding { gap: 8px; }
  .hsv-branding img.custom-logo { max-height: 40px; }
  .hsv-site-title { font-size: 17px; }
  .hsv-site-tagline { font-size: 11px; }

  #hsv-primary-menu > li > a { padding: 9px 14px; font-size: 13px; }
  .hsv-menu-toggle { padding: 8px 16px; font-size: 13px; }

  .hsv-hero { padding: 16px 0 34px; }
  .hsv-hero-inner { gap: 14px; }
  .hsv-hero h2 { font-size: 20px; margin-bottom: 6px; }
  .hsv-hero-tekst p { font-size: 13px; }
  .hsv-hero-knop a, .hsv-hero-knop button, .hsv-hero-knop input[type="submit"] {
    padding: 11px 20px;
    font-size: 14px;
  }
  .hsv-vangsten-sectie { margin-top: -20px; padding-top: 22px; }
  .hsv-content-wrap { padding-top: 10px; }
}

/* 404-pagina (1.29) */
.hsv-404 { text-align: center; padding: 32px 0 16px; }
.hsv-404 p { max-width: 520px; margin-left: auto; margin-right: auto; }
.hsv-404-icoon { font-size: 56px; line-height: 1; margin-bottom: 8px; }
.hsv-404-knop {
  display: inline-block;
  margin-top: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--hsv-orange);
  color: var(--hsv-white) !important;
  font-weight: 600;
  text-decoration: none;
}
.hsv-404-knop:hover, .hsv-404-knop:focus { background: var(--hsv-orange-dark); }
