/* React state replaces the original Splide/GSAP runtime; theme styles remain canonical. */
.rr-hero {
  position: relative;
}
.rr-hero .c-slide__hero__track {
  height: 100%;
  position: relative;
}
.rr-hero .c-slide__hero__list {
  position: relative;
}
.rr-hero .c-slide__hero__list__item {
  position: absolute;
  inset: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.8s ease,
    visibility 0.8s;
}
.rr-hero .c-slide__hero__list__item.is-active {
  opacity: 1;
  visibility: visible;
}
.rr-hero .c-slide__hero__text {
  text-shadow: 0 2px 12px #0005;
}
.rr-hero-controls {
  position: absolute;
  left: 53%;
  bottom: 85px;
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 7;
}
.rr-hero-controls button {
  border: 0;
  background: transparent;
  color: white;
  font: inherit;
  font-size: 24px;
  cursor: pointer;
  min-width: 28px;
  min-height: 32px;
}
.rr-hero-controls button.rr-hero-dot {
  min-width: 10px;
  min-height: 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffffff66;
}
.rr-hero-controls button.rr-hero-dot.is-active {
  background: #fff;
}
.p-top .p-top__banner__new__info .--content,
.p-top .p-top__info__item .--content {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.rr-card-slider {
  position: relative;
  max-width: 100%;
}
.rr-card-slider .splide__track {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.rr-card-slider .splide__track::-webkit-scrollbar {
  display: none;
}
.rr-card-slider .splide__list {
  display: flex;
  align-items: stretch;
  width: max-content;
}
.rr-card-slider .splide__slide {
  flex: 0 0 320px;
  width: 320px;
  scroll-snap-align: start;
}
.rr-card-slider .splide__slide article.c-card {
  height: 100%;
}
.rr-card-slider .splide__arrow {
  position: absolute;
  top: 45%;
  cursor: pointer;
  transform: translateY(-50%);
}
.rr-card-slider .splide__pagination {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.rr-card-slider .splide__pagination__page {
  display: block;
  border: none;
  background: #ccc;
  cursor: pointer;
  min-height: 4px;
}
.p-top__column__splide .c-card__heading {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.p-top__column__splide .c-card__text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.p-top__search__list label {
  cursor: pointer;
}
.p-top .p-weather__card {
  color: inherit;
  font-family: inherit;
  padding: 3px 0;
}
.p-weather-modal__bg {
  background: #0004;
}
.p-weather-modal .p-weather__card {
  position: relative;
  transform: none;
}
.rr-weather-status {
  font-size: 9px;
  padding: 4px;
}
.p-weather-modal .p-weather__card button {
  background: #000a41;
  color: white;
  border: none;
  border-radius: 3px;
  font-size: 10px;
  padding: 4px 12px;
  margin: 0 0 5px;
  cursor: pointer;
}
.p-top__banners-wrap {
  max-width: 900px;
  margin-right: 32px;
}
.p-top__banners .splide__track {
  overflow: hidden;
}
.p-top__banners .splide__list {
  display: flex;
  transition: transform 0.6s ease;
}
.p-top__banners .splide__slide {
  flex: 0 0 100%;
  min-width: 0;
}
.p-top__banners .splide__slide a {
  display: block;
}
.p-top__banners .splide__slide img {
  width: 100%;
}
.p-top__banners-wrap > button {
  background: transparent;
  border: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.p-top__banners-wrap > .rr-banner-pause {
  display: block;
  margin: 12px 0 0 auto;
  font-size: 12px;
}
:where(button, a, input, select):focus-visible {
  outline: 3px solid #bc9443;
  outline-offset: 4px;
}
@media (max-width: 1024px) {
  .rr-hero-controls {
    left: 50%;
    transform: translateX(-50%);
    bottom: 35px;
  }
  .rr-card-slider.p-top__property__splide,
  .rr-card-slider.p-top__column__splide {
    width: 100%;
    margin-left: 0;
  }
  .p-top__banners-wrap {
    margin: 80px 12px 0;
  }
}
@media (max-width: 768px) {
  .rr-hero {
    height: 70vh;
    height: 70svh;
    min-height: 500px;
  }
  .rr-hero .c-slide__hero__text {
    top: 46%;
  }
  .p-top__service__description .--title {
    overflow-wrap: anywhere;
  }
}
@media (prefers-reduced-motion: reduce) {
  .rr-hero *,
  .rr-card-slider *,
  .p-top__banners * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .c-typing__char {
    opacity: 1;
    filter: none;
    transform: none;
  }
}

/* Keep the heading above the original absolute service backdrop. */
.p-top__service__container {
  position: relative;
  z-index: 1;
}

/* Site dialogs own focus while open, including over the isolated chat UI. */
body:has(.l-drawer.is-open, .p-weather-modal.is-open) #kfai-root {
  display: none;
}
