
/* ============================================
   ГЛОБАЛЬНЫЕ НАСТРОЙКИ + BOX-SIZING
   ============================================ */
*, *::before, *::after { box-sizing: border-box; }
#wp-admin-bar-site-name a.ab-item img {width:20px;height:20px}

/* 1. АНИМАЦИИ */
@keyframes nasa-wa-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
@keyframes pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); } 
  70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); } 
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); } 
}
@keyframes nasa-pulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.6); opacity: 0; }
}
@keyframes nasa-tg-pulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.6); opacity: 0; }
}
@keyframes nasa-ping-white {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(3.5); opacity: 0; }
}

/* 1. ГЛОБАЛЬНЫЕ НАСТРОЙКИ */
html, body { background: #fff !important; overflow-x: hidden !important; width: 100% !important; }
body { padding-top: 0 !important; }
.houzez-ele-search-form-wrapper, #houzez-search-tabs-wrap, .houzez-search-button { font-family: 'Montserrat', sans-serif !important; }
.page-wrap, .page-wrap .container, .listing-wrap, .listing-wrap .container, #half-map-listing-area { background: #fff !important; }
.page-wrap, .page-wrap .container, .page-template-property-listings-map, .rankmath-breadcrumbs-container { background: #fff !important; padding-top: 20px !important; }

/* 3. ШАПКА И ЛОГОТИП */
#header-section.nasa-custom-nav {
  display: flex !important; align-items: center !important; background: #fff !important;
  backdrop-filter: blur(10px); border-bottom: 1px solid rgba(0,0,0,0.05) !important;
  height: 90px !important; width: 100% !important; left: 0 !important; z-index: 1000 !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1); transition: box-shadow 0.3s ease, background-color 0.3s ease !important;
}
.nasa-logo-wrapper { display: flex !important; align-items: center !important; gap: 12px; text-decoration: none !important; }
.nasa-logo-img { height: 50px !important; width: auto !important; transition: transform 0.3s ease, opacity 0.3s ease; }
.nasa-logo-main { font-family: 'Montserrat', sans-serif !important; font-size: 21px !important; font-weight: 700 !important; color: #000 !important; margin: 0 !important; line-height: 1 !important; }
.nasa-logo-sub { font-size: 9px !important; font-weight: 600 !important; letter-spacing: 0.30em !important; color: #94a3b8 !important; text-transform: uppercase !important; transition: opacity 0.2s ease, color 0.2s ease; }
.header-sticky-space { display: none !important; }
.flex-shrink-0.flex.items-center { display: flex !important; flex-direction: row !important; align-items: center !important; justify-content: flex-end !important; flex: 0 0 auto !important; height: 100% !important; }

/* 4. ТЕЛЕФОН В ШАПКЕ */
.nasa-phone-block { display: flex !important; flex-direction: column !important; align-items: flex-end !important; margin-right: 20px !important; line-height: 1.1 !important; }
.nasa-phone-link { font-family: 'Montserrat', sans-serif !important; font-weight: 700 !important; color: #0f172a !important; font-size: 15px !important; letter-spacing: 0.02em; }
.nasa-status-text { font-family: 'Montserrat', sans-serif !important; font-size: 10px !important; color: #C1272D !important; font-weight: 700 !important; text-transform: uppercase !important; margin-top: 3px !important; letter-spacing: 0.05em !important; }

/* 5. HERO ЗАГОЛОВОК */
.elementor-heading-title, h1.elementor-heading-title { font-family: 'Playfair Display', serif !important; font-size: 62px !important; line-height: 1.05 !important; color: #fff !important; }
.elementor-heading-title span, h1 span { font-family: 'Playfair Display', serif !important; font-style: italic !important; font-weight: 700 !important; color: #C5A059 !important; font-size: 42px !important; position: relative !important; padding-bottom: 8px !important; border-bottom: 2px solid #C5A059 !important; line-height: 0.8 !important; text-decoration: none !important; display: inline-block !important; }

/* 6. ТЕКСТ ПОД ЗАГОЛОВОКОМ */
.elementor-widget-heading .elementor-heading-title p, .elementor-widget-heading p { font-family: 'Playfair Display', serif !important; font-size: 21px !important; font-weight: 500 !important; line-height: 1.4 !important; max-width: 500px !important; margin: 20px 0 30px 0 !important; text-transform: none !important; text-shadow: none !important; }
.elementor-heading-title p { margin-left: auto !important; margin-right: auto !important; text-align: center; }

/* =============================================================
   ПОИСК: ВЫРАВНИВАНИЕ ТАБОВ И ЗЕЛЕНАЯ КНОПКА
   ============================================================= */
#houzez-search-tabs-wrap.houzez-status-tabs { display: flex !important; justify-content: flex-start !important; gap: 4px !important; margin-bottom: -1px !important; }
.houzez-ele-search-form-wrapper, #houzez-search-tabs-wrap, .houzez-status-tabs .nav-link, .houzez-search-button { font-family: 'Montserrat', sans-serif !important; }
.houzez-ele-search-form-wrapper .filter-option-inner-inner, .houzez-ele-search-form-wrapper .bootstrap-select > .btn, .houzez-ele-search-form-wrapper select, .houzez-ele-search-form-wrapper input::placeholder { font-family: 'Montserrat', sans-serif !important; font-size: 12px !important; font-weight: 500 !important; color: #1a1a1a !important; text-transform: none !important; }
.houzez-ele-search-form-wrapper .btn.dropdown-toggle, .houzez-ele-search-form-wrapper input.form-control { background-color: #f8fafc !important; border: 1px solid #e2e8f0 !important; border-radius: 8px !important; padding-left: 15px !important; }
td.property-table-actions .dropdown-menu { top: 90px !important; z-index: 1000000 !important; }
.dropdown-menu .inner.show span.text { font-family: 'Montserrat', sans-serif !important; font-size: 14px !important; font-weight: 500 !important; }

#houzez-search-tabs-wrap .nav-link { background-color: #689F38 !important; color: #fff !important; padding: 10px 22px !important; font-size: 12px !important; font-weight: 600 !important; text-transform: capitalize !important; letter-spacing: 0.5px !important; border-radius: 12px 12px 0 0 !important; border: none !important; transition: 0.3s !important; }
#houzez-search-tabs-wrap .nav-link.active { background-color: #fff !important; color: #0f172a !important; }
#houzez-search-tabs-wrap .nav-link:hover { background-color: #7CB342 !important; color: #fff !important; }

.houzez-search-button { text-transform: uppercase !important; font-variant: small-caps !important; font-size: 12px !important; font-weight: 700 !important; letter-spacing: 2px !important; height: 46px !important; padding: 0 30px 0 50px !important; position: relative !important; background-color: #689F38 !important; border-radius: 8px !important; display: inline-flex !important; align-items: center !important; justify-content: center !important; width: auto !important; line-height: 1 !important; }
.houzez-search-button::before { content: "f002" !important; font-family: "Font Awesome 6 Free" !important; font-weight: 900 !important; position: absolute !important; left: 20px !important; font-size: 14px !important; color: #fff !important; -webkit-font-smoothing: antialiased; }
.houzez-search-button:hover { background-color: #558B2F !important; transform: translateY(-2px) !important; box-shadow: 0 15px 30px rgba(104, 159, 56, 0.4) !important; }

.houzez-ele-search-form-wrapper { background-color: #fff !important; padding: 20px 25px !important; border-radius: 20px !important; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2) !important; display: flex !important; flex-wrap: nowrap !important; align-items: center !important; z-index: 100 !important; gap: 10px !important; }
.houzez-ele-search-form-wrapper .elementor-column.form-group { flex: 1 !important; width: auto !important; margin: 0 !important; }

/* ФИКС ВЫПАДАЮЩИХ СПИСКОВ ПОИСКА */
.houzez-ele-search-form-wrapper .dropdown-menu { display: none; background-color: #fff !important; border: 1px solid #e2e8f0 !important; box-shadow: 0 20px 40px rgba(0,0,0,0.2) !important; z-index: 100000 !important; }
.houzez-ele-search-form-wrapper .dropdown-menu.show { display: block !important; opacity: 1 !important; visibility: visible !important; }
.houzez-ele-search-form-wrapper .dropdown-menu li a { color: #1a1a1a !important; padding: 10px 20px !important; font-family: 'Montserrat', sans-serif !important; font-size: 14px !important; background: #fff !important; display: block !important; }
.houzez-ele-search-form-wrapper .dropdown-menu li a:hover { background-color: #f8fafc !important; color: #689F38 !important; }
.houzez-ele-search-form-wrapper .bootstrap-select { position: relative !important; z-index: 10 !important; }
.houzez-ele-search-form-wrapper .dropdown-item.active, .houzez-ele-search-form-wrapper .dropdown-item:active { background-color: #689F38 !important; color: #fff !important; }
.houzez-ele-search-form-wrapper .elementor-field-type-submit { flex: 0 0 auto !important; display: flex !important; align-items: center !important; }

/* ФИКСАЦИЯ БЛОКА HEADER */
.header-main-wrap { position: relative !important; top: auto !important; width: 100% !important; z-index: 10000 !important; box-shadow: 0 2px 15px rgba(0,0,0,0.1); }
#header-section { position: relative !important; z-index: 10000 !important; display: block !important; opacity: 1 !important; visibility: visible !important; }
.top-bar-nasa-wrap { background: #0f172a !important; position: relative; z-index: 1001; border-bottom: 1px solid #1e293b; display: flex !important; font-family: 'Montserrat', sans-serif; }
#header-section.header-desktop { backdrop-filter: blur(10px); position: relative; z-index: 1000; }
.houzez-header-stick.sticky-nav { position: relative !important; }
.top-bar-nasa-inner { font-size: 11px; color: #fff; display: flex; justify-content: space-between; align-items: center; padding: 8px 0; }
.top-bar-nasa-inner a { color: #fff; text-decoration: none; transition: color 0.3s ease, opacity 0.3s ease; }
.top-bar-nasa-inner .nasa-icon-red { color: #C1272D; margin-right: 5px; }
.top-bar-nasa-inner .nasa-icon-green { color: #689F38; margin-right: 5px; }
.top-bar-nasa-inner a:hover { color: #C1272D !important; }
.top-bar-nasa-inner .nasa-social-link:hover.insta { color: #C13584 !important; }
.top-bar-nasa-inner .nasa-social-link:hover.wa { color: #25D366 !important; }
.top-bar-nasa-inner .nasa-social-link:hover.tg { color: #0088cc !important; }
.top-bar-left-nasa { display: flex; align-items: center; gap: 20px; }
.top-bar-right-nasa { display: flex; align-items: center; }
.nasa-social-group { display: flex; gap: 15px; padding-right: 15px; margin-right: 15px; border-right: 1px solid #334155; }
.nasa-lang-switcher { font-weight: bold; letter-spacing: 1px; font-size: 10px; }
.nasa-lang-active { color: #C1272D; cursor: default; }
.nasa-lang-divider { color: #475569; margin: 0 5px; }
.nasa-lang-inactive { color: #fff; opacity: 0.6; cursor: pointer; transition: opacity 0.3s ease; }
.nasa-lang-inactive:hover { opacity: 1; }
.nasa-phone-block { margin-right: 0 !important; white-space: nowrap !important; }

#desktop-header-search, .advanced-search-nav { z-index: 100 !important; position: relative !important; }
#desktop-header-search { padding-top: 50px !important; }
.houzez-search-form-js .bootstrap-select .dropdown-menu.inner { display: block !important; max-height: 400px !important; overflow-y: auto !important; }
.houzez-search-form-js .bootstrap-select.show { z-index: 999999 !important; }

/* NASA HOMES: PREMIUM DROPDOWN STYLE */
.houzez-search-form-js .dropdown-menu, .houzez-ele-search-form-wrapper .dropdown-menu { border: none !important; background-color: #ffffff !important; border-radius: 12px !important; box-shadow: 0 20px 40px rgba(0,0,0,0.15) !important; padding: 0 !important; margin-top: 0 !important; overflow: hidden !important; }
.houzez-search-form-js .bootstrap-select.show .dropdown-menu, .houzez-ele-search-form-wrapper .bootstrap-select.show .dropdown-menu { display: block !important; opacity: 1 !important; visibility: visible !important; z-index: 99999 !important; }
.houzez-search-form-js .dropdown-menu li a, .houzez-ele-search-form-wrapper .dropdown-menu li a { font-family: 'Montserrat', sans-serif !important; font-size: 14px !important; font-weight: 500 !important; color: #334155 !important; padding: 12px 20px !important; display: block !important; transition: background-color 0.2s ease, color 0.2s ease, padding-left 0.2s ease !important; background: transparent !important; border: none !important; }
.houzez-search-form-js .dropdown-menu li a:hover, .houzez-ele-search-form-wrapper .dropdown-menu li a:hover { background-color: #f8fafc !important; color: #689F38 !important; padding-left: 28px !important; }
.houzez-search-form-js .dropdown-menu li a span.text, .houzez-ele-search-form-wrapper .dropdown-menu li a span.text { color: inherit !important; }
.houzez-search-form-js .dropdown-menu.inner::-webkit-scrollbar { width: 4px; }
.houzez-search-form-js .dropdown-menu.inner::-webkit-scrollbar-thumb { background: #e2e8f0; border-radius: 10px; }
.houzez-search-form-js .dropdown-menu li a:hover { background-color: #689F38 !important; color: #ffffff !important; }
.houzez-search-form-js .dropdown-menu li a:hover span.text { color: #ffffff !important; }
.houzez-search-form-js .bootstrap-select .dropdown-menu.inner { display: block !important; position: static !important; background: none !important; top: 95% !important; }
.houzez-search-form-js .bootstrap-select .dropdown-menu, .houzez-ele-search-form-wrapper .bootstrap-select .dropdown-menu { margin-top: 0 !important; top: 100% !important; transform: none !important; }
.houzez-search-form-js .bootstrap-select.show, .houzez-ele-search-form-wrapper .bootstrap-select.show { margin-bottom: 0 !important; }

/* каталог на главной - Кнопка WhatsApp */
.btn-whatsapp-1seo { background-color: #2cb742 !important; width: 44px !important; height: 44px !important; border-radius: 10px !important; display: flex !important; align-items: center !important; justify-content: center !important; }
.btn-whatsapp-1seo i { color: #ffffff !important; font-size: 20px !important; }

/* NASA HOMES: СТИЛЬ ПЛАШЕК */
.nasa-1seo-card .item-header .label-wrap { top: 15px !important; left: 15px !important; display: flex !important; flex-direction: column !important; gap: 8px !important; }
.nasa-1seo-card .labels-wrap.labels-right { top: 20px !important; right: 15px !important; left: auto !important; display: flex !important; flex-direction: column !important; align-items: flex-end !important; gap: 6px !important; z-index: 10 !important; }
.nasa-1seo-card .hz-label.label-color-266, .nasa-1seo-card .label { background-color: #004ae4 !important; color: #ffffff !important; padding: 6px 11px !important; border-radius: 8px !important; font-family: 'Montserrat', sans-serif !important; font-size: 11px !important; font-weight: 600 !important; text-transform: uppercase !important; text-decoration: none !important; display: inline-flex !important; align-items: center !important; backdrop-filter: blur(4px) !important; border: none !important; box-shadow: 0 4px 10px rgba(0,0,0,0.1) !important; }
.nasa-1seo-card .label-featured { background-color: #76bc21 !important; }
.label-status, .label-featured { box-shadow: none !important; text-shadow: none !important; }

/* ШРИФТЫ */
.nasa-1seo-card .item-title { font-family: 'Montserrat', sans-serif !important; font-weight: 400 !important; font-size: 18px !important; color: #1a1a1a !important; white-space: normal !important; height: auto !important; min-height: 50px !important; line-height: 1.3 !important; text-align: left; margin: 20px 20px 15px 20px !important; padding: 0 !important; overflow: visible !important; display: block !important; }
.nasa-1seo-card .item-amenities-with-icons { padding: 0 20px !important; margin-bottom: 20px !important; min-height: 30px !important; display: flex !important; align-items: center !important; justify-content: flex-start !important; gap: 15px !important; }
.nasa-1seo-card .item-amenities-with-icons i, .nasa-1seo-card .item-amenities-with-icons svg { color: #c62828 !important; fill: #c62828 !important; }
.nasa-1seo-card .item-amenities-text { color: #c62828 !important; }
.nasa-1seo-card .item-amenities-with-icons li { list-style: none !important; display: flex !important; align-items: center !important; margin: 0 !important; }
.nasa-1seo-card .item-amenities-with-icons .hz-figure, .nasa-1seo-card .item-amenities-with-icons span { font-size: 14px !important; font-weight: 600 !important; }
.nasa-1seo-card .item-amenities-with-icons span, .nasa-1seo-card .item-amenities-with-icons .hz-figure span, .nasa-1seo-card .item-amenities-with-icons li { color: #888 !important; font-weight: 600 !important; font-family: 'Montserrat', sans-serif !important; }
.nasa-1seo-card .item-amenities-with-icons i { speak: never; font-style: normal !important; font-weight: normal !important; font-variant: normal !important; text-transform: none !important; line-height: 1; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; margin-right: 5px !important; color: #be1e2d !important; font-size: 16px !important; display: inline-block !important; vertical-align: middle !important; }

/* ЦЕНА */
.item-footer-row { margin-top: auto !important; padding-top: 15px !important; display: flex !important; justify-content: space-between !important; align-items: center !important; border-top: 1px solid #eee !important; }
.item-v5-price-btn { background-color: #c62828 !important; font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; font-size: 21px !important; padding: 8px 18px !important; border-radius: 6px !important; letter-spacing: -0.5px !important; color: #fff !important; }
.nasa-1seo-card .item-body { padding: 0 !important; display: flex !important; flex-direction: column !important; width: 100% !important; max-width: 100% !important; box-sizing: border-box !important; }
.nasa-1seo-card .item-title, .nasa-1seo-card .item-amenities-with-icons, .nasa-1seo-card .item-footer-row { width: auto !important; margin-left: 20px !important; margin-right: 20px !important; }
.nasa-1seo-card .item-footer-row { margin-bottom: 20px !important; }
.flex-grow-1 { flex-grow: 1 !important; min-width: 0 !important; }

/* СОЦ. КНОПКИ */
.nasa-social-buttons { position: fixed; right: 20px; bottom: 110px; display: flex; flex-direction: column; gap: 20px; z-index: 9999; }
.nasa-whatsapp-btn, .nasa-telegram-btn { width: 60px; height: 60px; color: #fff !important; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 30px; text-decoration: none !important; position: relative; transition: transform 0.3s ease, background-color 0.3s ease; box-shadow: 0 4px 15px rgba(0,0,0,0.2); }
.nasa-telegram-btn { background-color: #0088cc; }
.nasa-whatsapp-btn { background-color: #25d366; }
.nasa-whatsapp-pulse { position: absolute; width: 100%; height: 100%; background-color: #25D366; border-radius: 50%; z-index: -1; opacity: 0.7; animation: nasa-pulse 2s infinite; }
.nasa-whatsapp-btn:hover { transform: scale(1.1); background-color: #128C7E; }
.nasa-telegram-pulse { position: absolute; width: 100%; height: 100%; background-color: #0088cc; border-radius: 50%; z-index: -1; animation: nasa-tg-pulse 2s infinite; opacity: 0.7; }
.nasa-telegram-btn:hover { background-color: #0077b5; transform: scale(1.1); }

/* СТИЛЬ ПРЕИМЩУЕСТВА */
.font-montserrat { font-family: 'Montserrat', sans-serif !important; }
.serif { font-family: 'Playfair Display', serif; }
.nasa-benefits-light { padding: 80px 0; background-color: #fff; overflow: hidden; }
.nasa-subtitle { color: #C5A059; letter-spacing: 0.5em; font-size: 10px; font-weight: 900; }
.nasa-benefits-header { width: 100% !important; display: block !important; margin-bottom: 50px !important; }
.nasa-benefits-header h2 { font-size: 37px; font-weight: 700; margin-top: 10px; color: #0f172a; }
.nasa-red-divider { width: 100px; height: 6px; background-color: #be1e2d; margin: 20px auto !important; }
.nasa-benefits-grid { display: grid !important; grid-template-columns: repeat(4, 1fr) !important; gap: 25px !important; margin-top: 50px !important; }
.benefit-card { background: #fff !important; padding: 35px 25px !important; border: 1px solid #eee !important; display: flex !important; flex-direction: column !important; justify-content: space-between !important; transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease !important; text-decoration: none !important; min-height: 320px; border-radius: 20px; cursor: pointer; }
.benefit-card:hover { transform: translateY(-10px) !important; box-shadow: 0 20px 40px rgba(0,0,0,0.08) !important; border-color: #be1e2d !important; }
.benefit-icon { font-size: 32px !important; color: #be1e2d !important; margin-bottom: 20px !important; }
.benefit-content h3 { font-size: 20px; font-weight: 900; color: #0f172a; margin-bottom: 15px; line-height: 1.2; }
.benefit-content p { font-size: 13px; color: #6c757d; line-height: 1.8; margin-bottom: 30px; font-weight: 500; }
.benefit-footer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; }
.benefit-line-wrapper { flex-grow: 1; height: 1px; background: #eee; margin-right: 20px; position: relative; }
.benefit-line { position: absolute; left: 0; top: 0; height: 100%; width: 0; background: #be1e2d; transition: width 0.6s ease; }
.benefit-card:hover .benefit-line { width: 100%; }
.benefit-footer i { font-size: 12px; color: #ddd; transition: color 0.4s ease, transform 0.4s ease; }
.benefit-card:hover .benefit-footer i { color: #be1e2d; transform: translateX(8px); }

/* РАЙОНЫ */
.nasa-pulse-premium { background-color: #ffffff; }
.district-link-card { display: flex; flex-direction: column; text-decoration: none !important; background: #fff; border-radius: 24px; overflow: hidden; border: 1px solid #f3f3f3; transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.5s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.5s cubic-bezier(0.25, 1, 0.5, 1); }
.district-link-card:hover { transform: translateY(-12px); box-shadow: 0 40px 80px rgba(0, 0, 0, 0.06); border-color: #be1e2d; }
.district-image { height: 240px; position: relative; overflow: hidden; }
.district-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.district-link-card:hover .district-image img { transform: scale(1.1); }
.badge-status { position: absolute; top: 20px; right: 20px; padding: 6px 14px; border-radius: 100px; font-size: 10px; font-weight: 900; letter-spacing: 0.1em; color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); display: flex; align-items: center; gap: 8px; z-index: 10; }
.badge-status.open { background: rgba(22, 163, 74, 0.85); color: #fff; border: 1px solid #10b981; }
.badge-status.closed { background: rgba(190, 30, 45, 0.85); color: #fff; border: 1px solid #ef4444; }
.pulse-dot { width: 8px; height: 8px; background: #10b981; border-radius: 50%; display: inline-block; margin-right: 6px; animation: pulse-green 2s infinite; position: relative; }
.badge-status.open .pulse-dot::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: #fff; animation: nasa-ping-white 1.5s infinite; }
.district-info { padding: 30px; flex-grow: 1; display: flex; flex-direction: column; }
.tag-label { font-size: 10px; font-weight: 900; color: #C5A059; background: #fdfaf3; padding: 4px 10px; border-radius: 6px; text-transform: uppercase; }
.district-footer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.footer-line { height: 2px; flex-grow: 1; background: #be1e2d; transition: width 0.6s cubic-bezier(0.25, 1, 0.5, 1); }
.district-link-card:hover .footer-line { flex-grow: 2; width: 85%; }
.district-footer i { font-size: 12px; color: #be1e2d; transition: transform 0.4s ease; }
.district-link-card:hover .district-footer i { transform: translateX(5px); }
.nasa-gold-tag { font-family: 'Montserrat', sans-serif !important; font-size: 11px !important; font-weight: 800 !important; letter-spacing: 5px !important; color: #C5A059 !important; text-transform: uppercase; display: block; margin-bottom: 15px; }

/* ЗАГОЛОВКИ */
.nasa-premium-header { text-align: center; margin-bottom: 30px; padding-top: 10px; }
.nasa-display-title, .page-wrap .page-title h1, .blog-wrap .page-title-wrap .page-title h1 { font-family: 'Cormorant Garamond', serif !important; font-size: 42px !important; font-weight: 800 !important; font-style: italic !important; color: #0f172a !important; line-height: 1.3 !important; margin-top: 15px !important; width: 100% !important; }
.nasa-description { font-family: 'Montserrat', sans-serif !important; font-size: 14px !important; font-weight: 400 !important; color: #888888 !important; text-transform: none !important; letter-spacing: 0.5px !important; line-height: 1.6 !important; max-width: 600px !important; margin: 15px auto 0 !important; text-align: center !important; }
.nasa-premium-header:hover .nasa-description { color: #0f172a !important; transition: color 0.4s ease; }

/* НАША КОМАНДА */
.agent-item { margin-bottom: 40px !important; }
.agent-item:hover { transform: scale(1.05) !important; box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important; z-index: 10; }
.agent-item:not(:hover) { transform: scale(1) !important; z-index: 1; }
.agent-thumb { position: relative; overflow: hidden; aspect-ratio: 3 / 4 !important; margin-bottom: 20px !important; width: 100% !important; padding: 0 !important; }
.agent-thumb a, .agent-thumb img { width: 100% !important; height: 100% !important; object-fit: cover !important; border-radius: 0 !important; transition: transform 0.7s ease !important; padding: 0 !important; }
.agent-info { padding: 0 !important; flex-grow: 1 !important; display: flex !important; flex-direction: column !important; justify-content: flex-start !important; text-align: center !important; }
.agent-item .agent-body { display: none !important; }
.agent-info .agent-name a { font-family: 'Montserrat', sans-serif !important; font-size: 18px !important; font-weight: 500 !important; letter-spacing: 1px !important; text-transform: uppercase !important; color: #0f172a !important; text-decoration: none !important; margin-bottom: 10px !important; display: block !important; min-height: 50px !important; }
.agent-info .agent-name::after { content: ''; display: block; width: 35px; height: 2px; background: #C1272D; margin: 15px auto; }
.agent-info .agent-company { font-family: 'Montserrat', sans-serif !important; color: #C5A059 !important; font-size: 11px !important; min-height: 40px !important; font-weight: 700 !important; text-transform: uppercase !important; letter-spacing: 2px !important; margin-bottom: 20px !important; flex-grow: 1 !important; }
.agent-link a, .agent-view-profile { font-family: 'Montserrat', sans-serif !important; font-size: 11px !important; font-weight: 700 !important; text-transform: uppercase !important; letter-spacing: 2px !important; color: #0f172a !important; padding-top: 15px !important; margin-top: auto !important; border-bottom: 2px solid #be1e2d !important; padding-bottom: 4px !important; text-decoration: none !important; }
.agents-module.agents-module-slider .property-carousel-buttons-wrap { display: none !important; }

/* НОВОСТИ */
/* Сброс старых стилей */
.blog-post-item-v1,
section.half-map-wrap,
#desktop-header-search {
    background: #ffffff !important;
    border: none !important;
    box-shadow: none !important;
}

/* Сетка новостей — равная высота */
.blog-posts-slider-wrap .slick-list {
    margin: 0 -15px !important;
}

.blog-posts-slide-wrap {
    padding: 0 15px !important;
    height: 100%;
}
/* Карточка */
.blog-post-item-v1 {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    height: 100%;
    display: flex !important;
    flex-direction: column;
}

.blog-post-item-v1:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: #ddd;
}

/* Изображение — фиксированная высота + hover */
.blog-post-item-v1 .blog-post-thumb {
    position: relative;
    overflow: hidden;
    height: 220px;
    flex-shrink: 0;
}

.blog-post-item-v1 .blog-post-thumb::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.4s ease;
    pointer-events: none;
}

.blog-post-item-v1:hover .blog-post-thumb::after {
    background: rgba(0, 0, 0, 0.15);
}

.blog-post-item-v1 img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform 0.6s ease !important;
    border-radius: 0 !important;
}

.blog-post-item-v1:hover img {
    transform: scale(1.08);
}

/* Тело карточки — flex-распределение */
.blog-post-item-v1 .blog-post-content {
    padding: 20px 24px 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
/* Заголовок — фикс обрезки */
.blog-post-title h3 {
    margin: 0 0 12px 0;
    min-height: 60px; /* резервируем место для 2 строк */
}

.blog-post-title h3 a {
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 22px !important;
    font-weight: 900 !important;
    font-style: italic !important;
    color: #0f172a !important;
    line-height: 1.3 !important;
    text-decoration: none !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.blog-post-item-v1:hover .blog-post-title h3 a {
    color: #be1e2d !important;
}
/* Описание */
.blog-post-body {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 14px !important;
    color: #666 !important;
    line-height: 1.6 !important;
    margin-bottom: 20px !important;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

/* Кнопка "Подробнее" — обновлённый стиль */
.blog-post-link {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.blog-post-link a {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    color: #0f172a !important;
    padding-bottom: 4px !important;
    text-decoration: none !important;
    position: relative;
    display: inline-block;
}

.blog-post-link a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #be1e2d;
    transition: width 0.3s ease;
}

.blog-post-item-v1:hover .blog-post-link a::after {
    width: 120%;
}
/* ============================================
   СТРЕЛКИ СЛАЙДЕРА (если используется slick)
   ============================================ */

.blog-posts-slider-wrap .slick-prev,
.blog-posts-slider-wrap .slick-next {
    width: 44px;
    height: 44px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    z-index: 10;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.blog-posts-slider-wrap .slick-prev:hover,
.blog-posts-slider-wrap .slick-next:hover {
    background: #0f172a;
    border-color: #0f172a;
}

.blog-posts-slider-wrap .slick-prev:hover::before,
.blog-posts-slider-wrap .slick-next:hover::before {
    color: #fff;
}

.blog-posts-slider-wrap .slick-prev::before,
.blog-posts-slider-wrap .slick-next::before {
    color: #0f172a;
    font-size: 14px;
    opacity: 1;
}

.blog-posts-slider-wrap .slick-prev {
    left: -20px;
}

.blog-posts-slider-wrap .slick-next {
    right: -20px;
}

/* СТАТИСТИКА */
.nasa-dark-stats { display: flex; justify-content: space-between; align-items: flex-start; background: #0f172a !important; padding: 100px 40px; gap: 20px; flex-wrap: wrap; }
.nasa-stat-card { flex: 1; min-width: 200px; text-align: center; padding: 20px; transition: transform 0.3s ease; }
.nasa-stat-card:hover { transform: translateY(-10px); }
.nasa-stat-num { display: block; font-family: 'Cormorant Garamond', serif !important; font-size: 72px !important; font-weight: 700; color: #C5A059 !important; line-height: 1; margin-bottom: 20px; }
.nasa-stat-line { width: 40px; height: 3px; background: #be1e2d; margin: 0 auto 20px; }
.nasa-stat-desc { display: block; font-family: 'Montserrat', sans-serif !important; font-size: 11px !important; font-weight: 800; letter-spacing: 2px; color: #ffffff !important; text-transform: uppercase; line-height: 1.5; }

/* НОВОСТИ С ЛИСТАНИЕМ */
.latest-news-section .news-scroll-container { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 20px; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.latest-news-section .news-scroll-container::-webkit-scrollbar { height: 6px; }
.latest-news-section .news-scroll-container::-webkit-scrollbar-thumb { background: #c0392b; }
.latest-news-section .news-card-image { margin: 4px !important; border-radius: 10px !important; width: 100% !important; height: 200px !important; overflow: hidden !important; position: relative; }
.latest-news-section .news-card { flex: 0 0 330px; scroll-snap-align: start; background: #fff; border: 1px solid #eee !important; overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease; display: flex; flex-direction: column; }
.latest-news-section .news-card:hover { transform: translateY(-5px); }
.latest-news-section .news-card-content { padding: 20px; }
.latest-news-section .news-card-content h3 { font-size: 18px; height: 75px; overflow: hidden; }
.latest-news-section .news-card-content h3 a { text-decoration: none; color: #2c3e50; }
.latest-news-section .news-card-image img { border-radius: 0 !important; width: 100% !important; height: 100% !important; object-fit: cover !important; object-position: center !important; transition: transform 0.5s ease !important; }
.latest-news-section .news-card:hover .news-card-image img { transform: scale(1.05); }
.latest-news-section .news-card-content p { font-size: 14px; color: #7f8c8d; line-height: 1.5; }

/* ПРЕИМУЩЕСТВА */
.nasa-stats-container { display: flex !important; justify-content: space-around !important; align-items: flex-start !important; background-color: #0f172a !important; padding: 100px 40px !important; gap: 20px !important; flex-wrap: wrap !important; }
.nasa-stat-item { flex: 1 !important; min-width: 180px !important; text-align: center !important; padding: 20px 10px !important; }
.nasa-stat-number { display: block !important; font-family: 'Cormorant Garamond', serif !important; font-size: 72px !important; font-weight: 700 !important; color: #C5A059 !important; line-height: 1 !important; margin-bottom: 20px !important; }
.nasa-stat-text { display: block !important; font-family: 'Montserrat', sans-serif !important; font-size: 11px !important; font-weight: 800 !important; letter-spacing: 2.5px !important; color: #ffffff !important; text-transform: uppercase !important; line-height: 1.4 !important; margin-top: 20px !important; }

/* ОТЗЫВЫ */
#nasa-final-reviews { padding: 20px 0; background: #fff; font-family: 'Montserrat', sans-serif !important; }
#nasa-final-reviews .reviews-header { text-align: center; margin-bottom: 30px; }
#nasa-final-reviews .reviews-header h2 { font-size: 32px; color: #111; margin: 10px 0; font-weight: 800; }
#nasa-final-reviews .red-line { width: 50px; height: 3px; background: red; margin: 0 auto; }

/* ПОДВАЛ FOOTER */
.nasa-vip-footer {
    background: #0f172a;
    color: #fff;
    padding-top: 70px;
    font-family: 'Montserrat', sans-serif;
    border-top: 1px solid #1e293b;
    clear: both;
}

.nasa-footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding: 0 20px 60px;
}

/* Логотип и описание */
.f-logo {
    max-width: 180px;
    margin-bottom: 25px;
    display: block;
}

.f-description {
    color: #8a8a8a;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Бейджи */
.f-trust-badges {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: #c5a059;
    font-weight: 600;
    text-transform: uppercase;
    justify-content: flex-start;
    flex-wrap: wrap;
}

/* Заголовки колонок */
.f-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 30px;
    position: relative;
    color: #fff;
    display: table;
    text-align: left;
}

.f-title::after {
    content: '';
    position: absolute;
    left: 0 !important;
    bottom: -10px;
    width: 35px;
    height: 2px;
    background: #c5a059;
}

/* Списки ссылок */
.f-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.f-list li {
    margin-bottom: 12px;
}

.f-list li a {
    color: #8a8a8a;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
    display: inline-block;
}

.f-list li a:hover {
    color: #c5a059;
    padding-left: 8px;
}

/* Контакты — телефон и email кликабельные */
.f-contact-info .c-link {
    display: flex;
    align-items: center;
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    margin-bottom: 15px;
    transition: color 0.3s;
}

.f-contact-info .c-link:hover {
    color: #c5a059;
}

.f-contact-info i {
    color: #c5a059;
    margin-right: 10px;
    width: 16px;
    text-align: center;
}

.f-contact-info .c-addr {
    color: #8a8a8a;
    font-size: 14px;
    line-height: 1.5;
    margin-top: 15px;
    display: flex;
    align-items: flex-start;
}

.f-contact-info .c-addr i {
    margin-top: 3px;
}

/* Соцсети — фикс иконок */
.f-social {
    display: flex;
    gap: 12px;
    margin-top: 25px;
    justify-content: flex-start;
}

.f-social a {
    width: 40px;
    height: 40px;
    border: 1px solid #334155;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
    font-size: 16px;
}

.f-social a:hover {
    background: #c5a059;
    color: #0f172a;
    border-color: #c5a059;
    transform: translateY(-3px);
}

/* Нижняя часть */
.nasa-footer-bottom {
    background: #000;
    padding: 25px 0;
    border-top: 1px solid #1a1a1a;
    font-size: 12px;
    color: #555;
}

.bottom-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.legal-menu a {
    color: #555;
    text-decoration: none;
    margin-left: 20px;
    transition: 0.3s;
}

.legal-menu a:hover {
    color: #c5a059;
}

/* КНОПКА КОНСУЛЬТАЦИИ */
.nasa-cta-button { display: inline-flex !important; align-items: center; justify-content: center; background-color: #25D366 !important; color: #ffffff !important; border-radius: 50px !important; transition: background-color 0.3s ease-in-out, transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out !important; box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2) !important; border: none !important; cursor: pointer; width: 100% !important; }
.nasa-cta-button .elementor-button-content-wrapper, .nasa-cta-button * { background-color: transparent !important; background: none !important; border: none !important; box-shadow: none; }
.nasa-cta-button:hover { background-color: #128C7E !important; transform: translateY(-3px) !important; box-shadow: 0 15px 25px rgba(18, 140, 126, 0.3) !important; }
.nasa-cta-button::before { content: 'f232'; font-family: "Font Awesome 5 Brands"; margin-right: 12px; font-size: 24px; vertical-align: middle; }

/* КОНТАКТЫ */
#nasa-contact-section {
    display: flex !important;
    align-items: stretch !important;
    font-family: 'Montserrat', sans-serif;
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    gap: 0 !important; /* убираем лишний gap */
}
/* Фикс: запрещаем карте перекрывать контент */
#nasa-contact-section .contact-card-info > div:last-child {
    margin-top: 20px; /* вместо auto — фиксированный отступ */
    width: 100%;
}
/* iframe карты — адаптивная высота */
#nasa-contact-section iframe {
    width: 100% !important;
    height: 400px !important; /* уменьшили с 525px */
    border: none !important;
    display: block;
}
#nasa-contact-section .contact-card-info,
#nasa-contact-section .form-container {
    background: #ffffff !important;
    padding: 35px !important;
    margin: 0 !important;
    border: 1px solid #e0e0e0 !important;
    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box !important;
}
#nasa-contact-section .contact-card-info {
    border-left: 5px solid #cea44c !important;
}
#nasa-contact-section h2.nasa-header {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    text-transform: uppercase;
    color: #1a1a1a;
    margin-bottom: 25px;
    font-weight: 700;
}
#nasa-contact-section .form-container input,
#nasa-contact-section .form-container textarea {
    width: 100% !important;
    background: #fcfcfc !important;
    border: 1px solid #e2e2e2 !important;
    border-radius: 0 !important;
    padding: 12px 14px !important;
    margin-bottom: 12px !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 14px !important;
    transition: border-color 0.3s ease, background-color 0.3s ease;
    box-sizing: border-box;
}
#nasa-contact-section .elementor-column.form-group input { margin: 1px 2px !important; }
#nasa-contact-section .elementor-column.form-group label { margin: 0 !important; padding: 0 !important; }
#nasa-contact-section form { margin-top: -10px !important; padding-top: 0px !important; }
#nasa-contact-section .form-container input:focus,
#nasa-contact-section .form-container textarea:focus {
    border-color: #cea44c !important;
    background: #fff !important;
    outline: none !important;
}
#nasa-contact-section .info-row {
    margin-bottom: 18px;
    line-height: 1.6;
}

#nasa-contact-section .info-row i {
    color: #cea44c;
    margin-right: 15px;
    font-size: 18px;
}
#nasa-contact-section .form-container button[type="submit"],
#nasa-contact-section .form-container input[type="submit"] {
    background: #0f172a !important;
    color: #fff !important;
    padding: 14px 30px !important;
    text-transform: uppercase !important;
    font-weight: 600 !important;
    border: none !important;
    cursor: pointer !important;
    transition: 0.3s ease !important;
    border-radius: 4px;
    width: 100%;
}
#nasa-contact-section .info-text strong {
    display: block;
    color: #0f172a;
    font-size: 13px;
    text-transform: uppercase;
    margin-bottom: 4px;
}
#nasa-contact-section .form-container button[type="submit"]:hover {
    background: #cea44c !important;
}
#nasa-contact-section .messenger-btns {
    display: flex;
    gap: 10px;
    margin: 15px 0;
}

#nasa-contact-section .m-btn {
    flex: 1;
    padding: 14px;
    text-align: center;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: opacity 0.3s ease, transform 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
}

#nasa-contact-section .wa-btn {
    background: #25D366;
}

#nasa-contact-section .tg-btn {
    background: #0088cc;
}

#nasa-contact-section .m-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* О НАС */
.nasa-about-container { font-family: 'Montserrat', sans-serif; color: #1a1a1a; margin: 0 auto; }
.nasa-about-container .nasa-expert-img { float: right; width: 350px; max-width: 100%; height: auto; margin-left: 30px; margin-bottom: 20px; border-radius: 4px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.nasa-about-container .nasa-about-header, .nasa-about-container .nasa-expert-block { text-align: left; margin-bottom: 20px !important; overflow: hidden; background: #fff; padding: 10px; border: 1px solid #eee; }
.nasa-about-container .nasa-about-header h2, .nasa-about-container .nasa-expert-block h2 { font-size: 28px !important; font-weight: 700 !important; text-transform: uppercase !important; letter-spacing: 1px !important; margin-bottom: 20px !important; }
.nasa-about-container .nasa-about-header h2 span, .nasa-about-container .nasa-expert-block h2 span { color: #689F38 !important; }
.nasa-about-container .nasa-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-bottom: 60px; }
.nasa-about-container .nasa-card { background: #f9f9f9; padding: 20px; border-bottom: 4px solid #cea44c; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.nasa-about-container .nasa-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.nasa-about-container .nasa-card h3 { color: #cea44c; font-size: 20px; margin-bottom: 15px; text-transform: uppercase; }

/* БЛОК ПОД ВАШ БЮДЖЕТ */
.nasa-ui-section { background-color: #fff; font-family: 'Montserrat', sans-serif; }
.ui-container { max-width: 1200px; margin: 0 auto; }
.ui-head { text-align: center; margin-bottom: 80px; }
.ui-label { font-size: 12px; font-weight: 800; color: #c5a059; text-transform: uppercase; letter-spacing: 2.5px; margin-bottom: 15px; }
.ui-title { font-size: 42px; font-weight: 800; color: #0f172a; letter-spacing: -1px; margin-bottom: 20px; }
.ui-lead { font-size: 18px; color: #0f172a; max-width: 600px; margin: 0 auto; line-height: 1.6; }
.ui-cards-wrapper { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 30px; }
.ui-card { background: #fff; border-radius: 24px; padding: 10px; transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.5s cubic-bezier(0.23, 1, 0.32, 1), border-color 0.5s cubic-bezier(0.23, 1, 0.32, 1); border: 1px solid #f0f0f0; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02), 0 2px 4px -1px rgba(0,0,0,0.01); }
.ui-card:hover { transform: translateY(-12px); box-shadow: 0 40px 80px -20px rgba(0,0,0,0.12); }
.ui-card-inner { padding: 40px 30px; height: 100%; display: flex; flex-direction: column; }
.ui-featured { background: #0f172a; color: #fff; border: none; }
.ui-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.ui-status-pill { background: #f1f3f5; color: #495057; padding: 6px 14px; border-radius: 100px; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.ui-pill-white { background: rgba(255,255,255,0.15); color: #fff; }
.ui-city { font-size: 26px; font-weight: 800; }
.ui-data-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 25px; }
.ui-data-label { font-size: 14px; color: #0f172a; text-transform: uppercase; font-weight: 600; }
.ui-data-value { font-size: 32px; font-weight: 800; color: #c5a059; }
.ui-progress-container { margin-bottom: 35px; }
.ui-progress-label { font-size: 13px; margin-bottom: 10px; color: #0f172a; }
.ui-progress-bar { height: 6px; background: #eee; border-radius: 10px; overflow: hidden; }
.ui-fill { height: 100%; background: #0f172a; border-radius: 10px; }
.ui-bullets { list-style: none; padding: 0; margin: 0 0 40px 0; flex-grow: 1; }
.ui-bullets li { font-size: 15px; margin-bottom: 14px; display: flex; align-items: center; color: inherit; opacity: 0.8; }
.ui-bullets li::before { content: ""; width: 8px; height: 2px; background: #c5a059; margin-right: 15px; border-radius: 2px; }
.ui-main-btn { display: block; width: 100%; text-align: center; padding: 18px; border-radius: 16px; background: #f8f9fa; color: #0f172a; text-decoration: none; font-weight: 700; transition: 0.3s; font-size: 15px; }
.ui-main-btn:hover { background: #0f172a; color: #fff; }
.ui-btn-gold { background: #c5a059; color: #fff; }
.ui-btn-gold:hover { background: #fff; color: #c5a059; }

/* FAQ Rank Math */
.page-template-property-listings-map .rank-math-block { margin-top: 30px; background: #ffffff; border-radius: 12px; overflow: hidden; }
.page-template-property-listings-map .rank-math-list-item { border-bottom: 1px solid #f0f0f0; padding: 15px 0; }
.page-template-property-listings-map .rank-math-question { font-size: 18px !important; font-weight: 600 !important; color: #222 !important; cursor: pointer; position: relative; padding-left: 35px !important; margin-bottom: 10px !important; transition: color 0.3s ease; }
.page-template-property-listings-map .rank-math-question:before { content: 'Q:'; position: absolute; left: 0; color: #be1e2d; font-weight: 800; }
.page-template-property-listings-map .rank-math-question:hover { color: #be1e2d !important; }
.page-template-property-listings-map .rank-math-answer { font-size: 16px; line-height: 1.6; color: #555; padding-left: 35px; border-left: 3px solid #be1e2d; margin-left: 5px; }

/* АДАПТАЦИЯ ДЛЯ МОБИЛЬНЫХ УСТРОЙСТВ */
@media (max-width: 480px) {
  .nasa-pulse-premium { padding: 50px 0 !important; }
  .tag-label { font-size: 9px; padding: 1px 6px; }
    .nasa-footer-content {
        padding: 30px 15px !important;
    }

    .f-social a {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    .blog-post-item-v1 .blog-post-thumb {
        height: 140px;
    }
    
    .blog-post-title h3 a {
        font-size: 16px !important;
    }
}

@media (max-width: 767px) {
  .ui-title { font-size: 32px; }
  .ui-cards-wrapper { grid-template-columns: 1fr; }
  .nasa-cta-button { display: flex !important; width: 100% !important; max-width: 320px; margin: 0 auto !important; font-size: 16px !important; padding: 16px 20px !important; text-align: center; }
  .nasa-cta-button::before { font-size: 20px; margin-right: 10px; }
}

@media (max-width: 768px) {
    #nasa-contact-section .contact-card-info,
    #nasa-contact-section .form-container {
        padding: 20px !important;
    }
    
    #nasa-contact-section iframe {
        height: 300px !important;
    }
  .page-template-property-listings-map .rankmath-breadcrumbs-container { padding: 90px 5px 0 5px !important; }
  .page-template-property-listings-map .rankmath-breadcrumbs-container .rank-math-breadcrumb { font-size: 12px !important; }
  .page-template-property-listings-map .rankmath-breadcrumbs-container .page-title { padding: 10px 0 0 0 !important; }
  .page-template-property-listings-map .rankmath-breadcrumbs-container .page-title.flex-grow-1.max-w-2xl h1 { font-size: 18px !important; }
  #half-map-listing-area #ajax_sort_properties + .btn, #half-map-listing-area #ajax_sort_properties + .btn .filter-option, #half-map-listing-area #ajax_sort_properties.selectpicker { font-size: 12px !important; padding: 2px !important; margin: 0 !important; }
  #half-map-listing-area #ajax_sort_properties .dropdown-menu li span, #half-map-listing-area #ajax_sort_properties .dropdown-menu li a { font-size: 12px !important; }
  #half-map-listing-area #ajax_sort_properties option { font-size: 12px !important; }
    .nasa-footer-content {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        margin: 0 !important;
        padding: 40px 20px !important;
        text-align: center;
    }
    .blog-posts-slider-wrap .slick-list {
        margin: 0 -8px !important;
    }
    
    .blog-posts-slide-wrap {
        padding: 0 8px !important;
    }
    
    .blog-post-item-v1 .blog-post-thumb {
        height: 160px;
    }
    
    .blog-post-item-v1 .blog-post-content {
        padding: 15px 18px 18px;
    }
    
    .blog-post-title h3 a {
        font-size: 18px !important;
    }
    
    .blog-post-body {
        font-size: 13px !important;
        -webkit-line-clamp: 2;
    }

    .nasa-footer-col {
        width: 100% !important;
        text-align: center !important;
        padding: 0 !important;
    }
    .nasa-footer-col.main-info {
        order: -1; /* Логотип первым */
    }

  .nasa-footer-col.main-info .f-trust-badges { text-align: center !important; margin: 0 auto !important; display: grid !important; }
    .f-logo {
        margin: 0 auto 20px auto;
    }

    .f-trust-badges {
        justify-content: center;
    }

    .f-title {
        margin: 30px auto 25px auto;
        text-align: center;
    }

    .f-title::after {
        left: 50% !important;
        transform: translateX(-50%);
    }

    .f-list,
    .f-contact-info,
    .f-trust-badges {
        text-align: center !important;
    }

    .f-contact-info .c-link,
    .f-contact-info .c-addr {
        justify-content: center !important;
    }

    .f-social {
        justify-content: center !important;
    }

    .bottom-inner {
        flex-direction: column !important;
        text-align: center !important;
        gap: 15px !important;
        padding: 20px !important;
    }

    .legal-menu {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .legal-menu a {
        margin: 0 !important;
    }
  .nasa-footer-col h4 { text-align: center !important; display: grid !important; }
  .nasa-footer-col h4.f-title { display: table !important; margin: 0 auto 20px auto !important; position: relative !important; text-align: center !important; width: auto !important; }
  .nasa-footer-col h4.f-title:after { content: "" !important; position: absolute !important; left: 50% !important; transform: translateX(-50%) !important; bottom: 10 !important; width: 150px !important; height: 2px !important; display: block !important; }
  .nasa-stats-container, .nasa-stats { display: flex !important; flex-direction: column !important; align-items: center !important; gap: 20px !important; padding: 20px !important; }
  .nasa-stat-item { width: 100% !important; text-align: center !important; border-right: none !important; padding-bottom: 15px !important; }
  .nasa-benefits-grid { display: flex !important; flex-direction: column !important; gap: 15px !important; padding: 10px !important; grid-template-columns: 1fr !important; }
  .district-link-card { width: 100% !important; margin-bottom: 20px !important; display: block !important; }
  .district-image { height: 200px !important; width: 100% !important; }
  .district-info { padding: 15px !important; }
  .district-info .flex.justify-between { flex-direction: column !important; align-items: flex-start !important; gap: 10px !important; }
  .elementor-widget-houzez_elementor_space, .houzez-spacer { height: 20px !important; }
  .footer-social-links { justify-content: flex-start !important; margin-top: 15px !important; }
  .footer-widget { margin-bottom: 20px !important; width: 100% !important; }
  .page-template-template-onepage .page-wrap .container { padding-top: 50px !important; }
  .nasa-display-title { font-size: 21px !important; line-height: 1.2 !important; }
  .district-info h3 { font-size: 20px !important; }
  .latest-news-section .news-card { flex: 0 0 85% !important; }
  .latest-news-section .news-card-image { height: 180px !important; }
  .nasa-about-container .nasa-about-header h2 { font-size: 28px; }
  .nasa-about-container .nasa-stats { flex-direction: column; }
  .logo-area.flex.items-center .nasa-logo-main, .logo-area.flex.items-center a.nasa-logo-wrapper, .logo-area.flex.items-center a div.nasa-logo-text { text-align: left !important; font-size: 14px !important; }
  .header-mobile-right, .nasa-phone-block, .nasa-phone-block a { font-size: 12px !important; text-align: right !important; }
  .page-template-property-listings-map .rank-math-question { font-size: 16px !important; }
  .page-template-property-listings-map .rank-math-answer { font-size: 15px; }
}

@media (max-width: 991px) {
  .half-map-wrap { display: block !important; }
  .page-template-property-listings-map .rankmath-breadcrumbs-container { padding: 130px 5px 0 5px !important; }
  .page-template-property-listings-map .rankmath-breadcrumbs-container .rank-math-breadcrumb { font-size: 12px !important; }
  .page-template-property-listings-map .rankmath-breadcrumbs-container .page-title { padding: 10px 0 0 0 !important; }
  .page-template-property-listings-map .rankmath-breadcrumbs-container .page-title.flex-grow-1.max-w-2xl h1 { font-size: 18px !important; }
  #half-map-listing-area .sort-by-title, #half-map-listing-area .page-title.flex-grow-1, #half-map-listing-area .sort-by option { font-size: 12px !important; }
  #half-map-listing-area.half-map-left-wrap, #map-view-wrap.half-map-right-wrap { width: 100% !important; position: relative !important; top: 0 !important; height: auto !important; }
  #map-view-wrap.half-map-right-wrap { height: 400px !important; }
  #header-section.nasa-custom-nav { height: auto !important; min-height: 80px !important; padding: 10px 15px !important; display: flex !important; justify-content: space-between !important; align-items: center !important; }
  .nasa-logo-img { height: 40px !important; width: auto !important; }
  .top-bar-right-nasa { text-align: center; margin: 0 auto; }
  .nasa-social-group { text-align: center !important; display: flex !important; flex-direction: column !important; align-items: flex-end !important; border: 0 !important; gap: 8px !important; }
  #header-mobile .nasa-logo-main { font-size: 16px !important; letter-spacing: normal !important; }
  #header-mobile .nasa-logo-sub { font-size: 8px !important; letter-spacing: 0.1em !important; }
  .info-email, .wpml-ls-native, .wpml-ls-display, .wpml-ls-item span, #header-section.nasa-custom-nav, .nasa-lang-switcher span { display: none !important; }
  .header-mobile-right, .mobile-header-right, #header-section .header-right { display: flex !important; text-align: right !important; flex-direction: column !important; align-items: flex-end !important; gap: 6px !important; }
  .wpml-ls-flag, .nasa-lang-switcher img { width: 24px !important; height: auto !important; margin: 3px auto !important; }
  .nasa-lang-switcher, .wpml-ls-slot-header { display: flex !important; flex-direction: row !important; gap: 8px !important; }
  .nasa-social-group a i, .nasa-social-group i, .header-mobile-right .houzez-icon { font-size: 16px !important; width: 18px !important; height: 18px !important; display: flex !important; align-items: center; justify-content: center; }
  .nasa-logo-sub { font-size: 8px !important; line-height: 1.2 !important; display: block !important; max-width: 120px !important; white-space: normal !important; margin-top: 2px !important; letter-spacing: 0.05em !important; }
  .mobile-nav-trigger, .nav-trigger { margin: 0 !important; order: 2; }
  .elementor-heading-title, h1.elementor-heading-title.elementor-size-default, .elementor-heading-title span, h1 span, .nasa-display-title, .page-wrap .page-title h1 { font-size: 38px !important; }
  .elementor-heading-title, h1.elementor-heading-title.elementor-size-default { margin-top: 36px !important; }
  .elementor-widget-heading .elementor-heading-title p, .elementor-widget-heading p.elementor-heading-title.elementor-size-default { font-size: 17px !important; }
  .elementor-widget-houzez_elementor_search_builder .elementor-widget-container { padding: 0 !important; margin: 0 !important; width: 100% !important; }
  .houzez-search-form-js, .houzez-ele-search-form-wrapper { display: flex !important; flex-direction: column !important; align-items: stretch !important; width: 100% !important; max-width: 100% !important; }
  .houzez-ele-search-form-wrapper.elementor-form-fields-wrapper.elementor-labels-above { border-radius: 20px !important; }
  .houzez-ele-search-form-wrapper .elementor-column, .elementor-field-group, .elementor-col-16, .elementor-col-20, .elementor-col-25, .elementor-col-33, .elementor-col-50, .elementor-col-100 { width: 100% !important; min-width: 100% !important; flex: 0 0 100% !important; margin: 0 0 10px 0 !important; padding: 0 !important; }
  .bootstrap-select, .bootstrap-select > .dropdown-toggle, .elementor-field-textual, input.form-control, select { width: 100% !important; min-width: 100% !important; height: 50px !important; box-sizing: border-box !important; border-radius: 4px !important; }
  #houzez-search-tabs-wrap { display: flex !important; justify-content: center !important; width: 100% !important; margin-bottom: 15px !important; padding: 0 5px !important; }
  #houzez-search-tabs-wrap .nav-item { flex: 1 !important; text-align: center !important; }
  #houzez-search-tabs-wrap .nav-link { width: 100% !important; justify-content: center !important; }
  .houzez-search-button, button.houzez-submit-button { width: 100% !important; margin-top: 5px !important; display: block !important; }
  .nasa-social-buttons { bottom: 80px !important; right: 18px !important; }
  .nasa-whatsapp-btn, .nasa-telegram-btn { width: 37px !important; height: 37px !important; font-size: 24px !important; }
}

@media (max-width: 1024px) {
  .logo-area.flex.items-center a.nasa-logo-wrapper, .logo-area.flex.items-center a div.nasa-logo-text { text-align: left !important; }
  .header-mobile-right, .nasa-phone-block, .nasa-phone-block a { text-align: right !important; }
  .nav-mobile .main-nav .nav-item { display: flex !important; flex-wrap: wrap; align-items: center !important; justify-content: space-between !important; position: relative !important; background: #ffffff; border-bottom: 1px solid #f0f0f0; }
  .page-title.flex-grow-1.max-w-2xl h1 { font-size: 28px !important; }
  .elementor-element-4accb6d .nasa-about-container .nasa-expert-block h2, .nasa-about-container .nasa-expert-block h2, .page-wrap .container h2.nasa-header, .page-wrap .container .nasa-about-header h2, .page-wrap .container h2, .page-wrap .container .nasa-premium-header h2.nasa-display-title { font-size: 21px !important; }
  .bg-blue-900.mt-4, nasa-red-divider.mx-auto.text-center { margin-top: 5px !important; padding: 0 !important; height: 5px !important; }
  .nav-mobile .main-nav .nav-item a.nav-link { flex: 1 !important; padding: 15px 20px !important; margin: 0 !important; display: block !important; z-index: 1; }
  .nav-mobile .nav-mobile-trigger { width: 60px !important; height: 50px !important; display: flex !important; align-items: center !important; justify-content: center !important; z-index: 10 !important; cursor: pointer; border-left: 1px solid #f5f5f5; }
  .nav-mobile .main-nav .dropdown-menu { flex-basis: 100%; width: 100% !important; position: relative !important; float: none !important; background: #fdfdfd !important; border: none !important; box-shadow: none !important; }
  .nav-mobile .nav-mobile-trigger i { font-size: 14px !important; pointer-events: none; }
    .blog-posts-slider-wrap .slick-prev {
        left: 10px;
    }
    
    .blog-posts-slider-wrap .slick-next {
        right: 10px;
    }
    
    .blog-post-item-v1 .blog-post-thumb {
        height: 180px;
    }
    
    .blog-post-title h3 {
        min-height: 52px;
    }
    
    .blog-post-title h3 a {
        font-size: 20px !important;
    }
    #nasa-contact-section {
        flex-direction: column !important;
    }
    
    #nasa-contact-section .contact-card-info,
    #nasa-contact-section .form-container {
        width: 100% !important;
        border: 1px solid #e2e2e2 !important;
    	margin: 5px 0 !important;
    }
    
    #nasa-contact-section iframe {
        height: 350px !important;
    }
  #nasa-contact-section .elementor-element-3bc6225, #nasa-contact-section .elementor-element-fe59588 { width: 100% !important; }
  .nasa-benefits-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 20px !important; }
    .nasa-footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
  .page-template-template-onepage .page-wrap .container { padding-top: 20px !important; }
}

@media (min-width: 992px) {
  body.wp-singular.page-template.page-template-template.page-template-template-search { padding-top: 0 !important; margin-top: 0 !important; }
  #desktop-header-search .container-fluid { margin: -40px 0 0 0 !important; padding-bottom: 10px !important; border-bottom: 1px solid #eee !important; }
  .rankmath-breadcrumbs-container { width: 100% !important; padding: 100px 20px 0 20px !important; margin: 0 !important; border-bottom: 1px solid #eee !important; }
  .rankmath-breadcrumbs-container .page-title-wrap { margin: 0 !important; padding: 10px 0 !important; }
  .rankmath-breadcrumbs-container h1.page-title { font-size: 27px !important; }
  .main-nav-container, .main-nav-container #main-nav { display: flex !important; opacity: 1 !important; visibility: visible !important; height: auto !important; min-height: 90px !important; justify-content: center !important; align-items: center !important; }
  ul#main-nav.navbar-nav { display: flex !important; flex-direction: row !important; gap: 20px !important; list-style: none !important; margin: 0 !important; padding: 0 !important; }
  ul#main-nav li.nav-item a.nav-link { font-family: 'Montserrat', sans-serif !important; font-size: 12px !important; font-weight: 600 !important; text-transform: uppercase !important; color: #1a1a1a !important; position: relative !important; line-height: 1 !important; padding: 5px 0 !important; letter-spacing: 0.04em !important; white-space: nowrap !important; }
  ul#main-nav li.nav-item a.nav-link::after { content: '' !important; position: absolute !important; bottom: -5px !important; left: 50%; width: 0; height: 2px; background: #C1272D; transition: width 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55) !important; transform: translateX(-50%); }
  ul#main-nav li.nav-item:hover a.nav-link::after, ul#main-nav li.current-menu-item a.nav-link::after { width: 100% !important; padding: 0 !important; margin: 0 !important; }
  ul#main-nav li.nav-item.dropdown > a.nav-link { padding-right: 15px !important; }
  ul#main-nav li.nav-item.dropdown > a.nav-link::before { content: ''; position: absolute; right: 0; top: 50%; width: 6px; height: 6px; border-right: 2px solid #C1272D; border-bottom: 2px solid #C1272D; transform: translateY(-70%) rotate(45deg); transition: transform 0.3s ease, opacity 0.3s ease; opacity: 0.7; }
  ul#main-nav li.nav-item.dropdown:hover > a.nav-link::before { transform: translateY(-30%) rotate(-135deg); opacity: 1; }
  .nav-mobile .dropdown-menu, .main-nav .dropdown-menu { display: block !important; position: absolute !important; top: 100% !important; min-width: 230px !important; background: #fff !important; border: none !important; border-top: 3px solid #C1272D !important; border-radius: 0 0 8px 8px !important; padding: 5px 0 !important; box-shadow: 0 15px 35px rgba(0,0,0,0.12) !important; z-index: 10002 !important; opacity: 0 !important; visibility: hidden !important; transform: translateY(15px) !important; transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important; }
  #main-nav .dropdown-menu { top: 220% !important; margin-top: 0 !important; left: -250% !important; }
  #main-nav .dropdown-menu ul { top: -18% !important; margin-top: 0% !important; left: 100% !important; }
  #main-nav .dropdown-menu .nav-item.dropdown:hover > .dropdown-menu { top: -18% !important; margin-top: 0% !important; left: 100% !important; }
  .nav-item.dropdown:hover > .dropdown-menu { opacity: 1 !important; visibility: visible !important; transform: translateY(0) !important; }
  .dropdown-menu a.dropdown-item { font-family: 'Montserrat', sans-serif !important; font-size: 13px !important; font-weight: 600 !important; color: #334155 !important; padding: 12px 25px !important; text-transform: none !important; letter-spacing: 0.02em !important; transition: background-color 0.2s ease, color 0.2s ease, padding-left 0.2s ease !important; display: block !important; background: transparent !important; }
  .dropdown-menu a.dropdown-item:hover { color: #C1272D !important; background: #f8fafc !important; padding-left: 30px !important; }
  .half-map-wrap { display: flex !important; flex-direction: row-reverse !important; flex-wrap: nowrap !important; align-items: flex-start !important; height: auto !important; position: relative !important; overflow: visible !important; }
  #half-map-listing-area.half-map-left-wrap { flex: 1 1 auto !important; width: 60% !important; height: auto !important; overflow: visible !important; position: relative !important; padding: 20px !important; }
  #map-view-wrap.half-map-right-wrap { width: 40% !important; position: -webkit-sticky !important; position: sticky !important; top: 100px !important; height: calc(100vh - 90px) !important; z-index: 10; overflow: hidden !important; }
  .map-wrap, #houzez-properties-map { height: 100% !important; width: 100% !important; }
  html, body, #main-wrap, .main-wrap, main { overflow: visible !important; height: auto !important; }

  /* NASA HOMES MEGA MENU */
  #main-nav li.nasa-mega-menu { position: static !important; white-space: normal !important; }
  #main-nav li.nasa-mega-menu > ul.dropdown-menu { display: grid !important; visibility: hidden !important; pointer-events: none !important; opacity: 0 !important; transition: opacity 0.25s ease, transform 0.25s ease !important; position: absolute !important; width: 100% !important; left: 0 !important; right: 0 !important; top: 80px !important; margin: 0 !important; padding: 0 0 20px 0 !important; background: rgba(255, 255, 255, 0.98) !important; border-top: 3px solid #be1e2d !important; box-shadow: 0 30px 60px rgba(0,0,0,0.15) !important; grid-template-columns: repeat(5, 16%) !important; justify-content: center !important; gap: 30px !important; transform: translateY(10px) !important; white-space: normal !important; }
  #main-nav li.nasa-mega-menu > ul.dropdown-menu::before { content: "" !important; position: absolute !important; top: -30px !important; left: 0 !important; width: 100% !important; height: 30px !important; background: transparent !important; }
  #main-nav li.nasa-mega-menu:hover > ul.dropdown-menu { visibility: visible !important; pointer-events: auto !important; opacity: 1 !important; transform: translateY(0) !important; white-space: normal !important; }
  #main-nav li.nasa-mega-menu ul, #main-nav li.nasa-mega-menu li { margin: 0 !important; padding: 0 !important; list-style: none !important; white-space: normal !important; }
  #main-nav li.nasa-mega-menu > ul.dropdown-menu > li.menu-item { width: 100px !important; padding: 0 !important; margin: 0 !important; list-style: none !important; border: none !important; white-space: normal !important; }
  #main-nav li.nasa-mega-menu > ul.dropdown-menu > li.menu-item > a { margin: 0 !important; padding: 0 !important; white-space: normal !important; }
  #main-nav li.nasa-mega-menu > ul.dropdown-menu > li.menu-item > a.dropdown-item { border-bottom: 5px solid #eee !important; width: auto !important; padding: 10px 0 5px 0 !important; margin: 0 !important; text-align: center !important; background: transparent !important; display: block !important; font-family: 'Montserrat', sans-serif !important; font-size: 12px !important; font-weight: 800 !important; color: #0f172a !important; text-transform: uppercase !important; white-space: normal !important; }
  li#menu-item-10482, .dropdown-item.dropdown-toggle { min-width: 90px !important; }
  #main-nav li.nasa-mega-menu > ul.dropdown-menu > li.menu-item > a.dropdown-item::before, #main-nav li.nasa-mega-menu > ul.dropdown-menu > li.menu-item > a.dropdown-item::after { display: none !important; }
  #main-nav li.nasa-mega-menu ul.submenu { display: inline-block !important; position: static !important; list-style: none !important; padding: 0 !important; margin: 0 !important; line-height: 1.1 !important; white-space: normal !important; }
  #main-nav li.nasa-mega-menu ul.submenu li { display: block !important; width: 100% !important; white-space: normal !important; }
  #main-nav li.nasa-mega-menu ul.submenu li.smallr { display: inline-block !important; position: static !important; background: transparent !important; width: auto !important; margin-right: 8px !important; margin-bottom: 2px !important; line-height: 1.1 !important; vertical-align: top !important; }
  #main-nav li.nasa-mega-menu ul.submenu li.smallr a.dropdown-item { font-size: 12px !important; color: #94a3b8 !important; font-weight: 400 !important; text-transform: none !important; transition: color 0.2s ease, text-decoration 0.2s ease !important; display: inline !important; text-underline-offset: 3px; margin: 0 !important; padding: 0 !important; line-height: 1.1 !important; text-decoration: none !important; }
  #main-nav li.nasa-mega-menu ul.submenu li.smallr a.dropdown-item:hover { color: #C1272D !important; padding-left: 0 !important; text-decoration: underline !important; background: transparent !important; }
  #main-nav li.nasa-mega-menu ul.submenu li.smallr a.dropdown-item i { font-size: 10px !important; opacity: 0.6; }
  #main-nav li.nasa-mega-menu > ul.dropdown-menu ul.submenu { display: block !important; position: static !important; box-shadow: none !important; border: none !important; background: transparent !important; padding: 0 !important; margin: 0 !important; opacity: 1 !important; visibility: visible !important; transform: none !important; min-width: 100% !important; list-style: none !important; white-space: normal !important; }
  #main-nav li.nasa-mega-menu ul.submenu li a.dropdown-item { font-family: 'Montserrat', sans-serif !important; font-size: 14px !important; font-weight: 500 !important; color: #334155 !important; padding: 8px 0 !important; margin: 0 !important; border: none !important; background: transparent !important; transition: color 0.3s ease, padding-left 0.3s ease !important; display: inline-block !important; white-space: normal !important; }
  #main-nav li.nasa-mega-menu ul.submenu li a.dropdown-item:hover { color: #C1272D !important; background: transparent !important; padding-left: 10px !important; }
  #main-nav li.nasa-mega-menu ul.submenu li:not(.smallr) a.dropdown-item:hover { color: #be1e2d !important; padding-left: 10px !important; }
  #main-nav li.nasa-mega-menu ul.submenu ul.submenu { padding-left: 15px !important; margin-top: 5px !important; margin-bottom: 10px !important; border-left: 2px solid #f8fafc !important; }
  
  /* ИКОНКИ И SEO БЛОК ДЛЯ ДЕСКТОПА */
  .nasa-feature-icon { font-size: 45px; color: #d4af37; margin-bottom: 20px; }
  .nasa-feature-link:hover .nasa-feature-item { transform: translateY(-10px); border-color: #d4af37; box-shadow: 0 15px 30px rgba(212, 175, 55, 0.15); }
  .nasa-seo-section { padding: 40px 20px; background-color: #f9f9f9; line-height: 1.8; color: #333; border-top: 1px solid #eee; }
  .nasa-seo-container { max-width: 1100px; margin: 0 auto; }
  .nasa-seo-section h2 { font-size: 28px; margin-bottom: 25px; font-family: 'Playfair Display', serif !important; position: relative; padding-bottom: 15px; font-weight: 700; color: #0f172a; }
  .nasa-seo-section h2::after { content: ''; position: absolute; left: 0; bottom: 0; width: 60px; height: 3px; background-color: #c4a47c; }
  .nasa-seo-text { font-size: 16px; text-align: justify; }
  .nasa-seo-text p { margin-bottom: 20px; }
  .nasa-seo-text strong { color: #000; font-weight: 600; }
  .nasa-feature-link { text-decoration: none !important; color: inherit !important; display: block; }
  .nasa-features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-top: 30px; }
  .nasa-feature-item { background: #fff; padding: 20px; height: 100%; text-align: center; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); border-left: 4px solid #c4a47c; }
  .nasa-feature-item p { font-size: 0.95rem; line-height: 1.6; color: #666; margin: 0; }
  .nasa-feature-item h3 { font-size: 18px; margin-bottom: 10px; color: #c4a47c; }

  /* МЕССЕНДЖЕРЫ В SEO БЛОКЕ */
  .lc-messengers { display: flex; gap: 15px; margin-top: 30px; }
  .lc-msg-btn { padding: 12px 25px; border-radius: 4px; text-decoration: none; color: #fff; font-weight: 600; }
  .lc-wa { background-color: #25D366; }
  .lc-tg { background-color: #0088cc; }
}

@media (max-width: 768px) {
  .nasa-seo-section { padding: 40px 15px; }
  .nasa-seo-section h2 { font-size: 22px; }
  .nasa-seo-text { text-align: left; }
  .nasa-feature-item { padding: 30px 20px; }
}

.grecaptcha-badge {
    width: 70px !important;
    overflow: hidden !important;
    transition: width 0.3s ease !important; /* Анимируем строго ширину, а не все параметры */
    left: 20px !important;
    bottom: 20px !important;
    right: auto !important;
    transform: translateX(0) !important; /* Блокируем стандартные попытки Google сдвинуть значок */
    margin: 0 !important;
}

.grecaptcha-badge:hover {
    width: 256px !important;
    transform: translateX(0) !important; /* Удерживаем на месте при наведении */
}

body.page-template-templateproperty-listings-map-php section.content-wrap {
  line-height: 1.6;
  color: inherit;
}

/* Отступы между секциями */
body.page-template-templateproperty-listings-map-php section.content-wrap h1,
body.page-template-templateproperty-listings-map-php section.content-wrap h2,
body.page-template-templateproperty-listings-map-php section.content-wrap h3 {
  margin-top: 2em;
  margin-bottom: 0.8em;
  font-weight: 600;
}

body.page-template-templateproperty-listings-map-php section.content-wrap h1:first-child,
body.page-template-templateproperty-listings-map-php section.content-wrap h2:first-child,
body.page-template-templateproperty-listings-map-php section.content-wrap h3:first-child {
  margin-top: 0;
}

/* Отступы абзацев */
body.page-template-templateproperty-listings-map-php section.content-wrap p {
  margin-bottom: 1.2em;
}

/* Списки */
body.page-template-templateproperty-listings-map-php section.content-wrap ul,
body.page-template-templateproperty-listings-map-php section.content-wrap ol {
  margin-bottom: 1.2em;
  padding-left: 1.5em;
}

body.page-template-templateproperty-listings-map-php section.content-wrap ul li,
body.page-template-templateproperty-listings-map-php section.content-wrap ol li {
  margin-bottom: 0.5em;
}

/* Ссылки */
body.page-template-templateproperty-listings-map-php section.content-wrap a {
  text-decoration: underline;
  transition: opacity 0.2s ease;
}

body.page-template-templateproperty-listings-map-php section.content-wrap a:hover {
  opacity: 0.8;
}

/* Таблицы цен */
body.page-template-templateproperty-listings-map-php section.content-wrap table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  background: #fff;
}

body.page-template-templateproperty-listings-map-php section.content-wrap table th,
body.page-template-templateproperty-listings-map-php section.content-wrap table td {
  padding: 12px 16px;
  text-align: left;
  border: 1px solid #e0e0e0;
}

body.page-template-templateproperty-listings-map-php section.content-wrap table th {
  background: #f5f5f5;
  font-weight: 600;
}

body.page-template-templateproperty-listings-map-php section.content-wrap table tr:nth-child(even) {
  background: #fafafa;
}

body.page-template-templateproperty-listings-map-php section.content-wrap table tr:hover {
  background: #f0f0f0;
}

/* FAQ блоки */
body.page-template-templateproperty-listings-map-php section.content-wrap [itemtype="https://schema.org/FAQPage"] {
  margin: 2em 0;
}

body.page-template-templateproperty-listings-map-php section.content-wrap [itemtype="https://schema.org/Question"] {
  margin-bottom: 1.5em;
  padding-bottom: 1.5em;
  border-bottom: 1px solid #eee;
}

body.page-template-templateproperty-listings-map-php section.content-wrap [itemtype="https://schema.org/Question"]:last-child {
  border-bottom: none;
}

body.page-template-templateproperty-listings-map-php section.content-wrap [itemtype="https://schema.org/Question"] h3 {
  margin-top: 0;
  margin-bottom: 0.8em;
  font-weight: 600;
}

/* Выделение текста */
body.page-template-templateproperty-listings-map-php section.content-wrap strong {
  font-weight: 600;
}

/* Блок контактов */
body.page-template-templateproperty-listings-map-php section.content-wrap h2:has(+ p strong) + p,
body.page-template-templateproperty-listings-map-php section.content-wrap h3:has(+ p strong) + p {
  background: #f8f9fa;
  padding: 1.5em;
  border-radius: 8px;
  border-left: 4px solid #C5A059;
}

/* Отступы для внутренних секций */
body.page-template-templateproperty-listings-map-php section.content-wrap h3 {
  margin-top: 1.5em;
}

/* Мобильная адаптация таблиц */
@media (max-width: 768px) {
  body.page-template-templateproperty-listings-map-php section.content-wrap table {
    font-size: 0.9em;
  }
  
  body.page-template-templateproperty-listings-map-php section.content-wrap table th,
  body.page-template-templateproperty-listings-map-php section.content-wrap table td {
    padding: 8px 10px;
  }
  
  body.page-template-templateproperty-listings-map-php section.content-wrap h1,
  body.page-template-templateproperty-listings-map-php section.content-wrap h2,
  body.page-template-templateproperty-listings-map-php section.content-wrap h3 {
    margin-top: 1.5em;
  }
}

/* Адаптация очень маленьких экранов */
@media (max-width: 480px) {
  body.page-template-templateproperty-listings-map-php section.content-wrap table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
  
  body.page-template-templateproperty-listings-map-php section.content-wrap ul,
  body.page-template-templateproperty-listings-map-php section.content-wrap ol {
    padding-left: 1.2em;
  }
}

/* ── ФИКС 2: Иконки сервисов — ВСЕ разрешения ── */
.nasa-feature-icon {
    font-size: 45px;
    color: #d4af37;
    margin-bottom: 20px;
    display: block;
}

.nasa-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.nasa-feature-item {
    background: #fff;
    padding: 30px 25px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-left: 4px solid #c4a47c;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.nasa-feature-item:hover {
    transform: translateY(-10px);
    border-color: #d4af37;
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.15);
}

.nasa-feature-item h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: #c4a47c;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.nasa-feature-item p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

.nasa-feature-link {
    text-decoration: none !important;
    color: inherit !important;
    display: block;
}

/* ── ФИКС 3: Мобильная адаптация сервисов ── */
@media (max-width: 768px) {
    .nasa-features-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 10px;
    }
    
    .nasa-feature-item {
        padding: 25px 20px;
    }
    
    .nasa-feature-icon {
        font-size: 36px;
    }
    
    .nasa-feature-item h3 {
        font-size: 16px;
    }
}

/* ── ФИКС 4: Заголовок секции сервисов ── */
.nasa-premium-header {
    text-align: center;
    margin-bottom: 30px;
    padding-top: 10px;
}

.nasa-gold-tag {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 5px;
    color: #C5A059;
    text-transform: uppercase;
    display: block;
    margin-bottom: 15px;
}

.nasa-display-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 42px;
    font-weight: 800;
    font-style: italic;
    color: #0f172a;
    line-height: 1.3;
    margin-top: 15px;
}

@media (max-width: 768px) {
    .nasa-display-title {
        font-size: 28px !important;
    }
}


/* FIX: Back to Search breadcrumb hidden 2026-08-12 */
.breadcrumb-item-back-to-search { display: none !important; }


/* FIX: responsive tables on mobile 2026-08-12 */
@media (max-width: 768px) {
  .page-wrap .container table, .entry-content table, .single-post .container table { table-layout: fixed !important; width: 100% !important; }
  .page-wrap table th, .page-wrap table td, .entry-content table th, .entry-content table td { white-space: normal !important; word-break: break-word !important; padding: 6px 8px !important; font-size: 13px !important; }
}

/* === CLS-fix 13.08.2026: форма поиска на главной не должна двигать первый экран === */
@media (max-width: 767px) {
    .elementor-element-1b8685c8 .elementor-widget-container {
        min-height: 461px;
    }
}

/* ===== Font Awesome 5 @font-face (fix 14.08.2026) ===== */
@font-face {
	font-family: "Font Awesome 5 Free";
	font-style: normal;
	font-weight: 900;
	font-display: block;
	src: url("https://nasa-homes.com/wp-content/themes/houzez/css/font-awesome/webfonts/fa-solid-900.woff2") format("woff2"),
	     url("https://nasa-homes.com/wp-content/themes/houzez/css/font-awesome/webfonts/fa-solid-900.woff") format("woff");
}
@font-face {
	font-family: "Font Awesome 5 Free";
	font-style: normal;
	font-weight: 400;
	font-display: block;
	src: url("https://nasa-homes.com/wp-content/themes/houzez/css/font-awesome/webfonts/fa-regular-400.woff2") format("woff2"),
	     url("https://nasa-homes.com/wp-content/themes/houzez/css/font-awesome/webfonts/fa-regular-400.woff") format("woff");
}
@font-face {
	font-family: "Font Awesome 5 Brands";
	font-style: normal;
	font-weight: 400;
	font-display: block;
	src: url("https://nasa-homes.com/wp-content/themes/houzez/css/font-awesome/webfonts/fa-brands-400.woff2") format("woff2"),
	     url("https://nasa-homes.com/wp-content/themes/houzez/css/font-awesome/webfonts/fa-brands-400.woff") format("woff");
}
/* === NASA NAV FIX 2026-11-01: подменю ровно под шапкой, без прыжка вверх при наведении ===
   Было: #main-nav .dropdown-menu{top:220%} — это 48px от пункта высотой 22px, панель
   начиналась внутри шапки (её низ 90px), плюс transform:translateY(15px); при наведении
   transform уходил в 0 и панель поднималась ещё на 15px — визуально «уезжала наверх»
   и накрывала подписи меню. У мега-меню то же: top:80px от .navbar + translateY(10px).
   Теперь пункт меню растянут на всю высоту шапки (90px), панель top:100% от него = ровно
   низ шапки, transform одинаков в покое и при наведении — по вертикали не двигается. */
@media (min-width:992px){
  #header-section .navbar{position:relative !important;}
  #header-section #main-nav > li.nav-item{position:relative !important;height:90px !important;display:flex !important;align-items:center !important;}
  #header-section #main-nav > li.nasa-mega-menu{position:static !important;}
  #header-section #main-nav > li.nav-item > ul.dropdown-menu{top:100% !important;left:0 !important;right:auto !important;margin-top:0 !important;transform:translateY(0) !important;}
  #header-section #main-nav > li.nasa-mega-menu > ul.dropdown-menu{top:100% !important;left:0 !important;right:0 !important;width:100% !important;transform:translateY(0) !important;}
  #header-section #main-nav > li.nav-item:hover > ul.dropdown-menu,
  #header-section #main-nav > li.nav-item.show > ul.dropdown-menu,
  #header-section #main-nav > li.nasa-mega-menu:hover > ul.dropdown-menu{transform:translateY(0) !important;}
}

/* === NASA LOGIN SIDEBAR 2026-11-01: «Вы недавно просмотрели» в стиле сайта ===
   Houzez печатает этот виджет голым списком: заголовок serif-ом, миниатюры без
   пропорций и радиусов, цена без акцента. Приводим к стилю карточек сайта. */
.bt-sidebar-wrap .widget{margin-bottom:26px;}
.bt-sidebar-wrap .widget-header{margin-bottom:14px;}
.bt-sidebar-wrap .widget-title{font-family:'Montserrat',sans-serif !important;font-size:13px !important;font-weight:700 !important;text-transform:uppercase !important;letter-spacing:.06em !important;color:#0f172a !important;margin:0 !important;position:relative !important;padding-left:12px !important;}
.bt-sidebar-wrap .widget-title::before{content:'' !important;position:absolute !important;left:0 !important;top:50% !important;transform:translateY(-50%) !important;width:3px !important;height:16px !important;background:#C1272D !important;border-radius:2px !important;}
.bt-sidebar-wrap .widget-properties .property-item-widget{padding:12px 0;border-bottom:1px solid #eef2f5;}
.bt-sidebar-wrap .widget-properties .property-item-widget:first-child{padding-top:0;}
.bt-sidebar-wrap .widget-properties .property-item-widget:last-child{border-bottom:0;padding-bottom:0;}
.bt-sidebar-wrap .widget-properties .property-item-widget .d-flex{gap:14px;align-items:flex-start;}
.bt-sidebar-wrap .left-property-item-widget-wrap{flex:0 0 96px;max-width:96px;}
.bt-sidebar-wrap .left-property-item-widget-wrap .listing-thumb{position:relative;border-radius:10px;overflow:hidden;background:#eef2f5;}
.bt-sidebar-wrap .left-property-item-widget-wrap img{width:96px;height:72px;object-fit:cover;display:block;border-radius:10px;}
.bt-sidebar-wrap .right-property-item-widget-wrap{flex:1 1 auto;min-width:0;}
.bt-sidebar-wrap .right-property-item-widget-wrap .item-title{font-family:'Montserrat',sans-serif !important;font-size:13px !important;line-height:1.45 !important;font-weight:600 !important;margin:0 0 6px !important;}
.bt-sidebar-wrap .right-property-item-widget-wrap .item-title a{color:#0f172a !important;text-decoration:none !important;transition:color .2s ease !important;}
.bt-sidebar-wrap .right-property-item-widget-wrap .item-title a:hover{color:#C1272D !important;}
.bt-sidebar-wrap .right-property-item-widget-wrap .item-price{font-family:'Montserrat',sans-serif !important;font-size:13px !important;font-weight:700 !important;color:#0f172a !important;line-height:1.35 !important;}
.bt-sidebar-wrap .right-property-item-widget-wrap .item-amenities{font-size:11.5px !important;color:#94a3b8 !important;margin-top:2px !important;}
@media (max-width:575px){
  .bt-sidebar-wrap .left-property-item-widget-wrap{flex:0 0 80px;max-width:80px;}
  .bt-sidebar-wrap .left-property-item-widget-wrap img{width:80px;height:60px;}
}

/* === NASA NAV FIX 2 2026-11-01: сетка мега-меню строго внутри панели + вложенные подменю влево ===
   Проблема 1: #main-nav li.nasa-mega-menu > ul.dropdown-menu задан как grid repeat(5,16%) + gap 30px,
   а пункты внутри сжаты в width:100px. При контейнере уже 1800px сетка вместе с gap не влезает,
   пятая колонка и часть второй уходят за правый край и обрезаются (body overflow-x:clip).
   Решение: repeat(5, minmax(0,1fr)) — колонки делят ширину панели поровну и ужимаются на узких экранах,
   пункты растянуты на всю колонку.
   Проблема 2: вложенное подменю «ИНФОРМАЦИЯ» открывалось left:100% от родителя и вылезало за экран
   на 35px (родитель стоит в правой половине). Теперь второй уровень открывается влево от панели. */
@media (min-width:992px){
  #header-section #main-nav > li.nasa-mega-menu > ul.dropdown-menu{
    grid-template-columns: repeat(5, minmax(0,1fr)) !important;
    gap: 24px !important;
    justify-content: stretch !important;
    box-sizing: border-box !important;
    max-width: 100% !important;
  }
  #header-section #main-nav li.nasa-mega-menu > ul.dropdown-menu > li.menu-item{
    width: 100% !important;
    min-width: 0 !important;
  }
  #header-section #main-nav li.nasa-mega-menu > ul.dropdown-menu > li.menu-item > a.dropdown-item{
    width: 100% !important;
    box-sizing: border-box !important;
  }
  #header-section #main-nav li.nasa-mega-menu ul.submenu li a.dropdown-item{
    white-space: normal !important;
    word-break: break-word !important;
  }
  /* обычные подменю: не выше окна */
  #header-section #main-nav > li.nav-item:not(.nasa-mega-menu) > ul.dropdown-menu{
    max-height: calc(100vh - 150px) !important;
    overflow-y: auto !important;
  }
  /* второй уровень — влево, чтобы не уезжать за правый край */
  #header-section #main-nav > li.nav-item:not(.nasa-mega-menu) > ul.dropdown-menu > li{
    position: relative !important;
  }
  #header-section #main-nav > li.nav-item:not(.nasa-mega-menu) > ul.dropdown-menu ul.dropdown-menu{
    top: 0 !important;
    left: auto !important;
    right: 100% !important;
    margin: 0 !important;
    max-height: calc(100vh - 160px) !important;
    overflow-y: auto !important;
  }
}
/* === NASA NAV FIX 3 2026-11-01: подменю у правого края раскрываются влево + быстрее появление ===
   На ширине окна ~1100px панель «БЛОГ» (474px) от левого края пункта уходила за правый край
   экрана на 25px и обрезалась (body overflow-x:clip). Последние четыре пункта прижимаем к правому
   краю, чтобы панель раскрывалась внутрь. Появление ускоряем с 300мс до 150мс — меню
   отзывается сразу, а не «задумывается». */
@media (min-width:992px){
  #header-section #main-nav > li.nav-item:not(.nasa-mega-menu):nth-last-child(-n+4) > ul.dropdown-menu{
    left: auto !important;
    right: 0 !important;
  }
  #header-section #main-nav > li.nav-item:not(.nasa-mega-menu) > ul.dropdown-menu,
  #header-section #main-nav > li.nav-item:not(.nasa-mega-menu) > ul.dropdown-menu ul.dropdown-menu{
    max-width: calc(100vw - 40px) !important;
  }
  #header-section #main-nav > li > ul.dropdown-menu{
    transition-duration: .15s !important;
  }
}
/* === NASA NAV FIX 4 2026-11-01: все подменю правой половины прижаты к правому краю пункта ===
   В блоке 3 стояло :nth-last-child(-n+4), но «ИНФОРМАЦИЯ» — шестая с конца (после неё НОВОСТИ,
   БЛОГ, УСЛУГИ, О НАС, КОНТАКТЫ), поэтому на окне ~1000px её панель шириной 566px всё ещё
   вылезала за правый край на 128px. Теперь правило покрывает все пункты правой половины:
   панель раскрывается ВЛЕВО от пункта и всегда остаётся в экране. На широких экранах
   вид не меняется — ширина панели совпадает с шириной пункта. */
@media (min-width:992px){
  #header-section #main-nav > li.nav-item:not(.nasa-mega-menu):nth-last-child(-n+6) > ul.dropdown-menu{
    left: auto !important;
    right: 0 !important;
  }
}
/* === NASA NAV PAD 2026-11-01: вернуть внутренние отступы мега-меню ===
   До правки сетки колонки были по 16% с центровкой, поэтому контент сам отступал от края
   панели на ~115px. После перехода на repeat(5, minmax(0,1fr)) колонки заняли всю ширину
   и текст прилип к кромке панели. Возвращаем воздух явными отступами самой панели. */
@media (min-width:992px){
  #header-section #main-nav > li.nasa-mega-menu > ul.dropdown-menu{
    padding: 22px 56px 30px 56px !important;
  }
}
/* NASA: иконка лупы в кнопке поиска */
.houzez-search-button::before{content:"f002"!important;font-family:"Font Awesome 6 Free"!important;font-weight:900!important;speak:never}
