/* -------------------------
   WR — Hover Columns (Center Box)
--------------------------*/

.wr-hc {
  position: relative;
  width: 100%;
  height: 100%;
}

.wr-hc__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  height: 100%;
}

@media (max-width: 767px) {
  .wr-hc__grid {
    grid-template-columns: 1fr;
  }
}

.wr-hc__col {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.wr-hc__img {
  width: 100%;
  height: 100% !important;
  display: block;
  object-fit: cover;
  transition: opacity 280ms ease;
}

.wr-hc__img--hover {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.wr-hc__col:hover .wr-hc__img--hover {
  opacity: 1;
}

.wr-hc__col:hover .wr-hc__img--default {
  opacity: 0;
}

.wr-hc__box {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
  pointer-events: auto;
  padding: 24px 32px;
  max-width: calc(100% - 24px);
  box-sizing: border-box;
}

.wr-hc__box--auto {
  width: auto;
}

.wr-hc__box--fit {
  width: fit-content;
}

.wr-hc__title {
  margin: 0 0 8px;
}

.wr-hc__text p {
  margin: 0;
}

.wr-hc__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  margin-top: 14px;
}
