/* ==========================================================================
   Questions — spec "Questions (FAQ)" (Linh). Built on practice.css (cream column, tokens, fade, link).
   390px values; from 768px the column is 560px, centred. Spacing is text to text: each question is a
   44px button (8px padding above and below its 28px line), so the margins below subtract that padding.
   No rules between rows, no boxes, icons, bold or hover backgrounds.
   ========================================================================== */

/* Top bar: solid cream with navy lines (no photo under it) — same as Access */
.design-b.page-questions:not(.menu-open) .site-header,
.design-b.page-questions:not(.menu-open) .site-header.is-scrolled { color: #0E1A24; background: #EFE9DF; }

.pr.faq { padding-top: 128px; padding-bottom: 96px; }

.faq-label, .page-practice .faq-glabel {
	margin: 0; font-family: var(--pr-label); font-weight: 400; font-style: normal; font-size: 11px; line-height: 16px;
	letter-spacing: .22em; text-transform: uppercase; color: var(--pr-copper);
}
.page-practice .faq-title { margin: 16px 0 0; font-family: var(--pr-serif); font-weight: 300; font-style: italic; font-size: 36px; line-height: 42px; letter-spacing: 0; color: var(--pr-navy); }

/* Groups: 72px from the title (and from the last question of the group above) to the group label */
.faq-group { margin-top: 64px; }
.faq-head + .faq-group { margin-top: 72px; }
.faq-items { margin-top: 16px; }             /* label → first question text: 24px */
.faq-item + .faq-item { margin-top: 16px; }  /* question → question: 32px */

.page-practice .faq-q { margin: 0; font: inherit; }
.faq-btn {
	position: relative; display: block; width: 100%; min-height: 44px; box-sizing: border-box;
	margin: 0; padding: 8px 48px 8px 0; border: 0; border-radius: 0; background: none;
	font-family: var(--pr-serif); font-weight: 400; font-style: normal; font-size: 20px; line-height: 28px; letter-spacing: 0;
	color: var(--pr-navy); text-align: left; text-wrap: pretty; cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}
.faq-btn:focus { outline: none; }
.faq-btn:focus-visible { outline: none; }
.faq-btn:focus-visible .faq-btn__text { outline: 1px solid var(--pr-gold); outline-offset: 4px; }

/* + / − : 14px, 1px gold, right edge, centred on the FIRST line (centre 14px below the line top) */
.faq-sign { position: absolute; right: 0; top: 15px; width: 14px; height: 14px; color: var(--pr-gold); transition: color .3s ease; }
.faq-sign__h, .faq-sign__v { position: absolute; background: currentColor; }
.faq-sign__h { left: 0; right: 0; top: 6.5px; height: 1px; }
.faq-sign__v { top: 0; bottom: 0; left: 6.5px; width: 1px; transition: opacity .3s ease; }
.faq-btn[aria-expanded="true"] .faq-sign__v { opacity: 0; }
@media (hover: hover) { .faq-btn:hover .faq-sign { color: var(--pr-navy); } }

/* Answer: full column width (no 48px kept for the sign), upright, justified (site rule) */
.faq-a__in p {
	margin: 0; padding-bottom: 8px; /* answer → next question: 8 + 16 + 8 = 32px */
	font-family: var(--pr-serif); font-weight: 400; font-style: normal; font-size: 19px; line-height: 30px; color: var(--pr-navy);
	text-align: justify; text-align-last: left; text-wrap: pretty; hyphens: none; -webkit-hyphens: none;
}

/* Closed / open (questions.js adds .faq-ready; without JS every answer stays readable) */
.faq-ready .faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s ease; }
.faq-ready .faq-a > .faq-a__in { overflow: hidden; min-height: 0; opacity: 0; transition: opacity .4s ease; }
.faq-ready .faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-ready .faq-item.is-open .faq-a > .faq-a__in { opacity: 1; transition: opacity .4s ease .1s; }

/* Closing: 96px below the last question, then "Write to me" 24px below */
.faq-end { margin-top: 88px; }
.faq-closing { font-family: var(--pr-serif); font-weight: 300; font-style: italic; font-size: 32px; line-height: 38px; letter-spacing: 0; color: var(--pr-navy); }
.faq-more { margin-top: 15px !important; } /* 44px link box: 24px text to text */

:lang(vi) .faq-label, :lang(vi) .faq-glabel { text-transform: none; letter-spacing: .08em; font-size: 12px; }

@media (prefers-reduced-motion: reduce) {
	.faq-ready .faq-a, .faq-ready .faq-a > .faq-a__in, .faq-ready .faq-item.is-open .faq-a > .faq-a__in, .faq-sign, .faq-sign__v { transition: none; }
}
