.tp-link {
  position: relative;
  display: block;
  padding: 20px 15px;
  background: #fff;
  border: 1px solid var(--accent-main);
  color: var(--bs-gray-800);
  border-radius: 2px;
  text-decoration: none;
  font-size: 22px;
  transition: all .3s ease-in-out;
}
.tp-link:hover {
  background: var(--accent-main);
  color: #fff;
}
.tp-link .b {
  margin-right: 20px;
}
.tp-link .d {
  position: absolute;
  height: 100%;
  display: flex;
  align-items: center;
  top: 0;
  right: 20px;
}
.tp-link .b i {
  color: var(--accent-main);
}
.tp-link .d i {
  color: var(--bs-gray-800);
}
.tp-link .b i, .tp-link .d i {
  font-size: 24px;
  transition: all .3s ease-in-out;
}
.tp-link:hover {
  background: var(--accent-main);
}
.tp-link:hover, .tp-link:hover .b i, .tp-link:hover .d i {
  color: #fff;
}
.hm-regn-card {
  height: 300px;
  overflow: hidden;
  position: relative;
  display: flex;
  justify-content: center;
  border-radius: 3px;
  margin-bottom: 5px;
}

@media only screen and (min-width: 768px) {
  .hm-regn-card {
    height: 400px;
  }
}
.hm-regn-card img {
  height: 100%;
  transition: all ease 1s;
}
.hm-r-lbl {
  position: absolute;
  z-index: 110;
  bottom: 0;
  left: 0;
  width: 100%;
  text-align: center;
  transition: all ease .5s;
}
.hm-rl-txt {
  color: #fff;
  font-weight: 500;
  font-size: 32px;
}

.hm-rl-o {
  opacity: 0;
  transition: all ease .75s;
}

.hm-rl-tn {
  color: var(--accent-main);
  font-weight: 600;
  font-size: 12px;
  font-family: 'Inter', sans-serif;
}

.hm-r-ovl {
  position: absolute;
  z-index: 99;
  top: 0;
  left: 0;
  background: rgba(0,0,0,.15);
  transition: all ease 1s;
  width: 100%;
  height: 100%;
}
.hm-rl-top {
  position: absolute;
  right: -140px;
  top: 0;
  opacity: 0;
}

@media only screen and (min-width: 768px) {
  .hm-rl-top {
    opacity: 1;
  }
}
.hm-rl-btm {
  position: absolute;
  left: 0;
  bottom: -62px;
}

.hm-regn-card:hover .hm-r-ovl {
  background: rgba(0,0,0,.6);
}
.hm-regn-card:hover .hm-r-lbl {
  bottom: calc(50% - 65px);
}
.hm-regn-card:hover .hm-rl-o {
  opacity: 1;
}
.hm-regn-card:hover img {
  transform: scale(1.05);
}

.hm-regn-card:hover .hm-r-ovl, .hm-regn-card:hover .c-dashed-line, .hm-regn-card:hover svg .line-icon {
  opacity: 1;
}

.hm-regn-card:hover svg .c-dashed-line__path {
  animation: c-dashed-line-path 1s ease-in-out forwards;
}
@keyframes c-dashed-line-path {
  from {
    stroke-dashoffset: 840
  }

  to {
    stroke-dashoffset: 0
  }
}

@keyframes c-dashed-line-path-end {
  from {
    stroke-dashoffset: 0
  }

  to {
    stroke-dashoffset: 840
  }
}
.c-dashed-line__path {
  fill: none;
  stroke: #fff;
  stroke-dasharray: 840;
  stroke-dashoffset: 840;
  stroke-width: 2;
  animation: c-dashed-line-path-end 1.5s ease-in-out forwards
}

.c-dashed-line__dash {
  fill: none;
  stroke: #f0f0f0;
  stroke-dasharray: 5 4;
  stroke-width: 4
}

.c-dashed-line {
  opacity: 0;
}

.c-dashed-line .line-icon {
  fill: #fff;
  transition: all ease 1s;
  transition-delay: 0s;
  opacity: 0;
}

.hm-cta-wrap {
  position: relative; 
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center bottom;
  color: #fff;
  text-decoration: none;
  width: 100%;
  padding-top: 120%;
  display: block;
}
