/* Buyer guides (/guides/) — scoped .cpbgd-* */

.cpbgd-index { padding-top: 40px; }
.cpbgd-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
    margin-bottom: 40px;
}
.cpbgd-card {
    display: flex;
    flex-direction: column;
    background: var(--cpb-surface, #fff);
    border: 1px solid var(--cpb-border, #e5e7ef);
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform .18s ease, box-shadow .18s ease;
}
.cpbgd-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(37, 57, 147, .14); }
.cpbgd-card-img { margin: 0; aspect-ratio: 16 / 9; overflow: hidden; }
.cpbgd-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cpbgd-card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; }
.cpbgd-card-body h2 { font-size: 1.25rem; line-height: 1.35; margin: 0; color: var(--cpb-primary, #253993); }
.cpbgd-card-body p { margin: 0; font-size: .95rem; line-height: 1.6; color: var(--cpb-text-soft, #4b5563); }
.cpbgd-card-more { margin-top: auto; font-weight: 600; color: var(--cpb-accent, #8c0000); font-size: .95rem; }

.cpbgd-eyebrow {
    display: inline-block;
    align-self: flex-start;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--cpb-accent, #8c0000);
}

/* Single guide */
.cpbgd-article { padding: 36px 0 64px; }
.cpbgd-container { max-width: 860px; }
.cpbgd-crumbs { margin-bottom: 26px; font-size: .9rem; }
.cpbgd-head h1 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); line-height: 1.25; margin: 10px 0 14px; color: var(--cpb-primary, #253993); }
.cpbgd-lede { font-size: 1.1rem; line-height: 1.65; color: var(--cpb-text-soft, #4b5563); margin: 0 0 14px; }
.cpbgd-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: .9rem; color: var(--cpb-text-soft, #6b7280); margin: 0 0 26px; }
.cpbgd-metadot { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .5; }
.cpbgd-hero { border-radius: 14px; overflow: hidden; margin-bottom: 34px; }
.cpbgd-hero img { width: 100%; height: auto; display: block; }

.cpbgd-body .cpbgd-section { margin-bottom: 34px; }
.cpbgd-body h2 { font-size: 1.4rem; margin: 0 0 12px; color: var(--cpb-primary, #253993); }
.cpbgd-body p, .cpbgd-body li { line-height: 1.75; }
.cpbgd-body ul { padding-left: 22px; }
.cpbgd-body li { margin-bottom: 8px; }

.cpbgd-products { margin: 44px 0; }
.cpbgd-products h2 { font-size: 1.35rem; margin-bottom: 18px; color: var(--cpb-primary, #253993); }
.cpbgd-products .woocommerce-loop-product__title { font-size: 1rem; }
.cpbgd-cat-links { font-size: .95rem; margin-top: 14px; }

.cpbgd-faqs { margin: 44px 0; }
.cpbgd-faqs h2 { font-size: 1.35rem; margin-bottom: 16px; color: var(--cpb-primary, #253993); }

.cpbgd-cta { margin: 44px 0; }

/* Cross-link block shown on category / product / article pages */
.cpbgd-links {
    margin: 34px 0;
    padding: 22px 26px;
    border: 1px solid var(--cpb-border, #e5e7ef);
    border-left: 4px solid var(--cpb-primary, #253993);
    border-radius: 12px;
    background: var(--cpb-surface, #fff);
}
.cpbgd-links h2 { font-size: 1.05rem; margin: 0 0 10px; color: var(--cpb-primary, #253993); }
.cpbgd-links ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.cpbgd-links a { font-weight: 600; text-decoration: none; color: var(--cpb-accent, #8c0000); }
.cpbgd-links a:hover { text-decoration: underline; }
