/* News Site — Auto-generated by Engine Berita */
:root {
    --bg: #f4f6f9; --bg-card: #ffffff; --text: #1a1a2e; --text-2: #555770;
    --text-muted: #8b8da3; --accent: #2563eb; --accent-dark: #1d4ed8;
    --border: #e2e4e9; --shadow: 0 2px 8px rgba(0,0,0,0.06);
    --radius: 12px; --font: 'Inter', -apple-system, sans-serif;
}
@media (prefers-color-scheme: dark) {
    :root {
        --bg: #0f1117; --bg-card: #1e1f2b; --text: #e4e6f0; --text-2: #a0a3b5;
        --text-muted: #6b6e80; --accent: #60a5fa; --accent-dark: #93c5fd;
        --border: #2d2e3d; --shadow: 0 2px 8px rgba(0,0,0,0.3);
    }
}
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font); background: var(--bg); color: var(--text);
    line-height: 1.7; min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 900px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
    background: var(--bg-card); border-bottom: 1px solid var(--border);
    position: sticky; top: 0; z-index: 100; backdrop-filter: blur(12px);
}
.site-header .container {
    display: flex; align-items: center; justify-content: space-between;
    padding-top: 14px; padding-bottom: 14px;
}
.logo { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 1.2rem; }
.logo-icon { font-size: 1.4rem; }
.logo-text {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.nav-links { display: flex; gap: 20px; }
.nav-links a { color: var(--text-2); font-size: 0.9rem; font-weight: 500; text-decoration: none; }
.nav-links a:hover { color: var(--accent); }

/* Hero */
.hero {
    text-align: center; padding: 48px 0 32px;
    animation: fadeIn 0.6s ease-out;
}
.hero h1 {
    font-size: 2.2rem; font-weight: 700; line-height: 1.25; margin-bottom: 12px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-subtitle { font-size: 1.05rem; color: var(--text-2); max-width: 600px; margin: 0 auto; }

/* Article Grid */
.article-grid {
    display: grid; grid-template-columns: 1fr; gap: 20px;
    padding-bottom: 48px;
}
.article-card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 24px; box-shadow: var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.article-card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.1); }
.article-card h2 { font-size: 1.2rem; margin-bottom: 8px; line-height: 1.4; }
.article-card h2 a { color: var(--text); }
.article-card h2 a:hover { color: var(--accent); text-decoration: none; }
.article-card .meta { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 10px; }
.article-card .excerpt { color: var(--text-2); font-size: 0.95rem; line-height: 1.6; }
.read-more {
    display: inline-block; margin-top: 12px; font-weight: 600; font-size: 0.9rem;
    color: var(--accent);
}
.read-more:hover { text-decoration: underline; }

/* Article Page */
.article-container {
    max-width: 760px; margin: 0 auto; background: var(--bg-card);
    padding: 40px; border-radius: var(--radius); box-shadow: var(--shadow);
    margin-bottom: 40px;
}
.article-header { margin-bottom: 28px; }
.article-header h1 { font-size: 2rem; line-height: 1.3; margin-bottom: 8px; color: var(--text); }
.article-meta { color: var(--text-muted); font-size: 0.88rem; }
.article-content { font-size: 1.05rem; line-height: 1.8; color: var(--text-2); }
.article-content h2 { margin-top: 32px; margin-bottom: 14px; color: var(--text); font-size: 1.5rem; }
.article-content h3 { margin-top: 24px; margin-bottom: 10px; color: var(--text); font-size: 1.2rem; }
.article-content p { margin-bottom: 18px; }
.article-content ul, .article-content ol { margin-bottom: 18px; padding-left: 24px; }
.article-content li { margin-bottom: 6px; }
.article-content strong { color: var(--text); }
.article-content a { color: var(--accent); }
.article-content a:hover { text-decoration: underline; }
.back-link { display: inline-block; margin-bottom: 20px; font-weight: 600; color: var(--accent); }

/* Footer */
.site-footer {
    text-align: center; padding: 24px 20px; border-top: 1px solid var(--border); margin-top: 24px;
}
.site-footer p { font-size: 0.82rem; color: var(--text-muted); }
.footer-links { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 10px; }
.footer-links a { font-size: 0.82rem; color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }

/* Ad container */
.ad-slot { max-width: 900px; margin: 16px auto; padding: 0 20px; text-align: center; overflow: hidden; }

@keyframes fadeIn { from { opacity:0; transform:translateY(16px); } to { opacity:1; transform:translateY(0); } }
@media (max-width: 640px) {
    .hero h1 { font-size: 1.6rem; }
    .article-container { padding: 20px; }
    .article-content { font-size: 0.98rem; }
    .nav-links { gap: 12px; }
    .nav-links a { font-size: 0.8rem; }
}
