main p a,
main li a,
main dd a,
main td a {
  text-decoration: underline;
  text-decoration-thickness: 0.125em;
  text-underline-offset: 0.18em;
}

main p a:hover,
main p a:focus-visible,
main li a:hover,
main li a:focus-visible,
main dd a:hover,
main dd a:focus-visible,
main td a:hover,
main td a:focus-visible {
  text-decoration-thickness: 0.18em;
}

.menu-placeholder {
  display: inline-flex;
  align-items: center;
  background: none;
  border: 0;
  color: inherit;
  font: inherit;
  padding: 10px 20px;
  text-align: left;
}

.menu-placeholder.split {
  padding-right: 0;
}

nav ul.slimmenu.collapsed .menu-placeholder {
  width: 100%;
  padding: 10px 64px 10px 20px;
  white-space: nowrap;
}

nav ul.slimmenu .sub-toggle,
.menu-collapser .collapse-button,
button.close,
#searchbutton,
#searchbutton2 {
  min-width: 44px;
  min-height: 44px;
}

nav ul.slimmenu .sub-toggle,
.menu-collapser .collapse-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

nav ul.slimmenu .sub-toggle:focus-visible,
.menu-collapser .collapse-button:focus-visible,
button.close:focus-visible,
#searchbutton:focus-visible,
#searchbutton2:focus-visible,
.menu-placeholder:focus-visible {
  outline: 3px solid #ffbf47;
  outline-offset: 3px;
}

button.close {
  width: 44px !important;
  height: 44px !important;
}

button.close i {
  line-height: 44px !important;
  width: 44px !important;
}

.background-overlay[hidden],
button.close[hidden] {
  display: none !important;
}

.background-overlay.is-active {
  display: block !important;
}

.site-header__search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.site-header__search button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border: none;
  background: transparent;
  color: #01689b;
  margin-left: 0;
  font-size: 1rem;
}

.site-header__search button:hover,
.site-header__search button:focus-visible {
  background: transparent;
  color: #00467a;
}

input.header-search__query:focus,
input.header-search__query:focus-visible {
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(1, 104, 155, 0.35) !important;
}

.site-header__search input[type="search"] {
  min-height: 44px;
}

/* Verberg CSS-gegenereerde "Trefwoord" label — input heeft aria-label */
.dnnSearchBox::before {
  content: none !important;
}

/* Panel: border en schaduw hier, zodat dnnSearchBox zelf geen eigen breedte-issues heeft */
.dnnSearchBoxPanel {
  height: auto !important;
  padding: 16px !important;
  box-sizing: border-box !important;
}

.dnnSearchBoxPanel:focus-within {
  outline: none;
}

/* Wrapper die het zoekveld visueel omhult */
.dnnSearchBoxPanel .dnnSearchBox {
  display: flex !important;
  align-items: stretch !important;
  width: 100% !important;
  box-sizing: border-box !important;
  border: 1px solid #696969 !important;
  border-radius: 3px !important;
  overflow: hidden !important;
  box-shadow: inset 1px 1px 3px rgba(105, 105, 105, 0.1) !important;
  background: #fff !important;
  height: auto !important;
  position: static !important;
  margin: 0 !important;
}

/* Focus: blauwe schaduw rondom het hele zoekveld */
.dnnSearchBoxPanel .dnnSearchBox:focus-within {
  box-shadow: 0 0 0 3px rgba(1, 104, 155, 0.35) !important;
}

/* Input: DNN zet inline right + width via JS — !important overschrijft die direct */
#dnnSearchResult_dnnSearchBox_input {
  flex: 1 1 auto !important;
  width: auto !important;
  right: auto !important;
  position: static !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  border-radius: 0 !important;
  height: 44px !important;
  margin: 0 !important;
  padding: 3px 16px !important;
}

/* Verberg oude "Zoeken >" tekst — vervangen door icoon + tekst hieronder */
.dnnSearchBox > a.dnnSearchButton::after {
  content: none !important;
}

/* Knop: absolute positie opheffen, vult volledige hoogte van de container */
.dnnSearchBox > a.dnnSearchButton {
  position: static !important;
  top: auto !important;
  left: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: stretch !important;
  gap: 0.4em;
  min-height: 44px;
  width: auto !important;
  flex-shrink: 0 !important;
  border-radius: 0 !important;
  border-left: 1px solid #d0d0d0 !important;
  margin: 0 !important;
  padding: 0 16px !important;
}

/* Vergroteglas-icoon via FontAwesome (decoratief, aria-label op button via JS) */
.dnnSearchBox > a.dnnSearchButton::before {
  font-family: "Font Awesome 5 Pro", "Font Awesome 5 Free";
  font-weight: 400;
  content: "\f002";
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
}

/* "Zoeken" tekst zichtbaar naast icoon */
.dnnSearchBox > a.dnnSearchButton::after {
  content: "Zoeken";
  font-weight: bold;
}

.co-content-figure {
  margin-bottom: 0 !important;
  position: relative;
}

.co-content-figure__copyright {
  position: absolute;
  z-index: 10;
  bottom: 3px;
  left: 0;
  margin: 0;
  width: 100%;
  color: #ffffff;
  text-shadow:
    0 0 1px rgb(0 0 0 / 50%),
    -1px 0 1px rgb(0 0 0 / 50%),
    1px 0 1px rgb(0 0 0 / 50%),
    0 -1px 1px rgb(0 0 0 / 50%),
    0 1px 1px rgb(0 0 0 / 50%),
    2px 2px 6px rgb(0 0 0 / 50%);
  font-size: 0.8888888889rem;
  line-height: 1.125;
  text-align: left;
  padding-left: 5px !important;
}

.co-content-figure__caption {
  margin-top: 0.5rem;
  font-size: 0.8888888889rem;
  line-height: 1.125;
  color: #000000;
}

.co-linkblock__cta {
  display: inline-block;
  margin-top: 0.75rem;
  font-weight: 600;
  text-decoration: underline;
}
