/* ==========================================================================
   BRCO – Theme styles
   Couleurs : #005f9d (bleu BRCO) / #fff
   ========================================================================== */

:root {
	--brco-blue: #005f9d;
	--brco-blue-dark: #00477a;
	--brco-blue-darker: #003355;
	--brco-blue-light: #e6f1f9;
	--brco-accent: #ff7a00;
	--brco-text: #1a2a36;
	--brco-text-muted: #5b6b78;
	--brco-bg: #ffffff;
	--brco-bg-alt: #f5f8fb;
	--brco-border: #e2e8ef;
	--brco-shadow: 0 8px 24px rgba(0, 71, 122, 0.08);
	--brco-shadow-lg: 0 16px 40px rgba(0, 71, 122, 0.12);
	--brco-radius: 12px;
	--brco-radius-sm: 6px;
	--brco-radius-lg: 18px;
	--brco-container: 1200px;
	--brco-gap: 1.5rem;
	--brco-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	--brco-font-display: 'Barlow Condensed', Impact, sans-serif;
	--brco-transition: 200ms ease;
}

/* Reset / base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--brco-font-body);
	color: var(--brco-text);
	background: var(--brco-bg);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
svg { display: inline-block; vertical-align: middle; flex-shrink: 0; }
a { color: var(--brco-blue); text-decoration: none; transition: color var(--brco-transition); }
a:hover, a:focus-visible { color: var(--brco-blue-dark); text-decoration: underline; }

/* Icon helpers */
.icon { width: 1em; height: 1em; }
.icon--sm { width: 16px; height: 16px; }
.icon--md { width: 24px; height: 24px; }
.icon--lg { width: 32px; height: 32px; }
.icon--xl { width: 64px; height: 64px; }
.icon--social { width: 20px; height: 20px; }
h1, h2, h3, h4 {
	font-family: var(--brco-font-display);
	font-weight: 700;
	letter-spacing: 0.01em;
	color: var(--brco-text);
	line-height: 1.2;
	margin: 0 0 0.75em;
	text-transform: uppercase;
}
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden;
	padding: 0; position: absolute; word-wrap: normal !important;
}
.skip-link {
	position: absolute; left: -9999px; top: 0; padding: 0.75rem 1.25rem;
	background: var(--brco-blue); color: #fff; z-index: 1000;
}
.skip-link:focus { left: 0; }

/* Layout */
.container {
	width: 100%;
	max-width: var(--brco-container);
	margin: 0 auto;
	padding: 0 1.25rem;
}
.page-wrap { padding: 3rem 1.25rem 4rem; }

/* Buttons */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
	padding: .85rem 1.5rem;
	border-radius: var(--brco-radius);
	font-weight: 600;
	font-size: .95rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	border: 2px solid transparent;
	cursor: pointer;
	transition: all var(--brco-transition);
	text-decoration: none;
}
.btn--primary { background: var(--brco-blue); color: #fff; }
.btn--primary:hover, .btn--primary:focus { background: var(--brco-blue-dark); color: #fff; text-decoration: none; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--brco-blue); border-color: var(--brco-blue); }
.btn--ghost:hover { background: var(--brco-blue); color: #fff; text-decoration: none; }

/* Header */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, 0.85);
	backdrop-filter: blur(16px) saturate(180%);
	-webkit-backdrop-filter: blur(16px) saturate(180%);
	border-bottom: 1px solid rgba(226, 232, 239, 0.55);
	transition: background 300ms ease, box-shadow 300ms ease;
}
/* .site-header::before {
	content: "";
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--brco-blue) 0%, var(--brco-accent) 100%);
	z-index: 1;
} */
.site-header.is-scrolled {
	background: rgba(255, 255, 255, 0.97);
	box-shadow: 0 4px 24px rgba(0, 71, 122, 0.10);
}
.site-header__inner {
	display: flex; align-items: center; justify-content: space-between;
	padding: 0.75rem 1.25rem;
	gap: 1rem;
}
.site-logo {
	display: flex; align-items: center; gap: 0.75rem;
	text-decoration: none; color: var(--brco-text);
}
.site-logo img { width: 56px; height: 56px; flex-shrink: 0; }
.site-logo:hover { text-decoration: none; }
.site-logo--horizontal img { width: auto; height: 70px; max-width: 460px; display: block; }
.site-logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.site-logo__title {
	font-family: var(--brco-font-display);
	font-size: 1.5rem; font-weight: 800; letter-spacing: 0.05em; color: var(--brco-blue);
}
.site-logo__sub { font-size: 0.75rem; color: var(--brco-text-muted); text-transform: uppercase; letter-spacing: 0.1em; }

/* Nav */
.main-navigation { display: flex; align-items: center; gap: 2rem; }
.main-navigation ul {
	list-style: none; margin: 0; padding: 0;
	display: flex; gap: 0.25rem; align-items: center;
}
.main-navigation a {
	position: relative;
	display: block;
	padding: 0.55rem 0.9rem;
	color: var(--brco-text);
	font-weight: 600;
	font-size: 0.95rem;
	border-radius: 0;
	text-decoration: none;
	transition: color var(--brco-transition);
}
.main-navigation a::after {
	content: "";
	position: absolute;
	bottom: -1px; left: 0.9rem; right: 0.9rem;
	height: 2px;
	background: var(--brco-blue);
	border-radius: 1px;
	transform: scaleX(0);
	transition: transform 260ms cubic-bezier(0.4, 0, 0.2, 1);
}
.main-navigation a:hover::after,
.main-navigation a:focus-visible::after,
.main-navigation .current-menu-item > a::after,
.main-navigation .current_page_item > a::after { transform: scaleX(1); }
.main-navigation a:hover,
.main-navigation a:focus-visible,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
	color: var(--brco-blue); background: transparent; text-decoration: none;
}

.header-utils { display: flex; align-items: center; gap: 0.75rem; padding-left: 1rem; border-left: 1px solid var(--brco-border); }

/* ==========================================================================
   Facebook button (header + footer) — isolé pour ne dépendre d'aucune autre règle
   ========================================================================== */
.fb-btn {
	--fb-brand: #1877f2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	color: var(--brco-blue);
	background: var(--brco-blue-light);
	text-decoration: none;
	font-weight: 600;
	line-height: 1;
	transition: background var(--brco-transition), color var(--brco-transition), transform var(--brco-transition);
	box-sizing: border-box;
}
.fb-btn:hover,
.fb-btn:focus-visible {
	background: var(--fb-brand);
	color: #fff;
	text-decoration: none;
	transform: translateY(-1px);
}
.fb-btn__icon {
	width: 22px;
	height: 22px;
	flex-shrink: 0;
	display: block;
	fill: currentColor;
}

/* Variante icône seule (header) — bouton rond parfait, bleu Facebook brand */
.fb-btn--icon {
	width: 44px;
	height: 44px;
	min-width: 44px;
	max-width: 44px;
	flex-shrink: 0;
	padding: 0;
	border-radius: 9999px;
	background: var(--fb-brand);
	color: #fff;
	aspect-ratio: 1 / 1;
}
.fb-btn--icon:hover,
.fb-btn--icon:focus-visible {
	background: #0e5fc4;
	color: #fff;
}

/* Variante avec label (footer) — pilule horizontale */
.fb-btn--label {
	padding: 0.75rem 1.25rem;
	border-radius: var(--brco-radius);
	background: var(--fb-brand);
	color: #fff;
	font-size: 0.95rem;
}
.fb-btn--label .fb-btn__icon { width: 20px; height: 20px; }
.fb-btn--label:hover,
.fb-btn--label:focus-visible {
	background: #0e5fc4;
	color: #fff;
}

/* Anciens .social-link conservés pour rétro-compat éventuelle (vide) */

/* Nav toggle (mobile) */
.nav-toggle {
	display: none;
	background: transparent; border: none; padding: 0.5rem; cursor: pointer;
	width: 44px; height: 44px;
	flex-direction: column; gap: 5px; justify-content: center; align-items: center;
}
.nav-toggle__bar {
	width: 24px; height: 2px; background: var(--brco-text);
	transition: all var(--brco-transition);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
	.nav-toggle { display: flex; }
	.main-navigation {
		position: absolute; top: 100%; left: 0; right: 0;
		background: #fff;
		flex-direction: column; align-items: stretch;
		gap: 0;
		padding: 0;
		border-bottom: 1px solid var(--brco-border);
		box-shadow: var(--brco-shadow);
		max-height: 0; overflow: hidden;
		pointer-events: none;
		transition: max-height 300ms ease;
	}
	.main-navigation.is-open { max-height: 80vh; overflow: auto; padding: 1rem; pointer-events: auto; }
	.main-navigation ul { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
	.main-navigation a { padding: 1rem; border-radius: 0; border-bottom: 1px solid var(--brco-border); }
	.header-utils { padding-left: 0; border-left: 0; border-top: 1px solid var(--brco-border); padding-top: 1rem; margin-top: 0.5rem; }
}

/* Hero */
.hero {
	position: relative;
	overflow: hidden;
	color: #fff;
	padding: 7rem 1.25rem 10rem;
	text-align: center;
	isolation: isolate;
	min-height: 88vh;
	display: flex;
	align-items: center;
	clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
}
.hero__inner { width: 100%; }
.hero__bg {
	position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(155deg, #001829 0%, #003060 30%, var(--brco-blue) 65%, #0078c8 100%);
	background-size: cover;
	background-position: center;
}
.hero__bg::before {
	content: ""; position: absolute; inset: 0;
	background:
		radial-gradient(ellipse 70% 60% at 80% 40%, rgba(255, 122, 0, 0.14), transparent),
		radial-gradient(circle at 10% 80%, rgba(0, 140, 255, 0.1), transparent 50%);
}
.hero__bg::after {
	content: ""; position: absolute; inset: 0;
	background-image:
		radial-gradient(circle at 22% 28%, rgba(255,255,255,.09), transparent 35%),
		radial-gradient(circle at 78% 72%, rgba(255,255,255,.06), transparent 40%);
}
/* Overlay sombre quand image de fond */
.hero--has-image .hero__bg { background-color: transparent; }
.hero--has-image .hero__bg::before { display: none; }
.hero--has-image .hero__bg::after {
	background-image: linear-gradient(160deg, rgba(0,10,30,.72) 0%, rgba(0,30,65,.78) 50%, rgba(0,50,100,.6) 100%);
}
.hero__logo {
	margin: 0 auto 2rem;
	width: 190px; height: 190px;
	display: block;
	filter: drop-shadow(0 16px 40px rgba(0,0,0,0.5));
	animation: heroLogoFloat 5s ease-in-out infinite;
}
@keyframes heroLogoFloat {
	0%, 100% { transform: translateY(0); }
	50%       { transform: translateY(-9px); }
}
.hero__title {
	color: #fff;
	font-size: clamp(2.5rem, 6vw, 4.75rem);
	margin-bottom: 1.25rem;
	letter-spacing: 0.02em;
	text-shadow: 0 4px 32px rgba(0,0,0,0.35);
}
.hero__subtitle {
	font-size: clamp(1.1rem, 2vw, 1.3rem);
	max-width: 620px;
	margin: 0 auto 2.75rem;
	opacity: 0.88;
	font-weight: 400;
	line-height: 1.7;
}
.hero__cta {
	background: var(--brco-blue);
	color: #fff;
	border-color: var(--brco-blue);
	box-shadow: 0 8px 32px rgba(0, 71, 122, 0.45);
	padding: 1rem 2.25rem;
	font-size: 1rem;
}
.hero__cta:hover {
	background: var(--brco-blue-dark);
	border-color: var(--brco-blue-dark);
	color: #fff;
	transform: translateY(-3px);
	box-shadow: 0 14px 44px rgba(0, 71, 122, 0.55);
	text-decoration: none;
}

/* Sections */
.section { padding: 4rem 0; }
.section--events { background: var(--brco-bg-alt); }
.section--blog { background: var(--brco-bg-alt); }
.section__header { display: flex; align-items: end; justify-content: space-between; margin-bottom: 2rem; flex-wrap: wrap; gap: 1rem; }
.section__header h2 { margin: 0; }
.section__link { font-weight: 600; }

/* Page header */
.page-header { margin-bottom: 2.5rem; text-align: center; }
.page-title { margin-bottom: 0.5rem; }
.page-subtitle { color: var(--brco-text-muted); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }
.section-subtitle { margin: 3rem 0 1.5rem; font-size: 1.5rem; border-left: 4px solid var(--brco-blue); padding-left: 1rem; }

/* Cards / grids */
.posts-grid, .events-grid, .albums-grid {
	display: grid; gap: var(--brco-gap);
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.card {
	background: #fff;
	border: 1px solid var(--brco-border);
	border-radius: var(--brco-radius);
	overflow: hidden;
	display: flex; flex-direction: column;
	transition: all var(--brco-transition);
	position: relative;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--brco-shadow); border-color: var(--brco-blue-light); }
.card__thumb { display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--brco-bg-alt); position: relative; }
.card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms ease; }
.card:hover .card__thumb img { transform: scale(1.05); }
.card__thumb-placeholder { display: grid; place-items: center; width: 100%; height: 100%; color: var(--brco-border); }
.card__body { padding: 1.25rem; display: flex; flex-direction: column; gap: 0.75rem; flex: 1; }
.card__title { margin: 0; font-size: 1.15rem; text-transform: none; font-family: var(--brco-font-body); font-weight: 700; letter-spacing: 0; line-height: 1.3; }
.card__title a { color: var(--brco-text); }
.card__title a:hover { color: var(--brco-blue); text-decoration: none; }
.card__meta { font-size: 0.85rem; color: var(--brco-text-muted); }
.card__excerpt { color: var(--brco-text-muted); font-size: 0.95rem; margin: 0; flex: 1; }
.card__more { font-weight: 600; font-size: 0.9rem; margin-top: auto; align-self: flex-start; }

/* Event card */
.card--event { position: relative; }

/* Date badge — coin haut-gauche, toujours visible */
.card--event .event-date {
	position: absolute; top: 0.85rem; left: 0.85rem; z-index: 3;
	background: var(--brco-blue); color: #fff;
	border-radius: var(--brco-radius-sm);
	padding: 0.5rem 0.7rem 0.55rem;
	text-align: center;
	min-width: 62px;
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
	display: flex; flex-direction: column;
	line-height: 1;
}
.event-date__day { display: block; font-size: 1.6rem; font-weight: 800; line-height: 1; }
.event-date__month { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; margin-top: 3px; font-weight: 700; }
.event-date__year { display: block; font-size: 0.65rem; opacity: 0.85; margin-top: 2px; }

/* Bandeau de remplacement quand pas d'image (pour porter le badge sans recouvrir le titre) */
.card__cover-fallback {
	aspect-ratio: 16/7;
	background: linear-gradient(135deg, var(--brco-blue-light) 0%, #d4e6f3 100%);
	display: grid; place-items: center;
	color: rgba(0, 95, 157, 0.25);
}
.card__cover-fallback svg { width: 48px; height: 48px; }

/* Event meta list */
.event-meta { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.4rem; font-size: 0.9rem; color: var(--brco-text-muted); }
.event-meta li { display: flex; align-items: flex-start; gap: 0.5rem; line-height: 1.4; }
.event-meta .icon { color: var(--brco-blue); margin-top: 2px; }
.event-meta--lg { font-size: 1rem; margin: 1rem 0 1.5rem; gap: 0.6rem; }

/* Album */
.card--album .card__thumb { aspect-ratio: 4/3; }
.album-count {
	position: absolute; bottom: 0.75rem; right: 0.75rem;
	background: rgba(0, 0, 0, 0.7); color: #fff;
	padding: 0.3rem 0.6rem; font-size: 0.8rem; border-radius: var(--brco-radius-sm); backdrop-filter: blur(4px);
}

/* Single */
.single-article, .page-article, .single-event { max-width: 860px; }
.entry-header { margin-bottom: 2rem; }
.entry-title { margin-bottom: 0.5rem; }
.entry-meta { color: var(--brco-text-muted); font-size: 0.95rem; }
.entry-thumbnail { margin: 0 0 2rem; border-radius: var(--brco-radius); overflow: hidden; box-shadow: var(--brco-shadow); }
.entry-thumbnail img { width: 100%; height: auto; }
.entry-content > * + * { margin-top: 1.25rem; }
.entry-content h2, .entry-content h3 { margin-top: 2rem; }
.entry-content img { border-radius: var(--brco-radius); margin: 1.5rem 0; }
.entry-content blockquote {
	border-left: 4px solid var(--brco-blue);
	padding: 0.5rem 0 0.5rem 1.5rem;
	margin: 1.5rem 0;
	color: var(--brco-text-muted);
	font-style: italic;
}
.back-link { display: inline-block; margin-bottom: 1rem; font-size: 0.9rem; font-weight: 600; }

/* Gallery */
.gallery-grid {
	display: grid; gap: 0.75rem;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	margin: 2rem 0;
}
.gallery-item {
	display: block; aspect-ratio: 1;
	overflow: hidden;
	border-radius: var(--brco-radius-sm);
	background: var(--brco-bg-alt);
	transition: transform var(--brco-transition);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms ease; }
.gallery-item:hover { transform: scale(1.02); }
.gallery-item:hover img { transform: scale(1.08); }

/* Lightbox */
.lightbox-overlay {
	position: fixed; inset: 0; z-index: 9999;
	background: rgba(0, 0, 0, 0.92);
	display: flex; align-items: center; justify-content: center;
	opacity: 0; visibility: hidden;
	transition: opacity 200ms ease, visibility 200ms ease;
	padding: 1rem;
}
.lightbox-overlay.is-open { opacity: 1; visibility: visible; }
.lightbox-overlay img { max-width: 95vw; max-height: 90vh; box-shadow: 0 20px 60px rgba(0,0,0,0.5); border-radius: var(--brco-radius-sm); }
.lightbox-close, .lightbox-prev, .lightbox-next {
	position: absolute;
	background: rgba(255,255,255,0.1);
	border: none; color: #fff;
	width: 48px; height: 48px;
	border-radius: 50%;
	cursor: pointer; font-size: 1.5rem;
	display: grid; place-items: center;
	transition: background var(--brco-transition);
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.25); }
.lightbox-close { top: 1rem; right: 1rem; }
.lightbox-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1rem; top: 50%; transform: translateY(-50%); }

/* Pagination */
.navigation.pagination, .pagination {
	display: flex; justify-content: center; gap: 0.5rem;
	margin: 3rem 0 0;
}
.page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 40px; height: 40px; padding: 0 0.75rem;
	border-radius: var(--brco-radius-sm);
	border: 1px solid var(--brco-border);
	font-weight: 600; color: var(--brco-text);
	text-decoration: none;
}
.page-numbers:hover, .page-numbers.current {
	background: var(--brco-blue); color: #fff; border-color: var(--brco-blue);
	text-decoration: none;
}

/* Empty / 404 */
.empty-state, .no-results, .not-found { text-align: center; padding: 3rem 1rem; color: var(--brco-text-muted); }
.not-found h1 { color: var(--brco-blue); }

/* Contact map */
.contact-fb { margin-top: 1.5rem; }
.contact-block {
	display: grid;
	grid-template-columns: 1fr 1.4fr;
	gap: 2.5rem;
	align-items: stretch;
	min-height: 480px;
	margin-top: 2rem;
}
.contact-block__info {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}
.contact-block__map {
	border-radius: var(--brco-radius);
	overflow: hidden;
	border: 1px solid var(--brco-border);
	box-shadow: var(--brco-shadow);
	min-height: 420px;
}
.contact-block__map iframe {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 420px;
}
@media (max-width: 768px) {
	.contact-block {
		grid-template-columns: 1fr;
	}
	.contact-block__map,
	.contact-block__map iframe { min-height: 300px; }
}

/* Infos pratiques */
.section--infos { background: var(--brco-bg-alt); }
.infos-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 1.5rem;
}
.infos-card {
	background: #fff;
	border: 1px solid var(--brco-border);
	border-radius: var(--brco-radius);
	padding: 1.75rem;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	box-shadow: var(--brco-shadow);
}
.infos-card__icon {
	width: 44px; height: 44px;
	background: var(--brco-blue-light);
	border-radius: var(--brco-radius-sm);
	display: grid; place-items: center;
	color: var(--brco-blue);
	flex-shrink: 0;
}
.infos-card__icon svg { width: 22px; height: 22px; }
.infos-card h3 { margin: 0; font-size: 1.05rem; font-family: var(--brco-font-body); text-transform: none; letter-spacing: 0; }
.infos-card a { display: block; color: var(--brco-blue); font-size: 0.95rem; }
.infos-card a:hover { text-decoration: underline; }
.infos-card__address { color: var(--brco-text-muted); font-size: 0.95rem; font-style: normal; margin: 0; }
.infos-card__address p { margin: 0; }
.infos-card__link { font-weight: 600; font-size: 0.9rem !important; margin-top: 0.25rem; }

.schedule-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.schedule-table th, .schedule-table td { padding: 0.5rem 0.25rem; text-align: left; border-bottom: 1px solid var(--brco-border); }
.schedule-table th { font-weight: 600; color: var(--brco-text); width: 55%; }
.schedule-table td { color: var(--brco-text-muted); }
.schedule-table__highlight th,
.schedule-table__highlight td { color: var(--brco-blue); font-weight: 700; }
.schedule-table tr:last-child th,
.schedule-table tr:last-child td { border-bottom: 0; }

/* Footer */
.site-footer { background: var(--brco-blue-darker); color: rgba(255,255,255,0.85); margin-top: 4rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--brco-blue-light); text-decoration: underline; }
.site-footer__grid {
	display: grid; gap: 2rem;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	padding: 3rem 1.25rem 2rem;
}
.site-footer h3 { color: #fff; font-size: 1.1rem; margin-bottom: 1rem; }
.site-footer__brand img { width: 128px; height: 128px; display: block; filter: drop-shadow(0 6px 18px rgba(0,0,0,0.35)); }
.site-footer__name { margin: 0.75rem 0 0.25rem; font-weight: 700; color: #fff; font-size: 1.1rem; letter-spacing: 0.05em; }
.site-footer__desc { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.site-footer__address { color: rgba(255,255,255,0.85); font-size: 0.9rem; font-style: normal; margin-bottom: 0.5rem; }
.footer-menu { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-menu a { text-decoration: none; opacity: 0.9; }
.footer-menu a:hover { opacity: 1; text-decoration: underline; }
address { font-style: normal; }
.site-footer__bottom { background: rgba(0,0,0,0.25); padding: 1rem 0; text-align: center; font-size: 0.85rem; }
.site-footer__bottom p { margin: 0; }

@media (max-width: 640px) {
	.site-footer__grid {
		grid-template-columns: 1fr;
		padding: 2.5rem 1.5rem 1.5rem;
		gap: 2rem;
		text-align: center;
	}
	.site-footer__brand img { margin: 0 auto; }
	.site-footer__brand { display: flex; flex-direction: column; align-items: center; }
	.site-footer h3 { margin-bottom: 0.75rem; }
	.footer-menu { align-items: center; }
	.fb-btn--label { margin: 0 auto; }
	address { display: flex; flex-direction: column; align-items: center; }
}

/* WP block adjustments */
.alignwide { max-width: 1000px; margin-left: auto; margin-right: auto; }
.alignfull { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); max-width: 100vw; }
.wp-block-image figcaption { color: var(--brco-text-muted); font-size: 0.9rem; text-align: center; }
.wp-block-button__link { background: var(--brco-blue); color: #fff; border-radius: var(--brco-radius); padding: .85rem 1.5rem; font-weight: 600; }

/* Comments */
.comments-area { max-width: 860px; margin: 3rem auto 0; }
