:root {
	--rkt-bg: #ebe6df;
	--rkt-surface: #f7f2ea;
	--rkt-ink: #1a1512;
	--rkt-muted: #6a5f56;
	--rkt-line: #d9d0c4;
	--rkt-red: #c41e3a;
	--rkt-red-deep: #8b1528;
	--rkt-brass: #b8956c;
	--rkt-charcoal: #1f1a17;
	--rkt-wa: #1f9e55;
	--rkt-content-width: 1120px;
	--rkt-font-display: "Manrope", sans-serif;
	--rkt-font-body: "IBM Plex Sans", sans-serif;
	--rkt-radius: 4px;
	--rkt-shadow: 0 18px 40px rgba(26, 21, 18, 0.08);
}

html {
	scroll-behavior: smooth;
}

body.rkt-theme,
body.rkt-theme .site-content,
body.rkt-theme #content,
body.rkt-theme.ast-plain-container,
body.rkt-theme.ast-page-builder-template,
body.rkt-theme.ast-separate-container {
	background:
		radial-gradient(1200px 600px at 10% -10%, rgba(196, 30, 58, 0.06), transparent 55%),
		linear-gradient(180deg, #f0ebe4 0%, var(--rkt-bg) 40%, #e5dfd6 100%) !important;
	color: var(--rkt-ink) !important;
	font-family: var(--rkt-font-body) !important;
}

body.rkt-theme,
body.rkt-theme button,
body.rkt-theme input,
body.rkt-theme select,
body.rkt-theme textarea,
body.rkt-theme .entry-content,
body.rkt-theme .entry-content p,
body.rkt-theme .ast-article-single {
	font-family: var(--rkt-font-body) !important;
	color: var(--rkt-ink) !important;
}

body.rkt-theme h1,
body.rkt-theme h2,
body.rkt-theme h3,
body.rkt-theme h4,
body.rkt-theme h5,
body.rkt-theme h6,
body.rkt-theme .entry-title,
body.rkt-theme .entry-title a,
body.rkt-theme .site-title,
body.rkt-theme .site-title a,
body.rkt-theme .entry-content h1,
body.rkt-theme .entry-content h2,
body.rkt-theme .entry-content h3,
body.rkt-theme .entry-content h4,
body.rkt-theme .entry-content :where(h1, h2, h3, h4, h5, h6) {
	font-family: var(--rkt-font-display) !important;
	color: var(--rkt-ink) !important;
	letter-spacing: -0.02em;
	font-weight: 700 !important;
}

body.rkt-theme {
	font-size: 1.0625rem;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

body.rkt-theme a {
	color: var(--rkt-red-deep);
}

body.rkt-theme a:hover {
	color: var(--rkt-red);
}

/* Header */
body.rkt-theme .site-header,
body.rkt-theme .main-header-bar,
body.rkt-theme .ast-primary-header-bar,
body.rkt-theme .ast-mobile-header-wrap {
	background: rgba(247, 242, 234, 0.9) !important;
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--rkt-line) !important;
	box-shadow: none !important;
	transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

body.rkt-theme .rkt-header-scrolled,
body.rkt-theme .ast-primary-header-bar.rkt-header-scrolled {
	box-shadow: 0 8px 24px rgba(26, 21, 18, 0.08) !important;
	border-bottom-color: rgba(196, 30, 58, 0.22) !important;
}

body.rkt-theme .ast-primary-header-bar > .ast-container,
body.rkt-theme .site-primary-header-wrap.ast-container,
body.rkt-theme .ast-mobile-header-wrap .ast-container,
body.rkt-theme .main-header-bar .ast-container {
	max-width: var(--rkt-content-width) !important;
	width: 100% !important;
	margin-left: auto !important;
	margin-right: auto !important;
	padding-left: 1rem !important;
	padding-right: 1rem !important;
}

body.rkt-theme .main-header-menu .menu-link,
body.rkt-theme .ast-builder-menu .menu-link {
	color: var(--rkt-ink) !important;
	font-weight: 600;
}

body.rkt-theme .main-header-menu .menu-link:hover,
body.rkt-theme .main-header-menu .current-menu-item > .menu-link {
	color: var(--rkt-red) !important;
}

body.rkt-theme .site-title a {
	font-size: 1.08rem !important;
	font-weight: 800 !important;
	color: var(--rkt-ink) !important;
}

body.rkt-theme .custom-logo-link img,
body.rkt-theme .site-logo-img img {
	max-height: 52px;
	width: auto;
}

body.rkt-theme .menu-toggle,
body.rkt-theme .ast-mobile-menu-trigger-minimal {
	color: var(--rkt-red) !important;
}

/* Footer */
body.rkt-theme .site-footer,
body.rkt-theme .site-below-footer-wrap,
body.rkt-theme .ast-footer-copyright,
body.rkt-theme .ast-footer-copyright *,
body.rkt-theme .anka-wa-backlink {
	background: var(--rkt-charcoal) !important;
	color: #f0e8df !important;
	border-top: 0 !important;
}

body.rkt-theme .anka-wa-backlink {
	margin: 0 !important;
	padding: 0.85rem 1rem 1.25rem !important;
	text-align: center;
	font-size: 0.95rem;
}

body.rkt-theme .site-footer a,
body.rkt-theme .anka-wa-backlink a,
body.rkt-theme .fbl-backlinks-list a,
body.rkt-theme .ast-footer-copyright a {
	color: #ffffff !important;
}

body.rkt-theme .anka-wa-backlink a:hover,
body.rkt-theme .site-footer a:hover,
body.rkt-theme .fbl-backlinks-list a:hover {
	color: var(--rkt-brass) !important;
}

body.rkt-theme .fbl-footer-backlinks {
	background: transparent !important;
	border: 0 !important;
}

body.rkt-theme .fbl-backlinks-list a {
	background: rgba(255, 255, 255, 0.06) !important;
	border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

/* Front full-bleed */
body.rkt-front #content > .ast-container,
body.rkt-front .site-content > .ast-container,
body.rkt-front .site-content,
body.rkt-front #primary,
body.rkt-front .ast-container {
	display: block !important;
	max-width: none !important;
	width: 100% !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	margin: 0 !important;
}

body.rkt-front #primary,
body.rkt-front .rkt-home,
body.rkt-front main.rkt-home {
	float: none !important;
	flex: none !important;
	width: 100% !important;
	max-width: none !important;
	min-width: 0 !important;
}

body.rkt-front #secondary {
	display: none !important;
}

body.rkt-front .entry-header {
	display: none !important;
}

.rkt-home {
	overflow: clip;
	width: 100%;
}

/* Hero — full bleed, brand-first, no overlays/chips */
.rkt-hero {
	position: relative;
	width: 100%;
	min-height: min(86vh, 760px);
	display: grid;
	align-items: end;
	color: #fff;
	clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
}

.rkt-hero__media {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center 35%;
	transform: scale(1.02);
	animation: rkt-ken 18s ease-in-out infinite alternate;
}

@keyframes rkt-ken {
	from { transform: scale(1.02) translate3d(0, 0, 0); }
	to { transform: scale(1.08) translate3d(-1.5%, -1%, 0); }
}

.rkt-hero__shade {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(105deg, rgba(20, 10, 12, 0.92) 0%, rgba(20, 10, 12, 0.62) 42%, rgba(20, 10, 12, 0.28) 100%),
		linear-gradient(180deg, rgba(20, 10, 12, 0.15), rgba(20, 10, 12, 0.78));
}

.rkt-hero__inner {
	position: relative;
	z-index: 2;
	width: min(var(--rkt-content-width), calc(100% - 2rem));
	margin: 0 auto;
	padding: 7rem 0 5.5rem;
}

.rkt-brand {
	font-family: var(--rkt-font-display);
	font-size: clamp(2.6rem, 7vw, 4.8rem);
	font-weight: 800;
	line-height: 0.92;
	margin: 0 0 1rem;
	max-width: 11ch;
	text-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.rkt-brand::after {
	content: "";
	display: block;
	width: 4.5rem;
	height: 4px;
	margin-top: 0.85rem;
	background: var(--rkt-red);
	animation: rkt-bar 1.1s ease both;
}

@keyframes rkt-bar {
	from { transform: scaleX(0); transform-origin: left; opacity: 0; }
	to { transform: scaleX(1); opacity: 1; }
}

.rkt-hero__headline {
	font-family: var(--rkt-font-display);
	font-size: clamp(1.15rem, 2.2vw, 1.55rem);
	font-weight: 700;
	line-height: 1.3;
	margin: 0 0 0.75rem;
	max-width: 20ch;
	color: #fff !important;
}

.rkt-hero__text {
	margin: 0 0 1.6rem;
	max-width: 36ch;
	color: rgba(255, 245, 238, 0.88);
	font-size: 1.05rem;
	line-height: 1.55;
}

.rkt-cta-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem;
}

.rkt-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0.75rem 1.2rem;
	border-radius: var(--rkt-radius);
	border: 1px solid transparent;
	font-weight: 700;
	letter-spacing: 0.01em;
	text-decoration: none !important;
	transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.rkt-btn:hover {
	transform: translateY(-2px);
}

.rkt-btn--primary {
	background: var(--rkt-red);
	color: #fff !important;
}

.rkt-btn--primary:hover {
	background: #d62845;
	color: #fff !important;
}

.rkt-btn--ghost {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.45);
	color: #fff !important;
}

.rkt-btn--ghost:hover {
	background: rgba(255, 255, 255, 0.08);
	color: #fff !important;
}

.rkt-btn--light {
	background: #f7f2ea;
	color: var(--rkt-ink) !important;
}

.rkt-btn--light:hover {
	background: #fff;
	color: var(--rkt-ink) !important;
}

.rkt-section {
	width: min(var(--rkt-content-width), calc(100% - 2rem));
	margin: 0 auto;
	padding: 4.25rem 0;
}

.rkt-section__head {
	margin-bottom: 1.75rem;
	max-width: 36rem;
}

.rkt-section__head h2 {
	margin: 0 0 0.5rem;
	font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.rkt-section__head p {
	margin: 0;
	color: var(--rkt-muted);
	font-size: 1.05rem;
}

.rkt-eyebrow {
	margin: 0 0 0.55rem;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--rkt-red);
}

.rkt-split {
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: 0;
	align-items: stretch;
	border: 1px solid var(--rkt-line);
	background: var(--rkt-surface);
	box-shadow: var(--rkt-shadow);
}

.rkt-split__copy {
	padding: 2rem 1.75rem;
}

.rkt-split__copy h2 {
	margin: 0 0 1.1rem;
	font-size: clamp(1.55rem, 2.8vw, 2.1rem);
	max-width: 16ch;
}

.rkt-ticks {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 0.75rem;
}

.rkt-ticks li {
	position: relative;
	padding-left: 1.35rem;
	font-weight: 500;
}

.rkt-ticks li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.45rem;
	width: 0.55rem;
	height: 0.55rem;
	background: var(--rkt-red);
	transform: rotate(45deg);
}

.rkt-split__media {
	min-height: 340px;
	margin: 0;
	background-size: cover;
	background-position: center;
	border-left: 1px solid var(--rkt-line);
}

.rkt-strip {
	background: var(--rkt-charcoal);
	color: #fff;
	border-block: 4px solid var(--rkt-red);
}

.rkt-strip .rkt-section {
	padding-block: 2.35rem;
}

.rkt-strip__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.1rem;
}

body.rkt-theme .rkt-strip h2,
body.rkt-theme .rkt-strip p {
	color: #fff !important;
}

body.rkt-theme .rkt-strip h2 {
	margin: 0;
	font-size: clamp(1.35rem, 2.5vw, 1.9rem);
}

body.rkt-theme .rkt-strip p {
	margin: 0.35rem 0 0;
	color: rgba(255, 245, 238, 0.78) !important;
}

/* Mahalle region — light panel, dense rows (not dark green cards) */
.rkt-regions {
	display: grid;
	gap: 1.5rem;
}

.rkt-region {
	background: var(--rkt-surface);
	border: 1px solid var(--rkt-line);
	box-shadow: var(--rkt-shadow);
}

.rkt-region__bar {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.5rem 1rem;
	padding: 1.1rem 1.15rem;
	border-bottom: 1px solid var(--rkt-line);
	border-left: 4px solid var(--rkt-red);
	background: linear-gradient(90deg, rgba(196, 30, 58, 0.06), transparent 55%);
}

body.rkt-theme .rkt-region__bar h3 {
	margin: 0;
	font-size: 1.25rem;
}

body.rkt-theme .rkt-region__bar p {
	margin: 0;
	color: var(--rkt-muted);
	font-size: 0.92rem;
}

.rkt-mahalle-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rkt-mahalle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.85rem 1.1rem;
	border-bottom: 1px solid var(--rkt-line);
	border-right: 1px solid var(--rkt-line);
	opacity: 0;
	transform: translateY(8px);
	transition: background 0.15s ease, opacity 0.45s ease, transform 0.45s ease;
	transition-delay: var(--rkt-delay, 0ms);
}

.rkt-mahalle:nth-child(2n) {
	border-right: 0;
}

.rkt-mahalle.is-in {
	opacity: 1;
	transform: none;
}

.rkt-mahalle:hover {
	background: rgba(196, 30, 58, 0.04);
}

body.rkt-theme .rkt-mahalle__name {
	font-family: var(--rkt-font-display);
	font-weight: 700;
	font-size: 0.98rem;
	color: var(--rkt-ink) !important;
	text-decoration: none !important;
	line-height: 1.25;
}

body.rkt-theme .rkt-mahalle__name:hover {
	color: var(--rkt-red) !important;
}

.rkt-mahalle__actions {
	display: flex;
	gap: 0.35rem;
	flex-shrink: 0;
}

.rkt-mini {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 32px;
	padding: 0.25rem 0.55rem;
	border-radius: var(--rkt-radius);
	font-size: 0.72rem;
	font-weight: 700;
	text-decoration: none !important;
	letter-spacing: 0.02em;
}

.rkt-mini--wa {
	background: rgba(31, 158, 85, 0.12);
	color: #146b38 !important;
}

.rkt-mini--call {
	background: rgba(196, 30, 58, 0.1);
	color: var(--rkt-red-deep) !important;
}

.rkt-mini:hover {
	filter: brightness(0.95);
}

/* Sidebar */
.rkt-side {
	background: var(--rkt-surface);
	border: 1px solid var(--rkt-line);
	padding: 1rem;
}

.rkt-side__label {
	margin: 0 0 0.35rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--rkt-red);
}

.rkt-side__title {
	margin: 0 0 0.35rem;
	font-size: 1.2rem;
}

.rkt-side__text {
	margin: 0 0 0.9rem;
	color: var(--rkt-muted);
	font-size: 0.9rem;
}

.rkt-side__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.2rem;
	max-height: 70vh;
	overflow: auto;
}

.rkt-side__list a {
	display: block;
	padding: 0.45rem 0.55rem;
	border-radius: var(--rkt-radius);
	text-decoration: none !important;
	color: var(--rkt-ink) !important;
	font-size: 0.9rem;
	font-weight: 600;
}

.rkt-side__list li.is-current a,
.rkt-side__list a:hover {
	background: rgba(196, 30, 58, 0.08);
	color: var(--rkt-red-deep) !important;
}

/* SEO content block */
.rkt-seo {
	background: var(--rkt-surface);
	border: 1px solid var(--rkt-line);
	box-shadow: var(--rkt-shadow);
	padding: clamp(1.5rem, 3vw, 2.25rem);
}

.rkt-seo__intro {
	max-width: 48rem;
	margin-bottom: 1.75rem;
}

body.rkt-theme .rkt-seo h2 {
	margin: 0 0 0.75rem;
	font-size: clamp(1.55rem, 2.8vw, 2.1rem);
}

body.rkt-theme .rkt-seo h3 {
	margin: 1.6rem 0 0.55rem;
	font-size: 1.2rem;
}

.rkt-seo p {
	margin: 0 0 0.9rem;
	color: var(--rkt-ink);
	max-width: 52rem;
}

.rkt-seo p:last-child {
	margin-bottom: 0;
}

.rkt-seo__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem 1.75rem;
	margin-top: 0.5rem;
}

.rkt-seo__card {
	border-top: 3px solid var(--rkt-red);
	padding-top: 0.85rem;
}

body.rkt-theme .rkt-seo__card h3 {
	margin-top: 0;
}

.rkt-seo__cta {
	margin-top: 1.75rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--rkt-line);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.rkt-seo__cta p {
	margin: 0;
	max-width: 34rem;
	font-weight: 600;
}

/* Single mahalle post */
body.rkt-theme:not(.rkt-front) #content > .ast-container,
body.rkt-mahalle-post #content > .ast-container {
	max-width: var(--rkt-content-width) !important;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	padding-left: 1rem;
	padding-right: 1rem;
}

body.rkt-theme:not(.rkt-front) .site-content {
	padding-top: 1.5rem;
	padding-bottom: 3rem;
}

body.rkt-mahalle-post.ast-right-sidebar #primary {
	width: 68% !important;
	float: left !important;
	padding-right: 1.25rem !important;
}

body.rkt-mahalle-post.ast-right-sidebar #secondary {
	display: block !important;
	width: 32% !important;
	float: right !important;
	padding-left: 0.25rem !important;
	margin: 0 !important;
}

body.rkt-mahalle-post #secondary .sidebar-main {
	background: transparent;
	padding: 0;
	border: 0;
	box-shadow: none;
}

body.rkt-mahalle-post .ast-article-single,
body.rkt-mahalle-post .ast-article-inner {
	background: var(--rkt-surface) !important;
	border: 1px solid var(--rkt-line) !important;
	border-radius: 0 !important;
	box-shadow: var(--rkt-shadow) !important;
	padding: clamp(1.35rem, 2.5vw, 2rem) !important;
}

body.rkt-mahalle-post header.entry-header {
	margin-bottom: 1.1rem;
	padding-bottom: 0.9rem;
	border-bottom: 1px solid var(--rkt-line);
	border-left: 4px solid var(--rkt-red);
	padding-left: 0.85rem;
}

body.rkt-mahalle-post .entry-title {
	margin: 0 !important;
	font-size: clamp(1.65rem, 3vw, 2.2rem) !important;
	line-height: 1.2 !important;
}

body.rkt-mahalle-post .entry-meta,
body.rkt-mahalle-post .ast-single-post-order,
body.rkt-mahalle-post .posted-by,
body.rkt-mahalle-post .posted-on {
	display: none !important;
}

body.rkt-mahalle-post .entry-content {
	font-size: 1.05rem;
	line-height: 1.75;
}

body.rkt-mahalle-post .entry-content p {
	margin-bottom: 1rem;
	max-width: 62ch;
}

body.rkt-mahalle-post .entry-content h2 {
	margin: 1.6rem 0 0.65rem;
	font-size: 1.35rem !important;
}

body.rkt-mahalle-post .entry-content h3 {
	margin: 1.25rem 0 0.5rem;
	font-size: 1.12rem !important;
}

body.rkt-mahalle-post .entry-content a {
	color: var(--rkt-red-deep) !important;
}

body.rkt-mahalle-post .ast-article-single img,
body.rkt-mahalle-post .ast-article-single figure {
	box-shadow: none !important;
}

body.rkt-theme .rkt-side {
	position: sticky;
	top: 5.25rem;
	max-height: calc(100vh - 6rem);
	overflow: auto;
}

@media (max-width: 921px) {
	body.rkt-mahalle-post.ast-right-sidebar #primary,
	body.rkt-mahalle-post.ast-right-sidebar #secondary {
		width: 100% !important;
		float: none !important;
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	body.rkt-theme .rkt-side {
		position: static;
		max-height: none;
		margin-top: 1.5rem;
	}
}

@media (max-width: 900px) {
	.rkt-split {
		grid-template-columns: 1fr;
	}

	.rkt-split__media {
		min-height: 240px;
		border-left: 0;
		border-top: 1px solid var(--rkt-line);
	}

	.rkt-mahalle-grid {
		grid-template-columns: 1fr;
	}

	.rkt-mahalle {
		border-right: 0;
	}

	.rkt-seo__grid {
		grid-template-columns: 1fr;
	}

	.rkt-hero {
		clip-path: polygon(0 0, 100% 0, 100% 96%, 0 100%);
		min-height: min(78vh, 640px);
	}
}

@media (prefers-reduced-motion: reduce) {
	.rkt-hero__media,
	.rkt-brand::after,
	.rkt-mahalle,
	.rkt-btn {
		animation: none !important;
		transition: none !important;
	}

	.rkt-mahalle {
		opacity: 1;
		transform: none;
	}
}
