/* ============================================================
   HOG Brand Guide — Frontend Styles
   All classes prefixed with .hog-bg- to avoid theme conflicts
   ============================================================ */

:root {
  --hog-bg: #FFFFFF;
  --hog-bg-subtle: #F7F7F8;
  --hog-white: #FFFFFF;
  --hog-text: #1A1A1A;
  --hog-text-mid: #4A4A4A;
  --hog-text-soft: #888;
  --hog-border: #E4E4E7;
  --hog-hoict-dark: #24335e;
  --hog-hoict-blue: #0ca5db;
  --hog-hoict-bright: #1b52ce;
  --hog-hp-dark: #282C3C;
  --hog-hp-orange: #D83B01;
  --hog-sidebar-w: 260px;
}

.hog-bg-layout *,
.hog-bg-layout *::before,
.hog-bg-layout *::after { box-sizing: border-box; margin: 0; padding: 0; font-family: inherit; }

.hog-bg-layout {
  display: flex;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--hog-font, 'Inter', 'Helvetica Neue', Helvetica, sans-serif);
  background: var(--hog-bg);
  color: var(--hog-text);
  line-height: 1.6;
}

/* ---- SIDEBAR ---- */
.hog-bg-sidebar {
  width: var(--hog-sidebar-w) !important;
  min-width: var(--hog-sidebar-w) !important;
  background: #ffffff !important;
  border-right: 1px solid #E4E4E7 !important;
  position: sticky !important;
  top: 0 !important;
  height: 100vh !important;
  height: 100dvh !important;
  overflow-y: auto !important;
  flex-shrink: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  color: #4a4a4a !important;
}
.hog-bg-sidebar-header {
  padding: 24px 20px 18px;
  border-bottom: 1px solid var(--hog-border);
}
.hog-bg-sidebar-guide-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hog-text-soft);
  margin-bottom: 5px;
}
.hog-bg-sidebar-brand-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--hog-hoict-dark) !important;
  text-decoration: none !important;
  display: block;
  transition: opacity 0.15s;
}
.hog-bg-sidebar-brand-name:hover {
  opacity: 0.75;
  text-decoration: none !important;
}
.hog-bg-nav-section { padding: var(--hog-section-pt, 16px) 0 4px !important; display: block !important; }
.hog-bg-nav-section-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 20px 10px;
}
.hog-bg-nav-brand-favicon {
  width: 18px; height: 18px;
  border-radius: 3px;
  object-fit: contain;
}
.hog-bg-nav-brand-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--hog-text);
}
/* Klikbare versie van de merknaam */
a.hog-bg-nav-brand-link {
  text-decoration: none !important;
  color: var(--hog-text) !important;
  cursor: pointer;
  transition: opacity 0.15s;
}
a.hog-bg-nav-brand-link:hover {
  opacity: 0.65;
  text-decoration: none !important;
}
.hog-bg-nav-link {
  display: block !important;
  padding: var(--hog-nav-pt, 8px) 20px var(--hog-nav-pb, 8px) !important;
  font-size: 13px !important;
  color: #4a4a4a !important;
  text-decoration: none !important;
  border-left: 2px solid transparent !important;
  transition: all 0.15s;
  visibility: visible !important;
  opacity: 1 !important;
}
.hog-bg-nav-link:hover {
  color: var(--hog-text);
  background: var(--hog-bg-subtle);
  text-decoration: none;
}
.hog-bg-nav-link.active {
  border-left-color: var(--hog-hoict-blue);
  background: rgba(12,165,219,0.07);
  font-weight: 500;
  color: var(--hog-hoict-dark);
}

/* ---- MAIN ---- */
.hog-bg-main { flex: 1; min-width: 0; }

/* ---- TOPBAR ---- */
.hog-bg-topbar {
  background: var(--hog-hoict-dark);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 0 64px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 50;
}
.hog-bg-hamburger { display: none; }

.hog-bg-topbar-left { display: flex; align-items: center; gap: 8px; }
.hog-bg-topbar-title { font-size: 13px; font-weight: 700; color: #fff; }
.hog-bg-topbar-sep   { color: rgba(255,255,255,0.25); }
.hog-bg-topbar-page  { font-size: 12px; color: rgba(255,255,255,0.55); }
.hog-bg-topbar-date  { font-size: 11px; color: rgba(255,255,255,0.35); }

/* ---- CHAPTER INTRO ---- */
.hog-bg-chapter-intro {
  border-bottom: 1px solid var(--hog-border);
  padding: 80px 64px;
  position: relative;
  overflow: hidden;
  color: #fff;
}
.hog-bg-chapter-intro--shared { background: var(--hog-hoict-dark); }
.hog-bg-chapter-intro--hoict  { background: var(--hog-hoict-dark); }
.hog-bg-chapter-intro--hp     { background: var(--hog-hp-dark); }
/* Custom theme: achtergrond en tekstkleuren via inline style op het element */
.hog-bg-chapter-intro--custom { background: #1a1a2e; }

.hog-bg-deco-circle {
  position: absolute; right: -80px; top: -80px;
  width: 400px; height: 400px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.07);
  pointer-events: none;
}
.hog-bg-deco-circle-2 {
  position: absolute; right: 60px; top: 40px;
  width: 240px; height: 240px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.04);
  pointer-events: none;
}
.hog-bg-chapter-kicker {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  margin-bottom: 18px; opacity: 0.55;
}
.hog-bg-chapter-intro--hoict .hog-bg-chapter-kicker { color: var(--hog-hoict-blue); opacity: 1; }
.hog-bg-chapter-intro--hp    .hog-bg-chapter-kicker { color: var(--hog-hp-orange);  opacity: 1; }
.hog-bg-chapter-intro--custom .hog-bg-chapter-kicker { opacity: 1; }
.hog-bg-chapter-intro--custom .hog-bg-chapter-body   { opacity: 1; }
.hog-bg-chapter-title {
  font-size: clamp(20px, 3vw, var(--hog-fs-chapter-title, 60px));
  font-weight: 700; line-height: 1.08;
  letter-spacing: -0.02em; max-width: 640px; margin-bottom: 24px;
}
.hog-bg-chapter-body { font-size: var(--hog-fs-section-body, 15px); line-height: 1.7; max-width: 600px; opacity: 0.72; }

/* ---- CONTENT SECTION ---- */
.hog-bg-content-section {
  padding: 64px;
  border-bottom: 1px solid var(--hog-border);
  background: var(--hog-white);
}
.hog-bg-content-section:last-child { border-bottom: none; }
.hog-bg-content-section.hog-bg-subtle { background: var(--hog-bg-subtle); }

.hog-bg-section-kicker {
  font-size: var(--hog-fs-kicker, 10px); font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 10px;
}
.hog-bg-kicker-shared { color: var(--hog-text-soft); }
.hog-bg-kicker-hoict  { color: var(--hog-hoict-blue); }
.hog-bg-kicker-hp     { color: var(--hog-hp-orange); }

.hog-bg-section-title {
  font-size: var(--hog-fs-section-title, 26px); font-weight: 700;
  letter-spacing: -0.02em; margin-bottom: 14px;
  color: var(--hog-text); line-height: 1.2;
}
.hog-bg-section-body {
  font-size: var(--hog-fs-section-body, 15px); line-height: 1.72;
  color: var(--hog-text-mid); max-width: 700px; margin-bottom: 36px;
}

/* ---- GRIDS ---- */
.hog-bg-g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hog-bg-g3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }

/* ---- IDENTITY BLOCK ---- */
.hog-bg-identity-block {
  padding: 64px;
  background: var(--hog-white);
  border-bottom: 1px solid var(--hog-border);
}
.hog-bg-identity-intro {
  font-size: clamp(16px, 2vw, var(--hog-fs-tov-intro, 20px));
  font-weight: 400; line-height: 1.4;
  color: var(--hog-text); max-width: 760px;
  margin-bottom: 56px; letter-spacing: -0.01em;
}
.hog-bg-identity-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  border: 1px solid var(--hog-border);
}
.hog-bg-identity-cell {
  padding: 32px 36px;
  border-right: 1px solid var(--hog-border);
  border-bottom: 1px solid var(--hog-border);
}
.hog-bg-identity-cell:nth-child(even) { border-right: none; }
.hog-bg-identity-cell:nth-last-child(-n+2) { border-bottom: none; }
.hog-bg-identity-cell-number {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--hog-text-soft); margin-bottom: 12px;
}
.hog-bg-identity-cell-title { font-size: var(--hog-fs-pillar-title, 18px); font-weight: 700; margin-bottom: 8px; color: var(--hog-text); }
.hog-bg-identity-cell-body  { font-size: var(--hog-fs-card-body, 13px); line-height: 1.7; color: var(--hog-text-mid); }

/* ---- PILLARS ---- */
.hog-bg-pillar {
  padding: 28px 24px;
  border: 1px solid var(--hog-border);
  background: var(--hog-white);
  border-radius: 4px;
}
.hog-bg-pillar-number { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; color: var(--hog-text-soft); margin-bottom: 14px; }
.hog-bg-pillar-title  { font-size: var(--hog-fs-pillar-title, 18px); font-weight: 700; margin-bottom: 10px; color: var(--hog-text); }
.hog-bg-pillar-bullets { list-style: none; padding: 0; margin-top: 10px; }
.hog-bg-pillar-bullets li {
  font-size: var(--hog-fs-card-body, 13px); color: var(--hog-text-mid);
  padding: 5px 0; border-bottom: 1px solid var(--hog-border);
  display: flex; align-items: flex-start; gap: 8px; line-height: 1.5;
}
.hog-bg-pillar-bullets li:last-child { border-bottom: none; }
.hog-bg-pillar-bullets li::before { content: '—'; color: var(--hog-text-soft); flex-shrink: 0; font-size: 12px; margin-top: 1px; }

/* Bullets uitgeschakeld — geen streepje, geen gap */
.hog-bg-pillar-no-bullets li::before { display: none; }
.hog-bg-pillar-no-bullets li { gap: 0; }

/* ---- ENDORSED MODEL ---- */
.hog-bg-endorsed-block { border: 1px solid var(--hog-border); border-radius: 4px; overflow: hidden; margin-bottom: 32px; }
.hog-bg-endorsed-block-header { background: var(--hog-hoict-dark); color: #fff; padding: 20px 28px; font-size: 14px; font-weight: 600; }
.hog-bg-endorsed-block-body { padding: 28px; background: var(--hog-white); }
.hog-bg-endorsed-block-body p { font-size: var(--hog-fs-card-body, 13px); line-height: 1.72; color: var(--hog-text-mid); margin-bottom: 16px; }
.hog-bg-endorsed-block-body p:last-child { margin-bottom: 0; }
.hog-bg-endorsed-sub-label { font-size: 10px; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: var(--hog-text-soft); margin: 20px 0 8px; }
.hog-bg-endorsed-bullets { list-style: none; margin: 12px 0 20px; padding: 0; }
.hog-bg-endorsed-bullets li { font-size: var(--hog-fs-card-body, 13px); color: var(--hog-text-mid); padding: 6px 0; display: flex; gap: 10px; border-bottom: 1px solid var(--hog-border); line-height: 1.5; }
.hog-bg-endorsed-bullets li:last-child { border-bottom: none; }
.hog-bg-endorsed-bullets li::before { content: '→'; color: var(--hog-hoict-blue); font-weight: 700; flex-shrink: 0; }

/* ---- OUTLINE BOX ---- */
.hog-bg-outline-box { border: 1px solid var(--hog-border); border-radius: 4px; padding: 28px; background: var(--hog-white); }
.hog-bg-outline-box-label { font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--hog-text-soft); margin-bottom: 10px; }
.hog-bg-outline-box-body  { font-size: var(--hog-fs-card-body, 13px); line-height: 1.68; color: var(--hog-text-mid); }

/* ---- TONE OF VOICE ---- */
.hog-bg-tov-block { background: var(--hog-bg-subtle); border: 1px solid var(--hog-border); border-radius: 4px; padding: 36px; margin-bottom: 24px; }
.hog-bg-tov-intro { font-size: var(--hog-fs-tov-intro, 20px); font-weight: 500; line-height: 1.5; color: var(--hog-text); max-width: 680px; margin-bottom: 28px; font-style: italic; }
.hog-bg-tov-grid  { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.hog-bg-tov-col-label { font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 14px; }
.hog-bg-tov-yes { color: #2e7d32; }
.hog-bg-tov-no  { color: #b53a2a; }
.hog-bg-tov-item { font-size: var(--hog-fs-card-body, 13px); padding: 9px 0; border-bottom: 1px solid var(--hog-border); color: var(--hog-text-mid); display: flex; align-items: center; gap: 10px; }
.hog-bg-tov-item:last-child { border-bottom: none; }
.hog-bg-tov-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.hog-bg-tov-dot-yes { background: #2e7d32; }
.hog-bg-tov-dot-no  { background: #b53a2a; }

/* ---- LOGO SECTION ---- */
.hog-bg-logo-frame {
  border: 1px solid var(--hog-border); border-radius: 4px;
  padding: 44px 36px; display: flex; align-items: center;
  justify-content: center; margin-bottom: 12px; background: #fff;
}
.hog-bg-logo-frame img { max-height: 200px; max-width: 400px; object-fit: contain; }
.hog-bg-logo-caption { font-size: 11px; color: var(--hog-text-soft); text-align: center; }

/* ---- DO/DON'T ---- */
.hog-bg-do-dont { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hog-bg-do-box   { background: #f7f7f8; border: 1px solid #e0e0e0; border-radius: 4px; padding: 20px 22px; }
.hog-bg-dont-box { background: #f7f7f8; border: 1px solid #e0e0e0; border-radius: 4px; padding: 20px 22px; }
.hog-bg-do-label { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 12px; }
.hog-bg-do-label-green { color: #2e7d32; }
.hog-bg-do-label-red   { color: #9b3030; }
.hog-bg-do-box   p { font-size: var(--hog-fs-card-body, 13px); line-height: 1.65; color: var(--hog-text-mid); margin-bottom: 6px; }
.hog-bg-dont-box p { font-size: var(--hog-fs-card-body, 13px); line-height: 1.65; color: var(--hog-text-mid); margin-bottom: 6px; }

/* ---- COLOR SWATCHES ---- */
.hog-bg-swatch-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.hog-bg-swatch-item { flex: 1; min-width: 90px; }
.hog-bg-swatch-box  { height: 68px; border-radius: 4px; margin-bottom: 9px; border: 1px solid rgba(0,0,0,0.07); }
.hog-bg-swatch-name { font-size: 13px; font-weight: 600; color: var(--hog-text); }
.hog-bg-swatch-hex  { font-size: 11px; color: var(--hog-text-soft); font-family: 'Courier New',monospace; margin-top: 2px; }
.hog-bg-swatch-sub  { font-size: 10px; color: var(--hog-text-soft); margin-top: 2px; }
.hog-bg-card-label  { font-size: 9px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--hog-text-soft); }

/* ---- TYPOGRAPHY ---- */
.hog-bg-type-family { background: var(--hog-white); border: 1px solid var(--hog-border); border-radius: 4px; padding: 32px 36px; margin-bottom: 16px; }
.hog-bg-type-label  { font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--hog-text-soft); margin-bottom: 20px; }
.hog-bg-type-specimen { font-size: clamp(22px, 3vw, var(--hog-fs-chapter-title, 44px)); line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 16px; }
.hog-bg-type-weights  { border-top: 1px solid var(--hog-border); padding-top: 16px; }
.hog-bg-type-weight-row { display: flex; justify-content: space-between; align-items: baseline; padding: 7px 0; border-bottom: 1px solid rgba(0,0,0,0.04); }
.hog-bg-type-weight-row:last-child { border-bottom: none; }
.hog-bg-type-weight-sample { font-size: var(--hog-fs-card-body, 14px); }
.hog-bg-type-weight-sample[style*='italic'] { font-style: italic !important; }
.hog-bg-type-weight-meta   { font-size: 10px; color: var(--hog-text-soft); white-space: nowrap; margin-left: 12px; }

/* ---- CARD ---- */
.hog-bg-card { background: var(--hog-white); border: 1px solid var(--hog-border); border-radius: 4px; padding: 24px; margin-top: 16px; }
.hog-bg-card-title { font-size: var(--hog-fs-card-title, 16px); font-weight: 600; color: var(--hog-text); margin-bottom: 8px; }
.hog-bg-card-body  { font-size: var(--hog-fs-card-body, 13px); line-height: 1.65; color: var(--hog-text-mid); }

/* ---- COMM LIST ---- */
.hog-bg-comm-list { display: flex; flex-direction: column; gap: 8px; margin-top: 24px; }
.hog-bg-comm-item {
  background: var(--hog-white); padding: 16px 22px;
  display: flex; align-items: center; justify-content: space-between;
  border: 1px solid var(--hog-border); border-radius: 4px;
}
.hog-bg-comm-name { font-size: 14px; font-weight: 600; color: var(--hog-text); }
.hog-bg-comm-meta { font-size: 12px; color: var(--hog-text-soft); margin-top: 3px; }
.hog-bg-comm-tag  { font-size: 11px; font-weight: 600; padding: 4px 12px; border-radius: 3px; white-space: nowrap; }

/* ---- INFO STRIP ---- */
.hog-bg-info-strip { background: var(--hog-bg-subtle); border: 1px solid var(--hog-border); border-radius: 4px; padding: 18px 22px; margin-top: 24px; font-size: var(--hog-fs-card-body, 13px); color: var(--hog-text-mid); }
.hog-bg-info-strip a { color: var(--hog-hoict-dark); font-weight: 600; text-decoration: none; }
.hog-bg-info-strip a:hover { text-decoration: underline; }

/* ---- RESPONSIVE ---- */
@media (max-width: 960px) {
  /* Layout — geen flex, geen hoogte beperking, vrij scrollbaar */
  .hog-bg-layout {
    display: block;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
  }

  /* Sidebar — fixed, schuift in van links */
  .hog-bg-sidebar {
    display: block !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 280px !important;
    min-width: 0 !important;
    height: 100vh !important;
    height: 100dvh !important;
    z-index: 9999 !important;
    transform: translateX(-100%) !important;
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 4px 0 24px rgba(0,0,0,0.18) !important;
  }
  .hog-bg-sidebar.hog-menu-open {
    transform: translateX(0) !important;
  }

  /* Overlay */
  .hog-bg-menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 9998;
  }
  .hog-bg-menu-overlay.hog-menu-open { display: block; }

  /* Hamburger */
  .hog-bg-hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    border-radius: 4px;
  }
  .hog-bg-hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    position: relative;
    transition: background 0.2s;
  }
  .hog-bg-hamburger span::before,
  .hog-bg-hamburger span::after {
    content: '';
    display: block;
    width: 20px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    position: absolute;
    left: 0;
    transition: all 0.2s;
  }
  .hog-bg-hamburger span::before { top: -6px; }
  .hog-bg-hamburger span::after  { top: 6px; }
  .hog-bg-hamburger.is-open span { background: transparent; }
  .hog-bg-hamburger.is-open span::before { transform: rotate(45deg); top: 0; }
  .hog-bg-hamburger.is-open span::after  { transform: rotate(-45deg); top: 0; }

  /* Main — volledige breedte, geen offset, vrij scrollbaar */
  .hog-bg-main {
    display: block !important;
    width: 100% !important;
    max-width: 100vw !important;
    margin-left: 0 !important;
    min-width: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    overflow: visible !important;
  }

  /* Topbar */
  .hog-bg-topbar {
    position: sticky;
    top: 0;
    padding: 0 12px;
    height: 52px;
    min-height: 52px;
    z-index: 100;
  }
  .hog-bg-topbar-left { gap: 8px; }
  .hog-bg-topbar-sep, .hog-bg-topbar-page { display: none; }
  .hog-bg-topbar-title { font-size: 13px !important; }
  .hog-bg-topbar-date { font-size: 11px !important; white-space: nowrap; }

  /* Content padding */
  .hog-bg-content-section,
  .hog-bg-identity-block { padding: 32px 20px; }
  .hog-bg-chapter-intro { padding: 40px 20px; min-height: auto; }

  /* Grids */
  .hog-bg-g2, .hog-bg-g3 { grid-template-columns: 1fr; }
  .hog-bg-identity-grid { grid-template-columns: 1fr; }
  .hog-bg-identity-cell { border-right: none !important; }
  .hog-bg-tov-grid { grid-template-columns: 1fr; }
  .hog-bg-do-dont { grid-template-columns: 1fr; }

  /* Titels */
  .hog-bg-chapter-title { font-size: clamp(24px, 8vw, 40px) !important; }
  .hog-bg-section-title { font-size: clamp(18px, 5vw, 26px) !important; }
  .hog-bg-do-dont { grid-template-columns: 1fr; }
}


/* ============================================================
   SIDEBAR — volledig zichtbaar, ongeacht thema-overrides
   ============================================================ */

/* Sidebar basis */
.hog-bg-sidebar a,
.hog-bg-sidebar a:link,
.hog-bg-sidebar a:visited {
  color: #4a4a4a !important;
  text-decoration: none !important;
  background: transparent !important;
  opacity: 1 !important;
  visibility: visible !important;
}
.hog-bg-sidebar a:hover {
  color: #1a1a1a !important;
  background: #f7f7f8 !important;
}
.hog-bg-sidebar .hog-bg-sidebar-header {
  background: #ffffff !important;
  color: #1a1a1a !important;
  border-bottom: 1px solid #E4E4E7 !important;
}
.hog-bg-sidebar-guide-label {
  color: #888888 !important;
  display: block !important;
}
.hog-bg-sidebar-brand-name {
  color: #24335e !important;
  display: block !important;
  font-weight: 700 !important;
}
.hog-bg-nav-section-brand {
  display: flex !important;
}
.hog-bg-nav-brand-label {
  color: #1a1a1a !important;
  display: inline !important;
}

/* WordPress injecteert nav-links soms in <p> tags via wpautop.
   Zorg dat die p tags zichtbaar zijn en de links erin ook. */
.hog-bg-nav-section > p {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0 !important;
  font-size: 0 !important;
}
.hog-bg-nav-section > p > a,
.hog-bg-nav-section > p > a.hog-bg-nav-link {
  display: block !important;
  color: #4a4a4a !important;
  visibility: visible !important;
  opacity: 1 !important;
  font-size: 13px !important;
  line-height: 1.3 !important;
  padding: var(--hog-nav-pt, 8px) 20px var(--hog-nav-pb, 8px) !important;
  text-decoration: none !important;
  border-left: 2px solid transparent !important;
}
.hog-bg-nav-section > p > a:hover {
  color: #1a1a1a !important;
  background: #f7f7f8 !important;
}

/* br tags en lege p tags verbergen */
.hog-bg-sidebar br,
.hog-bg-nav-section br {
  display: none !important;
  height: 0 !important;
  line-height: 0 !important;
}
.hog-bg-layout > p:empty,
.hog-bg-sidebar > p:empty {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
}

/* ============================================================
   DOWNLOADS BLOCK
   ============================================================ */

/* Groep = één grote bordered container */
.hog-bg-download-group {
  border: 1px solid var(--hog-border);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 16px;
  background: var(--hog-white);
}
.hog-bg-download-group:last-child { margin-bottom: 0; }

/* Toggle knop = klikbare header van de groep */
.hog-bg-download-group-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: var(--hog-bg-subtle);
  border: none;
  border-bottom: 1px solid var(--hog-border);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: background 0.15s;
}
.hog-bg-download-group-toggle:hover {
  background: #ebebed;
}
.hog-bg-download-group-toggle[aria-expanded="false"] {
  border-bottom-color: transparent;
}

.hog-bg-download-group-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--hog-text);
  flex: 1;
  letter-spacing: 0;
}
.hog-bg-download-group-count {
  font-size: 11px;
  color: var(--hog-text-soft);
  background: var(--hog-white);
  border: 1px solid var(--hog-border);
  border-radius: 10px;
  padding: 1px 8px;
}
.hog-bg-download-group-chevron {
  font-size: 12px;
  color: var(--hog-text-soft);
  transition: transform 0.2s;
  display: inline-block;
}
.hog-bg-download-group-toggle[aria-expanded="false"] .hog-bg-download-group-chevron {
  transform: rotate(-90deg);
}

/* Grid van bestanden binnen de groep */
.hog-bg-download-grid {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.hog-bg-download-grid.hog-collapsed {
  display: none;
}

/* Item = één rij zonder eigen border (border zit op de groep) */
.hog-bg-download-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  background: var(--hog-white);
  border-bottom: 1px solid var(--hog-border);
  transition: background 0.12s;
}
.hog-bg-download-item:last-child {
  border-bottom: none;
}
.hog-bg-download-item:hover {
  background: #fafafa;
}

.hog-bg-download-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hog-bg-download-info {
  flex: 1;
  min-width: 0;
}

.hog-bg-download-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--hog-text);
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hog-bg-download-desc {
  font-size: var(--hog-fs-card-body, 13px);
  color: var(--hog-text-soft);
  margin-bottom: 6px;
}

.hog-bg-download-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hog-bg-download-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 2px 8px;
  border-radius: 3px;
}

.hog-bg-download-action {
  flex-shrink: 0;
  width: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hog-bg-download-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--hog-hoict-dark) !important;
  background: var(--hog-white);
  border: 1px solid var(--hog-hoict-dark);
  border-radius: 4px;
  text-decoration: none !important;
  transition: background 0.15s, color 0.15s;
  cursor: pointer;
  white-space: nowrap;
}
.hog-bg-download-btn:hover {
  background: var(--hog-hoict-dark);
  color: #fff !important;
}

/* Verberg br tags die WordPress injecteert in de download knop */
.hog-bg-download-btn br {
  display: none !important;
}
.hog-bg-download-btn-disabled {
  color: var(--hog-text-soft) !important;
  border-color: var(--hog-border);
  cursor: default;
}
.hog-bg-download-btn-disabled:hover {
  background: var(--hog-white);
  color: var(--hog-text-soft) !important;
}

@media (max-width: 960px) {
  .hog-bg-download-item {
    flex-wrap: wrap;
  }
  .hog-bg-download-action {
    width: 100%;
  }
}

/* ============================================================
   DOWNLOAD THUMBNAIL
   ============================================================ */
.hog-bg-download-thumb {
  width: 80px;
  height: 60px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--hog-border);
}
.hog-bg-download-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================================================
   IMAGE GALLERY — beeldgalerij
   ============================================================ */
.hog-bg-gallery-grid {
  display: grid;
  grid-template-columns: repeat(var(--gallery-cols, 3), 1fr);
  gap: 12px;
  margin-top: 28px;
}

.hog-bg-gallery-figure {
  margin: 0;
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  background: #f0f0f0;
  border: 1px solid var(--hog-border);
  transition: box-shadow 0.15s;
}
.hog-bg-gallery-figure:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.hog-bg-gallery-img-wrap {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.hog-bg-gallery-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s;
}
.hog-bg-gallery-figure:hover .hog-bg-gallery-img-wrap img {
  transform: scale(1.04);
}

.hog-bg-gallery-caption {
  font-size: var(--hog-fs-card-body, 13px);
  color: var(--hog-text-soft);
  padding: 8px 12px;
  line-height: 1.45;
  background: var(--hog-white);
  border-top: 1px solid var(--hog-border);
}

@media (max-width: 680px) {
  .hog-bg-gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 420px) {
  .hog-bg-gallery-grid { grid-template-columns: 1fr; }
}
