:root {
            --zt-green: #2e7d32;
            --zt-lime: #8bc34a;
        }
        body { background-color: #f4f7f4; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }
        
        .top-nav { background-color: #1a1c1e; padding: 10px 0; }
        .navbar-main { background: white; border-bottom: 2px solid var(--zt-green); }

        .hero-banner {
            background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.5)), 
                        url('/templates/Default/images/trolleybus_green.jpg') center/cover;
            padding: 120px 0;
            color: white;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
        }
        .hero-title { font-size: 3.5rem; fw-bold; }

        .quick-access { margin-top: -60px; position: relative; z-index: 10; }
        .qa-card {
            background: white;
            border: none;
            border-radius: 12px;
            transition: 0.3s;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
            text-decoration: none;
            color: inherit;
        }
        .qa-card:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,0.15); color: var(--zt-green); }
        
        .section-title { border-left: 6px solid var(--zt-green); padding-left: 15px; margin-bottom: 30px; }

        .row > div[id^="news-id"], 
    .row > div:not([class*="col-"]) {
        display: contents; 
    }

    .pagination .page-item a, 
.pagination .page-item b {
    display: inline-block;
    min-width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    text-decoration: none;
    border-radius: 50% !important;
    margin: 0 2px;
    transition: all 0.2s ease;
    border: 1px solid #dee2e6;
    color: #2e7d32; /* Ваш зелений колір */
    background: #fff;
}

.pagination .page-item b {
    background-color: #2e7d32 !important;
    color: #fff !important;
    border-color: #2e7d32 !important;
    font-weight: bold;
}

.pagination .page-item a:hover {
    background-color: #e8f5e9;
    border-color: #2e7d32;
    color: #1b5e20;
}

.page-link {
    cursor: pointer;
    border: 1px solid #dee2e6;
    color: #2e7d32;
    font-weight: 500;
}

.page-link:hover {
    background-color: #2e7d32;
    color: #fff;
    border-color: #2e7d32;
}

.lum-lightbox { z-index: 10000; }
    .lum-lightbox-inner img { 
        border-radius: 12px; 
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    }

.navigation b, .navigation span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background-color: #2e7d32;
    color: white !important;
    border-radius: 50%;
    font-weight: bold;
    border: 1px solid #2e7d32;
    margin: 0 3px;
}

.navigation {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 20px 0;
}

.gallery-container { padding: 20px 0; }
.gallery-title { 
    border-left: 5px solid #2e7d32; 
    padding-left: 15px; 
    margin: 30px 0 20px; 
    font-weight: bold; 
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}
.gallery-item {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}
.gallery-item:hover { transform: translateY(-5px); }
.gallery-item img {
    width: 100%;
    height: 200px; /* ???? ???????? ?????? */
    object-fit: cover; /* ?????????? ??? ???????????? */
    display: block;
}
.gallery-info { padding: 15px; text-align: center; }
.gallery-info strong { display: block; font-size: 15px; color: #333; }
.gallery-info span { font-size: 13px; color: #666; }

.dropdown-menu {
        margin-top: 10px !important;
    }
    .dropdown-item:active {
        background-color: #2e7d32;
    }

.search-box .dropdown-menu {
        position: absolute !important;
        z-index: 9999 !important;
        margin-top: 15px !important;
        /* Додаємо легку анімацію появи */
        animation: fadeIn 0.2s ease-out;
    }

    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }

    /* Стиль для полів вводу, щоб вони були як на скріншоті */
    .search-box .form-control {
        border-radius: 8px;
        border: 1px solid #dee2e6;
        padding: 10px 12px;
    }
    
    .search-box .form-control:focus {
        border-color: #2e7d32;
        box-shadow: 0 0 0 0.25 dashed rgba(46, 125, 50, 0.25);
    }

dropdown-item {
        padding: 8px 15px;
        font-size: 14px;
        transition: all 0.2s;
    }
    .dropdown-item:hover {
        background-color: #f8f9fa;
        color: #2e7d32;
        padding-left: 20px;
    }
    .dropdown-divider {
        margin: 0.5rem 0;
        opacity: 0.1;
    }
    /* Виправлення позиціонування, щоб меню не перекривалося */
    .dropdown-menu-end {
        right: 0;
        left: auto;
    }

@media (max-width: 576px) {
    .navigation a:not(:nth-child(-n+3)):not(:nth-last-child(-n+3)) {
        display: none;
    }
    
    .navigation a, .navigation b {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
    .gallery-grid { grid-template-columns: 1fr; }
}