/**
 * BetBrain Africa - Main Stylesheet
 * Açık tonlar, kutu tabanlı düzen, SEO ve hız için optimize edilmiş.
 */

/* ==========================================================================
   0. Tasarım Token'ları
   ========================================================================== */
:root {
	--bb-bg: #f5f7fa;
	--bb-surface: #ffffff;
	--bb-surface-alt: #f8fafc;
	--bb-border: #e5e9f0;
	--bb-border-strong: #d4dae3;

	--bb-text: #0f172a;
	--bb-text-muted: #64748b;
	--bb-text-soft: #94a3b8;

	--bb-accent: #059669;
	--bb-accent-hover: #047857;
	--bb-accent-soft: #ecfdf5;
	--bb-gold: #f59e0b;
	--bb-gold-soft: #fffbeb;
	--bb-danger: #dc2626;

	--bb-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
	--bb-shadow: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
	--bb-shadow-md: 0 4px 16px rgba(15, 23, 42, 0.06), 0 2px 4px rgba(15, 23, 42, 0.04);
	--bb-shadow-lg: 0 10px 30px rgba(15, 23, 42, 0.08);

	--bb-radius-sm: 6px;
	--bb-radius: 10px;
	--bb-radius-lg: 16px;
	--bb-radius-pill: 999px;

	--bb-container: 1200px;
	--bb-gap: 1.5rem;
	--bb-gap-lg: 2rem;

	--bb-font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
	--bb-font-heading: var(--bb-font-sans);
	--bb-font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* ==========================================================================
   1. Sıfırlama ve Taban
   ========================================================================== */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	/* Kısa sayfalarda (anasayfa) çubuk çıkmazken, uzun sayfalarda (tek yazı)
	   çıktığında ortaya çıkan layout shift'i engeller — header/footer her sayfada
	   aynı genişlikte görünür. */
	scrollbar-gutter: stable;
}

/* Modern olmayan tarayıcılar için yedek: kaydırma çubuğunu her zaman göster. */
@supports not (scrollbar-gutter: stable) {
	html { overflow-y: scroll; }
}

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

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

img {
	border-radius: inherit;
}

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

a:hover,
a:focus {
	color: var(--bb-accent-hover);
	text-decoration: underline;
}

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

h1, h2, h3, h4, h5, h6 {
	font-family: var(--bb-font-heading);
	line-height: 1.25;
	color: var(--bb-text);
	margin: 0 0 .75em;
	font-weight: 700;
	letter-spacing: -.01em;
}

h1 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }
h5 { font-size: 1rem; }
h6 { font-size: .95rem; text-transform: uppercase; letter-spacing: .05em; color: var(--bb-text-muted); }

p {
	margin: 0 0 1em;
}

ul, ol {
	margin: 0 0 1em;
	padding-left: 1.25em;
}

li { margin-bottom: .35em; }

blockquote {
	margin: 1.5em 0;
	padding: 1rem 1.25rem;
	border-left: 4px solid var(--bb-accent);
	background: var(--bb-accent-soft);
	border-radius: 0 var(--bb-radius) var(--bb-radius) 0;
	color: var(--bb-text);
	font-style: italic;
}

code, pre, kbd {
	font-family: var(--bb-font-mono);
	font-size: .9em;
}

code {
	padding: .15em .4em;
	background: var(--bb-surface-alt);
	border: 1px solid var(--bb-border);
	border-radius: var(--bb-radius-sm);
}

pre {
	overflow: auto;
	padding: 1rem 1.25rem;
	background: #0f172a;
	color: #e2e8f0;
	border-radius: var(--bb-radius);
	margin: 1.5em 0;
}

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

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

table {
	width: 100%;
	border-collapse: collapse;
	margin: 1.5em 0;
	background: var(--bb-surface);
	border-radius: var(--bb-radius);
	overflow: hidden;
	box-shadow: var(--bb-shadow-sm);
}

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

th {
	background: var(--bb-surface-alt);
	font-weight: 600;
	color: var(--bb-text);
}

tr:last-child td { border-bottom: none; }

figure { margin: 1.5em 0; }

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

/* WP Core */
.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(--bb-text);
	color: #fff;
	border-radius: var(--bb-radius);
}

.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; }

.wp-caption {
	max-width: 100%;
	margin-bottom: 1.5rem;
}

.wp-caption-text {
	font-size: .875rem;
	color: var(--bb-text-muted);
	text-align: center;
	margin-top: .5rem;
}

/* ==========================================================================
   2. Ortak Bileşenler
   ========================================================================== */
.container {
	width: 100%;
	max-width: var(--bb-container);
	margin: 0 auto;
	padding: 0 1.25rem;
}

.card {
	background: var(--bb-surface);
	border: 1px solid var(--bb-border);
	border-radius: var(--bb-radius-lg);
	padding: 1.5rem;
	box-shadow: var(--bb-shadow);
	transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}

.section-title {
	font-size: 1.25rem;
	margin: 0 0 1rem;
	padding-bottom: .5rem;
	border-bottom: 2px solid var(--bb-border);
	position: relative;
}

.section-title::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: -2px;
	width: 48px;
	height: 2px;
	background: var(--bb-accent);
}

/* Buton */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	padding: .7rem 1.2rem;
	border-radius: var(--bb-radius);
	font-weight: 600;
	font-size: .95rem;
	line-height: 1.2;
	border: 1px solid transparent;
	cursor: pointer;
	text-decoration: none;
	transition: all .15s ease;
	white-space: nowrap;
}

.btn:hover,
.btn:focus {
	text-decoration: none;
	transform: translateY(-1px);
}

.btn--primary {
	background: var(--bb-accent);
	color: #fff;
	box-shadow: 0 4px 14px rgba(5, 150, 105, 0.25);
}

.btn--primary:hover,
.btn--primary:focus {
	background: var(--bb-accent-hover);
	color: #fff;
	box-shadow: 0 6px 20px rgba(5, 150, 105, 0.35);
}

.btn--ghost {
	background: var(--bb-surface);
	color: var(--bb-text);
	border-color: var(--bb-border-strong);
}

.btn--ghost:hover,
.btn--ghost:focus {
	background: var(--bb-surface-alt);
	color: var(--bb-accent);
	border-color: var(--bb-accent);
}

.btn--lg {
	padding: .9rem 1.75rem;
	font-size: 1rem;
}

/* Breadcrumbs */
.breadcrumbs-wrap {
	padding: 1rem 0 0;
}

.breadcrumbs {
	font-size: .875rem;
	color: var(--bb-text-muted);
}

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

.breadcrumbs__item {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	margin: 0;
}

.breadcrumbs__item a {
	color: var(--bb-text-muted);
}

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

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

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

/* Rating (yıldız) */
.rating {
	display: inline-flex;
	align-items: center;
	gap: .1rem;
	font-size: 1rem;
}

.rating__star {
	color: var(--bb-gold);
	font-size: 1.1em;
	line-height: 1;
}

.rating__star--empty {
	color: var(--bb-border-strong);
}

.rating__star--half {
	background: linear-gradient(90deg, var(--bb-gold) 50%, var(--bb-border-strong) 50%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.rating__num {
	margin-left: .5rem;
	font-weight: 600;
	color: var(--bb-text);
	font-size: .9em;
}

/* ==========================================================================
   3. Site Başlığı
   ========================================================================== */
.site-header {
	background: var(--bb-surface);
	border-bottom: 1px solid var(--bb-border);
	position: sticky;
	top: 0;
	z-index: 100;
	box-shadow: var(--bb-shadow-sm);
}

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	padding: .9rem 1.25rem;
}

.site-branding {
	flex: 0 0 auto;
}

.site-title {
	font-size: 1.35rem;
	font-weight: 800;
	margin: 0;
	line-height: 1.2;
	letter-spacing: -.02em;
}

.site-title a {
	color: var(--bb-text);
}

.site-title a:hover {
	color: var(--bb-accent);
	text-decoration: none;
}

.site-description {
	margin: 0;
	font-size: .8rem;
	color: var(--bb-text-muted);
}

.site-logo img {
	max-height: 44px;
	width: auto;
}

/* Ana menü */
.main-navigation {
	flex: 1 1 auto;
}

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

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

.main-navigation a {
	display: block;
	padding: .6rem .9rem;
	color: var(--bb-text);
	font-weight: 500;
	font-size: .95rem;
	border-radius: var(--bb-radius);
	transition: all .15s ease;
}

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

.main-navigation ul ul {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	background: var(--bb-surface);
	border: 1px solid var(--bb-border);
	border-radius: var(--bb-radius);
	padding: .35rem;
	box-shadow: var(--bb-shadow-lg);
	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: .5rem .75rem;
	font-size: .9rem;
}

/* Mobil menü butonu */
.menu-toggle {
	display: none;
	background: transparent;
	border: 1px solid var(--bb-border-strong);
	border-radius: var(--bb-radius);
	padding: .5rem;
	cursor: pointer;
	width: 44px;
	height: 40px;
	align-items: center;
	justify-content: center;
}

.menu-toggle__lines,
.menu-toggle__lines::before,
.menu-toggle__lines::after {
	display: block;
	width: 20px;
	height: 2px;
	background: var(--bb-text);
	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); }

/* Başlık eylemleri */
.header-actions {
	display: flex;
	align-items: center;
	gap: .5rem;
}

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

.search-toggle:hover {
	background: var(--bb-accent-soft);
	border-color: var(--bb-accent);
	color: var(--bb-accent);
}

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

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

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

/* ==========================================================================
   4. Ana İçerik Izgarası
   ========================================================================== */
.site-main {
	padding: 1.5rem 0 3rem;
}

.main-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--bb-gap-lg);
}

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

.content-area {
	min-width: 0;
}

.widget-area {
	min-width: 0;
}

/* ==========================================================================
   5. Sayfa Başlıkları ve Özellik Alanları
   ========================================================================== */
.page-header.archive-header {
	background: var(--bb-surface);
	border: 1px solid var(--bb-border);
	border-radius: var(--bb-radius-lg);
	padding: 2rem 1.75rem;
	margin-bottom: 1.5rem;
	box-shadow: var(--bb-shadow);
	position: relative;
	overflow: hidden;
}

.page-header.archive-header::before {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	width: 200px;
	height: 200px;
	background: radial-gradient(circle at top right, var(--bb-accent-soft), transparent 70%);
	pointer-events: none;
}

.page-header .page-title {
	margin: 0 0 .5rem;
	position: relative;
}

.archive-description {
	color: var(--bb-text-muted);
	max-width: 680px;
	margin: 0;
	position: relative;
}

/* ==========================================================================
   6. Yazı Kartları (Blog Listesi)
   ========================================================================== */
.posts-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: var(--bb-gap);
}

.posts-grid--small {
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.post-card {
	padding: 0;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.post-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--bb-shadow-md);
	border-color: var(--bb-border-strong);
}

.post-card__thumb {
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--bb-surface-alt);
}

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

.post-card:hover .post-card__thumb img {
	transform: scale(1.04);
}

.post-card__sticky {
	position: absolute;
	top: .75rem;
	left: .75rem;
	background: var(--bb-gold);
	color: #fff;
	font-size: .75rem;
	font-weight: 700;
	padding: .25rem .6rem;
	border-radius: var(--bb-radius-pill);
	text-transform: uppercase;
	letter-spacing: .03em;
}

.post-card__body {
	padding: 1.25rem 1.5rem 1.5rem;
	display: flex;
	flex-direction: column;
	gap: .65rem;
	flex: 1 1 auto;
}

.entry-cats,
.post-card__type {
	display: flex;
	flex-wrap: wrap;
	gap: .4rem;
}

.entry-cat-badge,
.post-card__type {
	display: inline-flex;
	align-items: center;
	font-size: .7rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
	padding: .25rem .6rem;
	background: var(--bb-accent-soft);
	color: var(--bb-accent);
	border-radius: var(--bb-radius-pill);
	text-decoration: none;
}

.entry-cat-badge:hover {
	background: var(--bb-accent);
	color: #fff;
	text-decoration: none;
}

.post-card__title {
	font-size: 1.2rem;
	line-height: 1.35;
	margin: 0;
}

.post-card__title a {
	color: var(--bb-text);
}

.post-card__title a:hover {
	color: var(--bb-accent);
	text-decoration: none;
}

.post-card__excerpt {
	color: var(--bb-text-muted);
	margin: 0;
	font-size: .94rem;
	line-height: 1.6;
}

.post-card__meta {
	font-size: .82rem;
	color: var(--bb-text-muted);
	display: flex;
	flex-wrap: wrap;
	gap: .4rem;
	align-items: center;
	margin-top: auto;
	padding-top: .25rem;
}

.post-card__meta .meta-sep {
	color: var(--bb-text-soft);
}

.post-card__cta {
	display: inline-flex;
	align-items: center;
	gap: .35rem;
	font-weight: 600;
	font-size: .9rem;
	color: var(--bb-accent);
	margin-top: .25rem;
}

.post-card__cta:hover {
	gap: .55rem;
	text-decoration: none;
}

/* ==========================================================================
   7. Tek Yazı (single.php)
   ========================================================================== */
/* 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,
article.page-entry {
	padding: 2rem 2rem 2.25rem;
	margin-bottom: 1.5rem;
}

article.single-post .entry-header,
article.page-entry .entry-header {
	margin-bottom: 1.5rem;
}

article.single-post .entry-title {
	margin: .5rem 0 .75rem;
}

.entry-lede {
	font-size: 1.125rem;
	color: var(--bb-text-muted);
	line-height: 1.6;
	margin: 0 0 1rem;
}

.entry-meta {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	align-items: center;
	color: var(--bb-text-muted);
	font-size: .88rem;
	margin-top: .75rem;
}

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

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

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

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

.entry-content {
	font-size: 1.02rem;
	line-height: 1.75;
	color: var(--bb-text);
}

.entry-content > * { max-width: 780px; 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.25rem;
	padding-top: 0;
	font-size: 1.6rem;
}

.entry-content h3 {
	margin-top: 2rem;
	font-size: 1.3rem;
}

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

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

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

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

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

.entry-tags__label {
	font-weight: 600;
	color: var(--bb-text-muted);
	margin-right: .25rem;
}

.entry-tag {
	display: inline-flex;
	padding: .25rem .65rem;
	background: var(--bb-surface-alt);
	border: 1px solid var(--bb-border);
	color: var(--bb-text-muted);
	border-radius: var(--bb-radius-pill);
	font-size: .8rem;
	text-decoration: none;
}

.entry-tag:hover {
	background: var(--bb-accent-soft);
	color: var(--bb-accent);
	border-color: var(--bb-accent);
	text-decoration: none;
}

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

.entry-share__label {
	font-weight: 600;
	color: var(--bb-text-muted);
	font-size: .875rem;
	margin-right: .25rem;
}

.entry-share__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--bb-surface-alt);
	border: 1px solid var(--bb-border);
	color: var(--bb-text);
	font-weight: 700;
	font-size: .8rem;
	text-decoration: none;
	transition: all .15s ease;
}

.entry-share__link:hover {
	background: var(--bb-accent);
	border-color: var(--bb-accent);
	color: #fff;
	transform: translateY(-2px);
	text-decoration: none;
}

/* Yazar kutusu */
.author-box {
	display: flex;
	gap: 1.25rem;
	align-items: flex-start;
	padding: 1.5rem;
	background: var(--bb-surface);
	border: 1px solid var(--bb-border);
	border-radius: var(--bb-radius-lg);
	box-shadow: var(--bb-shadow);
	margin-bottom: 1.5rem;
}

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

.author-box__name {
	margin: 0 0 .25rem;
	font-size: 1.1rem;
}

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

/* İlgili yazılar */
.related-posts {
	margin-top: 1rem;
}

.related-posts .section-title {
	margin-bottom: 1.25rem;
}

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

.related-posts .post-card__title { font-size: 1rem; }
.related-posts .post-card__body { padding: 1rem 1.1rem 1.1rem; }

/* ==========================================================================
   8. Bookmaker (Bahis Sitesi) Kartları
   ========================================================================== */
.bookmakers-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: var(--bb-gap);
}

.bookmaker-card {
	display: flex;
	flex-direction: column;
	padding: 1.5rem;
	gap: 1rem;
	position: relative;
}

.bookmaker-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--bb-shadow-md);
	border-color: var(--bb-accent);
}

.bookmaker-card__top {
	display: flex;
	gap: 1rem;
	align-items: center;
}

.bookmaker-card__logo {
	flex: 0 0 64px;
	width: 64px;
	height: 64px;
	border-radius: var(--bb-radius);
	background: var(--bb-surface-alt);
	border: 1px solid var(--bb-border);
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.bookmaker-card__logo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: .5rem;
}

.bookmaker-card__title {
	margin: 0 0 .25rem;
	font-size: 1.15rem;
}

.bookmaker-card__title a {
	color: var(--bb-text);
	text-decoration: none;
}

.bookmaker-card__title a:hover { color: var(--bb-accent); }

.bookmaker-card__body {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: .5rem 1rem;
}

.bookmaker-card__bonus,
.bookmaker-card__meta-item {
	display: flex;
	flex-direction: column;
	gap: .1rem;
	padding: .6rem .75rem;
	background: var(--bb-surface-alt);
	border-radius: var(--bb-radius);
	border: 1px solid var(--bb-border);
}

.bookmaker-card__bonus {
	background: var(--bb-gold-soft);
	border-color: #fde68a;
}

.bookmaker-card__label {
	font-size: .7rem;
	text-transform: uppercase;
	letter-spacing: .05em;
	color: var(--bb-text-muted);
	font-weight: 600;
}

.bookmaker-card__bonus strong,
.bookmaker-card__meta-item strong {
	font-size: .95rem;
	color: var(--bb-text);
}

.bookmaker-card__excerpt {
	grid-column: 1 / -1;
	font-size: .9rem;
	color: var(--bb-text-muted);
	margin: 0;
}

.bookmaker-card__actions {
	display: flex;
	gap: .5rem;
	margin-top: auto;
}

.bookmaker-card__actions .btn {
	flex: 1 1 auto;
}

/* Tek bookmaker */
.bookmaker-single {
	padding: 2rem;
	margin-bottom: 1.5rem;
}

.bookmaker-single__header {
	display: flex;
	flex-wrap: wrap;
	gap: 1.25rem;
	align-items: center;
	padding-bottom: 1.5rem;
	border-bottom: 1px solid var(--bb-border);
	margin-bottom: 1.5rem;
}

.bookmaker-single__logo {
	width: 96px;
	height: 96px;
	flex: 0 0 auto;
	margin: 0;
	border-radius: var(--bb-radius);
	background: var(--bb-surface-alt);
	border: 1px solid var(--bb-border);
	overflow: hidden;
	padding: .5rem;
}

.bookmaker-single__logo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.bookmaker-single__headline {
	flex: 1 1 auto;
	min-width: 200px;
}

.bookmaker-single__headline .entry-title { margin: 0 0 .5rem; }

.bookmaker-single__facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: .75rem;
	margin-bottom: 1.5rem;
}

.fact {
	background: var(--bb-surface-alt);
	border: 1px solid var(--bb-border);
	border-radius: var(--bb-radius);
	padding: .85rem 1rem;
}

.fact__label {
	display: block;
	font-size: .72rem;
	text-transform: uppercase;
	letter-spacing: .05em;
	color: var(--bb-text-muted);
	font-weight: 600;
	margin-bottom: .2rem;
}

.fact__value {
	font-size: 1.05rem;
	color: var(--bb-text);
}

.pros-cons {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 1rem;
	margin-bottom: 2rem;
}

.pros-cons__col {
	padding: 1.25rem;
	border-radius: var(--bb-radius);
	border: 1px solid var(--bb-border);
	background: var(--bb-surface-alt);
}

.pros-cons__col--pros {
	background: var(--bb-accent-soft);
	border-color: #a7f3d0;
}

.pros-cons__col--cons {
	background: #fef2f2;
	border-color: #fecaca;
}

.pros-cons__title {
	margin: 0 0 .75rem;
	font-size: 1rem;
	color: var(--bb-text);
}

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

.pros-cons__col li {
	padding-left: 1.5rem;
	position: relative;
	margin-bottom: .4rem;
	font-size: .94rem;
	color: var(--bb-text);
}

.pros-cons__col--pros li::before {
	content: '✓';
	position: absolute;
	left: 0;
	top: 0;
	color: var(--bb-accent);
	font-weight: 700;
}

.pros-cons__col--cons li::before {
	content: '✕';
	position: absolute;
	left: 0;
	top: 0;
	color: var(--bb-danger);
	font-weight: 700;
}

.bookmaker-single__cta {
	text-align: center;
	padding: 1.75rem 1rem;
	margin-top: 2rem;
	background: linear-gradient(135deg, var(--bb-accent-soft), #fffbeb);
	border-radius: var(--bb-radius-lg);
	border: 1px solid var(--bb-border);
}

/* ==========================================================================
   9. Kenar Çubuğu (Widgets)
   ========================================================================== */
.widget-area .widget {
	background: var(--bb-surface);
	border: 1px solid var(--bb-border);
	border-radius: var(--bb-radius-lg);
	padding: 1.25rem 1.5rem;
	box-shadow: var(--bb-shadow-sm);
	margin-bottom: 1.25rem;
}

.widget-title {
	font-size: 1rem;
	margin: 0 0 1rem;
	padding-bottom: .5rem;
	border-bottom: 2px solid var(--bb-border);
	position: relative;
}

.widget-title::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: -2px;
	width: 40px;
	height: 2px;
	background: var(--bb-accent);
}

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

.widget li {
	padding: .45rem 0;
	border-bottom: 1px solid var(--bb-border);
	font-size: .94rem;
}

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

.widget a {
	color: var(--bb-text);
}

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

/* Arama formu */
.search-form {
	display: flex;
	gap: .5rem;
	align-items: stretch;
}

.search-field {
	flex: 1 1 auto;
	padding: .65rem .85rem;
	border: 1px solid var(--bb-border-strong);
	border-radius: var(--bb-radius);
	font-size: .95rem;
	background: var(--bb-surface);
	color: var(--bb-text);
	font-family: inherit;
}

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

.search-submit {
	padding: .65rem 1.1rem;
	background: var(--bb-accent);
	color: #fff;
	border: none;
	border-radius: var(--bb-radius);
	cursor: pointer;
	font-weight: 600;
	font-size: .95rem;
}

.search-submit:hover {
	background: var(--bb-accent-hover);
}

/* ==========================================================================
  10. Sayfalama
  ========================================================================== */
.navigation.pagination {
	margin-top: 2rem;
}

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

.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 .75rem;
	background: var(--bb-surface);
	border: 1px solid var(--bb-border);
	border-radius: var(--bb-radius);
	color: var(--bb-text);
	font-weight: 500;
	text-decoration: none;
	transition: all .15s ease;
}

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

.page-numbers.dots {
	background: transparent;
	border: none;
}

/* ==========================================================================
  11. Yorumlar
  ========================================================================== */
.comments-area {
	padding: 2rem;
	margin-top: 1.5rem;
}

.comments-title {
	font-size: 1.25rem;
	margin: 0 0 1.25rem;
}

.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(--bb-border);
	padding-left: 1.25rem;
}

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

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

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

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

.reply a {
	font-size: .85rem;
	font-weight: 600;
}

.comment-form label {
	display: block;
	font-weight: 600;
	margin-bottom: .4rem;
	font-size: .9rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: .65rem .85rem;
	border: 1px solid var(--bb-border-strong);
	border-radius: var(--bb-radius);
	background: var(--bb-surface);
	font-family: inherit;
	font-size: .95rem;
	color: var(--bb-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(--bb-accent);
	box-shadow: 0 0 0 3px var(--bb-accent-soft);
}

.form-submit .submit {
	padding: .7rem 1.4rem;
	background: var(--bb-accent);
	color: #fff;
	border: none;
	border-radius: var(--bb-radius);
	font-weight: 600;
	cursor: pointer;
	font-size: .95rem;
	transition: all .15s ease;
}

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

/* ==========================================================================
  12. Alt Bilgi
  ========================================================================== */
.site-footer {
	background: #0f172a;
	color: #cbd5e1;
	margin-top: 3rem;
}

.site-footer__widgets {
	padding: 3rem 0 1.5rem;
}

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

.footer-widget-col .widget {
	background: transparent;
	border: none;
	box-shadow: none;
	padding: 0;
	margin-bottom: 0;
}

.footer-widget-col .widget-title {
	color: #fff;
	border-bottom: 2px solid #1e293b;
	padding-bottom: .5rem;
}

.footer-widget-col .widget-title::after { background: var(--bb-accent); }

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

.footer-widget-col .widget li { border-color: #1e293b; }

.site-footer__bottom {
	border-top: 1px solid #1e293b;
	padding: 1.25rem 0;
}

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

.site-footer__copy {
	margin: 0;
	color: #94a3b8;
}

.site-footer__custom {
	color: #94a3b8;
	margin-bottom: .25rem;
}

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

.footer-navigation a,
.social-navigation a {
	color: #cbd5e1;
	font-size: .875rem;
}

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

/* ==========================================================================
   7.5. Görsel Placeholder (öne çıkan görsel yoksa ilk 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, #059669) 0%, var(--ph-c2, #10b981) 100%);
	overflow: hidden;
	isolation: isolate;
}

/* Blog kartı içinde thumb 16:9 oranını korur */
.post-card__thumb .post-placeholder {
	aspect-ratio: 16 / 9;
}

.post-placeholder__letter {
	position: relative;
	z-index: 3;
	font-family: var(--bb-font-heading);
	font-weight: 900;
	color: #fff;
	line-height: 1;
	letter-spacing: -.04em;
	text-shadow: 0 4px 24px rgba(0, 0, 0, .18), 0 2px 6px rgba(0, 0, 0, .12);
	user-select: none;
	/* Kart içinde büyük, diğer yerlerde küçülebilir */
	font-size: clamp(3rem, 8vw, 5.5rem);
}

.post-placeholder__shape {
	position: absolute;
	z-index: 1;
	border-radius: 50%;
	pointer-events: none;
}

.post-placeholder__shape--1 {
	width: 55%;
	padding-top: 55%;
	height: 0;
	top: -18%;
	right: -18%;
	background: rgba(255, 255, 255, .14);
}

.post-placeholder__shape--2 {
	width: 38%;
	padding-top: 38%;
	height: 0;
	bottom: -15%;
	left: -10%;
	background: rgba(255, 255, 255, .08);
}

.post-placeholder__shape--3 {
	width: 18%;
	padding-top: 18%;
	height: 0;
	top: 18%;
	left: 10%;
	background: rgba(255, 255, 255, .10);
	border-radius: 50%;
}

/* İnce diagonal gloss */
.post-placeholder::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 2;
	background: linear-gradient(160deg, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, 0) 45%);
	pointer-events: none;
}

/* Hover üzerinde harfte hafif ölçek */
.post-card:hover .post-placeholder__letter {
	transform: scale(1.04);
	transition: transform .4s ease;
}

/* Bookmaker logosu kare, küçük */
.post-placeholder--logo {
	border-radius: inherit;
}

.post-placeholder--logo .post-placeholder__letter {
	font-size: clamp(1.5rem, 3.5vw, 2.25rem);
}

.post-placeholder--logo .post-placeholder__shape--3 {
	display: none;
}

/* İlgili yazılar içinde daha kompakt */
.related-posts__grid .post-placeholder__letter {
	font-size: clamp(2.5rem, 6vw, 4rem);
}

/* Bookmaker card'daki logo kutusu — placeholder tam doldurmak için padding sıfırla */
.bookmaker-card__logo--empty,
.bookmaker-single__logo--empty {
	padding: 0 !important;
	border: none !important;
	background: transparent !important;
}

.bookmaker-card__logo--empty .post-placeholder,
.bookmaker-single__logo--empty .post-placeholder {
	border-radius: var(--bb-radius);
}

/* ==========================================================================
  13. Duyarlı (Responsive)
  ========================================================================== */
@media (max-width: 960px) {
	body.has-sidebar .main-grid { grid-template-columns: 1fr; }
}

@media (max-width: 782px) {
	.site-header__inner {
		flex-wrap: wrap;
		gap: .75rem;
	}

	.menu-toggle {
		display: inline-flex;
		order: 3;
		margin-left: auto;
	}

	.header-actions { order: 2; }

	.main-navigation {
		order: 4;
		flex: 0 0 100%;
		display: none;
	}

	.main-navigation.is-open { display: block; }

	.main-navigation ul {
		flex-direction: column;
		gap: .25rem;
		padding: .5rem 0;
		border-top: 1px solid var(--bb-border);
		margin-top: .5rem;
	}

	.main-navigation ul ul {
		position: static;
		display: block;
		border: none;
		box-shadow: none;
		padding-left: 1rem;
		background: transparent;
	}

	article.single-post,
	article.page-entry,
	.bookmaker-single,
	.comments-area {
		padding: 1.5rem 1.25rem;
	}

	.page-header.archive-header { padding: 1.5rem 1.25rem; }

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

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

@media (max-width: 480px) {
	h1 { font-size: 1.6rem; }
	.posts-grid { grid-template-columns: 1fr; }
	.bookmakers-grid { grid-template-columns: 1fr; }
	.bookmaker-card__body { grid-template-columns: 1fr; }
}

/* Azaltılmış hareket tercihi */
@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-card__cta,
	.bookmaker-card__actions,
	.bookmaker-single__cta {
		display: none !important;
	}
	article.single-post, article.page-entry { box-shadow: none; border: none; padding: 0; }
	body { background: #fff; }
}
