/* ====================================================
   СБРОС
==================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* ====================================================
   ОСНОВНОЙ ШРИФТ
==================================================== */

body {
    font-family: Arial, sans-serif;
    color: #222;
    background: #fff;
}


/* ====================================================
   ВЕРХНЯЯ ІНФОРМАЦІЙНА ПАНЕЛЬ
==================================================== */

.top-bar {
    background: #0b4a8b;
    color: #fff;
    padding: 10px 0;
}

.container {
    max-width: 1400px;
    width: 95%;
    margin: 0 auto;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-item {
    font-size: 16px;
    white-space: nowrap;
}


/* ====================================================
   ГЛАВНОЕ МЕНЮ
==================================================== */

.main-menu {
    background: #fff;
    border-top: 1px solid #e8e8e8;
    border-bottom: 1px solid #e8e8e8;
}

.main-menu .container {
    max-width: 1400px;
    width: 95%;
    min-height: 52px;
    margin: 0 auto;

    display: flex;
    align-items: center;
}


/* ====================================================
   ПУНКТЫ МЕНЮ
==================================================== */

.main-menu-links {
    list-style: none;

    display: flex;
    align-items: center;

    gap: 34px;

    margin: 0;
    padding: 0;
}

.main-menu-links li {
    margin: 0;
    padding: 0;
}


/* ====================================================
   ССЫЛКИ МЕНЮ
==================================================== */

.main-menu-links a {
    position: relative;

    display: block;

    padding: 13px 0;

    color: #222;
    text-decoration: none;

    font-size: 19px;
    font-weight: 600;

    white-space: nowrap;

    transition: color .25s ease;
}


/* Цвет текста при наведении */

.main-menu-links a:hover {
    color: #0b4a8b;
}


/* Активная страница */

.main-menu-links a.active {
    color: #0b4a8b;
}


/* ====================================================
   ЗОЛОТАЯ ПОЛОСКА
   Полоска принадлежит самой ссылке.
   Поэтому она появляется под тем пунктом,
   на который наведена мышь.
==================================================== */

.main-menu-links a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 0;
    height: 3px;

    background: #d8a400;

    transition: width .25s ease;
}


/* Показываем полоску только при наведении */

.main-menu-links a:hover::after {
    width: 100%;
}


/* ====================================================
   ОСОБИСТИЙ КАБІНЕТ
==================================================== */

.cabinet-container {
    margin-left: auto;

    display: flex;
    align-items: center;
}


/* Кнопка */

.cabinet-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    height: 34px;

    padding: 0 12px;

    background: #d8a400;
    color: #fff !important;

    border-radius: 5px;

    text-decoration: none;

    font-size: 14px;
    font-weight: 700;

    white-space: nowrap;

    transition:
        background .25s ease,
        transform .25s ease;
}


/* Наведение на кнопку */

.cabinet-btn:hover {
    background: #c49300;
    color: #fff !important;

    transform: translateY(-1px);
}


/* ====================================================
   HERO / БАННЕР
==================================================== */

.hero {
    width: 100%;
    height: 385px;

    margin-bottom: 0;

    background:
        url("../images/banner/banner.jpg")
        center center /
        100% 100%
        no-repeat;
}


/* Прозрачный слой */

.hero-overlay {
    width: 100%;
    height: 100%;

    background: transparent;
}


/* ====================================================
   СОДЕРЖИМОЕ БАННЕРА
==================================================== */

.hero-inner {
    max-width: 1180px;
    height: 100%;

    margin: 0 auto;

    display: flex;
    align-items: center;

    gap: 60px;

    padding: 0 30px;

    transform: translateY(-60px);
}


/* Логотип */

.hero-logo {
    width: 120px;

    flex-shrink: 0;
}


/* Текстовая часть */

.hero-info {
    max-width: 720px;
}


/* Название предприятия */

.hero h1 {
    font-size: 40px;
    font-weight: 700;

    line-height: 1.08;

    color: #0b4a8b;

    margin: 0 0 18px;

    letter-spacing: -0.5px;
}


/* Подзаголовок */

.subtitle {
    font-size: 18px;

    color: #24456d;

    margin: 0 0 18px;
}


/* Золотая линия в баннере */

.hero-line {
    width: 120px;
    height: 4px;

    background: #d8a400;

    margin-bottom: 20px;
}


/* Девиз */

.hero-text {
    font-size: 18px;

    color: #0b4a8b;

    margin-bottom: 0;
}


/* ====================================================
   ПУБЛІКАЦІЇ
==================================================== */

.publications {
    background: #f5f7fa;

    padding: 8px 0 15px;
}

.container-public {
    max-width: 1200px;

    margin: 0 auto;
}


/* Одна публикация */

.publication {
    display: flex;
    align-items: center;

    gap: 18px;

    background: rgba(255, 255, 255, .94);

    padding: 14px 24px;

    margin-bottom: 8px;

    text-decoration: none;

    color: #222;

    border-left: 6px solid #0b4a8b;

    border-radius: 10px;

    box-shadow:
        0 8px 20px rgba(0, 0, 0, .08);

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}


/* Посещённая ссылка */

.publication:visited {
    color: #222;
}


/* Наведение */

.publication:hover {
    transform: translateY(-2px);

    box-shadow:
        0 12px 28px rgba(0, 0, 0, .12);
}


/* Текст публикации */

.publication-text {
    flex: 1;
}


/* Дата */

.publication-date-top {
    font-size: 12px;

    color: #999;

    font-weight: 600;

    margin-bottom: 4px;
}


/* Текст */

.publication-text p {
    font-size: 15px;

    line-height: 1.35;

    margin: 0;

    color: #222;
}


/* Детальніше */

.publication-more {
    font-size: 15px;

    font-weight: 700;

    color: #0b4a8b;

    white-space: nowrap;

    flex-shrink: 0;
}


/* ====================================================
   ФУТЕР
==================================================== */

.site-footer {
    background: #0b4a8b;

    color: #ffffff;

    padding: 18px 0;
}

.footer-container {
    max-width: 1400px;
    width: 95%;

    margin: 0 auto;

    display: flex;
    align-items: center;

    justify-content: space-between;

    gap: 30px;
}

.footer-name {
    font-size: 15px;

    font-weight: 700;

    white-space: nowrap;
}

.footer-address {
    font-size: 13px;

    text-align: center;

    line-height: 1.4;
}

.footer-email {
    font-size: 13px;

    white-space: nowrap;
}

.footer-email a {
    color: #ffffff;

    text-decoration: none;
}

.footer-email a:hover {
    text-decoration: underline;
}