/**
 * Styles adapted from Portfolio Extended element.
 */
.belman-portfolio-grid {
	margin: 2rem 0;
}

.belman-filter-groups {
	margin-bottom: 30px;
}

.belman-filter-group {
	margin-bottom: 20px;
}

.belman-filter-group__label {
	text-transform: uppercase;
	font-size: 12px;
	letter-spacing: 0.08em;
	margin-bottom: 8px;
	color: #6b7280;
}

.belman-portfolio-grid .portfolio-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.belman-portfolio-grid .portfolio-filters .belman-filter {
	display: inline-block;
	padding: 8px 24px 6px;
	text-transform: uppercase;
	border-radius: 999px;
	line-height: 1;
	margin-bottom: 5px;
	background: #eef1f3;
	color: #5a6675;
	font-size: 12px;
	font-weight: 300;
	border: 1px solid transparent;
	cursor: pointer;
}

.belman-portfolio-grid .portfolio-filters .belman-filter:hover,
.belman-portfolio-grid .portfolio-filters .belman-filter.active {
	background: #26795f;
	color: #fff;
}

.belman-portfolio-grid .portfolio-container {
	display: flex;
	gap: 40px;
	max-width: 1200px;
	flex-wrap: wrap;
	justify-content: center;
	margin: 20px auto;
}

.belman-portfolio-grid .portfolio-item {
	background-color: #f0f3f2;
	overflow: hidden;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s;
	flex: 1 1 calc(50% - 20px);
	max-width: calc(50% - 20px);
}

@media (max-width: 640px) {
	.belman-portfolio-grid .portfolio-container {
		gap: 20px;
	}

	.belman-portfolio-grid .portfolio-item {
		flex: 1 1 100%;
		max-width: 100%;
	}
}

.belman-portfolio-grid .portfolio-item:hover {
	transform: translateY(-10px);
}

.belman-portfolio-grid .portfolio-image-container {
	position: relative;
	display: block;
	width: 100%;
	padding-top: 50%;
	overflow: hidden;
}

.belman-portfolio-grid .portfolio-image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.belman-portfolio-grid .portfolio-content {
	padding: 15px;
	text-align: center;
}

.belman-portfolio-grid .portfolio-title a {
	font-size: 16px;
	font-weight: bold;
	margin: 15px 0;
	color: #3c3950;
}

.belman-portfolio-grid .caption-separator {
	width: 50px;
	height: 1px;
	max-width: 100%;
	margin: 10px auto;
	transition: all 0.2s linear;
	background-color: #369375;
}

.belman-portfolio-grid .portfolio-item:hover .caption-separator {
	width: 80px;
}

.belman-portfolio-grid .portfolio-location {
	font-size: 12px;
	color: #777;
	text-transform: capitalize;
}

.belman-portfolio-grid .portfolio-category {
	color: #369375;
	font-size: 12px;
}

.belman-portfolio-grid .portfolio-item.is-hidden {
	display: none;
}

.belman-load-more-wrapper {
	text-align: center;
	margin-top: 30px;
}

.belman-load-more {
	display: inline-block;
	padding: 15px 30px;
	text-transform: uppercase;
	background-color: #369375;
	color: #fff;
	border: none;
	border-radius: 3px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}

.belman-load-more:hover {
	background-color: #2f7c63;
}

.belman-portfolio-grid__placeholder {
	text-align: center;
	font-size: 1rem;
	color: #4a5562;
}
