@media (max-width: 768px) { /* Ajusta este valor según tus necesidades */
  .btn-group,
  .btn-group-vertical {
    flex-wrap: wrap !important;
  }
  .ibun-header-icon-item img {
    width: 20% !important;
  }
}

.ibun-header-container {
    display: flex;
    flex-direction: column; /* Organiza la navegación y los iconos en una columna */
    width: 100%;
}

.ibun-header-nav {
    background-color: rgb(148, 180, 59);
    width: 100%;
    text-align: center;
    padding: 10px 0;
    border-radius: 8px;
}

.ibun-header-title {
    color: white;
    margin: 0;
    font-size: 28px;
}

.ibun-header-icon-container {
    display: flex;
    flex-direction: column; /* Cambia a columna para dispositivos móviles */
    align-items: center; /* Centra los iconos horizontalmente en la columna */
    padding: 10px;
}

/* Media Query para pantallas más grandes (tabletas y computadoras) */
@media (min-width: 768px) {  /* Ajusta el valor según tus necesidades */
    .ibun-header-icon-container {
        flex-direction: row; /* Vuelve a la fila en pantallas más grandes */
        /*flex-wrap: wrap;*/
        justify-content: center;
    }

    .ibun-header-icon-item {
	text-align: center;
        width: calc(33% - 20px);  /* Ajusta el ancho para 3 iconos por fila (aproximadamente) */
        margin: 10px;
    }
}

.ibun-header-icon-item img {
    width: 50%; /* Hace que la imagen ocupe todo el ancho de su contenedor. */
    height: auto; /* Mantiene la proporción de la imagen. */
    display: block; /* Elimina el espacio extra debajo de la imagen. */
}

.ibun-icon-text {
    margin: 0;
    font-size: 28px;
}

.ibun-icon-text a {
  text-decoration: none; /* Quita el subrayado */
  color: inherit; /* Hereda el color del texto padre */
}
.ibun-icon-text a:hover {
  color: #007bff; /* Cambia el color al pasar el cursor (ejemplo: azul) */
}

/*---------------------------------*/
/* Estilos CSS para el Artículo */
article {
    /*font-family: 'Arial', sans-serif;*/
    line-height: 1.6;
    margin: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

header-articulos {
    padding: 20px;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

h1.main-title {
    font-size: 2rem;
    color: #256fad;
    margin-bottom: 0.5rem;
}

p.subtitle {
    color: #666;
    font-size: 1.2rem;
}

section.directives {
    padding: 2rem;
}

ul.directors-list {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 2rem;
}

.directors-list li {
    margin-bottom: 1rem;
    padding-left: 2em;
    border-left: 2px solid #2d88d2;
}

.council-members .member {
    margin-bottom: 1.5rem;
}

.btn {
    background-color: #256fad;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #1a67c4;
}

-main-image {
    text-aling: center;
}

.main-image img {
    
    max-width: 100%;
    height: 200px;
    margin: 2rem 0;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

figcaption {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.5rem;
}

.schedule-container h3 {
    color: #2d88d2;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.article-footer {
    padding: 1rem;
    text-align: center;
    background-color: white;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.05);
}


/*Clases articulos h* */
.ibun-header-nav-h {
    background-color: rgb(118,35,47); 
    width: 100%; 
    text-align: 
    center; padding: 
    10px 0; 
    border-radius: 8px;
}

/*Clases articulos h* */
.ibun-header-nav-v {
    background-color: rgb(166,28,49); 
    width: 100%; 
    text-align: 
    center; padding: 
    10px 0; 
    border-radius: 8px;
}

/*Clases articulos h* */
.ibun-header-nav-w {
    background-color: rgb(70,107,63); 
    width: 100%; 
    text-align: 
    center; padding: 
    10px 0; 
    border-radius: 8px;
}

/*Clases articulos h* */
.ibun-header-nav-e {
    background-color: rgb(118,35,47); 
    width: 100%; 
    text-align: 
    center; padding: 
    10px 0; 
    border-radius: 8px;
}

/*Clases articulos h* */
.ibun-header-nav-r {
    background-color: rgb(86,90,92); 
    width: 100%; 
    text-align: 
    center; padding: 
    10px 0; 
    border-radius: 8px;
}

/*Clases articulos h* */
.ibun-header-nav-t {
    background-color: rgb(177,178,176); 
    width: 100%; 
    text-align: 
    center; padding: 
    10px 0; 
    border-radius: 8px;
}





/* Estilos de la tabla */
table.member-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

table.member-table th,
table.member-table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

table.member-table thead tr {
  background-color: #f2f2f2;
  font-weight: bold;
}
/*----------------------------------------------------------------------*/
/* Estilos base y accesibilidad */
body {
  font-family: 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #222;
  background-color: #fff;
}

/* Contenedor general */
.profesores {
  padding: 2rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.profesores h1 {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
  color: #004080;
}

/* Contenedor de tarjetas */
.tarjeta-contenedor {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* Tarjeta individual */
.tarjeta-docente {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  background-color: #f4f6f8;
  border: 1px solid #ccc;
  border-radius: 0.5rem;
  padding: 1rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
}

.tarjeta-docente:hover {
  transform: translateY(-5px);
}

/* Imagen */
.docente-img {
  width: 120px;
  height: auto;
  border-radius: 0.25rem;
  margin-right: 1rem;
}

/* Información */
.info-docente h2 {
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
  color: #003366;
}

.info-docente p {
  margin: 0 0 0.5rem;
}

.info-docente a {
  color: #0056b3;
  text-decoration: underline;
}

.boton-perfil {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: rgb(148,180,59);
  color: #fff;
  border-radius: 0.25rem;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.2s ease;
}

.boton-perfil:hover {
  background-color: ;
}

/* Responsive para pantallas pequeñas */
@media (max-width: 600px) {
  .tarjeta-docente {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .docente-img {
    margin-right: 0;
    margin-bottom: 1rem;
  }
}

/*----------------------------------------------------------------------*/
/*Clases articulos*/
.article-class-css {
    font-size: 12pt;
    line-height: 1.5;
    color: #333;
    margin: 20px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/*----------------------------------------------------------------------*/
