/* Tablet and down: remove the rigid full-screen framing and center the FAQ copy cleanly. */
@media (max-width: 1024px) {
    .faq-content {
        width: 100%;
        height: auto;
        min-height: 100vh;
        padding: 1.5rem 1rem 2rem;
    }

    .faq-content header {
        position: sticky;
        top: 0;
        width: 100%;
        padding: 0.9rem 1rem;
    }

    .faq-content header h1 {
        margin-left: 0;
        font-size: clamp(1.6rem, 3.2vw, 2rem);
    }

    .faq-body {
        margin-top: 4.5rem;
        padding: 1.5rem 1rem;
        font-size: clamp(1.05rem, 2vw, 1.2rem);
    }
}

/* Phone: stack the header and make the body spacing more compact. */
@media (max-width: 767px) {
    .faq-content {
        padding: 1rem 0.75rem 1.5rem;
    }

    .faq-content header {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
        padding: 0.85rem 0.75rem;
    }

    .faq-content .faq-left,
    .faq-content .faq-center,
    .faq-content .faq-right {
        flex: 0 0 100%;
    }

    .faq-content .faq-center {
        order: -1;
    }

    .faq-content .btn {
        width: min(100%, 18rem);
        margin: 0 auto;
    }

    .faq-content header h1 {
        font-size: clamp(1.3rem, 6vw, 1.65rem);
    }

    .faq-body {
        margin-top: 1.5rem;
        padding: 1rem 0.5rem;
        font-size: 1rem;
    }
}

/* Small phones: trim spacing one last time. */
@media (max-width: 479px) {
    .faq-content {
        padding-left: 0.6rem;
        padding-right: 0.6rem;
    }

    .faq-content .btn {
        width: 100%;
    }
}
