/* =========================
   BLOG REDESIGN
   ========================= */

.blog-home-page,
.blog-article-page {
  margin-top: 20px;
  margin-bottom: 50px;
}

.blog-home-page .breadcrumb,
.blog-article-page .breadcrumb {
  background: #fff;
  border: 1px solid #e6ebf1;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 24px;
}

.blog-hero {
  background: linear-gradient(135deg, #24384d 0%, #304c67 100%);
  color: #fff;
  border-radius: 18px;
  padding: 50px 36px;
  margin-bottom: 25px;
  box-shadow: 0 12px 28px rgba(16, 32, 48, 0.12);
}

.blog-hero-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  background: rgba(255,255,255,0.12);
  padding: 8px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.blog-hero h1 {
  margin: 0 0 12px;
  font-size: 42px;
  line-height: 1.15;
  font-weight: 800;
  color: #fff;
}

.blog-hero-text {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255,255,255,0.9);
  max-width: 900px;
}

.blog-category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.blog-cat-pill {
  display: inline-block;
  padding: 10px 16px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  color: #304c67;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.blog-cat-pill:hover,
.blog-cat-pill:focus {
  background: #d14b3d;
  border-color: #d14b3d;
  color: #fff;
  text-decoration: none;
}

.blog-grid {
  display: flex;
  flex-wrap: wrap;
  margin-left: -12px;
  margin-right: -12px;
}

.blog-card {
  width: calc(33.333% - 24px);
  margin: 0 12px 24px;
  background: #fff;
  border: 1px solid #e7edf3;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(24, 39, 56, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(24, 39, 56, 0.12);
}

.blog-card-image {
  display: block;
  background: #f5f8fb;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.blog-card-body {
  padding: 22px;
}

.blog-card-meta {
  margin-bottom: 10px;
  font-size: 13px;
  color: #7c8b9b;
}

.blog-card-title {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.3;
  font-weight: 800;
}

.blog-card-title a {
  color: #24384d;
  text-decoration: none;
}

.blog-card-title a:hover {
  color: #d14b3d;
  text-decoration: none;
}

.blog-card-excerpt {
  font-size: 15px;
  line-height: 1.8;
  color: #536273;
  margin-bottom: 18px;
  min-height: 78px;
}

.blog-read-more {
  display: inline-block;
  padding: 11px 18px;
  background: #d14b3d;
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.blog-read-more:hover,
.blog-read-more:focus {
  background: #24384d;
  color: #fff;
  text-decoration: none;
}

.blog-empty {
  background: #fff;
  border: 1px solid #e7edf3;
  border-radius: 18px;
  padding: 40px 30px;
  text-align: center;
}

.blog-empty h3 {
  margin-top: 0;
  color: #24384d;
  font-weight: 800;
}

.blog-article-wrap {
  background: #fff;
  border: 1px solid #e7edf3;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(24, 39, 56, 0.08);
  margin-bottom: 30px;
}

.blog-article-hero img {
  width: 100%;
  height: auto;
  display: block;
}

.blog-article-header {
  padding: 34px 38px 20px;
  border-bottom: 1px solid #eef2f6;
}

.blog-article-category {
  display: inline-block;
  margin-bottom: 12px;
  padding: 8px 14px;
  background: #edf4fb;
  color: #304c67;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  border-radius: 999px;
  letter-spacing: 1px;
}

.blog-article-header h1 {
  margin: 0 0 14px;
  font-size: 42px;
  line-height: 1.15;
  font-weight: 800;
  color: #24384d;
}

.blog-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: #7b8794;
  font-size: 14px;
}

.blog-article-content {
  padding: 34px 38px 38px;
  font-size: 17px;
  line-height: 1.95;
  color: #37485b;
}

.blog-article-content p {
  margin-bottom: 1.3em;
}

.blog-article-content h2,
.blog-article-content h3,
.blog-article-content h4 {
  color: #24384d;
  font-weight: 800;
  margin-top: 1.8em;
  margin-bottom: 0.7em;
}

.blog-article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.blog-related {
  margin-top: 20px;
}

.blog-section-head {
  margin-bottom: 20px;
}

.blog-section-head h3 {
  margin: 0;
  font-size: 28px;
  font-weight: 800;
  color: #24384d;
}

.blog-card-related .blog-card-image img {
  height: 190px;
}

.blog-card-related .blog-card-title {
  font-size: 20px;
}

.blog-article-bottom-nav {
  margin-top: 18px;
}

.blog-back-link {
  display: inline-block;
  padding: 12px 18px;
  border: 1px solid #d8e0e8;
  border-radius: 999px;
  color: #24384d;
  font-weight: 700;
  text-decoration: none;
  background: #fff;
}

.blog-back-link:hover {
  background: #24384d;
  border-color: #24384d;
  color: #fff;
  text-decoration: none;
}

.blog-menu-item > a {
  font-weight: 700;
}

.blog-menu-item.active > a {
  background: rgba(255,255,255,0.12);
  border-radius: 20px;
}

/* HEADER BLOG MENU polish */
#menu .navbar-nav > li.blog-menu-item > a {
  font-weight: 800;
}

#menu .navbar-nav > li.blog-menu-item.active > a,
#menu .navbar-nav > li.blog-menu-item > a:hover {
  background: rgba(255,255,255,0.14);
  border-radius: 999px;
}

/* Responsive */
@media (max-width: 1199px) {
  .blog-card {
    width: calc(50% - 24px);
  }

  .blog-article-header h1 {
    font-size: 36px;
  }
}

@media (max-width: 767px) {
  .blog-hero {
    padding: 32px 20px;
    border-radius: 14px;
  }

  .blog-hero h1 {
    font-size: 30px;
  }

  .blog-card {
    width: calc(100% - 24px);
  }

  .blog-card-image img {
    height: 220px;
  }

  .blog-article-header,
  .blog-article-content {
    padding-left: 20px;
    padding-right: 20px;
  }

  .blog-article-header h1 {
    font-size: 28px;
  }

  .blog-article-content {
    font-size: 16px;
    line-height: 1.85;
  }
}