.gig-race-public {
	margin-top: 2em;
}

.gig-race-public__facts {
	margin: 0 0 1.5em;
	padding-left: 1.2em;
}

.gig-race-public__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 1em 0 2em;
}

.gig-race-public__button {
	display: inline-block;
	padding: 12px 20px;
	background: #1d4ed8;
	color: #fff !important;
	text-decoration: none;
	font-weight: 700;
	border-radius: 4px;
}

.gig-race-public__button:hover {
	background: #1e40af;
}

.gig-race-public__button--disabled {
	background: #64748b;
	cursor: default;
}

.gig-race-public__closed-badge {
	display: inline-block;
	padding: 10px 20px;
	background: #fef3c7;
	color: #92400e;
	font-weight: 700;
	border: 1px solid #f59e0b;
	border-radius: 4px;
	margin: 0 0 2em;
}

.gig-race-public__table {
	width: 100%;
	border-collapse: collapse;
}

.gig-race-public__table th,
.gig-race-public__table td {
	border: 1px solid #ddd;
	padding: 8px 10px;
	text-align: left;
}

.gig-race-public__table th {
	background: #f6f7f7;
}

.gig-checkout-participants {
	margin: 0 0 2em;
}

.gig-checkout-participants h3 {
	margin-top: 0;
}

.gig-checkout-participants__intro,
.gig-checkout-participants__gift {
	margin-bottom: 1em;
}

.gig-checkout-participant {
	margin: 0 0 1.5em;
	padding: 1.25em;
	border: 1px solid #ddd;
	border-radius: 4px;
	background: #fafafa;
}

.gig-checkout-participant__title {
	margin: 0 0 1em;
	display: flex;
	align-items: center;
	gap: 12px;
}

.gig-remove-participant {
	font-size: 0.85em;
	color: #b91c1c;
	cursor: pointer;
	background: none;
	border: none;
	text-decoration: underline;
}

.gig-checkout-participant__grid .form-row {
	margin-bottom: 1em;
}

.gig-checkout-participants__actions {
	margin: 0 0 1.5em;
}

.gig-checkout-participants__billing {
	margin: 0 0 1.5em;
	padding: 1.25em;
	border: 1px solid #ddd;
	border-radius: 4px;
	background: #f0f7ff;
}

.gig-checkout-participants__billing h4 {
	margin: 0 0 0.75em;
}

.gig-checkout-participants__billing-custom {
	margin-top: 1em;
}

.gig-checkout-participants__billing-custom .form-row {
	margin-bottom: 0.75em;
}

.gig-checkout-participants__rgpd label {
	display: flex;
	gap: 8px;
	align-items: flex-start;
}

/* ---- Races list shortcode (Flatsome banner style) ---- */
.gig-races-list__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px 15px;
	list-style: none;
	margin: 0;
	padding: 0;
}

@media (max-width: 849px) {
	.gig-races-list__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 549px) {
	.gig-races-list__grid {
		grid-template-columns: 1fr;
	}
}

.gig-races-list__item {
	margin: 0;
	padding: 0;
}

.gig-races-list__card {
	position: relative;
	display: block;
	overflow: hidden;
	text-decoration: none;
	color: #fff;
	background: #1a1a1a;
	min-height: 180px;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gig-races-list__card:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
	color: #fff;
}

@media (min-width: 550px) {
	.gig-races-list__card {
		min-height: 250px;
	}
}

.gig-races-list__media {
	position: absolute;
	inset: 0;
	background-color: #2a2a2a;
	background-position: 50% 83%;
	background-size: cover;
	background-repeat: no-repeat;
	transition: transform 0.35s ease;
}

.gig-races-list__card:hover .gig-races-list__media {
	transform: scale(1.04);
}

.gig-races-list__item--no-image .gig-races-list__media {
	background-image: linear-gradient(135deg, #333, #555);
}

.gig-races-list__overlay {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	padding: 20px 5px;
	text-align: center;
	background-color: rgba(0, 0, 0, 0.71);
}

.gig-races-list__status {
	display: inline-block;
	padding: 0.45em 1.1em;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1.2;
	text-transform: uppercase;
	color: #111;
	background: #fff;
	border: none;
}

.gig-races-list__status--sold-out {
	color: #fff;
	background: #b91c1c;
}

.gig-races-list__date {
	display: block;
	margin: 0;
	font-size: 1rem;
	line-height: 1.3;
	color: #fff;
}

.gig-races-list__date strong {
	font-weight: 700;
}
