/* Seri Jadi editorial system: readable buyer guides with useful visual hierarchy. */
body[data-page="blog"] {
  background: #fafaf8;
}

.guide-hero,
.post-hero,
.blog-hero {
  padding: 48px 0 44px;
  color: #fff;
  background: #19191d;
}

/* Match the global blog selectors so this later stylesheet owns the editorial theme. */
body[data-page="blog"] .blog-hero,
body[data-page="blog"] .post-hero {
  padding: 48px 0 44px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  background: #19191d;
  background-image: none;
}

body[data-page="blog"] .blog-hero h1,
body[data-page="blog"] .post-hero h1 {
  max-width: 850px;
  margin: 0 0 16px;
  font-size: 40px;
  line-height: 1.17;
  letter-spacing: 0;
}

body[data-page="blog"] .blog-hero p,
body[data-page="blog"] .post-hero .meta {
  max-width: 760px;
  color: rgba(255, 255, 255, .78);
  font-size: 17px;
  line-height: 1.6;
}

.guide-hero .container,
.post-hero .container,
.blog-hero .container {
  max-width: 1040px;
}

.guide-hero .breadcrumb,
.post-hero .breadcrumb,
.blog-hero .breadcrumb {
  margin-bottom: 24px;
  color: rgba(255, 255, 255, .62);
}

.guide-hero .eyebrow,
.post-hero .eyebrow,
.blog-hero .eyebrow {
  display: inline-block;
  width: auto;
  margin-bottom: 12px;
  padding: 0;
  color: #e2c99a;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.guide-hero h1,
.post-hero h1,
.blog-hero h1 {
  max-width: 850px;
  margin: 0 0 16px;
  color: #fff;
  font-size: 40px;
  line-height: 1.17;
  letter-spacing: 0;
}

.guide-deck,
.blog-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: 18px;
  line-height: 1.6;
}

.guide-meta,
.post-hero .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  max-width: none;
  margin-top: 18px;
  color: rgba(255, 255, 255, .64);
  font-size: 13px;
  line-height: 1.5;
}

.guide-meta span {
  position: relative;
}

.guide-meta span + span::before {
  position: absolute;
  left: -11px;
  content: "\00b7";
}

.guide-body {
  padding: 42px 0 84px;
  background: #fafaf8;
}

.guide-frame {
  max-width: 1040px;
}

.guide-image {
  max-width: 920px;
  margin: 0 auto 42px;
}

.guide-image img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  background: #efefe9;
  object-fit: cover;
}

.guide-image figcaption {
  max-width: 76ch;
  margin-top: 10px;
  color: #696963;
  font-size: 13px;
  line-height: 1.55;
}

.guide-layout {
  display: grid;
  grid-template-columns: minmax(180px, 220px) minmax(0, 700px);
  gap: 56px;
  justify-content: center;
  align-items: start;
}

.guide-sidebar {
  min-width: 0;
}

.guide-toc {
  position: sticky;
  top: 88px;
  padding: 16px 0;
  border-top: 2px solid #c9a96e;
  border-bottom: 1px solid #deded8;
}

.guide-toc > strong {
  display: block;
  margin-bottom: 10px;
  color: #19191d;
  font-size: 13px;
}

.guide-toc ol {
  display: grid;
  gap: 4px;
  list-style: none;
}

.guide-toc a {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 7px;
  padding: 5px 0;
  color: #555550;
  font-size: 12px;
  line-height: 1.4;
}

.guide-toc a:hover {
  color: #5b45be;
}

.guide-toc a span {
  color: #9b824f;
  font-variant-numeric: tabular-nums;
}

.guide-content {
  min-width: 0;
}

.guide-intro {
  margin-bottom: 26px;
}

.guide-intro p:first-child {
  color: #20201d;
  font-size: 20px;
  line-height: 1.6;
}

.guide-intro p,
.guide-section p,
.guide-section li,
.direct-answer p,
.guide-takeaways li {
  color: #33332f;
  font-size: 17px;
  line-height: 1.72;
}

.guide-intro p,
.guide-section p {
  margin: 0 0 16px;
}

.direct-answer {
  margin: 0 0 28px;
  padding: 20px 22px;
  border-left: 4px solid #1d9e75;
  background: #edf7f2;
}

.direct-answer strong {
  display: block;
  margin-bottom: 7px;
  color: #12694f;
  font-size: 13px;
  text-transform: uppercase;
}

.direct-answer p {
  margin: 0;
}

.guide-takeaways {
  margin: 0 0 36px;
  padding: 22px 24px;
  border: 1px solid #eadcbd;
  border-radius: 6px;
  background: #fff8e9;
}

.guide-takeaways h2 {
  margin: 0 0 10px;
  color: #19191d;
  font-size: 18px;
  letter-spacing: 0;
}

.guide-takeaways ul,
.guide-section ul,
.guide-section ol {
  display: grid;
  gap: 8px;
  padding-left: 22px;
}

.guide-takeaways ul,
.guide-section ul {
  list-style: disc;
}

.guide-section ol {
  list-style: decimal;
}

.guide-section {
  scroll-margin-top: 90px;
  margin-top: 40px;
  padding-top: 38px;
  border-top: 1px solid #e2e2dc;
}

.guide-section h2 {
  margin: 0 0 16px;
  color: #19191d;
  font-size: 25px;
  line-height: 1.28;
  letter-spacing: 0;
}

.guide-section.guide-numbered h2 {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 8px;
}

.guide-section.guide-numbered h2 > span {
  padding-top: 5px;
  color: #9b824f;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.faq-list details {
  padding: 16px 0;
  border-bottom: 1px solid #deded8;
}

.faq-list summary {
  color: #20201d;
  font-weight: 700;
  cursor: pointer;
}

.faq-list details p {
  margin: 10px 0 0;
}

.guide-sources ol {
  gap: 10px;
}

.guide-sources a,
.related-links a {
  color: #5b45be;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.guide-cta {
  margin-top: 44px;
  padding: 26px;
  color: #fff;
  border-radius: 6px;
  background: #20201f;
}

.guide-cta > strong {
  color: #e2c99a;
  font-size: 20px;
}

.guide-cta p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, .8);
  font-size: 16px;
  line-height: 1.65;
}

.guide-cta a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-top: 16px;
  padding: 10px 17px;
  color: #fff;
  font-weight: 800;
  border-radius: 6px;
  background: #0f7a43;
}

.blog-list-wrap {
  padding: 52px 0 90px;
  background: #f7f7f4;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 1040px !important;
}

.blog-card {
  display: grid;
  min-width: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  border: 1px solid #dfdfd8;
  border-radius: 6px;
  background: #fff;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.blog-card:hover {
  transform: translateY(-2px);
  border-color: #c9a96e;
  box-shadow: 0 10px 26px rgba(31, 31, 28, .08);
}

.blog-card:first-child {
  grid-column: 1 / -1;
  grid-template-columns: minmax(280px, .9fr) minmax(0, 1.1fr);
}

.blog-card-media {
  display: block;
  min-height: 210px;
  overflow: hidden;
  background: #ecece7;
}

.blog-card-media img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform .25s ease;
}

.blog-card:hover .blog-card-media img {
  transform: scale(1.02);
}

.blog-card-copy {
  min-width: 0;
  padding: 24px;
}

.blog-card:first-child .blog-card-copy {
  align-self: center;
  padding: 30px;
}

.blog-meta {
  margin: 0 0 9px;
  color: #6b6b66;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.blog-meta .cat {
  color: #8b6d31;
}

.blog-card h2 {
  margin: 0 0 9px;
  color: #19191d;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: 0;
}

.blog-card p {
  margin: 0 0 14px;
  color: #555550;
  font-size: 15px;
  line-height: 1.65;
}

.blog-card .read-more {
  color: #5b45be;
  font-size: 14px;
  font-weight: 800;
}

body[data-page="blog"] .blog-list-wrap {
  padding: 52px 0 90px;
  background: #f7f7f4;
}

body[data-page="blog"] .blog-card {
  padding: 0;
  border: 1px solid #dfdfd8;
  background: #fff;
}

body[data-page="blog"] .blog-card h2 {
  color: #19191d;
  letter-spacing: 0;
}

/* Older hand-written guides keep their natural voice and gain the same reading width. */
.post-body {
  padding: 46px 0 80px;
  background: #fafaf8;
}

.post-body .container {
  max-width: 760px;
}

.post-body p,
.post-body li {
  color: #33332f;
  line-height: 1.72;
}

.post-body h2,
.post-body h3 {
  color: #19191d;
  letter-spacing: 0;
}

.post-body table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
}

.post-body .cta-box {
  border-radius: 6px;
  background: #20201f;
}

@media (max-width: 820px) {
  .guide-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .guide-toc {
    position: static;
    padding: 16px 18px;
    border: 1px solid #deded8;
    border-top: 3px solid #c9a96e;
    border-radius: 6px;
    background: #fff;
  }

  .guide-toc ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px 18px;
  }
}

@media (max-width: 680px) {
  .guide-hero,
  .post-hero,
  .blog-hero {
    padding: 34px 0 32px;
  }

  .guide-hero h1,
  .post-hero h1,
  .blog-hero h1 {
    font-size: 29px;
  }

  .guide-deck,
  .blog-hero p {
    font-size: 16px;
  }

  body[data-page="blog"] .blog-hero,
  body[data-page="blog"] .post-hero {
    padding: 34px 0 32px;
  }

  body[data-page="blog"] .blog-hero h1,
  body[data-page="blog"] .post-hero h1 {
    font-size: 29px;
  }

  body[data-page="blog"] .blog-hero p,
  body[data-page="blog"] .post-hero .meta {
    font-size: 16px;
  }

  .guide-meta span {
    width: 100%;
  }

  .guide-meta span + span::before {
    content: none;
  }

  .guide-body {
    padding: 28px 0 60px;
  }

  .guide-image {
    margin-bottom: 28px;
  }

  .guide-toc ol {
    grid-template-columns: minmax(0, 1fr);
  }

  .guide-intro p:first-child {
    font-size: 18px;
  }

  .guide-intro p,
  .guide-section p,
  .guide-section li,
  .direct-answer p,
  .guide-takeaways li {
    font-size: 16px;
  }

  .direct-answer,
  .guide-takeaways,
  .guide-cta {
    padding: 18px;
  }

  .guide-section {
    margin-top: 32px;
    padding-top: 30px;
  }

  .guide-section h2 {
    font-size: 22px;
  }

  .guide-section.guide-numbered h2 {
    grid-template-columns: 28px minmax(0, 1fr);
  }

  .blog-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .blog-card:first-child {
    grid-column: auto;
    grid-template-columns: minmax(0, 1fr);
  }

  .blog-card-media {
    min-height: 0;
  }

  .blog-card-copy,
  .blog-card:first-child .blog-card-copy {
    padding: 20px;
  }

  .blog-card h2 {
    font-size: 20px;
  }
}
