/* ============================================================
   Home page blog section — matches existing section styles
   ============================================================ */

.home-blog {
  margin-top: 2rem;
  padding-top: 1rem;
}

.home-blog h2 {
  margin-bottom: 1.25rem;
  text-align: center;
}

/* ── Two column layout ── */
.home-blog-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  border-top: 1px solid #e0e0e0;
  padding-top: 20px;
}

/* ── Featured article ── */
.home-blog-featured-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  margin-bottom: 14px;
}

.home-blog-featured-category {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #00497A;
  margin-bottom: 8px;
}

.home-blog-featured-title {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 10px;
}

.home-blog-featured-title a {
  color: #000;
  text-decoration: none;
}

.home-blog-featured-title a:hover {
  color: #00497A;
}

.home-blog-featured-excerpt {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.55;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-blog-featured-meta {
  font-size: 0.78rem;
  color: #999;
}

/* ── Sidebar articles ── */
.home-blog-sidebar-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #eee;
}

.home-blog-sidebar-item:first-child {
  padding-top: 0;
}

.home-blog-sidebar-item:last-child {
  border-bottom: none;
}

.home-blog-sidebar-item img {
  width: 90px;
  height: 68px;
  object-fit: cover;
  display: block;
}

.home-blog-sidebar-category {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #00497A;
  margin-bottom: 4px;
}

.home-blog-sidebar-title {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 5px;
}

.home-blog-sidebar-title a {
  color: #000;
  text-decoration: none;
}

.home-blog-sidebar-title a:hover {
  color: #00497A;
}

.home-blog-sidebar-date {
  font-size: 0.72rem;
  color: #aaa;
}

.home-blog-viewall {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #00497A;
  text-decoration: none;
}

.home-blog-viewall:hover {
  text-decoration: underline;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .home-blog-layout {
    grid-template-columns: 1fr;
  }
  .home-blog-featured-img {
    height: 220px;
  }
  .home-blog-sidebar-item {
    grid-template-columns: 80px 1fr;
  }
}
