/* ============================================================
   FAQ.CSS — Singapore Saxophone Symposium
   ============================================================ */

/* ── FAQ Header ────────────────────────────────────────────── */
.faq-header {
    padding: 5rem 0 3rem;
}

.faq-header .content-wrapper { 
    /* padding: 0 40px;  */
}

.faq-header h1 {
    font-size: 72px;
    max-width: 680px;
    line-height: 1.0;
    margin-bottom: 1.5rem;
}

.faq-header__sub {
    font-size: 16px;
    color: var(--muted);
    margin-bottom: 0;
}

.faq-header__sub a {
    color: var(--gold);
    text-decoration: underline;
}

.faq-header__sub a:hover {
    color: var(--off-white);
}

.faq-header hr {
    margin-top: 2.5rem;
}

/* ── FAQ Body ──────────────────────────────────────────────── */
.faq-body {
    padding: 0 0 var(--section-pad);
}

.faq-body .content-wrapper {
    /* padding: 0 40px; */
}

/* FAQ Group */
.faq-group {
    max-width: 720px;
    margin-bottom: 3rem;
}

.faq-group__label {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 0.25rem;
    padding-bottom: 1rem;
}

.faq-group__num {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: var(--dark-gold);
    flex-shrink: 0;
}

.faq-group__title {
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
}

/* FAQ List */
.faq-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid var(--mid-gray);
}

.faq-item {
    border-bottom: 1px solid var(--mid-gray);
}

/* Question trigger */
.faq-item__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1.25rem 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    gap: 20px;
}

.faq-item__question {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    color: var(--white);
    flex: 1;
    line-height: 1.5;
    transition: color 0.2s;
}

.faq-item.is-open .faq-item__question {
    color: var(--gold);
}

.faq-item__toggle {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 16px;
    line-height: 1;
    flex-shrink: 0;
    transition: var(--transition);
}

/* Open-state toggle: no box, no fill — the JS swaps the glyph
   from + to × directly, so the icon just changes shape in place. */

/* Answer panel */
.faq-item__answer {
    display: none;
    padding: 0 0 1.5rem;
    max-width: 680px;
}

.faq-item__answer p {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.faq-item__answer p:last-child { margin-bottom: 0; }

/* Emphasised inline text inside answers (pass titles, dates, etc.) */
.faq-item__answer strong {
    color: var(--off-white);
    font-weight: 600;
}

/* Sub-block used for long structured answers (e.g. Registration Q3 pass list) */
.faq-item__answer .faq-subblock {
    margin: 0.5rem 0 1rem;
    padding-left: 1rem;
    border-left: 1px solid var(--mid-gray);
}

.faq-item__answer .faq-subblock p {
    font-size: 14px;
    margin-bottom: 0.5rem;
}

.faq-item__answer .faq-subblock strong {
    color: var(--off-white);
    display: inline;
}

.faq-item__answer ul {
    margin: 0.25rem 0 0.75rem;
    padding-left: 1.2rem;
}

.faq-item__answer ul li {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.6;
    padding: 0.1rem 0;
}

/* Tag pills (.tag-pill / .tag-pills) moved to base.css — shared with Registration */

/* ── CTA Strip (FAQ-specific variant) ─────────────────────── */
.faq-cta {
    background-color: var(--black);
    padding: 5rem 2rem;
    text-align: center;
    border-top: 1px solid var(--mid-gray);
}

.faq-cta h2 {
    font-size: 48px;
    text-transform: none;
    margin-bottom: 0.75rem;
}

.faq-cta p {
    color: var(--muted);
    font-size: 16px;
    margin-bottom: 2rem;
}

.faq-cta p a {
    color: var(--gold);
    text-decoration: underline;
}


/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — faq page
   ═══════════════════════════════════════════════════════════ */

@media screen and (max-width: 1280px) {
    .faq-header .content-wrapper,
    .faq-body .content-wrapper { padding: 0 40px; }
}

@media screen and (max-width: 1024px) {
    .faq-header h1 { font-size: 60px; }
    .faq-group { max-width: 100%; }
}

@media screen and (max-width: 768px) {
    .faq-header { padding: 4rem 0 2rem; }
    .faq-header h1 { font-size: 40px; line-height: 1.05; }
    .faq-header__sub { font-size: 14px; }
    .faq-header .content-wrapper,
    .faq-body .content-wrapper { padding: 0 24px; }

    .faq-group { margin-bottom: 2rem; }
    .faq-group__title { font-size: 10px; }

    .faq-item__trigger { padding: 1rem 0; gap: 12px; }
    .faq-item__question { font-size: 14px; line-height: 1.4; }
    .faq-item__toggle { width: 20px; height: 20px; }

    .faq-item__answer p { font-size: 14px; line-height: 1.6; }
    .faq-item__answer ul li { font-size: 14px; }

    .faq-subblock { padding-left: 0.75rem; }
    .faq-subblock p { font-size: 13px; }

    .faq-cta { padding: 3rem 1.25rem; }
    .faq-cta h2 { font-size: 28px; }
    .faq-cta p { font-size: 14px; }
}

@media screen and (max-width: 480px) {
    .faq-header h1 { font-size: 32px; }
    .faq-header .content-wrapper,
    .faq-body .content-wrapper { padding: 0 16px; }

    .faq-item__question { font-size: 13px; }
    .faq-item__answer p { font-size: 13px; }

    .tag-pills { gap: 6px; }
    .tag-pill { font-size: 10px; padding: 3px 10px; }

    .faq-cta h2 { font-size: 22px; }
}
