/* ==========================================================================
   Light theme layer: white main colour + one accent family.
   Loaded after rp.css when Admin > Settings > Website theme is not "classic".
   Each theme file (orange / navy / grey) only sets the --t-* variables below.
   ========================================================================== */
:root {
    --rp-navy: var(--t-head);
    --rp-navy-2: var(--t-primary-2);
    --rp-navy-3: var(--t-primary);
    --rp-amber: var(--t-accent);
    --rp-amber-2: var(--t-accent-2);
    --rp-amber-soft: var(--t-soft);
    --rp-bg: var(--t-bg);
    --bs-primary: var(--t-primary);
    --bs-link-color: var(--t-head);
    --bs-link-hover-color: var(--t-accent-2);
    --rp-shadow: 0 1px 2px rgba(17, 24, 39, .04), 0 8px 24px rgba(17, 24, 39, .06);
}

/* buttons: primary = theme colour */
.btn-primary, .btn-navy { --bs-btn-bg: var(--t-primary); --bs-btn-border-color: var(--t-primary); --bs-btn-hover-bg: var(--t-primary-2); --bs-btn-hover-border-color: var(--t-primary-2); --bs-btn-active-bg: var(--t-primary-2); --bs-btn-disabled-bg: var(--t-primary); --bs-btn-disabled-border-color: var(--t-primary); }
.btn-outline-navy { --bs-btn-hover-bg: var(--t-primary); --bs-btn-hover-border-color: var(--t-primary); --bs-btn-active-bg: var(--t-primary); }
.form-check-input:checked, .chip-check input:checked + span, .view-toggle .btn.active { background-color: var(--t-primary); border-color: var(--t-primary); }
.rp-badge.top { background: var(--t-primary); }

/* top bar + header */
.rp-topbar { background: var(--t-topbar-bg); color: var(--t-topbar-text); }
.rp-topbar a { color: var(--t-topbar-text); }
.rp-logo-mark { background: var(--t-primary); color: #fff; }
.rp-header, header.sticky-top, .rp-navbar { background: #fff; }

/* hero: white / lightly tinted instead of dark */
.rp-hero { background: var(--t-hero-bg); color: var(--rp-ink); border-bottom: 1px solid var(--rp-line); }
.rp-hero::before { opacity: .16; filter: grayscale(.3); }
.rp-hero::after { background: linear-gradient(90deg, var(--t-hero-bg) 0%, rgba(255, 255, 255, .88) 55%, rgba(255, 255, 255, .55) 100%); }
.rp-hero h1 { color: var(--t-head); }
.rp-hero h1 .text-amber { color: var(--t-accent) !important; }
.rp-hero .lead { color: #4B5563; }
.rp-hero .rp-badge { background: #fff !important; color: var(--t-head) !important; border: 1px solid var(--rp-line); }
.rp-hero-stats b { color: var(--t-head); }
.rp-hero-stats span { color: var(--rp-muted); }
.rp-hero .pill-tabs { background: var(--t-bg); }
.rp-hero .pill-tabs button, .rp-hero .pill-tabs a { color: #4B5563; }
.rp-hero .pill-tabs .active { background: var(--t-primary); color: #fff; }

/* feature icons, tiles */
.feature-card .ico { background: var(--t-soft); color: var(--t-accent); }
.loc-tile { background: linear-gradient(135deg, var(--t-band-2), var(--t-band)); }
.rp-builder-slides .rp-slide { background: var(--t-band); }
.section-head .eyebrow { color: var(--t-accent-2); }

/* dark bands become the theme's band colour */
.bg-navy { background: var(--t-band) !important; }
.rp-cta { background: linear-gradient(120deg, var(--t-band) 0%, var(--t-band-2) 100%); }

/* footer */
.rp-footer { background: var(--t-footer-bg); color: var(--t-footer-text); border-top: 4px solid var(--t-accent); }
.rp-footer h5, .rp-footer .rp-logo { color: var(--t-footer-head); }
.rp-footer a { color: var(--t-footer-link); }
.rp-footer a:hover { color: var(--t-accent); }
.rp-footer .social a { background: var(--t-footer-chip); }
.rp-footer .social a:hover { background: var(--t-accent); color: #fff; }
.rp-footer .bottom { border-top-color: var(--t-footer-line); }

/* hero Buy/Rent tabs carry .text-navy: keep the active label readable */
.rp-hero .pill-tabs .active.text-navy { color: #fff !important; }
.rp-network { border-top-color: var(--t-footer-line); }
.rp-network__city b { color: var(--t-footer-head); }
.rp-network-banner { background: linear-gradient(135deg, var(--t-band), var(--t-band-2)); }
.rp-footer-legal { border-top-color: var(--t-footer-line); }
