/* ==========================================================================
   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;
	}
}