:root {
  --max-width: 1200px;
  --primary: #e03b2e;
  --muted: #ccc;
  --bg: #f7f7f7;
  --card-bg: #fff;
  --radius: 6px;
  --gap: 20px;
  --zhuse: #d7271b;
  --lanse: #00a3e4;
}

* {
  box-sizing: border-box
}

body {
  font-family: "Helvetica Neue", Arial, "PingFang SC", "Microsoft Yahei", sans-serif;
  margin: 0;
  color: #222;
  background: var(--bg);
  line-height: 1.6
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 16px
}

.site-header {
  background: #fff;
  border-bottom: 1px solid #eee
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0
}

.logo {
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  font-size: 20px
}

.main-nav a {
  margin-left: 18px;
  color: #333;
  text-decoration: none;
  padding: 6px 0
}

.main-nav a.active {
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
  padding-bottom: 4px
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: 0;
  font-size: 22px
}

.hero {
  padding: 28px 0;
  background: #e7f6f9;
}

.hero-inner-2 {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding: 18px 0
}

.hero-image {
  flex: 0 0 52%;
  max-width: 520px
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.18)
}

.hero-content {
  flex: 1 1 48%;
  padding-top: 5px;
}

.hero-content h1 {
  margin: 0;
  font-size: 34px;
  color: #333;
  line-height: 1.1
}

.hero-content p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 15px
}

.hero-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 60px
}

.detail {
  color: #333;
  text-decoration: none;
  font-size: 14px
}

.dots {
  display: flex;
  gap: 6px;
  align-items: center
}

.dots span {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ddd
}

.dots span.active {
  background: #d7271b;
}

.main-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--gap);
  padding: 28px 0;
}

.content {
  background: transparent
}

.sidebar {
  padding-top: 6px;
  margin-top: 63px;
}

.controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  gap: 12px
}

.tabs {
  display: flex;
  gap: 8px;
  margin-top: 50px;
}

.tab {
  border: 1px solid #e6e6e6;
  background: #fff;
  padding: 8px 12px;
  border-radius: 20px;
  cursor: pointer
}

.tab.active {
  background: var(--zhuse);
  color: #fff;
}

.search input {
  padding: 8px 12px;
  border-radius: 20px;
  border: 1px solid #ddd;
  width: 220px
}

.news-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px
}

.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  padding: 20px 20px 20px 15px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
  transition: transform .18s ease, box-shadow .18s ease;
  display: flex;
  gap: 0;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08)
}

.thumb {
  flex: 0 0 288px;
  width: 288px;
  height: 176px;
  object-fit: cover;
  display: block
}

.card-body {
  padding: 0 18px 18px 18px;
  flex: 1 1 auto
}

.meta {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 8px
}

.title {
  font-size: 18px;
  margin: 0;
  color: var(--lanse)
}

.excerpt {
  color: var(--muted);
  margin-top: 10px;
}

.nav-text {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 12px
}

.read-more {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.load-more-wrap {
  text-align: center;
  margin: 22px 0
}

.btn {
  background: var(--primary);
  color: #fff;
  padding: 10px 18px;
  border: 0;
  border-radius: 6px;
  cursor: pointer
}

.load-status {
  display: none;
  background: #1e66b3;
  color: #fff;
  padding: 8px 14px;
  border-radius: 20px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
  margin-left: 10px;
  cursor: pointer;
  user-select: none
}

.load-status:active {
  transform: translateY(1px)
}

.widget {
  background: var(--card-bg);
  padding: 14px;
  border-radius: 6px;
  margin-bottom: 16px
}

.widget h3 {
  margin: 0 0 10px;
  font-size: 16px
}

.recommend li,
.archive li {
  margin-bottom: 8px;
  overflow: hidden
}

.recommend a,
.archive a {
  color: #333;
  text-decoration: none;
  display: block;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.recommend a:hover {
  color: #d7271b;
  text-decoration: underline
}

.site-footer {
  background: #fff;
  border-top: 1px solid #eee;
  padding: 18px 0;
  text-align: center;
  color: var(--muted)
}

/* Responsive */
@media (max-width:1000px) {
  .news-list {
    grid-template-columns: 1fr
  }

  .main-grid {
    grid-template-columns: 1fr 300px
  }

  .hero-inner-2 {
    gap: 18px
  }

  .hero-image {
    flex-basis: 48%
  }
}

@media (max-width:760px) {
  .main-grid {
    grid-template-columns: 1fr
  }

  .sidebar {
    order: 2
  }

  .mobile-toggle {
    display: block
  }

  .main-nav {
    display: none
  }

  .hero-inner-2 {
    flex-direction: column
  }

  .hero-image {
    width: 100%;
    max-width: none
  }

  .hero-image img {
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.15)
  }

  .hero-content h1 {
    font-size: 22px
  }

  .search input {
    width: 140px
  }

  .card {
    flex-direction: column
  }

  .thumb {
    width: 100%;
    flex-basis: auto;
    height: 144px
  }
}

@media (max-width:420px) {
  .hero {
    padding: 28px 0
  }

  .hero-inner h1 {
    font-size: 20px
  }

  .thumb {
    height: 140px
  }
}