/* ── BLOG-SPECIFIC STYLES ─────────────────────────────
   Layered on top of css/service-page.css (which provides
   tokens, reset, nav, footer, and responsive nav behavior).
   ──────────────────────────────────────────────────── */

/* ── SHARED HERO SHELL ────────────────────────────── */
.blog-hero {
  min-height: 62vh; min-height: 62svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 160px 48px 56px; position: relative; overflow: hidden;
  background: var(--navy);
}
.blog-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.04); transition: transform 8s var(--ease);
  z-index: 0;
}
.blog-hero:hover .blog-hero-bg { transform: scale(1); }
.blog-hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to top, oklch(12% 0.09 264 / 0.97) 0%, oklch(12% 0.09 264 / 0.55) 45%, oklch(12% 0.09 264 / 0.35) 100%),
    linear-gradient(135deg, oklch(21% 0.12 264 / 0.6) 0%, transparent 55%);
  pointer-events: none;
}
.blog-hero-inner {
  position: relative; z-index: 2;
  max-width: 1100px; width: 100%; margin: 0 auto;
}
.blog-back {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: oklch(97% 0.005 85 / 0.55);
  margin-bottom: 28px;
  transition: color 0.2s;
}
.blog-back:hover { color: var(--lime); }
.blog-eyebrow {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 22px;
}
.blog-eyebrow-line { width: 40px; height: 2px; background: var(--lime); }
.blog-eyebrow span {
  font-size: 11px; font-weight: 700; letter-spacing: 3px;
  color: var(--lime); text-transform: uppercase;
}
.blog-hero-title {
  font-size: clamp(36px, 5.5vw, 68px);
  font-weight: 900; font-style: italic;
  line-height: 1.02; letter-spacing: -1.6px;
  color: var(--white);
  text-transform: uppercase;
  max-width: 900px;
}
.blog-hero-meta {
  display: flex; gap: 20px; flex-wrap: wrap;
  margin-top: 28px;
  font-size: 12px; font-weight: 700; letter-spacing: 2px;
  color: oklch(97% 0.005 85 / 0.5);
  text-transform: uppercase;
}
.blog-hero-meta strong {
  color: var(--lime); font-weight: 700;
}

/* ── ARTICLE BODY ─────────────────────────────────── */
.post-body {
  background: var(--black);
  padding: 80px 48px 120px;
}
.post-body-inner {
  max-width: 760px; margin: 0 auto;
  font-size: 17px; line-height: 1.75;
  color: oklch(97% 0.005 85 / 0.82);
}
.post-body-inner > p,
.post-body-inner > h2,
.post-body-inner > h3,
.post-body-inner > ul,
.post-body-inner > ol,
.post-body-inner > blockquote,
.post-body-inner > figure {
  margin-bottom: 22px;
}
.post-body-inner h2 {
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 900; font-style: italic;
  line-height: 1.15; letter-spacing: -0.8px;
  color: var(--white);
  text-transform: uppercase;
  margin-top: 56px; margin-bottom: 20px;
}
.post-body-inner h3 {
  font-size: 20px;
  font-weight: 700; font-style: italic;
  color: var(--white);
  margin-top: 40px; margin-bottom: 14px;
}
.post-body-inner p { margin-bottom: 22px; }
.post-body-inner a {
  color: var(--lime);
  text-decoration: none;
  border-bottom: 1px solid oklch(96% 0.33 123 / 0.35);
  transition: border-color 0.2s, color 0.2s;
}
.post-body-inner a:hover {
  border-bottom-color: var(--lime);
}
.post-body-inner ul, .post-body-inner ol {
  padding-left: 26px; margin-bottom: 22px;
}
.post-body-inner li { margin-bottom: 10px; }
.post-body-inner blockquote {
  border-left: 3px solid var(--lime);
  padding: 4px 0 4px 22px;
  margin: 32px 0;
  font-style: italic; color: oklch(97% 0.005 85 / 0.7);
}
.post-body-inner img {
  width: 100%; height: auto;
  margin: 32px 0;
  border: 1px solid oklch(97% 0.005 85 / 0.08);
}
.post-body-inner strong { color: var(--white); font-weight: 700; }
.post-body-inner code {
  background: oklch(21% 0.12 264);
  padding: 2px 6px;
  font-family: 'Courier New', monospace;
  font-size: 15px;
}

/* ── POST FOOTER (share row / more posts) ────────── */
.post-footer {
  max-width: 760px; margin: 0 auto;
  padding-top: 40px;
  border-top: 1px solid oklch(97% 0.005 85 / 0.1);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 20px;
}
.post-footer a {
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--lime);
  transition: color 0.2s;
}
.post-footer a:hover { color: var(--white); }

/* ── LISTING PAGE ─────────────────────────────────── */
.blog-list-section {
  background: var(--black);
  padding: 80px 48px 120px;
}
.blog-list-inner {
  max-width: 1200px; margin: 0 auto;
}
.blog-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.blog-card {
  display: flex; flex-direction: column;
  background: oklch(15% 0.10 262);
  border: 1px solid oklch(97% 0.005 85 / 0.08);
  overflow: hidden;
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease);
  text-decoration: none; color: inherit;
}
.blog-card:hover {
  border-color: var(--lime);
  transform: translateY(-4px);
}
.blog-card-image {
  width: 100%; aspect-ratio: 16 / 10;
  background-size: cover; background-position: center;
  background-color: oklch(21% 0.12 264);
}
.blog-card-image.placeholder {
  background: linear-gradient(135deg, oklch(28% 0.11 262), oklch(13% 0.10 262));
}
.blog-card-body {
  padding: 26px 24px 28px;
  display: flex; flex-direction: column; gap: 14px; flex: 1;
}
.blog-card-date {
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  color: var(--lime);
  text-transform: uppercase;
}
.blog-card-title {
  font-size: 22px; font-weight: 900; font-style: italic;
  line-height: 1.2; letter-spacing: -0.4px;
  color: var(--white);
  text-transform: uppercase;
}
.blog-card-excerpt {
  font-size: 14px; line-height: 1.65;
  color: oklch(97% 0.005 85 / 0.6);
  flex: 1;
}
.blog-card-arrow {
  font-size: 20px; color: var(--lime);
  transition: transform 0.3s var(--ease);
  align-self: flex-start;
}
.blog-card:hover .blog-card-arrow { transform: translateX(4px); }

.blog-empty {
  padding: 80px 40px; text-align: center;
  color: oklch(97% 0.005 85 / 0.5);
  font-size: 15px;
}
.blog-empty h2 {
  font-size: 22px; font-weight: 900; font-style: italic;
  text-transform: uppercase;
  color: var(--white); margin-bottom: 12px;
}

/* ── RESPONSIVE ───────────────────────────────────── */
@media (max-width: 1024px) {
  .blog-list-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .blog-hero { padding: 130px 24px 44px; min-height: 55vh; min-height: 55svh; }
  .blog-hero-title { font-size: clamp(30px, 8vw, 44px); letter-spacing: -1px; }
  .blog-hero-meta { gap: 14px; font-size: 11px; }
  .post-body { padding: 56px 24px 80px; }
  .post-body-inner { font-size: 16px; line-height: 1.7; }
  .post-body-inner h2 { font-size: 24px; margin-top: 40px; }
  .post-body-inner h3 { font-size: 18px; margin-top: 32px; }
  .post-footer { padding-top: 32px; }
  .blog-list-section { padding: 56px 24px 80px; }
  .blog-list-grid { grid-template-columns: 1fr; gap: 20px; }
  .blog-card-body { padding: 22px 20px 24px; }
  .blog-card-title { font-size: 20px; }
}
