/**
 * Single Crop Page
 *
 * Figma nodes 552:8211, 552:8234, 552:8330, 552:8402, 552:8446
 *
 * @package Irritech
 */

body.single-crop .site-main {
	padding-block: 0;
}

/* Hero — 552:8211 */
.crop-single-hero {
	position: relative;
	min-height: 819px;
	overflow: hidden;
}

.crop-single-hero__media {
	position: absolute;
	inset: 0;
}

.crop-single-hero__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.crop-single-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		90deg,
		rgba(2, 33, 3, 0.85) 0%,
		rgba(2, 33, 3, 0.4) 50%,
		rgba(2, 33, 3, 0.1) 100%
	);
}

.crop-single-hero__inner {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: flex-end;
	min-height: 819px;
	padding-block: 64px;
}

.crop-single-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 64px;
	align-items: end;
	width: 100%;
}

.crop-single-hero__main {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.crop-single-hero__breadcrumb-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	margin: 0;
	padding: 0 0 16px 2px;
	list-style: none;
}

.crop-single-hero__breadcrumb-item {
	display: flex;
	align-items: center;
}

.crop-single-hero__breadcrumb-link,
.crop-single-hero__breadcrumb-current {
	display: inline-flex;
	padding-block: 6px;
	font-family: var(--font-family-heading);
	font-size: 1rem;
	line-height: 1.5;
	color: #ffffff;
	text-decoration: none;
}

.crop-single-hero__breadcrumb-link:hover,
.crop-single-hero__breadcrumb-link:focus-visible {
	text-decoration: underline;
}

.crop-single-hero__breadcrumb-current {
	font-weight: 600;
}

.crop-single-hero__breadcrumb-separator {
	display: flex;
	align-items: center;
}

.crop-single-hero__breadcrumb-separator img {
	display: block;
	width: 8px;
	height: 8px;
}

.crop-single-hero__title {
	margin: 0;
	font-family: var(--font-family-heading);
	font-size: clamp(2rem, 4vw, 3.5rem);
	font-weight: 700;
	line-height: 1.14;
	color: #ffffff;
}

.crop-single-hero__description {
	margin: 0;
	font-family: var(--font-family-heading);
	font-size: 1rem;
	line-height: 1.5;
	color: #ffffff;
}

/* Overview — 552:8234 */
.crop-single-overview {
	padding-block: 120px;
	background-color: var(--color-background);
}

.crop-single-overview__inner {
	display: flex;
	flex-direction: column;
	gap: 64px;
}

.crop-single-overview__title {
	margin: 0;
	font-family: var(--font-family-heading);
	font-size: clamp(2rem, 4vw, 3.5rem);
	font-weight: 700;
	line-height: 1.14;
	color: #000000;
	text-align: center;
	letter-spacing: -0.02em;
}

.crop-single-overview__stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
}

.crop-single-overview__stat {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 33px;
	text-align: center;
	background-color: #ffffff;
	border: 1px solid #edeeef;
	border-radius: 12px;
	box-shadow: 0 10px 15px rgba(2, 33, 3, 0.05);
}

.crop-single-overview__stat-icon-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	margin-bottom: 16px;
	background-color: #fbfdec;
	border-radius: 9999px;
}

.crop-single-overview__stat-icon {
	display: block;
	width: 24px;
	height: 24px;
}

.crop-single-overview__stat-label {
	margin: 0 0 4px;
	font-family: var(--font-family-heading);
	font-size: 1rem;
	line-height: 1.5;
	color: #011301;
}

.crop-single-overview__stat-value {
	margin: 0;
	font-family: var(--font-family-heading);
	font-size: clamp(1.125rem, 2vw, 1.5rem);
	font-weight: 600;
	line-height: 1.17;
	color: #222a2e;
}

.crop-single-overview__stat-caption {
	margin: 8px 0 0;
	font-family: var(--font-family-heading);
	font-size: 1rem;
	line-height: 1.5;
	color: #011301;
}

.crop-single-overview__content {
	display: flex;
	flex-direction: column;
	gap: 24px;
	max-width: 1280px;
}

.crop-single-overview__content ul {
	list-style: disc;
	padding-left: 34px;
}

.crop-single-overview__block {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.crop-single-overview__content h2 {
	margin: 0;
	font-family: var(--font-family-heading);
	font-size: clamp(1.5rem, 2.5vw, 2rem);
	font-weight: 600;
	line-height: 1.17;
	color: #222a2e;
}

.crop-single-overview__heading, .crop-single-overview__content h3 {
	margin: 0;
	font-family: var(--font-family-heading);
	font-size: clamp(1.25rem, 2.5vw, 1.5rem);
	font-weight: 600;
	line-height: 1.17;
	color: #222a2e;
}

.crop-single-overview__block p, .crop-single-overview__content {
	margin: 0;
	font-family: var(--font-family-heading);
	font-size: 1rem;
	line-height: 1.5;
	color: #222a2e;
}

.crop-single-overview__list {
	margin: 0;
	padding-left: 24px;
	font-family: var(--font-family-heading);
	font-size: 1rem;
	line-height: 1.5;
	color: #222a2e;
}

.crop-single-overview__list li + li {
	margin-top: 0;
}

.crop-single-overview__list--nested {
	padding-left: 48px;
}

/* Related posts — 552:8330 */
.crop-single-posts {
	padding-block: 100px 120px;
	background-color: #ffffff;
}

.crop-single-posts__inner {
	display: flex;
	flex-direction: column;
	gap: 64px;
}

.crop-single-posts__title {
	margin: 0;
	font-family: var(--font-family-heading);
	font-size: clamp(2rem, 4vw, 3.5rem);
	font-weight: 700;
	line-height: 1.14;
	color: #000000;
	text-align: center;
	letter-spacing: -0.02em;
}

.crop-single-posts__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px;
}

.crop-single-posts__card {
	overflow: hidden;
	background-color: #ffffff;
	border-radius: 16px;
	box-shadow:
		0 10px 15px -3px rgba(0, 0, 0, 0.1),
		0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.crop-single-posts__card-link {
	display: flex;
	flex-direction: column;
	height: 100%;
	color: inherit;
	text-decoration: none;
}

.crop-single-posts__card-media {
	flex-shrink: 0;
	height: 256px;
	overflow: hidden;
}

.crop-single-posts__card-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.crop-single-posts__card-body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 8px;
	padding: 32px;
}

.crop-single-posts__card-meta {
	margin: 0;
	font-family: var(--font-family-heading);
	font-size: 1rem;
	line-height: 1.5;
	color: #222a2e;
}

.crop-single-posts__card-title {
	margin: 0;
	font-family: var(--font-family-heading);
	font-size: clamp(1.125rem, 2vw, 1.5rem);
	font-weight: 600;
	line-height: 1.33;
	color: #1d2529;
}

.crop-single-posts__card-excerpt {
	margin: 0;
	padding-top: 8px;
	font-family: var(--font-family-heading);
	font-size: 1rem;
	line-height: 1.5;
	color: #222a2e;
}

.crop-single-posts__footer {
	display: flex;
	justify-content: center;
}

.crop-single-posts__more {
	display: inline-flex;
	padding-bottom: 2px;
	font-family: var(--font-family-heading);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.5;
	color: #344c33;
	text-decoration: none;
	border-bottom: 2px solid #022103;
}

.crop-single-posts__more:hover,
.crop-single-posts__more:focus-visible {
	color: #022103;
}

/* Projects — 552:8402 */
.crop-single-projects {
	padding-block: 120px;
	background-color: #022103;
}

.crop-single-projects__inner {
	display: flex;
	flex-direction: column;
	gap: 64px;
}

.crop-single-projects__header {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.crop-single-projects__title {
	margin: 0;
	font-family: var(--font-family-heading);
	font-size: clamp(2rem, 4vw, 3.5rem);
	font-weight: 700;
	line-height: 1.14;
	color: #ffffff;
}

.crop-single-projects__description {
	margin: 0;
	max-width: 576px;
	font-family: var(--font-family-heading);
	font-size: 1rem;
	line-height: 1.5;
	color: #ffffff;
}

.crop-single-projects__carousel {
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.crop-single-projects__track {
	margin-inline: -16px;
}

.crop-single-projects__track .slick-list {
	overflow: visible;
}

.crop-single-projects__track .slick-slide {
	height: auto;
}

.crop-single-projects__track .slick-slide > div {
	height: 100%;
}

.crop-single-projects__slide {
	height: 100%;
	padding-inline: 16px;
}

.crop-single-projects__card {
	position: relative;
	display: block;
	height: 400px;
	overflow: hidden;
	border-radius: 12px;
	text-decoration: none;
}

.crop-single-projects__card-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.crop-single-projects__card-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 40px;
	background: linear-gradient(
		180deg,
		rgba(2, 33, 3, 0) 0%,
		rgba(2, 33, 3, 0.2) 50%,
		rgba(2, 33, 3, 0.9) 100%
	);
}

.crop-single-projects__card-title {
	margin: 0 0 8px;
	font-family: var(--font-family-heading);
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.2;
	color: #ffffff;
}

.crop-single-projects__card-text {
	margin: 0 0 24px;
	font-family: var(--font-family-heading);
	font-size: 1rem;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.92);
}

.crop-single-projects__card-link {
	display: inline-flex;
	gap: 4px;
	align-items: center;
	font-family: var(--font-family-heading);
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.43;
	color: #ffffff;
}

.crop-single-projects__card-link img {
	display: block;
	width: 16px;
	height: 16px;
}

.crop-single-projects__nav {
	display: flex;
	gap: 16px;
	justify-content: center;
}

.crop-single-projects__nav-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 0;
	border-radius: 9999px;
	cursor: pointer;
	transition: opacity 0.2s ease;
}

.crop-single-projects__nav-btn img {
	display: block;
	width: 20px;
	height: 14px;
}

.crop-single-projects__nav-btn--prev {
	background-color: rgba(255, 255, 255, 0.1);
}

.crop-single-projects__nav-btn--next {
	background-color: #dfeb38;
}

.crop-single-projects__nav-btn.slick-disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

.crop-single-projects__nav-btn:not(.slick-disabled):hover,
.crop-single-projects__nav-btn:not(.slick-disabled):focus-visible {
	opacity: 0.85;
}

/* CTA — 552:8446 */
.crop-single-cta {
	padding-block: 120px;
	background-color: #ffffff;
}

.crop-single-cta__inner {
	position: relative;
}

.crop-single-cta__card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 24px;
	align-items: center;
	padding: 97px;
	overflow: hidden;
	text-align: center;
	background-color: #ffffff;
	border: 1px solid #e1e3e4;
	border-radius: 32px;
	box-shadow: 0 10px 30px rgba(2, 33, 3, 0.05);
}

.crop-single-cta__glow {
	position: absolute;
	top: 0;
	left: 50%;
	width: 256px;
	height: 256px;
	background-color: rgba(209, 237, 140, 0.2);
	border-radius: 9999px;
	filter: blur(50px);
	transform: translateX(-50%);
	pointer-events: none;
}

.crop-single-cta__title {
	position: relative;
	z-index: 1;
	margin: 0;
	font-family: var(--font-family-heading);
	font-size: clamp(2rem, 4vw, 3.5rem);
	font-weight: 700;
	line-height: 1.14;
	color: #022103;
	letter-spacing: -0.02em;
}

.crop-single-cta__description {
	position: relative;
	z-index: 1;
	max-width: 672px;
	margin: 0;
	font-family: var(--font-family-base);
	font-size: 1.125rem;
	line-height: 1.56;
	color: #434840;
}

.crop-single-cta__actions {
	position: relative;
	z-index: 1;
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	justify-content: center;
	padding-top: 24px;
}

.crop-single-cta__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 56px;
	padding: 17.5px 32px;
	font-family: var(--font-family-heading);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.5;
	text-decoration: none;
	border-radius: 8px;
	transition: opacity 0.2s ease;
}

.crop-single-cta__btn:hover,
.crop-single-cta__btn:focus-visible {
	opacity: 0.9;
}

.crop-single-cta__btn--primary {
	color: #ffffff !important;
	background-color: #022103;
}

.crop-single-cta__btn--secondary {
	color: #222a2e !important;
	background-color: #dfeb38;
}

/* Responsive */
@media (max-width: 1200px) {
	.crop-single-overview__stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.crop-single-posts__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 1024px) {
	.crop-single-hero,
	.crop-single-hero__inner {
		min-height: 640px;
	}

	.crop-single-hero__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}
}

@media (max-width: 768px) {
	.crop-single-overview,
	.crop-single-posts,
	.crop-single-projects,
	.crop-single-cta {
		padding-block: 80px;
	}

	.crop-single-overview__inner,
	.crop-single-posts__inner,
	.crop-single-projects__inner {
		gap: 40px;
	}

	.crop-single-overview__stats,
	.crop-single-posts__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.crop-single-cta__card {
		padding: 48px 24px;
	}

	.crop-single-cta__actions {
		flex-direction: column;
		width: 100%;
	}

	.crop-single-cta__btn {
		width: 100%;
	}
}
