/* ==========================================================================
   Arbor Ridge Tree Service — Shared Stylesheet
   Used by: header.php -> enqueued on all blog/single pages
   ========================================================================== */

/* ── TOKENS ─────────────────────────────────────────────────────────────── */
:root {
  --ink: #0c0c0c;
  --ink2: #2a2a2a;
  --mist: #f5f2ec;
  --white: #ffffff;
  --sage: #4e7153;
  --sage-l: #7aa880;
  --sage-p: #e8f0e9;
  --rust: #c0392b;
  --warm: #8b7355;
  --rule: #dedad3;
  --gold: #b8860b;
  --fs-xs: 0.72rem;
  --fs-sm: 0.88rem;
  --fs-md: 1rem;
  --fs-lg: 1.2rem;
  --fs-xl: clamp(2.4rem, 5vw, 4rem);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── RESET ──────────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
  background: #0b1e0e;
}
body {
  font-family: "DM Sans", system-ui, sans-serif !important;
  color: var(--ink) !important;
  background-color: #ffffff !important; /* override TT4's #f9f9f9 inline global style */
  line-height: 1.75 !important;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.15 !important;
  letter-spacing: -0.02em !important;
}
img {
  max-width: 100% !important;
  display: block !important;
}
a,
a:link,
a:visited {
  color: inherit !important;
  text-decoration: none !important;
}
ul {
  list-style: none !important;
}

/* ── CONTAINER ──────────────────────────────────────────────────────────── */
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}
.wrap--narrow {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ── BUTTONS ────────────────────────────────────────────────────────────── */
.cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: var(--fs-sm);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 14px 32px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.22s var(--ease);
  white-space: nowrap;
}
.cta--sage {
  background: var(--sage);
  color: var(--white);
  border-color: var(--sage);
}
.cta--sage:hover {
  background: transparent;
  color: var(--sage);
}
.cta--outline {
  background: transparent;
  color: var(--sage);
  border-color: var(--sage);
}
.cta--outline:hover {
  background: var(--sage);
  color: var(--white);
}
.cta--white {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.cta--white:hover {
  background: var(--white);
  color: var(--ink);
}
.cta--rust {
  background: var(--rust);
  color: var(--white);
  border-color: var(--rust);
}
.cta--rust:hover {
  background: transparent;
  color: var(--rust);
}

/* ── NAV ────────────────────────────────────────────────────────────────── */
.nav {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 100 !important;
  padding: 22px 0;
  background: #0c0c0c !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  transition:
    background 0.25s ease,
    border-bottom 0.25s ease;
}
.nav__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav__logo {
  height: auto;
  max-height: 40px;
  width: auto;
  max-width: 180px;
  display: block;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__links a {
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75) !important;
  transition: color 0.2s;
}
.nav__links a:hover,
.nav__links a.current-menu-item {
  color: var(--white) !important;
}
.nav__links a.current-menu-item {
  border-bottom: 1px solid var(--sage-l);
  padding-bottom: 2px;
}
.nav__call {
  font-family: "DM Sans", sans-serif;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white) !important;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 9px 20px;
  transition: all 0.2s;
}
.nav__call:hover {
  background: var(--sage);
  border-color: var(--sage);
  color: var(--white) !important;
}
.nav__call i {
  margin-right: 5px;
}

/* hamburger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}
.drawer {
  display: none;
  background: var(--ink);
  padding: 24px 28px;
}
.drawer.open {
  display: block;
}
.drawer a {
  display: block;
  font-size: var(--fs-md);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8) !important;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.drawer a:last-child {
  border: none;
}

/* ── SECTION COMMONS ────────────────────────────────────────────────────── */
section {
  padding: 100px 0;
}
.s-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 16px;
}
.s-eyebrow::before {
  content: "";
  display: block;
  width: 28px;
  height: 1px;
  background: var(--sage);
}
.s-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
  letter-spacing: -0.025em;
}
.s-title--white {
  color: var(--white);
}
.s-lead {
  font-size: var(--fs-md);
  color: #666;
  line-height: 1.85;
  max-width: 600px;
}
.s-hdr {
  margin-bottom: 56px;
}
.s-hdr--center {
  text-align: center;
}
.s-hdr--center .s-eyebrow {
  justify-content: center;
}
.s-hdr--center .s-eyebrow::before {
  display: none;
}
.s-hdr--center .s-lead {
  margin: 0 auto;
}

/* ── FOOTER ─────────────────────────────────────────────────────────────── */
.footer {
  background: #080808 !important;
  padding: 0 !important;
}
.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 36px 0;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer__logo {
  height: auto;
  max-height: 36px;
  width: auto;
  max-width: 160px;
  display: block;
}
.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-nav a {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.42) !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.footer-nav a:hover {
  color: var(--white) !important;
}
.footer-phone {
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: var(--fs-sm);
  color: var(--white) !important;
}
.footer-phone i {
  color: var(--sage-l);
  margin-right: 6px;
}
.footer-bottom {
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-copy {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.22) !important;
}
.footer-services {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.18);
  line-height: 1.6;
}

/* ── BACK TO TOP ────────────────────────────────────────────────────────── */
.back-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: var(--sage);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.3s,
    background 0.2s;
}
.back-top.visible {
  opacity: 1;
  pointer-events: auto;
}
.back-top:hover {
  background: var(--ink);
}

/* ── BLOG ARCHIVE STYLES ────────────────────────────────────────────────── */
.blog-hero {
  background: linear-gradient(
    145deg,
    #0b1e0e 0%,
    #16301a 40%,
    #1c3d21 70%,
    #0e2412 100%
  ) !important;
  padding: 140px 0 80px !important;
  position: relative;
  overflow: hidden;
}
.blog-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(122, 168, 128, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(122, 168, 128, 0.1) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.blog-hero__watermark {
  position: absolute;
  right: -40px;
  bottom: -20px;
  font-family: "Playfair Display", serif;
  font-size: clamp(100px, 16vw, 200px);
  font-weight: 800;
  line-height: 1;
  color: rgba(255, 255, 255, 0.025);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.04em;
}
.blog-hero__inner {
  position: relative;
  z-index: 1;
}
.blog-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage-l);
  margin-bottom: 20px;
}
.blog-hero__eyebrow::before {
  content: "";
  display: block;
  width: 32px;
  height: 1px;
  background: var(--sage-l);
}
.blog-hero__h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.blog-hero__h1 em {
  font-style: normal;
  color: var(--sage-l);
}
.blog-hero__sub {
  font-size: var(--fs-md);
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.8;
  max-width: 540px;
}

.blog-section {
  background: #ffffff !important;
  padding: 72px 0 64px !important; /* bottom: pagination margin handles gap to newsletter */
}
.blog-section__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 52px;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}
.blog-count {
  font-size: var(--fs-xs);
  color: #999;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
}

/* category filter tabs */
.blog-filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.blog-filter {
  display: inline-block !important;
  font-size: 0.68rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  line-height: 1 !important;
  padding: 7px 14px !important;
  border: 1px solid var(--rule) !important;
  color: #888 !important;
  background: var(--white) !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  transition:
    border-color 0.2s,
    color 0.2s,
    background 0.2s;
}
.blog-filter:hover,
.blog-filter--active {
  border-color: var(--sage) !important;
  color: var(--sage) !important;
  background: var(--sage-p) !important;
  text-decoration: none !important;
}

/* post grid */
.blog-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 28px !important;
  margin-bottom: 0 !important;
  background: #ffffff !important;
}
/* Reset WP/TT4 margin & padding added to .hentry — but keep card bg & border intact */
.blog-grid .hentry {
  margin: 0 !important;
  padding: 0 !important;
}
.post-card {
  background: var(--white) !important;
  display: flex !important;
  flex-direction: column !important;
  border: 1px solid var(--rule) !important;
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    transform 0.2s;
}
.post-card:hover {
  background: var(--mist);
  border-color: var(--sage-l);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.07);
  transform: translateY(-3px);
}
.post-card__img {
  position: relative;
  overflow: hidden !important;
  aspect-ratio: 16/10 !important;
}
.post-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.post-card:hover .post-card__img img {
  transform: scale(1.03);
}
.post-card__img--placeholder {
  background: linear-gradient(135deg, #0b1e0e 0%, #2a5c30 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.post-card__img--placeholder::after {
  content: "\f1bb";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 2.5rem;
  color: rgba(255, 255, 255, 0.1);
}
.post-card__body {
  padding: 28px 28px 32px !important;
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
}
.post-card__cat {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.post-card__cat::before {
  content: "";
  display: block;
  width: 16px;
  height: 1px;
  background: var(--sage);
}
.post-card__title {
  font-family: "Playfair Display", serif !important;
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  color: var(--ink) !important;
  line-height: 1.3 !important;
  letter-spacing: -0.01em !important;
  margin-bottom: 12px !important;
}
.post-card__title a,
.post-card__title a:link,
.post-card__title a:visited {
  transition: color 0.2s;
  color: var(--ink) !important;
  text-decoration: none !important;
  font-style: normal !important;
}
.post-card__title a:hover {
  color: var(--sage) !important;
  text-decoration: none !important;
}
/* Kill any TT4/WP-core underline/color bleed on links inside cards */
.post-card a:not(.post-card__more) {
  text-decoration: none !important;
}
.post-card__excerpt a {
  color: var(--sage) !important;
  text-decoration: none !important;
}
.post-card__more {
  text-decoration: none !important;
}
.post-card__meta {
  font-size: var(--fs-xs);
  color: #999;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.post-card__excerpt {
  font-size: 0.875rem;
  color: #666;
  line-height: 1.8;
  margin-bottom: 20px;
  flex: 1;
}
.post-card__more {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.2s;
  margin-top: auto;
}
.post-card__more:hover {
  gap: 14px;
}

/* featured post */
.post-card--featured {
  grid-column: 1 / -1 !important;
  flex-direction: row !important;
}
.post-card--featured .post-card__img {
  flex: 0 0 44% !important;
  aspect-ratio: unset !important;
  min-height: 280px !important;
}
.post-card--featured .post-card__body {
  padding: 40px 44px !important;
  justify-content: center !important;
}
.post-card--featured .post-card__title {
  font-size: 1.6rem;
}

/* pagination */
.blog-pagination {
  margin: 48px 0 0; /* top gap from cards; section padding-bottom handles gap to newsletter */
}
.blog-pagination .navigation {
  display: flex;
  justify-content: center;
}
.blog-pagination .nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}
.blog-pagination .page-numbers {
  min-width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  font-family: "DM Sans", sans-serif;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  border: 1px solid var(--rule);
  color: #888;
  background: var(--white);
  transition: all 0.2s;
  text-decoration: none;
}
.blog-pagination .page-numbers:hover:not(.current):not(.dots) {
  border-color: var(--sage);
  color: var(--sage);
  background: var(--sage-p);
}
.blog-pagination .page-numbers.current {
  background: var(--sage);
  border-color: var(--sage);
  color: var(--white);
  pointer-events: none;
}
.blog-pagination .page-numbers.dots {
  border-color: transparent;
  background: transparent;
  color: #bbb;
  pointer-events: none;
  letter-spacing: 0;
}
.blog-pagination .next,
.blog-pagination .prev {
  min-width: auto;
  padding: 0 18px;
  gap: 8px;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* newsletter */
.newsletter-strip {
  background: var(--mist);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 56px 0;
}
.newsletter-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.newsletter-form {
  display: flex;
}
.newsletter-input {
  flex: 1;
  font-family: "DM Sans", sans-serif;
  font-size: 0.9rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--rule);
  border-right: none;
  padding: 14px 18px;
  outline: none;
  transition: border-color 0.2s;
}
.newsletter-input:focus {
  border-color: var(--sage);
}
.newsletter-input::placeholder {
  color: #aaa;
}
.newsletter-btn {
  font-family: "DM Sans", sans-serif;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--sage);
  color: var(--white);
  border: 1px solid var(--sage);
  padding: 14px 24px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.newsletter-btn:hover {
  background: var(--ink);
  border-color: var(--ink);
}
.newsletter-note {
  font-size: 0.7rem;
  color: #aaa;
  margin-top: 10px;
  letter-spacing: 0.04em;
}

/* ── SINGLE POST STYLES ─────────────────────────────────────────────────── */
.post-hero {
  background: linear-gradient(
    145deg,
    #0b1e0e 0%,
    #16301a 40%,
    #1c3d21 70%,
    #0e2412 100%
  ) !important;
  padding: 180px 0 100px !important;
  position: relative;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
/* When a featured image is present, use it as bg via CSS custom property
   (inline style sets --post-hero-img; var() resolves it after cascade so
   it wins over the !important gradient on .post-hero) */
.post-hero--has-img {
  background-image: var(--post-hero-img) !important;
  background-size: cover !important;
  background-position: center 30% !important;
  background-repeat: no-repeat !important;
}
/* Dark gradient overlay — always present, stronger when image exists */
.post-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(5, 14, 6, 0.45) 0%,
    rgba(5, 14, 6, 0.55) 40%,
    rgba(5, 14, 6, 0.88) 100%
  ) !important;
  pointer-events: none;
  z-index: 0;
}
.post-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
}
.post-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.post-hero__breadcrumb a {
  color: var(--sage-l);
  transition: color 0.2s;
}
.post-hero__breadcrumb a:hover {
  color: var(--white);
}
.post-hero__breadcrumb i {
  font-size: 0.55rem;
}
.post-hero__cat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-l);
  margin-bottom: 20px;
}
.post-hero__cat::before {
  content: "";
  display: block;
  width: 20px;
  height: 1px;
  background: var(--sage-l);
}
.post-hero__title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
  max-width: 820px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}
.post-hero__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.06em;
}
.post-hero__meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.post-hero__meta-item i {
  color: var(--sage-l);
  font-size: 0.75rem;
}

/* No longer used — featured image is now the hero background */
.post-featured-img {
  display: none;
}
.post-featured-img-caption {
  text-align: center;
  font-size: 0.75rem;
  color: #aaa;
  padding: 10px 28px;
  font-style: italic;
  border-bottom: 1px solid var(--rule);
}

.post-layout {
  display: grid !important;
  grid-template-columns: 1fr 280px !important;
  gap: 60px !important;
  padding: 72px 0 100px !important;
  align-items: start;
}

/* prose */
.post-body p {
  font-size: 1.05rem !important;
  color: #444 !important;
  line-height: 1.9 !important;
  margin-bottom: 1.75rem !important;
}
.post-body h2 {
  font-family: "Playfair Display", serif !important;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem) !important;
  font-weight: 700 !important;
  color: var(--ink) !important;
  letter-spacing: -0.02em !important;
  line-height: 1.2 !important;
  margin: 2.5rem 0 1rem !important;
  padding-top: 0.5rem !important;
  border-top: 2px solid var(--rule) !important;
}
.post-body h3 {
  font-family: "DM Sans", sans-serif !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  color: var(--ink2) !important;
  margin: 2rem 0 0.75rem !important;
}
.post-body ul {
  list-style: none !important;
  margin-bottom: 1.75rem !important;
}
.post-body ul li {
  font-size: 1.05rem !important;
  color: #444 !important;
  line-height: 1.85 !important;
  padding: 10px 0 10px 28px !important;
  position: relative;
  border-bottom: 1px solid var(--rule) !important;
}
.post-body ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--sage) !important;
  font-size: 0.85rem;
  top: 12px;
}
.post-body ol {
  list-style: none !important;
  counter-reset: ol-counter;
  margin-bottom: 1.75rem !important;
}
.post-body ol li {
  counter-increment: ol-counter;
  font-size: 1.05rem;
  color: #444;
  line-height: 1.85;
  padding: 10px 0 10px 40px;
  position: relative;
  border-bottom: 1px solid var(--rule);
}
.post-body ol li::before {
  content: counter(ol-counter, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 10px;
  font-family: "Playfair Display", serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--rule);
}
.post-body blockquote {
  margin: 2rem 0;
  background: var(--mist);
  border-left: 4px solid var(--sage);
  padding: 24px 32px;
}
.post-body blockquote p {
  font-family: "Playfair Display", serif;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--ink2);
  margin-bottom: 0;
  line-height: 1.7;
}
.post-body blockquote cite {
  display: block;
  margin-top: 12px;
  font-size: var(--fs-xs);
  font-style: normal;
  font-weight: 700;
  color: var(--sage);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
/* Boost specificity: article element + two classes beats TT4 inline global-styles
   which targets bare `a` with no element or class qualifiers */
article.hentry.post-body a,
article.hentry.post-body a:link,
article.hentry.post-body a:visited {
  color: var(--sage) !important;
  text-decoration: underline !important;
  text-decoration-color: transparent !important;
  transition: text-decoration-color 0.2s;
}
article.hentry.post-body a:hover {
  color: var(--sage) !important;
  text-decoration-color: var(--sage) !important;
}
.post-body a {
  color: var(--sage) !important;
  text-decoration: underline !important;
  text-decoration-color: transparent !important;
  transition: text-decoration-color 0.2s;
}
.post-body a:hover {
  text-decoration-color: var(--sage) !important;
}
.post-body strong {
  color: var(--ink) !important;
  font-weight: 700 !important;
}

.post-callout {
  background: var(--ink);
  color: var(--white);
  padding: 32px 36px;
  margin: 2.5rem 0;
  position: relative;
  overflow: hidden;
}
.post-callout::before {
  content: "!";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-family: "Playfair Display", serif;
  font-size: 120px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.04);
  line-height: 1;
}
.post-callout__label {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.post-callout__label::before {
  content: "";
  display: block;
  width: 16px;
  height: 2px;
  background: var(--rust);
}
.post-callout__text {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  margin: 0;
}
.post-callout .cta {
  margin-top: 20px;
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
}
.post-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border: 1px solid var(--rule);
  color: #888;
  transition: all 0.2s;
}
.post-tag:hover {
  border-color: var(--sage);
  color: var(--sage);
}

.post-share {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}
.post-share__label {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #aaa;
}
.post-share__btn {
  width: 36px;
  height: 36px;
  border: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: #888;
  transition: all 0.2s;
  cursor: pointer;
}
.post-share__btn:hover {
  background: var(--sage);
  border-color: var(--sage);
  color: var(--white);
}

.post-sidebar {
  position: sticky;
  top: 100px;
}
.sidebar-block {
  border: 1px solid var(--rule);
  margin-bottom: 24px;
  overflow: hidden;
}
.sidebar-block__title {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 14px 20px;
  background: var(--mist);
  border-bottom: 1px solid var(--rule);
}
.toc {
  list-style: none;
}
.toc li a {
  display: block;
  padding: 11px 20px;
  font-size: 0.82rem;
  color: #666;
  border-bottom: 1px solid var(--rule);
  transition: all 0.2s;
  line-height: 1.4;
}
.toc li:last-child a {
  border-bottom: none;
}
.toc li a:hover {
  color: var(--sage);
  background: var(--sage-p);
  padding-left: 26px;
}
.toc li a.active {
  color: var(--sage);
  font-weight: 700;
  background: var(--sage-p);
}
.sidebar-cta {
  background: var(--sage);
  padding: 28px 24px;
  text-align: center;
}
.sidebar-cta__title {
  font-family: "Playfair Display", serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.3;
}
.sidebar-cta__sub {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 18px;
  line-height: 1.7;
}
.sidebar-cta .cta {
  width: 100%;
  justify-content: center;
  font-size: 0.78rem;
  padding: 12px 20px;
}
.sidebar-phone {
  display: block;
  margin-top: 12px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.04em;
}

.author-block {
  background: var(--mist);
  border: 1px solid var(--rule);
  padding: 32px 36px;
  margin-top: 60px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.author-avatar {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  background: var(--sage);
  display: flex;
  align-items: center;
  justify-content: center;
}
.author-avatar i {
  font-size: 1.6rem;
  color: rgba(255, 255, 255, 0.6);
}
.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.author-name {
  font-weight: 700;
  font-size: var(--fs-md);
  color: var(--ink);
  margin-bottom: 2px;
}
.author-role {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 10px;
}
.author-bio {
  font-size: 0.875rem;
  color: #666;
  line-height: 1.8;
}

.related-section {
  background: var(--mist);
  padding: 80px 0;
  border-top: 1px solid var(--rule);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.rel-card {
  background: var(--white);
  border: 1px solid var(--rule);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}
.rel-card:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}
.rel-card__img {
  display: block;
  overflow: hidden;
  aspect-ratio: 16/10;
  flex-shrink: 0;
}
.rel-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.rel-card:hover .rel-card__img img {
  transform: scale(1.04);
}
.rel-card__img--placeholder {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #0b1e0e 0%, #2a5c30 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.rel-card__img--placeholder::after {
  content: "\f1bb";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.1);
}
.rel-card__body {
  padding: 22px 24px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.rel-card__cat {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 10px;
}
.rel-card__title {
  font-family: "Playfair Display", serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
  flex: 1;
}
.rel-card__title a:hover {
  color: var(--sage) !important;
}
.rel-card__meta {
  font-size: var(--fs-xs);
  color: #aaa;
  margin-bottom: 14px;
}
.rel-card__more {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage) !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
  margin-top: auto;
}
.rel-card__more:hover {
  gap: 12px;
}

/* ── READING PROGRESS BAR ───────────────────────────────────────────────── */
.read-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--sage-l);
  z-index: 9999;
  transition: width 0.1s linear;
}

.post-cta {
  background: var(--ink);
  padding: 72px 0;
  text-align: center;
}
.post-cta__eyebrow {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage-l);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.post-cta__eyebrow::before,
.post-cta__eyebrow::after {
  content: "";
  display: block;
  width: 40px;
  height: 1px;
  background: var(--sage-l);
}
.post-cta__title {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.post-cta__sub {
  font-size: var(--fs-md);
  color: rgba(255, 255, 255, 0.55);
  max-width: 480px;
  margin: 0 auto 36px;
  line-height: 1.8;
}
.post-cta__btns {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ── RESPONSIVE ─────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 24px !important;
  }
  .post-card--featured {
    grid-column: 1 / -1;
  }
  .newsletter-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .post-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .post-sidebar {
    position: static;
  }
  .related-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .nav__links {
    display: none;
  }
  .nav__call {
    display: none;
  }
  .burger {
    display: flex;
  }
  .blog-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .post-card--featured {
    flex-direction: column !important;
  }
  .post-card--featured .post-card__img {
    flex: unset !important;
    min-height: unset !important;
    aspect-ratio: 16/10 !important;
  }
  .post-card--featured .post-card__body {
    padding: 28px 28px 32px;
  }
  .post-card--featured .post-card__title {
    font-size: 1.3rem;
  }
  .author-block {
    flex-direction: column;
    padding: 24px;
  }
  .related-grid {
    grid-template-columns: 1fr;
  }
  .post-hero {
    padding: 140px 0 72px !important;
    min-height: 420px;
  }
  .post-featured-img {
    height: 260px;
  }
  .footer-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .blog-section__top {
    flex-direction: column;
    align-items: flex-start;
  }
  .post-callout {
    padding: 24px;
  }
}
@media (max-width: 480px) {
  .wrap {
    padding: 0 16px;
  }
  section {
    padding: 64px 0;
  }
  .blog-hero {
    padding: 120px 0 60px;
  }
  .post-hero {
    padding: 120px 0 56px;
  }
  .footer-nav {
    gap: 14px;
  }
  .post-cta__btns {
    flex-direction: column;
    align-items: center;
  }
}
