/**
 * at-amber Theme - Layout Styles
 *
 * Structure layer: Containers, sections, grid systems, responsive breakpoints
 * Version: 1.0
 * Date: 2025-11-09
 */

/* ===== MAIN CONTAINER ===== */
.container {
	max-width: 1400px;
	margin: 2rem auto;
	padding: 0 2rem;
}

/* ===== SECTIONS ===== */
.card-section {
	margin-bottom: 3rem;
}

.section-heading {
	font-family: 'Exo 2', sans-serif;
	font-size: 1.8rem;
	color: var(--accent);
	margin-bottom: 1.5rem;
	padding-bottom: 0.5rem;
	border-bottom: 2px solid var(--border);
	position: relative;
}

.section-heading::after {
	content: '';
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 60px;
	height: 2px;
	background: var(--accent);
}

/* ===== CARD GRID LAYOUT ===== */
.card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 1.5rem;
	margin-bottom: 2rem;
}

/* Research grid - wider cards for research page */
.research-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
	gap: 1.5rem;
	margin-bottom: 2rem;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
	.container {
		padding: 0 1rem;
	}

	.section-heading {
		font-size: 1.4rem;
	}

	.card-grid {
		grid-template-columns: 1fr;
		gap: 1rem;
	}
}

@media (min-width: 769px) and (max-width: 1024px) {
	.card-grid {
		grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	}
}
