/* ==========================================================
   Site header — фикс ширины и переноса пунктов меню
   ========================================================== */

/* На широких экранах nav.container в Materialize ограничен 1280px,
   из-за чего пункты меню («Новости») переносятся на вторую строку.
   Расширяем и заодно делаем меню жёстко nowrap. */
@media (min-width: 1300px) {
    nav .nav-wrapper.container {
        max-width: 1480px !important;
        width: 92% !important;
    }
}

nav ul.hide-on-med-and-down {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center;
    white-space: nowrap;
    margin: 0;
}
nav ul.hide-on-med-and-down li {
    flex: 0 0 auto;
}
nav ul.hide-on-med-and-down li a {
    padding: 8px 12px 0 !important;
}
@media (max-width: 1366px) {
    nav ul.hide-on-med-and-down li a {
        padding: 8px 9px 0 !important;
        font-size: 0.95rem;
    }
}

/* ==========================================================
   Site footer — адаптивная сетка
   ========================================================== */

.site-footer {
    background: linear-gradient(to top, #19213c 0%, #253056 100%);
    color: #fff;
    padding: 44px 0 0;
    /* Глобально footer задаёт LetoSansCondensed + uppercase — слишком плотный
       шрифт читается как жирный. Берём обычный системный sans-serif. */
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif !important;
    text-transform: none !important;
    font-weight: 400 !important;
    letter-spacing: normal;
}
.site-footer *,
.site-footer p,
.site-footer a,
.site-footer li,
.site-footer span {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif !important;
    text-transform: none !important;
    font-weight: 400 !important;
    letter-spacing: normal;
}
/* Перебить глобальное `footer a { margin: 20px ... }` из style.css */
.site-footer a {
    margin: 0;
    line-height: inherit;
    font-size: inherit;
    padding: 0;
}
.site-footer__container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.25rem;
}
.site-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
    gap: 36px;
    padding-bottom: 32px;
}
.site-footer__col {
    min-width: 0;
}
.site-footer__col--brand img {
    display: block;
    margin: 0 0 16px;
    height: 60px;
    width: auto;
}
.site-footer__address {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.92rem;
    line-height: 1.55;
    margin: 0;
}

.site-footer__title {
    font-size: 0.82rem;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    color: rgba(255, 255, 255, 0.78);
    margin: 0 0 14px;
    font-weight: 700 !important;
}

.site-footer__nav {
    list-style: none !important;
    padding: 0 !important;
    margin: 0;
}
.site-footer__nav li {
    margin: 0 0 8px !important;
    padding: 0 !important;
    list-style: none;
    line-height: 1.4;
}
.site-footer .site-footer__nav a {
    color: rgba(255, 255, 255, 0.88) !important;
    text-decoration: none !important;
    font-size: 0.95rem;
    line-height: 1.4;
    border: 0;
    margin: 0 !important;
    padding: 0 !important;
    display: inline-block;
    cursor: pointer;
    pointer-events: auto;
    position: relative;
    z-index: 1;
}
.site-footer .site-footer__nav a:hover,
.site-footer .site-footer__nav a:focus {
    color: #fff !important;
    text-decoration: underline !important;
}

.site-footer__nav-muted {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    line-height: 1.4;
    margin-top: 4px;
}

.site-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    padding: 18px 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}
.site-footer__bottom p { margin: 0; }

.site-footer__btn-link {
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.88) !important;
    text-decoration: none;
    font-size: 0.95rem;
    text-align: left;
    font-family: inherit;
    line-height: 1.4;
}
.site-footer__btn-link:hover {
    color: #fff !important;
    text-decoration: underline;
}

@media (max-width: 992px) {
    .site-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px 24px;
    }
}
@media (max-width: 600px) {
    .site-footer { padding: 32px 0 0; }
    .site-footer__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .site-footer__col--brand img { height: 50px; }
}
