/*
Theme Name: Doğancan Ülker
Theme URI: https://dogancanulker.com.tr
Author: Doğancan Ülker
Author URI: https://dogancanulker.com.tr
Description: dogancanulker.com.tr için sıcak ve modern kişisel blog teması. "Nature Distilled" paleti (terracotta, kum, krem), karakterli geometrik tipografi (Bricolage Grotesque + Work Sans), organik köşeler, ortalanmış okuma sütunu, okuma ilerleme çubuğu ve karanlık mod.
Version: 3.7.1
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dogancanulker
Tags: blog, one-column, custom-logo, custom-menu, featured-images, translation-ready
*/

/* =========================================================
   1. Tasarım değişkenleri — Nature Distilled
   Kaynak: UI/UX Pro Max (muted earthy, handmade warmth,
   organik köşeler, doğal gölgeler, humanist sans)
   ========================================================= */
:root {
  --bg: #F7F1E5;
  --surface: #FFFCF5;
  --ink: #241C15;
  --ink-soft: #6B5D4F;
  --border: #E5D9C5;
  --accent: #B44C17;        /* terracotta — beyaz metinle 4.5:1+ */
  --accent-strong: #933D10;
  --accent-soft: #F6DFCE;
  --amber: #E9B949;         /* marker vurgusu */
  --olive: #5F7036;
  --olive-soft: #E7EAD3;
  --shadow-sm: 0 1px 2px rgba(36, 28, 21, .05), 0 4px 12px -4px rgba(36, 28, 21, .10);
  --shadow-md: 0 2px 4px rgba(36, 28, 21, .05), 0 16px 32px -12px rgba(36, 28, 21, .18);
  --r-sm: .625rem;
  --r-md: 1rem;
  --r-lg: 1.5rem;
  --font-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", sans-serif;
  --font-body: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --w-max: 74rem;
  --w-prose: 46rem;   /* okuma sütunu */
  --w-read: 62rem;    /* tekil yazı kabı (görsel bu genişlikte) */
}

[data-theme="dark"] {
  --bg: #171310;
  --surface: #201A15;
  --ink: #F0E8DC;
  --ink-soft: #B3A595;
  --border: #38302A;
  --accent: #E07B4A;
  --accent-strong: #EE9468;
  --accent-soft: #35251C;
  --amber: #C89B3C;
  --olive: #9DB06A;
  --olive-soft: #262B1A;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .35), 0 4px 12px -4px rgba(0, 0, 0, .4);
  --shadow-md: 0 2px 4px rgba(0, 0, 0, .35), 0 16px 32px -12px rgba(0, 0, 0, .55);
}

/* =========================================================
   2. Zemin ve temel öğeler
   ========================================================= */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  transition: background-color .3s ease, color .3s ease;
}

::selection { background: var(--amber); color: #241C15; }

a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  text-decoration-color: color-mix(in srgb, var(--accent) 40%, transparent);
  transition: color .2s ease, text-decoration-color .2s ease;
  cursor: pointer;
}
a:hover { color: var(--accent-strong); text-decoration-color: var(--accent-strong); }

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: 2rem 0 1rem;
  color: var(--ink);
}

button { cursor: pointer; font-family: var(--font-body); }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}

.screen-reader-text {
  position: absolute !important;
  clip-path: inset(50%);
  width: 1px; height: 1px;
  overflow: hidden;
  word-wrap: normal !important;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -4rem;
  z-index: 999;
  background: var(--ink); color: var(--bg);
  padding: .6rem 1.1rem;
  border-radius: var(--r-sm);
  text-decoration: none;
  transition: top .2s ease;
}
.skip-link:focus { top: 1rem; }

.wrap { max-width: var(--w-max); margin: 0 auto; padding: 0 1.5rem; }

/* Tekil yazı/sayfa kabı — ortalanmış okuma sütunu */
.wrap-read { max-width: var(--w-read); margin: 0 auto; padding: 0 1.5rem; }
.wrap-read > *,
.wrap-read .entry-content > * {
  max-width: var(--w-prose);
  margin-left: auto;
  margin-right: auto;
}

/* Küçük etiket */
.label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* Hap (pill) */
.pill {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .78rem; font-weight: 600;
  letter-spacing: .02em;
  text-decoration: none;
  color: var(--accent-strong);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: .3rem .85rem;
  transition: background .2s ease, color .2s ease;
}
a.pill:hover { background: var(--accent); color: #fff; }
[data-theme="dark"] a.pill:hover { color: #171310; }

/* =========================================================
   3. Üst bölüm (header)
   ========================================================= */
.site-header {
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 50;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.25rem;
}

.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand-mark {
  display: grid; place-items: center;
  width: 2.4rem; height: 2.4rem;
  background: var(--accent); color: #fff;
  font-family: var(--font-display);
  font-size: .95rem; font-weight: 700;
  border-radius: 50% 50% 50% 12%;
  flex: none;
  transition: border-radius .3s ease, transform .3s ease;
}
.brand:hover .brand-mark { border-radius: 12% 50% 50% 50%; transform: rotate(-6deg); }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 700;
  letter-spacing: -.02em;
  color: var(--ink);
}
.brand:hover .brand-name { color: var(--accent); }
.custom-logo { max-height: 2.6rem; width: auto; border-radius: var(--r-sm); }

.site-nav ul { display: flex; align-items: center; gap: .4rem; list-style: none; margin: 0; padding: 0; }
.site-nav a {
  font-size: .92rem; font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  padding: .5rem .95rem;
  border-radius: 999px;
  transition: background .2s ease, color .2s ease;
}
.site-nav a:hover { background: var(--accent-soft); color: var(--accent-strong); }
.site-nav .current-menu-item > a,
.site-nav .current_page_item > a { background: var(--ink); color: var(--bg); }

.header-actions { display: flex; align-items: center; gap: .5rem; }

/* Üst menüdeki sosyal ikonlar — gece modu tuşunun solunda */
.header-social {
  display: flex; align-items: center; gap: .1rem;
  list-style: none; margin: 0;
  padding-right: .6rem;
  border-right: 1px solid var(--border);
  margin-right: .25rem;
}
.header-social a {
  display: grid; place-items: center;
  width: 2.5rem; height: 2.5rem;
  border-radius: 50%;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color .2s ease, background .2s ease;
}
.header-social a:hover { color: var(--accent); background: var(--accent-soft); }
.header-social svg { width: 1.15rem; height: 1.15rem; }

/* Mobil menü panelindeki sosyal ikonlar — masaüstünde gizli.
   `.site-nav ul` kuralını yenmek için iki sınıflı seçici gerekiyor. */
.site-nav .nav-social { display: none; }

.icon-btn {
  display: grid; place-items: center;
  width: 2.75rem; height: 2.75rem;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.icon-btn:hover { border-color: var(--accent); background: var(--accent-soft); transform: rotate(12deg); }
.icon-btn svg { width: 1.15rem; height: 1.15rem; }

.theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

.nav-toggle { display: none; }

@media (max-width: 880px) {
  .nav-toggle { display: grid; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    padding: 1rem 1.5rem 1.25rem;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: .25rem; }
  .site-nav a { display: block; padding: .8rem 1rem; font-size: 1.05rem; }

  /* Dar ekranda üst menüde yer yok — ikonlar açılır menüye taşınır */
  .header-social { display: none; }
  .site-nav .nav-social {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: .6rem;
    list-style: none;
    margin: 1rem 0 0; padding: 1.1rem 0 0;
    border-top: 1px solid var(--border);
  }
  .nav-social a {
    display: grid; place-items: center;
    width: 2.75rem; height: 2.75rem; padding: 0;
    border: 1.5px solid var(--border);
    border-radius: 50%;
    color: var(--ink);
    text-decoration: none;
    transition: border-color .2s ease, color .2s ease;
  }
  .nav-social a:hover { border-color: var(--accent); color: var(--accent); }
  .nav-social svg { width: 1.1rem; height: 1.1rem; }
}

/* =========================================================
   4. Vitrin (hero)
   ========================================================= */
.hero { padding: 4.5rem 0 4rem; overflow: hidden; }

.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 3.5rem;
  align-items: center;
}

.hero-kicker { margin: 0 0 1.25rem; }
.hero-kicker .label {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--olive-soft);
  color: var(--olive);
  border-radius: 999px;
  padding: .4rem 1rem;
}
.hero-kicker .label::before {
  content: "";
  width: .5rem; height: .5rem;
  border-radius: 50%;
  background: var(--olive);
}

.hero-title {
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.03em;
  margin: 0 0 1.5rem;
}
/* Marker vurgusu — <em> içindeki kelime fosforlu kalem gibi işaretlenir */
.hero-title em {
  font-style: normal;
  position: relative;
  white-space: nowrap;
}
.hero-title em::after {
  content: "";
  position: absolute;
  left: -.1em; right: -.15em;
  bottom: .05em;
  height: .38em;
  background: var(--amber);
  border-radius: .12em;
  transform: skewX(-8deg) rotate(-1deg);
  z-index: -1;
  opacity: .85;
}

.hero-text { font-size: 1.2rem; color: var(--ink-soft); max-width: 34rem; }
.hero-text p { margin: 0 0 1rem; }

.hero-links { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }

.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .95rem; font-weight: 700;
  text-decoration: none;
  padding: .85rem 1.75rem;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn-primary {
  background: var(--accent); color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--accent-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
[data-theme="dark"] .btn-primary { color: #171310; }
.btn-ghost { border-color: var(--border); color: var(--ink); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn-sm { padding: .6rem 1.3rem; font-size: .82rem; }

/* Kare portre, köşeleri yumuşatılmış */
.hero-figure {
  position: relative;
  justify-self: center;
  max-width: 22rem;
  margin: 0;
}
.hero-figure img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
}

.hero-badge {
  position: absolute;
  z-index: 2;
  bottom: -1.25rem; right: -1.5rem;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  padding: .6rem 1rem;
  font-size: .82rem; font-weight: 600;
  transform: rotate(3deg);
}

@media (max-width: 860px) {
  .hero { padding: 3rem 0; }
  .hero .wrap { grid-template-columns: 1fr; gap: 3rem; }
  .hero-figure { justify-self: start; max-width: 17rem; }
}

/* =========================================================
   4b. Hakkında kutusu
   ========================================================= */
.about { padding: 0 0 4rem; }

/* Kutu, vitrinle aynı genişlikte. Metin sola, rakamlar sağ sütuna
   alınarak satırlar okunaklı uzunlukta tutulur. */
.about-box {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  padding: clamp(1.75rem, 4vw, 3rem);
}

.about-box.has-stats {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

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

.about-title {
  font-size: clamp(1.6rem, 3.5vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -.02em;
  margin: 0 0 1.5rem;
}

.about-content > *:first-child { margin-top: 0; }
.about-content > *:last-child { margin-bottom: 0; }
.about-content p { margin: 0 0 1.25rem; max-width: 46rem; }
.about-content ul, .about-content ol { padding-left: 1.4rem; margin: 0 0 1.25rem; }
.about-content li { margin-bottom: .4rem; }
.about-content li::marker { color: var(--accent); }
.about-content img { border-radius: var(--r-md); }

.about-stats {
  display: grid;
  gap: 2rem;
  align-content: start;   /* metin uzasa da rakamlar arası açılmaz */
  list-style: none;
  margin: 0;
  padding: 0 0 0 clamp(1.5rem, 3vw, 2.5rem);
  border-left: 1px solid var(--border);
  align-self: stretch;
}

/* Rakam yoksa kutu tek sütun; metin yine okunaklı genişlikte kalır. */
.about-box:not(.has-stats) .about-content p { max-width: 46rem; }

@media (max-width: 860px) {
  .about-box.has-stats { grid-template-columns: 1fr; gap: 0; }
  .about-stats {
    grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    padding: 1.75rem 0 0;
    border-left: none;
    border-top: 1px solid var(--border);
  }
}
.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.02em;
  color: var(--ink);
}
.stat-label {
  display: block;
  font-size: .88rem;
  color: var(--ink-soft);
  margin-top: .35rem;
}

/* =========================================================
   5. Konu şeridi
   ========================================================= */
.topics {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  padding: 1.1rem 0;
}
.topics-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .5rem 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.topics-item {
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s ease;
}
.topics-item:hover { color: var(--accent); }
.topics-star { color: var(--accent); font-size: .9rem; user-select: none; }

@media (max-width: 640px) {
  .topics-list { gap: .5rem 1rem; }
  .topics-item { font-size: .95rem; }
  .topics-star { display: none; }
}

/* =========================================================
   6. Bölüm başlıkları
   ========================================================= */
.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1rem;
  margin: 4rem 0 2rem;
}
.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -.02em;
  margin: 0;
  position: relative;
  display: inline-block;
}
/* El çizimi dalga altı çizgi */
.section-title::after {
  content: "";
  display: block;
  width: 100%; height: .5rem;
  margin-top: .2rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 10' preserveAspectRatio='none'%3E%3Cpath d='M0 6 Q 15 1, 30 5 T 60 5 T 90 5 T 120 4' fill='none' stroke='%23B44C17' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
[data-theme="dark"] .section-title::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 10' preserveAspectRatio='none'%3E%3Cpath d='M0 6 Q 15 1, 30 5 T 60 5 T 90 5 T 120 4' fill='none' stroke='%23E07B4A' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
}
.section-index { display: none; }
.section-more {
  font-size: .9rem; font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

/* =========================================================
   7. Öne çıkan yazı — kapak kartı
   ========================================================= */
.post-featured {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 0;
  align-items: stretch;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
  transition: box-shadow .25s ease, transform .25s ease;
}
.post-featured:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.post-featured-body {
  padding: 2.5rem;
  display: flex; flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 1rem;
}
/* Görsel alanı: varsayılan oran, "tamamı görünsün" modunda görselin kendi
   oranı satır içinde verilir. Zemin kart rengiyle aynı olduğundan, oran
   birebir tutmadığında oluşan ince boşluk göze çarpmaz. */
.post-featured-media {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--surface);
}
.post-featured-media img {
  width: 100%; height: 100%;
  object-fit: contain;   /* satır içi stille cover'a çevrilebilir */
  transition: transform .4s ease;
}
.post-featured:hover .post-featured-media img { transform: scale(1.04); }

.post-featured .entry-title {
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  font-weight: 700;
  margin: 0;
}
.post-featured .entry-title a { color: var(--ink); text-decoration: none; }
.post-featured .entry-title a:hover { color: var(--accent); }
.post-featured .entry-excerpt { color: var(--ink-soft); margin: 0; }

@media (max-width: 760px) {
  .post-featured { grid-template-columns: 1fr; }
  .post-featured-media { order: -1; aspect-ratio: 16 / 9; }
  .post-featured-body { padding: 1.5rem; }
}

/* =========================================================
   8. Kart ızgarası
   ========================================================= */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(18.5rem, 1fr));
  gap: 1.5rem;
}

.card {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--accent) 35%, var(--border)); }

.card-media {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  text-decoration: none;
  background: var(--surface);
}
.card-media img { width: 100%; height: 100%; object-fit: contain; transition: transform .4s ease; }
.card:hover .card-media img { transform: scale(1.05); }

.card-media-fallback {
  display: grid; place-items: center;
  width: 100%; height: 100%;
  background: var(--accent-soft);
  font-family: var(--font-display);
  font-size: 3.5rem; font-weight: 700;
  color: var(--accent);
  text-decoration: none;
}
.card:nth-child(3n) .card-media-fallback { background: var(--olive-soft); color: var(--olive); }

.card-body { display: flex; flex-direction: column; gap: .65rem; padding: 1.4rem 1.4rem 1.5rem; flex: 1; }
.card .entry-title { font-size: 1.25rem; font-weight: 700; line-height: 1.3; margin: 0; }
.card .entry-title a { color: var(--ink); text-decoration: none; }
.card .entry-title a:hover { color: var(--accent); }
.card .entry-excerpt { color: var(--ink-soft); font-size: .95rem; margin: 0; flex: 1; }

.card-meta {
  display: flex; align-items: center; gap: .5rem;
  font-size: .82rem; font-weight: 500;
  color: var(--ink-soft);
  margin-top: .25rem;
}
.card-meta .sep { color: var(--border); }

/* Kart altındaki "Devamını Oku" butonu */
.card-more { align-self: flex-start; margin-top: .5rem; }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

.entry-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem;
  font-size: .85rem; font-weight: 500;
  color: var(--ink-soft);
}
.entry-meta a { font-weight: 700; text-decoration: none; }
.entry-meta .sep { color: var(--border); }

/* =========================================================
   9. Sayfalama
   ========================================================= */
.pagination { margin: 3.5rem 0 4.5rem; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }
.pagination .page-numbers {
  font-size: .95rem; font-weight: 700;
  display: grid; place-items: center;
  min-width: 2.9rem; height: 2.9rem;
  padding: 0 1rem;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink);
  background: var(--surface);
  transition: border-color .2s ease, color .2s ease, transform .2s ease;
}
.pagination .page-numbers.current { background: var(--accent); color: #fff; border-color: var(--accent); }
[data-theme="dark"] .pagination .page-numbers.current { color: #171310; }
.pagination .page-numbers:hover:not(.current) { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* =========================================================
   10. Tekil yazı / sayfa
   ========================================================= */
/* Okuma ilerleme çubuğu */
.progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 4px;
  width: 0;
  background: var(--accent);
  z-index: 100;
  border-radius: 0 4px 4px 0;
}

.entry-header { padding: 4rem 0 0; }

.entry-kicker { margin: 0 auto 1.25rem; }

.entry-header h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.03em;
  margin: 0 auto 1.25rem;
}

.entry-header .entry-meta { margin-bottom: 0; }

/* Öne çıkan görsel okuma sütunundan geniş — nefes alan bir ritim */
/* Yazı sayfasındaki büyük görsel HİÇ kırpılmaz; yalnızca ölçeklenir.
   Yatay görseller genişliği doldurur, dikey görseller yüksekliği aşmayacak
   şekilde küçülüp ortalanır — hiçbir bölümü kesilmez. */
.entry-hero-img { margin: 2.5rem auto 0; max-width: var(--w-read); text-align: center; }
.entry-hero-img img {
  width: auto;
  max-width: 100%;
  max-height: 40rem;
  margin-left: auto;
  margin-right: auto;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
}
.entry-hero-img figcaption { font-size: .82rem; color: var(--ink-soft); padding-top: .6rem; }

.entry-content { padding: 2.75rem 0 1rem; max-width: none; }
.entry-content > * { max-width: var(--w-prose); margin-left: auto; margin-right: auto; }
.entry-content p { margin: 0 0 1.4rem; }
.entry-content h2 { font-size: 1.7rem; margin-top: 2.75rem; }
.entry-content h3 { font-size: 1.35rem; }
.entry-content ul, .entry-content ol { padding-left: 1.4rem; margin: 0 0 1.4rem; }
.entry-content li { margin-bottom: .45rem; }
.entry-content li::marker { color: var(--accent); }

.entry-content blockquote {
  position: relative;
  background: var(--accent-soft);
  border: none;
  border-radius: var(--r-md);
  margin: 2.25rem 0;
  padding: 1.5rem 1.75rem 1.5rem 3.25rem;
  font-size: 1.12rem;
  font-weight: 500;
  color: var(--ink);
}
.entry-content blockquote::before {
  content: "\201C";
  position: absolute;
  left: 1.1rem; top: .4rem;
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
  color: var(--accent);
}
.entry-content blockquote p:last-child { margin-bottom: 0; }

.entry-content img { border-radius: var(--r-md); }
.entry-content figure { margin: 2.25rem 0; }
.entry-content figcaption { font-size: .82rem; color: var(--ink-soft); padding-top: .5rem; }

.entry-content .alignwide { max-width: var(--w-read); }
.entry-content .alignfull { max-width: none; }

.entry-content code {
  font-size: .88em;
  background: color-mix(in srgb, var(--border) 45%, var(--bg));
  border-radius: 6px;
  padding: .12em .45em;
}
.entry-content pre {
  background: #241C15;
  color: #F0E8DC;
  border-radius: var(--r-md);
  padding: 1.4rem 1.6rem;
  overflow-x: auto;
  font-size: .9rem;
  line-height: 1.6;
  margin: 2.25rem 0;
}
[data-theme="dark"] .entry-content pre { background: #0E0B09; }
.entry-content pre code { background: none; padding: 0; color: inherit; }

.entry-content table { width: 100%; border-collapse: collapse; margin: 2.25rem 0; font-size: .95rem; }
.entry-content th, .entry-content td { border: 1px solid var(--border); padding: .6rem .9rem; text-align: left; }
.entry-content th { background: var(--surface); font-weight: 700; }

.entry-content hr {
  border: none;
  height: .55rem;
  max-width: 8rem;
  margin: 3rem 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 10' preserveAspectRatio='none'%3E%3Cpath d='M0 6 Q 15 1, 30 5 T 60 5 T 90 5 T 120 4' fill='none' stroke='%23B44C17' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

/* Etiketler */
.entry-tags {
  display: flex; flex-wrap: wrap; gap: .6rem;
  max-width: var(--w-prose);
  margin: 0 auto;
  padding: 1.5rem 0 0;
}

/* Yazar kutusu */
.author-box {
  display: flex; gap: 1.25rem; align-items: center;
  max-width: var(--w-prose);
  margin: 2.75rem auto;
  padding: 1.5rem;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.author-box img { width: 4.25rem; height: 4.25rem; flex: none; border-radius: 48% 52% 44% 56% / 42% 44% 56% 58%; }
.author-box-name { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; margin: 0 0 .3rem; }
.author-box-bio { font-size: .95rem; color: var(--ink-soft); margin: 0; }

/* Önceki / sonraki */
.post-nav {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
  max-width: var(--w-prose);
  margin: 0 auto 3rem;
  padding: 0;
}
.post-nav a {
  display: block;
  padding: 1.1rem 1.35rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  text-decoration: none;
  background: var(--surface);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.post-nav a:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.post-nav .nav-label {
  font-size: .72rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent);
  display: block; margin-bottom: .35rem;
}
.post-nav .nav-title { font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: var(--ink); }
.post-nav .nav-next { text-align: right; }
@media (max-width: 640px) { .post-nav { grid-template-columns: 1fr; } }

/* =========================================================
   11. Yorumlar
   ========================================================= */
.comments-area { max-width: var(--w-prose); margin: 0 auto; padding: .5rem 0 3.5rem; }
.comments-title { font-size: 1.45rem; }
.comment-list { list-style: none; margin: 0; padding: 0; }
.comment-list .comment { padding: 1.4rem 0; border-bottom: 1px solid var(--border); }
.comment-list .children { list-style: none; padding-left: 2rem; }
.comment-author { display: flex; align-items: center; gap: .7rem; font-weight: 700; font-size: .95rem; }
.comment-author img { border-radius: 50%; }
.comment-metadata { font-size: .78rem; margin: .25rem 0 .6rem; }
.comment-metadata a { color: var(--ink-soft); text-decoration: none; }
.comment-content { font-size: .98rem; }
.reply a { font-size: .85rem; font-weight: 700; text-decoration: none; }

.comment-form label { display: block; font-size: .85rem; font-weight: 700; margin-bottom: .35rem; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  padding: .75rem 1rem;
  margin-bottom: 1rem;
  transition: border-color .2s ease;
}
.comment-form input:focus, .comment-form textarea:focus { outline: none; border-color: var(--accent); }
.comment-form .submit {
  font-size: .95rem; font-weight: 700;
  background: var(--accent); color: #fff;
  border: none; border-radius: 999px;
  padding: .85rem 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: background .2s ease, transform .2s ease;
}
.comment-form .submit:hover { background: var(--accent-strong); transform: translateY(-2px); }
[data-theme="dark"] .comment-form .submit { color: #171310; }

/* =========================================================
   12. Arama ve 404
   ========================================================= */
.search-form { display: flex; gap: .6rem; max-width: 30rem; }
.search-form input[type="search"] {
  flex: 1;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: .7rem 1.25rem;
  transition: border-color .2s ease;
}
.search-form input[type="search"]:focus { outline: none; border-color: var(--accent); }
.search-form button {
  font-size: .92rem; font-weight: 700;
  background: var(--accent); color: #fff;
  border: none; border-radius: 999px;
  padding: 0 1.5rem;
  transition: background .2s ease;
}
.search-form button:hover { background: var(--accent-strong); }
[data-theme="dark"] .search-form button { color: #171310; }

.page-hero { padding: 4rem 0 1rem; }
.page-hero h1 {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -.02em;
  margin: 0 0 .75rem;
}
.page-hero .archive-description { color: var(--ink-soft); max-width: var(--w-prose); }

.error-404 { text-align: center; padding: 5rem 0; }
.error-404 .error-code {
  font-family: var(--font-display);
  font-size: clamp(5rem, 15vw, 10rem);
  font-weight: 700;
  line-height: 1;
  color: var(--accent);
  margin: 0;
}
.error-404 h1 { margin: 1rem 0 .5rem; }
.error-404 .search-form { margin: 2rem auto 0; }

/* =========================================================
   13. Alt bölüm (footer) — sıcak koyu bant
   ========================================================= */
.site-footer {
  background: #241C15;
  color: #F0E8DC;
  margin-top: 5rem;
  padding: 3.5rem 0 3rem;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
}
[data-theme="dark"] .site-footer { background: #0E0B09; }

.site-footer .wrap {
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between;
  gap: 2rem;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -.02em;
}
.footer-note { font-size: .85rem; color: #B3A595; margin: .35rem 0 0; }

.social-links { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; margin: 0; padding: 0; }
.social-links a {
  display: flex; align-items: center; gap: .45rem;
  color: #F0E8DC;
  text-decoration: none;
  border: 1.5px solid #4A3E33;
  border-radius: 999px;
  padding: .5rem 1rem;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.social-links a:hover { border-color: #E07B4A; background: rgba(224, 123, 74, .12); transform: translateY(-2px); }
.social-links svg { width: 1rem; height: 1rem; }
.social-links .social-label { font-size: .8rem; font-weight: 700; }

/* =========================================================
   14. WordPress zorunlu sınıflar
   ========================================================= */
.alignleft { float: left; margin: .5rem 1.5rem 1rem 0; }
.alignright { float: right; margin: .5rem 0 1rem 1.5rem; }
.aligncenter { display: block; margin: 1.5rem auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: .82rem; color: var(--ink-soft); }
.sticky { position: relative; }
.gallery-caption { font-size: .82rem; }
.bypostauthor { position: relative; }
