.news-item {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
}
.news-item:hover {
    transform: translateY(-5px);
}
.news-main {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    min-height: 400px;
}
.news-img img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.7s ease;
}
.news-item:hover .news-img img {
    transform: scale(1.05);
}
.news-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--primary-dark);
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 9999px;
    z-index: 10;
}
.news-infor {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.news-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-dark);
    line-height: 1.4;
    min-height: 56px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.news-description {
    font-size: 16px;
    color: #6b7280;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}
.news-meta {
    font-size: 14px;
    color: var(--accent);
}

/* Latest news styles (unchanged) */
.latest-news-item {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: #f9fafb;
    border-radius: 8px;
    margin-bottom: 16px;
}
.latest-news-img img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
}
.latest-news-infor {
    flex-grow: 1;
}
.latest-news-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-dark);
    line-height: 1.4;
    padding-top: 1rem;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.latest-news-meta {
    font-size: 14px;
    color: var(--primary);
}

/* Pagination styles (from product page) */
.pagination a,
.pagination span {
    padding: 0.25rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.25rem;
    color: #374151;
}
.pagination a:hover {
    background: green;
    color: #ffffff;
    border-color: green;
}
.pagination .bg-green-600 {
    background: green;
    color: #ffffff;
    border-color: green;
}
.pagination .text-gray-400 {
    color: #9ca3af;
    border-color: #e5e7eb;
    cursor: not-allowed;
}
