.cms-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
}

.cms-post-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #d9e0e7;
  border-radius: 8px;
  background: #fff;
}

.cms-post-image {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #eef1f3;
}

.cms-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cms-post-body {
  padding: 20px;
}

.cms-post-body h3 {
  margin: 10px 0;
  font-size: 21px;
  line-height: 1.35;
  letter-spacing: 0;
}

.cms-post-body h3 a {
  color: #17324d;
  text-decoration: none;
}

.cms-post-body h3 a:hover {
  color: #087f6b;
}

.cms-post-date {
  color: #687684;
  font-size: 14px;
}

.cms-article-header {
  padding: 72px 0 56px;
  border-bottom: 1px solid #dce3e8;
  background: #f2f6f5;
}

.cms-article-header h1 {
  max-width: 900px;
  margin: 12px 0 18px;
  color: #15324a;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.08;
  letter-spacing: 0;
}

.cms-article-header .lead {
  max-width: 780px;
}

.cms-article-header .eyebrow {
  display: block;
}

.cms-back-link {
  display: inline-block;
  margin-bottom: 26px;
  color: #087f6b;
  font-weight: 700;
  text-decoration: none;
}

.cms-article-meta {
  margin-top: 22px;
  color: #687684;
}

.cms-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 56px;
  align-items: start;
}

.cms-article-body {
  min-width: 0;
  color: #263746;
  font-size: 18px;
  line-height: 1.8;
}

.cms-article-body h2,
.cms-article-body h3 {
  scroll-margin-top: 100px;
  color: #17324d;
  letter-spacing: 0;
}

.cms-article-body h2 {
  margin: 42px 0 14px;
  font-size: 30px;
}

.cms-article-body h3 {
  margin: 30px 0 12px;
  font-size: 23px;
}

.cms-article-body img,
.cms-article-visual {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.cms-article-visual {
  width: 100%;
  max-height: 520px;
  margin-bottom: 30px;
  object-fit: cover;
}

.cms-article-aside {
  position: sticky;
  top: 98px;
  padding-left: 24px;
  border-left: 3px solid #1a927c;
  color: #526373;
}

.cms-article-aside strong {
  color: #17324d;
  font-size: 20px;
}

.cms-article-aside .btn {
  margin-top: 10px;
}

@media (max-width: 980px) {
  .cms-blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cms-article-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .cms-article-aside {
    position: static;
  }
}

@media (max-width: 640px) {
  .cms-blog-grid {
    grid-template-columns: 1fr;
  }

  .cms-article-header {
    padding: 48px 0 40px;
  }

  .cms-article-header h1 {
    font-size: 38px;
  }

  .cms-article-body {
    font-size: 16px;
  }
}
