.epm-lacas-slujitori--sidebar {
	display: grid;
	gap: 20px;
	width: 100%;
	max-width: 100%;
}

.epm-lacas-slujitori__card--sidebar {
	display: grid;
	grid-template-columns: 150px minmax(0, 1fr);
	align-items: stretch;
	gap: 18px;
	width: 100%;
	padding: 16px;
	box-sizing: border-box;
	background: #fff;
	border: 1px solid #e7e1d6;
	border-radius: 20px;
/*	box-shadow: 0 8px 20px rgba(30, 26, 18, 0.06);*/
	overflow: hidden;
}

.epm-lacas-slujitori__photo--sidebar {
	margin: 0;
}

.epm-lacas-slujitori__photo-frame--sidebar {
	padding: 0;
	background: #f7f4ee;
	border: 1px solid #eee7da;
	border-radius: 14px;
	overflow: hidden;
	height: 100%;
}

.epm-lacas-slujitori__photo--sidebar img {
	display: block;
	width: 150px;
	height: 200px;
	object-fit: cover;
	border-radius: 14px;
	background: #f3efe8;
}

.epm-lacas-slujitori__body--sidebar {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
	padding: 4px 2px 4px 0;
}

.epm-lacas-slujitori__role--sidebar {
	font-size: 15px;
	line-height: 1.3;
	font-weight: 600;
	color: #7f6a44;
	margin-bottom: 6px;
}

.epm-lacas-slujitori__name--sidebar {
	font-size: 24px;
	line-height: 1.2;

font-family: "Sorts Mill Goudy", Sans-serif;
	margin-bottom: 8px;
}

.epm-lacas-slujitori__name--sidebar a {
	color: inherit;
	text-decoration: none;
}

.epm-lacas-slujitori__name--sidebar a:hover {
	text-decoration: underline;
}

.epm-lacas-slujitori__rank--sidebar {
	font-size: 15px;
	line-height: 1.45;
	color: #6d7481;
	margin-bottom: 12px;
}

.epm-lacas-slujitori__meta--sidebar {
	display: grid;
	gap: 8px;
}

.epm-lacas-slujitori__meta-item {
	display: flex;
	align-items: center;
	gap: 9px;
	min-width: 0;
}

.epm-lacas-slujitori__meta-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
	color: #2557a7;
}

.epm-lacas-slujitori__meta-icon svg {
	display: block;
	width: 18px;
	height: 18px;
}

.epm-lacas-slujitori__meta-value {
	font-size: 16px;
	line-height: 1.45;
	color: #4a5361;
	min-width: 0;
	word-break: break-word;
}

.epm-lacas-slujitori__meta-value a {
	color: #2557a7;
	text-decoration: none;
}

.epm-lacas-slujitori__meta-value a:hover {
	text-decoration: underline;
}

.epm-lacas-slujitori__photo-link {
	display: block;
	text-decoration: none;
	cursor: zoom-in;
}

.epm-lacas-slujitori__photo-link img {
	display: block;
}

/* layout full existent, păstrat pentru compatibilitate */
.epm-lacas-slujitori--full {
	display: grid;
	gap: 26px;
	width: 100%;
}

.epm-lacas-slujitori__card--full {
	display: grid;
	align-items: center;
	width: 100%;
	box-sizing: border-box;
	padding: 28px 30px;
	background: linear-gradient(180deg, #ffffff 0%, #fcfaf5 100%);
	border: 1px solid #ebe3d4;
	border-radius: 28px;
	box-shadow: 0 12px 34px rgba(36, 27, 12, 0.08);
	position: relative;
	overflow: hidden;
}

.epm-lacas-slujitori__card--full::before {
	content: '';
	position: absolute;
	inset: 0 auto 0 0;
	width: 5px;
	background: linear-gradient(180deg, #c6a75d 0%, #e4cf9a 100%);
	opacity: 0.95;
}

.epm-lacas-slujitori__photo--full {
	margin: 0;
	min-width: 0;
}

.epm-lacas-slujitori__photo-frame {
	background: #f7f1e4;
	border: 1px solid #e6d7b6;
	border-radius: 22px;
	padding: 8px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.epm-lacas-slujitori__photo--full img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
	background: #f4efe7;
	border-radius: 16px;
}

.epm-lacas-slujitori__card--featured {
	grid-template-columns: 200px minmax(260px, 1fr) minmax(320px, 380px);
	gap: 32px;
}

.epm-lacas-slujitori__card--featured .epm-lacas-slujitori__photo--full img {
	max-width: 200px;
	aspect-ratio: 4 / 5;
}

.epm-lacas-slujitori__card--featured .epm-lacas-slujitori__name--full {
	font-size: 33px;
	line-height: 1.08;
}

.epm-lacas-slujitori__card--medium {
	grid-template-columns: 170px minmax(230px, 1fr) minmax(290px, 350px);
	gap: 24px;
	padding: 24px 26px;
}

.epm-lacas-slujitori__card--medium .epm-lacas-slujitori__photo--full img {
	max-width: 170px;
	aspect-ratio: 4 / 5;
}

.epm-lacas-slujitori__card--medium .epm-lacas-slujitori__name--full {
	font-size: 27px;
	line-height: 1.1;
}

.epm-lacas-slujitori__card--compact {
	grid-template-columns: 120px minmax(210px, 1fr) minmax(260px, 320px);
	gap: 20px;
	padding: 18px 22px;
	border-radius: 24px;
}

.epm-lacas-slujitori__card--compact .epm-lacas-slujitori__photo-frame {
	padding: 6px;
	border-radius: 18px;
}

.epm-lacas-slujitori__card--compact .epm-lacas-slujitori__photo--full img {
	max-width: 120px;
	aspect-ratio: 1 / 1;
	border-radius: 14px;
}

.epm-lacas-slujitori__card--compact .epm-lacas-slujitori__name--full {
	font-size: 22px;
	line-height: 1.15;
}

.epm-lacas-slujitori__card--compact .epm-lacas-slujitori__role--full {
	font-size: 15px;
	margin-bottom: 4px;
}

.epm-lacas-slujitori__body--full {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 8px;
	min-width: 0;
}

.epm-lacas-slujitori__role--full {
	font-size: 16px;
	line-height: 1.35;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: #8a6b2f;
}

.epm-lacas-slujitori__name--full {
	font-family: Georgia, "Times New Roman", serif;
	font-weight: 700;
	color: #18253b;
}

.epm-lacas-slujitori__name--full a,
.epm-lacas-slujitori__name a,
.epm-lacas-slujitori__inline-name {
	color: inherit;
	text-decoration: none;
}

.epm-lacas-slujitori__name--full a:hover,
.epm-lacas-slujitori__name a:hover,
.epm-lacas-slujitori__inline-name:hover {
	text-decoration: underline;
}

.epm-lacas-slujitori__rank--full,
.epm-lacas-slujitori__rank {
	font-size: 15px;
	line-height: 1.55;
	color: #6c6f76;
	max-width: 42ch;
}

.epm-lacas-slujitori__meta {
	display: grid;
	gap: 12px;
	align-content: center;
	min-width: 0;
}

.epm-lacas-slujitori--inline {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 14px;
}

.epm-lacas-slujitori__inline-item {
	font-size: 16px;
	line-height: 1.5;
}

.epm-lacas-slujitori__inline-role {
	font-weight: 600;
	color: #7b6340;
}

.epm-lacas-slujitori--compact-shortcode {
	display: grid;
	gap: 14px;
}

.epm-lacas-slujitori__card--compact-shortcode,
.epm-lacas-slujitori__card--legacy-shortcode {
	padding: 18px 22px;
	background: #fff;
	border: 1px solid #ece6db;
	border-radius: 20px;
}

.epm-lacas-slujitori__compact-phone,
.epm-lacas-slujitori__legacy-meta {
	margin-top: 8px;
	font-size: 15px;
	line-height: 1.5;
	color: #555;
}

.epm-lacas-slujitori__compact-phone a {
	color: #2c4d88;
	text-decoration: none;
}

.epm-lacas-slujitori__compact-phone a:hover {
	text-decoration: underline;
}

.epm-lacas-slujitori__role {
	font-size: 17px;
	line-height: 1.3;
	font-weight: 500;
	color: #7b6340;
	margin-bottom: 6px;
}

.epm-lacas-slujitori__name {
	font-size: 22px;
	line-height: 1.2;
font-family: "Sorts Mill Goudy", Sans-serif;

}

.epm-lacas-slujitori__photo img {
	display: block;
	max-width: 180px;
	width: 100%;
	height: auto;
	border-radius: 16px;
}

/* responsive */
@media (max-width: 1024px) {
	.epm-lacas-slujitori__card--sidebar {
		grid-template-columns: 126px minmax(0, 1fr);
	}

	.epm-lacas-slujitori__photo--sidebar img {
		width: 126px;
		height: 168px;
	}

	.epm-lacas-slujitori__name--sidebar {
		font-size: 19px;
	}

	.epm-lacas-slujitori__rank--sidebar,
	.epm-lacas-slujitori__meta-value {
		font-size: 14px;
	}
}

@media (max-width: 767px) {
	.epm-lacas-slujitori__card--sidebar {
		grid-template-columns: 96px 1fr;
		gap: 12px;
		padding: 12px;
		border-radius: 16px;
	}

	.epm-lacas-slujitori__photo--sidebar img {
		width: 96px;
		height: 128px;
		border-radius: 12px;
	}

	.epm-lacas-slujitori__photo-frame--sidebar {
		border-radius: 12px;
	}

	.epm-lacas-slujitori__name--sidebar {
		font-size: 16px;
	}

	.epm-lacas-slujitori__role--sidebar {
		font-size: 12px;
	}

	.epm-lacas-slujitori__rank--sidebar,
	.epm-lacas-slujitori__meta-value {
		font-size: 14px;
	}

	.epm-lacas-slujitori__meta {
		gap: 7px;
	}

	.epm-lacas-slujitori__card--featured,
	.epm-lacas-slujitori__card--medium,
	.epm-lacas-slujitori__card--compact {
		grid-template-columns: 1fr;
	}

	.epm-lacas-slujitori__photo--full,
	.epm-lacas-slujitori__photo {
		display: flex;
		justify-content: center;
	}
}