* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background-color: #fff;
  color: #1a1a1a;
  line-height: 1.7;
}

a { text-decoration: none; color: #000; transition: color 0.3s; }
a:hover { color: #666; }
img { max-width: 100%; display: block; }

.siteLogo { width: 200px; }

header {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  text-align: center;
}

nav.navPC {
  background-color: #f0d2ae;
  border-bottom: 1px solid #eee;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 999;
}

.nav-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.nav-list a { color: #fff; }

.nav-link {
  padding: 8px 12px;
  border-radius: 4px;
  transition: background 0.3s;
}

.nav-link:hover,
.nav-link.active {
  background-color: #f79060;
  font-weight: bold;
}

.header_MB { display: none; }

.page-hero {
  position: relative;
  height: 280px;
  background: url("../img/blog_04.jpg") center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 20px;
}

.page-hero h1 {
  font-size: 42px;
  letter-spacing: 4px;
  margin-bottom: 10px;
}

.page-hero p {
  font-size: 16px;
  color: #f5f5f5;
}

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 80px 80px;
}

.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
  padding-bottom: 16px;
  border-bottom: 1px solid #ccc;
}

.section-title {
  font-size: 36px;
  font-weight: bold;
}

.sort-box {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #666;
  font-size: 15px;
}

.sort-box select {
  appearance: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath fill='%23827B71' d='M0 0l6 8 6-8z'/%3E%3C/svg%3E") no-repeat right 12px center;
  border: 1px solid #e0d4c4;
  border-radius: 6px;
  padding: 8px 36px 8px 14px;
  font-size: 15px;
  color: #333;
  cursor: pointer;
}

.sort-box select:focus { outline: 2px solid #f0d2ae; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.blog-card {
  display: block;
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s, box-shadow 0.25s;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  color: #000;
}

.blog-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.blog-card-body { padding: 22px 24px 26px; }

.blog-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #827B71;
  font-size: 14px;
  margin-bottom: 10px;
}

.blog-meta i { color: #e6ad63; }

.blog-card h2 {
  font-size: 22px;
  line-height: 1.4;
  margin-bottom: 12px;
  color: #1a1a1a;
}

.blog-card:hover h2 { color: #c47a3a; }

.blog-excerpt {
  font-size: 16px;
  color: #555;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.read-more {
  display: inline-block;
  margin-top: 16px;
  color: #c47a3a;
  font-size: 15px;
  font-weight: 600;
}

.article-wrap {
  max-width: 860px;
  margin: 0 auto;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #e0d4c4;
  border-radius: 6px;
  padding: 8px 14px;
  margin-bottom: 28px;
  color: #555;
  font-size: 15px;
  transition: background 0.2s;
}

.back-btn:hover { background: #faf4ec; color: #333; }

.article-hero {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 28px;
}

.article-date {
  color: #827B71;
  font-size: 15px;
  margin-bottom: 12px;
}

.article-title {
  font-size: 34px;
  line-height: 1.35;
  margin-bottom: 22px;
  border-bottom: 1px solid #eee;
  padding-bottom: 18px;
}

.article-body p {
  font-size: 18px;
  margin-bottom: 18px;
  color: #333;
}

.article-cta {
  margin-top: 36px;
  padding: 24px;
  background: #faf4ec;
  border: 1px solid #e6ad63a4;
  border-radius: 12px;
}

.article-cta p { font-size: 16px; margin-bottom: 8px; }
.article-cta a { color: #c47a3a; font-weight: 600; }

.article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.article-nav a {
  display: block;
  padding: 16px 18px;
  border: 1px solid #eee;
  border-radius: 10px;
  background: #fafafa;
  color: #555;
  font-size: 14px;
}

.article-nav a:hover { background: #faf4ec; color: #c47a3a; }
.article-nav span { display: block; font-size: 12px; color: #999; margin-bottom: 6px; }
.article-nav .next { text-align: right; }

footer {
  background-color: #333;
  position: relative;
  color: #fff;
  text-align: center;
  background-image: url("../img/yusheng-baner-3.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  padding: 40px 20px 30px;
}

footer * { position: relative; z-index: 2; }

footer::before {
  position: absolute;
  inset: 0;
  content: "";
  background-color: rgba(0, 0, 0, 0.5);
}

footer img { width: 100px; margin: 0 auto 16px; }

.footer-contact {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin: 12px 0 16px;
  font-size: 15px;
}

.footer-contact a { color: #fff; }
.footer-contact a:hover { color: #f0d2ae; }
.copyright { font-size: 14px; color: #fff; }

#backTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  background-color: #000;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 999;
}

#backTop.show { opacity: 1; visibility: visible; }

@media (max-width: 768px) {
  .header_PC, .navPC { display: none !important; }

  .header_MB {
    display: block;
    width: 100%;
    z-index: 999;
    position: sticky;
    top: 0;
    background-color: #fff;
    padding: 5px 20px;
    border-bottom: 1px solid #eee;
  }

  .sitelogo_MB { width: 80px; }

  .logoAndBut {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .muenbutton_MB { background: none; border: none; }
  .muenbutton_MB .muenbutton_MBicon:nth-child(2) { display: none; }
  .muenbutton_MBicon { cursor: pointer; }

  .navListMB {
    position: absolute;
    width: 100%;
    top: 100%;
    display: none;
    padding: 20px;
    background-color: #F0D2AE;
    z-index: 999;
    left: 0;
  }

  .navListMB .nav-list {
    width: 100%;
    text-align: left;
    flex-direction: column;
    align-items: flex-start;
  }

  .page-hero { height: 180px; }
  .page-hero h1 { font-size: 26px; letter-spacing: 2px; }
  .container { padding: 28px 20px 48px; }
  .section-title { font-size: 22px; }
  .blog-grid { grid-template-columns: 1fr; gap: 22px; }
  .blog-card img { height: 200px; }
  .blog-card h2 { font-size: 18px; }
  .article-hero { height: 220px; }
  .article-title { font-size: 22px; }
  .article-body p { font-size: 16px; }
  .article-nav { grid-template-columns: 1fr; }
  .article-nav .next { text-align: left; }
  .footer-contact { flex-direction: column; gap: 8px; }
}
