:root {
  color-scheme: light;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  line-height: 1.7;
}
* { box-sizing: border-box; }
body {
  --page: #f6f7f2;
  --surface: #fff;
  --soft: #e7ede2;
  --ink: #132c23;
  --muted: #4b6056;
  --brand: #14634b;
  --line: #d6dfd4;
  --dark: #122e25;
  --hero-highlight: #e5f3dd;
  margin: 0;
  color: var(--ink);
  background: var(--page);
}
body.australia {
  --page: #fff9f2;
  --surface: #fffdf9;
  --soft: #f8eadb;
  --ink: #35241f;
  --muted: #6a5148;
  --brand: #9c452d;
  --line: #ecd9c8;
  --dark: #3c2720;
}
[hidden] { display: none !important; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
h1,h2,h3,p,figure,dl,ol,ul { margin: 0; }
h1,h2,h3 { line-height: 1.22; text-wrap: pretty; }
h1 { font-size: clamp(2.2rem, 5.2vw, 4.9rem); letter-spacing: -.05em; }
h2 { font-size: clamp(1.65rem, 3vw, 2.45rem); letter-spacing: -.04em; }
h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); letter-spacing: -.016em; }
p + p { margin-top: .9rem; }
a { color: inherit; text-underline-offset: .23em; }
a:hover { text-decoration-thickness: 2px; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
:focus-visible { outline: 3px solid #3670ad; outline-offset: 4px; }
.wrap { width: min(100% - 4rem, 1220px); margin-inline: auto; }
.skip { position: absolute; top: -10rem; left: 1rem; z-index: 10; background: white; padding: .65rem 1rem; }
.skip:focus { top: .5rem; }
.utility { color: #fff; background: var(--dark); font-size: .85rem; }
.utility-bar { display: flex; justify-content: space-between; gap: .35rem 1rem; padding-block: .33rem; }
.utility a { white-space: nowrap; }
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 4.75rem; gap: .75rem 1.6rem; }
.mark { display: inline-flex; flex-direction: column; gap: .12rem; line-height: 1.06; font-weight: 850; white-space: nowrap; text-decoration: none; }
.mark span { font-size: 1.56rem; letter-spacing: .106em; }
.mark small { font-family: system-ui,sans-serif; font-size: .67rem; font-weight: 750; letter-spacing: .115em; }
.header-inner nav { display: flex; gap: .4rem clamp(.7rem, 2.7vw, 2.25rem); flex-wrap: wrap; align-items: center; }
.header-inner nav a { font-weight: 650; text-decoration: none; white-space: nowrap; }
.header-inner nav a:hover,.header-inner nav a[aria-current],.header-inner nav a.in-section { color: var(--brand); text-decoration: underline; }
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 2.9rem; padding: .58rem 1.05rem;
  color: #fff; background: var(--brand); border: 1px solid var(--brand); border-radius: .35rem; text-decoration: none; font-weight: 730; white-space: nowrap;
}
.button:hover { filter: brightness(.88); text-decoration: none; }
.button-small { min-height: 2.55rem; font-size: .92rem; padding-inline: .9rem; }
.button-secondary { background: transparent; color: var(--brand); }
.read,.inline-button { color: var(--brand); font-weight: 720; }
.inline-button { border: 0; padding: .15rem .1rem; background: transparent; text-decoration: underline; text-underline-offset: .22em; }
.hero { min-height: min(630px, 76vh); position: relative; display: grid; align-items: center; isolation: isolate; color: white; background: var(--dark); }
.hero-visual { position: absolute; z-index: -1; inset: 0; overflow: hidden; }
.hero-visual img { object-position: center 57%; }
.hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #10241deb 0%, #10251dc8 31%, #16332636 75%, #18332900 100%); }
.hero-copy { padding-block: clamp(2.6rem, 7vw, 6.2rem); max-width: 43rem; }
.hero-copy .hero-label { color: var(--hero-highlight); font-size: .92rem; font-weight: 750; letter-spacing: .06em; margin-bottom: 1.24rem; }
.hero-copy h1 { margin-bottom: 1.35rem; }
.hero-copy h1 + p { font-size: 1.125rem; max-width: 35rem; color: #f4f8f3; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.8rem; }
.newzealand .hero .button { background: #e5f3dd; color: #153d30; border-color: #e5f3dd; }
.newzealand .hero .button-secondary { color: #fff; background: transparent; border-color: #fff9; }
.australia .hero {
  width: min(100% - 4rem, 1220px); margin: 1.8rem auto 0; isolation: auto; overflow: hidden;
  min-height: 560px; display: grid; grid-template-columns: .87fr 1fr; grid-template-areas: "copy photo";
  border: 1px solid var(--line); border-radius: .6rem; background: var(--soft); color: var(--ink);
}
.australia .hero-visual { position: relative; grid-area: photo; z-index: auto; align-self: stretch; min-height: 26rem; }
.australia .hero-visual img { position: absolute; inset: 0; object-position: 41% center; }
.australia .hero-visual::after { content: none; }
.australia .hero-inner { width: 100%; grid-area: copy; }
.australia .hero-copy { padding: clamp(1.5rem, 4.3vw, 4.1rem); }
.australia .hero-copy h1 { font-size: clamp(2.05rem, 4.5vw, 3.9rem); }
.australia .hero-copy .hero-label { color: var(--brand); }
.australia .hero-copy h1 + p { color: var(--muted); }
.section { margin-block: clamp(2.7rem, 5.9vw, 5rem); }
.title-row { display: flex; align-items: baseline; justify-content: space-between; gap: .7rem 1rem; margin-bottom: 1.25rem; flex-wrap: wrap; }
.choices h2 { margin-bottom: 1.25rem; }
.choice-grid,.tile-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.australia .choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choice { position: relative; isolation: isolate; display: flex; align-items: end; min-height: 15.2rem; background: var(--dark); border-radius: .5rem; color: #fff; overflow: hidden; text-decoration: none; }
.choice img { position: absolute; inset: 0; z-index: -2; }
.choice::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg,#111c17fa, #121a15b8 42%, #10231912 88%); }
.choice > div { padding: 1.15rem 1.2rem; }
.choice p:first-child { font-size: .87rem; font-weight: 760; margin-bottom: .25rem; }
.choice h3 { margin: 0 0 .37rem; }
.choice:hover h3 { text-decoration: underline; }
.choice p:last-child { font-size: .94rem; line-height: 1.5; }
.tile { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: .5rem; background: var(--surface); overflow: hidden; }
.tile-photo { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--soft); }
.tile-photo img { transition: transform .22s ease; }
.tile:hover .tile-photo img { transform: scale(1.035); }
.tile-copy { padding: 1.2rem; display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.tile h3 a { text-decoration: none; }
.tile h3 a:hover { text-decoration: underline; }
.tile-copy h3 + p { color: var(--muted); margin: .68rem 0 1rem; }
.tile .tag { color: var(--brand); font-size: .9rem; font-weight: 760; margin-bottom: .45rem; }
.tile .read { margin-top: auto; }
.reading { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.reading div { padding: clamp(1.2rem, 3vw, 2.15rem); border-radius: .5rem; background: var(--soft); }
.reading h2 { margin-bottom: .7rem; }
.reading ul,.content-section ul,.article-aside ul,.article-aside ol { padding-left: 1.28rem; }
.reading li,.article-aside li,.content-section li { margin-bottom: .34rem; }
.reading .read { display: inline-block; margin-top: .65rem; }
.consult-panel {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1.1rem 2rem; margin: 3.5rem 0 2.5rem;
  padding: clamp(1.25rem, 4vw, 2.55rem); border-radius: .55rem; color: white; background: var(--dark);
}
.consult-panel h2 { font-size: clamp(1.45rem, 3vw, 2rem); }
.consult-panel h2 + p { margin-top: .55rem; }
.consult-panel .button { background: #fff; color: var(--dark); border-color: #fff; }
.consult-panel .button-secondary { background: transparent; color: #fff; border-color: #fff9; }
.consult-panel .inline-button { color: #fff; }
.consult-actions > p { margin-top: .55rem; display: inline-block; margin-right: .4rem; }
.copy-status { margin-left: .25rem; font-size: .9rem; }
.site-footer { color: white; background: var(--dark); padding-block: 2.5rem; margin-top: 2.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 1.3rem 2rem; }
.footer-grid .mark { margin-bottom: .8rem; }
.footer-grid nav { display: grid; grid-template-columns: repeat(2, max-content); column-gap: 1.4rem; }
.footer-grid p + p { margin-top: .25rem; }
.crumb { font-size: .9rem; color: var(--muted); padding-top: 1.2rem; }
.crumb ol { display: flex; flex-wrap: wrap; gap: .35rem; list-style: none; padding: 0; }
.crumb li + li::before { content: " / "; margin-right: .35rem; }
.inner { min-height: 55vh; }
.page-intro { margin: clamp(1.1rem, 4vw, 2.6rem) 0 1.45rem; max-width: 52rem; }
.page-intro h1 { font-size: clamp(1.95rem, 4vw, 3.75rem); }
.lede { color: var(--muted); font-size: clamp(1.07rem, 2vw, 1.2rem); margin-top: .9rem; max-width: 50rem; }
.route-filters { display: flex; flex-wrap: wrap; gap: .85rem 1.15rem; align-items: flex-end; background: var(--soft); padding: 1rem 1.2rem; border-radius: .42rem; margin: 1.1rem 0; }
.route-filters label,.planner-form label,.plan-output label { display: flex; flex-direction: column; gap: .35rem; font-weight: 700; }
select,input,textarea { border: 1px solid #a6a69a; color: var(--ink); background: var(--surface); border-radius: .28rem; padding: .45rem .62rem; min-height: 2.55rem; min-width: 0; }
select { min-width: 8.5rem; }
.filter-result { padding-bottom: .45rem; }
.no-results { padding: 1.3rem 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: .35rem; }
.article-hero { display: grid; grid-template-columns: 1.16fr 1fr; gap: 1.7rem; align-items: start; margin-block: 1rem 1.75rem; }
.article-hero .page-intro { margin: 0 0 1rem; }
.article-hero figure { overflow: hidden; border-radius: .5rem; }
.article-hero img { aspect-ratio: 3 / 2; }
figcaption { font-size: .86rem; color: var(--muted); padding-block: .45rem; }
.byline { color: var(--muted); font-size: .9rem; }
.trip-facts { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin-top: 1rem; }
.trip-facts > div { padding: .65rem .85rem; background: var(--soft); border-radius: .35rem; }
.trip-facts dt { color: var(--brand); font-weight: 740; font-size: .9rem; }
.trip-facts dd { margin: .14rem 0 0; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(245px, .42fr); gap: clamp(1.5rem,5vw,4rem); align-items: start; padding-top: .3rem; }
.article-aside { background: var(--soft); border-radius: .42rem; padding: 1.15rem; }
.article-aside h2 { font-size: 1.16rem; margin: .35rem 0 .5rem; }
.article-aside ul,.article-aside ol { margin-bottom: 1rem; }
.article-aside .button { white-space: normal; }
.content-section { margin: 0 0 1.75rem; scroll-margin-top: 1rem; }
.content-section h2 { font-size: clamp(1.47rem, 2.7vw, 2.04rem); margin-bottom: .8rem; }
.content-section .button { margin-top: .9rem; }
.days { list-style: none; padding: 0; display: grid; gap: .75rem; }
.days > li { padding: 1rem 1.2rem; background: var(--surface); border: 1px solid var(--line); border-radius: .43rem; margin: 0; }
.days span { color: var(--brand); font-size: .86rem; font-weight: 760; }
.days h3 { margin: .35rem 0 .5rem; }
.qa { border-top: 1px solid var(--line); padding: 1rem 0; scroll-margin-top: 1rem; }
.qa h2,.qa h3 { margin: 0 0 .5rem; font-size: 1.18rem; }
.qa a { text-decoration: none; }
.qa a:hover { text-decoration: underline; }
.qa:target,.days li:target { background: var(--soft); }
.qa:target { padding-inline: .75rem; }
.faq-page { max-width: 55rem; }
.contact-grid,.planner-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-block: 1rem 2.3rem; }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: .5rem; padding: clamp(1.1rem, 3vw, 1.75rem); align-self: start; }
.contact-card h2 { font-size: 1.44rem; margin-bottom: .5rem; }
.contact-card .button { margin-top: .75rem; }
.big-phone { font-size: clamp(1.65rem, 3.3vw, 2.4rem); font-weight: 790; color: var(--brand); }
.planner-form { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: .65rem .8rem; }
.planner-form label:has(textarea),.planner-form button { grid-column: 1 / -1; }
textarea { resize: vertical; }
.plan-output { margin-top: .8rem; }
.planner-result > p:last-child { margin-top: .9rem; }
@media (max-width: 900px) {
  .wrap,.australia .hero { width: min(100% - 2.5rem, 1220px); }
  .australia .hero { min-height: 460px; }
  .australia .hero-copy h1 { font-size: clamp(1.95rem, 4.5vw, 3.75rem); }
  .choice-grid,.tile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 675px) {
  .wrap,.australia .hero { width: min(100% - 2rem, 1220px); }
  .header-inner { display: grid; grid-template-columns: 1fr auto; padding-block: .63rem; gap: .6rem; }
  .header-inner nav { grid-row: 2; grid-column: 1 / -1; justify-content: space-between; font-size: .9rem; }
  .header-inner .button { grid-column: 2; grid-row: 1; }
  .utility-bar { font-size: .74rem; }
  .utility-bar > span:first-child { font-size: 0; }
  .utility-bar > span:first-child::after { content: "华人旅行社 · 中文咨询"; font-size: .74rem; }
  .hero { min-height: 490px; }
  .hero-visual img { object-position: 58% center; }
  .hero-visual::after { background: linear-gradient(90deg,#10241df0,#10251d90 75%,#10251d55); }
  .hero-copy h1 { font-size: clamp(2.1rem, 7.6vw, 3.4rem); }
  .hero-copy h1 + p { font-size: 1.05rem; }
  .australia .hero { display: flex; flex-direction: column-reverse; margin-top: .8rem; min-height: auto; }
  .australia .hero-copy { padding: 1.2rem; }
  .australia .hero-visual { min-height: auto; aspect-ratio: 16 / 8; }
  .australia .hero-copy h1 { font-size: clamp(2rem, 8vw, 3.6rem); }
  .tile-grid,.choice-grid,.australia .choice-grid,.reading,.article-hero,.article-layout,.contact-grid,.planner-grid,.consult-panel { grid-template-columns: 1fr; }
  .choice { min-height: 12rem; }
  .article-hero img { aspect-ratio: 16 / 9; }
  .article-aside { order: -1; }
  .tile-copy { padding: 1rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .footer-grid nav { grid-template-columns: 1fr; grid-column: 2; grid-row: span 2; align-content: start; gap: .3rem; }
}
@media (max-width: 380px) {
  .header-inner nav { gap: .42rem .65rem; justify-content: flex-start; }
  .planner-form { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .tile-photo img { transition: none; } }

.comparison h2 { margin-bottom: 1.15rem; }
.table-scroll { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: .5rem; }
.comparison table { border-collapse: collapse; width: 100%; min-width: 670px; text-align: start; }
.comparison th,.comparison td { padding: .8rem 1rem; vertical-align: top; text-align: start; border-bottom: 1px solid var(--line); }
.comparison thead { background: var(--soft); }
.comparison tbody tr:last-child > * { border-bottom: 0; }
.comparison tbody th { width: 24%; color: var(--brand); }
.comparison td:nth-child(2) { width: 12%; white-space: nowrap; }
.comparison td:nth-child(3) { width: 30%; }

.planner-grid > *, .contact-grid > * { min-width: 0; }
.planner-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.planner-form select, .planner-form input, .planner-form textarea, .plan-output textarea { width: 100%; }
@media (max-width: 675px) {
  .planner-form, .planner-grid { grid-template-columns: minmax(0, 1fr); }
}

.route-filters input[type="search"] { min-width: min(17rem, 100%); }
.route-filters button[type="reset"] { min-height: 2.55rem; }
.day-links { display: flex; flex-wrap: wrap; gap: .4rem; margin: .9rem 0 0; }
.day-links a { display: inline-flex; align-items: center; min-height: 2.25rem; padding-inline: .55rem; background: var(--surface); color: var(--brand); border: 1px solid var(--line); border-radius: .26rem; font-size: .9rem; font-weight: 690; }
@media (max-width: 675px) {
  .route-filters > label:first-child { flex-basis: 100%; }
}
