/* /v2/assets/css/team.css */

.team-hero{
  background:#0f2442;
  border-radius:18px;
  padding:34px 22px;
  margin-top:18px;
  color:#fff;
}
.team-hero__inner{ max-width:980px; margin:0 auto; }
.team-hero__badge{
  display:inline-block;
  font-size:12px;
  letter-spacing:.08em;
  text-transform:uppercase;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.10);
  margin-bottom:12px;
}
.team-hero__title{ margin:0 0 8px 0; font-size:34px; line-height:1.15; }
.team-hero__subtitle{ margin:0; opacity:.9; max-width:720px; font-size:16px; line-height:1.6; }
.team-hero__cta{ margin-top:18px; display:flex; gap:10px; flex-wrap:wrap; }

/* buttons (համատեղելի) */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:12px;
  text-decoration:none;
  font-weight:700;
  border:1px solid rgba(255,255,255,.18);
}
.btn--primary{ background:#d06f3a; color:#fff; border-color:#d06f3a; }
.btn--ghost{ background:rgba(255,255,255,.06); color:#fff; }

.team-section{ margin-top:22px; }
.team-section__head{
  display:flex;
  justify-content:space-between;
  gap:18px;
  flex-wrap:wrap;
  align-items:flex-end;
  margin-bottom:12px;
}
.team-section__head h2{ margin:0; font-size:20px; }
.team-section__head p{ margin:0; color:#6b7a90; max-width:560px; }

/* ✅ FLEX LAYOUT instead of GRID */
.team-grid{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
}

/* 4 per row desktop */
.team-card{
  flex: 0 0 calc(25% - 10.5px);
  background:#fff;
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 10px 25px rgba(16,24,40,.06);
  border:1px solid #eef2f7;
}

/* 2 per row tablet */
@media(max-width:1100px){
  .team-card{ flex-basis: calc(50% - 7px); }
}

/* 1 per row mobile */
@media(max-width:640px){
  .team-card{ flex-basis: 100%; }
  .team-hero__title{ font-size:26px; }
}

.team-card__photo{ height:170px; background:#f3f5f9; }
.team-card__photo img{ width:100%; height:100%; object-fit:cover; display:block; }
.team-card__placeholder{ width:100%; height:100%; }

.team-card__body{ padding:14px; }
.team-card__name{ font-weight:800; font-size:16px; }
.team-card__role{ margin-top:4px; color:#d06f3a; font-weight:700; font-size:13px; }
.team-card__bio{ margin-top:10px; color:#516176; font-size:13px; line-height:1.55; min-height:58px; }

.team-card__meta{ margin-top:12px; display:flex; flex-wrap:wrap; gap:8px; }
.pill{
  display:inline-flex;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid #e7edf6;
  background:#f8fafc;
  color:#3a4b62;
  font-size:12px;
  font-weight:700;
}

.team-values{
  margin-top:20px;
  background:#fff;
  border-radius:16px;
  padding:18px;
  border:1px solid #eef2f7;
  box-shadow:0 10px 25px rgba(16,24,40,.05);
}
.team-values__inner h2{ margin:0 0 12px 0; font-size:20px; }

/* ✅ FLEX values */
.values-grid{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}
.value-card{
  flex: 0 0 calc(33.333% - 8px);
  border-radius:14px;
  border:1px solid #eef2f7;
  background:#f8fafc;
  padding:14px;
}
@media(max-width:900px){
  .value-card{ flex-basis: 100%; }
}

.value-card__t{ font-weight:900; margin-bottom:6px; }
.value-card__d{ color:#516176; line-height:1.6; font-size:14px; }
