/* Container for profile preview cards */
.opn-preview, .opn_profile {
	border: 1px solid #ddd;
	border-radius: 6px;
	padding: 12px;
	margin: 12px 0;
	display: flex;
	gap: 12px;
	align-items: center;
	background: #fff;
	box-shadow: 0 1px 3px rgb(0 0 0 / 0.1);
	transition: box-shadow 0.3s ease;
	text-decoration: none;
	color: inherit;
	line-height: 1.6;
}
.opn-preview:hover {
	box-shadow: 0 4px 12px rgb(0 0 0 / 0.15);
}

/* Image styling inside preview */
.opn-preview img {
	width: 128px;
	height: auto;
	border-radius: 6px;
	object-fit: cover;
	flex-shrink: 0;
	background-color: #eee;
}

/* Text container inside preview */
.opn-preview > a > div {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

/* Profile name and title */
.opn-preview strong {
	font-size: 1.1rem;
	line-height: 1.2;
}

/* Location & department links */
.opn-preview span a {
	color: #0073aa;
	text-decoration: none;
	font-size: 0.9rem;
}
.opn-preview span a:hover {
	text-decoration: underline;
}

/* Email styling */
.opn-preview small a {
	color: #555;
	font-size: 0.85rem;
	word-break: break-word;
}

/* Profile detail page styles */
.entry-content.clearfix {
	margin: 1.5em auto;
	padding: 0 1em;
	line-height: 1.6;
	color: #333;
	background: #fff;
	border-radius: 8px;
	/* box-shadow: 0 2px 6px rgb(0 0 0 / 0.05);*/
}

.opn_profile_cv {
	text-align: justify;
}

/* Profile image on detail page */
.entry-content img.personal-photo {
	float: right;
	margin: 0 0 auto 1em;
	max-width: 256px;
	height: 100%;
	object-fit: cover;
	border-radius: 8px;
	border: 1px solid #ddd;
	background-color: #f5f5f5;
}

/* Headings */
.title-header {
	font-weight: 600;
	margin-bottom: 0.25em;
}

/* Links in detail page */
.entry-content a {
	color: #0073aa;
	text-decoration: none;
	text-align: left;
	word-break: break-word;
}

.entry-content a:hover {
	text-decoration: none;
}

/* Responsive adjustments */
@media (max-width: 600px) {
	.opn-preview {
		flex-direction: column;
		align-items: flex-start;
	}
	.opn-preview img {
		width: 100%;
		max-width: 192px;
		height: auto;
		border-radius: 6px 6px 0 0;
	}
	.opn-preview > a > div {
		margin-top: 8px;
	}
	.entry-content img.personal-photo {
		float: none;
		display: block;
		margin: 0 auto 1em auto;
		width: 100%;
		max-width: 256px;
		height: auto;
	}
}
