.tm-cards-wrapper {
  margin: 24px -15px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 48px 0;
}

.tm-cards {
  width: 25%;
  padding: 0 15px;
  line-height: 0;
}

.tm-img-wrapper {
  padding: 10px 0 0;
  position: relative;
}

.tm-hbr-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  - repeat; background-size: 100% 100%;
  background-repeat: no-repeat;
  se-in-out; transition: all .4s ease-in-out;
  opacity: 0;
}

a.tm-pop-trigger:hover .tm-hbr-img {
  opacity: 1;
}

a.tm-pop-trigger {
}

.tm-pop-container {
  position: fixed;
  top: 0;
  left: 0;
  padding: 0 8px;
  width: 101vw;
  height: 101vh;
  background: rgba(0, 0, 0, 0.7);
  display: none;
}

.tm-pop-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px;
  border: 1px solid rgba(0, 0, 0, .2);
  border-radius: 6px;
  outline: 0;
  -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
  box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
  background-color: #fff;
  text-align: center;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}

span.mfp-close {
  color: #333;
  position: absolute;
  right: 0;
  top: 0;
  width: 44px;
  height: 44px;
  line-height: 44px;
  font-size: 28px;
  font-family: Arial, Baskerville, monospace;
  font-weight: 700;
  opacity: .65;
}

span.mfp-close:hover {
  opacity: 1;
}

.tm-pop-content h2 {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 36px;
  line-height: normal;
  letter-spacing: -1px;
}

.tm-pop-content {
  font-size: 18px;
  line-height: 24px;
  color: #152a34;
}

.tm-pop-content *:last-child {
  margin-bottom: 0;
}
