.faq-wrap {
display: grid;
grid-template-columns: 300px 1fr;
gap: 16px;
align-items: start;
}
.faq-left {
display: flex;
flex-direction: column;
gap: 12px;
position: sticky;
top: calc(72px + 16px);
}
.faq-card {
background: var(--bg-main);
border: 1px solid var(--border-color);
border-radius: 12px;
padding: 16px;
}
.faq-card-title {
font-size: 17px;
font-weight: 700;
color: var(--text-main);
margin: 0 0 12px 0;
}
.faq-link-text,
.faq-item-body a {
color: var(--brand-color);
text-decoration: none;
}
.faq-link-text:hover,
.faq-item-body a:hover {
text-decoration: underline;
}
.faq-nav a {
display: flex;
align-items: center;
gap: 10px;
padding: 8px 10px;
border-radius: 8px;
font-size: 14px;
font-weight: 500;
color: var(--text-main);
text-decoration: none;
transition: background 0.12s;
}
.faq-nav a:hover {
background: var(--bg-surface);
color: var(--brand-color);
}
.faq-nav a.active {
background: var(--brand-color);
color: var(--text-on-brand);
}
.faq-nav a:hover .faq-ico i { color: var(--brand-color); }
.faq-nav a.active .faq-ico i { color: var(--text-on-brand); }
.faq-ico {
display: inline-flex;
align-items: center;
justify-content: center;
width: 20px;
height: 20px;
flex-shrink: 0;
}
.faq-ico i { font-size: 17px; line-height: 1; color: var(--text-muted); }
.faq-right {
display: flex;
flex-direction: column;
gap: 8px;
}
.faq-section {
background: var(--bg-main);
border: 1px solid var(--border-color);
border-radius: 12px;
overflow: hidden;
scroll-margin-top: calc(72px + 16px);
}
.faq-section-head {
display: flex;
align-items: center;
gap: 10px;
padding: 14px 18px;
border-bottom: 1px solid var(--border-color);
}
.faq-section-head h2 {
font-size: 15px;
font-weight: 700;
color: var(--text-main);
margin: 0;
flex: 1;
}
.faq-item {
border-bottom: 1px solid var(--border-color);
}
.faq-item:last-child { border-bottom: none; }
.faq-item-btn {
width: 100%;
display: flex;
align-items: center;
gap: 12px;
padding: 14px 18px;
background: none;
border: none;
cursor: pointer;
text-align: left;
transition: background 0.12s;
}
.faq-item-btn:hover { background: var(--bg-surface); }
.faq-item-btn[aria-expanded="true"] { background: var(--bg-surface); }
.faq-item-question {
font-size: 13.5px;
font-weight: 600;
color: var(--text-main);
flex: 1;
line-height: 1.4;
}
.faq-item-chevron {
font-size: 16px;
color: var(--text-light);
flex-shrink: 0;
transition: transform 0.2s;
}
.faq-item-btn[aria-expanded="true"] .faq-item-chevron {
transform: rotate(180deg);
color: var(--brand-color);
}
.faq-item-body {
display: none;
padding: 8px 18px 20px 18px;
}
.faq-item-body.is-open { display: block; }
.faq-item-body p {
font-size: 13.5px;
line-height: 1.75;
color: var(--text-muted);
margin: 0;
}
@media (max-width: 860px) {
.faq-wrap { grid-template-columns: 1fr; }
.faq-left { position: static; }
}
.faq-back {
display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600;
color: var(--text-muted); text-decoration: none; padding: 6px 0; transition: color 0.15s;
}
.faq-back:hover { color: var(--brand-color); }