.legal-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.legal-container-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.legal-title {
    font-size: clamp(2rem, 1.8846rem + 0.5128vw, 2.5rem);
    font-family: "Manrope", sans-serif;
    font-weight: 400;
    width: 100%;
    max-width: 100%;
    color: #127a8d;
    margin: 0;
    line-height: 1.3;
}

.legal-container-item h3 {
    font-size: clamp(1.25rem, 1.1346rem + 0.5128vw, 1.75rem);
    font-family: "Manrope", sans-serif;
    font-weight: 400;
    width: 100%;
    max-width: 100%;
    color: #127a8d;
    margin: 0;
    line-height: 1.3;
}

.legal-container-item p,
.legal-container-item ul,
.legal-container-item h4 {
    color: #262626;
    font-family: "Manrope", sans-serif;
    font-size: clamp(1rem, 0.9423rem + 0.2564vw, 1.25rem);
    font-weight: 400;
    line-height: 130%;
}

.legal-container-item a {
    color: #127a8d;
}

.legal-container-item a:hover {
    text-decoration: none;
    color: #82aeb7;
}

.legal-faq {
    display: flex;
    flex-direction: column;
    margin-top: 8px;
}

.legal-faq-item {
    border-bottom: 1px solid #d9e8eb;
}

.legal-faq-item:first-child {
    border-top: 1px solid #d9e8eb;
}

.legal-faq-item h4.spoiler {
    margin: 0;
    padding: 12px 0 12px 28px;
    cursor: pointer;
    font-weight: 400;
    color: #127a8d;
    background: none;
    position: relative;
    line-height: 130%;
}

.legal-faq-item h4.spoiler::before {
    content: "+";
    position: absolute;
    left: 4px;
    top: 50%;
    transform: translateY(-50%);
    color: #127a8d;
    font-size: 1.25em;
    line-height: 1;
}

.legal-faq-item h4.spoiler.selected::before {
    content: "−";
}

.legal-faq-item h4.spoiler span {
    border-bottom: 1px dashed #82aeb7;
}

.legal-faq-item .spoiler_body {
    display: none;
    padding: 0 0 16px 28px;
}

.legal-faq-item .spoiler_body > :first-child {
    margin-top: 0;
}

.legal-faq-item .spoiler_body > :last-child {
    margin-bottom: 0;
}

.legal-faq-item .spoiler_body ul {
    margin: 8px 0;
    padding-left: 1.25em;
}

@media (max-width: 768px) {
    .legal-container {
        padding: 24px 10px;
    }
}