/* Khối "Câu hỏi thường gặp" từ Thư viện FAQ (user_2019/partials/_faq_block.php) — chi tiết tour v2 + chi tiết tin.
   Accordion = <details>/<summary> gốc. Trên trang tour khối mang thêm .ct2-section nên khung + tiêu đề ăn theo tour-detail-v2.css;
   các luật dưới chỉ lo danh sách câu hỏi và tiêu đề khi đứng riêng (trang tin). */
.faqb { margin: 24px 0; text-align: left; }   /* trang chuyên mục tour: khối nằm trong .gt-hero-bottom (bài SEO) — không ăn căn giữa của khung đó */
.faqb:not(.ct2-section) .faqb-title { font-size: 20px; font-weight: 700; line-height: 1.35; color: var(--c-text, #1a1a1a); margin: 0 0 12px; }
.faqb-list { border-top: 1px solid var(--c-border-soft, #eef0f3); }
.faqb.ct2-section .faqb-list { border-top: 0; }   /* trang tour: tiêu đề .ct2-section đã có vạch dưới */
.faqb-item { border-bottom: 1px solid var(--c-border-soft, #eef0f3); }
.faqb-q {
    list-style: none; cursor: pointer; display: flex; align-items: flex-start; gap: 12px;
    padding: 14px 4px; font-size: 16px; font-weight: 600; line-height: 1.45; color: var(--c-text, #1a1a1a);
}
.faqb-q::-webkit-details-marker { display: none; }
.faqb-q::after {
    content: ""; flex: 0 0 auto; width: 9px; height: 9px; margin: 6px 4px 0 auto;
    border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg);
    transition: transform .2s; color: var(--c-text-muted, #8a8f98);
}
.faqb-item[open] > .faqb-q::after { transform: rotate(-135deg); margin-top: 10px; color: var(--c-primary, #ed007f); }
.faqb-q:hover, .faqb-item[open] > .faqb-q { color: var(--c-primary, #ed007f); }
.faqb-q:focus-visible { outline: 2px solid var(--c-primary, #ed007f); outline-offset: 2px; border-radius: 4px; }
.faqb-a { padding: 0 4px 16px; font-size: 15px; line-height: 1.7; color: #333; }
.faqb-a > :first-child { margin-top: 0; }
.faqb-a > :last-child { margin-bottom: 0; }
.faqb-a img { max-width: 100%; height: auto; }
.faqb-a table { display: block; max-width: 100%; overflow-x: auto; }
@media (max-width: 767px) {
    .faqb-q { font-size: 15px; padding: 12px 2px; }
    .faqb-a { font-size: 14.5px; }
}
@media (prefers-reduced-motion: reduce) { .faqb-q::after { transition: none; } }
