/* Volcanic Coast — author archive ("Articles by X") page.
   No blog_sidebar here (see archive.php) - full width for a clean 3-up
   card grid instead of the 2-column squeeze the sidebar layout forces. */

.vc-author-archive-heading {
  font-family: var(--vc-font-heading);
  font-weight: 600;
  font-size: 1.75rem;
  color: var(--vc-ink);
  margin: var(--vc-space-lg) 0 var(--vc-space-md);
}

.author .postcards {
  max-width: 1200px;
}

.author .postcards .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--vc-space-md);
  margin: 0;
}

.author .postcards .grid__item {
  width: auto;
  padding: 0;
}

.author .card--post {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--vc-surface);
  border-radius: var(--vc-radius-md);
  box-shadow: 0 4px 16px color-mix(in srgb, var(--vc-ink) 10%, transparent);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.author .card--post:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px color-mix(in srgb, var(--vc-ink) 14%, transparent);
}

.author .card__image {
  display: block;
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  background-color: color-mix(in srgb, var(--vc-support) 20%, var(--vc-surface));
}

.author .card__content {
  padding: var(--vc-space-sm) var(--vc-space-md) var(--vc-space-md);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.author .card__title {
  font-family: var(--vc-font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  line-height: 1.3;
  margin: 0 0 var(--vc-space-sm);
}

.author .card__title a {
  color: var(--vc-ink);
  text-decoration: none;
}

.author .card--post:hover .card__title a {
  color: var(--vc-accent);
}

.author .card__meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--vc-support);
}

.author .card__meta .posted-on a {
  color: var(--vc-support);
  text-decoration: none;
}

.author .card__links {
  list-style: none;
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 0;
}

.author .card__links a {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--vc-accent);
  text-decoration: none;
}

.author .card__links a:hover {
  text-decoration: underline;
}

@media (max-width: 980px) {
  .author .postcards .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .author .postcards .grid {
    grid-template-columns: 1fr;
  }
}