/* assets/css/archive.css  (module "Yazar arşiv sayfası")
   Header block on the author archive page. Uses the ÇandName theme variables when present. */
.cny-author-header { display: flex; align-items: flex-start; gap: 20px; margin: 0 0 24px; text-align: start; }
.cny-author-header, .cny-author-header * { box-sizing: border-box; }
.cny-author-header br { display: none; }
.cny-author-header .cny-ah-photo {
	flex: none; width: var(--cny-av, 96px); height: var(--cny-av, 96px); border-radius: 50% !important; overflow: hidden;
	background: var(--mint, #e3f0e8); color: var(--green, #1e5a3c); line-height: 0;
}
.cny-author-header .cny-ah-photo img, .cny-author-header .cny-ah-photo .avatar, .cny-author-header .cny-ah-photo .avatar-initials {
	display: flex !important; align-items: center; justify-content: center; width: 100% !important; height: 100% !important; max-width: none !important;
	margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 50% !important; object-fit: cover; aspect-ratio: 1 / 1;
	background: var(--mint, #e3f0e8); color: var(--green, #1e5a3c); font-weight: 600; font-size: calc(var(--cny-av, 96px) * 0.36); line-height: 1; opacity: 1 !important; visibility: visible !important;
}
.cny-author-header .cny-ah-photo img { display: block !important; }
/* Text block: as tall as the photo and centred beside it; a long biography simply grows downwards. */
.cny-author-header .cny-ah-body { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.cny-author-header .cny-ah-photo + .cny-ah-body { min-height: var(--cny-av, 96px); }
.cny-author-header .cny-ah-body > :first-child { margin-top: 0 !important; }
.cny-author-header .cny-ah-body > :last-child { margin-bottom: 0 !important; }
.cny-author-header .cny-ah-name { margin: 0 0 4px; line-height: 1.25; }
.cny-author-header .cny-ah-role { margin: 0; font-weight: 600; line-height: 1.35; color: var(--green, #1e5a3c); }
.cny-author-header .cny-ah-count { margin: 2px 0 0; line-height: 1.35; color: var(--muted, #6a726d); font-size: .9em; }
.cny-author-header .cny-ah-bio { margin: 10px 0 0; line-height: 1.6; }
.cny-author-header .author-social { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 12px 0 0; padding: 0; }
.cny-author-header .author-social-link {
	display: inline-flex; flex: none; align-items: center; justify-content: center; width: 30px; height: 30px; margin: 0; padding: 0; border-radius: 50%;
	background: var(--mint, #e3f0e8); color: var(--green, #1e5a3c); font-size: 12px; font-weight: 700; line-height: 1; text-decoration: none; transition: background .15s, color .15s;
}
.cny-author-header .author-social-link > span, .cny-author-header .author-social-link > svg { display: block; flex: none; line-height: 1; }
.cny-author-header .author-social-link:hover, .cny-author-header .author-social-link:focus-visible { background: var(--green, #1e5a3c); color: #fff; }
@media (max-width: 520px) { .cny-author-header { flex-direction: column; align-items: center; text-align: center; } .cny-author-header .cny-ah-photo + .cny-ah-body { min-height: 0; } .cny-author-header .cny-ah-body { align-items: center; } .cny-author-header .author-social { justify-content: center; } }

/* Detailed biography (rich text) */
.cny-author-about { margin: 20px 0 0; line-height: 1.75; font-size: 1.02em; overflow-wrap: anywhere; }
.cny-author-about > :first-child { margin-top: 0; }
.cny-author-about > :last-child { margin-bottom: 0; }
.cny-author-about p { margin: 0 0 1em; }
.cny-author-about h2, .cny-author-about h3, .cny-author-about h4 { font-family: var(--serif, Georgia, serif); line-height: 1.3; margin: 1.6em 0 .6em; }
.cny-author-about ul, .cny-author-about ol { margin: 0 0 1em 1.4em; padding: 0; list-style: revert; }
.cny-author-about li { margin: 0 0 .3em; }
.cny-author-about blockquote { margin: 1.2em 0; padding: .2em 0 .2em 1.1em; border-left: 3px solid var(--cny-accent, var(--green, #1e5a3c)); font-style: italic; }
.cny-author-about img, .cny-author-about video, .cny-author-about iframe { max-width: 100%; height: auto; border-radius: 6px; }
.cny-author-about figure { margin: 1.2em 0; }
.cny-author-about figcaption { font-size: .88em; opacity: .75; margin-top: .4em; }
.cny-author-about a { text-decoration: underline; text-underline-offset: 2px; }
.cny-author-about .alignleft { float: left; margin: .3em 1.2em .8em 0; }
.cny-author-about .alignright { float: right; margin: .3em 0 .8em 1.2em; }
.cny-author-about .aligncenter { display: block; margin-left: auto; margin-right: auto; }
.cny-author-about::after { content: ""; display: block; clear: both; }

/* Author facts (module "Yazar künyesi") */
.cny-author-header .cny-ah-facts { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 10px 0 0; padding: 0; font-size: .92em; }
.cny-author-header .cny-ah-facts > div { display: flex; gap: 6px; margin: 0; }
.cny-author-header .cny-ah-facts dt { margin: 0; color: var(--muted, #6a726d); }
.cny-author-header .cny-ah-facts dt::after { content: ":"; }
.cny-author-header .cny-ah-facts dd { margin: 0; font-weight: 600; }
.cny-author-header .cny-ah-works { margin: 10px 0 0; font-size: .92em; }
.cny-author-header .cny-ah-works ul { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 4px 0 0; padding: 0; list-style: none; }
.cny-author-header .cny-ah-works li { margin: 0; padding: 0; }
.cny-author-header .cny-ah-works a { color: var(--green, #1e5a3c); }
