.author-grid {
  padding: 2rem 0 3rem 0;
  overflow-x: clip;
}

.author-grid__title {
  font-family: 'Termina', sans-serif;
  color: var(--ica-green-deep, #1E312F);
  margin: 0 0 1rem 0;
}

.author-grid__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .author-grid__list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .author-grid__list {
    grid-template-columns: 1fr;
  }
}

.author-grid__pagination {
display: flex;
justify-content: center;
margin-top: 3rem;
padding: 0 1rem;
margin-top: 2rem;
}

/* Load More button styling (author archive) */
#load-more-author-posts {
  background-color: var(--ica-teal, #17968c);
  color: #fff;
  border: none;
  padding: 1rem 2rem;
  font-family: var(--font-ui, 'Termina', sans-serif);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 150px;
  justify-content: center;
}

#load-more-author-posts:hover {
  background-color: var(--ica-green-deep, #1E312F);
}

#load-more-author-posts[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

.load-more-spinner {
  font-size: 0.9rem;
}

/* Card */
.author-card {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  height: 360px;
}

.author-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.author-card__main {
  flex: 1 1 auto;
  min-height: 230px;
  padding: 1.25rem;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.author-card__main::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.9) 100%);
  z-index: 1;
  transition: background 0.3s ease;
}

.author-card__main > * {
  position: relative;
  z-index: 2;
}

.author-card__category {
  margin-bottom: 0.5rem;
}

.author-card__category-tag {
  font-family: 'Termina', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: white;
  background-color: var(--ica-teal, #17968c);
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
}

.author-card:hover .author-card__category-tag {
  background-color: var(--ica-lime, #C6D62B);
  color: var(--ica-green-deep, #1E312F);
}

.author-card__title {
  margin-top: 0.25rem;
  line-height: 1.2;
  margin-bottom: 0rem !important;
  line-clamp: 2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-family: "ivypresto-display", sans-serif;
  font-size: 22px !important;
  font-weight: 600;
  color: white;
}

.author-card__title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.author-card:hover .author-card__title a {
  color: var(--ica-lime, #C6D62B);
}

.author-card__date {
  font-family: 'Termina', sans-serif;
  font-size: 13px;
  color: white;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  opacity: 0.9;
}

.author-card__date-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
}

.author-card__cta {
  background-color: var(--surface-subtle, #f8f8f8);
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border-subtle, #e0e0e0);
}

.author-card__read-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  color: var(--ica-green-deep, #1E312F);
  transition: color 0.3s ease;
}

.author-card:hover .author-card__read-more {
  color: var(--ica-teal, #17968c);
}

.author-card__read-more-text {
  font-family: 'Termina', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
}

.author-card__read-more-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
  filter: brightness(0) saturate(100%) invert(20%) sepia(15%) saturate(2000%) hue-rotate(180deg) brightness(90%) contrast(90%);
}

.author-card:hover .author-card__read-more-icon {
  transform: translate(2px, -2px);
  filter: brightness(0) saturate(100%) invert(40%) sepia(80%) saturate(2000%) hue-rotate(160deg) brightness(90%) contrast(90%);
}

@media (max-width: 1024px) {
  .author-card {
    height: 330px;
  }
}

@media (max-width: 768px) {
  .author-card {
    height: 330px;
  }
}


