/* Blog grid & cards */

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin: 2rem 0;
}

@media (min-width: 600px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.blog-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(4, 53, 72, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(4, 53, 72, 0.14);
}

.blog-card__image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card__body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #043548;
  margin: 0 0 0.5rem;
}

.blog-card__title a {
  text-decoration: none;
  color: inherit;
}

.blog-card__title a:hover {
  color: #35bcbf;
}

.blog-card__excerpt {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
  margin-bottom: 1rem;
  flex: 1;
}

.blog-card__more {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 12px;
  background: #eef6f6;
  color: #0b5563;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.9rem;
  align-self: flex-start;
}

.blog-card__more:hover {
  background: #e3f0f0;
}

.blog-section {
  margin-top: 3rem;
  margin-top: 0rem;
}

.blog-section--featured {
  background: #f5f5f5;
  padding: 2rem;
  border-radius: 16px;
}

.blog-meta-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
  font-size: 14px;
}

.blog-meta-chip {
  display: inline-flex;
  align-items: center;
  background: #e6f7f7;
  color: #007777;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 14px;
  text-decoration: none;
}

.blog-meta-chip:hover {
  background: #cceeee;
}

.blog-pagination {
  text-align: center;
  margin: 40px 0 20px;
  padding-top: 20px;
  border-top: 1px solid #ddd;
}

.blog-pagination a,
.blog-pagination span {
  display: inline-block;
  margin: 0 6px;
  padding: 6px 12px;
  text-decoration: none;
  color: #003344;
  border-radius: 4px;
}

.blog-pagination a:hover {
  background: #f5f5f5;
  color: #000;
}

