/* ==========================================================================
   TOUR PAGE — Archive grid & FAQ styles
   ========================================================================== */

/* ─── Archive container ───────────────────────────────────────────────────── */

.tour-archive {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ─── Year headings ───────────────────────────────────────────────────────── */

.tour-archive__year-heading {
	font-family: var(--wp--preset--font-family--heading, sans-serif);
	font-size: var(--wp--preset--font-size--xs, 0.75rem);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--wp--preset--color--brand-accent, #E8C547);
	margin: 0;
	padding: var(--wp--preset--spacing--md, 1.5rem) 0 var(--wp--preset--spacing--xs, 0.5rem);
}

/* ─── Event rows ──────────────────────────────────────────────────────────── */

.tour-archive__item {
	display: grid;
	grid-template-columns: 56px 1fr 24px;
	align-items: center;
	gap: var(--wp--preset--spacing--sm, 1rem);
	padding: var(--wp--preset--spacing--xs, 0.5rem) 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
	text-decoration: none;
	color: var(--wp--preset--color--white, #fff);
	transition: background 0.15s;
}

.tour-archive__item:hover {
	background: rgba(255, 255, 255, 0.03);
}

.tour-archive__item--past {
	opacity: 0.4;
}

.tour-archive__item--past:hover {
	opacity: 0.7;
}

/* ─── Date badge ──────────────────────────────────────────────────────────── */

.tour-archive__date-badge {
	display: flex;
	flex-direction: column;
	align-items: center;
	line-height: 1;
}

.tour-archive__month {
	font-family: var(--wp--preset--font-family--heading, sans-serif);
	font-size: 0.625rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: rgba(255, 255, 255, 0.45);
}

.tour-archive__day {
	font-family: var(--wp--preset--font-family--heading, sans-serif);
	font-size: var(--wp--preset--font-size--lg, 1.5rem);
	font-weight: 700;
	line-height: 1;
}

/* ─── Event info ──────────────────────────────────────────────────────────── */

.tour-archive__info {
	display: flex;
	flex-direction: column;
	gap: 0.125rem;
	min-width: 0;
}

.tour-archive__venue {
	font-family: var(--wp--preset--font-family--heading, sans-serif);
	font-size: var(--wp--preset--font-size--sm, 0.875rem);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.tour-archive__location {
	font-size: var(--wp--preset--font-size--xs, 0.75rem);
	color: rgba(255, 255, 255, 0.4);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* ─── Arrow ───────────────────────────────────────────────────────────────── */

.tour-archive__arrow {
	font-size: var(--wp--preset--font-size--sm, 0.875rem);
	color: rgba(255, 255, 255, 0.2);
	transition: color 0.15s;
}

.tour-archive__item:hover .tour-archive__arrow {
	color: var(--wp--preset--color--brand-accent, #E8C547);
}

/* ─── Pagination ──────────────────────────────────────────────────────────── */

.tour-archive__pagination {
	display: flex;
	justify-content: center;
	gap: 0.5rem;
	padding: var(--wp--preset--spacing--md, 1.5rem) 0;
	margin-top: var(--wp--preset--spacing--sm, 1rem);
}

.tour-archive__pagination a,
.tour-archive__pagination span {
	font-family: var(--wp--preset--font-family--heading, sans-serif);
	font-size: var(--wp--preset--font-size--xs, 0.75rem);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	text-decoration: none;
	padding: 0.4rem 0.8rem;
	color: rgba(255, 255, 255, 0.5);
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.tour-archive__pagination a:hover {
	color: var(--wp--preset--color--white, #fff);
	border-color: var(--wp--preset--color--brand-accent, #E8C547);
}

.tour-archive__pagination span.current {
	color: var(--wp--preset--color--black, #000);
	background: var(--wp--preset--color--white, #fff);
	border-color: var(--wp--preset--color--white, #fff);
}

/* ─── Tour FAQ ────────────────────────────────────────────────────────────── */

.tour-faq {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.tour-faq details {
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tour-faq summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: var(--wp--preset--spacing--sm, 1rem) 0;
	font-family: var(--wp--preset--font-family--heading, sans-serif);
	font-size: var(--wp--preset--font-size--sm, 0.875rem);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	cursor: pointer;
	list-style: none;
	color: var(--wp--preset--color--white, #fff);
}

.tour-faq summary::-webkit-details-marker {
	display: none;
}

.tour-faq summary::after {
	content: '+';
	font-size: 1.25rem;
	color: rgba(255, 255, 255, 0.4);
}

.tour-faq details[open] summary::after {
	content: '−';
}

.tour-faq details p {
	padding: 0 0 var(--wp--preset--spacing--sm, 1rem);
	font-size: var(--wp--preset--font-size--sm, 0.875rem);
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.6);
	margin: 0;
}

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

@media (max-width: 600px) {
	.tour-archive__item {
		grid-template-columns: 48px 1fr 20px;
	}
}
