@charset "UTF-8";

/* client/entries/blog-category.scss */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-2xl);
}
@media (max-width: 768px) {
  .posts-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
}
.post-card {
  background: var(--colors-bg-elevated);
  border: 1px solid var(--colors-border);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition: all var(--transitions-base);
  box-shadow: var(--shadows-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadows-lg);
  border-color: var(--colors-primary);
}
.post-card:hover .post-card__title a {
  color: var(--colors-primary);
}
.post-card:hover .post-card__link {
  color: var(--colors-primary);
  gap: var(--spacing-sm);
}
.post-card:hover .post-card__link svg {
  transform: translateX(2px);
}
.post-card__content {
  padding: var(--spacing-lg);
  flex: 1;
  display: flex;
  flex-direction: column;
}
.post-card__categories {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-xs);
  margin-bottom: var(--spacing-md);
}
.post-card .category-tag {
  background: var(--colors-bg-muted);
  color: var(--colors-text-muted);
  padding: calc(var(--spacing-xs) / 2) var(--spacing-sm);
  border-radius: var(--border-radius-full);
  font-size: var(--typography-font-size-xs);
  text-decoration: none;
  transition: all var(--transitions-fast);
  font-weight: 500;
  line-height: 1.2;
  border: 1px solid transparent;
}
.post-card .category-tag:hover {
  background: var(--colors-primary);
  color: var(--colors-white);
  border-color: var(--colors-primary);
  transform: translateY(-1px);
}
.post-card__title {
  margin: 0 0 var(--spacing-md);
  line-height: var(--typography-line-height-tight);
  flex-shrink: 0;
}
.post-card__title a {
  color: var(--colors-black);
  text-decoration: none;
  font-size: var(--typography-font-size-lg);
  font-weight: 600;
  transition: color var(--transitions-fast);
  display: block;
}
.post-card__title a:hover {
  color: var(--colors-primary);
}
.post-card__excerpt {
  color: var(--colors-text-muted);
  line-height: var(--typography-line-height-normal);
  margin-bottom: var(--spacing-lg);
  font-size: var(--typography-font-size-sm);
  flex: 1;
  display: -webkit-box;
  line-clamp: 3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-card__excerpt p {
  margin: 0;
}
.post-card__meta {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
  font-size: var(--typography-font-size-xs);
  color: var(--colors-text-muted);
  flex-shrink: 0;
}
@media (max-width: 480px) {
  .post-card__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-xs);
  }
}
.post-card .post-meta__date,
.post-card .post-meta__reading-time {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}
.post-card .post-meta__reading-time::before {
  content: "\2022";
  margin-right: var(--spacing-xs);
}
@media (max-width: 480px) {
  .post-card .post-meta__reading-time::before {
    display: none;
  }
}
.post-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  color: var(--colors-text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: var(--typography-font-size-sm);
  transition: all var(--transitions-fast);
  margin-top: auto;
  flex-shrink: 0;
  width: fit-content;
}
.post-card__link svg {
  transition: transform var(--transitions-fast);
}
.post-card__link:hover {
  color: var(--colors-primary);
  gap: var(--spacing-sm);
}
.post-card__link:hover svg {
  transform: translateX(2px);
}
.post-card:not(:has(.post-card__categories)) .post-card__content {
  padding-top: var(--spacing-xl);
}
.post-card__categories {
  max-height: 4.5em;
  overflow: hidden;
  position: relative;
}
.post-card__categories:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1.5em;
  background: linear-gradient(transparent, var(--colors-bg-elevated));
  opacity: 0;
  transition: opacity var(--transitions-fast);
}
.post-card__categories.has-many-tags:after {
  opacity: 1;
}
@media (max-width: 768px) {
  .posts-grid {
    grid-template-columns: 1fr;
  }
  .post-card__content {
    padding: var(--spacing-md);
  }
  .post-card__title a {
    font-size: var(--typography-font-size-base);
  }
  .post-card__excerpt {
    line-clamp: 4;
    -webkit-line-clamp: 4;
  }
}
@media (max-width: 480px) {
  .post-card {
    border-radius: var(--border-radius-md);
  }
  .post-card__content {
    padding: var(--spacing-md);
  }
  .post-card__categories {
    max-height: none;
  }
  .post-card__categories:after {
    display: none;
  }
  .post-card .category-tag {
    font-size: calc(var(--typography-font-size-xs) * 0.9);
    padding: 2px 8px;
  }
}
@keyframes cardFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.post-card {
  animation: cardFadeIn 0.6s ease forwards;
  opacity: 0;
}
.post-card:nth-child(1) {
  animation-delay: 0.1s;
}
.post-card:nth-child(2) {
  animation-delay: 0.2s;
}
.post-card:nth-child(3) {
  animation-delay: 0.3s;
}
.post-card:nth-child(4) {
  animation-delay: 0.4s;
}
.post-card:nth-child(5) {
  animation-delay: 0.5s;
}
.post-card:nth-child(6) {
  animation-delay: 0.6s;
}
.post-card:nth-child(7) {
  animation-delay: 0.7s;
}
.post-card:nth-child(8) {
  animation-delay: 0.8s;
}
.post-card:nth-child(9) {
  animation-delay: 0.9s;
}
.post-card:nth-child(10) {
  animation-delay: 1s;
}
.post-card:nth-child(11) {
  animation-delay: 1.1s;
}
.post-card:nth-child(12) {
  animation-delay: 1.2s;
}
.post-card:nth-child(13) {
  animation-delay: 1.3s;
}
.post-card:nth-child(14) {
  animation-delay: 1.4s;
}
.post-card:nth-child(15) {
  animation-delay: 1.5s;
}
.post-card:nth-child(16) {
  animation-delay: 1.6s;
}
.post-card:nth-child(17) {
  animation-delay: 1.7s;
}
.post-card:nth-child(18) {
  animation-delay: 1.8s;
}
.post-card:nth-child(19) {
  animation-delay: 1.9s;
}
.post-card:nth-child(20) {
  animation-delay: 2s;
}
.post-card a:focus-visible {
  outline: 2px solid var(--colors-primary);
  outline-offset: 2px;
  border-radius: var(--border-radius-sm);
}
.post-card__title a {
  word-wrap: break-word;
  hyphens: auto;
}
.category-tag[href*=art] {
  background: color-mix(in srgb, #8b5cf6 10%, transparent);
  color: #7c3aed;
}
.category-tag[href*=science] {
  background: color-mix(in srgb, #10b981 10%, transparent);
  color: #059669;
}
.category-tag[href*=travel] {
  background: color-mix(in srgb, #f59e0b 10%, transparent);
  color: #d97706;
}
.category-tag[href*=photography] {
  background: color-mix(in srgb, #ef4444 10%, transparent);
  color: #dc2626;
}
.category-tag[href*=geology] {
  background: color-mix(in srgb, #6366f1 10%, transparent);
  color: #4f46e5;
}
.category-tag[href*=history] {
  background: color-mix(in srgb, #78716c 10%, transparent);
  color: #57534e;
}
.category-tag[href*=environment] {
  background: color-mix(in srgb, #84cc16 10%, transparent);
  color: #65a30d;
}
@media print {
  .posts-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
  .post-card {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid var(--colors-border);
  }
  .post-card:hover {
    transform: none;
  }
  .post-card__link {
    display: none;
  }
}
/*# sourceMappingURL=blog-category.css.map */
