/**
 * Single digital_games page layout.
 */

.llw-single-game {
	--sg-container: 1200px;
	--sg-gutter: clamp(1rem, 4vw, 1.75rem);
	--sg-page-bg: #f3f4f6;
	--sg-surface: #ffffff;
	--sg-text: #1f2937;
	--sg-text-soft: #4b5563;
	--sg-brand: #1a5b36;
	--sg-brand-dark: #0f3d24;
}

/* Container — home.css only styles .llw-home .home-container, so define here */
.llw-single-game .home-container {
	max-width: var(--sg-container);
	margin: 0 auto;
	padding-left: var(--sg-gutter);
	padding-right: var(--sg-gutter);
}

.llw-single-game__hero {
	background: linear-gradient(135deg, #1a5b36 0%, #0f3d24 100%);
	color: #fff;
	padding: 32px 0 40px;
}

.llw-single-game__hero-inner {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.llw-single-game__breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.88);
}

.llw-single-game__breadcrumb a {
	color: #fff;
	text-decoration: none;
}

.llw-single-game__breadcrumb a:hover {
	text-decoration: underline;
	opacity: 0.9;
}

.llw-single-game__hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(200px, 320px);
	gap: 28px;
	align-items: center;
}

.llw-single-game__eyebrow {
	margin: 0 0 8px;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.85);
}

.llw-single-game__title {
	margin: 0 0 12px;
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	line-height: 1.15;
	color: #fff;
}

.llw-single-game__lead {
	margin: 0 0 16px;
	font-size: 1.05rem;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.92);
	max-width: 52ch;
}

.llw-single-game__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.llw-single-game__chip {
	display: inline-flex;
	flex-direction: column;
	gap: 2px;
	padding: 10px 14px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.14);
	border: 1px solid rgba(255, 255, 255, 0.22);
	font-size: 0.8rem;
	color: rgba(255, 255, 255, 0.9);
}

.llw-single-game__chip span {
	color: rgba(255, 255, 255, 0.78);
}

.llw-single-game__chip strong {
	font-size: 0.95rem;
	font-weight: 700;
	color: #fff;
}

.llw-single-game__hero-media {
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
	background: rgba(0, 0, 0, 0.2);
}

.llw-single-game__hero-media img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}

/* Light content band — avoids green bg + dark text from global theme */
.llw-single-game__body {
	background: var(--sg-page-bg);
	color: var(--sg-text);
}

.llw-single-game__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 36px;
	padding: 36px 0 56px;
	align-items: start;
}

.llw-single-game__main {
	display: flex;
	flex-direction: column;
	gap: 32px;
	min-width: 0;
}

.llw-single-game__play,
.llw-single-game__about,
.llw-single-game__related {
	background: var(--sg-surface);
	border: 1px solid #e5e7eb;
	border-radius: 14px;
	padding: clamp(1.25rem, 3vw, 1.75rem);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.llw-single-game__section-head {
	margin-bottom: 16px;
}

.llw-single-game__section-head h2 {
	margin: 0 0 6px;
	font-size: 1.35rem;
	color: var(--sg-brand);
}

.llw-single-game__section-head p {
	margin: 0;
	color: var(--sg-text-soft);
	font-size: 0.95rem;
}

.llw-single-game__embed {
	position: relative;
	padding-top: 56.25%;
	border-radius: 12px;
	overflow: hidden;
	background: #111;
}

.llw-single-game__embed iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.llw-single-game__content {
	font-size: 1.02rem;
	line-height: 1.75;
	color: var(--sg-text);
}

.llw-single-game__content h2,
.llw-single-game__content h3 {
	color: var(--sg-brand);
	margin-top: 1.6em;
	margin-bottom: 0.6em;
}

.llw-single-game__content h2:first-child,
.llw-single-game__content h3:first-child {
	margin-top: 0;
}

.llw-single-game__content p {
	margin: 0 0 1em;
	color: var(--sg-text);
}

.llw-single-game__content strong {
	color: var(--sg-text);
}

.llw-single-game__content ul,
.llw-single-game__content ol {
	margin: 0 0 1.2em 1.2em;
	padding: 0;
	color: var(--sg-text);
}

.llw-single-game__content li {
	margin-bottom: 0.35em;
}

.llw-single-game__content a {
	color: var(--sg-brand);
	font-weight: 600;
	text-decoration: underline;
	text-decoration-color: rgba(26, 91, 54, 0.35);
}

.llw-single-game__content a:hover {
	color: var(--sg-brand-dark);
	text-decoration-color: currentColor;
}

.llw-single-game__empty {
	padding: 20px;
	border-radius: 10px;
	background: #f9fafb;
	border: 1px dashed #d1d5db;
	color: var(--sg-text-soft);
}

.llw-single-game__empty p {
	margin: 0;
}

.llw-single-game__content .llw-game-pseo,
.llw-single-game__intro .llw-game-pseo {
	margin: 0 0 2rem;
	padding: 0 0 2rem;
	border-bottom: 1px solid #e5e7eb;
}

.llw-single-game__content .llw-game-pseo:last-child,
.llw-single-game__intro .llw-game-pseo:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: 0;
}

.llw-single-game__content .llw-game-pseo h2,
.llw-single-game__intro .llw-game-pseo h2 {
	margin-top: 0;
	color: var(--sg-brand);
}

.llw-single-game__related .llw-game-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.llw-single-game__sidebar {
	display: flex;
	flex-direction: column;
	gap: 16px;
	position: sticky;
	top: 24px;
}

.llw-single-game__sidebar-card {
	background: var(--sg-surface);
	border: 1px solid #e5e7eb;
	border-radius: 14px;
	padding: 20px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.llw-single-game__sidebar-card h2 {
	margin: 0 0 14px;
	font-size: 1.05rem;
	color: var(--sg-brand);
}

.llw-single-game__facts {
	margin: 0;
	display: grid;
	gap: 12px;
}

.llw-single-game__facts div {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 8px 16px;
	padding-bottom: 12px;
	border-bottom: 1px solid #eef0f2;
}

.llw-single-game__facts div:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.llw-single-game__facts dt {
	margin: 0;
	font-size: 0.85rem;
	color: var(--sg-text-soft);
}

.llw-single-game__facts dd {
	margin: 0;
	font-weight: 700;
	color: var(--sg-text);
	text-align: right;
}

.llw-single-game__sidebar-cta p {
	margin: 0 0 14px;
	font-size: 0.92rem;
	color: var(--sg-text-soft);
	line-height: 1.5;
}

/* Override global yellow link style for sidebar CTA */
.llw-single-game__sidebar .home-btn,
.llw-single-game__sidebar .home-btn--primary {
	display: block;
	width: 100%;
	padding: 0.8rem 1.25rem;
	border-radius: 10px;
	border: 2px solid var(--sg-brand);
	background: var(--sg-brand);
	color: #fff !important;
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.3;
	text-align: center;
	text-decoration: none !important;
	box-sizing: border-box;
	transition: background 0.15s ease, border-color 0.15s ease;
}

.llw-single-game__sidebar .home-btn:hover,
.llw-single-game__sidebar .home-btn--primary:hover {
	background: var(--sg-brand-dark);
	border-color: var(--sg-brand-dark);
	color: #fff !important;
	text-decoration: none !important;
}

@media (max-width: 960px) {
	.llw-single-game__hero-grid {
		grid-template-columns: 1fr;
	}

	.llw-single-game__hero-media {
		max-width: 360px;
	}

	.llw-single-game__layout {
		grid-template-columns: 1fr;
		gap: 24px;
		padding-top: 28px;
		padding-bottom: 40px;
	}

	.llw-single-game__sidebar {
		position: static;
	}

	.llw-single-game__related .llw-game-grid {
		grid-template-columns: 1fr;
	}
}
