* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #FF9900;
    --dark: #1a1a1a;
    --light: #f5f5f5;
    --text: #333;
    --text-light: #666;
    --border: #ddd;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--light);
}

/* Navigation */
.nav {
    background: white;
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    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: 700;
    color: var(--dark);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Hero */
.hero {
    background: var(--dark);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.25rem;
    color: #ddd;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.intro {
    margin-bottom: 3rem;
}

.intro h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* Article Grid */
.featured-articles h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--dark);
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.article-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: transform 0.2s, box-shadow 0.2s;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.article-card h3 {
    margin-bottom: 0.5rem;
}

.article-card h3 a {
    color: var(--dark);
    text-decoration: none;
    font-size: 1.25rem;
}

.article-card h3 a:hover {
    color: var(--primary);
}

.article-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Article Page */
.article-header {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.article-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.article-meta {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem 4rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.article-content h2 {
    font-size: 1.75rem;
    margin: 2rem 0 1rem;
    color: var(--dark);
}

.article-content h3 {
    font-size: 1.5rem;
    margin: 1.5rem 0 1rem;
    color: var(--text);
}

.article-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

.article-content a {
    color: var(--primary);
    text-decoration: none;
}

.article-content a:hover {
    text-decoration: underline;
}

.article-content strong {
    font-weight: 600;
}

.article-content em {
    font-style: italic;
    color: var(--text-light);
}

/* CTA */
.cta {
    text-align: center;
    margin: 3rem 0;
}

.btn {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 153, 0, 0.3);
}

/* Ad Units */
.ad-unit {
    margin: 3rem auto;
    padding: 2rem;
    background: #f9f9f9;
    border: 1px dashed var(--border);
    text-align: center;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

/* Footer */
.footer {
    background: var(--dark);
    color: white;
    padding: 2rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 1rem;
}

.footer-links a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--primary);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .article-grid {
        grid-template-columns: 1fr;
    }
}
