/* Existing blog-post template styles, shared externally by the ROI guide. */
body {
  background: #f7f8fa;
}

.c-layout-header.c-header-on-scroll,
.c-layout-header.c-header-transparent-dark {
  background: rgba(5, 22, 46, 0.98) !important;
  transition: background 0.3s;
}

.post-wrapper {
  max-width: 980px;
  margin: 13.5rem auto 5rem;
  padding: 2.5rem 2.25rem;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 20px 45px rgba(20, 42, 67, 0.08);
  border: 1px solid #edf1f7;
}

.post-header {
  border-bottom: 1px solid #e9edf3;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
}

.post-header h1 {
  margin: 0 0 0.75rem;
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 1.2;
  color: #1f2f46;
}

.post-meta {
  margin: 0;
  color: #6c7a89;
  font-size: 1.4rem;
  font-weight: 500;
}

.post-content {
  color: #2d3a4d;
  font-size: 1.8rem;
  line-height: 1.9;
}

.post-content h2,
.post-content h3,
.post-content h4 {
  color: #1f2f46;
  margin-top: 3rem;
  margin-bottom: 1.2rem;
  font-weight: 700;
  line-height: 1.35;
}

.post-content h2 {
  font-size: 3rem;
}

.post-content h3 {
  font-size: 2.5rem;
}

.post-content p,
.post-content ul,
.post-content ol,
.post-content blockquote {
  margin-bottom: 1.8rem;
}

.post-content a {
  color: #1e88e5;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.post-content img {
  max-width: 100%;
  border-radius: 8px;
  height: auto;
}

.post-content table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; margin: 2rem 0; font-size: 1.5rem; line-height: 1.6; }
.post-content th, .post-content td { min-width: 150px; padding: 1rem; border: 1px solid #dce4ef; vertical-align: top; }
.post-content th { background: #f3f7fc; color: #1f2f46; }
.post-content { overflow-wrap: anywhere; }

.post-content pre,
.post-content code {
  background: #f3f7fc;
  border-radius: 6px;
}

.post-content pre {
  padding: 1.25rem;
  overflow-x: auto;
  border: 1px solid #e6edf8;
}

.post-content code {
  padding: 0.15em 0.4em;
  color: #204a7a;
}

.post-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.75rem 0 1.75rem;
  font-size: 1.3rem;
  font-weight: 600;
  color: #1e88e5;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.post-related {
  margin-top: 3.25rem;
  padding: 2rem;
  border: 1px solid #cfe3ee;
  border-radius: 10px;
  background: #f1f9fc;
}

.post-related h2 {
  margin: 0 0 0.75rem;
  font-size: 2.35rem;
}

.post-related p {
  margin-bottom: 1.25rem;
  color: #50647b;
  font-size: 1.6rem;
  line-height: 1.7;
}

.post-related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.post-related-links a {
  color: #0878a3;
  font-size: 1.45rem;
  font-weight: 600;
  text-decoration: none;
}

@media (max-width: 991px) {
  .post-wrapper {
    margin-top: 9.5rem;
    padding: 2rem 1.6rem;
  }

  .post-header h1 {
    font-size: 2.8rem;
  }
}

@media (max-width: 767px) {
  .post-wrapper {
    margin-top: 8.8rem;
    margin-bottom: 3rem;
    padding: 1.75rem 1.35rem;
  }

  .post-header h1 {
    font-size: 2.35rem;
  }

  .post-content {
    font-size: 1.65rem;
    line-height: 1.75;
  }
}
