/* Correct upload paths and icon rendering for Bedrock-style /content/uploads/ structure. */

/* Tailwind @theme breakpoints redefine Bootstrap .container max-width (375px at xs).
   Restore Bootstrap grid sizing for DEP legacy/WPBakery pages. */
#override .container {
  width: 100%;
  max-width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 576px) {
  #override .container {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  #override .container {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  #override .container {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  #override .container {
    max-width: 1252px;
  }
}

#override .homefilter.vc_custom_1701876995451 {
  background-image: url(/content/uploads/Afbeelding_Filter.jpg) !important;
}
#override .fa-chat-white::before,
.fa-chat-white::before {
  content: '' !important;
  background-image: url(/content/uploads/Icon_Chat_Wit.svg) !important;
  background-size: contain;
  display: block;
  width: 17.5px;
  height: 17.5px;
}

#override .fa-chat::before,
.fa-chat::before {
  content: '' !important;
  background-image: url(/content/uploads/Icon_Chat.svg) !important;
  background-size: contain;
  display: block;
  width: 14.21px;
  height: 14.21px;
}

.fa.send::before {
  content: '' !important;
  background-image: url(/content/uploads/Icon_Send.svg) !important;
  background-size: contain;
  display: inline-block;
  width: 19.5px;
  height: 19.5px;
}

.dep::before {
  background-image: url(/content/uploads/Huisstijl_woord_dep_paars.svg) !important;
}

#override .woocommerce_header_search::after,
.woocommerce_header_search::after {
  content: '' !important;
  background-image: url(/content/uploads/Icon_Search.svg) !important;
  background-size: contain;
  display: block;
  width: 19px;
  height: 19px;
}

#override footer .share_buttons .btn.share.linkedin i::before,
footer .share_buttons .btn.share.linkedin i::before {
  content: '\f0e1';
  font-family: 'Font Awesome 6 Brands';
  font-weight: 400;
}

#override .search-results-page {
  padding-top: 40px;
  padding-bottom: 100px;
}

#override .search-results-page .search-overview__header-title {
  margin-bottom: 24px;
}

#override .search-results-page .facetwp-facet-search,
#override .search-results-page .facetwp-facet-search_results_count {
  margin-bottom: 24px;
}

#override .search-results-page .search-results-grid {
  margin-top: 8px;
}

#override .search-results-page .post_wrapper.artikelen .post_excerpt h3 {
  color: var(--secondary);
  font-family: var(--font);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
  margin: 0;
}

#override .search-results-page .post_wrapper.artikelen .post_thumbnail {
  background-color: #eef3f3;
  min-height: 230px;
  overflow: hidden;
}

#override .search-results-page .post_wrapper.artikelen .article-loop-category .btn {
  font-size: 14px;
  padding: 6px 12px;
}

/* Contact Form 7 acceptance checkbox: single box + readable label. */
#override .wpcf7 .wpcf7-acceptance,
.wpcf7 .wpcf7-acceptance {
  width: 100%;
  display: block;
  text-align: left;
  margin-top: 8px;
  margin-bottom: 8px;
  font-size: 18px !important;
  line-height: 1.45;
  color: var(--secondary);
}

#override .wpcf7 .wpcf7-acceptance .wpcf7-list-item,
.wpcf7 .wpcf7-acceptance .wpcf7-list-item {
  display: block;
  margin: 0;
  font-size: 18px !important;
}

#override .wpcf7 .wpcf7-acceptance label,
.wpcf7 .wpcf7-acceptance label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  cursor: pointer;
  text-align: left;
  font-size: 18px !important;
  line-height: 1.45;
}

#override .wpcf7 .wpcf7-acceptance input[type='checkbox'],
.wpcf7 .wpcf7-acceptance input[type='checkbox'] {
  -webkit-appearance: none !important;
  appearance: none !important;
  flex: 0 0 18px !important;
  width: 18px !important;
  min-width: 18px !important;
  max-width: 18px !important;
  height: 18px !important;
  margin: 4px 0 0 !important;
  padding: 0 !important;
  border: 1px solid #98aec3 !important;
  border-radius: 2px !important;
  background-color: #fff !important;
  background-image: none !important;
  background-origin: padding-box !important;
  background-size: auto !important;
  box-shadow: none !important;
  outline: none !important;
  color: transparent !important;
  --tw-ring-shadow: 0 0 #0000 !important;
  --tw-ring-offset-shadow: 0 0 #0000 !important;
  --tw-shadow: 0 0 #0000 !important;
  position: relative;
  cursor: pointer;
  print-color-adjust: exact;
}

#override .wpcf7 .wpcf7-acceptance input[type='checkbox']::before,
.wpcf7 .wpcf7-acceptance input[type='checkbox']::before,
#override .wpcf7 .wpcf7-acceptance input[type='checkbox']::after,
.wpcf7 .wpcf7-acceptance input[type='checkbox']::after {
  content: none !important;
  display: none !important;
}

#override .wpcf7 .wpcf7-acceptance input[type='checkbox']:checked,
.wpcf7 .wpcf7-acceptance input[type='checkbox']:checked {
  background-color: var(--primary, #34eca1) !important;
  border-color: var(--primary, #34eca1) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='%233d195b' stroke-width='2' d='M2 6l3 3 5-5'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 12px 12px !important;
}

#override .wpcf7 .wpcf7-acceptance .wpcf7-list-item-label,
.wpcf7 .wpcf7-acceptance .wpcf7-list-item-label {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 18px !important;
  line-height: 1.45;
  color: var(--secondary);
}

#override .wpcf7 .wpcf7-acceptance .wpcf7-list-item-label::before,
#override .wpcf7 .wpcf7-acceptance .wpcf7-list-item-label::after,
.wpcf7 .wpcf7-acceptance .wpcf7-list-item-label::before,
.wpcf7 .wpcf7-acceptance .wpcf7-list-item-label::after {
  content: none;
}

#override .wpcf7 .wpcf7-acceptance .wpcf7-list-item-label a,
.wpcf7 .wpcf7-acceptance .wpcf7-list-item-label a {
  text-decoration: underline;
}

@media (max-width: 767px) {
  #override .wpcf7 .wpcf7-acceptance,
  .wpcf7 .wpcf7-acceptance,
  #override .wpcf7 .wpcf7-acceptance label,
  .wpcf7 .wpcf7-acceptance label,
  #override .wpcf7 .wpcf7-acceptance .wpcf7-list-item,
  .wpcf7 .wpcf7-acceptance .wpcf7-list-item,
  #override .wpcf7 .wpcf7-acceptance .wpcf7-list-item-label,
  .wpcf7 .wpcf7-acceptance .wpcf7-list-item-label {
    font-size: 16px !important;
  }
}
