
/* AMPRE / PropTX MLS frontend UI: Elementor-ready, Shegi-style layout */
.treb-mls-app,
.treb-hero-search,
.treb-detail,
.treb-map-wrap {
  font-family: inherit;
  box-sizing: border-box;
}

.treb-mls-app *,
.treb-hero-search *,
.treb-detail *,
.treb-map-wrap * {
  box-sizing: border-box;
}

/* Homepage hero search */
.treb-hero-search {
  position: relative;
  min-height: 275px;
  padding: 70px 7vw 50px;
  background:
    linear-gradient(90deg, rgba(0,0,0,.65), rgba(0,0,0,.22)),
    radial-gradient(circle at 82% 65%, rgba(255,255,255,.18), transparent 24%),
    linear-gradient(135deg, #191919, #3b302b 48%, #151515);
  background-size: cover;
  background-position: center;
  color: #fff;
  overflow: hidden;
}

.treb-hero-search h1 {
  margin: 0 0 28px;
  color: #fff;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
  font-weight: 300;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.treb-hero-form {
  display: grid;
  grid-template-columns: 190px minmax(280px, 1fr) 70px;
  width: min(100%, 960px);
  min-height: 64px;
  background: rgba(245,245,245,.82);
  border: 1px solid rgba(255,255,255,.55);
  box-shadow: 0 18px 42px rgba(0,0,0,.25);
}

.treb-hero-form select,
.treb-hero-form input,
.treb-hero-form button {
  border: 0;
  border-radius: 0;
  background: transparent;
  min-height: 64px;
  outline: none;
}

.treb-hero-form select {
  padding: 0 22px;
  border-right: 1px solid rgba(0,0,0,.22);
  color: #222;
  font-size: 21px;
  appearance: auto;
}

.treb-hero-form input {
  padding: 0 24px;
  color: #222;
  font-size: 24px;
  letter-spacing: .03em;
}

.treb-hero-form input::placeholder {
  color: #242424;
  opacity: .92;
}

.treb-hero-form button {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-size: 56px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s ease;
}

.treb-hero-form button:hover {
  background: rgba(255,255,255,.55);
}

.treb-hero-more {
  display: block;
  width: min(100%, 960px);
  margin-top: 12px;
  color: #fff;
  text-align: right;
  font-size: 18px;
  text-decoration: none;
  text-transform: none;
}

.treb-hero-more strong {
  color: #fff;
  text-transform: uppercase;
  font-weight: 900;
}

/* Compact filter bar */
.treb-mls-filterbar {
  display: grid;
  grid-template-columns: 160px 115px minmax(260px, 1fr) 150px 150px 150px 100px 100px 135px 150px;
  gap: 10px;
  align-items: center;
  width: 100%;
  padding: 10px 14px;
  margin: 0 0 18px;
  background: #eef3f6;
  border-top: 1px solid #cbd8df;
  border-bottom: 1px solid #cbd8df;
  box-shadow: 0 2px 6px rgba(0,0,0,.05);
  overflow-x: auto;
}

.treb-mls-filterbar select,
.treb-mls-filterbar input {
  width: 100%;
  height: 43px;
  min-width: 0;
  border: 1px solid #cfd8df;
  border-radius: 0;
  background: #fff;
  color: #4b5563;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 600;
  outline: none;
}

.treb-mls-filterbar input {
  font-weight: 500;
  color: #1f2937;
}

.treb-mls-filterbar input::placeholder {
  color: #4b5563;
  opacity: .9;
}

.treb-mls-filterbar .treb-filter-primary {
  background: #0797f2;
  color: #fff;
  border-color: #0797f2;
  font-weight: 800;
  text-transform: uppercase;
}

.treb-mls-filterbar .treb-filter-searchby {
  background: #f4f6f8;
  color: #8a8f98;
}

.treb-save-search-btn {
  height: 43px;
  border: 0;
  border-radius: 0;
  background: #00a725;
  color: #fff;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
}

.treb-clear-filters {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 43px;
  border: 1px solid #dce3e8;
  border-radius: 22px;
  background: #f9fcff;
  color: #ff243f;
  padding: 0 16px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 3px 10px rgba(0,0,0,.12);
}

/* Toolbar */
.treb-mls-toolbar {
  display: grid;
  grid-template-columns: 160px 1fr 280px;
  align-items: center;
  gap: 20px;
  padding: 0 14px 16px;
}

.treb-view-toggle {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  overflow: hidden;
  border: 1px solid #0b9cff;
  border-radius: 999px;
  background: #fff;
}

.treb-view-toggle a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 30px;
  color: #4b5563;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.treb-view-toggle a.is-active {
  background: #0797f2;
  color: #fff;
  font-weight: 800;
}

.treb-results-count {
  justify-self: center;
  min-width: 270px;
  padding: 14px 34px;
  border: 1px solid #0797f2;
  background: #eaf6ff;
  color: #0797f2;
  font-size: 24px;
  font-weight: 400;
  text-align: center;
}

.treb-sort-form {
  justify-self: end;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
  width: 100%;
}

.treb-sort-form label {
  color: #888;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.treb-sort-form select {
  height: 38px;
  border: 1px solid #d7dde3;
  background: #fff;
  color: #667085;
  padding: 0 14px;
}

/* Listing grid and cards */
.treb-mls-grid {
  display: grid;
  gap: 14px;
  padding: 0 14px 24px;
}

.treb-columns-1 { grid-template-columns: 1fr; }
.treb-columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.treb-columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.treb-columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.treb-mls-card {
  background: #f1f2f3;
  border: 1px solid #e2e2e2;
  overflow: hidden;
  min-width: 0;
  box-shadow: none;
  transition: transform .18s ease, box-shadow .18s ease;
}

.treb-mls-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0,0,0,.13);
}

.treb-mls-image {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1.34 / 1;
  min-height: 195px;
  overflow: hidden;
  background: #d7dde3;
  color: inherit;
  text-decoration: none;
}

.treb-mls-image::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 48%;
  background: linear-gradient(to top, rgba(0,0,0,.72), rgba(0,0,0,0));
  pointer-events: none;
}

.treb-mls-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .22s ease;
}

.treb-mls-card:hover .treb-mls-image img {
  transform: scale(1.03);
}

.treb-card-placeholder,
.treb-map-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 180px;
  color: #667085;
  background: #edf1f4;
  text-align: center;
  padding: 20px;
}

.treb-fav-heart {
  position: absolute;
  top: 4px;
  right: 10px;
  z-index: 2;
  color: #fff;
  font-size: 44px;
  line-height: 1;
  text-shadow: 0 2px 5px rgba(0,0,0,.45);
}

.treb-status-pill,
.treb-days-pill {
  position: absolute;
  z-index: 2;
  bottom: 8px;
  color: #fff;
  font-size: 13px;
  line-height: 1;
  font-weight: 900;
  text-shadow: 0 1px 4px rgba(0,0,0,.55);
  text-transform: uppercase;
}

.treb-status-pill {
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.treb-status-pill i {
  display: inline-block;
  width: 15px;
  height: 15px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #ff2f64;
}

.treb-days-pill {
  right: 10px;
}

.treb-mls-info {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 12px;
  align-items: center;
  padding: 10px 12px 11px;
  background: #f2f3f4;
}

.treb-mls-price {
  color: #5c5f63;
  font-size: 17px;
  font-weight: 900;
  white-space: nowrap;
}

.treb-mls-stats {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  min-width: 0;
  color: #656b72;
  font-size: 14px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
}

.treb-mls-address {
  grid-column: 1 / -1;
  display: block;
  min-width: 0;
  overflow: hidden;
  color: #a1a6ad;
  font-size: 14px;
  line-height: 1.25;
  text-decoration: none;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.treb-save-card {
  display: flex;
  min-height: 265px;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,.07) 0, rgba(255,255,255,.07) 1px, transparent 1px, transparent 5px),
    linear-gradient(135deg, #00ad26, #00d33c);
  color: #fff;
  text-align: center;
}

.treb-save-card h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  text-transform: uppercase;
}

.treb-save-card p {
  max-width: 280px;
  margin: 0 auto 24px;
  color: #fff;
  font-size: 16px;
  line-height: 1.35;
}

.treb-save-card button {
  border: 0;
  border-radius: 5px;
  background: #ff744d;
  color: #fff;
  padding: 10px 17px;
  font-size: 15px;
  cursor: pointer;
}

.treb-empty-state,
.treb-map-notice {
  margin: 14px;
  padding: 18px;
  border: 1px dashed #d0d5dd;
  background: #f9fafb;
  color: #667085;
}

/* Map/list view */
.treb-map-list-layout {
  display: grid;
  grid-template-columns: minmax(320px, 52vw) 1fr;
  gap: 14px;
  align-items: start;
  padding: 0 14px 24px;
}

.treb-map-list-map {
  position: sticky;
  top: 0;
}

.treb-map-list-cards .treb-mls-grid {
  padding: 0;
  gap: 12px;
}

.treb-map-wrap {
  overflow: hidden;
  border: 1px solid #d9e1e8;
  background: #eef3f6;
}

.treb-map-canvas {
  width: 100%;
  min-height: 320px;
}

.treb-map-notice {
  margin: 12px;
}

.treb-map-popup {
  max-width: 240px;
}

.treb-map-popup img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  display: block;
  margin-bottom: 8px;
}

.treb-map-popup strong {
  display: block;
  margin-bottom: 4px;
}

.treb-map-popup p {
  margin: 4px 0 8px;
}

.treb-map-popup a {
  font-weight: 800;
  color: #111827;
}

.treb-map-property-list {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.treb-map-list-item {
  display: grid;
  gap: 4px;
  padding: 12px;
  background: #fff;
  border: 1px solid #e2e8f0;
  color: #111827;
  text-decoration: none;
}

.treb-pagination {
  display: flex;
  justify-content: center;
  gap: 0;
  margin: 10px 14px 24px;
  padding: 11px;
  background: #646464;
}

.treb-pagination a,
.treb-pagination span {
  color: #fff;
  min-width: 26px;
  text-align: center;
  text-decoration: none;
  font-size: 18px;
  line-height: 1.2;
}

.treb-pagination .current {
  color: #0797f2;
  font-weight: 900;
}

/* Detail page */
.treb-detail {
  background: #fff;
}

.treb-detail-hero {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  min-height: 420px;
  background: #111827;
  color: #fff;
}

.treb-detail-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.treb-detail-hero-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 5vw, 70px);
}

.treb-detail-hero-panel h1 {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.05;
}

.treb-card-price {
  margin: 0 0 10px;
  color: inherit;
  font-size: 28px;
  font-weight: 900;
}

.treb-card-location,
.treb-card-type {
  margin: 0 0 12px;
  color: #667085;
}

.treb-detail-hero-panel .treb-card-location {
  color: rgba(255,255,255,.82);
}

.treb-card-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}

.treb-card-stats span {
  padding: 8px 10px;
  border-radius: 999px;
  background: #f2f4f7;
  color: #344054;
  font-size: 13px;
}

.treb-detail-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 10px;
}

.treb-detail-gallery a {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.treb-detail-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.treb-detail-body {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  padding: clamp(24px, 5vw, 70px);
}

.treb-detail-main h2 {
  margin-top: 0;
}

.treb-detail-table {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.treb-detail-table div {
  display: grid;
  gap: 5px;
  padding: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.treb-detail-table span {
  color: #667085;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.treb-primary-btn,
.treb-secondary-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  margin-bottom: 10px;
  text-decoration: none;
  font-weight: 900;
}

.treb-primary-btn {
  background: #0797f2;
  color: #fff;
}

.treb-secondary-btn {
  background: #eef3f6;
  color: #111827;
}

/* Backward compatibility with older shortcode classes */
.treb-search-form,
.treb-results-wrap,
.treb-split-results {
  font-family: inherit;
}

/* Responsive */
@media (max-width: 1280px) {
  .treb-mls-filterbar {
    grid-template-columns: 150px 110px minmax(240px, 1fr) 140px 140px 140px 95px 95px 130px 145px;
  }

  .treb-columns-4 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .treb-map-list-layout {
    grid-template-columns: 48% 1fr;
  }
}

@media (max-width: 1024px) {
  .treb-hero-form {
    grid-template-columns: 160px 1fr 64px;
  }

  .treb-hero-form input {
    font-size: 20px;
  }

  .treb-mls-toolbar {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .treb-sort-form {
    justify-self: center;
    max-width: 330px;
  }

  .treb-columns-3,
  .treb-columns-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .treb-map-list-layout {
    grid-template-columns: 1fr;
  }

  .treb-map-list-map {
    position: static;
  }

  .treb-detail-hero,
  .treb-detail-body {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .treb-hero-search {
    padding: 42px 18px 38px;
  }

  .treb-hero-search h1 {
    font-size: 32px;
    letter-spacing: .08em;
  }

  .treb-hero-form {
    grid-template-columns: 1fr 58px;
  }

  .treb-hero-form select {
    grid-column: 1 / -1;
    border-right: 0;
    border-bottom: 1px solid rgba(0,0,0,.22);
  }

  .treb-hero-form input {
    min-width: 0;
    font-size: 17px;
    padding: 0 14px;
  }

  .treb-hero-more {
    text-align: left;
    font-size: 15px;
  }

  .treb-mls-filterbar {
    grid-template-columns: 1fr;
    overflow: visible;
  }

  .treb-mls-filterbar select,
  .treb-mls-filterbar input,
  .treb-save-search-btn,
  .treb-clear-filters {
    width: 100%;
  }

  .treb-results-count {
    min-width: 0;
    width: 100%;
    font-size: 20px;
  }

  .treb-columns-2,
  .treb-columns-3,
  .treb-columns-4 {
    grid-template-columns: 1fr;
  }

  .treb-detail-gallery,
  .treb-detail-table {
    grid-template-columns: 1fr;
  }
}

/* Single property page: Shegi/InCom style detail layout */
.treb-single-prop,
.treb-single-prop * {
  box-sizing: border-box;
}

.treb-single-prop {
  max-width: 1180px;
  margin: 0 auto 40px;
  background: #f4f4f4;
  color: #333;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.45;
}

.treb-single-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  min-height: 34px;
  background: #f5f5f5;
  border-bottom: 1px solid #d5d5d5;
  color: #555;
}

.treb-single-actions a,
.treb-single-actions button {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border: 0;
  border-right: 1px solid #d5d5d5;
  background: transparent;
  color: #555;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.treb-single-actions a:hover,
.treb-single-actions button:hover {
  background: #fff;
  color: #0797f2;
}

.treb-single-grid {
  display: grid;
  grid-template-columns: minmax(0, 780px) 300px;
  gap: 18px;
  align-items: start;
  padding: 0 0 30px;
}

.treb-single-main {
  min-width: 0;
  background: #fff;
}

.treb-single-sidebar {
  position: sticky;
  top: 15px;
  padding: 16px 16px 0 0;
}

.treb-single-photo-stage {
  position: relative;
  width: 100%;
  min-height: 440px;
  background: #111;
  overflow: hidden;
}

.treb-single-main-photo {
  display: block;
  width: 100%;
  height: 440px;
  object-fit: cover;
}

.treb-photo-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #262626;
}

.treb-single-photo-count {
  position: absolute;
  right: 12px;
  bottom: 10px;
  z-index: 2;
  color: #fff;
  font-weight: 800;
  text-shadow: 0 2px 4px rgba(0,0,0,.55);
}

.treb-single-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  padding: 5px;
  background: #eee;
}

.treb-single-thumbs a {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #ddd;
}

.treb-single-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .18s ease;
}

.treb-single-thumbs a:hover img {
  transform: scale(1.04);
}

.treb-single-summary {
  background: #fff;
  border-bottom: 1px solid #d9e3ec;
}

.treb-single-address {
  margin: 0;
  padding: 11px 16px;
  border-bottom: 1px solid #dfe6ed;
  color: #8a8f98;
  font-size: 13px;
  text-transform: uppercase;
}

.treb-single-price-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 16px;
  align-items: center;
  padding: 12px 16px;
}

.treb-single-price-row > div:first-child strong {
  display: block;
  color: #62666b;
  font-size: 26px;
  line-height: 1.1;
}

.treb-single-price-row > div:first-child span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  color: #555;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.treb-single-price-row > div:first-child span::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff2f64;
}

.treb-single-summary .treb-card-stats {
  margin: 0;
  gap: 0;
  justify-content: space-between;
}

.treb-single-summary .treb-card-stats span {
  min-width: 90px;
  padding: 8px 14px;
  border-radius: 0;
  background: #f7fbff;
  border-left: 1px solid #dfe6ed;
  color: #0797f2;
  text-align: center;
}

.treb-single-mortgage-line {
  margin: 0;
  padding: 8px 16px 14px;
  color: #979da6;
  font-size: 12px;
}

.treb-single-mortgage-line strong {
  color: #0797f2;
}

.treb-panel,
.treb-blue-section,
.treb-walk-contact,
.treb-similar-section {
  margin: 14px 14px 0;
  background: #fff;
  border: 1px solid #e2e8f0;
}

.treb-panel h2,
.treb-about-panel h2 {
  margin: 0 0 10px;
  color: #333;
  font-size: 18px;
  font-weight: 500;
}

.treb-about-panel {
  padding: 18px;
}

.treb-about-copy {
  max-height: 150px;
  overflow: auto;
  color: #555;
}

.treb-about-copy p {
  margin: 0;
}

.treb-blue-section h2,
.treb-walk-contact h2 {
  margin: 0;
  padding: 9px 12px;
  background: #0797f2;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}

.treb-blue-section h3 {
  margin: 0;
  padding: 12px 12px 5px;
  color: #333;
  font-size: 14px;
}

.treb-property-data {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 0 0 10px;
}

.treb-property-data div {
  display: grid;
  grid-template-columns: 145px 1fr;
  gap: 12px;
  min-height: 35px;
  padding: 8px 12px;
  border-bottom: 1px solid #edf1f5;
  background: #fff;
}

.treb-property-data div:nth-child(4n+1),
.treb-property-data div:nth-child(4n+2) {
  background: #f9fbfd;
}

.treb-property-data span {
  color: #6b7280;
  font-size: 12px;
}

.treb-property-data strong {
  color: #374151;
  font-size: 12px;
  font-weight: 600;
}

.treb-history-section table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.treb-history-section th,
.treb-history-section td {
  padding: 10px 12px;
  border-bottom: 1px solid #edf1f5;
  text-align: left;
}

.treb-history-section th {
  color: #4b5563;
  font-size: 11px;
  text-transform: uppercase;
}

.treb-insight-tabs,
.treb-contact-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid #dce8f2;
  background: #eef7ff;
}

.treb-contact-tabs {
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: 8px;
  background: #eee;
}

.treb-insight-tabs span,
.treb-contact-tabs span {
  padding: 10px 8px;
  color: #4b5563;
  font-size: 11px;
  font-weight: 800;
  text-align: center;
}

.treb-contact-tabs span:first-child {
  background: #00ad26;
  color: #fff;
}

.treb-insights-section > p,
.treb-mortgage-section > p,
.treb-walk-contact > p {
  margin: 0;
  padding: 14px 16px;
}

.treb-insight-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 0 16px 16px;
}

.treb-insight-cards div {
  min-height: 82px;
  padding: 16px;
  background: #f6fbff;
  text-align: center;
}

.treb-insight-cards small,
.treb-mortgage-option p {
  display: block;
  color: #6b7280;
  font-size: 11px;
}

.treb-insight-cards strong {
  display: block;
  margin-top: 8px;
  color: #4b5563;
  font-size: 18px;
}

.treb-small-note {
  color: #777;
  font-size: 11px;
}

.treb-mortgage-inputs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 0 16px 14px;
}

.treb-mortgage-inputs label {
  display: grid;
  gap: 5px;
  color: #555;
  font-size: 11px;
}

.treb-mortgage-inputs input,
.treb-mortgage-inputs select {
  height: 36px;
  border: 1px solid #ccd7e2;
  background: #fff;
  padding: 0 9px;
  font-size: 13px;
}

.treb-mortgage-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding: 0 16px 16px;
}

.treb-mortgage-option {
  background: #fbfdff;
  border: 1px solid #e5eef6;
  padding: 12px;
  text-align: center;
}

.treb-mortgage-option h3 {
  padding: 0;
  margin: 0 0 8px;
  font-size: 13px;
}

.treb-mortgage-option strong {
  color: #344054;
}

.treb-walk-contact {
  padding-bottom: 14px;
}

.treb-walk-contact .treb-inquiry-form.is-wide {
  margin: 0 12px;
  border: 0;
}

.treb-map-thumb {
  display: flex;
  align-items: end;
  justify-content: center;
  min-height: 95px;
  margin-bottom: 14px;
  padding: 12px;
  background:
    linear-gradient(rgba(255,255,255,.45), rgba(255,255,255,.45)),
    repeating-linear-gradient(45deg, #dbead9, #dbead9 10px, #f2f4d7 10px, #f2f4d7 20px);
  border: 1px solid #d9e1e8;
  text-decoration: none;
}

.treb-map-thumb span {
  display: inline-flex;
  background: #ff8a00;
  color: #fff;
  padding: 10px 20px;
  font-weight: 900;
  text-transform: uppercase;
}

.treb-agent-card,
.treb-inquiry-form {
  background: #fff;
  border: 1px solid #dfe6ed;
  margin-bottom: 14px;
  padding: 16px;
}

.treb-presented-label {
  margin: 0 0 6px;
  color: #ff8a00;
  font-size: 13px;
}

.treb-agent-card strong,
.treb-agent-card span,
.treb-agent-card small {
  display: block;
}

.treb-agent-card strong {
  color: #333;
  font-size: 14px;
}

.treb-agent-card span,
.treb-agent-card small {
  color: #555;
  font-size: 12px;
  margin-top: 3px;
}

.treb-inquiry-form h3 {
  margin: 0 0 12px;
  color: #ff8a00;
  font-size: 16px;
  font-weight: 500;
}

.treb-inquiry-form input,
.treb-inquiry-form select,
.treb-inquiry-form textarea {
  width: 100%;
  margin-bottom: 8px;
  border: 1px solid #d7dfe8;
  background: #fff;
  padding: 9px 10px;
  color: #333;
  font-size: 12px;
}

.treb-inquiry-form textarea {
  min-height: 110px;
  resize: vertical;
}

.treb-inquiry-form button {
  display: block;
  width: 100%;
  border: 0;
  background: #0797f2;
  color: #fff;
  padding: 11px 16px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.treb-inquiry-form small {
  display: block;
  margin-top: 8px;
  color: #9aa1aa;
  font-size: 10px;
}

.treb-form-success,
.treb-form-error {
  margin-bottom: 10px;
  padding: 9px 10px;
  font-weight: 700;
}

.treb-form-success {
  background: #e9fbe9;
  color: #178a17;
}

.treb-form-error {
  background: #fff0f0;
  color: #c92323;
}

.treb-similar-section {
  padding: 14px;
}

.treb-similar-section h2 {
  margin: 0 0 14px;
  color: #8b9098;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.treb-similar-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.treb-similar-grid .treb-mls-image {
  min-height: 150px;
}

.treb-similar-buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.treb-similar-buttons a {
  border: 1px solid #0797f2;
  color: #0797f2;
  padding: 10px 12px;
  text-align: center;
  text-decoration: none;
  font-size: 12px;
  text-transform: uppercase;
}

.treb-single-map-panel {
  margin: 0 0 25px;
  padding: 16px;
}

.treb-single-map-panel h2 {
  margin-bottom: 14px;
}

.treb-muted {
  color: #667085;
}

@media (max-width: 1080px) {
  .treb-single-prop {
    max-width: 100%;
  }

  .treb-single-grid {
    grid-template-columns: 1fr;
  }

  .treb-single-sidebar {
    position: static;
    padding: 0 14px 20px;
  }
}

@media (max-width: 767px) {
  .treb-single-main-photo,
  .treb-single-photo-stage {
    height: auto;
    min-height: 260px;
  }

  .treb-single-price-row,
  .treb-property-data,
  .treb-mortgage-inputs,
  .treb-mortgage-options,
  .treb-insight-cards,
  .treb-insight-tabs,
  .treb-contact-tabs,
  .treb-similar-grid,
  .treb-similar-buttons {
    grid-template-columns: 1fr;
  }

  .treb-single-thumbs {
    grid-template-columns: repeat(2, 1fr);
  }

  .treb-property-data div {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}

/* v1.9.9 hero advanced MLS search */
.treb-hero-advanced-enabled {
  min-height: 330px;
  padding-bottom: 36px;
}

.treb-hero-advanced-enabled.is-open {
  min-height: 455px;
}

.treb-hero-advanced-form {
  display: block;
  width: min(100%, 980px);
  min-height: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.treb-hero-main-row {
  display: grid;
  grid-template-columns: 190px minmax(280px, 1fr) 70px;
  min-height: 64px;
  background: rgba(245,245,245,.84);
  border: 1px solid rgba(255,255,255,.58);
  box-shadow: 0 18px 42px rgba(0,0,0,.25);
}

.treb-hero-main-row select,
.treb-hero-main-row input,
.treb-hero-main-row button {
  border: 0;
  border-radius: 0;
  background: transparent;
  min-height: 64px;
  outline: none;
}

.treb-hero-main-row select {
  padding: 0 22px;
  border-right: 1px solid rgba(0,0,0,.22);
  color: #222;
  font-size: 21px;
  appearance: auto;
}

.treb-hero-main-row input {
  padding: 0 24px;
  color: #222;
  font-size: 24px;
  letter-spacing: .03em;
}

.treb-hero-main-row input::placeholder {
  color: #242424;
  opacity: .92;
}

.treb-hero-main-row button {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-size: 56px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s ease;
}

.treb-hero-main-row button:hover {
  background: rgba(255,255,255,.55);
}

.treb-hero-advanced-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 20px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition: max-height .28s ease, opacity .22s ease, transform .22s ease, margin .22s ease;
}

.treb-hero-advanced-enabled.is-open .treb-hero-advanced-panel {
  max-height: 360px;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  margin-top: 24px;
}

.treb-hero-advanced-panel select,
.treb-hero-advanced-panel input,
.treb-hero-advanced-panel button {
  width: 100%;
  height: 38px;
  min-height: 38px;
  border: 1px solid rgba(215,225,233,.95);
  border-radius: 0;
  background: rgba(255,255,255,.95);
  color: #222;
  padding: 0 14px;
  font-size: 15px;
  letter-spacing: .04em;
  box-shadow: 0 1px 2px rgba(0,0,0,.12);
}

.treb-hero-advanced-panel select {
  appearance: auto;
}

.treb-hero-keyword-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 62px;
  grid-column: span 2;
}

.treb-hero-keyword-row input {
  border-right: 0;
}

.treb-hero-keyword-row .treb-hero-add-btn {
  background: rgba(255,255,255,.98);
  color: #333;
  cursor: pointer;
  font-weight: 600;
}

.treb-hero-more.treb-hero-more-toggle {
  display: block;
  width: min(100%, 980px);
  margin-top: 14px;
  padding: 0;
  background: transparent;
  border: 0;
  color: #fff;
  text-align: right;
  font-size: 18px;
  text-decoration: none;
  cursor: pointer;
}

.treb-hero-more.treb-hero-more-toggle:hover,
.treb-hero-more.treb-hero-more-toggle:focus {
  text-decoration: underline;
}

@media (max-width: 1024px) {
  .treb-hero-main-row {
    grid-template-columns: 160px 1fr 64px;
  }
  .treb-hero-main-row input {
    font-size: 20px;
  }
  .treb-hero-advanced-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .treb-hero-keyword-row {
    grid-column: span 2;
  }
  .treb-hero-advanced-enabled.is-open {
    min-height: 530px;
  }
}

@media (max-width: 767px) {
  .treb-hero-advanced-enabled {
    padding: 42px 18px 38px;
  }
  .treb-hero-main-row {
    grid-template-columns: 1fr 58px;
  }
  .treb-hero-main-row select {
    grid-column: 1 / -1;
    border-right: 0;
    border-bottom: 1px solid rgba(0,0,0,.22);
  }
  .treb-hero-main-row input {
    min-width: 0;
    font-size: 17px;
    padding: 0 14px;
  }
  .treb-hero-advanced-panel {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .treb-hero-keyword-row {
    grid-column: auto;
  }
  .treb-hero-advanced-enabled.is-open .treb-hero-advanced-panel {
    max-height: 620px;
  }
  .treb-hero-advanced-enabled.is-open {
    min-height: 780px;
  }
  .treb-hero-more.treb-hero-more-toggle {
    text-align: left;
    font-size: 15px;
  }
}

/* Featured Homes Carousel */
.treb-featured-carousel-wrap {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 34px auto 46px;
  padding: 0 0 10px;
  font-family: inherit;
  color: #071a36;
}

.treb-featured-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin: 0 0 28px;
}

.treb-featured-head h2 {
  margin: 0;
  color: #071a36;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -.02em;
}

.treb-featured-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.treb-featured-view-more,
.treb-carousel-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid #111;
  border-radius: 10px;
  background: #fff;
  color: #111;
  font-size: 15px;
  line-height: 1;
  text-decoration: none !important;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}

.treb-featured-view-more {
  padding: 0 22px;
  white-space: nowrap;
}

.treb-carousel-arrow {
  width: 46px;
  padding: 0;
  font-size: 30px;
  font-weight: 300;
}

.treb-featured-view-more:hover,
.treb-carousel-arrow:hover,
.treb-featured-view-more:focus,
.treb-carousel-arrow:focus {
  transform: translateY(-1px);
  background: #071a36;
  color: #fff;
  box-shadow: 0 10px 24px rgba(0,0,0,.14);
}

.treb-featured-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 1fr);
  gap: 22px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 2px 2px 18px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.treb-featured-rail::-webkit-scrollbar {
  height: 8px;
}

.treb-featured-rail::-webkit-scrollbar-track {
  background: #f3f4f6;
  border-radius: 999px;
}

.treb-featured-rail::-webkit-scrollbar-thumb {
  background: #c8ccd2;
  border-radius: 999px;
}

.treb-featured-card {
  position: relative;
  min-width: 0;
  background: #fff;
  border: 1px solid #e4e6ea;
  border-radius: 10px;
  overflow: hidden;
  scroll-snap-align: start;
  box-shadow: 0 4px 14px rgba(15,23,42,.04);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.treb-featured-card:hover {
  transform: translateY(-4px);
  border-color: rgba(7,26,54,.18);
  box-shadow: 0 18px 38px rgba(15,23,42,.14);
}

.treb-featured-img {
  position: relative;
  display: block;
  height: 238px;
  overflow: hidden;
  background: #eef2f6;
  text-decoration: none !important;
}

.treb-featured-img:after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 46%;
  background: linear-gradient(to top, rgba(0,0,0,.38), rgba(0,0,0,0));
  pointer-events: none;
}

.treb-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease, filter .35s ease;
}

.treb-featured-card:hover .treb-featured-img img {
  transform: scale(1.045);
  filter: saturate(1.06) contrast(1.02);
}

.treb-featured-broker {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 10px;
  z-index: 2;
  text-align: center;
  color: rgba(255,255,255,.82);
  font-size: 13px;
  line-height: 1.2;
  text-shadow: 0 1px 5px rgba(0,0,0,.45);
}

.treb-featured-heart {
  position: absolute;
  top: 214px;
  right: 18px;
  z-index: 5;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 0;
  background: #fff;
  color: #111;
  font-size: 32px;
  line-height: 1;
  box-shadow: 0 8px 20px rgba(0,0,0,.18);
  cursor: pointer;
  transition: transform .16s ease, color .16s ease, background .16s ease;
}

.treb-featured-heart:hover,
.treb-featured-heart.is-saved {
  transform: scale(1.06);
  color: #e6335a;
}

.treb-featured-heart.is-saved {
  background: #fff5f7;
}

.treb-featured-body {
  padding: 14px 16px 18px;
}

.treb-featured-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 24px;
  margin-bottom: 8px;
}

.treb-featured-status {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 10px;
  border-radius: 999px;
  background: #2598cf;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.treb-featured-days {
  color: #8b5d17;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}

.treb-featured-price {
  display: inline-block;
  margin-bottom: 8px;
  color: #030712;
  font-size: 26px;
  line-height: 1.1;
  font-weight: 700;
  text-decoration: none !important;
}

.treb-featured-price:hover {
  color: #2598cf;
}

.treb-featured-address {
  display: block;
  min-height: 43px;
  color: #4b5563;
  font-size: 17px;
  line-height: 1.28;
  text-decoration: none !important;
}

.treb-featured-address:hover {
  color: #071a36;
}

.treb-featured-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin: 12px 0 9px;
  color: #111827;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 600;
}

.treb-featured-specs span {
  white-space: nowrap;
}

.treb-featured-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  color: #9ca3af;
  font-size: 13px;
  line-height: 1.25;
}

.treb-carousel-progress {
  position: relative;
  height: 3px;
  margin-top: 10px;
  background: #eef0f3;
  overflow: hidden;
  border-radius: 999px;
}

.treb-carousel-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: #071a36;
  border-radius: 999px;
  transition: width .2s ease;
}

.treb-featured-empty {
  padding: 24px;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  background: #f8fafc;
  color: #475569;
}

@media (min-width: 1280px) {
  .treb-featured-rail {
    grid-auto-columns: calc((100% - 88px) / 5);
  }
}

@media (min-width: 980px) and (max-width: 1279px) {
  .treb-featured-rail {
    grid-auto-columns: calc((100% - 66px) / 4);
  }
}

@media (min-width: 720px) and (max-width: 979px) {
  .treb-featured-rail {
    grid-auto-columns: calc((100% - 22px) / 2);
  }
}

@media (max-width: 719px) {
  .treb-featured-carousel-wrap {
    margin: 28px auto 36px;
  }
  .treb-featured-head {
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
  }
  .treb-featured-head h2 {
    font-size: 34px;
  }
  .treb-carousel-arrow {
    display: none;
  }
  .treb-featured-view-more {
    min-height: 40px;
    padding: 0 14px;
    font-size: 13px;
  }
  .treb-featured-rail {
    grid-auto-columns: 84vw;
    gap: 16px;
  }
  .treb-featured-img {
    height: 220px;
  }
  .treb-featured-heart {
    top: 196px;
  }
}


/* Full-width Property Image Showcase Carousel (Elementor-ready add-on) */
.treb-showcase-carousel-wrap,
.treb-showcase-carousel-wrap * {
  box-sizing: border-box;
}

.treb-showcase-carousel-wrap {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto 40px;
  color: #fff;
  font-family: inherit;
  overflow: hidden;
  background: #111;
  isolation: isolate;
}

.treb-showcase-full-width {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.treb-showcase-title {
  position: absolute;
  top: 26px;
  left: clamp(22px, 4vw, 70px);
  z-index: 8;
  margin: 0;
  color: #fff;
  font-size: clamp(26px, 3vw, 48px);
  line-height: 1.05;
  font-weight: 700;
  text-shadow: 0 2px 18px rgba(0,0,0,.55);
}

.treb-showcase-viewport {
  position: relative;
  overflow: hidden;
}

.treb-showcase-track {
  display: flex;
  gap: 0;
  width: 100%;
  min-height: var(--treb-showcase-height, 630px);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}

.treb-showcase-track::-webkit-scrollbar {
  display: none;
}

.treb-showcase-card {
  position: relative;
  flex: 0 0 var(--treb-showcase-card-width, 46vw);
  min-width: 360px;
  height: var(--treb-showcase-height, 630px);
  scroll-snap-align: center;
  overflow: hidden;
  background: #1f2933;
}

.treb-showcase-link,
.treb-showcase-image,
.treb-showcase-overlay {
  position: absolute;
  inset: 0;
  display: block;
}

.treb-showcase-link {
  color: #fff !important;
  text-decoration: none !important;
}

.treb-showcase-image img,
.treb-showcase-image .treb-card-placeholder {
  display: block;
  width: 100%;
  height: 100%;
}

.treb-showcase-image img {
  object-fit: cover;
  transform: scale(1.001);
  transition: transform .55s ease, filter .55s ease;
}

.treb-showcase-image .treb-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #334155, #111827);
  color: rgba(255,255,255,.85);
  font-size: 20px;
}

.treb-showcase-link:before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(0,0,0,.28), rgba(0,0,0,.04) 38%, rgba(0,0,0,.14)),
    linear-gradient(0deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.45) 24%, rgba(0,0,0,.08) 58%, rgba(0,0,0,.02) 100%);
  pointer-events: none;
}

.treb-showcase-card:hover .treb-showcase-image img,
.treb-showcase-card.is-active .treb-showcase-image img {
  transform: scale(1.04);
  filter: saturate(1.04) contrast(1.03);
}

.treb-showcase-overlay {
  z-index: 3;
  pointer-events: none;
}

.treb-showcase-copy {
  position: absolute;
  left: clamp(22px, 3vw, 54px);
  right: clamp(22px, 3vw, 54px);
  bottom: 52px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  text-shadow: 0 2px 14px rgba(0,0,0,.65);
}

.treb-showcase-status {
  color: #fff;
  font-size: clamp(13px, 1.05vw, 18px);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: .08em;
}

.treb-showcase-price {
  color: #fff;
  font-size: clamp(24px, 2vw, 36px);
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: .04em;
}

.treb-showcase-address {
  color: #fff;
  font-size: clamp(13px, 1.2vw, 19px);
  line-height: 1.22;
  font-weight: 900;
  letter-spacing: .07em;
}

.treb-showcase-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: #fff;
  font-size: clamp(14px, 1.15vw, 19px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .06em;
}

.treb-showcase-broker {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  color: rgba(255,255,255,.15);
  font-size: clamp(16px, 1.5vw, 26px);
  line-height: 1;
  text-align: center;
  text-shadow: 0 1px 8px rgba(0,0,0,.5);
  letter-spacing: .02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.treb-showcase-arrow {
  position: absolute;
  top: 50%;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 78px;
  height: 78px;
  padding: 0 0 5px;
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 999px;
  background: rgba(0,0,0,.10);
  color: #fff;
  font-size: 52px;
  font-weight: 200;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
  text-shadow: 0 1px 8px rgba(0,0,0,.55);
}

.treb-showcase-prev {
  left: clamp(18px, 3vw, 48px);
}

.treb-showcase-next {
  right: clamp(18px, 3vw, 48px);
}

.treb-showcase-arrow:hover,
.treb-showcase-arrow:focus {
  background: rgba(0,0,0,.34);
  border-color: #fff;
  transform: translateY(-50%) scale(1.04);
  outline: none;
}

.treb-showcase-dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 11;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.treb-showcase-dot {
  display: block;
  width: 8px;
  height: 8px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.92);
  border-radius: 999px;
  background: rgba(255,255,255,.2);
  cursor: pointer;
}

.treb-showcase-dot.is-active {
  width: 24px;
  background: #fff;
}

@media (max-width: 1024px) {
  .treb-showcase-card {
    flex-basis: 72vw;
  }
}

@media (max-width: 767px) {
  .treb-showcase-carousel-wrap {
    margin-bottom: 28px;
  }
  .treb-showcase-track {
    min-height: min(var(--treb-showcase-height, 560px), 560px);
  }
  .treb-showcase-card {
    flex-basis: 86vw;
    min-width: 280px;
    height: min(var(--treb-showcase-height, 560px), 560px);
  }
  .treb-showcase-arrow {
    width: 56px;
    height: 56px;
    font-size: 40px;
  }
  .treb-showcase-copy {
    left: 22px;
    right: 22px;
    bottom: 46px;
  }
  .treb-showcase-broker {
    bottom: 14px;
    font-size: 16px;
  }
}
