/* FAQ page — desktop 1493:15487 (tabs 15951, 15995, 16035); mobile 1538:27285
 * https://www.figma.com/design/RgNVpZ3TrlxEWXWB9QrQjD/The-House-of-Legends
 */

.faq-v5-page {
    --faq-nav-h: 98px;
}

.faq-v5-main {
    padding-top: calc(var(--faq-nav-h) + 24px);
}

/* ---- Hero ---- */
.faq-v5-hero {
    background: #1a1a1a;
    padding: 24px 120px 80px;
    text-align: center;
    box-sizing: border-box;
}

.faq-v5-hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    max-width: 1100px;
    margin: 0 auto;
}

.faq-v5-hero-title {
    font-family: "Decophile", serif;
    font-weight: 400;
    font-size: clamp(40px, 6vw, 64px);
    line-height: 1.125;
    color: #fff;
    margin: 0;
}

.faq-v5-hero-lead {
    font-family: "Mulish", sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    color: #a6a6a6;
    margin: 0;
    max-width: 680px;
}

/* ---- Two-column FAQ ---- */
.faq-v5-body {
    background: #2e2e2e;
    padding: 80px 120px;
    box-sizing: border-box;
}

.faq-v5-body-inner {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 120px;
    width: 100%;
    box-sizing: border-box;
}

.faq-v5-categories {
    flex: 0 0 340px;
    width: 340px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.faq-v5-cat-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    text-align: left;
    font-family: "Decophile", serif;
    font-weight: 400;
    font-size: 32px;
    line-height: 40px;
    color: #808080;
    transition: color 0.2s ease;
}

.faq-v5-cat-btn:hover {
    color: #a6a6a6;
}

.faq-v5-cat-btn.is-active {
    color: #c5a059;
}

.faq-v5-cat-dot {
    flex-shrink: 0;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    box-sizing: border-box;
    border: 1px solid #808080;
    background: transparent;
}

.faq-v5-cat-btn.is-active .faq-v5-cat-dot {
    border-color: #c5a059;
    background: #c5a059;
}

.faq-v5-panels {
    flex: 1 1 0;
    min-width: 0;
    max-width: 741px;
}

.faq-v5-panel {
    display: none;
    flex-direction: column;
    gap: 24px;
}

.faq-v5-panel.is-active {
    display: flex;
}

.faq-v5-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-v5-q {
    font-family: "Philosopher", serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 36px;
    color: #fff;
    margin: 0;
}

.faq-v5-a {
    font-family: "Mulish", sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    color: #a6a6a6;
    margin: 0;
    max-width: 691px;
}

.faq-v5-a p {
    margin: 0 0 0.5em;
}

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

.faq-v5-a a {
    color: #e6e6e6;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.faq-v5-a a:hover {
    color: #c5a059;
}

.faq-v5-rule {
    border: 0;
    height: 1px;
    margin: 0;
    background: rgba(77, 77, 77, 0.9);
}

/* ---- Still have a question ---- */
.faq-v5-cta {
    background: #1a1a1a;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    width: 100%;
    overflow: hidden;
}

.faq-v5-cta-copy {
    flex: 1 1 0;
    min-width: 0;
    padding: 80px 120px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    box-sizing: border-box;
}

.faq-v5-cta-title {
    font-family: "Decophile", serif;
    font-weight: 400;
    font-size: clamp(40px, 6vw, 64px);
    line-height: 1.125;
    color: #c5a059;
    margin: 0;
}

.faq-v5-cta-lead {
    font-family: "Mulish", sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    color: #a6a6a6;
    margin: 0;
    max-width: 42rem;
}

.faq-v5-cta-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

.faq-v5-cta-label {
    font-family: "Mulish", sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    color: #a6a6a6;
    margin: 0;
}

.faq-v5-cta-value {
    font-family: "Philosopher", serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 36px;
    color: #fff;
    margin: 0;
}

.faq-v5-cta-value a {
    color: inherit;
    text-decoration: none;
}

.faq-v5-cta-value a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.faq-v5-cta-rule {
    border: 0;
    height: 1px;
    margin: 0;
    background: rgba(166, 166, 166, 0.35);
}

.faq-v5-cta-visual {
    flex: 0 0 min(708px, 42vw);
    min-height: 280px;
    position: relative;
    align-self: stretch;
}

.faq-v5-cta-visual img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 1200px) {
    .faq-v5-body-inner {
        gap: 64px;
    }

    .faq-v5-categories {
        flex-basis: 280px;
        width: 280px;
    }

    .faq-v5-cat-btn {
        font-size: 26px;
        line-height: 34px;
    }
}

@media (max-width: 900px) {
    .faq-v5-hero {
        padding: 16px 24px 48px;
    }

    .faq-v5-body {
        padding: 48px 24px;
    }

    .faq-v5-body-inner {
        flex-direction: column;
        gap: 40px;
    }

    .faq-v5-categories {
        flex: none;
        width: 100%;
    }

    .faq-v5-cta {
        flex-direction: column;
    }

    .faq-v5-cta-copy {
        padding: 48px 24px;
    }

    .faq-v5-cta-visual {
        flex: none;
        width: 100%;
        min-height: 240px;
        aspect-ratio: 16 / 10;
    }
}

/* ---- Mobile — Figma node 1538:27285 (375pt) ---- */
@media (max-width: 768px) {
    .faq-v5-page {
        --faq-nav-h: 78px;
    }

    .faq-v5-main {
        padding-top: var(--faq-nav-h);
    }

    .faq-v5-hero {
        padding: calc(120px - var(--faq-nav-h)) 16px 80px;
        text-align: center;
    }

    .faq-v5-hero-inner {
        gap: 8px;
        max-width: none;
    }

    .faq-v5-hero-title {
        font-size: 36px;
        line-height: 44px;
    }

    .faq-v5-hero-lead {
        font-size: 14px;
        line-height: 20px;
        max-width: none;
    }

    .faq-v5-body {
        padding: 40px 16px;
    }

    .faq-v5-body-inner {
        gap: 32px;
    }

    .faq-v5-categories {
        gap: 8px;
        align-items: flex-start;
    }

    .faq-v5-cat-btn {
        font-size: 32px;
        line-height: 40px;
    }

    .faq-v5-panels {
        max-width: none;
    }

    .faq-v5-panel {
        gap: 16px;
    }

    .faq-v5-q {
        font-size: 18px;
        line-height: 28px;
    }

    .faq-v5-a {
        font-size: 16px;
        line-height: 24px;
        max-width: none;
    }

    .faq-v5-cta {
        flex-direction: column;
    }

    .faq-v5-cta-copy {
        padding: 40px 16px;
        gap: 32px;
        align-items: center;
        text-align: center;
    }

    .faq-v5-cta-copy > div:first-child {
        display: flex;
        flex-direction: column;
        gap: 8px;
        align-items: center;
        text-align: center;
        width: 100%;
    }

    .faq-v5-cta-title {
        font-size: 36px;
        line-height: 44px;
    }

    .faq-v5-cta-lead {
        font-size: 16px;
        line-height: 24px;
        max-width: none;
    }

    .faq-v5-cta-details {
        gap: 12px;
        align-items: center;
        width: 100%;
    }

    .faq-v5-cta-details > div {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .faq-v5-cta-label {
        font-size: 14px;
        line-height: 20px;
        font-weight: 700;
    }

    .faq-v5-cta-value {
        font-size: 18px;
        line-height: 28px;
    }

    .faq-v5-cta-rule {
        width: 100%;
        max-width: none;
    }

    .faq-v5-cta-visual {
        flex: none;
        width: 100%;
        min-height: 0;
        aspect-ratio: 708 / 613.731;
        position: relative;
    }

    .faq-v5-cta-visual img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}
