/* Ideal Carz additions on top of Template 11 */

/* Car page: Apply for finance, under Call Us / WhatsApp */
.finance-cta { margin: 14px 0 18px; display: flex; flex-direction: column; gap: 10px; }
.finance-cta__btn {
  display: block; text-align: center; padding: 13px 14px; border-radius: 10px;
  background: #13284a; color: #fff !important; font-size: 15px; font-weight: 700;
  letter-spacing: .02em; text-decoration: none; transition: background .2s ease;
}
.finance-cta__btn:hover { background: #0b1a33; }
.finance-cta__badge img { display: block; width: 100%; height: auto; border-radius: 10px; }

/* Home page: the finance company's badge */
.finance-banner { text-align: center; padding: 24px 16px 8px; }
.finance-banner img { display: inline-block; width: 100%; max-width: 500px; height: auto; border-radius: 12px; }

/* Footer: the FCA disclosure, in full */
.footer-fca { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0; }
.footer-fca p { margin: 0; font-size: 12px; line-height: 1.6; color: #a9a9a9; white-space: pre-line; }

/* Car cards (home + stock): Finance button beside View Details */
.card-footer--finance { display: flex; gap: 8px; }
.card-footer--finance .details-link { flex: 1 1 0; }
.card-finance-btn {
  flex: 1 1 0; display: block; text-align: center; padding: 11px; border-radius: 10px;
  background: #13284a; color: #fff; font-weight: bold; font-size: 0.85rem; letter-spacing: 0.5px;
  text-transform: uppercase; cursor: pointer; transition: background .2s ease;
}
.card-finance-btn:hover, .card-finance-btn:focus-visible { background: #0b1a33; outline: none; }
.list-view .card-footer--finance { justify-content: flex-end; }
.list-view .card-footer--finance .details-link,
.list-view .card-finance-btn { flex: 0 0 auto; padding: 10px 24px; border-radius: 8px; }
@media (max-width: 700px) {
  .list-view .card-footer--finance .details-link,
  .list-view .card-finance-btn { flex: 1 1 0; }
}
