.home [hidden], .account-preview [hidden] { display: none !important; }
.home a:focus-visible, .home button:focus-visible, .home [role="button"]:focus-visible,
.account-preview :focus-visible { outline: 3px solid #266652; outline-offset: 2px; }
html:has(body.home) { scroll-padding-top: calc(var(--home-header-height, 10rem) + 16px); }
.home .langlist_div button.langlist_title { border: 0; padding: 0; appearance: none; font-family: inherit; }
.home button.country-title:not(.active):not(:hover) { background: transparent; }
.home .langlist_div .langlist_title[aria-expanded="true"] + .langlist_ul { display: block; }
.home .offline-strip {
  position: fixed; bottom: max(8px, env(safe-area-inset-bottom)); left: 8px; z-index: 1000;
  display: block; max-width: min(90vw, 320px); padding: 5px 10px;
  background: #fff7de; border: 1px solid #a77c30; border-radius: 6px; color: #3a2a16;
  font: 600 13px/1.4 Arial, sans-serif; box-shadow: 0 2px 8px #38220e18;
}
.home .offline-strip summary { cursor: pointer; }
.home .offline-strip[open] > a { display: block; padding: 8px 2px 2px; }
.home .home-mobile-filters { display: none; }
.home .js_item_left { cursor: pointer; }
.home .tbl_icon { font-family: inherit; }
.home .home-empty { padding: 1.6rem; }
.home .card__list-wrapper { list-style: none; margin: 0; padding-inline-start: 0; }
.home .office-toggle { flex: 1; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.home .home-map { align-self: stretch; min-width: 0; background: #e6e4e0 center center / cover no-repeat; }
.home #Gmap { background-image: url("home-media/map-thailand.webp"); }
.home #Ymap { background-image: url("home-media/map-russia.webp"); }
.home .newsSwiper .swiper-wrapper, .home .reviewsSwiper .swiper-wrapper {
  display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.home .newsSwiper .swiper-wrapper::-webkit-scrollbar, .home .reviewsSwiper .swiper-wrapper::-webkit-scrollbar { display: none; }
.home .news-slide, .home .feedback-slide { flex: 0 0 calc((100% - 16px) / 3); scroll-snap-align: start; }
.home .news-button-nav, .home .reviews-button-nav { border: 0; }
.home .news-button-nav:disabled, .home .reviews-button-nav:disabled { opacity: .35; cursor: default; }
#home-detail {
  margin: auto; width: min(46rem, 90vw); max-height: 80dvh; overflow: auto;
  padding: 2.6rem; border: none; border-radius: 1.6rem; color: #29231e; background: white;
  box-shadow: 0 2rem 5rem #26140938; font: 1.7rem/1.5 Arial,sans-serif;
}
#home-detail::backdrop { background: #25181083; }
#detail-title { margin: 1rem 0; font: bold 2.5rem/1.25 Arial,sans-serif; }
#detail-image { display: block; height: auto; max-width: 100%; max-height: 26rem; margin: 1rem 0; object-fit: contain; }
#detail-time { font-weight: bold; }
#detail-close { float: right; margin: 0 0 .6rem 1rem; padding: .8rem 1.3rem; border: 1px solid #e0b79b; border-radius: .8rem; color: #33261d; background: #fff5ec; font: inherit; cursor: pointer; }
@media (max-width: 640px) {
  .home .news-slide, .home .feedback-slide { flex-basis: 100%; }
  .home .home-mobile-filters { display: flex; gap: .8rem; margin-top: .8rem; font-size: 12px; }
  .home-mobile-filters label { min-width: 0; flex: 1; }
  .home-mobile-filters select { display: block; width: 100%; margin-top: 4px; padding: 4px; color: inherit; font: inherit; background: white; }
  .home #home-mobile-nav .main-menu { visibility: hidden; }
  .home #home-mobile-nav.is-open .main-menu { visibility: visible; }
}
.account-preview { min-height: 100vh; margin: 0; background: #fcf6ec; color: #25211f; font: 16px/1.5 Arial,sans-serif; }
.account-header, .account-body { width: min(96%, 68rem); margin: auto; padding: 1rem; box-sizing: border-box; }
.account-header { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
.account-header img { width: 11rem; height: auto; }
.account-header nav, .account-card nav { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.account-preview a { color: #913914; }
.account-body { margin-top: 1.5rem; }
.account-card { max-width: 34rem; margin: auto; padding: clamp(1.25rem, 4vw, 2.5rem); background: white; border: 1px solid #efdfce; border-radius: 1rem; }
.account-card h1 { margin: 0 0 1rem; font-size: 1.75rem; }
.account-card dl { margin: 1.5rem 0; }
.account-card dt { font-size: .9rem; }
.account-card dd { margin: .25rem 0 1rem; padding: .65rem; background: #faf5ef; border-radius: .5rem; }
.account-card .account-action { display: inline-block; padding: .65rem 1.15rem; margin-bottom: 1rem; border-radius: .6rem; background: #9d3e16; color: white; text-decoration: none; }

.home .preview-digit, .home .preview-symbol { display: grid; width: 100%; height: 100%; place-items: center; color: #5b5c3a; background: #e0e6cb; font: bold 2.4rem/1 Arial,sans-serif; }
.home .preview-symbol { color: #526f84; background: #d1e2eb; }
.home #Ymap { height: 70rem; }
.home #Gmap { height: 55rem; }
@media (max-width: 640px) {
  .home #Ymap, .home #Gmap { height: 33rem; }
  .home #Ymap { background-image: url("home-media/map-russia-mobile.webp"); }
  .home #Gmap { background-position: center bottom; }
  .home .offline-strip { bottom: max(49px, env(safe-area-inset-bottom)); }
}

.home.page-id-4 .home-map { visibility: hidden; }
@media (min-width: 641px) {
  .home.page-id-4 .nav-wrapper { margin-bottom: 8rem; }
  .home.page-id-4 .grid-advantages.grid5 { grid-template-areas: none; }
}
