/* =========================
   VEINTARA PREMIUM BLOG THEME
========================= */

body {
    background:
      radial-gradient(circle at 15% 20%, rgba(120,140,255,0.12), transparent 40%),
      radial-gradient(circle at 85% 80%, rgba(255,120,200,0.10), transparent 45%),
      linear-gradient(180deg, #05070d, #03050a);
    background-attachment: fixed;
  }
  
  body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
      radial-gradient(circle at 30% 40%, rgba(120,150,255,0.06), transparent 50%),
      radial-gradient(circle at 70% 60%, rgba(255,120,200,0.05), transparent 50%);
    pointer-events: none;
    z-index: 0;
  }
  
  /* Layout */
  
  .blog-container {
    width: 100%;
    margin: 0;
    padding: 0;
    background: transparent;
    position: relative;
    z-index: 1;
  }
  
  .blog-detail {
    max-width: 920px;
    margin: 0 auto;
    padding: 140px 24px 120px;
    position: relative;
  }
  
  /* Title */
  
  .blog-detail h1 {
    font-size: clamp(2.6rem, 5.5vw, 3.8rem);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 28px;
    background: linear-gradient(90deg, #ffffff, #b8c7ff, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
    text-shadow: 0 0 40px rgba(140,170,255,0.25);
  }
  
  /* Meta */
  
  .blog-author,
  .blog-date {
    color: #a9b9ff;
    opacity: 0.85;
    margin-bottom: 6px;
  }
  
  /* Headings */
  
  .blog-detail h2 {
    font-size: 1.9rem;
    margin-top: 80px;
    margin-bottom: 18px;
    color: #d8e2ff;
  }
  
  .blog-detail h4 {
    font-size: 1.15rem;
    margin-top: 38px;
    margin-bottom: 10px;
    color: #ffb5ff;
  }
  
  /* Text */
  
  .blog-detail p,
  .blog-detail li {
    font-size: 1.08rem;
    line-height: 1.85;
    letter-spacing: 0.2px;
    color: #dde5ff;
  }
  
  /* Image */
  
  .blog-detail img {
    width: 100%;
    
    border-radius: 28px;
    margin: 56px 0 70px;
    box-shadow:
      0 60px 160px rgba(0,0,0,0.7),
      inset 0 0 0 1px rgba(255,255,255,0.08);
  }
  
  /* Floating animation */
  
  .blog-detail article > * {
    animation: blogFloat 10s ease-in-out infinite;
  }
  
  .blog-detail article > *:nth-child(even) {
    animation-delay: 2s;
  }
  
  @keyframes blogFloat {
    0%   { transform: translateY(0px); }
    25%  { transform: translateY(-3px); }
    50%  { transform: translateY(-6px); }
    75%  { transform: translateY(-3px); }
    100% { transform: translateY(0px); }
  }
  
  /* Highlight & CTA glass */
  
  .blog-highlight,
  .blog-cta-soft,
  .blog-cta-main {
    margin: 70px 0;
    padding: 40px 40px;
    border-radius: 26px;
    background:
      linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.01)),
      linear-gradient(135deg, rgba(80,100,200,0.35), rgba(10,15,30,0.8));
    border: 1px solid rgba(180,200,255,0.25);
    backdrop-filter: blur(18px) saturate(140%);
    box-shadow: 0 50px 140px rgba(0,0,0,0.7);
  }
  
  /* CTA text */
  
  .blog-cta-main h3 {
    font-size: 1.9rem;
    margin-bottom: 12px;
    color: #ffffff;
  }
  
  /* Buttons */
  
  .blog-cta-soft a,
  .blog-cta-main a {
    display: inline-block;
    margin-top: 16px;
    padding: 12px 22px;
    border-radius: 12px;
    background: linear-gradient(135deg, #8b9cff, #b38cff);
    color: #f0f3e8;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(140,160,255,0.4);
    transition: all 0.3s ease;
  }
  
  .blog-cta-soft a:hover,
  .blog-cta-main a:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 50px rgba(160,180,255,0.6);
  }
  
  /* Lists */
  
  .blog-detail ul {
    margin: 22px 0 22px 22px;
  }
  
  .blog-detail li {
    margin-bottom: 10px;
  }
  
 
  
  
  /* =========================
   BLOG TEXT COLOR FORCE FIX
========================= */

.blog-detail,
.blog-detail * {
  color: #eaf0ff !important;
}

.blog-detail h1 {
  -webkit-text-fill-color: transparent !important;
}

.blog-detail h2,
.blog-detail h3,
.blog-detail h4 {
  color: #dbe5ff !important;
}

.blog-author,
.blog-date {
  color: #b8c7ff !important;
}

.blog-highlight,
.blog-cta-soft,
.blog-cta-main {
  color: #f2f5ff !important;
}

.blog-cta-soft a,
.blog-cta-main a {
  color: #05070d !important;
}


/*related-blogs*/
/* =========================
   PREMIUM RELATED BLOGS
========================= */

.related-blogs {
  padding: 140px 6vw 180px;
  position: relative;
}

.related-blogs::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(140,170,255,0.12), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(255,140,220,0.10), transparent 45%);
  pointer-events: none;
}

.related-blogs h2 {
  text-align: center;
  font-size: clamp(2.2rem, 4vw, 2.8rem);
  margin-bottom: 80px;
  color: #424f7c;
  letter-spacing: -0.02em;
  text-shadow: 0 0 30px rgba(140,170,255,0.25);
}

/* Grid */

.related-blogs-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 36px;
}

/* Card */

.related-blog-card {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  text-decoration: none;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.01)),
    linear-gradient(135deg, rgba(60,80,180,0.45), rgba(10,15,30,0.85));
  border: 1px solid rgba(180,200,255,0.28);
  box-shadow:
    0 30px 80px rgba(0,0,0,0.65),
    inset 0 0 0 1px rgba(255,255,255,0.05);
  transition: all 0.6s cubic-bezier(.2,.8,.2,1);
  transform-style: preserve-3d;
}

/* Glow layer */

.related-blog-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(140,170,255,0.25), rgba(255,140,220,0.15), transparent 60%);
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

/* Image */

.related-blog-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.8s cubic-bezier(.2,.8,.2,1);
  filter: saturate(1.05) contrast(1.05);
}

/* Content */

.related-blog-card h3 {
  padding: 22px 22px 26px;
  font-size: 1.1rem;
  line-height: 1.4;
  font-weight: 700;
  color: #7c8ab8 !important;
  letter-spacing: -0.01em;
}

/* Hover effects */

.related-blog-card:hover {
  transform: translateY(-16px) scale(1.04);
  box-shadow:
    0 60px 160px rgba(140,170,255,0.35),
    0 30px 80px rgba(0,0,0,0.6);
}

.related-blog-card:hover::before {
  opacity: 1;
}

.related-blog-card:hover img {
  transform: scale(1.12);
}

/* Subtle tilt effect (feels 3D) */

.related-blog-card:hover {
  transform: translateY(-16px) scale(1.04) rotateX(4deg);
}

/* Mobile optimize */

@media (max-width: 600px) {
  .related-blog-card img {
    height: 180px;
  }
}

/*blogtag*/
.blog-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: rgba(20,25,60,0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(180,200,255,0.3);
  color: #eaf0ff;
  z-index: 2;
}

