:root {
  --cream: #F7F5F0;
  --cream-dark: #EDE9E1;
  --navy: #0B1C38;
  --gold: #B8966A;
  --text-body: #3D4B5C;
  --border: rgba(11,28,56,0.12);
  --sans: 'DM Sans', system-ui, sans-serif;
  --serif: 'Playfair Display', Georgia, serif;
}

.blog-post-page {
  color: var(--text-body);
}

.blog-post-page .blog-post-wrap {
  width: min(980px, calc(100% - 40px));
  margin-inline: auto;
}

.blog-post-page article {
  padding: 46px 0 80px;
}

.blog-post-page .meta {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 12px;
}

.blog-post-page h1 {
  margin: 0 0 18px;
  color: var(--navy);
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 3.8vw, 50px);
  line-height: 1.08;
}

.blog-post-page .excerpt {
  margin: 0 0 30px;
  font-size: 17px;
  line-height: 1.72;
  color: #2E3F56;
}

.blog-post-page .content {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  max-width: 74ch;
  font-size: 18px;
  line-height: 1.85;
}

.blog-post-page .content > *:first-child {
  margin-top: 0;
}

.blog-post-page .content > *:last-child {
  margin-bottom: 0;
}

.blog-post-page .content p,
.blog-post-page .content ul,
.blog-post-page .content ol,
.blog-post-page .content blockquote {
  margin: 0 0 1.1em;
}

.blog-post-page .content li {
  margin: 0.22em 0;
}

.blog-post-page .featured {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--border);
  margin: 0 0 22px;
  max-height: 420px;
  object-fit: cover;
  background: var(--cream-dark);
}

.blog-post-page .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
}

.blog-post-page .chip {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  color: var(--navy);
  background: var(--cream-dark);
}

.blog-post-page .content h2,
.blog-post-page .content h3 {
  color: var(--navy);
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.2;
}

.blog-post-page .content h2 {
  font-size: clamp(26px, 2.4vw, 36px);
  margin: 1.22em 0 0.42em;
}

.blog-post-page .content h3 {
  font-size: clamp(20px, 1.8vw, 28px);
  margin: 1.1em 0 0.5em;
}

.blog-post-page .content a {
  color: var(--navy);
}

.blog-post-page .content img,
.blog-post-page .featured {
  cursor: zoom-in;
}

.blog-post-page .not-found {
  padding: 52px 0;
  border: 1px dashed var(--border);
  background: var(--cream-dark);
  border-radius: 10px;
  text-align: center;
  margin-top: 28px;
}

.blog-post-page .lightbox {
  position: fixed;
  inset: 0;
  background: rgba(11, 28, 56, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 30;
  padding: 20px;
}

.blog-post-page .lightbox.open {
  display: flex;
}

.blog-post-page .lightbox img {
  max-width: min(1200px, 92vw);
  max-height: 88vh;
  border-radius: 10px;
  border: 1px solid rgba(247,245,240,0.25);
  object-fit: contain;
  background: rgba(247,245,240,0.08);
}

.blog-post-page .lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  border: 1px solid rgba(247,245,240,0.4);
  background: transparent;
  color: var(--cream);
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  font: inherit;
}

@media (max-width: 768px) {
  .blog-post-page .blog-post-wrap {
    width: min(980px, calc(100% - 26px));
  }

  .blog-post-page article {
    padding: 28px 0 50px;
  }

  .blog-post-page .content {
    font-size: 15.5px;
    line-height: 1.75;
    max-width: 100%;
  }

  .blog-post-page .content h2 {
    font-size: clamp(24px, 6.5vw, 30px);
  }

  .blog-post-page .content h3 {
    font-size: clamp(19px, 5.2vw, 24px);
  }
}
