/**
 * Betting - Main Stylesheet
 * Editorial magazine stili, crimson vurgu, tekli yatay kart düzeni.
 */

/* ==========================================================================
   0. Design Tokens
   ========================================================================== */
:root {
	/* Arka plan - warm editorial off-white */
	--bt-bg: #faf8f3;
	--bt-surface: #ffffff;
	--bt-surface-alt: #f5f3ec;

	/* Çizgiler ve kenarlıklar */
	--bt-border: #e7e3d8;
	--bt-border-strong: #cfcabb;
	--bt-rule: #1f1d1b;

	/* Metin */
	--bt-text: #1a1a1a;
	--bt-text-muted: #6b6b6b;
	--bt-text-soft: #9a9a9a;

	/* Crimson vurgu */
	--bt-accent: #b91c1c;
	--bt-accent-dark: #991b1b;
	--bt-accent-soft: #fef2f2;

	/* Typography */
	--bt-font-serif: Georgia, "Times New Roman", "Droid Serif", serif;
	--bt-font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--bt-font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

	/* Ölçüler */
	--bt-container: 1220px;
	--bt-content: 760px;
	--bt-gap: 1.5rem;
	--bt-radius: 4px;
	--bt-radius-lg: 8px;
}

/* ==========================================================================
   1. Base
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

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

@supports not (scrollbar-gutter: stable) {
	html { overflow-y: scroll; }
}

body {
	margin: 0;
	font-family: var(--bt-font-sans);
	font-size: 16px;
	line-height: 1.7;
	color: var(--bt-text);
	background: var(--bt-bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

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

a {
	color: var(--bt-accent);
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
	transition: color .15s ease, text-decoration-thickness .15s ease;
}

a:hover,
a:focus {
	color: var(--bt-accent-dark);
	text-decoration-thickness: 2px;
}

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

h1, h2, h3, h4, h5, h6 {
	font-family: var(--bt-font-serif);
	line-height: 1.2;
	color: var(--bt-text);
	margin: 0 0 .6em;
	font-weight: 700;
	letter-spacing: -.01em;
}

h1 { font-size: clamp(1.9rem, 4vw, 2.75rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.45rem, 2.5vw, 1.875rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }
h5 { font-size: 1rem; }
h6 {
	font-size: .8rem;
	text-transform: uppercase;
	letter-spacing: .12em;
	font-family: var(--bt-font-sans);
	font-weight: 700;
	color: var(--bt-text-muted);
}

p { margin: 0 0 1em; }

ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li { margin-bottom: .3em; }

blockquote {
	margin: 1.75em 0;
	padding: .25rem 0 .25rem 1.5rem;
	border-left: 3px solid var(--bt-accent);
	font-family: var(--bt-font-serif);
	font-style: italic;
	font-size: 1.125rem;
	color: var(--bt-text);
	line-height: 1.6;
}

code {
	font-family: var(--bt-font-mono);
	font-size: .9em;
	padding: .15em .4em;
	background: var(--bt-surface-alt);
	border: 1px solid var(--bt-border);
	border-radius: var(--bt-radius);
}

pre {
	overflow: auto;
	padding: 1rem 1.25rem;
	background: #1a1a1a;
	color: #e5e5e5;
	border-radius: var(--bt-radius);
	margin: 1.5em 0;
	font-family: var(--bt-font-mono);
	font-size: .9rem;
	line-height: 1.6;
}

pre code { background: none; border: none; padding: 0; color: inherit; }

hr {
	border: 0;
	height: 1px;
	background: var(--bt-border);
	margin: 2rem 0;
}

table {
	width: 100%;
	border-collapse: collapse;
	margin: 1.5em 0;
	font-size: .95rem;
}

th, td {
	padding: .75rem 1rem;
	text-align: left;
	border-bottom: 1px solid var(--bt-border);
}

th {
	background: var(--bt-surface-alt);
	font-weight: 700;
	font-family: var(--bt-font-sans);
	text-transform: uppercase;
	font-size: .8rem;
	letter-spacing: .05em;
	color: var(--bt-text-muted);
}

figure { margin: 1.75em 0; }

figcaption {
	font-size: .875rem;
	color: var(--bt-text-muted);
	margin-top: .5rem;
	font-style: italic;
	text-align: center;
}

/* WordPress */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
	word-wrap: normal !important;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 1rem;
	z-index: 9999;
	padding: .75rem 1rem;
	background: var(--bt-text);
	color: #fff;
	text-decoration: none;
}

.skip-link:focus { left: 1rem; color: #fff; }

.alignleft  { float: left;  margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { display: block; margin: 1.5rem auto; }
.alignwide { max-width: 110%; margin-left: -5%; margin-right: -5%; }
.alignfull { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); max-width: 100vw; }

/* ==========================================================================
   2. Layout
   ========================================================================== */
.container {
	width: 100%;
	max-width: var(--bt-container);
	margin: 0 auto;
	padding: 0 1.5rem;
}

/* Okuma ilerlemesi */
.reading-progress {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: transparent;
	z-index: 1001;
	pointer-events: none;
}

.reading-progress__bar {
	display: block;
	height: 100%;
	width: 0;
	background: var(--bt-accent);
	transition: width .08s linear;
}

/* Topbar */
.topbar {
	background: var(--bt-rule);
	color: #e5e3dc;
	font-size: .8rem;
	letter-spacing: .02em;
}

.topbar__inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	min-height: 38px;
	flex-wrap: wrap;
}

.topbar__text {
	color: #e5e3dc;
	font-weight: 500;
}

.topbar__nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 1.25rem;
}

.topbar__nav a {
	color: #d4d1c5;
	text-decoration: none;
	font-size: .8rem;
	text-transform: uppercase;
	letter-spacing: .08em;
	font-weight: 600;
}

.topbar__nav a:hover {
	color: #fff;
	text-decoration: none;
}

/* ==========================================================================
   3. Site Header
   ========================================================================== */
.site-header {
	background: var(--bt-surface);
	border-bottom: 1px solid var(--bt-border);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1.5rem 1.5rem;
	gap: 1.5rem;
}

.site-branding {
	flex: 1 1 auto;
	text-align: center;
}

.site-title {
	font-family: var(--bt-font-serif);
	font-size: clamp(1.5rem, 3.5vw, 2.25rem);
	font-weight: 800;
	margin: 0;
	line-height: 1.1;
	letter-spacing: -.02em;
	text-transform: uppercase;
}

.site-title a {
	color: var(--bt-text);
	text-decoration: none;
	background: linear-gradient(var(--bt-accent), var(--bt-accent)) left bottom / 0 2px no-repeat;
	transition: background-size .3s ease;
	padding-bottom: 4px;
}

.site-title a:hover {
	color: var(--bt-text);
	background-size: 100% 2px;
	text-decoration: none;
}

.site-description {
	margin: .35rem 0 0;
	font-size: .85rem;
	font-family: var(--bt-font-sans);
	color: var(--bt-text-muted);
	letter-spacing: .05em;
	text-transform: uppercase;
}

.site-logo img {
	max-height: 50px;
	width: auto;
	margin: 0 auto;
}

.site-header__actions {
	display: flex;
	gap: .5rem;
	align-items: center;
	flex: 0 0 auto;
}

.search-toggle,
.menu-toggle {
	background: transparent;
	border: 1px solid var(--bt-border-strong);
	width: 42px;
	height: 42px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: var(--bt-text);
	border-radius: var(--bt-radius);
	transition: all .15s ease;
}

.search-toggle:hover,
.menu-toggle:hover {
	background: var(--bt-accent);
	border-color: var(--bt-accent);
	color: #fff;
}

.menu-toggle {
	display: none;
}

.menu-toggle__lines,
.menu-toggle__lines::before,
.menu-toggle__lines::after {
	display: block;
	width: 18px;
	height: 2px;
	background: currentColor;
	border-radius: 2px;
	position: relative;
	transition: all .2s ease;
}

.menu-toggle__lines::before,
.menu-toggle__lines::after {
	content: '';
	position: absolute;
	left: 0;
}

.menu-toggle__lines::before { top: -6px; }
.menu-toggle__lines::after  { top: 6px; }

.menu-toggle[aria-expanded="true"] .menu-toggle__lines { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__lines::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__lines::after  { top: 0; transform: rotate(-45deg); }

/* Main Navigation */
.main-navigation {
	border-top: 1px solid var(--bt-border);
	background: var(--bt-surface);
}

.main-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	justify-content: center;
	gap: 0;
	flex-wrap: wrap;
}

.main-navigation li {
	position: relative;
	margin: 0;
}

.main-navigation a {
	display: block;
	padding: 1rem 1.25rem;
	color: var(--bt-text);
	font-weight: 600;
	font-size: .85rem;
	text-transform: uppercase;
	letter-spacing: .1em;
	text-decoration: none;
	transition: color .15s ease;
	position: relative;
}

.main-navigation a::after {
	content: '';
	position: absolute;
	left: 50%;
	bottom: 0;
	transform: translateX(-50%);
	width: 0;
	height: 2px;
	background: var(--bt-accent);
	transition: width .2s ease;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
	color: var(--bt-accent);
	text-decoration: none;
}

.main-navigation a:hover::after,
.main-navigation .current-menu-item > a::after,
.main-navigation .current_page_item > a::after {
	width: 30px;
}

.main-navigation ul ul {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	background: var(--bt-surface);
	border: 1px solid var(--bt-border);
	border-top: 2px solid var(--bt-accent);
	padding: .5rem 0;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .1);
	flex-direction: column;
	z-index: 10;
}

.main-navigation li:hover > ul,
.main-navigation li:focus-within > ul {
	display: flex;
}

.main-navigation ul ul a {
	padding: .6rem 1rem;
	font-size: .8rem;
	letter-spacing: .05em;
}

.main-navigation ul ul a::after { display: none; }

/* Header search */
.header-search {
	border-top: 1px solid var(--bt-border);
	padding: 1rem 0;
	background: var(--bt-surface-alt);
}

.header-search[hidden] { display: none; }

.header-search .search-form {
	max-width: 560px;
	margin: 0 auto;
}

/* Breadcrumbs */
.breadcrumbs-wrap {
	padding: 1rem 0;
	border-bottom: 1px solid var(--bt-border);
	background: var(--bt-surface);
}

.breadcrumbs {
	font-size: .8rem;
	color: var(--bt-text-muted);
	font-family: var(--bt-font-sans);
}

.breadcrumbs__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: .25rem .6rem;
	align-items: center;
}

.breadcrumbs__item {
	display: inline-flex;
	align-items: center;
	gap: .6rem;
	margin: 0;
	text-transform: uppercase;
	letter-spacing: .08em;
}

.breadcrumbs__item a {
	color: var(--bt-text-muted);
	text-decoration: none;
}

.breadcrumbs__item a:hover { color: var(--bt-accent); }

.breadcrumbs__item [aria-current="page"] {
	color: var(--bt-text);
	font-weight: 600;
}

.breadcrumbs__sep { color: var(--bt-text-soft); }

/* ==========================================================================
   4. Main Grid - Kutulu tasarım
   ========================================================================== */
.site-main {
	padding: 2.5rem 0 4rem;
}

.main-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 2rem;
	align-items: start;
}

body.has-sidebar .main-grid {
	grid-template-columns: minmax(0, 1fr) 340px;
}

/* İçerik alanı ve sidebar beyaz kutu içinde */
.content-area,
.widget-area {
	min-width: 0;
	background: var(--bt-surface);
	border: 1px solid var(--bt-border);
	border-radius: var(--bt-radius-lg);
	padding: 2.5rem;
	box-shadow: 0 1px 3px rgba(26, 26, 26, .04);
}

.widget-area {
	padding: 2rem 1.75rem;
}

.widget-area__inner {
	position: sticky;
	top: 1.5rem;
}

/* ==========================================================================
   5. Page headers
   ========================================================================== */
.page-header.archive-header {
	padding-bottom: 1.5rem;
	margin-bottom: 2rem;
	border-bottom: 3px double var(--bt-border-strong);
}

.page-header .page-title {
	margin: 0 0 .5rem;
	font-family: var(--bt-font-serif);
}

.archive-description {
	color: var(--bt-text-muted);
	max-width: 680px;
	margin: 0;
	font-size: 1.05rem;
	line-height: 1.6;
}

/* ==========================================================================
   6. Post List (tekli yatay kart)
   ========================================================================== */
.posts-list {
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

.post-item {
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: 1.75rem;
	padding-bottom: 2rem;
	border-bottom: 1px solid var(--bt-border);
	align-items: start;
}

.posts-list > .post-item:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.post-item__thumb {
	position: relative;
	display: block;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	background: var(--bt-surface-alt);
	border-radius: var(--bt-radius-lg);
}

.post-item__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .4s ease;
}

.post-item:hover .post-item__thumb img {
	transform: scale(1.04);
}

.post-item__sticky {
	position: absolute;
	top: .75rem;
	left: .75rem;
	background: var(--bt-accent);
	color: #fff;
	font-size: .7rem;
	font-weight: 700;
	padding: .3rem .7rem;
	text-transform: uppercase;
	letter-spacing: .08em;
	z-index: 2;
}

.post-item__body {
	display: flex;
	flex-direction: column;
	gap: .6rem;
	align-self: center;
}

.post-item__body--full {
	padding: 0;
}

.post-item__type {
	font-size: .7rem;
	text-transform: uppercase;
	letter-spacing: .12em;
	font-weight: 700;
	color: var(--bt-accent);
	margin-bottom: .4rem;
}

/* Category badges */
.entry-cats {
	display: flex;
	flex-wrap: wrap;
	gap: 0 1rem;
}

.entry-cat {
	display: inline-flex;
	align-items: center;
	font-size: .72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .14em;
	color: var(--bt-accent);
	text-decoration: none;
	position: relative;
	padding: 0;
}

.entry-cat::before {
	content: '';
	display: inline-block;
	width: 14px;
	height: 2px;
	background: var(--bt-accent);
	margin-right: .5rem;
	vertical-align: middle;
}

.entry-cat:hover {
	color: var(--bt-accent-dark);
	text-decoration: none;
}

.post-item__title {
	font-size: clamp(1.35rem, 2vw, 1.65rem);
	line-height: 1.25;
	margin: 0;
	font-family: var(--bt-font-serif);
	font-weight: 700;
}

.post-item__title a {
	color: var(--bt-text);
	text-decoration: none;
	background: linear-gradient(var(--bt-accent), var(--bt-accent)) left 95% / 0 1px no-repeat;
	transition: background-size .3s ease, color .15s ease;
}

.post-item__title a:hover {
	color: var(--bt-accent);
	background-size: 100% 1px;
	text-decoration: none;
}

.post-item__excerpt {
	color: var(--bt-text-muted);
	margin: 0;
	font-size: .98rem;
	line-height: 1.6;
}

.post-item__meta {
	font-size: .82rem;
	color: var(--bt-text-muted);
	display: flex;
	flex-wrap: wrap;
	gap: .4rem;
	align-items: center;
	font-family: var(--bt-font-sans);
}

.post-item__meta .meta-author {
	color: var(--bt-text);
	font-weight: 600;
}

.post-item__meta .meta-sep { color: var(--bt-text-soft); }

.post-item__cta {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	font-weight: 700;
	font-size: .8rem;
	color: var(--bt-accent);
	margin-top: .2rem;
	text-transform: uppercase;
	letter-spacing: .1em;
	text-decoration: none;
	align-self: flex-start;
}

.post-item__cta:hover {
	gap: .65rem;
	color: var(--bt-accent-dark);
	text-decoration: none;
}

/* ==========================================================================
   7. Placeholder (harf)
   ========================================================================== */
.post-placeholder {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	min-height: 100%;
	background: linear-gradient(135deg, var(--ph-c1, #b91c1c) 0%, var(--ph-c2, #dc2626) 100%);
	overflow: hidden;
	isolation: isolate;
}

.post-item__thumb .post-placeholder {
	aspect-ratio: 3 / 2;
}

.post-placeholder__grid {
	position: absolute;
	inset: 0;
	z-index: 1;
	background-image:
		linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
	background-size: 24px 24px;
	pointer-events: none;
}

.post-placeholder__rule {
	position: absolute;
	left: 50%;
	bottom: 14%;
	transform: translateX(-50%);
	width: 32px;
	height: 3px;
	background: rgba(255, 255, 255, .9);
	z-index: 2;
}

.post-placeholder__letter {
	position: relative;
	z-index: 3;
	font-family: var(--bt-font-serif);
	font-weight: 900;
	color: #fff;
	line-height: 1;
	letter-spacing: -.04em;
	text-shadow: 0 2px 12px rgba(0, 0, 0, .2);
	user-select: none;
	font-size: clamp(3rem, 7vw, 4.5rem);
}

/* Tek yazı (featured) */
.post-placeholder--featured .post-placeholder__letter {
	font-size: clamp(5rem, 12vw, 9rem);
}

.post-placeholder--featured .post-placeholder__rule {
	width: 48px;
	height: 4px;
}

/* Small (sidebar, related) */
.post-placeholder--small .post-placeholder__letter {
	font-size: clamp(1.5rem, 4vw, 2.5rem);
}

.post-placeholder--small .post-placeholder__rule {
	width: 20px;
	height: 2px;
}

.post-item:hover .post-placeholder__letter {
	transform: scale(1.04);
	transition: transform .4s ease;
}

/* ==========================================================================
   8. Single Post
   ========================================================================== */
/* NOT: .single-post selektörünü article'a scope'luyoruz çünkü WordPress
   tek yazı sayfalarında body elementine de .single-post class'ını ekler.
   Scope'lanmadığında body padding alıyor ve header/footer daralıyor. */
article.single-post {
	margin: 0 0 2rem;
}

article.single-post .entry-header {
	margin-bottom: 1.75rem;
	text-align: left;
	padding-bottom: 1.25rem;
	border-bottom: 1px solid var(--bt-border);
}

article.single-post .entry-title {
	margin: .5rem 0 .75rem;
	font-family: var(--bt-font-serif);
	font-weight: 700;
	font-size: clamp(2rem, 4.5vw, 3rem);
	line-height: 1.15;
	letter-spacing: -.02em;
}

.entry-lede {
	font-family: var(--bt-font-serif);
	font-size: 1.2rem;
	font-style: italic;
	color: var(--bt-text-muted);
	line-height: 1.5;
	margin: 1rem 0 1.25rem;
	max-width: 700px;
}

.entry-meta {
	display: flex;
	flex-wrap: wrap;
	gap: .4rem;
	align-items: center;
	color: var(--bt-text-muted);
	font-size: .82rem;
	margin-top: .75rem;
	font-family: var(--bt-font-sans);
}

.entry-meta .meta-by {
	text-transform: uppercase;
	font-size: .7rem;
	letter-spacing: .1em;
	color: var(--bt-text-soft);
	font-weight: 600;
	margin-right: .1rem;
}

.entry-meta .meta-sep { color: var(--bt-text-soft); }

.entry-author {
	color: var(--bt-text);
	font-weight: 600;
	text-decoration: none;
}

.entry-author:hover { color: var(--bt-accent); text-decoration: none; }

.entry-thumbnail {
	margin: 0 0 2rem;
	overflow: hidden;
	background: var(--bt-surface-alt);
	border-radius: var(--bt-radius-lg);
}

.entry-thumbnail img {
	width: 100%;
	height: auto;
	display: block;
}

.entry-content {
	font-family: var(--bt-font-serif);
	font-size: 1.125rem;
	line-height: 1.75;
	color: var(--bt-text);
}

.entry-content > * {
	max-width: var(--bt-content);
	margin-left: auto;
	margin-right: auto;
}

.entry-content .alignwide,
.entry-content .alignfull,
.entry-content .wp-block-image.alignfull img,
.entry-content .wp-block-image.alignwide img {
	max-width: none;
}

.entry-content h2 {
	margin-top: 2.5rem;
	font-size: 1.75rem;
	font-family: var(--bt-font-serif);
	font-weight: 700;
	padding-top: .5rem;
	position: relative;
}

.entry-content h2::before {
	content: '';
	display: block;
	width: 40px;
	height: 3px;
	background: var(--bt-accent);
	margin-bottom: .75rem;
}

.entry-content h3 {
	margin-top: 2rem;
	font-size: 1.35rem;
	font-family: var(--bt-font-serif);
	font-weight: 700;
}

.entry-content img {
	border-radius: var(--bt-radius);
}

.entry-content a {
	color: var(--bt-accent);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

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

.entry-content ul,
.entry-content ol { padding-left: 1.5em; }

.entry-content ul li,
.entry-content ol li { margin-bottom: .5em; }

.entry-footer {
	margin-top: 2.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--bt-border);
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 1rem;
	align-items: center;
	font-family: var(--bt-font-sans);
}

.entry-tags {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	align-items: center;
	font-size: .85rem;
}

.entry-tags__label {
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .1em;
	font-size: .7rem;
	color: var(--bt-text-soft);
	margin-right: .2rem;
}

.entry-tag {
	display: inline-flex;
	padding: .3rem .7rem;
	background: var(--bt-surface);
	border: 1px solid var(--bt-border-strong);
	color: var(--bt-text);
	font-size: .8rem;
	text-decoration: none;
	transition: all .15s ease;
}

.entry-tag:hover {
	background: var(--bt-text);
	color: #fff;
	border-color: var(--bt-text);
	text-decoration: none;
}

.entry-share {
	display: flex;
	gap: .4rem;
	align-items: center;
}

.entry-share__label {
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .1em;
	font-size: .7rem;
	color: var(--bt-text-soft);
	margin-right: .2rem;
}

.entry-share__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	background: var(--bt-surface);
	border: 1px solid var(--bt-border-strong);
	color: var(--bt-text);
	font-weight: 700;
	font-size: .75rem;
	text-decoration: none;
	transition: all .15s ease;
}

.entry-share__link:hover {
	background: var(--bt-accent);
	border-color: var(--bt-accent);
	color: #fff;
	text-decoration: none;
}

/* ==========================================================================
   9. Table of Contents (TOC)
   ========================================================================== */
.toc {
	margin: 0 0 2.5rem;
	padding: 1.5rem 1.75rem;
	background: var(--bt-surface-alt);
	border: 1px solid var(--bt-border);
	border-left: 3px solid var(--bt-accent);
	font-family: var(--bt-font-sans);
}

.toc__header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: .75rem;
}

.toc__title {
	margin: 0;
	font-size: .8rem;
	text-transform: uppercase;
	letter-spacing: .12em;
	font-weight: 700;
	color: var(--bt-text);
	font-family: var(--bt-font-sans);
}

.toc__toggle {
	background: transparent;
	border: none;
	cursor: pointer;
	color: var(--bt-text-muted);
	font-size: .75rem;
	text-transform: uppercase;
	letter-spacing: .1em;
	font-weight: 600;
	padding: .25rem .5rem;
}

.toc__toggle:hover { color: var(--bt-accent); }

.toc__list {
	margin: 0;
	padding: 0 0 0 1.1rem;
	list-style: decimal;
	counter-reset: toc-counter;
}

.toc__list[hidden] { display: none; }

.toc__item {
	margin: .35rem 0;
	padding: 0;
	font-size: .92rem;
	line-height: 1.5;
}

.toc__item a {
	color: var(--bt-text);
	text-decoration: none;
	transition: color .15s ease;
}

.toc__item a:hover { color: var(--bt-accent); text-decoration: underline; }

.toc__sublist {
	margin: .25rem 0 .5rem;
	padding-left: 1.25rem;
	list-style: lower-alpha;
	font-size: .88rem;
}

.toc__item--sub {
	color: var(--bt-text-muted);
}

.toc__item--sub a { color: var(--bt-text-muted); }
.toc__item--sub a:hover { color: var(--bt-accent); }

/* ==========================================================================
  10. Author box
  ========================================================================== */
.author-box {
	margin: 0 0 2rem;
	display: flex;
	gap: 1.25rem;
	align-items: flex-start;
	padding: 1.5rem;
	background: var(--bt-surface-alt);
	border: 1px solid var(--bt-border);
	border-left: 3px solid var(--bt-accent);
}

.author-box__avatar img {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	display: block;
}

.author-box__label {
	display: block;
	font-size: .7rem;
	text-transform: uppercase;
	letter-spacing: .12em;
	color: var(--bt-text-soft);
	font-weight: 700;
	margin-bottom: .25rem;
}

.author-box__name {
	margin: 0 0 .35rem;
	font-size: 1.15rem;
	font-family: var(--bt-font-serif);
}

.author-box__name a {
	color: var(--bt-text);
	text-decoration: none;
}

.author-box__name a:hover { color: var(--bt-accent); }

.author-box__bio {
	margin: 0;
	color: var(--bt-text-muted);
	font-size: .94rem;
	line-height: 1.6;
}

/* ==========================================================================
  11. Related posts
  ========================================================================== */
.related-posts {
	margin: 0 0 1rem;
	padding-top: 2rem;
	border-top: 3px double var(--bt-border-strong);
}

.section-title {
	font-size: 1.25rem;
	font-family: var(--bt-font-serif);
	margin: 0 0 1.25rem;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: .1em;
	font-weight: 700;
	color: var(--bt-text);
}

.section-title::after {
	content: '';
	display: block;
	width: 40px;
	height: 3px;
	background: var(--bt-accent);
	margin: .5rem auto 0;
}

.related-posts__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 1.5rem;
}

.related-post {
	display: flex;
	flex-direction: column;
	gap: .75rem;
}

.related-post__thumb {
	display: block;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	background: var(--bt-surface-alt);
	border-radius: var(--bt-radius);
}

.related-post__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .3s ease;
}

.related-post:hover .related-post__thumb img { transform: scale(1.05); }

.related-post__body {
	display: flex;
	flex-direction: column;
	gap: .4rem;
}

.related-post__title {
	font-size: 1rem;
	line-height: 1.35;
	margin: 0;
	font-family: var(--bt-font-serif);
}

.related-post__title a {
	color: var(--bt-text);
	text-decoration: none;
}

.related-post__title a:hover { color: var(--bt-accent); }

.related-post__meta {
	font-size: .78rem;
	color: var(--bt-text-muted);
	font-family: var(--bt-font-sans);
}

/* ==========================================================================
  12. Sidebar widgets
  ========================================================================== */
.widget-area .widget {
	margin-bottom: 2rem;
	padding-bottom: 2rem;
	border-bottom: 1px solid var(--bt-border);
}

.widget-area .widget:last-child {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}

.widget__title {
	font-size: .8rem;
	margin: 0 0 1rem;
	text-transform: uppercase;
	letter-spacing: .14em;
	font-weight: 700;
	font-family: var(--bt-font-sans);
	color: var(--bt-text);
	position: relative;
	padding-bottom: .75rem;
}

.widget__title::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 32px;
	height: 2px;
	background: var(--bt-accent);
}

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

.widget li {
	padding: .5rem 0;
	border-bottom: 1px solid var(--bt-border);
	font-size: .92rem;
	line-height: 1.4;
}

.widget li:last-child { border-bottom: none; }

.widget a {
	color: var(--bt-text);
	text-decoration: none;
	font-family: var(--bt-font-sans);
}

.widget a:hover { color: var(--bt-accent); }

/* Search form */
.search-form {
	display: flex;
	align-items: stretch;
}

.search-field {
	flex: 1 1 auto;
	padding: .7rem .9rem;
	border: 1px solid var(--bt-border-strong);
	border-right: none;
	font-size: .95rem;
	background: var(--bt-surface);
	color: var(--bt-text);
	font-family: inherit;
}

.search-field:focus {
	outline: none;
	border-color: var(--bt-accent);
	box-shadow: 0 0 0 2px var(--bt-accent-soft);
}

.search-submit {
	padding: .7rem 1.25rem;
	background: var(--bt-text);
	color: #fff;
	border: 1px solid var(--bt-text);
	cursor: pointer;
	font-weight: 700;
	font-size: .85rem;
	text-transform: uppercase;
	letter-spacing: .1em;
	font-family: var(--bt-font-sans);
	transition: background .15s ease;
}

.search-submit:hover { background: var(--bt-accent); border-color: var(--bt-accent); }

/* ==========================================================================
  13. Pagination
  ========================================================================== */
.navigation.pagination {
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid var(--bt-border);
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: .25rem;
	justify-content: center;
}

.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 .85rem;
	background: transparent;
	border: 1px solid var(--bt-border-strong);
	color: var(--bt-text);
	font-weight: 600;
	text-decoration: none;
	font-family: var(--bt-font-sans);
	font-size: .9rem;
	transition: all .15s ease;
}

.page-numbers:hover,
.page-numbers.current {
	background: var(--bt-accent);
	color: #fff;
	border-color: var(--bt-accent);
	text-decoration: none;
}

.page-numbers.dots { border-color: transparent; }

/* ==========================================================================
  14. Comments
  ========================================================================== */
.comments-area {
	margin: 3rem 0 0;
	padding-top: 2rem;
	border-top: 3px double var(--bt-border-strong);
}

.comments-title {
	font-size: 1.25rem;
	margin: 0 0 1.5rem;
	font-family: var(--bt-font-serif);
	text-transform: uppercase;
	letter-spacing: .08em;
}

.comment-list {
	list-style: none;
	margin: 0 0 2rem;
	padding: 0;
}

.comment-list .children {
	list-style: none;
	margin: 1rem 0 0 2rem;
	padding: 0;
	border-left: 2px solid var(--bt-border);
	padding-left: 1.25rem;
}

.comment-body {
	background: var(--bt-surface);
	padding: 1rem 1.25rem;
	margin-bottom: 1rem;
	border: 1px solid var(--bt-border);
}

.comment-meta {
	display: flex;
	align-items: center;
	gap: .75rem;
	margin-bottom: .5rem;
	font-size: .85rem;
	color: var(--bt-text-muted);
	font-family: var(--bt-font-sans);
}

.comment-author .avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
}

.comment-author .fn {
	font-weight: 700;
	color: var(--bt-text);
}

.reply a {
	font-size: .8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .08em;
}

.comment-form label {
	display: block;
	font-weight: 700;
	margin-bottom: .4rem;
	font-size: .8rem;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: var(--bt-text-muted);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: .7rem .9rem;
	border: 1px solid var(--bt-border-strong);
	background: var(--bt-surface);
	font-family: inherit;
	font-size: .95rem;
	color: var(--bt-text);
	margin-bottom: 1rem;
}

.comment-form textarea { min-height: 120px; resize: vertical; }

.comment-form input:focus,
.comment-form textarea:focus {
	outline: none;
	border-color: var(--bt-accent);
	box-shadow: 0 0 0 2px var(--bt-accent-soft);
}

.form-submit .submit {
	padding: .85rem 1.75rem;
	background: var(--bt-accent);
	color: #fff;
	border: none;
	font-weight: 700;
	cursor: pointer;
	font-size: .85rem;
	text-transform: uppercase;
	letter-spacing: .1em;
	font-family: var(--bt-font-sans);
	transition: background .15s ease;
}

.form-submit .submit:hover { background: var(--bt-accent-dark); }

/* ==========================================================================
  15. Footer
  ========================================================================== */
.site-footer {
	background: var(--bt-rule);
	color: #d4d1c5;
	margin-top: 4rem;
	font-family: var(--bt-font-sans);
}

.site-footer__widgets {
	padding: 3rem 0 1.5rem;
	border-bottom: 1px solid #2e2c28;
}

.footer-widgets {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 2.5rem;
}

.footer-widget-col .widget {
	border-bottom: none;
	margin-bottom: 1.5rem;
	padding-bottom: 0;
}

.footer-widget-col .widget__title {
	color: #fff;
	font-size: .8rem;
}

.footer-widget-col .widget__title::after { background: var(--bt-accent); }

.footer-widget-col .widget a { color: #d4d1c5; }
.footer-widget-col .widget a:hover { color: #fff; }

.footer-widget-col .widget li { border-color: #2e2c28; }

.site-footer__bottom { padding: 1.5rem 0; }

.site-footer__inner {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 1.5rem;
	justify-content: space-between;
	align-items: center;
	font-size: .85rem;
}

.site-footer__copy {
	margin: 0;
	color: #9a9689;
}

.site-footer__custom {
	color: #9a9689;
	margin-bottom: .25rem;
}

.footer-navigation ul,
.social-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 1.25rem;
	flex-wrap: wrap;
}

.footer-navigation a,
.social-navigation a {
	color: #d4d1c5;
	font-size: .82rem;
	text-transform: uppercase;
	letter-spacing: .08em;
	text-decoration: none;
	font-weight: 600;
}

.footer-navigation a:hover,
.social-navigation a:hover { color: #fff; }

/* ==========================================================================
  16. Responsive
  ========================================================================== */
@media (max-width: 960px) {
	body.has-sidebar .main-grid { grid-template-columns: 1fr; gap: 2rem; }
	.widget-area__inner { position: static; }
	.main-grid { gap: 2rem; }
}

@media (max-width: 782px) {
	.site-header__inner {
		flex-wrap: wrap;
		gap: 1rem;
		padding: 1rem 1.5rem;
	}
	.site-branding { text-align: left; flex: 1; }
	.site-title { font-size: 1.5rem; }
	.menu-toggle { display: inline-flex; }

	.main-navigation { display: none; }
	.main-navigation.is-open { display: block; }
	.main-navigation ul { flex-direction: column; }
	.main-navigation li { border-bottom: 1px solid var(--bt-border); }
	.main-navigation a { padding: 1rem 1.5rem; text-align: left; }
	.main-navigation a::after { display: none; }
	.main-navigation ul ul {
		position: static;
		display: block;
		border: none;
		box-shadow: none;
		padding: 0 0 0 1rem;
		background: transparent;
		border-top: none;
	}

	/* Yatay kartlar dikey olur */
	.post-item {
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	.post-item__thumb { aspect-ratio: 16 / 9; }

	article.single-post .entry-title { font-size: 1.75rem; }
	.entry-content { font-size: 1.05rem; }

	.topbar__inner { flex-direction: column; gap: .5rem; padding: .5rem 1.5rem; min-height: 0; }

	.entry-footer { flex-direction: column; align-items: flex-start; }

	.author-box { flex-direction: column; gap: 1rem; }

	.site-footer__inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
	h1 { font-size: 1.65rem; }
	.site-title { font-size: 1.35rem; }
}

/* Reduced 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;
	}
}

/* Print */
@media print {
	.site-header, .site-footer, .widget-area, .breadcrumbs-wrap,
	.entry-share, .post-item__cta, .toc, .reading-progress, .topbar {
		display: none !important;
	}
	body { background: #fff; }
	article.single-post { padding: 0; }
}
