/* =======================================================================================
   R-SITE THEME CSS (Clean, deduplicated, mobile-first)
   Notes:
   - English comments only and only at section headers
   - Sections grouped: Base → Archive (list) → Filters & Results bar → Single page → Shared
   - No duplicate rules; responsive tuned for 1200 / 1024 / 900 / 768 / 640 / 520 breakpoints
   ======================================================================================= */

/* --------------------------------
   IMPORTS
----------------------------------- */
@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap");

html,
body,
button,
input,
select,
textarea,
label,
a,
p,
div,
span,
h1,
h2,
h3,
h4,
h5,
h6,
ul,
ol,
li,
dl,
dt,
dd,
table,
th,
td,
blockquote,
cite,
q,
code,
pre,
kbd,
samp,
.elementor *,
.wp-block *,
.woocommerce *,
.epl-*,
.rs-* {
  font-family: DM Sans, sans-serif !important;
}

/* --------------------------------
   ROOT VARIABLES
----------------------------------- */
:root {
  --page-bg-top: #ededed;
  --page-bg-bottom: #f7f7f7;

  --rs-container: 1253px;
  --rs-pad: 24px;

  --rs-topbar-bg: #fefefe;
  --rs-card-bg: #fff;
  --rs-card-radius: 28px;
  --rs-card-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);

  --rs-text: #0f172a;
  --rs-ink: #252a36;
  --rs-muted: #777e90;
  --rs-accent: #ec4e01;
  --rs-accent-600: #ff6a00;
  --rs-hairline: #d9d9d9;

  --rs-ico-arrow: 18px;
  --rs-ico-camera: 20px;

  --rs-gap: 5px;
  --rs-outer-radius: 20px;

  --bp-lg: 1024px;
  --bp-sm: 640px;

  /* Filters/Results inner width */
  --rsf-inner: 1165px;
  --rsf-pad-y: 49px;
  --rsf-pad-x: 31px;
  --rsf-divider: #d9d9d9;

  --bg: #172023;
  --ink: #f8f9fb;
  --muted: #777e90;
  --hair: #0b1424;
  --pill: rgba(255, 255, 255, 0.08);
  --accent: #ec4e01;
  --radius: 38px;
  --gap: 12px;
}

/* --------------------------------
   GLOBAL / WRAPPER
----------------------------------- */
@media (min-width: 1200px) {
  .page-header .entry-title,
  .site-footer .footer-inner,
  .site-header .header-inner,
  body:not([class*="elementor-page-"]) .site-main {
    max-width: 1253px;
    margin-inline: auto;
  }
}

a {
  outline: 0;
  border: 0;
  background: transparent;
  color: unset;
  text-decoration: none;
}

header {
  border-bottom: 1px solid;
  border-image-source: linear-gradient(
    90deg,
    rgba(190, 196, 208, 0) 0%,
    #dce5f5 50%,
    rgba(190, 196, 208, 0) 100%
  );
}

body:not(.home) {
  background: linear-gradient(
    180deg,
    var(--page-bg-top) 0%,
    var(--page-bg-bottom) 100%
  ) !important;
}

/* --------------------------------
   HERO
----------------------------------- */
.rs-card{
  --rs-card1-shift-left: 80px;
  --rs-card3-shift-left: 60px;
  --rs-hero-scale: 1.25;
  --rs-hero-shift-y: 36px;
}
.rs-card1 {
  transform: translateX(calc(-1 * var(--rs-card1-shift-left)));
}
.rs-card3 {
  transform: translateX(calc(-1 * var(--rs-card3-shift-left)));
}

@media (max-width: 1200px) {
  .rs-card{
    --rs-card1-shift-left: 30px;
    --rs-card3-shift-left: 20px;
    --rs-hero-scale: 1.14;
    --rs-hero-shift-y: 24px;
  }
}
@media (max-width: 767px) {
  .rs-card{
    --rs-card1-shift-left: 0;
    --rs-card3-shift-left: 0;
    --rs-hero-scale: 1.08;
    --rs-hero-shift-y: 14px;
  }
}

.rs-text {
  line-height: 1.4;
}
.rs-text img {
  display: inline-block;
  height: 1.15em;
  width: auto;
  vertical-align: middle;
  margin: 0 0.35em;
}
.rs-card.elementor-element-90de614 {
  overflow: visible;
}
.rs-card.elementor-element-90de614 img {
  display: block;
  width: 100%;
  height: auto;
  transform: translateY(var(--rs-hero-shift-y)) scale(var(--rs-hero-scale));
  transform-origin: center top;
}

/* --------------------------------
   ELEMENTOR BLOCKS
----------------------------------- */
.elementor-element-baf16e4,
[data-id="baf16e4"].e-con {
  border: 1px solid #e6e8ec;
  border-radius: 15px;
  background: transparent;
  display: flex;
  flex-direction: column;
}
.elementor-element-484d39fd {
  margin-top: auto !important;
  align-self: flex-end;
  text-align: right !important;
}
[data-id="baf16e4"].e-con,
.elementor-element-baf16e4 {
  --glow-x: 32%;
  --glow-y: 78%;
  background: radial-gradient(
      560px 360px at var(--glow-x) var(--glow-y),
      rgba(242, 90, 7, 0.18) 0%,
      rgba(242, 90, 7, 0.1) 28%,
      rgba(242, 90, 7, 0.05) 52%,
      rgba(242, 90, 7, 0) 75%
    ),
    linear-gradient(#fff, #fff);
  background-clip: padding-box;
}

/* ==========================================================================
   ARCHIVE (LIST) — GRID, CARDS, CONTENT
   ========================================================================== */

#content.rs-archive .rs-card__factsbody {
  font-family: DM Sans, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

/* List grid (loop) */
.loop .epl-template-blog {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 1024px) {
  .loop .epl-template-blog {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .loop .epl-template-blog {
    grid-template-columns: 1fr;
  }
}

.loop .epl-template-blog .epl-property-blog {
  position: relative;
  background: #fff;
  border: 1px solid rgba(16, 24, 40, 0.07);
  box-shadow: 0 10px 28px rgba(16, 24, 40, 0.08);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.18s, box-shadow 0.18s;
}
.loop .epl-template-blog .epl-property-blog:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(16, 24, 40, 0.12);
}
.loop .epl-template-blog .epl-property-blog-entry-wrapper {
  display: flex;
  flex-direction: column;
}
.loop .epl-template-blog .property-box-left,
.loop .epl-template-blog .property-box-right {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}
.loop .epl-template-blog .epl-blog-image img {
  width: 100%;
  height: 236px;
  object-fit: cover;
  display: block;
  border-radius: 16px 16px 0 0;
}
.loop .epl-template-blog .property-content {
  position: relative;
  padding: 18px 20px 16px;
  padding-right: 160px;
  display: flex;
  flex-direction: column;
  min-height: 200px;
}
.loop .epl-template-blog .entry-title {
  margin: 10px 0 6px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  color: #1f2937;
  word-break: break-word;
}
.loop .epl-template-blog .entry-title a {
  color: inherit;
  text-decoration: none;
}
.loop .epl-template-blog .entry-content {
  margin: 0 0 8px;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.6;
}
.loop .epl-template-blog .property-address {
  color: #9aa4b2;
  font-size: 13px;
  margin: 4px 0 0;
}
.loop .epl-template-blog .property-content .price {
  position: absolute;
  top: 14px;
  right: 20px;
  background: #ffe8dd;
  color: #e35e33;
  font-weight: 700;
  font-size: 13px;
  padding: 7px 12px;
  border-radius: 999px;
  line-height: 1;
}
.loop .epl-template-blog .property-feature-icons {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(17, 24, 39, 0.08);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  align-items: center;
}
.loop .epl-template-blog .property-feature-icons .epl-icon-svg-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid #e9edf2;
  border-radius: 12px;
  background: #fff;
  white-space: nowrap;
  height: 44px;
}
.loop .epl-template-blog .epl-stickers-wrapper,
.loop .epl-template-blog .status-sticker,
.loop .epl-template-blog .epl-more-link {
  display: none !important;
}

/* Archive layout */
#content.rs-archive .rs-container {
  max-width: 1327px;
  margin: 0 auto;
  padding: 34px 0;
}
#content.rs-archive .rs-grid {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
#content.rs-archive .rs-listings {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 23px;
}
#content.rs-archive .rs-right {
  flex: 0 0 346px;
  max-width: 346px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media (max-width: 1024px) {
  #content.rs-archive .rs-grid {
    flex-direction: column;
  }
  #content.rs-archive .rs-right {
    flex: 0 0 auto;
    max-width: none;
  }
}

/* Archive card */
#content.rs-archive .rs-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #edf1f5;
  border-radius: 36px;
  box-shadow: 0 8px 20px rgba(22, 34, 51, 0.06);
  overflow: hidden;
}
#content.rs-archive .rs-card__top {
  display: flex;
  gap: 45px;
  align-items: flex-start;
}
#content.rs-archive .rs-card__media {
  flex: 0 0 531px;
  overflow: hidden;
}
#content.rs-archive .rs-card__media,
#content.rs-archive .rs-card__media img {
  aspect-ratio: 16/9;
}
#content.rs-archive .rs-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-top-left-radius: 36px;
}
#content.rs-archive .rs-card__ph {
  width: 100%;
  height: 190px;
  background: #f3f5f8;
}
#content.rs-archive .rs-card__content {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 26px 48px 0 0;
}
@media (max-width: 900px) {
  #content.rs-archive .rs-card__top {
    flex-direction: column;
  }
  #content.rs-archive .rs-card__media {
    flex: 0 0 auto;
  }
  #content.rs-archive .rs-card__media img,
  #content.rs-archive .rs-card__ph {
    height: 220px;
  }
}

/* Archive card text */
#content.rs-archive .rs-card__title {
  margin: 0;
  font: 500 26px/34px DM Sans;
  color: #252a36;
}
#content.rs-archive .rs-card__location {
  font: 400 20px/31px DM Sans;
  color: #777e90;
}
#content.rs-archive .rs-card__desc {
  font: 400 16px/31px DM Sans;
  color: #777e90;
}

/* Archive card facts */
#content.rs-archive .rs-card .rs-card__facts {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 0;
  margin: 12px 0 8px;
  padding: 0;
  list-style: none;
}
#content.rs-archive .rs-card .rs-card__facts li {
  display: grid !important;
  grid-template-rows: 25px auto;
  align-content: start;
  gap: 8px;
  padding: 0 24px;
  position: relative;
  text-align: left;
  font: 400 16px/31px DM Sans, system-ui, -apple-system, "Segoe UI", Roboto,
    Arial, sans-serif;
  color: #252a36;
  white-space: nowrap;
  word-break: normal;
  overflow: visible;
}
#content.rs-archive .rs-card .rs-card__facts li:first-child {
  padding-left: 0;
}
#content.rs-archive .rs-card .rs-card__facts li:last-child {
  padding-right: 0;
}
#content.rs-archive .rs-card .rs-card__facts .rs-ico {
  grid-row: 1;
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  display: block;
  object-fit: contain;
  opacity: 1;
}
#content.rs-archive .rs-card .rs-card__facts li + li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 38px;
  background: #e8ecf1;
  pointer-events: none;
}
@media (max-width: 640px) {
  #content.rs-archive .rs-card .rs-card__facts {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 12px;
  }
  #content.rs-archive .rs-card .rs-card__facts li {
    padding: 0 12px;
    gap: 6px;
    font-size: 15px;
    line-height: 28px;
  }
  #content.rs-archive .rs-card .rs-card__facts li + li::before {
    display: none;
  }
}
@media (max-width: 480px) {
  #content.rs-archive .rs-card .rs-card__facts li {
    white-space: normal;
  }
}

/* Archive card bottom bar (grid) */
#content.rs-archive .rs-card__bar {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 50px;
  align-items: start;
  padding: 23px 37px 40px 46px;
  background: #fff;
  border-radius: 0 0 38px 38px;
}
#content.rs-archive .rs-card__bar-left {
  display: grid;
  row-gap: 4px;
}
#content.rs-archive .rs-card__bar-right {
  justify-self: end;
}
#content.rs-archive .rs-card__bar-left .rs-price-main {
  font: 800 28px/1.2 DM Sans, system-ui;
  color: #252a36;
}
#content.rs-archive .rs-card__bar-left .rs-price-sub {
  font: 500 18px/1.45 DM Sans, system-ui;
  color: #8a94a6;
}
#content.rs-archive .rs-price-badge {
  font: 500 24px/31px DM Sans, system-ui;
  color: #ec4e01;
  background: rgba(236, 78, 1, 0.1);
  padding: 6px 43px;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
#content.rs-archive .rs-btn--pill {
  background: #ec4e01;
  color: #fff;
  padding: 12px 18px;
  border-radius: 14px;
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(236, 78, 1, 0.22);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 640px) {
  #content.rs-archive .rs-card__bar {
    grid-template-columns: 1fr;
    row-gap: 12px;
  }
  #content.rs-archive .rs-card__bar-right {
    justify-self: start;
  }
}

/* =========================
   TABLET ≤ 1024px
   ========================= */
@media (max-width: 1024px) {
  #content.rs-archive .rs-card__content {
    padding: 0 22px 15px 22px;
  }

  /* Maketas */
  #content.rs-archive .rs-listings {
    padding: 0 20px;
    gap: 24px;
  }

  #content.rs-archive .rs-container {
    padding: 24px 0;
  }
  #content.rs-archive .rs-grid {
    flex-direction: column;
  }
  #content.rs-archive .rs-right {
    flex: 0 0 auto;
    max-width: none;
  }

  /* Kortos viršus */
  #content.rs-archive .rs-card__top {
    gap: 24px;
  }
  #content.rs-archive .rs-card__media {
    flex: 0 0 auto;
  }
  #content.rs-archive .rs-card__media img {
    border-radius: 36px 36px 0 0;
  }

  /* Tipografija */
  #content.rs-archive .rs-card__title {
    font: 500 24px/32px DM Sans;
  }
  #content.rs-archive .rs-card__location {
    font: 400 18px/28px DM Sans;
  }
  #content.rs-archive .rs-card__desc {
    font: 400 15px/28px DM Sans;
  }

  /* Facts */
  #content.rs-archive .rs-card .rs-card__facts li {
    padding: 0 16px;
    gap: 8px;
    font-size: 15px;
    line-height: 28px;
  }
  #content.rs-archive .rs-card .rs-card__facts .rs-ico {
    width: 22px;
    height: 22px;
  }

  /* Bottom bar */
  #content.rs-archive .rs-card__bar {
    gap: 28px;
    padding: 18px 20px 22px 20px;
  }
  #content.rs-archive .rs-card__bar-left .rs-price-main {
    font-size: 24px;
  }
  #content.rs-archive .rs-card__bar-left .rs-price-sub {
    font-size: 16px;
  }
  #content.rs-archive .rs-price-badge {
    font-size: 20px;
    padding: 6px 28px;
  }
  #content.rs-archive .rs-btn--pill {
    padding: 10px 16px;
    border-radius: 12px;
  }
}

/* =========================
   MOBILE ≤ 640px
   ========================= */
@media (max-width: 640px) {
  /* Kortos išvaizda */
  #content.rs-archive .rs-card {
    border-radius: 28px;
  }

  /* Media viršuje, auto aukštis */
  #content.rs-archive .rs-card__media,
  #content.rs-archive .rs-card__media img {
    aspect-ratio: 16/9;
  }
  #content.rs-archive .rs-card__media img {
    height: auto;
    border-radius: 28px 28px 0 0 !important;
  }

  /* Tipografija */
  #content.rs-archive .rs-card__title {
    font: 500 20px/28px DM Sans;
  }
  #content.rs-archive .rs-card__location {
    font: 400 16px/24px DM Sans;
  }
  #content.rs-archive .rs-card__desc {
    font: 400 14px/24px DM Sans;
  }

  /* Facts (lengvesni) */
  #content.rs-archive .rs-card .rs-card__facts {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 10px;
  }
  #content.rs-archive .rs-card .rs-card__facts li {
    padding: 0 10px;
    gap: 6px;
    font-size: 14.5px;
    line-height: 26px;
  }
  #content.rs-archive .rs-card .rs-card__facts .rs-ico {
    width: 20px;
    height: 20px;
  }
  #content.rs-archive .rs-card .rs-card__facts li + li::before {
    display: none;
  }

  /* Bottom bar – į stulpelį, kompaktiškas */
  #content.rs-archive .rs-card__bar {
    grid-template-columns: 1fr;
    row-gap: 10px;
    padding: 14px 16px 16px;
  }
  #content.rs-archive .rs-card__bar-right {
    justify-self: start;
  }
  #content.rs-archive .rs-card__bar-left .rs-price-main {
    font-size: 22px;
  }
  #content.rs-archive .rs-card__bar-left .rs-price-sub {
    font-size: 14px;
  }
  #content.rs-archive .rs-price-badge {
    font-size: 18px;
    padding: 6px 22px;
  }
  #content.rs-archive .rs-btn--pill {
    width: 100%;
    text-align: center;
    padding: 10px 16px;
    border-radius: 12px;
  }
}

/* =========================
   VERY SMALL ≤ 420px
   ========================= */
@media (max-width: 420px) {
  #content.rs-archive .rs-card {
    border-radius: 22px;
  }
  #content.rs-archive .rs-card__title {
    font: 500 18px/26px DM Sans;
  }
  #content.rs-archive .rs-card__location {
    font: 400 15px/22px DM Sans;
  }
  #content.rs-archive .rs-card__desc {
    font: 400 13.5px/22px DM Sans;
  }
}

/* =========================
   TABLET (≤1024px)
   ========================= */
@media (max-width: 1024px) {
  /* Media: keep natural image height */
  #content.rs-archive .rs-card__media img {
    height: auto;
  }

  /* Layout spacing */
  #content.rs-archive .rs-card__top {
    flex-direction: column;
    gap: 16px;
  }

  /* Typography (slightly tighter) */
  #content.rs-archive .rs-card__title {
    font: 600 24px/1.28 DM Sans;
    margin: 2px 0 6px;
  }
  #content.rs-archive .rs-card__location {
    font: 400 17px/1.55 DM Sans;
  }
  #content.rs-archive .rs-card__desc {
    font: 400 15px/1.65 DM Sans;
  }

  /* Facts row (stay in one line) */
  #content.rs-archive .rs-card .rs-card__facts {
    margin: 8px 0 6px;
    grid-template-columns: repeat(3, auto);
    column-gap: 18px;
    row-gap: 0;
    align-items: center;
  }
  #content.rs-archive .rs-card .rs-card__facts li {
    padding: 0;
    gap: 6px;
    font-size: 14.5px;
    line-height: 26px;
    white-space: nowrap;
  }
  #content.rs-archive .rs-card .rs-card__facts li + li::before {
    display: none;
  }
  #content.rs-archive .rs-card .rs-card__facts .rs-ico {
    width: 22px;
    height: 22px;
  }

  /* Bottom bar (compact) */
  #content.rs-archive .rs-card__bar {
    grid-template-columns: 1fr auto auto;
    gap: 16px;
    align-items: center;
    padding: 14px 16px 16px;
    border-radius: 0 0 28px 28px;
  }
  #content.rs-archive .rs-card__bar-left {
    display: grid;
    row-gap: 2px;
  }
  #content.rs-archive .rs-card__bar-left .rs-price-main {
    font-size: 24px;
  }
  #content.rs-archive .rs-card__bar-left .rs-price-sub {
    font-size: 15px;
  }
  #content.rs-archive .rs-price-badge {
    padding: 6px 14px;
    font-size: 17px;
    line-height: 24px;
    border-radius: 10px;
  }
  #content.rs-archive .rs-btn--pill {
    padding: 10px 14px;
    border-radius: 12px;
  }
}

/* =========================
   PHABLET (≤768px)
   ========================= */
@media (max-width: 768px) {
  #content.rs-archive .rs-card__top {
    gap: 12px;
  }

  /* Clamp long description */
  #content.rs-archive .rs-card__desc {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* Facts: one line, tighter */
  #content.rs-archive .rs-card .rs-card__facts {
    grid-template-columns: repeat(3, auto);
    column-gap: 14px;
  }
  #content.rs-archive .rs-card .rs-card__facts .rs-ico {
    width: 21px;
    height: 21px;
  }

  /* Bottom bar tighter */
  #content.rs-archive .rs-card__bar {
    gap: 12px;
    padding: 12px;
  }
  #content.rs-archive .rs-card__bar-left .rs-price-main {
    font-size: 22px;
  }
  #content.rs-archive .rs-card__bar-left .rs-price-sub {
    font-size: 14px;
  }
  #content.rs-archive .rs-price-badge {
    font-size: 16px;
    padding: 5px 12px;
  }
}

/* =========================
   MOBILE (≤640px)
   ========================= */
@media (max-width: 640px) {
  /* Card/spacing */
  #content.rs-archive .rs-card {
    border-radius: 24px;
  }

  /* Text sizes */
  #content.rs-archive .rs-card__title {
    font-size: 21px;
    line-height: 1.25;
  }
  #content.rs-archive .rs-card__location {
    font-size: 15px;
    line-height: 1.55;
  }
  #content.rs-archive .rs-card__desc {
    font-size: 14.5px;
    line-height: 1.6;
  }

  /* Facts: enforce single row, no wraps */
  #content.rs-archive .rs-card .rs-card__facts {
    grid-template-columns: repeat(3, auto);
    column-gap: 12px;
    row-gap: 0;
    align-items: center;
  }
  #content.rs-archive .rs-card .rs-card__facts li {
    padding: 0;
    gap: 4px;
    font-size: 13.5px;
    line-height: 22px;
    white-space: nowrap;
  }
  #content.rs-archive .rs-card .rs-card__facts .rs-ico {
    width: 20px;
    height: 20px;
  }
  #content.rs-archive .rs-card .rs-card__facts li + li::before {
    display: none;
  }

  /* Bottom bar stacks; CTA full width */
  #content.rs-archive .rs-card__bar {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px;
  }
  #content.rs-archive .rs-card__bar-right {
    justify-self: stretch;
  }
  #content.rs-archive .rs-btn--pill {
    width: 100%;
    padding: 12px 14px;
    font-size: 16px;
  }
  #content.rs-archive .rs-price-badge {
    align-self: flex-start;
  }
}

/* =========================
   SMALL PHONES (≤400px)
   ========================= */
@media (max-width: 400px) {
  #content.rs-archive .rs-card__title {
    font-size: 20px;
  }
  #content.rs-archive .rs-btn--pill {
    padding: 11px 12px;
  }
  #content.rs-archive .rs-price-badge {
    font-size: 15px;
    padding: 4px 10px;
  }
}

/* ===== Global: media image keeps natural height everywhere ===== */
#content.rs-archive .rs-card__media img {
  height: auto !important;
  width: 100%;
  object-fit: cover;
  border-top-left-radius: 36px;
}

/* ===== Tablet (≤ 900px): stack card nicely, price row + full-width CTA ===== */
@media (max-width: 900px) {
  /* top part spacing */
  #content.rs-archive .rs-card__top {
    gap: 20px;
  }

  /* bottom bar layout */
  #content.rs-archive .rs-card__bar {
    grid-template-columns: 1fr auto; /* left + mid in one row */
    grid-template-areas:
      "left mid"
      "btn  btn";
    gap: 16px;
    padding: 18px 16px 20px;
    align-items: center;
  }
  #content.rs-archive .rs-card__bar-left {
    grid-area: left;
    display: grid;
    row-gap: 6px;
  }
  #content.rs-archive .rs-card__bar-mid {
    grid-area: mid;
    justify-self: end;
  }
  #content.rs-archive .rs-card__bar-right {
    grid-area: btn;
    justify-self: stretch;
  }

  /* price typography (main on first line, weekly below) */
  #content.rs-archive .rs-card__bar-left .rs-price-main {
    font: 800 24px/1.15 DM Sans, system-ui;
    color: #252a36;
    white-space: nowrap;
  }
  #content.rs-archive .rs-card__bar-left .rs-price-sub {
    display: block; /* force next line */
    font: 500 15px/1.35 DM Sans, system-ui;
    color: #8a94a6;
    margin-top: 2px;
  }

  /* badge + button sizing */
  #content.rs-archive .rs-price-badge {
    font: 500 18px/1 DM Sans, system-ui;
    padding: 8px 14px;
    border-radius: 12px;
  }
  #content.rs-archive .rs-btn--pill {
    width: 100%;
    padding: 14px 18px;
    border-radius: 14px;
  }
}

/* ===== Mobile (≤ 640px): tighter paddings, smaller text, same layout rules ===== */
@media (max-width: 640px) {
  #content.rs-archive .rs-card {
    border-radius: 28px;
  }
  #content.rs-archive .rs-card__bar {
    gap: 14px;
    padding: 16px 14px 18px;
  }

  /* title/desc a touch smaller */
  #content.rs-archive .rs-card__title {
    font: 600 22px/30px DM Sans;
  }
  #content.rs-archive .rs-card__location {
    font: 400 16px/24px DM Sans;
  }
  #content.rs-archive .rs-card__desc {
    font: 400 15px/26px DM Sans;
  }

  /* facts: tighter */
  #content.rs-archive .rs-card .rs-card__facts {
    row-gap: 10px;
  }
  #content.rs-archive .rs-card .rs-card__facts li {
    padding: 0 10px;
    gap: 6px;
    font-size: 14.5px;
    line-height: 26px;
  }

  /* prices */
  #content.rs-archive .rs-card__bar-left .rs-price-main {
    font-size: 22px;
  }
  #content.rs-archive .rs-card__bar-left .rs-price-sub {
    font-size: 14px;
  }

  /* badge + CTA */
  #content.rs-archive .rs-price-badge {
    font-size: 16px;
    padding: 7px 12px;
  }
  #content.rs-archive .rs-btn--pill {
    padding: 13px 16px;
  }
}

/* Sidebar small cards (archive) */
#content.rs-archive .rs-card--small {
  background: #fff;
  border: 1px solid #eef1f5;
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 4px 12px rgba(22, 34, 51, 0.05);
}
#content.rs-archive .rs-map__canvas {
  height: 220px;
  border-radius: 12px;
  overflow: hidden;
  background: #f3f5f8;
  margin-bottom: 10px;
}
#content.rs-archive .rs-map__edit {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  font-weight: 600;
  color: #ff6a00;
  text-decoration: none;
  font-size: 13px;
}

/* ==========================================================================
   FILTER STRIPE + RESULTS BAR (text-style select)
   ========================================================================== */

/* Filter container backdrop */
#content.rs-archive .rs-filter_container {
  background: #fff;
}

/* Remove card styling from plugin’s filter bar inside archive */
#content.rs-archive .rs-filter_container .rs-filterbar.rs-in-archive {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}
#content.rs-archive .rs-filter_container .rsf-bar {
  padding: 0 !important;
  margin: 0 !important;
}
#content.rs-archive .rs-filter_container .rsf-form {
  max-width: var(--rsf-inner);
  margin: 0 auto;
  padding: var(--rsf-pad-y) 0 var(--rsf-pad-x);
  border-bottom: 1px solid var(--rsf-divider);
}
#content.rs-archive .rs-filter_container .rs-filterbar .rsf-bar {
  border: none;
  box-shadow: none;
  border-radius: unset;
  background: transparent;
}
#content.rs-archive .rs-filter_container .rs-filterbar .rsf-trigger {
  border: none;
  border-radius: unset;
  background: transparent;
}

@media (max-width: 640px) {
  :root {
    --rsf-pad-x: 18px;
  }

  .rs-filterbar .rsf-h > span {
    font-size: 16px !important;
  }

  .rs-filterbar details {
    z-index: unset !important;
  }
}

/* Results bar */
.rs-resultsbar {
  max-width: var(--rsf-inner, 1165px);
  margin: 0 auto;
  padding: 20px 51px 37px 51px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #6b7280;
}
.rs-resultsbar__left {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.rs-resultsbar__left strong {
  font: 800 18px/1 DM Sans, system-ui, -apple-system, "Segoe UI", Roboto, Arial,
    sans-serif;
  color: #0f172a;
}
.rs-resultsbar__left span {
  font: 400 14px/1 DM Sans, system-ui, -apple-system, "Segoe UI", Roboto, Arial,
    sans-serif;
  color: #6b7280;
}
.rs-resultsbar__right {
  display: flex;
  align-items: center;
  gap: 18px;
  white-space: nowrap;
}

/* Sort (text look + chevron) */
.rs-sort {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}
.rs-sort label {
  font: 600 14px/1 DM Sans, system-ui, -apple-system, "Segoe UI", Roboto, Arial,
    sans-serif;
  color: #6b7280;
}
.rs-sort select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border: 0;
  background: transparent;
  padding: 0 22px 0 0;
  margin: 0;
  height: auto;
  line-height: 1;
  min-width: 0;
  font: 700 18px/1 DM Sans, system-ui, -apple-system, "Segoe UI", Roboto, Arial,
    sans-serif;
  color: #0f172a;
  cursor: pointer;
}
.rs-sort::after {
  content: "";
  position: absolute;
  right: -2px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid #0f172a;
  border-bottom: 2px solid #0f172a;
  transform: translateY(-50%) rotate(45deg);
  pointer-events: none;
  opacity: 0.9;
}
.rs-sort select:focus {
  outline: none;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Map view link */
.rs-mapview {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 600 15px/1 DM Sans, system-ui, -apple-system, "Segoe UI", Roboto, Arial,
    sans-serif;
  color: #6b7280;
  text-decoration: none;
}
.rs-mapview:hover {
  color: #0f172a;
}
.rs-mapview .rs-mapview__ico {
  width: 16px;
  height: 16px;
  display: inline-block;
}

@media (max-width: 640px) {
  .rs-resultsbar {
    flex-direction: row;
    align-items: center;
    padding: 20px 18px 28px 18px;
  }
  .rs-resultsbar__left strong {
    font-size: 16px;
  }
  .rs-resultsbar__left span {
    font-size: 13px;
  }

  .rs-resultsbar__right {
    flex-direction: column-reverse;
  }

  .rs-sort select {
    font-weight: 700;
    font-size: 16px;
    padding-right: 20px;
  }
  .rs-sort::after {
    right: 0;
    width: 7px;
    height: 7px;
  }
}

/* ==========================================================================
   SINGLE LISTING — LAYOUT, GALLERY, META, CONTENT
   ========================================================================== */

.single-listing,
.single-property,
body.single {
  background: linear-gradient(180deg, #ededed 0%, #f7f7f7 100%) !important;
}

@media (max-width: 920px) {
  .page-header .entry-title,
  .site-footer .footer-inner,
  .site-header .header-inner,
  body:not([class*="elementor-page-"]) .site-main {
    max-width: 800px;
  }
}

/* Topbar */
.rs-topbar,
.rs-topbar * {
  box-sizing: border-box;
}
.rs-topbar {
  position: relative;
  left: 50%;
  margin-left: -50vw;
  width: 100vw;
  height: 58px;
  background: var(--rs-topbar-bg);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  display: grid;
  grid-template-columns: 1fr min(var(--rs-container), 100%) 1fr;
  align-items: center;
}
.rs-topbar .rs-back {
  grid-column: 2;
  justify-self: start;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: var(--rs-text);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}
@media (max-width: 640px) {
  .rs-topbar {
    height: 54px;
  }
  .rs-topbar .rs-back {
    padding: 0 14px;
  }
}
/* Single card wrapper */
.rs-single-card {
  max-width: var(--rs-container);
  margin: 18px auto 40px;
  background: var(--rs-card-bg);
  border-radius: var(--rs-card-radius);
  box-shadow: var(--rs-card-shadow);
  overflow: hidden;
}
.rs-single-card .epl-header {
  padding: var(--rs-pad) var(--rs-pad) 0;
  margin: 0 !important;
}
.rs-single-card .epl-content {
  padding: 4px var(--rs-pad) var(--rs-pad);
  margin-top: 0 !important;
  display: flow-root;
}

/* ≤ 1440px (large laptop) */
@media (max-width: 1440px) {
  .rs-single-card {
    margin: 16px auto 34px;
  }
}

/* ≤ 1280px (small laptop) */
@media (max-width: 1280px) {
  .rs-single-card {
    margin: 14px 18px 30px;
  }
  .rs-single-card .epl-header,
  .rs-single-card .epl-content {
    padding: calc(var(--rs-pad) - 6px);
  }
}

/* ≤ 1024px (tablet landscape) */
@media (max-width: 1024px) {
  .rs-single-card {
    margin: 12px 12px 28px;
  }
  .rs-single-card .epl-header,
  .rs-single-card .epl-content {
    padding: 16px;
  }
  .rs-single-card .epl-header {
    padding-bottom: 0 !important;
  }
  .rs-single-card .epl-content {
    padding-top: 0 !important;
  }
}

/* ≤ 900px (tablet) */
@media (max-width: 900px) {
  .rs-single-card {
    margin: 12px 12px 26px;
  }
  .rs-single-card .epl-header,
  .rs-single-card .epl-content {
    padding: 14px;
  }
}

/* ≤ 768px (tablet portrait / large mobile) */
@media (max-width: 768px) {
  .rs-single-card {
    margin: 10px 10px 24px;
    border-radius: calc(var(--rs-card-radius) - 4px);
  }
  .rs-single-card .epl-header,
  .rs-single-card .epl-content {
    padding: 12px;
  }
}

/* ≤ 640px (mobile) */
@media (max-width: 640px) {
  .rs-single-card {
    margin: 8px 8px 20px;
  }
  .rs-single-card .epl-header,
  .rs-single-card .epl-content {
    padding: 10px;
  }
}

/* ≤ 480px (small mobile) */
@media (max-width: 480px) {
  .rs-single-card {
    margin: 6px 6px 18px;
    border-radius: calc(var(--rs-card-radius) - 6px);
  }
  .rs-single-card .epl-header,
  .rs-single-card .epl-content {
    padding: 8px;
  }
}

/* ≤ 360px (ultra small) */
@media (max-width: 360px) {
  .rs-single-card {
    margin: 4px 4px 14px;
  }
  .rs-single-card .epl-header,
  .rs-single-card .epl-content {
    padding: 6px;
  }
}

/* Gallery */
.rs-gallery {
  position: relative;
  margin: 0 !important;
}
.rs-gallery__grid {
  height: clamp(300px, 30vw, 430px);
  display: grid;
  grid-template-columns: 2.25fr 0.625fr 0.625fr;
  grid-template-rows: 585fr 415fr;
  gap: var(--rs-gap);
  border-radius: var(--rs-outer-radius);
  overflow: hidden;
  line-height: 0;
  margin: 0 !important;
}
.rs-g-left {
  grid-column: 1/2;
  grid-row: 1/3;
}
.rs-g-tr {
  grid-column: 2/4;
  grid-row: 1/2;
}
.rs-g-br1 {
  grid-column: 2/3;
  grid-row: 2/3;
}
.rs-g-br2 {
  grid-column: 3/4;
  grid-row: 2/3;
}
.rs-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rs-g-badge {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  padding: 8px 12px;
  border-radius: 12px;
  font-weight: 600;
  color: #0f172a;
  white-space: nowrap;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}
.rs-g-badge .rs-ico {
  width: var(--rs-ico-camera);
  height: var(--rs-ico-camera);
}
@media (max-width: 900px) {
  .rs-gallery__grid {
    height: clamp(240px, 36vw, 360px);
  }
}
@media (max-width: 640px) {
  .rs-gallery__grid {
    height: auto;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .rs-g-badge {
    right: 8px;
    bottom: 8px;
  }
}

/* Hide default EPL meta section */
.epl-header .epl-section-property-details {
  display: none !important;
}

/* Meta band */
.rs-band {
  padding: 0 var(--rs-pad);
}

.rs-band__grid {
  max-width: var(--rs-container);
  margin: 0 auto;
  display: grid;
  align-items: start;
  gap: 32px;
  grid-template-columns: minmax(0, 1fr) clamp(280px, 24vw, 360px);
  grid-template-areas: "main aside";
}

.rs-main {
  grid-area: main;
  min-width: 0;
}

.rs-aside {
  grid-area: aside;
  min-width: 0;
}

.rs-aside .rs-agent {
  position: sticky;
  top: 16px;
}

@media (max-width: 1100px) {
  .rs-band__grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "aside"
      "main";
    gap: 16px;
  }

  .rs-aside {
    margin: 0;
    padding: 0;
  }

  .rs-aside .rs-agent {
    position: static;
    filter: none;
  }
}

@media (max-width: 640px) {
  .rs-aside {
    margin-left: -20px;
    margin-right: -20px;
  }
}

.rs-single-card .rs-head {
  display: flex;
  gap: 30px;
  padding: 18px 0 12px;
}

.rs-single-card .rs-head__left {
  min-width: 0;
}

.rs-single-card .rs-title {
  margin: 0 0 8px 0;
  font-family: DM Sans;
  font-weight: 700;
  font-size: 28px;
  line-height: 36px;
  color: #252a36;
}

.rs-single-card .rs-price,
.rs-single-card .rs-price * {
  font-family: DM Sans;
  font-weight: 400;
  font-size: 28px;
  line-height: 36px;
  color: #ec4e01;
}

.rs-single-card .rs-head__right {
  display: flex;
  align-items: flex-end;
  gap: 15px;
  flex-wrap: nowrap;
  flex-direction: column;
}

.rs-single-card .rs-head__right .location {
  min-width: 0;
  max-width: 46vw;
}

.rs-single-card .rs-subtitle {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: DM Sans;
  font-weight: 400;
  font-size: 20px;
  line-height: 32px;
  color: #777e90;
}

.rs-single-card .rs-head__right .share {
  display: flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
}

.rs-single-card .rs-link {
  font-family: DM Sans;
  font-weight: 400;
  font-size: 20px;
  line-height: 32px;
  color: #ec4e01;
  text-decoration: none;
}

.rs-single-card .rs-link:hover {
  text-decoration: underline;
}

.rs-single-card .rs-vsep {
  width: 1px;
  height: 26px;
  background: #d9d9d9;
  display: inline-block;
}

.rs-single-card .rs-share {
  border: 0;
  background: transparent;
  padding: 0;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
}

.rs-single-card .rs-share .rs-ico {
  width: 20px;
  height: 20px;
}

.rs-single-card .rs-divider {
  border: 0;
  border-top: 2px solid var(--rs-hairline);
  margin: 38px 0 32px;
}

.rs-single-card .rs-divider.first {
  margin: 10px 0 32px;
}

/* ≤1440 */
@media (max-width: 1440px) {
  .rs-single-card .rs-title {
    font-size: 27px;
    line-height: 34px;
  }
  .rs-single-card .rs-price {
    font-size: 27px;
    line-height: 34px;
  }
}

/* ≤1280 */
@media (max-width: 1280px) {
  .rs-single-card .rs-head {
    gap: 24px;
  }
  .rs-single-card .rs-head__right .location {
    max-width: 44vw;
  }
}

/* ≤1024 */
@media (max-width: 1024px) {
  .rs-single-card .rs-title {
    font-size: 26px;
    line-height: 34px;
  }
  .rs-single-card .rs-price {
    font-size: 26px;
    line-height: 34px;
  }
  .rs-single-card .rs-subtitle {
    font-size: 18px;
    line-height: 30px;
  }
  .rs-single-card .rs-head__right .location {
    max-width: 42vw;
  }
}

/* ≤900 */
@media (max-width: 900px) {
  .rs-single-card .rs-head {
    gap: 20px;
  }
  .rs-single-card .rs-subtitle {
    font-size: 17px;
    line-height: 28px;
  }
}

/* ≤768 */
@media (max-width: 768px) {
  .rs-single-card .rs-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .rs-single-card .rs-head__right {
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }
  .rs-single-card .rs-head__right .location {
    max-width: 65%;
  }
  .rs-single-card .rs-subtitle {
    font-size: 16px;
    line-height: 26px;
  }
}

/* ≤640 */
@media (max-width: 640px) {
  .rs-single-card .rs-title {
    font-size: 24px;
    line-height: 32px;
  }
  .rs-single-card .rs-price {
    font-size: 24px;
    line-height: 32px;
  }
  .rs-single-card .rs-head__right .location {
    max-width: 62%;
  }
  .rs-single-card .rs-link {
    font-size: 18px;
    line-height: 28px;
  }
}

/* ≤480 */
@media (max-width: 480px) {
  .rs-single-card .rs-head {
    gap: 10px;
  }
  .rs-single-card .rs-title {
    font-size: 22px;
    line-height: 30px;
  }
  .rs-single-card .rs-price {
    font-size: 22px;
    line-height: 30px;
  }
  .rs-single-card .rs-subtitle {
    max-width: 100%;
    font-size: 15px;
    line-height: 24px;
  }
  .rs-single-card .rs-head__right {
    gap: 12px;
    align-items: start;
    flex-direction: column;
  }
  .rs-single-card .rs-head__right .location {
    max-width: 60%;
  }
  .rs-single-card .rs-share .rs-ico {
    width: 18px;
    height: 18px;
  }
}

/* ≤360 */
@media (max-width: 360px) {
  .rs-single-card .rs-title {
    font-size: 20px;
    line-height: 28px;
  }
  .rs-single-card .rs-price {
    font-size: 20px;
    line-height: 28px;
  }
  .rs-single-card .rs-subtitle {
    font-size: 14px;
    line-height: 22px;
  }
  .rs-single-card .rs-head__right .location {
    max-width: 58%;
  }
  .rs-single-card .rs-link {
    font-size: 16px;
    line-height: 24px;
  }
}

/* Details grid (key values) */
.rs-single-card .rs-section {
  margin-bottom: 22px;
}
.rs-single-card .rs-h3 {
  margin: 0 0 25px;
  font-family: DM Sans;
  font-style: normal;
  font-weight: 700;
  font-size: 24px;
  line-height: 31px;
  color: #252a36;
}
.rs-single-card .rs-kv {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 28px;
}
.rs-single-card .rs-kv__row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-width: 0;
}
.rs-single-card .rs-k {
  flex: 0 0 150px;
  color: #6b7280;
  font: 400 14px/1.2 DM Sans, system-ui;
}
.rs-single-card .rs-v {
  font: 700 14px/1.2 DM Sans, system-ui;
  color: #0f172a;
  white-space: nowrap;
}
@media (max-width: 900px) {
  .rs-single-card .rs-kv {
    grid-template-columns: 1fr;
  }
  .rs-single-card .rs-k {
    flex-basis: 130px;
  }
}
@media (max-width: 520px) {
  .rs-single-card .rs-k {
    flex-basis: 110px;
    font-size: 13px;
  }
  .rs-single-card .rs-v {
    font-size: 13px;
  }
}

/* ===== Key features layout (icons left, bullets right) ===== */
.rs-single-card .rs-feats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 100px;
}

/* Icon tiles = 3 equal columns */
.rs-single-card .rs-feats .rs-icons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-items: center;
  align-items: stretch;
  gap: 0;
  margin: 0;
  padding: 18px 0;
  list-style: none;
}

.rs-single-card .rs-feats .rs-icons li {
  display: block;
  text-align: center;
  padding: 18px 28px;
  font-family: DM Sans;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 31px;
  color: #252a36;
  white-space: nowrap;
}

.rs-single-card .rs-feats .rs-icons li .rs-ico {
  display: block;
  width: 42px;
  height: 42px;
  margin: 0 auto 12px auto;
}

.rs-single-card .rs-feats .rs-icons li span {
  margin-left: 6px;
  font: inherit;
  color: #0f172a;
}

.rs-single-card .rs-feats .rs-icons li span sup {
  font-size: 0.6em;
  vertical-align: baseline;
  position: relative;
  top: -0.35em;
}

.rs-single-card .rs-feats .rs-icons li:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 66px;
  background: linear-gradient(
    to bottom,
    rgba(15, 23, 42, 0) 0%,
    rgba(15, 23, 42, 0.16) 20%,
    rgba(15, 23, 42, 0.16) 80%,
    rgba(15, 23, 42, 0) 100%
  );
}

.rs-single-card .rs-feats .rs-icons {
  align-items: stretch;
}
.rs-single-card .rs-feats .rs-icons li {
  height: 100%;
}

.rs-single-card .rs-feats .rs-icons li {
  position: relative;
}
.rs-single-card .rs-feats .rs-icons li:not(:last-child)::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 1px;
  background: linear-gradient(
    to bottom,
    rgba(15, 23, 42, 0) 0%,
    rgba(15, 23, 42, 0.18) 18%,
    rgba(15, 23, 42, 0.18) 82%,
    rgba(15, 23, 42, 0) 100%
  );
  opacity: 0.9;
}

@media (max-width: 560px) {
  .rs-single-card .rs-feats .rs-icons li:not(:last-child)::after {
    bottom: 6px;
    opacity: 0.85;
  }
}

/* Bullets on the right – single column like screenshot */
.rs-single-card .rs-bullets {
  margin: 10px 0 0;
  padding-left: 18px;
  color: #0f172a;
  column-count: 1; /* was 2 */
  column-gap: 32px;
}

/* Section heading spacing */
.rs-single-card .rs-h3 {
  margin: 0 0 18px;
  font-family: "DM Sans";
  font-weight: 700;
  font-size: 24px;
  line-height: 31px;
  color: #252a36;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .rs-single-card .rs-feats {
    gap: 16px;
  }
  .rs-single-card .rs-feats .rs-icons li {
    padding: 16px 20px;
    font-size: 15px;
  }
  .rs-single-card .rs-feats .rs-icons li .rs-ico {
    width: 38px;
    height: 38px;
  }
  .rs-single-card .rs-feats .rs-icons li:not(:last-child)::after {
    height: 58px;
  }
}

@media (max-width: 560px) {
  .rs-single-card .rs-feats {
    flex-direction: column;
    align-items: start;
  }

  .rs-single-card .rs-feats .rs-icons {
    padding: 12px 0;
  }
  .rs-single-card .rs-feats .rs-icons li {
    padding: 12px 10px 12px 0;
    font-size: 14px;
  }
  .rs-single-card .rs-feats .rs-icons li .rs-ico {
    width: 32px;
    height: 32px;
    margin-bottom: 10px;
  }
  .rs-single-card .rs-feats .rs-icons li:not(:last-child)::after {
    height: 46px;
  }
}

/* Agent card */
.rs-aside .rs-agent {
  position: sticky;
  top: 16px;
  background: #fff;
  border-bottom-left-radius: 45px;
  border-bottom-right-radius: 45px;
  padding: 16px 21px 57px 26px;
  filter: drop-shadow(20px 20px 50px rgba(0, 0, 0, 0.25));
}
.rs-agent__label {
  font-family: DM Sans;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #777e90;
  text-transform: uppercase;
}
.rs-agent__name {
  font-family: DM Sans;
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 28px;
  margin: 6px 0 16px;
  color: #0f172a;
}
.rs-btn {
  display: block;
  width: 100%;
  text-align: center;
  border-radius: 12px;
  padding: 11px 12px;
  font-weight: 800;
  text-decoration: none;
  border: 0;
}
.rs-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.rs-buttons a {
  text-decoration: none;
}
.rs-btn--primary {
  background: var(--rs-accent);
  color: #fff;
}
.rs-btn--primary:hover {
  filter: brightness(0.95);
}
.rs-btn--ghost {
  background: #1f2937;
  color: #fff;
}
.rs-btn--ghost:hover {
  filter: brightness(1.05);
}

@media (max-width: 1100px) {
  .rs-aside .rs-agent {
    position: static;
  }
}

/* Description */
.rs-desc__body p {
  margin: 0 0 12px;
  font-family: DM Sans;
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 21px;
  color: #252a36;
}

.rs-desc__body p:last-child {
  margin-bottom: 0;
}

/* Address + Map */
.rs-address__row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
}
.rs-address__title {
  font: 700 24px/31px DM Sans;
  color: #252a36;
}
.rs-map {
  margin-top: 12px;
  border: 1px solid #e9edf2;
  border-radius: 14px;
  overflow: hidden;
  background: #f6f7f9;
}
.rs-map iframe {
  display: block;
  width: 100%;
  height: clamp(320px, 48vh, 520px);
  border: 0;
}
@media (max-width: 900px) {
  .rs-address__title {
    font-size: 20px;
  }
}
@media (max-width: 640px) {
  .rs-address__title {
    font-size: 18px;
  }
}

/* Dividers + WP auto <br> fixes */
.rs-divider {
  border: 0;
  border-top: 2px solid #d9d9d9;
  margin: 12px 0 18px;
}
.rs-band p:empty {
  display: none !important;
}
.rs-head > p,
.rs-actions > p,
.rs-kv__row > p,
.rs-address__row > p,
.rs-agent > p,
.rs-band__grid > p,
.rs-main > p,
.rs-aside > p {
  display: contents !important;
  margin: 0 !important;
  padding: 0 !important;
}
.rs-head > br,
.rs-actions > br,
.rs-kv__row > br,
.rs-address__row > br,
.rs-agent > br,
.rs-band__grid > br,
.rs-main > br,
.rs-aside > br {
  display: none !important;
}

/* Full-bleed refinements */
.rs-single-card .rs-band__full,
.rs-single-card .rs-divider--full {
  margin-left: -24px;
  margin-right: -24px;
}
@media (max-width: 1024px) {
  .rs-single-card .rs-band__full,
  .rs-single-card .rs-divider--full {
    margin-left: -16px;
    margin-right: -16px;
  }
}
.rs-single-card .rs-section.rs-desc {
  padding: 0 24px;
}
.rs-single-card .rs-section.rs-desc .rs-h3 {
  font: 700 24px/31px DM Sans;
  color: #252a36;
}
.rs-single-card .rs-section.rs-desc .rs-desc__body p {
  font: 500 16px/21px DM Sans;
  color: #252a36;
}
@media (max-width: 1024px) {
  .rs-single-card .rs-section.rs-desc {
    padding: 4px 16px 0;
  }
}
.rs-single-card .rs-address__row {
  padding: 0px 24px;
  gap: 10px;
  display: flex;
  align-items: center;
}
.rs-single-card .rs-map {
  margin: 12px -25px 0;
  border: 0;
  border-radius: 0;
  background: #f6f7f9;
}
@media (max-width: 1024px) {
  .rs-single-card .rs-map {
    margin: 12px -16px 0;
  }
}
.rs-single-card .rs-map iframe {
  display: block;
  width: 100%;
  height: clamp(320px, 48vh, 520px);
  border: 0;
}
.rs-single-card .rs-divider--full {
  border: 0;
  border-top: 2px solid #d9d9d9;
  margin: 30px -24px 22px;
}
@media (max-width: 1024px) {
  .rs-single-card .rs-divider--full {
    margin: 14px -16px 18px;
  }
}

/* ==========================================================================
   SHARED COMPONENTS — TABS, FAQ, FEATURED, PAGINATION, UTILITIES
   ========================================================================== */

/* Tabs */
.rsf-tab {
  appearance: none;
  background: transparent !important;
  border: 0;
  cursor: pointer;
  padding: 8px 0 6px;
  font-weight: 600;
  font-size: 16px;
  color: #7c8a9a;
  position: relative;
  box-shadow: none !important;
  transition: color 0.15s ease;
}
.rsf-tab:hover,
.rsf-tab:focus,
.rsf-tab:active {
  color: var(--rs-accent-600);
  font-weight: 700;
  background: transparent !important;
}
.rsf-tab.is-active {
  color: #0f172a;
  font-weight: 700;
}
.rsf-tab.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: #0f172a;
  border-radius: 2px;
}

/* FAQ */
#faq-adv,
#faq-find {
  display: none;
}
.faq-visible {
  display: block !important;
}
.faq-hidden {
  display: none !important;
}
.elementor-icon-list-items .elementor-icon-list-item {
  border-bottom: none !important;
}
.elementor-icon-list-items a.is-active {
  color: #111 !important;
  text-decoration: none !important;
}
.elementor-icon-list-items a.is-active .elementor-icon-list-text {
  font-weight: 600;
}
:is(#faq-gen, #faq-adv, #faq-find) .elementor-accordion-item {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}
:is(#faq-gen, #faq-adv, #faq-find) .elementor-tab-title {
  padding: 16px 0 20px;
  margin: 0;
  border: 0 !important;
  background: transparent !important;
  display: flex;
  align-items: center;
  color: #1a1a1a;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 500;
  cursor: pointer;
}
:is(#faq-gen, #faq-adv, #faq-find) .elementor-tab-title::after {
  content: "";
  width: 9px;
  height: 9px;
  border-right: 2px solid #9aa1ad;
  border-bottom: 2px solid #9aa1ad;
  transform: rotate(45deg);
  margin-left: auto;
  transition: 0.2s;
  opacity: 0.9;
}
:is(#faq-gen, #faq-adv, #faq-find) .elementor-tab-title.elementor-active {
  color: #111;
  font-weight: 600;
}
:is(#faq-gen, #faq-adv, #faq-find)
  .elementor-tab-title.elementor-active::after {
  transform: rotate(-135deg);
  opacity: 1;
}
:is(#faq-gen, #faq-adv, #faq-find) .elementor-tab-content {
  padding: 16px 0 28px;
  margin: 0;
  border: 0 !important;
  color: #555;
  font-size: 15px;
  line-height: 1.75;
}
@media (max-width: 767px) {
  :is(#faq-gen, #faq-adv, #faq-find) .elementor-tab-title {
    padding: 14px 0 18px;
  }
  :is(#faq-gen, #faq-adv, #faq-find)
    .elementor-accordion-item:not(:first-child)
    .elementor-tab-title {
    padding-top: 22px;
  }
  :is(#faq-gen, #faq-adv, #faq-find) .elementor-tab-content {
    padding: 14px 0 24px;
  }
}

/* Featured header + list */
.rs-featured {
  --accent: #ff6a00;
  --ink: #0f172a;
  --muted: #7c8a9a;
  --hair: #e9eef3;
  --pillbg: #ffe7d6;
  --pad-x: 26px;
  --gap: 24px;
  --radius: 22px;
  font-family: DM Sans, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu,
    "Helvetica Neue", Arial, sans-serif;
}
.rs-featured__head {
  margin: 0 0 50px;
  text-align: center;
  padding: 40px var(--pad-x) 0;
}
.rs-chip {
  display: inline-block;
  background: #ffe7d6;
  color: #ec4e01;
  font-weight: 700;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  font-size: 12.5px;
  line-height: 1;
  margin-bottom: 10px;
}
.rs-featured .rs-chip {
  background: var(--pillbg);
  color: var(--accent);
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
  padding: 0.46rem 0.82rem;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(255, 106, 0, 0.12);
  margin: 0 0 10px;
}
.rs-featured__title {
  margin: 0 0 6px;
  color: var(--ink);
  font-weight: 800;
  font-size: 36px;
  line-height: 1.2;
  letter-spacing: 0.2px;
}
.rs-featured__sub {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}
.rs-featured .rs-filters {
  margin: 0;
}
.rs-featured .rs-filters__row {
  padding: 0 var(--pad-x) 50px 14px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.rs-featured .rs-filters__tabs {
  flex: 1 1 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}
.rs-featured .rsf-tab {
  font-size: 15px;
}
.rs-featured .rsf-tab:hover,
.rs-featured .rsf-tab:focus {
  color: #26303b;
  font-weight: 700;
}
.rs-featured .rsf-tab.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 2px;
  background: #0f172a;
  border-radius: 2px;
}
.rs-featured .rs-filters__all {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
}
.rs-featured .rsf-arrow-img {
  width: 14px;
  height: 14px;
  display: inline-block;
}
.rs-featured .rs-list {
  padding: 0 var(--pad-x);
}
.rs-featured .rs-list__grid {
  gap: var(--gap);
}
.rs-featured .rs-list__card {
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(16, 24, 40, 0.1);
  border: 1px solid #e9eef3;
}
.rs-featured .rs-list__img {
  border-radius: var(--radius) var(--radius) 0 0;
}
.rs-featured .rs-list__price {
  background: var(--pillbg);
  color: var(--accent);
  font-weight: 700;
  font-size: 13px;
  padding: 0.52rem 0.84rem;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(255, 106, 0, 0.12);
}
.rs-featured .rs-list__loc {
  color: #777e90;
}
.rs-featured .rs-list__desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.8em;
}
.rs-featured .rs-list__meta {
  border-top: 1px solid var(--hair);
}
@media (max-width: 900px) {
  .rs-featured__title {
    font-size: 30px;
  }
}
@media (max-width: 640px) {
  .rs-featured__head {
    padding: 14px var(--pad-x) 0;
  }
  .rs-featured__title {
    font-size: 24px;
  }
  .rs-featured__sub {
    font-size: 14px;
    margin-bottom: 14px;
  }
  .rs-featured .rs-filters__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding-bottom: 12px;
  }
  .rs-featured .rs-filters__all {
    margin-top: 2px;
  }
  .rs-featured .rs-list {
    padding: 20px var(--pad-x);
  }
}

/* FEATURED LIST CARD — tablet → mobile small (targets given HTML) */

/* ≤1024px */
@media (max-width: 1024px) {
  .rs-list__card {
    border-radius: 20px;
    box-shadow: 0 12px 26px rgba(16, 24, 40, 0.1);
    overflow: hidden;
  }
  .rs-list__img {
    display: block;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
  }
  .rs-list__body {
    padding: 16px 18px 14px !important;
  }

  .rs-list__head {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
  }
  .rs-list__title {
    margin: 0;
    font: 700 20px/1.3 DM Sans;
    color: #1f2937;
  }
  .rs-list__title a {
    color: inherit;
    text-decoration: none;
  }
  .rs-list__price {
    background: #ffe8dd;
    color: #ec4e01;
    font-weight: 700;
    font-size: 12.5px;
    padding: 0.46rem 0.78rem;
    border-radius: 999px;
    white-space: nowrap;
  }

  .rs-list__loc {
    font-family: DM Sans;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 31px;
    color: #777e90;
    margin: 2px 0 0;
  }
  .rs-list__desc {
    font: 400 14.5px/1.6 DM Sans;
    margin: 8px 0 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .rs-list__meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    border-top: 1px solid #e9eef3;
    padding: 12px 0 14px;
  }
  .rs-list__meta li {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 44px;
    border: 1px solid #e9edf2;
    border-radius: 12px;
    background: #fff;
    font: 600 14px/1 DM Sans;
    color: #252a36;
    white-space: nowrap;
  }
  .rs-list__meta .rs-ico {
    width: 20px;
    height: 20px;
  }
}

/* ≤768px */
@media (max-width: 768px) {
  .rs-list__body {
    padding: 14px 16px 12px !important;
  }
  .rs-list__title {
    font-size: 19px;
  }
  .rs-list__desc {
    font-size: 14px;
  }
  .rs-list__meta {
    gap: 10px;
  }
  .rs-list__meta li {
    height: 42px;
    font-size: 13.5px;
    gap: 6px;
  }
  .rs-list__meta .rs-ico {
    width: 19px;
    height: 19px;
  }
}

/* ≤640px */
@media (max-width: 640px) {
  .rs-list__card {
    border-radius: 16px;
  }
  .rs-list__img {
    border-radius: 16px 16px 0 0;
  }

  .rs-list__title {
    font-size: 18px;
    line-height: 1.28;
  }
  .rs-list__price {
    font-size: 12px;
    padding: 0.42rem 0.66rem;
  }
  .rs-list__desc {
    font-size: 13.5px;
    line-height: 1.55;
  }

  .rs-list__meta {
    gap: 8px;
    padding: 10px 0 12px;
  }
  .rs-list__meta li {
    height: 40px;
    font-size: 13px;
    border-radius: 11px;
  }
  .rs-list__meta .rs-ico {
    width: 18px;
    height: 18px;
  }
}

/* ≤420px */
@media (max-width: 420px) {
  .rs-list__title {
    font-size: 17px;
  }
  .rs-list__desc {
    font-size: 13px;
  }
  .rs-list__price {
    font-size: 11.5px;
    padding: 0.38rem 0.6rem;
  }
  .rs-list__meta li {
    height: 38px;
    font-size: 12.5px;
  }
}

@media (max-width: 380px) {
  .rs-list__body {
    padding: 12px 12px 10px !important;
  }

  .rs-list__meta {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    padding: 8px 0 10px;
  }

  .rs-list__meta li {
    padding: 8px 4px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    font-size: 12px !important;
    line-height: 18px;
    white-space: nowrap;
  }

  .rs-list__meta .rs-ico {
    width: 16px;
    height: 16px;
  }

  .rs-list__title {
    font-size: 17px;
  }
  .rs-list__desc {
    font-size: 13px;
    line-height: 1.5;
  }
  .rs-list__price {
    font-size: 11.5px;
    padding: 0.34rem 0.54rem;
  }
}

/* Pagination */
.rs-pagination {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 6px 0 0;
}
.rs-pagination a,
.rs-pagination span {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 8px 12px;
  text-decoration: none;
  color: #0f172a;
}
.rs-pagination .current {
  background: #0f172a;
  color: #fff;
  border-color: #0f172a;
}

/* Sidebar promo & testimonials */
/* =========================================
   AD CARD (sidebar) — refined to match mock
   ========================================= */
.rs-adv {
  background: #ffffff;
  border-radius: 38px;
  padding: 24px 36px 31px 28px;
  box-shadow: 0 12px 28px rgba(16, 24, 40, 0.08);
}

.rs-adv__h {
  margin: 0;
  font-family: DM Sans;
  font-style: normal;
  font-weight: 700;
  font-size: 32px;
  line-height: 32px;
  color: #252a36;
}

.rs-adv__sub {
  margin: 0 0 18px;
  font-family: DM Sans;
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  line-height: 32px;
  color: #777e90;
}

/* Bullet list with orange check */
.rs-adv__features {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 15px;
}
.rs-adv__features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: DM Sans;
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 22px;
  color: #252a36;
}
.rs-adv__features li::before {
  content: "";
  flex: 0 0 15px;
  width: 100%;
  height: 100%;
  background: center/contain no-repeat;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTEiIHZpZXdCb3g9IjAgMCAxNSAxMSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xNC42MDg5IDIuMzAyNTNMNi4zODkzMiAxMC42MDQ1QzYuMTI3NjggMTAuODY4OCA1Ljc4NzcyIDExIDUuNDQ1OTggMTFDNS4xMDI0NiAxMSA0Ljc2MjUgMTAuODY4OCA0LjUwMDg1IDEwLjYwNDVMMC4zOTExMzIgNi40NTM1MUMtMC4xMzAzNzcgNS45MjY3OCAtMC4xMzAzNzcgNS4wNzI4NSAwLjM5MTEzMiA0LjU0NjExQzAuOTEyNjQgNC4wMTkzNyAxLjc1NjMxIDQuMDE5MzcgMi4yNzc4MiA0LjU0NjExTDUuNDQ1OTggNy43NDQyOUwxMi43MjA0IDAuMzk1MDU0QzEzLjI0MTkgLTAuMTMxNjg1IDE0LjA4NzQgLTAuMTMxNjg1IDE0LjYwODkgMC4zOTUwNTRDMTUuMTMwNCAwLjkyMTc5MiAxNS4xMzA0IDEuNzc1NzIgMTQuNjA4OSAyLjMwMjUzWiIgZmlsbD0iI0VDNEUwMSIvPgo8L3N2Zz4K");
}

/* CTA buttons */
.rs-adv__cta {
  display: flex;
  gap: 12px;
}

.rs-btn--lg {
  font-family: DM Sans;
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 21px;
  padding: 14px 11px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.06s ease, box-shadow 0.2s ease, filter 0.2s ease,
    background-color 0.2s ease, color 0.2s ease;
}

/* Primary (orange) */
.rs-btn--primary {
  background: #ff6a00;
  color: #f8f9fb;
  box-shadow: 0 14px 24px rgba(255, 106, 0, 0.22);
}

.rs-btn--primary:hover {
  filter: brightness(0.98);
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(255, 106, 0, 0.26);
}

.rs-btn--primary:active {
  transform: translateY(0);
  box-shadow: 0 10px 18px rgba(255, 106, 0, 0.2);
}

/* Secondary (soft outline) */
.rs-btn--outline {
  background: #ffffff;
  border: 2px solid #e6e8ec;
  border-radius: 15px;
  color: #252a36;
  box-shadow: inset 0 0 0 0 transparent;
}

.rs-btn--outline:hover {
  background: #f9fafb;
}

@media (max-width: 640px) {
  .rs-adv {
    padding: 18px;
  }
  .rs-adv__h {
    font-size: 24px;
  }
  .rs-adv__sub {
    font-size: 15px;
  }
  .rs-adv__features li {
    font-size: 15px;
  }
}

/* ================================
   RS Testimonials — SIDEBAR ONLY
   - photo after .t-meta, before .t-text
   - smooth, fluid sizes with clamp()
   - does not affect homepage block
   ================================= */

.rs-tst.rs-tst--sidebar {
  background: var(--bg);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 34px 43px;
  box-shadow: 0 8px 20px rgba(3, 7, 18, 0.35);
}

/* Eyebrow */
.rs-tst.rs-tst--sidebar .t-head {
  display: inline-block;
  padding: 18px 22px;
  border-radius: 12px;
  background: var(--pill);
  color: #e7edf3;
  margin-bottom: 16px;
  font-family: DM Sans, system-ui;
  font-weight: 500;
  font-size: clamp(20px, 3.4vw, 28px);
  line-height: 1.1;
}

/* We turn the whole card into a one-column grid
   and make .t-body behave like it's not there,
   so its children (.t-name, .t-meta, .t-text) take
   part in the parent grid — allowing us to place
   .t-photo between .t-meta and .t-text. */
.rs-tst.rs-tst--sidebar .t-card {
  display: grid;
  grid-template-areas:
    "name"
    "meta"
    "photo"
    "text"
    "nav";
  row-gap: 14px;
}
.rs-tst.rs-tst--sidebar .t-body {
  display: contents;
}

/* Name & meta */
.rs-tst.rs-tst--sidebar .t-name {
  grid-area: name;
  margin: 0;
  font-family: DM Sans, system-ui;
  font-weight: 800;
  font-size: clamp(22px, 6vw, 32px);
  line-height: 1.25;
  color: #fff;
}
.rs-tst.rs-tst--sidebar .t-meta {
  grid-area: meta;
  margin: 0 0 6px 0;
  font-family: DM Sans, system-ui;
  font-weight: 500;
  font-size: clamp(13px, 2.8vw, 16px);
  line-height: 1.35;
  color: var(--muted);
}

/* Photo sits between meta and text */
.rs-tst.rs-tst--sidebar .t-photo {
  grid-area: photo;
  width: clamp(220px, 72%, 360px);
  aspect-ratio: 16 / 11;
  height: auto;
  border-radius: 16px;
  object-fit: cover;
  display: block;
}

/* Text – slightly smaller + comfortable line length */
.rs-tst.rs-tst--sidebar .t-text {
  grid-area: text;
  margin: 6px 0 0 0;
  font-family: DM Sans, system-ui;
  font-weight: 400;
  font-size: clamp(14px, 2.6vw, 16px);
  line-height: clamp(24px, 4.2vw, 30px);
  color: #eef3f7;
  max-width: 36ch;
}

/* Nav */
.rs-tst.rs-tst--sidebar .t-nav {
  grid-area: nav;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  opacity: 0.95;
  font-family: DM Sans, system-ui;
  font-weight: 600;
  font-size: clamp(13px, 2.6vw, 15px);
}
.rs-tst.rs-tst--sidebar .t-prev {
  color: #7f8a8f;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.rs-tst.rs-tst--sidebar .t-next {
  color: var(--accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.rs-tst.rs-tst--sidebar .t-ico {
  width: 18px;
  height: auto;
  display: inline-block;
}

/* Tablet tweaks — keep hierarchy, soften spacing */
@media (max-width: 820px) {
  .rs-tst.rs-tst--sidebar {
    padding: 26px 28px;
  }
  .rs-tst.rs-tst--sidebar .t-photo {
    width: clamp(200px, 80%, 320px);
  }
  .rs-tst.rs-tst--sidebar .t-text {
    max-width: 42ch;
  }
}

/* Mobile — everything scales smoothly, no sudden shrink */
@media (max-width: 440px) {
  .rs-tst.rs-tst--sidebar {
    padding: 18px;
    border-radius: 20px;
  }
  .rs-tst.rs-tst--sidebar .t-head {
    padding: 12px 16px;
  }
  .rs-tst.rs-tst--sidebar .t-photo {
    width: 100%;
  }
  .rs-tst.rs-tst--sidebar .t-text {
    max-width: 100%;
  }
}

/* --------------------------------
   RESPONSIVE TYPOGRAPHY TWEAKS
----------------------------------- */
@media (max-width: 980px) {
  .rs-title {
    font-size: 26px;
  }
  .rs-price,
  .rs-price * {
    font-size: 24px !important;
  }
}
@media (max-width: 720px) {
  .rs-title {
    font-size: 24px;
  }
  .rs-price,
  .rs-price * {
    font-size: 22px !important;
  }
  .rs-h3 {
    font-size: 17px;
  }
  .rs-icons li {
    font-size: 14px;
  }
}
@media (max-width: 520px) {
  .rs-actions {
    gap: 12px;
  }
  .rs-share {
    transform: translateY(0);
  }
}

/* =========================================
   FILTER BAR — MOBILE/TABLET POLISH
   (extends your current rules; ≤1024px only)
   ========================================= */

@media (max-width: 1024px) {
  /* Wrapper (kortelė) – vienodi tarpai ir perėjimai */
  #content.rs-archive .rs-filter_container .rs-filterbar .rsf-bar {
    gap: 14px;
    padding: 18px 18px 12px;
    overflow: visible; /* leisk dropdown'ams išeiti */
  }
  #content.rs-archive
    .rs-filter_container
    .rs-filterbar
    .rsf-bar
    > *:not(form):not(.rs-resultsbar):not(.rsf-submit):not(.rsf-panel) {
    padding: 14px 16px;
    min-height: 56px;
    border-radius: 14px;
    border: 1px solid #e9edf2;
    overflow: visible;
  }
  #content.rs-archive
    .rs-filter_container
    .rs-filterbar
    .rsf-bar
    > *:not(form):not(.rs-resultsbar):not(.rsf-submit):not(.rsf-panel):hover {
    box-shadow: 0 12px 26px rgba(16, 24, 40, 0.09);
    border-color: #e5e9f1;
    transform: translateY(-1px);
  }

  /* kai kortelė išskleista – virš kitų */
  #content.rs-archive
    .rs-filter_container
    .rs-filterbar
    .rsf-bar
    > *:has([aria-expanded="true"]) {
    z-index: 3;
  }

  /* Vidinė eilutė: ikona + pavadinimas + vertė dešinėje */
  #content.rs-archive
    .rs-filter_container
    .rs-filterbar
    .rsf-bar
    > *:not(form):not(.rs-resultsbar):not(.rsf-submit):not(.rsf-panel)
    > * {
    align-items: center;
    gap: 10px;
    width: 100%;
  }

  /* Ikonos (svg/img) */
  #content.rs-archive
    .rs-filter_container
    .rs-filterbar
    .rsf-bar
    > *
    :is(svg, img, i, .dashicons) {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    opacity: 0.9;
  }

  /* Pavadinimas (label) */
  #content.rs-archive
    .rs-filter_container
    .rs-filterbar
    .rsf-bar
    > *
    .rsf-label,
  #content.rs-archive .rs-filter_container .rs-filterbar .rsf-bar > * legend {
    margin-right: 8px;
    white-space: nowrap;
  }

  /* Reikšmė (value) – į dešinę, viena eilutė */
  #content.rs-archive
    .rs-filter_container
    .rs-filterbar
    .rsf-bar
    > *
    .rsf-value,
  #content.rs-archive .rs-filter_container .rs-filterbar .rsf-bar > * small {
    max-width: 60%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  /* Neutralizuojam pačius trigger’ius (be oranžinių fonų) */
  #content.rs-archive
    .rs-filter_container
    .rs-filterbar
    .rsf-bar
    > *
    :is(.rsf-trigger, .toggle, button[aria-expanded]) {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    color: inherit !important;
    width: auto;
    height: auto;
  }

  /* Išskleista būklė – švelnesnė riba/šešėlis */
  #content.rs-archive
    .rs-filter_container
    .rs-filterbar
    .rsf-bar
    > *:has([aria-expanded="true"]) {
    border-color: #dde5ee;
    box-shadow: 0 14px 28px rgba(16, 24, 40, 0.1);
  }

  /* Panelės (inputs) – G R Į Ž T A M į normalų srautą */
  #content.rs-archive .rs-filter_container .rs-filterbar .rsf-panel {
    margin: 8px 0 0;
    padding: 14px;
    border: 1px solid #edf1f5;
    border-radius: 14px;
    background: #fff;

    /* kritinis pataisymas: jokio absolute */
    position: static;
    z-index: auto;
    max-height: none;
    overflow: visible;
    box-shadow: none;
  }

  /* jeigu valdymas per aria-expanded — užtikrinam rodymą */
  #content.rs-archive
    .rs-filter_container
    .rs-filterbar
    .rsf-trigger[aria-expanded="true"]
    + .rsf-panel,
  #content.rs-archive
    .rs-filter_container
    .rs-filterbar
    .rsf-trigger[aria-expanded="true"]
    ~ .rsf-panel {
    display: block !important;
  }

  #content.rs-archive .rs-filter_container .rs-filterbar .rsf-panel input,
  #content.rs-archive .rs-filter_container .rs-filterbar .rsf-panel select {
    height: 46px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    padding: 0 12px;
    width: 100%;
  }
}

/* Telefonams – tarpai ir pilno pločio submit paliekamas */
@media (max-width: 640px) {
  #content.rs-archive .rs-filter_container .rs-filterbar .rsf-bar {
    gap: 12px;
    padding: 14px 18px 10px !important;
    overflow: visible;
  }
  #content.rs-archive
    .rs-filter_container
    .rs-filterbar
    .rsf-bar
    > *:not(form):not(.rs-resultsbar):not(.rsf-submit):not(.rsf-panel) {
    padding: 13px 14px;
    min-height: 52px;
    border-radius: 12px;
    overflow: visible;
  }

  #content.rs-archive
    .rs-filter_container
    .rsf-form
    :is(.rsf-submit, button[type="submit"], input[type="submit"]) {
    width: 100%;
    margin-top: 10px;
    height: 54px;
    border-radius: 14px;
    border: 0;
    background: #ff6a00;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }
  #content.rs-archive
    .rs-filter_container
    .rsf-form
    :is(.rsf-submit, button[type="submit"], input[type="submit"]):hover {
    filter: brightness(0.98);
  }
}

.hs-hero{
  --hs-primary:#ff6a2a;
  --hs-primary-hover:#e65d20;
  --hs-primary-pressed:#cc4f18;
  --hs-ring-dark:rgba(15,23,42,.08);
  width:100%;
  max-width:100%;
  padding:16px;
  background:#fff;
  border-radius:24px;
  border:1px solid #e6eaf0;
  box-shadow:0 22px 70px rgba(15,23,42,.08);
  -webkit-tap-highlight-color:transparent;
  box-sizing:border-box
}
.hs-bar{display:grid;grid-template-columns:1fr auto auto;gap:14px;align-items:stretch;width:100%;min-width:0}
@media(max-width:720px){.hs-bar{grid-template-columns:1fr;gap:12px}}

.hs-field{position:relative;min-width:0;box-sizing:border-box}
.hs-trigger{height:68px;width:100%;min-width:0;border:1px solid #e6eaf0;background:#fff;border-radius:18px;padding:0 18px;display:flex;align-items:center;gap:12px;cursor:pointer;transition:border-color .15s ease,background-color .15s ease;-webkit-tap-highlight-color:transparent;overflow:hidden;white-space:nowrap;box-sizing:border-box}
.hs-trigger:hover{border-color:#e6eaf0;background:#fff;box-shadow:none}
.hs-label{display:flex;align-items:center;gap:8px;font:800 15px/1.2 DM Sans,system-ui;color:#0f172a;flex:0 0 auto}
.hs-ico{width:18px;height:18px}
.hs-ph{flex:1 1 auto;min-width:0;max-width:100%;margin-left:auto;opacity:.55;font:700 14px/1.2 DM Sans,system-ui;color:#0f172a;text-align:right;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hs-caret{width:10px;height:10px;margin-left:8px;border-right:2px solid #0f172a;border-bottom:2px solid #0f172a;transform:rotate(45deg);opacity:.65;flex:0 0 10px}
.hs-field.is-open .hs-caret{transform:rotate(-135deg)}
.hs-trigger:focus-visible{outline:none;box-shadow:0 0 0 4px var(--hs-ring-dark)}

.hs-pop{position:absolute;z-index:60;left:0;right:0;width:auto;max-width:100%;top:calc(100% + 12px);background:#fff;border:1px solid #e6eaf0;border-radius:16px;box-shadow:0 24px 64px rgba(15,23,42,.14);display:none;overflow:hidden;box-sizing:border-box}
.hs-field.is-open .hs-pop{display:block}
.hs-pop__title{padding:12px 16px;font:800 14px/1.2 DM Sans,system-ui;color:#0f172a;border-bottom:1px solid #eef2f7}
.hs-pop__body{padding:12px 16px}
.hs-input{width:100%;height:46px;border:1px solid #e6eaf0;border-radius:12px;padding:0 12px;font:500 16px/1.3 DM Sans,system-ui;color:#0f172a}
.hs-input:hover{border-color:#e6eaf0;box-shadow:none}

.hs-list{margin:10px 0 0;padding:6px 0;list-style:none;max-height:260px;overflow:auto;border:1px solid #eef2f7;border-radius:12px}
.hs-list li{padding:10px 12px;border-radius:10px;margin:4px 6px;cursor:pointer;transition:background-color .12s ease,color .12s ease}
.hs-list li:hover{background:transparent;color:inherit}
.hs-list li.is-active,.hs-list li:focus{background:rgba(15,23,42,.06);color:#0f172a}

.hs-actions{display:flex;gap:12px;align-items:center;justify-content:flex-end;width:100%;min-width:0}
.hs-btn{min-width:110px;height:68px;border-radius:18px;padding:0 20px;font:800 15px/1 DM Sans,system-ui;border:0;cursor:pointer;white-space:nowrap;transition:background-color .15s ease,border-color .15s ease,color .15s ease,box-shadow .15s ease;-webkit-tap-highlight-color:transparent}
.hs-btn:focus-visible{outline:none;box-shadow:0 0 0 4px var(--hs-ring-dark)}
@media(max-width:720px){.hs-actions{justify-content:stretch}.hs-actions .hs-btn{flex:1 1 0;min-width:0}}

.hs-btn--ghost{background:#fff;color:#0f172a;border:2px solid #0f172a}
.hs-btn--ghost:hover{background:var(--hs-primary);color:#fff;border-color:var(--hs-primary);box-shadow:none}
.hs-btn--ghost:active{background:var(--hs-primary-hover);color:#fff}

.hs-btn--primary{background:var(--hs-primary);color:#fff;border:2px solid transparent;box-shadow:none}
.hs-btn--primary:hover{background:var(--hs-primary-hover);color:#fff;box-shadow:none}
.hs-btn--primary:active{background:var(--hs-primary-pressed);color:#fff;box-shadow:none}

/* Search konteineris – plonas pilkas rėmelis + stipresnis šešėlis */
.hs-hero{
  border:1px solid #dfe4ec;
  box-shadow:0 26px 84px rgba(15,23,42,.10), 0 2px 8px rgba(15,23,42,.04);
}

/* Paieškos laukas – aiškesnis kontūras */
.hs-trigger{
  border:1.5px solid #d9dee7;
  box-shadow:0 1px 0 rgba(15,23,42,.02);
}
.hs-trigger:focus-visible{
  box-shadow:0 0 0 4px rgba(255,106,42,.14), 0 14px 34px rgba(15,23,42,.08);
}

.hs-btn--primary{
  color:#fff;
}
.hs-btn--primary:hover{
  color:#fff;
}
.hs-btn--primary:active{
  color:#fff;
}

.hs-btn--ghost:hover{
  background:var(--hs-primary);
  border-color:var(--hs-primary);
  color:#fff;
}

@media (max-width:720px){
  .hs-hero{ box-shadow:0 22px 80px rgba(15,23,42,.12); }
  .hs-trigger{ border-radius:16px; }
}
