/* Hauserman Listing Guard: blog styles (extends styles.css, same tokens) */

/* ---------- Blog index ---------- */
.blog-hero { padding: clamp(72px, 10vw, 128px) 0 clamp(40px, 6vw, 64px); text-align: center; }
.blog-hero .display { font-size: clamp(44px, 8vw, 96px); max-width: 12ch; margin: 0 auto; }
.blog-hero .lede { max-width: 640px; margin: 24px auto 0; }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border-radius: var(--radius-lg); padding: 34px 30px 30px;
  box-shadow: 0 0 0 1px rgba(0,0,0,.05);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.post-card:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(0,0,0,.05), 0 24px 50px -24px rgba(10,30,80,.25); }
.post-card .pc-meta { font-size: 13px; font-weight: 600; color: var(--blue); letter-spacing: .01em; }
.post-card h2, .post-card h3 { font-size: 24px; line-height: 1.15; letter-spacing: -0.03em; margin-top: 10px; }
.post-card h2 a, .post-card h3 a { color: var(--ink); }
.post-card h2 a::after, .post-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.post-card h2 a:hover, .post-card h3 a:hover { text-decoration: none; }
.post-card p { margin-top: 12px; color: var(--muted); font-size: 16px; }
.post-card .pc-more { margin-top: auto; padding-top: 22px; font-size: 15px; font-weight: 500; color: var(--blue); }
.post-card .pc-more::after { content: " \203A"; }
.post-card.lead { grid-column: span 3; padding: clamp(34px, 5vw, 56px); }
.post-card.lead h2 { font-size: clamp(30px, 4.2vw, 44px); max-width: 22ch; }
.post-card.lead p { font-size: clamp(17px, 1.8vw, 20px); max-width: 60ch; }
.post-grid.cols-1 { grid-template-columns: minmax(0, 760px); justify-content: center; }
.post-grid.cols-2 { grid-template-columns: repeat(2, 1fr); max-width: 1080px; margin-inline: auto; }
.post-grid.cols-2 .post-card h2 { font-size: clamp(26px, 2.6vw, 32px); }
.bg-white .post-card { background: var(--mist); box-shadow: none; }
.empty-note { text-align: center; color: var(--muted); }

/* ---------- Article ---------- */
.crumbs { font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--muted); }
.crumbs span[aria-hidden] { color: #b8b8bf; }
.article-head { padding: clamp(40px, 7vw, 88px) 0 0; }
.article-head .wrap-read, .wrap-read { width: min(760px, 100% - 44px); margin-inline: auto; }
.article-head h1 {
  font-size: clamp(36px, 5.6vw, 60px); line-height: 1.06; letter-spacing: -0.04em;
  margin-top: 22px;
}
.article-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 20px; font-size: 14px; color: var(--muted); }
.article-meta b { color: var(--ink-2); font-weight: 600; }

.short-answer {
  margin-top: 32px; padding: 26px 28px; border-radius: var(--radius-lg);
  background: var(--white); box-shadow: 0 0 0 1px rgba(0,0,0,.05), 0 20px 50px -30px rgba(10,30,80,.25);
  border-left: 4px solid var(--blue);
}
.short-answer .sa-k { font-size: 13px; font-weight: 600; color: var(--blue); letter-spacing: .02em; text-transform: uppercase; }
.short-answer p { margin-top: 8px; font-size: clamp(18px, 2vw, 20px); line-height: 1.5; letter-spacing: -0.015em; color: var(--ink); }
.short-answer p strong { font-weight: 600; }

.prose { padding: clamp(28px, 4vw, 44px) 0 0; font-size: 18px; line-height: 1.7; color: var(--ink-2); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 {
  font-size: clamp(26px, 3.2vw, 34px); line-height: 1.15; letter-spacing: -0.03em; color: var(--ink);
  margin-top: 2em; scroll-margin-top: calc(var(--nav-h) + 16px);
}
.prose h3 { font-size: 21px; letter-spacing: -0.02em; color: var(--ink); margin-top: 1.6em; }
.prose h2 + *, .prose h3 + * { margin-top: .6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--blue); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { text-decoration: underline; text-decoration-color: rgba(10,71,194,.35); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: currentColor; }
.prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--line); color: var(--muted); }
.prose code { font-family: var(--mono); font-size: .88em; background: var(--mist); padding: 2px 6px; border-radius: 6px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--ink); font-weight: 600; background: var(--mist); }

.takeaways {
  margin-top: 2.2em !important; padding: 30px 30px 26px; border-radius: var(--radius-lg); background: var(--mist);
}
.takeaways h2 { margin-top: 0 !important; font-size: 22px !important; }
.takeaways ul { margin-top: 14px; padding: 0; list-style: none; display: grid; gap: 10px; }
.takeaways li { position: relative; padding-left: 26px; font-size: 17px; line-height: 1.55; margin: 0 !important; }
.takeaways li::before { content: ""; position: absolute; left: 3px; top: 8px; width: 10px; height: 6px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }

.sources { font-size: 15px; }
.sources li { word-break: break-word; }

.article-faq { padding-top: clamp(48px, 6vw, 72px); }
.article-faq > h2 { font-size: clamp(26px, 3.2vw, 34px); letter-spacing: -0.03em; margin-bottom: 18px; }
.article-faq .faq { max-width: none; }

.author-box {
  margin-top: clamp(48px, 6vw, 72px); display: grid; grid-template-columns: 64px 1fr; gap: 20px; align-items: start;
  padding: 28px; border-radius: var(--radius-lg); background: var(--white); box-shadow: 0 0 0 1px rgba(0,0,0,.05);
}
.author-box .avatar {
  width: 64px; height: 64px; border-radius: 50%; background: var(--grad); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 22px; letter-spacing: -0.02em;
}
.author-box .ab-k { font-size: 13px; color: var(--muted); font-weight: 500; }
.author-box .ab-name { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; margin-top: 2px; }
.author-box .ab-name a { color: var(--ink); }
.author-box p.ab-bio { margin-top: 8px; font-size: 16px; color: var(--ink-2); line-height: 1.55; }

.cta-card {
  margin-top: 24px; padding: clamp(30px, 5vw, 48px); border-radius: var(--radius-xl);
  background: #0b0d12; color: #f5f5f7; text-align: center;
}
.cta-card .eyebrow { color: #8fb3ff; }
.cta-card h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.08; letter-spacing: -0.035em; max-width: 18ch; margin: 0 auto; }
.cta-card p { color: #a1a1a6; margin: 14px auto 0; max-width: 52ch; }
.cta-card .actions { justify-content: center; margin-top: 26px; }
.cta-card .link-arrow { color: #8fb3ff; }

.disclaimer { margin-top: 28px; font-size: 14px; color: var(--muted); line-height: 1.6; }
.disclaimer strong { color: var(--ink-2); font-weight: 600; }

.related { padding: clamp(72px, 9vw, 112px) 0; }
.related .post-grid { margin-top: 32px; }
.related h2 { text-align: center; }

@media (max-width: 960px) {
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .post-card.lead { grid-column: span 2; }
}
@media (max-width: 680px) {
  .post-grid { grid-template-columns: 1fr; }
  .post-card.lead { grid-column: auto; }
  .post-grid.cols-2 { grid-template-columns: 1fr; }
  .post-card { padding: 28px 24px; }
  .prose { font-size: 17px; }
  .short-answer { padding: 22px 20px; }
  .takeaways { padding: 24px 20px 20px; }
  .author-box { grid-template-columns: 1fr; padding: 24px 20px; }
}
