/* Search test page (stage 3, 9 Oct 2026). Page-only styles on top of shared/ratc.css.
   One big field; the answers come back in three groups: people (her mugshots), investigations, and pieces
   newest first with their own picture, room and excerpt, the matching words marked. */
.se-open { padding-block: clamp(3.5rem, 7vw, 6rem) clamp(2.5rem, 5vw, 4rem); }
.se-open__inner { display: grid; gap: 18px; }
/* People at the top, beside the box (her review, 10 Oct 2026: "can we move Epstein to the top of the page?"):
   a right-hand column on a computer, under the count on a phone. */
.se-open__main { display: grid; gap: 18px; min-width: 0; }
.se-group--top { margin: 0; }
.se-open .se-people { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }   /* "it can be a little bigger" (her review, 10 Oct) */
.se-open .se-who span { font-size: 1.375rem; }
@media (min-width: 900px) {
  .se-open__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 32rem); column-gap: clamp(32px, 4vw, 64px); align-items: center; }
}
.se-title { margin: 0; }
.se-form { display: grid; gap: 8px; max-width: 760px; }
.se-form__row { display: flex; flex-wrap: wrap; gap: 10px; }
.se-form__input { flex: 1 1 300px; min-width: 0; min-height: 56px; padding: 8px 14px; background: var(--ground-black); color: var(--cream); border: 2px solid var(--bone); border-radius: 0; font: 400 1.5rem/1.2 var(--font-body); }
.se-form__input::placeholder { color: #c9b08c; opacity: 1; }
.se-form__input:focus-visible { outline-offset: 2px; border-color: var(--mustard); }
.se-count { margin: 0; }
.se-group { margin-bottom: 2.5rem; }
.se-group[hidden] { display: none; }
.se-group__h { margin: 0 0 12px; }
.se-people { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.se-who { display: grid; gap: 6px; color: var(--text); text-decoration: none; }
.se-who img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 3px; border: 2px solid transparent; }
.se-who span { font: 400 1.125rem/1.05 var(--font-display); text-transform: uppercase; color: var(--display); }
.se-who:hover img { border-color: var(--bone); }
.se-topics { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.se-topic { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; border: 2px solid var(--bone); border-radius: 24px; color: var(--cream); text-decoration: none; font: 600 var(--fs-label)/1.2 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
.se-topic:hover { background: var(--wine); }
.se-posts { list-style: none; border-top: 2px solid var(--bone); }
.se-post { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 0 24px; align-items: start; padding: 18px 0; border-bottom: 1px solid var(--dusk-violet); }
.se-post__pic { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 3px; background-color: var(--ground-black); background-repeat: no-repeat;
  background-size: calc(var(--cols) * 100%) calc(var(--rows) * 100%);
  background-position: calc(var(--c) / max(var(--cols) - 1, 1) * 100%) calc(var(--r) / max(var(--rows) - 1, 1) * 100%); }
.se-post__pic--none { background-image: linear-gradient(var(--mustard), var(--mustard)), linear-gradient(var(--bone), var(--bone)), linear-gradient(var(--mustard), var(--mustard)); background-size: 10px 10px; background-position: 44% 40%, 56% 40%, 44% 62%; outline: 1px solid var(--dusk-violet); outline-offset: -1px; }
.se-post__text { display: grid; gap: 6px; min-width: 0; }
.se-post__meta { margin: 0; }
.se-post__h { margin: 0; font: 700 clamp(1.1875rem, 1.05rem + .4vw, 1.375rem)/1.3 var(--font-body); }
.se-post__h a { color: var(--cream); text-decoration: none; }
.se-post__h a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: .18em; }
.se-post__ex { margin: 0; max-width: 70ch; font-size: 1rem; }
.se-res mark, .se-open .se-people mark { background: var(--mustard); color: var(--ink-plum); padding: 0 2px; }
.se-none { margin: 0; }
.se-more { margin-top: 18px; }
@media (max-width: 899px) {
  .se-post { grid-template-columns: 104px minmax(0, 1fr); gap: 0 14px; }
  .se-people { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .se-open .se-people { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .se-open .se-who span { font-size: 1.125rem; }
  .se-who span { font-size: 1rem; }
}
