/**
 * Blog yazısı (single post) tasarımı — demirdükkanı
 *
 * Karakter: sanayi / kurumsal net.
 * Keskin köşeler, net çerçeveler, turuncu (#DB4A2B) sadece vurgu olarak.
 *
 * Bu dosya SADECE tekil blog yazılarında yüklenir.
 * Ana sayfa, hizmetler, ürünler sayfaları etkilenmez.
 */

.ddb-post {
	--ddb-primary: #db4a2b;
	--ddb-primary-dark: #b93a1e;
	--ddb-ink: #101010;
	--ddb-text: #3c3c3c;
	--ddb-muted: #7c7c85;
	--ddb-border: #e2e1e7;
	--ddb-border-strong: #cfced6;
	--ddb-surface: #ffffff;
	--ddb-surface-2: #f7f6fa;
	--ddb-dark: #131316;

	--ddb-wrap: 1200px;
	--ddb-rail-w: 320px;
	--ddb-gap: 72px;
	--ddb-offset: 120px;

	--ddb-font: var( --e-global-typography-text-font-family, "Mona Sans", Helvetica, Arial, sans-serif );
}

/* ---------------------------------------------------------------
   1. Sayfa iskeleti — temanın float/sidebar düzenini devre dışı bırak
   --------------------------------------------------------------- */

.single-post .ddb-content-area {
	width: 100%;
	float: none;
	margin: 0;
}

.single-post #secondary,
.single-post .widget-area {
	display: none;
}

.single-post .site-content {
	margin: 40px auto 100px;
}

.ddb-post {
	font-family: var( --ddb-font );
	color: var( --ddb-text );
	max-width: var( --ddb-wrap );
	margin: 0 auto;
}

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

/* ---------------------------------------------------------------
   2. Üst blok — breadcrumb, kategori, başlık, meta, görsel
   --------------------------------------------------------------- */

.ddb-hero {
	background: var( --ddb-surface );
	border: 1px solid var( --ddb-border );
	padding: 44px 56px 0;
	margin-bottom: 56px;
}

.ddb-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	color: var( --ddb-muted );
	margin-bottom: 26px;
}

.ddb-breadcrumb a {
	color: var( --ddb-muted );
	text-decoration: none;
	transition: color 0.2s ease;
}

.ddb-breadcrumb a:hover {
	color: var( --ddb-primary );
}

.ddb-breadcrumb-current {
	color: var( --ddb-ink );
}

.ddb-chip {
	display: inline-block;
	padding: 7px 14px;
	background: var( --ddb-primary );
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	text-decoration: none;
	line-height: 1;
	border: 1px solid var( --ddb-primary );
	transition: background 0.2s ease;
}

.ddb-chip:hover {
	background: var( --ddb-primary-dark );
	color: #fff;
}

.ddb-chip--outline {
	background: transparent;
	color: var( --ddb-text );
	border-color: var( --ddb-border-strong );
	font-weight: 500;
	letter-spacing: 0.02em;
	text-transform: none;
	font-size: 13px;
}

.ddb-chip--outline:hover {
	background: var( --ddb-ink );
	border-color: var( --ddb-ink );
	color: #fff;
}

.ddb-chip--muted {
	background: var( --ddb-surface-2 );
	color: var( --ddb-muted );
	border-color: var( --ddb-border );
	font-size: 11px;
}

.ddb-hero-title {
	font-size: clamp( 30px, 3.4vw, 46px );
	line-height: 1.15;
	letter-spacing: -0.02em;
	font-weight: 600;
	color: var( --ddb-ink );
	margin: 20px 0 0;
	max-width: 20ch;
	max-width: min( 100%, 22ch );
}

.ddb-hero-excerpt {
	font-size: 19px;
	line-height: 1.65;
	color: var( --ddb-muted );
	margin: 18px 0 0;
	max-width: 68ch;
}

.ddb-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
	margin-top: 26px;
	padding-bottom: 34px;
	font-size: 15px;
	color: var( --ddb-muted );
}

.ddb-meta-item {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.ddb-meta-author {
	color: var( --ddb-ink );
	font-weight: 500;
}

.ddb-avatar {
	border-radius: 50%;
	width: 32px;
	height: 32px;
}

.ddb-meta-sep {
	width: 4px;
	height: 4px;
	background: var( --ddb-border-strong );
	display: inline-block;
}

.ddb-hero-media {
	margin: 0 -56px;
	line-height: 0;
	border-top: 1px solid var( --ddb-border );
}

.ddb-hero-media img {
	width: 100%;
	height: auto;
	display: block;
	max-height: 520px;
	object-fit: cover;
}

/* ---------------------------------------------------------------
   3. İki kolonlu düzen: içerik + yapışkan panel
   --------------------------------------------------------------- */

.ddb-layout {
	display: grid;
	grid-template-columns: minmax( 0, 1fr ) var( --ddb-rail-w );
	gap: var( --ddb-gap );
	align-items: start;
}

.ddb-layout--single {
	grid-template-columns: minmax( 0, 1fr );
	max-width: 840px;
	margin: 0 auto;
}

.ddb-main {
	min-width: 0;
}

.ddb-rail {
	position: sticky;
	top: var( --ddb-offset );
}

.ddb-rail-inner {
	display: flex;
	flex-direction: column;
	gap: 24px;
	max-height: calc( 100vh - var( --ddb-offset ) - 40px );
	overflow-y: auto;
	overscroll-behavior: contain;
	scrollbar-width: thin;
}

/* ---------------------------------------------------------------
   4. İçindekiler
   --------------------------------------------------------------- */

.ddb-toc {
	background: var( --ddb-surface );
	border: 1px solid var( --ddb-border );
	padding: 24px 24px 20px;
}

.ddb-toc-title {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var( --ddb-ink );
	margin: 0 0 16px;
	padding-left: 14px;
	line-height: 1.2;
	position: relative;
}

.ddb-toc-title::before {
	content: "";
	position: absolute;
	left: 0;
	top: 1px;
	width: 4px;
	height: 12px;
	background: var( --ddb-primary );
}

.ddb-toc-list {
	list-style: none;
	margin: 0;
	padding: 0;
	counter-reset: none;
}

.ddb-toc-item {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ddb-toc-item::marker,
.ddb-toc-item::before {
	content: none;
}

.ddb-toc-item a {
	display: block;
	padding: 8px 0 8px 14px;
	font-size: 14.5px;
	line-height: 1.45;
	color: var( --ddb-muted );
	text-decoration: none;
	border-left: 2px solid transparent;
	transition: color 0.18s ease, border-color 0.18s ease;
}

.ddb-toc-item a:hover {
	color: var( --ddb-ink );
	border-left-color: var( --ddb-border-strong );
}

.ddb-toc-h3 a {
	padding-left: 28px;
	font-size: 13.5px;
}

.ddb-toc-item.is-active > a {
	color: var( --ddb-primary );
	font-weight: 600;
	border-left-color: var( --ddb-primary );
}

/* Mobil içindekiler (açılır) */
.ddb-toc--mobile {
	display: none;
	margin-bottom: 36px;
	padding: 0;
}

.ddb-toc--mobile > summary {
	cursor: pointer;
	list-style: none;
	padding: 18px 22px;
	margin: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.ddb-toc--mobile > summary::-webkit-details-marker {
	display: none;
}

.ddb-toc--mobile > summary::after {
	content: "+";
	font-size: 20px;
	font-weight: 400;
	color: var( --ddb-primary );
	line-height: 1;
	letter-spacing: 0;
}

.ddb-toc--mobile[open] > summary::after {
	content: "–";
}

.ddb-toc--mobile .ddb-toc-list {
	padding: 0 22px 16px;
}

/* ---------------------------------------------------------------
   5. İÇERİK TİPOGRAFİSİ — asıl düzeltme burada
   --------------------------------------------------------------- */

.ddb-content {
	background: var( --ddb-surface );
	border: 1px solid var( --ddb-border );
	padding: 48px 56px;
	font-size: 18px;
	line-height: 1.78;
	color: var( --ddb-text );
	max-width: 100%;
	overflow-wrap: break-word;
}

/* Elementor konteynerlerini okuma kolonuna sığdır */
.ddb-content .elementor,
.ddb-content .e-con,
.ddb-content .e-con-inner,
.ddb-content .elementor-widget-container {
	max-width: 100%;
	width: 100%;
}

/*
 * Elementor konteynerleri flex; flex öğelerinin varsayılan min-width:auto
 * değeri geniş tabloların genişliğini yukarı taşıyor ve dar ekranda
 * sayfayı taşırıyor. min-width:0 bunu keser.
 */
.ddb-content .elementor,
.ddb-content .e-con,
.ddb-content .e-con-inner,
.ddb-content .elementor-widget,
.ddb-content .elementor-widget-container,
.ddb-content .e-n-accordion,
.ddb-content .e-n-accordion-item {
	min-width: 0;
}

.ddb-content > .elementor > .e-con,
.ddb-content .e-con.e-parent {
	--container-max-width: 100%;
	padding-left: 0;
	padding-right: 0;
	margin-left: 0;
	margin-right: 0;
}

.ddb-content .e-con > .e-con-inner {
	max-width: 100%;
	padding-left: 0;
	padding-right: 0;
}

/* Başlıklar — temanın hero ölçeğini (clamp 52-80px) burada eziyoruz */
.ddb-content h1,
.ddb-content h2,
.ddb-content h3,
.ddb-content h4,
.ddb-content h5,
.ddb-content h6 {
	font-family: var( --ddb-font );
	color: var( --ddb-ink );
	font-weight: 600;
	letter-spacing: -0.015em;
	scroll-margin-top: calc( var( --ddb-offset ) + 20px );
}

.ddb-content h1,
.ddb-content h2 {
	font-size: 34px;
	line-height: 1.25;
	margin: 3rem 0 1.1rem;
	padding-left: 20px;
	position: relative;
	clear: none;
}

.ddb-content h1::before,
.ddb-content h2::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.28em;
	width: 5px;
	height: 0.82em;
	background: var( --ddb-primary );
}

.ddb-content h3 {
	font-size: 24px;
	line-height: 1.35;
	margin: 2.4rem 0 0.85rem;
	letter-spacing: -0.01em;
}

.ddb-content h4 {
	font-size: 20px;
	line-height: 1.4;
	margin: 2rem 0 0.7rem;
	letter-spacing: -0.005em;
}

.ddb-content h5 {
	font-size: 17.5px;
	line-height: 1.45;
	margin: 1.8rem 0 0.6rem;
	letter-spacing: 0;
}

.ddb-content h6 {
	font-size: 15px;
	line-height: 1.5;
	margin: 1.6rem 0 0.6rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var( --ddb-muted );
}

.ddb-content > *:first-child,
.ddb-content .elementor-widget-text-editor > .elementor-widget-container > *:first-child {
	margin-top: 0;
}

/* Paragraflar */
.ddb-content p {
	margin: 0 0 1.4rem;
	max-width: 76ch;
}

.ddb-content p:last-child {
	margin-bottom: 0;
}

.ddb-content strong,
.ddb-content b {
	color: var( --ddb-ink );
	font-weight: 600;
}

/* Bağlantılar */
.ddb-content a:not(.ddb-btn):not(.ddb-chip) {
	color: var( --ddb-primary );
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	transition: color 0.2s ease, background 0.2s ease;
}

.ddb-content a:not(.ddb-btn):not(.ddb-chip):hover {
	color: var( --ddb-primary-dark );
	background: rgba( 219, 74, 43, 0.08 );
}

/* Listeler */
.ddb-content ul,
.ddb-content ol {
	margin: 0 0 1.6rem;
	padding-left: 0;
	list-style: none;
	max-width: 76ch;
}

.ddb-content ul li,
.ddb-content ol li {
	position: relative;
	padding-left: 30px;
	margin-bottom: 12px;
	line-height: 1.7;
	list-style: none;
}

.ddb-content ul li::marker,
.ddb-content ol li::marker {
	content: none;
}

.ddb-content ul li::before {
	content: "";
	position: absolute;
	left: 3px;
	top: 0.62em;
	width: 8px;
	height: 8px;
	background: var( --ddb-primary );
}

.ddb-content ol {
	counter-reset: ddb-ol;
}

.ddb-content ol > li {
	counter-increment: ddb-ol;
	padding-left: 38px;
}

.ddb-content ol > li::before {
	content: counter( ddb-ol ) ".";
	position: absolute;
	left: 0;
	top: 0;
	font-weight: 700;
	font-size: 15px;
	line-height: 1.95;
	color: var( --ddb-primary );
	font-variant-numeric: tabular-nums;
}

.ddb-content li > ul,
.ddb-content li > ol {
	margin: 12px 0 4px;
}

.ddb-content li:last-child {
	margin-bottom: 0;
}

/* Alıntı */
.ddb-content blockquote {
	margin: 2.2rem 0;
	padding: 26px 30px;
	background: var( --ddb-surface-2 );
	border-left: 4px solid var( --ddb-primary );
	font-size: 19px;
	line-height: 1.7;
	color: var( --ddb-ink );
	font-style: normal;
	quotes: none;
}

.ddb-content blockquote p:last-child {
	margin-bottom: 0;
}

.ddb-content blockquote cite {
	display: block;
	margin-top: 14px;
	font-size: 14px;
	font-style: normal;
	color: var( --ddb-muted );
}

/* Tablolar */
.ddb-content figure.wp-block-table,
.ddb-content .ddb-table-scroll {
	margin: 2.2rem 0;
	max-width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	border: 1px solid var( --ddb-border );
}

.ddb-content table {
	width: 100%;
	min-width: 480px;
	border-collapse: collapse;
	font-size: 16px;
	line-height: 1.6;
	margin: 0;
	border: 0;
	background: var( --ddb-surface );
}

.ddb-content figure.wp-block-table table,
.ddb-content .ddb-table-scroll table {
	border: 0;
}

.ddb-content table th,
.ddb-content table td {
	padding: 14px 20px;
	border: 1px solid var( --ddb-border );
	text-align: left;
	vertical-align: top;
}

.ddb-content table thead th {
	background: var( --ddb-dark );
	color: #fff;
	font-weight: 600;
	font-size: 13.5px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	border-color: var( --ddb-dark );
	white-space: nowrap;
}

/* İçerik <th><strong>…</strong></th> şeklinde girilirse de başlık beyaz kalsın */
.ddb-content table thead th *,
.ddb-content table thead th strong,
.ddb-content table thead th b,
.ddb-content table thead th a {
	color: inherit;
	font-weight: inherit;
}

.ddb-content table tbody tr:nth-child( even ) {
	background: #fafafc;
}

.ddb-content table tbody tr:hover {
	background: #fff5f2;
}

.ddb-content table td strong {
	color: var( --ddb-ink );
}

.ddb-content figure.wp-block-table figcaption,
.ddb-content .wp-element-caption {
	padding: 12px 20px;
	font-size: 14px;
	color: var( --ddb-muted );
	background: var( --ddb-surface-2 );
	border-top: 1px solid var( --ddb-border );
	margin: 0;
	text-align: left;
}

/* Görseller */
.ddb-content img {
	max-width: 100%;
	height: auto;
	display: block;
}

.ddb-content figure:not(.wp-block-table) {
	margin: 2.2rem 0;
}

.ddb-content figure:not(.wp-block-table) img {
	border: 1px solid var( --ddb-border );
	width: 100%;
}

.ddb-content figure:not(.wp-block-table) figcaption {
	margin-top: 12px;
	font-size: 14px;
	line-height: 1.6;
	color: var( --ddb-muted );
	padding-left: 14px;
	border-left: 2px solid var( --ddb-primary );
}

/* Ayraç */
.ddb-content hr {
	border: 0;
	border-top: 1px solid var( --ddb-border );
	margin: 2.6rem 0;
	height: 0;
	background: none;
}

/* Kod */
.ddb-content code {
	background: var( --ddb-surface-2 );
	border: 1px solid var( --ddb-border );
	padding: 2px 7px;
	font-size: 15px;
	color: var( --ddb-ink );
}

.ddb-content pre {
	background: var( --ddb-dark );
	color: #f2f1f6;
	padding: 22px 24px;
	overflow-x: auto;
	font-size: 14.5px;
	line-height: 1.7;
	margin: 2rem 0;
}

.ddb-content pre code {
	background: none;
	border: 0;
	padding: 0;
	color: inherit;
}

/* ---------------------------------------------------------------
   6. SSS akordeonu (Elementor nested accordion)
   --------------------------------------------------------------- */

.ddb-content .e-n-accordion {
	margin: 1.4rem 0 0;
}

/*
 * SSS başlığı içeriğe çoğunlukla <p><b>Sıkça Sorulan Sorular</b></p> olarak
 * giriliyor. Akordeonun hemen üstündeki paragrafı bölüm başlığı gibi biçimle,
 * böylece nasıl girilirse girilsin doğru görünür.
 */
.ddb-content .elementor-widget-text-editor:has( + .elementor-widget-n-accordion ) p,
.ddb-content .elementor-widget-text-editor:has( + .elementor-widget-accordion ) p {
	font-size: 24px;
	line-height: 1.35;
	font-weight: 600;
	letter-spacing: -0.01em;
	color: var( --ddb-ink );
	margin: 2.6rem 0 1.2rem;
	padding-left: 18px;
	position: relative;
	max-width: 100%;
}

.ddb-content .elementor-widget-text-editor:has( + .elementor-widget-n-accordion ) p::before,
.ddb-content .elementor-widget-text-editor:has( + .elementor-widget-accordion ) p::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.22em;
	width: 5px;
	height: 0.86em;
	background: var( --ddb-primary );
}

.ddb-content .elementor-widget-text-editor:has( + .elementor-widget-n-accordion ) p b,
.ddb-content .elementor-widget-text-editor:has( + .elementor-widget-n-accordion ) p strong,
.ddb-content .elementor-widget-text-editor:has( + .elementor-widget-accordion ) p b,
.ddb-content .elementor-widget-text-editor:has( + .elementor-widget-accordion ) p strong {
	font-weight: inherit;
	color: inherit;
}

.ddb-content .e-n-accordion-item {
	border: 1px solid var( --ddb-border );
	background: var( --ddb-surface );
	margin-bottom: -1px;
}

.ddb-content .e-n-accordion-item summary.e-n-accordion-item-title {
	padding: 20px 24px;
	cursor: pointer;
	background: transparent;
	border: 0;
	transition: background 0.2s ease;
}

.ddb-content .e-n-accordion-item summary.e-n-accordion-item-title:hover {
	background: var( --ddb-surface-2 );
}

.ddb-content .e-n-accordion-item[open] > summary.e-n-accordion-item-title {
	background: var( --ddb-surface-2 );
	border-bottom: 1px solid var( --ddb-border );
}

.ddb-content .e-n-accordion-item-title-text {
	font-size: 17.5px;
	font-weight: 600;
	line-height: 1.5;
	color: var( --ddb-ink );
	letter-spacing: -0.005em;
}

.ddb-content .e-n-accordion-item-title-icon svg,
.ddb-content .e-n-accordion-item-title-icon i {
	color: var( --ddb-primary );
	fill: var( --ddb-primary );
}

.ddb-content .e-n-accordion-item > .e-con {
	padding: 22px 24px 6px;
}

.ddb-content .e-n-accordion-item > .e-con p {
	font-size: 17px;
}

/* ---------------------------------------------------------------
   7. Butonlar
   --------------------------------------------------------------- */

.ddb-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 15px 26px;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.01em;
	line-height: 1.2;
	text-decoration: none;
	border: 1px solid transparent;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
	white-space: nowrap;
}

.ddb-btn--primary {
	background: var( --ddb-primary );
	border-color: var( --ddb-primary );
	color: #fff;
}

.ddb-btn--primary:hover {
	background: var( --ddb-primary-dark );
	border-color: var( --ddb-primary-dark );
	color: #fff;
}

.ddb-btn--ghost {
	background: transparent;
	border-color: rgba( 255, 255, 255, 0.35 );
	color: #fff;
}

.ddb-btn--ghost:hover {
	background: #fff;
	border-color: #fff;
	color: var( --ddb-ink );
}

/* ---------------------------------------------------------------
   8. Yan panel teklif kutusu
   --------------------------------------------------------------- */

.ddb-cta-card {
	background: var( --ddb-dark );
	border: 1px solid var( --ddb-dark );
	padding: 26px 24px 24px;
	color: #fff;
}

.ddb-cta-card-eyebrow {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var( --ddb-primary );
	margin: 0 0 12px;
}

.ddb-cta-card-title {
	font-size: 17px;
	line-height: 1.5;
	font-weight: 500;
	color: #fff;
	margin: 0 0 20px;
}

.ddb-cta-card .ddb-btn {
	width: 100%;
}

.ddb-cta-card-phone {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	margin-top: 14px;
	font-size: 15px;
	font-weight: 600;
	color: #fff;
	text-decoration: none;
	padding: 11px;
	border: 1px solid rgba( 255, 255, 255, 0.2 );
	transition: border-color 0.2s ease, color 0.2s ease;
}

.ddb-cta-card-phone:hover {
	border-color: var( --ddb-primary );
	color: var( --ddb-primary );
}

/* ---------------------------------------------------------------
   9. Etiketler, paylaşım, alt CTA
   --------------------------------------------------------------- */

.ddb-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 32px;
}

.ddb-share {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 28px;
	padding-top: 28px;
	border-top: 1px solid var( --ddb-border );
}

.ddb-share-label {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var( --ddb-muted );
	margin-right: 6px;
}

.ddb-share-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	position: relative;
	width: 42px;
	height: 42px;
	background: var( --ddb-surface );
	border: 1px solid var( --ddb-border-strong );
	color: var( --ddb-ink );
	cursor: pointer;
	padding: 0;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.ddb-share-btn:hover {
	background: var( --ddb-ink );
	border-color: var( --ddb-ink );
	color: #fff;
}

.ddb-share-copied {
	position: absolute;
	bottom: calc( 100% + 8px );
	left: 50%;
	transform: translateX( -50% );
	background: var( --ddb-ink );
	color: #fff;
	font-size: 12px;
	padding: 5px 10px;
	white-space: nowrap;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease;
}

.ddb-share-copy.is-copied .ddb-share-copied {
	opacity: 1;
}

.ddb-cta-band {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	margin-top: 44px;
	padding: 40px 44px;
	background: var( --ddb-dark );
	color: #fff;
	position: relative;
}

.ddb-cta-band::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 5px;
	background: var( --ddb-primary );
}

.ddb-cta-band-text {
	flex: 1 1 340px;
	min-width: 0;
}

.ddb-cta-band-title {
	font-size: 26px;
	line-height: 1.3;
	font-weight: 600;
	letter-spacing: -0.015em;
	color: #fff;
	margin: 0 0 10px;
}

.ddb-cta-band-desc {
	font-size: 16px;
	line-height: 1.65;
	color: rgba( 255, 255, 255, 0.72 );
	margin: 0;
	max-width: 56ch;
}

.ddb-cta-band-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

/* ---------------------------------------------------------------
   10. İlgili yazılar
   --------------------------------------------------------------- */

.ddb-section-title {
	font-size: 26px;
	line-height: 1.3;
	font-weight: 600;
	letter-spacing: -0.015em;
	color: var( --ddb-ink );
	margin: 0 0 26px;
	padding-left: 18px;
	position: relative;
}

.ddb-section-title::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.24em;
	width: 5px;
	height: 0.84em;
	background: var( --ddb-primary );
}

.ddb-related {
	margin-top: 80px;
	padding-top: 56px;
	border-top: 1px solid var( --ddb-border );
}

.ddb-related-grid {
	display: grid;
	grid-template-columns: repeat( 3, minmax( 0, 1fr ) );
	gap: 26px;
}

.ddb-card {
	background: var( --ddb-surface );
	border: 1px solid var( --ddb-border );
	transition: border-color 0.2s ease;
}

.ddb-card:hover {
	border-color: var( --ddb-primary );
}

.ddb-card-link {
	display: block;
	text-decoration: none;
	color: inherit;
	height: 100%;
}

.ddb-card-media {
	line-height: 0;
	overflow: hidden;
	background: var( --ddb-surface-2 );
	aspect-ratio: 16 / 10;
}

.ddb-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.ddb-card:hover .ddb-card-media img {
	transform: scale( 1.04 );
}

.ddb-card-media-empty {
	display: block;
	width: 100%;
	height: 100%;
	background: repeating-linear-gradient( 135deg, #f2f1f6, #f2f1f6 10px, #eae9f0 10px, #eae9f0 20px );
}

.ddb-card-body {
	padding: 20px 22px 22px;
}

.ddb-card-title {
	font-size: 17.5px;
	line-height: 1.4;
	font-weight: 600;
	letter-spacing: -0.01em;
	color: var( --ddb-ink );
	margin: 12px 0 10px;
	transition: color 0.2s ease;
}

.ddb-card:hover .ddb-card-title {
	color: var( --ddb-primary );
}

.ddb-card-date {
	font-size: 13.5px;
	color: var( --ddb-muted );
}

/* ---------------------------------------------------------------
   11. Önceki / sonraki yazı
   --------------------------------------------------------------- */

.ddb-postnav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	margin-top: 56px;
	padding-top: 40px;
	border-top: 1px solid var( --ddb-border );
}

.ddb-postnav-item {
	display: block;
	padding: 24px 26px;
	background: var( --ddb-surface );
	border: 1px solid var( --ddb-border );
	text-decoration: none;
	transition: border-color 0.2s ease;
}

.ddb-postnav-item:hover {
	border-color: var( --ddb-primary );
}

.ddb-postnav-empty {
	background: none;
	border: 0;
}

.ddb-postnav-next {
	text-align: right;
}

.ddb-postnav-label {
	display: block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var( --ddb-primary );
	margin-bottom: 10px;
}

.ddb-postnav-title {
	display: block;
	font-size: 17px;
	line-height: 1.45;
	font-weight: 600;
	letter-spacing: -0.01em;
	color: var( --ddb-ink );
}

/* ---------------------------------------------------------------
   12. Yorumlar
   --------------------------------------------------------------- */

.ddb-comments {
	margin-top: 56px;
	padding: 40px 44px;
	background: var( --ddb-surface );
	border: 1px solid var( --ddb-border );
}

.ddb-comments h2,
.ddb-comments h3 {
	font-size: 24px;
	line-height: 1.3;
	font-weight: 600;
	letter-spacing: -0.015em;
	color: var( --ddb-ink );
}

/* ---------------------------------------------------------------
   13. Duyarlı (responsive)
   --------------------------------------------------------------- */

@media ( max-width: 1280px ) {
	.ddb-post {
		--ddb-gap: 52px;
		--ddb-rail-w: 300px;
	}
}

@media ( max-width: 1100px ) {
	.ddb-layout {
		grid-template-columns: minmax( 0, 1fr );
		max-width: 840px;
		margin: 0 auto;
	}

	.ddb-rail {
		display: none;
	}

	.ddb-toc--mobile {
		display: block;
		background: var( --ddb-surface );
		border: 1px solid var( --ddb-border );
	}

	.ddb-hero {
		max-width: 840px;
		margin-left: auto;
		margin-right: auto;
	}
}

@media ( max-width: 900px ) {
	.ddb-related-grid {
		grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
	}

	.ddb-related-grid .ddb-card:nth-child( 3 ) {
		display: none;
	}
}

@media ( max-width: 767px ) {
	.single-post .site-content {
		margin: 24px auto 70px;
	}

	.ddb-post {
		--ddb-offset: 80px;
	}

	.ddb-hero {
		padding: 26px 22px 0;
		margin-bottom: 32px;
	}

	.ddb-hero-media {
		margin: 0 -22px;
	}

	.ddb-hero-title {
		max-width: 100%;
	}

	.ddb-meta {
		gap: 10px;
		font-size: 14px;
		padding-bottom: 24px;
	}

	.ddb-content {
		padding: 28px 22px;
		font-size: 17px;
		line-height: 1.75;
	}

	.ddb-content h1,
	.ddb-content h2 {
		font-size: 26px;
		margin-top: 2.4rem;
		padding-left: 15px;
	}

	.ddb-content h1::before,
	.ddb-content h2::before {
		width: 4px;
	}

	.ddb-content h3 {
		font-size: 20px;
	}

	.ddb-content h4 {
		font-size: 18px;
	}

	.ddb-content blockquote {
		padding: 20px 22px;
		font-size: 17px;
	}

	.ddb-cta-band {
		padding: 30px 26px;
		gap: 22px;
	}

	.ddb-cta-band-title {
		font-size: 22px;
	}

	.ddb-cta-band-actions {
		width: 100%;
	}

	.ddb-cta-band-actions .ddb-btn {
		flex: 1 1 auto;
	}

	.ddb-related {
		margin-top: 52px;
		padding-top: 40px;
	}

	.ddb-related-grid {
		grid-template-columns: minmax( 0, 1fr );
	}

	.ddb-related-grid .ddb-card:nth-child( 3 ) {
		display: block;
	}

	.ddb-postnav {
		grid-template-columns: minmax( 0, 1fr );
		margin-top: 40px;
		padding-top: 32px;
	}

	.ddb-postnav-next {
		text-align: left;
	}

	.ddb-comments {
		padding: 28px 22px;
	}
}

@media ( prefers-reduced-motion: reduce ) {
	.ddb-post *,
	.ddb-post *::before,
	.ddb-post *::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}
}

/* Yazdırma */
@media print {
	.ddb-rail,
	.ddb-share,
	.ddb-cta-band,
	.ddb-related,
	.ddb-postnav,
	.ddb-toc--mobile {
		display: none !important;
	}

	.ddb-content,
	.ddb-hero {
		border: 0;
		padding: 0;
	}
}
