/* Kinross Cycling Club – site styles.
   Colours, fonts and type scale live in theme.json; this file handles layout
   and the club components used by the patterns (all classes start kcc-). */

:root {
	--kcc-purple: #271E50;
	--kcc-deep: #1A1238;
	--kcc-indigo: #4B0082;
	--kcc-yellow: #FDE53A;
	--kcc-pink: #E8408A;
	--kcc-tint: #EEEAF4;
	--kcc-lilac: #B0A9B9;
	--kcc-mist: #E4E1EC;
	--kcc-gap: 8px;
	--kcc-pad: 40px;
	--kcc-admin: var(--wp-admin--admin-bar--height, 0px);
}

/* ---------- Page frame ---------- */
body { background: var(--kcc-purple); }
.wp-site-blocks { max-width: 1440px; margin-inline: auto; display: flex; flex-direction: column; gap: var(--kcc-gap); }
.wp-site-blocks > * { margin-block: 0 !important; }
.kcc-main, .kcc-sections { display: flex; flex-direction: column; gap: var(--kcc-gap); }
.kcc-main > *, .kcc-sections > * { margin-block: 0 !important; }
.kcc-main :where(p, h1, h2, h3, h4, ul, ol, figure) { margin-block: 0; }

/* Block wrappers used purely for layout: zero inner margins. */
.kcc-grid > *, .kcc-mosaic > *, .kcc-hero > *, .kcc-join > *, .kcc-two > *, .kcc-split > *, .kcc-cols > *, .kcc-band > * { margin: 0 !important; }

/* ---------- Colour blocks ---------- */
.kcc-bg-white { background: #fff; color: var(--kcc-purple); }
.kcc-bg-tint { background: var(--kcc-tint); color: var(--kcc-purple); }
.kcc-bg-yellow { background: var(--kcc-yellow); color: var(--kcc-purple); }
.kcc-bg-indigo { background: var(--kcc-indigo); color: #fff; }
.kcc-bg-purple { background: var(--kcc-purple); color: #fff; }
.kcc-text-yellow { color: var(--kcc-yellow); }

/* ---------- Type helpers ---------- */
.kcc-section { padding: var(--kcc-pad); }
.kcc-section > * + * { margin-top: 16px !important; }
.kcc-h2 { font-size: clamp(34px, 4vw, 56px); margin-bottom: 24px !important; }
.kcc-section > .kcc-h2 + * { margin-top: 0 !important; }
.kcc-title { font-size: clamp(52px, 7vw, 96px); line-height: 0.88; letter-spacing: -0.035em; text-transform: uppercase; font-weight: 700; margin: 0; }
.kcc-eyebrow { font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.3; }
.kcc-bg-white .kcc-eyebrow:not(.kcc-text-yellow), .kcc-bg-tint .kcc-eyebrow:not(.kcc-text-yellow) { color: var(--kcc-indigo); }
.kcc-bg-indigo .kcc-eyebrow, .kcc-bg-purple .kcc-eyebrow { color: var(--kcc-yellow); }
.kcc-bg-yellow .kcc-eyebrow { color: var(--kcc-purple); }
.kcc-lead { font-size: 18px; line-height: 1.5; }
.kcc-meta { font-size: 20px; font-weight: 700; }
.kcc-note { font-size: 16px; line-height: 1.5; max-width: 760px; }
.kcc-more { font-size: 14px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.kcc-bg-white .kcc-more, .kcc-bg-tint .kcc-more { color: var(--kcc-indigo); }
.kcc-tile-title { font-size: 40px; font-weight: 700; line-height: 0.95; letter-spacing: -0.02em; text-transform: uppercase; }
.kcc-card-title { font-size: 24px; line-height: 1; letter-spacing: -0.02em; }
.kcc-section p:not([class]) { font-size: 18px; line-height: 1.6; max-width: 680px; }
.kcc-main a:where(:not(.wp-element-button)) { color: inherit; }
.kcc-main .wp-block-button:not(.is-style-outline) .wp-element-button { color: var(--kcc-purple); }

/* ---------- Header ---------- */
.wp-site-blocks > header.wp-block-template-part {
	position: sticky; top: var(--kcc-admin); z-index: 50;
	background: var(--kcc-purple);
	transition: background-color .25s ease, box-shadow .25s ease;
}
body.kcc-scrolled .wp-site-blocks > header.wp-block-template-part { box-shadow: 0 6px 18px rgba(10, 6, 24, .35); }
body.home:not(.kcc-scrolled) .wp-site-blocks > header.wp-block-template-part { background: transparent; }
.kcc-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 20px; margin: 0 !important; }
.kcc-nav { font-weight: 700; letter-spacing: .06em; }
.kcc-nav .wp-block-navigation__container { gap: 22px; align-items: center; }
.kcc-nav a:hover { text-decoration: none; opacity: .85; }
.kcc-nav .kcc-nav-join > a { background: var(--kcc-yellow); color: var(--kcc-purple) !important; padding: 9px 16px; }
.kcc-nav .wp-block-navigation__responsive-container-open { border: 2px solid #fff; padding: 8px 10px; color: #fff; }
.kcc-nav .wp-block-navigation__responsive-container.is-menu-open { background: var(--kcc-purple); color: #fff; padding: 24px 20px; }
.kcc-nav .is-menu-open .wp-block-navigation__container { gap: 0; align-items: stretch !important; width: 100%; }
.kcc-nav .is-menu-open .wp-block-navigation-item { width: 100%; border-bottom: 1px solid #3B3160; }
.kcc-nav .is-menu-open .wp-block-navigation-item > a { padding: 15px 0; font-size: 16px; display: block; }
.kcc-nav .is-menu-open .kcc-nav-join { border: 0; margin-top: 16px; }
.kcc-nav .is-menu-open .kcc-nav-join > a { padding: 14px 16px; }

/* Stacked wordmark */
.kcc-wordmark { display: block; text-align: right; font-weight: 700; line-height: .86; letter-spacing: -.01em; color: var(--kcc-yellow); text-transform: uppercase; text-decoration: none !important; }
.kcc-wordmark > span { display: block; white-space: nowrap; }
.kcc-wordmark .kcc-wm-main { color: #fff; }
.kcc-wordmark--small .kcc-wm-sub { font-size: 15px; }
.kcc-wordmark--small .kcc-wm-main { font-size: 30px; }
.kcc-header .kcc-wordmark--small { transition: opacity .25s ease, transform .25s ease; }
body.home:not(.kcc-scrolled) .kcc-header .kcc-wordmark--small { opacity: 0; transform: translateY(-12px); pointer-events: none; }

/* ---------- Homepage hero ---------- */
.kcc-hero { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(260px, auto); gap: var(--kcc-gap); }
.kcc-hero-photo { grid-column: 1 / span 2; grid-row: 1 / span 2; min-height: 600px; }
.kcc-hero-mark {
	grid-column: 3 / span 2; margin-top: -48px !important; padding: 18px 12px 32px 0;
	position: relative; z-index: 2; background: var(--kcc-purple);
	display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; gap: 32px; text-align: right;
	container-type: inline-size;
}
.kcc-wordmark--hero {
	margin: 0; line-height: .86; letter-spacing: -.015em;
	/* 36-step outline ring, then a soft glow, so the K reads over the photo */
	text-shadow:
		6px 0 .6px #271E50, 5.91px 1.04px .6px #271E50, 5.64px 2.05px .6px #271E50, 5.2px 3px .6px #271E50, 4.6px 3.86px .6px #271E50, 3.86px 4.6px .6px #271E50,
		3px 5.2px .6px #271E50, 2.05px 5.64px .6px #271E50, 1.04px 5.91px .6px #271E50, 0 6px .6px #271E50, -1.04px 5.91px .6px #271E50, -2.05px 5.64px .6px #271E50,
		-3px 5.2px .6px #271E50, -3.86px 4.6px .6px #271E50, -4.6px 3.86px .6px #271E50, -5.2px 3px .6px #271E50, -5.64px 2.05px .6px #271E50, -5.91px 1.04px .6px #271E50,
		-6px 0 .6px #271E50, -5.91px -1.04px .6px #271E50, -5.64px -2.05px .6px #271E50, -5.2px -3px .6px #271E50, -4.6px -3.86px .6px #271E50, -3.86px -4.6px .6px #271E50,
		-3px -5.2px .6px #271E50, -2.05px -5.64px .6px #271E50, -1.04px -5.91px .6px #271E50, 0 -6px .6px #271E50, 1.04px -5.91px .6px #271E50, 2.05px -5.64px .6px #271E50,
		3px -5.2px .6px #271E50, 3.86px -4.6px .6px #271E50, 4.6px -3.86px .6px #271E50, 5.2px -3px .6px #271E50, 5.64px -2.05px .6px #271E50, 5.91px -1.04px .6px #271E50,
		0 0 28px rgba(26, 18, 56, .75);
}
.kcc-wordmark--hero .kcc-wm-main { font-size: calc(25cqw - 3px); }
.kcc-wordmark--hero .kcc-wm-sub { font-size: calc(12.5cqw - 1.5px); }
.kcc-hero-intro { max-width: 440px; font-size: 19px; line-height: 1.45; font-weight: 500; color: var(--kcc-mist); }
.kcc-tile { padding: 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; position: relative; }
.kcc-tile > * { margin: 0 !important; }
.kcc-tile:not(.kcc-hero-tile) { justify-content: flex-start; gap: 10px; min-height: 180px; }
.kcc-tile:not(.kcc-hero-tile) .kcc-more { margin-top: auto !important; }
.kcc-hero-tile .kcc-tile-title a, .kcc-photo-tile .kcc-tile-title a, .kcc-join-cta a { text-decoration: none; }
/* Whole tile clickable */
.kcc-hero-tile .kcc-tile-title a::after, .kcc-photo-tile .kcc-tile-title a::after, .kcc-join-cta a::after { content: ""; position: absolute; inset: 0; }
.kcc-hero-tile:hover, .kcc-photo-tile:hover, .kcc-join-cta:hover { filter: brightness(1.04); }

/* Carousel (a core Gallery block, enhanced by site.js) */
.kcc-carousel.wp-block-gallery { position: relative; overflow: hidden; background: var(--kcc-deep); margin: 0 !important; display: block !important; }
.kcc-carousel.wp-block-gallery.has-nested-images figure.wp-block-image {
	position: absolute !important; inset: 0; width: 100% !important; height: 100%; margin: 0 !important;
	opacity: 0; transform: scale(1); transition: opacity 1.2s ease, transform 0s linear 1.2s;
}
.kcc-carousel.wp-block-gallery.has-nested-images figure.wp-block-image:first-child,
.kcc-carousel.is-ready.wp-block-gallery.has-nested-images figure.wp-block-image.is-active { opacity: 1; }
.kcc-carousel.is-ready.wp-block-gallery.has-nested-images figure.wp-block-image:first-child:not(.is-active) { opacity: 0; }
.kcc-carousel.is-ready.wp-block-gallery.has-nested-images figure.wp-block-image.is-active { transform: scale(1.1); transition: opacity 1.2s ease, transform 7s linear; }
.kcc-carousel.wp-block-gallery.has-nested-images figure.wp-block-image img { width: 100% !important; height: 100% !important; object-fit: cover; }
.kcc-carousel-controls { position: absolute; left: 20px; bottom: 20px; z-index: 3; display: flex; align-items: center; gap: 8px; }
.kcc-carousel-controls button { width: 48px; height: 48px; border: 0; font-size: 22px; cursor: pointer; background: rgba(39, 30, 80, .88); color: #fff; font-family: inherit; }
.kcc-carousel-controls button + button { background: var(--kcc-yellow); color: var(--kcc-purple); }
.kcc-carousel-count { margin-left: 8px; font-weight: 700; font-size: 13px; letter-spacing: .08em; color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, .7); }
/* In the editor, show the gallery as a normal grid so photos can be swapped. */
.editor-styles-wrapper .kcc-carousel.wp-block-gallery { display: flex !important; }
.editor-styles-wrapper .kcc-carousel.wp-block-gallery.has-nested-images figure.wp-block-image { position: relative !important; opacity: 1; width: calc(33.33% - 8px) !important; height: 140px; }

/* ---------- Photo panels (sportive, GP tile) ---------- */
.kcc-photo-panel, .kcc-photo-tile { position: relative; overflow: hidden; background: var(--kcc-deep); color: #fff; }
.kcc-photo-panel { min-height: 360px; display: flex; align-items: flex-end; }
.kcc-photo-panel-bg { position: absolute !important; inset: 0; margin: 0 !important; }
.kcc-photo-panel-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 80%; display: block; }
.kcc-photo-panel-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(39, 30, 80, .96) 0%, rgba(39, 30, 80, .78) 42%, rgba(39, 30, 80, .05) 85%); }
.kcc-photo-tile .kcc-photo-panel-bg::after { background: linear-gradient(90deg, rgba(39, 30, 80, .94) 0%, rgba(39, 30, 80, .2) 78%); }
.kcc-photo-panel-content { position: relative; max-width: 700px; }
.kcc-photo-panel-content > * + * { margin-top: 14px !important; }
.kcc-photo-panel-content p:not([class]) { color: var(--kcc-mist); font-size: 17px; }
.kcc-sportive-title { line-height: .86; letter-spacing: -.035em; margin-top: 12px !important; }
.kcc-sportive-title span { display: block; }
.kcc-sportive-title .kcc-big { font-size: clamp(64px, 8.5vw, 120px); }
.kcc-sportive-title .kcc-small { font-size: clamp(36px, 4.6vw, 66px); }
.kcc-sportive-date { font-size: 20px; font-weight: 700; }
.kcc-routes { display: flex; flex-wrap: wrap; gap: 8px; }
.kcc-route { color: #fff; font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; padding: 7px 12px; }
.kcc-route-blue { background: #1E6FD9; }
.kcc-route-red { background: #D7263D; }
.kcc-route-black { background: #000; box-shadow: inset 0 0 0 1px #5A5370; }
.kcc-photo-panel .wp-block-buttons { gap: 8px; margin-top: 20px !important; }
.wp-block-button.is-style-outline .wp-block-button__link { border: 2px solid currentColor; background: transparent; color: #fff; padding: 11px 18px; }
.kcc-photo-tile-content { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 28px; box-sizing: border-box; }
.kcc-photo-tile-content > * { margin: 0 !important; }

/* ---------- Grids, rides, cards ---------- */
.kcc-grid, .kcc-news .wp-block-post-template { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: var(--kcc-gap); padding: 0; margin: 0; list-style: none; }
.kcc-rides { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.kcc-follow { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.kcc-news .wp-block-post-template > li { margin: 0; }
.kcc-ride { display: flex; flex-direction: column; gap: 8px; min-height: 290px; padding: 24px; }
.kcc-ride > * { margin: 0 !important; }
.kcc-ride-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.kcc-eyebrow-inline { font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.kcc-pill { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; white-space: nowrap; background: var(--kcc-purple); color: var(--kcc-yellow); }
.kcc-bg-indigo .kcc-pill { background: var(--kcc-yellow); color: var(--kcc-purple); }
.kcc-bg-purple .kcc-pill { background: transparent; border: 1.5px solid var(--kcc-yellow); color: var(--kcc-yellow); }
.kcc-ride-pace { font-size: 56px; font-weight: 700; line-height: .9; letter-spacing: -.04em; }
.kcc-ride-unit { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.kcc-ride-name { margin-top: auto !important; font-size: 30px; line-height: .95; letter-spacing: -.02em; }
.kcc-ride-name a { text-decoration: none; }
.kcc-ride p:not([class]) { font-size: 16px; line-height: 1.45; }
.kcc-ride { position: relative; }
.kcc-ride-name a::after { content: ""; position: absolute; inset: 0; }

.kcc-card { background: var(--kcc-tint); color: var(--kcc-purple); display: flex; flex-direction: column; gap: 8px; padding: 24px; height: 100%; box-sizing: border-box; }
.kcc-card > * { margin: 0 !important; }
.kcc-news .kcc-card { padding: 0; gap: 0; }
.kcc-card .wp-block-post-featured-image img { width: 100%; height: 190px !important; object-fit: cover; display: block; }
.kcc-card-body { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 8px; }
.kcc-card-body > * { margin: 0 !important; }
.kcc-card .kcc-eyebrow { font-size: 13px; color: var(--kcc-indigo); }
.kcc-card .wp-block-post-title { font-size: 26px; line-height: 1; letter-spacing: -.02em; }
.kcc-card .wp-block-post-title a { text-decoration: none; }
.kcc-card .wp-block-post-excerpt__excerpt { font-size: 16px; line-height: 1.45; margin: 0; }
.kcc-card .wp-block-post-excerpt__more-text { display: none; }
.kcc-follow-card { padding: 26px; gap: 16px; }
.kcc-follow-card .kcc-more { margin-top: auto !important; }
.kcc-follow-head { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 22px; letter-spacing: -.01em; }
.kcc-follow-head img { display: block; }

/* ---------- Mosaic + stats ---------- */
.kcc-mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(300px, auto); gap: var(--kcc-gap); }
.kcc-span2 { grid-column: span 2; }
.kcc-fill { margin: 0 !important; height: 100%; min-height: 240px; position: relative; }
.kcc-fill img { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; display: block; }
.kcc-stats { position: relative; overflow: hidden; }
.kcc-stat { position: absolute; left: 30px; right: 30px; bottom: 30px; margin: 0 !important; opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.kcc-stat:first-child, .kcc-stats.is-ready .kcc-stat.is-active { opacity: 1; transform: none; }
.kcc-stats.is-ready .kcc-stat:first-child:not(.is-active) { opacity: 0; transform: translateY(16px); }
.kcc-stat > * { margin: 0 !important; }
.kcc-stat-num { font-size: 96px; font-weight: 700; line-height: .85; letter-spacing: -.04em; }
.kcc-stat-label { font-size: 18px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; margin-top: 8px !important; }
.editor-styles-wrapper .kcc-stat { position: static; opacity: 1; transform: none; margin-bottom: 12px !important; }
.editor-styles-wrapper .kcc-stats { padding: 24px; overflow: auto; }
.kcc-coming { padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.kcc-coming > * { margin: 0 !important; }
.kcc-coming-title { font-size: 48px; }
.kcc-datelist { list-style: none; padding: 0; margin: 0; }
.kcc-datelist li { padding: 10px 0; border-top: 3px solid var(--kcc-purple); display: flex; gap: 20px; font-weight: 700; font-size: 18px; }
.kcc-datelist strong { color: var(--kcc-indigo); font-size: 16px; min-width: 110px; text-transform: uppercase; }

/* ---------- Join ---------- */
.kcc-join { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--kcc-gap); }
.kcc-join-main { grid-column: span 3; padding: 40px 28px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.kcc-join-main > * { margin: 0 !important; }
.kcc-join-title { font-size: clamp(44px, 7vw, 96px); line-height: .88; letter-spacing: -.035em; }
.kcc-join-text { max-width: 340px; font-size: 18px; line-height: 1.5; font-weight: 500; }
.kcc-join-cta { position: relative; background: var(--kcc-pink); color: #fff; padding: 28px; min-height: 120px; display: flex; align-items: flex-end; font-weight: 700; font-size: 36px; line-height: .95; letter-spacing: -.02em; text-transform: uppercase; }

/* ---------- Community + logos ---------- */
.kcc-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--kcc-gap); }
.kcc-community { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 24px; }
.kcc-community > * { margin: 0 !important; }
.kcc-community-text { flex: 1 1 280px; min-width: 0; }
.kcc-community-text > * + * { margin-top: 8px !important; }
.kcc-affiliated { color: #fff; display: flex; flex-direction: column; justify-content: flex-end; }
.kcc-affiliated > * + * { margin-top: 14px !important; }
.kcc-logo-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px; }
.kcc-logo-card { background: #fff; border-radius: 6px; height: 76px; padding: 0 18px; display: flex; align-items: center; flex: 0 0 auto; box-sizing: border-box; }
.kcc-logo-card img { width: auto; display: block; }

/* ---------- Footer ---------- */
.kcc-footer { background: var(--kcc-deep); color: #D9D5E4; padding: 36px 20px; font-size: 15px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px; margin: 0 !important; }
.kcc-footer > * { margin: 0 !important; }
.kcc-footer a { color: #D9D5E4; text-decoration: none; }
.kcc-footer a:hover { color: #fff; text-decoration: none; }
.kcc-footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.kcc-footer-links > * { margin: 0 !important; }
.kcc-footer-pages { display: flex; flex-wrap: wrap; gap: 14px 24px; }
.kcc-social.wp-block-social-links { gap: 14px 24px; margin: 0; }
.kcc-social .wp-social-link { background: none !important; color: #D9D5E4 !important; }
.kcc-social .wp-block-social-link-anchor { padding: 0 !important; gap: 8px; font-size: 15px; }
.kcc-social .wp-block-social-link-label { font-size: 15px; }
.kcc-footer .kcc-wordmark { color: var(--kcc-yellow); }
.kcc-footer .kcc-wordmark .kcc-wm-main { color: #fff; }
.kcc-footer-brand { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; margin-left: auto !important; }
.kcc-footer-affiliations { display: flex; align-items: center; gap: 12px; }
.kcc-footer-affiliations span { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--kcc-lilac); }
.kcc-footer-affiliations img { width: auto; display: block; }

/* ---------- Inner pages ---------- */
.kcc-band { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--kcc-gap); }
.kcc-band-text { grid-column: 1 / -1; padding: var(--kcc-pad); min-height: 260px; display: flex; flex-direction: column; justify-content: flex-end; gap: 16px; color: #fff; box-sizing: border-box; }
.kcc-band-text > * { margin: 0 !important; }
.kcc-band:has(.kcc-band-img img) .kcc-band-text { grid-column: span 2; }
.kcc-band-img { grid-column: span 2; min-height: 380px; margin: 0 !important; }
.kcc-band-img img { width: 100%; height: 100% !important; object-fit: cover; display: block; }
.kcc-band-intro, .kcc-band-intro p { max-width: 560px; font-size: 19px; line-height: 1.5; color: var(--kcc-mist); margin: 0; }
.kcc-band-intro .wp-block-post-excerpt__more-text { display: none; }

.kcc-prose { font-size: 18px; line-height: 1.6; }
.kcc-prose h2 { font-size: clamp(30px, 3.4vw, 44px); margin-top: 1.4em; }
.kcc-prose h3 { font-size: 26px; margin-top: 1.2em; }
.kcc-prose a { color: var(--kcc-indigo); text-decoration: underline; }

.kcc-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--kcc-gap); }
.kcc-split > .kcc-fill { min-height: 300px; }
.kcc-split--flip > .kcc-fill { order: 1; }
.kcc-split > .kcc-section { display: flex; flex-direction: column; justify-content: center; }
.kcc-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--kcc-gap); }
.kcc-stack { display: flex; flex-direction: column; gap: var(--kcc-gap); }
.kcc-stack > * { margin: 0 !important; }

.kcc-steps { counter-reset: kcc-step; }
.kcc-step { padding: 24px; display: flex; flex-direction: column; gap: 10px; counter-increment: kcc-step; }
.kcc-step > * { margin: 0 !important; }
.kcc-step::before { content: counter(kcc-step); width: 44px; height: 44px; background: var(--kcc-yellow); color: var(--kcc-purple); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 22px; }
.kcc-step-title { font-size: 24px; line-height: 1; letter-spacing: -.02em; }
.kcc-step p { font-size: 16px; line-height: 1.5; }

.kcc-table { overflow-x: auto; margin: 0; }
.kcc-table table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 16px; }
.kcc-table thead { border: 0; }
.kcc-table th { background: var(--kcc-purple); color: #fff; text-align: left; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; padding: 14px 12px; border: 0; }
.kcc-table td { padding: 16px 12px; border: 0; border-top: 1px solid #DDD7E8; }
.kcc-table td:first-child { font-weight: 700; text-transform: uppercase; }
.kcc-table td:nth-child(4) { font-weight: 700; }

.kcc-committee { grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }
.kcc-person { padding: 20px; }
.kcc-person > * { margin: 0 !important; }
.kcc-person .kcc-eyebrow { font-size: 12px; margin-bottom: 6px !important; }
.kcc-person-name { font-size: 20px; font-weight: 700; }

.kcc-doclist { list-style: none; padding: 0; margin: 0; }
.kcc-doclist li { border-top: 2px solid #DDD7E8; }
.kcc-doclist a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; font-weight: 700; font-size: 17px; text-decoration: none; }
.kcc-doclist a::after { content: "PDF"; flex-shrink: 0; font-size: 12px; letter-spacing: .06em; background: var(--kcc-purple); color: var(--kcc-yellow); padding: 4px 8px; }
.kcc-doclist a:not([href$=".pdf"]):not([href="#"])::after { content: "Open"; }

.kcc-pagination { margin-top: 24px !important; font-weight: 700; text-transform: uppercase; font-size: 14px; letter-spacing: .06em; }

/* ---------- Narrow screens ---------- */
@media (max-width: 820px) {
	:root { --kcc-pad: 28px 20px; }
	.kcc-header { padding: 12px 16px; }
	.kcc-hero { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; }
	.kcc-hero-photo { grid-column: 1 / span 2; grid-row: auto; min-height: 360px; order: 2; }
	.kcc-hero-mark { grid-column: 1 / span 2; margin-top: 0 !important; padding: 8px 4px 24px; order: 1; }
	.kcc-hero-tile { order: 3; min-height: 150px; }
	.kcc-wordmark--hero .kcc-wm-main { font-size: calc(22cqw - 2px); }
	.kcc-wordmark--hero .kcc-wm-sub { font-size: calc(11cqw - 1px); }
	.kcc-tile-title { font-size: 24px; }
	.kcc-stat-num { font-size: 56px; }
	.kcc-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(220px, auto); }
	.kcc-join, .kcc-two, .kcc-split, .kcc-cols, .kcc-band { grid-template-columns: minmax(0, 1fr); }
	.kcc-join-main, .kcc-band-text, .kcc-band:has(.kcc-band-img img) .kcc-band-text, .kcc-band-img, .kcc-cols .kcc-span2 { grid-column: auto; }
	.kcc-band-img { min-height: 240px; }
	.kcc-split--flip > .kcc-fill { order: -1; }
	.kcc-coming-title { font-size: 36px; }
	.kcc-ride { min-height: 220px; }
	.kcc-nav { flex: 1 1 auto; min-width: 0; }
	.kcc-join-cta { font-size: 28px; }
}

@media (prefers-reduced-motion: reduce) {
	.kcc-carousel.wp-block-gallery.has-nested-images figure.wp-block-image,
	.kcc-stat, .kcc-header .kcc-wordmark--small { transition: none !important; transform: none !important; }
}

/* ---------- Links: only body copy is underlined ---------- */
.kcc-main :where(.kcc-card-title, .kcc-tile-title, .kcc-ride-name, .kcc-join-cta, .kcc-more, .kcc-eyebrow, .kcc-doclist, .kcc-title, .wp-block-post-title, .wp-block-heading) a { text-decoration: none; }
.kcc-main :where(.kcc-card-title, .kcc-more) a:hover { text-decoration: underline; text-underline-offset: 4px; }
.kcc-band-text .kcc-eyebrow { margin-bottom: -4px !important; }

/* ---------- Current section in the menu ---------- */
.kcc-nav .wp-block-navigation__container > .kcc-current:not(.kcc-nav-join) > a { text-decoration: underline; text-decoration-color: var(--kcc-yellow); text-decoration-thickness: 3px; text-underline-offset: 8px; }

/* ---------- News ---------- */
.kcc-newslist .wp-block-post-template { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.kcc-newslist .kcc-card .wp-block-post-featured-image img { height: 200px !important; }
.kcc-newslist .kcc-pagination { color: #fff; padding: 16px 20px; }
.kcc-band-date { color: #D9D5E4; }
.kcc-aside > * + * { margin-top: 0 !important; }
.kcc-linklist { list-style: none; padding: 0; margin: 0; }
.kcc-linklist li { border-top: 3px solid var(--kcc-purple); }
.kcc-linklist li:last-child { border-bottom: 3px solid var(--kcc-purple); }
.kcc-linklist-title { font-size: 18px; text-transform: none; letter-spacing: 0; line-height: 1.25; margin: 0; padding: 12px 0; }

/* Band photo fills its half without making the band taller than the text */
.kcc-band-img { position: relative; }
.kcc-band-img img { position: absolute; inset: 0; }
.kcc-band-img a { position: absolute; inset: 0; }

/* ---------- Article and page text spacing ---------- */
.kcc-prose .wp-block-post-content > * { margin-block: 0; }
.kcc-prose .wp-block-post-content > * + * { margin-block-start: 1em; }
.kcc-prose .wp-block-post-content > :where(h2, h3, h4, h5) { margin-block-start: 1.6em; }
.kcc-prose .wp-block-post-content > :where(h2, h3, h4, h5) + * { margin-block-start: .5em; }
.single .kcc-prose .wp-block-post-content > p:first-child { font-size: 22px; font-weight: 700; line-height: 1.5; }
.kcc-prose p, .kcc-prose li { max-width: 680px; }
.kcc-prose h2 { font-size: clamp(28px, 3vw, 40px); }
.kcc-prose h3 { font-size: 26px; letter-spacing: -.02em; }
.kcc-prose h4 { font-size: 20px; letter-spacing: -.01em; }
@media (max-width: 820px) { .single .kcc-prose .wp-block-post-content > p:first-child { font-size: 19px; } }

/* ---------- Links inside body text look like links ---------- */
.kcc-main p:not([class]) a,
.kcc-main :not(.kcc-doclist, .kcc-linklist, .kcc-datelist) > li:not([class]) a {
	text-decoration: underline;
	text-decoration-thickness: 1.5px;
	text-underline-offset: 3px;
	font-weight: 700;
}
.kcc-bg-white p:not([class]) a, .kcc-bg-tint p:not([class]) a { color: var(--kcc-indigo); }
.kcc-main p:not([class]) a:hover { text-decoration-thickness: 3px; }

/* ---------- Bullet lists in body text ---------- */
.kcc-main :where(.kcc-section, .kcc-prose, .kcc-card, .kcc-tile) ul:not([class*="kcc-"]),
.kcc-main :where(.kcc-section, .kcc-prose, .kcc-card, .kcc-tile) ol:not([class*="kcc-"]) { padding-left: 1.2em; max-width: 680px; font-size: 18px; line-height: 1.5; }
.kcc-main :where(.kcc-section, .kcc-prose, .kcc-card, .kcc-tile) :is(ul, ol):not([class*="kcc-"]) li + li { margin-top: .4em; }
.kcc-main :where(.kcc-section, .kcc-prose) :is(ul, ol):not([class*="kcc-"]) li::marker { color: var(--kcc-indigo); }
.kcc-main :where(.kcc-card, .kcc-tile) :is(ul, ol):not([class*="kcc-"]) { font-size: 16px; }

/* Body-text links, take two: works for any paragraph or list item in page
   content (and in the editor), whatever classes WordPress adds. */
:is(.kcc-main, .editor-styles-wrapper) :is(p, li):not(.kcc-more, .kcc-tile-title, .kcc-join-cta, .kcc-eyebrow, .kcc-footer-pages, .wp-block-navigation-item, .wp-social-link, .kcc-doclist > li, .kcc-linklist > li, .kcc-datelist > li) > :is(a, strong > a, em > a):not(.wp-element-button, .kcc-wordmark) {
	text-decoration-line: underline !important;
	text-decoration-thickness: 1.5px;
	text-underline-offset: 3px;
	font-weight: 700;
}
:is(.kcc-bg-white, .kcc-bg-tint, .kcc-prose) :is(p, li):not(.kcc-more, .kcc-eyebrow) > a:not(.wp-element-button) { color: var(--kcc-indigo) !important; }

/* Footer social links with brand icons */
.kcc-footer-social { display: flex; flex-wrap: wrap; gap: 14px 24px; margin: 0; }
.kcc-footer-social a { display: inline-flex; align-items: center; gap: 8px; }
.kcc-footer-social img { width: 18px; height: 18px; display: block; }

/* Footer: pages, social and legal on separate lines */
.kcc-footer-links { flex-direction: column; align-items: flex-start; gap: 14px; }
.kcc-footer-legal { margin: 6px 0 0; font-size: 12px; color: var(--kcc-lilac); }
.kcc-footer .kcc-footer-legal a { color: var(--kcc-lilac); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Contact Form 7 ---------- */
.wpcf7 form > p, .wpcf7 .kcc-form-row { margin: 0 0 18px; max-width: 680px; }
.wpcf7 label { display: block; font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.wpcf7 .wpcf7-form-control-wrap { display: block; margin-top: 6px; }
.wpcf7 input:is([type="text"], [type="email"], [type="tel"]), .wpcf7 select, .wpcf7 textarea {
	width: 100%; box-sizing: border-box; font: inherit; font-size: 17px; text-transform: none; letter-spacing: 0; font-weight: 400;
	padding: 12px 14px; border: 2px solid var(--kcc-purple); border-radius: 0; background: #fff; color: var(--kcc-purple);
}
.wpcf7 textarea { min-height: 180px; resize: vertical; }
.wpcf7 :is(input, select, textarea):focus { outline: 3px solid var(--kcc-yellow); outline-offset: 0; }
.wpcf7 input[type="submit"] {
	font: inherit; font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase;
	background: var(--kcc-purple); color: #fff; border: 0; border-radius: 0; padding: 14px 24px; cursor: pointer;
}
.wpcf7 input[type="submit"]:hover { background: var(--kcc-indigo); }
.wpcf7 .wpcf7-not-valid-tip { font-size: 14px; color: #B3122E; margin-top: 4px; text-transform: none; letter-spacing: 0; }
.wpcf7 .wpcf7-response-output { margin: 16px 0 0 !important; padding: 12px 14px !important; border-width: 2px !important; font-size: 16px; }
.wpcf7 .wpcf7-spinner { vertical-align: middle; }
.kcc-form-note { font-size: 14px !important; line-height: 1.5; color: #5A5370; }

/* Anchor links land below the sticky header (and the admin bar when logged in) */
html { scroll-padding-top: calc(var(--wp-admin--admin-bar--height, 0px) + 88px); }
@media (max-width: 820px) { html { scroll-padding-top: calc(var(--wp-admin--admin-bar--height, 0px) + 72px); } }

/* ---------- Sportive page ---------- */
.kcc-route-card { border-top: 10px solid var(--kcc-purple); }
.kcc-route-card--blue { border-top-color: #1E6FD9; }
.kcc-route-card--red { border-top-color: #D7263D; }
.kcc-route-card--black { border-top-color: #000; }
.kcc-route-card .kcc-ride-pace { font-size: 48px; }
.kcc-btn-dark .wp-block-button__link { background: var(--kcc-purple) !important; color: #fff !important; }
.kcc-btn-dark .wp-block-button__link:hover { background: var(--kcc-indigo) !important; }
.kcc-bg-indigo .kcc-stat-num { color: var(--kcc-yellow); font-size: clamp(56px, 7vw, 96px); }

/* ---------- Documents grouped by year ---------- */
.kcc-year { border-top: 3px solid var(--kcc-purple); margin: 0 !important; }
.kcc-year:last-child { border-bottom: 3px solid var(--kcc-purple); }
.kcc-section > .kcc-year + .kcc-year { margin-top: 0 !important; }
.kcc-year summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 14px 0; font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.kcc-year summary::-webkit-details-marker { display: none; }
.kcc-year summary::after { content: "+"; font-size: 26px; line-height: 1; color: var(--kcc-indigo); }
.kcc-year[open] summary::after { content: "–"; }
.kcc-year .kcc-doclist { margin: 0 0 14px !important; }
.kcc-year .kcc-doclist li { border-top-width: 1px; }

/* Short bold-only paragraphs used as subheadings get heading spacing */
.kcc-prose .wp-block-post-content > p:has(> strong:only-child) { margin-block-start: 1.6em; }
.kcc-prose .wp-block-post-content > p:has(> strong:only-child) + * { margin-block-start: .35em; }
.kcc-prose .wp-block-post-content > p:first-child:has(> strong:only-child) { margin-block-start: 0; }

/* Text pages: every block in the content column shares the same width and left edge
   (paragraphs and lists were narrower than headings, so they sat indented). */
.kcc-prose .wp-block-post-content > * { max-width: var(--wp--style--global--content-size, 760px) !important; }
.kcc-prose .wp-block-post-content > :first-child { margin-block-start: 0 !important; }
.kcc-prose .wp-block-post-content > :where(h2, h3, h4, h5) + * { margin-block-start: .6em; }

/* ---------- Events landing ---------- */
.kcc-event-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.kcc-event-tiles .kcc-photo-tile { min-height: 340px; }
.kcc-photo-tile .kcc-tile-title a { text-decoration: none; }
.kcc-photo-tile .kcc-tile-text { color: var(--kcc-mist); font-size: 17px; line-height: 1.45; max-width: 420px; }
@media (max-width: 820px) { .kcc-event-tiles { grid-template-columns: minmax(0, 1fr); } .kcc-event-tiles .kcc-photo-tile { min-height: 260px; } }
.kcc-photo-tile { display: flex; flex-direction: column; }
.kcc-photo-tile > .kcc-photo-tile-content { margin-top: auto !important; height: auto; flex: 1 0 auto; }
.kcc-bg-yellow .kcc-datelist strong { color: var(--kcc-indigo); }
.kcc-datelist li { align-items: baseline; }

/* ---------- Editor: make everything tappable ----------
   The whole-tile link overlays (a::after) sit over the text and block taps
   in the editor, so switch them off there. */
.editor-styles-wrapper :is(.kcc-hero-tile, .kcc-photo-tile, .kcc-join-cta, .kcc-ride, .kcc-tile) a::after { content: none !important; display: none !important; }
.editor-styles-wrapper .kcc-photo-panel-bg, .editor-styles-wrapper .kcc-photo-panel-bg::after { pointer-events: none; }
.editor-styles-wrapper .kcc-photo-panel-bg img { pointer-events: auto; }
.editor-styles-wrapper .kcc-photo-panel-content, .editor-styles-wrapper .kcc-photo-tile-content { position: relative; z-index: 2; }

/* Nested year rows inside an "Older" row */
.kcc-year .kcc-year { margin-left: 16px !important; border-top-width: 1px; }
.kcc-year .kcc-year:last-child { border-bottom: 0; }
.kcc-year .kcc-year summary { font-size: 18px; padding: 10px 0; }
.kcc-doclist + .kcc-year { margin-top: 0 !important; }

/* ---------- Menu dropdowns (Events, About) ---------- */
.kcc-nav .has-child .wp-block-navigation__submenu-container {
	background: var(--kcc-deep) !important; color: #fff !important; border: 0 !important;
	padding: 10px 0 !important; min-width: 220px !important; box-shadow: 0 10px 24px rgba(10, 6, 24, .35);
}
.kcc-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: 9px 18px !important; font-size: 13px; letter-spacing: .06em; }
.kcc-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { color: var(--kcc-yellow); text-decoration: none; }
.kcc-nav .wp-block-navigation__submenu-icon { color: var(--kcc-yellow); margin-left: 4px; }
/* Mobile overlay: sub-items indented under their heading */
.kcc-nav .is-menu-open .wp-block-navigation__submenu-container { background: transparent !important; box-shadow: none; padding: 0 0 10px 16px !important; min-width: 0 !important; }
.kcc-nav .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item { border-bottom: 0; }
.kcc-nav .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: 8px 0 !important; font-size: 15px; color: #D9D5E4; }
.kcc-nav .is-menu-open .wp-block-navigation__submenu-icon { display: none; }

/* ---------- Social feeds in Follow the club ---------- */
.kcc-follow-card .kcc-more { margin-top: 0 !important; }
.kcc-embed { margin-top: 8px !important; display: flex; justify-content: center; min-height: 160px; background: #fff; padding: 8px; box-sizing: border-box; }
.kcc-embed iframe { max-width: 100%; border: 0; }
.kcc-embed .cmplz-placeholder-element, .kcc-embed .cmplz-blocked-content-container { width: 100%; min-height: 300px; }
.kcc-ig-feed { display: block; }

/* Follow the club: three feeds the same height, lined up at the bottom */
.kcc-follow-card { display: flex; flex-direction: column; }
.kcc-follow-card > .kcc-embed { margin-top: auto !important; height: 470px; min-height: 0; overflow: hidden; align-items: flex-start; }
.kcc-follow-card > .kcc-embed iframe { height: 454px; }
.kcc-follow-card > .kcc-ig-feed { overflow-y: auto; }
.kcc-follow-card > .kcc-ig-feed #sb_instagram { padding-bottom: 0 !important; }
@media (max-width: 820px) { .kcc-follow-card > .kcc-embed { height: auto; max-height: 470px; } }

/* Follow the club: compact feeds (Strava summary, Facebook header, one row of Instagram) */
.kcc-follow-card > .kcc-embed { height: 176px; }
.kcc-follow-card > .kcc-embed iframe { height: 160px; }
.kcc-follow-card > .kcc-ig-feed { overflow: hidden; }
@media (max-width: 820px) { .kcc-follow-card > .kcc-embed { height: 176px; max-height: none; } }
.kcc-inline-photo { margin: 8px 0 0 !important; max-width: 420px; }
.kcc-inline-photo img { width: 100%; height: auto; display: block; }

/* Bullets visible on dark panels; bold always bold */
.kcc-main :is(.kcc-bg-indigo, .kcc-bg-purple) :is(ul, ol):not([class*="kcc-"]) li::marker { color: var(--kcc-yellow); }
.kcc-main :is(strong, b) { font-weight: 700; }
.kcc-main :is(.kcc-bg-white, .kcc-bg-tint) li > strong:first-child { color: var(--kcc-indigo); }

/* ---------- Awards ---------- */
.kcc-roll li { border-top-color: rgba(255, 255, 255, .35); padding: 9px 0; }
.kcc-roll strong { color: var(--kcc-yellow) !important; min-width: 70px; }
.kcc-awards-gallery.wp-block-gallery { gap: 8px !important; }
.kcc-awards-gallery.wp-block-gallery.has-nested-images figure.wp-block-image { aspect-ratio: 4 / 3; }
.kcc-awards-gallery.wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
	background: var(--kcc-purple) !important; color: var(--kcc-yellow); font-weight: 700; font-size: 14px;
	letter-spacing: .06em; text-transform: uppercase; padding: 8px 12px; text-align: left; max-height: none; position: absolute; left: 0; right: auto; bottom: 0; width: auto;
}
.kcc-awards-gallery.wp-block-gallery.has-nested-images figure.wp-block-image figcaption::before { display: none; }
/* Collapsible rows on dark panels */
:is(.kcc-bg-indigo, .kcc-bg-purple) .kcc-year { border-color: rgba(255, 255, 255, .35); }
:is(.kcc-bg-indigo, .kcc-bg-purple) .kcc-year summary::after { color: var(--kcc-yellow); }
.kcc-roll + .kcc-year { margin-top: 0 !important; }
.kcc-year .kcc-roll li:first-child { border-top: 0; }

/* Awards: taller splits, latest-news card, photo carousel */
.kcc-split--tall { min-height: 440px; }
.kcc-latest-awards .wp-block-post-template { list-style: none; margin: 0; padding: 0; }
.kcc-latest-card { padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; position: relative; }
.kcc-latest-card > * { margin: 0 !important; }
.kcc-latest-card .wp-block-post-title a { text-decoration: none; }
.kcc-latest-card .wp-block-post-title a::after { content: " →"; }
.kcc-photo-carousel.wp-block-gallery { min-height: 440px; }
.kcc-carousel.wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
	position: absolute; left: 0; right: auto; bottom: 0; top: auto; width: auto; max-height: none; margin: 0;
	background: var(--kcc-purple) !important; color: var(--kcc-yellow); font-weight: 700; font-size: 14px;
	letter-spacing: .06em; text-transform: uppercase; padding: 8px 12px; text-align: left;
}
.kcc-carousel.wp-block-gallery.has-nested-images figure.wp-block-image figcaption::before { display: none; }
.kcc-photo-carousel .kcc-carousel-controls { left: auto; right: 16px; bottom: 16px; }
@media (max-width: 820px) { .kcc-split--tall { min-height: 0; } .kcc-photo-carousel.wp-block-gallery { min-height: 300px; } }

/* ---------- News pagination (as the mock) ---------- */
.kcc-newslist .kcc-pagination { gap: 8px; padding: 16px 0 24px !important; margin: 0 !important; justify-content: center; color: #fff; font-size: 15px; letter-spacing: 0; text-transform: none; }
.kcc-pagination :is(a, .page-numbers) { color: #fff; text-decoration: none; font-weight: 700; padding: 10px 16px; border: 2px solid #fff; display: inline-block; margin: 0 !important; line-height: 1.2; }
.kcc-pagination .wp-block-query-pagination-numbers { display: flex; gap: 8px; }
.kcc-pagination .page-numbers.current { background: var(--kcc-yellow); color: var(--kcc-purple); border-color: var(--kcc-yellow); }
.kcc-pagination .page-numbers.dots { border: 0; padding: 10px 4px; }
.kcc-pagination a:hover { background: #fff; color: var(--kcc-purple); }
.kcc-news-all { margin-top: 20px !important; }
a.kcc-logo-card:hover { box-shadow: 0 0 0 3px var(--kcc-yellow); }
.kcc-footer-affiliations a { display: block; }

/* ---------- Roomier spacing (sitewide) ---------- */
.kcc-header { padding: 22px 8px !important; }
.kcc-hero { grid-auto-rows: minmax(300px, auto) !important; }
.kcc-hero-photo { min-height: 680px; }
.kcc-hero-mark { padding-bottom: 48px !important; gap: 48px !important; }
.kcc-tile, .kcc-ride, .kcc-card, .kcc-follow-card { padding: 32px !important; }
.kcc-ride { min-height: 340px !important; gap: 12px !important; }
.kcc-h2 { margin-bottom: 36px !important; }
.kcc-section > * + * { margin-top: 22px !important; }
.kcc-photo-panel { min-height: 460px !important; }
.kcc-mosaic { grid-auto-rows: minmax(340px, auto) !important; }
.kcc-stat { left: 40px !important; bottom: 40px !important; }
.kcc-coming { padding: 40px !important; }
.kcc-join-main { padding: 56px 40px !important; }
.kcc-join-cta { padding: 40px !important; }
.kcc-footer { padding: 56px 28px !important; margin-top: 12px !important; }
.kcc-card-body { padding: 28px 28px 32px !important; }
.kcc-section p:not([class]) { line-height: 1.7; }
.kcc-news .kcc-card { padding: 0 !important; }
:root { --kcc-gap: 20px; --kcc-pad: 64px; }
@media (max-width: 820px) {
	:root { --kcc-gap: 12px; --kcc-pad: 32px 20px; }
	.kcc-tile, .kcc-ride, .kcc-card, .kcc-follow-card { padding: 24px !important; }
	.kcc-ride { min-height: 220px !important; }
	.kcc-hero-photo { min-height: 360px !important; }
	.kcc-photo-panel { min-height: 360px !important; }
	.kcc-mosaic { grid-auto-rows: minmax(220px, auto) !important; }
	.kcc-join-main { padding: 36px 24px !important; }
	.kcc-join-cta { padding: 28px 24px !important; }
	.kcc-footer { padding: 36px 20px !important; }
	.kcc-coming { padding: 28px 24px !important; }
	.kcc-stat { left: 28px !important; bottom: 28px !important; }
}
@media (max-width: 820px) { .wp-site-blocks { padding-left: 0; padding-right: 0; } }

/* Screen-reader-only text (used for the homepage heading) */
.screen-reader-text { border: 0; clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }

/* Mobile menu: clear contrast for sub-items */
.kcc-nav .wp-block-navigation__responsive-container.is-menu-open,
.kcc-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-dialog { background: var(--kcc-purple) !important; color: #fff !important; }
.kcc-nav .is-menu-open .has-child > .wp-block-navigation-item__content { color: var(--kcc-yellow) !important; }
.kcc-nav .is-menu-open .wp-block-navigation__submenu-container { border-left: 3px solid var(--kcc-yellow) !important; margin: 0 0 12px 2px !important; padding: 2px 0 2px 16px !important; }
.kcc-nav .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content { color: #fff !important; font-size: 16px !important; opacity: 1 !important; padding: 9px 0 !important; }
.kcc-nav .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { color: var(--kcc-yellow) !important; }

/* Touch screens: dropdown opened by a first tap (see site.js), and a bigger arrow to tap */
.kcc-nav .has-child.kcc-open > .wp-block-navigation__submenu-container {
	visibility: visible !important; opacity: 1 !important; height: auto !important; width: auto !important; overflow: visible !important;
}
@media (hover: none) {
	.kcc-nav .wp-block-navigation__container > .has-child > .wp-block-navigation-submenu__toggle { position: relative; }
	.kcc-nav .wp-block-navigation__container > .has-child > .wp-block-navigation-submenu__toggle::after { content: ""; position: absolute; inset: -14px -12px -14px -8px; }
}
