/* ===== Quarto layout overrides ===== */
#quarto-content {
  padding: 0 !important;
}

main.content {
  padding: 0 !important;
}

/* ===== Background (fixes "too white") ===== */
body {
  background:
    radial-gradient(
      circle at 50% -20%,
      rgba(120, 120, 140, 0.1),
      transparent 60%
    ),
    linear-gradient(180deg, #f6f7fb 0%, #eef1f6 100%) !important;
}

/* ===== Center shell ===== */
.bio-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 34px 16px;
}

/* ===== Card ===== */
.bio-card {
  width: 100%;
  max-width: 620px;
  text-align: center;

  background: rgba(255, 255, 255, 0.66);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border-radius: 26px;
  padding: 36px 26px;

  border: 1px solid rgba(140, 140, 160, 0.22);
  box-shadow:
    0 18px 55px rgba(0, 0, 0, 0.1),
    0 6px 16px rgba(0, 0, 0, 0.06);
}

.bio-card-research {
  width: 100%;
  max-width: 700px;
  text-align: left;

  background: rgba(255, 255, 255, 0.66);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border-radius: 26px;
  padding: 36px 26px;

  border: 1px solid rgba(140, 140, 160, 0.22);
  box-shadow:
    0 18px 55px rgba(0, 0, 0, 0.1),
    0 6px 16px rgba(0, 0, 0, 0.06);
}

/* ===== Avatar + text ===== */
.avatar {
  width: 112px;
  height: 112px;
  border-radius: 999px;
  object-fit: cover;
  display: block;
  margin: 0 auto 14px auto;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.12);
  border: 4px solid rgba(255, 255, 255, 0.55);
}

.name {
  font-size: 2.15rem;
  margin: 0;
  line-height: 1.12;
}

.role {
  margin-top: 7px;
  font-size: 1.05rem;
  opacity: 0.78;
}

.blurb {
  margin: 14px auto 14px auto;
  max-width: 52ch;
  opacity: 0.9;
  line-height: 1.45;
}

/* ===== Social icons row ===== */
.social-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 14px 0 18px 0;
}

.social-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;

  border: 1px solid rgba(127, 127, 127, 0.22);
  background: rgba(255, 255, 255, 0.6);

  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.08s ease,
    box-shadow 0.08s ease;
}

.social-icon:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.1);
}

.social-icon i {
  font-size: 1.2rem;
  line-height: 1;
  opacity: 0.85;
}

/* ===== Link buttons ===== */
.links {
  display: grid;
  gap: 12px;
  margin-top: 6px;
}

.link-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;

  text-decoration: none;
  padding: 14px 16px;
  border-radius: 16px;

  border: 1px solid rgba(127, 127, 127, 0.22);
  background: rgba(255, 255, 255, 0.7);

  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.08s ease,
    box-shadow 0.08s ease;
}

.link-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

.left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.left i {
  font-size: 1.15rem;
  line-height: 1;
  opacity: 0.88;
  flex: 0 0 auto;
}

.label {
  font-weight: 650;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.right {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.hint {
  opacity: 0.7;
  font-size: 0.95rem;
  white-space: nowrap;
}

.right i {
  font-size: 1.05rem;
  opacity: 0.7;
}

/* ===== Newsletter ===== */
.divider {
  margin: 22px 0 18px 0;
  opacity: 0.25;
}

.section-title {
  font-size: 1.15rem;
  margin: 0;
}

.section-subtitle {
  margin: 8px 0 14px 0;
  opacity: 0.82;
}

/* ===== Footer ===== */
.footer {
  margin-top: 22px;
  opacity: 0.7;
  font-size: 0.95rem;
}

.fa-solid {
  font-size: 1.15rem;
  line-height: 1;
}

.social-icon {
  color: inherit;
  text-decoration: none;
}

.link-btn,
.link-btn:visited,
.link-btn:hover,
.link-btn:active {
  color: inherit;
  text-decoration: none;
}

.link-btn .label {
  color: #111827; /* light mode text */
}

.link-btn .hint {
  color: #6b7280; /* muted gray */
}

/* ===== Courses table ===== */
.courses-table {
  font: inherit;
  color: inherit;
}

.courses-table th,
.courses-table td {
  font: inherit;
  color: inherit;
}

/* ===== Inline  button  ===== */
.inline-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;

  padding: 3px 9px;
  margin-left: 6px;

  font-size: 0.82rem;
  font-weight: 600;

  border-radius: 8px;
  border: 1.5px solid #000000;
  color: #000000;
  background: rgba(255, 255, 255, 0.7);

  text-decoration: none;
  vertical-align: middle;
  line-height: 1.1;
}

.inline-btn i {
  font-size: 0.95rem;
  line-height: 1;
}

.inline-btn:hover {
  background: rgba(140, 140, 160, 0.22);
}
