
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap');
body { font-family: 'Roboto', sans-serif; margin: 0; line-height: 1.6; background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%); color: #333; overflow-x: hidden; }
header.hero { background: linear-gradient(rgba(0,177,64,0.8), rgba(0,122,51,0.8)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="%23f5f7fa"><polygon points="0,100 0,0 1000,100"/></svg>'); background-size: cover; background-position: center; text-align: center; padding: 80px 20px; color: white; position: relative; }
header.hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: inherit; filter: blur(2px); z-index: -1; }
h1 { font-size: 3em; margin: 0 0 10px; font-weight: 700; text-shadow: 2px 2px 4px rgba(0,0,0,0.3); }
.hero p { font-size: 1.2em; margin: 0 0 30px; opacity: 0.95; }
.search-bar { max-width: 600px; margin: 0 auto 40px; display: flex; background: white; border-radius: 50px; padding: 5px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
.search-bar input { flex: 1; border: none; padding: 15px 20px; font-size: 1em; border-radius: 50px; outline: none; }
.search-bar button { background: #00b140; color: white; border: none; padding: 15px 25px; border-radius: 50px; cursor: pointer; font-weight: 500; transition: background 0.3s; }
.search-bar button:hover { background: #007a33; }
.posts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 25px; max-width: 1200px; margin: 0 auto; padding: 0 20px 40px; }
.post-card { background: white; border-radius: 15px; padding: 20px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); transition: all 0.3s ease; overflow: hidden; }
.post-card:hover { transform: translateY(-8px) scale(1.02); box-shadow: 0 12px 30px rgba(0,0,0,0.15); }
.post-card h3 { color: #007a33; margin: 0 0 10px; font-size: 1.1em; }
.post-card p { color: #666; font-size: 0.9em; margin: 0 0 15px; }
.post-card .timestamp { font-size: 0.8em; color: #999; margin-bottom: 10px; }
.media-preview { width: 100%; height: 200px; background: #f0f0f0; border-radius: 8px; margin-bottom: 10px; overflow: hidden; }
.media-preview img, .media-preview video { width: 100%; height: 100%; object-fit: cover; }
.read-more { display: inline-block; background: linear-gradient(135deg, #00b140, #007a33); color: white; padding: 8px 16px; border-radius: 20px; text-decoration: none; font-weight: 500; transition: transform 0.3s; }
.read-more:hover { transform: scale(1.05); text-decoration: none; color: white; }
footer { text-align: center; margin-top: 60px; padding: 30px; background: #007a33; color: white; font-size: 0.9em; }
@media (max-width: 768px) { h1 { font-size: 2em; } .posts-grid { grid-template-columns: 1fr; padding: 0 10px; } .search-bar { flex-direction: column; border-radius: 10px; } .search-bar input { border-radius: 10px 10px 0 0; margin-bottom: 5px; } .search-bar button { border-radius: 0 0 10px 10px; } }
@media (prefers-color-scheme: dark) { body { background: #1a1a1a; color: #e1e1e1; } .post-card { background: #2a2a2a; } header.hero { background: linear-gradient(rgba(0,90,43,0.8), rgba(0,61,26,0.8)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="%231a1a1a"><polygon points="0,100 0,0 1000,100"/></svg>'); } footer { background: #003d1a; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.post-card { animation: fadeInUp 0.6s ease forwards; }
