/* Claim Guard Estimating FAQ — all styles scoped to .cge-faq */
.cge-faq,
.cge-faq * {
    font-family: 'Poppins', sans-serif !important;
    box-sizing: border-box;
}

.cge-faq {
    --cge-yellow: #FFC400;
    --cge-black: #000000;
    --cge-text: #242424;
    width: 100%;
    max-width: 1150px;
    margin: 0 auto 32px;
    padding: 12px 15px 22px;
    color: var(--cge-text);
    font-family: 'Poppins', sans-serif !important;
}

.cge-faq .cge-faq-label {
    display: table;
    width: fit-content;
    margin: 0 auto 13px;
    padding: 5px 15px;
    border-radius: 24px;
    background: var(--cge-yellow);
    color: var(--cge-black);
    font-family: 'Poppins', sans-serif !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.6 !important;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.cge-faq .cge-faq-title {
    margin: 0 0 27px !important;
    padding: 0 !important;
    color: var(--cge-black) !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: clamp(25px, 3vw, 34px) !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    letter-spacing: -.4px !important;
    text-align: center !important;
    text-transform: none !important;
}

.cge-faq .cge-faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    min-width: 0;
}

.cge-faq .cge-faq-item {
    min-width: 0;
    width: 100%;
    overflow: hidden;
    background: #fff;
    border: 1px solid #dedede;
    border-radius: 11px;
    box-shadow: 0 2px 9px rgba(0,0,0,.035);
}

.cge-faq .cge-faq-item.is-open {
    border-color: var(--cge-yellow);
}

.cge-faq .cge-faq-question-heading {
    margin: 0 !important;
    padding: 0 !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    line-height: 1.45 !important;
}

.cge-faq button.cge-faq-toggle,
.cge-faq button.cge-faq-toggle:visited {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 14px;
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 53px;
    margin: 0 !important;
    padding: 15px 19px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
    color: #000 !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: inherit !important;
    font-weight: 600 !important;
    line-height: 1.45 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    text-align: left !important;
    white-space: normal !important;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease;
}

.cge-faq .cge-faq-question-text {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: normal;
    text-align: left !important;
    color: inherit !important;
    font-family: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;
}

.cge-faq .cge-faq-item.is-open button.cge-faq-toggle,
.cge-faq .cge-faq-item.is-open button.cge-faq-toggle:hover {
    background: #000 !important;
    color: var(--cge-yellow) !important;
}

.cge-faq .cge-faq-item:not(.is-open) button.cge-faq-toggle:hover {
    background: #fff8dc !important;
    color: #000 !important;
}

/* Draw +/- with CSS, not text, so heading audit tools see only the question. */
.cge-faq .cge-faq-icon {
    position: relative;
    display: block;
    flex: 0 0 25px;
    width: 25px;
    height: 25px;
    margin-left: 4px;
    color: inherit !important;
}

.cge-faq .cge-faq-icon::before,
.cge-faq .cge-faq-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    background: currentColor;
    border-radius: 2px;
    transform: translate(-50%, -50%);
}

.cge-faq .cge-faq-icon::before {
    width: 14px;
    height: 2px;
}

.cge-faq .cge-faq-icon::after {
    width: 2px;
    height: 14px;
    transition: opacity .2s ease;
}

.cge-faq .cge-faq-item.is-open .cge-faq-icon::after {
    opacity: 0;
}

.cge-faq .cge-faq-panel {
    padding: 16px 19px 19px;
    background: #fff;
}

.cge-faq .cge-faq-panel[hidden] {
    display: none !important;
}

.cge-faq .cge-faq-answer,
.cge-faq .cge-faq-answer p,
.cge-faq .cge-faq-answer li {
    color: #292929 !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.75 !important;
    overflow-wrap: break-word;
}

.cge-faq .cge-faq-answer p {
    margin: 0 0 11px !important;
    padding: 0 !important;
}

.cge-faq .cge-faq-answer p:last-child {
    margin-bottom: 0 !important;
}

.cge-faq .cge-faq-answer a {
    color: #795c00 !important;
    font-family: inherit !important;
    font-weight: 600;
    text-decoration: underline !important;
    text-underline-offset: 3px;
}

.cge-faq .cge-faq-answer a:hover {
    color: #000 !important;
}

.cge-faq button.cge-faq-toggle:focus-visible {
    outline: 3px solid var(--cge-yellow) !important;
    outline-offset: -5px !important;
}

@media (max-width: 767px) {
    .cge-faq {
        padding: 8px 9px 18px;
        margin-bottom: 25px;
    }

    .cge-faq .cge-faq-title {
        font-size: 25px !important;
        margin-bottom: 21px !important;
    }

    .cge-faq .cge-faq-question-heading {
        font-size: 16px !important;
    }

    .cge-faq button.cge-faq-toggle {
        min-height: 49px;
        padding: 13px 12px !important;
        gap: 8px;
    }

    .cge-faq .cge-faq-icon {
        flex-basis: 21px;
        width: 21px;
        height: 21px;
        margin-left: 0;
    }

    .cge-faq .cge-faq-panel {
        padding: 13px 12px 16px;
    }

    .cge-faq .cge-faq-answer,
    .cge-faq .cge-faq-answer p,
    .cge-faq .cge-faq-answer li {
        font-size: 13px !important;
        line-height: 1.7 !important;
    }
}

@media (max-width: 360px) {
    .cge-faq {
        padding-left: 5px;
        padding-right: 5px;
    }

    .cge-faq .cge-faq-title {
        font-size: 23px !important;
    }

    .cge-faq .cge-faq-question-heading {
        font-size: 15px !important;
    }

    .cge-faq button.cge-faq-toggle {
        padding: 12px 10px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cge-faq button.cge-faq-toggle,
    .cge-faq .cge-faq-icon::after {
        transition: none;
    }
}
