/**
 * Officer / Advisory / Scholar profile singles — match case reading layout.
 */

.icra-profile .entry-content {
	max-width: 66rem; /* Match Terms / Privacy reading width */
}

.icra-profile .entry-header.ast-header-without-markup,
.icra-profile .entry-header .entry-title {
	/* Elementor already renders the person's name. */
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Hub label ("Officers", "Advisory Committee", …) → case-style eyebrow */
.icra-profile .elementor-widget-heading .elementor-heading-title {
	margin: 0 0 0.35em;
	font-family: Poppins, sans-serif;
	font-size: 0.95rem !important;
	font-weight: 600 !important;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	line-height: 1.3 !important;
	color: #5f021f !important;
}

.icra-profile .elementor-widget-divider {
	margin: 0 0 1.35rem !important;
}

.icra-profile .elementor-widget-divider .elementor-divider-separator {
	border-top: 2px solid #ffc652 !important;
	max-width: 4.5rem;
	margin-left: 0;
}

/* Role line (President – ICRA, etc.) */
.icra-profile .elementor-widget-text-editor h5,
.icra-profile .elementor-widget-text-editor .elementor-heading-title[class*="h5"] {
	margin: 0 0 0.35em;
	font-family: Poppins, sans-serif;
	font-size: 1.05rem;
	font-weight: 600;
	line-height: 1.35;
	color: #5f021f;
}

/* Person name */
.icra-profile .elementor-widget-text-editor h3 {
	margin: 0 0 1rem;
	font-family: Poppins, sans-serif;
	font-size: clamp(1.6rem, 2.4vw, 2.1rem);
	font-weight: 600;
	line-height: 1.25;
	color: #5f021f;
}

/* Bio card — same treatment as .icra-case-abstract */
.icra-profile .elementor-widget-text-editor > .elementor-widget-container {
	margin: 0;
	padding: 1.15rem 1.25rem 1.25rem;
	border: 1px solid rgba(95, 2, 31, 0.12);
	border-left: 4px solid #5f021f;
	background: #fffaf3;
}

.icra-profile .elementor-widget-text-editor p,
.icra-profile .elementor-widget-text-editor li,
.icra-profile .elementor-widget-text-editor div {
	color: #3a4650 !important;
	font-size: 1rem;
	line-height: 1.65;
}

.icra-profile .elementor-widget-text-editor p {
	margin: 0 0 0.9em;
}

.icra-profile .elementor-widget-text-editor p:last-child {
	margin-bottom: 0;
}

.icra-profile .elementor-widget-text-editor a {
	font-family: Poppins, sans-serif;
	font-weight: 600;
	color: #5f021f !important;
	text-decoration: none;
	border-bottom: 2px solid #ffc652;
	padding-bottom: 0.1em;
}

.icra-profile .elementor-widget-text-editor a:hover,
.icra-profile .elementor-widget-text-editor a:focus {
	color: #8a1638 !important;
	border-bottom-color: #5f021f;
}

/* Optional portrait when a profile includes an image widget */
.icra-profile .elementor-widget-image {
	margin: 0 0 1.25rem;
}

.icra-profile .elementor-widget-image img {
	border-radius: 2px;
	box-shadow: 0 1px 2px rgba(26, 26, 26, 0.06);
}

@media (max-width: 921px) {
	.icra-profile .elementor-widget-text-editor > .elementor-widget-container {
		padding: 1rem 1.05rem 1.15rem;
	}
}
