/* First v2 — Virtual Tour.
   Structure follows vr-tour-5.css. Selectors are deliberately page-agnostic so
   the same rules cover the standalone tour page (section#vr-tour) and the copy
   embedded in the gallery page tab (.gallery-wrap .vr-tour-container), which
   share identical markup. The video gallery tab reuses .vr-tour-container with
   .single-gallery-video cards, so it inherits the same grid and card shell. */

.vr-tour-section.new-section {
  background: #f0f0f0;
  color: #000;
  font-family: var(--first-font-body);
}

.new-section .vt-section-content {
  max-width: 1280px;
  margin: 0 auto;
  padding-bottom: 20px;
}

.new-section .vt-section-content h2.section-title,
.new-section .vt-section-content h3.section-subtitle {
  max-width: 960px;
  margin-right: auto;
  margin-left: auto;
}

.new-section .vr-tour-container {
  max-width: 1280px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.new-section .vr-tour-container .single-virtual-tour {
  display: flex;
  flex-flow: column;
  align-items: stretch;
  justify-content: flex-start;
  border: 1px solid var(--first-primary);
  background: transparent;
  text-align: center;
}

.vr-tour-container .vt-img-wrapper {
  width: 100%;
  padding: 0;
  text-align: center;
  font-size: 0;
  line-height: 0;
}

.vr-tour-container .vt-img-wrapper img {
  margin: 0 auto;
  width: 100%;
  max-width: 100%;
  height: 330px;
  object-fit: cover;
  object-position: 50% 50%;
}

.vr-tour-container .vt-info-wrapper {
  width: 100%;
  padding: 30px 20px;
  display: flex;
  flex-flow: column;
  flex: 1 1 auto;
  justify-content: space-between;
}

.vr-tour-container .vt-flp-info {
  margin-bottom: 24px;
}

.vr-tour-container h3.vt-title {
  margin-bottom: 0;
  color: var(--first-primary);
  font-family: var(--first-font-body);
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.vr-tour-container .vt-btns {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.vr-tour-container .vt-btns .btn {
  display: inline-flex;
  min-height: 48px;
  padding: 15px 20px;
  gap: 8px;
  align-items: center;
  justify-content: center;
  border: 1px solid;
  border-radius: 0;
  font-family: var(--first-font-body);
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1;
  letter-spacing: 2px;
  text-align: center;
  text-transform: uppercase;
  transition: var(--first-transition);
}

.vr-tour-container .vt-btns .btn i {
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  position: relative;
}

@media screen and (max-width: 1200px) {
  .new-section .vr-tour-container {
    gap: 20px;
  }

  .vr-tour-container .vt-img-wrapper img {
    height: 260px;
  }

  /* Two buttons sit side by side inside a half-width card, so they lose room
     fast as the grid narrows. */
  .vr-tour-container .vt-btns {
    gap: 8px;
  }

  .vr-tour-container .vt-btns .btn {
    padding: 13px 12px;
    letter-spacing: 1px;
  }
}

/* Below this the pair no longer fits across a half-width card; stack them. */
@media screen and (max-width: 992px) {
  .vr-tour-container .vt-btns {
    flex-direction: column;
    gap: 10px;
  }

  .vr-tour-container .vt-btns .btn {
    width: 100%;
    letter-spacing: 2px;
  }
}

@media screen and (max-width: 767px) {
  .new-section .vr-tour-container {
    grid-template-columns: repeat(1, 1fr);
    gap: 16px;
  }

  .new-section .vr-tour-container .single-virtual-tour {
    flex-direction: column;
  }

  .vr-tour-container .vt-img-wrapper {
    width: 100%;
    padding: 0;
  }

  .vr-tour-container .vt-img-wrapper img {
    height: 230px;
  }

  .vr-tour-container .vt-info-wrapper {
    width: 100%;
    padding: 20px 15px;
  }

  .vr-tour-container .vt-flp-info {
    margin-bottom: 16px;
  }

  .vr-tour-container .vt-btns .btn {
    width: 100%;
    display: flex;
    gap: 6px;
    align-items: center;
    justify-content: center;
  }
}

@media screen and (max-width: 375px) {
  .vr-tour-container .vt-btns {
    flex-direction: column;
  }
}
