/*
Theme Name: Doğa Keşifleri Pro
Theme URI: https://dogakesifleri.com.tr/
Author: Independent Editorial Media Systems
Version: 2.0.0
Text Domain: dogakesifleri-pro
*/
:root {
  --ink: #0f172a;
  --paper: #f8fafc;
  --surface: #ffffff;
  --surface-alt: #f1f5f9;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;
  --accent: #ea580c;
  --accent-light: #ffedd5;
  --accent-dark: #9a3412;
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Source Serif 4', Georgia, serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { background: var(--paper); color: var(--ink); font-family: var(--font-main); line-height: 1.6; }
a { color: inherit; text-decoration: none; transition: color .2s ease; }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1400px; margin: 0 auto; padding: 0 4vw; }
.topbar { background: var(--surface); border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 700; padding: 8px 0; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; }
.topbar-badge { background: var(--accent); color: #fff; padding: 2px 8px; border-radius: 4px; text-transform: uppercase; letter-spacing: .05em; font-size: 10px; margin-right: 12px; }

.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 100; backdrop-filter: blur(12px); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 900; font-size: 22px; letter-spacing: -.03em; }
.brand-mark { width: 40px; height: 40px; background: var(--accent); color: #fff; border-radius: 10px; display: grid; place-items: center; font-size: 16px; font-weight: 900; }
.brand-sub { font-size: 11px; font-weight: 600; color: #64748b; letter-spacing: 0; display: block; margin-top: -2px; }

.nav-links { display: flex; gap: 24px; font-weight: 700; font-size: 14px; list-style: none; }
.nav-links a:hover { color: var(--accent); }
.search-btn { background: var(--surface-alt); border: 1px solid var(--line); padding: 8px 14px; border-radius: 8px; font-weight: 700; font-size: 13px; cursor: pointer; display: flex; align-items: center; gap: 8px; }

/* Hero Flash Section */
.hero-flash { padding: 36px 0; }
.hero-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; margin-bottom: 24px; }
.hero-lead { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.hero-lead:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,0.06); }
.hero-lead-thumb { aspect-ratio: 16/9; overflow: hidden; position: relative; }
.hero-lead-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.hero-lead:hover .hero-lead-thumb img { transform: scale(1.03); }
.hero-lead-body { padding: 24px; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.hero-cat { font-size: 11px; font-weight: 800; color: var(--accent); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; display: inline-block; }
.hero-title { font-size: clamp(20px, 2.4vw, 30px); font-weight: 850; line-height: 1.25; margin-bottom: 12px; }
.hero-excerpt { font-size: 15px; color: #475569; line-height: 1.5; margin-bottom: 16px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hero-meta { font-size: 12px; font-weight: 700; color: #94a3b8; display: flex; gap: 12px; align-items: center; }

.hero-side { display: flex; flex-direction: column; gap: 16px; }
.hero-side-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px; display: flex; gap: 16px; transition: transform .2s, border-color .2s; }
.hero-side-card:hover { transform: translateY(-2px); border-color: var(--accent); }
.hero-side-thumb { width: 100px; height: 75px; border-radius: 8px; overflow: hidden; flex-shrink: 0; }
.hero-side-thumb img { width: 100%; height: 100%; object-fit: cover; }
.hero-side-body h3 { font-size: 14px; font-weight: 800; line-height: 1.35; margin-bottom: 6px; }

.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.strip-card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px; transition: border-color .2s; }
.strip-card:hover { border-color: var(--accent); }
.strip-card h4 { font-size: 13px; font-weight: 800; line-height: 1.35; margin-bottom: 6px; }

/* Topic Cloud */
.topic-cloud { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; margin: 24px 0; }
.topic-cloud-inner { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.topic-cloud-title { font-size: 12px; font-weight: 800; color: #64748b; text-transform: uppercase; letter-spacing: .06em; margin-right: 8px; }
.topic-pill { background: var(--surface-alt); border: 1px solid var(--line); border-radius: 99px; padding: 6px 14px; font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; transition: all .2s; }
.topic-pill:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.topic-pill small { background: rgba(0,0,0,0.06); padding: 2px 6px; border-radius: 12px; font-size: 11px; }

/* Section Titles */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 24px; border-bottom: 2px solid var(--line); padding-bottom: 12px; }
.section-head h2 { font-size: 22px; font-weight: 900; letter-spacing: -.02em; position: relative; }
.section-head h2:after { content: ''; position: absolute; left: 0; bottom: -14px; width: 45px; height: 3px; background: var(--accent); }

/* Editorial Grid Stream */
.editorial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 40px; }
.post-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.post-card:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(0,0,0,0.05); }
.post-thumb { aspect-ratio: 16/10; overflow: hidden; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card:hover .post-thumb img { transform: scale(1.04); }
.post-body { padding: 20px; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.post-title { font-size: 16px; font-weight: 800; line-height: 1.35; margin: 8px 0 12px; }
.post-meta { font-size: 12px; color: #94a3b8; font-weight: 700; display: flex; gap: 10px; }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 8px; margin: 40px 0; }
.pagination .page-numbers { background: var(--surface); border: 1px solid var(--line); padding: 8px 16px; border-radius: 8px; font-weight: 800; font-size: 14px; }
.pagination .page-numbers.current { background: var(--accent); color: #fff; border-color: var(--accent); }
.pagination .page-numbers:hover:not(.current) { background: var(--surface-alt); }

/* Manifesto / Knowledge Band */
.knowledge-band { background: var(--ink); color: #fff; border-radius: 20px; padding: 48px 6vw; margin: 48px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.knowledge-band h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 900; line-height: 1.2; letter-spacing: -.03em; }
.knowledge-band p { color: #94a3b8; font-size: 16px; line-height: 1.6; margin-bottom: 20px; }
.knowledge-btn { background: var(--accent); color: #fff; padding: 12px 24px; border-radius: 8px; font-weight: 800; font-size: 14px; display: inline-block; }

/* Single Post Page */
.single-wrap { max-width: 1280px; margin: 40px auto; padding: 0 4vw; }
.breadcrumbs { font-size: 13px; font-weight: 700; color: #64748b; margin-bottom: 20px; display: flex; gap: 8px; }
.article-header { margin-bottom: 32px; }
.article-header h1 { font-size: clamp(28px, 4vw, 46px); font-weight: 900; line-height: 1.2; letter-spacing: -.03em; margin: 12px 0 20px; }
.article-tools { display: flex; gap: 16px; align-items: center; font-size: 13px; font-weight: 700; color: #64748b; border-bottom: 1px solid var(--line); padding-bottom: 24px; }
.article-hero { border-radius: 16px; overflow: hidden; margin-bottom: 36px; border: 1px solid var(--line); }
.article-layout { display: grid; grid-template-columns: 280px 1fr; gap: 48px; align-items: start; }
.sticky-toc { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 20px; position: sticky; top: 90px; max-height: calc(100vh - 120px); overflow-y: auto; }
.sticky-toc h3 { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); margin-bottom: 14px; }
.sticky-toc ol { list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 13px; font-weight: 600; line-height: 1.4; }
.sticky-toc ol a:hover { color: var(--accent); }

.article-content { font-size: 17px; line-height: 1.8; color: #334155; }
.article-content h2 { font-size: 24px; font-weight: 850; color: var(--ink); margin: 36px 0 16px; border-left: 4px solid var(--accent); padding-left: 12px; }
.article-content h3 { font-size: 19px; font-weight: 800; color: var(--ink); margin: 24px 0 12px; }
.article-content p { margin-bottom: 20px; }
.article-content ul, .article-content ol { margin: 0 0 20px 24px; }
.article-content li { margin-bottom: 8px; }

/* Tables */
.table-responsive { overflow-x: auto; margin: 28px 0; border: 1px solid var(--line); border-radius: 10px; }
.technical-table { width: 100%; border-collapse: collapse; font-size: 14px; text-align: left; }
.technical-table th { background: var(--surface-alt); padding: 12px 16px; font-weight: 800; border-bottom: 2px solid var(--line); color: var(--ink); }
.technical-table td { padding: 12px 16px; border-bottom: 1px solid var(--line); }
.technical-table tr:nth-child(even) { background: var(--paper); }

/* Footer */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding: 50px 0 30px; margin-top: 60px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 40px; }
.footer-col h4 { font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 16px; color: var(--ink); }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; color: #64748b; font-weight: 600; }
.footer-col ul a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 24px; display: flex; justify-content: space-between; color: #94a3b8; font-size: 13px; }

@media(max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .strip-grid { grid-template-columns: 1fr 1fr; }
  .editorial-grid { grid-template-columns: 1fr; }
  .knowledge-band { grid-template-columns: 1fr; gap: 20px; padding: 30px; }
  .article-layout { grid-template-columns: 1fr; }
  .sticky-toc { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
