/*
Theme Name: istanbulEsc Premium
Theme URI: https://istanbulesc.com
Description: Modern, hızlı ve SEO odaklı premium ilan & blog teması. Koyu premium tasarım, siyah + altın palet, tam responsive.
Author: istanbulEsc
Version: 2.0.0
Text Domain: classipress
Tags: dark, premium, classifieds, blog, responsive, seo-optimized
*/

/* ==========================================================================
   1. RESET & NORMALIZE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }
body { min-height: 100vh; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; transition: color .2s ease, opacity .2s ease; }
ul, ol { list-style: none; }
table { border-collapse: collapse; border-spacing: 0; width: 100%; }
hr { border: 0; height: 1px; background: var(--border); }
[hidden] { display: none !important; }

/* ==========================================================================
   2. DESIGN TOKENS (CSS Custom Properties)
   ========================================================================== */
:root {
	/* Palette — Editorial Premium (Ivory + Deep Burgundy) */
	--bg: #fbfaf7;              /* Warm ivory */
	--bg-2: #f4f2ec;            /* Slightly darker cream for section stripes */
	--surface: #ffffff;         /* Card / elevated */
	--surface-2: #faf8f3;       /* Subtle tinted panel */
	--surface-3: #efece4;       /* Deeper panel */
	--border: #e6e2d6;          /* Warm neutral border */
	--border-2: #d0ccbf;

	--text: #1a1613;            /* Rich ink */
	--text-2: #4a423d;          /* Body */
	--text-3: #7a706a;          /* Meta */
	--muted: #a09890;

	/* Deep burgundy primary — editorial premium red */
	--gold: #8b0f1f;            /* variable name preserved for compat — actually burgundy */
	--gold-2: #a51830;          /* Lighter accent */
	--gold-3: #6d0a17;          /* Darker on hover */
	--gold-glow: rgba(139, 15, 31, .18);
	--gold-soft: rgba(139, 15, 31, .06);

	/* Semantic aliases (use these in new code) */
	--accent: #8b0f1f;
	--accent-2: #a51830;
	--accent-3: #6d0a17;
	--accent-soft: rgba(139, 15, 31, .06);
	--accent-glow: rgba(139, 15, 31, .18);

	--danger: #b91c1c;
	--success: #15803d;
	--warning: #b45309;
	--info: #1d4ed8;

	--gradient-gold: linear-gradient(135deg, #a51830 0%, #8b0f1f 50%, #6d0a17 100%);
	--gradient-dark: linear-gradient(180deg, #1a1613 0%, #0e0b09 100%);
	--gradient-hero: linear-gradient(135deg, rgba(139,15,31,.05) 0%, rgba(0,0,0,0) 60%);

	/* Typography */
	--font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--font-display: "Playfair Display", Georgia, "Times New Roman", serif;
	--font-mono: ui-monospace, "SF Mono", Consolas, "Liberation Mono", monospace;

	--fs-xs: .75rem;
	--fs-sm: .875rem;
	--fs-base: 1rem;
	--fs-lg: 1.125rem;
	--fs-xl: 1.25rem;
	--fs-2xl: 1.5rem;
	--fs-3xl: 1.875rem;
	--fs-4xl: 2.25rem;
	--fs-5xl: 3rem;
	--fs-6xl: 3.75rem;

	/* Spacing */
	--sp-1: .25rem;
	--sp-2: .5rem;
	--sp-3: .75rem;
	--sp-4: 1rem;
	--sp-5: 1.25rem;
	--sp-6: 1.5rem;
	--sp-8: 2rem;
	--sp-10: 2.5rem;
	--sp-12: 3rem;
	--sp-16: 4rem;
	--sp-20: 5rem;

	/* Radius */
	--rad-sm: 6px;
	--rad: 10px;
	--rad-md: 14px;
	--rad-lg: 20px;
	--rad-xl: 28px;
	--rad-full: 999px;

	/* Shadows — Soft, editorial */
	--shadow-sm: 0 1px 2px rgba(26, 22, 19, .05);
	--shadow: 0 4px 12px rgba(26, 22, 19, .06), 0 1px 3px rgba(26, 22, 19, .04);
	--shadow-lg: 0 20px 40px rgba(26, 22, 19, .08), 0 6px 12px rgba(26, 22, 19, .04);
	--shadow-gold: 0 8px 24px rgba(139, 15, 31, .18), 0 2px 6px rgba(139, 15, 31, .1);

	/* Layout — 1200px centered body */
	--container: 1200px;
	--container-narrow: 900px;
	--header-h: 76px;
	--transition: .25s cubic-bezier(.4,0,.2,1);
	--transition-slow: .45s cubic-bezier(.4,0,.2,1);
}

/* ==========================================================================
   3. BASE
   ========================================================================== */
body, html {
	background: var(--bg);
	color: var(--text-2);
	font-family: var(--font-sans);
	font-size: var(--fs-base);
	line-height: 1.7;
	letter-spacing: -.005em;
	font-feature-settings: "kern", "liga", "clig", "calt";
}
body::before {
	content: "";
	position: fixed;
	inset: 0;
	background:
		radial-gradient(900px 600px at 15% -10%, rgba(139, 15, 31, .03), transparent 60%),
		radial-gradient(700px 400px at 100% 100%, rgba(139, 15, 31, .02), transparent 60%);
	pointer-events: none;
	z-index: 0;
}
.container, body > * { position: relative; z-index: 1; }

/* ==========================================================================
   4. TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-sans);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -.015em;
	color: var(--text);
	margin: 0 0 var(--sp-4);
}
h1 { font-size: clamp(1.75rem, 3vw + 1rem, 2.75rem); }
h2 { font-size: clamp(1.5rem, 2vw + .8rem, 2.15rem); }
h3 { font-size: clamp(1.2rem, 1vw + .8rem, 1.55rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

.title-serif, .display { font-family: var(--font-display); font-weight: 600; letter-spacing: -.02em; }

p { margin: 0 0 var(--sp-4); color: var(--text-2); }
p:last-child { margin-bottom: 0; }

strong, b { color: var(--text); font-weight: 600; }
em, i { font-style: italic; }
small { font-size: var(--fs-sm); color: var(--text-3); }
mark { background: var(--accent-soft); color: var(--accent); padding: .1em .3em; border-radius: 3px; }

blockquote {
	position: relative;
	padding: var(--sp-6) var(--sp-8);
	margin: var(--sp-6) 0;
	background: var(--surface);
	border-left: 3px solid var(--gold);
	border-radius: 0 var(--rad) var(--rad) 0;
	font-family: var(--font-display);
	font-style: italic;
	font-size: var(--fs-lg);
	color: var(--text);
}
blockquote::before {
	content: "\201C";
	position: absolute;
	top: -.2em;
	left: .3em;
	font-size: 4em;
	color: var(--accent);
	opacity: .3;
	line-height: 1;
	font-family: var(--font-display);
}

code, kbd, samp, pre { font-family: var(--font-mono); font-size: .9em; }
code { background: var(--surface-2); color: var(--accent); padding: .15em .4em; border-radius: 4px; }
pre {
	background: var(--surface);
	color: var(--text);
	padding: var(--sp-4);
	border-radius: var(--rad);
	overflow-x: auto;
	border: 1px solid var(--border);
	line-height: 1.5;
}
pre code { background: none; color: inherit; padding: 0; }

/* Links */
a { color: var(--accent); }
a:hover { color: var(--accent); text-decoration: none; }
p a, .prose a { border-bottom: 1px dashed var(--gold-3); }
p a:hover, .prose a:hover { border-bottom-color: var(--accent); }

/* Selection */
::selection { background: var(--gold); color: var(--bg); }
::-moz-selection { background: var(--gold); color: var(--bg); }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: var(--rad-full); border: 2px solid var(--bg-2); }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* Focus */
:focus-visible {
	outline: 2px solid var(--gold);
	outline-offset: 3px;
	border-radius: 4px;
}

/* Skip link */
.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--gold);
	color: var(--bg);
	padding: var(--sp-3) var(--sp-4);
	font-weight: 600;
	z-index: 9999;
}
.skip-link:focus { left: 10px; top: 10px; }

/* ==========================================================================
   5. LAYOUT
   ========================================================================== */
.container {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 var(--sp-5);
}
.wrap { max-width: var(--container); margin: 0 auto; padding: 0 var(--sp-5); }
.wrap-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 var(--sp-5); }
.prose { max-width: 720px; margin-left: auto; margin-right: auto; }

main, .content {
	display: block;
	padding: 0 0 var(--sp-8);
	min-height: 60vh;
}

/* Grid system */
.grid { display: grid; gap: var(--sp-6); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-auto { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.grid-auto-lg { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.grid-sidebar { grid-template-columns: 1fr 340px; }

/* Flex utilities */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.gap-2 { gap: var(--sp-2); }
.gap-3 { gap: var(--sp-3); }
.gap-4 { gap: var(--sp-4); }
.gap-6 { gap: var(--sp-6); }
.flex-1 { flex: 1; }
.flex-wrap { flex-wrap: wrap; }

/* ==========================================================================
   6. HEADER & NAVIGATION
   ========================================================================== */
.site-header {
	position: relative;
	z-index: 100;
	background: #ffffff;
	border: 1px solid var(--border);
	border-radius: 0 0 var(--rad-md) var(--rad-md);
	box-shadow: var(--shadow-sm);
	margin: 0 0 var(--sp-4);
	border-top: 0;
	/* NOTE: no overflow:hidden — would clip the mega-menu dropdown. */
}
/* Round the topbar so it sits flush inside the header's rounded top corners. */
.site-header__topbar {
	border-radius: 0;
}
/* Brand bar — logo left-aligned with subtle decorative rule */
.site-header__brandbar {
	padding: var(--sp-5) var(--sp-5) var(--sp-3);
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: var(--sp-4);
	border-bottom: 1px solid var(--border);
	background: #ffffff;
	position: relative;
}
/* Decorative accent line — thin gradient rule that extends to the right */
.site-header__brandbar::after {
	content: "";
	flex: 1;
	height: 1px;
	background: linear-gradient(90deg, var(--accent) 0%, var(--border) 30%, transparent 100%);
	opacity: .5;
}
.site-header__brandbar .site-brand__mark {
	min-width: 140px;
	height: 54px;
	padding: 0 var(--sp-6);
	font-size: 1.25rem;
	letter-spacing: .3em;
	box-shadow: var(--shadow-gold);
	position: relative;
	overflow: hidden;
}
.site-header__brandbar .site-brand__mark::before,
.site-header__brandbar .site-brand__mark::after {
	content: "";
	position: absolute;
	top: 50%;
	width: 8px;
	height: 1px;
	background: rgba(255,255,255,.5);
}
.site-header__brandbar .site-brand__mark::before { left: 12px; }
.site-header__brandbar .site-brand__mark::after { right: 12px; }
.site-header.is-scrolled { box-shadow: 0 8px 24px rgba(26, 22, 19, .08); }
.site-header__topbar {
	background: linear-gradient(90deg, var(--accent-3) 0%, var(--accent) 50%, var(--accent-3) 100%);
	color: #fff;
	font-size: var(--fs-xs);
	letter-spacing: .18em;
	text-transform: uppercase;
	font-weight: 600;
	text-align: center;
	padding: var(--sp-2) var(--sp-4);
}
.site-header .wrap { max-width: none; padding: 0 var(--sp-5); }
.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--sp-6);
	min-height: 56px;
	padding: var(--sp-2) 0;
}
.site-brand {
	display: flex;
	align-items: center;
	gap: var(--sp-3);
	text-decoration: none;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: var(--fs-2xl);
	color: var(--text);
	letter-spacing: -.02em;
	white-space: nowrap;
}
.site-brand:hover { color: var(--accent); }
.site-brand__mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 46px;
	padding: 0 var(--sp-4);
	border-radius: var(--rad-full);
	background: var(--gradient-gold);
	color: #fff;
	font-weight: 700;
	font-family: var(--font-sans);
	font-size: 1rem;
	letter-spacing: .14em;
	text-transform: uppercase;
	box-shadow: var(--shadow-gold);
	white-space: nowrap;
	line-height: 1;
}
.site-brand__mark--text { font-family: var(--font-display); letter-spacing: .22em; font-style: italic; }
.site-brand__mark img { width: auto; height: 100%; border-radius: inherit; object-fit: cover; display: block; padding: 0; }
.site-brand__accent { color: var(--accent); }

/* Primary nav */
.nav-primary { display: flex; align-items: center; }
.nav-primary > ul, #kafa-menusu {
	display: flex;
	align-items: center;
	gap: var(--sp-2);
	list-style: none;
	margin: 0;
	padding: 0;
}
.nav-primary li, #kafa-menusu li { position: relative; }
.nav-primary a, #kafa-menusu a {
	display: inline-flex;
	align-items: center;
	padding: var(--sp-3) var(--sp-4);
	color: var(--text);
	font-weight: 500;
	font-size: var(--fs-sm);
	letter-spacing: .01em;
	border-radius: var(--rad-sm);
	transition: color var(--transition), background var(--transition);
	white-space: nowrap;
	border-bottom: 0;
	position: relative;
}
.nav-primary a::before, #kafa-menusu > li > a::before {
	content: "";
	position: absolute;
	left: 50%; bottom: 4px;
	width: 0; height: 2px;
	background: var(--accent);
	transition: width var(--transition), left var(--transition);
	border-radius: var(--rad-full);
	pointer-events: none;
}
.nav-primary a:hover::before, .nav-primary .current-menu-item > a::before,
#kafa-menusu > li:hover > a::before, #kafa-menusu .current-menu-item > a::before {
	width: 24px; left: calc(50% - 12px);
}
.nav-primary a:hover, .nav-primary .current-menu-item > a,
#kafa-menusu a:hover, #kafa-menusu .current-menu-item > a {
	color: var(--accent);
	background: transparent;
}
.nav-primary .sub-menu, #kafa-menusu .sub-menu {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	min-width: 220px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--rad-md);
	padding: var(--sp-2);
	box-shadow: var(--shadow-lg);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	transition: all var(--transition);
	display: flex;
	flex-direction: column;
	gap: 2px;
	z-index: 90;
}
.nav-primary li:hover > .sub-menu, #kafa-menusu li:hover > .sub-menu {
	opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-primary .sub-menu a, #kafa-menusu .sub-menu a {
	padding: var(--sp-2) var(--sp-3);
	font-size: var(--fs-sm);
	border-radius: var(--rad-sm);
}

/* --- ClassiPress mega-menu (avantajli_kisimlar) — Kategoriler dropdown --- */
.nav-primary li, #kafa-menusu > li { position: relative; }
#kafa-menusu .avantajli_kisimlar, .avantajli_kisimlar {
	position: absolute;
	top: calc(100% + 8px);
	left: 50%;
	transform: translate(-50%, -6px);
	min-width: 640px;
	max-width: 92vw;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--rad-md);
	padding: var(--sp-4);
	box-shadow: var(--shadow-lg);
	display: grid;
	grid-template-columns: repeat(3, minmax(180px, 1fr));
	gap: var(--sp-3);
	opacity: 0;
	visibility: hidden;
	transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
	z-index: 95;
	max-height: 70vh;
	overflow-y: auto;
}
#kafa-menusu > li:hover > .avantajli_kisimlar,
#kafa-menusu > li:focus-within > .avantajli_kisimlar {
	opacity: 1;
	visibility: visible;
	transform: translate(-50%, 0);
}
#kafa-menusu .avantajli_kisimlar::before {
	content: "";
	position: absolute;
	top: -6px; left: 50%;
	transform: translateX(-50%) rotate(45deg);
	width: 12px; height: 12px;
	background: var(--surface);
	border-left: 1px solid var(--border);
	border-top: 1px solid var(--border);
}
#kafa-menusu .avantajli_kisimlar .kedisolu {
	background: none;
	padding: 0;
	border: 0;
	margin: 0;
}
#kafa-menusu .avantajli_kisimlar .anakara-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}
#kafa-menusu .avantajli_kisimlar .anakara-list li {
	width: 100%;
	border: 0;
	background: none;
	padding: 0;
	margin: 0;
	list-style: none;
}
#kafa-menusu .avantajli_kisimlar .anakara-list li a {
	display: block;
	padding: var(--sp-2) var(--sp-3);
	color: var(--text-2);
	font-size: var(--fs-sm);
	font-weight: 500;
	border-radius: var(--rad-sm);
	border-bottom: 0;
	white-space: normal;
	transition: color var(--transition), background var(--transition), padding var(--transition);
}
#kafa-menusu .avantajli_kisimlar .anakara-list li a:hover {
	color: var(--accent);
	background: var(--accent-soft);
	padding-left: var(--sp-4);
}
/* When avantajli_kisimlar is present, make parent link show a chevron INLINE (not overlapping the underline pseudo) */
#kafa-menusu > li:has(.avantajli_kisimlar) > a,
#kafa-menusu > li.has-mega > a {
	position: relative;
	padding-right: calc(var(--sp-4) + 12px);
}
#kafa-menusu > li:has(.avantajli_kisimlar) > a::after,
#kafa-menusu > li.has-mega > a::after {
	content: "\f107";
	font-family: "FontAwesome";
	position: absolute;
	right: var(--sp-3);
	top: 50%;
	transform: translateY(-50%);
	font-size: .85em;
	opacity: .7;
	background: none;
	width: auto;
	height: auto;
	line-height: 1;
}

/* Header actions */
.header-actions { display: flex; align-items: center; gap: var(--sp-3); }
.header-search-toggle, .mobile-nav-toggle {
	width: 42px;
	height: 42px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: var(--rad-full);
	background: var(--surface);
	border: 1px solid var(--border);
	color: var(--text);
	transition: all var(--transition);
}
.header-search-toggle:hover, .mobile-nav-toggle:hover {
	background: var(--accent); border-color: var(--accent); color: #fff;
}
.mobile-nav-toggle { display: none; }

/* ==========================================================================
   7. BUTTONS
   ========================================================================== */
.btn, .obtn, .oranj_buton, input[type=submit], button.submit, .button, .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--sp-2);
	padding: var(--sp-3) var(--sp-6);
	font-family: var(--font-sans);
	font-size: var(--fs-sm);
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	text-decoration: none;
	border-radius: var(--rad-full);
	border: 1px solid var(--accent);
	background: var(--gradient-gold);
	color: #fff !important;
	cursor: pointer;
	transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
	white-space: nowrap;
	line-height: 1.2;
}
.btn:hover, .obtn:hover, .oranj_buton:hover, input[type=submit]:hover, button.submit:hover, .button:hover, .wp-block-button__link:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow-gold);
	color: #fff !important;
	text-decoration: none;
}
.btn:active { transform: translateY(0); }

.btn-ghost {
	background: transparent;
	color: var(--accent) !important;
	border-color: var(--accent);
}
.btn-ghost:hover {
	background: var(--accent);
	color: #fff !important;
	box-shadow: var(--shadow-gold);
}
.btn-dark {
	background: var(--surface);
	color: var(--text) !important;
	border-color: var(--border);
	box-shadow: var(--shadow-sm);
}
.btn-dark:hover { background: var(--surface-2); box-shadow: var(--shadow); color: var(--accent) !important; border-color: var(--accent); }
.btn-sm { padding: var(--sp-2) var(--sp-4); font-size: var(--fs-xs); }
.btn-lg { padding: var(--sp-4) var(--sp-8); font-size: var(--fs-base); }
.btn-block { display: flex; width: 100%; }

/* ==========================================================================
   8. FORMS
   ========================================================================== */
input[type=text], input[type=email], input[type=url], input[type=password],
input[type=search], input[type=tel], input[type=number], input[type=date],
textarea, select {
	width: 100%;
	padding: var(--sp-3) var(--sp-4);
	background: var(--surface);
	color: var(--text);
	border: 1px solid var(--border);
	border-radius: var(--rad);
	font-size: var(--fs-sm);
	line-height: 1.5;
	transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}
input:focus, textarea:focus, select:focus {
	outline: none;
	border-color: var(--accent);
	background: var(--surface);
	box-shadow: 0 0 0 3px var(--accent-soft);
}
input::placeholder, textarea::placeholder { color: var(--muted); }
textarea { resize: vertical; min-height: 120px; }
label { display: block; margin-bottom: var(--sp-2); color: var(--text-2); font-size: var(--fs-sm); font-weight: 500; }
select {
	appearance: none;
	color-scheme: light;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%238b0f1f' d='M6 8L0 0h12z'/></svg>");
	background-repeat: no-repeat;
	background-position: right 1rem center;
	padding-right: 2.5rem;
}
select option, select optgroup {
	background: var(--surface) !important;
	color: var(--text) !important;
	padding: var(--sp-2) var(--sp-3);
}
select option:hover, select option:checked, select option:focus {
	background: var(--accent-soft) !important;
	color: var(--accent) !important;
}
/* Force light color-scheme for form controls (dropdown popups etc.) */
:root { color-scheme: light; }

/* ==========================================================================
   9. CARDS (Base + Legacy compat: dis_golgebloku, golgeliblok)
   ========================================================================== */
.card, .dis_golgebloku {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--rad-md);
	overflow: hidden;
	transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
	margin-bottom: var(--sp-6);
	box-shadow: var(--shadow-sm);
}
.card:hover, .dis_golgebloku:hover {
	border-color: var(--border-2);
	box-shadow: var(--shadow);
}
.card-body, .golgeliblok {
	padding: var(--sp-6);
}

.card-featured, .dis_golgebloku.featured {
	border-color: var(--accent);
	background: linear-gradient(180deg, rgba(139,15,31,.03), var(--surface) 70%);
	position: relative;
}
.card-featured::before, .dis_golgebloku.featured::before {
	content: "";
	position: absolute; inset: 0;
	border-radius: inherit;
	pointer-events: none;
	box-shadow: inset 0 0 0 1px var(--accent);
}

/* Card headings */
.card h1, .card h2, .card h3, .dis_golgebloku h1, .dis_golgebloku h2, .dis_golgebloku h3 {
	margin-bottom: var(--sp-4);
}

/* ==========================================================================
   10. LEGACY LAYOUT COMPAT (Turkish class names → modern styling)
   ========================================================================== */
/* Main container from wrapper.php */
.container { padding-top: 0; padding-bottom: 0; }

/* Content grid: icindeki_sol (left content) + icindeki_sag (sidebar) */
.icerik_bolu {
	max-width: 100%;
	margin: 0;
	padding: 0;
}
.gorunmedik_sey {
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: var(--sp-8);
	align-items: start;
}
.icindeki_sol { min-width: 0; }
.icindeki_sag { position: relative; }

/* Full width helper */
.template-full-width .gorunmedik_sey { grid-template-columns: 1fr; }

/* dotted border helper */
.dotted, h2.dotted, h1.dotted, h3.dotted {
	padding-bottom: var(--sp-3);
	margin-bottom: var(--sp-4);
	border-bottom: 1px solid var(--border);
	position: relative;
	color: var(--text);
}
h1.dotted::after, h2.dotted::after, h3.dotted::after {
	content: "";
	position: absolute;
	bottom: -1px;
	left: 0;
	width: 48px;
	height: 3px;
	background: var(--accent);
	border-radius: var(--rad-full);
}
h1.single, h1.single-listing, h1.single.blog { color: var(--text); font-family: var(--font-display); font-weight: 700; letter-spacing: -.02em; }

/* Clear */
.clr, .clear { clear: both; }

/* ==========================================================================
   11. BREADCRUMB
   ========================================================================== */
#breadcrumb {
	font-size: var(--fs-sm);
	color: var(--text-3);
	padding: var(--sp-4) 0;
	margin-bottom: var(--sp-4);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--sp-2);
}
#breadcrumb a {
	color: var(--text-3);
	border-bottom: 0;
	transition: color var(--transition);
}
#breadcrumb a:hover { color: var(--accent); }
#breadcrumb .sep, #breadcrumb .arrow {
	color: var(--border-2);
	margin: 0 var(--sp-1);
}
#breadcrumb::before {
	content: "\f015";
	font-family: "FontAwesome";
	color: var(--accent);
	margin-right: var(--sp-2);
	font-size: .9em;
}

/* ==========================================================================
   12. HERO SECTION
   ========================================================================== */
.hero {
	position: relative;
	padding: var(--sp-16) 0 var(--sp-12);
	text-align: center;
	overflow: hidden;
	background:
		radial-gradient(700px 400px at 50% 0%, rgba(212,175,55,.12), transparent 70%),
		linear-gradient(180deg, var(--bg-2), var(--bg));
	border-bottom: 1px solid var(--border);
}
.hero__inner {
	position: relative;
	max-width: 900px;
	margin: 0 auto;
	padding: 0 var(--sp-5);
}
.hero__badge {
	display: inline-flex;
	align-items: center;
	gap: var(--sp-2);
	padding: var(--sp-2) var(--sp-4);
	background: var(--accent-soft);
	color: var(--accent);
	border: 1px solid var(--gold-3);
	border-radius: var(--rad-full);
	font-size: var(--fs-xs);
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	margin-bottom: var(--sp-5);
}
.hero__badge::before {
	content: "";
	width: 6px; height: 6px;
	background: var(--gold);
	border-radius: var(--rad-full);
	box-shadow: 0 0 8px var(--gold);
	animation: pulse 2s infinite;
}
.hero__title {
	font-family: var(--font-display);
	font-size: clamp(2rem, 5vw + .5rem, 4rem);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -.02em;
	margin-bottom: var(--sp-5);
}
.hero__title span { color: var(--accent); font-style: italic; }
.hero__sub {
	font-size: var(--fs-lg);
	color: var(--text-2);
	max-width: 640px;
	margin: 0 auto var(--sp-8);
}
.hero__actions {
	display: flex;
	justify-content: center;
	gap: var(--sp-4);
	flex-wrap: wrap;
	margin-bottom: var(--sp-8);
}
.hero__stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--sp-4);
	max-width: 720px;
	margin: var(--sp-10) auto 0;
	padding: var(--sp-6);
	background: rgba(255,255,255,.02);
	border: 1px solid var(--border);
	border-radius: var(--rad-lg);
	backdrop-filter: blur(6px);
}
.hero__stat { text-align: center; }
.hero__stat b {
	display: block;
	font-family: var(--font-display);
	font-size: clamp(1.5rem, 3vw, 2.5rem);
	color: var(--accent);
	font-weight: 700;
	line-height: 1;
	margin-bottom: var(--sp-2);
}
.hero__stat span { font-size: var(--fs-sm); color: var(--text-3); }

/* ==========================================================================
   13. SEARCH BAR
   ========================================================================== */
.searchbar {
	background: var(--surface);
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
	padding: var(--sp-6) 0;
}
.searchbar__form {
	max-width: 800px;
	margin: 0 auto;
	display: flex;
	gap: var(--sp-2);
	padding: var(--sp-2);
	background: var(--bg-2);
	border: 1px solid var(--border);
	border-radius: var(--rad-full);
	transition: border-color var(--transition), box-shadow var(--transition);
}
.searchbar__form:focus-within {
	border-color: var(--accent);
	box-shadow: 0 0 0 3px var(--gold-soft);
}
.searchbar__form input[type=search], .searchbar__form input[type=text] {
	flex: 1;
	background: transparent;
	border: 0;
	padding: var(--sp-3) var(--sp-5);
	box-shadow: none;
}
.searchbar__form input:focus { box-shadow: none; background: transparent; }
.searchbar__form select {
	background-color: transparent;
	border: 0;
	border-left: 1px solid var(--border);
	border-radius: 0;
	max-width: 200px;
}
.searchbar__form select:focus { box-shadow: none; }
.searchbar__form button, .searchbar__form input[type=submit] {
	padding: var(--sp-3) var(--sp-6);
}

/* ==========================================================================
   14. TABS (tamkontrol / navigasyonucu)
   ========================================================================== */
.tamkontrol {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--rad-md);
	padding: var(--sp-2);
	margin-bottom: var(--sp-6);
}
.navigasyonucu, ul.navigasyonucu {
	display: flex;
	gap: var(--sp-1);
	flex-wrap: wrap;
	background: var(--bg-2);
	border-radius: var(--rad);
	padding: var(--sp-1);
	margin: 0;
	list-style: none;
}
.navigasyonucu li { flex: 1; min-width: fit-content; }
.navigasyonucu a {
	display: block;
	padding: var(--sp-3) var(--sp-4);
	text-align: center;
	color: var(--text-2);
	font-weight: 500;
	font-size: var(--fs-sm);
	border-radius: var(--rad-sm);
	transition: all var(--transition);
	border-bottom: 0;
}
.navigasyonucu a:hover { color: var(--accent); background: var(--accent-soft); }
.navigasyonucu li.ui-tabs-active a, .navigasyonucu a.ui-tabs-active,
.navigasyonucu li.ui-state-active a {
	background: var(--gradient-gold);
	color: #fff !important;
	box-shadow: var(--shadow-sm);
}
.navigasyonucu a .big { font-size: inherit; font-weight: inherit; }
.tamkontrol > div { padding: var(--sp-5) var(--sp-3) var(--sp-3); }

/* ==========================================================================
   15. DIRECTORY / CATEGORIES
   ========================================================================== */
#directory, .directory {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: var(--sp-4);
	margin: 0;
	padding: 0;
	list-style: none;
}
.directory .dircol, .directory > div, #directory > ul, #directory > ul > li {
	background: var(--surface-2);
	border: 1px solid var(--border);
	border-radius: var(--rad-md);
	padding: var(--sp-5);
	transition: all var(--transition);
	list-style: none;
}
.directory .dircol:hover, .directory > div:hover, #directory > ul > li:hover {
	border-color: var(--accent);
	background: linear-gradient(180deg, rgba(212,175,55,.05), var(--surface-2) 60%);
	transform: translateY(-2px);
	box-shadow: var(--shadow);
}
.directory h3, #directory h3 {
	font-size: var(--fs-base);
	margin-bottom: var(--sp-3);
	padding-bottom: var(--sp-2);
	border-bottom: 1px solid var(--border);
}
.directory h3 a, #directory h3 a {
	color: var(--text);
	display: flex;
	align-items: center;
	gap: var(--sp-2);
	border-bottom: 0;
}
.directory h3 a::before, #directory h3 a::before {
	content: "\f07b";
	font-family: "FontAwesome";
	color: var(--accent);
	font-size: .9em;
}
.directory h3 a:hover, #directory h3 a:hover { color: var(--accent); }
.directory ul, #directory ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 2px; }
.directory ul li, #directory ul li {
	padding: 0; background: none; border: 0;
}
.directory ul li a, #directory ul li a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--sp-2);
	padding: var(--sp-2) var(--sp-3);
	color: var(--text-2);
	font-size: var(--fs-sm);
	border-radius: var(--rad-sm);
	border-bottom: 0;
	transition: all var(--transition);
}
.directory ul li a:hover, #directory ul li a:hover {
	background: var(--accent-soft); color: var(--accent);
}
.directory .cat-count, #directory .cat-count {
	color: var(--muted);
	font-size: var(--fs-xs);
	padding: 2px 8px;
	background: var(--surface-3);
	border-radius: var(--rad-full);
}

/* ==========================================================================
   16. AD LISTING CARDS (dis-yorum-blogu / yazi-bloklari)
   ========================================================================== */
.dis-yorum-blogu, .listing-card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--rad-md);
	overflow: hidden;
	transition: all var(--transition);
	margin-bottom: var(--sp-5);
	position: relative;
}
.dis-yorum-blogu:hover, .listing-card:hover {
	border-color: var(--accent);
	transform: translateY(-3px);
	box-shadow: var(--shadow-lg);
}
.dis-yorum-blogu.featured {
	border-color: var(--accent);
	background: linear-gradient(135deg, rgba(212,175,55,.05), var(--surface) 60%);
}
.dis-yorum-blogu.featured::before {
	content: "\f005 Premium";
	font-family: "FontAwesome", var(--font-sans);
	position: absolute;
	top: var(--sp-3);
	right: var(--sp-3);
	background: var(--gradient-gold);
	color: #fff;
	padding: 4px 12px;
	font-size: var(--fs-xs);
	font-weight: 700;
	border-radius: var(--rad-full);
	letter-spacing: .05em;
	z-index: 5;
	box-shadow: var(--shadow-sm);
}
.yazi-bloklari {
	display: grid;
	grid-template-columns: 200px 1fr;
	gap: var(--sp-5);
	padding: var(--sp-5);
	align-items: center;
}
.yazi-sol {
	position: relative;
	overflow: hidden;
	border-radius: var(--rad);
	aspect-ratio: 4/3;
	background: var(--bg-2);
}
.yazi-sol img, .yazi-sol a img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--transition-slow);
	display: block;
	border-radius: inherit;
}
.dis-yorum-blogu:hover .yazi-sol img { transform: scale(1.06); }

.yazi-bloklari h3 { margin: 0 0 var(--sp-2); font-size: var(--fs-xl); line-height: 1.3; }
.yazi-bloklari h3 a { color: var(--text); border-bottom: 0; }
.yazi-bloklari h3 a:hover { color: var(--accent); }

.yazi-aciklamasi {
	color: var(--text-3);
	font-size: var(--fs-sm);
	line-height: 1.6;
	margin: 0 0 var(--sp-3);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* Price/tag */
.tags.price-wrap, .price-wrap {
	display: inline-block;
	margin-bottom: var(--sp-2);
}
.ust-baslik, .yazi-ucret, p.yazi-ucret {
	display: inline-block;
	padding: var(--sp-1) var(--sp-4);
	background: var(--accent-soft);
	color: var(--accent);
	border: 1px solid var(--gold-3);
	border-radius: var(--rad-full);
	font-size: var(--fs-sm);
	font-weight: 700;
	letter-spacing: .02em;
	margin: 0;
}
.yazi-ucret { padding: 0; background: none; border: 0; color: var(--accent); }
.tags.price-wrap .ust-baslik .yazi-ucret {
	background: transparent;
	border: 0;
	padding: 0;
	color: inherit;
}

/* Post meta (author, date, category) */
.post-meta, .postmeta, .meta, .yazi-alt-meta,
p.yazi-metasi, .yazi-metasi {
	display: flex !important;
	flex-wrap: wrap;
	align-items: center !important;
	gap: var(--sp-4);
	color: var(--text-3);
	font-size: var(--fs-sm);
	margin: var(--sp-2) 0 var(--sp-3) !important;
	padding: 0 !important;
	line-height: 1.4;
}
.post-meta a, .yazi-metasi a { color: var(--text-3); border-bottom: 0; }
.post-meta a:hover, .yazi-metasi a:hover { color: var(--accent); }
.post-meta > span, .post-meta > a { display: inline-flex; align-items: center; gap: 6px; }

/* ClassiPress meta icons — inline-flex alignment so icons sit centered with text */
.yazi-metasi > span {
	display: inline-flex !important;
	align-items: center;
	gap: 6px;
	white-space: nowrap;
	padding: 0 !important;
}
.yazi-metasi .dashicons-before::before {
	font-family: "FontAwesome" !important;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--accent) !important;
	font-size: .95em !important;
	line-height: inherit !important;
	height: 1em;
	width: 14px;
	text-align: center;
	margin-right: 4px;
	position: static !important;
	top: auto !important;
	transform: none !important;
	vertical-align: middle;
	content: "\f111" !important; /* fallback: solid dot */
	flex-shrink: 0;
}
.yazi-metasi .dashicons-before.folder::before,
.yazi-metasi .folder::before { content: "\f07b" !important; } /* folder */
.yazi-metasi .dashicons-before.owner::before,
.yazi-metasi .owner::before { content: "\f007" !important; } /* user */
.yazi-metasi .dashicons-before.clock::before,
.yazi-metasi .clock::before { content: "\f017" !important; } /* clock */
.yazi-metasi .dashicons-before.tag::before,
.yazi-metasi .tag::before { content: "\f02b" !important; } /* tag */
.yazi-metasi .dashicons-before.eye::before,
.yazi-metasi .eye::before { content: "\f06e" !important; } /* eye */

/* Views/stats line */
p.stats, .stats {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--text-3);
	font-size: var(--fs-xs);
	margin-top: var(--sp-3);
	padding-top: var(--sp-3);
	border-top: 1px dashed var(--border);
	width: 100%;
}
p.stats::before, .stats::before {
	content: "\f06e";
	font-family: "FontAwesome";
	color: var(--accent);
	font-size: .95em;
	line-height: 1;
	display: inline-block;
}

/* ==========================================================================
   17. FEATURED CAROUSEL (Ana sayfa öne çıkan)
   ========================================================================== */
.featured-strip {
	padding: var(--sp-8) 0;
	background: linear-gradient(180deg, var(--bg-2), var(--bg));
	border-bottom: 1px solid var(--border);
}
.featured-strip__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: var(--sp-6);
	flex-wrap: wrap;
	gap: var(--sp-3);
}
.featured-strip__title {
	font-family: var(--font-display);
	font-size: var(--fs-3xl);
	margin: 0;
	display: flex;
	align-items: center;
	gap: var(--sp-3);
}
.featured-strip__title::before {
	content: "\f005";
	font-family: "FontAwesome";
	color: var(--accent);
	font-size: .8em;
}
.featured-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: var(--sp-5);
}
.featured-item {
	position: relative;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--rad-md);
	overflow: hidden;
	transition: all var(--transition);
}
.featured-item:hover {
	transform: translateY(-4px);
	border-color: var(--accent);
	box-shadow: var(--shadow-lg);
}
.featured-item__image {
	position: relative;
	aspect-ratio: 4/3;
	overflow: hidden;
	background: var(--bg-2);
}
.featured-item__image img {
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform var(--transition-slow);
}
.featured-item:hover .featured-item__image img { transform: scale(1.08); }
.featured-item__image::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.6) 100%);
	pointer-events: none;
}
.featured-item__badge {
	position: absolute;
	top: var(--sp-3);
	left: var(--sp-3);
	padding: 4px 10px;
	background: var(--gradient-gold);
	color: #fff;
	border-radius: var(--rad-full);
	font-size: var(--fs-xs);
	font-weight: 700;
	letter-spacing: .05em;
	z-index: 2;
	box-shadow: var(--shadow-sm);
}
.featured-item__body { padding: var(--sp-4) var(--sp-5) var(--sp-5); }
.featured-item__title {
	font-size: var(--fs-lg);
	margin: 0 0 var(--sp-2);
	line-height: 1.3;
}
.featured-item__title a { color: var(--text); border-bottom: 0; }
.featured-item__title a:hover { color: var(--accent); }
.featured-item__meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	color: var(--text-3);
	font-size: var(--fs-sm);
	margin-top: var(--sp-3);
	padding-top: var(--sp-3);
	border-top: 1px solid var(--border);
}
.featured-item__price { color: var(--accent); font-weight: 700; }

/* ==========================================================================
   18. SINGLE AD LISTING
   ========================================================================== */
.single-listing, h1.single-listing {
	font-family: var(--font-display);
	font-size: clamp(1.75rem, 3vw + .5rem, 2.5rem);
	font-weight: 700;
	color: var(--text);
	margin-bottom: var(--sp-4);
}
h1.single-listing a { color: inherit; border-bottom: 0; }

.pad5.dotted { height: 1px; background: var(--border); margin: var(--sp-4) 0; padding: 0; }
.pad25 { height: 25px; }

.bigleft, .bigright {
	margin-bottom: var(--sp-6);
}
.bigleft {
	float: left;
	width: 55%;
	padding-right: var(--sp-6);
}
.bigright {
	float: right;
	width: 45%;
}

/* Ad detail list */
.bigright ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: var(--sp-2);
}
.bigright ul li {
	display: flex;
	justify-content: space-between;
	padding: var(--sp-3) var(--sp-4);
	background: var(--surface-2);
	border: 1px solid var(--border);
	border-radius: var(--rad);
	font-size: var(--fs-sm);
}
.bigright ul li span {
	color: var(--text-3);
	font-weight: 500;
}
#cp_sold {
	background: rgba(231,76,60,.1) !important;
	border-color: var(--danger) !important;
	color: var(--danger);
	font-weight: 700;
	text-align: center;
	justify-content: center;
}

/* Main image */
#ana-res {
	position: relative;
	border-radius: var(--rad-md);
	overflow: hidden;
	background: var(--bg-2);
	border: 1px solid var(--border);
	margin-bottom: var(--sp-3);
}
#ana-res img {
	width: 100%;
	height: auto;
	display: block;
}

/* Thumbnails */
#geren-resim {
	display: flex;
	gap: var(--sp-2);
	flex-wrap: wrap;
}
#geren-resim a {
	display: block;
	width: calc(20% - var(--sp-2) * 0.8);
	aspect-ratio: 1/1;
	border-radius: var(--rad-sm);
	overflow: hidden;
	border: 1px solid var(--border);
	transition: border-color var(--transition), transform var(--transition);
}
#geren-resim a:hover { border-color: var(--accent); transform: scale(1.03); }
#geren-resim img { width: 100%; height: 100%; object-fit: cover; }

/* Description block */
.single-main {
	clear: both;
	padding-top: var(--sp-6);
	color: var(--text-2);
	line-height: 1.75;
	font-size: var(--fs-base);
}
.single-main p { margin-bottom: var(--sp-4); }
.tanimlama-noktasi {
	display: inline-flex;
	align-items: center;
	gap: var(--sp-2);
	font-family: var(--font-display);
	font-size: var(--fs-xl);
	color: var(--accent);
	font-weight: 700;
	margin: var(--sp-6) 0 var(--sp-3);
	padding-bottom: var(--sp-2);
	border-bottom: 2px solid var(--gold-3);
}
.tanimlama-noktasi::before {
	content: "\f036";
	font-family: "FontAwesome";
}

/* ==========================================================================
   19. BLOG POST
   ========================================================================== */
h1.single.blog, h1.single {
	font-family: var(--font-display);
	color: var(--text);
	font-weight: 700;
	line-height: 1.15;
}
h1.single.blog a { color: inherit; border-bottom: 0; }
h1.single.blog a:hover { color: var(--accent); }

.post .entry-content, .post-content, .single-main {
	color: var(--text-2);
	font-size: 1.05rem;
	line-height: 1.8;
}
.post .entry-content h2, .post .entry-content h3, .post .entry-content h4 {
	margin-top: var(--sp-8);
	margin-bottom: var(--sp-3);
	color: var(--text);
}
.post .entry-content img { border-radius: var(--rad-md); margin: var(--sp-4) 0; }
.post .entry-content ul, .post .entry-content ol {
	padding-left: var(--sp-6);
	margin-bottom: var(--sp-4);
}
.post .entry-content ul li { list-style: disc; margin-bottom: var(--sp-2); color: var(--text-2); }
.post .entry-content ol li { list-style: decimal; margin-bottom: var(--sp-2); color: var(--text-2); }

.post h3.loop {
	font-size: var(--fs-2xl);
	margin: 0 0 var(--sp-3);
	line-height: 1.3;
}
.post h3.loop a {
	color: var(--text);
	border-bottom: 0;
	font-family: var(--font-display);
}
.post h3.loop a:hover { color: var(--accent); }

/* Blog card thumbnail */
.post .entry-content > img:first-child,
.entry-content .attachment-blog-thumbnail,
.wp-post-image {
	border-radius: var(--rad-md);
	margin-bottom: var(--sp-4);
	width: 100%;
	height: auto;
}

/* ==========================================================================
   20. SIDEBAR / WIDGETS
   ========================================================================== */
.icindeki_sag .dis_golgebloku,
.icindeki_sag .widget,
.icindeki_sag > div {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--rad-md);
	margin-bottom: var(--sp-5);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
}
.icindeki_sag .golgeliblok,
.icindeki_sag .widget { padding: var(--sp-5); }
/* Ensure list items don't collide with the rounded corners */
.icindeki_sag ul { margin-bottom: 0 !important; padding-bottom: 0 !important; }
.icindeki_sag ul li:last-child { border-bottom: 0 !important; padding-bottom: 0; }

.icindeki_sag h2, .icindeki_sag h3, .widget-title {
	font-size: var(--fs-lg);
	margin: 0 0 var(--sp-4);
	padding-bottom: var(--sp-3);
	border-bottom: 1px solid var(--border);
	position: relative;
	color: var(--text);
}
.icindeki_sag h2::after, .icindeki_sag h3::after, .widget-title::after {
	content: "";
	position: absolute;
	bottom: -1px;
	left: 0;
	width: 40px;
	height: 2px;
	background: var(--gradient-gold);
	border-radius: var(--rad-full);
}

.icindeki_sag ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: var(--sp-1);
}
.icindeki_sag ul li {
	padding: var(--sp-2) 0;
	border-bottom: 1px solid var(--border);
	font-size: var(--fs-sm);
}
.icindeki_sag ul li:last-child { border-bottom: 0; }
.icindeki_sag ul li a {
	color: var(--text-2);
	border-bottom: 0;
	display: flex;
	align-items: center;
	gap: var(--sp-2);
	transition: color var(--transition), padding-left var(--transition);
	padding-left: 0;
}
.icindeki_sag ul li a:hover {
	color: var(--accent);
	padding-left: var(--sp-2);
}

/* Sidebar tabs */
.ustucreti {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--rad-md);
	padding: var(--sp-2);
	margin-bottom: var(--sp-5);
}
.ustucreti > .navigasyonucu { background: var(--bg-2); }
.ustucreti > div { padding: var(--sp-4) var(--sp-2) var(--sp-2); }
.pricetab { padding: var(--sp-3); }

#tagcloud, .tagcloud {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-2);
}
#tagcloud a, .tagcloud a {
	display: inline-block;
	padding: 4px 12px;
	background: var(--surface-2);
	border: 1px solid var(--border);
	color: var(--text-2);
	border-radius: var(--rad-full);
	font-size: var(--fs-sm) !important;
	text-decoration: none;
	border-bottom: 0;
	transition: all var(--transition);
}
#tagcloud a:hover, .tagcloud a:hover {
	background: var(--accent-soft);
	color: var(--accent);
	border-color: var(--accent);
}

/* Search widget */
.widget_search form, .search-form {
	display: flex;
	gap: var(--sp-2);
}
.widget_search input[type=search] { flex: 1; }

/* ==========================================================================
   21. COMMENTS
   ========================================================================== */
#comments, #comments_wrap {
	padding: 0;
}
#comments h2 {
	margin-bottom: var(--sp-6);
}
.commentlist, ol.commentlist {
	list-style: none;
	padding: 0;
	margin: 0;
}
.commentlist li.comment {
	background: var(--surface-2);
	border: 1px solid var(--border);
	border-radius: var(--rad-md);
	padding: var(--sp-5);
	margin-bottom: var(--sp-4);
	list-style: none;
}
.commentlist li .avatar {
	float: left;
	margin-right: var(--sp-4);
	border-radius: var(--rad-full);
	border: 2px solid var(--gold-3);
}
.commentlist li .comment-author { font-weight: 700; color: var(--text); }
.commentlist li .comment-meta { color: var(--text-3); font-size: var(--fs-sm); margin-bottom: var(--sp-3); }
.commentlist li .comment-meta a { border-bottom: 0; }
.commentlist li .comment-body { color: var(--text-2); }
.commentlist li .reply {
	display: inline-block;
	margin-top: var(--sp-3);
}
.commentlist li .reply a {
	font-size: var(--fs-xs);
	color: var(--accent);
	border-bottom: 1px dashed var(--gold-3);
	text-transform: uppercase;
	font-weight: 600;
	letter-spacing: .05em;
}
.commentlist .children {
	list-style: none;
	margin: var(--sp-4) 0 0;
	padding-left: var(--sp-6);
	border-left: 2px solid var(--border);
}

#respond, .comment-respond {
	background: var(--surface-2);
	border: 1px solid var(--border);
	border-radius: var(--rad-md);
	padding: var(--sp-6);
	margin-top: var(--sp-6);
}
#respond h3, .comment-reply-title {
	font-size: var(--fs-xl);
	margin-bottom: var(--sp-4);
	padding-bottom: var(--sp-3);
	border-bottom: 1px solid var(--border);
}
.comment-form p { margin-bottom: var(--sp-4); }
.comment-form label { display: block; margin-bottom: var(--sp-2); color: var(--text-2); font-size: var(--fs-sm); }
.form-submit { margin-top: var(--sp-5); }

/* ==========================================================================
   22. PAGINATION
   ========================================================================== */
.navigation, .pagination, .wp-pagenavi, .cp-pagination,
.paging, .paging .pages {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: var(--sp-2);
	flex-wrap: wrap;
	margin: var(--sp-8) 0;
	padding: var(--sp-4);
}
.paging .pages { margin: 0; padding: 0; }
.navigation a, .navigation span,
.pagination a, .pagination span,
.wp-pagenavi a, .wp-pagenavi span,
.cp-pagination a, .cp-pagination span,
.page-numbers,
a.page-numbers, span.page-numbers,
.wp-pagenavi .page,
.wp-pagenavi .previouspostslink,
.wp-pagenavi .nextpostslink,
.wp-pagenavi .first,
.wp-pagenavi .last,
.wp-pagenavi .smaller,
.wp-pagenavi .larger {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-width: 42px;
	height: 42px;
	padding: 0 var(--sp-3) !important;
	background: var(--surface) !important;
	color: var(--text) !important;
	border: 1px solid var(--border) !important;
	border-radius: var(--rad-sm) !important;
	font-size: var(--fs-sm) !important;
	font-weight: 600 !important;
	text-decoration: none !important;
	transition: all var(--transition);
	line-height: 1 !important;
}
/* "Page X of Y" — hidden per request (works for both wp-pagenavi and ClassiPress) */
.wp-pagenavi > .pages,
.paging .total,
.paging .pages > .total,
.pagination .total {
	display: none !important;
}
/* Ellipsis */
.page-numbers.dots, .wp-pagenavi .extend {
	background: transparent !important;
	border: 0 !important;
	color: var(--text-3) !important;
}
/* Hover + current */
.navigation a:hover, .pagination a:hover,
.wp-pagenavi a:hover, .cp-pagination a:hover,
a.page-numbers:hover,
.page-numbers.current, span.page-numbers.current,
.wp-pagenavi span.current, .wp-pagenavi .current {
	background: var(--gradient-gold) !important;
	color: #fff !important;
	border-color: var(--accent) !important;
	text-decoration: none !important;
}
.page-numbers.current, .wp-pagenavi .current { pointer-events: none; }
.alignleft { float: left; }
.alignright { float: right; }
.aligncenter { text-align: center; margin-left: auto; margin-right: auto; display: block; }

/* ==========================================================================
   23. FOOTER
   ========================================================================== */
.site-footer, .footer, footer.site-footer, footer.footer {
	background: #faf8f3 !important;
	background-color: #faf8f3 !important;
	border-top: 1px solid var(--border);
	color: var(--text-2);
	margin-top: var(--sp-16);
}
.footer_menu {
	background: #efece4 !important;
	border-bottom: 1px solid var(--border);
}
.footer_main, .footer_main_res {
	background: transparent !important;
	color: var(--text-2) !important;
}
.footer_main p, .footer_main_res p {
	color: var(--text-2) !important;
}
.footer_main strong, .footer_main_res strong { color: var(--text) !important; }
.footer_menu_res {
	max-width: var(--container);
	margin: 0 auto;
	padding: var(--sp-4) var(--sp-5);
}
#footer-nav-menu {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-4);
	justify-content: center;
	list-style: none;
	margin: 0;
	padding: 0;
}
#footer-nav-menu a {
	color: var(--text-2);
	font-size: var(--fs-sm);
	font-weight: 500;
	padding: var(--sp-2) var(--sp-3);
	border-radius: var(--rad-sm);
	transition: all var(--transition);
	border-bottom: 0;
}
#footer-nav-menu a:hover { color: var(--accent); background: var(--accent-soft); }
.footer_main {
	padding: var(--sp-12) 0 var(--sp-8);
}
.footer_main_res {
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 var(--sp-5);
}
.footer_main .dotted {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: var(--sp-8);
	padding-bottom: var(--sp-8);
	margin-bottom: var(--sp-6);
	border-bottom: 1px solid var(--border);
	color: var(--text-2);
}
.footer_main .dotted .widget {
	background: none;
	border: 0;
	padding: 0;
	margin: 0;
}
.footer_main .dotted .widget-title,
.footer_main .dotted h2,
.footer_main .dotted h3 {
	color: var(--text);
	font-size: var(--fs-lg);
	margin-bottom: var(--sp-4);
	padding-bottom: 0;
	border-bottom: 0;
}
.footer_main .dotted .widget-title::after,
.footer_main .dotted h2::after,
.footer_main .dotted h3::after {
	display: none;
}
.footer_main .dotted ul li a { color: var(--text-2); }
.footer_main .dotted ul li a:hover { color: var(--accent); }
.footer_main p {
	text-align: center;
	color: var(--text-3);
	font-size: var(--fs-sm);
	margin: 0;
}
.footer_main p a { color: var(--accent); border-bottom: 0; }

.footer a.twit, .footer a[class*="dashicons-before"] {
	display: inline-flex;
	width: 40px; height: 40px;
	align-items: center;
	justify-content: center;
	background: var(--surface-2);
	border: 1px solid var(--border);
	border-radius: var(--rad-full);
	color: var(--text-2);
	margin: 0 var(--sp-1);
	transition: all var(--transition);
	border-bottom: 0;
}
.footer a.twit:hover, .footer a[class*="dashicons-before"]:hover {
	background: var(--gold);
	color: var(--bg);
	border-color: var(--accent);
	transform: translateY(-2px);
}
.footer .right { display: inline-block; }

/* ==========================================================================
   24. AUTHOR PAGE
   ========================================================================== */
#user-photo {
	width: 180px;
	float: left;
	margin-right: var(--sp-6);
	margin-bottom: var(--sp-4);
}
#user-photo img { width: 100%; border-radius: 50%; border: 3px solid var(--gold); box-shadow: var(--shadow-gold); }
.author-info { list-style: none; padding: 0; margin: 0 0 var(--sp-4); }
.author-info li {
	display: flex;
	align-items: center;
	gap: var(--sp-2);
	padding: var(--sp-2) 0;
	color: var(--text-2);
	font-size: var(--fs-sm);
	border-bottom: 1px solid var(--border);
}
.author-desc { clear: both; padding-top: var(--sp-4); }

/* ==========================================================================
   25. HELPER / UTILITY
   ========================================================================== */
.center { text-align: center; }
.text-gold { color: var(--accent); }
.text-muted { color: var(--muted); }
.text-sm { font-size: var(--fs-sm); }
.text-xs { font-size: var(--fs-xs); }
.text-lg { font-size: var(--fs-lg); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-4 { margin-top: var(--sp-4); }
.mb-4 { margin-bottom: var(--sp-4); }
.p-4 { padding: var(--sp-4); }
.rounded { border-radius: var(--rad); }
.hidden-mobile { display: block; }
.visible-mobile { display: none; }

/* Notices */
.notice, .alert, .cp-notice {
	padding: var(--sp-4) var(--sp-5);
	border-radius: var(--rad);
	background: var(--surface);
	border-left: 4px solid var(--info);
	color: var(--text);
	margin-bottom: var(--sp-4);
}
.notice.error, .notice-error, .cp-notice.error { border-left-color: var(--danger); background: rgba(231,76,60,.06); }
.notice.success, .cp-notice.success { border-left-color: var(--success); background: rgba(39,174,96,.06); }
.notice.warning, .cp-notice.warning { border-left-color: var(--warning); background: rgba(243,156,18,.06); }

/* Badges */
.badge {
	display: inline-flex;
	align-items: center;
	padding: 2px 10px;
	background: var(--surface-2);
	color: var(--text-2);
	border: 1px solid var(--border);
	border-radius: var(--rad-full);
	font-size: var(--fs-xs);
	font-weight: 600;
	letter-spacing: .03em;
}
.badge-gold { background: var(--accent-soft); color: var(--accent); border-color: var(--accent); }
.badge-success { background: rgba(39,174,96,.15); color: var(--success); border-color: var(--success); }
.badge-danger { background: rgba(231,76,60,.15); color: var(--danger); border-color: var(--danger); }

/* Section */
.section {
	padding: var(--sp-12) 0;
}
.section-title {
	text-align: center;
	margin-bottom: var(--sp-10);
}
.section-title h2 {
	font-family: var(--font-display);
	font-size: var(--fs-4xl);
	margin-bottom: var(--sp-3);
}
.section-title p {
	color: var(--text-3);
	max-width: 600px;
	margin: 0 auto;
	font-size: var(--fs-lg);
}

/* Empty state */
.empty-state {
	text-align: center;
	padding: var(--sp-16) var(--sp-5);
	color: var(--text-3);
}
.empty-state i, .empty-state svg { font-size: 4rem; color: var(--accent); opacity: .3; margin-bottom: var(--sp-4); display: block; }

/* Loading */
.loading {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: var(--sp-8);
	color: var(--text-3);
}

/* ==========================================================================
   26. ANIMATIONS
   ========================================================================== */
@keyframes pulse {
	0%, 100% { opacity: 1; transform: scale(1); }
	50% { opacity: .5; transform: scale(.85); }
}
@keyframes fadeUp {
	from { opacity: 0; transform: translateY(20px); }
	to { opacity: 1; transform: translateY(0); }
}
@keyframes shimmer {
	0% { background-position: -200% 0; }
	100% { background-position: 200% 0; }
}
.animate-fade-up { animation: fadeUp .5s ease-out both; }
.animate-fade-up-delay { animation: fadeUp .5s .15s ease-out both; }

/* ==========================================================================
   27. WORDPRESS CORE / MISC COMPATIBILITY
   ========================================================================== */
.alignnone { margin: var(--sp-3) 0; }
.alignright { float: right; margin: 0 0 var(--sp-3) var(--sp-4); }
.alignleft { float: left; margin: 0 var(--sp-4) var(--sp-3) 0; }
.aligncenter { display: block; margin: var(--sp-3) auto; }
.wp-caption { max-width: 100%; padding: var(--sp-2); background: var(--surface-2); border-radius: var(--rad); text-align: center; }
.wp-caption-text { color: var(--text-3); font-size: var(--fs-sm); margin: var(--sp-2) 0 0; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: var(--sp-3); margin: var(--sp-4) 0; }
.gallery-item { margin: 0; }
.gallery-item img { border: 0; border-radius: var(--rad-sm); }
.sticky { background: var(--surface); border-radius: var(--rad-md); padding: var(--sp-5); }
.bypostauthor { display: block; }
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px; width: 1px;
	overflow: hidden;
	word-wrap: normal !important;
}

/* Font Awesome inline fixes (dashicons-before compat) */
[class^="dashicons-before"], [class*=" dashicons-before"] {
	display: inline-flex;
	align-items: center;
}

/* Colorbox overrides */
#cboxContent, #cboxLoadedContent { background: var(--surface) !important; }
#cboxTitle { color: var(--text) !important; }

/* jQuery UI selectbox */
.selectBox-dropdown, .selectBox-options {
	background: var(--surface) !important;
	border-color: var(--border) !important;
	color: var(--text) !important;
	border-radius: var(--rad) !important;
}
.selectBox-options a { color: var(--text-2) !important; }
.selectBox-options a:hover { background: var(--gold-soft) !important; color: var(--gold) !important; }

/* ==========================================================================
   28. RESPONSIVE — Tablet
   ========================================================================== */
@media (max-width: 1024px) {
	.gorunmedik_sey { grid-template-columns: 1fr; }
	.icindeki_sag { position: static; }
	.yazi-bloklari { grid-template-columns: 160px 1fr; }
	.hero__stats { grid-template-columns: repeat(3, 1fr); }
	.bigleft, .bigright { float: none; width: 100%; padding-right: 0; }
	#user-photo { float: none; margin: 0 auto var(--sp-4); }
	.author-desc { padding-top: 0; }
}

/* ==========================================================================
   29. RESPONSIVE — Mobile
   ========================================================================== */
@media (max-width: 768px) {
	:root {
		--sp-16: 3rem;
		--sp-12: 2rem;
		--header-h: 64px;
	}
	.site-header__topbar { font-size: 10px; padding: 6px; }
	.nav-primary { display: none; position: fixed; top: var(--header-h); left: 0; right: 0; background: var(--surface); border-top: 1px solid var(--border); padding: var(--sp-4); max-height: calc(100vh - var(--header-h)); overflow-y: auto; z-index: 90; }
	.nav-primary.is-open { display: block; }
	.nav-primary > ul, #kafa-menusu { flex-direction: column; gap: 0; }
	.nav-primary li, #kafa-menusu li { width: 100%; border-bottom: 1px solid var(--border); }
	.nav-primary a, #kafa-menusu a { padding: var(--sp-3) var(--sp-4); width: 100%; justify-content: flex-start; border-radius: 0; }
	.nav-primary .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: var(--bg-2); border: 0; border-radius: 0; padding: 0 0 0 var(--sp-4); }
	.mobile-nav-toggle { display: inline-flex; }
	.header-actions .btn-ghost, .header-actions .btn:not(.btn-icon) { display: none; }

	.hero { padding: var(--sp-10) 0 var(--sp-8); }
	.hero__title { font-size: 2rem; }
	.hero__sub { font-size: var(--fs-base); }
	.hero__stats { grid-template-columns: repeat(3, 1fr); padding: var(--sp-3); gap: var(--sp-2); }
	.hero__stat b { font-size: 1.5rem; }
	.hero__stat span { font-size: 10px; }

	.searchbar__form { flex-direction: column; border-radius: var(--rad-lg); padding: var(--sp-3); gap: var(--sp-3); }
	.searchbar__form select { max-width: 100%; border-left: 0; border-top: 1px solid var(--border); border-radius: 0; }

	.yazi-bloklari { grid-template-columns: 1fr; gap: var(--sp-3); padding: var(--sp-4); }
	.yazi-sol { aspect-ratio: 16/9; }

	.icerik_bolu { padding: var(--sp-3) var(--sp-4); }
	.hidden-mobile { display: none; }
	.visible-mobile { display: block; }

	.footer_main .dotted { grid-template-columns: 1fr; text-align: center; }
	#footer-nav-menu { flex-direction: column; gap: 0; }
	#footer-nav-menu li { border-bottom: 1px solid var(--border); }
	#footer-nav-menu a { display: block; text-align: center; }
}

@media (max-width: 480px) {
	.hero__title { font-size: 1.7rem; }
	.hero__stats { grid-template-columns: 1fr; }
	.btn-lg { padding: var(--sp-3) var(--sp-5); font-size: var(--fs-sm); }
	.tanimlama-noktasi { font-size: var(--fs-lg); }
}

/* ==========================================================================
   30. ACCESSIBILITY & MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
		scroll-behavior: auto !important;
	}
}

/* ==========================================================================
   31. PRINT
   ========================================================================== */
@media print {
	.site-header, .site-footer, .icindeki_sag, .searchbar, .navigation, .comments-area, .btn { display: none !important; }
	body { background: white; color: black; }
	.dis_golgebloku, .card { border: 1px solid #ccc; box-shadow: none; break-inside: avoid; }
}
