/* ============================================================
   MODERN PROPERTIES LISTING PAGE
   ============================================================ */
.listing-page-modern {
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background-color: var(--bg);
  background-image: var(--pattern);
  font-family: var(--sans) !important;
}

.listing-page-modern .w3l-about-breadcrumb {
  display: none;
}

.listing-page-modern .w3l-cover-3 {
  padding: 106px 0 28px !important;
  background: transparent !important;
}

.listing-page-modern .w3l-cover-3 .section-width {
  width: 100%;
}

.listing-page-modern .w3l-cover-3 .searchbox {
  margin: 0 !important;
  padding: 18px 22px 28px !important;
  border: 1px solid rgba(33, 28, 18, .07);
  background: rgba(255, 255, 255, .92) !important;
  box-shadow: 0 26px 70px -54px rgba(33, 28, 18, .54) !important;
}

.listing-page-modern .w3l-cover-3 .nav-pills {
  gap: 6px;
  margin-bottom: 16px !important;
}

.listing-page-modern .w3l-cover-3 .nav-pills .nav-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 10px 16px !important;
  border: 1px solid transparent;
  border-radius: 4px !important;
  color: var(--flame) !important;
  background: transparent !important;
  font-family: var(--sans) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
}

.listing-page-modern .w3l-cover-3 .nav-pills .nav-link.active {
  color: #fff !important;
  border-color: transparent;
  background: linear-gradient(105deg, var(--flame), #f59a2e) !important;
}

.listing-page-modern .w3l-cover-3 #showMoreOptions,
.listing-page-modern .w3l-cover-3 #showMoreOptions2 {
  display: inline-flex;
  float: none !important;
  margin: 9px 0 0 auto !important;
  text-decoration: none;
}

.listing-page-modern .w3l-cover-3 .tab-pane > div:last-child {
  text-align: right;
}

.listing-results-modern {
  position: relative;
  padding-bottom: 96px;
}

.listing-results-head {
  padding: 18px 0 42px;
}

.listing-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.listing-breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}

.listing-breadcrumbs a:hover {
  color: var(--flame);
}

.listing-breadcrumbs svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.listing-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.listing-title-row .eyebrow {
  margin-bottom: 14px;
}

.listing-title-row h1 {
  max-width: 850px;
  margin: 0;
  font-family: var(--serif) !important;
  font-size: clamp(2.25rem, 4vw, 3.6rem) !important;
  font-weight: 400 !important;
  line-height: 1.08;
  color: var(--ink);
}

.listing-count {
  flex: 0 0 auto;
  min-width: 132px;
  margin: 0;
  padding-left: 20px;
  border-left: 1px solid var(--line-soft);
}

.listing-count strong,
.listing-count span {
  display: block;
}

.listing-count strong {
  font-family: var(--serif) !important;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1;
  color: var(--flame);
}

.listing-count span {
  margin-top: 7px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.property-results-section {
  padding: 0;
}

.property-results-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px 24px;
  align-items: stretch;
}

.property-result-card {
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(33, 28, 18, .09);
  border-radius: 8px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 30px 72px -56px rgba(33, 28, 18, .55);
  transition: transform .45s ease, border-color .45s ease, box-shadow .45s ease;
}

.property-result-card:hover {
  transform: translateY(-7px);
  border-color: rgba(235, 109, 18, .24);
  box-shadow: 0 38px 84px -54px rgba(33, 28, 18, .62);
}

.property-card-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10.5;
  overflow: hidden;
  color: #fff;
  background: #ded8cb;
}

.property-card-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 46%;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(8, 7, 5, .72));
}

.property-card-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 1s cubic-bezier(.22, 1, .36, 1), filter .5s ease;
}

.property-result-card:hover .property-card-media img {
  transform: scale(1.045);
  filter: saturate(1.05) contrast(1.03);
}

.property-card-badges {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.property-card-badges > span {
  max-width: 58%;
  overflow: hidden;
  padding: 7px 10px 6px;
  border-radius: 3px;
  color: #fff;
  background: rgba(12, 10, 7, .68);
  backdrop-filter: blur(8px);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .12em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.property-card-badges > span:first-child {
  background: linear-gradient(105deg, var(--flame), #f59a2e);
}

.property-card-price {
  position: absolute;
  z-index: 2;
  left: 20px;
  bottom: 17px;
  font-family: var(--serif) !important;
  font-size: 1.55rem;
  line-height: 1;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .45);
}

.property-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 22px 20px 18px;
}

.property-card-body h2 {
  min-height: 56px;
  margin: 0 0 10px !important;
  font-family: var(--serif) !important;
  font-size: 1.42rem !important;
  font-weight: 400 !important;
  line-height: 1.25;
}

.property-card-body h2 a {
  color: var(--ink);
  text-decoration: none !important;
}

.property-card-status {
  width: fit-content;
  margin: 0 0 13px;
  padding: 5px 8px;
  border-radius: 3px;
  color: var(--flame);
  background: rgba(235, 109, 18, .09);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.property-card-location {
  min-height: 45px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.property-card-location svg,
.property-card-specs svg,
.property-card-actions svg,
.property-empty-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.property-card-location svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  margin-top: 2px;
  color: var(--flame);
}

.property-card-specs {
  min-height: 42px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin: 0;
  padding: 15px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  list-style: none;
}

.property-card-specs li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.property-card-specs svg {
  width: 16px;
  height: 16px;
  color: var(--gold);
}

.property-card-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: auto;
  padding-top: 18px;
}

.property-card-actions a {
  min-width: 0;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 6px;
  border: 1px solid rgba(235, 109, 18, .25);
  border-radius: 4px;
  color: var(--flame);
  background: rgba(255, 255, 255, .8);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .08em;
  text-decoration: none !important;
  text-transform: uppercase;
  transition: color .3s ease, background .3s ease, border-color .3s ease;
}

.property-card-actions a:hover {
  border-color: transparent;
  color: #fff !important;
  background: linear-gradient(105deg, var(--flame), #f59a2e);
}

.property-card-actions svg {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
}

.property-card-actions a:last-child svg {
  fill: currentColor;
  stroke: none;
}

.property-empty-state {
  grid-column: 1 / -1;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 54px 28px;
  border: 1px solid rgba(33, 28, 18, .09);
  border-radius: 8px;
  text-align: center;
  background: rgba(255, 255, 255, .76);
  box-shadow: 0 30px 72px -60px rgba(33, 28, 18, .5);
}

.property-empty-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border: 1px solid rgba(235, 109, 18, .22);
  border-radius: 50%;
  color: var(--flame);
  background: rgba(235, 109, 18, .07);
}

.property-empty-icon svg {
  width: 25px;
  height: 25px;
}

.property-empty-state h2 {
  max-width: 620px;
  margin: 15px 0 10px !important;
  font-family: var(--serif) !important;
  font-size: clamp(1.65rem, 3vw, 2.45rem) !important;
  font-weight: 400 !important;
}

.property-empty-state p {
  max-width: 590px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.listing-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 48px;
}

.listing-pagination a,
.listing-pagination span {
  min-width: 40px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  color: var(--muted);
  background: rgba(255, 255, 255, .75);
  font-size: 12px;
  text-decoration: none;
}

.listing-pagination span,
.listing-pagination a:hover {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(105deg, var(--flame), #f59a2e);
}

@media (max-width: 900px) {
  .property-results-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .listing-page-modern .w3l-cover-3 {
    padding-top: 82px !important;
  }

  .listing-page-modern .w3l-cover-3 .searchbox {
    padding: 14px !important;
  }

  .listing-page-modern .w3l-cover-3 .nav-pills {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
  }

  .listing-page-modern .w3l-cover-3 .nav-pills .nav-link {
    width: 100%;
    min-width: 0;
    justify-content: center;
    padding: 9px 4px !important;
    font-size: 11px !important;
  }

  .listing-results-modern {
    padding-bottom: 72px;
  }

  .listing-results-head {
    padding: 12px 0 32px;
  }

  .listing-breadcrumbs {
    margin-bottom: 24px;
  }

  .listing-title-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .listing-title-row h1 {
    font-size: 2.35rem !important;
  }

  .listing-count {
    min-width: 0;
    padding-left: 0;
    border-left: 0;
  }

  .listing-count strong,
  .listing-count span {
    display: inline;
  }

  .listing-count span {
    margin: 0 0 0 8px;
  }

  .property-results-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .property-card-body {
    padding: 20px 18px 16px;
  }

  .property-empty-state {
    min-height: 270px;
    padding: 42px 20px;
  }
}

/* ============================================================
   MODERN PUBLIC INNER PAGES
   ============================================================ */
.theme-page-modern {
  background: var(--paper) !important;
  color: var(--ink) !important;
  font-family: var(--sans) !important;
  overflow-x: hidden;
}

.theme-page-modern::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .35;
  background:
    radial-gradient(circle at 18% 12%, rgba(235, 109, 18, .09), transparent 30%),
    radial-gradient(circle at 88% 26%, rgba(232, 178, 58, .08), transparent 28%),
    var(--pattern-bg);
}

.theme-page-modern .container {
  max-width: 1320px;
}

.theme-page-modern .w3l-about-breadcrumb {
  display: none !important;
}

.theme-page-modern .w3l-breadcrumb {
  padding: 126px 0 16px !important;
  background: transparent !important;
}

.theme-page-modern .breadcrumbs-custom-path {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.theme-page-modern .breadcrumbs-custom-path li {
  list-style: none;
}

.theme-page-modern .breadcrumbs-custom-path a,
.theme-page-modern .breadcrumbs-custom-path span {
  color: inherit !important;
  text-decoration: none;
}

.theme-page-modern .breadcrumbs-custom-path a:hover {
  color: var(--flame) !important;
}

.theme-page-modern .title-small,
.theme-page-modern .category,
.theme-page-modern .user_position,
.theme-page-modern .sidebar-title h4,
.theme-page-modern label {
  color: var(--gold) !important;
  font-family: var(--sans) !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  letter-spacing: .24em !important;
  text-transform: uppercase !important;
}

.theme-page-modern .title-big,
.theme-page-modern h1,
.theme-page-modern h2,
.theme-page-modern h3 {
  color: var(--ink) !important;
  font-family: var(--serif) !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
}

.theme-page-modern .title-big {
  font-size: clamp(2.4rem, 4.4vw, 4.8rem) !important;
  line-height: .98 !important;
}

.theme-page-modern p,
.theme-page-modern h5,
.theme-page-modern li {
  color: var(--muted) !important;
  font-family: var(--sans) !important;
  line-height: 1.75;
}

.theme-page-modern .btn-style,
.theme-page-modern .btn-primary,
.theme-page-modern button[type="submit"] {
  min-height: 46px;
  border: 0 !important;
  border-radius: 4px !important;
  color: #fff !important;
  background: linear-gradient(105deg, var(--flame), #f4bd43) !important;
  box-shadow: 0 18px 38px -26px rgba(235, 109, 18, .75);
  font-family: var(--sans) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  letter-spacing: .16em !important;
  text-transform: uppercase !important;
}

.theme-page-modern .page-pagination,
.theme-page-modern .pagination-wrapper ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.theme-page-modern .page-numbers {
  min-width: 42px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  color: var(--muted) !important;
  background: rgba(255, 255, 255, .78);
  font-size: 12px;
  text-decoration: none !important;
}

.theme-page-modern .page-numbers.current,
.theme-page-modern .page-numbers:hover {
  border-color: transparent;
  color: #fff !important;
  background: linear-gradient(105deg, var(--flame), #f4bd43);
}

.theme-page-modern .w3l-blogpost-content,
.theme-page-modern .locations-1,
.theme-page-modern .w3l-index3,
.theme-page-modern .w3l-contact-7,
.theme-page-modern .w3l-text-11 {
  padding: 52px 0 96px !important;
  background: transparent !important;
}

.theme-blog-page .w3l-blogpost-content .row.mt-md-5,
.theme-guide-page .w3l-blogpost-content .row.mt-md-5 {
  row-gap: 28px;
}

.theme-page-modern .grids5-info,
.theme-page-modern .locations-1 .listing-img,
.theme-page-modern .users_box,
.theme-page-modern .area-box,
.theme-page-modern .sidebar-widget,
.theme-page-modern .contact-form,
.theme-page-modern .map-content-9,
.theme-page-modern .top-map,
.theme-page-modern .blog-details,
.theme-page-modern .blog-list,
.theme-page-modern .comments,
.theme-page-modern .leave-comment-form {
  border: 1px solid rgba(33, 28, 18, .08) !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, .82) !important;
  box-shadow: 0 28px 74px -62px rgba(33, 28, 18, .55) !important;
}

.theme-page-modern .grids5-info {
  height: 100%;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.theme-page-modern .grids5-info .zoom {
  overflow: hidden;
}

.theme-page-modern .grids5-info img,
.theme-page-modern .box16 img,
.theme-page-modern .news-image {
  width: 100% !important;
  height: 260px !important;
  object-fit: cover !important;
  border-radius: 8px 8px 0 0 !important;
  transition: transform .45s ease;
}

.theme-page-modern .grids5-info:hover img,
.theme-page-modern .box16:hover img {
  transform: scale(1.035);
}

.theme-page-modern .blog-info,
.theme-page-modern .listing-details,
.theme-page-modern .users_box_info {
  padding: 24px 24px 26px !important;
}

.theme-page-modern .blog-info h4,
.theme-page-modern .user_title,
.theme-page-modern .listing-details h4 {
  margin: 10px 0 0 !important;
  color: var(--ink) !important;
  font-family: var(--serif) !important;
  font-size: clamp(1.5rem, 2vw, 2rem) !important;
  line-height: 1.12 !important;
  font-weight: 400 !important;
}

.theme-page-modern .blog-info h4 a,
.theme-page-modern .user_title a,
.theme-page-modern .listing-details h4 a {
  color: inherit !important;
  text-decoration: none !important;
}

.theme-page-modern .blog-info h4 a:hover,
.theme-page-modern .user_title a:hover,
.theme-page-modern .listing-details h4 a:hover {
  color: var(--flame) !important;
}

.theme-page-modern .posted-date {
  position: absolute !important;
  top: 18px !important;
  left: 18px !important;
  z-index: 3;
}

.theme-page-modern .posted-date a {
  width: 78px;
  min-height: 86px;
  display: grid !important;
  place-items: center;
  padding: 9px 8px;
  border-top: 3px solid var(--flame);
  border-radius: 5px;
  color: var(--ink) !important;
  background: rgba(255, 255, 255, .94) !important;
  box-shadow: 0 18px 44px -30px rgba(33, 28, 18, .55);
  text-align: center;
  text-decoration: none !important;
}

.theme-page-modern .posted-date .big {
  color: var(--ink);
  font-family: var(--sans);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
}

.theme-page-modern .posted-date .small {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .06em;
}

.theme-page-modern .sidebar {
  position: sticky;
  top: 112px;
}

.theme-page-modern .sidebar-widget {
  margin-bottom: 22px;
  padding: 26px !important;
}

.theme-page-modern .blog-cat {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.theme-page-modern .blog-cat li + li {
  border-top: 1px solid var(--line-soft);
}

.theme-page-modern .blog-cat a {
  display: flex;
  padding: 13px 0;
  color: var(--ink) !important;
  text-decoration: none !important;
}

.theme-page-modern .blog-cat a:hover {
  color: var(--flame) !important;
}

.theme-page-modern input,
.theme-page-modern textarea,
.theme-page-modern select,
.theme-page-modern .custom-dropdown select {
  width: 100%;
  min-height: 48px !important;
  padding: 12px 14px !important;
  border: 1px solid rgba(33, 28, 18, .2) !important;
  border-radius: 4px !important;
  color: var(--ink) !important;
  background: rgba(255, 255, 255, .9) !important;
  font-family: var(--sans) !important;
  font-size: 14px !important;
  box-shadow: none !important;
}

.theme-page-modern textarea {
  min-height: 138px !important;
  resize: vertical;
}

.theme-page-modern input:focus,
.theme-page-modern textarea:focus,
.theme-page-modern select:focus {
  border-color: var(--flame) !important;
  outline: none !important;
}

.theme-page-modern .contact-form {
  padding: clamp(24px, 4vw, 54px) !important;
}

.theme-page-modern .contact-form h5,
.theme-page-modern .cont-details h1,
.theme-page-modern .cont-details h5 {
  color: var(--ink) !important;
  font-family: var(--serif) !important;
  font-size: clamp(2rem, 3.4vw, 3.8rem) !important;
  line-height: 1.03 !important;
  font-weight: 400 !important;
}

.theme-page-modern .cont-details {
  color: var(--ink) !important;
}

.theme-page-modern .cont-details address,
.theme-page-modern .cont-details p {
  color: var(--muted) !important;
  font-style: normal;
}

.theme-page-modern .cont-details a {
  color: var(--ink) !important;
}

.theme-page-modern .map iframe {
  width: 100% !important;
  min-height: 360px;
  border-radius: 8px;
  filter: saturate(.85) contrast(.95);
}

.theme-offplan-page .locations-1 .row,
.theme-luxury-page .locations-1 .row {
  row-gap: 28px;
}

.theme-offplan-page .locations-1 .catalog-empty-state,
.theme-luxury-page .locations-1 .catalog-empty-state {
  flex: 0 0 calc(100% - 30px);
  width: calc(100% - 30px);
  max-width: none;
  margin: 28px 15px 0;
}

.theme-page-modern .catalog-empty-state .eyebrow {
  color: #a97708;
  font-family: var(--sans) !important;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
}

/* Homepage reveal animations are not initialized on standalone inner pages. */
.theme-about-page .fc-management-section .rev-modern,
.theme-about-page .group-companies-live .rev-modern {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  filter: none !important;
}

.theme-offplan-page .locations-1 .listing-img,
.theme-luxury-page .locations-1 .listing-img {
  padding: 0 15px !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.theme-offplan-page .locations-1 .listing-img > a,
.theme-luxury-page .locations-1 .listing-img > a,
.theme-offplan-page .listing-details,
.theme-luxury-page .listing-details {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(33, 28, 18, .08);
  background: rgba(255, 255, 255, .82);
}

.theme-offplan-page .locations-1 .listing-img > a,
.theme-luxury-page .locations-1 .listing-img > a {
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
}

.theme-offplan-page .listing-details,
.theme-luxury-page .listing-details {
  min-height: 132px !important;
  height: auto !important;
  border-top: 0 !important;
  border-radius: 0 0 8px 8px !important;
}

.theme-page-modern .box16 {
  overflow: hidden;
  border-radius: 8px 8px 0 0;
}

.theme-page-modern .box16::before,
.theme-page-modern .box16::after {
  display: none !important;
}

.theme-page-modern .box-content {
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .45)) !important;
}

.theme-page-modern .w3l-stats {
  background: #0d0c09 !important;
}

.theme-page-modern .w3l-stats .title-big,
.theme-page-modern .w3l-stats p,
.theme-page-modern .w3l-stats h3 {
  color: #fff !important;
}

.theme-page-modern .w3l-stats .counter,
.theme-page-modern .w3l-stats .plus {
  color: var(--gold) !important;
  font-family: var(--serif) !important;
}

.theme-page-modern .w3l-left-img2 {
  min-height: 560px;
  border-radius: 8px;
  background-size: cover !important;
  background-position: center !important;
  box-shadow: 0 34px 80px -58px rgba(33, 28, 18, .65);
}

.theme-page-modern .w3l-right-info {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 5vw, 70px) !important;
  border: 1px solid rgba(33, 28, 18, .08);
  border-radius: 8px;
  background: rgba(255, 255, 255, .78);
}

.theme-policy-page .w3l-text-11 .text11-content {
  max-width: 1040px;
  margin: 0 auto;
  padding: clamp(26px, 5vw, 64px);
  border: 1px solid rgba(33, 28, 18, .08);
  border-radius: 8px;
  background: rgba(255, 255, 255, .84);
  box-shadow: 0 30px 74px -64px rgba(33, 28, 18, .55);
}

.theme-page-modern .theme-page-intro {
  padding: 30px 0 26px;
}

.theme-page-modern .theme-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #a97708;
  font-family: var(--sans) !important;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.theme-page-modern .theme-eyebrow::before {
  width: 34px;
  height: 1px;
  content: "";
  background: var(--flame);
}

.theme-page-modern .theme-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .42fr);
  align-items: end;
  gap: clamp(28px, 6vw, 84px);
  margin-top: 18px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line-soft);
}

.theme-page-modern .theme-title-row h1 {
  max-width: 900px;
  margin: 0 !important;
  color: var(--ink) !important;
  font-family: var(--serif) !important;
  font-size: clamp(3rem, 5.8vw, 6rem) !important;
  font-weight: 400 !important;
  line-height: .94 !important;
  letter-spacing: 0 !important;
}

.theme-page-modern .theme-title-row p {
  max-width: 480px;
  margin: 0;
  color: var(--muted) !important;
  font-size: 15px;
  line-height: 1.75;
}

.theme-contact-page .w3l-contact-7 {
  margin-top: 0 !important;
  padding-top: 20px !important;
}

.theme-offplan-page .locations-1 .row,
.theme-luxury-page .locations-1 .row {
  margin-top: 0 !important;
}

/* Property registration / sell page */
.theme-sell-page .sell-modern {
  min-height: 100vh;
  color: var(--ink);
}

.theme-sell-page .sell-modern-intro {
  position: relative;
  isolation: isolate;
  padding: 142px 0 96px;
  background-image:
    linear-gradient(100deg, rgba(12, 10, 8, .88) 0%, rgba(16, 13, 10, .78) 43%, rgba(18, 16, 13, .58) 100%),
    image-set(
      url("../generated/register-dubai-desktop.avif") type("image/avif"),
      url("../generated/register-dubai-desktop.jpg") type("image/jpeg")
    );
  background-position: center;
  background-size: cover;
}

.theme-sell-page .sell-modern-intro::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(0, 0, 0, .15), transparent 24%, rgba(0, 0, 0, .22));
  pointer-events: none;
}

.theme-sell-page .sell-modern-grid {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(520px, 1.18fr);
  align-items: start;
  gap: clamp(42px, 7vw, 108px);
}

.theme-sell-page .sell-modern-copy {
  position: sticky;
  top: 126px;
  padding: 34px 0;
}

.theme-sell-page .sell-modern-copy h1 {
  max-width: 680px;
  margin: 24px 0 28px !important;
  color: #fff !important;
  font-family: var(--serif) !important;
  font-size: clamp(3.5rem, 5.6vw, 6.3rem) !important;
  font-weight: 400 !important;
  line-height: .94 !important;
  letter-spacing: 0 !important;
}

.theme-sell-page .sell-modern-lead {
  max-width: 580px;
  margin: 0;
  color: rgba(255, 255, 255, .74) !important;
  font-size: 16px;
  line-height: 1.8;
}

.theme-sell-page .sell-modern-process {
  margin-top: 50px;
  border-top: 1px solid rgba(255, 255, 255, .18);
}

.theme-sell-page .sell-process-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
}

.theme-sell-page .sell-process-item > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(242, 106, 15, .34);
  border-radius: 50%;
  color: var(--flame);
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 1px;
}

.theme-sell-page .sell-process-item h2 {
  margin: 0 0 6px !important;
  color: #fff !important;
  font-family: var(--serif) !important;
  font-size: 1.35rem !important;
  font-weight: 400 !important;
  line-height: 1.15 !important;
}

.theme-sell-page .sell-process-item p {
  margin: 0;
  color: rgba(255, 255, 255, .68) !important;
  font-size: 13px;
  line-height: 1.6;
}

.theme-sell-page .sell-modern-form-shell {
  overflow: hidden;
  border: 1px solid rgba(33, 28, 18, .11);
  border-radius: 8px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 38px 100px -68px rgba(33, 28, 18, .6);
}

.theme-sell-page .sell-form-heading {
  padding: clamp(28px, 4vw, 48px) clamp(24px, 4vw, 50px) 28px;
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(120deg, rgba(250, 247, 240, .95), rgba(255, 255, 255, .7));
}

.theme-sell-page .sell-form-heading > span {
  color: #a97708;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.theme-sell-page .sell-form-heading h2 {
  margin: 10px 0 8px !important;
  color: var(--ink) !important;
  font-family: var(--serif) !important;
  font-size: clamp(2.3rem, 3.5vw, 4rem) !important;
  font-weight: 400 !important;
  line-height: 1 !important;
}

.theme-sell-page .sell-form-heading p {
  margin: 0;
  color: var(--muted) !important;
  font-size: 13px;
}

.theme-sell-page .sell-modern-form {
  padding: clamp(26px, 4vw, 50px);
}

.theme-sell-page .sell-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 18px;
}

.theme-sell-page .sell-field-wide {
  grid-column: 1 / -1;
}

.theme-sell-page .sell-field label {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.theme-sell-page .sell-modern-form input:not([type="checkbox"]),
.theme-sell-page .sell-modern-form select,
.theme-sell-page .sell-modern-form textarea {
  width: 100%;
  min-height: 52px !important;
  margin: 0 !important;
  padding: 13px 15px !important;
  border: 1px solid rgba(33, 28, 18, .18) !important;
  border-radius: 3px !important;
  color: var(--ink) !important;
  background-color: #fff !important;
  font-family: var(--sans) !important;
  font-size: 14px !important;
}

.theme-sell-page .sell-modern-form textarea {
  min-height: 116px !important;
}

.theme-sell-page .sell-modern-form input:focus,
.theme-sell-page .sell-modern-form select:focus,
.theme-sell-page .sell-modern-form textarea:focus {
  border-color: var(--flame) !important;
  outline: 2px solid rgba(242, 106, 15, .08) !important;
  outline-offset: 0;
}

.theme-sell-page .sell-consent {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  gap: 11px;
  margin: 26px 0 20px;
  color: var(--muted);
  cursor: pointer;
  font-family: var(--sans);
  font-size: 11px;
  line-height: 1.65;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.theme-sell-page .sell-modern-form .sell-consent input[type="checkbox"] {
  display: block;
  width: 16px !important;
  min-width: 16px !important;
  height: 16px !important;
  min-height: 0 !important;
  margin: 2px 0 0 !important;
  padding: 0 !important;
  border: initial !important;
  border-radius: 2px !important;
  appearance: auto !important;
  -webkit-appearance: checkbox !important;
  accent-color: var(--flame);
}

.theme-sell-page .sell-consent span {
  color: var(--muted) !important;
  font-family: var(--sans) !important;
  font-size: 11px !important;
  font-weight: 400 !important;
  line-height: 1.65 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.theme-sell-page .sell-captcha {
  min-height: 78px;
  margin: 0 0 22px;
}

.theme-sell-page .sell-modern-form .iti {
  width: 100%;
}

.theme-sell-page .sell-modern-form input#phone {
  padding-left: 58px !important;
}

.theme-sell-page .sell-modern-form .iti__flag-container {
  left: 0;
  padding: 0;
}

.theme-sell-page .sell-modern-form .iti__selected-flag {
  min-width: 48px;
  padding: 0 10px !important;
  border-right: 1px solid rgba(33, 28, 18, .12);
  background: rgba(250, 247, 240, .85) !important;
}

.theme-sell-page .sell-modern-form .iti__country-list {
  z-index: 20;
  width: min(330px, calc(100vw - 80px));
  max-width: none;
  color: var(--ink);
  font-family: var(--sans);
  white-space: nowrap;
}

.theme-sell-page .sell-modern-form .iti__country {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 12px;
  white-space: nowrap;
}

.theme-sell-page .sell-modern-form .iti__country-name,
.theme-sell-page .sell-modern-form .iti__dial-code {
  white-space: nowrap;
}

.theme-sell-page .sell-submit {
  display: flex;
  width: 100%;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  border: 0;
  border-radius: 3px;
  color: #fff;
  background: linear-gradient(105deg, var(--flame), #f59a2e, var(--gold-lt));
  cursor: pointer;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  transition: filter .2s ease, transform .2s ease;
}

.theme-sell-page .sell-submit:hover {
  filter: brightness(.95) saturate(1.08);
  transform: translateY(-1px);
}

.theme-sell-page .sell-submit span {
  font-size: 18px;
}

@media (max-width: 991px) {
  .theme-page-modern .w3l-breadcrumb {
    padding-top: 96px !important;
  }

  .theme-page-modern .sidebar {
    position: static;
  }

  .theme-page-modern .map-content-9 {
    row-gap: 28px;
  }

  .theme-page-modern .contact-form {
    padding: 24px !important;
  }

  .theme-sell-page .sell-modern-intro {
    padding-top: 116px;
  }

  .theme-sell-page .sell-modern-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .theme-sell-page .sell-modern-copy {
    position: static;
    padding-bottom: 0;
  }

  .theme-sell-page .sell-modern-process {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    border-top: 0;
  }

  .theme-sell-page .sell-process-item {
    display: block;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 6px;
    background: rgba(16, 13, 10, .34);
  }

  .theme-sell-page .sell-process-item > span {
    margin-bottom: 18px;
  }
}

@media (max-width: 640px) {
  .theme-page-modern .container {
    width: min(100% - 32px, 1320px);
  }

  .theme-page-modern .w3l-breadcrumb {
    padding: 86px 0 8px !important;
  }

  .theme-page-modern .w3l-blogpost-content,
  .theme-page-modern .locations-1,
  .theme-page-modern .w3l-index3,
  .theme-page-modern .w3l-contact-7,
  .theme-page-modern .w3l-text-11 {
    padding: 32px 0 66px !important;
  }

  .theme-page-modern .title-big {
    font-size: 2.45rem !important;
  }

  .theme-page-modern .theme-page-intro {
    padding: 20px 0 12px;
  }

  .theme-page-modern .theme-title-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    padding-bottom: 22px;
  }

  .theme-page-modern .theme-title-row h1 {
    font-size: clamp(2.7rem, 13vw, 4rem) !important;
    line-height: .98 !important;
  }

  .theme-page-modern .theme-title-row p {
    font-size: 14px;
  }

  .theme-page-modern .grids5-info img,
  .theme-page-modern .box16 img,
  .theme-page-modern .news-image {
    height: 220px !important;
  }

  .theme-page-modern .blog-info,
  .theme-page-modern .listing-details,
  .theme-page-modern .users_box_info {
    padding: 20px !important;
  }

  .theme-page-modern .posted-date a {
    width: 66px;
    min-height: 76px;
  }

  .theme-page-modern .contact-form h5,
  .theme-page-modern .cont-details h1,
  .theme-page-modern .cont-details h5 {
    font-size: 2.3rem !important;
  }

  .theme-page-modern .w3l-left-img2 {
    min-height: 340px;
  }

  .theme-page-modern .w3l-right-info {
    margin-top: 18px;
    padding: 24px !important;
  }

  .theme-sell-page .sell-modern-intro {
    padding: 100px 0 62px;
    background-image:
      linear-gradient(180deg, rgba(12, 10, 8, .76), rgba(12, 10, 8, .66)),
      image-set(
        url("../generated/register-dubai-mobile.avif") type("image/avif"),
        url("../generated/register-dubai-mobile.jpg") type("image/jpeg")
      );
    background-position: center top;
  }

  .theme-sell-page .sell-modern-copy {
    padding-top: 18px;
  }

  .theme-sell-page .sell-modern-copy h1 {
    margin: 20px 0 22px !important;
    font-size: clamp(3rem, 14vw, 4.2rem) !important;
    line-height: .97 !important;
  }

  .theme-sell-page .sell-modern-lead {
    font-size: 14px;
  }

  .theme-sell-page .sell-modern-process {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 34px;
  }

  .theme-sell-page .sell-process-item {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .theme-sell-page .sell-modern-form-shell {
    border-radius: 6px;
  }

  .theme-sell-page .sell-form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .theme-sell-page .sell-field-wide {
    grid-column: auto;
  }

  .theme-sell-page .sell-captcha {
    max-width: 100%;
    overflow: hidden;
  }

  .theme-sell-page .sell-captcha > div {
    transform: scale(.86);
    transform-origin: left top;
  }
}
