/* ==========================================================================
   CFS Editorial Team
   Depends on Elkuator Scholar global editorial styles.
   Uses --els-* root tokens so colors remain configurable from theme dashboard.
   ========================================================================== */

.journal-cfs .editorial-member-card {
	position: relative;
	grid-template-columns: minmax(0, 1fr);
	min-height: 150px;
	overflow: hidden;
	border-color: var(--els-border-soft, #e5edf1);
	border-radius: 12px;
}

.journal-cfs .editorial-member-card::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	width: 72px;
	height: 72px;
	pointer-events: none;
}

.journal-cfs .editorial-section-title {
	border-radius: 8px;
}

.journal-cfs .editorial-grid-featured .editorial-member-card {
	border-left: 5px solid var(--els-accent, #f5821f);
}

.journal-cfs .editorial-grid-featured .editorial-member-name {
	font-size: 20px;
}

/* Web of Science button: not included in the current global editorial CSS */
.journal-cfs .editorial-wos {
	color: #6b4fd8;
}

.journal-cfs .editorial-wos:hover,
.journal-cfs .editorial-wos:focus {
	background: #6b4fd8;
	border-color: #6b4fd8;
	color: var(--els-surface, #ffffff);
}

/* Make empty placeholder links visibly safe, not broken-looking */
.journal-cfs .editorial-link-btn[href="#"] {
	opacity: .58;
	cursor: not-allowed;
}

.journal-cfs .editorial-link-btn[href="#"]:hover,
.journal-cfs .editorial-link-btn[href="#"]:focus {
	background: var(--els-surface, #ffffff);
	color: currentColor;
	transform: none;
}

/* Mobile refinement */
@media (max-width: 560px) {
	.journal-cfs .editorial-member-card {
		min-height: 0;
		padding: 16px;
		border-radius: 10px;
	}

	.journal-cfs .editorial-section-title::after {
		display: none;
	}

	.journal-cfs .editorial-grid-featured .editorial-member-name {
		font-size: 17px;
	}
}
/* =========================================================
   Article Summary Author Marker
   Default journals: country flag
   Specific journals such as cfs: ORCID marker
   ========================================================= */

.els_article_authors .els_author_country_flag,
.obj_article_summary .authors .els_author_country_flag {
	display: inline-block !important;
	margin: 0 !important;
	padding: 0 !important;
	line-height: 1 !important;
	vertical-align: -0.08em !important;
	white-space: nowrap !important;
}

.els_article_authors .els_author_country_code,
.obj_article_summary .authors .els_author_country_code {
	display: inline-block !important;
	margin: 0 !important;
	padding: 1px 4px !important;
	background: var(--els-primary-soft, #f3f8fa) !important;
	border: 1px solid var(--els-primary-border, #b9dfe8) !important;
	color: var(--els-primary, #0788b6) !important;
	font-size: 10px !important;
	font-weight: 800 !important;
	line-height: 1.1 !important;
	vertical-align: 0.05em !important;
	white-space: nowrap !important;
}

.els_article_authors .els_author_orcid_marker,
.obj_article_summary .authors .els_author_orcid_marker {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 13px !important;
	height: 13px !important;
	margin: 0 !important;
	padding: 0 !important;
	line-height: 1 !important;
	vertical-align: -0.08em !important;
	text-decoration: none !important;
	white-space: nowrap !important;
	box-shadow: none !important;
}

.els_article_authors .els_author_orcid_marker img,
.obj_article_summary .authors .els_author_orcid_marker img {
	display: block !important;
	width: 13px !important;
	height: 13px !important;
	max-width: 13px !important;
	max-height: 13px !important;
	margin: 0 !important;
	padding: 0 !important;
	object-fit: contain !important;
	border: 0 !important;
	box-shadow: none !important;
}

.els_article_authors .els_author_orcid_marker:hover,
.els_article_authors .els_author_orcid_marker:focus,
.obj_article_summary .authors .els_author_orcid_marker:hover,
.obj_article_summary .authors .els_author_orcid_marker:focus {
	opacity: 0.82 !important;
	text-decoration: none !important;
}

.els_article_authors,
.obj_article_summary .authors {
	word-spacing: normal !important;
	letter-spacing: normal !important;
}