/* Main Styles */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* Header Styles */
.top-header {
    font-size: 0.9rem;
}

.main-header {
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.logo h1 {
    font-size: 2.2rem;
    letter-spacing: -1px;
}

.search-form {
    max-width: 400px;
    margin-left: auto;
}

.main-nav {
    padding: 10px 0;
}

.main-nav .nav-link {
    padding: 8px 15px;
    border-radius: 0;
    transition: all 0.3s ease;
    font-weight: 500;
}

.main-nav .nav-link:hover {
    background-color: rgba(255,255,255,0.2);
}

.main-nav .nav-link.active {
    background-color: #0d6efd;
}

/* News Card Styles */
.news-card {
    transition: transform 0.3s ease;
    margin-bottom: 20px;
    height: 100%;
    border: none;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    overflow: hidden;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.news-card .card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .card-img-top {
    transform: scale(1.05);
}

.news-card .card-title {
    font-weight: bold;
    font-size: 1.1rem;
    line-height: 1.4;
    margin-bottom: 10px;
}

.news-card .card-title a {
    color: #333;
    text-decoration: none;
}

.news-card .card-title a:hover {
    color: #0d6efd;
}

.news-card .card-text {
    color: #666;
    font-size: 0.9rem;
}

.news-date {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.badge {
    font-weight: normal;
    font-size: 0.75rem;
}

/* Featured News Styles */
.featured-card {
    transition: transform 0.3s ease;
}

.featured-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
}

.featured-img-container {
    height: 300px;
    overflow: hidden;
}

.featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-card:hover .featured-img {
    transform: scale(1.05);
}

.section-title {
    position: relative;
    font-size: 1.8rem;
    font-weight: 700;
    padding-bottom: 10px;
}

.section-title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: #0d6efd;
}

/* News Detail Page */
.news-detail img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.news-detail .news-meta {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.news-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
}

.news-content {
    font-size: 1.1rem;
    line-height: 1.7;
}

.news-content p {
    margin-bottom: 1.5rem;
}

.news-image-container {
    overflow: hidden;
    border-radius: 5px;
}

.news-tags .btn {
    transition: all 0.3s ease;
}

/* Form Styles */
.form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* Pagination */
.pagination {
    margin-top: 30px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .news-card .card-img-top {
        height: 150px;
    }
}
