/*
Theme Name: Mandem Child - Toppraktijk Child
Theme URI:
Description: Child theme van Mandem - Toppraktijk.
Author: Toppraktijk
Author URI: mailto:websites@toppraktijk.nl
Template: boilerplate-thema-main
Version: 1.0.3
Requires at least: 6.5
Requires PHP: 8.0
Text Domain: mandem-toppraktijk-child
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
  --font-lato: "Lato", Arial, sans-serif;
  --font-noto-serif-display: "Noto Serif Display", Georgia, serif;
}

body {
  overflow-x: hidden;
}

@media (min-width: 1024px) {
  .page-sidebar {
    top: 150px;
  }
}

@media (max-width: 767px) {
  section .btn-primary {
    line-height: 12px;
  }
}

.btn-primary,
.btn-secondary {
  font-family: "Lato", Arial, sans-serif;
  line-height: 12px;
  padding-left: 20px;
  padding-right: 20px;
}

.btn-primary {
  padding-top: 16px;
  padding-bottom: 16px;
}

.btn-secondary {
  padding-top: 16px;
  padding-bottom: 16px;
}

.homepage-hero-building {
  position: absolute;
  right: -120px;
  bottom: -10px;
  height: 420px;
  width: auto;
}

@media (min-width: 1024px) {
  .homepage-hero {
    min-height: 634px;
    overflow: visible;
  }

  .homepage-hero-image {
    height: 646px;
  }

  .homepage-hero-building {
    right: auto;
    top: 159px;
    bottom: auto;
    left: calc(50% - 160px);
    height: 497px;
    clip-path: inset(0 0 23px 0);
  }

  .homepage-hero > .container-desktop > .grid {
    min-height: 634px;
  }
}

footer {
  background: linear-gradient(180deg, #324a75 0%, #2c3b5b 90%);
}

@media (max-width: 767px) {
  .behandelingen-slider {
    padding-top: 8px;
    padding-bottom: 24px;
  }

  .behandelingen-slider .behandelingen-slide {
    height: auto;
    width: 68%;
    flex-shrink: 0;
  }
}

/* Swiper's slide styles would override the card's flex layout */
.behandelingen-slider .behandelingen-card {
  display: flex;
}

.behandelingen-card img {
  height: 37px;
  max-height: none;
  max-width: 46px;
}

@media (min-width: 768px) {
  .behandelingen-slider .behandelingen-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    align-items: stretch;
    gap: 0 24px;
    transform: none !important;
  }

  .behandelingen-slider .behandelingen-slide {
    min-width: 0;
    height: auto;
    width: auto !important;
    margin-right: 0 !important;
  }
}

.reviews-slider:not(.swiper-initialized) .swiper-wrapper {
  gap: 40px;
}

.reviews-slider {
  padding: 4px !important;
  margin: -4px;
}

.reviews-section::before,
.reviews-section::after,
.reviews-section > .container-desktop::before,
.reviews-section > .container-desktop::after {
  content: "";
  position: absolute;
  border: 1px solid #E7DBC1;
  border-radius: 8px;
  pointer-events: none;
  z-index: 0;
}

.reviews-section > .container-desktop {
  position: relative;
}

@media (prefers-reduced-motion: no-preference) {
  .reviews-section::before,
  .reviews-section::after,
  .reviews-section > .container-desktop::before,
  .reviews-section > .container-desktop::after,
  .reviews-deco-rb {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }

  .reviews-section.deco-visible::before,
  .reviews-section.deco-visible::after,
  .reviews-section.deco-visible > .container-desktop::before,
  .reviews-section.deco-visible > .container-desktop::after,
  .reviews-section.deco-visible .reviews-deco-rb {
    opacity: 1;
    transform: none;
  }

  .reviews-section.deco-visible::after {
    transition-delay: 0.15s;
  }

  .reviews-section.deco-visible > .container-desktop::before {
    transition-delay: 0.3s;
  }

  .reviews-section.deco-visible > .container-desktop::after {
    transition-delay: 0.45s;
  }

  .reviews-section.deco-visible .reviews-deco-rb {
    transition-delay: 0.6s;
  }
}

.reviews-section::before {
  width: 262px;
  height: 149px;
  top: 83px;
  left: 183px;
}

.reviews-section::after {
  width: 262px;
  height: 149px;
  top: 252px;
  left: -100px;
}

.reviews-section > .container-desktop::before {
  width: 262px;
  height: 150px;
  bottom: 90px;
  right: -40px;
}

.reviews-section > .container-desktop::after {
  width: 262px;
  height: 150px;
  top: 253px;
  right: calc(-1 * (100vw - 100%) / 2);
}

.reviews-deco-rb {
  position: absolute;
  width: 262px;
  height: 78px;
  bottom: -20px;
  right: 0;
  border: 1px solid #E7DBC1;
  border-radius: 8px;
  pointer-events: none;
  z-index: 0;
}

@media (max-width: 767px) {
  .reviews-section > .container-desktop::before,
  .reviews-section > .container-desktop::after {
    display: none;
  }

  .reviews-section::before,
  .reviews-section::after {
    display: block;
    width: 112px;
    height: 63px;
    top: auto;
    left: auto;
  }

  .reviews-section::before {
    top: auto;
    right: -39px;
    bottom: 230px;
  }

  .reviews-section::after {
    top: auto;
    right: 83px;
    bottom: 160px;
  }

  .reviews-button {
    position: relative;
    z-index: 1;
  }

  .reviews-deco-rb {
    display: block;
    width: 79px;
    height: 35px;
    right: 0;
    bottom: 0;
  }
}

h1,
h2,
h3,
h4,
h5,
h6,
.behandelingen-title,
.homepage-hero-title,
.homepage-hero-subtitle,
.reviews-title {
  font-family: "Noto Serif Display", Georgia, serif;
}

.homepage-hero-usps h3,
.homepage-hero .grid-cols-3 h3,
.homepage-hero-text,
.homepage-hero-subtitle,
.faq-item h3,
.faq-item .faq-content {
  font-family: "Lato", Arial, sans-serif;
}

.homepage-hero-text p {
  line-height: normal;
}

.hero-usps-slider {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  padding-top: 60px !important;
}

@media (max-width: 1329px) {
  .hero-usps-slider {
    padding-bottom: 55px !important;
  }
}

@media (min-width: 768px) and (max-width: 1329px) {
  .hero-usps-slider {
    width: calc(100% - 15px);
    margin-left: 15px;
  }
}

@media (max-width: 767px) {
  .hero-usps-slider {
    padding-top: 40px !important;
  }
}

@media (min-width: 1330px) {
  .hero-usps-slider {
    padding-bottom: 0 !important;
  }
}

.hero-usps-slider .swiper-pagination {
  position: static;
  margin-top: 7px;
  padding-left: 57px;
  line-height: 5px;
  text-align: left;
}

.hero-usps-slider .swiper-pagination-bullet {
  width: 5px;
  height: 5px;
  margin: 0 3px !important;
  background: #E7DBC1;
  opacity: 1;
}

.hero-usps-slider .swiper-pagination-bullet:first-child {
  margin-left: 0 !important;
}

.hero-usps-slider .swiper-pagination-bullet-active {
  background: #DDC9A6;
}

@media (min-width: 1330px) {
  .hero-usps-slider .swiper-wrapper {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px!important;
  }

  .hero-usps-slider .swiper-slide {
    flex: none !important;
    line-height: normal !important;
  }

  .hero-usps-slider .swiper-pagination {
    display: none;
  }
}

.teamleden-grid--single {
  justify-items: center;
}

.teamleden-grid--single article {
  grid-column: 1 / -1;
  max-width: 420px;
  width: 100%;
  border-radius: 40px;
}

.homepage-hero-buttons a {
  border-radius: 200px;
  background: #2c3b5b;
  color: #fff;
  font-family: "Lato", Arial, sans-serif;
  font-size: 16px;
  line-height: 12px;
  padding: 13px 20px;
}

.faq-item h3 {
  color: #000;
}

.gform_wrapper .gfield input[type="text"],
.gform_wrapper .gfield input[type="email"],
.gform_wrapper .gfield input[type="tel"],
.gform_wrapper .gfield input[type="url"],
.gform_wrapper .gfield input[type="number"],
.gform_wrapper .gfield input[type="password"],
.gform_wrapper .gfield input[type="date"],
.gform_wrapper .gfield select,
.gform_wrapper .gfield textarea {
  border: 1px solid #2c3b5b !important;
  border-radius: 4px !important;
  background-color: transparent !important;
  box-shadow: none !important;
  font-family: Lato, sans-serif !important;
}

.gform_wrapper .gfield input[type="text"],
.gform_wrapper .gfield input[type="email"],
.gform_wrapper .gfield input[type="tel"],
.gform_wrapper .gfield input[type="url"],
.gform_wrapper .gfield input[type="number"],
.gform_wrapper .gfield input[type="password"],
.gform_wrapper .gfield input[type="date"],
.gform_wrapper .gfield select {
  height: 46px !important;
  line-height: 46px !important;
  font-family: Lato, sans-serif !important;
}

.gform_wrapper .gform_footer .gform_button.button {
  font-weight: 400 !important;
  font-size: 16px !important;
  font-family: Lato, sans-serif !important;
  line-height: 12px !important;
  padding: 16px 20px !important;
  color: var(--color-secondary) !important;
  background-color: var(--color-primary) !important;
  border-color: var(--color-primary) !important;
  border-radius: var(--button-border-radius) !important;
}

.gform_wrapper .gfield_label {
  color: #2c3b5b !important;
  font-family: "Noto Serif Display", Georgia, serif !important;
  font-size: 20px !important;
  font-style: normal !important;
  font-weight: 700 !important;
  line-height: 16px !important;
}

header .header-nav > li > a {
  position: relative;
  padding-block: 12px;
  color: var(--color-secondary);
  transition: color 0.25s ease;
}

header .header-nav > li.current-menu-item > a,
header .header-nav > li.current-menu-ancestor > a,
header .header-nav > li.current-menu-parent > a {
  color: var(--color-primary);
}

header .header-nav .sub-menu li a {
  color: var(--color-primary);
}

header .header-nav .menu-item-has-children .sub-menu li.has-arrow {
  border-top: 0;
}

header .header-nav .menu-item-has-children .sub-menu:has(> li:nth-child(6)) > li.has-arrow {
  margin-top: 44px;
  padding-top: 0;
}

header .header-nav .menu-item-has-children .sub-menu:has(> li:nth-child(6)) {
  min-width: 440px;
  column-count: 2;
  column-gap: 0;
}

header .header-nav .menu-item-has-children:hover > .sub-menu:has(> li:nth-child(6)) {
  display: block;
}

header .header-nav .menu-item-has-children .sub-menu:has(> li:nth-child(6)) > li {
  break-inside: avoid;
}

header .btn-primary {
  color: var(--color-secondary);
  font-weight: 400;
  padding-top: 14px;
  padding-bottom: 14px;
  border-radius: 4px;
  font-family: "Lato", Arial, sans-serif;
  line-height: 12px;
}

header .btn-secondary {
  font-weight: 400;
  padding-top: 14px;
  padding-bottom: 14px;
  border-radius: 4px;
  font-family: "Lato", Arial, sans-serif;
  line-height: 12px;
}

header .header-nav > li > a::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: #d29140;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

header .header-nav > li:hover > a,
header .header-nav > li:focus-within > a {
  color: #d29140;
}

header .header-nav > li:hover > a::before,
header .header-nav > li:focus-within > a::before,
header .header-nav > li.current-menu-item > a::before,
header .header-nav > li.current-menu-ancestor > a::before,
header .header-nav > li.current-menu-parent > a::before {
  transform: scaleX(1);
}

#mobile-menu .mobile-nav .current-menu-item > a,
#mobile-menu .mobile-nav .current-menu-ancestor > a,
#mobile-menu .mobile-nav .current-menu-parent > a,
#mobile-menu .mobile-nav .current_page_item > a {
  border-left: 0;
  border-radius: 8px;
  background: transparent;
  color: #d29140;
  font-weight: 700;
}

#mobile-menu .menu-item-has-children > .sub-menu {
  border-left: 0;
}

.rank-math-breadcrumb,
.rank-math-breadcrumb a,
.rank-math-breadcrumb span {
  color: var(--color-secondary);
}

.footer-logo {
  margin-bottom: 24px;
}

.prose a {
  color: var(--color-link);
  text-decoration: underline;
}

.page-header-title {
  max-width: 100%;
  overflow-wrap: anywhere;
}

@media (max-width: 767px) {
  body:not(.home) .page-header-title {
    font-size: 24px !important;
    line-height: 32px !important;
  }
}

.lijstblok h2 {
  font-size: 24px !important;
  line-height: 32px !important;
}

@media (min-width: 768px) {
  .lijstblok h2 {
    font-size: 32px !important;
    line-height: 42px !important;
  }

  .home .lijstblok h2 {
    font-size: 40px !important;
    line-height: 50px !important;
  }
}

.image-text-block .prose .privacy-list-item {
  margin-top: 12px;
  margin-bottom: 0;
}

.image-text-block .prose .privacy-list-item--letter {
  padding-left: 24px;
}

.image-text-block .prose .privacy-list-item--roman {
  padding-left: 48px;
}

.image-text-below-media {
  max-width: 574px;
}

@media (min-width: 1024px) {
  .image-text-below-media {
    width: 574px;
    height: 321px;
  }
}

.image-text-below-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

@media (max-width: 767px) {
  header .custom-logo {
    height: 84px !important;
    width: auto !important;
  }
}

header .header-nav li a,
#mobile-menu .mobile-nav a {
  font-family: "Lato", Arial, sans-serif;
}

footer #menu-footer-navigeren a,
footer .menu a {
  text-decoration: none;
  transition: color 0.2s ease;
}

footer #menu-footer-navigeren a:hover,
footer .menu a:hover {
  color: #DDC9A6;
  text-decoration: underline;
}

.footer-bottom-menu a {
  color: #fff;
  line-height: 29px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-bottom-menu a:hover {
  color: #DDC9A6;
  text-decoration: underline;
}

header .header-nav .sub-menu li a,
header .header-nav .sub-menu li.current-menu-item > a {
  color: var(--color-secondary);
}

.review-text,
.review-text p {
  font-family: "Lato", Arial, sans-serif;
}

.ginput_container_consent .gfield_consent_label a {
  color: var(--color-link);
  text-decoration: underline;
}

.ginput_container_consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.ginput_container_consent input[type="checkbox"] {
  flex-shrink: 0;
  margin-top: 4px;
}

.ginput_container_consent .gfield_consent_label,
.ginput_container_consent .gfield_consent_label .gform-field-label__text {
  display: inline;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: unset !important;
  word-break: break-word;
}

@media (max-width: 767px) {
  .ginput_container_consent .gfield_consent_label {
    font-size: 14px;
  }
}
