/* Case study / blog article — readable layout */
.blog-article {
  background: #e8e0d8;
  padding: 0 0 4rem;
}

.blog-article-hero-wrap {
  position: relative;
  width: 100%;
}

.blog-article-hero {
  position: relative;
  margin: 0;
  width: 100%;
  min-height: clamp(240px, 42vw, 520px);
  max-height: min(72vh, 560px);
  overflow: hidden;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.blog-article-hero img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: clamp(240px, 42vw, 520px);
  max-height: min(72vh, 560px);
  object-fit: cover;
  object-position: center top;
}

.blog-article-inner {
  max-width: 780px;
  margin: 0 auto;
  padding: 1.75rem 1.25rem 0;
}

.blog-article-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1.35rem;
  border-bottom: 1px solid rgba(26, 20, 22, 0.1);
}

.blog-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: center;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5a534d;
  margin-bottom: 0.85rem;
}

.blog-article-meta .blog-article-tag {
  background: #2a4d3a;
  color: #fff;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-weight: 600;
}

.blog-article-title {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: clamp(1.85rem, 4.5vw, 2.65rem);
  line-height: 1.12;
  color: #1a1416;
  margin: 0 0 0.65rem;
  text-align: left;
}

.blog-article-lead {
  font-size: 1.05rem;
  line-height: 1.55;
  color: #4a4547;
  margin: 0 0 0.85rem;
  text-align: left;
}

.blog-article-byline {
  font-size: 0.88rem;
  color: #6a635d;
  margin: 0;
  padding: 0;
  border: none;
}

.blog-article-cover-end {
  margin: 2.75rem 0 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(26, 20, 22, 0.1);
}

.blog-article-cover-end img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 32px rgba(26, 20, 22, 0.1);
}

.blog-article-cover-end figcaption {
  margin: 0.85rem 0 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #5a534d;
  text-align: center;
}

/* Article body — left-aligned prose (scoped reset vs global style.css) */
.blog-article-body {
  text-align: left;
  font-family: 'Jost', system-ui, sans-serif;
  font-size: 1.05rem;
  line-height: 1.75;
  color: #2c2426;
}

.blog-article-body > *:first-child {
  margin-top: 0;
}

.blog-article-body > p,
.blog-article-body p {
  margin: 0 0 1.25rem;
  font-size: inherit;
  line-height: inherit;
}

.blog-article-body h2 {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 1.65rem;
  margin: 2.25rem 0 1rem;
  color: #1a1416;
  line-height: 1.25;
  font-weight: 600;
}

.blog-article-body h3 {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 1.25rem;
  margin: 1.75rem 0 0.65rem;
  color: #2a4d3a;
  font-weight: 600;
  line-height: 1.3;
}

.blog-article-body h4,
.blog-article-body h5 {
  font-size: 1.1rem;
  margin: 1.5rem 0 0.5rem;
  color: #2a4d3a;
  font-weight: 600;
}

.blog-article-body ul,
.blog-article-body ol {
  margin: 0 0 1.5rem;
  padding-left: 1.5rem;
  list-style-position: outside;
}

.blog-article-body ul {
  list-style-type: disc;
}

.blog-article-body ol {
  list-style-type: decimal;
}

.blog-article-body li {
  margin-bottom: 0.5rem;
  list-style: inherit;
  display: list-item;
}

.blog-article-body li > p {
  margin-bottom: 0.35rem;
}

.blog-article-body strong,
.blog-article-body b {
  font-weight: 600;
  color: #1a1416;
}

.blog-article-body h2 strong,
.blog-article-body h3 strong {
  font-weight: inherit;
  color: inherit;
}

.blog-article-body img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 1.5rem auto;
  border-radius: 18px;
}

.blog-article-body blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border-left: 3px solid #3d6b52;
  background: #f5f5f0;
  border-radius: 0 16px 16px 0;
  font-style: italic;
}

.blog-article-body a {
  color: #3d6b52;
  text-decoration: underline !important;
  text-underline-offset: 2px;
}

.blog-article-body a:hover {
  color: #2a4d3a;
}

.blog-article-body hr {
  margin: 2rem 0;
  border: 0;
  border-top: 1px solid rgba(26, 20, 22, 0.12);
}

/* Hide duplicate in-body hero when page hero is shown (public article only) */
.blog-article .blog-article-body .case-study-hero {
  display: none;
}

.blog-article-body .case-study-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.blog-article-body .case-study-gallery-item {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(26, 20, 22, 0.08);
}

.blog-article-body .case-study-gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.blog-article-body .case-study-gallery-item.case-study-gallery-video video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  background: #111;
}

.blog-article-body .case-study-location {
  font-size: 0.95rem;
  color: #555;
  padding: 0.75rem 1rem;
  background: #f5f5f0;
  border-radius: 8px;
  border-left: 3px solid #2e7d32;
}

.blog-index-lead {
  max-width: 42rem;
  font-size: 1rem;
  color: #4a4547;
  line-height: 1.65;
}

.blog-article-after {
  background: #e8e0d8;
  border-top: 1px solid rgba(10, 10, 10, 0.1);
}

.blog-local-trust {
  background: transparent;
  padding: 2.5rem 0 2rem;
  margin: 0;
}

.blog-local-trust-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.blog-local-trust-copy h2 {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: #1a1416;
}

.blog-local-trust-copy p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #5a534d;
  margin-bottom: 0.35rem;
}

.blog-local-trust-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

a.blog-trust-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

a.blog-trust-btn--primary {
  background: #0a0a0a;
  color: #fff;
  border: 1px solid #0a0a0a;
}

a.blog-trust-btn--primary:hover {
  background: #333;
  border-color: #333;
  color: #fff;
}

a.blog-trust-btn--outline {
  background: rgba(255, 255, 255, 0.45);
  color: #0a0a0a;
  border: 1px solid rgba(10, 10, 10, 0.18);
}

a.blog-trust-btn--outline:hover {
  background: #fff;
  border-color: #0a0a0a;
  color: #0a0a0a;
}

a.blog-trust-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: #0a0a0a;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 0.55rem 0.35rem;
}

a.blog-trust-link:hover {
  color: #333;
}

.case-study-diff-list {
  margin: 1rem 0 1.25rem;
  padding-left: 1.25rem;
}

.case-study-diff-list li {
  margin-bottom: 0.35rem;
}

.case-study-near-me,
.case-study-internal-links {
  font-size: 0.95rem;
}

.case-study-internal-links a {
  margin-right: 0.25rem;
}

.blog-article-cta,
.blog-article-body .case-study-cta {
  margin: 2.5rem 0;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, #2a4d3a, #3d6b52);
  color: #fff;
  border-radius: 20px;
  text-align: center;
  font-size: 1rem;
  line-height: 1.6;
}

.blog-article-cta a,
.blog-article-body .case-study-cta a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
}

.blog-article-body em {
  font-style: italic;
  color: #3d5c48;
}

.blog-article-share-wrap {
  background: transparent;
}

.blog-article-share {
  text-align: center;
  padding: 0 0 2.5rem;
  border-top: 1px solid rgba(10, 10, 10, 0.1);
  margin: 0;
  padding-top: 2rem;
}

.blog-article-share h3 {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 1.15rem;
  color: #1a1416;
}

.blog-article-share-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
}

.blog-article-share-icons .btn {
  width: 2.65rem;
  height: 2.65rem;
  padding: 0 !important;
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.5) !important;
  border: 1px solid rgba(10, 10, 10, 0.12) !important;
  box-shadow: none !important;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.blog-article-share-icons .btn i {
  font-size: 1.05rem !important;
}

.blog-article-share-icons .btn:hover {
  transform: translateY(-2px);
  background: #fff !important;
  border-color: rgba(10, 10, 10, 0.22) !important;
}

.blog-article-book-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin: 2rem 0;
}

.blog-article-book-bar a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.92rem;
}

.blog-article-book-bar .btn-book-primary {
  background: #3d6b52;
  color: #fff;
}

.blog-article-book-bar .btn-book-secondary {
  background: #fff;
  color: #2a4d3a;
  border: 1px solid #b8d4c4;
}

.blog-related {
  background: #e8e0d8;
  padding: 3.5rem 0 4.5rem;
  border-top: 1px solid rgba(10, 10, 10, 0.1);
}

.blog-related-inner {
  max-width: 1100px;
}

.blog-related-head {
  margin-bottom: 2rem;
}

.blog-related-head h2 {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 500;
  color: #1a1416;
  margin: 0 0 1rem;
  line-height: 1.2;
}

.blog-related-rule {
  margin: 0;
  border: 0;
  border-top: 1px solid rgba(26, 20, 22, 0.12);
}

.blog-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 1.75rem);
}

a.blog-related-card {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4.1;
  border-radius: 22px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  box-shadow: 0 12px 32px rgba(26, 20, 22, 0.1);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

a.blog-related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(26, 20, 22, 0.16);
  color: #fff;
}

.blog-related-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

a.blog-related-card:hover img {
  transform: scale(1.04);
}

.blog-related-card-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.05) 0%,
    rgba(0, 0, 0, 0.15) 40%,
    rgba(0, 0, 0, 0.78) 100%
  );
  pointer-events: none;
}

.blog-related-card-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.35rem 1.4rem 1.5rem;
  z-index: 1;
}

.blog-related-pill {
  display: inline-block;
  background: #fff;
  color: #111;
  border-radius: 999px;
  padding: 0.32rem 0.8rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 0.85rem;
  font-family: 'Jost', system-ui, sans-serif;
}

.blog-related-card-content h3 {
  font-family: 'Jost', system-ui, sans-serif;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 0.55rem;
  color: #fff;
}

.blog-related-card-content p {
  font-family: 'Jost', system-ui, sans-serif;
  font-size: 0.84rem;
  line-height: 1.55;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 991px) {
  .blog-related-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-related-grid .blog-related-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 420px;
    justify-self: center;
    width: 100%;
  }
}

@media (max-width: 575px) {
  .blog-related-grid {
    grid-template-columns: 1fr;
  }

  .blog-related-grid .blog-related-card:last-child:nth-child(odd) {
    grid-column: auto;
    max-width: none;
  }

  a.blog-related-card {
    aspect-ratio: 3 / 3.6;
  }
}

@media (max-width: 1199.98px) {
  .blog-article-hero-wrap {
    padding-top: var(--mobile-nav-height, 3.65rem);
  }
}

@media (max-width: 767px) {
  .blog-article-hero {
    min-height: clamp(220px, 52vw, 380px);
    max-height: 420px;
  }

  .blog-article-hero img {
    min-height: clamp(220px, 52vw, 380px);
    max-height: 420px;
  }

  .blog-article-title {
    font-size: clamp(1.55rem, 6vw, 2rem);
  }

  .blog-article-lead {
    font-size: 0.95rem;
    -webkit-line-clamp: 3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .blog-article-body .case-study-gallery {
    grid-template-columns: 1fr;
  }
}
