/* ==============================================================
   SECCIÓN AGENDA - DISEÑO 2026 (FLEXBOX)
   ============================================================== */
#agenda {
  padding-top: 60px !important;
  padding-bottom: 60px !important;
  position: relative;
  background: linear-gradient(0deg, rgba(224, 224, 224, 1) 0%, rgba(249, 249, 249, 1) 100%);
}
.csi-inner {
  padding: 2rem 0;
}
.csi-heading {
  text-align: center;
  margin-bottom: 2rem;
  display: block;
}
/* --- LAYOUT FLEXBOX PRINCIPAL --- */
.csi-tab {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
}
/* Menú Lateral - FONDO SÓLIDO SOLICITADO */
.csi-tab .nav-pills.csi-nav {
  flex: 0 0 25%;
  max-width: 25%;
  width: 25% !important;
  margin: 0 3% 0 0 !important;
  padding: 1.5rem 0 !important;
  background: #033560 !important; /* AZUL OSCURO SÓLIDO */
  border-radius: 12px !important;
  display: flex !important;
  flex-direction: column;
  list-style: none;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.csi-tab .nav-pills.csi-nav li a{
	padding: 10px 20px;
}
.csi-tab .nav-pills li a h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 6px 0;
  transition: color 0.3s ease;
}
.csi-tab .nav-pills li a p {
  font-size: 1.2rem;
  color: #E5E7EB;
  opacity: 0.9;
  transition: color 0.3s ease;
}

/* --- ESTADO HOVER: FONDO GRIS Y LETRA AZUL (Para pestañas inactivas) --- */
.csi-tab .nav-pills li a:hover,
.csi-tab .nav-pills li a:focus {
  background-color: #eeeeee !important;
}
.csi-tab .nav-pills li a:hover h3,
.csi-tab .nav-pills li a:focus h3,
.csi-tab .nav-pills li a:hover p,
.csi-tab .nav-pills li a:focus p {
  color: #033560 !important;
  opacity: 1;
}

/* --- ESTADO ACTIVE: FONDO #135F90 Y LETRA BLANCA SIEMPRE --- */
.csi-tab .nav-pills li.active a,
.csi-tab .nav-pills li.active a:hover,
.csi-tab .nav-pills li.active a:focus {
  background-color: #135F90 !important;
}
.csi-tab .nav-pills li.active a h3,
.csi-tab .nav-pills li.active a:hover h3,
.csi-tab .nav-pills li.active a:focus h3,
.csi-tab .nav-pills li.active a p,
.csi-tab .nav-pills li.active a:hover p,
.csi-tab .nav-pills li.active a:focus p {
  color: #ffffff !important;
  opacity: 1;
}
.csi-tab .nav-pills .active:after {
  position: absolute;
  content: '';
  width: 24px;
  height: 24px;
  background: #7EA8D9;
  top: 50%;
  right: -12px;
  transform: translateY(-50%) rotate(45deg);
  z-index: 9;
  border: 3px solid #FFFFFF;	
  border-radius: 50%;
}

/* COLUMNA DERECHA */
.csi-tab .csi-tab-content {
  flex: 0 0 72%;
  max-width: 72%;
}
/* --- Paneles de Agenda --- */
.csi-panel {
  border: none;
  border-bottom: 1px solid #eaeaea;
  background-image: url(/landing/8666/images/fondo1.jpg);
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-position: top center;
  background-color: #ffffff;
  margin-bottom: 0;
  border-radius: 20px;
}
.panel-group .panel {
  border-radius: 20px;
}
.csi-panel .panel-heading {
    background-color: transparent !important;
    border: none !important;
}
.csi-panel .csi-single-schedule {
    background: transparent !important;
}
.csi-panel .schedule-info {
  width: 100%;
  padding: 2.5rem 3rem 2.5rem 0; /* Padding izquierdo en 0 */
}
.csi-panel .csi-single-schedule {
  display: flex;
  align-items: center;
}
.csi-panel .csi-single-schedule .author {
  min-width: 100px;
  max-width: 120px;
  margin: 0 2.5rem;
}
.csi-panel .csi-single-schedule .author img {
  border-radius: 50%;
  border: 3px solid #135F90;
  width: 100%;
}
.csi-panel .csi-single-schedule .title {
  font-size: 1.55rem;
  line-height: 1.2;
  font-weight: 600;
  margin: 0 0 8px 0;
  color: #033560;
}
.schedule-times-list {
  list-style: none;
  padding: 0;
  margin: 0 0 10px 0;
}
.schedule-times-list li {
  font-size: 1.05rem;
  color: #333333;
  font-weight: 400;
  line-height: 1.4;
}
.schedule-times-list li i {
  margin-right: 5px;
  color: #135F90;
}
.csi-panel .csi-single-schedule .author-info {
  font-size: 1.15rem;
  color: #333333;
  font-weight: 400;
  margin: 0 0 12px 0;
}
.csi-panel .csi-single-schedule .author-info span {
  color: #135F90;
  font-weight: 500;
}
.schedule-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.toggle-trigger {
  text-decoration: none !important;
  cursor: pointer;
}
.toggle-text-container {
  margin: 0;
  font-size: 1.05rem;
  color: #033560;
  font-weight: 600;
}
.csi-panel .panel-body {
  border: none !important;
  padding: 0 4rem 4rem 4rem;
}
.csi-panel .panel-body .text {
  font-size: 1.05rem;
  line-height: 1.5;
  color: #333;
  text-align: justify;
}
.speaker-name-inner {
  color: #033560;
  font-size: 1.35rem;
  margin-bottom: 10px;
}
.speaker-profile-text {
  font-size: 1.05rem !important;
  color: #333 !important;
  line-height: 1.5 !important;
  text-align: justify;	
}
.toggle-trigger.collapsed .text-less { display: none; }
.toggle-trigger.collapsed .text-more { display: inline; }
.toggle-trigger:not(.collapsed) .text-less { display: inline; }
.toggle-trigger:not(.collapsed) .text-more { display: none; }
.toggle-trigger .toggle-icon { transition: transform 0.3s ease; }
.toggle-trigger:not(.collapsed) .toggle-icon { transform: rotate(180deg); }

/* --- Responsive --- */
@media (max-width: 991px) {
  .csi-tab { flex-direction: column; }
  .csi-tab .nav-pills.csi-nav {
    flex-direction: row;
    flex: 0 0 100%;
    max-width: 100%;
    width: 100% !important;
    margin: 0 0 20px 0 !important;
    padding: 0.5rem !important;
  }
  .csi-tab .nav-pills li { flex: 1; margin-bottom: 0; }
  .csi-tab .nav-pills li a { text-align: center; padding: 1rem 0.5rem; height: 100%; }
  .csi-tab .nav-pills li a h3 { font-size: 1.25rem; }
  .csi-tab .nav-pills li a p { font-size: 1.05rem; }
  .csi-tab .nav-pills .active:after { display: none; }
  
  .csi-tab .csi-tab-content { 
    width: 100% !important; 
    flex: 0 0 100%; 
    max-width: 100%; 
  }
  .csi-panel .csi-single-schedule .author {
    margin: 0 1.5rem;
  }
  .csi-panel .panel-body { padding: 0 3rem 3rem 3rem; }
}
@media (max-width: 480px) {
  .csi-tab .nav-pills.csi-nav { flex-direction: column; }
  .csi-tab .nav-pills li { width: 100%; margin-bottom: 5px; }
  .csi-panel .schedule-info { padding: 1.5rem !important; }
  .csi-panel .panel-body { padding: 0 1.5rem 2.5rem 1.5rem !important; }
  .csi-panel .csi-single-schedule { flex-direction: column; text-align: center; }
  .csi-panel .csi-single-schedule .author { 
    margin: 1.5rem auto 1.5rem auto; /* Añadido margen superior */
  }
  .schedule-actions { align-items: center; }
}