/* =============================================================
   Vallee des Roses Child Theme — child-theme.css  v2
   - Sections with image layouts (left / right / center)
   - FAQ: NO default heavy styling (clean base, Elementor styles it)
   - Responsive
   ============================================================= */

/* ── Outer wrapper ────────────────────────────────────────── */
.vdr-category-extras {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 0px 0;
    box-sizing: border-box;
}

/* ════════════════════════════════════════════════════════════
   CUSTOM SECTIONS
   ════════════════════════════════════════════════════════════ */
.vdr-sections-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 60px;
}
.vdr-section-btn{
    display:inline-block;
    margin-top:20px;    padding: 10px 30px;
    padding:12px 28px;
    font-family: "Montserrat" , Sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 12px;
        border-radius: 30px;
       border: 1px solid #3f444b;
       background-color: #fff;
    color: #3f444b; 
    text-decoration:none;
    border-radius:30px;
    transition:.3s ease;
}

.vdr-section-btn:hover{
    background-color: #CCC4B9;
    border: 1px solid #CCC4B9;
    color: #fff !important;
    transition:.3s ease;
}
body .vdr-section__img img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
}
.vdr-faq-accordion .vdr-faq-item:last-child {
    margin-bottom: 0px;
}

.vdr-faq-accordion .vdr-faq-item {
    margin-bottom: 16px;
    border-bottom: 0;
}
.vdr-section {
    width: 100%;
}

/* Center: full-width, centered text */
.vdr-section--center {
    text-align: center;
}
.vdr-section--center .vdr-section__img--center {
    margin-top: 20px;
}
.vdr-section--center .vdr-section__img--center img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Left (image left + text right) / Right (text left + image right) */
.vdr-section--has-image {
    display: flex;
    align-items: center;
    gap: 40px;
}
.vdr-section--left.vdr-section--has-image  { flex-direction: row; }
.vdr-section--right.vdr-section--has-image { flex-direction: row; }

.vdr-section__img {
    flex: 0 0 40%;
    max-width: 40%;
}
 
.vdr-section__body {
    flex: 1;
}

/* Section title & content — minimal base styles only */
.vdr-section__title {
    margin: 0 0 14px;
    line-height: 1.3;
}
.vdr-section__content {
    line-height: 1.8;
}
.vdr-section__content p:last-child { margin-bottom: 0; }

/* ════════════════════════════════════════════════════════════
   FAQ ACCORDION  — clean base, NO heavy default styling
   All visual styling is done via Elementor widget controls
   or your own custom CSS.
   ════════════════════════════════════════════════════════════ */
.vdr-faq-wrapper {
    margin-bottom: 60px;
}

/* Heading — unstyled; inherit from theme */
.vdr-faq__heading {
    margin: 0 0 35px;
    text-align: center; 
}

/* Accordion container */
.vdr-faq-accordion {
    width: 100%;
}

/* Individual item */
.vdr-faq-item {
    border-bottom: 1px solid currentColor;
    border-color: inherit;
}

/* Question button — clean reset */
.vdr-faq-item__question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 18px 0;
    background: none;
    border: none;
    cursor: pointer;
    font: inherit;
    text-align: left;
    gap: 12px;
        font-weight: 600 !important;
        border-radius: 100px !important;

}
.vdr-faq-item__question:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

/* Chevron */
.vdr-faq-chevron {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}
.vdr-faq-item__question[aria-expanded="true"] .vdr-faq-chevron {
    transform: rotate(180deg);
}

/* Answer — animated */
.vdr-faq-item__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    display: block !important;
    visibility: hidden;
}
.vdr-faq-item__answer.vdr-open {
    max-height: 800px;
    visibility: visible;
}

.vdr-faq-item__answer-inner {
    padding-bottom: 18px;
    line-height: 1.75;
        padding: 17px 35px 0px 35px;
}
.vdr-faq-item__answer-inner p:last-child { margin-bottom: 0; }

/* ── Responsive ───────────────────────────────────────────── */
@media screen and ( max-width: 768px ) {
    .vdr-category-extras {
        padding: 40px 0px 0;
    }
.vdr-section--right.vdr-section--has-image {
        flex-direction: column-reverse !important;
}
    .vdr-section--has-image {
        flex-direction: column !important;
    }
    .vdr-section__img {
        flex: none;
        max-width: 100%;
        width: 100%;
    }

    .vdr-faq-item__question {
        padding: 14px 0;
    }
}
