/* =========================================
   News & Exhibition Page Specific Styles
   ========================================= */

/* --- Header & Breadcrumb --- */
.news-header {
    background-color: #f8f9fa;
    padding: 60px 0;
    text-align: center;
    border-bottom: 1px solid #e9ecef;
}

.news-header h1 {
    font-size: 42px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.news-header .meta-info {
    font-size: 18px;
    color: #6c757d;
    font-family: 'Poppins', sans-serif;
}

.news-header .meta-info .icon {
    margin-right: 8px;
    color: #007bff;
}

/* --- Main Content Area --- */
.news-content {
    padding: 80px 0;
}

.news-content .shell {
    max-width: 960px; /* Optimal reading width for blog-style content */
    margin: 0 auto;
}

.news-content h2 {
    font-size: 28px;
    font-weight: 600;
    color: #343a40;
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #007bff;
    display: inline-block;
}

.news-content p {
    font-size: 17px;
    line-height: 1.8;
    color: #495057;
    margin-bottom: 20px;
}

/* --- Image Gallery --- */
.gallery-section {
    margin: 50px 0;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.photo-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.photo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- Upcoming Event Section --- */
.upcoming-event-card {
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    padding: 30px;
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.upcoming-event-card .cover-image {
    flex: 1 1 300px; /* Flex-grow, flex-shrink, flex-basis */
    text-align: center;
}

.upcoming-event-card .cover-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid #eee;
}

.upcoming-event-card .info-details {
    flex: 2 1 400px;
}

.upcoming-event-card .info-details h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #007bff;
}

.upcoming-event-card .btn-pdf {
    display: inline-block;
    background-color: #dc3545;
    color: #fff;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
    margin-top: 15px;
}
.upcoming-event-card .btn-pdf .fa {
    margin-right: 8px;
}

.upcoming-event-card .btn-pdf:hover {
    background-color: #c82333;
    color: #fff;
    text-decoration: none;
}

/* --- Back to Home Button --- */
.back-to-home {
    text-align: center;
    margin-top: 60px;
}
.back-to-home .btn {
    padding: 15px 35px;
    font-size: 16px;
}
