/* Логотип */
header img, nav img, .navbar img, .site-logo img { max-height: 50px !important; max-width: 180px !important; object-fit: contain !important; }
@media (max-width: 768px) { header img, nav img { max-height: 35px !important; max-width: 130px !important; } }

/* Скрываем иконки в футере */
ul[data-footer-highlights] { display: none !important; }

/* Центрируем текст в футере */
footer p.max-w-sm { text-align: center !important; margin: 0 auto !important; max-width: 320px !important; }

/* Нижняя панель подвала */
footer .mt-14.border-t {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 1.5rem !important;
}
footer .mt-14.border-t nav {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    border: none !important;
    gap: 1rem !important;
}
footer .flex.flex-col.sm\:flex-row {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    gap: 1rem !important;
}

@media (min-width: 1024px) {
    footer .mt-14.border-t {
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        text-align: left !important;
    }
    footer .mt-14.border-t > div:first-child {
        white-space: nowrap !important;
        text-align: left !important;
        flex-shrink: 0 !important;
    }
    footer .mt-14.border-t > div:last-child {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 2rem !important;
    }
    footer .mt-14.border-t nav {
        margin-bottom: 0 !important;
        gap: 1.5rem !important;
    }
}

/* Скрываем блок с демо-данными на странице входа */
form .mt-2.overflow-hidden.rounded-2xl {
    display: none !important;
}

/* Скрываем дату публикации в блоге */
.blog-card time, 
.blog-card .date, 
.blog-card .published-at,
article time,
.post-date {
    display: none !important;
}

/* Скрываем дату публикации в блоге (карточки и страницы) */
time,
.blog-date,
span:has(i[data-lucide="calendar"]) {
    display: none !important;
}

/* Скрываем дату последнего обновления на CMS-страницах */
.text-slate-400:has-text("Последнее обновление"),
.text-slate-400:has-text("Last updated"),
p:has-text("Последнее обновление"),
p:has-text("Last updated") {
    display: none !important;
}

/* Скрываем заглушку "Карта недоступна" и весь пустой блок карты */
.mt-8.bg-slate-50:has-text("Карта недоступна"),
.bg-slate-50:has-text("Google Maps не настроен"),
div:has(> svg + h3):has-text("Карта недоступна") {
    display: none !important;
}

/* Скрываем заглушку "Карта недоступна" внутри секции карты */
section[data-purpose="office-map"] div.flex.h-105 {
    display: none !important;
}
