.blog-wrapper {
  padding: 0 12px;
}

.blog-main {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 8px;
  margin: 0;
  padding: 0;
}

@media (min-width: 600px) {
  .blog-main {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

@media (min-width: 900px) {
  .blog-main {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

.blog-main__card-body {
  opacity: .85;
  transition: .25s ease-in-out;
  cursor: pointer;
}

@media (hover: hover) and (pointer: fine) {
  .blog-main__card-body:hover {
    opacity: 1;
  }
}

.card-body_content {
  padding-bottom: 8px;
}

.card-body_date-text {
  text-align: right;
  font-size: 12px;
  color: #4685F9;
  margin-bottom: 8px;
}

.card-body_header {
  padding: 12px 12px 8px;
}

.card-body_content h2 {
  margin: 0;
  padding: 0
}

.card-body_title {
  font-size: 15px;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -moz-box;
  -moz-box-orient: vertical;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  box-orient: vertical;
  height: 40px;
}

.card-body_short-text {
  font-size: 12px;
  line-height: 1.2;
  padding: 0 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -moz-box;
  -moz-box-orient: vertical;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  line-clamp: 3;
  box-orient: vertical;
  min-height: 46px;
  height: max-content;
}

.card-body_content {
  background-color: #F8F8F8;
  transition: .25s ease-in-out;
  border: 1px solid transparent;
}

.card-body_content img {
  display: block;
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 300px;
}


@media (hover: hover) and (pointer: fine) {
  .card-body_content:hover {
    border: 1px solid #0000001A;
  }
}


.blog-header__text {
  text-transform: uppercase;
  font-size: 42px;
  line-height: 1.2;
  text-align: center;
  margin: 24px 0px;
}

.blog-container {
  margin: 0 auto;
  max-width: 900px;
  width: 100%;
}

.blog-meta {
  text-align: right;
  font-size: 14px;
  color: #4685F9;
}

.blog-content {
  font-size: 18px;
  line-height: 1.2;
}

.blog-content :is(h1, h2, h3, h4, h5, h6) {
  position: relative;
  text-align: center;
  margin-bottom: 24px;
  font-weight: 700;
}

.blog-content :is(h1, h2) {
  font-size: 32px;
}

.blog-content h3 {
  font-size: 24px;
}

.blog-content h4 {
  font-size: 22px;
}

.blog-content :is(h5, h6) {
  font-size: 18px;
}

.blog-content :is(h1, h2, h3) {
  padding-bottom: 12px;
  border-bottom: 1px solid #FFC700;
}

.blog-content p {
  margin-bottom: 12px;
}

.blog-content a {
  display: inline-block;
  padding: 4px;
  background-color: var(--color-blue);
  color: #ffffff;
  transition: .25s ease-in-out;
}

.blog-content :is(b, strong) {
  font-weight: 700;
}

.blog-content img,
.blog-content video {
  display: block;
  margin: 0 auto 12px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

@media (hover: hover) and (pointer: fine) {
  .blog-content a:hover {
    background-color: var(--blue-hover);
  }
}

.blog-content :is(i, em) {
  font-style: italic;
}

.blog-content :is(ul, ol) {
  list-style-position: inside;
  margin: 0 0 12px;
}

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