/**
 * Editorial Team Manager
 * Structured public renderer v1.
 *
 * Journal-specific output is gated by the plugin before this stylesheet
 * is registered.
 */

.etm_public_editorial_team {
	max-width: 100%;
}

.etm_public_editorial_team .page-header {
	margin-bottom: 10px;
}

.etm_public_intro {
	max-width: 780px;
	margin: 0 0 30px;
	color: #526577;
	font-size: 15px;
	line-height: 1.7;
}

.etm_public_intro p {
	margin: 0;
}

.etm_public_preview_notice {
	margin: 0 0 24px;
	padding: 12px 16px;
	border: 1px solid #b8cee0;
	border-radius: 6px;
	background: #f3f8fc;
	color: #173f60;
	font-size: 13px;
	line-height: 1.55;
}

.etm_public_sections {
	display: block;
}

.etm_public_section {
	margin: 0 0 38px;
}

.etm_public_section:last-child {
	margin-bottom: 0;
}

.etm_public_section_header {
	display: flex;
	align-items: center;
	margin: 0 0 17px;
	padding: 0 0 10px;
	border-bottom: 1px solid #dce5ec;
}

.etm_public_section_header h2 {
	position: relative;
	margin: 0;
	padding: 0 0 0 14px;
	color: #0b3154;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.3;
}

.etm_public_section_header h2:before {
	position: absolute;
	top: 3px;
	bottom: 3px;
	left: 0;
	width: 4px;
	border-radius: 3px;
	background: #0b4775;
	content: "";
}

.etm_public_member_grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.etm_public_member {
	display: flex;
	align-items: flex-start;
	min-width: 0;
	padding: 18px;
	border: 1px solid #e0e7ed;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 4px 16px rgba(21, 54, 82, .06);
}

.etm_public_member_photo {
	flex: 0 0 104px;
	width: 104px;
	margin-right: 17px;
}

.etm_public_member_photo img,
.etm_public_member_photo_placeholder {
	display: block;
	width: 104px;
	height: 104px;
	border-radius: 7px;
}

.etm_public_member_photo img {
	object-fit: cover;
	border: 1px solid #d8e1e8;
	background: #f4f7f9;
}

.etm_public_member_photo_placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #dce5ec;
	background: #f2f6f9;
	color: #8195a7;
	font-size: 34px;
}

.etm_public_member_body {
	flex: 1 1 auto;
	min-width: 0;
}

.etm_public_member_name {
	margin: 0 0 6px;
	color: #0b3154;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.35;
}

.etm_public_member_affiliation {
	margin: 0;
	color: #5e6f7e;
	font-size: 13px;
	line-height: 1.55;
}

.etm_public_member_expertise {
	margin-top: 11px;
	color: #435868;
	font-size: 13px;
	line-height: 1.55;
}

.etm_public_member_expertise > span {
	display: block;
	margin-bottom: 2px;
	color: #6f8291;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .07em;
	text-transform: uppercase;
}

.etm_public_member_expertise p {
	margin: 0;
}

.etm_public_profiles {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 7px;
	margin-top: 14px;
}

.etm_public_profile_link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none !important;
}

.etm_public_profile_badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 31px;
	height: 31px;
	padding: 0 7px;
	border: 1px solid #cbd7e0;
	border-radius: 16px;
	background: #f7fafc;
	color: #174b73;
	font-size: 10px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: .01em;
	transition:
		background .15s ease,
		border-color .15s ease,
		color .15s ease;
}

.etm_public_profile_link:hover .etm_public_profile_badge,
.etm_public_profile_link:focus .etm_public_profile_badge {
	border-color: #0b4775;
	background: #0b4775;
	color: #fff;
}

.etm_public_profile_link_scopus .etm_public_profile_badge {
	color: #b05b14;
}

.etm_public_profile_link_orcid .etm_public_profile_badge {
	color: #557b12;
}

.etm_public_profile_link_wos .etm_public_profile_badge {
	color: #4c3f8f;
}

.etm_public_profile_link_google_scholar .etm_public_profile_badge {
	color: #245d96;
}

.etm_public_profile_link_website .etm_public_profile_badge {
	color: #415567;
}

@media (max-width: 991px) {
	.etm_public_member_grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 520px) {
	.etm_public_member {
		display: block;
		padding: 16px;
	}

	.etm_public_member_photo {
		width: 92px;
		margin: 0 0 14px;
	}

	.etm_public_member_photo img,
	.etm_public_member_photo_placeholder {
		width: 92px;
		height: 92px;
	}
}

/* ==========================================================
 * ETM PROFILE ICON POLISH V1 START
 * Explicit left alignment + official academic profile icons
 * ========================================================== */

.etm_public_member_body,
.etm_public_member_name,
.etm_public_member_affiliation,
.etm_public_member_expertise,
.etm_public_member_expertise p {
    text-align: left;
}

.etm_public_profiles {
    justify-content: flex-start;
    text-align: left;
}

.etm_public_profile_link {
    flex: 0 0 auto;
}

.etm_public_profile_badge {
    width: 34px;
    min-width: 34px;
    height: 34px;
    padding: 4px;
    border: 1px solid #cbd7e0;
    border-radius: 50%;
    background: #fff;
    overflow: hidden;
    color: #174b73;
}

.etm_public_profile_icon {
    display: block;
    width: 24px;
    height: 24px;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.etm_public_profile_text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 9px;
    font-weight: 800;
    line-height: 1;
}

.etm_public_profile_link:hover .etm_public_profile_badge,
.etm_public_profile_link:focus .etm_public_profile_badge {
    border-color: #0b4775;
    background: #fff;
    color: #0b4775;
    box-shadow: 0 2px 8px rgba(11, 71, 117, .16);
}

/* Slightly more usable image area for detailed marks. */
.etm_public_profile_link_wos .etm_public_profile_icon,
.etm_public_profile_link_sinta .etm_public_profile_icon {
    width: 26px;
    height: 26px;
}

/* ETM PROFILE ICON POLISH V1 END */


/* ==========================================================
   ETM CARD PROFILE POLISH V2 START

   Force:
   - editorial card left alignment
   - official academic icon sizing
   - preserve icon aspect ratio

========================================================== */


.etm_public_member_body,
.etm_public_member_body h3,
.etm_public_member_body .etm_public_member_name,
.etm_public_member_body .etm_public_member_affiliation,
.etm_public_member_body .etm_public_member_expertise,
.etm_public_member_body .etm_public_member_expertise span,
.etm_public_member_body .etm_public_member_expertise p,
.etm_public_member_body .etm_public_profiles {

    text-align: left !important;

}


.etm_public_profiles {

    justify-content: flex-start !important;

    align-items: center !important;

}


.etm_public_profile_badge {

    width: 34px !important;

    height: 34px !important;

    display: flex !important;

    align-items: center !important;

    justify-content: center !important;

    padding: 4px !important;

    overflow: hidden !important;

}


.etm_public_profile_badge img.etm_public_profile_icon {

    width: 24px !important;

    height: 24px !important;

    max-width: 24px !important;

    max-height: 24px !important;

    object-fit: contain !important;

    display: block !important;

}


.etm_public_profile_link_wos
.etm_public_profile_badge img.etm_public_profile_icon,

.etm_public_profile_link_sinta
.etm_public_profile_badge img.etm_public_profile_icon {

    width: 26px !important;

    height: 26px !important;

}


/* ETM CARD PROFILE POLISH V2 END */

