/* =====================================================================
 * [faqs] – Câu hỏi thường gặp (accordion 2 cột)
 * Màu: chỉ dùng biến :root (--hg-primary, --hg-text, --hg-button, --green-natural)
 * ===================================================================== */
.hg-faqs { display: grid; grid-template-columns: 1fr; gap: 0 32px; align-items: start; }
.hg-faqs.cols-2 { grid-template-columns: 1fr 1fr; }

.hg-faq { margin: 0; border-bottom: 1px solid color-mix(in srgb, var(--hg-text) 18%, transparent); }

/* Câu hỏi */
.hg-faq-q {
	position: relative;
	display: block;
	padding: 16px 40px 16px 0;
	color: var(--hg-text);
	font-size: 20px;
	font-weight: 600;
	line-height: 1.45;
	list-style: none;
	cursor: pointer;
	transition: color .2s;
}
.hg-faq-q::-webkit-details-marker { display: none; }
.hg-faq-q::marker { content: ""; }
.hg-faq-q:hover, .hg-faq[open] .hg-faq-q { color: var(--hg-primary); }
.hg-faq-q:focus { outline: none; }
.hg-faq-q:focus-visible { outline: 2px solid var(--hg-primary); outline-offset: 2px; border-radius: 4px; }

/* Dấu + / − */
.hg-faq-icon { position: absolute; top: 50%; right: 4px; width: 14px; height: 14px; margin-top: -7px; }
.hg-faq-icon::before,
.hg-faq-icon::after { content: ""; position: absolute; top: 50%; left: 0; width: 14px; height: 1.5px; margin-top: -.75px; background: currentColor; border-radius: 2px; transition: transform .25s; }
.hg-faq-icon::after { transform: rotate(90deg); }
.hg-faq[open]:not(.is-closing) .hg-faq-icon::after { transform: rotate(0deg); }   /* + thành − */

/* Câu trả lời */
.hg-faq-a { overflow: hidden; transition: height .25s ease; }
.hg-faq-a > :first-child { margin-top: 0; }
.hg-faq-a p { 
    margin: 0 0 8px; 
    color: var(--hg-text);
    font-size: 16px; 
    line-height: 1.6; 
}
.hg-faq-a > :last-child { margin-bottom: 0; padding-bottom: 16px; }
.hg-faq-a ul, .hg-faq-a ol { margin: 0 0 8px 18px; font-size: 14px; }
.hg-faq-a a { color: var(--hg-primary); text-decoration: underline; }

/* ---------- Màn hình nhỏ ---------- */
@media (max-width: 849px) {
	.hg-faqs.cols-2 { grid-template-columns: 1fr; }
	.hg-faqs-col + .hg-faqs-col .hg-faq:first-child { border-top: 0; }
}
@media (max-width: 549px) {
	.hg-faq-q { padding: 14px 32px 14px 0; font-size: 16px; }
}
