/* =============================================================
   ARC Featured Authors — Carousel Widget
   ============================================================= */

.arc-featured-authors {
	font-family: inherit;
}

/* ── Outer container ─────────────────────────────────────────── */
.arc-fa-container {
	max-width: var(--arc-container, 1200px);
	margin-inline: auto;
	padding-inline: 24px;
	box-sizing: border-box;
}

/* ── Section header ──────────────────────────────────────────── */
.arc-fa-header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 32px;
	margin-bottom: 36px;
	flex-wrap: wrap;
}

.arc-fa-header-left { flex: 1; min-width: 0; }

.arc-fa-label {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--arc-fa-accent, #79ba3a);
	margin-bottom: 14px;
}

.arc-fa-label::before {
	content: '';
	display: block;
	width: 28px;
	height: 1.5px;
	background: currentColor;
	flex-shrink: 0;
}

.arc-fa-heading {
	font-size: clamp(26px, 3vw, 44px);
	font-weight: 800;
	color: var(--arc-fa-heading-color, #0a3d47);
	margin: 0;
	line-height: 1.12;
	letter-spacing: -.02em;
}

.arc-fa-heading em {
	color: var(--arc-fa-accent, #79ba3a);
	font-style: italic;
}

/* ── Header right: subtitle + view-all ──────────────────────── */
.arc-fa-header-right {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 12px;
	flex-shrink: 0;
}

.arc-fa-subtitle {
	font-size: 14px;
	line-height: 1.65;
	color: rgba(10,61,71,.60);
	margin: 0;
	max-width: 360px;
	text-align: right;
}

/* ── View All button ─────────────────────────────────────────── */
.arc-fa-view-all {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 10px 20px;
	border-radius: 50px;
	border: 2px solid rgba(10,61,71,.18);
	background: transparent;
	color: #0a3d47;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	transition: background .2s, border-color .2s, color .2s, gap .2s;
}

.arc-fa-view-all:hover {
	background: #0a3d47;
	border-color: #0a3d47;
	color: #fff;
	gap: 11px;
}

.arc-fa-view-all svg {
	width: 13px;
	height: 13px;
	flex-shrink: 0;
	transition: transform .2s;
}

.arc-fa-view-all:hover svg { transform: translateX(2px); }

/* ── Carousel wrapper ────────────────────────────────────────── */
.arc-fa-carousel-wrap {
	position: relative;
}

/* ── Track + Viewport ────────────────────────────────────────── */
.arc-fa-viewport {
	overflow: hidden;
	/* Extra room so hover shadow/transform isn't clipped */
	padding-block: 14px;
	margin-block: -14px;
}

.arc-fa-track {
	display: flex;
	gap: var(--arc-fa-gap, 16px);
	transition: transform .4s cubic-bezier(.4,0,.2,1);
	will-change: transform;
}

/* ── Individual card ─────────────────────────────────────────── */
.arc-fa-card {
	background: #fff;
	border-radius: 16px;
	border: 1px solid rgba(10,61,71,.08);
	box-shadow: 0 2px 12px rgba(0,0,0,.05);
	padding: 22px 18px 18px;
	display: flex;
	flex-direction: column;
	flex: 0 0 var(--arc-fa-card-w, 220px);
	width: var(--arc-fa-card-w, 220px);
	min-width: 0;
	transition:
		transform .3s cubic-bezier(.34,1.2,.64,1),
		box-shadow .3s ease,
		border-color .3s ease;
	position: relative;
	cursor: default;
	box-sizing: border-box;
}

.arc-fa-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 28px rgba(0,0,0,.1);
	border-color: color-mix(in srgb, var(--arc-fa-accent, #79ba3a) 35%, transparent);
}

/* ── Avatar ──────────────────────────────────────────────────── */
.arc-fa-avatar-wrap {
	width: 50px;
	height: 50px;
	margin-bottom: 14px;
	flex-shrink: 0;
}

.arc-fa-avatar {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .04em;
	user-select: none;
}

/* ── Name ────────────────────────────────────────────────────── */
.arc-fa-name {
	font-size: 14px;
	font-weight: 700;
	color: #0a3d47;
	margin: 0 0 14px;
	line-height: 1.3;
	letter-spacing: -.01em;
	flex: 1;
}

/* ── Specialization ──────────────────────────────────────────── */
.arc-fa-spec {
	font-size: 11px;
	font-weight: 500;
	line-height: 1.45;
	color: var(--arc-fa-accent, #79ba3a);
	margin: -6px 0 12px;
	letter-spacing: .01em;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

/* ── Stats ───────────────────────────────────────────────────── */
.arc-fa-stats {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding-top: 12px;
	border-top: 1px solid rgba(10,61,71,.07);
	margin-top: auto;
}

.arc-fa-stat {
	display: flex;
	flex-direction: column;
	gap: 1px;
}

.arc-fa-stat-val {
	font-size: 18px;
	font-weight: 800;
	color: #0a3d47;
	line-height: 1;
	letter-spacing: -.02em;
}

.arc-fa-stat-label {
	font-size: 10px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: rgba(10,61,71,.4);
}

.arc-fa-stat-h {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	background: color-mix(in srgb, var(--arc-fa-accent, #79ba3a) 12%, #fff);
	border: 1px solid color-mix(in srgb, var(--arc-fa-accent, #79ba3a) 25%, transparent);
	border-radius: 8px;
	padding: 6px 10px;
}

.arc-fa-stat-h .arc-fa-stat-val {
	color: var(--arc-fa-accent, #79ba3a);
	font-size: 16px;
}

.arc-fa-stat-h .arc-fa-stat-label {
	color: rgba(10,61,71,.5);
}

/* ── Profile link overlay ────────────────────────────────────── */
a.arc-fa-card {
	text-decoration: none;
	cursor: pointer;
}

/* ── Nav arrows ──────────────────────────────────────────────── */
.arc-fa-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #fff;
	border: 1px solid rgba(10,61,71,.14);
	box-shadow: 0 2px 12px rgba(0,0,0,.1);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 2;
	transition: background .2s, border-color .2s, box-shadow .2s;
	flex-shrink: 0;
}

.arc-fa-btn:hover {
	background: #0a3d47;
	border-color: #0a3d47;
}

.arc-fa-btn:hover svg { color: #fff; }

.arc-fa-btn svg {
	width: 16px;
	height: 16px;
	color: #0a3d47;
	flex-shrink: 0;
	transition: color .2s;
}

.arc-fa-btn.is-disabled {
	opacity: .35;
	pointer-events: none;
}

.arc-fa-btn-prev { left: -20px; }
.arc-fa-btn-next { right: -20px; }

/* ── Dots ────────────────────────────────────────────────────── */
.arc-fa-dots {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin-top: 24px;
}

.arc-fa-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: rgba(10,61,71,.18);
	border: none;
	padding: 0;
	cursor: pointer;
	transition: background .2s, transform .2s;
}

.arc-fa-dot.is-active {
	background: #0a3d47;
	transform: scale(1.35);
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
	.arc-fa-btn-prev { left: -16px; }
	.arc-fa-btn-next { right: -16px; }
}

@media (max-width: 767px) {
	.arc-fa-header { flex-direction: column; align-items: flex-start; gap: 16px; }
	.arc-fa-header-right { align-items: flex-start; }
	.arc-fa-subtitle { text-align: left; max-width: 100%; }
	.arc-fa-heading { font-size: clamp(24px, 7vw, 36px); }
	.arc-fa-btn-prev { left: 0; }
	.arc-fa-btn-next { right: 0; }
}
