/* ============================================
   ESTILOS ESPECÍFICOS - HISTORIA
   ============================================ */

/* Reset total del contenedor principal */
.content-page-modern {
  padding: 0 !important;
  margin: 0 auto !important;
  max-width: 1200px;
}

/* ================= INSTITUCIONES FUNDADORAS ================= */
.founders-simple-container {
  margin: var(--spacing-xl) 0;
  padding: 0 !important;
  text-align: center;
  width: 100%;
}

/* Título de la página */
.founders-simple-container .section-title {
  margin-bottom: var(--spacing-md);
}

/* Texto descriptivo */
.founders-header-text {
  margin-bottom: var(--spacing-xl);
}

.fundadoras-nombre {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-secondary);
  margin-bottom: 0.25rem;
}

.fundadoras-lugar {
  font-size: 0.95rem;
  color: var(--color-gray);
  margin-bottom: 0;
}

/* Grid de tarjetas - 3 columnas fijas en desktop */
.founders-simple-container .founders-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: var(--spacing-lg);
}

/* Tarjeta individual - SIN EFECTO HOVER */
.founders-simple-container .founder-card {
  background: #ffffff;
  border-radius: 14px;
  padding: var(--spacing-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  box-shadow: 0 4px 15px -8px rgba(0, 0, 0, 0.08);
  border: 1px solid #f0f0f0;
  position: relative;
  width: 100%;
  margin: 0 auto;
  transition: none; /* Sin transición */
  cursor: default; /* Cursor normal, no parece clickeable */
}

/* Tarjeta centrada (para UNAM) */
.founders-simple-container .founder-card-centered {
  grid-column: 1 / -1;
  max-width: 340px;
  margin: 0 auto;
}

/* Sombra interior sutil */
.founders-simple-container .founder-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 14px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.03);
  pointer-events: none;
}

/* Contenedor del logo - SIN EFECTO HOVER */
.founders-simple-container .founder-logo {
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 12px;
  padding: 8px;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.03));
}

.founders-simple-container .founder-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(10%);
  opacity: 0.9;
}

/* Contenido de la tarjeta - SIN CAMBIO DE COLOR EN HOVER */
.founders-simple-container .founder-content {
  flex: 1;
  text-align: center;
  width: 100%;
}

.founders-simple-container .founder-content h3 {
  font-size: 0.95rem;
  color: #2d3748;
  line-height: 1.35;
  font-weight: 600;
  margin: 0 0 6px 0;
}

/* Grado académico */
.founders-simple-container .founder-degree {
  font-size: 0.75rem;
  color: #4a5568;
  font-weight: 500;
  letter-spacing: 0.2px;
  display: inline-block;
  padding: 2px 0;
  line-height: 1.35;
}

/* ================= LIBRO CONMEMORATIVO ================= */
.libro-conmemorativo {
  margin: var(--spacing-xl) 0;
  background: #ffffff;
  border-radius: 20px;
  padding: var(--spacing-lg);
  box-shadow: 0 12px 28px -10px rgba(0, 0, 0, 0.1);
  border: 1px solid #f0f0f0;
}

.libro-container {
  display: flex;
  gap: var(--spacing-lg);
  align-items: center;
}

.libro-imagen {
  flex: 0 0 220px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 20px -6px rgba(0, 0, 0, 0.18);
}

.libro-imagen img {
  width: 100%;
  height: auto;
  display: block;
}

.libro-contenido {
  flex: 1;
}

.libro-contenido .section-title {
  text-align: left;
  margin-top: 0 !important;
  padding-top: 0 !important;
  margin-bottom: var(--spacing-sm);
  font-size: 1.6rem;
}

.libro-contenido .section-title::after {
  margin-left: 0;
  width: 55px;
  height: 3px;
}

.libro-contenido .section-title span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-gray);
}

.libro-contenido p {
  color: #4a5568;
  line-height: 1.6;
  margin-bottom: var(--spacing-md);
  font-size: 0.9rem;
}

/* Botón del libro - SÍ tiene efecto hover porque es un enlace real */
.btn-libro {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-primary);
  color: white;
  padding: 0.65rem 1.5rem;
  border-radius: 35px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-libro svg {
  width: 17px;
  height: 17px;
  transition: transform 0.3s ease;
}

.btn-libro:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(205, 0, 0, 0.25);
}

.btn-libro:hover svg {
  transform: scale(1.05);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
  .founders-simple-container .founders-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  
  .libro-container {
    flex-direction: column;
    text-align: center;
  }
  
  .libro-imagen {
    flex: 0 0 auto;
    max-width: 200px;
    margin: 0 auto;
  }
  
  .libro-contenido .section-title {
    text-align: center;
  }
  
  .libro-contenido .section-title::after {
    margin: var(--spacing-xs) auto;
  }
}

@media (max-width: 768px) {
  .founders-simple-container {
    margin: var(--spacing-lg) 0;
  }
  
  .founders-simple-container .founders-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .founders-simple-container .founder-card {
    padding: var(--spacing-sm);
  }
  
  .founders-simple-container .founder-logo {
    width: 65px;
    height: 65px;
    padding: 8px;
  }
  
  .founders-simple-container .founder-content h3 {
    font-size: 0.95rem;
  }
  
  .fundadoras-nombre {
    font-size: 1rem;
  }
  
  .fundadoras-lugar {
    font-size: 0.85rem;
  }
  
  .libro-conmemorativo {
    padding: var(--spacing-md);
    margin: var(--spacing-lg) 0;
  }
  
  .libro-imagen {
    max-width: 180px;
  }
  
  .libro-contenido p {
    font-size: 0.85rem;
  }
  
  .btn-libro {
    padding: 0.55rem 1.3rem;
    font-size: 0.8rem;
  }
  
  .libro-contenido .section-title {
    font-size: 1.4rem;
  }
}

@media (max-width: 576px) {
  .founders-simple-container .founder-logo {
    width: 60px;
    height: 60px;
    padding: 7px;
  }
  
  .founders-simple-container .founder-content h3 {
    font-size: 0.9rem;
  }
  
  .founders-simple-container .founder-degree {
    font-size: 0.7rem;
  }
  
  .fundadoras-nombre {
    font-size: 0.9rem;
  }
  
  .libro-conmemorativo {
    padding: var(--spacing-sm);
  }
  
  .libro-imagen {
    max-width: 160px;
  }
  
  .libro-contenido .section-title {
    font-size: 1.2rem;
  }
  
  .libro-contenido .section-title span {
    font-size: 0.85rem;
  }
  
  .libro-contenido p {
    font-size: 0.8rem;
  }
  
  .btn-libro {
    padding: 0.5rem 1.1rem;
    font-size: 0.75rem;
  }
  
  .founders-simple-container .founder-card-centered {
    max-width: 280px;
  }
}