.featured_article img {
    max-height: 350px;
    width: 100%;
}
.filter-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 30px;
    padding: 10px 20px;
    font-weight: 600;
    transition: all 0.3s;
}

.filter-btn:hover {
    background-color: #007c30;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 150, 57, 0.3);
}

.reset-btn {
    background-color: transparent;
    color: var(--dark-color);
    border: 1px solid #ddd;
    border-radius: 30px;
    padding: 10px 20px;
    font-weight: 600;
    transition: all 0.3s;
}

.reset-btn:hover {
    background-color: #f8f9fa;
    transform: translateY(-3px);
}

.news-large-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    argin-bottom: 30px;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.news-large-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.news-large-card-img {
    height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.news-large-card-category {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.news-large-card-body {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-large-card-date {
    color: var(--gray-color);
    font-size: 14px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.news-large-card-date i {
    margin-right: 5px;
    color: var(--primary-color);
}

.news-large-card-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark-color);
    line-height: 1.4;
}

.news-large-card-title a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
}

.news-large-card-title a:hover {
    color: var(--primary-color);
}

.news-large-card p {
    color: var(--gray-color);
    margin-bottom: 20px;
    flex-grow: 1;
    line-height: 1.6;
}

.news-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    transition: all 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.news-card-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.news-card-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.news-card-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-card-date {
    color: var(--gray-color);
    font-size: 14px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.news-card-date i {
    margin-right: 5px;
    color: var(--primary-color);
}

.news-card-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.4;
}

.news-card-title a {
    text-decoration: none;
    color: var(--dark-color);
    transition: all 0.3s;
}

.news-card-title a:hover {
    color: var(--primary-color);
}

.news-card p {
    color: var(--gray-color);
    flex-grow: 1;
    font-size: 14px;
    line-height: 1.6;
}

.news-list-item {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    transition: all 0.3s;
    padding: 20px;
    display: flex;
    align-items: center;
}

.news-list-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.news-list-item-img {
    width: 120px;
    height: 90px;
    border-radius: 5px;
    background-size: cover;
    background-position: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.news-list-item-content {
    flex-grow: 1;
}

.news-list-item-date {
    color: var(--gray-color);
    font-size: 12px;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
}

.news-list-item-date i {
    margin-right: 5px;
    color: var(--primary-color);
    font-size: 14px;
}

.news-list-item-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    line-height: 1.4;
}

.news-list-item-title a {
    text-decoration: none;
    color: var(--dark-color);
    transition: all 0.3s;
}

.news-list-item-title a:hover {
    color: var(--primary-color);
}

.news-list-item-category {
    font-size: 12px;
    color: var(--primary-color);
    font-weight: 500;
}

.category-badge {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-right: 10px;
    margin-bottom: 10px;
    background-color: #e9f7ef;
    color: var(--primary-color);
    transition: all 0.3s;
    cursor: pointer;
}

.category-badge:hover,
.category-badge.active {
    background-color: var(--primary-color);
    color: white;
}

.section-title {
    font-size: 24px;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.section-title:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.btn-custom-primary {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-custom-primary:hover {
    background-color: #007c30;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 150, 57, 0.3);
}

.btn-custom-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-custom-outline:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 150, 57, 0.3);
}



.sidebar-title {
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.sidebar-title:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
}

.popular-post {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.popular-post:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.popular-post-img {
    width: 80px;
    height: 60px;
    border-radius: 5px;
    background-size: cover;
    background-position: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.popular-post-content {
    flex-grow: 1;
}

.popular-post-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
    line-height: 1.4;
}

.popular-post-title a {
    text-decoration: none;
    color: var(--dark-color);
    transition: all 0.3s;
}

.popular-post-title a:hover {
    color: var(--primary-color);
}

.popular-post-date {
    color: var(--gray-color);
    font-size: 12px;
    display: flex;
    align-items: center;
}

.popular-post-date i {
    margin-right: 5px;
    color: var(--primary-color);
}

.tag-cloud {
    margin-bottom: 20px;
}

.tag-badge {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 13px;
    margin-right: 8px;
    margin-bottom: 10px;
    background-color: #f0f0f0;
    color: var(--gray-color);
    transition: all 0.3s;
}

.tag-badge:hover {
    background-color: var(--primary-color);
    color: white;
}

.social-share {
    display: flex;
    margin-bottom: 30px;
}

.social-share a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f0f0f0;
    color: var(--gray-color);
    margin-right: 10px;
    transition: all 0.3s;
}

.social-share a:hover {
    transform: translateY(-3px);
}

.social-share a.facebook:hover {
    background-color: #3b5998;
    color: white;
}

.social-share a.twitter:hover {
    background-color: #1da1f2;
    color: white;
}

.social-share a.linkedin:hover {
    background-color: #0077b5;
    color: white;
}

.social-share a.whatsapp:hover {
    background-color: #25d366;
    color: white;
}

.newsletter-box {
    background-color: #e9f7ef;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 30px;
}

.newsletter-box h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.newsletter-box p {
    margin-bottom: 20px;
    font-size: 14px;
}

.newsletter-box .form-control {
    border-radius: 30px;
    padding: 10px 20px;
    margin-bottom: 15px;
}



/* Responsive fixes */
@media (max-width: 768px) {
    .page-header {
        padding: 60px 0;
    }

    .page-header h1 {
        font-size: 28px;
    }

    .news-large-card-img {
        height: 200px;
    }

    .news-list-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .news-list-item-img {
        width: 100%;
        height: 150px;
        margin-right: 0;
        margin-bottom: 15px;
    }
}