.banner{
    width: 100%;
    height: 400px;
    background-image: url("../img/newsbanner.jpg");
    background-size: cover;
    text-align: center;
    color: #fff;
    overflow: hidden;
}
.banner h2{
    margin-top: 160px;
    font-size: 32px;
    margin-bottom: 40px;
}
.banner p{
    margin-top: 10px;
    font-size: 20px;
}
.subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 15px;
    opacity: 0.9;
}

.tabs {
    display: flex;
    justify-content: center;
    margin: 0;
}

.tab-button {
    background: none;
    border: none;
    color: #666;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 18px 30px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.tab-button:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.tab-button.active {
    color: #2563eb;
}

.tab-button.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #3b82f6;
}

.tab-content {
    display: none;
    padding: 30px;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.section-title {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eff6ff;
}

.section-title h2 {
    font-size: 1.6rem;
    color: #1e3a8a;
    margin-right: 15px;
}

.section-title i {
    color: #3b82f6;
    font-size: 1.4rem;
    margin-right: 12px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 25px;
}

.news-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.15);
}

.card-header {
    display: flex;
    align-items: center;
    padding: 18px 20px;
    background: #eff6ff;
    border-bottom: 1px solid #dbeafe;
}

.card-date {
    color: #3b82f6;
    font-weight: 600;
    font-size: 0.95rem;
}

.card-tag {
    margin-left: 15px;
    background: #3b82f6;
    color: white;
    font-size: 0.8rem;
    padding: 4px 10px;
    border-radius: 20px;
}

.card-content {
    padding: 20px;
}

.card-title {
    font-size: 1.25rem;
    color: #1e293b;
    margin-bottom: 12px;
    font-weight: 600;
}

.card-excerpt {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.7;
}

.read-more {
    display: inline-flex;
    align-items: center;
    color: #3b82f6;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.read-more i {
    margin-left: 8px;
    transition: transform 0.3s;
}

.read-more:hover {
    color: #2563eb;
}

.read-more:hover i {
    transform: translateX(3px);
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    gap: 8px;
}

.page-btn {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid #dbeafe;
    background: white;
    color: #3b82f6;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

.page-btn:hover, .page-btn.active {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
}

.prev-btn, .next-btn {
    padding: 0 15px;
    width: auto;
}