@import url("https://cdn.jsdelivr.net/gh/orestbida/cookieconsent@3.1.0/dist/cookieconsent.css");

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: 'Arial', sans-serif;
    background-color: #f8f9fa;
    color: #343a40;
}

main {
    flex: 1;
}

header {
    background-color: #ffffff !important;
    color: #343a40 !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
}

header .h3 a {
    color: #343a40 !important;
    font-weight: 700;
    font-size: 1.8rem;
}

header .site-logo {
    font-size: 2.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -1px;
}

header .site-logo a {
    color: #343a40 !important;
    text-decoration: none;
}

header .nav-link {
    color: #5a6268 !important;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 0.9rem;
    padding: 0.5rem 0.75rem;
}

header .nav-link:hover {
    color: #28a745 !important;
}

header .nav-link.active {
    color: #28a745 !important;
    border-bottom: 2px solid #28a745;
    padding-bottom: 0.5rem;
    font-weight: 600;
}

footer {
    background-color: #343a40 !important;
    color: #f8f9fa !important;
    padding: 2rem 0;
}

footer h5 {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 1rem;
}

footer a {
    color: #adb5bd !important;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #ffffff !important;
}

.news-card {
    height: 100%;
    border: none;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.news-card .card-img-top {
    height: 220px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

.news-card .card-body {
    padding: 1.25rem;
}

.news-card .card-title {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

.news-card .card-title a {
    color: #343a40;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-card .card-title a:hover {
    color: #28a745;
}

.news-card .card-text {
    font-size: 0.95rem;
    color: #6c757d;
    line-height: 1.6;
}

.news-card .card-footer {
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
    font-size: 0.85rem;
    color: #6c757d;
    padding: 0.75rem 1.25rem;
}

.category-badge {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
    padding: 0.3em 0.6em;
    border-radius: 0.25rem;
    background-color: #28a745 !important;
    color: #fff !important;
}

.carousel-item img {
    height: 450px;
    object-fit: cover;
    border-radius: 8px;
}

.carousel-caption {
    background-color: rgba(0, 0, 0, 0.75);
    border-radius: 8px;
    padding: 1.5rem;
    bottom: 10%;
    left: 10%;
    right: 10%;
    max-width: 80%;
    margin: 0 auto;
}

.carousel-caption h5 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.carousel-caption h5 a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.carousel-caption h5 a:hover {
    color: #28a745;
}

.carousel-caption p {
    font-size: 1rem;
    color: #e9ecef;
}

.carousel-indicators button {
    background-color: #28a745 !important;
}

.section-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
    font-size: 2rem;
    font-weight: 700;
    color: #343a40;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 70px;
    height: 4px;
    background-color: #28a745;
    border-radius: 2px;
}

.btn-primary {
    background-color: #28a745 !important;
    border-color: #28a745 !important;
}

.btn-primary:hover {
    background-color: #218838 !important;
    border-color: #1e7e34 !important;
}

.btn-outline-primary {
    color: #28a745 !important;
    border-color: #28a745 !important;
}

.btn-outline-primary:hover {
    background-color: #28a745 !important;
    border-color: #28a745 !important;
    color: #ffffff !important;
}

.pagination .page-item .page-link {
    color: #28a745;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    margin: 0 2px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.pagination .page-item .page-link:hover {
    background-color: #28a745;
    color: #ffffff;
    border-color: #28a745;
}

.pagination .page-item.active .page-link {
    background-color: #28a745 !important;
    border-color: #28a745 !important;
    color: #ffffff !important;
}

.card-header {
    background-color: #28a745;
    color: #ffffff;
    font-weight: 600;
    border-bottom: none;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    padding: 1rem 1.25rem;
}

.card-header h5 {
    margin-bottom: 0;
    font-size: 1.1rem;
}

.latest-news-list {
    list-style-type: none;
    padding-left: 0;
}

.latest-news-list li {
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
}

.latest-news-list li:last-child {
    border-bottom: none;
}

.latest-news-list li a {
    color: #343a40;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.latest-news-list li a:hover {
    color: #28a745;
}

.latest-news-list small {
    color: #6c757d !important;
}

.list-group-item {
    border: none;
    border-bottom: 1px solid #e9ecef;
    padding: 12px 1.25rem;
    transition: background-color 0.3s ease;
}

.list-group-item:last-child {
    border-bottom: none;
}

.list-group-item:hover {
    background-color: #f1f1f1;
}

.list-group-item .badge {
    background-color: #6c757d !important;
    font-weight: 500;
}

.news-image {
    max-width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.news-meta {
    font-size: 0.95rem;
    color: #6c757d;
    margin-bottom: 25px;
}

.news-content {
    line-height: 1.9;
    font-size: 1.05rem;
    color: #343a40;
}

.news-content p {
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .carousel-item img {
        height: 300px;
    }
    .carousel-caption {
        padding: 1rem;
        bottom: 5%;
        max-width: 90%;
    }
    .carousel-caption h5 {
        font-size: 1.4rem;
    }
    .carousel-caption p {
        font-size: 0.85rem;
    }
    .news-card .card-img-top {
        height: 180px;
    }
    .section-title {
        font-size: 1.7rem;
    }
    .section-title::after {
        width: 50px;
    }
}
