/* ===== Perfiles Directivos ===== */

.perfiles-directivos-page {
  padding-bottom: 2rem;
}

/* --- Title --- */
.perfiles-title {
  font-size: 2.625rem;
  font-weight: 700;
  color: #0943b5;
  margin: 0 0 1rem;
}

/* --- Intro text --- */
.perfiles-intro {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: #4b4b4b;
  margin-bottom: 1.5rem;
}

.perfiles-intro p {
  margin: 0;
}

/* --- Separator --- */
.perfiles-separator {
  border: none;
  border-top: 1px solid #cbcbcb;
  margin: 0 0 2rem;
}

/* --- Profile card --- */
.perfil-card {
  margin-bottom: 0;
}

/* Header: photo + info side by side */
.perfil-header {
  display: flex;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

/* Photo */
.perfil-foto {
  flex: 0 0 340px;
}

.perfil-foto img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid #707070;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.161);
}

/* Info (right of photo) */
.perfil-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.perfil-nombre {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0943b5;
  margin: 0 0 0.5rem;
  line-height: 1.2;
}

/* Cargo */
.perfil-cargo-wrapper {
  margin-bottom: 1.25rem;
}

.perfil-cargo-label {
  display: block;
  font-size: 1.0625rem;
  font-weight: 700;
  color: #c7013d;
}

.perfil-cargo-value {
  display: block;
  font-size: 1.0625rem;
  font-weight: 700;
  color: #4b4b4b;
}

/* CV button (pill) */
.perfil-cv {
  margin-top: 0.5rem;
}

.perfil-cv a {
  display: inline-block;
  padding: 0.75rem 2.5rem;
  background: #c7013d;
  color: #fff;
  border-radius: 33px;
  font-size: 1.125rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.161);
}

.perfil-cv a:hover {
  background: #c00139;
  color: #fff;
}

/* --- Body section --- */
.perfil-body-section {
  margin-bottom: 1.5rem;
}

.perfil-body-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #0943b5;
  margin: 0 0 0.75rem;
}

.perfil-bio {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: #4b4b4b;
}

.perfil-bio p {
  margin-bottom: 0.5rem;
}

.perfil-bio p:last-child {
  margin-bottom: 0;
}

/* Divider between profiles */
.perfil-divider {
  border: none;
  border-top: 1px solid #cbcbcb;
  margin: 12px;
}

/* El divider se muestra en todos los items */

/* --- Empty --- */
.perfiles-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: #666;
  font-size: 1.05rem;
  background: #f8f9fa;
  border-radius: 6px;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .perfil-header {
    flex-direction: column;
    gap: 1rem;
  }

  .perfil-foto {
    flex: none;
    max-width: 340px;
  }

  .perfiles-title {
    font-size: 1.75rem;
  }

  .perfil-nombre {
    font-size: 1.5rem;
  }
}
