/*
Theme Name: Kuzeyşehir
Author: Kuzeyşehir Ağız ve Diş Polikliniği
Description: Kuzeyşehir Ağız ve Diş Polikliniği için hazırlanmış klinik teması. Tedavi sayfaları, hekim profilleri, randevu isteği formu ve yönetim panelinde randevu takibi içerir.
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kuzeysehir
*/

/* ---------- Yazı tipleri (temayla birlikte gelir, harici istek yok) ---------- */
@font-face {
	font-family: "Young Serif";
	src: url("assets/fonts/young-serif-400.woff") format("woff");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Instrument Sans";
	src: url("assets/fonts/instrument-sans-400.woff") format("woff");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Instrument Sans";
	src: url("assets/fonts/instrument-sans-400-italic.woff") format("woff");
	font-weight: 400;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: "Instrument Sans";
	src: url("assets/fonts/instrument-sans-700.woff") format("woff");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

/* ---------- Tasarım değişkenleri ---------- */
:root {
	--paper: #F6F8F5;
	--white: #FFFFFF;
	--ink: #1F3D35;
	--ink-deep: #16302A;
	--ink-soft: #3B554E;
	--muted: #56655F;
	--line: #DCE3DA;
	--field: #C3CEC1;
	--pistachio: #A3BE6B;
	--pistachio-deep: #5F7C31;
	--slate: #6F8E9A;
	--ochre: #D4A64E;
	--ivory: #F4F2EA;
	--on-dark: #C8D6CF;

	--display: "Young Serif", Georgia, "Times New Roman", serif;
	--text: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

	--wrap: 1180px;
	--gutter: clamp(20px, 4vw, 40px);
	--section: clamp(64px, 9vw, 120px);
	--r-control: 8px;
	--r-panel: 16px;
	--header-h: 76px;
}

/* ---------- Temel ---------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font: 400 1.0625rem/1.6 var(--text);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img,
svg,
video,
iframe {
	display: block;
	max-width: 100%;
}

img {
	height: auto;
}

a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

a:hover {
	text-decoration-thickness: 2px;
}

:focus-visible {
	outline: 2px solid var(--ink);
	outline-offset: 3px;
	border-radius: 2px;
}

h1,
h2,
h3,
h4 {
	margin: 0 0 0.5em;
	color: var(--ink);
	font-family: var(--display);
	font-weight: 400;
	line-height: 1.12;
	letter-spacing: -0.005em;
	text-wrap: balance;
}

h1 {
	font-size: clamp(2.45rem, 1.6rem + 3.4vw, 4.3rem);
	line-height: 1.04;
}

h2 {
	font-size: clamp(1.9rem, 1.45rem + 1.7vw, 2.7rem);
}

h3 {
	font-size: 1.32rem;
	line-height: 1.25;
}

p {
	margin: 0 0 1em;
}

.wrap {
	max-width: var(--wrap);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.skip-link {
	position: absolute;
	top: -80px;
	left: 12px;
	z-index: 100;
	padding: 10px 14px;
	border-radius: var(--r-control);
	background: var(--ink);
	color: #fff;
	font-weight: 700;
}

.skip-link:focus {
	top: 12px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ---------- Düğmeler ---------- */
.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 12px 22px;
	border: 1.5px solid var(--ink);
	border-radius: var(--r-control);
	background: var(--ink);
	color: #fff;
	font: 700 1rem/1.2 var(--text);
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.button:hover {
	border-color: var(--ink-deep);
	background: var(--ink-deep);
}

.button svg {
	width: 18px;
	height: 18px;
	flex: none;
}

.button--ghost {
	background: transparent;
	color: var(--ink);
}

.button--ghost:hover {
	border-color: var(--ink);
	background: var(--white);
}

.button--small {
	min-height: 40px;
	padding: 8px 16px;
	font-size: 0.95rem;
}

.button--light {
	border-color: var(--ivory);
	background: var(--ivory);
	color: var(--ink);
}

.button--light:hover {
	border-color: #fff;
	background: #fff;
}

.button--on-dark {
	border-color: rgba(244, 242, 234, 0.5);
	background: transparent;
	color: var(--ivory);
}

.button--on-dark:hover {
	border-color: var(--ivory);
	background: rgba(244, 242, 234, 0.08);
}

.section--dark :focus-visible,
.site-footer--dark :focus-visible {
	outline-color: var(--pistachio);
}

/* ---------- Üst bölüm ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 40;
	border-bottom: 1px solid transparent;
	background: var(--paper);
	transition: border-color 0.2s ease;
}

.site-header.is-scrolled {
	border-bottom-color: var(--line);
}

.admin-bar .site-header {
	top: 32px;
}

.site-header__inner {
	position: relative;
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: var(--header-h);
}

.brand,
.custom-logo-link {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-right: auto;
	text-decoration: none;
}

.custom-logo {
	max-height: 52px;
	width: auto;
}

.brand__mark {
	width: 36px;
	height: 36px;
	flex: none;
}

.brand__name {
	display: block;
	font-family: var(--display);
	font-size: 1.3rem;
	line-height: 1.1;
}

.brand__sub {
	display: block;
	color: var(--muted);
	font-size: 0.8rem;
	line-height: 1.35;
}

.site-nav {
	display: flex;
	align-items: center;
	gap: 32px;
}

.nav__list,
.site-nav .menu {
	display: flex;
	gap: 26px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.nav__list a,
.site-nav .menu a {
	font-size: 0.97rem;
	text-decoration: none;
}

.nav__list a:hover,
.site-nav .menu a:hover {
	text-decoration: underline;
}

.site-nav__actions {
	display: flex;
	align-items: center;
	gap: 18px;
}

.site-nav__phone {
	font-size: 0.97rem;
	font-weight: 700;
	white-space: nowrap;
	text-decoration: none;
}

.nav-toggle {
	display: none;
	min-height: 40px;
	padding: 8px 14px;
	border: 1.5px solid var(--ink);
	border-radius: var(--r-control);
	background: transparent;
	color: var(--ink);
	font: 700 0.95rem/1 var(--text);
	cursor: pointer;
}

@media (max-width: 960px) {
	.nav-toggle {
		display: inline-flex;
		align-items: center;
	}

	.site-nav {
		position: absolute;
		top: 100%;
		right: calc(-1 * var(--gutter));
		left: calc(-1 * var(--gutter));
		display: none;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 4px var(--gutter) 22px;
		border-bottom: 1px solid var(--line);
		background: var(--paper);
	}

	.site-nav.is-open {
		display: flex;
	}

	.nav__list,
	.site-nav .menu {
		flex-direction: column;
		gap: 0;
	}

	.nav__list a,
	.site-nav .menu a {
		display: block;
		padding: 14px 0;
		border-bottom: 1px solid var(--line);
		font-size: 1.05rem;
	}

	.site-nav__actions {
		justify-content: space-between;
		padding-top: 18px;
	}
}

@media (max-width: 782px) {
	.admin-bar .site-header {
		top: 46px;
	}
}

/* ---------- Açılış ---------- */
.hero {
	padding: clamp(36px, 6vw, 84px) 0 var(--section);
}

.hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: clamp(36px, 5vw, 72px);
	align-items: center;
}

.hero__title {
	max-width: 11.5em;
	margin-bottom: 0.42em;
}

.hero__text {
	max-width: 31em;
	color: var(--ink-soft);
	font-size: 1.2rem;
	line-height: 1.55;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 30px 0 38px;
}

.facts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px 32px;
	max-width: 34em;
	margin: 0;
	padding-top: 22px;
	border-top: 1px solid var(--line);
}

.facts dt {
	margin-bottom: 2px;
	color: var(--muted);
	font-size: 0.86rem;
}

.facts dd {
	margin: 0;
}

.facts a {
	font-weight: 700;
	text-decoration: none;
}

.facts a:hover {
	text-decoration: underline;
}

.hero__art {
	margin: 0;
}

.implant-anim {
	margin: 0;
	padding: clamp(18px, 2.6vw, 30px);
	border-radius: var(--r-panel);
	background: #E9F0EC;
}

.implant-anim__svg {
	width: 100%;
	height: auto;
}

.ia-osseo,
.ia-implant,
.ia-abutment,
.ia-crown {
	animation: 12s cubic-bezier(0.3, 0.7, 0.25, 1) infinite both;
}

.ia-implant {
	animation-name: ia-implant;
}

.ia-threads {
	animation: ia-threads 12s linear infinite both;
}

.ia-osseo {
	animation-name: ia-osseo;
}

.ia-osseo__fill {
	fill: rgba(63, 140, 108, 0.16);
}

.ia-osseo__line {
	fill: none;
	stroke: #3F8C6C;
	stroke-width: 2.5;
	stroke-dasharray: 5 6;
	animation: ia-dash 1.6s linear infinite;
}

.ia-abutment {
	animation-name: ia-abutment;
}

.ia-crown {
	animation-name: ia-crown;
}

@keyframes ia-implant {
	0%, 4% { opacity: 0; transform: translateY(-190px); }
	7% { opacity: 1; }
	18%, 90% { opacity: 1; transform: none; }
	97%, 100% { opacity: 0; transform: none; }
}

@keyframes ia-threads {
	0%, 4% { transform: none; }
	18%, 100% { transform: translateY(-44px); }
}

@keyframes ia-osseo {
	0%, 21% { opacity: 0; }
	28% { opacity: 1; }
	36% { opacity: 0.55; }
	42% { opacity: 1; }
	50%, 100% { opacity: 0; }
}

@keyframes ia-dash {
	to { stroke-dashoffset: -22; }
}

@keyframes ia-abutment {
	0%, 45% { opacity: 0; transform: translateY(-110px); }
	48% { opacity: 1; }
	56%, 90% { opacity: 1; transform: none; }
	97%, 100% { opacity: 0; transform: none; }
}

@keyframes ia-crown {
	0%, 60% { opacity: 0; transform: translateY(-120px); }
	63% { opacity: 1; }
	72%, 90% { opacity: 1; transform: none; }
	97%, 100% { opacity: 0; transform: none; }
}

.implant-anim__steps {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px 18px;
	margin: 14px 0 0;
	padding: 0;
	list-style: none;
	font-size: 0.92rem;
	line-height: 1.35;
}

.implant-anim__steps li {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	color: var(--ink-soft);
	opacity: 0.45;
	animation: 12s ease infinite both;
}

.implant-anim__steps span {
	display: grid;
	flex: none;
	place-items: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--ink);
	color: #fff;
	font-size: 0.78rem;
	font-weight: 700;
}

.implant-anim__steps li:nth-child(1) { animation-name: ia-step-1; }
.implant-anim__steps li:nth-child(2) { animation-name: ia-step-2; }
.implant-anim__steps li:nth-child(3) { animation-name: ia-step-3; }
.implant-anim__steps li:nth-child(4) { animation-name: ia-step-4; }

@keyframes ia-step-1 {
	0%, 3% { opacity: 0.45; }
	5%, 20% { opacity: 1; }
	23%, 100% { opacity: 0.45; }
}

@keyframes ia-step-2 {
	0%, 21% { opacity: 0.45; }
	23%, 43% { opacity: 1; }
	46%, 100% { opacity: 0.45; }
}

@keyframes ia-step-3 {
	0%, 44% { opacity: 0.45; }
	46%, 58% { opacity: 1; }
	61%, 100% { opacity: 0.45; }
}

@keyframes ia-step-4 {
	0%, 59% { opacity: 0.45; }
	61%, 90% { opacity: 1; }
	94%, 100% { opacity: 0.45; }
}

.implant-anim figcaption {
	margin-top: 12px;
	color: var(--muted);
	font-size: 0.86rem;
}

.prose .implant-anim {
	margin: 0 0 2em;
}

.hero__art figcaption {
	margin-top: 12px;
	color: var(--muted);
	font-size: 0.86rem;
}

@media (max-width: 900px) {
	.hero__grid {
		grid-template-columns: 1fr;
	}

	.hero__art {
		max-width: 540px;
	}
}

/* ---------- Bölümler ---------- */
.section {
	padding-block: var(--section);
}

.section--white {
	background: var(--white);
}

.section--dark {
	background: var(--ink-deep);
	color: var(--ivory);
}

.section--dark h2,
.section--dark h3 {
	color: #fff;
}

.section__head {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	gap: 16px 64px;
	align-items: end;
	margin-bottom: clamp(32px, 4vw, 56px);
}

.section__head h2 {
	margin: 0;
}

.section__head p {
	max-width: 36em;
	margin: 0;
	color: var(--muted);
}

@media (max-width: 800px) {
	.section__head {
		grid-template-columns: 1fr;
	}
}

/* ---------- Tedavi listesi ---------- */
.treatments {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	column-gap: clamp(24px, 3.2vw, 48px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.treatment {
	position: relative;
	padding: 26px 0 30px;
	border-top: 1px solid var(--line);
}

.treatment h3 {
	margin-bottom: 0.4em;
}

.treatment h3 a {
	text-decoration: none;
}

.treatment h3 a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.treatment:hover h3 a {
	text-decoration: underline;
	text-decoration-thickness: 1px;
}

.treatment p {
	margin: 0 0 10px;
	color: var(--muted);
}

.treatment .treatment__meta {
	margin: 0;
	color: var(--ink-soft);
	font-size: 0.9rem;
}

@media (max-width: 900px) {
	.treatments {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.treatments {
		grid-template-columns: 1fr;
	}
}

/* ---------- Süreç ---------- */
.steps {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(28px, 3vw, 44px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.step__num {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	margin-bottom: 20px;
	border: 1.5px solid var(--ink);
	border-radius: 50%;
	color: var(--ink);
	font-family: var(--display);
	font-size: 1.3rem;
	line-height: 1;
}

.step h3 {
	font-size: 1.28rem;
}

.step p {
	margin: 0;
	color: var(--muted);
}

@media (max-width: 900px) {
	.steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

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

/* ---------- Hekimler ---------- */
.doctors {
	display: grid;
	gap: clamp(48px, 6vw, 80px);
}

.doctor {
	display: grid;
	grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
	gap: clamp(24px, 4.5vw, 64px);
	align-items: start;
}

.doctor__photo {
	overflow: hidden;
	aspect-ratio: 4 / 5;
	border-radius: var(--r-panel);
	background: #E3EBE6;
}

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

.doctor__monogram {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	background: #E3EBE6;
	color: var(--ink);
	font-family: var(--display);
	font-size: clamp(3rem, 2rem + 3vw, 4.6rem);
	letter-spacing: 0.02em;
}

.doctor h3 {
	margin-bottom: 0.3em;
	font-size: clamp(1.65rem, 1.35rem + 1vw, 2.15rem);
}

.doctor__focus {
	margin-bottom: 1.3em;
	color: var(--ink-soft);
}

.doctor__bio {
	max-width: 38em;
}

.doctor__bio p {
	margin-bottom: 0.9em;
}

.doctor__link {
	display: inline-block;
	margin-top: 6px;
	font-weight: 700;
}

@media (max-width: 720px) {
	.doctor {
		grid-template-columns: 1fr;
	}

	.doctor__photo {
		max-width: 320px;
	}
}

/* ---------- Klinik ve ulaşım ---------- */
.clinic {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(36px, 5vw, 72px);
	align-items: start;
}

.info {
	display: grid;
	gap: 22px;
	margin: 28px 0 0;
}

.info dt {
	margin-bottom: 4px;
	color: var(--muted);
	font-size: 0.88rem;
}

.info dd {
	margin: 0;
	font-size: 1.08rem;
}

.info dd a {
	font-weight: 700;
	text-decoration: none;
}

.info dd a:hover {
	text-decoration: underline;
}

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

.clinic__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 30px;
}

.map {
	overflow: hidden;
	min-height: 340px;
	aspect-ratio: 4 / 3;
	border-radius: var(--r-panel);
	background: var(--line);
}

.map iframe {
	width: 100%;
	height: 100%;
	border: 0;
}

.map--empty {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: flex-start;
	gap: 18px;
	padding: clamp(24px, 3vw, 36px);
	background: var(--ink-deep);
	color: var(--ivory);
}

.map--empty p {
	max-width: 15em;
	margin: 0;
	font-family: var(--display);
	font-size: clamp(1.35rem, 1.1rem + 0.9vw, 1.8rem);
	line-height: 1.25;
}

@media (max-width: 860px) {
	.clinic {
		grid-template-columns: 1fr;
	}
}

/* ---------- Sık sorulanlar ---------- */
.faq-layout {
	display: grid;
	grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
	gap: 24px clamp(32px, 5vw, 72px);
	align-items: start;
}

.faq-layout > h2 {
	position: sticky;
	top: calc(var(--header-h) + 24px);
}

.faq details {
	border-top: 1px solid var(--line);
}

.faq details:last-child {
	border-bottom: 1px solid var(--line);
}

.faq summary {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 24px;
	padding: 22px 0;
	font-family: var(--display);
	font-size: 1.22rem;
	line-height: 1.3;
	list-style: none;
	cursor: pointer;
}

.faq summary::-webkit-details-marker {
	display: none;
}

.faq summary::after {
	content: "";
	flex: none;
	width: 14px;
	height: 14px;
	margin-top: 0.35em;
	background:
		linear-gradient(var(--ink), var(--ink)) center / 100% 2px no-repeat,
		linear-gradient(var(--ink), var(--ink)) center / 2px 100% no-repeat;
	transition: transform 0.25s ease;
}

.faq details[open] summary::after {
	background: linear-gradient(var(--ink), var(--ink)) center / 100% 2px no-repeat;
}

.faq__a {
	max-width: 42em;
	padding-bottom: 24px;
	color: var(--ink-soft);
}

.faq__a p {
	margin: 0;
}

@media (max-width: 800px) {
	.faq-layout {
		grid-template-columns: 1fr;
	}

	.faq-layout > h2 {
		position: static;
	}
}

/* ---------- Randevu ---------- */
.booking__grid {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(36px, 5vw, 80px);
	align-items: start;
}

.booking__intro p {
	max-width: 30em;
	color: var(--on-dark);
}

.booking__phone {
	display: inline-block;
	margin: 6px 0 22px;
	color: #fff;
	font-family: var(--display);
	font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.3rem);
	text-decoration: none;
}

.booking__phone:hover {
	text-decoration: underline;
	text-decoration-thickness: 1px;
}

.sheet {
	padding: clamp(22px, 3vw, 36px);
	border-radius: var(--r-panel);
	background: var(--white);
	color: var(--ink);
}

.sheet :focus-visible {
	outline-color: var(--ink);
}

.form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px 20px;
}

.field--full,
.consent,
.form-actions {
	grid-column: 1 / -1;
}

.field label {
	display: block;
	margin-bottom: 6px;
	font-size: 0.95rem;
	font-weight: 700;
}

.field .opt {
	color: var(--muted);
	font-weight: 400;
}

.field input,
.field select,
.field textarea {
	width: 100%;
	min-height: 48px;
	padding: 11px 14px;
	border: 1.5px solid var(--field);
	border-radius: var(--r-control);
	background: #fff;
	color: var(--ink);
	font: 400 1rem/1.4 var(--text);
}

.field select {
	appearance: none;
	padding-right: 40px;
	background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
	background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px;
	background-size: 5px 5px, 5px 5px;
	background-repeat: no-repeat;
}

.field textarea {
	min-height: 96px;
	resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
	border-color: var(--ink);
	outline: none;
	box-shadow: 0 0 0 3px rgba(31, 61, 53, 0.16);
}

.field__hint {
	margin: 6px 0 0;
	color: var(--muted);
	font-size: 0.86rem;
}

.consent {
	display: grid;
	grid-template-columns: 22px minmax(0, 1fr);
	gap: 4px 12px;
	align-items: start;
	font-size: 0.95rem;
}

.consent input {
	width: 20px;
	height: 20px;
	margin: 2px 0 0;
	accent-color: var(--ink);
}

.consent details {
	grid-column: 2;
	color: var(--muted);
	font-size: 0.9rem;
}

.consent summary {
	width: fit-content;
	color: var(--ink);
	text-decoration: underline;
	text-underline-offset: 0.2em;
	cursor: pointer;
}

.kvkk-text {
	margin-top: 10px;
	padding: 14px 16px;
	border-radius: var(--r-control);
	background: var(--paper);
}

.kvkk-text p {
	margin: 0 0 0.7em;
}

.kvkk-text p:last-child {
	margin-bottom: 0;
}

.form-actions .button {
	width: 100%;
	margin-top: 4px;
}

.notice {
	margin: 0 0 20px;
	padding: 14px 16px;
	border-radius: var(--r-control);
	font-size: 0.97rem;
}

.notice--error {
	border: 1px solid #E8C4BA;
	background: #FBEFEB;
	color: #7A2E22;
}

.booking-done h3 {
	font-size: 1.6rem;
}

.booking-done p {
	color: var(--ink-soft);
}

.hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

@media (max-width: 860px) {
	.booking__grid {
		grid-template-columns: 1fr;
	}
}

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

/* ---------- İç sayfalar ---------- */
.page-hero {
	padding: clamp(36px, 6vw, 80px) 0 clamp(24px, 3vw, 44px);
}

.page-hero h1 {
	max-width: 16em;
}

.back-link {
	display: inline-block;
	margin-bottom: 22px;
	color: var(--muted);
	font-size: 0.95rem;
}

.lead {
	max-width: 36em;
	color: var(--ink-soft);
	font-size: 1.22rem;
	line-height: 1.5;
}

.detail {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
	gap: clamp(36px, 5vw, 80px);
	align-items: start;
	padding-bottom: var(--section);
}

.prose {
	max-width: 40em;
}

.prose > * + h2,
.prose > * + h3 {
	margin-top: 1.7em;
}

.prose ul,
.prose ol {
	margin: 0 0 1.2em;
	padding-left: 1.25em;
}

.prose li {
	margin-bottom: 0.45em;
}

.prose li::marker {
	color: var(--pistachio-deep);
}

.prose img {
	border-radius: var(--r-panel);
}

.prose figure {
	margin: 1.6em 0;
}

.prose figcaption {
	margin-top: 8px;
	color: var(--muted);
	font-size: 0.88rem;
}

.prose blockquote {
	margin: 1.6em 0;
	padding-left: 20px;
	border-left: 3px solid var(--pistachio);
	color: var(--ink-soft);
}

.disclaimer {
	margin-top: 36px;
	padding-top: 18px;
	border-top: 1px solid var(--line);
	color: var(--muted);
	font-size: 0.9rem;
}

.aside-card {
	position: sticky;
	top: calc(var(--header-h) + 24px);
	display: grid;
	gap: 14px;
	padding: 28px;
	border: 1px solid var(--line);
	border-radius: var(--r-panel);
	background: var(--white);
}

.aside-card p {
	margin: 0;
	color: var(--ink-soft);
}

.aside-card dl {
	margin: 0 0 4px;
}

.aside-card dt {
	color: var(--muted);
	font-size: 0.86rem;
}

.aside-card dd {
	margin: 2px 0 0;
	font-family: var(--display);
	font-size: 1.25rem;
	line-height: 1.3;
}

.entry {
	padding-bottom: var(--section);
}

.post-list {
	display: grid;
	gap: 0;
	margin: 0;
	padding: 0 0 var(--section);
	list-style: none;
}

.post-list li {
	padding: 28px 0;
	border-top: 1px solid var(--line);
}

.post-list h2 {
	font-size: 1.6rem;
}

.post-list h2 a {
	text-decoration: none;
}

.post-list time,
.entry-date {
	display: block;
	margin-bottom: 8px;
	color: var(--muted);
	font-size: 0.9rem;
}

.pagination .nav-links {
	display: flex;
	gap: 12px;
	padding-bottom: var(--section);
}

@media (max-width: 860px) {
	.detail {
		grid-template-columns: 1fr;
	}

	.aside-card {
		position: static;
	}
}

/* ---------- Alt bölüm ---------- */
.site-footer {
	padding: 56px 0 36px;
	border-top: 1px solid var(--line);
	font-size: 0.97rem;
}

.site-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr);
	gap: 32px;
}

.site-footer__title {
	margin: 0 0 12px;
	font-family: var(--text);
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0;
}

.site-footer address {
	margin-top: 18px;
	color: var(--ink-soft);
	font-style: normal;
}

.site-footer ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer li + li {
	margin-top: 6px;
}

.site-footer a {
	text-decoration: none;
}

.site-footer a:hover {
	text-decoration: underline;
}

.site-footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 28px;
	margin-top: 44px;
	padding-top: 20px;
	border-top: 1px solid var(--line);
	color: var(--muted);
	font-size: 0.86rem;
}

.site-footer__legal p {
	margin: 0;
}

.site-footer__credit {
	margin: 18px 0 0;
	color: var(--muted);
	font-size: 0.82rem;
}

@media (max-width: 800px) {
	.site-footer__grid {
		grid-template-columns: 1fr;
	}
}

/* ---------- Mobil hızlı iletişim çubuğu ---------- */
.action-bar {
	display: none;
}

@media (max-width: 760px) {
	.action-bar {
		position: fixed;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 50;
		display: grid;
		grid-auto-columns: 1fr;
		grid-auto-flow: column;
		gap: 8px;
		padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
		border-top: 1px solid var(--line);
		background: var(--paper);
	}

	.action-bar a {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 8px;
		min-height: 48px;
		border: 1.5px solid var(--ink);
		border-radius: var(--r-control);
		font-size: 0.95rem;
		font-weight: 700;
		text-decoration: none;
	}

	.action-bar svg {
		width: 18px;
		height: 18px;
	}

	.action-bar .is-primary {
		background: var(--ink);
		color: #fff;
	}

	body {
		padding-bottom: 76px;
	}
}

/* ---------- WordPress çekirdek sınıfları ---------- */
.alignleft {
	float: left;
	margin: 0.4em 1.5em 1em 0;
}

.alignright {
	float: right;
	margin: 0.4em 0 1em 1.5em;
}

.aligncenter {
	margin-inline: auto;
}

.wp-caption-text {
	color: var(--muted);
	font-size: 0.88rem;
}

.sticky,
.gallery-caption,
.bypostauthor {
	display: block;
}

/* ---------- Hareket tercihi ---------- */
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.ia-osseo,
	.ia-implant,
	.ia-threads,
	.ia-abutment,
	.ia-crown,
	.ia-osseo__line,
	.implant-anim__steps li {
		animation: none;
	}

	.ia-osseo {
		opacity: 0;
	}

	.implant-anim__steps li {
		opacity: 1;
	}

	.faq summary::after {
		transition: none;
	}
}

/* ---------- Alt bölüm menüsü ---------- */
.site-footer .nav__list,
.site-footer .footer-menu {
	display: block;
}

.site-footer .nav__list li + li,
.site-footer .footer-menu li + li {
	margin-top: 6px;
}

.site-footer .nav__list a {
	font-size: inherit;
}
