html { scroll-behavior: smooth; }
body { font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; }
[data-site-header] .nav-link-active,
[data-site-footer] .footer-link-active {
  color: #287f28 !important;
  border-color: #287f28 !important;
}
.page-shell .max-w-7xl,
.page-shell .max-w-max-width,
.page-shell .container {
  max-width: 1536px !important;
}
.icon-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1em;
  line-height: 1;
}
.page-shell { min-height: 100vh; display: flex; flex-direction: column; }
.page-shell main { flex: 1 0 auto; }

.news-content {
  line-height: 1.9;
}

.news-content > *:first-child {
  margin-top: 0;
}

.news-content > *:last-child {
  margin-bottom: 0;
}

.news-content h1,
.news-content h2,
.news-content h3,
.news-content h4,
.news-content h5,
.news-content h6 {
  color: #173a1e;
  font-weight: 700;
  line-height: 1.45;
  margin: 1.6em 0 0.7em;
}

.news-content h2 {
  font-size: 1.65rem;
}

.news-content h3 {
  font-size: 1.35rem;
}

.news-content p,
.news-content ul,
.news-content ol,
.news-content blockquote,
.news-content table {
  margin: 0 0 1.1em;
}

.news-content ul,
.news-content ol {
  padding-left: 1.4em;
}

.news-content li + li {
  margin-top: 0.4em;
}

.news-content a {
  color: #287f28;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.news-content img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 1.4em auto;
  border-radius: 18px;
}

.news-content blockquote {
  margin-left: 0;
  padding: 1em 1.2em;
  border-left: 4px solid #287f28;
  background: rgba(40, 127, 40, 0.06);
  color: #456052;
}

.news-content table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
}

.news-content th,
.news-content td {
  border: 1px solid rgba(23, 58, 30, 0.12);
  padding: 0.8em 0.9em;
  text-align: left;
  vertical-align: top;
}

.news-content th {
  background: rgba(40, 127, 40, 0.08);
  color: #173a1e;
}

.news-content hr {
  border: 0;
  border-top: 1px solid rgba(23, 58, 30, 0.12);
  margin: 2em 0;
}

.news-category-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 16px;
  margin-bottom: 48px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(108, 123, 113, 0.22);
}

.news-category-tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 24px 14px;
  color: #33443a;
  border-radius: 10px 10px 0 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.18s ease, background-color 0.18s ease;
}

.news-category-tab:hover {
  color: #287f28;
  background: rgba(40, 127, 40, 0.06);
}

.news-category-tab.is-active {
  color: #173a1e;
  background: rgba(40, 127, 40, 0.08);
}

.news-category-tab.is-active::after {
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 4px;
  background: #287f28;
  content: "";
}

.site-toast-stack {
  position: fixed;
  top: 96px;
  right: 24px;
  z-index: 1200;
  display: grid;
  gap: 14px;
  width: min(380px, calc(100vw - 32px));
  pointer-events: none;
}

.site-toast {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(23, 58, 30, 0.1);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 48px rgba(11, 30, 18, 0.18);
  backdrop-filter: blur(16px);
  pointer-events: auto;
  opacity: 0;
  transform: translate3d(0, -14px, 0);
  transition: opacity 0.26s ease, transform 0.26s ease;
}

.site-toast.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.site-toast.is-leaving {
  opacity: 0;
  transform: translate3d(0, -10px, 0);
}

.site-toast--success {
  border-color: rgba(40, 127, 40, 0.16);
}

.site-toast--error {
  border-color: rgba(187, 49, 37, 0.18);
}

.site-toast__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
}

.site-toast--success .site-toast__icon {
  background: rgba(40, 127, 40, 0.12);
  color: #287f28;
}

.site-toast--error .site-toast__icon {
  background: rgba(187, 49, 37, 0.12);
  color: #bb3125;
}

.site-toast__body {
  min-width: 0;
}

.site-toast__title {
  display: block;
  margin-bottom: 4px;
  color: #173a1e;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}

.site-toast__message {
  margin: 0;
  color: #4d6155;
  font-size: 14px;
  line-height: 1.6;
}

.site-toast__close {
  appearance: none;
  border: 0;
  background: transparent;
  color: #6c7b71;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  width: 28px;
  height: 28px;
  border-radius: 999px;
}

.site-toast__close:hover {
  background: rgba(23, 58, 30, 0.06);
  color: #173a1e;
}

@media (max-width: 767px) {
  .news-category-tabs {
    justify-content: flex-start;
    gap: 8px;
    overflow-x: auto;
    flex-wrap: nowrap;
    margin-right: -16px;
    padding-right: 16px;
  }

  .news-category-tab {
    flex: 0 0 auto;
    padding-right: 18px;
    padding-left: 18px;
  }

  .site-toast-stack {
    top: 78px;
    right: 12px;
    left: 12px;
    width: auto;
  }

  .site-toast {
    padding: 14px 15px;
    border-radius: 18px;
  }
}
