html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* ---- Member directory & profiles (warm editorial, matches ExecsFargo.com) ---- */
:root {
  --espresso: #3a2a1e;
  --bronze: #8a5a2b;
  --gold: #b8860b;
  --cream: #faf7f2;
  --ink: #2b2320;
}

.dir-hero {
  padding: 1.5rem 0 2rem;
  border-bottom: 1px solid #eee;
  margin-bottom: 2rem;
}
.dir-hero h1 { font-weight: 700; color: var(--espresso); }
.dir-hero .lead { max-width: 46rem; color: #5b5048; }

.member-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}

.member-card {
  display: block;
  text-decoration: none;
  color: var(--ink);
  background: #fff;
  border: 1px solid #ece5db;
  border-radius: 12px;
  padding: 1.5rem 1.25rem;
  text-align: center;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.member-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(58, 42, 30, .12);
  border-color: var(--bronze);
  color: var(--ink);
}
.member-name { font-weight: 700; margin-top: .75rem; color: var(--espresso); }
.member-title { color: var(--bronze); font-size: .9rem; }
.member-company { font-size: .9rem; }
.member-city { color: #8a7f76; font-size: .82rem; margin-top: .25rem; }

.avatar {
  width: 84px; height: 84px; margin: 0 auto;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bronze), var(--espresso));
  color: #fff; font-weight: 700; font-size: 1.6rem;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-lg { width: 120px; height: 120px; font-size: 2.2rem; }

.profile { max-width: 44rem; }
.profile-header { display: flex; gap: 1.5rem; align-items: center; margin: 1rem 0 1.5rem; }
.profile-header h1 { margin: 0; color: var(--espresso); font-weight: 700; }
.profile-header .headline { color: var(--bronze); font-size: 1.1rem; margin: .25rem 0 0; }
.profile-bio { font-size: 1.05rem; line-height: 1.6; color: #4a4038; }
.profile-fields {
  display: grid; grid-template-columns: max-content 1fr;
  gap: .5rem 1.5rem; margin-top: 1.5rem;
  border-top: 1px solid #eee; padding-top: 1.25rem;
}
.profile-fields dt { font-weight: 600; color: #6b5f54; }
.profile-fields dd { margin: 0; }

.home-hero { max-width: 44rem; margin: 3rem auto; }
.home-hero h1 { color: var(--espresso); }
.home-hero .lead { color: #5b5048; }

/* ---- Admin editor ---- */
.admin-form { max-width: 52rem; }
.admin-form h2 { color: var(--espresso); border-top: 1px solid #eee; padding-top: 1rem; }
.field-row { padding: .5rem 0; border-bottom: 1px dashed #eee; }
.edit-photo-preview { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; }

.legal { max-width: 44rem; }
.legal h1 { color: var(--espresso); }
.legal h2 { font-size: 1.15rem; color: var(--espresso); margin-top: 1.5rem; }
.onboarding > li { padding-left: .25rem; }