/* ==========================================================================
   Ken Pond Design™ – articles.css
   Articles archive page styles
   ========================================================================== */

.articles-archive {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

.articles-archive__heading {
  margin-bottom: 2rem;
}

.articles-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.article-item {
  display: block;
  padding: 1.75rem 0;
  border-bottom: 1px solid #e8e6e2;
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}
.article-item.has-thumb {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}
.article-item:first-child {
  border-top: 1px solid #e8e6e2;
}
.article-item:hover {
  color: #853c46;
}

/* Archive thumbnail */
.article-item__thumb {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  margin-top: 0.15rem;
}
.article-item__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.85;
}
.article-item:hover .article-item__img {
  opacity: 1;
}
.article-item__text {
  flex: 1;
  min-width: 0;
}

.article-item__title {
  font-family: 'Outfit', sans-serif;
  font-weight: 200;
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0;
  color: #853c46;
  margin: 0 0 0.65rem;
}
.article-item:hover .article-item__title {
  color: #59130e;
}

.article-item__excerpt {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #666;
  margin: 0 0 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-item__date {
  font-size: 0.8rem;
  color: #999;
}

.articles-archive__empty {
  color: #999;
  font-style: italic;
}

@media (max-width: 600px) {
  .articles-archive {
    padding: 1.5rem 1rem;
  }
  .article-item__title {
    font-size: 1.15rem;
  }
  .article-item__thumb {
    width: 64px;
    height: 64px;
  }
}
