.im-property-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin: 1rem 0 1.25rem;
}

.im-property-actions .im-fav-btn {
  margin: 0;
}

.im-property-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.65rem 1rem;
  border: 1px solid #d8dde3;
  border-radius: 999px;
  background: #f4f5f6;
  color: #222;
  font: inherit;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
  touch-action: manipulation;
}

.im-property-action:hover,
.im-property-action:focus-visible {
  border-color: #ec430f;
  background: #fff4ec;
  color: #ec430f;
}

.im-property-action i {
  width: 1.1rem;
  text-align: center;
  pointer-events: none;
}

.im-property-action__label {
  pointer-events: none;
  white-space: nowrap;
}

@media (max-width: 575.98px) {
  .im-property-actions {
    align-items: stretch;
  }

  .im-property-actions .im-fav-btn,
  .im-property-action {
    flex: 1 1 auto;
  }
}

@media print {
  @page {
    margin: 10mm;
  }

  html,
  body {
    background: #fff !important;
    color: #000 !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
  }

  body {
    font-size: 10.5pt;
    line-height: 1.35;
  }

  body * {
    box-shadow: none !important;
    filter: none !important;
    text-shadow: none !important;
    min-height: 0 !important;
    page-break-before: auto !important;
    page-break-after: auto !important;
    break-before: auto !important;
    break-after: auto !important;
  }

  #sp-top-bar,
  #sp-header,
  #sp-title,
  #sp-bottom,
  #sp-footer,
  #sp-left,
  #sp-right,
  #sp-menu,
  #modal-menu,
  #offcanvas-toggler,
  .offcanvas-menu,
  .offcanvas-overlay,
  .sp-scroll-up,
  .sp-reading-progress-bar,
  .sp-pre-loader,
  .article-can-edit,
  .article-details .article-info:has(.hits),
  .article-details .article-info .hits,
  .article-details .hits,
  .article-ratings-social-share,
  .social-share-block,
  .article-social-share,
  .ja-share-button,
  .im-property-actions,
  .im-fav-btn,
  .im-property-action,
  .featured-article-badge,
  .badge,
  .tags,
  .pagenavigation,
  .pager,
  .pagination,
  .previous,
  .next,
  [rel="prev"],
  [rel="next"],
  button,
  input,
  select,
  textarea,
  iframe,
  video,
  embed,
  object,
  .acf-video-wrapper,
  .tf-video,
  .nrf-widget.tf-video,
  .article-details .youtube,
  .article-details li.youtube,
  .article-details li.fotogallery,
  .article-details li.fotogalereya,
  .article-details ul.fields-container > li.field-entry.fotogallery,
  .article-details ul.fields-container > li.field-entry.fotogalereya,
  .article-details ul.fields-container > li.field-entry.youtube,
  .article-details ul.fields-container > li.field-entry.youtube.fotogallery,
  .article-details li.map,
  .article-details .fields-container li[class*="foto"],
  .article-details .fields-container li[class*="youtube"],
  .article-details .fields-container li[class*="video"],
  .article-details .tf-gallery-wrapper,
  .article-details .gallery-items,
  .article-details .tf-gallery-lightbox-item,
  .article-details .glightbox-desc,
  .article-details .glightbox-container,
  .article-details .gcontainer,
  .article-details .gslide,
  .article-details .nrf-widget[class*="gallery"],
  .article-details [class*="gallery"][class*="wrapper"],
  .article-details [class*="slider"],
  .article-details [class*="slideshow"],
  .article-details [class*="carousel"],
  .article-details .swiper,
  .article-details .swiper-container,
  .article-details .swiper-wrapper,
  .article-details .slick-slider,
  .article-details .owl-carousel,
  .article-details .splide,
  .article-details .n2-ss-slider,
  .article-details [itemprop="articleBody"] img,
  .article-details ul.fields-container img,
  .comments,
  .comment,
  .jcomments,
  .jacomment,
  .acym_module,
  .jmf-filter,
  .ja-megafilter,
  .ja-megafilter-wrap,
  .jivo-widget,
  .jv-widget,
  .jv-global,
  .jv-container,
  .jv-chat,
  .jv-wrapper,
  .tawk-min-container,
  .tawk-button,
  .crisp-client,
  .tidio-chat,
  .zopim,
  [id*="jivo"],
  [class*="jivo"],
  [id*="jv-"],
  [class^="jv-"],
  [class*=" jv-"],
  [id*="jvlabel"],
  [class*="jvlabel"],
  div[id*="chat"],
  div[class*="chat"],
  div[id*="callback"],
  div[class*="callback"],
  div[id*="widget"],
  div[class*="widget"],
  [id*="tawk"],
  [class*="tawk"],
  [id*="crisp"],
  [class*="crisp"],
  [id*="tidio"],
  [class*="tidio"],
  [id*="zopim"],
  [class*="zopim"],
  [id*="whatsapp-widget"],
  [class*="whatsapp-widget"],
  [class*="floating"],
  [class*="float-button"],
  [style*="position: fixed"],
  [style*="position:fixed"],
  iframe[src*="code.jivo.ru"],
  iframe[src*="jivo"],
  iframe[src*="chat"],
  iframe[src*="tawk"],
  iframe[src*="crisp"],
  iframe[src*="tidio"],
  iframe[src*="zopim"],
  iframe[src*="youtube"],
  iframe[src*="youtu.be"],
  iframe[src*="vimeo"] {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .body-wrapper,
  .body-innerwrapper,
  #sp-main,
  #sp-main-body,
  #sp-component,
  #sp-component > .sp-column,
  .container,
  .container-inner,
  .row,
  .article-details {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    min-height: 0 !important;
    height: auto !important;
    overflow: visible !important;
  }

  .article-details {
    position: relative !important;
    break-inside: auto;
    page-break-inside: auto;
  }

  .article-details a {
    color: #000 !important;
    text-decoration: none !important;
  }

  .article-details figure.item-image,
  .article-details .item-image,
  .article-details .article-full-image,
  .article-details .com-content-article__image {
    display: block !important;
    width: 78% !important;
    max-width: 78% !important;
    margin: 0 auto 14px !important;
    padding: 0 !important;
    float: none !important;
    position: relative !important;
    overflow: hidden !important;
    page-break-inside: avoid;
    break-inside: avoid;
  }

  .article-details img {
    max-width: 100% !important;
    height: auto !important;
    max-height: 78mm !important;
    object-fit: contain !important;
    page-break-inside: avoid;
    break-inside: avoid;
  }

  .article-details figure.item-image > img,
  .article-details .item-image > img,
  .article-details .article-full-image > img,
  .article-details .com-content-article__image > img {
    display: block !important;
    width: 100% !important;
    height: 315px !important;
    max-height: 315px !important;
    object-fit: cover !important;
    object-position: center center !important;
  }

  .article-details ul.tags {
    position: absolute !important;
    top: 10px !important;
    left: 11% !important;
    z-index: 2 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 4px !important;
    max-width: calc(78% - 20px) !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .article-details ul.tags li {
    display: inline-flex !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }

  .article-details ul.tags a {
    display: inline-block !important;
    max-width: 100% !important;
    padding: 3px 7px !important;
    border-radius: 3px !important;
    background: rgba(246, 142, 19, 0.9) !important;
    color: #000 !important;
    font-size: 8.5pt !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
    box-shadow: none !important;
  }

  .article-header h1,
  .article-header h2 {
    margin: 0 0 5pt !important;
    color: #000 !important;
    font-size: 16pt !important;
    line-height: 1.2 !important;
  }

  .article-details h2,
  .article-details h3,
  .article-details h4,
  .article-details p,
  .article-details ul,
  .article-details ol,
  .article-details dl,
  .article-details table {
    margin-top: 0 !important;
    margin-bottom: 5pt !important;
  }

  .article-details table,
  .article-details dl,
  .article-details ul.fields-container,
  .article-details .fields-container,
  .article-details .field-entry {
    page-break-inside: avoid;
    break-inside: avoid;
  }

  .article-details [itemprop="articleBody"],
  .article-details .article-body {
    margin: 0 !important;
    padding: 0 !important;
    page-break-inside: auto !important;
    break-inside: auto !important;
  }

  .article-details ul.fields-container,
  .article-details ul.jfields {
    margin: 0 0 8pt !important;
    padding: 0 !important;
  }

  .article-details ul.fields-container li:not(.fotogallery):not(.fotogalereya):not(.youtube):not(.map):not([class*="foto"]):not([class*="youtube"]):not([class*="video"]):not([class*="map"]),
  .article-details ul.jfields li {
    display: block !important;
    width: 100% !important;
    min-height: 0 !important;
    line-height: 1.35 !important;
    padding: 2pt 0 !important;
    margin: 0 !important;
    border-bottom: 1px dotted #999 !important;
    background: transparent !important;
    page-break-inside: avoid;
    break-inside: avoid;
  }

  .article-details li.whatsapp,
  .article-details li.telegram {
    margin-top: 4pt !important;
  }
}
