/* resources.v2.css (20 Nov 2026): /en/resources/ - search in the hero, quiet topic chips, light editorial cards.
   No icon tiles, no numbers as decoration, no one-sided lines.
   v2: the search suggestions were cut off at the bottom of the hero, because the site's .hero has overflow:hidden.
   This hero (.hero--rsx) now clips sideways only, so the list hangs over the topic chips below, above them. */

/* ---------------------------------------------------------------- search */
.rsx-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.rsx-search{position:relative;max-width:520px;margin:4px 0 0;z-index:5}
.rsx-search input{box-sizing:border-box;width:100%;height:56px;padding:0 52px 0 50px;border:0;border-radius:8px;background:#fff;
  box-shadow:0 0 0 1px #dfe3ee,0 18px 40px -26px rgba(15,24,39,.45);font:inherit;font-size:17px;color:#0f1827;outline:none;transition:box-shadow .2s}
.rsx-search input::placeholder{color:#7a8399}
.rsx-search input:focus{box-shadow:0 0 0 2px #4537b5,0 18px 40px -22px rgba(69,55,181,.5)}
.rsx-search input::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none}
.rsx-glass{position:absolute;inset-inline-start:18px;top:18px;width:20px;height:20px;color:#7a8399;pointer-events:none}
.rsx-kbd{position:absolute;inset-inline-end:14px;top:15px;min-width:26px;height:26px;box-sizing:border-box;padding:0 8px;border-radius:6px;background:#f1f2f8;
  color:#55607a;font:600 13px/26px ui-monospace,SFMono-Regular,Menlo,monospace;text-align:center}
.rsx-search.is-typing .rsx-kbd{display:none}
.rsx-sug{position:absolute;left:0;right:0;top:calc(100% + 8px);max-height:420px;overflow:auto;padding:6px;border-radius:8px;background:#fff;
  box-shadow:0 0 0 1px #e3e6f1,0 30px 60px -24px rgba(15,24,39,.4);text-align:start}
.rsx-sug a{display:block;padding:10px 12px;border-radius:6px;text-decoration:none;color:#0f1827}
.rsx-sug a[aria-selected="true"],.rsx-sug a:hover{background:#f2f0fd}
.rsx-sug b{display:block;font-size:15px;font-weight:600;line-height:1.35}
.rsx-sug small{display:block;margin-top:2px;font-size:13px;color:#6b7488;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rsx-sug .rsx-all{margin-top:4px;padding:10px 12px;font-size:14px;font-weight:600;color:#4537b5;background:#f7f7fc}
.rsx-sug mark,.rsx-grid mark{background:#e9e5fd;color:inherit;border-radius:3px;padding:0 1px}
.rsx-try{margin:14px 0 0;font-size:14px;color:#6b7488}
.rsx-try button,.rsx-empty button{all:unset;cursor:pointer;margin-inline-start:6px;padding:4px 10px;border-radius:4px;background:#fff;box-shadow:inset 0 0 0 1px #e3e6f1;
  color:#2b3448;font-size:13.5px;font-weight:600;transition:background .2s,color .2s}
.rsx-try button:hover,.rsx-empty button:hover{background:#4537b5;color:#fff;box-shadow:none}
.rsx-try button:focus-visible,.rsx-empty button:focus-visible{outline:2px solid #4537b5;outline-offset:2px}

/* ---------------------------------------------------------------- library */
.rsx-lib{padding-top:var(--s12);scroll-margin-top:calc(var(--nav-h,71px) + 12px)}
.rsx-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 24px;margin:0 0 22px}
.rsx-chips{display:flex;flex-wrap:wrap;gap:6px}
.rsx-chip{all:unset;box-sizing:border-box;cursor:pointer;padding:8px 13px;border-radius:8px;background:#f3f4f8;font-size:14px;font-weight:600;color:#3b4459;transition:background .2s,color .2s}
.rsx-chip span{margin-inline-start:4px;font-weight:500;color:#8a93a8;font-variant-numeric:tabular-nums}
.rsx-chip:hover{background:#e9ebf3}
.rsx-chip[aria-pressed="true"]{background:#0f1827;color:#fff}
.rsx-chip[aria-pressed="true"] span{color:#aab4c8}
.rsx-chip:focus-visible{outline:2px solid #4537b5;outline-offset:2px}
.rsx-count{margin:0;font-size:14px;color:#6b7488;white-space:nowrap}
.rsx-count b{color:#0f1827;font-variant-numeric:tabular-nums}
.rsx-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.rsx-card{position:relative;display:flex;flex-direction:column;gap:10px;min-height:220px;box-sizing:border-box;padding:22px;border-radius:8px;background:#fff;
  box-shadow:0 0 0 1px #e8eaf2;text-decoration:none;color:inherit;transition:box-shadow .25s,transform .25s}
.rsx-card:hover{box-shadow:0 0 0 1px #d6d1f6,0 24px 44px -30px rgba(69,55,181,.55);transform:translateY(-3px)}
.rsx-card:focus-visible{outline:2px solid #4537b5;outline-offset:3px}
.rsx-card[hidden]{display:none}
.rsx-cat{align-self:flex-start;padding:3px 8px;border-radius:4px;font-size:12px;font-weight:600}
.rsx-tone-rose{background:#fdecef;color:#a3324b}
.rsx-tone-blue{background:#e8f0fd;color:#0b4bb3}
.rsx-tone-indigo{background:#e9eaf7;color:#1c1c6c}
.rsx-tone-purple{background:#efedfc;color:#4537b5}
.rsx-tone-slate{background:#eceef3;color:#2b3448}
.rsx-t{margin:0;font-size:1.16rem;line-height:1.32;font-weight:600;color:#0f1827;transition:color .2s}
.rsx-card:hover .rsx-t{color:#4537b5}
.rsx-d{margin:0;font-size:14.5px;line-height:1.55;color:#55607a;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.rsx-hit{font-size:13px;line-height:1.45;color:#4537b5}
.rsx-hit:not([hidden]){display:block}
.rsx-meta{margin-top:auto;font-size:13px;color:#8a93a8}
/* the newest article leads the full list */
.rsx-grid:not(.is-filtered) .rsx-card:first-child{grid-column:span 2;background:#0f1827;box-shadow:none;justify-content:flex-end;min-height:280px;padding:30px}
.rsx-grid:not(.is-filtered) .rsx-card:first-child .rsx-t{font-size:1.65rem;color:#fff}
.rsx-grid:not(.is-filtered) .rsx-card:first-child .rsx-d{color:#c7cedd;max-width:56ch}
.rsx-grid:not(.is-filtered) .rsx-card:first-child .rsx-meta{color:#8a94a8;margin-top:6px}
.rsx-grid:not(.is-filtered) .rsx-card:first-child .rsx-cat{background:rgba(255,255,255,.1);color:#e6e9f2}
.rsx-grid:not(.is-filtered) .rsx-card:first-child:hover .rsx-t{color:#c9c3fa}
.rsx-empty{margin:10px auto 0;max-width:560px;padding:28px;border-radius:8px;background:#f5f6fb;text-align:center}
.rsx-empty b{display:block;font-size:1.05rem;color:#0f1827}
.rsx-empty span{display:block;margin-top:8px;font-size:14.5px;color:#55607a}
@media (max-width:1000px){.rsx-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){
  .rsx-grid{grid-template-columns:minmax(0,1fr)}
  .rsx-grid:not(.is-filtered) .rsx-card:first-child{grid-column:auto;min-height:0;padding:24px}
  .rsx-grid:not(.is-filtered) .rsx-card:first-child .rsx-t{font-size:1.3rem}
  .rsx-card{min-height:0}
  .rsx-chips{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin:0 -16px;padding:2px 16px}
  .rsx-chips::-webkit-scrollbar{display:none}
  .rsx-chip{flex:none}
  .rsx-kbd{display:none}
  .rsx-search input{height:52px;font-size:16px}
  .rsx-glass{top:16px}
}
@media (prefers-reduced-motion:reduce){.rsx-card{transition:none}.rsx-card:hover{transform:none}}

/* ---------------------------------------------------------------- v2: suggestions not cut off by the hero */
.hero.hero--rsx{overflow:visible;overflow-x:clip;position:relative;z-index:3}
