img {
    width: 100%;
    object-fit: cover;
}
.villas-slider .villa-for img {
  aspect-ratio: 1/0.346;
}
.villas-slider .villa-for img {
  opacity: 0;
}
.villas-slider .villa-nav {
  padding-top: 10px;
  margin: 0 -0.6rem;
}

.villas-slider .villa-nav img {
  margin-left: 6px;
  margin-right: 6px;
  height: 12rem;
}
.img-fluid {
  max-width: 100%;
  height: auto;
}
.btlr_30 img {
  border-top-left-radius: 30rem;
}
.bbrr_30 img {
  border-bottom-right-radius: 30rem;
}
.apcv-about-img img {
    display: block;
    aspect-ratio: 1 / 1.674;
}
.apcv-about-img.small-img-about img {
  aspect-ratio: 1 / 1.1918;
}
.apcv-about-img.middle-img-about img {
  aspect-ratio: 1 / 1.41875;
}

.villas-slider .villa-nav .slick-arrow {
  right: 5px;
  width: 31px;
  height: 31px;
  background-color: rgba(255, 255, 255, 0.5);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  background-image: url("../images/down-arrow.svg");
  background-repeat: no-repeat;
  background-size: 17px;
  background-position: center;
  -webkit-transform: translate(0, -50%) rotate(-90deg);
          transform: translate(0, -50%) rotate(-90deg);
  z-index: 1;
}
.villas-slider .villa-nav .slick-arrow::before {
  display: none;
}
.villas-slider .villa-nav .slick-arrow.slick-prev {
  left: 5px;
  right: auto;
  -webkit-transform: translate(0, -50%) rotate(90deg);
          transform: translate(0, -50%) rotate(90deg);
}

@media (max-width: 767.98px) {
  .villas-slider .villa-for img {
    aspect-ratio: 1/0.46;
  }
  .villas-slider .villa-nav img {
    height: 80px;
  }
}

@media (max-width: 575.98px) {
  .villas-slider .villa-for img {
    aspect-ratio: 1/0.7;
  }
  .villas-slider .villa-nav img {
    height: 80px;
  }
  .villas-slider .villa-nav .slick-arrow {
    width: 30px;
    height: 30px;
    background-size: 18px;
  }
}

.apcv-property-details .villa-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.apcv-property-details .villa-info li {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 15px;
  background-color: var(--theme-palette-color-6);
  color: var(--theme-palette-color-4);
  border-radius: 6px;
  padding: 20px 15px;
  transition: all 0.3s ease;
  text-align: center;
}

.apcv-property-details .villa-info img {
  width: 33px;
  height: auto;
  display: block;
}

.apcv-property-details .villa-info p {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  color: var(--theme-palette-color-4);
}

@media (max-width: 768px) {
  .apcv-property-details .villa-info {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
}

@media (max-width: 575.98px) {
  .apcv-property-details .villa-info li {
    padding: 15px;
    gap: 3px;
  }
  .apcv-property-details .villa-info img {
    width: 24px;
  }
  .apcv-property-details .villa-info p {
    font-size: 14px;
  }
  .apcv-property-details .villa-info li {
    flex-direction: column;
    text-align: center;
  }
  .apcv-property-details .villa-info img {
    margin-bottom: 6px;
  }
}

.apcv-property-tabs .tabs {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin-bottom: 25px;
}

.apcv-property-tabs .tabs li {
  cursor: pointer;
  font-size: 18px;
  padding-bottom: 6px;
  margin-bottom: 12px;
  position: relative;
  transition: all 0.3s ease;
}

.apcv-property-tabs .tabs li.active {
  border-bottom: 1px solid #a48a5a;
}

.apcv-property-tabs .tab-content {
  display: none;
  animation: fadeIn 0.3s ease-in-out;
}
.apcv-property-tabs .tab-content.active {
  display: block;
}

.apcv-property-tabs .tab-list {
  list-style: disc;
  margin-left: 25px;
}
.apcv-property-tabs .tab-list li h3 {
  font-size: 16px;
  font-weight: 400;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

/*
booking form
*/
/* === APCV BOOKING FORM === */
.apcv-booking-form {
  max-width: 520px;
  margin: 0 auto;
}

.apcv-booking-form .booking-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* --- inputs --- */
.apcv-booking-form input,
.apcv-booking-form select,
.apcv-booking-form textarea {
  width: 100%;
  padding: 17px 14px;
  font-size: 15px;
  border: none;
  font-family: inherit;
  line-height: 1.4;
  height: auto;
  background-color: rgba(160, 163, 158, 0.1);
  color: #000;
}
.apcv-booking-form input,
.apcv-booking-form select,
.apcv-booking-form textarea,
.apcv-booking-form input:focus,
.apcv-booking-form select:focus,
.apcv-booking-form textarea:focus {
  background-color: rgba(160, 163, 158, 0.1);
}

.apcv-booking-form input::placeholder,
.apcv-booking-form textarea::placeholder {
  color: #6c757d;
}

/* --- SELECT CUSTOM --- */
.apcv-booking-form .select-wrapper {
  position: relative;
  width: 100%;
}

.apcv-booking-form .guests-select {
  cursor: pointer;
}

/* --- BUTTON --- */
.apcv-booking-form .book-now-btn {
  width: 100%;
  background-color: #9a845a;
  color: var(--theme-palette-color-8);
  font-size: 16px;
  letter-spacing: 0.5px;
  padding: 18px 0;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.apcv-booking-form .book-now-btn:hover {
  background-color: #85724d;
}

.apcv-turnstile-container {
  margin: 10px 0;
}

.apcv-booking-form textarea {
  resize: vertical;
  box-sizing: border-box;
}

.apcv-booking-form .apcv-booking-message {
  font-size: 16px;
  margin-top: 15px;
  padding: 15px 20px;
  text-align: center;
  display: none;
}

.apcv-booking-form .apcv-booking-message.success {
  display: block;
  color: #2e7d32;
  font-weight: 500;
  background-color: rgba(46, 125, 50, 0.08);
}

.apcv-booking-form .apcv-booking-message.error {
  display: block;
}
.apcv-booking-form .apcv-booking-message.error, .apcv-booking-form .field-error { 
  color: #c0392b; 
  font-size: 14px;
}

.ui-datepicker {
  font-family: inherit;
  border: 1px solid #dadada;
  background: var(--theme-palette-color-8);
  padding: 10px;
  box-shadow: 0 10px 20px rgba(0,0,0,.08);
}

.ui-datepicker td a.ui-state-active,
.ui-datepicker td a.ui-state-hover {
  background: #9a845a;
  color: var(--theme-palette-color-8) !important;
}

/* --- DATE INPUT WRAPPER --- */
.apcv-booking-form .date-wrapper {
  position: relative;
  width: 100%;
}

.apcv-booking-form .date-wrapper input.datepicker {
  width: 100%;
  cursor: pointer;
}

.apcv-booking-form .calendar-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%236c757d' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' viewBox='0 0 24 24'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E") no-repeat center center;
  background-size: contain;
  pointer-events: none;
}

/* === APCV DATEPICKER CUSTOM CLEAN === */
.ui-datepicker {
  width: 250px !important;
  font-family: inherit;
  font-size: 14px;
  background: #9a845a;
  color: var(--theme-palette-color-8);
  border: none !important;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  padding: 8px;
  z-index: 9999 !important;
}

/* --- header (month + year) --- */
.ui-datepicker .ui-datepicker-header {
  background: none !important;
  border: none !important;
  color: var(--theme-palette-color-8);
  font-weight: 600;
  text-align: center;
  padding: 8px 0 10px;
  position: relative;
}

/* --- previous / next buttons --- */
.ui-datepicker .ui-datepicker-prev,
.ui-datepicker .ui-datepicker-next {
  cursor: pointer;
  width: 28px;
  height: 28px;
  position: absolute;
  top: 7px;
  border: none;
  background: transparent;
  color: var(--theme-palette-color-8);
  transition: opacity 0.2s ease;
  text-indent: -9999px;
  overflow: hidden;
}
.ui-datepicker .ui-datepicker-prev { left: 5px; }
.ui-datepicker .ui-datepicker-next { right: 5px; }

.ui-datepicker .ui-datepicker-prev:before,
.ui-datepicker .ui-datepicker-next:before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  border: solid var(--theme-palette-color-8);
  border-width: 0 2px 2px 0;
  transform: translate(-50%, -50%) rotate(135deg);
}
.ui-datepicker .ui-datepicker-next:before {
  transform: translate(-50%, -50%) rotate(-45deg);
}
.ui-datepicker .ui-datepicker-prev:hover,
.ui-datepicker .ui-datepicker-next:hover {
  opacity: 0.7;
}

/* --- calendar table --- */
.ui-datepicker-calendar {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
  text-align: center;
}

/* day headers (Su, Mo...) */
.ui-datepicker th {
  font-size: 11px;
  font-weight: 500;
  color: var(--theme-palette-color-8);
  text-transform: uppercase;
  padding: 4px 0;
}

/* each day */
.ui-datepicker td {
  padding: 0;
  border: none;
}

.ui-datepicker td a {
  display: block;
  padding: 6px 0;
  text-align: center;
  text-decoration: none;
  border-radius: 4px;
  color: var(--theme-palette-color-8);
  transition: all 0.2s ease;
}

/* inactive days (other months) */
.ui-datepicker-other-month a {
  opacity: 0.3;
}

/* current day */
.ui-datepicker td a.ui-state-highlight {
  background: rgba(255, 255, 255, 0.2);
}

/* selected day */
.ui-datepicker td a.ui-state-active {
  background: var(--theme-palette-color-8);
  color: #9a845a !important;
  font-weight: 600;
}

/* hover */
.ui-datepicker td a:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* remove odd margins and alignment */
.ui-datepicker table {
  margin: 0 auto !important;
}
/* --- past days (disabled) --- */
.ui-datepicker td.ui-state-disabled span,
.ui-datepicker td.ui-state-disabled a {
  color: rgba(255, 255, 255, 0.5);
  cursor: default;
  opacity: 1 !important;
}

/*similar properties*/
/* =========================================
   APCV Similar Properties Widget — FULL CSS
   ========================================= */

.apcv-pgrid-properties {
  text-align: center;
}

/* ---------- GRID LAYOUT ---------- */

.apcv-pgrid-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)); /* important fix */
  gap: 30px;
}

.apcv-pgrid-card {
  text-align: left;
  min-width: 0;   /* crucial for Slick + grid */
  min-height: 0;
}

/* ---------- SLIDER ---------- */

.apcv-pgrid-slider {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.apcv-pgrid-slider .slick-list {
  overflow: hidden;
}

.apcv-pgrid-slider .slick-track {
  display: flex;
  align-items: stretch;
}

.apcv-pgrid-slider .slide {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.apcv-pgrid-slider .slide img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  border-radius: inherit;
  aspect-ratio: 1 / 1.1876;
}
.apcv-pgrid-grid .apcv-pgrid-card:first-child .apcv-pgrid-slider {
  border-radius: 65% 0 0 0;
}
.apcv-pgrid-grid .apcv-pgrid-card:last-child .apcv-pgrid-slider {
  border-radius: 0 65% 0 0;
}


/* ---------- SLICK NAVIGATION ---------- */

.apcv-pgrid-slider .slick-arrow {
    top: calc(50%);
    left: 15px;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.apcv-pgrid-slider .slick-arrow,
.apcv-pgrid-slider .slick-arrow:focus,
.apcv-pgrid-slider .slick-arrow:hover {
  background-color: var(--theme-palette-color-1);
} 


.apcv-pgrid-slider .slick-arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 21px;
  height: 21px;
  background-image: url("../images/arrow.svg");
  background-repeat: no-repeat;
  background-size: contain;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  filter: invert(1);
  opacity: 1;
}
.slick-arrow.slick-next {
  left: auto;
  right: 15px;
  -webkit-transform: translate(0, -50%) rotate(180deg);
          transform: translate(0, -50%) rotate(180deg);
}

/* ---------- PROPERTY INFO ---------- */

.apcv-pgrid-info {
  margin-top: 20px;
}

.apcv-pgrid-info .property-title {
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 3px;
}

.apcv-pgrid-info .property-meta {
  display: flex;
  flex-wrap: wrap;
  column-gap: 15px;
  row-gap: 7px;
  margin: 0 0 10px;
  padding: 0;
  list-style: none;
  color: #555;
  font-size: 14px;
  margin-top: 10px;
}
a.apcv-property-grid-title, a.apcv-property-grid-title:hover {
  color: var(--theme-palette-color-4);
}

a.apcv-property-grid-dest {
  font-size: 1.4rem;
}
a.apcv-property-grid-dest, a.apcv-property-grid-dest:hover {
  color: var(--theme-palette-color-1);
}

.apcv-pgrid-info .property-meta li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.apcv-pgrid-info .property-meta img {
  width: 16px;
  height: auto;
  filter: brightness(0);
}

/* ---------- VIEW DETAILS LINK ---------- */

.apcv-pgrid-info .view-details {
    position: relative;
    display: inline-block;
    font-size: 14px;
    line-height: 1.25;
    background-color: transparent;
    color: #9A8765;
    padding: 0.4rem 0;
    border-bottom: 1px solid #9A8765;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

.apcv-pgrid-info .view-details::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -27px;
    width: 12px;
    height: 12px;
    transform: translateY(-50%) rotate(-90deg);
    background-image: url('../images/down-arrow.svg');
    background-size: 100%;
    background-repeat: no-repeat;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease-in-out;
}

.apcv-pgrid-info .view-details::after {
    top: calc(50% + 0.2rem);
    filter: invert(54%) sepia(33%) saturate(354%) hue-rotate(360deg)
            brightness(94%) contrast(85%);
}
.apcv-pgrid-info .view-details:hover::after {
  filter: none;
}

.apcv-pgrid-info .view-details:hover {
    color: #7c684b;
    border-color: #7c684b;
}
.apcv-pgrid-info .view-details:hover::after {
    right: -32px;
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 768px) {

  .apcv-pgrid-slider .slick-prev,
  .apcv-pgrid-slider .slick-next {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 575.98px) {
  .apcv-pgrid-grid {
    grid-template-columns: 1fr;  
  }

  .apcv-pgrid-grid .apcv-pgrid-card:first-child .apcv-pgrid-slider, .apcv-pgrid-grid .apcv-pgrid-card:last-child .apcv-pgrid-slider {
    border-radius: 0;
  }
}

.apcv-pgrid-slider,
.apcv-pgrid-slider .slide,
.apcv-pgrid-slider .slick-slide {
  max-width: 100% !important;
}

.apcv-pgrid-slider.slick-initialized {
  overflow: hidden;
}

/* === PROPERTY LISTING WITH FILTERS === [[[ */

.apcv-property-filter {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  flex-wrap: wrap;
}

/* Sidebar */
.apcv-filter-sidebar {
  flex: 0 0 280px;
  padding: 0 20px;
}

.apcv-filter-sidebar label {
  display: block;
  margin-bottom: 5px;
}

.apcv-filter-sidebar select {
  width: 100%;
  padding: 8px 10px;
  font-size: 14px;
  border-color: var(--theme-palette-color-5);
  color: var(--theme-palette-color-5);
    background-image: url(../images/sort-arrow.svg);
    background-repeat: no-repeat;
    background-size: 2rem;
    background-position: calc(100% - 2.4rem) center;
    text-transform: capitalize;
    padding: 1.3rem 4.8rem 1.3rem 2.4rem;
    font-weight: 300;
    font-size: 1.4rem;
    height: auto;
}
.apcv-filter-sidebar select option {
  color: var(--theme-palette-color-5);
}

.apcv-filter-sidebar select:focus {
  outline: none;
}
/* Destination tree base */
.apcv-filter-destinations,
.apcv-filter-collections {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

/* List spacing */
.apcv-filter-destinations li,
.apcv-filter-collections li {
  margin: 7px 0;
  position: relative;
}

/* Nested list indentation */
.apcv-filter-destinations ul,
.apcv-filter-collections ul {
  padding-left: 3.2rem;
  list-style-type: none;
}

/* Row layout (link + toggle button) */
.apcv-destination-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

/* Links */
.apcv-filter-destinations a,
.apcv-filter-collections a {
  display: inline-block;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.2s;
  color: var(--theme-palette-color-5);
}

/* Hover / active colors */
.apcv-filter-destinations a.active,
.apcv-filter-destinations a:hover,
.apcv-filter-collections a.active,
.apcv-filter-collections a:hover {
  color: var(--theme-palette-color-4);
}

/* Active item weight */
.apcv-filter-destinations a.active,
.apcv-filter-collections a.active {
  font-weight: 400;
}

/* Toggle button */
.apcv-destination-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  color: var(--theme-palette-color-5);
}

/* Toggle icon */
.apcv-destination-toggle-icon {
  display: inline-block;
  font-weight: 500;
}

/* Closed branches hide children */
.apcv-destination-item.is-closed > .apcv-destination-children {
  display: none;
}

/* Open branches show children */
.apcv-destination-item.is-open > .apcv-destination-children {
  display: block;
}

/* Small visual feedback on hover */
.apcv-destination-toggle:hover {
  color: var(--theme-palette-color-4);
}

/* Optional: align toggle visually */
.apcv-destination-item.has-children > .apcv-destination-row {
  padding-right: 4px;
}


/* Property Grid */
.apcv-property-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
}

/* Pagination */
.apcv-pagination-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 30px auto;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  text-align: center;
  border: 1px solid rgba(160, 163, 158, 0.3);
}

.page-item {
  position: relative;
  width: 4rem;
  height: 4rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  cursor: pointer;
  border-left: 1px solid rgba(160, 163, 158, 0.3);
  font-size: 1.4rem;
  font-weight: 400;
}


.page-item a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.page-item.selected {
  background: var(--theme-palette-color-1);
  color: var(--theme-palette-color-8);
  cursor: default;
}

.page-item.inactive {
  cursor: default;
}
.page-item.prev::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2rem;
    height: 2rem;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    background-image: url(../images/pagi-arrow.svg);
    background-repeat: no-repeat;
    background-size: contain;
    -webkit-transform: translate(-50%, -50%) rotate(180deg);
    transform: translate(-50%, -50%) rotate(180deg);    
}
.page-item.prev {
  border-left-width: 0;
}
.page-item.next {
  border-right-width: 0;
}

.page-item.next::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2rem;
  height: 2rem;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  background-image: url(../images/pagi-arrow.svg);
  background-repeat: no-repeat;
  background-size: contain;
}
.page-item.next a, .page-item.prev a {
  display: block;
  width: 100%;
  height: 100%;
  z-index: 2;
}
.page-item.next.inactive::after, .page-item.prev.inactive::after {
  -webkit-filter: brightness(0) invert(0.5);
  filter: brightness(0) invert(0.5);
}

/* hide slider image until initialized */
.apcv-pgrid-slider:not(.slick-initialized) {
  opacity: 0;
  height: 0;
  overflow: hidden;
}

/* show slider after slick initialization */
.apcv-pgrid-slider.slick-initialized {
  opacity: 1;
  height: auto;
  transition: opacity 0.3s ease;
}
.apcv_property_filter {
  margin-bottom: 35px;
}
.apcv_property_filter h3 {
  color: var(--theme-palette-color-4);
  text-transform: uppercase;
  font-size: 2.1rem;
  margin-bottom: 2rem;
}
.apcv-checkbox-list input[type="checkbox"] {
  vertical-align: middle;
  position: relative;
  top: -1px;
  margin-right: 5px;
}
.apcv-filter-destinations a, .apcv-checkbox-list span,
.apcv-filter-collections a {
  font-size: 1.4rem;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .apcv-property-filter {
    flex-direction: column;
  }

  .apcv-filter-sidebar {
    width: 100%;
    flex: 1;
  }
}


/*filters toggle [[[*/
  /* === MOBILE FILTERS TOGGLE === */
.apcv-filters-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    color: var(--theme-palette-color-4);
    text-decoration: none;
    padding-left: 45px;
    font-size: 1.4rem;
    cursor: pointer;
    margin-left: auto;
    text-transform: uppercase;
    background-image: url(../images/filters.svg);
    background-repeat: no-repeat;
    background-size: 25px 25px;
    background-position: 12px center;
}

.apcv-filters-close {
  display: none;
    background: url(../images/close.svg) no-repeat center center;
    background-size: 16px 16px;
    width: 36px;
    height: 36px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    position: relative;
    filter: invert(1);
    margin-left: auto;
    margin-bottom: 10px;
}

@media (max-width: 992px) {
  .apcv-property-filter {
    gap: 30px;
  }
  .apcv-filters-toggle {
    display: inline-flex;
  }

  .apcv-filter-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--theme-palette-color-8);
    z-index: 9999;
    box-shadow: -2px 0 8px rgba(0,0,0,0.2);
    padding: 30px;
    overflow-y: auto;
    transition: right 0.3s ease;
  }

  /* admin bar positioning */
  body.admin-bar .apcv-filter-sidebar {
    top: 32px; 
  }

  @media (max-width: 782px) {
    body.admin-bar .apcv-filter-sidebar {
      top: 46px; /* the admin bar is taller on mobile */
    }
  }

  .apcv-filter-sidebar.active {
    right: 0;
  }

  .apcv-filters-close {
    display: block;
  }

  body.apcv-overlay-active::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 9998;
  }
}
/*filters toggle ]]]*/
/* === PROPERTY LISTING WITH FILTERS === ]]] */

/*hero header [[[*/
  .apcv-hero-wrapper {
  padding-top: 26rem;
  padding-bottom: 12rem;
  min-height: calc(100vh - 14rem);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--theme-palette-color-8);
}
.apcv-hero-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.apcv-hero-bg--image,
.apcv-hero-bg--video,
.apcv-hero-bg--youtube,
.apcv-hero-bg--vimeo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.apcv-hero-bg--youtube,
.apcv-hero-bg--vimeo {
  overflow: hidden;
  background-color: #000;
  container-type: size;
  container-name: hero-landscape;
}

.apcv-hero-bg--portrait {
  container-name: hero-portrait;
}

/* hide/show YouTube iframe according to the resolution */
.desktop-only {
    display: block;
}
.mobile-only {
    display: none;
}

@media (max-width: 575.98px) {
    .desktop-only {
        display: none;
    }
    .mobile-only {
        display: block;
    }
}

.apcv-hero-bg--image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.apcv-hero-bg--youtube iframe,
.apcv-hero-bg--vimeo iframe {
  pointer-events: none;
}

.apcv-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  padding: 0 2rem;
}

.apcv-hero-title {
  font-size: 6.4rem;
  font-weight: 400;
  line-height: 1.22;
  margin: 0 auto;
}

.apcv-hero-desc {
  font-size: 1.8rem;
  line-height: 1.44;
  padding-top: 2.4rem;
  margin: 0 auto;
}

.apcv-hero-desc, .apcv-hero-desc p, .apcv-hero-title {
  color: var(--theme-palette-color-8);
}

.apcv-hero-content {
  max-width: 87.7rem;
  z-index: 1;
}
.apcv-hero-wrapper .feat-dest-wrapper {
  position: absolute;
  bottom: 9.4rem;
  width: 100%;
  padding: 2rem 0;
  z-index: 1;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  background: rgba(255, 255, 255, 0.2);

}

.feat-dest-wrapper-inner {
  max-width: 1215px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.apcv-feat-destination-name h5 {
  font-family: "CG";
  font-weight: 400;
  margin: 0;
  color: var(--theme-palette-color-8);
    line-height: 0.8;
    text-transform: uppercase;
    border-bottom: 1px solid var(--theme-palette-color-8);
}

.apcv-feat-destination-name img {
    height: 3rem;
    -o-object-fit: contain;
    object-fit: contain;
    display: block;
    opacity: 0.6;
    -webkit-filter: brightness(0) invert(1);
    filter: brightness(0) invert(1);
    transform: rotateY(180deg) rotate(-70deg);
}

@media (max-width: 1024px) {
  .apcv-hero-wrapper .feat-dest-wrapper {
    display: none;
  }
  .apcv-hero-inner {
    padding-left: 2.9rem;
    padding-right: 2.9rem;
  }
}

@media (max-width: 991.98px) {
  .apcv-hero-wrapper {
    padding-top: 16rem;
    padding-bottom: 8rem;
    min-height: 100dvh;
    min-height: 100vh; /* fallback for older browsers */
    min-height: 100dvh;
    overflow: hidden;
  }
}

@media (max-width: 575.98px) {
  .apcv-hero-wrapper {
    padding-top: 12rem;
    padding-bottom: 6rem;
    min-height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;
  }
  .apcv-hero-desc {
    font-size: 1.8rem;
    line-height: 1.44;
    padding-top: 2.4rem;
  }
  .apcv-hero-title {
    font-size: 4rem;
  }
}


/*hero header ]]]*/

/*testimonial [[[*/
.apcv-testimonial-slider {
  position: relative;
  background-color: #f9f6f2;
  text-align: center;
  padding: 8rem 0;
}

h2.apcv-testimonial-title {
  text-transform: uppercase;
  padding-bottom: 3.2rem;
  font-weight: 400;
  font-size: 3.2rem;
  line-height: 1.22;
  margin-bottom: 0;  
  color: var(--theme-palette-color-4);
}

/* slick fix — revenim complet la flow-ul nativ */
.apcv-testimonial-slick .slick-list {
  overflow: hidden;
}

.apcv-testimonial-slick .slick-track {
  display: flex;
  align-items: center; /* keep items vertically centered */
}

/* Each slide content centered individually */
.apcv-testimonial-item {
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  padding: 0 3rem;
  box-sizing: border-box;
}

.apcv-testimonial-content {
  padding-bottom: 4rem;
}

.apcv-testimonial-author {
  margin-bottom: 0;
  padding-bottom: 0.4rem;
  color: var(--theme-palette-color-4);
  font-weight: 700;
  font-size: 1.8rem;
  line-height: 1.56;
}

/* Arrows */
.apcv-testimonial-wrapper.has-arrows .slick-prev,
.apcv-testimonial-wrapper.has-arrows .slick-next {
  position: absolute;
  top: 50%;
  width: 4.4rem;
  height: 4.4rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background-image: url(../images/arrow.svg);
  background-color: var(--theme-palette-color-8);
  background-repeat: no-repeat;
  background-size: 2.4rem;
  background-position: center;
  transform: translateY(-50%);
  z-index: 2;
  cursor: pointer;
}

.apcv-testimonial-wrapper.has-arrows .slick-prev:before,
.apcv-testimonial-wrapper.has-arrows .slick-next:before {
  content: '';
}

.apcv-testimonial-wrapper.has-arrows .slick-prev {
  left: -2.2rem;
}

.apcv-testimonial-wrapper.has-arrows .slick-next {
  right: -2.2rem;
  transform: translateY(-50%) rotate(180deg);
}

.apcv-testimonial-wrapper.is-loading .apcv-testimonial-item, 
.apcv-featured-tags-slider.is-loading .apcv-featured-tag-item,
.service-media.is-loading img {
  opacity: 0;
  visibility: hidden;
  height: 0;
  overflow: hidden;
}

.apcv-testimonial-wrapper .apcv-testimonial-item,
.apcv-featured-tags-slider .apcv-featured-tag-item {
  transition: opacity 0.3s ease;
  opacity: 1;
  visibility: visible;
  height: auto;
}


@media (max-width: 992px) {
  .apcv-testimonial-wrapper.has-arrows .slick-prev,
  .apcv-testimonial-wrapper.has-arrows .slick-next {
    width: 3.8rem;
    height: 3.8rem;
  }
  .apcv-testimonial-slider {
    padding: 5rem 0;
  }
}

@media (max-width: 575.98px) {
.apcv-testimonial-slider {
    padding: 3.5rem 0;
  }
}

/*testimonial ]]]*/

/*featured tags [[[*/
/* === Featured Tags Carousel === */
.apcv-featured-tags-carousel {
  position: relative;
  padding: 0;
}

.apcv-featured-tags-slider {
  display: flex;
  align-items: stretch;
}

.apcv-featured-tag-item {
  padding: 0;
}

.apcv-featured-tag-card {
  position: relative;
  overflow: hidden;
  margin-right: 1.2rem;
  margin-left: 1.2rem;
}

@media (max-width: 575.98px) {
  .apcv-featured-tag-card {
    margin-left: 0;
    margin-right: 0;
  }
}

.apcv-featured-tag-card:hover img {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

.apcv-featured-tag-image {
  position: relative;
  overflow: hidden;
}

.apcv-featured-tag-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0.03%, rgba(0, 0, 0, 0.4)), color-stop(2.86%, rgba(0, 0, 0, 0.5)), color-stop(78.39%, rgba(0, 0, 0, 0)));
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0.03%, rgba(0, 0, 0, 0.5) 2.86%, rgba(0, 0, 0, 0) 78.39%);
    z-index: 1;
}

.apcv-featured-tag-image img {
  width: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 1 / 1.3215;
  -webkit-transition: all 0.4s linear;
  transition: all 0.4s linear;
}

.apcv-featured-tag-top-title {
  position: absolute;
  top: 1.6rem;
  left: 0;
  width: 100%;
  text-align: center;
  text-transform: uppercase;
  z-index: 2;
  color: var(--theme-palette-color-8);
  letter-spacing: 0.05em;
  font-style: normal;
  font-weight: 500;
  font-size: 2.2rem;
  line-height: 1.23;
  color: var(--theme-palette-color-8);
  padding: 0 20px;
}

.apcv-featured-tag-bottom {
  text-align: center;
}

.apcv-featured-tag-name {
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.25;
  border-bottom: 1px solid var(--theme-palette-color-4);
  display: inline-block;
  padding: 2.4rem 0 0.4rem;
  text-decoration: none;
}
a.apcv-featured-tag-name, a.apcv-featured-tag-name:hover {
  color: var(--theme-palette-color-4);
}

.apcv-featured-tag-name:hover {
  color: var(--theme-palette-color-2, #333);
  border-bottom-color: currentColor;
}

/* slick arrows */
.apcv-featured-tags-slider .slick-prev,
.apcv-featured-tags-slider .slick-next {
    top: calc(50% - 2.4rem);
    left: -1.2rem;
    width: 4.4rem;
    height: 4.4rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background-color: var(--theme-palette-color-1);
    z-index: 1;
}
.apcv-featured-tags-slider .slick-prev:hover, .apcv-featured-tags-slider .slick-next:hover {
  background-color: var(--theme-palette-color-1);
  border: 1px solid rgba(0, 0, 0, 0.1);
}


.apcv-featured-tags-slider .slick-next {
  left: auto;
  right: -1.2rem;
  -webkit-transform: translate(0, -50%) rotate(180deg);
  transform: translate(0, -50%) rotate(180deg);
}

.apcv-featured-tags-slider .slick-prev::before, 
.apcv-featured-tags-slider .slick-next::before { 
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2.4rem;
    height: 2.4rem;
    background-image: url(../images/arrow.svg);
    background-repeat: no-repeat;
    background-size: contain;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    filter: invert(1);
    opacity: 1;
}

/*featured tags ]]]*/

/*contact form [[[*/
/* all contact form palceholders */
.apcv-contact-form input::placeholder,
.apcv-contact-form textarea::placeholder {
  color: var(--theme-palette-color-4);
  opacity: 1;
}
/* compatibility */
.apcv-contact-form input::-webkit-input-placeholder,
.apcv-contact-form textarea::-webkit-input-placeholder {
  color: var(--theme-palette-color-4);
}
.apcv-contact-form input:-ms-input-placeholder,
.apcv-contact-form textarea:-ms-input-placeholder {
  color: var(--theme-palette-color-4);
}
.apcv-contact-form input::-ms-input-placeholder,
.apcv-contact-form textarea::-ms-input-placeholder {
  color: var(--theme-palette-color-4);
}

.apcv-contact-form-container {
  padding: 2.4rem 4rem;
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
@media (max-width: 575.98px) {
  .apcv-contact-form-container {
    padding: 2rem;
  }
}
.apcv-contact-form input,
.apcv-contact-form textarea {
  display: block;
  width: 100%;
  margin-bottom: 1.2rem;
  background-color: rgba(255, 255, 255, 0.7);
  padding: 2rem 1.6rem;
  border: none;
  color: var(--theme-palette-color-4);
  font-size: 1.6rem;
  font-weight: 300;
  line-height: 1.25;
  border-radius: 0;
  transition: all 0.3s ease-in-out;
}
.apcv-contact-form input:focus, .apcv-contact-form textarea:focus {
  background-color: rgba(255, 255, 255, 0.7);
}

.apcv-contact-submit {
  width: 100%;
  margin-top: 1.2rem;
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 1.25;
  color: var(--theme-palette-color-8);
  text-align: center;
  padding: 1.8rem 1.6rem;
  background-color: var(--theme-palette-color-1);
  transition: all 0.3s linear;
  border: none;
  cursor: pointer;
}
.apcv-contact-submit:hover {
  color: var(--theme-palette-color-1);
  background-color: var(--theme-palette-color-4);
}
.apcv-error {
  display: none;
  font-size: 1.3rem;
  letter-spacing: -0.1rem;
  margin-top: 0.4rem;
  color: #dc3232;
  font-weight: 400;
}
.apcv-form-response {
  display: none;
  margin-top: 1.2rem;
  padding: 1.2rem;
  font-size: 1.4rem;
  text-align: center;
}
.apcv-form-response.error {
  background-color: #ffeb3b;
  color: #000;
}
.apcv-form-response.success {
  background-color: #4caf50;
  color: var(--theme-palette-color-8);
}
/*contact form ]]]*/

/* Service Single - Header Image */
.apcv-service-header {
  position: relative;
  text-align: center;
}

.apcv-service-header img {
  max-height: 56rem;
}

.apcv-service-header .desktop-banner {
  display: none;
}

.apcv-service-header .mobile-banner {
  display: block;
  max-height: 100%;  
}

@media (min-width: 768px) {
  .apcv-service-header .desktop-banner {
    display: block;
  }
  .apcv-service-header .mobile-banner {
    display: none;
  }
}

.apcv-service-details .service-detail-separator {
  width: 100%;
  text-align: center;
}

.apcv-service-details .service-detail-separator img {
  height: 50px;
  margin: 30px 0;
  object-fit: contain;
  display: inline-block;
}

/* ============= SERVICE ARCHIVE ============= */

.apcv-service-archive {
  margin: 4rem 0;
}

.service-item {
  display: flex;
  position: relative;
  gap: 5.6rem;
  padding-bottom: 7.5rem;
  flex-wrap: nowrap;
  align-items: center !important;
}

.service-item--reverse {
  flex-direction: row-reverse;
}

.service-content {
  flex: 1;
}

.service-content h2.service-title {
    font-weight: 400;
    font-size: 3.2rem;
    line-height: 1.22;
    margin-bottom: 2.4rem;
    text-transform: uppercase;
}
.service-item--banner .service-content h2.service-title {
  font-size: 6.4rem;
}
.service-content h2, .service-content h6 {
  color: var(--theme-palette-color-4);
}

.service-content h6 {
  font-weight: 500;
  font-size: 1.6rem;
  line-height: 1.6;
  padding-bottom: 1.6rem;  
  margin-bottom: 0;
}

.service-content ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.service-content ul li {
  padding-left: 3.2rem;
  margin-bottom: 1.8rem;
  position: relative;
}
.service-content ul li::before {
  content: "";
  position: absolute;
  top: 0.1rem;
  left: 0.5rem;
  width: 2.27rem;
  height: 2.27rem;
  background-image: url(../images/site-icon-1.png);
  background-repeat: no-repeat;
  background-size: contain;
}

.apcv-service-archive .service-item:nth-of-type(3n + 1)::before {
    content: "";
    position: absolute;
    top: -1.4rem;
    left: calc(50% - 50vw);
    width: 9rem;
    height: 10rem;
    background-image: url(../images/site-icon-1.png);
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.2;
}
.apcv-logo-bg::before {
    content: "";
    position: absolute;
    top: 15rem;
    left: 0;
    width: 10rem;
    height: 13rem;
    background-image: url(../images/site-icon-1.png);
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.2;
}
.apcv-logo-bg.show-on-right::before {
  right: -1rem;
  left: unset;
  transform: scaleX(-1);
}
@media (max-width: 575.98px) {
  .apcv-logo-bg::before {
    top: 41rem;
  }
}

.service-media {
  width: 61.3rem;
}

@media (max-width: 991.98px) {
  .service-media {
    width: 42rem;
  }
  .service-item {
    gap: 4rem;
  }
}

.service-media img,
.service-media video,
.service-media iframe {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.service-media video, .service-media iframe {
  min-height: 40rem;
  object-fit: cover;
}

.apcv-service-gallery img {
  width: 100%;
  display: block;
  aspect-ratio: 1 / 1.175;
}

/* = CTA button in service archive */
.service-content .apcv-btn {
  margin-top: 4rem;
  padding: 1.1rem 3.4rem 1.1rem 1.2rem;
  color: #FCFBF8;
  display: inline-block;
  background-color: var(--theme-palette-color-1);
  border: none;
  border-radius: 0;
  position: relative;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  text-decoration: none;
  font-size: 1.4rem;
  line-height: 1.29;
  font-weight: 400;
}
.service-content .apcv-btn::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 1.2rem;
    width: 1.2rem;
    height: 1.2rem;
    -webkit-transform: translateY(-50%) rotate(-90deg);
    transform: translateY(-50%) rotate(-90deg);
    background-image: url(../images/down-arrow.svg);
    background-size: 100%;
    -webkit-filter: brightness(0) invert(1);
    filter: brightness(0) invert(1);
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.service-content .apcv-btn:hover {
  background-color: var(--theme-palette-color-4);
  color: var(--theme-palette-color-8);
}
/* ============= SERVICE ITEM BANNER (every 3rd) ============= */

.service-item--banner {
  padding-top: 24rem;
  margin-bottom: 10rem;
  position: relative;
  overflow: hidden;
  /* breakout from Elementor container */
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.service-item--banner .service-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 87.7rem;
  margin: auto;
}

.service-item--banner .service-title {
  font-size: 6.4rem;
  color: var(--theme-palette-color-8);
}

.service-item--banner .service-description p {
  font-size: 1.8rem;
  color: var(--theme-palette-color-8);
}

.service-description p {
  padding-bottom: 2.4rem;
}

.service-item--banner .service-cta {
  text-align: center;
}

.service-item--banner .service-media {
  position: absolute;
  top: 0;
  left: calc(50% - 50vw);
  width: 100vw;
  height: 100%;
  background-color: #000000;
  overflow: hidden;
  z-index: 0;
}

.service-item--banner img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  vertical-align: middle;
  object-position: center center;
}

.service-item--banner .service-media img,
.service-item--banner .service-media video,
.service-item--banner .service-media iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
}

.service-item--banner .service-media iframe {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.service-item--banner .apcv-service-gallery,
.service-item--banner .slick-list,
.service-item--banner .slick-track,
.service-item--banner .slick-slide {
  height: 100%;
}

.service-item--banner .slick-slide {
  display: flex !important;
  align-items: center;
  justify-content: center;
}

/* Mobile layout: media first, then content */
@media (max-width: 768px) {
  .service-item {
    display: flex;
    flex-direction: column;
  }

  .service-item .service-media {
    order: 1;
    width: 100%;
  }

  .service-item .service-content {
    order: 2;
  }

  .service-item--banner {
    padding-top: 7.5rem;
    margin-bottom: 7.5rem;
  }
  .service-item--banner h2 {
    font-size: 6.4rem;
  }
  .service-content h6 {
    font-size: 1.75rem;
  }
  .service-content ul {
    font-size: 1.75rem;
  }
  .service-media img {
    aspect-ratio: auto;
    max-height: 60rem;
  }
}

/* === Services Carousel === */
.apcv-services-carousel {
  position: relative;
  padding: 4rem 0;
}

.apcv-services-slider {
  display: flex;
  align-items: stretch;
}

.apcv-service-item {
  padding: 0 1rem;
}
@media (max-width: 575.98px) {
  .apcv-service-item {
    padding: 0;
  }
}

.apcv-service-card {
  overflow: hidden;
  position: relative;
  text-align: center;
}

.apcv-service-image {
  overflow: hidden;
  position: relative;
}


.apcv-service-item.is-left .apcv-service-image {
  border-bottom-left-radius: 30rem;
}

.apcv-service-item.is-center .apcv-service-image {
  border-radius: 30rem 30rem 0 0;
}

.apcv-service-item.is-right .apcv-service-image {
  border-top-right-radius: 30rem;
}
.apcv-services-carousel.style_round_up .apcv-service-item.is-left .apcv-service-image,
.apcv-services-carousel.style_round_up .apcv-service-item.is-right .apcv-service-image {
  border-radius: 30rem 30rem 0 0;
}
.apcv-services-carousel.style_round_none .apcv-service-item .apcv-service-image,
.apcv-services-carousel.style_round_none .apcv-service-item.is-left .apcv-service-image,
.apcv-services-carousel.style_round_none .apcv-service-item.is-right .apcv-service-image {
  border-radius: 0 0 0 0;
}


.apcv-service-image img {
  width: 100%;
  aspect-ratio: 1/1.211;
  object-fit: cover;
  transition: transform 0.4s linear;
}

.apcv-service-card:hover img {
  transform: scale(1.1);
}
.apcv-services-carousel.hover_zoom_disabled .apcv-service-card:hover img  {
  transform: none;
}

.apcv-txt-over-service {
  position: absolute;
  bottom: 10px;
  width: 100%;
  text-align: center;
  z-index: 2;
}
.apcv-service-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
}

.apcv-service-info {
  margin-top: 1.5rem;
}

.apcv-service-title {
  display: inline-block;
  font-size: 1.6rem;
  text-decoration: none;
  color: var(--theme-palette-color-4, #333);
  border-bottom: 1px solid var(--theme-palette-color-1);
  padding: 2.4rem 0 0.4rem;
  font-weight: 500;
}
.apcv-service-title h5 {
  margin-bottom: 0;
}

/* slick arrows */
.apcv-services-slider .slick-prev,
.apcv-services-slider .slick-next {
  top: calc(50% - 2.4rem);
  width: 4.4rem;
  height: 4.4rem;
  border: none;
  z-index: 1;
}

.apcv-services-slider .slick-prev, .apcv-services-slider .slick-prev:hover, .apcv-services-slider .slick-prev:focus, 
.apcv-services-slider .slick-next, .apcv-services-slider .slick-next:hover, .apcv-services-slider .slick-next:focus {
  background-color: var(--theme-palette-color-1);
}

.apcv-services-slider .slick-next {
  right: -1.2rem;
}

.apcv-services-slider .slick-prev {
  left: -1.2rem;
}

.apcv-services-slider .slick-prev::before,
.apcv-services-slider .slick-next::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2.4rem;
  height: 2.4rem;
  background-image: url(../images/arrow.svg);
  background-repeat: no-repeat;
  background-size: contain;
  transform: translate(-50%, -50%);
  filter: invert(1);
}
.apcv-feat-service-title h5, .apcv-feat-service-title h5 {
  color: var(--theme-palette-color-4);
}

.author h1 {
  font-weight: 400;
  font-size: 4rem;
  line-height:1.3;
  font-family: "ephesis";
  color: var(--theme-palette-color-4);
  margin-block-end: 0 !important;
}

.author {
  padding-top: 3.2rem; 
}

.apcv-full-image img {
    max-width: 100vw;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    max-height: 58rem;  
}

.apcv-about-content h3 {
  text-transform: uppercase;
  padding-top: 3.2rem;
}
.apcv-about-content h3:first-of-type {
  padding-top: 0;
}
.apcv-about-wrapper p {
  padding-top: 2.6rem;
}
.apcv-about-wrapper p:first-of-type {
  padding-top: 0;
}

/* Hero video iframes: cover behavior using container queries */
.apcv-hero-bg--youtube iframe,
.apcv-hero-bg--vimeo iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    max-width: none !important;
    max-height: none !important;
}

/* 16:9 landscape video — cover behavior */
@container hero-landscape (max-aspect-ratio: 16/9) {
    iframe {
        height: 100cqh;
        width: calc(100cqh * 16 / 9);
    }
}
@container hero-landscape (min-aspect-ratio: 16/9) {
    iframe {
        width: 100cqw;
        height: calc(100cqw * 9 / 16);
    }
}

/* 9:16 portrait video (YouTube Shorts) — cover behavior */
@container hero-portrait (max-aspect-ratio: 9/16) {
    iframe {
        height: 100cqh;
        width: calc(100cqh * 9 / 16);
    }
}
@container hero-portrait (min-aspect-ratio: 9/16) {
    iframe {
        width: 100cqw;
        height: calc(100cqw * 16 / 9);
    }
}

.apcv-mw-81rem {
  max-width: 81rem !important;
  margin: 0 auto !important;
}
.apcv-contact-section p {
  color: var(--theme-palette-color-8);
  font-size: 1.8rem;
  line-height: 1.5;
}
.apcv-contact-info-item {
  display: flex;
  align-items: flex-start !important;
  gap: 10px;
}

.apcv-contact-info-item__icon {
  display: block;
  width: auto;
  height: auto;
  object-fit: contain;
  margin-top: 2px;
}

.apcv-contact-info-item__text, a.apcv-contact-info-item-link {
  line-height: 1.5;
  color: #fff;
  font-size: 14px;
}
.apcv-le-font h1 {
  font-family: ct_font_l_e;
}

/*mobile nav buttons*/
.apcv-bottom-nav-container {
  display: none;
}
@media (max-width: 991px) {
  .apcv-bottom-nav-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    gap: 1px;
    z-index: 9999;
  }

  .apcv-bottom-btn {
    width: 50%;
    background-color: var(--theme-palette-color-4);
    color: var(--theme-palette-color-1);
    text-align: center;
    font-size: 16px;
    font-weight: 400;
    padding: 18px 0 calc(18px + env(safe-area-inset-bottom, 0px));
    font-family: ct_font_l_e;
  }
}
.apcv-location-panel {
  position: fixed;
  top: 0;
  left: -100%;
  width: 80%;
  max-width: 40rem;
  height: 100vh;
  background-color: var(--theme-palette-color-4);
  padding: 4rem 3rem;
  transition: left 0.4s ease;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  color: var(--theme-palette-color-1);
}

.apcv-location-panel.active {
  left: 0;
}

.apcv-loc-panel-header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 2rem;
  padding-bottom: 4rem;
}

.apcv-loc-panel-header img {
  width: 3rem;
  height: auto;
  cursor: pointer;
}

.apcv-close-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  margin-right: auto;
}
img.apcv-close-panel-img {
  width: 1.75rem;
  height: auto;
}

.apcv-loc-title, .apcv-loc-list li {
  margin-bottom: 2.4rem !important;
}

.apcv-loc-title {
  font-weight: 400;
  font-size: 2rem;
  line-height: 1.25;
  margin-bottom: 2rem;
  color: var(--theme-palette-color-1);
  padding: 0;
  font-family: ct_font_l_e;
}

.apcv-loc-list {
  list-style: none;
  padding: 0;
}
.apcv-loc-list a {
  font: 300 1.5rem/1.29 ct_font_l_e;
  color: var(--theme-palette-color-8);
  text-transform: uppercase;
  display: inline-block;
}

.apcv-loc-list li {
  font-size: 1.6rem;
  color: var(--theme-palette-color-1);
  margin-bottom: 1rem;
  cursor: pointer;
}

.apcv-loc-list li:hover {
  text-decoration: underline;
}

/* hide it on desktop */
@media (min-width: 992px) {
  .apcv-location-panel {
    display: none;
  }
}

/* Search Panel */
.apcv-search-panel {
  position: fixed;
  left: 0;
  right: 0;
  bottom: -100%;
  background: #FCFBF8;
  z-index: 10000;
  padding: 7.6rem 2.9rem 4rem 2.9rem;
  transition: bottom .35s ease;
  display: none;
}
.apcv-search-panel-container {
  width: 100%;
}
.apcv-search-panel.active { bottom: 0; }

@media (max-width: 991px) {
  .apcv-search-panel { display: block; }
}

.apcv-search-handle {
    width: 7rem;
    height: 0.63rem;
    border-radius: 2rem;
    margin-top: 4rem;
    background: #000;
    transform: translateX(-50%);
    position: absolute;
    top: 0;
    left: 50%;
}

.apcv-mobile-search-select {
    font-size: 1.75rem;
    padding: 2.4rem 4.8rem 2.4rem 1.5rem;
    background-size: 2.5rem;
    background-position: calc(100% - 1.5rem) center;
    background-image: url(../images/sort-arrow.svg);
    border-radius: 0;
    background-repeat: no-repeat;
    text-transform: capitalize;
    border: 1px solid #6C757D;
    font-weight: 300;
    height: auto;
    background-color: #fff;
}
.apcv-mobile-search-select, .apcv-mobile-search-select option {
    color: #6C757D;
    font-size: 1.4rem;
    line-height: 1.29;      
}

.apcv-search-form .apcv-field { margin-bottom: 2.75rem; }

.apcv-search-submit {
    width: 100%;
    padding: 2.2rem 2rem;
    font-size: 2rem;
    background: var(--theme-palette-color-1);
    color: var(--theme-palette-color-8);
    border: none;
    text-align: center;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    font-weight: 300;
    font-family: ct_font_l_e;
}
.apcv-search-submit img {
  width: 2.4rem;
}
.apcv-recent-posts-list {
  margin-top: 30px;
}

.apcv-recent-posts-list-item {
  padding: 14px 0;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.apcv-recent-posts-list-title {
  margin: 0 0 6px 0;
}

.apcv-recent-posts-list-meta {
  opacity: 0.7;
  font-size: 0.9em;
}

.apcv-featured-blog-card {
  padding: 60px 0;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.apcv-featured-blog-inner {
  display: flex;
  align-items: center;
  gap: 60px;
}

.apcv-featured-blog-image {
  flex: 0 0 45%;
}

.apcv-featured-blog-image img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  width: 100%;
}

.apcv-featured-blog-content {
  flex: 1;
  text-align: center;
  padding: 0 100px;
}

.apcv-featured-blog-title {
  margin-bottom: 20px;
  line-height: 1.25em;
}

.apcv-featured-blog-excerpt {
  margin-bottom: 25px;
}

.apcv-featured-blog-button {
  display: inline-block;
  padding: 12px 24px;
  background: var( --e-global-color-primary );
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  line-height: 1rem;
}
.apcv-featured-blog-button:hover {
  color: #fff;
}
.apcv-recent-posts-pagination {
  text-align: center;
}
.apcv-post-name-carousel.apcv-featured-tag-name {
  border-bottom-width: 0;
  text-decoration: underline;
  line-height: 1.4em;
}

/* Responsive */
@media (max-width: 900px) {
  .apcv-featured-blog-inner {
    flex-direction: column;
  }
}

@media (max-width: 900px) {
  .apcv-featured-blog-content {
    padding: 0;
  }
}


/* === Gallery Lightbox === */

/* Trigger button — overlays the main image */
.villa-for-wrap {
  position: relative;
}
.apcv-gallery-lightbox-trigger {
  position: absolute;
  bottom: 16px;
  right: 16px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: none;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.35);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  color: #fff;
  cursor: pointer;
  -webkit-transition: background 0.2s;
  transition: background 0.2s;
}
.apcv-gallery-lightbox-trigger:hover {
  background: rgba(0, 0, 0, 0.55);
}
.apcv-gallery-lightbox-trigger img {
  width: 18px;
  height: 18px;
}
.apcv-gallery-lightbox-trigger span {
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1;
}

/* Lightbox overlay */
.apcv-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.apcv-lightbox.active {
  display: flex;
}
body.apcv-lightbox-open {
  overflow: hidden;
}
.apcv-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
}

/* Close button */
.apcv-lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 3;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.apcv-lightbox-close img {
  width: 20px;
  height: 20px;
}

/* Header: title + counter row */
.apcv-lightbox-header {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 90vw;
  max-width: 1200px;
  padding: 0 0 12px;
}
.apcv-lightbox-title h2 {
  color: #fff;
  font-size: 2.4rem;
  font-weight: 400;
  margin: 0;
  line-height: 1.3;
}
.apcv-lightbox-title p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.4rem;
  margin: 4px 0 0;
  line-height: 1.3;
}
.apcv-lightbox-counter {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Main carousel */
.apcv-lightbox-main {
  position: relative;
  z-index: 2;
  width: 90vw;
  max-width: 1200px;
}
.apcv-lightbox-slide {
  display: flex !important;
  align-items: center;
  justify-content: center;
  outline: none;
}
.apcv-lightbox-slide img {
  max-width: 90vw;
  max-height: 75vh;
  width: auto;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
  display: block;
}

/* Lightbox arrows */
.apcv-lb-arrow {
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  z-index: 4;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-transition: background 0.2s;
  transition: background 0.2s;
}
.apcv-lb-arrow:hover {
  background: rgba(255, 255, 255, 0.3);
}
.apcv-lb-arrow img {
  width: 16px;
  height: 16px;
  -webkit-filter: brightness(0) invert(1);
          filter: brightness(0) invert(1);
}
.apcv-lb-prev {
  left: -60px;
}
.apcv-lb-prev img {
  -webkit-transform: rotate(90deg);
          transform: rotate(90deg);
}
.apcv-lb-next {
  right: -60px;
}
.apcv-lb-next img {
  -webkit-transform: rotate(-90deg);
          transform: rotate(-90deg);
}

/* Thumbnail strip */
.apcv-lightbox-thumbs {
  position: absolute;
  bottom: 20px;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
  max-width: 90vw;
  overflow-x: auto;
  padding: 4px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.apcv-lightbox-thumbs::-webkit-scrollbar {
  display: none;
}
.apcv-lb-thumb {
  width: 60px;
  height: 45px;
  object-fit: cover;
  cursor: pointer;
  opacity: 0.5;
  border: 2px solid transparent;
  border-radius: 3px;
  -webkit-transition: opacity 0.2s, border-color 0.2s;
  transition: opacity 0.2s, border-color 0.2s;
  flex-shrink: 0;
}
.apcv-lb-thumb:hover {
  opacity: 0.8;
}
.apcv-lb-thumb.active {
  opacity: 1;
  border-color: #fff;
}

/* Responsive: mobile */
@media (max-width: 575.98px) {
  .apcv-lightbox-thumbs {
    display: none;
  }
  .apcv-lightbox-slide img {
    max-height: 80vh;
  }
  .apcv-lightbox-header {
    width: 100vw;
    padding: 0 16px 10px;
  }
  .apcv-lightbox-title h2 {
    font-size: 1.8rem;
  }
  .apcv-lb-prev {
    left: 8px;
  }
  .apcv-lb-next {
    right: 8px;
  }
  .apcv-lightbox-main {
    width: 100vw;
  }
  .apcv-lightbox-slide img {
    max-width: 100vw;
  }
}

/* Hide panels on desktop */
@media (min-width: 992px) {
  .apcv-search-panel,
  .apcv-location-panel {
    display: none;
  }
}

/* Display search panel on desktop when field is YES */
@media (min-width: 992px) {
    .apcv-search-panel.is-desktop-visible {
        display: block !important;
        padding: 4rem 0;
        transform: none;
        position: fixed;
        bottom: 0;
    }

    .apcv-search-panel.is-desktop-visible .apcv-search-handle {
        display: none;
    }

    .apcv-search-panel.is-desktop-visible .apcv-search-form {
        display: flex;
        align-items: center;
        gap: 2.2rem;
        flex-wrap: nowrap;
    }

    .apcv-search-panel.is-desktop-visible .apcv-search-submit {
        height: auto;
        padding: 1.6rem 2rem;
        border-radius: 0;
        max-width: 21.7rem;
    }
    .apcv-search-panel.is-desktop-visible .apcv-search-panel-container {
      max-width: 1290px;
      margin: 0 auto;
    }
    .apcv-search-panel.is-desktop-visible .apcv-field {
      margin-bottom: 0;
      flex: 1;
    }
    .apcv-search-panel.is-desktop-visible  .apcv-mobile-search-select {
      padding: 1.9rem 4.8rem 1.9rem 2.4rem;
      background-size: 2rem;
      width: auto;
      max-width: 25rem;
    }

    body.apcv-has-search-bar {
      padding-bottom: 14rem;
    }
}

/* ===== Property FAQ Accordion ===== */
.apcv-property-faq {
  max-width: 100%;
}
.apcv-faq-heading {
  margin-bottom: 30px;
}
.apcv-faq-item {
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  overflow: hidden;
}
.apcv-faq-item:not(:last-child) {
  margin-bottom: 8px;
}
.apcv-faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 16px 20px;
  border: none;
  background-color: #f6f7f7;
  cursor: pointer;
  text-align: left;
  font-size: inherit;
  font-family: inherit;
  line-height: 1.5;
  color: #1d2327;
  transition: background-color 0.2s ease;
}
.apcv-faq-question:hover {
  background-color: #edeef0;
}
.apcv-faq-question:focus {
  outline: 2px solid #2271b1;
  outline-offset: -2px;
}
.apcv-faq-question-text {
  flex: 1;
  padding-right: 16px;
  font-weight: 400;
  margin: 0;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}
.apcv-faq-icon {
  flex-shrink: 0;
  font-size: 1.4em;
  line-height: 1;
  font-weight: 300;
  width: 24px;
  text-align: center;
}
.apcv-faq-answer {
  padding: 16px 20px;
  background-color: #ffffff;
}
.apcv-faq-answer p {
  margin: 0;
  line-height: 1.7;
  color: #50575e;
}
@media (max-width: 767px) {
  .apcv-faq-question {
    padding: 14px 16px;
  }
  .apcv-faq-answer {
    padding: 14px 16px;
  }
  .apcv-faq-question-text {
    font-size: 0.95em;
  }
}
