/* Community portal — broker hero pattern + news/services */
.hero--profile { position: relative; padding: var(--space-12) 0 var(--space-16); color: var(--warm-white); overflow: hidden; isolation: isolate; background: linear-gradient(135deg, #1A1A2E 0%, #2A2D5A 100%); }
.hero--profile .hero__cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: 0.35; }
.hero--profile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26, 26, 46, 0.7), rgba(26, 26, 46, 0.92)); z-index: -1; }
.profile-card { display: grid; grid-template-columns: 1fr; gap: var(--space-6); align-items: center; text-align: center; }
@media (min-width: 768px) { .profile-card { grid-template-columns: auto 1fr; text-align: left; gap: var(--space-8); } }
.profile-card__avatar { width: 148px; height: 148px; margin: 0 auto; border-radius: var(--radius-full); overflow: hidden; box-shadow: 0 0 0 5px rgba(255, 252, 251, 0.15), 0 18px 48px rgba(0, 0, 0, 0.35); }
@media (min-width: 768px) { .profile-card__avatar { width: 176px; height: 176px; } }
.profile-card__body { display: flex; flex-direction: column; gap: var(--space-2); }
.profile-card__name { font-size: clamp(28px, 4.5vw, 40px); color: var(--warm-white); letter-spacing: -0.02em; }
.profile-card__title { color: var(--honey-gold); font-family: var(--font-heading); font-weight: 600; font-size: 17px; }
.profile-card__bio { color: rgba(255, 252, 251, 0.82); font-size: 15px; line-height: 1.6; max-width: 60ch; margin-top: var(--space-3); }
.profile-card__cta { display: flex; gap: var(--space-3); flex-wrap: wrap; margin-top: var(--space-5); justify-content: center; }
@media (min-width: 768px) { .profile-card__cta { justify-content: flex-start; } }
.profile-card__cta .btn-outline { background: rgba(255, 252, 251, 0.06); color: var(--warm-white); border-color: rgba(255, 252, 251, 0.25); }
.profile-card__stats { list-style: none; padding: var(--space-5) 0 0; margin: var(--space-6) 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); border-top: 1px solid rgba(255, 252, 251, 0.12); }
.profile-card__stats li { display: flex; flex-direction: column; gap: 2px; align-items: center; }
@media (min-width: 768px) { .profile-card__stats li { align-items: flex-start; } }
.profile-card__stats strong { color: var(--warm-white); font-family: var(--font-heading); font-size: 22px; font-weight: 700; }
.profile-card__stats small { color: rgba(255, 252, 251, 0.55); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }

.content { padding: var(--space-10) 0 var(--space-12); }
.content__grid { display: grid; gap: var(--space-6); grid-template-columns: 1fr; }
.content__main { display: flex; flex-direction: column; gap: var(--space-10); }
.content__side { display: flex; flex-direction: column; gap: var(--space-4); }
@media (min-width: 960px) { .content { padding: var(--space-12) 0 var(--space-16); } .content__grid { grid-template-columns: minmax(0, 1fr) 340px; gap: var(--space-10); } .content__side { position: sticky; top: 100px; align-self: start; } }
.section-head { margin-bottom: var(--space-5); }
.section-head .section-title { margin-top: 4px; font-size: clamp(22px, 3vw, 26px); }

.news-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--space-3); }
.news-item { display: grid; grid-template-columns: 60px 1fr; gap: var(--space-4); padding: var(--space-4); background: var(--warm-white); border: 1px solid var(--soft-line); border-radius: var(--radius-lg); }
.news-item__date { background: var(--honey-tint); border-radius: var(--radius-md); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: var(--space-2) 0; }
.news-item__date strong { font-family: var(--font-heading); font-size: 22px; font-weight: 700; color: var(--hive-ink); line-height: 1; }
.news-item__date small { font-size: 11px; color: var(--stone-gray); font-weight: 600; letter-spacing: 0.05em; }
.news-item h3 { font-family: var(--font-heading); font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.news-item p { color: var(--stone-gray); font-size: 14px; line-height: 1.5; }

.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.service-tile { padding: var(--space-4); background: var(--warm-white); border: 1px solid var(--soft-line); border-radius: var(--radius-lg); display: flex; flex-direction: column; gap: 6px; align-items: flex-start; text-align: left; transition: border-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out); }
.service-tile:hover { border-color: var(--honey-gold); transform: translateY(-1px); }
.service-tile svg { color: var(--honey-gold); }
.service-tile strong { font-family: var(--font-heading); font-size: 14.5px; font-weight: 700; color: var(--hive-ink); margin-top: 4px; }
.service-tile small { color: var(--stone-gray); font-size: 12.5px; }

.schedule-card { padding: var(--space-5); }
.hotline-list { list-style: none; padding: 0 0 0 50px; margin: 0; display: flex; flex-direction: column; gap: var(--space-2); }
.hotline-list li { display: flex; justify-content: space-between; gap: var(--space-3); align-items: baseline; color: rgba(255, 252, 251, 0.88); font-size: 14px; }
.hotline-list strong { color: var(--warm-white); font-family: var(--font-heading); }
.hotline-list span { font-family: var(--font-mono); color: var(--honey-gold); font-size: 13px; }

.stripe-card { background: var(--light-stripe); border-color: transparent; padding: var(--space-5); }

/* ---------- Members section ---------- */
.members-toolbar {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}
@media (min-width: 640px) {
  .members-toolbar { flex-direction: row; align-items: center; justify-content: space-between; }
}
.members-search {
  flex: 1;
  max-width: 320px;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--warm-white);
  border: 1px solid var(--soft-line);
  border-radius: var(--radius-full);
  padding: 8px 14px;
  color: var(--stone-gray);
}
.members-search:focus-within { border-color: var(--honey-gold); }
.members-search input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 14px;
  color: var(--hive-ink);
  min-width: 0;
}
.members-filters {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}
.members-filters::-webkit-scrollbar { display: none; }
.filter-pill {
  padding: 6px 12px;
  border-radius: var(--radius-full);
  background: var(--light-stripe);
  color: var(--stone-gray);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.filter-pill:hover { background: var(--soft-line); }
.filter-pill.is-active { background: var(--hive-ink); color: var(--warm-white); }

.members-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--space-3);
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 640px) { .members-grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-4); } }
@media (min-width: 1024px) { .members-grid { grid-template-columns: repeat(4, 1fr); } }

.member-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-3);
  background: var(--warm-white);
  border: 1px solid var(--soft-line);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.member-card:hover {
  border-color: var(--honey-gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.member-card__role {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--honey-gold);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: var(--space-1);
}
.member-card__avatar {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: var(--radius-full);
  overflow: hidden;
  background: linear-gradient(135deg, var(--honey-gold), var(--buzz-yellow));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 3px var(--warm-white), 0 4px 12px rgba(26, 26, 46, 0.12);
}
.member-card__avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.member-card__initials {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 22px;
  color: var(--hive-ink);
}
.member-card__avatar img + .member-card__initials { display: none; }
.member-card__name {
  font-family: var(--font-heading);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--hive-ink);
}
.member-card__meta {
  font-size: 12px;
  color: var(--stone-gray);
  font-weight: 500;
  line-height: 1.35;
}
.member-card__badge {
  margin-top: var(--space-1);
  font-size: 10.5px;
  padding: 3px 8px;
}
.member-card--more {
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--honey-tint);
  border-color: transparent;
  color: var(--hive-ink);
  min-height: 200px;
}
.member-card--more svg { color: var(--honey-gold); margin-bottom: var(--space-2); }
.member-card--more strong {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
}
.member-card--more small {
  color: var(--stone-gray);
  font-size: 12.5px;
}

.members-note {
  margin-top: var(--space-4);
  text-align: center;
}
.link-btn {
  background: 0;
  border: 0;
  color: var(--honey-gold);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  padding: 0 4px;
  text-decoration: underline;
}

/* Member directory modal table */
.dir-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: var(--space-3);
  font-size: 13.5px;
}
.dir-table th,
.dir-table td {
  text-align: left;
  padding: var(--space-2) var(--space-3);
  border-bottom: 1px solid var(--soft-line);
}
.dir-table th {
  font-family: var(--font-heading);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--stone-gray);
  font-weight: 700;
  background: var(--light-stripe);
}
.dir-table td.mono { color: var(--honey-gold); font-weight: 600; }
