/* Alumni Spotlight - base styles.
 * Most visual properties (colors, radius, sizes, spacing) are generated
 * dynamically by Elementor based on the widget's Style controls.
 * This file sets structural layout rules for each of the 5 card styles.
 *
 * Note: photo width/height, gap between Photo<->Data<->Quote, and the
 * row/column direction (Content > Layout: "Arah Tata Letak", "Jarak Foto
 * ke Data", "Jarak Data ke Quote") are all controlled dynamically per
 * device (Desktop/Tablet/Mobile) from Elementor. The values below are
 * just safe fallback defaults matching the widget's default settings.
 */

.as-alumni-grid {
	display: grid;
	grid-template-columns: repeat(1, 1fr);
	gap: 24px;
	width: 100%;
}

.as-alumni-card {
	display: flex;
	background: #ffffff;
	border-radius: 16px;
	padding: 20px;
	gap: 20px;
	box-sizing: border-box;
}

.as-alumni-photo-wrap {
	display: flex;
	margin-bottom: 12px;
}

.as-alumni-photo {
	width: 90px;
	height: 90px;
	border-radius: 50%;
	object-fit: cover;
	display: block;
	max-width: 100%;
}

.as-alumni-photo--placeholder {
	background: #e5e5e5;
}

.as-alumni-name {
	font-size: 18px;
	font-weight: 700;
	color: #1a1a1a;
	margin: 0 0 8px;
	line-height: 1.3;
}

.as-alumni-badge-wrap {
	margin-bottom: 10px;
}

.as-alumni-badge {
	display: inline-block;
	background: #f1ecfc;
	color: #7a4fd6;
	font-size: 13px;
	font-weight: 600;
	padding: 4px 12px;
	border-radius: 20px;
	line-height: 1.4;
}

.as-alumni-angkatan-plain {
	font-size: 13px;
	font-weight: 600;
	color: #7a4fd6;
	margin: 0 0 6px;
	line-height: 1.4;
}

.as-alumni-profesi {
	font-size: 14px;
	font-weight: 600;
	color: #333333;
	margin: 0 0 2px;
	line-height: 1.4;
}

.as-alumni-tempat {
	font-size: 13px;
	color: #777777;
	margin: 0;
	line-height: 1.4;
}

.as-alumni-quote-icon {
	font-size: 36px;
	color: #d4a5c4;
	line-height: 1;
	margin-bottom: 6px;
	font-family: Georgia, 'Times New Roman', serif;
}

.as-alumni-quote-text {
	font-size: 14px;
	font-style: italic;
	color: #4a4a4a;
	line-height: 1.6;
	margin: 0;
}

.as-alumni-quote-panel {
	background: #f6eef2;
	border-radius: 12px;
	padding: 20px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

/* ============================================================
 * LAYOUT 1: split-badge (default) — info left / quote right
 * ============================================================ */
.as-alumni-card--split-badge {
	flex-direction: row;
	align-items: stretch;
}

.as-alumni-card--split-badge .as-alumni-info {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.as-alumni-card--split-badge .as-alumni-quote-panel {
	flex-grow: 0;
	flex-shrink: 0;
	flex-basis: auto;
	width: 42%;
	max-width: 42%;
}

/* ============================================================
 * LAYOUT 2: 3col — photo | data (no badge) | quote, 3 columns
 * ============================================================ */
.as-alumni-card--3col {
	flex-direction: row;
	align-items: stretch;
}

.as-alumni-card--3col .as-alumni-col--photo {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
}

.as-alumni-card--3col .as-alumni-col--photo .as-alumni-photo-wrap {
	margin-bottom: 0;
}

.as-alumni-card--3col .as-alumni-col--data {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.as-alumni-card--3col .as-alumni-col--quote {
	flex-grow: 0;
	flex-shrink: 0;
	flex-basis: auto;
	width: 42%;
	max-width: 42%;
	display: flex;
}

.as-alumni-card--3col .as-alumni-col--quote .as-alumni-quote-panel {
	flex: 1 1 auto;
}

/* ============================================================
 * LAYOUT 3: stack-data-quote — photo top, data (no badge), quote bottom
 * ============================================================ */
.as-alumni-card--stack-data-quote {
	flex-direction: column;
	align-items: stretch;
}

.as-alumni-card--stack-data-quote .as-alumni-photo-wrap {
	justify-content: flex-start;
}

/* ============================================================
 * LAYOUT 4: stack-quote-data — photo top, quote middle, data (badge) bottom
 * ============================================================ */
.as-alumni-card--stack-quote-data {
	flex-direction: column;
	align-items: stretch;
}

.as-alumni-card--stack-quote-data .as-alumni-photo-wrap {
	justify-content: flex-start;
}

/* ============================================================
 * LAYOUT 5: editorial — header (photo+name+badge inline), accent quote, footer
 * ============================================================ */
.as-alumni-card--editorial {
	flex-direction: column;
	align-items: stretch;
}

.as-alumni-editorial-header {
	display: flex;
	align-items: center;
	gap: 12px;
}

.as-alumni-editorial-header .as-alumni-photo-wrap {
	margin-bottom: 0;
}

.as-alumni-editorial-header .as-alumni-photo {
	width: 60px;
	height: 60px;
}

.as-alumni-editorial-headtext .as-alumni-name {
	margin-bottom: 4px;
}

.as-alumni-quote-panel--accent {
	background: transparent;
	border-left: 4px solid #7a4fd6;
	border-radius: 0;
	padding: 4px 0 4px 18px;
}

.as-alumni-editorial-footer {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.as-alumni-editorial-footer .as-alumni-profesi::after {
	content: '\00b7';
	margin-left: 8px;
	color: #999;
	font-weight: 400;
}

.as-alumni-editorial-footer .as-alumni-profesi:last-child::after {
	content: '';
	margin: 0;
}

/* ============================================================
 * Responsive fallback: the row/column direction (split-badge & 3col)
 * and the quote panel width are controlled per-device by Elementor's
 * own responsive controls ("Arah Tata Letak" & "Lebar Kolom Quote").
 * Desktop defaults to row, Mobile defaults to column automatically;
 * Tablet can be freely chosen by the user in the widget panel.
 * This media query only keeps a small safety-net alignment tweak.
 * ============================================================ */
@media (max-width: 767px) {
	.as-alumni-card--3col .as-alumni-col--photo {
		justify-content: flex-start;
	}
}
