/* === Reset & Base === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: #2D2D2D;
  background: #FFF8F0;
  line-height: 1.8;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === Header === */
.site-header {
  background: #FFFFFF;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
}

.site-logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.3;
}

.site-title {
  font-size: 22px;
  font-weight: 700;
  color: #E07A2F;
}

.site-subtitle {
  font-size: 12px;
  color: #8B7355;
}

.site-nav .nav-list {
  display: flex;
  list-style: none;
  gap: 8px;
}

.site-nav a {
  display: block;
  padding: 8px 16px;
  color: #2D2D2D;
  text-decoration: none;
  font-size: 15px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}

.site-nav a:hover,
.site-nav a.active {
  background: #FFF0E0;
  color: #E07A2F;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #2D2D2D;
  padding: 4px 8px;
}

/* === Main Content === */
.main-content {
  flex: 1;
  padding: 40px 0 60px;
}

/* === Footer === */
.site-footer {
  background: #FFFFFF;
  border-top: 1px solid #F0E8E0;
  padding: 32px 0;
  text-align: center;
}

.footer-copy {
  font-size: 14px;
  color: #8B7355;
  margin-bottom: 8px;
}

.footer-desc {
  font-size: 12px;
  color: #C0C0C0;
}

/* === Page Header === */
.page-header {
  text-align: center;
  margin-bottom: 40px;
}

.page-header h1 {
  font-size: 32px;
  font-weight: 700;
  color: #2D2D2D;
  margin-bottom: 12px;
}

.page-header .page-desc {
  font-size: 16px;
  color: #8B7355;
}

/* === Homepage === */
.hero {
  text-align: center;
  padding: 60px 0 48px;
}

.hero h1 {
  font-size: 36px;
  font-weight: 700;
  color: #2D2D2D;
  margin-bottom: 16px;
}

.hero .hero-desc {
  font-size: 18px;
  color: #8B7355;
  max-width: 600px;
  margin: 0 auto 8px;
  line-height: 1.7;
}

.hero .hero-tag {
  display: inline-block;
  background: #FFF0E0;
  color: #E07A2F;
  padding: 6px 20px;
  border-radius: 999px;
  font-size: 14px;
  margin-top: 8px;
}

.section-block {
  margin-bottom: 48px;
}

.section-title {
  font-size: 22px;
  font-weight: 600;
  color: #2D2D2D;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid #FFF0E0;
}

/* === Article Card Grid === */
.card-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.article-card {
  background: #FFFFFF;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

.article-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.article-card a {
  display: block;
  padding: 28px 32px;
  text-decoration: none;
  color: inherit;
}

.article-card .card-title {
  font-size: 20px;
  font-weight: 600;
  color: #2D2D2D;
  margin-bottom: 10px;
  line-height: 1.5;
}

.article-card .card-summary {
  font-size: 15px;
  color: #8B7355;
  line-height: 1.7;
  margin-bottom: 14px;
}

.article-card .card-meta {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: #C0C0C0;
}

.article-card .card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.article-card .card-tags span {
  background: #FFF8F0;
  color: #E07A2F;
  padding: 2px 12px;
  border-radius: 999px;
  font-size: 12px;
}

/* === Travel Card === */
.travel-card {
  background: #FFFFFF;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

.travel-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.travel-card a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.travel-card .travel-cover {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  background: #F0E8E0;
}

.travel-card .travel-info {
  padding: 24px 28px;
}

.travel-card .travel-location {
  font-size: 14px;
  color: #E07A2F;
  font-weight: 500;
  display: block;
  margin-bottom: 6px;
}

.travel-card .travel-date {
  font-size: 13px;
  color: #C0C0C0;
  display: block;
  margin-bottom: 10px;
}

.travel-card .travel-title {
  font-size: 20px;
  font-weight: 600;
  color: #2D2D2D;
  display: block;
  margin-bottom: 8px;
}

.travel-card .travel-summary {
  font-size: 15px;
  color: #8B7355;
  line-height: 1.7;
}

/* === Article Single === */
.article-single {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 48px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.article-header {
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid #F0E8E0;
}

.article-header h1 {
  font-size: 28px;
  font-weight: 700;
  color: #2D2D2D;
  line-height: 1.5;
  margin-bottom: 14px;
}

.article-header .article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
  color: #8B7355;
}

.article-content {
  font-size: 16px;
  line-height: 2;
  color: #2D2D2D;
}

.article-content h2 {
  font-size: 22px;
  font-weight: 700;
  color: #2D2D2D;
  margin: 36px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #FFF0E0;
}

.article-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: #2D2D2D;
  margin: 28px 0 12px;
}

.article-content p {
  margin-bottom: 16px;
}

.article-content ul,
.article-content ol {
  margin: 0 0 16px 24px;
}

.article-content li {
  margin-bottom: 8px;
}

.article-content blockquote {
  margin: 24px 0;
  padding: 16px 24px;
  background: #FFF8F0;
  border-left: 4px solid #E07A2F;
  border-radius: 0 12px 12px 0;
  color: #8B7355;
  font-size: 15px;
}

.article-content strong {
  font-weight: 600;
  color: #2D2D2D;
}

.article-content a {
  color: #E07A2F;
  text-decoration: underline;
}

/* === About Page === */
.about-section {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 48px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.about-section h2 {
  font-size: 22px;
  font-weight: 700;
  color: #2D2D2D;
  margin: 32px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #FFF0E0;
}

.about-section h2:first-child {
  margin-top: 0;
}

.about-section p {
  font-size: 16px;
  line-height: 2;
  color: #2D2D2D;
  margin-bottom: 16px;
}

/* === Pagination === */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  font-size: 14px;
  text-decoration: none;
  color: #2D2D2D;
  background: #FFFFFF;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: background 0.2s, color 0.2s;
}

.pagination a:hover {
  background: #FFF0E0;
  color: #E07A2F;
}

.pagination .active {
  background: #E07A2F;
  color: #FFFFFF;
}

/* === Mobile === */
@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .hero {
    padding: 40px 0 32px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero .hero-desc {
    font-size: 16px;
  }

  .article-card a {
    padding: 20px 24px;
  }

  .article-card .card-title {
    font-size: 18px;
  }

  .article-single {
    padding: 24px;
    border-radius: 12px;
  }

  .article-header h1 {
    font-size: 22px;
  }

  .about-section {
    padding: 24px;
    border-radius: 12px;
  }

  .travel-card .travel-cover {
    height: 180px;
  }

  .travel-card .travel-info {
    padding: 18px 20px;
  }

  .site-nav .nav-list {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #FFFFFF;
    flex-direction: column;
    padding: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  }

  .site-nav .nav-list.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }
}
