/* NYDS — New York Dental Space.
 * Preserved custom CSS from production NYDS Home (53046).
 * Its five pages were copied into rebuild on September 11, 2026.
 * Shared Rent, Insights and property pages inherit this file through brand/domain selection.
 */
/* Authoritative NYDS palette supplied by Rick. Keep the existing font kit. */
body.nyds-site {
    --nyds-primary: #8EAE9B;
    --nyds-deep: #245440;
    --nyds-secondary-gray: #787878;
    --nyds-tagline-gray: #6D6D6D;
    --nyds-panel: #EFF4F0;
    --nyds-white: #FFFFFF;
    --bs-primary: #245440;
    --bs-primary-rgb: 36, 84, 64;
    --bs-link-color: #245440;
    --bs-link-color-rgb: 36, 84, 64;
}
body.nyds-site.elementor-kit-8 {
    --e-global-color-primary: #8EAE9B;
    --e-global-color-secondary: #787878;
    --e-global-color-text: #6D6D6D;
    --e-global-color-accent: #245440;
}
body.nyds-site .nyds-panel { background-color: #EFF4F0; }
body.nyds-site .nyds-display-accent { color: #8EAE9B; }
body.nyds-site .nyds-emphasis { color: #245440; }
body.nyds-site .nyds-wordmark { display: inline-flex; align-items: baseline; gap: .4em; white-space: nowrap; }
body.nyds-site .nyds-wordmark > span:first-child { font-family: "Cormorant Garamond", Garamond, serif; color: #8EAE9B; letter-spacing: .17em; font-size: 25px; }
body.nyds-site .nyds-wordmark > span:last-child { font-family: Arial, sans-serif; color: #FFFFFF; letter-spacing: .1em; font-size: 19px; }
body.nyds-site .btn-icon-login-register { color: #FFFFFF; }
body.nyds-site:is(.page-id-53046,.page-id-53050,.page-id-53052,.page-id-53054) #desktop-header-search { display: none; }
@media (max-width: 767px) {
    body.nyds-site .nyds-wordmark { gap: .3em; }
    body.nyds-site .nyds-wordmark > span:first-child { font-size: 16px; letter-spacing: .12em; }
    body.nyds-site .nyds-wordmark > span:last-child { font-size: 11px; letter-spacing: .08em; }
}

/* Source Elementor element 802e223 */
.nyds-site.page-id-53046 .search-mobile-adv {
    display: block !important;
}

/* Source Elementor element c158453 */
.nyds-site.page-id-53046 .img-logos {
    position: relative; 
    width: 100%; 
    height: 150px; 
}

.nyds-site.page-id-53046 .img-logos img {
    position: relative;
    top: 100%; 
    left: 50%; 
    transform: translate(-50%, -20%); 
    min-height: 250px; 
    max-width: 100%;
    object-fit: contain;
}

.nyds-site.page-id-53046 .elementor-element.elementor-element-c158453 .swiper-wrapper{
  -webkit-transition-timing-function: linear !important;
  transition-timing-function: linear !important; 
}

@media (max-width:768px){
    .nyds-site.page-id-53046 .img-logos {
    position: relative; 
    width: 80%; 
    height: 140px; 
}

.nyds-site.page-id-53046 .img-logos img {
    position: relative;
    top: 100%; 
    left: 50%; 
    transform: translate(-50%, -20%); 
    min-height: 230px; 
    max-width: 100%;
    object-fit: contain;
}
}

/* Blue-tinted variation of the NYDS Contact Us map filter.
   Shared by Buy/Rent maps and listing-detail maps; other brands are untouched. */
body.nyds-site #houzez-properties-map .gm-style :is(canvas, img[src*="maps.google.com/maps/vt"]),
body.nyds-site #houzez-single-listing-map .gm-style :is(canvas, img[src*="maps.google.com/maps/vt"]),
body.nyds-site #houzez-overview-listing-map .gm-style :is(canvas, img[src*="maps.google.com/maps/vt"]),
body.nyds-site .elementor-53054 .elementor-element.elementor-element-3de29d3 iframe {
    filter: brightness(105%) contrast(85%) saturate(40%) blur(0px) hue-rotate(35deg);
}

/* Keep the seller property carousel level with the appraisal form. */
body.nyds-site .elementor-53050 .elementor-element.elementor-element-27daea83 > .elementor-container {
    align-items: flex-start;
}
body.nyds-site .elementor-53050 .elementor-element.elementor-element-32db3834.elementor-column > .elementor-widget-wrap,
body.nyds-site .elementor-53050 .elementor-element.elementor-element-4217af3e.elementor-column > .elementor-widget-wrap {
    align-content: flex-start;
    align-items: flex-start;
}
@media (max-width: 767px) {
    body.nyds-site .elementor-53050 .elementor-element.elementor-element-27daea83 > .elementor-container {
        gap: 24px;
    }
}

/* White seller content section, distinct from the brand site footer. */
body.nyds-site .elementor-53050 .elementor-element.elementor-element-43161b76 {
    background-color: #FFFFFF;
}
body.nyds-site .elementor-53050 .elementor-element.elementor-element-43161b76 > .elementor-background-overlay {
    background-color: transparent;
    opacity: 0;
}
body.nyds-site .elementor-53050 .elementor-element.elementor-element-905e0a6 .elementor-heading-title {
    color: #245440;
}
body.nyds-site .elementor-53050 .elementor-element.elementor-element-66d95d1,
body.nyds-site .elementor-53050 .elementor-element.elementor-element-864b82c {
    color: #6D6D6D;
}

/* Map palette applies to map imagery only; popup photos retain original colors. */

/* NYDS map markers use the established deep green; photos remain unfiltered. */
body.nyds-site #houzez-properties-map img[src*="/img/map/pin-"] {
    filter: url(#nyds-map-pin-palette);
}
body.nyds-site #houzez-properties-map .houzez-cluster-marker {
    background-image: none !important;
    background-color: #245440;
    border: 5px solid #fff;
    border-radius: 50%;
    box-sizing: border-box;
    color: #fff;
}

/* NYDS Sell uses the approved seller layout. */
/* Keep the seller property carousel level with the appraisal form. */
body.nyds-site .elementor-53050 .elementor-element.elementor-element-27daea83 > .elementor-container {
    align-items: flex-start;
}
body.nyds-site .elementor-53050 .elementor-element.elementor-element-32db3834.elementor-column > .elementor-widget-wrap,
body.nyds-site .elementor-53050 .elementor-element.elementor-element-4217af3e.elementor-column > .elementor-widget-wrap {
    align-content: flex-start;
    align-items: flex-start;
}
@media (max-width: 767px) {
    body.nyds-site .elementor-53050 .elementor-element.elementor-element-27daea83 > .elementor-container {
        gap: 24px;
    }
}

/* White seller content section, distinct from the blue site footer. */
body.nyds-site .elementor-53050 .elementor-element.elementor-element-43161b76 {
    background-color: #FFFFFF;
}
body.nyds-site .elementor-53050 .elementor-element.elementor-element-43161b76 > .elementor-background-overlay {
    background-color: transparent;
    opacity: 0;
}
body.nyds-site .elementor-53050 .elementor-element.elementor-element-905e0a6 .elementor-heading-title {
    color: #245440;
}
body.nyds-site .elementor-53050 .elementor-element.elementor-element-66d95d1,
body.nyds-site .elementor-53050 .elementor-element.elementor-element-864b82c {
    color: #6D6D6D;
}


/* Match NYMS footer layout while retaining the NYDS green background. */
body.nyds-site footer .wp-block-social-links {display:flex!important;gap:30px!important;align-items:center;justify-content:flex-end;border-top:1px solid rgba(255,255,255,.55);padding-top:24px!important;margin-top:24px!important;}
body.nyds-site footer .wp-block-social-links .wp-social-link {background:transparent!important;color:#fff!important;border:0!important;border-radius:0!important;}
body.nyds-site footer .wp-block-social-links a {display:flex;align-items:center;justify-content:center;width:40px;height:40px;padding:0!important;background:transparent!important;border:0!important;color:#fff!important;}
body.nyds-site footer .wp-block-social-links svg {width:32px!important;height:32px!important;fill:currentColor!important;}
body.nyds-site footer .wp-social-link-facebook {order:1;}
body.nyds-site footer .wp-social-link-x {order:2;}
body.nyds-site footer .wp-social-link-instagram {order:3;}
body.nyds-site footer .wp-social-link-linkedin {order:4;}
body.nyds-site footer .wp-block-social-links a:focus-visible {outline:2px solid white;outline-offset:3px;}
body.nyds-site .footer-bottom-wrap :is(.footer-copyright,.footer-nav,.footer-nav a) {font-family:Manrope,sans-serif!important;font-size:13px!important;font-weight:300!important;line-height:1.7!important;}

/* Use the NYMS consultation photograph on the NYDS homepage. */
body.nyds-site .elementor-53046 .elementor-element.elementor-element-7bd82471 {
    background-image: url('../images/nyms-doctor-contact-v1.webp') !important;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

/* Keep the seller image price light and unoutlined. */
body.nyds-site .elementor-53050 .elementor-element-f51dc5f :is(.item-price,.item-price *,.price,.price-postfix) {
    font-weight: 400 !important;
    -webkit-text-stroke: 0 !important;
    text-shadow: none !important;
}
