/* ================= BLOG & INSIGHTS ================= */

.blog-section{
  padding: 100px 0;
  background: var(--white);
}

/* header */
.blog-header{
  margin-bottom: 55px;
}

.blog-kicker{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--dark-text);
}

.blog-kicker .line{
  width: 50px;
  height: 2px;
  background: var(--accent);
}

.blog-header h2{
  margin-top: 16px;
  font-size: 52px;
  font-weight: 900;
  line-height: 1.1;
  color: var(--dark-text);
}

.blog-header h2 span{
  color: var(--primary);
}

/* grid layout */
.blog-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* blog card */
.blog-card{
  border: 1px solid #e5e7eb;
  background: var(--white);
  overflow: hidden;
}

/* image area */
.blog-media{
  position: relative;
  display: block;
  height: 220px;
  overflow: hidden; /* required for zoom effect */
}

.blog-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform .45s ease; /* smooth zoom */
}

/* zoom hover effect */
.blog-card:hover .blog-media img{
  transform: scale(1.08);
}

/* tag on image */
.blog-tag{
  position: absolute;
  left: 18px;
  bottom: 18px;
  background: rgba(0,0,0,.80);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  padding: 7px 14px;
}

/* body */
.blog-body{
  padding: 22px 20px 26px;
}

.blog-body h3{
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.2;
}

.blog-body h3 a{
  color: var(--dark-text);
  text-decoration: none;
}

.blog-body h3 a:hover{
  color: var(--secondary);
}

.blog-body p{
  font-size: 15px;
  line-height: 1.7;
  color: var(--dark-text);
  margin: 0 0 18px;
}

/* meta */
.blog-meta{
  display: flex;
  gap: 20px;
  font-size: 14px;
  color: var(--dark-text);
}

.blog-meta i{
  margin-right: 6px;
  color: var(--secondary);
}

/* responsive */
@media (max-width: 1000px){
  .blog-grid{
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-header h2{
    font-size: 44px;
  }
}

@media (max-width: 560px){
  .blog-grid{
    grid-template-columns: 1fr;
  }

  .blog-header h2{
    font-size: 36px;
  }

  .blog-media{
    height: 200px;
  }
}
