/* Styles of resources/views/collections/faqs/show.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. */

.fq-page-wrap { margin-top: var(--r2e-space-16); }

.fq-page-header { background: white; border-bottom: 1px solid var(--bs-gray-100); padding: var(--r2e-space-4) 0; }
.fq-page-header .breadcrumb { margin: 0; font-size: var(--r2e-text-sm); flex-wrap: nowrap; overflow: hidden; }
.fq-page-header .breadcrumb-item a { color: var(--r2e-ink-muted); text-decoration: none; white-space: nowrap; }
.fq-page-header .breadcrumb-item a:hover { color: var(--bs-secondary); }
.fq-page-header .breadcrumb-item.active { color: var(--bs-secondary); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.fq-page-header .breadcrumb-item+.breadcrumb-item::before { color: var(--bs-gray-300); }

@media (max-width: 767px) {
    .fq-page-header .breadcrumb-item.fq-bc-section { display: none; }
}

.fq-sidebar { position: sticky; top: 95px; max-height: calc(100vh - 115px); overflow-y: auto; padding-right: var(--r2e-space-1); }
.fq-sidebar::-webkit-scrollbar { width: 3px; }
.fq-sidebar::-webkit-scrollbar-track { background: transparent; }
.fq-sidebar::-webkit-scrollbar-thumb { background: var(--r2e-primary-200); border-radius: var(--r2e-radius-sm); }

.fq-sidebar-back { display: inline-flex; align-items: center; gap: var(--r2e-space-2); font-size: var(--r2e-text-xs); font-weight: 700; text-transform: uppercase; letter-spacing: var(--r2e-tracking-caps); color: var(--r2e-ink-muted); text-decoration: none; margin-bottom: var(--r2e-space-6); padding-bottom: var(--r2e-space-4); border-bottom: 1px solid var(--bs-gray-100); width: 100%; transition: color 0.15s; }
.fq-sidebar-back:hover { color: var(--bs-secondary); }
.fq-sidebar-back i { font-size: var(--r2e-text-xs); }

.fq-sidebar-section { margin-bottom: var(--r2e-space-4); }
.fq-sidebar-section-hd { font-size: var(--r2e-text-xs); font-weight: 700; text-transform: uppercase; letter-spacing: var(--r2e-tracking-caps); color: var(--bs-secondary); padding: var(--r2e-space-1) var(--r2e-space-2); margin-bottom: 0.15rem; display: flex; align-items: center; gap: var(--r2e-space-2); }
.fq-sidebar-section-hd i { color: var(--bs-warning); font-size: var(--r2e-text-xs); flex-shrink: 0; width: 14px; text-align: center; }

.fq-sidebar-link { display: block; font-size: var(--r2e-text-xs); color: var(--r2e-ink-secondary); text-decoration: none; padding: var(--r2e-space-1) var(--r2e-space-2) var(--r2e-space-1) var(--r2e-space-6); border-radius: var(--r2e-radius); line-height: var(--r2e-leading-snug); border-left: 3px solid transparent; transition: color 0.15s, background 0.15s; }
.fq-sidebar-link:hover { color: var(--bs-secondary); background: var(--bs-gray-100); }
.fq-sidebar-link.is-active { color: var(--bs-secondary); font-weight: 600; background: var(--bs-gray-100); border-left-color: var(--bs-primary); }

.fq-mobile-nav { background: white; border: 1px solid var(--bs-gray-100); border-radius: var(--r2e-radius-lg); margin-bottom: var(--r2e-space-8); overflow: hidden; }
.fq-mobile-nav-toggle { width: 100%; text-align: left; background: none; border: none; padding: var(--r2e-space-4) var(--r2e-space-4); font-size: var(--r2e-text-sm); font-weight: 600; color: var(--bs-secondary); display: flex; align-items: center; justify-content: space-between; cursor: pointer; gap: var(--r2e-space-2); }
.fq-mobile-nav-toggle .section-current { font-size: var(--r2e-text-xs); font-weight: 400; color: var(--r2e-ink-muted); margin-left: var(--r2e-space-1); }
.fq-mobile-nav-body { padding: var(--r2e-space-1) var(--r2e-space-4) var(--r2e-space-4); border-top: 1px solid var(--bs-gray-100); }
.fq-mobile-section-link { display: flex; align-items: center; gap: var(--r2e-space-2); padding: var(--r2e-space-2) 0; font-size: var(--r2e-text-sm); color: var(--r2e-ink); text-decoration: none; border-bottom: 1px solid var(--bs-gray-100); transition: color 0.15s; }
.fq-mobile-section-link:last-child { border-bottom: none; }
.fq-mobile-section-link:hover { color: var(--bs-secondary); }
.fq-mobile-section-link.is-active { color: var(--bs-secondary); font-weight: 600; }
.fq-mobile-section-link i { color: var(--bs-primary); width: 16px; text-align: center; font-size: var(--r2e-text-sm); flex-shrink: 0; }
.fq-mobile-section-link .active-badge { font-size: var(--r2e-text-xs); color: var(--bs-primary); background: var(--bs-gray-100); border: 1px solid var(--r2e-primary-200); padding: 0.1rem var(--r2e-space-2); border-radius: var(--r2e-radius-2xl); margin-left: auto; }

.fq-content { padding-bottom: var(--r2e-space-4); }
.fq-section-tag { display: inline-flex; align-items: center; gap: var(--r2e-space-1); 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; text-transform: uppercase; letter-spacing: var(--r2e-tracking-caps); padding: var(--r2e-space-1) var(--r2e-space-3); border-radius: var(--r2e-radius-2xl); text-decoration: none; margin-bottom: var(--r2e-space-4); transition: background 0.15s, color 0.15s; }
.fq-section-tag:hover { background: var(--r2e-primary-200); color: var(--bs-secondary); }
.fq-section-tag i { font-size: var(--r2e-text-xs); }

.fq-question { font-size: clamp(1.45rem, 3vw, 2rem); font-weight: 700; color: var(--bs-secondary); line-height: var(--r2e-leading-snug); margin-bottom: var(--r2e-space-8); }
.fq-answer { font-size: var(--r2e-text-base); color: var(--r2e-ink); line-height: var(--r2e-leading-body); }
.fq-answer p { margin-bottom: var(--r2e-space-4); }
.fq-answer p:last-child { margin-bottom: 0; }
.fq-answer strong { color: var(--bs-secondary); }
.fq-answer a { color: var(--bs-primary); text-decoration: underline; }
.fq-answer a:hover { color: var(--bs-secondary); }

.fq-divider { border: none; border-top: 1px solid var(--bs-gray-100); margin: var(--r2e-space-8) 0; }

.fq-helpful { display: flex; align-items: center; gap: var(--r2e-space-3); flex-wrap: wrap; }
.fq-helpful-label { font-size: var(--r2e-text-sm); color: var(--r2e-ink-muted); font-weight: 500; }
.fq-helpful-btn { display: inline-flex; align-items: center; gap: var(--r2e-space-1); padding: var(--r2e-space-1) var(--r2e-space-4); border-radius: var(--r2e-radius-2xl); font-size: var(--r2e-text-sm); font-weight: 600; cursor: pointer; border: 1px solid var(--bs-gray-200); background: white; color: var(--r2e-ink-secondary); transition: all 0.15s; }
.fq-helpful-btn:hover { border-color: var(--bs-primary); color: var(--bs-secondary); background: var(--bs-gray-100); }
.fq-helpful-btn.is-selected { background: var(--bs-gray-100); border-color: var(--bs-primary); color: var(--bs-secondary); pointer-events: none; }

.fq-related-card { background: var(--bs-gray-100); border: 1px solid var(--bs-gray-100); border-radius: var(--r2e-radius-xl); padding: var(--r2e-space-6); margin-top: var(--r2e-space-8); }
.fq-related-title { font-size: var(--r2e-text-xs); font-weight: 700; text-transform: uppercase; letter-spacing: var(--r2e-tracking-caps); color: var(--r2e-ink-muted); margin-bottom: var(--r2e-space-4); }
.fq-related-link { display: flex; align-items: flex-start; gap: var(--r2e-space-2); padding: var(--r2e-space-2) 0; border-bottom: 1px solid var(--bs-gray-100); text-decoration: none; color: var(--r2e-ink); font-size: var(--r2e-text-sm); line-height: var(--r2e-leading-body); transition: color 0.15s; }
.fq-related-link:last-child { border-bottom: none; padding-bottom: 0; }
.fq-related-link:hover { color: var(--bs-secondary); }
.fq-related-link i { color: var(--bs-primary); font-size: var(--r2e-text-xs); margin-top: var(--r2e-space-1); flex-shrink: 0; }

.fq-cta-box { background: linear-gradient(135deg, var(--bs-secondary) 0%, var(--bs-primary) 100%); border-radius: var(--r2e-radius-xl); padding: var(--r2e-space-8) var(--r2e-space-8); margin-top: var(--r2e-space-8); }
