:root {
	--twc-ds-ink: #18252d;
	--twc-ds-muted: #61717c;
	--twc-ds-line: #d8e3e5;
	--twc-ds-soft: #f3f8f8;
	--twc-ds-accent: #087e7b;
	--twc-ds-accent-dark: #056663;
	--twc-ds-orange: #f28c18;
}

.twc-product-datasheet {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px;
	margin: 18px 0 0;
	padding: 14px;
	border: 1px solid var(--twc-ds-line);
	border-radius: 12px;
	background: var(--twc-ds-soft);
}

.twc-product-datasheet__icon {
	display: grid;
	width: 44px;
	height: 44px;
	place-items: center;
	border-radius: 10px;
	background: #dcefee;
	color: var(--twc-ds-accent);
}

.twc-product-datasheet__icon svg {
	width: 24px;
	height: 24px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.7;
}

.twc-product-datasheet__copy {
	display: grid;
	min-width: 0;
	gap: 2px;
}

.twc-product-datasheet__copy strong {
	color: var(--twc-ds-ink);
	font-size: 15px;
}

.twc-product-datasheet__copy small {
	overflow: hidden;
	color: var(--twc-ds-muted);
	font-size: 12px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.twc-product-datasheet__button,
.twc-product-datasheet-tab > a,
.twc-datasheet-row__download,
.twc-datasheets-search button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 0 18px;
	border: 1px solid var(--twc-ds-accent);
	border-radius: 8px;
	background: var(--twc-ds-accent);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.twc-product-datasheet__button:hover,
.twc-product-datasheet-tab > a:hover,
.twc-datasheet-row__download:hover,
.twc-datasheets-search button:hover {
	border-color: var(--twc-ds-accent-dark);
	background: var(--twc-ds-accent-dark);
	color: #fff;
	transform: translateY(-1px);
}

.twc-product-datasheet__button:focus-visible,
.twc-product-datasheet-tab > a:focus-visible,
.twc-datasheet-row__download:focus-visible,
.twc-datasheets-search button:focus-visible,
.twc-datasheets-search input:focus-visible,
.twc-datasheet-row a:focus-visible {
	outline: 3px solid rgba(242, 140, 24, .38);
	outline-offset: 3px;
}

.twc-product-datasheet-tab {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	max-width: 920px;
	padding: 26px;
	border: 1px solid var(--twc-ds-line);
	border-radius: 14px;
	background: var(--twc-ds-soft);
}

.twc-product-datasheet-tab h2 {
	margin: 0 0 7px;
	color: var(--twc-ds-ink);
	font-size: 22px;
}

.twc-product-datasheet-tab p {
	max-width: 65ch;
	margin: 0;
	color: var(--twc-ds-muted);
}

.twc-datasheets-page {
	width: 100%;
	margin: 46px auto 0;
	padding-bottom: 48px;
	color: var(--twc-ds-ink);
}

.twc-datasheets-hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 40px;
	padding: 40px 44px;
	border-radius: 16px;
	background: #0b5558;
	color: #fff;
	box-shadow: 0 16px 36px rgba(22, 56, 63, .16);
}

.twc-datasheets-hero h1 {
	margin: 0 0 12px;
	color: #fff;
	font-size: clamp(32px, 4vw, 50px);
	font-weight: 750;
	letter-spacing: -.03em;
	line-height: 1.05;
}

.twc-datasheets-hero p {
	max-width: 67ch;
	margin: 0;
	color: #d7eded;
	font-size: 16px;
	line-height: 1.7;
}

.twc-datasheets-hero__icon {
	display: grid;
	width: 112px;
	height: 112px;
	place-items: center;
	border: 1px solid rgba(255, 255, 255, .3);
	border-radius: 16px;
	background: rgba(255, 255, 255, .08);
}

.twc-datasheets-hero__icon svg {
	width: 62px;
	height: 62px;
	fill: none;
	stroke: #fff;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2;
}

.twc-datasheets-search {
	margin: 30px 0 38px;
	padding: 24px;
	border-bottom: 1px solid var(--twc-ds-line);
}

.twc-datasheets-search label {
	display: block;
	margin-bottom: 10px;
	color: var(--twc-ds-ink);
	font-size: 14px;
	font-weight: 700;
}

.twc-datasheets-search > div {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 10px;
}

.twc-datasheets-search input[type="search"] {
	width: 100%;
	height: 48px;
	padding: 0 16px;
	border: 1px solid #bfcfd2;
	border-radius: 8px;
	background: #fff;
	color: var(--twc-ds-ink);
	font-size: 15px;
}

.twc-datasheets-search input[type="search"]::placeholder {
	color: #71818b;
}

.twc-datasheets-results__heading {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 14px;
}

.twc-datasheets-results__heading h2 {
	margin: 0;
	color: var(--twc-ds-ink);
	font-size: 24px;
}

.twc-datasheets-results__heading span {
	color: var(--twc-ds-muted);
	font-size: 13px;
}

.twc-datasheets-list {
	border-top: 1px solid var(--twc-ds-line);
}

.twc-datasheet-row {
	display: grid;
	grid-template-columns: 82px minmax(0, 1fr) auto;
	align-items: center;
	gap: 22px;
	min-height: 122px;
	padding: 19px 0;
	border-bottom: 1px solid var(--twc-ds-line);
}

.twc-datasheet-row__image {
	display: grid;
	width: 82px;
	height: 82px;
	place-items: center;
	overflow: hidden;
	border: 1px solid #e1e9ea;
	border-radius: 10px;
	background: #fff;
}

.twc-datasheet-row__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.twc-datasheet-row__content h3 {
	margin: 0 0 8px;
	font-size: 17px;
	line-height: 1.35;
}

.twc-datasheet-row__content h3 a {
	color: var(--twc-ds-ink);
	text-decoration: none;
}

.twc-datasheet-row__content h3 a:hover {
	color: var(--twc-ds-accent);
}

.twc-datasheet-row__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 14px;
	color: var(--twc-ds-muted);
	font-size: 12px;
}

.twc-datasheet-row__meta span + span::before {
	margin-right: 14px;
	color: #aebdc0;
	content: "•";
}

.twc-datasheet-row__download {
	gap: 8px;
}

.twc-datasheet-row__download svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

.twc-datasheets-empty {
	display: grid;
	justify-items: center;
	padding: 64px 24px;
	border: 1px solid var(--twc-ds-line);
	border-radius: 14px;
	background: var(--twc-ds-soft);
	text-align: center;
}

.twc-datasheets-empty svg {
	width: 46px;
	height: 46px;
	margin-bottom: 16px;
	fill: none;
	stroke: var(--twc-ds-accent);
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.5;
}

.twc-datasheets-empty h3 {
	margin: 0 0 8px;
	font-size: 20px;
}

.twc-datasheets-empty p {
	max-width: 58ch;
	margin: 0;
	color: var(--twc-ds-muted);
}

.twc-datasheets-empty a {
	margin-top: 18px;
	color: var(--twc-ds-accent);
	font-weight: 700;
	text-underline-offset: 3px;
}

.twc-datasheets-pagination {
	display: flex;
	justify-content: center;
	gap: 6px;
	margin-top: 30px;
}

.twc-datasheets-pagination .page-numbers {
	display: grid;
	min-width: 40px;
	height: 40px;
	padding: 0 10px;
	place-items: center;
	border: 1px solid var(--twc-ds-line);
	border-radius: 7px;
	background: #fff;
	color: var(--twc-ds-ink);
}

.twc-datasheets-pagination .page-numbers.current,
.twc-datasheets-pagination .page-numbers:hover {
	border-color: var(--twc-ds-accent);
	background: var(--twc-ds-accent);
	color: #fff;
}

@media (max-width: 767px) {
	.twc-product-datasheet {
		grid-template-columns: 40px minmax(0, 1fr);
	}

	.twc-product-datasheet__button {
		grid-column: 1 / -1;
		width: 100%;
	}

	.twc-product-datasheet-tab {
		align-items: stretch;
		flex-direction: column;
		padding: 20px;
	}

	.twc-datasheets-page {
		margin-top: 24px;
		padding-bottom: 32px;
	}

	.twc-datasheets-hero {
		grid-template-columns: 1fr;
		gap: 20px;
		padding: 24px 22px;
	}

	.twc-datasheets-hero h1 {
		font-size: 30px;
	}

	.twc-datasheets-hero p {
		line-height: 1.55;
	}

	.twc-datasheets-hero__icon {
		display: none;
	}

	.twc-datasheets-search {
		margin: 20px 0 24px;
		padding: 16px 0 22px;
	}

	.twc-datasheets-search > div {
		grid-template-columns: 1fr;
	}

	.twc-datasheets-search button {
		min-height: 46px;
	}

	.twc-datasheet-row {
		grid-template-columns: 64px minmax(0, 1fr);
		column-gap: 14px;
		row-gap: 10px;
		padding: 13px 0;
	}

	.twc-datasheet-row__image {
		width: 64px;
		height: 64px;
	}

	.twc-datasheet-row__download {
		grid-column: 1 / -1;
		width: 100%;
	}

	.twc-datasheet-row__meta span:first-child {
		flex-basis: 100%;
	}

	.twc-datasheet-row__meta span:nth-child(2) {
		overflow-wrap: anywhere;
	}

	.twc-datasheet-row__meta span + span::before {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.twc-product-datasheet__button,
	.twc-product-datasheet-tab > a,
	.twc-datasheet-row__download,
	.twc-datasheets-search button {
		transition: none;
	}
}
