/*
 * NOVO — Category Buyer Guide
 * Scoped to .novo-guide-faq — rendered below the equipment archive grid.
 * Uses --novo-* design tokens from novo-tokens.css where available.
 */

/* ── Section wrapper ─────────────────────────────────────────────────────── */
.novo-guide-faq {
    background: var(--novo-bg, #f5f8fb);
    color: var(--novo-text, #3f6479);
    font-family: var(--novo-font, inherit);
    padding: 0 20px 72px;
}

.novo-guide-wrap {
    width: min(1120px, 100%);
    margin: 0 auto;
}

/* ── Section rule ────────────────────────────────────────────────────────── */
.novo-section-rule {
    height: 1px;
    background: var(--novo-border, #dbe7ef);
    margin: 0 0 28px;
}

/* ── Buyer's Guide section ───────────────────────────────────────────────── */
.novo-buyers-guide {
    padding-top: 32px;
}

/* ── Eyebrow label ───────────────────────────────────────────────────────── */
.novo-guide-faq .novo-eyebrow {
    margin: 0 0 12px;
    color: var(--novo-orange, #ff6a00);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ── Section headings ────────────────────────────────────────────────────── */
.novo-buyers-guide h2,
.novo-common-questions h2 {
    margin: 0;
    color: var(--novo-navy, #0b3a55);
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.08;
    letter-spacing: -0.035em;
    font-weight: 800;
}

.novo-common-questions h2 {
    font-size: clamp(28px, 3vw, 40px);
}

/* ── Guide head: 2-column (text + action buttons) ────────────────────────── */
.novo-guide-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 32px;
    align-items: end;
    margin-bottom: 36px;
}

.novo-guide-intro,
.novo-faq-intro {
    max-width: 720px;
    margin: 16px 0 0;
    color: var(--novo-text, #3f6479);
    font-size: 16px;
    line-height: 1.75;
}

/* ── Action buttons ──────────────────────────────────────────────────────── */
.novo-guide-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: flex-end;
    padding-bottom: 4px;
}

.novo-guide-faq .novo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 44px;
    padding: 0 22px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.novo-guide-faq .novo-btn:hover {
    transform: translateY(-1px);
}

.novo-guide-faq .novo-btn-secondary,
.novo-guide-faq .novo-btn-ghost {
    background: #fff;
    color: var(--novo-navy, #0b3a55);
    border: 1px solid var(--novo-border, #dbe7ef);
}

.novo-guide-faq .novo-btn-secondary:hover,
.novo-guide-faq .novo-btn-ghost:hover {
    border-color: #bfd2de;
    box-shadow: 0 8px 22px rgba(8, 50, 74, 0.07);
}

/* ── Guide card grid ─────────────────────────────────────────────────────── */
.novo-guide-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.novo-guide-card {
    position: relative;
    min-height: 245px;
    padding: 30px 26px 26px;
    background: #ffffff;
    border: 1px solid var(--novo-border, #dbe7ef);
    border-radius: var(--novo-radius, 18px);
    box-shadow: 0 12px 30px rgba(8, 50, 74, 0.06);
    display: flex;
    flex-direction: column;
}

.novo-card-accent {
    display: block;
    width: 30px;
    height: 3px;
    background: var(--novo-orange, #ff6a00);
    border-radius: 999px;
    margin: -5px 0 16px;
}

.novo-guide-card h3 {
    margin: 0 0 10px;
    color: var(--novo-navy, #0b3a55);
    font-size: 18px;
    line-height: 1.25;
    letter-spacing: -0.02em;
    font-weight: 800;
}

.novo-guide-card p {
    margin: 0 0 14px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--novo-text, #3f6479);
}

.novo-guide-card ul {
    margin: 0;
    padding-left: 18px;
    color: var(--novo-text, #3f6479);
    font-size: 13.5px;
    line-height: 1.65;
}

.novo-guide-card li::marker {
    color: var(--novo-orange, #ff6a00);
}

/* ── Common Questions section ────────────────────────────────────────────── */
.novo-common-questions {
    padding-top: 42px;
    margin-top: 42px;
}

/* ── FAQ list ────────────────────────────────────────────────────────────── */
.novo-faq-list {
    max-width: 940px;
    margin-top: 26px;
}

.novo-faq-item {
    background: #fff;
    border: 1px solid var(--novo-border, #dbe7ef);
    border-radius: 12px;
    box-shadow: 0 8px 22px rgba(8, 50, 74, 0.04);
    overflow: hidden;
}

.novo-faq-item + .novo-faq-item {
    margin-top: 10px;
}

.novo-faq-item[open] {
    border-left: 4px solid var(--novo-orange, #ff6a00);
}

.novo-faq-item summary {
    list-style: none;
    cursor: pointer;
    min-height: 62px;
    padding: 0 18px 0 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: var(--novo-navy, #0b3a55);
    font-size: 16px;
    font-weight: 800;
}

.novo-faq-item summary::-webkit-details-marker {
    display: none;
}

/* ── FAQ icon (plus/minus circle) ────────────────────────────────────────── */
.novo-faq-icon {
    flex: 0 0 auto;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #edf3f7;
    position: relative;
}

.novo-faq-icon::before,
.novo-faq-icon::after {
    content: "";
    position: absolute;
    background: var(--novo-navy, #0b3a55);
    border-radius: 2px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.novo-faq-icon::before {
    width: 11px;
    height: 2px;
}

.novo-faq-icon::after {
    width: 2px;
    height: 11px;
}

.novo-faq-item[open] .novo-faq-icon::after {
    display: none;
}

/* ── FAQ answer ──────────────────────────────────────────────────────────── */
.novo-faq-answer {
    padding: 0 56px 24px 22px;
    color: var(--novo-text, #3f6479);
    font-size: 15px;
    line-height: 1.65;
}

/* ── Responsive: tablet (≤ 900px) ───────────────────────────────────────── */
@media (max-width: 900px) {
    .novo-guide-head {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .novo-guide-actions {
        justify-content: flex-start;
    }

    .novo-guide-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ── Responsive: mobile (≤ 640px) ───────────────────────────────────────── */
@media (max-width: 640px) {
    .novo-guide-faq {
        padding-inline: 16px;
    }

    .novo-guide-grid {
        grid-template-columns: 1fr;
    }

    .novo-guide-card {
        min-height: auto;
    }

    .novo-guide-faq .novo-btn {
        width: 100%;
    }

    .novo-faq-item summary {
        font-size: 15px;
        padding-left: 16px;
    }

    .novo-faq-answer {
        padding: 0 18px 22px 16px;
    }
}

/* ── Editor placeholder ──────────────────────────────────────────────────── */
.novo-cat-guide-placeholder {
    border-radius: var(--novo-radius-sm, 8px);
}
