/*
 * Copied verbatim from William's pasted <style> block for the "Stockist"
 * template, shared by 3 pages — confirmed via WP REST API + live fetch:
 *
 *   - 8208920   Wholesale ("wholesale-stockist", /wholesale-stockist/) —
 *               has `.banners-section` ("Why Should Become" — confirmed
 *               live), the shared `.stocklist-container`/`.links-wrapper`
 *               header, but NOT `.place-order-banner` or `.faq-container`.
 *   - 8212929   Stockist Frequently Asked Questions
 *               ("stockist-frequently-asked-questions") — has
 *               `.faq-container` (confirmed live) + the shared header, but
 *               NOT `.banners-section` or `.place-order-banner`.
 *   - 8209755   How To Become a Valentte Stockist
 *               ("how-to-become-a-valentte-stockist") — has
 *               `.place-order-banner` (confirmed live) + the shared
 *               header, but NOT `.banners-section` or `.faq-container`.
 *
 * Each page embeds exactly ONE of the three page-specific sections
 * (matching the CSS's own "WHY SHOULD BECOME" / "HOW TO BECOME" / "FAQ"
 * comment banners) alongside the shared `.stocklist-container`/
 * `.links-wrapper` header — confirmed by grepping all three live pages for
 * all three section classes. Matched by an explicit page-ID array, not a
 * content marker.
 *
 * The FAQ accordion (`.faq-container details`/`summary`) is native HTML
 * `<details>` — no JS needed, same pattern as temp-legacy/ambassadors/'s
 * and temp-legacy/faqs/'s accordions.
 *
 * No `.woocommerce`/`ul.products` conflict (no embedded product grid on
 * any of the 3 pages) and no `alignfull`/`.no-sidebar`/`.entry-content`
 * full-bleed attempt in the source — neither of the usual fixes applies.
 * Copied in unmodified.
 */

/***** GENERAL HEADING/LINKS *****/

.stocklist-container {
    margin: 0 !important;
}

.stocklist-container .wp-block-group__inner-container {
    text-align: center;
    padding: 0 30px;
    max-width: 1350px;
    margin: 0 auto;
}

.stocklist-container h2.wp-block-heading {
    font-weight: 500;
    color: var(--text);
    text-align: center;
    margin-bottom: 15px;
    font-size: 45px;
    line-height: 1.0;
    letter-spacing: 0px;
}

.stocklist-container .heading-txt {
    max-width: 900px;
    margin: 0 auto;
    color: var(--text);
    margin-bottom: 30px;
}

.links-wrapper {
    margin-bottom: 60px;
}

.links-wrapper h3 {
    font-size: 30px;
    line-height: 1.0;
    letter-spacing: 0px;
    margin-bottom: 10px;
    text-transform: capitalize;
}

.links-wrapper .links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.links-wrapper a {
    background-color: #F0F0F0;
    padding: 10px 20px;
    border-radius: 25px;
    color: var(--text);
    border: 1px solid #D3CDCD !important;
    display: inline-block;
    font-size: 17px;
    line-height: 1.5;
}

/***** END GENERAL HEADING/LINKS *****/


/***** WHY SHOULD BECOME *****/

.banners-section {
    margin-bottom: 30px;
}

h3.wp-block-heading {
    font-size: 30px;
    letter-spacing: 0px;
    line-height: 1.0;
    margin: 30px auto 20px;
    color: var(--text);
}

.banners-section p {
    color: var(--text);
    max-width: 900px;
    margin: 0 auto;
}

/***** END WHY SHOULD BECOME *****/


/***** HOW TO BECOME *****/

.place-order-banner {
    align-items: center !important;
    text-align: left;
    margin-bottom: 30px;
}

.place-order-banner h3.wp-block-heading {
    line-height: 1.0;
    letter-spacing: 0px;
    font-size: 30px;
    margin-bottom: 20px;
    color: var(--text);
}

.place-order-banner p {
    color: var(--text);
    max-width: 900px;
    margin: 0;
}

.hp-banner-btn {
    background-color: var(--black);
    color: #fff;
    padding: 11px;
    border-radius: 10px;
    margin-top: 35px;
    font-size: 18px;
}

/***** END HOW TO BECOME *****/


/***** FAQ *****/

.faq-container {
    text-align: left;
}

.faq-container details {
    margin-bottom: 20px;
}

.faq-container details summary {
    list-style: none;
    position: relative;
    cursor: pointer;
    font-size: 20px;
}

.faq-container details summary::-webkit-details-marker {
    display: none;
}

.faq-container details summary::before {
    content: "+";
    display: inline-block;
    font-size: 32px;
    line-height: 14px;
    font-weight: 700;
    color: var(--text);
    padding-right: 6px;
    transition: transform 0.2s ease;
}

.faq-container details[open] summary::before {
    content: "−";
}

.faq-container details p {
    margin: 18px 0;
    padding-left: 24px;
}

.faq-container figure {
    text-align: center;
}

/***** END FAQ *****/

@media screen and (max-width: 781px) {
    /***** GENERAL HEADING/LINKS *****/

    .stocklist-container {
        margin: 20px 0 !important;
    }

    .stocklist-container h2.wp-block-heading {
        font-size: 28px;
    }

    .links-wrapper h3 {
        font-size: 19px;
    }

    .links-wrapper {
        margin-bottom: 40px;
    }

    .links-wrapper a {
        width: 100%;
    }

    /***** END GENERAL HEADING/LINKS *****/
}
