:root {
  --paper: #f7f1e5;
  --paper-soft: #fbf8f1;
  --ink: #202018;
  --muted: #706a5b;
  --line: #e3d7c0;
  --jade: #206b5d;
  --jade-dark: #15483f;
  --river: #2f738b;
  --gold: #b6873f;
  --gold-soft: #ead9b6;
  --red: #a83a25;
  --white: #fff;
  --shadow: 0 20px 48px rgba(59, 48, 28, .14);
  --shell: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 6%, rgba(182, 135, 63, .12), transparent 28%),
    linear-gradient(180deg, #fbf7ed 0%, var(--paper) 42%, #f5eddd 100%);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  min-width: 1180px;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.shell {
  width: min(var(--shell), calc(100% - 56px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 248, 241, .95);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 20px rgba(39, 33, 20, .08);
}

.topbar {
  height: 34px;
  border-bottom: 1px solid rgba(227, 215, 192, .75);
  color: #665f50;
  font-size: 13px;
}

.topbar__inner,
.mainnav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar__inner {
  height: 34px;
}

.topbar nav {
  display: flex;
  gap: 22px;
}

.topbar a:hover,
.navlinks a:hover {
  color: var(--jade);
}

.mainnav {
  height: 76px;
}

.mainnav__inner {
  height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand__mark {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(182, 135, 63, .55);
  background: linear-gradient(135deg, var(--jade), #183f37);
  color: #f8eed6;
  font-size: 24px;
  font-family: STKaiti, KaiTi, serif;
  line-height: 1;
}

.brand strong {
  display: block;
  font-size: 24px;
  letter-spacing: 0;
  font-family: STKaiti, KaiTi, serif;
}

.brand small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 2px;
}

.navlinks a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 76px;
  padding: 0 15px;
  color: #332f27;
  font-size: 16px;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
}

.navlinks a.active {
  color: var(--jade);
  border-bottom-color: var(--gold);
}

.hero {
  position: relative;
  min-height: 680px;
  background: #1f2d2b;
  overflow: hidden;
}

.hero__slides {
  position: relative;
  height: 680px;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .55s ease;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
}

.hero__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero__content {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.kicker {
  margin: 0 0 18px;
  color: #f4d99b;
  font-size: 18px;
  letter-spacing: 0;
}

.hero h1,
.hero h2 {
  max-width: 620px;
  margin: 0;
  font-family: STKaiti, KaiTi, serif;
  font-weight: 700;
  font-size: 72px;
  line-height: 1.05;
  letter-spacing: 0;
}

.hero__text {
  width: 560px;
  margin: 24px 0 34px;
  color: rgba(255, 248, 232, .9);
  font-size: 19px;
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  height: 44px;
  padding: 0 22px;
  border: 1px solid transparent;
  font-size: 15px;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}

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

.btn-primary {
  background: var(--gold);
  color: #1d1710;
}

.btn-light {
  border-color: rgba(255, 248, 232, .65);
  color: #fff8e8;
  background: rgba(255, 255, 255, .08);
}

.hero__arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 48px;
  height: 72px;
  margin-top: -36px;
  border: 1px solid rgba(255, 248, 232, .5);
  background: rgba(12, 24, 22, .26);
  color: #fff8e8;
  font-size: 56px;
  line-height: 1;
  cursor: pointer;
}

.hero__arrow:hover {
  background: rgba(12, 24, 22, .46);
}

.hero__arrow--prev {
  left: 28px;
}

.hero__arrow--next {
  right: 28px;
}

.hero__search {
  display: none;
}

.searchbox {
  display: grid;
  grid-template-columns: 108px 1fr 118px;
  align-items: center;
  width: 620px;
  height: 56px;
  background: rgba(255, 252, 244, .95);
  box-shadow: var(--shadow);
}

.searchbox label {
  display: grid;
  place-items: center;
  height: 100%;
  color: var(--jade-dark);
  font-weight: 700;
  border-right: 1px solid var(--line);
}

.searchbox input {
  width: 100%;
  height: 100%;
  border: 0;
  outline: 0;
  padding: 0 18px;
  color: var(--ink);
  background: transparent;
  font-size: 15px;
}

.searchbox button {
  height: 100%;
  border: 0;
  color: #fff8e8;
  background: var(--jade);
  font-size: 16px;
  cursor: pointer;
}

.quick {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: -44px;
  background: var(--paper-soft);
  border: 1px solid rgba(227, 215, 192, .9);
  box-shadow: var(--shadow);
}

.quick a {
  display: grid;
  grid-template-columns: 58px 1fr;
  grid-template-rows: auto auto;
  gap: 4px 14px;
  min-height: 108px;
  padding: 24px 22px;
  border-right: 1px solid var(--line);
  transition: background .2s ease, transform .2s ease;
}

.quick a:last-child {
  border-right: 0;
}

.quick a:hover {
  background: #fffaf0;
  transform: translateY(-4px);
}

.quick img {
  grid-row: 1 / 3;
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.quick strong {
  align-self: end;
  font-size: 18px;
}

.quick span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.section {
  padding: 78px 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.section-heading--compact {
  display: block;
  margin-bottom: 0;
}

.section-heading p,
.panel-head p {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 700;
}

.section-heading h2,
.panel-head h2 {
  margin: 0;
  font-family: STKaiti, KaiTi, serif;
  font-size: 36px;
  line-height: 1.2;
}

.section-heading a,
.panel-head > a {
  color: var(--jade);
  font-weight: 700;
}

.headline {
  padding-top: 70px;
  background: linear-gradient(180deg, rgba(255, 250, 240, .4), rgba(255, 255, 255, 0));
}

.headline__grid {
  display: grid;
  grid-template-columns: 275px 1fr 320px;
  gap: 28px;
  align-items: center;
  padding: 26px 32px;
  background: rgba(255, 252, 244, .75);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.headline__main a {
  display: block;
}

.headline__main time {
  color: var(--jade);
  font-size: 14px;
}

.headline__main h3 {
  margin: 8px 0 10px;
  font-size: 24px;
  line-height: 1.42;
}

.headline__main p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.headline__side {
  display: grid;
  gap: 12px;
}

.headline__side a {
  padding-left: 16px;
  color: #3d382f;
  line-height: 1.6;
  border-left: 3px solid var(--gold-soft);
}

.topic-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 292px;
  gap: 18px;
  overflow-x: auto;
  padding: 6px 6px 14px;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(32, 107, 93, .45) rgba(227, 215, 192, .55);
}

.topic-rail:hover {
  cursor: grab;
}

.topic-rail.is-dragging {
  cursor: grabbing;
}

.topic-rail::-webkit-scrollbar {
  height: 7px;
}

.topic-rail::-webkit-scrollbar-track {
  background: rgba(227, 215, 192, .45);
}

.topic-rail::-webkit-scrollbar-thumb {
  background: rgba(32, 107, 93, .48);
}

.topic-card {
  height: 360px;
  overflow: hidden;
  background: #fffaf0;
  border: 1px solid var(--line);
  box-shadow: 0 16px 32px rgba(54, 42, 23, .16);
}

.topic-card a {
  display: grid;
  grid-template-rows: 196px 1fr;
  height: 100%;
  color: var(--ink);
}

.topic-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.topic-card:hover img {
  transform: scale(1.08);
}

.topic-card div {
  position: relative;
  z-index: 2;
  padding: 22px 24px 24px;
}

.topic-card span {
  display: block;
  color: var(--gold);
  font-size: 14px;
  font-weight: 700;
}

.topic-card h3 {
  margin: 9px 0 10px;
  font-family: STKaiti, KaiTi, serif;
  font-size: 30px;
  line-height: 1.1;
}

.topic-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.scenics {
  background: rgba(255, 252, 244, .45);
}

.scenic-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  grid-auto-rows: 238px;
  gap: 18px;
}

.scenic-card {
  position: relative;
  overflow: hidden;
  background: #1c2c28;
}

.scenic-card--large {
  grid-row: span 2;
}

.scenic-card a,
.scenic-card img {
  width: 100%;
  height: 100%;
}

.scenic-card img {
  object-fit: cover;
  transition: transform .35s ease;
}

.scenic-card:hover img {
  transform: scale(1.06);
}

.scenic-card a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 34, 30, .04), rgba(18, 34, 30, .82));
}

.scenic-card div {
  position: absolute;
  z-index: 2;
  left: 24px;
  right: 24px;
  bottom: 22px;
  color: #fff8e8;
}

.scenic-card span {
  color: #f0cc80;
  font-size: 13px;
}

.scenic-card h3 {
  margin: 8px 0 0;
  font-size: 24px;
  font-family: STKaiti, KaiTi, serif;
}

.scenic-card p {
  margin: 10px 0 0;
  color: rgba(255, 248, 232, .82);
  line-height: 1.7;
}

.panorama__grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 34px;
  align-items: stretch;
}

.panorama__visual {
  min-height: 430px;
  overflow: hidden;
}

.panorama__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.panorama__content {
  padding: 36px;
  background: #fffaf0;
  border: 1px solid var(--line);
}

.guide-list {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.guide-list a {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.guide-list a:last-child {
  border-bottom: 0;
}

.guide-list strong {
  color: var(--jade-dark);
  font-size: 18px;
}

.guide-list span {
  color: var(--muted);
}

.two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.content-panel {
  padding: 26px;
  background: var(--paper-soft);
  border: 1px solid var(--line);
}

.panel-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 22px;
}

.featured-article {
  margin-bottom: 18px;
}

.featured-article img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.featured-article h3 {
  margin: 14px 0 0;
  font-size: 20px;
  line-height: 1.55;
}

.article-list {
  display: grid;
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
}

.article-list li {
  display: grid;
  grid-template-columns: 1fr 52px;
  gap: 20px;
  align-items: center;
  min-height: 42px;
  border-top: 1px solid var(--line);
}

.article-list a {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.article-list time {
  color: var(--muted);
  text-align: right;
  font-size: 13px;
}

.route-section {
  background: linear-gradient(180deg, rgba(255, 252, 244, .55), rgba(245, 237, 221, .8));
}

.route-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.route-card {
  background: var(--paper-soft);
  border: 1px solid var(--line);
  transition: transform .2s ease, box-shadow .2s ease;
}

.route-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.route-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.route-card div {
  padding: 22px;
}

.route-card span {
  color: var(--jade);
  font-size: 13px;
  font-weight: 700;
}

.route-card h3 {
  margin: 10px 0 10px;
  font-size: 22px;
}

.route-card p {
  min-height: 52px;
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.7;
}

.route-card strong {
  color: var(--red);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-grid a {
  min-height: 138px;
  padding: 24px;
  background: #fffaf0;
  border: 1px solid var(--line);
  transition: background .2s ease, transform .2s ease;
}

.service-grid a:hover {
  background: #fffdf7;
  transform: translateY(-4px);
}

.service-grid strong {
  display: block;
  color: var(--jade-dark);
  font-size: 20px;
}

.service-grid span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.7;
}

.friend-links {
  height: 42px;
  background: #ece5d6;
  border-top: 1px solid #ddd1bb;
  border-bottom: 1px solid #ddd1bb;
}

.friend-links__inner {
  display: flex;
  align-items: center;
  height: 42px;
  gap: 26px;
}

.friend-links strong {
  color: var(--jade-dark);
}

.friend-links nav {
  display: flex;
  align-items: center;
}

.friend-links a {
  color: #5d574a;
  font-size: 14px;
}

.friend-links a + a {
  margin-left: 16px;
  padding-left: 16px;
  border-left: 1px solid #b9aa8f;
}

.footer-main {
  color: #f2ead8;
  background: #18352f;
  padding: 44px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr .7fr .7fr 1fr;
  gap: 42px;
}

.footer-brand .brand__mark {
  margin-bottom: 16px;
  background: transparent;
}

.footer-brand strong {
  display: block;
  font-size: 24px;
  font-family: STKaiti, KaiTi, serif;
}

.footer-main h2 {
  margin: 0 0 16px;
  color: #f4d99b;
  font-size: 18px;
}

.footer-main p,
.footer-main a {
  display: block;
  margin: 0 0 10px;
  color: rgba(242, 234, 216, .78);
  line-height: 1.7;
}

.footer-main a:hover {
  color: #fff8e8;
}

.copyright {
  display: flex;
  gap: 24px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(242, 234, 216, .14);
  color: rgba(242, 234, 216, .65);
  font-size: 13px;
}

@media (max-width: 900px) {
  body {
    min-width: 0;
  }

  .shell {
    width: min(100% - 28px, var(--shell));
  }

  .mainnav,
  .mainnav__inner {
    height: auto;
  }

  .mainnav__inner,
  .topbar__inner {
    align-items: flex-start;
    gap: 14px;
    padding: 12px 0;
    flex-direction: column;
  }

  .navlinks {
    width: 100%;
    overflow-x: auto;
  }

  .navlinks a {
    height: 42px;
  }

  .hero,
  .hero__slides {
    min-height: 620px;
    height: 620px;
  }

  .hero h1,
  .hero h2 {
    font-size: 48px;
  }

  .hero__text,
  .searchbox {
    width: 100%;
  }

  .quick,
  .headline__grid,
  .scenic-grid,
  .panorama__grid,
  .two-columns,
  .route-grid,
  .service-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .quick {
    margin-top: 0;
  }

  .quick a {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .scenic-card--large {
    grid-row: span 1;
  }

  .friend-links {
    height: auto;
  }

  .friend-links__inner {
    height: auto;
    align-items: flex-start;
    padding: 12px 0;
    flex-direction: column;
  }

  .friend-links nav {
    flex-wrap: wrap;
    row-gap: 8px;
  }
}
