:root {
  --green: #199352;
  --deep-green: #097e3f;
  --pale-green: #e1f2e9;
  --text: #333;
  --muted: #999;
  --container: 1258px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: 16px;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.topbar {
  height: 50px;
  background: #eee;
  color: #666;
  font-size: 13px;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.topbar strong {
  font-weight: 400;
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.topbar-links a,
.text-button {
  color: #555;
  transition: color 0.2s ease;
}

.topbar-links a:hover,
.text-button:hover {
  color: var(--green);
}

.text-button {
  padding: 0;
  background: transparent;
}

.accessibility-button {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-end;
  width: auto;
  height: 30px;
  margin-left: 2px;
  padding: 2px 0 2px 24px;
  border-left: 1px solid #ccc;
  background: transparent;
  transition: opacity 0.2s ease;
}

.accessibility-button img {
  display: block;
  width: 173px;
  height: 26px;
  pointer-events: none;
}

.accessibility-button:hover {
  opacity: 0.82;
}

.accessibility-button:focus-visible {
  outline: 2px solid var(--deep-green);
  outline-offset: 3px;
}

.site-header {
  height: 230px;
  background: url("../img/asset-11.png") center / cover no-repeat;
}

.header-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  height: 100%;
  padding-top: 67px;
}

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

.brand > img {
  width: 92px;
  height: 91px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-copy strong {
  color: #2a2a2a;
  font-size: 42px;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
}

.brand-copy small {
  padding-left: 3px;
  color: #2a2a2a;
  font-size: 18px;
  line-height: 1.4;
}

.search {
  display: flex;
  width: 280px;
  height: 38px;
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid var(--green);
  border-radius: 4px;
  background: #fff;
}

.search input {
  min-width: 0;
  flex: 1;
  padding: 0 14px;
  border: 0;
  outline: 0;
  color: #666;
  font-size: 12px;
}

.search button {
  width: 40px;
  color: #fff;
  background: var(--deep-green);
  font-size: 22px;
  line-height: 1;
}

.main-nav {
  position: relative;
  z-index: 2;
  height: 60px;
  margin-top: -1px;
  color: #fff;
  background: var(--green);
  box-shadow: 0 2px 4px rgba(129, 26, 26, 0.5);
}

.mobile-nav {
  display: none;
}

.nav-inner {
  display: flex;
  height: 100%;
}

.nav-inner a {
  display: grid;
  flex: 1 1 0;
  min-width: 0;
  place-items: center;
  font-size: 20px;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.nav-inner a:hover,
.nav-inner a.active {
  background: var(--deep-green);
}

.mobile-nav {
  position: sticky;
  top: 0;
  z-index: 8;
  background: #fff;
  border-bottom: 1px solid #dfe8e1;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03);
}

.mobile-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
}

.mobile-nav-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  color: var(--green);
  background: transparent;
  font-size: 14px;
  font-weight: 600;
}

.mobile-nav-icon {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  width: 18px;
}

.mobile-nav-icon span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--green);
}

.mobile-nav-home {
  color: #555;
  font-size: 14px;
}

.mobile-nav-panel {
  background: #f8fbf9;
  border-top: 1px solid #e3ece6;
}

.mobile-nav-panel-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mobile-nav-panel-inner a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  color: #333;
  font-size: 14px;
  border-right: 1px solid #e3ece6;
  border-bottom: 1px solid #e3ece6;
}

.mobile-nav-panel-inner a:nth-child(2n) {
  border-right: 0;
}

.mobile-nav-panel-inner a.active {
  color: var(--green);
  font-weight: 600;
}

main {
  padding: 58px 0 55px;
}

.headline-section {
  text-align: center;
}

.headline-link {
  display: block;
}

.headline-section h1 {
  margin: 0;
  color: #d71516;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.4;
}

.headline-section p {
  margin: 4px 0 0;
  color: #777;
  font-size: 14px;
  line-height: 1.5;
}

.green-rule {
  height: 2px;
  margin-top: 23px;
  background: var(--green);
}

.lead-news {
  display: grid;
  grid-template-columns: 638px 1fr;
  gap: 45px;
  margin-top: 36px;
}

.hero-carousel {
  position: relative;
  height: 422px;
  overflow: hidden;
  background: #edf5ef;
}

.carousel-track,
.slide {
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}

.slide.active {
  opacity: 1;
  pointer-events: auto;
}

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

.slide-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 11px 23px;
  color: #fff;
  background: rgba(51, 51, 51, 0.58);
  font-size: 16px;
}

.slide-caption a {
  display: inline-block;
  color: inherit;
}

.carousel-dots {
  position: absolute;
  z-index: 2;
  right: 20px;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border-radius: 50%;
  background: #d8d8d8;
}

.dot.active {
  width: 23px;
  border-radius: 5px;
  background: var(--deep-green);
}

.news-board {
  min-width: 0;
}

.news-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  height: 42px;
}

.news-tab {
  color: var(--green);
  background: #fff;
  font-size: 20px;
}

.news-tab.active {
  background: #d3e3da;
  font-weight: 600;
}

.news-list {
  padding-top: 12px;
}

.news-list.is-hidden {
  display: none;
}

.news-list a,
.plain-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-width: 0;
  transition: color 0.2s ease;
}

.news-list a {
  height: 42px;
}

.news-list a:hover,
.plain-list a:hover,
.party-card:hover span {
  color: var(--green);
}

.news-list a span,
.plain-list a span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-list a span {
  font-size: 16px;
}

time {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 14px;
}

.service-banner {
  margin-top: 46px;
}

.service-banner img {
  width: 100%;
  height: auto;
}

.content-section {
  margin-top: 39px;
}

.section-heading {
  display: flex;
  align-items: center;
  min-width: 0;
  height: 32px;
  gap: 13px;
}

.section-heading h2 {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 13px;
  margin: 0;
  color: #333;
  font-size: 22px;
  font-weight: 600;
  white-space: nowrap;
}

.section-heading h2 img {
  width: 27px;
  height: 27px;
  object-fit: contain;
}

.square-icon {
  display: inline-grid;
  place-items: center;
  width: 25px;
  height: 25px;
  color: var(--green);
  font-size: 24px;
}

.heading-line {
  position: relative;
  display: block;
  flex: 1;
  min-width: 20px;
  height: 1px;
  background: #a5d5ba;
}

.heading-line::before {
  position: absolute;
  top: -3px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--deep-green);
  content: "";
}

.section-heading > a {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 4px;
  color: #777;
  font-size: 14px;
}

.section-heading > a span {
  display: inline-grid;
  place-items: center;
  width: 15px;
  height: 15px;
  border: 1px solid #bbb;
  border-radius: 50%;
  font-size: 15px;
  line-height: 12px;
}

.party-grid {
  --party-gap: 25px;
  --party-shift: 0px;
  margin-top: 36px;
  overflow: hidden;
}

.party-track {
  display: flex;
  width: max-content;
  gap: var(--party-gap);
  animation: party-scroll 24s linear infinite;
  will-change: transform;
}

.party-group {
  display: flex;
  flex: 0 0 auto;
  gap: var(--party-gap);
}

.party-card {
  flex: 0 0 clamp(220px, 23.5vw, 298px);
  width: clamp(220px, 23.5vw, 298px);
  min-width: 0;
}

.party-card img {
  width: 100%;
  aspect-ratio: 298 / 204;
  object-fit: cover;
}

.party-card span {
  display: block;
  margin-top: 10px;
  overflow: hidden;
  color: #555;
  font-size: 14px;
  line-height: 1.6;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.party-grid:hover .party-track {
  animation-play-state: paused;
}

@keyframes party-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-1 * var(--party-shift, 0px)));
  }
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 2.3fr) minmax(290px, 1fr);
  gap: 53px;
  margin-top: 45px;
}

.section-column,
.list-panel {
  min-width: 0;
}

.category-tabs,
.sub-links {
  display: flex;
  align-items: center;
  gap: 58px;
  margin: 17px 0 22px 14px;
}

.category-tab,
.sub-links button {
  position: relative;
  padding: 0 0 6px;
  color: var(--green);
  background: transparent;
  border: 0;
  -webkit-appearance: none;
  appearance: none;
  font-size: 18px;
  white-space: nowrap;
}

.category-tab::after,
.sub-links button::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: transparent;
  content: "";
}

.category-tab.active::after,
.sub-links button.active::after {
  background: var(--green);
}

.tab-panels {
  margin-top: 0;
}

.tab-panel.is-hidden {
  display: none;
}

.featured-article {
  display: grid;
  grid-template-columns: 366px minmax(0, 1fr);
  gap: 18px;
}

.featured-article > img {
  width: 366px;
  height: 182px;
  object-fit: cover;
}

.featured-article > a {
  display: block;
  width: 366px;
  height: 182px;
  overflow: hidden;
}

.featured-article > a > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-article > div {
  min-width: 0;
  padding-top: 11px;
}

.featured-article h3 {
  margin: 0;
  overflow: hidden;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.featured-article h3 a {
  color: inherit;
}

.featured-article p {
  display: -webkit-box;
  margin: 11px 0 13px;
  overflow: hidden;
  color: #555;
  font-size: 14px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.plain-list {
  margin-top: 18px;
}

.plain-list a {
  height: 36px;
  padding-left: 14px;
  border-bottom: 1px dashed #ddd;
  font-size: 14px;
}

.plain-list a span {
  flex: 1;
  display: block;
  text-align: left;
}

.plain-list a time {
  margin-left: auto;
}

.plain-list a::before {
  width: 6px;
  height: 6px;
  margin-left: -12px;
  border-radius: 50%;
  background: var(--green);
  content: "";
}

.plain-list.dense {
  margin-top: 18px;
}

.plain-list.dense a {
  height: 37px;
}

.section-empty {
  width: 100%;
  margin: 24px 0;
  color: #888;
  text-align: center;
}

.action-links .section-empty {
  grid-column: 1 / -1;
}

.side-column .section-heading {
  margin-bottom: 24px;
}

.action-links {
  display: grid;
  gap: 17px;
}

.action-links a {
  display: flex;
  align-items: center;
  height: 116px;
  padding: 0 38px;
  gap: 28px;
  border-radius: 8px;
  background: url("../img/asset-29.png") center / cover no-repeat;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.action-links a:nth-child(2) {
  background-image: url("../img/asset-32.png");
}

.action-links a:nth-child(3) {
  background-image: url("../img/asset-53.png");
}

.action-links a:hover {
  box-shadow: 0 5px 18px rgba(25, 147, 82, 0.15);
  transform: translateY(-2px);
}

.action-links a img {
  width: 50px;
  height: 50px;
  padding: 9px;
  border-radius: 50%;
  background: var(--green);
  object-fit: contain;
}

.action-links strong {
  font-size: 20px;
  font-weight: 500;
}

.action-links.compact {
  gap: 14px;
}

.action-links.compact a {
  height: 88px;
  padding: 0 45px;
  gap: 28px;
}

.action-links.compact a img {
  width: 50px;
  height: 50px;
  padding: 9px;
}

.dual-list-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-top: 50px;
}

.links-section {
  margin-top: 47px;
}

.friend-links {
  --friend-gap: 18px;
  --friend-shift: 0px;
  margin-top: 35px;
  overflow: hidden;
}

.friend-track {
  display: flex;
  width: max-content;
  gap: var(--friend-gap);
  animation: friend-scroll 22s linear infinite;
  will-change: transform;
}

.friend-group {
  display: flex;
  flex: 0 0 auto;
  gap: var(--friend-gap);
}

.friend-links a {
  flex: 0 0 200px;
  width: 200px;
  text-align: center;
}

.friend-links img {
  width: 100%;
  height: 50px;
  object-fit: contain;
}

.friend-links span {
  display: block;
  margin-top: 12px;
  color: #555;
  font-size: 14px;
}

.friend-links:hover .friend-track {
  animation-play-state: paused;
}

@keyframes friend-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-1 * var(--friend-shift, 0px)));
  }
}

.site-footer {
  color: rgba(255, 255, 255, 0.82);
  background: #209a5b url("../img/asset-03.png") center / cover no-repeat;
}

.footer-band {
  height: 22px;
  background: var(--deep-green);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 228px;
  gap: 75px;
}

.footer-badge {
  width: 56px;
  height: 68px;
  object-fit: contain;
}

.footer-inner p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
}

.list-page main {
  padding: 28px 0 72px;
}

.list-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #999;
  font-size: 13px;
  line-height: 1.4;
}

.breadcrumb-icon {
  position: relative;
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  border: 1px solid #cfcfcf;
  border-radius: 50%;
}

.breadcrumb-icon::before {
  position: absolute;
  top: 3px;
  left: 50%;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: #cfcfcf;
  content: "";
}

.list-layout {
  display: grid;
  grid-template-columns: 249px minmax(0, 1fr);
  gap: 36px;
  margin-top: 24px;
}

.list-sidebar {
  min-width: 0;
}

.sidebar-block {
  overflow: hidden;
  background: #fff;
  border: 1px solid #efefef;
}

.sidebar-block + .sidebar-block {
  margin-top: 26px;
}

.sidebar-block-title {
  display: grid;
  place-items: center;
  height: 44px;
  color: #fff;
  background: var(--green);
  font-size: 20px;
  font-weight: 600;
}

.sidebar-menu a,
.related-list a {
  display: block;
  min-width: 0;
}

.sidebar-menu a {
  position: relative;
  min-height: 48px;
  padding: 14px 18px 14px 34px;
  color: #666;
  font-size: 15px;
  line-height: 1.4;
  border-bottom: 1px solid #f3f3f3;
}

.sidebar-menu a::before {
  position: absolute;
  top: 50%;
  left: 17px;
  width: 4px;
  height: 4px;
  margin-top: -2px;
  border-radius: 50%;
  background: #b9d9c7;
  content: "";
}

.sidebar-menu a:last-child {
  border-bottom: 0;
}

.sidebar-menu a.active {
  color: var(--green);
  font-weight: 600;
}

.sidebar-menu a:hover,
.related-list a:hover,
.article-list a:hover {
  color: var(--green);
}

.sidebar-menu a.active::after {
  position: absolute;
  top: 11px;
  bottom: 11px;
  left: 14px;
  width: 4px;
  background: var(--green);
  border-radius: 2px;
  content: "";
}

.sidebar-menu a.active::before {
  opacity: 0;
}

.article-list a:hover time {
  color: var(--green);
}

.pagination .page-btn:hover {
  border-color: var(--green);
  color: var(--green);
}

.pagination .page-btn.active:hover {
  color: #fff;
}

.related-list {
  padding: 4px 0;
}

.related-list a {
  padding: 11px 16px 10px;
  color: #7a7a7a;
  font-size: 14px;
  line-height: 1.45;
  border-bottom: 1px solid #f3f3f3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.related-list a:first-child {
  color: var(--green);
}

.related-list a:last-child {
  border-bottom: 0;
}

.list-main {
  min-width: 0;
}

.list-panel-title {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  height: 32px;
}

.list-panel-title h1 {
  flex: 0 0 auto;
  margin: 0;
  color: #333;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.title-line {
  position: relative;
  flex: 1;
  min-width: 24px;
  height: 1px;
  background: #a5d5ba;
}

.title-line::before {
  position: absolute;
  top: -3px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--deep-green);
  content: "";
}

.article-list {
  display: grid;
  gap: 12px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.article-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: #555;
  font-size: 15px;
  line-height: 1.4;
}

.article-list a::before {
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  content: "";
}

.article-list span {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.article-list time {
  flex: 0 0 102px;
  color: #bebebe;
  font-size: 14px;
  text-align: right;
}

.article-divider {
  height: 0;
  margin: 10px 0 12px;
  border-top: 1px dashed #d9d9d9;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 46px;
  color: #888;
}

.pagination .page-btn,
.pagination .jump-btn,
.pagination .jump-input {
  height: 28px;
  border: 1px solid #d8d8d8;
  border-radius: 3px;
  background: #fff;
  font-size: 14px;
}

.pagination .page-btn,
.pagination .jump-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  color: #666;
}

.pagination .page-btn {
  min-width: 28px;
}

.pagination .page-btn.active {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
}

.pagination .page-total {
  margin-left: 6px;
  color: #888;
  font-size: 14px;
}

.pagination .jump-input {
  width: 44px;
  padding: 0 6px;
  color: #666;
  text-align: center;
  outline: 0;
}

.pagination .jump-btn {
  min-width: 44px;
  background: #ececec;
  border-color: #ececec;
}

.view-page main {
  padding: 28px 0 82px;
}

.view-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1080px;
  margin: 0 auto;
}

.view-channel {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--green);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}

.view-channel img {
  width: 16px;
  height: 15px;
  object-fit: contain;
}

.view-underline {
  max-width: 1080px;
  height: 3px;
  margin: 10px auto 0;
  background: linear-gradient(
    to bottom,
    var(--green) 0,
    var(--green) 2px,
    #d8eadf 2px,
    #d8eadf 3px
  );
}

.article-panel {
  max-width: 1080px;
  margin: 0 auto;
}

.article-title {
  margin: 36px 0 20px;
  color: #4c4c4c;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 24px;
  padding: 13px 18px;
  background: #e1f1e8;
  color: #82948b;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}

.article-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.article-size-btn {
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  font-size: 14px;
}

.article-size-btn.active {
  color: var(--green);
  font-weight: 600;
}

.article-figure {
  margin: 26px auto 0;
  text-align: center;
}

.article-figure img {
  width: min(100%, 580px);
  height: auto;
  object-fit: cover;
}

.article-body {
  max-width: 1040px;
  margin: 26px auto 0;
  color: #666;
  font-size: 16px;
  line-height: 2;
}

.article-body[data-size="small"] {
  font-size: 14px;
  line-height: 1.95;
}

.article-body[data-size="medium"] {
  font-size: 16px;
  line-height: 2;
}

.article-body[data-size="large"] {
  font-size: 18px;
  line-height: 2.05;
}

.article-body p {
  margin: 0 0 16px;
  text-indent: 2em;
  text-align: justify;
}

.article-body p:last-child {
  margin-bottom: 0;
}

.article-nav {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 30px;
  margin-top: 58px;
}

.article-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: #666;
}

.article-nav-item.next {
  justify-content: flex-start;
}

.article-nav-item.prev {
  justify-content: flex-end;
}

.article-nav-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 54px;
  height: 28px;
  padding: 0 10px;
  border-radius: 4px;
  font-size: 14px;
  white-space: nowrap;
}

.article-nav-item.next .article-nav-label {
  color: #fff;
  background: var(--green);
}

.article-nav-item.prev .article-nav-label {
  color: var(--green);
  background: #fff;
  border: 1px solid var(--green);
}

.article-nav-title {
  min-width: 0;
  overflow: hidden;
  color: #777;
  font-size: 14px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.article-nav-item.prev .article-nav-title {
  text-align: right;
}

.mailbox-content {
  margin-top: 28px;
}

.mailbox-heading {
  display: flex;
  align-items: center;
  gap: 22px;
}

.mailbox-heading-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 43px;
  height: 43px;
}

.mailbox-heading-icon img {
  width: 43px;
  height: 43px;
  object-fit: contain;
}

.mailbox-heading h1 {
  flex: 0 0 auto;
  margin: 0;
  color: #333;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
}

.mailbox-heading-line {
  position: relative;
  flex: 1;
  min-width: 40px;
  height: 1px;
  background: #69b98c;
}

.mailbox-heading-line::before {
  position: absolute;
  top: -3px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--deep-green);
  content: "";
}

.mailbox-form-panel {
  margin-top: 24px;
  padding: 54px 24px 84px;
  background: #fafafa;
}

.mailbox-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px 66px;
}

.mailbox-field {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  gap: 28px;
  min-width: 0;
  color: #333;
  font-size: 16px;
  line-height: 1.4;
}

.mailbox-field > span {
  white-space: nowrap;
}

.mailbox-field > .message-field__label {
  white-space: nowrap;
}

.mailbox-field > .message-field-error {
  grid-column: 2;
  min-height: 0;
  margin-top: 4px;
  color: #c0392b;
  font-size: 13px;
}

.mailbox-field-wide > .message-field-error {
  grid-column: 2;
}

.mailbox-field-captcha .message-captcha {
  display: contents;
}

.mailbox-field-captcha .message-captcha__image {
  display: block;
  width: 64px;
  height: 30px;
  min-width: 64px;
  object-fit: cover;
  cursor: pointer;
}

.mailbox-field input,
.mailbox-field select,
.mailbox-field textarea {
  width: 100%;
  min-width: 0;
  color: #333;
  background: #fff;
  border: 1px solid #cdd8d2;
  border-radius: 8px;
  outline: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mailbox-field input,
.mailbox-field select {
  height: 30px;
  padding: 0 12px;
  font-size: 14px;
}

.mailbox-field select {
  text-align: center;
}

.mailbox-field textarea {
  min-height: 149px;
  padding: 10px 12px;
  resize: vertical;
  font-size: 14px;
  line-height: 1.6;
}

.mailbox-field input:focus,
.mailbox-field select:focus,
.mailbox-field textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(25, 147, 82, 0.1);
}

.mailbox-field-wide {
  grid-column: 1 / -1;
  align-items: start;
}

.mailbox-field-captcha {
  grid-column: 1 / span 2;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  column-gap: 28px;
  max-width: 430px;
}

.mailbox-captcha {
  display: inline-flex;
  align-items: center;
  min-width: 64px;
  height: 30px;
  color: #222;
  font-size: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: line-through;
  white-space: nowrap;
}

.mailbox-actions {
  display: flex;
  justify-content: center;
  gap: 135px;
  margin-top: 63px;
}

.mailbox-actions button {
  min-width: 105px;
  height: 30px;
  border: 1px solid #cdd8d2;
  border-radius: 8px;
  font-size: 16px;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.mailbox-actions button:hover {
  transform: translateY(-1px);
  filter: brightness(0.98);
}

.mailbox-submit {
  color: #fff;
  background: var(--green);
}

.mailbox-reset {
  color: #666;
  background: #e2e1e1;
}

.mailbox-table-wrap {
  margin-top: 68px;
  overflow-x: auto;
  background: #fafafa;
}

.mailbox-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.mailbox-table th {
  height: 47px;
  color: #fff;
  background: var(--green);
  font-size: 16px;
  font-weight: 600;
  text-align: center;
}

.mailbox-table td {
  height: 54px;
  padding: 0 28px;
  color: #333;
  border-bottom: 1px solid #e5e5e5;
  font-size: 16px;
  text-align: center;
  white-space: nowrap;
}

.mailbox-table td:first-child,
.mailbox-table th:first-child {
  text-align: left;
}

.mailbox-table th:first-child {
  padding-left: 48px;
}

.mailbox-table td:first-child {
  padding-left: 32px;
}

.reply-status {
  color: #333;
}

.reply-status.replied {
  color: var(--green);
}

.mailbox-table-link {
  color: inherit;
  transition: color 0.2s ease;
}

.mailbox-table-link:hover {
  color: var(--green);
}

.reply-detail-panel {
  min-height: 566px;
  margin-top: 24px;
  padding: 37px 30px 52px;
  background: #fafafa;
  color: #333;
}

.reply-detail-list {
  display: grid;
  gap: 0;
  margin: 0;
  font-size: 16px;
  line-height: 34px;
}

.reply-detail-row {
  display: flex;
  align-items: flex-start;
  min-width: 0;
}

.reply-detail-row dt {
  flex: 0 0 auto;
  margin: 0;
  font-weight: 700;
  white-space: nowrap;
}

.reply-detail-row dd {
  flex: 1;
  min-width: 0;
  margin: 0;
}

.reply-detail-row-content dd {
  max-width: 1120px;
  line-height: 1.65;
}

.reply-divider {
  height: 2px;
  margin: 34px 0 18px;
  border-top: 2px dashed #e6e6e6;
}

.reply-answer h2 {
  margin: 0 0 6px;
  color: var(--green);
  font-size: 18px;
  font-weight: 700;
  line-height: 34px;
}

.reply-answer p {
  margin: 0;
  color: #333;
  font-size: 16px;
  line-height: 34px;
}

.reply-answer strong {
  font-weight: 700;
}

.consultation-page main,
.complaint-page main,
.feedback-page main {
  padding-bottom: 100px;
}

@media (max-width: 1100px) {
  .brand-copy strong {
    font-size: 34px;
  }

  .lead-news {
    grid-template-columns: 1fr;
  }

  .hero-carousel {
    height: auto;
    aspect-ratio: 638 / 422;
  }

  .split-section {
    gap: 30px;
  }

  .category-tabs,
  .sub-links {
    gap: 30px;
  }

  .featured-article {
    grid-template-columns: 42% minmax(0, 1fr);
  }

  .featured-article > img,
  .featured-article > a {
    width: 100%;
    height: auto;
    aspect-ratio: 366 / 182;
  }

  .list-layout {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 24px;
  }

  .mailbox-form-panel {
    padding-right: 22px;
    padding-left: 22px;
  }

  .mailbox-form-grid {
    gap: 26px 28px;
  }

  .mailbox-field {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 16px;
  }

  .mailbox-field-captcha {
    grid-template-columns: 64px minmax(0, 1fr) auto;
  }

  .sidebar-block-title {
    font-size: 18px;
  }

  .article-list time {
    flex-basis: 92px;
  }

  .view-head,
  .view-underline,
  .article-panel {
    max-width: 100%;
  }

  .article-title {
    font-size: 26px;
  }

  .article-body {
    max-width: 100%;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(var(--container), calc(100% - 28px));
  }

  .topbar {
    height: auto;
    min-height: 42px;
    padding: 8px 0;
    font-size: 11px;
  }

  .topbar-inner {
    align-items: flex-start;
    justify-content: center;
    gap: 6px;
  }

  .topbar-links {
    display: none;
  }

  .site-header {
    height: auto;
    min-height: 170px;
  }

  .header-inner {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 27px 0 25px;
  }

  .brand {
    gap: 8px;
  }

  .brand > img {
    width: 60px;
    height: 60px;
  }

  .brand-copy strong {
    font-size: 22px;
  }

  .brand-copy small {
    font-size: 10px;
  }

  .search {
    width: min(280px, 100%);
    margin-top: 0;
  }

  .main-nav {
    display: none;
  }

  .mobile-nav {
    display: block;
    margin-top: 8px;
  }

  .mobile-nav-bar {
    min-height: 44px;
  }

  .mobile-nav-toggle,
  .mobile-nav-home {
    font-size: 13px;
  }

  .mobile-nav-panel-inner a {
    min-height: 40px;
    font-size: 13px;
  }

  main {
    padding-top: 35px;
  }

  .list-page main {
    padding-top: 22px;
    padding-bottom: 50px;
  }

  .view-page main {
    padding-top: 22px;
    padding-bottom: 54px;
  }

  /* The accessibility toolbar is desktop-only; hide it on narrow screens. */
  body {
    margin-top: 0 !important;
  }

  #wza-assist {
    display: none !important;
  }

  .view-head {
    flex-wrap: wrap;
    gap: 10px;
  }

  .view-channel {
    font-size: 16px;
  }

  .view-underline {
    margin-top: 8px;
  }

  .article-title {
    margin: 24px 0 16px;
    font-size: 22px;
  }

  .article-meta {
    gap: 8px 16px;
    padding: 10px 14px;
    font-size: 12px;
  }

  .article-size-btn {
    font-size: 12px;
  }

  .article-figure {
    margin-top: 20px;
  }

  .article-body {
    margin-top: 18px;
    font-size: 14px;
    line-height: 1.9;
    overflow-wrap: anywhere;
  }

  .article-body [style*="nowrap"],
  .article-body [style*="no-wrap"] {
    white-space: normal !important;
    text-wrap: wrap !important;
  }

  .article-body img,
  .article-body video,
  .article-body iframe {
    max-width: 100% !important;
    height: auto;
  }

  .article-body table {
    display: block;
    max-width: 100% !important;
    overflow-x: auto;
  }

  .article-body p {
    text-align: left;
  }

  .article-nav {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 34px;
  }

  .article-nav-item.prev {
    justify-content: flex-start;
  }

  .article-nav-item.prev .article-nav-title {
    text-align: left;
  }

  .article-nav-label {
    min-width: 48px;
    height: 26px;
    font-size: 12px;
  }

  .article-nav-title {
    font-size: 12px;
  }

  .list-breadcrumb {
    flex-wrap: wrap;
    gap: 6px;
    line-height: 1.5;
    font-size: 11px;
  }

  .breadcrumb-icon {
    width: 12px;
    height: 12px;
  }

  .breadcrumb-icon::before {
    top: 2px;
    width: 4px;
    height: 4px;
    margin-left: -2px;
  }

  .list-layout {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 18px;
  }

  .list-main {
    order: -1;
  }

  .sidebar-block + .sidebar-block {
    margin-top: 18px;
  }

  .sidebar-block-title {
    height: 40px;
    font-size: 16px;
  }

  .sidebar-menu a {
    min-height: 42px;
    padding: 11px 14px 11px 28px;
    font-size: 13px;
  }

  .sidebar-menu a::before {
    left: 12px;
  }

  .sidebar-menu a.active::after {
    top: 10px;
    bottom: 10px;
    left: 10px;
    width: 3px;
  }

  .related-list a {
    padding: 10px 14px;
    font-size: 12px;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .list-panel-title {
    gap: 10px;
    height: 28px;
  }

  .list-panel-title h1 {
    font-size: 18px;
  }

  .mailbox-content {
    margin-top: 20px;
  }

  .mailbox-heading {
    gap: 12px;
  }

  .mailbox-heading-icon,
  .mailbox-heading-icon img {
    width: 36px;
    height: 36px;
  }

  .mailbox-heading h1 {
    font-size: 18px;
  }

  .mailbox-form-panel {
    margin-top: 18px;
    padding: 24px 14px 34px;
  }

  .mailbox-form-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .mailbox-field,
  .mailbox-field-captcha {
    grid-column: auto;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px;
    max-width: none;
    font-size: 13px;
  }

  .mailbox-field input,
  .mailbox-field select {
    height: 34px;
    font-size: 13px;
  }

  .mailbox-field textarea {
    min-height: 124px;
    font-size: 13px;
  }

  .mailbox-field-captcha {
    align-items: center;
  }

  .mailbox-captcha {
    grid-column: 2;
    min-width: 0;
    height: auto;
    font-size: 18px;
  }

  .mailbox-actions {
    gap: 24px;
    margin-top: 28px;
  }

  .mailbox-actions button {
    min-width: 96px;
    height: 32px;
    font-size: 14px;
  }

  .mailbox-table-wrap {
    margin-top: 32px;
  }

  .mailbox-table {
    min-width: 640px;
  }

  .mailbox-table th,
  .mailbox-table td {
    font-size: 13px;
  }

  .mailbox-table th:first-child {
    padding-left: 24px;
  }

  .mailbox-table td:first-child {
    padding-left: 20px;
  }

  .reply-detail-panel {
    min-height: auto;
    margin-top: 18px;
    padding: 24px 18px 32px;
  }

  .reply-detail-list {
    font-size: 13px;
    line-height: 1.8;
  }

  .reply-detail-row-content {
    display: block;
  }

  .reply-detail-row-content dd {
    margin-top: 2px;
    line-height: 1.8;
  }

  .reply-divider {
    margin: 22px 0 14px;
  }

  .reply-answer h2 {
    font-size: 16px;
    line-height: 1.8;
  }

  .reply-answer p {
    font-size: 13px;
    line-height: 1.8;
  }

  .article-list {
    gap: 10px;
    margin-top: 12px;
  }

  .article-list a {
    gap: 8px;
    font-size: 12px;
  }

  .article-list a::before {
    width: 5px;
    height: 5px;
  }

  .article-list time {
    flex-basis: 78px;
    font-size: 11px;
  }

  .article-divider {
    margin: 8px 0 10px;
  }

  .pagination {
    gap: 4px;
    margin-top: 28px;
  }

  .pagination .page-btn,
  .pagination .jump-btn,
  .pagination .jump-input {
    height: 26px;
    font-size: 12px;
  }

  .pagination .page-btn {
    min-width: 26px;
    padding: 0 8px;
  }

  .pagination .jump-input {
    width: 38px;
  }

  .pagination .jump-btn {
    min-width: 38px;
    padding: 0 8px;
  }

  .article-list a {
    align-items: flex-start;
  }

  .article-list span {
    white-space: normal;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .article-list time {
    padding-top: 1px;
  }

  .headline-section h1 {
    font-size: 24px;
  }

  .headline-section p {
    text-align: left;
    font-size: 12px;
  }

  .lead-news {
    gap: 22px;
    margin-top: 25px;
  }

  .hero-carousel {
    aspect-ratio: 1.45;
  }

  .slide-caption {
    padding: 8px 12px;
    font-size: 12px;
  }

  .news-tab {
    font-size: 15px;
  }

  .news-list a {
    height: 35px;
  }

  .news-list a span,
  .news-list a time {
    font-size: 12px;
  }

  .service-banner {
    margin-top: 30px;
  }

  .content-section,
  .split-section,
  .dual-list-section,
  .links-section {
    margin-top: 32px;
  }

  .section-heading h2 {
    gap: 8px;
    font-size: 18px;
  }

  .section-heading h2 img {
    width: 23px;
    height: 23px;
  }

  .section-heading > a {
    font-size: 12px;
  }

  .party-grid {
    --party-gap: 12px;
    margin-top: 22px;
  }

  .party-card {
    flex-basis: clamp(200px, 70vw, 260px);
    width: clamp(200px, 70vw, 260px);
  }

  .party-card span {
    margin-top: 6px;
    font-size: 12px;
  }

  .split-section,
  .dual-list-section {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .category-tabs,
  .sub-links {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px 18px;
    margin: 16px 0;
  }

  .category-tab,
  .sub-links button {
    font-size: 13px;
  }

  .featured-article {
    grid-template-columns: 40% minmax(0, 1fr);
    gap: 12px;
  }

  .featured-article > div {
    padding-top: 0;
  }

  .featured-article h3 {
    font-size: 13px;
    line-height: 1.4;
  }

  .featured-article p {
    margin: 6px 0;
    font-size: 11px;
    line-height: 1.45;
  }

  .featured-article time {
    font-size: 11px;
  }

  .plain-list {
    margin-top: 12px;
  }

  .plain-list a,
  .plain-list.dense a {
    height: 32px;
    padding-left: 11px;
    font-size: 12px;
  }

  .plain-list a::before {
    width: 5px;
    height: 5px;
    margin-left: -9px;
  }

  .side-column .section-heading {
    margin-bottom: 18px;
  }

  .action-links {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .action-links a {
    height: 78px;
    padding: 0 9px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    border-radius: 5px;
  }

  .action-links a img,
  .action-links.compact a img {
    width: 33px;
    height: 33px;
    padding: 6px;
  }

  .action-links strong {
    font-size: 12px;
  }

  .action-links.compact {
    grid-template-columns: repeat(2, 1fr);
  }

  .action-links.compact a {
    height: 72px;
    padding: 0;
    flex-direction: row;
    gap: 10px;
  }

  .dual-list-section {
    gap: 25px;
  }

  .friend-links {
    --friend-gap: 12px;
    margin-top: 22px;
  }

  .friend-links img {
    height: 40px;
  }

  .friend-links span {
    margin-top: 6px;
    font-size: 11px;
  }

  .footer-inner {
    min-height: 180px;
    gap: 18px;
  }

  .footer-badge {
    width: 42px;
    height: 52px;
  }

  .footer-inner p {
    font-size: 11px;
  }
}

@media (max-width: 520px) {
  .mailbox-field,
  .mailbox-field-captcha {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .mailbox-field > span {
    white-space: normal;
  }

  .mailbox-captcha {
    grid-column: auto;
    margin-top: -4px;
  }

  .mailbox-actions {
    gap: 14px;
  }

  .mailbox-actions button {
    flex: 1;
    min-width: 0;
  }

  .mailbox-table-wrap {
    overflow: visible;
    background: transparent;
  }

  .mailbox-table,
  .mailbox-table thead,
  .mailbox-table tbody,
  .mailbox-table tr,
  .mailbox-table td {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .mailbox-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .mailbox-table tr {
    padding: 8px 12px;
    background: #fafafa;
    border-top: 3px solid var(--green);
  }

  .mailbox-table tr + tr {
    margin-top: 12px;
  }

  .mailbox-table td,
  .mailbox-table td:first-child {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 34px;
    height: auto;
    padding: 7px 0;
    border-bottom: 1px solid #e9e9e9;
    font-size: 12px;
    text-align: right;
    white-space: normal;
  }

  .mailbox-table td:last-child {
    border-bottom: 0;
  }

  .mailbox-table td::before {
    flex: 0 0 auto;
    color: #666;
    font-weight: 600;
    content: attr(data-label);
  }

  .reply-detail-panel {
    padding: 20px 14px 28px;
  }

  .reply-detail-row {
    display: block;
  }

  .reply-detail-row + .reply-detail-row {
    margin-top: 8px;
  }

  .reply-detail-row dd {
    margin-top: 2px;
  }

  .list-sidebar {
    display: grid;
    gap: 14px;
  }

  .sidebar-block {
    border-color: #eaeaea;
  }

  .sidebar-block + .sidebar-block {
    margin-top: 0;
  }

  .sidebar-menu {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 10px;
  }

  .sidebar-menu a {
    min-height: 38px;
    padding: 9px 8px;
    border: 1px solid #e7eee9;
    border-radius: 4px;
    background: #fff;
    text-align: center;
  }

  .sidebar-menu a::before,
  .sidebar-menu a.active::after {
    display: none;
  }

  .sidebar-menu a.active {
    color: #fff;
    background: var(--green);
    border-color: var(--green);
  }

  .related-list {
    padding: 2px 0;
  }

  .related-list a {
    padding: 9px 12px;
    font-size: 11px;
    -webkit-line-clamp: 2;
  }

  .article-list {
    gap: 8px;
  }

  .article-list a {
    gap: 6px;
  }

  .article-list time {
    flex-basis: 70px;
  }

  .pagination {
    justify-content: flex-start;
  }

  .pagination .page-total {
    width: 100%;
    margin: 2px 0 0;
    text-align: center;
  }

  .article-body p {
    text-indent: 1.5em;
  }
}
