/* Взаимопомощь и анкеты участниц */

.hub {
  margin: 26px 0 10px;
  padding: 20px;
  border-radius: 30px;
  background:
    radial-gradient(520px 260px at 100% 0%, #fbe3d4 0%, transparent 60%),
    linear-gradient(180deg, #fffaf2 0%, #f6e8d4 100%);
  border: 1px solid #e5cdab;
  box-shadow: 0 24px 50px rgba(106, 42, 29, .14);
}
.hub-kicker {
  margin: 0 0 10px;
  font-size: 10.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #b8893c;
  font-weight: 700;
  text-align: center;
}

.hub-tabs {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr;
  margin-bottom: 16px;
}
@media (min-width: 700px) {
  .hub-tabs { grid-template-columns: repeat(3, 1fr); }
}
.hub-tab {
  border: 1px solid #e0c9ab;
  background: #fffdf8;
  color: #6a2a1d;
  font: inherit;
  font-size: 14.5px;
  font-weight: 650;
  padding: 13px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, transform .15s ease;
}
.hub-tab:hover { transform: translateY(-1px); }
.hub-tab.active {
  background: linear-gradient(180deg, #b5614c 0%, #8a3b2a 100%);
  color: #fff6ea;
  border-color: #7d3324;
  box-shadow: 0 12px 24px rgba(106, 42, 29, .25);
}

.hub-panel.hidden { display: none; }

.hub-form {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}
.hub-row { display: grid; gap: 10px; }
@media (min-width: 640px) {
  .hub-row { grid-template-columns: 1fr 1fr; }
}
.hub-form label { display: grid; gap: 5px; }
.hub-form label > span {
  font-size: 11.5px;
  letter-spacing: .04em;
  color: #8a6a4c;
}
.hub-form input,
.hub-form textarea,
.hub-form select {
  width: 100%;
  box-sizing: border-box;
  padding: 11px 13px;
  border-radius: 14px;
  border: 1px solid #dfc6a2;
  background: #fffdf8;
  font: inherit;
  font-size: 14px;
  color: #3a2c20;
}
.hub-form textarea { resize: vertical; }
.hub-form input:focus,
.hub-form textarea:focus,
.hub-form select:focus {
  outline: none;
  border-color: #b5614c;
  box-shadow: 0 0 0 3px rgba(181, 97, 76, .14);
}

.hub-form label.hub-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: #8a6a4c;
}
.hub-check input { width: 18px; height: 18px; accent-color: #8a3b2a; margin-top: 1px; }

.hub-form .btn { justify-self: start; }
.hub-note { margin: 0; font-size: 11.5px; color: #a08a6e; }

.hub-list { display: grid; gap: 10px; }
@media (min-width: 760px) {
  .hub-list.profiles { grid-template-columns: 1fr 1fr; }
}

.hub-card {
  background: #fffaf2;
  border: 1px solid #ecd9bd;
  border-radius: 20px;
  padding: 14px 16px;
  box-shadow: 0 10px 24px rgba(106, 42, 29, .07);
}
.hub-card-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.hub-name { font-weight: 700; color: #6a2a1d; font-size: 15px; }
.hub-when { font-size: 11.5px; color: #a08a6e; }
.hub-line { margin: 4px 0 0; font-size: 13.5px; line-height: 1.5; color: #55473d; }
.hub-line b { color: #6a2a1d; }
.hub-phone-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.hub-phone {
  font-size: 15px;
  font-weight: 700;
  color: #8a3b2a;
  letter-spacing: .02em;
}
.hub-mini {
  border: 1px solid #e0c9ab;
  background: #fffdf8;
  color: #6a2a1d;
  font: inherit;
  font-size: 12.5px;
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.hub-mini:hover { background: #f7ead6; }
.hub-mini.solid {
  background: linear-gradient(180deg, #b5614c 0%, #8a3b2a 100%);
  color: #fff6ea;
  border-color: #7d3324;
}

.hub-empty {
  text-align: center;
  font-size: 13px;
  color: #a08a6e;
  padding: 22px 10px;
}

/* анкеты */
.profile-card {
  display: flex;
  gap: 12px;
  background: #fffaf2;
  border: 1px solid #ecd9bd;
  border-radius: 20px;
  padding: 14px;
  box-shadow: 0 10px 24px rgba(106, 42, 29, .07);
}
.profile-photo {
  width: 72px;
  height: 72px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #f0dcc0 center/cover no-repeat;
  display: grid;
  place-items: center;
  font-family: Georgia, serif;
  font-size: 26px;
  color: #8a5530;
  overflow: hidden;
}
.profile-photo img { width: 100%; height: 100%; object-fit: cover; }
.profile-body { min-width: 0; }
.profile-name { margin: 0 0 2px; font-size: 15.5px; font-weight: 700; color: #6a2a1d; }
.profile-sub { margin: 0 0 6px; font-size: 12px; color: #a08a6e; }
.profile-row { margin: 2px 0; font-size: 13px; line-height: 1.45; color: #55473d; }
.profile-row b { color: #8a3b2a; font-weight: 650; }
.profile-offer {
  margin-top: 8px;
  padding: 8px 10px;
  border-radius: 12px;
  background: #f9ecd8;
  font-size: 12.5px;
  line-height: 1.45;
  color: #6a4b33;
}

.photo-pick {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.photo-preview {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #f0dcc0;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #8a5530;
  font-family: Georgia, serif;
  font-size: 22px;
  flex: 0 0 auto;
}
.photo-preview img { width: 100%; height: 100%; object-fit: cover; }
.photo-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid #e0c9ab;
  background: #fffdf8;
  color: #6a2a1d;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}
.photo-btn:hover { background: #f7ead6; }
.photo-hint { font-size: 12px; color: #a08a6e; }
