/*
Theme Name: Milasbet SEO Pro - Multi-Domain Engine
Theme URI: https://milaslink.com/
Author: Milasbet Architecture
Author URI: https://milaslink.com/
Description: Milasbet resmi renk paleti (Gold #f7cc57 & Dark #101010) ile GeneratePress ve AMP standartlarında hazırlanmış, Yoast SEO ve Çoklu Domain tam uyumlu kurumsal tema.
Version: 3.0.0
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 8.0
License: GPL v2 or later
Text Domain: milasbet-seo-pro
*/

:root {
	--brand-black: #0c0c0c;
	--brand-dark: #121212;
	--brand-surface: #181818;
	--brand-surface-card: #1c1c1c;
	--brand-charcoal: #242424;
	--brand-gold: #f7cc57;
	--brand-gold-hover: #e5b23f;
	--brand-gold-gradient: linear-gradient(180deg, #fff0bf 0%, #f7cc57 55%, #e5b23f 100%);
	--brand-gold-gradient-hover: linear-gradient(180deg, #ffe98a 0%, #f2d768 45%, #d9ad39 100%);
	--brand-dark-gradient: linear-gradient(180deg, #181818 0%, #101010 100%);
	--bg-body: #101010;
	--bg-surface: #181818;
	--bg-muted: #1e1e1e;
	--text-main: #ffffff;
	--text-body: #d2d2d2;
	--text-muted: #8e8e8e;
	--border-color: #262626;
	--border-dark: #1c1c1c;
	--border-gold: rgba(247, 204, 87, 0.3);
}

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

html {
	font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	padding: 0;
	background-color: var(--bg-body);
	color: var(--text-body);
	font-size: 16.5px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

a {
	color: var(--brand-gold);
	text-decoration: none;
	transition: color 0.12s ease, background-color 0.12s ease, border-color 0.12s ease;
}

a:hover, a:focus {
	color: var(--brand-gold-hover);
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/* Screen Reader Utilities */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Grid & Containers (GeneratePress Standard Structure) */
.grid-container {
	max-width: 1140px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 20px;
	padding-right: 20px;
}

/* Header (Official Dark Pitch Black) */
.site-header {
	background-color: var(--brand-dark);
	border-bottom: 1px solid var(--border-color);
}

.inside-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 14px;
	padding-bottom: 14px;
	gap: 15px;
}

.site-logo {
	display: flex;
	align-items: center;
}

.site-logo a {
	display: inline-block;
	line-height: 0;
}

.header-image.is-logo-image {
	max-height: 58px;
	width: auto;
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 10px;
}

/* Milasbet Signature Gold Buttons */
.btn-action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-size: 13.5px;
	font-weight: 700;
	letter-spacing: 0.4px;
	text-transform: uppercase;
	padding: 11px 22px;
	border-radius: 5px;
	cursor: pointer;
	text-decoration: none !important;
	line-height: 1.2;
	border: none;
	white-space: nowrap;
	transition: all 0.15s ease;
}

.btn-action svg {
	width: 14px;
	height: 14px;
	fill: currentColor;
	flex-shrink: 0;
}

/* Primary Gold CTA Button */
.btn-red,
.btn-gold {
	background: var(--brand-gold-gradient) !important;
	color: #0e0e0e !important;
	box-shadow: 0 4px 15px rgba(247, 204, 87, 0.35);
}

.btn-red:hover, .btn-red:focus,
.btn-gold:hover, .btn-gold:focus {
	background: var(--brand-gold-gradient-hover) !important;
	color: #000000 !important;
	box-shadow: 0 6px 20px rgba(247, 204, 87, 0.5);
	transform: translateY(-1px);
}

.btn-dark {
	background-color: var(--brand-charcoal);
	color: #ffffff !important;
	border: 1px solid #383838;
}

.btn-dark:hover, .btn-dark:focus {
	background-color: #333333;
	border-color: var(--brand-gold);
	color: var(--brand-gold) !important;
}

.btn-outline-light {
	background-color: transparent;
	color: var(--brand-gold) !important;
	border: 1px solid var(--border-gold);
}

.btn-outline-light:hover, .btn-outline-light:focus {
	background-color: rgba(247, 204, 87, 0.1);
	border-color: var(--brand-gold);
	color: #ffffff !important;
}

/* Primary Navigation Bar (GeneratePress Dark Style) */
.main-navigation {
	background-color: #141414;
	border-bottom: 1px solid var(--border-color);
}

.inside-navigation {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

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

.main-navigation ul li a {
	display: block;
	padding: 0 20px;
	line-height: 50px;
	color: #d0d0d0;
	font-size: 14.5px;
	font-weight: 500;
}

.main-navigation ul li:hover > a,
.main-navigation ul li.current-menu-item > a {
	color: #ffffff;
	background-color: #1e1e1e;
	box-shadow: inset 0 -2px 0 var(--brand-gold);
}

.nav-domain-status {
	font-size: 12.5px;
	color: #999999;
	padding-right: 4px;
}

.nav-domain-status strong {
	color: var(--brand-gold);
	font-weight: 700;
}

.menu-toggle {
	display: none;
	background: transparent;
	border: 0;
	color: #ffffff;
	padding: 14px 16px;
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	cursor: pointer;
	width: 100%;
	text-align: left;
}

/* Main Content Grid (75% Primary / 25% Right Sidebar) */
.site-content {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	margin-top: 20px;
	margin-bottom: 30px;
	align-items: flex-start;
}

.content-area {
	flex: 1 1 calc(74% - 10px);
	min-width: 0;
}

.widget-area.sidebar {
	flex: 0 0 calc(26% - 10px);
	min-width: 260px;
}

/* Article Container (Rich Dark Surface) */
.inside-article {
	background-color: var(--brand-surface);
	padding: 36px 40px;
	border: 1px solid var(--border-color);
	border-radius: 6px;
}

.entry-header {
	margin-bottom: 20px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--border-color);
}

.entry-title, h1 {
	font-size: 32px;
	font-weight: 700;
	color: var(--text-main);
	margin: 0;
	line-height: 1.25;
}

/* Milasbet Official Access Bar (Inside Article, Below H1) */
.access-bar {
	background: linear-gradient(90deg, #181818 0%, #201d15 100%);
	color: #ffffff;
	border: 1px solid var(--border-gold);
	border-left: 4px solid var(--brand-gold);
	border-radius: 5px;
	padding: 20px 24px;
	margin: 0 0 26px 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 18px;
}

.access-bar-info {
	flex: 1 1 300px;
}

.access-bar-title {
	font-size: 17px;
	font-weight: 700;
	color: #ffffff;
	margin: 0 0 4px 0;
	display: flex;
	align-items: center;
	gap: 8px;
}

.status-indicator {
	display: inline-block;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background-color: var(--brand-gold);
	box-shadow: 0 0 10px var(--brand-gold);
}

.access-bar-sub {
	font-size: 13.5px;
	color: #b5b5b5;
	margin: 0;
	line-height: 1.45;
}

.access-bar-buttons {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

/* Inline Callout CTA */
.milasbet-inline-cta {
	background-color: #1b1b1b;
	border: 1px solid var(--border-color);
	border-left: 4px solid var(--brand-gold);
	border-radius: 5px;
	padding: 18px 22px;
	margin: 24px 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 14px;
}

.inline-cta-text strong {
	display: block;
	color: #ffffff;
	font-size: 15.5px;
	margin-bottom: 3px;
}

.inline-cta-text span {
	color: #a8a8a8;
	font-size: 13.5px;
}

/* Typography & Editorial Headings */
.entry-content h2 {
	font-size: 23px;
	font-weight: 700;
	color: #ffffff;
	margin: 32px 0 14px 0;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--border-color);
	line-height: 1.35;
}

.entry-content h3 {
	font-size: 18px;
	font-weight: 700;
	color: #ffffff;
	margin: 20px 0 8px 0;
	line-height: 1.4;
}

.entry-content p {
	margin: 0 0 1.25em 0;
	color: var(--text-body);
}

.entry-content ul, .entry-content ol {
	margin: 0 0 1.5em 0;
	padding-left: 24px;
	color: var(--text-body);
}

.entry-content li {
	margin-bottom: 6px;
}

.entry-content strong {
	color: #ffffff;
	font-weight: 700;
}

/* Clean Dark Tables */
.entry-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 22px 0;
	font-size: 14.5px;
	background: var(--brand-surface);
	border: 1px solid var(--border-color);
	border-radius: 4px;
	overflow: hidden;
}

.entry-content th {
	background: #202020 !important;
	color: #ffffff !important;
	font-weight: 600;
	padding: 12px 14px !important;
	border: 1px solid #2d2d2d !important;
	border-top: 2px solid var(--brand-gold) !important;
	text-align: left !important;
}

.entry-content td {
	padding: 11px 14px !important;
	border: 1px solid #262626 !important;
	color: var(--text-body);
}

.entry-content tr:nth-child(even) td {
	background-color: #1a1a1a;
}

/* FAQ Block (.milasbet-sss-alani) */
.milasbet-sss-alani {
	margin-top: 34px;
	padding-top: 10px;
}

.sss-item {
	background: #1b1b1b;
	border: 1px solid var(--border-color);
	border-radius: 4px;
	padding: 16px 20px;
	margin-bottom: 12px;
}

.sss-item h3 {
	margin: 0 0 6px 0 !important;
	font-size: 16.5px !important;
	color: #ffffff;
}

.sss-item p {
	margin: 0 !important;
	font-size: 15px;
	color: #b8b8b8;
}

/* Right Sidebar Widgets */
.sidebar .widget {
	background-color: var(--brand-surface);
	padding: 24px;
	border: 1px solid var(--border-color);
	border-radius: 6px;
	margin-bottom: 20px;
}

.sidebar .widget-access-box {
	background: linear-gradient(180deg, #1b1b1b 0%, #121212 100%);
	color: #ffffff;
	border: 1px solid var(--border-gold);
	border-top: 3px solid var(--brand-gold);
}

.sidebar .widget-access-box .wp-block-heading {
	color: #ffffff !important;
	border-bottom-color: #262626 !important;
}

.sidebar .widget h3,
.sidebar .widget .widget-title,
.sidebar .widget .wp-block-heading {
	font-size: 17px;
	font-weight: 700;
	color: #ffffff;
	margin: 0 0 14px 0;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--brand-gold);
}

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

.sidebar .widget ul li {
	padding: 9px 0;
	border-bottom: 1px solid #242424;
	font-size: 14.5px;
	line-height: 1.45;
}

.sidebar .widget ul li:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.sidebar .widget ul li a {
	color: #d0d0d0;
}

.sidebar .widget ul li a:hover {
	color: var(--brand-gold);
}

/* Footer */
.site-footer {
	background-color: #0c0c0c;
	color: #999999;
	border-top: 2px solid var(--brand-gold);
}

.site-info {
	padding: 24px 0;
	text-align: center;
	font-size: 14px;
}

.site-info a {
	color: #d0d0d0;
}

.site-info a:hover {
	color: var(--brand-gold);
}

/* Mobile Sticky Bottom Bar */
.milasbet-mobile-sticky-bar {
	display: none;
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: #121212;
	border-top: 2px solid var(--brand-gold);
	padding: 10px 12px;
	z-index: 9999;
	box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.6);
}

.mobile-sticky-inner {
	display: flex;
	gap: 8px;
}

.mobile-sticky-inner .btn-action {
	flex: 1;
	padding: 12px 10px;
	font-size: 13.5px;
}

/* Responsive Rules */
@media (max-width: 900px) {
	.site-content {
		flex-direction: column;
	}
	.content-area, .widget-area.sidebar {
		flex: 1 1 100%;
		width: 100%;
	}
}

@media (max-width: 768px) {
	body {
		padding-bottom: 62px;
	}
	.inside-header {
		flex-direction: column;
		padding-top: 14px;
		padding-bottom: 14px;
	}
	.header-actions {
		width: 100%;
	}
	.header-actions .btn-action {
		flex: 1;
		padding: 10px 12px;
		font-size: 12.5px;
	}
	.nav-domain-status {
		display: none;
	}
	.menu-toggle {
		display: block;
	}
	.main-navigation .main-nav {
		display: none;
		width: 100%;
	}
	.main-navigation.toggled .main-nav {
		display: block;
	}
	.main-navigation ul {
		flex-direction: column;
	}
	.main-navigation ul li a {
		line-height: 44px;
		border-top: 1px solid #222222;
	}
	.inside-article {
		padding: 22px 18px;
	}
	.access-bar {
		padding: 16px 18px;
	}
	.access-bar-buttons {
		width: 100%;
	}
	.access-bar-buttons .btn-action {
		flex: 1;
	}
	.entry-title, h1 {
		font-size: 25px;
	}
	.entry-content h2 {
		font-size: 20px;
	}
	.milasbet-mobile-sticky-bar {
		display: block;
	}
}
