/* ============================================================
   BLOG PREMIUM LAYER — blog-premium.css
   Advanced Visual System for Blog & Article Pages
   ============================================================ */

/* Blog Hero — Cinematic upgrade */
.blog-hero {
  background:
    radial-gradient(ellipse 70% 60% at 30% 50%, rgba(201,150,60,0.12) 0%, transparent 60%),
    linear-gradient(160deg, rgba(8,14,29,0.98) 0%, rgba(13,26,51,0.92) 100%) !important;
  position: relative;
  overflow: hidden;
}
.blog-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9963c' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

/* Blog Cards — premium glass */
.blog-card {
  border-radius: 20px !important;
  border: 1px solid rgba(0,0,0,0.05) !important;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06) !important;
  transition: all 0.4s cubic-bezier(0.23,1,0.32,1) !important;
  overflow: hidden;
  position: relative;
}
.blog-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.blog-card:hover::after { transform: scaleX(1); }
.blog-card:hover {
  transform: translateY(-10px) !important;
  box-shadow: 0 30px 70px rgba(0,0,0,0.14) !important;
  border-color: rgba(201,150,60,0.15) !important;
}

/* Featured Post — premium */
.blog-featured {
  border-radius: 24px !important;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1) !important;
  border: 1px solid rgba(0,0,0,0.06) !important;
}

/* Search bar — glass */
.blog-search input {
  background: rgba(255,255,255,0.08) !important;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.12) !important;
  transition: all 0.3s ease !important;
}
.blog-search input:focus {
  border-color: rgba(201,150,60,0.5) !important;
  box-shadow: 0 0 0 3px rgba(201,150,60,0.12), 0 4px 16px rgba(0,0,0,0.2) !important;
}

/* Article Hero — cinematic */
.article-hero {
  position: relative;
  overflow: hidden;
}
.article-hero img { filter: brightness(0.65) saturate(0.8) !important; }
.article-hero-overlay {
  background: linear-gradient(180deg, rgba(8,14,29,0.25) 0%, rgba(8,14,29,0.95) 100%) !important;
}
.article-hero-title {
  font-size: clamp(28px,4.5vw,48px) !important;
  line-height: 1.2 !important;
  text-shadow: 0 2px 30px rgba(0,0,0,0.5) !important;
}

/* Sidebar — glass */
.sidebar-widget {
  border-radius: 20px !important;
  border: 1px solid rgba(0,0,0,0.06) !important;
  box-shadow: 0 8px 30px rgba(0,0,0,0.06) !important;
  transition: all 0.3s ease !important;
}
.sidebar-widget:hover {
  box-shadow: 0 16px 50px rgba(0,0,0,0.1) !important;
  transform: translateY(-2px);
}

/* Sidebar CTA — gradient mesh */
.sidebar-cta {
  background: radial-gradient(ellipse 80% 60% at 30% 40%, rgba(201,150,60,0.12) 0%, transparent 60%),
              linear-gradient(135deg, var(--navy), #0f2040) !important;
  border: 1px solid rgba(201,150,60,0.2) !important;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3) !important;
}
.sidebar-cta h3 { 
  background: linear-gradient(135deg, #fff, rgba(255,255,255,0.8));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* TOC — premium */
.toc-list li a {
  padding: 6px 10px;
  border-radius: 8px;
  transition: all 0.25s ease !important;
}
.toc-list li a:hover {
  background: rgba(201,150,60,0.08);
  color: var(--gold) !important;
  padding-left: 16px !important;
}
.toc-list li a::before {
  background: linear-gradient(135deg, var(--gold), var(--gold-light)) !important;
  box-shadow: 0 0 8px rgba(201,150,60,0.4) !important;
  transition: transform 0.25s ease !important;
}
.toc-list li a:hover::before { transform: scale(1.3); }

/* Article content upgrades */
.article-content h2 {
  border-top: none !important;
  position: relative;
  padding-top: 0 !important;
}
.article-content h2::after {
  content: '';
  display: block;
  width: 40px; height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin-top: 8px;
  border-radius: 2px;
}
.article-callout {
  background: linear-gradient(135deg, rgba(201,150,60,0.08), rgba(201,150,60,0.04)) !important;
  border-left: 4px solid var(--gold) !important;
  border-radius: 0 16px 16px 0 !important;
  box-shadow: 4px 0 20px rgba(201,150,60,0.1) !important;
}
.article-img-block {
  border-radius: 20px !important;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15) !important;
  overflow: hidden;
}
.article-img-block img {
  transition: transform 0.5s ease !important;
}
.article-img-block:hover img { transform: scale(1.02); }

/* Related posts */
.related-post {
  border-radius: 12px;
  padding: 10px;
  transition: all 0.3s ease !important;
}
.related-post:hover {
  background: rgba(201,150,60,0.05);
  transform: translateX(4px);
}
.related-post img {
  border-radius: 12px !important;
  transition: transform 0.3s ease !important;
}
.related-post:hover img { transform: scale(1.05); }

/* Author box */
.article-author-box {
  background: linear-gradient(135deg, rgba(201,150,60,0.05), #f7f4ef) !important;
  border-radius: 20px !important;
  border-left: 4px solid var(--gold) !important;
  box-shadow: 0 8px 30px rgba(0,0,0,0.06) !important;
}
.article-author-box img {
  border: 3px solid var(--gold) !important;
  box-shadow: 0 8px 24px rgba(201,150,60,0.3) !important;
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1) !important;
}
.article-author-box img:hover { transform: scale(1.05) rotate(-3deg); }

/* Article tags */
.article-tag {
  border-radius: 30px !important;
  transition: all 0.3s cubic-bezier(0.34,1.56,0.64,1) !important;
}
.article-tag:hover {
  background: var(--gold) !important;
  color: #fff !important;
  transform: scale(1.05) translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(201,150,60,0.4) !important;
}

/* Pagination */
.blog-page-btn {
  border-radius: 12px !important;
  font-weight: 600 !important;
  transition: all 0.3s cubic-bezier(0.34,1.56,0.64,1) !important;
}
.blog-page-btn.active, .blog-page-btn:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-light)) !important;
  border-color: var(--gold) !important;
  box-shadow: 0 8px 24px rgba(201,150,60,0.4) !important;
  transform: scale(1.1) !important;
}

/* Map section */
.map-3d-frame {
  box-shadow: 0 40px 100px rgba(0,0,0,0.7), 0 0 0 1px rgba(201,150,60,0.2) !important;
}
.map-float-badge {
  background: rgba(8,14,29,0.9) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border: 1px solid rgba(201,150,60,0.3) !important;
  box-shadow: 0 16px 50px rgba(0,0,0,0.5) !important;
}

/* Stat boxes */
.article-stat-box {
  background: linear-gradient(135deg, rgba(201,150,60,0.06), #f7f4ef) !important;
  border-radius: 16px !important;
  border-bottom: 3px solid var(--gold) !important;
  transition: all 0.3s ease !important;
}
.article-stat-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08) !important;
}
.article-stat-box .num {
  background: linear-gradient(135deg, var(--navy), var(--gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
