.wp-block-files {
  position: relative;
  margin-bottom: 20px;
}
/* .wp-block-files:after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 202px;
  height: 454px;
  right: 46px;
  background-image: url(bg.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: -1;
} */
.files-content {
  display: flex;
  flex-wrap: wrap;
  margin-top: 20px;
}
.file-item {
  margin-right: 30px;
  margin-bottom: 30px;
  width: calc(100% / 3 - 30px * 2 / 3);
  border: 4px dashed #f3760a;
  background-color: #fff;
  border-radius: 25px;
  padding: 27px 35px 25px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: border 0.3s, background 0.3s;
}
.file-item .info {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.file-item:nth-child(3n) {
  margin-right: 0;
}

.file-item-img {
  padding-left: 28px;
  margin-bottom: 54px;
  position: relative;
}
.file-item-img img {
  position: relative;
  z-index: 1;
  max-width: 88px;
  max-height: 81px;
  object-fit: contain;
}
.file-item-img:before {
  content: "";
  position: absolute;
  display: block;
  top: 7px;
  left: 0;
  width: 100%;
  height: 105px;
  background-size: contain;
  background-position: left;
  background-repeat: no-repeat;
  z-index: 0;
}

/* .file-item:nth-child(3n + 1) .file-item-img:before {
  background-image: url(icon-bg-1.svg);
  top: 0;
  width: 111px;
  height: 94px;
}
.file-item:nth-child(3n + 2) .file-item-img:before {
  background-image: url(icon-bg-2.svg);
  width: 97px;
  height: 92px;
  top: 6px;
}
.file-item:nth-child(3n + 3) .file-item-img:before {
  background-image: url(icon-bg-3.svg);
  width: 98px;
  top: 4px;
  height: 89px;
} */
.file-item-title {
  font-weight: 800;
  font-size: 24px;
  line-height: 130%;
  color: black;
  margin-bottom: 20px;
}
.file-item-desc {
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: black;
}
.file-item svg {
  width: 50px;
  height: 50px;
  object-fit: contain;
  margin-left: auto;
  display: block;
  margin-top: auto;
  margin-right: -7px;
}
.file-item circle {
  fill: #f3760a;
}
.file-item:hover {
  background-color: #f6f6f8;
  border-color: #f6f6f8;
}
@media screen and (max-width: 1600px) {
  .wp-block-files:after {
    right: -16px;
  }
}
@media screen and (max-width: 1199px) {
  .file-item {
    margin-right: 20px;
    margin-bottom: 20px;
    width: calc(100% / 3 - 20px * 2 / 3);
  }
  .file-item svg {
    width: 40px;
    height: 40px;
  }
}
@media screen and (max-width: 991px) {
  .file-item {
    padding: 19px 21px 17px;
  }
  .file-item-img img {
    max-width: 71px;
    max-height: 56px;
  }
  .file-item-img {
    padding-left: 18px;
    margin-bottom: 28px;
  }
  .file-item:nth-child(1n) .file-item-img:before {
    width: 75px;
    height: 66px;
  }
  .file-item:nth-child(2n) .file-item-img:before {
    width: 66px;
    height: 62px;
  }
  .file-item:nth-child(3n) .file-item-img:before {
    width: 71px;
    height: 62px;
  }
  .file-item-title {
    font-size: 18px;
  }
  .file-item-desc {
    font-size: 14px;
  }
  .wp-block-files:after {
    width: 121px;
    height: 282px;
  }
}
@media screen and (max-width: 767px) {
  .wp-block-files:after {
    background: none;
    display: none;
  }
  .file-item {
    width: 100%;
    margin-right: 0;
    flex-direction: row;
  }
  .file-item .info {
    flex: 1;
    margin-left: 20px;
  }
  .file-item-img {
    margin-bottom: 0;
  }
  .file-item-title {
    margin-bottom: 5px;
  }
}
@media screen and (max-width: 400px) {
  .file-item {
    flex-direction: column;
    padding: 18px;
    padding-bottom: 10px;
  }
  .file-item .info {
    margin-left: 0;
  }
  .file-item-img {
    margin-bottom: 18px;
    padding-left: 13px;
  }
  .file-item-img img {
    max-width: 40px;
    max-height: 37px;
  }
  .file-item:nth-child(1n) .file-item-img:before {
    width: 53px;
    height: 43px;
  }
  .file-item:nth-child(2n) .file-item-img:before {
    top: 2px;
    width: 45px;
    height: 45px;
  }
  .file-item:nth-child(3n) .file-item-img:before {
    width: 45px;
    height: 42px;
  }
  .file-item svg {
    width: 34px;
    height: 34px;
  }
}
