body {
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  background: #ffffff;
}

.ap-blog-shell {
  background: #ffffff;
}

.ap-blog-container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.ap-blog-line {
  width: 64px;
  height: 2px;
  background: linear-gradient(90deg, #077A8D, #35B8CA);
}

.ap-blog-eyebrow {
  color: #077A8D;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ap-blog-display {
  font-family: 'Crimson Pro', Georgia, 'Times New Roman', serif;
  color: #162355;
  font-weight: 300;
  letter-spacing: -0.005em;
  line-height: 1.08;
}

.ap-blog-muted {
  color: #575757;
}

.ap-blog-hero {
  padding: 72px 0 42px;
}

.ap-blog-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 1.05fr);
  gap: 56px;
  align-items: end;
}

.ap-blog-featured {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid #EAECF0;
  border-radius: 18px;
  background: #ffffff;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 22px 52px -36px rgba(22, 35, 85, 0.38);
}

.ap-blog-featured-media,
.ap-blog-card-media,
.ap-blog-article-media {
  background: #F4F6F9;
  overflow: hidden;
}

.ap-blog-featured-media img,
.ap-blog-card-media img,
.ap-blog-article-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ap-blog-featured-media {
  aspect-ratio: 16 / 10;
}

.ap-blog-featured-body {
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ap-blog-chip {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  border: 1px solid rgba(7, 122, 141, 0.26);
  border-radius: 999px;
  background: #EAF6F8;
  color: #077A8D;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 6px 10px;
  text-transform: uppercase;
}

.ap-blog-featured h2 {
  margin: 18px 0 12px;
  color: #162355;
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.ap-blog-featured p,
.ap-blog-card p {
  color: #5B6472;
}

.ap-blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
  color: #8A94A6;
  font-size: 0.82rem;
}

.ap-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding: 38px 0 88px;
}

.ap-blog-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #EAECF0;
  border-radius: 16px;
  background: #ffffff;
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ap-blog-card:hover {
  transform: translateY(-3px);
  border-color: #D9E1E7;
  box-shadow: 0 18px 40px -22px rgba(22, 35, 85, 0.32);
}

.ap-blog-card-media {
  aspect-ratio: 16 / 9;
}

.ap-blog-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px 22px 22px;
}

.ap-blog-card h2 {
  margin: 13px 0 10px;
  color: #162355;
  font-size: 1.14rem;
  font-weight: 700;
  line-height: 1.28;
}

.ap-blog-card p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.65;
}

.ap-blog-card .ap-blog-meta {
  margin-top: auto;
  padding-top: 18px;
}

.ap-blog-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #077A8D;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.ap-blog-back:hover {
  text-decoration: underline;
}

.ap-blog-article-hero {
  padding: 54px 0 46px;
}

.ap-blog-article-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(320px, 0.86fr);
  gap: 54px;
  align-items: center;
}

.ap-blog-article-title {
  margin: 20px 0 18px;
  font-family: 'Crimson Pro', Georgia, 'Times New Roman', serif;
  color: #162355;
  font-size: clamp(2.6rem, 5vw, 5.4rem);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.01em;
}

.ap-blog-article-dek {
  max-width: 700px;
  color: #575757;
  font-size: 1.08rem;
  line-height: 1.75;
}

.ap-blog-article-media {
  aspect-ratio: 16 / 10;
  border: 1px solid #EAECF0;
  border-radius: 18px;
  box-shadow: 0 20px 48px -34px rgba(22, 35, 85, 0.34);
}

.ap-blog-article-shell {
  max-width: 860px;
  margin: 0 auto;
  padding: 26px 0 92px;
}

.ap-blog-content {
  color: #374151;
  font-size: 1.05rem;
  line-height: 1.84;
}

.ap-blog-content h2,
.ap-blog-content h3 {
  color: #162355;
  line-height: 1.2;
}

.ap-blog-content h2 {
  margin: 52px 0 16px;
  font-family: 'Crimson Pro', Georgia, 'Times New Roman', serif;
  font-size: 2.35rem;
  font-weight: 400;
}

.ap-blog-content h3 {
  margin: 34px 0 12px;
  font-size: 1.25rem;
  font-weight: 700;
}

.ap-blog-content p,
.ap-blog-content ul,
.ap-blog-content ol,
.ap-blog-content blockquote,
.ap-blog-content table,
.ap-blog-content pre {
  margin: 0 0 24px;
}

.ap-blog-content ul,
.ap-blog-content ol {
  padding-left: 1.3rem;
}

.ap-blog-content li {
  margin: 8px 0;
}

.ap-blog-content blockquote {
  border-left: 3px solid #077A8D;
  padding: 8px 0 8px 18px;
  color: #162355;
}

.ap-blog-content code {
  border: 1px solid #E1E7EC;
  border-radius: 7px;
  background: #F4F7F8;
  padding: 0.12rem 0.36rem;
  font-size: 0.92em;
}

.ap-blog-content pre {
  overflow-x: auto;
  border-radius: 12px;
  background: #162355;
  color: #ffffff;
  padding: 18px;
}

.ap-blog-content pre code {
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
}

.ap-blog-content table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid #E5E9EF;
  border-radius: 12px;
  background: #ffffff;
}

.ap-blog-content th,
.ap-blog-content td {
  border-bottom: 1px solid #E5E9EF;
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}

.ap-blog-content th {
  color: #162355;
  background: #F4F7F8;
}

.ap-blog-figure,
.ap-blog-compare,
.ap-blog-deck-preview {
  margin: 30px 0 34px;
}

.ap-blog-figure {
  overflow: hidden;
  border: 1px solid #E2E8F0;
  border-radius: 18px;
  background: #F8FAFC;
  box-shadow: 0 20px 46px -34px rgba(22, 35, 85, 0.34);
}

.ap-blog-figure img,
.ap-blog-compare-panel img,
.ap-blog-deck-preview img {
  display: block;
  width: 100%;
  height: auto;
}

.ap-blog-figure figcaption,
.ap-blog-compare-panel figcaption {
  border-top: 1px solid #E2E8F0;
  background: #ffffff;
  color: #5B6472;
  font-size: 0.88rem;
  line-height: 1.5;
  padding: 13px 16px;
}

.ap-blog-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.ap-blog-compare-panel {
  overflow: hidden;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  background: #F8FAFC;
}

.ap-blog-deck-preview {
  max-height: 680px;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid #DDE6EC;
  border-radius: 18px;
  background: #F3F7F8;
  padding: 18px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72), 0 20px 46px -36px rgba(22, 35, 85, 0.4);
}

.ap-blog-deck-preview img {
  border: 1px solid #D9E1E7;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 14px 34px -28px rgba(22, 35, 85, 0.42);
}

.ap-blog-deck-preview img + img {
  margin-top: 18px;
}

.ap-blog-pdf-viewer {
  overflow: hidden;
  border: 1px solid #DDE6EC;
  border-radius: 18px;
  background: #F3F7F8;
  box-shadow: 0 20px 46px -36px rgba(22, 35, 85, 0.4);
}

.ap-blog-pdf-viewer iframe {
  display: block;
  width: 100%;
  min-height: 620px;
  border: 0;
  background: #ffffff;
}

.ap-blog-pdf-viewer figcaption {
  border-top: 1px solid #DDE6EC;
  background: #ffffff;
  color: #5B6472;
  font-size: 0.88rem;
  line-height: 1.5;
  padding: 13px 16px;
}

.ap-blog-final-cta {
  background: #21657F;
  color: #ffffff;
  padding: 58px 0 64px;
  text-align: center;
}

.ap-blog-final-cta h2 {
  margin: 0 0 16px;
  color: #ffffff;
  font-family: 'Crimson Pro', Georgia, 'Times New Roman', serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 300;
  line-height: 1.05;
}

.ap-blog-final-cta p {
  max-width: 560px;
  margin: 0 auto 30px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
  line-height: 1.7;
}

.ap-blog-final-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid #ffffff;
  border-radius: 8px;
  background: #ffffff;
  color: #21657F;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  padding: 0 28px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.ap-blog-final-cta a:hover {
  background: transparent;
  color: #ffffff;
}

@media (max-width: 1024px) {
  .ap-blog-hero-grid,
  .ap-blog-featured,
  .ap-blog-article-grid {
    display: block;
  }

  .ap-blog-featured-body {
    padding: 26px;
  }

  .ap-blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ap-blog-article-media {
    margin-top: 30px;
  }

  .ap-blog-compare {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .ap-blog-container {
    width: min(100% - 28px, 760px);
  }

  .ap-blog-hero {
    padding-top: 48px;
  }

  .ap-blog-grid {
    grid-template-columns: 1fr;
    padding-bottom: 62px;
  }
}
