/* TTO Sports Clubs — purple section accent, each sport its own colour */
.tto-sc {
	--sc-purple: #6b3fa0;
	--sc-purple-dark: #3b2466;
	--sc-ink: #1d2433;
	--sc-muted: #5d6475;
	--sc-line: #e3e1ea;
	--sc-bg: #f7f5fb;
	--tile: var(--sc-purple);
	color: var(--sc-ink);
	font-family: "Public Sans", system-ui, sans-serif;
}
.tto-sc *, .tto-sc *::before, .tto-sc *::after { box-sizing: border-box; }
.tto-sc h1, .tto-sc h2, .tto-sc h3 { font-family: "Fraunces", Georgia, serif; color: var(--sc-ink); line-height: 1.15; }
.tto-sc-wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Buttons */
.tto-sc-btn {
	display: inline-block; padding: 12px 22px; border-radius: 8px;
	background: var(--sc-purple); color: #fff !important; font-weight: 700;
	text-decoration: none !important; border: 2px solid var(--sc-purple); cursor: pointer; font-size: 15px;
}
.tto-sc-btn:hover { background: var(--sc-purple-dark); border-color: var(--sc-purple-dark); }
.tto-sc-btn-light { background: #fff; color: var(--sc-purple-dark) !important; border-color: #fff; }
.tto-sc-btn-light:hover { background: #f0eaf8; border-color: #f0eaf8; }
.tto-sc-btn-ghost { background: transparent; border-color: rgba(255,255,255,.6); }
.tto-sc-btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }

/* Hero */
.tto-sc-hero {
	--sc-accent: #6b3fa0;
	background:
		radial-gradient(circle at 85% 20%, rgba(255,255,255,.14) 0 120px, transparent 121px),
		radial-gradient(circle at 95% 90%, rgba(255,255,255,.08) 0 180px, transparent 181px),
		linear-gradient(135deg, var(--sc-accent), #2a1a4a);
	color: #fff; padding: 56px 0 60px; margin-bottom: 32px;
}
.tto-sc-hero h1 { color: #fff; font-size: clamp(32px, 5vw, 50px); margin: 6px 0 12px; }
.tto-sc-kicker { font-family: "JetBrains Mono", monospace; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; opacity: .85; margin: 0; }
.tto-sc-lede { font-size: 18px; max-width: 640px; opacity: .95; margin: 0 0 24px; }
.tto-sc-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Sport tiles */
.tto-sc-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; margin-bottom: 24px; }
.tto-sc-tile {
	display: flex; align-items: center; gap: 10px; padding: 12px;
	background: #fff; border: 2px solid var(--sc-line); border-radius: 10px;
	text-decoration: none !important; color: var(--sc-ink) !important;
	transition: border-color .15s, transform .15s, box-shadow .15s;
}
.tto-sc-tile:hover { border-color: var(--tile); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,.06); }
.tto-sc-tile.is-active { border-color: var(--tile); background: var(--tile); color: #fff !important; }
.tto-sc-tile.is-active .tto-sc-tile-sq { background: rgba(255,255,255,.2); }
.tto-sc-tile.is-active .tto-sc-tile-count { background: rgba(255,255,255,.25); color: #fff; }
.tto-sc-tile-sq {
	flex: 0 0 38px; height: 38px; border-radius: 8px; background: var(--tile); color: #fff;
	display: grid; place-items: center; font-family: "Fraunces", serif; font-weight: 700; font-size: 20px;
}
.tto-sc-tile-name { flex: 1; font-weight: 700; font-size: 15px; line-height: 1.2; }
.tto-sc-tile-count { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: var(--sc-bg); color: var(--sc-muted); }

/* Search */
.tto-sc-search { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; flex-wrap: wrap; }
.tto-sc-search input {
	flex: 1 1 320px; max-width: 520px; padding: 12px 16px; font-size: 16px;
	border: 2px solid var(--sc-line); border-radius: 8px; background: #fff;
}
.tto-sc-search input:focus { outline: none; border-color: var(--sc-purple); }
.tto-sc-results { color: var(--sc-muted); font-size: 14px; }

/* Club cards */
.tto-sc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.tto-sc-card {
	display: flex; gap: 14px; align-items: flex-start; padding: 18px;
	background: #fff; border: 1px solid var(--sc-line); border-left: 5px solid var(--tile); border-radius: 10px;
	text-decoration: none !important; color: var(--sc-ink) !important;
	transition: box-shadow .15s, transform .15s;
}
.tto-sc-card:hover { box-shadow: 0 8px 22px rgba(0,0,0,.08); transform: translateY(-2px); }
.tto-sc-card[hidden] { display: none; }
.tto-sc-sq {
	flex: 0 0 52px; height: 52px; border-radius: 10px; background: var(--tile); color: #fff;
	display: grid; place-items: center; font-family: "Fraunces", serif; font-weight: 700; font-size: 26px;
}
.tto-sc-sq-lg { flex-basis: 84px; width: 84px; height: 84px; font-size: 42px; border-radius: 14px; }
.tto-sc-card-body { flex: 1; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.tto-sc-badge {
	align-self: flex-start; display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
	padding: 3px 9px; border-radius: 99px; color: var(--tile) !important; background: color-mix(in srgb, var(--tile) 12%, #fff);
	text-decoration: none !important;
}
.tto-sc-card-title { font-family: "Fraunces", serif; font-size: 19px; font-weight: 700; line-height: 1.25; }
.tto-sc-card-meta { font-size: 14px; color: var(--sc-muted); }
.tto-sc-ages::before { content: "👥 "; }
.tto-sc-arrow { color: var(--tile); font-size: 20px; align-self: center; }
.tto-sc-empty { padding: 24px; background: var(--sc-bg); border-radius: 10px; text-align: center; color: var(--sc-muted); }

/* CTA */
.tto-sc-cta {
	margin: 40px 0 56px; padding: 28px; border-radius: 14px; background: var(--sc-bg); border: 1px solid var(--sc-line);
	display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.tto-sc-cta h2 { margin: 0 0 6px; font-size: 24px; }
.tto-sc-cta p { margin: 0; color: var(--sc-muted); max-width: 620px; }

/* Single */
.tto-sc-single { padding: 28px 0 56px; }
.tto-sc-crumbs { font-size: 14px; color: var(--sc-muted); margin-bottom: 18px; }
.tto-sc-crumbs a { color: var(--sc-purple); }
.tto-sc-single-head { display: flex; gap: 20px; align-items: center; margin-bottom: 28px; padding-bottom: 24px; border-bottom: 4px solid var(--tile); }
.tto-sc-single-head h1 { margin: 6px 0 4px; font-size: clamp(28px, 4vw, 42px); }
.tto-sc-sub { margin: 0; color: var(--sc-muted); font-size: 17px; }
.tto-sc-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.tto-sc-box { background: #fff; border: 1px solid var(--sc-line); border-radius: 12px; padding: 24px; margin-bottom: 20px; }
.tto-sc-box h2 { margin: 0 0 12px; font-size: 22px; }
.tto-sc-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; border-top: 4px solid var(--tile); }
.tto-sc-facts h3 { margin: 0 0 6px; font-size: 17px; color: var(--tile); }
.tto-sc-facts p { margin: 0; }
.tto-sc-photo { margin: 0 0 20px; }
.tto-sc-photo img { width: 100%; height: auto; border-radius: 12px; display: block; }
.tto-sc-map { height: 340px; border-radius: 10px; z-index: 0; }

.tto-sc-contact { background: #fff; border: 1px solid var(--sc-line); border-top: 5px solid var(--tile); border-radius: 12px; padding: 22px; position: sticky; top: 20px; }
.tto-sc-contact h2 { margin: 0 0 14px; font-size: 20px; }
.tto-sc-contact ul { list-style: none; margin: 0; padding: 0; }
.tto-sc-contact li { padding: 10px 0; border-bottom: 1px solid var(--sc-line); word-break: break-word; }
.tto-sc-contact li:last-child { border-bottom: 0; }
.tto-sc-contact li span { display: block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--tile); margin-bottom: 2px; }
.tto-sc-contact a { color: var(--sc-purple); }
.tto-sc-side-note { padding: 16px 4px; font-size: 14px; color: var(--sc-muted); }
.tto-sc-side-note a { color: var(--sc-purple); }

/* Submission form */
.tto-sc-form-wrap { max-width: 820px; }
.tto-sc-intro { font-size: 17px; }
.tto-sc-form label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 14px; }
.tto-sc-form input, .tto-sc-form select, .tto-sc-form textarea {
	display: block; width: 100%; margin-top: 6px; padding: 10px 12px; font: inherit; font-weight: 400;
	border: 2px solid var(--sc-line); border-radius: 8px; background: #fff;
}
.tto-sc-form input:focus, .tto-sc-form select:focus, .tto-sc-form textarea:focus { outline: none; border-color: var(--sc-purple); }
.tto-sc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tto-sc-hp { position: absolute !important; left: -9999px; }
.tto-sc-notice { padding: 14px 18px; border-radius: 8px; margin-bottom: 18px; font-weight: 600; }
.tto-sc-ok { background: #efe8f8; border-left: 5px solid var(--sc-purple); }
.tto-sc-err { background: #fdecea; border-left: 5px solid #c0392b; }

@media (max-width: 900px) {
	.tto-sc-layout { grid-template-columns: 1fr; }
	.tto-sc-contact { position: static; }
}
@media (max-width: 600px) {
	.tto-sc-hero { padding: 40px 0 44px; }
	.tto-sc-grid { grid-template-columns: 1fr; }
	.tto-sc-tiles { grid-template-columns: 1fr 1fr; }
	.tto-sc-row, .tto-sc-facts { grid-template-columns: 1fr; }
	.tto-sc-single-head { align-items: flex-start; }
	.tto-sc-sq-lg { flex-basis: 60px; width: 60px; height: 60px; font-size: 30px; }
}

/* ===== v1.1 — /listings/-style directory with purple cards ===== */
.tto-sc-archive { background: #f4f6f5; padding: 1px 0 20px; }
.tto-sc-banner {
	min-height: 260px; display: flex; align-items: center; color: #fff;
	background:
		radial-gradient(circle at 82% 30%, rgba(255,255,255,.12) 0 110px, transparent 111px),
		radial-gradient(circle at 92% 110%, rgba(255,255,255,.08) 0 170px, transparent 171px),
		linear-gradient(120deg, #16253e 0%, #3b2466 45%, #6b3fa0 100%);
}
.tto-sc-banner.has-photo {
	background:
		linear-gradient(120deg, rgba(22,37,62,.88) 0%, rgba(59,36,102,.78) 45%, rgba(107,63,160,.6) 100%),
		var(--sc-banner-img) center / cover no-repeat;
}
.tto-sc-banner .tto-sc-wrap { width: 100%; }
.tto-sc-banner h1 { margin: 0; color: #fff; font: 700 clamp(30px, 4.5vw, 44px)/1.15 Poppins, sans-serif; }
.tto-sc-banner p { margin: 8px 0 0; color: #e6dcf5; font-size: 17px; }
.tto-sc-banner-link a { color: #fff; text-decoration: underline; }

.tto-sc-rule { border: 0; border-top: 1px solid #e1e4e2; margin: 40px 0 44px; }
.tto-sc-searchbar { display: flex; gap: 8px; margin-bottom: 60px; }
.tto-sc-searchbar input {
	flex: 1; min-width: 0; padding: 10px 14px; font: 16px Georgia, serif;
	border: 1px solid #bfc4c2; border-radius: 3px; background: #fff;
}
.tto-sc-searchbar input:focus { outline: none; border-color: #6b3fa0; }
.tto-sc-searchbar button {
	background: #e8612a; color: #fff; border: 0; border-radius: 3px; padding: 0 20px; font-size: 16px; cursor: pointer;
}
.tto-sc-searchbar button:hover { background: #cf5220; }

.tto-sc-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tto-sc-lcard {
	display: flex; flex-direction: column; background: #fff; border-radius: 10px; overflow: hidden;
	text-decoration: none !important; color: inherit !important;
	box-shadow: 0 1px 3px rgba(0,0,0,.05); transition: transform .15s, box-shadow .15s;
}
.tto-sc-lcard:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,.1); }
.tto-sc-lcard[hidden] { display: none; }
.tto-sc-lcard-top {
	position: relative; height: 170px; display: grid; place-items: center;
	background: linear-gradient(135deg, #16253e 0%, #4a2d78 55%, #8a5cc9 100%);
}
.tto-sc-lcard-letter { font: 700 40px Poppins, sans-serif; color: #fff; }
.tto-sc-lcard-tag {
	position: absolute; top: 12px; right: 12px; padding: 4px 10px; border-radius: 99px;
	font: 600 11px Poppins, sans-serif; letter-spacing: .05em; text-transform: uppercase;
	color: #fff; background: rgba(255,255,255,.18);
}
.tto-sc-lcard-body { display: flex; flex-direction: column; gap: 4px; padding: 18px 18px 20px; }
.tto-sc-lcard-title { font: 700 16px Poppins, sans-serif; color: #16253e; margin-bottom: 6px; }
.tto-sc-lcard-line { font-size: 14px; color: #555; word-break: break-word; }
.tto-sc-ic { font-size: 12px; margin-right: 5px; }
.tto-sc-archive .tto-sc-cta { background: #fff; }

@media (max-width: 900px) { .tto-sc-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
	.tto-sc-cards { grid-template-columns: 1fr; }
	.tto-sc-searchbar { margin-bottom: 32px; }
	.tto-sc-banner { min-height: 200px; }
}

/* ===== v1.2 — single club page, matching the Business Directory single pages ===== */
.tto-scs { background: #f4f6f5; padding: 36px 0 70px; }
.tto-scs-wrap { max-width: 780px; margin: 0 auto; padding: 0 20px; }
.tto-scs-head { display: flex; align-items: center; gap: 20px; margin-bottom: 26px; }
.tto-scs-sq {
	flex: 0 0 84px; width: 84px; height: 84px; border-radius: 6px; display: grid; place-items: center;
	background: linear-gradient(135deg, #3b2466 0%, #6b3fa0 60%, #8a5cc9 100%);
	color: #fff; font: 700 30px Poppins, sans-serif;
}
.tto-scs-head h1 { margin: 0; font: 700 clamp(26px, 4vw, 36px)/1.15 Poppins, sans-serif; color: #16253e; }
.tto-scs-tag {
	display: inline-block; margin-top: 8px; padding: 3px 10px; border-radius: 99px;
	font: 600 11px Poppins, sans-serif; letter-spacing: .05em; text-transform: uppercase;
	color: #6b3fa0 !important; background: #efe8f8; text-decoration: none !important;
}
.tto-scs-grid { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 30px; align-items: start; }
.tto-scs-map { height: 295px; overflow: hidden; background: #e6e9e7; }
.tto-scs-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.tto-scs-dirs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tto-scs-btn {
	display: inline-flex; align-items: center; gap: 7px; padding: 12px 16px; border-radius: 99px; white-space: nowrap;
	background: #2a6f97; border: 1px solid #2a6f97; color: #fff !important;
	font: 600 14px Poppins, sans-serif; text-decoration: none !important;
}
.tto-scs-btn:hover { background: #215a7b; border-color: #215a7b; }
.tto-scs-btn-out { background: #fff; color: #2a6f97 !important; }
.tto-scs-btn-out:hover { background: #eef5f9; }
.tto-scs-btn .tto-scs-ic { width: 16px; height: 16px; }
.tto-scs-about { margin-top: 28px; font-size: 16px; line-height: 1.6; color: #333; }
.tto-scs-about h2 { margin: 0 0 8px; font: 700 18px Poppins, sans-serif; color: #16253e; }

.tto-scs-card { background: #fff; border-radius: 10px; padding: 22px; }
.tto-scs-card h2 { margin: 0 0 16px; font: 700 16px Poppins, sans-serif; color: #16253e; }
.tto-scs-card ul { list-style: none; margin: 0; padding: 0; }
.tto-scs-card li {
	display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-top: 1px solid #e6e8e7;
	font-size: 15px; line-height: 1.6; color: #16253e; word-break: break-word;
}
.tto-scs-card li:first-child { border-top: 0; padding-top: 0; }
.tto-scs-card a { color: #16253e; text-decoration: none; }
.tto-scs-card a:hover { color: #6b3fa0; text-decoration: underline; }
.tto-scs-ic { flex: 0 0 16px; width: 16px; height: 16px; margin-top: 4px; display: inline-block; }
.tto-scs-ic svg { width: 100%; height: 100%; display: block; }
.tto-scs-none { margin: 0; color: #777; font-size: 14px; }
.tto-scs-back { margin: 40px 0 6px; font-size: 16px; }
.tto-scs-back a { color: #16253e; text-decoration: none; }
.tto-scs-back a:hover { text-decoration: underline; }
.tto-scs-update { margin: 0; font-size: 13px; color: #777; }
.tto-scs-update a { color: #6b3fa0; }

@media (max-width: 760px) {
	.tto-scs-grid { grid-template-columns: 1fr; }
	.tto-scs-sq { flex-basis: 64px; width: 64px; height: 64px; font-size: 24px; }
}
