.arp-projects {
	--arp-primary: #2f7d32;
	--arp-accent: #d6a62a;
	--arp-columns: 3;
	display: grid;
	grid-template-columns: repeat(var(--arp-columns), minmax(0, 1fr));
	gap: 28px;
	width: 100%;
	font-family: inherit;
}

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

.arp-project-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	background: #fff;
	border: 1px solid rgba(20, 55, 25, .10);
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 12px 34px rgba(25, 55, 30, .09);
	transition: transform .28s ease, box-shadow .28s ease;
}

.arp-project-card:hover {
	transform: translateY(-7px);
	box-shadow: 0 20px 46px rgba(25, 55, 30, .15);
}

.arp-project-media {
	position: relative;
	min-height: 225px;
	background: linear-gradient(145deg, var(--arp-primary), #123d22);
	overflow: hidden;
}

.arp-project-image,
.arp-project-image img {
	display: block;
	width: 100%;
	height: 100%;
}

.arp-project-image {
	position: absolute;
	inset: 0;
}

.arp-project-image img {
	object-fit: cover;
	transition: transform .45s ease;
}

.arp-project-card:hover .arp-project-image img {
	transform: scale(1.055);
}

.arp-project-media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(8, 30, 14, .52), rgba(8, 30, 14, .03) 60%);
	pointer-events: none;
}

.arp-project-placeholder {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background:
		radial-gradient(circle at 78% 20%, rgba(255,255,255,.18), transparent 24%),
		linear-gradient(145deg, var(--arp-primary), #143f24);
}

.arp-project-placeholder::before,
.arp-project-placeholder::after {
	content: "";
	position: absolute;
	bottom: -18%;
	width: 70%;
	height: 55%;
	border-radius: 50% 50% 0 0;
	background: rgba(255,255,255,.07);
	transform: rotate(-8deg);
}

.arp-project-placeholder::after {
	right: -20%;
	bottom: -9%;
	transform: rotate(12deg);
	background: rgba(255,255,255,.10);
}

.arp-project-placeholder .arp-leaf-icon {
	position: relative;
	z-index: 2;
	width: 78px;
	height: 78px;
	color: rgba(255,255,255,.78);
}

.arp-project-number,
.arp-project-status {
	position: absolute;
	z-index: 3;
	top: 18px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 34px;
	padding: 7px 13px;
	font-size: 13px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: .04em;
	border-radius: 999px;
}

.arp-project-number {
	inset-inline-start: 18px;
	min-width: 44px;
	background: var(--arp-accent);
	color: #fff;
}

.arp-project-status {
	inset-inline-end: 18px;
	background: rgba(255,255,255,.94);
	color: var(--arp-primary);
}

.arp-project-content {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 24px;
}

.arp-project-title {
	margin: 0 0 12px;
	font-size: clamp(20px, 1.55vw, 26px);
	line-height: 1.32;
	font-weight: 800;
}

.arp-project-title a {
	color: #18351f;
	text-decoration: none;
	transition: color .2s ease;
}

.arp-project-title a:hover {
	color: var(--arp-primary);
}

.arp-project-excerpt {
	margin-bottom: 18px;
	color: #657069;
	font-size: 15px;
	line-height: 1.75;
}

.arp-project-excerpt p {
	margin: 0;
}

.arp-project-details {
	margin-top: auto;
	padding-top: 17px;
	border-top: 1px solid rgba(28, 76, 36, .10);
}

.arp-detail-row {
	display: grid;
	grid-template-columns: minmax(80px, .42fr) minmax(0, 1fr);
	gap: 12px;
	padding: 7px 0;
	font-size: 13px;
	line-height: 1.55;
}

.arp-detail-label {
	font-weight: 800;
	color: #29452f;
}

.arp-detail-value {
	color: #6b746e;
	overflow-wrap: anywhere;
}

.arp-projects[dir="rtl"] .arp-project-title,
.arp-projects[dir="rtl"] .arp-project-excerpt,
.arp-projects[dir="rtl"] .arp-detail-row {
	text-align: right;
}

.arp-empty {
	padding: 24px;
	text-align: center;
}

@media (max-width: 1024px) {
	.arp-projects {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.arp-projects {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.arp-project-media {
		min-height: 205px;
	}

	.arp-project-content {
		padding: 21px;
	}

	.arp-detail-row {
		grid-template-columns: minmax(72px, .40fr) minmax(0, 1fr);
	}
}
