
/* NoorVista 2.1.135 — contact page layout recovery + strict social visibility */
.social-link {
  display: none !important;
}
.social-link.nv-social-visible {
  display: inline-grid !important;
}
.social-link[hidden],
.social-link.is-hidden,
.social-link.is-empty-social {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

body:has(.contact-hero) .contact-hero {
  min-height: auto !important;
  padding: 72px 0 66px !important;
}
body:has(.contact-hero) .contact-hero .container,
body:has(.contact-section) .contact-section .container {
  width: min(1180px, calc(100% - 48px)) !important;
  max-width: 1180px !important;
  margin-inline: auto !important;
}
body:has(.contact-hero) .contact-hero-grid {
  display: grid !important;
  grid-template-columns: minmax(380px, 460px) minmax(0, 1fr) !important;
  gap: 46px !important;
  align-items: center !important;
  direction: ltr !important;
}
body:has(.contact-hero) .contact-quick-card {
  direction: rtl !important;
  width: 100% !important;
  max-width: 460px !important;
  min-width: 380px !important;
  justify-self: stretch !important;
  align-self: start !important;
  padding: 28px !important;
  border-radius: 34px !important;
}
body:has(.contact-hero) .contact-hero-copy {
  direction: rtl !important;
  justify-self: end !important;
  width: 100% !important;
  max-width: 720px !important;
  text-align: right !important;
}
body:has(.contact-hero) .contact-hero-copy h1 {
  font-size: clamp(36px, 4.4vw, 58px) !important;
  line-height: 1.35 !important;
  margin-bottom: 18px !important;
}
body:has(.contact-hero) .contact-hero-copy p {
  font-size: 17px !important;
  line-height: 2.05 !important;
  max-width: 760px !important;
}
body:has(.contact-hero) .contact-quick-card h2 {
  font-size: 23px !important;
  text-align: center !important;
  margin: 0 0 20px !important;
}
body:has(.contact-hero) .contact-quick-card .quick-item {
  display: grid !important;
  grid-template-columns: 54px minmax(0, 1fr) !important;
  gap: 14px !important;
  align-items: center !important;
  width: 100% !important;
  min-height: 82px !important;
  padding: 16px 18px !important;
  margin-bottom: 12px !important;
  border-radius: 20px !important;
  background: #f8fbff !important;
  border: 1px solid #e0f2fe !important;
  overflow: visible !important;
}
body:has(.contact-hero) .contact-quick-card .quick-item > span:first-child {
  grid-column: 1 !important;
  width: 46px !important;
  min-width: 46px !important;
  height: 46px !important;
  border-radius: 16px !important;
  display: grid !important;
  place-items: center !important;
  background: #e0f2fe !important;
  color: #075985 !important;
  margin: 0 !important;
}
body:has(.contact-hero) .contact-quick-card .quick-item > span:first-child .nv-inline-icon {
  width: 22px !important;
  height: 22px !important;
}
body:has(.contact-hero) .contact-quick-card .quick-item > div {
  grid-column: 2 !important;
  min-width: 0 !important;
  width: 100% !important;
  display: block !important;
  text-align: right !important;
}
body:has(.contact-hero) .contact-quick-card .quick-item strong {
  display: block !important;
  margin: 0 0 4px !important;
  color: #075985 !important;
  font-size: 15px !important;
  line-height: 1.65 !important;
}
body:has(.contact-hero) .contact-quick-card .quick-item small,
body:has(.contact-hero) .contact-quick-card .quick-item a {
  display: block !important;
  color: #334155 !important;
  font-weight: 850 !important;
  font-size: 14px !important;
  line-height: 1.9 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
  text-align: right !important;
  max-width: 100% !important;
}
body:has(.contact-hero) .contact-quick-card .nv-address-lines,
body:has(.contact-hero) .contact-quick-card .nv-address-line,
body:has(.contact-hero) .contact-quick-card .nv-address-text {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  line-height: 1.9 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}
body:has(.contact-hero) .contact-quick-card .nv-address-line {
  padding-bottom: 8px !important;
  margin-bottom: 8px !important;
  border-bottom: 1px dashed rgba(8,145,178,.12) !important;
}
body:has(.contact-hero) .contact-quick-card .nv-address-line:last-child {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  border-bottom: 0 !important;
}
body:has(.contact-hero) .contact-quick-card .nv-address-label {
  display: block !important;
  width: auto !important;
  color: #0891b2 !important;
  font-weight: 950 !important;
  margin-bottom: 2px !important;
}
@media (max-width: 980px) {
  body:has(.contact-hero) .contact-hero-grid {
    grid-template-columns: 1fr !important;
    direction: rtl !important;
    gap: 28px !important;
  }
  body:has(.contact-hero) .contact-quick-card {
    min-width: 0 !important;
    max-width: 620px !important;
    justify-self: center !important;
    order: 2 !important;
  }
  body:has(.contact-hero) .contact-hero-copy {
    order: 1 !important;
    justify-self: center !important;
    text-align: center !important;
  }
  body:has(.contact-hero) .contact-hero-copy p {
    text-align: center !important;
    text-align-last: center !important;
  }
}
@media (max-width: 640px) {
  body:has(.contact-hero) .contact-hero .container,
  body:has(.contact-section) .contact-section .container {
    width: min(100% - 24px, 100%) !important;
  }
  body:has(.contact-hero) .contact-hero {
    padding: 46px 0 42px !important;
  }
  body:has(.contact-hero) .contact-quick-card {
    width: 100% !important;
    max-width: none !important;
    padding: 18px !important;
    border-radius: 26px !important;
  }
  body:has(.contact-hero) .contact-quick-card .quick-item {
    grid-template-columns: 46px minmax(0, 1fr) !important;
    min-height: 74px !important;
    padding: 13px 14px !important;
  }
}



/* NoorVista 2.1.137 — address/layout/hero recovery */

/* Address rendering: two clean rows, no nested boxes, no glued text */
.nv-address-lines {
  display: grid !important;
  gap: 8px !important;
  width: 100% !important;
}
.nv-address-line {
  display: block !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  line-height: 2 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}
.nv-address-label {
  display: inline !important;
  color: #0891b2 !important;
  font-weight: 950 !important;
  white-space: nowrap !important;
  margin-inline-end: 6px !important;
}
.nv-address-text {
  display: inline !important;
  color: inherit !important;
  font-weight: 850 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}

/* Home visit information card: rebuilt, clean, labeled rows */
.home-location-grid {
  align-items: stretch !important;
}
.home-location-copy {
  display: flex !important;
  flex-direction: column !important;
}
.home-location-details {
  display: grid !important;
  gap: 12px !important;
  margin-top: 14px !important;
}
.home-location-details .nv-visit-row {
  display: grid !important;
  grid-template-columns: 42px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 12px !important;
  min-height: 64px !important;
  padding: 14px 16px !important;
  border-radius: 18px !important;
  border: 1px solid #dbeafe !important;
  background: linear-gradient(180deg, #ffffff, #f8fbff) !important;
  color: #334155 !important;
  text-decoration: none !important;
}
.home-location-details .nv-visit-row > .nv-inline-icon {
  width: 42px !important;
  height: 42px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 14px !important;
  background: #e0f2fe !important;
  color: #075985 !important;
}
.home-location-details .nv-visit-row > div {
  min-width: 0 !important;
  display: grid !important;
  gap: 3px !important;
}
.home-location-details .nv-info-label {
  color: #075985 !important;
  font-weight: 950 !important;
  line-height: 1.7 !important;
}
.home-location-details .nv-info-value {
  color: #334155 !important;
  font-weight: 850 !important;
  line-height: 1.85 !important;
}
.home-location-details .nv-address-holder {
  min-width: 0 !important;
}
.home-location-details .nv-address-line {
  line-height: 1.9 !important;
}

/* Button below map, not inside information card */
.home-location-map-card {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
}
.home-location-map-card .map-open-link,
.contact-map-panel .map-open-link {
  width: fit-content !important;
  margin: 16px auto 0 !important;
  align-self: center !important;
}

/* Contact quick card: address card without nested borders */
.contact-quick-card .quick-item {
  border: 1px solid #dbeafe !important;
  background: linear-gradient(180deg, #ffffff, #f8fbff) !important;
  overflow: visible !important;
}
.contact-quick-card .nv-address-lines,
.contact-quick-card .nv-address-line {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.contact-quick-card .nv-address-line + .nv-address-line {
  margin-top: 7px !important;
}

/* Hero layout: image must not cover text */
.hero-grid {
  grid-template-columns: minmax(430px, .9fr) minmax(0, 1.1fr) !important;
  grid-template-areas: "visual content" !important;
  gap: 72px !important;
  align-items: center !important;
  direction: ltr !important;
}
.hero-content {
  grid-area: content !important;
  direction: rtl !important;
  position: relative !important;
  z-index: 5 !important;
  min-width: 0 !important;
}
.visual {
  grid-area: visual !important;
  width: min(100%, 560px) !important;
  max-width: 560px !important;
  justify-self: start !important;
  position: relative !important;
  z-index: 1 !important;
  min-height: 500px !important;
  pointer-events: none !important;
}
.photo-main {
  width: 70% !important;
  height: 350px !important;
  right: 8px !important;
  top: 72px !important;
}
.photo-small {
  width: 45% !important;
  height: 215px !important;
  left: 0 !important;
  top: 0 !important;
}
.photo-bottom {
  width: 48% !important;
  height: 205px !important;
  left: 24px !important;
  bottom: 24px !important;
}
.hero .eyebrow {
  max-width: 100% !important;
  white-space: nowrap !important;
}
.hero h1,
.hero h2 {
  max-width: 100% !important;
  white-space: nowrap !important;
  overflow-wrap: normal !important;
  word-break: keep-all !important;
  font-size: clamp(34px, 4.2vw, 58px) !important;
}
.trust-row {
  max-width: 820px !important;
  grid-template-columns: repeat(3, minmax(190px, 1fr)) !important;
  gap: 14px !important;
}
.trust-card {
  min-height: 112px !important;
  padding: 20px 16px !important;
  text-align: center !important;
}
.trust-card strong {
  white-space: nowrap !important;
  font-size: clamp(18px, 1.55vw, 22px) !important;
  line-height: 1.45 !important;
}
.trust-card small {
  white-space: nowrap !important;
  font-size: 13px !important;
  line-height: 1.7 !important;
}
@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr !important;
    grid-template-areas: "content" "visual" !important;
    gap: 36px !important;
    direction: rtl !important;
  }
  .visual {
    justify-self: center !important;
    max-width: 620px !important;
  }
}
@media (max-width: 760px) {
  .hero h1,
  .hero h2 {
    white-space: normal !important;
    font-size: clamp(29px, 8vw, 42px) !important;
  }
  .hero .eyebrow {
    white-space: normal !important;
  }
  .trust-row {
    grid-template-columns: 1fr !important;
  }
  .trust-card strong,
  .trust-card small {
    white-space: normal !important;
  }
  .visual {
    min-height: 420px !important;
  }
}



/* NoorVista 2.1.138 — remove duplicate money words + clean contact/footer info */

/* Only one amount-to-words helper should remain */
.nv-money-helper {
  display: none !important;
}

/* Universal clean address rows: no extra nested borders/pills */
.nv-address-lines {
  display: grid !important;
  gap: 7px !important;
  width: 100% !important;
  max-width: 100% !important;
}
.nv-address-line {
  display: block !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  line-height: 2 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}
.nv-address-label {
  display: inline !important;
  width: auto !important;
  padding: 0 !important;
  margin: 0 0 0 6px !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #0891b2 !important;
  font-weight: 950 !important;
  white-space: nowrap !important;
}
.nv-address-text {
  display: inline !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: inherit !important;
  font-weight: 850 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}

/* Home/contact visit info: remove nested borders around address labels and address content */
.home-location-details .nv-address-lines,
.home-location-details .nv-address-line,
.home-location-details .nv-address-label,
.home-location-details .nv-address-text,
.contact-quick-card .nv-address-lines,
.contact-quick-card .nv-address-line,
.contact-quick-card .nv-address-label,
.contact-quick-card .nv-address-text,
.contact-map-panel .nv-address-lines,
.contact-map-panel .nv-address-line,
.contact-map-panel .nv-address-label,
.contact-map-panel .nv-address-text {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.home-location-details .nv-visit-address,
.contact-quick-card .quick-item {
  overflow: visible !important;
}

.contact-quick-card .quick-item {
  border: 0 !important;
  background: #f8fbff !important;
  box-shadow: inset 0 0 0 1px rgba(224,242,254,.75) !important;
}

/* Footer clinic info rewrite */
.footer .contact-list {
  display: grid !important;
  gap: 12px !important;
  margin: 14px 0 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
.footer .contact-list li,
.footer .contact-list .nv-footer-contact-row {
  display: grid !important;
  grid-template-columns: 28px minmax(0, 1fr) !important;
  gap: 10px !important;
  align-items: start !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #e5eef7 !important;
  line-height: 2 !important;
}
.footer .contact-list .nv-contact-icon,
.footer .contact-list li > span:first-child {
  width: 28px !important;
  min-width: 28px !important;
  height: 28px !important;
  margin-top: 2px !important;
  display: grid !important;
  place-items: center !important;
  color: #bae6fd !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
.footer .contact-list .nv-contact-main {
  min-width: 0 !important;
  display: block !important;
  color: #e5eef7 !important;
  text-align: right !important;
  line-height: 2 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  text-decoration: none !important;
}
.footer .contact-list .nv-contact-main strong {
  color: #22d3ee !important;
  font-weight: 950 !important;
  margin-inline-end: 4px !important;
}
.footer .contact-list .nv-address-lines {
  gap: 6px !important;
}
.footer .contact-list .nv-address-line {
  display: block !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 2 !important;
}
.footer .contact-list .nv-address-label {
  color: #22d3ee !important;
  font-size: 14px !important;
}
.footer .contact-list .nv-address-text {
  color: #f8fafc !important;
  font-size: 14px !important;
}
