/* H4Y Skin — корпоративное оформление поверх WPResidence.
   Палитра: золото #c9a24b / #b88a32, тёмный #2a2620, зелёный (аренда) #3f9a5a. */

:root{ --h4y-gold:#c9a24b; --h4y-gold2:#b88a32; --h4y-dark:#2a2620; --h4y-green:#3f9a5a;
    --wp-estate-header-height:60px; --wp-estate-sticky-header-height:60px; }

.entry-title{ margin:0 !important; }

/* ===== 2. Главное меню: активный пункт в золоте с подчёркиванием ===== */
#menu-main-menu > li > a{ position:relative; transition:color .15s; }
#menu-main-menu > li.current-menu-item > a,
#menu-main-menu > li.current_page_item > a,
#menu-main-menu > li.current-menu-ancestor > a,
#menu-main-menu > li.current-menu-parent > a,
#menu-main-menu > li.h4y-nav-active > a,
#menu-main-menu > li > a:hover{ color:var(--h4y-gold2) !important; }

#menu-main-menu > li.current-menu-item > a::after,
#menu-main-menu > li.current_page_item > a::after,
#menu-main-menu > li.current-menu-ancestor > a::after,
#menu-main-menu > li.current-menu-parent > a::after,
#menu-main-menu > li.h4y-nav-active > a::after{
    content:''; position:absolute; left:0; right:0; bottom:-6px; height:3px; border-radius:3px;
    background:linear-gradient(90deg,var(--h4y-gold),var(--h4y-gold2)); }

/* ===== 3. Бейджи на карточке: Продажа — тёмный, Аренда — зелёный,
      статус (Новое/Горячее) — золотой ===== */
.action_tag_wrapper{
    border-radius:8px !important; padding:4px 11px !important; font-weight:400 !important;
    letter-spacing:.2px; box-shadow:0 4px 12px rgba(42,38,32,.22); border:0 !important; 
	opacity: 0.85;}
.action_tag_wrapper.Rentals,
.action_tag_wrapper.rentals{ background:var(--h4y-green) !important;
    box-shadow:0 4px 12px rgba(63,154,90,.26); }

.ribbon-inside,
.status-wrapper .ribbon-inside{
    color:#fff !important;
    border-radius:8px !important; padding:4px 11px !important; font-weight:400 !important;
    box-shadow:0 4px 12px rgba(184,138,50,.3); border:0 !important; }
/* убираем «хвостик» ленты, если тема его рисует */
.ribbon-inside::before,.ribbon-inside::after{ display:none !important; }

/* Краткое описание в карточке не нужно — скрываем (специфику оставляем). */
.property_listing .listing_details.the_grid_view,
.property_listing .listing_details.the_list_view{ display:none !important; }

/* ===== 4. Цена на всех карточках — корпоративное золото ===== */
.listing_unit_price_wrapper,
.listing_unit_price_wrapper .price_label{
    color:var(--h4y-gold2) !important; font-weight:700 !important; }

/* страница объекта: главная цена — золото, статус-бейдж — золотой */
.price_area,
.price_area .price_label{ color:var(--h4y-gold2) !important; }
.slider-property-status,
.status-wrapper .slider-property-status,
[class*="ribbon-wrapper-"]{
    background:linear-gradient(135deg,var(--h4y-gold),var(--h4y-gold2)) !important; color:#fff !important;
    border-radius:8px !important; font-weight:400 !important; }
/* бейджи в шапке страницы объекта: Продажа/Аренда — тёмный, категория — золото */
.single_property_labels .property_title_label{
    color:#fff !important; border-radius:8px !important; font-weight:400 !important; }
.single_property_labels .property_title_label.actioncat{
     }

/* ===== Панели фильтров/сортировки — «пилюли» в корп. стиле (десктоп) ===== */
@media (min-width:993px){
  /* --- Левая форма поиска: flex, ширина полей по содержимому --- */
  #instream-search-form{ display:flex !important; align-items:center; gap:0 !important; flex-wrap:wrap; row-gap:10px;
      width:-moz-fit-content !important; width:fit-content !important; max-width:100% !important; min-width:0 !important; box-sizing:border-box; }
  /* одинаковый отступ между полями через margin-right (пустые промо-элементы его не имеют) */
  #instream-search-form .dropdown.form-control{ margin:0 12px 0 0 !important; }
  #instream-search-form #prop_number{ margin:0 !important; }
  #instream-search-form .instream-search-btn{ margin:0 0 0 12px !important; }
  /* Колонки-обёртки убираем из потока — flex-элементами станут сами пилюли,
     тогда gap между полями одинаковый. */
  #instream-search-form div[class*="col-"]{ display:contents !important; }
  #instream-search-form .dropdown.form-control{
      width:auto !important; background:#fff !important; border:0 !important; border-radius:26px !important;
      height:48px !important; box-shadow:0 2px 8px rgba(42,38,32,.05) !important; padding:0 !important;
      display:flex !important; align-items:center !important; transition:box-shadow .15s; }
  #instream-search-form .filter_menu_trigger{
      display:flex !important; align-items:center; gap:8px; height:100%;
      padding:0 15px !important; font-size:14px; font-weight:500; color:var(--h4y-dark) !important;
      white-space:nowrap; cursor:pointer; }
  #instream-search-form .filter_menu_trigger .caret,
  #instream-search-form .filter_menu_trigger .caret_filter{
      position:static !important; flex:0 0 auto; margin:-3px 0 0 8px !important; border:0 !important;
      width:8px; height:8px; transform:rotate(45deg);
      border-right:2px solid #b4ab99 !important; border-bottom:2px solid #b4ab99 !important; }
  /* иконки слева у полей */
  #instream_adv_actions::before,
  #instream-advanced_city::before,
  #instream_adv_price_conditions_0::before,
  #instream_adv_price_conditions::before{
      content:''; width:18px; height:18px; flex:0 0 18px; background-repeat:no-repeat; background-position:center;
      background-size:contain; opacity:.75; }
  #instream_adv_actions::before{ background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b6453' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E"); }
  #instream-advanced_city::before{ background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b6453' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 3 3 5v16l6-2 6 2 6-2V3l-6 2-6-2z'/%3E%3Cpath d='M9 3v16M15 5v16'/%3E%3C/svg%3E"); }
  #instream_adv_price_conditions_0::before,
  #instream_adv_price_conditions::before{ background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b6453' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='5' width='20' height='14' rx='3'/%3E%3Cpath d='M2 10h20'/%3E%3C/svg%3E"); }
  /* поле № Объекта — тоже пилюля */
  #instream-search-form #prop_number{
      background:#fff !important; border:1px solid #e8e3d7 !important; border-radius:26px !important;
      height:48px !important; padding:0 18px !important; font-size:14px; color:var(--h4y-dark) !important;
      box-shadow:0 2px 8px rgba(42,38,32,.05) !important; margin:0 !important;
      width:135px !important; min-width:135px !important; flex:0 0 135px !important; }
  #instream-search-form #prop_number:focus{ border-color:#d9c79b !important; outline:none;
      box-shadow:0 0 0 3px rgba(201,162,75,.12) !important; }

  /* круглая кнопка поиска (белая, золотая иконка) — и на обычном, и на half-map */
  #instream-search-form .instream-search-btn{
      width:48px !important; height:48px !important; min-width:48px; border-radius:50% !important;
      background:#fff !important; flex:0 0 48px;
      display:flex !important; align-items:center; justify-content:center; cursor:pointer; border:0 !important;
      transition:transform .15s; color:var(--h4y-gold2); }
  #instream-search-form .instream-search-btn:hover{ transform:scale(1.05); }
  #instream-search-form .instream-search-btn i{ color:var(--h4y-gold2) !important; font-size:17px !important; }

  /* --- Страница результатов (grid/list): поиск + сортировка строго в ОДНОМ ряду --- */
  /* Только внутри .h4y-search-row (не трогаем главную в #search_wrapper и half-map). */
  /* Контейнер ряда ~1170px — поджимаем форму, чтобы обе группы влезли без переноса. */
  .h4y-search-row{ justify-content:flex-start !important; align-items:center; flex-wrap:nowrap !important; gap:0 !important; }
  .h4y-search-row #instream-search-form{
      flex:0 1 auto !important; width:auto !important; flex-wrap:nowrap !important; margin:0 14px 0 0 !important; }
  .h4y-search-row #instream-search-form .dropdown.form-control{ margin:0 8px 0 0 !important; }
  .h4y-search-row #instream-search-form #prop_number{
      width:118px !important; min-width:118px !important; flex:0 0 118px !important; padding:0 14px !important; }
  .h4y-search-row #instream-search-form .instream-search-btn{ margin:0 0 0 8px !important; }
  .h4y-search-row .listing_filters_head{ flex:0 0 auto !important; flex-wrap:nowrap !important; gap:6px !important; }

  /* --- Правая панель: сортировка + режимы отображения (в т.ч. half-map, где нет .listing_filters_head) --- */
  .listing_filters_head{ display:flex !important; align-items:center; gap:8px; flex-wrap:wrap; }
  .listing_filter_select{
      background:#fff !important; border:0 !important; border-radius:26px !important;
      height:48px !important; display:flex !important; align-items:center; box-shadow:0 2px 8px rgba(42,38,32,.05) !important;
      padding:0 !important; }
  .listing_filter_select .filter_menu_trigger{
      background:transparent !important; border:0 !important; height:100%; display:flex !important; align-items:center; gap:9px;
      padding:0 16px !important; font-size:14px; font-weight:500; color:var(--h4y-dark) !important; white-space:nowrap; box-shadow:none !important; }
  .listing_filter_select .filter_menu_trigger::after{ content:'' !important; position:static !important; flex:0 0 auto;
      border:0 !important; width:8px; height:8px; transform:rotate(45deg);
      border-right:2px solid #b4ab99 !important; border-bottom:2px solid #b4ab99 !important; margin:-3px 0 0 8px; }
  #a_filter_order::before{ content:''; width:17px; height:17px; flex:0 0 17px; background-repeat:no-repeat; background-position:center;
      background-size:contain; opacity:.75;
      background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b6453' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h18M6 12h12M9 18h6'/%3E%3C/svg%3E"); }
  /* иконки видов — скруглённые кнопки, активная золотая */
  #list_view, #grid_view, #h4y_map_view, #h4y_reset_view{
      width:35px; height:35px; display:inline-flex !important; align-items:center; justify-content:center;
      background:#fff; border-radius:14px; color:#c5c3c0; cursor:pointer;
      transition:all .15s; margin:0; }
  #list_view svg, #grid_view svg, #h4y_map_view svg, #h4y_reset_view svg,
  #list_view i, #grid_view i, #h4y_map_view i, #h4y_reset_view i{ width:19px; height:19px; }
  #grid_view.icon_selected, #list_view.icon_selected, #h4y_map_view.icon_selected{
      border-color:transparent !important; color:#b88a32 !important; }

  /* --- Выпадающие панели фильтров в стиле дизайна --- */
  #instream-search-form .dropdown-menu,
  .listing_filters_head .dropdown-menu{
      border:0 !important; border-radius:16px !important; background:#fff !important;
      box-shadow:0 18px 44px rgba(42,38,32,.16) !important; padding:12px !important; margin-top:8px !important; }
  #instream-search-form .instream-drop-ui{ min-width:320px !important; }
  /* сегмент Купить/Снять */
  #buyrent-switch{ display:flex !important; gap:4px !important;
      padding:4px !important; margin-bottom:12px !important; }
  #buyrent-switch .switch-button{ flex:1 1 0; display:flex !important; align-items:center; justify-content:center; gap:7px;
      text-align:center; padding:9px 10px !important; border-radius:9px !important; border:0 !important; background:transparent !important;
      font-weight:600; font-size:14px; color:#6b6453 !important; cursor:pointer; transition:background .15s,color .15s,box-shadow .15s; }
  #buyrent-switch .switch-button.active{ background:linear-gradient(135deg,var(--h4y-gold),var(--h4y-gold2)) !important; color:#fff !important;
      box-shadow:0 4px 12px rgba(184,138,50,.3); }
  #buyrent-switch .switch-button::before{ content:''; width:16px; height:16px; flex:0 0 16px; background-color:currentColor;
      -webkit-mask-repeat:no-repeat; mask-repeat:no-repeat; -webkit-mask-position:center; mask-position:center;
      -webkit-mask-size:contain; mask-size:contain; }
  #buy-switch::before{ -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11l9-8 9 8'/%3E%3Cpath d='M5 10v10h14V10'/%3E%3Cpath d='M9 20v-6h6v6'/%3E%3C/svg%3E");
      mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11l9-8 9 8'/%3E%3Cpath d='M5 10v10h14V10'/%3E%3Cpath d='M9 20v-6h6v6'/%3E%3C/svg%3E"); }
  #rent-switch::before{ -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='9' r='5'/%3E%3Cpath d='M11.5 12.5L21 22'/%3E%3Cpath d='M17 18l2.5-2.5'/%3E%3C/svg%3E");
      mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='9' r='5'/%3E%3Cpath d='M11.5 12.5L21 22'/%3E%3Cpath d='M17 18l2.5-2.5'/%3E%3C/svg%3E"); }
  /* блок «вид аренды»: тема ставит его absolute top-right — возвращаем в поток под переключатель */
  #instream-price-filter .rent-extra-block{ position:static !important; top:auto !important; right:auto !important; left:auto !important;
      width:100% !important; float:none !important; margin:0 0 10px !important; }
  #instream-price-filter .rent-extra-block select{ width:100% !important; border:1px solid #e8e3d7 !important; border-radius:10px !important;
      padding:9px 12px !important; font-size:14px !important; color:var(--h4y-dark) !important; outline:none; background:#fff !important; height:auto !important; }
  /* заголовки секций */
  .instream-holder-title{ font-size:11.5px !important; font-weight:700 !important; text-transform:uppercase; letter-spacing:.4px;
      color:#9a9488 !important; margin:12px 2px 6px !important; padding:0 !important; background:none !important; }
  .instream-holder:first-child .instream-holder-title{ margin-top:2px !important; }
  /* строки-чекбоксы в один столбец */
  .instream-holder-items [class*="col-"]{ width:100% !important; max-width:none !important; padding:0 !important; float:none !important; }
  .instream-holder-items label{ display:flex !important; align-items:center; gap:10px; padding:7px 9px !important; margin:0 !important;
      border-radius:9px; cursor:pointer; font-size:14px; color:var(--h4y-dark); transition:background .12s; }
  .instream-holder-items label:hover{ background:#f7f4ec; }
  .instream-holder-items input.instream-checkbox-item{ width:17px; height:17px; min-width:17px; accent-color:var(--h4y-gold2); margin:0; }
  .instream-checkbox-item:checked + .checkbox-span{ color:var(--h4y-gold2); font-weight:600; }
  /* списки городов / сортировки */
  #instream-search-form .filter_menu li,
  .listing_filters_head .filter_menu li{ padding:8px 12px !important; border-radius:9px; cursor:pointer; font-size:14px;
      color:var(--h4y-dark); list-style:none; }
  #instream-search-form .dropdown-menu.filter_menu li:hover,
  .listing_filters_head .dropdown-menu.filter_menu li:hover,
  #instream-search-form .filter_menu li:hover,
  .listing_filters_head .filter_menu li:hover{ background:#f7f4ec !important; color:var(--h4y-dark) !important; }

  /* правка: без рамки на hover у кнопки поиска */
  .h4y-search-row .instream-search-btn:hover{ border:0 !important; }
}

/* отступы строки поиска */
.h4y-search-row{ margin:22px 0 30px 0 !important; }

/* ===== Плитки каталога — единые карточки-блоки равной высоты ===== */
.listing_wrapper{ display:flex !important; flex-direction:column; margin-bottom:26px !important; }
.property_listing.property_card_default{
    float:none !important; width:100% !important; flex:1 1 auto; margin:0 !important;
    background:#fff !important; border:1px solid #ece6da !important; border-radius:16px !important; overflow:hidden !important;
    box-shadow:0 6px 20px rgba(42,38,32,.07) !important; display:flex !important; flex-direction:column; }
.property_listing.property_card_default:hover{ box-shadow:0 10px 30px rgba(42,38,32,.12) !important; }
.property_listing.property_card_default .property-unit-information-wrapper{
    display:flex !important; flex-direction:column; flex:1 1 auto; padding:13px 16px 14px !important; }
.property_listing.property_card_default h4{ margin:0 0 8px !important; min-height:42px; line-height:1.3; }
.property_listing.property_card_default h4 a{
    display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
/* блок менеджера всегда прижат к низу карточки */
.property_listing.property_card_default .h4y-card-agent{ margin-top:auto; }

/* цена (слева) + характеристики (справа) в один ряд */
.h4y-card-priceline{ display:flex !important; align-items:center; justify-content:space-between; gap:10px; margin:0 0 10px !important; }
.h4y-card-priceline .listing_unit_price_wrapper{ margin:0 !important; }
.h4y-card-priceline .property_listing_details{ margin:0 !important; text-align:right; }
.h4y-card-priceline .property_listing_details .listing_actions{ display:none !important; } /* пустой контейнер */
/* менеджер (слева, выровнен с заголовком) + кнопки поделиться/сравнить (справа) */
.property_listing .h4y-card-agent{ display:flex !important; align-items:center; gap:10px; }
.property_listing .h4y-card-agent-ava{ margin:0 !important; }
.property_listing .h4y-card-agent .listing_actions{ margin-left:auto !important; display:flex; align-items:center; gap:8px; }
.property_listing .property-unit-information-wrapper > .property_location{ display:none !important; } /* опустел после переноса */

/* ===== 5. Менеджер объекта в подвале карточки ===== */
.h4y-card-agent{ display:flex; align-items:center; gap:9px; margin-top:0; padding-top:5px;
    border-top:1px solid #eef0f3; }
.h4y-card-agent-ava{ width:36px !important; height:36px !important; min-width:36px; max-width:36px; border-radius:50% !important;
    object-fit:cover; background:linear-gradient(135deg,var(--h4y-gold),var(--h4y-gold2)); display:flex !important;
    align-items:center; justify-content:center; color:#fff; font-weight:700; font-size:15px; flex:0 0 36px; padding:0 !important;
    margin:5px 5px 10px 10px !important; border:0 !important; box-shadow:none !important; }
img.h4y-card-agent-ava{ display:inline-block !important; margin:0 !important; }
.h4y-card-agent-info{ display:flex; flex-direction:column; min-width:0; line-height:1.2; }
.h4y-card-agent-name{ font-weight:600; font-size:13px; color:var(--h4y-dark); white-space:nowrap;
    overflow:hidden; text-overflow:ellipsis; }
.h4y-card-agent-role{ font-size:11.5px; color:#9a9488; }

/* ===== Кабинет «Мои Объекты»: реальный менеджер + «менеджер на витрине» ===== */
.property_dashboard_mgr{ display:flex; flex-direction:column; justify-content:center; gap:7px; }
.h4y-dash-realmgr{ display:flex; align-items:center; gap:8px; margin:0; }
.h4y-dash-realmgr .h4y-dash-ava,
img.h4y-dash-ava, span.h4y-dash-ava{ width:35px !important; height:35px !important; min-width:35px !important; max-width:35px !important;
    border-radius:50% !important; object-fit:cover !important; flex:0 0 35px;
    display:inline-flex !important; align-items:center; justify-content:center; padding:0 !important; margin:0 !important; border:0 !important;
    background:linear-gradient(135deg,var(--h4y-gold),var(--h4y-gold2)); color:#fff; font-weight:700; font-size:14px; }
.h4y-dash-realmgr-txt{ display:flex; flex-direction:column; line-height:1.15; min-width:0; }
.h4y-dash-realmgr-txt b{ font-size:13px; color:var(--h4y-dark); font-weight:600; }
.h4y-dash-realmgr-txt small{ font-size:10.5px; color:#9a9488; }
.h4y-dash-dm{ display:flex; flex-direction:column; align-items:flex-start; gap:4px; margin:0; }
.h4y-dash-dm-lab{ font-size:10.5px; color:#8a8577; }
.h4y-dash-dm-sel{ width:100%; max-width:200px; height:32px !important; padding:0 10px !important; border:1px solid #e2ddcf !important;
    border-radius:8px !important; background:#fff !important; font-size:12.5px !important; color:var(--h4y-dark) !important; }
.h4y-dash-dm-ok{ font-weight:800; font-size:14px; min-width:14px; }
.h4y-dash-dm-ok.is-ok{ color:var(--h4y-green); }
.h4y-dash-dm-ok.is-err{ color:#d64545; }

/* ===================== Страница «О нас» (лендинг) ===================== */
.h4about{--g:#b8933e;--ink:#2a2620;--mut:#7c766a;--line:#ece6d7;--bg:#faf8f3;
  color:var(--ink);font-family:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;line-height:1.6;}
.h4about *{box-sizing:border-box;}
.h4about a{text-decoration:none;}
.h4about .h4a-wrap{max-width:1180px;margin:0 auto;padding:0 20px;}
.h4about .h4a-kicker{display:inline-block;font-size:12px;font-weight:600;letter-spacing:.18em;text-transform:uppercase;color:var(--g);margin-bottom:14px;}

/* hero */
.h4about .h4a-hero{background:var(--bg);}
.h4about .h4a-hero-in{max-width:1180px;margin:0 auto;display:grid;grid-template-columns:1fr 1fr;gap:0;align-items:stretch;}
.h4about .h4a-hero-txt{padding:70px 48px 70px 20px;align-self:center;}
.h4about .h4a-hero-txt h1{font-family:"Lora",Georgia,"Times New Roman",serif;font-size:clamp(30px,4.2vw,50px);line-height:1.12;font-weight:600;margin:0 0 20px;letter-spacing:-.01em;color:#1f1b15;}
.h4about .h4a-hero-txt p{font-size:clamp(15px,1.5vw,17px);color:#514b40;max-width:520px;margin:0 0 30px;}
.h4about .h4a-hero-img{background:#ddd center/cover no-repeat;min-height:430px;border-radius:0;}
.h4about .h4a-btns{display:flex;flex-wrap:wrap;gap:14px;align-items:center;}
.h4about .h4a-btn{display:inline-flex;align-items:center;gap:9px;background:var(--g);color:#fff;font-weight:400;font-size:15px;border-radius:11px;padding:14px 26px;transition:filter .15s,transform .15s;border:0;cursor:pointer;}
.h4about .h4a-btn:hover{filter:brightness(1.07);transform:translateY(-2px);color:#fff;}
.h4about .h4a-btn svg{width:16px;height:16px;}
.h4about .h4a-link{display:inline-flex;align-items:center;gap:8px;color:var(--ink);font-weight:700;font-size:15px;}
.h4about .h4a-link:hover{color:var(--g);}
.h4about .h4a-link svg{width:16px;height:16px;}

/* stats */
.h4about .h4a-stats{display:flex;justify-content:center;gap:0;flex-wrap:wrap;padding:40px 20px;max-width:1180px;margin:0 auto;}
.h4about .h4a-stat{display:flex;align-items:center;gap:10px;padding:6px 28px;position:relative;}
.h4about .h4a-stat+.h4a-stat:before{content:"";position:absolute;left:0;top:50%;transform:translateY(-50%);width:1px;height:48px;background:var(--line);}
.h4about .h4a-stat svg{width:40px;height:40px;color:var(--g);flex:0 0 auto;}
.h4about .h4a-stat b{display:block;font-size:30px;font-weight:500;line-height:1;color: #b8933e;}
.h4about .h4a-stat span{font-size:13.5px;color:#000;text-transform: uppercase;letter-spacing: 2px;}

/* секции */
.h4about .h4a-sec{padding:18px 0 10px;}
.h4about .h4a-h2{font-family:"Lora",Georgia,"Times New Roman",serif;font-size:clamp(24px,3vw,34px);font-weight:700;margin:0 0 26px;letter-spacing:-.01em;color:#1f1b15;}
.h4about .h4a-sec-head{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin:0 0 26px;}
.h4about .h4a-sec-head .h4a-h2{margin:0;}

/* карточки услуг */
.h4about .h4a-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px;}
.h4about .h4a-card{background:#fbfaf7;border:1px solid var(--line);border-radius:16px;padding:26px 24px;transition:transform .18s,box-shadow .18s,border-color .18s;}
.h4about .h4a-card:hover{transform:translateY(-4px);box-shadow:0 16px 36px rgba(40,30,10,.09);border-color:#e4d6ad;}
.h4about .h4a-card .h4a-ic{width:46px;height:46px;color:var(--g);margin-bottom:16px;}
.h4about .h4a-card .h4a-ic svg{width:46px;height:46px;}
.h4about .h4a-card h3{font-size:18px;font-weight:400;margin:0 0 10px;}
.h4about .h4a-card p{font-size:14.5px;color:var(--mut);margin:0;}

/* команда — горизонтальный скролл */
.h4about .h4a-team{display:flex;gap:20px;overflow-x:auto;padding:4px 2px 16px;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:#d9cfb4 transparent;}
.h4about .h4a-team::-webkit-scrollbar{height:8px;}
.h4about .h4a-team::-webkit-scrollbar-thumb{background:#e3d9bf;border-radius:8px;}
.h4about .h4a-team::-webkit-scrollbar-track{background:transparent;}
.h4about .h4a-tcard{display:flex;gap:0;border:1px solid var(--line);border-radius:16px;overflow:hidden;background:#fff;flex:0 0 clamp(300px,34vw,530px);scroll-snap-align:start;}
.h4about .h4a-tcard-l{display:flex;align-items:center;gap:14px;padding:20px;flex:0 0 auto;min-width:200px;}
.h4about .h4a-ava{width:58px;height:58px;border-radius:50%;object-fit:cover;background:#eee;flex:0 0 auto;}
.h4about .h4a-tcard-l b{display:block;font-size:16px;font-weight:500;}
.h4about .h4a-tcard-l span{font-size:13px;color:var(--mut);}
.h4about .h4a-tcard-r{border-left:1px solid var(--line);background:#faf8f3;padding:20px;font-size:13.5px;color:var(--mut);display:flex;align-items:center;}

/* CTA — светлая панель + фото справа (как в макете) */
.h4about .h4a-ctaband{display:flex;align-items:stretch;overflow:hidden;border-radius:20px;margin:36px 0 10px;min-height:150px;background:#f6f1e6;border:1px solid var(--line);}
.h4about .h4a-cta-main{flex:1 1 auto;display:flex;align-items:center;gap:28px;padding:26px 34px;flex-wrap:wrap;}
.h4about .h4a-cta-txt{border-left:3px solid var(--g);padding-left:18px;flex:1 1 320px;}
.h4about .h4a-cta-txt .k{font-size:14px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--g);}
.h4about .h4a-cta-txt h3{font-size:clamp(18px,2.4vw,24px);font-weight:800;color:var(--ink);margin:8px 0 6px;}
.h4about .h4a-cta-txt p{font-size:14px;color:var(--mut);margin:0;}
.h4about .h4a-cta-photo{flex:0 0 32%;background:#dcd3c2 center/cover no-repeat;min-height:150px;}

@media(max-width:860px){
  .h4about .h4a-hero-in{grid-template-columns:1fr;}
  .h4about .h4a-hero-txt{padding:40px 20px 30px;order:2;}
  .h4about .h4a-hero-img{order:1;min-height:260px;}
  .h4about .h4a-stat{padding:10px 24px;}
  .h4about .h4a-stat+.h4a-stat:before{display:none;}
  .h4about .h4a-cta-photo{display:none;}
}

/* На странице «О нас» убираем заголовок темы — страница начинается с героя (как в макете) */
body.page-id-31079 .entry-title{display:none !important;}

/* «Наша команда» — просто подпись, не ссылка */
.h4about .h4a-teamnote{font-weight:700;font-size:15px;color:var(--mut);white-space:nowrap;}
/* hero-фото: показываем центр композиции */
.h4about .h4a-hero-img{background-position:center;}

/* Расписание работы в карточке карты контактов */
.contact_map_container .h4y-hours{margin-top:6px;}
.contact_map_container .h4y-hours-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:7px 0;border-bottom:1px dashed #ece6d7;font-size:14px;}
.contact_map_container .h4y-hours-row:last-child{border-bottom:0;}
.contact_map_container .h4y-hours-day{color:#2a2620;font-weight:600;}
.contact_map_container .h4y-hours-time{color:#b8933e;font-weight:700;white-space:nowrap;}
.contact_map_container .h4y-hours-row.is-off .h4y-hours-time{color:#9aa0ab;font-weight:600;}

/* Цена за м² (объекты продажи) */
.h4y-ppsqm{font-size:12.5px;font-weight:600;color:#8a8578;margin-top:2px;line-height:1.2;}
.listing_unit_price_wrapper .h4y-ppsqm{color:#9a9488;}
.price_area .h4y-ppsqm--single{font-size:14px;font-weight:600;color:#b8933e;margin-top:3px;}

/* Подсказка под полем «Цена за м²» в форме подачи */
.h4y_hint_m2{display:block;margin-top:5px;font-size:12px;color:#9aa0ab;line-height:1.4;}

/* Группы удобств (форма подачи + страница объекта) */
.h4y-feat-group{margin:0 0 20px;}
.h4y-feat-group .feature_chapter_name{display:flex;align-items:center;gap:0;font-size:18px;font-weight:800;color:#2b3350;padding:0;margin:0 0 14px;border:0;letter-spacing:0;}
.h4y-feat-badge{position:relative;width:52px;height:52px;flex:0 0 auto;border-radius:15px;background:#fff;display:inline-flex;align-items:center;justify-content:center;}
.h4y-feat-badge::before{content:"";position:absolute;width:40px;height:40px;border-radius:50%;background:none;}
.h4y-feat-svg{position:relative;width:30px;height:30px;color:#787dc4;}
.listing_detail svg, .property_features_svg_icon{color:#c9ab48;fill:none;display:inline-block;height:40px;line-height:26px;margin:0 10px 0 0;vertical-align:middle;width:40px;}
.h4y-feat-title{line-height:1.2;}

/* Карточный вид групп — только в форме подачи (как в макете) */
.h4y-amenities .h4y-feat-group{background:#fff;border:1px solid #edeff4;border-radius:16px;padding:20px 24px 14px;margin:0 0 20px;box-shadow:0 2px 12px rgba(30,40,70,.045);}
.h4y-amenities .h4y-feat-group .feature_chapter_name{border-bottom:1px solid #f0f1f6;padding-bottom:14px;margin-bottom:14px;}
.h4y-amenities .features_submit{display:flex;align-items:center;gap:11px;padding:8px 0;}
.h4y-amenities .features_submit .features_amm_label{font-weight:500;color:#3a4254;margin:0;cursor:pointer;}
.h4y-amenities .features_submit input[type="checkbox"]{width:18px;height:18px;accent-color:#6b6f96;cursor:pointer;flex:0 0 auto;margin:0;}

/* На странице объекта группы — без карточной коробки (внутри аккордеона) */
.single-estate_property .h4y-feat-group .feature_chapter_name{border-bottom:1px solid #eef0f4;padding-bottom:12px;}

/* Баннер «Обязательные поля» в форме подачи — мягкий розовый, как в макете */
.submit_mandatory{display:flex;align-items:center;gap:12px;background:#fdf2f2 !important;border:1px solid #f4dcdc !important;border-radius:12px !important;padding:14px 18px !important;margin:0 0 20px !important;color:#c0564f !important;font-size:14.5px;font-weight:500;line-height:1.4;box-shadow:none !important;}
.submit_mandatory::before{content:"";flex:0 0 auto;width:20px;height:20px;background:no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c0564f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.3 4.2 2.7 17.1A1.6 1.6 0 0 0 4.1 19.5h15.8a1.6 1.6 0 0 0 1.4-2.4L13.7 4.2a1.6 1.6 0 0 0-3.4 0z'/%3E%3Cpath d='M12 9.2v4M12 16.4h.01'/%3E%3C/svg%3E");}

/* Галочки в деталях объекта — золотой */
#tab_prpg i.fa-check, #tab_prpg i.fa-check-circle, .property-panel i.fa-check, .property-panel i.fa-check-circle, .wpestate_estate_property_details_section i.fa-check, .wpestate_estate_property_details_section i.fa-check-circle{color:#c99f48;}

/* ── «Мои Объекты»: бейджи модерации ────────────────────────────────── */
.property_wrapper_dash.h4y-pending{position:relative;border:1.5px solid #f0b357;background:#fff8ef;border-radius:14px;margin-top:24px;}
.property_wrapper_dash.h4y-pending-remod{border-color:#e8803a;background:#fff4ea;}
.property_wrapper_dash.h4y-pending-quick{border-color:#7c7ff0;background:#f3f3fe;}
.h4y-moder-badge{position:absolute;top:-13px;left:18px;z-index:3;display:inline-flex;width:max-content;max-width:min(92%,380px);align-items:center;gap:6px;padding:5px 13px;border-radius:999px;font-size:12.5px;font-weight:700;line-height:1.2;color:#fff;box-shadow:0 3px 10px rgba(0,0,0,.14);}
.h4y-moder-badge svg{flex:0 0 auto;}
.h4y-moder-when{font-weight:600;opacity:.92;white-space:nowrap;}
.h4y-moder-moder{background:#f0953c;}
.h4y-moder-remod{background:#e8803a;}
.h4y-moder-quick{background:#6f74e8;}
