/*
Theme Name:  Faraklit
Theme URI:   https://faraklit.com
Author:      Faraklit
Description: Modern minimal blog teması — Psikoloji, Felsefe ve Teoloji
Version:     2.0
License:     Private
Text Domain: faraklit
*/

/* =========================================================
   FARAKLIT v2 — WordPress Teması
   Palet : Krem #F5F1E8 | Lacivert #0A1A2F | Altın #C9A86A
   Font  : DM Serif Display (başlık) | Lora (makale) | Inter (UI)
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Inter:wght@300;400;500;600;700&family=Lora:ital,wght@0,400;0,500;1,400;1,500&display=swap');

/* ─── RESET ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
img, video { max-width: 100%; height: auto; display: block; }
button, input, textarea, select { font-family: inherit; }
a { text-decoration: none; }

/* ─── CSS VARIABLES — LIGHT ──────────────────────────────── */
:root {
  --white:      #FFFFFF;
  --navy:       #0A1A2F;
  --bg:         #F5F1E8;
  --bg-alt:     #EDE9DF;
  --surface:    #FFFFFF;
  --surface-2:  #F8F5EF;
  --border:     #E2DDD3;
  --border-2:   #CECABF;

  --text:       #1A2332;
  --text-2:     #526070;
  --text-3:     #8A94A0;

  --gold:       #C9A86A;
  --gold-h:     #B8965A;
  --gold-dim:   rgba(201,168,106,.13);
  --gold-border: rgba(201,168,106,.35);

  --nav-bg:     rgba(245,241,232,.94);
  --nav-h:      64px;

  --shadow-xs:  0 1px 4px rgba(10,26,47,.05);
  --shadow-sm:  0 2px 12px rgba(10,26,47,.06);
  --shadow:     0 8px 28px rgba(10,26,47,.10);
  --shadow-lg:  0 20px 56px rgba(10,26,47,.14);

  --r:    6px;
  --rl:   12px;
  --rx:   24px;
  --t:    .25s ease;
  --mw:   1200px;
  --cw:   700px;
}

/* ─── DARK MODE ───────────────────────────────────────────── */
[data-theme="dark"] {
  --bg:        #0A1A2F;
  --bg-alt:    #0D2040;
  --surface:   #112A47;
  --surface-2: #0F2342;
  --border:    #1C3A60;
  --border-2:  #254D7A;

  --text:      #EAE6DD;
  --text-2:    #A0B0C0;
  --text-3:    #6B7D90;

  --nav-bg:    rgba(10,26,47,.96);

  --shadow-xs: 0 1px 4px rgba(0,0,0,.30);
  --shadow-sm: 0 2px 12px rgba(0,0,0,.35);
  --shadow:    0 8px 28px rgba(0,0,0,.45);
  --shadow-lg: 0 20px 56px rgba(0,0,0,.55);
}

/* ─── BASE ────────────────────────────────────────────────── */
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  transition: background var(--t), color var(--t);
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4,h5,h6 {
  font-family: 'DM Serif Display', serif;
  line-height: 1.2;
  color: var(--text);
  font-weight: 400;
}
a { color: var(--gold); transition: color var(--t); }
a:hover { color: var(--gold-h); }
p { line-height: 1.75; }
ul { list-style: none; }

/* ─── LAYOUT ──────────────────────────────────────────────── */
.container  { max-width: var(--mw); margin: 0 auto; padding: 0 24px; }
.content-w  { max-width: var(--cw); margin: 0 auto; padding: 0 24px; }
.section    { padding: 88px 0; }
.section-sm { padding: 56px 0; }

/* ─── UTILITIES ───────────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Inter', sans-serif;
  font-size: .7rem; font-weight: 600; letter-spacing: 3px;
  text-transform: uppercase; color: var(--gold); margin-bottom: 18px;
}
.eyebrow::before { content:''; display:block; width:24px; height:1px; background:var(--gold); }

.divider { width: 48px; height: 2px; background: var(--gold); border-radius: 2px; margin-bottom: 24px; }
.divider-center { margin-left: auto; margin-right: auto; }

.section-title { font-size: clamp(1.9rem,4vw,2.8rem); margin-bottom: 10px; }
.section-sub   { font-size: .95rem; color: var(--text-2); margin-bottom: 44px; }

/* ─── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: var(--r);
  font-family: 'Inter', sans-serif;
  font-size: .85rem; font-weight: 600; cursor: pointer;
  border: none; transition: all var(--t); letter-spacing: .2px;
}
.btn-primary {
  background: var(--gold); color: var(--navy);
}
.btn-primary:hover {
  background: var(--gold-h); color: var(--navy);
  transform: translateY(-2px); box-shadow: 0 8px 20px rgba(201,168,106,.3);
}
.btn-outline {
  background: transparent; color: var(--text);
  border: 1.5px solid var(--border-2);
}
.btn-outline:hover {
  border-color: var(--gold); color: var(--gold);
  transform: translateY(-2px);
}
.btn-gold {
  background: var(--gold); color: #fff;
}
.btn-gold:hover {
  background: var(--gold-h); color: #fff;
  transform: translateY(-2px); box-shadow: 0 8px 20px rgba(201,168,106,.35);
}

/* ─── NAVIGATION ──────────────────────────────────────────── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--nav-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background var(--t), border-color var(--t);
}
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-h);
  max-width: var(--mw); margin: 0 auto; padding: 0 24px;
}
.site-logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--text);
  transition: opacity var(--t);
}
.site-logo:hover { opacity: .8; color: var(--text); }
.logo-img {
  width: 38px; height: 38px; border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--gold-border);
}
.logo-text-wrap { display: flex; flex-direction: column; line-height: 1; }
.logo-name {
  font-family: 'DM Serif Display', serif;
  font-size: 1.35rem; color: var(--text); letter-spacing: -.3px;
}
.logo-name .logo-gold { color: var(--gold); }
.logo-tag {
  font-size: .58rem; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--text-3); margin-top: 3px;
}
.nav-links {
  display: flex; align-items: center; gap: 4px; list-style: none;
}
.nav-links a {
  font-size: .84rem; font-weight: 500; color: var(--text-2);
  padding: 7px 14px; border-radius: 6px;
  transition: color var(--t), background var(--t);
}
.nav-links a:hover,
.nav-links a.current-menu-item,
.nav-links a.active { color: var(--gold); background: var(--gold-dim); }

.nav-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--text-2);
  transition: all var(--t); font-size: .9rem;
}
.icon-btn:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-dim); }
.icon-btn svg { width: 16px; height: 16px; }

.hamburger {
  display: none; flex-direction: column; gap: 4px;
  cursor: pointer; padding: 8px; background: none; border: none;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px; transition: all var(--t);
}

/* Mobile Menu */
.mobile-menu {
  display: none; position: fixed;
  top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: var(--bg);
  padding: 24px; z-index: 999;
  overflow-y: auto;
}
.mobile-menu.is-open { display: block; }
.mobile-menu ul { list-style: none; }
.mobile-menu ul li a {
  display: block; padding: 16px 0;
  font-family: 'DM Serif Display', serif;
  font-size: 1.6rem; color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: color var(--t), padding-left var(--t);
}
.mobile-menu ul li a:hover { color: var(--gold); padding-left: 8px; }

/* ─── SEARCH OVERLAY ──────────────────────────────────────── */
.search-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex; align-items: flex-start; justify-content: center;
  padding-top: 100px; padding-left: 24px; padding-right: 24px;
  opacity: 0; visibility: hidden; transition: all var(--t);
}
.search-overlay.is-open { opacity: 1; visibility: visible; }
.search-modal { width: 100%; max-width: 600px; }
.search-field {
  display: flex; align-items: center; gap: 14px;
  background: var(--surface); border: 2px solid var(--gold);
  border-radius: var(--rx); padding: 8px 8px 8px 22px;
  box-shadow: var(--shadow-lg);
}
.search-field input {
  flex: 1; border: none; background: transparent;
  font-family: 'DM Serif Display', serif; font-size: 1.2rem;
  color: var(--text); outline: none; padding: 8px 0;
}
.search-field input::placeholder { color: var(--text-3); }
.search-close {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--text); color: var(--bg);
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0; transition: background var(--t);
}
.search-close:hover { background: var(--gold); }
.search-results-list { margin-top: 14px; }
.search-result-item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r); padding: 14px 18px; margin-bottom: 6px;
  display: block; color: var(--text); transition: all var(--t);
}
.search-result-item:hover { border-color: var(--gold); transform: translateX(4px); color: var(--text); }
.search-result-item .item-title { font-family: 'DM Serif Display', serif; font-size: .95rem; margin-bottom: 3px; }
.search-result-item .item-cat  { font-size: .73rem; color: var(--gold); }

/* ─── PAGE LOADER ─────────────────────────────────────────── */
.page-loader {
  position: fixed; inset: 0; background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999; transition: opacity .5s ease, visibility .5s ease;
}
.page-loader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-inner {
  font-family: 'DM Serif Display', serif;
  font-size: 1.8rem; color: var(--gold);
  animation: loaderPulse 1.4s ease-in-out infinite;
}
@keyframes loaderPulse { 0%,100%{opacity:.3} 50%{opacity:1} }

/* ─── READING PROGRESS ────────────────────────────────────── */
.read-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px;
  z-index: 1100; background: transparent;
}
.read-progress-bar { height: 100%; background: var(--gold); width: 0; transition: width .1s linear; }

/* ─── TOAST ───────────────────────────────────────────────── */
.toast {
  position: fixed; bottom: 24px; right: 24px;
  background: var(--text); color: var(--bg);
  padding: 13px 20px; border-radius: var(--r);
  font-size: .84rem; z-index: 3000;
  display: flex; align-items: center; gap: 8px;
  box-shadow: var(--shadow-lg);
  transform: translateY(80px); opacity: 0; transition: all .3s ease;
  max-width: 320px;
}
.toast.is-show { transform: translateY(0); opacity: 1; }

/* ─── HERO ────────────────────────────────────────────────── */
.site-hero {
  min-height: 100svh;
  display: flex; align-items: center;
  padding-top: var(--nav-h);
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 800px 600px at 10% 60%, rgba(201,168,106,.06) 0%, transparent 60%),
    radial-gradient(ellipse 600px 500px at 90% 10%, rgba(201,168,106,.04) 0%, transparent 55%);
}
[data-theme="dark"] .hero-bg {
  background:
    radial-gradient(ellipse 800px 600px at 10% 60%, rgba(201,168,106,.08) 0%, transparent 60%),
    radial-gradient(ellipse 600px 500px at 90% 10%, rgba(201,168,106,.05) 0%, transparent 55%);
}
.hero-inner {
  position: relative; z-index: 1;
  max-width: var(--mw); margin: 0 auto;
  padding: 96px 24px 80px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.hero-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .7rem; font-weight: 600; letter-spacing: 3px;
  text-transform: uppercase; color: var(--gold); margin-bottom: 22px;
}
.hero-label::before { content:''; display:block; width:20px; height:1px; background:var(--gold); }
.hero-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 400; line-height: 1.1;
  margin-bottom: 22px; letter-spacing: -.5px;
  color: var(--text);
}
.hero-title em { color: var(--gold); font-style: italic; }
.hero-desc {
  font-size: 1.05rem; color: var(--text-2);
  max-width: 480px; line-height: 1.85; margin-bottom: 40px;
}
.hero-cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 36px; margin-top: 56px;
  padding-top: 36px; border-top: 1px solid var(--border); flex-wrap: wrap;
}
.stat-n {
  font-family: 'DM Serif Display', serif;
  font-size: 2rem; color: var(--gold); line-height: 1; margin-bottom: 4px;
}
.stat-l { font-size: .75rem; color: var(--text-3); letter-spacing: .3px; }

/* Hero right side (featured post preview) */
.hero-featured {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--rl); overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: transform var(--t);
}
.hero-featured:hover { transform: translateY(-4px); }
.hero-feat-img {
  aspect-ratio: 16/10;
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem;
  background: linear-gradient(135deg, #1a1a1a 0%, #2e2e2e 100%);
}
[data-theme="dark"] .hero-feat-img {
  background: linear-gradient(135deg, #0e0e0e 0%, #1c1c1c 100%);
}
.hero-feat-body { padding: 28px; }
.hero-feat-cat { font-size: .68rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.hero-feat-title { font-family: 'DM Serif Display', serif; font-size: 1.3rem; line-height: 1.3; color: var(--text); margin-bottom: 10px; }
.hero-feat-meta { font-size: .75rem; color: var(--text-3); }

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

.post-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--rl); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.post-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-border);
}
.post-card-link { display: flex; flex-direction: column; flex: 1; color: var(--text); }
.post-card-link:hover { color: var(--text); }

.post-card-thumb {
  aspect-ratio: 16/9;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.8rem; overflow: hidden; position: relative;
}
.thumb-psikoloji { background: linear-gradient(135deg, #0e2035 0%, #1a3f6a 100%); }
.thumb-felsefe   { background: linear-gradient(135deg, #1a1505 0%, #3a2c0a 100%); }
.thumb-teoloji   { background: linear-gradient(135deg, #081810 0%, #0f3020 100%); }
.thumb-default   { background: linear-gradient(135deg, #1a1a1a 0%, #333 100%); }

.post-card-body { padding: 22px 24px; flex: 1; display: flex; flex-direction: column; }
.post-card-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 11px; flex-wrap: wrap; }
.cat-badge {
  font-size: .65rem; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--gold);
  background: var(--gold-dim); padding: 3px 9px; border-radius: 50px;
}
.meta-sep { color: var(--border-2); font-size: .8rem; }
.meta-info { font-size: .73rem; color: var(--text-3); }
.post-card-title {
  font-family: 'DM Serif Display', serif;
  font-size: 1.18rem; line-height: 1.35; margin-bottom: 10px;
  color: var(--text); transition: color var(--t);
}
.post-card:hover .post-card-title { color: var(--gold); }
.post-card-excerpt { font-size: .84rem; color: var(--text-2); line-height: 1.75; flex: 1; margin-bottom: 20px; }
.post-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 16px; border-top: 1px solid var(--border);
}
.read-more {
  font-size: .78rem; font-weight: 600; color: var(--gold);
  display: flex; align-items: center; gap: 6px; transition: gap var(--t);
}
.post-card:hover .read-more { gap: 10px; }

/* Featured card (wide) */
.featured-post {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--rl); overflow: hidden; margin-bottom: 56px;
  display: grid; grid-template-columns: 1fr 1fr;
  transition: box-shadow var(--t), border-color var(--t);
}
.featured-post:hover { box-shadow: var(--shadow-lg); border-color: var(--gold-border); }
.featured-thumb {
  min-height: 340px;
  display: flex; align-items: center; justify-content: center; font-size: 5rem;
}
.featured-body { padding: 48px 44px; display: flex; flex-direction: column; justify-content: center; }
.featured-label { font-size: .68rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.featured-title { font-family: 'DM Serif Display', serif; font-size: 1.9rem; line-height: 1.2; margin-bottom: 16px; }
.featured-excerpt { font-size: .9rem; color: var(--text-2); line-height: 1.8; margin-bottom: 28px; flex: 1; }

/* ─── CATEGORY FILTER PILLS ───────────────────────────────── */
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 40px; }
.filter-pill {
  padding: 7px 18px; border-radius: 50px;
  font-size: .79rem; font-weight: 500;
  border: 1.5px solid var(--border); color: var(--text-2);
  cursor: pointer; transition: all var(--t); background: transparent;
  font-family: 'Inter', sans-serif;
}
.filter-pill:hover,
.filter-pill.is-active { border-color: var(--gold); color: var(--gold); background: var(--gold-dim); }

/* ─── NEWSLETTER BOX ──────────────────────────────────────── */
.newsletter-section {
  background: var(--surface); border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border); padding: 80px 0;
}
.newsletter-inner {
  max-width: 560px; margin: 0 auto; text-align: center; padding: 0 24px;
}
.nl-icon { font-size: 2rem; margin-bottom: 16px; }
.nl-title { font-family: 'DM Serif Display', serif; font-size: 2rem; margin-bottom: 12px; }
.nl-desc  { font-size: .92rem; color: var(--text-2); margin-bottom: 30px; line-height: 1.7; }
.nl-form  { display: flex; gap: 8px; max-width: 420px; margin: 0 auto; }
.nl-input {
  flex: 1; padding: 12px 18px; border-radius: var(--r);
  border: 1.5px solid var(--border); background: var(--bg);
  color: var(--text); font-size: .88rem; outline: none;
  transition: border-color var(--t);
}
.nl-input:focus { border-color: var(--gold); }
.nl-input::placeholder { color: var(--text-3); }
.nl-note { font-size: .73rem; color: var(--text-3); margin-top: 12px; }

/* ─── PAGE HERO ───────────────────────────────────────────── */
.page-hero {
  padding: calc(var(--nav-h) + 64px) 0 56px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.page-hero-inner { max-width: var(--mw); margin: 0 auto; padding: 0 24px; }
.page-hero-title { font-size: clamp(2rem,5vw,3.4rem); margin-bottom: 14px; }
.page-hero-desc  { font-size: 1rem; color: var(--text-2); max-width: 540px; line-height: 1.8; }

/* Breadcrumbs */
.breadcrumbs {
  display: flex; align-items: center; gap: 8px;
  font-size: .76rem; color: var(--text-3); flex-wrap: wrap; margin-bottom: 24px;
}
.breadcrumbs a { color: var(--text-2); transition: color var(--t); }
.breadcrumbs a:hover { color: var(--gold); }
.breadcrumbs .sep { color: var(--border-2); }
.breadcrumbs .curr { color: var(--gold); }

/* ─── SINGLE ARTICLE ──────────────────────────────────────── */
.article-header {
  padding: calc(var(--nav-h) + 56px) 0 48px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.article-header-inner { max-width: var(--cw); margin: 0 auto; padding: 0 24px; }
.article-meta-row { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; flex-wrap: wrap; }
.article-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 400; line-height: 1.15; margin-bottom: 20px;
  letter-spacing: -.3px;
}
.article-lead {
  font-family: 'Lora', serif; font-size: 1.1rem; color: var(--text-2);
  line-height: 1.85; border-left: 3px solid var(--gold);
  padding-left: 20px; margin-bottom: 24px;
}
.article-info { display: flex; align-items: center; gap: 18px; font-size: .8rem; color: var(--text-3); }

/* Article layout: content + sidebar */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, var(--cw)) 260px;
  gap: 56px;
  max-width: calc(var(--cw) + 260px + 56px);
  margin: 0 auto; padding: 56px 24px 80px;
  align-items: start;
}
.article-body { min-width: 0; }
.article-body h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.65rem; margin: 48px 0 18px;
  padding-bottom: 10px; border-bottom: 1.5px solid var(--border);
}
.article-body h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.25rem; margin: 36px 0 14px;
}
.article-body p {
  font-family: 'Lora', serif; font-size: 1.05rem;
  line-height: 1.95; margin-bottom: 22px; color: var(--text);
}
.article-body blockquote {
  border-left: 3px solid var(--gold);
  padding: 18px 24px; margin: 32px 0;
  background: var(--gold-dim); border-radius: 0 var(--r) var(--r) 0;
}
.article-body blockquote p { font-style: italic; margin: 0; font-size: 1.08rem; color: var(--text); }
.article-body ul, .article-body ol {
  font-family: 'Lora', serif; font-size: 1.05rem; line-height: 1.9;
  margin-bottom: 22px; padding-left: 28px;
}
.article-body li { margin-bottom: 8px; }
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body .note-box {
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--r); padding: 18px 22px; margin: 28px 0;
  font-size: .88rem; color: var(--text-2);
}
.article-body strong { color: var(--text); font-weight: 600; }
.article-body em { color: var(--text-2); }
.article-body a { border-bottom: 1px solid var(--gold-border); }
.article-body a:hover { border-bottom-color: var(--gold); }

/* Figure inside article */
.article-figure { margin: 36px 0; text-align: center; }
.article-figure img { width: 100%; border-radius: var(--r); border: 1px solid var(--border); }
.article-figure figcaption { margin-top: 14px; font-size: .78rem; font-style: italic; color: var(--text-3); line-height: 1.6; }

/* Sidebar */
.article-sidebar { position: sticky; top: calc(var(--nav-h) + 24px); display: flex; flex-direction: column; gap: 18px; }
.sidebar-widget { background: var(--surface); border: 1px solid var(--border); border-radius: var(--rl); padding: 22px; }
.sidebar-widget-title {
  font-size: .65rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--gold); margin-bottom: 14px;
}
.toc-list { list-style: none; border-left: 2px solid var(--border); padding-left: 0; }
.toc-list li { padding: 5px 0 5px 14px; border-left: 2px solid transparent; margin-left: -2px; transition: all var(--t); }
.toc-list li.is-active { border-left-color: var(--gold); }
.toc-list a { font-size: .8rem; color: var(--text-2); display: block; line-height: 1.5; transition: color var(--t); }
.toc-list li.is-active a, .toc-list a:hover { color: var(--gold); }
.toc-list .toc-h3 { padding-left: 28px; }
.share-list { display: flex; flex-direction: column; gap: 6px; }
.share-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: var(--r);
  border: 1px solid var(--border); background: transparent;
  color: var(--text); font-size: .79rem; font-weight: 500;
  cursor: pointer; transition: all var(--t); text-decoration: none;
}
.share-item:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-dim); }

/* Related posts */
.related-section { padding: 48px 0; border-top: 1px solid var(--border); }
.related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }

/* ─── ARCHIVE PAGE ────────────────────────────────────────── */
.archive-grid { display: grid; grid-template-columns: 1fr; gap: 0; }
.archive-post {
  display: grid; grid-template-columns: 80px 1fr;
  gap: 20px; padding: 28px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
  transition: background var(--t);
}
.archive-post:hover { background: var(--bg-alt); }
.archive-num {
  font-family: 'DM Serif Display', serif;
  font-size: 2rem; color: var(--border-2); line-height: 1; text-align: right; padding-top: 4px;
}
.archive-content {}
.archive-title {
  font-family: 'DM Serif Display', serif; font-size: 1.2rem;
  margin-bottom: 6px; transition: color var(--t);
}
.archive-post:hover .archive-title { color: var(--gold); }
.archive-meta { font-size: .75rem; color: var(--text-3); }

/* ─── CATEGORIES PAGE ─────────────────────────────────────── */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cat-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--rl); overflow: hidden; display: block;
  transition: all var(--t);
}
.cat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--gold-border); }
.cat-header-bg { padding: 36px 28px; }
.cat-psikoloji { background: linear-gradient(135deg, #0e2035, #1a3f6a); }
.cat-felsefe   { background: linear-gradient(135deg, #1c1505, #332c0b); }
.cat-teoloji   { background: linear-gradient(135deg, #08180e, #0e3020); }
.cat-icon { font-size: 2.2rem; margin-bottom: 14px; display: block; }
.cat-name { font-family: 'DM Serif Display', serif; font-size: 1.4rem; color: #F0EEEA; margin-bottom: 3px; }
.cat-count { font-size: .73rem; color: rgba(240,238,234,.6); }
.cat-body-wrap { padding: 20px 28px; }
.cat-desc { font-size: .83rem; color: var(--text-2); line-height: 1.7; margin-bottom: 14px; }
.cat-link { color: var(--gold); font-size: .82rem; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; transition: gap var(--t); }
.cat-card:hover .cat-link { gap: 10px; }

/* ─── CONTACT PAGE ────────────────────────────────────────── */
.contact-layout {
  display: grid; grid-template-columns: 1fr 1.6fr;
  gap: 64px; max-width: 1000px; margin: 0 auto; padding: 72px 24px;
}
.contact-info-title { font-family: 'DM Serif Display', serif; font-size: 1.4rem; margin-bottom: 14px; }
.contact-info-text { font-size: .9rem; color: var(--text-2); line-height: 1.85; margin-bottom: 28px; }
.contact-detail {
  display: flex; align-items: flex-start; gap: 14px; margin-bottom: 16px;
}
.contact-detail-icon { font-size: 1.1rem; margin-top: 2px; flex-shrink: 0; }
.contact-detail-label {
  font-size: .68rem; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--text-3); margin-bottom: 3px;
}
.contact-detail-val { font-size: .88rem; color: var(--text-2); }
.contact-detail-val a { color: var(--text-2); transition: color var(--t); }
.contact-detail-val a:hover { color: var(--gold); border-bottom: none; }
.contact-quote {
  margin-top: 36px; padding: 22px;
  background: var(--gold-dim); border: 1px solid var(--gold-border);
  border-radius: var(--rl);
}
.contact-quote p { font-family: 'DM Serif Display', serif; font-size: .95rem; font-style: italic; color: var(--text); margin: 0; line-height: 1.6; }

/* Forms */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: .78rem; font-weight: 600; color: var(--text-2); margin-bottom: 7px; letter-spacing: .2px; }
.form-input, .form-textarea, .form-select {
  width: 100%; padding: 11px 15px; border-radius: var(--r);
  border: 1.5px solid var(--border); background: var(--bg);
  color: var(--text); font-size: .88rem;
  outline: none; transition: border-color var(--t), box-shadow var(--t);
}
.form-input:focus, .form-textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-dim); }
.form-textarea { height: 150px; resize: vertical; font-family: 'Lora', serif; line-height: 1.75; }
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-3); }
.form-error { font-size: .78rem; color: #e53e3e; margin-top: 5px; display: none; }
.form-success {
  background: #f0fff4; border: 1px solid #9ae6b4;
  border-radius: var(--r); padding: 16px 20px;
  font-size: .88rem; color: #2f855a; display: none;
}
[data-theme="dark"] .form-success { background: #1a2e1a; border-color: #2f6a3a; color: #68d391; }

/* FAQ accordion */
.faq-item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r); margin-bottom: 10px; overflow: hidden;
}
.faq-question {
  width: 100%; text-align: left; padding: 18px 22px;
  font-family: 'DM Serif Display', serif; font-size: .97rem;
  color: var(--text); background: none; border: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  transition: color var(--t); gap: 16px;
}
.faq-question:hover { color: var(--gold); }
.faq-icon { color: var(--gold); font-size: 1.2rem; flex-shrink: 0; transition: transform var(--t); }
.faq-item.is-open .faq-icon { transform: rotate(45deg); }
.faq-answer { font-size: .87rem; color: var(--text-2); line-height: 1.8; padding: 0 22px 18px; display: none; }
.faq-item.is-open .faq-answer { display: block; }

/* ─── ABOUT PAGE ──────────────────────────────────────────── */
.about-symbol {
  width: 140px; height: 140px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 4.5rem;
  border: 2.5px solid var(--gold);
  box-shadow: 0 0 40px var(--gold-dim);
  margin: 0 auto 36px; overflow: hidden;
  background: var(--surface);
}
.about-content { max-width: 740px; margin: 0 auto; padding: 64px 24px; }
.about-painting { margin: 40px 0; border-radius: var(--rl); overflow: hidden; }
.about-painting img { width: 100%; height: auto; border-radius: var(--rl); }
.about-painting figcaption { font-size: .8rem; color: var(--text-3); text-align: center; margin-top: 10px; font-style: italic; }
.about-content h2 { font-size: 1.6rem; margin: 40px 0 16px; }
.about-content p {
  font-family: 'Lora', serif; font-size: 1.04rem;
  line-height: 1.92; color: var(--text-2); margin-bottom: 20px;
}
.mission-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 36px 0; }
.mission-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--rl); padding: 26px 20px; text-align: center;
  transition: all var(--t);
}
.mission-card:hover { border-color: var(--gold-border); transform: translateY(-4px); }
.mission-icon { font-size: 1.7rem; margin-bottom: 12px; display: block; }
.mission-name { font-family: 'DM Serif Display', serif; font-size: 1rem; margin-bottom: 8px; }
.mission-desc { font-size: .81rem; color: var(--text-2); line-height: 1.7; }

/* ─── COMMENTS ────────────────────────────────────────────── */
.comments-section { padding: 48px 0; border-top: 1px solid var(--border); }
.comments-title { font-family: 'DM Serif Display', serif; font-size: 1.6rem; margin-bottom: 28px; }
.comment-list { list-style: none; }
.comment {
  display: grid; grid-template-columns: 48px 1fr; gap: 16px;
  padding: 22px 0; border-bottom: 1px solid var(--border);
}
.comment-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--bg-alt); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: var(--text-3); flex-shrink: 0;
  overflow: hidden;
}
.comment-avatar img { width: 100%; height: 100%; object-fit: cover; }
.comment-header { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; flex-wrap: wrap; }
.comment-author { font-size: .88rem; font-weight: 600; color: var(--text); }
.comment-date   { font-size: .73rem; color: var(--text-3); }
.comment-body   { font-size: .9rem; color: var(--text-2); line-height: 1.75; }
.comment-body p { margin-bottom: 8px; }
.comment-reply-link { font-size: .75rem; font-weight: 600; color: var(--gold); cursor: pointer; margin-top: 8px; display: inline-block; }
.comment-form-wrap { margin-top: 36px; }
.comment-form-title { font-family: 'DM Serif Display', serif; font-size: 1.3rem; margin-bottom: 20px; }
.children { list-style: none; padding-left: 40px; }

/* ─── FOOTER ──────────────────────────────────────────────── */
.site-footer { background: var(--navy); color: rgba(255,255,255,.7); padding: 64px 0 28px; margin-top: auto; }
[data-theme="dark"] .site-footer { background: #060F1E; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand { font-family: 'DM Serif Display', serif; font-size: 1.6rem; color: #fff; margin-bottom: 12px; }
.footer-brand .footer-gold { color: var(--gold); }
.footer-tagline { font-size: .83rem; line-height: 1.8; margin-bottom: 20px; max-width: 220px; }
.footer-social { display: flex; gap: 8px; }
.footer-social-link {
  width: 35px; height: 35px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.5); font-size: .82rem;
  transition: all var(--t); text-decoration: none;
}
.footer-social-link:hover { border-color: var(--gold); color: var(--gold); }
.footer-col-title { font-size: .65rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { font-size: .83rem; color: rgba(255,255,255,.5); transition: color var(--t); }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1);
}
.footer-bottom p { font-size: .76rem; color: rgba(255,255,255,.35); }

/* ─── PAGINATION ──────────────────────────────────────────── */
.pagination { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 48px 0; }
.page-numbers {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: var(--r);
  border: 1.5px solid var(--border); color: var(--text-2);
  font-size: .85rem; font-weight: 500; transition: all var(--t);
  text-decoration: none;
}
.page-numbers:hover,
.page-numbers.current { border-color: var(--gold); color: var(--gold); background: var(--gold-dim); }
.page-numbers.dots { border: none; width: auto; }

/* ─── SEARCH PAGE ─────────────────────────────────────────── */
.search-header { padding: calc(var(--nav-h) + 48px) 0 40px; border-bottom: 1px solid var(--border); }
.search-form-big {
  display: flex; gap: 10px; max-width: 520px;
}
.search-form-big input {
  flex: 1; padding: 12px 18px; border-radius: var(--r);
  border: 1.5px solid var(--border); background: var(--bg);
  color: var(--text); font-size: 1rem; outline: none;
  transition: border-color var(--t);
}
.search-form-big input:focus { border-color: var(--gold); }

/* ─── 404 PAGE ────────────────────────────────────────────── */
.not-found-wrap {
  min-height: 80svh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: calc(var(--nav-h) + 40px) 24px 80px;
}
.not-found-num { font-family: 'DM Serif Display', serif; font-size: 8rem; color: var(--border); line-height: 1; margin-bottom: 12px; }
.not-found-title { font-size: 1.6rem; margin-bottom: 12px; }
.not-found-desc { font-size: .95rem; color: var(--text-2); margin-bottom: 32px; max-width: 400px; margin-left: auto; margin-right: auto; }

/* ─── SCROLLBAR ───────────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* ─── ANIMATIONS ──────────────────────────────────────────── */
@keyframes fadeUp { from{opacity:0;transform:translateY(18px)} to{opacity:1;transform:translateY(0)} }
.fade-up { opacity: 0; }
.fade-up.is-visible { animation: fadeUp .6s ease forwards; }

/* ─── RESPONSIVE ──────────────────────────────────────────── */
@media(max-width:1100px){
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding: 80px 24px 56px; }
  .hero-featured { display: none; }
  .article-layout { grid-template-columns: 1fr; max-width: var(--cw); }
  .article-sidebar { position: static; }
  .featured-post { grid-template-columns: 1fr; }
  .featured-thumb { min-height: 220px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .mission-grid { grid-template-columns: 1fr; gap: 14px; }
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
}
@media(max-width:768px){
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .section { padding: 56px 0; }
  .hero-title { letter-spacing: -.3px; }
  .posts-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .newsletter-section { padding: 56px 0; }
  .nl-form { flex-direction: column; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; padding: 48px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .featured-body { padding: 28px 24px; }
  .related-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .hero-stats { gap: 20px; }
  .archive-post { grid-template-columns: 48px 1fr; }
}
@media(max-width:480px){
  .hero-cta { flex-direction: column; align-items: flex-start; }
  .hero-stats { flex-wrap: wrap; gap: 16px 28px; }
  .container, .content-w { padding: 0 16px; }
  .page-hero { padding: calc(var(--nav-h) + 40px) 0 40px; }
  .article-header { padding: calc(var(--nav-h) + 36px) 0 36px; }
  .article-body p, .article-body ul, .article-body ol { font-size: 1rem; }
}
