/* DESIGN HANDOFF ONLY. Scoped blog styles; web-developer owns production integration. */
.ht-blog {
  --blog-paper: #fffdfa;
  --blog-surface: #fff;
  --blog-soft: #f7f4ef;
  --blog-ink: #292421;
  --blog-muted: #5e5753;
  --blog-line: #e7ded6;
  --blog-red: #b92d28;
  --blog-red-hover: #98231e;
  margin: 0;
  min-width: 320px;
  background: var(--blog-paper);
  color: var(--blog-ink);
  font: 16px/1.55 Inter, Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
.ht-blog *, .ht-blog *::before, .ht-blog *::after { box-sizing: border-box; }
.ht-blog a { color: inherit; }
.ht-blog img { display: block; max-width: 100%; height: auto; }
.ht-blog :focus-visible { outline: 3px solid var(--blog-red); outline-offset: 3px; }
.ht-blog__wrap { width: min(calc(100% - 28px), 1160px); margin-inline: auto; }
.ht-blog__skip { position: fixed; z-index: 120; top: 8px; left: 8px; padding: 10px 14px; background: var(--blog-surface); transform: translateY(-180%); }
.ht-blog__skip:focus { transform: none; }
.ht-blog__header { border-bottom: 1px solid var(--blog-line); background: var(--blog-paper); }
.ht-blog__header-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding-block: 16px; }
.ht-blog__brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; line-height: 1.06; }
.ht-blog__brand img { width: 42px; height: 42px; object-fit: contain; }
.ht-blog__brand strong { display: block; font-size: 18px; font-weight: 800; letter-spacing: -.025em; }
.ht-blog__brand small { display: block; margin-top: 4px; color: var(--blog-red); font-size: 10px; font-weight: 760; letter-spacing: .11em; text-transform: uppercase; }
.ht-blog__nav { display: flex; gap: 18px; align-items: center; margin-left: auto; font-size: 14px; font-weight: 700; }
.ht-blog__nav a { padding: 10px 2px; text-decoration: none; }
.ht-blog__nav a:hover, .ht-blog__nav a[aria-current="page"] { color: var(--blog-red); }
.ht-blog__cta { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 10px 16px; border-radius: 10px; background: var(--blog-red); color: #fff !important; font-size: 14px; font-weight: 750; line-height: 1.25; text-align: center; text-decoration: none; }
.ht-blog__cta:hover { background: var(--blog-red-hover); }
.ht-blog__main { padding-block: clamp(40px, 6vw, 88px) 96px; }
.ht-blog__eyebrow { margin: 0 0 12px; color: var(--blog-red); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.ht-blog__title { max-width: 900px; margin: 0; font-size: clamp(36px, 6vw, 64px); line-height: 1.1; letter-spacing: -.045em; overflow-wrap: anywhere; }
.ht-blog__intro { max-width: 680px; margin: 18px 0 0; color: var(--blog-muted); font-size: clamp(17px, 2vw, 20px); line-height: 1.55; }
.ht-blog__empty { max-width: 760px; margin-top: 40px; padding: clamp(24px, 5vw, 48px); border: 1px solid var(--blog-line); border-radius: 16px; background: var(--blog-surface); }
.ht-blog__empty p { margin: 0; font-size: 18px; }
.ht-blog__list { display: grid; grid-template-columns: 1fr; gap: 20px; margin: 40px 0 0; padding: 0; list-style: none; }
.ht-blog__list > li { min-width: 0; }
.ht-blog__card { height: 100%; overflow: hidden; border: 1px solid var(--blog-line); border-radius: 16px; background: var(--blog-surface); }
.ht-blog__card-link { display: flex; height: 100%; flex-direction: column; text-decoration: none; }
.ht-blog__card:has(.ht-blog__card-link:focus-visible) { outline: 3px solid var(--blog-red); outline-offset: 3px; }
.ht-blog__card-link:hover { color: var(--blog-red); }
.ht-blog__card-link:hover .ht-blog__card-title { text-decoration: underline; text-underline-offset: 3px; }
.ht-blog__card-media { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--blog-soft); }
.ht-blog__body-media { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; }
.ht-blog__card-body { display: flex; flex: 1; flex-direction: column; padding: 24px; }
.ht-blog__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; color: var(--blog-muted); font-size: 14px; line-height: 1.5; }
.ht-blog__meta > * { min-width: 0; overflow-wrap: anywhere; }
.ht-blog__type { color: var(--blog-red); font-weight: 750; }
.ht-blog__card-title { margin: 14px 0 10px; font-size: clamp(22px, 2.6vw, 28px); line-height: 1.2; letter-spacing: -.035em; overflow-wrap: anywhere; }
.ht-blog__excerpt { margin: 0; color: var(--blog-muted); line-height: 1.55; overflow-wrap: anywhere; }
.ht-blog__card-more { margin-top: auto; padding-top: 22px; color: var(--blog-red); font-weight: 750; }
.ht-blog__back { display: inline-flex; min-height: 44px; align-items: center; gap: 8px; margin-bottom: 30px; color: var(--blog-red) !important; font-weight: 750; text-underline-offset: 3px; }
.ht-blog__article { max-width: 800px; margin-inline: auto; }
.ht-blog__article .ht-blog__title { font-size: clamp(36px, 5vw, 58px); }
.ht-blog__article .ht-blog__meta { margin-top: 24px; }
.ht-blog__cover { margin: 36px 0 0; }
.ht-blog__cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 16px; background: var(--blog-soft); }
.ht-blog__cover figcaption { min-width: 0; margin-top: 10px; color: var(--blog-muted); font-size: 13px; overflow-wrap: anywhere; }
.ht-blog__prose { max-width: 70ch; margin-top: 40px; font-size: 18px; line-height: 1.75; overflow-wrap: anywhere; }
.ht-blog__prose > :first-child { margin-top: 0; }
.ht-blog__prose p, .ht-blog__prose ul, .ht-blog__prose ol { margin-block: 0 1.35em; }
.ht-blog__prose h2 { margin: 1.8em 0 .65em; font-size: clamp(25px, 3vw, 34px); line-height: 1.2; letter-spacing: -.035em; }
.ht-blog__prose h3 { margin: 1.5em 0 .55em; font-size: 23px; line-height: 1.3; }
.ht-blog__prose li + li { margin-top: .5em; }
.ht-blog__prose a, .ht-blog__source a { color: var(--blog-red); text-underline-offset: 3px; }
.ht-blog__prose blockquote { margin: 1.5em 0; padding: 12px 0 12px 22px; border-left: 4px solid var(--blog-red); background: var(--blog-soft); }
.ht-blog__source { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--blog-line); font-size: 15px; overflow-wrap: anywhere; }
.ht-blog__footer { padding-block: 28px; border-top: 1px solid var(--blog-line); color: var(--blog-muted); font-size: 14px; }
/* Placeholder is a DESIGN FIXTURE only. Never ship as a public cover. */
.ht-blog__fixture-media { display: grid; place-items: center; min-height: 180px; padding: 20px; aspect-ratio: 16 / 9; border: 1px dashed var(--blog-line); border-radius: 12px; background: var(--blog-soft); color: var(--blog-muted); text-align: center; }
@media (min-width: 700px) {
  .ht-blog__wrap { width: min(calc(100% - 48px), 1160px); }
  .ht-blog__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1050px) { .ht-blog__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 699px) {
  .ht-blog__header-inner { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
  .ht-blog__brand img { width: 34px; height: 34px; }
  .ht-blog__brand strong { font-size: 15px; }
  .ht-blog__brand small { font-size: 8px; }
  .ht-blog__nav { margin-left: 0; gap: 8px; }
  .ht-blog__nav a { min-height: 44px; display: inline-flex; align-items: center; }
  .ht-blog__cta { grid-column: 1 / -1; width: 100%; }
  .ht-blog__card-body { padding: 20px; }
  .ht-blog__main { padding-bottom: 64px; }
  .ht-blog__prose { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .ht-blog *, .ht-blog *::before, .ht-blog *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
