/* Globale DeepVision-hero; overige custom styling blijft beperkt tot Contact. */

/* Contact blijft op iedere pagina herkenbaar als vaste menuknop. */
body #header #menu-item-168 > a .avia-menu-text {
  background: #050505;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(5, 5, 5, .14);
  color: #fff;
  display: inline-block;
  line-height: 1.2;
  padding: 12px 22px;
  transition: background-color .2s ease;
}

body #header #menu-item-168 > a:hover .avia-menu-text,
body #header #menu-item-168 > a:focus-visible .avia-menu-text,
body #header #menu-item-168.current-menu-item > a .avia-menu-text {
  background: #12a320;
  color: #fff !important;
}

body #header #menu-item-168.current-menu-item > a {
  color: #fff !important;
}

body #header #menu-item-168 > a .avia-menu-fx {
  display: none;
}

body .dv-hero,
body.page #main > .avia-section:first-child {
  background: #12a320 !important;
  color: #fff;
}

body .avia-section.dv-hero .content,
body.page #main > .avia-section:first-child > .container > .content {
  padding-bottom: 78px;
  padding-top: 88px;
}

body .avia-section.dv-hero + .avia-section > .container > .content {
  padding-top: 72px;
}

body .dv-hero:not(.avia-section) {
  padding-bottom: 78px;
  padding-top: 88px;
}

body .avia-section.dv-hero .entry-content-wrapper > .av_textblock_section:first-child {
  margin-bottom: 0;
  padding-bottom: 0;
  padding-top: 0;
}

body .avia-section.dv-hero .entry-content-wrapper > .av_textblock_section:first-child::before,
body .avia-section.dv-hero .entry-content-wrapper > .av_textblock_section:first-child::after {
  content: none;
  display: none;
}

body .dv-hero h1,
body .dv-hero h2,
body .dv-hero h3,
body .dv-hero p,
body.page #main > .avia-section:first-child h1,
body.page #main > .avia-section:first-child h2,
body.page #main > .avia-section:first-child h3,
body.page #main > .avia-section:first-child p,
body .dv-hero-copy h1,
body .dv-hero-copy h2,
body .dv-hero-copy h3,
body .dv-hero-copy p {
  color: #fff !important;
}

body .dv-hero h1,
body.page #main > .avia-section:first-child h1,
body .dv-hero-copy h1 {
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.08;
  max-width: none;
  text-transform: none !important;
  width: 100%;
}

body .dv-hero .avia_textblock p,
body .dv-hero-copy p {
  max-width: none;
  width: 100%;
}

body .dv-hero p.dv-kicker {
  color: #b9df78 !important;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  margin: 0 0 14px;
  text-transform: uppercase;
}

/* Lopende tekst op de donkere standaardpagina's; Contact gebruikt lichte vlakken. */
body.page:not(.page-id-71) #main p,
body.page:not(.page-id-71) #main li,
body.page:not(.page-id-71) #main .avia_textblock {
  color: #fff !important;
}

/* Werkwijze: voorkom Enfolds witte rand en schaduw direct onder de hero. */
body.page-id-193 #main > .avia-section:first-child + .avia-section {
  border-top: 0 !important;
  box-shadow: none !important;
}

/* Portfolio: verwijder Enfolds witte scheidingsranden tussen de secties. */
body.page-id-202 #main > .container_wrap {
  border-top: 0 !important;
}

/* Portfolio: consistente ruimte tussen opeenvolgende kaartblokken. */
body.page-id-202 .dv-section-space + .dv-section-space .content {
  padding-top: 0;
}

body.page-id-202 .dv-section-space:not(:last-child) .content {
  padding-bottom: 32px;
}

body.page-id-202 #av_section_4 .content {
  padding-bottom: 90px;
}

@media only screen and (max-width: 767px) {
  body .avia-section.dv-hero .content,
  body.page #main > .avia-section:first-child > .container > .content,
  body .dv-hero:not(.avia-section) {
    padding-bottom: 62px;
    padding-top: 62px;
  }
}
