/* ========================================
   Explore Emas Blog — Page styles
   (listing, hero header, artikel/prose, breadcrumb, related)
   Mewarisi token dari 01-base.css; melengkapi nav.css.
   ======================================== */

/* ============== HEADER / HERO (dalam frame) ============== */
.site-hero {
  position: relative;
  padding: 40px 28px 72px;
  text-align: center;
  overflow: hidden;
}
.site-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(194, 143, 43, 0.1) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(232, 200, 106, 0.08) 0%, transparent 50%);
  z-index: 0;
}
.site-hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
}
.site-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 100px;
  background: var(--gold-glow);
  border: 1px solid var(--line-gold);
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 22px;
}
.site-hero h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(34px, 6vw, 56px);
  line-height: 1.08;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 18px;
}
.site-hero h1 em {
  font-style: normal;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.site-hero p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink-secondary);
  max-width: 620px;
  margin: 0 auto;
}

/* ============== LISTING (kartu artikel) ============== */
.site-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 64px 28px 40px;
}
.site-section-head {
  text-align: center;
  margin-bottom: 40px;
}
.site-section-head h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 10px;
}
.site-section-head p {
  color: var(--muted);
  font-size: 16px;
  margin: 0;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}
.post-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease, border-color 0.3s ease;
  text-decoration: none;
  color: inherit;
}
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--line-gold);
}
.post-card-cover {
  aspect-ratio: 16 / 9;
  background: var(--gold-gradient-soft);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.post-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.post-card-cover .cover-icon {
  font-size: 46px;
  color: var(--gold);
  opacity: 0.55;
}
.post-card-body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.post-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 12px;
}
.post-card-meta .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--muted);
}
.post-card h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 23px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 10px;
}
.post-card p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-secondary);
  margin: 0 0 18px;
  flex: 1;
}
.post-card-more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--gold-dark);
  font-weight: 600;
  font-size: 14px;
}
.post-card:hover .post-card-more {
  gap: 11px;
}

/* ============== ARTIKEL (single) ============== */
.article-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 28px 40px;
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 26px;
}
.breadcrumb a {
  color: var(--gold-dark);
  text-decoration: none;
}
.breadcrumb a:hover {
  text-decoration: underline;
}
.breadcrumb .sep {
  opacity: 0.5;
}

.article-header {
  margin-bottom: 30px;
}
.article-header h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.12;
  font-weight: 700;
  color: var(--ink);
  margin: 14px 0 16px;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  font-size: 13.5px;
  color: var(--muted);
}
.article-meta .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--muted);
}
.article-cover {
  aspect-ratio: 16 / 8;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--gold-gradient-soft);
  margin-bottom: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-cover .cover-icon {
  font-size: 64px;
  color: var(--gold);
  opacity: 0.5;
}

/* Prose */
.prose {
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink-secondary);
}
.prose > *:first-child {
  margin-top: 0;
}
.prose h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 30px;
  font-weight: 700;
  color: var(--ink);
  margin: 42px 0 16px;
  line-height: 1.25;
}
.prose h3 {
  font-size: 21px;
  font-weight: 700;
  color: var(--ink);
  margin: 32px 0 12px;
}
.prose p {
  margin: 0 0 20px;
}
.prose a {
  color: var(--gold-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.prose a:hover {
  color: var(--gold);
}
.prose ul,
.prose ol {
  margin: 0 0 22px;
  padding-left: 24px;
}
.prose li {
  margin-bottom: 9px;
}
.prose ul li::marker {
  color: var(--gold);
}
.prose strong {
  color: var(--ink);
  font-weight: 700;
}
.prose blockquote {
  margin: 26px 0;
  padding: 18px 24px;
  border-left: 4px solid var(--gold);
  background: var(--wash-warm);
  border-radius: var(--radius);
  color: var(--ink);
  font-style: italic;
}
.prose img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  margin: 26px 0;
}
.prose code {
  background: var(--wash);
  padding: 2px 7px;
  border-radius: var(--radius-sm);
  font-size: 0.9em;
  color: var(--brown);
}
.prose hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 40px 0;
}

/* CTA di dalam artikel -> toko */
.article-cta {
  margin: 44px 0 8px;
  padding: 32px 30px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse at 10% 0%, rgba(232, 200, 106, 0.18), transparent 60%),
    var(--gold-gradient);
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow-xl);
}
.article-cta h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 26px;
  margin: 0 0 10px;
  color: #fff;
}
.article-cta p {
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
}
.article-cta .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 28px;
  border-radius: 100px;
  background: #fff;
  color: var(--gold-dark);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.25s var(--ease-spring);
}
.article-cta .btn-primary:hover {
  transform: translateY(-2px) scale(1.03);
}

/* Related posts */
.related {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 28px 72px;
}
.related h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
  text-align: center;
  margin: 0 0 30px;
}

/* Empty state (listing kosong) */
.post-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
}

/* Back to top / share row */
.article-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.article-foot a {
  color: var(--gold-dark);
  text-decoration: none;
  font-weight: 600;
}

@media (max-width: 560px) {
  .site-main {
    padding: 44px 20px 30px;
  }
  .article-wrap {
    padding: 34px 20px 30px;
  }
  .prose {
    font-size: 16px;
  }
  .prose h2 {
    font-size: 26px;
  }
}
