/*
 * Kamuran Ecer , theme.css
 * DESIGN.md uygulaması. tokens.css'e bağlıdır.
 */

/* =========================
   1. Sıfırlama ve temel
   ========================= */

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

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

body {
	margin: 0;
	font-family: var(--font-sans);
	font-size: var(--fs-body);
	line-height: var(--lh-normal);
	color: var(--color-text);
	background: var(--color-bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-feature-settings: "salt";
}

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

a {
	color: var(--color-text);
	text-decoration: none;
	transition: color var(--dur) var(--ease);
}

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

p {
	margin: 0 0 var(--space-5);
}

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 var(--space-5);
	font-weight: var(--fw-700);
	line-height: var(--lh-tight);
	letter-spacing: var(--track-tight);
	color: var(--color-text);
}

/* Display başlıkları: Bricolage Grotesque + sıkı tracking */
h1, h2 {
	font-family: var(--font-display);
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.1;
}

h1 { font-size: var(--fs-section); }
h2 { font-size: var(--fs-card-lg); font-weight: 500; }
h3 { font-size: var(--fs-sub); }
h4 { font-size: var(--fs-feature); font-weight: var(--fw-600); letter-spacing: var(--track-soft); }
h5 { font-size: var(--fs-ui); font-weight: var(--fw-600); letter-spacing: 0; }
h6 { font-size: var(--fs-body); font-weight: var(--fw-600); letter-spacing: 0; }

/* Manifesto-vari hero başlığı: büyük display, sıkı leading, görsel ağırlık */
.display-hero {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: clamp(2.5rem, 6vw + 0.5rem, 4.5rem);
	line-height: 1.02;
	letter-spacing: -0.03em;
	color: var(--color-text);
	margin: 0 0 var(--space-5);
}

/* İçerik intro'ları için yumuşak, büyükçe gövde */
.lead-text {
	font-size: 1.125rem;
	line-height: 1.6;
	color: var(--color-text-secondary);
	font-weight: var(--fw-400);
}

/* Erişilebilirlik */
.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;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background: var(--color-text);
	color: var(--color-bg);
	clip: auto !important;
	clip-path: none;
	display: block;
	font-size: var(--fs-ui);
	font-weight: var(--fw-600);
	height: auto;
	left: 16px;
	padding: 12px 16px;
	top: 16px;
	width: auto;
	z-index: var(--z-modal);
	border-radius: var(--radius-sm);
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: auto;
}

.skip-link:focus {
	left: 16px;
	top: 16px;
	background: var(--color-text);
	color: var(--color-bg);
	padding: 10px 16px;
	border-radius: var(--radius-sm);
	z-index: var(--z-modal);
}

/* =========================
   2. Layout
   ========================= */

.container {
	max-width: var(--container-max);
	margin: 0 auto;
	padding: 0 var(--container-pad);
}

/* =========================
   3. Header
   ========================= */

.site-header {
	position: sticky;
	top: 0;
	z-index: var(--z-header);
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: saturate(180%) blur(10px);
	-webkit-backdrop-filter: saturate(180%) blur(10px);
	border-bottom: 1px solid var(--color-border);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-5);
	min-height: 72px;
	padding-top: var(--space-4);
	padding-bottom: var(--space-4);
}

.site-branding {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.site-title {
	margin: 0;
	font-size: var(--fs-feature);
	font-weight: var(--fw-700);
	letter-spacing: var(--track-soft);
	line-height: 1.15;
}

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

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

.site-description {
	margin: 0;
	color: var(--color-text-secondary);
	font-size: var(--fs-small);
	font-weight: var(--fw-400);
	line-height: 1.3;
}

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

.site-nav__menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: var(--space-2);
}

.site-nav__menu a {
	display: inline-block;
	padding: 10px 14px;
	border-radius: var(--radius-full);
	font-size: var(--fs-body);
	font-weight: var(--fw-500);
	color: var(--color-text);
	white-space: nowrap;
	transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}

.site-nav__menu a:hover,
.site-nav__menu .current-menu-item > a,
.site-nav__menu .current_page_item > a {
	background: var(--color-surface-soft);
	color: var(--color-text);
}

.site-nav__menu .current-menu-item > a {
	font-weight: var(--fw-600);
}

/* Mobil toggle */
.site-nav__toggle {
	display: none;
	background: var(--color-surface-soft);
	border: 0;
	width: 40px;
	height: 40px;
	border-radius: var(--radius-circle);
	align-items: center;
	justify-content: center;
	cursor: pointer;
	flex-direction: column;
	gap: 3px;
	transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur) var(--ease);
}

.site-nav__toggle:hover {
	box-shadow: var(--shadow-hover);
}

.site-nav__toggle:active {
	transform: scale(0.92);
}

.site-nav__toggle-bar {
	width: 16px;
	height: 2px;
	background: var(--color-text);
	border-radius: 2px;
}

/* =========================
   4. Hero
   ========================= */

.hero {
	padding: var(--space-11) 0 var(--space-8);
	text-align: center;
	background:
		radial-gradient(1200px 420px at 50% -40%, rgba(255, 56, 92, 0.08), transparent 70%),
		var(--color-bg);
}

.hero__inner {
	max-width: 760px;
}

.hero__kicker {
	margin: 0 0 var(--space-4);
	font-size: var(--fs-tag);
	font-weight: var(--fw-700);
	letter-spacing: var(--track-micro);
	color: var(--color-brand);
	text-transform: uppercase;
}

.hero__title {
	margin: 0 0 var(--space-5);
	font-family: var(--font-display);
	font-size: clamp(2.5rem, 6vw + 0.5rem, 4.5rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.02;
}

.hero__role {
	font-size: var(--text-sm, 0.875rem);
	font-weight: 500;
	color: var(--color-accent, #ff385c);
	letter-spacing: 0.03em;
	margin-top: 0.25rem;
	margin-bottom: 0;
}

.hero__lead {
	margin: 0 auto var(--space-7);
	max-width: 620px;
	font-size: 1.125rem;
	color: var(--color-text-secondary);
	line-height: 1.6;
	font-weight: var(--fw-400);
}

.hero__cta-row {
	display: flex;
	gap: var(--space-4);
	justify-content: center;
	flex-wrap: wrap;
}

/* =========================
   5. Butonlar
   ========================= */

.btn,
.button,
input[type="submit"],
button.submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 44px;
	padding: 0 20px;
	border: 0;
	border-radius: var(--radius-sm);
	background: var(--color-text);
	color: #fff;
	font-family: var(--font-sans);
	font-size: var(--fs-ui);
	font-weight: var(--fw-500);
	line-height: 1;
	cursor: pointer;
	text-decoration: none;
	transition:
		background var(--dur) var(--ease),
		color var(--dur) var(--ease),
		transform var(--dur-fast) var(--ease),
		box-shadow var(--dur) var(--ease);
}

.btn:hover,
.button:hover {
	background: var(--color-brand);
	color: #fff;
	box-shadow: var(--shadow-hover);
}

.btn:active {
	transform: scale(0.96);
}

.btn--primary {
	background: var(--color-brand);
}

.btn--primary:hover {
	background: var(--color-brand-deep);
	color: #fff;
}

.btn--ghost {
	background: transparent;
	color: var(--color-text);
	border: 1px solid var(--color-border-strong);
}

.btn--ghost:hover {
	background: var(--color-surface-soft);
	color: var(--color-text);
	border-color: var(--color-text);
	box-shadow: none;
}

/* =========================
   6. Ana alanlar
   ========================= */

.site-main {
	padding: var(--space-10) 0;
}

.marquee-section {
	padding: var(--space-7) 0 var(--space-8);
	border-top: 1px solid var(--color-border);
	border-bottom: 1px solid var(--color-border);
}

.faq-section {
	margin-top: var(--space-11);
	padding-top: var(--space-10);
	border-top: 1px solid var(--color-border);
}

.faq-section .section-header {
	text-align: center;
	margin-bottom: var(--space-8);
}

/* =========================
   Ajanda (Google Calendar embed)
   ========================= */

.ajanda {
	max-width: 960px;
}

.ajanda__header {
	text-align: center;
	margin-bottom: var(--space-9);
}

.ajanda__kicker {
	margin: 0 0 var(--space-4);
	font-size: var(--fs-tag);
	font-weight: var(--fw-700);
	letter-spacing: var(--track-micro);
	color: var(--color-brand);
	text-transform: uppercase;
}

.ajanda__title {
	margin: 0 0 var(--space-5);
}

.ajanda__lead {
	margin: 0 auto;
	max-width: 620px;
}

.ajanda__frame {
	background: var(--color-bg);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-card);
	overflow: hidden;
	position: relative;
	aspect-ratio: 4 / 3;
	margin: 0 auto;
}

.ajanda__frame iframe {
	border: 0;
	width: 100%;
	height: 100%;
	display: block;
}

@media (max-width: 640px) {
	.ajanda__frame {
		/* AGENDA modunda dikey liste için sabit yükseklik daha okunur */
		aspect-ratio: auto;
		height: 520px;
	}
}

.ajanda__empty {
	text-align: center;
	padding: var(--space-10) 0;
	color: var(--color-text-secondary);
}

.ajanda__note {
	margin-top: var(--space-9);
	padding: var(--space-7);
	background: var(--color-surface-soft);
	border-radius: var(--radius-lg);
}

.ajanda__note-inner {
	max-width: 760px;
	margin: 0 auto;
	color: var(--color-text);
	font-size: 1.0625rem;
	line-height: 1.7;
}

.site-main--single,
.site-main--page {
	padding-top: var(--space-9);
}

.page-header {
	margin-bottom: var(--space-9);
	text-align: center;
}

.page-header__title {
	font-size: clamp(1.75rem, 2vw + 1rem, 2.5rem);
	letter-spacing: var(--track-tight);
	margin-bottom: var(--space-3);
}

.page-header__sub {
	color: var(--color-text-secondary);
	font-size: var(--fs-ui);
	margin: 0;
}

.section-header {
	display: flex;
	flex-direction: column;
	gap: var(--space-2);
	margin-bottom: var(--space-8);
}

.section-header__title {
	font-size: var(--fs-section);
	font-weight: var(--fw-700);
	margin: 0;
}

.section-header__sub {
	color: var(--color-text-secondary);
	margin: 0;
	font-size: var(--fs-body);
}

/* =========================
   7. Post grid / kart
   ========================= */

.post-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: var(--space-8);
}

.post-card {
	background: var(--color-bg);
	border-radius: var(--radius-lg);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	box-shadow: var(--shadow-card);
	transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.post-card:hover {
	transform: translateY(-2px);
	box-shadow:
		rgba(0, 0, 0, 0.02) 0 0 0 1px,
		rgba(0, 0, 0, 0.05) 0 4px 10px,
		rgba(0, 0, 0, 0.12) 0 8px 20px;
}

.post-card__thumb {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--color-surface-soft);
}

.post-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--dur-slow) var(--ease);
}

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

.post-card__body {
	padding: var(--space-6) var(--space-7) var(--space-7);
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
	flex: 1;
}

.post-card__kicker {
	margin: 0;
	font-size: var(--fs-tag);
	font-weight: var(--fw-700);
	letter-spacing: var(--track-micro);
	color: var(--color-brand);
	text-transform: uppercase;
}

.post-card__title {
	margin: 0;
	font-family: var(--font-sans);
	font-size: var(--fs-feature);
	font-weight: var(--fw-600);
	letter-spacing: var(--track-soft);
	line-height: 1.25;
}

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

.post-card__title a:hover {
	color: var(--color-brand);
}

.post-card__excerpt {
	color: var(--color-text-secondary);
	font-size: var(--fs-body);
	line-height: 1.55;
}

.post-card__excerpt p {
	margin: 0;
}

.post-card__meta {
	margin: auto 0 0;
	color: var(--color-text-secondary);
	font-size: var(--fs-small);
}

/* =========================
   8. Tek yazı
   ========================= */

.single-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--space-10);
}

@media (min-width: 960px) {
	.single-layout {
		grid-template-columns: minmax(0, 1fr) 300px;
		align-items: start;
	}
}

.single-layout__content {
	max-width: 760px;
	margin: 0 auto;
	width: 100%;
}

.post-single__header {
	margin-bottom: var(--space-8);
	text-align: left;
}

.post-single__kicker {
	margin: 0 0 var(--space-4);
	font-size: var(--fs-tag);
	font-weight: var(--fw-700);
	letter-spacing: var(--track-micro);
	color: var(--color-brand);
	text-transform: uppercase;
}

.post-single__kicker a {
	color: inherit;
}

.post-single__title {
	font-size: clamp(1.75rem, 2vw + 1rem, 2.75rem);
	font-weight: var(--fw-700);
	letter-spacing: var(--track-tight);
	line-height: 1.15;
	margin-bottom: var(--space-5);
}

.post-single__meta {
	color: var(--color-text-secondary);
	font-size: var(--fs-body);
	margin: 0;
}

.post-single__thumb {
	margin: 0 0 var(--space-8);
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-card);
}

.post-single__content {
	font-size: 1.0625rem;
	line-height: 1.7;
	color: var(--color-text);
}

.post-single__content p,
.post-single__content ul,
.post-single__content ol,
.post-single__content blockquote,
.post-single__content pre,
.post-single__content figure {
	margin-bottom: var(--space-6);
}

.post-single__content h2 {
	margin-top: var(--space-9);
	margin-bottom: var(--space-4);
	font-size: 1.5rem;
	font-weight: var(--fw-700);
	letter-spacing: var(--track-soft);
}

.post-single__content h3 {
	margin-top: var(--space-8);
	margin-bottom: var(--space-3);
	font-size: 1.25rem;
	font-weight: var(--fw-600);
}

.post-single__content a {
	color: var(--color-brand);
	text-decoration: underline;
	text-decoration-thickness: 1.5px;
	text-underline-offset: 3px;
	text-decoration-color: rgba(255, 56, 92, 0.4);
	transition: text-decoration-color var(--dur) var(--ease);
}

.post-single__content a:hover {
	text-decoration-color: var(--color-brand);
}

.post-single__content blockquote {
	border-left: 3px solid var(--color-brand);
	padding: 4px 0 4px var(--space-5);
	color: var(--color-text-focused);
	font-style: italic;
}

.post-single__content code {
	font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
	font-size: 0.92em;
	background: var(--color-surface-soft);
	padding: 2px 6px;
	border-radius: var(--radius-xs);
}

.post-single__content pre {
	background: #1a1a1a;
	color: #fafafa;
	padding: var(--space-6) var(--space-7);
	border-radius: var(--radius-md);
	overflow-x: auto;
	font-size: var(--fs-body);
	line-height: 1.55;
}

.post-single__content pre code {
	background: transparent;
	color: inherit;
	padding: 0;
}

.post-single__content img {
	border-radius: var(--radius-md);
}

.post-single__footer {
	display: none;
}

.post-single__tags {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-3);
}

.post-single__tags a {
	display: inline-block;
	padding: 6px 12px;
	background: var(--color-surface-soft);
	color: var(--color-text);
	border-radius: var(--radius-md);
	font-size: var(--fs-tag);
	font-weight: var(--fw-500);
}

.post-single__tags a:hover {
	background: var(--color-text);
	color: #fff;
}

/* =========================
   9. Sidebar
   ========================= */

.site-sidebar {
	display: flex;
	flex-direction: column;
	gap: var(--space-8);
}

.site-sidebar .widget {
	background: var(--color-bg);
	padding: var(--space-7);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-card);
}

.widget-title {
	font-size: var(--fs-ui);
	font-weight: var(--fw-700);
	margin-bottom: var(--space-4);
	letter-spacing: 0;
}

.widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0;
}

.widget li {
	padding: var(--space-4) 0;
	border-top: 1px solid var(--color-surface-muted);
}

.widget li:first-child {
	border-top: none;
	padding-top: 0;
}

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

.widget li a {
	color: var(--color-text);
	font-size: var(--fs-body);
	display: flex;
	align-items: flex-start;
	gap: var(--space-3);
	line-height: 1.4;
}

.widget li a::before {
	content: '';
	display: block;
	flex-shrink: 0;
	width: 16px;
	height: 16px;
	margin-top: 2px;
	background-color: var(--color-brand);
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.121 2.121 0 0 1 3 3L7 19l-4 1 1-4 12.5-12.5z'/%3E%3C/svg%3E");
	mask-size: contain;
	mask-repeat: no-repeat;
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.121 2.121 0 0 1 3 3L7 19l-4 1 1-4 12.5-12.5z'/%3E%3C/svg%3E");
	-webkit-mask-size: contain;
	-webkit-mask-repeat: no-repeat;
}

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

/* =========================
   10. Page şablonu
   ========================= */

.page-layout {
	max-width: 820px;
}

.page-article__header {
	margin-bottom: var(--space-8);
}

.page-article__title {
	font-size: clamp(1.75rem, 2vw + 1rem, 2.5rem);
	letter-spacing: var(--track-tight);
	margin-bottom: var(--space-3);
}

.page-article__thumb {
	margin: 0 0 var(--space-8);
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-card);
}

.page-article__content {
	font-size: 1.0625rem;
	line-height: 1.7;
}

.page-article__content a {
	color: var(--color-brand);
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* =========================
   Özgeçmiş sayfası
   ========================= */

.ozgecmis__layout {
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: var(--space-10);
	align-items: start;
	margin-top: var(--space-9);
}

.ozgecmis__photo {
	position: sticky;
	top: calc(var(--nav-h, 64px) + var(--space-8));
}

.ozgecmis__img {
	width: 100%;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-card);
	display: block;
}

.ozgecmis__name {
	font-weight: 700;
	font-size: 1rem;
	margin-top: var(--space-6);
	margin-bottom: var(--space-2);
	color: var(--color-text);
}

.ozgecmis__role {
	font-size: 0.875rem;
	color: var(--color-muted);
	line-height: 1.5;
}

.ozgecmis__content {
	font-size: 1.0625rem;
	line-height: 1.75;
}

.ozgecmis__content p {
	margin-bottom: var(--space-7);
}

.ozgecmis__content h2 {
	font-size: 1.125rem;
	font-weight: 700;
	letter-spacing: var(--track-tight);
	margin-top: var(--space-9);
	margin-bottom: var(--space-6);
	border-bottom: 1px solid var(--color-border);
	padding-bottom: var(--space-4);
}

.ozgecmis__content a {
	color: var(--color-brand);
	text-decoration: underline;
	text-underline-offset: 3px;
}

@media (max-width: 768px) {
	.ozgecmis__layout {
		grid-template-columns: 1fr;
	}

	.ozgecmis__photo {
		position: static;
		max-width: 220px;
		margin: 0 auto;
		text-align: center;
	}
}

/* =========================
   11. Arama formu
   ========================= */

.search-form {
	position: relative;
	display: flex;
	align-items: center;
	background: var(--color-bg);
	border-radius: var(--radius-full);
	box-shadow: var(--shadow-card);
	padding: 4px;
	max-width: 420px;
}

.search-form__input {
	flex: 1;
	border: 0;
	outline: 0;
	background: transparent;
	padding: 10px 16px;
	font-family: var(--font-sans);
	font-size: var(--fs-body);
	color: var(--color-text);
	min-width: 0;
}

.search-form__input::placeholder {
	color: var(--color-text-secondary);
}

.search-form__submit {
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: var(--radius-circle);
	background: var(--color-brand);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0;
	transition: background var(--dur) var(--ease), transform var(--dur-fast) var(--ease);
}

.search-form__submit:hover {
	background: var(--color-brand-deep);
}

.search-form__submit:active {
	transform: scale(0.94);
}

/* =========================
   12. Pagination
   ========================= */

.pagination,
.nav-links {
	margin-top: var(--space-10);
	display: flex;
	justify-content: center;
	align-items: center;
	gap: var(--space-2);
	flex-wrap: wrap;
}

.pagination .page-numbers,
.nav-links .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border-radius: var(--radius-circle);
	background: transparent;
	color: var(--color-text);
	font-size: var(--fs-body);
	font-weight: var(--fw-500);
	transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}

.pagination .page-numbers:hover,
.nav-links .page-numbers:hover {
	background: var(--color-surface-soft);
}

.pagination .page-numbers.current,
.nav-links .page-numbers.current {
	background: var(--color-text);
	color: #fff;
}

/* =========================
   13. 404 / no-results
   ========================= */

.error-404,
.no-results {
	max-width: 620px;
	margin: 0 auto;
	text-align: center;
	padding: var(--space-10) 0;
}

.error-404__kicker {
	margin: 0;
	font-size: clamp(4rem, 12vw, 7rem);
	font-weight: var(--fw-700);
	color: var(--color-brand);
	letter-spacing: var(--track-tight);
	line-height: 1;
}

.error-404__title {
	margin: var(--space-4) 0 var(--space-5);
	font-size: var(--fs-section);
}

.error-404__text {
	color: var(--color-text-secondary);
	margin: 0 0 var(--space-7);
}

.error-404__search {
	display: flex;
	justify-content: center;
	margin-bottom: var(--space-7);
}

.no-results__title {
	font-size: var(--fs-section);
	margin-bottom: var(--space-5);
}

.no-results__body {
	color: var(--color-text-secondary);
}

.no-results__body .search-form {
	margin: var(--space-6) auto 0;
}

/* =========================
   14. Footer
   ========================= */

.site-footer {
	background: var(--color-surface-soft);
	padding: var(--space-10) 0 var(--space-8);
	margin-top: var(--space-11);
	color: var(--color-text-secondary);
}

.site-footer__inner {
	display: grid;
	gap: var(--space-7);
	grid-template-columns: 1fr;
}

@media (min-width: 720px) {
	.site-footer__inner {
		grid-template-columns: 2fr 1fr;
		align-items: start;
	}
}

.site-footer__brand {
	max-width: 420px;
}

.site-footer__title {
	margin: 0 0 var(--space-3);
	font-size: var(--fs-ui);
	font-weight: var(--fw-700);
	color: var(--color-text);
}

.site-footer__description {
	margin: 0;
	font-size: var(--fs-body);
	line-height: 1.55;
}

.site-footer__menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
}

.site-footer__menu a {
	color: var(--color-text);
	font-size: var(--fs-body);
	font-weight: var(--fw-500);
}

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

.site-footer__bottom {
	grid-column: 1 / -1;
	margin: var(--space-8) 0 0;
	padding-top: var(--space-6);
	border-top: 1px solid rgba(0, 0, 0, 0.08);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-6);
	flex-wrap: wrap;
}

.site-footer__copy {
	font-size: var(--fs-small);
	color: var(--color-text-secondary);
	margin: 0;
}

.site-footer__social {
	display: flex;
	align-items: center;
	gap: var(--space-4);
}

.site-footer__social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: var(--radius-circle);
	color: var(--color-text-secondary);
	text-decoration: none;
	transition: color var(--dur) var(--ease-out-brand), background var(--dur) var(--ease-out-brand);
}

.site-footer__social-link:hover {
	color: var(--color-brand);
	background: rgba(255, 56, 92, 0.08);
}

.site-footer__social-link svg {
	width: 18px;
	height: 18px;
}

/* =========================
   15. Responsive
   ========================= */

@media (max-width: 860px) {
	.site-nav__toggle {
		display: inline-flex;
	}

	.site-nav__menu {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--color-bg);
		flex-direction: column;
		align-items: stretch;
		padding: var(--space-4);
		margin-top: 1px;
		box-shadow:
			rgba(0, 0, 0, 0.02) 0 0 0 1px,
			rgba(0, 0, 0, 0.06) 0 8px 24px;
		display: none;
		gap: 0;
	}

	.site-nav[data-open="true"] .site-nav__menu {
		display: flex;
	}

	.site-nav__menu a {
		border-radius: var(--radius-sm);
		padding: 12px 16px;
	}
}

@media (max-width: 540px) {
	:root {
		--container-pad: 18px;
	}

	.site-main {
		padding: var(--space-9) 0;
	}

	.hero {
		padding: var(--space-10) 0 var(--space-9);
	}

	.hero__cta-row {
		flex-direction: column;
		align-items: stretch;
	}

	.hero__cta-row .btn,
	.hero__cta-row .button {
		width: 100%;
		justify-content: center;
	}

	.post-grid {
		grid-template-columns: 1fr;
		gap: var(--space-7);
	}

	.site-description {
		display: none;
	}

	.site-header__inner {
		min-height: 60px;
	}

	.post-single__title {
		font-size: clamp(1.5rem, 5vw + 0.5rem, 2rem);
	}

	.single-layout {
		gap: var(--space-7);
	}
}

/* Yüksek kontrast/odak */
:focus-visible {
	outline: 2px solid var(--color-brand);
	outline-offset: 2px;
	border-radius: 4px;
}

.btn:focus-visible,
.search-form__submit:focus-visible {
	outline-offset: 3px;
}

/* ================================================================
   Yorumlar
   ================================================================ */

.comments-area {
	margin-top: var(--space-6);
	padding-top: var(--space-5);
	border-top: 1px solid var(--color-border);
}

.comments-title {
	font-size: var(--text-xl);
	font-weight: 600;
	margin-bottom: var(--space-5);
}

/* Yorum listesi */
.comment-list {
	list-style: none;
	padding: 0;
	margin: 0 0 var(--space-6);
	display: flex;
	flex-direction: column;
	gap: var(--space-7);
}

.comment-list .comment {
	display: flex;
	gap: var(--space-5);
}

.comment-list .comment-body {
	flex: 1;
}

.comment-list .comment-author {
	display: flex;
	align-items: center;
	gap: var(--space-4);
	margin-bottom: var(--space-3);
}

.comment-list .comment-author img {
	border-radius: 50%;
	flex-shrink: 0;
}

.comment-list .comment-author .fn {
	font-weight: 600;
	font-size: var(--text-sm);
}

.comment-list .comment-metadata {
	font-size: var(--text-xs);
	color: var(--color-muted);
	margin-bottom: var(--space-4);
}

.comment-list .comment-metadata a {
	color: inherit;
	text-decoration: none;
}

.comment-list .comment-content p {
	font-size: var(--text-base);
	line-height: 1.7;
	margin: 0;
}

.comment-list .reply {
	margin-top: var(--space-3);
}

.comment-list .comment-reply-link {
	font-size: var(--text-sm);
	font-weight: 500;
	color: var(--color-brand);
	text-decoration: none;
}

.comment-list .comment-reply-link:hover {
	text-decoration: underline;
}

/* Yorum formu */
.comment-respond {
	margin-top: var(--space-5);
}

.comment-respond .comment-reply-title {
	font-size: var(--text-xl);
	font-weight: 600;
	margin-bottom: var(--space-2);
}

.comment-respond .comment-notes {
	font-size: var(--text-sm);
	color: var(--color-muted);
	margin-bottom: var(--space-4);
}

.comment-form {
	display: flex;
	flex-direction: column;
	gap: var(--space-5);
}

.comment-form__field {
	display: flex;
	flex-direction: column;
	gap: var(--space-2);
	margin: 0;
}

.comment-form__field label {
	font-size: var(--text-sm);
	font-weight: 500;
	color: var(--color-text);
}

.comment-form__field .required {
	color: var(--color-brand);
}

.comment-form__field input[type="text"],
.comment-form__field input[type="email"] {
	width: 100%;
	max-width: 480px;
	padding: var(--space-3) var(--space-4);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	font-size: var(--text-base);
	font-family: var(--font-sans);
	color: var(--color-text);
	background: var(--color-surface);
	transition: border-color 0.15s;
}

.comment-form__field--textarea textarea {
	width: 100%;
	max-width: 720px;
	padding: var(--space-3) var(--space-4);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	font-size: var(--text-base);
	font-family: var(--font-sans);
	color: var(--color-text);
	background: var(--color-surface);
	resize: vertical;
	min-height: 140px;
	transition: border-color 0.15s;
}

.comment-form__field input:focus,
.comment-form__field--textarea textarea:focus {
	outline: none;
	border-color: var(--color-brand);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-brand) 12%, transparent);
}

.comment-form__cookies {
	margin: 0;
	font-size: var(--text-sm);
	color: var(--color-muted);
	display: flex;
	align-items: flex-start;
	gap: var(--space-2);
}

.comment-form__cookies label {
	display: flex;
	align-items: flex-start;
	gap: var(--space-2);
	cursor: pointer;
	line-height: 1.5;
}

.comment-form__cookies input[type="checkbox"] {
	margin-top: 2px;
	accent-color: var(--color-brand);
	flex-shrink: 0;
}

.comment-form .form-submit {
	margin: 0;
}

/* =========================
   Shorts / Yolculuğumuzdan Kesitler
   ========================= */

.shorts {
	padding: var(--space-14) 0 var(--space-16);
	overflow: hidden;
}

.shorts__header {
	margin-bottom: var(--space-8);
}

.shorts__kicker {
	margin: 0 0 var(--space-3);
	font-size: var(--fs-tag);
	font-weight: var(--fw-700);
	letter-spacing: var(--track-micro);
	color: var(--color-brand);
	text-transform: uppercase;
	display: flex;
	align-items: center;
	gap: var(--space-2);
}

.shorts__kicker::before {
	content: '';
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--color-brand);
	flex-shrink: 0;
}

.shorts__title {
	font-family: var(--font-display);
	font-size: clamp(1.75rem, 3vw + 0.5rem, 2.5rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	margin: 0;
	color: var(--color-text);
}

.shorts__outer {
	position: relative;
	display: flex;
	align-items: center;
	gap: var(--space-3);
	padding: 0 max(calc((100vw - var(--container-max, 1200px)) / 2), var(--space-6));
}

.shorts__track {
	display: flex;
	gap: var(--space-5);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	padding-bottom: var(--space-2);
	flex: 1;
}

.shorts__track::-webkit-scrollbar {
	display: none;
}

/* Kart */
.shorts__card {
	flex-shrink: 0;
	width: 240px;
	aspect-ratio: 9 / 14;
	border-radius: var(--radius-lg);
	overflow: hidden;
	position: relative;
	text-decoration: none;
	color: #fff;
	scroll-snap-align: start;
	display: block;
	transition: transform var(--dur) var(--ease-out-brand);
}

.shorts__card:hover {
	transform: translateY(-4px) scale(1.01);
}

.shorts__card:focus-visible {
	outline: 2px solid var(--color-brand);
	outline-offset: 3px;
}

.shorts__card-bg {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.shorts__thumb-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform var(--dur-slow) var(--ease-out-brand);
}

.shorts__card:hover .shorts__thumb-img {
	transform: scale(1.06);
}

/* Karanlık gradient overlay */
.shorts__card::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to bottom,
		rgba(0,0,0,0) 35%,
		rgba(0,0,0,0.85) 100%
	);
	pointer-events: none;
}

.shorts__brand-word {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: clamp(1.25rem, 2.5vw, 2rem);
	letter-spacing: -0.03em;
	text-transform: uppercase;
	text-align: center;
	padding: var(--space-4);
	opacity: 0.9;
	line-height: 1.1;
}

.shorts__type-glyph {
	opacity: 0.3;
}

.shorts__type-glyph svg {
	width: 56px;
	height: 56px;
	stroke: #fff;
}

/* İçerik */
.shorts__card-body {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: var(--space-4) var(--space-4) var(--space-5);
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: var(--space-2);
}

.shorts__type-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: rgba(255,255,255,0.9);
	color: #1a1a1a;
	flex-shrink: 0;
	align-self: flex-start;
}

.shorts__card--video .shorts__type-icon,
.shorts__card--tv    .shorts__type-icon { color: var(--color-brand); }
.shorts__card--podcast .shorts__type-icon { color: #6e3fe0; }

.shorts__card-title {
	margin: 0;
	font-family: var(--font-sans);
	font-size: var(--fs-body);
	font-weight: var(--fw-600);
	line-height: 1.3;
	color: #fff;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.shorts__cta {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: var(--fs-small);
	font-weight: var(--fw-600);
	color: rgba(255,255,255,0.75);
	margin-top: var(--space-1);
}

/* Navigasyon butonları */
.shorts__nav {
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 0;
	background: var(--color-bg);
	box-shadow: var(--shadow-card);
	color: var(--color-text);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background var(--dur) var(--ease-out-brand), transform var(--dur) var(--ease-out-brand);
	z-index: 2;
}

.shorts__nav:hover { background: var(--color-text); color: #fff; }
.shorts__nav:focus-visible { outline: 2px solid var(--color-brand); outline-offset: 2px; }
.shorts__nav[hidden] { display: none; }

.shorts__nav svg { width: 18px; height: 18px; }

@media (max-width: 600px) {
	.shorts__card { width: 200px; }
	.shorts__outer { padding: 0 var(--space-5); }
	.shorts__nav { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	.shorts__card:hover { transform: none; }
	.shorts__card:hover .shorts__thumb-img { transform: none; }
	.shorts__track { scroll-behavior: auto; }
}

/* =========================
   Services / Ne Yapıyorum?
   ========================= */

.services {
	padding: var(--space-14) 0 var(--space-16);
	background: var(--color-surface-soft);
	margin-top: var(--space-6);
}

.services__header {
	text-align: center;
	margin-bottom: var(--space-12);
}

.services__title {
	margin-bottom: var(--space-4);
}

.services__lead {
	max-width: 560px;
	margin: 0 auto;
}

/* Tab bar */
.services__tabbar {
	display: flex;
	justify-content: center;
	background: var(--color-bg);
	border-radius: var(--radius-full);
	padding: 5px;
	gap: 4px;
	box-shadow: var(--shadow-card);
	width: fit-content;
	margin: 0 auto var(--space-10);
}

.services__tab {
	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
	padding: 10px 22px;
	border: none;
	border-radius: var(--radius-full);
	background: transparent;
	color: var(--color-text-secondary);
	font: var(--fw-600) var(--fs-ui) / 1 var(--font-sans);
	cursor: pointer;
	transition:
		background var(--dur) var(--ease-out-brand),
		color var(--dur) var(--ease-out-brand),
		box-shadow var(--dur) var(--ease-out-brand);
	white-space: nowrap;
}

.services__tab svg {
	width: 15px;
	height: 15px;
	flex-shrink: 0;
	opacity: 0.5;
	transition: opacity var(--dur) var(--ease-out-brand);
}

.services__tab[aria-selected="true"] {
	background: var(--color-text);
	color: #fff;
	box-shadow: 0 2px 10px rgba(0,0,0,.18);
}

.services__tab[aria-selected="true"] svg {
	opacity: 1;
}

.services__tab:hover:not([aria-selected="true"]) {
	background: var(--color-surface-muted);
	color: var(--color-text);
}

.services__tab:focus-visible {
	outline: 2px solid var(--color-brand);
	outline-offset: 2px;
}

/* Panel */
.services__panels {
	position: relative;
}

.services__panel {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--space-12);
	align-items: center;
	animation: svc-fade-in 260ms var(--ease-out-brand) both;
}

.services__panel[hidden] {
	display: none;
}

@keyframes svc-fade-in {
	from { opacity: 0; transform: translateY(10px); }
	to   { opacity: 1; transform: translateY(0); }
}

.services__panel-tag {
	display: inline-block;
	padding: 5px 14px;
	border: 1.5px solid var(--color-text);
	border-radius: var(--radius-full);
	font-size: var(--fs-small);
	font-weight: var(--fw-700);
	letter-spacing: 0.04em;
	color: var(--color-text);
	margin-bottom: var(--space-5);
}

.services__panel-title {
	font-family: var(--font-display);
	font-size: clamp(2.5rem, 5vw + 1rem, 4.5rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.05;
	margin: 0 0 15px;
	color: var(--color-text);
}

.services__panel-list {
	list-style: disc;
	padding-left: 1.25em;
	margin: 0 0 var(--space-7);
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
	color: var(--color-text-secondary);
	font-size: var(--fs-body);
	line-height: 1.5;
}

.services__panel-list li::marker {
	color: var(--color-brand);
}

.services__panel-cta {
	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
}

.services__panel-cta svg {
	width: 16px;
	height: 16px;
}

/* Sağ dekoratif panel */
.services__panel-visual {
	aspect-ratio: 4 / 3;
	border-radius: var(--radius-lg);
	overflow: hidden;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}

.services__panel-visual--1 {
	background: linear-gradient(135deg, var(--color-brand) 0%, #ff7043 100%);
}

.services__panel-visual--2 {
	background: linear-gradient(135deg, #0D3B8E 0%, #1565c0 100%);
}

.services__panel-visual--3 {
	background: linear-gradient(135deg, #1a1a2e 0%, #2d3748 100%);
}

.services__visual-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.services__visual-word {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: clamp(2rem, 5vw + 1rem, 5rem);
	letter-spacing: -0.04em;
	color: rgba(255,255,255,0.15);
	text-transform: uppercase;
	text-align: center;
	padding: var(--space-6);
	line-height: 1;
	user-select: none;
}

/* Mobil */
@media (max-width: 768px) {
	.services__panel {
		grid-template-columns: 1fr;
		gap: var(--space-7);
	}

	.services__panel-visual {
		aspect-ratio: 16 / 7;
	}

	.services__tabbar {
		gap: 2px;
		padding: 4px;
	}

	.services__tab {
		padding: 8px 14px;
		font-size: var(--fs-small);
	}

	.services__tab svg {
		display: none;
	}
}

/* =========================
   Posts Slider / Son Yazılar
   ========================= */

.site-main {
	padding: var(--space-11) 0;
}

.posts-slider__header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--space-6);
	margin-bottom: var(--space-8);
}

.posts-slider__all {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
	white-space: nowrap;
}

.posts-slider__view-all {
	text-align: center;
	margin-top: var(--space-8);
	margin-bottom: 0;
}

.posts-slider__view-all a {
	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
	font-weight: 700;
	font-size: var(--text-sm);
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--color-text);
	text-decoration: none;
	border-bottom: 2px solid currentColor;
	padding-bottom: 2px;
	transition: color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}

.posts-slider__view-all a:hover {
	color: var(--color-accent);
	border-color: var(--color-accent);
}

.posts-slider__outer {
	position: relative;
	display: flex;
	align-items: center;
	gap: var(--space-3);
	padding: 0 max(calc((100vw - var(--container-max, 1200px)) / 2), var(--space-6));
}

.posts-slider__track {
	display: flex;
	gap: var(--space-6);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	padding-bottom: var(--space-3);
	flex: 1;
}

.posts-slider__track::-webkit-scrollbar {
	display: none;
}

.post-slide {
	flex-shrink: 0;
	width: 280px;
	scroll-snap-align: start;
	background: var(--color-bg);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-card);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform var(--dur) var(--ease-out-brand), box-shadow var(--dur) var(--ease-out-brand);
}

.post-slide:hover {
	transform: translateY(-3px);
	box-shadow:
		rgba(0,0,0,0.02) 0 0 0 1px,
		rgba(0,0,0,0.08) 0 8px 18px,
		rgba(0,0,0,0.12) 0 16px 28px;
}

.post-slide__thumb {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	flex-shrink: 0;
}

.post-slide__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform var(--dur-slow) var(--ease-out-brand);
}

.post-slide:hover .post-slide__thumb img {
	transform: scale(1.04);
}

.post-slide__body {
	padding: var(--space-5) var(--space-6) var(--space-6);
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
	flex: 1;
}

.post-slide__kicker {
	margin: 0;
	font-size: var(--fs-tag);
	font-weight: var(--fw-700);
	letter-spacing: var(--track-micro);
	color: var(--color-brand);
	text-transform: uppercase;
}

.post-slide__title {
	margin: 0;
	font-size: var(--fs-ui);
	font-weight: var(--fw-700);
	line-height: 1.35;
	letter-spacing: var(--track-soft);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.post-slide__title a {
	color: var(--color-text);
	text-decoration: none;
}

.post-slide__title a:hover { color: var(--color-brand); }

.post-slide__excerpt {
	margin: 0;
	font-size: var(--fs-small);
	color: var(--color-text-secondary);
	line-height: 1.55;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.post-slide__meta {
	margin: auto 0 0;
	font-size: var(--fs-small);
	color: var(--color-text-secondary);
}

.posts-slider__nav {
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 0;
	background: var(--color-bg);
	box-shadow: var(--shadow-card);
	color: var(--color-text);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background var(--dur) var(--ease-out-brand);
	z-index: 2;
}

.posts-slider__nav:hover { background: var(--color-text); color: #fff; }
.posts-slider__nav:focus-visible { outline: 2px solid var(--color-brand); outline-offset: 2px; }
.posts-slider__nav[hidden] { display: none; }
.posts-slider__nav svg { width: 18px; height: 18px; }

@media (max-width: 600px) {
	.post-slide { width: 240px; }
	.posts-slider__outer { padding: 0 var(--space-5); }
	.posts-slider__nav { display: none; }
	.posts-slider__header { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
	.post-slide:hover { transform: none; }
	.post-slide:hover .post-slide__thumb img { transform: none; }
	.posts-slider__track { scroll-behavior: auto; }
}

/* =========================
   Yazılarım sayfası
   ========================= */

.site-main--yazilarim {
	padding: var(--space-11) 0 var(--space-14);
}

.yazilarim__layout {
	display: grid;
	grid-template-columns: 1fr 300px;
	gap: var(--space-12);
	align-items: start;
	margin-top: var(--space-10);
}

/* ── Yazı kartları ── */
.yazilarim__list {
	display: flex;
	flex-direction: column;
	gap: var(--space-9);
}

.yazi-card {
	display: grid;
	grid-template-columns: 220px 1fr;
	gap: var(--space-8);
	background: var(--color-surface);
	border-radius: var(--radius-lg);
	overflow: hidden;
	transition: box-shadow var(--dur) var(--ease-out);
}

.yazi-card:hover {
	box-shadow: var(--shadow-card);
}

.yazi-card__thumb {
	display: block;
	overflow: hidden;
	flex-shrink: 0;
}

.yazi-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform var(--dur) var(--ease-out);
}

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

.yazi-card__body {
	padding: var(--space-8) var(--space-8) var(--space-8) 0;
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
}

.yazi-card__kicker {
	font-size: var(--text-xs, 11px);
	font-weight: 700;
	letter-spacing: 0.08em;
	color: var(--color-brand);
	margin: 0;
}

.yazi-card__title {
	font-size: var(--fs-h3, 1.2rem);
	font-weight: 700;
	margin: 0;
	line-height: 1.3;
}

.yazi-card__title a {
	color: inherit;
	text-decoration: none;
}

.yazi-card__title a:hover {
	color: var(--color-brand);
}

.yazi-card__excerpt {
	font-size: var(--fs-small, 0.9rem);
	color: var(--color-text-muted);
	margin: 0;
	line-height: 1.6;
}

.yazi-card__meta {
	font-size: var(--fs-small, 0.875rem);
	color: var(--color-text-muted);
	margin: 0;
	margin-top: auto;
}

/* Thumbnail'siz kart */
.yazi-card:not(:has(.yazi-card__thumb)) {
	grid-template-columns: 1fr;
}

.yazi-card:not(:has(.yazi-card__thumb)) .yazi-card__body {
	padding: var(--space-8);
}

/* ── Sayfalama ── */
.yazilarim__pagination {
	margin-top: var(--space-10);
}

.yazilarim__empty {
	color: var(--color-text-muted);
}

/* ── Sidebar ── */
.yazilarim__sidebar {
	position: sticky;
	top: calc(var(--nav-h, 64px) + var(--space-8));
	display: flex;
	flex-direction: column;
	gap: var(--space-9);
}

.sidebar-widget {
	background: var(--color-surface);
	border-radius: var(--radius-lg);
	padding: var(--space-8);
}

.sidebar-widget__title {
	font-size: var(--fs-small, 0.875rem);
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	margin: 0 0 var(--space-7);
	color: var(--color-text-muted);
}

/* Arama formu */
.search-form__input {
	width: 100%;
	padding: 10px var(--space-8);
	border: 1.5px solid var(--color-border, #e5e5e5);
	border-radius: var(--radius-md);
	font-family: inherit;
	font-size: var(--fs-body);
	background: var(--color-bg);
	color: var(--color-text);
	transition: border-color var(--dur-fast) var(--ease-out);
	box-sizing: border-box;
}

.search-form__input:focus {
	outline: none;
	border-color: var(--color-brand);
}

.search-form {
	display: flex;
	gap: var(--space-4);
}

.search-form__submit,
.search-form__btn {
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	border: none;
	background: var(--color-brand);
	color: #fff;
	border-radius: var(--radius-md);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background var(--dur-fast) var(--ease-out);
}

.search-form__submit:hover,
.search-form__btn:hover {
	background: var(--color-text);
}

/* Kategoriler */
.sidebar-widget__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.sidebar-widget__list li a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 8px var(--space-6);
	border-radius: var(--radius-sm);
	font-size: var(--fs-small, 0.9rem);
	color: var(--color-text);
	text-decoration: none;
	transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}

.sidebar-widget__list li a:hover {
	background: var(--color-brand);
	color: #fff;
}

.sidebar-widget__count {
	font-size: 11px;
	font-weight: 600;
	background: var(--color-bg);
	color: var(--color-text-muted);
	border-radius: 20px;
	padding: 1px 8px;
	transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}

.sidebar-widget__list li a:hover .sidebar-widget__count {
	background: rgba(255,255,255,0.25);
	color: #fff;
}

/* En çok okunan */
.sidebar-widget__popular {
	list-style: none;
	margin: 0;
	padding: 0;
	counter-reset: none;
	display: flex;
	flex-direction: column;
	gap: var(--space-7);
}

.sidebar-widget__popular-item {
	display: flex;
	align-items: flex-start;
	gap: var(--space-6);
}

.sidebar-widget__rank {
	flex-shrink: 0;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--color-brand);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 2px;
}

.sidebar-widget__popular-title {
	display: block;
	font-size: var(--fs-small, 0.875rem);
	font-weight: 600;
	color: var(--color-text);
	text-decoration: none;
	line-height: 1.4;
	transition: color var(--dur-fast) var(--ease-out);
}

.sidebar-widget__popular-title:hover {
	color: var(--color-brand);
}

.sidebar-widget__views {
	display: block;
	font-size: 11px;
	color: var(--color-text-muted);
	margin-top: 2px;
}

/* ── Responsive ── */
@media (max-width: 900px) {
	.yazilarim__layout {
		grid-template-columns: 1fr;
	}

	.yazilarim__sidebar {
		position: static;
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
		gap: var(--space-7);
	}
}

@media (max-width: 640px) {
	.yazi-card {
		grid-template-columns: 1fr;
	}

	.yazi-card__thumb {
		height: 180px;
	}

	.yazi-card__body {
		padding: var(--space-7);
	}

	.yazilarim__sidebar {
		grid-template-columns: 1fr;
	}
}

/* =========================
   Credly rozet
   ========================= */

.hero__badge {
	margin: var(--space-5, 1rem) 0 0;
}

.ozgecmis__badge {
	display: flex;
	justify-content: center;
	margin-top: var(--space-6, 1.5rem);
}

.site-footer__badge {
	display: inline-block;
	margin-top: var(--space-4, 0.75rem);
}

.hero__badge img,
.ozgecmis__badge img,
.site-footer__badge img {
	display: block;
	border-radius: 4px;
	transition: opacity 0.2s ease;
}

.hero__badge a:hover img,
.ozgecmis__badge:hover img,
.site-footer__badge:hover img {
	opacity: 0.75;
}

.ozgecmis__name,
.ozgecmis__role {
	text-align: center;
}
