body {
	background: #0f172a;
}

.container {
	margin: 0 auto;
	width: 100%;
	max-width: 1100px;
	padding: 4px 16px 64px;
}

header {
	text-align: left;
	padding: 72px 16px 4px;
	position: relative;
	overflow: hidden;
}

.header-inner {
	width: min(1180px, 92%);
	text-align: left;
	position: relative;
	z-index: 2;
}

header h1 {
	position: relative;
	max-width: 768px;
	font-size: clamp(2rem, 5vw, 3.6rem);
	line-height: 1.3;
	font-weight: 700;
	letter-spacing: 0.02em;
	background:
		linear-gradient(to bottom,
			#ffffff 0%,
			#dbeafe 45%,
			#93c5fd 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	text-shadow:
		0 0 10px rgba(147, 197, 253, .10),
		0 2px 12px rgba(96, 165, 250, .08);
	margin-bottom: 18px;
	opacity: 0;
	transform: translateY(10px);
	animation: headerTextReveal 1.4s ease forwards;
	animation-delay: .25s;
}

header p {
	position: relative;
	color: #b4bcc6;
	font-size: 15px;
	line-height: 1.8;
	max-width: 760px;
	margin: 0 0 14px;
	opacity: 0;
	transform: translateY(8px);
	animation: headerTextReveal 1.4s ease forwards;
	animation-delay: .45s;
}
@keyframes headerTextReveal {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

section {
	margin-bottom: 54px;
	scroll-margin-top: 54px;
}

h2 {
	font-size: 22px;
	margin-bottom: 12px;
	color: #fff;
}

h3 {
	font-size: 17px;
	margin: 22px 0 6px;
	color: #c7d2fe;
}

p {
	font-size: 14px;
	color: #d1d5db;
	margin-bottom: 12px;
}

ul {
	padding-left: 20px;
	font-size: 14px;
	color: #d1d5db;
}

ul li {
	margin-bottom: 8px;
}

.box {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: var(--radius-16);
	padding: 16px;
	margin: 16px 0;
}

.box.hero {
	display: inline-block;
	width: auto;
	max-width: calc(100% - 442px);
	vertical-align: top;
}

.tip {
	color: #93c5fd;
	font-size: 13px;
}

.warn {
	color: #fbbf24;
	font-size: 13px;
}

a {
	text-decoration: none;
}

.text-link {
	color: #93c5fd;
	text-decoration: none;
	border-bottom: 1px dashed rgba(147, 197, 253, 0.5);
	transition: all 0.2s ease;
}

.text-link:hover {
	color: #60a5fa;
	border-bottom: 1px solid #60a5fa;
}

.text-link:active {
	opacity: 0.7;
}

.img-wrapper {
	float: left;
	width: min(420px, 48%);
	margin: 8px 22px 16px 0;
	border-radius: 16px;
	overflow: hidden;
	position: relative;
	aspect-ratio: 16 / 9;
	background: rgba(255, 255, 255, 0.04);
}

.img-skeleton {
	position: absolute;
	inset: 0;
	background: linear-gradient(110deg,
			#1f2937 25%,
			#374151 37%,
			#1f2937 63%);
	background-size: 200% 100%;
	animation: shimmer 1.4s infinite;
	z-index: 1;
}

.section-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	opacity: 0;
	transform: scale(0.98);
	transition:
		opacity 0.4s ease,
		transform 0.4s ease;
}

.img-wrapper.loaded .img-skeleton {
	display: none;
}

.img-wrapper.loaded .section-img {
	opacity: 1;
	transform: scale(1);
}

section::after,
.intro::after {
	content: "";
	display: block;
	clear: both;
}

@media (max-width: 768px) {
	.img-wrapper {
		float: none;
		width: 100%;
		margin: 18px 0;
	}
	
	.box.hero {
		display: block;
		max-width: 100%;
	}
}

@keyframes shimmer {
	0% {
		background-position: 200% 0;
	}
	
	100% {
		background-position: -200% 0;
	}
}

.toc {
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 14px;
	padding: 16px;
	margin: 24px 0 40px;
}

.toc h3 {
	margin: 0 0 10px;
	font-size: 15px;
	color: #93c5fd;
}

.toc ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.toc li {
	margin-bottom: 8px;
}

.toc a {
	color: #cbd5f5;
	font-size: 13.5px;
	text-decoration: none;
	transition: 0.2s;
}

.toc a:hover {
	color: #60a5fa;
	transform: translateX(4px);
}

.date {
	font-size: 13px;
	color: #94a3b8;
	margin-bottom: 14px;
	display: block;
	opacity: 0.9;
}

.related {
	margin-top: 60px;
}

.related h2 {
	font-size: 20px;
	margin-bottom: 16px;
}

.related-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
}

.related-card {
	display: flex;
	gap: 14px;
	padding: 12px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	transition: 0.25s;
}

.related-card:hover {
	transform: translateY(-4px);
	border-color: rgba(96, 165, 250, 0.5);
	box-shadow: 0 10px 25px rgba(96, 165, 250, 0.15);
}

.related-card img {
	width: 110px;
	height: 70px;
	object-fit: cover;
	border-radius: 10px;
}

.related-content h3 {
	font-size: 14px;
	margin-bottom: 4px;
	color: #e5e7eb;
}

.related-content p {
	font-size: 12px;
	color: #9ca3af;
}

/* Desktop */
@media (min-width: 768px) {
	.related-grid {
		grid-template-columns: repeat(3, 1fr);
	}
	
	.related-card {
		flex-direction: column;
	}
	
	.related-card img {
		width: 100%;
		height: 120px;
	}
}

.inline-icon {
	width: 16px;
	height: auto;
	vertical-align: -4px;
	margin-left: 4px;
	opacity: 0.85;
}

.image-source {
	margin: 8px 0 22px;
	font-size: 12px;
	color: #b0b0b0;
	text-align: left;
	line-height: 1.5;
}

.image-source a {
	color: #d6b36a;
	text-decoration: none;
	transition: 0.3s ease;
}

.image-source a:hover {
	color: #ffe29a;
	text-decoration: underline;
}