.geo-article-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: .19em;
}
.geo-article-link:hover { text-decoration-thickness: .16em; }
.geo-article-link:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.geo-article-related { margin-block: 1rem; }
.geo-editorial {
  --ink: #211b32;
  --muted: #534a65;
  --purple: #502396;
  --paper: #fbf9f5;
  --line: #ded6e8;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 17px/1.8 system-ui, "PingFang HK", "Noto Sans CJK TC", sans-serif;
}
.geo-editorial *, .geo-editorial *::before, .geo-editorial *::after { box-sizing: border-box; }
.geo-editorial a { color: var(--purple); text-underline-offset: .2em; }
.geo-editorial a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.geo-shell { width: min(100% - 2.5rem, 1120px); margin-inline: auto; }
.geo-skip { position: absolute; inset: .5rem auto auto .5rem; transform: translateY(-160%); background: #fff; padding: .35rem .7rem; z-index: 2; }
.geo-skip:focus { transform: none; }
.geo-sitebar { background: #fff; border-bottom: 1px solid #e9e3ef; }
.geo-sitebar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 70px; }
.geo-sitebar img { display: block; width: clamp(102px, 20vw, 164px); height: auto; }
.geo-sitebar nav { display: flex; align-items: center; gap: clamp(.55rem, 2vw, 1.5rem); font-size: .85rem; font-weight: 650; }
.geo-sitebar nav a { padding-block: .55rem; }
.geo-masthead { padding-block: clamp(2rem, 6vw, 4.8rem); color: #fff; background: linear-gradient(125deg, #19132e 12%, #362051 100%); }
.geo-masthead a { color: #eadbff; }
.geo-kicker { margin: 0 0 1.25rem; font-size: .88rem; color: #eadbff; }
.geo-kicker span { margin-inline: .35em; }
.geo-masthead h1 { margin: 0; font-family: "Songti TC", "Noto Serif CJK TC", Georgia, serif; font-size: clamp(2.5rem, 7.9vw, 5.6rem); line-height: 1.13; letter-spacing: -.035em; }
.geo-masthead h1 span { color: #d5b5ff; }
.geo-lede { max-width: 34em; margin: 1.25rem 0 .8rem; font-size: clamp(1rem, 2.5vw, 1.27rem); color: #f1eaff; }
.geo-byline { margin: 0; color: #ded3eb; font-size: .87rem; }
.geo-layout { display: grid; grid-template-columns: minmax(155px, 230px) minmax(0, 43rem); align-items: start; gap: clamp(1.5rem, 5vw, 6rem); padding-block: clamp(2rem, 5vw, 4.6rem); }
.geo-contents { position: sticky; top: 1.25rem; border-top: 2px solid var(--purple); padding-block: .75rem; }
.geo-contents p { margin: 0 0 .4rem; font-weight: 700; }
.geo-contents a { display: block; padding: .3rem 0; font-size: .89rem; }
.geo-prose { min-width: 0; overflow-wrap: break-word; }
.geo-prose section { scroll-margin-top: 1.3rem; }
.geo-prose section + section { margin-top: 2.6rem; }
.geo-prose h2 { margin: 0 0 .8rem; line-height: 1.35; font-size: clamp(1.42rem, 4vw, 2rem); }
.geo-prose p { margin: 0 0 1rem; }
.geo-prose ol { padding-inline-start: 1.4rem; margin-block: 1rem; }
.geo-prose li { padding-inline-start: .25rem; margin-block: .55rem; }
.geo-paper { padding: clamp(1rem, 3vw, 1.6rem); border: 1px solid #d8c7ec; border-inline-start: 4px solid #6a3baa; border-radius: .65rem; background: #f2eafb; }
.geo-paper .geo-paper-tag { margin-bottom: .3rem; color: var(--purple); font-size: .89rem; font-weight: 700; }
.geo-paper h3 { margin: 0; color: var(--ink); line-height: 1.4; }
.geo-paper p { margin-bottom: .45rem; }
.geo-actions { display: flex; gap: .35rem 1.25rem; flex-wrap: wrap; }
.geo-actions a { display: inline-flex; align-items: center; gap: .25rem; min-height: 44px; font-weight: 700; }
.geo-related-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.geo-related-grid a { display: block; border: 1px solid var(--line); border-radius: .65rem; padding: 1rem; background: #fff; text-decoration: none; }
.geo-related-grid strong { text-decoration: underline; text-underline-offset: .2em; }
.geo-related-grid span { display: block; margin-top: .25rem; color: var(--muted); font-size: .88rem; }
.geo-footer { border-top: 1px solid var(--line); padding: 1rem 0; color: var(--muted); font-size: .85rem; }
.geo-footer .geo-shell { display: flex; flex-wrap: wrap; gap: .35rem 1.1rem; }
@media (max-width: 720px) {
  .geo-shell { width: min(100% - 2rem, 1120px); }
  .geo-layout { grid-template-columns: minmax(0, 1fr); }
  .geo-contents { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 .85rem; }
  .geo-contents p { grid-column: 1 / -1; }
}
@media (max-width: 490px) { .geo-related-grid { grid-template-columns: minmax(0, 1fr); } }

/* Keep the language choices intact at narrow widths. */
.geo-sitebar nav a { white-space: nowrap; min-block-size: 44px; display: inline-flex; align-items: center; }
.geo-watch-link, .geo-apply-link {
  display: inline-flex;
  align-items: center;
  min-block-size: 44px;
  padding: .55rem .95rem;
  border: 1px solid currentColor;
  border-radius: .65rem;
  font-weight: 700;
}
.geo-watch-link { margin-block-start: 1.15rem; color: #f2eaff; }
.geo-apply-link { margin-block-start: .25rem; background: #fff; }
.geo-quick-check { margin-block-start: 1.25rem; border: 1px solid var(--line); border-radius: .8rem; padding: 1rem; background: #f4eefb; }
.geo-quick-check h3 { margin: 0 0 .3rem; font-size: 1.1rem; }
.geo-quick-check p { margin-block-end: .45rem; }
.geo-video video { display: block; aspect-ratio: 16 / 9; }
@media (max-width: 580px) {
  .geo-sitebar-inner { align-items: flex-start; flex-direction: column; gap: 0; padding-block-start: .85rem; }
  .geo-sitebar nav { flex-wrap: wrap; column-gap: 1rem; row-gap: 0; }
}
