/* St Mary Members Button: matches the St Mary Classic theme (gold pill, navy on hover). */
.smmb {
	--smmb-gold: var(--gold, #b08a3e);
	--smmb-navy: var(--navy, #1c2b4a);
	display: inline-flex; align-items: center; gap: .55em;
	padding: .7em 1.35em; border-radius: 999px;
	background: var(--smmb-gold); border: 1px solid var(--smmb-gold); color: #fff !important;
	font-family: var(--sans, "Source Sans 3", "Segoe UI", Arial, sans-serif);
	font-size: .76rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
	line-height: 1.2; text-decoration: none !important; white-space: nowrap;
	box-shadow: 0 2px 8px rgba(176, 138, 62, .28);
	transition: background .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.smmb:hover, .smmb:focus-visible, .smmb.is-current {
	background: var(--smmb-navy); border-color: var(--smmb-navy); color: #fff !important;
	box-shadow: 0 6px 16px rgba(28, 43, 74, .18);
}
.smmb:hover { transform: translateY(-1px); }
.smmb:focus-visible { outline: 2px solid var(--smmb-gold); outline-offset: 3px; }
.smmb svg { width: 1.15em; height: 1.15em; flex: none; }
.smmb__short { display: none; }

/* In the header: brand left, then menu, then button, then the phone menu toggle. */
.smmb--header { flex: none; }
.has-smmb .site-header__inner .brand { margin-right: auto; }
.has-smmb .site-header__inner .site-nav { order: 1; }
.has-smmb .site-header__inner .smmb { order: 2; }
.has-smmb .site-header__inner .nav-toggle { order: 3; }

/* Fallback when no header was found: floating button, bottom right. */
.smmb--floating { position: fixed; right: 18px; bottom: 18px; z-index: 60; }

/* Tablets and phones. */
@media (max-width: 560px) {
	.has-smmb .site-header__inner { gap: 12px; }
	.smmb__long { display: none; }
	.smmb__short { display: inline; }
}
@media (max-width: 420px) {
	.smmb { padding: .55em .85em; font-size: .66rem; letter-spacing: .08em; box-shadow: none; }
	.smmb svg { display: none; }
	.has-smmb .site-header .brand__name { font-size: 1.15rem; line-height: 1.15; }
	.has-smmb .site-header .brand { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) { .smmb { transition: none; } .smmb:hover { transform: none; } }
@media print { .smmb { display: none !important; } }
