/* ANCOM update-27: header and support contact channels. */
.site-header.ancom27-header .topbar__inner {
    justify-content: flex-end;
}

/* The shared support list keeps the same order on desktop and mobile. */
.ancom27-support-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    min-width: 0;
}
.ancom27-support-list > a {
    max-width: 100%;
    overflow-wrap: anywhere;
}
.ancom27-support-telegram {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
}
.ancom27-support-telegram .tg-icon {
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
}
.site-footer .ancom27-tg-only {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 6px;
    align-self: flex-start;
    border-radius: 6px;
    line-height: 1;
}
.site-footer .ancom27-tg-only .tg-icon {
    width: 20px;
    height: 20px;
}
.site-footer .ancom27-tg-only:hover {
    background: rgba(255, 255, 255, .06);
}
.site-footer .ancom27-tg-only:focus-visible,
.ancom27-support-list > a:focus-visible,
.site-footer .ancom27-footer-menu a:focus-visible {
    outline: 2px solid var(--green, #31b879);
    outline-offset: 4px;
}

/* Only footer navigation: no separator lines; the hierarchy remains indented. */
.site-footer .footer-navigation.ancom27-footer-menu a {
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    font-style: normal;
    letter-spacing: normal;
    line-height: 1.5;
    color: #fff;
    text-decoration: none;
    border: 0;
    box-shadow: none;
}
.site-footer .footer-navigation.ancom27-footer-menu a:hover {
    color: var(--green-light, #bcebd4);
}
.site-footer .footer-navigation.ancom27-footer-menu .footer-service-submenu,
.site-footer .footer-navigation.ancom27-footer-menu .sub-menu {
    padding-left: 18px;
    border: 0;
    box-shadow: none;
    background: transparent;
}
.site-footer .footer-navigation.ancom27-footer-menu .footer-navigation__separator,
.site-footer .footer-navigation.ancom27-footer-menu hr {
    display: none;
}

/* Preserve the existing contact-card heading and photograph, adjust only links. */
.contacts-section .ancom27-support-list--contacts {
    gap: 14px;
}
.contacts-section .ancom27-support-list--contacts > a {
    margin-top: 0;
    margin-bottom: 0;
}
.contacts-section .ancom27-support-list--contacts .ancom27-support-portal {
    margin-top: 4px;
    width: fit-content;
}
@media (max-width: 600px) {
    .site-footer .footer-navigation.ancom27-footer-menu .footer-service-submenu,
    .site-footer .footer-navigation.ancom27-footer-menu .sub-menu {
        padding-left: 16px;
    }
    .site-footer .ancom27-tg-only {
        width: 44px;
        height: 44px;
    }
    .contacts-section .ancom27-support-list--contacts .contact-big {
        font-size: clamp(18px, 5.8vw, 26px);
    }
}
