/* Page frame tokens + spacing */
.page-wrap.about-page{
  --brand:#800000;                 /* maroon */
  --accent:#ffba08;                /* yellow */
  --text:#1A1A1A;                  /* off-black on #FFFDF7 body */
  --surface:#ffffff;               /* card surface */
  --border:rgba(128,0,0,.14);      /* maroon-tinted border */
  --shadow:0 6px 24px rgba(0,0,0,.06);

  margin-block: clamp(16px, 3vw, 40px) clamp(28px, 5vw, 64px);
  padding-inline: clamp(12px, 2vw, 20px);

  display:grid;
  grid-template-columns: 1fr;
  gap: clamp(16px, 2.4vw, 22px);
}

/* Hero card */
.about-hero{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: clamp(16px, 2.2vw, 22px);
}

/* Title (Bitter 900 + accent underline) */
.page-title{
  margin: 0 0 clamp(8px, 1.6vw, 12px);
  font-family: var(--font-site, "Bitter", Georgia, serif);
  font-weight: 900;
  color: var(--brand);
  font-size: clamp(1.4rem, 1rem + 1.8vw, 2rem);
  line-height: 1.1;

  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: .25em;
  text-decoration-thickness: 3px;
}

/* Subhead + lede */
.page-sub{
  margin: 0 0 clamp(6px, 1vw, 10px);
  color:#5b6472;
  font-family: var(--font-nav, Tahoma, Geneva, Verdana, sans-serif);
  font-size: .98rem;
}
.lede{
  margin: 0;
  color:#344054;
  line-height: 1.6;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

/* Grid of info cards */
.about-grid{
  display:grid;
  gap: clamp(14px, 2.2vw, 20px);
}
@media (min-width: 1000px){
  .about-grid{ grid-template-columns: 2fr 1fr; }
}

/* Cards */
.card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: clamp(14px, 2vw, 18px);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover{
  transform: translateY(-2px);
  border-color: rgba(128,0,0,.22);
  box-shadow: 0 12px 34px rgba(128,0,0,.08), 0 4px 14px rgba(0,0,0,.06);
}

/* Section headings inside cards */
.card h2{
  margin: 0 0 10px;
  font-family: var(--font-nav, Tahoma, Geneva, Verdana, sans-serif);
  font-size: 1rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color:#374151;
}
.card p{
  margin:0 0 10px;
  color:#374151;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

/* Lists (brand bullets) */
.list{
  margin: 0;
  padding-left: 1.1em;
  color:#374151;
}
.list li{ margin: .35em 0; }
.list li::marker{ color: var(--brand); }

/* Steps (ordered list) */
.steps{
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
}
.steps li{
  position: relative;
  padding-left: 2.2em;
  margin: .55em 0;
}
.steps li::before{
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0; top: 0.05em;
  width: 1.6em; height: 1.6em;
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff6d1;
  border: 1px solid #ffe089;
  color: #7a3d00;
  font-weight: 800;
}

/* Small fact block */
.fact{
  background: #fff9ea;
  border: 1px dashed rgba(255,186,8,.65);
  border-radius: 12px;
  padding: 10px 12px;
  color:#4a2a00;
  font-size: .95rem;
}

/* CTA row + buttons */
.cta{
  display:flex; gap: 10px; flex-wrap: wrap;
  margin-top: 8px;
}
.btn{
  display:inline-block;
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,186,8,.55);
  text-decoration: none;
  color: #4a2a00;
  background: var(--accent);
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(255,186,8,.25);
  transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}
.btn:hover{ filter: brightness(1.05); transform: translateY(-1px); }
.btn.outline{
  background:#fff;
  color: var(--brand);
  border-color: rgba(128,0,0,.28);
  box-shadow: none;
}
.btn.outline:hover{ background:#fff7e0; }

/* Small screens niceties */
@media (max-width: 560px){
  .page-title{ text-underline-offset: .45em; }
}

/* ===== Editorial Board ===== */

/* Make the board span the full grid width at desktop */
.board-card{
  grid-column: 1 / -1;
}

/* List layout (no "card-in-card" look): simple rows with separators */
.board-list{
  list-style: none;
  margin: 0;
  padding: 0;
}
.member{
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 12px;
  padding: 10px 0;
  align-items: start;
}
.member + .member{
  border-top: 1px solid var(--border);
}

/* Avatar with soft accent tile */
.avatar{
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff6d1;
  border: 1px solid #ffe089;
  color: #7a3d00;
  font-weight: 800;
  letter-spacing: .02em;
}

/* Text */
.info .name{
  font-weight: 800;
  color: var(--text);
  line-height: 1.25;
}
.info .line{
  margin-top: 2px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: center;
  color: #5b6472;
  font-size: .95rem;
}

/* Role chip = brand outline (not a mini card) */
.chip{
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(128,0,0,.35);
  color: var(--brand);
  font-size: .72rem;
  font-weight: 800;
  background: transparent;
}
.affil{ color:#667085; }

/* Responsive tweaks */
@media (min-width: 760px){
  .member{ padding: 12px 0; }
  .avatar{ width: 48px; height: 48px; }
}
