.front-page-v3-faq {
    background: #fff;
    padding: 48px 0px;
}

.front-page-v3-faq__container {
    width: 100%;
    max-width: 1300px;
    padding: 0 18px;
    margin: 0 auto;
}

.front-page-v3-faq__heading {
    margin-bottom: 32px;
}

.front-page-v3-faq__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 53px;
    height: 32px;
    margin-bottom: 20px;
    padding: 0 12px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 999px;
    color: rgba(0, 0, 0, 0.65);
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 0.1px;
}

.front-page-v3-faq__title {
    margin: 0 0 16px;
    color: #262626;
    font-size: 28px;
    font-weight: 600;
    line-height: 32px;
    letter-spacing: -0.5px;
}

.front-page-v3-faq__description {
    margin: 0;
    color: #524f4f;
    font-size: var(--gsf-static-md-fs, 16px);
    font-weight: 400;
    line-height: var(--gsf-static-md-lh, 24px);
    letter-spacing: var(--gsf-static-md-ls, 0.12px);
}

.front-page-v3-faq__description a {
    color: #006746;
    font-weight: 500;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-decoration-color: rgba(0, 103, 70, 0.3);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.2s ease;
}

.front-page-v3-faq__description a:hover,
.front-page-v3-faq__description a:focus-visible {
    text-decoration-color: #006746;
}

/* Overrides the site-wide a:active { color: #ccc } (css/style.css) — pressing this
   link shouldn't gray the text out, it should look the same as normal/hover. */
.front-page-v3-faq__description a:active {
    color: #006746;
}

.front-page-v3-faq__list {
    border-top: 1px solid #dedede;
    max-width: 720px;
}

.front-page-v3-faq__item {
    border-bottom: 1px solid #dedede;
    padding: 32px 0;
}

.front-page-v3-faq__item:last-child {
    border-bottom: 0;
}

.front-page-v3-faq__question {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #262626;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.front-page-v3-faq__question span:first-child {
    flex: 1 1 auto;
    font-size: 18px;
    font-weight: 500;
    line-height: 28px;
    letter-spacing: 0.12px;
}

.front-page-v3-faq__icon {
    position: relative;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
}

.front-page-v3-faq__icon::before,
.front-page-v3-faq__icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 1.5px;
    border-radius: 999px;
    background: #262626;
    transform: translate(-50%, -50%);
    transition: transform 0.2s ease;
}

.front-page-v3-faq__icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.front-page-v3-faq__question[aria-expanded="true"] .front-page-v3-faq__icon::after {
    transform: translate(-50%, -50%) rotate(0deg);
}

.front-page-v3-faq__answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 44px 0 0;
    color: rgba(0, 0, 0, 0.75);
    transition: max-height 0.35s ease;
}

.front-page-v3-faq__answer p {
    margin: 0;
    /* Lives on the answer's own paragraph (a child of the max-height-clipped panel),
       not on .front-page-v3-faq__answer itself — that way it collapses away cleanly
       with the rest of the panel when closed instead of leaking through as a gap. */
    padding-top: 8px;
    font-size: 16px;
    font-weight: 400;
    line-height: 23px;
    letter-spacing: 0.1px;
}

@media (min-width: 992px) {
    .front-page-v3-faq {
        padding: 96px 20px;
    }

    .front-page-v3-faq__container {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 64px;
        padding: 0 50px;
    }

    .front-page-v3-faq__heading {
        flex: 0 0 350px;
        width: 350px;
        margin-bottom: 0;
    }

    .front-page-v3-faq__list {
        flex: 0 1 720px;
    }

    .front-page-v3-faq__title {
        font-size: var(--gsf-heading-xl-fs, 44px);
        line-height: var(--gsf-heading-xl-lh, 48px);
        letter-spacing: var(--gsf-heading-xl-ls, -0.5px);
    }
}

/* Spacing Padding (Theme Settings / page override) — CSS custom properties set inline per section. */
.front-page-v3-faq.new-solutions-component-spacing {
    padding-top: var(--ns-desktop-padding-top, 0);
    padding-bottom: var(--ns-desktop-padding-bottom, 0);
}

@media (max-width: 767px) {
    .front-page-v3-faq.new-solutions-component-spacing {
        padding-top: var(--ns-mobile-padding-top, 0);
        padding-bottom: var(--ns-mobile-padding-bottom, 0);
    }
    .front-page-v3-faq__item {
        border-bottom: 1px solid #dedede;
        padding: 20px 0;
    }
    .front-page-v3-faq__question span:first-child {
        font-size: 16px;
        line-height: 24px;
    }
    .front-page-v3-faq__answer p{
        font-size: 14px;
        line-height: 20px;
    }
    .front-page-v3-faq__title{
        max-width: 260px;
    }
}
