/* ==========================================================
   Editorial Board table — styling for the real editorialboard.aspx
   Sits inside the page's existing navy (#002060) container, so the
   wrapper itself stays transparent and category cards are white cards
   floating on that navy background.
   ========================================================== */
.eb-wrap {
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  color: #232733;
  padding: 4px 20px 32px;
}

.eb-search {
  width: 100%;
  max-width: 420px;
  display: block;
  margin: 0 0 20px;
  padding: 10px 14px;
  border: 1px solid #D7DCE5;
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
}

.eb-search:focus {
  outline: 2px solid #4285F4;
  outline-offset: 1px;
  border-color: #4285F4;
}

.eb-category {
  background: #FFFFFF;
  border-radius: 8px;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
}

.eb-category-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: normal;
  color: #FFFFFF;
  background: #4285F4;
  margin: 0;
  padding: 12px 18px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.eb-category-count {
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 13px;
  color: #E4ECFD;
}

.eb-table-scroll {
  max-height: 560px;
  overflow-y: auto;
}

.eb-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.eb-table thead th {
  position: sticky;
  top: 0;
  background: #EEF1F6;
  color: #1F3864;
  text-align: left;
  padding: 10px 14px;
  font-weight: 600;
  border-bottom: 1px solid #E1E4EA;
  z-index: 2;
}

.eb-table tbody td {
  padding: 10px 14px;
  border-bottom: 1px solid #E1E4EA;
  vertical-align: top;
  line-height: 1.45;
  font-style: normal;
}

.eb-row:nth-child(even) {
  background: #FAFBFC;
}

.eb-row:hover {
  background: #F0F4FA;
}

.col-name   { width: 180px; font-weight: 600; color: #232733; }
.col-degree { width: 200px; color: #6B7280; }
.col-dept   { width: 190px; color: #232733; }
.col-address{ color: #232733; }

.eb-empty {
  text-align: center;
  color: #E4ECFD;
  padding: 30px 0;
  font-size: 14px;
}

.eb-row.is-hidden,
.eb-category.is-hidden {
  display: none;
}

/* Responsive: collapse to stacked cards under 720px */
@media (max-width: 720px) {
  .eb-table thead { display: none; }
  .eb-table, .eb-table tbody, .eb-row, .eb-table td {
    display: block;
    width: 100% !important;
  }
  .eb-row {
    border-bottom: 1px solid #E1E4EA;
    padding: 10px 14px;
  }
  .eb-table td {
    padding: 4px 0;
    border-bottom: none;
  }
  .col-name::before    { content: "Name: ";       color: #6B7280; font-weight: 600; }
  .col-degree::before  { content: "Degree: ";     color: #6B7280; font-weight: 600; }
  .col-dept::before    { content: "Department: "; color: #6B7280; font-weight: 600; }
  .col-address::before { content: "Address: ";    color: #6B7280; font-weight: 600; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
}
