:root {
  --bg: #f7f6f2;
  --bg-elevated: #ffffff;
  --text: #171717;
  --text-muted: #52525b;
  --border: rgba(23, 23, 23, 0.1);
  --gold: #ac9124;
  --gold-bright: #c4a93a;
  --gold-deep: #8b7519;
  --radius: 14px;
  --font: "Manrope", "Segoe UI", sans-serif;
  --display: "Outfit", "Manrope", sans-serif;
  --container: 1120px;
  --narrow: 760px;
  --shadow: 0 18px 40px rgba(23, 23, 23, 0.08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(196, 169, 58, 0.18), transparent 60%),
    linear-gradient(180deg, #fbfaf6 0%, var(--bg) 40%, #f3f1ea 100%);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-deep); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--gold); }
.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }
.container.narrow { width: min(100% - 2rem, var(--narrow)); }
.skip-link {
  position: absolute; left: -999px; top: 0; background: #000; color: #fff; padding: .75rem 1rem; z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.site-header {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(10px);
  background: rgba(247, 246, 242, 0.9);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 72px; gap: 1rem;
}
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--text); }
.brand span {
  font-family: var(--display); font-weight: 700; font-size: .95rem;
  letter-spacing: .04em; text-transform: uppercase; color: var(--gold-deep);
}
.nav { display: flex; align-items: center; gap: 1rem; }
.nav a { text-decoration: none; color: var(--text); font-weight: 600; font-size: .95rem; }
.btn-wa {
  background: #25d366; color: #fff !important; border-radius: 999px;
  padding: .55rem 1rem; font-weight: 700;
}

.hero-blog { padding: 3.5rem 0 2rem; }
.eyebrow {
  display: inline-block; margin: 0 0 .75rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--gold-deep);
}
.hero-blog h1, .article-header h1 {
  font-family: var(--display); font-weight: 700; line-height: 1.15;
  margin: 0 0 1rem; font-size: clamp(2rem, 4vw, 3rem);
}
.lead { font-size: 1.1rem; color: var(--text-muted); max-width: 42rem; }

.section { padding: 1.5rem 0 4rem; }
.post-grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.post-card {
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.post-card-media { display: block; aspect-ratio: 16/10; overflow: hidden; background: #eceae3; }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; }
.post-card-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, #ebe7da, #d9d1b5); }
.post-card-body { padding: 1.15rem 1.2rem 1.35rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.post-card-body time, .article-meta { color: var(--text-muted); font-size: .88rem; }
.post-card-body h2, .post-card-body h3 { font-family: var(--display); margin: 0; font-size: 1.2rem; line-height: 1.3; }
.post-card-body h2 a, .post-card-body h3 a { color: var(--text); text-decoration: none; }
.post-card-body p { margin: 0; color: var(--text-muted); flex: 1; }
.read-more { font-weight: 700; text-decoration: none; margin-top: .35rem; }

.pagination {
  display: flex; justify-content: center; align-items: center; gap: 1rem;
  margin-top: 2rem; font-weight: 600;
}

.article-header { padding: 2.5rem 0 1rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0 0 1rem; color: var(--text-muted); font-size: .9rem; }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: .4rem; color: #a1a1aa; }
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1rem; }
.tag {
  display: inline-block; padding: .25rem .6rem; border-radius: 999px;
  background: rgba(172, 145, 36, 0.12); color: var(--gold-deep);
  font-size: .78rem; font-weight: 700;
}
.article-meta { display: flex; gap: 1rem; flex-wrap: wrap; }
.article-cover {
  margin: 0 0 2rem; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow);
}
.article-cover img { width: 100%; max-height: 480px; object-fit: cover; }
.article-body { font-size: 1.05rem; padding-bottom: 3rem; }
.article-body h2, .article-body h3 {
  font-family: var(--display); line-height: 1.25; margin: 2rem 0 .85rem;
}
.article-body p, .article-body ul, .article-body ol { margin: 0 0 1.1rem; }
.article-body img {
  border-radius: 10px; margin: 1.25rem auto; border: 1px solid var(--border);
}
.article-body a { font-weight: 600; }
.article-body blockquote {
  margin: 1.5rem 0; padding: .85rem 1.1rem;
  border-left: 4px solid var(--gold); background: rgba(172, 145, 36, 0.08);
  color: var(--text-muted);
}

.related h2 { font-family: var(--display); margin: 0 0 1.25rem; }
.empty { color: var(--text-muted); }

.site-footer {
  border-top: 1px solid var(--border); background: #111113; color: #d4d4d8;
  padding: 2.5rem 0 1.25rem; margin-top: 2rem;
}
.site-footer a { color: #f4f4f5; }
.footer-grid {
  display: grid; gap: 1.5rem; grid-template-columns: 1.2fr 1fr; margin-bottom: 1.5rem;
}
.footer-heading { font-family: var(--display); font-size: 1rem; margin: 0 0 .75rem; color: #fff; }
.footer-copy { border-top: 1px solid rgba(255,255,255,.08); padding-top: 1rem; font-size: .85rem; color: #a1a1aa; }

@media (max-width: 720px) {
  .nav a:not(.btn-wa) { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-blog { padding-top: 2rem; }
}
