/* UK Coin Hunt — FAQ page 2026 redesign
 * Scoped to .faq26. Mirrors the homepage's tokens + editorial rhythm. */

.faq26 {
    --f-ivory: #faf7f2;
    --f-bg:    #ffffff;
    --f-ink:   #1c1c1e;
    --f-muted: #6b6258;
    --f-line:  rgba(28, 28, 30, 0.10);
    --f-gold:  #cfa362;
    --f-gold-dark: #b88d4f;
    --f-max:   880px;

    background: var(--f-ivory);
    color: var(--f-ink);
    font-family: "Poppins", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.faq26 *, .faq26 *::before, .faq26 *::after { box-sizing: border-box; }

.faq26 .faq-wrap {
    max-width: var(--f-max);
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 32px);
}

.faq26 h1, .faq26 h2 {
    font-family: 'Lora', Georgia, 'Times New Roman', serif;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: var(--f-ink);
    margin: 0;
}
.faq26 a { color: inherit; text-decoration: none; }
.faq26 .faq-link {
    color: var(--f-gold-dark);
    border-bottom: 1px solid var(--f-gold-line, rgba(207,163,98,0.35));
    transition: color .2s ease, border-color .2s ease;
}
.faq26 .faq-link:hover { color: var(--f-gold); border-color: var(--f-gold); }

.faq26 .faq-eyebrow {
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--f-gold-dark);
    font-weight: 600;
    display: inline-block;
    margin-bottom: 10px;
}

/* accessibility helper */
.faq26 .visually-hidden {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------------- Hero ---------------- */
.faq26 .faq-hero {
    padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 5vw, 64px);
    text-align: center;
    background:
        radial-gradient(ellipse at top, rgba(207,163,98,0.10), transparent 55%),
        linear-gradient(180deg, #f5ede0 0%, var(--f-ivory) 100%);
    border-bottom: 1px solid var(--f-line);
}
.faq26 .faq-heading {
    font-size: clamp(32px, 4.5vw, 52px);
    line-height: 1.1;
    margin: 0 0 18px;
}
.faq26 .faq-lead {
    color: var(--f-muted);
    font-size: 16px;
    line-height: 1.7;
    max-width: 62ch;
    margin: 0 auto 32px;
}

/* Search bar */
.faq26 .faq-search {
    position: relative;
    max-width: 520px;
    margin: 0 auto;
}
.faq26 .faq-search-input {
    width: 100%;
    height: 52px;
    padding: 0 44px 0 46px;
    border: 1px solid var(--f-line);
    border-radius: 999px;
    background: #ffffff;
    font-size: 14.5px;
    color: var(--f-ink);
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.faq26 .faq-search-input::placeholder {
    color: #8a8078;
}
.faq26 .faq-search-input:focus {
    border-color: var(--f-gold);
    box-shadow: 0 0 0 4px rgba(207, 163, 98, 0.12);
}
.faq26 .faq-search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--f-gold-dark);
    font-size: 16px;
    pointer-events: none;
}
.faq26 .faq-search-clear {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: rgba(207, 163, 98, 0.15);
    color: var(--f-ink);
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    transition: background .2s ease;
}
.faq26 .faq-search-clear:hover { background: rgba(207, 163, 98, 0.30); }
.faq26 .faq-search-empty {
    margin: 20px auto 0;
    max-width: 520px;
    color: var(--f-muted);
    font-size: 14px;
}

/* ---------------- Section blocks ---------------- */
.faq26 .faq-section {
    padding: clamp(40px, 6vw, 72px) 0;
}
.faq26 .faq-section + .faq-section {
    border-top: 1px solid var(--f-line);
}
.faq26 .faq-section-head {
    display: block;
    width: 100%;
    margin: 0 0 clamp(20px, 3vw, 32px);
    padding: 0;
    background: transparent;
    position: relative;
}
.faq26 .faq-section-head .faq-eyebrow { display: block; }
.faq26 .faq-section-title {
    font-size: clamp(22px, 2.8vw, 30px);
    line-height: 1.2;
    margin: 0;
    position: relative;
    padding-bottom: 12px;
}
.faq26 .faq-section-title::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 40px; height: 1px;
    background: var(--f-gold);
}

/* Accordion list */
.faq26 .faq-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.faq26 .faq-item {
    background: var(--f-bg);
    border: 1px solid var(--f-line);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.faq26 .faq-item[open] {
    border-color: rgba(207, 163, 98, 0.35);
    box-shadow: 0 8px 24px rgba(28, 28, 30, 0.05);
}
.faq26 .faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 22px;
    cursor: pointer;
    font-family: 'Lora', Georgia, serif;
    font-size: clamp(15px, 1.4vw, 17px);
    font-weight: 500;
    color: var(--f-ink);
    line-height: 1.4;
    list-style: none;
    user-select: none;
    transition: background .2s ease, color .2s ease;
}
.faq26 .faq-q::-webkit-details-marker { display: none; }
.faq26 .faq-q:hover { background: #faf4e8; }
.faq26 .faq-item[open] .faq-q { color: var(--f-gold-dark); }

.faq26 .faq-q-text {
    flex: 1;
    min-width: 0;
}

/* + / - icon */
.faq26 .faq-icon {
    flex: 0 0 auto;
    position: relative;
    width: 22px;
    height: 22px;
    display: inline-block;
}
.faq26 .faq-icon::before,
.faq26 .faq-icon::after {
    content: "";
    position: absolute;
    background: var(--f-gold);
    top: 50%; left: 50%;
    transition: transform .25s ease, opacity .25s ease;
}
.faq26 .faq-icon::before {
    width: 14px; height: 1.5px;
    transform: translate(-50%, -50%);
}
.faq26 .faq-icon::after {
    width: 1.5px; height: 14px;
    transform: translate(-50%, -50%);
}
.faq26 .faq-item[open] .faq-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

/* Answer body */
.faq26 .faq-a {
    padding: 0 22px 20px 22px;
    color: var(--f-muted);
    font-size: 15px;
    line-height: 1.7;
    animation: faq-fade-in .2s ease both;
}
.faq26 .faq-a p { margin: 0; }
.faq26 .faq-a strong { color: var(--f-ink); }
.faq26 .faq-address {
    display: inline-block;
    margin-top: 10px;
    padding: 12px 14px;
    background: #faf4e8;
    border-left: 2px solid var(--f-gold);
    border-radius: 4px;
    font-style: normal;
    color: var(--f-ink);
    line-height: 1.6;
}

/* On mobile the inline-block pill leaves the trailing "Please include a note..."
   sentence wrapped right of the address — looks ugly. Force the address onto
   its own line with a clear break before the next sentence. */
@media (max-width: 767.98px) {
    .faq26 .faq-address {
        display: block;
        margin-bottom: 10px;
    }
}

@keyframes faq-fade-in {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Hidden-by-filter state */
.faq26 .faq-item.is-filtered { display: none; }
.faq26 .faq-section.is-empty { display: none; }

/* ---------------- Contact CTA ---------------- */
.faq26 .faq-cta {
    padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 8vw, 96px);
}
.faq26 .faq-cta-card {
    text-align: center;
    padding: clamp(32px, 5vw, 56px) clamp(24px, 5vw, 48px);
    background:
        radial-gradient(ellipse at top left, rgba(207,163,98,0.10), transparent 55%),
        linear-gradient(180deg, #f5ede0 0%, #faf4e8 100%);
    border: 1px solid rgba(207, 163, 98, 0.25);
    border-radius: 14px;
}
.faq26 .faq-cta-title {
    font-size: clamp(22px, 2.8vw, 30px);
    margin: 0 0 12px;
}
.faq26 .faq-cta p {
    color: var(--f-muted);
    font-size: 15px;
    max-width: 48ch;
    margin: 0 auto 20px;
}
.faq26 .faq-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--f-ink);
    color: #ffffff;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: background .2s ease, transform .2s ease;
}
.faq26 .faq-btn:hover {
    background: var(--f-gold-dark);
    transform: translateY(-1px);
}

/* ---------------- Dark mode ---------------- */
body.dark-mode .faq26 {
    --f-ivory: #1a1a1a;
    --f-bg:    #212121;
    --f-ink:   #f2eadd;
    --f-muted: #b8aea0;
    --f-line:  rgba(255,255,255,0.08);
}
body.dark-mode .faq26 .faq-hero {
    background:
        radial-gradient(ellipse at top, rgba(207,163,98,0.14), transparent 55%),
        linear-gradient(180deg, #1c1c1c 0%, #1a1a1a 100%);
}
body.dark-mode .faq26 .faq-search-input {
    background: #2a2a2a;
    color: #f2eadd;
    border-color: rgba(255,255,255,0.08);
}
body.dark-mode .faq26 .faq-search-input::placeholder { color: #b8aea0; }
body.dark-mode .faq26 .faq-item { background: #212121; }
body.dark-mode .faq26 .faq-q:hover { background: #282828; }
body.dark-mode .faq26 .faq-cta-card {
    background:
        radial-gradient(ellipse at top left, rgba(207,163,98,0.14), transparent 55%),
        linear-gradient(180deg, #1c1c1c 0%, #222 100%);
    border-color: rgba(207,163,98,0.25);
}
body.dark-mode .faq26 .faq-btn { background: var(--f-gold); color: #1a1a1a; }
body.dark-mode .faq26 .faq-btn:hover { background: var(--f-gold-dark); color: #fff; }
body.dark-mode .faq26 .faq-address {
    background: rgba(255,255,255,0.04);
    color: #f2eadd;
}
