/* Hamiyan Paydar UI audit — brand unification, empty-gap cleanup, card layouts. */
:root {
  --dn-gold: #007bff;
  --dn-gold-dark: #0056b3;
  --dn-charcoal: #131313;
  --dn-ivory: #e3edf8;
  --dn-muted: #69645D;
  --dn-line: rgba(0, 123, 255, 0.34);
}

/* Collapse leftover Zoho gray strips immediately above the black footer. */
.theme-content-area-inner > .zpsection:last-of-type:not(:has(h1, h2, h3, h4, form, iframe, .dn-request-page, .grid, .dn-v8-overview-stats, .theme-blog-container, .dn-en-awards)) {
  min-height: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.theme-content-area-inner > .zpsection:last-of-type .zpelem-spacer .zpspacer[data-height="71"],
.theme-content-area-inner > .zpsection:last-of-type .zpelem-spacer .zpspacer[data-height="80"],
.theme-content-area-inner > .zpsection:last-of-type .zpelem-spacer .zpspacer[data-height="100"] {
  height: 8px !important;
}

.dn-hide-empty { display: none !important; }

/* ---------- Sell ---------- */
.dn-request-page {
  min-height: auto !important;
  padding-bottom: 32px !important;
  overflow: visible !important;
  background: #e3edf8 !important;
}
.dn-request-page .dn-submit,
.dn-request-page button.dn-submit {
  background: var(--dn-gold) !important;
  border-color: var(--dn-gold) !important;
  color: var(--dn-charcoal) !important;
  box-shadow: 0 14px 28px rgba(0, 123, 255, 0.28) !important;
}
.dn-request-page .dn-submit:hover,
.dn-request-page button.dn-submit:hover {
  background: var(--dn-charcoal) !important;
  border-color: var(--dn-charcoal) !important;
  color: #fff !important;
}
.dn-trust-row {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px !important;
  margin-top: 28px !important;
}
.dn-trust-item {
  background: #fff !important;
  border: 1px solid var(--dn-line) !important;
  border-radius: 16px !important;
  padding: 18px 16px !important;
  box-shadow: 0 12px 28px rgba(23, 23, 23, 0.08) !important;
  min-width: 0 !important;
  align-items: center !important;
}
.dn-trust-icon {
  font-size: 28px !important;
  width: 52px !important;
  height: 52px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(0, 123, 255, 0.12) !important;
  border-radius: 16px !important;
  color: var(--dn-gold-dark) !important;
}
.dn-trust-title {
  font-size: 16px !important;
  font-weight: 800 !important;
  color: var(--dn-charcoal) !important;
  white-space: normal !important;
  overflow-wrap: break-word;
}
.dn-trust-text {
  font-size: 14px !important;
  color: var(--dn-muted) !important;
  white-space: normal !important;
}

.dn-audit-sell-hero {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  flex: 0 0 auto !important;
  grid-column: 1 / -1 !important;
  writing-mode: horizontal-tb !important;
  margin: 0 0 18px;
  padding: 4px 0 0;
  color: var(--color-text-primary, var(--dn-charcoal));
  box-sizing: border-box;
}
.dn-audit-sell-hero .dn-kicker {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dn-gold);
  font-weight: 700;
}
.dn-audit-sell-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--color-text-primary, var(--dn-charcoal)) !important;
  writing-mode: horizontal-tb !important;
  white-space: normal !important;
  word-break: normal !important;
}
.dn-audit-sell-hero p {
  margin: 0;
  max-width: 46rem;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-secondary, var(--dn-muted));
}
.dn-audit-sell-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.75fr);
  gap: 22px;
  width: 100%;
  max-width: none;
  margin: 0;
  align-items: start;
}
.dn-audit-sell-side {
  background: #fff;
  border: 1px solid var(--dn-line);
  border-radius: 16px;
  padding: 22px 20px;
  box-shadow: 0 18px 40px rgba(23, 23, 23, 0.08);
}
.dn-audit-sell-side h3 {
  margin: 0 0 14px;
  font-size: 16px;
  color: var(--dn-charcoal);
}
.dn-audit-stat {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid rgba(23, 23, 23, 0.08);
}
.dn-audit-stat:last-child { border-bottom: 0; }
.dn-audit-stat strong {
  display: block;
  font-size: 20px;
  color: var(--dn-gold-dark);
  line-height: 1.2;
}
.dn-audit-stat span {
  font-size: 14px;
  color: var(--dn-muted);
}

/* ---------- Contact ---------- */
body.dn-page-contact [data-element-id="elm_2ZyOYv1U24EohoqOdQTiKQ"] .zpspacer {
  height: 12px !important;
}
body.dn-page-contact .zpiframe-container {
  background: #fff;
  border: 1px solid var(--dn-line);
  border-radius: 16px;
  padding: 10px;
  box-shadow: 0 24px 70px rgba(23, 23, 23, 0.14);
  overflow: hidden;
}
.dn-contact-card-list {
  display: grid;
  gap: 12px;
  margin: 8px 0 18px;
}
.dn-contact-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--dn-line);
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: 0 10px 24px rgba(23, 23, 23, 0.06);
  text-decoration: none;
  color: inherit;
}
.dn-contact-card .dn-ico {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: rgba(0, 123, 255, 0.14);
  color: var(--dn-gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.dn-contact-card strong {
  display: block;
  font-size: 14px;
  color: var(--dn-charcoal);
}
.dn-contact-card span {
  font-size: 14px;
  color: var(--dn-muted);
}

/* ---------- About Us ---------- */
.dn-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 8px 0 12px;
}
.dn-overview-card {
  background: #fff;
  border: 1px solid var(--dn-line);
  border-radius: 16px;
  padding: 22px 20px;
  box-shadow: 0 12px 30px rgba(23, 23, 23, 0.07);
}
.dn-overview-card .dn-medal {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(0, 123, 255, 0.14);
  color: var(--dn-gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 12px;
}
.dn-overview-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
  color: var(--dn-charcoal);
}
.dn-overview-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--dn-muted);
  text-align: start; /* was justify: rivers in a 400px card, worse in FA/AR (audit #6) */
}
img[src*="IMG_9044"],
img[data-src*="IMG_9044"] {
  border-radius: 16px !important;
  box-shadow: 0 18px 40px rgba(23, 23, 23, 0.18) !important;
}

/* ---------- Home About layout ---------- */
@media (min-width: 992px) {
  .dn-home-about-copy {
    flex: 0 0 58.333% !important;
    max-width: 58.333% !important;
    width: 58.333% !important;
  }
  .dn-home-about-photo {
    flex: 0 0 41.667% !important;
    max-width: 41.667% !important;
    width: 41.667% !important;
  }
}
.dn-home-about-photo img,
.dn-home-about-photo .zpimage,
.dn-home-about-photo .zpimage-container,
.dn-home-about-photo figure {
  width: 100% !important;
  height: 100% !important;
}
.dn-home-about-photo img,
.dn-home-about-photo .zpimage {
  object-fit: cover !important;
  object-position: center 18% !important;
  min-height: 340px !important;
  max-height: 460px !important;
  border-radius: 16px !important;
  box-shadow: 0 18px 40px rgba(23, 23, 23, 0.16) !important;
}

/* 2026-10-10 (owner): the home About block - two halves, the text readable, the photo the height of the text. The script flags the
   NESTED row inside the copy column too (it also has two columns and the word "About"), which squeezed the text to 340px: the
   nested copies are neutralised below. */
.zpsection:has(.dn-home-about-copy) > .zpcontainer > .zprow:has(> .dn-home-about-copy) {
  align-items: stretch !important;
  padding: 40px 48px !important;
  box-sizing: border-box;
  gap: 0 !important;
}
@media (min-width: 992px) {
  .zprow > .dn-home-about-copy { flex: 0 0 56% !important; max-width: 56% !important; width: 56% !important; padding-inline-end: 40px !important; box-sizing: border-box; display: flex; flex-direction: column; justify-content: center; }
  .zprow > .dn-home-about-photo { flex: 0 0 44% !important; max-width: 44% !important; width: 44% !important; padding: 0 !important; display: flex; align-items: stretch; justify-content: center; }
}
.dn-home-about-copy .dn-home-about-copy, .dn-home-about-copy .zpelem-col { flex: 0 0 100% !important; max-width: 100% !important; width: 100% !important; padding: 0 !important; }
.dn-home-about-copy .dn-home-about-photo { display: none !important; }
.dn-home-about-copy .zpelem-text, .dn-home-about-copy .zpelement { max-width: none !important; }
.dn-home-about-copy .zpelem-text p, .dn-home-about-copy .zpelem-text span, .dn-home-about-copy p { font-size: 16px !important; line-height: 1.7 !important; }
.dn-home-about-copy .zpheading, .dn-home-about-copy h2, .dn-home-about-copy h3 { font-size: 40px !important; line-height: 1.15 !important; }
.dn-home-about-copy .zpbutton-group-container { display: flex !important; flex-wrap: wrap; gap: 12px; }
.dn-home-about-copy .zpbutton-group-container .zpelement { margin: 0 !important; }
@media (min-width: 992px) {
  /* the photo takes the TEXT's height (absolute inside the column, so it never stretches the row to its own 315x520 ratio) */
  .zprow > .dn-home-about-photo { position: relative; min-height: 360px; }
  .dn-home-about-photo > .zpelement { position: absolute !important; inset: 0 !important; display: block !important; overflow: visible; }
  .dn-home-about-photo > .zpelement *:not(img) { position: static !important; height: auto !important; }
  .dn-home-about-photo > .zpelement img { position: absolute !important; top: 0; bottom: 0; left: 50%; transform: translateX(-50%); width: min(100%, 480px) !important; max-width: 480px !important; height: 100% !important; margin: 0 !important; }
}
.dn-home-about-photo figure, .dn-home-about-photo .zpimage-container, .dn-home-about-photo .zpfilmstrip-item, .dn-home-about-photo .zpfilmstrip, .dn-home-about-photo .zpelement, .dn-home-about-photo picture, .dn-home-about-photo a { display: block !important; height: 100% !important; width: 100% !important; max-width: 480px !important; margin: 0 auto !important; padding: 0 !important; }
.dn-home-about-photo img,
.dn-home-about-photo .zpimage { display: block; width: 100% !important; max-width: 480px !important; margin: 0 auto; height: 100% !important; min-height: 0 !important; max-height: none !important; object-fit: cover !important; object-position: 50% 15% !important; border-radius: 16px !important; box-shadow: 0 18px 40px rgba(23, 23, 23, 0.16) !important; }
[dir="rtl"] .dn-home-about-photo img, [dir="rtl"] .dn-home-about-photo .zpimage { margin: 0 auto 0 0; }
@media (max-width: 991px) {
  .zpsection:has(.dn-home-about-copy) > .zpcontainer > .zprow:has(> .dn-home-about-copy) { padding: 28px 16px !important; }
  .dn-home-about-copy { padding-inline-end: 0 !important; }
  .dn-home-about-photo { margin-top: 20px; }
  .dn-home-about-photo img, .dn-home-about-photo .zpimage { max-width: 100% !important; aspect-ratio: 4 / 5; max-height: 520px !important; margin: 0 auto; }
}

/* ---------- Agents ---------- */
/* ---------- Agents hero (EN/FA/AR aligned) ---------- */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.dn-page-agents .hero.dn-agents-hero,
.dn-page-agents .dn-agents-hero {
  display: grid !important;
  grid-template-columns: minmax(0, 1.15fr) minmax(200px, 280px) !important;
  gap: 28px !important;
  align-items: center !important;
  background: #d3e3f4 !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 36px 34px !important;
}
.dn-page-agents .dn-agents-hero-copy,
.dn-page-agents .hero h1,
.dn-page-agents .hero .dn-agents-lead,
.dn-page-agents .hero .eyebrow,
.dn-page-agents .hero .stats,
.dn-page-agents .dn-join-cta {
  grid-column: auto !important;
  grid-row: auto !important;
}
.dn-page-agents .hero h1 {
  margin: 0 0 12px !important;
  font-size: clamp(30px, 4.6vw, 46px) !important;
  letter-spacing: -0.04em !important;
  line-height: 1.08 !important;
}
.dn-page-agents .hero .dn-agents-lead {
  max-width: 38em;
  margin: 0 0 20px !important;
  font-size: 16px !important;
  line-height: 1.7 !important;
}
.dn-agents-learn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  background: #fff;
  color: #131313 !important;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none !important;
  box-shadow: 0 8px 20px rgba(23, 23, 23, 0.08);
}
.dn-agents-learn:hover { background: #fffdf8; }
.dn-agents-hero-art { display: flex; justify-content: center; }
.dn-agents-house {
  /* 2026-10-10 (owner: "take the house shape away, it is cheap"): the gold mark alone on the bone card */
  width: min(100%, 300px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.dn-agents-house img {
  width: 78%;
  max-width: 230px;
  height: auto;
  object-fit: contain;
}
.dn-page-agents .grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 18px !important;
}
.dn-page-agents .card.dn-agent-card {
  display: grid !important;
  grid-template-columns: 178px minmax(0, 1fr) !important;
  gap: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  border-radius: 16px !important;
  background: #fff !important;
  border: 1px solid rgba(23, 23, 23, 0.08) !important;
  box-shadow: 0 10px 24px rgba(23, 23, 23, 0.05) !important;
  transform: none !important;
}
.dn-page-agents .card.dn-agent-card:hover {
  transform: none !important;
  border-color: rgba(0, 123, 255, 0.45) !important;
}
/* .dn-agent-photo names TWO different things in this site:
     * agents listing/profile  -> a CONTAINER div holding a large portrait card,
     * property/project detail -> the 62x62 circular avatar <img> itself.
   This block is the container treatment, so it must never reach the <img>:
   applying min-height:230px to it produced a 62x230 squeezed/clipped ellipse
   on every listing-agent card (reported for Hamiyan Paydar, but it hit all agents). */
.dn-agent-photo:not(img) {
  display: block;
  min-height: 230px;
  background: #deebf8;
  overflow: hidden;
}
.dn-agent-photo .photo,
.dn-agent-photo .initials {
  width: 100% !important;
  height: 100% !important;
  min-height: 230px;
  border-radius: 0 !important;
  object-fit: cover !important;
  object-position: top center !important;
  border: 0 !important;
  box-shadow: none !important;
}
.dn-agent-body {
  position: relative;
  padding: 16px 18px 16px 16px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.dn-agent-logo {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  height: 28px;
  width: auto;
  object-fit: contain;
}
.dn-page-agents .dn-agent-body .name {
  display: block;
  padding-inline-end: 70px;
  font-size: 20px !important;
  line-height: 1.2;
  color: #131313 !important;
  text-decoration: none !important;
  margin-bottom: 4px;
}
.dn-page-agents .dn-agent-body .role {
  color: #69645D !important;
  font-size: 14px !important;
  margin-bottom: 10px;
}
.dn-agent-badge {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 10px;
  padding: 4px 8px;
  border-radius: 4px;
  background: #131313;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.dn-agent-meta {
  font-size: 14px;
  color: #131313;
  line-height: 1.55;
}
.dn-agent-meta span {
  color: #69645D;
  margin-inline-end: 4px;
}
.dn-page-agents .dn-agent-card .actions {
  display: flex !important;
  gap: 8px !important;
  margin-top: auto;
  padding-top: 14px;
  grid-template-columns: none !important;
}
.dn-page-agents .btn-call {
  background: #fff !important;
  color: #131313 !important;
  border: 1px solid rgba(23, 23, 23, 0.16) !important;
  flex: 1;
}
.dn-page-agents .btn-call.is-disabled {
  opacity: 0.4;
  pointer-events: none;
}
.dn-page-agents .btn-wa {
  flex: 1;
}
@media (max-width: 980px) {
  .dn-page-agents .grid { grid-template-columns: 1fr !important; }
  .dn-page-agents .hero.dn-agents-hero {
    grid-template-columns: 1fr !important;
  }
}
@media (max-width: 640px) {
  .dn-page-agents .card.dn-agent-card {
    grid-template-columns: 118px minmax(0, 1fr) !important;
  }
  .dn-agent-photo:not(img),
  .dn-agent-photo .photo,
  .dn-agent-photo .initials { min-height: 180px; }
}


.dn-join-cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 160px;
  padding: 22px 20px;
  border-radius: 16px;
  text-decoration: none;
  color: #fff;
  background:
    linear-gradient(160deg, rgba(23, 23, 23, 0.82), rgba(0, 123, 255, 0.72)),
    url("/no-photo-1600.webp") center / cover no-repeat;
  box-shadow: 0 14px 30px rgba(23, 23, 23, 0.16);
}
.dn-join-cta strong {
  font-size: 20px;
  letter-spacing: -0.03em;
}
.dn-join-cta span {
  margin-top: 6px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.5;
}
.stars:empty { display: none !important; }

/* ---------- Communities overview ---------- */
.dn-v8-overview-stats strong {
  color: var(--dn-gold-dark) !important;
  font-variant-numeric: tabular-nums;
}

/* ---------- Blog cards ---------- */
.dn-page-blog .theme-blog-container-column {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
  align-items: stretch;
}
.dn-page-blog .theme-blog-container {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--dn-line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(23, 23, 23, 0.08);
  height: 100%;
  margin: 0 !important;
  padding: 0 !important;
}
.dn-blog-cover {
  display: block;
  height: 180px;
  background: #131313 center / cover no-repeat;
}
.dn-page-blog .theme-blog-post-header,
.dn-page-blog .theme-blog-post-content,
.dn-page-blog .theme-blog-post-details {
  padding-left: 18px !important;
  padding-right: 18px !important;
}
.dn-page-blog .theme-blog-post-header { padding-top: 16px !important; }
.dn-page-blog .theme-blog-heading a {
  color: var(--dn-charcoal) !important;
  font-size: 20px !important;
  line-height: 1.35 !important;
  text-decoration: none !important;
}
.dn-page-blog .theme-blog-post-content {
  color: var(--dn-muted);
  font-size: 14px;
  line-height: 1.7;
  flex: 1;
}
.dn-page-blog .theme-blog-readmore a {
  display: inline-block;
  margin: 0 0 16px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--dn-gold);
  color: var(--dn-charcoal) !important;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-decoration: none !important;
}
.dn-page-blog .theme-blog-summary-image { display: none !important; }

/* ---------- Footer Quick Links ---------- */
.dn-footer-quick {
  color: #e3edf8;
  padding: 8px 8px 8px 4px;
}
.dn-footer-quick h4 {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 700;
  color: #e3edf8;
}
.dn-footer-quick ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.dn-footer-quick a {
  color: rgba(227, 237, 248, 0.82) !important;
  text-decoration: none !important;
  font-size: 14px;
  line-height: 1.4;
}
.dn-footer-quick a:hover { color: var(--dn-gold) !important; }

@media (min-width: 768px) {
  [data-element-id="elm_AjdaD4r6TFo9W_OE_Zk_Ag"] {
    flex: 0 0 25% !important;
    max-width: 25% !important;
    width: 25% !important;
  }
}

@media (min-width: 992px) {
  :root {
    --dn-page-width: min(1500px, calc(100% - 56px));
  }
  /* Same formula as the header, centered on first paint. No JS gutter. */
  .theme-content-area-inner > .zpcontent-container,
  .theme-content-area-inner > .page-container {
    width: var(--dn-page-width) !important;
    max-width: var(--dn-page-width) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }
  .theme-content-area .zpsection,
  .theme-content-area .zpcontainer,
  .theme-content-area .zpcontainer-fluid,
  .theme-content-area .zprow,
  .theme-content-area .zprow-container,
  .theme-content-area .zpsnippet-container,
  .theme-content-area .zpelem-codesnippet,
  .z-lux,
  .force-clear-bg,
  #dnHybridListings,
  #dnHybridListings.dn-pf-shell,
  #dnHybridListings.dn-hybrid-listings,
  #dnDevelopersPage .dn-wrap,
  .dn-v6-shell,
  .dn-v8 .dn-v6-shell,
  .dn-request-page .dn-shell {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }
  .theme-content-area .zpcontainer,
  .theme-content-area .zpcontainer-fluid,
  .theme-content-area .zpcol-12 {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  #dnHybridListings.dn-pf-shell .dn-filter-section,
  #dnHybridListings .dn-filter-section {
    max-width: none !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

@media (max-width: 991px) {
  .z-lux,
  #dnDevelopersPage .dn-wrap,
  #dnHybridListings,
  .dn-v6-shell,
  .dn-request-page .dn-shell {
    width: 100% !important;
    max-width: 100% !important;
  }
}

@media (max-width: 900px) {
  .dn-audit-sell-grid,
  .dn-overview-grid,
  .dn-trust-row {
    grid-template-columns: 1fr;
  }
  .dn-home-about-copy,
  .dn-home-about-photo {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }
  .dn-audit-sell-hero {
    padding: 22px 18px;
    border-radius: 16px;
  }
  .dn-audit-sell-hero h1 {
    font-size: 28px;
  }
}

/* ---------- FA / AR type: real Vazirmatn weights + readable sizes ---------- */
@font-face {
  font-family: Vazirmatn;
  src: url("/fonts/vazirmatn/Vazirmatn-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Vazirmatn;
  src: url("/fonts/vazirmatn/Vazirmatn-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Vazirmatn;
  src: url("/fonts/vazirmatn/Vazirmatn-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Vazirmatn;
  src: url("/fonts/vazirmatn/Vazirmatn-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Vazirmatn;
  src: url("/fonts/vazirmatn/Vazirmatn-ExtraBold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

html[lang^="fa"],
html[lang^="ar"] {
  font-synthesis: none;
}

html[lang^="fa"] body,
html[lang^="ar"] body,
html[lang^="fa"] body :where(h1, h2, h3, h4, h5, h6, p, a, button, input, textarea, select, option, label, div, span, strong, em, small, blockquote, ul, ol, li, td, th, header, footer, nav, section, article, figcaption):not([class*="icon"]):not([class^="fa-"]),
html[lang^="ar"] body :where(h1, h2, h3, h4, h5, h6, p, a, button, input, textarea, select, option, label, div, span, strong, em, small, blockquote, ul, ol, li, td, th, header, footer, nav, section, article, figcaption):not([class*="icon"]):not([class^="fa-"]) {
  font-family: Vazirmatn, Tahoma, sans-serif !important;
  letter-spacing: 0 !important;
}

html[lang^="fa"] input::placeholder,
html[lang^="fa"] textarea::placeholder,
html[lang^="ar"] input::placeholder,
html[lang^="ar"] textarea::placeholder {
  font-family: Vazirmatn, Tahoma, sans-serif !important;
}

html[lang^="fa"] body,
html[lang^="ar"] body {
  font-size: 16px !important;
  line-height: 1.85 !important;
}

/* Reading paragraphs only. A <p> that is a price, a title or a kicker keeps its own size: the bare
   `p` selector flattened the property price on the /fa/ and /ar/ detail pages to body text.
   :where() keeps the specificity exactly what the bare selector had, so nothing else moves. */
html[lang^="fa"] p:where(:not([class*="price"], [class*="title"], [class*="heading"], [class*="kicker"])),
html[lang^="ar"] p:where(:not([class*="price"], [class*="title"], [class*="heading"], [class*="kicker"])) {
  font-size: 16px !important;
  line-height: 1.95 !important;
  font-weight: 400 !important;
}

html[lang^="fa"] h1,
html[lang^="ar"] h1 {
  font-size: clamp(26px, 3.1vw, 36px) !important;
  font-weight: 700 !important;
  line-height: 1.45 !important;
}

html[lang^="fa"] h2,
html[lang^="ar"] h2 {
  font-size: clamp(22px, 2.5vw, 30px) !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
}

html[lang^="fa"] h3,
html[lang^="ar"] h3 {
  font-size: 20px !important;
  font-weight: 700 !important;
  line-height: 1.55 !important;
}

html[lang^="fa"] h4,
html[lang^="fa"] h5,
html[lang^="fa"] h6,
html[lang^="ar"] h4,
html[lang^="ar"] h5,
html[lang^="ar"] h6 {
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.55 !important;
}

html[lang^="fa"] .theme-header .theme-menu a,
html[lang^="ar"] .theme-header .theme-menu a,
html[lang^="fa"] .theme-header .theme-menu ul li a,
html[lang^="ar"] .theme-header .theme-menu ul li a,
html[lang^="fa"] .theme-navigation-and-icons .theme-menu ul li a,
html[lang^="ar"] .theme-navigation-and-icons .theme-menu ul li a {
  font-size: 16px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
}

html[lang^="fa"] button.re-ai,
html[lang^="ar"] button.re-ai {
  font-size: 12px !important;
  font-weight: 600 !important;
}

html[lang^="fa"] button,
html[lang^="ar"] button,
html[lang^="fa"] .zpbutton,
html[lang^="ar"] .zpbutton,
html[lang^="fa"] .zpbutton-wrapper,
html[lang^="ar"] .zpbutton-wrapper {
  font-size: 16px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

html[lang^="fa"] .z-lux,
html[lang^="ar"] .z-lux,
html[lang^="fa"] .z-lux *,
html[lang^="ar"] .z-lux * {
  font-family: Vazirmatn, Tahoma, sans-serif !important;
}

html[lang^="fa"] .z-lux__kicker,
html[lang^="fa"] .z-lux__sub,
html[lang^="ar"] .z-lux__kicker,
html[lang^="ar"] .z-lux__sub {
  letter-spacing: 0.02em !important;
  text-transform: none !important;
  font-size: 14px !important;
  font-weight: 500 !important;
}

html[lang^="fa"] .z-lux__title,
html[lang^="ar"] .z-lux__title {
  font-size: clamp(26px, 3vw, 34px) !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
}

html[lang^="fa"] .z-lux__tab,
html[lang^="ar"] .z-lux__tab {
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
  text-transform: none !important;
}

/* Keep 1/24, prices and phones from flipping in RTL. */
html[dir="rtl"] .z-card__carousel-count,
html[lang^="fa"] .z-card__carousel-count,
html[lang^="ar"] .z-card__carousel-count,
html[dir="rtl"] .z-card__price,
html[lang^="fa"] .z-card__price,
html[lang^="ar"] .z-card__price,
html[dir="rtl"] .theme-blog-container time,
html[lang^="ar"] .theme-blog-container time,
html[lang^="fa"] .theme-blog-container time {
  direction: ltr !important;
  unicode-bidi: isolate !important;
}


/* ===== UI audit final (contact / agents / ratings / RTL) ===== */
/* Contact-page layout rules are scoped to .theme-content-area: unscoped they also reflowed the
   site FOOTER on /contact (its rows became wrapping flex rows with 28/40px gaps). */
body.dn-page-contact .theme-content-area .zprow.zprow-container {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: flex-start !important;
  gap: 28px 40px !important;
}
body.dn-page-contact .theme-content-area .zpcol-md-6,
body.dn-page-contact .theme-content-area [class*="zpcol-md-6"] {
  float: none !important;
  flex: 1 1 380px !important;
  max-width: 100% !important;
  width: auto !important;
  min-width: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
body.dn-page-contact .zpiframe-container,
body.dn-page-contact iframe.zpiframe {
  max-width: 100% !important;
  box-sizing: border-box !important;
}
body.dn-page-contact .dn-hide-duplicate {
  display: none !important;
}

.dn-request-page .dn-captcha-box {
  gap: 12px !important;
  grid-template-columns: 132px minmax(0, 1fr) 54px !important;
}
.dn-request-page .dn-refresh {
  margin-inline-start: 0 !important;
}



.dn-page-agents .stats {
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  gap: 12px !important;
  justify-content: flex-start !important;
  text-align: start !important;
}
.dn-page-agents .stat {
  text-align: start !important;
}
.dn-page-agents .stat strong {
  display: block;
  font-variant-numeric: tabular-nums;
  direction: ltr;
  unicode-bidi: isolate;
}
.dn-page-agents .stars:empty,
.dn-page-agents .stars.dn-hide-stars {
  display: none !important;
}

#dnHybridListings .dn-agent-rating.is-empty {
  display: none !important;
}

html[dir="rtl"] .dn-v8-overview-stats,
html[lang^="fa"] .dn-v8-overview-stats,
html[lang^="ar"] .dn-v8-overview-stats,
html[dir="rtl"] .dn-v8-overview-stats > *,
html[lang^="fa"] .community-stat-box,
html[lang^="ar"] .community-stat-box {
  text-align: center !important;
}

html[dir="rtl"] .z-card__carousel-count,
html[lang^="fa"] .z-card__carousel-count,
html[lang^="ar"] .z-card__carousel-count,
html[dir="rtl"] .dn-photo-count,
html[lang^="fa"] .dn-photo-count,
html[lang^="ar"] .dn-photo-count,
html[dir="rtl"] .re-counter,
html[lang^="fa"] .re-counter,
html[lang^="ar"] .re-counter,
.slide-counter {
  direction: ltr !important;
  unicode-bidi: isolate !important;
  display: inline-block !important;
}

.dn-home-about-photo img,
.dn-home-about-photo .zpimage {
  object-position: center 8% !important;
}
.dn-home-about-copy {
  margin-left: 0 !important;
  padding-left: 0 !important;
}

#dnDevelopersPage .dn-card h3 {
  min-width: 0 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
}

.dn-page-agents h2.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  font-size: 1px !important;
  color: transparent !important;
}


/* ---------- Mobile audit (uiauditmobile) ---------- */
.dn-page-agents .dn-agent-logo {
  width: 28px !important;
  height: 28px !important;
  max-width: 36px !important;
  max-height: 36px !important;
  object-fit: contain !important;
}

@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
  }

  /* 1. Sell trust cards: stop vertical letter stacking */
  .dn-trust-row,
  .dn-request-page .dn-trust-row {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
    gap: 12px !important;
  }
  .dn-trust-item,
  .dn-request-page .dn-trust-item {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px !important;
    writing-mode: horizontal-tb !important;
  }
  .dn-trust-title,
  .dn-trust-text,
  .dn-request-page .dn-trust-title,
  .dn-request-page .dn-trust-text {
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: anywhere;
  }
  .dn-audit-sell-grid {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: 1fr !important;
  }

  /* 2. Agents: hide giant DN logo inside each card */
  .dn-page-agents .dn-agent-logo {
    display: none !important;
  }
  .dn-page-agents .dn-agent-body .name {
    padding-inline-end: 0 !important;
  }
  .dn-page-agents .card.dn-agent-card {
    grid-template-columns: 108px minmax(0, 1fr) !important;
  }
  .dn-agent-photo:not(img),
  .dn-agent-photo .photo,
  .dn-agent-photo .initials {
    min-height: 168px !important;
    max-height: 220px;
  }
  .dn-agents-house {
    width: 150px !important;
  }
  .dn-page-agents .hero.dn-agents-hero {
    padding: 22px 18px !important;
  }

  /* 3. Contact FA/AR: no horizontal overflow */
  body.dn-page-contact,
  body.dn-page-contact .theme-content-area,
  body.dn-page-contact .theme-content-area-inner,
  body.dn-page-contact .theme-content-area .zpcontainer,
  body.dn-page-contact .theme-content-area .zprow {
    max-width: 100% !important;
    width: 100% !important;
    overflow-x: hidden !important;
  }
  body.dn-page-contact .theme-content-area .zprow.zprow-container {
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    gap: 16px !important;
  }
  body.dn-page-contact .theme-content-area .zpcol-md-6,
  body.dn-page-contact .theme-content-area [class*="zpcol-md-6"],
  body.dn-page-contact .theme-content-area .zpelem-col {
    flex: 1 1 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    float: none !important;
  }
  .dn-contact-card-list,
  .dn-contact-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
  .dn-contact-card span {
    overflow-wrap: anywhere;
    word-break: break-word;
    direction: ltr;
    unicode-bidi: isolate;
    display: inline-block;
  }

  /* 4. Communities: full area title + chip-row fade */
  .dn-brand-head {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: flex-start !important;
    gap: 8px 12px !important;
  }
  .dn-brand-head h1 {
    max-width: 100% !important;
    width: 100% !important;
    flex: 1 1 100% !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
    font-size: 20px !important;
    line-height: 1.25 !important;
  }
  .dn-v6-areas,
  .dn-v8-areas .dn-v6-areas {
    position: relative;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    mask-image: linear-gradient(90deg, #000 85%, transparent);
  }
  html[dir="rtl"] .dn-v6-areas,
  html[dir="rtl"] .dn-v8-areas .dn-v6-areas {
    mask-image: linear-gradient(270deg, #000 85%, transparent);
  }

  /* 5. Blog: posts first, categories/tags after */
  .theme-blog-part-row {
    display: flex !important;
    flex-direction: column !important;
  }
  .theme-blog-part-row > .theme-blog-category-column {
    order: 2 !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 auto !important;
    float: none !important;
    margin-top: 28px !important;
  }
  .theme-blog-part-row > [class*="zpcol"]:not(.theme-blog-category-column) {
    order: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 auto !important;
    float: none !important;
  }

  /* 6. Properties Clear button word-break */
  .dn-clear-btn,
  .dn-secondary-action,
  #dnLClearBtn,
  #dnLPriceClear,
  #dnLDrawerClear {
    white-space: nowrap !important;
    min-width: 4.8em;
    flex-shrink: 0;
  }

  /* 7. Home decorative DN logo */
  .theme-content-area-inner img.zpimage[src*="IMG_1730"],
  .theme-content-area-inner img[data-src*="IMG_1730"] {
    max-height: 110px !important;
    width: auto !important;
    max-width: 46% !important;
    margin-inline: auto !important;
    display: block !important;
  }
}


/* AR home about: photo beside copy */
@media (min-width: 992px) {
  html[lang^="ar"] .zprow:has(> .dn-home-about-photo) {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 24px;
  }
  html[lang^="ar"] .zprow:has(> .dn-home-about-photo) > .zpelem-col:has(.dn-home-about-copy),
  html[lang^="ar"] .zprow:has(> .dn-home-about-photo) > [class*="zpcol-md-8"] {
    flex: 1 1 54% !important;
    max-width: 56% !important;
    width: auto !important;
    min-width: 0 !important;
    float: none !important;
  }
  html[lang^="ar"] .zprow:has(> .dn-home-about-photo) > .dn-home-about-photo {
    flex: 1 1 42% !important;
    max-width: 44% !important;
    width: auto !important;
    min-width: 0 !important;
    float: none !important;
  }
  html[lang^="ar"] .zprow:has(> .dn-home-about-copy) {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  html[lang^="ar"] .dn-home-about-copy {
    flex: none !important;
    max-width: 100% !important;
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
  }
  html[lang^="ar"] .dn-home-about-photo img,
  html[lang^="ar"] .dn-home-about-photo .zpimage,
  html[lang^="ar"] .dn-home-about-photo figure,
  html[lang^="ar"] .dn-home-about-photo .zpgallery-container,
  html[lang^="ar"] .dn-home-about-photo .zpfilmstrip {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
  html[lang^="ar"] .dn-home-about-photo .zpfilmstrip h4,
  html[lang^="ar"] .dn-home-about-photo [class*="caption"] {
    display: none !important;
  }
}


/* ===== mobilefixprompt + mobile listing filters ===== */
#zs-powered-by,
#zs-poweredby,
.zs-powered-by,
#zoho_power_banner,
iframe[src*="zspoweredby"],
[id*="zspoweredby" i],
[class*="zspoweredby" i] {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
}

@media (max-width: 768px) {
  .theme-header-area,
  .theme-content-area,
  .theme-footer-area,
  .theme-content-area-inner {
    padding-inline: 8px !important;
    box-sizing: border-box !important;
  }
  .theme-header-area .zpcontainer,
  .theme-header-area .zpcontainer-fluid,
  .theme-content-area .zpcontainer,
  .theme-content-area .zpcontainer-fluid,
  .theme-footer-area .zpcontainer,
  .theme-footer-area .zpcontainer-fluid {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  #dnHybridListings {
    padding-inline: 8px !important;
  }

  figure.zpimage-data-ref,
  .zpimage-container,
  .zpimage-container.zpimage-mobile-align-center {
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }
  .zpimage-container figure,
  .zpimage-container picture,
  .zpimage-container .zpimage-anchor {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
  }
  [data-element-id="elm_Z_uXKKu5eN24fWRNFwoejw"] .zpimage-container figure img,
  .zpimage-container figure img.zpimage[src*="Screenshot"],
  .zpimage-container figure img.zpimage[src*="12.44.14"] {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: 874 / 1368;
    object-fit: contain;
  }

  /* Listing: collapse all filters into one icon button */
  #dnHybridListings .dn-filter-section > .dn-filter-pill-row > :not(#dnLMoreBtn) {
    display: none !important;
  }
  #dnHybridListings .dn-filter-section > .dn-filter-pill-row {
    flex-wrap: nowrap !important;
    overflow: visible !important;
    margin-top: 10px;
  }
  #dnHybridListings .dn-filter-section > .dn-filter-pill-row > #dnLMoreBtn {
    width: 100%;
    justify-content: center !important;
  }
  #dnLMobileFilterBar {
    display: flex;
    align-items: stretch;
    gap: 8px;
    margin-top: 2px;
  }
  #dnLMobileFilterBar .dn-search-wide {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0 !important;
  }
  #dnLMobileFilterBar #dnLMoreBtn {
    position: relative;
    flex: 0 0 48px;
    width: 48px !important;
    min-width: 48px !important;
    height: 49px !important;
    padding: 0 !important;
    border-radius: 16px !important;
    background: #fff9eb !important;
    border-color: #007bff !important;
    color: #0056b3 !important;
    box-shadow: 0 3px 10px rgba(15, 29, 45, 0.06) !important;
  }
  #dnLMobileFilterBar #dnLMoreBtn > span:not(#dnLMoreCount) {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
  }
  #dnLMobileFilterBar #dnLMoreBtn > svg:not(.dn-chevron) {
    width: 22px;
    height: 22px;
    margin: 0;
  }
  #dnLMobileFilterBar #dnLMoreCount {
    position: absolute;
    top: 3px;
    inset-inline-end: 3px;
  }
  #dnLDrawer #dnLMoreBtn {
    display: none !important;
  }
  #dnHybridListings #dnLMobileFiltersSlot .dn-filter-pill-row {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    overflow: visible !important;
    align-items: stretch !important;
    gap: 10px !important;
    margin: 16px 0 8px !important;
    padding: 0 !important;
  }
  #dnLMobileFiltersSlot .dn-filter-pill,
  #dnLMobileFiltersSlot .dn-price-control,
  #dnLMobileFiltersSlot .dn-select-pill {
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    justify-content: flex-start !important;
    border-radius: 12px !important;
    white-space: normal !important;
  }
  #dnLMobileFiltersSlot .dn-select-pill > .dn-combo,
  #dnLMobileFiltersSlot .dn-combo-trigger {
    width: 100%;
    max-width: none;
    flex: 1 1 auto;
  }
  #dnLDrawer .dn-price-control {
    width: 100%;
    display: block;
  }
  #dnLDrawer #dnLPriceBtn {
    display: none !important;
  }
  #dnLDrawer #dnLPricePopover,
  #dnLDrawer #dnLPricePopover[hidden] {
    display: block !important;
    position: static !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: none !important;
    box-shadow: none !important;
    border: 1px solid #d5dfea;
    border-radius: 16px;
    margin: 0;
  }
  #dnLDrawer #dnLPriceClose {
    display: none !important;
  }
  #dnHybridListings .dn-combo-search {
    font-size: 16px !important;
    min-height: 44px;
  }
  #dnHybridListings .dn-combo-panel {
    left: 8px !important;
    right: 8px !important;
    width: auto !important;
    max-width: none !important;
  }
}

@media (min-width: 769px) {
  #dnLMobileFilterBar {
    display: none !important;
  }
}

.dn-combo-more {
  padding: 10px 12px 14px;
  color: #69645D;
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
}

/* Home hero title/subtitle overlap (all viewports).
   Root cause: the exported Zoho row for the hero subtitle carries a large negative top margin
   (margin-block-start:-46px, inline style on .zpelem-col for element elm_ABQ_B-ChNGphyrQmNyjdNQ,
   the "elm_OpicLTyFd3MgPzGODe6Yqg" subtitle row) that pulls it up into the title row above -
   present in the EN/FA/AR homepage exports alike, at every width. dn-home-mobile.css already
   neutralizes the equivalent collapse for <=900px viewports; this rule covers the desktop/tablet
   widths that file explicitly leaves untouched, where the negative margin was still active and
   the two headings visually overlapped. Same neutralization approach, just not width-gated. */
.zphero-slider-container [data-element-type="row"]:has(h2) .zpelem-col,
.zphero-slider-container [data-element-type="row"]:has(h2) .zpelem-heading {
  margin-block: 0 !important;
}
.zphero-slider-container [data-element-id="elm_ABQ_B-ChNGphyrQmNyjdNQ"].zpelem-col {
  margin-block-start: 0 !important;
}

/* ============================================================================
   PUBLIC WEBSITE MOBILE GUTTER — single centralized token (2026-08-23)
   Target: exactly one ~8px inset between the viewport edge and the principal
   page/card frame, replacing the compounded chain
     body 8 + .theme-content-area 8 + .theme-content-area-inner 8
          + .zpcontainer 15 + .zpelem-col 15 = 54px
   Scope: hamiyanpaydar.com public site only. The CRM (crm.hamiyanpaydar.com) loads none of
   this stylesheet. Desktop (>900px) is untouched.
   ============================================================================ */
:root{ --public-mobile-gutter:8px; }

@media (max-width:900px){
  /* 1. the ONE gutter, safe-area aware: never stack another inset on top of the notch */
  body{
    padding-inline:max(var(--public-mobile-gutter), env(safe-area-inset-left))
                   max(var(--public-mobile-gutter), env(safe-area-inset-right)) !important;
    overflow-x:hidden;
  }
  .theme-content-area,
  .theme-content-area-inner,
  .theme-header-area,
  .theme-footer-area{ padding-inline:0 !important; }

  /* 2. neutralise the Zoho grid (mobile twin of the desktop rule at :659-663) */
  .theme-content-area .zpsection,
  .theme-content-area .zpcontainer,
  .theme-content-area .zpcontainer-fluid,
  .theme-content-area .zprow,
  .theme-content-area .zprow-container,
  .theme-content-area .zpelem-col,
  .theme-content-area [class*="zpcol-"],
  .theme-content-area .zpelem-codesnippet,
  .theme-content-area .zpsnippet-container,
  /* blog shell has no .theme-content-area at all */
  #thememaincontent.zpcontainer,
  .theme-blog-container-column,
  .theme-blog-category-column,
  .theme-blog-part-row,
  .theme-blog-part-row .zpelem-col,
  .theme-blog-part-row [class*="zpcol-"]{
    padding-inline:0 !important;
    margin-inline:0 !important;
    max-width:100% !important;
    box-sizing:border-box !important;
  }

  /* 3. page shells carry no side padding of their own — body owns the gutter */
  #dnHybridListings, .dn-v6-shell, .dn-v6-results, #dnCommunityV8 .dn-v6-shell,
  #dnDevelopersPage .dn-wrap, main.dn-wrap, .dn-request-page, .dn-request-page .dn-shell,
  main.dn-body, #dnAgentProfile, #dn-loan-calc, #dn-resale-calc, #dn-visa-calc,
  main.dn-detail-shell, main.dn-page-shell, .z-lux{
    padding-inline:0 !important;
    margin-inline:0 !important;
    max-width:100% !important;
    box-sizing:border-box !important;
  }
}


/* ── Listing-agent avatar (property / off-plan property / project detail) ──────
   One shape rule for every agent: a true 1:1 circle that cannot be stretched by
   a flex row or by the agents-page container styles above. */
img.dn-agent-photo,
.dn-ready-agent-top img {
  width: 62px;
  height: 62px;
  min-height: 0;
  max-height: none;
  flex: 0 0 62px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
  align-self: center;
}
.dn-ready-agent-top img { width: 64px; height: 64px; flex-basis: 64px; }


/* ════════════════════════════════════════════════════════════════════════════════════════════
   FOOTER (audit #20, 2026-09-22) — CSS only.
   All 68 Zoho exports carry the SAME footer with the SAME element ids (checked: every id below
   appears in all 68), so the ids are the stable handles; the theme gives these blocks no classes
   of their own. What was wrong, and what each rule below does about it:
   · a 150px empty dark band on top — an empty section (100px of padding) plus a divider row with
     nothing above it → both hidden, the footer opens with one 56px padding (40px on phones);
   · a 4-column grid with 3 columns filled and ~30% empty on the right → the three real columns
     become a CSS grid that spans the width (2 columns on tablets, 1 on phones);
   · headings on different baselines ("Quick Links" 16px under an 8px padding, "Contact Us"
     18px under a 20px margin) → one heading style, every column starts at the same top;
   · the copyright started at the page edge while the content started ~100px in → the whole
     footer shares one content box (the 1200px measure of the "Browse everything" index under it,
     so the two line up) and the copyright sits on its start edge under a hairline;
   · three indent levels under "Contact Us" → one grid: icon column + text column, heading and
     details both in the text column, on every width (the home page's inline "contact layout fix"
     centred it all on phones; this outranks it);
   · the social icons were the networks' own colour discs at 30px → monochrome gold-on-ink
     circles, 44px targets (#22);
   · RTL: the phone numbers rendered "2646 111 50 971+" → isolated as LTR runs.
   ════════════════════════════════════════════════════════════════════════════════════════════ */
.theme-footer-area {
  --dn-foot-ivory: #e3edf8;
  --dn-foot-muted: rgba(227, 237, 248, .72);
  --dn-foot-line: rgba(227, 237, 248, .12);
  --dn-foot-gold: #007bff;
}
/* the empty band */
.theme-footer-area [data-element-id="elm_FnmIaFbHFF9-rZbthEd-IA"],
.theme-footer-area [data-element-id="elm_yXY6Dc6_nSDmPR4wKE7NPg"] {
  display: none !important;
}
.theme-footer-area [data-element-id="elm_631AtLLdR1ylIDQPvs6mzQ"] {
  padding: 56px 0 32px !important;
}
/* the section's container is 1140px on the /fa/ and /ar/ exports and fluid on the English ones;
   it goes full width everywhere and the content box below does the centring */
.theme-footer-area [data-element-id="elm_631AtLLdR1ylIDQPvs6mzQ"] > .zpcontainer,
.theme-footer-area [data-element-id="elm_631AtLLdR1ylIDQPvs6mzQ"] > .zpcontainer > .zprow {
  width: 100% !important;
}
.theme-footer-area [data-element-id="elm_631AtLLdR1ylIDQPvs6mzQ"] > .zpcontainer,
.theme-footer-area [data-element-id="elm_631AtLLdR1ylIDQPvs6mzQ"] .zprow,
.theme-footer-area [data-element-id="elm_631AtLLdR1ylIDQPvs6mzQ"] .zpelem-col {
  padding-inline: 0 !important;
  margin-inline: 0 !important;
  max-width: none !important;
}
/* ONE content box for everything in the footer (more specific than the reset just above) */
.theme-footer-area .zprow > [data-element-id="elm_5f6k0uy7rMgyhedRHzZh2Q"] {
  flex: 0 1 auto !important;       /* not a 1200px basis: the row is a COLUMN flexbox on phones */
  width: 1200px !important;
  max-width: 100% !important;
  margin-inline: auto !important;
  padding-inline: 16px !important;
  box-sizing: border-box !important;
}
.theme-footer-area [data-element-id="elm_VX5ZL_EtR_6Ynyvt7DWMRA"] { margin-top: 0 !important; }
.theme-footer-area [data-element-id="elm_gNu1-Ph6Qcagxu8BoDWdTg"] {
  flex: 0 0 100% !important;
  width: 100% !important;
}
/* the three columns */
.theme-footer-area [data-element-id="elm_Pct04UFFJy6opc-a_KEbMA"] {
  display: grid !important;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .8fr) minmax(0, 1.1fr);
  gap: 40px 56px;
  align-items: start;
}
.theme-footer-area [data-element-id="elm_Pct04UFFJy6opc-a_KEbMA"] > .zpelem-col {
  width: auto !important;
  flex: none !important;
  margin: 0 !important;
  min-width: 0;
}
/* every column starts at the same top: no leading margins inside a column */
/* (the first CHILD of a Zoho column is often its <style> tag, hence div:first-of-type) */
.theme-footer-area [data-element-id="elm_Pct04UFFJy6opc-a_KEbMA"] > .zpelem-col > div:first-of-type { margin-top: 0 !important; }
.theme-footer-area [data-element-id="elm_Pct04UFFJy6opc-a_KEbMA"] > .zpelem-col > .zpelement + .zpelement { margin-top: 18px !important; }
.theme-footer-area .dn-footer-quick { padding: 0 !important; }

/* one heading style for "Quick Links" and "Contact Us" */
.theme-footer-area .dn-footer-quick h4,
.theme-footer-area [data-element-id="elm_ezsYOTs3NMz71rFpwO6T-w"] .zpheading {
  margin: 0 0 16px !important;
  padding: 0 !important;
  color: var(--dn-foot-ivory) !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  letter-spacing: .02em;
  text-align: start !important;
}
.theme-footer-area [data-element-id="elm_ezsYOTs3NMz71rFpwO6T-w"] .zpheading br { display: none; }
.theme-footer-area [data-element-id="elm_ezsYOTs3NMz71rFpwO6T-w"] + .zpelement { margin-top: 0 !important; }
.theme-footer-area .dn-footer-quick ul { gap: 10px; }

/* brand column: logo beside the name, the box reserved so the lazy logo does not shift the column */
.theme-footer-area [data-element-id="elm_K8VSRlieIInsQrROMWFSMg"] .zpimagetext-container {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  justify-content: flex-start !important;
  align-items: center;
  gap: 14px;
}
.theme-footer-area [data-element-id="elm_K8VSRlieIInsQrROMWFSMg"] figure {
  flex: 0 0 52px;
  width: 52px !important;
  margin: 0 !important;
  float: none !important;
}
.theme-footer-area [data-element-id="elm_K8VSRlieIInsQrROMWFSMg"] img {
  width: 52px !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: 63 / 81;
  object-fit: contain;
}
.theme-footer-area [data-element-id="elm_K8VSRlieIInsQrROMWFSMg"] .zpimage-text {
  flex: 1 1 0 !important;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--dn-foot-ivory);
  text-align: start !important;
}
.theme-footer-area [data-element-id="elm_K8VSRlieIInsQrROMWFSMg"] .zpimage-text br,
.theme-footer-area [data-element-id="elm_K8VSRlieIInsQrROMWFSMg"] .zpimage-text p:empty { display: none; }
.theme-footer-area [data-element-id="elm_K8VSRlieIInsQrROMWFSMg"] .zpimage-text p { margin: 0 !important; }
/* "Where Trust Grows." sits in <pre><code> in the export */
.theme-footer-area [data-element-id="elm_K8VSRlieIInsQrROMWFSMg"] pre,
.theme-footer-area [data-element-id="elm_K8VSRlieIInsQrROMWFSMg"] code {
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
  font: inherit !important;
  white-space: normal !important;
  color: var(--dn-foot-gold) !important;
}
.theme-footer-area [data-element-id="elm_h_b4m6XGvBPwYlk_4UqY7w"] .zptext,
.theme-footer-area [data-element-id="elm_h_b4m6XGvBPwYlk_4UqY7w"] p {
  color: var(--dn-foot-muted);
  line-height: 1.75 !important;
  text-align: start !important;
}

/* Contact Us: one indent system — icon column + text column */
.theme-footer-area .zpelem-col .zpelem-iconheadingtext {
  width: 100% !important;
  max-width: none !important;
}
.theme-footer-area .zpelem-col .zpelem-iconheadingtext .zpicon-container {
  display: grid !important;
  grid-template-columns: 20px minmax(0, 1fr) !important;
  column-gap: 12px !important;
  row-gap: 4px !important;
  align-items: start !important;
  justify-items: start !important;
  width: 100% !important;
  max-width: none !important;
  text-align: start !important;
}
.theme-footer-area .zpelem-col .zpelem-iconheadingtext .zpicon {
  grid-column: 1 !important;
  grid-row: 1 / span 2 !important;
  justify-self: start !important;
  width: 20px !important;
  min-width: 20px !important;
  height: 20px !important;
  margin: 1px 0 0 !important;
  color: var(--dn-foot-gold) !important;
  fill: var(--dn-foot-gold) !important;
}
.theme-footer-area .zpelem-col .zpelem-iconheadingtext .zpicon svg {
  width: 18px !important;
  height: 18px !important;
  fill: var(--dn-foot-gold) !important;
}
.theme-footer-area .zpelem-col .zpelem-iconheadingtext .zpicon-heading,
.theme-footer-area .zpelem-col .zpelem-iconheadingtext .zpicon-text-container {
  grid-column: 2 !important;
  justify-self: stretch !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: start !important;
}
.theme-footer-area .zpelem-col .zpelem-iconheadingtext .zpicon-heading {
  grid-row: 1 !important;
  color: var(--dn-foot-ivory) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
}
.theme-footer-area .zpelem-col .zpelem-iconheadingtext .zpicon-heading br { display: none; }
.theme-footer-area .zpelem-col .zpelem-iconheadingtext .zpicon-text-container {
  grid-row: 2 !important;
  color: var(--dn-foot-muted) !important;
  font-size: 14px !important;
  line-height: 1.7 !important;
}
.theme-footer-area .zpelem-col .zpelem-iconheadingtext .zpicon-text-container p { margin: 0 !important; }
.theme-footer-area .zpelem-col .zpelem-iconheadingtext .zpicon-text-container :is(p, span, div) {
  font-size: inherit !important;
  line-height: inherit !important;
}
/* phone numbers are a left-to-right run inside a right-to-left column */
html[dir="rtl"] .theme-footer-area [data-element-id="elm_Dq2cXWDwAFsteqKXvq1cGA"] .zpicon-text-container > span {
  direction: ltr;
  unicode-bidi: isolate;
}
/* js/dn-portal-shell-v2.js gives all-Latin blocks dir="ltr" on /fa/ and /ar/ (so "contact@…" keeps
   its punctuation in place); that also made `start` mean LEFT, and the e-mail line jumped to the
   far edge of an RTL column. In the footer the column edge wins: right, like its neighbours. */
html[dir="rtl"] .theme-footer-area .zpelem-col [dir="ltr"] {
  text-align: right !important;
}

/* social icons: on-brand monochrome, 44px targets (#22) */
.theme-footer-area .zpsocialprofile-container {
  gap: 8px;
  justify-content: flex-start !important;
}
.theme-footer-area .zpsocialprofile-container .zpsocialprofile-wrapper {
  width: 44px !important;
  height: 44px !important;
  margin: 0 !important;
  border: 1px solid rgba(0, 123, 255, .45) !important;
  border-radius: 50% !important;
  background: transparent !important;
  box-sizing: border-box;
  transition: background-color .2s ease, border-color .2s ease;
}
.theme-footer-area .zpsocialprofile-container .zpsocialprofile-wrapper .zpsocialprofile {
  width: 18px !important;
  height: 18px !important;
  flex: 0 0 18px !important;
  fill: var(--dn-foot-ivory) !important;
  transition: fill .2s ease;
}
.theme-footer-area .zpsocialprofile-container .zpsocialprofile-wrapper:hover,
.theme-footer-area .zpsocialprofile-container .zpsocialprofile-wrapper:focus-visible {
  background: var(--dn-foot-gold) !important;
  border-color: var(--dn-foot-gold) !important;
}
.theme-footer-area .zpsocialprofile-container .zpsocialprofile-wrapper:hover .zpsocialprofile,
.theme-footer-area .zpsocialprofile-container .zpsocialprofile-wrapper:focus-visible .zpsocialprofile {
  fill: #131313 !important;
}
.theme-footer-area .zpsocialprofile-container .zpsocialprofile-wrapper:focus-visible {
  outline: 2px solid var(--dn-foot-ivory);
  outline-offset: 2px;
}

/* the bottom line: a hairline, then the copyright on the content's start edge */
.theme-footer-area [data-element-id="elm_3nqoveD2NVDLxaUZ8nbesQ"] { display: none !important; }
.theme-footer-area [data-element-id="elm_rzOQlJGeH12mDt2BHhbXTA"] {
  margin: 40px 0 0 !important;
  padding: 20px 0 0 !important;
  border-top: 1px solid var(--dn-foot-line);
}
html .theme-footer-area [data-element-id="elm_rzOQlJGeH12mDt2BHhbXTA"] :is(.zptext, p, span) {
  color: rgba(227, 237, 248, .6) !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  text-align: start !important;
}
/* /ar/ inserts a "WhatsApp · hours · Sunday closed" row before the copyright
   (<style id="dn-ar-footer-meta-style"> in the page): it takes the hairline, the copyright
   follows it without a second one, both on the same start edge */
html[lang="ar"] .theme-footer-area #dn-ar-footer-meta {
  justify-content: flex-start;
  max-width: none;
  margin: 40px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--dn-foot-line);
  border-bottom: 0;
  color: var(--dn-foot-muted);
  text-align: start;
}
.theme-footer-area #dn-ar-footer-meta + [data-element-id="elm_rzOQlJGeH12mDt2BHhbXTA"] {
  margin-top: 8px !important;
  padding-top: 0 !important;
  border-top: 0;
}

@media (max-width: 991px) {
  .theme-footer-area [data-element-id="elm_Pct04UFFJy6opc-a_KEbMA"] {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 36px 32px;
  }
  .theme-footer-area [data-element-id="elm_85qpA0UfchkXzeehaxN9dQ"] { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .theme-footer-area [data-element-id="elm_631AtLLdR1ylIDQPvs6mzQ"] { padding: 40px 0 24px !important; }
  .theme-footer-area [data-element-id="elm_Pct04UFFJy6opc-a_KEbMA"] {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  /* seven short links read better — and scroll shorter — in two columns of 44px rows */
  .theme-footer-area .dn-footer-quick ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 16px;
  }
  .theme-footer-area .dn-footer-quick a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .theme-footer-area [data-element-id="elm_rzOQlJGeH12mDt2BHhbXTA"],
  html[lang="ar"] .theme-footer-area #dn-ar-footer-meta { margin-top: 32px !important; }
}

/* ── Skip link (audit #22) ─────────────────────────────────────────────────────────────────────
   The theme parked it as a 1×1 box at -999px, which audits read as a broken 1px target, and a
   blog stylesheet hid it outright. It is now a real control: full size, moved just above the top
   edge until it takes keyboard focus, then it drops in as a 44px ink bar with a gold edge, over
   the sticky header. js/dn-portal-shell-v2.js points it at this page's main content (it used to
   reload another URL) and translates the label. */
a.theme-skip-to-needed-content {
  display: inline-flex !important;
  align-items: center;
  position: fixed !important;
  inset-block-start: 8px !important;
  inset-inline-start: 8px !important;
  z-index: 2147483001 !important;       /* above the enquiry dialog's backdrop and the fixed bars */
  width: auto !important;
  height: auto !important;
  min-height: 44px;
  padding: 0 18px !important;
  overflow: visible !important;
  border: 1px solid #007bff;
  border-radius: 12px;
  background: #131313 !important;
  color: #fff !important;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none !important;
  box-shadow: none;                     /* a shadow would peek in below the top edge while parked */
  transform: translateY(calc(-100% - 16px));
  transition: transform .15s ease;
}
a.theme-skip-to-needed-content:focus,
a.theme-skip-to-needed-content:focus-visible {
  transform: none;
  outline: 3px solid #007bff;
  outline-offset: 2px;
  box-shadow: 0 12px 28px -12px rgba(17, 24, 39, .6);
}
/* the programmatic focus the skip link hands to <main> needs no ring around the whole page */
#thememaincontent:focus,
#dn-main-content:focus { outline: none; }
@media (prefers-reduced-motion: reduce) {
  a.theme-skip-to-needed-content { transition: none; }
}

/* ── Minimum type (audit #23, 2026-09-22) ──────────────────────────────────────────────────────
   Measured at 390px across 34 pages: 340+ text runs below 12px, the smallest 6.5px (the
   "BEDROOMS" label on every listing card), 7–8px agent kickers and badges, 10px card meta and
   carousel counters; at 1440px the same labels and badges sat at 7–10px. The floor:
   · short labels and badges (uppercase kickers, counters, status pills, map credits): 11px at
     EVERY width, with a little tracking in Latin script so the capitals stay apart;
   · reading text on phones: 12px (on wider screens only the runs that sat below 11px are raised).
   The page-level rules these override are !important <style> blocks inside the page bodies (so
   they come later in the cascade) and the listing page's own stylesheet; `html body` + the
   component's id/classes gives these the specificity to win. The list is explicit on purpose: a
   blanket rule would also SHRINK anything designed larger than the floor. A page that restyles
   one of these components can drop its line here, as long as it keeps to the floor. */

/* 1. Labels and badges → 11px, every width */
html body #dnHybridListings .dn-card-badge,
html body #dnHybridListings.dn-hybrid-listings .dn-card-badge {
  font-size: 12px !important;           /* the listing stylesheet draws this pill; only its size is floored */
}
html body #dnHybridListings .dn-card-fact small,
html body #dnHybridListings.dn-hybrid-listings .dn-card-fact small,
html body #dnHybridListings .dn-agent-kicker,
html body #dnHybridListings.dn-hybrid-listings .dn-agent-kicker,
html body #dnHybridListings .dn-card-image-count,
html body #dnHybridListings.dn-hybrid-listings .dn-card-image-count,
html body #dnHybridListings .dn-agent-score,
html body #dnHybridListings.dn-hybrid-listings .dn-agent-score,
html body #dnHybridListings .dn-agent-reviews,
html body #dnHybridListings.dn-hybrid-listings .dn-agent-reviews,
html body #dnHybridListings .dn-filter-count,
html body .dn-v6-badge,
html body .dn-agent-badge,
html body .dn-v8-overview-stats > div > span,
html body .dn-v6-stats > div > span,
html body .dn-v6-counts > div > span,
html body .dn-google-photo-credit,
html body .dn-google-photo-credit a,
html body .leaflet-container .leaflet-control-attribution,
html body button.re-ai > .re-aiDot,
html body .hero-search-anchor .re-ai > .re-aiDot {
  font-size: 12px !important;
  line-height: 1.3 !important;
}
html body #dnHybridListings .dn-card-fact small,
html body #dnHybridListings.dn-hybrid-listings .dn-card-fact small,
html body #dnHybridListings .dn-card-badge,
html body #dnHybridListings.dn-hybrid-listings .dn-card-badge,
html body #dnHybridListings .dn-agent-kicker,
html body #dnHybridListings.dn-hybrid-listings .dn-agent-kicker,
html body .dn-v6-badge,
html body .dn-agent-badge,
html body .dn-v8-overview-stats > div > span,
html body .dn-v6-stats > div > span,
html body .dn-v6-counts > div > span {
  letter-spacing: .04em !important;
}
/* The home cards' photo counter ("1 / 136") is drawn at 12px by the home page itself (it was 10px);
   it used to be listed above at 11px, which overrode that. Its FOR SALE / RENT label is now
   .z-card__purpose at 12px in the page source, so the old div[style*="font-size:12px"] hook matched
   nothing and is gone. */
html body .z-card__carousel-count {
  font-size: 12px !important;
  line-height: 1 !important;
}
/* The two client-rendered detail shells and the agent profile were still below the floor:
   the EN/FA/AR pills 10.5px (css/dn-portal-navigation-v2.css .dn-languages a), the profile's
   listing tags 9px (css/dn-agent-profile-v2.css) and "About the developer" 9px
   (js/dn-property-detail-v1.js renders it as a bare <small>). */
html body .dn-languages a,
html body #dnAgentProfile .dn-tag,
html body .dn-developer-title small {
  font-size: 12px !important;
  line-height: 1.3 !important;
}
/* Persian and Arabic have no capitals to track */
html[lang^="fa"] body :is(#dnHybridListings.dn-hybrid-listings .dn-card-fact small, #dnHybridListings.dn-hybrid-listings .dn-card-badge, #dnHybridListings.dn-hybrid-listings .dn-agent-kicker, #dnHybridListings .dn-card-fact small, #dnHybridListings .dn-card-badge, #dnHybridListings .dn-agent-kicker, .dn-v6-badge, .dn-agent-badge, .dn-v8-overview-stats > div > span, .dn-v6-stats > div > span, .dn-v6-counts > div > span),
html[lang^="ar"] body :is(#dnHybridListings.dn-hybrid-listings .dn-card-fact small, #dnHybridListings.dn-hybrid-listings .dn-card-badge, #dnHybridListings.dn-hybrid-listings .dn-agent-kicker, #dnHybridListings .dn-card-fact small, #dnHybridListings .dn-card-badge, #dnHybridListings .dn-agent-kicker, .dn-v6-badge, .dn-agent-badge, .dn-v8-overview-stats > div > span, .dn-v6-stats > div > span, .dn-v6-counts > div > span) {
  letter-spacing: 0 !important;
}

/* 2. Phones: reading text → 12px, and the labels that are only small on a phone */
@media (max-width: 900px) {
  html body #dnHybridListings .dn-card-fact b,
  html body #dnHybridListings .dn-card-property-type,
  html body #dnHybridListings .dn-card-area span,
  html body #dnHybridListings .dn-agent-name,
  html body #dnHybridListings .dn-filter-pill > span:not(.dn-filter-count),
  html body #dnHybridListings .dn-mode-btn > span,
  html body .dn-v6-card-meta span,
  html body .dn-v8-search-note,
  html body .dn-v18-map-legend span,
  html body .dn-v8-card-title > span,
  html:not([dir="rtl"]) body .dn-v25-popular-areas button,   /* 15px on /fa/ and /ar/: leave */
  html body .dn-agent-scoreline small,
  html body #dnAgentProfile .dn-chip,
  html body #dn-visa-calc .dn-stat span,
  html body #dn-loan-calc .dn-stat .k,
  html body #dn-resale-calc .dn-stat .k,
  html body #dn-resale-calc .dn-split-item .k,
  html body #dn-resale-calc .dn-split-item .v-amt,
  html body #dn-resale-calc th,
  html:not([dir="rtl"]) body .dn-card p.dn-note,              /* 16.5px on /fa/ and /ar/: leave */
  html:not([dir="rtl"]) body .dn-section p.dn-note,
  html body .dn-results p.dn-grand-note,
  html body .dn-field .dn-counter,
  html:not([dir="rtl"]) body button.re-ai > span:not(.re-aiDot), /* 12.5px on /fa/ and /ar/ */
  /* the home page's ALL / APARTMENTS / VILLAS tabs and "View more" are controls, not badges;
     css/dn-home-mobile.css (loaded later) set them to 11px, the doubled class outranks it */
  html body nav.z-lux__tabs > button.z-lux__tab.z-lux__tab,
  html body .z-lux__more > a.z-lux__more-link {
    font-size: 12px !important;
  }
  /* Persian and Arabic tabs keep the 13px, untracked, that the RTL block above gives them */
  html[lang^="fa"] body nav.z-lux__tabs > button.z-lux__tab.z-lux__tab,
  html[lang^="ar"] body nav.z-lux__tabs > button.z-lux__tab.z-lux__tab {
    font-size: 14px !important;
    letter-spacing: 0 !important;
  }
  /* the communities header's brand line and the map's area label are 12px on desktop */
  html body .dn-brand-copy strong,
  html body .dn-brand-copy small,
  html body .dn-v6-area-label {
    font-size: 12px !important;
    line-height: 1.3 !important;
  }
}

/* 3. Wider screens: the reading text that sat below 11px (community card facts 10px, the English
   area chips 10.5px, the home page's "View more" 11px uppercase) */
@media (min-width: 901px) {
  html body .dn-v6-card-meta span,
  html:not([dir="rtl"]) body .dn-v25-popular-areas button,   /* 15px on /fa/ and /ar/: leave */
  html body .dn-agent-scoreline small,
  html body .z-lux__more > a.z-lux__more-link {
    font-size: 12px !important;
  }
}

/* ── "Back" link: one 44px floor for every shell (audit #22) ───────────────────────────────────
   The floor was written twice, in css/dn-property-detail-v1.css and css/dn-developer-detail-v1.css,
   so it reached the property and developer shells and — because the generated pages copy that head
   — every /property/ /project/ /community/ /developer/ /agent/ page. The three agent-profile shells
   (agent.html, fa/agent.html, ar/agent.html) load neither file, so their own inline `.dn-back` rule
   left the link at 21px (EN) / 26px (FA, AR): on an agent profile that link is the only route back
   to the directory, and it was the smallest target on a primary page.
   It lives here instead because all 70 pages load this file, so a shell added later inherits it.
   One class of specificity, and only the three properties the floor needs: #dnAgentProfile .dn-back
   (css/dn-agent-profile-v2.css) keeps owning the colour, gap, font and hover, and the two detail
   stylesheets declare the same values, so nothing is overridden anywhere. */
.dn-back {
  align-items: center;                  /* inert unless the element is a flex box, which each rule makes it */
  min-height: 44px;
  padding-inline-end: 12px;             /* widens the hit area past the label without moving the text */
}

/* 2026-10-10: the agents page Contact button lost its text on hover (the generic .btn:hover paints it white) */
.dn-page-agents .btn-enquire{background:#e3edf8!important;color:#131313!important;border:1px solid #007bff!important}
.dn-page-agents .btn-enquire:hover{background:#131313!important;border-color:#131313!important;color:#e3edf8!important}

/* 2026-10-10 (owner: "two backgrounds on the pages, one too many"): the Sell and Join form pages had a tinted, glowing panel behind the
   white form card. The panel goes; the card stays on the page's own ground. */
body .dn-request-page { background: transparent !important; box-shadow: none !important; }
body .dn-request-page::before, body .dn-request-page::after { display: none !important; }
body .dn-request-page .dn-card { box-shadow: 0 18px 44px -28px rgba(19, 19, 19, 0.28) !important; backdrop-filter: none !important; }
/* same rule for Agents: the hero card sits on the page's own white, not on a second ivory panel */
body.dn-page-agents .wrap { background: transparent !important; }

/* Why sell with Hamiyan Paydar - end of /sell-your-property (2026-10-28) */
.dn-audit-why { margin: 28px 0 8px; padding: 28px 24px 24px; border: 1px solid var(--color-border, var(--dn-line)); border-radius: 16px; background: var(--color-surface, #fff); scroll-margin-top: 96px; }
.dn-audit-why h2 { margin: 0 0 18px; font-size: 28px; line-height: 1.2; color: var(--color-text-primary, var(--dn-charcoal)); }
.dn-audit-why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.dn-audit-why-item { position: relative; padding: 18px 18px 16px 18px; border: 1px solid var(--color-border-subtle, rgba(23,23,23,.08)); border-radius: 16px; background: var(--color-surface-secondary, #F9F9F9); }
.dn-audit-why-n { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; margin-bottom: 10px; border-radius: 999px; background: var(--color-button-primary, #171717); color: var(--color-button-primary-text, #fff); font-size: 14px; font-weight: 700; }
.dn-audit-why-item strong { display: block; margin-bottom: 6px; font-size: 16px; line-height: 1.3; color: var(--color-text-primary, var(--dn-charcoal)); }
.dn-audit-why-item p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--color-text-secondary, var(--dn-muted)); }
.dn-audit-why-cta { margin: 18px 0 0; }
.dn-audit-why-cta a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 999px; background: var(--color-button-primary, #171717); color: var(--color-button-primary-text, #fff); font-weight: 600; text-decoration: none; }
@media (max-width: 991px) {
  .dn-audit-why { padding: 22px 16px 18px; border-radius: 16px; }
  .dn-audit-why-grid { grid-template-columns: 1fr; gap: 10px; }
  .dn-audit-why h2 { font-size: 20px; }
}

/* the office photo sits beside the form (owner 2026-10-28: the whole form on one screen, the photo on the side) */
.dn-audit-sell-photo { margin: 0 0 14px; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--color-surface-tertiary, #F4F4F4); }
.dn-audit-sell-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
