:root {
  --ink: #171713;
  --paper: #f2efe6;
  --paper-deep: #e5dfd1;
  --field: #173b35;
  --field-dark: #0e2723;
  --red: #9d3026;
  --green: #315c49;
  --brass: #b6914b;
  --rule: rgba(23, 23, 19, 0.78);
  --serif: "Noto Serif TC", "Iowan Old Style", "Palatino Linotype", "Songti TC", "PMingLiU", serif;
  --sans: "Noto Sans TC", "Avenir Next", "PingFang TC", "Microsoft JhengHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--field-dark);
  color-scheme: light;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--field);
  color: var(--ink);
  font-family: var(--serif);
  line-height: 1.75;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 8px;
  left: 8px;
  padding: 8px 12px;
  transform: translateY(-160%);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
}

.skip-link:focus {
  transform: translateY(0);
}

.press-tools {
  border-bottom: 1px solid rgba(242, 239, 230, 0.28);
  background: var(--field-dark);
  color: var(--paper);
  font-family: var(--sans);
}

.press-tools__inner {
  width: min(1240px, calc(100% - 32px));
  min-height: 48px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.edition-mark {
  font-size: 13px;
  font-weight: 700;
}

.press-tools__actions {
  display: flex;
  align-items: stretch;
  gap: 1px;
}

.tool-button,
.dispatch__next {
  min-height: 36px;
  border: 1px solid currentColor;
  border-radius: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
}

.tool-button {
  min-width: 68px;
  padding: 6px 14px;
}

.tool-button:hover,
.tool-button[aria-pressed="true"] {
  background: var(--paper);
  color: var(--field-dark);
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--brass);
  outline-offset: 3px;
}

.newspaper {
  position: relative;
  width: min(1240px, calc(100% - 32px));
  margin: 28px auto 64px;
  padding: 34px 42px 28px;
  overflow: hidden;
  border: 1px solid #c8c0b0;
  background-color: var(--paper);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

.newspaper > * {
  position: relative;
}

.masthead__topline,
.masthead__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
}

.masthead__topline {
  padding-bottom: 8px;
  border-bottom: 1px solid var(--rule);
}

.masthead__name-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: 132px;
}

.masthead__name-row h1 {
  margin: 0;
  font-size: 96px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

.masthead__title {
  text-align: center;
}

.masthead__title p {
  margin: 6px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.masthead__rule {
  height: 8px;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.masthead__motto {
  margin: -7px 0 14px;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
}

.masthead__meta {
  padding: 8px 0;
  border-top: 3px double var(--ink);
  border-bottom: 3px double var(--ink);
}

.lead-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.45fr) minmax(260px, 0.8fr);
  gap: 30px;
  padding-top: 28px;
}

.lead-story {
  min-width: 0;
}

.section-label {
  margin: 0 0 7px;
  color: var(--red);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 800;
}

.lead-story h2,
.news-item h2,
.dispatch h2 {
  margin: 0;
  font-weight: 900;
  letter-spacing: 0;
}

.lead-story h2 {
  max-width: 820px;
  font-size: 48px;
  line-height: 1.14;
}

.standfirst {
  max-width: 820px;
  margin: 16px 0 22px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.65;
}

.lead-figure {
  margin: 0 0 20px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 8px 0 7px;
}

.lead-figure img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.88) contrast(1.04);
}

.lead-figure figcaption {
  margin-top: 6px;
  font-family: var(--sans);
  font-size: 11px;
  line-height: 1.55;
}

.story-copy {
  column-count: 2;
  column-gap: 28px;
  column-rule: 1px solid rgba(23, 23, 19, 0.24);
  font-size: 15px;
  text-align: justify;
}

.story-copy p {
  margin: 0 0 1em;
  break-inside: avoid;
}

.drop-cap {
  float: left;
  margin: 8px 7px 0 0;
  color: var(--red);
  font-size: 58px;
  font-weight: 900;
  line-height: 0.72;
}

.briefs {
  min-width: 0;
  border-left: 1px solid var(--ink);
  padding-left: 22px;
}

.brief {
  padding: 0 0 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--ink);
}

.brief h3 {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.3;
}

.brief p {
  margin: 0;
  font-size: 14px;
}

.brief--red {
  border-top: 7px solid var(--red);
  padding-top: 12px;
}

.brief--green {
  border-top: 7px solid var(--green);
  padding-top: 12px;
}

.staff-list {
  margin: 0;
  font-family: var(--sans);
  font-size: 13px;
}

.staff-list div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 4px 0;
  border-bottom: 1px dotted rgba(23, 23, 19, 0.38);
}

.staff-list dt {
  font-weight: 800;
}

.staff-list dd {
  margin: 0;
  text-align: right;
}

.pull-quote {
  margin: 26px 0 0;
  border: 0;
  color: var(--green);
}

.pull-quote p {
  margin: 0;
  font-size: 25px;
  font-weight: 800;
  line-height: 1.55;
}

.ornament {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  margin: 30px 0 22px;
  color: var(--red);
}

.ornament span {
  border-top: 1px solid var(--ink);
}

.ornament b {
  font-size: 13px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 5px solid var(--ink);
  border-bottom: 3px double var(--ink);
}

.news-item {
  position: relative;
  min-width: 0;
  padding: 22px 22px 28px;
}

.news-item:first-child {
  padding-left: 0;
}

.news-item:last-child {
  padding-right: 0;
}

.news-item + .news-item {
  border-left: 1px solid var(--ink);
}

.news-item h2 {
  margin-bottom: 9px;
  font-size: 28px;
  line-height: 1.28;
}

.news-item p {
  margin: 0 0 0.85em;
  font-size: 14px;
  text-align: justify;
}

.byline {
  font-family: var(--sans);
  font-size: 11px !important;
  font-weight: 700;
}

.news-item--science {
  background: rgba(49, 92, 73, 0.07);
}

.missing-notice {
  padding-bottom: 122px;
}

.missing-mark {
  position: absolute;
  right: 20px;
  bottom: 18px;
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border: 4px double var(--red);
  color: var(--red);
  font-size: 42px;
  font-weight: 900;
  transform: rotate(-9deg);
}

.dispatch {
  min-height: 138px;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding: 22px 0;
  border-bottom: 1px solid var(--ink);
}

.dispatch h2 {
  font-size: 34px;
  line-height: 1.1;
}

.dispatch__copy {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.55;
}

.dispatch__next {
  min-width: 94px;
  padding: 8px 14px;
  color: var(--ink);
}

.dispatch__next:hover {
  background: var(--ink);
  color: var(--paper);
}

.colophon {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  padding-top: 14px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
}

.colophon p {
  margin: 0;
}

.claim-stamp {
  position: absolute;
  z-index: 5;
  top: 132px;
  right: 62px;
  width: 126px;
  height: 126px;
  display: grid;
  align-content: center;
  justify-items: center;
  border: 5px double var(--red);
  color: var(--red);
  font-family: var(--sans);
  font-weight: 900;
  line-height: 1.2;
  opacity: 0;
  pointer-events: none;
  transform: rotate(11deg) scale(1.35);
  transition: opacity 160ms ease, transform 220ms ease;
}

.claim-stamp::before,
.claim-stamp::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid currentColor;
}

.claim-stamp::after {
  inset: 15px;
}

.claim-stamp span {
  font-size: 19px;
}

.claim-stamp small {
  font-size: 11px;
}

body.is-claimed .claim-stamp {
  opacity: 0.78;
  transform: rotate(11deg) scale(1);
}

.toast {
  position: fixed;
  z-index: 30;
  right: 18px;
  bottom: 18px;
  max-width: min(360px, calc(100% - 36px));
  padding: 10px 14px;
  border-left: 5px solid var(--red);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.32);
  font-family: var(--sans);
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 150ms ease, transform 150ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .newspaper {
    padding: 28px 30px 24px;
  }

  .masthead__name-row {
    min-height: 112px;
  }

  .masthead__name-row h1 {
    font-size: 76px;
  }

  .lead-layout {
    grid-template-columns: minmax(0, 1fr) 250px;
    gap: 22px;
  }

  .lead-story h2 {
    font-size: 40px;
  }

  .story-copy {
    column-count: 1;
  }

  .news-grid {
    grid-template-columns: 1fr 1fr;
  }

  .news-item:nth-child(3) {
    grid-column: 1 / -1;
    border-top: 1px solid var(--ink);
    border-left: 0;
    padding-left: 0;
  }

  .claim-stamp {
    top: 114px;
    right: 44px;
  }
}

@media (max-width: 720px) {
  .press-tools__inner,
  .newspaper {
    width: min(100% - 20px, 620px);
  }

  .newspaper {
    margin-top: 10px;
    padding: 20px 18px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.26);
  }

  .masthead__topline,
  .masthead__meta {
    font-size: 10px;
  }

  .masthead__meta {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 4px 14px;
  }

  .masthead__name-row {
    min-height: 88px;
    gap: 12px;
  }

  .masthead__name-row h1 {
    font-size: 54px;
  }

  .masthead__title p {
    margin-top: 3px;
    font-size: 9px;
    letter-spacing: 0.1em;
  }

  .masthead__motto {
    margin-top: 0;
    font-size: 13px;
  }

  .lead-layout {
    display: block;
  }

  .lead-story h2 {
    font-size: 34px;
  }

  .standfirst {
    font-size: 17px;
  }

  .story-copy {
    font-size: 15px;
  }

  .briefs {
    margin-top: 26px;
    border-top: 4px solid var(--ink);
    border-left: 0;
    padding-top: 20px;
    padding-left: 0;
  }

  .pull-quote p {
    font-size: 21px;
  }

  .news-grid {
    display: block;
  }

  .news-item,
  .news-item:first-child,
  .news-item:last-child,
  .news-item:nth-child(3) {
    padding: 20px 0 24px;
    border-top: 0;
    border-left: 0;
  }

  .news-item + .news-item {
    border-top: 1px solid var(--ink);
    border-left: 0;
  }

  .news-item--science {
    margin: 0 -18px;
    padding-right: 18px;
    padding-left: 18px;
  }

  .missing-notice {
    padding-bottom: 112px !important;
  }

  .dispatch {
    grid-template-columns: 1fr auto;
    gap: 14px;
  }

  .dispatch__copy {
    grid-column: 1 / -1;
    grid-row: 2;
    font-size: 17px;
  }

  .dispatch__next {
    grid-column: 2;
    grid-row: 1;
  }

  .colophon {
    display: block;
  }

  .colophon p + p {
    margin-top: 4px;
  }

  .claim-stamp {
    top: 104px;
    right: 28px;
    width: 96px;
    height: 96px;
  }

  .claim-stamp span {
    font-size: 15px;
  }
}

@media (max-width: 420px) {
  .edition-mark {
    max-width: 146px;
    line-height: 1.2;
  }

  .tool-button {
    min-width: 58px;
    padding-inline: 10px;
  }

  .masthead__name-row h1 {
    font-size: 46px;
  }

  .lead-story h2 {
    font-size: 30px;
  }

  .claim-stamp {
    top: 128px;
    right: 24px;
  }
}

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

@media print {
  @page {
    size: A4 portrait;
    margin: 10mm;
  }

  html,
  body {
    background: white;
  }

  .press-tools,
  .toast,
  .dispatch__next,
  .skip-link {
    display: none !important;
  }

  .newspaper {
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    box-shadow: none;
  }

  .newspaper::before {
    display: none;
  }

  .lead-layout {
    grid-template-columns: 2.2fr 0.8fr;
  }

  .lead-story h2 {
    font-size: 36px;
  }

  .standfirst,
  .dispatch__copy {
    font-size: 15px;
  }

  .story-copy,
  .news-item p {
    font-size: 11px;
  }

  .brief p,
  .staff-list {
    font-size: 10px;
  }

  .news-item h2 {
    font-size: 20px;
  }

  .lead-figure,
  .news-grid,
  .dispatch {
    break-inside: avoid;
  }
}
