.cc-dm-hs-expert {
	--cc-dm-expert-text: #1b1919;
	--cc-dm-expert-accent: #ab2424;
	--cc-dm-expert-white: #ffffff;
	--cc-dm-expert-stroke: #f6f6f6;
	box-sizing: border-box;
	width: 100%;
	background: var(--cc-dm-expert-white);
	color: var(--cc-dm-expert-text);
	font-family: Montserrat, Arial, sans-serif;
	padding-block: clamp(32px, 5vw, 58px);
}

.cc-dm-hs-expert *,
.cc-dm-hs-expert *::before,
.cc-dm-hs-expert *::after {
	box-sizing: border-box;
}

.cc-dm-hs-expert__inner {
	width: 100%;
	max-width: 1420px;
	margin-inline: auto;
	padding-inline: 0;
}

.cc-dm-hs-expert__panel {
	display: grid;
	grid-template-columns: minmax(0, var(--cc-dm-expert-content-width, 1fr)) minmax(320px, var(--cc-dm-expert-media-width, 437px));
	gap: var(--cc-dm-expert-gap, clamp(28px, 5vw, 64px));
	align-items: stretch;
	width: 100%;
	padding: 24px;
	border: 1px solid var(--cc-dm-expert-stroke);
	border-radius: 24px;
}

.cc-dm-hs-expert__content {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: clamp(30px, 4vw, 60px);
	min-width: 0;
}

.cc-dm-hs-expert__copy {
	display: flex;
	flex-direction: column;
	gap: 24px;
	max-width: 820px;
}

.cc-dm-hs-expert__title {
	margin: 0;
	color: var(--cc-dm-expert-text);
	font-size: clamp(30px, 3vw, 38px);
	font-weight: 600;
	letter-spacing: 0;
	line-height: 1.12;
}

.cc-dm-hs-expert__text {
	max-width: 810px;
	color: var(--cc-dm-expert-text);
	font-size: 16px;
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.35;
}

.cc-dm-hs-expert__text p {
	margin: 0;
}

.cc-dm-hs-expert__text p + p {
	margin-top: 12px;
}

.cc-dm-hs-expert__stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
	width: 100%;
}

.cc-dm-hs-expert__stat {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	min-width: 0;
}

.cc-dm-hs-expert__stat-icon {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	width: 90px;
	height: 90px;
	margin-bottom: 22px;
	color: var(--cc-dm-expert-accent);
}

.cc-dm-hs-expert__stat-icon-image {
	display: block;
	width: 90px;
	height: 90px;
	max-width: none;
	object-fit: contain;
}

.cc-dm-hs-expert__stat-icon-fallback {
	position: relative;
	display: block;
	width: 54px;
	height: 54px;
	color: var(--cc-dm-expert-accent);
}

.cc-dm-hs-expert__stat-icon-fallback::before,
.cc-dm-hs-expert__stat-icon-fallback::after {
	position: absolute;
	content: "";
}

.cc-dm-hs-expert__stat-icon-fallback--1 {
	border-bottom: 3px solid currentColor;
}

.cc-dm-hs-expert__stat-icon-fallback--1::before {
	left: 7px;
	bottom: 3px;
	width: 40px;
	height: 40px;
	border: 3px solid currentColor;
	border-bottom: 0;
}

.cc-dm-hs-expert__stat-icon-fallback--1::after {
	left: 20px;
	bottom: 3px;
	width: 14px;
	height: 28px;
	background: repeating-linear-gradient(0deg, transparent 0 6px, currentColor 6px 9px);
	box-shadow: -12px 0 0 -2px currentColor, 12px 0 0 -2px currentColor;
}

.cc-dm-hs-expert__stat-icon-fallback--2 {
	border: 3px solid currentColor;
	border-radius: 8px;
	transform: rotate(-30deg);
}

.cc-dm-hs-expert__stat-icon-fallback--2::before {
	inset: 12px;
	border: 3px solid currentColor;
	border-radius: 50%;
}

.cc-dm-hs-expert__stat-icon-fallback--2::after {
	right: -7px;
	bottom: -7px;
	width: 22px;
	height: 22px;
	background: var(--cc-dm-expert-white);
	border: 3px solid currentColor;
	border-radius: 50%;
}

.cc-dm-hs-expert__stat-icon-fallback--3::before {
	top: 6px;
	left: 4px;
	width: 46px;
	height: 46px;
	background:
		linear-gradient(currentColor, currentColor) 0 7px / 46px 3px no-repeat,
		linear-gradient(currentColor, currentColor) 0 19px / 46px 3px no-repeat,
		linear-gradient(currentColor, currentColor) 0 31px / 46px 3px no-repeat,
		linear-gradient(currentColor, currentColor) 0 43px / 46px 3px no-repeat;
	transform: skewY(-24deg);
}

.cc-dm-hs-expert__stat-icon-fallback--4::before {
	left: 8px;
	top: 3px;
	width: 30px;
	height: 48px;
	border: 3px solid currentColor;
	border-radius: 999px;
}

.cc-dm-hs-expert__stat-icon-fallback--4::after {
	right: 2px;
	bottom: 4px;
	width: 32px;
	height: 16px;
	border-bottom: 3px solid currentColor;
	border-right: 3px solid currentColor;
	border-radius: 0 0 14px;
}

.cc-dm-hs-expert__stat-value {
	margin-bottom: 14px;
	color: var(--cc-dm-expert-accent);
	font-size: clamp(32px, 3.3vw, 40px);
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.2;
}

.cc-dm-hs-expert__stat-label {
	color: var(--cc-dm-expert-text);
	font-size: 16px;
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.25;
}

.cc-dm-hs-expert__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	align-self: flex-start;
	gap: 10px;
	min-height: 54px;
	padding: 16px 24px;
	background: var(--cc-dm-expert-accent);
	border-radius: 999px;
	color: var(--cc-dm-expert-white);
	font-size: 18px;
	font-weight: 500;
	letter-spacing: 0;
	line-height: 1;
	text-align: center;
	text-decoration: none !important;
	transition: background-color 180ms ease, transform 180ms ease;
}

.cc-dm-hs-expert__button:hover,
.cc-dm-hs-expert__button:focus {
	background: #8b1316;
	color: var(--cc-dm-expert-white);
	text-decoration: none !important;
	transform: translateY(-1px);
}

.cc-dm-hs-expert__button:focus-visible {
	outline: 3px solid rgba(171, 36, 36, 0.3);
	outline-offset: 3px;
}

.cc-dm-hs-expert__button-arrow {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
}

.cc-dm-hs-expert__button-arrow::before {
	width: 7px;
	height: 7px;
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
	content: "";
	transform: translateX(-1px) rotate(45deg);
}

.cc-dm-hs-expert__button-arrow::after {
	position: absolute;
	width: 10px;
	height: 2px;
	background: currentColor;
	border-radius: 999px;
	content: "";
	transform: translateX(-1px);
}

.cc-dm-hs-expert__media {
	position: relative;
	min-height: var(--cc-dm-expert-media-min-height, 364px);
	overflow: hidden;
	background: #f1f1f1;
	border-radius: 16px;
}

.cc-dm-hs-expert__image,
.cc-dm-hs-expert__image-placeholder {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 0;
	object-fit: cover;
	object-position: center center;
}

.cc-dm-hs-expert__media > img.cc-dm-hs-expert__image {
	max-width: none !important;
	min-width: 100%;
	min-height: 100%;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
}

.cc-dm-hs-expert__image-placeholder {
	background:
		radial-gradient(circle at 24% 24%, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0) 34%),
		linear-gradient(135deg, #eeeeee 0%, #d8d8d8 100%);
}

.cc-dm-hs-expert--layout-wide_image .cc-dm-hs-expert__panel {
	grid-template-columns: minmax(0, var(--cc-dm-expert-content-width, 663px)) minmax(320px, var(--cc-dm-expert-media-width, 663px));
	gap: var(--cc-dm-expert-gap, clamp(48px, 6.6vw, 94px));
	padding: 0;
	border: 0;
	border-radius: 0;
}

.cc-dm-hs-expert--layout-wide_image .cc-dm-hs-expert__content {
	justify-content: flex-start;
	gap: 24px;
}

.cc-dm-hs-expert--layout-wide_image .cc-dm-hs-expert__copy {
	max-width: var(--cc-dm-expert-content-width, 663px);
}

.cc-dm-hs-expert--layout-wide_image .cc-dm-hs-expert__title {
	font-size: clamp(34px, 3.8vw, 48px);
	font-weight: 700;
	line-height: 1.17;
}

.cc-dm-hs-expert--layout-wide_image .cc-dm-hs-expert__text {
	max-width: var(--cc-dm-expert-content-width, 663px);
	line-height: 1.32;
}

.cc-dm-hs-expert--layout-wide_image .cc-dm-hs-expert__stat-icon {
	width: 60px;
	height: 60px;
	margin-bottom: 22px;
}

.cc-dm-hs-expert--layout-wide_image .cc-dm-hs-expert__stat-icon-image {
	width: 60px;
	height: 60px;
}

.cc-dm-hs-expert--layout-wide_image .cc-dm-hs-expert__stat-icon-fallback {
	transform: scale(0.82);
	transform-origin: left top;
}

.cc-dm-hs-expert--layout-wide_image .cc-dm-hs-expert__stat-value {
	font-size: clamp(32px, 3vw, 38px);
	font-weight: 600;
	line-height: 1.18;
}

.cc-dm-hs-expert--layout-wide_image .cc-dm-hs-expert__media {
	min-height: var(--cc-dm-expert-media-min-height, clamp(360px, 32vw, 480px));
	border-radius: 16px;
}

@media (max-width: 1100px) {
	.cc-dm-hs-expert__panel {
		grid-template-columns: 1fr;
	}

	.cc-dm-hs-expert--layout-wide_image .cc-dm-hs-expert__panel {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.cc-dm-hs-expert__media {
		min-height: 320px;
	}
}

@media (max-width: 760px) {
	.cc-dm-hs-expert__panel {
		padding: 18px;
		border-radius: 20px;
	}

	.cc-dm-hs-expert--layout-wide_image .cc-dm-hs-expert__panel {
		padding: 0;
		border-radius: 0;
	}

	.cc-dm-hs-expert__stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 26px 14px;
	}

	.cc-dm-hs-expert__stat-icon {
		width: 70px;
		height: 70px;
		margin-bottom: 14px;
	}

	.cc-dm-hs-expert__stat-icon-image {
		width: 70px;
		height: 70px;
	}

	.cc-dm-hs-expert__stat-icon-fallback {
		transform: scale(0.82);
		transform-origin: left top;
	}
}

@media (max-width: 480px) {
	.cc-dm-hs-expert {
		padding-block: 28px;
	}

	.cc-dm-hs-expert__panel {
		gap: 22px;
		padding: 14px;
		border-radius: 18px;
	}

	.cc-dm-hs-expert--layout-wide_image .cc-dm-hs-expert__panel {
		padding: 0;
		border-radius: 0;
	}

	.cc-dm-hs-expert__content {
		gap: 28px;
	}

	.cc-dm-hs-expert__copy {
		gap: 16px;
	}

	.cc-dm-hs-expert__title {
		font-size: 28px;
		line-height: 1.14;
	}

	.cc-dm-hs-expert__text,
	.cc-dm-hs-expert__stat-label {
		font-size: 15px;
	}

	.cc-dm-hs-expert__stats {
		grid-template-columns: 1fr 1fr;
	}

	.cc-dm-hs-expert__stat-value {
		margin-bottom: 8px;
		font-size: 30px;
	}

	.cc-dm-hs-expert__button {
		width: 100%;
		min-height: 50px;
		font-size: 16px;
	}

	.cc-dm-hs-expert__media {
		min-height: 260px;
		border-radius: 14px;
	}
}
