/* DR Season Hub — shortcode-based season landing page.
 * Uses --dr-* CSS custom properties injected by DR_Season_Theme.
 */

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

.dr-season-hub__hero {
	position: relative;
	min-height: 55vh;
	display: flex;
	align-items: center;
	justify-content: center;
	background-size: cover;
	background-position: center;
	background-color: var(--dr-surface, #f5f3ef);
	text-align: center;
}

.dr-season-hub__hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to top,
		rgba(0, 0, 0, 0.5) 0%,
		rgba(0, 0, 0, 0.3) 50%,
		rgba(0, 0, 0, 0.15) 100%
	);
	pointer-events: none;
}

.dr-season-hub__hero-content {
	position: relative;
	z-index: 1;
	max-width: 800px;
	padding: 3rem 2rem;
}

.dr-season-hub__eyebrow {
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: rgba(255, 255, 255, 0.9);
	margin: 0 0 0.75rem;
}

.dr-season-hub__title {
	font-family: var(--dr-heading-font, inherit);
	font-size: clamp(2.5rem, 6vw, 4.5rem);
	color: #fff;
	margin: 0 0 0.75rem;
	line-height: 1.05;
}

.dr-season-hub__tagline {
	font-size: 1.2rem;
	color: rgba(255, 255, 255, 0.8);
	margin: 0;
	line-height: 1.5;
}

/* ── Stats ────────────────────────────────────────── */

.dr-season-hub__stats {
	display: flex;
	justify-content: center;
	gap: 2rem;
	padding: 2rem;
	background: var(--dr-surface, #f5f3ef);
	border-bottom: 1px solid var(--dr-border, rgba(0, 0, 0, 0.08));
}

.dr-stat {
	text-align: center;
	min-width: 80px;
}

.dr-stat__number {
	display: block;
	font-family: var(--dr-heading-font, inherit);
	font-size: 2.25rem;
	font-weight: 700;
	color: var(--dr-primary, #2a7d5f);
	line-height: 1.2;
}

.dr-stat__label {
	display: block;
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--dr-muted, #6b6b6b);
	margin-top: 0.25rem;
}

/* ── Intro ────────────────────────────────────────── */

.dr-season-hub__intro {
	max-width: 720px;
	margin: 0 auto;
	padding: 3rem 2rem;
	font-size: 1.1rem;
	line-height: 1.7;
	color: var(--dr-text, #1a1a1a);
	text-align: center;
}

.dr-season-hub__intro p:last-child {
	margin-bottom: 0;
}

/* ── Section Titles ───────────────────────────────── */

.dr-season-hub__section-title {
	font-family: var(--dr-heading-font, inherit);
	font-size: 1.5rem;
	color: var(--dr-text, #1a1a1a);
	margin: 0 0 0.5rem;
}

.dr-season-hub__section-desc {
	font-size: 0.95rem;
	color: var(--dr-muted, #6b6b6b);
	margin: 0 0 1.5rem;
}

/* ── Next Up ──────────────────────────────────────── */

.dr-season-hub__next-up {
	max-width: 900px;
	margin: 0 auto;
	padding: 3rem 2rem;
}

.dr-season-hub__next-up-badge {
	display: inline-block;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #fff;
	background: var(--dr-primary, #2a7d5f);
	padding: 0.3em 0.8em;
	border-radius: 4px;
	margin-bottom: 1rem;
}

.dr-next-up-card {
	display: grid;
	grid-template-columns: 1fr 1fr;
	background: var(--dr-surface, #f5f3ef);
	border: 1px solid var(--dr-border, rgba(0, 0, 0, 0.08));
	border-radius: var(--dr-radius, 12px);
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	transition: border-color 0.3s, box-shadow 0.3s;
}

.dr-next-up-card:hover {
	border-color: var(--dr-primary, #2a7d5f);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.dr-next-up-card__image {
	position: relative;
	min-height: 280px;
	background-size: cover;
	background-position: center;
}

.dr-next-up-card__image-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to right, transparent 60%, var(--dr-surface, #f5f3ef) 100%);
}

.dr-next-up-card__content {
	padding: 2rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.dr-next-up-card__month {
	display: block;
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--dr-primary, #2a7d5f);
	margin-bottom: 0.25rem;
}

.dr-next-up-card__date {
	display: block;
	font-size: 0.85rem;
	color: var(--dr-muted, #6b6b6b);
	margin-bottom: 0.75rem;
}

.dr-next-up-card__title {
	font-family: var(--dr-heading-font, inherit);
	font-size: 1.75rem;
	color: var(--dr-text, #1a1a1a);
	margin: 0 0 0.75rem;
	line-height: 1.2;
}

.dr-next-up-card__lineup {
	margin-bottom: 0.75rem;
}

.dr-next-up-card__headliner {
	display: block;
	font-size: 1.05rem;
	color: var(--dr-text, #1a1a1a);
	font-weight: 600;
}

.dr-next-up-card__support {
	display: block;
	font-size: 0.9rem;
	color: var(--dr-muted, #6b6b6b);
}

.dr-next-up-card__desc {
	font-size: 0.9rem;
	color: var(--dr-muted, #6b6b6b);
	line-height: 1.5;
	margin: 0 0 1rem;
}

.dr-next-up-card__cta {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--dr-primary, #2a7d5f);
	margin-top: auto;
}

.dr-next-up-card__events-count {
	font-size: 0.75rem;
	font-weight: 400;
	color: var(--dr-muted, #6b6b6b);
	background: var(--dr-surface-elevated, #eae7e1);
	padding: 0.2em 0.6em;
	border-radius: 4px;
}

/* ── Timeline ─────────────────────────────────────── */

.dr-season-hub__timeline {
	max-width: 900px;
	margin: 0 auto;
	padding: 3rem 2rem;
}

.dr-timeline {
	position: relative;
	padding-left: 2rem;
}

/* Vertical line. */
.dr-timeline::before {
	content: '';
	position: absolute;
	left: 7px;
	top: 0;
	bottom: 0;
	width: 2px;
	background: var(--dr-border, rgba(0, 0, 0, 0.08));
}

.dr-timeline__item {
	display: flex;
	gap: 1.25rem;
	padding: 1rem 0;
	text-decoration: none;
	color: inherit;
	position: relative;
}

.dr-timeline__item + .dr-timeline__item {
	border-top: none;
}

/* Marker dot. */
.dr-timeline__marker {
	position: absolute;
	left: -2rem;
	top: 1.35rem;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--dr-surface-elevated, #eae7e1);
	border: 2px solid var(--dr-border, rgba(0, 0, 0, 0.12));
	z-index: 1;
	flex-shrink: 0;
}

.dr-timeline__item.is-past .dr-timeline__marker {
	background: var(--dr-muted, #6b6b6b);
	border-color: var(--dr-muted, #6b6b6b);
	opacity: 0.4;
}

.dr-timeline__item.is-upcoming .dr-timeline__marker {
	background: var(--dr-primary, #2a7d5f);
	border-color: var(--dr-primary, #2a7d5f);
	opacity: 0.5;
}

.dr-timeline__item.is-next .dr-timeline__marker {
	background: var(--dr-primary, #2a7d5f);
	border-color: var(--dr-primary, #2a7d5f);
}

/* Pulse on next festival. */
.dr-timeline__pulse {
	position: absolute;
	inset: -4px;
	border-radius: 50%;
	border: 2px solid var(--dr-primary, #2a7d5f);
	animation: dr-pulse 2s ease-in-out infinite;
}

@keyframes dr-pulse {
	0%, 100% { opacity: 0; transform: scale(1); }
	50% { opacity: 0.6; transform: scale(1.6); }
}

/* Timeline card. */
.dr-timeline__card {
	display: flex;
	gap: 1rem;
	background: var(--dr-surface, #f5f3ef);
	border: 1px solid var(--dr-border, rgba(0, 0, 0, 0.08));
	border-radius: var(--dr-radius, 12px);
	overflow: hidden;
	flex: 1;
	transition: border-color 0.3s, box-shadow 0.3s;
}

.dr-timeline__item:hover .dr-timeline__card {
	border-color: var(--dr-primary, #2a7d5f);
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.dr-timeline__item.is-past .dr-timeline__card {
	opacity: 0.65;
}

.dr-timeline__item.is-past:hover .dr-timeline__card {
	opacity: 1;
}

.dr-timeline__card-image {
	width: 50%;
	min-height: 200px;
	flex-shrink: 0;
}

.dr-timeline__card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.dr-timeline__card-content {
	padding: 1rem 1.25rem 1rem 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.15rem;
}

.dr-timeline__month {
	font-family: var(--dr-heading-font, inherit);
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--dr-text, #1a1a1a);
}

.dr-timeline__date {
	font-size: 0.8rem;
	color: var(--dr-muted, #6b6b6b);
}

.dr-timeline__artists {
	font-size: 0.85rem;
	color: var(--dr-text, #1a1a1a);
	margin: 0.25rem 0 0;
}

.dr-timeline__more {
	color: var(--dr-muted, #6b6b6b);
	margin-left: 0.25rem;
}

.dr-timeline__events {
	display: inline-block;
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--dr-secondary, #7c5cbf);
	margin-top: 0.25rem;
}

.dr-timeline__past-label {
	font-size: 0.8rem;
	color: var(--dr-primary, #2a7d5f);
	margin-top: 0.25rem;
}

/* ── Spotlight Grid ───────────────────────────────── */

.dr-season-hub__spotlights {
	max-width: 900px;
	margin: 0 auto;
	padding: 3rem 2rem;
}

.dr-spotlight-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.25rem;
}

.dr-spotlight-grid > :only-child {
	grid-column: 1 / -1;
	max-width: 420px;
	margin: 0 auto;
}

.dr-spotlight-hub-card {
	display: flex;
	flex-direction: column;
	background: var(--dr-surface, #f5f3ef);
	border: 1px solid var(--dr-border, rgba(0, 0, 0, 0.08));
	border-radius: var(--dr-radius, 12px);
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	transition: border-color 0.3s, box-shadow 0.3s;
}

.dr-spotlight-hub-card:hover {
	border-color: var(--dr-primary, #2a7d5f);
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.dr-spotlight-hub-card__image {
	position: relative;
}

.dr-spotlight-hub-card__image img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	display: block;
}

.dr-spotlight-hub-card__price {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	background: var(--dr-primary, #2a7d5f);
	color: #fff;
	font-size: 0.8rem;
	font-weight: 700;
	padding: 0.25em 0.6em;
	border-radius: 4px;
}

.dr-spotlight-hub-card__content {
	display: flex;
	gap: 1rem;
	padding: 1rem 1.25rem;
	align-items: flex-start;
}

.dr-spotlight-hub-card__date-block {
	text-align: center;
	min-width: 42px;
	flex-shrink: 0;
	background: var(--dr-surface-elevated, #eae7e1);
	padding: 0.4rem 0.5rem;
	border-radius: 6px;
}

.dr-spotlight-hub-card__month-abbr {
	display: block;
	font-size: 0.65rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--dr-primary, #2a7d5f);
	line-height: 1;
}

.dr-spotlight-hub-card__day {
	display: block;
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--dr-text, #1a1a1a);
	line-height: 1.2;
}

.dr-spotlight-hub-card__info {
	flex: 1;
	min-width: 0;
}

.dr-spotlight-hub-card__title {
	font-size: 1rem;
	color: var(--dr-text, #1a1a1a);
	margin: 0 0 0.25rem;
	line-height: 1.3;
}

.dr-spotlight-hub-card__artists {
	font-size: 0.85rem;
	color: var(--dr-muted, #6b6b6b);
	margin: 0 0 0.25rem;
}

.dr-spotlight-hub-card__meta {
	font-size: 0.8rem;
	color: var(--dr-muted, #6b6b6b);
	margin: 0;
}

.dr-spotlight-hub-card__cta {
	display: block;
	text-align: center;
	padding: 0.75rem;
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--dr-primary, #2a7d5f);
	border-top: 1px solid var(--dr-border, rgba(0, 0, 0, 0.08));
}

/* ── Past Spotlights ──────────────────────────────── */

.dr-season-hub__past-spotlights {
	max-width: 900px;
	margin: 0 auto;
	padding: 2rem;
}

.dr-past-list {
	display: flex;
	flex-direction: column;
}

.dr-past-list__item {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 0.75rem 0;
	border-bottom: 1px solid var(--dr-border, rgba(0, 0, 0, 0.08));
	text-decoration: none;
	color: inherit;
	opacity: 0.65;
	transition: opacity 0.2s;
}

.dr-past-list__item:hover {
	opacity: 1;
}

.dr-past-list__date {
	font-size: 0.8rem;
	color: var(--dr-muted, #6b6b6b);
	min-width: 55px;
	flex-shrink: 0;
}

.dr-past-list__title {
	font-size: 0.95rem;
	color: var(--dr-text, #1a1a1a);
	font-weight: 500;
}

.dr-past-list__artists {
	font-size: 0.85rem;
	color: var(--dr-muted, #6b6b6b);
	margin-left: auto;
	flex-shrink: 0;
}

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

@media (max-width: 768px) {
	.dr-season-hub__hero {
		min-height: 40vh;
	}

	.dr-season-hub__stats {
		gap: 1rem;
		padding: 1.5rem 1rem;
	}

	.dr-stat__number {
		font-size: 1.75rem;
	}

	.dr-season-hub__next-up,
	.dr-season-hub__timeline,
	.dr-season-hub__spotlights,
	.dr-season-hub__past-spotlights {
		padding-left: 1.25rem;
		padding-right: 1.25rem;
	}

	.dr-next-up-card {
		grid-template-columns: 1fr;
	}

	.dr-next-up-card__image {
		min-height: 200px;
	}

	.dr-next-up-card__image-overlay {
		background: linear-gradient(to bottom, transparent 50%, var(--dr-surface, #f5f3ef) 100%);
	}

	.dr-spotlight-grid {
		grid-template-columns: 1fr;
	}

	.dr-past-list__artists {
		display: none;
	}

	.dr-timeline__card {
		flex-direction: column;
	}

	.dr-timeline__card-image {
		width: 100%;
		min-height: 180px;
	}

	.dr-timeline__card-content {
		padding: 1rem 1.25rem;
	}

	.dr-season-recap__grid {
		grid-template-columns: 1fr !important;
	}
}

/* ── Season Recap ─────────────────────────────────── */

.dr-season-recap {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1rem 40px;
}

.dr-season-recap__heading {
	font-size: 1.5rem;
	color: var(--dr-text, #1a1a1a);
	margin: 2.5rem 0 1.25rem;
}

.dr-season-recap__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.5rem;
}

.dr-season-recap__grid--spotlights {
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.dr-recap-card {
	display: flex;
	flex-direction: column;
	background: var(--dr-surface, #f5f3ef);
	border: 1px solid var(--dr-border, rgba(0,0,0,0.08));
	border-radius: var(--dr-radius, 12px);
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dr-recap-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.dr-recap-card__image {
	aspect-ratio: 16 / 9;
	overflow: hidden;
}

.dr-recap-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.dr-recap-card__content {
	padding: 1.25rem;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.dr-recap-card__date {
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--dr-muted, #6b6b6b);
	margin-bottom: 0.35rem;
}

.dr-recap-card__title {
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--dr-text, #1a1a1a);
	margin: 0 0 0.4rem;
	line-height: 1.3;
}

.dr-recap-card__artists {
	font-size: 0.9rem;
	color: var(--dr-primary, #26c088);
	margin: 0 0 0.4rem;
}

.dr-recap-card__desc {
	font-size: 0.85rem;
	color: var(--dr-muted, #6b6b6b);
	margin: 0 0 0.75rem;
	line-height: 1.5;
}

.dr-recap-card__footer {
	display: flex;
	gap: 0.5rem;
	margin-bottom: 0.75rem;
}

.dr-recap-card__badge {
	font-size: 0.7rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--dr-secondary, #7c5cbf);
	background: color-mix(in srgb, var(--dr-secondary, #7c5cbf) 10%, transparent);
	padding: 0.15rem 0.5rem;
	border-radius: 4px;
}

.dr-recap-card__cta {
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--dr-primary, #26c088);
	margin-top: auto;
}

/* ── Season Events Grid ──────────────────────────── */

.dr-season-hub__events {
	max-width: 900px;
	margin: 0 auto;
	padding: 3rem 2rem;
	text-align: center;
}

.dr-events-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.25rem;
}

.dr-events-grid > :only-child {
	grid-column: 1 / -1;
	max-width: 420px;
	margin: 0 auto;
}

.dr-event-hub-card {
	display: flex;
	flex-direction: column;
	text-align: left;
	background: var(--dr-surface, #f5f3ef);
	border: 1px solid var(--dr-border, rgba(0, 0, 0, 0.08));
	border-radius: var(--dr-radius, 12px);
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	transition: border-color 0.3s, box-shadow 0.3s;
}

.dr-event-hub-card:hover {
	border-color: var(--dr-primary, #2a7d5f);
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.dr-event-hub-card__image {
	position: relative;
}

.dr-event-hub-card__image img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	display: block;
}

.dr-event-hub-card__type {
	position: absolute;
	top: 0.75rem;
	left: 0.75rem;
	font-size: 0.7rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--dr-secondary, #7c5cbf);
	background: color-mix(in srgb, var(--dr-secondary, #7c5cbf) 15%, #fff);
	padding: 0.2em 0.6em;
	border-radius: 4px;
}

.dr-event-hub-card__price {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	background: var(--dr-primary, #2a7d5f);
	color: #fff;
	font-size: 0.8rem;
	font-weight: 700;
	padding: 0.25em 0.6em;
	border-radius: 4px;
}

.dr-event-hub-card__content {
	display: flex;
	gap: 1rem;
	padding: 1rem 1.25rem;
	align-items: flex-start;
}

.dr-event-hub-card__date-block {
	text-align: center;
	min-width: 42px;
	flex-shrink: 0;
	background: var(--dr-surface-elevated, #eae7e1);
	padding: 0.4rem 0.5rem;
	border-radius: 6px;
}

.dr-event-hub-card__month-abbr {
	display: block;
	font-size: 0.65rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--dr-primary, #2a7d5f);
	line-height: 1;
}

.dr-event-hub-card__day {
	display: block;
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--dr-text, #1a1a1a);
	line-height: 1.2;
}

.dr-event-hub-card__info {
	flex: 1;
	min-width: 0;
}

.dr-event-hub-card__title {
	font-size: 1rem;
	color: var(--dr-text, #1a1a1a);
	margin: 0 0 0.25rem;
	line-height: 1.3;
}

.dr-event-hub-card__time {
	font-size: 0.8rem;
	color: var(--dr-muted, #6b6b6b);
}

.dr-event-hub-card__desc {
	font-size: 0.85rem;
	color: var(--dr-muted, #6b6b6b);
	margin: 0.35rem 0 0;
	line-height: 1.4;
}

.dr-event-hub-card__cta {
	display: block;
	text-align: center;
	padding: 0.75rem;
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--dr-primary, #2a7d5f);
	border-top: 1px solid var(--dr-border, rgba(0, 0, 0, 0.08));
}

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

	.dr-season-hub__events {
		padding-left: 1.25rem;
		padding-right: 1.25rem;
	}
}

/* Spotlight cards are smaller */
.dr-recap-card--spotlight .dr-recap-card__title {
	font-size: 1.05rem;
}

@media (max-width: 640px) {
	.dr-season-recap__grid,
	.dr-season-recap__grid--spotlights {
		grid-template-columns: 1fr;
	}
}
