/* =========================================================
   BEST DEALS PAGE
   New page only. Shared navigation, hero, pre-footer, and footer
   inherit the approved Benefits-page styling.
   ========================================================= */

.best-deals-page{
  background:#f6f5f2;
}

.best-deals-page .hero h1{
  max-width:610px;
}

.best-deals-page .hero-lead{
  max-width:610px;
}

/* Dark deal benefits strip */
.deal-pillars{
  background:#061727;
  border-top:1px solid rgba(218,145,25,.55);
  border-bottom:1px solid rgba(218,145,25,.35);
}

.deal-pillar-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
}

.deal-pillar-grid article{
  min-height:132px;
  display:grid;
  grid-template-columns:62px 1fr;
  align-items:center;
  gap:17px;
  padding:25px 28px;
  color:#fff;
  border-right:1px solid rgba(213,146,28,.42);
}

.deal-pillar-grid article:last-child{
  border-right:0;
}

.pillar-icon{
  width:54px;
  height:54px;
  color:#de951a;
}

.pillar-icon svg,
.deal-cta-icon svg{
  width:100%;
  height:100%;
  fill:none;
  stroke:currentColor;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.deal-pillar-grid strong{
  display:block;
  margin-bottom:5px;
  color:#fff;
  font-size:13px;
  line-height:1.15;
  text-transform:uppercase;
}

.deal-pillar-grid p{
  margin:0;
  color:#d6dce2;
  font-size:11px;
  line-height:1.4;
}

/* Recent purchases */
.recent-deals{
  padding:50px 0;
  background:
    radial-gradient(circle at 50% 0,rgba(255,255,255,.96),rgba(255,255,255,0) 45%),
    linear-gradient(180deg,#faf9f7,#f0efec);
}

.deal-section-heading{
  text-align:center;
  margin-bottom:24px;
}

.deal-heading-row{
  display:grid;
  grid-template-columns:minmax(45px,1fr) auto minmax(45px,1fr);
  align-items:center;
  gap:25px;
  max-width:780px;
  margin:0 auto;
}

.deal-heading-row span{
  height:2px;
  background:linear-gradient(90deg,transparent,#cf8d20);
}

.deal-heading-row span:last-child{
  background:linear-gradient(90deg,#cf8d20,transparent);
}

.deal-section-heading h2{
  margin:0;
  color:#071d3e;
  text-transform:uppercase;
  font-size:clamp(25px,2vw,34px);
  letter-spacing:.035em;
  line-height:1;
}

.deal-section-heading p{
  margin:8px 0 0;
  color:#25384e;
  font-size:14px;
}

.purchase-list{
  display:grid;
  gap:16px;
}

.purchase-card{
  display:grid;
  grid-template-columns:35% 34% 31%;
  min-height:328px;
  overflow:hidden;
  background:#f8f8f6;
  border:1px solid #d6d4cf;
  border-radius:8px;
  box-shadow:0 7px 24px rgba(7,29,62,.035);
}

.purchase-photo{
  position:relative;
  min-width:0;
  margin:0;
  overflow:hidden;
  background:#dfe2dd;
}

.purchase-photo img{
  width:100%;
  height:100%;
  min-height:328px;
  display:block;
  object-fit:cover;
}

.purchase-photo figcaption{
  position:absolute;
  top:0;
  left:0;
  padding:8px 15px;
  background:linear-gradient(180deg,#c9891b,#b7700c);
  color:#fff;
  text-transform:uppercase;
  font-size:11px;
  font-weight:800;
  letter-spacing:.03em;
}

.purchase-details{
  padding:23px 25px 18px;
  color:#132842;
  min-width:0;
}

.address-block{
  display:flex;
  gap:11px;
  align-items:flex-start;
  margin-bottom:11px;
}

.address-pin{
  color:#071d3e;
  font-size:27px;
  line-height:1;
}

.address-block h3{
  margin:0;
  color:#071d3e;
  font-size:21px;
  line-height:1.05;
  text-transform:uppercase;
}

.address-block p{
  margin:4px 0 0;
  color:#172b42;
  text-transform:uppercase;
  font-size:11px;
  font-weight:700;
}

.property-specs{
  display:flex;
  align-items:center;
  gap:9px;
  margin:12px 0;
  color:#1a2c3f;
  font-size:11px;
  font-weight:800;
  text-transform:uppercase;
}

.property-specs i{
  width:1px;
  height:13px;
  background:#bc8a30;
}

.property-type{
  display:block;
  margin-bottom:8px;
  color:#172a42;
  font-size:12px;
}

.property-summary{
  margin:0 0 15px;
  color:#29394a;
  font-size:12px;
  line-height:1.45;
}

.investment-breakdown{
  margin:0;
  border-top:1px solid #d0cec8;
  padding-top:8px;
}

.investment-breakdown>div{
  display:flex;
  justify-content:space-between;
  gap:15px;
  padding:2px 0;
}

.investment-breakdown dt,
.investment-breakdown dd{
  margin:0;
  font-size:10px;
  text-transform:uppercase;
}

.investment-breakdown dd{
  color:#071d3e;
  font-weight:800;
}

.investment-breakdown .total{
  margin-top:7px;
  padding-top:8px;
  border-top:1px solid #d0cec8;
  align-items:flex-start;
}

.investment-breakdown .total dt,
.investment-breakdown .total dd{
  color:#b97c13;
  font-size:14px;
  font-weight:900;
}

.investment-breakdown small{
  display:block;
  color:#8b641d;
  font-size:8px;
  text-align:right;
}

/* Financial overview */
.financial-card{
  margin:10px;
  padding:22px 22px 15px;
  align-self:stretch;
  color:#fff;
  background:
    radial-gradient(circle at 10% 0,rgba(28,75,115,.25),transparent 35%),
    linear-gradient(155deg,#061a2d,#020f1d);
  border:1px solid #d09020;
  border-radius:9px;
}

.financial-card h4{
  margin:0 0 17px;
  color:#e29b21;
  text-transform:uppercase;
  font-size:16px;
  letter-spacing:.02em;
}

.financial-card dl{
  margin:0;
}

.financial-card dl>div{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  padding:7px 0;
}

.financial-card dt,
.financial-card dd{
  margin:0;
  font-size:12px;
  text-transform:uppercase;
}

.financial-card dd{
  font-weight:800;
}

.financial-highlight{
  border-top:1px solid rgba(214,144,25,.55);
}

.financial-highlight dd{
  color:#e39b21;
  font-size:25px;
  line-height:1;
}

.standard-box{
  display:flex;
  align-items:center;
  gap:12px;
  margin-top:10px;
  padding:10px 12px;
  border:1px solid #b87d16;
  border-radius:7px;
}

.standard-box>span{
  width:27px;
  height:27px;
  display:grid;
  place-items:center;
  flex:0 0 27px;
  border:2px solid #e1a02a;
  border-radius:50%;
  color:#e1a02a;
  font-weight:900;
}

.standard-box p{
  margin:0;
  color:#fff;
  font-size:10px;
  line-height:1.35;
}

/* CTA directly before the approved pre-footer */
.deal-cta{
  padding:24px 0;
  background:#061727;
  border-top:1px solid rgba(217,139,18,.4);
}

.deal-cta-grid{
  display:grid;
  grid-template-columns:78px 260px 1fr 190px;
  gap:25px;
  align-items:center;
}

.deal-cta-icon{
  width:65px;
  height:65px;
  color:#d9921c;
}

.deal-cta h2{
  margin:0;
  color:#fff;
  font-size:21px;
  line-height:1.15;
  text-transform:uppercase;
  font-weight:500;
  letter-spacing:.04em;
}

.deal-cta h2 span{
  color:#e09a22;
  font-weight:900;
}

.deal-cta p{
  margin:0;
  max-width:560px;
  color:#d8dee4;
  font-size:12px;
  line-height:1.5;
}

.deal-cta-action{
  display:grid;
  justify-items:center;
  gap:5px;
}

.deal-cta-action .btn{
  min-width:176px;
}

.deal-cta-action small{
  color:#fff;
  text-transform:uppercase;
  font-size:9px;
  font-weight:800;
}

/* Responsive */
@media(max-width:1100px){
  .deal-pillar-grid article{
    padding:20px 17px;
  }

  .purchase-card{
    grid-template-columns:34% 37% 29%;
  }

  .purchase-details{
    padding:20px 18px;
  }

  .financial-card{
    padding:20px 16px 14px;
  }

  .deal-cta-grid{
    grid-template-columns:70px 230px 1fr 170px;
    gap:18px;
  }
}

@media(max-width:860px){
  .deal-pillar-grid{
    grid-template-columns:1fr 1fr;
  }

  .deal-pillar-grid article:nth-child(2){
    border-right:0;
  }

  .deal-pillar-grid article:nth-child(-n+2){
    border-bottom:1px solid rgba(213,146,28,.42);
  }

  .purchase-card{
    grid-template-columns:1fr 1fr;
  }

  .purchase-photo{
    min-height:300px;
  }

  .purchase-photo img{
    min-height:300px;
  }

  .financial-card{
    grid-column:1 / -1;
    margin:0 12px 12px;
  }

  .deal-cta-grid{
    grid-template-columns:68px 1fr auto;
  }

  .deal-cta p{
    grid-column:2 / 3;
  }

  .deal-cta-action{
    grid-column:3;
    grid-row:1 / 3;
  }
}

@media(max-width:620px){
  .deal-pillar-grid{
    grid-template-columns:1fr;
  }

  .deal-pillar-grid article{
    border-right:0;
    border-bottom:1px solid rgba(213,146,28,.42);
  }

  .deal-pillar-grid article:last-child{
    border-bottom:0;
  }

  .recent-deals{
    padding:40px 0;
  }

  .deal-heading-row{
    grid-template-columns:25px 1fr 25px;
    gap:10px;
  }

  .deal-section-heading h2{
    font-size:23px;
  }

  .purchase-card{
    grid-template-columns:1fr;
  }

  .purchase-photo,
  .purchase-photo img{
    min-height:260px;
  }

  .financial-card{
    grid-column:auto;
    margin:0 12px 12px;
  }

  .purchase-details{
    padding:20px;
  }

  .address-block h3{
    font-size:19px;
  }

  .deal-cta-grid{
    grid-template-columns:55px 1fr;
  }

  .deal-cta-icon{
    width:50px;
    height:50px;
  }

  .deal-cta h2{
    font-size:18px;
  }

  .deal-cta p,
  .deal-cta-action{
    grid-column:1 / -1;
  }

  .deal-cta-action{
    grid-row:auto;
    justify-items:start;
  }
}


/* =========================================================
   INSIDE PAGE SECTION HEADINGS — EXACT SHARED TREATMENT
   ========================================================= */
.benefits-page .benefits-section-heading,
.how-page .how-heading-row,
.best-deals-page .deal-heading-row{
  display:grid !important;
  grid-template-columns:minmax(45px,1fr) auto minmax(45px,1fr) !important;
  align-items:center !important;
  gap:25px !important;
  width:100% !important;
  max-width:780px !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

.benefits-page .benefits-section-heading .heading-line,
.how-page .how-heading-row > span,
.best-deals-page .deal-heading-row > span{
  width:100% !important;
  height:2px !important;
  background:linear-gradient(90deg,transparent,#cf8d20) !important;
}

.benefits-page .benefits-section-heading .heading-line:last-child,
.how-page .how-heading-row > span:last-child,
.best-deals-page .deal-heading-row > span:last-child{
  background:linear-gradient(90deg,#cf8d20,transparent) !important;
}

.benefits-page .benefits-section-heading h2,
.how-page .how-heading h2,
.best-deals-page .deal-section-heading h2{
  margin:0 !important;
  color:#071d3e !important;
  font-size:clamp(25px,2vw,34px) !important;
  font-weight:900 !important;
  line-height:1 !important;
  letter-spacing:.035em !important;
  text-transform:uppercase !important;
}

@media (max-width:760px){
  .benefits-page .benefits-section-heading,
  .how-page .how-heading-row,
  .best-deals-page .deal-heading-row{
    grid-template-columns:28px minmax(0,1fr) 28px !important;
    gap:10px !important;
    max-width:100% !important;
  }

  .benefits-page .benefits-section-heading h2,
  .how-page .how-heading h2,
  .best-deals-page .deal-section-heading h2{
    white-space:normal !important;
    font-size:23px !important;
    line-height:1.08 !important;
  }
}


/* =========================================================
   INNER PAGE SECTION HEADINGS — FINAL SHARED SYSTEM
   Exact same side-line geometry and title typography.
   ========================================================= */
.benefits-page .benefits-section-heading,
.how-page .how-heading-row,
.best-deals-page .deal-heading-row{
  display:grid !important;
  grid-template-columns:minmax(90px,1fr) auto minmax(90px,1fr) !important;
  align-items:center !important;
  column-gap:28px !important;
  width:100% !important;
  max-width:1040px !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

.benefits-page .benefits-section-heading .heading-line,
.how-page .how-heading-row > span,
.best-deals-page .deal-heading-row > span{
  display:block !important;
  width:100% !important;
  height:2px !important;
  min-width:0 !important;
  background:linear-gradient(90deg,transparent 0%,#cf8d20 100%) !important;
}

.benefits-page .benefits-section-heading .heading-line:last-child,
.how-page .how-heading-row > span:last-child,
.best-deals-page .deal-heading-row > span:last-child{
  background:linear-gradient(90deg,#cf8d20 0%,transparent 100%) !important;
}

.benefits-page .benefits-section-heading h2,
.how-page .how-heading h2,
.best-deals-page .deal-section-heading h2{
  margin:0 !important;
  color:#071d3e !important;
  font-size:34px !important;
  font-weight:900 !important;
  line-height:1 !important;
  letter-spacing:.025em !important;
  text-transform:uppercase !important;
  white-space:nowrap !important;
  text-align:center !important;
}

/* How It Works headings must remain one line on desktop. */
.how-page .how-heading-row h2{
  white-space:nowrap !important;
}

/* Let the shared line container be wide enough for the longer How It Works title. */
.how-page .how-heading{
  max-width:1180px !important;
}

@media (max-width:1000px){
  .benefits-page .benefits-section-heading,
  .how-page .how-heading-row,
  .best-deals-page .deal-heading-row{
    grid-template-columns:minmax(45px,1fr) auto minmax(45px,1fr) !important;
    column-gap:18px !important;
    max-width:100% !important;
  }

  .benefits-page .benefits-section-heading h2,
  .how-page .how-heading h2,
  .best-deals-page .deal-section-heading h2{
    font-size:28px !important;
  }
}

@media (max-width:760px){
  .benefits-page .benefits-section-heading,
  .how-page .how-heading-row,
  .best-deals-page .deal-heading-row{
    grid-template-columns:28px minmax(0,1fr) 28px !important;
    column-gap:10px !important;
  }

  .benefits-page .benefits-section-heading h2,
  .how-page .how-heading h2,
  .best-deals-page .deal-section-heading h2{
    white-space:normal !important;
    font-size:23px !important;
    line-height:1.08 !important;
  }
}


/* =========================================================
   INNER PAGE SECTION HEADINGS — EXACT SAME SIDE-LINE LENGTH
   Why 10K Club / How It Works / Best Deals
   ========================================================= */
.benefits-page .benefits-section-heading,
.how-page .how-heading-row,
.best-deals-page .deal-heading-row{
  display:grid !important;
  grid-template-columns:100px auto 100px !important;
  align-items:center !important;
  column-gap:28px !important;
  width:max-content !important;
  max-width:100% !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

.benefits-page .benefits-section-heading .heading-line,
.how-page .how-heading-row > span,
.best-deals-page .deal-heading-row > span{
  display:block !important;
  width:100px !important;
  min-width:100px !important;
  max-width:100px !important;
  height:2px !important;
}

.benefits-page .benefits-section-heading .heading-line,
.how-page .how-heading-row > span,
.best-deals-page .deal-heading-row > span{
  background:linear-gradient(90deg,transparent 0%,#cf8d20 100%) !important;
}

.benefits-page .benefits-section-heading .heading-line:last-child,
.how-page .how-heading-row > span:last-child,
.best-deals-page .deal-heading-row > span:last-child{
  background:linear-gradient(90deg,#cf8d20 0%,transparent 100%) !important;
}

@media (max-width:760px){
  .benefits-page .benefits-section-heading,
  .how-page .how-heading-row,
  .best-deals-page .deal-heading-row{
    grid-template-columns:28px minmax(0,1fr) 28px !important;
    width:100% !important;
    column-gap:10px !important;
  }

  .benefits-page .benefits-section-heading .heading-line,
  .how-page .how-heading-row > span,
  .best-deals-page .deal-heading-row > span{
    width:28px !important;
    min-width:28px !important;
    max-width:28px !important;
  }
}


/* =========================================================
   BEST DEALS — CLEAN PURCHASE DATE LABEL
   Remove the filled background so dates are simple and easy
   to update directly in the HTML.
   ========================================================= */
.best-deals-page .purchase-photo figcaption{
  top:14px !important;
  left:16px !important;
  padding:0 !important;
  background:none !important;
  color:#ffffff !important;
  text-shadow:0 1px 4px rgba(0,0,0,.65) !important;
  font-size:11px !important;
  font-weight:800 !important;
  letter-spacing:.04em !important;
  line-height:1.2 !important;
}


/* =========================================================
   BEST DEALS — EDITABLE PURCHASE DATE OVERLAY
   The date remains normal HTML text in best-deals.html so it
   can be updated easily without editing the property image.
   ========================================================= */
.best-deals-page .purchase-photo{
  position:relative !important;
}

.best-deals-page .purchase-photo figcaption{
  position:absolute !important;
  top:14px !important;
  left:16px !important;
  z-index:2 !important;
  padding:8px 12px !important;
  margin:0 !important;
  background:#d79a1e !important;
  border:0 !important;
  border-radius:6px !important;
  box-shadow:0 4px 12px rgba(0,0,0,.18) !important;
  color:#0b1320 !important;
  font-size:11px !important;
  font-weight:800 !important;
  line-height:1.2 !important;
  letter-spacing:.045em !important;
  text-transform:uppercase !important;
  text-shadow:none !important;
}




/* =========================================================
   BEST DEALS — ADDRESS + PROPERTY SPEC ICONS
   ========================================================= */
.address-pin{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:22px;
  height:22px;
  color:#071d3e;
  flex:0 0 22px;
  margin-top:1px;
}

.address-pin .icon{
  width:22px;
  height:22px;
  stroke:currentColor;
  fill:none;
  stroke-width:1.9;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.property-specs{
  flex-wrap:wrap;
}

.property-specs .spec-item{
  display:inline-flex;
  align-items:center;
  gap:6px;
  white-space:nowrap;
}

.property-specs .icon{
  width:16px;
  height:16px;
  color:#b97c13;
  stroke:currentColor;
  fill:none;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
  flex:0 0 16px;
}


/* =========================================================
   BEST DEALS — PROPERTY SPEC ICON STYLE MATCH
   ========================================================= */
.property-specs{
  display:flex;
  align-items:center;
  gap:0;
  flex-wrap:wrap;
  margin:12px 0 14px;
}

.property-specs .spec-item{
  display:inline-flex;
  align-items:center;
  gap:7px;
  color:#4f637d;
  font-size:15px;
  font-weight:500;
  line-height:1;
}

.property-specs .spec-item span{
  color:#4f637d;
  font-weight:500;
  letter-spacing:0;
}

.property-specs .icon{
  width:18px;
  height:18px;
  color:#7f8d9e;
  stroke:currentColor;
  fill:none;
  stroke-width:1.6;
  stroke-linecap:round;
  stroke-linejoin:round;
  flex:0 0 18px;
}

.property-specs i{
  width:1px;
  height:16px;
  background:#d4d9df;
  margin:0 14px;
  display:inline-block;
  flex:0 0 1px;
}


/* =========================================================
   BEST DEALS — USER-PROVIDED SPEC ICONS
   ========================================================= */
.property-specs .spec-item{
  display:inline-flex;
  align-items:center;
  gap:8px;
}

.property-specs .spec-icon{
  display:block;
  width:18px;
  height:18px;
  object-fit:contain;
  flex:0 0 18px;
}

.property-specs .spec-icon-bed{
  width:20px;
  height:20px;
  flex-basis:20px;
}

.property-specs .spec-icon-bath,
.property-specs .spec-icon-sqft{
  width:18px;
  height:18px;
}
