@font-face { font-family: "Host Grotesk"; src: url("/assets/fonts/host-grotesk-400.woff2") format("woff2"); font-display: swap; font-style: normal; font-weight: 400; }
@font-face { font-family: "Host Grotesk"; src: url("/assets/fonts/host-grotesk-500.woff2") format("woff2"); font-display: swap; font-style: normal; font-weight: 500; }
@font-face { font-family: "Instrument Sans"; src: url("/assets/fonts/instrument-sans-400.woff2") format("woff2"); font-display: swap; font-style: normal; font-weight: 400; }
@font-face { font-family: "Instrument Sans"; src: url("/assets/fonts/instrument-sans-500.woff2") format("woff2"); font-display: swap; font-style: normal; font-weight: 500; }
@font-face { font-family: "Geist"; src: url("/assets/fonts/geist-500.woff2") format("woff2"); font-display: swap; font-style: normal; font-weight: 500; }

:root {
  --post-ink: #10110f;
  --post-muted: #5f645c;
  --post-lime: #c8ff3d;
  --post-mint: #f3faee;
  --post-line: rgba(16, 17, 15, .12);
  --post-radius: 28px;
  --post-heading-font: "Host Grotesk", "Arial Narrow", Arial, sans-serif;
  --post-body-font: "Instrument Sans", Arial, sans-serif;
  --post-ui-font: "Geist", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; overflow-x: clip; background: #fff; color: var(--post-ink); font-family: var(--post-body-font); font-size: 16px; letter-spacing: -.01em; }
button, a { font: inherit; }
img, svg { display: block; max-width: 100%; }

.about-header-source { display: none !important; }
.post-page { width: 100%; margin-inline: auto; }
.post-header .post-eyebrow { margin: 34px 0 14px; color: #6d8c13; font: 600 12px/1.2 var(--post-ui-font); letter-spacing: .13em; text-transform: uppercase; }
.post-meta { display: flex; justify-content: center; gap: 10px; margin-top: 18px; color: var(--post-muted); font: 13px/1.4 var(--post-ui-font); }
.wp-import-featured-image { width: min(calc(100% - 48px), 800px); height: auto; max-height: 560px; margin: 44px auto; border: 1px solid var(--post-line); border-radius: var(--post-radius); object-fit: cover; display: block; }
.post-content img { width: 100%; height: auto; max-height: 620px; margin: 32px auto; border-radius: 18px; object-fit: contain; }
.post-content table { display: block; max-width: 100%; margin: 28px auto; overflow-x: auto; border-collapse: collapse; }
.post-content th, .post-content td { min-width: 120px; padding: 10px 12px; border: 1px solid var(--post-line); text-align: left; }
.post-content a { color: #5d7e00; text-underline-offset: 3px; }
.blog-resource-links { margin: 48px 0 0; padding: 28px; border: 1px solid var(--post-line); border-radius: 20px; background: var(--post-mint); }
.blog-resource-links h2 { margin: 0 0 18px; font-size: 24px; }
.blog-resource-links h3 { margin: 22px 0 10px; font-size: 15px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.blog-resource-links ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; margin: 0; padding: 0; list-style: none; }
.blog-resource-links li { margin: 0; }
.blog-resource-links a { font-weight: 500; }
@media (max-width: 640px) { .blog-resource-links { padding: 22px; } .blog-resource-links ul { grid-template-columns: 1fr; } }
.post-final { width: min(calc(100% - 48px), 1280px); margin: 64px auto 72px; padding: 42px; border-radius: var(--post-radius); background: var(--post-lime); }
.post-final h2 { margin: 0; font: 500 32px/1.2 var(--post-heading-font); letter-spacing: -.03em; }
.post-final p { max-width: 560px; color: rgba(16,17,15,.72); line-height: 1.5; }
.post-final .post-eyebrow { margin: 0 0 14px; color: rgba(16,17,15,.62); font: 600 12px/1.2 var(--post-ui-font); letter-spacing: .13em; }
.post-cta { display: inline-flex; gap: 12px; align-items: center; padding: 13px 18px; border-radius: 12px; background: var(--post-ink); color: #fff !important; font: 500 14px/1 var(--post-ui-font); text-decoration: none; }
.post-footer { display: flex; justify-content: space-between; gap: 28px; padding: 38px max(24px, calc((100% - 1200px)/2)); border-top: 1px solid var(--post-line); color: var(--post-muted); font: 13px/1.5 var(--post-ui-font); }
.post-footer a { color: inherit; text-decoration: none; }
.post-footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.post-footer > div > a { color: var(--post-ink); font-weight: 600; }
.post-footer p { margin: 0; }
.post-container { width: min(calc(100% - 48px), 800px); margin-inline: auto; }
.post-section { padding: clamp(48px, 6vw, 82px) 0; }
 
/* Article Header */
.post-header { width: min(calc(100% - 48px), 800px); margin-inline: auto; padding-top: clamp(120px, 11vw, 160px); text-align: center; }
.post-eyebrow-row { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 18px; font-family: var(--post-ui-font); font-size: 13px; font-weight: 500; color: var(--post-muted); }
.post-tag { background: var(--post-lime); color: var(--post-ink); padding: 4px 10px; border-radius: 6px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.post-header h1 { margin: 0; font-family: var(--post-heading-font); font-size: clamp(32px, 5vw, 48px); font-weight: 500; letter-spacing: -.03em; line-height: 1.15; color: var(--post-ink); }
.post-lead { margin: 24px 0 0; font-size: 18px; line-height: 1.45; color: var(--post-muted); max-width: 720px; margin-inline: auto; font-weight: 400; }
 
/* Hero Image */
.post-hero-visual { width: min(calc(100% - 48px), 800px); margin: 44px auto; aspect-ratio: 1.8; border-radius: var(--post-radius); overflow: hidden; border: 1px solid var(--post-line); position: relative; }
.post-hero-visual img { width: 100%; height: 100%; object-fit: cover; }
 
/* Rich Text content blocks */
.post-content { width: min(calc(100% - 48px), 800px); margin-inline: auto; line-height: 1.6; color: #2c2e2a; font-size: 16.5px; margin-bottom: clamp(64px, 8vw, 96px); }
.post-content p { margin: 0 0 24px; }
.post-content h2 { margin: 44px 0 20px; scroll-margin-top: 104px; font-family: var(--post-heading-font); font-size: 28px; font-weight: 500; letter-spacing: -.02em; line-height: 1.25; color: var(--post-ink); }
.post-content h3 { margin: 34px 0 16px; scroll-margin-top: 104px; font-family: var(--post-heading-font); font-size: 22px; font-weight: 500; letter-spacing: -.02em; line-height: 1.3; color: var(--post-ink); }

/* Bullet Lists */
.post-content ul, .post-content ol { margin: 0 0 28px; padding-left: 24px; display: flex; flex-direction: column; gap: 10px; }
.post-content li { margin-bottom: 4px; }
.post-content li strong { color: var(--post-ink); }

/* Blockquotes styling */
.post-content blockquote {
  margin: 36px 0; padding: 24px 28px; border-left: 4px solid var(--post-lime); background: var(--post-mint); border-radius: 0 16px 16px 0; font-family: var(--post-body-font); font-size: 17px; font-style: italic; color: #3b4236; line-height: 1.5;
}
.post-content blockquote p { margin: 0; }

/* Divider line */
.post-content hr { border: 0; border-top: 1px solid var(--post-line); margin: 48px 0; }

/* Back button */
.post-back-btn {
  display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--post-line); border-radius: 12px; padding: 8px 16px; background: #fff; color: var(--post-ink); text-decoration: none; font-family: var(--post-ui-font); font-size: 13.5px; font-weight: 500; transition: background-color 0.2s ease, border-color 0.2s ease; margin-bottom: 44px;
}
.post-back-btn:hover { background: rgba(16, 17, 15, 0.03); border-color: var(--post-ink); }

/* Next / prev read drawer */
.post-read-next { margin-top: 80px; border-top: 1px solid var(--post-line); padding: 64px 0; background: #fafbfc; }
.post-read-next-container { width: min(calc(100% - 48px), 1280px); margin-inline: auto; }
.post-read-next h2 { margin: 0 0 32px; font-family: var(--post-heading-font); font-size: 32px; font-weight: 500; letter-spacing: -.02em; text-align: center; }
.post-read-next-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* Consultation block */
.post-final-wrap { padding: 0 0 20px; background: #fafbfc; }

/* --- Recommended Guides / Related Cards styling --- */
.blog-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(16, 17, 15, 0.08);
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.blog-card:hover {
  transform: translateY(-5px);
  border-color: rgba(112, 157, 0, .32);
  box-shadow: 0 10px 30px rgba(16, 17, 15, 0.04);
}
.blog-card-visual {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(16, 17, 15, 0.04);
}
.blog-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.blog-card:hover .blog-card-visual img {
  transform: scale(1.04);
}
.blog-card-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px;
}
.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--post-ui-font);
  font-size: 12px;
  font-weight: 500;
  color: var(--post-muted);
  margin-bottom: 14px;
}
.blog-card h3 {
  margin: 0;
  font-family: var(--post-heading-font);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.3;
}
.blog-card h3 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}
.blog-card:hover h3 {
  color: #78a800;
}
.blog-card-excerpt {
  margin: 12px 0 24px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--post-muted);
  flex: 1;
}
.blog-read-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--post-ui-font);
  font-size: 13px;
  font-weight: 500;
  color: var(--post-ink);
  text-decoration: none;
  margin-top: auto;
}
.blog-read-arrow {
  font-size: 15px;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.blog-card:hover .blog-read-arrow {
  transform: translateX(4px);
}

/* --- FAQ styling within post content --- */
.post-content h2 {
  border-bottom: 2px solid var(--post-line);
  padding-bottom: 8px;
  margin-top: 56px;
}
.post-content h3,
.faq-question {
  display: flex !important;
  align-items: flex-start;
  gap: 8px;
  font-size: 19px;
  font-weight: 600;
  color: var(--post-ink) !important;
  text-decoration: none !important;
  margin-top: 32px;
  margin-bottom: 12px;
  cursor: default;
  outline: none;
  line-height: 1.4;
}
.post-content h3::before,
.faq-question::before {
  content: "Q.";
  color: #78a800;
  font-weight: 700;
}
.post-content h3 + span,
.post-content h3 + p,
.faq-answer {
  display: block !important;
  padding-left: 24px;
  color: var(--post-muted) !important;
  font-size: 15.5px;
  line-height: 1.6;
  margin-top: 0;
  margin-bottom: 24px;
}

/* Reveal transitions */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s ease var(--reveal-delay, 0ms), transform .7s cubic-bezier(.2,.8,.2,1) var(--reveal-delay, 0ms); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* Responsive adjustments */
@media (max-width: 1024px) {
  .post-read-next-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .post-page { width: 100%; padding-inline: 16px; }
  .post-header { width: 100% !important; padding-top: 100px; }
  .post-header h1 { font-size: 26px; line-height: 1.25; }
  .post-lead { font-size: 15px; margin-top: 16px; }
  .wp-import-featured-image,
  .post-hero-visual { width: 100% !important; margin: 24px auto !important; aspect-ratio: 1.5; border-radius: 16px; }
  .post-content { width: 100% !important; font-size: 16px; }
  .post-content h2 { scroll-margin-top: 88px; font-size: 22px; margin-top: 36px; }
  .post-content h3 { scroll-margin-top: 88px; font-size: 18px; margin-top: 28px; }
  .post-final { width: 100% !important; padding: 32px 20px; border-radius: 16px; margin: 48px 0 0 !important; }
  .post-final h2 { font-size: 24px; }
  .post-read-next { margin-top: 48px; }
  .post-read-next-grid { grid-template-columns: 1fr; gap: 20px; }
  .post-footer { flex-direction: column; padding: 32px 16px; gap: 20px; }
}
 
/* Sidebar Table of Contents layout */
.post-sidebar {
  display: none;
}

@media (min-width: 1280px) {
  .post-layout-wrapper {
    max-width: 1280px;
    margin-inline: auto;
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 60px;
    padding-inline: 24px;
    align-items: start;
  }
  .post-content {
    margin: 0 !important;
    width: 100% !important;
    max-width: 800px !important;
  }
  .post-sidebar {
    display: block;
    position: sticky;
    top: 110px; /* Spacing below site sticky header */
    max-height: calc(100vh - 140px);
    overflow-y: auto;
    border-right: 1px solid var(--post-line);
    padding-right: 24px;
    padding-bottom: 20px;
  }
}

/* TOC Styling */
.toc-title {
  font-family: var(--post-heading-font);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--post-ink);
  margin: 0 0 16px;
}
.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.toc-link {
  display: block;
  font-family: var(--post-ui-font);
  font-size: 14px;
  line-height: 1.4;
  color: var(--post-muted);
  text-decoration: none;
  transition: all 0.2s ease;
  border-left: 2px solid transparent;
  padding-left: 12px;
  margin-left: -12px;
}
.toc-link:hover {
  color: var(--post-ink);
  padding-left: 16px;
}
.toc-link.is-active {
  color: #78a800;
  font-weight: 500;
  border-left-color: #78a800;
  padding-left: 16px;
}
