
.tw-container {
  padding: 48px 24px;
  background: #fff;
}

.tw-hero {
  text-align: center;
  margin-bottom: 52px;
}

.tw-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #c90828;
  border: 1px solid #f0c0c8;
  background: #fff5f6;
  padding: 6px 18px;
  border-radius: 40px;
  margin-bottom: 20px;
}

.tw-title {
  font-size: 46px;
  font-weight: 800;
  color: #111;
  line-height: 1.2;
  margin-bottom: 14px;
}

.tw-title span {
  color: #c90828;
}

.tw-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.tw-divider-bar {
  width: 44px;
  height: 2px;
  background: #c90828;
  border-radius: 4px;
}

.tw-divider-dot {
  width: 8px;
  height: 8px;
  background: #c90828;
  border-radius: 50%;
}

.tw-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 28px;
  align-items: stretch;
}

.tw-card {
  background: #fff;
  border: 1px solid #f0e0e2;
  border-radius: 24px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 16px rgba(201, 8, 40, 0.05);
  transition: box-shadow 0.2s ease;
}

.tw-card:hover {
  box-shadow: 0 14px 28px rgba(201, 8, 40, 0.1);
}

.tw-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.tw-quote {
  font-size: 54px;
  color: #f0c0c8;
  line-height: 0.75;
  margin-top: -8px;
  font-family: sans-serif;
}

.tw-rating {
  display: flex;
  gap: 4px;
}

.tw-star-filled {
  width: 16px;
  height: 16px;
  background: #c90828;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.tw-star-empty {
  width: 16px;
  height: 16px;
  background: #f5d5d8;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.tw-desc {
  font-size: 16px;
  line-height: 1.65;
  color: #2a2a2a;
  margin: 8px 0 6px 0;
}

.tw-desc.clamped {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tw-read-btn {
  font-size: 13px;
  font-weight: 600;
  color: #c90828;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 0 4px 0;
  text-align: left;
  width: fit-content;
  letter-spacing: 0.3px;
  transition: color 0.2s;
}

.tw-read-btn:hover {
  color: #9b0622;
  text-decoration: underline;
}

.tw-separator {
  height: 1px;
  background: linear-gradient(90deg, #f0e0e2, transparent);
  margin: 18px 0 20px 0;
}

.tw-footer {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
}

.tw-avatar-img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #f9d0d5;
  flex-shrink: 0;
  background: #c90828;
}

.tw-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #c90828;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  border: 2px solid #f9d0d5;
}

.tw-avatar--no-affil {
  background: #6b1a2c;
}

.tw-name {
  font-size: 16px;
  font-weight: 700;
  color: #121212;
  line-height: 1.3;
}

.tw-role {
  font-size: 14px;
  color: #c90828;
  margin-top: 3px;
  font-weight: 500;
}

.tw-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.tw-pill {
  font-size: 14px;
  padding: 4px 12px;
  border-radius: 40px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.tw-pill--affil {
  background: #fff5f6;
  color: #8b1a2c;
  border: 1px solid #f0c0c8;
}

.tw-pill--independent {
  background: #f5f5f5;
  color: #8a8a8a;
  border: 1px solid #e8e8e8;
}

.tw-pill--loc {
  background: #fafafa;
  color: #5e5e5e;
  border: 1px solid #ececec;
}

.tw-pill-icon {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  display: inline-block;
  opacity: 0.7;
}

@media (max-width: 680px) {
  .tw-container {
    padding: 32px 20px;
  }
  .tw-title {
    font-size: 34px;
  }
  .tw-sub {
    font-size: 16px;
  }
  .tw-stats {
    gap: 28px;
  }
  .tw-stat-number {
    font-size: 28px;
  }
}

/* ---------- COMMITTEE MEMBERS SECTION  ---------- */
.cm-pageWrap {
  background: #fff;
  display: flex;
  flex-direction: column;
}

.cm-header {
  background: linear-gradient(135deg, #600000 0%, #c90828 100%);
  padding: 40px 32px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cm-headerBadge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 40px;
  margin-bottom: 12px;
}

.cm-header h1 {
  color: #fff;
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 8px;
}

.cm-header p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

.cm-headerDivider {
  width: 56px;
  height: 3px;
  background: rgba(255, 255, 255, 0.4);
  margin: 16px auto 0;
  border-radius: 4px;
}

.cm-sectionLabel {
  text-align: center;
  padding: 32px 16px 16px;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #c90828;
  font-weight: 600;
}

.cm-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  padding: 16px 24px 40px;
}

.cm-memberCard {
  background: #ffffff;
  border: 1px solid #f0d0d5;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  height: 100%;
}

.cm-memberCard:hover {
  box-shadow: 0 12px 28px rgba(201, 8, 40, 0.12);
  transform: translateY(-3px);
}

.cm-imageWrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f7e8ea;
  position: relative;
  flex-shrink: 0;
}

.cm-imageWrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cm-fallbackAvatar {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #c90828 0%, #600000 100%);
  color: #fff;
  font-size: 40px;
  font-weight: 500;
  letter-spacing: 1px;
}

.cm-cardBody {
  padding: 18px 16px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 3px solid #c90828;
}

.cm-roleTag {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #c90828;
  margin-bottom: 4px;
}

.cm-memberName {
  font-size: 18px;
  font-weight: 600;
  color: #600000;
  line-height: 1.3;
  margin-bottom: 6px;
}

.cm-metaList {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}

.cm-metaRow {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 15px;
  color: #444;
  line-height: 1.4;
}

.cm-metaIcon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 16px;
  height: 16px;
  margin-top: 1px;
  flex-shrink: 0;
}

.cm-metaIcon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.cm-metaText {
  color: #3a3a3a;
}

.cm-metaText:empty,
.cm-metaRow:has(.cm-metaText:empty) {
  display: none;
}

.cm-sectionDivider {
  height: 1px;
  background: linear-gradient(90deg, transparent, #f0d0d5, transparent);
  max-width: 1100px;
  margin: 8px auto 0;
}

/* committee responsive */
@media (max-width: 900px) {
  .cm-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    padding: 16px 20px 32px;
  }
}

@media (max-width: 600px) {
  .cm-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .cm-header h1 {
    font-size: 24px;
  }
}

/* ---------- PAST SPEAKERS SECTION  ---------- */
.ps-pageWrap {
  background: #fff;
  display: flex;
  flex-direction: column;
}

.ps-sectionTitle {
  text-align: center;
  font-size: 22px;
  font-weight: 600;
  color: #600000;
  margin: 48px 0 24px;
  letter-spacing: -0.2px;
}

.ps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 28px 56px;
}

.ps-speakerCard {
  background: #ffffff;
  border: 1px solid #f0d5d8;
  border-radius: 32px;
  padding: 28px 22px 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.25s ease;
  box-shadow: 0 6px 14px rgba(96, 0, 0, 0.04);
  height: 100%;
}

.ps-speakerCard:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 32px rgba(201, 8, 40, 0.12);
  border-color: #e0b0b8;
}

.ps-imageWrap {
  width: 120px;
  height: 120px;
  margin: 0 auto 18px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(145deg, #f7e8ea, #ffeef0);
  border: 3px solid #c90828;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.05);
  flex-shrink: 0;
}

.ps-imageWrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ps-fallbackAvatar {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #c90828 0%, #600000 100%);
  color: #fff;
  font-size: 44px;
  font-weight: 600;
  text-transform: uppercase;
}

.ps-speakerName {
  font-size: 20px;
  font-weight: 700;
  color: #600000;
  margin-bottom: 8px;
  line-height: 1.3;
}

.ps-designation {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #c90828;
  margin-bottom: 14px;
  background: #fff5f6;
  display: inline-block;
  padding: 4px 14px;
  border-radius: 40px;
}

.ps-infoList {
  width: 100%;
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ps-infoRow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  color: #3c3c3c;
  line-height: 1.4;
  flex-wrap: wrap;
}

.ps-infoIcon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.ps-infoIcon svg {
  width: 18px;
  height: 18px;
}

.ps-infoText {
  color: #444;
}

.ps-infoRow:has(.ps-infoText:empty),
.ps-infoText:empty {
  display: none;
}

@media (max-width: 950px) {
  .ps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    padding: 16px 24px 48px;
  }
}

@media (max-width: 620px) {
  .ps-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .ps-sectionTitle {
    font-size: 20px;
  }
}