.blog-page {
  padding: 8px 0 64px;
  background: #fff;
  font-family: 'Montserrat', 'Open Sans', sans-serif;
  color: #243246;
}

.blog-page h1,
.blog-page h2,
.blog-page p,
.blog-page a,
.blog-page time {
  float: none;
  font-family: 'Montserrat', 'Open Sans', sans-serif;
}

.blog-page__head,
.blog-article__head {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
}

.blog-page__head {
  max-width: 720px;
  margin: 0 0 22px;
}

.blog-page__head h1,
.blog-article__head h1 {
  width: auto;
  height: auto;
  position: static;
  overflow: visible;
  text-indent: 0;
  margin: 4px 0 8px;
  color: #002b5c;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.4px;
}

.blog-page__head p,
.blog-page__empty {
  margin: 0;
  color: #44536a;
  font-size: 16px;
  line-height: 1.6;
}

.blog-page__cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
}

.blog-page__cats a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid #d5e3f2;
  border-radius: 999px;
  background: #fff;
  color: #005bb7;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
}

.blog-page__cats a:hover,
.blog-page__cats a.is-active {
  border-color: #005bb7;
  background: #005bb7;
  color: #fff;
  text-decoration: none;
}

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

.blog-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e6eef6;
  border-radius: 14px;
  background: #fff;
}

.blog-card__media {
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #e8eef5;
  text-decoration: none;
}

.blog-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.blog-card__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  flex: 1;
  padding: 16px 16px 18px;
}

.blog-card__badge {
  display: inline-flex;
  color: #3d9e2a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.3;
  text-transform: uppercase;
  text-decoration: none;
}

.blog-card__badge:hover {
  color: #317e21;
  text-decoration: none;
}

.blog-card__date,
.blog-article__meta time {
  color: #6a7b8f;
  font-size: 13px;
  font-weight: 600;
}

.blog-card__title {
  margin: 0;
  color: #002b5c;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
}

.blog-card__title a {
  color: inherit;
  text-decoration: none;
}

.blog-card__title a:hover {
  color: #005bb7;
  text-decoration: none;
}

.blog-card__perex {
  margin: 0;
  color: #44536a;
  font-size: 14px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 4px;
  color: #3d9e2a;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.blog-card__cta:hover {
  color: #317e21;
  text-decoration: none;
}

.blog-card__cta i {
  font-size: 12px;
}

.blog-page__pager {
  margin-top: 28px;
}

.blog-page__pager .pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.blog-page__pager .pagination a,
.blog-page__pager .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid #d5e3f2;
  border-radius: 8px;
  color: #005bb7;
  font-weight: 600;
  text-decoration: none;
}

.blog-page__pager .pagination .active span,
.blog-page__pager .pagination .active a {
  border-color: #005bb7;
  background: #005bb7;
  color: #fff;
}

.blog-article__sheet {
  max-width: 820px;
}

.blog-article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin: 0 0 10px;
}

.blog-article__head h1 {
  margin: 0 0 18px;
  font-size: 34px;
}

.blog-article__hero {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  margin: 0 0 22px;
  border-radius: 14px;
  object-fit: cover;
  background: #e8eef5;
}

.blog-article__lead {
  margin: 0 0 22px;
  color: #243246;
  font-size: 18px;
  line-height: 1.6;
}

.blog-article .content-blog h2,
.blog-article .content-blog h3,
.blog-article .content-blog p,
.blog-article .content-blog ul,
.blog-article .content-blog ol,
.blog-article .content-blog li {
  float: none;
  width: auto;
}

.blog-article .content-blog h2 {
  margin: 1.6em 0 0.45em;
  color: #002b5c;
  font-size: 24px;
  line-height: 1.3;
  font-weight: 700;
}

.blog-article .content-blog h3 {
  margin: 1.3em 0 0.35em;
  color: #002b5c;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 700;
}

.blog-article .content-blog p,
.blog-article .content-blog li {
  color: #243246;
  font-size: 16px;
  line-height: 1.7;
}

.blog-article .content-blog ul,
.blog-article .content-blog ol {
  margin: 0 0 16px;
  padding-left: 22px;
}

.blog-article .content-blog li {
  margin-bottom: 8px;
}

.blog-article .content-blog a {
  color: #005bb7;
  font-weight: 600;
}

.blog-article__back {
  margin: 28px 0 0;
}

.blog-article__back a {
  color: #005bb7;
  font-weight: 700;
  text-decoration: none;
}

.blog-article__back a:hover {
  text-decoration: underline;
}

.compare-table {
  overflow-x: auto;
  margin: 0 0 20px;
}

.compare-table table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 15px;
}

.compare-table th,
.compare-table td {
  border: 1px solid #d5dde6;
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
  color: #243246;
}

.compare-table th {
  background: #f4f7fb;
  font-weight: 700;
}

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

  .blog-page__head h1,
  .blog-article__head h1 {
    font-size: 28px;
  }
}

@media (max-width: 640px) {
  .blog-page {
    padding-bottom: 40px;
  }

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