/**
 * WTE Business Card — Layout & Container System
 *
 * @package WTE_Business_Card
 * @since   1.0.0
 */

/* ── Container ─────────────────────────────────────── */
.wte-container {
	width: 100%;
	max-width: var(--wte-container-xl);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--wte-space-lg);
	padding-right: var(--wte-space-lg);
}

.wte-container--narrow {
	max-width: var(--wte-container-md);
}

.wte-container--sm {
	max-width: var(--wte-container-sm);
}

/* ── Section ───────────────────────────────────────── */
.wte-section {
	padding-top: var(--wte-space-4xl);
	padding-bottom: var(--wte-space-4xl);
}

.wte-section--alt {
	background-color: var(--wte-color-section-alt-bg);
}

/* ── Section Header ────────────────────────────────── */
.wte-section__header {
	text-align: center;
	margin-bottom: var(--wte-space-3xl);
}

.wte-section__heading {
	font-family: var(--wte-font-heading);
	font-size: clamp(1.5rem, 3vw, 2.25rem);
	color: var(--wte-black);
	margin-bottom: var(--wte-space-md);
	position: relative;
}

.wte-section__heading::after {
	content: '';
	display: block;
	width: 60px;
	height: 3px;
	background-color: var(--wte-color-accent);
	margin: var(--wte-space-md) auto 0;
	border-radius: 2px;
}

.wte-section__subtext {
	font-size: 1rem;
	color: var(--wte-gray-600);
	max-width: 640px;
	margin-left: auto;
	margin-right: auto;
	line-height: 1.8;
}

/* ── Grid System ───────────────────────────────────── */
.wte-grid {
	display: grid;
	gap: var(--wte-space-xl);
}

.wte-grid--2 {
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.wte-grid--3 {
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

@media (min-width: 1024px) {
	.wte-grid--3 {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* ── Flex Utilities ────────────────────────────────── */
.wte-flex {
	display: flex;
}

.wte-flex--center {
	align-items: center;
	justify-content: center;
}

.wte-flex--between {
	align-items: center;
	justify-content: space-between;
}

.wte-flex--column {
	flex-direction: column;
}

.wte-flex--gap-sm {
	gap: var(--wte-space-sm);
}

.wte-flex--gap-md {
	gap: var(--wte-space-md);
}

.wte-flex--gap-lg {
	gap: var(--wte-space-lg);
}

/* ── Main Content ──────────────────────────────────── */
.wte-main {
	min-height: 60vh;
}

/* ── Responsive Padding ────────────────────────────── */
@media (min-width: 768px) {
	.wte-container {
		padding-left: var(--wte-space-xl);
		padding-right: var(--wte-space-xl);
	}
}

@media (min-width: 1024px) {
	.wte-container {
		padding-left: var(--wte-space-2xl);
		padding-right: var(--wte-space-2xl);
	}
}
