:root {
  --wp-primary: #2b3990;
  --wp-primary-dark: #202c78;
  --wp-accent: #e50913;
  --wp-ink: #1f2a44;
  --wp-muted: #747d91;
  --wp-line: #e7eaf1;
  --wp-surface: #ffffff;
  --wp-canvas: #f7f8fc;
  --wp-radius: 14px;
  --wp-shadow: 0 10px 30px rgba(31, 42, 68, .08);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  background: var(--wp-canvas);
  color: #4d566b;
}

.wrapper { background: var(--wp-canvas); overflow-x: clip; }

.header-new {
  box-shadow: 0 4px 18px rgba(102, 5, 12, .18);
}

.site-header-spacer {
  display: block;
  height: var(--wp-header-height, 58px);
  width: 100%;
}

.header-new .search-wrapper input {
  border-radius: 9px !important;
  box-shadow: 0 2px 8px rgba(46, 5, 9, .08);
  min-height: 38px;
}

.btn:not(.close),
.btn-thm,
.btn-header,
.wp-btn,
.post-img-btn {
  align-items: center;
  border-radius: 10px !important;
  display: inline-flex;
  font-weight: 700;
  gap: 7px;
  justify-content: center;
  letter-spacing: .1px;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease, color .2s ease, transform .2s ease !important;
}

.btn:not(.close):hover,
.btn-thm:hover,
.btn-header:hover,
.wp-btn:hover,
.post-img-btn:hover {
  box-shadow: 0 8px 18px rgba(31, 42, 68, .16);
  transform: translateY(-2px);
}

.btn:not(.close):focus-visible,
.btn-thm:focus-visible,
.btn-header:focus-visible,
.wp-btn:focus-visible,
.post-img-btn:focus-visible {
  box-shadow: 0 0 0 4px rgba(43, 57, 144, .16) !important;
  outline: none;
}

.btn-primary,
.btn-thm,
.btn-header {
  background: var(--wp-primary) !important;
  border-color: transparent !important;
  color: #fff !important;
}
.btn-primary:hover,
.btn-thm:hover,
.btn-header:hover { background: var(--wp-primary-dark) !important; }
.btn-success { background: #269755 !important; border-color: transparent !important; color: #fff !important; }
.btn-danger { background: #c5222c !important; border-color: transparent !important; color: #fff !important; }
.btn-secondary { background: #556074 !important; border-color: transparent !important; color: #fff !important; }
.btn-outline-secondary { background: #fff !important; border-color: #dce1e9 !important; color: #4f586d !important; }
.btn-outline-secondary:hover { background: #f4f6fa !important; color: var(--wp-primary) !important; }
.btn.is-loading { cursor: wait; opacity: .72; pointer-events: none; }

.wp-swal-popup {
  border: 1px solid var(--wp-line) !important;
  border-radius: 18px !important;
  box-shadow: 0 24px 70px rgba(31, 42, 68, .2) !important;
  padding-bottom: 22px !important;
}
.swal2-popup .swal2-title { color: var(--wp-ink); font-size: 23px; }
.swal2-popup .swal2-html-container { color: #626c80; font-size: 14px; line-height: 1.6; }
.swal2-popup .swal2-styled { border-radius: 10px !important; font-weight: 700 !important; padding: 10px 20px !important; }

.wp-location-modal .modal-dialog { max-width: 820px; }
.wp-location-modal .modal-content {
  border: 0;
  border-radius: 20px;
  box-shadow: 0 28px 80px rgba(22, 30, 52, .24);
  overflow: hidden;
}
.wp-location-modal .modal-header {
  align-items: center;
  background: linear-gradient(135deg, #fafbff, #fff);
  border-bottom: 1px solid var(--wp-line);
  padding: 18px 22px;
}
.wp-location-modal-title { align-items: center; display: flex; gap: 12px; }
.wp-location-modal-title > span {
  align-items: center;
  background: rgba(229, 9, 19, .1);
  border-radius: 12px;
  color: var(--wp-accent);
  display: inline-flex;
  flex: 0 0 42px;
  font-size: 18px;
  height: 42px;
  justify-content: center;
}
.wp-location-modal-title h5 { color: var(--wp-ink); font-size: 18px; font-weight: 800; margin: 0; }
.wp-location-modal-title p { color: var(--wp-muted); font-size: 12px; margin: 2px 0 0; }
.wp-modal-close {
  align-items: center;
  background: #f0f2f7 !important;
  border-radius: 50%;
  color: #4e586c;
  display: inline-flex;
  height: 36px;
  justify-content: center;
  margin: 0 !important;
  opacity: 1;
  padding: 0 !important;
  text-shadow: none;
  width: 36px;
}
.wp-modal-close:hover { background: #e50913 !important; color: #fff; }
.wp-location-modal .modal-body { padding: 20px 22px 22px; }
.wp-location-search { margin-bottom: 14px; position: relative; }
.wp-location-search label { color: var(--wp-ink); font-size: 12px; font-weight: 800; margin-bottom: 7px; }
.wp-location-search-input { position: relative; }
.wp-location-search-input > i { color: #8991a2; left: 15px; position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; }
.wp-location-search-input .form-control { font-size: 14px; height: 48px; padding-left: 42px; }
#mapLocationResults {
  border: 1px solid var(--wp-line);
  border-radius: 11px;
  box-shadow: 0 12px 30px rgba(31,42,68,.14);
  left: 0;
  max-height: 220px;
  overflow-y: auto;
  position: absolute;
  top: calc(100% + 5px);
  width: 100%;
  z-index: 1051;
}
#mapLocationResults .list-group-item { border: 0; border-bottom: 1px solid #edf0f5; color: #4f586d; font-size: 13px; padding: 11px 14px; }
#mapLocationResults .list-group-item:hover { background: #f4f6fc; color: var(--wp-primary); }
.wp-location-map-shell { border: 1px solid #dfe3eb; border-radius: 15px; overflow: hidden; position: relative; }
#mapSearchMap { height: 400px; width: 100%; }
.wp-location-map-tip {
  backdrop-filter: blur(8px);
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 20px;
  bottom: 12px;
  box-shadow: 0 5px 15px rgba(31,42,68,.13);
  color: #4f586d;
  font-size: 11px;
  font-weight: 700;
  left: 12px;
  padding: 7px 11px;
  position: absolute;
  z-index: 2;
}
.wp-location-modal-footer { align-items: center; display: flex; justify-content: space-between; margin-top: 15px; }
.wp-location-modal-footer small { color: var(--wp-muted); font-size: 11px; }
.wp-location-modal-footer .btn { min-height: 43px; padding: 9px 16px; }

.post-editor-card {
  background: #fff;
  border: 1px solid var(--wp-line);
  border-radius: 20px !important;
  box-shadow: 0 18px 50px rgba(31, 42, 68, .1) !important;
  overflow: hidden;
  padding: 0 !important;
}
.post-editor-heading {
  align-items: center;
  background: linear-gradient(135deg, #f7f8ff 0%, #fff 62%, #fff7f7 100%);
  border-bottom: 1px solid var(--wp-line);
  display: flex;
  justify-content: space-between;
  padding: 23px 26px;
}
.post-editor-kicker {
  color: var(--wp-accent);
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.25px;
  margin-bottom: 4px;
  text-transform: uppercase;
}
.post-editor-heading h1 { color: var(--wp-ink); font-size: 25px; font-weight: 800; line-height: 1.25; margin: 0; padding: 0 !important; }
.post-editor-heading p { color: var(--wp-muted); font-size: 12px; margin: 4px 0 0; }
.post-editor-step {
  background: #fff;
  border: 1px solid #e1e5ed;
  border-radius: 20px;
  color: #596276;
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 700;
  padding: 8px 12px;
}
.post-editor-step i { color: #269755; margin-right: 4px; }
#postCreateForm { padding: 24px; }
.post-media-panel {
  background: #f8f9fc;
  border: 1px solid #e7eaf1;
  border-radius: 16px;
  padding: 18px;
}
.post-panel-heading,
.post-form-section-title { align-items: center; display: flex; gap: 10px; }
.post-panel-heading { margin-bottom: 14px; }
.post-panel-heading > span,
.post-form-section-title > i {
  align-items: center;
  background: rgba(43,57,144,.09);
  border-radius: 10px;
  color: var(--wp-primary);
  display: inline-flex;
  flex: 0 0 36px;
  height: 36px;
  justify-content: center;
}
.post-panel-heading h2,
.post-form-section-title h2 { color: var(--wp-ink); font-size: 15px; font-weight: 800; margin: 0; }
.post-panel-heading p,
.post-form-section-title p { color: var(--wp-muted); font-size: 11px; line-height: 1.4; margin: 2px 0 0; }
.upload-box {
  align-items: center;
  background: #fff;
  border: 2px dashed #cdd3df;
  border-radius: 14px;
  color: var(--wp-muted);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 175px;
  overflow: hidden;
  padding: 22px 15px;
  position: relative;
  text-align: center;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.upload-box:hover { background: #f6f7ff; border-color: var(--wp-primary); transform: translateY(-2px); }
.upload-box > i { color: var(--wp-primary); font-size: 34px; margin-bottom: 9px; }
.upload-box strong { color: var(--wp-ink); font-size: 14px; margin-bottom: 3px; }
.upload-box span { font-size: 10px; line-height: 1.45; }
.upload-box .file-input { cursor: pointer; height: 100%; inset: 0; opacity: 0; position: absolute; width: 100%; z-index: 2; }
.admin-banner-upload-box {
  margin: 0;
  min-height: 160px;
}
.admin-banner-preview-wrap {
  margin-top: 12px;
}
.admin-banner-preview {
  align-items: center;
  background: #fff;
  border: 1px solid var(--wp-line);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  grid-template-columns: 124px minmax(0, 1fr) auto;
  padding: 10px;
}
.admin-banner-preview img {
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  display: block;
  object-fit: cover;
  width: 124px;
}
.admin-banner-preview strong {
  color: var(--wp-ink);
  display: block;
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.admin-banner-preview span {
  color: var(--wp-muted);
  display: block;
  font-size: 11px;
  margin-top: 3px;
}
#uploadedPreview { margin-left: -6px; margin-right: -6px; }
#uploadedPreview .image-thumb { padding-left: 6px; padding-right: 6px; }
.image-thumb .card {
  background: #fff;
  border: 2px solid transparent;
  border-radius: 13px;
  box-shadow: 0 6px 16px rgba(31,42,68,.09);
  overflow: hidden;
  position: relative;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.image-thumb .card-img-top { aspect-ratio: 4 / 3; background: #eef1f5; height: auto; object-fit: cover !important; width: 100%; }
.image-thumb.main-image .card { border-color: #efb31d; box-shadow: 0 8px 20px rgba(239,179,29,.2); transform: translateY(-2px); }
.primary-image-badge {
  align-items: center;
  background: #efb31d;
  border-radius: 0 0 9px 0;
  color: #fff;
  display: none;
  font-size: 9px;
  font-weight: 800;
  gap: 4px;
  left: 0;
  padding: 5px 7px;
  position: absolute;
  text-transform: uppercase;
  top: 0;
  z-index: 2;
}
.image-thumb.main-image .primary-image-badge { display: inline-flex; }
.post-img-actions { display: flex; gap: 5px; }
.post-img-btn { border: 0; font-size: 9px; min-height: 31px; padding: 5px 7px; }
.post-img-btn.set-main { background: #eef1f7; color: #505a6e; flex: 1; }
.post-img-btn.remove-image { background: #fff0f1; color: #c5222c; flex: 0 0 31px; padding: 0; }
.image-thumb.main-image .post-img-btn.set-main { background: #fff7db; color: #9a6b00; }
.post-form-panel { padding-left: 24px; }
.post-form-section-title { border-top: 1px solid #edf0f4; margin: 7px 0 16px; padding-top: 18px; }
.post-form-panel .row > .col-lg-12:first-child .post-form-section-title { border-top: 0; margin-top: 0; padding-top: 0; }
.post-form-panel label { color: #3c4558; font-size: 12px; font-weight: 800; margin-bottom: 6px; }
.post-form-panel .form-group { margin-bottom: 15px; }
.post-form-panel .form-control {
  background: #fbfcfe;
  border: 1px solid #dce1e9;
  border-radius: 10px;
  color: #343d50;
  font-size: 13px;
  min-height: 45px;
  padding: 10px 13px;
}
.post-form-panel textarea.form-control { min-height: 120px; resize: vertical; }
.post-form-panel .form-control[readonly] { background: #f0f7f2; color: #39704a; }
.service-row { gap: 8px; }
.service-row .btn { flex: 0 0 44px; margin-left: 0 !important; padding: 0; }
#createPostMap { border: 1px solid #dce1e9; box-shadow: 0 8px 22px rgba(31,42,68,.08); }
.post-editor-actions {
  align-items: center;
  border-top: 1px solid #e7eaf1;
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  padding-top: 20px;
}
#postCreateForm .post-editor-actions .btn { float: none !important; min-height: 46px; min-width: 130px; padding: 10px 18px; }
#postCreateForm .post-editor-actions .btn.btn2,
#postCreateForm .post-editor-actions .btn.btn2:hover,
#postCreateForm .post-editor-actions .btn.btn2:focus,
#postCreateForm .post-editor-actions .btn.btn2:active {
  background: var(--wp-primary) !important;
  border-color: transparent !important;
  color: #fff !important;
}
#postCreateForm .post-editor-actions .btn.btn1,
#postCreateForm .post-editor-actions .btn.btn1:hover,
#postCreateForm .post-editor-actions .btn.btn1:focus {
  background: #fff !important;
  border-color: #d6dce6 !important;
  color: #4f586d !important;
}

.login-dropdown {
  border: 1px solid var(--wp-line);
  border-radius: 12px;
  overflow: hidden;
}

.header-new .header-row { gap: 14px; }
.header-action-button {
  align-items: center;
  background: var(--wp-primary);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 9px;
  color: #fff;
  display: inline-flex;
  font-size: 11px;
  font-weight: 700;
  gap: 6px;
  height: 38px;
  max-width: 170px;
  padding: 0 12px;
  transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
}
.header-action-button:hover { background: var(--wp-primary-dark); box-shadow: 0 6px 14px rgba(20,29,91,.2); color: #fff; transform: translateY(-1px); }
.header-action-button.is-location span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.header-icon-action {
  align-items: center;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 10px;
  color: #fff;
  display: inline-flex;
  flex: 0 0 38px;
  font-size: 16px;
  height: 38px;
  justify-content: center;
  position: relative;
  transition: background .2s ease, transform .2s ease;
}
.header-icon-action:hover { background: #fff; color: var(--wp-accent); transform: translateY(-1px); }
.header-icon-action .badge { right: -6px; top: -7px; }
.header-account {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 9px;
  gap: 7px;
  height: 40px;
  padding: 4px 10px 4px 5px;
}
.header-account .user-avatar { border: 2px solid rgba(255,255,255,.8); height: 30px; object-fit: cover; width: 30px; }
.header-account-name { color: #fff; font-size: 11px; font-weight: 700; max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.header-search-form { position: relative; width: 100%; }
.header-search-leading { color: #7b8496; font-size: 13px; left: 14px; position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; }
.header-new .search-wrapper input {
  background: #fff;
  border: 1px solid rgba(255,255,255,.4) !important;
  border-radius: 10px !important;
  color: #30394d;
  font-size: 13px;
  height: 40px;
  padding: 8px 76px 8px 38px !important;
}
.header-new .search-wrapper input::placeholder { color: #8a92a2; }
.header-search-submit,
.header-search-clear {
  align-items: center;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  height: 30px;
  justify-content: center;
  position: absolute;
  top: 5px;
}
.header-search-submit { background: var(--wp-primary); border-radius: 8px; color: #fff; right: 5px; width: 34px; }
.header-search-submit:hover { background: var(--wp-primary-dark); }
.header-search-clear { background: transparent; color: #8b93a2; right: 42px; width: 28px; }
.header-search-clear:hover { color: var(--wp-accent); }
#suggestions.header-search-suggestions { border: 1px solid #cfd5ea; border-radius: 13px; box-shadow: 0 18px 45px rgba(31,42,68,.17); margin-top: 7px; max-height: min(70vh, 520px); overflow-x: hidden; overflow-y: auto; padding: 7px; }
#suggestions .search-suggestion-heading { color: #8a92a2; font-size: 9px; font-weight: 800; letter-spacing: 1px; padding: 10px 10px 6px; text-transform: uppercase; }
#suggestions a.search-suggestion-item { align-items: center; border: 0; border-radius: 9px; color: #394256; display: flex; font-size: 12px; gap: 10px; min-height: 48px; padding: 7px 9px; }
#suggestions a.search-suggestion-item::before { display: none; }
#suggestions .search-suggestion-icon { align-items:center; background:#f0f2f8; border-radius:8px; color:var(--wp-primary); display:inline-flex; flex:0 0 32px; height:32px; justify-content:center; }
#suggestions .search-suggestion-copy { display:flex; flex:1; flex-direction:column; line-height:1.3; min-width:0; }
#suggestions .search-suggestion-copy strong { color:#242d43; font-size:12px; font-weight:700; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
#suggestions .search-suggestion-copy small { align-items:center; color:#8a92a2; display:flex; font-size:9px; gap:7px; margin-top:2px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
#suggestions .search-suggestion-thumb { background:#eef0f4; border-radius:7px; flex:0 0 38px; height:38px; object-fit:cover; width:38px; }
#suggestions .search-suggestion-rating { color:#64704f; font-weight:700; }
#suggestions .search-suggestion-rating i { color:#efb31d; margin-right:2px; }
#suggestions .search-suggestion-arrow { color:#a3aaba; flex:0 0 auto; }
#suggestions .search-suggestion-selected { align-items:center; background:#f2f4ff; border-radius:9px; color:var(--wp-primary); display:flex; gap:9px; margin:1px 1px 4px; padding:9px 11px; }
#suggestions .search-suggestion-selected > i { align-items:center; background:var(--wp-primary); border-radius:50%; color:#fff; display:flex; height:24px; justify-content:center; width:24px; }
#suggestions .search-suggestion-selected span { display:flex; flex-direction:column; }
#suggestions .search-suggestion-selected strong { font-size:12px; }
#suggestions .search-suggestion-selected small { color:#7e869b; font-size:9px; }
#suggestions a.search-suggestion-item:hover,
#suggestions a.search-suggestion-item.is-keyboard-active { background: #f4f6fb; color: var(--wp-primary); }
#suggestions .search-suggestion-empty { color: #8a92a2; font-size: 12px; padding: 14px; text-align: center; }

.category-nav-shell {
  display: block;
  padding: 8px 0 0;
  position: relative;
  width: 100%;
  z-index: 2;
}

.inner-category-section {
  padding-top: 0 !important;
}

.inner-category-section > .category-nav-shell {
  padding-top: 0;
}

.category-scroll {
  background: rgba(255, 255, 255, .96);
  border: 1px solid var(--wp-line);
  border-radius: 14px;
  box-shadow: 0 7px 22px rgba(31, 42, 68, .06);
  gap: 8px;
  margin: 0 0 12px !important;
  padding: 10px 18px !important;
  position: relative;
  scroll-margin-top: calc(var(--wp-header-height, 58px) + 8px);
  visibility: visible;
  z-index: 2;
}

.category-scroll-label {
  align-items: center;
  color: var(--wp-ink);
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 800;
  gap: 6px;
  padding-right: 5px;
}
.category-scroll-label i { color: var(--wp-accent); }

.category-scroll .scroller-item {
  background: #f8f9fc;
  border: 1px solid #e0e4ec;
  border-radius: 22px;
  color: #515a6e;
  font-size: 13px;
  font-weight: 600;
  margin: 0;
  padding: 6px 13px;
  transition: all .22s ease;
}

.category-scroll .scroller-item:hover,
.category-scroll .scroller-item.is-active {
  background: var(--wp-primary);
  border-color: var(--wp-primary);
  box-shadow: 0 5px 12px rgba(43, 57, 144, .2);
  color: #fff;
  transform: translateY(-1px);
}

.home-results-heading {
  align-items: flex-end;
  display: flex;
  justify-content: space-between;
  margin: 14px 2px 12px;
}
.home-results-kicker {
  color: var(--wp-accent);
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.2px;
  margin-bottom: 3px;
  text-transform: uppercase;
}
.home-results-heading h1 {
  color: var(--wp-ink);
  display: flex;
  flex-wrap: nowrap;
  font-size: 14px;
  font-weight: 800;
  gap: 5px;
  line-height: 1.25;
  margin: 0;
  padding: 0 !important;
  white-space: nowrap;
}

.home-results-location {
  color: #4d566b;
  font-size: 13px;
  font-weight: 700;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.home-results-count {
  background: #fff;
  border: 1px solid var(--wp-line);
  border-radius: 20px;
  color: var(--wp-muted);
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 12px;
}

.home-listings-section { padding: 0 0 34px !important; }
.home-listings-section > .container-fluid { padding-left: 20px; padding-right: 20px; }
.boxes-row { gap: 15px; margin-top: 0 !important; }

.boxes-row > .box,
.featured-slider > .box {
  background: var(--wp-surface);
  border: 1px solid var(--wp-line);
  border-radius: var(--wp-radius) !important;
  box-shadow: 0 7px 22px rgba(31, 42, 68, .07) !important;
  overflow: hidden;
  padding-bottom: 0 !important;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease !important;
}

.boxes-row > .box:hover,
.featured-slider > .box:hover {
  border-color: rgba(43, 57, 144, .25);
  box-shadow: 0 15px 35px rgba(31, 42, 68, .13) !important;
  transform: translateY(-4px) !important;
}

.boxes-row .our_agent,
.featured-slider .our_agent { background: transparent; height: 100%; }
.boxes-row .our_agent .thumb,
.featured-slider .our_agent .thumb { background: linear-gradient(145deg, #eef0f5, #f8f9fb); overflow: hidden; position: relative; }
.boxes-row .our_agent .thumb > a > img,
.featured-slider .our_agent .thumb > a > img {
  aspect-ratio: 4 / 5;
  object-fit: contain;
  transition: transform .35s ease;
  width: 100%;
}
.boxes-row > .box:hover .thumb > a > img,
.featured-slider > .box:hover .thumb > a > img { transform: scale(1.035); }
.boxes-row .our_agent .thumb .overylay .social_icon,
.featured-slider .our_agent .thumb .overylay .social_icon {
  align-items: center;
  backdrop-filter: blur(8px);
  background: rgba(201, 30, 42, .94);
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  bottom: 16px;
  box-shadow: 0 10px 24px rgba(171, 23, 34, .28);
  display: flex;
  gap: 5px;
  justify-content: center;
  left: 50%;
  margin: 0;
  padding: 6px 8px;
  right: auto;
  transform: translateX(-50%);
  width: auto;
}
.boxes-row .our_agent .thumb .overylay .social_icon li,
.featured-slider .our_agent .thumb .overylay .social_icon li { margin: 0 !important; }
.boxes-row .our_agent .thumb .overylay .social_icon a,
.featured-slider .our_agent .thumb .overylay .social_icon a {
  align-items: center;
  border-radius: 50%;
  display: flex;
  height: 31px;
  justify-content: center;
  transition: background-color .2s ease, transform .2s ease;
  width: 31px;
}
.boxes-row .our_agent .thumb .overylay .social_icon a:hover,
.featured-slider .our_agent .thumb .overylay .social_icon a:hover {
  background: rgba(255, 255, 255, .18);
  transform: translateY(-1px);
}
.boxes-row .our_agent .thumb .overylay .social_icon i,
.featured-slider .our_agent .thumb .overylay .social_icon i { font-size: 15px; }

.home-listing-card .our_agent {
  background: transparent;
  height: 100%;
}

.home-listing-card .our_agent .thumb {
  background: linear-gradient(145deg, #eef0f5, #f8f9fb);
  overflow: hidden;
  position: relative;
}

.home-listing-card .our_agent .thumb > a > img {
  aspect-ratio: 4 / 5;
  object-fit: contain;
  transition: transform .35s ease;
  width: 100%;
}

.home-listing-card:hover .thumb > a > img {
  transform: scale(1.035);
}

.home-listing-card .our_agent .thumb .overylay {
  background: transparent !important;
  border-radius: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  opacity: 0;
  pointer-events: none;
  position: absolute !important;
  right: 0 !important;
  top: 0 !important;
  transition: opacity .2s ease;
  z-index: 3;
}

.home-listing-card:hover .our_agent .thumb .overylay,
.home-listing-card .our_agent .thumb:focus-within .overylay {
  opacity: 1;
}

.home-listing-card .our_agent .thumb .overylay .social_icon {
  align-items: center;
  backdrop-filter: blur(8px);
  background: rgba(201, 30, 42, .94) !important;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px !important;
  bottom: 12px !important;
  box-shadow: 0 10px 24px rgba(171, 23, 34, .28);
  display: flex;
  gap: 5px;
  justify-content: center;
  left: 50% !important;
  margin: 0 !important;
  max-width: calc(100% - 24px);
  padding: 6px 8px !important;
  pointer-events: auto;
  position: absolute !important;
  right: auto !important;
  top: auto !important;
  transform: translateX(-50%);
  width: auto !important;
}

.home-listing-card .our_agent .thumb .overylay .social_icon li {
  margin: 0 !important;
}

.home-listing-card .our_agent .thumb .overylay .social_icon a {
  align-items: center;
  border-radius: 50%;
  display: flex;
  height: 31px;
  justify-content: center;
  transition: background-color .2s ease, transform .2s ease;
  width: 31px;
}

.home-listing-card .our_agent .thumb .overylay .social_icon a:hover,
.home-listing-card .our_agent .thumb .overylay .social_icon a:focus {
  background: rgba(255, 255, 255, .18);
  transform: translateY(-1px);
}

.home-listing-card .our_agent .thumb .overylay .social_icon i {
  color: #fff;
  font-size: 15px !important;
}

.boxes-row .details,
.featured-slider .details { padding: 14px 15px 8px; }
.boxes-row .details h4,
.featured-slider .details h4 {
  color: var(--wp-ink);
  font-size: 14px;
  font-weight: normal !important;
  line-height: 1.45;
  min-height: 23px !important;
  padding: 0 0 10px 0 !important;
}
.card-rating {
  align-items: center;
  background: #fff8e8;
  border: 1px solid #f8e4b2;
  border-radius: 999px;
  color: var(--wp-ink);
  display: inline-flex;
  font-size: 11px;
  gap: 5px;
  min-height: 28px;
  padding: 4px 9px;
}
.card-rating i { color: #eeb323; font-size: 13px; }
.card-rating strong { font-size: 12px; font-weight: 800; }
.card-rating span { color: var(--wp-muted); }
.card-contact-icons {
  align-items: center;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-left: 8px;
  margin-top: 8px;
  vertical-align: middle;
}
.card-contact-icon {
  align-items: center;
  background: #f3f5fb;
  border: 1px solid #e2e6f0;
  border-radius: 999px;
  color: var(--wp-primary);
  display: inline-flex;
  font-size: 12px;
  height: 28px;
  justify-content: center;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
  width: 28px;
}
.card-contact-icon:hover,
.card-contact-icon:focus {
  background: var(--wp-accent);
  border-color: var(--wp-accent);
  box-shadow: 0 7px 16px rgba(229, 9, 19, .22);
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
}
.card-contact-icon.is-whatsapp:hover,
.card-contact-icon.is-whatsapp:focus {
  background: #25d366;
  border-color: #25d366;
  box-shadow: 0 7px 16px rgba(37, 211, 102, .24);
}
.boxes-row .card-meta-footer,
.featured-slider .card-meta-footer {
  align-items: center;
  border-top: 1px solid var(--wp-line);
  display: flex;
  gap: 10px;
  justify-content: space-between;
  min-height: 54px;
  padding: 9px 15px !important;
}
.card-owner {
  align-items: center;
  color: #4e586d;
  display: flex;
  font-size: 11px;
  font-weight: 700;
  gap: 7px;
  min-width: 0;
}
.card-owner img {
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(31, 42, 68, .16);
  flex: 0 0 31px;
  height: 31px;
  object-fit: cover;
  width: 31px;
}
.card-owner span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.card-distance {
  align-items: center;
  color: var(--wp-muted);
  display: flex;
  flex: 0 0 auto;
  font-size: 10px;
  font-weight: 700;
  gap: 5px;
  white-space: nowrap;
}
.card-distance i {
  color: var(--wp-accent);
  font-size: 13px;
}

.similar-services-section {
  background: linear-gradient(180deg, #f7f8fb 0%, #fff 100%);
  border-top: 1px solid var(--wp-line);
  padding: 34px 0 46px;
}
.similar-services-section > .container-fluid { padding-left: 20px; padding-right: 20px; }
.similar-services-heading { margin: 0 auto 20px; text-align: center; }
.similar-services-heading span {
  color: var(--wp-accent);
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  margin-bottom: 4px;
  text-transform: uppercase;
}
.similar-services-heading h2 {
  color: var(--wp-ink);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 800;
  margin: 0;
}
.similar-services-empty {
  align-items: center;
  color: var(--wp-muted);
  display: flex;
  flex: 1 1 100%;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
  min-height: 150px;
  text-align: center;
}
.similar-services-empty i { color: var(--wp-accent); font-size: 22px; }
.similar-services-empty p { margin: 0; }

@media (max-width: 767px) {
  .similar-services-section { padding: 26px 0 34px; }
  .similar-services-section > .container-fluid { padding-left: 12px; padding-right: 12px; }
  .similar-services-heading { margin-bottom: 15px; }
}

.form-control {
  border-color: #dfe3eb;
  border-radius: 9px;
}
.form-control:focus {
  border-color: var(--wp-primary);
  box-shadow: 0 0 0 3px rgba(43, 57, 144, .1);
}

.post-detail-card {
  background: #fff;
  border: 1px solid var(--wp-line);
  box-shadow: var(--wp-shadow) !important;
  padding: 22px !important;
}

.post-detail-content { padding-left: 20px; }
.post-detail-eyebrow {
  color: var(--wp-accent);
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.15px;
  margin-bottom: 5px;
  text-transform: uppercase;
}
.post-detail-actions {
  float: right;
  margin: 0 0 12px 15px;
}
.post-detail-actions ul { display: flex; gap: 8px; }
.post-detail-actions ul li { margin: 0 !important; }
.post-detail-actions .post-detail-action {
  align-items: center;
  background: #c91d28;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 10px;
  box-shadow: 0 6px 14px rgba(201, 29, 40, .18);
  color: #fff;
  display: inline-flex;
  height: 40px;
  justify-content: center;
  transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
  width: 40px;
}
.post-detail-actions .post-detail-action:hover {
  background: #a9131d;
  box-shadow: 0 9px 19px rgba(201, 29, 40, .26);
  color: #fff;
  transform: translateY(-2px);
}
.post-detail-actions .post-detail-action span { color: inherit; }
.post-detail-actions .post-detail-action span.text-danger { color: #ffd2d5 !important; }
.post-detail-location {
  align-items: flex-start;
  color: var(--wp-accent) !important;
  display: flex;
  font-size: 13px;
  font-weight: 600;
  gap: 7px;
  margin: 2px 80px 8px 0;
}
.post-detail-location i { font-size: 17px !important; margin-top: 1px; }
.post-detail-title {
  color: var(--wp-ink);
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 800 !important;
  letter-spacing: -.5px;
  line-height: 1.2;
  margin: 0 0 10px;
  padding: 0 !important;
}
.post-rating-summary {
  background: #f8f9fc;
  border: 1px solid #e7eaf1;
  border-radius: 11px;
  display: inline-flex;
  margin: 2px 0 7px;
  padding: 8px 12px;
}
.post-rating-summary .mbp_pagination_comments,
.post-rating-summary .total_review { margin: 0 !important; }
.post-rating-summary .total_review { align-items: center; display: flex !important; gap: 8px; }
.post-rating-score { color: var(--wp-ink); font-size: 15px; }
.post-rating-summary .review_star_list { display: flex; padding-left: 0 !important; }
.post-rating-summary .review_star_list li { margin-right: 2px !important; }
.post-rating-summary .review_star_list i { color: #efb31d; font-size: 13px; }
.post-rating-copy { border-left: 1px solid #dfe3eb; color: var(--wp-muted); font-size: 11px; padding-left: 8px; }
.post-detail-description {
  color: #525b6f;
  font-size: 14px;
  line-height: 1.75;
  margin: 14px 0 18px;
  padding: 0 !important;
  text-align: left !important;
}

.post-services {
  background: linear-gradient(135deg, #f8f9ff 0%, #fff 100%);
  border: 1px solid #e1e5f3;
  border-radius: 14px;
  margin: 17px 0 20px;
  padding: 17px;
}
.post-services-kicker {
  color: var(--wp-accent);
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.2px;
  margin-bottom: 3px;
  text-transform: uppercase;
}
.post-services-title {
  color: var(--wp-ink);
  font-size: 16px;
  font-weight: 800;
  margin: 0;
}
.post-services-subtitle {
  color: var(--wp-muted);
  font-size: 12px;
  margin: 3px 0 13px;
}
.post-services-list {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.post-service-item {
  align-items: center;
  background: #fff;
  border: 1px solid #e5e8f0;
  border-radius: 10px;
  color: #3f485c;
  display: flex;
  font-size: 13px;
  font-weight: 600;
  gap: 9px;
  min-height: 42px;
  padding: 9px 11px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.post-service-item:hover {
  border-color: rgba(43,57,144,.35);
  box-shadow: 0 7px 16px rgba(31,42,68,.08);
  transform: translateY(-1px);
}
.post-service-icon {
  align-items: center;
  background: #eaf7ee;
  border-radius: 50%;
  color: #278443;
  display: inline-flex;
  flex: 0 0 24px;
  height: 24px;
  justify-content: center;
  width: 24px;
}

.post-connect {
  margin-top: 18px;
}

.post-section-card,
.post-reviews-section,
.review-compose-card {
  background: #fff;
  border: 1px solid var(--wp-line);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(31, 42, 68, .07);
  margin-top: 18px;
  padding: 18px;
}

.post-section-heading {
  align-items: center;
  display: flex;
  gap: 11px;
  margin-bottom: 15px;
}

.post-section-heading-icon {
  align-items: center;
  background: rgba(229, 9, 19, .09);
  border-radius: 11px;
  color: var(--wp-accent);
  display: inline-flex;
  flex: 0 0 38px;
  height: 38px;
  justify-content: center;
}

.post-section-heading h2,
.review-compose-card h2 {
  color: var(--wp-ink);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.3;
  margin: 0;
}

.post-section-heading p,
.review-compose-intro {
  color: var(--wp-muted);
  font-size: 12px;
  margin: 2px 0 0;
}

.post-connect-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.post-connect-action {
  align-items: center;
  background: #f8f9fc;
  border: 1px solid #e5e8f0;
  border-radius: 12px;
  color: #343b4c;
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  gap: 8px;
  min-height: 48px;
  padding: 7px 13px 7px 8px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.post-connect-action img { height: 34px; width: 34px; }
.post-connect-icon {
  align-items: center;
  background: #eef0ff;
  border-radius: 50%;
  color: var(--wp-primary);
  display: inline-flex;
  flex: 0 0 34px;
  font-size: 16px;
  height: 34px;
  justify-content: center;
  width: 34px;
}
.post-connect-action:hover {
  border-color: rgba(229, 9, 19, .3);
  box-shadow: 0 7px 18px rgba(31, 42, 68, .09);
  color: var(--wp-accent);
  transform: translateY(-2px);
}

.post-location-card #mapPreviewCard {
  border: 1px solid #e1e5ec;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.35);
}

.post-map-button {
  background: #fff;
  border: 0;
  border-radius: 24px;
  box-shadow: 0 8px 25px rgba(31, 42, 68, .18);
  color: var(--wp-ink);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  left: 50%;
  padding: 11px 19px;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.post-map-button:hover { background: var(--wp-accent); color: #fff; transform: translate(-50%, -50%) scale(1.04); }

.post-reviews-heading { margin-bottom: 12px; }
.post-review-card {
  background: #f8f9fc;
  border: 1px solid #e7eaf1;
  border-radius: 13px;
  margin-top: 10px;
  padding: 14px;
}
.post-review-card .media-body { width: 100%; }
.post-review-topline { align-items: center; display: flex; justify-content: space-between; gap: 12px; }
.post-review-author { align-items: center; display: flex; gap: 10px; }
.post-review-avatar {
  align-items: center;
  background: linear-gradient(135deg, var(--wp-primary), #4f61c3);
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  flex: 0 0 38px;
  font-size: 14px;
  font-weight: 800;
  height: 38px;
  justify-content: center;
}
.post-review-author h3 { color: var(--wp-ink); font-size: 14px; font-weight: 800; margin: 0; }
.post-review-author time { color: var(--wp-muted); font-size: 11px; }
.post-review-stars { display: flex; flex-wrap: nowrap; }
.post-review-stars li { margin-right: 2px !important; }
.post-review-stars i { color: #efb31d; font-size: 13px; }
.post-review-card p { color: #4e576a; font-size: 13px; line-height: 1.65; margin: 12px 0 0; }
.post-review-empty { background: #f8f9fc; border-radius: 12px; color: var(--wp-muted); font-size: 13px; padding: 18px; text-align: center; }

.review-compose-card { background: linear-gradient(145deg, #fff 0%, #fafbff 100%); margin-bottom: 20px; }
.review-compose-card .mbp_comment_form { padding: 0 !important; }
.review-compose-intro { margin-bottom: 17px; }
.review-compose-card .comments_form { margin-top: 0 !important; }
.review-compose-card .form-control {
  background: #fff;
  border: 1px solid #dfe3eb;
  border-radius: 11px;
  box-shadow: none;
  min-height: 48px;
  padding: 12px 14px;
}
.review-compose-card textarea.form-control { min-height: 125px; }
.review-compose-card .form-control:focus { border-color: rgba(43, 57, 144, .6); box-shadow: 0 0 0 3px rgba(43, 57, 144, .09); }
.review-compose-card .btn-thm { border-radius: 10px; min-height: 44px; padding: 10px 19px; }

@media (max-width: 991px) {
  .post-detail-content { padding-left: 15px; padding-top: 8px; }
  .post-detail-card { padding: 16px !important; }
}

@media (max-width: 767px) {
  body { font-size: 15px; }
  .inner-category-section > .container,
  .inner-category-section > .container-fluid { padding-left: 12px; padding-right: 12px; }
  .site-header-spacer { height: var(--wp-header-height, 96px); }
  .category-nav-shell { padding-top: 6px; }
  .category-scroll { border-radius: 11px; margin: 0 0 10px !important; padding: 8px 12px !important; }
  .category-scroll-label { display: none; }
  .category-scroll .scroller-item { font-size: 12px; padding: 5px 11px; }
  .home-results-heading { align-items: flex-start; margin: 12px 1px 10px; }
  .home-results-heading h1 { font-size: 12px; max-width: calc(100vw - 130px); }
  .home-results-location { display: inline-block; flex-basis: auto; font-size: 12px; line-height: 1.35; }
  .home-results-count { font-size: 11px; padding: 5px 9px; }
  .boxes-row { gap: 12px; }
  .boxes-row > .box { margin-bottom: 5px; }
  .boxes-row .our_agent .thumb > a > img { aspect-ratio: 4 / 5; }
  .post-detail-card { border-radius: 14px !important; margin-top: 4px; padding: 12px !important; }
  .post-detail-content { padding: 14px 12px 2px; }
  .post-detail-actions { margin-left: 0; margin-right: 0; }
  .post-detail-actions .post-detail-action { height: 38px; width: 38px; }
  .post-detail-location { line-height: 1.55; margin-right: 68px; }
  .post-detail-title { font-size: 24px; }
  .post-services { padding: 14px; }
  .post-services-list { grid-template-columns: 1fr; }
  .post-service-item { min-height: 40px; }
  .post-section-card,
  .post-reviews-section,
  .review-compose-card { border-radius: 13px; padding: 14px; }
  .post-connect-action { flex: 1 1 calc(50% - 6px); justify-content: flex-start; }
  .post-review-topline { align-items: flex-start; flex-direction: column; }
  .post-review-stars { padding-left: 48px; }
  .wp-location-modal .modal-dialog { margin: 10px; }
  .wp-location-modal .modal-content { border-radius: 15px; }
  .wp-location-modal .modal-header { padding: 14px; }
  .wp-location-modal-title > span { flex-basis: 36px; height: 36px; }
  .wp-location-modal-title h5 { font-size: 16px; }
  .wp-location-modal-title p { display: none; }
  .wp-location-modal .modal-body { padding: 14px; }
  #mapSearchMap { height: 330px; }
  .wp-location-modal-footer { align-items: stretch; flex-direction: column; gap: 10px; }
  .wp-location-modal-footer small { text-align: center; }
  .wp-location-modal-footer .btn { width: 100%; }
  .share-popup { max-width: calc(100vw - 30px); right: 0; width: 275px; }
  .post-editor-card { border-radius: 14px !important; }
  .post-editor-heading { align-items: flex-start; padding: 18px 16px; }
  .post-editor-heading h1 { font-size: 21px; }
  .post-editor-step { display: none; }
  #postCreateForm { padding: 14px; }
  .post-media-panel { margin: 0 0 20px; padding: 14px; }
  .post-form-panel { padding-left: 15px; }
  .upload-box { min-height: 145px; }
  .post-form-section-title { margin-top: 4px; }
  .post-editor-actions { gap: 10px; }
  #postCreateForm .post-editor-actions .btn { flex: 1; min-width: 0; padding-left: 10px; padding-right: 10px; }
  .home-listings-section { padding-bottom: 22px !important; }
  .home-listings-section > .container-fluid { padding-left: 12px; padding-right: 12px; }
}

/* ════════════════════════════════════════════════════════════════
   HOME PAGE: SECTION HEADERS
   ════════════════════════════════════════════════════════════════ */
.home-section {
  margin-top: 26px;
}
.home-section:first-child {
  margin-top: 0;
}

.home-section-header {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 14px;
  min-width: 0;
}

.home-section-title-group {
  align-items: center;
  display: flex;
  gap: 10px;
  min-width: 0;
  white-space: nowrap;
}

.home-section-icon {
  align-items: center;
  background: linear-gradient(135deg, #fff3cd, #ffe08a);
  border-radius: 10px;
  color: #c8860a;
  display: inline-flex;
  flex: 0 0 34px;
  font-size: 14px;
  height: 34px;
  justify-content: center;
}

.home-section-icon--blue {
  background: linear-gradient(135deg, #e8ecff, #d0d7ff);
  color: var(--wp-primary);
}

.home-section-title {
  color: var(--wp-ink);
  font-size: clamp(15px, 1.8vw, 18px);
  font-weight: 800;
  margin: 0;
  white-space: nowrap;
}

.home-section-subtitle {
  background: #f0f3ff;
  border-radius: 20px;
  color: var(--wp-muted);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  white-space: nowrap;
}

.featured-slider-controls {
  display: flex;
  gap: 8px;
}

.featured-slider-btn {
  align-items: center;
  background: #fff;
  border: 1px solid #dfe3eb;
  border-radius: 8px;
  color: var(--wp-primary);
  cursor: pointer;
  display: inline-flex;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.featured-slider-btn:hover {
  background: var(--wp-primary);
  border-color: var(--wp-primary);
  color: #fff;
}

.featured-slider {
  display: grid;
  gap: 16px;
  grid-auto-columns: calc((100% - 64px) / 5);
  grid-auto-flow: column;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 2px 18px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.featured-slider > .box {
  margin: 0;
  scroll-snap-align: start;
  width: auto;
}

.featured-slider .card-meta-footer {
  min-height: 44px;
  padding: 7px 12px !important;
}

.featured-slider .card-owner img {
  flex-basis: 26px;
  height: 26px;
  width: 26px;
}

.featured-slider .card-owner span {
  max-width: 92px;
}

.featured-slider .card-distance {
  font-size: 9px;
}

@media (max-width: 1399px) {
  .featured-slider {
    grid-auto-columns: calc((100% - 48px) / 4);
  }
}

@media (max-width: 991px) {
  .featured-slider {
    grid-auto-columns: calc((100% - 32px) / 3);
  }
}

/* ── Featured card ───────────────────────────────────────────── */
.home-listing-card--featured {
  border-color: rgba(200, 134, 10, .3) !important;
  box-shadow: 0 7px 24px rgba(200, 134, 10, .12) !important;
}
.home-listing-card--featured:hover {
  border-color: rgba(200, 134, 10, .55) !important;
  box-shadow: 0 16px 38px rgba(200, 134, 10, .2) !important;
}

.featured-card-badge {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  border-radius: 0 0 9px 0;
  box-shadow: 0 3px 9px rgba(217, 119, 6, .35);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  left: 0;
  letter-spacing: .5px;
  padding: 4px 10px;
  pointer-events: none;
  position: absolute;
  top: 0;
  z-index: 2;
}
.featured-card-badge i {
  font-size: 9px;
  margin-right: 3px;
}

.home-offer-banner {
  align-items: center;
  background: #111b3f;
  border-radius: 12px;
  box-shadow: 0 14px 35px rgba(31,42,68,.12);
  color: #fff;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin: 6px 0 10px;
  min-height: 150px;
  overflow: hidden;
  padding: 22px 24px;
  position: relative;
  width: 100%;
}

.home-offer-banner:before {
  background: #e50913;
  content: "";
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 6px;
}

.home-offer-copy {
  max-width: 620px;
  position: relative;
  z-index: 1;
}

.home-offer-copy span {
  color: #ffbd45;
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .9px;
  margin-bottom: 7px;
  text-transform: uppercase;
}

.home-offer-copy h3 {
  color: var(--offer-text-color, #fff);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 6px;
}

.home-offer-copy p {
  color: var(--offer-muted-color, rgba(255,255,255,.78));
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 14px;
}

.home-offer-action {
  background: #fff;
  border-radius: 8px;
  color: var(--wp-primary);
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  padding: 10px 14px;
}

.home-offer-banner img {
  border-radius: 10px;
  flex: 0 0 220px;
  height: 118px;
  object-fit: cover;
  position: relative;
  width: 220px;
  z-index: 1;
}

.home-offer-banner--image-left {
  flex-direction: row-reverse;
}

.home-offer-banner--background_image {
  background-position: center;
  background-size: cover;
  min-height: 190px;
}

.home-offer-banner--background_image img {
  display: none;
}

.home-offer-banner--background_image .home-offer-copy {
  max-width: 760px;
}

.home-offer-banner--compact_card {
  background: #fff;
  border: 1px solid #e3e7ef;
  color: #1f2a44;
  min-height: 118px;
  padding: 18px 20px;
}

.home-offer-banner--compact_card:before {
  background: #2b3990;
}

.home-offer-banner--compact_card .home-offer-copy span {
  color: #e50913;
}

.home-offer-banner--compact_card .home-offer-copy h3 {
  color: var(--offer-text-color, #1f2a44);
  font-size: 20px;
}

.home-offer-banner--compact_card .home-offer-copy p {
  color: var(--offer-muted-color, #737c92);
}

.home-offer-banner--compact_card .home-offer-action {
  background: #2b3990;
  color: #fff;
}

.home-offer-banner--compact_card img {
  flex-basis: 150px;
  height: 90px;
  width: 150px;
}

/* ── No-location banner ──────────────────────────────────────── */
.home-offer-banner--full_width_promo {
  justify-content: center;
  min-height: 220px;
  text-align: center;
}

.home-offer-banner--full_width_promo:before {
  background: #ffbd45;
}

.home-offer-banner--full_width_promo .home-offer-copy {
  max-width: 820px;
}

.home-offer-banner--full_width_promo img {
  display: none;
}

.home-offer-banner--minimal_text {
  background: #fff;
  border: 1px dashed #cdd3df;
  box-shadow: none;
  color: #1f2a44;
  min-height: auto;
  padding: 16px 18px;
}

.home-offer-banner--minimal_text:before {
  background: #ffbd45;
}

.home-offer-banner--minimal_text .home-offer-copy span {
  color: #e50913;
}

.home-offer-banner--minimal_text .home-offer-copy h3 {
  color: var(--offer-text-color, #1f2a44);
  font-size: 19px;
}

.home-offer-banner--minimal_text .home-offer-copy p {
  color: var(--offer-muted-color, #606a7e);
}

.home-offer-banner--minimal_text .home-offer-action {
  background: #2b3990;
  color: #fff;
}

.home-no-location-banner {
  align-items: flex-start;
  background: #fff8e6;
  border: 1px solid #f5cf75;
  border-radius: 10px;
  color: #7a5c0a;
  display: flex;
  flex-direction: column;
  font-size: 13px;
  font-weight: 600;
  gap: 10px;
  margin-bottom: 14px;
  padding: 11px 16px;
}

.home-no-location-message {
  align-items: center;
  display: flex;
  gap: 10px;
  line-height: 1.4;
  width: 100%;
}

.home-no-location-message span {
  display: block;
  min-width: 0;
}

.home-no-location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-left: 27px;
}
.home-no-location-banner i {
  color: #d97706;
  flex: 0 0 auto;
  font-size: 17px;
}
.home-no-location-banner a {
  color: var(--wp-primary);
  font-weight: 700;
  text-decoration: underline;
}

.home-location-action {
  background: #2b3990;
  border: 1px solid #2b3990;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  padding: 9px 12px;
  text-decoration: none;
}

.home-location-action:hover,
.home-location-action:focus {
  background: #1f2a73;
  color: #fff;
  text-decoration: none;
}

.home-location-action.is-light {
  background: #fff;
  color: #2b3990;
}

/* ── Empty state ─────────────────────────────────────────────── */
.home-empty-state {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 240px;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
}
.home-empty-icon {
  align-items: center;
  background: #f0f3ff;
  border-radius: 50%;
  color: var(--wp-primary);
  display: flex;
  font-size: 30px;
  height: 68px;
  justify-content: center;
  width: 68px;
}
.home-empty-state h3 {
  color: var(--wp-ink);
  font-size: 20px;
  font-weight: 800;
  margin: 0;
}
.home-empty-state p {
  color: var(--wp-muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  max-width: 400px;
}

/* ── Distance: no-location / pending states ──────────────────── */
.distance-value--none { color: #b5bac5 !important; font-style: italic; }
.distance-value--pending { color: #b5bac5 !important; }

/* ── Card footer tighter on mobile ──────────────────────────── */
@media (max-width: 767px) {
  .home-section { margin-top: 20px; }
  .home-section-title { font-size: 15px; }
  .home-section-subtitle { display: none; }
  .home-section-icon { flex: 0 0 30px; font-size: 12px; height: 30px; }
  .featured-slider-controls { display: none; }
  .featured-slider {
    gap: 10px;
    grid-auto-columns: calc((100% - 20px) / 3);
    padding: 0 1px 14px;
  }
  .featured-slider .home-listing-card--featured {
    border-radius: 12px;
    min-width: 0;
  }
  .featured-slider .our_agent .thumb > a > img {
    aspect-ratio: 1 / 1;
  }
  .featured-slider .details {
    padding: 8px 8px 6px;
  }
  .featured-slider .details h4 {
    font-size: 11px;
    line-height: 1.25;
    min-height: 28px;
  }
  .featured-slider .card-rating,
  .featured-slider .card-meta-footer,
  .featured-slider .overylay {
    display: none !important;
  }
  .featured-slider .card-contact-icons {
    display: flex;
    justify-content: center;
    margin: 7px 0 0;
  }
  .featured-slider .card-contact-icon {
    height: 24px;
    width: 24px;
  }
  .featured-card-badge {
    align-items: center;
    border-radius: 999px;
    bottom: 6px;
    display: inline-flex;
    font-size: 0;
    height: 22px;
    justify-content: center;
    left: auto;
    padding: 0;
    right: 6px;
    top: auto;
    width: 22px;
  }
  .featured-card-badge i { font-size: 11px; margin: 0; }
  .home-offer-banner {
    align-items: flex-start;
    border-radius: 10px;
    flex-direction: column;
    gap: 14px;
    padding: 18px;
  }
  .home-offer-copy h3 { font-size: 18px; }
  .home-offer-banner img {
    flex: auto;
    height: 120px;
    width: 100%;
  }
  .home-offer-banner--image-left {
    flex-direction: column;
  }
  .home-offer-banner--compact_card img {
    height: 110px;
    width: 100%;
  }
  .home-no-location-banner {
    align-items: flex-start;
    flex-wrap: nowrap;
  }
  .home-no-location-message span {
    flex: 1 1 180px;
  }
  .home-no-location-actions {
    padding-left: 27px;
  }
  .home-location-action {
    justify-content: center;
  }
  .home-empty-state { min-height: 180px; padding: 28px 16px; }
  .home-empty-icon { font-size: 24px; height: 56px; width: 56px; }
  .home-empty-state h3 { font-size: 17px; }
  .home-empty-state p { font-size: 13px; }
}

/* ════════════════════════════════════════════════════════════════
   MOBILE LOCATION CHIP (header top-row)
   ════════════════════════════════════════════════════════════════ */
.mobile-location-chip {
  align-items: center;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 20px;
  color: #fff;
  display: none;          /* hidden on desktop */
  font-size: 11px;
  font-weight: 700;
  gap: 5px;
  justify-content: flex-start;
  max-width: 100%;
  overflow: hidden;
  padding: 7px 10px 7px 8px;
  text-decoration: none;
  transition: background .2s;
  white-space: nowrap;
  width: 100%;
}
.mobile-location-chip:hover,
.mobile-location-chip:focus {
  background: rgba(255,255,255,.28);
  color: #fff;
  text-decoration: none;
}
.mobile-location-chip > i.fa-map-marker {
  color: #ffd54f;
  flex: 0 0 auto;
  font-size: 13px;
}
.mobile-location-chip > span {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mobile-location-caret {
  flex: 0 0 auto;
  font-size: 9px;
  opacity: .7;
}

/* Show on mobile, hide on desktop */
@media (max-width: 991px) {
  .mobile-location-chip { display: flex; }
}
@media (min-width: 992px) {
  .mobile-location-chip { display: none !important; }
}

/* Mobile header rows */
@media (max-width: 991px) {
  .top-row {
    align-items: center;
    display: flex;
    gap: 8px;
    justify-content: space-between;
  }
  .top-row .login {
    flex: 0 0 36px;
    font-size: 0;
    width: 36px;
  }
  .top-row .login svg {
    height: 19px;
    width: 19px;
  }
  .top-row .login-dropdown {
    font-size: 13px;
  }
}

/* ════════════════════════════════════════════════════════════════
   ADMIN: PROFILE IMAGE UPLOAD
   ════════════════════════════════════════════════════════════════ */
.admin-avatar-row {
  align-items: center;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.admin-avatar-preview-wrap {
  flex: 0 0 auto;
}

.admin-avatar-preview {
  border: 3px solid #e8ebf1;
  border-radius: 50%;
  display: block;
  height: 90px;
  object-fit: cover;
  transition: border-color .2s;
  width: 90px;
}
.admin-avatar-preview:hover {
  border-color: var(--wp-primary, #2b3990);
}

.admin-avatar-controls {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admin-avatar-remove {
  align-items: center;
  color: #b40710;
  cursor: pointer;
  display: flex;
  font-size: 13px;
  font-weight: 600;
  gap: 6px;
}
.admin-avatar-remove input[type="checkbox"] {
  accent-color: #e50913;
  height: 16px;
  width: 16px;
}

@media (max-width: 767px) {
  .admin-avatar-row { gap: 14px; }
.admin-avatar-preview { height: 72px; width: 72px; }
}

/* WallPosterz focused uplift additions */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6,
.admin-heading h1,
.home-section-title,
.post-detail-title,
.post-editor-heading h1,
.public-profile h1 {
  font-weight: 650 !important;
}

.btn,
.admin-button,
.header-action-button,
.public-profile-button,
.post-img-btn,
.home-location-action {
  align-items: center;
  display: inline-flex;
  font-weight: 600 !important;
  gap: 7px;
  justify-content: center;
  line-height: 1.2;
  white-space: nowrap;
}

.wp-inline-icon {
  align-items: center;
  display: inline-flex;
  gap: 7px;
  justify-content: center;
  min-width: 0;
}

.wp-logo-loader {
  align-items: center;
  background: rgba(255,255,255,.96);
  display: flex;
  inset: 0;
  justify-content: center;
  position: fixed;
  transition: opacity .35s ease, visibility .35s ease;
  z-index: 20000;
}

.wp-logo-loader img {
  animation: wpLogoPulse 1s ease-in-out infinite;
  height: 72px;
  object-fit: contain;
  width: 72px;
}

.wp-native-preloader {
  align-items: center !important;
  background: rgba(255,255,255,.96) !important;
  background-image: none !important;
  display: flex;
  justify-content: center !important;
}

.wp-native-preloader img {
  animation: wpLogoPulse 1s ease-in-out infinite;
  height: auto;
  max-width: min(260px, 72vw);
  object-fit: contain;
  width: 260px;
}

.wp-logo-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

@keyframes wpLogoPulse {
  0%, 100% { transform: scale(.92); opacity: .72; }
  50% { transform: scale(1.04); opacity: 1; }
}

.featured-slider,
.category-scroll,
.home-offer-slider,
.post-gallery-thumbs,
.post-video-strip,
.home-shorts-strip {
  -ms-overflow-style: none;
  scrollbar-width: none !important;
}

.featured-slider::-webkit-scrollbar,
.category-scroll::-webkit-scrollbar,
.home-offer-slider::-webkit-scrollbar,
.post-gallery-thumbs::-webkit-scrollbar,
.post-video-strip::-webkit-scrollbar,
.home-shorts-strip::-webkit-scrollbar {
  display: none;
}

.featured-category-slider {
  grid-auto-columns: minmax(180px, calc((100% - 80px) / 6));
  padding-bottom: 8px;
}

.featured-category-card {
  border-radius: 8px;
  color: #fff;
  display: block;
  aspect-ratio: 2 / 3;
  min-height: 260px;
  overflow: hidden;
  position: relative;
  scroll-snap-align: start;
  text-decoration: none;
}

.featured-category-card:hover {
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
}

.featured-category-card img {
  filter: saturate(1.08);
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  transition: transform .35s ease;
  width: 100%;
}

.featured-category-card:hover img {
  transform: scale(1.05);
}

.featured-category-glow {
  background: linear-gradient(0deg, rgba(0,0,0,.72), rgba(0,0,0,.38) 55%, rgba(0,0,0,0));
  bottom: 0;
  height: 46%;
  left: 0;
  position: absolute;
  right: 0;
}

.featured-category-card strong {
  bottom: 18px;
  font-size: 14px;
  font-weight: 650;
  left: 16px;
  line-height: 1.2;
  max-width: calc(100% - 32px);
  position: absolute;
  z-index: 1;
}

.featured-category-count {
  backdrop-filter: blur(8px);
  background: rgba(255,255,255,.88);
  border-radius: 999px;
  color: #1f2a44;
  font-size: 10px;
  font-weight: 600;
  left: 14px;
  padding: 6px 10px;
  position: absolute;
  top: 14px;
  z-index: 1;
}

.home-offer-slider-frame {
  position: relative;
}

.home-offer-slider {
  display: grid;
  gap: 14px;
  grid-auto-columns: minmax(320px, 72%);
  grid-auto-flow: column;
  margin: 10px 0 14px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
}

.boxes-row > .home-inline-offer-slot {
  background: var(--wp-surface);
  border: 1px solid var(--wp-line);
  border-radius: var(--wp-radius) !important;
  box-shadow: 0 7px 22px rgba(31, 42, 68, .07) !important;
  flex: 0 0 calc(((100% - 60px) / 5) * 2 + 15px);
  height: clamp(500px, 32vw, 620px);
  margin-bottom: 20px;
  min-width: 0;
  overflow: hidden;
  width: calc(((100% - 60px) / 5) * 2 + 15px);
}

.home-inline-offer-slot .home-offer-slider {
  gap: 0;
  grid-auto-columns: 100%;
  height: 100%;
  margin: 0;
  width: 100%;
}

.home-inline-offer-slot .home-offer-slide {
  height: 100%;
}

.home-inline-offer-slot .home-offer-slide img {
  aspect-ratio: auto;
  height: 100%;
  object-fit: cover;
}

.boxes-row > .home-offer-slider {
  flex: 0 0 100%;
  width: 100%;
}

.boxes-row > .home-shorts-section {
  flex: 0 0 100%;
  margin-top: 8px;
  width: 100%;
}

.home-offer-slide {
  border-radius: 8px;
  display: block;
  overflow: hidden;
  scroll-snap-align: start;
}

.home-offer-slide img {
  aspect-ratio: 16 / 5;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.home-offer-arrow {
  align-items: center;
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(31, 42, 68, .12);
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(31, 42, 68, .18);
  color: #1f2a44;
  display: inline-flex;
  height: 38px;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
  width: 38px;
  z-index: 3;
}

.home-offer-arrow:hover {
  background: #2b3990;
  color: #fff;
  transform: translateY(-50%) scale(1.04);
}

.home-offer-arrow.is-prev {
  left: 12px;
}

.home-offer-arrow.is-next {
  right: 12px;
}

.card-video-chip {
  align-items: center;
  background: #eef0ff;
  border-radius: 999px;
  color: #2b3990;
  display: inline-flex;
  font-size: 11px;
  font-weight: 600;
  gap: 5px;
  margin-top: 8px;
  padding: 5px 9px;
}

.card-video-chip:hover {
  background: #2b3990;
  color: #fff;
}

.home-shorts-strip {
  display: grid;
  gap: 14px;
  grid-auto-columns: minmax(150px, 190px);
  grid-auto-flow: column;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 2px 8px;
  scroll-snap-type: x mandatory;
}

.home-short-card {
  background: #111827;
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(31,42,68,.12);
  color: #fff;
  display: block;
  overflow: hidden;
  position: relative;
  scroll-snap-align: start;
}

.home-short-card:hover {
  color: #fff;
  text-decoration: none;
}

.home-short-card video,
.home-short-external-thumb {
  aspect-ratio: 9 / 16;
  background: #111827 center / cover no-repeat;
  display: block;
  object-fit: cover;
  width: 100%;
}

.home-short-external-thumb {
  align-items: center;
  display: flex;
  justify-content: center;
}

.home-short-external-thumb small {
  background: rgba(255,255,255,.92);
  border-radius: 999px;
  color: #1f2a44;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 10px;
}

.home-short-card span {
  align-items: center;
  background: rgba(229,9,19,.94);
  border-radius: 50%;
  display: inline-flex;
  height: 34px;
  justify-content: center;
  left: 12px;
  position: absolute;
  top: 12px;
  width: 34px;
}

.home-short-card strong {
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.82));
  bottom: 0;
  font-size: 13px;
  font-weight: 600;
  left: 0;
  line-height: 1.3;
  padding: 42px 12px 12px;
  position: absolute;
  right: 0;
}

.home-shorts-viewer {
  background: rgba(4, 8, 18, .96);
  display: none;
  inset: 0;
  position: fixed;
  z-index: 20010;
}

.home-shorts-viewer.is-open {
  display: block;
}

.home-shorts-close {
  align-items: center;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  height: 42px;
  justify-content: center;
  position: fixed;
  right: 18px;
  top: 16px;
  width: 42px;
  z-index: 2;
}

.home-shorts-close:hover {
  background: #e50913;
  color: #fff;
}

.home-shorts-reel {
  height: 100dvh;
  overflow-y: auto;
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
  width: 100%;
}

.home-shorts-reel-item {
  align-items: center;
  display: flex;
  height: 100dvh;
  justify-content: center;
  margin: 0;
  padding: 28px 16px;
  position: relative;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.home-shorts-reel-item video,
.home-shorts-reel-item iframe {
  background: #000;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 22px 70px rgba(0,0,0,.45);
  max-width: min(92vw, 460px);
  object-fit: contain;
}

.home-shorts-reel-item video {
  height: min(88dvh, 820px);
  width: auto;
}

.home-shorts-reel-item iframe {
  aspect-ratio: 9 / 16;
  height: min(88dvh, 820px);
  width: min(92vw, 460px);
}

.home-shorts-caption {
  bottom: 28px;
  color: #fff;
  left: 50%;
  max-width: min(92vw, 460px);
  position: absolute;
  transform: translateX(-50%);
  width: 100%;
}

.home-shorts-caption strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 8px;
  text-shadow: 0 2px 8px rgba(0,0,0,.45);
}

.home-shorts-caption a {
  align-items: center;
  background: rgba(255,255,255,.92);
  border-radius: 999px;
  color: #1f2a44;
  display: inline-flex;
  font-size: 12px;
  font-weight: 600;
  padding: 7px 12px;
}

.home-shorts-caption a:hover {
  background: #e50913;
  color: #fff;
}

.post-video-preview-list,
.post-video-strip {
  display: grid;
  gap: 10px;
}

.post-video-thumb {
  align-items: center;
  background: #fff;
  border: 1px solid #e3e7ef;
  border-radius: 8px;
  display: grid;
  gap: 10px;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  padding: 8px;
}

.post-video-thumb.is-external-video {
  align-items: start;
  grid-template-columns: 98px minmax(0, 1fr) auto;
}

.post-video-thumb video,
.post-video-thumb .post-video-mini-embed,
.post-video-placeholder,
.post-video-external-preview {
  align-items: center;
  background: #f1f3f8 center / cover no-repeat;
  border: 0;
  border-radius: 7px;
  color: #2b3990;
  display: flex;
  height: 58px;
  justify-content: center;
  object-fit: cover;
  width: 72px;
}

.post-video-thumb .post-video-mini-embed {
  aspect-ratio: 9 / 16;
  background: #111827;
  display: block;
  height: auto;
  min-height: 152px;
  width: 98px;
}

.post-video-external-preview {
  color: #fff;
  position: relative;
}

.post-video-external-preview::before {
  background: rgba(17,24,39,.35);
  border-radius: inherit;
  content: "";
  inset: 0;
  position: absolute;
}

.post-video-external-preview i {
  position: relative;
}

.post-video-thumb strong,
.post-video-thumb span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.post-video-thumb strong {
  color: #1f2a44;
  font-size: 12px;
  font-weight: 600;
}

.post-video-thumb span {
  color: #737c92;
  font-size: 11px;
}

.post-video-thumb .post-video-external-preview {
  color: #fff;
  display: flex;
  overflow: hidden;
  white-space: normal;
}

.post-video-progress {
  background: #e8ebf2;
  border-radius: 999px;
  height: 7px;
  margin-top: 8px;
  overflow: hidden;
}

.post-video-progress span {
  background: #2b3990;
  display: block;
  height: 100%;
  transition: width .2s ease;
}

.post-video-strip {
  grid-auto-columns: minmax(190px, 260px);
  grid-auto-flow: column;
  overflow-x: auto;
}

.post-video-strip video {
  aspect-ratio: 9 / 16;
  background: #111827;
  border-radius: 8px;
  max-width: 100%;
  object-fit: contain;
  width: 100%;
}

.post-gallery-slide video,
.post-gallery-slide iframe {
  background: #111827;
  border: 0;
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.post-gallery-slide iframe {
  aspect-ratio: 9 / 16;
}

.post-video-fallback-card {
  align-items: center;
  background: #111827;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  justify-content: center;
  min-height: 220px;
  padding: 24px;
  text-align: center;
  width: 100%;
}

.post-video-fallback-card:hover {
  color: #fff;
}

.post-video-fallback-card i {
  font-size: 42px;
}

.post-gallery-thumb--video {
  position: relative;
}

.post-gallery-thumb--video video,
.post-gallery-thumb--video img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.post-gallery-thumb--video > i {
  align-items: center;
  background: #eef1f6;
  color: #2b3990;
  display: flex;
  height: 100%;
  justify-content: center;
  width: 100%;
}

.post-gallery-thumb--video span {
  align-items: center;
  background: rgba(229,9,19,.9);
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  height: 24px;
  justify-content: center;
  left: calc(50% - 12px);
  position: absolute;
  top: calc(50% - 12px);
  width: 24px;
}

.post-map-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
}

.post-map-actions .btn {
  flex: 1 1 0;
  min-width: 0;
}

.post-connect-action[href*="whatsapp"],
.public-profile-button[href*="whatsapp"] {
  background: #25d366 !important;
  color: #fff !important;
}

.post-connect-action[href^="tel"],
.public-profile-button[href^="tel"],
.public-profile-button[href*="/phone"] {
  background: #e50913 !important;
  color: #fff !important;
}

.post-connect-action[href^="mailto"],
.public-profile-button[href^="mailto"],
.public-profile-button[href*="/email"] {
  background: #1a73e8 !important;
  color: #fff !important;
}

.public-profile-actions,
.post-connect-actions {
  align-items: stretch;
}

.public-profile-button i,
.post-connect-action i,
.post-connect-action img {
  flex: 0 0 auto;
}

.post-connect-action span:last-child,
.public-profile-button {
  min-width: 0;
}

.mobile-menu-toggle {
  align-items: center;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
  color: #fff;
  display: none;
  height: 36px;
  justify-content: center;
  margin-right: 8px;
  width: 36px;
}

.mobile-menu-backdrop {
  background: rgba(8, 13, 25, .46);
  inset: 0;
  position: fixed;
  z-index: 10020;
}

.mobile-menu-drawer {
  background: #f4f6fb;
  box-shadow: 18px 0 48px rgba(0,0,0,.24);
  display: flex;
  flex-direction: column;
  height: 100dvh;
  left: 0;
  max-width: 360px;
  overflow-y: auto;
  padding: 16px;
  position: fixed;
  top: 0;
  transform: translateX(-105%);
  transition: transform .26s ease;
  width: min(86vw, 360px);
  z-index: 10030;
}

.mobile-menu-drawer.is-open {
  transform: translateX(0);
}

.mobile-menu-head,
.mobile-menu-profile {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.mobile-menu-head img {
  height: 34px;
  max-width: 170px;
}

.mobile-menu-close {
  align-items: center;
  background: #fff;
  border: 1px solid #e3e7ef;
  border-radius: 50%;
  color: #1f2a44;
  display: inline-flex;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.mobile-menu-profile {
  background: #fff;
  border: 1px solid #e3e7ef;
  border-radius: 8px;
  gap: 12px;
  justify-content: flex-start;
  margin: 18px 0 14px;
  padding: 12px;
}

.mobile-menu-profile img,
.mobile-menu-avatar {
  align-items: center;
  background: #2b3990;
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  flex: 0 0 46px;
  height: 46px;
  justify-content: center;
  object-fit: cover;
  width: 46px;
}

.mobile-menu-profile strong {
  color: #1f2a44;
  display: block;
  font-weight: 650;
}

.mobile-menu-profile a {
  color: #e50913;
  font-size: 12px;
  font-weight: 600;
}

.mobile-menu-links {
  display: grid;
  gap: 8px;
}

.mobile-menu-links a {
  align-items: center;
  background: #fff;
  border: 1px solid #e3e7ef;
  border-radius: 8px;
  color: #1f2a44;
  display: flex;
  gap: 12px;
  padding: 13px 14px;
}

.mobile-menu-links i {
  color: #2b3990;
  text-align: center;
  width: 18px;
}

.mobile-menu-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
}

.mobile-menu-footer-links a {
  color: #687287;
  font-size: 12px;
}

.is-mobile-menu-open {
  overflow: hidden;
}

@media (max-width: 1199px) {
  .boxes-row > .home-inline-offer-slot {
    flex-basis: calc(((100% - 45px) / 4) * 2 + 15px);
    width: calc(((100% - 45px) / 4) * 2 + 15px);
  }
}

@media (max-width: 991px) {
  .top-row .logo {
    align-items: center;
    display: flex;
  }

  .mobile-menu-toggle {
    display: inline-flex;
  }

  .our-agent-single.inner-category-section,
  .post-detail-card,
  .post-location-card,
  #postMap,
  #mapPreviewCard,
  .post-gallery,
  .post-gallery-stage {
    max-width: 100%;
    overflow-x: hidden;
  }

  .post-map-actions {
    gap: 7px;
  }

  .post-map-actions .btn {
    font-size: 11px;
    padding-left: 7px;
    padding-right: 7px;
  }

  .featured-category-slider {
    grid-auto-columns: minmax(155px, 32vw);
  }

  .featured-category-card {
    min-height: 230px;
  }

  .boxes-row > .home-inline-offer-slot {
    flex-basis: 100%;
    height: auto;
    width: 100%;
  }

  .home-offer-slider {
    grid-auto-columns: 88%;
  }

  .home-offer-slide img {
    aspect-ratio: 16 / 7;
  }

  .home-inline-offer-slot .home-offer-slide img {
    aspect-ratio: 16 / 7;
    height: auto;
    min-height: 240px;
  }
}

@media (max-width: 575px) {
  .featured-category-slider {
    grid-auto-columns: minmax(145px, 56vw);
  }

  .featured-category-card strong {
    font-size: 13px;
  }

  .post-video-thumb {
    grid-template-columns: 62px minmax(0, 1fr) auto;
  }

  .post-video-thumb.is-external-video {
    grid-template-columns: 82px minmax(0, 1fr) auto;
  }

  .post-video-thumb video,
  .post-video-thumb .post-video-mini-embed,
  .post-video-placeholder,
  .post-video-external-preview {
    height: 52px;
    width: 62px;
  }

  .post-video-thumb .post-video-mini-embed {
    height: auto;
    min-height: 132px;
    width: 82px;
  }
}
.post-ai-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
    margin: -6px 0 8px;
}
.post-ai-button {
    background: #eef0ff;
    border: 1px solid #d9def8;
    border-radius: 8px;
    color: #2b3990;
    cursor: pointer;
    font-size: 12px;
    font-weight: 800;
    padding: 8px 10px;
}
.post-ai-button:disabled { opacity: .65; }
.image-section-select { font-size: 12px; margin-bottom: 8px; }
.business-hours-grid { display: grid; gap: 10px; }
.business-hour-row {
    align-items: center;
    background: #f8f9fc;
    border: 1px solid #e7ebf2;
    border-radius: 8px;
    display: grid;
    gap: 8px;
    grid-template-columns: 110px 1fr 1fr 90px 1fr;
    padding: 10px;
}
.business-hour-row strong { color: #1f2a44; font-size: 13px; }
.business-hour-closed,
.offer-active {
    align-items: center;
    color: #596276;
    display: inline-flex;
    font-size: 12px;
    font-weight: 800;
    gap: 6px;
    margin: 0;
}

.auth-uplift {
    background: #f6f7fb;
    min-height: 72vh;
    padding: 64px 16px 90px;
}
.auth-uplift-shell {
    display: grid;
    gap: 22px;
    grid-template-columns: minmax(0, .95fr) minmax(360px, .7fr);
    margin: 0 auto;
    max-width: 1120px;
}
.auth-uplift-panel,
.auth-uplift-card {
    border-radius: 8px;
    box-shadow: 0 18px 48px rgba(31,42,68,.09);
}
.auth-uplift-panel {
    background:
        linear-gradient(135deg, rgba(43,57,144,.95), rgba(31,42,68,.92)),
        url('../images/register.jpg') center / cover no-repeat;
    color: #fff;
    min-height: 520px;
    padding: 44px;
}
.auth-uplift-kicker {
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 999px;
    display: inline-flex;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 20px;
    padding: 8px 12px;
    text-transform: uppercase;
}
.auth-uplift-panel h1 {
    color: #fff;
    font-size: 38px;
    font-weight: 900;
    line-height: 1.14;
    margin: 0 0 16px;
    max-width: 620px;
}
.auth-uplift-panel p {
    color: rgba(255,255,255,.84);
    font-size: 15px;
    line-height: 1.8;
    margin: 0;
    max-width: 620px;
}
.auth-uplift-points {
    display: grid;
    gap: 10px;
    margin-top: 32px;
    max-width: 420px;
}
.auth-uplift-points span {
    align-items: center;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 8px;
    display: flex;
    font-weight: 800;
    gap: 10px;
    padding: 12px 14px;
}
.auth-uplift-card {
    background: #fff;
    border: 1px solid #e3e7ef;
    padding: 34px;
}
.auth-uplift-heading h2 {
    color: #1f2a44;
    font-size: 30px;
    font-weight: 900;
    margin: 0 0 6px;
}
.auth-uplift-heading p {
    color: #737c92;
    margin: 0 0 24px;
}
.auth-uplift-heading a,
.auth-form-row a {
    color: #e50913;
    font-weight: 800;
}
.auth-field {
    margin-bottom: 16px;
}
.auth-field label {
    color: #4f586d;
    display: block;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 7px;
}
.auth-input-wrap {
    align-items: center;
    background: #f8f9fc;
    border: 1px solid #dfe3eb;
    border-radius: 8px;
    display: flex;
    gap: 10px;
    padding: 0 13px;
}
.auth-input-wrap:focus-within {
    border-color: #2b3990;
    box-shadow: 0 0 0 3px rgba(43,57,144,.1);
}
.auth-input-wrap i {
    color: #2b3990;
    width: 16px;
}
.auth-input-wrap .form-control {
    background: transparent;
    border: 0;
    box-shadow: none;
    height: 50px;
    margin: 0;
    padding: 0;
}
.auth-form-row {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin: 4px 0 18px;
}
.auth-check {
    align-items: center;
    color: #596276;
    display: inline-flex;
    font-size: 13px;
    font-weight: 800;
    gap: 8px;
    margin: 0;
}
.auth-check input {
    accent-color: #2b3990;
    height: 17px;
    width: 17px;
}
.auth-check--boxed {
    background: #f8f9fc;
    border: 1px solid #e3e7ef;
    border-radius: 8px;
    margin: 2px 0 16px;
    padding: 12px 13px;
    width: 100%;
}
.auth-submit {
    align-items: center;
    display: inline-flex;
    justify-content: center;
    min-height: 50px;
    text-align: center;
}
.auth-divider {
    align-items: center;
    color: #9299aa;
    display: flex;
    font-size: 12px;
    font-weight: 800;
    gap: 12px;
    margin: 24px 0;
    text-transform: uppercase;
}
.auth-divider::before,
.auth-divider::after {
    background: #e3e7ef;
    content: "";
    flex: 1;
    height: 1px;
}
.auth-social-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.auth-social-button {
    align-items: center;
    border: 1px solid #dfe3eb;
    border-radius: 8px;
    color: #1f2a44;
    display: inline-flex;
    font-weight: 800;
    gap: 8px;
    justify-content: center;
    min-height: 44px;
    padding: 10px;
}
.auth-social-button:hover {
    background: #f6f7fb;
    color: #1f2a44;
}
.auth-social-button.is-facebook i { color: #1877f2; }
.auth-social-button.is-google i { color: #db4437; }

.wp-image-choice-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 12px;
}
.wp-image-choice-grid .wp-image-drop {
    margin: 0;
    min-height: 150px;
}
.search-empty-state {
    align-items: center;
    background: #fff;
    border: 1px solid #e3e7ef;
    border-radius: 8px;
    box-shadow: 0 12px 32px rgba(31,42,68,.07);
    display: flex;
    flex-direction: column;
    margin: 30px auto;
    max-width: 520px;
    padding: 34px 24px;
    text-align: center;
}
.search-empty-state img {
    max-width: 150px;
    width: 100%;
}
.search-empty-icon {
    align-items: center;
    background: #eef0ff;
    border-radius: 50%;
    color: #2b3990;
    display: inline-flex;
    font-size: 26px;
    height: 62px;
    justify-content: center;
    margin: -18px 0 14px;
    width: 62px;
}
.search-empty-state h4 {
    color: #1f2a44;
    font-size: 22px;
    font-weight: 900;
    margin: 0 0 8px;
}
.search-empty-state p {
    color: #737c92;
    margin-bottom: 18px;
}

@media (max-width: 991px) {
    .auth-uplift-shell {
        grid-template-columns: 1fr;
    }
    .auth-uplift-panel {
        min-height: auto;
        padding: 32px;
    }
}

@media (max-width: 575px) {
    .auth-uplift {
        padding: 34px 12px 82px;
    }
    .auth-uplift-panel,
    .auth-uplift-card {
        padding: 24px;
    }
    .auth-uplift-panel h1 {
        font-size: 28px;
    }
    .auth-social-grid,
    .wp-image-choice-grid {
        grid-template-columns: 1fr;
    }
    .auth-form-row {
        align-items: flex-start;
        flex-direction: column;
    }
}
.offer-row {
    background: #f8f9fc;
    border: 1px solid #e7ebf2;
    border-radius: 8px;
    margin-bottom: 10px;
    padding: 12px;
}
.post-detail-tabs {
    background: #fff;
    border: 1px solid #e7ebf2;
    border-radius: 8px;
    display: flex;
    gap: 8px;
    margin: 18px 0;
    overflow-x: auto;
    padding: 8px;
    position: sticky;
    top: 74px;
    z-index: 20;
}
.post-detail-tabs a {
    background: #f6f7fb;
    border-radius: 8px;
    color: #30394f;
    flex: 0 0 auto;
    font-size: 12px;
    font-weight: 800;
    padding: 9px 11px;
}
.post-detail-tabs a:hover,
.post-detail-tabs a.is-active {
    background: #2b3990;
    color: #fff;
}
.post-overview-card { margin-bottom: 16px; }
.post-section-gallery {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
    margin-top: 12px;
}
.post-section-gallery img {
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    object-fit: cover;
    width: 100%;
}

.post-short-video-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(210px, 260px));
    margin-top: 12px;
}
.post-short-video-item {
    background: #f7f8fb;
    border: 1px solid #e3e7ef;
    border-radius: 8px;
    overflow: hidden;
}
.post-short-video-item video,
.post-short-video-item iframe {
    aspect-ratio: 9 / 16;
    background: #111827;
    border: 0;
    display: block;
    height: auto;
    object-fit: contain;
    width: 100%;
}
.post-short-video-item iframe {
    min-height: 360px;
}
.post-short-video-item > span {
    color: #30394f;
    display: block;
    font-size: 12px;
    font-weight: 800;
    padding: 9px 10px;
}
.post-video-source-link {
    border-top: 1px solid #e3e7ef;
    color: #2b3990;
    display: block;
    font-size: 12px;
    font-weight: 800;
    padding: 0 10px 10px;
}
.review-compose-card .btn-thm[type="submit"] {
    align-items: center;
    display: inline-flex;
    gap: 8px;
    justify-content: center;
    line-height: 1.2;
    min-width: 180px;
    text-align: center;
}
.post-gallery-section-title {
    color: #1f2a44;
    font-size: 15px;
    font-weight: 800;
    margin: 16px 0 0;
}
.post-offers-list { display: grid; gap: 10px; }
.post-offer-item {
    background: #fff8eb;
    border: 1px solid #f1d7a8;
    border-radius: 8px;
    padding: 13px;
}
.post-offer-item strong { color: #1f2a44; display: block; font-size: 16px; }
.post-offer-item > span {
    background: #2b3990;
    border-radius: 6px;
    color: #fff;
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    margin: 8px 0;
    padding: 5px 8px;
}
.post-offer-item p { margin: 6px 0; }
.post-offer-item small { color: #7c8498; }
.post-hours-list { display: grid; gap: 8px; }
.post-hour-row {
    align-items: center;
    border-bottom: 1px solid #edf0f5;
    display: flex;
    justify-content: space-between;
    padding: 9px 0;
}
.post-hour-row strong { color: #1f2a44; }
.post-hour-row span { color: #596276; text-align: right; }
.post-hour-row small { color: #8a92a2; display: block; font-size: 11px; }
.pwa-install-prompt {
    align-items: center;
    background: #fff;
    border: 1px solid #dfe4ee;
    border-radius: 8px;
    bottom: 82px;
    box-shadow: 0 18px 45px rgba(31,42,68,.18);
    display: flex;
    gap: 12px;
    max-width: 420px;
    padding: 12px;
    position: fixed;
    right: 18px;
    z-index: 10020;
}
.pwa-install-prompt[hidden] { display: none; }
.pwa-install-prompt strong,
.pwa-install-prompt span { display: block; }
.pwa-install-prompt strong { color: #1f2a44; font-size: 14px; }
.pwa-install-prompt span { color: #667085; font-size: 12px; }
.pwa-install-prompt button {
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 800;
    padding: 8px 10px;
}
#pwaInstallButton { background: #2b3990; color: #fff; }
#pwaInstallDismiss { background: #f1f3f7; color: #4b5568; padding: 8px 9px; }
.header-search-tools {
    align-items: center;
    display: flex;
    gap: 4px;
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
}
.header-search-tool {
    align-items: center;
    background: #f1f3f7;
    border: 0;
    border-radius: 50%;
    color: #2b3990;
    cursor: pointer;
    display: inline-flex;
    height: 30px;
    justify-content: center;
    width: 30px;
}
.gallery-folder-manager {
    background: #fff;
    border: 1px solid #e2e7f0;
    border-radius: 8px;
    margin-bottom: 12px;
    padding: 10px;
}
.gallery-folder-manager label {
    color: #1f2a44;
    display: block;
    font-size: 11px;
    font-weight: 800;
    margin-bottom: 6px;
}
.gallery-folder-control {
    display: grid;
    gap: 7px;
    grid-template-columns: minmax(0, 1fr) 42px;
}
.gallery-folder-control .btn {
    min-width: 0;
    padding: 0;
}
.gallery-folder-chips {
    display: flex;
    gap: 6px;
    margin-top: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
}
.gallery-folder-chip {
    background: #f1f3f8;
    border: 1px solid #dfe4ee;
    border-radius: 999px;
    color: #4f586d;
    cursor: pointer;
    flex: 0 0 auto;
    font-size: 11px;
    font-weight: 800;
    padding: 6px 10px;
}
.gallery-folder-chip.is-active {
    background: #2b3990;
    border-color: #2b3990;
    color: #fff;
}
.image-caption-input {
    font-size: 12px;
    margin-bottom: 8px;
}
.post-contact-bar {
    display: flex;
    gap: 8px;
    margin: 12px 0 14px;
    overflow-x: auto;
    padding-bottom: 3px;
}
.post-contact-pill {
    align-items: center;
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 12px;
    font-weight: 800;
    gap: 7px;
    min-height: 38px;
    padding: 9px 13px;
}
.post-contact-pill:hover {
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}
.post-contact-pill.is-call { background: #e50913; }
.post-contact-pill.is-whatsapp { background: #25d366; }
.post-contact-pill.is-email { background: #1a73e8; }
.post-contact-pill.is-website { background: #2b3990; }
.post-contact-pill.is-directions { background: #4b5568; }
.post-gallery-folder-tabs {
    display: flex;
    gap: 8px;
    margin: 10px 0 14px;
    overflow-x: auto;
    padding-bottom: 3px;
    scroll-behavior: smooth;
}
.post-gallery-folder-tabs a {
    background: #f1f3f8;
    border: 1px solid #dfe4ee;
    border-radius: 999px;
    color: #3d4659;
    flex: 0 0 auto;
    font-size: 12px;
    font-weight: 800;
    padding: 8px 12px;
}
.post-gallery-folder-tabs a.is-active,
.post-gallery-folder-tabs a:hover {
    background: #2b3990;
    border-color: #2b3990;
    color: #fff;
}
.post-gallery-folder-section {
    scroll-margin-top: 140px;
}
.post-section-gallery-item {
    color: #fff;
    display: block;
    overflow: hidden;
    position: relative;
}
.post-section-gallery-item span {
    background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.72));
    bottom: 0;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    left: 0;
    line-height: 1.25;
    padding: 28px 8px 7px;
    position: absolute;
    right: 0;
}
.search-results-panel {
    background: #fff;
    border: 1px solid #e3e7ef;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(31,42,68,.07);
    margin: 12px 0 16px;
    padding: 14px;
}
.search-results-panel--summary {
    padding: 15px 16px;
}
.search-results-heading {
    align-items: center;
    display: flex;
    gap: 14px;
    justify-content: space-between;
}
.search-results-title-group {
    min-width: 0;
}
.search-results-title-group h1 {
    color: #1f2a44;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.25;
    margin: 8px 0 3px;
}
.search-results-title-group p {
    color: #687287;
    font-size: 13px;
    margin: 0;
}
.search-results-title-group p strong {
    color: #1f2a44;
    font-weight: 700;
}
.search-results-form {
    align-items: center;
    display: grid;
    gap: 9px;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
}
.search-results-form > i {
    color: #7a8395;
}
.search-results-form input[type="text"] {
    border: 1px solid #dce1e9;
    border-radius: 8px;
    min-height: 42px;
    padding: 9px 12px;
}
.search-results-voice {
    align-items: center;
    background: #fff2f3;
    border: 1px solid #ffd4d7;
    border-radius: 999px;
    color: #e50913;
    display: inline-flex;
    font-size: 12px;
    font-weight: 800;
    gap: 6px;
    min-height: 38px;
    padding: 8px 12px;
    white-space: nowrap;
}
.search-results-voice.is-image {
    background: #f1f3f7;
    border-color: #dfe3eb;
    color: #4b5568;
}
.search-results-meta {
    align-items: center;
    color: #687287;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 11px;
}
.search-results-meta strong {
    color: #1f2a44;
}
.search-type-badge {
    align-items: center;
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: 11px;
    font-weight: 800;
    gap: 6px;
    padding: 6px 10px;
}
.search-type-badge.is-text { background: #2b3990; }
.search-type-badge.is-voice { background: #e50913; }
.search-type-badge.is-image { background: #4b5568; }
.image-search-summary {
    align-items: center;
    background: #f8f9fc;
    border: 1px solid #e4e8f1;
    border-radius: 8px;
    display: grid;
    gap: 12px;
    grid-template-columns: 84px minmax(0, 1fr) auto;
    margin-top: 12px;
    padding: 10px;
}
.image-search-summary img {
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    object-fit: cover;
    width: 84px;
}
.image-search-summary strong,
.image-search-summary span {
    display: block;
}
.image-search-summary strong { color: #1f2a44; }
.image-search-summary span { color: #667085; font-size: 12px; }
.image-search-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 7px;
}
.image-search-keywords a,
.search-related-cats a {
    background: #eef0ff;
    border-radius: 999px;
    color: #2b3990;
    font-size: 11px;
    font-weight: 800;
    padding: 6px 9px;
}
.search-related-cats {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 12px;
}
.search-related-cats span {
    color: #687287;
    font-size: 12px;
    font-weight: 800;
}
.wp-search-sheet-backdrop {
    background: rgba(8, 13, 25, .46);
    inset: 0;
    position: fixed;
    z-index: 20020;
}
.wp-search-sheet {
    background: #fff;
    border-radius: 18px 18px 0 0;
    bottom: 0;
    box-shadow: 0 -18px 60px rgba(8,13,25,.22);
    left: 0;
    margin: 0 auto;
    max-height: 88dvh;
    max-width: 680px;
    overflow-y: auto;
    padding: 24px;
    position: fixed;
    right: 0;
    transform: translateY(110%);
    transition: transform .25s ease;
    z-index: 20030;
}
.wp-search-sheet.is-open {
    transform: translateY(0);
}
.wp-search-sheet-close {
    align-items: center;
    background: #f1f3f8;
    border: 0;
    border-radius: 50%;
    color: #4b5568;
    display: inline-flex;
    height: 34px;
    justify-content: center;
    position: absolute;
    right: 16px;
    top: 14px;
    width: 34px;
}
.wp-search-sheet h2 {
    color: #1f2a44;
    font-size: 21px;
    font-weight: 800;
    margin: 8px 42px 5px 0;
}
.wp-search-sheet p {
    color: #687287;
    font-size: 13px;
    margin-bottom: 14px;
}
.wp-voice-orb {
    align-items: center;
    background: #e50913;
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    font-size: 28px;
    height: 74px;
    justify-content: center;
    width: 74px;
}
.wp-voice-orb.is-listening {
    animation: wpMicPulse 1.1s ease-in-out infinite;
}
.wp-voice-wave {
    align-items: center;
    display: flex;
    gap: 5px;
    height: 30px;
    margin: 10px 0;
}
.wp-voice-wave span {
    animation: wpWave 1s ease-in-out infinite;
    background: #e50913;
    border-radius: 999px;
    display: block;
    height: 8px;
    width: 6px;
}
.wp-voice-wave span:nth-child(2) { animation-delay: .12s; }
.wp-voice-wave span:nth-child(3) { animation-delay: .24s; }
.wp-voice-wave span:nth-child(4) { animation-delay: .36s; }
.wp-voice-transcript {
    background: #f8f9fc;
    border: 1px solid #e3e7ef;
    border-radius: 8px;
    color: #1f2a44;
    min-height: 50px;
    padding: 12px;
}
.wp-search-sheet-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 14px;
}
.wp-image-drop {
    align-items: center;
    background: #f8f9fc;
    border: 2px dashed #cdd3df;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 6px;
    justify-content: center;
    min-height: 145px;
    padding: 18px;
    text-align: center;
}
.wp-image-drop input {
    display: none;
}
.wp-image-drop i {
    color: #2b3990;
    font-size: 28px;
}
.wp-image-drop strong { color: #1f2a44; }
.wp-image-drop span { color: #687287; font-size: 12px; }
.wp-image-search-preview {
    border-radius: 8px;
    display: block;
    margin: 12px 0;
    max-height: 210px;
    object-fit: contain;
    width: 100%;
}
.wp-image-search-status {
    color: #687287;
    font-size: 13px;
    margin-top: 10px;
}
.admin-media-sections {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.admin-media-section {
    background: #f8f9fc;
    border: 1px solid #e3e7ef;
    border-radius: 8px;
    padding: 12px;
}
.admin-media-section strong,
.admin-media-section span,
.admin-media-section small {
    display: block;
}
.admin-media-section strong { color: #1f2a44; }
.admin-media-section span,
.admin-media-section small { color: #687287; font-size: 12px; }
.admin-media-thumbs {
    display: grid;
    gap: 6px;
    grid-template-columns: repeat(3, 1fr);
    margin: 10px 0;
}
.admin-media-thumbs img {
    aspect-ratio: 1 / 1;
    border-radius: 6px;
    object-fit: cover;
    width: 100%;
}
.is-search-sheet-open {
    overflow: hidden;
}
@keyframes wpMicPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(229,9,19,.28); transform: scale(1); }
    50% { box-shadow: 0 0 0 16px rgba(229,9,19,0); transform: scale(1.04); }
}
@keyframes wpWave {
    0%, 100% { height: 8px; }
    50% { height: 24px; }
}
@media (max-width: 767px) {
    .business-hour-row { grid-template-columns: 1fr 1fr; }
    .business-hour-row strong,
    .business-hour-row input:last-child { grid-column: 1 / -1; }
    .post-detail-tabs { top: 64px; }
    .pwa-install-prompt { bottom: 76px; left: 10px; right: 10px; }
    .search-results-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
    .search-results-title-group h1 { font-size: 17px; }
    .search-results-voice { min-height: 34px; padding: 7px 10px; }
    .image-search-summary { grid-template-columns: 72px minmax(0, 1fr); }
    .image-search-summary .btn { grid-column: 1 / -1; }
    .wp-search-sheet { padding: 22px 16px calc(22px + env(safe-area-inset-bottom)); }
    .post-contact-bar { margin-left: -2px; margin-right: -2px; }
}

/* Final responsive pass */
.alert,
.admin-alert,
.swal2-popup .swal2-html-container {
  font-size: 13px !important;
  line-height: 1.45;
}

.home-section-title,
.page-listing-heading h1,
.home-results-heading h1 {
  font-weight: 600 !important;
}

.page-listing-heading {
  align-items: flex-end;
  display: flex;
  justify-content: space-between;
  margin: 12px 2px 16px;
}

.page-listing-heading h1 {
  color: var(--wp-ink);
  font-size: 20px;
  line-height: 1.25;
  margin: 0;
}

.category-nav-shell {
  position: sticky;
  top: var(--wp-header-height, 58px);
  z-index: 880;
}

.category-scroll {
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-inline: contain;
  touch-action: pan-x;
}

.featured-slider-all {
  align-items: center;
  background: #eef0ff;
  border: 1px solid #d9def8;
  border-radius: 8px;
  color: var(--wp-primary);
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  height: 36px;
  padding: 0 12px;
}
.featured-slider-all:hover { background: var(--wp-primary); color: #fff; }

.all-categories-page {
  padding: 0 0 42px;
}

.all-categories-page > .container-fluid {
  padding-left: 20px;
  padding-right: 20px;
}

.all-categories-grid {
  display: grid;
  gap: 15px;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
}

.all-category-card {
  background: #fff;
  border: 1px solid var(--wp-line);
  border-radius: 8px;
  box-shadow: 0 7px 22px rgba(31, 42, 68, .07);
  color: var(--wp-ink);
  display: block;
  overflow: hidden;
}
.all-category-card:hover { color: var(--wp-primary); transform: translateY(-2px); }
.all-category-card img {
  aspect-ratio: 4 / 3;
  background: #eef0f5;
  display: block;
  object-fit: cover;
  width: 100%;
}
.all-category-card span {
  display: block;
  padding: 12px;
}
.all-category-card strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
}
.all-category-card small {
  color: var(--wp-muted);
  display: block;
  font-size: 11px;
  margin-top: 3px;
}

.header-icon-action,
.header-search-submit,
.header-search-clear,
.header-search-tool,
.mobile-menu-toggle,
.mobile-menu-close,
.wp-modal-close {
  align-items: center;
  aspect-ratio: 1 / 1;
  border-radius: 50% !important;
  display: inline-flex;
  justify-content: center;
}

.header-new .header-row,
.desktop-actions,
.header-account,
.top-row {
  align-items: center;
}

.header-new .search-wrapper input {
  padding-right: 118px !important;
}

.bottom-nav {
  justify-content: space-around;
}

.home-offer-slider {
  -webkit-overflow-scrolling: touch;
}

.home-offer-slide img,
.home-inline-offer-slot .home-offer-slide img {
  background: #f4f6fb;
}

.my-ads-panel {
  border-radius: 8px !important;
}

@supports (-webkit-touch-callout: none) {
  html { scroll-behavior: auto; }
  body { -webkit-overflow-scrolling: touch; }
}

@media (max-width: 991px) {
  :root { --wp-header-height: 132px; }
  .header-new { padding: 8px 10px; }
  .header-new .header-row {
    gap: 8px;
  }
  .top-row {
    gap: 12px;
    justify-content: flex-start;
    width: 100%;
  }
  .top-row .logo {
    flex: 0 1 auto;
    min-width: 0;
    width: auto;
  }
  .top-row .logo a {
    align-items: center;
    display: flex;
  }
  .mobile-menu-toggle {
    flex: 0 0 36px;
    margin: 0;
  }
  .logo img {
    max-width: min(176px, calc(100vw - 116px));
    width: 176px;
  }
  .top-row > .login {
    background: rgba(255,255,255,.16);
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 50%;
    display: flex !important;
    flex: 0 0 36px;
    font-size: 0;
    height: 36px;
    margin-left: auto;
    padding: 0;
    width: 36px;
  }
  .top-row > .login svg {
    height: 18px;
    width: 18px;
  }
  .top-row > .login .user-avatar {
    border: 1px solid rgba(255,255,255,.42);
    border-radius: 50%;
    height: 28px !important;
    object-fit: cover;
    width: 28px !important;
  }
  .top-row > .login .login-dropdown {
    font-size: 13px;
    right: 0;
    top: calc(100% + 10px);
  }
  .search-wrapper {
    width: 100%;
  }
  .mobile-location-chip {
    flex-basis: 100%;
    height: 34px;
  }
  .category-nav-shell {
    top: var(--wp-header-height, 132px);
  }
  .featured-slider-controls {
    display: flex !important;
  }
}

@media (max-width: 767px) {
  :root { --wp-header-height: 130px; }
  .home-listings-section > .container-fluid,
  .all-categories-page > .container-fluid {
    padding-left: 12px;
    padding-right: 12px;
  }
  .page-listing-heading {
    align-items: flex-start;
    gap: 10px;
    margin: 10px 1px 12px;
  }
  .page-listing-heading h1 {
    font-size: 17px;
  }
  .home-section-header {
    align-items: center;
    gap: 10px;
  }
  .home-section-title-group {
    gap: 7px;
  }
  .featured-slider-controls {
    gap: 6px;
  }
  .featured-slider-all {
    font-size: 11px;
    height: 32px;
    padding: 0 9px;
  }
  .featured-slider-btn {
    height: 32px;
    width: 32px;
  }
  .home-offer-slider,
  .home-inline-offer-slot .home-offer-slider {
    grid-auto-columns: 100%;
  }
  .home-offer-slide img,
  .home-inline-offer-slot .home-offer-slide img {
    aspect-ratio: 16 / 9;
    height: auto;
    min-height: 0;
    object-fit: contain;
  }
  .auth-uplift {
    padding-top: 18px;
  }
  .auth-uplift-shell {
    display: flex;
    flex-direction: column;
  }
  .auth-uplift-card {
    order: -1;
  }
  .auth-uplift-panel h1,
  .auth-uplift-heading h2 {
    font-size: 22px;
    font-weight: 600;
  }
  .auth-uplift-panel p,
  .auth-uplift-heading p,
  .auth-field label,
  .auth-check,
  .auth-social-button {
    font-size: 12px;
    font-weight: 600;
  }
  .auth-input-wrap .form-control {
    height: 44px;
  }
  .auth-uplift-panel {
    padding: 20px;
  }
  .auth-uplift-points span {
    font-size: 12px;
    font-weight: 600;
    padding: 9px 10px;
  }
  .all-categories-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .my-ads-table tr {
    background: #fff;
    border: 1px solid #edf0f5;
    border-radius: 8px;
    box-shadow: 0 8px 22px rgba(31,42,68,.06);
    margin: 12px;
  }
  .my-ad-post {
    min-width: 0;
  }
  .my-ad-post img {
    flex: 0 0 66px;
    height: 58px;
    width: 66px;
  }
  .my-ad-title {
    font-size: 13px;
    font-weight: 600;
  }
  .my-ad-actions {
    display: grid;
    grid-template-columns: repeat(3, 36px);
  }
}
