/* ==========================================
   Compact Card Grid
========================================== */

.compact-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.compact-card {
  display: flex;
  flex-direction: column;
  min-height: 260px;
  padding: 24px;
  border: 1px solid #ddd;
  border-radius: 18px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.compact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.compact-card-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  color: #777;
  font-size: 14px;
}

.compact-card-type {
  font-weight: 700;
}

.compact-card-date {
  white-space: nowrap;
}

.compact-card-title {
  display: flex;
  align-items: center;
  min-height: 72px;
  margin: 0 0 14px;
  overflow: hidden;
  font-size: 22px;
  line-height: 1.45;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.compact-card-description {
  display: -webkit-box;
  margin: 0 0 18px;
  overflow: hidden;
  color: #555;
  font-size: 15px;
  line-height: 1.7;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.compact-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.compact-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f5f5f5;
  font-size: 13px;
}

/* ==========================================
   Page Header Detail
========================================== */

.page-label {
  margin-bottom: 8px;
  color: #777;
  font-size: 16px;
  font-weight: 700;
}

.page-lead {
  margin-top: 12px;
  color: #555;
  font-size: 18px;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .compact-card-grid {
    grid-template-columns: 1fr;
  }

  .compact-card {
    min-height: auto;
  }
}

/* ==========================================
   Blog Hero
========================================== */

.blog-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 48px;
}

.blog-hero-content {
  max-width: 760px;
}

.blog-hero-label {
  margin-bottom: 12px;
  color: #777;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-hero-title {
  margin: 0 0 20px;
  font-size: 64px;
  line-height: 1.1;
}

.blog-hero-description {
  margin: 0;
  color: #555;
  font-size: 20px;
  line-height: 1.9;
}

.blog-hero-actions {
  flex-shrink: 0;
}

/* ==========================================
   Blog Hero Responsive
========================================== */

@media (max-width: 768px) {
  .blog-hero {
    display: block;
    margin-bottom: 36px;
  }

  .blog-hero-content {
    max-width: none;
  }

  .blog-hero-label {
    margin-bottom: 10px;
    font-size: 13px;
  }

  .blog-hero-title {
    margin-bottom: 16px;
    font-size: 38px;
    line-height: 1.25;
  }

  .blog-hero-description {
    font-size: 16px;
    line-height: 1.8;
  }

  .blog-hero-actions {
    margin-top: 24px;
  }

  .blog-hero-actions .primary-button,
  .blog-hero-actions button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .blog-hero-title {
    font-size: 32px;
  }
}