/* Diamond Step — Shared Blog Stylesheet */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:   #0D1B2E;
  --navy2:  #0A1522;
  --navy3:  #152336;
  --silver: #9EAAB5;
  --slt:    #C4D0D9;
  --white:  #FFFFFF;
  --off:    #F3F5F7;
  --muted:  #586472;
  --border: rgba(13,27,46,0.1);
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; font-weight: 400; font-size: 16px; color: var(--navy); background: var(--white); }

/* ── NAV ── */
.bnav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%; height: 72px;
  background: rgba(10,21,34,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.bnav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.bnav-logo img { height: 40px; }
.bnav-logo-copy .name {
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 14px;
  color: var(--white); letter-spacing: 3px; text-transform: uppercase; line-height: 1;
}
.bnav-logo-copy .tag { font-size: 9px; color: var(--silver); letter-spacing: 2px; margin-top: 3px; text-transform: uppercase; }
.bnav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.bnav-links a {
  font-family: 'Space Grotesk', sans-serif; font-size: 11px; font-weight: 600;
  letter-spacing: 1.8px; text-transform: uppercase; text-decoration: none;
  color: rgba(255,255,255,0.6); transition: color .25s;
}
.bnav-links a:hover { color: var(--white); }
.bnav-cta { background: var(--white) !important; color: var(--navy) !important; padding: 12px 20px !important; font-weight: 700 !important; min-height: 48px; }
.bnav-cta:hover { background: var(--slt) !important; }

/* ── BREADCRUMB ── */
.breadcrumb { padding: 92px 5% 0; background: var(--white); }
.breadcrumb-inner {
  max-width: 860px; margin: 0 auto;
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--muted);
}
.breadcrumb-inner a { color: var(--muted); text-decoration: none; transition: color .2s; }
.breadcrumb-inner a:hover { color: var(--navy); }
.breadcrumb-sep { color: var(--slt); }

/* ── POST HERO (with optional background image) ── */
.post-hero {
  position: relative; overflow: hidden;
  padding: 56px 5% 64px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background-color: var(--navy2);
  background-size: cover;
  background-position: center;
}
.post-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,21,34,0.92) 40%, rgba(10,21,34,0.78) 100%);
  z-index: 0;
}
.post-hero-inner { position: relative; z-index: 1; max-width: 860px; }
.post-cat {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Space Grotesk', sans-serif; font-size: 10px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase; color: var(--silver); margin-bottom: 20px;
}
.post-cat::before { content: ''; width: 24px; height: 2px; background: var(--silver); }
.post-hero h1 {
  font-family: 'Space Grotesk', sans-serif; font-size: clamp(28px, 4vw, 48px);
  font-weight: 700; letter-spacing: -1px; color: var(--white);
  line-height: 1.12; margin-bottom: 22px;
}
.post-meta {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  font-size: 12px; color: var(--silver);
}
.post-meta span { display: flex; align-items: center; gap: 6px; }
.post-meta svg { width: 13px; height: 13px; stroke: var(--silver); fill: none; stroke-width: 2; }

/* ── ARTICLE INLINE IMAGE ── */
.article-img {
  width: 100%; height: 340px;
  object-fit: cover; object-position: center;
  display: block; margin: 36px 0 8px;
}
.img-cap {
  font-size: 11.5px; color: var(--silver);
  font-style: italic; margin-bottom: 28px;
  padding-left: 4px;
}

/* ── ARTICLE LAYOUT ── */
.post-wrap {
  display: grid; grid-template-columns: 1fr 300px;
  gap: 60px; max-width: 1200px; margin: 0 auto;
  padding: 60px 5%;
}
.post-body { min-width: 0; }
.post-body p { font-size: 15.5px; line-height: 1.9; color: var(--muted); margin-bottom: 22px; }
.post-body h2 {
  font-family: 'Space Grotesk', sans-serif; font-size: 22px; font-weight: 700;
  letter-spacing: -.5px; color: var(--navy); margin: 44px 0 16px;
  padding-bottom: 12px; border-bottom: 2px solid var(--off);
}
.post-body h3 {
  font-family: 'Space Grotesk', sans-serif; font-size: 17px; font-weight: 700;
  color: var(--navy); margin: 28px 0 12px;
}
.post-body ul, .post-body ol { padding-left: 22px; margin-bottom: 22px; }
.post-body li { font-size: 15px; line-height: 1.85; color: var(--muted); margin-bottom: 8px; }
.post-body strong { color: var(--navy); font-weight: 600; }
.post-body a { color: var(--navy); font-weight: 500; }

/* ── FAQ ── */
.faq-item { border-top: 1px solid var(--border); padding: 18px 0; }
.faq-q { font-family: 'Space Grotesk', sans-serif; font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.faq-a { font-size: 14.5px; color: var(--muted); line-height: 1.8; }

/* ── KEYWORD TAGS ── */
.kw-cluster { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0; }
.kw-tag { background: var(--off); border: 1px solid var(--border); font-size: 11px; font-weight: 600; letter-spacing: .5px; color: var(--muted); padding: 5px 12px; }

/* ── SIDEBAR ── */
.post-sidebar { display: flex; flex-direction: column; gap: 28px; }
.sidebar-box { border: 1.5px solid var(--border); padding: 28px; }
.sidebar-box h4 { font-family: 'Space Grotesk', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--navy); margin-bottom: 18px; }
.sidebar-toc { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.sidebar-toc li a { font-size: 13px; color: var(--muted); text-decoration: none; display: flex; align-items: center; gap: 8px; transition: color .2s; }
.sidebar-toc li a:hover { color: var(--navy); }
.sidebar-toc li a::before { content: ''; width: 16px; height: 1px; background: var(--border); flex-shrink: 0; }
.sidebar-cta { background: var(--navy); border: none !important; padding: 28px !important; }
.sidebar-cta h4 { color: var(--white) !important; }
.sidebar-cta p { font-size: 13px; color: var(--silver); line-height: 1.7; margin-bottom: 20px; }
.sidebar-cta a { display: block; background: var(--white); color: var(--navy); font-family: 'Space Grotesk', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; text-decoration: none; padding: 13px 18px; text-align: center; transition: background .25s; }
.sidebar-cta a:hover { background: var(--slt); }

/* ── RELATED POSTS ── */
.related { background: var(--off); padding: 60px 5%; }
.related-inner { max-width: 1200px; margin: 0 auto; }
.related h2 { font-family: 'Space Grotesk', sans-serif; font-size: 22px; font-weight: 700; color: var(--navy); margin-bottom: 32px; letter-spacing: -.5px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rel-card { background: var(--white); padding: 0; border: 1.5px solid var(--border); text-decoration: none; display: block; overflow: hidden; transition: border-color .25s, box-shadow .25s; }
.rel-card:hover { border-color: rgba(13,27,46,.25); box-shadow: 0 8px 30px rgba(13,27,46,.07); }
.rel-card-img { height: 140px; overflow: hidden; }
.rel-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; display: block; }
.rel-card:hover .rel-card-img img { transform: scale(1.05); }
.rel-card-body { padding: 20px; }
.rel-cat { font-size: 9px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--silver); margin-bottom: 8px; }
.rel-title { font-family: 'Space Grotesk', sans-serif; font-size: 14px; font-weight: 700; color: var(--navy); line-height: 1.4; margin-bottom: 10px; }
.rel-arrow { font-size: 11px; color: var(--silver); font-weight: 600; letter-spacing: 1px; }

/* ── BLOG INDEX HERO ── */
.blog-hero { background: var(--navy); padding: 120px 5% 80px; }
.blog-hero-inner { max-width: 1200px; margin: 0 auto; }
.blog-hero p { font-family: 'Space Grotesk', sans-serif; font-size: 10px; font-weight: 700; letter-spacing: 4px; text-transform: uppercase; color: var(--silver); margin-bottom: 16px; }
.blog-hero h1 { font-family: 'Space Grotesk', sans-serif; font-size: clamp(36px, 5vw, 64px); font-weight: 700; letter-spacing: -1.5px; color: var(--white); line-height: 1.08; margin-bottom: 20px; }
.blog-hero span { color: var(--silver); }
.blog-hero-sub { font-size: 16px; color: var(--slt); line-height: 1.8; max-width: 520px; font-weight: 300; }

/* ── BLOG GRID ── */
.blog-grid-wrap { padding: 70px 5%; max-width: 1200px; margin: 0 auto; }
.blog-section-title {
  font-family: 'Space Grotesk', sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase; color: var(--silver);
  margin-bottom: 28px; display: flex; align-items: center; gap: 16px;
}
.blog-section-title::after { content: ''; flex: 1; height: 1px; background: var(--off); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 56px; }

/* ── BLOG CARD ── */
.blog-card { border: 1.5px solid var(--border); text-decoration: none; display: block; overflow: hidden; transition: border-color .25s, box-shadow .25s; background: var(--white); }
.blog-card:hover { border-color: rgba(13,27,46,.2); box-shadow: 0 12px 40px rgba(13,27,46,.08); }
.blog-card-img { height: 200px; overflow: hidden; position: relative; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .55s cubic-bezier(.25,.46,.45,.94); }
.blog-card:hover .blog-card-img img { transform: scale(1.06); }
.blog-card-body { padding: 24px 24px 28px; }
.blog-card-cat { font-size: 9.5px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--silver); margin-bottom: 10px; }
.blog-card-title { font-family: 'Space Grotesk', sans-serif; font-size: 17px; font-weight: 700; color: var(--navy); line-height: 1.35; margin-bottom: 12px; letter-spacing: -.3px; }
.blog-card-excerpt { font-size: 13.5px; color: var(--muted); line-height: 1.75; margin-bottom: 18px; }
.blog-card-link { font-family: 'Space Grotesk', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--navy); }

/* ── FOOTER ── */
.blog-footer {
  background: var(--navy2); border-top: 1px solid rgba(255,255,255,0.06);
  padding: 48px 5% 28px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 24px;
}
.blog-footer-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.blog-footer-logo img { height: 36px; }
.blog-footer-logo span { font-family: 'Space Grotesk', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 3px; color: var(--white); text-transform: uppercase; }
.blog-footer p { font-size: 12px; color: rgba(158,170,181,.5); }
.blog-footer a { color: rgba(158,170,181,.5); text-decoration: none; font-size: 12px; }
.blog-footer a:hover { color: var(--silver); }
.blog-footer-links { display: flex; gap: 20px; flex-wrap: wrap; }

/* ── PRICE DISCLAIMER ── */
.price-disclaimer {
  background: var(--off);
  border-left: 3px solid var(--navy);
  padding: 16px 20px;
  margin: 20px 0 28px;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.7;
}
.price-disclaimer strong { color: var(--navy); font-weight: 600; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .post-wrap { grid-template-columns: 1fr; gap: 40px; }
  .post-sidebar { display: none; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .bnav-links { display: none; }
}
@media (max-width: 580px) {
  .related-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .article-img { height: 220px; }
}
