/* استایل‌های اختصاصی */
.homework {
    border: none;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}
    
.homework:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15) !important;
}

.news-image img {
    transition: transform 0.3s ease;
}
    
.homework:hover .news-image img {
    transform: scale(1.05);
}
    
.font {
    font-size: 12px;
    font-weight: 600;
    
}
    
.font1 {
    font-size: 10px;
    line-height: 1.6;
}
    
/* .news-date {
    font-size: 0.8rem;
} */
    
.news-link {
    background: linear-gradient(to right, #3498db, #2ecc71);
    border: none;
    border-radius: 30px;
    padding: 5px 15px;
    font-size: 0.8rem;
}


.news-card-date {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    z-index: -1;
    overflow: hidden;
    height: 80px;
}

.pages {
    box-shadow: none;
    border-radius: 0;
}

.page-link, 
.page-link:hover, 
.page-link:focus {
    background: transparent;
    padding: 0.3rem 1rem;
    border-radius: 50%;
    border: none;
    box-shadow: none;
    outline: none;
    color: #000;
}

.page-item.btn-gradient {
    padding: 0rem;
}

.active-page {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
}

.font{
    font-size: 20px;
}

.font1{
    font-size: 14px;
}

.news__card-date{
    color: rgba(33, 37, 41, 0.75);
}

.dark-mode .news__card-date{
    color: rgba(176, 176, 176, 0.75);
}

.dark-mode .page-link, 
.dark-mode .page-link:hover {
    color: #fff;
}

.dark-mode .active-page {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple)) !important;
}

.cursor-pointer {
    cursor: pointer;
}
.news-image:hover {
    opacity: 0.9;
}
.news-content {
    line-height: 1.8;
    text-align: justify;
}
.modal-body img {
    max-width: 100%;
    height: auto;
}
.pagination .page-item.active .page-link {
    background-color: #0d6efd;
    border-color: #0d6efd;
}
