img {
  display: block;
  width: 100%;
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: 0.4s ease;
}
.overlay.active {
  pointer-events: painted;
  opacity: 1;
}

body {
  line-height: 1.5;
  color: #060028;
}

.slick-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}
.slick-dots li {
  padding: 0;
  margin: 0;
  background: none;
  line-height: 0;
  font-size: 0;
}
.slick-dots li button {
  border: none;
  border-radius: 50%;
  font-size: 0;
  padding: 5px;
  background: #D8DDED;
  margin: 0 4px;
  cursor: pointer;
  transition: 0.3s;
}
.slick-dots li.slick-active button {
  background: #060028;
  transition: 0.3s;
}

.header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 0 40px 1px rgba(0, 0, 0, 0.15);
  transition: 0.4s ease;
}
.header.shadow::before {
  pointer-events: painted;
  opacity: 1;
}

.container {
  max-width: 1208px;
  padding: 0 40px;
  margin: 0 auto;
}

.website-banner {
  display: none;
}

.hero__inner {
  padding: 88px 0;
}
.hero__info {
  max-width: 580px;
  margin: 0 auto;
}
.hero__info-title {
  text-align: center;
  font-size: 56px;
  line-height: 1;
  font-family: "Jokker";
  margin-bottom: 16px;
}
.hero__info-text {
  text-align: center;
  margin-bottom: 40px;
  font-size: 16px;
}
.hero__info-form {
  max-width: 360px;
  width: 100%;
  margin: 0 auto;
}
.hero__info-form .label {
  padding: 0;
  margin: 0;
}
.hero__info-form label.consent {
  max-width: 295px !important;
  color: #9CA1AA;
}
.hero__info-form label.consent a {
  color: #9CA1AA;
  font-weight: 600;
}
.hero__info-form .group {
  position: relative;
  padding: 0;
  border: none;
}
.hero__info-form .input {
  width: 100%;
  border-radius: 100px;
}
.hero__info-form .btn {
  position: absolute;
  right: 1px;
  top: 50%;
  translate: 0 -50%;
  height: calc(100% - 2px);
  padding: 12px 24px;
  border-radius: 100px;
  max-width: max-content;
}
.hero__info-form .validateMessage {
  position: static;
}
.hero__info-form .thnx-msg {
  display: none;
  max-width: 250px;
  text-align: center;
  margin: 0 auto;
}
.hero__info-form.submited .label,
.hero__info-form.submited .consent {
  display: none;
}
.hero__info-form.submited .thnx-msg {
  display: block;
}

.nav {
  position: relative;
}
.nav.active {
  z-index: 2000;
}
.nav__filter {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
  position: relative;
}
.nav__category {
  max-width: 230px;
  width: 100%;
  position: relative;
  z-index: 1000;
}
.nav__category-btn {
  width: 100%;
  border-radius: 100px;
  border: 1px solid #9CA1AA;
  padding: 12px 32px 12px 16px;
  position: relative;
  cursor: pointer;
  font-size: 16px;
  line-height: 1.5;
  color: #26282B;
  background: #fff;
  text-align: left;
  text-transform: capitalize;
}
.nav__category-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 12px;
  translate: 0 -50%;
  width: 20px;
  height: 20px;
  background: center/contain no-repeat url("../img/blog/new/arrow-down-icon.svg");
}
.nav__category-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  padding: 2px;
  box-sizing: unset;
  border: 2px solid #3a5ad9;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
  transition: 0.35s ease;
}
.nav__category-btn:focus::after, .nav__category-btn:active::after {
  opacity: 1;
}
.nav__list {
  z-index: 10;
  border-radius: 20px;
  background: #fff;
  overflow: hidden;
  max-height: 0;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  width: 100%;
  transition: all 0.5s ease;
}
.nav__list.active {
  padding: 8px 0;
  max-height: 700px;
}
.nav__list li {
  display: block;
  width: 100%;
}
.nav__list-item {
  display: block;
  width: 100%;
  padding: 12px 16px;
  font-size: 16px;
  cursor: pointer;
  transition: none;
}
.nav__list-item, .nav__list-item:visited {
  color: #060028;
}
.nav__list-item:hover {
  background: #EBEEF2;
}
.nav__search {
  position: relative;
  max-width: 330px;
  width: 100%;
}
.nav__search-form .label {
  position: relative;
  padding: 0;
  margin: 0;
}
.nav__search-form .label::before {
  content: "";
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  left: 16px;
  width: 20px;
  height: 20px;
  background: center/contain no-repeat url("../img/blog/new/search-icon.svg");
  z-index: 1;
}
.nav__search-form .label::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  padding: 2px;
  box-sizing: unset;
  border: 2px solid #3a5ad9;
  width: 100%;
  height: 100%;
  border-radius: 100px;
  opacity: 0;
  pointer-events: none;
  transition: 0.35s ease;
}
.nav__search-form .label:has(.input:focus)::after {
  opacity: 1;
}
.nav__search-form .label #inputClear {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  right: 12px;
  width: 20px;
  height: 20px;
  background: center/contain no-repeat url("../img/blog/new/close-icon.svg");
  cursor: pointer;
  display: block;
  opacity: 0;
  pointer-events: none;
  padding: 0;
  border: none;
  transition: 0.4s;
}
.nav__search-form .label #inputClear.search-active {
  opacity: 1;
  pointer-events: painted;
}
.nav__search-form .input {
  position: relative;
  width: 100%;
  border-radius: 100px;
  padding: 12px 44px;
  outline: none;
}
.nav__search-form .input::placeholder {
  color: #9CA1AA;
}
.nav__search-form .submit {
  display: none;
}
.nav__search-list {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  width: 100%;
  border-radius: 20px;
  background: #fff;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  z-index: 999;
  transition: all 0.3s ease;
}
.nav__search-list.active {
  padding: 8px 0;
  opacity: 1;
  pointer-events: painted;
}
.nav__search-list li {
  cursor: pointer;
}
.nav__search-list li:hover {
  background: #f5f5f5;
}
.nav__search-list li a {
  padding: 12px 16px;
}
.nav__result {
  padding-top: 12px;
  font-size: 16px;
}

.posts__inner {
  padding-bottom: 144px;
}
.posts__box {
  padding: 32px 0 64px;
}
.posts__articles {
  display: flex;
  flex-wrap: wrap;
  gap: 56px 24px;
}
.posts__articles-item {
  width: calc(33.33% - 16px);
}
.posts__article-picture {
  display: flex;
  position: relative;
}
.posts__article-picture img {
  border-radius: 12px;
  height: auto;
}
.posts__article-picture img.preview {
  z-index: 1;
  transition: 0.3s ease;
}
.posts__article-picture img.bg {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: 0.3s ease;
}
.posts__article-picture:hover img.preview {
  translate: -10px -10px;
}
.posts__article-picture:hover img.bg {
  opacity: 1;
}
.posts__article-title, .posts__article-title:visited {
  color: #060028;
}
.posts__article-title h3 {
  margin: 24px 0 8px;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 600;
}
.posts__article-date {
  color: #696E77;
  font-size: 14px;
  margin-bottom: 12px;
}
.posts__article-date span::before {
  content: " | ";
}
.posts__article-text p {
  font-size: 16px;
  line-height: 1.5;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  display: -webkit-box;
}
.posts__pagination {
  gap: 24px;
}
.posts__pagination, .posts__pagination ul {
  display: flex;
  align-items: center;
  justify-content: center;
}
.posts__pagination ul {
  gap: 4px;
}
.posts__pagination ul li a {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
}
.posts__pagination ul li.active a {
  background: #060028;
  color: #fff;
}
.posts__pagination-btn {
  color: #9CA1AA;
  cursor: default;
  display: flex;
  align-items: center;
  gap: 4px;
}
.posts__pagination-btn.active {
  color: #060028;
  cursor: pointer;
}
.posts__pagination-btn.active svg path {
  stroke: #060028;
}
.posts__pagination-btn svg {
  width: 16px;
}
.posts__pagination-btn svg path {
  stroke: #9CA1AA;
}
.posts__pagination-btn.previous-btn svg {
  rotate: 180deg;
}

.popular__inner {
  padding-bottom: 144px;
}
.popular__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
}
.popular__top-title {
  font-size: 44px;
  line-height: 1.2;
  font-family: "Jokker";
}
.popular__top-btns {
  display: flex;
  align-items: center;
  gap: 16px;
}
.popular__top-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  background: center/contain no-repeat url("../img/blog/new/slider-btn.svg");
  font-size: 0;
  border: none;
  transition: 0.3s;
}
.popular__top-btn.prev-btn {
  rotate: 180deg;
}
.popular__top-btn:hover {
  background-image: url("../img/blog/new/slider-btn-hover.svg");
}
.popular__box {
  margin: 0 -12px;
}
.popular__box-btns {
  display: none;
}
.popular__slider .posts__article {
  margin: 0 12px;
}
.popular__slider .posts__article-picture:hover img.preview {
  translate: none;
}

.footer__inner {
  padding-top: 0;
}

.search-active .hero {
  display: none;
}
.search-active .nav__inner {
  padding-top: 88px;
}
.search-active .nav__category {
  display: none;
}
.search-active .nav__search {
  max-width: 100%;
}
.search-active .posts:has(.posts__box) .posts__inner {
  padding-top: 88px;
}
.search-active .posts__box {
  padding-top: 0;
}

@media (max-width: 1023px) {
  body:has(.overlay.active) .header__btn {
    z-index: 0;
    transition: none;
  }

  .hero__inner {
    padding: 64px 0 96px;
  }
  .hero__info-title {
    font-size: 40px;
    margin-bottom: 12px;
  }
  .hero__info-text {
    margin-bottom: 32px;
  }

  .posts__articles {
    gap: 48px 16px;
  }
  .posts__articles-item {
    width: calc(50% - 8px);
  }

  .popular__inner {
    padding-bottom: 96px;
  }
  .popular__top-title {
    font-size: 40px;
  }

  .search-active .nav__inner {
    padding-top: 64px;
  }
  .search-active .posts:has(.posts__box) .posts__inner {
    padding-top: 64px;
  }
  .search-active .posts__box {
    padding-top: 0;
  }
}
@media (max-width: 767px) {
  .container {
    padding: 0 16px;
  }

  .hero__inner {
    padding: 48px 0 64px;
  }

  .nav__filter {
    flex-direction: column;
  }
  .nav__category, .nav__search {
    max-width: 100%;
  }

  .posts__inner {
    padding-bottom: 64px;
  }
  .posts__articles-item {
    width: 100%;
  }
  .posts__pagination {
    gap: 24px;
  }
  .posts__pagination-btn {
    font-size: 0;
    min-width: 20px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .popular__top {
    margin-bottom: 28px;
    display: block;
  }
  .popular__top-title {
    font-size: 28px;
    text-align: center;
  }
  .popular__top-btns {
    display: none;
  }
  .popular__box-btns {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
  }
  .popular__box .slick-dots {
    order: 2;
  }
  .popular__box-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    cursor: pointer;
    background: center/contain no-repeat url("../img/blog/new/slider-btn.svg");
    font-size: 0;
    border: none;
    order: 3;
    transition: 0.3s;
  }
  .popular__box-btn.prev-btn {
    rotate: 180deg;
    order: 1;
  }
  .popular__box-btn:hover {
    background-image: url("../img/blog/new/slider-btn-hover.svg");
  }
}

/*# sourceMappingURL=blog-category.css.map */
