/* ═══ BLOG ARCHIVE ═══ */
.blog-archive {
  padding: 48px 0 72px;
  background: var(--light-bg);
}

/* Header */
.blog-archive-header {
  text-align: center;
  margin-bottom: 48px;
}
.blog-archive-header h1 {
  font-family: 'CoHeadline', sans-serif;
  font-size: 42px; font-weight: 700;
  color: var(--ah-navy);
  margin-bottom: 12px;
}
.blog-archive-intro {
  font-size: 15px; color: var(--text-body);
  max-width: 520px; margin: 0 auto;
  line-height: 1.7;
}

/* ═══ CARD GRID ═══ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* ═══ BLOG CARD ═══ */
.blog-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s, box-shadow 0.25s;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.blog-card-link {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Card image */
.blog-card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}
.blog-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

/* Placeholder when no featured image */
.blog-card-image--placeholder {
  background: var(--ah-navy);
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-card-image--placeholder span {
  font-family: 'CoHeadline', sans-serif;
  font-size: 28px; font-weight: 700;
  color: var(--ah-green);
  opacity: 0.3;
}

/* Card body */
.blog-card-body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card-date {
  font-size: 12px; color: #888;
  font-weight: 700;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-card-title {
  font-family: 'CoHeadline', sans-serif;
  font-size: 18px; font-weight: 700;
  color: var(--ah-navy); line-height: 1.3;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.blog-card:hover .blog-card-title {
  color: var(--ah-green);
}

.blog-card-excerpt {
  font-size: 13px; color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 14px;
  flex: 1;
}

.blog-card-readmore {
  font-family: 'CoHeadline', sans-serif;
  font-size: 13px; font-weight: 700;
  color: var(--ah-blue);
  transition: color 0.2s;
}
.blog-card:hover .blog-card-readmore {
  color: var(--ah-green);
}

/* ═══ PAGINATION ═══ */
.blog-pagination {
  margin-top: 48px;
  text-align: center;
}
.blog-pagination ul {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
}
.blog-pagination li {
  display: inline-block;
}
.blog-pagination a,
.blog-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px; height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  font-family: 'Lato', sans-serif;
  font-size: 14px; font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
}
.blog-pagination a {
  color: var(--ah-navy);
  background: var(--white);
  border: 1px solid var(--ah-grey);
}
.blog-pagination a:hover {
  background: var(--ah-green);
  color: var(--white);
  border-color: var(--ah-green);
}
.blog-pagination .current {
  background: var(--ah-navy);
  color: var(--white);
  border: 1px solid var(--ah-navy);
}
.blog-pagination .prev,
.blog-pagination .next {
  font-family: 'CoHeadline', sans-serif;
  font-size: 13px;
}
.blog-pagination .dots {
  color: #888;
  border: none;
  background: none;
}

/* ═══ EMPTY STATE ═══ */
.blog-empty {
  text-align: center;
  padding: 72px 0;
}
.blog-empty p {
  font-size: 16px; color: #888;
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 900px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}
@media (max-width: 600px) {
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .blog-archive-header h1 { font-size: 30px; }
  .blog-card-image { height: 180px; }
}
