/*
 * PS26/2 countdown card (functions/ps26-countdown.php).
 *
 * Homepage (--home): the section takes the off-white the hero's curved
 * divider fades into, so the swish runs straight into it, with a gap above
 * the card.
 *
 * Content block (--block): even spacing above and below, and no background
 * of its own, so the shared Section Background Colour field decides it.
 */

.ps26-countdown {
	padding: 3rem 24px;
}

.ps26-countdown--home {
	padding-bottom: 1rem;
	background: var(--c-off-white, #f5f7f9);
}

.ps26-countdown__card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem 3rem;
	max-width: var(--container, 1320px);
	margin-inline: auto;
	padding: clamp(2rem, 3.5vw, 3.25rem) clamp(1.5rem, 4vw, 3.5rem);
	border-radius: 20px;
	background:
		radial-gradient(ellipse at 0% 100%, rgba(165, 180, 255, 0.22) 0%, rgba(165, 180, 255, 0) 55%),
		linear-gradient(135deg, var(--c-navy, #00142a) 0%, var(--c-navy-mid, #032141) 100%);
	box-shadow: 0 12px 32px rgba(0, 20, 42, 0.18);
	color: #fff;
	text-decoration: none;
}

.ps26-countdown__card:hover,
.ps26-countdown__card:focus {
	color: #fff;
	text-decoration: none;
}

.ps26-countdown__card:focus-visible {
	outline: 3px solid var(--c-pink, #e8159b);
	outline-offset: 4px;
}

.ps26-countdown__text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1.5rem;
}

.ps26-countdown__body {
	max-width: 36rem;
	font-size: 1.05rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.85);
}

.ps26-countdown__heading {
	font-size: clamp(2rem, 3.4vw, 3.25rem);
	font-weight: 700;
	line-height: 1.1;
	color: #fff;
}

.ps26-countdown__btn {
	background: var(--c-pink, #e8159b);
	border-color: var(--c-pink, #e8159b);
	color: #fff;
	transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.ps26-countdown__card:hover .ps26-countdown__btn,
.ps26-countdown__card:focus .ps26-countdown__btn {
	background: #fff;
	border-color: #fff;
	color: var(--c-navy, #00142a);
}

.ps26-countdown__clock {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	flex-shrink: 0;
}

.ps26-countdown__kicker {
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	color: #a5b4ff;
}

.ps26-countdown__timer {
	display: flex;
	gap: clamp(0.5rem, 1vw, 0.875rem);
}

.ps26-countdown__tile {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: clamp(4.5rem, 7.5vw, 7.5rem);
	padding: clamp(0.75rem, 1.4vw, 1.15rem) clamp(0.5rem, 1vw, 0.9rem);
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(165, 180, 255, 0.35);
	border-radius: 14px;
	transition: border-color 0.2s, background-color 0.2s;
}

.ps26-countdown__card:hover .ps26-countdown__tile,
.ps26-countdown__card:focus .ps26-countdown__tile {
	background: rgba(255, 255, 255, 0.12);
	border-color: rgba(165, 180, 255, 0.7);
}

.ps26-countdown__num {
	font-size: clamp(2.25rem, 4.2vw, 4.25rem);
	font-weight: 800;
	line-height: 1;
	color: #7ae1ff;
	font-variant-numeric: tabular-nums;
}

.ps26-countdown__label {
	margin-top: 0.4rem;
	font-size: clamp(0.75rem, 1.1vw, 0.95rem);
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #a5b4ff;
}

@media (max-width: 1199.98px) {
	.ps26-countdown__card {
		flex-direction: column;
		text-align: center;
	}

	.ps26-countdown__text,
	.ps26-countdown__clock {
		align-items: center;
	}

	.ps26-countdown__clock {
		width: 100%;
		max-width: 36rem;
	}

	.ps26-countdown__timer {
		width: 100%;
		justify-content: center;
	}

	.ps26-countdown__tile {
		flex: 1 1 0;
		min-width: 0;
	}
}

@media (max-width: 575.98px) {
	.ps26-countdown {
		padding: 2rem 16px;
	}

	.ps26-countdown--home {
		padding-bottom: 0.5rem;
	}

	.ps26-countdown__card {
		padding: 2rem 1rem;
		border-radius: 16px;
	}

	.ps26-countdown__heading {
		font-size: 1.75rem;
	}

	.ps26-countdown__num {
		font-size: 1.9rem;
	}

	.ps26-countdown__label {
		font-size: 0.7rem;
		letter-spacing: 0.05em;
	}
}
