/* ==========================================================================
   BGC 2026 FOOTER  (Avada-Child/assets/bgc-footer.css)
   Markup: inc/bgc-footer.php. Shares .bgc-btn + tokens with bgc-header.css.
   ========================================================================== */

.bgc-footer {
	color: rgba(255, 255, 255, 0.78);
	font-family: var(--bgc-h-font, 'Montserrat', Arial, sans-serif);
	background: var(--bgc-h-navy, #192733);
	-webkit-font-smoothing: antialiased;
}
.bgc-footer *,
.bgc-footer *::before,
.bgc-footer *::after { box-sizing: border-box; }
.bgc-footer a { text-decoration: none; }
.bgc-footer p,
.bgc-footer ul,
.bgc-footer address { margin: 0; padding: 0; }
.bgc-footer ul { list-style: none; }
.bgc-footer li { margin: 0; padding: 0; }

.bgc-footer__main {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 0.8fr;
	column-gap: 48px;
	row-gap: 48px;
	padding: 96px 56px 80px;
}

/* Brand */
.bgc-footer__brand {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #fff;
	line-height: 1;
}
.bgc-footer__crest {
	display: block;
	width: 58px;
	height: 58px;
	margin: -8px 0 -8px -9px;
}
.bgc-footer__wordmark {
	display: flex;
	flex-direction: column;
	gap: 6px;
	text-transform: uppercase;
	white-space: nowrap;
}
.bgc-footer__wm-name { font-size: 12px; font-weight: 500; letter-spacing: 0.34em; color: #fff; }
.bgc-footer__wm-sub { font-size: 9px; font-weight: 400; letter-spacing: 0.32em; color: rgba(255, 255, 255, 0.62); }

.bgc-footer__cta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px 24px;
	margin-top: 40px;
}

/* Columns */
.bgc-footer__label {
	margin-bottom: 22px !important;
	color: rgba(255, 255, 255, 0.55);
	font-size: 10px;
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: 0.3em;
	text-transform: uppercase;
}
.bgc-footer__list li { line-height: 1.6; }
.bgc-footer__list li + li { margin-top: 8px; }
.bgc-footer__link,
.bgc-footer__link:visited {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: rgba(255, 255, 255, 0.78);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.6;
	letter-spacing: 0.02em;
	transition: color .25s ease;
}
.bgc-footer__link:hover,
.bgc-footer__link:focus-visible,
.bgc-footer__link[aria-current="page"] { color: #fff; }
.bgc-footer__link:focus-visible,
.bgc-footer__brand:focus-visible { outline: 1px solid #fff; outline-offset: 4px; }

.bgc-footer__members {
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.bgc-footer__address {
	font-style: normal;
	font-size: 13px;
	line-height: 1.8;
	letter-spacing: 0.02em;
	color: rgba(255, 255, 255, 0.78);
}
.bgc-footer__contact { margin-top: 16px !important; }
.bgc-footer__icon { flex: none; opacity: .85; }

/* Bottom bar */
.bgc-footer__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px 32px;
	margin: 0 56px;
	padding: 24px 0 28px;
	border-top: 1px solid rgba(255, 255, 255, 0.09);
	font-size: 11px;
	letter-spacing: 0.06em;
	color: rgba(255, 255, 255, 0.62);
}
.bgc-footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 28px;
}
.bgc-footer__legal li { font-size: 11px; line-height: 1.6; letter-spacing: 0.06em; color: rgba(255, 255, 255, 0.62); }
.bgc-footer__bar .bgc-footer__link { font-size: 11px; color: rgba(255, 255, 255, 0.78); }

/* The last section on a page sits flush on the footer. Fusion gives every
   column a 20px bottom margin, which showed as a white strip under navy
   full-width sections (Club, History, Visitors, Course pages…). */
.post-content > .fusion-fullwidth:last-child > .fusion-builder-row > .fusion-layout-column {
	margin-bottom: 0 !important;
}

/* Breakpoints */
@media (min-width: 1025px) and (max-width: 1279px) {
	.bgc-footer__main { padding-left: 32px; padding-right: 32px; column-gap: 32px; }
	.bgc-footer__bar { margin-left: 32px; margin-right: 32px; }
}
@media (max-width: 1024px) {
	.bgc-footer__main { grid-template-columns: 1fr 1fr; padding: 72px 32px 56px; }
	.bgc-footer__brand-col { grid-column: 1 / -1; }
	.bgc-footer__bar { margin: 0 32px; }
}
@media (max-width: 640px) {
	.bgc-footer__main { grid-template-columns: 1fr; row-gap: 40px; padding: 64px 24px 48px; }
	.bgc-footer__crest { width: 48px; height: 48px; margin: -6px 0 -6px -8px; }
	.bgc-footer__wm-name { font-size: 11px; letter-spacing: 0.3em; }
	.bgc-footer__wm-sub { font-size: 8px; letter-spacing: 0.28em; }
	.bgc-footer__cta { margin-top: 32px; }
	.bgc-footer__bar { flex-direction: column; align-items: flex-start; margin: 0 24px; }
	.bgc-footer__list li + li { margin-top: 6px; }
	.bgc-footer__link { min-height: 32px; }
}
@media (prefers-reduced-motion: reduce) {
	.bgc-footer * { transition: none !important; }
}
