/*
Theme Name: Duiken Vlaanderen
Theme URI: https://duiken.vlaanderen
Author: Thibault
Description: Custom theme for Duiken Vlaanderen built from the static prototype.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: duiken-vlaanderen
*/

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.header .custom-logo,
.footer-logo .custom-logo {
  max-height: 80px;
  width: auto;
  height: auto;
}

.alignfull {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.alignwide {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.duiken-hero-cta .scuba_banner_outer {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* About block collage sizing */
.about3-con .about_wrapper .about3-image1,
.about3-con .about_wrapper .about3-image2 {
  width: 285px;
  aspect-ratio: 285 / 255;
  overflow: hidden;
}

.about3-con .about_wrapper .about3-image3 {
  width: 285px;
  aspect-ratio: 285 / 447;
  overflow: hidden;
}

.about3-con .about_wrapper .about3-image1 img,
.about3-con .about_wrapper .about3-image2 img,
.about3-con .about_wrapper .about3-image3 img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media screen and (max-width: 1199px) {
  .about3-con .about_wrapper .about3-image1,
  .about3-con .about_wrapper .about3-image2,
  .about3-con .about_wrapper .about3-image3 {
    width: 240px;
  }
}

@media screen and (max-width: 991px) {
  .about3-con .about_wrapper .about3-image1,
  .about3-con .about_wrapper .about3-image2,
  .about3-con .about_wrapper .about3-image3 {
    width: 220px;
  }
}

@media screen and (max-width: 767px) {
  .about3-con .about_wrapper .about3-image1,
  .about3-con .about_wrapper .about3-image2,
  .about3-con .about_wrapper .about3-image3 {
    width: 180px;
  }
}

@media screen and (max-width: 575px) {
  .about3-con .about_wrapper .about3-image1,
  .about3-con .about_wrapper .about3-image2,
  .about3-con .about_wrapper .about3-image3 {
    width: 140px;
  }
}

/* Statistics block card spacing */
.statistic3-con .statistic-downcontent {
  margin-top: 24px;
}

/* Single opleiding intro highlight */
.single-opleiding .service_detail .opleiding-detail-row {
  margin-bottom: 12px;
}

.single-opleiding .service_detail .opleiding-highlight-card {
  background-color: var(--e-global-color-accent);
  color: var(--e-global-color-white);
  padding: 28px 24px;
  border-radius: 12px;
}

.single-opleiding .service_detail .opleiding-highlight-card * {
  color: var(--e-global-color-white) !important;
}

.single-opleiding .service_detail .opleiding-highlight-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.single-opleiding .service_detail .opleiding-highlight-actions .opleiding-highlight-button {
  padding: 14px 22px;
  font-size: 16px;
  line-height: 16px;
  border: 1px solid rgb(255 255 255 / 45%);
  background: var(--e-global-color-dark-moderate-blue);
}

.single-opleiding .service_detail .opleiding-highlight-actions .opleiding-highlight-button.is-secondary {
  background: transparent;
}

.single-opleiding .service_detail .opleiding-highlight-actions .opleiding-highlight-button:hover {
  border-color: var(--e-global-color-white);
  background: var(--e-global-color-secondary);
}

.single-opleiding .service_detail .opleiding-highlight-sticky {
  position: sticky;
  top: 90px;
}

.single-opleiding .service_detail .opleiding-highlight-card p:last-child {
  margin-bottom: 0;
}

.single-opleiding .service_detail .opleiding-highlight-card h2 {
  font-size: 38px;
  line-height: 40px;
}

@media screen and (max-width: 991px) {
  .single-opleiding .service_detail .opleiding-highlight-sticky {
    position: static;
    top: auto;
  }

  .single-opleiding .service_detail .opleiding-highlight-card h2 {
    font-size: 32px;
    line-height: 34px;
  }
}

/* Duikclub archive spacing fixes */
.post-type-archive-duikclub #duikclub-results a + .duikclub-contact-btn {
  margin-left: 10px;
  margin-top: 0 !important;
}

/* Text block: force inner typography to inherit chosen text color. */
.duiken-textblock-content,
.duiken-textblock-content p,
.duiken-textblock-content h1,
.duiken-textblock-content h2,
.duiken-textblock-content h3,
.duiken-textblock-content h4,
.duiken-textblock-content h5,
.duiken-textblock-content h6,
.duiken-textblock-content li,
.duiken-textblock-content a {
  color: inherit;
}

.duiken-textblock-content > *:last-child {
  margin-bottom: 0;
}

/* Opleidingen archive: show configurable star rating on cards. */
.servicepage-con .service-box .opleiding-teaser-stars {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  margin: 0 0 18px;
  padding: 0;
}

.servicepage-con .service-box .opleiding-teaser-stars li {
  display: inline-flex;
}

.servicepage-con .service-box .opleiding-teaser-stars i {
  font-size: 15px;
  color: var(--e-global-color-star-yellow) !important;
}

.servicepage-con .service-box h4 .opleiding-card-title-link {
  color: inherit;
}

.servicepage-con .service-box h4 .opleiding-card-title-link:hover {
  color: var(--e-global-color-text);
}

.post-type-archive-duikclub .duikclub-card .fa-location-dot {
  margin-right: 8px;
}

.post-type-archive-duikclub .duikclub-card .learn_more .fa-arrow-right {
  margin-left: 8px;
}

.post-type-archive-duikclub .duikclub-card .duikclub-contact-btn .fa-envelope {
  margin-right: 6px;
}
