/**
 * single-yazarlar.php (breadcrumb: esmer-base.css)
 */

.author-profile-page {
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 5px 30px rgba(0, 0, 0, 0.03);
	overflow: hidden;
	padding: 40px;
	font-family: 'Merriweather', serif;
}

.author-header {
	text-align: center;
	margin-bottom: 50px;
	border-bottom: 2px solid #f0f0f0;
	padding-bottom: 30px;
}

.author-name {
	font-family: 'Cinzel', serif;
	font-size: 48px;
	color: #2c3e50;
	margin: 0 0 15px;
	font-weight: 900;
}

.author-movements {
	display: flex;
	justify-content: center;
	gap: 10px;
	flex-wrap: wrap;
}

.movement-tag {
	background: #34495e;
	color: #fff;
	padding: 6px 15px;
	border-radius: 20px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	text-decoration: none;
	transition: 0.2s;
	font-family: sans-serif;
}

.movement-tag:hover {
	background: #e67e22;
	transform: translateY(-2px);
}

.author-grid {
	display: flex;
	gap: 50px;
	align-items: flex-start;
}

.author-sidebar {
	width: 300px;
	flex-shrink: 0;
}

.author-image-wrapper {
	margin-bottom: 25px;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
	border: 5px solid #fff;
}

.author-img {
	width: 100%;
	height: auto;
	display: block;
}

.no-image-placeholder {
	width: 100%;
	height: 300px;
	background: #eee;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 50px;
	color: #ccc;
}

.identity-card {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	overflow: hidden;
	margin-bottom: 25px;
}

.id-header {
	background: #2c3e50;
	color: #fff;
	padding: 10px;
	font-weight: 800;
	font-size: 12px;
	text-align: center;
	letter-spacing: 1px;
	font-family: sans-serif;
}

.id-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.id-list li {
	padding: 12px 15px;
	border-bottom: 1px solid #f5f5f5;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 13px;
	font-family: sans-serif;
}

.id-list li:last-child {
	border-bottom: none;
}

.id-list .lbl {
	color: #7f8c8d;
	font-weight: 700;
}

.id-list .val {
	color: #2c3e50;
	font-weight: 600;
	text-align: right;
}

.flag-icon {
	width: 20px;
	height: auto;
	border-radius: 2px;
	margin-right: 5px;
	vertical-align: middle;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.awards-box {
	background: #fffbf0;
	border: 1px solid #f9e79f;
	border-radius: 8px;
	padding: 20px;
}

.awards-header {
	font-size: 12px;
	font-weight: 900;
	color: #d35400;
	margin-bottom: 15px;
	border-bottom: 1px dashed #f9e79f;
	padding-bottom: 10px;
	font-family: sans-serif;
}

.award-item {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 8px;
	text-decoration: none;
	transition: 0.2s;
}

.award-item:hover .award-name {
	color: #d35400;
}

.award-icon {
	font-size: 16px;
}

.award-name {
	font-size: 13px;
	color: #555;
	font-weight: 600;
	line-height: 1.3;
	font-family: sans-serif;
}

.author-content {
	flex: 1;
}

.section-title {
	font-family: 'Cinzel', serif;
	font-size: 26px;
	border-bottom: 2px solid #eee;
	padding-bottom: 15px;
	margin-top: 0;
	color: #2c3e50;
	display: flex;
	align-items: center;
	gap: 10px;
}

.bio-text {
	font-size: 17px;
	line-height: 1.9;
	color: #333;
	text-align: justify;
	margin-top: 25px;
}

.bio-text > p:first-of-type::first-letter {
	float: left;
	font-size: 3.5em;
	line-height: 0.8;
	padding-right: 15px;
	font-weight: 900;
	color: #d35400;
	font-family: 'Cinzel', serif;
}

.author-books-section {
	margin-top: 60px;
	border-top: 1px solid #eee;
	padding-top: 40px;
}

.books-title {
	text-align: center;
	font-family: 'Cinzel', serif;
	font-size: 24px;
	color: #7f8c8d;
	margin-bottom: 30px;
}

.books-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: 25px;
}

.book-card {
	text-decoration: none;
	display: block;
	transition: 0.3s;
}

.book-card:hover .book-cover {
	transform: translateY(-5px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.book-cover {
	border-radius: 6px;
	overflow: hidden;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	transition: 0.3s;
	aspect-ratio: 2 / 3;
	position: relative;
}

.book-cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.no-cover {
	width: 100%;
	height: 100%;
	background: #eee;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 40px;
	color: #ccc;
}

.book-info {
	margin-top: 10px;
	text-align: center;
}

.book-name {
	font-size: 13px;
	font-weight: 700;
	color: #2c3e50;
	line-height: 1.3;
	font-family: sans-serif;
	transition: 0.2s;
}

.book-card:hover .book-name {
	color: #d35400;
}

.no-books-msg {
	text-align: center;
	color: #999;
	font-style: italic;
	background: #f9f9f9;
	padding: 20px;
	border-radius: 8px;
}

@media (max-width: 900px) {
	.author-grid {
		flex-direction: column;
	}

	.author-sidebar {
		width: 100% !important;
	}
}
