﻿/* Template 3 — Field Guide · centered stack hero + magazine rows */
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; width: 100%; overflow-x: hidden; }
*, *:before, *:after { box-sizing: border-box; }

body.z40f17body {
  font-family: "Trebuchet MS", "Microsoft YaHei", "PingFang SC", sans-serif;
  color: #2b241c;
  background: #faf6f0;
  line-height: 1.7;
  word-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; border: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }

.z40f17container {
  width: 92%;
  max-width: 1100px;
  margin: 0 auto;
}

.z40f17header {
  background: #2b241c;
  position: sticky; top: 0; z-index: 100;
}
.z40f17nav_wrap {
  display: flex; align-items: center; min-height: 64px; gap: 12px;
}
.z40f17logo {
  display: flex; align-items: center; gap: 10px;
  color: #fff; font-weight: 700; max-width: 40%; flex-shrink: 0;
}
.z40f17logo_mark {
  width: 14px; height: 14px; background: #e8a23a; transform: rotate(45deg); flex-shrink: 0;
}
.z40f17logo_text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.z40f17nav_toggle { position: absolute; left: -9999px; opacity: 0; }
.z40f17nav_btn { display: none; margin-left: auto; padding: 10px; cursor: pointer; }
.z40f17nav_btn span { display: block; width: 22px; height: 2px; margin: 5px 0; background: #e8a23a; }
.z40f17nav { margin-left: auto; }
.z40f17nav_list { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.z40f17nav_link { color: #cfc5b5; font-size: 14px; }
.z40f17nav_link:hover { color: #e8a23a; }
.z40f17header_cta {
  flex-shrink: 0; background: #e8a23a; color: #2b241c !important;
  padding: 9px 16px; font-weight: 700; font-size: 13px;
}
.z40f17header_cta:hover { background: #fff; }

.z40f17btn {
  display: inline-block; padding: 12px 24px; font-weight: 700; font-size: 14px; text-align: center;
}
.z40f17btn_primary { background: #e8a23a; color: #2b241c !important; }
.z40f17btn_primary:hover { background: #2b241c; color: #fff !important; }
.z40f17btn_ghost { border: 2px solid #2b241c; color: #2b241c !important; }
.z40f17btn_ghost:hover { background: #2b241c; color: #fff !important; }

/* Banner — centered stack */
.z40f17banner {
  padding: 64px 0 40px;
  text-align: center;
  background: linear-gradient(180deg, #fff 0%, #faf6f0 100%);
}
.z40f17banner_tag {
  display: inline-block; color: #a06b1e; font-size: 12px; letter-spacing: .14em;
  font-weight: 700; margin-bottom: 16px; border-bottom: 2px solid #e8a23a; padding-bottom: 6px;
}
.z40f17banner_title {
  font-size: clamp(28px, 5vw, 48px); line-height: 1.2; margin-bottom: 16px; color: #2b241c;
}
.z40f17banner_desc {
  max-width: 640px; margin: 0 auto 28px; color: #6a5f52; font-size: 16px;
}
.z40f17banner_actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 36px; }
.z40f17banner_figure { margin: 0; }
.z40f17banner_img {
  width: 100%; height: 360px; object-fit: cover;
  border: 8px solid #fff; box-shadow: 0 16px 40px rgba(43,36,28,.15);
}
.z40f17banner_figure figcaption {
  margin-top: 12px; font-size: 13px; color: #8a7c6b; letter-spacing: .08em;
}

.z40f17ad { padding: 10px 0; text-align: center; }
.z40f17stats { background: #2b241c; padding: 28px 0; }
.z40f17stats_grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; text-align: center;
}
.z40f17stat_item strong { display: block; color: #e8a23a; font-size: 26px; margin-bottom: 4px; }
.z40f17stat_item span { color: #cfc5b5; font-size: 13px; }

.z40f17section { padding: 70px 0; }
.z40f17section_alt { background: #fff; }
.z40f17section_head { text-align: center; margin-bottom: 40px; }
.z40f17section_title { font-size: clamp(24px, 3vw, 32px); margin-bottom: 10px; }
.z40f17section_desc { color: #6a5f52; }

.z40f17magazine { display: grid; gap: 0; border-top: 2px solid #2b241c; }
.z40f17mag_row {
  display: grid; grid-template-columns: 1fr 120px; gap: 20px;
  align-items: center; padding: 28px 0;
  border-bottom: 1px solid #e5ddd2;
}
.z40f17mag_rev { grid-template-columns: 120px 1fr; }
.z40f17mag_rev .z40f17mag_text { order: 2; text-align: right; }
.z40f17mag_rev .z40f17mag_num { order: 1; }
.z40f17mag_text h3 { font-size: 22px; margin-bottom: 8px; color: #2b241c; }
.z40f17mag_text p { color: #6a5f52; font-size: 15px; }
.z40f17mag_num {
  font-size: 56px; font-weight: 800; color: #efe4d4; line-height: 1; text-align: center;
}

.z40f17adv_row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: #e5ddd2;
}
.z40f17adv_row > div {
  background: #faf6f0; padding: 28px 20px;
}
.z40f17adv_row h3 { font-size: 17px; margin-bottom: 10px; color: #a06b1e; }
.z40f17adv_row p { font-size: 14px; color: #6a5f52; }

.z40f17process {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.z40f17process li {
  background: #fff; border: 1px solid #e5ddd2; padding: 24px 18px; text-align: center;
}
.z40f17process span {
  display: inline-block; background: #2b241c; color: #e8a23a;
  font-size: 12px; padding: 4px 10px; margin-bottom: 12px; font-weight: 700;
}
.z40f17process h3 { font-size: 17px; margin-bottom: 8px; }
.z40f17process p { font-size: 13px; color: #6a5f52; }

.z40f17section_contact { background: #fff7ea; }
.z40f17contact_grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 20px;
}
.z40f17contact {
  background: #fff; border: 2px solid #2b241c; padding: 28px 22px; text-align: center;
}
.z40f17contact h3 { font-size: 15px; color: #6a5f52; margin-bottom: 12px; }
.z40f17contact_value { font-size: 22px; font-weight: 800; color: #2b241c; margin-bottom: 10px; word-break: break-all; }
.z40f17contact_note { font-size: 13px; color: #8a7c6b; }
.z40f17contact_tip {
  background: #2b241c; color: #cfc5b5; padding: 16px 20px; text-align: center; font-size: 14px;
}

.z40f17flink_list {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
}
.z40f17flink_list a {
  padding: 8px 16px; border: 1px solid #d4c8b8; font-size: 13px;
}
.z40f17flink_list a:hover { background: #2b241c; color: #fff; border-color: #2b241c; }

.z40f17footer {
  background: #2b241c; color: #cfc5b5; padding: 40px 0 24px;
}
.z40f17footer_inner { display: grid; gap: 20px; text-align: center; }
.z40f17footer_brand a { color: #fff; font-size: 18px; font-weight: 700; }
.z40f17footer_brand p { margin-top: 6px; font-size: 13px; }
.z40f17footer_links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; }
.z40f17footer_links a:hover { color: #e8a23a; }
.z40f17copyright p { font-size: 12px; margin-bottom: 4px; }

@media (max-width: 960px) {
  .z40f17stats_grid,
  .z40f17adv_row,
  .z40f17process,
  .z40f17contact_grid { grid-template-columns: repeat(2, 1fr); }
  .z40f17mag_row,
  .z40f17mag_rev { grid-template-columns: 1fr 80px; }
  .z40f17mag_rev .z40f17mag_text { order: 1; text-align: left; }
  .z40f17mag_rev .z40f17mag_num { order: 2; }
  .z40f17banner_img { height: 240px; }
}
@media (max-width: 768px) {
  .z40f17nav_btn { display: block; }
  .z40f17nav, .z40f17header_cta { display: none; }
  .z40f17nav_toggle:checked ~ .z40f17nav {
    display: block; position: absolute; left: 0; right: 0; top: 64px;
    background: #3a3128; padding: 16px 20px 20px;
  }
  .z40f17nav_toggle:checked ~ .z40f17nav .z40f17nav_list {
    flex-direction: column; align-items: flex-start; gap: 12px;
  }
  .z40f17stats_grid,
  .z40f17adv_row,
  .z40f17process,
  .z40f17contact_grid { grid-template-columns: 1fr; }
}
