/* ============================================================
   faq-page.css — Sankalan Data System
   Shared by all FAQ tutorial pages: hero, TOC, guide sections,
   boxes, exec-flow, tables, toolbar, FAQ list, quiz, topic-nav.
   ============================================================ */

/* ---------- Page hero ---------- */
.page-hero {
    max-width: 1360px; margin: 24px auto 0;
    padding: 40px 40px 36px;
    background: linear-gradient(135deg, #ffffff 0%, #f9fbff 100%);
    border: 1px solid var(--border); border-radius: 20px;
    position: relative; overflow: hidden;
}
.page-hero::before {
    content: ''; position: absolute; top: -80px; right: -80px;
    width: 320px; height: 320px;
    background: radial-gradient(circle, rgba(218,165,32,0.10) 0%, transparent 70%);
    border-radius: 50%; pointer-events: none;
}
.page-hero::after {
    content: ''; position: absolute; bottom: -100px; left: -60px;
    width: 240px; height: 240px;
    background: radial-gradient(circle, rgba(0,86,179,0.06) 0%, transparent 70%);
    border-radius: 50%; pointer-events: none;
}
.page-hero-badge {
    display: inline-block; padding: 5px 14px;
    background: var(--gold-light); border: 1px solid var(--border-gold);
    color: #8B6914; border-radius: 20px;
    font-size: 0.8rem; font-weight: 700;
    letter-spacing: 0.5px; margin-bottom: 16px; text-transform: uppercase;
}
.page-hero h1 {
    font-size: clamp(1.7rem, 3.6vw, 2.5rem);
    line-height: 1.22; font-weight: 800; letter-spacing: -0.5px;
    color: var(--navy); margin-bottom: 16px;
    position: relative; z-index: 1;
}
.page-hero h1 .gold { color: var(--gold); }
.page-hero .hero-lead {
    font-size: 1.08rem; color: var(--text-body); max-width: 820px;
    line-height: 1.8; margin-bottom: 20px;
    position: relative; z-index: 1;
}
.page-hero .hero-lead code {
    background: #f0f6ff; color: var(--blue);
    padding: 2px 7px; border-radius: 6px;
    border: 1px solid #dde7f2; font-size: 0.92em; font-weight: 600;
}

.takeaways {
    margin: 24px 0 22px; padding: 20px 24px;
    background: linear-gradient(135deg, #fff9e6 0%, #fff5dc 100%);
    border-left: 5px solid var(--gold);
    border-radius: 0 14px 14px 0;
    position: relative; z-index: 1;
    box-shadow: 0 4px 16px rgba(218,165,32,0.08);
}
.takeaways-title {
    font-size: 1rem; font-weight: 800; color: #8B6914;
    text-transform: uppercase; letter-spacing: 0.6px; margin-bottom: 12px;
    display: flex; align-items: center; gap: 8px;
}
.takeaways-list {
    list-style: none;
    display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 8px 24px; padding: 0;
}
.takeaways-list li {
    position: relative; padding-left: 26px;
    font-size: 0.97rem; color: var(--text-body); line-height: 1.65;
}
.takeaways-list li::before {
    content: '✓'; position: absolute; left: 0; top: 0;
    width: 18px; height: 18px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: #fff; border-radius: 50%;
    font-size: 0.7rem; font-weight: 800;
    display: flex; align-items: center; justify-content: center; margin-top: 3px;
}
.takeaways-list li strong { color: var(--navy); font-weight: 700; }

.page-hero-meta {
    display: flex; gap: 20px; flex-wrap: wrap;
    font-size: 0.88rem; color: var(--text-muted);
    position: relative; z-index: 1;
}
.page-hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.page-hero-meta span::before { content: '✓'; color: #4caf50; font-weight: 800; }

/* ---------- Main wrapper ---------- */
.faq-wrap { max-width: 1360px; margin: 24px auto 60px; padding: 0 24px; }
.faq-content { min-width: 0; }

/* ---------- Guide sections ---------- */
.guide-section {
    background: linear-gradient(135deg, #ffffff 0%, #fafcff 100%);
    border: 1px solid var(--border); border-radius: var(--radius);
    padding: 32px 34px; margin-bottom: 24px;
    position: relative; overflow: hidden;
}
.guide-section::before {
    content: ''; position: absolute; top: 0; left: 0;
    width: 5px; height: 100%;
    background: linear-gradient(180deg, var(--navy) 0%, var(--gold) 100%);
    border-radius: 0 4px 4px 0;
}
.guide-section h2 {
    font-size: 1.55rem; color: var(--navy); font-weight: 800;
    margin-bottom: 18px; letter-spacing: -0.3px; line-height: 1.32;
}
.guide-section h3 { font-size: 1.18rem; color: var(--navy); font-weight: 700; margin: 24px 0 12px; line-height: 1.4; }
.guide-section h4 { font-size: 1.05rem; color: var(--navy); font-weight: 700; margin: 18px 0 8px; }
.guide-section p { color: var(--text-body); font-size: 1.02rem; line-height: 1.85; margin-bottom: 16px; }
.guide-section p:last-child { margin-bottom: 0; }
.guide-section code {
    font-size: 0.9em; color: var(--blue); background: #f0f6ff;
    padding: 2px 7px; border-radius: 5px; border: 1px solid #dde7f2;
}
.guide-section pre {
    font-size: 0.92rem; background: var(--bg-code); color: #e6edf6;
    padding: 16px 18px; border-radius: 10px; overflow-x: auto;
    margin: 14px 0; line-height: 1.7;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
}
.guide-section pre code { background: none; border: none; color: inherit; padding: 0; font-size: inherit; }
.guide-section ul, .guide-section ol { margin: 12px 0 18px 22px; color: var(--text-body); }
.guide-section li { margin-bottom: 9px; font-size: 1rem; line-height: 1.8; }
.guide-section a {
    color: var(--blue); font-weight: 600;
    border-bottom: 1px solid rgba(0,86,179,0.3);
    transition: all var(--transition);
}
.guide-section a:hover { color: var(--gold-dark); border-color: var(--gold); }

/* ---------- Execution-flow chips ---------- */
.exec-flow { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 20px; align-items: center; }
.exec-step {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 9px 16px; border-radius: 20px;
    background: linear-gradient(135deg, #f0f6ff 0%, #e0eefa 100%);
    border: 1px solid #d0e0f0; color: var(--navy);
    font-size: 0.9rem; font-weight: 700;
}
.exec-step .num {
    width: 22px; height: 22px; border-radius: 50%;
    background: var(--navy); color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 0.75rem; font-weight: 800;
}
.exec-arrow { color: var(--gold); font-weight: 800; font-size: 1.1rem; }

/* ---------- Callout boxes ---------- */
.mistake-box {
    background: #fff5f5; border-left: 4px solid #f56a6a;
    padding: 16px 20px; border-radius: 0 10px 10px 0;
    margin: 16px 0; font-size: 1rem; color: #7a2e2e; line-height: 1.75;
}
.mistake-box strong { color: #c62828; }
.tip-box {
    background: var(--gold-light); border-left: 4px solid var(--gold);
    padding: 16px 20px; border-radius: 0 10px 10px 0;
    margin: 16px 0; font-size: 1rem; color: #6b4d00; line-height: 1.75;
}
.tip-box strong { color: #8B6914; }
.anecdote {
    background: #f0f7ff; border-left: 4px solid var(--navy-light);
    padding: 18px 22px; border-radius: 0 10px 10px 0;
    margin: 20px 0; font-size: 1rem; color: #1e3a5f;
    line-height: 1.8; font-style: italic;
}
.anecdote strong { color: var(--navy); font-style: normal; display: block; margin-bottom: 6px; }

/* ---------- Clause cards ---------- */
.clause-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px; margin: 16px 0;
}
.clause-card {
    background: #fff; border: 1px solid var(--border);
    border-left: 4px solid var(--navy);
    border-radius: 0 12px 12px 0; padding: 18px 20px;
    transition: all var(--transition);
}
.clause-card:hover { border-left-color: var(--gold); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.clause-card h4 { font-size: 1.02rem; color: var(--navy); margin-bottom: 8px; font-weight: 800; }
.clause-card p { font-size: 0.94rem; color: var(--text-body); margin-bottom: 10px; line-height: 1.7; }
.clause-card code { font-size: 0.85em; padding: 1px 5px; }

/* ---------- Comparison table ---------- */
.cmp-table {
    width: 100%; border-collapse: collapse; margin: 18px 0;
    font-size: 0.95rem; background: #fff;
    border-radius: 10px; overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.cmp-table th {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: #fff; padding: 12px 16px; text-align: left;
    font-weight: 700; font-size: 0.92rem;
}
.cmp-table td {
    padding: 12px 16px; border-bottom: 1px solid var(--border);
    color: var(--text-body); vertical-align: top; line-height: 1.75;
}
.cmp-table tr:last-child td { border-bottom: none; }
.cmp-table tr:nth-child(even) td { background: #fafcff; }
.cmp-table code { font-size: 0.86em; }

/* ---------- Table of contents ---------- */
.toc-box {
    background: linear-gradient(135deg, #ffffff 0%, #fafcff 100%);
    border: 1px solid var(--border); border-radius: var(--radius);
    padding: 24px 28px; margin-bottom: 28px;
    position: relative; overflow: hidden;
}
.toc-box::before {
    content: ''; position: absolute; top: 0; left: 0;
    width: 4px; height: 100%;
    background: linear-gradient(180deg, var(--gold) 0%, var(--blue) 100%);
    border-radius: 0 4px 4px 0;
}
.toc-box h2 { font-size: 1.2rem; color: var(--navy); font-weight: 800; margin-bottom: 14px; }
.toc-list {
    list-style: none;
    display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 6px 24px; counter-reset: toc;
}
.toc-list li { counter-increment: toc; }
.toc-list a {
    display: flex; gap: 10px; padding: 8px 10px;
    color: var(--navy); font-size: 0.95rem; border-radius: 8px;
    transition: all var(--transition); line-height: 1.45;
}
.toc-list a::before {
    content: counter(toc, decimal-leading-zero);
    color: var(--gold); font-weight: 800; font-size: 0.85rem;
    flex-shrink: 0; min-width: 24px;
}
.toc-list a:hover { background: rgba(218,165,32,0.08); color: var(--blue); padding-left: 14px; }
.toc-list a.active { background: rgba(218,165,32,0.12); color: var(--blue); font-weight: 700; }

/* ---------- Toolbar (search + expand/collapse) ---------- */
.toolbar { display: flex; gap: 12px; margin-bottom: 20px; align-items: center; flex-wrap: wrap; }
.search-box { position: relative; flex: 1 1 260px; min-width: 220px; }
.search-box input {
    width: 100%; padding: 15px 44px 15px 46px;
    font-size: 1rem; font-family: inherit; color: var(--navy);
    background: #fff; border: 2px solid var(--border); border-radius: 12px;
    transition: all var(--transition); outline: none;
}
.search-box input:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(218,165,32,0.12); }
.search-box::before {
    content: '🔍'; position: absolute; left: 16px; top: 50%;
    transform: translateY(-50%); font-size: 1rem;
    pointer-events: none; opacity: 0.5;
}
.search-clear {
    position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
    width: 26px; height: 26px; border: none; background: #eef2f8;
    color: #666; border-radius: 50%; cursor: pointer; font-size: 1rem;
    display: none; align-items: center; justify-content: center;
    transition: all var(--transition); line-height: 1;
}
.search-clear:hover { background: var(--gold); color: #fff; }
.search-clear.show { display: inline-flex; }
.kbd-hint {
    position: absolute; right: 44px; top: 50%; transform: translateY(-50%);
    font-size: 0.78rem; color: #999; background: #f5f7fa;
    padding: 3px 7px; border-radius: 5px; border: 1px solid var(--border);
    pointer-events: none; font-weight: 600;
}
.search-box input:focus ~ .kbd-hint { display: none; }

.btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 12px 18px; font-family: inherit;
    font-size: 0.94rem; font-weight: 700; border-radius: 10px;
    cursor: pointer; border: 1px solid var(--border);
    background: #fff; color: var(--navy); transition: all var(--transition);
}
.btn:hover { border-color: var(--gold); color: var(--blue); background: rgba(218,165,32,0.06); }
.btn.primary {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: #fff; border-color: var(--gold-dark);
    box-shadow: 0 4px 12px rgba(218,165,32,0.25);
}
.btn.primary:hover { background: linear-gradient(135deg, var(--gold-dark) 0%, #9d6f10 100%); color: #fff; }

.results-info {
    font-size: 0.92rem; color: var(--text-muted); margin-bottom: 16px;
    display: none; padding: 10px 14px; border-radius: 10px;
    background: #f5f9ff; border: 1px solid var(--border);
}
.results-info.show { display: block; }

.no-results {
    display: none; text-align: center; padding: 60px 24px;
    background: linear-gradient(135deg, #ffffff 0%, #fafcff 100%);
    border: 2px dashed var(--border); border-radius: var(--radius);
}
.no-results.show { display: block; }
.no-results .nr-emoji { font-size: 3rem; margin-bottom: 12px; }
.no-results h3 { color: var(--navy); font-size: 1.2rem; margin-bottom: 8px; }
.no-results p { color: var(--text-muted); font-size: 0.98rem; margin-bottom: 16px; }
.no-results button {
    padding: 10px 20px; font-family: inherit; font-size: 0.95rem; font-weight: 700;
    color: #fff; cursor: pointer;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    border: none; border-radius: 10px;
    box-shadow: 0 4px 12px rgba(218,165,32,0.25);
    transition: all var(--transition);
}
.no-results button:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(218,165,32,0.35); }

/* ---------- FAQ accordion ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
    background: linear-gradient(135deg, #ffffff 0%, #fafcff 100%);
    border: 1px solid var(--border); border-radius: var(--radius);
    overflow: hidden;
    transition: border-color var(--transition), box-shadow var(--transition);
    scroll-margin-top: 90px;
}
.faq-item:hover { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.faq-item.open { border-color: var(--gold); box-shadow: var(--shadow-md); }
.faq-item.hidden { display: none; }

.faq-question {
    display: flex; align-items: flex-start; gap: 14px;
    width: 100%; padding: 20px 22px;
    background: transparent; border: none; text-align: left;
    font-family: inherit; font-size: 1.02rem; font-weight: 700;
    color: var(--navy); cursor: pointer; line-height: 1.55;
    transition: color var(--transition);
}
.faq-question:hover { color: var(--blue); }
.faq-q-num {
    flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
    min-width: 34px; height: 34px;
    background: linear-gradient(135deg, #f0f7ff 0%, #e0eefa 100%);
    border: 1px solid #d0e0f0; color: var(--blue);
    border-radius: 9px; font-size: 0.85rem; font-weight: 800;
}
.faq-item.open .faq-q-num {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    border-color: var(--gold-dark); color: #fff;
}
.faq-q-text { flex-grow: 1; }
.faq-toggle {
    flex-shrink: 0; width: 26px; height: 26px;
    display: flex; align-items: center; justify-content: center;
    color: var(--gold); font-size: 1.5rem; font-weight: 300; line-height: 1;
    transition: transform 0.3s; margin-top: 2px;
}
.faq-item.open .faq-toggle { transform: rotate(45deg); }
.faq-answer {
    display: none; padding: 0 22px 26px 70px;
    color: var(--text-body); font-size: 1rem; line-height: 1.9;
}
.faq-item.open .faq-answer { display: block; }
.faq-answer p { margin-bottom: 15px; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer strong { color: var(--navy); }
.faq-answer code {
    font-size: 0.9em; color: var(--blue); background: #f0f6ff;
    padding: 2px 6px; border-radius: 5px; border: 1px solid #dde7f2;
}
.faq-answer pre {
    font-size: 0.92rem; background: var(--bg-code); color: #e6edf6;
    padding: 16px 18px; border-radius: 10px; overflow-x: auto;
    margin: 14px 0; line-height: 1.7;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
}
.faq-answer pre code { background: none; border: none; color: inherit; padding: 0; font-size: inherit; }
.faq-answer a {
    color: var(--blue); font-weight: 600;
    border-bottom: 1px solid rgba(0,86,179,0.3);
    transition: all var(--transition);
}
.faq-answer a:hover { color: var(--gold-dark); border-color: var(--gold); }
mark { background: #fff4b8; color: #8B6914; padding: 1px 3px; border-radius: 3px; font-weight: 700; }

/* ---------- Quiz ---------- */
.quiz-section {
    margin-top: 40px; padding: 32px 28px;
    background: linear-gradient(135deg, #ffffff 0%, #fbfdff 100%);
    border: 1px solid var(--border); border-radius: var(--radius);
    border-left: 5px solid var(--gold);
}
.quiz-section h2 { font-size: 1.45rem; color: var(--navy); font-weight: 800; margin-bottom: 8px; }
.quiz-intro { color: var(--text-muted); font-size: 1rem; margin-bottom: 24px; }
.quiz-card {
    background: #fff; border: 1px solid var(--border);
    border-radius: 12px; padding: 22px; margin-bottom: 14px;
    transition: border-color var(--transition);
}
.quiz-card:hover { border-color: var(--gold); }
.quiz-q { font-weight: 700; color: var(--navy); margin-bottom: 14px; font-size: 1.02rem; line-height: 1.55; }
.quiz-q code {
    background: #f0f6ff; color: var(--blue); padding: 2px 6px;
    border-radius: 5px; border: 1px solid #dde7f2; font-size: 0.9em;
}
.quiz-options { display: flex; flex-direction: column; gap: 9px; }
.quiz-option {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 15px; border-radius: 9px;
    border: 1.5px solid var(--border); cursor: pointer;
    transition: all var(--transition); font-size: 0.98rem; color: var(--text-body);
}
.quiz-option:hover { border-color: var(--gold); background: var(--gold-light); }
.quiz-option input[type="radio"] { accent-color: var(--gold); }
.quiz-option.correct   { border-color: #4caf50; background: #e8f5e9; color: #2e7d32; }
.quiz-option.incorrect { border-color: #f44336; background: #ffebee; color: #c62828; }
.quiz-feedback {
    display: none; margin-top: 12px; padding: 11px 15px;
    border-radius: 8px; font-size: 0.94rem; font-weight: 600;
}
.quiz-feedback.show { display: block; }
.quiz-feedback.correct   { background: #e8f5e9; color: #2e7d32; border-left: 4px solid #4caf50; }
.quiz-feedback.incorrect { background: #ffebee; color: #c62828; border-left: 4px solid #f44336; }

/* ---------- Topic navigation ---------- */
.topic-nav { margin-top: 40px; padding-top: 32px; border-top: 2px dashed var(--border-gold); }
.topic-nav-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px; }
.topic-nav-row a {
    display: flex; flex-direction: column; padding: 20px 22px;
    background: linear-gradient(135deg, #ffffff 0%, #fafcff 100%);
    border: 1px solid var(--border); border-radius: var(--radius);
    transition: all var(--transition);
}
.topic-nav-row a:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.topic-nav-row .pn-label {
    font-size: 0.78rem; color: #8B6914; font-weight: 800;
    letter-spacing: 0.8px; text-transform: uppercase; margin-bottom: 4px;
}
.topic-nav-row .pn-title { font-size: 1rem; color: var(--navy); font-weight: 700; line-height: 1.45; }
.topic-nav-row .next { text-align: right; align-items: flex-end; }

.topic-links { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.topic-links a {
    display: inline-block; padding: 11px 16px;
    background: #ffffff; border: 1px solid var(--border);
    color: var(--navy); font-size: 0.94rem; font-weight: 600;
    border-radius: 10px; transition: all var(--transition);
}
.topic-links a:hover { border-color: var(--gold); color: var(--blue); background: rgba(218,165,32,0.06); transform: translateY(-2px); }
.topic-links a.primary {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: #fff; border-color: var(--gold-dark);
    box-shadow: 0 4px 12px rgba(218,165,32,0.25);
}
.topic-links a.primary:hover { background: linear-gradient(135deg, var(--gold-dark) 0%, #9d6f10 100%); color: #fff; }

.case-study-box {
    background: linear-gradient(135deg, var(--gold-light) 0%, #fff5dc 100%);
    border-left: 4px solid var(--gold);
    border-radius: 0 12px 12px 0; padding: 20px 22px; margin-top: 24px;
}
.case-study-box h3 {
    color: #8B6914; font-size: 1rem; font-weight: 800;
    margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.5px;
}
.case-study-box a {
    display: inline-block; margin: 4px 10px 4px 0;
    color: var(--blue); font-weight: 600; font-size: 0.95rem;
    padding: 7px 13px; background: #fff; border-radius: 8px;
    border: 1px solid var(--border-gold);
    transition: all var(--transition);
}
.case-study-box a:hover { background: var(--gold); color: #fff; border-color: var(--gold); transform: translateY(-2px); }

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .page-hero { padding: 28px 22px; border-radius: 16px; }
    .faq-wrap { padding: 0 16px; margin-top: 24px; }
    .toc-list { grid-template-columns: 1fr; }
    .faq-question { padding: 16px 18px; font-size: 1rem; }
    .faq-answer { padding: 0 18px 20px 18px; font-size: 1rem; }
    .topic-nav-row { grid-template-columns: 1fr; }
    .topic-nav-row .next { text-align: left; align-items: flex-start; }
    .kbd-hint { display: none; }
    .toolbar { gap: 8px; }
    .btn { padding: 11px 14px; font-size: 0.9rem; }
    .share-btn { padding: 8px 12px; font-size: 0.84rem; }
    .back-top { bottom: 20px; right: 20px; width: 44px; height: 44px; }
    .takeaways { padding: 16px 18px; }
    .takeaways-list { grid-template-columns: 1fr; }
    .takeaways-list li { font-size: 0.94rem; }
    .guide-section { padding: 24px 20px; }
    .guide-section h2 { font-size: 1.3rem; }
    .guide-section p { font-size: 1rem; }
    .guide-section li { font-size: 0.98rem; }
    .exec-flow { gap: 6px; }
    .exec-step { padding: 6px 12px; font-size: 0.84rem; }
    .clause-grid { grid-template-columns: 1fr; }
    .cmp-table { font-size: 0.9rem; }
    .cmp-table th, .cmp-table td { padding: 10px 12px; }
    .quiz-option { font-size: 0.95rem; }
}

/* ---------- Print ---------- */
@media print {
    .topnav, .sidebar, .sidebar-overlay, .back-top, .toolbar,
    .topic-nav, .site-footer, .share-section, .quiz-section { display: none !important; }
    .faq-wrap { padding: 0; }
    .faq-item { border: 1px solid #ccc; page-break-inside: avoid; }
    .faq-answer { display: block !important; padding-left: 22px; }
    .faq-item .faq-toggle { display: none; }
    body { background: #fff; }
}