/* School Website Manager – Frontend (lightweight) */

.swm-shortcode,
.swm-el-grid {
  margin-bottom: 1.5rem;
}

.swm-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.swm-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
}

.swm-meta {
  color: #666;
  font-size: 0.875rem;
}

.swm-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.swm-table th,
.swm-table td {
  padding: 0.625rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid #e5e5e5;
}

.swm-table th {
  font-weight: 600;
  background: #f7f5f2;
}

.swm-staff-grid,
.swm-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.25rem;
}

.swm-staff-card {
  text-align: center;
}

.swm-staff-card img {
  border-radius: 50%;
  margin: 0 auto 0.75rem;
  max-width: 120px;
}

.swm-position {
  font-size: 0.875rem;
  color: #666;
  margin: 0;
}

.swm-el-btn-wrap {
  margin-top: 1.25rem;
  text-align: center;
}

.swm-el-btn {
  display: inline-block;
  padding: 0.625rem 1.25rem;
  background: #6B1725;
  color: #fff !important;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9375rem;
}

.swm-el-btn:hover {
  background: #4A0F19;
  color: #fff !important;
}

.swm-priority-urgent .swm-el-title,
.swm-priority-urgent a {
  color: #c62828;
  font-weight: 600;
}

.swm-priority-high .swm-el-title,
.swm-priority-high a {
  font-weight: 600;
}

.swm-el-contact p {
  margin: 0 0 0.5rem;
}

.swm-social a {
  margin-right: 0.75rem;
}