/* ==========================================================================
   SpielWechsel — Alt CPT styles
   Mirrors src/routes/alternative-zu-500-casino.tsx from the Lovable design.
   Depends on global.css (tokens + .sw-info-prose) and casino-grid.css.
   ========================================================================== */

.sw-alt main { display: block; }

/* ---------------- Compact Hero ---------------- */
.sw-alt__hero {
	background: #fff;
	border-bottom: 1px solid var(--sw-hairline);
}
.sw-alt__hero-inner {
	max-width: 64rem;
	margin: 0 auto;
	padding: 2.5rem 1.25rem 1.5rem;
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	align-items: center;
}
@media (min-width: 640px) {
	.sw-alt__hero-inner {
		grid-template-columns: 1fr auto;
		padding: 3rem 2rem 2rem;
	}
}
.sw-alt__hero-title {
	font-size: 1.5rem;
	line-height: 1.1;
	letter-spacing: -0.01em;
	font-weight: 800;
}
@media (min-width: 640px) { .sw-alt__hero-title { font-size: 1.875rem; } }
@media (min-width: 1024px) { .sw-alt__hero-title { font-size: 2.25rem; } }
.sw-alt__hero-accent { color: var(--sw-primary); }
.sw-alt__hero-sub {
	margin-top: 0.75rem;
	font-size: 1rem;
	color: rgba(0,0,0,0.7);
	line-height: 1.6;
	max-width: 42rem;
}
.sw-alt__hero-sub p { margin: 0 0 0.75rem 0; }
.sw-alt__hero-sub p:last-child { margin-bottom: 0; }
.sw-alt__hero-brand {
	display: flex;
	align-items: center;
	justify-content: center;
}
.sw-alt__hero-brand img {
	width: 10rem;
	height: 10rem;
	object-fit: contain;
	flex-shrink: 0;
}

/* ---------------- Intro ---------------- */
.sw-alt__intro { background: #fff; }
.sw-alt__intro-inner {
	max-width: 64rem;
	margin: 0 auto;
	padding: 1.5rem 1.25rem 2rem;
}
@media (min-width: 1024px) {
	.sw-alt__intro-inner { padding: 2rem 2rem 2.5rem; }
}

/* ---------------- Casino grid section ---------------- */
.sw-alt__grid-section {
	background: color-mix(in oklab, var(--sw-secondary) 60%, transparent);
}
.sw-alt__grid-inner {
	max-width: 80rem;
	margin: 0 auto;
	padding: 2.5rem 1.25rem;
}
@media (min-width: 1024px) {
	.sw-alt__grid-inner { padding: 3.5rem 2rem; }
}
.sw-alt__grid-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.5rem;
}
.sw-alt__grid-title {
	font-size: 1.5rem;
	font-weight: 800;
	letter-spacing: -0.01em;
}
@media (min-width: 1024px) { .sw-alt__grid-title { font-size: 1.875rem; } }

/* ---------------- Content section ---------------- */
.sw-alt__content {
	background: #fff;
	border-top: 1px solid var(--sw-hairline);
	border-bottom: 1px solid var(--sw-hairline);
}
.sw-alt__content-inner {
	max-width: 64rem;
	margin: 0 auto;
	padding: 3rem 1.25rem;
}
@media (min-width: 1024px) {
	.sw-alt__content-inner { padding: 4rem 2rem; }
}

/* Pros/cons cards — the user can paste this markup into the Content editor:
   <div class="sw-alt__procons">
     <div class="sw-alt__pro"> ... </div>
     <div class="sw-alt__con"> ... </div>
   </div>
*/
.sw-alt__procons {
	margin: 1.5rem 0;
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
}
@media (min-width: 768px) {
	.sw-alt__procons { grid-template-columns: 1fr 1fr; }
}
.sw-alt__pro,
.sw-alt__con {
	border: 1px solid var(--sw-hairline);
	padding: 1.25rem;
	border-radius: 8px;
}
.sw-alt__pro {
	background: color-mix(in oklab, var(--sw-secondary) 30%, transparent);
}
.sw-alt__con {
	background: var(--sw-navy-deep);
	color: #fff;
}
.sw-alt__pro .sw-alt__procons-label,
.sw-alt__con .sw-alt__procons-label {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-weight: 700;
	margin-bottom: 0.5rem;
}
.sw-alt__pro .sw-alt__procons-label { color: var(--sw-primary); }
.sw-alt__con .sw-alt__procons-label { color: var(--sw-primary); }
.sw-alt__pro ul, .sw-alt__con ul {
	list-style: none; margin: 0; padding: 0;
}
.sw-alt__pro li, .sw-alt__con li {
	display: flex; gap: 0.5rem;
	font-size: 0.875rem;
	line-height: 1.6;
	padding: 0;
}
.sw-alt__pro li::before,
.sw-alt__con li::before { content: ''; }
.sw-alt__pro li + li, .sw-alt__con li + li { margin-top: 0.5rem; }
.sw-alt__pro li .sw-alt__bullet { color: var(--sw-primary); font-weight: 800; }
.sw-alt__con li .sw-alt__bullet { color: var(--sw-primary); font-weight: 800; }
.sw-alt__pro li { color: rgba(0,0,0,0.85); }
.sw-alt__con li { color: rgba(255,255,255,0.85); }

/* Comparison table — same hook: the editor accepts <table class="sw-alt__cmp"> */
.sw-alt__cmp-wrap {
	margin: 1.5rem 0;
	overflow-x: auto;
	border: 1px solid var(--sw-hairline);
	border-radius: 8px;
}
.sw-alt__cmp {
	width: 100%;
	min-width: 640px;
	border-collapse: collapse;
	font-size: 0.875rem;
}
.sw-alt__cmp thead {
	background: var(--sw-navy-deep);
	color: #fff;
}
.sw-alt__cmp th {
	text-align: left;
	padding: 0.75rem 1rem;
	text-transform: uppercase;
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	font-weight: 700;
	font-family: var(--sw-font-display);
}
.sw-alt__cmp td { padding: 0.75rem 1rem; }
.sw-alt__cmp tbody tr:nth-child(even) {
	background: color-mix(in oklab, var(--sw-secondary) 40%, transparent);
}

/* ---------------- FAQ ---------------- */
.sw-alt__faq {
	background: color-mix(in oklab, var(--sw-secondary) 60%, transparent);
}
.sw-alt__faq-inner {
	max-width: 64rem;
	margin: 0 auto;
	padding: 3rem 1.25rem;
}
@media (min-width: 1024px) {
	.sw-alt__faq-inner { padding: 4rem 2rem; }
}
/* If the user uses <details> markup we style it; if they paste their own
   FAQ HTML we leave it to .sw-info-prose. */
.sw-alt__faq details {
	background: #fff;
	border: 1px solid var(--sw-hairline);
	border-radius: 8px;
	padding: 1rem 1.25rem;
	margin-bottom: 0.75rem;
}
.sw-alt__faq details + details { margin-top: 0; }
.sw-alt__faq summary {
	font-family: var(--sw-font-display);
	font-weight: 700;
	font-size: 1rem;
	cursor: pointer;
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
}
.sw-alt__faq summary::after {
	content: '+';
	color: var(--sw-primary);
	font-family: var(--sw-font-display);
	font-weight: 700;
	font-size: 1.5rem;
	line-height: 1;
}
.sw-alt__faq details[open] summary::after { content: '−'; }
.sw-alt__faq details[open] {
	padding-bottom: 1.25rem;
}
.sw-alt__faq details[open] > *:not(summary) {
	margin-top: 0.75rem;
	color: rgba(0,0,0,0.8);
	line-height: 1.7;
	font-size: 0.95rem;
}

/* ---------------- Author box ---------------- */
.sw-alt__author {
	background: #fff;
	border-top: 1px solid var(--sw-hairline);
	border-bottom: 1px solid var(--sw-hairline);
}
.sw-alt__author-inner {
	max-width: 64rem;
	margin: 0 auto;
	padding: 2.5rem 1.25rem;
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.25rem;
	align-items: start;
}
@media (min-width: 640px) {
	.sw-alt__author-inner {
		grid-template-columns: auto 1fr;
		padding: 3rem 2rem;
		gap: 1.25rem;
	}
}
.sw-alt__author-photo {
	width: 5rem;
	height: 5rem;
	object-fit: cover;
	border-radius: 8px;
}
.sw-alt__author-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	flex-wrap: wrap;
}
.sw-alt__author-eyebrow {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--sw-muted-foreground);
	font-weight: 600;
}
.sw-alt__author-brand {
	display: inline-flex;
	align-items: baseline;
	gap: 2px;
	font-family: var(--sw-font-display);
}
.sw-alt__author-brand-spiel,
.sw-alt__author-brand-wechsel {
	font-size: 1rem;
	text-transform: uppercase;
	letter-spacing: -0.005em;
	font-weight: 800;
}
.sw-alt__author-brand-wechsel { color: var(--sw-primary); }
.sw-alt__author-brand-tld { font-size: 10px; color: var(--sw-muted-foreground); }
.sw-alt__author-name {
	margin-top: 4px;
	font-family: var(--sw-font-display);
	font-weight: 800;
	font-size: 1.125rem;
	letter-spacing: -0.01em;
}
.sw-alt__author-bio {
	margin-top: 0.5rem;
	font-size: 0.875rem;
	color: rgba(0,0,0,0.75);
	line-height: 1.6;
}
.sw-alt__author-actions {
	margin-top: 0.875rem;
	display: flex;
	align-items: center;
	gap: 0.75rem;
	flex-wrap: wrap;
}
.sw-alt__author-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: var(--sw-navy-deep);
	color: #fff;
	font-family: var(--sw-font-display);
	font-weight: 700;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	padding: 0.4rem 0.75rem;
	border-radius: 4px;
}
.sw-alt__author-btn:hover { background: var(--sw-navy); }
.sw-alt__author-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.75rem;
	font-weight: 600;
	color: rgba(0,0,0,0.8);
	border: 1px solid var(--sw-hairline);
	padding: 0.4rem 0.75rem;
	border-radius: 4px;
}
.sw-alt__author-link:hover { color: var(--sw-foreground); }
.sw-alt__author-updated {
	font-size: 0.75rem;
	color: var(--sw-muted-foreground);
}

/* ---------------- Discover More ---------------- */
.sw-alt__discover {
	background: color-mix(in oklab, var(--sw-secondary) 60%, transparent);
}
.sw-alt__discover-inner {
	max-width: 80rem;
	margin: 0 auto;
	padding: 3rem 1.25rem;
}
@media (min-width: 1024px) {
	.sw-alt__discover-inner { padding: 4rem 2rem; }
}
.sw-alt__discover-head {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	margin-bottom: 1.5rem;
}
.sw-alt__discover-title {
	font-size: 1.5rem;
	font-weight: 800;
	letter-spacing: -0.01em;
}
@media (min-width: 1024px) { .sw-alt__discover-title { font-size: 1.875rem; } }

/* When the editor pastes a list of <a> tags wrapped in a div, this grid hook
   gives it card styling. The user can opt in by wrapping content in
   <div class="sw-alt__discover-grid"> ... </div>. */
.sw-alt__discover-body .sw-alt__discover-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.75rem;
}
@media (min-width: 640px) {
	.sw-alt__discover-body .sw-alt__discover-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
	.sw-alt__discover-body .sw-alt__discover-grid { grid-template-columns: 1fr 1fr 1fr; }
}
.sw-alt__discover-body .sw-alt__discover-card {
	display: block;
	background: #fff;
	border: 1px solid var(--sw-hairline);
	padding: 1.25rem;
	border-radius: 8px;
	transition: border-color 0.15s ease;
	color: inherit;
	text-decoration: none;
}
.sw-alt__discover-body .sw-alt__discover-card:hover {
	border-color: var(--sw-primary);
}
.sw-alt__discover-body .sw-alt__discover-card-title {
	font-family: var(--sw-font-display);
	font-weight: 800;
	font-size: 1rem;
	letter-spacing: -0.01em;
}
.sw-alt__discover-body .sw-alt__discover-card-sub {
	margin-top: 2px;
	font-size: 0.875rem;
	color: var(--sw-muted-foreground);
}
.sw-alt__discover-body .sw-alt__discover-card-cta {
	margin-top: 0.75rem;
	font-family: var(--sw-font-display);
	font-weight: 700;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--sw-primary);
	display: inline-block;
}

.sw-alt__discover-foot {
	margin-top: 1.5rem;
	text-align: center;
}
.sw-alt__discover-back {
	font-size: 0.875rem;
	color: rgba(0,0,0,0.7);
	text-decoration: underline;
	text-underline-offset: 4px;
}
.sw-alt__discover-back:hover { color: var(--sw-foreground); }

/* ==========================================================================
   Archive — /alt/
   ========================================================================== */

.sw-alt-archive__hero {
	background: var(--sw-navy-deep);
	color: #fff;
}
.sw-alt-archive__hero-inner {
	max-width: 64rem;
	margin: 0 auto;
	padding: 3rem 1.25rem;
}
@media (min-width: 1024px) {
	.sw-alt-archive__hero-inner { padding: 5rem 2rem; }
}
.sw-alt-archive__title {
	margin-top: 0.75rem;
	font-size: clamp(2rem, 5vw, 3.25rem);
	letter-spacing: -0.01em;
	line-height: 1.05;
	font-weight: 800;
	color: #fff;
}
.sw-alt-archive__lead {
	margin-top: 1.25rem;
	color: rgba(255,255,255,0.8);
	line-height: 1.6;
	max-width: 42rem;
}
.sw-alt-archive__rule {
	margin-top: 1.5rem;
	width: 4rem;
	height: 3px;
	background: var(--sw-primary);
}

.sw-alt-archive__body {
	background: #fff;
}
.sw-alt-archive__body-inner {
	max-width: 80rem;
	margin: 0 auto;
	padding: 3rem 1.25rem;
}
@media (min-width: 1024px) {
	.sw-alt-archive__body-inner { padding: 4rem 2rem; }
}
.sw-alt-archive__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
}
@media (min-width: 640px) { .sw-alt-archive__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .sw-alt-archive__grid { grid-template-columns: repeat(3, 1fr); } }
.sw-alt-archive__card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--sw-hairline);
	border-radius: 8px;
	overflow: hidden;
	transition: border-color 0.15s ease, transform 0.15s ease;
	color: inherit;
	text-decoration: none;
}
.sw-alt-archive__card:hover {
	border-color: var(--sw-primary);
	transform: translateY(-2px);
}
.sw-alt-archive__card-thumb {
	aspect-ratio: 16 / 9;
	background-color: var(--sw-secondary);
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	background-origin: content-box;
	padding: 1rem;
}
.sw-alt-archive__card-body {
	padding: 1.25rem;
}
.sw-alt-archive__card-title {
	font-family: var(--sw-font-display);
	font-weight: 800;
	font-size: 1.125rem;
	letter-spacing: -0.01em;
}
.sw-alt-archive__card-sub {
	margin-top: 0.5rem;
	font-size: 0.875rem;
	color: var(--sw-muted-foreground);
	line-height: 1.5;
}
.sw-alt-archive__card-cta {
	margin-top: 0.875rem;
	display: inline-block;
	font-family: var(--sw-font-display);
	font-weight: 700;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--sw-primary);
}
.sw-alt-archive__pagination {
	margin-top: 2rem;
}
.sw-alt-archive__pagination .nav-links {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
	justify-content: center;
}
.sw-alt-archive__pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.25rem;
	height: 2.25rem;
	padding: 0 0.625rem;
	border: 1px solid var(--sw-hairline);
	border-radius: 4px;
	font-family: var(--sw-font-display);
	font-size: 0.875rem;
	font-weight: 700;
}
.sw-alt-archive__pagination .page-numbers.current {
	background: var(--sw-primary);
	color: var(--sw-primary-foreground);
	border-color: var(--sw-primary);
}
.sw-alt-archive__empty {
	color: var(--sw-muted-foreground);
}
