* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 2rem 0;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.tagline {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Navigation */
.nav {
    background-color: #fff;
    border-bottom: 2px solid #e0e0e0;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.nav .container {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s;
}

.nav-link:hover,
.nav-link.active {
    background-color: #2a5298;
    color: white;
}

/* Main Content */
.main {
    min-height: calc(100vh - 300px);
    padding: 2rem 0;
}

/* Info Banner */
.info-banner {
    background: linear-gradient(135deg, #fff3cd 0%, #ffe69c 100%);
    border-left: 4px solid #ffc107;
    border-radius: 8px;
    padding: 1.2rem 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    color: #856404;
    font-size: 0.95rem;
    line-height: 1.6;
}

.info-banner strong {
    color: #856404;
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}

.info-banner strong::before {
    content: "⚠️ ";
    margin-right: 0.3rem;
}

/* Posts Grid */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.post-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.post-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background-color: #e0e0e0;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-video {
    width: 100%;
    background-color: #000;
    overflow: hidden;
}

.post-video video {
    width: 100%;
    max-height: 400px;
    display: block;
}

.post-content {
    padding: 1.5rem;
}

.post-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #1e3c72;
}

.post-date {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.post-text {
    color: #555;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.post-link {
    display: inline-block;
    background-color: #2a5298;
    color: white;
    padding: 0.7rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.post-link:hover {
    background-color: #1e3c72;
}

/* No Posts */
.no-posts {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.no-posts h2 {
    color: #1e3c72;
    margin-bottom: 1rem;
}

/* Footer */
.footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
}

/* Responsive */
@media (max-width: 768px) {
    .logo {
        font-size: 2rem;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .nav .container {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .info-banner {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .info-banner strong {
        font-size: 0.95rem;
    }
}

