/* ============================================
   AUTHOR ARCHIVE
   ============================================ */
.author-hero {
	padding: clamp(90px, 14vw, 160px) 0 clamp(50px, 7vw, 90px);
}

.author-card {
	display: grid;
	grid-template-columns: 300px 1fr;
	gap: clamp(32px, 5vw, 72px);
	align-items: start;
}

/* --- LEFT --- */
.author-left {
	text-align: center;
}

.author-photo {
	width: 220px;
	height: 220px;
	margin: 0 auto 24px;
	border-radius: 50%;
	overflow: hidden;
	border: 1px solid rgba(196, 239, 23, .35);
}

.author-photo img,
.author-photo .author-photo-fallback {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.author-role {
	display: block;
	font-family: 'Outfit', sans-serif;
	font-size: 1.1rem;
	color: #fff;
	margin-bottom: 28px;
}

.author-expertise {
	margin-bottom: 30px;
}

.author-expertise .ax-label {
	display: block;
	font-size: .72rem;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: #C4EF17;
	margin-bottom: 8px;
}

.author-expertise .ax-value {
	display: block;
	font-family: 'Outfit', sans-serif;
	font-size: .98rem;
	line-height: 1.5;
	color: rgba(255, 255, 255, .8);
}

.author-social {
	display: flex;
	justify-content: center;
	gap: 12px;
}

.author-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	border: 1px solid rgba(196, 239, 23, .5);
	color: #C4EF17;
	transition: color .25s ease, background .25s ease, transform .25s ease;
}

.author-icon:hover {
	color: #000;
	background: #C4EF17;
	transform: translateY(-2px);
}

/* --- RIGHT --- */
.author-name {
	font-family: 'Marcellus', serif;
	font-size: clamp(2.4rem, 5vw, 3.6rem);
	line-height: 1.05;
	color: #C4EF17;
	margin: 0 0 26px;
}

.author-bio-panel {
	background: rgba(255, 255, 255, .04);
	border: 1px solid rgba(255, 255, 255, .08);
	border-radius: 12px;
	padding: clamp(24px, 3vw, 40px);
}

.author-bio-panel p {
	font-family: 'Outfit', sans-serif;
	font-size: 1.02rem;
	line-height: 1.75;
	color: rgba(255, 255, 255, .68);
	margin: 0;
}

/* --- POSTS --- */
.author-posts {
	padding: clamp(50px, 7vw, 90px) 0 clamp(70px, 10vw, 130px);
}

.ap-head {
	margin-bottom: 44px;
}

.ap-head h2 {
	font-family: 'Marcellus', serif;
	font-size: clamp(1.8rem, 3.6vw, 2.6rem);
	color: #fff;
	margin: 12px 0 0;
}

.ap-head h2 em {
	font-style: normal;
	color: #C4EF17;
}

.ap-empty {
	color: rgba(255, 255, 255, .5);
	font-size: .9rem;
	letter-spacing: .08em;
	text-transform: uppercase;
}

/* AJAX-loaded cards fade in without the scroll observer */
.author-posts .bl-card.cc-loaded {
	animation: ccFadeUp .5s ease both;
}

@keyframes ccFadeUp {
	from { opacity: 0; transform: translateY(16px); }
	to   { opacity: 1; transform: none; }
}

/* --- LOAD MORE --- */
.author-loadmore-wrap {
	display: flex;
	justify-content: center;
	margin-top: 56px;
}

.author-loadmore {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 30px;
	font-family: 'JetBrains Mono', monospace;
	font-size: .82rem;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: #000;
	background: #C4EF17;
	border: 0;
	border-radius: 40px;
	cursor: pointer;
	transition: transform .25s ease, opacity .25s ease;
}

.author-loadmore:hover {
	transform: translateY(-2px);
}

.author-loadmore .alm-arrow {
	transition: transform .25s ease;
}

.author-loadmore:hover .alm-arrow {
	transform: translateY(3px);
}

.author-loadmore.is-loading {
	opacity: .6;
	cursor: wait;
}

.author-loadmore.is-loading .alm-arrow {
	animation: ccSpin .7s linear infinite;
}

@keyframes ccSpin {
	to { transform: rotate(360deg); }
}

@media (max-width: 700px) {
	.author-card {
		grid-template-columns: 1fr;
	}
	.author-photo {
		width: 160px;
		height: 160px;
	}
	.author-name {
		text-align: center;
	}
}

/* ---- Article grid (self-contained, matches blog listing cards) ---- */
.author-posts .bl-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}

.author-posts .bl-card {
	display: flex;
	flex-direction: column;
	background: rgba(255, 255, 255, .02);
	border: 1px solid rgba(255, 255, 255, .07);
	border-radius: 12px;
	overflow: hidden;
	transition: border-color .25s ease, transform .25s ease;
}

.author-posts .bl-card:hover {
	border-color: rgba(196, 239, 23, .4);
	transform: translateY(-4px);
}

.author-posts .bl-card-img-link {
	position: relative;
	display: block;
}

.author-posts .bl-card-img {
	aspect-ratio: 16 / 9;
	overflow: hidden;
}

.author-posts .bl-card-img img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
	transition: transform .5s ease;
}

.author-posts .bl-card:hover .bl-card-img img {
	transform: scale(1.04);
}

.author-posts .bl-card-cat {
	display: none;
	/* position: absolute;
	top: 14px;
	left: 14px;
	font-family: 'JetBrains Mono', monospace;
	font-size: .66rem;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: #000;
	background: #C4EF17;
	padding: 6px 12px;
	border-radius: 3px; */
}

.author-posts .bl-card-body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 24px;
}

.author-posts .bl-card-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 16px;
}

.author-posts .bl-card-tags span {
	font-family: 'JetBrains Mono', monospace;
	font-size: .68rem;
	letter-spacing: .04em;
	color: rgba(255, 255, 255, .6);
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 4px;
	padding: 5px 10px;
}

.author-posts .bl-card h3 {
	font-family: 'Marcellus', serif;
	font-size: 1.35rem;
	line-height: 1.25;
	margin: 0 0 12px;
}

.author-posts .bl-card h3 a {
	color: #fff;
	text-decoration: none;
	transition: color .2s ease;
}

.author-posts .bl-card h3 a:hover {
	color: #C4EF17;
}

.author-posts .bl-card-body p {
	font-family: 'Outfit', sans-serif;
	font-size: .95rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, .6);
	margin: 0 0 24px;
}

.author-posts .bl-card-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
	padding-top: 18px;
	border-top: 1px solid rgba(255, 255, 255, .08);
}

.author-posts .bl-card-author {
	display: flex;
	align-items: center;
	gap: 10px;
}

.author-posts .bl-card-avatar img {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	display: block;
}

.author-posts .bl-card-author-name {
	font-family: 'Outfit', sans-serif;
	font-size: .85rem;
	color: #fff;
}

.author-posts .bl-card-meta {
	display: flex;
	align-items: center;
	font-size: .68rem;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .45);
	white-space: nowrap;
}

.author-posts .bl-card-read::before {
	content: "·";
	margin: 0 6px;
}

@media (max-width: 900px) {
	.author-posts .bl-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
	.author-posts .bl-grid { grid-template-columns: 1fr; }
}