/**
 * Çiğdem Yalçın — profil sayfası
 */

body.cigdem-profile-page {
	--ysmn-page-pad-x: calc(var(--ysmn-content-gutter) + max(0px, (100vw - var(--ysmn-content-max)) / 2));
	background: #fff;
	color: inherit;
	overflow-x: clip;
}

body.cigdem-profile-page .site-footer {
	margin-top: 0;
	border-top-color: rgba(20, 20, 20, 0.08);
	background: #fff;
	backdrop-filter: none;
}

body.cigdem-profile-page .site-info {
	color: #5c5c5c;
}

.site-main.site-main--cigdem {
	max-width: none;
	padding: 0 0 clamp(2rem, 5vw, 3.5rem);
}

.cigdem-profile__shell {
	display: flex;
	flex-direction: column;
	gap: clamp(1.75rem, 4vw, 2.75rem);
}

/* —— Hero: portre + metin —— */
.cigdem-profile__hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	grid-template-areas: 'media textpanel';
	column-gap: clamp(2rem, 5vw, 4.5rem);
	row-gap: 0;
	align-items: center;
	width: 100%;
	max-width: none;
	margin-left: 0;
	box-sizing: border-box;
	padding: clamp(2.5rem, 5vw, 4rem) var(--ysmn-page-pad-x);
	min-height: calc(100dvh - var(--ysmn-header-height));
	background: #fff;
}

.cigdem-profile__hero--no-image {
	grid-template-columns: 1fr;
	grid-template-areas: 'textpanel';
	min-height: 0;
	padding: clamp(2.5rem, 5vw, 4rem) var(--ysmn-page-pad-x);
}

.cigdem-profile__figure {
	grid-area: media;
	margin: 0;
	min-width: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
}

.cigdem-profile__media {
	flex: 0 0 auto;
	background: transparent;
	overflow: visible;
	line-height: 0;
}

.cigdem-profile__img {
	display: block;
	width: 100%;
	height: auto;
	max-width: min(100%, 520px);
	max-height: calc(100dvh - var(--ysmn-header-height) - 5rem);
	object-fit: cover;
	object-position: center top;
}

.cigdem-profile__hero-text-panel {
	grid-area: textpanel;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	min-width: 0;
	padding: 0;
}

.cigdem-profile__hero-text {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	gap: 1.25rem;
	min-width: 0;
	width: 100%;
	max-width: 40rem;
}

.cigdem-profile__title-stack {
	width: 100%;
	max-width: 100%;
}

.cigdem-profile__header {
	margin: 0;
	padding: 0;
	border: none;
}

.cigdem-profile__title {
	margin: 0;
	font-family: "Inter Tight", system-ui, sans-serif;
	font-size: clamp(2rem, 4.5vw, 3.25rem);
	font-weight: 400;
	line-height: 1.15;
	letter-spacing: -0.01em;
	color: #141414;
}

.cigdem-profile__intro {
	margin: 0;
	width: 100%;
	max-width: 40rem;
	font-family: "Inter Tight", system-ui, sans-serif;
	font-size: 0.9375rem;
	font-weight: 400;
	line-height: 1.7;
	color: #2c333d;
	text-align: left;
}

.cigdem-profile__intro p {
	margin: 0 0 0.9em;
}

.cigdem-profile__intro p:last-child {
	margin-bottom: 0;
}

.cigdem-profile__body-block {
	width: min(100%, var(--ysmn-content-max));
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--ysmn-content-gutter);
	padding-right: var(--ysmn-content-gutter);
	padding-top: 0.75rem;
	border-top: 1px solid rgba(18, 21, 26, 0.12);
}

.cigdem-profile__body {
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.7;
	color: #1e2430;
	max-width: 68ch;
}

.cigdem-profile__body p {
	margin: 0 0 1.1em;
}

.cigdem-profile__body p:last-child {
	margin-bottom: 0;
}

.cigdem-profile__extra-block {
	width: min(100%, var(--ysmn-content-max));
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--ysmn-content-gutter);
	padding-right: var(--ysmn-content-gutter);
	padding-top: 1.5rem;
	border-top: 1px solid rgba(18, 21, 26, 0.1);
}

.cigdem-profile__extra {
	font-size: 0.9875rem;
	line-height: 1.65;
	color: #252b33;
	max-width: 68ch;
}

@media (max-width: 900px) {
	.cigdem-profile__hero {
		grid-template-columns: 1fr;
		grid-template-areas:
			'media'
			'textpanel';
		padding:
			clamp(1rem, 3vw, 1.5rem)
			var(--ysmn-content-gutter)
			clamp(2rem, 5vw, 3rem)
			max(4.75rem, var(--ysmn-content-gutter));
		min-height: 0;
		column-gap: 0;
		row-gap: clamp(1.5rem, 4vw, 2.25rem);
		align-items: stretch;
	}

	.cigdem-profile__hero--no-image {
		grid-template-areas: 'textpanel';
		padding-left: var(--ysmn-content-gutter);
	}

	.cigdem-profile__figure {
		justify-content: flex-start;
	}

	.cigdem-profile__hero-text {
		max-width: none;
		gap: 1rem;
	}

	.cigdem-profile__img {
		max-width: 100%;
		max-height: min(58vh, 480px);
	}
}
