/* Medico Matrimonial copy of KV Matrimonial's kv-footer.css (Nov 2026). Brand colours are custom properties set by
   App_Code/clsBrand.vb (CssVars), with the KV red as the fallback. */
/* The new site footer (Nov 2026) for the older page templates, which don't load css/home.css.
   Same look as the footer in css/home.css (home page, Registration, MasterPage_Profile.master); keep the two in step.
   Everything is scoped to .kv-footer and repeats its own colours and font, so bootstrap/style.css can't change it. */
footer.kv-footer {
    clear: both; margin: 0; padding: 0; text-align: left;
    background: #1C1917; color: #D6D1CB;
    font-family: 'Mukta', system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 15px; line-height: 1.55;
    letter-spacing: 0; text-transform: none;
}
.kv-footer *, .kv-footer *::before, .kv-footer *::after { box-sizing: border-box; }
.kv-footer .kv-wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.kv-footer .kv-footer-inner { padding-top: 56px; padding-bottom: 28px; display: flex; flex-direction: column; gap: 32px; }
.kv-footer .kv-footer-top { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; }
.kv-footer .kv-footer-contact { flex: 1 1 320px; display: flex; flex-direction: column; gap: 8px; }
.kv-footer .kv-footer-brand { font-weight: 800; font-size: 20px; color: #FFFFFF; }
.kv-footer a { color: #D6D1CB; text-decoration: none; font-size: inherit; letter-spacing: 0; text-transform: none; }
.kv-footer a:hover, .kv-footer a:focus { color: #FFFFFF; text-decoration: none; }
.kv-footer nav.kv-footer-links {
    position: static; width: auto; z-index: auto;
    flex: 2 1 520px; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 10px 24px; align-content: start;
}
.kv-footer .kv-footer-bottom { border-top: 1px solid #3A3532; padding-top: 18px; color: #ADA69E; font-size: 14px; }
@media (max-width: 640px) {
    .kv-footer .kv-wrap { padding-left: 16px; padding-right: 16px; }
}

/* the old templates' stylesheets give every nav a white box on phones; the footer links are a nav too */
.kv-footer nav.kv-footer-links {
    background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; margin: 0 !important;
    height: auto !important; min-height: 0 !important; max-height: none !important; overflow: visible !important;
    transform: none !important; top: auto !important; left: auto !important;
}
.kv-footer nav.kv-footer-links a { display: inline; padding: 0; background: none; border: 0; line-height: inherit; }

/* WhatsApp button on member pages (Nov 2026; replaces the tawk.to chat) */
.kv-wa-float {
    position: fixed; right: 16px; bottom: 16px; z-index: 1000; width: 56px; height: 56px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; background: #25D366; box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
}
.kv-wa-float:hover, .kv-wa-float:focus { background: #1DA851; }
.kv-wa-float:focus-visible { outline: 3px solid #2B6CB0; outline-offset: 3px; }
@media print { .kv-wa-float { display: none; } }
