/* ===== cg-form BASE ===== */
.cg-form {
  display: flex;
  flex-wrap: wrap;
  column-gap: 6px;
}
.cg-form__row {
  width: 100%;
  flex-shrink: 0;
  margin-bottom: 8px;
}
.cg-form__row > label {
  display: block;
  margin-bottom: 4px;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.4;
}
.cg-form__row input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=submit]),
.cg-form__row textarea,
.cg-form__row select {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(0,0,0,0.175);
  border-radius: 0;
  background-color: transparent;
  padding: 14px 16px;
  height: auto;
  font: inherit;
  transition: border-color 0.3s;
}
.cg-form__row input::placeholder,
.cg-form__row textarea::placeholder {
  opacity: 0.5;
}
.cg-form__row input:focus,
.cg-form__row textarea:focus,
.cg-form__row select:focus {
  outline: none;
  border-bottom-color: rgba(0,0,0,0.4);
}
.cg-form__row textarea {
  display: block;
  min-height: 120px;
  height: auto;
  resize: vertical;
  padding: 14px 16px;
}
.cg-form__row select {
  cursor: pointer;
  padding-right: 30px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.cg-form__row .cg-form__choice {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.4;
  margin-top: 10px;
}
.cg-form__row .cg-form__choice input[type=checkbox],
.cg-form__row .cg-form__choice input[type=radio] {
  margin-top: 3px;
  flex-shrink: 0;
}
.cg-form__error {
  color: #d1384a;
  font-size: 13px;
  min-height: 0;
  margin: 4px 0 0;
}
.cg-form__error:empty {
  display: none;
}
.cg-form__actions {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  padding: 0;
}
.cg-form__message {
  margin: 0;
  font-size: 14px;
}
.cg-form__message.is-error {
  color: #d1384a;
}
.popup-form .cg-form {
  margin-top: 12px;
}
/* Grid widths for form fields */
.cg-form__row[data-cg-width="half"] { width: calc(50% - 3px); }
.cg-form__row[data-cg-width="third"] { width: calc(33.333% - 4px); }
.cg-form__row[data-cg-width="two-thirds"] { width: calc(66.666% - 2px); }
.cg-form__row[data-cg-width="quarter"] { width: calc(25% - 5px); }
.cg-form__row[data-cg-width="three-quarter"] { width: calc(75% - 2px); }
@media (max-width: 767px) {
  .cg-form__row[data-cg-width="half"],
  .cg-form__row[data-cg-width="third"],
  .cg-form__row[data-cg-width="two-thirds"],
  .cg-form__row[data-cg-width="quarter"],
  .cg-form__row[data-cg-width="three-quarter"] {
    width: 100%;
  }
}

.footer .accordion .accordion__title {
  cursor: pointer;
}

/* Supress build has hidden-on-load animation states; in this local setup we render immediately. */
[data-animate='fade-in'],
[data-animate='fade-to-top'],
[data-animate='fade-to-bottom'],
[data-animate='fade-to-left'],
[data-animate='fade-to-right'],
[data-animate='text'] {
  opacity: 1 !important;
  transform: none !important;
}

[data-animate='text'] .animate-item {
  clip-path: none !important;
  -webkit-clip-path: none !important;
}

/* ===== cg-form IN DONKERE CONNECT SECTIE (staging fix) ===== */
.connect .connect__form .cg-form label,
.connect .connect__form .cg-form .cg-form__row label {
  color: #fff !important;
}
.connect .connect__form .cg-form input:not([type=hidden]):not([type=checkbox]):not([type=submit]),
.connect .connect__form .cg-form textarea,
.connect .connect__form .cg-form select {
  background-color: rgba(255,255,255,0.08) !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(255,255,255,0.3) !important;
  border-radius: 0 !important;
  color: #fff !important;
  padding: 14px 16px !important;
  height: auto !important;
}
.connect .connect__form .cg-form input::placeholder,
.connect .connect__form .cg-form textarea::placeholder {
  color: rgba(255,255,255,0.4) !important;
}
.connect .connect__form .cg-form input:focus,
.connect .connect__form .cg-form textarea:focus {
  outline: none !important;
  border-bottom-color: rgba(255,255,255,0.6) !important;
}
.connect .connect__form .cg-form .cg-form__actions button,
.connect .connect__form .cg-form .cg-form__actions .btn {
  color: #000E43 !important;
  background-color: #fff !important;
  border-radius: 9999px !important;
}
.connect .connect__form .cg-form .cg-form__actions button:hover {
  background-color: #7E90FF !important;
}
.connect .connect__form .cg-form .cg-form__error {
  color: #ff8080 !important;
}

/* ===== cg-form IN BANNER-CONTACT SECTIE (lichte achtergrond) ===== */
.banner-contact .cg-form__row label {
  color: #1a1f36 !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  opacity: 1 !important;
}

.banner-contact .cg-form input:not([type=hidden]):not([type=checkbox]):not([type=submit]),
.banner-contact .cg-form textarea,
.banner-contact .cg-form select {
  color: #1a1f36 !important;
  background-color: #fff !important;
  border: 1.5px solid #c8cde0 !important;
  border-radius: 8px !important;
  padding: 12px 14px !important;
  opacity: 1 !important;
  -webkit-text-fill-color: #1a1f36 !important;
}

.banner-contact .cg-form input::placeholder,
.banner-contact .cg-form textarea::placeholder {
  color: #9099b5 !important;
  opacity: 1 !important;
}

.banner-contact .cg-form input:focus,
.banner-contact .cg-form textarea:focus {
  outline: none !important;
  border-color: #1a1f36 !important;
  box-shadow: 0 0 0 3px rgba(26,31,54,0.08) !important;
}


/* ========== Inline SVG Logo Fix ========== */
.navbar__brand {
  position: relative;
}

.navbar__logo-dark,
.navbar__logo-light {
  display: block;
  width: auto;
  max-width: 200px;
  height: 40px;
  object-fit: contain;
  transition: opacity 0.3s ease;
}



.navbar__logo-light {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

/* On homepage/landing/aboutUs: hide dark, show light (white) */
body:not(.navbar-open) .aboutUs .navbar:not(.is-up) .navbar__brand .navbar__logo-dark,
body:not(.navbar-open) .home .navbar:not(.is-up) .navbar__brand .navbar__logo-dark,
body:not(.navbar-open) .page-template-landing .navbar:not(.is-up) .navbar__brand .navbar__logo-dark,
body:not(.navbar-open) .navbar.is-light:not(.is-up) .navbar__brand .navbar__logo-dark {
  opacity: 0 !important;
}

body:not(.navbar-open) .aboutUs .navbar:not(.is-up) .navbar__brand .navbar__logo-light,
body:not(.navbar-open) .home .navbar:not(.is-up) .navbar__brand .navbar__logo-light,
body:not(.navbar-open) .page-template-landing .navbar:not(.is-up) .navbar__brand .navbar__logo-light,
body:not(.navbar-open) .navbar.is-light:not(.is-up) .navbar__brand .navbar__logo-light {
  opacity: 1 !important;
}

/* Cookie banner inline SVG sizing */
.cg-cookie-banner__logo {
  width: 150px;
  max-width: 100%;
  max-height: 84px;
  display: block;
}

@media (max-width: 767px) {
  .cg-cookie-banner__logo {
    width: 128px;
    max-height: 68px;
  }
}
/* ========== End Inline SVG Logo Fix ========== */







/* ===== CHECKBOX STYLING IN DONKERE CONNECT SECTIE ===== */
.connect .connect__form .cg-form .cg-form__row input[type=checkbox] {
  background-color: rgba(255,255,255,0.08) !important;
  border: 1px solid rgba(255,255,255,0.3) !important;
}
.connect .connect__form .cg-form .cg-form__row input[type=checkbox] + label,
.connect .connect__form .cg-form .cg-form__row .wpcf7-list-item-label,
.connect .connect__form .cg-form .cg-form__row .wpcf7-checkbox + span,
.connect .connect__form .cg-form .cg-form__row .wpcf7-acceptance + span,
.connect .connect__form .cg-form .cg-form__row span.wpcf7-list-item-label {
  color: #fff !important;
}

/* ===== PLACEHOLDER STYLING ===== */
.connect .connect__form .cg-form input::placeholder,
.connect .connect__form .cg-form textarea::placeholder {
  color: rgba(255,255,255,0.5) !important;
  opacity: 1 !important;
}

/* Hide labels in connect section - placeholders serve as labels (matches original GF behavior) */
.connect .connect__form .cg-form .cg-form__row > label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}
.connect .connect__form .cg-form .cg-form__row .cg-form__choice {
  color: rgba(255,255,255,0.7);
}
.connect .connect__form .cg-form .cg-form__row .cg-form__choice a {
  color: #7E90FF;
  text-decoration: underline;
}
/* Grid widths - higher specificity for connect section */
.connect .connect__form .cg-form .cg-form__row[data-cg-width="half"] { width: calc(50% - 3px) !important; }
.connect .connect__form .cg-form .cg-form__row[data-cg-width="third"] { width: calc(33.333% - 4px) !important; }
.connect .connect__form .cg-form .cg-form__row[data-cg-width="two-thirds"] { width: calc(66.666% - 2px) !important; }
.connect .connect__form .cg-form .cg-form__row[data-cg-width="quarter"] { width: calc(25% - 5px) !important; }
.connect .connect__form .cg-form .cg-form__row[data-cg-width="three-quarter"] { width: calc(75% - 2px) !important; }
/* Ensure form is flex in connect too */
.connect .connect__form .cg-form {
  display: flex !important;
  flex-wrap: wrap !important;
  column-gap: 6px !important;
}
/* Keep checkbox/radio choice labels visible in connect forms. */
.connect .connect__form .cg-form .cg-form__row > label.cg-form__choice {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  white-space: normal;
}
.connect .connect__form .cg-form .cg-form__row .cg-form__choice span {
  color: rgba(255, 255, 255, 0.7) !important;
}

.bg-brand-primary {
  background-color: #000e43 !important;
  color: #fff;
}

.bg-brand-accent {
  background-color: #fd5f3f !important;
  color: #fff;
}

.bg-brand-primary :is(h1, h2, h3, h4, h5, h6, p, li),
.bg-brand-accent :is(h1, h2, h3, h4, h5, h6, p, li) {
  color: inherit;
}
