:root {
  --blank-value: 80px;
}

.ethic {
  display: flex;
  justify-content: center;
  flex-direction: row;
  align-items: flex-start;
  width: 100%;
}
.ethic-hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 218px;
  background: linear-gradient(279deg, rgb(178, 225, 230) 0%, rgb(88, 148, 197) 35%, rgb(123, 120, 166) 100%);
}
.ethic-hero__container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 74px 54px;
  width: 100%;
  max-width: 1280px;
  min-height: inherit;
  border-left: 1px solid #6e76a2;
  border-right: 1px solid #9ac8d4;
}
.ethic-hero__sub {
  margin: 0;
  color: #ffffff;
  font-size: 12px;
  font-size: 0.75rem;
  line-height: 19.2px;
  line-height: 1.2rem;
  font-weight: 400;
  text-transform: uppercase;
}
.ethic-hero__title {
  margin: 0;
  color: #ffffff;
  font-size: 38px;
  font-size: 2.375rem;
  line-height: 60.8px;
  line-height: 3.8rem;
  font-weight: 600;
}
.ethic__container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding: 90px 190px 130px 190px;
  width: 100%;
  max-width: 1280px;
  border-left: 1px solid #eeeeee;
  border-right: 1px solid #eeeeee;
}
.ethic__content {
  display: flex;
  justify-content: center;
  width: 100%;
}
.ethic__paragraph {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 775px;
  color: #4c4f52;
  text-align: left;
}
.ethic__paragraph p {
  text-align: center;
}
.ethic__boxes {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-top: 40px;
  width: 100%;
  max-width: 775px;
}
.ethic__box {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  margin-top: 40px;
  margin: 7.5px;
  padding: 20px 50px;
  width: calc(33.3333333333% - 15px);
  min-height: 250px;
  border: 1px solid #e8ecf0;
  text-align: center;
  cursor: pointer;
  transition: 0.5s;
}
.ethic__box .image {
  margin-bottom: 10px;
  width: 40px;
}
.ethic__box h4 {
  font-size: 14px;
  font-size: 0.875rem;
  line-height: 22.4px;
  line-height: 1.4rem;
  color: #181818;
}
.ethic__box p {
  font-size: 12px;
  font-size: 0.75rem;
  line-height: 19.2px;
  line-height: 1.2rem;
  color: #4c4f52;
}
.ethic__box p a {
  font-size: 12px;
  font-size: 0.75rem;
  line-height: 19.2px;
  line-height: 1.2rem;
  color: #4c4f52;
  cursor: pointer;
  text-decoration: underline;
}
.ethic__box .link {
  position: absolute;
  top: 0;
  left: 0;
  padding: 20px 50px;
  width: 100%;
  height: 100%;
  text-decoration: none;
}
.ethic__box .link h4 {
  color: #181818;
  margin: 0;
  padding: 0;
}
.ethic__box .link .image {
  margin-bottom: 5px;
}
.ethic__box:hover {
  background: linear-gradient(279deg, rgb(178, 225, 230) 0%, rgb(88, 148, 197) 35%, rgb(123, 120, 166) 100%);
}
.ethic__box:hover h4,
.ethic__box:hover p {
  color: #ffffff;
}
.ethic__box:hover h4 a,
.ethic__box:hover p a {
  color: #ffffff;
}
.ethic__box:hover .image {
  -webkit-filter: brightness(0) invert(1);
          filter: brightness(0) invert(1);
}
@media only screen and (max-width: 1024px) {
  :root {
    --blank-value: 50px;
  }
  .ethic-hero__container {
    padding: 54px 20px 70px;
    border: 0;
  }
  .ethic__container {
    align-items: center;
    padding: 67px;
    border: 0;
  }
}
@media only screen and (max-width: 909px) {
  .ethic__box {
    width: calc(50% - 15px);
  }
}
@media only screen and (max-width: 768px) {
  .ethic__container {
    flex-direction: column;
  }
  .ethic__boxes {
    flex-direction: column;
    margin: 40px 0 0 0;
  }
  .ethic__box {
    width: calc(100% - 15px);
  }
}
@media only screen and (max-width: 639px) {
  .ethic-hero__title {
    font-size: 30px;
    font-size: 1.875rem;
    line-height: 48px;
    line-height: 3rem;
    text-align: center;
  }
  .ethic__container {
    padding: 67px 24px 67px 24px;
  }
}