.messenger-share {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.messenger-share .messenger-share__link {
    display: inline-grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid #dbe0e6;
    border-radius: 6px;
    background: #fff;
    text-decoration: none;
}

.messenger-share .messenger-share__link:hover,
.messenger-share .messenger-share__link:focus-visible {
    border-color: #9d1c32;
    background: #faf2f4;
}

.comment-privacy {
    clear: both;
    margin: 1rem 0;
    font-size: 14px;
    line-height: 1.5;
}

.comment-privacy label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.comment-privacy input {
    flex: 0 0 auto;
    margin-top: 4px;
}

.footer-privacy {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    font-size: 13px;
}

#masthead .header-html-2 {
    flex-shrink: 0;
}

.site-contacts {
    display: grid;
    gap: 3px;
    margin-bottom: 8px;
    line-height: 1.45;
}

.site-contacts a {
    color: #9d1c32;
    text-decoration: none;
}

.site-contacts a:hover {
    text-decoration: underline;
}

.site-contacts__phone {
    font-size: 18px;
    font-weight: 700;
}

.site-contacts__email {
    font-size: 17px;
}

#masthead .local-callback {
    display: inline-block;
    padding: 10px 17px;
    border-radius: 4px;
    background: #a21e33;
    color: #fff;
    line-height: 1.4;
    text-decoration: none;
    white-space: nowrap;
}

#masthead .local-callback:hover {
    background: #7d1728;
    color: #fff;
}

#colophon .footer-main {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 24px;
    padding-bottom: 26px;
    border-bottom: 1px solid rgb(255 255 255 / 18%);
    text-align: left;
}

#colophon .footer-main h2 {
    margin: 0 0 14px;
    color: inherit;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
}

.footer-menu {
    display: grid;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

#colophon .footer-menu a {
    display: inline-block;
    padding: 4px 0;
    color: inherit;
    font-size: 14px;
    line-height: 1.45;
    text-decoration: none;
}

#colophon .footer-menu a:hover,
#colophon .footer-menu a[aria-current="page"] {
    text-decoration: underline;
    text-underline-offset: 3px;
}

#colophon .footer-contacts .site-contacts {
    margin: 0;
    gap: 10px;
}

#colophon .site-contacts a {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    gap: 9px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}

.footer-contacts .site-contacts a::before {
    flex: 0 0 18px;
    height: 18px;
    background: #b51c2d;
    -webkit-mask: var(--contact-icon) center / contain no-repeat;
    mask: var(--contact-icon) center / contain no-repeat;
    content: "";
}

.footer-contacts .site-contacts__phone {
    --contact-icon: url("../images/feather/phone.svg");
}

.footer-contacts .site-contacts__email {
    --contact-icon: url("../images/feather/mail.svg");
}

#colophon .footer-callback {
    display: inline-block;
    max-width: 100%;
    margin-top: 17px;
    padding: 10px 16px;
    border: 1px solid #a21e33;
    border-radius: 5px;
    background: #a21e33;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    text-decoration: none;
}

#colophon .footer-callback:hover {
    border-color: #7d1728;
    background: #7d1728;
    color: #fff;
}

#colophon .footer-main a:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
}

@media (max-width: 991px) {
    #colophon .footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    #colophon .footer-main {
        gap: 24px 16px;
    }

    #colophon .footer-company,
    #colophon .footer-contacts {
        grid-column: 1 / -1;
    }

    #colophon .footer-menu a {
        overflow-wrap: anywhere;
        hyphens: auto;
    }
}

@media (max-width: 767px) {
    #masthead .header-html-2 {
        text-align: center;
    }

    #masthead .site-contacts {
        margin: 10px 0;
    }

    #masthead .site-contacts a {
        font-size: 18px;
    }
}

#colophon .footer-bottom {
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 0;
}

#colophon .footer-info {
    flex: 0 0 100%;
    max-width: 100%;
}

.footer-privacy button {
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
}

.cookie-notice {
    position: fixed;
    right: 16px;
    bottom: 16px;
    left: 16px;
    z-index: 950;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px 20px;
    width: calc(100% - 32px);
    max-width: 940px;
    margin: auto;
    padding: 16px 18px;
    border: 1px solid #dbe0e6;
    border-radius: 8px;
    background: #fff;
    color: #282528;
    box-shadow: 0 6px 24px rgb(28 20 24 / 18%);
    font-size: 14px;
    line-height: 1.5;
}

.cookie-notice[hidden] {
    display: none;
}

.cookie-notice > div:first-child {
    flex: 1 1 320px;
}

.cookie-notice p {
    margin: 4px 0 0;
}

.cookie-notice__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cookie-notice__actions button {
    min-height: 42px;
    padding: 7px 12px;
    border: 1px solid #a21e33;
    border-radius: 4px;
    background: #fff;
    color: #83182b;
    font: 600 13px/1.3 Montserrat, Arial, sans-serif;
    cursor: pointer;
}

.cookie-notice__actions .cookie-notice__accept {
    background: #a21e33;
    color: #fff;
}

.site-external-video {
    margin: 1rem 0;
}

.site-external-video iframe {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
}
