* { box-sizing: border-box; }
body { margin: 0; font-family: monospace; }

.layout {
  display: grid;
  grid-template-columns: 420px 1fr;
  min-height: 100vh;
}

.left {
  background: black;
  color: white;
  padding: 40px;
}

.right {
  background: white;
  color: black;
  padding: 40px;
}

.name {
  margin: 0 0 25px 0;
  font-size: 14px;
  font-weight: normal;
  white-space: nowrap;
}

.bio {
  font-size: 12px;
  margin-bottom: 30px;
  color: rgba(255,255,255,0.8);
}

.archive {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.02em;
}

.item {
  border: 1px solid rgba(255,255,255,0.15);
  padding: 8px;
  display: flex;
  gap: 10px;
  font-size: 12px;
  cursor: pointer;
  align-items: baseline;
}

.item:hover { border-color: rgba(255,255,255,0.6); }

.item.is-active { border-color: rgba(255,255,255,0.85); }

.year {
  width: 50px;
  opacity: 0.7;
  flex: 0 0 50px;
}

.title {
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}

.hint { font-size: 11px; opacity: .7; }

/* Contenedor de imágenes */
.viewerImages {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.viewerImg {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity .3s ease;
}

/* Texto bajo imagen */
.viewerDesc {
  font-size: 11px;
  margin-top: 12px;
  max-width: 100ch;
  line-height: 1.6;
  white-space: pre-line;
}

/* Texto tipo página */
.viewerText {
  font-size: 12px;
  line-height: 1.6;
  max-width: 70ch;
  white-space: pre-line;
}

/* Links sobrios */
.right a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(0,0,0,.35);
}

.right a:hover {
  border-bottom-color: rgba(0,0,0,.8);
}
.item:hover {
  background: rgba(255,255,255,0.05);
  }


