/* kanpian44.cn original editorial design */
:root {
  --ink:#172334;
  --muted:#647184;
  --gold:#b88849;
  --cream:#faf8f4;
  --line:#e6e5e0;
  --navy:#101d2d;
  --white:#fff;
  --max:1180px
}
* {
  box-sizing:border-box
}
html {
  scroll-behavior:smooth
}
body {
  margin:0;
  color:var(--ink);
  background:var(--cream);
  font-family:system-ui,-apple-system,"PingFang SC","Microsoft YaHei",sans-serif;
  font-size:15px;
  line-height:1.75
}
a {
  color:inherit;
  text-decoration:none
}
button,input {
  font:inherit
}
button {
  cursor:pointer
}
.wrap {
  max-width:var(--max);
  width:calc(100% - 48px);
  margin:auto
}
.topline {
  height:5px;
  background:linear-gradient(90deg,#253b56,#c99a60,#253b56)
}
header {
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(250,248,244,.96);
  backdrop-filter:blur(14px);
  border-bottom:1px solid var(--line)
}
.nav {
  display:flex;
  align-items:center;
  min-height:78px;
  gap:34px
}
.brand {
  font-weight:850;
  font-size:25px;
  letter-spacing:2px;
  white-space:nowrap
}
.brand span {
  display:inline-grid;
  place-items:center;
  background:var(--navy);
  color:#eac995;
  border-radius:9px;
  font-size:19px;
  width:35px;
  height:35px;
  margin-right:10px;
  letter-spacing:0
}
.navlinks {
  display:flex;
  gap:27px;
  align-items:center;
  margin-left:auto
}
.navlinks a {
  font-size:14px;
  color:#465267
}
.navlinks a:hover,.navlinks a:focus {
  color:var(--gold)
}
.nav .nav-cta {
  border:1px solid #c7ad84;
  padding:8px 18px;
  border-radius:50px;
  color:#7a5932
}
.menu-btn {
  display:none;
  margin-left:auto;
  border:0;
  background:none;
  font-size:26px
}
.eyebrow {
  font-size:12px;
  letter-spacing:3px;
  text-transform:uppercase;
  color:var(--gold);
  font-weight:800
}
.hero {
  background:#101c2c;
  color:white;
  overflow:hidden
}
.hero-in {
  display:grid;
  grid-template-columns:1fr 1.08fr;
  gap:55px;
  align-items:center;
  padding:70px 0
}
.hero h1 {
  font-size:clamp(36px,4.4vw,62px);
  line-height:1.23;
  letter-spacing:1px;
  margin:18px 0 22px;
  font-weight:760
}
.hero h1 em {
  color:#e1b77d;
  font-style:normal
}
.hero p {
  color:#c0c9d6;
  max-width:490px;
  font-size:16px
}
.hero-actions {
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin:29px 0
}
.btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:6px;
  padding:12px 23px;
  font-weight:650;
  border:1px solid #e3b77f;
  background:#e2b67b;
  color:#142133
}
.btn.alt {
  background:transparent;
  color:#fff;
  border-color:#627287
}
.hero-mini {
  display:flex;
  gap:28px;
  border-top:1px solid #344154;
  padding-top:19px;
  margin-top:34px;
  color:#acb9c8;
  font-size:13px
}
.hero-mini strong {
  display:block;
  color:#fff;
  font-size:19px
}
.hero-visual {
  position:relative;
  padding:10px 0 35px 26px
}
.hero-visual img {
  display:block;
  width:100%;
  height:400px;
  object-fit:cover;
  border-radius:4px;
  box-shadow:25px 25px 0 #25344a
}
.floating-label {
  position:absolute;
  bottom:0;
  left:0;
  background:#f6f0e4;
  color:#1d2b39;
  padding:15px 21px;
  box-shadow:0 10px 32px #0003
}
.floating-label b {
  display:block;
  font-size:17px
}
.floating-label small {
  color:#796a58
}
.strip {
  background:#f1ede6;
  border-bottom:1px solid #e6dfd5
}
.strip-in {
  display:flex;
  gap:22px;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  padding:19px 0;
  color:#5d6470;
  font-size:13px
}
.strip b {
  color:#1c3046
}
.section {
  padding:78px 0
}
.section.white {
  background:white
}
.section.soft {
  background:#f2eee8
}
.section-title {
  display:flex;
  justify-content:space-between;
  gap:20px;
  align-items:end;
  margin-bottom:28px
}
.section-title h2 {
  font-size:clamp(26px,3vw,36px);
  line-height:1.25;
  letter-spacing:.5px;
  margin:8px 0 10px
}
.section-title p {
  margin:0;
  color:var(--muted)
}
.section-title .side-link {
  white-space:nowrap;
  color:#986c37;
  font-weight:650;
  font-size:14px
}
.filterbar {
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  margin-bottom:25px
}
.filter {
  border:1px solid #dedbd6;
  color:#57616c;
  background:white;
  padding:8px 17px;
  border-radius:4px
}
.filter.active,.filter:hover {
  background:#182a40;
  color:white;
  border-color:#182a40
}
.search {
  margin-left:auto;
  position:relative
}
.search input {
  width:240px;
  background:#fff;
  border:1px solid #dedbd6;
  border-radius:4px;
  padding:8px 14px;
  outline-offset:3px
}
.cards {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px
}
.work-card {
  background:#fff;
  border:1px solid #e9e7e3;
  transition:transform .2s,box-shadow .2s
}
.work-card:hover {
  transform:translateY(-4px);
  box-shadow:0 16px 40px #1e28321a
}
.cover {
  display:block;
  position:relative;
  aspect-ratio:1.57;
  overflow:hidden;
  background:#22374c
}
.cover img {
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .3s
}
.work-card:hover img {
  transform:scale(1.04)
}
.tag {
  position:absolute;
  left:14px;
  top:14px;
  padding:4px 11px;
  color:white;
  background:#14283fca;
  font-size:12px;
  border-radius:2px
}
.work-body {
  padding:20px
}
.work-body h3 {
  font-size:20px;
  line-height:1.4;
  margin:0 0 10px
}
.work-body p {
  font-size:14px;
  color:#6d7886;
  margin:0 0 15px;
  min-height:50px
}
.work-meta {
  border-top:1px solid #eee;
  padding-top:11px;
  display:flex;
  justify-content:space-between;
  font-size:12px;
  color:#8b8f95
}
.work-meta b {
  color:#9b6c35
}
.feature {
  display:grid;
  grid-template-columns:1.04fr .96fr;
  background:#182a40;
  color:#fff
}
.feature img {
  width:100%;
  height:100%;
  min-height:400px;
  object-fit:cover
}
.feature-copy {
  padding:55px;
  display:flex;
  flex-direction:column;
  justify-content:center
}
.feature-copy h2 {
  font-size:34px;
  line-height:1.35;
  margin:13px 0
}
.feature-copy p {
  color:#bfc8d6
}
.feature-copy a {
  align-self:start;
  margin-top:22px;
  color:#e5ba83;
  border-bottom:1px solid #e5ba83
}
.topics {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:15px
}
.topic {
  border:1px solid #e4e0d9;
  padding:26px 20px;
  background:white;
  min-height:180px
}
.topic .icon {
  font-size:25px;
  color:#ac7d45
}
.topic h3 {
  margin:10px 0 4px;
  font-size:20px
}
.topic p {
  margin:0;
  color:var(--muted);
  font-size:13px
}
.topic:hover {
  border-color:#b78a51
}
.journal {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px
}
.journal article {
  border-left:3px solid #b98a51;
  padding:5px 0 5px 20px
}
.journal small {
  color:#b4864c;
  font-weight:700;
  letter-spacing:2px
}
.journal h3 {
  font-size:21px;
  margin:10px 0
}
.journal p {
  color:var(--muted);
  font-size:14px
}
.about {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:60px;
  align-items:start
}
.about h2 {
  font-size:34px;
  margin:7px 0 17px
}
.about p {
  color:var(--muted)
}
.principles {
  display:grid;
  gap:12px
}
.principles div {
  background:white;
  border:1px solid #e7e3dd;
  padding:18px 22px
}
.principles strong {
  display:block;
  font-size:17px
}
.principles span {
  color:var(--muted);
  font-size:13px
}
.faq {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:15px
}
.faq details {
  padding:20px 22px;
  border:1px solid #e7e3dd;
  background:white
}
.faq summary {
  font-weight:700;
  cursor:pointer
}
.faq p {
  color:var(--muted);
  font-size:14px
}
.cta-band {
  background:#cfb184;
  padding:32px 0;
  color:#17283a
}
.cta-band .wrap {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px
}
.cta-band h2 {
  margin:0;
  font-size:25px
}
.cta-band a {
  background:#14263b;
  color:#fff;
  padding:10px 22px;
  border-radius:4px
}
footer {
  background:#0f1c2c;
  color:#b5c0cb;
  padding:55px 0 20px
}
footer .footer-main {
  display:grid;
  grid-template-columns:1.6fr 1fr 1fr;
  gap:50px
}
footer h3 {
  color:#fff;
  margin:0 0 14px
}
footer p {
  max-width:440px;
  font-size:14px
}
footer a {
  display:block;
  margin:8px 0;
  font-size:14px
}
footer a:hover {
  color:#e2b67b
}
.copyright {
  border-top:1px solid #2c3a4c;
  margin-top:35px;
  padding-top:18px;
  font-size:12px;
  color:#8290a1
}
.detail-hero {
  background:#132237;
  color:#fff;
  padding:64px 0
}
.crumbs {
  font-size:13px;
  color:#9facba;
  margin-bottom:24px
}
.crumbs a {
  color:#d7b17d
}
.detail-intro {
  display:grid;
  grid-template-columns:1fr .9fr;
  gap:50px;
  align-items:center
}
.detail-intro img {
  width:100%;
  border-radius:5px
}
.detail-intro h1 {
  font-size:45px;
  line-height:1.3;
  margin:12px 0
}
.detail-intro p {
  color:#bdc9d4
}
.article {
  max-width:850px;
  margin:auto;
  padding:65px 0
}
.article h2 {
  font-size:26px;
  margin:30px 0 12px
}
.article p {
  color:#526174;
  font-size:16px;
  line-height:2.1
}
.backlink {
  color:#93672f;
  font-weight:700
}
.empty {
  padding:35px;
  border:1px dashed #c9c4b9;
  color:#667;
  text-align:center;
  grid-column:1/-1
}
a:focus-visible,button:focus-visible,input:focus-visible {
  outline:3px solid #c38d50;
  outline-offset:3px
}
@media(max-width:900px) {
  .hero-in {
    gap:25px
  }
  .hero-visual img {
    height:330px
  }
  .cards {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .topics {
    grid-template-columns:repeat(2,1fr)
  }
  .feature-copy {
    padding:35px
  }
  .navlinks {
    gap:14px
  }
  .nav {
    gap:15px
  }
}
@media(max-width:680px) {
  .wrap {
    width:calc(100% - 30px)
  }
  .nav {
    min-height:64px
  }
  .brand {
    font-size:21px
  }
  .menu-btn {
    display:block
  }
  .navlinks {
    display:none;
    position:absolute;
    top:64px;
    left:0;
    right:0;
    background:#faf8f4;
    padding:18px 20px;
    border-bottom:1px solid #ddd;
    flex-direction:column;
    align-items:stretch;
    margin:0
  }
  .navlinks.open {
    display:flex
  }
  .navlinks a {
    padding:4px
  }
  .hero-in,.detail-intro {
    grid-template-columns:1fr;
    padding:46px 0;
    gap:25px
  }
  .hero-visual {
    padding:0 15px 20px 0
  }
  .hero-visual img {
    height:240px;
    box-shadow:13px 13px 0 #25344a
  }
  .hero h1 {
    font-size:38px
  }
  .hero-mini {
    gap:18px
  }
  .section {
    padding:49px 0
  }
  .section-title {
    align-items:start;
    flex-direction:column
  }
  .cards,.journal,.about,.faq {
    grid-template-columns:1fr
  }
  .topics {
    grid-template-columns:repeat(2,1fr);
    gap:10px
  }
  .topic {
    padding:18px 14px;
    min-height:150px
  }
  .search {
    width:100%;
    margin:8px 0
  }
  .search input {
    width:100%
  }
  .feature {
    grid-template-columns:1fr
  }
  .feature img {
    min-height:220px;
    max-height:250px
  }
  .feature-copy {
    padding:25px
  }
  .cta-band .wrap {
    display:block
  }
  .cta-band a {
    display:inline-block;
    margin-top:18px
  }
  footer .footer-main {
    grid-template-columns:1fr;
    gap:20px
  }
  .detail-intro h1 {
    font-size:35px
  }
  .article {
    padding:36px 0
  }
}

/* ============================================================
   2026-11-18 layout refinement: consistent spacing and alignment
   ============================================================ */
:root {
  --max: 1160px;
}
body {
  overflow-x: hidden;
}
img {
  max-width: 100%;
}
[hidden] {
  display: none !important;
}
.navlinks a {
  white-space: nowrap;
}
.hero-in {
  min-height: 525px;
  gap: 48px;
}
.hero-visual img {
  height: 370px;
}
.strip-in {
  justify-content: center;
  column-gap: 38px;
  row-gap: 8px;
}
.section {
  padding: 68px 0;
}
.section-title {
  margin-bottom: 30px;
}
.work-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  border-radius: 9px;
  overflow: hidden;
}
.work-body {
  display: flex;
  flex: 1;
  flex-direction: column;
}
.work-body h3 {
  font-size: 19px;
}
.work-body p {
  min-height: 0;
}
.work-meta {
  margin-top: auto;
  gap: 12px;
}
.topic {
  border-radius: 8px;
}
.feature {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.feature-copy {
  min-width: 0;
}
@media (max-width: 900px) {
  .navlinks {
    gap: 12px;
  }
  .hero-in {
    min-height: auto;
    gap: 22px;
  }
  .hero-visual img {
    height: 300px;
  }
}
@media (max-width: 680px) {
  .hero-in {
    padding: 42px 0;
  }
  .hero-visual img {
    height: 230px;
  }
  .section {
    padding: 48px 0;
  }
  .cards {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .work-body {
    padding: 18px;
  }
  .feature {
    grid-template-columns: 1fr;
  }
  .strip-in {
    justify-content: flex-start;
  }
}
