.dgl-khub {
	--kh-ink: #10243e;
	--kh-muted: #597087;
	--kh-blue: #0878d1;
	--kh-blue-dark: #0667b7;
	--kh-cyan: #19b7c9;
	--kh-paper: #f7fafc;
	--kh-line: #dce7f0;
	background: #fff;
	border: 1px solid var(--kh-line);
	border-top: 3px solid var(--kh-cyan);
	border-radius: 20px;
	box-shadow: 0 10px 30px rgba(16, 36, 62, .06);
	clear: both;
	color: var(--kh-ink);
	direction: rtl;
	margin: 34px auto;
	padding: 28px;
}

.dgl-khub__heading {
	margin-bottom: 22px;
	max-width: 780px;
}

.dgl-khub__eyebrow {
	background: #edf8fc;
	border: 1px solid #ccebf1;
	border-radius: 999px;
	color: var(--kh-blue);
	display: inline-flex;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .04em;
	margin-bottom: 10px;
	padding: 5px 10px;
}

.dgl-khub__heading h2 {
	font-size: clamp(24px, 3vw, 34px);
	line-height: 1.35;
	margin: 0 0 8px;
}

.dgl-khub__heading p {
	color: var(--kh-muted);
	line-height: 1.9;
	margin: 0;
}

.dgl-khub__grid {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 245px), 1fr));
}

.dgl-khub__card {
	background: #fff;
	border: 1px solid var(--kh-line);
	border-radius: 16px;
	box-shadow: none;
	overflow: hidden;
	position: relative;
	transition: border-color .2s ease, box-shadow .2s ease;
}

.dgl-khub__card:hover {
	border-color: #8fc9e5;
	box-shadow: 0 8px 22px rgba(16, 36, 62, .08);
}

.dgl-khub__card-link {
	color: inherit !important;
	display: flex;
	flex-direction: column;
	min-height: 100%;
	padding: 20px;
	text-decoration: none !important;
}

.dgl-khub__glyph {
	align-items: center;
	background: var(--kh-paper);
	border: 1px solid var(--kh-line);
	border-radius: 13px;
	box-shadow: none;
	display: flex;
	height: 52px;
	justify-content: center;
	margin-bottom: 15px;
	overflow: hidden;
	width: 52px;
}

.dgl-khub__glyph--fallback {
	color: var(--kh-blue);
	font: 800 13px/1 system-ui;
}

.dgl-khub__icon {
	display: block;
	height: 34px;
	max-height: 34px;
	max-width: 38px;
	object-fit: contain;
	width: auto;
}

.dgl-khub__card h3 {
	font-size: 19px;
	line-height: 1.5;
	margin: 0 0 9px;
}

.dgl-khub__card p {
	color: var(--kh-muted);
	line-height: 1.8;
	margin: 0 0 14px;
}

.dgl-khub__action {
	color: var(--kh-blue);
	font-weight: 750;
	margin-top: auto;
	padding-top: 14px;
}

.dgl-khub__pills {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin: 10px 0;
}

.dgl-khub__pill {
	align-items: center;
	background: #f3f7fa;
	border: 1px solid #d8e3ec;
	border-radius: 999px;
	color: #31506b;
	display: inline-flex;
	font-size: 12px;
	font-weight: 700;
	min-height: 28px;
	padding: 4px 10px;
}

.dgl-khub__pill--os {
	background: #edf8fc;
	border-color: #ccebf1;
	color: #0b6777;
}

.dgl-khub__pill--os::before {
	background: var(--kh-cyan);
	border-radius: 50%;
	content: "";
	height: 6px;
	margin-left: 6px;
	width: 6px;
}

.dgl-khub--product {
	width: 100%;
}

.dgl-khub--article {
	font-size: 16px;
	line-height: 2;
}

.dgl-khub--article h2,
.dgl-khub--article h3 {
	color: var(--kh-ink);
}

.dgl-khub--article code {
	background: #e9f2f8;
	border-radius: 6px;
	direction: ltr;
	display: inline-block;
	max-width: 100%;
	overflow-wrap: anywhere;
	padding: 2px 7px;
}

.dgl-khub__official {
	align-items: center;
	background: #f5fbfd;
	border: 1px solid #ccebf1;
	border-radius: 14px;
	display: grid;
	gap: 8px 18px;
	grid-template-columns: auto 1fr auto;
	margin-bottom: 26px;
	padding: 18px;
}

.dgl-khub__official strong {
	color: #075f99;
}

.dgl-khub__official span {
	color: #466378;
}

.dgl-khub__official a {
	background: var(--kh-blue);
	border-radius: 10px;
	color: #fff !important;
	font-weight: 700;
	padding: 9px 13px;
	text-decoration: none !important;
}

.dgl-khub__official a:hover {
	background: var(--kh-blue-dark);
}

@media (max-width: 700px) {
	.dgl-khub {
		border-radius: 16px;
		margin: 22px 0;
		padding: 20px 15px;
	}

	.dgl-khub__grid {
		grid-template-columns: 1fr;
	}

	.dgl-khub__official {
		grid-template-columns: 1fr;
	}

	.dgl-khub__official a {
		text-align: center;
	}

	.dgl-khub__card-link {
		display: grid;
		gap: 0 14px;
		grid-template-columns: 52px minmax(0, 1fr);
		padding: 17px;
	}

	.dgl-khub__glyph {
		grid-column: 1;
		grid-row: 1;
		margin: 0;
	}

	.dgl-khub__card h3 {
		align-self: center;
		grid-column: 2;
		grid-row: 1;
		margin: 0;
	}

	.dgl-khub__card p,
	.dgl-khub__pills,
	.dgl-khub__action {
		grid-column: 1 / -1;
	}

	.dgl-khub__card p {
		margin-top: 14px;
	}
}
