/*
Theme Name: ArtinWebs Blog
Theme URI: https://artinwebs.org
Author: AMHR Marketing Management LLC
Author URI: https://artinwebs.org
Description: A lightweight, premium blog theme matching the ArtinWebs dark navy + gold brand identity. Built for AI-powered content publishing via n8n automation.
Version: 3.0.1
License: GPL-2.0-or-later
Text Domain: artinwebs-blog
Tags: blog, dark, minimal, custom-colors, custom-logo

/* ==============================================
   ARTINWEBS BLOG — Design System v3
   Dark Navy + Gold Premium Theme
   ============================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@400;500;600;700;800;900&display=swap');

/* --- CSS Variables --- */
:root {
  --navy-900: #0A0F1C;
  --navy-800: #0D1527;
  --navy-700: #111D35;
  --navy-600: #162544;
  --navy-500: #1B2D52;
  --gold-500: #D4A843;
  --gold-400: #E8C468;
  --gold-300: #F0D68A;
  --gold-glow: rgba(212, 168, 67, 0.12);
  --teal-500: #00BFA6;
  --text-primary: #E8ECF4;
  --text-secondary: #8892A8;
  --text-muted: #5A6478;
  --surface: #0F1729;
  --border: rgba(212, 168, 67, 0.12);
  --border-hover: rgba(212, 168, 67, 0.3);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-md: 0 8px 32px rgba(0,0,0,0.4);
  --shadow-gold: 0 4px 24px rgba(212, 168, 67, 0.2);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Outfit', 'Inter', sans-serif;
  --max-width: 1200px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  background: var(--navy-900);
  color: var(--text-primary);
  line-height: 1.7;
  padding-top: 72px;
}
img { max-width: 100%; height: auto; display: block; }
/* Prevent global img reset from breaking logos */
.nav-logo-img,
.footer-brand-logo img {
  width: auto !important;
  height: 120px !important;
  max-width: none !important;
  object-fit: contain !important;
  display: block !important;
  filter: drop-shadow(0 0 6px rgba(212,168,67,0.25));
}
.footer-brand-logo img {
  width: auto !important;
  height: 120px !important;
}
a { color: inherit; text-decoration: none; transition: color var(--transition); }

/* Skip link accessibility */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  z-index: 9999;
  padding: 8px 16px;
  background: var(--gold-500);
  color: var(--navy-900);
  font-weight: 700;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}
.skip-link:focus { left: 16px; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
}
h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 700; }
p { color: var(--text-secondary); line-height: 1.8; }

/* --- Container --- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* ============================================
   NAVIGATION — matches main site exactly
   ============================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(10, 15, 28, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--max-width); margin: 0 auto; padding: 0 24px;
}
.nav-logo {
  display: flex; align-items: center;
  flex-shrink: 0;
}
.nav-logo-img {
  width: auto; height: 60px; max-width: 220px;
  object-fit: contain; display: block;
  filter: drop-shadow(0 0 6px rgba(212,168,67,0.25));
}
.nav-links {
  display: flex; align-items: center; gap: 32px;
}
.nav-link {
  font-size: 0.9rem; font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative; white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: var(--gold-400); }
.nav-link::after {
  content: ''; position: absolute;
  bottom: -4px; left: 0; width: 0; height: 2px;
  background: var(--gold-500);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-cta {
  padding: 10px 24px;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  color: var(--navy-900) !important; font-weight: 700;
  border-radius: var(--radius-sm); font-size: 0.85rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}
.nav-cta:hover { box-shadow: var(--shadow-gold); transform: translateY(-1px); }

/* Search inside nav */
.nav-links form { display: flex; align-items: center; }
.nav-links input[type="search"] {
  background: var(--navy-700);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 14px; color: var(--text-primary);
  font-family: var(--font-body); font-size: 0.85rem;
  outline: none; width: 180px;
  transition: border-color 0.3s, width 0.3s;
}
.nav-links input[type="search"]:focus { border-color: var(--gold-500); width: 220px; }
.nav-links button[type="submit"] { display: none; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer; padding: 8px;
  transition: border-color 0.3s;
}
.nav-toggle:hover { border-color: var(--gold-500); }
.hamburger-line {
  display: block; width: 100%; height: 2px;
  background: var(--text-secondary); border-radius: 2px;
  transition: all 0.3s;
}

/* ============================================
   HERO / PAGE HEADER
   ============================================ */
.archive-hero {
  padding: 80px 0 60px;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(212,168,67,0.07) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(0,191,166,0.05) 0%, transparent 40%),
    var(--navy-900);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.archive-hero-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 2px; color: var(--gold-500); margin-bottom: 16px;
}
.archive-hero-label::before, .archive-hero-label::after {
  content: ''; width: 24px; height: 2px;
  background: var(--gold-500); border-radius: 2px;
}
.archive-hero h1 { margin-bottom: 16px; }
.archive-hero h1 span { color: var(--gold-400); }
.archive-hero p {
  max-width: 560px; margin: 0 auto; font-size: 1.05rem;
  color: var(--text-secondary);
}

/* ============================================
   MAIN LAYOUT
   ============================================ */
.site-main { padding: 64px 0; }
.content-area { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }

/* ============================================
   BLOG ARCHIVE / POST GRID
   ============================================ */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.posts-grid.featured-first .post-card:first-child {
  grid-column: 1 / -1;
}
.no-posts {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 0;
  color: var(--text-muted);
}

/* Post Card */
.post-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  display: flex; flex-direction: column;
  position: relative;
}
.post-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.post-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold-500), var(--teal-500));
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition);
}
.post-card:hover::before { transform: scaleX(1); }

.post-card-thumb {
  overflow: hidden; position: relative;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-600));
  aspect-ratio: 16/9;
}
.post-card-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.post-card:hover .post-card-thumb img { transform: scale(1.05); }

/* No thumbnail fallback */
.post-card-thumb .no-thumb {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 8px;
  background: linear-gradient(135deg, var(--navy-600), var(--navy-500));
}
.post-card-thumb .no-thumb .no-thumb-icon {
  font-size: 2.5rem; opacity: 0.25;
}
.post-card-thumb .no-thumb .no-thumb-label {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 2px;
  color: var(--gold-500); opacity: 0.5; font-weight: 600;
}

/* Featured card thumb taller */
.post-card:first-child .post-card-thumb { aspect-ratio: 21/9; }

.post-card-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }

.post-card-category {
  display: inline-block;
  padding: 4px 12px; border-radius: 20px;
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px;
  background: var(--gold-glow); color: var(--gold-400);
  border: 1px solid rgba(212,168,67,0.2);
  margin-bottom: 14px;
  transition: background var(--transition);
}
.post-card-category:hover { background: rgba(212,168,67,0.2); }

.post-card-title {
  font-size: 1.15rem; font-weight: 700;
  color: var(--text-primary); margin-bottom: 12px;
  line-height: 1.35;
}
.post-card-title a { color: inherit; }
.post-card-title a:hover { color: var(--gold-400); }
.post-card:first-child .post-card-title { font-size: 1.6rem; }

.post-card-excerpt {
  font-size: 0.9rem; color: var(--text-secondary);
  line-height: 1.75; flex: 1; margin-bottom: 20px;
}
.post-card-meta {
  display: flex; align-items: center; gap: 16px;
  font-size: 0.78rem; color: var(--text-muted);
  border-top: 1px solid var(--border); padding-top: 16px;
  margin-top: auto; flex-wrap: wrap;
}
.post-card-meta span { display: flex; align-items: center; gap: 5px; }
.post-card-read-more {
  margin-left: auto;
  color: var(--gold-500); font-weight: 600; font-size: 0.82rem;
  display: flex; align-items: center; gap: 4px;
  transition: gap var(--transition), color var(--transition);
  white-space: nowrap;
}
.post-card-read-more:hover { gap: 8px; color: var(--gold-400); }

/* ============================================
   PAGINATION
   ============================================ */
.pagination {
  display: flex; justify-content: center;
  margin-top: 56px; padding-top: 40px;
  border-top: 1px solid var(--border);
}
.pagination .nav-links {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 8px 16px;
  box-shadow: var(--shadow-md);
}
.pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; border-radius: 50px;
  font-size: 0.9rem; font-weight: 600;
  color: var(--text-secondary); transition: all var(--transition);
  padding: 0 12px;
}
.pagination .page-numbers:hover {
  background: var(--teal-500); color: var(--navy-900);
  box-shadow: 0 4px 12px rgba(0, 191, 166, 0.4);
}
.pagination .page-numbers.current {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  color: var(--navy-900); font-weight: 800;
  box-shadow: var(--shadow-gold);
}
.pagination .page-numbers.dots { background: none; box-shadow: none; padding: 0 4px;}

/* ============================================
   SIDEBAR
   ============================================ */
.sidebar { display: flex; flex-direction: column; gap: 28px; position: sticky; top: 88px; }
.widget {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.widget-title {
  font-size: 0.8rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 2px; color: var(--gold-500);
  margin-bottom: 20px; padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 8px;
}
.widget-title::before { content: ''; width: 20px; height: 2px; background: var(--gold-500); border-radius: 2px; }

/* Search Widget */
.widget-search form { display: flex; gap: 8px; }
.widget-search input[type="search"] {
  flex: 1; padding: 10px 14px;
  background: var(--navy-700); border: 1px solid var(--border);
  border-radius: var(--radius-sm); color: var(--text-primary);
  font-family: var(--font-body); font-size: 0.9rem; outline: none;
  transition: border-color var(--transition);
}
.widget-search input[type="search"]:focus { border-color: var(--gold-500); }
.widget-search button {
  padding: 10px 16px;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  color: var(--navy-900); border: none; border-radius: var(--radius-sm);
  font-weight: 700; cursor: pointer; font-size: 0.85rem;
  transition: box-shadow var(--transition);
}
.widget-search button:hover { box-shadow: var(--shadow-gold); }

/* Recent Posts Widget */
.recent-posts-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.recent-posts-list li {
  padding-bottom: 14px; border-bottom: 1px solid var(--border);
  display: flex; gap: 12px;
}
.recent-posts-list li:last-child { border-bottom: none; padding-bottom: 0; }
.recent-post-thumb {
  width: 60px; height: 60px; border-radius: var(--radius-sm);
  overflow: hidden; flex-shrink: 0;
  background: var(--navy-700);
}
.recent-post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.recent-post-info { flex: 1; min-width: 0; }
.recent-post-title {
  font-size: 0.88rem; font-weight: 600; color: var(--text-primary);
  line-height: 1.4; margin-bottom: 4px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.recent-post-title a:hover { color: var(--gold-400); }
.recent-post-date { font-size: 0.75rem; color: var(--text-muted); }

/* Categories Widget */
.cat-list { list-style: none; }
.cat-list li { border-bottom: 1px solid var(--border); }
.cat-list li:last-child { border-bottom: none; }
.cat-list a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 9px 0; font-size: 0.9rem; color: var(--text-secondary);
  transition: color var(--transition);
}
.cat-list a:hover { color: var(--gold-400); }
.cat-list .count {
  font-size: 0.75rem; font-weight: 700;
  background: var(--gold-glow); color: var(--gold-500);
  padding: 2px 8px; border-radius: 20px;
  border: 1px solid rgba(212,168,67,0.2);
}

/* Tag Cloud Widget */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud a {
  display: inline-block; padding: 5px 12px; border-radius: 20px;
  font-size: 0.78rem; font-weight: 600;
  background: var(--navy-700); color: var(--text-secondary);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.tag-cloud a:hover {
  background: var(--gold-glow); color: var(--gold-400);
  border-color: rgba(212,168,67,0.3);
}

/* About Widget */
.about-widget-avatar {
  width: 64px; height: 64px; border-radius: 50%;
  overflow: hidden; margin-bottom: 14px;
  border: 2px solid var(--gold-500);
  background: var(--navy-700);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--gold-500);
}
.about-widget-avatar img { width: 100%; height: 100%; object-fit: cover; }
.about-widget p { font-size: 0.88rem; color: var(--text-secondary); margin-bottom: 16px; line-height: 1.75; }
.about-widget-links { display: flex; gap: 10px; }
.about-widget-links a {
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy-700); border: 1px solid var(--border);
  font-size: 0.85rem; font-weight: 700; color: var(--text-secondary);
  transition: all var(--transition);
}
.about-widget-links a:hover { background: var(--gold-glow); color: var(--gold-400); border-color: var(--gold-500); }

/* ============================================
   SINGLE POST
   ============================================ */
.single-post-header {
  padding: 80px 0 60px;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(212,168,67,0.06) 0%, transparent 50%),
    var(--navy-900);
  border-bottom: 1px solid var(--border);
}
.single-post-label { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.single-post-label .category-badge {
  padding: 4px 14px; border-radius: 20px;
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
  background: var(--gold-glow); color: var(--gold-400);
  border: 1px solid rgba(212,168,67,0.2);
  transition: background var(--transition);
}
.single-post-label .category-badge:hover { background: rgba(212,168,67,0.2); }
.single-post-title {
  font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 900;
  margin-bottom: 24px; line-height: 1.2;
}
.single-post-meta {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  font-size: 0.85rem; color: var(--text-muted);
}
.single-post-meta span { display: flex; align-items: center; gap: 6px; }
.post-author-avatar {
  width: 32px; height: 32px; border-radius: 50%; overflow: hidden;
  border: 2px solid var(--gold-500);
}
.post-author-avatar img { width: 100%; height: 100%; object-fit: cover; }

.single-post-thumb {
  margin: 56px 0 0;
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border);
  max-height: 520px;
}
.single-post-thumb img { width: 100%; object-fit: cover; }

/* Article Content */
.single-layout { display: grid; grid-template-columns: 1fr 300px; gap: 60px; padding: 64px 0; align-items: start; }
.entry-content { max-width: 720px; }
.entry-content h2 { font-size: 1.7rem; margin: 40px 0 16px; color: var(--gold-400); }
.entry-content h3 { font-size: 1.35rem; margin: 32px 0 12px; color: var(--text-primary); }
.entry-content h4 { font-size: 1.1rem; margin: 24px 0 10px; color: var(--text-primary); }
.entry-content p { margin-bottom: 20px; font-size: 1.05rem; line-height: 1.85; color: var(--text-secondary); }
.entry-content a { color: var(--gold-400); text-decoration: underline; text-decoration-color: rgba(232,196,104,0.3); }
.entry-content a:hover { text-decoration-color: var(--gold-400); }
.entry-content ul, .entry-content ol { padding-left: 28px; margin-bottom: 20px; color: var(--text-secondary); }
.entry-content li { margin-bottom: 8px; line-height: 1.75; }
.entry-content blockquote {
  border-left: 3px solid var(--gold-500);
  padding: 20px 28px; margin: 32px 0;
  background: var(--surface); border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic; font-size: 1.1rem;
}
.entry-content blockquote p { color: var(--text-primary); margin-bottom: 0; }
.entry-content code {
  background: var(--navy-700); padding: 2px 8px; border-radius: 4px;
  font-family: 'Courier New', Courier, monospace; font-size: 0.9em; color: var(--teal-500);
}
.entry-content pre {
  background: var(--navy-800); padding: 24px; border-radius: var(--radius-md);
  overflow-x: auto; margin-bottom: 24px;
  border: 1px solid var(--border);
}
.entry-content pre code { background: none; padding: 0; color: var(--teal-500); font-size: 0.9rem; }
.entry-content img { border-radius: var(--radius-md); margin: 24px 0; border: 1px solid var(--border); }
.entry-content strong { color: var(--text-primary); font-weight: 700; }
.entry-content hr { border: none; border-top: 1px solid var(--border); margin: 32px 0; }
.entry-content table { width: 100%; border-collapse: collapse; margin-bottom: 24px; overflow-x: auto; display: block; }
.entry-content th {
  padding: 12px 16px; text-align: left;
  background: var(--navy-700); color: var(--gold-400);
  font-size: 0.85rem; border-bottom: 2px solid var(--gold-500);
  white-space: nowrap;
}
.entry-content td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary); font-size: 0.9rem;
}
.entry-content tr:hover td { background: rgba(255,255,255,0.02); }

/* Post Tags */
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--border); }
.post-tags .tag-link {
  padding: 5px 14px; border-radius: 20px;
  font-size: 0.78rem; font-weight: 600;
  background: var(--navy-700); color: var(--text-secondary);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.post-tags .tag-link:hover { background: var(--gold-glow); color: var(--gold-400); border-color: rgba(212,168,67,0.3); }

/* Related Posts */
.related-posts { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--border); }
.related-posts-title {
  font-size: 0.85rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 2px; color: var(--gold-500); margin-bottom: 28px;
  display: flex; align-items: center; gap: 10px;
}
.related-posts-title::before { content: ''; width: 24px; height: 2px; background: var(--gold-500); border-radius: 2px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.related-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-md); overflow: hidden;
  transition: all var(--transition);
}
.related-card:hover { border-color: var(--border-hover); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.related-card-thumb { aspect-ratio: 16/9; overflow: hidden; background: var(--navy-700); }
.related-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.related-card:hover .related-card-thumb img { transform: scale(1.05); }
.related-card-body { padding: 16px; }
.related-card-title { font-size: 0.9rem; font-weight: 600; color: var(--text-primary); line-height: 1.4; }
.related-card-title a:hover { color: var(--gold-400); }
.related-card-date { font-size: 0.75rem; color: var(--text-muted); margin-top: 6px; }

/* Post Navigation */
.post-navigation {
  display: flex; justify-content: space-between;
  margin-top: 48px; padding-top: 28px;
  border-top: 1px solid var(--border); gap: 20px;
}
.post-nav-link {
  flex: 1; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 18px 20px;
  transition: all var(--transition); display: block;
}
.post-nav-link:hover { border-color: var(--border-hover); transform: translateY(-2px); }
.post-nav-label {
  font-size: 0.72rem; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 6px;
}
.post-nav-title { font-size: 0.92rem; font-weight: 600; color: var(--text-primary); }
.post-nav-link.next { text-align: right; }

/* ============================================
   FOOTER — 4-column, identical to main site
   ============================================ */
.site-footer {
  background: var(--navy-800);
  border-top: 1px solid var(--border);
  padding: 80px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

/* Brand column */
.footer-brand {}
.footer-logo-link { display: inline-flex; margin-bottom: 20px; }
.footer-logo-img {
  width: 160px !important; height: 40px !important;
  max-width: none !important; object-fit: contain !important;
  display: block !important;
  filter: drop-shadow(0 0 6px rgba(212,168,67,0.25));
}
.footer-brand p {
  font-size: 0.9rem; line-height: 1.8;
  color: var(--text-secondary);
  max-width: 300px;
}
.footer-tagline {
  margin-top: 12px !important;
  font-size: 0.8rem !important;
  color: var(--text-muted) !important;
}

/* Link columns */
.footer-col {}
.site-footer h4 {
  font-size: 0.85rem; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--gold-500);
  margin-bottom: 20px; font-weight: 700;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.9rem; color: var(--text-secondary);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold-400); }

/* Bottom bar */
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 0.8rem; color: var(--text-muted); }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.05);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 700; color: var(--text-secondary);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.footer-social a:hover { background: var(--gold-glow); color: var(--gold-400); border-color: var(--gold-500); }

/* Footer responsive */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}

/* ============================================
   SEARCH RESULTS
   ============================================ */
.search-results-count {
  font-size: 0.9rem; color: var(--text-muted);
  margin-bottom: 24px;
}
.search-results-count strong { color: var(--gold-400); }

/* ============================================
   404
   ============================================ */
.page-not-found {
  min-height: 60vh;
  display: flex; align-items: center;
  justify-content: center; text-align: center;
  padding: 80px 24px;
}

/* ============================================
   GOLD LINE ACCENT
   ============================================ */
.gold-line {
  width: 50px; height: 3px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
  border-radius: 2px; margin: 16px 0;
}

/* ============================================
   WORDPRESS DEFAULT CLASSES
   ============================================ */
.wp-block-image img { border-radius: var(--radius-md); }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.82rem; color: var(--text-muted); text-align: center; padding-top: 8px; }
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { margin-left: auto; margin-right: auto; }
.screen-reader-text { position: absolute; left: -9999px; clip: rect(1px,1px,1px,1px); }
.sticky { /* WordPress sticky post class */ }

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .content-area { grid-template-columns: 1fr; }
  .sidebar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    position: static;
  }
  .single-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  /* Show hamburger menu button */
  .mobile-menu-btn { display: flex; }

  /* Hide nav & search by default on mobile */
  .nav-search {
    display: none;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: rgba(10, 15, 28, 0.98);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 20px 24px;
    gap: 16px;
  }
  .nav-search.is-open { display: flex; }

  .main-navigation {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
  .main-navigation a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 1rem;
    width: 100%;
  }
  .main-navigation a::after { display: none; }
  .nav-cta {
    display: inline-block;
    margin-top: 8px;
    padding: 12px 20px;
    text-align: center;
  }
  .nav-search input[type="search"] {
    width: 100%;
  }

  /* Posts grid */
  .posts-grid { grid-template-columns: 1fr; }
  .posts-grid.featured-first .post-card:first-child { grid-column: 1; }
  .post-card:first-child .post-card-thumb { aspect-ratio: 16/9; }
  .post-card:first-child .post-card-title { font-size: 1.3rem; }

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

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }

  /* Related posts */
  .related-grid { grid-template-columns: 1fr; }

  /* Single post */
  .single-post-title { font-size: 1.8rem; }
  .single-layout { gap: 32px; padding: 40px 0; }

  /* Post navigation */
  .post-navigation { flex-direction: column; }
  .post-nav-link.next { text-align: left; }

  /* Archive hero */
  .archive-hero { padding: 56px 0 40px; }
}

@media (max-width: 480px) {
  .post-card-body { padding: 20px; }
  .container { padding: 0 16px; }
  .single-post-meta { gap: 12px; }
}
