/* ICF directory island — styles loaded only on the three directory pages. */

#icf-terms-gate {
  max-width: 46rem;
  margin: 1.5rem 0;
  padding: 1.25rem;
  border: 1px solid #9db2c0;
  background: #f2f6f9;
}

#icf-terms-gate h2 { margin-top: 0; }

#icf-terms-accept {
  font: inherit;
  padding: 0.5rem 1rem;
  cursor: pointer;
}

#icf-map {
  height: 360px;
  border: 1px solid #9db2c0;
  margin: 1rem 0;
}

.leaflet-marker-pin { cursor: pointer; }

#icf-member-list { margin-bottom: 1rem; }

.icf-member {
  padding: 0.5rem;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

/* legacy-list parity: linked thumbnail + linked name (the original
   REEA list rendered photo+name, both pointing at view-coach) */
.icf-member-link {
  flex: 0 0 auto;
  line-height: 0;
}

.icf-member-photo {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border: 1px solid #cfd8e0;
  display: block;
}

a.icf-member-name {
  color: inherit;
  text-decoration: underline;
}

a.icf-member-name:hover {
  color: #2b5a83;
}

.icf-member--highlight {
  background: #fff3c4;
  outline: 2px solid #e6b800;
}

#icf-pagination button {
  font: inherit;
  margin-right: 0.25rem;
  padding: 0.25rem 0.6rem;
}

#icf-pagination button[aria-current="page"] { font-weight: 700; }

.icf-hidden { display: none !important; }

/* Sidebar filter block (left column, where the original REEA search
   form lived). Hidden until the terms gate is accepted. */

#icf-filters {
  padding: 0.75rem 1rem;
  border: 1px solid #9db2c0;
  background: #f2f6f9;
  margin-bottom: 1rem;
}

#icf-filters h2 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

#icf-filters label {
  display: block;
  font-weight: 600;
  margin: 0.5rem 0 0.15rem;
}

#icf-filters select {
  width: 100%;
  padding: 0.3rem 0.4rem;
  border: 1px solid #93a7d6;
  border-radius: 3px;
  font: inherit;
  background: #fff;
}
