/**
 * First Grade Representatives — Figma frame `firstgradereps` (1:2), 1880px artboard.
 *
 * @package WPCC
 */

.wpcc-first-grade-reps {
	--fgr-black: #000000;
	--fgr-light: #f6f6f6;
	--fgr-cream: #fdfbf5;
	--fgr-border: rgba(0, 0, 0, 0.4);
}

/* Cap Holders section — Figma node 1:48 */
.wpcc-first-grade-cap-holders {
	padding-top: 68px;
	padding-bottom: 80px;
}

.wpcc-first-grade__heading {
	margin: 0 0 34px;
	font-size: 40px;
	font-weight: 700;
	line-height: 50px;
	text-align: center;
	text-transform: uppercase;
	color: var(--fgr-black);
}

/* Table — Figma node 1:49 (1500×703, 4-column bordered grid) */
.wpcc-first-grade-table-wrap {
	max-width: 1500px;
	margin-inline: auto;
}

.wpcc-first-grade-table {
	width: 100%;
	border-collapse: collapse;
	table-layout: fixed;
	border: 1px solid var(--fgr-border);
	background-color: var(--fgr-light);
}

.wpcc-first-grade-table__cell {
	height: 50px;
	padding: 0 24px 0 36px;
	border: 1px solid var(--fgr-border);
	font-size: 16px;
	font-weight: 400;
	line-height: 50px;
	color: var(--fgr-black);
	vertical-align: middle;
	white-space: nowrap;
}

.wpcc-first-grade-table tr:nth-child(odd) .wpcc-first-grade-table__cell {
	background-color: var(--fgr-light);
}

.wpcc-first-grade-table tr:nth-child(even) .wpcc-first-grade-table__cell {
	background-color: #ffffff;
}

/* Column widths from Figma (1500px container) */
.wpcc-first-grade-table__cell--1 {
	width: 25.133%;
	padding-left: 36px;
}

.wpcc-first-grade-table__cell--2 {
	width: 24.733%;
	padding-left: 51px;
}

.wpcc-first-grade-table__cell--3 {
	width: 25.067%;
	padding-left: 41px;
}

.wpcc-first-grade-table__cell--4 {
	width: 25.067%;
	padding-left: 41px;
}

@media (max-width: 1200px) {
	.wpcc-first-grade-table-wrap {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.wpcc-first-grade-table {
		min-width: 900px;
	}

	.wpcc-first-grade-table__cell {
		padding-inline: 20px;
		font-size: 15px;
	}
}

@media (max-width: 992px) {
	.wpcc-first-grade__heading {
		font-size: clamp(28px, 4vw, 40px);
		line-height: 1.25;
	}
}

@media (max-width: 768px) {
	.wpcc-first-grade-cap-holders {
		padding-top: 48px;
		padding-bottom: 48px;
	}
}
