/* ============ Blog — index + article (Atelier) ============ */

.blog-hero {
  padding: calc(var(--nav-h) + 72px) var(--gutter) 56px;
  background: var(--bg-alt);
  text-align: center;
}
.blog-hero__eyebrow {
  font-family: var(--font-sans); font-size: 11px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent-deep);
  margin-bottom: 18px;
}
.blog-hero__title {
  font-family: var(--font-serif); font-weight: 400; font-size: clamp(34px, 5vw, 54px);
  color: var(--black); line-height: 1.12; max-width: 900px; margin: 0 auto 18px;
}
.blog-hero__title em { font-style: italic; color: var(--accent-deep); }
.blog-hero__sub {
  font-size: 16px; color: var(--text-light); line-height: 1.7; max-width: 640px; margin: 0 auto;
}
.blog-hero__crumb { margin-top: 22px; font-size: 12.5px; color: var(--text-light); }
.blog-hero__crumb a { color: var(--accent-deep); text-decoration: none; }
.blog-hero__crumb a:hover { text-decoration: underline; }

/* ---- index grid ---- */
.blog-grid {
  max-width: var(--max-w); margin: 0 auto; padding: 64px var(--gutter) 100px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px;
}
.blog-card {
  background: var(--white); border: 1px solid var(--border);
  display: flex; flex-direction: column; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 28px 56px -28px rgba(46,38,32,0.25); }
.blog-card__img { aspect-ratio: 16/10; overflow: hidden; background: var(--bg-sand); display: block; }
.blog-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-card__body { padding: 28px 28px 30px; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.blog-card__kicker {
  font-family: var(--font-sans); font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-deep);
}
.blog-card__title { font-family: var(--font-serif); font-weight: 500; font-size: 22px; color: var(--black); line-height: 1.28; }
.blog-card__title a { color: inherit; text-decoration: none; }
.blog-card__title a:hover { color: var(--accent-deep); }
.blog-card__excerpt { font-size: 14px; line-height: 1.7; color: var(--text-light); flex: 1; }
.blog-card__meta { font-size: 12px; color: var(--text-light); opacity: .8; padding-top: 6px; border-top: 1px solid var(--line); }

/* ---- article ---- */
.bx-hero-img { max-width: 820px; margin: 0 auto; padding: 48px var(--gutter) 0; }
.bx-hero-img img { width: 100%; display: block; }

.bx-article { max-width: 760px; margin: 0 auto; padding: 48px var(--gutter) 24px; }
.bx-byline {
  display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
  font-family: var(--font-sans); font-size: 12.5px; color: var(--text-light);
  margin-bottom: 36px; padding-bottom: 22px; border-bottom: 1px solid var(--line);
}
.bx-byline strong { color: var(--text); font-weight: 500; }
.bx-article p { font-size: 16px; line-height: 1.85; color: var(--text); margin-bottom: 17px; }
.bx-article h2 {
  font-family: var(--font-serif); font-weight: 500; font-size: 29px; color: var(--black);
  line-height: 1.22; margin: 44px 0 15px;
}
.bx-article h3 {
  font-family: var(--font-sans); font-weight: 600; font-size: 17px; color: var(--black);
  margin: 28px 0 10px; letter-spacing: 0.01em;
}
.bx-article ul, .bx-article ol { margin: 0 0 17px 2px; padding-left: 22px; }
.bx-article li { font-size: 15.5px; line-height: 1.8; color: var(--text); margin-bottom: 7px; }
.bx-article a { color: var(--accent-deep); text-decoration: none; border-bottom: 1px solid rgba(138,115,80,0.35); }
.bx-article a:hover { border-bottom-color: var(--accent-deep); }
.bx-article strong { color: var(--black); font-weight: 600; }

.bx-article table { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: 14.5px; }
.bx-article th, .bx-article td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: top; line-height: 1.6; }
.bx-article thead th { font-family: var(--font-sans); font-weight: 600; color: var(--black); background: var(--bg-alt); font-size: 13px; letter-spacing: 0.03em; }
.bx-article tbody th, .bx-article tbody td:first-child { font-weight: 600; color: var(--black); }
.bx-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.bx-takeaways { background: var(--bg-alt); padding: 26px 30px; margin: 32px 0; border-left: 2px solid var(--accent); }
.bx-takeaways h2 { margin: 0 0 12px; font-size: 15px; font-family: var(--font-sans); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-deep); }
.bx-takeaways ul { margin: 0; padding-left: 20px; }
.bx-takeaways li { color: var(--text); font-size: 15px; }

.bx-faq details { border-bottom: 1px solid var(--line); padding: 2px 0; }
.bx-faq summary {
  font-family: var(--font-sans); font-weight: 600; font-size: 15.5px; color: var(--black);
  cursor: pointer; padding: 15px 30px 15px 0; list-style: none; position: relative;
}
.bx-faq summary::-webkit-details-marker { display: none; }
.bx-faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); color: var(--accent); font-size: 20px; font-weight: 300; }
.bx-faq details[open] summary::after { content: "–"; }
.bx-faq details p { padding-bottom: 16px; margin: 0; }

.bx-cta { max-width: 760px; margin: 30px auto 76px; padding: 0 var(--gutter); }
.bx-cta__card { background: var(--bg-sand); padding: 42px 44px; text-align: center; }
.bx-cta__card h2 { font-family: var(--font-serif); font-weight: 500; font-size: 27px; color: var(--black); margin-bottom: 10px; }
.bx-cta__card p { color: var(--text); font-size: 15px; margin-bottom: 22px; }

.bx-disclaimer { font-size: 12.5px; color: var(--text-light); margin-top: 28px; line-height: 1.65; }

.bx-related { max-width: 760px; margin: 0 auto 90px; padding: 0 var(--gutter); }
.bx-related h2 { font-family: var(--font-serif); font-weight: 500; font-size: 22px; color: var(--black); margin-bottom: 14px; }
.bx-related a { display: block; padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--accent-deep); text-decoration: none; font-size: 15px; }
.bx-related a:hover { color: var(--black); }

@media (max-width: 980px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); padding: 48px 24px 72px; }
}
@media (max-width: 640px) {
  .blog-grid { grid-template-columns: 1fr; }
  .bx-article, .bx-cta, .bx-related, .bx-hero-img { padding-left: 24px; padding-right: 24px; }
  .bx-article h2 { font-size: 24px; }
  .bx-cta__card { padding: 32px 24px; }
}
