/* Global module - FAQs (accordion on details/summary) */
.el-faqs-title {
    margin: 0 0 clamp(32px, calc(32px + 18 * (100vw - 1280px) / 640), 50px);
    text-align: center;
    color: var(--el-color-heading);
}

.el-faqs-list {
    display: grid;
    gap: 14px;
    max-width: 1036px;
    margin-inline: auto;
}

.el-faq {
    border: 1px solid #e3e7eb;
    border-radius: 16px;
    background: var(--el-color-white);
    box-shadow: 0 2px 10px rgba(12, 29, 39, 0.04);
}

/* Smooth open and close where the browser can animate to height: auto. */
.el-faq::details-content {
    height: 0;
    overflow: clip;
    transition: height 0.3s ease, content-visibility 0.3s allow-discrete;
}

.el-faq[open]::details-content {
    height: auto;
}

@supports (interpolate-size: allow-keywords) {
    .el-faq {
        interpolate-size: allow-keywords;
    }
}

.el-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: clamp(22px, calc(22px + 6 * (100vw - 1280px) / 640), 28px);
    list-style: none;
    cursor: pointer;
}

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

.el-faq-question:focus-visible {
    outline: 2px solid var(--el-color-orange);
    outline-offset: -2px;
    border-radius: 16px;
}

/* h3 in the outline; sized like the design, not the h3 scale. */
.el-faq-question-text {
    margin: 0;
    font-size: clamp(20px, calc(20px + 4 * (100vw - 1280px) / 640), 24px);
    line-height: 1.3;
    color: var(--el-color-heading);
    transition: color var(--el-transition);
}

.el-faq-question:hover .el-faq-question-text {
    color: var(--el-color-orange);
}

/* Plus when closed, minus (orange circle) when open. */
.el-faq-icon {
    position: relative;
    flex: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #eef1f4;
    color: var(--el-color-blue-dark);
    transition: background-color var(--el-transition), color var(--el-transition);
}

.el-faq-icon::before,
.el-faq-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 2px;
    border-radius: 1px;
    background: currentColor;
    transform: translate(-50%, -50%);
    transition: transform var(--el-transition);
}

.el-faq-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.el-faq[open] .el-faq-icon {
    background: var(--el-color-orange);
    color: var(--el-color-white);
}

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

/* The answer runs the card width; lines stop at 75 characters for easy reading. */
.el-faq-answer {
    padding: 0 clamp(22px, calc(22px + 6 * (100vw - 1280px) / 640), 28px) clamp(24px, calc(24px + 6 * (100vw - 1280px) / 640), 30px);
    font-size: clamp(17px, 1.1vw, 19px);
    line-height: 1.6;
    color: var(--el-color-muted);
}

.el-faq-answer > * {
    max-width: 75ch;
}

.el-faq-answer > :first-child {
    margin-top: 0;
}

.el-faq-answer > :last-child {
    margin-bottom: 0;
}

@media (max-width: 575px) {
    .el-faq-question {
        gap: 16px;
        padding: 20px;
    }

    .el-faq-question-text {
        font-size: 19px;
    }

    .el-faq-icon {
        width: 34px;
        height: 34px;
    }

    .el-faq-answer {
        padding: 0 20px 22px;
        font-size: 17px;
    }
}

/* Light blue tint background (Section Background: Light blue tint). */
.el-faqs.is-tint {
    background: linear-gradient(180deg, #f4f8fb, #eaf1f6);
}

/* Faint arcs in the top right corner (Show Arc Pattern). */
.el-faqs.has-pattern {
    position: relative;
    overflow: hidden;
}

.el-faqs.has-pattern::before {
    content: "";
    position: absolute;
    top: -30%;
    right: -12%;
    width: 70%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: repeating-radial-gradient(circle, transparent 0 58px, rgba(27, 58, 95, 0.05) 59px 60px);
    pointer-events: none;
}

.el-faqs.has-pattern .container {
    position: relative;
}
