/*
 Theme Name:   FCWalk
 Theme URI:    https://fcwalk.com
 Description:  Custom child theme for Friendship Circle FCWalk fundraising site.
 Author:       Friendship Circle
 Author URI:   https://fcnj.com
 Template:     generatepress
 Version:      0.1.100
 Text Domain:  fcwalk
*/

/* ── Design Tokens ─────────────────────────────────────────────── */

:root {
	--fcwalk-primary: #0d9488;
	--fcwalk-primary-dark: #0f766e;
	--fcwalk-primary-light: #ccfbf1;
	--fcwalk-navy: #1a2744;
	--fcwalk-accent: #f59e0b;
	--fcwalk-accent-dark: #d97706;
	--fcwalk-green: #059669;
	--fcwalk-gray-50: #f9fafb;
	--fcwalk-gray-100: #f3f4f6;
	--fcwalk-gray-200: #e5e7eb;
	--fcwalk-gray-500: #6b7280;
	--fcwalk-gray-700: #374151;
	--fcwalk-gray-900: #111827;
	--fcwalk-radius: 8px;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	color: var(--fcwalk-gray-700);
	margin: 0;
}

a { color: var(--fcwalk-primary); }
a:hover { color: var(--fcwalk-primary-dark); }

/* ── Header ─────────────────────────────────────────────────────── */

.site-header { background: var(--fcwalk-navy); }
.main-navigation a { color: #fff; }
.main-navigation a:hover { color: var(--fcwalk-primary); }

/* ── Footer ─────────────────────────────────────────────────────── */

.site-footer { background: var(--fcwalk-navy); color: #9ca3af; }
.site-footer a { color: #d1d5db; }
.site-footer a:hover { color: var(--fcwalk-primary); }

/* ── Container ──────────────────────────────────────────────────── */

.fcwalk-container {
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 20px;
}

/* ── Custom Site Header (homepage) ───────────────────────────────── */

.fcwalk-site-header {
	background: var(--fcwalk-navy);
	padding: 0;
}

.fcwalk-site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 60px;
}

.fcwalk-site-header__logo {
	display: flex;
	align-items: center;
	padding: 8px 0;
	/* Font styles double as the fallback if the image fails to load (alt text). */
	font-size: 1.3rem;
	font-weight: 700;
	color: #fff;
	text-decoration: none;
	letter-spacing: -0.01em;
}

.fcwalk-site-header__logo:hover {
	color: var(--fcwalk-primary);
}

.fcwalk-site-header__logo-img {
	height: 48px;
	width: auto;
	display: block;
}

.fcwalk-site-header__logo:hover .fcwalk-site-header__logo-img {
	opacity: 0.85;
}

/* WordPress nav menu integration */
.fcwalk-site-header__nav .fcwalk-nav-list {
	display: flex;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
	align-items: center;
}

.fcwalk-site-header__nav .fcwalk-nav-list li {
	position: relative;
}

.fcwalk-site-header__nav .fcwalk-nav-list a {
	color: rgba(255, 255, 255, 0.85);
	text-decoration: none;
	font-size: 0.9rem;
	font-weight: 500;
	padding: 8px 14px;
	display: block;
	transition: color 0.15s, background 0.15s;
	border-radius: 6px;
	white-space: nowrap;
}

.fcwalk-site-header__nav .fcwalk-nav-list a:hover,
.fcwalk-site-header__nav .fcwalk-nav-list .current-menu-item > a {
	color: #fff;
	background: rgba(255, 255, 255, 0.1);
}

/* Dropdown submenus */
.fcwalk-site-header__nav .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
	min-width: 200px;
	padding: 6px 0;
	z-index: 100;
	list-style: none;
	margin: 0;
}

.fcwalk-site-header__nav .menu-item-has-children:hover > .sub-menu {
	display: block;
}

.fcwalk-site-header__nav .sub-menu a {
	color: var(--fcwalk-gray-700);
	padding: 10px 18px;
	font-size: 0.875rem;
	border-radius: 0;
}

.fcwalk-site-header__nav .sub-menu a:hover {
	color: var(--fcwalk-primary);
	background: var(--fcwalk-gray-50);
}

/* Account item — Login pill, or "Hi, {name}" dropdown when logged in */
.fcwalk-site-header__nav .fcwalk-nav-account > a {
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 999px;
	padding: 8px 16px;
}

.fcwalk-site-header__nav .fcwalk-nav-account.menu-item-has-children > a::after {
	content: "▾";
	margin-left: 6px;
	font-size: 0.75em;
	opacity: 0.8;
}

/* Mobile menu toggle */
.fcwalk-menu-toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
}

.fcwalk-menu-toggle span {
	display: block;
	width: 24px;
	height: 2px;
	background: #fff;
	border-radius: 1px;
	transition: transform 0.2s;
}

/* Mobile menu close (X) — only shown inside the open mobile panel */
.fcwalk-menu-close {
	display: none;
	background: none;
	border: none;
	color: #fff;
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
	padding: 10px 12px;
}

@media (max-width: 768px) {
	.fcwalk-menu-toggle {
		display: flex;
	}

	/* Panel pinned to the top of the screen, 2/3 wide, closed via the X */
	.fcwalk-site-header__nav {
		display: none;
		position: fixed;
		top: 0;
		right: 0;
		width: 66.667%;
		background: var(--fcwalk-navy);
		padding: 4px 12px 20px;
		box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
		border-radius: 0 0 0 12px;
		z-index: 1000;
		max-height: 100vh;
		overflow-y: auto;
	}

	.fcwalk-site-header.menu-open .fcwalk-site-header__nav {
		display: block;
	}

	.fcwalk-menu-close {
		display: block;
		margin-left: auto;
	}

	.fcwalk-site-header__nav .fcwalk-nav-list {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.fcwalk-site-header__nav .fcwalk-nav-list a {
		padding: 12px 16px;
	}

	.fcwalk-site-header__nav .sub-menu {
		position: static;
		box-shadow: none;
		background: rgba(255, 255, 255, 0.05);
		border-radius: 0;
		padding: 0 0 0 16px;
	}

	.fcwalk-site-header__nav .menu-item-has-children > .sub-menu {
		display: block;
	}

	.fcwalk-site-header__nav .sub-menu a {
		color: rgba(255, 255, 255, 0.7);
	}

	.fcwalk-site-header__nav .sub-menu a:hover {
		color: #fff;
		background: transparent;
	}

	/* Account pill reads as a plain row in the stacked mobile menu */
	.fcwalk-site-header__nav .fcwalk-nav-account > a {
		border: none;
		border-radius: 6px;
		padding: 12px 16px;
	}
}

/* ── Site Footer ────────────────────────────────────────────────── */

/* Pin the footer to the viewport bottom on short pages: the body becomes
   a full-height column and the footer's auto top margin absorbs the gap. */
body {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.fcwalk-site-footer {
	margin-top: auto;
	background: #fff;
	border-top: 1px solid var(--fcwalk-gray-200);
	color: var(--fcwalk-gray-700);
	font-size: 0.95rem;
}

.fcwalk-site-footer__inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 28px;
	padding-top: 18px;
	padding-bottom: 18px;
}

.fcwalk-site-footer__brand {
	display: inline-flex;
	flex-shrink: 0;
}

.fcwalk-site-footer__logo {
	width: 150px;
	height: auto;
	display: block;
}

.fcwalk-site-footer__message {
	margin: 0;
	flex: 1;
	text-align: left;
	color: var(--fcwalk-gray-700);
}

.fcwalk-site-footer__social {
	display: flex;
	align-items: center;
	gap: 14px;
	padding-left: 28px;
	border-left: 1px solid var(--fcwalk-gray-200);
}

.fcwalk-site-footer__social-link,
.fcwalk-site-footer__social-link:visited {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--fcwalk-navy);
	color: #fff;
	transition: background 0.15s ease, transform 0.15s ease;
}

.fcwalk-site-footer__social-link:hover,
.fcwalk-site-footer__social-link:focus,
.fcwalk-site-footer__social-link:active {
	background: var(--fcwalk-primary);
	color: #fff;
	transform: translateY(-1px);
}

.fcwalk-site-footer__social-link svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

.fcwalk-site-footer__legal {
	border-top: 1px solid var(--fcwalk-gray-100);
	padding: 12px 0;
	font-size: 0.8rem;
	color: var(--fcwalk-gray-500);
}

.fcwalk-site-footer__legal-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px 16px;
}

.fcwalk-site-footer__legal p {
	margin: 0;
}

.fcwalk-footer-nav-list {
	display: flex;
	gap: 20px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.fcwalk-footer-nav-list a {
	color: var(--fcwalk-gray-500);
	text-decoration: none;
	font-size: 0.8rem;
}

.fcwalk-footer-nav-list a:hover {
	color: var(--fcwalk-primary);
}

@media (max-width: 700px) {
	.fcwalk-site-footer__inner {
		flex-direction: column;
		text-align: center;
		gap: 16px;
	}
	.fcwalk-site-footer__message {
		text-align: center;
	}
	.fcwalk-site-footer__social {
		padding-left: 0;
		border-left: none;
	}
	.fcwalk-site-footer__legal-inner {
		flex-direction: column;
		text-align: center;
	}
	.fcwalk-footer-nav-list {
		flex-wrap: wrap;
		justify-content: center;
	}
}

/* ── Page Template ──────────────────────────────────────────────── */

.fcwalk-page {
	padding: 40px 0 60px;
	min-height: 50vh;
}

.fcwalk-page__inner {
	max-width: 800px;
}

.fcwalk-page__title {
	font-size: 2rem;
	font-weight: 800;
	color: var(--fcwalk-navy);
	margin: 0 0 24px;
}

.fcwalk-page__content {
	font-size: 1.05rem;
	line-height: 1.8;
	color: var(--fcwalk-gray-700);
}

.fcwalk-page__content h2 {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--fcwalk-navy);
	margin: 32px 0 12px;
}

.fcwalk-page__content h3 {
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--fcwalk-gray-900);
	margin: 24px 0 8px;
}

.fcwalk-page__content p {
	margin: 0 0 16px;
}

.fcwalk-page__content ul, .fcwalk-page__content ol {
	margin: 0 0 16px;
	padding-left: 24px;
}

.fcwalk-page__content li {
	margin-bottom: 6px;
}

.fcwalk-page__content img {
	max-width: 100%;
	height: auto;
	border-radius: var(--fcwalk-radius);
}

.fcwalk-page__content a {
	color: var(--fcwalk-primary);
	text-decoration: underline;
}

/* Wide/full alignment support in Gutenberg */
.fcwalk-page__content .alignwide {
	max-width: 1120px;
	margin-left: calc(50% - 560px);
	margin-right: calc(50% - 560px);
}

.fcwalk-page__content .alignfull {
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

/* ═══════════════════════════════════════════════════════════════════
   HOMEPAGE
   ═══════════════════════════════════════════════════════════════════ */

/* ── Hero Carousel ──────────────────────────────────────────────── */

.fcwalk-hero {
	position: relative;
	width: 100%;
	overflow: hidden;
	background: var(--fcwalk-navy);
}

.fcwalk-hero__carousel {
	position: relative;
	aspect-ratio: 3.8 / 1;
}

.fcwalk-hero__slide {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity 1s ease;
}

.fcwalk-hero__slide.is-active {
	opacity: 1;
}

.fcwalk-hero__dots {
	position: absolute;
	bottom: 16px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 8px;
	z-index: 10;
}

.fcwalk-hero__dots button {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	border: 2px solid rgba(255, 255, 255, 0.7);
	background: transparent;
	cursor: pointer;
	padding: 0;
	transition: background 0.2s;
}

.fcwalk-hero__dots button.is-active {
	background: #fff;
}

@media (max-width: 768px) {
	.fcwalk-hero__carousel {
		aspect-ratio: 16 / 9;
	}
}

@media (prefers-reduced-motion: reduce) {
	.fcwalk-hero__slide { transition: none; }
}

/* ── CTA Action Buttons ─────────────────────────────────────────── */

.fcwalk-actions {
	background: #fff;
	padding: 28px 0;
}

.fcwalk-actions__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 14px;
	max-width: 820px;
	margin: 0 auto;
}

.fcwalk-action-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px 12px;
	border-radius: var(--fcwalk-radius);
	font-weight: 700;
	font-size: 1.05rem;
	text-decoration: none;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
	min-height: 52px;
}

.fcwalk-action-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.fcwalk-action-btn:active {
	transform: translateY(0);
}

.fcwalk-action-btn--primary {
	background: var(--fcwalk-primary);
	color: #fff;
}

.fcwalk-action-btn--primary:hover {
	background: var(--fcwalk-primary-dark);
	color: #fff;
}

.fcwalk-action-btn--secondary {
	background: var(--fcwalk-primary);
	color: #fff;
}

.fcwalk-action-btn--secondary:hover {
	background: var(--fcwalk-primary-dark);
	color: #fff;
}

@media (max-width: 600px) {
	.fcwalk-actions__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* ── Campaign Thermometer ───────────────────────────────────────── */

.fcwalk-thermo-section {
	background: var(--fcwalk-gray-100);
	padding: 40px 0 44px;
}

.fcwalk-thermo__bar-wrap {
	max-width: 800px;
	margin: 0 auto 28px;
}

.fcwalk-thermo__bar {
	background: var(--fcwalk-gray-200);
	border-radius: 14px;
	height: 28px;
	overflow: hidden;
}

.fcwalk-thermo__fill {
	height: 100%;
	border-radius: 14px;
	background: linear-gradient(90deg, var(--fcwalk-primary), var(--fcwalk-green));
	transition: width 1s ease;
	min-width: 2%;
}

.fcwalk-thermo__stats {
	display: flex;
	justify-content: center;
	gap: 56px;
	text-align: center;
}

.fcwalk-thermo__number {
	display: block;
	font-size: 2.8rem;
	font-weight: 300;
	line-height: 1.1;
	color: var(--fcwalk-gray-500);
}

.fcwalk-thermo__number--raised {
	color: var(--fcwalk-gray-700);
}

.fcwalk-thermo__label {
	display: block;
	font-size: 0.85rem;
	font-weight: 500;
	color: var(--fcwalk-gray-500);
	margin-top: 4px;
}

@media (max-width: 600px) {
	.fcwalk-thermo__stats {
		gap: 24px;
		flex-wrap: wrap;
	}
	.fcwalk-thermo__number {
		font-size: 1.8rem;
	}
}

/* ── Event Info ──────────────────────────────────────────────────── */

.fcwalk-event-info {
	background: var(--fcwalk-accent);
	padding: 48px 0;
	text-align: center;
}

.fcwalk-event-info__inner {
	max-width: 760px;
	margin: 0 auto;
}

.fcwalk-event-info__date {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--fcwalk-gray-900);
	margin: 0 0 8px;
}

.fcwalk-event-info__tagline {
	font-size: 1.35rem;
	font-weight: 600;
	color: var(--fcwalk-gray-900);
	margin: 0 0 16px;
}

.fcwalk-event-info__desc {
	font-size: 1.05rem;
	line-height: 1.7;
	color: rgba(0, 0, 0, 0.75);
	margin: 0 0 16px;
}

.fcwalk-event-info .fcwalk-link-more {
	color: var(--fcwalk-gray-900);
	text-decoration: underline;
	font-weight: 600;
}

/* ── Search Section ──────────────────────────────────────────────── */

.fcwalk-search-section {
	background: #fff;
	padding: 36px 0;
}

.fcwalk-search {
	max-width: 600px;
	margin: 0 auto;
	position: relative;
}

.fcwalk-search__input-wrap {
	position: relative;
}

.fcwalk-search__input {
	width: 100%;
	padding: 14px 16px 14px 48px;
	border: 2px solid var(--fcwalk-gray-200);
	border-radius: 12px;
	font-size: 1rem;
	color: var(--fcwalk-gray-900);
	background: #fff;
	transition: border-color 0.2s;
	box-sizing: border-box;
}

.fcwalk-search__input:focus {
	outline: none;
	border-color: var(--fcwalk-primary);
	box-shadow: 0 0 0 3px var(--fcwalk-primary-light);
}

.fcwalk-search__icon {
	position: absolute;
	left: 16px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--fcwalk-gray-500);
	pointer-events: none;
}

.fcwalk-search__results {
	position: absolute;
	top: calc(100% + 4px);
	left: 0;
	right: 0;
	background: #fff;
	border: 1px solid var(--fcwalk-gray-200);
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
	z-index: 50;
	max-height: 280px;
	overflow-y: auto;
}

.fcwalk-search__result {
	display: block;
	padding: 12px 16px;
	color: var(--fcwalk-gray-900);
	text-decoration: none;
}

.fcwalk-search__result:hover,
.fcwalk-search__result.is-active {
	background: var(--fcwalk-gray-50);
	color: var(--fcwalk-primary);
}

/* ── Leaderboards ───────────────────────────────────────────────── */

.fcwalk-leaderboards-section {
	background: #fff;
	padding: 0 0 48px;
}

.fcwalk-leaderboards__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.fcwalk-lb-card {
	background: #fff;
	border-radius: var(--fcwalk-radius);
	overflow: hidden;
	border: 1px solid var(--fcwalk-gray-200);
}

.fcwalk-lb-card__header {
	background: var(--fcwalk-primary);
	padding: 14px 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.fcwalk-lb-card__header h2 {
	margin: 0;
	font-size: 1rem;
	font-weight: 700;
	color: #fff;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.fcwalk-lb-card__header a {
	color: rgba(255, 255, 255, 0.8);
	font-size: 0.85rem;
	text-decoration: none;
	font-weight: 500;
}

.fcwalk-lb-card__header a:hover {
	color: #fff;
}

.fcwalk-lb-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.fcwalk-lb-list__item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 20px;
	border-bottom: 1px solid var(--fcwalk-gray-100);
	transition: background 0.15s;
}

.fcwalk-lb-list__item:last-child {
	border-bottom: none;
}

.fcwalk-lb-list__item:hover {
	background: var(--fcwalk-gray-50);
}

.fcwalk-lb-list__avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--fcwalk-gray-200);
	color: var(--fcwalk-gray-500);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.75rem;
	font-weight: 700;
	flex-shrink: 0;
}

.fcwalk-lb-list__avatar--team {
	border-radius: 8px;
	background: var(--fcwalk-primary-light);
	color: var(--fcwalk-primary);
}

.fcwalk-lb-list__name {
	flex: 1;
	min-width: 0;
	color: var(--fcwalk-gray-900);
	text-decoration: none;
	font-weight: 500;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.fcwalk-lb-list__name:hover {
	color: var(--fcwalk-primary);
}

.fcwalk-lb-list__amount {
	font-weight: 700;
	font-size: 1.05rem;
	color: var(--fcwalk-navy);
	white-space: nowrap;
}

.fcwalk-lb-empty {
	padding: 24px 20px;
	color: var(--fcwalk-gray-500);
	text-align: center;
	font-style: italic;
	margin: 0;
}

@media (max-width: 768px) {
	.fcwalk-leaderboards__grid {
		grid-template-columns: 1fr;
	}
}

/* ── Utilities ───────────────────────────────────────────────────── */

.fcwalk-link-more {
	display: inline-block;
	font-weight: 600;
	font-size: 0.9rem;
	color: var(--fcwalk-primary);
	text-decoration: none;
}

.fcwalk-link-more:hover {
	text-decoration: underline;
}

/* ── Photo Gallery Scroll ────────────────────────────────────────── */

.fcwalk-gallery-scroll {
	overflow: hidden;
	background: var(--fcwalk-gray-100);
	padding: 24px 0;
}

.fcwalk-gallery-scroll__track {
	display: flex;
	gap: 16px;
	animation: fcwalk-gallery-marquee 25s linear infinite;
	width: max-content;
}

.fcwalk-gallery-scroll__item {
	flex-shrink: 0;
	width: 320px;
	height: 180px;
	border-radius: var(--fcwalk-radius);
	overflow: hidden;
}

.fcwalk-gallery-scroll__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@keyframes fcwalk-gallery-marquee {
	0% { transform: translateX(0); }
	100% { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
	.fcwalk-gallery-scroll__track {
		animation: none;
		flex-wrap: wrap;
		justify-content: center;
	}
	.fcwalk-gallery-scroll__item {
		width: 280px;
	}
}

@media (max-width: 600px) {
	.fcwalk-gallery-scroll__item {
		width: 240px;
		height: 135px;
	}
}

/* ── Social Sharing Section ──────────────────────────────────────── */

.fcwalk-social-section {
	padding: 36px 0;
	text-align: center;
	background: #fff;
}

.fcwalk-social-section__title {
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--fcwalk-gray-700);
	margin: 0 0 16px;
}

.fcwalk-share-row {
	display: flex;
	gap: 12px;
	justify-content: center;
	flex-wrap: wrap;
}

.fcwalk-share-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 28px;
	border-radius: var(--fcwalk-radius);
	font-weight: 600;
	font-size: 0.95rem;
	text-decoration: none;
	color: #fff;
	transition: opacity 0.2s, transform 0.15s;
	border: 1px solid transparent;
}

.fcwalk-share-btn:hover {
	opacity: 0.9;
	transform: translateY(-1px);
	color: #fff;
}

.fcwalk-share-btn--facebook {
	background: #fff;
	color: var(--fcwalk-gray-900);
	border-color: var(--fcwalk-gray-200);
}

.fcwalk-share-btn--facebook:hover {
	background: #f0f0f0;
	color: var(--fcwalk-gray-900);
}

.fcwalk-share-btn--twitter {
	background: #fff;
	color: var(--fcwalk-gray-900);
	border-color: var(--fcwalk-gray-200);
}

.fcwalk-share-btn--twitter:hover {
	background: #f0f0f0;
	color: var(--fcwalk-gray-900);
}

/* ── Sponsors Section ────────────────────────────────────────────── */

.fcwalk-sponsors-section {
	padding: 40px 0;
	text-align: center;
	border-top: 1px solid var(--fcwalk-gray-200);
}

.fcwalk-sponsors-section__title {
	font-size: 1.1rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--fcwalk-gray-500);
	margin: 0 0 24px;
}

/* ── Global Utilities ────────────────────────────────────────────── */

[x-cloak] {
	display: none !important;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
/**
 * FCWalk Registration Form Styles
 */

/* ── Form Container ───────────────────────────────────────── */

.fcwalk-reg-form {
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
	padding: 40px 36px;
	margin: 20px 0 40px;
}

/* ── Progress Bar ─────────────────────────────────────────── */

.fcwalk-reg-progress {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-bottom: 32px;
	padding-bottom: 24px;
	border-bottom: 1px solid var(--fcwalk-gray-200, #e5e7eb);
}

.fcwalk-reg-progress-step {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 0.8rem;
	font-weight: 500;
	color: var(--fcwalk-gray-500, #6b7280);
}

.fcwalk-reg-progress-step.active {
	color: var(--fcwalk-primary, #0d9488);
}

.fcwalk-reg-progress-step.current {
	font-weight: 700;
}

.fcwalk-reg-progress-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--fcwalk-gray-200, #e5e7eb);
	flex-shrink: 0;
}

.fcwalk-reg-progress-step.active .fcwalk-reg-progress-dot {
	background: var(--fcwalk-primary, #0d9488);
}

/* ── Steps ────────────────────────────────────────────────── */

.fcwalk-reg-step h2 {
	font-size: 1.5rem;
	font-weight: 700;
	color: #1a2744;
	margin: 0 0 8px;
}

.fcwalk-reg-step > p {
	color: var(--fcwalk-gray-500, #6b7280);
	margin: 0 0 24px;
	font-size: 0.95rem;
}

/* ── Error Display ────────────────────────────────────────── */

.fcwalk-reg-error {
	background: #fef2f2;
	border: 1px solid #fecaca;
	border-radius: 8px;
	color: #991b1b;
	padding: 12px 16px;
	margin-bottom: 20px;
	font-size: 0.9rem;
	font-weight: 500;
}

/* ── Notices ──────────────────────────────────────────────── */

.fcwalk-reg-notice {
	border-radius: 8px;
	padding: 16px;
	margin-bottom: 20px;
}

.fcwalk-reg-notice--info {
	background: #eff6ff;
	border: 1px solid #bfdbfe;
	color: #1e40af;
}

.fcwalk-reg-notice--warn {
	background: #fffbeb;
	border: 1px solid #fde68a;
	color: #92400e;
}

.fcwalk-reg-notice--success {
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
	color: #166534;
}

.fcwalk-reg-notice p {
	margin: 0 0 12px;
}

/* Action rows inside notices — buttons keep a gap and size to content
   (the global full-width primary would stack them). */
.fcwalk-reg-notice-actions {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.fcwalk-reg-notice-actions .fcwalk-btn {
	width: auto;
	padding: 12px 24px;
	font-size: 0.95rem;
}

/* Welcome-back registration summary */
.fcwalk-reg-mini-summary {
	list-style: none;
	margin: 0 0 14px;
	padding: 0;
}

.fcwalk-reg-mini-summary li {
	display: flex;
	gap: 8px;
	padding: 3px 0;
}

.fcwalk-reg-mini-summary li span:first-child {
	min-width: 110px;
	font-weight: 600;
}

.fcwalk-reg-someone-else {
	margin: 24px 0 4px;
}

.fcwalk-reg-jointeam-error {
	color: #b91c1c;
	font-weight: 600;
}

/* ── Fields ───────────────────────────────────────────────── */

.fcwalk-field {
	margin-bottom: 16px;
}

.fcwalk-field label {
	display: block;
	font-size: 0.85rem;
	font-weight: 600;
	color: #374151;
	margin-bottom: 6px;
}

.fcwalk-field input[type="text"],
.fcwalk-field input[type="email"],
.fcwalk-field input[type="password"],
.fcwalk-field input[type="tel"],
.fcwalk-field input[type="number"],
.fcwalk-field input[type="search"],
.fcwalk-field input[type="url"],
.fcwalk-field select,
.fcwalk-field textarea {
	width: 100%;
	padding: 12px 14px;
	border: 2px solid #e5e7eb;
	border-radius: 8px;
	font-size: 0.95rem;
	color: #111827;
	background: #fff;
	transition: border-color 0.2s, box-shadow 0.2s;
	box-sizing: border-box;
	-webkit-appearance: none;
}

.fcwalk-field input:focus,
.fcwalk-field select:focus,
.fcwalk-field textarea:focus {
	outline: none;
	border-color: var(--fcwalk-primary, #0d9488);
	box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

.fcwalk-field input::placeholder {
	color: #9ca3af;
}

/* Field rows (side by side) */
.fcwalk-field-row {
	display: flex;
	gap: 12px;
}

.fcwalk-field-row > .fcwalk-field {
	flex: 1;
}

.fcwalk-field--sm {
	max-width: 120px;
	flex: 0 0 120px !important;
}

@media (max-width: 600px) {
	.fcwalk-field-row {
		flex-direction: column;
		gap: 0;
	}
	.fcwalk-field--sm {
		max-width: 100%;
		flex: 1 !important;
	}
}

/* ── Fieldsets ────────────────────────────────────────────── */

.fcwalk-fieldset {
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	padding: 20px;
	margin: 0 0 20px;
}

.fcwalk-fieldset legend {
	font-size: 0.95rem;
	font-weight: 700;
	color: #1a2744;
	padding: 0 8px;
}

/* ── Toggles ──────────────────────────────────────────────── */

.fcwalk-toggle {
	display: flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	font-weight: 500;
}

.fcwalk-toggle input[type="checkbox"] {
	width: 18px;
	height: 18px;
	accent-color: var(--fcwalk-primary, #0d9488);
}

.fcwalk-fee {
	margin-left: auto;
	font-size: 0.85rem;
	color: var(--fcwalk-gray-500, #6b7280);
	font-weight: 400;
}

/* ── Buttons ──────────────────────────────────────────────── */

.fcwalk-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 28px;
	border-radius: 8px;
	font-weight: 600;
	font-size: 0.95rem;
	text-decoration: none;
	cursor: pointer;
	border: none;
	transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
}

.fcwalk-btn:active {
	transform: scale(0.98);
}

.fcwalk-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.fcwalk-btn-primary {
	background: var(--fcwalk-primary, #0d9488);
	color: #fff;
	width: 100%;
	padding: 14px;
	font-size: 1rem;
}

.fcwalk-btn-primary:hover:not(:disabled) {
	background: #0f766e;
	box-shadow: 0 2px 8px rgba(13, 148, 136, 0.3);
}

.fcwalk-btn-outline {
	background: #fff;
	color: var(--fcwalk-primary, #0d9488);
	border: 2px solid var(--fcwalk-primary, #0d9488);
}

.fcwalk-btn-outline:hover {
	/* Must set color explicitly: the plugin stylesheet's hover sets color #fff,
	   and a background-only rule here merges into white-on-white. */
	background: var(--fcwalk-primary, #0d9488);
	border-color: var(--fcwalk-primary, #0d9488);
	color: #fff;
}

/* Dashboard buttons size to their content — the global full-width primary
   is for single-action forms (register/donate), not the HQ. Full width
   returns on mobile only. */
.fcwalk-hq .fcwalk-btn-primary {
	width: auto;
	padding: 12px 28px;
	font-size: 0.95rem;
}

.fcwalk-hq .fcwalk-btn-primary.fcwalk-btn--sm {
	padding: 8px 16px;
	font-size: 0.85rem;
}

@media (max-width: 600px) {
	.fcwalk-hq .fcwalk-btn {
		width: 100%;
	}
}

/* ── Navigation (Back / Next) ─────────────────────────────── */

.fcwalk-reg-nav {
	display: flex;
	gap: 12px;
	margin-top: 24px;
}

.fcwalk-reg-nav .fcwalk-btn-outline {
	width: auto;
	padding: 12px 20px;
}

.fcwalk-reg-nav .fcwalk-btn-primary {
	flex: 1;
}

/* ── Team Selection ───────────────────────────────────────── */

.fcwalk-team-options {
	display: flex;
	gap: 8px;
	margin-bottom: 16px;
}

.fcwalk-team-options .fcwalk-btn {
	flex: 1;
	padding: 12px 8px;
	font-size: 0.85rem;
	text-align: center;
}

.fcwalk-team-form {
	margin-top: 12px;
}

/* ── Input with prefix ────────────────────────────────────── */

.fcwalk-input-prefix {
	display: flex;
	align-items: center;
	border: 2px solid #e5e7eb;
	border-radius: 8px;
	overflow: hidden;
}

.fcwalk-input-prefix span {
	padding: 10px 12px;
	background: #f9fafb;
	color: #6b7280;
	font-size: 0.85rem;
	white-space: nowrap;
	border-right: 1px solid #e5e7eb;
}

.fcwalk-input-prefix input {
	border: none !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	flex: 1 1 100px;
	min-width: 100px;
	width: 100%;
}

/* The prefix may be a full host name — let it shrink with an ellipsis so
   the input always keeps room to type (it was being squeezed to 0 width
   inside narrow cards). */
.fcwalk-input-prefix span {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* ── Autocomplete ─────────────────────────────────────────── */

.fcwalk-autocomplete {
	position: relative;
}

.fcwalk-autocomplete-results {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
	z-index: 50;
	max-height: 240px;
	overflow-y: auto;
	margin-top: 4px;
}

.fcwalk-autocomplete-item {
	display: block;
	padding: 10px 16px;
	cursor: pointer;
	color: #374151;
	text-decoration: none;
}

.fcwalk-autocomplete-item:hover,
.fcwalk-autocomplete-item.is-active {
	background: #f0fdfa;
	color: var(--fcwalk-primary, #0d9488);
}

/* Select-style combobox wrapper (donate page recipient picker) */
.fcwalk-combobox {
	position: relative;
	display: flex;
	align-items: center;
	background: #fff;
	border: 2px solid #e5e7eb;
	border-radius: 8px;
	transition: border-color 0.2s;
}

.fcwalk-combobox.is-open,
.fcwalk-combobox:focus-within {
	border-color: var(--fcwalk-primary, #0d9488);
}

.fcwalk-combobox input {
	flex: 1;
	width: 100%;
	padding: 12px 40px 12px 14px;
	border: none;
	outline: none;
	background: transparent;
	font-size: 0.95rem;
	box-sizing: border-box;
	cursor: pointer;
}

.fcwalk-combobox input:focus {
	cursor: text;
}

.fcwalk-combobox__chevron {
	position: absolute;
	right: 12px;
	width: 18px;
	height: 18px;
	color: #6b7280;
	pointer-events: none;
	transition: transform 0.2s;
}

.fcwalk-combobox.is-open .fcwalk-combobox__chevron {
	transform: rotate(180deg);
}

.fcwalk-combobox__hint {
	padding: 12px 16px;
	color: #6b7280;
	font-size: 0.9rem;
}

/* ── Summary Card ─────────────────────────────────────────── */

.fcwalk-reg-summary-card {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	background: #f9fafb;
	border-radius: 8px;
	padding: 16px;
	margin-bottom: 20px;
}

.fcwalk-reg-summary-card strong {
	margin-right: auto;
}

.fcwalk-badge {
	display: inline-block;
	padding: 2px 10px;
	border-radius: 999px;
	font-size: 0.7rem;
	font-weight: 600;
	text-transform: uppercase;
	background: #e5e7eb;
	color: #374151;
}

.fcwalk-link {
	color: var(--fcwalk-primary, #0d9488);
	font-size: 0.85rem;
	font-weight: 500;
	text-decoration: none;
}

.fcwalk-link:hover {
	text-decoration: underline;
}

/* ── Secondary Registrant Cards ───────────────────────────── */

.fcwalk-secondary-card {
	background: #f9fafb;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	padding: 20px;
	margin-bottom: 12px;
	position: relative;
}

.fcwalk-btn-remove {
	position: absolute;
	top: 12px;
	right: 12px;
	background: none;
	border: none;
	color: #dc2626;
	cursor: pointer;
	font-size: 0.85rem;
	font-weight: 500;
}

.fcwalk-btn-remove:hover {
	text-decoration: underline;
}

/* ── Running Total ────────────────────────────────────────── */

.fcwalk-reg-total {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: #1a2744;
	color: #fff;
	border-radius: 8px;
	padding: 16px 20px;
	margin-top: 24px;
	font-size: 1.2rem;
	font-weight: 700;
}

.fcwalk-reg-total .fcwalk-btn-primary {
	width: auto;
	background: #fff;
	color: #1a2744;
}

.fcwalk-reg-total .fcwalk-btn-primary:hover {
	background: #f0fdfa;
}

/* ── Waiver ───────────────────────────────────────────────── */

.fcwalk-waiver-text {
	max-height: 160px;
	overflow-y: auto;
	padding: 16px;
	background: #f9fafb;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	margin-bottom: 16px;
	font-size: 0.85rem;
	line-height: 1.6;
	color: #6b7280;
}

/* ── Confirm Layout ───────────────────────────────────────── */

.fcwalk-reg-confirm-layout {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

@media (max-width: 600px) {
	.fcwalk-reg-confirm-layout {
		grid-template-columns: 1fr;
	}
}

.fcwalk-reg-confirm-layout .fcwalk-card {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	padding: 20px;
}

.fcwalk-reg-confirm-layout h3 {
	margin: 0 0 12px;
	font-size: 1.05rem;
	color: #1a2744;
}

/* ── Order Summary ────────────────────────────────────────── */

.fcwalk-order-line {
	display: flex;
	justify-content: space-between;
	padding: 8px 0;
	border-bottom: 1px solid #f3f4f6;
	font-size: 0.9rem;
}

.fcwalk-order-total {
	display: flex;
	justify-content: space-between;
	padding: 12px 0 0;
	margin-top: 8px;
	border-top: 2px solid #1a2744;
	font-size: 1.1rem;
}

/* ── Discount Field ───────────────────────────────────────── */

.fcwalk-discount-field {
	margin-top: 16px;
}

.fcwalk-input-row {
	display: flex;
	gap: 8px;
}

.fcwalk-input-row input {
	flex: 1;
}

.fcwalk-discount-msg {
	display: block;
	margin-top: 4px;
	font-size: 0.8rem;
	color: var(--fcwalk-primary, #0d9488);
}

/* ── Big Submit Button ────────────────────────────────────── */

.fcwalk-btn-lg {
	padding: 16px 32px;
	font-size: 1.1rem;
}

/* ── Responsive ───────────────────────────────────────────── */

@media (max-width: 600px) {
	.fcwalk-reg-form {
		padding: 24px 20px;
		border-radius: 0;
		box-shadow: none;
		margin: 0;
	}

	.fcwalk-team-options {
		flex-direction: column;
	}

	.fcwalk-reg-progress {
		gap: 4px;
		font-size: 0.7rem;
	}
}

/* ═══════════════════════════════════════════════════════════════════
   HQ DASHBOARD
   ═══════════════════════════════════════════════════════════════════ */

.fcwalk-hq {
	padding-bottom: 60px;
}

.fcwalk-hq-header {
	background: var(--fcwalk-navy, #1a2744);
	color: #fff;
	padding: 32px 0;
	margin-bottom: 0;
}

.fcwalk-hq-header h1 {
	font-size: 1.6rem;
	font-weight: 700;
	margin: 0 0 4px;
	color: #fff;
}

.fcwalk-hq-header p {
	color: #94a3b8;
	margin: 0 0 16px;
}

.fcwalk-hq-actions {
	display: flex;
	gap: 10px;
}

.fcwalk-hq-actions .fcwalk-btn-outline {
	border-color: rgba(255,255,255,0.4);
	color: #fff;
	background: transparent;
}

.fcwalk-hq-actions .fcwalk-btn-outline:hover {
	border-color: #fff;
	background: rgba(255,255,255,0.1);
	color: #fff;
}

/* ── HQ Tabs ──────────────────────────────────────────────── */

.fcwalk-hq-tabs {
	display: flex;
	gap: 0;
	background: #fff;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	/* keep swipe-scrolling on narrow screens but never show a scrollbar */
	scrollbar-width: none;
}

.fcwalk-hq-tabs::-webkit-scrollbar {
	display: none;
}

.fcwalk-hq-tab {
	padding: 14px 20px;
	font-size: 0.9rem;
	font-weight: 500;
	color: var(--fcwalk-gray-500, #6b7280);
	text-decoration: none;
	white-space: nowrap;
	border-bottom: 2px solid transparent;
	transition: color 0.15s, border-color 0.15s;
}

.fcwalk-hq-tab:hover {
	color: var(--fcwalk-gray-900, #111827);
}

.fcwalk-hq-tab.active {
	color: var(--fcwalk-primary, #0d9488);
	border-bottom-color: var(--fcwalk-primary, #0d9488);
	font-weight: 600;
}

/* ── HQ Panels ────────────────────────────────────────────── */

.fcwalk-hq-panel {
	padding: 24px 0;
}

.fcwalk-hq-panel .fcwalk-card {
	background: #fff;
	border: 1px solid var(--fcwalk-gray-200, #e5e7eb);
	border-radius: 10px;
	padding: 24px;
	margin-bottom: 16px;
}

.fcwalk-hq-panel .fcwalk-card h3 {
	margin: 0 0 16px;
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--fcwalk-navy, #1a2744);
}

/* ── HQ Task List ─────────────────────────────────────────── */

.fcwalk-task-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.fcwalk-task-list li {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 0;
	border-bottom: 1px solid var(--fcwalk-gray-100, #f3f4f6);
	font-size: 0.9rem;
	color: var(--fcwalk-gray-700, #374151);
}

.fcwalk-task-list li.completed {
	color: var(--fcwalk-gray-500, #6b7280);
	text-decoration: line-through;
}

.fcwalk-task-list li:last-child {
	border-bottom: none;
}

/* ── HQ Stat Cards ────────────────────────────────────────── */

.fcwalk-hq-panel .fcwalk-stat-cards {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 16px;
}

.fcwalk-hq-panel .fcwalk-stat-card {
	background: #fff;
	border: 1px solid var(--fcwalk-gray-200, #e5e7eb);
	border-radius: 8px;
	padding: 16px 20px;
	text-align: center;
	min-width: 120px;
}

/* ── HQ Donation List ─────────────────────────────────────── */

.fcwalk-donation-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

/* Each donation is two lines: name + amount as columns, then the
   donor's message on its own full-width line below. */
.fcwalk-donation-list li {
	display: block;
	padding: 12px 0;
	border-bottom: 1px solid var(--fcwalk-gray-100, #f3f4f6);
}

.fcwalk-donation-list__row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 10px;
}

.fcwalk-donation-list li:last-child {
	border-bottom: none;
}

.fcwalk-donation-amount {
	font-weight: 700;
	color: var(--fcwalk-green, #059669);
	white-space: nowrap;
}

.fcwalk-donation-message {
	font-size: 0.85rem;
	color: var(--fcwalk-gray-500, #6b7280);
	margin: 4px 0 0;
	font-style: italic;
}

/* ── HQ Table ─────────────────────────────────────────────── */

.fcwalk-table {
	width: 100%;
	border-collapse: collapse;
}

.fcwalk-table th,
.fcwalk-table td {
	padding: 10px 12px;
	text-align: left;
	border-bottom: 1px solid var(--fcwalk-gray-100, #f3f4f6);
	font-size: 0.9rem;
}

.fcwalk-table th {
	font-weight: 600;
	color: var(--fcwalk-gray-500, #6b7280);
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

/* ── HQ Input ─────────────────────────────────────────────── */

.fcwalk-input {
	width: 100%;
	padding: 10px 14px;
	border: 2px solid var(--fcwalk-gray-200, #e5e7eb);
	border-radius: 8px;
	font-size: 0.95rem;
	box-sizing: border-box;
}

.fcwalk-input:focus {
	outline: none;
	border-color: var(--fcwalk-primary, #0d9488);
	box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

/* ── HQ Empty State ───────────────────────────────────────── */

.fcwalk-empty {
	color: var(--fcwalk-gray-500, #6b7280);
	font-style: italic;
	text-align: center;
	padding: 20px;
}

/* ── HQ Mobile ────────────────────────────────────────────── */

@media (max-width: 768px) {
	.fcwalk-hq-header h1 {
		font-size: 1.2rem;
	}

	.fcwalk-hq-tabs {
		gap: 0;
		padding: 0 8px;
	}

	.fcwalk-hq-tab {
		padding: 12px 14px;
		font-size: 0.8rem;
	}

	.fcwalk-hq-actions {
		flex-direction: column;
	}

	.fcwalk-hq-panel .fcwalk-stat-cards {
		flex-direction: column;
	}
}

/* ═══════════════════════════════════════════════════════════════════
   MOBILE-FIRST RESPONSIVE FIXES
   ═══════════════════════════════════════════════════════════════════ */

/* Global mobile container */
@media (max-width: 768px) {
	.fcwalk-container {
		padding: 0 16px;
	}

	/* Header mobile */
	.fcwalk-site-header__inner {
		min-height: 52px;
	}

	.fcwalk-site-header__logo {
		font-size: 1.1rem;
	}

	.fcwalk-site-header__logo-img {
		height: 38px;
	}

	/* Homepage hero */
	.fcwalk-hero__carousel {
		aspect-ratio: 16 / 9;
	}

	/* CTA buttons */
	.fcwalk-actions {
		padding: 20px 0;
	}

	.fcwalk-actions__grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}

	.fcwalk-action-btn {
		padding: 14px 8px;
		font-size: 0.9rem;
	}

	/* Thermometer */
	.fcwalk-thermo-section {
		padding: 28px 0;
	}

	.fcwalk-thermo__stats {
		gap: 20px;
		flex-wrap: wrap;
		justify-content: center;
	}

	.fcwalk-thermo__number {
		font-size: 1.6rem;
	}

	.fcwalk-thermo__bar-wrap {
		margin-bottom: 20px;
	}

	/* Event info */
	.fcwalk-event-info {
		padding: 32px 0;
	}

	.fcwalk-event-info__date {
		font-size: 1.2rem;
	}

	.fcwalk-event-info__tagline {
		font-size: 1.1rem;
	}

	.fcwalk-event-info__desc {
		font-size: 0.95rem;
	}

	/* Leaderboards */
	.fcwalk-leaderboards__grid {
		grid-template-columns: 1fr;
	}

	/* Search */
	.fcwalk-search-section {
		padding: 24px 0;
	}

	/* Gallery scroll */
	.fcwalk-gallery-scroll__item {
		width: 240px;
		height: 135px;
	}

	/* Social */
	.fcwalk-share-row {
		flex-direction: column;
	}

	/* Page content */
	.fcwalk-page {
		padding: 28px 0 40px;
	}

	.fcwalk-page__title {
		font-size: 1.5rem;
	}

	.fcwalk-page__content {
		font-size: 1rem;
	}

	/* Footer */
	.fcwalk-site-footer__inner {
		flex-direction: column;
		text-align: center;
	}

	.fcwalk-footer-nav-list {
		flex-wrap: wrap;
		justify-content: center;
		gap: 12px;
	}

	/* Registration form */
	.fcwalk-reg-form {
		padding: 24px 16px;
		margin: 12px 0 32px;
		border-radius: 8px;
	}

	.fcwalk-reg-confirm-layout {
		grid-template-columns: 1fr;
	}

	.fcwalk-team-options {
		flex-direction: column;
	}

	/* Donation presets */
	.fcwalk-donation-presets {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 480px) {
	.fcwalk-actions__grid {
		grid-template-columns: 1fr;
	}

	.fcwalk-donation-presets {
		grid-template-columns: repeat(2, 1fr);
	}

	.fcwalk-thermo__stats {
		gap: 16px;
	}

	.fcwalk-thermo__number {
		font-size: 1.4rem;
	}

	.fcwalk-hq-tab {
		padding: 10px 10px;
		font-size: 0.75rem;
	}
}

/* Disabled fieldset (role registration closed) */
.fcwalk-fieldset--disabled {
	opacity: 0.5;
	pointer-events: none;
	position: relative;
}

.fcwalk-fieldset--disabled::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(255, 255, 255, 0.3);
	border-radius: 10px;
}

/* ── HQ: My Page tab ─────────────────────────────────────────────── */

.fcwalk-hq-mypage {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 20px;
	align-items: start;
}

.fcwalk-btn--sm {
	padding: 8px 16px;
	font-size: 0.85rem;
}

/* Photo tiles */
.fcwalk-photo-tiles {
	display: grid;
	grid-template-columns: 180px minmax(0, 1fr);
	gap: 24px;
	margin-top: 16px;
}

/* One wide tile only (team page editor) — no fixed profile column. */
.fcwalk-photo-tiles--single {
	grid-template-columns: minmax(0, 1fr);
}

.fcwalk-photo-tile__label {
	display: block;
	font-weight: 600;
	font-size: 0.9rem;
	color: var(--fcwalk-gray-700, #374151);
	margin-bottom: 8px;
}

.fcwalk-photo-tile__preview {
	background: var(--fcwalk-gray-100, #f3f4f6);
	border: 2px dashed var(--fcwalk-gray-200, #e5e7eb);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	color: var(--fcwalk-gray-200, #e5e7eb);
	margin-bottom: 10px;
}

.fcwalk-photo-tile__preview.has-image {
	border-style: solid;
}

.fcwalk-photo-tile__preview--circle {
	width: 140px;
	height: 140px;
	border-radius: 50%;
}

.fcwalk-photo-tile__preview--wide {
	width: 100%;
	aspect-ratio: 16 / 7;
	border-radius: 10px;
}

.fcwalk-photo-tile__preview img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.fcwalk-photo-tile__preview svg {
	width: 48px;
	height: 48px;
}

.fcwalk-photo-tile__actions {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 6px;
}

.fcwalk-photo-tile__actions label {
	margin: 0;
	cursor: pointer;
}

.fcwalk-photo-remove {
	background: none;
	border: none;
	padding: 0;
	color: var(--fcwalk-red, #dc2626);
	font-size: 0.85rem;
	cursor: pointer;
}

.fcwalk-photo-remove:hover {
	text-decoration: underline;
}

/* Fields + save bar */
.fcwalk-field label {
	display: block;
	font-weight: 600;
	font-size: 0.9rem;
	color: var(--fcwalk-gray-700, #374151);
	margin-bottom: 6px;
}

.fcwalk-hq-panel .fcwalk-field {
	margin-bottom: 16px;
}

.fcwalk-hq-savebar {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 38px;
	margin-top: 14px;
}

/* Buttons placed directly in a card (outside the gap-styled action rows)
   never sit flush against a sibling button or the text above them. */
.fcwalk-card > .fcwalk-btn + .fcwalk-btn {
	margin-left: 8px;
}

.fcwalk-card > p + .fcwalk-btn,
.fcwalk-reg-notice p + .fcwalk-btn {
	margin-top: 4px;
}

.fcwalk-saved-note {
	color: var(--fcwalk-green, #059669);
	font-size: 0.9rem;
	font-weight: 600;
}

/* Page link card */
.fcwalk-hq-pagelink__url {
	font-size: 0.9rem;
	color: var(--fcwalk-gray-700, #374151);
	background: var(--fcwalk-gray-50, #f9fafb);
	border: 1px solid var(--fcwalk-gray-200, #e5e7eb);
	border-radius: 8px;
	padding: 8px 12px;
	word-break: break-all;
	margin: 0 0 10px;
}

.fcwalk-hq-pagelink__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.fcwalk-hq-urledit {
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid var(--fcwalk-gray-100, #f3f4f6);
}

.fcwalk-hq-urledit .fcwalk-btn {
	margin-top: 10px;
}

.fcwalk-hq-urledit .fcwalk-hint {
	margin: 8px 0 0;
}

.fcwalk-url-hint--ok {
	color: #16a34a;
}

.fcwalk-url-hint--bad {
	color: #dc2626;
}

/* My Registration tab */
.fcwalk-reg-details {
	list-style: none;
	margin: 0 0 20px;
	padding: 0;
}

.fcwalk-reg-details li {
	display: flex;
	gap: 8px;
	padding: 6px 0;
	border-bottom: 1px solid var(--fcwalk-gray-100, #f3f4f6);
}

.fcwalk-reg-details li span:first-child {
	min-width: 110px;
	font-weight: 600;
	color: var(--fcwalk-gray-500, #6b7280);
}

.fcwalk-reg-section-title {
	margin: 22px 0 10px;
	font-size: 1rem;
}

.fcwalk-role-row {
	padding: 10px 12px;
	border: 1px solid var(--fcwalk-gray-200, #e5e7eb);
	border-radius: 8px;
	margin-bottom: 8px;
}

.fcwalk-role-row .fcwalk-toggle {
	width: 100%;
}

.fcwalk-role-row--disabled {
	opacity: 0.6;
}

.fcwalk-role-row__closed {
	display: block;
	margin-top: 4px;
	color: #dc2626;
}

.fcwalk-role-row__fields {
	margin-top: 12px;
}

.fcwalk-role-row__fields .fcwalk-field:last-child {
	margin-bottom: 4px;
}

.fcwalk-reg-teamline {
	margin: 0 0 10px;
}

.fcwalk-reg-teamsearch {
	margin-top: 12px;
	max-width: 420px;
}

/* "For an Effective Campaign" checklist */
.fcwalk-effective {
	background: var(--fcwalk-gray-100, #f3f4f6);
}

.fcwalk-effective__title {
	margin: 0 0 2px;
	font-size: 1.05rem;
	font-weight: 400;
}

.fcwalk-effective__title strong {
	font-weight: 700;
}

.fcwalk-effective__pct {
	margin: 0 0 14px;
	text-align: right;
	font-size: 0.9rem;
	color: var(--fcwalk-gray-700, #374151);
}

.fcwalk-effective__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.fcwalk-effective__list a,
.fcwalk-effective__list .fcwalk-effective__row {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 7px 0;
	color: var(--fcwalk-gray-900, #111827);
	text-decoration: none;
}

.fcwalk-effective__list a:hover .fcwalk-effective__label {
	color: var(--fcwalk-primary, #0d9488);
	text-decoration: underline;
}

.fcwalk-effective__check {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	flex-shrink: 0;
	background: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
	color: #fff;
	font-size: 0.8rem;
	font-weight: 700;
}

.fcwalk-effective__list .is-done .fcwalk-effective__check {
	background: var(--fcwalk-primary, #0d9488);
}

/* My Team tab — team hero */
.fcwalk-teamhero {
	margin-bottom: 32px;
}

.fcwalk-teamhero__toprow {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 4px;
}

.fcwalk-teamhero__name {
	margin: 0 0 4px;
	font-size: 1.75rem;
}

.fcwalk-teamhero__toprow .fcwalk-teamhero__name {
	margin-bottom: 0;
}

.fcwalk-teamhero__walkers {
	margin: 0 0 18px;
	color: var(--fcwalk-gray-700, #374151);
}

.fcwalk-teamhero__count {
	color: var(--fcwalk-primary, #0d9488);
	font-weight: 700;
}

.fcwalk-teamhero__moneyrow {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 10px;
}

.fcwalk-teamhero__raised,
.fcwalk-teamhero__goal {
	margin: 0;
	color: var(--fcwalk-primary, #0d9488);
	font-weight: 600;
}

.fcwalk-teamhero__amount {
	font-size: 1.5rem;
	font-weight: 800;
	color: var(--fcwalk-primary, #0d9488);
}

.fcwalk-teamhero__split {
	margin-left: 8px;
	color: var(--fcwalk-gray-900, #111827);
	font-weight: 600;
	font-size: 0.95rem;
}

.fcwalk-teamhero__bar {
	position: relative;
	height: 10px;
	border-radius: 999px;
	background: var(--fcwalk-gray-200, #e5e7eb);
}

.fcwalk-teamhero__fill {
	position: relative;
	height: 100%;
	border-radius: 999px;
	background: var(--fcwalk-primary, #0d9488);
	min-width: 10px;
}

.fcwalk-teamhero__fill::after {
	content: "";
	position: absolute;
	right: -9px;
	top: 50%;
	transform: translateY(-50%);
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--fcwalk-primary, #0d9488);
	border: 3px solid #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* My Team tab — member cards */
.fcwalk-teammembers__head {
	margin-bottom: 16px;
}

.fcwalk-teammembers__title {
	margin: 0 0 2px;
	font-size: 1.4rem;
}

/* Captain-only team page editor below the member grid. */
.fcwalk-hq-teamedit {
	margin-top: 28px;
	scroll-margin-top: 90px; /* the "Customize Team Page" anchor jump clears the sticky header */
}

.fcwalk-hq-teamedit .fcwalk-teammembers__title {
	margin-bottom: 12px;
}

.fcwalk-teammembers__count {
	margin: 0;
	color: var(--fcwalk-gray-700, #374151);
}

.fcwalk-member-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	margin-bottom: 28px;
}

@media (max-width: 720px) {
	.fcwalk-member-grid {
		grid-template-columns: 1fr;
	}
}

.fcwalk-member-card {
	position: relative;
	display: flex;
	gap: 14px;
	background: #fff;
	border: 1px solid var(--fcwalk-gray-100, #f3f4f6);
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
	padding: 16px;
}

.fcwalk-member-card__photo {
	width: 88px;
	height: 72px;
	object-fit: cover;
	border-radius: 8px;
	flex-shrink: 0;
}

.fcwalk-member-card__body {
	flex: 1;
	min-width: 0;
	padding-right: 28px;
}

.fcwalk-member-card__role {
	display: block;
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--fcwalk-gray-500, #6b7280);
}

.fcwalk-member-card__name {
	display: block;
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--fcwalk-gray-900, #111827);
	text-decoration: underline;
	margin-bottom: 12px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

a.fcwalk-member-card__name:hover {
	color: var(--fcwalk-primary, #0d9488);
}

.fcwalk-member-card__raised {
	margin: 0 0 6px;
	color: var(--fcwalk-primary, #0d9488);
	font-weight: 700;
	font-size: 0.9rem;
}

.fcwalk-member-card__raised span {
	font-weight: 400;
}

.fcwalk-member-card__bar {
	height: 8px;
	border-radius: 999px;
	background: var(--fcwalk-gray-200, #e5e7eb);
	overflow: hidden;
}

.fcwalk-member-card__fill {
	height: 100%;
	border-radius: 999px;
	background: var(--fcwalk-primary, #0d9488);
}

.fcwalk-member-card__menu {
	position: absolute;
	top: 12px;
	right: 12px;
}

.fcwalk-member-card__kebab {
	background: none;
	border: none;
	cursor: pointer;
	font-size: 1.3rem;
	font-weight: 700;
	line-height: 1;
	color: var(--fcwalk-gray-900, #111827);
	padding: 2px 6px;
}

.fcwalk-member-card__dropdown {
	position: absolute;
	right: 0;
	top: 100%;
	background: #fff;
	border: 1px solid var(--fcwalk-gray-200, #e5e7eb);
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
	min-width: 140px;
	padding: 6px 0;
	z-index: 20;
}

.fcwalk-member-card__dropdown a {
	display: block;
	padding: 8px 14px;
	color: var(--fcwalk-gray-700, #374151);
	text-decoration: none;
	font-size: 0.9rem;
}

.fcwalk-member-card__dropdown a:hover {
	background: var(--fcwalk-gray-50, #f9fafb);
	color: var(--fcwalk-primary, #0d9488);
}

/* QR print card */
.fcwalk-hq-qrcard {
	text-align: center;
}

.fcwalk-hq-qrcard .fcwalk-hint {
	text-align: left;
}

.fcwalk-qr-card {
	max-width: 240px;
	margin: 12px auto 0;
	border: 1px solid var(--fcwalk-gray-200, #e5e7eb);
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
}

.fcwalk-qr-card-header {
	background: var(--fcwalk-navy, #1a2744);
	color: #fff;
	padding: 10px 14px;
	font-size: 0.95rem;
}

.fcwalk-qr-card-body {
	padding: 16px;
}

.fcwalk-qr-card-body .fcwalk-qrcode {
	display: inline-block;
	max-width: 150px;
	width: 100%;
}

.fcwalk-qr-card-body .fcwalk-qrcode svg {
	width: 100%;
	height: auto;
	display: block;
}

.fcwalk-qr-card-name {
	font-weight: 700;
	color: var(--fcwalk-navy, #1a2744);
	margin: 10px 0 2px;
}

.fcwalk-qr-card-url {
	font-size: 0.78rem;
	color: var(--fcwalk-gray-500, #6b7280);
	word-break: break-all;
	margin: 0;
}

.fcwalk-qr-card-footer {
	background: var(--fcwalk-primary-light, #ccfbf1);
	color: var(--fcwalk-primary-dark, #0f766e);
	padding: 8px;
	font-weight: 600;
}

@media (max-width: 900px) {
	.fcwalk-hq-mypage {
		grid-template-columns: 1fr;
	}

	.fcwalk-photo-tiles {
		grid-template-columns: 1fr;
	}

	.fcwalk-photo-tile__preview--circle {
		width: 120px;
		height: 120px;
	}
}

/* Solid green button (Edit URL etc.) — rounded like .fcwalk-btn, white text */
.fcwalk-btn-green {
	background: var(--fcwalk-green, #059669);
	color: #fff;
}

.fcwalk-btn-green:hover {
	background: #047857;
	color: #fff;
}

/* ── HQ: Dashboard tab ───────────────────────────────────────────── */

.fcwalk-dash-tiles {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
	margin-bottom: 20px;
}

.fcwalk-dash-tile {
	background: #fff;
	border: 1px solid var(--fcwalk-gray-200, #e5e7eb);
	border-radius: 10px;
	padding: 18px 20px;
	display: flex;
	flex-direction: column;
	gap: 2px;
	text-decoration: none;
	transition: border-color 0.15s, box-shadow 0.15s;
}

a.fcwalk-dash-tile:hover {
	border-color: var(--fcwalk-primary, #0d9488);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.fcwalk-dash-tile__value {
	font-size: 1.6rem;
	font-weight: 800;
	color: var(--fcwalk-navy, #1a2744);
	line-height: 1.2;
}

.fcwalk-dash-tile__label {
	font-size: 0.78rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--fcwalk-gray-500, #6b7280);
}

.fcwalk-hq-dash {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 20px;
	align-items: start;
}

/* Card header with a quiet action link */
.fcwalk-hq-cardhead {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	margin-bottom: 12px;
}

.fcwalk-hq-panel .fcwalk-card .fcwalk-hq-cardhead h3 {
	margin: 0;
}

.fcwalk-hq-cardhead__action {
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--fcwalk-primary, #0d9488);
	text-decoration: none;
	white-space: nowrap;
}

.fcwalk-hq-cardhead__action:hover {
	text-decoration: underline;
}

.fcwalk-hq-cardhead__meta {
	font-size: 0.85rem;
	color: var(--fcwalk-gray-500, #6b7280);
	white-space: nowrap;
}

/* Dashboard donation list (name + amount, optional message below) */
.fcwalk-hq-donations {
	list-style: none;
	margin: 0;
	padding: 0;
}

.fcwalk-hq-donations li {
	padding: 10px 0;
	border-bottom: 1px solid var(--fcwalk-gray-100, #f3f4f6);
}

.fcwalk-hq-donations li:first-child {
	padding-top: 0;
}

.fcwalk-hq-donations li:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.fcwalk-hq-donations__row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 10px;
}

/* Photo nudge + team name */
.fcwalk-hq-nudge {
	margin: 12px 0 0;
	font-size: 0.88rem;
}

.fcwalk-hq-nudge a {
	color: var(--fcwalk-primary, #0d9488);
	font-weight: 600;
	text-decoration: none;
}

.fcwalk-hq-nudge a:hover {
	text-decoration: underline;
}

.fcwalk-hq-teamname {
	margin: 0 0 10px;
	font-weight: 700;
}

.fcwalk-hq-teamname a {
	color: var(--fcwalk-primary, #0d9488);
	text-decoration: none;
}

.fcwalk-hq-teamname a:hover {
	text-decoration: underline;
}

/* Checklist check circles */
.fcwalk-task-check {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	border: 2px solid var(--fcwalk-gray-200, #e5e7eb);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 0.7rem;
	color: transparent;
	flex-shrink: 0;
}

.fcwalk-task-check--done {
	background: var(--fcwalk-primary, #0d9488);
	border-color: var(--fcwalk-primary, #0d9488);
	color: #fff;
}

@media (max-width: 900px) {
	.fcwalk-hq-dash {
		grid-template-columns: 1fr;
	}

	.fcwalk-dash-tiles {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* My Team: no-team actions + create form */
.fcwalk-hq-team-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 12px;
}

.fcwalk-hq-teamcreate {
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid var(--fcwalk-gray-100, #f3f4f6);
	max-width: 420px;
}

.fcwalk-hq-teamerror {
	color: var(--fcwalk-red, #dc2626);
	font-size: 0.9rem;
	margin: 8px 0 0;
}

/* Share counter on the Page Link card */
.fcwalk-hq-sharecount {
	margin: 12px 0 0;
	font-size: 0.9rem;
	color: var(--fcwalk-gray-500, #6b7280);
}

.fcwalk-hq-sharecount strong {
	color: var(--fcwalk-green, #059669);
}

/* Donate page address row: on phones, City goes full width and
   State + Zip stay side by side instead of stacking. */
@media (max-width: 600px) {
	.fcwalk-field-row--address {
		flex-direction: row;
		flex-wrap: wrap;
		gap: 0 12px;
	}

	.fcwalk-field-row--address > .fcwalk-field:first-child {
		flex: 1 1 100%;
	}

	.fcwalk-field-row--address .fcwalk-field--sm {
		flex: 1 1 0 !important;
		max-width: none;
	}
}
