/**
 * Single club page.
 *
 * The club's own primary and accent colors are injected as scoped variables,
 * so every club page carries its own identity while the structure stays
 * identical. Typography is inherited from the theme.
 *
 * Link styling is reset inside the plugin's own components. A theme that
 * underlines every link in blue turns buttons, cards and contact rows into a
 * wall of underlines, and those elements carry their own affordance already.
 */

.scf-club :is(.scf-club-btn, .scf-club-btn-quiet, .scf-club-hero-link, .scf-club-social,
	.scf-club-nearby-item, .scf-club-contact-text a, .scf-club-directions,
	.scf-club-nearby-all a, .scf-club-footer a, .scf-club-crumbs a) {
	text-decoration: none;
	box-shadow: none;
}

.scf-club :is(.scf-club-contact-text a, .scf-club-nearby-all a, .scf-club-crumbs a):hover {
	text-decoration: underline;
}

.scf-club .scf-club-nearby-item :is(span, b, small) {
	text-decoration: none;
}

/**
 * Single club page.
 *
 * The club's own primary and accent colors are injected as scoped variables,
 * so every club page carries its own identity while the structure stays
 * identical. Typography is inherited from the theme.
 */

.scf-club {
	--club-primary: #0f5179;
	--club-accent: #fcce33;
	--club-on-primary: #fff;
	--club-on-accent: #14202c;
	--club-ink: #14202c;
	--club-muted: #5f6b7a;
	--club-rule: #e2e6ec;
	--club-surface: #fff;
	--club-surface-alt: #f5f7f9;
	--club-radius: 12px;
	--club-wrap: 1120px;

	color: var(--club-ink);
}

.scf-club *,
.scf-club *::before,
.scf-club *::after {
	box-sizing: border-box;
}

.scf-club .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	white-space: nowrap;
}

/* Breadcrumb inside the hero
   ------------------------------------------------------------------------ */

.scf-club-crumbs.is-in-hero {
	grid-column: 1 / -1;
	max-width: none;
	margin: 0 0 0.35rem;
	padding: 0;
}

.scf-club-crumbs.is-in-hero ol {
	color: inherit;
	opacity: .72;
}

.scf-club-crumbs.is-in-hero a {
	color: inherit;
}

.scf-club-crumbs.is-in-hero a:hover {
	color: inherit;
	text-decoration: underline;
}

.scf-club-crumbs.is-in-hero [aria-current="page"] {
	color: inherit;
	font-weight: 600;
	opacity: 1;
}

/* Hero
   ------------------------------------------------------------------------ */

.scf-club-hero {
	padding: 2.5rem 1.25rem;
	color: var(--club-on-primary);
	background: var(--club-primary);
}

.scf-club-hero-inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 2.5rem;
	align-items: center;
	max-width: var(--club-wrap);
	margin: 0 auto;
}

.scf-club-hero-main {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	min-width: 0;
}

.scf-club-logo {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 108px;
	height: 108px;
	padding: 0.75rem;
	background: #fff;
	border-radius: var(--club-radius);
	box-shadow: 0 2px 10px rgba(16, 30, 46, .18);
}

.scf-club-logo.is-monogram {
	color: var(--club-primary);
	font-size: 2.5rem;
	font-weight: 800;
	letter-spacing: -.03em;
	line-height: 1;
}

.scf-club-logo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.scf-club-heading {
	min-width: 0;
}

.scf-club-name {
	margin: 0 0 0.45rem;
	font-size: clamp(1.75rem, 3.6vw, 2.6rem);
	line-height: 1.1;
	letter-spacing: -.02em;
	color: inherit;
}

.scf-club-place {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	margin: 0 0 0.3rem;
	font-size: 1.0625rem;
	opacity: .92;
}

.scf-club-place svg {
	flex: 0 0 auto;
	opacity: .8;
}

.scf-club-season {
	margin: 0;
	font-size: 0.9375rem;
	opacity: .75;
}

/* The conversion panel. Sits where the hero used to run out of content, and
   keeps the primary action from competing with the club name. */
.scf-club-hero-card {
	padding: 1.15rem;
	color: var(--club-ink);
	background: var(--club-surface);
	border-radius: var(--club-radius);
	box-shadow: 0 4px 18px rgba(16, 30, 46, .18);
}

.scf-club-status {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	margin: 0 0 0.85rem;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #1c7a52;
}

.scf-club-status.is-soon {
	color: #8a6100;
}

.scf-club-status-dot {
	width: 8px;
	height: 8px;
	background: currentColor;
	border-radius: 50%;
}

.scf-club-btn-block {
	display: block;
	width: 100%;
	text-align: center;
}

.scf-club-hero-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4rem;
	margin-top: 0.85rem;
	padding-top: 0.85rem;
	border-top: 1px solid var(--club-rule);
}

.scf-club-hero-link {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.35rem 0.55rem;
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--club-primary);
	text-decoration: none;
	border-radius: 7px;
}

.scf-club-hero-link:hover {
	background: var(--club-surface-alt);
}

.scf-club-hero-card .scf-club-social {
	width: 36px;
	height: 36px;
	color: var(--club-muted);
	border-color: var(--club-rule);
	border-radius: 7px;
	opacity: 1;
}

.scf-club-hero-card .scf-club-social:hover {
	color: var(--club-primary);
	border-color: var(--club-primary);
}

.scf-club-btn {
	display: inline-block;
	padding: 0.7rem 1.2rem;
	font-size: 0.9375rem;
	font-weight: 700;
	line-height: 1.3;
	color: var(--club-on-primary);
	text-decoration: none;
	border: 1px solid currentColor;
	border-radius: 8px;
	transition: background-color .15s ease, color .15s ease, filter .15s ease;
}

.scf-club-btn:hover {
	color: var(--club-primary);
	background: var(--club-on-primary);
}

.scf-club-btn-accent {
	color: var(--club-on-accent);
	background: var(--club-accent);
	border-color: var(--club-accent);
}

.scf-club-btn-accent:hover {
	color: var(--club-on-accent);
	background: var(--club-accent);
	filter: brightness(1.08);
}

.scf-club-social {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	color: inherit;
	border: 1px solid currentColor;
	border-radius: 8px;
	opacity: .8;
	transition: opacity .15s ease;
}

.scf-club-social:hover {
	color: inherit;
	opacity: 1;
}

/* Body grid
   ------------------------------------------------------------------------ */

.scf-club-body {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 2.5rem;
	max-width: var(--club-wrap);
	margin: 0 auto;
	padding: 2.5rem 1.25rem;
}

.scf-club-body.is-single-column {
	grid-template-columns: minmax(0, 1fr);
	max-width: 780px;
}

.scf-club-aside {
	position: sticky;
	top: 1.5rem;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	align-self: start;
}

.scf-club-section + .scf-club-section {
	margin-top: 2.5rem;
}

.scf-club-h2 {
	margin: 0 0 1rem;
	font-size: 1.25rem;
	line-height: 1.3;
}

.scf-club-intro {
	margin-bottom: 0;
}

/* Editor content. A narrow measure, because this is prose someone will read
   rather than data someone will scan. */
.scf-club-prose {
	font-size: 1.0625rem;
	line-height: 1.7;
	max-width: 68ch;
}

.scf-club-prose > *:first-child {
	margin-top: 0;
}

.scf-club-prose > *:last-child {
	margin-bottom: 0;
}

.scf-club-prose h2,
.scf-club-prose h3,
.scf-club-prose h4 {
	margin: 1.75rem 0 0.6rem;
	line-height: 1.3;
}

.scf-club-prose h2 {
	font-size: 1.25rem;
}

.scf-club-prose h3 {
	font-size: 1.0625rem;
}

.scf-club-prose p,
.scf-club-prose ul,
.scf-club-prose ol {
	margin: 0 0 1rem;
}

.scf-club-prose li + li {
	margin-top: 0.3rem;
}

.scf-club-prose a {
	color: var(--club-primary);
	font-weight: 600;
}

.scf-club-prose img,
.scf-club-prose iframe,
.scf-club-prose video {
	max-width: 100%;
	height: auto;
	border-radius: var(--club-radius);
}

.scf-club-prose blockquote {
	margin: 1.25rem 0;
	padding: 0.15rem 0 0.15rem 1rem;
	color: var(--club-muted);
	border-left: 3px solid var(--club-accent);
}

.scf-club-prose hr {
	margin: 1.75rem 0;
	border: 0;
	border-top: 1px solid var(--club-rule);
}

/* A club pasting a schedule needs the table to scroll rather than break the
   column, the same lesson as the registration widget. */
.scf-club-prose table {
	display: block;
	width: 100%;
	overflow-x: auto;
	border-collapse: collapse;
	font-size: 0.9375rem;
}

.scf-club-prose :is(th, td) {
	padding: 0.5rem 0.7rem;
	text-align: left;
	border-bottom: 1px solid var(--club-rule);
}

.scf-club-quiet {
	margin: 0;
	padding: 1.5rem;
	font-size: 0.9375rem;
	color: var(--club-muted);
	background: var(--club-surface-alt);
	border-radius: var(--club-radius);
}

.scf-club-card {
	padding: 1.25rem;
	background: var(--club-surface);
	border: 1px solid var(--club-rule);
	border-radius: var(--club-radius);
}

.scf-club-card .scf-club-h2 {
	font-size: 1.0625rem;
}

/* Registration band
   ------------------------------------------------------------------------ */

.scf-club-register {
	border-top: 3px solid var(--club-accent);
	background: var(--club-surface-alt);
}

.scf-club-register-inner {
	max-width: var(--club-wrap);
	margin: 0 auto;
	padding: 1.75rem 1.25rem 2rem;
}

.scf-club-register .scf-club-h2 {
	margin-bottom: 0.85rem;
}

/* A registration widget is usually a programs table with several columns. It
   needs the full page width, and on a narrow screen it needs to scroll
   sideways rather than squeeze or overflow the layout. */
.scf-club-embed {
	overflow-x: auto;
	overscroll-behavior-x: contain;
	background: var(--club-surface);
	border: 1px solid var(--club-rule);
	border-radius: var(--club-radius);
}

.scf-club-embed > * {
	max-width: none;
}

.scf-club-embed iframe {
	display: block;
	width: 100%;
	min-height: 220px;
	border: 0;
}

.scf-club-embed table {
	width: 100%;
	min-width: 640px;
	margin: 0;
}

/* Announcements
   ------------------------------------------------------------------------ */

.scf-club-accordion {
	border-top: 1px solid var(--club-rule);
}

.scf-club-item {
	border-bottom: 1px solid var(--club-rule);
}

.scf-club-item-head {
	margin: 0;
	font-size: 1rem;
}

.scf-club-toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	width: 100%;
	padding: 1rem 0;
	font: inherit;
	font-size: 1.0625rem;
	font-weight: 600;
	color: inherit;
	text-align: left;
	cursor: pointer;
	background: none;
	border: 0;
}

.scf-club-toggle svg {
	flex: 0 0 auto;
	color: var(--club-muted);
	transition: transform .2s ease;
}

.scf-club-item[data-open="1"] .scf-club-toggle svg {
	transform: rotate(180deg);
}

.scf-club-item-body {
	padding: 0 0 1.25rem;
	font-size: 1rem;
	line-height: 1.65;
	max-width: 68ch;
}

.scf-club-item-body > *:first-child {
	margin-top: 0;
}

.scf-club-item-body > *:last-child {
	margin-bottom: 0;
}

.scf-club-item-body img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
}

/* Gallery
   ------------------------------------------------------------------------ */

.scf-club-gallery-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.scf-club-gallery-nav {
	display: flex;
	gap: 0.4rem;
}

.scf-club-gallery-nav button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	color: var(--club-ink);
	cursor: pointer;
	background: var(--club-surface);
	border: 1px solid var(--club-rule);
	border-radius: 50%;
	transition: border-color .15s ease, color .15s ease;
}

.scf-club-gallery-nav button:hover:not([disabled]) {
	color: var(--club-primary);
	border-color: var(--club-primary);
}

.scf-club-gallery-nav button[disabled] {
	color: var(--club-rule);
	cursor: default;
}

.scf-club-strip {
	display: flex;
	gap: 0.75rem;
	margin: 0;
	padding: 0 0 0.5rem;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: thin;
	list-style: none;
	overscroll-behavior-x: contain;
}

.scf-club-slide {
	flex: 0 0 min(100%, 460px);
	scroll-snap-align: start;
}

.scf-club-slide img {
	display: block;
	width: 100%;
	height: 280px;
	object-fit: cover;
	border-radius: var(--club-radius);
}

/* Contact and map
   ------------------------------------------------------------------------ */

.scf-club-contact-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.scf-club-contact-row {
	display: flex;
	gap: 0.7rem;
	align-items: flex-start;
	padding: 0.55rem 0;
}

.scf-club-contact-row + .scf-club-contact-row {
	border-top: 1px solid var(--club-rule);
}

.scf-club-contact-icon {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	color: var(--club-primary);
	background: var(--club-surface-alt);
	border-radius: 8px;
}

.scf-club-contact-text {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
	min-width: 0;
	font-size: 0.9375rem;
	line-height: 1.45;
	overflow-wrap: anywhere;
}

.scf-club-contact-label {
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--club-muted);
}

.scf-club-contact-text a {
	color: var(--club-primary);
	text-decoration: none;
	font-weight: 600;
}

.scf-club-contact-text a:hover {
	text-decoration: underline;
}

.scf-club-mapcard {
	padding: 0;
	overflow: hidden;
}

.scf-club-map {
	width: 100%;
	min-height: 180px;
	background: var(--club-surface-alt);
}

.scf-club-directions {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	padding: 0.85rem;
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--club-primary);
	text-decoration: none;
	border-top: 1px solid var(--club-rule);
}

.scf-club-directions:hover {
	background: var(--club-surface-alt);
}

/* Footer band
   ------------------------------------------------------------------------ */

.scf-club-footer {
	margin-top: 1rem;
	padding: 2.25rem 1.25rem 2.5rem;
	background: var(--club-surface-alt);
	border-top: 1px solid var(--club-rule);
}

.scf-club-footer-inner {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
	gap: 2rem;
	max-width: var(--club-wrap);
	margin: 0 auto;
}

.scf-club-footer-h {
	margin: 0 0 0.4rem;
	font-size: 1.125rem;
	line-height: 1.3;
}

.scf-club-footer-p {
	margin: 0 0 0.9rem;
	font-size: 0.9375rem;
	line-height: 1.6;
	color: var(--club-muted);
	max-width: 46ch;
}

.scf-club-footer-acts {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0;
}

/* The start a club column carries the accent, so the two halves are not
   competing for the same weight. */
.scf-club-footer-start {
	padding-left: 2rem;
	border-left: 1px solid var(--club-rule);
}

@media (max-width: 700px) {
	.scf-club-footer-start {
		padding-left: 0;
		padding-top: 1.5rem;
		border-left: 0;
		border-top: 1px solid var(--club-rule);
	}
}

.scf-club :is(a, button):focus-visible {
	outline: 2px solid var(--club-primary);
	outline-offset: 2px;
}

.scf-club-hero :is(a, button):focus-visible {
	outline-color: var(--club-on-primary);
}

/* Small screens
   ------------------------------------------------------------------------ */

@media (max-width: 900px) {
	.scf-club-body {
		grid-template-columns: minmax(0, 1fr);
		gap: 2rem;
		padding: 1.75rem 1.1rem;
	}

	/* Registration and contact come first on a phone, since that is what a
	   parent landing here is looking for. */
	.scf-club-aside {
		position: static;
		order: -1;
	}

	.scf-club-hero {
		padding: 1.25rem 1.1rem 1.5rem;
	}

	.scf-club-hero-inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 1.25rem;
		align-items: stretch;
	}

	.scf-club-hero-main {
		gap: 1rem;
	}

	.scf-club-logo {
		width: 72px;
		height: 72px;
		padding: 0.5rem;
	}

	.scf-club-name {
		margin-bottom: 0.35rem;
	}

	/* Comfortable thumb targets on the card that carries the primary action. */
	.scf-club-hero-card .scf-club-btn-block {
		padding: 0.85rem 1.2rem;
		font-size: 1rem;
	}

	.scf-club-contact-row {
		padding: 0.7rem 0;
	}

	.scf-club-footer {
		padding: 1.75rem 1.1rem 2rem;
	}

	.scf-club-slide {
		flex-basis: 88%;
	}

	.scf-club-slide img {
		height: 220px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.scf-club * {
		transition-duration: .01ms !important;
		scroll-behavior: auto !important;
	}
}

/* Map pin, duplicated here so the club page does not need the locator
   stylesheet just to draw one marker.
   ------------------------------------------------------------------------ */

.scf-club .scf-pin,
.leaflet-marker-icon .scf-pin {
	display: block;
	width: 100%;
	height: 100%;
	background: var(--club-primary);
	border: 2.5px solid #fff;
	border-radius: 50%;
	box-shadow: 0 2px 6px rgba(16, 30, 46, .35);
}

/* Match the locator's control styling so a club page map does not suddenly
   look like a different product. */
.scf-club .leaflet-bar {
	border: 0;
	border-radius: 7px;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(16, 30, 46, .18);
}

.scf-club .leaflet-bar a,
.scf-club .leaflet-bar a:hover {
	width: 30px;
	height: 30px;
	line-height: 28px;
	color: var(--club-ink);
	text-decoration: none;
	background: var(--club-surface);
	border-bottom-color: var(--club-rule);
}

.scf-club .leaflet-control-attribution {
	padding: 0 6px;
	font-size: 10px;
	color: var(--club-muted);
	background: rgba(255, 255, 255, .8);
}

.scf-club .leaflet-control-attribution a {
	color: var(--club-muted);
	text-decoration: none;
}

.scf-club .leaflet-attribution-flag {
	display: none !important;
}

/* Breadcrumbs
   ------------------------------------------------------------------------ */

.scf-club-crumbs {
	max-width: var(--club-wrap);
	margin: 0 auto;
	padding: 1rem 1.25rem 0;
	font-size: 0.8125rem;
}

.scf-club-crumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	margin: 0;
	padding: 0;
	list-style: none;
	color: var(--club-muted);
}

.scf-club-crumbs li + li::before {
	content: "/";
	margin-right: 0.35rem;
	opacity: .5;
}

.scf-club-crumbs a {
	color: var(--club-muted);
}

.scf-club-crumbs a:hover {
	color: var(--club-primary);
}

.scf-club-crumbs [aria-current="page"] {
	color: var(--club-ink);
	font-weight: 600;
}

/* Hero with a photo behind it
   ------------------------------------------------------------------------ */

.scf-club-hero.has-image {
	position: relative;
	isolation: isolate;
}

/* The club colour stays dominant, so a dark photo and a light one both keep
   the text readable and every club page still reads as the same family. */
.scf-club-hero.has-image::before {
	position: absolute;
	inset: 0;
	z-index: -1;
	content: "";
	background-image:
		linear-gradient(100deg, rgba(0, 0, 0, .45) 0%, rgba(0, 0, 0, .15) 55%, transparent 100%),
		var(--club-backdrop);
	background-position: center;
	background-size: cover;
	opacity: .34;
}

.scf-club-hero.has-image::after {
	position: absolute;
	inset: 0;
	z-index: -2;
	content: "";
	background: var(--club-primary);
}

/* Nearby clubs
   ------------------------------------------------------------------------ */

.scf-club-nearby-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
	gap: 0.65rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.scf-club-nearby-item {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	height: 100%;
	padding: 0.9rem 1rem;
	text-decoration: none;
	background: var(--club-surface);
	border: 1px solid var(--club-rule);
	border-radius: var(--club-radius);
	transition: border-color .15s ease, transform .15s ease;
}

.scf-club-nearby-item:hover {
	border-color: var(--club-primary);
	transform: translateY(-1px);
}

.scf-club-nearby-name {
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--club-ink);
}

.scf-club-nearby-meta {
	font-size: 0.8125rem;
	color: var(--club-muted);
}

.scf-club-nearby-flag {
	align-self: flex-start;
	margin-top: 0.3rem;
	padding: 0.05rem 0.45rem;
	font-size: 0.6875rem;
	font-weight: 700;
	color: var(--club-ink);
	background: var(--club-accent);
	border-radius: 999px;
}

.scf-club-nearby-all {
	margin: 0.85rem 0 0;
	font-size: 0.875rem;
}

.scf-club-nearby-all a {
	font-weight: 600;
	color: var(--club-primary);
}

/* Sticky register bar, small screens only
   ------------------------------------------------------------------------ */

.scf-club-sticky {
	position: fixed;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 8000;
	display: none;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.6rem 0.9rem;
	background: var(--club-surface);
	border-top: 1px solid var(--club-rule);
	box-shadow: 0 -2px 12px rgba(16, 30, 46, .12);
	transform: translateY(100%);
	transition: transform .25s ease;
}

.scf-club-sticky[hidden] {
	display: none;
}

.scf-club-sticky-name {
	overflow: hidden;
	font-size: 0.875rem;
	font-weight: 600;
	text-overflow: ellipsis;
	white-space: nowrap;
}

@media (max-width: 900px) {
	.scf-club-sticky {
		display: flex;
	}

	.scf-club-sticky.is-up {
		transform: translateY(0);
	}

	.scf-club-crumbs {
		padding: 0.85rem 1.1rem 0;
	}
}

/* Empty states
   ------------------------------------------------------------------------ */

.scf-club-empty {
	display: flex;
	gap: 0.85rem;
	align-items: flex-start;
	padding: 1.15rem 1.25rem;
	background: var(--club-surface-alt);
	border: 1px dashed var(--club-rule);
	border-radius: var(--club-radius);
}

.scf-club-empty-icon {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	color: var(--club-primary);
	background: var(--club-surface);
	border: 1px solid var(--club-rule);
	border-radius: 50%;
}

.scf-club-empty-body {
	min-width: 0;
}

.scf-club-empty-text {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.6;
	color: var(--club-muted);
	max-width: 56ch;
}

.scf-club-empty-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin: 0.7rem 0 0;
}

.scf-club-btn-quiet {
	display: inline-block;
	padding: 0.4rem 0.8rem;
	font-size: 0.8125rem;
	font-weight: 700;
	color: var(--club-primary);
	text-decoration: none;
	background: var(--club-surface);
	border: 1px solid var(--club-rule);
	border-radius: 8px;
	transition: border-color .15s ease;
}

.scf-club-btn-quiet:hover {
	border-color: var(--club-primary);
}

/* The registration band keeps its shape without an embed, but drops the accent
   rule so it does not shout about something that is not there. */
.scf-club-register.is-empty {
	border-top-color: var(--club-rule);
}

.scf-club-register.is-empty .scf-club-empty {
	background: var(--club-surface);
}

/* A card that is only an empty state does not need doubled padding. */
.scf-club-card.is-empty {
	padding: 1.1rem;
}

.scf-club-card.is-empty .scf-club-empty {
	padding: 0;
	background: none;
	border: 0;
}

/* Photo shelf placeholder. Three panels hold the space the strip would take,
   so the page does not change height when a club adds a gallery. */
.scf-club-shelf {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.75rem;
}

.scf-club-shelf span {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 160px;
	background:
		linear-gradient(var(--club-surface-alt), var(--club-surface-alt)) padding-box,
		repeating-linear-gradient(135deg, var(--club-rule) 0 1px, transparent 1px 11px);
	border: 1px dashed var(--club-rule);
	border-radius: var(--club-radius);
}

.scf-club-shelf span::after {
	content: "";
	width: 26px;
	height: 22px;
	background: var(--club-rule);
	border-radius: 3px;
	clip-path: polygon(0 100%, 34% 46%, 56% 68%, 74% 40%, 100% 100%);
	opacity: .9;
}

.scf-club-shelf-note {
	margin: 0.7rem 0 0;
	font-size: 0.875rem;
	color: var(--club-muted);
}

@media (max-width: 900px) {
	.scf-club-shelf {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.scf-club-shelf span {
		height: 110px;
	}

	.scf-club-empty {
		padding: 1rem;
	}
}

/* The organisation mark stands in for a missing club logo. It is usually a
   simpler shape than a real club logo, so it gets a little more breathing room
   and slightly less presence than the genuine article. */
.scf-club-logo.is-fallback {
	padding: 1.15rem;
}

.scf-club-logo.is-fallback img {
	opacity: .92;
}

@media (max-width: 900px) {
	.scf-club-logo.is-fallback {
		padding: 0.8rem;
	}
}


/* Buttons written into content
   ------------------------------------------------------------------------ */

.scf-club-btn-wrap {
	display: inline-block;
	margin: 0.35rem 0.4rem 0.35rem 0;
}

.scf-club-btn-wrap.is-center {
	display: block;
	text-align: center;
}

.scf-club-btn-wrap.is-full {
	display: block;
}

/* An outline button reads as secondary next to the accent one, which is what a
   club usually wants for a second link. */
.scf-club-btn-outline {
	color: var(--club-primary);
	background: none;
	border-color: var(--club-primary);
}

.scf-club-btn-outline:hover {
	color: #fff;
	background: var(--club-primary);
}

.scf-club-prose .scf-club-btn {
	font-weight: 700;
}

@media (max-width: 600px) {
	/* Full width is what most people mean by a button on a phone anyway. */
	.scf-club-btn-wrap.is-full .scf-club-btn,
	.scf-club-btn-wrap.is-center .scf-club-btn {
		display: block;
		width: 100%;
		text-align: center;
	}
}
