/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Oct 22 2026 | 12:15:49 */
/* CONTENEDOR GENERAL */
.junta-organigrama-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* BLOQUE */
.junta-organigrama {
  position: relative;
  text-align: center;
}

/* PRESIDENTE */
.junta-persona-principal {
  position: relative;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  width: fit-content;
  min-width: 260px;
  max-width: 100%;

  margin: 0 auto 47px;
  padding: 18px 25px;

  /*background: #f8f8ff;*/
  border: 2px solid var(--ast-global-color-0);
  border-radius: 16px;

  box-sizing: border-box;

  box-shadow: 0 8px 25px rgba(86, 103, 169, 0.12);
}

/* LÍNEA QUE BAJA DESDE EL PRESIDENTE */
.junta-persona-principal::after {
  content: "";
  position: absolute;

  left: 50%;
  bottom: -50px;

  width: 2px;
  height: 50px;

  background: var(--ast-global-color-0);

  transform: translateX(-50%);
}

/* FOTO PRESIDENTE */
.junta-persona-principal img {
  width: 110px;
  height: 110px;

  object-fit: cover;
  object-position: center;

  border-radius: 50%;

  margin-bottom: 14px;
	background: #dedede;
}

/* NOMBRE PRESIDENTE */
.junta-persona-principal strong {
  display: block;

  margin-bottom: 6px;

  color: var(--ast-global-color-0);

  /*font-size: 18px;*/
  font-weight: 700;
}

/* CARGO PRESIDENTE */
.junta-persona-principal span {
  color: var(--ast-global-color-3);

  font-size: 16px;
  line-height: 1.4;
}


/* NIVEL MEDIO VICE + SECRETARIA + INTERVENCIÓN */

.junta-nivel-medio {
  position: relative;

  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 18px;

  width: 100%;

  margin-bottom: 25px;
  padding-top: 25px;
}

/* LÍNEA HORIZONTAL NIVEL MEDIO */
.junta-nivel-medio::before {
  content: "";
  position: absolute;

  top: 0;
  left: 16.1%;
  right: 16.1%;

  height: 2px;

  background: var(--ast-global-color-0);
}


/* TARJETAS GENERALES */

.junta-tarjeta {
  position: relative;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  width: 100%;
  min-width: 0;

  box-sizing: border-box;

  padding: 18px 16px;

  background: #f8f8ff;

  border: 3px solid var(--ast-global-color-1);
  border-radius: 16px;

  box-shadow: 0 5px 16px rgba(86, 103, 169, 0.08);
}

/* LÍNEAS VERTICALES HACIA CADA TARJETA DEL NIVEL MEDIO */
.junta-nivel-medio .junta-tarjeta::before {
  content: "";
  position: absolute;

  top: -27px;
  left: 50%;

  width: 2px;
  height: 25px;

  background: var(--ast-global-color-0);

  transform: translateX(-50%);
}

/* FOTOS TARJETAS */
.junta-tarjeta img {
  width: 100px;
  height: 100px;

  object-fit: cover;
  object-position: center;

  border-radius: 50%;

  margin-bottom: 14px;
	background: #dedede;
}

/* NOMBRES TARJETAS */
.junta-tarjeta strong {
  display: block;

  margin-bottom: 6px;

  color: var(--ast-global-color-0);

  font-size: 16px;
  font-weight: 700;
}

/* CARGOS TARJETAS */
.junta-tarjeta span {
  color: var(--ast-global-color-3);

  font-size: 16px;
  line-height: 1.4;
}


/* NIVEL INFERIOR VOCALES (4 EN UNA LÍNEA) */

.junta-nivel-inferior {
  position: relative;

  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));

  gap: 18px;

  width: 100%;

  margin: 0 auto;

  padding-top: 25px;
}

/* LÍNEA VERTICAL CENTRAL HACIA LOS VOCALES */
.junta-nivel-inferior::before {
  content: "";
  position: absolute;

  top: -25px;
  left: 50%;

  width: 2px;
  height: 25px;

  background: var(--ast-global-color-0);

  transform: translateX(-50%);
}

/* LÍNEA HORIZONTAL ENTRE LOS 4 VOCALES
   (del centro de la 1ª tarjeta al centro de la 4ª; 54px = 3 huecos de 18px) */
.junta-nivel-inferior::after {
  content: "";
  position: absolute;

  top: 0;
  left: calc((100% - 54px) / 8);
  right: calc((100% - 54px) / 8);

  height: 2px;

  background: var(--ast-global-color-0);
}

/* LÍNEA HACIA CADA VOCAL */
.junta-vocal::before {
  content: "";
  position: absolute;

  top: -27px;
  left: 50%;

  width: 2px;
  height: 25px;

  background: var(--ast-global-color-0);

  transform: translateX(-50%);
}


/* =========================
   RESPONSIVE
   ========================= */

/* TABLET: vocales 2 + 2 */
@media (max-width: 992px) {

  .junta-nivel-inferior {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 650px;
  }

  .junta-nivel-inferior::after {
    left: 24.2%;
    right: 24.2%;
  }

  /* La segunda fila no lleva línea hacia arriba */
  .junta-vocal:nth-child(n+3)::before {
    display: none;
  }
}

@media (max-width: 768px) {

  .junta-organigrama-container {
    padding: 0 15px;
  }

  .junta-persona-principal {
    width: 100%;
    min-width: 0;

    margin-bottom: 25px;
  }

  /* En móvil una tarjeta por fila */
  .junta-nivel-medio,
  .junta-nivel-inferior {
    grid-template-columns: 1fr;

    width: 100%;
    max-width: 360px;

    margin-left: auto;
    margin-right: auto;

    padding-top: 0;
  }

  .junta-nivel-medio {
    margin-bottom: 18px;
  }

  /* Quitamos líneas de organigrama en móvil */
  .junta-persona-principal::after,
  .junta-nivel-medio::before,
  .junta-nivel-inferior::before,
  .junta-nivel-inferior::after,
  .junta-nivel-medio .junta-tarjeta::before,
  .junta-vocal::before {
    display: none;
  }

  .junta-tarjeta {
    width: 100%;
  }
}