/*
Theme Name: Starzbet Blog
Theme URI: https://example.com/starzbet-blog
Author: Starzbet Blog
Description: Hızlı, SEO odaklı bahis bilgi blogu teması. Marka adı kurulumda seçilir; 30 marka yazısı (nedir, giriş, yatırım bonusları…) yayınlanır, 120 rehber yazısı 30 gün × günde 4 zamanlanır. Hazır Türkçe içerik, otomatik stok görsel (Pexels / Unsplash / Openverse), dahili XML + görsel + haber site haritası ve dahili AMP sürümü içerir.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: starzbet
Tags: blog, news, two-columns, right-sidebar, custom-menu, featured-images, translation-ready
*/

:root {
	--sb-bg: #0b1020;
	--sb-surface: #121a31;
	--sb-surface-2: #18223f;
	--sb-line: #24304f;
	--sb-text: #e7ebf5;
	--sb-muted: #9aa5c0;
	--sb-accent: #ffc233;
	--sb-accent-2: #ff8a00;
	--sb-link: #ffd36b;
	--sb-radius: 14px;
	--sb-max: 1180px;
	--sb-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--sb-serif: "Merriweather", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--sb-bg);
	color: var(--sb-text);
	font-family: var(--sb-font);
	font-size: 17px;
	line-height: 1.7;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sb-link); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--sb-accent); outline-offset: 2px; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus {
	position: fixed; top: 8px; left: 8px; z-index: 999; width: auto; height: auto; clip: auto;
	background: var(--sb-accent); color: #111; padding: 8px 14px; border-radius: 8px;
}
.sb-wrap { max-width: var(--sb-max); margin: 0 auto; padding: 0 16px; }

/* Top bar + header */
.sb-topbar {
	background: #070b17; color: var(--sb-muted); font-size: 13px;
	border-bottom: 1px solid var(--sb-line);
}
.sb-topbar .sb-wrap { display: flex; justify-content: space-between; gap: 12px; padding-top: 6px; padding-bottom: 6px; }
.sb-badge18 {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 30px; height: 22px; border-radius: 11px; padding: 0 6px;
	border: 1px solid var(--sb-accent); color: var(--sb-accent); font-weight: 700; font-size: 12px;
}
.sb-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(11, 16, 32, .92); backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--sb-line);
}
.sb-header .sb-wrap { display: flex; align-items: center; gap: 20px; min-height: 66px; }
.sb-logo { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 22px; color: #fff; letter-spacing: -.02em; }
.sb-logo:hover { text-decoration: none; }
.sb-logo .sb-star { color: var(--sb-accent); }
.sb-logo small { font-weight: 500; font-size: 13px; color: var(--sb-muted); }
.sb-logo img { max-height: 44px; width: auto; }
.sb-nav { margin-left: auto; }
.sb-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.sb-nav a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--sb-text); font-weight: 500; font-size: 15px; }
.sb-nav a:hover, .sb-nav .current-menu-item > a { background: var(--sb-surface-2); text-decoration: none; }
.sb-cta {
	display: inline-flex; align-items: center; gap: 6px; padding: 10px 18px; border-radius: 999px;
	background: linear-gradient(135deg, var(--sb-accent), var(--sb-accent-2)); color: #1a1200 !important;
	font-weight: 700; font-size: 15px; white-space: nowrap;
}
.sb-cta:hover { text-decoration: none; filter: brightness(1.06); }
.sb-menu-toggle {
	display: none; margin-left: auto; background: var(--sb-surface-2); color: var(--sb-text);
	border: 1px solid var(--sb-line); border-radius: 8px; padding: 8px 12px; font: inherit; cursor: pointer;
}

/* Layout */
.sb-main { padding: 28px 0 56px; }
.sb-grid-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 36px; }
.sb-section-title { font-size: 22px; margin: 0 0 18px; display: flex; align-items: center; gap: 10px; }
.sb-section-title::before { content: ""; width: 6px; height: 22px; border-radius: 3px; background: var(--sb-accent); }

/* Hero */
.sb-hero { display: grid; grid-template-columns: 1.6fr 1fr; gap: 18px; margin-bottom: 36px; }
.sb-hero-side { display: grid; gap: 18px; }
.sb-hero-card { position: relative; border-radius: var(--sb-radius); overflow: hidden; background: var(--sb-surface); min-height: 220px; }
.sb-hero-card img, .sb-hero-card .sb-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sb-hero-card .sb-hero-body {
	position: absolute; inset: auto 0 0 0; padding: 22px;
	background: linear-gradient(to top, rgba(5, 8, 18, .95), rgba(5, 8, 18, 0));
}
.sb-hero-card h2, .sb-hero-card h3 { margin: 6px 0 0; line-height: 1.25; }
.sb-hero-card h2 { font-size: 30px; }
.sb-hero-card h3 { font-size: 19px; }
.sb-hero-card a { color: #fff; }
.sb-hero-main { min-height: 460px; }

/* Cards */
.sb-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.sb-card {
	background: var(--sb-surface); border: 1px solid var(--sb-line); border-radius: var(--sb-radius);
	overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, border-color .2s;
}
.sb-card:hover { transform: translateY(-3px); border-color: #34446e; }
.sb-card-thumb { aspect-ratio: 16 / 9; overflow: hidden; background: var(--sb-surface-2); position: relative; }
.sb-card-thumb img, .sb-card-thumb .sb-ph { width: 100%; height: 100%; object-fit: cover; }
.sb-card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.sb-card h2, .sb-card h3 { font-size: 19px; line-height: 1.35; margin: 0; }
.sb-card h2 a, .sb-card h3 a { color: var(--sb-text); }
.sb-card p { margin: 0; color: var(--sb-muted); font-size: 15px; }
.sb-cat {
	display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
	color: var(--sb-accent);
}
.sb-meta { font-size: 13px; color: var(--sb-muted); display: flex; flex-wrap: wrap; gap: 6px 14px; }
.sb-ph {
	display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.85);
	font-size: 42px; font-weight: 800; letter-spacing: -.03em;
	background: radial-gradient(circle at 20% 20%, #2a3a6e, transparent 60%), linear-gradient(135deg, #1b2547, #3a2410);
}

/* Pagination */
.sb-pagination { margin-top: 32px; }
.sb-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.sb-pagination .page-numbers {
	padding: 8px 14px; border-radius: 8px; background: var(--sb-surface); border: 1px solid var(--sb-line); color: var(--sb-text);
}
.sb-pagination .current { background: var(--sb-accent); color: #111; border-color: var(--sb-accent); }

/* Single */
.sb-breadcrumbs { font-size: 14px; color: var(--sb-muted); margin-bottom: 14px; }
.sb-breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.sb-breadcrumbs li + li::before { content: "›"; margin-right: 6px; color: var(--sb-line); }
.sb-article-header h1 { font-size: 38px; line-height: 1.2; margin: 6px 0 14px; letter-spacing: -.02em; }
.sb-article-thumb { margin: 22px 0 8px; border-radius: var(--sb-radius); overflow: hidden; }
.sb-article-thumb img { width: 100%; }
.sb-credit { font-size: 12px; color: var(--sb-muted); margin: 0 0 24px; }
.sb-credit a { color: var(--sb-muted); text-decoration: underline; }
.sb-content { font-size: 18px; }
.sb-content h2 { font-size: 27px; line-height: 1.3; margin: 1.8em 0 .6em; }
.sb-content h3 { font-size: 21px; margin: 1.5em 0 .5em; }
.sb-content p { margin: 0 0 1.15em; }
.sb-content ul, .sb-content ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.sb-content li { margin-bottom: .4em; }
.sb-content blockquote {
	margin: 1.6em 0; padding: 16px 22px; border-left: 4px solid var(--sb-accent);
	background: var(--sb-surface); border-radius: 0 var(--sb-radius) var(--sb-radius) 0; font-style: italic;
}
.sb-content table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 16px; display: block; overflow-x: auto; }
.sb-content th, .sb-content td { padding: 10px 12px; border: 1px solid var(--sb-line); text-align: left; }
.sb-content th { background: var(--sb-surface-2); }
.sb-content a { text-decoration: underline; }
.sb-toc {
	background: var(--sb-surface); border: 1px solid var(--sb-line); border-radius: var(--sb-radius);
	padding: 16px 20px; margin: 0 0 28px;
}
.sb-toc summary { cursor: pointer; font-weight: 700; }
.sb-toc ol { margin: 10px 0 0; padding-left: 1.2em; font-size: 15px; }
.sb-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0; }
.sb-tags a {
	font-size: 13px; padding: 5px 12px; border-radius: 999px; background: var(--sb-surface-2);
	border: 1px solid var(--sb-line); color: var(--sb-text);
}
.sb-rg-box {
	margin: 32px 0; padding: 18px 20px; border-radius: var(--sb-radius);
	background: rgba(255, 194, 51, .07); border: 1px solid rgba(255, 194, 51, .35); font-size: 15px;
}
.sb-related { margin-top: 44px; }
.sb-postnav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.sb-postnav a { display: block; padding: 14px 16px; background: var(--sb-surface); border: 1px solid var(--sb-line); border-radius: var(--sb-radius); color: var(--sb-text); }
.sb-postnav span { display: block; font-size: 12px; color: var(--sb-muted); }
.sb-postnav .next { text-align: right; }

/* Sidebar */
.sb-sidebar .widget {
	background: var(--sb-surface); border: 1px solid var(--sb-line); border-radius: var(--sb-radius);
	padding: 20px; margin-bottom: 22px;
}
.sb-sidebar .widget-title { font-size: 17px; margin: 0 0 12px; }
.sb-sidebar ul { list-style: none; margin: 0; padding: 0; }
.sb-sidebar li { padding: 7px 0; border-bottom: 1px dashed var(--sb-line); font-size: 15px; }
.sb-sidebar li:last-child { border-bottom: 0; }
.sb-mini { display: flex; gap: 12px; align-items: center; }
.sb-mini-thumb { flex: 0 0 72px; height: 54px; border-radius: 8px; overflow: hidden; }
.sb-mini-thumb img, .sb-mini-thumb .sb-ph { width: 100%; height: 100%; object-fit: cover; font-size: 18px; }
.sb-mini a { color: var(--sb-text); line-height: 1.35; }

/* Forms */
.sb-search { display: flex; gap: 8px; }
.sb-search input[type="search"] {
	flex: 1; min-width: 0; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--sb-line);
	background: var(--sb-bg); color: var(--sb-text); font: inherit; font-size: 15px;
}
.sb-search button, .sb-btn, .comment-form input[type="submit"] {
	padding: 10px 16px; border-radius: 10px; border: 0; background: var(--sb-accent); color: #111; font-weight: 700; cursor: pointer; font: inherit;
}
.comment-form textarea, .comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"] {
	width: 100%; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--sb-line); background: var(--sb-surface); color: var(--sb-text); font: inherit;
}
.comment-list { list-style: none; padding: 0; }
.comment-list .comment-body { background: var(--sb-surface); border: 1px solid var(--sb-line); border-radius: var(--sb-radius); padding: 16px; margin-bottom: 14px; }

/* Archive header */
.sb-archive-head {
	background: var(--sb-surface); border: 1px solid var(--sb-line); border-radius: var(--sb-radius);
	padding: 26px; margin-bottom: 26px;
}
.sb-archive-head h1 { margin: 0 0 6px; font-size: 30px; }
.sb-archive-head p { margin: 0; color: var(--sb-muted); }

/* Footer */
.sb-footer { background: #070b17; border-top: 1px solid var(--sb-line); color: var(--sb-muted); font-size: 15px; }
.sb-footer .sb-wrap { padding-top: 40px; padding-bottom: 28px; }
.sb-footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.sb-footer h4 { color: var(--sb-text); margin: 0 0 12px; }
.sb-footer ul { list-style: none; margin: 0; padding: 0; }
.sb-footer li { margin-bottom: 6px; }
.sb-footer a { color: var(--sb-muted); }
.sb-footer-bottom { border-top: 1px solid var(--sb-line); margin-top: 28px; padding-top: 18px; font-size: 13px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

@media (max-width: 1000px) {
	.sb-grid-layout { grid-template-columns: 1fr; }
	.sb-hero { grid-template-columns: 1fr; }
	.sb-hero-main { min-height: 340px; }
	.sb-footer-cols { grid-template-columns: 1fr; }
}
@media (max-width: 780px) {
	body { font-size: 16px; }
	.sb-menu-toggle { display: inline-block; }
	.sb-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--sb-bg); border-bottom: 1px solid var(--sb-line); padding: 10px 16px; }
	.sb-nav.is-open { display: block; }
	.sb-nav ul { flex-direction: column; }
	.sb-header .sb-cta { display: none; }
	.sb-cards { grid-template-columns: 1fr; }
	.sb-article-header h1 { font-size: 29px; }
	.sb-hero-card h2 { font-size: 24px; }
	.sb-content { font-size: 17px; }
	.sb-postnav { grid-template-columns: 1fr; }
	.sb-topbar .sb-hide-m { display: none; }
}
.sb-404-search { max-width: 420px; margin-top: 16px; }
