/* Контейнер хлібних крихт */
.breadcrumbs {
    list-style: none;
    padding: 10px 0;
    margin: 0 0 20px 0;
    display: flex;
    flex-wrap: wrap;
    font-size: 14px;
    color: #666;
}

/* Елементи списку */
.breadcrumbs li {
    display: flex;
    align-items: center;
}

/* Роздільник (/) після кожного елемента, крім останнього */
.breadcrumbs li:not(:last-child)::after {
    content: '/';
    margin: 0 10px;
    color: #ccc;
}

/* Посилання */
.breadcrumbs a {
    text-decoration: none;
    color: #337ab7; /* Синій колір */
    transition: color 0.2s;
}

.breadcrumbs a:hover {
    color: #23527c;
    text-decoration: underline;
}

/* Останній елемент (активна сторінка) - неактивний колір */
.breadcrumbs li:last-child {
    color: #999;
    font-weight: normal;
    pointer-events: none; /* Робимо неклікабельним */
}

.news-detail-container {
        max-width: 900px;
        margin: 0 auto;
        padding: 20px;
        background: #fff;
    }
    .news-detail-img {
        width: 100%;
        height: auto;
        max-height: 500px;
        object-fit: cover;
        border-radius: 5px;
        margin-bottom: 20px;
    }
    .news-meta {
        color: #777;
        font-size: 14px;
        margin-bottom: 15px;
        border-bottom: 1px solid #eee;
        padding-bottom: 10px;
    }
    .news-full-content {
        line-height: 1.8;
        font-size: 16px;
        color: #333;
    }
    /* Стиль для кнопки назад */
    .btn-back {
        display: inline-block;
        margin-top: 20px;
        text-decoration: none;
        color: #337ab7;
        font-weight: bold;
    }

    .pagination {
        display: flex;
        justify-content: center;
        list-style: none;
        padding: 20px 0;
        gap: 5px;
    }
    .pagination li a, .pagination li span {
        display: block;
        padding: 8px 12px;
        border: 1px solid #ddd;
        text-decoration: none;
        color: #337ab7;
        border-radius: 4px;
        background: #fff;
    }
    .pagination li.active span {
        background-color: #337ab7;
        color: white;
        border-color: #337ab7;
    }
    .pagination li a:hover {
        background-color: #eee;
    }
    .pagination li.disabled span {
        color: #ccc;
        pointer-events: none;
    }

/* --- М'ЯКИЙ БАНЕР --- */

.sidebar-block.infob-box {
    /* Легкий блакитний фон (прозорість 8%) */
    background: rgba(75, 140, 202, 0.08); 
    
    /* Тонка, напівпрозора рамка */
    border: 1px solid rgba(75, 140, 202, 0.3); 
    
    border-radius: 12px;
    padding: 25px 20px;
    text-align: center;
    margin-bottom: 30px;
    
    /* Дуже м'яка тінь */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03); 
}

/* Заголовок */
.sidebar-block.infob-box h4 {
    color: #5a7ea6; /* Менш яскравий синій (сіро-синій) */
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Текст */
.sidebar-block.infob-box p {
    font-size: 15px;
    color: #666; /* Більш м'який сірий */
    line-height: 1.5;
    margin-bottom: 20px;
}

/* Жирний текст всередині */
.sidebar-block.infob-box p strong {
    color: #444; /* Не чорний, а темно-сірий */
}

/* Кнопка-телефон */
.sidebar-block.infob-box .phone-link a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    
    /* Більш пастельний, спокійний зелений */
    background: #9ca628; 
    
    color: #fff;
    text-decoration: none;
    padding: 10px 24px; /* Трохи менша кнопка */
    border-radius: 50px;
    font-weight: 600; /* Трохи тонший шрифт */
    font-size: 15px;
    transition: all 0.3s ease;
}

.sidebar-block.infob-box .phone-link a:hover {
    background: #8a9322; 
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(156, 166, 40, 0.3);
}

.content-col.company-page {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* Логотип по центру */
.company-banner {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.company-banner img {
    max-width: 300px; /* Обмеження ширини логотипу */
    width: 100%;
    height: auto;
}

/* Вступний текст (Lead) */
.text-block.lead-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 30px;
}

/* Секції з заголовками */
.info-section {
    margin-bottom: 30px;
}

.info-section h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-section h2 i {
    color: var(--accent-color); /* Іконки жовто-зелені */
    font-size: 1.3rem;
}

.info-section p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #555;
    text-align: justify;
}

/* Секція з сірим фоном (для акценту) */
.info-section.bg-light {
    background: #f9fbfd;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

/* Гарний список */
.custom-list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.custom-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: #555;
}

.custom-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* Цитата внизу */
.company-footer-quote {
    text-align: center;
    font-style: italic;
    font-weight: 600;
    color: #444;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/* Мобільна адаптація */
@media (max-width: 768px) {
    .content-col.company-page {
        padding: 20px;
    }
    .company-banner img {
        max-width: 200px;
    }
}

/* --- СТОРІНКА ІНФОРМАЦІЇ --- */

/* Основний контейнер */
.content-col.info-page {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.content-col.info-page h1 {
    margin-bottom: 25px;
}

/* Список з галочками */
.custom-list-check {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}
.custom-list-check li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
}
.custom-list-check li::before {
    content: "\f00c"; /* FontAwesome check icon */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* БЛОК: ГРАФІК ВІДПРАВЛЕНЬ (Зеленуватий) */
.schedule-box {
    background: #f0fdf4; /* Світло-зелений фон */
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    padding: 25px;
}

.schedule-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 20px 0;
}

.schedule-item {
    background: #fff;
    padding: 15px;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    border-left: 4px solid var(--accent-color);
}

.schedule-item .time {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.schedule-item .desc {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.4;
}

.note-text {
    font-size: 0.9rem;
    color: #777;
    text-align: center;
}

/* БЛОК: УВАГА (Жовтий) */
.alert-box.warning {
    background: #fff8e1; /* Світло-жовтий */
    border-left: 5px solid #ffc107; /* Жовта смуга */
    padding: 20px;
    border-radius: 4px;
    margin: 30px 0;
    color: #5d4037;
}

.alert-box.warning h4 {
    color: #f57f17;
    margin-bottom: 10px;
    font-size: 1.1rem;
    font-weight: 700;
}

/* БЛОК: КОНТАКТИ */
.info-contact-section {
    text-align: center;
    margin-top: 30px;
}

.contact-grid-phones {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin: 20px 0;
}

.phone-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f1f5f9;
    color: #333;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.phone-btn:hover {
    background: var(--primary-color);
    color: #fff;
}

.email-link a {
    color: var(--primary-color);
    font-weight: bold;
    text-decoration: none;
}

/* Адаптація для телефону */
@media (max-width: 768px) {
    .schedule-grid {
        grid-template-columns: 1fr; /* Один стовпчик на мобільному */
    }
    .contact-grid-phones {
        flex-direction: column; /* Телефони один під одним */
        align-items: stretch; /* На всю ширину */
    }
    .phone-btn {
        justify-content: center;
    }
}