/* Layout voor de Avada-inhoud binnen het blokthema. */

:root {
  --or-blue: #0062a4;
  --or-blue-dark: #044e82;
  --or-ink: #163044;
  --or-muted: #4d6274;
  --or-line: #d7e2ea;
  --or-band: #f3f7fb;
  --or-wide: 1120px;
}

body {
  background: #eef3f7;
  color: var(--or-ink);
  overflow-x: hidden;
  --wp--style--root--padding-right: 20px;
  --wp--style--root--padding-left: 20px;
}

h1, h2, h3, h4, h5, h6,
.wp-block-site-title,
.wp-block-post-title {
  font-family: Inter, "Segoe UI", sans-serif;
  color: var(--or-ink);
  letter-spacing: -0.02em;
}

.wp-site-blocks > header,
.wp-site-blocks > main,
.wp-site-blocks > footer {
  margin-block-start: 0;
}

header.wp-block-template-part {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid var(--or-line);
  box-shadow: 0 1px 0 rgba(13, 33, 55, 0.04);
}

header .wp-block-group.alignwide {
  max-width: var(--or-wide);
}

.wp-block-site-title a {
  color: var(--or-blue);
  font-weight: 750;
  font-size: 1.15rem;
}

header .wp-block-navigation-item__content {
  color: var(--or-ink);
  font-weight: 600;
  font-size: 0.95rem;
}

header .current-menu-item > .wp-block-navigation-item__content,
header .wp-block-navigation-item__content:hover {
  color: var(--or-blue);
}

header .wp-block-navigation__submenu-container {
  border: 1px solid var(--or-line);
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(13, 33, 55, 0.12);
  padding: 6px;
}

/* Het blokthema zet nog een paginatitel boven de Avada-kop. */
main.wp-block-group > .wp-block-group:has(+ .entry-content h1) {
  display: none;
}

.entry-content.is-layout-constrained > * {
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.fusion-separator,
.fusion-sep-clear {
  display: none;
}

.wp-block-post-content.has-global-padding {
  padding-left: 0;
  padding-right: 0;
}

.fusion-fullwidth {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  box-sizing: border-box;
}

.fusion-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  max-width: var(--or-wide);
  margin: 0 auto;
  padding: 8px 8px;
  box-sizing: border-box;
}

.fusion-layout-column {
  box-sizing: border-box;
  min-width: 0;
  padding: 12px 18px;
}

.fusion-one-half { width: 50%; }
.fusion-one-third { width: 33.333%; }
.fusion-two-third { width: 66.666%; }
.fusion-one-fourth { width: 25%; }
.fusion-three-fourth { width: 75%; }
.fusion-one-fifth { width: 20%; }
.fusion-two-fifth { width: 40%; }
.fusion-three-fifth { width: 60%; }
.fusion-four-fifth { width: 80%; }
.fusion-one-sixth { width: 16.666%; }
.fusion-five-sixth { width: 83.333%; }

.fusion-column-wrapper h1,
.fusion-column-wrapper h2 {
  margin: 0 0 0.45em;
  line-height: 1.2;
  text-align: left;
}

.fusion-column-wrapper h1 {
  font-size: clamp(1.7rem, 2.4vw, 2.45rem);
  font-weight: 750;
}

.fusion-column-wrapper h2 {
  font-size: clamp(1.25rem, 1.6vw, 1.55rem);
  font-weight: 700;
}

.fusion-column-wrapper p,
.fusion-row > p,
.fusion-row > h2 {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--or-ink);
}

.fusion-column-wrapper img,
.fusion-column-wrapper a img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.fusion-fullwidth a {
  color: var(--or-blue);
  font-weight: 650;
  text-underline-offset: 3px;
}

.fusion-fullwidth a:hover {
  color: var(--or-blue-dark);
}

.fusion-fullwidth[style*="0062a4"],
.fusion-fullwidth[style*="0062A4"] {
  background-color: var(--or-blue);
}

.fusion-fullwidth[style*="0062a4"] h1,
.fusion-fullwidth[style*="0062a4"] h2,
.fusion-fullwidth[style*="0062a4"] p,
.fusion-fullwidth[style*="0062a4"] span,
.fusion-fullwidth[style*="0062A4"] h1,
.fusion-fullwidth[style*="0062A4"] h2,
.fusion-fullwidth[style*="0062A4"] p,
.fusion-fullwidth[style*="0062A4"] span,
.fusion-fullwidth[style*="0062a4"] a,
.fusion-fullwidth[style*="0062A4"] a {
  color: #fff;
}

.fusion-fullwidth[style*="b2cfe3"] h2,
.fusion-fullwidth[style*="b2cfe3"] p {
  text-align: center;
}

.fusion-fullwidth[style*="f8f8f8"],
.fusion-fullwidth[style*="f6f6f6"] {
  background: #fff;
}

iframe.gf-embed {
  width: 100%;
  min-height: 720px;
  border: 0;
  border-radius: 12px;
  background: #fff;
}

footer.wp-block-template-part {
  background: #0d2137;
  color: #d5e2ec;
}

footer .wp-block-site-title a,
footer h2,
footer .wp-block-heading,
footer a {
  color: #fff;
}

footer .wp-block-site-tagline,
footer .has-contrast-2-color {
  color: #b7c7d4;
}

footer .wp-block-navigation-item__content:hover {
  color: #9fd0f5;
}

footer .alignwide {
  max-width: var(--or-wide);
}

@media (max-width: 860px) {
  .fusion-layout-column,
  .fusion-one-half,
  .fusion-one-third,
  .fusion-two-third,
  .fusion-one-fourth,
  .fusion-three-fourth,
  .fusion-one-fifth,
  .fusion-two-fifth,
  .fusion-three-fifth,
  .fusion-four-fifth,
  .fusion-one-sixth,
  .fusion-five-sixth {
    width: 100%;
  }

  .fusion-layout-column {
    padding: 8px 16px;
  }

  header .wp-block-site-title a {
    font-size: 1rem;
  }
}
