/* ============================================================
   committees.css
   ============================================================ */

.committee-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.committee-member {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              border-color 0.4s ease,
              transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
}

.committee-member:hover {
  box-shadow: 0 12px 40px rgba(0, 56, 167, 0.15),
              0 4px 12px rgba(0, 56, 167, 0.08);
  border-color: rgba(0, 56, 167, 0.3);
}

.member-image {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: #e2e8f0;
}

.member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.committee-member:hover .member-image img {
  transform: scale(1.08);
}

.member-info {
  padding: 20px 18px;
}

.member-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
  font-family: var(--font-body);
}

.member-position {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.member-title {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.5;
  margin-bottom: 6px;
}

.member-country {
  font-size: 0.85rem;
  color: var(--text-mid);
  font-weight: 600;
  margin-bottom: 12px;
}

/* ---- Roles Section ---- */
.roles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.role-card {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: var(--transition);
  position: relative;
}

.role-card:hover {
  background: var(--bg-white);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.role-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  color: var(--accent);
  opacity: 0.4;
  line-height: 1;
  margin-bottom: 12px;
}

.role-card h3 {
  font-size: 1.05rem;
  margin-bottom: 12px;
  font-family: var(--font-body);
}

.role-card p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 1200px) {
  .committee-grid { grid-template-columns: repeat(3, 1fr); }
  .roles-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .committee-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .roles-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .committee-grid { grid-template-columns: 1fr; }
}
