/* ==========================================
   BASE SECTION
========================================== */
.dr1060blogbrief {
  padding: 90px 20px;
  background: radial-gradient(circle at top, #070b14, #04050a);
  color: #fff;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial;
}

/* ==========================================
   HERO SECTION
========================================== */
.blog-hero {
  position: relative;
  border-radius: 26px;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.75);
}

/* HERO IMAGE */
.blog-hero-image {
  width: 100%;
  max-width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;

  /* ✅ NO SCALE → prevents overflow */
  transform: none;

  filter: brightness(0.75) contrast(1.2);
  transition: all 0.6s ease;
}

/* ACTIVE */
.blog-hero-image.show {
  opacity: 1;
}

/* OVERLAY */
.blog-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(0, 0, 0, 0.75),
    rgba(0, 0, 0, 0.2)
  );
  z-index: 1;
}

/* CONTENT */
.blog-content {
  position: absolute;
  top: 50%;
  left: 16px;
  right: 16px;
  transform: translateY(-50%);
  max-width: 100%;
  z-index: 2;

  opacity: 0;
  transition: all 0.6s ease;
}

.blog-content.show {
  opacity: 1;
}

/* TEXT */
.blog-title {
  font-size: 36px;
  font-weight: 900;
}

.blog-subtitle {
  margin-top: 12px;
  font-size: 16px;
  opacity: 0.85;
  line-height: 1.6;
}

/* BADGES */
.blog-badges {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.blog-badges span {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ==========================================
   GRID SECTION
========================================== */
.blog-container {
  margin-top: 40px;
}

.blog-section-title {
  text-align: center;
  font-size: 22px;
  margin-bottom: 40px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
}

/* prevent overflow */
.blog-grid > * {
  min-width: 0;
}

/* ==========================================
   BLOG CARD
========================================== */
.blog-card {
  position: relative;
  padding: 22px;
  border-radius: 18px;

  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.07),
    rgba(255, 255, 255, 0.02)
  );

  border: 1px solid rgba(255, 255, 255, 0.1);

  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease;
}

.blog-card.show {
  opacity: 1;
  transform: translateY(0);
}

.blog-card:hover {
  transform: translateY(-6px);
}

/* GLOW FIXED INSIDE */
.blog-glow {
  position: absolute;
  width: 120px;
  height: 120px;

  background: radial-gradient(
    circle,
    rgba(77, 163, 255, 0.25),
    transparent 70%
  );

  top: 0;
  right: 0;

  /* ✅ NO OUTSIDE MOVEMENT */
  transform: none;

  filter: blur(20px);
}

/* TEXT */
.blog-card h4 {
  font-size: 18px;
}

.blog-card p {
  font-size: 13px;
  opacity: 0.8;
  margin-top: 10px;
}

/* ==========================================
   CTA
========================================== */
.blog-cta {
  margin-top: 40px;
  text-align: center;
}

.blog-cta-button {
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;

  background: linear-gradient(135deg, #4da3ff, #7c4dff);
}

/* ==========================================
   RESPONSIVE
========================================== */
@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {

  .blog-hero-image {
    height: 260px;
  }

  /* FIX GAP */
  .blog-content {
    top: auto;
    bottom: 0;
    transform: none;
    padding: 16px;
  }

  .blog-title {
    font-size: 22px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-container {
    margin-top: 20px;
  }
}