/*
Theme Name: BilgiKripto
Theme URI: https://bilgikripto.com
Author: BilgiKripto Ekibi
Author URI: https://bilgikripto.com
Description: Kripto para haberleri ve piyasa verileri için tasarlanmış hızlı, modern WordPress teması.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bilgikripto
Tags: crypto, news, dark, responsive, blog
*/

/* =========================================
   CSS VARIABLES
   ========================================= */
:root {
  --bg-primary:    #0a0c10;
  --bg-secondary:  #111318;
  --bg-card:       #161922;
  --bg-card-hover: #1c2029;
  --border:        #232733;
  --accent:        #f7931a;
  --accent-dark:   #c97514;
  --accent-glow:   rgba(247,147,26,.18);
  --green:         #00c896;
  --red:           #ff4d6a;
  --text-primary:  #f0f2f7;
  --text-secondary:#c8cfe0;
  --text-muted:    #555e75;
  --radius-sm:     6px;
  --radius-md:     10px;
  --radius-lg:     16px;
  --font-display:  'Bebas Neue', 'Oswald', sans-serif;
  --font-body:     'DM Sans', 'Helvetica Neue', sans-serif;
  --font-mono:     'JetBrains Mono', 'Fira Mono', monospace;
  --shadow-card:   0 4px 24px rgba(0,0,0,.45);
  --transition:    .2s cubic-bezier(.4,0,.2,1);
}

/* =========================================
   RESET & BASE
   ========================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea { font-family: inherit; }

/* =========================================
   TYPOGRAPHY
   ========================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  letter-spacing: .03em;
  line-height: 1.15;
  color: var(--text-primary);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1rem; color: var(--text-primary); }

.accent { color: var(--accent); }
.green  { color: var(--green); }
.red    { color: var(--red); }
.mono   { font-family: var(--font-mono); }

/* =========================================
   LAYOUT UTILS
   ========================================= */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.container--wide { max-width: 1440px; }
.container--narrow { max-width: 860px; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-sm { gap: 8px; }
.gap-md { gap: 16px; }
.gap-lg { gap: 24px; }

.section { padding: 60px 0; }
.section-sm { padding: 40px 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* =========================================
   HEADER / NAV
   ========================================= */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10,12,16,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: .05em;
  flex-shrink: 0;
}

.site-logo__icon {
  width: 36px; height: 36px;
  background: var(--accent);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}

.site-logo__text { color: var(--text-primary); }
.site-logo__text span { color: var(--accent); }

/* Nav */
.primary-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.primary-nav a {
  font-size: .88rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}

.primary-nav a:hover,
.primary-nav a.current-menu-item {
  color: var(--text-primary);
  background: var(--bg-card);
}

.primary-nav .nav-hot {
  color: var(--accent);
  position: relative;
}

.primary-nav .nav-hot::after {
  content: '';
  position: absolute; top: 4px; right: 4px;
  width: 5px; height: 5px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.4); }
}


/* =========================================
   DROPDOWN / SUB-MENU
   ========================================= */
.primary-nav > ul,
.primary-nav > ul > li {
  position: relative;
  display: inline-flex;
  align-items: center;
}

/* Alt menüyü gizle */
.primary-nav ul.sub-menu {
  display: none !important;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 210px;
  background: #1a1d2e;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  padding: 6px;
  z-index: 99999 !important;
  box-shadow: 0 12px 40px rgba(0,0,0,.6);
  list-style: none;
  margin: 0;
}

/* Hover'da göster */
.primary-nav > ul > li:hover > ul.sub-menu,
.primary-nav > ul > li:focus-within > ul.sub-menu {
  display: block !important;
}

.primary-nav ul.sub-menu li {
  display: block;
  width: 100%;
}

.primary-nav ul.sub-menu a {
  display: block;
  padding: 9px 16px;
  border-radius: 8px;
  font-size: .88rem;
  font-weight: 500;
  color: #e0e4f0;
  white-space: nowrap;
  transition: background .15s, color .15s;
  background: transparent;
}

.primary-nav ul.sub-menu a:hover {
  background: rgba(247,147,26,.14);
  color: var(--accent, #f7931a);
}

/* Ok işareti */
.primary-nav li.menu-item-has-children > a::after {
  content: " ▾";
  font-size: .72rem;
  opacity: .7;
}

/* Header Right */
.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.btn-search {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}

.btn-search:hover { color: var(--text-primary); background: var(--bg-card); }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent);
  color: #000;
  font-weight: 700;
  font-size: .85rem;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: background var(--transition), transform var(--transition);
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
}

.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* =========================================
   TICKER BAR
   ========================================= */
.ticker-bar {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  height: 38px;
  display: flex;
  align-items: center;
}

.ticker-track {
  display: flex;
  gap: 0;
  animation: ticker 40s linear infinite;
  white-space: nowrap;
}

.ticker-track:hover { animation-play-state: paused; }

@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 20px;
  font-size: .8rem;
  font-family: var(--font-mono);
  border-right: 1px solid var(--border);
  height: 38px;
}

.ticker-item img {
  width: 18px; height: 18px;
  border-radius: 50%;
}

.ticker-item__name { color: var(--text-primary); font-weight: 600; }
.ticker-item__price { color: var(--text-secondary); }
.ticker-item__change.up   { color: var(--green); }
.ticker-item__change.down { color: var(--red); }

/* =========================================
   HERO / FEATURED SECTION
   ========================================= */
.hero-section {
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
}

/* Main Hero Card */
.hero-card-main {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/9;
  max-height: 420px;
  cursor: pointer;
}

.hero-card-main img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.hero-card-main:hover img { transform: scale(1.04); }

.hero-card-main__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.85) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}

.hero-card-main__cat {
  display: inline-block;
  background: var(--accent);
  color: #000;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
  width: fit-content;
}

.hero-card-main__title {
  font-size: clamp(1.2rem, 2.5vw, 1.9rem);
  color: #fff;
  margin-bottom: 8px;
  text-shadow: 0 2px 8px rgba(0,0,0,.5);
}

.hero-card-main__meta {
  font-size: .78rem;
  color: rgba(255,255,255,.6);
}

/* Hero Side List */
.hero-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-card-side {
  display: flex;
  gap: 12px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
  text-decoration: none;
}

.hero-card-side:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent);
}

.hero-card-side img {
  width: 110px;
  height: 78px;
  object-fit: cover;
  flex-shrink: 0;
}

.hero-card-side__body {
  padding: 10px 12px 10px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.hero-card-side__cat {
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--accent);
}

.hero-card-side__title {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: .03em;
  line-height: 1.25;
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-card-side__meta {
  font-size: .72rem;
  color: var(--text-muted);
}

/* =========================================
   MARKET STATS BAR
   ========================================= */
.market-bar {
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0;
  overflow: hidden;
  margin: 24px 0;
}

.market-bar__item {
  flex: 1;
  padding: 14px 20px;
  border-right: 1px solid var(--border);
  text-align: center;
}

.market-bar__item:last-child { border-right: none; }

.market-bar__label {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.market-bar__value {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.market-bar__sub {
  font-size: .72rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* =========================================
   SECTION HEADERS
   ========================================= */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.section-header__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: .05em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-header__title::before {
  content: '';
  display: block;
  width: 4px; height: 22px;
  background: var(--accent);
  border-radius: 2px;
}

.section-header__link {
  font-size: .82rem;
  color: var(--accent);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition);
}

.section-header__link:hover { gap: 8px; }

/* =========================================
   POST CARDS
   ========================================= */
.post-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.post-card:hover {
  border-color: rgba(247,147,26,.4);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,.4);
}

.post-card__thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.post-card__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.post-card:hover .post-card__thumb img { transform: scale(1.05); }

.post-card__body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.post-card__cat {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--accent);
}

.post-card__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: .03em;
  line-height: 1.3;
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--transition);
}

.post-card:hover .post-card__title { color: var(--accent); }

.post-card__excerpt {
  font-size: .82rem;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .74rem;
  color: var(--text-muted);
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

.post-card__meta-dot { color: var(--border); }

/* Post Card – Horizontal */
.post-card--horizontal {
  flex-direction: row;
  align-items: center;
}

.post-card--horizontal .post-card__thumb {
  width: 120px;
  height: 84px;
  aspect-ratio: unset;
  flex-shrink: 0;
}

.post-card--horizontal .post-card__body { padding: 12px; }

/* =========================================
   FEAR & GREED WIDGET
   ========================================= */
.fear-greed-widget {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
}

.fear-greed-widget__label {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.gauge-wrap {
  position: relative;
  width: 160px;
  margin: 0 auto 12px;
}

.gauge-wrap svg { width: 100%; }

.gauge-needle {
  transform-origin: 50% 100%;
  transition: transform .8s cubic-bezier(.34,1.56,.64,1);
}

.gauge-score {
  font-family: var(--font-display);
  font-size: 2.5rem;
  letter-spacing: .05em;
}

.gauge-text {
  font-size: .85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* =========================================
   CRYPTO TABLE
   ========================================= */
.crypto-table {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.crypto-table table {
  width: 100%;
  border-collapse: collapse;
}

.crypto-table thead tr {
  border-bottom: 1px solid var(--border);
}

.crypto-table th {
  padding: 10px 14px;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-muted);
  font-weight: 600;
  text-align: left;
}

.crypto-table th:not(:first-child) { text-align: right; }

.crypto-table tbody tr {
  border-bottom: 1px solid rgba(35,39,51,.5);
  transition: background var(--transition);
}

.crypto-table tbody tr:last-child { border-bottom: none; }
.crypto-table tbody tr:hover { background: rgba(255,255,255,.025); }

.crypto-table td {
  padding: 10px 14px;
  font-size: .85rem;
  text-align: right;
  font-family: var(--font-mono);
}

.crypto-table td:first-child { text-align: left; }

.crypto-coin {
  display: flex;
  align-items: center;
  gap: 10px;
}

.crypto-coin img {
  width: 28px; height: 28px;
  border-radius: 50%;
}

.crypto-coin__name { font-family: var(--font-body); font-weight: 600; font-size: .88rem; }
.crypto-coin__symbol { font-size: .72rem; color: var(--text-muted); font-family: var(--font-mono); }
.crypto-coin__rank { font-size: .72rem; color: var(--text-muted); }

.change-positive { color: var(--green); }
.change-negative { color: var(--red); }

/* Sparkline placeholder */
.sparkline {
  display: inline-flex;
  gap: 2px;
  align-items: flex-end;
  height: 30px;
}

.sparkline span {
  width: 3px;
  background: var(--text-muted);
  border-radius: 1px;
  opacity: .5;
}

/* =========================================
   SIDEBAR
   ========================================= */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.widget {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.widget__header {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: .05em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.widget__header::before {
  content: '';
  display: block;
  width: 3px; height: 16px;
  background: var(--accent);
  border-radius: 2px;
}

.widget__body { padding: 16px; }

/* Trending List */
.trending-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(35,39,51,.5);
}

.trending-list li:last-child { border-bottom: none; }

.trending-list__num {
  font-family: var(--font-mono);
  font-size: .75rem;
  color: var(--text-muted);
  width: 20px;
  flex-shrink: 0;
}

.trending-list img {
  width: 24px; height: 24px;
  border-radius: 50%;
  flex-shrink: 0;
}

.trending-list__name {
  font-size: .85rem;
  font-weight: 500;
  flex: 1;
}

.trending-list__change {
  font-family: var(--font-mono);
  font-size: .78rem;
  font-weight: 600;
}

/* =========================================
   CONTENT + SIDEBAR LAYOUT
   ========================================= */
.content-sidebar {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 28px;
  align-items: start;
}

/* =========================================
   BREAKING NEWS BAND
   ========================================= */
.breaking-band {
  background: var(--accent);
  display: flex;
  align-items: center;
  gap: 0;
  height: 36px;
  overflow: hidden;
}

.breaking-band__label {
  background: #000;
  color: var(--accent);
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
}

.breaking-band__scroll {
  flex: 1;
  overflow: hidden;
  height: 100%;
}

.breaking-band__track {
  display: flex;
  gap: 40px;
  animation: ticker 30s linear infinite;
  height: 100%;
  align-items: center;
}

.breaking-band__item {
  font-size: .8rem;
  font-weight: 600;
  color: #000;
  white-space: nowrap;
  padding-right: 40px;
  border-right: 2px solid rgba(0,0,0,.2);
}

/* =========================================
   TAGS
   ========================================= */
.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: .78rem;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 999px;
  transition: border-color var(--transition), color var(--transition);
}

.tag:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* =========================================
   PAGINATION
   ========================================= */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 32px 0;
}

.pagination a,
.pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 600;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  transition: var(--transition);
}

.pagination a:hover,
.pagination .current {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}

/* =========================================
   SINGLE POST
   ========================================= */
.single-hero {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 21/9;
  margin-bottom: 28px;
  max-height: 420px;
}

.single-hero img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.single-content {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text-secondary);
}

.single-content h2, .single-content h3, .single-content h4 {
  margin: 1.8em 0 .6em;
  color: var(--text-primary);
}

.single-content p { margin-bottom: 1.2em; }

.single-content a {
  color: var(--accent);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition);
}

.single-content a:hover { border-color: var(--accent); }

.single-content ul, .single-content ol {
  margin: 1em 0 1.2em 1.4em;
  list-style: disc;
}

.single-content ol { list-style: decimal; }

.single-content li { margin-bottom: .5em; }

.single-content blockquote {
  margin: 1.5em 0;
  padding: 16px 20px;
  border-left: 3px solid var(--accent);
  background: var(--bg-card);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-primary);
  font-style: italic;
}

.single-content img {
  border-radius: var(--radius-md);
  margin: 1.5em 0;
}

.post-info-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
}

.post-author {
  display: flex;
  align-items: center;
  gap: 8px;
}

.post-author img {
  width: 36px; height: 36px;
  border-radius: 50%;
}

.post-author__name {
  font-weight: 600;
  font-size: .88rem;
}

.post-author__title {
  font-size: .75rem;
  color: var(--text-muted);
}

/* =========================================
   FOOTER
   ========================================= */
#site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.footer-brand__desc {
  font-size: .875rem;
  color: var(--text-muted);
  margin-top: 12px;
  line-height: 1.7;
}

.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.social-btn {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: .9rem;
  transition: var(--transition);
}

.social-btn:hover {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}

.footer-col__title {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: .06em;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  font-size: .875rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-col ul li a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  font-size: .8rem;
  color: var(--text-muted);
}

.footer-bottom a {
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-bottom a:hover { color: var(--accent); }

/* Newsletter */
.newsletter-form {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.newsletter-form input {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: .85rem;
  outline: none;
  transition: border-color var(--transition);
}

.newsletter-form input:focus { border-color: var(--accent); }
.newsletter-form input::placeholder { color: var(--text-muted); }

.newsletter-form button {
  background: var(--accent);
  color: #000;
  font-weight: 700;
  font-size: .82rem;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}

.newsletter-form button:hover { background: var(--accent-dark); }

/* =========================================
   SEARCH OVERLAY
   ========================================= */
.search-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 100px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}

.search-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.search-box {
  width: 100%;
  max-width: 600px;
  padding: 0 20px;
}

.search-box form {
  display: flex;
  gap: 0;
}

.search-box input {
  flex: 1;
  background: var(--bg-card);
  border: 2px solid var(--accent);
  border-right: none;
  color: var(--text-primary);
  font-size: 1.1rem;
  padding: 14px 18px;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  outline: none;
}

.search-box button {
  background: var(--accent);
  color: #000;
  font-weight: 700;
  padding: 14px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 1rem;
}

/* =========================================
   MOBILE NAV DRAWER
   ========================================= */
.mobile-nav {
  position: fixed;
  top: 0; right: 0;
  width: 280px;
  height: 100vh;
  background: var(--bg-secondary);
  border-left: 1px solid var(--border);
  z-index: 3000;
  padding: 24px;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
}

.mobile-nav.open { transform: translateX(0); }

.mobile-nav__close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary);
  font-size: 1.2rem;
}

.mobile-nav ul {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav ul li a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
}

.mobile-nav ul li a:hover {
  color: var(--text-primary);
  background: var(--bg-card);
}

.overlay-bg {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.7);
  z-index: 2999;
  display: none;
}

.overlay-bg.show { display: block; }

/* =========================================
   CATEGORY BADGE
   ========================================= */
.cat-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  border: 1px solid;
}

.cat-badge--bitcoin  { color: #f7931a; border-color: rgba(247,147,26,.3); background: rgba(247,147,26,.08); }
.cat-badge--ethereum { color: #627eea; border-color: rgba(98,126,234,.3); background: rgba(98,126,234,.08); }
.cat-badge--altcoin  { color: #00c896; border-color: rgba(0,200,150,.3); background: rgba(0,200,150,.08); }
.cat-badge--default  { color: var(--text-secondary); border-color: var(--border); background: var(--bg-secondary); }

/* =========================================
   READING PROGRESS BAR
   ========================================= */
.reading-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: var(--accent);
  z-index: 9999;
  width: 0%;
  transition: width .1s linear;
  box-shadow: 0 0 8px var(--accent);
}

/* =========================================
   BACK TO TOP
   ========================================= */
.back-to-top {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 44px; height: 44px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary);
  z-index: 500;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition);
  cursor: pointer;
}

.back-to-top.show {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}

/* =========================================
   NO-IMAGE PLACEHOLDER
   ========================================= */
.no-thumb {
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 2rem;
  width: 100%;
  aspect-ratio: 16/9;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  .content-sidebar {
    grid-template-columns: 1fr;
  }

  .sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

@media (max-width: 768px) {
  .primary-nav { display: none; }
  .hamburger { display: flex; }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-side { flex-direction: column; }

  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }

  .market-bar {
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .market-bar__item {
    min-width: 120px;
    flex-shrink: 0;
  }

  .sidebar { grid-template-columns: 1fr; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .breaking-band__label { padding: 0 10px; font-size: .68rem; }

  .header-right .btn-primary { display: none; }
}

@media (max-width: 480px) {
  .container { padding: 0 14px; }
  .hero-card-side img { width: 90px; height: 64px; }
  .newsletter-form { flex-direction: column; }
}

/* =========================================
   PRINT
   ========================================= */
@media print {
  #site-header, #site-footer, .sidebar,
  .ticker-bar, .breaking-band, .back-to-top,
  .reading-progress { display: none !important; }

  .content-sidebar { grid-template-columns: 1fr; }
  body { background: #fff; color: #000; }
}
/* Pagination - Yatay Hizalama */
nav.navigation.pagination,
nav.page-numbers,
.nav-links {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* Bireysel butonlar - flex değil inline-flex */
nav.page-numbers a.page-numbers,
nav.page-numbers span.page-numbers,
.nav-links a.page-numbers,
.nav-links span.page-numbers {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}
