:root {
  --adium-red: #e51937;
  --adium-red-light: #f38b9b;
  --adium-gray-bg: #7a7a7a;
  --adium-dark: #1d1d1b;
  --adium-blue: #2b8cbe;
  --adium-break: #bdbdbd;
}

body {
  background-color: #d9d9d9; /* Un gris neutro acorde al cielo de tu imagen */
  font-family: "Open Sans", sans-serif;
  overflow-x: hidden;
}

.font-condensed {
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 1px;
}

/* --- PANEL IZQUIERDO (GRIS) --- */
.left-panel {
  /* Mantiene el color gris como respaldo mientras carga la imagen */
  background-color: var(--adium-gray-bg);
  background-image: url("../images/bg-izq.jpg");
  background-size: cover; /* Hace que la imagen cubra todo el contenedor sin deformarse */
  background-position: right center; /* Ancla la imagen al borde derecho (el centro de la pantalla) */
  background-repeat: no-repeat; /* Evita que la imagen se repita en mosaico */
  color: #fff;
}

.logo-summit {
  width: 100%;
}

.logo-summit-title {
  color: var(--adium-red);
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  line-height: 0.95;
}

.logo-summit-subtitle {
  color: var(--adium-red);
  font-size: clamp(1rem, 1.4vw, 1.3rem);
  line-height: 1;
}

.logo-tagline {
  color: var(--adium-red);
  font-weight: 600;
  font-size: 0.95rem;
}

.main-agenda-title {
  color: #000000;
  font-size: clamp(3rem, 5vw, 4.5rem);
  line-height: 1;
  letter-spacing: 1.5px;
}

.red-divider {
  border-top: 2px solid var(--adium-red);
  opacity: 1;
  width: 85%;
  margin: 0.75rem auto 1.25rem auto;
}

.event-date-location {
  color: var(--adium-red);
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  letter-spacing: 3px;
  line-height: 1.3;
}

/* --- PANEL DERECHO (AGENDA) --- */
.right-panel {
  background-color: #ffffff;
  background-image: url("../images/bg-der.jpg");
  background-size: cover;
  background-position: left center; /* Ancla la imagen al borde izquierdo (el centro de la pantalla) */
  background-repeat: no-repeat;
}

/* Botones DÍA 1 y DÍA 2 */
.day-btn {
  background: none;
  border: none;
  padding: 0;
  font-family: "Bebas Neue", sans-serif;
  font-size: 2.3rem;
  line-height: 1;
  color: var(--adium-red-light);
  transition:
    color 0.2s ease,
    transform 0.1s ease;
  cursor: pointer;
}

.day-btn:hover {
  color: var(--adium-red);
}

.day-btn.active {
  color: var(--adium-red);
}

.day-separator {
  width: 3px;
  height: 2.1rem;
  background-color: var(--adium-blue);
  display: inline-block;
  margin: 0 14px;
}

/* --- FILAS DE HORARIOS --- */
.schedule-row {
  display: flex;
  align-items: stretch;
  gap: 10px;
  margin-bottom: 8px;
}

.time-box {
  width: 118px;
  min-width: 118px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 6px;
  text-align: center;
  line-height: 1.15;
}

.time-box .hours {
  font-weight: 700;
  font-size: 0.9rem;
}

.time-box .duration {
  font-size: 0.72rem;
  opacity: 0.9;
  margin-top: 2px;
}

/* Variantes de color de horario */
.bg-time-dark {
  background-color: var(--adium-dark);
}

.bg-time-red {
  background-color: var(--adium-red);
}

.bg-time-blue {
  background-color: var(--adium-blue);
}

.bg-time-break {
  background-color: var(--adium-break);
  flex-direction: row;
  padding: 6px;
}

/* Caja de contenido derecha */
.content-box {
  flex: 1;
  background-color: #ffffff;
  border: 1px solid #ececec;
  padding: 8px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.content-box.is-break {
  padding: 6px 16px;
}

.event-title {
  font-weight: 700;
  font-size: 0.92rem;
  color: #1d1d1b;
  margin: 0;
}

.event-desc {
  font-size: 0.78rem;
  color: #4a4a4a;
  margin: 2px 0 0 0;
}

.break-title {
  font-weight: 700;
  font-size: 0.88rem;
  color: #9e9e9e;
  margin: 0;
}

/* --- SPEAKERS --- */
.speakers-box {
  width: 130px; /* Ancho fijo para la columna nueva */
  min-width: 130px;
  background-color: #ffffff;
  border: 1px solid #ececec;
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.speakers-box .speakers-title {
  font-weight: 700;
  font-size: 0.82rem;
  color: #e51336;
  margin: 0;
}

/* Ajustes responsivos para pantallas muy pequeñas */
@media (max-width: 576px) {
  .time-box {
    width: 96px;
    min-width: 96px;
    padding: 6px 4px;
  }

  .time-box .hours {
    font-size: 0.8rem;
  }

  .content-box {
    padding: 8px 12px;
  }
}

/* 3. En escritorio, solapa 1px el panel derecho sobre el izquierdo para eliminar el subpíxel */
@media (min-width: 992px) {
  .right-panel {
    margin-left: -1px;
    width: calc(50% + 1px);
  }
}
