/* Public page discovery: scoped to the Member Pages search and recommendation UI. */
.mp-discovery,.mp-recommendations,.mp-discovery-form {
  color:var(--mp-ink,#172c25); font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; line-height:1.6;
}
.mp-discovery *, .mp-recommendations *, .mp-discovery-form *,
.mp-discovery *::before,.mp-recommendations *::before,.mp-discovery-form *::before,
.mp-discovery *::after,.mp-recommendations *::after,.mp-discovery-form *::after { box-sizing:border-box; }
.mp-discovery.mp-search-page { max-width:1200px; }
.mp-discovery .mp-discovery-hero { background:var(--mp-sage,#e9eee2); border:1px solid var(--mp-line,#dce2d8); border-radius:20px; padding:38px; margin:0 0 44px; }
.mp-discovery-eyebrow { margin:0 0 14px; color:var(--mp-green,#205642); font-size:10px; line-height:1.5; font-weight:750; letter-spacing:.13em; text-transform:uppercase; }
.mp-discovery .mp-discovery-hero>h2 { max-width:760px; margin:0 0 18px; color:var(--mp-ink,#172c25); font-size:clamp(30px,3.4vw,46px); font-weight:720; line-height:1.08; letter-spacing:-.045em; }
.mp-discovery .mp-discovery-hero>p:not(.mp-discovery-eyebrow) { max-width:700px; margin:0 0 24px; color:var(--mp-muted,#56665e); font-size:15px; }
.mp-discovery-form { margin:22px 0; }
.mp-discovery-search-row { display:flex; align-items:flex-end; gap:12px; }
.mp-discovery-form .mp-discovery-search-row label { display:block; flex:1 1 auto; min-width:0; margin:0; color:var(--mp-ink,#172c25); font-size:13px; font-weight:650; }
.mp-discovery-form input:not([type=hidden]):not([type=checkbox]):not([type=radio]) { display:block; width:100%; max-width:100%; min-width:0; border:1px solid #b8c6b9; border-radius:9px; background:var(--mp-paper,#fff); color:var(--mp-ink,#172c25); padding:13px 15px; margin-top:8px; font:inherit; font-size:15px; font-weight:400; line-height:1.4; box-shadow:none; }
.mp-discovery-form input::placeholder { color:#64746b; opacity:1; }
.mp-discovery-form .mp-discovery-search-row input[type=search]:not([type=hidden]) { min-height:54px; font-size:16px; }
.mp-discovery-form button { display:inline-flex; align-items:center; justify-content:center; gap:9px; flex-shrink:0; max-width:100%; min-height:54px; margin:0; border:1px solid var(--mp-green,#205642); border-radius:9px; padding:13px 21px; background:var(--mp-green,#205642); color:#fff; font:inherit; font-size:14px; line-height:1.5; font-weight:650; cursor:pointer; }
.mp-discovery-form button:hover { background:#173f31; border-color:#173f31; color:#fff; }
.mp-discovery-form button svg { flex:0 0 18px; }
.mp-discovery :is(a,button,input,summary):focus-visible,.mp-recommendations a:focus-visible,.mp-discovery-form :is(a,button,input,summary):focus-visible { outline:3px solid #5e7d2b; outline-offset:4px; }
.mp-discovery a,.mp-recommendations a,.mp-discovery-form a { color:var(--mp-green,#205642); text-underline-offset:4px; }
.mp-discovery-form .mp-discovery-filters { border:0; padding:0; margin:17px 0 0; background:transparent; }
.mp-discovery-filters summary { width:fit-content; max-width:100%; padding:6px 0; color:var(--mp-green,#205642); font-size:13px; font-weight:600; cursor:pointer; }
.mp-discovery-filters summary::marker { color:var(--mp-green,#205642); }
.mp-discovery-filter-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; margin-top:16px; padding-top:18px; border-top:1px solid #cbd6c3; }
.mp-discovery-form .mp-discovery-filter-grid label { display:block; min-width:0; margin:0; color:var(--mp-ink,#172c25); font-size:12px; font-weight:650; }
.mp-discovery-filter-grid small { display:block; margin:7px 0 0; color:var(--mp-muted,#56665e); font-size:11px; line-height:1.5; font-weight:400; }
.mp-discovery-clear { display:inline-block; margin:16px 0 0; font-size:13px; font-weight:600; }
.mp-discovery .mp-discovery-hero>.mp-discovery-hint { max-width:none; margin:24px 0 0; font-size:12px; line-height:1.7; }
.mp-discovery-hint a { margin-left:5px; font-weight:600; }
.mp-discovery-results { margin:44px 0; }
.mp-recommendations { margin:44px 0; }
.mp-discovery-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:24px; margin:0 0 24px; }
.mp-discovery-heading>div { flex:1 1 auto; min-width:0; }
.mp-discovery-heading .mp-discovery-eyebrow { margin-bottom:8px; }
.mp-discovery-heading h2 { margin:0; color:var(--mp-ink,#172c25); font-size:clamp(24px,2.6vw,32px); line-height:1.15; letter-spacing:-.035em; font-weight:700; }
.mp-discovery-heading p:not(.mp-discovery-eyebrow) { margin:12px 0 0; color:var(--mp-muted,#56665e); font-size:13px; max-width:720px; }
.mp-discovery-heading>.mp-discovery-count { flex:0 0 auto; margin:0 0 2px; font-size:12px; font-variant-numeric:tabular-nums; }
.mp-discovery-browse { flex:0 0 auto; align-self:flex-end; font-size:13px; font-weight:600; text-decoration:none; }
.mp-discovery-browse:hover { text-decoration:underline; }
.mp-discovery-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.mp-discovery-card { display:flex; flex-direction:column; min-width:0; min-height:212px; margin:0; border:1px solid var(--mp-line,#dce2d8); border-radius:14px; padding:23px; background:var(--mp-paper,#fff); overflow-wrap:anywhere; box-shadow:0 10px 24px -26px #172c2540; }
.mp-discovery-card:hover { border-color:#9db398; }
.mp-discovery-card-top { display:flex; align-items:center; justify-content:space-between; gap:8px 12px; flex-wrap:wrap; margin:0 0 23px; }
.mp-discovery-kind { color:var(--mp-muted,#56665e); font-size:10px; line-height:1.5; letter-spacing:.075em; font-weight:650; text-transform:uppercase; }
.mp-discovery-public,.mp-discovery-reason { display:inline-block; padding:3px 7px; border-radius:5px; background:var(--mp-sage,#e9eee2); color:var(--mp-green,#205642); font-size:10px; line-height:1.5; font-weight:600; }
.mp-discovery-card h3 { margin:0 0 11px; font-size:21px; font-weight:660; line-height:1.25; letter-spacing:-.025em; }
.mp-discovery-card h3 a { color:var(--mp-ink,#172c25); text-decoration:none; }
.mp-discovery-card h3 a:hover { color:var(--mp-green,#205642); text-decoration:underline; }
.mp-discovery-card .mp-discovery-author { margin:0 0 9px; color:var(--mp-muted,#56665e); font-size:12px; }
.mp-discovery-author a { color:var(--mp-green,#205642); text-decoration:none; font-weight:500; }
.mp-discovery-author a:hover { text-decoration:underline; }
.mp-discovery-path { margin:0 0 18px; color:var(--mp-muted,#56665e); font-size:11px; line-height:1.6; overflow-wrap:anywhere; }
.mp-discovery-tags { display:flex; align-items:flex-start; gap:6px; flex-wrap:wrap; margin-top:auto; padding-top:14px; }
.mp-discovery-tags a { display:inline-block; max-width:100%; background:var(--mp-canvas,#f8f7f2); color:var(--mp-green,#205642); border:1px solid var(--mp-line,#dce2d8); border-radius:5px; padding:4px 8px; font-size:11px; font-weight:500; line-height:1.5; text-decoration:none; overflow-wrap:anywhere; }
.mp-discovery-tags a:hover { background:var(--mp-sage,#e9eee2); border-color:#9db398; text-decoration:underline; }
.mp-discovery-empty { border:1px dashed #b8c6b9; border-radius:14px; background:var(--mp-canvas,#f8f7f2); padding:34px; color:var(--mp-muted,#56665e); font-size:14px; }
.mp-discovery-empty h3 { margin:0 0 10px; color:var(--mp-ink,#172c25); font-size:23px; line-height:1.25; letter-spacing:-.025em; }
.mp-discovery-empty p { margin:0 0 18px; }
.mp-discovery-empty a { font-weight:600; font-size:13px; }
.mp-discovery-pagination { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:16px; padding:22px 0 0; color:var(--mp-muted,#56665e); font-size:12px; }
.mp-discovery-pagination a { display:inline-flex; min-height:40px; align-items:center; padding:8px 13px; border:1px solid var(--mp-line,#dce2d8); border-radius:7px; background:var(--mp-paper,#fff); font-size:12px; font-weight:600; text-decoration:none; }
.mp-discovery-pagination a:hover { background:var(--mp-sage,#e9eee2); border-color:#9db398; }
.mp-discovery-authors { margin:52px 0 0; padding:30px; border:1px solid var(--mp-line,#dce2d8); border-radius:16px; background:var(--mp-canvas,#f8f7f2); scroll-margin-top:25px; }
.mp-discovery-authors .mp-discovery-heading { align-items:flex-start; }
.mp-discovery-authors .mp-discovery-heading>p { max-width:220px; }
.mp-discovery-authors .mp-discovery-form { margin:24px 0; }
.mp-discovery-author-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.mp-discovery-author-card { display:flex; align-items:center; min-width:0; gap:12px; border:1px solid var(--mp-line,#dce2d8); border-radius:10px; background:var(--mp-paper,#fff); padding:16px 14px; text-decoration:none; }
.mp-discovery-author-card:hover { background:var(--mp-sage,#e9eee2); border-color:#9db398; }
.mp-discovery-author-card>span:nth-child(2) { min-width:0; flex:1; }
.mp-discovery-author-card strong { display:block; font-size:13px; color:var(--mp-ink,#172c25); font-weight:600; line-height:1.4; overflow-wrap:anywhere; }
.mp-discovery-author-card small { display:block; font-size:11px; color:var(--mp-muted,#56665e); margin-top:4px; overflow-wrap:anywhere; }
.mp-discovery-avatar { display:grid; place-items:center; width:36px; height:36px; flex:0 0 36px; border-radius:50%; background:var(--mp-sage,#e9eee2); color:var(--mp-green,#205642); font-size:15px; font-weight:600; text-transform:uppercase; }
.mp-discovery-arrow { color:var(--mp-muted,#56665e); font-size:16px; flex-shrink:0; }
@media (max-width:1000px) {
  .mp-discovery-grid,.mp-discovery-author-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .mp-discovery .mp-discovery-hero { padding:30px; }
}
@media (max-width:700px) {
  .mp-discovery-search-row { align-items:stretch; flex-direction:column; gap:12px; }
  .mp-discovery-form button { align-self:flex-start; min-height:46px; padding:11px 17px; }
  .mp-discovery .mp-discovery-hero { padding:24px; border-radius:15px; margin-bottom:32px; }
  .mp-discovery-heading { align-items:flex-start; flex-direction:column; gap:12px; margin-bottom:20px; }
  .mp-discovery-heading p:not(.mp-discovery-eyebrow) { margin-top:10px; }
  .mp-discovery-heading>.mp-discovery-count { margin:0; }
  .mp-discovery-browse { align-self:flex-start; }
  .mp-discovery-filter-grid { grid-template-columns:1fr; gap:18px; }
  .mp-discovery-form .mp-discovery-filter-grid input:not([type=hidden]):not([type=checkbox]) { font-size:16px; }
  .mp-discovery-grid { grid-template-columns:1fr; gap:14px; }
  .mp-discovery-card { min-height:0; padding:23px; }
  .mp-discovery-card-top { margin-bottom:18px; }
  .mp-discovery-empty { padding:25px; }
  .mp-discovery-authors { padding:24px; margin-top:36px; }
  .mp-discovery-authors .mp-discovery-heading>p { max-width:none; margin:0; }
  .mp-discovery-author-grid { grid-template-columns:1fr; }
  .mp-recommendations,.mp-discovery-results { margin:34px 0; }
}
@media (max-width:420px) {
  .mp-discovery.mp-search-page { padding-inline:12px; }
  .mp-discovery .mp-discovery-hero { padding:21px 18px; }
  .mp-discovery .mp-discovery-hero>h2 { font-size:32px; }
  .mp-discovery .mp-discovery-hero>p:not(.mp-discovery-eyebrow) { font-size:14px; }
  .mp-discovery-form button { width:100%; }
  .mp-discovery .mp-discovery-hero>.mp-discovery-hint { font-size:11px; }
  .mp-discovery-hint a { display:block; margin:5px 0 0; }
  .mp-discovery-card { padding:21px; }
  .mp-discovery-authors { padding:22px 18px; }
  .mp-discovery-pagination { gap:12px; }
}
@media (prefers-reduced-motion:no-preference) {
  .mp-discovery-card,.mp-discovery-author-card,.mp-discovery-form button,.mp-discovery-tags a { transition:background-color .15s ease,border-color .15s ease; }
}
@media (forced-colors:active) {
  .mp-discovery-avatar,.mp-discovery-public,.mp-discovery-reason,.mp-discovery-tags a { border:1px solid CanvasText; }
}
