/* ═══════════════════════════════════════
   MEMBER SPOTLIGHTS ARCHIVE
   ═══════════════════════════════════════ */

/* ── CTA Bar ── */
.spotlights-cta-bar {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 40px 0 32px;
}

.spotlights-cta-bar--bottom {
  padding: 48px 0 56px;
}

.spotlights-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 6px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.spotlights-cta-btn:hover {
  transform: translateY(-2px);
}

.spotlights-cta-btn--primary {
  background: var(--gold, #c5a44e);
  color: var(--navy, #080c18);
}

.spotlights-cta-btn--primary:hover {
  background: #d4b45e;
  color: var(--navy, #080c18);
}

.spotlights-cta-btn--secondary {
  background: var(--blue-bright, #2655c0);
  color: #ffffff;
}

.spotlights-cta-btn--secondary:hover {
  background: #1c44a0;
  color: #ffffff;
}

/* ── Filter Tabs ── */
.spotlights-filters {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  padding-bottom: 32px;
}

.spotlights-filter-tab {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 100px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--body-color, #1a1a2e);
  background: var(--card-bg, #f7f7fa);
  border: 2px solid var(--body-border, #e2e2ea);
  transition: all 0.2s;
}

.spotlights-filter-tab:hover {
  background: var(--body-border, #e2e2ea);
  color: var(--body-color, #1a1a2e);
}

.spotlights-filter-tab.is-active {
  background: var(--navy, #080c18);
  color: #ffffff;
  border-color: var(--navy, #080c18);
}

/* ── Spotlight Grid ── */
.spotlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* ── Spotlight Card ── */
.spotlight-card a {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border-radius: 10px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--body-border, #e2e2ea);
  transition: box-shadow 0.25s, transform 0.2s;
  height: 100%;
}

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

.spotlight-card-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--card-bg, #f7f7fa);
}

.spotlight-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.spotlight-card a:hover .spotlight-card-image img {
  transform: scale(1.05);
}

.spotlight-card-image--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--body-border, #e2e2ea);
}

.spotlight-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.spotlight-card-tag {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
  align-self: flex-start;
}

.spotlight-card-tag--member-spotlight {
  background: rgba(38, 85, 192, 0.1);
  color: var(--blue-bright, #2655c0);
}

.spotlight-card-tag--company-spotlight {
  background: rgba(197, 164, 78, 0.1);
  color: #9a7e30;
}

.spotlight-card-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 8px;
  color: var(--navy, #080c18);
}

.spotlight-card-excerpt {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--body-muted, #5a5a72);
  margin: 0 0 16px;
  flex: 1;
}

.spotlight-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--blue-bright, #2655c0);
  margin-top: auto;
}

.spotlight-card a:hover .spotlight-card-link {
  color: var(--gold, #c5a44e);
}

/* ── Pagination ── */
.spotlights-pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 40px 0 0;
}

.spotlights-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  color: var(--body-color, #1a1a2e);
  background: var(--card-bg, #f7f7fa);
  transition: background 0.2s;
}

.spotlights-pagination .page-numbers:hover {
  background: var(--body-border, #e2e2ea);
}

.spotlights-pagination .page-numbers.current {
  background: var(--navy, #080c18);
  color: #ffffff;
}

.spotlights-pagination .prev,
.spotlights-pagination .next {
  width: auto;
  padding: 0 16px;
}

/* ── Empty state ── */
.spotlights-empty {
  text-align: center;
  padding: 60px 0;
  font-size: 1.1rem;
  color: var(--body-muted, #5a5a72);
}

/* ── Single Post Spotlight CTA ── */
.spotlight-single-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 32px;
  margin: 32px 0;
  background: var(--card-bg, #f7f7fa);
  border-radius: 10px;
  border: 1px solid var(--body-border, #e2e2ea);
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .spotlights-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 600px) {
  .spotlights-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .spotlights-cta-bar {
    flex-direction: column;
    align-items: stretch;
    padding: 28px 0 24px;
  }

  .spotlights-cta-btn {
    justify-content: center;
  }

  .spotlights-filters {
    gap: 6px;
  }

  .spotlights-filter-tab {
    padding: 8px 16px;
    font-size: 0.9rem;
  }

  .spotlight-single-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .spotlight-single-cta .spotlights-cta-btn {
    justify-content: center;
  }
}
