/* Filosofía */
/* UPDATED: 30/10/2026 */

.philo {
  max-width: 46rem;
  margin: 0 auto;
  padding: 6.5rem 1.25rem 3rem;
}

.philo-title {
  margin: 0 0 2rem;
  /*margin: 1rem 2rem;      --> arriba y abajo | izquierda y derecha */
  /*margin: 1rem 2rem 3rem; --> arriba | izquierda y derecha | abajo */
  /*margin: 0 0 0.8rem 0;   --> arriba | derecha | abajo | izquierda */
  font-size: clamp(0.85rem, 2.4vw, 1.2rem);
  line-height: 1.6;
  text-align: center;
}

.philo p.byline {
  /* font-family: "Press Start 2P", monospace; */
  /* font-family: Consolas, "Courier New", monospace; */
  /* font-family: "Source Sans 3";  */
  font-family: "IBM Plex Sans", sans-serif;
  /* font-family: sans-serif; */
  font-size: 0.85rem;
  line-height: 0.42;

}

.philo p.byline a {
  color: var(--amber);
}



.philo-index {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
  margin-bottom: 1.6rem;
}

.philo-card {
  width: 13rem;
  min-height: 4.2rem;
  padding: 0.7rem;
  border: 1px solid var(--amber);
  background: transparent;
  color: var(--amber);
  font-family: "Press Start 2P", monospace;
  font-size: 0.55rem;
  line-height: 1.55;
  cursor: pointer;
}

.philo-card.is-on,
.philo-card:hover {
  background: var(--amber);
  color: var(--background);
  border: 1px solid var(--background);

}

.philo-text {
  border: 1px solid var(--line);
  padding: 1.2rem 1.1rem;
}

.philo-text h2 {
  margin: 0 0 1rem;
  font-size: 0.72rem;
  line-height: 1.6;
  /* text-decoration: underline; */
}

.philo-text h3 {
  margin: 0 0 1rem;
  font-family: "Courier New", monospace;
  font-size: 0.8rem;
  font-weight: 100;
  line-height: 1;
  font-style: normal;
  /* text-decoration: underline; */
}

.philo-text p,
.philo-text ul li {
  margin: 0 0 0.9rem;
  /* font-family: "Source Sans 3", sans-serif; */
  font-family: Consolas, "Courier New", monospace;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--text);
}

.philo-text ul li {
  line-height: 1;
}

.philo-text p.yellow,
.philo-text p span.yellow {
  color: var(--amber);
}

.philo-text p:last-child {
  margin-bottom: 0;
}






/* Quotes: */
.quote {
  margin: 1.6rem 0 1.6rem;
  padding: 0.2rem 0 0.2rem 1rem;
  border-left: 3px solid var(--amber);
}

.quote p,
.philo-text .quote p.yellow {
  margin: 0 0 0.4rem;
  font-family: Consolas, "Courier New", monospace;
  font-style: italic;
  font-weight: 400;
  font-size: 0.93rem;
  color: var(--amber);
  line-height: 1.14rem;
}

/* 
.quote-by {

} 
*/



/* Images: */
img {
  margin: 3.3rem auto;
  display: block;
}

.philo-text img.comic,
.philo-text img.eisenhower-matrix {
  width: 81%;
  border: 2px solid #fff;
  border-radius: 12px;
}

.philo-text img.portal {
  width: 49%;
}


/* Separator: */
.philo-text .separator {
  margin: 1.4rem 0;
  font-family: "Press Start 2P", monospace;
  text-align: center;
  /* font-size: 14px; */
  color: var(--amber);
}





/* Mostrar los desplegables a partir de 860px */
.article-picker {
  display: none;
  margin: 0 0 1.4rem;
}

.article-label {
  display: block;
  margin: 0 0 0.5rem;
  /* font-family: "Press Start 2P", monospace; */
  font-family: Consolas, "Courier New", monospace;
  font-size: 1rem;
  font-weight: 700;
  /* color: var(--amber-soft); */
  border-color: var(--amber);
}

.article-select {
  display: block;
  width: 100%;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--amber);
  background: var(--background-drawer);
  color: var(--amber);
  /* font-family: "Press Start 2P", monospace; */
  font-family: Consolas, "Courier New", monospace;
  font-size: 1rem;
  cursor: pointer;
}

.article-select:hover,
.article-select:focus {
  /* border-color: var(--amber-soft); */
  border-color: var(--amber);
  outline: none;
}



/* Dispositivos moviles */
@media (max-width: 860px) {
  
  /* Ocultar botones */
  .philo-index {
    display: none;
  }

  /* Mostrar desplegable */
  .article-picker {
    display: block;
  }

  /* Imagenes */
  img {
    margin: 2.5rem auto;
  }

  .philo-text img.eisenhower-matrix {
    width: 100%;
    max-width: 100%;
  }

  .philo-text img.comic {
    width: 100%;
  }

  .philo-text img.portal {
    width: 60%;
  }
}