/* Base Styles (Consistent with your site) */
:root {
    --primary-color: #336699; --secondary-color: #204060; --accent-color: #e0f7fa;
    --text-color: #333; --light-text: #fff; --background-light: #f9f9f9;
    --shadow: 0 4px 8px rgba(0, 0, 0, 0.1); --border-radius: 8px;
}
body { font-family: 'Open Sans', sans-serif; line-height: 1.6; color: var(--text-color); background-color: #fff; margin:0; }
.container { width: 90%; max-width: 1200px; margin: 0 auto; padding: 0 15px; }
header { background-color: var(--primary-color); color: var(--light-text); padding: 15px 0; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); }
header .container { display: flex; justify-content: space-between; align-items: center; }
.icon img { height: 50px; }
.mobile-menu-toggle { display: none; background: none; border: none; color: white; font-size: 24px; cursor: pointer; }
.nav-list { display: flex; list-style: none; margin: 0; padding: 0; }
.nav-list li { margin-left: 20px; }
.nav-list a { color: var(--light-text); text-decoration: none; padding: 8px 12px; border-radius: var(--border-radius); transition: all 0.3s ease; }
.nav-list a:hover, .nav-list a.active { background-color: rgba(255, 255, 255, 0.2); }
.button { display: inline-block; background-color: var(--primary-color); color: var(--light-text); padding: 12px 24px; text-decoration: none; border-radius: var(--border-radius); font-weight: 600; transition: all 0.3s ease; border: none; cursor: pointer; }
.button:hover { background-color: var(--secondary-color); transform: translateY(-2px); box-shadow: var(--shadow); }
footer { background-color: var(--primary-color); color: var(--light-text); padding: 60px 0 0; }
.footer-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-info p, .footer-menu p, .footer-social p { margin-bottom: 15px; font-weight: 600; }
.footer-menu a, .footer-social a { display: block; color: var(--light-text); text-decoration: none; margin-bottom: 10px; transition: color 0.3s ease; }
.social-icons { display: flex; gap: 15px; }
.social-icons img { width: 30px; }
.footer-copyright { text-align: center; padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, 0.1); }

/* News & Gallery Specific Styles */
.section-title { text-align: center; font-size: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: 40px; color: var(--primary-color); position: relative; padding-bottom: 15px; }
.section-title::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 80px; height: 4px; background-color: var(--primary-color); border-radius: 2px; }
.news-hero { height: 50vh; min-height: 300px; background-size: cover; background-position: center; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; color: white; position: relative; padding: 20px; }
.news-hero::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(51, 102, 153, 0.7); }
.news-hero .container { position: relative; z-index: 2; }
.news-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 15px; }
.news-hero p { font-size: clamp(1rem, 2.5vw, 1.3rem); }
.news-section { padding: 80px 0; background-color: var(--background-light); }
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.news-card { background: #fff; border-radius: var(--border-radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.3s, box-shadow 0.3s; }
.news-card:hover { transform: translateY(-5px); box-shadow: 0 8px 16px rgba(0,0,0,0.15); }
.news-card-img { width: 100%; height: 200px; object-fit: cover; }
.news-card-content { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; }
.news-card-content h3 { color: var(--primary-color); margin-bottom: 10px; font-size: 1.3rem; }
.news-card-meta { font-size: 0.9rem; color: #777; margin-bottom: 15px; }
.news-card-summary { margin-bottom: 20px; flex-grow: 1; }
.news-card-content .button { margin-top: auto; align-self: flex-start; }
.gallery-section { padding: 80px 0; background-color: #fff; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.gallery-item { border-radius: var(--border-radius); overflow: hidden; box-shadow: var(--shadow); cursor: pointer; position: relative; }
.gallery-item img { width: 100%; height: 250px; object-fit: cover; display: block; transition: transform 0.4s; }
.gallery-item:hover img { transform: scale(1.1); }
.lightbox { display: none; position: fixed; z-index: 2000; padding-top: 60px; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(0, 0, 0, 0.9); }
.lightbox-content { margin: auto; display: block; max-width: 90%; max-height: 80vh; }
.lightbox-close { position: absolute; top: 15px; right: 35px; color: #f1f1f1; font-size: 40px; font-weight: bold; transition: 0.3s; cursor: pointer; }
#lightbox-caption { text-align: center; color: #ccc; padding: 10px 0; height: 50px; }
.post-section { padding: 80px 0; }
.post-content { max-width: 800px; margin: 0 auto 40px auto; }
.post-content h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); color: var(--primary-color); margin-bottom: 15px; }
.post-meta { font-size: 1rem; color: #666; margin-bottom: 30px; border-bottom: 1px solid #eee; padding-bottom: 15px; }
.post-main-image { width: 100%; height: auto; max-height: 400px; object-fit: cover; border-radius: var(--border-radius); margin-bottom: 30px; }
.post-body p { margin-bottom: 20px; font-size: 1.1rem; line-height: 1.8; }
.post-body h2 { color: var(--secondary-color); margin-top: 40px; margin-bottom: 15px; }
.post-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 15px; margin-top: 40px; }
.post-gallery h3 { grid-column: 1 / -1; color: var(--primary-color); }
.post-gallery img { width: 100%; border-radius: var(--border-radius); box-shadow: var(--shadow); }
.back-button { display: inline-flex; align-items: center; gap: 8px; }

@media (max-width: 768px) {
    .mobile-menu-toggle { display: block; position: absolute; top: 15px; right: 20px; }
    .nav-list { display: none; flex-direction: column; width: 100%; margin-top: 15px; background: var(--secondary-color); position: absolute; top: 60px; left: 0; }
    .nav-list.active { display: flex; }
    .nav-list li { margin: 10px 0; text-align: center; }
    .footer-container{text-align:center; padding-left: auto; padding-right: auto;} 
    .footer-menu a {text-align:center;}
    footer{padding-left: 30%; padding-right:30%;}
}