@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;600;700&family=Noto+Sans+SC:wght@400;500;600;700&display=swap');

:root {
  --color-primary: #1a5c47;
  --color-primary-dark: #0d3d2e;
  --color-primary-light: #eef6f2;
  --color-accent: #8b7355;
  --color-bg: #f7f8f7;
  --color-surface: #ffffff;
  --color-text: #1c1c1c;
  --color-text-muted: #5a5a5a;
  --color-border: #e2e4e2;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 2px 12px rgba(0, 0, 0, 0.06);
  --radius: 8px;
  --max-width: 1120px;
  --hero-image: url('../images/hero-bg.jpg');
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.75;
  font-size: 16px;
}

html[lang="zh-CN"] body,
body:lang(zh) {
  font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--color-primary-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: none;
}

.logo {
  order: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-decoration: none;
}

.logo-title {
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--color-primary-dark);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.logo-tagline {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: -0.01em;
}

.logo:hover .logo-title {
  color: var(--color-primary);
}

/* Trust bar */
.trust-bar {
  background: var(--color-primary-light);
  border-bottom: 1px solid var(--color-border);
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.trust-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 16px;
  padding: 10px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.trust-bar strong {
  color: var(--color-primary-dark);
  font-weight: 600;
}

.trust-sep {
  opacity: 0.35;
  user-select: none;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 12px;
}

.header-right {
  order: 3;
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav {
  order: 2;
  flex: 1;
  display: flex;
  justify-content: center;
}

.logo-en {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-text);
}

.main-nav ul {
  display: flex;
  gap: 8px;
  list-style: none;
  flex-wrap: wrap;
}

.main-nav a {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
}

.main-nav a:hover,
.main-nav a.active {
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
}

.main-nav a.lang-link {
  border: 1px solid var(--color-border);
  font-size: 0.85rem;
}

.main-nav a.lang-link:hover {
  border-color: var(--color-primary);
}

.main-nav a.nav-ext::after {
  content: '↗';
  font-size: 0.65em;
  margin-left: 3px;
  opacity: 0.55;
}

/* Hero */
.hero {
  position: relative;
  color: white;
  padding: 72px 24px 88px;
  text-align: center;
  overflow: hidden;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-media {
  position: absolute;
  inset: 0;
  background: var(--hero-image) center 40% / cover no-repeat;
  transform: scale(1.02);
}

html:has(body.page-home) {
  background: #0e1311;
}

.page-home {
  --home-header-h: 76px;
  background: #0e1311;
}

.page-home .main-content {
  background: var(--color-bg);
}

.page-home .site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-home .site-header:not(.is-scrolled) {
  background: transparent;
  border-bottom: none;
  box-shadow: none;
}

.page-home .site-header:not(.is-scrolled)::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: calc(100% + 72px);
  background: linear-gradient(
    180deg,
    rgba(14, 18, 16, 0.58) 0%,
    rgba(14, 18, 16, 0.34) 42%,
    rgba(14, 18, 16, 0.12) 72%,
    rgba(14, 18, 16, 0) 100%
  );
  pointer-events: none;
  z-index: 0;
}

.page-home .site-header .header-inner {
  padding-top: 14px;
  padding-bottom: 14px;
}

.page-home .site-header:not(.is-scrolled) .header-inner {
  position: relative;
  z-index: 1;
}

.page-home .site-header:not(.is-scrolled) .logo-title {
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.22);
}

.page-home .site-header:not(.is-scrolled) .logo-tagline {
  color: rgba(255, 255, 255, 0.78);
}

.page-home .site-header:not(.is-scrolled) .logo:hover .logo-title {
  color: rgba(255, 255, 255, 0.95);
}

.page-home .site-header:not(.is-scrolled) .main-nav a {
  color: rgba(255, 255, 255, 0.92);
}

.page-home .site-header:not(.is-scrolled) .main-nav a:hover,
.page-home .site-header:not(.is-scrolled) .main-nav a.active {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.page-home .site-header:not(.is-scrolled) .main-nav a.lang-link {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.06);
}

.page-home .site-header:not(.is-scrolled) .main-nav a.lang-link:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.12);
}

.page-home .site-header:not(.is-scrolled) .nav-toggle {
  color: #fff;
}

.page-home .site-header.is-scrolled {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.page-home .site-header.is-scrolled::before {
  display: none;
}

.page-home .hero {
  flex-direction: column;
  justify-content: flex-start;
  margin-top: calc(-1 * var(--home-header-h));
  padding: var(--home-header-h) 24px 0;
  min-height: clamp(480px, 58vh, 640px);
}

.page-home .hero-media {
  background-image: url('../images/hero-bg.jpg');
  background-position: center 30%;
  transform: none;
  top: -1px;
  height: calc(100% + 1px);
}

.page-home .hero-overlay {
  background: linear-gradient(
    180deg,
    rgba(12, 16, 14, 0.12) 0%,
    rgba(12, 16, 14, 0.04) 45%,
    rgba(12, 16, 14, 0.2) 100%
  );
}

.page-home .hero .trust-bar {
  width: 100%;
  margin-top: auto;
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: none;
  color: rgba(255, 255, 255, 0.86);
  position: relative;
  z-index: 1;
  font-size: 0.78rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.32);
  min-height: clamp(40px, 5.5vh, 48px);
  display: flex;
  flex-direction: column;
}

.page-home .hero .trust-bar-inner {
  flex: 1;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 8px 12px;
  padding: 0 24px;
  text-align: center;
}

.page-home .hero .trust-bar-lead,
.page-home .hero .trust-bar-meta {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 8px 12px;
}

.page-home .hero .trust-bar-meta {
  justify-content: center;
}

.page-home .hero .trust-bar strong {
  color: #fff;
  font-weight: 600;
}

.page-home .hero .trust-bar .trust-sep {
  opacity: 0.4;
}

.page-home .hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(32px, 5vh, 56px) 0 clamp(20px, 3vh, 36px);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.38), 0 0 1px rgba(0, 0, 0, 0.25);
}

.page-home .hero-eyebrow {
  font-size: clamp(0.82rem, 1.4vw, 0.95rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
  opacity: 0.92;
}

.page-home .hero h1 {
  font-size: clamp(2.5rem, 6.5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.page-home .hero .hero-lead {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  max-width: 600px;
  line-height: 1.65;
  margin-bottom: 30px;
  opacity: 0.96;
}

.page-home .hero-cta {
  gap: 16px;
}

.page-home .hero-cta .btn {
  padding: 14px 28px;
  font-size: 1rem;
}

.page-home .hero-credit {
  margin-top: 36px;
  font-size: 0.75rem;
  opacity: 0.5;
  letter-spacing: 0.02em;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(20, 28, 24, 0.55) 0%,
    rgba(20, 28, 24, 0.68) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0.9;
  margin-bottom: 10px;
  letter-spacing: 0;
  text-transform: none;
  padding: 0;
  border: none;
  border-radius: 0;
  background: none;
}

.hero-credit {
  margin-top: 28px;
  font-size: 0.72rem;
  opacity: 0.55;
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.hero .hero-lead,
.hero p.hero-lead {
  font-size: 1.1rem;
  opacity: 0.94;
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.75;
}

.hero p:not(.hero-lead):not(.hero-eyebrow) {
  font-size: 1.1rem;
  opacity: 0.94;
  max-width: 600px;
  margin: 0 auto 32px;
}

.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: none;
  opacity: 0.95;
}

.btn-primary {
  background: white;
  color: var(--color-primary-dark);
}

.btn-primary:hover {
  color: var(--color-primary-dark);
  box-shadow: none;
  background: #f5f5f5;
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.7);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  color: white;
}

/* Page header (inner pages) */
.page-header {
  background: var(--color-primary-dark);
  color: white;
  padding: 44px 0 52px;
  border-bottom: 3px solid rgba(255, 255, 255, 0.08);
}

.page-header .container {
  padding: 0 24px;
}

.page-header h1 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: 12px;
  line-height: 1.35;
  max-width: 720px;
}

.page-header p {
  opacity: 0.9;
  max-width: 720px;
  font-size: 1.05rem;
}

.breadcrumb {
  font-size: 0.85rem;
  opacity: 0.8;
  margin-bottom: 16px;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
}

.breadcrumb a:hover {
  color: white;
}

/* Main content */
.main-content {
  padding: 48px 0 80px;
}

.section {
  margin-bottom: 48px;
}

.section h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-primary-light);
}

.section-lead {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin: -8px 0 20px;
  line-height: 1.6;
}

.section h3 {
  font-size: 1.15rem;
  margin: 24px 0 12px;
  color: var(--color-text);
}

.section p {
  margin-bottom: 16px;
  color: var(--color-text);
}

.section ul, .section ol {
  margin: 12px 0 16px 24px;
}

.section li {
  margin-bottom: 8px;
}

/* Cards grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin: 24px 0;
}

.card {
  background: var(--color-surface);
  border-radius: 4px;
  padding: 20px 22px;
  box-shadow: none;
  border: 1px solid var(--color-border);
  transition: background 0.15s, border-color 0.15s;
  position: relative;
}

.card:hover {
  background: #fcfcfc;
  border-color: #d0d4d0;
}

.card-icon {
  display: none;
}

.card h3 {
  font-size: 1.05rem;
  margin: 0 0 6px;
  font-weight: 600;
}

.card h3 a {
  color: var(--color-text);
  text-decoration: none;
}

.card:has(h3 a) {
  cursor: pointer;
}

.card:has(h3 a:focus-visible) {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.card h3 a::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}

.card:hover h3 a {
  color: var(--color-primary);
}

.card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin: 0;
}

.card .tag {
  position: relative;
  z-index: 2;
}

/* Homepage — larger, more prominent cards */
.page-home .section h2 {
  font-size: 1.75rem;
  margin-bottom: 28px;
  padding-bottom: 14px;
}

.page-home .section > p {
  font-size: 1.0625rem;
  line-height: 1.75;
  max-width: 56em;
}

.page-home .card-grid {
  grid-template-columns: 1fr;
  gap: 24px;
  margin: 32px 0 48px;
}

@media (min-width: 640px) {
  .page-home .card-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
}

@media (min-width: 1024px) {
  .page-home .card-grid {
    gap: 32px;
  }
}

.page-home .card {
  padding: 36px 40px 40px;
  border-radius: var(--radius);
  min-height: 172px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s, background 0.15s;
}

.page-home .card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(26, 92, 71, 0.35);
  transform: translateY(-3px);
  background: var(--color-surface);
}

.page-home .card h3 {
  font-size: 1.375rem;
  margin: 0 0 14px;
  line-height: 1.35;
  font-weight: 700;
}

.page-home .card p {
  font-size: 1rem;
  line-height: 1.7;
  padding-right: 28px;
}

.page-home .card .tag {
  font-size: 0.8125rem;
  padding: 5px 12px;
  margin-bottom: 12px;
}

.page-home .card:has(h3 a)::after {
  content: '→';
  position: absolute;
  right: 32px;
  bottom: 36px;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-primary);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.2s, transform 0.2s;
  pointer-events: none;
  z-index: 2;
}

.page-home .card:has(h3 a):hover::after {
  opacity: 0.85;
  transform: translateX(0);
}

/* Tables */
.table-wrap {
  overflow-x: auto;
  margin: 20px 0;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

th, td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

th {
  background: var(--color-primary-light);
  font-weight: 600;
  color: var(--color-primary-dark);
  white-space: nowrap;
}

tr:last-child td {
  border-bottom: none;
}

tr:hover td {
  background: rgba(26, 107, 82, 0.03);
}

.rating-high { color: #1a6b52; font-weight: 600; }
.rating-mid { color: #b8860b; font-weight: 600; }
.rating-low { color: #c0392b; font-weight: 600; }

/* Alert / callout boxes */
.callout {
  padding: 18px 22px;
  border-radius: var(--radius);
  margin: 24px 0;
  border-left: 4px solid;
  line-height: 1.8;
  font-size: 0.95rem;
  background: var(--color-surface);
  box-shadow: none;
}

.callout-info {
  background: var(--color-primary-light);
  border-color: var(--color-primary);
}

.callout-warning {
  background: #fef9e7;
  border-color: #f39c12;
}

.callout-tip {
  background: #ebf5fb;
  border-color: #3498db;
}

.callout strong {
  display: inline;
  font-weight: 700;
  color: var(--color-primary-dark);
}

.callout-label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  color: var(--color-primary-dark);
}

/* Weather page — hero summary */
.callout-summary {
  padding: 24px 28px;
  margin: 28px 0 36px;
  font-size: 1.05rem;
  line-height: 1.7;
  border-left-width: 5px;
  box-shadow: var(--shadow-md);
}

.callout-summary .callout-label {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}

.callout-summary-body {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 500;
  color: var(--color-text);
}

.callout-summary strong:not(.callout-label) {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-primary-dark);
}

.callout-summary .summary-good strong {
  color: var(--color-primary-dark);
}

.callout-summary .summary-avoid strong {
  color: #9b3d2e;
}

.callout-summary .summary-sep {
  margin: 0 0.35em;
  color: var(--color-text-muted);
  font-weight: 400;
}

@media (max-width: 640px) {
  .callout-summary {
    padding: 20px 18px;
  }

  .callout-summary-body {
    font-size: 1rem;
  }

  .callout-summary strong:not(.callout-label) {
    font-size: 1.08rem;
  }

  .callout-summary .summary-sep {
    display: none;
  }

  .callout-summary .summary-item {
    display: block;
    margin-bottom: 8px;
  }

  .callout-summary .summary-item:last-child {
    margin-bottom: 0;
  }
}

/* FAQ */
.faq-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-item summary {
  padding: 16px 20px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 16px;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--color-primary);
  grid-column: 2;
  grid-row: 1 / -1;
  align-self: center;
  justify-self: end;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item .faq-answer {
  padding: 0 20px 16px;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* Quick links */
.quick-nav {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
  margin: 20px 0;
}

.quick-nav a {
  display: block;
  padding: 12px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 500;
}

.quick-nav a:hover {
  background: var(--color-primary-light);
  border-color: var(--color-primary);
}

/* Month grid */
.month-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 10px;
}

.month-grid a {
  display: block;
  padding: 14px 8px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  text-align: center;
  font-weight: 500;
  font-size: 0.9rem;
}

.month-grid a:hover {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

.month-grid a.best {
  border-color: var(--color-primary);
  background: var(--color-primary-light);
}

/* Checklist */
.checklist {
  list-style: none;
  margin: 16px 0;
  padding: 0;
}

.checklist li {
  padding: 10px 0 10px 32px;
  position: relative;
  border-bottom: 1px solid var(--color-border);
}

.checklist li::before {
  content: '☐';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-size: 1.1rem;
}

/* Related links */
.related-links {
  background: var(--color-primary-light);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 48px;
}

.section.related-links {
  margin-bottom: 0;
}

.related-links h3 {
  margin: 0 0 12px;
  font-size: 1rem;
  color: var(--color-primary-dark);
}

.related-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: center;
}

.related-links li {
  margin: 0;
}

.related-links a {
  font-weight: 500;
}

/* Footer */
.site-footer {
  background: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 48px 24px 32px;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 32px;
  max-width: var(--max-width);
  margin: 0 auto 32px;
}

.footer-grid h4 {
  color: white;
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.footer-grid p {
  margin: 0;
  line-height: 1.6;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-grid li {
  margin-bottom: 6px;
}

.footer-grid a {
  color: rgba(255, 255, 255, 0.75);
}

.footer-grid a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  max-width: var(--max-width);
  margin: 0 auto;
  font-size: 0.85rem;
  opacity: 0.7;
}

.footer-bottom p {
  margin: 0;
}

.footer-updated {
  display: block;
  margin-top: 6px;
  font-size: 0.8rem;
  opacity: 0.85;
}

/* Comparison columns */
.compare-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 24px 0;
}

.compare-col {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.compare-col.highlight {
  border-color: var(--color-border);
  box-shadow: none;
  background: var(--color-primary-light);
}

.compare-col .tag {
  margin-bottom: 8px;
  align-self: flex-start;
}

.compare-col h3 {
  margin: 0 0 12px;
  font-size: 1.15rem;
  color: var(--color-primary-dark);
}

.compare-col p {
  margin: 0;
}

.compare-col ul {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}

.compare-col li {
  position: relative;
  padding-left: 14px;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.compare-col li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
}

.compare-col li:last-child {
  margin-bottom: 0;
}

.tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  margin-bottom: 8px;
}

.tag-warn {
  background: #fef9e7;
  color: #b7950b;
}

/* Map placeholder */
.map-visual {
  background: linear-gradient(180deg, #d4e8df 0%, #a8cfc0 100%);
  border-radius: var(--radius);
  padding: 40px 24px;
  text-align: center;
  margin: 24px 0;
  border: 1px solid var(--color-border);
}

.map-zones {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.map-zone {
  background: white;
  padding: 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
}

/* Responsive */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    order: 4;
    flex: 1 1 100%;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    padding: 16px;
    justify-content: flex-start;
  }

  .main-nav.open {
    display: block;
    z-index: 10;
  }

  /* Homepage overlay header: restore dark text when mobile menu opens */
  .page-home .site-header:not(.is-scrolled):has(.main-nav.open) {
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
  }

  .page-home .site-header:not(.is-scrolled):has(.main-nav.open)::before {
    display: none;
  }

  .page-home .site-header:not(.is-scrolled):has(.main-nav.open) .logo-title {
    color: var(--color-primary-dark);
    text-shadow: none;
  }

  .page-home .site-header:not(.is-scrolled):has(.main-nav.open) .logo-tagline {
    color: var(--color-text-muted);
  }

  .page-home .site-header:not(.is-scrolled):has(.main-nav.open) .nav-toggle {
    color: var(--color-text);
  }

  .page-home .site-header:not(.is-scrolled) .main-nav.open a {
    color: var(--color-text);
  }

  .page-home .site-header:not(.is-scrolled) .main-nav.open a:hover,
  .page-home .site-header:not(.is-scrolled) .main-nav.open a.active {
    background: var(--color-primary-light);
    color: var(--color-primary-dark);
  }

  .page-home .site-header:not(.is-scrolled) .main-nav.open a.lang-link {
    border-color: var(--color-border);
    background: transparent;
  }

  .page-home .site-header:not(.is-scrolled) .main-nav.open a.lang-link:hover {
    border-color: var(--color-primary);
    background: var(--color-primary-light);
  }

  .main-nav ul {
    flex-direction: column;
  }

  .site-header {
    position: sticky;
  }

  .header-inner {
    position: relative;
  }

  .hero {
    padding: 48px 24px 56px;
  }

  .page-home .hero {
    margin-top: calc(-1 * var(--home-header-h));
    padding: var(--home-header-h) 20px 0;
    min-height: clamp(420px, 52vh, 540px);
  }

  .page-home .hero-content {
    padding: clamp(28px, 5vh, 48px) 0 clamp(16px, 3vh, 28px);
  }

  .page-home .hero .trust-bar {
    min-height: clamp(52px, 7.5vh, 60px);
  }

  .page-home .hero .trust-bar-inner {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 3px;
    padding: 0 16px;
    font-size: 0.72rem;
    line-height: 1.35;
  }

  .page-home .hero .trust-bar-lead,
  .page-home .hero .trust-bar-meta {
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 10px;
  }

  .page-home .hero .trust-bar-lead {
    white-space: nowrap;
  }

  .page-home .hero .trust-sep-between {
    display: none;
  }

  .page-home .hero h1 {
    font-size: clamp(2.5rem, 11vw, 3.25rem);
  }

  .page-home .hero .hero-lead {
    font-size: 1.02rem;
    margin-bottom: 28px;
  }

  .page-home .hero-cta .btn {
    padding: 12px 22px;
    font-size: 0.95rem;
  }

  .header-right {
    margin-left: auto;
  }
}

/* ===== Bilingual: subtitle + stacked (KO primary) ===== */
.lang-switch {
  display: flex;
  gap: 4px;
}

.lang-switch button {
  padding: 6px 10px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--color-text-muted);
  font-family: inherit;
}

.lang-switch button:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.lang-switch button.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
}

.en {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.zh,
.body-zh {
  font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

.en-subtitle,
.zh-subtitle {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-text-muted);
  margin: -4px 0 12px;
  opacity: 0.85;
}

.zh-subtitle {
  color: #8b6914;
  opacity: 0.9;
}

.hero .en-subtitle {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
  margin: -8px 0 16px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero .zh-subtitle {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
  margin: -8px 0 16px;
  letter-spacing: 0.12em;
}

.page-header .en-subtitle {
  color: rgba(255, 255, 255, 0.8);
  margin: -6px 0 14px;
}

.page-header .zh-subtitle {
  color: rgba(255, 255, 255, 0.85);
  margin: -6px 0 14px;
  letter-spacing: 0.08em;
}

.bi-heading {
  display: block;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-primary-light);
}

.bi-heading .ko {
  display: block;
  font-size: 1.5rem;
  color: var(--color-primary-dark);
  font-weight: 700;
  line-height: 1.3;
}

.bi-heading .en {
  display: block;
  font-size: 0.92rem;
  color: var(--color-text-muted);
  font-weight: 500;
  margin-top: 4px;
}

.bi-heading .zh {
  display: none;
  font-size: 0.95rem;
  color: #7a6228;
  font-weight: 500;
  margin-top: 4px;
}

.bi-stack,
.bi-pair {
  display: block;
  margin-bottom: 24px;
}

.bi-stack .bi-col,
.bi-pair .bi-col {
  padding: 0;
  border: none;
  background: transparent;
}

.bi-stack .bi-col.en,
.bi-pair .bi-col.en,
.bi-stack .bi-col.zh,
.bi-pair .bi-col.zh,
.bi-block .en.body-en,
.bi-block .zh.body-zh,
.card p.zh.body-zh,
.faq-answer.zh.body-zh,
.callout .zh.body-zh,
.hero-bi .hero-block.zh {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--color-border);
  color: var(--color-text-muted);
  font-size: 0.92rem;
}

.bi-stack .bi-col.zh,
.bi-pair .bi-col.zh,
.card p.zh.body-zh,
.faq-answer.zh.body-zh,
.callout .zh.body-zh {
  color: #4a4a4a;
}

.hero-bi .hero-block.zh {
  border-top-color: rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.92);
}

.page-header-bi > .zh.body-zh,
.page-intro > .zh.body-zh {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  opacity: 0.92;
  font-size: 0.92rem;
}

.page-header-bi > .zh.body-zh h1,
.page-intro > .zh.body-zh h1 {
  display: none;
}

.bi-stack .bi-label,
.bi-pair .bi-label {
  display: none;
}

.hero-bi,
.hero-single {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.hero-bi .hero-block.en {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.page-header-bi,
.page-intro {
  max-width: 720px;
}

.page-header-bi > .en.body-en,
.page-intro > .en.body-en {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  opacity: 0.88;
  font-size: 0.92rem;
}

.page-header-bi > .en.body-en h1,
.page-intro > .en.body-en h1 {
  display: none;
}

.card h3.ko {
  margin-bottom: 0;
}

.card .en-subtitle {
  margin: 2px 0 8px;
  font-size: 0.78rem;
}

.card .zh-subtitle {
  margin: 2px 0 8px;
  font-size: 0.8rem;
  color: #7a6228;
  display: none;
}

.card p.zh.body-zh {
  font-size: 0.88rem;
  color: #555;
}

.card p.en.body-en {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed var(--color-border);
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.card h3.en {
  display: none;
}

.faq-item summary:has(.ko),
.faq-item summary:has(.en),
.faq-item summary:has(.zh) {
  align-items: start;
}

.faq-item summary .ko,
.faq-item summary .en,
.faq-item summary .zh {
  grid-column: 1;
}

.faq-item summary .ko {
  display: block;
}

.faq-item summary .en {
  display: block;
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--color-text-muted);
  margin-top: 3px;
}

.faq-answer.en.body-en {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--color-border);
  color: var(--color-text-muted);
  font-size: 0.92rem;
}

.callout .en.body-en {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 0.9rem;
}

th .cell-en,
.bi-th-en {
  display: block;
  font-size: 0.68rem;
  font-weight: 400;
  opacity: 0.7;
  margin-top: 2px;
}

.main-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.25;
  gap: 1px;
}

.main-nav a .en {
  font-size: 0.62rem;
  font-weight: 400;
  color: var(--color-text-muted);
}

.faq-item summary .zh {
  display: none;
  font-size: 0.85rem;
  font-weight: 400;
  color: #7a6228;
  margin-top: 3px;
}

th .cell-zh,
.bi-th-zh {
  display: none;
  font-size: 0.68rem;
  font-weight: 400;
  color: #7a6228;
  margin-top: 2px;
}

.main-nav a .zh {
  display: none;
  font-size: 0.62rem;
  font-weight: 400;
  color: #7a6228;
}

.logo-zh {
  display: none;
  font-size: 0.7rem;
  font-weight: 500;
  color: #7a6228;
  letter-spacing: 0.12em;
  margin-top: 2px;
}

.logo-en {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 2px;
}

.footer-grid h4 .en-subtitle,
.footer-grid h4 > .en:not(.en-subtitle) {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  opacity: 0.65;
  margin-top: 2px;
}

.footer-bottom .en.body-en {
  display: block;
  margin-top: 6px;
  font-size: 0.8rem;
  opacity: 0.65;
}

.related-links h3.en {
  font-size: 0.85rem;
  color: var(--color-primary-dark);
  opacity: 0.7;
  margin-top: -8px;
  margin-bottom: 12px;
}

.breadcrumb .en {
  opacity: 0.75;
}

body[data-lang="ko"] .body-en,
body[data-lang="ko"] .body-zh,
body[data-lang="ko"] .hero-bi .hero-block.en,
body[data-lang="ko"] .hero-bi .hero-block.zh,
body[data-lang="ko"] .bi-pair .bi-col.en,
body[data-lang="ko"] .bi-pair .bi-col.zh,
body[data-lang="ko"] .page-header-bi > .en.body-en,
body[data-lang="ko"] .page-header-bi > .zh.body-zh,
body[data-lang="ko"] .card p.en.body-en,
body[data-lang="ko"] .card p.zh.body-zh,
body[data-lang="ko"] .faq-answer.en.body-en,
body[data-lang="ko"] .faq-answer.zh.body-zh,
body[data-lang="ko"] .footer-bottom .en.body-en,
body[data-lang="ko"] .footer-bottom .zh.body-zh,
body[data-lang="ko"] .related-links li.en,
body[data-lang="ko"] .related-links li.zh,
body[data-lang="ko"] .callout .en.body-en,
body[data-lang="ko"] .callout .zh.body-zh,
body[data-lang="ko"] .footer-grid p.en.body-en,
body[data-lang="ko"] .footer-grid p.zh.body-zh,
body[data-lang="ko"] .tag.en,
body[data-lang="ko"] .tag.zh,
body[data-lang="ko"] .bi-heading .zh,
body[data-lang="ko"] .faq-item summary .zh,
body[data-lang="ko"] .main-nav a .zh,
body[data-lang="ko"] .logo-zh,
body[data-lang="ko"] .card .zh-subtitle,
body[data-lang="ko"] th .cell-zh {
  display: none !important;
}

body[data-lang="both"] .body-en,
body[data-lang="both"] .hero-bi .hero-block.en,
body[data-lang="both"] .bi-pair .bi-col.en,
body[data-lang="both"] .page-header-bi > .en.body-en,
body[data-lang="both"] .card p.en.body-en,
body[data-lang="both"] .faq-answer.en.body-en,
body[data-lang="both"] .callout .en.body-en,
body[data-lang="both"] .footer-bottom .en.body-en,
body[data-lang="both"] .related-links li.en,
body[data-lang="both"] .footer-grid p.en.body-en,
body[data-lang="both"] .tag.en,
body[data-lang="both"] .bi-heading .en,
body[data-lang="both"] .faq-item summary .en,
body[data-lang="both"] .main-nav a .en,
body[data-lang="both"] .footer-grid a .en,
body[data-lang="both"] .breadcrumb .en,
body[data-lang="both"] .logo-en,
body[data-lang="both"] .card .en-subtitle,
body[data-lang="both"] th .cell-en {
  display: none !important;
}

body[data-lang="both"] .bi-heading .zh,
body[data-lang="both"] .faq-item summary .zh,
body[data-lang="both"] .main-nav a .zh,
body[data-lang="both"] .logo-zh,
body[data-lang="both"] .card .zh-subtitle,
body[data-lang="both"] th .cell-zh {
  display: block !important;
}

body[data-lang="both"] .main-nav a .zh {
  display: block !important;
}

body[data-lang="both"] .footer-grid .en-subtitle,
body[data-lang="both"] .related-links .en-subtitle {
  display: none !important;
}

body[data-lang="both"] .footer-grid .zh-subtitle,
body[data-lang="both"] .related-links .zh-subtitle {
  display: block !important;
}

body[data-lang="en"] .zh,
body[data-lang="en"] .body-zh,
body[data-lang="en"] .logo-zh,
body[data-lang="en"] .zh-subtitle,
body[data-lang="en"] th .cell-zh {
  display: none !important;
}

body[data-lang="ko"] .zh-subtitle,
body[data-lang="ko"] .en-subtitle,
body[data-lang="ko"] .hero .zh-subtitle,
body[data-lang="ko"] .hero .en-subtitle,
body[data-lang="ko"] .logo-zh,
body[data-lang="ko"] .logo-en,
body[data-lang="ko"] .breadcrumb .zh,
body[data-lang="ko"] .breadcrumb .en,
body[data-lang="ko"] .footer-grid a .zh,
body[data-lang="ko"] .footer-grid a .en {
  display: none !important;
}

body[data-lang="ko"] .card h3.en {
  display: none !important;
}

body[data-lang="en"] .ko {
  display: none !important;
}

body[data-lang="en"] .logo-en {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  text-transform: none;
  letter-spacing: -0.02em;
}

body[data-lang="en"] .card h3.ko {
  display: none !important;
}

body[data-lang="en"] .card h3.en {
  display: block !important;
}

body[data-lang="en"] .bi-heading .ko,
body[data-lang="en"] .faq-item summary .ko {
  display: none !important;
}

body[data-lang="en"] .en-subtitle {
  display: none !important;
}

body[data-lang="en"] .main-nav a .ko {
  display: none !important;
}

body[data-lang="en"] .main-nav a .en {
  font-size: 0.9rem;
  font-weight: 500;
}

body[data-lang="both"] .hero-bi .hero-block.en h1,
body[data-lang="both"] .page-header-bi > .en.body-en h1,
body[data-lang="both"] .page-header-bi > .zh.body-zh h1 {
  display: none;
}

/* ── Travel Tools ── */
.tools-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
  padding: 16px;
  background: var(--color-surface);
  border-radius: 12px;
  border: 1px solid var(--color-border);
  position: sticky;
  top: var(--site-header-h, 72px);
  z-index: 10;
}

.tools-nav a {
  padding: 8px 14px;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 500;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.tools-nav a:hover {
  background: var(--color-primary-light);
  border-color: var(--color-primary);
  color: var(--color-primary-dark);
}

.tools-nav a.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  font-weight: 600;
}

.tools-nav a.active:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: #fff;
}

.tools-nav-featured {
  font-weight: 600;
}

.tool-panel-featured {
  border-color: var(--color-primary);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.tool-panel-featured h2 {
  color: var(--color-primary);
}

.advisor-headline {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 20px;
  padding: 16px;
  background: var(--color-primary-light);
  border-radius: 12px;
}

.advisor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.advisor-card {
  padding: 16px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: var(--color-bg);
}

.advisor-card h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}

.advisor-value {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.advisor-sub {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin-top: 6px;
}

.advisor-reasons {
  font-size: 0.88rem;
  padding-left: 1.1rem;
  margin: 0;
}

.advisor-reasons li {
  margin-bottom: 4px;
}

.advisor-next h4 {
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.advisor-next ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.btn-advisor-copy {
  margin-top: 16px;
}

.card-featured {
  border-color: var(--color-primary);
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-surface) 100%);
}

.weather-verdict {
  padding: 12px 16px;
  border-radius: 10px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 16px;
}

.weather-verdict-good {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.weather-verdict-mid {
  background: #fff3cd;
  color: #856404;
  border: 1px solid #ffeeba;
}

.weather-verdict-bad {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.tool-panel {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 28px;
  margin-bottom: 40px;
  scroll-margin-top: var(--tools-scroll-offset, 200px);
}

.tool-panel h2 {
  margin-bottom: 8px;
  font-size: 1.35rem;
  color: var(--color-primary-dark);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-primary-light);
}

.tool-panel > p.tool-desc {
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

.tool-form {
  display: grid;
  gap: 16px;
  margin-bottom: 24px;
}

.tool-form .form-row {
  display: grid;
  gap: 6px;
}

.tool-form label {
  font-weight: 500;
  font-size: 0.9rem;
}

.tool-form select,
.tool-form input[type="number"],
.tool-form input[type="range"] {
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-size: 1rem;
  background: var(--color-bg);
  max-width: 100%;
}

.tool-form .form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}

.tool-form .check-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tool-form .check-label,
.tool-form .check-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
  cursor: pointer;
}

.tool-form .spot-checks {
  display: grid;
  gap: 10px;
}

.tool-result {
  background: var(--color-bg);
  border-radius: 12px;
  padding: 20px;
}

.result-highlight {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
}

.result-highlight.result-total {
  border-bottom: none;
  padding-top: 16px;
}

.result-label {
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.result-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary-dark);
}

.result-total .result-value {
  font-size: 1.75rem;
}

.result-breakdown {
  list-style: none;
  margin: 12px 0;
  padding: 0;
}

.result-breakdown li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 0.9rem;
  border-bottom: 1px dashed var(--color-border);
}

.result-note {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 12px;
  margin-bottom: 0;
}

.weight-row {
  display: grid;
  grid-template-columns: 100px 1fr 36px;
  align-items: center;
  gap: 12px;
}

.weight-row label {
  font-size: 0.9rem;
}

.month-ranking {
  display: grid;
  gap: 8px;
}

.month-row {
  display: grid;
  grid-template-columns: 36px 120px 1fr 48px;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: var(--color-bg);
  border-radius: 8px;
}

.rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.85rem;
  color: white;
}

.rank-1 { background: #d4a017; }
.rank-2 { background: #9ca3af; }
.rank-3 { background: #b87333; }

.rank-num {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.month-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.month-temp {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.month-bar-wrap {
  height: 8px;
  background: var(--color-border);
  border-radius: 4px;
  overflow: hidden;
}

.month-bar {
  height: 100%;
  background: var(--color-primary);
  border-radius: 4px;
  transition: width 0.3s;
}

.month-score {
  font-weight: 600;
  text-align: right;
}

.itinerary-output {
  display: grid;
  gap: 16px;
}

.itinerary-day {
  background: var(--color-bg);
  border-radius: 12px;
  padding: 16px 20px;
}

.itinerary-day h4 {
  margin-bottom: 10px;
  color: var(--color-primary-dark);
}

.itinerary-day ul {
  margin: 0;
  padding-left: 20px;
}

.itinerary-day li {
  margin-bottom: 10px;
}

.itinerary-day small {
  color: var(--color-text-muted);
}

.checklist-interactive {
  list-style: none;
  padding: 0;
  margin: 0;
}

.checklist-interactive li {
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
}

.checklist-interactive li.checklist-cat {
  font-weight: 700;
  color: var(--color-primary-dark);
  padding-top: 20px;
  border-bottom: 2px solid var(--color-primary-light);
}

.checklist-interactive label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.checklist-interactive input[type="checkbox"] {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  accent-color: var(--color-primary);
}

.checklist-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.checklist-progress {
  font-weight: 600;
  color: var(--color-primary-dark);
}

.callout-warn {
  background: #fef3cd;
  border-color: #ffc107;
  margin-bottom: 16px;
}

@media (max-width: 640px) {
  .month-row {
    grid-template-columns: 32px 1fr 40px;
    grid-template-rows: auto auto;
  }

  .month-bar-wrap {
    grid-column: 1 / -1;
  }

}

/* Live weather */
.weather-current {
  text-align: center;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
}

.weather-location {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}

.weather-now {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.weather-temp {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary-dark);
}

.weather-desc {
  font-size: 1.1rem;
}

.weather-meta {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.forecast-title {
  margin: 16px 0 12px;
  font-size: 1rem;
}

.forecast-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

@media (max-width: 768px) {
  .forecast-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tool-actions {
  margin-top: 16px;
}

.print-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.print-hint {
  margin-top: 8px;
}

.forecast-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 8px;
  background: var(--color-bg);
  border-radius: 8px;
  font-size: 0.85rem;
}

.forecast-icon {
  font-size: 1.4rem;
}

.forecast-temp {
  font-weight: 600;
}

.forecast-rain {
  color: var(--color-primary);
  font-size: 0.8rem;
}

/* Currency */
.currency-result-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.currency-meta {
  margin-bottom: 12px;
}

/* Tickets */
.ticket-row {
  display: grid !important;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 8px 0;
  border-bottom: 1px dashed var(--color-border);
}

.ticket-price {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  white-space: nowrap;
}

/* Fitness */
.fitness-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 16px;
  border-radius: 12px;
  background: var(--color-bg);
  margin-bottom: 16px;
}

.fitness-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.stat-value {
  font-weight: 700;
  font-size: 1.1rem;
}

.route-card {
  background: var(--color-bg);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 12px;
}

.route-card h5 {
  margin-bottom: 10px;
  color: var(--color-primary-dark);
}

.route-steps {
  margin: 0;
  padding-left: 20px;
}

.route-steps li {
  margin-bottom: 6px;
  font-size: 0.95rem;
}

@media (max-width: 640px) {
  .fitness-summary,
  .currency-result-grid {
    grid-template-columns: 1fr;
  }

  .ticket-row {
    grid-template-columns: auto 1fr;
  }

  .ticket-price {
    grid-column: 2;
  }
}
