.media {
  padding-bottom: 50px;
}
@media screen and (min-width: 1200px) {
  .media {
    padding-bottom: 90px;
  }
}
.media .tab-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.media .tab-head {
  border-bottom: 1px solid #b5bfc8;
}
.media .tab {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  padding: 10px;
  text-align: center;
  cursor: pointer;
  -webkit-transition: width 0.3s ease, background-color 0.3s ease;
  transition: width 0.3s ease, background-color 0.3s ease;
  max-width: -webkit-max-content;
  max-width: -moz-max-content;
  max-width: max-content;
  padding: 18px 0px;
  margin: 0 40px;
  position: relative;
  font-size: 14px;
  font-weight: 400;
}
@media screen and (min-width: 1600px) {
  .media .tab {
    font-size: 15px;
    font-weight: 400;
    padding: 22px 0px;
  }
}
.media .tab::before {
  position: absolute;
  left: 0;
  content: "";
  bottom: 0;
  width: 100%;
  height: 3px;
  background-color: #52afc7;
  -webkit-transform: scale(0);
          transform: scale(0);
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
.media .tab.active::before {
  -webkit-transform: scale(1);
          transform: scale(1);
}
.media .content-container {
  position: relative;
  padding-top: 50px;
  padding-bottom: 50px;
}
@media screen and (min-width: 1200px) {
  .media .content-container {
    padding-top: 140px;
    padding-bottom: 100px;
  }
}
@media screen and (min-width: 1600px) {
  .media .content-container {
    padding-top: 190px;
    padding-bottom: 100px;
  }
}
.media .tab-content {
  display: none;
  opacity: 0;
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}
.media .tab-content.active {
  display: block;
  opacity: 1;
}
.media .row {
  row-gap: 28px;
}
@media screen and (min-width: 1200px) {
  .media .row {
    row-gap: 36px;
  }
}
.media .media-card {
  position: relative;
  width: 100%;
}
@media screen and (min-width: 1200px) {
  .media .media-card {
    max-width: 519px;
  }
}
.media .media-card figure {
  padding-top: calc(340 / 519 * 100%);
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 15px;
}
.media .media-card figure img {
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  top: 0;
}
@media screen and (min-width: 1200px) {
  .media .media-card figure {
    margin-bottom: 20px;
  }
}
.media .media-card figure img {
  will-change: transform;
  -webkit-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
  -webkit-transform: scale(1.04);
          transform: scale(1.04);
}
.media .media-card .title {
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 0;
  margin-bottom: 2px;
}
@media screen and (min-width: 1200px) {
  .media .media-card .title {
    font-size: 18px;
  }
}
@media screen and (min-width: 1600px) {
  .media .media-card .title {
    font-size: 20px;
  }
}
.media .media-card .btn {
  color: #025D78;
}
.media .media-card .btn .icon-arrow::before {
  color: #025D78;
}
.media .media-card:hover figure img {
  /* -webkit-transform: scale(1.06);
          transform: scale(1.06); */
  -webkit-transform: scale(1.3);
          transform: scale(1.3);
}

.media .loading {
  max-width: -webkit-max-content;
  max-width: -moz-max-content;
  max-width: max-content;
  margin: auto;
}