/* Editorial Board — flat cards, no connectors */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,650;9..144,700&display=swap');

.ed-page {
  --ed-ink: #0c2340;
  --ed-ink-soft: #243b55;
  --ed-mist: #eef3f8;
  --ed-paper: #ffffff;
  --ed-accent: #c47a72;
  --ed-accent-deep: #a85f58;
  --ed-line: rgba(12, 35, 64, 0.1);
  --ed-ease: cubic-bezier(0.22, 1, 0.36, 1);
  color: var(--ed-ink-soft);
  padding-bottom: 2.5rem;
}

.ed-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 300px;
  margin: 0 0 2rem;
  border-radius: 18px;
  color: #fff;
  display: flex;
  align-items: flex-end;
  animation: ed-rise 0.85s var(--ed-ease) both;
}

.ed-hero__media,
.ed-hero__media img,
.ed-hero__veil {
  position: absolute;
  inset: 0;
}

.ed-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: ed-ken 18s ease-in-out infinite alternate;
}

.ed-hero__veil {
  z-index: 1;
  background:
    linear-gradient(115deg, rgba(12, 35, 64, 0.92) 10%, rgba(12, 35, 64, 0.58) 55%, rgba(12, 35, 64, 0.3) 100%),
    linear-gradient(to top, rgba(12, 35, 64, 0.72), transparent 55%);
}

.ed-hero__content {
  position: relative;
  z-index: 2;
  padding: 2.25rem 2rem 2rem;
  max-width: 36rem;
}

.ed-hero__brand {
  margin: 0 0 0.55rem;
  font-family: "Fraunces", "Poppins", serif;
  font-size: clamp(1.75rem, 3.8vw, 2.35rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #fff;
}

.ed-hero__title {
  margin: 0 0 0.75rem;
  font-family: "Poppins", sans-serif;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
}

.ed-hero__lead {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
}

.ed-intro {
  margin-bottom: 1.75rem;
  animation: ed-rise 0.8s var(--ed-ease) 0.08s both;
}

.ed-eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ed-accent-deep);
}

.ed-heading {
  margin: 0 0 0.55rem;
  font-family: "Fraunces", "Poppins", serif;
  font-size: clamp(1.55rem, 2.8vw, 2rem);
  font-weight: 650;
  color: var(--ed-ink);
  letter-spacing: -0.02em;
}

.ed-lead {
  margin: 0;
  max-width: 40rem;
  font-size: 0.98rem;
  line-height: 1.7;
  color: #5a6b7d;
}

.ed-count {
  margin: 0.75rem 0 0;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ed-ink-soft);
}

.ed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}

.ed-card {
  padding: 1.35rem 1.15rem 1.4rem;
  text-align: center;
  border-radius: 18px;
  background: var(--ed-paper);
  border: 1px solid var(--ed-line);
  box-shadow: 0 12px 28px rgba(12, 35, 64, 0.08);
  transition: transform 0.3s var(--ed-ease), box-shadow 0.3s var(--ed-ease), border-color 0.3s ease;
  animation: ed-rise 0.7s var(--ed-ease) both;
}

.ed-card:hover {
  transform: translateY(-4px);
  border-color: rgba(12, 35, 64, 0.18);
  box-shadow: 0 18px 36px rgba(12, 35, 64, 0.12);
}

.ed-card__avatar {
  width: 96px;
  height: 96px;
  margin: 0 auto 0.95rem;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #0c2340, #2a4666);
  color: #fff;
  font-family: "Fraunces", serif;
  font-size: 1.4rem;
  font-weight: 650;
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.95),
    0 0 0 6px rgba(196, 122, 114, 0.35);
}

.ed-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ed-card__name {
  margin: 0 0 0.3rem;
  font-family: "Fraunces", "Poppins", serif;
  font-size: 1.1rem;
  font-weight: 650;
  letter-spacing: -0.015em;
  color: var(--ed-ink);
  line-height: 1.25;
}

.ed-card__role {
  margin: 0 0 0.35rem;
  font-size: 0.88rem;
  font-weight: 560;
  color: var(--ed-accent-deep);
  line-height: 1.4;
}

.ed-card__dept {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  color: #6b7c8f;
}

.ed-card__email {
  display: inline-block;
  font-size: 0.78rem;
  color: var(--ed-ink-soft);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  word-break: break-all;
}

.ed-card__email:hover {
  color: var(--ed-accent-deep);
  border-bottom-color: rgba(168, 95, 88, 0.4);
}

.ed-empty {
  max-width: 28rem;
  margin: 1rem auto;
  padding: 2.5rem 1.5rem;
  text-align: center;
  color: #6b7c8f;
  border: 1px dashed var(--ed-line);
  border-radius: 18px;
  background: var(--ed-mist);
}

.ed-empty__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--ed-ink);
  font-size: 1.4rem;
  box-shadow: 0 8px 20px rgba(12, 35, 64, 0.08);
}

.ed-empty__title {
  margin: 0 0 0.4rem;
  font-family: "Fraunces", serif;
  font-size: 1.25rem;
  color: var(--ed-ink);
}

@keyframes ed-rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes ed-ken {
  from { transform: scale(1.05) translate3d(0, 0, 0); }
  to { transform: scale(1.12) translate3d(-1.2%, -0.8%, 0); }
}

@media (max-width: 767.98px) {
  .ed-hero { min-height: 260px; }
  .ed-hero__content { padding: 1.6rem 1.25rem 1.4rem; }
  .ed-grid { grid-template-columns: 1fr; }
}
