/* EMA Academy — teacher/coach styles.
   The teacher dashboard reuses dashboard.css (#emad, .es, .em, .ep, .ec, .eb,
   .pill, .av, etc.). Only the public archive needs new rules — defined here.
   No rule from dashboard.css is repeated. */

.ema-archive { max-width: 1200px; margin: 0 auto; padding: 20px; }
.ema-archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 24px;
}
.ema-archive-card {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(7,49,87,.07);
  transition: transform .2s;
}
.ema-archive-card:hover { transform: translateY(-3px); }
.ema-archive-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: #F4F7FB;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
}
.ema-archive-card-body { padding: 18px; }
.ema-archive-card-name {
  font-size: 17px;
  font-weight: 700;
  color: #073157;
  margin: 0 0 6px;
}
.ema-archive-card-bio {
  font-size: 13px;
  color: #7A8597;
  margin: 8px 0 14px;
  line-height: 1.5;
}
.ema-archive-card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.ema-archive-notice {
  background: #FFF3E0;
  border: 1px solid #FFB74D;
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 14px;
  color: #E87722;
  margin-bottom: 20px;
}
.eb-disabled {
  opacity: .45;
  cursor: not-allowed !important;
  pointer-events: none;
}

@media (max-width: 640px) {
  .ema-archive-grid { grid-template-columns: 1fr; }
}
