/*
 * CSS файл плагина custom-func
 *
 * 1. Хранит все стили для кастомных элементов (шорткоды, кнопки, метки).
 * 2. Загружается после стилей темы → легко переопределять базовые правила.
 * 3. Здесь можно описывать отдельные классы для хуков и фильтров.
 *
 * Итог: единый файл кастомных стилей.
 */

/* Контакты в правом виджете топбара рядом с Telegram */
.spnc-topbar .widget.spnc-right {
    display: flex;              /* В одну линию с иконкой TG */
    align-items: center;        /* Вертикальное центрирование */
    gap: 16px;                  /* Расстояние между контактами и иконкой TG */
}

/* Наш список контактов */
.spnc-topbar .custom-contacts-right {
    display: flex;
    align-items: center;        /* Вертикальное центрирование внутри списка */
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Элементы списка */
.spnc-topbar .custom-contacts-right li {
    display: inline-flex;
    align-items: center;        /* Иконка + текст по центру */
    gap: 8px;
    margin: 0;
}

/* Ссылки контактов */
.spnc-topbar .custom-contacts-right a {
    text-decoration: none;
}
.spnc-topbar .custom-contacts-right a:hover {
    text-decoration: underline;
}

/* Подвал: аккуратная ссылка на политику */
.site-info .copyright-section a[href*="elsv.ru/privacy"] {
    text-decoration: none;
}
.site-info .copyright-section a[href*="elsv.ru/privacy"]:hover {
    text-decoration: underline;
}

/* стили для мобильной версии самой верхней шапки*/
@media (max-width: 768px) {

    .spnc-topbar .widget.spnc-right {
        display: flex;
        align-items: center;
        gap: 1px;
        flex-direction: row;
        flex-wrap: nowrap;
        align-content: center;
        justify-content: center;
    }

    .spnc-topbar .custom-contacts-right {
        gap: 1px;
    }

    .spnc-topbar .custom-contacts-right a {
        text-decoration: none;
        font-size: 14px;
    }

    .header-sidebar .spnc-topbar .spnc-left {
        float: unset;
        display: none;
        /* скрываем блок со временем и датой*/
    }

}
