/* Production UI corrections: article headers, search, detail pages and catalog cards. */

/* Article content images must never resize the shared header logo. */
.theme-blog-single-page .nav-fixed-modern .logo-img,
.theme-guide-single-page .nav-fixed-modern .logo-img {
  width: auto !important;
  max-width: 190px !important;
  height: 34px !important;
  border-radius: 0 !important;
  object-fit: contain !important;
}

/* Homepage search remains actionable when users leave filters at Any. */
.sh-home .search-modern-form .field.go button {
  cursor: pointer;
}

/* Property summary metadata. */
.theme-property-single-page .property-summary-meta {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center !important;
  gap: 12px 26px;
}

.theme-property-single-page .property-summary-meta li {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px;
  margin: 0 !important;
  color: var(--muted) !important;
  line-height: 1.35;
}

.theme-property-single-page .property-summary-meta li:first-child {
  margin-right: 4px !important;
}

.theme-property-single-page .property-summary-meta li p {
  margin: 0 !important;
}

.theme-property-single-page .property-meta-icon {
  width: 18px !important;
  height: 18px !important;
  flex: 0 0 18px;
  fill: none !important;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Property media and enquiry panel form one deliberate sidebar stack. */
.theme-property-single-page .sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.theme-property-single-page .sidebar > .single-post-image {
  margin-bottom: 0 !important;
}

.theme-property-single-page .sidebar .s-image_height {
  width: 100% !important;
  aspect-ratio: 4 / 3;
  height: auto !important;
  object-fit: cover;
}

.theme-property-single-page .property-contact-panel {
  margin-top: 0 !important;
  padding: 28px !important;
}

.theme-property-single-page .property-contact-panel .sidebar-title h4 {
  margin: 0 0 22px !important;
  color: var(--ink) !important;
  font-family: var(--serif) !important;
  font-size: clamp(1.65rem, 2.2vw, 2.25rem) !important;
  font-weight: 400 !important;
  letter-spacing: .02em !important;
}

.theme-property-single-page .sh-contact-actions {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.theme-property-single-page .sh-contact-actions a {
  min-width: 0;
  gap: 6px;
  padding: 11px 6px !important;
  overflow: hidden;
  font-size: 10px !important;
  letter-spacing: .1em !important;
  white-space: nowrap;
}

.theme-property-single-page .sh-contact-actions svg {
  flex: 0 0 13px !important;
  width: 13px !important;
  height: 13px !important;
}

/* Owl's default text glyphs are replaced with stable CSS chevrons. */
.theme-property-single-page .owl-nav button.owl-prev,
.theme-property-single-page .owl-nav button.owl-next {
  width: 46px !important;
  height: 46px !important;
  display: grid !important;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .35) !important;
  border-radius: 50% !important;
  color: transparent !important;
  background: rgba(12, 10, 7, .48) !important;
  backdrop-filter: blur(6px);
}

.theme-property-single-page .owl-nav button.owl-prev::after,
.theme-property-single-page .owl-nav button.owl-next::after {
  width: 10px;
  height: 10px;
  content: "";
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
}

.theme-property-single-page .owl-nav button.owl-prev::after {
  transform: rotate(-135deg) translate(-1px, 1px);
}

.theme-property-single-page .owl-nav button.owl-next::after {
  transform: rotate(45deg) translate(-1px, 1px);
}

.theme-property-single-page .owl-nav button span {
  display: none !important;
}

/* Off-plan and offer cards keep media and content in one equal-height card. */
.theme-offplan-page .offplan-card-grid {
  align-items: stretch;
  margin-top: 0 !important;
}

.theme-offplan-page .offplan-card-shell {
  display: flex;
  flex-direction: column;
}

.theme-offplan-page .offplan-card-shell > a {
  flex: 0 0 auto;
}

.theme-offplan-page .box16 img {
  width: 100% !important;
  aspect-ratio: 16 / 9;
  height: auto !important;
  object-fit: cover;
}

.theme-offplan-page .offplan-card-details {
  flex: 1;
  min-height: 150px !important;
  padding: 26px 24px !important;
}

.theme-offplan-page .offplan-card-details > .row {
  height: 100%;
  align-items: center;
}

.theme-offplan-page .offplan-card-details h4 {
  margin-bottom: 18px !important;
  font-family: var(--serif) !important;
  font-size: 1.35rem !important;
  line-height: 1.25 !important;
}

.theme-offplan-page .offplan-card-details .user_position {
  margin: 0 !important;
  color: var(--muted) !important;
  font-size: 12px !important;
  letter-spacing: .16em !important;
  text-transform: uppercase;
}

.theme-offplan-page .offplan-developer-logo {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.theme-offplan-page .offplan-developer-logo img {
  width: 100% !important;
  max-width: 92px;
  max-height: 58px;
  margin: 0 !important;
  object-fit: contain;
}

/* About page uses explicit high-contrast values independent of inherited page text. */
.theme-about-page .group-companies-live {
  background: radial-gradient(circle at 50% 0%, #25272f 0%, #121318 54%, #08090b 100%) !important;
}

.theme-about-page .group-companies-live .group-head-modern p,
.theme-about-page .group-company-card .card-header-group p {
  color: rgba(255, 255, 255, .72) !important;
}

.theme-about-page .group-company-card .card-services-list li {
  color: rgba(255, 255, 255, .88) !important;
}

.theme-about-page .group-company-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, .065), rgba(255, 255, 255, .025)) !important;
  border-color: rgba(255, 255, 255, .14) !important;
}

/* The map should meet the footer without a blank page band. */
.theme-contact-page .w3l-contact-7 {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

.theme-contact-page .w3l-contact-7 > .container,
.theme-contact-page .map {
  margin-bottom: 0 !important;
}

.theme-contact-page .map {
  line-height: 0;
}

.theme-contact-page .map iframe {
  display: block;
  margin: 0;
  border-radius: 0 !important;
}

@media (max-width: 991px) {
  .theme-property-single-page .sidebar {
    margin-top: 10px;
  }
}

@media (max-width: 640px) {
  .theme-property-single-page .property-summary-meta {
    gap: 10px 18px;
  }

  .theme-property-single-page .property-contact-panel {
    padding: 22px !important;
  }

  .theme-property-single-page .sh-contact-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .theme-property-single-page .sh-contact-actions a {
    gap: 4px;
    padding-inline: 4px !important;
    font-size: 9px !important;
    letter-spacing: .04em !important;
  }

  .theme-property-single-page .sh-contact-actions svg {
    flex-basis: 12px !important;
    width: 12px !important;
    height: 12px !important;
  }

  .theme-offplan-page .offplan-card-details {
    min-height: 132px !important;
    padding: 22px 20px !important;
  }
}
