/*
Theme Name: GeneratePress Child - VeoAudio
Theme URI: https://veoaudio.com
Description: A modern, high-performance audio & speaker review magazine child theme for GeneratePress.
Author: VeoAudio Editorial Team
Author URI: https://veoaudio.com
Template: generatepress
Version: 1.0.0
*/

/* ==========================================================================
   1. GLOBAL STYLES & TYPOGRAPHY
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --veo-primary: #2563eb;
  --veo-primary-dark: #1d4ed8;
  --veo-accent: #06b6d4;
  --veo-dark: #0f172a;
  --veo-dark-card: #1e293b;
  --veo-light: #f8fafc;
  --veo-gray-100: #f1f5f9;
  --veo-gray-200: #e2e8f0;
  --veo-gray-500: #64748b;
  --veo-gray-700: #334155;
  --veo-gray-900: #0f172a;
  --veo-gold: #f59e0b;
  --veo-radius: 12px;
  --veo-shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --veo-shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --veo-shadow-lg: 0 12px 24px -4px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: #f8fafc;
  color: #334155;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6, .main-navigation a, .site-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.02em;
}

/* ==========================================================================
   2. HEADER & NAVIGATION BAR
   ========================================================================== */
.site-header {
  background: #0f172a !important;
  border-bottom: 1px solid #1e293b;
  padding: 16px 0 !important;
}

.site-header .main-title a {
  color: #ffffff !important;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.site-header .main-title a::before {
  content: "🔊";
  font-size: 24px;
}

.site-header .main-title a span {
  color: #38bdf8;
}

.site-description {
  color: #94a3b8 !important;
  font-size: 13px !important;
  margin-top: 4px !important;
  font-weight: 500;
  letter-spacing: 0.2px;
}

.main-navigation {
  background: #0f172a !important;
  border-bottom: 2px solid #1e293b;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.main-navigation .main-nav ul li a {
  color: #cbd5e1 !important;
  font-size: 14.5px;
  font-weight: 600;
  padding: 14px 18px;
  transition: all 0.2s ease;
}

.main-navigation .main-nav ul li:hover > a,
.main-navigation .main-nav ul li.current-menu-item > a {
  color: #ffffff !important;
  background: #1e293b !important;
  border-bottom: 3px solid #38bdf8;
}

/* ==========================================================================
   3. HERO MAGAZINE BANNER (HOMEPAGE)
   ========================================================================== */
.veo-hero-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  border-radius: var(--veo-radius);
  padding: 48px 40px;
  margin-bottom: 40px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--veo-shadow-lg);
  border: 1px solid #334155;
}

.veo-hero-banner::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(37,99,235,0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.veo-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(38, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #38bdf8;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.veo-hero-title {
  font-size: 38px;
  line-height: 1.2;
  color: #ffffff;
  margin: 0 0 16px 0;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.veo-hero-desc {
  font-size: 17px;
  color: #94a3b8;
  max-width: 650px;
  line-height: 1.6;
  margin: 0 0 24px 0;
}

.veo-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.veo-hero-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.veo-hero-pill:hover {
  background: var(--veo-primary);
  border-color: var(--veo-primary);
  color: #ffffff;
  transform: translateY(-2px);
}

/* ==========================================================================
   4. BLOG ARCHIVE CARDS & GRID
   ========================================================================== */
.blog .site-main,
.archive .site-main {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  align-items: stretch;
}

.blog .site-main > article,
.archive .site-main > article {
  background: #ffffff;
  border: 1px solid var(--veo-gray-200);
  border-radius: var(--veo-radius);
  overflow: hidden;
  box-shadow: var(--veo-shadow-sm);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  margin-bottom: 0 !important;
}

.blog .site-main > article:hover,
.archive .site-main > article:hover {
  transform: translateY(-5px);
  box-shadow: var(--veo-shadow-lg);
  border-color: #cbd5e1;
}

/* Card Image Wrapper */
.veo-card-thumb-wrapper {
  position: relative;
  width: 100%;
  padding-top: 60%; /* 16:9 aspect ratio */
  overflow: hidden;
  background: #0f172a;
}

.veo-card-thumb-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog .site-main > article:hover .veo-card-thumb-wrapper img,
.archive .site-main > article:hover .veo-card-thumb-wrapper img {
  transform: scale(1.08);
}

/* Badges on Thumbnail */
.veo-card-badge-cat {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
  color: #38bdf8;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 4px 10px;
  border-radius: 6px;
  z-index: 2;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.veo-card-badge-score {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #2563eb;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(37,99,235,0.4);
  letter-spacing: 0.2px;
}

/* Inside Article Content */
.inside-article {
  padding: 24px !important;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.entry-header {
  margin-bottom: 12px;
}

.entry-title {
  font-size: 19px !important;
  line-height: 1.35 !important;
  margin: 0 0 10px 0 !important;
  font-weight: 700 !important;
}

.entry-title a {
  color: #0f172a;
  text-decoration: none;
  transition: color 0.2s ease;
}

.entry-title a:hover {
  color: var(--veo-primary);
}

.entry-meta {
  font-size: 12.5px;
  color: #64748b;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.entry-summary {
  font-size: 14.5px;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.veo-read-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--veo-primary);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  margin-top: auto;
  transition: gap 0.2s ease;
}

.veo-read-btn:hover {
  gap: 10px;
  color: var(--veo-primary-dark);
}

/* ==========================================================================
   5. SINGLE POST REVIEW STYLING
   ========================================================================== */
.single .inside-article {
  background: #ffffff;
  border-radius: var(--veo-radius);
  padding: 40px !important;
  border: 1px solid var(--veo-gray-200);
  box-shadow: var(--veo-shadow-sm);
}

.single .entry-title {
  font-size: 34px !important;
  line-height: 1.25 !important;
  margin-bottom: 16px !important;
}

.single .entry-meta {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--veo-gray-200);
  margin-bottom: 28px;
}

.single .featured-image {
  margin-bottom: 32px;
  border-radius: var(--veo-radius);
  overflow: hidden;
  box-shadow: var(--veo-shadow-md);
}

.single .featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

.entry-content h2 {
  font-size: 24px;
  margin-top: 40px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f1f5f9;
  color: #0f172a;
}

.entry-content h3 {
  font-size: 19px;
  margin-top: 24px;
  margin-bottom: 12px;
  color: #1e293b;
}

.entry-content p {
  font-size: 16px;
  line-height: 1.75;
  color: #334155;
  margin-bottom: 20px;
}

/* ==========================================================================
   6. SIDEBAR WIDGETS
   ========================================================================== */
.widget-area .widget {
  background: #ffffff;
  border: 1px solid var(--veo-gray-200);
  border-radius: var(--veo-radius);
  padding: 24px !important;
  margin-bottom: 30px !important;
  box-shadow: var(--veo-shadow-sm);
}

.widget-title {
  font-size: 17px !important;
  font-weight: 800 !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #0f172a !important;
  margin-bottom: 18px !important;
  position: relative;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--veo-primary);
}

.veo-top-ranked-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--veo-gray-100);
}

.veo-top-ranked-item:last-child {
  border-bottom: none;
}

.veo-rank-num {
  font-size: 14px;
  font-weight: 800;
  color: #64748b;
  width: 22px;
}

.veo-top-ranked-item:nth-child(1) .veo-rank-num { color: #f59e0b; }
.veo-top-ranked-item:nth-child(2) .veo-rank-num { color: #94a3b8; }
.veo-top-ranked-item:nth-child(3) .veo-rank-num { color: #d97706; }

.veo-rank-info {
  flex: 1;
}

.veo-rank-info a {
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
  text-decoration: none;
  line-height: 1.3;
  display: block;
}

.veo-rank-info a:hover {
  color: var(--veo-primary);
}

.veo-rank-score {
  font-size: 12px;
  font-weight: 800;
  background: #eff6ff;
  color: var(--veo-primary);
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid #bfdbfe;
}

/* ==========================================================================
   7. FOOTER STYLING
   ========================================================================== */
.site-footer {
  background: #0f172a !important;
  color: #94a3b8 !important;
  border-top: 1px solid #1e293b;
  padding: 40px 0 20px 0 !important;
}

.site-footer a {
  color: #cbd5e1 !important;
  text-decoration: none;
}

.site-footer a:hover {
  color: #38bdf8 !important;
}

.site-info {
  font-size: 13px;
  color: #64748b;
  text-align: center;
  margin-top: 20px;
}

/* ==========================================================================
   8. RESPONSIVE ADJUSTMENTS
   ========================================================================== */
@media (max-width: 768px) {
  .veo-hero-title {
    font-size: 28px;
  }
  .veo-hero-banner {
    padding: 28px 20px;
  }
  .blog .site-main,
  .archive .site-main {
    grid-template-columns: 1fr;
  }
  .single .inside-article {
    padding: 20px !important;
  }
}
