/* ==========================================================================
   IndSoft Systems — Blog Stylesheet
   Used by /blog/index.html and /blog/*.html (on top of premium-pages.css)
   ========================================================================== */

:root {
  --blog-primary: #2563eb;
  --blog-primary-dark: #1d4ed8;
  --blog-primary-soft: #eff6ff;
  --blog-ink: #0f172a;
  --blog-text: #334155;
  --blog-muted: #64748b;
  --blog-border: #e2e8f0;
  --blog-bg: #f8fafc;
  --blog-card: #ffffff;
  --blog-green: #059669;
  --blog-green-soft: #ecfdf5;
  --blog-amber: #b45309;
  --blog-amber-soft: #fffbeb;
  --blog-radius: 16px;
  --blog-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.06);
  --blog-shadow-hover: 0 4px 8px rgba(15, 23, 42, 0.06), 0 18px 40px rgba(15, 23, 42, 0.12);
}

.blog-page { background: var(--blog-bg); }
.blog-page a { transition: color .2s ease; }

/* ---------- Reading progress ---------- */
.blog-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, #38bdf8, var(--blog-primary));
  z-index: 10000; transition: width .1s linear;
}

/* ---------- Hero (listing) ---------- */
.blog-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #090d16 0%, #0f172a 60%, #1e293b 100%);
  padding: 175px 0 70px;
  color: #fff;
}
.blog-hero::before {
  content: ''; position: absolute; top: -45%; right: -8%;
  width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, rgba(56,189,248,.18) 0%, transparent 70%);
  filter: blur(40px); pointer-events: none;
}
.blog-hero::after {
  content: ''; position: absolute; bottom: -50%; left: -6%;
  width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,.22) 0%, transparent 70%);
  filter: blur(40px); pointer-events: none;
}
.blog-hero .container { position: relative; z-index: 1; }
.blog-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: #7dd3fc; background: rgba(56,189,248,.1); border: 1px solid rgba(56,189,248,.25);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.blog-hero h1 {
  font-family: var(--prem-font); font-weight: 800; color: #fff;
  font-size: 48px; line-height: 1.12; letter-spacing: -.02em; margin-bottom: 14px;
}
.blog-hero p.lead-text { color: #cbd5e1; font-size: 18px; line-height: 1.7; max-width: 640px; margin-bottom: 28px; }

.blog-search {
  position: relative; max-width: 560px;
}
.blog-search input {
  width: 100%; height: 56px; border-radius: 14px; border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.96); padding: 0 20px 0 52px;
  font-family: var(--prem-font); font-size: 16px; color: var(--blog-ink);
  box-shadow: 0 10px 30px rgba(0,0,0,.25); outline: none;
}
.blog-search input:focus { box-shadow: 0 0 0 4px rgba(56,189,248,.35), 0 10px 30px rgba(0,0,0,.25); }
.blog-search .search-icon {
  position: absolute; left: 20px; top: 50%; transform: translateY(-50%);
  color: var(--blog-muted); font-size: 17px; pointer-events: none;
}

/* ---------- Category chips ---------- */
.blog-filter-bar {
  background: #fff; border-bottom: 1px solid var(--blog-border);
  position: sticky; top: 0; z-index: 50;
}
.blog-chips {
  display: flex; gap: 10px; overflow-x: auto; padding: 16px 0;
  scrollbar-width: none;
}
.blog-chips::-webkit-scrollbar { display: none; }
.blog-chip {
  flex: 0 0 auto; border: 1px solid var(--blog-border); background: #fff;
  color: var(--blog-text); font-family: var(--prem-font); font-weight: 600; font-size: 14px;
  padding: 8px 18px; border-radius: 999px; cursor: pointer; transition: all .2s ease;
}
.blog-chip:hover { border-color: var(--blog-primary); color: var(--blog-primary); }
.blog-chip.active { background: var(--blog-primary); border-color: var(--blog-primary); color: #fff; }
.blog-chip .count { opacity: .7; margin-left: 4px; font-weight: 500; }

/* ---------- Section titles ---------- */
.blog-section { padding: 56px 0; }
.blog-section-title {
  font-family: var(--prem-font); font-weight: 800; color: var(--blog-ink);
  font-size: 28px; letter-spacing: -.01em; margin-bottom: 24px;
}

/* ---------- Cover art ---------- */
.blog-cover {
  position: relative; overflow: hidden; border-radius: 12px;
  aspect-ratio: 16 / 9; background: #0f172a;
}
.blog-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }

/* ---------- Featured card ---------- */
.blog-featured {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 36px; align-items: center;
  background: var(--blog-card); border: 1px solid var(--blog-border);
  border-radius: var(--blog-radius); padding: 20px; box-shadow: var(--blog-shadow);
  transition: box-shadow .3s ease, transform .3s ease; text-decoration: none !important;
}
.blog-featured:hover { box-shadow: var(--blog-shadow-hover); transform: translateY(-3px); }
.blog-featured:hover .blog-cover img { transform: scale(1.03); }
.blog-featured .blog-card-title { font-size: 30px; line-height: 1.25; }
.blog-featured .blog-card-excerpt { font-size: 16px; -webkit-line-clamp: 4; }
.blog-featured-body { padding: 8px 16px 8px 0; }
.blog-featured-label {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em; color: var(--blog-amber); margin-bottom: 10px;
}

/* ---------- Post grid ---------- */
.blog-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px;
}
.blog-card {
  display: flex; flex-direction: column; background: var(--blog-card);
  border: 1px solid var(--blog-border); border-radius: var(--blog-radius);
  overflow: hidden; box-shadow: var(--blog-shadow);
  transition: box-shadow .3s ease, transform .3s ease; text-decoration: none !important; height: 100%;
}
.blog-card:hover { box-shadow: var(--blog-shadow-hover); transform: translateY(-4px); }
.blog-card:hover .blog-cover img { transform: scale(1.04); }
.blog-card .blog-cover { border-radius: 0; }
.blog-card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.blog-tag {
  display: inline-block; align-self: flex-start;
  font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--blog-primary); background: var(--blog-primary-soft);
  padding: 5px 12px; border-radius: 999px; margin-bottom: 12px; text-decoration: none !important;
}
.blog-tag:hover { color: var(--blog-primary-dark); }
.blog-card-title {
  font-family: var(--prem-font); font-weight: 800; color: var(--blog-ink);
  font-size: 20px; line-height: 1.35; margin-bottom: 10px; letter-spacing: -.01em;
}
.blog-card:hover .blog-card-title, .blog-featured:hover .blog-card-title { color: var(--blog-primary); }
.blog-card-excerpt {
  color: var(--blog-muted); font-size: 15px; line-height: 1.65; margin-bottom: 18px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.blog-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px;
  font-size: 13.5px; color: var(--blog-muted); margin-top: auto;
}
.blog-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: #cbd5e1; }
.blog-avatar {
  width: 32px; height: 32px; border-radius: 50%; flex: 0 0 32px;
  background: #fff; border: 1px solid var(--blog-border);
  display: inline-flex; align-items: center; justify-content: center; overflow: hidden;
}
.blog-avatar img { width: 22px; height: auto; }
.blog-author-name { color: var(--blog-ink); font-weight: 600; }

.blog-empty {
  display: none; text-align: center; padding: 60px 20px; color: var(--blog-muted);
  background: #fff; border: 1px dashed var(--blog-border); border-radius: var(--blog-radius);
}
.blog-empty i { font-size: 28px; color: #cbd5e1; margin-bottom: 12px; }

/* ---------- CTA band ---------- */
.blog-cta-band {
  background: linear-gradient(135deg, var(--blog-primary) 0%, #1e40af 100%);
  border-radius: 20px; padding: 44px 48px; color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.blog-cta-band::after {
  content: ''; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px;
  border-radius: 50%; background: rgba(255,255,255,.08);
}
.blog-cta-band h3 { color: #fff; font-family: var(--prem-font); font-weight: 800; font-size: 26px; margin-bottom: 6px; }
.blog-cta-band p { color: #dbeafe; margin: 0; font-size: 16px; max-width: 560px; }
.blog-cta-band .btn-white {
  position: relative; z-index: 1;
  background: #fff; color: var(--blog-primary); font-weight: 700; border-radius: 12px;
  padding: 14px 26px; font-size: 15px; text-decoration: none; white-space: nowrap;
}
.blog-cta-band .btn-white:hover { background: #f1f5f9; color: var(--blog-primary-dark); }

/* ==========================================================================
   ARTICLE PAGE
   ========================================================================== */
.post-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #090d16 0%, #0f172a 60%, #1e293b 100%);
  padding: 165px 0 150px; color: #fff;
}
.post-hero::before {
  content: ''; position: absolute; top: -40%; right: -5%; width: 520px; height: 520px;
  border-radius: 50%; background: radial-gradient(circle, rgba(56,189,248,.16) 0%, transparent 70%);
  filter: blur(40px); pointer-events: none;
}
.post-hero .container { position: relative; z-index: 1; }
.post-breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: 14px; color: #94a3b8; margin-bottom: 22px; padding: 0; list-style: none;
}
.post-breadcrumb a { color: #cbd5e1; text-decoration: none; }
.post-breadcrumb a:hover { color: #fff; }
.post-breadcrumb .sep { color: #475569; font-size: 11px; }
.post-hero .blog-tag { background: rgba(56,189,248,.14); color: #7dd3fc; }
.post-hero h1 {
  font-family: var(--prem-font); font-weight: 800; color: #fff;
  font-size: 44px; line-height: 1.15; letter-spacing: -.02em; margin-bottom: 18px; max-width: 900px;
}
.post-hero .post-dek { color: #cbd5e1; font-size: 18px; line-height: 1.7; max-width: 780px; margin-bottom: 26px; }
.post-hero .blog-meta { color: #94a3b8; font-size: 14.5px; }
.post-hero .blog-author-name { color: #fff; }
.post-hero .blog-meta .dot { background: #475569; }

.post-cover-wrap { margin-top: -110px; position: relative; z-index: 2; }
.post-cover-wrap .blog-cover {
  border-radius: 20px; aspect-ratio: 21 / 9;
  box-shadow: 0 30px 60px rgba(15,23,42,.25); border: 1px solid rgba(255,255,255,.08);
}

.post-layout { padding: 48px 0 24px; }

/* ---------- Sidebar ---------- */
.post-sidebar { position: sticky; top: 100px; }
.post-toc {
  background: #fff; border: 1px solid var(--blog-border); border-radius: var(--blog-radius);
  padding: 22px 20px; box-shadow: var(--blog-shadow); margin-bottom: 20px;
}
.post-toc h5 {
  font-family: var(--prem-font); font-weight: 800; font-size: 13px; text-transform: uppercase;
  letter-spacing: .08em; color: var(--blog-muted); margin-bottom: 14px;
}
.post-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.post-toc li { counter-increment: toc; }
.post-toc a {
  display: flex; gap: 10px; padding: 8px 10px; border-radius: 8px;
  color: var(--blog-text); font-size: 14px; line-height: 1.45; text-decoration: none;
  border-left: 2px solid transparent;
}
.post-toc a::before {
  content: counter(toc, decimal-leading-zero); font-family: var(--prem-mono); font-size: 12px;
  color: #94a3b8; padding-top: 1px;
}
.post-toc a:hover { background: var(--blog-bg); color: var(--blog-primary); }
.post-toc a.active { background: var(--blog-primary-soft); color: var(--blog-primary); border-left-color: var(--blog-primary); font-weight: 600; }
.post-toc a.active::before { color: var(--blog-primary); }

.post-side-cta {
  background: linear-gradient(160deg, #0f172a 0%, #1e293b 100%); color: #fff;
  border-radius: var(--blog-radius); padding: 24px 22px;
}
.post-side-cta .ico {
  width: 42px; height: 42px; border-radius: 12px; background: rgba(56,189,248,.15); color: #7dd3fc;
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 12px; font-size: 18px;
}
.post-side-cta h6 { color: #fff; font-family: var(--prem-font); font-weight: 800; font-size: 17px; margin-bottom: 6px; }
.post-side-cta p { color: #cbd5e1; font-size: 14px; line-height: 1.6; margin-bottom: 16px; }
.post-side-cta .price { color: #fff; font-size: 14px; margin-bottom: 14px; }
.post-side-cta .price strong { font-size: 26px; font-weight: 800; }

.post-share { display: flex; align-items: center; gap: 8px; margin: 20px 0 0; flex-wrap: wrap; }
.post-share span { font-size: 13px; font-weight: 700; color: var(--blog-muted); text-transform: uppercase; letter-spacing: .06em; margin-right: 4px; }
.post-share a, .post-share button {
  width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--blog-border); background: #fff;
  display: inline-flex; align-items: center; justify-content: center; color: var(--blog-text);
  cursor: pointer; transition: all .2s ease; text-decoration: none; padding: 0;
}
.post-share a:hover, .post-share button:hover { background: var(--blog-primary); border-color: var(--blog-primary); color: #fff; }
.post-share button.copied { background: var(--blog-green); border-color: var(--blog-green); color: #fff; }

/* ---------- Article typography ---------- */
.post-content {
  background: #fff; border: 1px solid var(--blog-border); border-radius: 20px;
  padding: 48px 56px; box-shadow: var(--blog-shadow);
  font-size: 17.5px; line-height: 1.8; color: var(--blog-text);
}
.post-content > *:first-child { margin-top: 0; }
.post-content p { margin-bottom: 1.25em; }
.post-content h2 {
  font-family: var(--prem-font); font-weight: 800; color: var(--blog-ink);
  font-size: 28px; line-height: 1.3; letter-spacing: -.015em;
  margin: 2.1em 0 .7em; scroll-margin-top: 100px;
}
.post-content h3 {
  font-family: var(--prem-font); font-weight: 700; color: var(--blog-ink);
  font-size: 21px; line-height: 1.4; margin: 1.7em 0 .55em; scroll-margin-top: 100px;
}
.post-content a { color: var(--blog-primary); text-decoration: underline; text-decoration-color: rgba(37,99,235,.35); text-underline-offset: 3px; }
.post-content a:hover { color: var(--blog-primary-dark); text-decoration-color: currentColor; }
.post-content strong { color: var(--blog-ink); }
.post-content ul, .post-content ol { padding-left: 1.4em; margin-bottom: 1.4em; }
.post-content li { margin-bottom: .55em; padding-left: .2em; }
.post-content ul li::marker { color: var(--blog-primary); }
.post-content ol li::marker { color: var(--blog-primary); font-weight: 700; }

.post-answer {
  background: var(--blog-primary-soft); border: 1px solid #bfdbfe; border-left: 4px solid var(--blog-primary);
  border-radius: 12px; padding: 20px 24px; margin-bottom: 1.6em; color: var(--blog-ink);
}
.post-answer .label { display: block; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--blog-primary); margin-bottom: 6px; }
.post-answer p:last-child { margin-bottom: 0; }

/* Icons are drawn with ::before so the boxes can hold any text from the editor. */
.post-note, .post-bestfor { position: relative; border-radius: 12px; padding: 14px 18px 14px 50px; }
.post-note::before, .post-bestfor::before {
  position: absolute; left: 16px; top: 16px; width: 20px; height: 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; color: #fff;
}
.post-note > *:last-child, .post-bestfor > *:last-child { margin-bottom: 0; }
.post-note {
  background: var(--blog-amber-soft); border: 1px solid #fde68a;
  font-size: 14.5px; line-height: 1.65; color: #78350f; margin-bottom: 1.6em;
}
.post-note::before { content: '!'; background: #d97706; }
.post-note strong { color: #78350f; }
.post-bestfor {
  background: var(--blog-green-soft); border: 1px solid #a7f3d0;
  font-size: 16px; line-height: 1.6; color: #064e3b; margin-bottom: 1.4em;
}
.post-bestfor::before { content: '\2713'; background: var(--blog-green); }
.post-bestfor strong { color: #064e3b; }

.blog-cover-empty { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%); }
.blog-cover-empty span { color: #7dd3fc; font-weight: 800; font-size: 20px; letter-spacing: .06em; text-transform: uppercase; }

.post-quote, .post-content blockquote {
  border-left: 4px solid #38bdf8; background: var(--blog-bg); border-radius: 0 12px 12px 0;
  padding: 16px 22px; margin: 1.4em 0; font-style: italic; color: var(--blog-ink);
}
.post-quote > *:last-child, .post-content blockquote > *:last-child { margin-bottom: 0; }
.post-content img { max-width: 100%; height: auto; border-radius: 12px; margin: .5em 0 1.2em; }

/* Tables */
.post-table-wrap {
  overflow-x: auto; border: 1px solid var(--blog-border); border-radius: 14px; margin: 1.6em 0 1em;
  -webkit-overflow-scrolling: touch;
}
.post-table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.55; min-width: 640px; margin: 0; }
.post-table thead th {
  background: var(--blog-ink); color: #fff; font-weight: 700; text-align: left;
  padding: 14px 18px; font-size: 14px; white-space: nowrap;
}
.post-table tbody td { padding: 14px 18px; border-top: 1px solid var(--blog-border); vertical-align: top; color: var(--blog-text); }
.post-table tbody td:first-child { font-weight: 700; color: var(--blog-ink); background: #f8fafc; white-space: nowrap; }
.post-table tbody tr:hover td { background: var(--blog-primary-soft); }
.post-table-caption { font-size: 14px; color: var(--blog-muted); font-style: italic; margin-bottom: 1.6em; }

/* Steps */
.post-steps { list-style: none; padding: 0 !important; counter-reset: step; }
.post-steps li {
  counter-increment: step; position: relative; padding: 14px 18px 14px 64px !important;
  background: var(--blog-bg); border: 1px solid var(--blog-border); border-radius: 12px; margin-bottom: 12px !important;
}
.post-steps li::before {
  content: counter(step); position: absolute; left: 16px; top: 14px;
  width: 32px; height: 32px; border-radius: 50%; background: var(--blog-primary); color: #fff;
  font-weight: 800; font-size: 15px; display: flex; align-items: center; justify-content: center;
}

/* Key takeaways */
.post-takeaways {
  background: linear-gradient(160deg, #0f172a 0%, #1e293b 100%); color: #e2e8f0;
  border-radius: 16px; padding: 30px 32px; margin: 2.2em 0;
}
.post-takeaways h2 { color: #fff !important; margin-top: 0 !important; font-size: 22px !important; display: flex; align-items: center; gap: 10px; }
.post-takeaways h2 i { color: #fbbf24; }
.post-takeaways ul { list-style: none; padding: 0; margin: 0; }
.post-takeaways li { position: relative; padding-left: 30px; margin-bottom: 12px; font-size: 16px; line-height: 1.7; }
.post-takeaways li::before {
  content: '\2713'; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(16,185,129,.2); color: #34d399; font-size: 12px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.post-takeaways a { color: #7dd3fc; }
.post-takeaways .btn-takeaway {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 14px;
  background: var(--blog-primary); color: #fff !important; text-decoration: none !important;
  padding: 12px 22px; border-radius: 10px; font-weight: 700; font-size: 15px;
}
.post-takeaways .btn-takeaway:hover { background: var(--blog-primary-dark); }

/* FAQ — re-uses .p-accordion from premium-pages.css/js */
.post-content .p-accordion { margin-top: .5em; }
.post-content .p-accordion-header span { font-size: 16px; font-weight: 700; color: var(--blog-ink); line-height: 1.5; }
.post-content .p-accordion-body { font-size: 16px; line-height: 1.75; }

/* Sources */
.post-sources { list-style: none; padding: 0 !important; }
.post-sources li { display: flex; gap: 10px; font-size: 15px; line-height: 1.6; padding: 10px 0 !important; border-bottom: 1px dashed var(--blog-border); margin: 0 !important; }
.post-sources li:last-child { border-bottom: 0; }
.post-sources i { color: var(--blog-muted); margin-top: 5px; font-size: 12px; }
.post-sources .src-pub { color: var(--blog-muted); }

/* Author box */
.post-author {
  display: flex; gap: 18px; align-items: flex-start;
  border: 1px solid var(--blog-border); border-radius: 16px; padding: 24px; margin-top: 2.4em; background: var(--blog-bg);
}
.post-author .blog-avatar { width: 60px; height: 60px; flex-basis: 60px; }
.post-author .blog-avatar img { width: 40px; }
.post-author .who { font-family: var(--prem-font); font-weight: 800; color: var(--blog-ink); font-size: 17px; margin-bottom: 2px; }
.post-author .role { font-size: 13px; color: var(--blog-muted); margin-bottom: 8px; }
.post-author p { font-size: 15px; line-height: 1.65; margin: 0; }

/* Related */
.post-related { padding: 40px 0 70px; }

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
  .post-content { padding: 40px 40px; }
}
@media (max-width: 991px) {
  .blog-hero { padding: 150px 0 56px; }
  .blog-hero h1 { font-size: 38px; }
  .blog-featured { grid-template-columns: 1fr; gap: 20px; }
  .blog-featured-body { padding: 0 8px 8px; }
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-hero { padding: 145px 0 120px; }
  .post-hero h1 { font-size: 34px; }
  .post-cover-wrap { margin-top: -85px; }
  .post-sidebar { position: static; margin-top: 28px; }
}
@media (max-width: 767px) {
  .blog-hero h1 { font-size: 32px; }
  .blog-hero p.lead-text { font-size: 16px; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-section { padding: 40px 0; }
  .blog-featured .blog-card-title { font-size: 23px; }
  .blog-cta-band { padding: 32px 24px; }
  .post-hero { padding: 135px 0 90px; }
  .post-hero h1 { font-size: 28px; }
  .post-hero .post-dek { font-size: 16px; }
  .post-cover-wrap { margin-top: -60px; }
  .post-cover-wrap .blog-cover { aspect-ratio: 16 / 9; border-radius: 14px; }
  .post-content { padding: 28px 20px; font-size: 16.5px; border-radius: 16px; }
  .post-content h2 { font-size: 23px; }
  .post-content h3 { font-size: 19px; }
  .post-takeaways { padding: 24px 20px; }
  .post-author { flex-direction: column; }
}

/* ==========================================================================
   MATCH MAIN SITE (indsoft.net) TYPOGRAPHY & BUTTONS
   The main site renders in the system font stack (Segoe UI on Windows,
   San Francisco on Mac) with 44px/500 heroes, 34px/300 dark-blue section
   titles, 16px body text and green #44d8a2 buttons with 5px corners.
   ========================================================================== */
.blog-page {
  --prem-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --site-blue: #003d6f;
  --site-green: #44d8a2;
  --site-green-dark: #2fc28d;
  --site-text: #515151;
  letter-spacing: normal;
}

/* Headings: lighter weights like the main site */
.blog-hero h1 { font-size: 44px; font-weight: 500; line-height: 1.2; letter-spacing: 0; }
.blog-hero p.lead-text { font-size: 20px; font-weight: 300; line-height: 1.6; }
.blog-hero-eyebrow { font-weight: 600; }
.post-hero h1 { font-size: 40px; font-weight: 500; line-height: 1.2; letter-spacing: 0; }
.post-hero .post-dek { font-size: 18px; font-weight: 300; }
.blog-section-title { font-size: 34px; font-weight: 300; line-height: 1.1; color: var(--site-blue); letter-spacing: 0; }
.blog-card-title { font-size: 19px; font-weight: 500; line-height: 1.35; color: #212529; letter-spacing: 0; }
.blog-featured .blog-card-title { font-size: 28px; font-weight: 500; }
.blog-card-excerpt { font-size: 15px; color: var(--site-text); }
.blog-tag { font-weight: 600; }
.blog-featured-label { font-weight: 600; }
.blog-chip { font-weight: 500; }
.blog-chip.active { background: var(--site-blue); border-color: var(--site-blue); }
.blog-chip:hover { border-color: var(--site-blue); color: var(--site-blue); }
.blog-chip.active:hover { color: #fff; }

/* Article */
.post-content { font-size: 17px; line-height: 1.75; color: #3d3d3d; }
.post-content h2 { font-size: 28px; font-weight: 500; color: var(--site-blue); letter-spacing: 0; }
.post-content h3 { font-size: 21px; font-weight: 500; color: #212529; }
.post-content strong { font-weight: 600; }
.post-answer .label { font-weight: 600; }
.post-takeaways h2 { font-weight: 500 !important; }
.post-toc h5 { font-weight: 600; }
.post-toc a::before { font-family: inherit; }
.post-side-cta h6 { font-weight: 500; font-size: 18px; }
.post-side-cta .price strong { font-weight: 600; }
.post-author .who { font-weight: 600; }
.post-steps li::before { font-weight: 600; }
.post-table thead th { font-weight: 500; }
.post-table tbody td:first-child { font-weight: 600; }
.blog-cta-band h3 { font-size: 28px; font-weight: 500; }

/* Buttons: site green */
.blog-page .btn-prem-primary,
.post-takeaways .btn-takeaway {
  background: var(--site-green); border: 2px solid var(--site-green); color: #fff !important;
  border-radius: 5px; font-weight: 500; box-shadow: none;
}
.blog-page .btn-prem-primary:hover,
.post-takeaways .btn-takeaway:hover { background: var(--site-green-dark); border-color: var(--site-green-dark); color: #fff !important; }
.blog-cta-band .btn-white { border-radius: 5px; font-weight: 500; color: var(--site-blue); }

/* Cards: slightly tighter corners, closer to the site's panels */
.blog-card, .blog-featured, .post-toc, .post-side-cta, .post-content { border-radius: 10px; }

@media (max-width: 991px) {
  .blog-hero h1 { font-size: 36px; }
  .post-hero h1 { font-size: 32px; }
}
@media (max-width: 767px) {
  .blog-hero h1 { font-size: 30px; }
  .blog-hero p.lead-text { font-size: 17px; }
  .post-hero h1 { font-size: 27px; }
  .blog-section-title { font-size: 28px; }
  .blog-featured .blog-card-title { font-size: 22px; }
  .post-content { font-size: 16px; }
  .post-content h2 { font-size: 23px; }
}

/* The site stylesheet removes list bullets globally; bring them back inside articles. */
.post-content ul:not(.post-sources) { list-style: disc outside; }
.post-content ol:not(.post-steps) { list-style: decimal outside; }
.post-content ul:not(.post-sources) > li,
.post-content ol:not(.post-steps) > li { display: list-item; }
.post-takeaways ul { list-style: none !important; }
