/*
Theme Name: Wildflower Communities
Theme URI: wildflowercommunities.com
Description: The theme for WordPress. Designed with LOVE by DigitalDesign.NYC
Author: dd.nyc
Version: 1.a
*/

@media (min-width: 768px) {
  .filter-form-option:nth-child(2) .selector {
    min-width: 200rem;
  }
}

.s16-pagination {
  display: none;
}

.s12 .carousel-button.swiper-button-lock {
  display: none;
}
.s12-2 .swiper-slide:last-child .s12-3::after {
  display: none;
}

.s17-5-pad {
  display: none;
}

.tour-popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100dvh;
  z-index: 9997;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}
.tour-popup.active {
  opacity: 1;
  visibility: visible;
}
.tour-popup-bg {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  cursor: pointer;
}
.tour-popup-inner {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
}
.tour-popup-bar {
  z-index: 2;
  flex-shrink: 0;
  background: var(--c0);
  display: flex;
  justify-content: flex-end;
  padding: 12px 12px 0;
}
.tour-popup-close {
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--c1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.tour-popup-close svg {
  width: 100%;
  height: 100%;
}
.tour-popup-content {
  flex: 1;
}
/*.calendar-buttons {*/
/*  grid-template-columns: auto;*/
/*}*/

@media screen and (max-width: 1023.98px) {
  .s17-5-pad {
    display: block;
  }

  .textfield-input {
    width: 100%;
  }

  .s17-15 {
    padding: 30rem 20rem;
    min-height: 90vh;
    overflow: scroll;
  }

  .tour-popup-content {
    margin-top: -1px;
  }
}

.calendar
  .day:not(.first-date-selected):not(.last-date-selected):not(.checked):hover {
  background-color: rgba(44, 44, 44, 0.1);
  border-radius: 50%;
}
.calendar:not(:has(.last-date-selected)) .first-date-selected::before {
  border-radius: 50%;
}

.section-form__header {
  width: 100%;
}

.s15-3-3-1 {
  margin-top: 20rem;
}

.s15-3-3-1 p {
  margin: 0;
}

@media screen and (min-width: 1023.99px) {
  .section-form__header {
    grid-column: 1/-1;
    padding-bottom: 80rem;
    border-bottom: 1px solid rgba(61, 103, 80, 0.4);
  }
}

@media screen and (max-width: 1023.98px) {
  .s16-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 24px;
  }
  .s16-pagination .swiper-pagination-bullet {
    flex: 1;
    max-width: 45px;
    height: 2px;
    border-radius: 1px;
    background-color: var(--c2);
    opacity: 0.2;
  }
  .s16-pagination .swiper-pagination-bullet-active {
    opacity: 1;
  }
}

.wpcf7 .form-thank-you {
  display: none;
}
.wpcf7.form-success .wpcf7-form {
  display: none;
}
.wpcf7.form-success .form-thank-you {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
  padding: 40rem 20rem;
  background-color: var(--c0);
  border-radius: 4rem;
}
.form-thank-you-title {
  font-size: var(--f-l);
  margin: 0;
}
.form-thank-you-text {
  font-size: var(--f-b);
}

.s14-3-2 .play-button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: inherit;
  display: flex;
  align-items: center;
}

html:has(.document.loading),
html:has(#headroom.menu-opened),
html:has(.document.popup-active) {
  overflow: hidden;
}

.video-popup {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}
.video-popup.active {
  opacity: 1;
  visibility: visible;
}
.video-popup-bg {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  cursor: pointer;
}
.video-popup-inner {
  position: relative;
  z-index: 1;
  width: 80%;
}
.video-popup-close {
  position: absolute;
  left: calc(100% + 10px);
  bottom: calc(100% - 32px);
  width: max(26px, 46rem);
  height: max(26px, 46rem);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: #f8f4ef;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-popup-close svg {
  width: 100%;
  height: 100%;
}
.video-popup-media {
  position: relative;
  padding-top: 56.25%;
  background: #000;
}
.video-popup-media iframe,
.video-popup-poster {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.video-popup-poster {
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.video-popup-poster.hidden {
  display: none;
}
.video-popup-play-btn {
  position: relative;
  z-index: 1;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  width: max(50px, 110rem);
  height: max(50px, 110rem);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}
.video-popup-play-btn:hover {
  transform: scale(1.05);
}
.video-popup-play-btn svg {
  width: 100%;
  height: 100%;
  fill: transparent;
}

@media screen and (max-width: 1023.98px) {
  .video-popup-inner {
    width: 95%;
  }
  .video-popup-close {
    left: calc(100% - 20px);
    bottom: calc(100% + 12px);
    width: 26px;
    height: 26px;
  }
  .video-popup-play-btn {
    width: 50px;
    height: 50px;
  }
}

.video-popup-player-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.js-video-popup-player {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.video-popup-controls-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  display: flex;
  align-items: center;
  padding: 0 16px;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.3s ease;
  gap: 12px;
}
.video-popup-media:hover .video-popup-controls-overlay {
  opacity: 1;
}
@media (hover: none) {
  .video-popup-controls-overlay {
    opacity: 1;
  }
}
.video-popup-control-btn {
  background: none;
  border: none;
  color: #fff;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  flex: none;
  transition: transform 0.2s ease;
}
.video-popup-control-btn:hover {
  transform: scale(1.1);
}
.video-popup-control-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.video-popup-progress-container {
  flex: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
.video-popup-time {
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  font-family: monospace;
  opacity: 0.8;
  flex: none;
}
.video-popup-progress-bar {
  flex: auto;
  height: 16px;
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
}
.video-popup-progress-rail {
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background-color: rgba(255, 255, 255, 0.25);
  border-radius: 1.5rem;
}
.video-popup-progress-fill {
  position: absolute;
  left: 0;
  height: 3px;
  background-color: var(--c5);
  border-radius: 1.5rem;
  width: 0%;
}
.video-popup-progress-thumb {
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: #fff;
  border-radius: 50%;
  left: 0%;
  transform: translateX(-50%);
  transition: transform 0.1s ease;
}
.video-popup-progress-bar:hover .video-popup-progress-thumb {
  transform: translateX(-50%) scale(1.3);
}
.video-popup-volume-container {
  display: flex;
  align-items: center;
  width: 80px;
  flex: none;
}
.video-popup-volume-bar {
  width: 100%;
  height: 16px;
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
}
.video-popup-volume-rail {
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background-color: rgba(255, 255, 255, 0.25);
  border-radius: 1.5rem;
}
.video-popup-volume-fill {
  position: absolute;
  left: 0;
  height: 3px;
  background-color: var(--c5);
  border-radius: 1.5rem;
  width: 100%;
}
.video-popup-volume-thumb {
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: #fff;
  border-radius: 50%;
  left: 100%;
  transform: translateX(-50%);
  transition: transform 0.1s ease;
}
.video-popup-volume-bar:hover .video-popup-volume-thumb {
  transform: translateX(-50%) scale(1.3);
}

@media screen and (max-width: 767.98px) {
  .video-popup-volume-container {
    display: none;
  }
}

.video-popup-control-btn.hidden,
.video-popup-volume-container.hidden {
  display: none !important;
}

.featured-homes-item[hidden],
.featured-homes-infinite-sentinel[hidden] {
  display: none !important;
}

.featured-homes-infinite-sentinel {
  min-height: 40px;
  margin-top: 30rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.featured-homes-infinite-sentinel::before {
  content: "";
  width: 22px;
  height: 22px;
  border: 2px solid rgba(67, 106, 85, 0.25);
  border-top-color: #436a55;
  border-radius: 50%;
  animation: featured-homes-spinner 0.8s linear infinite;
}

@keyframes featured-homes-spinner {
  to {
    transform: rotate(360deg);
  }
}

/*
 * The interactive home-detail page contains carousels, sticky controls and
 * forms that do not translate to paper. A dedicated listing sheet keeps the
 * browser print preview compact and predictable.
 */
.listing-print {
  display: none;
}

@page home-listing {
  size: letter portrait;
  margin: 0.45in;
}

@media print {
  html,
  body.document {
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    overflow: visible !important;
    background: #fff !important;
    color: #2c2c2c !important;
  }

  body.document {
    margin: 0 !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 9pt !important;
    line-height: 1.4 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .preloader,
  .header,
  .footer,
  .popup-overlay,
  body.document > :not(.container),
  body.document > .selector-list,
  body.document > .sort-list,
  body.document > .date-picker-wrapper,
  [data-cf7-select-list],
  .cf7-theme-select-options,
  .date-picker-wrapper,
  .calendar-wrapper,
  .main > :not(.listing-print) {
    display: none !important;
  }

  .container,
  .main {
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    transform: none !important;
  }

  .listing-print {
    display: block !important;
    page: home-listing;
    width: 100%;
    max-width: none;
    color: #2c2c2c;
  }

  .listing-print *,
  .listing-print *::before,
  .listing-print *::after {
    box-sizing: border-box;
  }

  .listing-print__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 0.38in;
    margin-bottom: 0.14in;
    padding-bottom: 0.11in;
    border-bottom: 1.5pt solid #ec8877;
  }

  .listing-print__logo {
    display: block;
    width: 1.95in;
    height: 0.34in;
    object-fit: contain;
    object-position: left center;
  }

  .listing-print__eyebrow {
    color: #436a55;
    font-size: 8pt;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .listing-print__hero {
    width: 100%;
    height: 2.75in;
    margin-bottom: 0.18in;
    overflow: hidden;
    border-radius: 4pt;
    background: #f4f0e8;
    break-inside: avoid;
  }

  .listing-print__hero img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .listing-print__intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.3in;
    align-items: end;
    margin-bottom: 0.16in;
    break-inside: avoid;
  }

  .listing-print__badge {
    margin-bottom: 4pt;
    color: #436a55;
    font-size: 7.5pt;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .listing-print h1 {
    margin: 0;
    color: #2c2c2c;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 21pt;
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.025em;
  }

  .listing-print__community {
    margin-top: 4pt;
    color: #ec8877;
    font-size: 11pt;
    font-weight: 600;
  }

  .listing-print__price {
    min-width: 1.45in;
    padding-left: 0.18in;
    border-left: 1pt solid #d5d0c7;
    text-align: right;
  }

  .listing-print__price span {
    display: block;
    margin-bottom: 2pt;
    color: #6b6965;
    font-size: 7.5pt;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .listing-print__price strong {
    display: block;
    color: #436a55;
    font-size: 18pt;
    line-height: 1.1;
  }

  .listing-print__facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0 0 0.2in;
    padding: 0;
    border-top: 1pt solid #d5d0c7;
    border-bottom: 1pt solid #d5d0c7;
    break-inside: avoid;
  }

  .listing-print__facts > div {
    min-width: 0;
    padding: 7pt 10pt 7pt 0;
  }

  .listing-print__facts dt {
    margin: 0 0 1pt;
    color: #77736e;
    font-size: 7pt;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }

  .listing-print__facts dd {
    margin: 0;
    color: #2c2c2c;
    font-size: 10pt;
    font-weight: 600;
  }

  .listing-print__columns {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
    gap: 0.34in;
    align-items: start;
  }

  .listing-print__section {
    margin: 0 0 0.18in;
    break-inside: avoid;
  }

  .listing-print__section h2 {
    margin: 0 0 5pt;
    padding-bottom: 3pt;
    border-bottom: 1pt solid rgba(67, 106, 85, 0.35);
    color: #436a55;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11pt;
    font-weight: 700;
    line-height: 1.2;
  }

  .listing-print__copy,
  .listing-print__copy p {
    color: #45433f;
    font-size: 8.5pt;
    line-height: 1.42;
  }

  .listing-print__copy p {
    margin: 0 0 5pt;
  }

  .listing-print__list {
    columns: 2;
    column-gap: 0.22in;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .listing-print__columns > div:last-child .listing-print__list {
    columns: 1;
  }

  .listing-print__list li {
    position: relative;
    margin: 0 0 3pt;
    padding-left: 9pt;
    color: #45433f;
    font-size: 8.2pt;
    line-height: 1.3;
    break-inside: avoid;
  }

  .listing-print__list li::before {
    content: "";
    position: absolute;
    top: 0.42em;
    left: 0;
    width: 3.5pt;
    height: 3.5pt;
    border-radius: 50%;
    background: #ec8877;
  }

  .listing-print__contact {
    padding: 9pt 10pt;
    border: 1pt solid rgba(67, 106, 85, 0.35);
    border-radius: 3pt;
  }

  .listing-print__contact h2 {
    border: 0;
  }

  .listing-print__footer {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 6pt;
    margin-top: 0.08in;
    padding-top: 0.1in;
    border-top: 1.5pt solid #ec8877;
    color: #5f5b56;
    font-size: 7.5pt;
    break-inside: avoid;
  }

  .listing-print__footer strong {
    overflow-wrap: anywhere;
    color: #2c2c2c;
    font-weight: 600;
  }
}
