body.blog-latest,
body.blog-category,
body.blog-article {
  background: #f7f8f9;
}

body.blog-article h1,
body.blog-article h2,
body.blog-article h3,
body.blog-article h4,
body.blog-article h5,
body.blog-article h6,
body.blog-article .h1 {
  width: 100%;
}

.blog-top {
  margin: 30px 0 12px;
}

.blog-top h1 {
  margin: 0 0 4px;
  font-size: 40px;
  font-weight: 700;
}

.blog-top .container {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
  height: 100%;
}

#content .row {
  display: flex;
  flex-wrap: wrap;
}

.blog-list-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  row-gap: 24px;
  margin-bottom: 40px;
}

.blog-item {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.blog-item .image,
.art .image {
  position: relative;
  height: 194px;
  overflow: hidden;
  margin-bottom: 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.art .image a {
  width: 100%;
  height: 100%;
}

.blog-item .image img,
.art .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-item .title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}

.blog-item .description {
  flex-grow: 1;
  font-size: 14px;
  /* text-align: justify; */
  line-height: 140%;
  margin-bottom: 12px;
}

.blog-item .tags {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.blog-item .tag {
  border-radius: 100px;
  background: #f1f1f1;
  padding: 4px 8px;
  font-size: 12px;
}

.blog-category-list {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  max-width: 100%;
}

.blog-category-list::-webkit-scrollbar {
  display: none;
}

.blog-category-list a {
  flex: 0 0 auto;
  padding: 6px;
  font-size: 16px;
  font-weight: 500;
  color: #000;
  display: block;
  white-space: nowrap;
}

.blog-category-list a.active {
  padding: 6px 12px;
  border-radius: 50px;
  border: 1px solid #f7cd46;
}

.blog-top .search {
  position: relative;
}

.blog-top .search input {
  padding: 12px;
  padding-right: 36px;
  border-radius: 6px;
  background: #fff;
  border: 0;
  min-width: 320px;
}

.blog-top .search input::placeholder {
  color: #d3d3d3;
}

.blog-top .search button {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 0;
}

.blog-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 4px;
}

.blog-more-btn {
  border: 0;
  border-radius: 5px;
  background: #eaeaea;
  padding: 13px 40px;
  font-weight: 500;
  color: #000;
  transition: 0.3s;
}

.blog-more-btn:hover {
  background: #d8d8d8;
}

.blog-pagination .pagination {
  display: flex;
  column-gap: 8px;
  justify-content: center;
}

.blog-pagination .pagination li a,
.blog-pagination .pagination li span {
  border-radius: 5px;
  font-size: 14px;
  line-height: 35px;
  border: 1px solid #d3d3d3;
  color: #000;
  width: 35px;
  height: 35px;
  padding: 0;
  text-align: center;
}

.blog-pagination .pagination li.active span {
  border-color: #f7cd46;
  background: #f7cd46;
  color: #fff;
}

.article-top h1 {
  margin-bottom: 20px;
  font-size: 24px;
}

.article-top .controls {
  padding: 0 0 15px 0;
  display: flex;
  align-items: center;
  column-gap: 10px;
}

.video-container {
  height: 0px;
  padding-bottom: 56.2%;
  position: relative;
}

.video-container iframe {
  width: 100%;
  height: 100%;
  position: absolute;
}

.blog-text h2 {
  font-size: 24px;
  margin: 16 0;
}

.blog-text img {
  max-width: 100%;
  border-radius: 8px;
}

h2.sub-title {
  border-bottom: 1px solid #d3d3d3;
  padding-bottom: 15px;
  font-size: 24px;
  margin: 40px 0;
}

.blog-empty {
  font-size: 16px;
  font-weight: 500;
  color: #9e9e9e;
  max-width: 512px;
  margin: 32px auto 0;
}

.blog-empty svg {
  margin-bottom: 24px;
}

.blog-empty h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 4px;
}

.blog-empty a {
  margin-top: 28px;
  padding: 15px 24px;
  border-radius: 5px;
  height: auto;
  font-size: 14px;
}

.blog-content {
  padding: 16px;
  border-radius: 6px;
  background: #fff;
  margin-bottom: 8px;
}

.blog-content:last-child {
  margin-bottom: 0;
}

.blog-content ul {
  margin-bottom: 0;
}

.blog-text ul, .blog-text ol {
  margin-bottom: 0;
  padding-left: 0;
  list-style: none;
  counter-reset: item;
  padding: 0;
  margin: 0;
}

.blog-text ul li, .blog-text ol li {
  counter-increment: item;
  margin: 8px 0;
  padding-left: 38px;
  position: relative;
  font-size: 14px;
}

.blog-text ul li::before, .blog-text ol li::before {
  content: counter(item);
  position: absolute;
  left: 0;
  top: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50px;
  background: #F2F2F2;
  color: #000;
  font-weight: 500;
}

.blog-title {
  font-size: 28px;
  font-weight: 700;
}

.blog-subtitle {
  font-size: 18px;
  font-weight: 700;
}

.controls {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #9e9e9e;
  font-size: 12px;
}

.blog-image {
  width: 100%;
  margin-top: 24px;
  border-radius: 8px;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
}

.blog-toc {
  margin-top: 12px;
}

.blog-toc ul a {
  color: #5067de;
  font-size: 14px;
  font-weight: 500;
  margin-top: 12px;
  display: block;
}

.articles {
  margin-bottom: 40px;
}

.articles-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.articles-arrows {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
}

.articles-arrows button {
  position: static !important;
  width: 28px;
  height: 28px;
  display: flex !important;
  transform: unset;
}

.articles-arrows .slick-arrow.swiper-button-disabled {
  display: flex !important;
  opacity: 0.3;
  cursor: default;
}

.articles-arrows .slick-arrow.swiper-button-disabled:hover {
  background: #f2f2f2 !important;
}

.articles-swiper {
  margin-bottom: 40px;
}

.btn-like {
  padding: 5px 10px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  border-radius: 50px;
  color: #fff;
  background: #000;
}

.btn-like.btn-like--active {
  background: #f1f1f1;
  color: #000;
}

.blog-controls-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.article-wrapper {
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 8px;
}

.article-wrapper #column-right.col-3 {
  max-width: unset;
  width: 100%;
  padding-right: 0;
}

.article-btns {
  display: none;
  position: fixed;
  bottom: 78px;
  left: 28px;
  align-items: center;
  gap: 8px;
}

.back-link {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  background: #fff;
  box-shadow: 0 0 18px 0 rgba(0, 0, 0, 0.1);
}

.article-btns .btn-like {
  box-shadow: 0 0 18px 0 rgba(0, 0, 0, 0.1);
}

.article-btns .btn-like.btn-like--active {
  display: none;
}

@media (max-width: 991px) {
  .blog-list-wrapper {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .blog-category-list {
    padding: 0 10px;
  }

  .blog-row .search {
    padding: 0 10px;
  }

  .blog-top .search button {
    right: 22px;
  }

  .article-btns {
    display: flex;
  }

  .article-wrapper {
    grid-template-columns: 100%;
  }

  .blog-top h1 {
    font-size: 24px;
  }

  .btn-like__text {
    display: none;
  }

  .article-btns .btn-like__text {
    display: block;
  }

  .blog-top .breadcrumb {
    display: none;
  }

  body.blog-latest .container,
  body.blog-category .container {
    padding: 0 10px;
    font-size: 14px;
  }

  .article-top h1 {
    font-size: 18px;
  }

  .video-container {
    margin: 0 10px;
    border-radius: 10px;
    overflow: hidden;
  }

  .blog-text h2 {
    font-size: 16px;
  }

  h2.sub-title {
    font-size: 20px;
    bottom: 30px 0 25px;
  }

  .review-container {
    padding: 0 10px;
  }

  .review-container .buttons .border-btn {
    margin-bottom: 5px;
  }

  #review .review-item .autor {
    font-size: 16px;
  }

  #review .review-item {
    width: 100%;
  }

  .blog-list-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-row {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    margin: 0 -10px;
  }

  .blog-top .search {
    width: 100%;
  }

  .blog-top .search input {
    width: 100%;
    min-width: unset;
    font-size: 16px;
  }
}

@media (max-width: 500px) {
  .blog-list-wrapper {
    grid-template-columns: repeat(1, 1fr);
  }

  .blog-item .image,
  .art .image {
    height: auto;
  }

  .blog-item .title {
    font-size: 16px;
  }
}

@media (min-width: 768px) {
  #content .col-sm-4:nth-child(3n + 1) {
    clear: left;
  }

  .blog-text .fw {
    margin: 0 -70px;
  }
}
