/* RBMGT1-684 - two-location footer (Riverside + Costa Mesa).
   Everything is scoped to footer.rbhf-footer so the theme's old "footer ..." rules in style.css
   (padding, text-align, p/ul/li/a colors, h2 sizes) can't leak in. */

footer.rbhf-footer {
	font-family: Montserrat, "Helvetica Neue", Helvetica, Arial, sans-serif;
	color: #F2E5C3;
	background: #20292F;
	width: 100%;
	padding: 0;
	margin: 0;
	text-align: left;
	line-height: 1.4;
}
.rbhf-footer *, .rbhf-footer *::before, .rbhf-footer *::after { box-sizing: border-box; }
.rbhf-footer p, .rbhf-footer address, .rbhf-footer ul, .rbhf-footer li { margin: 0; padding: 0; color: inherit; font-style: normal; }
.rbhf-footer h2, .rbhf-footer h3 { margin: 0; color: #FFFFFF; text-transform: none; letter-spacing: normal; line-height: 1.25; font-family: inherit; }
.rbhf-footer a { color: #F2E5C3; }
.rbhf-footer a:hover, .rbhf-footer a:focus { color: #E1AD4A; }
.rbhf-footer a:focus-visible { outline: 2px solid #E1AD4A; outline-offset: 3px; }
.rbhf-footer svg { display: block; flex: none; }
.rbhf-footer .screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
	clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.rbhf-footer .rbhf-wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* Buttons */
.rbhf-footer .rbhf-btn {
	display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px;
	border-radius: 999px; font-weight: 600; font-size: 14px; line-height: 1.2; text-decoration: none;
	transition: background-color .2s ease, color .2s ease;
}
.rbhf-footer .rbhf-btn-gold { background: #E1AD4A; color: #20292F; }
.rbhf-footer .rbhf-btn-gold:hover, .rbhf-footer .rbhf-btn-gold:focus { background: #F2E5C3; color: #20292F; }
.rbhf-footer .rbhf-btn-line { border: 1.5px solid #E1AD4A; color: #F2E5C3; }
.rbhf-footer .rbhf-btn-line:hover, .rbhf-footer .rbhf-btn-line:focus { background: #E1AD4A; color: #20292F; }
.rbhf-footer .rbhf-btn-dark { background: #20292F; color: #F2E5C3; }
.rbhf-footer .rbhf-btn-dark:hover, .rbhf-footer .rbhf-btn-dark:focus { background: #F2E5C3; color: #20292F; }

/* 1. Admissions band */
.rbhf-footer .rbhf-band { background: #E1AD4A; color: #20292F; position: relative; z-index: 1; } /* sits above the .cta-section accent that hangs 30px into the footer */
.rbhf-footer .rbhf-band .rbhf-wrap {
	padding-top: 18px; padding-bottom: 18px;
	display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between;
}
.rbhf-footer .rbhf-band p { font-size: 17px; font-weight: 600; color: #20292F; }

/* 2. Locations */
.rbhf-footer .rbhf-locations { padding-top: 56px; padding-bottom: 24px; }
.rbhf-footer .rbhf-loc-head {
	display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px;
}
.rbhf-footer .rbhf-eyebrow {
	margin-bottom: 6px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #E1AD4A; font-weight: 600;
}
.rbhf-footer .rbhf-loc-head h2 { font-size: 30px; font-weight: 700; }
.rbhf-footer .rbhf-loc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.rbhf-footer .rbhf-card {
	background: #2A353C; border: 1px solid #3A474F; border-radius: 16px; padding: 28px;
	display: flex; flex-direction: column; gap: 16px; min-width: 0;
}
.rbhf-footer .rbhf-map { position: relative; height: 200px; border-radius: 12px; overflow: hidden; background: #EEF0EC; }
.rbhf-footer .rbhf-map iframe { display: block; width: 100%; height: 100%; border: 0; }
.rbhf-footer .rbhf-card-title { display: flex; align-items: center; gap: 14px; }
.rbhf-footer .rbhf-pin {
	width: 48px; height: 48px; border-radius: 12px; background: #F2E5C3; color: #20292F;
	display: flex; align-items: center; justify-content: center; flex: none;
}
.rbhf-footer .rbhf-card h3 { font-size: 20px; font-weight: 700; }
.rbhf-footer .rbhf-card-sub { margin-top: 2px; font-size: 14px; color: #C9BFA3; }
.rbhf-footer .rbhf-card address { font-size: 16px; line-height: 1.6; }
.rbhf-footer .rbhf-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.rbhf-footer .rbhf-explore { font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* 3. Brand / links / licensing */
.rbhf-footer .rbhf-cols {
	padding-top: 40px; padding-bottom: 40px; border-top: 1px solid #3A474F;
	display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px;
}
.rbhf-footer .rbhf-brand { display: flex; flex-direction: column; gap: 16px; }
.rbhf-footer .rbhf-logo { display: block; width: 255px; max-width: 100%; text-decoration: none; }
.rbhf-footer .rbhf-logo svg { width: 100%; height: auto; }
.rbhf-footer .rbhf-logo .st0 { fill: #FFFFFF; }
.rbhf-footer .rbhf-logo .st1 { fill: url(#RBHF_1); }
.rbhf-footer .rbhf-logo .st2 { fill: url(#RBHF_2); }
.rbhf-footer .rbhf-logo .st3 { fill: url(#RBHF_3); }
.rbhf-footer .rbhf-logo .st4 { fill: url(#RBHF_4); }
.rbhf-footer .rbhf-logo .st5 { fill: url(#RBHF_5); }
.rbhf-footer .rbhf-brand p { font-size: 15px; line-height: 1.6; }
.rbhf-footer .rbhf-social { display: flex; gap: 12px; }
.rbhf-footer .rbhf-social a {
	width: 44px; height: 44px; border-radius: 999px; border: 1.5px solid #F2E5C3;
	display: flex; align-items: center; justify-content: center; color: #F2E5C3;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.rbhf-footer .rbhf-social a:hover, .rbhf-footer .rbhf-social a:focus { background: #F2E5C3; color: #20292F; }

.rbhf-footer .rbhf-list h3 { margin-bottom: 16px; font-size: 18px; font-weight: 700; }
.rbhf-footer .rbhf-list ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.rbhf-footer .rbhf-list li { list-style: none; margin: 0; }
.rbhf-footer .rbhf-list li::before { content: none; }
.rbhf-footer .rbhf-list a { font-size: 15px; text-decoration: none; }
.rbhf-footer .rbhf-list a:hover, .rbhf-footer .rbhf-list a:focus { text-decoration: underline; }

.rbhf-footer .rbhf-license { display: flex; flex-direction: column; gap: 10px; }
.rbhf-footer .rbhf-license h3 { margin-bottom: 6px; font-size: 18px; font-weight: 700; }
.rbhf-footer .rbhf-license p { font-size: 14px; }
.rbhf-footer .rbhf-license img { display: block; }
.rbhf-footer .rbhf-badges { display: flex; gap: 14px; margin-top: 8px; align-items: center; }
.rbhf-footer .rbhf-badges a { display: block; }

/* 4. Legal bar */
.rbhf-footer .rbhf-legal { background: #1A2227; }
.rbhf-footer .rbhf-legal .rbhf-wrap {
	padding-top: 20px; padding-bottom: 20px;
	display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; font-size: 13px;
}
.rbhf-footer .rbhf-legal p { font-size: 13px; }
.rbhf-footer .rbhf-legal a { text-decoration: underline; text-underline-offset: 2px; }
.rbhf-footer .rbhf-legal .rbhf-copy { color: #C9BFA3; }
.rbhf-footer .rbhf-legal-links { display: flex; flex-wrap: wrap; gap: 18px; }

/* The old sticky .mobile-call-btn is kept in the markup, but a sitewide WPCode snippet ("global", post 51336)
   hides it with display:none !important, so no bottom padding is reserved for it. */
@media (max-width: 767px) {
	.rbhf-footer .rbhf-loc-head h2 { font-size: 26px; }
	.rbhf-footer .rbhf-card { padding: 22px; }
}
