.article-page {
  min-height: 100vh;
  background: #f7f3ec;
  color: #17324d;
}

.article-page .hp-header *,
.article-page .blog-container *,
.article-page .hp-footer * {
  text-shadow: none;
}

.article-page .main-content {
  flex: 1 0 auto;
  width: 100%;
  padding: clamp(3.5rem, 7vw, 6.5rem) max(1.25rem, calc((100vw - 76rem) / 2));
  background:
    radial-gradient(circle at 90% 4%, rgba(171, 198, 215, .28), transparent 24rem),
    linear-gradient(180deg, #f7f3ec 0, #fff 32rem);
}

.article-page .blog-post,
.article-page .blog-container {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.article-page .blog-container {
  max-width: 48rem;
  margin-inline: auto;
}

.article-page .blog-container > h1 {
  margin: 0 0 1.25rem;
  color: #17324d;
  font-family: inherit;
  font-size: clamp(2.65rem, 7vw, 5.35rem);
  font-weight: 700;
  line-height: .98;
  letter-spacing: -.055em;
  text-wrap: balance;
}

.article-page .blog-container > .blog-date {
  display: inline-flex;
  margin: 0 0 .75rem;
  padding: .45rem .7rem;
  border: 1px solid #d4dfe7;
  border-radius: .35rem;
  background: #e8f0f2;
  color: #344a40 !important;
  font-size: .76rem;
  font-weight: 650;
  letter-spacing: .045em;
  line-height: 1.2;
  text-transform: none;
}

.article-page .blog-container > .blog-byline {
  margin: 0 0 2.25rem;
  color: #52606d;
  font-size: .95rem;
  line-height: 1.5;
}

.article-page .blog-container > .blog-byline a {
  color: #17324d;
  font-weight: 700;
  text-underline-offset: .18em;
}

.article-page .blog-container > img,
.article-page .blog-content > img,
.article-page .hero-image {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 1.5rem 0 2rem !important;
  border-radius: 1rem !important;
  box-shadow: 0 1.25rem 3rem rgba(23, 50, 77, .13) !important;
}

.article-page .blog-content,
.article-page .blog-container > p,
.article-page .blog-container > h2,
.article-page .blog-container > h3,
.article-page .blog-container > ul,
.article-page .blog-container > ol,
.article-page .blog-container > details {
  color: #29465f;
  font-size: clamp(1.03rem, 1.6vw, 1.13rem);
  line-height: 1.78;
}

.article-page .blog-content p,
.article-page .blog-content li,
.article-page .blog-content td,
.article-page .blog-content summary,
.article-page .blog-content details .panel,
.article-page .blog-container > p,
.article-page .blog-container > ul,
.article-page .blog-container > ol {
  color: #3d4a57;
  font-family: inherit;
  font-weight: 400;
}

.article-page .blog-content h2,
.article-page .blog-container > h2 {
  margin: 3.5rem 0 1rem;
  color: #17324d;
  font-family: inherit;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.article-page .blog-content h3,
.article-page .blog-container > h3 {
  margin: 2.25rem 0 .75rem;
  color: #17324d;
  font-size: clamp(1.2rem, 2.4vw, 1.45rem);
  line-height: 1.3;
}

.article-page .blog-content p,
.article-page .blog-container > p { margin: 0 0 1.35rem; }
.article-page .blog-content ul,
.article-page .blog-content ol,
.article-page .blog-container > ul,
.article-page .blog-container > ol { margin: 1.25rem 0 1.75rem; padding-left: 1.5rem; }
.article-page .blog-content li,
.article-page .blog-container > ul li,
.article-page .blog-container > ol li { margin: .6rem 0; padding-left: .25rem; line-height: 1.7; }

.article-page .blog-content a:not(.button),
.article-page .blog-container > p a:not(.button),
.article-page .blog-back-link a {
  color: #166270;
  text-decoration-thickness: .08em;
  text-underline-offset: .18em;
}

.article-page .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 3.25rem;
  margin: .75rem 0 1.5rem;
  padding: .85rem 1.3rem;
  border: 0;
  border-radius: 999px;
  background: #b94d2b;
  box-shadow: none;
  color: #fff;
  font-size: .94rem;
  font-weight: 750;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}
.article-page .button:hover { background: #963b20; box-shadow: none; transform: translateY(-1px); }
.article-page .button[aria-disabled="true"] { background: #516675; cursor: not-allowed; }

.article-page .stat-box,
.article-page .blog-content details {
  margin: 1.75rem 0;
  border: 1px solid rgba(23, 50, 77, .15);
  border-left: .3rem solid #b94d2b;
  border-radius: .75rem;
  background: #fff;
  box-shadow: 0 .65rem 1.8rem rgba(23, 50, 77, .07);
}
.article-page .stat-box { padding: 1.35rem 1.5rem; }
.article-page .stat-box h3 { color: #17324d; }
.article-page .stat-box p { color: #3d4a57; font-weight: 400; }
.article-page .blog-content details { overflow: hidden; }
.article-page .blog-content summary { padding: 1.1rem 1.25rem; background: #eef3f5; color: #17324d; }
.article-page .blog-content details .panel { padding: 1.25rem; border-top-color: rgba(23, 50, 77, .12); }

.article-page table {
  display: block;
  width: 100%;
  margin: 1.75rem 0;
  overflow-x: auto;
  border-collapse: collapse;
  background: #fff;
  font-size: .92rem;
}
.article-page th,
.article-page td { min-width: 8rem; padding: .8rem; border: 1px solid rgba(23, 50, 77, .15); text-align: left; vertical-align: top; }
.article-page th { background: #e8f0f2; color: #17324d; }

.article-page .blog-back-link {
  margin: 3.5rem 0 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(23, 50, 77, .15);
}
.article-page .blog-back-link a { font-weight: 750; }

.article-page .hp-footer { margin-top: 0; }
.article-page .exit-intent-modal { color: #17324d; }

.article-page .exit-intent-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  background: rgba(9, 24, 38, .58);
  transition: opacity .3s ease;
}
.article-page .exit-intent-overlay.active { display: flex; opacity: 1; }
.article-page .exit-intent-modal {
  width: min(100%, 31.25rem);
  padding: 2.5rem;
  border-radius: .9rem;
  background: #fff;
  box-shadow: 0 1.25rem 3rem rgba(23, 50, 77, .2);
  text-align: center;
  transform: scale(.95);
  transition: transform .3s ease;
}
.article-page .exit-intent-overlay.active .exit-intent-modal { transform: scale(1); }
.article-page .exit-intent-modal h2 { margin: 0 0 1rem; color: #17324d; font-size: 1.75rem; font-weight: 700; line-height: 1.3; }
.article-page .exit-intent-modal p { margin: 0 0 1.5rem; color: #3d4a57; font-size: 1.05rem; line-height: 1.6; }
.article-page .exit-intent-buttons { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }
.article-page .exit-intent-btn-primary,
.article-page .exit-intent-btn-secondary { display: inline-flex; align-items: center; justify-content: center; border: 0; text-decoration: none; cursor: pointer; }
.article-page .exit-intent-btn-primary { min-height: 3.25rem; padding: .9rem 1.4rem; border-radius: .7rem; background: #17324d; color: #fff; font-size: 1rem; font-weight: 700; }
.article-page .exit-intent-btn-primary:hover { background: #244b6e; transform: translateY(-1px); }
.article-page .exit-intent-btn-secondary { padding: .65rem 1rem; background: transparent; color: #667684; font: inherit; }
.article-page .exit-intent-btn-secondary:hover { color: #17324d; text-decoration: underline; }

@media (max-width: 767px) {
  .article-page .main-content { padding-top: 3rem; padding-bottom: 4rem; }
  .article-page .blog-container > h1 { font-size: clamp(2.45rem, 13vw, 3.7rem); }
  .article-page .blog-container > img,
  .article-page .blog-content > img,
  .article-page .hero-image { border-radius: .75rem !important; }
  .article-page .button { width: 100%; }
  .article-page .exit-intent-modal { padding: 2rem 1.5rem; }
}
