:root {
  color: #292723;
  background: #f4f1ea;
  font-family: "Inter", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: #f4f1ea; color: #292723; }
a { color: inherit; }
img { display: block; max-width: 100%; }

.blog-site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid rgba(41, 39, 35, 0.14);
  background: rgba(244, 241, 234, 0.94);
}

.blog-nav {
  width: min(1180px, calc(100% - 40px));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.blog-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; }
.blog-brand img { width: 30px; height: 30px; object-fit: contain; }
.blog-nav-links { display: flex; align-items: center; gap: 24px; font-size: 0.88rem; font-weight: 600; }
.blog-nav-links a { text-decoration: none; }
.blog-nav-cta { padding: 12px 17px; border-radius: 999px; background: #292723; color: #fff; }

.blog-index-hero {
  width: min(1180px, calc(100% - 40px));
  min-height: 520px;
  margin: 0 auto;
  padding: 104px 0 90px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.blog-eyebrow, .blog-card-kicker {
  margin: 0 0 14px;
  color: #9b4f38;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.blog-index-hero h1, .blog-article-header h1 {
  max-width: 950px;
  margin: 0;
  font-family: "Newsreader", serif;
  font-size: clamp(3.1rem, 7.8vw, 7.4rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.91;
}

.blog-index-hero > p:last-child {
  max-width: 650px;
  margin: 34px 0 0 auto;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.6;
}

.blog-index-list { padding: 88px max(20px, calc((100vw - 1180px) / 2)) 120px; background: #fff; }
.blog-index-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr); gap: 40px; align-items: end; margin-bottom: 54px; }
.blog-index-heading h2, .blog-faq h2, .blog-related h2, .blog-citations h2 { margin: 0; font-family: "Newsreader", serif; font-size: clamp(2.5rem, 5vw, 4.3rem); font-weight: 500; line-height: 1; }
.blog-index-heading > p { margin: 0; max-width: 520px; color: #66615a; line-height: 1.7; }
.blog-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 52px 32px; }
.blog-card { border-top: 1px solid #d7d1c5; padding-top: 18px; }
.blog-card-image { display: block; margin-bottom: 24px; overflow: hidden; aspect-ratio: 16 / 9; background: #ebe6db; }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.blog-card:hover .blog-card-image img { transform: scale(1.02); }
.blog-card h2 { margin: 0; font-family: "Newsreader", serif; font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 500; line-height: 1.03; }
.blog-card h2 a { text-decoration: none; }
.blog-card p:not(.blog-card-kicker) { color: #66615a; line-height: 1.65; }
.blog-read-more { display: inline-flex; gap: 8px; color: #9b4f38; font-weight: 700; text-decoration: none; }
.blog-empty { max-width: 720px; padding: 48px; border: 1px solid #d7d1c5; border-radius: 2px; background: #f7f4ee; }
.blog-empty h3 { margin: 0 0 12px; font-family: "Newsreader", serif; font-size: 2.2rem; font-weight: 500; }
.blog-empty p { color: #66615a; line-height: 1.7; }
.blog-empty a { color: #9b4f38; font-weight: 700; text-decoration: none; }

.blog-article { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 80px 0 120px; }
.blog-breadcrumb { display: flex; align-items: center; gap: 10px; margin-bottom: 74px; color: #716c64; font-size: 0.82rem; }
.blog-breadcrumb a { text-decoration: none; }
.blog-article-header { max-width: 990px; }
.blog-article-header h1 { font-size: clamp(3.2rem, 7.3vw, 6.8rem); }
.blog-dek { max-width: 760px; margin: 30px 0 0; color: #5f5a53; font-size: clamp(1.1rem, 2vw, 1.35rem); line-height: 1.65; }
.blog-byline { display: flex; gap: 18px; margin-top: 28px; color: #716c64; font-size: 0.84rem; }
.blog-hero { margin: 72px 0; aspect-ratio: 1.9 / 1; overflow: hidden; background: #e3ddd1; }
.blog-hero img { width: 100%; height: 100%; object-fit: cover; }
.blog-layout { display: grid; grid-template-columns: 230px minmax(0, 720px); gap: 76px; justify-content: center; align-items: start; }
.blog-toc { position: sticky; top: 28px; padding: 22px 0; border-top: 1px solid #cfc8bc; border-bottom: 1px solid #cfc8bc; font-size: 0.82rem; }
.blog-toc ol { margin: 14px 0 0; padding-left: 18px; color: #716c64; }
.blog-toc li + li { margin-top: 10px; }
.blog-toc a { text-decoration: none; line-height: 1.45; }
.blog-prose { min-width: 0; font-size: 1.08rem; line-height: 1.78; }
.blog-prose h2 { margin: 2.1em 0 0.55em; font-family: "Newsreader", serif; font-size: clamp(2.1rem, 4vw, 3.4rem); font-weight: 500; line-height: 1.05; }
.blog-prose h3 { margin: 1.8em 0 0.5em; font-size: 1.35rem; }
.blog-prose p { margin: 0 0 1.35em; }
.blog-prose a { color: #934832; text-underline-offset: 3px; }
.blog-prose blockquote { margin: 2em 0; padding: 8px 0 8px 28px; border-left: 3px solid #a95d43; color: #5f5a53; font-family: "Newsreader", serif; font-size: 1.45rem; line-height: 1.4; }
.blog-prose img { height: auto; margin: 2em 0; }
.blog-prose table { width: 100%; margin: 2em 0; border-collapse: collapse; font-size: 0.9rem; }
.blog-prose th, .blog-prose td { padding: 12px; border-bottom: 1px solid #d7d1c5; text-align: left; vertical-align: top; }

.blog-faq, .blog-citations, .blog-related { max-width: 1026px; margin: 110px auto 0; padding-top: 70px; border-top: 1px solid #cfc8bc; }
.blog-faq-list { margin-top: 40px; }
.blog-faq details { border-top: 1px solid #d7d1c5; }
.blog-faq details:last-child { border-bottom: 1px solid #d7d1c5; }
.blog-faq summary { padding: 22px 36px 22px 0; cursor: pointer; font-weight: 700; }
.blog-faq details p { max-width: 780px; margin: 0; padding: 0 0 24px; color: #625d55; line-height: 1.7; }
.blog-citations h2 { font-size: 2.6rem; }
.blog-citations ol { padding-left: 20px; color: #625d55; line-height: 1.65; overflow-wrap: anywhere; }
.blog-related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 34px; }
.blog-related-grid a { min-height: 180px; padding: 24px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid #d2cbbe; background: #fff; text-decoration: none; }
.blog-related-grid span { color: #9b4f38; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.blog-related-grid strong { font-family: "Newsreader", serif; font-size: 1.6rem; font-weight: 500; line-height: 1.1; }

.blog-footer { padding: 58px max(20px, calc((100vw - 1180px) / 2)); display: grid; grid-template-columns: 1fr auto; gap: 36px; border-top: 1px solid rgba(41, 39, 35, 0.14); color: #625d55; font-size: 0.78rem; }
.blog-footer p { max-width: 360px; margin: 12px 0 0; line-height: 1.5; }
.blog-footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 18px; }
.blog-footer-links a { text-decoration: none; }
.blog-footer > span { grid-column: 1 / -1; }

@media (max-width: 820px) {
  .blog-nav { min-height: 68px; }
  .blog-nav-links a:not(.blog-nav-cta) { display: none; }
  .blog-index-hero { min-height: 440px; padding: 72px 0; }
  .blog-index-hero > p:last-child { margin-left: 0; }
  .blog-index-heading, .blog-card-grid, .blog-layout, .blog-footer { grid-template-columns: 1fr; }
  .blog-layout { gap: 32px; }
  .blog-toc { position: static; }
  .blog-related-grid { grid-template-columns: 1fr; }
  .blog-footer-links { justify-content: flex-start; }
}

@media (max-width: 520px) {
  .blog-nav, .blog-index-hero, .blog-article { width: min(100% - 28px, 1180px); }
  .blog-nav-cta { padding: 10px 12px; }
  .blog-index-list { padding: 64px 14px 80px; }
  .blog-empty { padding: 28px; }
  .blog-article { padding-top: 54px; }
  .blog-breadcrumb { margin-bottom: 48px; }
  .blog-hero { margin: 48px 0; }
  .blog-byline { flex-direction: column; gap: 6px; }
}
