.blog-container {
  max-width: 1200px;
  margin: auto;
  padding: 80px 20px;
}
/* ===== PAGE TITLE ===== */

.blog-header {
  text-align: center;
  margin-bottom: 60px;
}

.blog-header span {
  color: #f59e0b;
  font-weight: 600;
  letter-spacing: 1px;
}

.blog-header h1 {
  font-size: 42px;
  margin: 10px 0 0;
  font-weight: 700;
}

/* ===== GRID ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

/* ===== BLOG CARD ===== */
.blog-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  transition: all 0.35s ease;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 45px rgba(0,0,0,0.1);
}

/* ===== IMAGE ===== */
.blog-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

/* ===== CONTENT ===== */
.blog-content {
  padding: 24px;
}

.blog-meta {
  font-size: 13px;
  color: #777;
  margin-bottom: 10px;
}

.blog-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

.blog-desc {
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* ===== READ MORE BUTTON ===== */
.read-more {
  text-decoration: none;
  font-weight: 600;
  color: white;
  background: linear-gradient(135deg, #6d28d9, #7c3aed);
  padding: 10px 18px;
  border-radius: 50px;
  display: inline-block;
  transition: 0.3s;
}

.read-more:hover {
  background: linear-gradient(135deg, #5b21b6, #6d28d9);
}

/* ===== FEATURED CARD ===== */
.featured {
  grid-column: span 2;
}

@media(max-width: 768px) {
  .featured {
    grid-column: span 1;
  }
}

.blog-hero {
  background: linear-gradient(135deg, #6d28d9, #7c3aed);
  padding: 120px 20px 100px;
  color: #fff;
  overflow: hidden;
}

.blog-hero__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

/* ===== CONTENT ===== */

.blog-hero__content {
  max-width: 600px;
}

.blog-hero__tag {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 13px;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.blog-hero__title {
  font-size: 48px;
  line-height: 1.2;
  margin-bottom: 20px;
  font-weight: 700;
}

.blog-hero__desc {
  font-size: 17px;
  opacity: 0.9;
  margin-bottom: 30px;
  line-height: 1.6;
}

/* ===== BUTTONS ===== */

.blog-hero__actions {
  display: flex;
  gap: 15px;
}

.blog-hero__btn {
  padding: 14px 26px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s ease;
}

.blog-hero__btn--primary {
  background: #f59e0b;
  color: #1a1a1a;
}

.blog-hero__btn--primary:hover {
  background: #fbbf24;
}

.blog-hero__btn--outline {
  border: 2px solid rgba(255,255,255,0.7);
  color: #fff;
}

.blog-hero__btn--outline:hover {
  background: #fff;
  color: #6d28d9;
}

/* ===== VISUAL ===== */

.blog-hero__visual {
  position: relative;
  width: 420px;
  height: 300px;
}

.blog-hero__card {
  position: absolute;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.blog-hero__card--1 {
  width: 180px;
  height: 120px;
  top: 20px;
  left: 20px;
  transform: rotate(-8deg);
}

.blog-hero__card--2 {
  width: 200px;
  height: 140px;
  top: 80px;
  left: 150px;
  transform: rotate(6deg);
}

.blog-hero__card--3 {
  width: 160px;
  height: 100px;
  top: 180px;
  left: 70px;
  transform: rotate(-4deg);
}

/* ===== IMAGE INSIDE CARDS ===== */

.blog-hero__card {
  overflow: hidden;
}

.blog-hero__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Optional — subtle hover effect */
.blog-hero__card:hover img {
  transform: scale(1.05);
  transition: 0.4s ease;
}


/* ===== HERO ===== */
/* ===== HERO ===== */

.blog-hero-premium {
  position: relative;
  height: 520px;
  overflow: hidden;
  color: #fff;
}

.blog-hero-premium img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.7) blur(1px);
  transform: scale(1.05);
}

.blog-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,#6d28d9cc,#7c3aedcc);
}

.blog-hero-content {
  position: absolute;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
}

.blog-hero-content h1 {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.15;
}

.blog-hero-content p {
  font-size: 20px;
  opacity: .95;
}

.blog-meta {
  margin-bottom: 16px;
  opacity: .9;
}

/* ===== MAIN LAYOUT ===== */

.blog-detail-container {
  max-width: 1200px;
  margin: 90px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 60px;
}

/* ===== SIDEBAR ===== */

.blog-sidebar {
  position: sticky;
  top: 110px;
  align-self: start;
}

.sidebar-card {
  background: #fff;
  padding: 22px;
  border-radius: 16px;
  margin-bottom: 24px;
  box-shadow: 0 10px 25px rgba(0,0,0,.06);
}

/* ===== ARTICLE ===== */

.blog-article {
  background: #fff;
  padding: 50px 60px;
  border-radius: 22px;
  box-shadow: 0 20px 60px rgba(0,0,0,.07);
}

.blog-article h2 {
  font-size: 32px;
  font-weight: 800;
  margin-top: 50px;
}

.blog-article p {
  font-size: 18px;
  line-height: 1.9;
  color: #444;
}

.lead {
  font-size: 22px;
  color: #111;
}

/* ===== HIGHLIGHT ===== */

.highlight-box {
  margin: 50px 0;
  padding: 32px;
  border-left: 6px solid #7c3aed;
  background: #f8f7ff;
  border-radius: 14px;
}

/* ===== IMAGE BLOCK ===== */

.blog-image-block img {
  width: 100%;
  border-radius: 22px;
  box-shadow: 0 35px 80px rgba(0,0,0,.25);
}

.caption {
  text-align: center;
  margin-top: 12px;
  opacity: .7;
}

/* ===== AUTHOR ===== */

.author-card {
  display: flex;
  gap: 20px;
  margin: 60px 0;
  padding: 26px;
  border-radius: 18px;
  background: linear-gradient(145deg,#ffffff,#f7f7fb);
  box-shadow: 0 15px 40px rgba(0,0,0,.08);
}

.author-card img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
}

/* ===== TAGS ===== */

.blog-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
}

.tags span {
  background: #eee;
  padding: 8px 14px;
  border-radius: 50px;
  margin-right: 8px;
}

/* ===== RELATED ===== */

.related-posts {
  padding: 100px 20px;
  text-align: center;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
  gap: 28px;
  max-width: 1100px;
  margin: 40px auto 0;
}

.related-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,.07);
  transition: .3s;
}

.related-card:hover {
  transform: translateY(-10px);
}

.related-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.related-card h4 {
  padding: 18px;
}

/* ===== CTA ===== */

.blog-cta-premium {
  background: linear-gradient(135deg,#6d28d9,#7c3aed);
  padding: 110px 20px;
  text-align: center;
  color: #fff;
}

.blog-cta-premium h2 {
  font-size: 38px;
  font-weight: 800;
}

.cta-btn {
  display: inline-block;
  background: #f59e0b;
  color: #1a1a1a;
  padding: 16px 32px;
  border-radius: 50px;
  margin-top: 28px;
  font-weight: 700;
  text-decoration: none;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 900px) {

  .blog-container {
    grid-template-columns: 1fr;
  }

  .blog-sidebar {
    position: static;
  }

  .blog-hero-content h1 {
    font-size: 36px;
  }

}
/* ===== RESPONSIVE ===== */

@media (max-width: 900px) {

  .blog-hero__inner {
    flex-direction: column;
    text-align: center;
  }

  .blog-hero__actions {
    justify-content: center;
  }

  .blog-hero__title {
    font-size: 36px;
  }

  .blog-hero__visual {
    width: 100%;
    height: 260px;
  }
}