/**
 * Thomas Willmax — Property Hive front-end overrides
 * (also load order: after most theme styles at priority 100)
 */

/* Archive: hero + search strip sit before PH #container / #content (see archive-property.php). */

.post-type-archive-property #body {
  background-color: #232e35;
}

.tw-ph-archive-before-container {
  position: relative;
  z-index: 1;
  width: 100%;
}

/* Break out of theme column when listings view lives inside a narrow #content (e.g. Themify). */
body.tw-ph-is-search-results .tw-ph-archive-before-container {
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  max-width: 100vw;
}

.tw-ph-archive-hero {
  background-color: #2c3238;
  background-position: center center;
  background-size: cover;
  display: flex;
  align-items: flex-end;
  padding: 2.5rem 0 2rem;
  aspect-ratio: 1300 / 400;
  min-height: 400px;
  position: relative;
}

.tw-ph-archive-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.5) 100%
  );
}
.tw-ph-archive-hero-title {
  position: relative;
  z-index: 1;
  font-family: "the-seasons", sans-serif;
  color: white;
  font-size: 44px;
  font-family: "the-seasons", sans-serif;
  font-weight: 600;
  text-transform: capitalize;
  margin-bottom: 0;
  line-height: 1;
  letter-spacing: 0;
  padding-bottom: 0;
  margin-bottom: 0 !important;
  display: flex;
  align-items: flex-end;
  gap: 5px;
}

.tw-ph-archive-hero-title:after {
  content: "";
  position: relative;
  display: inline-block;
  background-color: #fff;
  height: 1px;
  flex: 1;
  max-width: 175px;
}

@media (max-width: 980px) {
  .tw-ph-archive-hero-title {
    font-size: 30px !important;
  }
}
@media (max-width: 780px) {
  .tw-ph-archive-hero-title {
    font-size: 24px !important;
  }
}

.tw-ph-archive-hero-inner {
  width: 100%;
}

.tw-ph-archive-search-inner h3 {
  color: white;
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 20px;
  line-height: 1;
  margin-bottom: 20px;
}

.tw-ph-archive-search-inner h3:after {
  content: "";
  position: relative;
  display: inline-block;
  background-color: #fff;
  height: 1px;
  flex: 1;
}

.tw-ph-archive-search-outer {
  background: #a01c46;
  padding: 1rem 0 1.25rem;
}

.tw-ph-archive-search-inner .property-search-form {
  margin: 0;
}

.module:has(.property-search-form) h3 {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 20px;
  line-height: 1;
  margin-bottom: 20px;
}
.module:has(.property-search-form) h3:after {
  content: "";
  position: relative;
  display: inline-block;
  background-color: #fff;
  height: 1px;
  flex: 1;
}

.property-search-form input[type="submit"] {
  padding-right: 50px;
  background-image: url(/wp-content/uploads/2026/03/arrow-white.svg);
  background-size: 22px 22px;
  background-repeat: no-repeat;
  background-position: calc(100% - 11px) 50%;
  margin-right: 0;
  width: 100%;
  margin-left: 10px;
  /* max-width: 112px; */
  margin-bottom: 0;
  text-decoration: none;
  color: #fff;
  /* background-color: #a01c46; */
  font-size: 14px;
  font-family: "Montserrat";
  font-weight: 400 !important;
  text-align: left;
  text-transform: uppercase;
}

.control select {
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='utf-8'%3F%3E%3C!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools --%3E%3Csvg fill='%23FFFFFF' width='800px' height='800px' viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Ctitle%3Eionicons-v5-b%3C/title%3E%3Cpolygon points='64 144 256 368 448 144 64 144'/%3E%3C/svg%3E");
  border: none;
  border-bottom: solid 1px white;
  padding-left: 0;
  width: 100%;
  color: #fff;
  outline: none;
  background-position: 100% 50%;
  font-weight: 600;
}
.control.control-tenure.residential-only {
  padding-left: 0;
}

@media (max-width: 1024px) {
  .property-search-form {
    display: flex;
    width: 100%;
    flex-direction: column;
  }
  .property-search-form input[type="submit"],
  .property-search-form select {
    width: 100%;
  }
  .property-search-form .control,
  .property-search-form select {
    padding-left: 0;
  }
  .property-search-form input[type="submit"] {
    margin-left: 0;
    max-width: 100%;
  }
}

/* Archive: property list */
.tf_mw #content {
  width: 100%;
}
.tf_mw ul.properties {
  display: flex;
  flex-direction: column;
  gap: 45px;
}
.tf_mw ul.properties li {
  width: 100%;
  display: flex;
  background: #fff;
  border-bottom: none;
  padding: 0;
}
.tf_mw ul.properties li .thumbnail {
  aspect-ratio: 616/313;
  width: 100%;
  height: auto;
  position: relative;
  overflow: hidden;
  min-height: 313px;
}
.tf_mw ul.properties li .thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  float: none;
}

body.tw-ph-is-search-results ul.properties a {
  color: #a01c46;
}

/* PH availability / marketing ribbons (diagonal corner). Flag sits outside the <a> in content-property.php. */
body.tw-ph-is-search-results ul.properties li > .thumbnail > .flag,
.tf_mw ul.properties li > .thumbnail > .flag,
.single-property .images .flag {
  position: absolute !important;
  top: 28px !important;
  left: -54px !important;
  right: auto !important;
  bottom: auto !important;
  width: 210px !important;
  margin: 0 !important;
  padding: 10px 0 !important;
  transform: rotate(-45deg) !important;
  transform-origin: center center !important;
  z-index: 5;
  font-size: 18px !important;
  font-weight: 700 !important;
  letter-spacing: normal !important;
  line-height: 1.15 !important;
  text-align: center !important;
  text-transform: capitalize !important;
  color: #fff !important;
  background: #a01c46 !important;
  pointer-events: none;
}

.single-property .images {
  position: relative;
  overflow: hidden;
}
.tf_mw ul.properties li .thumbnail > a,
body.tw-ph-is-search-results ul.properties li .thumbnail > a {
  display: block;
  height: 100%;
}

.tf_mw ul.properties li .details .tw-ph-archive-address,
body.tw-ph-is-search-results ul.properties li .details .tw-ph-archive-address {
  margin: 0.35rem 0 0;
  line-height: 1.55;
}

.tf_mw ul.properties li .details .tw-ph-meta-label,
body.tw-ph-is-search-results ul.properties li .details .tw-ph-meta-label {
  margin-right: 0.35em;
  text-transform: capitalize;
}

.tf_mw ul.properties li .details .tw-ph-feed-price-size-row,
body.tw-ph-is-search-results
  ul.properties
  li
  .details
  .tw-ph-feed-price-size-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 1rem;
  margin-top: 1rem;
}

.tf_mw ul.properties li .details .tw-ph-feed-price-size-row .tw-ph-feed-sep,
body.tw-ph-is-search-results
  ul.properties
  li
  .details
  .tw-ph-feed-price-size-row
  .tw-ph-feed-sep {
  align-self: stretch;
  display: inline-flex;
  align-items: center;
  padding: 0 0.5rem;
  font-weight: 300;
  opacity: 0.5;
}

.tf_mw ul.properties li .details .tw-ph-feed-size .floor-area,
body.tw-ph-is-search-results
  ul.properties
  li
  .details
  .tw-ph-feed-size
  .floor-area {
  margin: 0;
  font-weight: 600;
}

.tf_mw ul.properties li .details .tw-ph-feed-price .price,
body.tw-ph-is-search-results
  ul.properties
  li
  .details
  .tw-ph-feed-price
  .price {
  margin: 0;
}

.tf_mw
  ul.properties
  li
  .details
  .summary.tw-ph-archive-address
  + .tw-ph-feed-price-size-row,
body.tw-ph-is-search-results
  ul.properties
  li
  .details
  .summary.tw-ph-archive-address
  + .tw-ph-feed-price-size-row {
  margin-top: 1rem;
}

.tf_mw ul.properties li .details,
body.tw-ph-is-search-results ul.properties li .details {
  padding: 50px 120px;
  width: 60%;
}

/* Listing card: Learn more + Book a viewing (templates/search/actions.php) */
.tf_mw ul.properties li .details .actions.tw-ph-loop-actions,
body.tw-ph-is-search-results
  ul.properties
  li
  .details
  .actions.tw-ph-loop-actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.25rem;
  margin-top: 2rem;
}

.tf_mw ul.properties li .details .actions.tw-ph-loop-actions .button,
body.tw-ph-is-search-results
  ul.properties
  li
  .details
  .actions.tw-ph-loop-actions
  .button {
  flex: 0 1 auto;
  text-decoration: none;
  padding: 0.65em 1.4em;
  border-radius: 0;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
  margin: 0;
  text-align: left;
  width: 100%;
  text-decoration: none;
  text-transform: uppercase;
  color: #fff;
  background-image: none;
  font-size: 13px !important;
  font-family: "Montserrat";
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--tb_app_r, 0);
  font-size: var(--tb_mb_f, 1em);
  line-height: 1.35;
  padding: 5px 6px;
  position: relative;
  transition: 0.3s linear;
  transition-property: color, background-color, padding, border, box-shadow;
}
.tf_mw ul.properties li .details .actions.tw-ph-loop-actions .button:after,
body.tw-ph-is-search-results
  ul.properties
  li
  .details
  .actions.tw-ph-loop-actions
  .button:after {
  content: "";
  display: inline-block;
  width: 22px;
  height: 22px;
  background-image: url(/wp-content/uploads/2026/03/arrow-white.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
}

.tf_mw ul.properties li .details .tw-ph-btn-learn-more,
body.tw-ph-is-search-results ul.properties li .details .tw-ph-btn-learn-more {
  margin-right: auto;
  background-color: #a01c46;
  color: #fff;
  border: none;
}

.tf_mw ul.properties li .details .tw-ph-btn-book-viewing,
body.tw-ph-is-search-results ul.properties li .details .tw-ph-btn-book-viewing {
  margin-left: auto;
  background-color: #2c3238;
  color: #fff;
  border: none;
}

.tf_mw ul.properties li .details .tw-ph-btn-learn-more:hover,
.tf_mw ul.properties li .details .tw-ph-btn-book-viewing:hover,
body.tw-ph-is-search-results
  ul.properties
  li
  .details
  .tw-ph-btn-learn-more:hover,
body.tw-ph-is-search-results
  ul.properties
  li
  .details
  .tw-ph-btn-book-viewing:hover {
  opacity: 0.9;
  color: #fff;
}

/* Archive cards: stack image / content / actions on tablet and down */
@media (max-width: 1024px) {
  .tf_mw ul.properties li,
  body.tw-ph-is-search-results ul.properties li {
    flex-direction: column;
    align-items: stretch;
  }

  .tf_mw ul.properties li .thumbnail,
  body.tw-ph-is-search-results ul.properties li .thumbnail {
    width: 100%;
    max-width: 100%;
    flex: 0 0 auto;
    min-height: 240px;
  }

  .tf_mw ul.properties li .details,
  body.tw-ph-is-search-results ul.properties li .details {
    padding: 1.75rem 1.25rem 2rem;
    flex: 1 1 auto;
    width: 100%;
    box-sizing: border-box;
  }

  .tf_mw ul.properties li .details .actions.tw-ph-loop-actions,
  body.tw-ph-is-search-results
    ul.properties
    li
    .details
    .actions.tw-ph-loop-actions {
    flex-direction: column;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.75rem;
    margin-top: 1.5rem;
  }

  .tf_mw ul.properties li .details .tw-ph-btn-learn-more,
  .tf_mw ul.properties li .details .tw-ph-btn-book-viewing,
  body.tw-ph-is-search-results ul.properties li .details .tw-ph-btn-learn-more,
  body.tw-ph-is-search-results
    ul.properties
    li
    .details
    .tw-ph-btn-book-viewing {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    max-width: calc(100% - 15px);
  }
}

span.price-qualifier {
  font-size: 10px;
}

.price {
  color: #6e1632;
  font-weight: 600;
  font-size: 18px;
}
.tw-ph-meta-label,
.summary.tw-ph-archive-address {
  color: #232e35;
  font-weight: 400;
}

/* Pagination: controls on top, results line below (plugin tw_ph_render_pagination_with_footer_meta) */
body.tw-ph-is-search-results .tw-ph-archive-pagination-block {
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  max-width: 100vw;
}

.tw-ph-archive-pagination-block {
  text-align: center;
  color: #fff;
}

.tw-ph-archive-pagination-block .propertyhive-pagination {
  margin: 0;
}

.tw-ph-archive-pagination-block .propertyhive-pagination ul.page-numbers,
.tw-ph-archive-pagination-block .propertyhive-pagination ul {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.tw-ph-archive-pagination-block .propertyhive-pagination ul li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.tw-ph-archive-pagination-block .propertyhive-pagination a.page-numbers,
.tw-ph-archive-pagination-block .propertyhive-pagination span.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid #fff;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  box-sizing: border-box;
}

.tw-ph-archive-pagination-block
  .propertyhive-pagination
  span.page-numbers.current {
  background: #6e1532;
  color: #fff;
}

.tw-ph-archive-pagination-block .propertyhive-pagination a.page-numbers:hover {
  border-color: rgba(255, 255, 255, 0.85);
  color: #fff;
}

.tw-ph-archive-pagination-block .propertyhive-pagination span.dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 6px;
  border: 1px solid transparent;
  opacity: 0.7;
}

.tw-ph-archive-pagination-inner {
  max-width: 1160px;
  margin: 0 auto;
}

.tw-ph-pagination-meta {
  margin: 1.1rem 0 0;
  padding: 0;
  font-size: 14px;
  font-weight: 400;
  color: #fff;
  font-family: "Montserrat";
}

.next,
.prev {
  font-size: 0 !important;
  height: 30px !important;
  width: 41px !important;
  padding: 0;
}
.next {
  background-image: url(/wp-content/uploads/2026/03/arrow-white.svg);
  background-size: 75%;
  background-repeat: no-repeat;
  background-position: center center;
}
.prev {
  background-image: url(/wp-content/uploads/2026/03/arrow-white.svg);
  background-size: 75%;
  background-repeat: no-repeat;
  background-position: center center;
  transform: rotate(180deg);
}

.propertyhive-pagination ul li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/**
 * Single property — full-width hero (568px) + charcoal meta bar under gallery.
 */

body.tw-ph-is-single-property.single-property:not(.elementor-page) #layout,
body.tw-ph-is-single-property.single-property:not(.elementor-page) #content {
  padding-top: 0;
}

body.tw-ph-is-single-property .tw-ph-single-hero-shell {
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  max-width: 100vw;
  /* margin-top: calc(-1 * clamp(72px, 14vw, 140px)); */
  z-index: 0;
}

body.tw-ph-is-single-property .tw-ph-single-images {
  position: relative;
  margin: 0;
}

body.tw-ph-is-single-property .tw-ph-single-flex-main.flexslider {
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: #1a1f24;
}

body.tw-ph-is-single-property .tw-ph-single-flex-main .flex-viewport {
  max-height: none;
}

body.tw-ph-is-single-property .tw-ph-single-flex-main .slides > li > a,
body.tw-ph-is-single-property .tw-ph-single-flex-main .slides > li > a img {
  display: block;
  width: 100%;
}

body.tw-ph-is-single-property .tw-ph-single-flex-main .slides > li > a img {
  height: 568px;
  object-fit: cover;
  width: 100%;
}

body.tw-ph-is-single-property .tw-ph-single-flex-main.loading .flex-viewport {
  max-height: 568px;
}

/* FlexSlider prev/next: same SVG as archive / pagination arrows */
body.tw-ph-is-single-property .tw-ph-single-flex-main .flex-direction-nav a {
  width: 48px;
  height: 48px;
  margin: -24px 0 0;
  opacity: 0.92;
  text-shadow: none;
  overflow: visible;
  background-color: #fff;
  font-size: 0;
}

body.tw-ph-is-single-property
  .tw-ph-single-flex-main
  .flex-direction-nav
  a:before {
  content: "";
  font-family: inherit;
  display: block;
  width: 22px;
  height: 22px;
  margin: 13px auto 0;
  background-image: url(/wp-content/uploads/2026/05/arrow-right-red.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
}

body.tw-ph-is-single-property
  .tw-ph-single-flex-main
  .flex-direction-nav
  a.flex-prev:before {
  transform: rotate(180deg);
}

body.tw-ph-is-single-property
  .tw-ph-single-flex-main:hover
  .flex-direction-nav
  .flex-prev {
  left: max(15px, 2vw);
  opacity: 1;
}

body.tw-ph-is-single-property
  .tw-ph-single-flex-main:hover
  .flex-direction-nav
  .flex-next {
  right: max(15px, 2vw);
  opacity: 1;
}

body.tw-ph-is-single-property .tw-ph-single-meta-bar {
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  max-width: 100vw;
  z-index: 1;
  background: #2c3238;
  color: #fff;
  padding: 1.75rem 0 1.85rem;
  box-sizing: border-box;
}

body.tw-ph-is-single-property .tw-ph-single-meta-bar-inner.pagewidth {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 1fr);
  gap: 1.75rem 80px;
  align-items: flex-start;
}

body.tw-ph-is-single-property .tw-ph-single-title {
  font-family: "the-seasons", ui-serif, Georgia, serif;
  font-weight: bold;
  color: #fff;
  margin: 0;
  padding: 0;
  line-height: 1.2;
  font-size: 44px;
}

body.tw-ph-is-single-property .tw-ph-single-title-rule {
  height: 1px;
  width: 100%;
  background: #fff;
  margin-top: 1rem;
}

body.tw-ph-is-single-property .tw-ph-single-meta-bar-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1rem 1.5rem;
  justify-content: flex-start;
}

body.tw-ph-is-single-property .tw-ph-single-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  justify-content: flex-end;
  margin-bottom: 15px;
}

body.tw-ph-is-single-property .tw-ph-single-metric-price .price {
  margin: 0;
  padding: 0;
  color: #fff;
  font-size: 44px;
  font-family: "the-seasons", ui-serif, Georgia, serif;
  font-weight: 600;
}

body.tw-ph-is-single-property .tw-ph-single-metric .tw-ph-meta-label {
  display: block;
  color: #fff;
  font-size: 18px;
  font-family: Montserrat, sans-serif;
  font-weight: 400;
  text-transform: capitalize;
  margin-bottom: 1rem;
  letter-spacing: 0;
}

body.tw-ph-is-single-property .tw-ph-single-metric-size .floor-area {
  margin: 0;
  padding: 0;
  color: #fff;
  font-size: 44px;
  font-family: "the-seasons", ui-serif, Georgia, serif;
  font-weight: 600;
}

body.tw-ph-is-single-property .tw-ph-single-meta-bar-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 20px;
}

body.tw-ph-is-single-property .tw-ph-single-tenloc {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.75rem;
  font-family: Montserrat, sans-serif;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.92);
}

body.tw-ph-is-single-property .tw-ph-single-bar-tenure {
  order: 1;
}

body.tw-ph-is-single-property .tw-ph-single-bar-location {
  order: 2;
}

body.tw-ph-is-single-property .tw-ph-single-bar-tenure .tw-ph-meta-label,
body.tw-ph-is-single-property .tw-ph-single-bar-location .tw-ph-meta-label {
  display: inline;
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: inherit;
}

body.tw-ph-is-single-property .tw-ph-single-tenloc strong {
  font-weight: 600;
}

/* Request details — match archive CTAs (+ arrow pseudo) */
body.tw-ph-is-single-property .tw-ph-single-enquiry {
  flex-shrink: 0;
}

body.tw-ph-is-single-property a.tw-ph-btn-request-details.button {
  text-decoration: none;
  margin: 0;
  width: auto;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-width: min(100%, 260px);
  text-align: left;
  text-transform: uppercase;
  font-size: 13px;
  font-family: Montserrat, sans-serif;
  font-weight: 600;
  color: #fff;
  background-color: #a01c46;
  border: none;
  border-radius: 0;
  line-height: 1.35;
  padding: 5px;
}

body.tw-ph-is-single-property a.tw-ph-btn-request-details.button::after {
  content: "";
  display: inline-block;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  background-image: url(/wp-content/uploads/2026/03/arrow-white.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
}

body.tw-ph-is-single-property a.tw-ph-btn-request-details.button:hover {
  opacity: 0.92;
  color: #fff;
}

body.tw-ph-is-single-property .features h4 {
  font-family: "the-seasons", ui-serif, Georgia, serif;
  font-weight: 500;
  margin: 0;
  padding: 0;
  line-height: 1.2;
  font-size: 44px;
  color: #a01c46;
}
.features {
  padding-top: 45px;
  padding-bottom: 60px;
}
.features ul {
  margin-left: 63px;
  border-left: solid 1px #a01c46;
  padding-left: 60px;
  margin-top: 15px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 60px;
  row-gap: 25px;
  padding-top: 1rem;
}
.features ul li {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: #232e35;
  margin: 0;
  font-family: "Montserrat";
}

@media (max-width: 980px) {
  body.tw-ph-is-single-property .features h4 {
    font-size: 30px !important;
  }
  .features {
    padding-top: 20px !important;
    padding-bottom: 40px !important;
  }
  .features ul li {
    font-size: 16px !important;
  }
  .features ul {
    margin-left: 0 !important;
    border-left: none !important;
    padding-left: 20px !important;
    row-gap: 15px !important;
    column-gap: 30px !important;
    grid-template-columns: 1fr !important;
    margin-top: 10px !important;
  }
}

.single-property ul.flex-direction-nav * {
  margin: 0;
}

@media (max-width: 780px) {
  body.tw-ph-is-single-property .tw-ph-single-meta-bar-inner.pagewidth {
    grid-template-columns: 1fr;
  }

  body.tw-ph-is-single-property .tw-ph-single-meta-bar-top {
    justify-content: flex-start;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 25px;
  }

  body.tw-ph-is-single-property .tw-ph-single-metrics {
    justify-content: flex-start;
  }
}

/* ── Single property: downloads accordion + sticky map ── */

body.tw-ph-is-single-property .tw-ph-details-split-section {
  margin-top: 0;
  padding: 0rem 0 4rem;
  border-bottom: solid 1px #a01c46;
  margin-bottom: 40px;
}

body.tw-ph-is-single-property .tw-ph-details-split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(640px, 0.95fr);
  gap: clamp(2rem, 5vw, 3.75rem);
  align-items: start;
}

@media (max-width: 1115px) {
  body.tw-ph-is-single-property .tw-ph-details-split {
    grid-template-columns: 1fr;
  }
  body.tw-ph-is-single-property .tw-ph-details-split-map-wrap {
    order: -1 !important;
  }
  body.tw-ph-is-single-property .tw-ph-acc-summary,
  body.tw-ph-is-single-property .tw-ph-acc-call-label,
  body.tw-ph-is-single-property .tw-ph-acc-call-link {
    font-size: 30px !important;
  }
  body.tw-ph-is-single-property .tw-ph-acc-summary:hover,
  body.tw-ph-is-single-property .tw-ph-acc-call-link:hover {
    color: #a01c46 !important;
  }
}

body.tw-ph-is-single-property .tw-ph-single-acc {
  display: flex;
  flex-direction: column;
  gap: 0;
}

body.tw-ph-is-single-property .tw-ph-acc-item {
  border-bottom: solid 1px #a01c46;
}

body.tw-ph-is-single-property .tw-ph-acc-summary {
  cursor: pointer;
  list-style: none;
  font-family: "the-seasons", ui-serif, Georgia, serif;
  font-weight: 600;
  margin: 0;
  padding: 0;
  line-height: 1.2;
  font-size: 44px;
  color: #a01c46;
  position: relative;
  padding-block: 14px;
  padding-right: 10px;
}
body.tw-ph-is-single-property .tw-ph-acc-summary:hover {
  background-image: url(/wp-content/uploads/2026/05/arrow-right.svg);
  background-size: 25px;
  background-repeat: no-repeat;
  background-position: 100% center;
  color: #232e35;
}

body.tw-ph-is-single-property .tw-ph-acc-summary::-webkit-details-marker {
  display: none;
}

body.tw-ph-is-single-property
  .tw-ph-acc-item[open]
  > .tw-ph-acc-summary::after {
  transform: translateY(-65%) rotate(135deg);
}

body.tw-ph-is-single-property .tw-ph-acc-panel {
  padding: 0 0 1rem;
}

body.tw-ph-is-single-property .tw-ph-acc-muted {
  margin: 0;
  padding: 0 0 0.5rem;
  color: #666;
  font-size: 0.95rem;
  line-height: 1.5;
}

body.tw-ph-is-single-property .tw-ph-doc-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

body.tw-ph-is-single-property .tw-ph-doc-list li {
  margin: 0 0 0.5rem;
  padding: 0;
}

body.tw-ph-is-single-property .tw-ph-doc-link {
  color: #a01c46;
  text-decoration: underline;
  font-weight: 500;
}

body.tw-ph-is-single-property .tw-ph-acc-booking-intro {
  margin: 0 0 1rem;
  line-height: 1.55;
  color: #454545;
  font-size: 0.95rem;
}

body.tw-ph-is-single-property .tw-ph-btn-request-details-secondary {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  text-transform: uppercase;
  font-family: Montserrat, sans-serif;
  font-weight: 600;
  font-size: 12px;
  color: #fff;
  background: #a01c46;
  border: none;
  padding: 5px;
}

body.tw-ph-is-single-property .tw-ph-btn-request-details-secondary:hover {
  opacity: 0.92;
  color: #fff;
}

body.tw-ph-is-single-property .tw-ph-acc-call-card {
  cursor: pointer;
  list-style: none;
  font-family: "the-seasons", ui-serif, Georgia, serif;
  font-weight: 600;
  margin: 0;
  padding: 0;
  line-height: 1.2;
  font-size: 44px;
  color: #a01c46;
  position: relative;
  padding-block: 14px;
  padding-right: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

body.tw-ph-is-single-property .tw-ph-acc-call-label {
  display: block;
  font-family: "the-seasons", ui-serif, Georgia, serif;
  font-weight: 600;
  margin: 0;
  padding: 0;
  line-height: 1.2;
  font-size: 44px;
  color: #a01c46;
  position: relative;
}

body.tw-ph-is-single-property .tw-ph-acc-call-link {
  font-family: "the-seasons", ui-serif, Georgia, serif;
  font-weight: 600;
  margin: 0;
  padding: 0;
  line-height: 1.2;
  font-size: 44px;
  color: #a01c46;
  position: relative;
}

body.tw-ph-is-single-property .tw-ph-acc-call-link:hover {
  color: #a01c46;
}

body.tw-ph-is-single-property .tw-ph-details-split-map {
  background: #f6f7f8;
  min-height: 480px;
  position: relative;
  overflow: hidden;
}

body.tw-ph-is-single-property
  .tw-ph-details-split-map
  > [id^="property_static_map"],
body.tw-ph-is-single-property
  .tw-ph-details-split-map
  > div[id^="property_static_map"],
body.tw-ph-is-single-property
  .tw-ph-details-split-map
  a[id^="property_static_map"] {
  display: block !important;
  width: 100%;
  height: 480px !important;
  background-size: cover !important;
  background-position: center center !important;
}

body.tw-ph-is-single-property .tw-ph-map-embed {
  display: block;
  width: 100%;
  height: 480px;
  border: 0;
}

body.tw-ph-is-single-property .tw-ph-map-expand {
  display: inline-block;
  margin-top: 0.85rem;
  font-size: 0.875rem;
  font-family: Montserrat, sans-serif;
  font-weight: 600;
  color: #a01c46;
}

body.tw-ph-is-single-property .tw-ph-no-map {
  padding: 2rem;
}

/* ── Single property: Similar Properties (two-up overlay cards) ── */

body.tw-ph-is-single-property .tw-ph-similar-section {
  margin-top: clamp(2rem, 4vw, 3rem);
  margin-bottom: 3rem;
  padding-left: 1rem;
  border-left: 3px solid #f5c9cf;
}

body.tw-ph-is-single-property .tw-ph-similar-section__heading {
  margin: 0 0 clamp(1.25rem, 3vw, 1.75rem);
  padding: 0;
  font-family: "the-seasons", ui-serif, Georgia, serif;
  font-weight: 600;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: #101010;
  line-height: 1.15;
}

body.tw-ph-is-single-property .tw-ph-similar-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.75rem);
  align-items: stretch;
}

body.tw-ph-is-single-property .tw-ph-similar-card {
  margin: 0;
  padding: 0;
  min-width: 0;
}

body.tw-ph-is-single-property .tw-ph-similar-card__media {
  position: relative;
  display: flex;
  min-height: 280px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  text-decoration: none;
  box-sizing: border-box;
  background-color: #3a4045;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

body.tw-ph-is-single-property .tw-ph-similar-card__media:focus-visible {
  outline: 2px solid #a01c46;
  outline-offset: 4px;
}

body.tw-ph-is-single-property .tw-ph-similar-card__shade {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 35%,
    rgba(10, 10, 10, 0.68) 100%
  );
}

body.tw-ph-is-single-property .tw-ph-similar-card__inner {
  pointer-events: none;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: clamp(1rem, 3vw, 1.65rem);
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(1rem, 3vw, 2rem);
  z-index: 1;
}

body.tw-ph-is-single-property .tw-ph-similar-card__copy {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 0;
}

body.tw-ph-is-single-property .tw-ph-similar-card__title {
  font-family: "the-seasons", ui-serif, Georgia, serif;
  font-weight: 600;
  font-size: clamp(1.35rem, 2.8vw, 1.95rem);
  line-height: 1.18;
  color: #fff;
}

body.tw-ph-is-single-property .tw-ph-similar-card__snippet {
  margin: 0;
  padding: 0;
  font-family: Montserrat, sans-serif;
  font-size: clamp(0.8rem, 1.65vw, 0.925rem);
  font-weight: 400;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.tw-ph-is-single-property
  .tw-ph-similar-card__cta.button.tw-ph-btn-learn-more {
  pointer-events: none;
  flex: 0 0 auto;
  margin: 0;
  text-decoration: none;
  white-space: nowrap;
  align-self: flex-end;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 12px !important;
  font-family: Montserrat, sans-serif !important;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.65em 10px 0.65em 1.35em !important;
  line-height: 1.35;
  color: #fff !important;
  background-color: #a01c46 !important;
  border: none !important;
  border-radius: 0;
}

body.tw-ph-is-single-property
  .tw-ph-similar-card__cta.button.tw-ph-btn-learn-more::after {
  content: "";
  display: inline-block;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  background-image: url(/wp-content/uploads/2026/03/arrow-white.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
}

body.tw-ph-is-single-property
  .tw-ph-similar-card__cta.button.tw-ph-btn-learn-more:hover,
body.tw-ph-is-single-property
  .tw-ph-similar-card__media:hover
  .tw-ph-similar-card__cta.button.tw-ph-btn-learn-more {
  opacity: 0.92;
  color: #fff !important;
}

@media (max-width: 720px) {
  body.tw-ph-is-single-property .tw-ph-similar-grid {
    grid-template-columns: 1fr;
  }

  body.tw-ph-is-single-property .tw-ph-similar-card__inner {
    flex-direction: column;
    align-items: stretch;
  }

  body.tw-ph-is-single-property
    .tw-ph-similar-card__cta.button.tw-ph-btn-learn-more {
    align-self: flex-end;
    max-width: 100%;
  }
}

@media (max-width: 960px) {
  body.tw-ph-is-single-property .tw-ph-details-split {
    grid-template-columns: 1fr;
  }

  body.tw-ph-is-single-property .tw-ph-details-split-map-wrap {
    order: -1;
  }
}

.similar-properties h3 {
  font-family: "the-seasons", ui-serif, Georgia, serif;
  font-weight: 600;
  font-size: 44px;
  margin: 0;
  padding: 0;
  line-height: 1.2;
}

.similar-properties .similar-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.75rem);
  align-items: stretch;
  margin-left: 63px;
  border-left: solid 1px #a01c46;
  padding-left: 60px;
  margin-top: 15px;
}

.property-card {
  position: relative;
}
.property-card:after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 35%,
    rgba(10, 10, 10, 0.68) 100%
  );
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}
.property-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.property-content {
  position: absolute;
  bottom: 0;
  left: 0;

  color: #fff;
  padding: 30px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  column-gap: 30px;
  align-items: flex-end;
}
.property-content h4 {
  width: 100%;
  font-size: 30px;
  font-family: "the-seasons", ui-serif, Georgia, serif;
  font-weight: 600;
  margin: 0;
  padding: 0;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 5px;
}
.property-content p {
  flex: 1;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: #fff;
  margin-bottom: 0;
}
.property-content .btn {
  flex: 0 0 auto;
  font-size: 13px !important;
  font-family: "Montserrat";
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--tb_app_r, 0);
  font-size: var(--tb_mb_f, 1em);
  line-height: 1.35;
  padding: 5px 6px;
  position: relative;
  transition: 0.3s linear;
  transition-property: color, background-color, padding, border, box-shadow;
  color: #fff !important;
  background-color: #a01c46 !important;
  border: none !important;
  border-radius: 0 !important;
  text-transform: uppercase;
  gap: 10px;
}
.property-content .btn:after {
  content: "";
  display: inline-block;
  width: 22px;
  height: 22px;
  background-image: url(/wp-content/uploads/2026/03/arrow-white.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
}
.property-content .btn:hover {
  opacity: 0.92;
  color: #fff !important;
}

@media (max-width: 980px) {
  .property-card:after {
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0) 8%,
      rgba(10, 10, 10, 0.68) 100%
    ) !important;
  }
  .similar-properties h3 {
    font-size: 24;
  }
  .similar-properties .similar-grid {
    grid-template-columns: 1fr;
    margin-left: 0 !important;
    border-left: none !important;
    padding-left: 0 !important;
  }
  .property-content h4 {
    font-size: 20px !important;
    margin-bottom: 10px !important;
  }
  .property-content p {
    font-size: 12px !important;
    width: 100%;
    margin-bottom: 10px !important;
    flex-basis: 100% !important;
  }
  .property-content .btn {
    font-size: 12px !important;
  }
}

p.propertyhive-info.no-results-message {
  color: white;
  text-align: center;
}
