:root {
  --ink: #1a1530;
  --ink-soft: #4a4565;
  --ink-light: #7a7595;
  --paper: #fff9f0;
  --paper-card: #ffffff;
  --line: #f0e8d8;
  --coral: #ff6b6b;
  --coral-soft: #ffe5e5;
  --teal: #2dd4bf;
  --sun: #fbbf24;
  --sun-soft: #fef3c7;
  --berry: #c026d3;
  --leaf: #84cc16;
  --leaf-soft: #ecfccb;
  --shadow-sm: 0 2px 6px rgba(26, 21, 48, 0.06);
  --shadow-md: 0 8px 24px rgba(26, 21, 48, 0.10);
  --radius-md: 14px;
  --radius-lg: 24px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 {
  font-family: 'Fredoka', 'DM Sans', sans-serif;
  font-weight: 400;
  line-height: 1.15;
  color: var(--ink);
}
a { color: var(--coral); }
img { max-width: 100%; display: block; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  background: var(--ink);
  padding: 14px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}
.logo-img { height: 58px; width: auto; }
.nav { display: flex; gap: 24px; align-items: center; }
.nav a {
  color: rgba(255, 249, 240, 0.92);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}
.nav a:hover { color: var(--coral); }
.nav a.active { color: var(--sun); }

/* Blog-index */
.blog-hero {
  background: var(--ink);
  color: var(--paper);
  padding: 48px 0 64px;
}
.blog-hero h1 {
  color: var(--paper);
  font-size: clamp(2rem, 6vw, 3.2rem);
  margin-bottom: 12px;
}
.blog-hero h1 em { font-style: italic; color: var(--sun); }
.blog-hero p { color: rgba(255, 249, 240, 0.8); max-width: 620px; font-size: 1.1rem; }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 24px;
  padding: 48px 0 80px;
}
.blog-card {
  background: var(--paper-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog-card-photo { height: 190px; overflow: hidden; }
.blog-card-photo img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.blog-card h2 { font-size: 1.35rem; }
.blog-card .excerpt { font-size: 14.5px; color: var(--ink-soft); flex-grow: 1; }
.blog-card .meta { font-size: 12.5px; color: var(--ink-light); }

/* Artikel */
.post-hero { position: relative; height: 320px; overflow: hidden; background: var(--ink); }
.post-hero img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.post-header { max-width: 760px; margin: -80px auto 0; position: relative; padding: 0 20px; }
.post-header-card {
  background: var(--paper-card);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  box-shadow: var(--shadow-md);
}
.post-header h1 { font-size: clamp(1.7rem, 5vw, 2.6rem); margin-bottom: 10px; }
.post-header .meta { font-size: 13.5px; color: var(--ink-light); }
.post-body { max-width: 760px; margin: 0 auto; padding: 40px 20px 64px; }
.post-body > p, .post-body > ul, .post-body > ol { margin-bottom: 22px; color: var(--ink-soft); }
.post-body h2 { font-size: 1.7rem; margin: 40px 0 14px; }
.post-body h3 { font-size: 1.25rem; margin: 28px 0 10px; }
.post-body ul, .post-body ol { padding-left: 24px; }
.post-body li { margin-bottom: 8px; color: var(--ink-soft); }
.post-body strong { color: var(--ink); }
.post-body figure { margin: 28px 0; }
.post-body figure img { border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.post-body figcaption { font-size: 13px; color: var(--ink-light); margin-top: 8px; }

.rating-badge {
  display: inline-block;
  background: var(--sun-soft);
  color: #b45309;
  font-weight: 700;
  font-size: 13px;
  padding: 2px 10px;
  border-radius: 100px;
  white-space: nowrap;
}
.rating-badge.test {
  background: var(--leaf-soft);
  color: #4d7c0f;
}
.partner-note {
  font-size: 12.5px;
  color: var(--ink-light);
  font-style: italic;
}
.featured-box {
  background: linear-gradient(135deg, var(--sun-soft) 0%, #fffdf7 100%);
  border: 3px solid var(--sun);
  border-radius: var(--radius-lg);
  padding: 26px 30px;
  margin: 30px 0 36px;
  box-shadow: 0 8px 28px rgba(251, 191, 36, 0.2);
}
.featured-box .featured-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 12px;
}
.featured-box h2 { margin: 0 0 8px !important; font-size: 1.5rem; }
.featured-box p { color: var(--ink-soft); margin-bottom: 0; }
.featured-box .disclosure {
  display: block;
  margin-top: 12px;
  font-size: 12px;
  color: var(--ink-light);
  font-style: italic;
}
.tip-box {
  background: linear-gradient(135deg, var(--sun-soft) 0%, var(--coral-soft) 100%);
  border-left: 4px solid var(--coral);
  padding: 18px 22px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 26px 0;
  font-size: 15px;
  color: var(--ink-soft);
}
.tip-box strong { color: var(--ink); }

.post-cta {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  margin: 44px 0 0;
  text-align: center;
}
.post-cta h2 { color: var(--paper); margin: 0 0 8px; font-size: 1.5rem; }
.post-cta p { color: rgba(255, 249, 240, 0.8); margin-bottom: 20px; font-size: 15px; }
.post-cta a.button {
  display: inline-block;
  background: var(--coral);
  color: var(--paper);
  padding: 14px 32px;
  border-radius: 100px;
  font-weight: 600;
  text-decoration: none;
  font-size: 15px;
}
.post-cta a.button:hover { background: #ff5252; }

.breadcrumbs { font-size: 13px; color: var(--ink-light); padding: 18px 0 0; }
.breadcrumbs a { color: var(--ink-light); }
.breadcrumbs a:hover { color: var(--coral); }

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255, 249, 240, 0.7);
  padding: 40px 0;
  font-size: 14px;
}
.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-inner img { height: 48px; width: auto; }
.footer-inner a { color: rgba(255, 249, 240, 0.7); }
.footer-inner a:hover { color: var(--coral); }

@media (max-width: 640px) {
  .post-hero { height: 220px; }
  .post-header { margin-top: -50px; }
  .post-header-card { padding: 24px 22px; }
  .post-body { padding: 32px 20px 56px; }
  .blog-hero { padding: 36px 0 52px; }
  .logo-img { height: 46px; }
}
