/*
 * Online Zikirmatik — “Sakin Dijital İbadet Alanı”
 * Theme presentation only. Zikir Odası Core keeps ownership of all .zo-* UI.
 */

@theme {
	--color-night-green: #0F2A22;
	--color-night-green-soft: #183B31;
	--color-emerald: #2F8F5B;
	--color-emerald-dark: #247249;
	--color-soft-gold: #D6B24A;
	--color-cream: #F8F3E7;
	--color-card: #FFFDF7;
	--color-ink: #1E1E1E;
	--color-muted: #66746E;
	--font-display: "Manrope", "Segoe UI", sans-serif;
	--font-sans: "Manrope", "Segoe UI", sans-serif;
	--radius-soft: 1.25rem;
	--radius-pill: 999px;
}

:root {
	--oz-night: #0F2A22;
	--oz-night-soft: #183B31;
	--oz-emerald: #2F8F5B;
	--oz-emerald-dark: #247249;
	--oz-gold: #D6B24A;
	--oz-cream: #F8F3E7;
	--oz-card: #FFFDF7;
	--oz-ink: #1E1E1E;
	--oz-muted: #66746E;
	--oz-line: rgba(15, 42, 34, 0.13);
	--oz-shadow: 0 22px 60px rgba(15, 42, 34, 0.09);
	--oz-content: 1180px;
	--oz-reading: 780px;
	--oz-serif: "Manrope", "Segoe UI", sans-serif;
	--oz-sans: "Manrope", "Segoe UI", sans-serif;
}

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

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	color: var(--oz-ink);
	background: var(--oz-cream);
	font-family: var(--oz-sans);
	font-size: 16px;
	line-height: 1.65;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

body.oz-menu-open {
	overflow: hidden;
}

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

a {
	color: var(--oz-emerald-dark);
	text-underline-offset: 0.18em;
}

button,
input,
textarea,
select {
	font: inherit;
}

button,
a {
	-webkit-tap-highlight-color: transparent;
}

:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--oz-gold) 80%, white);
	outline-offset: 4px;
}

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

.oz-skip-link {
	position: fixed;
	z-index: 100000;
	top: 12px;
	left: 12px;
	padding: 10px 16px;
	border-radius: 999px;
	color: #fff;
	background: var(--oz-night);
	font-weight: 700;
	text-decoration: none;
	transform: translateY(-180%);
	transition: transform 180ms ease;
}

.oz-skip-link:focus {
	transform: translateY(0);
}

/* App surfaces: Core renders the complete visual shell. */
body.oz-app-surface {
	min-height: 100svh;
	background: var(--oz-cream);
}

.oz-app-main {
	min-height: 100svh;
	margin: 0;
	padding: 0;
}

.oz-app-main > :first-child {
	margin-top: 0;
}

.oz-app-main > :last-child {
	margin-bottom: 0;
}

/* Global site chrome for legal, editorial and future blog pages. */
.oz-site-header {
	position: sticky;
	z-index: 900;
	top: 0;
	border-bottom: 1px solid var(--oz-line);
	background: color-mix(in srgb, var(--oz-card) 91%, transparent);
	-webkit-backdrop-filter: blur(18px);
	backdrop-filter: blur(18px);
}

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

.oz-header-inner {
	width: min(calc(100% - 40px), var(--oz-content));
	min-height: 82px;
	margin-inline: auto;
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 34px;
}

.oz-brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: var(--oz-night);
	text-decoration: none;
}

.oz-brand-mark {
	width: 44px;
	height: 44px;
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	border: 1px solid rgba(214, 178, 74, 0.62);
	border-radius: 15px;
	color: var(--oz-gold);
	background:
		radial-gradient(circle at 32% 22%, rgba(255,255,255,.18), transparent 36%),
		var(--oz-night);
	box-shadow: 0 8px 22px rgba(15, 42, 34, 0.18);
}

.oz-brand-mark svg {
	width: 30px;
	height: 30px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.45;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.oz-brand-copy {
	display: grid;
	line-height: 1.12;
}

.oz-brand-copy strong {
	font-family: var(--oz-serif);
	font-size: 20px;
	letter-spacing: -0.01em;
}

.oz-brand-copy small {
	margin-top: 5px;
	color: var(--oz-muted);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

.oz-primary-nav {
	justify-self: center;
}

.oz-nav-list {
	display: flex;
	align-items: center;
	gap: 5px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.oz-nav-list a {
	display: inline-flex;
	align-items: center;
	min-height: 42px;
	padding: 8px 13px;
	border-radius: 999px;
	color: var(--oz-night);
	font-size: 14px;
	font-weight: 650;
	text-decoration: none;
	transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.oz-nav-list a:hover {
	color: var(--oz-emerald-dark);
	background: rgba(47, 143, 91, 0.08);
	transform: translateY(-1px);
}

.oz-header-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-height: 44px;
	padding: 10px 18px;
	border: 1px solid var(--oz-night);
	border-radius: 999px;
	color: #fff;
	background: var(--oz-night);
	box-shadow: 0 10px 24px rgba(15, 42, 34, 0.14);
	font-size: 14px;
	font-weight: 750;
	text-decoration: none;
	transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.oz-header-cta svg {
	width: 17px;
	height: 17px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.oz-header-cta:hover {
	color: #fff;
	background: var(--oz-emerald-dark);
	transform: translateY(-2px);
	box-shadow: 0 14px 28px rgba(15, 42, 34, 0.2);
}

.oz-menu-toggle {
	display: none;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 1px solid var(--oz-line);
	border-radius: 50%;
	background: var(--oz-card);
	cursor: pointer;
}

.oz-menu-toggle > span:not(.screen-reader-text) {
	width: 18px;
	height: 1.5px;
	display: block;
	margin: 4px auto;
	background: var(--oz-night);
	transition: transform 180ms ease, opacity 180ms ease;
}

/* Standard page presentation. */
.oz-page-main {
	min-height: 65svh;
}

.oz-page-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding: clamp(62px, 8vw, 108px) 0 clamp(76px, 9vw, 128px);
	color: #fff;
	background:
		radial-gradient(circle at 82% 12%, rgba(214, 178, 74, 0.2), transparent 28%),
		linear-gradient(145deg, #0F2A22 0%, #15372D 58%, #0B211A 100%);
}

.oz-page-hero::after {
	content: "";
	position: absolute;
	z-index: -1;
	right: -10%;
	bottom: -210px;
	width: 500px;
	height: 500px;
	border: 1px solid rgba(214, 178, 74, 0.24);
	border-radius: 50%;
	box-shadow:
		0 0 0 46px rgba(214, 178, 74, 0.035),
		0 0 0 92px rgba(214, 178, 74, 0.025);
}

.oz-page-hero-pattern {
	position: absolute;
	z-index: -1;
	inset: 0;
	opacity: 0.22;
	background-image:
		linear-gradient(30deg, transparent 46%, rgba(255,255,255,.11) 47%, rgba(255,255,255,.11) 49%, transparent 50%),
		linear-gradient(-30deg, transparent 46%, rgba(214,178,74,.13) 47%, rgba(214,178,74,.13) 49%, transparent 50%);
	background-size: 54px 94px;
	mask-image: linear-gradient(90deg, transparent 0%, #000 60%, #000 100%);
}

.oz-content-width {
	width: min(calc(100% - 40px), var(--oz-reading));
	margin-inline: auto;
}

.oz-breadcrumb {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin-bottom: 32px;
	color: rgba(255,255,255,.68);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-decoration: none;
	text-transform: uppercase;
}

.oz-breadcrumb:hover {
	color: #fff;
}

.oz-breadcrumb svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.oz-eyebrow {
	margin: 0 0 12px;
	color: var(--oz-gold);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.oz-page-hero h1 {
	max-width: 720px;
	margin: 0;
	font-family: var(--oz-serif);
	font-size: clamp(42px, 7vw, 76px);
	font-weight: 500;
	line-height: 0.98;
	letter-spacing: -0.045em;
	text-wrap: balance;
}

.oz-prose {
	position: relative;
	z-index: 2;
	margin-top: -44px;
	margin-bottom: clamp(70px, 10vw, 130px);
	padding: clamp(32px, 6vw, 68px);
	border: 1px solid rgba(15, 42, 34, 0.08);
	border-radius: 28px;
	background:
		radial-gradient(circle at 100% 0, rgba(214,178,74,.08), transparent 28%),
		var(--oz-card);
	box-shadow: var(--oz-shadow);
}

.oz-prose > :first-child {
	margin-top: 0;
}

.oz-prose > :last-child {
	margin-bottom: 0;
}

.oz-prose h1:first-child {
	display: none;
}

.oz-prose h2,
.oz-prose h3,
.oz-prose h4 {
	margin: 1.7em 0 0.55em;
	color: var(--oz-night);
	font-family: var(--oz-serif);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.025em;
	text-wrap: balance;
}

.oz-prose h2 {
	padding-top: 0.35em;
	font-size: clamp(28px, 4vw, 38px);
}

.oz-prose h3 {
	font-size: clamp(22px, 3vw, 29px);
}

.oz-prose p,
.oz-prose li {
	color: #33453F;
	font-size: clamp(16px, 1.8vw, 18px);
	line-height: 1.85;
}

.oz-prose p {
	margin: 0 0 1.15em;
}

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

.oz-prose li {
	margin: 0.45em 0;
	padding-left: 0.35em;
}

.oz-prose strong {
	color: var(--oz-night);
	font-weight: 750;
}

.oz-prose a {
	color: var(--oz-emerald-dark);
	font-weight: 700;
	text-decoration-thickness: 1px;
}

.oz-prose blockquote {
	margin: 2em 0;
	padding: 22px 26px;
	border-left: 3px solid var(--oz-gold);
	border-radius: 0 18px 18px 0;
	color: var(--oz-night);
	background: rgba(214, 178, 74, 0.09);
	font-family: var(--oz-serif);
	font-size: 21px;
}

.oz-prose hr {
	height: 1px;
	margin: 42px 0;
	border: 0;
	background: var(--oz-line);
}

.oz-featured-image {
	margin: -30px -30px 38px;
	overflow: hidden;
	border-radius: 20px;
}

.oz-featured-image img {
	width: 100%;
	height: auto;
}

/* Footer */
.oz-site-footer {
	color: rgba(255,255,255,.74);
	background:
		radial-gradient(circle at 12% 0, rgba(214,178,74,.1), transparent 30%),
		var(--oz-night);
}

.oz-footer-inner {
	width: min(calc(100% - 40px), var(--oz-content));
	margin-inline: auto;
	padding: 58px 0 42px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 36px;
}

.oz-footer-brand {
	max-width: 500px;
	display: flex;
	align-items: center;
	gap: 16px;
}

.oz-footer-brand .oz-brand-mark {
	border-color: rgba(214,178,74,.35);
	background: rgba(255,255,255,.04);
	box-shadow: none;
}

.oz-footer-brand strong {
	color: #fff;
	font-family: var(--oz-serif);
	font-size: 24px;
	font-weight: 600;
}

.oz-footer-brand p {
	margin: 4px 0 0;
	font-size: 14px;
}

.oz-footer-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 8px 22px;
}

.oz-footer-links a {
	color: rgba(255,255,255,.72);
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
}

.oz-footer-links a:hover {
	color: var(--oz-gold);
}

.oz-footer-bottom {
	width: min(calc(100% - 40px), var(--oz-content));
	margin-inline: auto;
	padding: 20px 0 26px;
	display: flex;
	justify-content: space-between;
	gap: 20px;
	border-top: 1px solid rgba(255,255,255,.1);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

@media (max-width: 980px) {
	.oz-header-inner {
		grid-template-columns: auto auto;
		justify-content: space-between;
		min-height: 72px;
		gap: 14px;
	}

	.oz-menu-toggle {
		display: block;
	}

	.oz-primary-nav {
		position: fixed;
		z-index: 950;
		top: 73px;
		right: 14px;
		left: 14px;
		display: none;
		padding: 14px;
		border: 1px solid var(--oz-line);
		border-radius: 22px;
		background: var(--oz-card);
		box-shadow: 0 24px 70px rgba(15,42,34,.2);
	}

	.admin-bar .oz-primary-nav {
		top: 105px;
	}

	.oz-primary-nav.is-open {
		display: block;
		animation: oz-menu-in 180ms ease both;
	}

	.oz-nav-list {
		display: grid;
		gap: 3px;
	}

	.oz-nav-list a {
		width: 100%;
		justify-content: space-between;
		padding: 12px 14px;
		border-radius: 13px;
	}

	.oz-header-cta {
		display: none;
	}

	.oz-footer-inner,
	.oz-footer-bottom {
		align-items: flex-start;
		flex-direction: column;
	}

	.oz-footer-links {
		justify-content: flex-start;
	}
}

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

	.admin-bar .oz-primary-nav {
		top: 119px;
	}
}

@media (max-width: 600px) {
	.oz-header-inner,
	.oz-content-width,
	.oz-footer-inner,
	.oz-footer-bottom {
		width: min(calc(100% - 28px), var(--oz-content));
	}

	.oz-brand-mark {
		width: 40px;
		height: 40px;
		border-radius: 13px;
	}

	.oz-brand-mark svg {
		width: 27px;
		height: 27px;
	}

	.oz-brand-copy strong {
		font-size: 18px;
	}

	.oz-brand-copy small {
		display: none;
	}

	.oz-page-hero {
		padding: 50px 0 82px;
	}

	.oz-page-hero h1 {
		font-size: clamp(38px, 12vw, 54px);
	}

	.oz-breadcrumb {
		margin-bottom: 24px;
	}

	.oz-prose {
		width: calc(100% - 20px);
		margin-top: -34px;
		padding: 28px 22px;
		border-radius: 22px;
	}

	.oz-prose p,
	.oz-prose li {
		font-size: 16px;
		line-height: 1.76;
	}

	.oz-footer-inner {
		padding-top: 44px;
	}

	.oz-footer-links {
		display: grid;
		grid-template-columns: 1fr 1fr;
		width: 100%;
	}

	.oz-footer-bottom {
		font-size: 10px;
	}

	.oz-footer-bottom span:last-child {
		display: none;
	}
}

/* Blog listing (archive, search results, default index). */
.oz-blog-list {
	width: min(calc(100% - 40px), var(--oz-content));
	margin-inline: auto;
	padding: clamp(48px, 7vw, 88px) 0;
	display: grid;
	gap: 40px;
}

.oz-blog-card {
	padding-bottom: 36px;
	border-bottom: 1px solid var(--oz-line);
}

.oz-blog-card:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.oz-blog-meta {
	margin: 0 0 10px;
	color: var(--oz-muted);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.oz-blog-title {
	margin: 0 0 12px;
	font-family: var(--oz-serif);
	font-size: clamp(22px, 3vw, 30px);
	font-weight: 650;
	line-height: 1.2;
	letter-spacing: -0.02em;
}

.oz-blog-title a {
	color: var(--oz-night);
	text-decoration: none;
}

.oz-blog-title a:hover {
	color: var(--oz-emerald-dark);
}

.oz-blog-excerpt {
	color: #33453F;
	font-size: 16px;
	line-height: 1.8;
}

.oz-empty-state {
	width: min(calc(100% - 40px), var(--oz-content));
	margin-inline: auto;
	padding: 40px 0 88px;
	color: var(--oz-muted);
	font-size: 16px;
}

.oz-pagination {
	width: min(calc(100% - 40px), var(--oz-content));
	margin-inline: auto;
	padding: 0 0 88px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	font-size: 14px;
	font-weight: 700;
}

.oz-pagination a {
	color: var(--oz-emerald-dark);
	text-decoration: none;
}

.oz-pagination a:hover {
	text-decoration: underline;
}

/* Search form (used in header search page + 404). */
.oz-search-form {
	display: flex;
	gap: 10px;
}

.oz-search-form input[type="search"] {
	flex: 1;
	min-width: 0;
	padding: 12px 16px;
	border: 1px solid var(--oz-line);
	border-radius: 999px;
	background: var(--oz-card);
	color: var(--oz-ink);
	font-size: 15px;
}

.oz-search-form input[type="search"]:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--oz-gold) 80%, white);
	outline-offset: 2px;
}

.oz-search-form button {
	padding: 12px 20px;
	border: 1px solid var(--oz-night);
	border-radius: 999px;
	color: #fff;
	background: var(--oz-night);
	font-weight: 700;
	cursor: pointer;
}

.oz-search-form button:hover {
	background: var(--oz-emerald-dark);
	border-color: var(--oz-emerald-dark);
}

/* Single post. */
.oz-post-header {
	margin-bottom: 24px;
}

.oz-post-title {
	margin: 0;
	font-family: var(--oz-serif);
	font-size: clamp(30px, 5vw, 46px);
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: -0.03em;
}

.oz-post-meta {
	margin-top: 10px;
	color: var(--oz-muted);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.oz-post-nav {
	width: min(calc(100% - 40px), var(--oz-reading));
	margin: 0 auto clamp(60px, 8vw, 100px);
	padding-top: 28px;
	display: flex;
	justify-content: space-between;
	gap: 24px;
	border-top: 1px solid var(--oz-line);
	font-size: 14px;
	font-weight: 700;
}

.oz-post-nav a {
	color: var(--oz-night);
	text-decoration: none;
}

.oz-post-nav a:hover {
	color: var(--oz-emerald-dark);
}

.oz-post-nav .oz-post-nav-next {
	margin-left: auto;
	text-align: right;
}

/* 404 page. */
.oz-404-actions {
	margin-top: 32px;
	display: grid;
	gap: 20px;
	justify-items: center;
}

.oz-404-back {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--oz-emerald-dark);
	font-weight: 700;
	text-decoration: none;
}

.oz-404-back:hover {
	text-decoration: underline;
}

@media (max-width: 600px) {
	.oz-blog-list,
	.oz-empty-state,
	.oz-pagination {
		width: min(calc(100% - 28px), var(--oz-content));
	}
}

@keyframes oz-menu-in {
	from { opacity: 0; transform: translateY(-8px) scale(.98); }
	to { opacity: 1; transform: translateY(0) scale(1); }
}

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

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

@media print {
	.oz-site-header,
	.oz-site-footer,
	.oz-breadcrumb {
		display: none !important;
	}

	.oz-page-hero {
		padding: 20px 0;
		color: #000;
		background: #fff;
	}

	.oz-prose {
		margin: 0;
		padding: 20px 0;
		border: 0;
		box-shadow: none;
	}
}


