/* Юридический подвал (include/footer.php): общий для всех страниц. Сброс отступов и шрифт берутся из CSS страницы */

/* Своя заливка: подвал тёмный на любой странице, даже если у body другой фон */
.legal {
    border-top: 1px solid rgba(191, 127, 48, .3);
    padding: 32px 24px calc(32px + env(safe-area-inset-bottom)) 28px;
    background: #2a1d16;
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255, 255, 255, .55)
}

.legal-in {
    max-width: 680px;
    margin: 0 auto
}

.legal a {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-decoration-color: rgba(214, 70, 111, .8);
    text-underline-offset: .2em
}

.legal-top {
    display: flex;
    gap: 16px;
    align-items: flex-start
}

.age {
    flex: none;
    width: 40px;
    height: 40px;
    border: 1.5px solid #b8325a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 13px;
    color: #fff
}

.legal p + p {
    margin-top: 12px
}

.legal .warn {
    margin-top: 20px;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: .03em;
    color: rgba(255, 255, 255, .85)
}

@media (width >= 760px) and (aspect-ratio > 9/10) {
    .legal {
        padding: 40px 48px
    }
}
