/* 
Theme Name:		 Web Rabbitz
Theme URI:		 https://webrabbitz.nl/
Description:	 Web Rabbitz is een child theme van Divi en wij maken doelgerichte websites die passen bij jouw organisatie
Author:			 Web Rabbitz
Author URI:		 https://webrabbitz.nl/
Template:		 Divi
Version:		 1.0.0
Text Domain:	 web-rabbitz
*/


/*
    Add your custom styles here
*/
ul li, ol li{line-height:200%;}

.cf7-zorgstudio-form { 
	padding-top:20px; padding-bottom:40px;
  margin: 0 auto;
}

.cf7-zorgstudio-form p {
  margin-bottom: 8px;
}

.cf7-zorgstudio-form .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.cf7-zorgstudio-form input[type="text"],
.cf7-zorgstudio-form input[type="email"],
.cf7-zorgstudio-form input[type="tel"],
.cf7-zorgstudio-form input[type="number"],
.cf7-zorgstudio-form input[type="url"],
.cf7-zorgstudio-form textarea,
.cf7-zorgstudio-form select {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 14px;
  background: rgba(255,255,255,0.96);
  color: #1f2937;
  font-size: 16px;
  line-height: 1.5;
  box-sizing: border-box;
  transition: all 0.2s ease;
  backdrop-filter: blur(6px);
  box-shadow:
    0 4px 12px rgba(0,0,0,0.06),
    inset 0 1px 0 rgba(255,255,255,0.7);
}

.cf7-zorgstudio-form textarea {
  min-height: 160px;
  resize: vertical;
}

.cf7-zorgstudio-form input::placeholder,
.cf7-zorgstudio-form textarea::placeholder {
  color: #6b7280;
  opacity: 1;
}

.cf7-zorgstudio-form input:focus,
.cf7-zorgstudio-form textarea:focus,
.cf7-zorgstudio-form select:focus {
  outline: none;
  border-color: #f4690b;
  box-shadow:
    0 0 0 4px rgba(244,105,11,0.18),
    0 8px 24px rgba(0,0,0,0.08);
  transform: translateY(-1px);
}

.cf7-zorgstudio-form .wpcf7-submit {
  appearance: none;
  border: none;
  border-radius: 14px;
  background: #f4690b;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  padding: 16px 30px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 10px 24px rgba(244,105,11,0.28);
}

.cf7-zorgstudio-form .wpcf7-submit:hover {
  transform: translateY(-2px);
/*   box-shadow: 0 14px 28px rgba(244,105,11,0.34); */
  border:none!important;
  padding:16px 30px!important;
  background: #f4690b!important;
}

.cf7-zorgstudio-form .wpcf7-spinner {
  margin-top: 12px;
}

.cf7-zorgstudio-form .wpcf7-response-output {
  margin-top: 20px;
  padding: 11px 11px;
  border-radius: 12px;
  background: rgba(255,255,255,0.14);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.2);
}


/* =========================================================
   CARENDIS FAQ
   Bestand tegen WordPress wpautop / extra p + br tags
   ========================================================= */

.carendis-faq-section {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

/* INTRO */

.carendis-faq-intro {
    max-width: 820px;
    margin-bottom: 36px;
}

.carendis-faq-label {
    display: block;
    margin: 0 0 10px 0;
    padding: 0;

    font-size: 15px;
    line-height: 1.4;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;

    color: #777;
}

.carendis-faq-intro h2 {
    margin: 0 0 14px 0 !important;
    padding: 0 !important;
}

.carendis-faq-intro p {
    margin: 0 !important;
    padding: 0 !important;

    font-size: 18px;
    line-height: 1.7;

    color: #666;
}

/* lege p-tags die WordPress toevoegt */

.carendis-faq-intro > p:empty,
.carendis-faq-answer > p:empty {
    display: none !important;
}


/* =========================================================
   FAQ LIST
   ========================================================= */

.carendis-faq-list {
    display: flex !important;
    flex-direction: column;
    gap: 12px;

    width: 100%;
}


/* =========================================================
   ITEM / KAART
   ========================================================= */

.carendis-faq-item {
    display: block !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    background: #fff;

    border: 1px solid #e8e8e8;
    border-radius: 14px;

    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.045);

    overflow: hidden;

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        transform .2s ease;
}

.carendis-faq-item:hover {
    border-color: #f3c6a5;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);

    transform: translateY(-1px);
}


/* =========================================================
   SUMMARY
   ========================================================= */

.carendis-faq-item > summary {
    display: flex !important;
    align-items: center !important;

    gap: 18px;

    width: 100% !important;
    min-height: 78px;

    margin: 0 !important;
    padding: 15px 22px !important;

    box-sizing: border-box;

    cursor: pointer;

    list-style: none !important;
}


/* standaard browserpijltje verwijderen */

.carendis-faq-item > summary::marker {
    content: "";
    font-size: 0;
}

.carendis-faq-item > summary::-webkit-details-marker {
    display: none !important;
}


/* =========================================================
   WORDPRESS WPAUTOP FIX
   ========================================================= */

/*
WordPress zet rond elementen in summary extra p-tags.
Met display:contents bestaan die voor de layout praktisch niet meer.
*/

.carendis-faq-item > summary > p {
    display: contents !important;

    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    height: auto !important;
}


/* lege p's helemaal weg */

.carendis-faq-item > summary > p:empty {
    display: none !important;
}


/* WordPress geplaatste br binnen summary weg */

.carendis-faq-item > summary br {
    display: none !important;
}


/* =========================================================
   NUMMER
   ========================================================= */

.carendis-faq-number {
    flex: 0 0 46px !important;

    display: flex !important;
    align-items: center;
    justify-content: center;

    width: 46px !important;
    height: 46px !important;

    margin: 0 !important;
    padding: 0 !important;

    box-sizing: border-box;

    border-radius: 50%;

    background: #fff3e9;
    color: #f36b00;

    font-size: 14px;
    line-height: 1;
    font-weight: 700;
}


/* =========================================================
   VRAAG
   ========================================================= */

.carendis-faq-item > summary > h3 {
    flex: 1 1 auto !important;

    display: block !important;

    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;

    font-size: 20px !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;

    color: #333;

    box-sizing: border-box;
}


/* =========================================================
   PLUS / MIN
   ========================================================= */

.carendis-faq-icon {
    flex: 0 0 28px !important;

    display: block !important;

    position: relative;

    width: 28px !important;
    height: 28px !important;

    margin: 0 !important;
    padding: 0 !important;

    box-sizing: border-box;
}

.carendis-faq-icon::before,
.carendis-faq-icon::after {
    content: "";

    position: absolute;

    top: 50%;
    left: 50%;

    background: #f36b00;

    transform: translate(-50%, -50%);

    transition: transform .25s ease;
}

.carendis-faq-icon::before {
    width: 18px;
    height: 2px;
}

.carendis-faq-icon::after {
    width: 2px;
    height: 18px;
}


/* open = plus wordt min */

.carendis-faq-item[open] .carendis-faq-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}


/* =========================================================
   OPEN STATE
   ========================================================= */

.carendis-faq-item[open] {
    border-color: #f3c6a5;

    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.carendis-faq-item[open] > summary {
    padding-bottom: 10px !important;
}


/* =========================================================
   ANTWOORD
   ========================================================= */

.carendis-faq-answer {
    display: block !important;

    width: 100%;

    margin: 0 !important;
    padding: 0 72px 24px 86px !important;

    box-sizing: border-box;
}

.carendis-faq-answer p {
    margin: 0 !important;
    padding: 0 !important;

    font-size: 17px;
    line-height: 1.75;

    color: #666;
}


/*
WordPress voegt ook <br> toe doordat de HTML over meerdere
regels staat. In antwoorden willen we die kunstmatige breaks niet.
*/

.carendis-faq-answer br {
    display: none !important;
}


/* hover */

.carendis-faq-item > summary:hover h3 {
    color: #f36b00;
}


/* =========================================================
   TABLET / MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .carendis-faq-intro {
        margin-bottom: 26px;
    }

    .carendis-faq-intro p {
        font-size: 16px;
        line-height: 1.65;
    }

    .carendis-faq-list {
        gap: 10px;
    }

    .carendis-faq-item > summary {
        gap: 12px;

        min-height: 68px;

        padding: 13px 15px !important;
    }

    .carendis-faq-number {
        flex-basis: 38px !important;

        width: 38px !important;
        height: 38px !important;

        font-size: 12px;
    }

    .carendis-faq-item > summary > h3 {
        font-size: 17px !important;
        line-height: 1.4 !important;
    }

    .carendis-faq-icon {
        flex-basis: 24px !important;

        width: 24px !important;
        height: 24px !important;
    }

    .carendis-faq-icon::before {
        width: 15px;
    }

    .carendis-faq-icon::after {
        height: 15px;
    }

    .carendis-faq-answer {
        padding: 0 50px 20px 65px !important;
    }

    .carendis-faq-answer p {
        font-size: 16px;
        line-height: 1.7;
    }
}


/* =========================================================
   KLEINE MOBIEL
   ========================================================= */

@media (max-width: 480px) {

    .carendis-faq-item > summary {
        gap: 10px;
        padding: 12px !important;
    }

    .carendis-faq-number {
        flex-basis: 34px !important;

        width: 34px !important;
        height: 34px !important;
    }

    .carendis-faq-item > summary > h3 {
        font-size: 16px !important;
    }

    .carendis-faq-answer {
        padding: 0 44px 18px 56px !important;
    }
}