/*
 Theme Name: Nectar Blocks Child
 Theme URI:  https://fmkagency.com/
 Description: Child theme for Nectar Blocks
 Author:      Leo De Leon
 Author URI:  https://fmkagency.com/
 Template:    nectar-blocks-theme
 Version:     1.0.0
*/


/* 1px border, 25% black, rounded corners */
.ph-item {
    display: flex;
    border: 1px solid rgba(0,0,0,0.25);
    border-radius: 15px;
    overflow: hidden; /* in case of rounding */
  }
  
  /* Image column */
  .ph-item__image {
    flex: 0 0 auto;
  }
  .ph-item__image img {
    display: block;
    width: 379px;
    height: 334px;
    object-fit: cover;
  }
  
  /* Details column spacing */
  .ph-item__details {
    margin: 20px 20px 20px 45px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
  }
  
  /* Price + timeframe */
  .ph-item__price {
    font-family: 'Urbanist', sans-serif;
    font-size: 20px;
    font-weight: 600;
  }
  
  /* Title */
  .ph-item__title {
    margin-top: 8px;
    font-family: 'Urbanist', sans-serif;
    font-size: 28px;
    font-weight: 400;
    line-height: 1.2;
  }
  .ph-item__title a { 
    pointer-events: none;
    color: inherit;
    text-decoration: none;
  }
  
  /* Meta row */
  .ph-item__meta {
    display: flex;
    align-items: center;
    font-family: 'Urbanist', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #252525;
    margin-top: 8px;
  }
  .ph-item__meta span + span { margin-left: 12px; }
  .ph-item__meta span:not(:first-child):before {
    content: '|';
    margin-right: 12px;
    color: rgba(0,0,0,0.5);
  }

  /* icon sizing & spacing */
.ph-item__icon {
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
  }
  
  /* if you need to tweak per-icon: */
  .ph-item__icon--bed  { 
    width: 17px;
    height: 14px;

   }
  .ph-item__icon--bath {     
    width: 13px;
    height: 17px;
  }

  .ph-item__icon--arrow {
    margin-left: 10px; 
    vertical-align: middle;
  }

  
  /* Description (2-line clamp) */
  .ph-item__description {
    font-family: 'Lato', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.2;
    margin-top: 40px;
  
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  
  /* Action links */
  .ph-item__actions {
    display: flex;
    margin-top: 20px;
    font-family: 'Urbanist', sans-serif;
    font-size: 16px;
    font-weight: 600;
  }

  .ph-item__link {
    color: #019AA0;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease-in-out, transform 0.3s ease-in-out;
  }
  
  .ph-item__link:hover {
    color: #01797d;
    transform: scale(1.05);
  }
  
  .ph-item__link span {
    margin-left: 10px;
  }
  
  .ph-item__link + .ph-item__link {
    margin-left: 40px;
  }
  

ul.properties,
ul.properties.clear {
  list-style: none !important; 
  margin: 0;
  padding: 0;
}

ul.properties li,
ul.properties.clear li {
  list-style: none !important; 
  border-bottom: none !important; 
  margin-bottom: 20px;            
}

ul.properties li:before,
ul.properties li:after {
  content: none !important;
}

ul.properties.clear > li:first-child {
    padding-top: 0 !important;
  }

  
  /* ---- Responsive: stack image over details on small screens ---- */
@media (max-width: 767px) {
    /* Switch to vertical layout */
    .ph-item {
      flex-direction: column;
    }
  
    /* Make image full-width and auto height */
    .ph-item__image img {
      width: 100%;
      height: auto;
      max-height: none;
    }
  
    /* Reset details margins so it pads evenly on all sides */
    .ph-item__details {
      margin: 20px;
    }
  }
  

  /* ── Property Hive Listings Properties Styling ── */

  /* ─── 1) Grid layout for count + sort ─── */
.propertyhive-properties-shortcode {
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: auto 1fr auto;
    grid-template-areas:
      "count sort"
      "list  list"
      "pager pager";
    row-gap: 1.5rem;
    /* adjust these gaps/margins to taste */
  }
  
  /* Count stays in top-left */
  .propertyhive-properties-shortcode > .propertyhive-result-count {
    grid-area: count;
    margin: 0; /* reset any default <p> margins */
  }
  
  /* Sort dropdown sits top-right */
  .propertyhive-properties-shortcode > form.ph-orderby,
  .propertyhive-properties-shortcode > .propertyhive-ordering {
    grid-area: sort;
    justify-self: end;
    margin: 0;
  }
  
  /* The listings UL */
  .propertyhive-properties-shortcode > ul.properties {
    grid-area: list;
  }
  
  /* Pagination sits bottom, full width (we’ll flex its children) */
  .propertyhive-properties-shortcode > .navigation.pagination,
  .propertyhive-properties-shortcode > .propertyhive-pagination {
    grid-area: pager;
    margin-top: 1.5rem;
  }
  
  /* ─── 2) Style the Sort <select> ─── */
  .propertyhive-properties-shortcode select[name="orderby"] {
    /* remove default border & background */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: none;
    background-color: transparent;
    padding: 0.5em 1.5em 0.5em 0.75em;
    font-family: 'Urbanist', sans-serif;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    position: relative;
  }
  
  /* keep the native arrow, but hide the default inner arrow on some browsers */
  .propertyhive-properties-shortcode select::-ms-expand {
    display: none;
  }
  
/* Down Arrow */
    .propertyhive-properties-shortcode select[name="orderby"] {
    background-image: url('../propertyhive/assets/icon-down.png');
    background-repeat: no-repeat;
    background-position: right 0.75em center;
    }
 
  
 /* ── Pagination Container ── */
.propertyhive-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 2rem 0;
  }
  
  /* ── Buttons ── */
  .propertyhive-pagination button {
    width: 99px;
    height: 40px;
    border-radius: 20px;
    border: 2px solid rgba(37,37,37,0.25);
    background: transparent;
    font-family: 'Urbanist', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #252525;
    cursor: pointer;
    /* animate transforms smoothly */
    transition: transform 0.3s ease;
    transform-origin: center center;
  }
  
  /* Hover on enabled: grow horizontally by 3% */
  .propertyhive-pagination button:not([disabled]):hover {
    transform: scaleX(1.04);
  }
  
  
  /* Disabled state */
  .propertyhive-pagination button[disabled] {
    color: #aaa;
    border-color: #ddd;
    cursor: default;
  }
  
  /* ── Page Info ── */
  .propertyhive-pagination .ph-pagination__info {
    font-family: 'Urbanist', sans-serif;
    font-size: 16px;
    color: #252525;
    pointer-events: none;
  }

  /* ── Next/Prev Buttons ── */
/* Space & flip the page-arrow icons */
.ph-pagination__icon {
    vertical-align: middle;
  }
  
  .ph-pagination__icon--prev {
    transform: scaleX(-1);
    margin-right: 8px;
  }
  
  .ph-pagination__icon--next {
    margin-left: 8px;
  }
  
  .propertyhive-pagination button[disabled] .ph-pagination__icon {
    opacity: 0.25;
  }
  

  /* FEATURED Pill */
.ph-item__image {
    position: relative;
  }
  
  .ph-item__featured-pill {
    position: absolute;
    top: 20px;
    left: 25px;
    width: 72px;
    height: 33px;
    border-radius: 15px;
    background-color: #6BBC01;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Urbanist', sans-serif !important;
    font-size: 10px;
    font-weight: 500 !important;
    color: #ffffff;
    text-transform: uppercase;
    pointer-events: none;
    z-index: 2;
  }
  
  /* ─── Search Form Styling ─── */

.property-search-form-elements {
    display: flex;
    align-items: center;
  }
  
  /* ─── Main single‐pill container ─── */
  .ph-pill--search {
    display: flex;
    align-items: center;
    gap: 0; /* we’re handling spacing manually */
    padding: 0 1rem;
    height: 80px;
    border-radius: 40px;
    max-width: 650px;
    background-color: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    box-sizing: border-box;
  }
  
  /* ─── Individual dropdown wrapper ─── */
  .ph-pill-element {
    position: relative;
    flex: 1;
    margin: 0 35px;
  }
  
  /* ─── Vertical divider between dropdowns ─── */
  .ph-pill-element:not(:last-child)::after {
    display: block;
    content: "";
    position: absolute;
    top: 50%;
    right: -35px;
    transform: translateY(-50%);
    width: 1.5px;
    height: 45px;
    background-color: rgba(255,255,255,0.5);
  }
  
  /* ─── Select styling ─── */
  .ph-search-select {
    width: 100%;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: transparent;
    color: #ffffff;
    border: none;
    font-family: 'Lato', sans-serif;
    font-size: 18px !important;
    font-weight: 400;
    padding: 0.5rem 2.5rem 0.5rem 0.5rem; /* space for arrow */
    border-radius: 4px;
    box-sizing: border-box;
    cursor: pointer;
  }
  
  /* ─── Dropdown arrow ─── */
  .ph-search-arrow {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    transition: transform 0.3s ease;
  }
  
  /* Rotate arrow when open/focused */
  .ph-search-select:focus + .ph-search-arrow {
    transform: translateY(-50%) rotate(180deg);
  }

  /* Remove any highlight/shadow on selection or focus */
.ph-search-select:focus,
.ph-search-select:active {
  outline: none;      
  box-shadow: none; 
  border-color: inherit;
}
  
  /* ─── Search button, next to pill ─── */
.ph-search-submit {
    margin-left: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 132px;
    height: 51px;
    border: none;
    border-radius: 15px;
    background: #ffffff !important;
    color: #000000 !important;
    font-family: 'Urbanist', sans-serif;
    font-size: 18px !important;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease;
  }
  
  /* Button icon spacing */
  .ph-submit-icon {
    margin-left: 0.5rem;
  }
  
  /* Hover */
  .property-search-form.property-search-form-elements .ph-search-submit:hover,
  .property-search-form.property-search-form-elements .ph-search-submit:focus,
  .property-search-form.property-search-form-elements .ph-search-submit:active {
    transform: scaleX(1.03) !important;
    background-color: #ffffff !important;
    background: #ffffff !important;
    background-image: none !important;
    border-color: #ffffff !important;
    box-shadow: none !important;
    color: #000000 !important;
  }
  
  

  @media (max-width: 767px) {
    .property-search-form-elements {
      flex-direction: column;
      align-items: stretch;
    }
    .ph-pill--search {
      flex-direction: column;
      gap: 1rem;
      padding: 1rem;
      height: auto;
      max-width: none;
      width: 100%;
    }
    .ph-pill-element {
      margin: 0;
      width: 100%;
    }
    .ph-search-select {
      width: 100%;
    }
    .ph-search-arrow {
      right: 0.75rem;
    }
    .ph-search-submit {
      margin-left: 0;
      margin-top: 1rem;
      width: 100%;
    }
    .ph-pill-element:not(:last-child)::after {
      display: none;
    }
  }
  

  /* ── Single Property Styling ── --------------------------------------------------------------- */
  /* --------------------------------------------------------------- */

 
/* 1) HERO GALLERY SETUP */
.ph-hero-gallery {
  position: relative;
  width: 100vw;
  left: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow: hidden;
}

.ph-hero-gallery .ph-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  height: 465px; 
  width: 100%;
  background: linear-gradient(180deg, #036872 0%, #019AA0 100%);
  z-index: 1;
}

.ph-hero-gallery .ph-gallery-inner {
  position: relative;
  z-index: 2;
}

.ph-hero-gallery .back-to-listings {
  display: inline-block;
  font-family: 'Urbanist', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 120%;
  letter-spacing: 0;
  margin: 45px 0 0 0;
  text-decoration: none;
  color: #ffffff;
  /* forced layer */
  will-change: transform;
  backface-visibility: hidden;
  transform: translateZ(0);
  -webkit-font-smoothing: antialiased;
  transition: transform 0.3s ease;
}

.ph-hero-gallery .back-to-listings:hover {
  transform: scale3d(1.05, 1.05, 1);
}

#container,
#content {
  overflow-x: visible;
}


/* 2) IMAGE GRID */
.ph-image-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1330px;
  margin: 45px auto;
}

.ph-image-main {
  flex: none;
  border-radius: 25px;
}

.ph-image-main a {
  position: relative;
  width: 100%;
  height: 100%;
  aspect-ratio: 9 / 6;
  overflow: hidden;
  border-radius: 25px;
  display: block;
}

.ph-image-stack {
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.ph-image-stack .ph-image-thumb {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 25px;
}

/* images fill their containers */
.ph-image-main img,
.ph-image-stack img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}



/* 3) PILL OVERLAY */
.ph-image-pill {
  position: absolute;
  top: 600px;
  left: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 104px;
  height: 51px;
  border-radius: 34px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0;
}

.ph-image-pill img {
  width: 17px;
  height: 14px;
}

.ph-image-count {
  font-family: 'Urbanist', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: #ffffff;
  margin: 0;
}


/* 4) STACKED THUMBNAILS (mobile/tablet) */
.ph-image-stack {
  grid-column: 2 / 3;
  display: grid;
  grid-template-rows: repeat(2, 1fr);
  gap: 16px;
}

.ph-image-thumb a {
  display: block;
  overflow: hidden;
  border-radius: 25px;
}

.ph-image-thumb img {
  width: 100%;
  height: auto;
  border-radius: 25px;
  object-fit: cover;
}


/* 5) HOVER  */
.ph-image-main a img,
.ph-image-thumb a img {
  transition: transform 0.3s ease;
  will-change: transform;
}

.ph-image-main a:hover img,
.ph-image-thumb a:hover img {
  transform: scale(1.05);
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* 6) LIFT GRID OVER HERO (DESKTOP) */
@media (min-width: 1324px) {
  .ph-gallery-inner {
    max-width: 1330px;
    margin: 0 auto;
    flex-wrap: nowrap;
  }

  /* left “hero” image */
  .ph-image-main {
    flex: 0 0 840px;     
    /* height: 420px; */
  }

  .ph-image-stack {
    flex: 0 0 400px;     
    display: flex;
    flex-direction: column;
    gap: 29px;        
  }


  .ph-image-main a img,
  .ph-image-thumb a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

@media (min-width: 1025px) {
  .ph-image-main,
  .ph-image-thumb {
    border-radius: 25px;
  }
}


/* 7) RESPONSIVE ADJUSTMENTS */
@media (max-width: 1324px) {
  .ph-image-stack {
    display: none;
  }

  .ph-image-main {
    flex: 1 1 90%;
    width: 90%;
    margin: 0 40px;
    position: relative;
  }

  .ph-image-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    margin-top: 60px;
  }

  .ph-hero-gallery .back-to-listings {
    margin-top: 20px;
    margin-left: 45px; 
  }

  .ph-image-pill {
    display: flex !important;      
    top: auto;                   
    bottom: 16px;               
    left: 16px;                    
    transform: none;             
    z-index: 100;
  }
}


/*─────────────────────────────────────────────────────────────────────────
   PROPERTY DETAILS 
─────────────────────────────────────────────────────────────────────────*/

/* Reset any full-bleed offsets left over from the hero gallery */
.ph-property-details {
  position: relative    !important;
  left: auto            !important;
  right: auto           !important;
  transform: none       !important;
  margin-left: auto     !important;
  margin-right: auto    !important;
  width: 100%           !important;
}


.ph-property-details .ph-details-inner {
  width: 90%;
  display: flex;
  margin: 0 auto;
  flex-direction: column;
  gap: 65px;
}

@media (min-width: 1330px) {
  .ph-property-details .ph-details-inner {
    margin-left: -90px;
    max-width: 1330px;
    flex-direction: row;
  }
}

/* two-column widths */
.ph-property-details .ph-col--left  { flex: 0 0 815px; }
.ph-property-details .ph-col--right { flex: 0 0 485px; }


/* title */
.ph-property-details .ph-property-title {
  font-family: 'Urbanist', sans-serif;
  font-weight: 500;
  font-size: 50px;
  line-height: 120%;
  color: #036872;
  margin-top: 81px;
}

/* price */
.ph-property-details .ph-property-price {
  font-family: 'Urbanist', sans-serif;
  font-weight: 400;
  font-size: 28px;
  line-height: 120%;
  color: #252525;
  margin-top: 30px;
}

/* divider line */
.ph-property-details .ph-divider {
  height: 1px;
  width: 100%;
  background: #25252580;
  margin: 50px 0;
}

/* meta list (type / beds / baths) */
.ph-property-details .ph-property-meta {
  display: flex;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0; 
}
/* property type/level */
.ph-property-details .ph-meta-type {
  font-family: 'Urbanist', sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: #252525;
  list-style: none;
}
/* beds & baths items */
.ph-property-details .ph-meta-beds,
.ph-property-details .ph-meta-baths {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Urbanist', sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: #252525;
}
/* bed & bath icons */
.ph-property-details .ph-meta-beds img,
.ph-property-details .ph-meta-baths img {
  display: inline-block;
  width: auto;
  height: 1em; 
}

/* section headings (Description / Amenities) */
.ph-property-details .ph-section-heading {
  font-family: 'Urbanist', sans-serif;
  font-weight: 500;
  font-size: 40px;
  line-height: 120%;
  color: #036872;
  margin: 0; /* spacing comes from the divider above */
}

/* description body */
.ph-property-details .ph-description {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 120%;
  color: #252525;
  margin-top: 30px;
}

/* amenities list */
.ph-property-details .ph-amenities-list {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 120%;
  color: #252525;
  margin-top: 30px;
  list-style: disc outside;
  padding-left: 20px;
  margin-bottom: 100px;
}

/* ──────────────────────────────────────────────────────────
   Divider
────────────────────────────────────────────────────────── */
.ph-divider--section {
  margin: 0;
  height: 1px;
  background: #25252580;
  position: relative;
  width: 100vw;
  left: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow: hidden;
}

/* ──────────────────────────────────────────────────────────
   Related / “May Also Interest You” block
────────────────────────────────────────────────────────── */
.ph-related-properties {
  max-width: 1330px;
  margin-bottom: 100px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

@media (min-width: 1300px) {
  .ph-related-properties {
    width: 1330px;
    margin-left: -90px;
  }
}

@media (max-width: 1440px) {
  .ph-related-inner {
    margin: 0 auto;
  }
  .ph-related-properties {
    width: 90%;
  }
  .ph-related-grid {
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
  }
}

.ph-related-inner {
  max-width: 1330px;

}

.ph-related-section-title {
  font-family: 'Urbanist', sans-serif;
  font-weight: 500;
  font-size: 48px;
  line-height: 120%;
  color: #036872;
  margin-bottom: 60px;
  margin-top: 100px;
}

/* three-column flex container */
.ph-related-grid {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1330px;
  align-items: center;
}

/* each card */
.ph-related-card {
  flex: 0 0 calc((100% - 40px) / 3);
  text-align: left;
}

/* image */
.ph-related-card img {
  width: 397px;
  height: 263px;
  object-fit: cover;
  border-radius: 25px;
  transition: transform .3s ease;
}

.ph-related-card a:hover img {
  transform: scale(1.03);
}

/* price */
.ph-related-price {
  margin: 28px 0 8px;
  font-family: 'Urbanist', sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: #000;
}

/* title */
.ph-related-title {
  margin: 0;
  font-family: 'Urbanist', sans-serif;
  font-weight: 400;
  font-size: 28px;
  color: #000;
}

/* MOBILE: stack to 1 column */
@media (max-width: 1260px) {
  .ph-related-card {
    flex: 0 0 90%;
  }
  .ph-related-card img {
    width: 100%;
    height: auto;
  }
}


/* ──────────────────────────────────────────────────────────
   CTA
──────────────────────────────────────────────────────────*/
.ph-col--right.ph-cta-container {
  position: relative;
  padding-top: 81px;
}

/* your CTA */
.ph-cta {
  position: sticky;
  top: 140px;
  margin-bottom: 40px;
  width: 100%;
  max-width: 400px;
  background: linear-gradient(to bottom, #036872, #019AA0);
  padding: 30px;
  border-radius: 25px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-sizing: border-box;
  z-index: 2;
}

.ph-cta__pretitle {
  margin: 0;
  font-family: 'Urbanist', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #D4D2AB;
}

.ph-cta__title {
  margin: 10px 0 0;
  font-family: 'Urbanist', sans-serif;
  font-weight: 400;
  font-size: 28px;
  color: #ffffff;
}

.ph-cta__text {
  margin: 15px 0 0;
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.2;
  color: #ffffff;
}

.ph-cta__button {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  font-family: 'Urbanist', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: #ffffff;
  text-decoration: none;
  border: 2px solid #ffffff;
  border-radius: 40px;
  padding: 10px 22px;
  background: transparent;
  transition: transform 0.3s ease;
}

.ph-cta__button_dark {
  display: inline-flex;
  align-items: center;
  font-family: 'Urbanist', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: #036872;
  text-decoration: none;
  border: 2px solid #036872;
  border-radius: 40px;
  padding: 10px 22px;
  background: transparent;
  transition: transform 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  will-change: transform;
  backface-visibility: hidden;
}

.ph-cta__button_dark:hover {
  transform: scale(1.05);
  color: #019AA0 !important;
  border-color: #019AA0;
}


.ph-cta__button img {
  margin-left: 8px;
  width: 10px;
  height: auto;
  display: inline-block;
}

.ph-cta__button:hover {
  transform: scaleX(1.05);
  color: white !important;
}

/* ──────────────────────────────────────────────────────────
   Tooltip Styles
────────────────────────────────────────────────────────── */

#svg-tooltip {
  position: absolute;
  padding: 30px;
  border-radius: 10px;
  background: #00767a7c;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  max-width: 300px;
  color: white;
  pointer-events: auto;
  transform: scale(0.95);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  will-change: opacity, transform;
}

#svg-tooltip.visible {
  transform: scale(1);
  opacity: 1;
}

/* Title */
#svg-tooltip .tooltip-title {
  font-family: 'Urbanist', sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 120%;
}

/* Body */
#svg-tooltip .tooltip-body {
  margin-top: 16px;
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 120%;
}

/* Link */
#svg-tooltip .tooltip-link {
  margin-top: 26px;
  display: inline-block;
  font-family: 'Urbanist', sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 160%;
  letter-spacing: 0%;
  text-decoration: none;
}
#svg-tooltip .tooltip-link::after {
  content: ' →';
}

/* map wrapper responsive */
.nectar-svg-map-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}
.nectar-svg-map-wrapper svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Mobile Pinch feature */

/* Container */
#map-container {
  width: 100%;
  max-width: none;
  margin: 0 auto;
}
#map-container,
#svg-wrapper,
#svg-wrapper svg {
  height: auto;
}
@media (max-width: 767px) {
  #map-container {
    height: 400px;
  }
  #svg-wrapper,
  #svg-wrapper svg {
    height: 100%;
  }
}

/* Wrapper */
#svg-wrapper {
  touch-action: none;
  -ms-touch-action: none;
  width: 100%;
  transform-origin: 0 0;
  cursor: grab;
}
#svg-wrapper:active {
  cursor: grabbing;
}
#svg-wrapper svg {
  width: 100%;
  display: block;
}

/* Tooltip */
#svg-tooltip {
  position: absolute;
  padding: 30px;
  border-radius: 10px;
  background: #005b5ebc;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  max-width: 300px;
  color: #fff;
  pointer-events: auto;
  transform: scale(0.95);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  will-change: opacity, transform;
}
#svg-tooltip.visible {
  transform: scale(1);
  opacity: 1;
}
#svg-tooltip .tooltip-title {
  font-family: 'Urbanist', sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 120%;
}
#svg-tooltip .tooltip-body {
  margin-top: 16px;
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 120%;
}
#svg-tooltip .tooltip-link {
  margin-top: 26px;
  display: inline-block;
  font-family: 'Urbanist', sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 160%;
  letter-spacing: 0;
  text-decoration: none;
}
#svg-tooltip .tooltip-link::after {
  content: url('https://elements-playa-del-carmen.flywheelstaging.com/wp-content/themes/nectar-blocks-child/images/interactive_map_arrow.svg');
  display: inline-block;
  width: 17px;
  height: auto;
  vertical-align: middle;
  margin-left: 10px;
  margin-bottom: 1px;
}

#map-container,
#svg-wrapper {
  overflow: hidden;
}

/* ─────────────────────────────────────────────────────────
   Give every property card a 30px horizontal gutter
   ───────────────────────────────────────────────────────── */
   .ph-properties-wrapper {
    display: flex;
    flex-wrap: wrap;
    margin: 0 30px;
  }
  
  /* Archive page: give everything inside ph-archive-content a 30px horizontal margin */
.ph-archive-content {
  margin: 0 30px;
}

.back-to-listings {
  display: inline-block;
  font-family: 'Urbanist', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 120%;
  letter-spacing: 0;
  margin: 45px 0 0 0;
  text-decoration: none;
  color: #709da1;
  /* forced layer */
  will-change: transform;
  backface-visibility: hidden;
  transform: translateZ(0);
  /* optionally improve macOS rendering */
  -webkit-font-smoothing: antialiased;
  transition: transform 0.3s ease;
}

.back-to-listings:hover {
  /* use scale3d to keep it GPU-accelerated */
  transform: scale3d(1.05, 1.05, 1);
}

#gform_submit_button_2, #gform_submit_button_3 {
  background-color: #036872;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
}

#gform_submit_button_2:hover, #gform_submit_button_3:hover {
  transform: scale(1.05);
}