/* Styles for the pages that are not the homepage: the Netflix codes page
   (netflix-codes.html) and the press page (press.html). The rest is style.css. */
.codes-top { align-items: start; }
/* Right above the list it filters, so results show under the box on a phone too. */
.codes-find { margin: clamp(32px, 4vw, 48px) 0 0; max-width: 520px; }
.codes-label { display: block; margin: 0 0 8px; font-weight: 620; color: var(--ink); }
.codes-find input { width: 100%; height: 52px; padding: 0 18px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--surface); font: 500 17px/1 var(--font); color: var(--ink); }
.codes-find input::placeholder { color: var(--text-3); }
.codes-find input:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.codes-find input[hidden] { display: none; }
.codes-label:has(+ input[hidden]) { display: none; }
.codes-count { min-height: 1.6em; }
.codes-side p { margin: 0 0 12px; color: var(--text-2); }
.codes-side .doc-cta { margin: 18px 0 0; }
.codes-side .fine { margin-top: 12px; }

.codes-groups { columns: 3 290px; column-gap: clamp(28px, 4vw, 56px); margin-top: clamp(16px, 2vw, 24px); }
.codes-group { break-inside: avoid; margin: 0 0 40px; }
.codes-group[hidden] { display: none; }
.codes-group .h3 { display: flex; align-items: baseline; gap: 10px; margin: 0 0 10px; font-size: 20px; }
.codes-n { font-size: 13px; font-weight: 600; color: var(--text-3); }
.codes-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.codes-list li { border-bottom: 1px solid var(--line); }
.codes-list li[hidden] { display: none; }
.codes-list a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 2px; text-decoration: none; color: var(--text-2); }
.codes-list a:hover .codes-name, .codes-list a:focus-visible .codes-name { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.codes-code { flex: none; font-variant-numeric: tabular-nums; font-size: 14px; color: var(--text-3); }

.codes-faq .doc { margin-top: 8px; }
.codes-q { margin: 26px 0 6px; font-size: 17px; font-weight: 640; color: var(--ink); }

/* Press page */
.press-copy { padding: 16px 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); color: var(--text-2); }
.doc p.press-copy { max-width: none; }
.press-copy p:last-child { margin-bottom: 0; }
.press-facts li { margin: 12px 0; }
.press-facts b { color: var(--ink); font-weight: 620; }
.press-note { margin: 0 0 22px; }
.press-shots { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 28px; }
.press-shots img { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); }
.press-shots p { margin: 10px 0 0; font-size: 14.5px; line-height: 1.55; color: var(--text-2); }
.press-shots p a { color: var(--ink); }
.press-logo img { width: 160px; border: 0; border-radius: 0; background: none; }
