/* Company phone numbers (AboutUsSection.CompanyPhone) in the HomeLayout header top bar and footer.
   The header dropdown itself uses the generic header-dropdown.css; this file only styles phone content. */

/* ---------- Header: top bar ---------- */

/* Full top-bar height, so the link/toggle is vertically centered in the bar. */
nav .navigation-top .header-phones {
    display: flex;
    align-items: center;
    float: left;
    height: 100%;
}

nav .navigation-top .header-phones-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 13px;
    line-height: 17px;
    white-space: nowrap;
}

nav .navigation-top .header-phones-link:focus-visible {
    outline: 2px solid var(--inverse-link-color);
    outline-offset: -2px;
}

nav .navigation-top .header-phones-link .icon-phone-handset {
    color: var(--inverse-link-color);
}

nav .navigation-top .header-phones-label {
    font-weight: 500;
    letter-spacing: 0.02em;
}

nav .navigation-top .header-phones .header-dropdown-menu {
    min-width: 260px;
}

nav .navigation-top .header-phones-list .phone-contacts-icon {
    display: inline-flex;
    flex: 0 0 32px;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--button-color);
    font-size: 14px;
}

nav .navigation-top .header-phones-list .phone-contacts-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

nav .navigation-top .header-phones-list .phone-contacts-number {
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

nav .navigation-top .header-phones-list .phone-contacts-name {
    margin-top: 2px;
    color: var(--muted-text-color);
    font-size: 12px;
    line-height: 1.3;
}

@media (min-width: 991px) {
    nav .navigation-top .header-phones-link {
        padding: 5px 15px;
    }
}

/* Small phones: the top bar keeps only the icon (and caret); numbers stay in the dropdown. */
@media (max-width: 479px) {
    nav .navigation-top .header-phones-label {
        display: none;
    }
}

/* ---------- Footer ---------- */

/* Inline block centered by the column's text-center; items stay left-aligned so icons line up. */
footer .footer-phones-list {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    max-width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

footer .footer-phones-list .phone-contacts-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    padding: 4px 0;
    text-align: left;
    text-decoration: none;
}

footer .footer-phones-list .phone-contacts-icon {
    display: inline-flex;
    flex: 0 0 38px;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    color: var(--inverse-link-color);
    font-size: 16px;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

footer .footer-phones-list a.phone-contacts-link:is(:hover, :focus-visible) .phone-contacts-icon {
    border-color: var(--inverse-link-color);
    background-color: rgba(255, 255, 255, 0.06);
}

footer .footer-phones-list .phone-contacts-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

footer .footer-phones-list .phone-contacts-number {
    font-family: "Montserrat", sans-serif;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

footer .footer-phones-list .phone-contacts-name {
    margin-top: 2px;
    font-size: 13px;
    line-height: 1.3;
    opacity: 0.72;
}

@media (prefers-reduced-motion: reduce) {
    footer .footer-phones-list .phone-contacts-icon {
        transition: none;
    }
}
