/* ================= BLOG PAGE STYLES ================= */

/* ============================================
   PAGE HEADER
   ============================================ */
.blog-page-header {
  background: linear-gradient(rgba(16, 31, 75, 0.85), rgba(16, 31, 75, 0.85)), url('../images/hero.png') center/cover no-repeat;
  padding: 100px 0;
  text-align: left;
}

.blog-breadcrumb {
  color: #cfd8f5;
  font-size: 14px;
  display: flex;
  align-items: center;
}

.blog-breadcrumb a {
  color: #cfd8f5;
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-breadcrumb a:hover {
  color: #ffffff;
}

.blog-breadcrumb i {
  margin: 0 8px;
  font-size: 12px;
  color: #cfd8f5;
}

.blog-page-header h1 {
  color: #ffffff;
  font-size: 42px;
  font-weight: 700;
  margin-top: 10px;
  line-height: 1.2;
}

/* ============================================
   BLOG SECTION
   ============================================ */
.blog-section {
  padding: 80px 0;
  background-color: #f8fafc;
}

/* ============================================
   BLOG GRID - 3 Columns
   ============================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* ============================================
   BLOG CARD
   ============================================ */
.blog-card {
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 28px rgba(16, 31, 75, 0.09);
  border-color: #cbd5e1;
}

/* Blog Card Image */
.blog-card-img {
  width: 100%;
  height: 180px;
  overflow: hidden;
  background-color: #f1f5f9;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: fit;
  display: block;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-img img {
  transform: scale(1.05);
}

/* Blog Card Body */
.blog-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* Blog Meta (Date) */
.blog-meta {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.blog-meta i {
  color: #2952e3;
  font-size: 13px;
}

/* Blog Title */
.blog-title {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 12px;
}

.blog-title a {
  color: #101f4b;
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-card:hover .blog-title a {
  color: #4fa3e3;
}

/* Blog Description */
.blog-desc {
  color: #64748b;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Blog Card Footer */
.blog-card-footer {
  border-top: 1px solid #e2e8f0;
  padding-top: 16px;
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Read More Link */
.blog-read-more {
  color: #4fa3e3;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
}

.blog-read-more i {
  font-size: 12px;
  transition: transform 0.3s ease;
}

.blog-read-more:hover {
  color: #101f4b;
}

.blog-card:hover .blog-read-more i {
  transform: translateX(4px);
}

/* Social Share Icons */
.blog-social-share {
  display: flex;
  align-items: center;
  gap: 12px;
}

.blog-social-share a {
  color: #94a3b8;
  font-size: 14px;
  transition: color 0.3s ease, transform 0.2s ease;
  text-decoration: none;
}

.blog-social-share a:hover {
  color: #101f4b;
  transform: translateY(-2px);
}

/* ============================================
   CONTAINER
   ============================================ */
.blog-container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */

/* Tablets */
@media (max-width: 991px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .blog-page-header {
    padding: 70px 0;
  }

  .blog-page-header h1 {
    font-size: 34px;
  }

  .blog-section {
    padding: 60px 0;
  }

  .blog-card-img {
    height: 160px;
  }
}

/* Mobile Phones */
@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .blog-page-header {
    padding: 50px 0;
  }

  .blog-page-header h1 {
    font-size: 28px;
  }

  .blog-breadcrumb {
    font-size: 12px;
  }

  .blog-section {
    padding: 50px 0;
  }

  .blog-card-body {
    padding: 18px;
  }

  .blog-title {
    font-size: 16px;
  }

  .blog-desc {
    font-size: 13px;
  }

  .blog-meta {
    font-size: 12px;
  }

  .blog-card-img {
    height: 140px;
  }

  .blog-read-more {
    font-size: 13px;
  }

  .blog-social-share a {
    font-size: 13px;
  }

  .blog-container {
    padding: 0 15px;
  }
}

/* Small Mobile Phones */
@media (max-width: 480px) {
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .blog-page-header h1 {
    font-size: 24px;
  }

  .blog-page-header {
    padding: 40px 0;
  }

  .blog-section {
    padding: 40px 0;
  }

  .blog-card-img {
    height: 160px;
  }

  .blog-card-body {
    padding: 16px;
  }

  .blog-title {
    font-size: 17px;
  }

  .blog-desc {
    font-size: 13px;
  }

  .blog-card-footer {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

  .blog-social-share {
    gap: 15px;
  }

  .blog-container {
    padding: 0 12px;
  }
}