/**
 * Yazar arşivi + author box — premium (hub ile uyumlu)
 */

/* —— Author box (yalnızca tekil rehber yazısı) —— */
body.yhz-single-enhanced .yhz-author-box {
	margin: 2.5rem 0 0;
	padding: 0;
	max-width: 100%;
	box-sizing: border-box;
}

.yhz-author-box__card {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	gap: 1.15rem 1.35rem;
	align-items: flex-start;
	padding: 1.35rem 1.4rem 1.35rem 1.55rem;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 18px;
	box-shadow:
		0 1px 2px rgba(15, 23, 42, 0.04),
		0 14px 40px rgba(15, 23, 42, 0.07);
	overflow: hidden;
}

.yhz-author-box__accent {
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 4px;
	background: linear-gradient(180deg, #2563eb, #7c3aed);
}

.yhz-author-box__media {
	position: relative;
	flex-shrink: 0;
	text-decoration: none;
}

.yhz-author-box__img {
	display: block;
	width: 96px;
	height: 96px;
	border-radius: 50%;
	object-fit: cover;
	border: 3px solid #eff6ff;
	box-shadow: 0 8px 28px rgba(37, 99, 235, 0.18);
}

.yhz-author-box__avatar--initials {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	font-size: 1.65rem;
	font-weight: 800;
	color: #fff;
	background: linear-gradient(145deg, #2563eb, #7c3aed);
	border: 3px solid #eff6ff;
	box-shadow: 0 8px 28px rgba(37, 99, 235, 0.2);
}

.yhz-author-box__badge {
	position: absolute;
	right: -4px;
	bottom: 4px;
	padding: 0.2rem 0.5rem;
	font-size: 0.65rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #1e40af;
	background: #dbeafe;
	border: 1px solid #bfdbfe;
	border-radius: 999px;
}

.yhz-author-box__body {
	flex: 1 1 240px;
	min-width: 0;
}

.yhz-author-box__eyebrow {
	margin: 0 0 0.3rem;
	font-size: 0.7rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.09em;
	color: #64748b;
}

.yhz-author-box__name {
	margin: 0 0 0.2rem;
	font-size: 1.28rem;
	line-height: 1.25;
}

.yhz-author-box__name a {
	color: #0f172a;
	text-decoration: none;
}

.yhz-author-box__name a:hover {
	color: #2563eb;
}

.yhz-author-box__role {
	margin: 0 0 0.55rem;
	font-size: 0.9rem;
	font-weight: 600;
	color: #2563eb;
}

.yhz-author-box__bio {
	margin: 0 0 0.55rem;
	font-size: 0.9rem;
	line-height: 1.65;
	color: #475569;
}

.yhz-author-box__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 0.5rem;
	margin: 0 0 0.9rem;
	font-size: 0.78rem;
	font-weight: 600;
	color: #94a3b8;
}

.yhz-author-box__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.yhz-author-box__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.45rem;
	padding: 0.45rem 1.1rem;
	border-radius: 999px;
	font-size: 0.86rem;
	font-weight: 700;
	text-decoration: none !important;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.yhz-author-box__btn--primary {
	background: #2563eb;
	color: #fff !important;
	box-shadow: 0 6px 18px rgba(37, 99, 235, 0.28);
}

.yhz-author-box__btn--primary:hover {
	transform: translateY(-1px);
}

.yhz-author-box__btn--ghost {
	background: #f8fafc;
	color: #1e40af !important;
	border: 1px solid #e2e8f0;
}

/* —— Author archive layout reset —— */
body.yhz-author-archive .nv-page-title-wrap,
body.yhz-author-archive .nv-big-title,
body.yhz-author-archive .nv-title-meta-wrap {
	display: none !important;
	height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
}

body.yhz-author-archive .archive-container,
body.yhz-author-hub .archive-container {
	max-width: none;
	padding: 0;
}

body.yhz-author-hub .neve-main {
	padding-top: 0;
}

.yhz-author-hub {
	width: 100%;
}

/* —— Hero —— */
.yhz-author-hero {
	position: relative;
	overflow: hidden;
	color: #fff;
}

.yhz-author-hero__bg {
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 36%, #2563eb 62%, #1d4ed8 100%);
	z-index: 0;
}

.yhz-author-hero__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 70% 55% at 15% 20%, rgba(96, 165, 250, 0.35), transparent 55%),
		radial-gradient(ellipse 60% 50% at 85% 75%, rgba(59, 130, 246, 0.28), transparent 50%),
		radial-gradient(circle at 50% 120%, rgba(255, 255, 255, 0.08), transparent 45%);
	pointer-events: none;
}

.yhz-author-hero__shell {
	position: relative;
	z-index: 1;
	max-width: 1100px;
	margin: 0 auto;
	padding: clamp(1.75rem, 4vw, 2.75rem) clamp(1rem, 4vw, 2rem) clamp(2rem, 5vw, 2.75rem);
	box-sizing: border-box;
}

.yhz-author-crumb {
	margin: 0 0 1.35rem;
	font-size: 0.82rem;
	color: rgba(255, 255, 255, 0.82);
}

.yhz-author-crumb a {
	color: #bfdbfe;
	text-decoration: none;
}

.yhz-author-crumb a:hover {
	color: #fff;
	text-decoration: underline;
}

.yhz-author-crumb span[aria-hidden="true"] {
	margin: 0 0.4rem;
	opacity: 0.55;
}

.yhz-author-hero__grid {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 1.75rem 2.25rem;
	align-items: start;
}

.yhz-author-hero__portrait {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.75rem;
}

.yhz-author-hero__portrait-ring {
	padding: 5px;
	border-radius: 50%;
	background: linear-gradient(145deg, rgba(255, 255, 255, 0.65), rgba(191, 219, 254, 0.25));
	box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28);
}

.yhz-author-hero__img {
	display: block;
	width: 168px;
	height: 168px;
	border-radius: 50%;
	object-fit: cover;
}

.yhz-author-hero .yhz-author-box__avatar--initials {
	width: 168px !important;
	height: 168px !important;
	font-size: 2.75rem;
	border: none;
}

.yhz-author-hero__verified {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.35rem 0.75rem;
	font-size: 0.75rem;
	font-weight: 700;
	color: #dbeafe;
	background: rgba(15, 23, 42, 0.35);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 999px;
}

.yhz-author-hero__eyebrow {
	margin: 0 0 0.45rem;
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #93c5fd;
}

.yhz-author-hero__title {
	margin: 0 0 0.35rem;
	font-size: clamp(1.85rem, 4.5vw, 2.6rem);
	line-height: 1.12;
	font-weight: 800;
	color: #fff;
	letter-spacing: -0.02em;
}

.yhz-author-hero__role {
	margin: 0 0 1rem;
	font-size: 1.05rem;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.92);
}

.yhz-author-hero__bio {
	margin: 0 0 1.1rem;
	font-size: 0.96rem;
	line-height: 1.75;
	color: rgba(255, 255, 255, 0.9);
	max-width: 40rem;
}

.yhz-author-hero__bio p {
	margin: 0 0 0.7rem;
}

.yhz-author-hero__bio p:last-child {
	margin-bottom: 0;
}

.yhz-author-hero__topics {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin: 0 0 1.15rem;
	padding: 0;
	list-style: none;
}

.yhz-author-hero__topics a {
	display: inline-flex;
	padding: 0.35rem 0.75rem;
	font-size: 0.78rem;
	font-weight: 600;
	color: #e0f2fe;
	text-decoration: none;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 999px;
	transition: background 0.15s ease, border-color 0.15s ease;
}

.yhz-author-hero__topics a:hover {
	background: rgba(255, 255, 255, 0.18);
	border-color: rgba(255, 255, 255, 0.4);
	color: #fff;
}

.yhz-author-hero__stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.6rem;
	margin: 0 0 1.35rem;
	padding: 0;
	list-style: none;
	max-width: 32rem;
}

.yhz-author-hero__stats li {
	padding: 0.75rem 0.65rem;
	text-align: center;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 14px;
	backdrop-filter: blur(8px);
}

.yhz-author-hero__stats strong {
	display: block;
	font-size: 1.25rem;
	font-weight: 800;
	margin-bottom: 0.15rem;
	line-height: 1.1;
}

.yhz-author-hero__stats span {
	display: block;
	font-size: 0.68rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	opacity: 0.85;
	line-height: 1.3;
}

.yhz-author-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
}

.yhz-author-hero__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.75rem;
	padding: 0.6rem 1.3rem;
	border-radius: 999px;
	font-size: 0.9rem;
	font-weight: 700;
	text-decoration: none !important;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.yhz-author-hero__btn--primary {
	background: #fff;
	color: #1d4ed8 !important;
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}

.yhz-author-hero__btn--primary:hover {
	transform: translateY(-2px);
}

.yhz-author-hero__btn--ghost {
	color: #fff !important;
	border: 1px solid rgba(255, 255, 255, 0.42);
	background: rgba(255, 255, 255, 0.06);
}

.yhz-author-hero__btn--ghost:hover {
	background: rgba(255, 255, 255, 0.14);
}

/* —— Listing bölümü —— */
.yhz-author-page {
	background: linear-gradient(180deg, #f8fafc 0%, #fff 12rem);
}

.yhz-author-page__inner {
	max-width: 1100px;
	margin: 0 auto;
	padding: 2rem clamp(1rem, 4vw, 1.5rem) 3rem;
	box-sizing: border-box;
}

.yhz-author-section-head {
	margin: 0 0 1.5rem;
	text-align: center;
}

.yhz-author-section-head__title {
	margin: 0 0 0.4rem;
	font-size: clamp(1.35rem, 3vw, 1.65rem);
	color: #0f172a;
}

.yhz-author-section-head__lead {
	margin: 0 auto;
	max-width: 36rem;
	font-size: 0.95rem;
	line-height: 1.6;
	color: #64748b;
}

body.yhz-author-hub .yhz-author-page__loop .posts-wrapper,
body.yhz-author-hub .yhz-author-page__loop .yhz-rehber-listing-list {
	padding: 0;
}

.yhz-author-empty {
	text-align: center;
	padding: 2.5rem 1rem;
	color: #64748b;
}

.yhz-author-empty p {
	margin: 0 0 1rem;
}

/* —— Alt bölümler —— */
.yhz-author-tools {
	margin: 2.5rem 0 0;
	padding: 1.75rem 0 0;
	border-top: 1px solid #e2e8f0;
}

.yhz-author-tools__title {
	margin: 0 0 1rem;
	font-size: 1.2rem;
	color: #0f172a;
	text-align: center;
}

.yhz-author-tools__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.85rem;
}

.yhz-author-tools__card {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	padding: 1.1rem 1.15rem;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	text-decoration: none !important;
	box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
	transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.yhz-author-tools__card:hover {
	transform: translateY(-2px);
	border-color: #bfdbfe;
	box-shadow: 0 12px 32px rgba(37, 99, 235, 0.1);
}

.yhz-author-tools__card strong {
	font-size: 0.95rem;
	color: #0f172a;
}

.yhz-author-tools__card span {
	font-size: 0.82rem;
	color: #64748b;
}

.yhz-author-cta {
	margin: 2rem 0 0;
}

.yhz-author-cta__inner {
	text-align: center;
	padding: clamp(1.75rem, 4vw, 2.25rem) 1.5rem;
	background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
	border: 1px solid #bfdbfe;
	border-radius: 18px;
}

.yhz-author-cta__title {
	margin: 0 0 0.45rem;
	font-size: 1.35rem;
	color: #0f172a;
}

.yhz-author-cta__text {
	margin: 0 0 1.1rem;
	font-size: 0.95rem;
	color: #475569;
	max-width: 28rem;
	margin-left: auto;
	margin-right: auto;
}

/* —— Mobil —— */
@media (max-width: 860px) {
	.yhz-author-hero__grid {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.yhz-author-hero__portrait {
		margin: 0 auto;
	}

	.yhz-author-hero__bio {
		margin-left: auto;
		margin-right: auto;
	}

	.yhz-author-hero__topics {
		justify-content: center;
	}

	.yhz-author-hero__stats {
		max-width: none;
	}

	.yhz-author-hero__actions {
		justify-content: center;
	}

	.yhz-author-tools__grid {
		grid-template-columns: 1fr;
	}
}

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

	.yhz-author-hero__img,
	.yhz-author-hero .yhz-author-box__avatar--initials {
		width: 140px !important;
		height: 140px !important;
	}

	.yhz-author-box__card {
		flex-direction: column;
		align-items: center;
		text-align: center;
		padding: 1.25rem 1.15rem;
	}

	.yhz-author-box__accent {
		width: 100%;
		height: 4px;
		bottom: auto;
		right: 0;
	}

	.yhz-author-box__actions {
		justify-content: center;
		width: 100%;
	}

	.yhz-author-box__btn {
		flex: 1 1 auto;
		min-width: calc(50% - 0.25rem);
	}
}
