@import "tokens.css";

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: var(--font-sans);
	line-height: var(--line-height-relaxed);
	color: var(--color-text);
	background: var(--color-surface);
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

/* Header */
.section-header {
	background: var(--color-primary);
	color: white;
	padding: var(--size-8) var(--size-4);
}

.section-header .container {
	max-width: var(--max-width-content);
	margin: 0 auto;
}

.section-header .breadcrumb {
	font-size: var(--font-size-0);
	opacity: 0.9;
	margin-bottom: var(--size-2);
}

.section-header .breadcrumb a {
	color: white;
	text-decoration: none;
}

.section-header .breadcrumb a:hover {
	text-decoration: underline;
}

.section-header h1 {
	font-size: var(--font-size-6);
	font-weight: var(--font-weight-bold);
	margin-bottom: var(--size-2);
}

.section-header .subtitle {
	font-size: var(--font-size-2);
	opacity: 0.9;
}

/* Main Content */
.section-content {
	flex: 1;
	padding: var(--size-8) var(--size-4);
}

.section-content .container {
	max-width: var(--max-width-content);
	margin: 0 auto;
}

/* Content Areas Grid */
.content-areas {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: var(--size-6);
	list-style: none;
	margin-bottom: var(--size-10);
}

.content-card {
	background: var(--color-background);
	border-radius: var(--radius-4);
	box-shadow: var(--shadow-2);
	overflow: hidden;
	transition: transform 200ms ease, box-shadow 200ms ease;
}

.content-card:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow-3);
}

.content-card a {
	display: block;
	padding: var(--size-6);
	text-decoration: none;
	color: inherit;
	border-left: 4px solid var(--color-primary);
}

.content-card h3 {
	font-size: var(--font-size-3);
	font-weight: var(--font-weight-bold);
	color: var(--color-primary);
	margin-bottom: var(--size-2);
}

.content-card p {
	color: var(--color-text-muted);
	font-size: var(--font-size-1);
}

/* Content Sections */
.content-section {
	background: var(--color-background);
	border-radius: var(--radius-4);
	box-shadow: var(--shadow-2);
	padding: var(--size-8);
	margin-bottom: var(--size-8);
}

.content-section h2 {
	font-size: var(--font-size-4);
	font-weight: var(--font-weight-bold);
	margin-bottom: var(--size-4);
	color: var(--color-primary);
	border-bottom: 2px solid var(--color-border);
	padding-bottom: var(--size-3);
}

.content-section h3 {
	font-size: var(--font-size-2);
	font-weight: var(--font-weight-semibold);
	margin-top: var(--size-6);
	margin-bottom: var(--size-3);
	color: var(--color-gray-700);
}

.content-section p {
	color: var(--color-text-muted);
	margin-bottom: var(--size-4);
}

.content-section ul {
	list-style: disc;
	margin-left: var(--size-6);
	color: var(--color-text);
}

.content-section li {
	margin-bottom: var(--size-2);
}

/* Footer */
.section-footer {
	background: var(--color-gray-100);
	border-top: 1px solid var(--color-border);
	padding: var(--size-6) var(--size-4);
	text-align: center;
}

.section-footer .container {
	max-width: var(--max-width-content);
	margin: 0 auto;
}

.section-footer p {
	color: var(--color-text-muted);
	font-size: var(--font-size-0);
}

.section-footer a {
	color: var(--color-primary);
	text-decoration: none;
}

.section-footer a:hover {
	text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
	.section-header {
		padding: var(--size-6) var(--size-4);
	}

	.section-header h1 {
		font-size: var(--font-size-5);
	}

	.content-areas {
		grid-template-columns: 1fr;
	}
}
