/*
Theme Name: Adım
Theme URI: https://example.com/adim
Author: Erdi
Description: İçerik paylaşımı için sade, hızlı ve modern bir WordPress teması. Lacivert başlık, açıklamalı açılır menü, karşılama alanı, sayı kartları, kategori ve yazı ızgaraları. Tüm ana sayfa alanları Görünüm → Özelleştir'den düzenlenir.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: adim
Tags: blog, education, custom-menu, custom-logo, featured-images, threaded-comments, translation-ready
*/

:root {
  --navy: #001324;
  --navy-2: #0a2540;
  --navy-3: #13365c;
  --accent: #ffb703;
  --accent-2: #fb8500;
  --sky: #4cc9f0;
  --bg: #f6f8fb;
  --surface: #ffffff;
  --text: #13202e;
  --muted: #5b6b7d;
  --line: #e3e8ef;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(0, 19, 36, .06), 0 8px 24px rgba(0, 19, 36, .06);
  --shadow-lg: 0 20px 50px rgba(0, 19, 36, .14);
  --wrap: 1200px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, video, iframe { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-3); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent-2); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; color: var(--navy); letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1.1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus {
  clip: auto; width: auto; height: auto; z-index: 9999; top: 8px; left: 8px;
  background: var(--accent); color: var(--navy); padding: 10px 16px; border-radius: 8px;
}

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .85em 1.5em; border-radius: 999px; font-weight: 700; font-size: .95rem;
  border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .2s, color .2s, border-color .2s;
  line-height: 1.2;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: var(--navy); }
.btn-primary:hover { background: #ffc933; color: var(--navy); }
.btn-ghost { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .08); }
.btn-outline { border-color: var(--line); color: var(--navy); background: var(--surface); }
.btn-outline:hover { border-color: var(--navy); color: var(--navy); }

/* ---------- Üst şerit ---------- */
.topbar { background: var(--navy); color: rgba(255, 255, 255, .75); font-size: .85rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; flex-wrap: wrap; }
.topbar a { color: rgba(255, 255, 255, .75); }
.topbar a:hover { color: var(--accent); }
.topbar-info { display: flex; gap: 20px; flex-wrap: wrap; }
.social { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.social a {
  width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px;
  background: rgba(255, 255, 255, .06);
}
.social a:hover { background: var(--accent); color: var(--navy); }
.social svg { width: 15px; height: 15px; fill: currentColor; }

/* ---------- Başlık ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.6) blur(12px); -webkit-backdrop-filter: saturate(1.6) blur(12px);
  border-bottom: 1px solid var(--line);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--navy); flex-shrink: 0; }
.brand:hover { color: var(--navy); }
.brand img, .brand .custom-logo { max-height: 46px; width: auto; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--navy); color: var(--accent); font-weight: 800; font-size: 1.2rem;
}
.brand-text strong { display: block; font-size: 1.15rem; font-weight: 800; line-height: 1.1; }
.brand-text small { display: block; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-top: 3px; }

.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav > ul { display: flex; gap: 4px; align-items: center; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 10px; color: var(--navy); font-weight: 600; font-size: .95rem;
}
.main-nav > ul > li > a:hover,
.main-nav > ul > li.current-menu-item > a,
.main-nav > ul > li.current-menu-ancestor > a { background: var(--bg); color: var(--navy); }
.main-nav .menu-item-has-children > a::after {
  content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-3px); opacity: .5; transition: transform .2s;
}
.main-nav .sub-menu {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translate(-50%, 8px);
  min-width: 280px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 10px;
  opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
}
.main-nav .sub-menu::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.main-nav li:hover > .sub-menu,
.main-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.main-nav .sub-menu a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--navy); }
.main-nav .sub-menu a:hover { background: var(--bg); }
.main-nav .sub-menu .menu-title { display: block; font-weight: 700; font-size: .95rem; }
.main-nav .sub-menu .menu-desc { display: block; font-size: .8rem; color: var(--muted); margin-top: 2px; font-weight: 500; }
.main-nav .sub-menu .sub-menu { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; padding: 0 0 0 12px; min-width: 0; }

.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  border: 1px solid var(--line); background: var(--surface); color: var(--navy); cursor: pointer;
}
.icon-btn:hover { border-color: var(--navy); }
.icon-btn svg { width: 18px; height: 18px; }
.menu-toggle { display: none; }

.search-panel {
  display: none; border-top: 1px solid var(--line); background: var(--surface); padding: 18px 0;
}
.search-panel.is-open { display: block; }
.search-form { display: flex; gap: 8px; }
.search-form input[type="search"] {
  flex: 1; padding: 14px 18px; border-radius: 12px; border: 1px solid var(--line); font: inherit; background: var(--bg);
}
.search-form input[type="search"]:focus { outline: 2px solid var(--accent); border-color: transparent; }
.search-form button { border: 0; }

@media (max-width: 960px) {
  .menu-toggle { display: grid; }
  .header-cta { display: none; }
  .main-nav {
    position: fixed; inset: 76px 0 0 0; background: var(--surface); padding: 16px 20px 40px;
    overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .25s, visibility .25s; margin: 0;
  }
  .admin-bar .main-nav { top: 122px; }
  .main-nav.is-open { transform: translateX(0); visibility: visible; }
  body { overflow-x: clip; }
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--surface); }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav > ul > li { border-bottom: 1px solid var(--line); }
  .main-nav > ul > li > a { padding: 14px 4px; font-size: 1.05rem; justify-content: space-between; }
  .main-nav .sub-menu {
    position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0;
    padding: 0 0 12px; min-width: 0; display: none;
  }
  .main-nav li.is-expanded > .sub-menu { display: block; }
  .main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { transform: none; }
  .main-nav li.is-expanded > a::after { transform: rotate(-135deg); }
  .site-header .wrap { justify-content: space-between; gap: 12px; }
  .brand { min-width: 0; }
  .brand-text { min-width: 0; }
  .brand-text strong, .brand-text small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .header-actions { margin-left: auto; }
}

@media (max-width: 480px) {
  .topbar .social { display: none; }
  .site-header .brand-text small { display: none; }
  .brand-mark { width: 40px; height: 40px; }
  .header-actions { gap: 6px; }
}

/* ---------- Karşılama alanı ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(76, 201, 240, .22), transparent 60%),
    radial-gradient(700px 400px at -10% 110%, rgba(255, 183, 3, .16), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  padding: clamp(64px, 10vw, 120px) 0 clamp(80px, 12vw, 140px);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%);
}
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr .9fr; gap: 48px; align-items: center; }
.hero.no-image .wrap { grid-template-columns: 1fr; max-width: 900px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; }
.hero h1 { color: #fff; margin-bottom: .4em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-lead { font-size: 1.15rem; color: rgba(255, 255, 255, .78); max-width: 620px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-media { position: relative; }
.hero-media img { border-radius: 24px; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.hero-badge {
  position: absolute; left: -24px; bottom: 32px; background: var(--surface); color: var(--navy);
  padding: 14px 18px; border-radius: 14px; box-shadow: var(--shadow-lg); font-weight: 700; font-size: .95rem;
  animation: float 4s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-8px); } }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-media { max-width: 380px; }
  .hero-badge { left: 12px; }
}

/* ---------- Sayı kartları ---------- */
.stats { margin-top: -64px; position: relative; z-index: 2; }
.stats-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); grid-auto-flow: column;
  background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden;
}
.stat { padding: 28px 26px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat-num { font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 800; color: var(--navy); line-height: 1; letter-spacing: -.03em; }
.stat-label { font-weight: 700; margin-top: 10px; color: var(--navy); }
.stat-sub { font-size: .85rem; color: var(--muted); }
@media (max-width: 760px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); grid-auto-flow: row; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* ---------- Bölümler ---------- */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head .eyebrow { color: var(--accent-2); }
.section-head h2 { margin: 0; max-width: 640px; }
.section-head p { color: var(--muted); max-width: 520px; margin: 12px 0 0; }

/* Kategori kartları */
.topics { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.topic {
  position: relative; display: flex; flex-direction: column; gap: 6px;
  padding: 26px 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  color: var(--navy); transition: transform .2s, box-shadow .2s, border-color .2s;
}
.section-alt .topic { background: var(--bg); }
.topic:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; color: var(--navy); }
.topic-num { font-size: .75rem; font-weight: 800; color: var(--muted); letter-spacing: .1em; }
.topic-icon { font-size: 1.8rem; line-height: 1; margin: 8px 0 6px; }
.topic h3 { margin: 0; }
.topic p { margin: 0; font-size: .9rem; color: var(--muted); }
.topic-more { margin-top: auto; padding-top: 12px; font-size: .85rem; font-weight: 700; color: var(--accent-2); }

/* Yazı kartları */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.posts.posts-featured { grid-template-columns: 1.4fr 1fr; grid-template-rows: auto auto; }
.posts-featured .card:first-child { grid-row: span 2; }
.posts-featured .card:first-child .card-thumb { aspect-ratio: 16 / 11; }
.posts-featured .card:first-child h3 { font-size: 1.6rem; }
.posts-featured .card:not(:first-child) { flex-direction: row; }
.posts-featured .card:not(:first-child) .card-thumb { width: 42%; aspect-ratio: auto; flex-shrink: 0; }
.posts-featured .card:not(:first-child) .card-excerpt { display: none; }
@media (max-width: 960px) { .posts { grid-template-columns: repeat(2, 1fr); } .posts.posts-featured { grid-template-columns: 1fr; } .posts-featured .card:first-child { grid-row: auto; } }
@media (max-width: 620px) { .posts { grid-template-columns: 1fr; } .posts-featured .card:not(:first-child) { flex-direction: column; } .posts-featured .card:not(:first-child) .card-thumb { width: 100%; aspect-ratio: 16 / 10; } }

.card {
  display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--line); transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-thumb { display: block; aspect-ratio: 16 / 10; background: linear-gradient(135deg, var(--navy-2), var(--navy-3)); overflow: hidden; position: relative; }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card-thumb img { transform: scale(1.04); }
.card-thumb .placeholder { position: absolute; inset: 0; display: grid; place-items: center; font-size: 2.6rem; font-weight: 800; color: rgba(255, 255, 255, .25); }
.card-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-cat {
  align-self: flex-start; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: var(--navy); background: #fff4d6; padding: 4px 10px; border-radius: 999px;
}
.card-cat:hover { background: var(--accent); color: var(--navy); }
.card h3 { margin: 0; font-size: 1.2rem; }
.card h3 a { color: var(--navy); }
.card h3 a:hover { color: var(--accent-2); }
.card-excerpt { color: var(--muted); font-size: .93rem; margin: 0; }
.card-meta { margin-top: auto; display: flex; gap: 14px; font-size: .8rem; color: var(--muted); font-weight: 600; padding-top: 6px; }

/* Kapanış çağrısı */
.cta {
  border-radius: 28px; padding: clamp(40px, 6vw, 72px); color: #fff; text-align: center; position: relative; overflow: hidden;
  background: radial-gradient(600px 300px at 50% -20%, rgba(255, 183, 3, .25), transparent 70%), linear-gradient(160deg, var(--navy), var(--navy-2));
}
.cta h2 { color: #fff; }
.cta p { color: rgba(255, 255, 255, .75); max-width: 560px; margin: 0 auto 28px; }
.cta .hero-actions { justify-content: center; }

/* ---------- İç sayfa başlığı ---------- */
.page-hero {
  background: linear-gradient(160deg, var(--navy), var(--navy-2)); color: #fff; padding: 64px 0 72px; position: relative; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(600px 300px at 90% 0%, rgba(76, 201, 240, .2), transparent 60%);
}
.page-hero .wrap { position: relative; z-index: 1; max-width: 860px; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: .3em; }
.page-hero p, .page-hero .archive-description { color: rgba(255, 255, 255, .75); margin: 0; }
.breadcrumb { font-size: .82rem; color: rgba(255, 255, 255, .6); margin-bottom: 18px; }
.breadcrumb a { color: rgba(255, 255, 255, .8); }
.breadcrumb a:hover { color: var(--accent); }
.post-meta { display: flex; flex-wrap: wrap; gap: 18px; font-size: .9rem; color: rgba(255, 255, 255, .7); margin-top: 18px; align-items: center; }
.post-meta img { border-radius: 50%; width: 32px; height: 32px; }
.post-meta .author { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; }

/* ---------- Yazı içeriği ---------- */
.content-area { padding: 56px 0 80px; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; }
.layout.full { grid-template-columns: minmax(0, 1fr); max-width: 820px; margin: 0 auto; }
@media (max-width: 960px) { .layout { grid-template-columns: 1fr; } }

.entry {
  background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line);
  padding: clamp(24px, 5vw, 56px);
}
.entry-thumb { margin: -8px 0 32px; }
.entry-thumb img { border-radius: 12px; width: 100%; }
.entry-content { font-size: 1.08rem; }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2 { font-size: 1.7rem; margin-top: 1.8em; }
.entry-content h3 { font-size: 1.35rem; margin-top: 1.6em; }
.entry-content a { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 2px; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li + li { margin-top: .4em; }
.entry-content blockquote {
  margin: 1.6em 0; padding: 20px 24px; border-left: 4px solid var(--accent); background: #fffaf0; border-radius: 0 12px 12px 0;
  font-size: 1.1rem; color: var(--navy);
}
.entry-content blockquote p:last-child { margin: 0; }
.entry-content img, .entry-content figure { border-radius: 12px; }
.entry-content figcaption { font-size: .85rem; color: var(--muted); text-align: center; margin-top: 8px; }
.entry-content code { background: #eef2f7; padding: .15em .4em; border-radius: 6px; font-size: .9em; }
.entry-content pre {
  background: var(--navy); color: #e6edf5; padding: 20px 22px; border-radius: 12px; overflow-x: auto; font-size: .9rem; line-height: 1.6;
}
.entry-content pre code { background: none; padding: 0; color: inherit; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.entry-content th { background: var(--bg); }
.entry-content .alignwide { max-width: none; }
.entry-content .aligncenter { margin-left: auto; margin-right: auto; }
.entry-content .wp-block-button__link { background: var(--accent); color: var(--navy); border-radius: 999px; font-weight: 700; text-decoration: none; }

.entry-footer { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-size: .82rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--bg); color: var(--navy); border: 1px solid var(--line);
}
.tag:hover { border-color: var(--navy); color: var(--navy); }

.author-box {
  margin-top: 32px; display: flex; gap: 18px; align-items: flex-start; padding: 24px; border-radius: var(--radius);
  background: var(--bg); border: 1px solid var(--line);
}
.author-box img { border-radius: 50%; flex-shrink: 0; }
.author-box h4 { margin: 0 0 4px; }
.author-box p { margin: 0; color: var(--muted); font-size: .95rem; }

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.post-nav a {
  display: block; padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); color: var(--navy);
}
.post-nav a:hover { border-color: var(--navy); }
.post-nav small { display: block; color: var(--muted); font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; }
.post-nav strong { display: block; line-height: 1.35; }
.post-nav .next { text-align: right; grid-column: 2; }
@media (max-width: 620px) { .post-nav { grid-template-columns: 1fr; } .post-nav .next { grid-column: auto; } }

.related { margin-top: 56px; }
.related h2 { font-size: 1.5rem; }
.related .posts { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .related .posts { grid-template-columns: 1fr; } }

/* ---------- Kenar çubuğu ---------- */
.sidebar { display: flex; flex-direction: column; gap: 24px; }
.widget { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.widget-title { font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; color: var(--navy); margin-bottom: 16px; }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.widget li:last-child { border-bottom: 0; }
.widget li a { color: var(--navy); font-weight: 600; }
.widget li a:hover { color: var(--accent-2); }
@media (min-width: 961px) { .sidebar-sticky { position: sticky; top: 100px; } }

/* ---------- Yorumlar ---------- */
.comments { margin-top: 40px; }
.comment-list { list-style: none; padding: 0; margin: 0 0 32px; }
.comment-list .children { list-style: none; padding-left: 32px; }
.comment-body { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 16px; }
.comment-author { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.comment-author img { border-radius: 50%; }
.comment-author .says { display: none; }
.comment-metadata { font-size: .8rem; margin: 4px 0 10px; }
.comment-metadata a { color: var(--muted); }
.reply a { font-size: .85rem; font-weight: 700; }
.comment-respond { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.comment-form label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); font: inherit; background: var(--bg);
}
.comment-form input:focus, .comment-form textarea:focus { outline: 2px solid var(--accent); border-color: transparent; }
.comment-form .submit { background: var(--accent); color: var(--navy); border: 0; padding: 12px 24px; border-radius: 999px; font: inherit; font-weight: 700; cursor: pointer; }

/* ---------- Sayfalama ---------- */
.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; }
.pagination .page-numbers {
  min-width: 44px; height: 44px; padding: 0 14px; display: grid; place-items: center; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--line); color: var(--navy); font-weight: 700;
}
.pagination .page-numbers.current { background: var(--navy); color: #fff; border-color: var(--navy); }
.pagination a.page-numbers:hover { border-color: var(--navy); }

/* ---------- Altbilgi ---------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .7); padding: 72px 0 0; margin-top: 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4, .site-footer .widget-title { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 16px; }
.site-footer a { color: rgba(255, 255, 255, .7); }
.site-footer a:hover { color: var(--accent); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer .widget { background: none; border: 0; padding: 0; }
.site-footer .widget li { border: 0; padding: 0; }
.site-footer .widget li a { color: rgba(255, 255, 255, .7); font-weight: 500; }
.footer-brand .brand { color: #fff; margin-bottom: 16px; }
.footer-brand .brand-text small { color: rgba(255, 255, 255, .5); }
.footer-brand .brand-mark { background: var(--accent); color: var(--navy); }
.footer-brand p { max-width: 340px; }
.footer-bottom {
  margin-top: 56px; border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem;
}
.footer-bottom ul { display: flex; gap: 18px; }
.footer-bottom li { margin: 0; }

.to-top {
  position: fixed; right: 20px; bottom: 20px; width: 48px; height: 48px; border-radius: 14px; border: 0;
  background: var(--accent); color: var(--navy); display: grid; place-items: center; cursor: pointer;
  box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s; z-index: 90;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 20px; height: 20px; }

/* ---------- 404 / boş ---------- */
.empty { text-align: center; padding: 80px 20px; }
.empty .big { font-size: clamp(5rem, 15vw, 9rem); font-weight: 800; color: var(--navy); line-height: 1; letter-spacing: -.05em; }
.empty .big span { color: var(--accent); }
.empty p { color: var(--muted); max-width: 480px; margin: 16px auto 28px; }
.empty .search-form { max-width: 480px; margin: 0 auto; }

/* Kaydırınca beliren öğeler */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-badge { animation: none; }
  html { scroll-behavior: auto; }
}

/* WordPress çekirdek sınıfları */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption-text, .gallery-caption { font-size: .85rem; color: var(--muted); }
.sticky .card-cat::after { content: " · Öne çıkan"; }
.bypostauthor > .comment-body { border-color: var(--accent); }
