/* Frontend Styles for Standing Committees — Two-Column Directory (Mobile First) */

.sc-directory {
  columns: 1;
  max-width: 100%;
  margin: 15px 0;
}

.sc-directory__item {
  break-inside: avoid;
  margin-bottom: 20px;
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  padding: 16px 20px 20px;
  transition: box-shadow 200ms ease;
}

/* Header with paw accent */
.sc-directory__header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 2px solid #eef1f8;
}

.sc-directory__paw {
  display: inline-block;
  width: 18px;
  height: 18px;
  background: url(../images/bear-claw.png) center / contain no-repeat;
  flex-shrink: 0;
  opacity: 0.2;
}

.sc-directory__name {
  font-size: 1rem;
  font-weight: 700;
  color: #3a53a4;
  line-height: 1.3;
}

a.sc-directory__name {
  text-decoration: none;
}

a.sc-directory__name:hover {
  text-decoration: underline;
}

/* Member rows */
.sc-directory__member {
  display: flex;
  align-items: center;
  padding: 4px 0;
  font-size: 0.85rem;
  color: #475569;
  line-height: 1.5;
}

.sc-directory__member--chair {
  color: #1e293b;
  font-weight: 500;
}

/* Dot bullet */
.sc-directory__dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #e2e8f0;
  margin-right: 10px;
  flex-shrink: 0;
}

.sc-directory__member--chair .sc-directory__dot {
  background: #3a53a4;
}

/* Chair badge */
.sc-directory__badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 100px;
  margin-left: 8px;
  background: #fef3c7;
  color: #92400e;
  position: relative;
  top: -1px;
}

/* ── Tablet and up ──────────────────────────────── */
@media screen and (min-width: 769px) {
  .sc-directory {
    columns: 2;
    column-gap: 32px;
    margin: 20px 0;
  }

  .sc-directory__item {
    margin-bottom: 28px;
    border-radius: 12px;
    padding: 20px 24px 24px;
  }

  .sc-directory__item:hover {
    box-shadow:
      0 1px 3px rgba(0, 0, 0, 0.06),
      0 1px 2px rgba(0, 0, 0, 0.04);
  }

  .sc-directory__name {
    font-size: 1.15rem;
  }

  .sc-directory__member {
    font-size: 0.88rem;
  }
}

/* ── Print ──────────────────────────────────────── */
@media print {
  .sc-directory {
    columns: 2;
  }

  .sc-directory__item {
    box-shadow: none;
    border: 1px solid #ccc;
    break-inside: avoid;
  }

  .sc-directory__name {
    color: #000;
  }

  .sc-directory__badge {
    border: 1px solid #92400e;
  }
}

/* ── Reduced motion ─────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .sc-directory__item {
    transition: none;
  }
}

/* ── Committee page hero banner ─────────────────── */
.sc-hero {
  background: #3a53a4;
  padding: 36px 20px;
  text-align: center;
}

.sc-hero__eyebrow {
  font-size: 0.72em;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #e8b84b;
  font-weight: 700;
  margin: 0 0 8px;
}

.sc-hero__title {
  font-size: 1.8em;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin: 0 0 12px;
}

.sc-hero__sub {
  font-size: 1em;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 400;
  line-height: 1.5;
  margin: 0 auto;
  max-width: 520px;
}

.sc-committee-page {
  padding: 28px 0;
}

/* Hide the theme's default page-title banner on committee pages —
   .sc-hero replaces it. Same technique already used elsewhere on this site. */
body:has(.sc-hero) .page-header {
  display: none !important;
}

/* ── Committee members (auto-rendered by the page template) ───── */
.sc-members {
  margin: 8px 0 20px;
}

.sc-members__eyebrow {
  font-size: 0.72em;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #e8b84b;
  font-weight: 700;
  margin: 0 0 6px;
}

.sc-members__heading {
  font-weight: 700;
  color: #1e293b;
  font-size: 1.5em;
  line-height: 1.2;
  margin: 0 0 20px;
}

.sc-members__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.sc-member {
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  padding: 18px 12px;
  text-align: center;
}

.sc-member__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: #3a53a4;
  color: #fff;
  font-weight: 700;
  font-size: 1em;
}

.sc-member__name {
  display: block;
  font-size: 0.92em;
  font-weight: 700;
  color: #1e293b;
}

.sc-member__badge {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.68em;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 9px;
  border-radius: 100px;
  background: #fef3c7;
  color: #92400e;
}

/* ── Tablet and up ──────────────────────────────── */
@media screen and (min-width: 769px) {
  .sc-members__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ── Health and Wellness committee page content ─────────────── */
/* Scoped under .sc-committee-3 (this committee's immutable DB id) so
   it can never collide with another committee's custom page styling,
   no matter what class names or slug they use. */
.sc-committee-3 .hw-page {
  font-family: "Roboto", sans-serif;
  color: #2a2a2a;
  margin: 0 auto;
  padding: 0 0 10px;
}

.sc-committee-3 .hw-eyebrow {
  font-size: 0.72em;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #e8b84b;
  font-weight: 700;
  margin: 0 0 6px;
}

.sc-committee-3 .hw-heading {
  font-family: "Roboto Slab", serif;
  font-weight: 700;
  color: #1a1a1a;
  font-size: 1.5em;
  line-height: 1.2;
  margin: 0 0 20px;
}

.sc-committee-3 .hw-mission {
  margin: 0 0 40px;
}

.sc-committee-3 .hw-mission__lead {
  font-size: 1.15em;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 10px;
  color: #1a1a1a;
}

.sc-committee-3 .hw-mission__body {
  font-size: 1em;
  line-height: 1.6;
  margin: 0;
  color: #4c4c4c;
}

.sc-committee-3 .hw-programs {
  margin: 0 0 40px;
}

.sc-committee-3 .hw-programs__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.sc-committee-3 .hw-program {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #dddce2;
  border-top: 4px solid #3a53a4;
  box-shadow:
    0 1px 4px rgba(0, 0, 0, 0.06),
    0 1px 2px rgba(0, 0, 0, 0.04);
  padding: 28px 28px;
  text-align: center;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.sc-committee-3 .hw-program__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #edf0f8;
  color: #3a53a4;
  font-size: 1.5em;
  margin: 0 0 16px;
}

.sc-committee-3 .hw-program__title {
  font-family: "Roboto Slab", serif;
  font-weight: 700;
  font-size: 1.1em;
  color: #1a1a1a;
  margin: 0 0 10px;
}

.sc-committee-3 .hw-program__body {
  font-size: 0.95em;
  line-height: 1.6;
  color: #4c4c4c;
  margin: 0 0 16px;
}

.sc-committee-3 .hw-program__tag {
  font-size: 0.7em;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: #3a53a4;
  margin: 0 0 4px;
}

.sc-committee-3 .hw-program__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-self: stretch;
  gap: 6px 16px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #dddce2;
  font-size: 0.82em;
  color: #4c4c4c;
}

.sc-committee-3 .hw-program__meta i {
  color: #3a53a4;
  margin-right: 4px;
}

.sc-committee-3 .hw-program__contact {
  font-size: 0.85em;
  color: #4c4c4c;
  margin: 12px 0 0;
}

.sc-committee-3 .hw-program__contact a {
  color: #3a53a4;
  font-weight: 700;
  text-decoration: underline;
}

.sc-committee-3 .hw-contact {
  background: #edf0f8;
  border-radius: 12px;
  padding: 32px 24px 32px;
  text-align: center;
  margin: 0 0 40px;
}

.sc-committee-3 .hw-contact__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #3a53a4;
  color: #fff;
  font-size: 1.3em;
  margin: 0 0 16px;
}

.sc-committee-3 .hw-contact__lead {
  font-size: 1.1em;
  font-weight: 700;
  line-height: 1.4;
  color: #1a1a1a;
  max-width: 480px;
  margin: 0 auto 10px;
}

.sc-committee-3 .hw-contact__body {
  font-size: 1em;
  line-height: 1.6;
  color: #4c4c4c;
  max-width: 480px;
  margin: 0 auto;
}

.sc-committee-3 .hw-contact__body a {
  color: #3a53a4;
  font-weight: 700;
  text-decoration: underline;
}

@media (min-width: 700px) {
  .sc-committee-3 .hw-heading {
    font-size: 1.75em;
  }

  .sc-committee-3 .hw-programs__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sc-committee-3 .hw-program {
    min-height: 420px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .sc-committee-3 .hw-mission,
  .sc-committee-3 .hw-program,
  .sc-committee-3 .hw-contact {
    animation: sc-committee-3-fade-up 0.5s ease both;
  }

  .sc-committee-3 .hw-programs__grid .hw-program:nth-child(2) {
    animation-delay: 0.08s;
  }
  .sc-committee-3 .hw-programs__grid .hw-program:nth-child(3) {
    animation-delay: 0.16s;
  }
}

@keyframes sc-committee-3-fade-up {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.sc-committee-3 .hw-program:hover {
  transform: translateY(-3px);
  box-shadow:
    0 4px 14px rgba(0, 0, 0, 0.1),
    0 2px 6px rgba(0, 0, 0, 0.06);
}
