@charset "UTF-8";
/* ============================================
   Стили для главной страницы (Инвестпроекты)
   ============================================ */
/* Скрытие заголовка страницы */
.invest-projects-page ~ section.content h1.content-title,
section.content:has(.invest-projects-page) h1.content-title {
  display: none !important;
  visibility: hidden !important;
}

body .content:has(.invest-projects-page) {
  padding: 0;
}
body .content:has(.invest-projects-page) .wrapper, body .content:has(.invest-projects-page) .content-wrapper {
  max-width: 100%;
  padding: 0;
}

/* Основной контейнер страницы */
.invest-projects-page {
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Блок фильтров */
.invest-projects-page .invest-projects-filters {
  width: 100%;
  background-color: #ffffff;
  border-bottom: 1px solid #e0e0e0;
  padding: 20px 0;
  box-sizing: border-box;
}

.invest-projects-page .invest-projects-filters-container {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0 15px;
  box-sizing: border-box;
}

/* Блок с картой и карточками — явная высота для корректной прокрутки списка */
.invest-projects-page .invest-projects-map-section {
  width: 100%;
  height: calc(100vh - 128px - 90px);
  min-height: 500px;
  position: relative;
  background-color: #f0f0f0;
  box-sizing: border-box;
  overflow: hidden;
}

/* Блок с карточками (поверх карты слева). Скролл только у списка — заголовок закреплён сверху */
.invest-projects-page .invest-projects-cards-section {
  position: absolute;
  top: 0;
  left: 0;
  width: 33%;
  height: 100%;
  background-color: #F6F5F4;
  border: none;
  border-right: none;
  z-index: 10;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  transition: width 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
}

/* Scroll-обёртка — единственный блок с overflow, гарантирует прокрутку списка */
.invest-projects-page .invest-projects-cards-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: #018d42 rgba(255, 255, 255, 0.1);
}

.invest-projects-page .invest-projects-cards-scroll::-webkit-scrollbar {
  width: 8px;
}

.invest-projects-page .invest-projects-cards-scroll::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.invest-projects-page .invest-projects-cards-scroll::-webkit-scrollbar-thumb {
  background: #018d42;
  border-radius: 4px;
  transition: background 0.2s ease;
}

.invest-projects-page .invest-projects-cards-scroll::-webkit-scrollbar-thumb:hover {
  background: #016d32;
}

/* Прилодер при изменении состава сайдбара (пагинация, фильтры) */
.invest-projects-page .land-list.loading {
  position: relative;
  min-height: 120px;
}

.invest-projects-page .land-list.loading::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.85);
  z-index: 10;
  border-radius: 0 0 0.5rem 0.5rem;
}

.invest-projects-page .land-list.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  border: 3px solid #E0DEDC;
  border-top-color: #018d42;
  border-radius: 50%;
  animation: invest-projects-preloader-spin 0.8s linear infinite;
  z-index: 11;
}

@keyframes invest-projects-preloader-spin {
  to {
    transform: rotate(360deg);
  }
}
/* Пагинация списка карточек: gap, выравнивание, текущая страница, иконки prev/next, без лишних обводок */
.invest-projects-page .land-list-pagination {
  padding: 16px 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  outline: none;
  box-shadow: none;
}

.invest-projects-page .land-list-pagination hr.pagination-separator {
  display: none;
}

.invest-projects-page .land-list-pagination > * {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
}

.invest-projects-page .land-list-pagination a,
.invest-projects-page .land-list-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  font-size: 14px;
  border-radius: 0.375rem;
  text-decoration: none;
  color: #161413;
  outline: none;
  box-shadow: none;
  overflow: visible;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.invest-projects-page .land-list-pagination a:focus,
.invest-projects-page .land-list-pagination span:focus {
  outline: none;
  box-shadow: none;
}

.invest-projects-page .land-list-pagination a:hover {
  background-color: #f0f7f3;
  color: #018d42;
  border-color: #018d42;
}

/* Активная/текущая страница — Bitrix и общие селекторы */
.invest-projects-page .land-list-pagination .active,
.invest-projects-page .land-list-pagination span.current,
.invest-projects-page .land-list-pagination span.bx-pagination-current,
.invest-projects-page .land-list-pagination a.active,
.invest-projects-page .land-list-pagination a[aria-current=page],
.invest-projects-page .land-list-pagination span[aria-current=page],
.invest-projects-page .land-list-pagination .bx-pagination-page-current {
  background-color: #018d42;
  color: #fff;
  border-color: #018d42;
  pointer-events: none;
}

.invest-projects-page .land-list-pagination .disabled,
.invest-projects-page .land-list-pagination a.disabled {
  opacity: 0.6;
  pointer-events: none;
}

/* Prev/Next — иконки стрелок всегда (Bitrix может выводить непустой текст) */
.invest-projects-page .land-list-pagination .bx-pagination-prev a,
.invest-projects-page .land-list-pagination .prev a {
  font-size: 0;
  position: relative;
}

.invest-projects-page .land-list-pagination .bx-pagination-prev a::before,
.invest-projects-page .land-list-pagination .prev a::before {
  content: "‹";
  font-size: 1.25rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.invest-projects-page .land-list-pagination .bx-pagination-next a,
.invest-projects-page .land-list-pagination .next a {
  font-size: 0;
  position: relative;
}

.invest-projects-page .land-list-pagination .bx-pagination-next a::after,
.invest-projects-page .land-list-pagination .next a::after {
  content: "›";
  font-size: 1.25rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Пагинация в формате air_template .default (.module-pagination): одна строка, без переноса */
.invest-projects-page .land-list-pagination .module-pagination {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
}

.invest-projects-page .land-list-pagination .module-pagination .nums {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
}

.invest-projects-page .land-list-pagination .module-pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  font-family: "Noto Sans", sans-serif;
  font-size: 14px;
  border-radius: 0.375rem;
  text-decoration: none;
  color: #161413;
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  outline: none;
  box-shadow: none;
  overflow: visible;
}

.invest-projects-page .land-list-pagination .module-pagination a:focus {
  outline: none;
  box-shadow: none;
}

.invest-projects-page .land-list-pagination .module-pagination .nums a:not(.prev):not(.next) {
  min-width: 38px;
}

.invest-projects-page .land-list-pagination .module-pagination a:hover:not(.disabled):not(.cur) {
  background-color: #f0f7f3;
  color: #018d42;
  border-color: #018d42;
}

.invest-projects-page .land-list-pagination .module-pagination a.cur {
  background-color: #018d42;
  color: #fff;
  border-color: #018d42;
  pointer-events: none;
}

.invest-projects-page .land-list-pagination .module-pagination a.prev,
.invest-projects-page .land-list-pagination .module-pagination a.next {
  font-size: 0;
}

.invest-projects-page .land-list-pagination .module-pagination a.prev::before {
  content: "‹";
  font-size: 1.25rem;
  line-height: 1;
}

.invest-projects-page .land-list-pagination .module-pagination a.next::after {
  content: "›";
  font-size: 1.25rem;
  line-height: 1;
}

.invest-projects-page .land-list-pagination .module-pagination a.disabled {
  opacity: 0.6;
  pointer-events: none;
}

/* Состояние развернуто */
.invest-projects-page .invest-projects-cards-section.invest-projects-cards-expanded {
  width: 33%;
  transform: translateX(0);
  opacity: 1;
}

/* Состояние свернуто */
.invest-projects-page .invest-projects-cards-section.invest-projects-cards-collapsed {
  width: 0;
  transform: translateX(0);
  opacity: 0;
  overflow: hidden;
}

.invest-projects-page .invest-projects-cards-section.invest-projects-cards-collapsed .invest-projects-cards-container {
  visibility: hidden;
}

/* Кнопка сворачивания/разворачивания — в стиле outline (как Избранное/Сравнить) */
.invest-projects-page .invest-projects-cards-toggle {
  position: absolute;
  top: 50%;
  left: 33%;
  transform: translate(-50%, -50%);
  width: 32px;
  min-width: 32px;
  height: 80px;
  min-height: 44px;
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 0.375rem;
  cursor: pointer;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  margin: 0;
  padding: 0;
  transition: left 0.3s ease, transform 0.3s ease, color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
  pointer-events: auto;
  color: #6c757d;
}

/* Когда карточки свернуты, кнопка прижата к левому краю */
.invest-projects-page .invest-projects-map-section:has(.invest-projects-cards-collapsed) .invest-projects-cards-toggle {
  left: 4px;
  transform: translate(0, -50%);
}

.invest-projects-page .invest-projects-cards-toggle:hover {
  background-color: #f0f7f3;
  border-color: #009035;
  color: #009035;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.invest-projects-page .invest-projects-cards-toggle:active {
  background-color: #e8f0ec;
  border-color: #009035;
  color: #009035;
}

.invest-projects-page .invest-projects-cards-toggle:focus {
  outline: none;
  border-color: #018d42;
  color: #018d42;
}

.invest-projects-page .invest-projects-cards-toggle svg {
  width: 16px;
  height: 16px;
  color: currentColor;
  transition: color 0.2s ease;
}

.invest-projects-page .invest-projects-cards-container {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

/* Header блока карточек (sticky): первая строка — заголовок + счётчик, вторая — кнопки */
.invest-projects-page .invest-projects-cards-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 16px 20px;
  border-bottom: 1px solid #E0DEDC;
  background-color: #F6F5F4;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}

.invest-projects-page .invest-projects-cards-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.invest-projects-page .invest-projects-cards-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Сброс наследования для всех ссылок в шапке (приоритет над глобальными a) */
.invest-projects-page .invest-projects-cards-header a {
  color: #6c757d;
  text-decoration: none;
  border: 1px solid #dee2e6;
}

.invest-projects-page .invest-projects-cards-header a:hover {
  text-decoration: none;
}

/* Правая часть шапки (legacy) — скрыта, используется header-top + header-actions */
.invest-projects-page .invest-projects-cards-header-right {
  display: none;
}

/* Разделители в шапке сайдбара — скрыты (убраны из разметки, скрытие на случай остатков) */
.invest-projects-page .invest-projects-cards-header-divider {
  display: none;
}

/* Счётчик — выделение по дизайну */
.invest-projects-page .invest-projects-cards-count {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 4px 10px;
  background-color: #f0f7f3;
  border-radius: 0.375rem;
  border: 1px solid rgba(1, 141, 66, 0.2);
}

.invest-projects-page .invest-projects-cards-count .count-number {
  font-family: "Noto Sans", sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: #018d42;
  line-height: 1.2;
}

.invest-projects-page .invest-projects-cards-count .count-text {
  font-size: 0.8125rem;
  color: #6c757d;
}

/* Кнопки шапки «Избранное» и «Сравнить» — одинаковый размер и стиль */
.invest-projects-page .invest-projects-favorites-btn.invest-projects-favorites-link,
.invest-projects-page .invest-projects-compare-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  min-height: 36px;
  padding: 6px 12px;
  font-family: "Noto Sans", sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #6c757d;
  text-decoration: none;
  background-color: transparent;
  border: 1px solid #dee2e6;
  border-radius: 0.375rem;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.invest-projects-page .invest-projects-favorites-btn.invest-projects-favorites-link:hover,
.invest-projects-page .invest-projects-compare-btn:hover {
  color: #009035;
  border-color: #009035;
  background-color: #f0f7f3;
  text-decoration: none;
}

.invest-projects-page .invest-projects-favorites-btn.invest-projects-favorites-link:focus,
.invest-projects-page .invest-projects-compare-btn:focus {
  outline: none;
  border-color: #018d42;
  color: #018d42;
}

.invest-projects-page .invest-projects-compare-btn[aria-disabled=true] {
  color: #adb5bd;
  border-color: #dee2e6;
  background-color: #f8f9fa;
  cursor: not-allowed;
}

/* Активное состояние кнопок Избранное / Сравнить */
.invest-projects-page .invest-projects-favorites-btn.is-active,
.invest-projects-page .invest-projects-compare-btn.is-active {
  color: #018d42;
  border-color: #018d42;
  background-color: #f0f7f3;
}

.invest-projects-page .invest-projects-favorites-btn.is-active:hover,
.invest-projects-page .invest-projects-compare-btn.is-active:hover {
  color: #009035;
  border-color: #009035;
  background-color: #e8f0ec;
}

.invest-projects-page .invest-projects-favorites-mode-indicator {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  margin: 0;
  font-family: "Noto Sans", sans-serif;
  font-size: 14px;
  color: #161413;
  background-color: #F6F5F4;
  border-bottom: 1px solid #E0DEDC;
  flex-shrink: 0;
}

.invest-projects-page .invest-projects-favorites-mode-indicator .invest-projects-favorites-mode-text {
  flex: 1;
}

.invest-projects-page .invest-projects-show-all-btn {
  padding: 8px 14px;
  font-family: "Noto Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #009035;
  background: transparent;
  border: 1px solid #dee2e6;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.invest-projects-page .invest-projects-show-all-btn:hover {
  color: #009035;
  border-color: #009035;
  background-color: #f0f7f3;
}

.invest-projects-page .invest-projects-show-all-btn:focus {
  outline: none;
  border-color: #018d42;
  color: #018d42;
}

.invest-projects-page .invest-projects-cards-container .land-list-item-link.in-favorites {
  color: #018d42;
  background-color: #f0f7f3;
  border-color: #018d42;
}

.invest-projects-page .invest-projects-cards-container .land-list-item-link.in-favorites svg,
.invest-projects-page .invest-projects-cards-container .land-list-item-link.in-compare svg {
  fill: #018d42;
  stroke: #018d42;
}

.invest-projects-page .invest-projects-cards-container .land-list-item-link.in-compare {
  color: #018d42;
  background-color: #f0f7f3;
  border-color: #018d42;
}

.invest-projects-page .invest-projects-cards-title {
  font-family: "Sofia Pro", sans-serif;
  font-size: 22px;
  line-height: 26px;
  font-weight: 500;
  color: #161413;
  margin: 0;
  padding: 0;
}

/* Список карточек внутри scroll-обёртки — растёт по контенту, скролл у .invest-projects-cards-scroll */
.invest-projects-page .invest-projects-cards-container .land-list {
  margin: 0;
  padding: 0;
}

.invest-projects-page .invest-projects-cards-container .land-list-empty {
  margin: 24px 24px 32px;
  padding: 32px 24px;
  text-align: center;
  font-size: 1rem;
  line-height: 1.5;
  color: #5c5c5c;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}
.invest-projects-page .invest-projects-cards-container .land-list-items {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
}
.invest-projects-page .invest-projects-cards-container .land-list-item {
  border-bottom: none;
  padding: 0 24px;
  margin: 0 0 12px 0;
  transition: background-color 0.2s ease;
}
.invest-projects-page .invest-projects-cards-container .land-list-item:hover {
  background-color: transparent;
}
.invest-projects-page .invest-projects-cards-container .land-list-item:hover .land-list-item-card {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}
.invest-projects-page .invest-projects-cards-container .land-list-item:hover .land-list-item-content {
  box-shadow: none;
}
.invest-projects-page .invest-projects-cards-container .land-list-item:first-child {
  margin-top: 12px;
}
.invest-projects-page .invest-projects-cards-container .land-list-item:last-child {
  margin-bottom: 12px;
}
.invest-projects-page .invest-projects-cards-container .land-list-item-card {
  position: relative;
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 0;
  width: 100%;
  max-width: none;
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  background: #fff;
}
.invest-projects-page .invest-projects-cards-container .land-list-item-card .land-list-item-image {
  width: 100%;
  height: 100%;
  overflow: hidden;
  flex-shrink: 0;
  background: #f0f0f0;
}
.invest-projects-page .invest-projects-cards-container .land-list-item-card .land-list-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.invest-projects-page .invest-projects-cards-container .land-list-item-card .land-list-item-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #6c757d;
  background: #e9ecef;
}
.invest-projects-page .invest-projects-cards-container .land-list-item-card .land-list-item-content {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 56px 16px 16px;
  margin: 0;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  background: #fff;
  border: none;
  border-radius: 0;
  box-shadow: none;
}
.invest-projects-page .invest-projects-cards-container .land-list-item-card .land-list-item-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 0;
}
.invest-projects-page .invest-projects-cards-container .land-list-item-card .land-list-item-actions {
  position: absolute;
  right: 16px;
  top: 16px;
}
.invest-projects-page .invest-projects-cards-container .land-list-item-card .land-list-item-actions .land-list-item-actions-secondary {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}
.invest-projects-page .invest-projects-cards-container .land-list-item-card .land-list-item-header {
  flex: 1;
  min-width: 0;
  margin-bottom: 0;
}
.invest-projects-page .invest-projects-cards-container .land-list-item-card .land-list-item-title {
  font-family: "Sofia Pro", sans-serif;
  font-size: 16px;
  line-height: 22px;
  font-weight: 500;
  color: #161413;
  margin: 0;
  padding: 0;
  letter-spacing: 0.0015em;
}
.invest-projects-page .invest-projects-cards-container .land-list-item-card .land-list-item-title a {
  color: #161413;
  text-decoration: none;
  transition: color 0.2s ease;
  display: block;
}
.invest-projects-page .invest-projects-cards-container .land-list-item-card .land-list-item-title a:hover {
  color: #009035;
  text-decoration: none;
}
.invest-projects-page .invest-projects-cards-container .land-list-item-card .land-list-item-main-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}
.invest-projects-page .invest-projects-cards-container .land-list-item-card .land-list-item-address, .invest-projects-page .invest-projects-cards-container .land-list-item-card .land-list-item-location {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Noto Sans", sans-serif;
  font-size: 14px;
  line-height: 20px;
  color: #6c757d;
  letter-spacing: 0.0025em;
}
.invest-projects-page .invest-projects-cards-container .land-list-item-card .land-list-item-address svg, .invest-projects-page .invest-projects-cards-container .land-list-item-card .land-list-item-location svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: #009035;
  opacity: 0.8;
}

.invest-projects-page .invest-projects-cards-container .land-list-item-location span,
.invest-projects-page .invest-projects-cards-container .land-list-item-address span {
  flex: 1;
  min-width: 0;
  word-wrap: break-word;
}

/* Детали карточки */
.invest-projects-page .invest-projects-cards-container .land-list-item-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
}

.invest-projects-page .invest-projects-cards-container .land-list-item-detail {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: "Noto Sans", sans-serif;
}

.invest-projects-page .invest-projects-cards-container .land-list-item-detail .detail-label {
  color: #6c757d;
  font-weight: 400;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.0025em;
  text-transform: uppercase;
}

.invest-projects-page .invest-projects-cards-container .land-list-item-detail .detail-value {
  color: #161413;
  font-weight: 500;
  font-size: 15px;
  line-height: 20px;
  letter-spacing: 0.001em;
}

/* Кнопки «В избранное» и «К сравнению» в карточке — иконки, компактные */
.invest-projects-page .invest-projects-cards-container .land-list-item-link {
  min-width: 32px;
  width: 32px;
  height: 32px;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: #6c757d;
  text-decoration: none;
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 0.375rem;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.invest-projects-page .invest-projects-cards-container .land-list-item-link:hover {
  background-color: #f0f7f3;
  border-color: #009035;
  color: #009035;
}

.invest-projects-page .invest-projects-cards-container .land-list-item-link:active {
  background-color: #e8f0ec;
  color: #009035;
}

.invest-projects-page .invest-projects-cards-container .land-list-item-link svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.invest-projects-page .invest-projects-cards-container .land-list-item-link:hover svg {
  transform: scale(1.05);
}

.invest-projects-share-feedback {
  position: absolute;
  z-index: 9999;
  padding: 4px 8px;
  font-size: 12px;
  line-height: 1.3;
  color: #fff;
  background: #333;
  border-radius: 4px;
  white-space: nowrap;
  pointer-events: none;
}

/* Скрываем раскрывающиеся секции и другие элементы, которые не нужны для краткого отображения */
.invest-projects-page .invest-projects-cards-container .land-list-item-sections,
.invest-projects-page .invest-projects-cards-container .land-list-item-category,
.invest-projects-page .invest-projects-cards-container .land-list-item-coordinates,
.invest-projects-page .invest-projects-cards-container .land-list-item-tag,
.invest-projects-page .invest-projects-cards-container .land-list-item-main-info,
.invest-projects-page .invest-projects-cards-container .land-list-item-location,
.invest-projects-page .invest-projects-cards-container .land-list-item-address {
  display: none;
}

/* Контейнер карты */
.invest-projects-page .invest-projects-map-container {
  width: 100%;
  height: 100%;
  min-height: 70vh;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
}

/* Контейнер карты Yandex */
.invest-projects-page .invest-projects-map-container [id*=map],
.invest-projects-page .invest-projects-map-container .ymaps-2-1-79-map,
.invest-projects-page .invest-projects-map-container > div {
  width: 100% !important;
  height: 100% !important;
  min-height: 70vh !important;
}

/* Убираем отступ футера от карты */
.invest-projects-page ~ footer,
.invest-projects-page ~ .footer,
section.content:has(.invest-projects-page) ~ footer,
section.content:has(.invest-projects-page) ~ .footer {
  margin-top: 0 !important;
}

/* Модалка фильтров: заголовок в стиле шапки (D.4) */
.invest-projects-page .land-filter .modal-title {
  font-family: "Sofia Pro", sans-serif !important;
  font-weight: 500 !important;
}

/* Мобильная версия — переопределения только для investprojects (D.5) */
@media screen and (max-width: 992px) {
  .invest-projects-page .invest-projects-map-section {
    min-height: 50vh;
  }
  .invest-projects-page .invest-projects-map-section:has(.invest-projects-cards-collapsed) .invest-projects-cards-toggle {
    bottom: 16px;
  }
}
@media screen and (max-width: 768px) {
  /* Мобильная версия: карта скрыта, только карточки на всю ширину */
  .invest-projects-page .invest-projects-map-section {
    height: auto;
    min-height: auto;
  }
  .invest-projects-page .invest-projects-map-container {
    display: none !important;
  }
  .invest-projects-page .invest-projects-cards-section {
    position: relative;
    width: 100% !important;
    height: auto;
    min-height: 50vh;
  }
  .invest-projects-page .invest-projects-cards-toggle {
    display: none !important;
  }
  .invest-projects-page .invest-projects-filters-container {
    padding-left: 12px;
    padding-right: 12px;
  }
  .invest-projects-page .invest-projects-cards-header {
    padding: 12px 12px;
    flex-wrap: wrap;
    gap: 8px;
  }
  .invest-projects-page .invest-projects-cards-header-right {
    gap: 8px;
  }
  .invest-projects-page .invest-projects-cards-count {
    padding: 4px 8px;
  }
  .invest-projects-page .invest-projects-cards-count .count-number {
    font-size: 1rem;
  }
  .invest-projects-page .invest-projects-favorites-btn.invest-projects-favorites-link {
    min-height: 44px;
    padding: 8px 10px;
    font-size: 13px;
  }
  .invest-projects-page .invest-projects-compare-btn {
    min-height: 44px;
    padding: 8px 10px;
    font-size: 13px;
  }
}
/* Страница избранного */
.invest-projects-page.invest-projects-favorites-page .invest-projects-favorites-title {
  margin: 0 0 8px 0;
  font-family: "Sofia Pro", sans-serif;
  font-size: 22px;
  font-weight: 500;
  color: #161413;
}

.invest-projects-page.invest-projects-favorites-page .invest-projects-favorites-back {
  margin: 0;
}

.invest-projects-page.invest-projects-favorites-page .invest-projects-favorites-back a {
  color: #009035;
  text-decoration: none;
}

.invest-projects-page.invest-projects-favorites-page .invest-projects-favorites-back a:hover {
  text-decoration: underline;
}

.invest-projects-page.invest-projects-favorites-page .invest-projects-favorites-list {
  padding: 24px 0;
}

.invest-projects-page.invest-projects-favorites-page .invest-projects-favorites-empty {
  padding: 48px 24px;
  text-align: center;
  color: #6c757d;
}

.invest-projects-page.invest-projects-favorites-page .invest-projects-favorites-empty a {
  color: #009035;
  text-decoration: none;
}

.invest-projects-page.invest-projects-favorites-page .invest-projects-favorites-empty a:hover {
  text-decoration: underline;
}

/* Модалка расширенной карточки (E.2) — центрирование по экрану, воздушная, полная информация */
.invest-projects-detail-modal.modal {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.invest-projects-detail-modal.modal.show {
  display: flex !important;
}

.invest-projects-detail-modal .modal-dialog {
  max-width: 900px;
  margin: 0;
}

.invest-projects-detail-modal .modal-header {
  padding: 24px 32px 16px;
  border-bottom: 1px solid #E0DEDC;
}

.invest-projects-detail-modal .modal-title {
  font-family: "Sofia Pro", sans-serif;
  font-size: 20px;
  font-weight: 500;
  color: #161413;
  line-height: 1.3;
}

.invest-projects-detail-modal .modal-body {
  padding: 28px 32px 36px;
  font-family: "Noto Sans", sans-serif;
  font-size: 14px;
  color: #161413;
  line-height: 1.5;
}

.invest-projects-detail-modal .invest-projects-detail-image-wrap {
  margin-bottom: 28px;
  border-radius: 0.5rem;
  overflow: hidden;
  background: #f8f9fa;
}

.invest-projects-detail-modal .invest-projects-detail-image {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  display: block;
}

.invest-projects-detail-modal .invest-projects-detail-no-photo {
  margin-bottom: 28px;
  min-height: 180px;
  padding: 32px 24px;
  background: #f8f9fa;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Noto Sans", sans-serif;
  font-size: 14px;
  color: #6c757d;
}

.invest-projects-detail-modal .invest-projects-detail-section {
  margin-bottom: 28px;
}

.invest-projects-detail-modal .invest-projects-detail-section:last-child {
  margin-bottom: 0;
}

.invest-projects-detail-modal .invest-projects-detail-section-title {
  font-family: "Sofia Pro", sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #161413;
  margin: 0 0 16px 0;
  padding: 0;
}

.invest-projects-detail-modal .invest-projects-detail-fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.invest-projects-detail-modal .invest-projects-detail-field {
  background: #fafbfc;
  border-radius: 1rem;
  padding: 16px 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  border: 1px solid #eee;
}

.invest-projects-detail-modal .invest-projects-detail-field-label {
  display: block;
  font-family: "Noto Sans", sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #6c757d;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0 0 6px 0;
  word-break: break-word;
  overflow-wrap: break-word;
}

.invest-projects-detail-modal .invest-projects-detail-field-value {
  display: block;
  font-family: "Noto Sans", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #161413;
  margin: 0;
  word-break: break-word;
  overflow-wrap: break-word;
}

.invest-projects-detail-modal .invest-projects-detail-files-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.invest-projects-detail-modal .invest-projects-detail-files-list li {
  margin-bottom: 8px;
}

.invest-projects-detail-modal .invest-projects-detail-files-list a {
  color: #018d42;
  text-decoration: none;
}

.invest-projects-detail-modal .invest-projects-detail-files-list a:hover {
  color: #009035;
  text-decoration: underline;
}

.invest-projects-detail-modal .invest-projects-detail-preview,
.invest-projects-detail-modal .invest-projects-detail-text {
  font-family: "Noto Sans", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #161413;
}

.invest-projects-detail-modal .invest-projects-detail-empty {
  color: #6c757d;
  margin: 0;
}

.invest-projects-detail-modal .modal-footer {
  padding: 16px 32px 24px;
  border-top: 1px solid #E0DEDC;
  gap: 12px;
}

.invest-projects-detail-modal .btn-primary,
.invest-projects-detail-modal .invest-projects-detail-modal-link {
  text-decoration: none;
  background-color: #018d42;
  border-color: #018d42;
  padding: 10px 20px;
  font-weight: 500;
  border-radius: 0.375rem;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.invest-projects-detail-modal .btn-primary:hover,
.invest-projects-detail-modal .invest-projects-detail-modal-link:hover {
  text-decoration: none;
  background-color: #009035;
  border-color: #009035;
}

.invest-projects-detail-modal .btn-primary:focus,
.invest-projects-detail-modal .invest-projects-detail-modal-link:focus {
  text-decoration: none;
}

.invest-projects-detail-modal .btn-secondary {
  padding: 10px 20px;
  font-weight: 500;
  border-radius: 0.375rem;
  border: 1px solid #dee2e6;
  color: #6c757d;
  background: #fff;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.invest-projects-detail-modal .btn-secondary:hover {
  background-color: #f8f9fa;
  border-color: #dee2e6;
  color: #161413;
}

/* Модалка фильтров на странице инвест-проектов — воздушные блоки как в детальной карточке */
.invest-projects-page .land-filter .modal-body .filter-modal-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.invest-projects-page .land-filter .modal-body .filter-modal-field {
  background: #fafbfc;
  border-radius: 1rem;
  padding: 16px 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  border: 1px solid #eee;
  margin-bottom: 0;
}

.invest-projects-page .land-filter .modal-body .filter-modal-label {
  display: block;
  font-family: "Noto Sans", sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #6c757d;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0 0 6px 0;
  word-break: break-word;
  overflow-wrap: break-word;
}

.invest-projects-page .land-filter .modal-body .filter-modal-field .filter-input-wrapper,
.invest-projects-page .land-filter .modal-body .filter-modal-field .filter-range-input-group,
.invest-projects-page .land-filter .modal-body .filter-modal-field .form-control {
  margin-top: 0;
}

/* Группы полей в модалке фильтра (Tahoe) */
.invest-projects-page .land-filter .modal-body .filter-modal-group {
  margin-top: 16px;
}

.invest-projects-page .land-filter .modal-body .filter-modal-group:first-child {
  margin-top: 0;
}

.invest-projects-page .land-filter .modal-body .filter-modal-group-title {
  font-family: "Noto Sans", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #161413;
  margin: 0 0 8px 0;
  padding: 0;
}

/* Футер модалки фильтра — как у детальной модалки */
.invest-projects-page .land-filter .modal-footer {
  padding: 16px 32px 24px;
  border-top: 1px solid #E0DEDC;
  gap: 12px;
  justify-content: space-between;
}

/* Кнопки «Применить» и «Сбросить» — полная стилизация как у детальной модалки (шрифты не переопределяем) */
.invest-projects-page .land-filter .modal-footer .filter-modal-apply {
  background-color: #018d42;
  border-color: #018d42;
  padding: 10px 20px;
  font-weight: 500;
  border-radius: 0.375rem;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.invest-projects-page .land-filter .modal-footer .filter-modal-apply:hover {
  background-color: #009035;
  border-color: #009035;
}

.invest-projects-page .land-filter .modal-footer .filter-modal-reset {
  padding: 10px 20px;
  font-weight: 500;
  border-radius: 0.375rem;
  border: 1px solid #dee2e6;
  color: #6c757d;
  background: #fff;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.invest-projects-page .land-filter .modal-footer .filter-modal-reset:hover {
  background-color: #f8f9fa;
  border-color: #dee2e6;
  color: #161413;
}

/* Страница сравнения — общая стилистика сайта (Sofia Pro, Noto Sans, #018d42, #161413) */
.invest-projects-compare-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 16px;
  font-family: "Noto Sans", sans-serif;
  color: #161413;
  background: #F6F5F4;
}

.invest-projects-compare-header {
  margin-bottom: 24px;
}

.invest-projects-compare-back {
  color: #018d42;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

.invest-projects-compare-back:hover {
  color: #009035;
  text-decoration: none;
}

.invest-projects-compare-title {
  font-family: "Sofia Pro", sans-serif;
  font-size: 24px;
  font-weight: 500;
  margin: 12px 0 0;
  color: #161413;
}

.invest-projects-compare-empty {
  color: #6c757d;
  padding: 24px;
  font-size: 14px;
  background: #fff;
  border-radius: 0.5rem;
  border: 1px solid #E0DEDC;
}

.invest-projects-compare-section {
  margin-bottom: 40px;
  background: #fff;
  border-radius: 0.75rem;
  border: 1px solid #E0DEDC;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
}

.invest-projects-compare-section:last-child {
  margin-bottom: 0;
}

.invest-projects-compare-section-title {
  font-family: "Sofia Pro", sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #161413;
  margin: 0;
  padding: 24px 28px;
  border-bottom: 1px solid #E0DEDC;
  background: #f0f7f3;
}

.invest-projects-compare-block {
  overflow-x: auto;
  padding: 0 20px 24px;
  border-radius: 0 0 0.75rem 0.75rem;
}

.invest-projects-compare-table-wrap {
  overflow-x: auto;
  border-radius: 0 0 0.5rem 0.5rem;
}

.invest-projects-compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-family: "Noto Sans", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #161413;
}

.invest-projects-compare-table th,
.invest-projects-compare-table td {
  border-bottom: 1px solid #E0DEDC;
  padding: 18px 24px;
  text-align: left;
  vertical-align: top;
}

.invest-projects-compare-table thead th:first-child,
.invest-projects-compare-table tbody td:first-child {
  padding-left: 24px;
}

.invest-projects-compare-table thead th {
  border-bottom: 2px solid #E0DEDC;
  padding: 24px 24px 20px;
}

.invest-projects-compare-table tbody tr:last-child td {
  border-bottom: none;
}

.invest-projects-compare-cell-label {
  background: #f8f9fa;
  font-weight: 600;
  color: #6c757d;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  min-width: 160px;
}

.invest-projects-compare-cell-value {
  background: #fff;
  color: #161413;
}

.invest-projects-compare-thumb {
  margin-bottom: 12px;
}

.invest-projects-compare-thumb img {
  max-width: 120px;
  max-height: 80px;
  object-fit: cover;
  display: block;
  border-radius: 0.375rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.invest-projects-compare-table a {
  color: #018d42;
  text-decoration: none;
  transition: color 0.2s ease;
  font-weight: 500;
}

.invest-projects-compare-table a:hover {
  color: #009035;
  text-decoration: none;
}

@media (max-width: 768px) {
  .invest-projects-compare-table {
    font-size: 13px;
  }
  .invest-projects-compare-table th,
  .invest-projects-compare-table td {
    padding: 12px 14px;
  }
  .invest-projects-compare-table thead th {
    padding: 16px 14px 12px;
  }
  .invest-projects-compare-cell-label {
    min-width: 120px;
  }
  .invest-projects-compare-section-title {
    padding: 16px 20px;
    font-size: 16px;
  }
}

/*# sourceMappingURL=style.css.map */
