@font-face {
    font-family: AgencyFB; /* Имя шрифта */
    src: url(/assets/fonts/8711.ttf); /* Путь к файлу со шрифтом */
   }

/* Hotel-style typography with Cyrillic support */
html, body,
.ui,
.ui.input input,
.ui.form input,
.ui.form textarea,
.ui.form select,
.ui.button,
.ui.menu .item,
.site-drawer__link,
.site-header__phone,
.pagination .page-link {
  font-family: "PT Sans", "Segoe UI", Tahoma, Arial, sans-serif !important;
}

html,
body,
body.pushable.home,
body.pushable.home > .pusher {
  overflow-x: hidden;
}

html {
  background: #1b1c1d !important;
  overscroll-behavior-y: none;
}

body {
  overscroll-behavior-y: none;
}

body.pushable {
  background: #1b1c1d !important;
}

h1, h2, h3, h4, h5, h6,
.ui.header,
.title.masthead.segment .big.header,
.ui.card > .content > .header,
.site-header__brand,
.site-drawer__brand {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
  letter-spacing: 0.02em;
}

.hidden.menu {
  display: none !important;
}

.attached.inverted.segment{
  min-height: 100px;
}

.pusher > .ui.attached.segment,
body > .ui.attached.segment,
.ui.attached.segment:before,
.ui.attached.segment:after {
  border: 0 !important;
  box-shadow: none !important;
}
.masthead.segment{
  position: absolute;
  z-index: 10;
  width: 100%;
}
.masthead .ui.secondary.pointing.menu .item{
    align-self: center !important;
}
.title.masthead.segment{
  text-align: center;
  padding: 0;
  bottom: 5%;
}
.title.masthead.segment .big.header{
  font-size: 5rem;
  text-shadow: 4px 4px 12px black;
  color: white;
  padding: 0 15px;
  margin-bottom: 5%;
}
.ui.borderless.secondary.menu{
  border: none;
  background-color: rgba(34,36,38,.45);
}
.main-nav.menu,
.fixed.menu .ui.container {
  display: flex !important;
  align-items: center;
}

.main-nav.menu {
  justify-content: flex-start;
}

.main-nav.menu > .item,
.main-nav.menu > .menu,
.fixed.menu .ui.container > .item,
.fixed.menu .ui.container > .menu {
  flex: 0 0 auto;
}

.main-nav.menu .logo.item,
.fixed.menu .logo.item {
  margin-right: 18px;
}

.main-nav.menu .phone-wrap,
.fixed.menu .right.item {
  margin-left: auto !important;
}

.fixed.menu {
  display: none !important;
  background: rgba(34,36,38,.92) !important;
}

.fixed.menu.menu-visible {
  display: block !important;
}

.fixed.menu .ui.container {
  justify-content: flex-start;
}
.ui.inverted.footer.segment{
  margin-top: 15px;
  margin-bottom: 0 !important;
}
.home .ui.inverted.footer.segment{
  margin-top:0;
  margin-bottom: 0 !important;
}

body.home {
  background: #1b1c1d !important;
}

body.pushable.home,
body.pushable.home > .pusher {
  background: #1b1c1d !important;
}

body.pushable.home > .pusher {
  min-height: 100dvh;
}

body.home .pusher > :not(.ui.inverted.vertical.footer.segment) {
  background-color: #fff;
}

body.home .ui.vertical.center.aligned.stripe.segment {
  background: #fff !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

body.home .pusher > .ui.inverted.vertical.footer.segment {
  margin-bottom: 0 !important;
}

.ui.content.container{
  margin-top: 50px;
}

.menu .logo.item {
  padding: 2px 16px !important;
  /* top: 35px;
  margin-right: 1em; */
}
.masthead .ui.menu .ui.button {
  margin-left: 0.5em;
}
.masthead h1.ui.header {
  /*margin-top: 3em;*/
  margin-bottom: 0em;
  font-size: 3.4em;
  font-weight: bold;
}
.masthead h2 {
  font-size: 1.7em;
  font-weight: normal;
}
/*.slider { margin: 50px 0 10px!important;}*/

.ui.vertical.stripe {
  padding: 2em 0em;
}
.ui.vertical.stripe h3 {
  font-size: 2em;
}
.ui.vertical.stripe .button + h3,
.ui.vertical.stripe p + h3 {
  margin-top: 3em;
}
.ui.vertical.stripe .floated.image {
  clear: both;
}
.ui.vertical.stripe p {
  font-size: 1.33em;
}
.ui.vertical.stripe .horizontal.divider {
  margin: 3em 0em;
}

body.home .ui.vertical.secondary.stripe.segment {
  padding: 0;
  background: #e3c8b0 !important;
  background-color: #e3c8b0 !important;
}

body.home .pusher > .ui.vertical.secondary.stripe.segment {
  background: #e3c8b0 !important;
  background-color: #e3c8b0 !important;
}

body.home .ui.vertical.secondary.stripe.segment > .ui.container.desktop-only {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 34px !important;
}

body.home .ui.vertical.secondary.stripe.segment .ui.basic.inverted.olive.clearing.segment {
  min-height: 176px;
  margin: 0;
  padding: 28px 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

body.home .ui.vertical.secondary.stripe.segment #search-residence {
  height: 100%;
}

body.home .ui.vertical.secondary.stripe.segment #search-residence .six.fields {
  margin: 0;
  align-items: end;
}

body.home .ui.vertical.secondary.stripe.segment #search-residence .field {
  margin-bottom: 0;
}

body.home .ui.vertical.secondary.stripe.segment #search-residence .ui.input,
body.home .ui.vertical.secondary.stripe.segment #search-residence input {
  width: 100%;
}

.quote.stripe.segment {
  padding: 0em;
}
.quote.stripe.segment .grid .column {
  padding-top: 5em;
  padding-bottom: 5em;
}

.footer.segment {
  padding: 5em 0em;
}


.ui.footer.segment {
  /*margin: 5em 0em 0em;*/
  padding: 5em 0em;
}

.menu .toc.item {
  display: none !important;
}

/***************************** Inner page *****************************/
.color.grid {
  margin: -1.5em;
  width: 400px;
}
.ui.table {
  table-layout: fixed;
}
.color.grid .column {
  margin: 0.5em;
  width: 50px;
  height: 50px;
}

.ui.menu {
  margin: 3em 0em;
}


.spaced > .button {
  margin-bottom: 1em;
}

.ui.table {
  table-layout: fixed;
}

.ui.input + .ui.input {
  margin-left: 1em;
}

.social.buttons{
    text-align: right;
    /*position: absolute;
    right: 10px;
    bottom: 3.5em;
    display: inherit;*/
}

.ui.inverted.footer.segment .social.buttons {
  margin-top: 18px;
  text-align: left;
}

.ui.inverted.footer.segment .social-icons {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ui.inverted.footer.segment .social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  transition: background-color .2s ease, color .2s ease;
}

.ui.inverted.footer.segment .social-icon:hover {
  background: #b55b36;
  color: #fff;
}

.ui.inverted.footer.segment .social-icon i {
  font-size: 1.25rem;
  line-height: 1;
}

.ui.inverted.footer.segment > div[style*="width:0"] {
  display: none !important;
}

.footer-counters {
  display: none !important;
}
@media only screen and (min-width:1200px) {
    .ui.container {
        width: 1325px;
        margin-left:auto!important;
        margin-right:auto!important;
    }
}
.menu .logo.item{
    display:block !important;
}
@media only screen and (max-width: 991px) {
  .ui.fixed.menu {
    display: none !important;
  }
  .menu .item,
  .menu .menu{  
    display: none !important;
  }
  .vertical.sidebar.menu .item,
  .vertical.sidebar.menu .menu
  .vertical.sidebar.menu .left.logo.item {  
    display: block !important;
  }
 /*.social.buttons{
      bottom: 0.5em;
      position: static;
  }*/

  .basic.masthead.segment{
    padding: 0;
  }

  .basic.masthead.segment .big.header{
    font-size: 1.5em;
    text-shadow: 2px 2px 6px black;
    margin-bottom: 2%;
  }

  .menu .toc.item {
    display: block !important;
  }

  .masthead h1.ui.header {
    font-size: 2em;
    margin-top: 1.5em;
  }
  .masthead h2 {
    margin-top: 0.5em;
    font-size: 1.5em;
  }
}

@media only screen and (min-width:769px) {
    #only-s {
        display: none;
    }
}
@media only screen and (max-width:768px) {
    #only-l {
        display: none;
    }
}
/*-------------------
       Social
--------------------*/
/* Odnoklassniki */

.ui.odnoklassniki.button {
  background-color: rgb(230, 163, 40);
  color: #FFFFFF;
  text-shadow: none;
}

.ui.odnoklassniki.button:hover {
  background-color: rgb(230, 157, 0);
  color: #FFFFFF;
  text-shadow: none;
}

.ui.odnoklassniki.button:active {
  background-color: rgb(238, 183, 65);
  color: #FFFFFF;
  text-shadow: none;
}
/* Vkontakte */
.ui.vk.button {
  background-color: rgb(14, 96, 204);
  color: #FFFFFF;
  text-shadow: none;
}

.ui.vk.button:hover {
  background-color: rgb(2, 80, 184);
  color: #FFFFFF;
  text-shadow: none;
}

.ui.vk.button:active {
  background-color: rgb(24, 109, 221);
  color: #FFFFFF;
  text-shadow: none;
}


.marquee {
  overflow: hidden;
  white-space: nowrap;
  animation: marquee 17s linear infinite;
  -webkit-animation: marquee 17s linear infinite;
}

.ui.form .glue.fields .field:not(:last-child){
  margin-bottom: 15px;
}

/* оформление рамки блока */
.bloginfo {
    background: #FFD963;
   border: 1px solid #000000;
   padding: 3px 5px 3px 30px;
    margin: 11px;
    text-align: justify;
    line-height: 1.3em;
    color:darkblue;
    text-shadow: 1px 1px 0 white;
   font-size:14px;
 -webkit-border-radius: 5px;
 -moz-border-radius: 5px;
 -o-border-radius: 5px;
 -khtml-border-radius: 5px;
 border-radius: 5px;
-webkit-box-shadow: 5px 5px 5px #ABC;/*Google Crome и Safari */
-ms-filter: "progid:DXImageTransform.Microsoft.Shadow(color=#AABBCC,direction=125,strength=5)";/*Internet   Explorer */
  box-shadow: 5px 5px 5px #847B6C;/*Opera и Firefox*/
}
/* оформление заголовка блока */
.bloginfo-head {
    font-size:1.4em;
    font-weight: bold;
    color:#783E2B;
   margin: 0 0 5px 0;
}
/* оформление текста блока */
.bloginfo-txt {
    line-height: 1.3em;
    color: darkblue;
   font-size:14px;
 }
 
 .comment.field{
     position: absolute;
     left: -5000px;
     z-index: -2;
 }
 
 .xprice{
     font-weight: 800;
 }
 
 .ui.red.button, .ui.red.buttons .button {
    background-color: #ea6566 !important;
}


 /*.ui.olive.label{
     color: #000 !important;
 }*/
 
.swiper-container{
    height: 100vh;
    min-height: 420px;
}

.swiper-wrapper,
.swiper-slide {
    height: 100%;
}

.swiper-slide {
    position: relative;
    overflow: hidden;
}

.swiper-slide img.ui.fluid.image {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    transform: scale(1);
    will-change: transform;
    transform-origin: center center;
    animation: heroZoom 9s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    from { transform: scale(1); }
    to { transform: scale(1.14); }
}

/* Rebuilt site header */
.site-header {
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background-image: none !important;
}

.site-header__inner {
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: 50px;
}

.site-header__brand {
    display: inline-flex;
    align-items: center;
    color: #fff !important;
    text-decoration: none;
    flex: 0 0 auto;
}

.site-header__brand img {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.site-header__nav-wrap {
    min-width: 0;
    flex: 1 1 auto;
}

.site-header__nav {
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-header__nav > .menu {
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
}

.site-header__nav > .item,
.site-header__nav .site-header__item,
.site-header__nav > .menu > .item {
    font-size: 0.94rem;
    display: flex !important;
    align-items: center;
    min-height: 50px;
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-left: auto;
    flex: 0 0 auto;
}

.site-header__phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.28);
    color: #fff !important;
    background: rgba(255,255,255,0.08);
    font-weight: 700;
    white-space: nowrap;
    font-size: 0.9rem;
}

.site-header__burger {
    display: none;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.site-header__burger span {
    display: block;
    width: 18px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
}

.site-header--hero {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 140;
    padding: 8px 0;
    background: linear-gradient(180deg, rgba(15,21,27,0.92) 0%, rgba(15,21,27,0.58) 55%, rgba(15,21,27,0.18) 100%) !important;
}

.site-header--hero .site-header__nav .item,
.site-header--hero .site-header__nav .text,
.site-header--hero .site-header__nav .icon,
.site-header--fixed .site-header__nav .item,
.site-header--fixed .site-header__nav .text,
.site-header--fixed .site-header__nav .icon {
    color: #fff !important;
}

.site-header__nav .item.active,
.site-header__nav .item.active .text,
.site-header__nav .item.active .icon {
    background: transparent !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

.site-header__nav > .item,
.site-header__nav > .menu > .item,
.site-header__nav > .menu > .ui.dropdown.item {
    border: 0 !important;
    box-shadow: none !important;
    border-color: transparent !important;
    background-image: none !important;
}

.site-header__nav > .item:hover,
.site-header__nav > .menu > .item:hover,
.site-header__nav > .menu > .ui.dropdown.item:hover {
    border: 0 !important;
    box-shadow: none !important;
    border-color: transparent !important;
    background-image: none !important;
}

.site-header.ui.pointing.menu .item::after,
.site-header.ui.pointing.menu .active.item::after,
.site-header.ui.pointing.menu .item::before,
.site-header.ui.pointing.menu .active.item::before,
.site-header .item::after,
.site-header .item::before {
    display: none !important;
}

.site-header--hero .site-header__nav .item.active,
.site-header--hero .site-header__nav .item.active .text,
.site-header--hero .site-header__nav .item.active .icon,
.site-header--fixed .site-header__nav .item.active,
.site-header--fixed .site-header__nav .item.active .text,
.site-header--fixed .site-header__nav .item.active .icon {
    color: #fff !important;
}

.site-header .ui.dropdown .menu {
    display: none !important;
    margin-top: 0 !important;
    top: 100% !important;
    left: 0 !important;
    border: 0 !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    box-shadow: 0 18px 50px rgba(17, 25, 34, 0.18) !important;
    overflow: visible !important;
    min-width: 260px;
    z-index: 260;
}

.site-header .ui.dropdown {
    position: relative;
}

.site-header .ui.dropdown:hover > .menu,
.site-header .ui.dropdown:focus-within > .menu {
    display: block !important;
}

.site-header .ui.dropdown .ui.dropdown .menu {
    top: 0 !important;
    left: calc(100% + 6px) !important;
    margin-top: 0 !important;
}

.site-header .ui.dropdown::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 14px;
}

.site-header .ui.dropdown .menu .item,
.site-header .ui.dropdown .menu .text,
.site-header .ui.dropdown .menu .icon {
    color: #1f2933 !important;
}

.site-header .ui.dropdown .menu .item:hover,
.site-header .ui.dropdown .menu .item.active {
    background: #f3f5f7 !important;
    color: #1f2933 !important;
}

.site-header--fixed {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 220;
    display: block !important;
    padding: 6px 0;
    background: rgba(19, 24, 29, 0.96) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
}

.site-header--fixed.menu-visible {
    display: block !important;
}

.site-header--hero {
    display: none !important;
}

.site-drawer {
    width: min(88vw, 360px) !important;
    background: #13181d !important;
    padding: 0 !important;
}

.site-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 18px 14px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.site-drawer__brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff !important;
    font-weight: 700;
}

.site-drawer__brand img {
    width: 54px;
    height: 54px;
    object-fit: contain;
}

.site-drawer__close {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: #fff;
    cursor: pointer;
}

.site-drawer__body {
    padding: 12px 10px 8px;
}

.site-drawer__nav .item {
    display: block !important;
    padding: 13px 12px !important;
    margin: 0 !important;
    border-radius: 12px;
    color: #fff !important;
}

.site-drawer__nav .item.active {
    background: rgba(255,255,255,0.08);
}

.site-drawer__foot {
    padding: 14px 18px 22px;
}

.site-drawer__phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 54px;
    border-radius: 999px;
    background: #b55b36;
    color: #fff !important;
    font-weight: 700;
}

body.home .swiper {
    position: relative;
}

body.home .swiper > .site-header--hero {
    pointer-events: auto;
}

@media only screen and (max-width: 991px) {
    .site-header--fixed,
    .site-header--fixed.menu-visible {
        display: none !important;
    }

    .site-header--hero {
        display: block !important;
        position: fixed !important;
        padding: 10px 0;
        background: rgba(19, 24, 29, 0.92) !important;
        border-bottom: 1px solid rgba(255,255,255,0.08) !important;
    }

    .site-header__inner {
        min-height: 54px;
        gap: 12px;
        padding-left: 16px;
        padding-right: 16px;
    }

    .site-header__brand img {
        width: 50px;
        height: 50px;
    }

    .site-header__brand {
        margin-left: 0;
    }

    .site-header__nav-wrap,
    .site-header__phone {
        display: none !important;
    }

    .site-header__burger {
        display: inline-flex;
        margin-right: 0;
    }
}
/* 
 @media only screen and (max-width:987px) {
 .swiper-container{
     height:300px;
 }
}
@media only screen and (max-width:768px) {
 .swiper-container{
     height:200px;
 }
}*/

@media only screen and (min-width:992px) {
    .desktop-only {
        display:block !important;
    }
    .mobile-only {
        display:NONE !important;
    }
}
 

@media only screen and (max-width: 991px) {
    .mobile-only {
        display:block !important;
    }
    .masthead .ui.secondary.menu{
        padding: 0 !important;
    }
    .masthead .right.item, .masthead .left.logo.item{
        display: block !important;
    }
    .masthead .left.logo.item{
        width: 110px;
        padding: 0 !important;
        /*align-self: center;*/
    }
    
    .desktop-only {
        display:none !important;
    }

    body.home .ui.vertical.secondary.stripe.segment > .ui.container.mobile-only {
        padding: 10px 12px 16px !important;
    }

    body.home .ui.container.mobile-only .ui.styled.fluid.accordion {
        border-radius: 14px !important;
        border: 1px solid #d9c4ac !important;
        background: #fff6eb !important;
        box-shadow: 0 10px 24px rgba(66, 40, 20, 0.12) !important;
        overflow: hidden;
    }

    body.home .ui.container.mobile-only .ui.accordion .title {
        padding: 14px 14px !important;
        font-size: 1.05rem !important;
        font-weight: 700 !important;
        color: #6b4325 !important;
        background: linear-gradient(90deg, #f3dbc1 0%, #ebcfb2 100%) !important;
    }

    body.home .ui.container.mobile-only .ui.accordion .content {
        padding: 12px !important;
        background: #fffdf8 !important;
    }

    body.home .ui.container.mobile-only .ui.basic.inverted.olive.clearing.segment {
        min-height: 0;
        padding: 0 !important;
        background: transparent !important;
    }

    body.home .ui.container.mobile-only .ui.basic.inverted.olive.clearing.segment > .ui.big.header {
        margin: 0 0 10px;
        font-size: 1.15rem !important;
        color: #7f4f2b !important;
    }

    body.home .ui.container.mobile-only #search-residence .six.fields {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        margin: 0;
    }

    body.home .ui.container.mobile-only #search-residence .field {
        margin: 0 !important;
    }

    body.home .ui.container.mobile-only #search-residence label {
        margin-bottom: 6px !important;
        color: #4a3828 !important;
        font-weight: 700 !important;
    }

    body.home .ui.container.mobile-only #search-residence .ui.input,
    body.home .ui.container.mobile-only #search-residence input,
    body.home .ui.container.mobile-only #search-residence .ui.dropdown {
        width: 100% !important;
        min-height: 44px;
        border-radius: 10px !important;
        border: 1px solid #dcc8b1 !important;
        background: #fff !important;
    }

    body.home .ui.container.mobile-only #search-residence .calendar.icon {
        color: #8a5a33 !important;
    }

    body.home .ui.container.mobile-only #search-residence .ui.fluid.brown.submit.button {
        min-height: 54px;
        border-radius: 10px !important;
        margin-top: 4px;
        background: linear-gradient(90deg, #9f6135 0%, #7f4c2a 100%) !important;
        box-shadow: 0 8px 18px rgba(103, 63, 33, 0.22);
    }
}

.ui.header{
    color: #b55b36;
}
.ui.olive.big.label{
    margin:2px;
}
.ui.card>.button, .ui.card>.buttons, .ui.cards>.card>.button, .ui.cards>.card>.buttons, .olive.segment label {
    color: #b55b36 !important;
}
@media only screen and (min-width: 990px) {
.ui.menu .item{
    padding: 0.4em !important;
    /*font-size: .8rem;*/
}

.ui.menu .item>i.dropdown.icon {
    margin: 0 0 0 0.4em;
}
.ui.secondary.menu .item{
    margin: 0 0.1em;
}
.ui.secondary.inverted.pointing.menu{
    justify-content: center !important;
}
}

.ui.secondary.inverted.pointing.menu{
    justify-content: center;
}

/* pdoPage pagination fallback */
.pagination {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 16px 0 24px;
}

.pagination .page-item {
    list-style: none;
    margin: 0;
}

.pagination .page-link {
    display: inline-block;
    padding: 8px 12px;
    border: 1px solid #d8d8d8;
    border-radius: 6px;
    color: #3a3a3a;
    background: #fff;
    text-decoration: none;
    line-height: 1;
}

.pagination .page-item.active .page-link {
    background: #8a6a3e;
    border-color: #8a6a3e;
    color: #fff;
}

.pagination .page-item.disabled .page-link {
    opacity: 0.45;
    pointer-events: none;
}

/* Residence photo labels (e.g. "новинка", "сауна") */
.ui.olive.horizontal.label {
    color: #b55b36 !important;
}

/* Keep icon fonts intact after global typography override */
i.icon,
i.icons {
  font-family: 'Icons' !important;
}

.fa,
.fas,
.far,
.fal,
.fad {
  font-family: "Font Awesome 5 Free" !important;
}

.fab {
  font-family: "Font Awesome 5 Brands" !important;
  font-weight: 400 !important;
}

/* Search result page refresh */
.search-results-page {
    max-width: 1120px;
    margin: 0 auto 24px;
}

.search-results-page .search-results__message {
    border-radius: 12px !important;
    padding: 14px 16px !important;
    margin-bottom: 16px !important;
}

.search-results-page .search-results__message.ui.info.message {
    background: #fff9ef !important;
    border-left: 4px solid #b55b36 !important;
    color: #4a3a2d !important;
}

.search-results-page .search-results__message.ui.error.message {
    background: #fff4f4 !important;
    border-left: 4px solid #c54545 !important;
}

.search-results-page .search-results__items {
    margin-top: 0 !important;
}

.search-results-page .ui.items > .item.residence.item {
    background: #fff;
    border: 1px solid #ebe5db;
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 14px;
    box-shadow: 0 8px 24px rgba(45, 30, 12, 0.05);
}

.search-results-page .ui.items > .item.residence.item:last-of-type {
    margin-bottom: 10px;
}

.search-results-page .residence.item > .ui.image {
    border-radius: 10px;
    overflow: hidden;
}

.search-results-page .residence.item .ui.huge.header {
    font-size: 2rem !important;
    margin-bottom: 10px !important;
    color: #8a5a33 !important;
}

.search-results-page .residence.item .ui.message {
    border-radius: 10px !important;
    border: 1px solid #e8dfd2 !important;
    box-shadow: none !important;
}

.search-results-page .ui.tariff.grid {
    margin: 0 0 18px !important;
    border: 1px solid #ebe5db;
    border-radius: 14px;
    padding: 12px 14px;
    background: #fffdfa;
}

.search-results-page .ui.tariff .ui.olive.segment {
    border-radius: 10px !important;
    border: 1px solid #eadfce !important;
}

.search-results-page .ui.tariff .statistics .value {
    color: #7b4f2b !important;
}

.search-results-page .ui.tariff .price.value {
    color: #7b4f2b !important;
    font-size: 2.3rem !important;
    font-weight: 700 !important;
}

.search-results-page .ui.tariff .price.value span {
    color: inherit !important;
}

.search-results-page .ui.tariff .booking.button {
    background: #8a5a33 !important;
    color: #fff !important;
    border-radius: 10px !important;
    box-shadow: none !important;
}

.search-results-page .ui.tariff .booking.button:hover {
    background: #744a2a !important;
}

.search-results-page .ui.tariff .ui.slider.checkbox label {
    color: #4f3d2f !important;
}

.search-results-page .ui.divider {
    border-top-color: #efe6d8 !important;
}

@media only screen and (max-width: 991px) {
    .search-results-page .ui.items > .item.residence.item {
        padding: 12px;
    }

    .search-results-page .residence.item .ui.huge.header {
        font-size: 1.5rem !important;
    }

    .search-results-page .ui.tariff.grid {
        padding: 10px;
    }

    .search-results-page .ui.tariff .price.value {
        font-size: 1.9rem !important;
    }
}

/* Contacts page layout */
.contacts-page {
    --contacts-accent: #8a5a33;
    --contacts-accent-dark: #6b4325;
    --contacts-bg: #fffaf3;
    --contacts-border: #eadfce;
    --contacts-text: #3d3024;
    max-width: 1120px;
    margin: 0 auto 30px;
    padding: 18px;
    background: radial-gradient(120% 140% at 0% 0%, #fffdf8 0%, var(--contacts-bg) 50%, #f9f1e5 100%);
    border: 1px solid var(--contacts-border);
    border-radius: 22px;
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 18px;
    margin-bottom: 18px;
}

.contacts-card {
    grid-column: span 6;
    background: #fff;
    border: 1px solid var(--contacts-border);
    border-radius: 16px;
    padding: 22px 22px 20px;
    box-shadow: 0 14px 30px rgba(66, 43, 22, 0.08);
    position: relative;
    overflow: hidden;
}

.contacts-card:before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, #c08a53 0%, var(--contacts-accent) 55%, var(--contacts-accent-dark) 100%);
}

.contacts-card h3,
.contacts-card h4 {
    margin: 0 0 14px;
    color: var(--contacts-accent);
    font-size: 1.45rem;
    letter-spacing: 0.01em;
}

.contacts-card p {
    margin: 0 0 10px;
    color: var(--contacts-text);
    line-height: 1.65;
    font-size: 1.04rem;
}

.contacts-card a {
    color: var(--contacts-accent-dark);
    text-decoration: none;
    font-weight: 700;
    border-bottom: 1px solid rgba(107, 67, 37, 0.18);
    transition: color 0.2s ease, border-color 0.2s ease;
}

.contacts-card a:hover {
    color: #a26231;
    border-bottom-color: rgba(162, 98, 49, 0.45);
}

.contacts-hours {
    background: linear-gradient(180deg, #fff 0%, #fff8ee 100%);
}

.contacts-note {
    background: #fff4e8;
    border-left: 4px solid #ba6a3a;
    border-radius: 10px;
    padding: 14px 15px;
    margin-top: 14px;
    font-weight: 700;
}

.contacts-map {
    grid-column: span 12;
    background: #fff;
    border: 1px solid var(--contacts-border);
    border-radius: 16px;
    padding: 12px;
    box-shadow: 0 14px 30px rgba(66, 43, 22, 0.08);
}

.contacts-map iframe {
    width: 100%;
    height: 420px;
    border: 0;
    border-radius: 12px;
}

@media only screen and (max-width: 991px) {
    .contacts-page {
        padding: 12px;
        border-radius: 16px;
    }

    .contacts-grid {
        gap: 12px;
    }

    .contacts-card {
        grid-column: span 12;
        padding: 18px 16px 16px;
    }

    .contacts-card h3,
    .contacts-card h4 {
        font-size: 1.25rem;
    }

    .contacts-map iframe {
        height: 300px;
    }
}

/* Calculator page refresh */
#residences-page #calc-form.ui.form.segment {
    border: 1px solid #e7dccb;
    border-radius: 18px;
    padding: 24px 24px 20px;
    box-shadow: 0 14px 34px rgba(63, 43, 20, 0.08);
    background: linear-gradient(180deg, #ffffff 0%, #fffcf6 100%);
}

#residences-page #calc-form .ui.small.header {
    margin: 16px 0 12px;
    color: #5f3418;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

#residences-page #calc-form .field > label,
#residences-page #calc-form .inline.fields > label {
    color: #4d3a2c !important;
    font-weight: 700 !important;
    margin-bottom: 6px !important;
}

#residences-page #calc-form .ui.input > input,
#residences-page #calc-form input[type="text"],
#residences-page #calc-form select {
    border-radius: 12px !important;
    border: 1px solid #dfd1bf !important;
    min-height: 44px;
    background: #fffdf9 !important;
}

#residences-page #calc-form .ui.dropdown {
    border-radius: 12px !important;
    border-color: #dfd1bf !important;
    min-height: 44px;
}

#residences-page #calc-form .ui.dropdown > .text {
    line-height: 1.3;
}

#residences-page #calc-form .ui.message {
    border-radius: 12px;
}

#residences-page #calc-form .ui.submit.brown.button,
#residences-page #calc-form .ui.booking.brown.button {
    border-radius: 12px !important;
    min-height: 40px;
    padding: 7px 14px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
    text-align: center;
    font-weight: 700;
    letter-spacing: 0.01em;
}

#residences-page #calc-form .ui.submit.brown.button {
    background: linear-gradient(90deg, #9e6135 0%, #7f4c2a 100%) !important;
    box-shadow: 0 10px 20px rgba(108, 66, 34, 0.25);
}

#residences-page #calc-form .ui.submit.brown.button:hover {
    filter: brightness(1.06);
}

#residences-page #calc-form .ui.checkbox label {
    color: #4a3a2d !important;
}

#residences-page > .ui.big.warning.message,
#residences-page > .ui.huge.info.message,
#residences-page > .ui.yellow.big.message,
#residences-page > .ui.green.big.message,
#residences-page > .ui.message {
    border-radius: 14px !important;
    border-left: 4px solid #bc6b3b !important;
}

@media only screen and (max-width: 991px) {
    #residences-page #calc-form.ui.form.segment {
        padding: 16px 14px 14px;
        border-radius: 14px;
    }

    #residences-page #calc-form .inline.field,
    #residences-page #calc-form .inline.fields {
        display: block !important;
    }

    #residences-page #calc-form .inline.field > label,
    #residences-page #calc-form .inline.fields > label {
        display: block !important;
        float: none !important;
        width: auto !important;
        text-align: left !important;
        margin: 0 0 8px 0 !important;
    }

    #residences-page #calc-form .field {
        min-width: 0;
    }

    #residences-page #calc-form select#cottage_id.ui.cottage.dropdown,
    #residences-page #calc-form select[name="cid"].ui.cottage.dropdown {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    #residences-page #calc-form .ui.selection.dropdown {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    #residences-page #calc-form .ui.selection.dropdown > .text {
        white-space: normal !important;
        overflow-wrap: anywhere;
        word-break: break-word;
        padding-right: 2.2em;
    }

    #residences-page #calc-form .ui.selection.dropdown .menu {
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        min-width: 0 !important;
    }

    #residences-page #calc-form .ui.selection.dropdown .menu > .item {
        white-space: normal !important;
        word-break: break-word;
    }

    #residences-page #calc-form .fields {
        margin-bottom: 0.5rem !important;
    }

    #residences-page #calc-form .ui.submit.brown.button,
    #residences-page #calc-form .ui.booking.brown.button {
        width: 100%;
        min-height: 38px;
        padding: 6px 12px;
        margin-top: 8px;
    }
}
