/* Styles of resources/views/collections/faqs/index.antlers.html, moved out of the template so the browser
   caches them and the design token guards read them. Values come from the
   tokens in style.css :root. */

/* ── HERO ── */
.fq-hero {
    background: linear-gradient(135deg, var(--bs-secondary) 0%, var(--bs-primary) 60%, var(--r2e-primary-600) 100%);
    padding: var(--r2e-section-y) 0 var(--r2e-section-y);
    margin-top: var(--r2e-space-16);
    text-align: center;
}
.fq-hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    color: white;
    line-height: var(--r2e-leading-tight);
    margin-bottom: var(--r2e-space-3);
}
.fq-hero-sub {
    font-size: var(--r2e-text-base);
    color: rgba(255,255,255,0.82);
    max-width: 460px;
    margin: 0 auto var(--r2e-space-8);
    line-height: var(--r2e-leading-body);
}
.fq-breadcrumb .breadcrumb-item a { color: rgba(255,255,255,0.7); text-decoration:none; font-size:var(--r2e-text-sm); }
.fq-breadcrumb .breadcrumb-item.active { color: rgba(255,255,255,0.45); font-size:var(--r2e-text-sm); }
.fq-breadcrumb .breadcrumb-item+.breadcrumb-item::before { color:rgba(255,255,255,0.35); }
.fq-breadcrumb { justify-content: center; margin-bottom: var(--r2e-space-6); }

/* ── SEARCH BAR ── */
.fq-search-wrap {
    max-width: 540px;
    margin: 0 auto;
    border-radius: var(--r2e-radius-pill);
    overflow: hidden;
    box-shadow: var(--r2e-shadow-lg);
}
.fq-search-wrap .input-group { background: white; }
.fq-search-wrap .input-group-text { background: white; border: none; padding-left: var(--r2e-space-6); }
.fq-search-wrap input { border: none; box-shadow: none !important; font-size: var(--r2e-text-base); padding: var(--r2e-space-3) var(--r2e-space-2) var(--r2e-space-3) var(--r2e-space-1); background: white; }
.fq-search-wrap input:focus { outline: none; }
.fq-search-wrap .btn-search { border-radius: 0; padding: 0 var(--r2e-space-6); font-size: var(--r2e-text-sm); white-space: nowrap; }
.fq-search-note { font-size: var(--r2e-text-xs); color: rgba(255,255,255,0.5); margin-top: var(--r2e-space-4); margin-bottom: 0; }

/* ── SECTION LABEL ── */
.section-label { font-size: var(--r2e-text-xs); font-weight: 700; text-transform: uppercase; letter-spacing: var(--r2e-tracking-caps); color: var(--bs-primary); margin-bottom: var(--r2e-space-3); }

/* ── SECTION CARDS ── */
.fq-section-card {
    background: #fff;
    border-radius: var(--r2e-radius-xl);
    padding: var(--r2e-space-8) var(--r2e-space-6);
    height: 100%;
    border: 1px solid var(--bs-gray-100);
    box-shadow: var(--r2e-shadow);
    display: flex;
    flex-direction: column;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.fq-section-card:hover { transform: translateY(-3px); box-shadow: var(--r2e-shadow-hover); }
.fq-section-icon { width: 48px; height: 48px; background: linear-gradient(135deg, var(--bs-secondary) 0%, var(--bs-primary) 100%); border-radius: var(--r2e-radius-lg); display: flex; align-items: center; justify-content: center; margin-bottom: var(--r2e-space-4); flex-shrink: 0; }
.fq-section-icon i { color: var(--bs-warning); font-size: var(--r2e-text-lg); }
.fq-section-badge { display: inline-flex; align-items: center; background: var(--bs-gray-100); border: 1px solid var(--r2e-primary-200); color: var(--bs-primary); font-size: var(--r2e-text-xs); font-weight: 700; padding: var(--r2e-space-1) var(--r2e-space-2); border-radius: var(--r2e-radius-2xl); margin-bottom: var(--r2e-space-3); width: fit-content; }
.fq-section-title { font-size: var(--r2e-text-base); font-weight: 700; color: var(--bs-secondary); margin-bottom: var(--r2e-space-4); line-height: var(--r2e-leading-snug); }

.fq-section-questions { list-style: none; padding: 0; margin: 0 0 var(--r2e-space-6); flex-grow: 1; }
.fq-section-questions li { padding: var(--r2e-space-2) 0; border-bottom: 1px solid var(--bs-gray-100); }
.fq-section-questions li:last-child { border-bottom: none; }
.fq-section-questions a { font-size: var(--r2e-text-sm); color: var(--r2e-ink); text-decoration: none; line-height: var(--r2e-leading-body); display: flex; align-items: flex-start; gap: var(--r2e-space-2); transition: color 0.15s; }
.fq-section-questions a::before { content: ''; display: inline-block; width: 5px; height: 5px; background: var(--bs-warning); border-radius: 50%; margin-top: var(--r2e-space-2); flex-shrink: 0; }
.fq-section-questions a:hover { color: var(--bs-secondary); }

.fq-section-more { font-size: var(--r2e-text-sm); font-weight: 700; color: var(--bs-primary); text-decoration: none; display: inline-flex; align-items: center; gap: var(--r2e-space-1); margin-top: auto; transition: color 0.15s; }
.fq-section-more:hover { color: var(--bs-secondary); }
.fq-section-more i { font-size: var(--r2e-text-xs); }

/* ── CONTACT & CTA STRIP ── */
.fq-contact-strip { background: var(--bs-gray-100); border: 1px solid var(--bs-gray-100); border-radius: var(--r2e-radius-xl); padding: var(--r2e-section-y) var(--r2e-space-8); text-align: center; }
