/* FAQ accordion */
.faq-section,
.faq-section * {
    box-sizing: border-box;
}

.faq-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #F5F3EF;
}

.faq-section .faq-inner {
    display: flex;
    flex-direction: column;
    gap: 48px;
    width: 100%;
    max-width: 1062px;
    padding: 0;
}

/* Heading block */
.faq-section .faq-head {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    width: 100%;
    padding: 0;
}

.faq-section .faq-eyebrow {
    font-family: "Caveat", cursive;
    font-weight: 600;
    font-size: 34px;
    line-height: 120%;
    color: #C86900;
}

.faq-section .faq-title {
    width: 100%;
    margin: 0;
    font-family: "Cormorant Garamond", serif;
    font-weight: 700;
    font-style: normal;
    font-size: 44px;
    line-height: 118%;
    color: #1A1A1A;
    text-align: center;
    text-decoration: none;
    text-transform: none;
}

/* Accordion */
.faq-section .faq-list {
    width: 100%;
}

.faq-section .faq-item {
    display: flex;
    flex-direction: column;
    position: relative;
    margin: 0;
}

.faq-section .faq-question {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 0 10px;
    padding: 26px 4px;
    border-style: solid;
    border-width: 1px 0 0 0;
    border-color: #D8D2C6;
    border-radius: 0;
    list-style: none;
    cursor: pointer;
}

.faq-section .faq-question::-webkit-details-marker {
    display: none;
}

.faq-section .faq-question::marker {
    content: "";
}

.faq-section .faq-question-text {
    display: block;
    margin: 0;
    font-family: "Cormorant Garamond", serif;
    font-weight: 600;
    font-style: normal;
    font-size: 22px;
    line-height: 27px;
    letter-spacing: 0;
    color: #1A1A1A;
    text-transform: none;
    text-decoration: none;
    transition: all 0.3s;
}

.faq-section .faq-question:hover .faq-question-text {
    color: #4a7c7e;
}

/* Plus / minus icon */
.faq-section .faq-icon {
    display: flex;
    flex-direction: row;
    align-items: center;
    position: relative;
    width: fit-content;
    padding: 0 6px;
}

.faq-section .faq-icon span {
    height: 24px;
    width: auto;
}

.faq-section .faq-icon svg {
    display: block;
    height: 24px;
}

.faq-section .faq-icon-open {
    display: none;
}

.faq-section .faq-icon-closed {
    display: flex;
}

.faq-section .faq-item[open]>.faq-question .faq-icon-open {
    display: flex;
}

.faq-section .faq-item[open]>.faq-question .faq-icon-closed {
    display: none;
}

/* Answer */
.faq-section .faq-answer {
    display: flex;
    flex-direction: column;
    padding: 0;
    border: 0;
}

.faq-section .faq-item:not([open]) .faq-answer {
    display: none;
}

.faq-section .faq-answer-text {
    margin: 0;
    padding: 0 4px 28px 4px;
    font-family: "Jost", sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 168%;
    color: #4A4A48;
}

/* Breakpoints (same as Elementor: 1280 / 1024 / 767) */
@media (max-width: 1280px) {

    .faq-section .faq-inner {
        gap: 46px;
    }

    .faq-section .faq-question {
        padding: 24px 4px;
    }

    .faq-section .faq-answer-text {
        padding-bottom: 24px;
    }
}

@media (max-width: 1024px) {

    .faq-section .faq-inner {
        gap: 36px;
    }

    .faq-section .faq-head {
        max-width: 100%;
    }

    .faq-section .faq-title {
        font-size: 36px;
    }

    .faq-section .faq-question {
        padding: 20px 4px;
    }

    .faq-section .faq-question-text {
        line-height: 26.4px;
    }

    .faq-section .faq-answer-text {
        padding-bottom: 16px;
    }
}

@media (max-width: 767px) {

    .faq-section .faq-eyebrow {
        font-size: 25px;
    }

    .faq-section .faq-title {
        font-size: 28px;
    }

    .faq-section .faq-question {
        padding: 16px 4px;
    }

    .faq-section .faq-question-text {
        line-height: 26px;
    }
}