/* Home gateway to Learning now: a heading, a link to the library and three reading cards. */
.matter-page .lc { padding: 88px var(--frame) 96px; background: var(--ink); color: var(--paper); }
.matter-page .lc-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; }
.matter-page .lc-head h2 { font-size: clamp(56px, 6.4vw, 104px); }
.matter-page .lc-dot { font-style: inherit; color: var(--accent); }
.matter-page .lc-all { display: inline-flex; align-items: center; gap: 10px; padding-bottom: 6px; border-bottom: 1px solid currentColor; font-size: 18px; font-weight: 450; letter-spacing: -.01em; white-space: nowrap; transition: color 180ms ease; }
.matter-page .lc-all .ui-arrow { font-size: 16px; }

.matter-page .lc-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; }
.matter-page .lc-card { display: flex; flex-direction: column; height: 100%; padding: 12px 12px 22px; background: #1c1c1a; transition: background-color 220ms ease, color 220ms ease; }
.matter-page .lc-card img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 20px; filter: grayscale(1) contrast(1.05); transition: filter 320ms ease; }
.matter-page .lc-topic { padding-inline: 6px; color: #8f8f88; font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; transition: color 220ms ease; }
.matter-page .lc-title { margin-top: 10px; padding-inline: 6px; font-family: 'Instrument Serif', Georgia, serif; font-size: clamp(28px, 2.4vw, 36px); font-style: italic; line-height: 1.02; letter-spacing: -.03em; }
.matter-page .lc-credit { margin-top: auto; padding: 18px 6px 0; color: #a5a59e; font-size: 14px; line-height: 1.35; transition: color 220ms ease; }

.matter-page .lc-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
@media (hover: hover) {
  .matter-page .lc-all:hover { color: var(--accent); }
  .matter-page .lc-card:hover { background: var(--accent); color: var(--ink); }
  .matter-page .lc-card:hover img { filter: none; }
  .matter-page .lc-card:hover :is(.lc-topic, .lc-credit) { color: rgb(17 17 16 / .72); }
}

@media (max-width: 760px) {
  .matter-page .lc { padding: 64px 0 72px; }
  .matter-page .lc-head { flex-direction: column; align-items: start; gap: 18px; margin: 0 20px 28px; }
  .matter-page .lc-cards { display: flex; gap: 12px; padding-inline: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 20px; scrollbar-width: none; }
  .matter-page .lc-cards::-webkit-scrollbar { display: none; }
  .matter-page .lc-cards li { flex: 0 0 78%; scroll-snap-align: start; }
}
