/* 
Theme Name: Divi Child - De Kluslijn
Theme URL: https://dekluslijn.nl/
Description: De Kluslijn Child Theme for Divi 5
Theme Author: Marije
Author URL: https://groeihero.nl/
Template: Divi 
Version: 2.0.0 
Text Domain: dekluslijn
*/



/* ==========================================================================
   Typography - Adobe Fonts
   ========================================================================== */
@import url("https://use.typekit.net/uei0wbn.css");

/* ==========================================================================
   Base Reset & Typography - Mobile First
   ========================================================================== */



/* ---------- Design tokens ---------- */
:root {   
  --color-primary: #003660;
  --color-lightblue: #c7bdde;
  --color-red: #E8533C;
  --color-grey: #616061;
  --color-lightgrey: #B0AFB0;
  --color-white: #ffffff;
  --color-black: #0F0D0F;



  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  
  /* Typography */
  --font-base: "poppins", sans-serif;

    --font-size-sm: clamp(0.75rem, 1.5vw, 0.875rem);
  --font-size-base: clamp(0.875rem, 2vw, 1rem);
  --font-size-lg: clamp(1rem, 2.5vw, 1.125rem);
  --font-size-xl: clamp(1.125rem, 3vw, 1.5rem);
  --font-size-2xl: clamp(1.5rem, 4vw, 2rem);
  --font-size-3xl: clamp(2rem, 5vw, 2.5rem);
  
  /* Borders & Shadows */
  --border-width: 2px;
  --border-radius: 0;
  --shadow-sm: 2px 2px 0px var(--color-black);
  --shadow-md: 3px 3px 0px var(--color-black);
  --shadow-lg: 5px 5px 0px var(--color-black);
}


/* ---------- Base & typography ---------- */

/* CSS Reset */
* { 
  margin: 0; 
  padding: 0; 
  box-sizing: border-box; 
}

/* Base Typography */
html, 
body { 
  font-family: var(--font-base);
  font-size: var(--font-size-base);
  color: #fff; /* ⚠️ NOT IN HOUSESTYLE - body text gray */
  line-height: 1.5;
}

body, .et_pb_section, #main-header, .foot { 
  background-color: var(--color-primary); /* ✓ HOUSESTYLE BLUE */
}

/* Form Elements */
input, 
select, 
textarea { 
  font-family: var(--font-base);
  font-size: var(--font-size-base);
  color: var(--color-grey); /* ⚠️ NOT IN HOUSESTYLE - form text gray */
  border-radius: 0;
  -webkit-appearance: none;
}

/* Images */
img { 
  max-width: 100%;
  height: auto;
  border: 0;
  display: block;
}

/* Lists */
ul, 
li { 
  list-style: none;
 font-family: var(--font-base);

}

/* Focus States */
:focus { 
  outline: none;
}

/* Links */
a { 
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Headings - Mobile First with Fluid Scaling */
h1, 
h2, 
h3, 
h4, 
h5, 
h6 { 
  margin-bottom: clamp(16px, 3vw, 22px);
  font-family: var(--font-base);
  font-weight: 700;
  line-height: 1.2;
}

h1 { 
  font-size: var(--font-size-3xl);
  color: #fff;
  font-weight: 700;
    text-transform: uppercase;
}
h1 span{ 
  font-family: var(--font-size-lg: 1.125rem;);
  color: #fff;
  font-weight: 400;
    text-transform: none;
}
h2 { 
  font-size: clamp(24px, 4vw, 32px);
  color: #e8533b; /* ⚠️ CLOSE TO HOUSESTYLE - should be #E8533C (lowercase c vs C) */
  margin-bottom: clamp(20px, 4vw, 35px);
}

h3 { 
  font-size: clamp(20px, 3.5vw, 24px);
  color: #fff; /* ⚠️ NOT IN HOUSESTYLE - near-black for contrast */
}

h4 {
  font-size: clamp(18px, 3vw, 20px);
  color: #0F0D0F; /* ⚠️ NOT IN HOUSESTYLE - near-black for contrast */
}

h5 {
  font-size: clamp(16px, 2.5vw, 18px);
  color: #0F0D0F; /* ⚠️ NOT IN HOUSESTYLE - near-black for contrast */
}

h6 {
  font-size: clamp(14px, 2vw, 16px);
  color: #0F0D0F; /* ⚠️ NOT IN HOUSESTYLE - near-black for contrast */
}

/* Paragraphs */
p { 
  font-family: var(--font-base);
  margin-bottom: 25px;
  line-height: 1.6;
  color: #fff; 
}

p a { 
  color: #c7bdde; /* ⚠️ CLOSE TO HOUSESTYLE - should be #E8533C */
  text-decoration: none;
}

p a:hover {
  color: #E8533C; /* ⚠️ NOT IN HOUSESTYLE - darker red for hover state */
}

/* Horizontal Rule */
hr { 
  margin: clamp(30px, 5vw, 50px) 0;
  width: 100%;
  height: 1px;
  border: 0;
  background: #B0AFB0; /* ⚠️ NOT IN HOUSESTYLE - light gray for dividers */
}

/* ==========================================================================
   Global Layout Classes
   ========================================================================== */
.intro{
    line-height:1.6;
    font-family: "josefin-sans", sans-serif;
    font-weight: 400;
    font-style: italic;
    font-size:1.4em;
}
.clear { 
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}

.center { 
  margin: 0 auto;
  position: relative;
  max-width: 1200px;
  padding-inline: clamp(16px, 3vw, 24px);
}

.centered { 
  padding-inline: max(16px, calc((100% - 1028px) / 2));
}
.smal { 
  margin: 0 auto;
  width: clamp(320px, 60%, 750px) !important;
}

/* Lists & List Items */
.lijst{
    margin-left: 15px;
}
.lijst ul {
  list-style: none;
  padding-left: 0;
}

.lijst ul li {
  position: relative;
  padding-left: 20px !important;
font-size:1em !important;
    line-height:1.6;
}

.lijst ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 10px;
  height: 10px;
  background-color: #E8533C;
}

/* ==========================================================================
   Contact Form 7 Styling - Mobile First
   ========================================================================== */

#main-header {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3); /* ✓ HOUSESTYLE RED with transparency */
}

#top-menu a {
    font-family: var(--font-base);
color: #c7bdde;
}
#top-menu a:hover, #top-menu li.current-menu-item>a, #top-menu  .current_page_item a {
color: #fff !important;
}
#top-menu li{
    width: 150px

}
/* ==========================================================================
   Contact Form 7 Styling - Mobile First
   ========================================================================== */

/* Base Input & Textarea Styling */
.contact7 input, 
.contact7 textarea,
.contact7 .wpcf7-list-item-label input,
.sib-form .input, .sib-form .input__affix{
  background: #fff !important; /* ⚠️ NOT IN HOUSESTYLE - white background for readability */
  border: 1px solid #c7bdde !important; /* ✓ HOUSESTYLE PURPLE */
  border-width: 0 3px 3px 0 !important;
  color: #333 !important; /* ⚠️ NOT IN HOUSESTYLE - dark gray for input text */
  border-radius: 6px !important;
  padding: clamp(10px, 2vw, 12px);
  max-width: 100%;
  block-size: 40px;
  inline-size: 100%;
  font-size: max(16px, 1rem);
  font-family: var(--font-base);
  transition: border-color 0.3s ease;
}

.sib-form .entry__field {
-webkit-align-items: center;
align-items: center;
border-radius: 3px;
display: -webkit-inline-flex;
display: inline-flex;
margin: .25rem 0;
}

.contact7 input:focus,
.contact7 textarea:focus {
  border-color: #E8533C !important; /* ✓ HOUSESTYLE RED */
  outline: none;
}

.contact7 textarea {
  min-block-size: 120px;
  block-size: auto;
  resize: vertical;
}

/* Submit Button */
.contact7 input[type="submit"],
.sib-form-block__button,
a.knop{
  background-color: #E8533C !important; /* ✓ HOUSESTYLE RED */
  color: #fff !important; /* ⚠️ NOT IN HOUSESTYLE - white for contrast */
  border: none !important;
  padding: 12px 30px !important;
  border-radius: 6px !important;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s ease;
  block-size: auto;
  inline-size: auto;
  font-family: var(--font-base);
}

.contact7 input[type="submit"]:hover {
  background-color: #d13d28 !important; /* ⚠️ NOT IN HOUSESTYLE - darker red for hover */
}

/* Focus-visible for better keyboard navigation */
.contact7 input:focus-visible,
.contact7 textarea:focus-visible {
  outline: 2px solid #E8533C; /* ✓ HOUSESTYLE RED */
  outline-offset: 2px;
}

/* ==========================================================================
   Custom Radio Button Styling
   ========================================================================== */

.contact7 [type="radio"] {
  position: absolute;
  inset-inline-start: -9999px;
}

.contact7 [type="radio"] + .wpcf7-list-item-label {
  position: relative;
  padding-inline-start: 30px !important;
  line-height: 20px;
  display: block;
  cursor: pointer;
  font-family: var(--font-base);
}

.contact7 [type="radio"] + .wpcf7-list-item-label::before,
.contact7 [type="radio"] + .wpcf7-list-item-label::after {
  content: "";
  position: absolute;
  box-sizing: border-box;
  border-radius: 50%;
}

.contact7 [type="radio"] + .wpcf7-list-item-label::before {
  inset-block-start: 0;
  inset-inline-start: 0;
  inline-size: 20px;
  block-size: 20px;
  border: 2px solid #c7bdde; /* ✓ HOUSESTYLE PURPLE */
  background: #fff; /* ⚠️ NOT IN HOUSESTYLE - white for contrast */
}

.contact7 [type="radio"] + .wpcf7-list-item-label::after {
  inset-block-start: 5px;
  inset-inline-start: 5px;
  inline-size: 10px;
  block-size: 10px;
  background: #E8533C; /* ✓ HOUSESTYLE RED */
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.contact7 [type="radio"]:not(:checked) + .wpcf7-list-item-label::after {
  opacity: 0;
  transform: scale(0.01);
}

.contact7 [type="radio"]:checked + .wpcf7-list-item-label::after {
  opacity: 1;
  transform: scale(1);
}

.contact7 [type="radio"]:focus-visible + .wpcf7-list-item-label::before {
  box-shadow: 0 0 0 3px rgba(232, 83, 60, 0.3); /* ✓ HOUSESTYLE RED with transparency */
  border-color: #E8533C; /* ✓ HOUSESTYLE RED */
}

.contact7 [type="radio"] + .wpcf7-list-item-label.first::before {
  margin-inline-start: -30px !important;
}

.wpcf7-list-item {
  inline-size: 100%;
  margin-inline-start: 30px;
  margin-block-end: 10px;
}

.wpcf7-radio {
  margin-inline-start: 30px !important;
}

.wpcf7-radio .wpcf7-list-item.first {
  margin-inline-start: -30px !important;
}

.contact7 input[type="submit"],
.sib-form-block__button{
  text-align: right;
  display: block;
  margin-left: auto;
font-size: 1.2em;
text-transform: uppercase;
}

/* ==========================================================================
   Form Messages
   ========================================================================== */

.wpcf7-response-output {
  border-radius: 6px;
  padding: 1em;
  margin-block-start: 1em;
  font-family: var(--font-base);
}

.wpcf7-mail-sent-ok {
  background-color: #d4edda; /* ⚠️ NOT IN HOUSESTYLE - success green */
  border-color: #c3e6cb; /* ⚠️ NOT IN HOUSESTYLE - success green border */
  color: #155724; /* ⚠️ NOT IN HOUSESTYLE - success green text */
}

.wpcf7-validation-errors {
  background-color: #f8d7da; /* ⚠️ NOT IN HOUSESTYLE - error red background */
  border-color: #f5c6cb; /* ⚠️ NOT IN HOUSESTYLE - error red border */
  color: #721c24; /* ⚠️ NOT IN HOUSESTYLE - error red text */
}

/* ==========================================================================
   Brevo Form Styling (for future use)
   ========================================================================== */

  #sib-container input:-ms-input-placeholder {
    text-align: left;
    color: #003660;
  }

  #sib-container input::placeholder {
    text-align: left;
    color: #c0ccda;
  }

  #sib-container textarea::placeholder {
    text-align: left;
    color: #003660;
  }

  #sib-container a {
    text-decoration: underline;
    color: #c7bdde;
  }


/* ==========================================================================
   Responsive Enhancements - Tablet and Up
   ========================================================================== */

.page-break {
    background-image:url(https://dekluslijn.nl/wp-content/uploads/2025/11/marcus-en-ivo-achtergrond-scaled.webp); 
}

.page-break .et_pb_text_inner{
    background:#003660; 
    border-radius:10px;
    box-shadow: 4.0px 8.0px 8.0px #0a2438;
    margin:1em;
    padding:1em;
}


/* ==========================================================================
   OVER ons
   ========================================================================== */
.over-ons-titel{
      background-image: url('https://dekluslijn.nl/wp-content/uploads/2025/11/engelse-sleutel-scaled.webp');
      background-position: 45em -45em;
  background-size: 100%;
    background-repeat:no-repeat;

}

.page-break {
  position: relative;
  background-image: url('https://dekluslijn.nl/wp-content/uploads/2025/11/marcus-en-ivo-achtergrond-scaled.webp');
  background-size: cover;
  background-position: center;
}

.page-break::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 55, 97, 0.7); /* White overlay at 30% opacity */
}
.over-ons-onder{
      background-image: url('https://dekluslijn.nl/wp-content/uploads/2025/11/schroeven-scaled.webp');
      background-position: bottom left;
  background-size: 40%;
    background-repeat:no-repeat;

}

.over-ons-onder .et_pb_text_4 {
padding-bottom: 250px;
}






/* ==========================================================================
   Responsive Enhancements - Tablet and Up
   ========================================================================== */

@media (min-width: 768px) {
  /* Typography adjustments */
  body {
    font-size: 18px;
  }
  
  /* Larger touch targets on tablets */
  .contact7 [type="radio"] + .wpcf7-list-item-label::before {
    inline-size: 22px;
    block-size: 22px;
  }
  
  .contact7 [type="radio"] + .wpcf7-list-item-label::after {
    inset-block-start: 6px;
    inset-inline-start: 6px;
  }
}


/* ==========================================================================
   Foot
   ========================================================================== */
.foot{
border-top: 1px solid #fff;

}

.foot .icon,
.et_pb_social_media_follow_network_0_tb_footer a.icon{
background-color: #fff!important;
}
.foot .et_pb_social_icon a.icon:before{
    color:003660 !important;
}
.foot social{
  text-align: center;
  justify-content: center;
}



/* ==========================================================================
   Bericht overzicht
   ========================================================================== */

.nieuws-overzicht{
    
}
.nieuws-overzicht h2 a{
    color: var(--color-red);
}
.nieuws-overzicht .et_pb_no_thumb  h2.entry-title {
    margin-top: 1.6em;
}
.nieuws-overzicht .entry-featured-image-url {
    padding-top: 100%;
    display: block;
}

.nieuws-overzicht .entry-featured-image-url img{
    position: absolute;
    height: 100% !important;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    object-fit: cover;
}
/* Match the square aspect ratio for posts without thumbnails */
.nieuws-overzicht .et_pb_no_thumb .et_pb_image_container,
article.et_pb_no_thumb {
    padding-top: 100% !important;
    display: block;
    position: relative;
    background-image: url('https://dekluslijn.nl/wp-content/uploads/2025/11/wagenpark.jpg');
    background-size: contain;
    background-position: top;
    background-color: #f0f0f0; /* Fallback color if no image */
    background-repeat: no-repeat;
}

/* ==========================================================================
   Berichten
   ========================================================================== */

.bericht-header{

}
.bericht-header .et_pb_section {
padding-top: 0 !important;
}
.bericht-header .et_pb_title_featured_container {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 ratio */
    overflow: hidden;
}

.bericht-header .et_pb_title_featured_container .et_pb_image_wrap {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    padding-top: 0 !important;
}

.bericht-header .et_pb_title_featured_container .et_pb_image_wrap img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
}





.bericht-content{
    
}
.bericht-menu{
    
}
.bericht-menu h6 a{
      font-family: var(--font-base);
  color: #fff;
  line-height: 1.5;
      margin-bottom: var(--space-sm: 1rem;);

}














@media (min-width: 1024px) {
  /* Desktop optimizations */
  .contact7 input[type="submit"]:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(232, 83, 60, 0.3); /* ✓ HOUSESTYLE RED with transparency */
  }
      .foot .social {
    text-align: center;
    justify-content: flex-end;
  }
}

/* ==========================================================================
   Modern CSS Features - Progressive Enhancement
   ========================================================================== */

/* Container queries support */
@container (min-width: 600px) {
  .wpcf7-radio {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
  }
  
  .wpcf7-list-item {
    margin-inline-start: 0;
    flex: 0 0 auto;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .contact7 input,
  .contact7 textarea {
    border-width: 2px !important;
  }
}














