:root {
	--teal: #1aa3a3;
	--teal-dark: #0d6d6d;
	--ink: #243036;
	--muted: #5d6c72;
	--line: #e4ddd4;
	--paper: #f4f0ea;
	--card: #fffdfb;
	--rose: #b85b78;
	--boy: #3d6d96;
	--shadow: 0 18px 50px rgba(36, 48, 54, 0.08);
	--radius: 22px;
	--hero-aside-bg: #243036;
	--submit-bg: #243036;
	--submit-hover: #162026;
	--field-bg: #fff;
	--field-border: #d9d1c7;
	--result-bg: #f7f4ef;
	--result-border: #d8cfc4;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: "Manrope", "Segoe UI", sans-serif;
	color: var(--ink);
	background:
		radial-gradient(900px 420px at 100% -10%, rgba(26, 163, 163, 0.16), transparent 60%),
		radial-gradient(700px 380px at -10% 20%, rgba(184, 91, 120, 0.08), transparent 55%),
		var(--paper);
	line-height: 1.55;
}
img { max-width: 100%; height: auto; }
img.emoji,
img.wp-smiley {
	display: inline !important;
	width: 1.15em !important;
	height: 1.15em !important;
	max-width: 1.15em !important;
	max-height: 1.15em !important;
	vertical-align: -0.12em;
	margin: 0 0.05em;
	box-shadow: none !important;
	border: none !important;
}
a { color: var(--teal-dark); }
button, select { font: inherit; }

.wrap {
	width: min(1120px, calc(100% - 32px));
	margin: 0 auto;
}

.topbar {
	position: sticky;
	top: 0;
	z-index: 20;
	background: rgba(244, 240, 234, 0.98);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid rgba(228, 221, 212, 0.9);
	isolation: isolate;
}
.topbar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 76px;
}
.brand {
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	color: inherit;
}
.brand img { height: 56px; width: auto; max-width: min(280px, 72vw); }
.nav {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	justify-content: flex-end;
	margin-left: auto;
}
.nav a {
	text-decoration: none;
	color: var(--ink);
	font-weight: 700;
	font-size: 14px;
	padding: 8px 10px;
	border-radius: 999px;
	white-space: nowrap;
}
.nav a:hover { background: #fff; color: var(--teal-dark); }

.nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 44px;
	height: 44px;
	padding: 10px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: #fff;
	cursor: pointer;
	flex-shrink: 0;
	margin-right: 4px;
}
.nav-toggle-bar {
	display: block;
	width: 100%;
	height: 2px;
	background: var(--ink);
	border-radius: 2px;
	transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
	opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

.topbar-tools {
	display: none;
	align-items: center;
	gap: 6px;
	flex-shrink: 0;
}

.tool-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: #fff;
	color: var(--ink);
	cursor: pointer;
}

.tool-btn:hover {
	color: var(--teal-dark);
	border-color: var(--teal);
}

.tool-btn svg {
	display: block;
}

.topbar-skin-toggle .cin-tb-sun {
	display: none;
}

html.dark-skin .topbar-skin-toggle .cin-tb-moon {
	display: none;
}

html.dark-skin .topbar-skin-toggle .cin-tb-sun {
	display: block;
}

.topbar-search {
	border-bottom: 1px solid var(--line);
	background: rgba(255, 253, 251, 0.98);
}

.topbar-search-form {
	display: flex;
	gap: 8px;
	align-items: center;
	padding: 10px 0 12px;
}

.topbar-search-form input[type="search"] {
	flex: 1;
	min-width: 0;
	border: 1px solid var(--line);
	border-radius: 12px;
	padding: 11px 12px;
	background: #fff;
	color: var(--ink);
}

.topbar-search-submit,
.topbar-search-close {
	border: 0;
	border-radius: 12px;
	padding: 11px 14px;
	font-weight: 800;
	cursor: pointer;
}

.topbar-search-submit {
	background: var(--teal);
	color: #fff;
}

.topbar-search-close {
	background: transparent;
	color: var(--muted);
}

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

html.dark-skin body.cin-anasayfa-standalone {
	--paper: #151b20;
	--card: #1e262d;
	--ink: #e8ecef;
	--muted: #a8b3ba;
	--line: #2f3a44;
	--hero-aside-bg: #1a2228;
	--submit-bg: #1aa3a3;
	--submit-hover: #0d6d6d;
	--field-bg: #1e262d;
	--field-border: #3d4a56;
	--result-bg: #1a2228;
	--result-border: #3d4a56;
	color-scheme: dark;
	background:
		radial-gradient(900px 420px at 100% -10%, rgba(26, 163, 163, 0.12), transparent 60%),
		radial-gradient(700px 380px at -10% 20%, rgba(184, 91, 120, 0.06), transparent 55%),
		var(--paper);
}

html.dark-skin body.cin-anasayfa-standalone .topbar,
html.dark-skin body.cin-anasayfa-standalone .topbar-search {
	background: #151b20;
}

html.dark-skin body.cin-anasayfa-standalone .nav a:hover {
	background: rgba(255, 255, 255, 0.06);
	color: #fff;
}

html.dark-skin body.cin-anasayfa-standalone select {
	background-color: var(--field-bg);
	border-color: var(--field-border);
	color: var(--ink);
}

html.dark-skin body.cin-anasayfa-standalone select option {
	background: #1e262d;
	color: #e8ecef;
}

html.dark-skin body.cin-anasayfa-standalone .submit {
	background: var(--submit-bg);
	color: #fff;
}

html.dark-skin body.cin-anasayfa-standalone .submit:hover {
	background: var(--submit-hover);
}

html.dark-skin body.cin-anasayfa-standalone .kicker {
	background: var(--card);
	border: 1px solid var(--line);
}

html.dark-skin body.cin-anasayfa-standalone .result {
	background: var(--result-bg);
	border-color: var(--result-border);
}

html.dark-skin body.cin-anasayfa-standalone .result.is-ready {
	background: var(--card);
}

html.dark-skin body.cin-anasayfa-standalone .consult-hint,
html.dark-skin body.cin-anasayfa-standalone .consult--ssr {
	background: var(--result-bg);
	border-color: var(--result-border);
}

html.dark-skin body.cin-anasayfa-standalone .consult-thread {
	background: var(--card);
}

html.dark-skin body.cin-anasayfa-standalone .tool-btn,
html.dark-skin body.cin-anasayfa-standalone .nav-toggle,
html.dark-skin body.cin-anasayfa-standalone .topbar-search-form input {
	background: #1e262d;
	color: var(--ink);
	border-color: var(--line);
}

html.dark-skin body.cin-anasayfa-standalone .panel,
html.dark-skin body.cin-anasayfa-standalone .note,
html.dark-skin body.cin-anasayfa-standalone .guide,
html.dark-skin body.cin-anasayfa-standalone details {
	background: var(--card);
	border-color: var(--line);
}

.hero {
	padding: 42px 0 10px;
	display: grid;
	grid-template-columns: 1.3fr 0.7fr;
	gap: 28px;
	align-items: end;
}
.kicker {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 12px;
	padding: 6px 12px;
	border-radius: 999px;
	background: #fff;
	color: var(--teal-dark);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.02em;
}
h1 {
	font-family: "Fraunces", Georgia, serif;
	font-weight: 620;
	font-size: clamp(34px, 5vw, 58px);
	line-height: 1.05;
	letter-spacing: -0.03em;
	margin: 0 0 14px;
}
.lead {
	margin: 0;
	max-width: 62ch;
	font-size: 18px;
	color: var(--muted);
}
.note {
	margin-top: 18px;
	padding: 14px 16px;
	border-radius: 16px;
	background: #fff;
	border: 1px solid var(--line);
	color: var(--ink);
	font-size: 14.5px;
}
.hero-aside {
	background: var(--hero-aside-bg);
	color: #f7f4ef;
	border-radius: 28px;
	padding: 22px;
	box-shadow: var(--shadow);
}
.hero-aside p { margin: 0 0 8px; color: #d7e4e4; }
.hero-aside strong {
	display: block;
	font-family: "Fraunces", Georgia, serif;
	font-size: 28px;
	font-weight: 600;
	color: #fff;
	margin-bottom: 8px;
}
.hero-aside ol {
	margin: 12px 0 0;
	padding-left: 18px;
}
.hero-aside li { margin: 6px 0; }

.stack {
	display: flex;
	flex-direction: column;
	gap: 18px;
	margin: 28px 0 28px;
}
.panel {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 28px;
	box-shadow: var(--shadow);
	padding: 22px;
}
.panel-head {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	align-items: flex-start;
	margin-bottom: 16px;
}
.panel-head h2 {
	font-family: "Fraunces", Georgia, serif;
	font-size: 30px;
	margin: 0 0 4px;
	font-weight: 620;
}
.panel-head p { margin: 0; color: var(--muted); }
.more {
	white-space: nowrap;
	font-weight: 800;
	text-decoration: none;
	padding-top: 8px;
}

.calc-form { margin-bottom: 14px; }
fieldset {
	border: 0;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 12px;
}
.field label {
	display: block;
	font-weight: 800;
	font-size: 14px;
	margin-bottom: 6px;
}
.dates {
	display: grid;
	grid-template-columns: 0.7fr 1.2fr 0.9fr;
	gap: 8px;
}
select {
	width: 100%;
	border: 1px solid var(--field-border);
	background: var(--field-bg);
	border-radius: 12px;
	padding: 12px 10px;
	color: var(--ink);
}
select:focus {
	outline: 2px solid rgba(26, 163, 163, 0.35);
	border-color: var(--teal);
}
.submit {
	margin-top: 4px;
	border: 0;
	border-radius: 14px;
	background: var(--submit-bg);
	color: #fff;
	font-weight: 800;
	padding: 14px 18px;
	cursor: pointer;
}
.submit:hover { background: var(--submit-hover); }
.submit:disabled { opacity: 0.6; cursor: wait; }
.fine {
	margin: 0;
	color: var(--muted);
	font-size: 13px;
}

.result {
	min-height: 0;
	border-radius: 22px;
	background: #f7f4ef;
	border: 1px dashed #d8cfc4;
	padding: 18px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.result.is-ready {
	border-style: solid;
	background: #fff;
}
.result h3 {
	font-family: "Fraunces", Georgia, serif;
	font-size: 28px;
	margin: 0 0 8px;
	line-height: 1.15;
}
.result p { margin: 0 0 8px; }
.result img {
	width: 92px;
	height: auto;
	margin-top: 8px;
}
.result.girl h3 { color: var(--rose); }
.result.boy h3 { color: var(--boy); }
.result.even h3 { color: var(--teal-dark); }

.consult {
	margin-top: 18px;
	padding-top: 18px;
	border-top: 1px solid var(--line);
}
.consult-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 6px;
}
.consult-head h3 {
	margin: 0;
	font-family: "Fraunces", Georgia, serif;
	font-size: 22px;
	font-weight: 620;
}
.consult-all {
	font-weight: 800;
	font-size: 14px;
	text-decoration: none;
}
.consult-lead {
	margin: 0 0 12px;
	font-size: 14px;
	color: var(--muted);
}
.consult-hint {
	margin: 0 0 12px;
	padding: 12px 14px;
	border-radius: 14px;
	background: #f7f4ef;
	border: 1px dashed #d8cfc4;
	font-size: 13.5px;
	color: var(--ink);
}
.consult-examples {
	margin: 0 0 10px;
	font-size: 13px;
	color: var(--muted);
}
.consult--ssr {
	border: 1px solid rgba(26, 163, 163, 0.35);
	border-radius: 18px;
	padding: 14px;
	background: #fcfaf7;
}
.consult-threads {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 12px;
	min-height: 0;
}
.consult-threads.is-loading {
	color: var(--muted);
	font-size: 14px;
}
.consult-thread {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 16px;
	padding: 12px 14px;
}
.consult-msg + .consult-msg {
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px solid #efe8df;
}
.consult-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 10px;
	align-items: baseline;
	margin-bottom: 4px;
	font-size: 13px;
}
.consult-meta b { font-weight: 800; }
.consult-meta time { color: var(--muted); }
.consult-meta .staff {
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--teal-dark);
}
.consult-body {
	margin: 0;
	font-size: 14.5px;
	color: var(--ink);
}
.consult-body p { margin: 0; }
.consult-ask {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 16px;
	border-radius: 14px;
	background: var(--teal);
	color: #fff;
	font-weight: 800;
	text-decoration: none;
}
.consult-ask:hover { background: var(--teal-dark); color: #fff; }
.consult-empty {
	margin: 0;
	font-size: 14px;
	color: var(--muted);
}

.empty-title {
	font-weight: 800;
	margin: 0 0 6px;
}
.guides {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
	margin: 8px 0 36px;
}
.guide {
	background: #fff;
	border-radius: 20px;
	padding: 18px;
	border: 1px solid var(--line);
	text-decoration: none;
	color: inherit;
}
.guide:hover { border-color: var(--teal); }
.guide b { display: block; margin-bottom: 6px; font-size: 18px; }
.guide span { color: var(--muted); font-size: 14.5px; }

.posts { margin: 8px 0 36px; }
.posts-head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	margin-bottom: 12px;
}
.posts-head h2 {
	font-family: "Fraunces", Georgia, serif;
	font-size: 36px;
	margin: 0;
}
.posts-head a { font-weight: 800; text-decoration: none; }
.post-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
}
.guide small {
	display: block;
	color: var(--teal-dark);
	font-weight: 800;
	font-size: 12px;
	margin-bottom: 6px;
}

.faq { padding-bottom: 20px; }
.faq h2 {
	font-family: "Fraunces", Georgia, serif;
	font-size: 36px;
	margin: 0 0 8px;
}
.faq > p { margin-top: 0; color: var(--muted); }
details {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 16px;
	padding: 14px 16px;
	margin: 10px 0;
}
summary {
	cursor: pointer;
	font-weight: 800;
}
details p { margin: 10px 0 0; color: var(--muted); }

footer {
	border-top: 1px solid var(--line);
	padding: 22px 0 36px;
	color: var(--muted);
	font-size: 14px;
}
.foot {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}
.foot a { margin-right: 12px; }

@media (max-width: 980px) {
	.hero, .guides, .post-grid { grid-template-columns: 1fr; }
	.panel-head { flex-direction: column; }
	.brand img { height: 52px; max-width: min(240px, 58vw); }
	.topbar-inner {
		display: grid;
		grid-template-columns: 44px 1fr auto;
		align-items: center;
		padding: 10px 0;
		position: relative;
		min-height: 72px;
		gap: 0;
	}
	.topbar-tools {
		display: flex;
		grid-column: 3;
		grid-row: 1;
	}
	.nav-toggle {
		display: flex;
		grid-column: 1;
		grid-row: 1;
	}
	.brand {
		grid-column: 2;
		grid-row: 1;
		justify-self: center;
		justify-content: center;
		max-width: 100%;
	}
	.nav {
		display: none;
		grid-column: 1 / -1;
		grid-row: 2;
		position: relative;
		top: auto;
		left: auto;
		right: auto;
		margin-left: 0;
		margin-top: 4px;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 8px 0 12px;
		background: rgba(255, 253, 251, 0.98);
		border-bottom: 1px solid var(--line);
		box-shadow: 0 12px 28px rgba(36, 48, 54, 0.08);
		z-index: 30;
	}
	.nav.is-open {
		display: flex;
	}
	.nav a {
		white-space: normal;
		padding: 12px 16px;
		font-size: 15px;
		border-radius: 0;
		border-bottom: 1px solid rgba(228, 221, 212, 0.6);
	}
	.nav a:last-child {
		border-bottom: 0;
	}
	html.dark-skin body.cin-anasayfa-standalone .nav {
		background: #151b20;
	}
	html.dark-skin body.cin-anasayfa-standalone .nav a {
		border-bottom-color: var(--line);
	}
}
