/* ========================================
   SFGS Blog - Hollywood-Inspired Redesign
   May 2026
   ======================================== */

/* --- Nav fixes (for WordPress pages) --- */
.nav-logo { width: 140px !important; overflow: visible !important; }
.nav-logo img {
  width: 140px !important;
  height: auto !important;
  filter: brightness(1.15) !important;
  object-fit: contain !important;
}
.nav-item { padding-bottom: 14px; margin-bottom: -14px; }
.nav-item .nav-drop {
  opacity: 0; visibility: hidden;
  display: block !important;
  pointer-events: none;
  transition: opacity 0.25s ease 0.5s, visibility 0.25s ease 0.5s;
}
.nav-item:hover .nav-drop {
  opacity: 1; visibility: visible;
  pointer-events: auto;
  transition: opacity 0.15s ease 0s, visibility 0.15s ease 0s;
}
.nav-links a:hover, .nav-links a:focus {
  color: #74CCA4 !important;
  transition: color 0.2s ease;
}
.nav-drop a:hover, .nav-drop a:focus {
  color: #74CCA4 !important;
  background: rgba(116, 204, 164, 0.08);
}
.nav-drop a[href="/pricing"] { display: none !important; }

/* --- Blog Hero: Cinematic header with spotlight effect --- */
.blog-hero {
  position: relative !important;
  padding: 100px 60px 80px !important;
  background: linear-gradient(135deg, #0a0a0a 0%, #1B4332 40%, #0a0a0a 100%) !important;
  overflow: hidden !important;
  border-bottom: 2px solid rgba(82, 183, 136, 0.3) !important;
}
.blog-hero::before {
  content: '' !important;
  position: absolute !important;
  top: -50% !important;
  left: 30% !important;
  width: 600px !important;
  height: 600px !important;
  background: radial-gradient(circle, rgba(82, 183, 136, 0.12) 0%, transparent 70%) !important;
  pointer-events: none !important;
}
.blog-hero::after {
  content: '' !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 4px !important;
  background: linear-gradient(90deg, transparent, #52B788, transparent) !important;
}
.blog-hero .eyebrow {
  font-size: 0.85rem !important;
  letter-spacing: 4px !important;
  color: #52B788 !important;
  text-transform: uppercase !important;
  position: relative !important;
  padding-left: 50px !important;
}
.blog-hero .eyebrow::before {
  content: '' !important;
  position: absolute !important;
  left: 0 !important;
  top: 50% !important;
  width: 36px !important;
  height: 2px !important;
  background: #52B788 !important;
}
.blog-hero .article-title {
  font-size: 4rem !important;
  font-weight: 800 !important;
  letter-spacing: -1px !important;
  background: linear-gradient(135deg, #ffffff 0%, #74CCA4 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  margin-top: 16px !important;
  line-height: 1.1 !important;
}
.blog-hero p {
  font-size: 1.15rem !important;
  color: rgba(255, 255, 255, 0.7) !important;
  max-width: 640px !important;
  line-height: 1.7 !important;
  margin-top: 20px !important;
}

/* --- Blog Grid: Cinematic card layout --- */
.blog-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 32px !important;
  padding: 60px !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  background: #0a0a0a !important;
}

/* --- Blog Cards: Film-poster style --- */
.blog-card {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  padding: 40px 36px !important;
  background: linear-gradient(160deg, rgba(27, 67, 50, 0.25) 0%, rgba(10, 10, 10, 0.95) 100%) !important;
  border: 1px solid rgba(82, 183, 136, 0.15) !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
  text-decoration: none !important;
  border-left: none !important;
}
.blog-card::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 3px !important;
  background: linear-gradient(90deg, #52B788, #2D6A4F) !important;
  opacity: 0 !important;
  transition: opacity 0.4s ease !important;
}
.blog-card:hover {
  transform: translateY(-6px) !important;
  border-color: rgba(82, 183, 136, 0.4) !important;
  box-shadow: 0 20px 60px rgba(82, 183, 136, 0.12), 0 0 40px rgba(82, 183, 136, 0.06) !important;
}
.blog-card:hover::before {
  opacity: 1 !important;
}

/* Category badge - movie-rating style */
.blog-card .meta {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  font-size: 0.72rem !important;
  letter-spacing: 2.5px !important;
  text-transform: uppercase !important;
  color: #52B788 !important;
  padding: 6px 14px !important;
  border: 1px solid rgba(82, 183, 136, 0.35) !important;
  border-radius: 4px !important;
  width: fit-content !important;
  margin-bottom: 20px !important;
  background: rgba(82, 183, 136, 0.06) !important;
}

/* Card titles - dramatic */
.blog-card h2 {
  font-size: 1.55rem !important;
  font-weight: 700 !important;
  letter-spacing: -0.3px !important;
  line-height: 1.3 !important;
  color: #ffffff !important;
  margin-bottom: 14px !important;
  transition: color 0.3s ease !important;
}
.blog-card:hover h2 {
  color: #74CCA4 !important;
}

/* Card excerpt */
.blog-card p {
  color: rgba(255, 255, 255, 0.55) !important;
  font-size: 0.95rem !important;
  line-height: 1.65 !important;
  flex-grow: 1 !important;
}

/* Read more - cinematic arrow */
.blog-card .read-more {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  color: #52B788 !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  margin-top: 20px !important;
  transition: all 0.3s ease !important;
}
.blog-card:hover .read-more {
  color: #74CCA4 !important;
  gap: 14px !important;
}

/* First card spans full width - featured post */
.blog-grid .blog-card:first-child {
  grid-column: 1 / -1 !important;
  padding: 50px 48px !important;
  background: linear-gradient(160deg, rgba(27, 67, 50, 0.35) 0%, rgba(10, 10, 10, 0.95) 100%) !important;
  border-color: rgba(82, 183, 136, 0.25) !important;
}
.blog-grid .blog-card:first-child h2 {
  font-size: 2rem !important;
}

/* Single post page styling */
.single-post .blog-hero {
  padding: 80px 60px 60px !important;
}
.single-post .article-title {
  font-size: 3rem !important;
  background: linear-gradient(135deg, #ffffff 0%, #74CCA4 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}
.single-post .eyebrow {
  color: #52B788 !important;
  letter-spacing: 3px !important;
}

/* Footer accent */
footer {
  border-top: 1px solid rgba(82, 183, 136, 0.2) !important;
}

/* Responsive */
@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr !important;
    padding: 30px 20px !important;
  }
  .blog-hero {
    padding: 60px 30px 50px !important;
  }
  .blog-hero .article-title {
    font-size: 2.5rem !important;
  }
  .blog-grid .blog-card:first-child {
    grid-column: 1 !important;
  }
}