@import url('https://fonts.googleapis.com/css2?family=Marck+Script&family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Sorts+Mill+Goudy:ital@0;1&display=swap');

/* ============================================================
   RESET & BASE — values ported from the live site
   (janetaylor theme: global.base.css / global.styles.css /
    custom-style.css / custom-responsive.css)
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 87.5%; }
body {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 1.5;
  background-color: #fff;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  min-height: 100%;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
p, pre { margin: 0 0 1.5em; }
a { text-decoration: none; color: inherit; }
a:hover { text-decoration: none; }
.clearfix { clear: both; }
/* Present for search engines and screen readers, not shown on screen */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
/* 1400px wide like the live theme; page content adds its own 10px inset (live: #main-content) */
.container { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0; }

h1, h2, h3, h4, h5, h6 { font-family: 'Sorts Mill Goudy', serif; }
.cursive { font-family: 'Marck Script', cursive; letter-spacing: -0.5px; }

.gold { color: #e4d584; }
.blue, .purple { color: #343399; }
.blue-bg, .purple-bg { background-color: #343399; }
.gold-bg { background-color: #e4d584; }

.content-button {
  border: 1px solid #f1f1f1;
  padding: 12px 40px;
  text-transform: uppercase;
  font-weight: 600;
  color: #f1f1f1;
  border-radius: 3px;
  font-size: 17px;
  display: inline-block;
  transition: all 0.5s;
}
.content-button:hover { background-color: #222; color: #fff; }

/* ============================================================
   NAVIGATION  (live: .top-nav float layout)
   ============================================================ */
#sticky-nav {
  background-color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
}
#sticky-nav * { transition: all 0.5s; }
.top-nav {
  padding: 20px 0;
  position: relative;
}
.site-logo {
  float: left;
  display: inline-block;
  width: 10%;
  box-sizing: border-box;
  margin-left: 5%;
  margin-right: 5%;
}
.site-logo img { width: 100%; height: auto; display: block; }
.top-nav a {
  color: #000;
  font-size: 18px;
  font-weight: 400;
  transition: all 0.5s;
  text-transform: uppercase;
}
.top-nav a:hover { text-decoration: none; color: #343399; }
.top-nav-right {
  float: right;
  display: inline;
  text-align: right;
  padding-top: 15px;
}
.top-nav-right a { margin-left: 45px; font-weight: 600; }

#top-nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  margin-right: 50px;
  flex-direction: column;
  gap: 6px;
  float: left;
  height: 35px;
}
#top-nav-hamburger span {
  display: block;
  width: 30px;
  height: 3px;
  background: #333;
}

/* Mobile nav — live: .nav-overlay full-height dark panel */
#mobile-nav-overlay {
  display: none;
  position: fixed; inset: 0;
  background: transparent;
  z-index: 998;
}
#mobile-nav {
  position: fixed;
  top: 0; left: -5000px;
  bottom: 0;
  width: 0;
  opacity: 0;
  height: 100%;
  background-color: rgba(0,0,0,0.98);
  z-index: 999;
  padding: 150px 0 30px 40px;
  transition: width 1s, opacity 0.4s;
  overflow: hidden;
  display: flex; flex-direction: column; gap: 0;
}
#mobile-nav.open { left: 0; width: 75%; opacity: 1; }
#mobile-nav-overlay.open { display: block; }
#mobile-nav a {
  display: block;
  padding: 12px 0;
  font-size: 22px;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
}
#mobile-nav a:hover { color: #e4d584; }
#mobile-nav-close {
  position: absolute;
  top: 60px; right: 40px;
  background: none; border: none;
  font-size: 40px; cursor: pointer; color: #fff;
  line-height: 1;
  padding: 0;
}

/* ============================================================
   HOME HERO (video) — local version kept intact (live is broken)
   ============================================================ */
.header-home {
  position: relative;
  width: 100%;
  overflow: hidden;
}
/* Video fills the hero (whose height comes from the overlay content).
   Anchored bottom-left so the tagline text in the footage's lower-left
   corner is never cropped away — overflow crops from the top/right */
#home-vid {
  display: block;
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left bottom;
}
.video-overlay {
  position: relative;
  z-index: 5;
  float: right;
  width: 38%;
  background-color: rgba(52, 51, 153, 0.85);
  color: #fff;
  padding: 50px 40px;
  min-height: 500px;
  text-align: center;
}
.video-overlay h1,
.video-overlay h2 {
  font-size: 32px;
  font-weight: 400;
  margin: 0 0 15px;
  line-height: 1.2;
}
.video-overlay p { font-size: 15px; margin: 0 0 8px; }
.video-overlay h5 {
  font-size: 18px;
  font-weight: 500;
  margin: 20px 0 15px;
  font-family: 'Sorts Mill Goudy', serif;
}
.video-overlay-form input,
.video-overlay-form textarea,
.video-overlay-form select {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 10px;
  border: 0;
  border-radius: 3px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  background: rgba(255,255,255,0.95);
  color: #333;
}
.video-overlay-form textarea { height: 90px; resize: vertical; }
.video-overlay-form button {
  width: 100%;
  padding: 14px;
  background-color: #fff;
  color: #343399;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: 0;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.3s;
}
.video-overlay-form button:hover { background-color: #e4d584; color: #000; }

/* ============================================================
   INNER PAGE BANNERS  (live .header)
   ============================================================ */
.header {
  background-image: url(../images/inner-banner-4.jpg);
  background-size: cover;
  margin-bottom: 35px;
  text-align: center;
  position: relative;
  padding: 100px 0;
}
.inner-header-blue {
  background-color: #34339969;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0; left: 0;
  z-index: 8;
}
.header h1 {
  color: #fff;
  font-size: 55px;
  position: relative;
  z-index: 9;
  font-weight: 500;
  text-transform: uppercase;
  margin: 0;
  width: 40%;
  margin-left: 30%;
  line-height: 55px;
}
.header .page-subtitle {
  color: #fff;
  font-size: 35px;
  font-weight: 400;
  margin: 0;
  position: relative;
  z-index: 9;
}
.header-properties { background-image: url(../images/page-banners/properties.png); }
.header-exclusive  { background-image: url(../images/page-banners/exclusive.png); }
.header-services   { background-image: url(../images/page-banners/services.png); }
.header-about      { background-image: url(../images/page-banners/about.png); }
.header-veterans   { background-image: url(../images/page-banners/vets.png); }
.header-contact    { background-image: url(../images/page-banners/contact.png); }

/* ============================================================
   JAN ABOUT (homepage)  — live .jan-about
   ============================================================ */
.jan-about {
  padding: 50px 0;
  margin-top: 0;   /* live uses -6px only to cancel a gap under its (different) hero */
  position: relative;
}
.jan-about .container {
  border: 3px solid #343399;
  padding: 40px;
  box-sizing: border-box;
  overflow: hidden;
}
.jan-about img {
  float: left;
  width: 35%;
  margin-right: 10%;
}
.jan-about .jan-about-right {
  float: right;
  width: 55%;
}
.jan-about h2 {
  margin: 0 0 10px;
  font-weight: 500;
  font-size: 35px;
}
.jan-about h3 {
  font-size: 28px;
  font-weight: 500;
  margin: 0;
  text-align: right;
}
.jan-about p {
  font-size: 18px;
  line-height: 30px;
}
.jan-about-right .cursive { text-align: right; }
.jan-about-right p.cursive { font-size: 25px; margin: 0; }

/* ============================================================
   HOME BLOCKS (selling / buying / value) — live .home-block
   ============================================================ */
.home-block-wrapper { padding: 40px 0; overflow: hidden; }
.home-block-wrapper .home-block {
  width: 23.3333333333%;
  margin-right: 5%;
  margin-left: 5%;
  float: left;
  text-align: center;
}
.home-block img { width: 100%; display: block; margin-bottom: 6px; }   /* live has a 6px text-line gap under this photo */
.home-block-wrapper .home-block-content {
  padding: 20px;
  background-color: #eee;
  margin-top: -5px;
}
.home-block-wrapper .home-block h4 {
  margin: 30px 0 10px;
  text-transform: uppercase;
  font-size: 30px;
  font-weight: 400;
  line-height: 32px;
}
.home-block-wrapper .home-block p {
  font-size: 16px;
  font-weight: 500;
  margin: 0;
  height: 140px;
}
.home-block-wrapper .home-block a {
  border: 1px solid #000;
  padding: 15px 30px;
  text-transform: uppercase;
  font-size: 16px;
  display: inline-block;
  color: #000;
  font-weight: 600;
  border-radius: 3px;
}

/* ============================================================
   HOME PROPERTY SEARCH BAR (live wrapper; local form controls)
   ============================================================ */
.home-prop-search {
  position: relative;
  z-index: 9;
  padding: 40px 0;
}
.home-prop-search h2 {
  margin: -5px 0 25px;
  font-size: 30px;
  font-weight: 400;
  text-transform: uppercase;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
}
.prop-search-form {
  display: flex;
  gap: 10px;
  align-items: stretch;
  margin-bottom: 27px;   /* live leaves this space under the search bar */
}
.prop-search-form .search-keyword {
  flex: 2;
  position: relative;
}
.prop-search-form .search-keyword::before {
  content: '';
  position: absolute;
  left: 14px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px;
  background: url(../images/search-icon.png) no-repeat center/contain;
  pointer-events: none;
}
.prop-search-form input[type=text] {
  width: 100%;
  padding: 18px 15px 18px 44px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  height: 100%;
}
.prop-search-form select {
  flex: 1;
  min-width: 0;
  padding: 18px 35px 18px 15px;
  border: none;
  border-radius: 4px;
  background-color: #5F768E;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  appearance: none;
  background-image: url(../images/search-down-icon.png);
  background-repeat: no-repeat;
  background-position: calc(100% - 12px) center;
  background-size: auto 10px;
  cursor: pointer;
}
.prop-search-form select option { background: #fff; color: #333; font-size: 14px; }

/* Dropdowns that open BELOW their field (built by JA.enhanceSelect in main.js).
   The real <select> stays in the form; touch devices keep the native picker. */
.ja-select { position: relative; flex: 1; min-width: 0; }
.ja-select-native {
  position: absolute !important;
  width: 1px; height: 1px;
  opacity: 0; pointer-events: none;
  left: 0; bottom: 0;
}
.ja-select-btn {
  display: block;
  width: 100%; height: 100%;
  padding: 18px 35px 18px 15px;
  border: none;
  border-radius: 4px;
  background: #5F768E url(../images/search-down-icon.png) no-repeat calc(100% - 12px) center / auto 10px;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}
.ja-select.open .ja-select-btn { background-image: url(../images/search-up-icon.png); }
.ja-select-btn:focus-visible { outline: 2px solid #343399; outline-offset: 2px; }
.ja-select-panel {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 100%;
  width: max-content;
  max-width: min(340px, 92vw);
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  z-index: 300;
}
.ja-select.open .ja-select-panel { display: block; }
.ja-select-search {
  display: block;
  width: calc(100% - 16px);
  margin: 8px;
  padding: 9px 10px;
  border: 1px solid #ccc;
  border-radius: 3px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  letter-spacing: 0.5px;
}
.ja-select-search:focus { outline: none; border-color: #343399; }
.ja-select-panel ul {
  list-style: none;
  margin: 0; padding: 4px 0;
  max-height: 290px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.ja-select-panel li {
  padding: 9px 14px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: #222;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}
.ja-select-panel li[hidden] { display: none; }
.ja-select-panel li.selected { font-weight: 700; color: #343399; }
.ja-select-panel li:hover, .ja-select-panel li.active { background: #343399; color: #fff; }

.prop-search-form button[type=submit] {
  flex: 1;
  padding: 18px 20px;
  background-color: #343399;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: background 0.3s;
}
.prop-search-form button[type=submit]:hover { background-color: #2a2888; }

/* ============================================================
   HOME EXCLUSIVE LISTINGS  (live titles/buttons; local grid)
   ============================================================ */
.home-listings { padding: 40px 0; }
.home-listings h2,
.content-title {
  font-size: 30px;
  font-weight: 400;
  text-transform: uppercase;
  text-align: center;
  margin: 0;
  font-family: 'Montserrat', sans-serif;
}
.home-listing-buttons-wrapper {
  padding: 70px 0 20px;
  text-align: center;
}
.home-listing-buttons-wrapper .content-button {
  border: 1px solid #000;
  color: #000;
  margin: 0 20px;
}
.home-listing-buttons-wrapper .content-button:hover { background-color: #222; color: #fff; }

/* Autocomplete loading spinner (inside input's parent) */
.search-keyword.ac-loading::after,
.filter-group.ac-loading::after {
  content: '';
  position: absolute;
  right: 12px;
  top: calc(50% - 8px);
  width: 16px;
  height: 16px;
  border: 2px solid rgba(52,51,153,0.18);
  border-top-color: #343399;
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
  pointer-events: none;
  z-index: 10;
}

/* Autocomplete dropdown */
.autocomplete-list {
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  min-width: 480px;
  background: #fff;
  border: 1px solid #ddd;
  max-height: 340px;
  overflow-y: auto;
  z-index: 200;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  border-radius: 0 0 4px 4px;
}
.autocomplete-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.15s;
}
.autocomplete-item:last-child { border-bottom: none; }
.autocomplete-item strong { font-weight: 800; color: #343399; }
.autocomplete-item:hover strong, .autocomplete-item.active strong { color: #e4d584; }
.autocomplete-empty {
  padding: 14px 16px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  letter-spacing: 0.5px;
  color: #666;
}
.autocomplete-item:hover, .autocomplete-item.active { background: #343399; }
.autocomplete-item:hover .autocomplete-item-address,
.autocomplete-item.active .autocomplete-item-address { color: #fff; }
.autocomplete-item:hover .autocomplete-item-sub,
.autocomplete-item.active .autocomplete-item-sub { color: rgba(255,255,255,0.75); }
.autocomplete-item-thumb {
  width: 72px;
  height: 54px;
  object-fit: cover;
  flex-shrink: 0;
  border-radius: 3px;
  background: #e8e8e8;
  display: block;
}
.autocomplete-item-thumb.no-photo { object-fit: contain; }
.autocomplete-item-info { flex: 1; min-width: 0; }
.autocomplete-item-address {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #111;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 3px;
}
.autocomplete-item-sub {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  color: #888;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ============================================================
   PROPERTY GRID (cards) — live .listing-grid
   ============================================================ */
.property-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 3%;
  row-gap: 31px;
  padding: 15px 1.5% 16px;
  transition: opacity 0.2s;
}
.property-grid.is-loading { opacity: 0.45; pointer-events: none; }
/* Home + Our Listings: four across (live: 22% columns) */
.property-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 41px; padding: 21px 1.5%; }
.home-listings .property-grid { padding-top: 30px; padding-bottom: 0; }

.property-card {
  border: 1px solid #ccc;
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.property-card-image {
  position: relative;
  aspect-ratio: 420 / 350;
  overflow: hidden;
  background: #e6e6e6;
}
.property-card-image a {
  display: block;
  width: 100%; height: 100%;
  position: absolute; top: 0; left: 0;
}
.property-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 0.3s;
}
.property-card-image img.loaded { opacity: 1; }
.property-card-image img.no-photo { object-fit: contain; padding: 18%; background: #f3f3f3; }

/* Shimmer loading placeholder */
@keyframes shimmer-sweep {
  0%   { background-position: -800px 0; }
  100% { background-position: 800px 0; }
}
.shimmer-loading {
  background: linear-gradient(90deg, #ebebeb 25%, #dedede 37%, #ebebeb 63%);
  background-size: 800px 100%;
  animation: shimmer-sweep 1.4s ease-in-out infinite;
}
.property-card-price {
  position: absolute;
  bottom: 0; left: 0;
  background: linear-gradient(360deg, #000 0%, rgba(255,255,255,0) 100%);
  width: 100%;
  padding: 20px 0 5px;
  text-indent: 20px;
  color: #fff;
  font-size: 22px;
  font-weight: 500;
  font-family: 'Montserrat', sans-serif;
  pointer-events: none;
}
.property-card-body { padding: 20px 20px 0; flex: 1; }
.property-card-address,
.property-card-city {
  font-family: 'Ovo', serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 24px;
  height: 24px;
  margin: 0;
  color: #000;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.property-card-stats {
  display: flex;
  border-top: 2px solid #aaa;
  border-bottom: 2px solid #aaa;
  padding: 10px 0;
  margin: 20px 0 30px;
}
.stat-item {
  flex: 1;
  text-align: center;
  font-size: 14px;
  font-weight: 300;
  line-height: 21px;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Montserrat', sans-serif;
  white-space: nowrap;
}
.stat-item img { height: 14px; width: auto; }
.property-card-footer { padding: 0 20px 20px; }
.property-card-footer a,
.btn-more-info {
  display: block;
  width: 100%;
  text-align: center;
  padding: 12px 0;
  border: 1px solid #777;
  border-radius: 3px;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  color: #000;
  transition: all 0.5s;
  background: transparent;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
}
.property-card-footer a:hover,
.btn-more-info:hover { background: #222; color: #fff; border-color: #222; }

/* Loading / empty states */
.properties-loading, .properties-empty {
  grid-column: 1/-1;
  text-align: center;
  padding: 60px 20px;
  color: #666;
  font-size: 16px;
}
.spinner {
  display: inline-block;
  width: 36px; height: 36px;
  border: 3px solid #ccc;
  border-top-color: #343399;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-bottom: 15px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   HOME SEARCH PAGE — live sidebar filters + results
   ============================================================ */
.properties-page-layout { display: flex; align-items: flex-start; margin: 0 0 20px; }
.properties-sidebar {
  width: 350px;
  flex-shrink: 0;
  padding: 0 10px;
}
.properties-sidebar h2,
.filter-sort-label {
  display: block;
  width: 100%;
  font-family: 'Ovo', serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 27px;
  letter-spacing: 1px;
  color: #000;
  margin: 0;
  padding-bottom: 5px;
  border-bottom: 2px solid #000;
}
.filter-sort-label { margin: 20px 0; }
.filter-group { padding-top: 7px; margin-bottom: 5px; position: relative; }
.filter-group label {
  display: block;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  text-transform: uppercase;
  color: #000;
  margin-bottom: 5px;
}
.filter-group input[type=text],
.filter-group select {
  display: block;
  width: 100%;
  height: 32px;
  padding: 5px;
  border: 1px solid #767676;
  border-radius: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  letter-spacing: normal;
  color: #000;
  background: #fff;
}
.filter-buttons { display: flex; gap: 2%; padding-top: 26px; }
.filter-apply-btn,
.filter-reset-btn {
  flex: 1;
  padding: 10px 0;
  border: 0;
  border-radius: 3px;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  transition: opacity 0.2s;
}
.filter-apply-btn { background-color: #343399; }
.filter-reset-btn { background-color: #99862D; }
.filter-apply-btn:hover, .filter-reset-btn:hover { opacity: 0.85; }

.properties-main { flex: 1; min-width: 0; margin: 0 10px; }
.properties-count { font-size: 14px; line-height: 21px; color: #000; padding-top: 40px; }
.listings-page { padding: 40px 10px 20px; }

/* Pager — live ul.pager */
.pagination {
  text-align: center;
  margin: 25px 0 40px;
  font-size: 16px;
  line-height: 30px;
}
.pagination a,
.pagination .pager-current {
  display: inline-block;
  padding: 5px 20px;
  font-weight: 600;
}
.pagination a { color: #0053FF; }
.pagination a:hover { text-decoration: underline; }
.pagination .pager-current { background-color: #343399; color: #fff; font-weight: 700; }

/* ============================================================
   PROPERTY PAGE — live layout
   ============================================================ */
.prop-page { padding: 40px 10px 0; }
.prop-images { background-color: #fff; }
.prop-featured-link {
  display: block;
  position: relative;
  aspect-ratio: 1400 / 650;
  border: 4px solid #fff;
  margin-bottom: 3px;
  overflow: hidden;
  background-color: #ebebeb;
  cursor: zoom-in;
}
.prop-featured-image {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.3s, filter 0.5s;
}
.prop-featured-image.loaded { opacity: 1; }
.prop-featured-link:hover .prop-featured-image { filter: brightness(0.6); }
.prop-no-photo { cursor: default; aspect-ratio: 1400 / 420; background: #f3f3f3; }
.prop-no-photo .prop-featured-image { object-fit: contain; padding: 40px; }
.prop-no-photo:hover .prop-featured-image { filter: none; }

.prop-sub-images { width: 100%; background-color: #fff; border: 3px solid #fff; }
.prop-sub-images .prop-sub-image-a {
  position: relative;
  display: block;
  float: left;
  width: 6.66666666666%;
  margin-bottom: 5px;
  transition: all 0.5s;
  cursor: zoom-in;
}
.prop-sub-images .prop-sub-image-a:hover { filter: brightness(0.6); }
.prop-sub-images .prop-sub-image {
  display: block;
  width: 98%;
  height: 60px;
  object-fit: cover;
  object-position: center;
  margin: 0 1% -6px;
  border: 3px solid #fff;
  background: #ebebeb;
}

.prop-top-info { margin: 50px 0; }
.prop-top-left { float: left; width: 55%; margin-right: 10%; }
.prop-mls,
.property-contact p.gold {
  font-family: 'Montserrat', sans-serif;
  margin: 0 0 5px;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
}
.prop-top-left h1 { font-size: 40px; font-weight: 600; line-height: 1.5; margin: 0; }
.property-sub-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 500;
  margin: 0 0 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid #ccc;
}
.prop-page-stat-block { float: left; width: 50%; margin-bottom: 20px; white-space: nowrap; }
.prop-page-stat-block img { display: inline; width: 35px; margin-right: 30px; }
.prop-page-stat-block h4 { display: inline-block; font-size: 25px; font-weight: 400; width: 120px; margin: 0; }
.prop-page-stat-block span { font-size: 25px; font-weight: 300; }
.prop-top-left-buttons { text-align: center; padding-top: 35px; }
.prop-top-left-buttons .content-button {
  border: 1px solid #222;
  color: #222;
  font-size: 15px;
  padding-left: 0; padding-right: 0;
  text-align: center;
  width: 49%;
  margin: 0 0 20px;
}
.prop-top-left-buttons .request-details-button { margin-right: 1%; }
.prop-top-left-buttons .schedule-showing-button { margin-left: 1%; }
.prop-top-left-buttons .virtual-tour-button { width: 100%; }
.prop-top-left-buttons .content-button:hover { color: #fff; }

.prop-top-right { float: right; width: 35%; padding: 40px; }
.prop-top-right .prop-price {
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 45px;
  font-weight: 400;
  line-height: 1.5;
  margin: 0 0 30px;
}
.prop-top-right-stat-block { float: left; width: 50%; }
.prop-top-right-stat-block-full { float: none; width: 100%; clear: both; }
.prop-top-right-stat-block p { font-size: 16px; font-weight: 600; line-height: 30px; margin: 0 0 5px; text-transform: uppercase; }
.prop-top-right-stat-block h6 { color: #fff; margin: 0 0 30px; font-size: 25px; font-weight: 300; line-height: 1.5; }
.prop-right-buttons .content-button {
  display: block;
  width: 100%;
  margin: 0 0 15px;
  padding-left: 0; padding-right: 0;
  background-color: #ccc;
  color: #000;
  text-align: center;
  border: 0;
  font-size: 15px;
}
.prop-right-buttons .content-button:hover { background-color: #000; color: #ccc; }

/* "About" band runs edge to edge behind the container */
.prop-about {
  position: relative;
  padding: 60px 0;
}
.prop-about::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background-image: url(../images/round-bg-1.png);
  z-index: -1;
}
.prop-about h2, .property-details h2 { font-size: 40px; font-weight: 300; line-height: 1.5; margin: 0 0 20px; }
.prop-about p { font-size: 16px; line-height: 30px; margin: 0 0 40px; }
.prop-about p:last-child { margin-bottom: 0; }

.property-details { padding: 60px 0; }
.property-details h2 { margin-bottom: 40px; }
.property-details h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  text-transform: uppercase;
  margin: 0 0 5px;
}
.property-details table { width: 100%; border-collapse: collapse; margin: 10px 0 50px; font-size: 14px; }
.property-details table tr { border-top: 1px solid #ccc; }
.property-details table tr:last-child { border-bottom: 1px solid #ccc; }
.property-details table th,
.property-details table td { width: 25%; padding: 10px 7px; text-align: left; vertical-align: top; }
.property-details table th { font-weight: 400; }
.property-details table td { font-weight: 600; }
.property-details .property-features-table td { width: 75%; line-height: 1.7; }
.prop-courtesy { font-size: 13px; color: #555; margin: -20px 0 0; }

.prop-unavailable { text-align: center; padding: 90px 0 110px; }
.prop-unavailable h1 { font-size: 40px; font-weight: 600; margin: 0 0 15px; }
.prop-unavailable p { font-size: 16px; margin: 0 0 35px; }
.prop-unavailable .content-button { border-color: #222; color: #222; margin: 0 8px 12px; }
.prop-unavailable .content-button:hover { color: #fff; }

/* Contact form + map */
.property-contact { padding: 70px 0; background-image: url(../images/round-bg-1.png); scroll-margin-top: 100px; }
.property-contact .container { border: 1px solid #ccc; box-sizing: content-box; position: relative; padding: 0; background-color: #fff; }
.property-contact .property-contact-form { float: left; width: 50%; background-color: #fff; position: relative; padding: 40px 50px; }
.property-contact .property-contact-map { float: right; width: 50%; }
#prop-map { position: absolute; top: 0; bottom: 0; right: 0; width: 50%; height: 100%; border: 0; }
.property-contact .property-contact-form h4 { font-size: 25px; line-height: 35px; font-weight: 300; margin: 0 0 20px; }
.property-contact form input,
.property-contact form textarea,
.property-contact form select {
  display: block;
  width: 100%;
  margin: 0 0 10px;
  padding: 15px;
  background-color: #fafafa;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.5px;
}
.property-contact form input::placeholder,
.property-contact form textarea::placeholder { font-size: 14px; font-weight: 600; letter-spacing: 0.5px; }
.property-contact form textarea { height: 117px; resize: vertical; }
.property-contact .form-row-2 { display: flex; gap: 2%; }
.property-contact .form-row-2 input { flex: 1; min-width: 0; }
.property-contact form .g-recaptcha { display: flex; justify-content: center; margin-bottom: 0 !important; }
.property-contact form button[type=submit] {
  display: block;
  width: 100%;
  margin: 0 0 20px;
  padding: 15px 0;
  background-color: #08194A;
  color: #fff;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.3s;
}
.property-contact form button[type=submit]:hover { background-color: #343399; }
.property-contact .form-status { display: none; font-size: 14px; margin: 0; }
.property-contact .form-status.is-ok,
.contact-form-box .form-status.is-ok { color: #1e7e34; }
.property-contact .form-status.is-error,
.contact-form-box .form-status.is-error { color: #c0392b; }

/* ============================================================
   USER REVIEWS CAROUSEL — live .user-reviews
   ============================================================ */
.user-reviews {
  text-align: center;
  padding: 40px 0;
  border-top: 3px solid #343399;
  overflow: hidden;
}
.user-reviews h6 {
  font-family: 'Montserrat', sans-serif;
  font-size: 28px;
  font-weight: 500;
  text-transform: uppercase;
  margin: 0 0 10px;
}
#five-stars { height: 40px; }
.carousel-wrapper {
  display: flex;
  align-items: center;
  position: relative;
}
.user-reviews-wrapper {
  overflow: hidden;
  width: 100%;
  margin: 30px 0 0;
  scroll-behavior: smooth;
  position: relative;
}
.user-reviews-inner {
  display: flex;
  transition: transform 0.5s ease;
}
.user-review {
  flex: 0 0 23%;
  margin: 0 10px;
  box-sizing: border-box;
  padding: 10px;
  background-color: #eee;
  font-size: 12px;
  max-height: 200px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: black transparent;
}
.user-review::-webkit-scrollbar { width: 8px; }
.user-review::-webkit-scrollbar-track { background: transparent; }
.user-review::-webkit-scrollbar-thumb { border-radius: 10px; border: 3px solid transparent; background-color: #000; background-clip: padding-box; }
.user-review p {
  margin: 0 0 10px;
  font-size: 12px;
  text-align: left;
}
.user-review span {
  width: 100%;
  display: block;
  text-align: right;
  font-size: 14px;
}

/* ============================================================
   HOME SERVICE BANNER — live
   ============================================================ */
.home-service-banner {
  padding: 80px 0;
  position: relative;
  color: #fff;
  text-align: center;
  background-image: url(../images/page-banners/home-services.png);
  background-size: cover;
  margin-bottom: 40px;
}
.home-service-banner h2 {
  color: #fff;
  font-size: 55px;
  position: relative;
  z-index: 9;
  font-weight: 500;
  text-transform: uppercase;
  margin: 0;
  width: 100%;
  line-height: 55px;
}
.home-service-banner h6 {
  color: #fff;
  font-size: 35px;
  font-weight: 400;
  margin: 0;
  position: relative;
  z-index: 9;
}
.home-service-banner a {
  color: #fff;
  font-weight: 500;
  font-size: 30px;
  padding: 10px 20px;
  border: 1px solid #fff;
  position: relative;
  z-index: 9;
  display: inline-block;
  margin-top: 20px;
  text-transform: uppercase;
}
.home-service-banner a:hover { text-decoration: none; }

/* ============================================================
   HOME SERVICE BLOCKS — live
   ============================================================ */
.home-service-blocks { margin-bottom: 40px; overflow: hidden; }
.home-service-block {
  float: left;
  margin-right: 10%;
  margin-left: 10%;
  width: 30%;
  text-align: center;
  border: 1px solid #000;
  box-sizing: border-box;
}
.home-service-block h4 {
  background-color: #eee;
  font-size: 25px;
  text-transform: lowercase;
  margin: 0;
  padding: 10px 0;
  font-weight: 500;
  width: 100%;
  border-bottom: 1px solid #000;
}
.home-service-block p {
  width: 80%;
  margin-left: 10%;
  line-height: 32px;
  padding: 20px 0;
  margin-bottom: 0;
  font-size: 22px;
  font-family: 'Sorts Mill Goudy', serif;
}
.home-service-block a {
  display: inline-block;
  border: 1px solid #000;
  padding: 10px 20px;
  text-transform: uppercase;
  color: #000;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
}
.home-service-block a:hover { text-decoration: none; }

/* ============================================================
   FOOTER IMAGES STRIP — live
   ============================================================ */
.footer-images {
  display: block;
  overflow: hidden;
}
.footer-images img { float: left; width: 21%; margin-left: 2%; margin-right: 2%; }

/* ============================================================
   FOOTER — live
   ============================================================ */
.footer { background: #fff; }
/* NOTE: no overflow:hidden here — the purple contact block intentionally
   overhangs 160px up over the footer image strip (clearfix div in the
   markup handles float containment instead) */
.footer-top { padding: 50px 0; }
.footer-top-block { float: left; width: 30.6666666666%; box-sizing: border-box; }
.footer-top-block-1 {
  position: relative;
  z-index: 9;
  text-align: center;
  padding: 20px;
  color: #fff;
  margin-top: -160px;
  box-sizing: border-box;
}
.footer-top-block-1 h4 {
  color: #fff;
  font-size: 30px;
  font-weight: 500;
  margin: 0 0 10px;
  line-height: 25px;
}
.footer-lets-connect {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  color: #fff;
  text-transform: uppercase;
  font-weight: 400;
  margin: 0 0 20px;
}
/* sizes measured from the live footer form */
.footer-top-block-1 form {
  width: calc((100% - 20px) * 0.9);
  margin: 0 auto;
}
.footer-top-block-1 input,
.footer-top-block-1 textarea {
  display: block;
  width: 100%;
  height: 32px;
  padding: 5px 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  letter-spacing: normal;
  text-indent: 5px;
  box-sizing: border-box;
  margin: 0 0 14px;
}
.footer-top-block-1 textarea { height: 102px; }
.footer-top-block-1 .g-recaptcha { display: flex; justify-content: center; margin: 0 0 14px !important; }
.footer-top-block-1 button {
  width: 50%;
  margin: 0 auto 26px;
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: normal;
  border: 0;
  background-color: #eee;
  color: #000;
  text-indent: 0;
  text-transform: uppercase;
  padding: 5px 0;
  font-size: 16px;
  cursor: pointer;
}
.footer-top-block-1 button:hover { background: #fff; }
.page-front .footer-top-block-1 button { margin-top: 6px; }   /* live's home footer form sits 6px taller than on inner pages */
.form-status { font-size: 13px; color: #e4d584; margin: 8px 0 0; }
.footer-top-block-2 {
  margin-left: 4%;
  margin-right: 4%;
  width: 40%;
}
.footer-top-block-2-left,
.footer-top-block-2-right {
  float: left;
  width: 50%;
}
.footer-top-block-2 a {
  text-transform: uppercase;
  font-size: 26px;
  display: block;
  width: 100%;
  color: #000;
}
.footer-top-block-2 a:hover { color: #343399; }
.footer-top-block-2-contact {
  margin-top: 30px;
  font-size: 16px;
}
/* phone/address render as plain text on the live site — keep links but style as text */
.footer-top-block-2 .footer-top-block-2-contact a {
  display: inline;
  width: auto;
  font-size: 16px;
  text-transform: none;
  color: #000;
}
.footer-top-block-2 .footer-top-block-2-contact a:hover { color: #343399; }
.footer-top-block-2-contact img { height: 25px; margin-right: 10px; }
.footer-top-block-3 {
  text-align: right;
  width: 21%;
}
.footer-top-block-3 p { text-align: right; margin-bottom: 40px; }

.footer-blue-strip {
  padding: 10px 0;
  color: #fff;
  text-align: center;
}
.footer-blue-strip a {
  color: #fff;
  margin: 0 70px;
  font-size: 16px;
  font-weight: 500;
}
.footer-blue-strip a:hover { opacity: 0.75; }

.footer-bottom { padding: 30px 0 0; }
.footer-bottom p { font-size: 15px; font-weight: 500; }
.footer-bottom p a { color: #000; }
.footer-bottom-3 { overflow: hidden; }
.footer-mls-logo-wrapper { float: left; width: 25%; }
#footer-mls-logo { height: 50px; margin-top: 30px; width: auto; }
.footer-copy {
  display: inline-block;
  text-align: center;
  width: 50%;
  padding-top: 50px;
}
.footer-logo {
  float: right;
  text-align: right;
  padding-top: 25px;
}
.footer-logo img { height: 50px; width: auto; }
#footer-mls-logo { vertical-align: bottom; }   /* no text-line gap under the logo (matches live) */
.page-front #footer-mls-logo { vertical-align: baseline; }   /* …except on live's home page, which keeps it */


/* ============================================================
   CONTENT PAGES (Services, About, Veterans, Buy, Sell)
   live #content equivalents
   ============================================================ */
.content-page-body { padding: 40px 10px; }
/* The live site renders in the browser's legacy ("quirks") mode, where an image
   on a line of its own leaves no gap beneath it. This reproduces that spacing. */
.content-page-body img { vertical-align: bottom; }
.content-page-body p,
.content-page-body ul,
.content-page-body ol {
  font-size: 16px;
  font-weight: 400;
  line-height: 30px;
  margin-bottom: 40px;
}
.content-page-body p a { color: #0053FF; font-weight: 500; }
.content-page-body h4 { margin: 0 0 30px; font-size: 24px; }
.content-page-body h3 { margin: 30px 0 50px; font-size: 34px; }
/* live .node-content-center equivalent — whole content region centered */
.content-centered { text-align: center; }

/* About */
.about-pre-p { }
.staff-block { margin-bottom: 50px; overflow: hidden; }
.staff-block .staff-block-content { float: left; width: 75%; }
.staff-block-even .staff-block-content { float: right; width: 75%; }
.staff-block img { float: right; width: 25%; }
.staff-block-even img { float: left; width: 25%; }
.staff-block .staff-block-grey {
  background-color: #eee;
  padding: 20px;
  margin-top: 30px;
}
.content-page-body .staff-block h4 { font-size: 32px; font-weight: 500; margin: 0 0 10px; text-align: right; }
.content-page-body .staff-block p { font-size: 15px; margin: 0 0 30px; }
.staff-block .staff-block-contact {
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  color: #000;
  padding: 8px;
}
.staff-block .staff-block-contact a { color: #000; }
.staff-block.staff-block-odd .staff-block-contact span:after {
  content: '';
  display: inline-block;
  height: 3px;
  float: right;
  background-color: #343399;
  width: 40%;
  margin-top: 15px;
  margin-left: -130px;
  margin-right: -60px;
}
/* live nudges the rule beside Taylor's (longer) contact line */
.staff-block.staff-block-even.staff-block-taylor-ward .staff-block-contact span:before { margin-left: -110px; }
.staff-block.staff-block-even .staff-block-contact span:before {
  content: '';
  display: inline-block;
  height: 3px;
  float: left;
  background-color: #343399;
  width: 40%;
  margin-top: 15px;
  margin-right: -130px;
  margin-left: -60px;
}
.staff-block.staff-block-even .staff-block-content p { text-align: right; }
.staff-block.staff-block-even .staff-block-content h4 { text-align: right; }

/* Services */
.service-block-4-wrapper { overflow: hidden; }
.service-block-4-wrapper .service-block-4 {
  float: left;
  width: 21%;
  margin-left: 2%;
  margin-right: 2%;
  font-size: 30px;
}
.service-block-4 img { width: 100%; }
.content-page-body .service-block-4 h4 {
  margin: 10px 0 20px;
  font-weight: 500;
  line-height: 33px;
  font-size: 30px;
}
.content-page-body .service-block-4 p {
  margin: 0 0 40px;   /* live keeps the default paragraph spacing here */
  font-style: oblique;
}

.services-block-wrapper {
  width: 90%;
  margin-left: 5%;
  margin-top: 30px;
}
.services-block {
  width: 100%;
  box-sizing: content-box;   /* as on live: the 3px border sits outside the 100% width */
  border: 3px solid #777;
  background-color: #eee;
  overflow: hidden;
}
.services-block-buyers { margin-bottom: 30px; }
.services-block-buyers img { float: right; width: 50%; box-sizing: border-box; }
.services-block-sellers img { float: left; width: 50%; box-sizing: border-box; }
.services-block-buyers .services-block-content { float: left; width: 50%; text-align: left; }
.services-block-sellers .services-block-content { float: right; width: 50%; box-sizing: border-box; text-align: right; }
.services-block .services-block-content { padding: 30px 50px; box-sizing: border-box; }
.services-block h2 { font-size: 35px; margin: 0 0 20px; }
.content-page-body .services-block p { font-size: 18px; line-height: 30px; width: 70%; }
.content-page-body .services-block-sellers p { margin-left: 30%; }
.content-page-body .services-block a {
  color: #000;
  font-size: 24px;
  text-transform: uppercase;
  border: 1px solid #000;
  border-radius: 3px;
  padding: 8px 15px;
  font-weight: 500;
}

/* Blue-line pull paragraphs (Services / Veterans) */
.body-p-blue-line-wrapper {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}
.content-page-body .content-p-left,
.content-page-body .content-p-right {
  width: 74%;
  margin: 10px 0;
  padding: 0;
}
.content-page-body .content-p-left { margin-right: 2%; }
.content-page-body .content-p-right { margin-left: 4%; }
.p-blue-line {
  height: 3px;
  background-color: #343399;
  width: 20%;
  margin: 10px 0;
}

/* Veterans */
.vets-blocks-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.vets-block {
  flex-basis: calc((100% / 4) - 20px);
  text-align: center;
  padding: 20px;
  background-color: #eeeeee;
  box-sizing: border-box;
  border: 2px solid #000;
}
.vets-block h6 { font-size: 24px; font-weight: 500; margin: 0 0 20px; }
.content-page-body .vets-block p { font-size: 14px; line-height: 23px; margin-bottom: 0; }
.vets-resource-title {
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
  font-size: 17px;
  font-weight: 500;
  width: 100%;
  text-align: center;
  margin: 40px 0 20px;
}
.vets-logos-wrapper { padding: 40px 0; overflow: hidden; }
.vets-logos-wrapper a {
  float: left;
  display: inline-block;
  width: 25%;
  padding: 0 70px;
  text-align: center;
  box-sizing: border-box;
}
.vets-logos-wrapper a img { max-width: 100%; max-height: 50px; }
.vets-bottom-h5 {
  font-size: 34px;
  width: 100%;
  text-align: center;
  font-weight: 500;
}

/* Buy / Sell */
.buy-sell-top-content-img { width: 80%; }
.buy-sell-top-sub-content { margin: 50px 0; overflow: hidden; }
.buy-sell-top-sub-content .sub-content-left { float: left; width: 50%; }
.buy-sell-top-sub-content .sub-content-left img { width: 60%; margin-left: 20%; }
.buy-sell-top-sub-content .sub-content-right { float: right; width: 50%; padding-top: 50px; }
.sell-page .sub-content-left { float: right; }
.sell-page .sub-content-right { float: left; padding-top: 0; }
.buy-sell-top-sub-content .sub-content-right p { margin: 0 0 40px; text-align: left; }   /* live keeps the default paragraph spacing */
.buy-sell-top-sub-content .sub-content-right h5 {
  font-size: 38px;
  line-height: 44px;
  text-align: left;
  font-weight: 500;
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
  padding: 20px 0;
  margin: 60px 0;
}
.buy-icon-blocks { padding: 40px 0; overflow: hidden; }
.buy-icon-blocks .buy-icon-block {
  float: left;
  width: 33.3333333333%;
  box-sizing: border-box;
  padding: 0 70px;
  text-align: center;
}
.buy-icon-block img { height: 60px; width: auto; }
.buy-icon-block h6 {
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
  margin: 20px 0;
  font-size: 17px;
  font-weight: 500;
}
.content-page-body .buy-icon-block p { margin: 0 0 40px; }
.buying-steps-1, .buying-steps-2 { width: 100%; }
.buying-steps-2 { margin-left: -2px; width: 89%; }
.selling-steps-2 { margin-right: -2px; }
#buy-congrats, #sell-congrats { }

/* Contact Page — measured from the live page */
/* live leaves 20px under the form before the footer photos */
.contact-page-layout { overflow: hidden; margin-bottom: -20px; }
.contact-info {
  float: left;
  width: 46%;
  text-align: center;
  box-sizing: border-box;
}
.contact-info img { width: 60%; margin-bottom: 20px; }
.contact-address { font-size: 18px; line-height: 27px; }
.contact-address a { color: inherit; }
.contact-form-box {
  float: right;
  width: 46%;
  margin-left: 4%;
  box-sizing: border-box;
  background-color: #fff;
  padding: 50px;
  border: 2px solid #000;
}
.contact-form-box input,
.contact-form-box textarea {
  display: block;
  background: none;
  border: 0;
  border-bottom: 1px solid #000;
  border-radius: 0;
  color: #000;
  padding: 15px 0;
  text-indent: 15px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.5px;
  width: 100%;
  height: 48px;
  margin: 14px 0;
}
.contact-form-box input::placeholder,
.contact-form-box textarea::placeholder {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.contact-form-box textarea { height: 116px; resize: vertical; }
.contact-form-box .g-recaptcha { display: flex; justify-content: center; margin: 14px 0 !important; }
.contact-form-box .form-actions { margin: 14px 0; text-align: center; }   /* Submit sits centred under the reCAPTCHA box */
.contact-form-box button {
  background: none;
  color: #000;
  display: inline-block;
  width: auto;
  padding: 20px 70px;
  text-transform: uppercase;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  line-height: normal;
  margin: 0 0 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s;
}
.contact-form-box button:hover { background: #343399; color: #fff; border-color: #343399; }
.contact-form-box .form-status { display: none; font-size: 14px; margin: 0; text-align: center; }
.form-success { background: #d4edda; color: #155724; padding: 14px; border-radius: 3px; font-size: 14px; margin-top: 10px; display: none; }
.form-error  { background: #f8d7da; color: #721c24; padding: 14px; border-radius: 3px; font-size: 14px; margin-top: 10px; display: none; }

/* ============================================================
   LIGHTBOX — full-screen photo viewer (built by JA.lightbox)
   ============================================================ */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}
.lightbox-overlay.open { display: flex; }
.lightbox-figure {
  margin: 0;
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 0 14px;
}
.lightbox-img { max-width: 90vw; max-height: calc(100vh - 150px); min-height: 0; object-fit: contain; opacity: 0.35; transition: opacity 0.2s; }
.lightbox-meta { width: min(900px, 86vw); padding-top: 14px; text-align: center; color: #fff; }
.lightbox-caption { font-size: 15px; line-height: 1.5; letter-spacing: 0.5px; min-height: 1.5em; }
.lightbox-img.loaded { opacity: 1; }
.lightbox-close {
  position: absolute;
  top: 14px; right: 22px;
  color: #fff; font-size: 40px;
  cursor: pointer; line-height: 1;
  background: none; border: none;
  padding: 6px 12px;
}
.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff; font-size: 28px;
  padding: 15px 20px;
  cursor: pointer;
  border-radius: 3px;
  transition: background 0.2s;
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.3); }
.lightbox-overlay.single .lightbox-prev,
.lightbox-overlay.single .lightbox-next,
.lightbox-overlay.single .lightbox-counter { display: none; }
.lightbox-counter { margin-top: 6px; font-size: 13px; letter-spacing: 2px; color: rgba(255,255,255,0.7); }

/* ============================================================
   RESPONSIVE — live breakpoints: 1400 / 1024 / 580
   ============================================================ */
@media only screen and (max-width: 1400px) {
  .property-contact .container { box-sizing: border-box; }
  .container {
    max-width: none;
    width: 100%;
    padding-left: 2%;
    padding-right: 2%;
  }
  .video-overlay { padding-top: 10px; }
  .video-overlay h1, .video-overlay h2 { font-size: 26px; margin-bottom: 10px; }
  .top-nav-right a { font-size: 16px; margin-left: 35px; }
}

@media only screen and (max-width: 1024px) {
  .top-nav-right a { margin-left: 18px; font-size: 15px; }

  /* hamburger nav */
  #top-nav-hamburger { display: flex; }
  .top-nav-right { display: none; }
  .site-logo { float: right; width: 20%; margin: 0; }

  .header { padding: 20px 0; }
  .header h1 { padding: 20px 0; font-size: 30px; line-height: 30px; }

  .content-page-body p,
  .content-page-body ul,
  .content-page-body ol { font-size: 14px; line-height: 27px; }

  .jan-about img { width: 40%; margin-left: 30%; margin-right: 0; float: none; display: block; }
  .jan-about .jan-about-right { width: 100%; }

  .home-block-wrapper .home-block { width: 31.3333333333%; margin-left: 1%; margin-right: 1%; }
  .home-block-wrapper .home-block h4 { font-size: 22px; line-height: 29px; }
  .home-block-wrapper .home-block a { padding: 10px 0; width: 100%; }

  .user-review { flex: 0 0 30%; }

  .home-service-banner h2 { font-size: 45px; line-height: 50px; }
  .home-service-block { width: 46%; margin-right: 2%; margin-left: 2%; }

  .footer-top-block { width: 100%; margin-bottom: 20px; text-align: center; }
  .footer-top-block-1 { margin-top: 0; }
  .footer-top-block-2 { width: 100%; margin-left: 0; margin-right: 0; }
  .footer-top-block-2-contact { text-align: center; }
  .footer-top-block-3 p { text-align: center; }
  .footer-mls-logo-wrapper { text-align: center; width: 100%; }
  .footer-copy { width: 100%; text-align: center; }
  .footer-bottom-3 .footer-logo { display: none; }

  .content-page-body .content-p-left, .content-page-body .content-p-right { width: 100%; }
  .p-blue-line { display: none; }
  .content-page-body .content-p-right { text-align: left !important; margin-left: 0; }

  .service-block-4-wrapper .service-block-4 { width: 100%; margin-left: 0; margin-right: 0; }
  .services-block h2 { font-size: 26px; }
  .content-page-body .services-block p,
  .content-page-body .services-block-sellers p { font-size: 16px; line-height: 25px; width: 100%; margin-left: 0; }
  .services-block-buyers img, .services-block-sellers img { width: 100%; float: none; }
  .services-block-buyers .services-block-content,
  .services-block-sellers .services-block-content { width: 100%; float: none; text-align: center; }

  .buy-sell-top-sub-content .sub-content-left { display: none; }
  .buy-sell-top-sub-content .sub-content-right { width: 100%; padding-top: 0; }
  .buy-icon-blocks .buy-icon-block { padding: 0 10px; }
  #buy-congrats, #sell-congrats { width: 80%; }

  .staff-block.staff-block-odd .staff-block-contact span:after,
  .staff-block.staff-block-even .staff-block-contact span:before { display: none; }
  .staff-block .staff-block-grey { margin-top: 0; }

  .vets-block { flex-basis: calc((100% / 2) - 20px); }
  .vets-logos-wrapper a { width: 50%; padding: 0 10px; margin-bottom: 50px; }

  .contact-info { width: 100%; margin-bottom: 30px; }
  .contact-form-box { width: 100%; margin-left: 0; }

  /* listing grids — live: 47% columns */
  .property-grid, .property-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 3%; row-gap: 24px; }
  .property-card-price { font-size: 20px; text-indent: 10px; padding-bottom: 8px; }
  .property-card-address, .property-card-city { font-size: 18px; line-height: 22px; }
  .stat-item { font-size: 13px; font-weight: 400; gap: 6px; }

  /* Home Search: filters stack above the results */
  .properties-page-layout { display: block; }
  .properties-sidebar { width: 100%; margin-bottom: 10px; }
  .properties-sidebar form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 3%; }
  .properties-sidebar .filter-sort-label,
  .properties-sidebar .filter-buttons { grid-column: 1 / -1; }
  .properties-sidebar .filter-sort-label { margin: 14px 0 6px; }
  .properties-sidebar .filter-sort-label + .filter-group { grid-column: 1 / -1; }
  .properties-count { padding-top: 20px; }

  /* Property page */
  .prop-page { padding-top: 20px; }
  .prop-top-left { width: 100%; margin-right: 0; float: none; }
  .prop-top-right { width: 100%; margin-top: 20px; float: none; }
  .prop-top-left h1 { font-size: 35px; }
  .prop-top-right .prop-price { font-size: 35px; }
  .prop-top-right-stat-block h6 { font-size: 22px; margin-bottom: 15px; }
  .prop-top-right-stat-block p { font-size: 14px; }
  .prop-page-stat-block h4 { width: 100px; }
  .prop-about { padding: 0; }
  .prop-about::before { display: none; }
  .prop-about h2, .property-details h2 { font-size: 35px; }
  .prop-about p { font-size: 14px; line-height: 27px; }
  .property-details { padding: 40px 0; }
  .property-details table tr { border: none; }
  .property-details table th, .property-details table td { display: block; width: 100%; }
  .property-details table th { padding-bottom: 0; }
  .property-details table td { border-bottom: 1px solid #ccc; padding-top: 2px; }
  .property-details .property-features-table td { width: 100%; }
  .prop-sub-images .prop-sub-image-a { width: 10%; }
  .property-contact .property-contact-form { width: 100%; float: none; }
  .property-contact .property-contact-map { width: 100%; float: none; position: relative; }
  #prop-map { position: relative; width: 100%; height: 250px; display: block; }
}

@media only screen and (max-width: 768px) {
  /* Staff blocks (About page): stack photo below bio — the 75/25 float
     columns are unusably cramped at phone width */
  .staff-block .staff-block-content,
  .staff-block.staff-block-even .staff-block-content { float: none; width: 100%; }
  .staff-block img,
  .staff-block.staff-block-even img { float: none; display: block; width: 70%; max-width: 320px; margin: 18px auto 0; }
  .staff-block .staff-block-contact { padding: 8px; font-size: 17px; overflow-wrap: break-word; }

  /* home search bar wraps: keyword on its own row, then two per row */
  .prop-search-form { flex-wrap: wrap; }
  .prop-search-form .search-keyword { flex: 0 0 100%; }
  .autocomplete-list { min-width: 0; right: 0; }
  .prop-search-form select, .prop-search-form .ja-select, .prop-search-form button { flex: 1 1 45%; }

  /* local home hero (kept): video at natural aspect, purple form below */
  .video-overlay { width: 100%; position: relative; min-height: auto; }
  #home-vid { position: relative; height: auto; }
  .header-home { display: flex; flex-direction: column; }
}

@media only screen and (max-width: 580px) {
  #mobile-nav.open { width: 100%; }

  .header h1 { font-size: 19px; }

  /* footer nav: every link on its own line */
  .footer-top-block-2-left,
  .footer-top-block-2-right { float: none; width: 100%; }

  .home-block-wrapper .home-block { width: 100%; margin-left: 0; margin-right: 0; margin-bottom: 20px; }

  .user-review { flex: 0 0 100%; }

  .home-service-banner h2 { font-size: 35px; line-height: 40px; }
  .home-service-banner a { width: 100%; padding-left: 0; padding-right: 0; font-size: 25px; }
  .home-service-banner h6 { font-size: 27px; }
  .home-service-block { width: 100%; margin-left: 0; margin-right: 0; margin-bottom: 10px; }

  .home-listing-buttons-wrapper .content-button { width: 100%; padding-left: 0; padding-right: 0; margin: 0 0 15px; box-sizing: border-box; }

  .content-page-body p,
  .content-page-body ul,
  .content-page-body ol { margin-bottom: 20px; }

  .buy-sell-top-content-img { width: 100%; }
  .buy-sell-top-sub-content .sub-content-right h5 { font-size: 28px; line-height: 33px; }
  .buy-icon-blocks .buy-icon-block { width: 100%; }

  .vets-block { flex-basis: 100%; }

  .footer-bottom p { font-size: 13px; line-height: 25px; }
  .footer-blue-strip a { margin: 0; display: block; }

  .contact-form-box { padding: 30px 10px; }

  /* listing grids — live: one 80%-wide column */
  .property-grid, .property-grid-4 { grid-template-columns: minmax(0, 1fr); padding-left: 10%; padding-right: 10%; }
  .stat-item { font-size: 13px; }
  .properties-sidebar form { grid-template-columns: minmax(0, 1fr); }
  .pagination a, .pagination .pager-current { padding: 5px 11px; }
  .pagination .pager-word { padding: 5px 8px; }

  /* Property page */
  .prop-top-left h1 { font-size: 26px; }
  .property-sub-title { font-size: 17px; padding-bottom: 20px; margin-bottom: 20px; }
  .prop-page-stat-block { width: 100%; }
  .prop-page-stat-block h4 { width: 130px; }
  .prop-top-left-buttons .content-button { width: 100%; margin-left: 0; margin-right: 0; }
  .prop-top-right { padding: 30px 24px; }
  .prop-sub-images .prop-sub-image-a { width: 20%; }
  .prop-sub-images .prop-sub-image { height: 52px; }
  .prop-about h2, .property-details h2 { font-size: 28px; }
  .property-contact { padding: 40px 0; }
  .property-contact .property-contact-form { padding: 30px 14px; }
  .property-contact .form-row-2 { display: block; }
  .lightbox-prev, .lightbox-next { padding: 10px 13px; }
  .lightbox-prev { left: 6px; }
  .lightbox-next { right: 6px; }
  .lightbox-img { max-width: 100vw; max-height: calc(100vh - 190px); }
  .lightbox-meta { width: 92vw; }
  .lightbox-caption { font-size: 14px; }
}


/* ============================================================
   CITY PAGES  (/cities and /cities/<city>)
   ============================================================ */
.header-city { background-position: center; background-color: #343399; }
.header-cities { background-image: url(../images/inner-banner.jpg); background-position: center; }   /* Dallas skyline */
.header-city h1 { width: 90%; margin-left: 5%; }      /* "City, State" stays on one line */
.banner-credit {
  position: absolute;
  right: 10px; bottom: 6px;
  z-index: 9;
  max-width: 70%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  line-height: 14px;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}
a.banner-credit:hover { color: #fff; text-decoration: underline; }

.filter-more {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 14px;
  margin: 18px 0 0;
  font-size: 14px;
  line-height: 21px;
}
.filter-more a { color: #343399; text-decoration: none; }
.filter-more a:hover { text-decoration: underline; }
.properties-empty a { color: #343399; text-decoration: underline; }
.property-sub-title a { color: inherit; text-decoration: none; }
.property-sub-title a:hover { color: #343399; text-decoration: underline; }
.prop-unavailable .btn-more-info { margin: 0 4px 8px; }

.city-index { padding: 5px 10px 50px; }
.city-index h2 {
  font-family: 'Ovo', serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 27px;
  letter-spacing: 1px;
  color: #000;
  margin: 0 0 20px;
  padding-bottom: 5px;
  border-bottom: 2px solid #000;
}
.city-popular {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-bottom: 45px;
}
.city-popular a {
  display: block;
  padding: 16px 8px;
  border: 1px solid #ccc;
  text-align: center;
  text-decoration: none;
  color: #000;
  transition: border-color 0.2s, color 0.2s;
}
.city-popular a strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  line-height: 22px;
  text-transform: uppercase;
}
.city-popular a span { font-size: 13px; line-height: 20px; color: #666; }
.city-popular a:hover { border-color: #343399; color: #343399; }

.city-letters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 25px; }
.city-letters a {
  min-width: 34px;
  padding: 6px 0;
  border: 1px solid #ccc;
  text-align: center;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  line-height: 20px;
  color: #343399;
}
.city-letters a:hover { background: #343399; border-color: #343399; color: #fff; }

.city-group { margin-bottom: 28px; scroll-margin-top: 120px; }
.city-group h3 {
  margin: 0 0 10px;
  padding-bottom: 4px;
  border-bottom: 1px solid #ccc;
  font-size: 22px;
  font-weight: 600;
  line-height: 30px;
  color: #343399;
}
.city-list { list-style: none; margin: 0; padding: 0; columns: 5; column-gap: 20px; }
.city-list li { break-inside: avoid; padding: 4px 0; font-size: 15px; line-height: 22px; }
.city-list a { color: #000; text-decoration: none; }
.city-list a:hover { color: #343399; text-decoration: underline; }
.city-list span { font-size: 12px; color: #777; }

/* Main menu: "Browse by City" drops down under Home Search */
.top-nav-right .nav-drop {
  position: relative;
  display: inline-block;
  margin-left: 45px;
  padding-bottom: 16px;        /* keeps the menu open while the mouse moves down to it */
  margin-bottom: -16px;
}
.top-nav-right .nav-drop > a { margin-left: 0; }
.top-nav-right .nav-drop > a::after {
  content: '';
  display: inline-block;
  margin-left: 7px;
  vertical-align: middle;
  border: 5px solid transparent;
  border-top-color: currentColor;
  border-bottom-width: 0;
}
.top-nav-right .nav-drop-menu {
  position: absolute;
  top: 100%; left: 0;
  z-index: 120;
  min-width: 210px;
  padding: 6px 0;
  background: #fff;
  border-top: 3px solid #343399;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.14);
  text-align: left;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.2s, visibility 0.2s;
}
.top-nav-right .nav-drop:hover .nav-drop-menu,
.top-nav-right .nav-drop:focus-within .nav-drop-menu { visibility: visible; opacity: 1; }
.top-nav-right .nav-drop-menu a {
  display: block;
  margin: 0;
  padding: 11px 18px;
  font-size: 15px;
  white-space: nowrap;
}
.top-nav-right .nav-drop-menu a:hover { background: #343399; color: #fff; }
#mobile-nav a.mobile-nav-sub { padding: 6px 0 12px 22px; font-size: 17px; color: #ccc; }
#mobile-nav a.mobile-nav-sub::before { content: '3 a0'; }

@media only screen and (max-width: 1400px) {
  .top-nav-right .nav-drop { margin-left: 35px; }
}
@media (max-width: 1024px) {
  .properties-sidebar .filter-more { grid-column: 1 / -1; margin-top: 4px; }
  .city-popular { grid-template-columns: repeat(4, 1fr); }
  .city-list { columns: 3; }
}
@media (max-width: 768px) {
  .banner-credit { font-size: 9px; line-height: 12px; right: 6px; bottom: 3px; max-width: 94%; }
  .city-popular { grid-template-columns: repeat(3, 1fr); }
  .city-popular a { padding: 12px 6px; }
  .city-popular a strong { font-size: 14px; line-height: 20px; }
}
@media (max-width: 580px) {
  .city-popular { grid-template-columns: repeat(2, 1fr); }
  .city-list { columns: 2; column-gap: 14px; }
  .city-list li { font-size: 14px; }
}
