/*
  Theme Name: Ondernemingsraad
  Theme URI: https://boostmijnbedrijf.nl
  Version: 2.0.3
  Template: Divi
  Author: BoostMijnBedrijf
  Author URI: https://boostmijnbedrijf.nl
  Description: This theme has been developed for Ondernemingsraad.nl
  Text Domain: ondernemingsraad
  License: GNU General Public License v2 or later
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

input, select{
  border-radius: 5px 5px 5px 5px;
  overflow: hidden;
  box-shadow: none !important;
  font-size: 15px;
  margin-bottom: 0;
  margin-top: 0;
  padding: 8px;
  background-color: #fff;
  border: 1px solid #bbb;
  color: #4e4e4e;
}

input.button{
  padding-top: 12px;
  padding-bottom: 12px;
  padding-left: 12px;
  color: #FFFFFF !important;
  border-width: 0px !important;
  border-radius: 50px;
  font-size: 14px;
  font-family: 'Open Sans', Helvetica, Arial, Lucida, sans-serif !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  /* padding-right: 2em; */
  padding-right: 12px;
  background-color: #F28D1D !important;
  margin-bottom: 8px;
  transition: all .2s ease !important;
  line-height: 1.7em !important;
  background-size: cover;
  background-position: 50%;
  background-repeat: no-repeat;
  border: 2px solid;
}

input.button::after{
  /* line-height: inherit;
  font-size: inherit !important;
  opacity: 1;
  margin-left: .3em;
  left: auto;
  display: inline-block;
  font-family: FontAwesome !important;
  font-weight: 400 !important;
  content: '\f061';
  font-size: 32px;
  line-height: 1em; */
}

input.button:hover, input.button:focus, input.button:active{
  background-image: initial !important;
  background-color: #34B162 !important;
}

/**
* OR related shortcode styling
*/

/* Outer spacing between stacked blocks */
.or-related-sc {
  margin-block: 48px;
}

.or-related-sc:first-of-type {
  margin-top: 24px;
}

.or-related-sc:last-of-type {
  margin-bottom: 0;
}

/* Headings inside our wrapper */
.or-related-sc .et_pb_text .et_pb_text_inner h4 {
  font-size: 22px;
  line-height: 1.3;
  margin: 0 0 20px;
}

/* === Card base === */
.or-related-sc .or-dipi-card {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  /* ensures image + content share rounded corners */
  background: #1f1f1f;
  box-shadow: 0 2px 0 rgba(255, 255, 255, .08) inset, 0 1px 0 rgba(255, 255, 255, .04);
  text-decoration: none;
}

/* Image area */
.or-related-sc .or-dipi-card__image {
  position: relative;
  line-height: 0;
  background: #000;
  aspect-ratio: 16/9;
  overflow: hidden;
  flex-shrink: 0;
}

.or-related-sc .or-dipi-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Content panel */
.or-related-sc .or-dipi-card__content {
  background: #2b2b2b;
  color: #fff;
  padding: 22px 24px 10px;
  flex: 1 1 auto;
}

.or-related-sc .or-dipi-card .dipi-entry-title {
  margin: 0;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
  font-size: 20px;
}

/* Footer w/ button */
.or-related-sc .or-dipi-card__footer {
  background: #2b2b2b;
  padding: 0 24px 24px;
  display: flex;
  align-items: center;
  margin-top: auto;
}

.or-related-sc .or-dipi-card__footer .et_pb_button.dipi-more-link {
  display: inline-block;
  position: relative;
  font-family: "Open Sans", Helvetica, Arial, Lucida, sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background-color: #f28d1d;
  padding: 12px 36px 12px 12px;
  line-height: 1.7;
  border-radius: 50px;
  border: 0;
  cursor: pointer;
  transition: all .2s ease;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  white-space: nowrap;
}

.or-related-sc .or-dipi-card__footer .et_pb_button.dipi-more-link:hover {
  background-color: #34b162;
  color: #fff;
}

.or-related-sc .or-dipi-card__footer .et_pb_button.dipi-more-link::after {
  line-height: 1.7em;
  font-size: 16px;
}

/* Hover nicety */
.or-related-sc .or-dipi-card:hover .dipi-blog-post-overlay {
  opacity: .06;
}

.or-related-sc .dipi-blog-post-overlay {
  pointer-events: none;
}

/* === Equal-heights in Swiper mode === */
.or-related-sc .swiper-container {
  height: auto !important;
}

.or-related-sc .dipi-blog-slider-wrapper {
  align-items: stretch !important;
}

.or-related-sc .dipi-blog-slider-wrapper .swiper-slide {
  display: flex !important;
  flex-direction: column;
  height: auto !important;
}

.or-related-sc .dipi-blog-slider-wrapper .dipi-blog-post.or-dipi-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* === No-slider responsive grid (3/2/1) === */
.or-related-sc .dipi-blog-slider-main.dipi-no-slider .dipi-blog-slider-wrapper {
  display: flex;
  justify-content: center;
  gap: 36px;
  transform: none !important;
  width: auto !important;
}

@media (min-width: 981px) {
  .or-related-sc .dipi-blog-slider-main.dipi-no-slider .dipi-blog-slider-wrapper {
    gap: 50px;
  }

  .or-related-sc .dipi-blog-slider-main.dipi-no-slider .dipi-blog-slider-wrapper .dipi-blog-post {
    width: calc((100% - 100px) / 3) !important;
  }
}

@media (min-width: 768px) and (max-width: 980px) {
  .or-related-sc .dipi-blog-slider-main.dipi-no-slider .dipi-blog-slider-wrapper .dipi-blog-post {
    width: calc((100% - 36px) / 2) !important;
  }
}

@media (max-width: 767px) {
  .or-related-sc .dipi-blog-slider-main.dipi-no-slider .dipi-blog-slider-wrapper {
    gap: 24px;
  }

  .or-related-sc .dipi-blog-slider-main.dipi-no-slider .dipi-blog-slider-wrapper .dipi-blog-post {
    width: 100% !important;
  }
}

/* Kill leftover Swiper UI in no-slider blocks (belt & suspenders) */
.or-related-sc .dipi-no-slider .swiper-button-next,
.or-related-sc .dipi-no-slider .swiper-button-prev {
  display: none !important;
}

.or-related-sc .dipi-no-slider .dipi-blog-post {
  margin-right: 0 !important;
}

/* Keyboard focus */
.or-related-sc .or-dipi-card:focus {
  outline: 2px solid #f28d1d;
  outline-offset: 3px;
  border-radius: 16px;
}


/* ===== Base grid wrapper for both shortcodes ===== */

.or-klanten {
  --gap: 50px;
  display: grid;
  grid-template-columns: repeat(var(--or-cols-d, 4), minmax(0, 1fr));
  gap: var(--gap);
  align-items: stretch;
}

@media (max-width: 980px) {
  .or-klanten {
    grid-template-columns: repeat(var(--or-cols-t, 2), minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .or-klanten {
    grid-template-columns: repeat(var(--or-cols-p, 1), minmax(0, 1fr));
  }
}

/* Reset link look inside grid */
.or-klanten a {
  text-decoration: none;
}

/* ================= LOGO CARDS ================= */

.or-klant-card--logo {
  display: block;
}

.or-klant-card--logo .or-klant-card__inner {
  height: 70px;
  border-radius: 16px;
  /* background: linear-gradient(90deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.95)); */
  background: #ffffff;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.or-klant-card--logo img {
  max-width: 80%;
  max-height: 80%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.or-klant-card--logo .or-klant-card__fallback {
  color: #222;
  font-weight: 700;
  font-size: 16px;
}

/* ================= REVIEW CARDS ================= */

.or-klant-card--review {
  background: #ffffff;
  color: #111;
  border-radius: 26px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.20);
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.or-klant-review__top {
  margin-bottom: 18px;
}

.or-klant-review__logo {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.or-klant-review__company {
  font-family: "Poppins", Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 28px;
  color: #e4472f;
}

.or-klant-review__text {
  font-size: 16px;
  line-height: 1.7;
  color: #222222;
  margin: 4px 0 22px;
}

.or-klant-review__author {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.or-klant-review__avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
}

.or-klant-review__who {
  display: flex;
  flex-direction: column;
}

.or-klant-review__name {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #F28D1D;
  /* brand orange */
  font-size: 14px;
}

.or-klant-review__role {
  font-size: 13px;
  color: #555555;
  margin-top: 2px;
}

/* Small tweaks on mobile */
@media (max-width: 767px) {
  .or-klant-card--review {
    padding: 22px 20px 20px;
  }
}

/* Fading edges for the LOGO row – mimic original Divi look */
.or-klanten--logos {
  position: relative;
  overflow: hidden;
  /* hide any overflow behind the fade */
}

/* Single overlay that darkens the extreme left/right and fades to clear in the center */
.or-klanten--logos::before {
  content: "";
  position: absolute;
  inset: 0;
  /* cover the entire logo row */
  pointer-events: none;
  z-index: 5;

  /* Adjust #050505 to your exact background colour if needed */
  background: linear-gradient(90deg,
      rgba(5, 5, 5, 0.95) 0%,
      /* fully dark at far left */
      rgba(5, 5, 5, 0.70) 8%,
      /* still quite dark over first card */
      rgba(5, 5, 5, 0.0) 25%,
      /* fully transparent in left-middle */
      rgba(5, 5, 5, 0.0) 75%,
      /* fully transparent in right-middle */
      rgba(5, 5, 5, 0.70) 92%,
      /* darken last card */
      rgba(5, 5, 5, 0.95) 100%
      /* fully dark at far right */
    );
}