:root {
    --primary: #2563eb;
    --secondary: #1e40af;
    --bg: #f3f4f6;
    --card: #ffffff;
    --text: #1f2937;
    --text-light: #6b7280;
    --border: #e5e7eb;
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Segoe UI', sans-serif; }
body { background: var(--bg); color: var(--text); line-height: 1.6; }
a { text-decoration: none; color: inherit; }

/* CONTAINER */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* NAVBAR */
.navbar { background: var(--card); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
.nav-wrapper { display: flex; justify-content: space-between; align-items: center; height: 60px; }
.brand { font-weight: 800; font-size: 1.2rem; color: var(--primary); }
.nav-links a { color: var(--text-light); font-weight: 600; font-size: 0.9rem; }

/* HERO */
.hero { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: white; padding: 60px 0; text-align: center; margin-bottom: 30px; }
.hero h1 { font-size: 2.5rem; margin-bottom: 10px; }
.hero p { opacity: 0.9; font-size: 1.1rem; }

/* LAYOUT */
.main-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 30px; margin-bottom: 40px; }
@media (max-width: 768px) { .main-layout { grid-template-columns: 1fr; } }

/* POSTS */
.section-title { margin-bottom: 20px; border-left: 4px solid var(--primary); padding-left: 10px; }
.grid-posts { display: grid; gap: 20px; }
.card-post { background: var(--card); border-radius: 10px; overflow: hidden; box-shadow: 0 2px 5px rgba(0,0,0,0.05); transition: transform 0.2s; border: 1px solid var(--border); display: flex; flex-direction: column; }
.card-post:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.thumb { height: 180px; width: 100%; object-fit: cover; background: #eee; }
.p-content { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.p-date { font-size: 0.8rem; color: var(--text-light); margin-bottom: 5px; }
.p-title { font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; color: var(--text); }
.p-excerpt { font-size: 0.9rem; color: var(--text-light); margin-bottom: 15px; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.btn-read { color: var(--primary); font-weight: 700; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.5px; }

/* SIDEBAR WIDGETS */
.widget { background: var(--card); padding: 20px; border-radius: 10px; margin-bottom: 20px; border: 1px solid var(--border); }
.widget.highlight { background: #fff7ed; border-color: #fdba74; } /* Warna Oranye lembut untuk donasi */
.widget h3 { font-size: 1.1rem; margin-bottom: 15px; display: flex; align-items: center; gap: 10px; }
.widget p { font-size: 0.9rem; color: var(--text-light); margin-bottom: 15px; }
.btn-widget { display: block; text-align: center; padding: 10px; border-radius: 6px; font-weight: 700; color: white; transition: opacity 0.2s; }
.btn-widget:hover { opacity: 0.9; }
.btn-tg { background: #0088cc; }
.btn-donate { background: #ea580c; box-shadow: 0 4px 10px rgba(234, 88, 12, 0.3); }
.contact-list { list-style: none; }
.contact-list li a { display: block; padding: 8px 0; color: var(--text); border-bottom: 1px solid var(--border); font-size: 0.9rem; }

/* FOOTER */
footer { background: #111827; color: #9ca3af; padding: 30px 0; text-align: center; font-size: 0.9rem; margin-top: auto; }

/* UTILS */
.hidden { display: none; }
.article-header { margin-bottom: 30px; text-align: center; }
.article-header h1 { font-size: 2rem; color: var(--text); margin: 10px 0; }
.featured-image { width: 100%; max-height: 400px; object-fit: cover; border-radius: 12px; margin-bottom: 30px; }
.markdown-body { font-size: 1.1rem; color: #374151; }
.markdown-body p { margin-bottom: 1.5em; }
.markdown-body img { max-width: 100%; border-radius: 8px; }
.share-box { margin-top: 40px; padding: 20px; background: var(--card); border: 1px solid var(--border); border-radius: 8px; display: flex; align-items: center; gap: 10px; }
.s-icon { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.2rem; }
.wa { background: #25D366; } .fb { background: #1877F2; } .tg { background: #0088cc; } .tw { background: #1DA1F2; }
