/**
 * Testing page — internal facilities table + external org cards.
 */

.page-testing {
	background: #f2f5fb;
}

.testing-page {
	max-width: var(--container-max-width, 1320px);
	margin: 0 auto;
	padding: clamp(2.5rem, 5vw, 4rem) 24px clamp(4rem, 8vw, 5.5rem);
	box-sizing: border-box;
}

.testing-page__section {
	margin-bottom: clamp(3rem, 6vw, 4.5rem);
}

.testing-page__section:last-of-type {
	margin-bottom: 0;
}

.testing-page__h2 {
	margin: 0 0 clamp(1.75rem, 4vw, 2rem) !important;
	font-size: clamp(1.35rem, 2.5vw, 1.75rem);
	font-weight: 700;
	line-height: 1.25;
	color: #0a0a0a;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.testing-page__table-wrap {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	border-radius: 12px;
	box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}

.testing-page__table {
	width: 100%;
	min-width: 560px;
	border-collapse: collapse;
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.45;
	background: #fff;
}

.testing-page__table td {
	border: 1px solid #e2e8f0;
	padding: 12px 14px;
	vertical-align: top;
	width: 50%;
	color: #1e293b;
}

.testing-page__table tbody tr:nth-child(even) td {
	background: #f8fafc;
}

.testing-page__orgs {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.testing-page__org {
	background: #fff;
	border-radius: 14px;
	padding: 1.5rem 1.5rem 1.35rem;
	box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
	box-sizing: border-box;
}

.testing-page__h3 {
	margin: 0 0 clamp(1.1rem, 2.5vw, 1.65rem) !important;
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.3;
	color: #0f172a;
}

.testing-page__contact-list {
	margin: 0 0 1rem;
	padding-left: 1.2rem;
	line-height: 1.55;
	color: #334155;
	font-size: 0.9375rem;
}

.testing-page__contact-list li {
	margin-bottom: 0.25rem;
}

.testing-page__text {
	margin: 0 0 1rem;
	font-size: 0.9375rem;
	line-height: 1.65;
	color: #334155;
}

.testing-page__text:last-child {
	margin-bottom: 0;
}

.testing-page__bullet-list {
	margin: 0;
	padding-left: 1.2rem;
	line-height: 1.55;
	color: #334155;
	font-size: 0.9375rem;
}

.testing-page__bullet-list li {
	margin-bottom: 0.5rem;
}

.testing-page__editor {
	margin-top: clamp(2.5rem, 5vw, 3.5rem);
	padding-top: clamp(2rem, 4vw, 3rem);
	border-top: 1px solid rgba(15, 23, 42, 0.1);
	max-width: 900px;
}

@media (max-width: 640px) {
	.testing-page {
		padding-left: 16px;
		padding-right: 16px;
	}

	.testing-page__table {
		font-size: 0.8125rem;
	}

	.testing-page__table td {
		padding: 10px;
	}
}
