.topics-section {
  position: relative;
  margin-top: -122px;
}
.topics-section .gray-square {
  content:'';
  position: absolute;
  top: -107px;
  right:0;
  bottom: 41%;
  z-index:-1;
  width: calc(50% + 342px);
  background: #dadfe3;
}
.topics-section .row {
  display: block;
  column-count: 2;
  column-gap: 32px;
  padding-top:224px;
  margin-bottom: -30px;
}
.topics-section .topic-item:first-child {
  margin-top: -224px;
}
.topics-section .topic-item .descr {
  position: absolute;
  z-index: 2;
  left: 0;
  bottom:0;
  right: 0;
  background: #035975;
  border-radius: 0 0 8px 8px;
  padding: 31px 32px 37px;
}
.topics-section  .arrow-link:after {
  border-color: #fff;
}
.topics-section .topic-item .descr p {
  margin: 10px 0 0;
}
.topics-section .topic-item {
  position: relative;
  margin: 0 0 30px;
  break-inside: avoid;
  display: inline-block;
  vertical-align: top;
  width: 100%;
  overflow: hidden;
  color: #fffdf7;
  font-size: 18px;
  line-height: 1.333;
  overflow: hidden;
  border-radius:0 0 8px 8px;
}
.topics-section .topic-item img {
  width: 100%;
  height: auto;
  display: none;
}
.topics-section .topic-item:after {
  content:'';
  display: block;
  padding-top: 86%;
}
.topics-section .topic-item .bg-image {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index:1;
  transition:all 0.3s ease; 
}
.topics-section .topic-item:hover .bg-image {
  transform: scale(1.05)
}
.topics-section .hs_cos_wrapper {
  overflow: hidden;
  max-height: 0;
  transition:all 0.4s ease;
}
.topics-section .topic-item:hover .hs_cos_wrapper {
  max-height: 150px;
}
@media (min-width: 1400px) and (max-height: 800px) {
  .topics-section {
    margin-top: -70px;
  }
}
@media (max-width: 1399px) {
  .topics-section {
    margin-top: -52px;
  }
  .topics-section .gray-square {
    width: calc(50% + 266px)
  }
  .topics-section .topic-item .descr {
    padding: 26px 26px 29px;
  }
  .topics-section .topic-item {
    font-size: 16px;
    margin-bottom: 26px;
  }
  .topics-section .row {
    column-gap: 26px;
    margin-bottom: -26px;
  }
}
@media (max-width: 1023px) {
  .topics-section:before {
    width: calc(75% + 16px);
    top: -50px;
  }
  .topics-section .row {
    padding-top: 160px;
    column-gap: 20px;
    margin-bottom: -20px;
  }
  .topics-section .topic-item:first-child {
    margin-top: -160px;
  }
  .topics-section .topic-item .descr {
    padding: 16px 16px 18px;
  }
  .topics-section {
    margin-top: -20px;
  }
  .topics-section .topic-item {
    margin-bottom: 20px;
  }
}
@media (max-width: 767px) {
  .topics-section .row {
    column-count: 1;
    column-gap: 0;
    margin-bottom: -24px;
  }
  .topics-section {
    margin-top:0;
    padding-top: 20px;
  }
  .topics-section .gray-square {
    top: 0;
  }
  .topics-section .row {
    padding-top:0;
  }
  .topics-section .topic-item:first-child {
    margin-top: 0;
  }
  .topics-section .topic-item {
    margin-bottom: 20px;
    font-size: 14px;
  }
  .topics-section .topic-item .descr p {
    margin-top: 5px;
  }
  .topics-section .topic-item:after {
    padding-top: 92%:
  }
}