/* Learning Center (surroundme.org/learn), 2026-10-12. Builds on /styles.css. */
.learn { padding: 40px 0 72px; }
.learn .wrap { max-width: 760px; }
.learn h1 { font-size: clamp(1.9rem, 5vw, 2.6rem); }

/* List: search + category pills */
.learn-search { position: relative; margin: 20px 0 14px; }
.learn-search input {
  width: 100%; font: inherit; font-size: 17px; padding: 13px 16px 13px 44px;
  border-radius: 999px; border: 1px solid var(--border); background: var(--card); color: var(--text);
}
.learn-search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.pills { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 10px; margin: 0 -2px 10px; scrollbar-width: none; }
.pills::-webkit-scrollbar { display: none; }
.pill {
  flex: 0 0 auto; font: inherit; font-size: 15px; font-weight: 600; color: var(--text);
  background: var(--bg); border: 1px solid var(--border); border-radius: 999px; padding: 8px 15px; cursor: pointer;
}
.pill[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; font-weight: 700; }
.learn-count { color: var(--muted); font-size: 15px; margin: 0 0 12px; }
.learn-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.learn-item a {
  display: block; text-decoration: none; color: var(--text); background: var(--card);
  border-radius: var(--radius); padding: 18px 20px; border: 1px solid transparent;
}
.learn-item a:hover { border-color: var(--blue); }
.learn-item h2 { font-size: 1.15rem; margin: 0 0 6px; color: var(--blue); }
.learn-item p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.5; }
.learn-meta { font-size: 13px !important; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin-top: 10px !important; }
.learn-empty { text-align: center; color: var(--muted); padding: 32px 0; }

/* One article / guide */
.back { display: inline-block; font-weight: 700; text-decoration: none; margin-bottom: 18px; font-size: 16px; }
.back::before { content: "\2190\00a0"; }
.pair { display: inline-block; text-decoration: none; font-weight: 700; font-size: 15px; border: 2px solid var(--blue); border-radius: 999px; padding: 6px 16px; margin-bottom: 18px; }
.pair:hover { background: var(--blue); color: #fff; }
.read-summary { font-size: 1.15rem; color: var(--muted); }
.read-body { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.7; }
.read-body .big { font-size: 1.4em; }
.guide-page { background: var(--card); border-radius: var(--radius); padding: 22px 22px 24px; margin: 0 0 16px; }
.guide-page .num { font-size: 13px; font-weight: 800; color: var(--blue); text-transform: uppercase; letter-spacing: 0.06em; margin: 0 0 6px; }
.guide-page h2 { font-size: 1.25rem; margin: 0 0 8px; }
.guide-page img { width: 100%; max-height: 320px; object-fit: cover; border-radius: 12px; margin: 4px 0 14px; }
.guide-page p { margin: 0; }
.read-video { display: block; width: 100%; max-height: 80vh; border-radius: 12px; background: #000; margin: 8px 0 16px; }
.read-video.portrait { width: auto; max-width: 100%; margin-left: auto; margin-right: auto; }
.app-note { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--border); color: var(--muted); font-size: 16px; }
.app-note a { font-weight: 700; }
.see-all { margin-top: 18px; }

/* Keep .hidden winning over the display rules above. */
.learn .hidden { display: none; }

/* "I'm a…" role picker above search (2026-10-12 per Michael). */
.role-label { font-weight: 700; margin: 18px 0 8px; }
.roles { margin-bottom: 2px; }
.role-note { color: var(--muted); font-size: 15px; margin: 0 0 18px; }
