/*
Theme Name: SD N52 极简画廊·居中海报
Author: SD Network
Description: 极简黑白画廊风：纯白、细字、大留白，首页只有一张居中的 4:5 海报与展签，其后是三列画廊；桌面左侧固定导航栏。
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.1
Text Domain: sd-n52
*/

:root {
  --bg: #ffffff; --surface: #ffffff; --ink: #111111; --muted: #777777; --line: #e3e3e3;
  --accent: #111111; --accent-2: #8a9a2b; --accent-soft: rgba(17, 17, 17, .06); --on-accent: #ffffff;
  --radius: 0px; --wrap: 1120px; --gut: 36px; --scrim: rgba(255, 255, 255, .86);
  --font: "PingFang SC","Hiragino Sans GB","Microsoft YaHei","Noto Sans SC","Source Han Sans SC",system-ui,-apple-system,"Segoe UI",sans-serif;
}

/* ==========================================================================
   基础层（结构 / 行为）。变量：--bg --surface --ink --muted --line --accent --accent-2
   --accent-soft --on-accent --radius --wrap --gut --font --scrim
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.7 var(--font); overflow-x: clip; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body.sd-no-scroll { overflow: hidden; }
img, video, iframe, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.n52-wrap { width: 100%; max-width: var(--wrap, 1240px); margin: 0 auto; padding: 0 var(--gut, 20px); }
.sr-only, .screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 999; padding: 12px 18px; background: var(--ink); color: var(--bg); }
.skip:focus { top: 12px; }

/* 搜索表单 */
.n52-sf { display: flex; gap: 8px; align-items: stretch; }
.n52-sf input[type="search"] { flex: 1 1 auto; min-width: 0; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: var(--radius); -webkit-appearance: none; appearance: none; }
.n52-sf input[type="search"]::placeholder { color: var(--muted); opacity: .85; }
.n52-sf button { flex: 0 0 auto; min-height: 44px; padding: 0 20px; border: 0; border-radius: var(--radius); background: var(--accent); color: var(--on-accent); font-weight: 700; }

/* 搜索面板 / 遮罩 / 抽屉（app.js 以 id 绑定） */
.n52-search { position: fixed; inset: 0; z-index: 200; display: grid; align-items: start; justify-items: center; padding: 12vh 16px 16px; background: var(--scrim, rgba(0,0,0,.55)); opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
.n52-search.is-open { opacity: 1; visibility: visible; }
.n52-search__box { width: min(640px, 100%); max-height: 80vh; overflow: auto; padding: 20px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); }
.n52-search__hint { margin: 18px 0 8px; font-size: 13px; color: var(--muted); }
.n52-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.n52-tags a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 14px; }
.n52-tags a:hover { border-color: var(--accent); color: var(--accent); }
.n52-overlay { position: fixed; inset: 0; z-index: 150; background: var(--scrim, rgba(0,0,0,.55)); opacity: 0; transition: opacity .25s; }
.n52-overlay.is-open { opacity: 1; }
.n52-drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 160; width: min(320px, 86vw); padding: 68px 22px 28px; overflow: auto; background: var(--surface); color: var(--ink); border-left: 1px solid var(--line); transform: translateX(100%); visibility: hidden; transition: transform .25s, visibility .25s; }
.n52-drawer.is-open { transform: none; visibility: visible; }
.n52-drawer__close { position: absolute; top: 10px; right: 10px; width: 48px; height: 48px; display: grid; place-items: center; border: 0; background: transparent; font-size: 20px; }
.n52-drawer__list { list-style: none; margin: 0; padding: 0; }
.n52-drawer__list a { display: flex; align-items: center; min-height: 52px; border-bottom: 1px solid var(--line); font-size: 17px; }
.n52-drawer__list [aria-current="page"], .n52-drawer__list .current-menu-item > a { color: var(--accent); font-weight: 700; }

/* 面包屑 */
.sd-crumbs { padding: 14px 0 4px; font-size: 13px; color: var(--muted); }
.sd-crumbs__list { display: flex; flex-wrap: wrap; align-items: center; list-style: none; margin: 0; padding: 0; }
.sd-crumbs li { display: inline-flex; align-items: center; min-width: 0; }
.sd-crumbs li + li::before { content: "/"; margin: 0 8px; opacity: .5; }
.sd-crumbs a { display: inline-flex; align-items: center; min-height: 44px; }
.sd-crumbs a:hover { color: var(--accent); }
.sd-crumbs [aria-current="page"] { color: var(--ink); max-width: 60vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 分页 */
.sd-pagination { margin: 36px 0 8px; }
.sd-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.sd-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); font-weight: 600; }
.sd-pagination a.page-numbers:hover { border-color: var(--accent); color: var(--accent); }
.sd-pagination .current { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.sd-pagination .dots { background: none; border-color: transparent; }

/* 播放器 / 提示框 */
.n52-player { min-width: 0; }
.sd-player { background: #000; overflow: hidden; }
.sd-player video { display: block; width: 100%; aspect-ratio: 9 / 16; max-height: 78vh; object-fit: contain; background: #000; }
.sd-embed { aspect-ratio: 9 / 16; max-height: 78vh; background: #000; }
.sd-embed iframe { display: block; width: 100%; height: 100%; border: 0; }
.sd-player__fallback { padding: 18px; color: #e5e7eb; font-size: 14px; }
.sd-player__fallback a { text-decoration: underline; }
.sd-callout { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 20px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.sd-callout__body { flex: 1 1 200px; }
.sd-callout__title { font-weight: 800; margin-bottom: 4px; }
.sd-callout__desc { color: var(--muted); font-size: 14px; }
.sd-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px; border: 0; border-radius: var(--radius); background: var(--accent); color: var(--on-accent); font-weight: 700; }

/* 通用部件 */
.n52-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.n52-pill { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; font-size: 13px; border: 1px solid var(--line); border-radius: 999px; }
a.n52-pill { min-height: 44px; }
.n52-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0; }
.n52-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: var(--radius); font-weight: 600; }
.n52-btn--fill { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.n52-note { padding: 14px 16px; border: 1px dashed var(--line); color: var(--muted); font-size: 14px; }
.n52-pn { display: flex; justify-content: space-between; gap: 10px; margin-top: 14px; }
.n52-pn a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); }
.n52-pn a.is-next { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.n52-side-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 16px; color: var(--accent); font-weight: 600; }
.n52-prose { max-width: 70ch; overflow-wrap: anywhere; }
.n52-prose img { height: auto; }
.n52-faq details { border-bottom: 1px solid var(--line); }
.n52-faq summary { display: flex; align-items: center; min-height: 52px; cursor: pointer; font-weight: 600; }
.n52-faq details p { color: var(--muted); }
.n52-empty, .n52-notfound { padding: 48px 0; }
.n52-empty__title { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.n52-notfound__search { max-width: 520px; margin: 22px 0; }
.n52-notfound__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.n52-notfound__code { margin: 0; font-size: clamp(72px, 16vw, 150px); font-weight: 900; line-height: 1; color: var(--accent); }
.n52-notfound h1 { font-size: clamp(26px, 4vw, 40px); margin: 6px 0 10px; }
.n52-notfound__desc { max-width: 34em; color: var(--muted); }
.n52-results { display: grid; gap: 0; }
.n52-result { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: flex-start; min-width: 0; }
.n52-result__img { width: 72px; flex: 0 0 72px; aspect-ratio: 2 / 3; object-fit: cover; }
.n52-result__body { display: grid; gap: 4px; min-width: 0; }
.n52-result__t { font-weight: 700; overflow-wrap: anywhere; }
.n52-result__m, .n52-result__x { font-size: 13px; color: var(--muted); }
.n52-result:hover .n52-result__t { color: var(--accent); }
.n52-searchbar { max-width: 640px; margin: 4px 0 24px; }
.n52-article { max-width: 860px; }
.n52-pages { margin-top: 24px; }

/* 筛选条：行内滚动，不撑破版面 */
.n52-filter { display: grid; gap: 4px; margin: 0 0 24px; }
.n52-filter__row { display: flex; align-items: center; gap: 12px; min-width: 0; }
.n52-filter__label { flex: 0 0 auto; font-size: 13px; color: var(--muted); }
.n52-filter__list { display: flex; flex: 1 1 auto; gap: 6px; min-width: 0; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.n52-filter__list::-webkit-scrollbar { display: none; }
.n52-filter__list a { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; white-space: nowrap; }
.n52-filter__list [aria-current="page"] { color: var(--accent); font-weight: 700; }

/* 选集 */
[data-eps] { position: relative; }
.n52-eps { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(54px, 1fr)); gap: 8px; max-height: 440px; overflow: auto; padding: 2px; }
.n52-ep { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 48px; padding: 4px 2px; border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); line-height: 1.2; }
.n52-ep b { font-weight: 700; }
.n52-ep i { font-style: normal; font-size: 11px; color: var(--muted); }
a.n52-ep:hover { border-color: var(--accent); color: var(--accent); }
.n52-ep.is-current { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.n52-ep.is-current i { color: inherit; opacity: .8; }
.n52-ep.is-off { opacity: .45; }
.n52-eps--row { grid-template-columns: minmax(0, 1fr); gap: 0; }
.n52-eps--row .n52-ep { flex-direction: row; justify-content: flex-start; gap: 12px; padding: 8px 12px; border-width: 0 0 1px; border-radius: 0; text-align: left; }
.n52-eps--row .n52-ep b { flex: 0 0 2.6em; }
.n52-eps--row .n52-ep__t { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.n52-eps--row .n52-ep i { flex: 0 0 auto; }

/* 资料表 / 文字块 */
.n52-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); column-gap: 28px; margin: 0; }
.n52-facts__r { padding: 12px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.n52-facts dt { font-size: 12.5px; color: var(--muted); }
.n52-facts dd { margin: 2px 0 0; font-weight: 600; overflow-wrap: anywhere; }
.n52-eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0 0 10px; font-size: 13px; color: var(--muted); }
.n52-g { display: inline-flex; align-items: center; min-height: 32px; padding: 0 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; color: var(--ink); }
.n52-g:hover { border-color: var(--accent); color: var(--accent); }
.n52-detail__t, .n52-dhead h1 { font-size: clamp(26px, 4vw, 42px); overflow-wrap: anywhere; }
.n52-detail__meta { margin: 10px 0 0; color: var(--muted); font-size: 14px; }
.n52-detail__syn { margin: 16px 0 0; font-size: 16px; line-height: 1.9; overflow-wrap: anywhere; }
.n52-h2 { font-size: 20px; margin: 0 0 14px; }
.n52-h2 small { margin-left: 8px; font-size: 13px; font-weight: 500; color: var(--muted); }
.n52-block { margin-top: clamp(36px, 6vw, 68px); }
.n52-block--tight { margin-top: 28px; }
.n52-dhead { padding: 8px 0 22px; }
.n52-ph { padding: 26px 0 20px; }
.n52-ph__k { margin: 0 0 8px; font-size: 13px; color: var(--muted); }
.n52-ph__t { font-size: clamp(28px, 4vw, 44px); overflow-wrap: anywhere; }
.n52-ph__d { margin: 10px 0 0; color: var(--muted); }
.n52-sec { display: flex; align-items: baseline; justify-content: space-between; gap: 6px 16px; flex-wrap: wrap; margin: 0 0 18px; }
.n52-sec__t { font-size: clamp(20px, 2.6vw, 28px); }
.n52-sec__k { flex: 0 0 100%; font-size: 12px; color: var(--muted); }
.n52-sec__more { display: inline-flex; align-items: center; min-height: 44px; color: var(--accent); font-weight: 600; white-space: nowrap; }
.n52-main { min-width: 0; }
.n52-main > .n52-wrap, .n52-main > section { min-width: 0; }

.n52-grid { display: grid; gap: 64px 44px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .n52-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .n52-grid { grid-template-columns: repeat(1, minmax(0, 1fr)); } }

.n52-head { position: sticky; top: 0; z-index: 100; background: var(--bg); border-bottom: 1px solid var(--line); }
.n52-head--rail .n52-head__in { display: flex; align-items: center; gap: 16px; min-height: 60px; padding: 0 var(--gut); }
.n52-brand { font-weight: 800; font-size: 20px; line-height: 1.25; max-width: 62vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.n52-brand img { max-height: 40px; width: auto; }
.n52-nav__list { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.n52-nav__list a { display: flex; align-items: center; min-height: 44px; padding: 0 10px; }
.n52-nav__list [aria-current="page"], .n52-nav__list .current-menu-item > a { color: var(--accent); font-weight: 700; }
.n52-rail__search { display: none; }
.n52-tools { display: flex; gap: 6px; margin-left: auto; }
.n52-tool { min-height: 44px; padding: 0 14px; border: 1px solid var(--line); background: transparent; border-radius: var(--radius); }
.n52-head--rail .n52-nav { display: none; }
@media (min-width: 1025px) {
  :root { --rail: 232px; }
  .n52-head--rail { position: fixed; inset: 0 auto 0 0; width: var(--rail); overflow-y: auto; border-bottom: 0; border-right: 1px solid var(--line); }
  .n52-head--rail .n52-head__in { flex-direction: column; align-items: stretch; gap: 22px; min-height: 100%; padding: 32px 22px; }
  .n52-head--rail .n52-nav { display: block; }
  .n52-head--rail .n52-nav__list { flex-direction: column; }
  .n52-head--rail .n52-rail__search { display: block; }
  .n52-head--rail .n52-rail__form { flex-direction: column; }
  .n52-head--rail .n52-tools { margin: auto 0 0; }
  .n52-head--rail #sd-menu-open { display: none; }
  .n52-main, .n52-foot { margin-left: var(--rail); }
}
@media (max-width: 1024px) { .n52-head--rail .n52-nav { display: none; } }

.n52-foot { margin-top: clamp(48px, 8vw, 96px); padding: 28px 0 24px; border-top: 1px solid var(--line); text-align: center; }
.n52-foot__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 4px; }
.n52-foot__links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; font-size: 14px; }
.n52-foot__menu { display: contents; list-style: none; }
.n52-foot__menu li { display: inline-flex; }
.n52-foot__bar { display: flex; flex-direction: column; align-items: center; gap: 4px; margin: 14px 0 0; font-size: 13px; color: var(--muted); }

.n52-wrap--narrow { max-width: 820px; }
.n52-dstack { text-align: center; padding-top: 8px; }
.n52-dstack__fig { width: min(300px, 70%); margin: 0 auto 22px; }
.n52-dstack__fig img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.n52-dstack .n52-eyebrow, .n52-dstack .n52-actions { justify-content: center; }
.n52-dstack .n52-selects { text-align: left; margin-top: 36px; }
.n52-dstack .n52-player { max-width: 400px; margin: 0 auto 22px; }
.n52-dstack .n52-facts, .n52-dstack .n52-block { text-align: left; }
.n52-dstack .n52-facts { margin-top: 30px; }

.n52-theatre { display: grid; gap: 28px; }
.n52-theatre__stage { width: 100%; max-width: 440px; margin: 0 auto; min-width: 0; }
.n52-theatre__eps { min-width: 0; }
.n52-theatre__eps .n52-eps { max-height: none; }

@media (max-width: 560px) { :root { --gut: 16px; } .n52-filter__row { gap: 8px; } .sd-crumbs [aria-current="page"] { max-width: 48vw; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }

/* ==== 主题皮肤：SD N52 极简画廊·居中海报 ==== */

body { font-weight: 300; letter-spacing: .02em; }
h1, h2, h3 { font-weight: 300; letter-spacing: .04em; }
strong, b { font-weight: 600; }
a:hover { opacity: .65; }

/* 左侧栏 */
.n52-head { background: var(--bg); }
.n52-brand { font-size: 17px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; }
.n52-nav__list a { font-size: 13px; letter-spacing: .2em; min-height: 40px; }
.n52-nav__list [aria-current="page"] { font-weight: 700; text-decoration: underline; text-underline-offset: 6px; color: var(--ink); }
.n52-tool { border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; font-size: 13px; letter-spacing: .2em; padding: 0 4px; min-width: 44px; }
.n52-rail__form input[type="search"] { border: 0; border-bottom: 1px solid var(--ink); background: transparent; padding: 0 2px; }
.n52-rail__form button { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.n52-search__box { border: 1px solid var(--ink); }
.n52-sf input[type="search"] { border-color: var(--ink); }
.n52-sf button { background: var(--ink); }

/* 首页：展厅 */
.n52-gal { display: grid; justify-items: center; text-align: center; padding: clamp(36px, 8vw, 96px) 0 24px; }
.n52-gal__t { font-size: clamp(14px, 2vw, 18px); font-weight: 500; letter-spacing: .5em; text-transform: uppercase; overflow-wrap: anywhere; }
.n52-gal__tag { margin: 12px 0 clamp(28px, 6vw, 64px); font-size: 13px; color: var(--muted); letter-spacing: .2em; }
.n52-gal__fig { display: block; width: min(100%, 440px); box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .35); }
.n52-gal__fig img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.n52-gal__cap { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 6px 18px; margin: 26px 0 8px; font-size: 13px; color: var(--muted); }
.n52-gal__cap b { font-size: 22px; font-weight: 300; letter-spacing: .12em; color: var(--ink); }
.n52-gal__go { display: flex; gap: 30px; margin: 10px 0 0; font-size: 13px; letter-spacing: .2em; }
.n52-gal__go a { display: inline-flex; align-items: center; min-height: 44px; border-bottom: 1px solid var(--ink); }

/* 区块 / 画廊卡 */
.n52-block { margin-top: clamp(64px, 10vw, 140px); }
.n52-sec { justify-content: center; text-align: center; margin-bottom: clamp(30px, 5vw, 56px); }
.n52-sec__k { order: -1; flex: 0 0 100%; letter-spacing: .5em; font-size: 11px; }
.n52-sec__t { font-size: clamp(18px, 2.4vw, 26px); letter-spacing: .3em; }
.n52-sec__more { flex: 0 0 100%; justify-content: center; color: var(--muted); font-weight: 400; font-size: 13px; letter-spacing: .2em; }
.n52-g__link { display: block; text-align: center; }
.n52-g__fig { display: block; overflow: hidden; background: #f4f4f4; }
.n52-g__fig img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .6s; }
.n52-g:hover img { transform: scale(1.03); }
.n52-g:hover { opacity: 1; }
.n52-g__cap { display: grid; gap: 4px; padding-top: 16px; }
.n52-g__n { font-size: 11px; letter-spacing: .4em; color: var(--muted); }
.n52-g__t { font-size: 17px; letter-spacing: .12em; }
.n52-g__m { font-size: 12px; color: var(--muted); }
.n52-index { text-align: center; }
.n52-index__list { font-size: 15px; line-height: 2.6; letter-spacing: .2em; }
.n52-index__list a { display: inline-block; padding: 0 8px; }
.n52-index__list a:hover { text-decoration: underline; opacity: 1; }

/* 其他页 */
.n52-ph { text-align: center; padding: clamp(36px, 6vw, 72px) 0 28px; }
.n52-ph__k { letter-spacing: .5em; font-size: 11px; }
.n52-ph__t { font-size: clamp(22px, 3.4vw, 36px); letter-spacing: .3em; font-weight: 300; }
.n52-ph__d { font-size: 13px; letter-spacing: .1em; }
.n52-btn { border: 1px solid var(--ink); background: transparent; letter-spacing: .2em; font-weight: 400; font-size: 14px; }
.n52-btn--fill { background: var(--ink); color: #fff; }
.n52-pill, .n52-g.n52-g { border-color: var(--line); }
.n52-pill { border-radius: 0; }
.n52-detail__t { font-weight: 300; letter-spacing: .12em; font-size: clamp(24px, 3.6vw, 38px); }
.n52-detail__syn { font-size: 15px; line-height: 2.1; text-align: left; color: #333; }
.n52-dstack__fig img { box-shadow: 0 24px 60px -28px rgba(0, 0, 0, .4); }
.n52-h2 { font-size: 13px; letter-spacing: .4em; font-weight: 500; text-transform: uppercase; padding-bottom: 10px; border-bottom: 1px solid var(--ink); }
.n52-eps { grid-template-columns: repeat(auto-fill, minmax(48px, 1fr)); gap: 0; }
.n52-ep { border-color: var(--line); margin: 0 -1px -1px 0; }
.n52-ep.is-current { background: var(--ink); border-color: var(--ink); }
.n52-g { border: 0; padding: 0; }
.n52-g__link { color: var(--ink); }
.n52-eyebrow .n52-g, .n52-eyebrow a.n52-g { display: none; }
.n52-pagination .page-numbers { border: 0; background: transparent; letter-spacing: .1em; }
.n52-pagination .current { background: transparent; color: var(--ink); border-bottom: 1px solid var(--ink); }
.n52-filter__list a { letter-spacing: .1em; font-size: 14px; }
.n52-filter__list [aria-current="page"] { border-bottom: 1px solid var(--ink); color: var(--ink); }
.sd-crumbs { letter-spacing: .1em; }
.n52-foot { border-top: 1px solid var(--line); }
.n52-foot__links a { letter-spacing: .15em; }

@media (max-width: 1024px) { .n52-head { border-bottom: 1px solid var(--line); } }
@media (max-width: 560px) {
  :root { --gut: 22px; }
  .n52-gal__t { letter-spacing: .3em; }
  .n52-gal__go { gap: 18px; }
}
