.blog-article .page-hero {
  padding: 56px 0 40px;
}

.blog-article .page-hero h1 {
  max-width: 22ch;
}

.page-section .container.blog-layout,
.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 48px;
  align-items: start;
}

.blog-prose {
  max-width: none;
}

.blog-prose > * + * {
  margin-top: 1.15em;
}

.blog-prose h2 {
  margin-top: 2.1em;
  margin-bottom: 0.55em;
  font-size: clamp(22px, 2.4vw, 28px);
  letter-spacing: -0.03em;
  color: var(--navy-900);
}

.blog-prose h2:first-of-type {
  margin-top: 0.4em;
}

.blog-prose p,
.blog-prose li {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-2);
}

.blog-prose ul {
  padding-left: 1.15em;
}

.blog-prose a {
  color: var(--blue-700);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.blog-prose a:hover {
  color: var(--blue-600);
}

.blog-prose a.btn,
.blog-prose a.btn-primary {
  color: #fff;
  text-decoration: none;
}

.blog-prose a.btn-primary:hover,
.blog-prose a.btn-primary:focus-visible {
  color: #fff;
}

.blog-figure {
  margin: 1.8em 0 2em;
}

.blog-figure img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  background: var(--soft);
}

.blog-figure figcaption {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
}

.blog-callout {
  margin: 1.8em 0;
  padding: 18px 20px;
  border-left: 3px solid var(--blue-600);
  background: var(--soft);
  border-radius: 0 14px 14px 0;
}

.blog-callout p {
  margin: 0;
  color: var(--navy-900);
  font-weight: 600;
  line-height: 1.55;
}

.blog-callout p + p {
  margin-top: 8px;
  font-weight: 500;
  color: var(--text-2);
}

.blog-check {
  list-style: none;
  margin: 1.2em 0 0;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.blog-check li {
  position: relative;
  padding: 10px 0 10px 32px;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  line-height: 1.5;
}

.blog-check li:last-child {
  border-bottom: 0;
  padding-bottom: 2px;
}

.blog-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 16px;
  height: 16px;
  border: 1.5px solid #94a3b8;
  border-radius: 4px;
  background: #fff;
}

.blog-close {
  margin-top: 2.4em;
  padding: 28px 26px;
  border-radius: 18px;
  background: linear-gradient(180deg, var(--navy-900), var(--navy-850));
  color: #e2e8f0;
}

.blog-close h2 {
  margin: 0 0 12px;
  color: #fff;
}

.blog-close p {
  color: #cbd5e1;
}

.blog-close a.btn,
.blog-close a.btn-primary,
.blog-close a.btn-primary:hover,
.blog-close a.btn-primary:focus-visible {
  margin-top: 8px;
  color: #fff;
  text-decoration: none;
}

.blog-close a:not(.btn) {
  color: #bfdbfe;
}

.blog-close a:not(.btn):hover,
.blog-close a:not(.btn):focus-visible {
  color: #fff;
}

.blog-rail {
  position: sticky;
  top: calc(var(--header-h) + 18px);
}

.blog-contact-box {
  padding: 22px 20px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
}

.blog-contact-box__kicker {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-600);
}

.blog-contact-box__title {
  margin: 8px 0 4px;
  font-size: 20px;
  letter-spacing: -0.03em;
  color: var(--navy-900);
}

.blog-contact-box__lead {
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--muted);
}

.blog-contact-box__list {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.blog-contact-box__list li {
  font-size: 14px;
  line-height: 1.45;
  color: var(--text-2);
  padding: 7px 0;
  border-top: 1px solid var(--line);
}

.blog-contact-box__list a {
  color: var(--blue-700);
  word-break: break-word;
}

.blog-contact-box__cta {
  width: 100%;
  justify-content: center;
  text-align: center;
}

.blog-mobile-cta {
  display: none;
}

@media (max-width: 1024px) {
  .page-section .container.blog-layout,
  .blog-layout {
    gap: 32px;
    grid-template-columns: minmax(0, 1fr) 250px;
  }
}

@media (max-width: 960px) {
  .page-section .container.blog-layout,
  .blog-layout {
    grid-template-columns: 1fr;
  }

  .blog-rail {
    display: none;
  }

  .blog-mobile-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(7, 19, 33, 0.96);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
  }

  .blog-mobile-cta p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.35;
    font-weight: 600;
  }

  .blog-mobile-cta .btn,
  .blog-mobile-cta .btn-primary {
    flex-shrink: 0;
    padding: 10px 14px;
    font-size: 14px;
    color: #fff;
  }

  .blog-mobile-cta .btn-primary:hover,
  .blog-mobile-cta .btn-primary:focus-visible {
    color: #fff;
  }

  body.blog-article {
    padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  }

  body.blog-article .site-footer {
    padding-bottom: 28px;
  }
}

@media (max-width: 640px) {
  .blog-prose p,
  .blog-prose li {
    font-size: 16px;
  }

  .blog-mobile-cta p {
    max-width: 22ch;
  }
}

.blog-sources {
  margin-top: 2.6em;
  padding-top: 1.2em;
  border-top: 1px solid var(--line);
}

.blog-sources h2 {
  font-size: 18px;
}

.blog-sources p,
.blog-sources li {
  font-size: 14.5px;
  color: var(--muted);
}

.blog-table-wrap {
  overflow-x: auto;
  margin: 1.6em 0 2em;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  -webkit-overflow-scrolling: touch;
}

.blog-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.5;
}

.blog-table thead th {
  background: var(--navy-900);
  color: #fff;
  font-weight: 600;
  text-align: left;
  padding: 12px 14px;
}

.blog-table tbody th {
  width: 26%;
  background: var(--soft);
  color: var(--navy-900);
  font-weight: 600;
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.blog-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--text-2);
  vertical-align: top;
}

.blog-table tbody tr:last-child th,
.blog-table tbody tr:last-child td {
  border-bottom: 0;
}

.blog-decide {
  margin: 1.2em 0 0;
  padding: 4px 0 0;
}

.blog-decide li {
  margin-bottom: 10px;
}

@media (prefers-reduced-motion: reduce) {
  .blog-rail {
    position: static;
  }
}

