/* The original site relied on the slidesjs jQuery plugin to reveal the slider
   after initialization; the React slider renders ready-made markup instead. */
.slides {
  display: block;
}
.slides picture.slide-hidden {
  display: none;
}
.slides img.image__content {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slidesjs-previous.slidesjs-navigation,
.slidesjs-next.slidesjs-navigation {
  display: block;
}

/* State classes replacing the inline styles the legacy jQuery code toggled */
.ui.flowing.popup.popup-open {
  display: block;
}
@media only screen and (max-width: 768px) {
  .description__search.search-open {
    display: block;
  }
}

/* Mapbox canvas fills the map panel */
.map-canvas {
  width: 100%;
  height: 100%;
}

/* FormSubmit honeypot field */
.honey-field {
  display: none;
}

/* Justified copy in the SEO text block (was inline style="text-align:justify") */
.first-page-text-block__text h1,
.first-page-text-block__text h2,
.first-page-text-block__text h3,
.first-page-text-block__text h4,
.first-page-text-block__text h5,
.first-page-text-block__text p {
  text-align: justify;
}

/* ---- Building page (one_office) additions ---- */
.open-office__picture .slides picture,
.open-office__picture .slides img.slider-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.open-office__picture .slides picture.slide-hidden {
  display: none;
}
.picture__dots-wrapper {
  position: absolute;
  bottom: 17px;
  width: 100%;
  text-align: center;
  z-index: 1000;
}
.picture__dots .dots__image {
  display: inline-block;
  background: grey;
  border-radius: 50%;
  height: 9px;
  width: 9px;
  margin: 5px 7px;
  opacity: 0.75;
  cursor: pointer;
  font-size: 0;
}
.picture__dots .dots__image.active {
  background: #fff;
}
/* map block under the building info */
.building-page-map .description__map-wrapper {
  position: relative;
  top: auto;
  right: auto;
  bottom: auto;
  width: 100%;
  height: 480px;
  min-height: 480px;
}
.building-page-map .description__map {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}
.building-page-map .search_buildings {
  top: 12px;
  left: 12px;
}

/* ---- Address / building autocomplete suggestions ---- */
.search_buildings__result {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  max-height: 320px;
  overflow-y: auto;
  text-align: left;
}
.search_buildings__result_item {
  padding: 9px 12px;
  cursor: pointer;
  border-bottom: 1px solid #eee;
}
.search_buildings__result_item:hover {
  background: #f5f5f5;
}
.search_buildings__result_item_title {
  display: block;
  font-weight: 700;
  color: #252729;
}
.search_buildings__result_item_address {
  display: block;
  font-size: 13px;
  color: #777;
}

/* intl-tel-input inside semantic ui input */
.feedback__item .ui.input .iti {
  width: 100%;
}

/* ---- Header tagline (replaces "Commission 0%") ---- */
.commission_info__text.header__tagline {
  display: inline-block;
  max-width: 620px;
  white-space: normal;
  font-size: 12px;
  line-height: 1.4;
  text-align: right;
}
@media only screen and (max-width: 768px) {
  .commission_info__text.header__tagline {
    display: none;
  }
}

/* ---- Office type filter popup ---- */
.office-type-popup {
  min-width: 265px;
}
.office-type-options {
  display: block;
  text-align: left;
}
.office-type-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 4px;
  cursor: pointer;
  font-size: 14px;
  color: #252729;
}
.office-type-option:hover {
  background: #f5f5f5;
}
.office-type-option input {
  accent-color: #f0b64c;
}

/* ---- Brand-gold agreement links ---- */
.feedback__agreement a,
.form__agreement_text a,
.contact-block__agreement-link a {
  color: #f0b64c;
}
.feedback__agreement a:hover,
.form__agreement_text a:hover,
.contact-block__agreement-link a:hover {
  color: #d99a2f;
}

/* ---- Homepage-style footer: contact block ---- */
.footer.footer-home {
  background: #fff;
  color: #313131;
  padding: 0;
}
.contact-block {
  background: #fff;
  padding: 56px 15px 40px;
  text-align: center;
  font-family: Roboto, Arial, Helvetica, sans-serif;
}
.contact-block .wrapper {
  max-width: 1200px;
  margin: 0 auto;
}
.contact-block h6 {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #313131;
  margin: 0 0 18px;
}
.contact-block__agreement {
  font-size: 14px;
  color: #555;
}
.contact-block__agreement-link {
  font-size: 14px;
  margin: 4px 0 26px;
}
.contact-block .feedback__form {
  display: flex;
  align-items: stretch;
  justify-content: center;
  max-width: 1060px;
  margin: 0 auto;
  border: 2px solid #f0b64c;
}
.contact-block .feedback__item {
  flex: 1 1 0;
  margin: 0;
  background: #f0b64c;
  border-right: 1px solid rgba(255, 255, 255, 0.55);
}
.contact-block .feedback__item.feedback__buttom {
  flex: 0 0 170px;
  background: #4a4a4a;
  border-right: none;
}
.contact-block .feedback__item .ui.input {
  width: 100%;
  height: 100%;
}
.contact-block .feedback__item input.item__content {
  width: 100%;
  height: 56px;
  border: none;
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-align: center;
  text-transform: uppercase;
}
.contact-block .feedback__item input.item__content::placeholder {
  color: rgba(255, 255, 255, 0.95);
  text-transform: uppercase;
}
.contact-block .feedback__buttom button.ui.black.button {
  width: 100%;
  height: 56px;
  margin: 0;
  border-radius: 0;
  background: #4a4a4a;
  color: #fff;
  font-size: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.contact-block .feedback__buttom button.ui.black.button:hover {
  background: #3a3a3a;
}
/* intl-tel-input inside the yellow bar */
.contact-block .feedback__item .iti {
  width: 100%;
  height: 56px;
  display: flex;
  align-items: center;
}
.contact-block .feedback__item .iti input.item__content {
  height: 56px;
  text-align: left;
  padding-left: 8px;
}
.contact-block .feedback__item .iti__selected-dial-code,
.contact-block .feedback__item .iti__selected-country {
  color: #fff;
}
.contact-block .feedback__item .iti__dropdown-content {
  color: #313131;
  text-align: left;
}
@media only screen and (max-width: 900px) {
  .contact-block .feedback__form {
    flex-direction: column;
    border: none;
  }
  .contact-block .feedback__item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  }
  .contact-block .feedback__item.feedback__buttom {
    flex-basis: auto;
  }
}

/* ---- Homepage-style footer: popular cities ---- */
.footer-block {
  background: #fff;
  padding: 30px 20px 24px;
  font-family: Roboto, Arial, Helvetica, sans-serif;
  text-align: left;
}
.footer-block .grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px 26px;
  max-width: 1420px;
  margin: 0 auto;
}
.footer-block .country {
  color: #f0b64c;
  font-size: 17px;
  font-weight: 700;
  margin: 22px 0 12px;
}
.footer-block .card-city {
  display: inline-block;
  color: #5a5a5a;
  font-size: 13.5px;
  line-height: 1.95;
  text-decoration: none;
}
.footer-block .card-city:hover {
  color: #f0b64c;
}
.copyright-home {
  max-width: 1420px;
  margin: 34px auto 0;
  text-align: center;
  color: #f0b64c;
  font-size: 12.5px;
  line-height: 1.5;
}
@media only screen and (max-width: 1100px) {
  .footer-block .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media only screen and (max-width: 640px) {
  .footer-block .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* phone field inside the dark building-page form keeps its height */
.form__inner .feedback__item .iti {
  width: 100%;
}
.form__inner .feedback__item .iti input.item__content {
  width: 100%;
}

/* show the suggestions dropdown when it has matches (original CSS hides it) */
.search_buildings__result.result-open {
  display: block;
}

/* ---- Search filters: equal-width grid so rows line up ---- */
.description__search .ui.form.flex-align {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  align-items: stretch;
}
.description__search .ui.form.flex-align .filter__item {
  width: 100%;
  margin: 0;
  padding: 0;
}
.description__search .ui.form.flex-align .filter__item .ui.input,
.description__search .ui.form.flex-align .filter__item .ui.input > button {
  width: 100%;
}
.description__search .ui.form.flex-align .filter__buttom {
  grid-column: 1 / -1;
}
.description__search .ui.form.flex-align .filter__buttom .submit-search-form {
  width: 100%;
}
@media only screen and (max-width: 480px) {
  .description__search .ui.form.flex-align {
    grid-template-columns: 1fr;
  }
}

/* ---- CTA banner under the office list ---- */
.contact-block.search-banner {
  padding: 34px 0 10px;
  border-top: 1px solid #eee;
  margin-top: 10px;
}
.contact-block.search-banner h6 {
  font-size: 21px;
}
.contact-block.search-banner .feedback__form {
  max-width: 100%;
}
.contact-block.search-banner .feedback__item input.item__content {
  font-size: 12.5px;
}

/* ---- Business articles block ---- */
.news-block {
  background: #fff;
  padding: 48px 20px 20px;
  font-family: Roboto, Arial, Helvetica, sans-serif;
}
.news-block .wrapper {
  max-width: 1420px;
  margin: 0 auto;
}
.news-block h2 {
  text-align: center;
  font-size: 26px;
  color: #313131;
  margin: 0 0 28px;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.card-news {
  display: block;
  text-decoration: none;
  color: #313131;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
  overflow: hidden;
}
.card-news img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
}
.card-news .news-wrap {
  padding: 12px 14px 16px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}
.card-news:hover .news-wrap {
  color: #f0b64c;
}
@media only screen and (max-width: 1100px) {
  .news-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media only screen and (max-width: 640px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- FAQ block ---- */
.faq-block {
  background: #fff;
  padding: 40px 20px 56px;
  font-family: Roboto, Arial, Helvetica, sans-serif;
}
.faq-block .wrapper {
  max-width: 900px;
  margin: 0 auto;
}
.faq-block h2 {
  text-align: center;
  font-size: 26px;
  color: #313131;
  margin: 0 0 26px;
}
.faq-item {
  border-bottom: 1px solid #e5e5e5;
}
.faq-item__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: none;
  border: none;
  padding: 16px 4px;
  font-size: 16.5px;
  font-weight: 700;
  color: #313131;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}
.faq-item__question:hover {
  color: #f0b64c;
}
.faq-item__question .icon {
  transition: transform 0.2s ease;
}
.faq-item--open .faq-item__question .icon {
  transform: rotate(180deg);
}
.faq-item__answer {
  display: none;
  padding: 0 4px 18px;
  color: #555;
  font-size: 15px;
  line-height: 1.6;
}
.faq-item--open .faq-item__answer {
  display: block;
}

/* full-width sections must paint above the fixed map panel */
.news-block,
.faq-block,
.footer.footer-home {
  position: relative;
  z-index: 5;
}

/* ---- Round of design tweaks ---- */
/* header tagline: bigger, brand gold, vertically centered in the header */
.header .container {
  position: relative;
}
.header .header__menu {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  float: none;
  width: 44%;
  text-align: center;
}
.commission_info__text.header__tagline {
  color: #f0b64c;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  max-width: none;
  text-align: center;
  padding-left: 0;
}

/* CTA banner: full listing width, wider phone cell */
.contact-block.search-banner .wrapper {
  max-width: 100%;
}
.contact-block.search-banner .feedback__form {
  max-width: 100%;
  width: 100%;
}
.contact-block .feedback__item.feedback__phone {
  flex: 1.7 1 0;
}
.contact-block.search-banner .feedback__item.feedback__buttom {
  flex: 0 0 130px;
}

/* Business articles: 3 per row, bigger previews, same width as the text block */
.news-block .wrapper {
  width: 80%;
  max-width: 1024px;
}
.news-grid {
  grid-template-columns: repeat(3, 1fr);
}
.card-news img {
  height: 210px;
}
@media only screen and (max-width: 900px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media only screen and (max-width: 640px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
}

/* building page feedback form: gray texts -> white */
.form__inner .form__description,
.form__inner .header__title-address {
  color: #fff;
}

/* footer typography matches the listing cards (Roboto) */
.footer.footer-home,
.footer.footer-home h6,
.footer.footer-home input,
.footer.footer-home button,
.footer-block .country,
.footer-block .card-city,
.copyright-home {
  font-family: Roboto, Arial, Helvetica, sans-serif;
}

/* center the tagline precisely: drop the empty menu list stub */
.header .header__menu .menu__list {
  display: none;
}
/* banner form spans the whole listing column */
.search-banner .feedback__row,
.search-banner .feedback__row form {
  width: 100%;
}

/* stronger selector: building form description must be white */
#sticky-form .form__inner .form-contents .form__description,
.form__inner .form__section .form__description {
  color: #fff;
}

/* ---- Footer form: solid white text and placeholders ---- */
.contact-block .feedback__item input.item__content {
  color: #fff;
}
.contact-block .feedback__item input.item__content::placeholder {
  color: #fff;
  opacity: 1;
}
.contact-block .feedback__item input.item__content::-webkit-input-placeholder {
  color: #fff;
  opacity: 1;
}

/* cities and agreement text use the same font as the descriptive text blocks */
.footer-block .card-city,
.contact-block__agreement,
.contact-block__agreement-link {
  font-family: 'Avenir Next', Roboto, Arial, Helvetica, sans-serif;
}

/* ---- intl-tel-input: dropdown as wide as the whole phone cell ---- */
.feedback__item .iti {
  position: relative;
}
.feedback__item .iti .iti__dropdown-content {
  width: 100%;
  min-width: 240px;
}

/* dial code matches the placeholder color in the dark building form */
.form__inner .feedback__item .iti__selected-dial-code {
  color: #c4c3c3;
}

/* footer.css sets gray placeholders with higher specificity — force white
   text and placeholders inside the yellow forms */
.contact-block .feedback__form .feedback__item .ui.input input.item__content {
  color: #fff;
}
.contact-block .feedback__form .feedback__item .ui.input input.item__content::placeholder {
  color: #fff !important;
  opacity: 1;
}
.contact-block .feedback__form .feedback__item .ui.input input.item__content::-webkit-input-placeholder {
  color: #fff !important;
  opacity: 1;
}
.contact-block .feedback__item .iti__selected-dial-code {
  color: #fff;
}

/* typed text in the yellow forms: white field with brand-orange letters
   (matches the browser autofill look and stays readable) */
.contact-block .feedback__form .feedback__item .ui.input input.item__content {
  caret-color: #f0b64c;
}
.contact-block .feedback__form .feedback__item .ui.input input.item__content:not(:placeholder-shown) {
  background: #fff;
  color: #f0b64c;
}
.contact-block .feedback__form .feedback__item .ui.input input.item__content:-webkit-autofill,
.contact-block .feedback__form .feedback__item .ui.input input.item__content:-webkit-autofill:hover,
.contact-block .feedback__form .feedback__item .ui.input input.item__content:-webkit-autofill:focus {
  -webkit-text-fill-color: #f0b64c;
  -webkit-box-shadow: 0 0 0 1000px #fff inset;
  box-shadow: 0 0 0 1000px #fff inset;
}

/* mobile: stacked yellow-form fields take the full width */
@media only screen and (max-width: 900px) {
  .contact-block .feedback__form .feedback__item,
  .contact-block .feedback__form .feedback__item.feedback__buttom {
    width: 100%;
    flex: 0 0 auto;
  }
}

/* ---- Branded "request sent" toast ---- */
.thankyou-toast {
  position: fixed;
  top: 78px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3000;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 92%;
  background: #303030;
  border: 2px solid #f0b64c;
  color: #fff;
  padding: 14px 22px;
  font-family: Roboto, Arial, Helvetica, sans-serif;
  font-size: 15px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  animation: thankyou-in 0.35s ease;
}
.thankyou-toast__check {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #f0b64c;
  color: #303030;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
@keyframes thankyou-in {
  from {
    opacity: 0;
    transform: translate(-50%, -12px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

/* FAQ uses the same font as the footer city links */
.faq-block,
.faq-block h2,
.faq-item__question,
.faq-item__answer {
  font-family: 'Avenir Next', Roboto, Arial, Helvetica, sans-serif;
}

/* articles block and footer region headings share the same font */
.news-block h2,
.card-news .news-wrap,
.footer-block .country {
  font-family: 'Avenir Next', Roboto, Arial, Helvetica, sans-serif;
}

/* mobile office accordion: content toggling without semantic.js */
.ui.accordion.office-list .content {
  display: none;
}
.ui.accordion.office-list .content.active {
  display: block;
  margin-bottom: 1rem;
}
.ui.accordion.office-list .title {
  cursor: pointer;
}
.ui.accordion.office-list .title .title__column {
  display: table-cell;
  vertical-align: middle;
}
/* detail table styling comes from one_office.css (original) */
.ui.accordion.office-list .card__table {
  width: 100%;
}

/* country search field: keep the caret clear of the magnifier icon */
.iti__search-input {
  padding-left: 34px !important;
}

/* expanded office row: gold background + white circle arrow (as on the
   original site) */
.open-office__content .open-office__info .ui.accordion.office-list .title.active {
  background: #f0b64c;
}
.open-office__content .open-office__info .ui.accordion.office-list .title.active .arrow-icon {
  background-color: #fff;
  border-color: #fff;
  color: #f0b64c;
}
.ui.accordion.office-list .content.active .card {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
  padding: 14px 18px;
}

/* ---- Article page (/news/{slug}/) ---- */
.article-page {
  background: #fff;
  padding: 40px 20px 30px;
  font-family: Roboto, Arial, Helvetica, sans-serif;
}
.article-page .wrapper {
  max-width: 1024px;
  width: 90%;
  margin: 0 auto;
  text-align: left;
}
.article-page .ui.breadcrumb {
  margin-bottom: 20px;
}
.article-page__body {
  width: 100% !important;
}
.article-page__body h1 {
  font-size: 30px;
  margin-bottom: 18px;
}
.article-page__body h2,
.article-page__body h3 {
  margin: 22px 0 10px;
}
.article-page__body p {
  margin: 0 0 12px;
  line-height: 1.65;
}
.article-page__body ul,
.article-page__body ol {
  margin: 0 0 12px 22px;
}
.article-page__body ul {
  list-style: disc outside;
}
.article-page__body ol {
  list-style: decimal outside;
}
.article-page__body li {
  margin-bottom: 6px;
  line-height: 1.6;
}
.article-page__banner {
  margin-top: 30px;
}
.news-grid .card-news img {
  height: 210px;
  width: 100%;
  object-fit: cover;
  display: block;
}

/* Подвал: районы и метро вместо синих ссылок городов */
.footer .card-city { color: #444; }
.footer .card-city:hover { color: #f0b64c; }
.footer .country { color: #121212; }

/* ===== Только оранжевый фокус/подсветка, синее убрано ===== */
:focus, :focus-visible { outline-color: #f0b64c !important; }
.ui.input.focus > input, .ui.input > input:focus,
input:focus, textarea:focus, select:focus,
.item__content:focus, .hub-hero__field:focus, .mms__search:focus {
  border-color: #f0b64c !important;
  box-shadow: 0 0 0 1px rgba(237,174,73,.35) !important;
  outline: none !important;
}
/* Синие ссылки крошек/секций → оранжевый */
.ui.breadcrumb a, .ui.breadcrumb a.section, a.section { color: #f0b64c !important; }
.ui.breadcrumb a:hover, a.section:hover { color: #f0b64c !important; }
/* Пагинация: текущая страница — оранжевая, не синяя */
.description__pagination_controls_current,
.pagination_controls_current { border-bottom-color: #f0b64c !important; color: #313131 !important; }
.description__pagination_controls_page:hover { color: #f0b64c !important; }
/* Semantic UI синие акценты → оранжевые */
.ui.button:focus, .ui.button:active { background-color: #f5c96e; }
.ui.input.focus > input, .ui.input > input:focus { border-color: #f0b64c !important; }
a { }

/* ---- Почта в подвале (перенесена из шапки, 22.07.2026) ---- */
.footer__contacts { text-align: center; padding: 18px 0 0; }
.footer__contacts-mail { color: #ffb020; font-size: 15px; font-weight: 600; text-decoration: none; }
.footer__contacts-mail:hover { color: #ffc94d; text-decoration: underline; }


/* ==== Поисковая форма как в Нью-Йорке (24.07.2026): поповеры + ползунок цены ==== */
.hub-hero__pop { position: relative; }
.hub-hero__field.hub-hero__pop { padding: 0; border: 0; background: transparent; min-height: 0; }
.hub-hero__popbtn {
  width: 100%; height: 44px; min-height: 44px;
  background: #fff; border: 2px solid #fff; border-radius: 4px;
  padding: 0 14px; font-size: 15px; color: #333;
  text-align: left; cursor: pointer;
  font-family: inherit; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hub-hero__popbtn:hover { color: #000; }
.hub-hero__popup {
  /* попап ровно по ширине своей кнопки */
  position: absolute; z-index: 60; top: calc(100% + 8px); left: 0; right: 0;
  width: auto; min-width: 0; background: #fff; border-radius: 10px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.24); padding: 14px; text-align: left;
}
.hub-hero__popup--wide { right: auto; width: 320px; min-width: 100%; }
@media (max-width: 768px) {
  .hub-hero__popup,
  .hub-hero__popup--wide { left: 0; right: 0; width: auto; min-width: 0; padding: 14px; }
  .hub-hero__popup .phk-price__num { min-width: 0; }
}
/* ==== Диапазон цены: двойной ползунок ==== */
.phk-price__inputs { display: flex; align-items: center; gap: 8px; }
.phk-price__num {
  flex: 1; min-width: 0; padding: 9px 10px; border: 1.5px solid #e4dcc9;
  border-radius: 8px; font-size: 14px; outline: none;
}
.phk-price__num:focus { border-color: #edae49; }
.phk-price__dash, .phk-price__unit { color: #999; font-size: 14px; white-space: nowrap; }
.phk-price__slider { position: relative; height: 26px; margin: 16px 2px 4px; }
.phk-price--compact .phk-price__slider { margin: 10px 2px 2px; }
.phk-price__slider::before {
  content: ''; position: absolute; left: 0; right: 0; top: 11px;
  height: 4px; background: #ece4d3; border-radius: 2px;
}
.phk-price__track { position: absolute; top: 11px; height: 4px; background: #ffb020; border-radius: 2px; }
.phk-price__range {
  position: absolute; left: 0; width: 100%; top: 0; height: 26px;
  -webkit-appearance: none; appearance: none; background: none; pointer-events: none; margin: 0;
}
.phk-price__range::-webkit-slider-thumb {
  -webkit-appearance: none; pointer-events: auto;
  width: 20px; height: 20px; border-radius: 50%;
  background: #fff; border: 3px solid #ffb020; cursor: pointer;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}
.phk-price__range::-moz-range-thumb {
  pointer-events: auto; width: 20px; height: 20px; border-radius: 50%;
  background: #fff; border: 3px solid #ffb020; cursor: pointer;
}
.phk-price__legend { display: flex; justify-content: space-between; font-size: 13px; color: #8a8a8a; }
.price-popup .phk-price { margin-top: 6px; }

/* ==== Попапы фильтров листинга — прижаты к ЛЕВОМУ краю своей кнопки ==== */
/* (24.07.2026) Все выпадающие формы фильтров (Size, Workplaces, Office type,
   Price) выравниваем по левому краю .ui.input, откуда они выпадают. Матчим по
   стабильным js-* классам: у Price семантик ставил bottom/right и он уезжал влево. */
.filter__item .ui.input { position: relative; }
.description__search .filter__item .ui.flowing.popup.js-square-popup,
.description__search .filter__item .ui.flowing.popup.js-people-popup,
.description__search .filter__item .ui.flowing.popup.js-office-type-popup,
.description__search .filter__item .ui.flowing.popup.js-price-popup {
  left: 0 !important;
  right: auto !important;
  margin: 0 !important;
  transform: none !important;
}
/* Поля «От/До» в hero-попапах — шире, чтобы плейсхолдер From/Preis влезал (24.07.2026) */
.hub-hero__popup { min-width: 300px; }
.hub-hero__popup--wide { width: 360px; }
.hub-hero__popup .phk-price__num { min-width: 86px; }
@media (max-width: 768px) {
  .hub-hero__popup { min-width: 0; }
  .hub-hero__popup .phk-price__num { min-width: 0; }
}


/* ==== Поиск по названию/адресу в hero-форме (24.07.2026) ==== */
.hub-hero__field.hub-hero__query {
  position: relative; padding: 0; border: 0; background: transparent; min-height: 0;
}
.hub-hero__query-input {
  width: 100%; height: 44px; min-height: 44px;
  background: #fff; border: 2px solid #fff; border-radius: 4px;
  padding: 0 14px; font-size: 15px; color: #333; font-family: inherit; outline: none;
}
.hub-hero__query-input::placeholder { color: #9a9a9a; }
.hub-hero__query-input:focus { border-color: #ffb020; }
.hub-hero__suggest {
  /* шире поля, чтобы адрес не ломался на три строки; прижат к правому краю */
  position: absolute; z-index: 60; top: calc(100% + 6px); left: auto; right: 0;
  min-width: 320px;
  background: #fff; border-radius: 10px; box-shadow: 0 12px 34px rgba(0, 0, 0, 0.24);
  overflow: hidden; text-align: left; max-height: 320px; overflow-y: auto;
}
.hub-hero__suggest .query-suggest__item {
  display: block; padding: 10px 14px; color: #333; text-decoration: none;
  border-bottom: 1px solid #f1eee7;
}
.hub-hero__suggest .query-suggest__item:last-child { border-bottom: none; }
.hub-hero__suggest .query-suggest__item:hover { background: #fdf6e8; }
.hub-hero__suggest .query-suggest__name { display: block; font-weight: 700; font-size: 14px; }
.hub-hero__suggest .query-suggest__addr { display: block; font-size: 12px; color: #8a8a8a; }


/* ==== Ползунок цены: перебиваем стили input из offices.css (24.07.2026) ====
   В попапе листинга нативный input[type=range] получал рамку/фон от общих
   правил старого сайта (виден синий контур), а верхний ползунок перехватывал
   клики у нижнего — левый бегунок «from» не двигался. */
.phk-price__range,
.price-popup .phk-price__range,
.hub-hero__popup .phk-price__range {
  -webkit-appearance: none !important;
  appearance: none !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
  padding: 0 !important;
  margin: 0 !important;
  height: 26px !important;
  min-height: 0 !important;
  border-radius: 0 !important;
  pointer-events: none;           /* клики ловит только сам бегунок */
}
.phk-price__range:focus { outline: none !important; box-shadow: none !important; }
/* дорожка внутри нативного range — прозрачная, свою рисуем сами */
.phk-price__range::-webkit-slider-runnable-track { background: transparent; border: 0; height: 26px; }
.phk-price__range::-moz-range-track { background: transparent; border: 0; height: 26px; }
/* бегунки кликабельны; левый выше правого, иначе «from» не поймать */
.phk-price__range::-webkit-slider-thumb { pointer-events: auto; }
.phk-price__range::-moz-range-thumb { pointer-events: auto; }
.phk-price__range--lo { z-index: 4; }
.phk-price__range--hi { z-index: 3; }
.phk-price__slider { position: relative; }

/* Поле поиска по названию/адресу шире соседних (плейсхолдер длинный),
   шрифт мельче, чтобы фраза помещалась целиком (24.07.2026) */
.hub-hero__form .hub-hero__field.hub-hero__query {
  flex: 1.7 1 260px;
  max-width: 330px;
}
.hub-hero__query-input,
.hub-hero__query-input::placeholder {
  font-size: 13px;
  letter-spacing: 0.1px;
}
@media (max-width: 768px) {
  .hub-hero__form .hub-hero__field.hub-hero__query { flex-basis: 100%; max-width: 100%; }
}

/* Кнопка «Найти» — отдельной строкой по центру под полями (24.07.2026) */
.hub-hero__form .hub-hero__find {
  flex: 0 0 100%;
  max-width: 220px;
  margin: 6px auto 0;
}

/* Единый вид подписей во всех полях hero-формы — как у «District»:
   14px, #757575, Avenir Next; выбранное значение темнеет (24.07.2026) */
.hub-hero__form .hub-hero__popbtn,
.hub-hero__form .hub-hero__query-input,
.hub-hero__form .hub-hero__query-input::placeholder,
.hub-hero__form .mms .mms__button {
  font-size: 14px;
  color: #757575;
  letter-spacing: normal;
}
.hub-hero__form .hub-hero__popbtn--active,
.hub-hero__form .hub-hero__query-input:not(:placeholder-shown) {
  color: #121212;
}

/* ── Страновой хаб Дании: селект города в hero + грид карточек городов ── */
.hub-hero__form .dk-city-field { flex: 1 1 240px; min-width: 200px; }
.hub-hero__form .dk-city-select {
  width: 100%;
  height: 48px;
  padding: 0 36px 0 16px;
  border: 1px solid #e2e2e2;
  border-radius: 8px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23757575' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 14px center;
  -webkit-appearance: none; appearance: none;
  font-size: 14px; color: #121212; cursor: pointer;
  font-family: 'Avenir Next', system-ui, sans-serif;
}
.hub-hero__form .dk-city-select:focus { outline: none; border-color: #f0b64c; }

.hub-cities { margin: 40px 0 8px; }
.hub-cities__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 16px;
}
.hub-cities__card {
  height: 100%;
  border: 2px solid transparent;
  transition: border-color .2s, transform .2s;
}
.hub-cities__card:hover { border-color: #f0b64c; transform: translateY(-2px); }
.hub-cities__count {
  position: absolute; left: 14px; bottom: 12px;
  color: #f0b64c; font-size: 13px; font-weight: 600;
}
.hub-cities__card .pop-stations__name { bottom: 30px; font-size: 18px; font-weight: 600; }
@media only screen and (max-width: 640px) {
  .hub-cities__grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
  .hub-cities__card { height: 160px; }
}

/* ── Дания: равные по высоте контролы поиска ── */
.hub-hero__form { align-items: flex-start; }
.hub-hero__form .hub-hero__field,
.hub-hero__form .dk-city-select,
.hub-hero__form .hub-hero__popbtn,
.hub-hero__form .hub-hero__find {
  height: 48px;
  box-sizing: border-box;
}
.hub-hero__form .hub-hero__popbtn {
  display: flex; align-items: center;
  width: 100%;
  padding: 0 16px;
  border: 1px solid #e2e2e2; border-radius: 8px; background: #fff;
}
.hub-hero__form .hub-hero__find {
  display: flex; align-items: center; justify-content: center;
  margin: 0; max-width: 220px; flex: 0 0 200px;
}

/* ── Дания: города в 3 колонки + карта справа ── */
.hub-cities__layout { display: flex; gap: 24px; align-items: flex-start; }
.hub-cities__grid {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 200px;
  gap: 18px;
  align-content: start;
}
.dk-map {
  flex: 0 0 46%;
  min-width: 380px;
  border-radius: 10px; overflow: hidden;
  height: 618px;
  position: sticky;
  top: 80px;
  align-self: flex-start;
}
.dk-map__canvas { width: 100%; height: 100%; min-height: 618px; }
.dk-marker {
  background: #f0b64c; color: #121212; font-weight: 600;
  font-size: 12px; padding: 3px 8px; border-radius: 6px;
  white-space: nowrap; text-decoration: none; box-shadow: 0 1px 4px rgba(0,0,0,.35);
}
.dk-marker:hover { background: #fff; }
@media only screen and (max-width: 900px) {
  .hub-cities__layout { flex-direction: column; }
  .dk-map { flex-basis: auto; width: 100%; position: static; height: 380px; min-width: 0; }
  .dk-map__canvas { min-height: 380px; }
  .hub-cities__grid { grid-template-columns: repeat(2, 1fr); }
}
@media only screen and (max-width: 560px) {
  .hub-cities__grid { grid-template-columns: 1fr; grid-auto-rows: 180px; }
}

/* ── Дания: блок SEO-текстов по городам ── */
.dk-seo { max-width: 1200px; margin: 48px auto 0; padding: 0 16px; }
.dk-seo__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px 28px; margin-top: 18px;
}
.dk-seo__city { font-size: 18px; margin: 0 0 4px; }
.dk-seo__city a { color: #121212; text-decoration: none; }
.dk-seo__city a:hover { color: #d99a2b; }
.dk-seo__text { font-size: 14px; line-height: 1.55; color: #4a4a4a; margin: 0; }
.dk-seo__anchor { color: #d99a2b; text-decoration: none; white-space: nowrap; font-weight: 600; }
.dk-seo__anchor:hover { text-decoration: underline; }
@media only screen and (max-width: 900px) { .dk-seo__grid { grid-template-columns: repeat(2, 1fr); } }
@media only screen and (max-width: 560px) { .dk-seo__grid { grid-template-columns: 1fr; } }

/* ── Дания: блок SEO-статей ── */
.dk-articles { max-width: 1200px; margin: 48px auto 40px; padding: 0 16px; }
.dk-articles__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 18px;
}
.dk-article-card {
  display: flex; flex-direction: column; border-radius: 10px; overflow: hidden;
  background: #f0b64c; box-shadow: 0 2px 10px rgba(0,0,0,.10); text-decoration: none;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.dk-article-card:hover { transform: translateY(-3px); box-shadow: 0 6px 18px rgba(0,0,0,.18); background: #eaa92c; }
.dk-article-card__img { width: 100%; height: 150px; object-fit: cover; }
.dk-article-card__body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 8px; }
.dk-article-card__title { font-size: 16px; font-weight: 700; color: #1a1204; line-height: 1.35; }
.dk-article-card__excerpt { font-size: 13px; color: #5a4712; line-height: 1.5; }
@media only screen and (max-width: 900px) { .dk-articles__grid { grid-template-columns: repeat(2, 1fr); } }
@media only screen and (max-width: 560px) { .dk-articles__grid { grid-template-columns: 1fr; } }

/* ── Дания: блок городов+карты в тот же контейнер, что SEO/статьи (выравнивание краёв) ── */
.hub-cities.city_metro_stations {
  max-width: 1200px;
  width: auto;
  margin: 44px auto 0;
  padding: 0 16px;
  background: none;
}
.hub-cities .city_metro_stations__list {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0;
}

/* ── Дания: кастомный дропдаун выбора города в поиске (в стиле Size/Price) ── */
.hub-hero__form .dk-city-field { flex: 1 1 240px; min-width: 200px; }
.hub-hero__form .dk-city-btn {
  justify-content: flex-start;
  padding-right: 34px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23757575' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.dk-city-popup {
  left: 0; right: auto;
  width: 100%;
  /* список городов ровно по ширине своей кнопки (сбрасываем min-width:300px
     из общего правила .hub-hero__popup, который нужен только полям цены/размера) */
  min-width: 0;
  max-height: 322px;
  overflow-y: auto;
  padding: 6px;
}
.dk-city-opt {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  width: 100%; padding: 9px 12px; margin: 0;
  border: none; background: none; cursor: pointer;
  font-size: 14px; color: #121212; border-radius: 6px; text-align: left;
}
.dk-city-opt:hover { background: #f7f0e0; }
.dk-city-opt--active { background: #f7f0e0; color: #d99a2b; font-weight: 700; }
.dk-city-opt__name { white-space: nowrap; }
.dk-city-opt__n { color: #a2a2a2; font-size: 12px; flex: 0 0 auto; }

/* ==== Ряд иконок-типов офисов на hero (LoopNet-style, 24.07.2026) ==== */
.hub-types {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 auto 18px;
  max-width: 760px;
}
.hub-type {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  width: 100px;
  padding: 12px 6px;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-family: inherit;
  cursor: pointer;
  text-align: center;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}
.hub-type:hover { background: rgba(255, 255, 255, 0.2); }
.hub-type--active {
  border-color: #edae49;
  background: rgba(237, 174, 73, 0.22);
  color: #edae49;
}
.hub-type__icon { display: block; line-height: 0; }
.hub-type__icon svg { width: 30px; height: 30px; display: block; }
.hub-type__label { font-size: 12.5px; font-weight: 600; line-height: 1.2; }

@media (max-width: 768px) {
  .hub-types {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
  }
  .hub-types::-webkit-scrollbar { display: none; }
  .hub-type { flex: 0 0 auto; width: 84px; padding: 10px 5px; }
  .hub-type__icon svg { width: 26px; height: 26px; }
  .hub-type__label { font-size: 11.5px; }
}
