:root {
    --primary-color: #2563eb;
    --secondary-color: #f8fafc;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-main);
    background-color: var(--secondary-color);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
a { text-decoration: none; color: var(--primary-color); }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* Navbar */
.site-header { background: #fff; border-bottom: 1px solid var(--border-color); padding: 15px 0; }
.navbar .container { display: flex; justify-content: space-between; align-items: center; }
.navbar-brand { font-size: 24px; font-weight: bold; color: var(--text-main); }
.highlight { color: var(--primary-color); }

.search-form-mini { display: flex; }
.search-form-mini input { padding: 8px 12px; border: 1px solid var(--border-color); border-radius: 4px 0 0 4px; outline: none; }
.search-form-mini button { padding: 8px 12px; border: 1px solid var(--border-color); border-left: none; background: #f1f5f9; border-radius: 0 4px 4px 0; cursor: pointer; }

/* Hero */
.hero { background: #fff; padding: 80px 0; text-align: center; border-bottom: 1px solid var(--border-color); }
.hero-title { font-size: 42px; margin-bottom: 15px; }
.hero-subtitle { font-size: 18px; color: var(--text-muted); max-width: 700px; margin: 0 auto; }

/* Grid */
.section { padding: 50px 0; flex: 1; }
.section-header h2 { margin-bottom: 30px; font-size: 28px; }
.artikel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 25px; }
.artikel-card { background: #fff; border: 1px solid var(--border-color); border-radius: 8px; padding: 25px; transition: transform 0.2s, box-shadow 0.2s; }
.artikel-card:hover { transform: translateY(-4px); box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }
.badge-provinsi { display: inline-block; background: #e0f2fe; color: #0369a1; padding: 5px 10px; border-radius: 4px; font-size: 12px; font-weight: 600; margin-bottom: 12px; }
.artikel-date { font-size: 12px; color: var(--text-muted); float: right; margin-top: 5px; }
.artikel-title { font-size: 19px; margin-bottom: 12px; line-height: 1.4; }
.artikel-title a { color: var(--text-main); }
.artikel-title a:hover { color: var(--primary-color); }
.artikel-excerpt { font-size: 14px; color: var(--text-muted); }
.btn-read { display: inline-block; margin-top: 20px; font-weight: 600; color: var(--primary-color); }

/* Detail Page */
.detail-content { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-bottom: 50px; }
.card { background: #fff; border: 1px solid var(--border-color); border-radius: 8px; padding: 30px; }
.card h2 { margin-bottom: 25px; font-size: 22px; border-bottom: 2px solid var(--secondary-color); padding-bottom: 15px; }
.btn-apply { display: inline-block; background: var(--primary-color); color: #fff; padding: 12px 24px; border-radius: 6px; font-weight: bold; text-align: center; transition: background 0.2s; }
.btn-apply:hover { background: #1d4ed8; }
.ai-tips { background: #f0fdf4; border-color: #bbf7d0; }
.ai-tips h2 { color: #166534; border-bottom-color: #dcfce7; }
.ai-generated ul { margin-left: 20px; margin-bottom: 15px; }
.ai-generated li { margin-bottom: 8px; }
.ai-generated p { margin-bottom: 15px; }
.ai-generated strong { color: #15803d; }

@media (max-width: 768px) {
    .detail-content { grid-template-columns: 1fr; }
}

/* Footer */
.site-footer { background: #fff; padding: 30px 0; text-align: center; border-top: 1px solid var(--border-color); color: var(--text-muted); font-size: 14px; }
