/* Finance With Dev - settlements (deal case studies). Load AFTER service.css + blog.css. */
/* Grid, cards, .doc prose, .related, .cta-band, .disclaimer all inherit from those files. */

/* ---- Deal page: hero photo ---- */
.deal-photo{margin:6px 0 30px}
.deal-photo img{width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;display:block;background:var(--paper);border:1px solid var(--line);border-radius:var(--r)}
.deal-photo figcaption{font-size:13px;color:var(--muted);margin-top:10px;line-height:1.5}

/* ---- Deal page: snapshot facts ---- */
.snapshot{display:grid;grid-template-columns:repeat(3,1fr);gap:0;border:1px solid var(--line);border-radius:var(--r);background:var(--paper);margin:0 0 38px;overflow:hidden}
.snapshot div{padding:16px 20px;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}
.snapshot div:nth-child(3n){border-right:none}
.snapshot div:nth-last-child(-n+3){border-bottom:none}
.snapshot dt{font-family:'Epilogue';font-weight:600;font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:var(--gunmetal);margin-bottom:4px}
.snapshot dd{font-family:'Epilogue';font-weight:700;font-size:16px;color:var(--ink);line-height:1.3}

/* ---- Deal page: client quote ---- */
.deal-quote{margin:34px 0 0;padding:22px 26px;border-left:3px solid var(--gold);background:var(--paper);border-radius:0 var(--r) var(--r) 0}
.deal-quote p{font-size:16.5px;font-style:italic;margin-bottom:8px}
.deal-quote cite{font-family:'Epilogue';font-weight:600;font-style:normal;font-size:14px;color:var(--gunmetal)}

/* ---- Listing: deal card = whole-card link + separate related-guide link ---- */
.deal-card{position:relative}
.deal-card h2 a{color:inherit;text-decoration:none}
.deal-card h2 a::after{content:"";position:absolute;inset:0;z-index:1}
.deal-card .facts{font-size:13px;color:var(--muted);margin:0 0 14px}
.deal-card .rel{position:relative;z-index:2;margin-top:auto;font-family:'Epilogue';font-weight:600;font-size:13.5px;color:var(--ink);text-decoration:underline;text-underline-offset:2px}

/* ---- Listing: empty state (until the first deal is live) ---- */
.empty-state{max-width:560px;margin:0 auto;text-align:center;border:1px dashed var(--line);border-radius:var(--r);padding:44px 28px;background:var(--paper)}
.empty-state h2{font-size:22px;margin-bottom:8px}
.empty-state p{font-size:15.5px;color:var(--charcoal);line-height:1.6;margin-bottom:20px}

@media(max-width:620px){
  .snapshot{grid-template-columns:1fr 1fr}
  .snapshot div{border-right:1px solid var(--line);border-bottom:1px solid var(--line)}
  .snapshot div:nth-child(3n){border-right:1px solid var(--line)}
  .snapshot div:nth-child(2n){border-right:none}
  .snapshot div:nth-last-child(-n+3){border-bottom:1px solid var(--line)}
  .snapshot div:nth-last-child(-n+2){border-bottom:none}
}

/* ---- Deal page: weekly repayment callout (sits under the snapshot) ---- */
.snapshot + .repay{margin-top:-24px}
.repay{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 14px;border:1px solid var(--line);border-radius:var(--r);padding:16px 20px;margin:0 0 38px;background:#fff}
.repay strong{font-family:'Epilogue';font-weight:800;font-size:22px;color:var(--ink);letter-spacing:-.01em}
.repay span{font-size:13px;color:var(--muted);line-height:1.5;flex:1 1 260px}
