:root {
  --color-primary: #1a4a8a;
  --color-primary-light: #1976d2;
  --color-primary-lighter: #42a5f5;
  --color-gold: #c9a96e;
  --color-gold-light: #d4a843;
  --color-bg-section: #f5f7fa;
  --color-text-main: #333333;
  --color-text-sub: #666666;
  --color-border: #e8e8e8;
}
img {
  border: 0rem;
  vertical-align: middle;
  max-width: 100%;
}
* {
  margin: 0rem;
  padding: 0rem;
  box-sizing: border-box;
  outline: none;
}
/**
 * common.css - 厦门市建筑行业协会官网公共样式
 * 所有页面共享的样式，从各页面 <style> 中抽离
 */

/* ========== 全局 ========== */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: 3px;
}

/* ========== 章节标题装饰线 ========== */
.section-title::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--color-gold),
    var(--color-gold-light)
  );
  margin-top: 8px;
  border-radius: 2px;
}
.banner_header {
  height: 3rem;
  position: relative;
  z-index: 4;
}
@media (min-width: 640px) {
  .banner_header {
    height: 5rem;
  }
}
.logo {
  z-index: 100;
}
.logo a > img {
  max-width: 100%;
  height: auto;
  width: 180px; /* 移动端默认 */
  transition:
    max-height 0.3s ease,
    width 0.3s ease;
}
/* Pad 端 */
@media (min-width: 768px) {
  .logo a > img {
    width: 220px;
  }
}
/* PC 端 */
@media (min-width: 1024px) {
  .logo a > img {
    width: 280px;
  }
}

/* ========== Row1 滚动固定 ========== */
.header {
  position: relative;
  transition:
    padding 0.3s ease,
    border-color 0.3s ease;
}

/* 滚动后 fixed 定位在顶部 */
.header.fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  animation: slideDown 0.35s ease;
  border-bottom: 3px solid var(--color-primary);
}

/* PC端 fixed 后缩小（仅 md+ 生效） */
@media (min-width: 768px) {
  .header.fixed {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    border-bottom: 3px solid var(--color-primary);
  }
  .header.fixed .logo a img {
    max-height: 3.2rem;
  }
  .header.fixed .nav_wrap > ul > li {
    line-height: 4.2rem;
    font-size: 1。2rem;
    margin-left: 20px;
  }
  .header.fixed .nav_wrap .nav_con {
    top: 4rem;
    height: 60px;
  }
  .header.fixed .nav_wrap > ul > li:hover .nav_con a {
    line-height: 60px;
    font-size: 16px;
  }
  .header.fixed .nav_wrap > ul > li.zwgk:hover > a:before,
  .header.fixed .nav_wrap > ul > li.jgsz:hover > a:before,
  .header.fixed .nav_wrap > ul > li.hyzc:hover > a:before,
  .header.fixed .nav_wrap > ul > li.bsfw:hover > a:before,
  .header.fixed .nav_wrap > ul > li.xzzq:hover > a:before,
  .header.fixed .nav_wrap > ul > li.hdjs:hover > a:before,
  .header.fixed .nav_wrap > ul > li.lxwm:hover > a:before {
    bottom: -6px;
    width: 16px;
    height: 16px;
  }
}

/* Header 滚动滑入动画 */
@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
/* ========== 导航 - PC端白底链接 ========== */
.nav_wrap > ul > li {
  line-height: 5rem;
  font-size: 1.2rem;
  font-weight: bold;
  margin-left: 20px;
  float: left;
}
.nav_wrap > ul > li > a {
  display: block;
}
.nav_wrap > ul > li > a:hover,
.nav_wrap > ul > li.on > a {
  color: #1658a0;
}
.nav_wrap .nav_con {
  box-sizing: content-box;
}
.nav_wrap .nav_con {
  display: none;
  width: 100%;
  position: absolute;
  left: 0;
  right: 0;
  height: 80px;
  background-color: var(--color-primary);
  top: 80px;
  text-align: center;
  z-index: 80;
}
.nav_wrap > ul > li:hover .nav_con {
  display: block;
  font-size: 0;
}
.nav_wrap > ul > li:hover .nav_con a {
  display: inline-block;
  line-height: 80px;
  color: #ffffff;
  font-size: 18px;
  margin: 0 15px;
}

.nav_wrap > ul > li.zwgk > a,
.nav_wrap > ul > li.jgsz > a,
.nav_wrap > ul > li.hyzc > a,
.nav_wrap > ul > li.xzzq > a,
.nav_wrap > ul > li.bsfw > a,
.nav_wrap > ul > li.hdjs > a,
.nav_wrap > ul > li.lxwm > a {
  display: inline-block;
  position: relative;
}
.nav_wrap > ul > li.zwgk:hover > a:before,
.nav_wrap > ul > li.jgsz:hover > a:before,
.nav_wrap > ul > li.xzzq:hover > a:before,
.nav_wrap > ul > li.hyzc:hover > a:before,
.nav_wrap > ul > li.hdjs:hover > a:before,
.nav_wrap > ul > li.bsfw:hover > a:before,
.nav_wrap > ul > li.lxwm:hover > a:before {
  position: absolute;
  content: "";
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 22px;
  height: 22px;
  background-color: var(--color-primary);
  bottom: -8px;
}
.nav_wrap > ul > li:hover a {
  color: var(--color-primary);
}

/* ========== 导航 - 移动端菜单 ========== */
.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.mobile-menu.open {
  max-height: 500px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ========== 导航 - 移动端手风琴子菜单 ========== */
.mobile-nav-sub {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.mobile-nav-sub.open {
  max-height: 300px;
}

/* ========== 侧浮二维码（PC only） ========== */
.float-qr {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
}
.float-qr img {
  width: 100px;
  height: 100px;
}
@media (max-width: 1023px) {
  .float-qr {
    display: none;
  }
}

/* ========== 表单 ========== */
.form-input {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: 0.375rem;
  font-size: 0.875rem;
  transition: all 0.2s;
}
.form-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(26, 74, 138, 0.1);
  outline: none;
}
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-main);
  margin-bottom: 0.25rem;
}

/* ========== 轮播（首页） ========== */
.carousel-item {
  transition: opacity 0.6s ease-in-out;
}
.carousel-item.active {
  opacity: 1;
}
.carousel-item:not(.active) {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ========== 横幅幻灯片（首页） ========== */
.banner-slide {
  transition: opacity 0.6s ease-in-out;
}
.banner-slide.active {
  opacity: 1;
  z-index: 1;
}
.banner-slide:not(.active) {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 0;
}

/* ========== 新闻列表 ========== */
.news-item:hover .news-title {
  color: var(--color-primary);
}
.news-item:hover .news-date {
  color: var(--color-gold);
}
/* .news-item{
  --tw-border-opacity: 1;
      border-bottom-width: 1px;
  border-color: rgb(232 232 232 / var(--tw-border-opacity, 1));
}
.news-item:last-child {
  border-bottom: none;
} */

/* 新闻列表链接 —— 伪元素图标 + 标题 + 日期右侧 */
.news-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.news-link::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  background: url(../img/xmjzxh_img_icon.png) no-repeat center / contain;
}

/* ========== 通用文章列表项（标题左 + 日期右） ========== */
.article-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px dashed var(--color-border);
  transition: background-color 0.2s ease;
  position: relative;
}
.article-list-item::before {
  content: "";
    display: inline-block;
       width: 0.4rem;
    height: 0.4rem;
    flex-shrink: 0;
  background-color: #1658a0;
  border-radius: 50%;
}
.article-list-item:last-child {
  border-bottom: none;
}
.article-list-item:hover {
  background-color: var(--color-bg-section);
}
.article-list-item .article-list-title {
  flex: 1;
  min-width: 0;
  font-size: 0.9375rem;
  color: var(--color-text-main);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.article-list-item:hover .article-list-title {
  color: var(--color-primary);
}
.article-list-item .article-list-date {
  flex-shrink: 0;
  font-size: 0.8125rem;
  color: var(--color-text-sub);
  white-space: nowrap;
}
/* 移动端适配 */
@media (max-width: 640px) {
  .article-list-item {
    padding: 0.65rem 0.875rem;
  }
  .article-list-item .article-list-title {
    font-size: 0.875rem;
  }
  .article-list-item .article-list-date {
    font-size: 0.75rem;
  }
}

/* ========== Tab 切换 ========== */
.tab-btn.active {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}
.tab-content {
  display: none !important;
}
.tab-content.active {
  display: flex !important;
  flex-direction: column;
}

/* ========== Tab 切换 - 下划线风格（首页用） ========== */
.tab-btn--underline {
  position: relative;
  padding: 0.5rem 0;
  margin-right: 1.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-sub);
  border: none;
  background: transparent;
  cursor: pointer;
  transition: color 0.2s ease;
  white-space: nowrap;
}
.tab-btn--underline:hover {
  color: var(--color-primary);
}
.tab-btn--underline.active {
  color: var(--color-primary);
}
.tab-btn--underline.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--color-gold),
    var(--color-gold-light)
  );
  border-radius: 2px;
}

/* ========== 单选/复选框 ========== */
.radio-custom,
.checkbox-custom {
  accent-color: var(--color-primary);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

/* ========== 搜索框 ========== */
.search-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(26, 74, 138, 0.1);
}

/* ========== 分页 ========== */
.pagination-btn:hover {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}
.pagination-btn.active {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

/* ========== Modal ========== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 60;
}
.modal-overlay.open {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal-content {
  background: white;
  border-radius: 12px;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
}

/* ========== 状态标签 ========== */
.status-open,
.status-active {
  background: #dcfce7;
  color: #166534;
}
.status-closed,
.status-ended {
  background: #fee2e2;
  color: #991b1b;
}
.status-full {
  background: #fef3c7;
  color: #92400e;
}

/* ========== 通用卡片 hover ========== */
.card-hover {
  transition: all 0.2s ease;
}
.card-hover:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}
.xmjzxh_new_nr {
  overflow: hidden;
  background: url(../img/xmjzxh_bg6.jpg) no-repeat top center;
  background-size: cover;
  min-height: 72px;
  border-radius: 6px;
}
/* ========== 重要通知弹窗 ========== */
.notice-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.notice-popup-overlay.show {
  opacity: 1;
}
.notice-popup {
  background: white;
  border-radius: 12px;
  width: 100%;
  max-width: 560px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}
.notice-popup-overlay.show .notice-popup {
  transform: translateY(0);
}
.notice-popup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--color-border);
  flex-shrink: 0;
}
.notice-popup-header h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}
.notice-popup-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--color-bg-section);
  color: var(--color-text-sub);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.notice-popup-close:hover {
  background: var(--color-primary);
  color: white;
}
.notice-popup-body {
  padding: 20px 24px;
  overflow-y: auto;
  flex: 1;
}

/* 时间轴 */
.notice-timeline {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  color: rgba(0, 0, 0, 0.88);
  font-size: 14px;
  line-height: 1.5714285714285714;
  list-style: none;
}
.notice-timeline .notice-timeline__date {
  flex-shrink: 0;
  width: 42px;
  text-align: right;
  font-size: 0.8125rem;
  color: #999;
  line-height: 1.4;
  position: relative;
  inset-block-start: -4px;
  margin-inline-start: 2px;
  margin-inline-end: 10px;
  margin-block-start: 0;
  margin-block-end: 0;
  word-break: break-word;
}
.notice-timeline .notice-timeline__wrapper {
  position: relative;
  padding: 0;
  flex: 1;
  min-width: 0;
}
.notice-timeline .notice-timeline-item {
  position: relative;
  margin: 0;
  font-size: 14px;
  list-style: none;
  display: flex;
  flex-direction: row;
  box-sizing: border-box;
  height: 4.2rem;
}
.notice-timeline .notice-timeline-item-head {
  position: absolute;
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  background-color: #ffffff;
  border: 3px solid var(--color-primary);
  border-radius: 50%;
  z-index: 1;
}
.notice-timeline .notice-timeline-tail {
  position: absolute;
  inset-block-start: 10px;
  inset-inline-start: 4px;
  height: calc(100% - 10px);
  border-inline-start: 2px solid rgba(5, 5, 5, 0.06);
}
.notice-timeline .notice-timeline-item-content {
  position: relative;
  inset-block-start: -4px;
}
.notice-timeline .notice-timeline-item:last-child .notice-timeline-tail {
  display: none;
}
.notice-timeline-title {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s;
}
.notice-timeline-title:hover {
  color: #d4a847;
}

/* 移动端适配 */
@media (max-width: 640px) {
  .notice-popup {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 8px;
  }
  .notice-popup-header {
    padding: 16px 18px;
  }
  .notice-popup-body {
    padding: 14px 18px;
  }
  .notice-timeline-date {
    width: 60px;
    font-size: 0.75rem;
  }
  .notice-timeline-title {
    font-size: 0.875rem;
  }
}

/* ========== Autocomplete 模糊搜索下拉 ========== */
.ac-dropdown {
  /* position/width/top/left 由 JS 动态计算，挂载到 body */
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 0.375rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  max-height: 260px;
  overflow-y: auto;
}
.form-input.ac-active {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(26, 74, 138, 0.15);
}
.ac-item {
  padding: 8px 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--color-text-main);
  border-bottom: 1px solid #f5f5f5;
  transition: background 0.15s;
}
.ac-item:last-child {
  border-bottom: none;
}
.ac-item:hover,
.ac-item.active {
  background: #f0f5ff;
}
.ac-item-main {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ac-item-sub {
  flex-shrink: 0;
  font-size: 0.75rem;
  color: var(--color-primary);
  background: #e8f0fe;
  padding: 1px 6px;
  border-radius: 3px;
  white-space: nowrap;
}
.ac-highlight {
  background: #fef08a;
  color: inherit;
  padding: 0 1px;
  border-radius: 2px;
  font-weight: 600;
}
.ac-loading,
.ac-empty {
  padding: 16px 12px;
  text-align: center;
  font-size: 0.8125rem;
  color: #999;
}
.ac-loading i,
.ac-empty i {
  margin-right: 4px;
  color: #bbb;
}
.ac-empty i {
  color: #ccc;
}

/* ========== 富文本内容（文章详情） ========== */
.article-content h2 {
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--color-primary);
  margin: 1.5rem 0 0.75rem;
}
.article-content h3 {
  font-size: 1.125rem;
  font-weight: bold;
  color: var(--color-text-main);
  margin: 1.25rem 0 0.5rem;
}
.article-content p {
  margin-bottom: 1rem;
  line-height: 1.8;
  color: var(--color-text-main);
}
.article-content ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.article-content ol {
  list-style-type: decimal;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.article-content li {
  margin-bottom: 0.25rem;
  line-height: 1.8;
}
.article-content blockquote {
  border-left: 4px solid var(--color-gold);
  padding: 1rem;
  margin: 1rem 0;
  color: var(--color-text-sub);
  background: var(--color-bg-section);
  border-radius: 0 4px 4px 0;
}
.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}
.article-content th,
.article-content td {
  border: 1px solid var(--color-border);
  padding: 0.5rem;
  text-align: left;
}
.article-content th {
  background: var(--color-bg-section);
  font-weight: bold;
}

/* ========== 组织架构图（关于页） ========== */
.org-box {
  background: white;
  border: 2px solid var(--color-primary);
  border-radius: 8px;
  padding: 12px 20px;
  text-align: center;
  font-weight: bold;
  color: var(--color-primary);
  position: relative;
}
.org-box.gold {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

/* ========== 首页信息条（已合并到Header内部） ========== */
.schedule-period {
  transition: color 0.2s;
}
/* 浅色背景上的高亮（备用） */
.schedule-period--active {
  color: var(--color-primary);
  font-weight: 600;
}
.schedule-period--inactive {
  color: var(--color-text-sub);
}
/* 深色背景上的高亮（当前使用） */
.schedule-period--active-dark {
  color: white;
  font-weight: 500;
}
.schedule-period--inactive-dark {
  color: rgba(255, 255, 255, 0.45);
}

/* ========== Header 搜索框（新版：蓝底导航栏内） ========== */
.header-scope-select {
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px 0 0 4px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 0.8125rem;
  outline: none;
  cursor: pointer;
}
.header-scope-select option {
  color: #333;
  background: white;
}
.header-search-input-new {
  width: 200px;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-left: none;
  border-right: none;
  background: transparent;
  color: white;
  font-size: 0.8125rem;
  outline: none;
  transition: all 0.2s;
}
.header-search-input-new::placeholder {
  color: rgba(255, 255, 255, 0.45);
}
.header-search-input-new:focus {
  width: 280px;
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--color-gold);
}
.header-search-btn-new {
  padding: 5px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-left: none;
  border-radius: 0 4px 4px 0;
  background: rgba(255, 255, 255, 0.12);
  color: white;
  font-size: 0.8125rem;
  cursor: pointer;
  transition: all 0.2s;
}
.header-search-btn-new:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
}

/* ========== 文章上下篇导航 ========== */
.nav-prev-next:hover {
  background: var(--color-bg-section);
}

/* ========== 全局 Focus 可见性 ========== */
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ========== 主题切换悬浮面板（临时，审核完可删除） ========== */
#ts-wrap {
  position: fixed;
  right: 16px;
  top: 200px;
  transform: translateY(-50%);
  z-index: 9999;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
#ts-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  color: white;
  border: none;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
#ts-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}
#ts-panel {
  position: absolute;
  right: 56px;
  top: 50%;
  transform: translateY(-50%) scale(0.9);
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
  padding: 16px;
  width: 220px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.25s,
    visibility 0.25s,
    transform 0.25s;
  pointer-events: none;
}
#ts-wrap.open #ts-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) scale(1);
  pointer-events: auto;
}
.ts-title {
  font-size: 14px;
  font-weight: 700;
  color: #333;
  margin-bottom: 12px;
  text-align: center;
}
.ts-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s;
  margin-bottom: 4px;
}
.ts-item:hover {
  background: #f0f4ff;
}
.ts-item.active {
  background: #e8f0fe;
  outline: 2px solid var(--color-primary);
  outline-offset: -2px;
}
.ts-swatch {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  flex-shrink: 0;
}
.ts-swatch2 {
  width: 28px;
  height: 28px;
  border-radius: 6px 6px 6px 0;
  flex-shrink: 0;
}
.ts-label {
  font-size: 13px;
  color: #444;
  white-space: nowrap;
}
.ts-reset {
  display: block;
  width: 100%;
  margin-top: 12px;
  padding: 6px;
  font-size: 12px;
  color: #888;
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 6px;
  cursor: pointer;
  transition:
    background 0.15s,
    color 0.15s;
}
.ts-reset:hover {
  background: #eee;
  color: #666;
}
.ts-item.active .ts-label {
  font-weight: 600;
}
/* 移动端适配 */
@media (max-width: 768px) {
  #ts-wrap {
    right: 10px;
    top: auto;
    bottom: 16px;
    transform: none;
  }
  #ts-btn {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }
  #ts-panel {
    right: 50px;
    top: auto;
    bottom: 0;
    transform: translateY(0) scale(0.9);
  }
  #ts-wrap.open #ts-panel {
    transform: translateY(0) scale(1);
  }
}

/* ========== 办事服务卡片 ========== */
/* PC端：文字渐变叠加在图片底部 */
.banshi-text {
  background: linear-gradient(
    to right,
    rgba(10, 35, 80, 0.85),
    rgba(26, 74, 138, 0.65)
  );
}
/* 移动端：文字在图片下方，独立深色块 */
@media (max-width: 639px) {
  .banshi-text {
    position: relative !important;
    inset: auto !important;
    background: rgba(13, 31, 60, 0.92);
  }
}
.website_info {
  line-height: 0.36rem;
  font-size: 0.14rem;
  padding-top: 0.14rem;
}
.website_info p span {
  margin-right: 0.2rem;
  display: inline-block;
  white-space: nowrap;
}
.website_info p img {
  display: inline;
  vertical-align: middle;
  margin-right: 0.08rem;
}
/* ========== 打印样式 ========== */
@media print {
  header,
  footer,
  .float-qr,
  .notice-popup-overlay,
  #mobileMenuBtn,
  nav,
  .breadcrumb {
    display: none !important;
  }
  main {
    padding: 0 !important;
  }
  .article-content {
    font-size: 12pt;
  }
  a {
    color: #000 !important;
    text-decoration: none !important;
  }
}
@media screen and (min-width: 993px) and (max-width: 1366px) {
  .row {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    width: auto;
  }
  .nav_wrap > ul > li {
    margin-left: 10px;
  }
  .daily_schedule,
  .welcome_speech {
    display: none !important;
  }
}
@media screen and (max-width: 992px) {
  .row {
    width: 100%;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  .daily_schedule,
  .welcome_speech {
    display: none !important;
  }
  .website_info {
    text-align: center;
    line-height: 0.28rem;
  }
  .website_info p span {
    display: block;
    margin-right: 0;
    white-space: normal;
  }
}
@media screen and (max-width: 1024px) {
  .md-hide {
    display: none !important;
  }
}
