:root {
    --primary: #1a1a2e;
    --accent: #16a085;
    --accent-light: #1abc9c;
    --bg: #ffffff;
    --bg-light: #f8f9fa;
    --text: #333333;
    --text-light: #6c757d;
    --border: #e0e0e0;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text); background: var(--bg); line-height: 1.6;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.header {
    background: var(--primary); color: white; padding: 1rem 0;
    position: sticky; top: 0; z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.header-content {
    max-width: 1200px; margin: 0 auto; padding: 0 2rem;
    display: flex; justify-content: space-between; align-items: center;
}
.logo { font-size: 1.5rem; font-weight: 800; color: white; text-decoration: none; }
.logo span { color: var(--accent-light); }
.nav { display: flex; gap: 2rem; }
.nav a { color: rgba(255,255,255,0.85); text-decoration: none; font-size: 0.95rem; font-weight: 500; transition: color 0.3s; }
.nav a:hover { color: var(--accent-light); text-decoration: none; }
.main-wrapper {
    max-width: 1200px; margin: 0 auto; padding: 2rem;
    display: grid; grid-template-columns: 1fr 320px; gap: 2.5rem;
}
.page-header { background: var(--bg-light); padding: 3rem 2rem; text-align: center; margin-bottom: 2rem; }
.page-header h1 { font-size: 2.5rem; color: var(--primary); margin-bottom: 0.5rem; }
.page-header p { color: var(--text-light); font-size: 1.1rem; }
.featured { margin-bottom: 2rem; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.featured-image { height: 400px; display: flex; align-items: center; justify-content: center; font-size: 5rem; }
.featured-content { padding: 1.5rem 2rem; background: white; }
.category { color: var(--accent); font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.featured-content h2 { font-size: 1.75rem; margin: 0.5rem 0; }
.featured-content h2 a { color: var(--primary); text-decoration: none; }
.featured-content h2 a:hover { color: var(--accent); }
.meta { color: var(--text-light); font-size: 0.9rem; margin-bottom: 0.75rem; }
.featured-content p { color: var(--text-light); }
.article-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.article-card { border-radius: 10px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.06); transition: transform 0.3s, box-shadow 0.3s; background: white; }
.article-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.article-card .image { height: 200px; display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.article-card .content { padding: 1.25rem; }
.article-card h3 { font-size: 1.15rem; margin: 0.5rem 0; }
.article-card h3 a { color: var(--primary); text-decoration: none; }
.article-card h3 a:hover { color: var(--accent); }
.article-full { background: white; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.article-full .article-hero { height: 300px; display: flex; align-items: center; justify-content: center; font-size: 5rem; }
.article-full .article-content { padding: 2rem; }
.article-full h1 { font-size: 2rem; margin-bottom: 0.5rem; color: var(--primary); }
.article-full .meta { margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border); }
.article-body p { margin-bottom: 1rem; line-height: 1.8; color: var(--text); }
.article-body h2 { font-size: 1.4rem; margin: 1.5rem 0 0.75rem; color: var(--primary); }
.article-body ul, .article-body ol { margin: 1rem 0 1rem 2rem; }
.article-body li { margin-bottom: 0.5rem; line-height: 1.8; }
.article-body blockquote { border-left: 4px solid var(--accent); padding: 1rem 1.5rem; margin: 1.5rem 0; background: var(--bg-light); border-radius: 0 8px 8px 0; color: var(--text-light); }
.back-link { display: inline-block; margin-top: 1.5rem; color: var(--accent); font-weight: 500; }
.simple-page { background: white; border-radius: 12px; padding: 2.5rem; box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.simple-page h1 { font-size: 2rem; margin-bottom: 1rem; color: var(--primary); }
.simple-page p { margin-bottom: 1rem; line-height: 1.8; color: var(--text); }
.simple-page h2 { font-size: 1.3rem; margin: 1.5rem 0 0.75rem; color: var(--primary); }
.simple-page ul, .simple-page ol { margin: 1rem 0 1rem 2rem; }
.simple-page li { margin-bottom: 0.5rem; line-height: 1.8; }
.contact-form { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; }
.contact-form input, .contact-form textarea { padding: 0.75rem; border: 1px solid var(--border); border-radius: 6px; font-size: 1rem; font-family: inherit; }
.contact-form textarea { min-height: 150px; resize: vertical; }
.contact-form button { padding: 0.75rem 2rem; background: var(--accent); color: white; border: none; border-radius: 6px; font-size: 1rem; font-weight: 600; cursor: pointer; transition: background 0.3s; align-self: flex-start; }
.contact-form button:hover { background: var(--accent-light); }
.sidebar { display: flex; flex-direction: column; gap: 2rem; }
.widget { background: var(--bg-light); border-radius: 10px; padding: 1.5rem; }
.widget h3 { font-size: 1.1rem; margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--accent); color: var(--primary); }
.widget.about p { font-size: 0.9rem; color: var(--text-light); }
.widget.categories ul { list-style: none; }
.widget.categories li { padding: 0.5rem 0; border-bottom: 1px solid var(--border); }
.widget.categories li:last-child { border-bottom: none; }
.widget.categories a { color: var(--text); text-decoration: none; font-size: 0.9rem; display: flex; justify-content: space-between; }
.widget.categories a:hover { color: var(--accent); }
.widget.popular-posts .post { display: flex; gap: 1rem; margin-bottom: 1rem; }
.widget.popular-posts .post:last-child { margin-bottom: 0; }
.widget.popular-posts .thumb { width: 60px; height: 60px; border-radius: 8px; flex-shrink: 0; }
.widget.popular-posts .info h4 { font-size: 0.85rem; margin-bottom: 0.25rem; }
.widget.popular-posts .info h4 a { color: var(--text); text-decoration: none; }
.widget.popular-posts .info h4 a:hover { color: var(--accent); }
.widget.popular-posts .info .date { font-size: 0.75rem; color: var(--text-light); }
.widget.newsletter input { width: 100%; padding: 0.75rem; border: 1px solid var(--border); border-radius: 6px; font-size: 0.9rem; margin-bottom: 0.75rem; }
.widget.newsletter button { width: 100%; padding: 0.75rem; background: var(--accent); color: white; border: none; border-radius: 6px; font-size: 0.9rem; font-weight: 600; cursor: pointer; transition: background 0.3s; }
.widget.newsletter button:hover { background: var(--accent-light); }
.footer { background: var(--primary); color: rgba(255,255,255,0.7); padding: 2rem 0; margin-top: 3rem; }
.footer-content { max-width: 1200px; margin: 0 auto; padding: 0 2rem; text-align: center; }
.footer-links { display: flex; justify-content: center; gap: 2rem; margin-bottom: 1rem; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.9rem; }
.footer-links a:hover { color: var(--accent-light); }
.footer-copyright { font-size: 0.85rem; }
@media (max-width: 900px) {
    .main-wrapper { grid-template-columns: 1fr; }
    .article-grid { grid-template-columns: 1fr; }
    .nav { display: none; }
    .featured-image { height: 250px; }
}