/* ── Homepage redesign: nav bar ───────────── */
#sp-header {
  background: #ffffff !important;
  border-bottom: 1px solid #e0ddd8 !important;
  box-shadow: none !important;
}

.sp-megamenu-parent > li > a {
  color: #0A2540 !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  padding: 8px 14px !important;
}

.sp-megamenu-parent > li > a:hover,
.sp-megamenu-parent > li.active > a {
  color: #8B1A2B !important;
  background: transparent !important;
}

a.navbar-cta {
  background: #8B1A2B !important;
  border-radius: 6px !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  padding: 7px 16px !important;
  margin-left: 8px !important;
  display: inline-block !important;
  line-height: normal !important;
  height: auto !important;
}

nav.sp-megamenu-wrapper ul.sp-megamenu-parent li a.navbar-cta,
nav.sp-megamenu-wrapper ul.sp-megamenu-parent li a.navbar-cta:hover,
nav.sp-megamenu-wrapper ul.sp-megamenu-parent li a.navbar-cta:visited {
  color: #ffffff !important;
  line-height: normal !important;
}

a.navbar-cta:hover {
  background: #6e1422 !important;
}
/* ── Hero Section ────────────────────────── */
.nb-hero-section {
  background: #F7F5F2;
  padding: 60px 40px 50px;
  border-bottom: 1px solid #e0ddd8;
}

.nb-hero-inner {
  max-width: 700px;
  margin: 0 auto;
}

.nb-eyebrow {
  font-size: 11px;
  color: #8B1A2B;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.nb-hero-title {
  font-size: 32px;
  font-weight: 500;
  color: #0A2540;
  line-height: 1.25;
  margin: 0 0 16px;
}

.nb-hero-sub {
  font-size: 15px;
  color: #5a5a58;
  line-height: 1.65;
  margin: 0 0 32px;
  max-width: 580px;
}

.nb-hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.nb-btn-primary {
  background: #0A2540;
  color: #ffffff !important;
  padding: 13px 26px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s;
}

.nb-btn-primary:hover {
  background: #0d3260 !important;
  color: #ffffff !important;
}

.nb-btn-secondary {
  background: transparent;
  color: #0A2540 !important;
  border: 1.5px solid #0A2540;
  padding: 12px 25px;
  border-radius: 6px;
  font-size: 14px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s;
}

.nb-btn-secondary:hover {
  background: #0A2540 !important;
  color: #ffffff !important;
}

a.nb-btn-primary,
a.nb-btn-primary:hover,
a.nb-btn-primary:visited,
a.nb-btn-primary:active {
  color: #ffffff !important;
}

a.nb-btn-secondary,
a.nb-btn-secondary:visited {
  color: #0A2540 !important;
}

a.nb-btn-secondary:hover,
a.nb-btn-secondary:active {
  color: #ffffff !important;
}
/* ── Trust Bar ───────────────────────────── */
.trust-bar .sppb-animated-number-text,
.trust-bar .sppb-addon-animated-number .sppb-animated-number,
.trust-bar .sppb-addon-title,
.trust-bar .sppb-addon-animated-number-suffix {
  color: #ffffff !important;
}

.trust-bar .sppb-animated-number {
  color: #5DCAA5 !important;
  font-size: 28px !important;
  font-weight: 500 !important;
}
/* ── Free Valuation button override ─────── */
a.navbar-cta {
  padding: 6px 14px !important;
  line-height: 1.2 !important;
  height: auto !important;
  font-size: 12px !important;
}

/* ── Free Valuation button size fix ─────── */
.sp-megamenu-parent > li > a.navbar-cta {
  line-height: 1.2 !important;
  padding: 6px 14px !important;
  height: auto !important;
  display: inline-block !important;
  vertical-align: middle !important;
}
.sp-megamenu-parent > li:has(> a.navbar-cta) {
  line-height: 1.2 !important;
  height: auto !important;
  display: flex !important;
  align-items: center !important;
}
/* ── Override maroon section headings ────── */
.sppb-section-title h2 {
  color: #0A2540 !important;
}

.sppb-section-title h3 {
  color: #0A2540 !important;
}

h2.sppb-addon-title {
  color: #0A2540 !important;
}

h3.sppb-addon-title {
  color: #0A2540 !important;
}
/* — Individual Listing Pages —————————————— */

/* Page title area */
#sp-page-title {
  background: #0A2540 !important;
  padding: 20px 0 !important;
}

#sp-page-title h1 {
  color: #ffffff !important;
  font-size: 24px !important;
  font-weight: 500 !important;
}

/* Outer wrapper for two-column layout */
.view-article .article-details {
  max-width: 1100px;
  margin: 0 auto;
  padding: 30px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
}

/* Main content column */
.view-article .article-details > * {
  flex: 1 1 620px;
  min-width: 0;
}

/* Sidebar */
.nb-listing-sidebar {
  flex: 0 0 280px;
  background: #f7f9fc;
  border: 1px solid #e0e6ef;
  border-radius: 8px;
  padding: 24px;
  position: sticky;
  top: 20px;
}

.nb-listing-sidebar h3 {
  color: #0A2540 !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  margin-bottom: 16px !important;
  border-bottom: 2px solid #1D9E75;
  padding-bottom: 8px;
}

.nb-listing-sidebar a {
  display: block;
  background: #8B1A2B !important;
  color: #ffffff !important;
  text-align: center;
  padding: 12px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 10px;
  transition: background 0.2s;
}

.nb-listing-sidebar a:hover {
  background: #6e1422 !important;
}

.nb-listing-sidebar a.secondary {
  background: #0A2540 !important;
}

.nb-listing-sidebar a.secondary:hover {
  background: #061829 !important;
}

/* Financial summary table */
.view-article .article-details table {
  background: #0A2540 !important;
  border: none !important;
  border-radius: 8px !important;
  width: 100% !important;
  margin-bottom: 24px !important;
  overflow: hidden !important;
}

.view-article .article-details table td {
  color: #ffffff !important;
  font-size: 13px !important;
  padding: 10px 16px !important;
  border: none !important;
  border-bottom: 1px solid rgba(255,255,255,0.1) !important;
}

.view-article .article-details table td strong,
.view-article .article-details table td b {
  color: #5DCAA5 !important;
}

/* Asking Price highlight */
.view-article .article-details table tr:last-child td {
  background: #8B1A2B !important;
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  border-bottom: none !important;
}

.view-article .article-details table tr:last-child td strong,
.view-article .article-details table tr:last-child td b {
  color: #ffffff !important;
}

/* Article body text */
.view-article .article-details p {
  font-size: 15px !important;
  line-height: 1.7 !important;
  color: #2c2c2a !important;
  margin-bottom: 16px !important;
}

/* CTA Buttons */
.view-article a[href*="contact"],
.view-article .btn,
.view-article input[type="submit"] {
  background: #8B1A2B !important;
  color: #ffffff !important;
  padding: 12px 24px !important;
  border-radius: 6px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  display: inline-block !important;
  margin: 8px 8px 8px 0 !important;
  border: none !important;
  transition: background 0.2s !important;
}

.view-article a[href*="contact"]:hover {
  background: #6e1422 !important;
}

.view-article a[href*="tel"] {
  background: #1D9E75 !important;
  color: #ffffff !important;
  padding: 12px 24px !important;
  border-radius: 6px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  display: inline-block !important;
  margin: 8px 8px 8px 0 !important;
  border: none !important;
  transition: background 0.2s !important;
}

.view-article a[href*="tel"]:hover {
  background: #177a5c !important;
}

/* Social share icons */
.article-ratings-social-share {
  display: none !important;
}

/* Listing image */
.view-article .article-details img {
  max-width: 100% !important;
  border-radius: 8px !important;
  margin-bottom: 20px !important;
}

/* Responsive */
@media (max-width: 768px) {
  .view-article .article-details {
    flex-direction: column;
  }
  .nb-listing-sidebar {
    flex: 1 1 100%;
    position: static;
  }
}
/* Mobile listing page fixes */
@media (max-width: 768px) {
  #sp-page-title h1,
  .view-article h1,
  .page-header h1 {
    font-size: 22px !important;
    margin-bottom: 10px !important;
    padding-bottom: 0 !important;
  }

  .view-article .article-details {
    padding: 10px 15px !important;
  }

  .view-article .article-details table {
    margin-top: 0 !important;
    margin-bottom: 16px !important;
  }
@media (max-width: 768px) {
  #sp-page-title {
    padding: 10px 0 !important;
  }
  
  .view-article .article-details,
  .item-page {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }

  .page-header {
    margin-top: 10px !important;
    margin-bottom: 10px !important;
    padding: 0 15px !important;
  }
@media (max-width: 768px) {
  .sticky-header-placeholder {
    height: 0 !important;
  }

  #sp-page-title {
    min-height: 0 !important;
    height: auto !important;
  }

  section#sp-page-title {
    padding: 5px 0 !important;
    margin: 0 !important;
  }
}
