:root {
  --brand: #53b8f5;
  --text: #333;
  --muted: #666;
  --bg: #ffffff;
  --border: #e6e6e6;
}

* {
  box-sizing: border-box
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica, Arial, sans-serif
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 20px;
  background: var(--brand);
  color: #fff;
  font-size: 14px
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 10
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px
}

.logo {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: linear-gradient(135deg, #5bc3ff, #319ad9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700
}

.logo-img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: contain;
  display: block
}

.site-nav {
  position: relative
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 20px
}

.menu {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0
}

.menu a {
  text-decoration: none;
  color: #4a4a4a;
  font-weight: 600;
  letter-spacing: .02em
}

.menu a.active {
  color: var(--brand);
  text-shadow: 0 0 .01px currentColor
}

.menu a:hover {
  color: #000
}

.menu a.ext::after {
  content: "↗";
  margin-left: 6px;
  color: #888;
  font-size: 12px
}

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

.page-title {
  margin: 8px 0 12px 0;
  color: #111
}

.page-content {
  line-height: 1.6;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  background: #fafafa
}

.page-cover {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--border);
  margin: 10px 0
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  color: var(--muted)
}

.marquee {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: #f9fcff;
  padding: 12px 0;
  overflow: hidden
}

.marquee .wrap {
  max-width: 1000px;
  margin: 0 auto
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 32px;
  animation: marquee 40s linear infinite;
  will-change: transform
}

.marquee:hover .marquee-track {
  animation-play-state: paused
}

.marquee-item {
  height: 48px;
  object-fit: contain;
  filter: grayscale(30%);
  opacity: .9
}

@keyframes marquee {
  0% {
    transform: translateX(0)
  }

  100% {
    transform: translateX(-50%)
  }
}

.slider {
  position: relative;
  overflow: hidden;
  background: #f7fbff
}

.slider .slides {
  display: flex;
  transition: transform .5s ease;
  will-change: transform
}

.slider .slide {
  min-width: 100%
}

.slider img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block
}

.slider .nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, .35);
  color: #fff;
  border: 0;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center
}

.slider .nav.prev {
  left: 12px
}

.slider .nav.next {
  right: 12px
}

.dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  display: flex;
  justify-content: center;
  gap: 8px
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  opacity: .6
}

.dot.active {
  opacity: 1;
  background: var(--brand)
}

.hero {
  background: linear-gradient(135deg, var(--brand), #8fd4ff);
  color: #fff;
  padding: 56px 20px
}

.hero .wrap {
  max-width: 1000px;
  margin: 0 auto
}

.hero h1 {
  margin: 0;
  font-size: 36px
}

.hero p {
  margin: 8px 0 0 0;
  font-size: 18px
}

.cta {
  margin-top: 18px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap
}

.btn {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 8px;
  border: 0;
  background: #fff;
  color: #046ea3;
  font-weight: 700;
  text-decoration: none
}

.btn.primary {
  background: #046ea3;
  color: #fff
}

.cards {
  max-width: 1000px;
  margin: 20px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px
}

.cards .card {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  padding: 16px
}

.cards .card h3 {
  margin: 0 0 8px 0
}

.cards .card p {
  margin: 0;
  color: #666
}

.cards .card a {
  display: inline-block;
  margin-top: 10px;
  color: var(--brand);
  text-decoration: none;
  font-weight: 600
}

@media (max-width:900px) {
  .menu {
    gap: 16px
  }

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

@media (max-width:700px) {
  .nav-toggle {
    display: block
  }

  .menu {
    display: none;
    flex-direction: column;
    position: absolute;
    right: 0;
    top: 40px;
    background: #fff;
    border: 1px solid var(--border);
    padding: 8px 12px;
    border-radius: 8px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, .08)
  }

  .menu.open {
    display: flex
  }

  .slider img {
    height: 180px
  }

  .page-cover {
    height: 180px
  }

  .cards {
    grid-template-columns: 1fr
  }
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 20px
}

.news-card {}

.news-img {
  position: relative;
  border-radius: 10px;
  overflow: hidden
}

.news-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block
}

.news-btn {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: #0a7d4f;
  color: #fff;
  border-radius: 8px;
  padding: 8px 12px;
  text-decoration: none;
  font-weight: 700
}

.news-meta {
  margin-top: 8px;
  color: #6b6b6b;
  font-size: 14px
}

.news-title {
  margin: 6px 0 0 0;
  font-size: 18px;
  color: #173b2e
}

.news-desc {
  margin: 6px 0 0 0;
  color: #4a4a4a;
  font-size: 15px;
  line-height: 1.6
}

.news-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #fff;
  color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
  border: 1px solid #e6e6e6
}

.news-body {
  background: #1f2328;
  border-radius: 10px;
  padding: 12px 14px;
  margin-top: 10px;
  color: #fff
}

.news-body .news-title {
  color: #fff
}

.news-body .news-desc {
  color: #e8e8e8
}

@media (max-width:900px) {
  .news-grid {
    grid-template-columns: 1fr
  }
}