/* ==========================================================================
   mnyeasmin.com
   Fonts (SIL Open Font License, see assets/fonts/LICENSE-*.txt), tokens, base,
   header, footer. Page sections follow below their own banners.
   ========================================================================== */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-wght-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/newsreader-latin-standard-normal.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("../fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2");
}

:root {
  --bg: #F4F6F9;
  --card: #FFFFFF;
  --ink: #0E1A2B;
  --text: #3B4657;
  --muted: #5F6B7E;
  --line: #E2E7EE;
  --accent: #1F4FA0;
  --accent-ink: #173C7A;
  --accent-soft: #EAF0FA;
  --warm: #9A5410;
  --warm-soft: #FBF1E4;
  --green: #1D6B47;
  --green-soft: #E6F4EC;
  --red: #B42318;
  --red-ink: #8A1C1C;
  --red-soft: #FDF0F0;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --maxw: 1200px;
  --gutter: 32px;
}

/* Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
/* Links inside sentences get an underline too, so color is not the only cue (WCAG 1.4.1). */
.bio a, .news-item div a, .page-head p a, .group-intro a, .project-body p a, .callout a, .personal a {
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px;
  text-decoration-color: rgba(31, 79, 160, .45);
}
.bio a:hover, .news-item div a:hover, .page-head p a:hover, .group-intro a:hover, .project-body p a:hover, .callout a:hover, .personal a:hover {
  text-decoration-color: currentColor;
}
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
h1, h2, h3 { color: var(--ink); }
.icon { width: 16px; height: 16px; flex: none; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 48px var(--gutter) 72px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; font-weight: 600;
}
.skip:focus { top: 12px; }

/* Header ---------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-in {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); height: 64px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--serif); font-size: 21px; font-weight: 600; color: var(--ink); letter-spacing: -.005em;
}
.brand:hover { text-decoration: none; }
.brand-mark { width: 26px; height: 26px; flex: none; }

.menu { display: flex; gap: 2px; }
.menu a { padding: 8px 14px; border-radius: 8px; color: var(--text); font-size: 15px; font-weight: 500; }
.menu a:hover { background: #F0F3F7; color: var(--ink); text-decoration: none; }
.menu a[aria-current="page"] { background: var(--accent-soft); color: var(--accent); }

.menu-mobile { display: none; position: relative; }
.menu-mobile summary {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer; list-style: none;
  padding: 7px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--card);
  font: 500 14px var(--sans); color: var(--ink);
}
.menu-mobile summary::-webkit-details-marker { display: none; }
.menu-mobile nav {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 220px; padding: 6px;
  display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 12px 32px rgba(16, 24, 40, .12);
}
.menu-mobile nav a { padding: 10px 12px; border-radius: 8px; color: var(--text); font-weight: 500; }
.menu-mobile nav a:hover { background: #F0F3F7; text-decoration: none; }
.menu-mobile nav a[aria-current="page"] { background: var(--accent-soft); color: var(--accent); }

/* Footer ---------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line); background: var(--card); }
.footer-in {
  max-width: var(--maxw); margin: 0 auto; padding: 22px var(--gutter);
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  font-size: 13.5px; color: var(--muted);
}
.footer-in p { margin: 0; }
.footer-in nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-in a { color: var(--muted); }
.footer-in a:hover { color: var(--accent); }

/* Responsive shell -------------------------------------------------------- */
@media (max-width: 960px) {
  :root { --gutter: 20px; }
  .menu { display: none; }
  .menu-mobile { display: block; }
  .container { padding-top: 28px; padding-bottom: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ==========================================================================
   Homepage
   ========================================================================== */
.home {
  max-width: var(--maxw); margin: 0 auto; padding: 48px var(--gutter) 72px;
  display: grid; grid-template-columns: 300px minmax(0, 1fr);
  grid-template-areas: "photo main" "facts main"; grid-template-rows: auto 1fr;
  column-gap: 52px; row-gap: 20px;
}
.photo { grid-area: photo; }
.facts { grid-area: facts; align-self: start; }
.main-col { grid-area: main; min-width: 0; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 1px 2px rgba(16, 24, 40, .04); }
.photo.card { padding: 6px; }
.photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; border-radius: 10px; }

.label {
  font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 12px;
}
.facts { padding: 22px 22px 20px; }
.facts section + section { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }

.tl { list-style: none; margin: 0; padding: 0; }
.tl li { position: relative; padding: 0 0 16px 24px; }
.tl li:last-child { padding-bottom: 0; }
.tl li::before {
  content: ""; position: absolute; left: 3px; top: 6px; width: 10px; height: 10px; border-radius: 50%;
  background: var(--card); border: 2px solid var(--accent);
}
.tl li:first-child::before { background: var(--accent); }
.tl li::after { content: ""; position: absolute; left: 8px; top: 20px; bottom: 0; width: 1.5px; background: var(--line); }
.tl li:last-child::after { display: none; }
.tl b { display: block; color: var(--ink); font-weight: 600; font-size: 14.5px; line-height: 1.35; }
.tl span { display: block; font-size: 13.5px; line-height: 1.45; margin-top: 2px; }
.tl .years { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-top: 3px; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.stat { background: #F6F8FB; border: 1px solid var(--line); border-radius: 10px; padding: 11px 4px 9px; text-align: center; }
.stat strong { display: block; font-family: var(--serif); font-size: 25px; font-weight: 600; color: var(--ink); line-height: 1.1; }
.stat span { display: block; font-size: 10.5px; font-weight: 500; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.stats-note { font-size: 12px; color: var(--muted); margin: 8px 0 0; text-align: right; }
.stats-note a { color: var(--muted); }

.qf { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.qf li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: 14px; line-height: 1.45; }
.qf .icon { margin-top: 2px; color: var(--accent); }

.hero h1 {
  font-family: var(--serif); font-weight: 500; font-size: 54px; line-height: 1.04; letter-spacing: -.018em;
  margin: 2px 0 14px;
}
.role { font-size: 19px; font-weight: 600; color: var(--accent); margin: 0 0 8px; letter-spacing: -.005em; }
.aff { font-size: 16px; margin: 0 0 2px; }
.aff.muted { font-size: 15px; color: var(--muted); }
.aff.muted a { color: inherit; }
.aff.muted a:hover { color: var(--accent); }
.dot { color: var(--muted); padding: 0 7px; }

.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 18px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; max-width: 100%;
  padding: 8px 14px; border: 1px solid var(--line); background: var(--card); border-radius: 999px;
  font-size: 14px; font-weight: 500; color: var(--ink); overflow-wrap: anywhere;
}
.pill .icon { color: var(--accent); }
.pill:hover { border-color: #C6D1E1; background: #FBFCFE; text-decoration: none; }
.pill.cv { background: var(--accent); border-color: var(--accent); color: #fff; }
.pill.cv .icon { color: #fff; }
.pill.cv:hover { background: var(--accent-ink); }

.callout {
  display: flex; gap: 10px; align-items: flex-start; margin: 0 0 26px; padding: 12px 16px;
  background: var(--red-soft); border-left: 3px solid var(--red); border-radius: 0 10px 10px 0;
  font-size: 15px; line-height: 1.6; color: var(--red-ink);
}
.callout .icon { margin-top: 4px; color: var(--red); }

.bio p { margin: 0 0 14px; font-size: 16.5px; line-height: 1.75; }
.bio em { color: var(--ink); }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 7px; margin: 20px 0 0; padding: 0; }
.tags li { font-size: 13px; font-weight: 500; padding: 4px 11px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); }

.block { margin-top: 40px; }
.block-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.block-head h2 { font-family: var(--serif); font-weight: 600; font-size: 27px; letter-spacing: -.01em; margin: 0; }
.block-head a { font-size: 14px; font-weight: 500; white-space: nowrap; }

/* News rows (homepage card and News page) */
.news { padding: 4px 24px; }
.news ul { list-style: none; margin: 0; padding: 0; }
.news-item {
  display: grid; grid-template-columns: 76px 1fr; gap: 18px; padding: 14px 0;
  border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.6;
}
.news-item:last-child { border-bottom: 0; }
.news-item time { font-family: var(--mono); font-size: 12.5px; color: var(--muted); padding-top: 2px; white-space: nowrap; }
.kind {
  display: inline-block; margin-right: 8px; padding: 2px 8px; border-radius: 5px; vertical-align: 1px;
  font-size: 10.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  background: var(--accent-soft); color: var(--accent-ink);
}
.kind.warm { background: var(--warm-soft); color: var(--warm); }
.kind.green { background: var(--green-soft); color: var(--green); }

/* Research highlight cards */
.hl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.hl-card { display: flex; flex-direction: column; overflow: hidden; color: inherit; transition: border-color .15s, box-shadow .15s, transform .15s; }
.hl-card:hover { text-decoration: none; border-color: #C6D1E1; box-shadow: 0 8px 24px rgba(16, 24, 40, .08); transform: translateY(-2px); }
.thumb { aspect-ratio: 16 / 9; overflow: hidden; background: #FAFBFD; border-bottom: 1px solid var(--line); padding: 14px; }
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.hl-body { padding: 15px 18px 18px; }
.venue { font-family: var(--mono); font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.venue .st { color: var(--warm); }
.hl-card h3 { font-size: 16.5px; font-weight: 600; line-height: 1.4; margin: 7px 0 6px; }
.hl-card p { margin: 0; font-size: 14.5px; line-height: 1.6; }


@media (max-width: 960px) {
  .home { grid-template-columns: 1fr; grid-template-areas: "photo" "main" "facts"; grid-template-rows: auto; padding-top: 28px; padding-bottom: 56px; row-gap: 26px; }
  .photo.card { width: 180px; }
  .hero h1 { font-size: 40px; }
}
@media (max-width: 600px) {
  .hl { grid-template-columns: 1fr; }
  .news { padding: 4px 18px; }
  .news-item { grid-template-columns: 1fr; gap: 2px; }
  .role { font-size: 17px; }
}

/* ==========================================================================
   Inner pages (shared)
   ========================================================================== */
.container.narrow { max-width: 920px; }
.page-head { margin-bottom: 8px; }
.page-head h1 { font-family: var(--serif); font-weight: 500; font-size: 46px; line-height: 1.08; letter-spacing: -.015em; margin: 0 0 10px; }
.page-head p { margin: 0; color: var(--muted); font-size: 16px; }

/* ==========================================================================
   Publications
   ========================================================================== */
.pubs { margin-top: 38px; }
.pubs h2 { font-family: var(--serif); font-weight: 600; font-size: 26px; letter-spacing: -.01em; margin: 0 0 14px; }
.pub-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.pub { min-width: 0; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; scroll-margin-top: 88px; }
.pub:target { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.pub-title { font-size: 17px; font-weight: 600; line-height: 1.4; margin: 0 0 6px; }
.pub-title a { color: var(--ink); }
.pub-title a:hover { color: var(--accent); }
.authors { margin: 0 0 4px; font-size: 15px; line-height: 1.55; }
.authors strong { color: var(--ink); font-weight: 600; }
.pub-venue { margin: 0; font-size: 14.5px; color: var(--muted); }
.badge {
  display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 5px; vertical-align: 1px;
  font-size: 10.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
}
.badge.warm { background: var(--warm-soft); color: var(--warm); }
.pub-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; cursor: pointer;
  border: 1px solid var(--line); border-radius: 7px; background: var(--card);
  font: 500 13px/1.5 var(--sans); color: var(--accent);
}
.btn:hover { border-color: #C6D1E1; background: var(--accent-soft); text-decoration: none; }
.btn .icon { width: 14px; height: 14px; }
.bib { margin-top: 10px; }
.bibtex {
  margin: 0; padding: 12px 14px; overflow-x: auto; white-space: pre;
  background: #F6F8FB; border: 1px solid var(--line); border-radius: 8px;
  font: 12.5px/1.6 var(--mono); color: var(--ink);
}
.bib-copy { margin-top: 8px; }

@media (max-width: 600px) {
  .page-head h1 { font-size: 36px; }
  .pub { padding: 16px; }
}

/* ==========================================================================
   Research
   ========================================================================== */
.group { margin-top: 40px; }
.group > h2 { font-family: var(--serif); font-weight: 600; font-size: 26px; letter-spacing: -.01em; margin: 0 0 6px; }
.group-intro { margin: 0 0 16px; color: var(--muted); font-size: 15px; }
.projects { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.project {
  display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 22px; align-items: start;
  padding: 18px; background: var(--card); border: 1px solid var(--line); border-radius: 12px;
}
.project.no-image { grid-template-columns: minmax(0, 1fr); }
.project .thumb { aspect-ratio: 16 / 10; border: 1px solid var(--line); border-radius: 8px; padding: 10px; }
.project h3 { font-size: 17px; font-weight: 600; line-height: 1.4; margin: 0 0 4px; }
.project .meta { font-family: var(--mono); font-size: 12px; color: var(--muted); margin: 0 0 8px; }
.project-body > p:not(.meta) { margin: 0; font-size: 15px; line-height: 1.65; }
.project .tags { margin-top: 12px; }
.project .tags li { font-size: 12px; padding: 3px 10px; }

@media (max-width: 720px) {
  .project { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}

/* ==========================================================================
   Experience
   ========================================================================== */
.exp-section { margin-top: 40px; }
.exp-section > h2 { font-family: var(--serif); font-weight: 600; font-size: 26px; letter-spacing: -.01em; margin: 0 0 16px; }

.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 21px; top: 10px; bottom: 10px; width: 2px; background: var(--line); }
.timeline > li { position: relative; padding: 0 0 18px 64px; }
.timeline > li:last-child { padding-bottom: 0; }
.tl-icon {
  position: absolute; left: 0; top: 4px; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: var(--card); border: 2px solid var(--accent); color: var(--accent);
}
.tl-icon .icon { width: 20px; height: 20px; }
.timeline > li[data-category="teaching"] .tl-icon { border-color: var(--green); color: var(--green); }
.timeline > li[data-category="industry"] .tl-icon { border-color: var(--warm); color: var(--warm); }
.tl-card { min-width: 0; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; }
.tl-cat { margin: 0 0 4px; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.timeline > li[data-category="teaching"] .tl-cat { color: var(--green); }
.timeline > li[data-category="industry"] .tl-cat { color: var(--warm); }
.tl-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 6px 12px; }
.tl-role { margin: 0; font-size: 18px; font-weight: 600; line-height: 1.35; }
.tl-date { font-family: var(--mono); font-size: 12px; padding: 3px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); white-space: nowrap; }
.tl-org { margin: 4px 0 0; font-weight: 500; color: var(--text); }
.tl-meta { margin: 2px 0 0; font-size: 13.5px; color: var(--muted); }
.bullets { margin: 10px 0 0; padding-left: 18px; }
.bullets li { margin: 4px 0; font-size: 15px; line-height: 1.6; }
.tl-card .tags { margin-top: 12px; }
.tl-card .tags li { font-size: 12px; padding: 3px 10px; }

.rows { list-style: none; margin: 0; padding: 0; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.rows li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; padding: 12px 20px; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.55; }
.rows li:last-child { border-bottom: 0; }
.rows .yr { font-family: var(--mono); font-size: 12.5px; color: var(--muted); padding-top: 2px; }
.rows b { color: var(--ink); font-weight: 600; }

.skill-list { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.skill-list > div { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 16px; padding: 12px 20px; border-bottom: 1px solid var(--line); }
.skill-list > div:last-child { border-bottom: 0; }
.skill-list dt { font-weight: 600; color: var(--ink); font-size: 15px; }
.skill-list dd { margin: 0; font-size: 15px; line-height: 1.55; }

@media (max-width: 600px) {
  .timeline::before { left: 17px; }
  .timeline > li { padding-left: 50px; }
  .tl-icon { width: 36px; height: 36px; }
  .tl-icon .icon { width: 17px; height: 17px; }
  .tl-card { padding: 14px 16px; }
  .rows li, .skill-list > div { grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 12px 16px; }
}

/* ==========================================================================
   News archive and 404
   ========================================================================== */
.news-year { margin-top: 34px; }
.news-year h2 { font-family: var(--serif); font-weight: 600; font-size: 26px; letter-spacing: -.01em; margin: 0 0 12px; }
.notfound { min-height: 50vh; }
.notfound h1 { font-family: var(--serif); font-weight: 500; font-size: 46px; margin: 0 0 10px; }
.notfound p { color: var(--muted); }
.notfound-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }

/* ==========================================================================
   Homepage: "Outside the lab / Personal" (numbered tiles, site colors)
   ========================================================================== */
.personal-in { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter) 80px; }
.personal-in::before { content: ""; display: block; border-top: 1px solid var(--line); margin-bottom: 40px; }
.personal h2 { font-family: var(--serif); font-weight: 600; font-size: 27px; letter-spacing: -.01em; margin: 0 0 8px; }
.personal h2 .h-sub { color: var(--muted); font-weight: 500; }
.personal-intro { margin: 0 0 22px; max-width: 760px; font-size: 16px; line-height: 1.7; }
.facets {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .04); overflow: hidden;
}
.facets > li { position: relative; display: flex; flex-direction: column; min-height: 220px; padding: 20px 20px 22px; border-left: 1px solid var(--line); }
.facets > li:first-child { border-left: 0; }
.facets .num { font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; color: var(--muted); }
.facets h3 { margin: 8px 0 0; padding-right: 60px; font-size: 19px; font-weight: 600; line-height: 1.3; }
.facets .art { position: absolute; top: 16px; right: 16px; color: var(--accent); opacity: .45; }
.facets .art .icon { width: 48px; height: 48px; stroke-width: 1; }
.facets p { margin: auto 0 0; padding-top: 26px; font-size: 14.5px; line-height: 1.6; }

@media (max-width: 960px) {
  .facets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facets > li:nth-child(3) { border-left: 0; }
  .facets > li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 600px) {
  .personal-in { padding-bottom: 56px; }
  .facets { grid-template-columns: minmax(0, 1fr); }
  .facets > li { min-height: 0; border-left: 0; }
  .facets > li + li { border-top: 1px solid var(--line); }
}
