/* Container and layout */
.news-blog-container {
    margin: 0 auto;
    padding: 35px 0px;
    padding-inline: var(--padding-inline);
}

.section-title {
    text-align: center;
    font-weight: 700;
    margin-bottom: 2rem;
}

/* Tab navigation */
.tab-nav {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
}
.tab-btn {
    padding: 12px 36px;
    border: none;
    background: #f5f5f7;
    color: #222;
    font-weight: 600;
    border-radius: 30px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.3s, color 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    outline: none;
    position: relative;
}
.tab-btn.active {
    background: var(--primary) !important;
    color: #fff;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    z-index: 1;
    /* Underline effect */
}
.tab-btn:hover {
    background: var(--primary) !important ;
}
.tab-btn:not(.active):hover {
    background: #e0e0e0;
}

.tab-content {
    display: none;
    opacity: 0;
    transition: opacity 0.4s;
        box-shadow: unset !important;

}
.tab-content.active {
    display: block;
    opacity: 1;
    transition: opacity 0.4s;
}

/* Card grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
@media (max-width: 991px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .card-grid {
        grid-template-columns: 1fr;
    }
    .tab-btn {
        padding: 10px 16px;
        font-size: 1rem;
    }
    
    .date-wrapper {
        gap: 5px;
    }
    
    .calendar-icon {
        width: 12px;
        height: 12px;
    }
}

/* Card style (reuse from index.html) */
.news-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s;
    height: 100%;
}
.news-card:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,0.12);
}
.news-card-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f7;
}
.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain !important;
    display: block;
}
.news-card-content {
    padding: 24px 20px 20px 20px;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.news-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #222;
}
.news-card-viewall {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #888;
    font-size: 0.98rem;
}

.date-wrapper {
    display: flex;
    align-items: center;
    gap: 6px;
}

.calendar-icon {
    color: #888;
    flex-shrink: 0;
    transition: color 0.3s ease;
}

.date-wrapper:hover .calendar-icon {
    color: #666;
}

.date {
    font-size: 0.98rem;
    color: #888;
}

.load-more-btn {
    display: block;
    margin: 2rem auto 0 auto;
    padding: 0.9rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 0.75rem;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}
.load-more-btn:hover, .load-more-btn:focus {
    background: #ab202b;
    color: #fff;
    outline: none;
}
@media (max-width: 600px) {
    .load-more-btn {
        width: 100%;
        font-size: 1rem;
        padding: 0.8rem 0;
    }
}

.news-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}
