body {
  display: flex;
  /* overflow: hidden; */
  overflow-x: hidden;
  flex-direction: column;
}

header {
  flex-shrink: 0;
}

body main {
  flex: 1;
}

.content-wrapper {
  height: 100%;
}

.swiper-container {
  position: relative;

  flex: 1;

  padding: 0 2rem;
  padding-top: calc(22.25vh - 150px);
}

.swiper-container::after {
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: calc(66% - 40px);

  content: "";

  background: var(--core-colour);
}

.swiper-slide {
  display: flex;
  flex-direction: column;

  width: 100%;
}

.card-wrapper .card-thumbnail {
  height: calc(50vh - 50px);

  border: 5px solid var(--white);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.card-wrapper button {
  position: absolute;
  bottom: 0;
  left: 50%;

  width: 50%;
  max-height: 75px;

  transform: translate(-50%, 50%);
}

.card-wrapper a {
  position: relative;

  overflow: visible;
  flex: 1;

  margin-bottom: 7.5%;
}

.card-subtitle {
  font-size: 18px;

  margin-bottom: .5rem;
}

.card-details {
  display: flex;
  flex-direction: column;

  padding: 1rem;

  text-align: center;
}

.card-description {
  font-size: 16px;
  line-height: 26px;
}

.back-button {
  position: absolute;
  right: 0;
  bottom: 0;

  margin: var(--gutter);
  margin-left: auto;

  text-decoration: none;
}

.page-template-page-virtual-showhome .back-button {
  margin: 0 2rem 2rem;
}

@media (min-width: 1200px) {
  .virtual-showhome {
    margin-bottom: 30px;
  }
}

@media (min-width: 1400px) {
  .card-details {
    padding: 2rem;
  }
}

@media (min-width: 1024px) {
  .card-wrapper a {
    margin-bottom: 5%;
  }

  .card-description {
    font-size: 16px;

    margin-top: .5rem;
  }
}

@media (min-width: 767px) {
  .card-subtitle {
    font-size: 16px;

    margin-top: .25rem;
  }

  .card-description {
    font-size: 16px;

    margin-top: .5rem;
  }

  .card-wrapper button {
    font-size: 1.25rem;

    padding: 1rem;
  }
}

@media screen and (max-width: 767px), screen and (max-height: 767px) {
  .page-template-page-virtual-showhome .disclaimer {
    position: relative;
    margin-top: 16px;
  }

  .page-template-page-virtual-showhome .disclaimer span {
    width: 100%;
  }

  .page-template-page-virtual-showhome .back-button {
    position: relative;
  }

  .swiper-container::after {
    height: 230px;
  }
}

@media(min-width: 576px) {
  .card-wrapper button {
    font-size: 1rem;

    padding: .75rem;
  }
}

@media (max-width: 991px) {
  .card-description {
    font-size: 16px;

    margin-top: .5rem;
  }
  .card-thumbnail {
    max-height: calc(100vw - 2rem);
  }
}

@media screen and (min-width: 1220px) {
  .swiper-container.two-slides {
    padding: 0 13rem;
    padding-top: calc(22.25vh - 150px);
  }
}

@media only screen and (min-width: 1024px) and (max-height: 1366px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 1.5) {
  .card-description {
    font-size: 25px !important;
  }
}

@media only screen and (min-width: 1024px) and (max-height: 1366px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 1.5) {
  .card-subtitle {
    margin-bottom: 0;
  }

  .card-description {
    line-height: 20px;
  }

  .disclaimer span {
    line-height: 15px;
  }
}

@media screen and (max-width: 575px), screen and (max-height: 575px){
  .card-thumbnail {
      min-height: 250px;
  }

  .card-description {
    font-size: 14px;
  }

  .card-subtitle {
    font-size: 16px;
    margin-top: .5rem;
    margin-bottom: 0;
  }

  .swiper-button-next, .swiper-button-prev {
    padding: 0;
  }
}
