@charset "utf-8";
/* CSS Document */

:root {
    --primary-green: #1E6031;
    --secondary-green: #009639;
    --primary-gold: #E0A70D;
    --secondary-gold: #FFD700;
    --white: #FFFFFF;
    --black: #000000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--black);
    background: #f8f9fa;
}

/* Header Styles */
.top-header {
    background: var(--primary-green);
    padding: 15px 0;
    border-bottom: 3px solid var(--primary-gold);
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-section img {
    height: 80px;
    width: auto;
}

.site-title h1 {
    font-size: 1.4rem;
    color: var(--white);
    margin: 0;
    font-weight: 600;
    line-height: 1.2;
}

.site-title h2 {
    font-size: 1.8rem;
    color: var(--secondary-gold);
    margin: 0;
    font-weight: 700;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    color: var(--primary-green);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-gold);
    color: var(--white);
    transform: translateY(-3px);
}

/* Navigation Bar */
.navbar-custom {
    background: var(--white);
    padding: 12px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-custom.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

.navbar-brand-custom {
    display: none;
    align-items: center;
    gap: 10px;
    color: var(--primary-green);
    font-weight: 700;
    font-size: 1.4rem;
    text-decoration: none;
}

.navbar-brand-custom img {
    height: 40px;
}

.navbar-custom.sticky .navbar-brand-custom {
    display: flex;
}

.navbar-custom .navbar-nav .nav-link {
    color: var(--primary-green);
    font-weight: 500;
    padding: 8px 20px;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-custom .navbar-nav .nav-link:hover,
.navbar-custom .navbar-nav .nav-link.active {
    color: var(--primary-gold);
}

.navbar-custom .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-gold);
    transition: width 0.3s ease;
}

.navbar-custom .navbar-nav .nav-link:hover::after {
    width: 80%;
}

.search-icon {
    color: var(--primary-green);
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.search-icon:hover {
    color: var(--primary-gold);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
    padding: 0;
    color: var(--white);
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.page-banner-img {
	filter: brightness(1.2) contrast(0.8);
	opacity: 0.5;
}

.back-link {
    color: var(--white);
    text-decoration: none;
    display: inline-block;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.back-link:hover {
    color: var(--secondary-gold);
    transform: translateX(-5px);
}

/* Filter Section */
.filter-section {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.filter-title {
    color: var(--primary-green);
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.filter-form {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: end;
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

.filter-buttons {

    display: flex;
    gap: 10px;
}

.filter-group label {
    display: block;
    color: var(--primary-green);
    font-weight: 600;
    margin-bottom: 8px;
}

.filter-group select,
.filter-group input {
    width: 100%;
    padding: 10px 15px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.filter-group select:focus,
.filter-group input:focus {
    border-color: var(--primary-green);
    outline: none;
}

.btn-filter {
    background: var(--primary-green);
    color: var(--white);
    border: none;
    padding: 10px 30px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 44px;
}

.btn-filter:hover {
    background: var(--secondary-green);
    transform: translateY(-2px);
}

.btn-reset {
    background: var(--primary-gold);
    color: var(--white);
    border: none;
    padding: 10px 30px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 44px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-reset:hover {
    background: var(--secondary-gold);
    color: var(--black);
    transform: translateY(-2px);
}

/* Results Section */
.results-section {
    padding: 40px 0;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.results-count {
    color: var(--primary-green);
    font-weight: 600;
    font-size: 1.1rem;
}

/* News Card */
.news-archive-card {
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.news-archive-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.news-card-body {
    padding: 25px;
}

.news-card-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 15px;
    gap: 15px;
}

.news-card-title {
    color: var(--primary-green);
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.news-card-title a {
    color: var(--primary-green);
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-card-title a:hover {
    color: var(--primary-gold);
}

.news-card-date {
    background: var(--primary-gold);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
}

.news-card-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 15px;
    color: #666;
    font-size: 0.9rem;
}

.news-card-meta span i {
    color: var(--primary-green);
    margin-right: 5px;
}

.news-card-excerpt {
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}

.btn-read-more {
    background: var(--primary-green);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-read-more:hover {
    background: var(--secondary-green);
    color: var(--white);
    transform: translateX(5px);
}

/* Pagination */
.pagination-container {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.pagination {
    display: flex;
    gap: 10px;
    list-style: none;
    padding: 0;
}

.pagination a {
    padding: 10px 15px;
    background: var(--white);
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination a:hover,
.pagination a.active {
    background: var(--primary-green);
    color: var(--white);
}

.pagination a.disabled {
    opacity: 0.5;
    pointer-events: none;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 60px 20px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.no-results i {
    font-size: 4rem;
    color: var(--primary-gold);
    margin-bottom: 20px;
}

.no-results h3 {
    color: var(--primary-green);
    margin-bottom: 10px;
}

/* Footer */
.footer {
    background: var(--primary-green);
    color: var(--white);
    padding: 50px 0 20px;
    margin-top: 60px;
}

.footer h5 {
    color: var(--secondary-gold);
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    margin-top: 30px;
    padding-top: 20px;
    text-align: center;
}

/* Responsive */
@media (max-width: 1024px) {
    .social-links {
        display: none;
    }

    .site-title h1 {
        font-size: 0.9rem;
    }

    .site-title h2 {
        font-size: 1.2rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .filter-form {
        flex-direction: column;
    }

    .filter-group {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .page-header h1 {
        font-size: 1.8rem;
    }

    .news-card-header {
        flex-direction: column;
    }

    .news-card-date {
        align-self: flex-start;
    }
}