/*
Theme Name: Leflite child
Theme URI: https://lefcreative.nl/
Author: Lef Creative
Author URI: https://lefcreative.nl/
Description: Child theme van het thema Leflite
Version: 1.0.0
License: /
License URI: /
Template: leflite
*/


/* ==========================================================================
   Algemeen
   ========================================================================== */

h1, h2, h3, h4, h5, a.btn {
  text-transform: uppercase;
}

section.full-background-overlay .background-image-wrapper img {
  opacity: .5;
}

.overlap-vorige .container {
  margin-top: -40px;
}


/* ==========================================================================
   Header
   ========================================================================== */

header {
  z-index: 10;
  position: relative;
}

body .under-menu {
  position: relative;
}

body .under-menu .navigation-inner {
  justify-content: flex-end;
}

body .under-menu * {
  text-transform: uppercase;
}

body .under-menu:after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  height: 6px;
  width: 100%;
  background-image: url('/app/themes/leflite-child/img/under.svg');
  background-size: cover;
}


/* ==========================================================================
   Cards - generiek
   ========================================================================== */

.card-padding {
  padding: 24px;
  border-radius: 4px;
}

.card.bg-yellow {
  background-color: #FEFBEB !important;
  border: 2px solid var(--secondary);
}


/* ==========================================================================
   Cards - special-cards block
   ========================================================================== */

.special-cards .image-outer {
  display: none;
}

.special-cards .wp-block-custom-section-block-col:first-of-type .card {
  border: 1px solid var(--secondary) !important;
  border-left: 3px solid var(--secondary) !important;
}

.special-cards .wp-block-custom-section-block-col:nth-child(2) .card {
  border: 1px solid #E85A4F !important;
  border-left: 3px solid #E85A4F !important;
  background-color: var(--primary);
}

.special-cards .wp-block-custom-section-block-col:nth-child(2) .card * {
  color: white;
}

.special-cards .wp-block-custom-section-block-col:last-of-type .card {
  border: 1px solid var(--primary) !important;
  border-left: 3px solid var(--primary) !important;
  background-color: var(--tertiary);
}


/* ==========================================================================
   Cards - card-simple component
   ========================================================================== */

.card[data-component="card-simple"] {
  display: flex;
  align-items: stretch;
  gap: 24px;
}

.card[data-component="card-simple"] .image-outer {
  position: relative;
  flex: 0 0 188px;
  width: 188px;
  align-self: stretch;
  overflow: hidden;
}

.card[data-component="card-simple"] .image-outer:after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
  opacity: 0.3;
  pointer-events: none;
}

.card[data-component="card-simple"] .image-outer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card[data-component="card-simple"] .content-outer {
  flex: 1 1 auto;
  min-width: 0;
  padding: 20px !important;
}

.card[data-component="card-simple"] .btn {
  background: none !important;
  color: var(--primary) !important;
  padding: 0 !important;
}

@media (max-width: 767px) {
  .card[data-component="card-simple"] {
    flex-direction: column;
  }
  .card[data-component="card-simple"] .image-outer {
    flex: 0 0 auto;
    width: 100%;
    height: auto;
  }
}


/* ==========================================================================
   Card labels
   ========================================================================== */

.card-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.card-label {
  display: inline-block;
  background-color: #FDEEEC;
  color: #E85A4F;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 6px;
  line-height: 1;
}


/* ==========================================================================
   Footer
   ========================================================================== */

footer img {
  width: auto;
}

footer h3 {
  margin-bottom: 20px !important;
}

.footer-inner.section-padding {
  padding: 70px 0;
}

footer .widget-menu ul li a {
  color: #555555;
  font-family: "Barlow Condensed";
  margin-bottom: 10px;
  display: block;
  font-weight: 600;
  font-size: 18px;
  text-transform: uppercase;
  text-decoration: none;
}
