/**
 * CIMC Product Category Hub
 */

.cph-page {
	--cph-blue: #0757a6;
	--cph-blue-dark: #063e78;
	--cph-ink: #101d35;
	--cph-text: #2f3745;
	--cph-muted: #727b88;
	--cph-line: #e5e9ef;
	--cph-panel: #f7f8fa;
	--cph-white: #fff;
	background:
		radial-gradient(circle at 78% 8%, rgba(7, 87, 166, .035), transparent 28rem),
		#fff;
	color: var(--cph-text);
	font-family: inherit;
	line-height: 1.55;
	padding: 0 20px 80px;
}

.cph-page *,
.cph-page *::before,
.cph-page *::after {
	box-sizing: border-box;
}

.cph-shell {
	width: min(1240px, 100%);
	margin: 0 auto;
}

.cph-breadcrumb {
	padding: 22px 0 24px;
	font-size: 13px;
	color: var(--cph-muted);
}

.cph-breadcrumb ol {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.cph-breadcrumb li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.cph-breadcrumb li:not(:last-child)::after {
	content: "›";
	color: #a4aab3;
}

.cph-breadcrumb a {
	color: inherit;
	text-decoration: none;
}

.cph-breadcrumb a:hover {
	color: var(--cph-blue);
}

.cph-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(320px, .8fr);
	align-items: center;
	gap: 58px;
	min-height: 420px;
	padding: 24px 0 38px;
}

.cph-hero-copy > h1 {
	color: var(--cph-blue);
	font-size: clamp(34px, 4vw, 50px);
	font-weight: 600;
	letter-spacing: -.025em;
	line-height: 1.12;
	margin: 0 0 22px;
}

.cph-hero-summary {
	max-width: 720px;
	color: #344054;
	font-size: 17px;
	line-height: 1.72;
}

.cph-hero-summary p {
	margin: 0 0 14px;
}

.cph-hero-media {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 300px;
}

.cph-hero-image {
	display: block;
	max-width: 100%;
	width: auto;
	height: auto;
	max-height: 330px;
	object-fit: contain;
	filter: drop-shadow(0 20px 24px rgba(20, 31, 49, .12));
}

.cph-hero-placeholder {
	width: min(380px, 100%);
	color: #d2d9e2;
}

.cph-hero-placeholder svg {
	width: 100%;
	height: auto;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.3;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.cph-feature-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	margin-top: 38px;
}

.cph-feature {
	min-width: 0;
}

.cph-icon {
	color: var(--cph-blue);
}

.cph-icon svg {
	display: block;
	width: 42px;
	height: 42px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2.3;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.cph-feature h3 {
	color: var(--cph-ink);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
	margin: 9px 0 4px;
}

.cph-feature p {
	color: var(--cph-muted);
	font-size: 12px;
	line-height: 1.45;
	margin: 0;
}

.cph-applications {
	background: linear-gradient(135deg, #f8f9fb, #f4f6f8);
	border: 1px solid #f1f3f6;
	border-radius: 10px;
	padding: 20px 24px 24px;
	box-shadow: 0 12px 35px rgba(21, 37, 61, .035);
}

.cph-applications > h2 {
	color: var(--cph-blue);
	font-size: 20px;
	font-weight: 650;
	margin: 0 0 18px;
}

.cph-application-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 16px;
}

.cph-application {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-height: 82px;
	text-align: center;
}

.cph-application .cph-icon svg {
	width: 48px;
	height: 48px;
}

.cph-application span {
	color: #313b49;
	font-size: 14px;
	font-weight: 500;
}

.cph-catalog {
	display: grid;
	grid-template-columns: 245px minmax(0, 1fr);
	gap: 28px;
	border-top: 1px solid var(--cph-line);
	margin-top: 32px;
	padding-top: 30px;
}

.cph-sidebar {
	border-right: 1px solid var(--cph-line);
	padding-right: 24px;
}

.cph-sidebar-toggle {
	display: none;
}

.cph-category-nav h2 {
	color: #485361;
	font-size: 17px;
	font-weight: 500;
	margin: 0 0 15px;
}

.cph-category-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.cph-category-nav a {
	display: grid;
	grid-template-columns: 16px minmax(0, 1fr) auto;
	align-items: center;
	gap: 8px;
	color: #3f4855;
	font-size: 13px;
	line-height: 1.35;
	padding: 8px 0;
	text-decoration: none;
}

.cph-category-nav a:hover,
.cph-category-nav a.is-active,
.cph-category-nav li.is-active > a {
	color: var(--cph-blue);
}

.cph-category-root {
	font-weight: 600;
}

.cph-category-marker {
	width: 14px;
	height: 14px;
	border: 1px solid #cbd3dd;
	border-radius: 3px;
	background: #fff;
	position: relative;
}

.is-active > a .cph-category-marker,
a.is-active .cph-category-marker {
	background: var(--cph-blue);
	border-color: var(--cph-blue);
}

.is-active > a .cph-category-marker::after,
a.is-active .cph-category-marker::after {
	content: "";
	position: absolute;
	left: 3px;
	top: 1px;
	width: 5px;
	height: 8px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.cph-category-count {
	color: #8a939e;
	font-size: 12px;
}

.cph-category-children {
	padding-left: 16px !important;
}

.cph-category-children .cph-category-marker {
	width: 12px;
	height: 12px;
}

.cph-category-children.cph-depth-1,
.cph-category-children.cph-depth-2,
.cph-category-children.cph-depth-3 {
	padding-left: 15px !important;
	border-left: 1px solid #edf0f3;
}

.cph-products {
	min-width: 0;
}

.cph-products-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 22px;
}

.cph-products-header h2 {
	color: var(--cph-blue);
	font-size: 22px;
	font-weight: 600;
	line-height: 1.3;
	margin: 0 0 7px;
}

.cph-products-header p {
	color: var(--cph-muted);
	font-size: 14px;
	margin: 0;
}

.cph-view-switcher {
	display: flex;
	align-items: center;
	gap: 6px;
}

.cph-view-button {
	display: inline-grid;
	place-items: center;
	width: 32px;
	height: 32px;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 4px;
	color: #8b949f;
	cursor: pointer;
}

.cph-view-button:hover,
.cph-view-button.is-active {
	color: var(--cph-blue);
	background: #f0f5fb;
}

.cph-view-button svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
	stroke: currentColor;
	stroke-width: 1.5;
}

.cph-product-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.cph-product-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	margin: 0 !important;
	padding: 0 !important;
	background: var(--cph-white);
	border: 1px solid #e7ebf0;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 8px 22px rgba(20, 31, 49, .035);
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.cph-product-card:hover {
	transform: translateY(-3px);
	border-color: #d8e1eb;
	box-shadow: 0 14px 32px rgba(20, 31, 49, .09);
}

.cph-product-image {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 220px;
	padding: 20px;
	background: #fff;
	text-decoration: none;
}

.cph-product-image img {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0 !important;
	object-fit: contain;
}

.cph-product-card-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	padding: 18px 18px 20px;
}

.cph-product-category {
	color: #9aa2ac;
	font-size: 12px;
	margin-bottom: 5px;
}

.cph-product-card h3 {
	font-size: 17px;
	font-weight: 700;
	line-height: 1.35;
	margin: 0 0 12px;
}

.cph-product-card h3 a {
	color: var(--cph-ink);
	text-decoration: none;
}

.cph-product-card h3 a:hover {
	color: var(--cph-blue);
}

.cph-product-excerpt {
	display: none;
	color: var(--cph-muted);
	font-size: 14px;
	margin-bottom: 18px;
}

.cph-read-more {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	margin-top: auto;
	padding: 8px 15px;
	border-radius: 3px;
	background: var(--cph-blue);
	box-shadow: 0 5px 12px rgba(7, 87, 166, .18);
	color: #fff !important;
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none !important;
	transition: background-color .2s ease, transform .2s ease;
}

.cph-read-more:hover {
	background: var(--cph-blue-dark);
	transform: translateY(-1px);
}

.cph-product-grid.is-list {
	grid-template-columns: 1fr;
}

.cph-product-grid.is-list .cph-product-card {
	display: grid;
	grid-template-columns: 300px minmax(0, 1fr);
}

.cph-product-grid.is-list .cph-product-image {
	height: 230px;
}

.cph-product-grid.is-list .cph-product-excerpt {
	display: block;
}

.cph-pagination {
	margin-top: 34px;
}

.cph-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
}

.cph-pagination .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 38px;
	height: 38px;
	padding: 0 10px;
	border: 1px solid var(--cph-line);
	border-radius: 4px;
	color: #495464;
	text-decoration: none;
}

.cph-pagination .page-numbers.current,
.cph-pagination a.page-numbers:hover {
	background: var(--cph-blue);
	border-color: var(--cph-blue);
	color: #fff;
}

.cph-empty {
	padding: 50px 24px;
	background: var(--cph-panel);
	border-radius: 8px;
	text-align: center;
}

.cph-empty h3 {
	color: var(--cph-ink);
	margin: 0 0 8px;
}

.cph-empty p {
	color: var(--cph-muted);
	margin: 0;
}

@media (max-width: 1100px) {
	.cph-hero {
		grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
		gap: 32px;
	}

	.cph-feature-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cph-product-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 820px) {
	.cph-page {
		padding-inline: 16px;
	}

	.cph-hero {
		grid-template-columns: 1fr;
		padding-top: 8px;
	}

	.cph-hero-media {
		order: -1;
		min-height: 220px;
	}

	.cph-hero-image {
		max-height: 250px;
	}

	.cph-application-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.cph-catalog {
		grid-template-columns: 1fr;
	}

	.cph-sidebar {
		border-right: 0;
		border-bottom: 1px solid var(--cph-line);
		padding: 0 0 18px;
	}

	.cph-sidebar-toggle {
		display: flex;
		align-items: center;
		justify-content: space-between;
		width: 100%;
		padding: 14px 16px;
		border: 1px solid var(--cph-line);
		border-radius: 6px;
		background: #fff;
		color: var(--cph-ink);
		font: inherit;
		font-weight: 600;
		cursor: pointer;
	}

	.cph-sidebar-panel {
		display: none;
		padding: 16px;
		border: 1px solid var(--cph-line);
		border-top: 0;
		border-radius: 0 0 6px 6px;
	}

	.cph-sidebar.is-open .cph-sidebar-panel {
		display: block;
	}

	.cph-sidebar.is-open .cph-sidebar-toggle {
		border-radius: 6px 6px 0 0;
	}
}

@media (max-width: 620px) {
	.cph-page {
		padding-bottom: 48px;
	}

	.cph-hero-copy > h1 {
		font-size: 34px;
	}

	.cph-hero-summary {
		font-size: 15px;
	}

	.cph-feature-grid {
		grid-template-columns: 1fr 1fr;
		gap: 22px 16px;
	}

	.cph-application-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cph-products-header {
		align-items: center;
	}

	.cph-product-grid {
		grid-template-columns: 1fr;
	}

	.cph-product-image {
		height: 210px;
	}

	.cph-product-grid.is-list .cph-product-card {
		display: flex;
	}

	.cph-product-grid.is-list .cph-product-image {
		height: 210px;
	}

	.cph-product-grid.is-list .cph-product-excerpt {
		display: none;
	}
}

@media (max-width: 410px) {
	.cph-feature-grid {
		grid-template-columns: 1fr;
	}

	.cph-application-grid {
		grid-template-columns: 1fr;
	}
}

/* v1.1 semantic title updates */
.cph-category-title{font-size:18px;font-weight:600;margin-bottom:18px;}
.cph-products-title{font-size:26px;font-weight:600;color:#0057a8;}
.cph-products-title span{font-size:20px;}



/* Product list layout upgrade */
.cph-products {
	background:#fff;
}

.cph-products-header {
	align-items:center;
	margin-bottom:24px;
}

.cph-products-title {
	font-size:28px;
	font-weight:600;
	color:#0757a6;
	line-height:1.3;
}

.cph-products-header p {
	color:#727b88;
	margin:6px 0 0;
	font-size:14px;
}

.cph-product-grid {
	display:grid;
	grid-template-columns:repeat(3,minmax(0,1fr));
	gap:24px;
}

.cph-product-card {
	border:1px solid #e8edf3;
	border-radius:12px;
	background:#fff;
	overflow:hidden;
	transition:all .25s ease;
}

.cph-product-card:hover {
	box-shadow:0 12px 30px rgba(15,35,60,.08);
	transform:translateY(-3px);
}

.cph-product-image {
	display:flex;
	align-items:center;
	justify-content:center;
	height:230px;
	background:#fff;
	padding:20px;
}

.cph-product-image img {
	max-width:100%;
	max-height:190px;
	object-fit:contain;
}

.cph-product-card-body {
	padding:20px;
}

.cph-product-category {
	font-size:13px;
	color:#9aa3af;
	margin-bottom:8px;
}

.cph-product-card h3 {
	font-size:18px;
	line-height:1.45;
	margin:0 0 12px;
}

.cph-product-card h3 a {
	color:#101d35;
	text-decoration:none;
}

.cph-product-excerpt {
	font-size:14px;
	color:#667085;
	line-height:1.6;
	min-height:44px;
}

.cph-read-more {
	display:inline-block;
	margin-top:15px;
	background:#0757a6;
	color:#fff;
	padding:9px 18px;
	border-radius:4px;
	text-decoration:none;
	font-size:14px;
}


@media(max-width:900px){
	.cph-product-grid{
		grid-template-columns:repeat(2,minmax(0,1fr));
	}
}

@media(max-width:600px){
	.cph-product-grid{
		grid-template-columns:1fr;
	}
}


/* Bottom category article modules */
.cph-bottom-articles {
	margin-top: 38px;
}

.cph-bottom-article {
	margin-top: 0;
	padding: 34px 0 4px;
	border-top: 1px solid var(--cph-line);
	color: #344054;
	font-size: 16px;
	line-height: 1.8;
}

.cph-bottom-article + .cph-bottom-article {
	margin-top: 34px;
}

.cph-bottom-article > h2 {
	margin: 0 0 20px;
	color: var(--cph-blue);
	font-size: 28px;
	font-weight: 600;
	line-height: 1.3;
}

.cph-bottom-article-content > :first-child {
	margin-top: 0;
}

.cph-bottom-article-content > :last-child {
	margin-bottom: 0;
}

.cph-bottom-article-content h2,
.cph-bottom-article-content h3,
.cph-bottom-article-content h4 {
	color: var(--cph-ink);
	line-height: 1.35;
}

.cph-bottom-article-content h2 {
	font-size: 25px;
	margin: 32px 0 14px;
}

.cph-bottom-article-content h3 {
	font-size: 21px;
	margin: 28px 0 12px;
}

.cph-bottom-article-content h4 {
	font-size: 18px;
	margin: 24px 0 10px;
}

.cph-bottom-article-content p,
.cph-bottom-article-content ul,
.cph-bottom-article-content ol,
.cph-bottom-article-content blockquote,
.cph-bottom-article-content table {
	margin: 0 0 18px;
}

.cph-bottom-article-content a {
	color: var(--cph-blue);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.cph-bottom-article-content img {
	max-width: 100%;
	height: auto;
}

.cph-bottom-article-content table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
}

.cph-bottom-article-content th,
.cph-bottom-article-content td {
	padding: 12px 14px;
	border: 1px solid var(--cph-line);
	text-align: left;
	vertical-align: top;
}

.cph-bottom-article-content th {
	background: #f7f8fa;
	font-weight: 600;
}

@media (max-width: 620px) {
	.cph-bottom-articles {
		margin-top: 30px;
	}

	.cph-bottom-article {
		margin-top: 0;
		padding-top: 26px;
		font-size: 15px;
	}

	.cph-bottom-article + .cph-bottom-article {
		margin-top: 28px;
	}

	.cph-bottom-article > h2 {
		font-size: 24px;
	}

	.cph-bottom-article-content table {
		display: block;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
}
