/* Kensington Central Site footer: everything centred, no vertical divider. Loaded only where this plugin is active. */
footer.bg-secondary { text-align: center !important; }
footer.bg-secondary .grid > .lg\:col-span-4 { grid-column: span 12 / span 12 !important; border-right: 0 !important; }
footer.bg-secondary .grid > .lg\:col-span-8:not(:has(.footer-menu-column)) { display: none !important; }
footer.bg-secondary .footer-logo svg { margin-left: auto !important; margin-right: auto !important; }
footer.bg-secondary .footer-site-title,
footer.bg-secondary .footer-address,
footer.bg-secondary .footer-phone,
footer.bg-secondary .footer-rcfe { text-align: center !important; }
footer.bg-secondary .footer-social { justify-content: center !important; }
footer.bg-secondary .grid.items-start > div { grid-column: span 12 / span 12 !important; }
footer.bg-secondary .footer-legal-menu { text-align: center !important; }
footer.bg-secondary .footer-legal-menu ul { justify-content: center !important; }
footer.bg-secondary .footer-copyright { text-align: center !important; margin-top: 14px; }

/* Gold core buttons: the theme's `a.wp-block-button__link { background:#00205b !important }` beats its own
   non-important `.gold-buttons a.wp-block-button__link` rule, so .gold-buttons never turned core buttons gold.
   Central site only: make the class do what it says, with the theme's gold (#89734c) and blue hover (#00205b). */
.gold-buttons a.wp-block-button__link { background: #89734c !important; color: #fff !important; border-color: transparent !important; }
.gold-buttons a.wp-block-button__link:hover, .gold-buttons a.wp-block-button__link:focus-visible { background: #00205b !important; color: #fff !important; }

/* Header "Schedule a call" button in capitals, like the top-row links beside it (Robert, 2026-09-30). */
/* The theme sets text-transform:none on this exact selector, so match it and win. */
header .top-header-menu ul.menu .header-btn a { text-transform: uppercase !important; letter-spacing: .1em !important; }

/* Contact icons, address only: the Central Site has no main phone number (Robert, 2026-10-01). */
.contact-icons--address-only .grid > div:nth-child(2) { display: none !important; }
.contact-icons--address-only .grid > div:first-child { grid-column: 1 / -1 !important; }

/* Multi-CTA card rows: equal-width cards, three per row, short rows centred (Robert, 2026-10-01). The theme gives
   each card width:100% inside a flex row, so cards shrink by their content and rows end up different widths. */
@media (min-width: 1024px) {
    .multi-cta > .lg\:flex { flex-wrap: wrap; }
    .multi-cta .multi-cta-entry { flex: 0 0 calc((100% - 4rem) / 3); max-width: calc((100% - 4rem) / 3); margin-left: 0; margin-right: 0; }
}

/* Communities sidebar ("Our Communities" list from the old Central Site) */
.ksl-communities-sidebar .side-title { font-family: "Nunito Sans", sans-serif; font-size: 1.25rem; background: #00205b; color: #fff; text-align: center; text-transform: uppercase; letter-spacing: .05em; font-weight: 700; padding: .9rem 1rem; margin: 0 0 1rem; }
.ksl-communities-sidebar strong { display: block; color: #00205b; margin: 1.25rem 0 .5rem; }
.ksl-communities-sidebar ul { display: block; list-style: disc; padding-left: 1.5rem; margin: 0; }
.ksl-communities-sidebar li { margin: 0 0 .4rem; }
.ksl-communities-sidebar a { color: #00205b; text-decoration: underline; }

/* Communities testimonials: navy boxes two per row, like the old Central page */
.ksl-testimonial-boxes { gap: 2rem; margin-bottom: 2rem; }
.ksl-testimonial-boxes .wp-block-column { display: flex; flex-direction: column; }
.ksl-testimonial-boxes .wp-block-column p { color: #fff; }
.ksl-testimonial-boxes .ksl-testimonial-cite { margin-top: auto; padding-top: 1.5rem; line-height: 1.4; }
.ksl-testimonial-boxes .ksl-testimonial-cite strong { font-size: 1.15em; }
.ksl-testimonial-boxes .ksl-testimonial-cite a { color: #fff; text-decoration: underline; }

/* Services pre-footer on single posts: kensington-gold single.php always prints it from theme options that are empty on the Central Site. Hidden here, blog 1 only. */
section.services.pre-footer { display: none; }
