/*
Theme Name: ARKOFN Blog
Theme URI: https://arkofn.com/blog
Author: ARKOFN
Author URI: https://arkofn.com
Description: Custom blog theme for ARKOFN — matching the main site design. Black background, orange accents, Bebas Neue and Rajdhani typography.
Version: 1.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: Private
Tags: blog, custom, dark
*/

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

:root {
  --orange: #FF6A00;
  --orange2: #FF9A3C;
  --black: #060606;
  --dark: #0d0d0d;
  --card: #111111;
  --card2: #161616;
  --border: rgba(255,106,0,0.18);
  --border2: rgba(255,255,255,0.06);
  --text: #e2e2e2;
  --muted: #787878;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--black);
  color: var(--text);
  font-family: 'Rajdhani', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

a {
  color: var(--orange);
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: var(--orange2);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* =============================================
   CUSTOM CURSOR
============================================= */
.cursor {
  width: 10px;
  height: 10px;
  background: var(--orange);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transform: translate(-50%, -50%);
  transition: transform 0.1s;
}

.cursor-ring {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255,106,0,0.6);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: all 0.18s ease;
}

/* =============================================
   SCROLLBAR
============================================= */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--orange); }

/* =============================================
   NAVIGATION
============================================= */
#site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 64px;
  background: rgba(6,6,6,0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  transition: padding 0.3s;
}

#site-nav.scrolled {
  padding: 12px 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.nav-logo img {
  height: 40px;
  width: 40px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(255,106,0,0.4));
}

.nav-brand {
  font-family: 'Bebas Neue', cursive;
  font-size: 24px;
  letter-spacing: 4px;
  color: #fff;
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links li a {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s;
  position: relative;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.nav-links li a:hover,
.nav-links li.current-menu-item a {
  color: #fff;
}

.nav-links li a:hover::after,
.nav-links li.current-menu-item a::after {
  transform: scaleX(1);
}

.nav-cta {
  background: var(--orange);
  color: #000 !important;
  padding: 9px 24px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  transition: background 0.3s;
}

.nav-cta:hover {
  background: var(--orange2) !important;
  color: #000 !important;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 1.5px;
  background: #fff;
  display: block;
  transition: all 0.3s;
}

/* =============================================
   PAGE WRAPPER
============================================= */
#page {
  padding-top: 80px;
}

/* =============================================
   BLOG HERO / HEADER
============================================= */
.blog-hero {
  padding: 80px 64px 60px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border2);
}

.blog-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,106,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,106,0,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
}

.blog-hero-glow {
  position: absolute;
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(255,106,0,0.08) 0%, transparent 70%);
  right: -100px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.blog-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}

.blog-hero-label {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 4px;
  color: var(--orange);
  text-transform: uppercase;
  display: block;
  margin-bottom: 14px;
}

.blog-hero-title {
  font-family: 'Bebas Neue', cursive;
  font-size: clamp(52px, 7vw, 90px);
  letter-spacing: 3px;
  color: #fff;
  line-height: 1;
  margin-bottom: 16px;
}

.blog-hero-title span {
  color: var(--orange);
}

.blog-hero-sub {
  color: var(--muted);
  font-size: 16px;
  max-width: 500px;
  line-height: 1.7;
}

/* =============================================
   BLOG LAYOUT
============================================= */
.blog-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 72px 64px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 64px;
  align-items: start;
}

/* =============================================
   POST GRID (main column)
============================================= */
.posts-grid {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* Featured first post */
.post-card-featured {
  background: var(--card);
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
  display: block;
  text-decoration: none;
  color: var(--text);
}

.post-card-featured::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--orange2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}

.post-card-featured:hover {
  background: var(--card2);
}

.post-card-featured:hover::after {
  transform: scaleX(1);
}

.post-card-featured .post-thumb {
  width: 100%;
  height: 340px;
  object-fit: cover;
  filter: grayscale(20%) brightness(0.7);
  transition: filter 0.5s, transform 0.5s;
}

.post-card-featured:hover .post-thumb {
  filter: grayscale(0%) brightness(0.8);
  transform: scale(1.02);
}

.post-thumb-wrap {
  overflow: hidden;
  position: relative;
}

.post-thumb-wrap::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60%;
  background: linear-gradient(transparent, rgba(6,6,6,0.8));
}

.post-card-body {
  padding: 36px 40px;
}

.post-card-featured .post-card-body {
  padding: 36px 40px;
}

/* Regular post cards */
.post-card {
  background: var(--card);
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
  display: grid;
  grid-template-columns: 260px 1fr;
  text-decoration: none;
  color: var(--text);
}

.post-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}

.post-card:hover {
  background: var(--card2);
}

.post-card:hover::after {
  transform: scaleX(1);
}

.post-card .post-thumb {
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
  filter: grayscale(20%) brightness(0.6);
  transition: filter 0.5s;
}

.post-card:hover .post-thumb {
  filter: grayscale(0%) brightness(0.7);
}

.post-card .post-card-body {
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Post meta */
.post-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.post-category {
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  letter-spacing: 3px;
  color: var(--orange);
  text-transform: uppercase;
  background: rgba(255,106,0,0.1);
  border: 1px solid rgba(255,106,0,0.2);
  padding: 3px 10px;
  text-decoration: none;
  transition: background 0.3s;
}

.post-category:hover {
  background: rgba(255,106,0,0.2);
  color: var(--orange);
}

.post-date {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 1px;
}

.post-read-time {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  color: var(--muted);
}

/* Post title */
.post-title {
  font-family: 'Bebas Neue', cursive;
  font-size: 28px;
  letter-spacing: 2px;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 12px;
  transition: color 0.3s;
}

.post-card-featured .post-title {
  font-size: 36px;
}

a:hover .post-title {
  color: var(--orange);
}

/* Post excerpt */
.post-excerpt {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Read more link */
.read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,106,0,0.6);
  transition: color 0.3s;
  margin-top: auto;
}

.read-more svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s;
}

a:hover .read-more {
  color: var(--orange);
}

a:hover .read-more svg {
  transform: translateX(4px);
}

/* No thumbnail fallback */
.post-thumb-placeholder {
  width: 100%;
  height: 200px;
  background: var(--card2);
  border-bottom: 1px solid var(--border2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.post-thumb-placeholder svg {
  width: 48px;
  height: 48px;
  opacity: 0.15;
}

/* =============================================
   PAGINATION
============================================= */
.pagination {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-top: 48px;
}

.pagination .page-numbers {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card);
  border: 1px solid var(--border2);
  font-family: 'Space Mono', monospace;
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  transition: all 0.3s;
  clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
  background: var(--orange);
  color: #000;
  border-color: var(--orange);
}

/* =============================================
   SIDEBAR
============================================= */
.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2px;
  position: sticky;
  top: 100px;
}

.sidebar-widget {
  background: var(--card);
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.sidebar-widget::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), transparent);
}

.widget-title {
  font-family: 'Bebas Neue', cursive;
  font-size: 18px;
  letter-spacing: 2px;
  color: #fff;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border2);
}

/* Search widget */
.search-form {
  display: flex;
  gap: 0;
}

.search-input {
  flex: 1;
  background: var(--card2);
  border: 1px solid var(--border2);
  border-right: none;
  padding: 11px 16px;
  color: var(--text);
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s;
}

.search-input:focus {
  border-color: rgba(255,106,0,0.4);
}

.search-input::placeholder {
  color: var(--muted);
}

.search-btn {
  background: var(--orange);
  border: none;
  padding: 11px 16px;
  cursor: pointer;
  transition: background 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-btn:hover {
  background: var(--orange2);
}

.search-btn svg {
  width: 16px;
  height: 16px;
  color: #000;
}

/* Categories widget */
.category-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.category-list li {
  border-bottom: 1px solid var(--border2);
}

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

.category-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s;
}

.category-list li a:hover {
  color: var(--orange);
  padding-left: 8px;
}

.category-list li a span {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  color: var(--orange);
  opacity: 0.6;
}

/* Recent posts widget */
.recent-post-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border2);
  text-decoration: none;
  transition: all 0.3s;
}

.recent-post-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.recent-post-item:hover {
  padding-left: 8px;
}

.recent-post-thumb {
  width: 56px;
  height: 56px;
  object-fit: cover;
  flex-shrink: 0;
  filter: grayscale(20%);
}

.recent-post-thumb-placeholder {
  width: 56px;
  height: 56px;
  background: var(--card2);
  border: 1px solid var(--border2);
  flex-shrink: 0;
}

.recent-post-title {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 4px;
  transition: color 0.3s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.recent-post-item:hover .recent-post-title {
  color: var(--orange);
}

.recent-post-date {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  color: var(--muted);
}

/* CTA widget */
.sidebar-cta {
  background: linear-gradient(135deg, rgba(255,106,0,0.12), rgba(255,106,0,0.05));
  border: 1px solid var(--border);
  padding: 32px;
  text-align: center;
}

.sidebar-cta::before {
  background: var(--orange);
}

.sidebar-cta p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 20px;
}

.sidebar-cta-btn {
  display: block;
  background: var(--orange);
  color: #000;
  padding: 12px 24px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  transition: background 0.3s;
}

.sidebar-cta-btn:hover {
  background: var(--orange2);
  color: #000;
}

/* =============================================
   SINGLE POST
============================================= */
.single-post-hero {
  position: relative;
  height: 480px;
  overflow: hidden;
}

.single-post-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%) brightness(0.5);
}

.single-post-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 20%, rgba(6,6,6,0.9) 100%);
  display: flex;
  align-items: flex-end;
  padding: 0 64px 56px;
}

.single-post-hero-content {
  max-width: 800px;
}

.single-post-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 72px 64px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 64px;
  align-items: start;
}

.post-content-area {
  background: var(--card);
  padding: 56px;
  position: relative;
}

.post-content-area::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), transparent);
}

/* Post content typography */
.post-content-area h1,
.post-content-area h2,
.post-content-area h3,
.post-content-area h4 {
  font-family: 'Bebas Neue', cursive;
  letter-spacing: 2px;
  color: #fff;
  margin: 36px 0 16px;
  line-height: 1.1;
}

.post-content-area h1 { font-size: 42px; }
.post-content-area h2 { font-size: 34px; }
.post-content-area h3 { font-size: 26px; }
.post-content-area h4 { font-size: 20px; }

.post-content-area p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.post-content-area strong {
  color: var(--text);
  font-weight: 700;
}

.post-content-area em {
  color: var(--orange2);
  font-style: italic;
}

.post-content-area ul,
.post-content-area ol {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
  margin: 0 0 20px 24px;
}

.post-content-area li {
  margin-bottom: 8px;
}

.post-content-area blockquote {
  border-left: 3px solid var(--orange);
  padding: 20px 28px;
  background: var(--card2);
  margin: 32px 0;
  color: var(--text);
  font-size: 17px;
  font-style: italic;
  line-height: 1.7;
}

.post-content-area a {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.post-content-area img {
  width: 100%;
  height: auto;
  margin: 28px 0;
  filter: grayscale(10%) brightness(0.8);
}

.post-content-area code {
  font-family: 'Space Mono', monospace;
  font-size: 13px;
  background: var(--dark);
  border: 1px solid var(--border2);
  padding: 2px 8px;
  color: var(--orange2);
}

.post-content-area pre {
  background: var(--dark);
  border: 1px solid var(--border2);
  border-left: 3px solid var(--orange);
  padding: 24px;
  overflow-x: auto;
  margin: 24px 0;
}

.post-content-area pre code {
  background: none;
  border: none;
  padding: 0;
}

.post-content-area hr {
  border: none;
  border-top: 1px solid var(--border2);
  margin: 40px 0;
}

/* Post navigation */
.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-top: 2px;
}

.post-nav-item {
  background: var(--card);
  padding: 28px 32px;
  text-decoration: none;
  transition: background 0.3s;
  display: block;
}

.post-nav-item:hover {
  background: var(--card2);
}

.post-nav-label {
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  letter-spacing: 3px;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.post-nav-title {
  font-family: 'Bebas Neue', cursive;
  font-size: 18px;
  letter-spacing: 1.5px;
  color: var(--text);
  line-height: 1.2;
  transition: color 0.3s;
}

.post-nav-item:hover .post-nav-title {
  color: var(--orange);
}

.post-nav-item.next-post {
  text-align: right;
}

/* =============================================
   FOOTER
============================================= */
#site-footer {
  background: var(--black);
  border-top: 1px solid var(--border2);
  margin-top: 0;
}

.footer-main {
  padding: 60px 64px;
  display: grid;
  grid-template-columns: 2.5fr 1fr 1fr 1.2fr;
  gap: 60px;
  max-width: 1280px;
  margin: 0 auto;
}

.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-logo-img {
  height: 38px;
  width: 38px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(255,106,0,0.3));
}

.footer-brand-name {
  font-family: 'Bebas Neue', cursive;
  font-size: 26px;
  letter-spacing: 4px;
  color: #fff;
}

.footer-tagline {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: block;
}

.footer-desc {
  color: rgba(255,255,255,0.3);
  font-size: 13px;
  line-height: 1.7;
}

.footer-col h4 {
  font-family: 'Bebas Neue', cursive;
  font-size: 15px;
  letter-spacing: 2.5px;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 10px;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: var(--orange);
}

.footer-bottom {
  border-top: 1px solid var(--border2);
  padding: 20px 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
}

.footer-bottom p {
  color: rgba(255,255,255,0.2);
  font-size: 11px;
  font-family: 'Space Mono', monospace;
}

/* =============================================
   WHITE CONTENT AREA OVERRIDES
============================================= */

/* Blog index - post cards */
.post-card-featured,
.post-card {
  background: #ffffff;
  border: 1px solid #eeeeee;
}

.post-card-featured:hover,
.post-card:hover {
  background: #f9f9f9;
}

.post-card-body {
  background: #ffffff;
}

.post-card-featured .post-card-body {
  background: #ffffff;
}

.post-title {
  color: #111111;
}

.post-excerpt {
  color: #666666;
}

.read-more {
  color: var(--orange);
}

/* Blog container background */
.blog-container {
  background: #f4f4f4;
}

.posts-grid {
  background: #f4f4f4;
}

/* Sidebar widgets */
.sidebar-widget {
  background: #ffffff;
  border: 1px solid #eeeeee;
}

.sidebar-widget::before {
  background: linear-gradient(90deg, var(--orange), transparent);
}

.widget-title {
  color: #111111;
  border-bottom-color: #eeeeee;
}

.category-list li {
  border-bottom-color: #eeeeee;
}

.category-list li a {
  color: #555555;
}

.category-list li a:hover {
  color: var(--orange);
}

.recent-post-title {
  color: #111111;
}

.recent-post-item {
  border-bottom-color: #eeeeee;
}

.recent-post-thumb-placeholder {
  background: #f0f0f0;
  border-color: #eeeeee;
}

.search-input {
  background: #f9f9f9;
  border-color: #dddddd;
  color: #111111;
}

.search-input::placeholder {
  color: #aaaaaa;
}

.sidebar-cta {
  background: #fff8f4;
  border-color: #ffe0cc;
}

.sidebar-cta p {
  color: #666666;
}

/* Single post content area */
.post-content-area {
  background: #ffffff;
  border: 1px solid #eeeeee;
}

.post-content-area::before {
  background: linear-gradient(90deg, var(--orange), transparent);
}

.post-content-area h1,
.post-content-area h2,
.post-content-area h3,
.post-content-area h4 {
  color: #111111;
}

.post-content-area p {
  color: #444444;
}

.post-content-area strong {
  color: #111111;
}

.post-content-area ul,
.post-content-area ol {
  color: #444444;
}

.post-content-area blockquote {
  background: #f9f9f9;
  color: #333333;
}

.post-content-area code {
  background: #f4f4f4;
  border-color: #dddddd;
  color: var(--orange);
}

.post-content-area pre {
  background: #f4f4f4;
  border-color: #dddddd;
}

.post-content-area hr {
  border-top-color: #eeeeee;
}

/* Post navigation */
.post-nav-item {
  background: #ffffff;
  border: 1px solid #eeeeee;
}

.post-nav-item:hover {
  background: #f9f9f9;
}

.post-nav-title {
  color: #111111;
}

/* Tags bar */
.post-content-area + div {
  background: #f9f9f9;
  border: 1px solid #eeeeee;
}

/* Single post container */
.single-post-container {
  background: #f4f4f4;
}

/* Pagination */
.pagination .page-numbers {
  background: #ffffff;
  border-color: #eeeeee;
  color: #555555;
}

/* =============================================
   REVEAL ANIMATIONS
============================================= */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.up {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 1024px) {
  #site-nav {
    padding: 14px 24px;
  }

  #site-nav.scrolled {
    padding: 10px 24px;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: rgba(6,6,6,0.98);
    flex-direction: column;
    padding: 32px 24px;
    gap: 24px;
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(24px);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .blog-hero {
    padding: 48px 24px 40px;
  }

  .blog-container {
    grid-template-columns: 1fr;
    padding: 48px 24px;
    gap: 48px;
  }

  .blog-sidebar {
    position: static;
  }

  .post-card {
    grid-template-columns: 1fr;
  }

  .post-card .post-thumb {
    min-height: 200px;
    height: 200px;
  }

  .single-post-hero {
    height: 300px;
  }

  .single-post-hero-overlay {
    padding: 0 24px 36px;
  }

  .single-post-container {
    grid-template-columns: 1fr;
    padding: 48px 24px;
    gap: 40px;
  }

  .post-content-area {
    padding: 32px 24px;
  }

  .footer-main {
    padding: 48px 24px;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

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