/* ════════════════════════════════════════════════════════════════════════════
   STADIONHEFT-ARCHIV PAGE
   Page-specific styles for /stadionheft.
   ════════════════════════════════════════════════════════════════════════════ */

/* ── Page header (reuses .page-header from news.css) ── */
.page-header__eyebrow {
	color: var(--gold);
}

/* ── Filter bar + pills (scoped copy from news.css — not loaded on this page) ── */
.filter-bar {
	display: flex;
	align-items: center;
	gap: 6px;
	overflow-x: auto;
	scrollbar-width: none;
	padding: 3px 2px;
	flex-wrap: nowrap;
}

.filter-bar::-webkit-scrollbar {
	display: none;
}

.filter-bar__prefix {
	font-size: 0.6rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ink-dim);
	white-space: nowrap;
	flex-shrink: 0;
	padding-right: 2px;
}

.filter-divider {
	width: 1px;
	height: 18px;
	background: var(--border);
	flex-shrink: 0;
	margin: 0 4px;
}

.filter-pill {
	flex-shrink: 0;
	font-size: 0.72rem;
	font-weight: 600;
	padding: 7px 16px;
	border-radius: 99px;
	border: 1.5px solid var(--border);
	color: var(--ink-dim);
	background: transparent;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	line-height: 1;
	transition:
		color 0.15s,
		background 0.15s,
		border-color 0.15s;
	white-space: nowrap;
}

.filter-pill:hover {
	color: var(--ink);
	border-color: var(--ink-soft);
}

.filter-pill.is-active {
	color: var(--text-white);
	background: var(--navy);
	border-color: var(--navy);
}

.filter-bar--season .filter-pill {
	font-size: 0.69rem;
	padding: 5px 12px;
}

.filter-bar--season .filter-pill.is-active {
	background: var(--ink-soft);
	border-color: var(--ink-soft);
}

html[data-theme='dark'] .filter-bar--season .filter-pill.is-active {
	background-color: unset;
}

/* ── Season group — card shell ── */
.sh-season-group {
	overflow: hidden;
	padding: 0;
	gap: 0;
}

/* Collapsible header button */
.sh-season-group__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 12px 20px;
	background: transparent;
	border: none;
	border-bottom: 1px solid var(--border);
	text-align: left;
	cursor: pointer;
	transition: background 0.15s;
}

.sh-season-group__header:hover {
	background: rgba(21, 21, 21, 0.025);
}

.sh-season-group__header-main {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.sh-season-group__label {
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ink);
}

.sh-season-group__count {
	font-size: 0.68rem;
	font-weight: 500;
	color: var(--ink-dim);
}

.sh-season-group__chevron {
	width: 14px;
	height: 14px;
	color: var(--ink-dim);
	transition:
		transform 0.18s cubic-bezier(0.4, 0, 0.2, 1),
		color 0.15s;
	flex-shrink: 0;
}

.sh-season-group__header:hover .sh-season-group__chevron {
	color: var(--ink);
}

.sh-season-group.is-collapsed .sh-season-group__chevron {
	transform: rotate(180deg);
}

/* Collapsible body */
.sh-season-body {
	display: flex;
	flex-direction: column;
	gap: 0;
	padding: 0;
}

.sh-season-body[hidden] {
	display: none;
}

/* When collapsed: remove header border-bottom */
.sh-season-group.is-collapsed .sh-season-group__header {
	border-bottom-color: transparent;
}

/* Override .card { display:flex } so the hidden attribute hides the group */
.sh-season-group[hidden] {
	display: none;
}

/* ── Issue list (news-hub row style) ── */
.sh-list {
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

/* ── Single row ── */
.sh-row {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	padding: 16px 20px;
	border-bottom: 1px solid var(--border);
	color: inherit;
	text-decoration: none;
	transition: background 0.15s;
}

.sh-list > .sh-row:last-child {
	border-bottom: none;
}

.sh-row:hover {
	background: rgba(21, 21, 21, 0.02);
}

/* Thumbnail — portrait A4 proportions */
.sh-row__thumb {
	flex-shrink: 0;
	width: 52px;
	aspect-ratio: 210 / 297;
	border-radius: 5px;
	overflow: hidden;
	position: relative;
	background: var(--ink-faint);
}

.sh-row__thumb-bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center top;
	transition: transform 0.4s ease;
}

.sh-row:hover .sh-row__thumb-bg {
	transform: scale(1.05);
}

.sh-row__thumb-placeholder {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--ink-dim);
}

/* Body */
.sh-row__body {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.sh-row__meta {
	display: flex;
	align-items: center;
	gap: 8px;
}

.sh-row__tag {
	font-size: 0.58rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--navy);
}

.sh-row__date {
	font-size: 0.62rem;
	font-weight: 500;
	color: var(--ink-dim);
}

.sh-row__title {
	font-size: 0.9rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	line-height: 1.35;
	color: var(--ink);
}

/* Info row — file size + future metadata */
.sh-row__info {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 2px;
}

.sh-row__info-item {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 0.62rem;
	font-weight: 500;
	color: var(--ink-dim);
}

.sh-row__info-item svg {
	flex-shrink: 0;
	stroke: currentColor;
}

/* CTA row — always visible */
.sh-row__cta {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 2px;
}

.sh-row__link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 0.68rem;
	font-weight: 700;
	color: var(--ink-dim);
	transition:
		color 0.15s,
		gap 0.15s;
}

.sh-row:hover .sh-row__link {
	color: var(--navy);
	gap: 7px;
}

.sh-row__link svg {
	width: 11px;
	height: 11px;
	stroke: currentColor;
	fill: none;
	stroke-width: 2.5;
	stroke-linecap: round;
	stroke-linejoin: round;
	flex-shrink: 0;
}

/* ── Info blocks (inside sh-season-body, after list) ── */
.sh-info-block {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 18px 20px;
	border-top: 1px solid var(--border);
}

.sh-info-block--hiatus {
	background: rgba(240, 180, 41, 0.06);
}

.sh-info-block--discontinued {
	background: transparent;
}

.sh-info-block__icon {
	flex-shrink: 0;
	margin-top: 1px;
}

.sh-info-block--hiatus .sh-info-block__icon {
	color: var(--gold);
}

.sh-info-block--discontinued .sh-info-block__icon {
	color: var(--ink-dim);
}

.sh-info-block__body {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.sh-info-block__title {
	font-size: 0.82rem;
	font-weight: 700;
	color: var(--ink);
}

.sh-info-block__text {
	font-size: 0.8rem;
	color: var(--ink-dim);
	line-height: 1.6;
}

/* ── Empty state ── */
.sh-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 56px 28px;
	text-align: center;
	color: var(--ink-dim);
	font-size: 0.84rem;
}

html[data-theme='dark'] .sh-row:hover .sh-row__link,
html[data-theme='dark'] .sh-row__tag {
	color: var(--ink);
}
