
/* News Page */
.news_main {
    padding: 6rem 0 1.5rem;
}

.container {
    position: relative;
}
.title-section {
    text-align: center;
}

/* News Content */
.news_content {
    margin: 1.5rem 0;
}
.news_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.news_card {
    border-radius: 0.375rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.news_image {
    overflow: hidden;
    border-bottom: none;
}

.news_image img {
    width: 100%;
    object-fit: cover;
    transform: scale(1.1);
    transition: transform 0.3s ease;
    
}

.news_image:hover img {
    transform: scale(1.2);
}

.news_card_content {
    padding: 1rem;
    background: #fff;
    display: flex;
    flex-direction: column;
    min-height: 250px;
}

.news_title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.news_title a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.news_title a:hover {
    color: var(--color-blue);
}

.news_meta {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.news_description {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.news_link {
    display: flex;
    margin-top: auto;
    justify-content: flex-end;
    align-items: center;
}

.news_link a {
    display: flex;
    text-align: center;
    gap: 0.5rem;
    font-weight: 500;
    transition: color 0.3s ease;
}
.news_link a span {
    display: inline-flex;
    align-items: center;
}

.news_link a:hover {
    color: #dc2626;
}

/* No Data Box */
.no_data_box {
    background: #ffffff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.no_data {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
    background: #f9f9f9;
    border-radius: 10px;
    border: 2px dashed #ddd;
}

.no_data_content {
    text-align: center;
    padding: 40px;
}

.no_data_icon {
    font-size: 60px;
    color: #ccc;
    margin-bottom: 20px;
}

.no_data_title {
    font-size: 24px;
    color: #666;
    margin-bottom: 10px;
    font-weight: 600;
}

.no_data_text {
    font-size: 16px;
    color: #999;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 1199px) {
    .news_grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .title_section {
        font-size: 1.875rem;
    }
}

/* Large Devices (Tablets) */
@media (max-width: 991px) {
    .news_main {
        padding:3rem 0 1.5rem;
    }
}

/* Medium Devices (Tablets) */
@media (max-width: 767px) {
    .news_grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .news_card_content {
        padding: 0.75rem;
        min-height: 180px;
    }
    
    .news_title {
        font-size: 1.125rem;
    }
    
    .news_meta {
        font-size: 0.8rem;
    }
    
    .title_section {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
}

/* Small Devices (Phones) */
@media (max-width: 575px) {
    .news_grid {
        grid-template-columns: 1fr;
    }
    
    .news_main {
        padding: 3rem 0 1.5rem;
    }
    
    .news_card_content {
        min-height: 160px;
    }
    
    .title_section {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .no_data_container {
        padding: 2rem 0;
    }
    
    .no_data_icon {
        font-size: 3rem;
    }
    
    .no_data_title {
        font-size: 1.25rem;
    }
}

/* Extra Small Devices */
@media (max-width: 374px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .news_card_content {
        padding: 0.5rem;
    }
    
    .news_title {
        font-size: 1rem;
    }
    
    .news_description {
        font-size: 0.9rem;
    }
}
