/* ============================================================
   Kanghe Lyu site — notes.css v3
   Notes grid and card typography.
   ============================================================ */

.notes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
  width: 100%;
}

.intro,
.note,
.note-desc,
.footer {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.note-title {
  position: relative;
  z-index: 1;
  min-width: 0;
  font-size: 1.12rem;
  color: var(--paper);
  margin-bottom: 10px;
  overflow-wrap: anywhere;
  word-break: break-word;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  line-height: 1.4;
}

.note-desc {
  position: relative;
  z-index: 1;
  min-width: 0;
  color: var(--subtle);
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 18px;
}

.page .button {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

@media (max-width: 760px) {
  .notes-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 360px) {
  .note { padding: 18px 14px 16px; }
}
