:root {
  --ink: #151719;
  --ink-soft: #3e4548;
  --paper: #fbf8f0;
  --paper-deep: #f0eadc;
  --jade: #35655f;
  --jade-dark: #203f3b;
  --brass: #b58a45;
  --coral: #b55244;
  --sky: #dceaf2;
  --line: rgba(21, 23, 25, 0.16);
  --shadow: 0 18px 48px rgba(21, 23, 25, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body.nav-open {
  overflow: hidden;
}

.protected-site[hidden],
.coupon-gate[hidden] {
  display: none !important;
}

body[data-login-required-redirect] .coupon-gate {
  display: none;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.logo-link,
.footer-logo-link,
.admin-logo-link {
  display: inline-flex;
  text-decoration: none;
}

.logo-link:hover,
.footer-logo-link:hover,
.admin-logo-link:hover,
.brand:hover {
  opacity: 0.82;
}

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  background: var(--ink);
  color: #fff;
  left: 16px;
  padding: 10px 14px;
  position: fixed;
  top: 12px;
  transform: translateY(-140%);
  z-index: 20;
}

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

.site-header {
  align-items: center;
  background: rgba(251, 248, 240, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  left: 0;
  min-height: 72px;
  padding: 14px clamp(18px, 5vw, 64px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 10px;
  min-width: min(250px, 30vw);
  text-decoration: none;
}

.brand-logo {
  height: 52px;
  object-fit: contain;
  width: auto;
}

.header-home-link {
  border-radius: 6px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin-right: auto;
  padding: 8px 10px;
  text-decoration: none;
}

.header-home-link:hover,
.header-home-link:focus-visible {
  background: rgba(53, 101, 95, 0.1);
  color: var(--jade-dark);
  outline: none;
}

.header-search-link {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink-soft);
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 0.9rem;
  font-weight: 800;
  gap: 7px;
  justify-content: center;
  min-height: 40px;
  padding: 7px 11px;
  text-decoration: none;
}

.header-search-link svg,
.library-search-form svg,
.site-search-input-row svg {
  fill: none;
  height: 19px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
  width: 19px;
}

.header-search-link:hover,
.header-search-link:focus-visible,
.header-search-link[aria-current="page"] {
  background: #e7eee9;
  border-color: rgba(53, 101, 95, 0.32);
  color: var(--jade-dark);
  outline: none;
}

.site-nav {
  align-items: center;
  display: flex;
  gap: 8px;
}

.site-nav a {
  border-radius: 6px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  padding: 8px 10px;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a.is-active {
  background: rgba(53, 101, 95, 0.1);
  color: var(--jade-dark);
}

.logout-button {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink-soft);
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  margin-left: 4px;
  padding: 7px 10px;
}

.logout-button:hover,
.logout-button:focus-visible {
  background: rgba(53, 101, 95, 0.1);
  color: var(--jade-dark);
  outline: none;
}

.menu-toggle {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  cursor: pointer;
  display: none;
  min-height: 40px;
  padding: 8px 12px;
}

.contents-hero {
  align-items: stretch;
  background:
    linear-gradient(90deg, rgba(21, 23, 25, 0.84), rgba(21, 23, 25, 0.34)),
    url("assets/korea-guide-hero.png") center / cover;
  color: #fff;
  display: grid;
  gap: clamp(24px, 5vw, 64px);
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.8fr);
  min-height: calc(100svh - 72px);
  padding: clamp(44px, 7vw, 88px) clamp(20px, 6vw, 84px);
  scroll-margin-top: 72px;
}

.contents-copy {
  align-self: start;
  max-width: 720px;
  position: sticky;
  top: calc(72px + clamp(44px, 7vw, 88px));
}

.contents-copy .eyebrow {
  color: #f2d08f;
}

.contents-copy h1 {
  font-size: clamp(3rem, 7vw, 6.4rem);
}

.contents-copy p {
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.08rem;
  max-width: 620px;
}

.directory-panel {
  align-self: center;
  display: grid;
  gap: 16px;
}

.directory-heading {
  align-items: end;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding-bottom: 14px;
}

.directory-heading span {
  color: #f2d08f;
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.directory-heading strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.library-search-form {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 10px;
  color: var(--ink);
  display: grid;
  gap: 8px;
  padding: 14px;
}

.library-search-form > label {
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 900;
}

.library-search-form > div {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  overflow: hidden;
}

.library-search-form svg {
  color: var(--jade-dark);
  margin-left: 14px;
}

.library-search-form input {
  background: #fff;
  border: 0;
  color: var(--ink);
  min-height: 48px;
  min-width: 0;
  outline: none;
  padding: 0 12px;
}

.library-search-form button {
  align-self: stretch;
  background: var(--jade-dark);
  border: 0;
  color: #fff;
  cursor: pointer;
  font-weight: 900;
  min-width: 94px;
  padding: 0 17px;
}

.library-search-form > div:focus-within {
  border-color: var(--jade);
  box-shadow: 0 0 0 3px rgba(53, 101, 95, 0.16);
}

.library-search-form button:hover,
.library-search-form button:focus-visible {
  background: var(--ink);
  outline: none;
}

.guide-directory {
  display: grid;
  gap: 14px;
}

.library-search-status {
  background: rgba(255, 255, 255, 0.12);
  border-left: 4px solid #f2d08f;
  border-radius: 6px;
  color: #fff;
  font-size: 0.84rem;
  font-weight: 800;
  margin: 0;
  padding: 10px 12px;
}

.library-search-status[data-tone="empty"] {
  background: rgba(181, 82, 68, 0.28);
  border-left-color: #ffc7bd;
}

.guide-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  color: var(--ink);
  overflow: hidden;
}

.guide-direct-link {
  align-items: center;
  color: inherit;
  display: grid;
  gap: 16px;
  grid-template-columns: 48px minmax(0, 1fr) auto 24px;
  min-height: 80px;
  padding: 16px 18px;
  text-decoration: none;
}

.guide-direct-link:hover {
  background: #fff;
}

.guide-direct-link:focus-visible {
  background: #fff;
  outline: 3px solid #f2d08f;
  outline-offset: -3px;
}

.guide-card-label {
  align-items: center;
  background: var(--jade-dark);
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  font-weight: 900;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.guide-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.32rem;
  margin: 0;
}

.guide-direct-copy {
  min-width: 0;
}

.guide-card p.guide-card-latest-title {
  color: var(--ink);
  display: grid;
  gap: 3px;
  margin: 5px 0 0;
}

.guide-card-latest-title span {
  color: var(--coral);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.guide-card-latest-title strong {
  font-size: 0.88rem;
  line-height: 1.35;
}

.guide-direct-meta {
  justify-self: end;
  white-space: nowrap;
}

.guide-card-status {
  color: var(--jade-dark);
  font-size: 0.8rem;
  font-weight: 900;
}

.guide-row-arrow {
  color: var(--jade-dark);
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1;
}

.guide-card-link {
  align-items: center;
  background: var(--ink);
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  font-weight: 900;
  min-height: 40px;
  padding: 9px 13px;
  text-decoration: none;
}

.guide-card-link:hover {
  background: var(--jade-dark);
}

.guide-card-newsfeed {
  border-color: rgba(181, 82, 68, 0.48);
  box-shadow: inset 4px 0 0 var(--coral);
}

.guide-card-newsfeed .guide-card-label {
  background: var(--coral);
}

.guide-card-newsfeed .guide-card-status {
  color: var(--coral);
}

.guide-card-newsfeed .guide-row-arrow {
  color: var(--coral);
}

.guide-group {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 8px;
  color: var(--ink);
  overflow: hidden;
}

.guide-group-heading {
  margin: 0;
}

.guide-group-toggle {
  align-items: center;
  appearance: none;
  background: var(--jade-dark);
  border: 0;
  color: #fff;
  cursor: pointer;
  display: grid;
  font: inherit;
  gap: 16px;
  grid-template-columns: 48px minmax(0, 1fr) auto 24px;
  min-height: 80px;
  padding: 16px 18px;
  text-align: left;
  width: 100%;
}

.guide-group-toggle:hover {
  background: #244c47;
}

.guide-group-toggle:focus-visible {
  background: #244c47;
  outline: 3px solid #f2d08f;
  outline-offset: -3px;
}

.guide-group-label {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  color: #f2d08f;
  display: inline-flex;
  font-weight: 900;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.guide-group-title {
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  font-weight: 700;
  min-width: 0;
  overflow-wrap: anywhere;
}

.guide-group-meta {
  justify-self: end;
  white-space: nowrap;
}

.guide-group-meta span {
  color: #f2d08f;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.guide-group-chevron {
  color: #f2d08f;
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1;
  transform: translateY(-3px);
  transition: transform 160ms ease;
}

.guide-group-toggle[aria-expanded="true"] .guide-group-chevron {
  transform: translateY(3px) rotate(180deg);
}

.guide-subpages {
  background: #fff;
  display: grid;
}

.guide-group-intro {
  align-items: start;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 16px 20px;
}

.guide-group-intro p {
  color: var(--ink-soft);
  font-size: 0.88rem;
  margin: 0;
}

.guide-group-intro small {
  color: var(--brass);
  flex: 0 0 auto;
  font-size: 0.74rem;
  font-weight: 900;
  white-space: nowrap;
}

.guide-subpage-card {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 14px;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  padding: 16px 20px;
}

.guide-subpage-card:last-child {
  border-bottom: 0;
}

.guide-subpage-label {
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
}

.guide-subpage-card h4 {
  font-size: 0.98rem;
  margin: 0 0 4px;
}

.guide-subpage-card p {
  color: var(--ink-soft);
  font-size: 0.82rem;
  margin: 0;
}

.guide-subpage-card .guide-card-link {
  min-height: 36px;
  padding: 8px 11px;
  white-space: nowrap;
}

.guide-card-direct.is-search-match,
.guide-group.is-search-match {
  box-shadow: inset 5px 0 0 #f2d08f;
}

.guide-subpage-card.is-search-match {
  background: #fff5df;
  box-shadow: inset 5px 0 0 var(--coral);
}

.newsfeed-main {
  background: var(--paper);
}

.newsfeed-intro {
  align-items: end;
  background:
    linear-gradient(90deg, rgba(21, 23, 25, 0.9), rgba(21, 23, 25, 0.48)),
    url("assets/korea-guide-hero.png") center 48% / cover;
  color: #fff;
  display: grid;
  gap: clamp(24px, 6vw, 84px);
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr);
  min-height: 430px;
  padding: clamp(56px, 9vw, 116px) clamp(20px, 6vw, 84px);
}

.newsfeed-intro .eyebrow {
  color: #f2d08f;
}

.newsfeed-intro h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.8rem, 8vw, 7.2rem);
  line-height: 0.92;
  margin: 0;
}

.newsfeed-intro > p {
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.08rem;
  margin: 0;
}

.newsfeed-latest,
.newsfeed-history-section {
  padding: clamp(54px, 7vw, 88px) clamp(20px, 6vw, 84px);
  scroll-margin-top: 72px;
}

.newsfeed-section-heading {
  margin-bottom: 28px;
  max-width: 760px;
}

.newsfeed-section-heading h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  margin: 0 0 12px;
}

.newsfeed-section-heading > p:last-child {
  color: var(--ink-soft);
}

.latest-news-card {
  background: #fff4f1;
  border: 1px solid rgba(181, 82, 68, 0.32);
  border-left: 6px solid var(--coral);
  border-radius: 8px;
  box-shadow: var(--shadow);
  min-height: 220px;
  padding: clamp(24px, 4vw, 46px);
}

.latest-news-meta {
  align-items: center;
  color: var(--ink-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 26px;
}

.newsfeed-badge {
  background: var(--coral);
  border-radius: 999px;
  color: #fff;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  padding: 7px 11px;
  text-transform: uppercase;
}

.latest-news-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.1;
  margin: 0 0 24px;
}

.newsfeed-content {
  color: var(--ink-soft);
  font-size: 1.04rem;
  line-height: 1.75;
  white-space: pre-wrap;
}

.newsfeed-content p {
  margin: 0 0 1em;
}

.newsfeed-content p:last-child {
  margin-bottom: 0;
}

.newsfeed-content a {
  color: var(--jade-dark);
  font-weight: 800;
  overflow-wrap: anywhere;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.newsfeed-content img {
  border-radius: 8px;
  display: block;
  height: auto;
  margin: 24px 0;
  max-width: 100%;
}

.newsfeed-content blockquote {
  border-left: 4px solid var(--brass);
  margin: 20px 0;
  padding: 4px 0 4px 18px;
}

.newsfeed-content .newsfeed-text-small {
  font-size: 0.84em;
}

.newsfeed-content .newsfeed-text-normal {
  font-size: 1em;
}

.newsfeed-content .newsfeed-text-large {
  font-size: 1.38em;
  line-height: 1.45;
}

.newsfeed-history-section {
  background: #fff;
}

.newsfeed-history {
  border-top: 1px solid var(--line);
}

.newsfeed-history-item {
  border-bottom: 1px solid var(--line);
}

.newsfeed-history-item summary {
  align-items: center;
  cursor: pointer;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) auto;
  list-style: none;
  padding: 22px 4px;
}

.newsfeed-history-item summary::-webkit-details-marker {
  display: none;
}

.newsfeed-history-item summary::after {
  color: var(--coral);
  content: "+";
  font-size: 1.5rem;
  font-weight: 900;
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  transform: translateY(16px);
}

.newsfeed-history-item[open] summary::after {
  content: "−";
}

.newsfeed-history-item summary strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2.4vw, 1.85rem);
  padding-right: 34px;
}

.newsfeed-history-item summary time {
  color: var(--ink-soft);
  font-size: 0.86rem;
  grid-column: 1;
  grid-row: 2;
}

.newsfeed-history-item .newsfeed-content {
  background: var(--paper);
  border-left: 3px solid var(--coral);
  margin: 0 0 24px;
  padding: 22px 24px;
}

.newsfeed-loading,
.newsfeed-error,
.newsfeed-empty-line {
  color: var(--ink-soft);
  margin: 0;
}

.newsfeed-error {
  color: var(--coral);
  font-weight: 800;
}

.newsfeed-empty h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  margin: 0 0 10px;
}

.newsfeed-empty p {
  color: var(--ink-soft);
  margin: 0;
}

.coupon-gate {
  align-items: center;
  background:
    linear-gradient(90deg, rgba(10, 12, 12, 0.78), rgba(10, 12, 12, 0.38)),
    url("assets/korea-guide-hero.png") center / cover;
  color: #fff;
  display: flex;
  min-height: 100vh;
  padding: clamp(20px, 6vw, 80px);
}

.coupon-card {
  width: min(640px, 100%);
}

.coupon-logo {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 8px;
  height: auto;
  margin-bottom: 28px;
  padding: 10px;
  width: min(260px, 72vw);
}

.coupon-card h1 {
  font-size: clamp(2.4rem, 5.4vw, 4.7rem);
  line-height: 0.98;
  margin-bottom: 16px;
}

.coupon-card p {
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.04rem;
}

.coupon-form {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.coupon-form label {
  color: #f2d08f;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.coupon-form input,
.coupon-form textarea {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  color: var(--ink);
  padding: 14px;
  width: 100%;
}

.coupon-form input {
  min-height: 50px;
}

.coupon-form textarea {
  min-height: 88px;
  resize: vertical;
}

.coupon-form .button {
  justify-self: start;
}

.coupon-message {
  color: #fff;
  font-weight: 800;
  min-height: 24px;
}

.coupon-message[data-tone="error"] {
  color: #ffd0c7;
}

.coupon-message[data-tone="success"] {
  color: #d9f5e3;
}

@media (min-width: 900px) {
  .coupon-card {
    align-items: end;
    column-gap: clamp(36px, 6vw, 88px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
    width: min(1080px, 100%);
  }

  .coupon-card > .coupon-logo,
  .coupon-card > .logo-link,
  .coupon-card > .eyebrow,
  .coupon-card > h1,
  .coupon-card > p {
    grid-column: 1;
  }

  .coupon-form {
    grid-column: 2;
    grid-row: 2 / span 3;
    margin-top: 0;
  }

  .coupon-form textarea {
    min-height: 118px;
  }
}

.hero {
  color: #fff;
  height: max(480px, calc(100svh - 128px));
  max-height: 820px;
  min-height: 480px;
  overflow: hidden;
  position: relative;
}

.hero-image {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(10, 12, 12, 0.76), rgba(10, 12, 12, 0.34) 48%, rgba(10, 12, 12, 0.08)),
    linear-gradient(0deg, rgba(10, 12, 12, 0.44), rgba(10, 12, 12, 0));
  inset: 0;
  position: absolute;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  padding: 56px clamp(20px, 6vw, 84px) 72px;
  position: relative;
  width: min(760px, 100%);
}

.eyebrow {
  color: var(--brass);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f2d08f;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 8vw, 7.2rem);
  line-height: 0.95;
  margin-bottom: 24px;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4.4vw, 4rem);
  line-height: 1.02;
  margin-bottom: 12px;
}

h3 {
  font-size: 1.08rem;
  margin-bottom: 10px;
}

.hero-copy {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.12rem;
  max-width: 650px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 34px;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  text-decoration: none;
}

.button-primary {
  background: #fff;
  color: var(--ink);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.38);
  color: #fff;
}

.button-small {
  background: var(--ink);
  color: #fff;
  min-height: 38px;
  padding: 8px 14px;
}

.hero-facts {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  max-width: 720px;
}

.hero-facts div {
  border-left: 2px solid rgba(242, 208, 143, 0.72);
  padding-left: 14px;
}

.hero-facts dt {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  margin-bottom: 4px;
}

.hero-facts dd {
  font-weight: 800;
  margin: 0;
}

.quick-strip {
  align-items: stretch;
  background: var(--ink);
  color: #fff;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.quick-strip a {
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  font-weight: 800;
  min-height: 72px;
  padding: 24px clamp(16px, 3vw, 34px);
  text-decoration: none;
}

.quick-strip a:hover {
  background: var(--jade-dark);
}

.guide-intro,
.guide-section,
.checklist-band,
.safety-section,
.source-section,
.visual-break {
  padding: 80px clamp(20px, 5vw, 72px);
  scroll-margin-top: 72px;
}

.guide-intro {
  align-items: end;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.6fr) minmax(260px, 0.7fr);
}

.guide-intro > p {
  color: var(--ink-soft);
  font-size: 1rem;
  margin-bottom: 0;
}

.search-box {
  display: grid;
  gap: 8px;
}

.search-box span {
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 800;
}

.search-box input {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  min-height: 48px;
  padding: 0 14px;
  width: 100%;
}

.site-search-main {
  background: var(--paper);
  min-height: calc(100svh - 72px);
}

.site-search-intro {
  background:
    radial-gradient(circle at 88% 12%, rgba(220, 234, 242, 0.8), transparent 28%),
    linear-gradient(135deg, #f7f2e7, #fbf8f0 62%);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  padding: clamp(44px, 7vw, 88px) clamp(20px, 7vw, 96px);
}

.site-search-heading {
  max-width: 850px;
}

.site-search-heading .eyebrow,
.site-search-results-heading .eyebrow {
  color: var(--coral);
}

.site-search-heading h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.7rem, 6vw, 5.8rem);
  letter-spacing: -0.04em;
  line-height: 0.98;
  margin: 0 0 18px;
}

.site-search-heading > p:last-child {
  color: var(--ink-soft);
  font-size: 1.05rem;
  margin: 0;
  max-width: 720px;
}

.site-search-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 14px;
  margin-top: 34px;
  max-width: 980px;
  padding: clamp(18px, 3vw, 28px);
}

.site-search-form > label,
.site-search-category,
.site-search-type-filter legend {
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 900;
}

.site-search-input-row {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(21, 23, 25, 0.26);
  border-radius: 9px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  min-height: 58px;
  overflow: hidden;
}

.site-search-input-row:focus-within {
  border-color: var(--jade);
  box-shadow: 0 0 0 4px rgba(53, 101, 95, 0.14);
}

.site-search-input-row svg {
  color: var(--jade-dark);
  height: 22px;
  margin-left: 17px;
  width: 22px;
}

.site-search-input-row input {
  background: #fff;
  border: 0;
  color: var(--ink);
  font-size: 1.05rem;
  min-height: 56px;
  min-width: 0;
  outline: none;
  padding: 0 14px;
}

.site-search-input-row button {
  align-self: stretch;
  background: var(--jade-dark);
  border: 0;
  color: #fff;
  cursor: pointer;
  font-weight: 900;
  min-width: 112px;
  padding: 0 22px;
}

.site-search-input-row button:hover,
.site-search-input-row button:focus-visible {
  background: var(--ink);
  outline: none;
}

.site-search-input-row button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.site-search-controls {
  align-items: end;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 0.36fr);
}

.site-search-type-filter {
  border: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  min-width: 0;
  padding: 0;
}

.site-search-type-filter legend {
  margin-bottom: 7px;
  width: 100%;
}

.site-search-type-filter label {
  align-items: center;
  background: #f7f4ec;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  font-weight: 800;
  gap: 7px;
  min-height: 44px;
  padding: 8px 13px;
}

.site-search-type-filter label:has(input:checked) {
  background: #e7eee9;
  border: 2px solid var(--jade-dark);
  padding: 7px 12px;
}

.site-search-type-filter label:focus-within {
  outline: 3px solid rgba(53, 101, 95, 0.2);
  outline-offset: 2px;
}

.site-search-category {
  display: grid;
  gap: 7px;
}

.site-search-category select {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  min-height: 44px;
  padding: 0 12px;
  width: 100%;
}

.site-search-category select:disabled {
  background: #eeeae1;
  color: #6e7375;
}

.site-search-suggestions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  max-width: 980px;
}

.site-search-suggestions > span {
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 900;
  margin-right: 4px;
}

.site-search-suggestions button {
  background: transparent;
  border: 1px solid rgba(53, 101, 95, 0.34);
  border-radius: 999px;
  color: var(--jade-dark);
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 800;
  min-height: 38px;
  padding: 7px 12px;
}

.site-search-suggestions button:hover,
.site-search-suggestions button:focus-visible {
  background: #e7eee9;
  outline: none;
}

.site-search-results-section {
  padding: clamp(44px, 7vw, 80px) clamp(20px, 7vw, 96px) 96px;
}

.site-search-results-heading {
  align-items: end;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 18px;
}

.site-search-results-heading h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.3rem);
  margin: 0;
}

.site-search-results-heading > p {
  color: var(--ink-soft);
  margin: 0;
  max-width: 480px;
  text-align: right;
}

.site-search-results {
  display: grid;
  gap: 14px;
  margin: 0 auto;
  max-width: 1080px;
}

.site-search-result {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--jade);
  border-radius: 9px;
  box-shadow: 0 10px 28px rgba(21, 23, 25, 0.07);
  color: var(--ink);
  padding: clamp(20px, 3vw, 30px);
}

.site-search-result:has(.site-search-result-badge.is-news) {
  border-left-color: var(--coral);
}

.site-search-result-meta {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.site-search-result-badge {
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  padding: 5px 9px;
  text-transform: uppercase;
}

.site-search-result-badge.is-guide {
  background: #e7eee9;
  color: var(--jade-dark);
}

.site-search-result-badge.is-news {
  background: #fff2ef;
  color: var(--coral);
}

.site-search-result-path {
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 800;
}

.site-search-result h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  line-height: 1.2;
  margin: 0 0 10px;
}

.site-search-result h3 a {
  color: var(--ink);
  text-decoration-color: rgba(53, 101, 95, 0.45);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.site-search-result h3 a:hover,
.site-search-result h3 a:focus-visible {
  color: var(--jade-dark);
  outline: none;
  text-decoration-color: var(--jade-dark);
}

.site-search-result-snippet {
  color: var(--ink-soft);
  line-height: 1.7;
  margin: 0;
}

.site-search-result mark {
  background: #f5dca8;
  border-radius: 2px;
  color: var(--ink);
  padding: 0 2px;
}

.site-search-result-matches {
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  list-style: none;
  margin: 18px 0 0;
  padding: 15px 0 0;
}

.site-search-result-matches a {
  color: var(--jade-dark);
  font-size: 0.9rem;
  font-weight: 800;
}

.site-search-result small {
  color: #6d7274;
  display: block;
  font-size: 0.78rem;
  margin-top: 15px;
}

.site-search-empty,
.site-search-error {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--brass);
  border-radius: 9px;
  color: var(--ink);
  margin: 0 auto;
  max-width: 1080px;
  padding: clamp(24px, 4vw, 40px);
}

.site-search-error {
  background: #fff8f6;
  border-left-color: var(--coral);
}

.site-search-empty h3,
.site-search-error h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  margin: 0 0 9px;
}

.site-search-empty p,
.site-search-error p {
  color: var(--ink-soft);
  margin: 0 0 16px;
}

.site-search-empty a,
.site-search-error button {
  background: var(--jade-dark);
  border: 0;
  border-radius: 7px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-weight: 900;
  min-height: 44px;
  padding: 10px 14px;
  text-decoration: none;
}

.newsfeed-history-item,
.latest-news-card {
  scroll-margin-top: 96px;
}

.section-heading {
  margin-bottom: 34px;
  max-width: 830px;
}

.section-heading p:last-child {
  color: var(--ink-soft);
  font-size: 1.02rem;
  margin-bottom: 0;
}

.info-grid,
.neighborhood-grid,
.phrase-grid,
.support-grid,
.split-grid {
  display: grid;
  gap: 16px;
}

.info-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card,
.place-card,
.phrase-card,
.support-card,
.etiquette-list article {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.info-card {
  min-height: 250px;
  padding: 22px;
}

.info-card p,
.place-card p,
.phrase-card p,
.support-card p,
.etiquette-list p {
  color: var(--ink-soft);
}

.card-number {
  color: var(--coral);
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 900;
  margin-bottom: 38px;
}

.checklist-band {
  background: var(--paper-deep);
}

.checklist-layout {
  align-items: stretch;
  display: grid;
  gap: 18px;
  grid-template-columns: 220px minmax(0, 1fr);
}

.progress-panel {
  align-items: center;
  background: var(--jade-dark);
  border-radius: 8px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 240px;
  padding: 28px;
  text-align: center;
}

.progress-panel span {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4rem;
  line-height: 1;
}

.progress-panel p {
  color: rgba(255, 255, 255, 0.74);
  margin: 8px 0 20px;
}

.checklist-groups {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.check-group {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  margin: 0;
  min-height: 240px;
  padding: 22px;
}

.check-group legend {
  font-weight: 900;
  padding: 0 6px;
}

.check-group label {
  align-items: start;
  color: var(--ink-soft);
  display: grid;
  gap: 10px;
  grid-template-columns: 18px minmax(0, 1fr);
}

.check-group input {
  accent-color: var(--jade);
  height: 18px;
  margin-top: 3px;
  width: 18px;
}

.route-tabs {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: inline-grid;
  grid-template-columns: repeat(3, 112px);
  margin-bottom: 16px;
  overflow: hidden;
}

.route-tab {
  background: transparent;
  border: 0;
  border-right: 1px solid var(--line);
  color: var(--ink-soft);
  cursor: pointer;
  font-weight: 900;
  min-height: 46px;
  padding: 10px;
}

.route-tab:last-child {
  border-right: 0;
}

.route-tab.is-active {
  background: var(--jade);
  color: #fff;
}

.route-panel {
  align-items: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: none;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.62fr);
  padding: 28px;
}

.route-panel.is-active {
  display: grid;
}

.detail-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 18px;
}

.visual-break {
  background:
    linear-gradient(90deg, rgba(21, 23, 25, 0.82), rgba(21, 23, 25, 0.34)),
    url("assets/korea-guide-hero.png") center 54% / cover;
  color: #fff;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.6fr);
  min-height: 360px;
}

.visual-break h2 {
  max-width: 720px;
}

.visual-break p:last-child {
  align-self: end;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 0;
}

.neighborhood-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.place-card {
  display: flex;
  flex-direction: column;
  min-height: 210px;
  padding: 22px;
}

.place-card span {
  color: var(--coral);
  font-size: 0.82rem;
  font-weight: 900;
  margin-top: auto;
}

.split-section {
  background: #fff;
}

.split-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.etiquette-list {
  border-top: 1px solid var(--line);
}

.etiquette-list article {
  align-items: start;
  border-left: 0;
  border-right: 0;
  border-top: 0;
  display: grid;
  gap: 24px;
  grid-template-columns: 260px minmax(0, 1fr);
  padding: 24px 0;
}

.etiquette-list h3,
.etiquette-list p {
  margin-bottom: 0;
}

.phrase-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.phrase-card {
  display: grid;
  gap: 8px;
  min-height: 220px;
  padding: 22px;
}

.phrase-card .korean {
  color: var(--ink);
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1.2;
}

.phrase-card strong {
  margin-top: auto;
}

.phrase-card button {
  align-self: end;
  background: var(--paper-deep);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 900;
  min-height: 38px;
}

.copy-status {
  color: var(--jade-dark);
  font-weight: 800;
  min-height: 26px;
  padding-top: 14px;
}

.safety-section {
  background: var(--jade-dark);
  color: #fff;
}

.safety-section .eyebrow {
  color: #f2d08f;
}

.safety-section .section-heading p {
  color: rgba(255, 255, 255, 0.78);
}

.support-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.support-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  min-height: 230px;
  padding: 24px;
}

.support-card span {
  color: #f2d08f;
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.2rem;
  line-height: 1;
  margin-bottom: 30px;
}

.support-card p {
  color: rgba(255, 255, 255, 0.76);
}

.source-section {
  align-items: start;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
}

.source-list {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.source-list a {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: block;
  font-weight: 800;
  padding: 16px 18px;
  text-decoration: none;
}

.source-list a:hover {
  border-color: var(--jade);
  color: var(--jade-dark);
}

.site-footer {
  align-items: center;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.74);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 24px clamp(20px, 5vw, 72px);
}

.footer-brand,
.footer-contact {
  align-items: center;
  display: flex;
  gap: 14px;
}

.footer-brand img {
  background: #fff;
  border-radius: 8px;
  height: 46px;
  padding: 5px;
  width: 46px;
}

.site-footer p,
.site-footer a {
  margin: 0;
}

.footer-brand p,
.site-footer a {
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}

.footer-contact {
  flex-direction: column;
  gap: 4px;
  text-align: right;
}

/* Chapter 02 editorial pages */

.article-page {
  background: var(--paper);
}

.article-page .site-header {
  background: rgba(251, 248, 240, 0.94);
}

.article-hero {
  align-items: stretch;
  background: var(--ink);
  color: #fff;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.72fr);
  min-height: 660px;
}

.article-hero-overview {
  background: #142e2a;
}

.article-hero-history {
  background: #24211c;
}

.article-hero-government {
  background: #1e3239;
}

.article-hero-copy {
  align-self: center;
  padding: clamp(58px, 8vw, 112px) clamp(24px, 6vw, 88px);
}

.chapter-backlink {
  color: rgba(255, 255, 255, 0.68);
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  margin-bottom: 36px;
  text-decoration: none;
  text-transform: uppercase;
}

.chapter-backlink:hover {
  color: #f2d08f;
}

.article-hero .eyebrow {
  color: #f2d08f;
}

.article-hero h1 {
  font-size: clamp(3.1rem, 7vw, 6.8rem);
  max-width: 880px;
}

.article-hero-government h1 {
  font-size: clamp(3rem, 6.4vw, 6rem);
}

.article-deck {
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(1.02rem, 1.5vw, 1.22rem);
  line-height: 1.72;
  max-width: 720px;
}

.article-hero-facts {
  display: grid;
  gap: 15px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 46px 0 0;
}

.article-hero-facts div {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 13px;
}

.article-hero-facts dt {
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.72rem;
  font-weight: 800;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.article-hero-facts dd {
  font-weight: 900;
  margin: 0;
}

.article-hero-visual {
  background: var(--paper-deep);
  display: flex;
  flex-direction: column;
  margin: 0;
  min-height: 100%;
  overflow: hidden;
}

.article-hero-visual > img {
  flex: 1;
  height: 100%;
  min-height: 540px;
  object-fit: cover;
  width: 100%;
}

.article-hero-visual figcaption {
  background: var(--paper);
  color: var(--ink);
  display: grid;
  gap: 4px;
  padding: 22px 26px;
}

.article-hero-visual figcaption strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.28rem;
}

.article-hero-visual figcaption span {
  color: var(--ink-soft);
  font-size: 0.84rem;
}

.flag-visual {
  align-items: center;
  background:
    linear-gradient(rgba(240, 234, 220, 0.82), rgba(240, 234, 220, 0.82)),
    radial-gradient(circle at 30% 20%, rgba(181, 82, 68, 0.22), transparent 40%);
  justify-content: center;
  padding-top: clamp(40px, 8vw, 96px);
}

.flag-frame {
  background: #fff;
  border: 1px solid rgba(21, 23, 25, 0.1);
  box-shadow: 0 24px 54px rgba(21, 23, 25, 0.18);
  margin: auto clamp(28px, 5vw, 72px);
  padding: clamp(18px, 3vw, 34px);
}

.flag-frame img {
  aspect-ratio: 3 / 2;
  height: auto;
  width: 100%;
}

.history-photo img,
.government-photo img {
  object-position: center;
}

.government-photo img {
  object-position: 48% center;
}

.article-jumpnav {
  background: var(--ink);
  color: #fff;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.article-jumpnav-five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.article-jumpnav a {
  align-items: center;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  font-size: 0.82rem;
  font-weight: 800;
  gap: 9px;
  min-height: 66px;
  padding: 15px clamp(12px, 2vw, 25px);
  text-decoration: none;
}

.article-jumpnav a:hover {
  background: var(--jade-dark);
}

.article-jumpnav span {
  color: #f2d08f;
  font-size: 0.7rem;
}

.article-section {
  padding: clamp(70px, 9vw, 118px) clamp(20px, 6vw, 84px);
  scroll-margin-top: 72px;
}

.article-section-tint {
  background: var(--paper-deep);
}

.article-section-dark {
  background: var(--jade-dark);
  color: #fff;
}

.article-section-heading {
  margin-bottom: 42px;
  max-width: 920px;
}

.article-section-heading > p:last-child {
  color: var(--ink-soft);
  font-size: 1.04rem;
  line-height: 1.7;
  margin-bottom: 0;
  max-width: 820px;
}

.article-section-dark .eyebrow {
  color: #f2d08f;
}

.article-section-dark .article-section-heading > p:last-child {
  color: rgba(255, 255, 255, 0.72);
}

.fact-grid,
.terrain-grid,
.industry-grid,
.relations-grid,
.context-grid,
.turning-points,
.republic-phases,
.living-history-grid,
.government-terms,
.oversight-grid,
.upper-level-grid,
.resident-service-grid {
  display: grid;
  gap: 16px;
}

.fact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fact-card,
.terrain-grid article,
.industry-grid article,
.relations-grid article,
.context-grid article,
.turning-points article,
.republic-phases article,
.living-history-grid article,
.government-terms article,
.oversight-grid article,
.upper-level-grid article,
.resident-service-grid article {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}

.fact-card {
  min-height: 220px;
}

.fact-card > span,
.terrain-grid article > span,
.industry-grid article > span,
.relations-grid article > span,
.context-grid article > span,
.turning-points article > span,
.republic-phases article > span,
.oversight-grid article > span,
.upper-level-grid article > span,
.resident-service-grid article > span {
  color: var(--coral);
  display: block;
  font-size: 0.78rem;
  font-weight: 900;
  margin-bottom: 34px;
  text-transform: uppercase;
}

.fact-card p,
.terrain-grid p,
.industry-grid p,
.relations-grid p,
.context-grid p,
.turning-points p,
.republic-phases p,
.living-history-grid p,
.government-terms p,
.oversight-grid p,
.upper-level-grid p,
.resident-service-grid p {
  color: var(--ink-soft);
  margin-bottom: 0;
}

.flag-explainer {
  align-items: center;
  background: #fff;
  border-left: 5px solid var(--coral);
  border-radius: 8px;
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  margin-top: 24px;
  padding: clamp(26px, 4vw, 44px);
}

.flag-explainer p:last-child {
  color: var(--ink-soft);
  margin-bottom: 0;
}

.trigram-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}

.trigram-grid div {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
}

.trigram-grid dt {
  font-size: 1.02rem;
  font-weight: 900;
}

.trigram-grid dd {
  color: var(--ink-soft);
  margin: 3px 0 0;
}

.visual-atlas {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.visual-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 0;
  overflow: hidden;
}

.visual-card-image {
  align-items: center;
  display: flex;
  height: 520px;
  justify-content: center;
  overflow: hidden;
  padding: 30px;
}

.visual-card-image img {
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.map-light {
  background: #e4ece8;
}

.map-dark {
  background: #213136;
}

.visual-card figcaption {
  display: grid;
  gap: 16px;
  grid-template-columns: 66px minmax(0, 1fr);
  padding: 22px;
}

.visual-card figcaption p {
  color: var(--ink-soft);
  margin: 6px 0 0;
}

.visual-index {
  color: var(--coral);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.terrain-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 18px;
}

.terrain-grid article {
  min-height: 250px;
}

.source-note {
  color: var(--ink-soft);
  font-size: 0.8rem;
  margin: 22px 0 0;
}

.stat-band {
  background: var(--ink);
  color: #fff;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat-band article {
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  display: grid;
  gap: 8px;
  min-height: 190px;
  padding: 28px;
}

.stat-band article:last-child {
  border-right: 0;
}

.stat-band span {
  color: #f2d08f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 4vw, 4.3rem);
  line-height: 1;
}

.stat-band strong {
  align-self: end;
}

.stat-band small {
  color: rgba(255, 255, 255, 0.54);
}

.content-split {
  align-items: center;
  display: grid;
  gap: clamp(28px, 5vw, 68px);
  grid-template-columns: minmax(0, 0.72fr) minmax(420px, 1fr);
  margin-top: 68px;
}

.content-split > div > p:last-of-type {
  color: var(--ink-soft);
}

.money-note {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 8px;
  margin-top: 28px;
  padding-top: 20px;
}

.money-note strong {
  color: var(--coral);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.currency-board {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: clamp(24px, 4vw, 42px);
}

.banknote-row {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.banknote {
  align-items: center;
  aspect-ratio: 2.15 / 1;
  border: 1px solid rgba(21, 23, 25, 0.13);
  border-radius: 6px;
  display: flex;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.2rem, 2.7vw, 2.1rem);
  font-weight: 900;
  justify-content: center;
  position: relative;
}

.banknote::after {
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 4px;
  content: "";
  inset: 8px;
  position: absolute;
}

.banknote-blue { background: #c9dfec; color: #234a62; }
.banknote-ochre { background: #e7cfaa; color: #6d4621; }
.banknote-green { background: #c6dac7; color: #264a34; }
.banknote-gold { background: #e9d495; color: #6a4d18; }

.coin-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 26px 0;
}

.coin-row span {
  align-items: center;
  aspect-ratio: 1;
  background: #d7d7d2;
  border: 2px solid #a9aaa7;
  border-radius: 50%;
  display: flex;
  font-size: 0.76rem;
  font-weight: 900;
  justify-content: center;
  width: clamp(48px, 7vw, 68px);
}

.coin-row span:first-child {
  background: #d39b65;
  border-color: #a7703d;
}

.currency-board > p {
  color: var(--ink-soft);
  font-size: 0.78rem;
  margin-bottom: 0;
  text-align: center;
}

.branch-summary {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.branch-summary article {
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  padding: 24px 0;
}

.branch-summary span {
  color: #f2d08f;
  display: block;
  font-size: 0.76rem;
  font-weight: 900;
  margin-bottom: 34px;
  text-transform: uppercase;
}

.branch-summary p {
  color: rgba(255, 255, 255, 0.68);
  margin-bottom: 0;
}

.inline-route {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  display: flex;
  font-weight: 900;
  justify-content: space-between;
  margin-top: 24px;
  padding: 18px 20px;
  text-decoration: none;
}

.inline-route:hover {
  background: rgba(255, 255, 255, 0.08);
}

.inline-route span {
  color: #f2d08f;
  font-size: 1.5rem;
}

.economy-profile {
  align-items: stretch;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
}

.economy-callout {
  background: var(--coral);
  border-radius: 8px;
  color: #fff;
  display: flex;
  flex-direction: column;
  min-height: 320px;
  padding: clamp(26px, 4vw, 42px);
}

.economy-callout > span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.economy-callout > strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 3.5vw, 3.4rem);
  line-height: 1.08;
  margin: auto 0 24px;
}

.economy-callout p {
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 0;
}

.economy-list {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 0;
  padding: 12px 28px;
}

.economy-list div {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 18px;
  grid-template-columns: 150px minmax(0, 1fr);
  padding: 19px 0;
}

.economy-list div:last-child { border-bottom: 0; }
.economy-list dt { font-weight: 900; }
.economy-list dd { color: var(--ink-soft); margin: 0; }

.industry-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.industry-grid article {
  min-height: 230px;
}

.relations-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.relations-grid article {
  min-height: 250px;
}

.article-sources {
  background: #fff;
}

.article-sources > div:first-child > p:last-child {
  color: var(--ink-soft);
  line-height: 1.7;
}

.visual-credits {
  border-top: 1px solid var(--line);
  grid-column: 2;
  margin-top: 10px;
  padding-top: 18px;
}

.visual-credits summary {
  cursor: pointer;
  font-weight: 900;
}

.visual-credits p {
  color: var(--ink-soft);
  font-size: 0.84rem;
  line-height: 1.65;
  margin: 14px 0;
}

.visual-credits > div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.visual-credits a {
  color: var(--jade-dark);
  font-size: 0.82rem;
  font-weight: 900;
}

.chapter-nav {
  background: var(--paper-deep);
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.chapter-nav a {
  background: #fff;
  display: grid;
  gap: 6px;
  min-height: 130px;
  padding: 32px clamp(20px, 5vw, 70px);
  text-decoration: none;
}

.chapter-nav a:hover {
  background: var(--paper);
}

.chapter-nav .chapter-nav-next {
  text-align: right;
}

.chapter-nav span {
  color: var(--coral);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.chapter-nav strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.4vw, 2.1rem);
}

/* History page */

.context-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.context-grid article {
  min-height: 280px;
}

.history-key {
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 28px;
  padding-top: 20px;
}

.history-key span {
  align-items: center;
  color: var(--ink-soft);
  display: flex;
  font-size: 0.78rem;
  font-weight: 800;
  gap: 8px;
}

.history-dot {
  background: var(--jade);
  border-radius: 50%;
  height: 10px;
  width: 10px;
}

.history-dot-culture { background: var(--brass); }
.history-dot-rupture { background: var(--coral); }
.history-dot-republic { background: var(--ink); }

.history-timeline {
  display: grid;
}

.timeline-entry {
  display: grid;
  grid-template-columns: minmax(170px, 0.3fr) 32px minmax(0, 1fr);
}

.timeline-date {
  padding: 26px 28px 54px 0;
  text-align: right;
}

.timeline-date strong,
.timeline-date span {
  display: block;
}

.timeline-date strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
}

.timeline-date span {
  color: var(--ink-soft);
  font-size: 0.76rem;
  margin-top: 5px;
}

.timeline-marker {
  border-left: 2px solid rgba(53, 101, 95, 0.3);
  position: relative;
}

.timeline-marker::before {
  background: var(--jade);
  border: 5px solid var(--paper-deep);
  border-radius: 50%;
  content: "";
  height: 18px;
  left: -10px;
  position: absolute;
  top: 28px;
  width: 18px;
}

.timeline-culture .timeline-marker::before { background: var(--brass); }

.timeline-copy {
  border-bottom: 1px solid var(--line);
  padding: 24px 0 54px 28px;
}

.timeline-copy p {
  color: var(--ink-soft);
  line-height: 1.7;
  max-width: 840px;
}

.era-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.era-tags span {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--jade-dark);
  font-size: 0.72rem;
  font-weight: 900;
  padding: 7px 10px;
}

.timeline-note {
  background: #fff4f1;
  border-left: 3px solid var(--coral);
  margin-top: 18px;
  max-width: 700px;
  padding: 15px 18px;
}

.timeline-note p {
  font-size: 0.86rem;
  margin: 5px 0 0;
}

.dynasty-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dynasty-card {
  background: var(--jade-dark);
  border-radius: 8px;
  color: #fff;
  min-height: 500px;
  padding: clamp(28px, 4vw, 46px);
}

.dynasty-card-joseon { background: #57442d; }

.dynasty-card-top {
  align-items: start;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  justify-content: space-between;
  margin-bottom: 54px;
  padding-bottom: 18px;
}

.dynasty-card-top span {
  color: #f2d08f;
  font-size: 0.8rem;
  font-weight: 900;
}

.dynasty-card-top strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
}

.dynasty-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 4vw, 4.2rem);
}

.dynasty-card p,
.dynasty-card li {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.65;
}

.dynasty-card ul {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 24px 0 0 18px;
}

.turning-points {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.turning-points article { min-height: 230px; }

.modern-sequence {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.modern-sequence article {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  display: grid;
  gap: 28px;
  grid-template-columns: 180px minmax(0, 1fr);
  padding: 30px 0;
}

.modern-sequence article > span {
  color: #f2d08f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.22rem;
}

.modern-sequence p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 0;
}

.armistice-note {
  background: var(--coral);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(180px, 0.32fr) minmax(0, 1fr);
  margin-top: 28px;
  padding: 24px;
}

.armistice-note p {
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
}

.republic-phases,
.living-history-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.republic-phases article,
.living-history-grid article {
  min-height: 240px;
}

/* Government page */

.constitutional-map {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 0;
  padding: clamp(24px, 5vw, 54px);
}

.constitutional-top,
.constitutional-court {
  justify-self: center;
  text-align: center;
  width: min(360px, 100%);
}

.constitutional-top {
  background: var(--ink);
  border-radius: 8px;
  color: #fff;
  display: grid;
  gap: 4px;
  padding: 20px;
}

.constitutional-top span,
.constitutional-court strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
  font-weight: 900;
}

.constitutional-top small { color: rgba(255, 255, 255, 0.6); }

.constitutional-lines {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: 42px;
  margin: 0 10%;
}

.constitutional-lines i {
  border-left: 1px solid var(--line);
}

.constitutional-branches {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.constitutional-branches article {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 7px;
  min-height: 160px;
  padding: 24px;
}

.constitutional-branches span,
.constitutional-court span {
  color: var(--coral);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.constitutional-branches strong { font-size: 1.05rem; }
.constitutional-branches small,
.constitutional-court small { color: var(--ink-soft); }

.constitutional-court {
  border: 2px solid var(--brass);
  border-radius: 8px;
  display: grid;
  gap: 5px;
  margin-top: 34px;
  padding: 18px;
}

.constitutional-court strong { font-size: 1.22rem; }

.plain-language-note,
.local-note {
  align-items: start;
  background: var(--paper-deep);
  border-left: 4px solid var(--brass);
  border-radius: 8px;
  display: grid;
  gap: 18px;
  grid-template-columns: 170px minmax(0, 1fr);
  margin-top: 24px;
  padding: 22px 24px;
}

.plain-language-note p,
.local-note p {
  color: var(--ink-soft);
  margin: 0;
}

.government-branch-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.government-branch-grid article {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 8px;
  min-height: 430px;
  padding: 24px;
}

.government-branch-grid .branch-constitutional {
  border-color: rgba(242, 208, 143, 0.62);
}

.branch-number {
  color: #f2d08f;
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 42px;
}

.branch-label {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.7rem;
  font-weight: 900;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.government-branch-grid ul {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 20px 0 0 18px;
}

.government-branch-grid li {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.88rem;
}

.administration-flow {
  list-style: none;
  margin: 0;
  padding: 0;
}

.administration-flow li {
  align-items: start;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 22px;
  grid-template-columns: 64px minmax(0, 1fr);
  padding: 25px 0;
}

.administration-flow li:last-child { border-bottom: 1px solid var(--line); }

.administration-flow li > span {
  color: var(--coral);
  font-weight: 900;
}

.administration-flow strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.administration-flow p {
  color: var(--ink-soft);
  margin: 7px 0 0;
}

.government-terms {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 18px;
}

.government-terms article { min-height: 210px; }

.oversight-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.oversight-grid article { min-height: 240px; }

.local-hierarchy {
  align-items: stretch;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(7, minmax(0, auto));
  margin: 10px 0 30px;
}

.local-tier {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  min-height: 190px;
  padding: 22px;
}

.local-tier-national { background: var(--ink); color: #fff; }
.local-tier-service { background: var(--paper-deep); }

.local-tier span {
  color: var(--coral);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.local-tier-national span { color: #f2d08f; }

.local-tier strong {
  align-self: end;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
}

.local-tier p {
  color: var(--ink-soft);
  font-size: 0.82rem;
  margin: 0;
}

.local-tier-national p { color: rgba(255, 255, 255, 0.6); }

.hierarchy-arrow {
  align-self: center;
  color: var(--brass);
  font-size: 1.5rem;
  transform: rotate(-90deg);
}

.upper-level-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.upper-level-grid article { min-height: 220px; }

.resident-service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.resident-service-grid article {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.17);
  min-height: 270px;
}

.resident-service-grid article > span { color: #f2d08f; }

.resident-service-grid p { color: rgba(255, 255, 255, 0.7); }

.resident-service-grid a {
  color: #f2d08f;
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 900;
  margin-top: 18px;
}

.service-caution {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-left: 5px solid var(--coral);
  border-radius: 8px;
  display: grid;
  gap: 18px;
  grid-template-columns: 160px minmax(0, 1fr);
  margin-top: 18px;
  padding: 22px;
}

.service-caution p {
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
}

/* Hangul page */

.article-hero-hangul {
  background: #30283a;
}

.hangul-page .article-hero h1 span {
  color: #f2d08f;
  font-size: 0.72em;
}

.hangul-manuscript {
  background: #d8cab3;
}

.hangul-manuscript img {
  object-position: center;
}

.hangul-distinction,
.hangul-history-grid,
.hangul-organ-grid,
.hangul-design-split,
.hangul-number-strip,
.sound-series-grid,
.hangul-layout-grid,
.batchim-grid,
.sound-change-grid,
.hangul-practice-grid,
.hangul-culture-grid,
.hangul-resource-grid {
  display: grid;
  gap: 16px;
}

.hangul-distinction {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 18px;
}

.hangul-distinction article {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(110px, 0.36fr) minmax(0, 1fr);
  padding: 28px;
}

.hangul-distinction article > span {
  color: var(--coral);
  font-size: clamp(2.3rem, 5vw, 4.5rem);
  font-weight: 900;
  line-height: 1;
}

.hangul-distinction strong,
.hangul-table-heading h3,
.hangul-stroke-family h3,
.hangul-vowel-origin h3,
.hangul-resource-grid strong {
  font-family: Georgia, "Times New Roman", serif;
}

.hangul-distinction strong {
  font-size: 1.3rem;
}

.hangul-distinction p,
.hangul-history-grid p,
.hangul-purpose-note p,
.hangul-organ-grid p,
.hangul-stroke-family p,
.hangul-vowel-origin p,
.hangul-layout-grid p,
.hangul-unicode-note p,
.batchim-grid p,
.sound-change-grid p,
.pronunciation-caution p,
.hangul-spacing-note p,
.hangul-practice-grid p,
.hangul-culture-grid p {
  color: var(--ink-soft);
  margin-bottom: 0;
}

.hangul-distinction p {
  margin-top: 6px;
}

.hangul-history-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hangul-history-grid article,
.hangul-practice-grid article,
.hangul-culture-grid article {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}

.hangul-history-grid article {
  min-height: 300px;
}

.hangul-history-grid article > span,
.hangul-practice-grid article > span,
.hangul-culture-grid article > span,
.hangul-organ-grid article > strong,
.sound-change-grid article > span {
  color: var(--coral);
  display: block;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  margin-bottom: 34px;
  text-transform: uppercase;
}

.hangul-history-grid h3,
.hangul-practice-grid h3,
.hangul-culture-grid h3,
.sound-change-grid h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  line-height: 1.22;
}

.hangul-purpose-note,
.pronunciation-caution {
  align-items: start;
  border-radius: 8px;
  display: grid;
  gap: 22px;
  grid-template-columns: 170px minmax(0, 1fr);
  margin-top: 18px;
  padding: 24px;
}

.hangul-purpose-note {
  background: var(--paper-deep);
  border-left: 5px solid var(--brass);
}

.hangul-purpose-note strong,
.pronunciation-caution strong {
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hangul-purpose-note p,
.pronunciation-caution p {
  margin-top: 0;
}

.hangul-organ-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.hangul-organ-grid article {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 8px;
  min-height: 280px;
  padding: 24px;
}

.hangul-organ-grid article > span {
  color: #f2d08f;
  display: block;
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 38px;
}

.hangul-organ-grid article > strong {
  color: #f2d08f;
  margin-bottom: 10px;
}

.hangul-organ-grid p,
.article-section-dark .hangul-stroke-family p,
.article-section-dark .hangul-vowel-origin p,
.article-section-dark .batchim-grid p,
.article-section-dark .sound-change-grid p,
.article-section-dark .pronunciation-caution p {
  color: rgba(255, 255, 255, 0.7);
}

.hangul-design-split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.hangul-stroke-family,
.hangul-vowel-origin {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  min-height: 390px;
  padding: clamp(26px, 4vw, 42px);
}

.hangul-stroke-family h3,
.hangul-vowel-origin h3,
.hangul-table-heading h3 {
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.16;
  margin-bottom: 24px;
}

.hangul-stroke-family > div {
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 13px 0;
}

.hangul-stroke-family > div span {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 900;
}

.hangul-stroke-family > div small {
  color: rgba(255, 255, 255, 0.56);
}

.vowel-origin-symbols {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 34px 0;
}

.vowel-origin-symbols span {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  min-height: 150px;
  padding: 22px 10px;
}

.vowel-origin-symbols b {
  color: #f2d08f;
  font-size: 3.4rem;
  line-height: 1;
}

.vowel-origin-symbols small {
  color: rgba(255, 255, 255, 0.62);
  margin-top: auto;
}

.hangul-number-strip {
  background: var(--ink);
  border-radius: 8px;
  color: #fff;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 54px;
  overflow: hidden;
}

.hangul-number-strip article {
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  min-height: 160px;
  padding: 26px;
}

.hangul-number-strip article:last-child {
  border-right: 0;
}

.hangul-number-strip strong {
  color: #f2d08f;
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.3rem;
  line-height: 1;
  margin-bottom: 28px;
}

.hangul-number-strip span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hangul-table-heading {
  align-items: end;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 0.8fr) minmax(300px, 0.65fr);
  margin-bottom: 18px;
}

.hangul-table-heading h3,
.hangul-table-heading p {
  margin-bottom: 0;
}

.hangul-table-heading > p {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.hangul-table-wrap,
.hangul-sign-table-wrap {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow-x: auto;
}

.hangul-letter-table,
.hangul-sign-table {
  background: #fff;
  border-collapse: collapse;
  min-width: 780px;
  width: 100%;
}

.hangul-letter-table th,
.hangul-letter-table td,
.hangul-sign-table th,
.hangul-sign-table td {
  border-bottom: 1px solid var(--line);
  padding: 14px 18px;
  text-align: left;
  vertical-align: top;
}

.hangul-letter-table th,
.hangul-sign-table th {
  background: var(--paper-deep);
  color: var(--ink-soft);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hangul-letter-table tbody tr:last-child td,
.hangul-sign-table tbody tr:last-child td {
  border-bottom: 0;
}

.hangul-letter-table td:first-child {
  color: var(--coral);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  width: 90px;
}

.hangul-letter-table td:nth-child(2),
.hangul-sign-table td:first-child {
  font-weight: 900;
}

.hangul-letter-table td:nth-child(3) {
  color: var(--jade-dark);
  font-weight: 900;
  white-space: nowrap;
}

.hangul-sound-series,
.hangul-vowel-section,
.hangul-keyboard-section {
  border-top: 1px solid var(--line);
  margin-top: 54px;
  padding-top: 54px;
}

.sound-series-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sound-series-grid article {
  align-items: center;
  background: var(--paper-deep);
  border-radius: 8px;
  display: grid;
  gap: 7px;
  grid-template-columns: minmax(90px, 1fr) repeat(5, 34px);
  padding: 18px;
}

.sound-series-grid span {
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.sound-series-grid b {
  font-size: 1.45rem;
  text-align: center;
}

.hangul-example-line,
.keyboard-note {
  background: var(--paper-deep);
  border-left: 4px solid var(--brass);
  border-radius: 8px;
  color: var(--ink-soft);
  margin: 16px 0 0;
  padding: 16px 18px;
}

.hangul-example-line span {
  color: var(--coral);
  font-size: 1.25rem;
  font-weight: 900;
}

.hangul-table-heading-secondary {
  margin-top: 42px;
}

.hangul-vowel-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(10, minmax(0, 1fr));
}

.hangul-vowel-grid-wide {
  grid-template-columns: repeat(11, minmax(0, 1fr));
}

.hangul-vowel-grid article {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  min-height: 120px;
  padding: 17px 8px;
}

.hangul-vowel-grid b {
  color: var(--coral);
  font-size: 2.35rem;
  line-height: 1;
}

.hangul-vowel-grid span {
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 900;
  margin-top: auto;
}

.hangul-builder {
  background: var(--ink);
  border-radius: 8px;
  color: #fff;
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(220px, 0.72fr);
  overflow: hidden;
}

.hangul-builder article,
.builder-result {
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  display: grid;
  justify-items: center;
  min-height: 270px;
  padding: 28px;
}

.builder-parts {
  align-items: center;
  display: flex;
  gap: 10px;
}

.builder-parts span {
  color: #f2d08f;
  font-size: 2.25rem;
  font-weight: 900;
}

.builder-parts i,
.hangul-layout-grid i {
  color: rgba(255, 255, 255, 0.42);
  font-style: normal;
}

.builder-arrow {
  color: rgba(255, 255, 255, 0.38);
  font-size: 1.4rem;
}

.hangul-builder article > strong {
  color: #fff;
  font-size: 5rem;
  line-height: 1;
}

.hangul-builder article > small {
  color: rgba(255, 255, 255, 0.58);
  font-weight: 900;
  text-transform: uppercase;
}

.builder-result {
  background: var(--coral);
}

.builder-result span {
  font-size: clamp(3.2rem, 6vw, 5.4rem);
  font-weight: 900;
  line-height: 1;
}

.builder-result strong {
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hangul-layout-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 18px;
}

.hangul-layout-grid article {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 270px;
  padding: 24px;
}

.hangul-layout-grid article > span {
  color: var(--coral);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hangul-layout-grid article > div {
  align-items: center;
  display: flex;
  gap: 8px;
  margin: 34px 0 24px;
}

.hangul-layout-grid b {
  font-size: 1.55rem;
}

.hangul-layout-grid i {
  color: var(--line);
}

.hangul-layout-grid strong {
  color: var(--jade-dark);
  font-size: 3.5rem;
  line-height: 1;
}

.hangul-unicode-note {
  background: #fff;
  border-left: 5px solid var(--jade);
  border-radius: 8px;
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 0.55fr)) minmax(260px, 1fr);
  margin-top: 18px;
  overflow: hidden;
}

.hangul-unicode-note > div,
.hangul-unicode-note > p {
  background: rgba(240, 234, 220, 0.45);
  margin: 0;
  padding: 24px;
}

.hangul-unicode-note > div {
  display: grid;
  gap: 5px;
}

.hangul-unicode-note span {
  color: var(--coral);
  font-size: 1.5rem;
  font-weight: 900;
}

.hangul-unicode-note strong {
  font-size: 0.78rem;
  text-transform: uppercase;
}

.hangul-unicode-note > div p {
  font-size: 0.78rem;
  margin-top: 6px;
}

.hangul-unicode-note > p {
  align-items: center;
  display: flex;
}

.batchim-intro {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 8px;
  display: grid;
  gap: 30px;
  grid-template-columns: minmax(180px, 0.38fr) minmax(0, 1fr);
  margin-bottom: 18px;
  padding: 28px;
}

.batchim-intro > div {
  display: grid;
}

.batchim-intro span {
  color: #f2d08f;
  font-size: clamp(2.7rem, 5vw, 4.6rem);
  font-weight: 900;
  line-height: 1;
}

.batchim-intro strong {
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.batchim-intro p {
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
}

.batchim-grid {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.batchim-grid article {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 8px;
  min-height: 210px;
  padding: 20px;
}

.batchim-grid strong {
  color: #f2d08f;
  display: block;
  font-size: 2.7rem;
  line-height: 1;
  margin-bottom: 20px;
}

.batchim-grid span {
  display: block;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.batchim-grid p {
  font-size: 0.82rem;
  margin-top: 28px;
}

.sound-change-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.sound-change-grid article {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 8px;
  min-height: 260px;
  padding: 24px;
}

.sound-change-grid article > span {
  color: #f2d08f;
  margin-bottom: 28px;
}

.sound-change-grid h3 {
  color: #fff;
  font-size: 1.7rem;
}

.pronunciation-caution {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-left: 5px solid var(--coral);
}

.hangul-sign-table td:first-child {
  color: var(--coral);
  font-size: 1.35rem;
  white-space: nowrap;
}

.hangul-sign-table td:nth-child(2),
.hangul-sign-table td:nth-child(3) {
  font-weight: 800;
}

.hangul-spacing-note {
  align-items: center;
  background: var(--paper-deep);
  border-radius: 8px;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(320px, 0.85fr) minmax(0, 1fr);
  margin-top: 18px;
  padding: 28px;
}

.hangul-spacing-note > div {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.hangul-spacing-note > div span {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--jade-dark);
  font-size: 1.45rem;
  font-weight: 900;
  padding: 10px 12px;
}

.hangul-spacing-note > div i {
  color: var(--coral);
  font-style: normal;
  font-weight: 900;
}

.hangul-spacing-note p {
  margin-top: 0;
}

.hangul-practice-grid,
.hangul-culture-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 18px;
}

.hangul-practice-grid article,
.hangul-culture-grid article {
  min-height: 250px;
}

.hangul-keyboard {
  background: var(--ink);
  border-radius: 8px;
  overflow-x: auto;
  padding: 28px;
}

.keyboard-row {
  display: grid;
  gap: 8px;
  margin: 0 auto 8px;
  min-width: 760px;
}

.keyboard-row:last-child {
  margin-bottom: 0;
}

.keyboard-row-top {
  grid-template-columns: repeat(10, minmax(58px, 1fr));
}

.keyboard-row-home {
  grid-template-columns: repeat(9, minmax(58px, 1fr));
  padding-left: 28px;
  padding-right: 28px;
}

.keyboard-row-bottom {
  grid-template-columns: repeat(7, minmax(58px, 1fr));
  padding-left: 86px;
  padding-right: 86px;
}

.hangul-keyboard kbd {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-bottom-width: 4px;
  border-radius: 8px;
  color: #fff;
  display: grid;
  min-height: 78px;
  padding: 8px 10px;
}

.hangul-keyboard kbd small {
  color: rgba(255, 255, 255, 0.48);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.64rem;
}

.hangul-keyboard kbd b {
  color: #f2d08f;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.65rem;
  justify-self: end;
  line-height: 1;
}

.hangul-culture-grid {
  border-top: 1px solid var(--line);
  margin-top: 54px;
  padding-top: 54px;
}

.hangul-resource-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.hangul-resource-grid a {
  background: var(--jade-dark);
  border-radius: 8px;
  color: #fff;
  display: grid;
  min-height: 190px;
  padding: 24px;
  text-decoration: none;
}

.hangul-resource-grid a:hover,
.hangul-resource-grid a:focus-visible {
  background: var(--coral);
  outline: none;
}

.hangul-resource-grid span {
  color: #f2d08f;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hangul-resource-grid strong {
  align-self: end;
  font-size: 1.35rem;
  line-height: 1.2;
  margin-top: 30px;
}

.hangul-resource-grid small {
  color: rgba(255, 255, 255, 0.65);
  margin-top: 8px;
}

/* Chapter 03 · Visas & Immigration */

.article-hero-visa {
  background: #1b2b43;
}

.visa-entry-visual {
  align-content: center;
  background:
    linear-gradient(145deg, rgba(22, 50, 63, 0.97), rgba(34, 42, 72, 0.97)),
    radial-gradient(circle at 85% 15%, rgba(242, 208, 143, 0.26), transparent 34%);
  color: #fff;
  display: grid;
  gap: 16px;
  margin: 0;
  padding: clamp(38px, 5vw, 70px);
}

.visa-entry-visual figcaption {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
}

.visa-entry-visual figcaption span,
.visa-map-step small,
.visa-map-routes span {
  color: #f2d08f;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.visa-entry-visual figcaption strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 1.1;
}

.visa-map-step,
.visa-map-routes > div {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.19);
  border-radius: 8px;
  padding: 22px;
}

.visa-map-step strong,
.visa-map-routes strong {
  display: block;
  font-size: 1.08rem;
  margin: 8px 0;
}

.visa-map-step p,
.visa-map-note,
.visa-map-routes small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
  margin: 0;
}

.visa-map-connector {
  color: #f2d08f;
  font-size: 1.5rem;
  line-height: 1;
  text-align: center;
}

.visa-map-routes {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.visa-map-routes > div {
  min-height: 150px;
}

.visa-map-note {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  margin-top: 10px;
  padding-top: 18px;
}

.visa-question-grid,
.visa-term-grid,
.visa-route-grid,
.visa-rule-grid,
.visa-keta-grid,
.visa-dark-notes,
.visa-document-grid,
.visa-type-grid,
.visa-purpose-matrix {
  display: grid;
  gap: 16px;
}

.visa-question-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.visa-question-grid article,
.visa-route-grid article,
.visa-rule-grid article,
.visa-document-grid article {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}

.visa-question-grid article {
  min-height: 280px;
}

.visa-question-grid article > span,
.visa-rule-grid article > span,
.visa-document-grid article > span {
  color: var(--coral);
  display: block;
  font-size: 0.74rem;
  font-weight: 900;
  margin-bottom: 34px;
  text-transform: uppercase;
}

.visa-question-grid p,
.visa-rule-grid p,
.visa-document-grid p,
.visa-route-grid p,
.visa-term-grid p,
.visa-process p,
.visa-preflight p,
.visa-help-band p {
  color: var(--ink-soft);
  margin-bottom: 0;
}

.visa-quick-answer {
  align-items: center;
  background: var(--jade-dark);
  border-radius: 8px;
  color: #fff;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1fr) auto;
  margin-top: 18px;
  padding: 28px;
}

.visa-quick-answer > div span,
.visa-keta-grid article > span,
.visa-arrival-card > div span,
.visa-preflight > div > span,
.visa-help-band article > span {
  color: #f2d08f;
  display: block;
  font-size: 0.72rem;
  font-weight: 900;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.visa-quick-answer h3,
.visa-quick-answer p {
  margin: 0;
}

.visa-quick-answer p {
  color: rgba(255, 255, 255, 0.7);
}

.visa-quick-answer > a,
.visa-arrival-card > a {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  display: flex;
  font-weight: 900;
  gap: 20px;
  padding: 15px 18px;
  text-decoration: none;
  white-space: nowrap;
}

.visa-quick-answer > a:hover,
.visa-arrival-card > a:hover {
  background: rgba(255, 255, 255, 0.08);
}

.visa-term-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 18px;
}

.visa-term-grid article {
  border-top: 1px solid var(--line);
  padding: 24px 0;
}

.visa-term-grid strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
}

.visa-route-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.visa-route-grid article {
  min-height: 270px;
}

.visa-route-grid article > span {
  color: var(--coral);
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.8rem;
  font-weight: 900;
  margin-bottom: 38px;
}

.visa-alert {
  align-items: start;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--brass);
  border-radius: 8px;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(180px, 0.4fr) minmax(0, 1fr);
  margin-top: 18px;
  padding: 24px;
}

.visa-alert strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  line-height: 1.2;
}

.visa-alert p {
  color: var(--ink-soft);
  margin: 0;
}

.visa-alert-coral {
  background: #fff4f0;
  border-left-color: var(--coral);
}

.visa-rule-grid,
.visa-document-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 18px;
}

.visa-rule-grid article,
.visa-document-grid article {
  min-height: 250px;
}

.visa-keta-stats {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: #fff;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
}

.visa-keta-stats article {
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  display: grid;
  gap: 8px;
  min-height: 180px;
  padding: 26px;
}

.visa-keta-stats article:last-child {
  border-right: 0;
}

.visa-keta-stats span {
  color: #f2d08f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  line-height: 1;
}

.visa-keta-stats strong {
  align-self: end;
}

.visa-keta-stats small {
  color: rgba(255, 255, 255, 0.52);
}

.visa-keta-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.visa-keta-grid article,
.visa-dark-notes article {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 8px;
  padding: 24px;
}

.visa-keta-grid article {
  display: flex;
  flex-direction: column;
  min-height: 350px;
}

.visa-keta-grid p,
.visa-dark-notes p,
.visa-arrival-card p {
  color: rgba(255, 255, 255, 0.7);
}

.visa-keta-grid a {
  color: #f2d08f;
  font-size: 0.82rem;
  font-weight: 900;
  margin-top: auto;
}

.visa-dark-notes {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 18px;
}

.visa-dark-notes article {
  min-height: 210px;
}

.visa-dark-notes strong {
  color: #f2d08f;
}

.visa-dark-notes span {
  color: #fff;
  font-weight: 900;
}

.visa-arrival-card {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-left: 5px solid var(--coral);
  border-radius: 8px;
  display: grid;
  gap: 26px;
  grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1fr) auto;
  margin-top: 18px;
  padding: 26px;
}

.visa-arrival-card p {
  margin: 0;
}

.visa-table-wrap {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow-x: auto;
}

.visa-table {
  background: #fff;
  border-collapse: collapse;
  min-width: 820px;
  width: 100%;
}

.visa-table th,
.visa-table td {
  border-bottom: 1px solid var(--line);
  padding: 16px 18px;
  text-align: left;
  vertical-align: top;
}

.visa-table th {
  background: var(--paper-deep);
  color: var(--ink-soft);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.visa-table tr:last-child td {
  border-bottom: 0;
}

.visa-table td:first-child {
  color: var(--coral);
  font-weight: 900;
  white-space: nowrap;
  width: 110px;
}

.visa-table td:nth-child(2) {
  font-weight: 900;
  width: 240px;
}

.visa-table td:last-child {
  color: var(--ink-soft);
}

.visa-type-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.visa-type-grid article {
  align-items: start;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 24px;
  grid-template-columns: 74px minmax(0, 1fr);
  min-height: 210px;
  padding: 24px;
}

.visa-type-grid article > span {
  align-items: center;
  aspect-ratio: 1;
  background: var(--coral);
  border-radius: 8px;
  color: #fff;
  display: flex;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.5rem;
  font-weight: 900;
  justify-content: center;
}

.visa-type-grid p {
  color: var(--ink-soft);
  margin-bottom: 0;
}

.visa-purpose-matrix {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 18px;
}

.visa-purpose-matrix div {
  background: var(--ink);
  border-radius: 8px;
  color: #fff;
  display: grid;
  min-height: 160px;
  padding: 20px;
}

.visa-purpose-matrix span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.visa-purpose-matrix strong {
  align-self: end;
  color: #f2d08f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
}

.visa-purpose-matrix small {
  color: rgba(255, 255, 255, 0.6);
  margin-top: 7px;
}

.visa-process {
  list-style: none;
  margin: 0;
  padding: 0;
}

.visa-process li {
  align-items: start;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 22px;
  grid-template-columns: 64px minmax(0, 1fr);
  padding: 24px 0;
}

.visa-process li:last-child {
  border-bottom: 1px solid var(--line);
}

.visa-process li > span {
  color: var(--coral);
  font-weight: 900;
}

.visa-process strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
}

.visa-process p {
  margin-top: 7px;
}

.visa-preflight {
  align-items: start;
  background: var(--paper-deep);
  border-radius: 8px;
  display: grid;
  gap: clamp(28px, 5vw, 70px);
  grid-template-columns: minmax(250px, 0.58fr) minmax(0, 1fr);
  margin-top: 42px;
  padding: clamp(26px, 4vw, 42px);
}

.visa-preflight > div > span {
  color: var(--coral);
}

.visa-preflight ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 20px;
}

.visa-preflight li {
  color: var(--ink-soft);
}

.visa-help-band {
  background: var(--ink);
  color: #fff;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.visa-help-band article {
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  min-height: 190px;
  padding: 26px;
}

.visa-help-band article:last-child {
  border-right: 0;
}

.visa-help-band strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  margin: 34px 0 7px;
}

.visa-help-band p {
  color: rgba(255, 255, 255, 0.6);
}

.visa-source-list {
  max-width: 1100px;
}

/* 03-02 · Visa application process */

.article-hero-visa-process h1 {
  font-size: clamp(2.8rem, 5.7vw, 5.9rem);
}

.visa-application-visual {
  align-content: center;
  background:
    linear-gradient(145deg, rgba(35, 43, 70, 0.98), rgba(18, 55, 59, 0.98)),
    radial-gradient(circle at 88% 12%, rgba(242, 208, 143, 0.25), transparent 34%);
  color: #fff;
  display: grid;
  gap: 14px;
  margin: 0;
  padding: clamp(36px, 5vw, 68px);
}

.visa-application-visual figcaption {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.visa-application-visual figcaption span,
.application-map-start small,
.application-map-routes span {
  color: #f2d08f;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.visa-application-visual figcaption strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 2.8vw, 2.55rem);
  line-height: 1.1;
}

.application-map-start,
.application-map-routes > div {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.19);
  border-radius: 8px;
  padding: 20px;
}

.application-map-start strong,
.application-map-routes strong {
  display: block;
  font-size: 1.04rem;
  margin: 8px 0;
}

.application-map-start p,
.application-map-routes small,
.application-map-note {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.8rem;
  margin: 0;
}

.application-map-connector {
  color: #f2d08f;
  font-size: 1.45rem;
  line-height: 1;
  text-align: center;
}

.application-map-routes {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.application-map-routes > div {
  min-height: 128px;
}

.application-map-note {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  margin-top: 8px;
  padding-top: 17px;
}

.application-question-grid,
.application-route-grid,
.application-route-check,
.application-role-grid,
.application-timing-grid,
.application-issued-check,
.application-arrival-grid,
.application-mistake-grid {
  display: grid;
  gap: 16px;
}

.application-question-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.application-question-grid article,
.application-route-grid article,
.application-route-check article,
.application-timing-grid article {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}

.application-question-grid article {
  min-height: 280px;
}

.application-question-grid article > span,
.application-route-grid article > span,
.application-route-check article > span,
.application-timing-grid article > span {
  color: var(--coral);
  display: block;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  margin-bottom: 32px;
  text-transform: uppercase;
}

.application-question-grid p,
.application-route-grid p,
.application-route-check p,
.application-timing-grid p {
  color: var(--ink-soft);
  margin-bottom: 0;
}

.application-rule-band {
  align-items: start;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--brass);
  border-radius: 8px;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(200px, 0.4fr) minmax(0, 1fr);
  margin-top: 18px;
  padding: 24px;
}

.application-rule-band strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  line-height: 1.2;
}

.application-rule-band p {
  color: var(--ink-soft);
  margin: 0;
}

.application-route-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.application-route-grid article {
  display: flex;
  flex-direction: column;
  min-height: 310px;
}

.application-route-grid article > span {
  margin-bottom: 46px;
}

.application-route-grid h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
}

.application-route-grid article > strong {
  border-top: 1px solid var(--line);
  color: var(--jade-dark);
  font-size: 0.78rem;
  margin-top: auto;
  padding-top: 18px;
  text-transform: uppercase;
}

.application-confirmation-note {
  align-items: center;
  background: var(--ink);
  border-radius: 8px;
  color: #fff;
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(230px, 0.46fr) minmax(0, 1fr);
  margin-top: 18px;
  padding: 28px;
}

.application-confirmation-note > div {
  display: grid;
  gap: 8px;
}

.application-confirmation-note span {
  color: #f2d08f;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.application-confirmation-note strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
}

.application-confirmation-note p {
  color: rgba(255, 255, 255, 0.68);
  margin: 0;
}

.application-route-check {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.application-route-check article {
  min-height: 220px;
}

.application-route-check article > span {
  margin-bottom: 26px;
}

.application-timeline {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.application-timeline li {
  align-items: start;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 22px;
  grid-template-columns: 52px minmax(0, 1fr);
  min-height: 190px;
  padding: 26px;
}

.application-timeline li > span {
  color: #f2d08f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  font-weight: 900;
}

.application-timeline small {
  color: rgba(255, 255, 255, 0.48);
  display: block;
  font-size: 0.7rem;
  font-weight: 900;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.application-timeline strong {
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
}

.application-timeline p {
  color: rgba(255, 255, 255, 0.68);
  margin: 8px 0 0;
}

.application-role-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 18px;
}

.application-role-grid article {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  min-height: 250px;
  padding: 24px;
}

.application-role-grid span {
  color: #f2d08f;
  display: block;
  font-size: 0.72rem;
  font-weight: 900;
  margin-bottom: 40px;
  text-transform: uppercase;
}

.application-role-grid strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
}

.application-role-grid p {
  color: rgba(255, 255, 255, 0.66);
  margin-bottom: 0;
}

.application-document-grid article {
  min-height: 270px;
}

.application-consistency {
  align-items: start;
  background: var(--ink);
  border-radius: 8px;
  color: #fff;
  display: grid;
  gap: clamp(30px, 5vw, 76px);
  grid-template-columns: minmax(250px, 0.55fr) minmax(0, 1fr);
  margin-top: 18px;
  padding: clamp(26px, 4vw, 42px);
}

.application-consistency span {
  color: #f2d08f;
  display: block;
  font-size: 0.72rem;
  font-weight: 900;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.application-consistency ul {
  columns: 2;
  column-gap: 42px;
  margin: 0;
  padding-left: 20px;
}

.application-consistency li {
  break-inside: avoid;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 12px;
}

.application-timing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.application-timing-grid article {
  min-height: 240px;
}

.application-timing-grid article > span {
  margin-bottom: 34px;
}

.application-result-panel {
  background: var(--jade-dark);
  border-radius: 8px;
  color: #fff;
  display: grid;
  gap: 1px;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  margin-top: 42px;
  overflow: hidden;
}

.application-result-panel > div,
.application-result-panel > ol {
  background: rgba(255, 255, 255, 0.06);
  margin: 0;
  padding: clamp(26px, 4vw, 42px);
}

.application-result-panel > div {
  display: flex;
  flex-direction: column;
}

.application-result-panel > div > span {
  color: #f2d08f;
  font-size: 0.72rem;
  font-weight: 900;
  margin-bottom: 32px;
  text-transform: uppercase;
}

.application-result-panel h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
}

.application-result-panel > div p,
.application-result-panel li p {
  color: rgba(255, 255, 255, 0.68);
}

.application-result-panel a {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  display: flex;
  font-weight: 900;
  gap: 18px;
  justify-content: space-between;
  margin-top: auto;
  padding: 15px 18px;
  text-decoration: none;
}

.application-result-panel ol {
  list-style: none;
}

.application-result-panel li {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 18px 0;
}

.application-result-panel li:first-child {
  border-top: 0;
  padding-top: 0;
}

.application-result-panel li:last-child {
  padding-bottom: 0;
}

.application-result-panel li span {
  color: #f2d08f;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.application-result-panel li p {
  margin: 6px 0 0;
}

.application-issued-check {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: 18px;
}

.application-issued-check div {
  background: var(--paper-deep);
  border-radius: 8px;
  display: grid;
  min-height: 150px;
  padding: 20px;
}

.application-issued-check span {
  color: var(--coral);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.application-issued-check strong {
  align-self: end;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
}

.application-issued-check small {
  color: var(--ink-soft);
  margin-top: 5px;
}

.application-arrival-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.application-arrival-grid article,
.application-mistake-grid article {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  min-height: 270px;
  padding: 24px;
}

.application-arrival-grid span,
.application-mistake-grid span {
  color: #f2d08f;
  display: block;
  font-size: 0.72rem;
  font-weight: 900;
  margin-bottom: 38px;
  text-transform: uppercase;
}

.application-arrival-grid h3,
.application-mistake-grid strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
}

.application-arrival-grid p,
.application-mistake-grid p {
  color: rgba(255, 255, 255, 0.68);
  margin-bottom: 0;
}

.application-registration {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-left: 5px solid var(--coral);
  border-radius: 8px;
  display: grid;
  gap: 26px;
  grid-template-columns: minmax(240px, 0.55fr) minmax(0, 1fr) auto;
  margin-top: 18px;
  padding: 26px;
}

.application-registration > div {
  display: grid;
  gap: 7px;
}

.application-registration > div span {
  color: #f2d08f;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.application-registration p {
  color: rgba(255, 255, 255, 0.68);
  margin: 0;
}

.application-registration a {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  display: flex;
  font-weight: 900;
  gap: 18px;
  padding: 15px 18px;
  text-decoration: none;
  white-space: nowrap;
}

.application-mistake-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.application-mistake-grid article {
  min-height: 230px;
}

.application-mistake-grid span {
  margin-bottom: 30px;
}

.application-help-band {
  margin-top: 18px;
}

/* 03-03 · Leaving Korea while a stay application is pending */

.article-hero-visa-pending h1 {
  font-size: clamp(2.65rem, 5.2vw, 5.35rem);
}

.visa-pending-visual {
  background:
    linear-gradient(145deg, rgba(27, 43, 67, 0.98), rgba(34, 53, 49, 0.98)),
    radial-gradient(circle at 86% 12%, rgba(239, 109, 99, 0.24), transparent 34%);
}

.pending-map-routes {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pending-map-routes > div {
  min-height: 145px;
}

.pending-scenario-table {
  min-width: 980px;
}

.pending-scenario-table td:first-child {
  white-space: normal;
  width: 220px;
}

.pending-scenario-table td:nth-child(2) {
  width: 250px;
}

.pending-scenario-table td:nth-child(3) {
  width: 280px;
}

.pending-reentry-baseline > div p {
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 920px) {
  .pending-map-routes {
    grid-template-columns: 1fr;
  }

  .pending-map-routes > div {
    min-height: auto;
  }
}

/* 03-04 · Reporting change of address */

.article-hero-visa-address h1 {
  font-size: clamp(2.8rem, 5.6vw, 5.7rem);
}

.visa-address-visual {
  background:
    linear-gradient(145deg, rgba(28, 47, 68, 0.98), rgba(31, 61, 55, 0.98)),
    radial-gradient(circle at 86% 12%, rgba(242, 208, 143, 0.24), transparent 34%);
}

.address-map-routes {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.address-map-routes > div {
  min-height: 145px;
}

.address-reporting-table {
  min-width: 940px;
}

.address-reporting-table td:first-child {
  white-space: normal;
  width: 220px;
}

.address-channel-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.address-channel-grid article {
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
}

.address-proof-grid article,
.address-special-grid article {
  background: rgba(255, 255, 255, 0.76);
  border-color: var(--line);
  color: var(--ink);
}

.address-proof-grid span,
.address-special-grid span {
  color: var(--coral);
}

.address-proof-grid p,
.address-special-grid p {
  color: var(--ink-soft);
}

@media (max-width: 920px) {
  .address-map-routes,
  .address-channel-grid {
    grid-template-columns: 1fr;
  }

  .address-map-routes > div {
    min-height: auto;
  }
}

/* 03-05 · Visa extension, expiration, overstay, and penalties */

/* Light-surface contrast guardrails */

.visa-question-grid article,
.visa-route-grid article,
.visa-rule-grid article,
.visa-document-grid article,
.visa-type-grid article,
.application-question-grid article,
.application-route-grid article,
.application-route-check article,
.application-timing-grid article,
.application-rule-band,
.application-issued-check div,
.visa-alert,
.visa-table,
.visa-preflight {
  color: var(--ink);
}

.visa-compliance-page .article-section:not(.article-section-dark) .application-registration,
.visa-compliance-page .article-section:not(.article-section-dark) .application-timeline li,
.visa-compliance-page .article-section:not(.article-section-dark) .application-mistake-grid article {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  color: var(--ink);
}

.visa-compliance-page .article-section:not(.article-section-dark) .application-registration {
  border-left: 5px solid var(--coral);
}

.visa-compliance-page .article-section:not(.article-section-dark) .application-registration > div span,
.visa-compliance-page .article-section:not(.article-section-dark) .application-timeline li > span,
.visa-compliance-page .article-section:not(.article-section-dark) .application-mistake-grid span {
  color: var(--coral);
}

.visa-compliance-page .article-section:not(.article-section-dark) .application-registration p,
.visa-compliance-page .article-section:not(.article-section-dark) .application-timeline small,
.visa-compliance-page .article-section:not(.article-section-dark) .application-timeline p,
.visa-compliance-page .article-section:not(.article-section-dark) .application-mistake-grid p {
  color: var(--ink-soft);
}

.visa-compliance-page .article-section:not(.article-section-dark) .application-timeline strong {
  color: var(--ink);
}

.visa-compliance-page .article-section:not(.article-section-dark) .application-registration a {
  border-color: var(--line);
  color: var(--jade-dark);
}

.visa-compliance-page .compliance-expiry-routes article,
.visa-compliance-page .compliance-action-grid article {
  background: rgba(255, 255, 255, 0.94);
}

/* 04-01 · Housing types and rental systems */

.housing-hero {
  background: #203b35;
}

.housing-choice-visual {
  background:
    linear-gradient(145deg, rgba(31, 59, 53, 0.98), rgba(57, 48, 38, 0.98)),
    radial-gradient(circle at 86% 12%, rgba(242, 208, 143, 0.28), transparent 34%);
}

.housing-payment-step {
  border-left: 4px solid rgba(239, 109, 99, 0.72);
}

.housing-map-routes {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.housing-map-routes > div {
  min-height: 150px;
}

.housing-type-grid article {
  min-height: 390px;
}

.housing-type-grid article > strong {
  line-height: 1.5;
}

.housing-type-table,
.housing-fit-table {
  min-width: 1080px;
}

.housing-type-table td:first-child,
.housing-fit-table td:first-child,
.housing-rental-table td:first-child {
  white-space: normal;
  width: 170px;
}

.housing-type-table td:nth-child(2),
.housing-fit-table td:nth-child(2),
.housing-rental-table td:nth-child(2) {
  width: 230px;
}

.housing-rental-comparison {
  margin-top: 18px;
}

.housing-rental-table {
  min-width: 940px;
}

.housing-rental-table td:nth-child(3) {
  font-weight: 900;
  width: 190px;
}

.housing-rental-table td:last-child,
.housing-fit-table td:last-child,
.housing-type-table td:last-child {
  color: var(--ink-soft);
}

.housing-cost-formula {
  margin-top: 42px;
}

.housing-fit-table td:nth-child(3) {
  width: 300px;
}

.housing-help-band strong {
  overflow-wrap: anywhere;
}

/* 04-02 · Preparing for house tour visits */

.housing-tour-hero {
  background: #263c37;
}

.housing-tour-visual {
  background:
    linear-gradient(145deg, rgba(32, 59, 53, 0.98), rgba(65, 50, 39, 0.98)),
    radial-gradient(circle at 86% 12%, rgba(239, 109, 99, 0.24), transparent 34%);
}

.housing-tour-entry-step {
  border-left: 4px solid rgba(239, 109, 99, 0.72);
}

.home-tour-priority-grid article,
.home-tour-building-grid article {
  min-height: 265px;
}

.home-tour-room-grid article {
  min-height: 370px;
}

.home-tour-room-grid h3 {
  margin-bottom: 14px;
}

.home-tour-room-grid ul {
  color: var(--ink-soft);
  margin: 0;
  padding-left: 19px;
}

.home-tour-room-grid li {
  margin-bottom: 9px;
}

.home-tour-room-grid li:last-child {
  margin-bottom: 0;
}

.home-tour-area-table,
.home-tour-score-table {
  min-width: 980px;
}

.home-tour-area-table td:first-child,
.home-tour-score-table td:first-child {
  white-space: normal;
  width: 180px;
}

.home-tour-area-table td:nth-child(2) {
  width: 300px;
}

.home-tour-score-table td:nth-child(2),
.home-tour-score-table td:nth-child(3) {
  font-weight: 900;
  width: 160px;
}

.home-tour-area-table td:last-child,
.home-tour-score-table td:last-child {
  color: var(--ink-soft);
}

.home-tour-checklist .progress-panel {
  background: #263c37;
}

.home-tour-checklist .check-group {
  min-height: 290px;
}

@media (max-width: 920px) {
  .home-tour-room-grid article,
  .home-tour-priority-grid article,
  .home-tour-building-grid article {
    min-height: auto;
  }
}

/* 04-03 · Utilities, management fees, and recurring housing costs */

.housing-costs-hero {
  background: #233b36;
}

.housing-costs-visual {
  background:
    linear-gradient(145deg, rgba(29, 57, 51, 0.98), rgba(66, 49, 37, 0.98)),
    radial-gradient(circle at 88% 10%, rgba(239, 109, 99, 0.26), transparent 34%);
}

.housing-costs-billing-step {
  border-left: 4px solid rgba(239, 109, 99, 0.72);
}

.housing-cost-layer-grid article {
  min-height: 290px;
}

.housing-utility-grid article {
  min-height: 410px;
}

.housing-utility-grid ul {
  color: var(--ink-soft);
  margin: 16px 0 0;
  padding-left: 19px;
}

.housing-utility-grid li {
  margin-bottom: 8px;
}

.housing-utility-grid li:last-child {
  margin-bottom: 0;
}

.housing-season-table,
.housing-type-cost-table,
.housing-payer-table {
  min-width: 980px;
}

.housing-season-table td:first-child,
.housing-type-cost-table td:first-child,
.housing-payer-table td:first-child {
  white-space: normal;
  width: 180px;
}

.housing-season-table td:last-child,
.housing-type-cost-table td:last-child,
.housing-payer-table td:last-child {
  color: var(--ink-soft);
}

.housing-cost-property-grid article {
  min-height: 350px;
}

.housing-cost-property-grid article > strong {
  color: var(--coral);
  display: block;
  margin-top: auto;
  padding-top: 18px;
}

.housing-periodic-grid article {
  min-height: 245px;
}

.housing-cost-checklist .progress-panel {
  background: #233b36;
}

.housing-cost-checklist .check-group {
  min-height: 290px;
}

@media (max-width: 920px) {
  .housing-cost-layer-grid article,
  .housing-utility-grid article,
  .housing-cost-property-grid article,
  .housing-periodic-grid article {
    min-height: auto;
  }
}

/* 04-04 · Maintenance responsibilities, pets, and smoking rules */

.housing-maintenance-hero {
  background: #293a36;
}

.housing-maintenance-visual {
  background:
    linear-gradient(145deg, rgba(34, 57, 52, 0.98), rgba(66, 48, 38, 0.98)),
    radial-gradient(circle at 86% 12%, rgba(239, 109, 99, 0.28), transparent 35%);
}

.housing-maintenance-report-step {
  border-left: 4px solid rgba(239, 109, 99, 0.74);
}

.maintenance-responsibility-grid article {
  min-height: 315px;
}

.maintenance-contact-grid article {
  min-height: 255px;
}

.maintenance-prevention-grid article {
  min-height: 390px;
}

.maintenance-prevention-grid ul {
  color: var(--ink-soft);
  margin: 16px 0 0;
  padding-left: 19px;
}

.maintenance-prevention-grid li {
  margin-bottom: 8px;
}

.maintenance-prevention-grid li:last-child {
  margin-bottom: 0;
}

.maintenance-risk-table,
.maintenance-settlement-table,
.smoking-location-table {
  min-width: 980px;
}

.maintenance-risk-table td:first-child,
.maintenance-settlement-table td:first-child,
.smoking-location-table td:first-child {
  white-space: normal;
  width: 180px;
}

.maintenance-risk-table td:last-child,
.maintenance-settlement-table td:last-child,
.smoking-location-table td:last-child {
  color: var(--ink-soft);
}

.maintenance-settlement-grid article,
.pet-permission-grid article {
  min-height: 285px;
}

.pet-living-grid article {
  min-height: 315px;
}

.pet-red-flag-grid article,
.smoking-damage-grid article {
  min-height: 235px;
}

.maintenance-rules-checklist .progress-panel {
  background: #293a36;
}

.maintenance-rules-checklist .check-group {
  min-height: 290px;
}

@media (max-width: 920px) {
  .maintenance-responsibility-grid article,
  .maintenance-contact-grid article,
  .maintenance-prevention-grid article,
  .maintenance-settlement-grid article,
  .pet-permission-grid article,
  .pet-living-grid article,
  .pet-red-flag-grid article,
  .smoking-damage-grid article {
    min-height: auto;
  }
}

/* 05-01 · Public transportation overview */

.transit-hero {
  background: #17333b;
  grid-template-columns: minmax(0, 1.03fr) minmax(430px, 0.97fr);
}

.transit-hero .article-hero-copy {
  min-width: 0;
}

.transit-hero h1 {
  font-size: clamp(3.1rem, 5vw, 5rem);
  max-width: 100%;
}

.transit-hero-gallery {
  background: #0c2228;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(180px, 0.75fr);
  grid-template-rows: repeat(2, minmax(220px, 1fr)) auto;
  margin: 0;
  min-height: 100%;
  overflow: hidden;
}

.transit-hero-image {
  min-height: 220px;
  overflow: hidden;
  position: relative;
}

.transit-hero-image-main {
  grid-row: 1 / 3;
}

.transit-hero-image img {
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease;
  width: 100%;
}

.transit-hero-image-main img {
  object-position: 53% center;
}

.transit-hero-image:nth-child(2) img {
  object-position: 55% center;
}

.transit-hero-image::after {
  background: linear-gradient(transparent 45%, rgba(10, 23, 28, 0.78));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.transit-hero-image > span {
  bottom: 16px;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 900;
  left: 18px;
  letter-spacing: 0.06em;
  position: absolute;
  text-transform: uppercase;
  z-index: 1;
}

.transit-hero-gallery figcaption {
  background: var(--paper);
  color: var(--ink);
  display: grid;
  gap: 5px;
  grid-column: 1 / -1;
  padding: 22px 26px;
}

.transit-hero-gallery figcaption strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.28rem;
}

.transit-hero-gallery figcaption span {
  color: var(--ink-soft);
  font-size: 0.84rem;
}

.transit-quick-answer {
  margin: 0 0 18px;
}

.transit-network-map {
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 1px;
  grid-template-columns: minmax(0, 1fr) minmax(140px, 0.3fr) minmax(0, 1fr);
  margin: 18px 0;
  overflow: hidden;
}

.transit-network-column {
  background: #fff;
  display: flex;
  flex-direction: column;
  min-height: 330px;
  padding: clamp(26px, 3vw, 38px);
}

.transit-network-column > span,
.transit-intercity-feature > div > span,
.transit-resource-panel > div:first-child > span,
.transit-help-card > span {
  color: var(--coral);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.transit-network-column > strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 2.5vw, 2.25rem);
  line-height: 1.15;
  margin: 14px 0 22px;
}

.transit-network-column ul {
  color: var(--ink-soft);
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 19px;
}

.transit-network-column small {
  border-top: 1px solid var(--line);
  color: var(--jade-dark);
  font-weight: 900;
  margin-top: auto;
  padding-top: 18px;
}

.transit-network-bridge {
  align-content: center;
  background: var(--ink);
  color: #fff;
  display: grid;
  gap: 16px;
  justify-items: center;
  padding: 24px 18px;
  text-align: center;
}

.transit-network-bridge span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.7rem;
  font-weight: 900;
  line-height: 1.55;
  text-transform: uppercase;
}

.transit-network-bridge b {
  color: #f2d08f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.2rem;
}

.transit-mode-table-wrap,
.transit-intercity-table-wrap {
  margin-top: 18px;
}

.transit-regional-note {
  margin-top: 18px;
}

.transit-payment-layout {
  align-items: stretch;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(300px, 0.68fr) minmax(0, 1.32fr);
}

.transit-card-figure {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  margin: 0;
  overflow: hidden;
}

.transit-card-figure > div {
  align-items: center;
  background:
    radial-gradient(circle at 22% 12%, rgba(181, 82, 68, 0.14), transparent 34%),
    #dce7e5;
  display: flex;
  flex: 1;
  justify-content: center;
  min-height: 430px;
  padding: clamp(24px, 4vw, 50px);
}

.transit-card-figure img {
  filter: drop-shadow(0 20px 25px rgba(21, 23, 25, 0.2));
  height: auto;
  max-height: 300px;
  object-fit: contain;
  width: min(100%, 420px);
}

.transit-card-figure figcaption {
  display: grid;
  gap: 7px;
  padding: 22px 24px;
}

.transit-card-figure figcaption strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
}

.transit-card-figure figcaption span {
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.transit-tap-flow {
  counter-reset: transit-tap;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.transit-tap-flow li {
  align-items: start;
  background: var(--jade-dark);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: #fff;
  display: grid;
  gap: 18px;
  grid-template-columns: 42px minmax(0, 1fr);
  min-height: 224px;
  padding: 24px;
}

.transit-tap-flow li > span {
  color: #f2d08f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.42rem;
  font-weight: 900;
}

.transit-tap-flow small {
  color: rgba(255, 255, 255, 0.5);
  display: block;
  font-size: 0.7rem;
  font-weight: 900;
  margin-bottom: 7px;
  text-transform: uppercase;
}

.transit-tap-flow strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.22rem;
  line-height: 1.2;
}

.transit-tap-flow p {
  color: rgba(255, 255, 255, 0.66);
  margin: 9px 0 0;
}

.transit-payment-grid,
.transit-intercity-notes {
  margin-top: 18px;
}

.transit-payment-grid article,
.transit-intercity-notes article {
  min-height: 275px;
}

.transit-card-alert,
.transit-transfer-band {
  margin-top: 18px;
}

.transit-transfer-band {
  grid-template-columns: minmax(170px, 0.33fr) minmax(0, 1fr);
}

.transit-city-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.article-section-dark .transit-city-grid article,
.article-section-dark .transit-access-grid article {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.article-section-dark .transit-city-grid article > span,
.article-section-dark .transit-access-grid article > span {
  color: #f2d08f;
}

.article-section-dark .transit-city-grid p,
.article-section-dark .transit-access-grid p {
  color: rgba(255, 255, 255, 0.68);
}

.article-section-dark .transit-city-grid article > strong {
  border-color: rgba(255, 255, 255, 0.18);
  color: #f2d08f;
}

.transit-subway-checks {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 18px;
  overflow: hidden;
}

.transit-subway-checks > div {
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  display: grid;
  gap: 6px;
  min-height: 150px;
  padding: 22px;
}

.transit-subway-checks > div:last-child {
  border-right: 0;
}

.transit-subway-checks span {
  color: #f2d08f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
}

.transit-subway-checks strong {
  align-self: end;
}

.transit-subway-checks small {
  color: rgba(255, 255, 255, 0.58);
}

.transit-last-service-note,
.transit-emergency-note {
  background: rgba(9, 20, 24, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.16);
  margin-top: 18px;
}

.transit-intercity-feature {
  align-items: stretch;
  background: var(--ink);
  border-radius: 8px;
  color: #fff;
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(320px, 0.78fr);
  margin-bottom: 18px;
  overflow: hidden;
}

.transit-intercity-feature figure {
  background: #dce7e5;
  display: flex;
  flex-direction: column;
  margin: 0;
}

.transit-intercity-feature figure img {
  flex: 1;
  min-height: 430px;
  object-fit: cover;
  width: 100%;
}

.transit-intercity-feature figcaption {
  background: var(--paper);
  color: var(--ink);
  display: grid;
  gap: 5px;
  padding: 20px 24px;
}

.transit-intercity-feature figcaption strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
}

.transit-intercity-feature figcaption span {
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.transit-intercity-feature > div {
  align-content: center;
  display: grid;
  padding: clamp(28px, 4vw, 48px);
}

.transit-intercity-feature > div > span {
  color: #f2d08f;
}

.transit-intercity-feature h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  line-height: 1.15;
  margin: 14px 0 22px;
}

.transit-intercity-feature ul {
  color: rgba(255, 255, 255, 0.7);
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
}

.transit-app-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.transit-app-grid article {
  min-height: 330px;
}

.transit-resource-panel {
  align-items: stretch;
  background: var(--jade-dark);
  border-radius: 8px;
  color: #fff;
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(250px, 0.58fr) minmax(0, 1fr);
  margin-top: 18px;
  padding: clamp(26px, 4vw, 42px);
}

.transit-resource-panel h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 2.8vw, 2.35rem);
  line-height: 1.15;
  margin: 12px 0;
}

.transit-resource-panel p {
  color: rgba(255, 255, 255, 0.68);
  margin-bottom: 0;
}

.transit-resource-links {
  display: grid;
  gap: 10px;
}

.transit-resource-links a {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  display: flex;
  font-weight: 900;
  justify-content: space-between;
  padding: 16px 18px;
  text-decoration: none;
}

.transit-resource-links a:hover {
  background: rgba(255, 255, 255, 0.08);
}

.transit-resource-links span {
  color: #f2d08f;
}

.transit-access-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.transit-etiquette-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.transit-etiquette-grid article {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 8px;
  min-height: 210px;
  padding: 24px;
}

.transit-etiquette-grid span {
  color: #f2d08f;
  display: block;
  font-size: 0.72rem;
  font-weight: 900;
  margin-bottom: 28px;
  text-transform: uppercase;
}

.transit-etiquette-grid strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.28rem;
  line-height: 1.2;
}

.transit-etiquette-grid p {
  color: rgba(255, 255, 255, 0.66);
  margin-bottom: 0;
}

.transit-help-layout {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  margin-top: 18px;
}

.transit-help-card {
  background: #fff;
  border-radius: 8px;
  color: var(--ink);
  padding: clamp(26px, 4vw, 40px);
}

.transit-help-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 2.7vw, 2.2rem);
  line-height: 1.15;
  margin: 12px 0 20px;
}

.transit-help-card ul {
  color: var(--ink-soft);
  display: grid;
  gap: 8px;
  padding-left: 19px;
}

.transit-help-card a {
  color: var(--jade-dark);
  display: inline-flex;
  font-weight: 900;
  gap: 10px;
  margin-top: 8px;
}

.transit-emergency-grid {
  display: grid;
  gap: 8px;
}

.transit-emergency-grid a {
  align-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  display: grid;
  gap: 3px;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 118px;
  padding: 20px 22px;
  text-decoration: none;
}

.transit-emergency-grid a:hover {
  background: rgba(255, 255, 255, 0.13);
}

.transit-emergency-grid span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.transit-emergency-grid strong {
  color: #f2d08f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  grid-row: 1 / 3;
  grid-column: 2;
}

.transit-emergency-grid small {
  color: rgba(255, 255, 255, 0.52);
}

.transit-chapter-nav {
  grid-template-columns: 1fr;
}

@media (max-width: 1180px) {
  .transit-hero {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
  }

  .transit-payment-layout,
  .transit-intercity-feature {
    grid-template-columns: 1fr;
  }

  .transit-card-figure > div {
    min-height: 360px;
  }

  .transit-access-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .transit-hero {
    grid-template-columns: 1fr;
  }

  .transit-hero-gallery {
    min-height: 620px;
  }

  .transit-network-map,
  .transit-resource-panel,
  .transit-help-layout {
    grid-template-columns: 1fr;
  }

  .transit-network-bridge {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 100px;
  }

  .transit-network-bridge b {
    transform: rotate(90deg);
  }

  .transit-city-grid,
  .transit-app-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .transit-subway-checks {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .transit-subway-checks > div:nth-child(3) {
    border-right: 0;
  }

  .transit-subway-checks > div:nth-child(-n + 3) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .transit-etiquette-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .transit-hero-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: minmax(300px, 1fr) minmax(180px, 0.55fr) auto;
    min-height: 650px;
  }

  .transit-hero-image-main {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .transit-network-column {
    min-height: auto;
  }

  .transit-tap-flow,
  .transit-city-grid,
  .transit-app-grid,
  .transit-access-grid,
  .transit-etiquette-grid {
    grid-template-columns: 1fr;
  }

  .transit-tap-flow li,
  .transit-payment-grid article,
  .transit-intercity-notes article,
  .transit-etiquette-grid article {
    min-height: auto;
  }

  .transit-transfer-band {
    grid-template-columns: 1fr;
  }

  .transit-subway-checks {
    grid-template-columns: 1fr;
  }

  .transit-subway-checks > div,
  .transit-subway-checks > div:nth-child(3) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    border-right: 0;
    min-height: 112px;
  }

  .transit-subway-checks > div:last-child {
    border-bottom: 0;
  }

  .transit-intercity-feature figure img {
    min-height: 310px;
  }

  .transit-emergency-grid a {
    min-height: 105px;
  }
}

@media (max-width: 920px) {
  .housing-map-routes {
    grid-template-columns: 1fr;
  }

  .housing-map-routes > div,
  .housing-type-grid article {
    min-height: auto;
  }
}

@media (max-width: 1180px) {
  .application-question-grid,
  .application-role-grid,
  .application-arrival-grid,
  .application-issued-check {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .application-registration {
    grid-template-columns: minmax(240px, 0.55fr) minmax(0, 1fr);
  }

  .application-registration a {
    grid-column: 1 / -1;
    justify-content: space-between;
  }
}

@media (max-width: 920px) {
  .application-result-panel {
    grid-template-columns: 1fr;
  }

  .application-timing-grid,
  .application-mistake-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .visa-application-visual {
    padding: 34px 20px;
  }

  .application-map-routes,
  .application-question-grid,
  .application-route-grid,
  .application-route-check,
  .application-timeline,
  .application-role-grid,
  .application-rule-band,
  .application-confirmation-note,
  .application-consistency,
  .application-timing-grid,
  .application-issued-check,
  .application-arrival-grid,
  .application-registration,
  .application-mistake-grid {
    grid-template-columns: 1fr;
  }

  .application-map-routes > div,
  .application-question-grid article,
  .application-route-grid article,
  .application-route-check article,
  .application-role-grid article,
  .application-timing-grid article,
  .application-arrival-grid article,
  .application-mistake-grid article {
    min-height: auto;
  }

  .application-consistency ul {
    columns: 1;
  }

  .application-registration a {
    grid-column: auto;
    white-space: normal;
  }
}

@media (max-width: 1180px) {
  .visa-question-grid,
  .visa-rule-grid,
  .visa-document-grid,
  .visa-dark-notes,
  .visa-purpose-matrix {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .visa-quick-answer,
  .visa-arrival-card {
    grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1fr);
  }

  .visa-quick-answer > a,
  .visa-arrival-card > a {
    grid-column: 1 / -1;
    justify-content: space-between;
  }
}

@media (max-width: 920px) {
  .visa-term-grid,
  .visa-keta-stats,
  .visa-keta-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .visa-keta-stats article:nth-child(2) {
    border-right: 0;
  }

  .visa-keta-stats article:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }
}

@media (max-width: 760px) {
  .visa-map-routes,
  .visa-question-grid,
  .visa-term-grid,
  .visa-route-grid,
  .visa-rule-grid,
  .visa-keta-stats,
  .visa-keta-grid,
  .visa-dark-notes,
  .visa-document-grid,
  .visa-type-grid,
  .visa-purpose-matrix,
  .visa-help-band,
  .visa-preflight,
  .visa-alert,
  .visa-quick-answer,
  .visa-arrival-card {
    grid-template-columns: 1fr;
  }

  .visa-entry-visual {
    padding: 34px 20px;
  }

  .visa-map-routes > div,
  .visa-question-grid article,
  .visa-route-grid article,
  .visa-rule-grid article,
  .visa-keta-grid article,
  .visa-dark-notes article,
  .visa-document-grid article,
  .visa-type-grid article,
  .visa-help-band article {
    min-height: auto;
  }

  .visa-quick-answer > a,
  .visa-arrival-card > a {
    grid-column: auto;
    white-space: normal;
  }

  .visa-keta-stats article,
  .visa-keta-stats article:nth-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    border-right: 0;
    min-height: 150px;
  }

  .visa-keta-stats article:last-child {
    border-bottom: 0;
  }

  .visa-type-grid article {
    grid-template-columns: 62px minmax(0, 1fr);
  }

  .visa-help-band article {
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    border-right: 0;
  }

  .visa-help-band article:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 1180px) {
  .hangul-history-grid,
  .hangul-layout-grid,
  .hangul-practice-grid,
  .hangul-culture-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hangul-organ-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .batchim-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .hangul-vowel-grid,
  .hangul-vowel-grid-wide {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .sound-series-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1040px) {
  .hangul-distinction,
  .hangul-design-split,
  .hangul-table-heading,
  .hangul-spacing-note {
    grid-template-columns: 1fr;
  }

  .hangul-number-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hangul-number-strip article:nth-child(2) {
    border-right: 0;
  }

  .hangul-number-strip article:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .hangul-builder {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .builder-result {
    grid-column: 1 / -1;
    min-height: 210px;
  }

  .hangul-unicode-note {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hangul-unicode-note > p {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .hangul-history-grid,
  .hangul-organ-grid,
  .hangul-design-split,
  .hangul-layout-grid,
  .sound-change-grid,
  .hangul-practice-grid,
  .hangul-culture-grid,
  .hangul-resource-grid {
    grid-template-columns: 1fr;
  }

  .hangul-distinction article {
    grid-template-columns: 1fr;
  }

  .hangul-history-grid article,
  .hangul-organ-grid article,
  .hangul-practice-grid article,
  .hangul-culture-grid article,
  .sound-change-grid article {
    min-height: auto;
  }

  .hangul-organ-grid article > span,
  .hangul-history-grid article > span,
  .hangul-practice-grid article > span,
  .hangul-culture-grid article > span,
  .sound-change-grid article > span {
    margin-bottom: 22px;
  }

  .hangul-vowel-grid,
  .hangul-vowel-grid-wide {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .hangul-builder {
    grid-template-columns: 1fr;
  }

  .builder-result {
    grid-column: auto;
  }

  .hangul-builder article,
  .builder-result {
    min-height: 230px;
  }

  .hangul-unicode-note {
    grid-template-columns: 1fr;
  }

  .hangul-unicode-note > p {
    grid-column: auto;
  }

  .batchim-intro,
  .hangul-purpose-note,
  .pronunciation-caution {
    grid-template-columns: 1fr;
  }

  .batchim-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .batchim-grid article {
    min-height: 190px;
  }

  .hangul-keyboard {
    padding: 18px;
  }
}

@media (max-width: 520px) {
  .hangul-number-strip {
    grid-template-columns: 1fr;
  }

  .hangul-number-strip article,
  .hangul-number-strip article:nth-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    border-right: 0;
    min-height: 130px;
  }

  .hangul-number-strip article:last-child {
    border-bottom: 0;
  }

  .hangul-vowel-grid,
  .hangul-vowel-grid-wide {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hangul-vowel-grid article {
    min-height: 104px;
  }

  .sound-series-grid article {
    gap: 5px;
    grid-template-columns: 1fr repeat(5, 28px);
    padding: 14px;
  }

  .sound-series-grid b {
    font-size: 1.25rem;
  }

  .hangul-spacing-note {
    padding: 20px;
  }
}

.admin-body {
  min-height: 100vh;
}

.admin-header {
  align-items: center;
  background: rgba(251, 248, 240, 0.94);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 20px;
  justify-content: space-between;
  min-height: 76px;
  padding: 14px clamp(18px, 5vw, 64px);
}

.admin-header img {
  height: 52px;
  width: auto;
}

.admin-header .admin-preview-link {
  background: var(--ink);
  border-radius: 8px;
  color: #fff;
  font-weight: 900;
  min-height: 42px;
  padding: 10px 16px;
  text-decoration: none;
}

.admin-main {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(320px, 0.8fr) minmax(320px, 1fr);
  padding: 56px clamp(18px, 5vw, 64px);
}

.admin-panel {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(22px, 3vw, 32px);
}

.admin-panel h1 {
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  margin-bottom: 14px;
}

.admin-panel h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  margin-bottom: 16px;
}

.admin-panel > p {
  color: var(--ink-soft);
}

.admin-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 28px 0 18px;
}

.admin-grid label:first-child {
  grid-column: 1 / -1;
}

.admin-stack {
  margin-top: 18px;
}

.admin-panel label,
.admin-stack,
.admin-note {
  color: var(--ink-soft);
  display: grid;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 900;
}

.admin-panel input,
.admin-panel select,
.admin-panel textarea {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  min-height: 48px;
  padding: 12px 14px;
  width: 100%;
}

.admin-panel textarea {
  min-height: 190px;
  resize: vertical;
}

.admin-note {
  background: var(--paper-deep);
  border: 1px solid var(--line);
  border-radius: 8px;
  justify-content: center;
  min-height: 48px;
  padding: 12px 14px;
}

.admin-note strong {
  color: var(--ink);
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.admin-actions .button-primary {
  background: var(--jade-dark);
  color: #fff;
}

.admin-actions .button-secondary {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}

.admin-actions .button:disabled {
  cursor: not-allowed;
  opacity: 0.44;
}

.admin-status {
  color: var(--ink-soft);
  font-weight: 900;
  min-height: 24px;
  padding-top: 16px;
}

.admin-status[data-tone="error"] {
  color: var(--coral);
}

.admin-status[data-tone="success"] {
  color: var(--jade-dark);
}

[hidden],
.is-hidden {
  display: none !important;
}

@media (max-width: 1180px) {
  .header-search-link {
    padding: 0;
    width: 40px;
  }

  .header-search-link span {
    display: none;
  }
}

@media (max-width: 1040px) {
  .admin-main,
  .contents-hero,
  .guide-intro,
  .source-section,
  .article-hero,
  .content-split {
    grid-template-columns: 1fr;
  }

  .admin-grid,
  .info-grid,
  .checklist-groups,
  .neighborhood-grid,
  .split-grid,
  .phrase-grid,
  .support-grid,
  .fact-grid,
  .terrain-grid,
  .industry-grid,
  .relations-grid,
  .context-grid,
  .turning-points,
  .republic-phases,
  .living-history-grid,
  .government-branch-grid,
  .government-terms,
  .oversight-grid,
  .upper-level-grid,
  .resident-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .checklist-layout {
    grid-template-columns: 1fr;
  }

  .contents-copy {
    position: static;
  }

  .article-hero-visual > img {
    max-height: 620px;
    min-height: 460px;
  }

  .flag-visual {
    min-height: 560px;
  }

  .article-jumpnav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .stat-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat-band article:nth-child(2) {
    border-right: 0;
  }

  .stat-band article:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .content-split {
    align-items: stretch;
  }

  .government-branch-grid article {
    min-height: 370px;
  }

  .local-hierarchy {
    grid-template-columns: 1fr;
  }

  .hierarchy-arrow {
    justify-self: center;
    transform: none;
  }

  .visual-credits {
    grid-column: 1;
  }
}

@media (max-width: 760px) {
  body.nav-open::before {
    background: rgba(21, 23, 25, 0.42);
    content: "";
    inset: 0;
    pointer-events: none;
    position: fixed;
    z-index: 8;
  }

  .site-header,
  .article-page .site-header {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: var(--paper);
    gap: 8px;
    min-height: 66px;
  }

  .brand {
    min-width: auto;
  }

  .brand-logo {
    height: 46px;
    max-width: 160px;
  }

  .header-home-link {
    font-size: 0.9rem;
    padding: 8px 6px;
  }

  .header-search-link {
    background: #fff;
    border-color: rgba(21, 23, 25, 0.24);
    box-shadow: 0 3px 12px rgba(21, 23, 25, 0.12);
    min-height: 40px;
    position: relative;
    z-index: 11;
  }

  .menu-toggle {
    align-items: center;
    background: #fff;
    border-color: rgba(21, 23, 25, 0.24);
    box-shadow: 0 3px 12px rgba(21, 23, 25, 0.12);
    color: var(--ink);
    display: inline-flex;
    font-size: 0;
    justify-content: center;
    padding: 0;
    position: relative;
    width: 40px;
    z-index: 11;
  }

  .menu-toggle::before {
    content: "☰";
    font-size: 1.15rem;
    line-height: 1;
  }

  .menu-toggle[aria-expanded="true"]::before {
    content: "×";
  }

  .menu-toggle[aria-expanded="true"] {
    background: var(--jade-dark);
    border-color: var(--jade-dark);
    color: #fff;
  }

  .site-nav {
    align-content: start;
    background-color: #fbf8f0;
    background-image: none;
    border-left: 1px solid var(--line);
    bottom: 0;
    box-shadow: -18px 0 48px rgba(21, 23, 25, 0.24);
    color: var(--ink);
    display: none;
    gap: 4px;
    min-height: 100dvh;
    opacity: 1;
    overflow-y: auto;
    padding: 84px 20px 20px;
    position: fixed;
    right: 0;
    top: 0;
    width: min(320px, 86vw);
    z-index: 10;
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    background: #fff;
    border: 1px solid var(--line);
    color: var(--ink);
    font-size: 1rem;
    padding: 13px 12px;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible,
  .site-nav a.is-active {
    background: #e7eee9;
    border-color: rgba(53, 101, 95, 0.32);
    color: var(--jade-dark);
    outline: none;
  }

  .logout-button {
    background: #fff;
    flex: 0 0 auto;
    font-size: 0.9rem;
    margin-left: 0;
    padding: 8px 10px;
    position: relative;
    white-space: nowrap;
    z-index: 11;
  }

  .coupon-gate {
    align-items: start;
    min-height: 100svh;
    padding: 28px 20px;
  }

  .coupon-logo {
    margin-bottom: 28px;
    width: min(210px, 72vw);
  }

  .library-search-form input,
  .site-search-input-row input,
  .site-search-category select {
    font-size: 1rem;
  }

  .site-search-controls {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .site-search-results-heading {
    align-items: start;
    flex-direction: column;
  }

  .site-search-results-heading > p {
    text-align: left;
  }

  .hero {
    height: max(480px, calc(100svh - 112px));
  }

  .hero-image {
    object-position: 54% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(10, 12, 12, 0.78), rgba(10, 12, 12, 0.38)),
      linear-gradient(0deg, rgba(10, 12, 12, 0.54), rgba(10, 12, 12, 0));
  }

  .hero-content {
    padding-bottom: 48px;
    padding-top: 42px;
  }

  .hero-facts,
  .quick-strip,
  .guide-card,
  .newsfeed-intro,
  .admin-grid,
  .info-grid,
  .checklist-groups,
  .neighborhood-grid,
  .split-grid,
  .phrase-grid,
  .support-grid,
  .visual-break,
  .route-panel,
  .etiquette-list article,
  .guide-group-heading,
  .guide-subpage-card,
  .article-hero-facts,
  .visual-atlas,
  .fact-grid,
  .terrain-grid,
  .industry-grid,
  .relations-grid,
  .context-grid,
  .dynasty-grid,
  .turning-points,
  .republic-phases,
  .living-history-grid,
  .constitutional-branches,
  .government-branch-grid,
  .government-terms,
  .oversight-grid,
  .upper-level-grid,
  .resident-service-grid,
  .economy-profile,
  .chapter-nav {
    grid-template-columns: 1fr;
  }

  .contents-hero {
    min-height: auto;
    padding: 44px 20px;
  }

  .guide-card-actions {
    grid-column: 1;
  }

  .guide-direct-link,
  .guide-group-toggle {
    gap: 10px 12px;
    grid-template-columns: 44px minmax(0, 1fr) 20px;
    min-height: 76px;
    padding: 14px;
  }

  .guide-card-label,
  .guide-group-label {
    grid-column: 1;
    grid-row: 1 / span 2;
    height: 44px;
    width: 44px;
  }

  .guide-direct-copy,
  .guide-group-title {
    grid-column: 2;
    grid-row: 1;
  }

  .guide-direct-meta,
  .guide-group-meta {
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
  }

  .guide-row-arrow,
  .guide-group-chevron {
    align-self: center;
    grid-column: 3;
    grid-row: 1 / span 2;
  }

  .guide-card h3,
  .guide-group-title {
    font-size: 1.12rem;
  }

  .guide-group-intro {
    display: grid;
    gap: 7px;
  }

  .guide-subpage-card .guide-card-link {
    justify-self: start;
  }

  .newsfeed-intro {
    align-content: end;
    min-height: 380px;
  }

  .newsfeed-history-item summary {
    grid-template-columns: 1fr;
  }

  .newsfeed-history-item summary::after {
    grid-column: 1;
    justify-self: end;
  }

  .quick-strip a {
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    border-right: 0;
    min-height: auto;
    padding: 18px 20px;
  }

  .guide-intro,
  .guide-section,
  .checklist-band,
  .safety-section,
  .source-section,
  .visual-break {
    padding: 56px 20px;
  }

  .article-hero {
    min-height: auto;
  }

  .article-hero-copy {
    padding: 48px 20px 58px;
  }

  .chapter-backlink {
    margin-bottom: 28px;
  }

  .article-hero-visual > img {
    max-height: 480px;
    min-height: 360px;
  }

  .flag-visual {
    min-height: 430px;
    padding-top: 30px;
  }

  .flag-frame {
    margin-left: 20px;
    margin-right: 20px;
  }

  .article-jumpnav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-jumpnav a {
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    min-height: 58px;
  }

  .article-section {
    padding: 60px 20px;
  }

  .flag-explainer,
  .armistice-note,
  .plain-language-note,
  .local-note,
  .service-caution {
    grid-template-columns: 1fr;
  }

  .trigram-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .visual-card-image {
    height: 430px;
    padding: 20px;
  }

  .stat-band {
    grid-template-columns: 1fr;
  }

  .stat-band article,
  .stat-band article:nth-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    border-right: 0;
    min-height: 150px;
  }

  .stat-band article:last-child {
    border-bottom: 0;
  }

  .content-split {
    margin-top: 46px;
  }

  .banknote-row {
    grid-template-columns: 1fr;
  }

  .branch-summary {
    grid-template-columns: 1fr;
  }

  .economy-list div {
    grid-template-columns: 1fr;
  }

  .timeline-entry {
    grid-template-columns: 1fr;
  }

  .timeline-date {
    padding: 26px 0 8px;
    text-align: left;
  }

  .timeline-marker {
    display: none;
  }

  .timeline-copy {
    padding: 8px 0 36px;
  }

  .modern-sequence article {
    grid-template-columns: 1fr;
  }

  .constitutional-lines {
    display: none;
  }

  .constitutional-branches {
    margin-top: 14px;
  }

  .government-branch-grid article {
    min-height: auto;
  }

  .chapter-nav .chapter-nav-next {
    text-align: left;
  }

  .route-tabs {
    grid-template-columns: repeat(3, minmax(82px, 1fr));
    width: 100%;
  }

  .route-tab {
    min-width: 0;
  }

  .site-footer {
    align-items: start;
    flex-direction: column;
  }

  .footer-contact {
    align-items: start;
    text-align: left;
  }
}

@media (max-width: 560px) {
  .library-search-form > div,
  .site-search-input-row {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .library-search-form button,
  .site-search-input-row button {
    grid-column: 1 / -1;
    min-height: 48px;
    width: 100%;
  }

  .site-search-type-filter label {
    flex: 1 1 auto;
    justify-content: center;
  }

  .site-search-result-matches {
    display: grid;
  }
}

@media (max-width: 380px) {
  .site-header {
    gap: 6px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .brand-logo {
    height: 40px;
    max-width: 96px;
  }

  .header-home-link {
    font-size: 0.84rem;
    padding: 7px 4px;
  }

  .menu-toggle {
    min-height: 38px;
    width: 38px;
  }

  .logout-button {
    font-size: 0.84rem;
    padding: 7px 8px;
  }
}

/* 05-02 · Subway, urban rail, city/town bus, and taxi */

.local-transit-hero {
  background: #15363f;
}

.local-transit-hero h1 {
  font-size: clamp(2.9rem, 4.5vw, 4.55rem);
  letter-spacing: -0.035em;
}

.local-transit-gallery .transit-hero-image:nth-child(2) img {
  object-position: center 54%;
}

.local-transit-gallery .transit-hero-image:nth-child(3) img {
  object-position: center 58%;
}

.local-transit-quick-answer {
  margin-bottom: 18px;
}

.local-mode-selector {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 18px 0;
}

.local-mode-selector article {
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  min-height: 390px;
  padding: clamp(26px, 3vw, 36px);
}

.local-mode-selector article[data-mode="rail"] {
  background: #e8f1f2;
}

.local-mode-selector article[data-mode="bus"] {
  background: #edf1e9;
}

.local-mode-selector article[data-mode="taxi"] {
  background: #f6efe5;
}

.local-mode-selector article > span,
.local-taxi-types article > span,
.local-recovery-grid article > span {
  color: var(--coral);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.local-mode-selector h3,
.local-taxi-types h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1.14;
  margin: 15px 0 12px;
}

.local-mode-selector article > p,
.local-taxi-types article > p {
  color: var(--ink-soft);
}

.local-mode-selector dl {
  border-top: 1px solid rgba(22, 43, 48, 0.16);
  display: grid;
  gap: 15px;
  margin: auto 0 0;
  padding-top: 20px;
}

.local-mode-selector dl > div {
  display: grid;
  gap: 4px;
}

.local-mode-selector dt {
  color: var(--jade-dark);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.local-mode-selector dd {
  color: var(--ink-soft);
  font-size: 0.83rem;
  margin: 0;
}

.local-choice-table,
.local-rail-situation-table,
.local-bus-problem-table,
.local-taxi-charge-table,
.local-phrase-table {
  min-width: 980px;
}

.local-choice-table td:first-child,
.local-rail-situation-table td:first-child,
.local-bus-problem-table td:first-child,
.local-taxi-charge-table td:first-child,
.local-phrase-table td:first-child {
  white-space: normal;
  width: 190px;
}

.local-regional-note {
  margin-top: 18px;
}

.local-transit-page .article-jumpnav {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.local-type-intro {
  margin: 0 0 24px;
  max-width: 930px;
}

.local-type-intro h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.85rem, 3vw, 2.8rem);
  line-height: 1.08;
  margin: 12px 0 14px;
}

.local-type-intro > p:last-child {
  color: var(--ink-soft);
  margin: 0;
}

.article-section-dark .local-type-intro > p:last-child {
  color: rgba(255, 255, 255, 0.68);
}

.local-vehicle-type-gallery {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 0 18px;
}

.local-vehicle-type-card {
  background: #fff;
  border: 1px solid rgba(19, 55, 64, 0.16);
  border-radius: 10px;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}

.local-vehicle-type-card figure {
  aspect-ratio: 4 / 3;
  background: #dfe7e7;
  margin: 0;
  overflow: hidden;
  position: relative;
}

.local-vehicle-type-card figure::after {
  background: linear-gradient(180deg, transparent 36%, rgba(5, 18, 22, 0.88) 100%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.local-vehicle-type-card img {
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease;
  width: 100%;
}

.local-vehicle-type-card:hover img {
  transform: scale(1.025);
}

.local-vehicle-type-card figcaption {
  bottom: 0;
  color: #fff;
  display: grid;
  gap: 5px;
  left: 0;
  padding: 20px 22px;
  position: absolute;
  right: 0;
  z-index: 1;
}

.local-vehicle-type-card figcaption > span {
  color: #f2d08f;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.local-vehicle-type-card figcaption strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.24rem, 2vw, 1.62rem);
  line-height: 1.08;
}

.local-vehicle-type-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.local-vehicle-type-copy > p {
  color: var(--ink-soft);
  margin: 0 0 20px;
}

.local-vehicle-type-copy dl {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 14px;
  margin: auto 0 0;
  padding-top: 18px;
}

.local-vehicle-type-copy dl > div {
  display: grid;
  gap: 4px;
}

.local-vehicle-type-copy dt {
  color: var(--jade-dark);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.local-vehicle-type-copy dd {
  color: var(--ink-soft);
  font-size: 0.82rem;
  margin: 0;
}

.local-vehicle-type-copy > small {
  background: #f6efe5;
  border-radius: 6px;
  color: #6a554d;
  display: block;
  font-size: 0.72rem;
  line-height: 1.45;
  margin-top: 16px;
  padding: 10px 12px;
}

.local-vehicle-type-card-night img {
  object-position: center 62%;
}

.local-vehicle-type-card-wide {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
}

.local-vehicle-type-card-wide figure {
  aspect-ratio: auto;
  min-height: 390px;
}

.local-seoul-color-note {
  align-items: start;
  background: rgba(9, 20, 24, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  display: grid;
  gap: 18px 26px;
  grid-template-columns: minmax(190px, 0.58fr) minmax(430px, 1.2fr);
  margin: 18px 0;
  padding: clamp(24px, 3vw, 32px);
}

.local-seoul-color-note > div {
  display: grid;
  gap: 6px;
}

.local-seoul-color-note > div > span {
  color: #f2d08f;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.local-seoul-color-note > div > strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  line-height: 1.16;
}

.local-seoul-color-note ul {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.local-seoul-color-note li {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  display: flex;
  font-size: 0.76rem;
  gap: 9px;
  min-height: 54px;
  padding: 9px 11px;
}

.local-bus-swatch {
  border: 2px solid rgba(255, 255, 255, 0.62);
  border-radius: 50%;
  flex: 0 0 auto;
  height: 17px;
  width: 17px;
}

.local-bus-swatch-blue { background: #2b72b8; }
.local-bus-swatch-green { background: #5c9c49; }
.local-bus-swatch-yellow { background: #dfaa25; }
.local-bus-swatch-red { background: #c74d43; }

.local-seoul-color-note > p {
  color: rgba(255, 255, 255, 0.67);
  grid-column: 1 / -1;
  margin: 0;
}

.local-bus-type-wrap {
  margin: 18px 0;
}

.local-bus-type-table {
  min-width: 1120px;
}

.local-bus-type-table td:first-child {
  white-space: normal;
  width: 180px;
}

.local-bus-drt-note {
  background: rgba(9, 20, 24, 0.56);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
  margin: 18px 0;
}

.local-bus-drt-note p,
.local-bus-drt-note div > span {
  color: rgba(255, 255, 255, 0.67);
}

.local-taxi-type-gallery {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.local-taxi-type-gallery .local-vehicle-type-card figure {
  aspect-ratio: 16 / 10;
}

.local-taxi-type-gallery .local-vehicle-type-card:nth-child(1) img {
  object-position: center 62%;
}

.local-taxi-class-notes {
  margin-bottom: 18px;
}

.local-taxi-class-notes .application-confirmation-note {
  min-height: 245px;
}

.local-taxi-international-note {
  background: #173d47;
  border-color: #173d47;
  color: #fff;
}

.local-taxi-international-note p,
.local-taxi-international-note div > span {
  color: rgba(255, 255, 255, 0.68);
}

.local-apps-section {
  background: #e9eeea;
}

.local-app-prep-flow {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}

.local-app-prep-flow li {
  background: #173d47;
  border-radius: 8px;
  color: #fff;
  min-height: 230px;
  padding: 24px;
}

.local-app-prep-flow li > span {
  color: #f2d08f;
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 900;
  margin-bottom: 30px;
}

.local-app-prep-flow strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.22rem;
  line-height: 1.15;
}

.local-app-prep-flow p {
  color: rgba(255, 255, 255, 0.68);
  margin: 12px 0 0;
}

.local-app-guide-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.local-app-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  min-height: 620px;
  padding: clamp(26px, 3vw, 36px);
}

.local-app-card-featured {
  background: #f8f3e8;
  border-color: rgba(206, 129, 99, 0.55);
}

.local-app-card-head {
  align-items: center;
  display: flex;
  gap: 16px;
  margin-bottom: 22px;
}

.local-app-card-head small {
  color: var(--coral);
  display: block;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.local-app-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  line-height: 1.05;
  margin: 0;
}

.local-app-monogram {
  align-items: center;
  background: #2f7b68;
  border-radius: 12px;
  color: #fff;
  display: inline-flex;
  flex: 0 0 auto;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  font-weight: 900;
  height: 54px;
  justify-content: center;
  width: 54px;
}

.local-app-monogram-k { background: #e0ac2d; color: #17272a; }
.local-app-monogram-ride { background: #20252a; }
.local-app-monogram-bus { background: #356c94; }
.local-app-monogram-go { background: #b56d57; }
.local-app-monogram-metro { background: #635497; }

.local-app-card > p {
  color: var(--ink-soft);
  margin: 0 0 22px;
}

.local-app-card > ol {
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 22px 0 0 22px;
}

.local-app-card > ol li::marker {
  color: var(--coral);
  font-weight: 900;
}

.local-app-best {
  border-left: 3px solid var(--coral);
  color: var(--jade-dark);
  display: block;
  font-size: 0.82rem;
  line-height: 1.45;
  margin: 24px 0;
  padding-left: 13px;
}

.local-app-card > a,
.local-app-link-pair {
  margin-top: auto;
}

.local-app-card > a,
.local-app-link-pair a {
  color: var(--jade-dark);
  font-size: 0.8rem;
  font-weight: 900;
  text-decoration: none;
}

.local-app-card > a:hover,
.local-app-link-pair a:hover {
  text-decoration: underline;
}

.local-app-link-pair {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.local-app-reality-note {
  margin-top: 18px;
}

.local-ride-flow {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}

.local-ride-flow li {
  border: 1px solid rgba(19, 55, 64, 0.16);
  border-radius: 8px;
  display: grid;
  gap: 16px;
  grid-template-columns: 42px minmax(0, 1fr);
  min-height: 230px;
  padding: 24px;
}

.rail-ride-flow li {
  background: #173d47;
  color: #fff;
}

.bus-ride-flow li {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.taxi-ride-flow li {
  background: #f5efe6;
}

.local-ride-flow li > span {
  color: #d98a71;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.42rem;
  font-weight: 900;
}

.rail-ride-flow li > span,
.bus-ride-flow li > span {
  color: #f2d08f;
}

.local-ride-flow small {
  color: var(--jade-dark);
  display: block;
  font-size: 0.7rem;
  font-weight: 900;
  margin-bottom: 7px;
  text-transform: uppercase;
}

.rail-ride-flow small,
.bus-ride-flow small {
  color: rgba(255, 255, 255, 0.52);
}

.local-ride-flow strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.22rem;
  line-height: 1.18;
}

.local-ride-flow p {
  color: var(--ink-soft);
  margin: 10px 0 0;
}

.rail-ride-flow p,
.bus-ride-flow p {
  color: rgba(255, 255, 255, 0.66);
}

.local-rail-grid,
.local-taxi-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.local-rail-grid article,
.local-taxi-grid article {
  min-height: 270px;
}

.local-rail-situation-wrap,
.local-bus-problem-wrap,
.local-taxi-charge-wrap {
  margin-top: 18px;
}

.local-info-pair {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.local-info-pair > * {
  margin: 0;
}

.local-rail-rule-band,
.local-taxi-payment-band {
  grid-template-columns: minmax(150px, 0.34fr) minmax(0, 1fr);
  margin-top: 18px;
}

.local-info-pair .local-rail-rule-band {
  grid-template-columns: 1fr;
}

.local-platform-alert,
.local-taxi-payment-band {
  margin-top: 18px;
}

.local-bicycle-note {
  margin-top: 18px;
}

.article-section-dark .local-bus-grid article {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
  min-height: 315px;
}

.article-section-dark .local-bus-grid article > span {
  color: #f2d08f;
}

.article-section-dark .local-bus-grid article > p {
  color: rgba(255, 255, 255, 0.67);
}

.article-section-dark .local-bus-grid article > strong {
  border-color: rgba(255, 255, 255, 0.18);
  color: #f2d08f;
}

.local-bus-transfer-band {
  background: #f6efe5;
  color: var(--ink);
  grid-template-columns: minmax(170px, 0.34fr) minmax(0, 1fr);
  margin-top: 18px;
}

.local-bus-cash-alert {
  margin-bottom: 18px;
}

.local-seoul-example {
  background: rgba(9, 20, 24, 0.56);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
  margin-top: 18px;
}

.local-seoul-example p,
.local-seoul-example div > span {
  color: rgba(255, 255, 255, 0.67);
}

.local-bus-access-pair {
  margin-top: 18px;
}

.local-bus-type-note {
  background: rgba(9, 20, 24, 0.56);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
  margin-top: 18px;
}

.local-bus-type-note p,
.local-bus-type-note div > span {
  color: rgba(255, 255, 255, 0.67);
}

.local-dark-help-card {
  min-height: 330px;
}

.local-taxi-types {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 18px;
}

.local-taxi-types article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 315px;
  padding: clamp(24px, 3vw, 32px);
}

.local-taxi-types article:nth-child(2),
.local-taxi-types article:nth-child(4) {
  background: #f7f1e8;
}

.local-taxi-info-pair {
  align-items: stretch;
  margin-top: 18px;
}

.local-taxi-report-note {
  margin-top: 18px;
}

.local-taxi-info-pair > * {
  min-height: 220px;
}

.local-recovery-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.local-recovery-grid article {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  min-height: 340px;
  padding: clamp(24px, 3vw, 32px);
}

.local-recovery-grid article > span {
  color: #f2d08f;
}

.local-recovery-grid article > strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  line-height: 1.18;
  margin: 16px 0 22px;
}

.local-recovery-grid ol {
  color: rgba(255, 255, 255, 0.68);
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
}

.local-help-layout {
  margin-top: 18px;
}

.local-emergency-note {
  margin-top: 18px;
}

.local-phrase-wrap {
  margin-bottom: 18px;
}

.local-phrase-table td[lang="ko"] {
  color: var(--jade-dark);
  font-size: 1rem;
  font-weight: 900;
}

.local-source-panel {
  margin-top: 18px;
}

.local-visual-credits {
  margin-top: 18px;
}

.transit-chapter-nav-with-next,
.local-transit-chapter-nav {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 1180px) {
  .local-transit-page .article-jumpnav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .local-mode-selector,
  .local-taxi-types {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .local-vehicle-type-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .local-vehicle-type-card-wide {
    grid-column: 1 / -1;
  }

  .local-app-prep-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .local-mode-selector article,
  .local-taxi-types article {
    min-height: 320px;
  }

  .local-ride-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .local-recovery-grid {
    grid-template-columns: 1fr;
  }

  .local-recovery-grid article {
    min-height: auto;
  }
}

@media (max-width: 920px) {
  .local-vehicle-type-card-wide {
    display: flex;
  }

  .local-vehicle-type-card-wide figure {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }

  .local-seoul-color-note {
    grid-template-columns: 1fr;
  }

  .local-seoul-color-note ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .local-app-card {
    min-height: auto;
  }

  .local-info-pair {
    grid-template-columns: 1fr;
  }

  .local-dark-help-card,
  .local-taxi-info-pair > * {
    min-height: auto;
  }
}

@media (max-width: 760px) {
  .local-transit-page .article-jumpnav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .local-transit-hero h1 {
    font-size: clamp(2.7rem, 13vw, 4rem);
  }

  .local-mode-selector,
  .local-ride-flow,
  .local-rail-grid,
  .local-bus-grid,
  .local-taxi-grid,
  .local-taxi-types,
  .local-vehicle-type-gallery,
  .local-app-prep-flow,
  .local-app-guide-grid,
  .transit-chapter-nav-with-next,
  .local-transit-chapter-nav {
    grid-template-columns: 1fr;
  }

  .local-vehicle-type-card-wide {
    grid-column: auto;
  }

  .local-mode-selector article,
  .local-ride-flow li,
  .local-rail-grid article,
  .article-section-dark .local-bus-grid article,
  .local-taxi-grid article,
  .local-taxi-types article {
    min-height: auto;
  }

  .local-bus-transfer-band,
  .local-rail-rule-band,
  .local-taxi-payment-band {
    grid-template-columns: 1fr;
  }

  .local-seoul-color-note ul {
    grid-template-columns: 1fr;
  }

  .local-app-prep-flow li {
    min-height: auto;
  }
}

/* 05-03 · KTX, KORAIL, long-distance bus, domestic flight, and ferry */

.long-distance-hero {
  background: #132f38;
}

.long-distance-hero h1 {
  font-size: clamp(3rem, 4.8vw, 4.85rem);
  letter-spacing: -0.04em;
}

.long-distance-hero-gallery .transit-hero-image-main img {
  object-position: 58% center;
}

.long-distance-hero-gallery .transit-hero-image:nth-child(2) img {
  object-position: center 52%;
}

.long-distance-hero-gallery .transit-hero-image:nth-child(3) img {
  object-position: center 48%;
}

.long-distance-jumpnav {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.long-distance-quick-answer {
  margin-bottom: 18px;
}

.long-mode-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 18px 0;
}

.long-mode-grid article {
  border: 1px solid var(--line);
  border-radius: 9px;
  display: flex;
  flex-direction: column;
  min-height: 410px;
  padding: clamp(24px, 2.6vw, 32px);
}

.long-mode-grid article[data-mode="rail"] { background: #e3eff1; }
.long-mode-grid article[data-mode="express"] { background: #edf1e8; }
.long-mode-grid article[data-mode="intercity"] { background: #f4efe3; }
.long-mode-grid article[data-mode="flight"] { background: #e8edf5; }
.long-mode-grid article[data-mode="ferry"] { background: #e4edef; }

.long-mode-grid article > span,
.long-bus-compare-grid article > span,
.long-ferry-decision-grid article > span {
  color: var(--coral);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.long-mode-grid h3,
.long-bus-compare-grid h3,
.long-ferry-decision-grid h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  line-height: 1.12;
  margin: 16px 0 14px;
}

.long-mode-grid article > p,
.long-bus-compare-grid article > p,
.long-ferry-decision-grid article > p {
  color: var(--ink-soft);
}

.long-mode-grid dl,
.long-bus-compare-grid dl {
  border-top: 1px solid rgba(22, 43, 48, 0.16);
  display: grid;
  gap: 14px;
  margin: auto 0 0;
  padding-top: 18px;
}

.long-mode-grid dl > div,
.long-bus-compare-grid dl > div {
  display: grid;
  gap: 4px;
}

.long-mode-grid dt,
.long-bus-compare-grid dt {
  color: var(--jade-dark);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.long-mode-grid dd,
.long-bus-compare-grid dd {
  color: var(--ink-soft);
  font-size: 0.82rem;
  margin: 0;
}

.long-choice-table,
.long-rail-type-table,
.long-bus-table,
.long-flight-table,
.long-phrase-table {
  min-width: 1120px;
}

.long-choice-table td:first-child,
.long-rail-type-table td:first-child,
.long-bus-table td:first-child,
.long-flight-table td:first-child,
.long-phrase-table td:first-child {
  white-space: normal;
  width: 190px;
}

.long-distance-change-note,
.long-rail-sale-note,
.long-rail-alert,
.long-bus-payment-note,
.long-bus-definition-note,
.long-flight-weather-note,
.long-ferry-weather-note,
.long-tool-reality-note {
  margin-top: 18px;
}

.long-visual-gallery {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 18px;
}

.long-visual-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}

.long-visual-card figure {
  aspect-ratio: 4 / 3;
  background: #d9e4e5;
  margin: 0;
  overflow: hidden;
  position: relative;
}

.long-visual-card figure::after,
.long-bus-visual::after,
.long-photo-feature::after {
  background: linear-gradient(180deg, transparent 34%, rgba(6, 18, 23, 0.9) 100%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.long-visual-card img,
.long-bus-visual img,
.long-photo-feature img {
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease;
  width: 100%;
}

.long-visual-card:hover img,
.long-bus-visual:hover img,
.long-photo-feature:hover img {
  transform: scale(1.025);
}

.long-visual-card figure figcaption,
.long-bus-visual figcaption,
.long-photo-feature figcaption {
  bottom: 0;
  color: #fff;
  display: grid;
  gap: 6px;
  left: 0;
  padding: 22px 24px;
  position: absolute;
  right: 0;
  z-index: 1;
}

.long-visual-card figcaption span,
.long-bus-visual figcaption span,
.long-photo-feature figcaption span {
  color: #f2d08f;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.long-visual-card figcaption strong,
.long-bus-visual figcaption strong,
.long-photo-feature figcaption strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.08;
}

.long-visual-card > div {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.long-visual-card > div p {
  color: var(--ink-soft);
  margin: 0 0 20px;
}

.long-visual-card > div small {
  border-top: 1px solid var(--line);
  color: var(--jade-dark);
  font-weight: 900;
  margin-top: auto;
  padding-top: 16px;
}

.long-journey-flow {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  margin: 18px 0;
  padding: 0;
}

.long-journey-flow li {
  border: 1px solid rgba(19, 55, 64, 0.16);
  border-radius: 8px;
  display: grid;
  gap: 16px;
  grid-template-columns: 42px minmax(0, 1fr);
  min-height: 235px;
  padding: 24px;
}

.long-rail-flow li,
.long-flight-flow li {
  background: #fff;
}

.long-bus-flow li,
.long-ferry-flow li {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.long-journey-flow li > span {
  color: var(--coral);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.42rem;
  font-weight: 900;
}

.long-bus-flow li > span,
.long-ferry-flow li > span {
  color: #f2d08f;
}

.long-journey-flow small {
  color: var(--jade-dark);
  display: block;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  margin-bottom: 7px;
  text-transform: uppercase;
}

.long-bus-flow small,
.long-ferry-flow small {
  color: rgba(255, 255, 255, 0.52);
}

.long-journey-flow strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.22rem;
  line-height: 1.16;
}

.long-journey-flow p {
  color: var(--ink-soft);
  margin: 10px 0 0;
}

.long-bus-flow p,
.long-ferry-flow p {
  color: rgba(255, 255, 255, 0.68);
}

.long-booking-pair {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.long-how-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  min-height: 510px;
  padding: clamp(26px, 3vw, 36px);
}

.long-how-card-head {
  align-items: center;
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.long-how-card-head > span {
  align-items: center;
  background: #173d47;
  border-radius: 10px;
  color: #fff;
  display: inline-flex;
  flex: 0 0 auto;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  font-weight: 900;
  height: 56px;
  justify-content: center;
  width: 56px;
}

.long-how-card-head small {
  color: var(--coral);
  display: block;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.long-how-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 2.4vw, 2.05rem);
  line-height: 1.05;
  margin: 0;
}

.long-how-card > ol {
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 22px 0 0 22px;
}

.long-how-card > ol li::marker {
  color: var(--coral);
  font-weight: 900;
}

.long-how-card > a,
.long-link-pair {
  margin-top: auto;
  padding-top: 24px;
}

.long-how-card > a,
.long-link-pair a {
  color: var(--jade-dark);
  font-size: 0.8rem;
  font-weight: 900;
  text-decoration: none;
}

.long-how-card > a:hover,
.long-link-pair a:hover {
  text-decoration: underline;
}

.long-link-pair {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}

.long-how-note {
  border-left: 3px solid var(--coral);
  color: var(--jade-dark);
  display: block;
  font-size: 0.8rem;
  line-height: 1.5;
  margin-top: auto;
  padding: 20px 0 0 14px;
}

.long-rail-info-pair {
  margin-top: 18px;
}

.long-rail-info-pair > * {
  min-height: 250px;
}

.long-bus-visual-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 18px;
}

.long-bus-visual,
.long-photo-feature {
  background: #0c2228;
  border-radius: 10px;
  margin: 0;
  min-height: 360px;
  overflow: hidden;
  position: relative;
}

.long-bus-visual figcaption small {
  color: rgba(255, 255, 255, 0.68);
}

.long-bus-ticket-visual img {
  object-position: center 58%;
}

.long-bus-compare-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 18px 0;
}

.long-bus-compare-grid article {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9px;
  color: #fff;
  display: flex;
  flex-direction: column;
  min-height: 370px;
  padding: clamp(26px, 3vw, 36px);
}

.long-bus-compare-grid article > span,
.long-bus-compare-grid dt {
  color: #f2d08f;
}

.long-bus-compare-grid article > p,
.long-bus-compare-grid dd {
  color: rgba(255, 255, 255, 0.68);
}

.long-bus-compare-grid dl {
  border-color: rgba(255, 255, 255, 0.18);
}

.long-dark-app-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.long-dark-app-grid article {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9px;
  display: flex;
  flex-direction: column;
  min-height: 560px;
  padding: clamp(24px, 3vw, 34px);
}

.long-dark-app-grid article > span {
  color: #f2d08f;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.long-dark-app-grid h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.2vw, 1.9rem);
  line-height: 1.08;
  margin: 16px 0 22px;
}

.long-dark-app-grid ol {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.68);
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 22px 0 0 21px;
}

.long-dark-app-grid > article > a,
.long-dark-app-grid .long-link-pair a {
  color: #f2d08f;
  font-size: 0.8rem;
  font-weight: 900;
  text-decoration: none;
}

.long-dark-app-grid > article > a {
  margin-top: auto;
  padding-top: 24px;
}

.long-dark-app-grid .long-link-pair {
  margin-top: auto;
}

.long-bus-payment-note,
.long-bus-definition-note,
.long-ferry-weather-note {
  background: rgba(8, 20, 24, 0.56);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.long-bus-payment-note p,
.long-bus-payment-note div > span,
.long-bus-definition-note p,
.long-bus-definition-note div > span,
.long-ferry-weather-note p,
.long-ferry-weather-note div > span {
  color: rgba(255, 255, 255, 0.68);
}

.long-flight-visuals,
.long-ferry-visuals {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 18px;
}

.long-photo-feature {
  min-height: 450px;
}

.long-photo-feature figcaption p {
  color: rgba(255, 255, 255, 0.68);
  margin: 0;
}

.long-flight-visuals .long-photo-feature:first-child img {
  object-position: center 48%;
}

.long-flight-visuals .long-photo-feature:nth-child(2) img {
  object-position: center 60%;
}

.long-ferry-visuals .long-photo-feature:first-child img {
  object-position: center 52%;
}

.long-ferry-decision-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 18px 0;
}

.long-ferry-decision-grid article {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9px;
  color: #fff;
  min-height: 320px;
  padding: clamp(24px, 3vw, 34px);
}

.long-ferry-decision-grid article > span {
  color: #f2d08f;
}

.long-ferry-decision-grid article > p {
  color: rgba(255, 255, 255, 0.68);
}

.long-how-card-dark {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.long-how-card-dark > ol {
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.68);
}

.long-how-card-dark > a,
.long-how-card-dark .long-link-pair a {
  color: #f2d08f;
}

.long-how-card-dark .long-how-card-head > span {
  background: #f2d08f;
  color: #173d47;
}

.long-booking-tools-section {
  background: #e9eeea;
}

.long-tool-prep-flow {
  margin-top: 0;
}

.long-tool-card {
  min-height: 650px;
}

.long-app-monogram-rail { background: #2d6682; }
.long-app-monogram-web { background: #365f58; }
.long-app-monogram-go { background: #b34f4a; }
.long-app-monogram-air { background: #52719a; }
.long-app-monogram-sea { background: #2b7580; font-size: 1rem; }

.long-trip-record {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 18px 0;
  overflow: hidden;
}

.long-trip-record > div {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: grid;
  min-height: 175px;
  padding: 24px;
}

.long-trip-record span {
  color: #f2d08f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 900;
}

.long-trip-record strong {
  align-self: end;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
}

.long-trip-record small {
  color: rgba(255, 255, 255, 0.62);
  margin-top: 7px;
}

.long-recovery-grid {
  margin-top: 18px;
}

.long-phrase-wrap {
  margin: 18px 0;
}

.long-phrase-table td[lang="ko"] {
  color: #f2d08f;
  font-size: 1rem;
  font-weight: 900;
}

.long-source-panel,
.long-visual-credits {
  margin-top: 18px;
}

.long-distance-chapter-nav {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.transit-chapter-nav-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1260px) {
  .long-distance-jumpnav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .long-mode-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .long-mode-grid article {
    min-height: 350px;
  }

  .long-mode-grid article:nth-child(4),
  .long-mode-grid article:nth-child(5) {
    grid-column: span 1;
  }
}

@media (max-width: 1060px) {
  .long-mode-grid,
  .long-visual-gallery,
  .long-dark-app-grid,
  .long-ferry-decision-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .long-dark-app-grid article,
  .long-tool-card {
    min-height: auto;
  }

  .long-dark-app-grid article:last-child,
  .long-visual-card:last-child,
  .long-mode-grid article:last-child,
  .long-ferry-decision-grid article:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 920px) {
  .long-booking-pair,
  .long-flight-visuals,
  .long-ferry-visuals,
  .long-bus-compare-grid {
    grid-template-columns: 1fr;
  }

  .long-how-card,
  .long-rail-info-pair > *,
  .long-photo-feature,
  .long-bus-compare-grid article {
    min-height: auto;
  }

  .long-photo-feature {
    aspect-ratio: 16 / 11;
  }

  .transit-chapter-nav-three {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .long-distance-jumpnav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .long-distance-hero h1 {
    font-size: clamp(2.7rem, 12vw, 4rem);
  }

  .long-mode-grid,
  .long-visual-gallery,
  .long-journey-flow,
  .long-bus-visual-grid,
  .long-dark-app-grid,
  .long-ferry-decision-grid,
  .long-trip-record,
  .long-distance-chapter-nav {
    grid-template-columns: 1fr;
  }

  .long-mode-grid article,
  .long-journey-flow li,
  .long-bus-visual,
  .long-bus-compare-grid article,
  .long-dark-app-grid article,
  .long-ferry-decision-grid article,
  .long-trip-record > div {
    min-height: auto;
  }

  .long-visual-card:last-child,
  .long-mode-grid article:last-child,
  .long-dark-app-grid article:last-child,
  .long-ferry-decision-grid article:last-child {
    grid-column: auto;
  }

  .long-bus-visual {
    aspect-ratio: 4 / 3;
  }
}

/* 05-04 · Ttareungi and Cycling in Korea */

.cycling-page {
  --cycle-forest: #173f3a;
  --cycle-forest-dark: #0f2f2c;
  --cycle-leaf: #9fbc63;
  --cycle-lime: #dceaa8;
  --cycle-water: #527f8e;
  --cycle-sand: #f2eee5;
  --cycle-coral: #d86c57;
}

.cycling-hero {
  background: var(--cycle-forest);
}

.cycling-hero h1 {
  font-size: clamp(3rem, 6.4vw, 6.25rem);
  letter-spacing: -0.055em;
}

.cycling-hero .article-hero-copy {
  background:
    radial-gradient(circle at 18% 12%, rgba(220, 234, 168, 0.13), transparent 34%),
    linear-gradient(145deg, var(--cycle-forest), var(--cycle-forest-dark));
}

.cycling-hero .eyebrow,
.cycling-hero .chapter-backlink {
  color: var(--cycle-lime);
}

.cycling-hero-gallery .transit-hero-image-main img {
  object-position: 50% 58%;
}

.cycling-hero-gallery .transit-hero-image:nth-child(2) img {
  object-position: center 54%;
}

.cycling-hero-gallery .transit-hero-image:nth-child(3) img {
  object-position: center 38%;
}

.cycling-hero-gallery figcaption {
  background: var(--cycle-lime);
}

.cycling-jumpnav {
  background: var(--cycle-forest-dark);
  grid-template-columns: repeat(8, minmax(0, 1fr));
}

.cycling-jumpnav a {
  min-height: 74px;
}

.cycling-jumpnav a:hover,
.cycling-jumpnav a.is-active {
  background: #27554d;
}

.cycling-jumpnav span {
  color: var(--cycle-lime);
}

.cycling-accordion-intro {
  align-items: end;
  background: #e5ecdf;
  display: grid;
  gap: 10px 44px;
  grid-template-columns: minmax(230px, 0.65fr) minmax(0, 1.35fr);
  padding: clamp(42px, 6vw, 76px) clamp(20px, 6vw, 84px);
}

.cycling-accordion-intro .eyebrow {
  color: #60783a;
  grid-row: span 2;
  margin: 0;
}

.cycling-accordion-intro h2 {
  font-size: clamp(1.9rem, 3.4vw, 3.4rem);
  margin: 0;
}

.cycling-accordion-intro > p:last-child {
  color: var(--ink-soft);
  line-height: 1.65;
  margin: 0;
  max-width: 820px;
}

.cycling-accordion-section {
  padding: 0;
  scroll-margin-top: 74px;
}

.cycling-disclosure > summary {
  align-items: center;
  cursor: pointer;
  display: grid;
  gap: clamp(18px, 3vw, 38px);
  grid-template-columns: 70px minmax(0, 1fr) 48px;
  list-style: none;
  min-height: 170px;
  padding: clamp(30px, 4vw, 54px) clamp(20px, 6vw, 84px);
}

.cycling-disclosure > summary::-webkit-details-marker {
  display: none;
}

.cycling-disclosure > summary:focus-visible {
  outline: 3px solid var(--cycle-coral);
  outline-offset: -7px;
}

.cycling-accordion-section + .cycling-accordion-section .cycling-disclosure > summary {
  border-top: 1px solid rgba(23, 63, 58, 0.13);
}

.cycling-disclosure[open] > summary {
  border-bottom: 1px solid rgba(23, 63, 58, 0.13);
}

.cycling-disclosure-dark[open] > summary,
.article-section-dark + .article-section-dark .cycling-disclosure > summary {
  border-color: rgba(255, 255, 255, 0.15);
}

.cycling-section-number {
  color: var(--cycle-coral);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 900;
}

.cycling-disclosure-dark .cycling-section-number {
  color: var(--cycle-lime);
}

.cycling-summary-copy {
  display: grid;
  gap: 7px;
}

.cycling-summary-copy small {
  color: #60783a;
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cycling-summary-copy strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 3vw, 3rem);
  line-height: 1.08;
}

.cycling-summary-copy em {
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-style: normal;
}

.cycling-disclosure-dark .cycling-summary-copy small {
  color: var(--cycle-lime);
}

.cycling-disclosure-dark .cycling-summary-copy em {
  color: rgba(255, 255, 255, 0.65);
}

.cycling-summary-action {
  border: 2px solid currentColor;
  border-radius: 50%;
  display: block;
  height: 46px;
  position: relative;
  width: 46px;
}

.cycling-summary-action::before,
.cycling-summary-action::after {
  background: currentColor;
  content: "";
  height: 2px;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: transform 180ms ease;
  width: 16px;
}

.cycling-summary-action::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.cycling-disclosure[open] .cycling-summary-action::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.cycling-disclosure-body {
  padding: clamp(52px, 7vw, 96px) clamp(20px, 6vw, 84px) clamp(70px, 9vw, 118px);
}

.cycling-disclosure-body > :last-child {
  margin-bottom: 0;
}

.cycling-mode-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cycling-mode-grid article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  display: flex;
  flex-direction: column;
  min-height: 500px;
  overflow: hidden;
}

.cycling-mode-grid figure {
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
}

.cycling-mode-grid img {
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
  width: 100%;
}

.cycling-mode-grid article:hover img {
  transform: scale(1.025);
}

.cycling-mode-grid article > div {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.cycling-mode-grid span,
.cycling-mode-grid article > div > strong {
  color: #60783a;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cycling-mode-grid h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  margin: 10px 0;
}

.cycling-mode-grid p {
  color: var(--ink-soft);
  line-height: 1.62;
}

.cycling-mode-grid article > div > strong {
  margin-top: auto;
  padding-top: 18px;
}

.cycling-decision-strip {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 18px;
  overflow: hidden;
}

.cycling-decision-strip > div {
  background: var(--cycle-forest);
  color: #fff;
  display: grid;
  min-height: 210px;
  padding: 26px;
}

.cycling-decision-strip span,
.cycling-decision-strip strong {
  color: var(--cycle-lime);
}

.cycling-decision-strip span {
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.cycling-decision-strip strong {
  align-self: end;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
}

.cycling-decision-strip p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.84rem;
  margin: 7px 0 0;
}

.cycling-fit-note,
.cycling-tour-note,
.cycling-foreigner-note {
  align-items: start;
  background: var(--cycle-lime);
  border-radius: 8px;
  display: grid;
  gap: 12px 36px;
  grid-template-columns: minmax(190px, 0.4fr) minmax(0, 1.6fr);
  margin-top: 18px;
  padding: clamp(24px, 4vw, 38px);
}

.cycling-fit-note span,
.cycling-tour-note span,
.cycling-foreigner-note span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 900;
}

.cycling-fit-note p,
.cycling-tour-note p,
.cycling-foreigner-note p {
  line-height: 1.7;
  margin: 0;
}

.cycling-bike-compare {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, 0.85fr);
}

.cycling-bike-compare > figure,
.cycling-saessak-card {
  border-radius: 9px;
  margin: 0;
  min-height: 520px;
  overflow: hidden;
}

.cycling-bike-compare > figure {
  display: grid;
  grid-template-rows: minmax(330px, 1fr) auto;
}

.cycling-bike-compare > figure img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.cycling-bike-compare figcaption {
  background: #fff;
  display: grid;
  gap: 7px;
  padding: 24px 28px;
}

.cycling-bike-compare figcaption span,
.cycling-saessak-card > div > span {
  color: #60783a;
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.cycling-bike-compare figcaption strong,
.cycling-saessak-card > div > strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
}

.cycling-bike-compare figcaption p,
.cycling-saessak-card p {
  color: var(--ink-soft);
  line-height: 1.65;
  margin: 0;
}

.cycling-saessak-card {
  background:
    linear-gradient(145deg, rgba(220, 234, 168, 0.96), rgba(159, 188, 99, 0.93)),
    var(--cycle-lime);
  display: grid;
  gap: 24px;
  padding: clamp(28px, 4vw, 44px);
}

.cycling-saessak-card > div {
  display: grid;
  gap: 9px;
}

.cycling-saessak-card > div > strong {
  font-size: clamp(2rem, 3.5vw, 3.4rem);
  line-height: 1;
}

.cycling-saessak-card > div small {
  font-size: 1rem;
}

.cycling-saessak-card dl {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: auto 0 0;
}

.cycling-saessak-card dl > div {
  background: rgba(255, 255, 255, 0.36);
  padding: 16px;
}

.cycling-saessak-card dt {
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.cycling-saessak-card dd {
  font-weight: 900;
  margin: 6px 0 0;
}

.cycling-fare-panel {
  display: grid;
  gap: 1px;
  grid-template-columns: minmax(250px, 1.35fr) repeat(4, minmax(130px, 0.65fr));
  margin-top: 18px;
  overflow: hidden;
}

.cycling-fare-panel > div {
  background: #fff;
  display: flex;
  flex-direction: column;
  min-height: 190px;
  padding: 24px;
}

.cycling-fare-panel span {
  color: #60783a;
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.cycling-fare-panel strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 2.6vw, 2.45rem);
  margin: auto 0 5px;
}

.cycling-fare-panel p,
.cycling-fare-panel small {
  color: var(--ink-soft);
  line-height: 1.5;
  margin: 8px 0 0;
}

.cycling-fare-panel .cycling-fare-lead {
  background: var(--cycle-forest);
  color: #fff;
}

.cycling-fare-panel .cycling-fare-lead span,
.cycling-fare-panel .cycling-fare-lead p {
  color: var(--cycle-lime);
}

.cycling-fare-panel .cycling-fare-over {
  background: #f4ded8;
}

.cycling-member-fares {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 18px 32px;
  grid-template-columns: minmax(250px, 0.8fr) minmax(0, 1.2fr);
  margin-top: 18px;
  padding: clamp(24px, 4vw, 38px);
}

.cycling-member-fares > div {
  display: grid;
  gap: 7px;
}

.cycling-member-fares > div span {
  color: #60783a;
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.cycling-member-fares > div strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
}

.cycling-member-fares dl {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
}

.cycling-member-fares dl > div {
  background: var(--cycle-sand);
  padding: 16px;
}

.cycling-member-fares dt {
  font-size: 0.72rem;
  font-weight: 900;
}

.cycling-member-fares dd {
  color: var(--cycle-forest);
  font-weight: 900;
  margin: 6px 0 0;
}

.cycling-member-fares > p {
  color: var(--ink-soft);
  grid-column: 1 / -1;
  margin: 0;
}

.cycling-station-photo {
  background: var(--cycle-forest);
  border-radius: 9px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  margin: 18px 0 0;
  overflow: hidden;
}

.cycling-station-photo img {
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  width: 100%;
}

.cycling-station-photo figcaption {
  align-content: center;
  color: #fff;
  display: grid;
  gap: 9px;
  padding: clamp(28px, 4vw, 44px);
}

.cycling-station-photo span {
  color: var(--cycle-lime);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.cycling-station-photo strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
}

.cycling-station-photo p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.65;
  margin: 0;
}

.cycling-visitor-flow {
  background: #fff;
  border-radius: 9px;
  display: grid;
  gap: 24px;
  margin-top: 18px;
  padding: clamp(26px, 4vw, 42px);
}

.cycling-flow-title {
  display: grid;
  gap: 7px;
}

.cycling-flow-title > span {
  color: #60783a;
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.cycling-flow-title h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.75rem, 3vw, 2.8rem);
  margin: 0;
}

.cycling-flow-title p {
  color: var(--ink-soft);
  margin: 0;
}

.cycling-visitor-flow ol {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.cycling-visitor-flow li {
  background: var(--cycle-sand);
  display: flex;
  flex-direction: column;
  min-height: 250px;
  padding: 22px;
}

.cycling-visitor-flow li > span {
  color: var(--cycle-coral);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
  font-weight: 900;
}

.cycling-visitor-flow li > strong {
  font-size: 1rem;
  margin-top: auto;
}

.cycling-visitor-flow li > p {
  color: var(--ink-soft);
  font-size: 0.82rem;
  line-height: 1.55;
  margin: 8px 0 0;
}

.cycling-app-shot-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.cycling-app-shot-grid figure {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  display: grid;
  grid-template-rows: minmax(320px, 1fr) auto;
  margin: 0;
  overflow: hidden;
}

.cycling-app-shot-grid img {
  height: 100%;
  object-fit: contain;
  padding: 20px;
  width: 100%;
}

.cycling-app-shot-grid figcaption {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 5px;
  grid-template-columns: 36px 1fr;
  padding: 20px;
}

.cycling-app-shot-grid figcaption span {
  color: var(--cycle-coral);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
  font-weight: 900;
  grid-row: span 2;
}

.cycling-app-shot-grid figcaption small {
  color: var(--ink-soft);
}

.cycling-warning-grid,
.cycling-pass-options,
.cycling-rule-grid,
.cycling-recovery-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.cycling-warning-grid article,
.cycling-pass-options article,
.cycling-rule-grid article,
.cycling-recovery-grid article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 270px;
  padding: clamp(24px, 3vw, 32px);
}

.cycling-warning-grid article:first-child {
  border-top: 5px solid var(--cycle-coral);
}

.cycling-warning-grid article:nth-child(2) {
  border-top: 5px solid var(--cycle-water);
}

.cycling-warning-grid article:nth-child(3) {
  border-top: 5px solid var(--cycle-leaf);
}

.cycling-warning-grid span,
.cycling-pass-options span,
.cycling-rule-grid span,
.cycling-recovery-grid span {
  color: #60783a;
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.cycling-warning-grid h3,
.cycling-pass-options h3,
.cycling-rule-grid h3,
.cycling-recovery-grid h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
  margin: 12px 0;
}

.cycling-warning-grid p,
.cycling-pass-options p,
.cycling-rule-grid p,
.cycling-recovery-grid p {
  color: var(--ink-soft);
  line-height: 1.65;
  margin-bottom: 0;
}

.cycling-pass-options article {
  display: flex;
  flex-direction: column;
}

.cycling-pass-options a {
  color: var(--cycle-forest);
  font-size: 0.8rem;
  font-weight: 900;
  margin-top: auto;
  padding-top: 20px;
}

.cycling-transition-note {
  background: #f4ded8;
  border-color: rgba(216, 108, 87, 0.36);
  margin-top: 18px;
}

.cycling-transition-note > div > span {
  color: #a94d3b;
}

.cycling-disclosure-dark .article-section-heading > p:last-child {
  color: rgba(255, 255, 255, 0.7);
}

.cycling-sign-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cycling-sign-grid figure {
  background: #fff;
  border-radius: 9px;
  color: var(--ink);
  margin: 0;
  overflow: hidden;
}

.cycling-sign-grid figure > div {
  align-items: center;
  background: #e6ece8;
  display: flex;
  justify-content: center;
  min-height: 280px;
  padding: 40px;
}

.cycling-sign-grid img {
  height: 190px;
  object-fit: contain;
  width: 190px;
}

.cycling-sign-grid figcaption {
  display: grid;
  gap: 7px;
  padding: 24px;
}

.cycling-sign-grid figcaption span {
  color: #60783a;
  font-size: 0.72rem;
  font-weight: 900;
}

.cycling-sign-grid figcaption strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
}

.cycling-sign-grid figcaption p {
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0;
}

.cycling-road-photo-pair {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.cycling-road-photo-pair figure {
  background: #fff;
  border-radius: 9px;
  color: var(--ink);
  margin: 0;
  overflow: hidden;
}

.cycling-road-photo-pair img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
}

.cycling-road-photo-pair figcaption {
  display: grid;
  gap: 6px;
  padding: 24px;
}

.cycling-road-photo-pair figcaption strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
}

.cycling-road-photo-pair figcaption span {
  color: var(--ink-soft);
  font-size: 0.84rem;
  line-height: 1.55;
}

.cycling-rule-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cycling-rule-grid article {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  color: #fff;
  min-height: 250px;
}

.cycling-rule-grid span {
  color: var(--cycle-lime);
}

.cycling-rule-grid p {
  color: rgba(255, 255, 255, 0.68);
}

.cycling-hazard-band {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 18px;
}

.cycling-hazard-band > div {
  background: var(--cycle-lime);
  color: var(--ink);
  min-height: 190px;
  padding: 24px;
}

.cycling-hazard-band span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 900;
}

.cycling-hazard-band p {
  line-height: 1.58;
  margin: 30px 0 0;
}

.cycling-regional-visual {
  display: grid;
  gap: 18px;
}

.cycling-city-photo-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cycling-city-photo-grid figure {
  background: var(--cycle-forest);
  border-radius: 9px;
  color: #fff;
  margin: 0;
  overflow: hidden;
}

.cycling-city-photo-grid img {
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.cycling-city-photo-grid figcaption {
  display: grid;
  gap: 5px;
  padding: 20px 22px;
}

.cycling-city-photo-grid figcaption strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.28rem;
}

.cycling-city-photo-grid figcaption span {
  color: var(--cycle-lime);
  font-size: 0.75rem;
}

.cycling-local-system-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cycling-local-system-grid article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  min-height: 310px;
  padding: clamp(24px, 3vw, 32px);
}

.cycling-local-system-grid article > span {
  color: #60783a;
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.cycling-local-system-grid h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  margin: 12px 0;
}

.cycling-local-system-grid p {
  color: var(--ink-soft);
  line-height: 1.65;
}

.cycling-local-system-grid a {
  border-top: 1px solid var(--line);
  color: var(--cycle-forest);
  font-size: 0.78rem;
  font-weight: 900;
  margin-top: auto;
  padding-top: 16px;
  text-decoration: none;
}

.cycling-local-flow {
  background: var(--cycle-forest);
  border-radius: 8px;
  color: #fff;
  display: grid;
  gap: 24px;
  margin-top: 18px;
  padding: clamp(26px, 4vw, 40px);
}

.cycling-local-flow > span {
  color: var(--cycle-lime);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
  font-weight: 900;
}

.cycling-local-flow ol {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.cycling-local-flow li {
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  line-height: 1.5;
  min-height: 130px;
  padding: 18px;
}

.cycling-local-flow b {
  color: var(--cycle-lime);
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  margin-bottom: 14px;
}

.cycling-inline-note {
  margin-top: 18px;
}

.cycling-national-gallery {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1.35fr) repeat(2, minmax(220px, 0.65fr));
}

.cycling-national-gallery figure {
  background: var(--cycle-forest);
  border-radius: 9px;
  color: #fff;
  display: grid;
  grid-template-rows: minmax(320px, 1fr) auto;
  margin: 0;
  overflow: hidden;
}

.cycling-national-gallery img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.cycling-national-gallery figure:not(.cycling-national-wide) img {
  object-position: center 36%;
}

.cycling-national-gallery figcaption {
  display: grid;
  gap: 6px;
  padding: 22px 24px;
}

.cycling-national-gallery figcaption span {
  color: var(--cycle-lime);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.cycling-national-gallery figcaption strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
}

.cycling-route-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.cycling-route-grid article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 420px;
  padding: clamp(24px, 3vw, 34px);
}

.cycling-route-grid article > span {
  color: #60783a;
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.cycling-route-grid h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  margin: 14px 0;
}

.cycling-route-grid p,
.cycling-route-grid dd {
  color: var(--ink-soft);
  line-height: 1.65;
}

.cycling-route-grid dl {
  border-top: 1px solid var(--line);
  margin: 24px 0 0;
  padding-top: 18px;
}

.cycling-route-grid dl > div {
  display: grid;
  gap: 12px;
  grid-template-columns: 78px 1fr;
  padding: 6px 0;
}

.cycling-route-grid dt {
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.cycling-route-grid dd {
  margin: 0;
}

.cycling-network-list {
  align-items: center;
  background: var(--cycle-lime);
  border-radius: 8px;
  display: grid;
  gap: 24px 46px;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
  margin-top: 18px;
  padding: clamp(26px, 4vw, 40px);
}

.cycling-network-list > div {
  display: grid;
  gap: 7px;
}

.cycling-network-list span {
  color: #52672f;
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.cycling-network-list h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  margin: 0;
}

.cycling-network-list > p {
  font-weight: 800;
  line-height: 1.85;
  margin: 0;
}

.cycling-cert-flow,
.cycling-cert-meta {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 18px;
}

.cycling-cert-flow > div {
  background: var(--cycle-forest);
  color: #fff;
  min-height: 230px;
  padding: 24px;
}

.cycling-cert-flow span {
  color: var(--cycle-lime);
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.75rem;
  font-weight: 900;
}

.cycling-cert-flow strong {
  display: block;
  margin-top: 46px;
}

.cycling-cert-flow p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
  line-height: 1.55;
}

.cycling-cert-meta {
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cycling-cert-meta > div {
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  min-height: 230px;
  padding: 24px;
}

.cycling-cert-meta span {
  color: #60783a;
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.cycling-cert-meta strong {
  align-self: end;
  color: var(--cycle-forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
}

.cycling-cert-meta p {
  color: var(--ink-soft);
  font-size: 0.82rem;
  line-height: 1.55;
  margin-bottom: 0;
}

.cycling-official-map-link {
  align-items: center;
  background: var(--cycle-water);
  border-radius: 8px;
  color: #fff;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-top: 18px;
  padding: 24px 28px;
  text-decoration: none;
}

.cycling-official-map-link span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.cycling-official-map-link strong {
  text-align: right;
}

.cycling-transport-table-wrap {
  overflow-x: auto;
}

.cycling-transport-table {
  border-collapse: collapse;
  min-width: 1180px;
  width: 100%;
}

.cycling-transport-table th,
.cycling-transport-table td {
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 20px;
  text-align: left;
  vertical-align: top;
}

.cycling-transport-table th {
  background: rgba(255, 255, 255, 0.1);
  color: var(--cycle-lime);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.cycling-transport-table td {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
}

.cycling-transport-table td:first-child {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  width: 180px;
}

.cycling-transport-table td:first-child span,
.cycling-transport-table td:first-child strong {
  display: block;
}

.cycling-transport-table td:first-child span {
  color: var(--cycle-lime);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.cycling-transport-table td:first-child strong {
  margin-top: 8px;
}

.cycling-train-rack-photo {
  background: #fff;
  border-radius: 9px;
  color: var(--ink);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  margin: 18px 0 0;
  overflow: hidden;
}

.cycling-train-rack-photo img {
  height: 100%;
  min-height: 350px;
  object-fit: cover;
  width: 100%;
}

.cycling-train-rack-photo figcaption {
  align-content: center;
  display: grid;
  gap: 9px;
  padding: clamp(26px, 4vw, 42px);
}

.cycling-train-rack-photo span {
  color: var(--cycle-coral);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.cycling-train-rack-photo strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
}

.cycling-train-rack-photo p {
  color: var(--ink-soft);
  line-height: 1.65;
  margin: 0;
}

.cycling-confirmation-script {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.cycling-confirmation-script > div {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  min-height: 250px;
  padding: clamp(24px, 3vw, 34px);
}

.cycling-confirmation-script span {
  color: var(--cycle-lime);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.cycling-confirmation-script p[lang="ko"] {
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  line-height: 1.5;
}

.cycling-confirmation-script p:not([lang="ko"]),
.cycling-confirmation-script small {
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.65;
}

.cycling-battery-note {
  background: rgba(216, 108, 87, 0.18);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  margin-top: 18px;
}

.cycling-battery-note p {
  color: rgba(255, 255, 255, 0.7);
}

.cycling-app-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cycling-app-grid > article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  display: flex;
  flex-direction: column;
  min-height: 600px;
  padding: clamp(24px, 3vw, 34px);
}

.cycling-app-mark {
  align-items: center;
  border-radius: 18px;
  color: #fff;
  display: flex;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 900;
  height: 64px;
  justify-content: center;
  margin-bottom: 28px;
  width: 64px;
}

.cycling-app-mark-seoul { background: #5f994f; }
.cycling-app-mark-naver { background: #03c75a; }
.cycling-app-mark-kakao { background: #fee500; color: #2c2a29; }
.cycling-app-mark-bike { background: var(--cycle-water); font-size: 0.84rem; }
.cycling-app-mark-weather { background: #526ca1; }
.cycling-app-mark-help { background: var(--cycle-coral); font-size: 0.86rem; }

.cycling-app-grid article > span {
  color: #60783a;
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.cycling-app-grid h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  margin: 12px 0;
}

.cycling-app-grid article > p,
.cycling-app-grid li {
  color: var(--ink-soft);
  line-height: 1.62;
}

.cycling-app-grid ol {
  border-top: 1px solid var(--line);
  margin: 20px 0;
  padding: 20px 0 0 20px;
}

.cycling-app-grid article > div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.cycling-app-grid article > div:last-child a {
  background: var(--cycle-sand);
  border-radius: 999px;
  color: var(--cycle-forest);
  font-size: 0.75rem;
  font-weight: 900;
  padding: 9px 12px;
  text-decoration: none;
}

.cycling-app-routine {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.cycling-app-routine > div {
  background: var(--cycle-forest);
  color: #fff;
  min-height: 220px;
  padding: 26px;
}

.cycling-app-routine span {
  color: var(--cycle-lime);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
  font-weight: 900;
}

.cycling-app-routine p {
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.65;
  margin: 38px 0 0;
}

.cycling-recovery-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 0;
}

.cycling-recovery-grid article {
  background: var(--cycle-sand);
}

.cycling-phrase-wrap {
  margin-top: 18px;
}

.cycling-phrase-table td[lang="ko"] {
  color: var(--cycle-forest);
  font-weight: 900;
}

.cycling-source-panel,
.cycling-visual-credits {
  margin-top: 18px;
}

.cycling-visual-credits {
  grid-column: auto;
}

.cycling-chapter-nav {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 1240px) {
  .cycling-jumpnav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .cycling-mode-grid,
  .cycling-rule-grid,
  .cycling-recovery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cycling-mode-grid article,
  .cycling-rule-grid article,
  .cycling-recovery-grid article {
    min-height: auto;
  }

  .cycling-visitor-flow ol {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cycling-visitor-flow li {
    min-height: 230px;
  }

  .cycling-visitor-flow li:nth-child(4),
  .cycling-visitor-flow li:nth-child(5) {
    min-height: 210px;
  }
}

@media (max-width: 1080px) {
  .cycling-app-grid,
  .cycling-local-system-grid,
  .cycling-city-photo-grid,
  .cycling-route-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cycling-app-grid > article,
  .cycling-local-system-grid article,
  .cycling-route-grid article {
    min-height: auto;
  }

  .cycling-city-photo-grid figure:last-child {
    grid-column: 1 / -1;
  }

  .cycling-national-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cycling-national-wide {
    grid-column: 1 / -1;
  }

  .cycling-fare-panel {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .cycling-fare-lead {
    grid-column: span 2;
  }

  .cycling-fare-over {
    grid-column: span 2;
  }

  .cycling-member-fares {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .cycling-accordion-intro,
  .cycling-bike-compare,
  .cycling-station-photo,
  .cycling-network-list,
  .cycling-train-rack-photo,
  .cycling-fit-note,
  .cycling-tour-note,
  .cycling-foreigner-note {
    grid-template-columns: 1fr;
  }

  .cycling-accordion-intro .eyebrow {
    grid-row: auto;
  }

  .cycling-bike-compare > figure,
  .cycling-saessak-card {
    min-height: auto;
  }

  .cycling-station-photo img,
  .cycling-train-rack-photo img {
    min-height: 320px;
  }

  .cycling-warning-grid,
  .cycling-pass-options,
  .cycling-app-shot-grid,
  .cycling-cert-meta,
  .cycling-app-routine {
    grid-template-columns: 1fr;
  }

  .cycling-warning-grid article,
  .cycling-pass-options article,
  .cycling-cert-meta > div,
  .cycling-app-routine > div {
    min-height: auto;
  }

  .cycling-road-photo-pair,
  .cycling-confirmation-script {
    grid-template-columns: 1fr;
  }

  .cycling-hazard-band,
  .cycling-cert-flow,
  .cycling-local-flow ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cycling-member-fares dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .cycling-jumpnav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cycling-hero h1 {
    font-size: clamp(2.75rem, 13vw, 4rem);
  }

  .cycling-disclosure > summary {
    gap: 14px;
    grid-template-columns: 46px minmax(0, 1fr) 36px;
    min-height: 145px;
  }

  .cycling-summary-copy em {
    display: none;
  }

  .cycling-summary-action {
    height: 34px;
    width: 34px;
  }

  .cycling-mode-grid,
  .cycling-rule-grid,
  .cycling-recovery-grid,
  .cycling-app-grid,
  .cycling-local-system-grid,
  .cycling-city-photo-grid,
  .cycling-route-grid,
  .cycling-national-gallery,
  .cycling-visitor-flow ol,
  .cycling-hazard-band,
  .cycling-cert-flow,
  .cycling-local-flow ol,
  .cycling-decision-strip {
    grid-template-columns: 1fr;
  }

  .cycling-mode-grid article,
  .cycling-visitor-flow li,
  .cycling-decision-strip > div,
  .cycling-hazard-band > div,
  .cycling-cert-flow > div,
  .cycling-local-flow li {
    min-height: auto;
  }

  .cycling-city-photo-grid figure:last-child,
  .cycling-national-wide {
    grid-column: auto;
  }

  .cycling-fare-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cycling-fare-lead,
  .cycling-fare-over {
    grid-column: 1 / -1;
  }

  .cycling-member-fares dl,
  .cycling-saessak-card dl {
    grid-template-columns: 1fr;
  }

  .cycling-national-gallery figure {
    grid-template-rows: minmax(280px, 1fr) auto;
  }

  .cycling-official-map-link {
    align-items: start;
    flex-direction: column;
  }

  .cycling-official-map-link strong {
    text-align: left;
  }

  .cycling-chapter-nav {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .guide-group-chevron,
  .local-vehicle-type-card img,
  .long-visual-card img,
  .long-bus-visual img,
  .long-photo-feature img,
  .cycling-mode-grid img,
  .cycling-summary-action::before,
  .cycling-summary-action::after {
    transition: none;
  }
}

@media print {
  .site-header,
  .hero-actions,
  .quick-strip,
  .search-box,
  .library-search-form,
  .site-search-form,
  .site-search-suggestions,
  .phrase-card button,
  .button-small {
    display: none !important;
  }

  .hero {
    color: var(--ink);
    min-height: auto;
  }

  .hero-image,
  .hero-overlay {
    display: none;
  }

  .hero-content {
    min-height: auto;
    padding: 32px 0;
  }

  .guide-intro,
  .guide-section,
  .checklist-band,
  .safety-section,
  .source-section,
  .visual-break {
    background: #fff !important;
    color: var(--ink) !important;
    padding: 24px 0;
  }

  .support-card,
  .info-card,
  .place-card,
  .phrase-card,
  .check-group {
    break-inside: avoid;
  }
}
