/*  */
.event-cards__inner {
  flex-wrap: wrap;
}

@media screen and (max-width: 959px) {
  .event-cards__inner {
    justify-content: space-between;
  }
  .event-cards__pic {
    min-width: 100%;
  }
  .event-cards__item {
    width: 44%;
    margin: 15px 0px;
  }
  .event-cards__item:last-child {
    margin-right: 0px;
  }
}
@media screen and (max-width: 479px) {
    .event-cards__item {
    width: 100%;
  }
}

/*  */

.insight-cards__inner {
  flex-wrap: wrap;
}

@media screen and (max-width: 959px) {
  .insight-cards__inner {
    justify-content: space-between;
  }
  .insight-cards__pic {
    min-width: 100%;
  }
  .insight-cards__item {
    width: 44%;
    margin: 15px 0px;
  }
  .insight-cards__item:last-child {
    margin-right: 0px;
  }
}
@media screen and (max-width: 479px) {
  .insight-cards__item {
    width: 100%;
  }
}

/*  */
.grid-cards {
  display: -ms-flexbox;
  display: flex;
  max-width: 1160px;
  margin: 0 auto;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.grid-cards .dot-pattern_4 {
  position: absolute;
  bottom: -93px;
  right: 0;
}

@media screen and (max-width: 479px) {
  .grid-cards .dot-pattern_4 {
    -ms-transform: scale(0.7);
    transform: scale(0.7);
    bottom: -190px;
    right: -30px;
  }
}

.grid-cards__item {
  position: relative;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
  width: 31%;
  margin: 1.1666%;
  height: 270px;
  overflow: hidden;
}

.grid-cards__item:hover .grid-cards__back,
.grid-cards__item:hover .grid-cards__front {
  opacity: 1;
  -ms-transform: translate(0, 0);
  transform: translate(0, 0);
}

@media screen and (max-width: 959px) {
  .grid-cards__item {
    width: 46%;
    margin: 2%;
  }
}

@media screen and (max-width: 479px) {
  .grid-cards__item {
    width: 100%;
    margin: 15px 0;
  }
}

.grid-cards__front {
  background-size: cover;
  background-position: center;
  background-color: #04418b;
}

.grid-cards__back {
  background-color: #fff;
  padding: 30px;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -ms-flex-direction: column;
  flex-direction: column;
  -ms-transform: translate(0, 188px);
  transform: translate(0, 188px);
  opacity: 0;
}

.grid-cards__headline {
  font-weight: 700;
  margin-bottom: 15px;
}

.grid-cards__description {
  margin-bottom: 15px;
  -ms-flex-positive: 10;
  flex-grow: 10;
  height: 100%;
  overflow-y: hidden;
}

.grid-cards__back,
.grid-cards__front {
  transition-timing-function: ease;
  transition-duration: 0.3s;
  transition-property: transform;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.grid-cards__title {
  background-color: #fff;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px;
  font-weight: 700;
  font-size: 1.125rem;
}

.grid-cards-2 {
  max-width: 1200px;
  margin: 0 auto;
}

@media screen and (max-width: 959px) {
  .grid-cards-2 {
    overflow-x: auto;
    margin: 0 -5px;
    padding: 0 5px;
    width: 100%;
  }
}

.grid-cards-2__inner {
  display: -ms-flexbox;
  display: flex;
  max-width: 1160px;
  margin: 0 auto;
  -ms-flex-align: stretch;
  align-items: stretch;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

@media screen and (max-width: 959px) {
  .grid-cards-2__inner {
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
  }

  .grid-cards-2__inner:after {
    content: "";
    display: block;
    min-width: 1px;
    height: 1px;
    position: relative;
  }
}

.grid-cards-2__label {
  font-size: 0.75rem;
  margin-left: 15px;
  text-transform: uppercase;
  font-weight: 700;
  color: #003;
}

.grid-cards-2__item {
  width: 23%;
  margin: 1%;
  background-color: #2699cc;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  position: relative;
}

@media screen and (max-width: 959px) {
  .grid-cards-2__item {
    width: 220px;
    min-width: 220px;
    margin: 15px 30px 15px 0;
  }
}

.grid-cards-2__item_large {
  width: 48%;
}

@media screen and (max-width: 959px) {
  .grid-cards-2__item_large {
    min-width: 220px;
    width: 220px;
  }
}

.grid-cards-2__item_color-2 {
  background-color: #04418b;
}

.grid-cards-2__item_color-3 {
  background-color: #0d3366;
}

.grid-cards-2__item_color-4 {
  background-color: #003;
}

.grid-cards-2__item_pattern-1:before,
.grid-cards-2__item_pattern-2:before,
.grid-cards-2__item_pattern-3:before,
.grid-cards-2__item_pattern-4:before,
.grid-cards-2__item_pattern-5:before,
.grid-cards-2__item_pattern-6:before {
  content: "";
  position: absolute;
  top: 0;
  right: 30px;
  width: 133px;
  height: 150px;
  background-image: url("data:image/svg+xml,%0A%3Csvg width='31' height='36' viewBox='0 0 31 36' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cmask id='mask0' mask-type='alpha' maskUnits='userSpaceOnUse' x='0' y='0' width='27' height='28'%3E%3Crect x='0.5' y='0.5' width='26' height='27' fill='%23C4C4C4' stroke='black'/%3E%3C/mask%3E%3Cg mask='url(%23mask0)'%3E%3Cg opacity='0.26'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M20 1.5C20 0.671475 19.3284 0 18.5 0C17.6714 0 17 0.671475 17 1.5V3H18.5C19.3284 3 20 2.32831 20 1.5V1.5Z' fill='white'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M3 1.5C3 0.671475 2.32839 0 1.49996 0C0.671445 0 0 0.671475 0 1.5V3H1.49996C2.32839 3 3 2.32831 3 1.5V1.5Z' fill='white'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M20 18.5C20 17.6715 19.3284 17 18.5 17C17.6714 17 17 17.6715 17 18.5V20H18.5C19.3284 20 20 19.3283 20 18.5V18.5Z' fill='white'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M3 18.5C3 17.6715 2.32839 17 1.49996 17C0.671445 17 0 17.6715 0 18.5V20H1.49996C2.32839 20 3 19.3283 3 18.5V18.5Z' fill='white'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.grid-cards-2__item_pattern-1:before {
  right: 45px;
  height: 100%;
}

.grid-cards-2__item_pattern-2:before {
  right: auto;
  left: 20px;
}

.grid-cards-2__item_pattern-3:before {
  right: 0;
}

.grid-cards-2__item_pattern-4:before {
  right: auto;
  left: 0;
  top: 50%;
  margin-top: -98px;
}

.grid-cards-2__item_pattern-5:before {
  right: 20px;
}

.grid-cards-2__item_pattern-6:before {
  right: auto;
  left: 0;
  top: 50%;
  width: 75%;
  margin-top: -98px;
}

.grid-cards-2__headline {
  color: #fff;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  border-width: 0;
  -ms-flex-positive: 10;
  flex-grow: 10;
  padding: 20px;
  font-size: 1.375rem;
  line-height: 1.4;
  height: 210px;
  overflow: hidden;
  font-weight: 700;
  z-index: 10;
}

@media screen and (max-width: 959px) {
  .grid-cards-2__headline {
    height: 310px;
    font-size: 1rem;
    line-height: 1.2;
  }
}

.grid-cards-2__headline:active,
.grid-cards-2__headline:focus,
.grid-cards-2__headline:hover {
  color: #fff;
  opacity: 0.7;
}

.grid-cards-2__footer {
  background-color: #fff;
  height: 70px;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  padding: 15px 20px;
}

.grid-cards-2__footer img {
  max-height: 90%;
  max-width: 100px;
}

.grid-cards-2__footer img,
.grid-cards-2__footer svg {
  min-width: 17px;
}
/*  */
