/* =========================================================
   Pagina „Echipa” – .p-echipa
   ========================================================= */

/* ---------- Hero: „O orchestră cu 80 de dirijori” ---------- */
.p-echipa.echipa-hero {
  min-height: 100vh;
  padding: 80px 0 60px;
  background-position: 50% 50%;
}.p-echipa.echipa-hero h2, .p-echipa.echipa-hero h1 { margin: 0; }.p-echipa .echipa-hero-text { max-width: 656px; margin-top: 17px; }/* ---------- Secțiuni echipă ---------- */
.p-echipa.team-section { padding: 50px 0 40px; }.p-echipa.team-section.sp-lg { padding-top: 97px; }.p-echipa .team-title { color: var(--el-red); margin: 0 0 20px; }/* grila: lățimea maximă după numărul de coloane din original */
.p-echipa .team-grid { max-width: 1160px; }.p-echipa .team-grid.cols-3 { max-width: 900px; }.p-echipa .team-grid.cols-2 { max-width: 620px; }.p-echipa .team-grid.cols-1 { max-width: 310px; }.p-echipa .team-card { text-align: center; padding-top: 20px; padding-bottom: 20px; }.p-echipa .team-img {
  width: 253px;
  height: 253px;
  max-width: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  margin: 0 auto;
}.p-echipa .team-name { line-height: 1.2; margin: 16px 0 0; }.p-echipa .team-role { line-height: 1.6; margin: 0; }.p-echipa .team-link { color: inherit; text-decoration: none; }.p-echipa .team-link:hover { text-decoration: underline; }/* chenare rotunde colorate */
.p-echipa.b-red .team-img { border: 4px solid var(--el-red); }.p-echipa.b-maroon .team-img { border: 4px solid var(--el-maroon); }/* ---------- Variante de culoare ---------- */
.p-echipa.t-white { background-color: #fff; }.p-echipa.t-pink { background-color: #fababa; }.p-echipa.t-blush { background-color: #fee8e8; }.p-echipa.t-rose { background-color: #fbf3f3; }.p-echipa.t-dark { background-color: #332929; color: #fff; }.p-echipa.t-coral { background-color: #f25858; color: #fff; }.p-echipa.t-black { background-color: #000; color: #fff; }.p-echipa.t-red { background-color: var(--el-red-dark); color: #fff; }.p-echipa.t-maroon { background-color: var(--el-maroon); color: #fff; }.p-echipa.t-coral .team-title, .p-echipa.t-black .team-title, .p-echipa.t-red .team-title, .p-echipa.t-maroon .team-title { color: #fff; }.p-echipa.h-dark .team-title { color: #111; }.p-echipa.l-pink .team-link { color: #faa3a3; }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {.p-echipa .team-img { width: 233px; height: 233px; }.p-echipa.team-section.sp-lg { padding-top: 50px; }
}
@media (max-width: 767.98px) {.p-echipa .team-img { width: 150px; height: 150px; }.p-echipa.echipa-hero { padding-top: 80px; }
}
@media (max-width: 575.98px) {.p-echipa .team-img { width: 195px; height: 195px; }.p-echipa .team-card { padding-top: 14px; padding-bottom: 14px; }
}/* titlu pe două rânduri (Casa Sokeres) */
.p-echipa.title-narrow .team-title { max-width: 560px; margin-left: auto; margin-right: auto; }

/* Refresh: 2 persoane pe rând pe mobil, poze proporționale */
@media (max-width: 575.98px) {
  .p-echipa .team-img { width: 130px; height: 130px; }
  .p-echipa .team-name { font-size: .9rem; }
  .p-echipa .team-role { font-size: .8rem; }
}
.p-echipa .team-img { transition: transform .3s, box-shadow .3s; }
.p-echipa .team-card:hover .team-img { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(0,0,0,.18); }

/* ===== v4: poze mari, aliniate, mai apropiate ===== */
.p-echipa.team-section { padding: 44px 0 34px; }
.p-echipa .team-title { margin-bottom: 10px; }
.p-echipa .team-grid { --bs-gutter-x: .75rem; --bs-gutter-y: 0; justify-content: center; }
.p-echipa .team-card { padding-top: 12px; padding-bottom: 12px; }
.p-echipa .team-img { width: 240px; height: 240px; }
.p-echipa .team-name { margin-top: 12px; }
/* Corbii șefi – mai mari */
.p-echipa.team-chiefs .team-grid { max-width: 1100px; }
.p-echipa.team-chiefs .team-img { width: 300px; height: 300px; }
.p-echipa.team-chiefs .team-name { font-size: 1.2rem; }
/* ecrane mari */
@media (min-width: 2000px) {
  .p-echipa .team-grid { max-width: 1500px; }
  .p-echipa .team-grid.cols-3 { max-width: 1150px; }
  .p-echipa .team-grid.cols-2 { max-width: 800px; }
  .p-echipa .team-grid.cols-1 { max-width: 400px; }
  .p-echipa .team-img { width: 300px; height: 300px; }
  .p-echipa.team-chiefs .team-grid { max-width: 1400px; }
  .p-echipa.team-chiefs .team-img { width: 380px; height: 380px; }
}
@media (max-width: 991.98px) {
  .p-echipa .team-img { width: 200px; height: 200px; }
  .p-echipa.team-chiefs .team-img { width: 230px; height: 230px; }
}
@media (max-width: 575.98px) {
  .p-echipa .team-img { width: 140px; height: 140px; }
  .p-echipa.team-chiefs .team-img { width: 150px; height: 150px; }
  .p-echipa.team-section { padding: 32px 0 24px; }
}

/* Ultimul rând nu se mai centrează (fără „triunghi”) */
.p-echipa .team-grid { justify-content: flex-start; }

/* Un singur om pe rând → centrat (ex. Casa Paul, Casa Susanna) */
.p-echipa .team-grid.cols-1, .p-echipa .team-grid:has(> .team-card:only-child) { justify-content: center; }
/* Mobil: echipa mai „strânsă” */
@media (max-width: 575.98px) {
  .p-echipa .team-grid { max-width: 330px; --bs-gutter-x: .25rem; }
  .p-echipa .team-card { padding-top: 6px; padding-bottom: 6px; }
  .p-echipa .team-img { width: 132px; height: 132px; }
  .p-echipa.team-chiefs .team-img { width: 140px; height: 140px; }
  .p-echipa .team-name { margin-top: 8px; }
  .p-echipa .team-title { margin-bottom: 6px; }
}
