/* ═══════════════════════════════════════════════════════════
   KöpekRehberi Theme v3.1 — Editorial Magazine
   ═══════════════════════════════════════════════════════════ */

/* Google Fonts → header.php'de <link> ile yükleniyor (render-blocking @import yerine) */

/* ── TOKENS ──────────────────────────────────────────────── */
:root {
  --bg:        #faf8f4;
  --surface:   #ffffff;
  --text:      #1a1512;
  --muted:     #6b6560;
  --subtle:    #ede9e2;
  --border:    rgba(26,21,18,.09);
  --accent:    #c4622d;
  --accent-lt: #f7ede5;
  --green:     #3d6b4f;
  --green-lt:  #e8f0eb;

  --r-sm:  8px;
  --r-md:  14px;
  --r-lg:  20px;
  --r-xl:  28px;
  --r-2xl: 40px;

  --shadow-sm:  0 2px 8px rgba(26,21,18,.06);
  --shadow-md:  0 8px 28px rgba(26,21,18,.08);
  --shadow-lg:  0 20px 60px rgba(26,21,18,.1);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --container: min(1240px, calc(100% - 40px));
  --container-narrow: min(860px, calc(100% - 40px));
}

/* ── RESET ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

/* ── LAYOUT ──────────────────────────────────────────────── */
.kr-container        { width: var(--container); margin-inline: auto; }
.kr-container-narrow { width: var(--container-narrow); margin-inline: auto; }

/* ── TYPOGRAPHY SCALE ────────────────────────────────────── */
.kr-display {
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 80px);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.0;
}
.kr-h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 60px);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.08;
}
.kr-h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.15;
}
.kr-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.kr-lead {
  font-size: clamp(16px, 1.5vw, 19px);
  color: var(--muted);
  line-height: 1.75;
}

/* ── BUTTONS ─────────────────────────────────────────────── */
.kr-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--r-xl);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .01em;
  transition: all .2s ease;
  white-space: nowrap;
}
.kr-btn-primary {
  background: var(--text);
  color: var(--bg);
}
.kr-btn-primary:hover { background: #2d2520; transform: translateY(-1px); box-shadow: var(--shadow-md); }

.kr-btn-accent {
  background: var(--accent);
  color: #fff;
}
.kr-btn-accent:hover { background: #b0562a; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(196,98,45,.3); }

.kr-btn-ghost {
  background: var(--surface);
  color: var(--text);
  border: 1.5px solid var(--border);
}
.kr-btn-ghost:hover { border-color: var(--text); transform: translateY(-1px); }

.kr-btn-sm { padding: 9px 18px; font-size: 13px; }

/* ── CHIP / TAG ──────────────────────────────────────────── */
.kr-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: var(--accent-lt);
  color: var(--accent);
  border: 1px solid rgba(196,98,45,.2);
}
.kr-chip-green {
  background: var(--green-lt);
  color: var(--green);
  border-color: rgba(61,107,79,.2);
}

/* ── HEADER ──────────────────────────────────────────────── */
.kr-site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,248,244,.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .2s;
}
.kr-site-header.is-scrolled { box-shadow: 0 4px 24px rgba(26,21,18,.07); }

.kr-header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}

/* Brand */
.kr-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.kr-brand-logo {
  width: 38px;
  height: 38px;
  background: var(--text);
  color: var(--bg);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
}
.kr-brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.kr-brand-name { font-family: var(--font-display); font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.kr-brand-sub  { font-size: 11px; color: var(--muted); }

/* Nav */
.kr-main-nav { flex: 1; }
.kr-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}
.kr-menu li a {
  display: block;
  padding: 7px 14px;
  border-radius: var(--r-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: all .15s;
}
.kr-menu li a:hover,
.kr-menu li.current-menu-item a { color: var(--text); background: var(--subtle); }

/* CTA */
.kr-header-cta { flex-shrink: 0; }

/* Hamburger */
.kr-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  margin-left: auto;
  border-radius: var(--r-sm);
  transition: background .15s;
}
.kr-hamburger:hover { background: var(--subtle); }
.kr-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all .25s cubic-bezier(.4,0,.2,1);
  transform-origin: center;
}
.kr-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.kr-hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.kr-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.kr-mobile-nav {
  display: none;
  position: fixed;
  inset: 68px 0 0 0;
  background: var(--bg);
  z-index: 99;
  padding: 24px 20px;
  border-top: 1px solid var(--border);
  overflow-y: auto;
  animation: slideDown .2s ease;
}
.kr-mobile-nav.is-open { display: block; }
@keyframes slideDown { from { opacity:0; transform:translateY(-8px) } to { opacity:1; transform:none } }
.kr-mobile-nav .kr-menu {
  flex-direction: column;
  align-items: stretch;
  gap: 2px;
}
.kr-mobile-nav .kr-menu li a {
  padding: 13px 16px;
  font-size: 16px;
  border-radius: var(--r-md);
}
.kr-mobile-nav .kr-btn { width: 100%; justify-content: center; margin-top: 16px; }
.kr-mobile-search-wrap { padding: 16px 16px 8px; }

/* ── HERO ────────────────────────────────────────────────── */
.kr-hero {
  padding: 80px 0 72px;
  overflow: hidden;
}
.kr-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.kr-hero-copy { display: flex; flex-direction: column; gap: 24px; }
.kr-hero-copy .kr-h1 { margin-top: 12px; }
.kr-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }

.kr-hero-visual {
  position: relative;
  border-radius: var(--r-2xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--subtle);
}
.kr-hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.kr-hero-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #ede9e2, #d4c9bc);
  display: flex; align-items: center; justify-content: center;
  font-size: 80px;
}
.kr-hero-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, transparent 40%, rgba(26,21,12,.72));
}
.kr-hero-visual-caption {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  color: #fff;
}
.kr-hero-visual-caption .kr-eyebrow { color: rgba(255,255,255,.65); margin-bottom: 6px; }
.kr-hero-visual-caption h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
}
.kr-hero-visual-caption p { font-size: 13px; color: rgba(255,255,255,.75); margin-top: 4px; }

/* Stats strip */
.kr-trust-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.kr-trust-inner {
  display: flex;
  align-items: stretch;
  overflow: hidden;
}
.kr-trust-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 24px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  border-right: 1px solid var(--border);
}
.kr-trust-item:last-child { border-right: none; }
.kr-trust-icon { font-size: 18px; flex-shrink: 0; }

/* ── SECTION SCAFFOLDING ─────────────────────────────────── */
.kr-section { padding: 64px 0; }
.kr-section-lg { padding: 80px 0; }
.kr-latest-section { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.kr-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
}
.kr-section-head .kr-eyebrow { margin-bottom: 8px; }

/* ── CATEGORY CARDS ──────────────────────────────────────── */
.kr-cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.kr-cat-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 24px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  transition: all .2s ease;
  position: relative;
  overflow: hidden;
}
.kr-cat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.kr-cat-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.kr-cat-card:hover::before { transform: scaleX(1); }
.kr-cat-icon { font-size: 32px; line-height: 1; }
.kr-cat-card strong { font-family: var(--font-display); font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.kr-cat-card p { font-size: 13px; color: var(--muted); line-height: 1.5; }
.kr-cat-arrow { margin-top: auto; font-size: 13px; font-weight: 600; color: var(--accent); }

/* ── POST GRID ───────────────────────────────────────────── */
.kr-post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Post card */
.kr-post-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: all .22s ease;
}
.kr-post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }

.kr-post-card-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--subtle);
}
.kr-post-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.kr-post-card:hover .kr-post-card-img img { transform: scale(1.04); }

.kr-post-card-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  flex: 1;
}
.kr-post-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.kr-post-cat-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
}
.kr-post-date { font-size: 12px; color: var(--muted); }

.kr-post-card-body h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.01em;
}
.kr-post-card-body p { font-size: 14px; color: var(--muted); line-height: 1.6; }
.kr-post-read-more {
  margin-top: auto;
  padding-top: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 6px;
  border-top: 1px solid var(--border);
}
.kr-post-read-more::after { content: '→'; transition: transform .15s; }
.kr-post-card:hover .kr-post-read-more::after { transform: translateX(4px); }

/* Featured post card (1st in grid) */
.kr-post-card.is-featured { grid-column: span 2; flex-direction: row; }
.kr-post-card.is-featured .kr-post-card-img { flex: 1; aspect-ratio: auto; min-height: 240px; }
.kr-post-card.is-featured .kr-post-card-body { flex: 1; padding: 28px; justify-content: center; }
.kr-post-card.is-featured h3 { font-size: 24px; }

/* ── HOMEPAGE FAQ ────────────────────────────────────────── */
.kr-faq-section { background: var(--surface); }
.kr-faq-grid {
  display: grid;
  grid-template-columns: .4fr .6fr;
  gap: 64px;
  align-items: start;
}
.kr-faq-intro { position: sticky; top: 88px; }
.kr-faq-intro .kr-h2 { margin-top: 12px; margin-bottom: 16px; }
.kr-faq-lead { margin-top: 12px; }

.kr-faq-list { display: flex; flex-direction: column; }
.kr-faq-item { border-bottom: 1px solid var(--border); }
.kr-faq-item:first-child { border-top: 1px solid var(--border); }
.kr-faq-q {
  width: 100%;
  text-align: left;
  padding: 20px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: none;
  transition: color .15s;
}
.kr-faq-q:hover { color: var(--accent); }
.kr-faq-icon {
  width: 28px; height: 28px;
  flex-shrink: 0;
  background: var(--subtle);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all .2s;
  color: var(--muted);
}
.kr-faq-item.is-open .kr-faq-icon { background: var(--accent); color: #fff; }
.kr-faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.kr-faq-a-inner { padding: 0 0 20px; font-size: 15px; color: var(--muted); line-height: 1.75; }

/* ── ARCHIVE PAGE ────────────────────────────────────────── */
.kr-archive-hero {
  padding: 56px 0 40px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.kr-archive-hero .kr-eyebrow { margin-bottom: 10px; }

.kr-archive-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
  padding: 48px 0 64px;
  align-items: start;
}
.kr-archive-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

/* Sidebar */
.kr-sidebar { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 20px; }
.kr-sidebar-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  padding: 24px;
}
.kr-sidebar-card .kr-eyebrow { margin-bottom: 12px; }
.kr-sidebar-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -.01em;
}
.kr-sidebar-card p { font-size: 14px; color: var(--muted); line-height: 1.65; }

.kr-sidebar-cats { display: flex; flex-direction: column; gap: 4px; margin-top: 12px; }
.kr-sidebar-cats a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: var(--r-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: all .15s;
}
.kr-sidebar-cats a:hover { color: var(--text); background: var(--subtle); }
.kr-sidebar-cats .active-cat { color: var(--accent); background: var(--accent-lt); }

/* ── SINGLE POST ─────────────────────────────────────────── */
.kr-single-page { padding-bottom: 80px; }

.kr-single-hero {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 56px 0 0;
}
.kr-single-hero-inner {
  max-width: 800px;
}
.kr-single-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin: 16px 0 24px;
}
.kr-single-meta-item { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.kr-single-meta-sep { color: var(--border); }

.kr-single-cover {
  margin-top: 36px;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  overflow: hidden;
  aspect-ratio: 21/8;
  background: var(--subtle);
}
.kr-single-cover img { width: 100%; height: 100%; object-fit: cover; }

.kr-single-layout {
  display: grid;
  grid-template-columns: 1fr 288px;
  gap: 48px;
  margin-top: 48px;
  align-items: start;
}
.kr-single-main { min-width: 0; }
.kr-single-sidebar { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 20px; }

/* Kısa cevap */
.kr-answer-box {
  background: linear-gradient(135deg, var(--accent-lt), rgba(247,237,229,.4));
  border: 1.5px solid rgba(196,98,45,.2);
  border-radius: var(--r-xl);
  padding: 28px;
  margin-bottom: 36px;
}
.kr-answer-box .kr-eyebrow { color: var(--accent); margin-bottom: 10px; }
.kr-answer-box p { font-size: 16px; line-height: 1.75; color: var(--text); }

/* Content typography */
.kr-single-body { font-size: 16px; line-height: 1.85; color: var(--text); }

.kr-single-body h2 {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 600;
  letter-spacing: -.015em;
  line-height: 1.2;
  margin: 48px 0 16px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
  color: var(--text);
}
.kr-single-body h2:first-child { border-top: none; margin-top: 0; padding-top: 0; }
.kr-single-body h3 {
  font-family: var(--font-display);
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 600;
  letter-spacing: -.01em;
  margin: 28px 0 12px;
}
.kr-single-body h4 { font-size: 16px; font-weight: 600; margin: 20px 0 10px; }
.kr-single-body p { margin: 0 0 18px; max-width: 68ch; }
.kr-single-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.kr-single-body a:hover { color: #b0562a; }
.kr-single-body ul, .kr-single-body ol { margin: 0 0 20px 22px; }
.kr-single-body li { margin-bottom: 8px; }
.kr-single-body ul { list-style: disc; }
.kr-single-body ol { list-style: decimal; }
.kr-single-body blockquote {
  margin: 24px 0;
  padding: 20px 24px;
  border-left: 4px solid var(--accent);
  background: var(--accent-lt);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-style: italic;
  color: var(--muted);
}
.kr-single-body strong { font-weight: 600; }
.kr-single-body hr { border: none; border-top: 1px solid var(--border); margin: 32px 0; }
.kr-single-body figure { margin: 28px 0; }
.kr-single-body figure img { border-radius: var(--r-lg); }
.kr-single-body figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; text-align: center; font-style: italic; }

/* İçerik kutuları */
.kr-snippet-box {
  background: #e8f4fd;
  border-left: 4px solid #1976d2;
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 18px 20px;
  margin: 20px 0;
}
.kr-snippet-box h4 { color: #1565c0; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.kr-snippet-box p { font-size: 16px; font-weight: 500; margin: 0; color: var(--text); }

.kr-vet-warning { background: #fff8e1; border-left: 4px solid #f9a825; border-radius: 0 var(--r-md) var(--r-md) 0; padding: 14px 18px; margin: 16px 0; font-size: 15px; }
.kr-vet-warning strong { color: #e65100; }

.kr-danger-box { background: #fce4ec; border-left: 4px solid #e53935; border-radius: 0 var(--r-md) var(--r-md) 0; padding: 14px 18px; margin: 16px 0; font-size: 15px; }
.kr-danger-box strong { color: #c62828; }

.kr-info-box { background: var(--green-lt); border-left: 4px solid var(--green); border-radius: 0 var(--r-md) var(--r-md) 0; padding: 14px 18px; margin: 16px 0; font-size: 15px; }
.kr-info-box strong { color: #2e7d32; }

.kr-expert-tip { background: #f3e5f5; border-left: 4px solid #8e24aa; border-radius: 0 var(--r-md) var(--r-md) 0; padding: 14px 18px; margin: 16px 0; font-size: 15px; }
.kr-expert-tip strong { color: #6a1b9a; }

/* Adım kutusu — otomasyon tarafından üretilir */
.kr-step-box {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px 22px;
  margin: 20px 0;
}
.kr-step-box h3 { color: var(--text); font-size: 15px; font-weight: 700; margin-bottom: 12px; }
/* Bot <ol><li> yapısı — tema counter kullanmaz, native ol numarası korunur */
.kr-step-box ol { list-style: decimal; margin-left: 22px; }
.kr-step-box ol li { margin-bottom: 12px; font-size: 15px; line-height: 1.7; }
.kr-step-box ol li strong { color: var(--text); font-weight: 700; }
/* Eski counter stili kaldırıldı — bot <ol><li> ile çakışıyordu [v3.1] */

/* Checklist — otomasyon tarafından üretilir
   Bot çıktısı: <div class="kr-checklist"><h4>✅ Başlık</h4><ul><li>☐ Görev</li></ul></div>
   CSS: ☐ karakterini gizleyip ✓ ikonu ekler [v3.1] */
.kr-checklist {
  background: var(--green-lt, #f0fdf4);
  border: 1.5px solid var(--green);
  border-radius: var(--r-lg);
  padding: 18px 20px;
  margin: 20px 0;
}
.kr-checklist h4 { font-size: 15px; font-weight: 700; color: var(--green); margin-bottom: 10px; }
.kr-checklist ul { list-style: none; margin: 0; padding: 0; }
.kr-checklist li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 10px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
}
.kr-checklist li:last-child { margin-bottom: 0; }
.kr-checklist li::before {
  content: '✓';
  position: absolute; left: 0; top: 2px;
  width: 20px; height: 20px;
  background: var(--green);
  color: #fff;
  border-radius: 50%;
  font-size: 11px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}

/* Tek cevap kutusu — otomasyon tarafından üretilir */
.kr-single-answer {
  background: #e8f4fd;
  border-left: 4px solid #1976d2;
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 18px 22px;
  margin: 20px 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.75;
  color: var(--text);
}
.kr-single-answer strong { color: #1565c0; }

/* Tablolar */
.kr-data-table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 15px; }
.kr-data-table thead tr { background: var(--text); color: var(--bg); }
.kr-data-table th { padding: 11px 14px; text-align: left; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.kr-data-table td { padding: 11px 14px; border-bottom: 1px solid var(--border); }
.kr-data-table tr:nth-child(even) td { background: rgba(26,21,18,.02); }
.kr-data-table tr:hover td { background: var(--accent-lt); }

.kr-quicklook { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 15px; border: 1.5px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.kr-quicklook td { padding: 11px 14px; border-bottom: 1px solid var(--border); }
.kr-quicklook td:first-child { font-weight: 600; width: 38%; background: var(--subtle); }
.kr-quicklook tr:last-child td { border-bottom: none; }

/* İç linkler */
.kr-single-body a.kr-ic-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  margin: 16px 0;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  color: var(--text);
  transition: all .2s;
}
.kr-single-body a.kr-ic-link::before { content: '→'; color: var(--accent); flex-shrink: 0; }
.kr-single-body a.kr-ic-link:hover { border-color: var(--accent); background: var(--accent-lt); color: var(--accent); }

/* ToC */
.kr-toc-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  padding: 24px;
}
.kr-toc-card .kr-eyebrow { margin-bottom: 14px; }
.kr-toc-list { display: flex; flex-direction: column; gap: 2px; }
.kr-toc-list a {
  display: block;
  padding: 7px 12px;
  border-radius: var(--r-sm);
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  transition: all .15s;
  line-height: 1.4;
}
.kr-toc-list a:hover { color: var(--text); background: var(--subtle); }
.kr-toc-list a.is-active { color: var(--accent); background: var(--accent-lt); font-weight: 600; }
.kr-toc-list a.kr-toc-sub { padding-left: 24px; font-size: 12px; }

/* Sonraki adım sidebar kutusu */
.kr-next-card {
  background: var(--text);
  color: var(--bg);
  border-radius: var(--r-xl);
  padding: 24px;
}
.kr-next-card .kr-eyebrow { color: rgba(250,248,244,.5); margin-bottom: 12px; }
.kr-next-card h3 { font-family: var(--font-display); font-size: 17px; font-weight: 600; margin-bottom: 10px; line-height: 1.3; }
.kr-next-card p { font-size: 14px; color: rgba(250,248,244,.7); line-height: 1.65; margin-bottom: 18px; }

/* E-E-A-T kutusu */
.kr-eeat-box {
  background: var(--subtle);
  border-radius: var(--r-xl);
  padding: 24px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 32px;
}
.kr-eeat-box p { margin-bottom: 6px; }
.kr-eeat-box strong { color: var(--text); }

/* FAQ akordeon (single içi) */
.kr-faq-accordion { display: flex; flex-direction: column; margin-top: 8px; }
.kr-faq-accordion .kr-faq-item { border-bottom: 1px solid var(--border); }
.kr-faq-accordion .kr-faq-item:first-child { border-top: 1px solid var(--border); }

/* İlgili yazılar */
.kr-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

/* ── SAYFA (page.php) ────────────────────────────────────── */
.kr-page-layout { padding: 56px 0 80px; }
.kr-page-content {
  max-width: 760px;
  margin: 0 auto;
}
.kr-page-content h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.1;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.kr-page-content h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  margin: 32px 0 14px;
}
.kr-page-content p { font-size: 16px; line-height: 1.8; color: var(--muted); margin-bottom: 16px; }
.kr-page-content ul { margin: 0 0 16px 20px; list-style: disc; }
.kr-page-content li { font-size: 16px; color: var(--muted); line-height: 1.75; margin-bottom: 6px; }

/* ── SEARCH ──────────────────────────────────────────────── */
.kr-search-hero {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 48px 0 40px;
}
.kr-search-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.5vw, 44px);
  font-weight: 700;
  letter-spacing: -.025em;
  margin-top: 10px;
}
.kr-search-hero em { font-style: italic; color: var(--accent); }

/* ── 404 ─────────────────────────────────────────────────── */
.kr-404-page { padding: 96px 0 80px; text-align: center; }
.kr-404-num {
  font-family: var(--font-display);
  font-size: clamp(80px, 15vw, 180px);
  font-weight: 800;
  letter-spacing: -.05em;
  line-height: 1;
  color: var(--subtle);
  margin-bottom: 24px;
}
.kr-404-page h1 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.5vw, 42px);
  font-weight: 700;
  margin-bottom: 16px;
}
.kr-404-page p { font-size: 17px; color: var(--muted); max-width: 480px; margin: 0 auto 36px; }
.kr-404-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 60px; }
.kr-404-posts-head { margin-bottom: 24px; }

/* ── BREADCRUMB ──────────────────────────────────────────── */
.kr-breadcrumb {
  border-bottom: 1px solid var(--border);
  background: rgba(250,248,244,.6);
}
.kr-breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  list-style: none;
  padding: 12px 0;
  font-size: 13px;
}
.kr-breadcrumb-item a { color: var(--muted); transition: color .15s; }
.kr-breadcrumb-item a:hover { color: var(--text); }
.kr-breadcrumb-sep { color: var(--border); }
.kr-breadcrumb-item [aria-current="page"] { color: var(--text); font-weight: 500; }

/* ── PAGINATION ──────────────────────────────────────────── */
.kr-pagination { margin-top: 48px; }
.kr-pagination .nav-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.kr-pagination .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border-radius: var(--r-sm);
  font-size: 14px;
  font-weight: 500;
  border: 1.5px solid var(--border);
  color: var(--muted);
  background: var(--surface);
  transition: all .15s;
}
.kr-pagination .page-numbers:hover { border-color: var(--text); color: var(--text); }
.kr-pagination .page-numbers.current { background: var(--text); color: var(--bg); border-color: var(--text); }

/* ── FOOTER ──────────────────────────────────────────────── */
.kr-site-footer {
  background: var(--text);
  color: var(--bg);
  margin-top: 80px;
}
.kr-footer-top {
  padding: 56px 0 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  border-bottom: 1px solid rgba(250,248,244,.1);
}
.kr-footer-brand-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}
.kr-footer-brand p { font-size: 14px; color: rgba(250,248,244,.55); line-height: 1.7; max-width: 280px; }
.kr-footer-col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(250,248,244,.4);
  margin-bottom: 16px;
}
.kr-footer-links { display: flex; flex-direction: column; gap: 8px; }
.kr-footer-links a { font-size: 14px; color: rgba(250,248,244,.65); transition: color .15s; }
.kr-footer-links a:hover { color: var(--bg); }
.kr-footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(250,248,244,.35);
}

/* ── RESPONSIVE TABLE [v3.1] ─────────────────────────────── */
/* Bot ürettiği tablolar mobilde taşmayı önler */
.kr-single-body .kr-data-table,
.kr-single-body .kr-quicklook {
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
@media (max-width: 640px) {
  .kr-data-table { font-size: 13px; }
  .kr-data-table th, .kr-data-table td { padding: 9px 10px; }
  .kr-quicklook td { padding: 9px 10px; font-size: 13px; }
}

/* ── SEARCH BAR [v3.1 — JS'den taşındı] ─────────────────── */
.kr-search-bar {
  max-height: 0;
  overflow: hidden;
  transition: max-height .28s cubic-bezier(.4,0,.2,1);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.kr-search-bar.is-open { max-height: 80px; }
.kr-search-bar .kr-container { padding-block: 12px; }
.kr-search-bar .search-form { display: flex; gap: 8px; }
.kr-search-bar .search-field {
  flex: 1;
  padding: 10px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  font-family: var(--font-body);
  font-size: 15px;
  background: var(--surface);
  color: var(--text);
  outline: none;
  transition: border-color .15s;
}
.kr-search-bar .search-field:focus { border-color: var(--accent); }
.kr-search-bar .search-submit {
  padding: 10px 20px;
  background: var(--text);
  color: var(--bg);
  border: none;
  border-radius: var(--r-xl);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s;
}
.kr-search-bar .search-submit:hover { background: #2d2520; }

/* ── SINGLE POST — INLINE STYLE REPLACEMENTS [v3.1] ────── */
.kr-single-title { margin-top: 16px; }
.kr-quicklook-single { margin-bottom: 28px; }

/* FAQ section inside single post */
.kr-faq-single {
  margin-top: 48px;
  padding: 40px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
}
.kr-faq-single-eyebrow { margin-bottom: 12px; }
.kr-faq-single-title { margin-bottom: 24px; font-size: 22px; }

/* Related posts */
.kr-related-section { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--border); }
.kr-related-eyebrow { margin-bottom: 12px; }
.kr-related-title { margin-bottom: 24px; font-size: 22px; }
.kr-related-card-title { font-size: 16px; }

/* Sidebar extras */
.kr-sidebar-chip { display: inline-flex; margin-top: 4px; }
.kr-sidebar-cat-desc { font-size: 13px; color: var(--muted); margin-top: 12px; line-height: 1.6; }

/* ── IN-BODY FAQ [v3.1] ───────────────────────────────────
   Bot bazen FAQ'ı meta yerine içeriğe <h3>Soru?</h3><p>Cevap</p> olarak yazar.
   Normal heading+paragraph stilleri uygulanır — ek müdahale gerekmez. */

/* ── ACCESSIBILITY [v3.1] ────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}
.kr-btn:focus-visible { box-shadow: 0 0 0 3px rgba(196,98,45,.35); }
.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 999;
  padding: 8px 16px;
  background: var(--text);
  color: var(--bg);
  border-radius: var(--r-sm);
  font-size: 14px;
  font-weight: 600;
}
.skip-link:focus { left: 8px; }

/* ── PRINT [v3.1] ────────────────────────────────────────── */
@media print {
  .kr-site-header, .kr-site-footer, .kr-single-sidebar,
  .kr-toc-card, .kr-next-card, .kr-mobile-nav, .kr-search-bar,
  .kr-hero-actions, .kr-post-read-more, .kr-breadcrumb { display: none !important; }
  body { font-size: 12pt; color: #000; background: #fff; }
  .kr-single-layout { grid-template-columns: 1fr; }
  .kr-single-body a { color: #000; text-decoration: underline; }
  .kr-single-body a::after { content: ' (' attr(href) ')'; font-size: 10pt; color: #666; }
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1100px) {
  .kr-hero-inner { grid-template-columns: 1fr 1fr; gap: 36px; }
  .kr-cat-grid { grid-template-columns: repeat(2, 1fr); }
  .kr-archive-layout { grid-template-columns: 1fr; }
  .kr-sidebar { position: static; }
  .kr-archive-grid { grid-template-columns: repeat(2, 1fr); }
  .kr-single-layout { grid-template-columns: 1fr 256px; gap: 32px; }
  .kr-single-sidebar { position: static; }
  .kr-footer-top { grid-template-columns: 1fr 1fr; }
  .kr-post-card.is-featured { grid-column: span 3; }
}

@media (max-width: 860px) {
  .kr-hero-inner { grid-template-columns: 1fr; }
  .kr-hero-visual { aspect-ratio: 16/9; }
  .kr-post-grid { grid-template-columns: repeat(2, 1fr); }
  .kr-post-card.is-featured { grid-column: span 2; flex-direction: column; }
  .kr-faq-grid { grid-template-columns: 1fr; gap: 32px; }
  .kr-faq-intro { position: static; }
  .kr-single-layout { grid-template-columns: 1fr; }
  .kr-related-grid { grid-template-columns: repeat(2, 1fr); }
  .kr-footer-top { grid-template-columns: 1fr; gap: 32px; }
  .kr-footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .kr-trust-inner { flex-wrap: wrap; }
  .kr-trust-item { flex: 1 1 50%; border-right: none; border-bottom: 1px solid var(--border); }
  .kr-trust-item:nth-child(odd) { border-right: 1px solid var(--border); }
  .kr-trust-item:last-child, .kr-trust-item:nth-last-child(2):nth-child(odd) { border-bottom: none; }
}

@media (max-width: 640px) {
  :root { --container: min(100%, calc(100% - 32px)); }
  .kr-hamburger { display: flex; }
  .kr-main-nav, .kr-header-cta { display: none; }
  .kr-header-inner { gap: 16px; }
  .kr-post-grid { grid-template-columns: 1fr; }
  .kr-post-card.is-featured { grid-column: span 1; flex-direction: column; }
  .kr-cat-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .kr-archive-grid { grid-template-columns: 1fr; }
  .kr-related-grid { grid-template-columns: 1fr; }
  .kr-section-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .kr-hero { padding: 48px 0 40px; }
  .kr-single-cover { aspect-ratio: 16/9; }
  .kr-single-hero { padding: 40px 0 0; }
}
