/* ============================================
   GoGlobal Blog - Design Overrides
   Modern, professional, refined aesthetic
   ============================================ */

:root {
  /* Color system */
  --color-primary: #c41e3a;
  --color-primary-hover: #a01830;
  --color-primary-muted: rgba(196, 30, 58, 0.08);
  --color-text: #1a1f2e;
  --color-text-muted: #5c6b7a;
  --color-text-light: #8b9aab;
  --color-bg: #ffffff;
  --color-bg-alt: #f8f9fb;
  --color-bg-elevated: #ffffff;
  --color-border: #e8ecf0;
  --color-border-light: #f0f2f5;
  
  /* Typography */
  --font-sans: 'Figtree', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Spacing & scale */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  
  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 20px 50px rgba(0, 0, 0, 0.12);
}

/* ========== Base styles ========== */
body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
}

/* ========== Typography ========== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.blog-post h1 {
  font-size: 2.25rem;
  margin-top: 0;
  margin-bottom: 0.75em;
}

.blog-post h2 {
  font-size: 1.5rem;
  margin-top: 2em;
  margin-bottom: 0.5em;
  padding-bottom: 0.25em;
  border-bottom: 1px solid var(--color-border-light);
}

.blog-post h3 {
  font-size: 1.25rem;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

.blog-post p {
  line-height: 1.75;
  margin-bottom: 1.25em;
}

.blog-post a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-post a:hover {
  color: var(--color-primary-hover);
}

/* ========== Hero section ========== */
.blog-hero {
  background: linear-gradient(135deg, #f8f9fb 0%, #eef1f5 50%, #fafbfc 100%);
  padding: 7rem var(--space-2xl) var(--space-xl);
  text-align: center;
  margin-bottom: var(--space-xl);
  border-bottom: 1px solid var(--color-border-light);
}

.blog-hero__title {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-md);
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.blog-hero__subtitle {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ========== Post cards ========== */
.single-post-card {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.single-post-card:hover {
  border-color: var(--color-border);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.single-post-card .card-img-top {
  aspect-ratio: 16 / 10;
  object-fit: contain;
  object-position: center;
  background: #fff;
  transition: transform 0.4s ease;
}

.single-post-card:hover .card-img-top {
  transform: scale(1.03);
}

.single-post-card .card-body {
  padding: var(--space-xl);
}

.single-post-card .post-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
  transition: color 0.2s ease;
}

.single-post-card:hover .post-title {
  color: var(--color-primary);
}

.single-post-card .post-subtitle {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  font-weight: 400;
  margin-bottom: var(--space-md);
}

.single-post-card .post-meta {
  font-size: 0.8125rem;
  color: var(--color-text-light);
  font-style: normal;
  margin-bottom: var(--space-md);
}

.single-post-card .post-entry {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.single-post-card .read-more-section h6 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: gap 0.2s ease;
}

.single-post-card:hover .read-more-section h6 {
  gap: 0.5rem;
}

/* ========== Article / single post ========== */
.blog-post {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.card-image-blog {
  overflow: hidden;
}

.card-image-blog img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: contain;
}

.blog-tags a {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--color-primary-muted);
  color: var(--color-primary);
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 500;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  transition: background 0.2s ease;
}

.blog-tags a:hover {
  background: var(--color-primary);
  color: white;
}

/* ========== Callout boxes ========== */
.blog-post .callout {
  padding: var(--space-lg) var(--space-xl);
  margin: var(--space-xl) 0;
  border-radius: var(--radius-md);
  border-left: 4px solid;
  background: var(--color-bg-alt);
  box-shadow: var(--shadow-sm);
}

.blog-post .callout-info {
  border-left-color: var(--color-primary);
  background: linear-gradient(90deg, var(--color-primary-muted) 0%, var(--color-bg-alt) 100%);
}

.blog-post .callout-warning {
  border-left-color: #d97706;
  background: linear-gradient(90deg, rgba(217, 119, 6, 0.08) 0%, var(--color-bg-alt) 100%);
}

.blog-post .callout-warning {
  border-left-color: #d97706;
  background: linear-gradient(90deg, rgba(217, 119, 6, 0.08) 0%, var(--color-bg-alt) 100%);
}

.blog-post .callout p:last-child {
  margin-bottom: 0;
}

/* ========== Navbar ========== */
/* Dark mode: logo, post covers, and content images inherit page invert so they're visible */
html.dark-mode .navbar .navbar-brand img,
html.dark-mode .single-post-card img,
html.dark-mode .single-post-card .card-img-top,
html.dark-mode .single-post-card video,
html.dark-mode .card-image-blog img,
html.dark-mode .card-image-blog video,
html.dark-mode .blog-post img {
  filter: none !important;
  -webkit-filter: none !important;
}

.navbar {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border-light);
}

.navbar .nav-link {
  font-weight: 500;
  color: var(--color-text-muted) !important;
  transition: color 0.2s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--color-primary) !important;
}

.navbar .btn-primary,
.navbar-nav .btn-primary,
.navbar .nav-item .btn-primary {
  background: #c41e3a !important;
  border-color: #c41e3a !important;
  color: #fff !important;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
  text-decoration: none;
}

.navbar .btn-primary:hover,
.navbar .btn-primary:focus,
.navbar .btn-primary:active,
.navbar-nav .btn-primary:hover,
.navbar-nav .btn-primary:focus,
.navbar-nav .btn-primary:active,
.navbar .nav-item .btn-primary:hover {
  background: #a01830 !important;
  border-color: #a01830 !important;
  color: #fff !important;
}

/* ========== Footer CTA ========== */
footer .cta-sm {
  background: linear-gradient(135deg, #1a1f2e 0%, #2d3548 100%) !important;
  padding: var(--space-3xl) var(--space-lg);
  border-radius: var(--radius-lg);
}

footer .cta-sm h4 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: var(--space-sm);
}

footer .cta-sm h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: white;
  margin-bottom: var(--space-lg);
}

footer .cta-sm .btn-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: white !important;
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
  line-height: 1;
}

footer .cta-sm .btn-action:hover {
  background: var(--color-primary-hover);
  color: white !important;
  transform: translateY(-2px);
}

footer .cta-sm .form-note p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  margin-top: var(--space-md);
}

/* Footer copyright - ensure visible on dark CTA background */
footer .cta-sm .footer-sm {
  background: transparent !important;
}

footer .cta-sm .footer-sm h6 {
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 0.8125rem;
}

/* Dark mode: undo page invert so CTA keeps dark background and white text */
html.dark-mode footer .cta-sm {
  filter: hue-rotate(180deg) contrast(100%) invert(100%) !important;
  -webkit-filter: hue-rotate(180deg) contrast(100%) invert(100%) !important;
}

/* ========== Pagination ========== */
.pager li a {
  border-radius: var(--radius-md);
  font-weight: 600;
}

.pager li a:hover,
.pager li a:focus {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

/* ========== Selection ========== */
::selection {
  background: var(--color-primary);
  color: white;
}

/* ========== Links in content ========== */
p a, li a {
  color: var(--color-primary);
}

/* ========== Blockquote ========== */
blockquote {
  border-left: 4px solid var(--color-primary);
  padding-left: var(--space-lg);
  margin: var(--space-xl) 0;
  color: var(--color-text-muted);
  font-style: italic;
}

/* ========== Prev/Next buttons ========== */
.btn-dark {
  background: var(--color-text) !important;
  border-color: var(--color-text) !important;
  border-radius: var(--radius-md);
}

.btn-dark:hover {
  background: var(--color-primary) !important;
  border-color: var(--color-primary) !important;
}

/* ========== Page headers (non-home) ========== */
.intro-header.no-img {
  margin-top: 6rem;
  margin-bottom: 2rem;
}

.intro-header .page-heading h1,
.intro-header .post-heading h1 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
}

/* ========== Related posts section ========== */
h3:has(+ hr) {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text);
}

/* Tool category headers (h3 after hr in tool guides) */
.blog-post hr + h3 {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
  padding-bottom: var(--space-xs);
  border-bottom: 1px solid var(--color-border-light);
}

/* ========== Share links ========== */
#social-share-section .list-inline {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* ========== Container spacing ========== */
.container[role="main"] {
  padding-top: 1rem;
}

/* ========== Tables (L&D, comparisons, calculations) ========== */
.blog-post table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: var(--space-xl) 0;
  font-size: 0.9375rem;
  background: var(--color-bg-elevated);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

/* Override theme's table tr { background: #fff } which causes white-on-white header */
.blog-post table thead,
.blog-post table thead tr,
.blog-post table thead th {
  background: #1a1f2e !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}

.blog-post table th {
  padding: var(--space-md) var(--space-lg);
  text-align: left;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
}

.blog-post table td {
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid var(--color-border-light);
}

.blog-post table tbody tr:last-child td {
  border-bottom: none;
}

.blog-post table tbody tr:hover {
  background: var(--color-bg-alt);
}

.blog-post .last-row-is-summary table tbody tr:last-child td {
  font-weight: 600;
  background: var(--color-primary-muted);
  color: var(--color-text);
}

.blog-post table tbody tr:last-child th {
  background: var(--color-primary-muted);
  color: var(--color-text);
  font-weight: 600;
}

/* Dark mode: tables - use pre-invert colors so after page invert we get dark header + light text */
html.dark-mode .blog-post table thead,
html.dark-mode .blog-post table thead tr,
html.dark-mode .blog-post table thead th {
  /* Light bg + dark text → inverts to dark bg + light text */
  background: #d1d8e0 !important;
  color: #1a1f2e !important;
  border-color: rgba(0, 0, 0, 0.1) !important;
}

html.dark-mode .blog-post table {
  background: #e8ecf0 !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
}

html.dark-mode .blog-post table tbody tr {
  background: #e8ecf0 !important;
}

html.dark-mode .blog-post .last-row-is-summary table tbody tr:nth-child(even) {
  background: #dfe4ea !important;
}

html.dark-mode .blog-post table tbody tr:last-child td {
  background: #d1d8e0 !important;
  color: #1a1f2e !important;
}

html.dark-mode .blog-post table td {
  border-color: rgba(0, 0, 0, 0.06) !important;
  color: #2d3548 !important;
}

html.dark-mode .blog-post .stat-card {
  border-color: rgba(0, 0, 0, 0.1) !important;
  background: #e8ecf0 !important;
}

html.dark-mode .blog-post .stat-card--traditional {
  border-left-color: rgba(0, 0, 0, 0.25) !important;
}

html.dark-mode .blog-post .stat-card--ai {
  background: #dfe4ea !important;
  border-left-color: #c41e3a !important;
}

html.dark-mode .blog-post .stat-card__label {
  color: #5c6b7a !important;
}

html.dark-mode .blog-post .stat-card__value {
  color: #1a1f2e !important;
}

html.dark-mode .blog-post .stat-card__equation {
  color: #5c6b7a !important;
}

/* Responsive tables */
@media (max-width: 576px) {
  .blog-post table {
    font-size: 0.8125rem;
  }
  .blog-post table th,
  .blog-post table td {
    padding: var(--space-sm) var(--space-md);
  }
}

/* ========== Stat / calculation boxes ========== */
.blog-post .stat-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin: var(--space-xl) 0;
}

@media (max-width: 576px) {
  .blog-post .stat-box {
    grid-template-columns: 1fr;
  }
}

.blog-post .stat-card {
  padding: var(--space-lg) var(--space-xl);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-bg-alt);
  transition: box-shadow 0.2s ease;
}

.blog-post .stat-card:hover {
  box-shadow: var(--shadow-md);
}

.blog-post .stat-card--traditional {
  border-left: 4px solid var(--color-text-muted);
}

.blog-post .stat-card--ai {
  border-left: 4px solid var(--color-primary);
  background: linear-gradient(135deg, var(--color-primary-muted) 0%, var(--color-bg-alt) 100%);
}

.blog-post .stat-card__label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-xs);
}

.blog-post .stat-card__value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  font-variant-numeric: tabular-nums;
}

.blog-post .stat-card__equation {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-top: var(--space-xs);
}

/* ========== Workflow flowchart ========== */
.blog-post .workflow-flowchart {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  margin: var(--space-xl) 0;
  padding: var(--space-lg);
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.blog-post .workflow-flowchart .workflow-step {
  padding: var(--space-sm) var(--space-md);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
}

.blog-post .workflow-flowchart .workflow-arrow {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 1rem;
}

@media (max-width: 576px) {
  .blog-post .workflow-flowchart {
    flex-direction: column;
    gap: var(--space-sm);
  }
  .blog-post .workflow-flowchart .workflow-arrow {
    transform: rotate(90deg);
  }
}

/* ========== Workflow / step lists ========== */
.blog-post ol {
  padding-left: 1.5em;
  margin: var(--space-lg) 0;
}

.blog-post ol li {
  margin-bottom: var(--space-md);
  padding-left: var(--space-sm);
}

.blog-post ol li::marker {
  color: var(--color-primary);
  font-weight: 700;
}

/* Step blocks (Step 1:, Step 2:, etc.) */
.blog-post p strong:first-child {
  color: var(--color-text);
}

/* ========== Cost breakdown lists ========== */
.blog-post ul {
  margin: var(--space-lg) 0;
  padding-left: 1.5em;
}

.blog-post ul li {
  margin-bottom: var(--space-sm);
  line-height: 1.6;
}

.blog-post ul li strong {
  color: var(--color-text);
}

/* ========== FAQ section ========== */
.blog-post h2:has(+ p strong) {
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-border);
}

/* FAQ-style: when paragraph starts with bold, add spacing (no display:block - it breaks inline bold in body text) */
.blog-post h2 + p strong:first-of-type {
  font-size: 1rem;
  color: var(--color-text);
}

/* ========== Section separators (hr) ========== */
.blog-post hr {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border) 20%, var(--color-border) 80%, transparent);
  margin: var(--space-2xl) 0;
}

/* ========== H3 accent (subsections) ========== */
.blog-post h3 {
  position: relative;
  padding-left: var(--space-md);
}
.blog-post h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25em;
  bottom: 0.25em;
  width: 3px;
  background: var(--color-primary);
  border-radius: 2px;
  opacity: 0.5;
}

/* ========== Related guides list ========== */
.blog-post ul li a {
  font-weight: 500;
}

.blog-post .related-guides {
  padding: var(--space-xl);
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  margin: var(--space-lg) 0;
}

.blog-post .related-guides ul {
  margin: 0;
  padding-left: 1.5em;
}

.blog-post .related-guides li {
  margin-bottom: var(--space-md);
  line-height: 1.65;
}

.blog-post .related-guides li:last-child {
  margin-bottom: 0;
}

/* ========== Inline calculations & bold text ========== */
.blog-post p strong,
.blog-post li strong {
  font-weight: 700;
  display: inline;
  color: var(--color-text);
}

/* ========== CTA box & buttons ========== */
.cta-box {
  margin: var(--space-2xl) 0;
  padding: var(--space-xl);
  background: linear-gradient(135deg, var(--color-primary-muted) 0%, var(--color-bg-alt) 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.cta-box__text {
  margin: 0 0 var(--space-lg) 0 !important;
  font-size: 1.0625rem;
  color: var(--color-text);
}

.cta-box__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
  align-items: center;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none !important;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.cta-btn--primary {
  background: var(--color-primary);
  color: #ffffff !important;
  border: 2px solid var(--color-primary);
}

.cta-btn--primary:hover {
  background: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.cta-btn--secondary {
  background: transparent;
  color: var(--color-primary) !important;
  border: 2px solid var(--color-primary);
}

.cta-btn--secondary:hover {
  background: var(--color-primary-muted);
  color: var(--color-primary-hover) !important;
  border-color: var(--color-primary-hover);
  transform: translateY(-2px);
}

/* Inline CTA links (when used in text without shortcode) */
.blog-post a.cta-link {
  display: inline-block;
  padding: 0.5rem 1rem;
  margin: 0 0.25rem 0.25rem 0;
  font-weight: 600;
  text-decoration: none !important;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}

.blog-post a.cta-link--primary {
  background: var(--color-primary);
  color: #ffffff !important;
}

.blog-post a.cta-link--primary:hover {
  background: var(--color-primary-hover);
  color: #ffffff !important;
  transform: translateY(-1px);
}

.blog-post a.cta-link--secondary {
  background: transparent;
  color: var(--color-primary) !important;
  border: 2px solid var(--color-primary);
}

.blog-post a.cta-link--secondary:hover {
  background: var(--color-primary-muted);
  color: var(--color-primary-hover) !important;
  transform: translateY(-1px);
}

@media (max-width: 576px) {
  .cta-box__buttons {
    flex-direction: column;
  }
  .cta-btn {
    width: 100%;
    max-width: 280px;
    padding: 1rem 1.5rem;
  }
}

/* ========== Key stat (inline highlight) ========== */
.blog-post .key-stat {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35em;
  padding: 0.15em 0.5em;
  background: var(--color-primary-muted);
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.blog-post .key-stat__label {
  font-size: 0.875em;
  font-weight: 500;
  color: var(--color-text-muted);
}

.blog-post .key-stat__value {
  color: var(--color-primary);
  font-variant-numeric: tabular-nums;
}

/* Key stats row (grid of stat pills) */
.blog-post .key-stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin: var(--space-lg) 0;
}

.blog-post .key-stats-row .key-stat {
  display: inline-flex;
  padding: var(--space-sm) var(--space-md);
  min-width: 0;
}

/* In-post images (smaller than full width, centered) */
.blog-post .text-center.my-4 img {
  max-width: 65%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .blog-post .text-center.my-4 img {
    max-width: 90%;
  }
}

/* Image captions (below screenshots) */
.blog-post .img-caption {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  text-align: center;
  margin-top: var(--space-sm);
  margin-bottom: 0;
}

/* Smooth scroll for jump links */
.blog-post h2[id],
.blog-post h2 {
  scroll-margin-top: 2rem;
}
