@import url("https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Sora:wght@400;500;600;700&display=swap");

/* GI Global — Japan vet travel guide (local preview; noindex) */
:root {
  --jp-ink: #0b1218;
  --jp-ink-soft: #162029;
  --jp-paper: #f3eee4;
  --jp-mist: #d8e0e6;
  --jp-ember: #e0452f;
  --jp-ember-deep: #b83422;
  --jp-sea: #1a6b7a;
  --jp-gold: #d4a24a;
  --jp-muted: #6b7785;
  --jp-white: #faf8f4;
  --jp-max: 72rem;
  --jp-sans: "Sora", ui-sans-serif, system-ui, sans-serif;
  --jp-display: "Instrument Serif", Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.jp-body {
  margin: 0;
  background: var(--jp-ink);
  color: var(--jp-white);
  font-family: var(--jp-sans);
  line-height: 1.55;
  overflow-x: clip;
}

.jp-body a {
  color: inherit;
}

.jp-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--jp-ember);
  color: #fff;
  font-weight: 600;
}

.jp-skip:focus {
  left: 1rem;
  top: 1rem;
}

/* —— Top bar —— */
.jp-top {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem clamp(1rem, 4vw, 2.5rem);
}

.jp-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #fff;
}

.jp-brand img {
  width: 52px;
  height: auto;
  display: block;
}

.jp-brand span {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.88;
}

.jp-top-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  font-size: 0.86rem;
  font-weight: 500;
}

.jp-top-nav a {
  text-decoration: none;
  opacity: 0.82;
  transition: opacity 0.2s ease;
}

.jp-top-nav a:hover,
.jp-top-nav a[aria-current="page"] {
  opacity: 1;
}

/* —— Hero —— */
.jp-hero {
  position: relative;
  min-height: min(100vh, 52rem);
  display: grid;
  align-items: start;
  padding: 6.5rem clamp(1rem, 4vw, 2.5rem) 3.5rem;
  isolation: isolate;
}

.jp-hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.jp-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.06);
  animation: jp-ken 28s ease-in-out infinite alternate;
}

@keyframes jp-ken {
  from {
    transform: scale(1.06) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.12) translate3d(-1.5%, -1%, 0);
  }
}

.jp-hero-veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(8, 14, 20, 0.72) 0%, rgba(8, 14, 20, 0.28) 42%, rgba(8, 14, 20, 0.55) 100%),
    linear-gradient(90deg, rgba(8, 14, 20, 0.55) 0%, transparent 55%);
}

.jp-hero-copy {
  max-width: 38rem;
  animation: jp-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes jp-rise {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.jp-hero-copy h1 {
  margin: 0 0 0.85rem;
  font-family: var(--jp-display);
  font-size: clamp(2.75rem, 8vw, 4.75rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.jp-hero-copy h1 em {
  font-style: italic;
  color: #ffd7a8;
}

.jp-hero-copy > p {
  margin: 0 0 1.5rem;
  max-width: 32rem;
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  color: rgba(255, 255, 255, 0.86);
  font-weight: 400;
}

.jp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.jp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.jp-btn:hover {
  transform: translateY(-2px);
}

.jp-btn--solid {
  background: var(--jp-ember);
  color: #fff;
  border: 1px solid transparent;
}

.jp-btn--solid:hover {
  background: var(--jp-ember-deep);
}

.jp-btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  backdrop-filter: blur(8px);
}

.jp-btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.14);
}

.jp-btn--dark {
  background: var(--jp-ink);
  color: #fff;
  border: 1px solid transparent;
}

.jp-btn--dark:hover {
  background: #1a2833;
}

/* —— Path chooser —— */
.jp-paths {
  position: relative;
  z-index: 2;
  margin-top: -2.5rem;
  padding: 0 clamp(1rem, 4vw, 2.5rem) 4rem;
}

.jp-paths-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  max-width: var(--jp-max);
  margin: 0 auto;
}

.jp-path {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 16rem;
  padding: 1.5rem 1.4rem;
  border-radius: 1.25rem;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s ease;
}

.jp-path:hover {
  transform: translateY(-4px);
}

.jp-path::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(165deg, transparent 20%, rgba(8, 14, 20, 0.88) 100%),
    var(--path-photo) center / cover no-repeat;
  z-index: 0;
  transition: transform 0.45s ease;
}

.jp-path:hover::before {
  transform: scale(1.04);
}

.jp-path > * {
  position: relative;
  z-index: 1;
}

.jp-path small {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 215, 168, 0.95);
}

.jp-path h2 {
  margin: 0 0 0.4rem;
  font-family: var(--jp-display);
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 400;
  line-height: 1.15;
}

.jp-path p {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 28rem;
}

/* —— Sections —— */
.jp-section {
  padding: 4.5rem clamp(1rem, 4vw, 2.5rem);
}

.jp-section--paper {
  background: var(--jp-paper);
  color: var(--jp-ink);
}

.jp-section--soft {
  background: var(--jp-ink-soft);
}

.jp-section--sea {
  background:
    radial-gradient(ellipse at 10% 0%, rgba(26, 107, 122, 0.35), transparent 45%),
    var(--jp-ink);
}

.jp-wrap {
  max-width: var(--jp-max);
  margin: 0 auto;
}

.jp-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--jp-ember);
}

.jp-section--paper .jp-kicker {
  color: var(--jp-ember-deep);
}

.jp-section h2 {
  margin: 0 0 0.75rem;
  font-family: var(--jp-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.jp-lede {
  margin: 0 0 2rem;
  max-width: 40rem;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.72);
}

.jp-section--paper .jp-lede {
  color: var(--jp-muted);
}

/* —— Cards / grids —— */
.jp-grid {
  display: grid;
  gap: 1rem;
}

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

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

.jp-card {
  padding: 1.25rem 1.3rem;
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition:
    border-color 0.2s ease,
    transform 0.2s ease;
}

.jp-card:hover {
  border-color: rgba(224, 69, 47, 0.45);
  transform: translateY(-2px);
}

.jp-section--soft .jp-card a,
.jp-section--sea .jp-card a {
  color: #ffd7a8;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.jp-section--soft .jp-card a:hover,
.jp-section--sea .jp-card a:hover {
  color: #fff;
}

.jp-section--paper .jp-card {
  background: #fff;
  border-color: rgba(11, 18, 24, 0.08);
  box-shadow: 0 12px 36px rgba(11, 18, 24, 0.06);
}

.jp-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.jp-card p,
.jp-card li {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
}

.jp-section--paper .jp-card p,
.jp-section--paper .jp-card li {
  color: var(--jp-muted);
}

.jp-card ul {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
}

.jp-card li + li {
  margin-top: 0.35rem;
}

.jp-tag {
  display: inline-block;
  margin-bottom: 0.55rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(224, 69, 47, 0.18);
  color: #ffb4a6;
}

.jp-section--paper .jp-tag {
  background: rgba(224, 69, 47, 0.12);
  color: var(--jp-ember-deep);
}

/* —— Place cards with photos —— */
.jp-place {
  display: grid;
  grid-template-rows: 10rem auto;
  border-radius: 1.1rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.25s ease;
}

.jp-place:hover {
  transform: translateY(-3px);
}

.jp-section--paper .jp-place {
  background: #fff;
  border-color: rgba(11, 18, 24, 0.08);
  box-shadow: 0 12px 36px rgba(11, 18, 24, 0.06);
}

.jp-place-photo {
  background: center / cover no-repeat;
  min-height: 10rem;
}

.jp-place-body {
  padding: 1.1rem 1.15rem 1.25rem;
}

.jp-place-body h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.jp-place-body p {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
}

.jp-section--paper .jp-place-body p {
  color: var(--jp-muted);
}


.jp-listing {
  display: grid;
  gap: 1rem;
}

.jp-listing-item {
  padding: 1.15rem 1.25rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 14, 20, 0.35);
}

.jp-section--paper .jp-listing-item,
.jp-section--soft .jp-listing-item {
  background: #fff;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
  color: var(--jp-ink);
}

.jp-section--paper .jp-listing-item h3,
.jp-section--soft .jp-listing-item h3,
.jp-section--paper .jp-listing-item p,
.jp-section--soft .jp-listing-item p {
  color: var(--jp-ink);
}

.jp-listing-item h3 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
}

.jp-listing-item p {
  margin: 0 0 0.55rem;
  font-size: 0.95rem;
}

.jp-listing-addr {
  display: block;
  margin: 0 0 0.35rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.45;
}

.jp-section--paper .jp-listing-addr,
.jp-section--soft .jp-listing-addr {
  color: #475569;
}

.jp-listing-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.88rem;
}

.jp-listing-links a {
  color: #ffd7a8;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.jp-section--paper .jp-listing-links a,
.jp-section--soft .jp-listing-links a {
  color: #9a3412;
}

.jp-place-meta {
  display: block;
  margin-top: 0.55rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--jp-gold);
}

.jp-section--paper .jp-place-meta {
  color: var(--jp-sea);
}

/* —— Split band —— */
.jp-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.5rem;
  align-items: stretch;
}

.jp-split-media {
  border-radius: 1.25rem;
  overflow: hidden;
  min-height: 18rem;
  background: center / cover no-repeat;
}

.jp-note {
  margin-top: 1.25rem;
  padding: 1rem 1.15rem;
  border-radius: 0.9rem;
  border-left: 3px solid var(--jp-ember);
  background: rgba(224, 69, 47, 0.1);
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.8);
}

.jp-section--paper .jp-note {
  background: rgba(224, 69, 47, 0.08);
  color: #3a4550;
}

.jp-note a {
  color: #ffc9a0;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.jp-section--paper .jp-note a {
  color: var(--jp-ember-deep);
}

/* —— Checklist —— */
.jp-steps {
  display: grid;
  gap: 0.75rem;
  counter-reset: jpstep;
}

.jp-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid rgba(11, 18, 24, 0.08);
}

.jp-step::before {
  counter-increment: jpstep;
  content: counter(jpstep, decimal-leading-zero);
  font-family: var(--jp-display);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--jp-ember);
}

.jp-step h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
}

.jp-step p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--jp-muted);
}

/* —— CTA —— */
.jp-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 1.6rem;
  border-radius: 1.25rem;
  background:
    linear-gradient(120deg, rgba(224, 69, 47, 0.92), rgba(184, 52, 34, 0.88)),
    var(--jp-ember);
  color: #fff;
}

.jp-cta h2 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #fff;
}

.jp-cta p {
  margin: 0;
  max-width: 32rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.88);
}

.jp-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

/* —— Footer —— */
.jp-foot {
  padding: 2.5rem clamp(1rem, 4vw, 2.5rem) 3rem;
  background: #060b10;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.82rem;
}

.jp-foot-inner {
  max-width: var(--jp-max);
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

.jp-foot a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.jp-foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

@media (prefers-reduced-motion: reduce) {
  .jp-hero-media img {
    animation: none;
    transform: none;
  }

  .jp-hero-copy,
  .jp-path,
  .jp-card,
  .jp-place,
  .jp-btn {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 900px) {
  .jp-paths-grid,
  .jp-grid--3,
  .jp-grid--2,
  .jp-split {
    grid-template-columns: 1fr;
  }

  .jp-hero {
    min-height: 85vh;
    padding-bottom: 5rem;
  }

  .jp-nav-toggle {
    display: inline-flex;
  }

  .jp-top-nav {
    display: none;
    position: absolute;
    top: calc(100% + 0.35rem);
    right: clamp(1rem, 4vw, 2.5rem);
    flex-direction: column;
    gap: 0;
    min-width: 12rem;
    padding: 0.5rem;
    border-radius: 0.85rem;
    background: rgba(8, 14, 20, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  }

  .jp-top-nav.is-open {
    display: flex;
  }

  .jp-top-nav a {
    padding: 0.65rem 0.85rem;
    border-radius: 0.55rem;
  }

  .jp-top-nav a:hover {
    background: rgba(255, 255, 255, 0.06);
  }
}

@media (max-width: 560px) {
  .jp-hero-actions,
  .jp-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .jp-btn {
    width: 100%;
  }
}

.jp-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.jp-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0.65rem;
  background: rgba(8, 14, 20, 0.45);
  color: #fff;
  cursor: pointer;
}

.jp-nav-toggle-bars,
.jp-nav-toggle-bars::before,
.jp-nav-toggle-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  position: relative;
}

.jp-nav-toggle-bars::before,
.jp-nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.jp-nav-toggle-bars::before {
  top: -6px;
}

.jp-nav-toggle-bars::after {
  top: 6px;
}

/* Must follow the base .jp-nav-toggle { display: none } rule above */
@media (max-width: 900px) {
  .jp-nav-toggle {
    display: inline-flex;
  }
}

.jp-updated {
  margin: 0.75rem 0 0;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

.jp-toc {
  position: sticky;
  top: 0;
  z-index: 15;
  background: rgba(11, 18, 24, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.jp-toc-inner {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.35rem;
  max-width: var(--jp-max);
  margin: 0 auto;
  padding: 0.65rem clamp(1rem, 4vw, 2.5rem);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.jp-toc a {
  flex: 0 0 auto;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.jp-toc a:hover {
  border-color: rgba(224, 69, 47, 0.55);
  color: #fff;
}

@media (min-width: 901px) {
  .jp-nav-toggle {
    display: none !important;
  }
}

.jp-subhead {
  font-size: 1.35rem;
  margin: 0 0 1rem;
  color: inherit;
}

.jp-card--region h3 {
  margin: 0.35rem 0 0.55rem;
}

.jp-card--region > p {
  margin: 0 0 0.85rem;
  font-size: 0.92rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.78);
}

.jp-section--paper .jp-card--region > p {
  color: var(--jp-muted);
}

.jp-region-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.85rem;
  font-size: 0.85rem;
}

.jp-region-links a {
  color: #ffd7a8;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.jp-section--paper .jp-region-links a {
  color: #9a3412;
}

.jp-listing--spaced {
  margin-bottom: 2rem;
}

.jp-toc a.is-active {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-color: rgba(255, 215, 168, 0.55);
}

.jp-checklist-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-bottom: 1.5rem;
}

.jp-checklist-head .jp-lede {
  margin-bottom: 0;
}

.jp-print-btn {
  flex: 0 0 auto;
}

.jp-checklist-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.jp-checklist-col {
  padding: 1.15rem 1.25rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
  color: var(--jp-ink);
}

.jp-checklist-col h3 {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
  color: var(--jp-ink);
}

.jp-check {
  list-style: none;
  margin: 0;
  padding: 0;
}

.jp-check li + li {
  margin-top: 0.55rem;
}

.jp-check label {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  font-size: 0.9rem;
  line-height: 1.4;
  color: #334155;
  cursor: pointer;
}

.jp-check input {
  margin-top: 0.2rem;
  flex: 0 0 auto;
  accent-color: var(--jp-ember);
}

.jp-listing--cards {
  grid-template-columns: 1fr;
}

.jp-listing-item--media {
  display: grid;
  grid-template-columns: minmax(7rem, 11rem) 1fr;
  gap: 0;
  padding: 0;
  overflow: hidden;
}

.jp-listing-photo {
  min-height: 100%;
  background-size: cover;
  background-position: center;
}

.jp-listing-body {
  padding: 1.15rem 1.25rem;
}

.jp-tip-form {
  max-width: 40rem;
  padding: 1.35rem 1.4rem;
  border-radius: 1.1rem;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
  color: var(--jp-ink);
}

.jp-tip-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 1rem;
}

.jp-tip-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #475569;
}

.jp-tip-full {
  grid-column: 1 / -1;
}

.jp-tip-form input,
.jp-tip-form select,
.jp-tip-form textarea {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 0.65rem;
  font: inherit;
  font-weight: 400;
  color: var(--jp-ink);
  background: #faf8f4;
}

.jp-tip-form textarea {
  resize: vertical;
  min-height: 6rem;
}

.jp-tip-actions {
  margin-top: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.1rem;
}

.jp-tip-note {
  margin: 0;
  font-size: 0.82rem;
  color: #64748b;
  font-weight: 400;
}

.jp-section--soft .jp-btn--solid {
  background: var(--jp-ember);
  color: #fff;
}

@media (max-width: 900px) {
  .jp-checklist-grid {
    grid-template-columns: 1fr;
  }

  .jp-listing-item--media {
    grid-template-columns: 1fr;
  }

  .jp-listing-photo {
    min-height: 9rem;
  }

  .jp-tip-grid {
    grid-template-columns: 1fr;
  }
}

@media print {
  .jp-top,
  .jp-hero,
  .jp-paths,
  .jp-toc,
  .jp-nav-toggle,
  .jp-print-btn,
  .jp-foot,
  #moving,
  #already-here,
  #settle,
  #visa,
  #jobs,
  #rent,
  #eat,
  #hangouts,
  #regions,
  #discounts,
  #daily,
  #tips,
  #study {
    display: none !important;
  }

  #checklist {
    display: block !important;
  }

  body.jp-body {
    background: #fff;
    color: #111;
  }

  .jp-checklist-col {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ccc;
  }

  .jp-checklist-grid {
    grid-template-columns: 1fr;
  }
}
