/* GG Helder 4.0.60 — unified category spacing (hero, Wordenbrug, cards and sidebar).
 * One optical rhythm between hero, Wordenbrug banner, card grid and sidebar.
 * Never changes the shared header, menu, other archives or content data.
 */
html body.tax-gedicht_thema {
  --gg457-category-space:24px;
  --gg457-category-inset:20px;
}
html body.tax-gedicht_thema main.ggw-archive-main {
  margin-block-start:0!important;
  padding-block-start:var(--gg457-category-space)!important;
}
html body.tax-gedicht_thema main.ggw-archive-main > .ggw-archive-body {
  box-sizing:border-box!important;
  width:calc(100% - 2 * var(--gg457-category-inset))!important;
  max-width:1280px!important;
  margin:0 auto!important;
  padding:0 0 56px!important;
  align-items:start!important;
  gap:var(--gg457-category-space)!important;
}
html body.tax-gedicht_thema .gg443-category-content {
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  box-sizing:border-box!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  gap:0!important;
}
html body.tax-gedicht_thema .gg443-category-content > .gg443-category-banner {
  box-sizing:border-box!important;
  width:100%!important;
  max-width:100%!important;
  margin:0 0 var(--gg457-category-space)!important;
  padding:0!important;
  min-width:0!important;
}
/* Remove legacy outer spacing on the plugin's banner; preserve banner appearance. */
html body.tax-gedicht_thema .gg443-category-banner > * {
  box-sizing:border-box!important;
  max-width:100%!important;
  margin-block:0!important;
}
html body.tax-gedicht_thema .gg443-category-content > .gg443-category-grid {
  box-sizing:border-box!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  gap:var(--gg457-category-space)!important;
  row-gap:var(--gg457-category-space)!important;
  column-gap:var(--gg457-category-space)!important;
}
html body.tax-gedicht_thema .ggw-archive-body > .ggw-context-sidebar {
  align-self:start!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
}
html body.tax-gedicht_thema .gg443-category-content > :is(.navigation.pagination,.pagination) {
  width:100%!important;
  margin:var(--gg457-category-space) 0 0!important;
  padding:0!important;
}
html body.tax-gedicht_thema .ggw-context-sidebar > :is(.ggw-side-card,.widget) + :is(.ggw-side-card,.widget) {
  margin-block-start:0!important;
}
@media(max-width:767px) {
  html body.tax-gedicht_thema {
    --gg457-category-space:16px;
    --gg457-category-inset:10px;
  }
  html body.tax-gedicht_thema main.ggw-archive-main > .ggw-archive-body {
    padding-bottom:40px!important;
  }
  html body.tax-gedicht_thema .gg443-category-content > .gg443-category-grid {
    grid-template-columns:minmax(0,1fr)!important;
  }
}


/* 4.0.60 — remove the *remaining stacked margins* from the actual live markup.
 * The shared hero is printed after the header, outside <main>. Its 26px bottom
 * margin was being added to main's padding. This applies ONLY to poem categories.
 */
html body.tax-gedicht_thema .gg331-global-hero > .gg31-sitewide-hero {
  margin-bottom:0!important;
  margin-block-end:0!important;
}
/* One hero-to-content space, even when legacy sitewide main rules are loaded. */
html body.tax-gedicht_thema #ggw-site > main#main-content.ggw-archive-main {
  margin:0 auto!important;
  padding:24px 0 0!important;
}
html body.tax-gedicht_thema #ggw-site > main#main-content.ggw-archive-main > .ggw-archive-body {
  margin:0 auto!important;
  padding-top:0!important;
}
/* The Woordenbrug widget has a legacy 30px auto margin on its own <aside>.
 * Reset that actual element (not just its wrapper), so it aligns with sidebar. */
html body.tax-gedicht_thema #ggw-site .gg443-category-content > .gg443-category-banner,
html body.tax-gedicht_thema #ggw-site .gg443-category-content > .gg443-category-banner > aside.ggwb-discovery.gg20-discovery.gg22-words-drawer {
  margin-top:0!important;
  margin-block-start:0!important;
}
html body.tax-gedicht_thema #ggw-site .gg443-category-content > .gg443-category-banner > aside.ggwb-discovery.gg20-discovery.gg22-words-drawer {
  margin:0!important;
  width:100%!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}
html body.tax-gedicht_thema #ggw-site .gg443-category-content > .gg443-category-banner {
  margin:0 0 24px!important;
}
html body.tax-gedicht_thema #ggw-site .gg443-category-content > .gg443-category-grid {
  margin:0!important;
  padding:0!important;
  row-gap:24px!important;
  column-gap:24px!important;
}
html body.tax-gedicht_thema #ggw-site .ggw-archive-body > .ggw-context-sidebar {
  align-self:start!important;
  margin:0!important;
  padding-top:0!important;
}
@media (max-width:767px) {
  html body.tax-gedicht_thema #ggw-site > main#main-content.ggw-archive-main {padding-top:16px!important;}
  html body.tax-gedicht_thema #ggw-site .gg443-category-content > .gg443-category-banner {margin-bottom:16px!important;}
  html body.tax-gedicht_thema #ggw-site .gg443-category-content > .gg443-category-grid {
    row-gap:16px!important;
    column-gap:16px!important;
    grid-template-columns:minmax(0,1fr)!important;
  }
}
