/*
 * Blanky Work – Fees Page
 *
 * @package blanky-work
 * @since 1.7
 */

.work-fees {
	padding: 6rem 2rem;
	background: var(--work-off-white);
}

.work-fees-inner {
	max-width: 960px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 4.5rem;
}

.work-fees-heading {
	word-break: auto-phrase;
	font-family: var(--work-font-serif);
	font-size: clamp(1.5rem, 1.3rem + 1vw, 2rem);
	font-weight: 400;
	line-height: 1.3;
	margin-bottom: 1.5rem;
	padding-left: 1rem;
	border-left: 2px solid var(--work-muted-gold);
}

.work-fees-table {
	margin: 0;
	background: var(--work-white);
}

.work-fees-table table {
	width: 100%;
	border-collapse: collapse;
	font-family: var(--work-font-sans);
}

/* Core adds a 1px currentColor border to every cell; reset it before drawing the row lines. */
.work-fees-table th,
.work-fees-table td {
	border: none;
	border-bottom: 1px solid var(--work-border-gold);
	padding: 1.25rem 1.5rem;
	text-align: left;
	vertical-align: top;
}

.work-fees-table thead {
	border-bottom: none;
}

.work-fees-table thead th {
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--work-on-band);
	background: var(--work-band);
}

.work-fees-table tbody td {
	font-size: 1rem;
	font-weight: 300;
	line-height: 1.7;
}

.work-fees-table tbody td:last-child {
	font-family: var(--work-font-serif);
	font-size: 1.125rem;
	font-weight: 400;
	white-space: nowrap;
}

.work-fees-note {
	font-family: var(--work-font-sans);
	font-size: 0.875rem;
	font-weight: 300;
	line-height: 1.9;
	color: var(--work-text-muted);
}

@media (width < 640px) {
	.work-fees-table th,
	.work-fees-table td {
		padding: 1rem;
	}

	.work-fees-table tbody td:last-child {
		white-space: normal;
	}
}

@media (width >= 768px) {
	.work-fees {
		padding: 8rem 3rem;
	}
}

@media (width >= 1024px) {
	.work-fees {
		padding: 8rem 4rem;
	}
}
