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

.rcc {
	--green: #237a5c;
	--green-dark: #185b45;
	--yellow: #ffc64d;
	--ink: #181818;
	--text: #626d68;
	--muted: #7a837f;
	--line: #e1e8e4;
	--soft: #f4f7f5;
	--white: #ffffff;
	width: 100%;
	overflow: hidden;
	background: var(--white);
	color: var(--ink);
	font-family: "Manrope", sans-serif;
}

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

.rcc-wrap {
	width: min(calc(100% - 48px), 1320px);
	margin: 0 auto;
}

.rcc-crumb {
	display: flex;
	min-height: 62px;
	align-items: center;
	gap: 9px;
	overflow: hidden;
	border-bottom: 1px solid var(--line);
	color: var(--muted);
	font-size: 11px;
	line-height: 1.4;
	white-space: nowrap;
}

.rcc-crumb a {
	color: var(--green);
	font-weight: 700;
}

.rcc-head {
	padding: 76px 0 58px;
}

.rcc-head h1 {
	max-width: 760px;
	margin: 17px 0 0;
	font-size: clamp(54px, 7.3vw, 92px);
	font-weight: 800;
	line-height: .94;
	letter-spacing: -.058em;
}

.rcc-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 26px 22px;
	margin: 0 0 82px;
}

.rcc-card {
	position: relative;
	display: flex;
	min-width: 0;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--line);
	background: var(--white);
	transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}

.rcc-card:hover {
	z-index: 2;
	border-color: #bdcec6;
	box-shadow: 0 18px 42px rgba(24, 69, 52, .09);
	transform: translateY(-5px);
}

.rcc-card:first-child {
	grid-column: span 2;
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr);
	min-height: 405px;
	border-top: 3px solid var(--green);
}

.rcc-card:first-child .rcc-card-img {
	height: 100%;
	min-height: 402px;
	aspect-ratio: auto;
	border-right: 1px solid var(--line);
	border-bottom: 0;
}

.rcc-card:first-child .rcc-card-body {
	justify-content: flex-end;
	padding: 34px 30px;
}

.rcc-card:first-child h2 {
	margin-top: 13px;
	font-size: clamp(26px, 2.7vw, 39px);
	line-height: 1.14;
	letter-spacing: -.038em;
}

.rcc-card-img {
	position: relative;
	display: flex;
	width: 100%;
	aspect-ratio: 16 / 10;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	border-bottom: 1px solid var(--line);
	background: linear-gradient(135deg, #eef3f0 0%, #fafcfb 55%, #f0f4f2 100%);
}

.rcc-card-img::after {
	content: "";
	position: absolute;
	inset: 0;
	border: 1px solid rgba(255, 255, 255, .42);
	pointer-events: none;
}

.rcc-card-img img {
	position: relative;
	z-index: 1;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
	transition: opacity .25s ease;
}

.rcc-card:hover .rcc-card-img img {
	opacity: .94;
}

.rcc-card-img--type {
	padding: 32px;
	background:
		radial-gradient(circle at 82% 16%, rgba(255, 198, 77, .34), transparent 28%),
		linear-gradient(135deg, #185b45 0%, #237a5c 100%);
}

.rcc-card-img--type::before {
	content: "";
	position: absolute;
	right: -22px;
	bottom: -60px;
	width: 175px;
	height: 175px;
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: 50%;
}

.rcc-card-img--type span {
	position: relative;
	z-index: 1;
	color: var(--white);
	font-size: clamp(23px, 2.8vw, 38px);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -.045em;
	text-align: center;
}

.rcc-card-img--type small {
	display: block;
	margin-top: 11px;
	color: rgba(255, 255, 255, .78);
	font-size: 9px;
	font-weight: 800;
	letter-spacing: .13em;
	text-transform: uppercase;
}

.rcc-card-body {
	display: flex;
	min-height: 175px;
	flex: 1;
	flex-direction: column;
	padding: 23px 24px 21px;
}

.rcc-meta {
	display: block;
	color: var(--green);
	font-size: 9px;
	font-weight: 800;
	line-height: 1.45;
	letter-spacing: .11em;
	text-transform: uppercase;
}

.rcc-card h2 {
	margin: 11px 0 23px;
	font-size: clamp(18px, 1.5vw, 21px);
	font-weight: 700;
	line-height: 1.32;
	letter-spacing: -.024em;
}

.rcc-link {
	display: flex;
	margin-top: auto;
	padding-top: 15px;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
	border-top: 1px solid var(--line);
	color: var(--green-dark);
	font-size: 10px;
	font-weight: 800;
}

.rcc-link::after {
	content: "→";
	font-size: 15px;
	transition: transform .25s ease;
}

.rcc-card:hover .rcc-link::after {
	transform: translateX(4px);
}

.rcc-card:not(:first-child)::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	z-index: 3;
	width: 0;
	height: 3px;
	background: var(--yellow);
	transition: width .3s ease;
}

.rcc-card:not(:first-child):hover::before {
	width: 100%;
}

@media (max-width: 1080px) {
	.rcc-head { gap: 40px; }
	.rcc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rcc-card:first-child { grid-column: 1 / -1; }
	.rcc-card:first-child .rcc-card-img { min-height: 350px; }
}

@media (max-width: 820px) {
	.rcc-head {
		padding: 58px 0 45px;
	}
	.rcc-card:first-child {
		display: flex;
		min-height: 0;
	}
	.rcc-card:first-child .rcc-card-img {
		min-height: 0;
		aspect-ratio: 16 / 10;
		border-right: 0;
		border-bottom: 1px solid var(--line);
	}
	.rcc-card:first-child .rcc-card-body { padding: 25px 24px 22px; }
}

@media (max-width: 640px) {
	.rcc-wrap { width: calc(100% - 28px); }
	.rcc-head { padding: 48px 0 38px; }
	.rcc-head h1 { font-size: clamp(48px, 17vw, 68px); }
	.rcc-grid {
		grid-template-columns: 1fr;
		gap: 18px;
		margin-bottom: 58px;
	}
	.rcc-card:first-child { grid-column: auto; }
	.rcc-card-img,
	.rcc-card:first-child .rcc-card-img { aspect-ratio: 16 / 10; }
	.rcc-card-body,
	.rcc-card:first-child .rcc-card-body {
		min-height: 0;
		padding: 21px 20px 19px;
	}
	.rcc-card:first-child h2,
	.rcc-card h2 {
		font-size: 19px;
		line-height: 1.32;
	}
	.rcc-card:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
	.rcc-card,
	.rcc-card-img img,
	.rcc-link::after,
	.rcc-card::before { transition: none; }
}
