
.content_wrapper_block.front_sections_only_new {
  padding: 45px 0;
  background: transparent;
}

.content_wrapper_block.front_sections_only_new .maxwidth-theme{
  padding-top: 0 !important;
}

.front_sections_only_new__top {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin-bottom: 60px;
}

.front_sections_only_new__title {
  text-align: center;
  display: flex;
  align-items: end;
  position: relative;
}
.front_sections_only_new__title h2.top_block_title  {
font-weight: 700;
font-size: 44px;
line-height: 1;
letter-spacing: 2%;
text-align: center;
margin: 0;
text-transform: uppercase;
}

.front_sections_only_new__all {
  font-family: 'Inter', sans-serif;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  color: #111;
  text-decoration: none;
  position: absolute;
  bottom: 0;
  right: -25px;
  width: fit-content;
  transform: translateX(100%);
}

.front_sections_only_new__all:hover {
  color: #000;
}

.front_sections_only_new__all-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.front_sections_only_new__list {
  display: flex;
  justify-content: space-between;

}


.front_sections_only_new__item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 2.8 / 3;
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
  background: #000;
  max-width: 280px;
  height: auto;
}

.front_sections_only_new__link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none !important;
}

.front_sections_only_new__img {
  width: 100%;
  height: 100%;
  position: relative;
}

.front_sections_only_new__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.front_sections_only_new__item:hover .front_sections_only_new__img img {
  transform: scale(1.05);
}


.front_sections_only_new__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60%;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
  z-index: 1;
}


.front_sections_only_new__name {
  position: absolute;
  bottom: 30px;
  left: 15px;
  right: 15px;
  text-align: center;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  z-index: 2;
  letter-spacing: 0;
  line-height: 1;
}

.front_sections_only_new__item:nth-child(n+5) {
  display: none;
}



@media (max-width: 1199px) {

  .front_sections_only_new__item:nth-child(n+4) {
    display: none;
  }
}



@media (max-width: 991px) {

  .front_sections_only_new__item {
    width: 31%;
    max-width: unset;
  }

  .front_sections_only_new__all-text {
    display: none;
  }
  .front_sections_only_new__all-icon,   .front_sections_only_new__all-icon svg {
    width: 26px;
    height: 14px;
  }
  .front_sections_only_new__title {
  position: unset;
}
.front_sections_only_new__all {
  right: 0;
  transform: unset;
  bottom: 5px;
}
}


@media (max-width: 768px) {
  .content_wrapper_block.front_sections_only_new {
    padding: 30px 0;
  }
  .front_sections_only_new__item:nth-child(n+3) {
    display: none;
  }
  .front_sections_only_new__item {
    width: 48%;
  }

  .front_sections_only_new__top {
    margin-bottom: 45px;
  }

  .front_sections_only_new__title h2.top_block_title {
    font-size: 26px;
    text-align: center;
  }


 .front_sections_only_new__name {
    font-size: 10px;
    bottom: 20px;
    left: 10px;
    right: 10px;
  }

  .front_sections_only_new__item {
    border-radius: 16px;
  }
}

@media (max-width: 480px) {
  .front_sections_only_new__title h2.top_block_title {
    max-width: calc(100% - 30px);
  }
}
