:root {
  --body-font: "PingFang TC","Noto Sans TC","Source Han Sans TC","Microsoft JhengHei",system-ui,sans-serif;
  --title-font: "Noto Serif TC","Songti TC","PMingLiU",var(--body-font);
  --paper: #ffffff;
  --ink: #1a1a1a;
  --heading: #111111;
  --accent: #c8102e;
  --on-accent: #ffffff;
  --row-text: #fff;
  --row-shadow: none;
  --tag: #c8102e;
  --muted: #6b6b6b;
  --rule: #e2e2e2;
  --rule-heavy: #111111;
  --notice: #f4f4f4;
  --wash: #f4f4f4;
  --frame: #eeeeee;
  --margin: clamp(16px, 4.1667vw, 80px);
  --measure: 1520px;
  --gap: clamp(14px, 1.39vw, 22px);
  --mast-height: 134px;
  --nav-height: 58px;
  --ease-out: cubic-bezier(.22,.75,.22,1);
}
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.75 var(--body-font);
  overflow-wrap: break-word;
}
body:has(dialog[open]) { overflow: hidden; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--heading); outline-offset: 3px; }
h1, h2, h3, .brand-name, .cover-name, .cover-theme, .menu-name {
  margin: 0;
  color: var(--heading);
  font-family: var(--title-font);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  text-wrap: pretty;
}
.lead-title, .weekend h2 { text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
.wrap { width: min(var(--measure), calc(100% - 2 * var(--margin))); margin-inline: auto; }
.skip {
  position: absolute;
  z-index: 10;
  inset: 8px auto auto 12px;
  padding: 10px 16px;
  transform: translateY(-150%);
  background: var(--paper);
}
.skip:focus { transform: none; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.icon-button {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  flex: none;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--heading);
}
.icon-button:hover { background: var(--wash); }
.icon-button svg { width: 22px; height: 22px; }
.primary {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 8px 19px;
  border: 1px solid transparent;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 700;
  white-space: nowrap;
}
.primary:hover { background: var(--heading); color: var(--paper); }
.notice { background: var(--notice); }
.notice-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 44px;
  align-items: center;
  column-gap: 13px;
  min-height: 48px;
  font-size: .875rem;
  line-height: 1.4;
}
.notice-label {
  padding: 3px 9px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 700;
  white-space: nowrap;
}
.notice-window { display: grid; overflow: hidden; }
.notice-item {
  display: flex;
  grid-area: 1 / 1;
  min-width: 0;
  min-height: 2.8em;
  align-items: center;
}
.notice-item.enter { animation: notice-in .42s var(--ease-out) both; }
.notice-item.leave { animation: notice-out .42s var(--ease-out) both; }
@keyframes notice-in { from { transform: translateY(100%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes notice-out { to { transform: translateY(-100%); opacity: 0; } }
.site-header {
  position: sticky;
  z-index: 5;
  top: 0;
  height: calc(var(--mast-height) + var(--nav-height));
  pointer-events: none;
}
.header-panel {
  position: relative;
  background: var(--paper);
  pointer-events: auto;
  transition: transform .35s var(--ease-out), visibility .35s;
}
.site-header.is-hidden .header-panel {
  transform: translateY(-100%);
  visibility: hidden;
  pointer-events: none;
}
.mast {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  height: var(--mast-height);
  align-items: center;
  border-top: 4px double var(--rule-heavy);
}
.mast-start, .mast-end { display: flex; align-items: center; gap: clamp(12px, 1.65vw, 26px); }
.mast-end { justify-content: flex-end; }
.search-button { margin-left: -10px; }
.menu-button { display: none; }
.issue-note {
  display: grid;
  gap: 1px;
  padding-left: clamp(12px, 1.65vw, 26px);
  border-left: 1px solid var(--rule);
  font-size: .875rem;
  line-height: 1.4;
  white-space: nowrap;
}
.issue-note strong { font-size: 1rem; color: var(--heading); }
.issue-date {
  display: grid;
  justify-items: end;
  white-space: nowrap;
  font-size: .875rem;
  line-height: 1.3;
}
.issue-date time {
  color: var(--heading);
  font-size: clamp(1.75rem, 2.9vw, 2.625rem);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  line-height: 1;
}
.brand {
  display: grid;
  min-height: 44px;
  align-content: center;
  justify-items: center;
  gap: 1px;
  line-height: 1.15;
}
.brand-name {
  display: block;
  font-size: 4.875rem;
  line-height: 1.02;
  animation: masthead-in 1.1s var(--ease-out) both;
}
@keyframes masthead-in {
  from { letter-spacing: -.55em; filter: blur(6px); opacity: 0; }
  to { letter-spacing: 0; filter: blur(0); opacity: 1; }
}
.brand-en { color: var(--heading); font-size: 1.1875rem; font-weight: 700; }
.mobile-edition { display: none; }
.category-nav {
  display: flex;
  height: var(--nav-height);
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 1.4vw, 24px);
  border-block: 1px solid var(--rule-heavy);
}
.category-nav a {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding-inline: 7px;
  white-space: nowrap;
  font-weight: 700;
}
.category-nav a::after {
  position: absolute;
  inset: auto 7px 4px;
  height: 2px;
  background: var(--accent);
  content: "";
  transform: scaleX(0);
  transition: transform .25s var(--ease-out);
}
.category-nav a:hover::after, .category-nav a[aria-current]::after { transform: none; }
.is-compact .mast { height: 64px; border-top: 0; }
.is-compact .brand-name { font-size: 1.875rem; }
.is-compact .issue-note, .is-compact .issue-date,
.is-compact .brand-en, .is-compact .mobile-edition { display: none; }
@media (min-width: 681px) {
  .is-compact .mast {
    grid-template-columns: auto 1fr;
    border-bottom: 1px solid var(--rule);
  }
  .is-compact .mast-start { display: none; }
  .is-compact .category-nav {
    position: absolute;
    inset: 0 max(calc((100% - var(--measure)) / 2 + 147px), calc(var(--margin) + 147px)) auto;
    width: auto;
    height: 64px;
    gap: clamp(4px, 1vw, 16px);
    border: 0;
    font-size: .9375rem;
  }
}
main { padding-block: clamp(27px, 2.64vw, 40px) clamp(50px, 6vw, 90px); }
[id] { scroll-margin-top: 125px; }
#top { scroll-margin-top: 0; }
.editorial {
  display: grid;
  grid-template-columns: minmax(0, 2.135fr) repeat(2, minmax(0, 1fr));
  gap: calc(2 * var(--gap) + 1px);
}
.middle, .picks { position: relative; min-width: 0; }
.picks { display: flex; flex-direction: column; }
.middle::before, .picks::before {
  position: absolute;
  inset: 0 auto 0 calc(-1 * var(--gap) - 1px);
  width: 1px;
  background: var(--rule);
  content: "";
}
.photo {
  position: relative;
  display: block;
  overflow: hidden;
  isolation: isolate;
  background: var(--frame);
  aspect-ratio: var(--ratio, 3 / 2);
}
.photo img {
  position: absolute;
  inset: 0;
  z-index: 2;
  transition: transform .6s var(--ease-out), opacity .6s var(--ease-out);
}
.photo img:not(.ready) { opacity: 0; }
.photo:hover img, a:focus-visible .photo img { transform: scale(1.05); }
.photo-tone { display: none; }
.lead-title {
  font-size: clamp(2.125rem, 3.05vw, 2.875rem);
  line-height: 1.23;
}
.story-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-block: 15px 6px;
  color: var(--tag);
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.4;
}
.story-tag::before { width: 12px; height: 2px; background: var(--accent); content: ""; }
.summary { max-inline-size: 40em; margin-top: 12px; }
.date {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: .875rem;
  font-variant-numeric: tabular-nums;
  line-height: 1.4;
}
.lead .date { margin-top: 16px; }
.title-word { white-space: nowrap; }
.title-underline {
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-size: 0 2px;
  background-repeat: no-repeat;
  background-position: right bottom;
  padding-bottom: .06em;
  transition: background-size .36s var(--ease-out);
}
.title-underline:is(:hover, :focus-visible), .pick a:is(:hover, :focus-visible) .title-underline {
  background-size: 100% 2px;
  background-position: left bottom;
}
.middle-story + .middle-story {
  margin-top: 17px;
  padding-top: 17px;
  border-top: 1px solid var(--rule);
}
.middle-story .photo { --ratio: 16 / 9; }
.middle-story .story-tag { margin-block-start: 10px; }
.middle-story:not(:has(.photo)) .story-tag { margin-block-start: 0; }
.middle-story h2 { font-size: clamp(1.1875rem, 1.46vw, 1.4375rem); }
.picks > h2 {
  border-bottom: 1px solid var(--rule-heavy);
  padding-bottom: 10px;
  font-size: 1.1875rem;
}
.picks ol { flex: none; margin: 0; padding: 0; list-style: none; }
.issue-cover {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  margin-top: clamp(14px, 1.3vw, 24px);
}
.cover-stage {
  display: grid;
  flex: 1;
  width: 100%;
  min-height: 145px;
  place-items: center;
  container-type: size;
}
.cover {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  height: min(100cqh, 300px);
  max-width: 100%;
  aspect-ratio: 3 / 5;
  margin: 0;
  padding: 4px;
  border: 1px solid var(--rule-heavy);
  background: var(--paper);
  box-shadow: 3px 3px 0 var(--rule);
}
.cover-mast {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 3px;
  padding: 0 1px 4px;
}
.cover-name { font-size: clamp(1.125rem, 12cqh, 2rem); line-height: 1.12; white-space: nowrap; }
.cover-number {
  color: var(--heading);
  font-size: clamp(.625rem, 5.1cqh, .8125rem);
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
}
.cover .photo { aspect-ratio: auto; }
.cover img, .cover .photo-tone::before { object-position: 51% center; background-position: 51% center; }
.cover-theme {
  border-top: 1px solid var(--rule);
  padding-top: 3px;
  font-size: clamp(.875rem, 8cqh, 1.375rem);
  text-align: center;
}
.cover-link {
  display: inline-flex;
  flex: none;
  align-items: center;
  min-height: 44px;
  margin-top: 4px;
  color: var(--heading);
  font-size: .9375rem;
  font-weight: 700;
}
.pick { border-bottom: 1px solid var(--rule); }
.pick a {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(52px, 72px);
  gap: 22px;
  min-height: 101px;
  align-items: center;
  isolation: isolate;
  padding: 13px 0;
}
.pick .photo { --ratio: 1; }
.pick h3 { font-size: 1.0625rem; }
.row-ink {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .5s var(--ease-out);
}
.pick-copy, .pick .photo, .slot-cell { transition: transform .5s var(--ease-out), color .24s; }
.pick a:is(:hover, :focus-visible) .row-ink, .slot:is(:hover, :focus-within) .row-ink {
  transform: scaleX(1);
  transform-origin: left;
}
.pick a:is(:hover, :focus-visible) .pick-copy { transform: translateX(6px); }
.pick a:is(:hover, :focus-visible) .photo { transform: translateX(-14px); }
.pick a:is(:hover, :focus-visible) :is(h3, .date) { color: var(--row-text); text-shadow: var(--row-shadow); }
.pick a:is(:hover, :focus-visible) .title-underline { background-image: linear-gradient(var(--row-text), var(--row-text)); }
.row-arrow {
  position: absolute;
  z-index: 3;
  inset: 50% 4px auto auto;
  color: var(--row-text);
  font-family: system-ui,sans-serif;
  font-size: 1.25rem;
  line-height: 1;
  text-shadow: var(--row-shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-10px,-50%);
  transition: opacity .25s, transform .5s var(--ease-out);
}
.pick a:is(:hover, :focus-visible) .row-arrow, .slot:is(:hover, :focus-within) .row-arrow {
  opacity: 1;
  transform: translate(0,-50%);
}
.weekend {
  margin-top: clamp(42px, 4.2vw, 68px);
  border-top: 4px double var(--rule-heavy);
}
.weekend-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  column-gap: 24px;
  row-gap: 5px;
  padding-block: 19px 23px;
}
.weekend h2 { font-size: clamp(1.875rem, 3.15vw, 2.875rem); line-height: 1.23; }
.weather { color: var(--muted); font-size: .9375rem; }
.days { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: calc(2 * var(--gap) + 1px); }
.day { position: relative; min-width: 0; }
.day + .day::before {
  position: absolute;
  inset: 0 auto 0 calc(-1 * var(--gap) - 1px);
  width: 1px;
  background: var(--rule);
  content: "";
}
.day h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 11px;
  border-block: 1px solid var(--rule-heavy);
  padding: 9px 0;
  font-size: 1.5rem;
}
.day h3 time {
  color: var(--tag);
  font-family: var(--body-font);
  font-size: 1.25rem;
  font-variant-numeric: tabular-nums;
}
.day table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: .9375rem; line-height: 1.5; }
.day th, .day td { padding: 11px 9px 11px 0; text-align: left; vertical-align: middle; }
.day th { color: var(--muted); font-weight: 700; font-size: .875rem; border-bottom: 1px solid var(--rule-heavy); }
.day th:first-child { width: 62px; }
.day th:nth-child(2) { width: 38%; }
.day th:nth-child(3) { width: 23%; }
.slot {
  border-bottom: 1px solid var(--rule);
  position: relative;
  isolation: isolate;
}
.slot-cell { display: block; position: relative; }
.slot td:last-child, .day th:last-child { padding-right: 24px; }
.slot time { font-weight: 700; font-variant-numeric: tabular-nums; color: var(--heading); white-space: nowrap; }
.slot .activity { font-weight: 700; }
.slot .venue, .slot .fee { color: var(--muted); }
.slot:is(:hover, :focus-within) .slot-cell { transform: translateX(5px); }
.slot:is(:hover, :focus-within) :is(time, .slot-cell) { color: var(--row-text); text-shadow: var(--row-shadow); }
.pending-reveal .slot { opacity: 0; }
.weekend.is-revealed .slot { animation: slot-in .3s var(--ease-out) calc(var(--index) * 50ms) both; }
@keyframes slot-in { from { opacity: 0; translate: 0 4px; } to { opacity: 1; translate: none; } }
dialog {
  max-width: calc(100% - 32px);
  width: 540px;
  max-height: min(86dvh, 760px);
  padding: 22px clamp(18px, 4vw, 34px) 30px;
  border: 1px solid var(--rule-heavy);
  background: var(--paper);
  color: var(--ink);
}
dialog::backdrop { background: #1b1d2470; }
.dialog-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  border-block-start: 4px double var(--rule-heavy);
  padding-block: 8px 12px;
}
.dialog-top h2 { align-self: center; font-size: 1.5rem; }
.dialog-top .icon-button { margin-inline-end: -8px; }
.dialog-copy { display: grid; gap: 12px; }
.field { display: grid; gap: 5px; margin-block: 12px; font-weight: 700; }
.field input { width: 100%; min-height: 48px; padding: 6px 12px; border: 1px solid var(--rule-heavy); background: transparent; }
.search-results { list-style: none; padding: 0; margin: 8px 0 0; }
.search-results a { display: block; min-height: 44px; padding: 7px 0; border-bottom: 1px solid var(--rule); }
.search-results a:hover { color: var(--tag); }
#subscribe-form [role="status"]:not(:empty) { margin-top: 12px; }
.menu-dialog {
  inset: 0;
  width: 100%;
  height: 100%;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 9px var(--margin) 28px;
  border: 0;
  overscroll-behavior: contain;
}
.menu-dialog[open] { animation: paper-in .42s var(--ease-out) both; }
.menu-dialog[open].is-closing { animation: paper-out .29s ease-in both; }
@keyframes paper-in { from { clip-path: inset(0 0 100%); } to { clip-path: inset(0); } }
@keyframes paper-out { to { clip-path: inset(0 0 100%); } }
.menu-dialog .dialog-top { padding-block: 7px 8px; }
.menu-dialog .brand-name { animation: none; font-size: 2.125rem; }
.menu-links { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule-heavy); }
.menu-links li {
  border-bottom: 1px solid var(--rule);
  animation: menu-link-in .36s var(--ease-out) calc(90ms + var(--index) * 42ms) both;
}
@keyframes menu-link-in { from { opacity: 0; translate: 0 -6px; } to { opacity: 1; translate: none; } }
.menu-links a {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  column-gap: 13px;
  align-content: center;
  min-height: 51px;
  padding-block: 5px;
}
.menu-name { font-size: 1.5rem; }
.menu-description { color: var(--muted); font-size: .875rem; }
.menu-bottom { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; padding-top: 18px; }
.menu-bottom p { color: var(--muted); font-size: .875rem; }
@media (min-width: 1024px) and (max-width: 1439px) {
  .pick a {
    min-height: clamp(88px, calc(8.125vw - 16px), 101px);
    padding-block: clamp(8px, calc(3.125vw - 32px), 13px);
  }
}
@media (max-width: 1023px) {
  .editorial { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); row-gap: 25px; }
  .picks { grid-column: 1 / -1; }
  .picks::before { display: none; }
  .picks ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
  .cover-stage { flex: none; height: clamp(236px, 46vw, 260px); }
}
@media (min-width: 681px) and (max-width: 1023px) {
  .is-compact .category-nav {
    inset-inline: calc(var(--margin) + 76px) calc(var(--margin) + 135px);
    justify-content: safe center;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .is-compact .category-nav a { flex: none; }
}
@media (max-width: 1190px) {
  .day table, .day tbody { display: block; }
  .day thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .slot { display: grid; grid-template-columns: 54px minmax(0, 1fr) minmax(70px, auto); align-items: baseline; min-height: 64px; padding: 9px 23px 9px 0; gap: 1px 8px; }
  .day .slot td { padding: 0; }
  .slot td:first-child { grid-column: 1; grid-row: 1 / span 2; align-self: start; }
  .slot .activity { grid-column: 2 / -1; grid-row: 1; }
  .slot .venue { grid-column: 2; grid-row: 2; }
  .slot .fee { grid-column: 3; grid-row: 2; text-align: right; }
}
@media (max-width: 680px) {
  :root { --mast-height: 98px; --nav-height: 49px; }
  .is-compact .category-nav { height: 48px; }
  .is-compact .mast { height: 52px; }
  .notice-inner { column-gap: 7px; grid-template-columns: auto minmax(0, 1fr) 44px; min-height: 52px; }
  .notice-label { padding-inline: 6px; }
  .notice-item p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .notice .icon-button { justify-self: end; margin-right: -8px; }
  .mast { grid-template-columns: 44px minmax(0, 1fr) 44px; }
  .mast-start, .mast-end { gap: 0; }
  .search-button { margin-left: -6px; }
  .menu-button { display: inline-grid; margin-right: -6px; }
  .mast .issue-note, .mast .issue-date, .mast .primary, .mast .brand-en { display: none; }
  .brand-name { font-size: 3.5rem; }
  .mobile-edition { display: block; color: var(--muted); font-size: .875rem; white-space: nowrap; }
  .category-nav { justify-content: start; gap: 10px; overflow-x: auto; scrollbar-width: none; }
  .category-nav::-webkit-scrollbar { display: none; }
  .category-nav a { flex: none; padding-inline: 5px; font-size: .9375rem; }
  .category-nav a::after { inset-inline: 5px; }
  main { padding-top: 22px; }
  .editorial { display: block; }
  .middle { margin-block: 24px 30px; padding-top: 22px; border-top: 1px solid var(--rule); }
  .middle::before { display: none; }
  .lead-title { font-size: 1.8125rem; text-wrap: wrap; }
  .lead-title .title-word { white-space: normal; }
  .middle-story h2 { font-size: 1.3125rem; }
  .picks ol { display: block; }
  .pick a { min-height: 97px; }
  .weekend-heading { padding-block: 16px 18px; }
  .days { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .day + .day::before { display: none; }
}
@media (max-width: 360px) {
  .notice-inner { column-gap: 5px; grid-template-columns: auto minmax(0, 1fr) 37px; }
  .slot { column-gap: 5px; grid-template-columns: 49px minmax(0, 1fr) minmax(60px, auto); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0ms !important; transition-duration: .001ms !important; }
  .notice-item.enter, .notice-item.leave, .weekend.is-revealed .slot { animation: none !important; }
  .pending-reveal .slot { opacity: 1; }
  .photo:hover img, .photo:hover .photo-tone::before, a:focus-visible .photo img { transform: none; }
  .pick a:is(:hover, :focus-visible) .pick-copy, .slot:is(:hover, :focus-within) .slot-cell { transform: none; }
  .pick a:is(:hover, :focus-visible) .photo { transform: none; }
}


/* Walking feature and article index */
main { padding-block-end: 0; }
.editorial-section {
  margin-block-start: clamp(42px, 4.2vw, 68px);
  border-block-start: 4px double var(--rule-heavy);
}
.editorial-section-head { padding-block: 19px 23px; }
.editorial-section-head h2 {
  font-size: clamp(1.875rem, 3.15vw, 2.875rem);
  line-height: 1.23;
  text-wrap: balance;
}
.split-title { display: grid; overflow: clip; }
.split-title > span { grid-area: 1 / 1; }
.split-title.has-split-title .split-title-text { opacity: 0; }
.split-title-layer {
  visibility: hidden;
  transform: translateX(var(--split-shift));
}
.split-title-upper {
  --split-shift: -22%;
  clip-path: polygon(0 0, 100% 0, 100% .5lh, 0 .5lh, 0 1lh, 100% 1lh, 100% 1.5lh, 0 1.5lh, 0 2lh, 100% 2lh, 100% 2.5lh, 0 2.5lh, 0 3lh, 100% 3lh, 100% 3.5lh, 0 3.5lh, 0 4lh, 100% 4lh, 100% 4.5lh, 0 4.5lh);
}
.split-title-lower {
  --split-shift: 22%;
  clip-path: polygon(0 .5lh, 100% .5lh, 100% 1lh, 0 1lh, 0 1.5lh, 100% 1.5lh, 100% 2lh, 0 2lh, 0 2.5lh, 100% 2.5lh, 100% 3lh, 0 3lh, 0 3.5lh, 100% 3.5lh, 100% 4lh, 0 4lh, 0 4.5lh, 100% 4.5lh, 100% 5lh, 0 5lh);
}
.split-title.is-revealed .split-title-layer {
  visibility: visible;
  animation: split-title-in .7s var(--ease-out) both;
}
@keyframes split-title-in {
  from { opacity: 0; }
  to { opacity: 1; transform: none; }
}
.walk-intro { max-inline-size: 46em; margin-block-start: 9px; color: var(--muted); }
.walk-photo { --ratio: 3 / 1; }
.walk-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr);
  gap: calc(2 * var(--gap) + 1px);
  margin-block-start: clamp(16px, 2.25vw, 32px);
}
.walk-map {
  display: grid;
  min-inline-size: 0;
  min-block-size: 325px;
  place-items: center;
  background: #faf9f5;
  border: 1px solid var(--rule);
}
.walk-map-svg { display: block; inline-size: 100%; block-size: 100%; max-block-size: 410px; }
.map-river { fill: #e3ebed; }
.map-ripples, .map-bank, .map-lanes, .map-streets, .map-track, .map-trail {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.map-ripples { stroke: #a1bac1; stroke-width: 1.2; }
.map-bank { stroke: #8caaa9; stroke-width: 2; stroke-dasharray: 4 5; }
.map-lanes { stroke: #ded7cb; stroke-width: 1.25; }
.map-streets { stroke: #d4cab9; stroke-width: 3; }
.map-track { stroke: #e3afb6; stroke-width: 5; }
.map-trail { stroke: var(--accent); stroke-width: 5; }
.map-trail use { stroke-dasharray: 1; }
.map-walker { fill: var(--accent); stroke: var(--paper); stroke-width: 1.75; visibility: hidden; }
.map-stop circle { fill: var(--accent); stroke: var(--paper); stroke-width: 2; }
.map-stop text {
  fill: var(--paper);
  font: 700 16px var(--body-font);
  text-anchor: middle;
  dominant-baseline: central;
}
.walk-layout.is-tracking .map-stop:not(.is-current) circle { fill: var(--paper); stroke: #b39496; }
.walk-layout.is-tracking .map-stop:not(.is-current) text { fill: var(--ink); }
.walk-layout.is-tracking .map-walker { visibility: visible; }
.map-walker { paint-order: stroke; }
.walk-stops {
  display: grid;
  grid-template-rows: repeat(5, minmax(min-content, 1fr));
  min-inline-size: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-block-start: 1px solid var(--rule-heavy);
}
.walk-stop {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: clamp(8px, 1.1vw, 16px);
  padding: 10px clamp(8px, 1.1vw, 16px);
  border-block-end: 1px solid var(--rule);
  border-inline-start: 2px solid var(--accent);
  background: #fff5f6;
}
.walk-layout.is-tracking .walk-stop:not(.is-current) {
  border-inline-start-color: transparent;
  background: transparent;
}
.stop-number {
  display: grid;
  inline-size: 2rem;
  block-size: 2rem;
  place-items: center;
  color: var(--paper);
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 50%;
  font-weight: 700;
  line-height: 1;
}
.walk-layout.is-tracking .walk-stop:not(.is-current) .stop-number {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--rule);
}
.stop-copy h3 { font-size: clamp(1.0625rem, 1.45vw, 1.375rem); }
.stop-copy p, .stop-time { font-size: .875rem; line-height: 1.55; }
.stop-copy p { margin-block-start: 3px; }
.stop-time { color: var(--muted); white-space: nowrap; }
.latest-heading {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 20px;
}
.latest-filter { display: flex; align-items: center; gap: 10px; font-size: .9375rem; }
.active-category { font-weight: 700; }
.clear-filter {
  min-block-size: 44px;
  padding-inline: 10px;
  border: 1px solid var(--rule);
  background: var(--paper);
  color: var(--accent);
  font-weight: 700;
}
.clear-filter:hover { border-color: var(--accent); }
.latest-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: calc(2 * var(--gap) + 1px);
  container-type: inline-size;
  border-block: 1px solid var(--rule-heavy);
}
.latest-story {
  position: relative;
  display: grid;
  grid-row: span 3;
  grid-template-rows: subgrid;
  min-inline-size: 0;
  padding-block: clamp(14px, 1.65vw, 24px);
}
.latest-story::before {
  position: absolute;
  inset-block: 0;
  inset-inline-start: calc(-1 * var(--gap) - 1px);
  inline-size: 1px;
  background: var(--rule);
  content: "";
  transform-origin: top;
}
.latest-story::after {
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  inline-size: 100cqi;
  block-size: 1px;
  background: var(--rule);
}
.latest-content {
  display: grid;
  grid-row: span 3;
  grid-template-rows: subgrid;
  align-items: start;
}
.latest-teaser { display: block; inline-size: 100%; }
.latest-content .photo { --ratio: 4 / 3; }
.latest-story h3 { font-size: clamp(1.125rem, 1.56vw, 1.5rem); }
.latest-story .summary {
  display: -webkit-box;
  overflow: hidden;
  margin-block: 7px 8px;
  color: var(--muted);
  font-size: .9375rem;
  line-height: 1.6;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.latest-story .date { align-self: end; margin-block-start: 0; padding-block-start: 3px; }
.latest-story:focus-within img, .latest-story:hover img { transform: scale(1.05); }
.latest-story:focus-within .title-underline, .latest-story:hover .title-underline {
  background-size: 100% 2px;
  background-position: left bottom;
}
.latest-grid.is-pending .latest-story::before { transform: scaleY(0); }
.latest-grid.is-pending .latest-content { opacity: 0; }
.latest-grid.is-revealing .latest-story::before { animation: latest-rules-in .28s var(--ease-out); }
.latest-grid.is-revealing .latest-content { animation: latest-content-in .28s var(--ease-out) .18s backwards; }
@keyframes latest-rules-in { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes latest-content-in { from { opacity: 0; } }
.newsletter {
  margin-block-start: clamp(50px, 6vw, 90px);
  background: #f4f4f4;
  text-align: center;
}
.newsletter-inner { padding-block: clamp(32px, 4vw, 60px); }
.newsletter h2, .footer-brand h2 { font-size: clamp(2rem, 3.15vw, 2.875rem); line-height: 1.23; }
.newsletter-inner > p { margin-block-start: 6px; }
#newsletter-form { max-inline-size: 32rem; margin: 18px auto 0; }
.newsletter-controls { display: flex; gap: 8px; }
.newsletter-controls input {
  inline-size: 100%;
  min-inline-size: 0;
  min-block-size: 48px;
  padding: 6px 12px;
  border: 1px solid var(--rule-heavy);
  border-radius: 0;
  background: var(--paper);
}
.newsletter-button { position: relative; isolation: isolate; }
.newsletter-button:hover { background: var(--accent); }
.newsletter-button::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: var(--heading);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s var(--ease-out);
}
.newsletter-button:is(:hover, :focus-visible)::before { transform: scaleX(1); }
.newsletter-status { min-block-size: 48px; padding-block: 9px; color: var(--accent); font-weight: 700; }
.site-footer .wrap { padding-block-start: clamp(30px, 4.4vw, 64px); }
.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) repeat(3, minmax(0, 1fr));
  gap: calc(2 * var(--gap) + 1px);
  padding-block-end: clamp(18px, 3.2vw, 44px);
}
.footer-brand p { margin-block-start: 8px; color: var(--muted); }
.footer-nav h3 { margin-block-end: 5px; font-size: 1.1875rem; }
.footer-nav ul { margin: 0; padding: 0; list-style: none; }
.footer-nav a { display: inline-flex; min-block-size: 44px; align-items: center; font-size: .9375rem; }
.footer-nav a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: .18em; }
.footer-nav .social-links { display: flex; flex-wrap: wrap; gap: 5px; }
.social-links a {
  inline-size: 44px;
  justify-content: center;
  border: 1px solid var(--rule);
}
.social-links svg { inline-size: 22px; block-size: 22px; }
.copyright {
  padding-block: 18px;
  padding-inline-end: 64px;
  border-block-start: 4px double var(--rule-heavy);
  color: var(--muted);
  font-size: .875rem;
}
@media (min-width: 1024px) {
  .latest-story:nth-child(4n+1 of :not([hidden]))::before { content: none; }
  .latest-story:nth-child(4n+5 of :not([hidden]))::after { content: ""; }
}
@media (min-width: 681px) and (max-width: 1023px) {
  .latest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .latest-story:nth-child(odd of :not([hidden]))::before { content: none; }
  .latest-story:nth-child(2n+3 of :not([hidden]))::after { content: ""; }
  .walk-stop { grid-template-columns: auto minmax(0, 1fr); }
  .stop-time { grid-column: 2; }
}
@media (max-width: 680px) {
  .editorial-section-head { padding-block: 16px 18px; }
  html[lang^="zh"] #walk-title { font-size: clamp(1.25rem, 7.35vw, 1.875rem); }
  html[lang^="zh"] #walk-title .walk-title-line { display: block; white-space: nowrap; }
  .walk-photo { --ratio: 16 / 9; }
  .walk-layout { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .walk-map {
    position: sticky;
    z-index: 2;
    top: 12px;
    min-block-size: 0;
    block-size: min(38svh, calc((100vw - 2 * var(--margin)) * 2 / 3));
  }
  body:has(.site-header.is-compact:not(.is-hidden)) .walk-map { top: min(108px, 22svh); }
  .walk-stop { min-block-size: 89px; }
  .latest-grid { grid-template-columns: minmax(0, 1fr); }
  .latest-story::before { content: none; }
  .latest-story:nth-child(n+2 of :not([hidden]))::after { content: ""; }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px var(--gap); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 390px) {
  .walk-stop { grid-template-columns: auto minmax(0, 1fr); }
  .stop-time { grid-column: 2; }
}
@media (prefers-reduced-motion: reduce) {
  .split-title.has-split-title .split-title-text { opacity: 1; }
  .split-title-layer { display: none; }
  .latest-grid.is-pending .latest-story::before { transform: none; }
  .latest-grid.is-pending .latest-content { opacity: 1; }
  .latest-story:hover img, .latest-story:focus-within img { transform: none; }
}
