/**
 * FAQ page styles (lib/templates/faq/faq-page.php)
 *
 * The accordion item visuals (.faq-accordion / .faq-question / .faq-answer)
 * are inherited from the global rules in assets/style.css so this page
 * matches the FAQ section on category pages.
 */

.bo-faq-page {
    background: #fff;
}

/* Hero ---------------------------------------------------------------- */

.bo-faq-hero {
    position: relative;
    background: linear-gradient(135deg, #1f2733 0%, #313c4f 100%);
    color: #fff;
    padding: 80px 24px;
    text-align: left;
}

.bo-faq-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 85% 30%, rgba(240, 193, 0, 0.18), transparent 55%);
    pointer-events: none;
}

.bo-faq-hero__inner {
    position: relative;
    max-width: 880px;
    margin: 0 auto;
    z-index: 1;
}

.bo-faq-hero__eyebrow {
    display: inline-block;
    margin: 0 0 16px;
    padding: 0 0 0 14px;
    border-left: 3px solid #F0C100;
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #F0C100;
}

.bo-faq-hero__title {
    margin: 0 0 18px;
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.05;
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
}

.bo-faq-hero__lead {
    margin: 0;
    max-width: 720px;
    font-size: 1.05rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
}

/* Content area -------------------------------------------------------- */

.bo-faq-page__content {
    padding: 64px 24px;
    background: #fafafa;
}

.bo-faq-page__container {
    max-width: 880px;
    margin: 0 auto;
    padding: 32px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.bo-faq-page__sections {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

/* Section heading ----------------------------------------------------- */

.bo-faq-section__title {
    margin: 0 0 18px;
    padding: 0 0 10px;
    font-family: 'Roboto', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: #000;
    border-bottom: 2px solid #F0C100;
}

/* Accordion — mirrors the cleaner override used on category pages
   (see .bo-pa-seo .faq-* in assets/product-archive.css) so the toggles
   look identical to the FAQ on category archives. */

.bo-faq-page .faq-accordion {
    max-width: none;
    margin: 0;
}

.bo-faq-page .faq-question {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 6px;
    padding: 16px 50px 16px 20px;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    transition: background 0.2s, border-color 0.2s;
}

.bo-faq-page .faq-question:hover,
.bo-faq-page .faq-question:focus,
.bo-faq-page .faq-question:active {
    background: #fefcf5;
    border-color: #f0c100;
}

.bo-faq-page .faq-question::after {
    content: '';
    position: absolute;
    right: 18px;
    top: 50%;
    width: 20px;
    height: 20px;
    transform: translateY(-50%);
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9L12 15L18 9' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    font-size: 0;
    transition: transform 0.3s ease;
}

.bo-faq-page .faq-question[aria-expanded="true"]::after {
    content: '';
    transform: translateY(-50%) rotate(180deg);
}

.bo-faq-page .faq-answer {
    background: transparent;
    padding: 0 20px;
}

.bo-faq-page .faq-answer div {
    padding: 12px 0 16px;
    color: #555;
    line-height: 1.7;
}

/* Mobile -------------------------------------------------------------- */

@media (max-width: 768px) {
    .bo-faq-hero {
        padding: 56px 20px;
    }

    .bo-faq-page__content {
        padding: 40px 16px;
    }

    .bo-faq-page__container {
        padding: 20px;
    }

    .bo-faq-page__sections {
        gap: 36px;
    }

    .bo-faq-section__title {
        font-size: 1.2rem;
    }

    .bo-faq-page .faq-question {
        padding: 14px 44px 14px 16px;
        font-size: 0.95rem;
    }
}
