/* Klinik markasına özel küçük ayarlar. Renkler yalnızca token. */
.oe-capraz-baglanti {
	font-size: var(--wp--preset--font-size--xs);
	letter-spacing: var(--wp--custom--letter-spacing--label);
	text-transform: uppercase;
}

.oe-capraz-baglanti a {
	color: var(--wp--preset--color--accent-text);
}

.oe-footer .oe-footer__capraz a {
	color: var(--wp--preset--color--aya-brass);
}

/* ---------- Logo + alt yazı + sosyal simgeler (17.11.2026 revizyonu) ---------- */
.oe-marka {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
}

.oe-marka > * {
	margin: 0;
}

/* Alt yazı logodaki adın altına, adla aynı sol hizada; boyutu logo genişliğiyle orantılı. */
.oe-logo--klinik {
	position: relative;
	width: 280px;
	container-type: inline-size; /* genişlik açık verilmeli: kapsayıcı sorgusu içerikten boyut almaz */
}

.oe-logo--klinik img {
	width: 100%;
	height: auto;
}

.oe-footer .oe-logo--klinik {
	width: 260px;
}

/* Masaüstü: telefon ve Aya bağlantısı üstte ince şerit; logo, menü ve Randevu al tek satırda. */
@media (min-width: 721px) {
	.oe-header__ic {
		padding-block-start: 14px;
		row-gap: 10px;
	}

	.oe-header__ic > .oe-header__arac {
		order: -1;
		flex-basis: 100%;
		justify-content: flex-end;
		padding-bottom: 10px;
		border-bottom: 1px solid var(--wp--preset--color--line);
	}
}

.oe-logo--klinik .oe-logo__alt {
	position: absolute;
	left: 34.8%;
	top: 64%;
	font-family: var(--wp--preset--font-family--instrument-sans);
	font-size: 5.1cqw;
	font-weight: 500;
	line-height: 1;
	letter-spacing: 0.04em;
	white-space: nowrap;
	color: var(--wp--preset--color--accent-text);
}

.oe-footer .oe-logo--klinik .oe-logo__alt {
	color: var(--wp--preset--color--inverse-accent);
}

.oe-marka .oe-sosyal {
	gap: 2px;
	margin: 0;
}

.oe-header .oe-marka .oe-sosyal {
	margin-inline-start: 91px;
}

.oe-footer .oe-marka .oe-sosyal {
	margin-inline-start: 84px;
}

.oe-header .oe-sosyal .wp-social-link {
	color: var(--wp--preset--color--muted);
}

.oe-header .oe-sosyal .wp-block-social-link-anchor {
	padding: 5px;
}

.oe-header .oe-sosyal .wp-block-social-link-anchor:hover {
	color: var(--wp--preset--color--accent-text);
}

.oe-header .oe-sosyal .wp-block-social-link-anchor svg {
	width: 18px;
	height: 18px;
}

@media (max-width: 720px) {
	.oe-header__ic > .oe-marka {
		order: 1;
	}

	.oe-header .oe-logo--klinik {
		width: 220px;
	}

	.oe-header .oe-marka .oe-sosyal {
		margin-inline-start: 71px;
	}
}

/* ---------- Menüde "Randevu al" düğmesi ---------- */
.oe-header .wp-block-navigation .oe-nav-randevu > a.wp-block-navigation-item__content {
	padding: 9px 18px;
	border-radius: 2px;
	background-color: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--base);
	text-decoration: none;
}

.oe-header .wp-block-navigation .oe-nav-randevu > a.wp-block-navigation-item__content:hover,
.oe-header .wp-block-navigation .oe-nav-randevu > a.wp-block-navigation-item__content:focus-visible {
	background-color: var(--wp--preset--color--accent-text);
	text-decoration: none;
}

.oe-header .wp-block-navigation__responsive-container.is-menu-open .oe-nav-randevu {
	margin-top: 12px;
}

/* ---------- Ana sayfa: Dr. Obengül Ejder'in mektubu ---------- */
.oe-alinti .oe-mektup {
	max-width: 720px;
	margin-inline: auto;
	text-align: left;
	font-family: var(--wp--preset--font-family--newsreader);
	font-size: var(--wp--preset--font-size--l);
	line-height: 1.6;
	color: var(--wp--preset--color--text-soft);
}

.oe-alinti .oe-mektup::before {
	content: "";
	display: block;
	width: 1px;
	height: 56px;
	margin: 0 auto 40px;
	background: var(--wp--preset--color--accent);
}

.oe-alinti .oe-mektup > p {
	margin-block: 0 1.1em;
}

.oe-alinti .oe-mektup__selam {
	font-size: var(--wp--preset--font-size--quote);
	line-height: 1.2;
	color: var(--wp--preset--color--contrast);
}

.oe-alinti .oe-mektup__dilek {
	font-style: italic;
	color: var(--wp--preset--color--contrast);
}

.oe-alinti .oe-mektup > .oe-mektup__imza {
	margin-top: 32px;
	margin-bottom: 0;
	font-family: var(--wp--preset--font-family--instrument-sans);
	font-size: var(--wp--preset--font-size--xs);
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--wp--preset--color--meta);
}

/* ---------- Unvan şeridi: kitap bağlantıları ---------- */
/* Değerler uzun (üniversite + bölüm + yıl): ortak 24 px yerine 20 px. */
.oe-serit .oe-serit__deger {
	font-size: 20px;
	line-height: 1.35;
}

.oe-serit__kitaplar a {
	display: inline-block;
	margin-bottom: 4px;
}

.oe-serit__kitaplar a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}

.oe-serit__kitaplar a:hover {
	color: var(--wp--preset--color--accent-text);
}

/* ---------- WhatsApp düğmesi (sağ alt, her sayfada) ---------- */
.oe-whatsapp {
	--oe-whatsapp: #1f9d55; /* WhatsApp yeşili, beyaz yazıyla AA kontrast */
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 90;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 18px 12px 14px;
	border-radius: 999px;
	background-color: var(--oe-whatsapp);
	color: #fff;
	font-family: var(--wp--preset--font-family--instrument-sans);
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	box-shadow: 0 6px 20px rgb(0 0 0 / 0.18);
}

.oe-whatsapp:hover,
.oe-whatsapp:focus-visible {
	background-color: #17803f;
	color: #fff;
}

.oe-whatsapp svg {
	flex: none;
}

@media (max-width: 720px) {
	.oe-whatsapp {
		right: 14px;
		bottom: 14px;
		padding: 12px;
	}

	.oe-whatsapp__etiket {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
	}
}

@media print {
	.oe-whatsapp {
		display: none;
	}
}

/* Giriş portresinin altında unvan satırı (adın altında, büyük harfsiz). */
.oe-portre__unvan {
	display: block;
	margin-top: 6px;
	font-size: var(--wp--preset--font-size--s);
	letter-spacing: normal;
	line-height: 1.5;
	text-transform: none;
	color: var(--wp--preset--color--text-soft);
}

/* Yönetmelik alıntısı: gövde metniyle aynı yazı tipi ve punto (büyük italik alıntı değil). */
.wp-block-quote.oe-yonetmelik,
.wp-block-quote.oe-yonetmelik p {
	font-family: var(--wp--preset--font-family--instrument-sans);
	font-size: var(--wp--preset--font-size--m);
	font-style: normal;
	font-weight: 400;
	line-height: 1.65;
}

/* Giriş portresi boydan çekim: kadraj yüz ve kitapları tutsun (üst kısım). */
.oe-portre img.oe-portre__foto {
	object-position: 50% 22%;
}
