.faq-page {
    background: #f6f8f5;
}

.faq-page .menu a.is-active {
    background: #ebf4ec;
    color: #123016;
}

.faq-hero {
    padding: 28px 0 14px;
    text-align: center;
}

.faq-hero h1 {
    margin: 0 auto 12px;
    font-size: 24px;
    color: #2d2d2d;
    position: relative;
    display: inline-block;
    padding: 10px 24px;
    border: 1px solid #686868;
}

.faq-hero h1::before,
.faq-hero h1::after {
    content: "";
    position: absolute;
    top: 50%;
    width: min(28vw, 280px);
    border-top: 1px solid #474747;
}

.faq-hero h1::before {
    right: calc(100% + 14px);
}

.faq-hero h1::after {
    left: calc(100% + 14px);
}

.faq-hero p {
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.7;
    color: #435847;
    max-width: 900px;
}

.faq-section {
    padding: 14px 0 36px;
}

.faq-list {
    display: grid;
    gap: 12px;
}

.faq-item {
    background: #ffffff;
    border: 1px solid #dce7dc;
    border-radius: 12px;
    padding: 14px 16px;
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    color: #243025;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    font-size: 24px;
    line-height: 1;
    color: #2f6b3a;
}

.faq-item[open] summary::after {
    content: "-";
}

.faq-item p {
    margin: 10px 0 0;
    font-size: 17px;
    line-height: 1.7;
    color: #3d4f40;
}

@media (max-width: 1024px) {
    .faq-hero h1 {
        font-size: 28px;
        padding: 9px 16px;
    }

    .faq-hero p,
    .faq-item p {
        font-size: 16px;
    }

    .faq-item summary {
        font-size: 17px;
    }
}

@media (max-width: 640px) {
    .faq-hero {
        padding: 18px 0 12px;
    }

    .faq-hero h1 {
        font-size: 24px;
        padding: 8px 12px;
    }

    .faq-hero h1::before,
    .faq-hero h1::after {
        width: min(10vw, 40px);
    }

    .faq-hero p {
        font-size: 15px;
    }

    .faq-item {
        padding: 12px 14px;
    }

    .faq-item summary {
        font-size: 16px;
    }

    .faq-item p {
        font-size: 15px;
    }
}
