.dg-4c35a047-wrapper {
	width: 100%;
}

.dg-4c35a047-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 30px;
	justify-content: flex-start;
}

.dg-4c35a047-filter-btn {
	background: transparent;
	border: 1px solid #ddd;
	border-radius: 20px;
	padding: 8px 20px;
	cursor: pointer;
	font-size: 14px;
	color: #333;
	transition: all 0.3s ease;
}

.dg-4c35a047-filter-btn.active,
.dg-4c35a047-filter-btn:hover {
	background: #234336;
	color: #fff;
	border-color: #234336;
}

.dg-4c35a047-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.dg-4c35a047-item {
	display: block;
}

.dg-4c35a047-card {
	position: relative;
	height: 450px;
	background-size: cover;
	background-position: center;
	border-radius: 8px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 30px;
	transition: all 0.4s ease;
	cursor: pointer;
}

.dg-4c35a047-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(to top, rgba(35, 67, 54, 0.9) 0%, rgba(35, 67, 54, 0) 60%);
	z-index: 1;
	transition: all 0.4s ease;
}

.dg-4c35a047-card:hover::before {
	background: linear-gradient(to top, rgba(35, 67, 54, 0.95) 0%, rgba(35, 67, 54, 0.4) 100%);
}

.dg-4c35a047-content {
	position: relative;
	z-index: 2;
	color: #fff;
}

.dg-4c35a047-header {
	transition: transform 0.4s ease;
}

.dg-4c35a047-card:hover .dg-4c35a047-header {
	transform: translateY(-5px); 
}

.dg-4c35a047-cat {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: #dcb36d;
	margin-bottom: 5px;
	font-weight: 600;
}

.dg-4c35a047-title {
	font-size: 24px;
	margin: 0 0 10px 0;
	color: #fff;
	font-weight: 400;
}

.dg-4c35a047-reveal {
	transition: all 0.4s ease;
}

/* Hide description initially */
.dg-4c35a047-desc {
    opacity: 0;
	max-height: 0;
	font-size: 14px;
	line-height: 1.5;
	margin: 0;
	color: rgba(255, 255, 255, 0.9);
    transition: all 0.4s ease;
    overflow: hidden;
}

/* Show description on hover */
.dg-4c35a047-card:hover .dg-4c35a047-desc {
    opacity: 1;
	max-height: 150px;
    margin-bottom: 15px;
    margin-top: 10px;
}

.dg-4c35a047-exp {
	font-size: 12px;
	margin-bottom: 15px;
    margin-top: 15px;
	color: #fff;
}

.dg-4c35a047-link {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	color: #fff;
	text-decoration: none;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-weight: 600;
}

.dg-4c35a047-link:hover {
	color: #dcb36d;
}

.dg-4c35a047-link svg {
	transition: transform 0.3s ease;
}

.dg-4c35a047-link:hover svg {
	transform: translateX(5px);
}

/* Summary Card Styles */
.dg-4c35a047-summary-wrapper {
	grid-column: span 2; /* Spans two columns in the grid */
	display: flex;
}

.dg-4c35a047-summary {
	background-color: #fcfaf5;
	border-radius: 8px;
	padding: 0; /* Padding is handled by the inner wrappers now */
	display: flex;
	flex-direction: column;
	width: 100%;
	position: relative;
	overflow: hidden;
}

.dg-4c35a047-summary::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	pointer-events: none;
}

.dg-4c35a047-summary-content {
	flex-grow: 1;
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	padding: 40px 40px 0 40px; /* Top and sides padding */
}

.dg-4c35a047-summary-subtitle {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: #d88b5a;
	margin-bottom: 15px;
	font-weight: 600;
}

.dg-4c35a047-summary-title {
	font-size: 42px;
	color: #2a2a2a;
	margin: 0 0 20px 0;
	font-weight: 400;
	line-height: 1.2;
}

.dg-4c35a047-title-part1 {
	/* Uses summary_title_typography controls */
}

.dg-4c35a047-title-part2 {
	/* Uses summary_title_italic_typography controls */
}

.dg-4c35a047-summary-desc {
	font-size: 16px;
	color: #555;
	margin: 0 0 40px 0;
	line-height: 1.6;
	max-width: 90%;
}

.dg-4c35a047-stats-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin-bottom: 0;
}

.dg-4c35a047-stat-num {
	font-size: 36px;
	color: #d88b5a;
	font-weight: 300;
	margin-bottom: 5px;
}

.dg-4c35a047-stat-label {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #333;
	font-weight: 600;
	line-height: 1.4;
}

.dg-4c35a047-summary-image {
	margin-top: 40px;
	text-align: center;
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: flex-end; /* Align image to the bottom */
    position: relative;
    z-index: 2;
    background: transparent;
}

.dg-4c35a047-summary-image img {
	width: 100%; /* Default to full width, adjustable via controls */
	height: auto;
	object-fit: cover;
	display: block; /* Remove bottom whitespace */
    background: transparent;
}


.dg-4c35a047-custom-content {
	width: 100%;
}

/* Responsive Styles */
@media (max-width: 1024px) {
	.dg-4c35a047-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	
	.dg-4c35a047-summary-wrapper {
		grid-column: span 2;
	}
	
	.dg-4c35a047-summary-title {
		font-size: 32px;
	}
	
	.dg-4c35a047-stats-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 30px;
	}
}

@media (max-width: 767px) {
	.dg-4c35a047-grid {
		grid-template-columns: 1fr;
	}
	
	.dg-4c35a047-summary-wrapper {
		grid-column: span 1;
	}
	
	.dg-4c35a047-summary-content {
		padding: 30px 20px 0 20px;
	}
	
	.dg-4c35a047-summary-title {
		font-size: 28px;
	}
	
	.dg-4c35a047-summary-desc {
		max-width: 100%;
	}
	
	.dg-4c35a047-stats-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
	}
	
	.dg-4c35a047-stat-num {
		font-size: 28px;
	}
}
