/* ==========================================================
   SCFMS — member club pages (loaded after site.css)
   ========================================================== */

/* ── Club banner ────────────────────────────────────────── */
.club-hero {
  background: var(--brown-700);
  color: var(--cream);
  padding: 28px 24px;
  border-radius: 6px 6px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  text-align: center;
}
.club-hero.no-bar { border-radius: 6px; }
.club-logo img {
  max-width: 220px;
  max-height: 130px;
  border-radius: 8px;
  background: #fff;
  padding: 8px;
  object-fit: contain;
}
.club-logo .no-logo {
  width: 110px; height: 110px;
  border: 2px dashed var(--tan);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; color: var(--tan);
  text-transform: uppercase; letter-spacing: 0.08em;
}
.club-title h1 {
  color: var(--cream);
  font-size: clamp(1.35rem, 3.2vw, 2rem);
  margin: 0;
  letter-spacing: 0.02em;
}
.club-title .tagline {
  font-size: 0.95rem; color: var(--tan);
  margin: 6px 0 0; font-style: italic;
}
.district-badge {
  display: inline-block;
  margin-top: 10px;
  background: var(--tan);
  color: var(--brown-900);
  font-size: 0.76rem;
  font-family: var(--sans);
  font-weight: bold;
  padding: 3px 12px;
  border-radius: 20px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── Web / social links bar under the banner ────────────── */
.social-bar {
  background: var(--brown-500);
  border-radius: 0 0 6px 6px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 22px;
  padding: 10px 20px;
}
.social-bar a {
  color: var(--cream);
  text-decoration: none;
  font-family: var(--sans);
  font-size: 0.86rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.social-bar a:hover { color: var(--tan); text-decoration: underline; }

/* ── Card grid ──────────────────────────────────────────── */
.club-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 22px;
}
@media (max-width: 1000px) { .club-cards { grid-template-columns: 1fr; } }

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 22px 24px;
}
.card.full-width { grid-column: 1 / -1; }
.content .card h2 { margin-top: 0; font-size: 0.95rem; }
.card p, .card address { font-style: normal; margin: 0 0 8px; }
.card p:last-child { margin-bottom: 0; }

.label {
  font-family: var(--sans);
  font-size: 0.76rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin: 12px 0 2px !important;
}
.card h2 + .label, .label:first-child { margin-top: 0 !important; }

.content .show-table th { background: none; color: var(--muted); padding: 4px 8px 4px 0; }
.content .show-table td { padding: 8px 8px 8px 0; }
.content .show-table tr:last-child td { border-bottom: none; }
.show-table .detail { display: block; color: #666; font-size: 0.88em; }
.show-table .sub { display: block; color: #888; font-size: 0.85em; font-style: italic; margin-top: 2px; }

/* Show status badges and notes */
.status {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: bold;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 10px;
  margin-top: 4px;
}
.status.confirmed { background: #e3f1e3; color: #2f6b2f; border: 1px solid #b9d9b9; }
.status.tba       { background: #f6efe2; color: #8a6a3a; border: 1px solid #e3d3b4; }
.show-note { font-family: var(--sans); font-size: 0.85rem; color: #666; margin-top: 12px !important; }
.verified  { font-family: var(--sans); font-size: 0.75rem; color: #999; text-align: right; margin-top: 10px !important; }

.bulletin-pill {
  display: inline-block;
  background: var(--cream);
  border: 1px solid var(--tan);
  border-radius: 20px;
  padding: 4px 14px;
  font-family: var(--sans);
  font-size: 0.82rem;
  color: var(--brown-700);
  margin-top: 4px;
}
.notice {
  background: #fff8e8;
  border: 1px solid var(--tan);
  border-radius: 6px;
  padding: 14px 18px;
  font-family: var(--sans);
  font-size: 0.88rem;
  color: var(--brown-500);
  grid-column: 1 / -1;
}
.notice.dissolved { background: #f4ecec; border-color: #d9b9b9; color: #6b2f2f; }

/* ── Member Clubs list page ─────────────────────────────── */
.intro { margin: 0 0 18px; }

.district-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 28px;
}
.district-nav a {
  background: var(--cream);
  border: 1px solid var(--tan);
  color: var(--brown-900);
  text-decoration: none;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: bold;
  padding: 5px 11px;
  border-radius: 20px;
  white-space: nowrap;
}
.district-nav a:hover { background: var(--brown-700); color: var(--cream); }

.district-section { margin-bottom: 34px; scroll-margin-top: 12px; }
.district-header {
  background: var(--brown-700);
  color: var(--cream);
  padding: 9px 16px;
  border-radius: 6px 6px 0 0;
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.content .district-header h2 {
  color: var(--cream);
  border: none;
  margin: 0;
  padding: 0;
  font-size: 0.92rem;
}
.district-header .region { font-size: 0.84rem; color: var(--tan); font-style: italic; }

.content .club-table {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-top: none;
}
.club-name > a { font-weight: bold; text-decoration: none; color: var(--brown-900); }
.club-name > a:hover { color: var(--link); text-decoration: underline; }
.club-name .location { display: block; font-size: 0.82rem; color: #888; }
.content .club-table tr:hover td { background: #faf7f3; }
.club-links { white-space: nowrap; font-family: var(--sans); font-size: 0.82rem; width: 1%; }
.club-links a {
  display: inline-flex; align-items: center; gap: 4px;
  margin-right: 12px; text-decoration: none; color: var(--link);
}
.club-links a:hover { text-decoration: underline; }

.disbanded .stub-name { font-weight: bold; color: #aaa; }
.disbanded td { color: #bbb; }
.disbanded-badge {
  display: inline-block; background: #f5ede8; border: 1px solid #c4a090;
  border-radius: 20px; padding: 2px 10px; font-family: var(--sans);
  font-size: 0.75rem; color: #8a5040; font-style: italic;
}

@media (max-width: 600px) {
  .club-links { white-space: normal; }
  .club-links a { display: flex; margin: 2px 0; }
}
