/*
Theme Name: TerritorioBinario
Theme URI: https://territoriobinario.com
Author: Marcos R.
Author URI: https://territoriobinario.com
Description: Tema dark editorial para blog de desarrollo .NET, Azure y cloud-native. Diseño moderno con snippets de código como thumbnails.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: netcode
Tags: blog, dark, tech, developer, code
*/

/* ========== CSS VARIABLES ========== */
:root {
  --bg:         #0b0e14;
  --bg2:        #111520;
  --bg3:        #171c2b;
  --surface:    #1a2035;
  --border:     #252d42;
  --accent:     #00d4ff;
  --accent2:    #7c3aed;
  --accent3:    #f59e0b;
  --text:       #e2e8f0;
  --text-muted: #64748b;
  --text-dim:   #94a3b8;
  --font-head:  'Syne', sans-serif;
  --font-mono:  'Space Mono', monospace;
  --font-body:  'DM Sans', sans-serif;
}

/* ========== RESET & BASE ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; height: auto; }

/* ========== NOISE OVERLAY ========== */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.3;
}

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent2); border-radius: 2px; }

/* ========== HEADER / NAV ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 14, 20, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 2rem;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.5px;
}
.logo-text {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.12em;
  color: var(--text);
}
.logo-text span { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
}
.nav-links a {
  display: block;
  padding: 0.4rem 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  letter-spacing: 0.05em;
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a.active,
.nav-links .current-menu-item a,
.nav-links .current_page_item a { color: var(--accent); }
.nav-links a.active::after,
.nav-links .current-menu-item a::after,
.nav-links .current_page_item a::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0.9rem;
  right: 0.9rem;
  height: 2px;
  background: var(--accent);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.btn-search {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-dim);
  padding: 0.4rem;
  transition: color 0.2s;
}
.btn-search:hover { color: var(--accent); }
.btn-rss {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text-dim);
  transition: all 0.2s;
}
.btn-rss:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ========== HERO ========== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 5rem 2rem 4rem;
  max-width: 1280px;
  margin: 0 auto;
}
.hero.home-only { display: block; }
.hero:not(.home-only) { display: none; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.hero-eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--accent);
}
.hero-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.hero-title .line-accent { color: var(--accent); }
.hero-title .line-purple { color: var(--accent2); }
.hero-desc {
  color: var(--text-dim);
  font-size: 1rem;
  max-width: 440px;
  margin-bottom: 2rem;
  line-height: 1.8;
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}
.tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  padding: 0.25rem 0.6rem;
  border-radius: 3px;
  letter-spacing: 0.05em;
}
.tag-blue { background: rgba(0,212,255,0.1); color: var(--accent); border: 1px solid rgba(0,212,255,0.2); }
.tag-purple { background: rgba(124,58,237,0.1); color: #a78bfa; border: 1px solid rgba(124,58,237,0.2); }
.tag-amber { background: rgba(245,158,11,0.1); color: var(--accent3); border: 1px solid rgba(245,158,11,0.2); }
.tag-green { background: rgba(52,211,153,0.1); color: #34d399; border: 1px solid rgba(52,211,153,0.2); }

.hero-featured-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
}
.hero-featured-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,212,255,0.3);
}
.hero-card-image {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-card-image .code-preview {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  line-height: 1.8;
  padding: 1.5rem;
  color: #64748b;
  width: 100%;
}
.hero-card-image .code-preview .kw { color: #818cf8; }
.hero-card-image .code-preview .cls { color: #34d399; }
.hero-card-image .code-preview .fn { color: #60a5fa; }
.hero-card-image .code-preview .str { color: #fbbf24; }
.hero-card-image .code-preview .cm { color: #475569; font-style: italic; }
.hero-card-image .code-preview .attr { color: #f472b6; }
.hero-card-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(transparent, var(--surface));
}
.hero-card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  padding: 0.2rem 0.5rem;
  background: var(--accent);
  color: #000;
  border-radius: 3px;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.hero-card-body { padding: 1.5rem; }
.hero-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}
.hero-card-cat {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hero-card-date {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
}
.hero-card-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}
.hero-card-excerpt {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 1.2rem;
  line-height: 1.7;
}
.hero-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.author-mini {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.author-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent2), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 700;
  color: #fff;
  font-family: var(--font-mono);
}
.author-name {
  font-size: 0.8rem;
  color: var(--text-dim);
}
.read-time {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
}

/* ========== SECTION DIVIDER ========== */
.section-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.section-header h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.section-header .line {
  flex: 1;
  height: 1px;
  background: var(--border);
}
.section-header .section-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  white-space: nowrap;
}

/* ========== MAIN LAYOUT ========== */
.main-wrapper {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem 2rem 4rem;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 4rem;
}

/* ========== POST CARDS ========== */
.posts-grid {
  display: grid;
  gap: 1.5rem;
}
.post-card {
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s;
  cursor: pointer;
}
.post-card:hover {
  border-color: rgba(0,212,255,0.25);
  transform: translateX(4px);
}
.post-card-content { padding: 1.5rem; }
.post-card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.7rem;
}
.cat-badge {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.cat-azure { background: rgba(0,120,212,0.15); color: #60a5fa; border: 1px solid rgba(0,120,212,0.3); }
.cat-dotnet { background: rgba(124,58,237,0.15); color: #a78bfa; border: 1px solid rgba(124,58,237,0.3); }
.cat-docker { background: rgba(14,165,233,0.15); color: #38bdf8; border: 1px solid rgba(14,165,233,0.3); }
.cat-arch { background: rgba(245,158,11,0.15); color: #fbbf24; border: 1px solid rgba(245,158,11,0.3); }
.cat-devops { background: rgba(52,211,153,0.15); color: #34d399; border: 1px solid rgba(52,211,153,0.3); }
.post-card-date {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-muted);
}
.post-card-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.35;
  margin-bottom: 0.6rem;
  transition: color 0.2s;
}
.post-card:hover .post-card-title { color: var(--accent); }
.post-card-excerpt {
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.post-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.post-tags { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.post-card-read {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.post-card-image {
  background: var(--bg3);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
}
.card-code-snippet {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  line-height: 1.9;
  padding: 1rem;
  color: #475569;
  width: 100%;
}
.card-code-snippet .kw { color: #818cf8; }
.card-code-snippet .cls { color: #34d399; }
.card-code-snippet .fn { color: #60a5fa; }
.card-code-snippet .str { color: #fbbf24; }
.card-code-snippet .attr { color: #f472b6; }
.card-code-snippet .num { color: #fb923c; }

/* ========== SINGLE POST ========== */
.single-post-header {
  max-width: 800px;
  margin: 0 auto 3rem;
  padding-top: 3rem;
}
.single-post-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.single-post-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.2;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.single-post-excerpt {
  font-size: 1.1rem;
  color: var(--text-dim);
  line-height: 1.8;
  margin-bottom: 2rem;
}
.single-post-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.author-avatar-large {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent2), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
}
.author-info-large .author-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}
.author-info-large .author-meta {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
}

.single-post-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text);
}
.single-post-content h2,
.single-post-content h3,
.single-post-content h4 {
  font-family: var(--font-head);
  font-weight: 700;
  margin: 2.5rem 0 1rem;
  letter-spacing: -0.02em;
}
.single-post-content h2 {
  font-size: 1.8rem;
  color: var(--accent);
}
.single-post-content h3 {
  font-size: 1.4rem;
}
.single-post-content h4 {
  font-size: 1.1rem;
}
.single-post-content p {
  margin-bottom: 1.5rem;
}
.single-post-content a {
  color: var(--accent);
  border-bottom: 1px solid rgba(0,212,255,0.3);
  transition: border-color 0.2s;
}
.single-post-content a:hover {
  border-bottom-color: var(--accent);
}
.single-post-content ul,
.single-post-content ol {
  margin: 1.5rem 0;
  padding-left: 2rem;
}
.single-post-content li {
  margin-bottom: 0.75rem;
  color: var(--text-dim);
}
.single-post-content code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: var(--surface);
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
  color: var(--accent);
}
.single-post-content pre {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  margin: 2rem 0;
  overflow-x: auto;
}
.single-post-content pre code {
  background: none;
  padding: 0;
  color: var(--text-dim);
  font-size: 0.85rem;
  line-height: 1.8;
}
.single-post-content blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--text-dim);
}
.single-post-content img {
  border-radius: 8px;
  margin: 2rem 0;
}

/* ========== PAGINATION ========== */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.page-btn,
.page-numbers {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 5px;
  color: var(--text-dim);
  background: var(--surface);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
}
.page-btn:hover,
.page-numbers:hover,
.page-btn.active,
.page-numbers.current {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(0,212,255,0.05);
}
.page-numbers.current {
  background: rgba(0,212,255,0.1);
}

/* ========== SIDEBAR ========== */
.sidebar { display: flex; flex-direction: column; gap: 1.5rem; }
.sidebar-widget {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.widget-title {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.9rem 1.2rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.widget-title::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.widget-body { padding: 1.2rem; }

/* About Widget */
.about-widget { text-align: center; }
.about-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent2), var(--accent));
  margin: 0 auto 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}
.about-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}
.about-role {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}
.about-bio {
  font-size: 0.8rem;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.social-links {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
}
.social-btn {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text-muted);
  transition: all 0.2s;
}
.social-btn:hover { border-color: var(--accent); color: var(--accent); }

/* Tags Widget */
.tags-cloud,
.widget_tag_cloud .tagcloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.cloud-tag,
.widget_tag_cloud a {
  font-family: var(--font-mono);
  font-size: 0.62rem !important;
  padding: 0.25rem 0.6rem;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 3px;
  color: var(--text-dim);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.cloud-tag:hover,
.widget_tag_cloud a:hover {
  background: rgba(0,212,255,0.08);
  border-color: rgba(0,212,255,0.3);
  color: var(--accent);
}

/* Recent Posts Widget */
.recent-post-item,
.widget_recent_entries li {
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}
.recent-post-item:last-child,
.widget_recent_entries li:last-child { border-bottom: none; padding-bottom: 0; }
.recent-post-item:first-child,
.widget_recent_entries li:first-child { padding-top: 0; }
.recent-num {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--border);
  line-height: 1;
  flex-shrink: 0;
  padding-top: 2px;
}
.recent-info { flex: 1; }
.recent-title {
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 0.25rem;
  transition: color 0.2s;
  cursor: pointer;
}
.recent-title:hover { color: var(--accent); }
.recent-meta {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-muted);
}

/* ========== FOOTER ========== */
.site-footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  margin-top: 2rem;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem 2rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}
.footer-brand {}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.footer-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 260px;
  margin-bottom: 1.5rem;
}
.footer-stats {
  display: flex;
  gap: 1.5rem;
}
.stat {
  font-family: var(--font-mono);
}
.stat-num {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.stat-label {
  font-size: 0.6rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-top: 0.2rem;
}
.footer-col-title {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a {
  font-size: 0.82rem;
  color: var(--text-dim);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--accent); }

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
}
.footer-copy span { color: var(--accent); }
.footer-tech {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-muted);
}

/* ========== ANIMATIONS ========== */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-content { animation: fadeSlideUp 0.7s ease both; }
.hero-featured-card { animation: fadeSlideUp 0.7s 0.15s ease both; }
.post-card { animation: fadeSlideUp 0.5s ease both; }
.post-card:nth-child(2) { animation-delay: 0.05s; }
.post-card:nth-child(3) { animation-delay: 0.1s; }
.post-card:nth-child(4) { animation-delay: 0.15s; }
.post-card:nth-child(5) { animation-delay: 0.2s; }

/* ========== TERMINAL BLINK ========== */
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }
.cursor-blink { animation: blink 1s step-end infinite; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-featured-card { display: none; }
  .main-wrapper { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .post-card { grid-template-columns: 1fr; }
  .post-card-image { display: none; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-stats { display: none; }
}
