@charset "utf-8";

/* FAQ page — page-15 */

.faq-page main {
    background: #f3f4f6
}

.faq-hero {
    position: relative;
    background: #eee;
    overflow: hidden
}

.faq-hero__media {
    aspect-ratio: 1920 / 650;
    max-height: 650px
}

.faq-hero__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover
}

.faq-hero__search-wrap {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: linear-gradient(180deg, rgba(0, 0, 0, .12) 0%, rgba(0, 0, 0, .28) 100%)
}

.faq-hero__search {
    display: flex;
    align-items: stretch;
    width: min(560px, 92vw);
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .15)
}

.faq-hero__search-input {
    flex: 1;
    min-width: 0;
    height: 48px;
    padding: 0 16px;
    font-size: 15px;
    border: none;
    background: #fff
}

.faq-hero__search-input:focus {
    outline: none
}

.faq-hero__search-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    padding: 0;
    color: var(--text-muted);
    background: #fff;
    border: none;
    border-left: 1px solid #eee;
    cursor: pointer;
    transition: color .2s linear
}

.faq-hero__search-btn:hover {
    color: var(--color)
}

.faq-crumb {
    padding: 14px 20px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-muted);
    background: #fff;
    border-bottom: 1px solid #eee
}

.faq-crumb a {
    color: var(--text-muted)
}

.faq-crumb a:hover {
    color: var(--color)
}

.faq-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-bottom: 0;
    padding: 0 20px;
    background: #fff;
    border-bottom: 1px solid #e5e7eb
}

.faq-tabs__btn {
    padding: 14px 28px;
    font-size: 14px;
    font-weight: var(--fontbold5);
    color: var(--text-muted);
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: color .2s linear, background .2s linear, border-color .2s linear
}

.faq-tabs__btn:hover {
    color: var(--color)
}

.faq-tabs__btn.is-active {
    color: #fff;
    background: var(--color);
    border-bottom-color: var(--color);
    font-weight: var(--fontbold6)
}

.faq-main {
    padding: 32px 20px 64px
}

.faq-panel[hidden] {
    display: none !important
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 20px
}

.faq-card {
    padding: 24px 28px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .06)
}

.faq-card.is-hidden {
    display: none
}

.faq-card__label {
    font-weight: var(--fontbold6);
    color: var(--color);
    margin-right: 6px
}

.faq-card__q {
    margin: 0 0 16px;
    font-size: clamp(16px, 1.5vw, 18px);
    font-weight: var(--fontbold6);
    color: var(--fontcolor);
    line-height: 1.45
}

.faq-card__a {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-muted)
}

.faq-card__a p {
    margin: 0 0 12px
}

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

.faq-card__a strong {
    color: var(--fontcolor);
    font-weight: var(--fontbold6)
}

.faq-empty {
    margin: 0;
    padding: 40px 20px;
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
    background: #fff;
    border-radius: 8px
}

.faq-side-card {
    max-width: 640px;
    margin: 0 auto;
    padding: 36px 32px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .06)
}

.faq-side-card--center {
    text-align: center
}

.faq-side-card__title {
    margin: 0 0 14px;
    font-size: clamp(20px, 2vw, 24px);
    font-weight: var(--fontbold6);
    color: var(--fontcolor)
}

.faq-side-card__text {
    margin: 0 0 24px;
    font-size: 14px;
    line-height: 1.75;
    color: var(--text-muted)
}

.faq-side-card__btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: var(--fontbold6);
    color: #fff;
    background: var(--color);
    border-radius: 4px;
    transition: background .2s linear
}

.faq-side-card__btn:hover {
    background: var(--color-hover);
    color: #fff
}

.faq-qr {
    display: inline-block;
    margin-bottom: 16px;
    padding: 12px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px
}

.faq-qr img {
    display: block;
    width: 200px;
    height: 200px;
    object-fit: contain
}

.faq-side-card__hint {
    margin: 0;
    font-size: 14px;
    color: var(--text-muted)
}

.faq-side-card__hint a {
    color: var(--color)
}

@media (max-width: 768px) {
    .faq-tabs__btn {
        flex: 1;
        padding: 12px 10px;
        font-size: 13px;
        text-align: center
    }

    .faq-card {
        padding: 18px 16px
    }

    .faq-side-card {
        padding: 28px 20px
    }
}
