:root {
  --color-bg: #ffffff;
  --color-surface: #f5f5f5;
  --color-wire: #f7f7f7;
  --color-text: #292934;
  --color-text-2: #45444a;
  --color-muted: #8e8e93;
  --color-accent: #00915c;
  --color-accent-dark: #006a44;
  --color-accent-line: #1a9c6d;
  --color-heading-line: #e5f4ee;
  --color-line: #eeeeee;
  --color-dot: #bebec6;
  --color-footer: #292934;
  --color-footer-text: #bebec6;
  --font-body: Helvetica, "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
  --wrap: 1200px;
  --radius: 3px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 1200px;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 25px;
}
img { max-width: 100%; border: 0; }
a { color: var(--color-text); text-decoration: none; }
a:hover { color: var(--color-accent); }
button, input, textarea { font-family: inherit; }

.layout {
  width: var(--wrap);
  margin: 0 auto 15px;
}

.header { background: #fff; }
.header-bar {
  display: flex;
  align-items: center;
  height: 100px;
  margin-bottom: 0;
}
.brand { margin: 0; flex: 0 0 auto; }
.brand img { display: block; height: 64px; width: auto; }
.tagline {
  flex: 1;
  margin: 0 0 0 14px;
  color: var(--color-muted);
  font-size: 12px;
  line-height: 18px;
}
.tools { white-space: nowrap; }
.tools a {
  display: inline-block;
  margin-right: 18px;
  color: var(--color-text-2);
  font-size: 13px;
  line-height: 30px;
}
.tools a::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 6px;
  background: var(--color-accent);
  border-radius: 2px;
  vertical-align: 1px;
}
.tools a.cur,
.tools a:hover { color: var(--color-accent); }

.search { position: relative; width: 220px; flex: 0 0 auto; }
.search-input {
  width: 220px;
  height: 34px;
  padding: 0 36px 0 16px;
  color: var(--color-text);
  font-size: 14px;
  line-height: 34px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 20px;
}
.search-input::placeholder { color: var(--color-muted); }
.search-input:focus { outline: none; border-color: var(--color-muted); }
.search-btn {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 20px;
  background: #d2d2d2 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='10' cy='10' r='6' fill='none' stroke='%23fff' stroke-width='2.4'/%3E%3Cpath d='M14.5 14.5 L20 20' stroke='%23fff' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center/14px no-repeat;
  cursor: pointer;
}

.nav-wrap {
  height: 50px;
  margin-bottom: 30px;
  background: var(--color-accent);
}
.nav-wrap .layout {
  margin-bottom: 0;
  height: 50px;
}
#navWrap { display: flex; height: 50px; }
#navWrap a {
  position: relative;
  flex: 1;
  display: block;
  padding: 10px 8px;
  color: #fff;
  font-size: 16px;
  line-height: 30px;
  text-align: center;
}
#navWrap a::after {
  content: "";
  position: absolute;
  top: 19px;
  right: 0;
  width: 1px;
  height: 12px;
  background: var(--color-accent-line);
}
#navWrap a:last-child::after { content: none; }
#navWrap a:hover,
#navWrap a.cur {
  color: #fff;
  background: var(--color-accent-dark);
  text-decoration: none;
}
#navWrap a:hover::after,
#navWrap a.cur::after { content: none; }

.hero {
  display: grid;
  grid-template-columns: 400px 400px 320px;
  column-gap: 40px;
  align-items: start;
  margin-bottom: 18px;
}

.photo {
  display: block;
  overflow: hidden;
  background: #f5f5f5;
}
.photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.55s ease;
}
.photo:hover img {
  transform: scale(1.08);
}
.banner {
  position: relative;
  height: 225px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #0b3d2e;
}
.banner-track {
  display: flex;
  height: 100%;
  transition: transform 0.45s ease;
}
.slide {
  position: relative;
  flex: 0 0 100%;
  display: block;
  height: 225px;
  overflow: hidden;
  background: #0b3d2e;
}
.banner-btn {
  position: absolute;
  top: 78px;
  z-index: 2;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  cursor: pointer;
}
.banner-btn::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  margin: 0 auto;
  border-top: 2px solid #292934;
  border-right: 2px solid #292934;
}
.banner-btn.prev { left: 8px; }
.banner-btn.prev::before { transform: rotate(-135deg); margin-left: 12px; }
.banner-btn.next { right: 8px; }
.banner-btn.next::before { transform: rotate(45deg); margin-right: 12px; }
.banner-btn:hover { background: var(--color-accent); }
.banner-btn:hover::before { border-color: #fff; }
.banner-dots {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  display: flex;
  gap: 6px;
}
.banner-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
}
.banner-dots button.on { background: #fff; }
.slide-photo {
  position: absolute;
  inset: 0;
}
.slide-cap {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 28px 78px 12px 14px;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 26px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.78));
  pointer-events: none;
}
.slide:hover { color: #fff; }

.mini {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 10px;
  margin-top: 12px;
}
.mini-thumb {
  width: 132px;
  height: 74px;
  border-radius: var(--radius);
}
.mini-label {
  display: inline-block;
  margin-bottom: 4px;
  padding: 0 4px;
  color: #fff;
  font-size: 12px;
  line-height: 18px;
  background: var(--color-accent);
  border-radius: var(--radius);
}
.mini-title {
  display: -webkit-box;
  overflow: hidden;
  font-size: 14px;
  line-height: 22px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.metric {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--color-line);
}
.metric li {
  display: grid;
  grid-template-columns: 1.3fr 0.5fr 1fr;
  font-size: 13px;
  line-height: 28px;
  border-bottom: 1px solid #f3f3f3;
}
.metric .num { font-weight: 700; text-align: center; }
.metric .when { color: var(--color-accent); text-align: right; }

.focus {
  position: relative;
  display: block;
  margin-bottom: 15px;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--color-line);
}
.focus label {
  position: absolute;
  top: 5px;
  width: 38px;
  height: 20px;
  color: #fff;
  font-size: 12px;
  line-height: 20px;
  text-align: center;
  background: var(--color-accent);
  border-radius: var(--radius);
}
.focus-title {
  display: block;
  max-height: 56px;
  padding-left: 48px;
  overflow: hidden;
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
}
.focus p {
  margin: 10px 0 0;
  color: var(--color-muted);
  font-size: 12px;
  line-height: 20px;
}
.focus:hover { text-decoration: none; }

.bullets { margin: 0 0 15px; padding: 0 0 12px; list-style: none; border-bottom: 1px solid var(--color-line); }
.bullets:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
.bullets li {
  overflow: hidden;
  font-size: 15px;
  line-height: 32px;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.bullets li::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 8px;
  background: var(--color-dot);
  border-radius: 3px;
  vertical-align: middle;
}

.express {
  margin-bottom: 15px;
  padding-bottom: 6px;
  background: var(--color-wire);
  border-radius: 6px;
}
.express h2 {
  position: relative;
  height: 40px;
  margin: 0;
  padding: 0 12px 0 36px;
  font-size: 16px;
  line-height: 40px;
  border: 0;
}
.express h2::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 12px;
  width: 16px;
  height: 16px;
  border: 2px solid var(--color-accent);
  border-radius: 50%;
}
.express h2 span { float: right; color: var(--color-muted); font-size: 12px; font-weight: 400; }
.wire-item {
  position: relative;
  display: block;
  margin: 0 12px 8px 0;
  padding: 0 8px 8px 28px;
}
.wire-item::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 14px;
  width: 7px;
  height: 7px;
  background: var(--color-wire);
  border: 2px solid var(--color-accent);
  border-radius: 50%;
}
.wire-item::after {
  content: "";
  position: absolute;
  top: 16px;
  bottom: -6px;
  left: 18px;
  width: 1px;
  background: #e4e4e4;
}
.wire-item:last-child::after { content: none; }
.wire-time {
  color: var(--color-accent);
  font-size: 16px;
  font-weight: 700;
  line-height: 22px;
}
.wire-title {
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 22px;
}
.wire-sum {
  display: -webkit-box;
  overflow: hidden;
  margin: 2px 0 0;
  color: #999;
  font-size: 12px;
  line-height: 18px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.wire-item:hover { color: var(--color-text); }

.side-banner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100px;
  margin-top: 12px;
  padding: 0 16px;
  color: #fff;
  border-radius: var(--radius);
  background: var(--color-accent);
}
.side-banner.alt { background: #0f8453; }
.side-banner strong { font-size: 18px; line-height: 26px; }
.side-banner span { font-size: 12px; line-height: 18px; }
.side-banner:hover { color: #fff; }

.slogan {
  margin: 6px 0 26px;
  padding: 22px 20px;
  color: #fff;
  text-align: center;
  background: var(--color-accent);
}
.slogan strong { display: block; font-size: 22px; line-height: 32px; letter-spacing: 1px; }
.slogan span { display: block; margin-top: 4px; font-size: 13px; line-height: 20px; }

.board {
  display: grid;
  grid-template-columns: 840px 320px;
  column-gap: 40px;
  align-items: start;
}
.channels {
  display: grid;
  grid-template-columns: 400px 400px;
  column-gap: 40px;
  align-content: start;
}
.events { grid-column: 1 / -1; margin-top: 6px; }
.event-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.event-cover { height: 148px; border-radius: var(--radius); }
.event-card h3 {
  height: 44px;
  margin: 10px 0 12px;
  overflow: hidden;
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.event-btn {
  display: block;
  width: 72px;
  height: 32px;
  margin: 0 auto 4px;
  color: var(--color-text-2);
  font-size: 13px;
  line-height: 30px;
  text-align: center;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: var(--radius);
}
.event-btn:hover { color: var(--color-accent); border-color: var(--color-accent); }
.channel { margin-bottom: 22px; }
.channel h2,
.block-title {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 700;
  line-height: 45px;
  border-bottom: 1px solid var(--color-heading-line);
}
.channel h2 span,
.block-title span {
  display: inline-block;
  border-bottom: 4px solid var(--color-accent);
}
.lead {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 12px;
  margin-bottom: 8px;
}
.thumb {
  width: 200px;
  height: 113px;
  border-radius: var(--radius);
}
.lead-title {
  display: -webkit-box;
  overflow: hidden;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.side-block { margin-bottom: 22px; }
.hot { margin: 0; padding: 0; list-style: none; }
.hot li { position: relative; padding: 5px 0 5px 28px; }
.hot em {
  position: absolute;
  top: 8px;
  left: 0;
  width: 18px;
  height: 18px;
  color: #979797;
  font-style: normal;
  font-size: 12px;
  line-height: 16px;
  text-align: center;
  border: 1px solid #e5e5e5;
  border-radius: var(--radius);
}
.hot li.top em { color: #fff; background: var(--color-accent); border: 0; }
.hot a { font-size: 14px; line-height: 22px; }
.hot li.top a {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.cal table { width: 100%; border-collapse: collapse; text-align: center; font-size: 13px; }
.cal th { color: var(--color-muted); font-weight: 400; line-height: 28px; }
.cal td { height: 28px; }
.cal .today { color: #fff; background: var(--color-accent); border-radius: var(--radius); }
.cal-caption { margin: 0 0 6px; color: var(--color-muted); font-size: 12px; text-align: right; }

.pick {
  display: grid;
  grid-template-columns: 1fr 96px;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-line);
}
.pick-title {
  display: -webkit-box;
  overflow: hidden;
  font-size: 14px;
  line-height: 22px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.pick-thumb { width: 96px; height: 64px; border-radius: var(--radius); }
.picks-more {
  display: block;
  margin-top: 12px;
  height: 40px;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 40px;
  text-align: center;
  background: var(--color-surface);
  border-radius: var(--radius);
}
.picks-more:hover { color: var(--color-accent); }

.news-row {
  display: block;
  margin-bottom: 22px;
  padding-bottom: 22px;
  overflow: hidden;
  border-bottom: 1px solid var(--color-line);
}
.news-row .thumb { float: left; width: 200px; height: 125px; margin-right: 20px; }
.news-row h2 {
  height: 56px;
  margin: 0;
  overflow: hidden;
  font-size: 20px;
  line-height: 28px;
}
.news-row p {
  height: 48px;
  margin: 6px 0 10px;
  overflow: hidden;
  color: var(--color-text-2);
  font-size: 14px;
  line-height: 24px;
}
.news-row .meta { display: block; color: var(--color-muted); font-size: 12px; line-height: 18px; }
.news-row:hover h2 { color: var(--color-accent); }

.crumb { margin: 0 0 14px; color: var(--color-muted); font-size: 12px; line-height: 20px; }
.crumb a { color: var(--color-text-2); }
.article h1 { margin: 0 0 10px; font-size: 26px; line-height: 38px; }
.article .meta { margin: 0 0 18px; color: var(--color-muted); font-size: 12px; }
.prose { font-size: 16px; line-height: 30px; }
.prose p { margin: 0 0 16px; }
.prose h2,
.prose h3,
.prose h4 { margin: 1.2em 0 0.5em; font-weight: 700; line-height: 1.4; }
.prose h2 { font-size: 22px; }
.prose h3 { font-size: 18px; }
.prose h4 { font-size: 16px; }
.prose ul,
.prose ol { margin: 0 0 16px; padding-left: 1.4em; }
.prose li { margin: 0.25em 0; }
.prose img,
.prose video { display: block; max-width: 100%; height: auto; margin: 0 0 16px; }
.prose a { color: var(--color-accent); }
.prose blockquote {
  margin: 0 0 16px;
  padding: 8px 14px;
  color: var(--color-text-2);
  background: var(--color-surface);
  border-left: 3px solid var(--color-accent);
}
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 16px; }
.prose td,
.prose th { border: 1px solid var(--color-line); padding: 6px 8px; text-align: left; vertical-align: top; }
.prose pre { overflow: auto; margin: 0 0 16px; padding: 12px; background: var(--color-surface); white-space: pre-wrap; }
.prose strong,
.prose b { font-weight: 700; }
.figure {
  height: 320px;
  margin: 0 0 16px;
  border-radius: var(--radius);
}
.figure img { border-radius: var(--radius); }

.pager { display: flex; align-items: center; gap: 12px; padding: 4px 0 20px; font-size: 14px; }
.pager a { padding: 2px 12px; border: 1px solid var(--color-line); border-radius: var(--radius); }
.pager a:hover { color: var(--color-accent); border-color: var(--color-accent); }
.intro { margin: -4px 0 16px; color: var(--color-muted); font-size: 13px; }

.contact-list { margin: 0; padding: 0; list-style: none; }
.contact-list li { padding: 14px 0; border-bottom: 1px solid var(--color-line); }
.contact-list span { display: inline-block; width: 64px; color: var(--color-muted); }
.field { margin-bottom: 16px; }
.field label { display: block; margin-bottom: 6px; font-size: 14px; }
.field input, .field textarea {
  width: 100%;
  padding: 8px 10px;
  color: var(--color-text);
  font-size: 15px;
  border: 1px solid #ddd;
  border-radius: var(--radius);
}
.field textarea { min-height: 140px; resize: vertical; }
.req { color: var(--color-accent); }
.btn {
  height: 36px;
  padding: 0 22px;
  color: #fff;
  background: var(--color-accent);
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
}
.btn:hover { background: var(--color-accent-dark); }
.form-status { min-height: 24px; margin: 10px 0 0; font-size: 14px; }
.form-status.ok { color: var(--color-accent); }
.form-status.bad { color: #dc2222; }
.empty { padding: 24px 0 40px; color: var(--color-muted); }

.footer {
  margin-top: 20px;
  padding: 36px 0 28px;
  color: var(--color-footer-text);
  background: var(--color-footer);
}
.footer .layout { margin-bottom: 0; }
.footer h2 { margin: 0 0 8px; color: #fff; font-size: 16px; }
.footer p { margin: 0 0 10px; font-size: 12px; line-height: 22px; }
.foot-links a, .friends a { margin-right: 18px; color: var(--color-footer-text); font-size: 12px; }
.footer a:hover { color: #fff; }
.friends { margin-bottom: 8px; font-size: 12px; }
.copy a { margin-left: 12px; color: var(--color-footer-text); }

.go-top {
  position: fixed;
  right: 20px;
  bottom: 50px;
  width: 50px;
  height: 50px;
  color: var(--color-muted);
  font-size: 12px;
  background: #f5f5f5;
  border: 1px solid #eee;
  cursor: pointer;
}
.go-top:hover { color: #fff; background: var(--color-accent); border-color: var(--color-accent); }

@media (prefers-reduced-motion: reduce) {
  .photo img { transition: none; }
  .photo:hover img { transform: none; }
  .banner-track { transition: none; }
}

@media (max-width: 1240px) {
  body { min-width: 0; }
  .layout { width: auto; margin-right: 16px; margin-left: 16px; }
  .header-bar { height: auto; flex-wrap: wrap; padding: 12px 0; gap: 8px 12px; }
  .tagline { flex: 1 1 160px; }
  .hero, .board, .channels, .event-list { display: block; }
  .channel, .side-block { max-width: 640px; }
  .nav-wrap { height: auto; }
  .nav-wrap .layout, #navWrap { height: auto; flex-wrap: wrap; }
  #navWrap a { flex: 0 0 auto; padding: 8px 16px; }
  #navWrap a::after { content: none; }
}
