/* ===================================================================
   CONNECTIONS — /connections/ and /connections/<role>/
   Page-specific layout only. Buttons, section grounds, the CTA band
   and the card shell are shared components from style.css.
   =================================================================== */

/* --- hub ------------------------------------------------------------ */
/* Their headline sentence is too long to set as an h1, so it runs here
   directly under it at reading size. Not reworded. */
.conn-lead {
  max-width: 44rem; margin: clamp(1.25rem, 3vw, 1.75rem) auto 0;
  font-size: 1.05rem; line-height: 1.75; color: var(--slate);
}

/* Stands in for the Playbook button until the PDF is in the repo. Reads
   as a flag, not as a control — nothing here is clickable. */
.conn-playbook-pending {
  align-self: center;
  font-size: 0.85rem; font-style: italic; color: var(--muted);
}

.conn-roles {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
}
.conn-role {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: var(--card-pad);
}
.conn-role-name {
  margin: 0 0 0.75rem;
  font-size: 1.05rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.02em; color: var(--navy);
}
.conn-role-win {
  margin: 0 0 1.35rem;
  font-size: 0.92rem; line-height: 1.65; color: var(--slate);
}
/* Pinned, so cards with different-length wins end level. */
.conn-role-cta { margin-top: auto; align-self: flex-start; }

/* A role still waiting on its sheet. Flat, no CTA, visibly not yet a
   destination — better than a card that looks clickable and isn't. */
.conn-role--pending { background: transparent; border-style: dashed; }
.conn-role-pending-note {
  margin: 0; font-size: 0.88rem; font-style: italic; color: var(--muted);
}

/* --- role page ------------------------------------------------------ */
/* Same treatment as .habit-index on the 5 Habits sub-pages. Kept here
   rather than shared because it is the only thing these two page
   families have in common — but see the note in habits.css: this is now
   the fourth near-identical eyebrow in the codebase (.crumb,
   .about-pastor-title, .habit-index), with three different
   letter-spacings between them. Worth consolidating as a token. */
.conn-index {
  margin: 0 0 0.9rem;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--royal);
}

.conn-win { max-width: 46rem; margin-inline: auto; text-align: center; }
.conn-win-copy {
  margin: 1.1rem 0 0;
  font-size: clamp(1.05rem, 2vw, 1.25rem); line-height: 1.7; color: var(--ink);
}

.conn-guidelines {
  list-style: none; margin: 0; padding: 0;
  max-width: 46rem; margin-inline: auto;
  display: grid; gap: 0;
}
.conn-guideline {
  padding: clamp(1rem, 2.5vw, 1.35rem) 0;
  border-bottom: 1px solid var(--line);
}
.conn-guideline:first-child { border-top: 1px solid var(--line); }
.conn-guideline-copy { margin: 0; font-size: 1rem; line-height: 1.7; }

/* The indented sub-points the sheets use — Greeting Team's two door
   posts. Indented and rule-marked so they read as belonging to the
   guideline above them rather than as guidelines of their own. */
.conn-subs {
  list-style: none; margin: 1rem 0 0; padding: 0 0 0 clamp(1rem, 3vw, 1.75rem);
  display: grid; gap: 0.9rem;
  border-left: 2px solid var(--line);
}
.conn-sub-label {
  margin: 0 0 0.3rem;
  font-size: 0.88rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.04em; color: var(--navy);
}
.conn-sub-copy {
  margin: 0 0 0.4rem; font-size: 0.95rem; line-height: 1.65; color: var(--slate);
}
.conn-sub-copy:last-child { margin-bottom: 0; }

/* A sub-point that is itself a list — Lobby Host's five questions, Area
   Lead's four training steps. Numbered where the sheet numbers them. */
.conn-sub-list {
  margin: 0; padding-left: 1.2rem;
  display: grid; gap: 0.35rem;
  font-size: 0.95rem; line-height: 1.6; color: var(--slate);
}
.conn-sub-list--num { list-style: decimal; }

.conn-back { margin: clamp(2rem, 4vw, 2.75rem) 0 0; text-align: center; }

@media (max-width: 62rem) {
  .conn-roles { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 34rem) {
  .conn-roles { grid-template-columns: 1fr; }
}
