html, body {
  font-family: "Microsoft YaHei", sans-serif;
  margin: 0;
  padding: 0;
  min-width: 1200px;
}

body {
  background-image: url('/static/images/background.png');
  background-repeat: repeat;
  background-color: #E0D8C7; /* 可选：设置背景色防止图加载失败时有底色 */
}

header {
  background: #fff;
  border-bottom: 1px solid #eee;
}

.container {
  max-width: 1200px;
  min-width: 1200px;
  margin: 0 auto;
  padding: 0px;
}

.articlelist {
  margin: 20px auto 20px;
  padding: 20px;
  background: white;
}

.breadcrumbPxy {
  font-size: 14px;
  color: rgb(60, 40, 34);
  max-width:1200px;
  margin:20px auto 14px;
  padding:0 30px;
  font-size:14px;
}

.breadcrumbPxy span {
  color: rgb(182, 160, 113);
}

.breadcrumbPxy a,
.breadcrumbPxy a:visited {
  color: inherit;
  text-decoration: none;
}

.breadcrumbPxy a:hover,
.breadcrumbPxy a:active,
.breadcrumbPxy a:focus {
  color: inherit;
  text-decoration: none; /* 如果想悬停有下划线，改为 underline */
}

.article {
  display: flex;
  margin-bottom: 20px;
  border-bottom: 1px solid #eee;
  padding-bottom: 20px;
}

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

.article a:visited {
  color: inherit;
}

.article img {
  width: 256px;
  height: 144px;
  object-fit: cover;
  margin-right: 25px;
  border-radius: 5px;
  aspect-ratio: 16 / 9;
}

.article div {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* 保证发布日期到底部 */
}

.article h3 {
  margin: 0;
  font-size: 18px;
  color: #210F02;
}

.article h3 a {
  color: inherit;           /* 继承父元素颜色 */
  text-decoration: none;    /* 去掉下划线 */
}

.article h3 a:visited {
  color: inherit;           /* 点击过后颜色也继承父元素 */
}

.article h3 a:hover {
  color: inherit;           /* 悬停时也继承 */
  text-decoration: none;    /* 保证悬停时不出现下划线 */
}

.article p {
  margin: 5px 0;
  color: #210F02;
  font-size: 14px;
}

.article .meta {
  color: rgb(142, 142, 142);
  font-size: 13px;
  margin-top: auto;
}

.article .list-meta {
  color: rgb(142, 142, 142);
  font-size: 13px;
  margin-top: auto;
  text-align: left;
}


.article-detail { background: #fff; padding: 30px; }
.article-detail .article-title {
  color: #210F02;
  font-size: 1.5em;
  text-align: center;
  padding-bottom: 10px;
}
.article-detail .article-meta {
  font-size: 14px;
  color: rgb(142, 142, 142);
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #ddd;
  text-align: center;
}

.article-detail .article-meta a.source-link:link,
.article-detail .article-meta a.source-link:visited {
  color: inherit !important;
  text-decoration: none !important;
}

.article-detail .article-meta a.source-link:hover {
  text-decoration: underline !important;
}

.article-detail p {
  font-size: 15px;
  line-height: 1.8;
  color: #210F02;
  margin-bottom: 15px;
  text-indent: 2em;
}

.article-detail img {
  max-width: 100%;
  display: block;
  margin: 20px auto;
}

.side-panel {
  width: 400px; 
  float: right; 
  margin-left: 0px; 
  background: #fff; 
  padding: 1px; 
  box-sizing: border-box;
}

.hot-news-box-title {
  background-color: rgb(243,240,235);
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #210F02;
  font-size: 18px;
  font-weight: bold;
}

.styled-hot-news {
  margin-top: 0;
  padding: 15px ;
  list-style: none;
}

.hot-news-box {
  display: flex;
  gap: 10px;
  padding: 15px 0;
  border-bottom: 1px solid #eee;
}

.hot-news-datebox {
  width: 74px;
  height: 74px;
  border: 1px solid #e0e0e0;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.hot-news-datebox .day {
  font-size: 22px;
  font-weight: bold;
  color: rgb(179,160,121);
  line-height: 1;
}

.hot-news-datebox .year-month {
  font-size: 12px;
  color: #999;
  margin-top: 4px;
}

.hot-news-title {
  font-size: 14px;
  color: #210F02;
  line-height: 1.6;
  flex: 1;
}

/* 仅作用于热点资讯列表的链接样式 */
.hot-news-list a,
.hot-news-list a:visited {
  color: inherit;          /* 继承文字颜色 */
  text-decoration: none;   /* 去掉下划线 */
  display: block;          /* 让链接充满 li，方便整个块可点击 */
}

.hot-news-list a:hover,
.hot-news-list a:active,
.hot-news-list a:focus {
  color: inherit;          /* 悬停/点击时不变色 */
  text-decoration: none;   /* 悬停时也不显示下划线 */
}

.main-content { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; }

.paginationPxy {
  text-align: center;
  margin-top: 30px;
  font-size: 14px;
}

.paginationPxy a {
  display: inline-block;
  padding: 6px 12px;
  margin: 0 2px;
  border: 1px solid #ccc;
  text-decoration: none;
  color: #333;
  background-color: #fff;
  border-radius: 3px;
  cursor: pointer;
}

.paginationPxy input[type="submit"] {
  display: inline-block;
  padding: 6px 12px;
  margin: 0 2px;
  border: 1px solid #ccc;
  text-decoration: none;
  color: white;
  background-color: #b19766;
  border-color: #b19766;
  border-radius: 3px;
  cursor: pointer;
}

.paginationPxy a.active {
  background-color: #b19766;
  color: white;
  border-color: #b19766;
}

.paginationPxy input[type="text"] {
  width: 70px;
  height: 34px;
  padding: 6px 12px;

  margin-left: 5px;
  margin-right: 5px;
  border: 1px solid #ccc;
  border-radius: 3px;
  text-align: center;
  font-size: 14px;
  outline: none;
  box-sizing: border-box;
}

.paginationPxy input[type="number"] {
  width: 70px;
  height: 34px;
  padding: 6px 12px;

  margin-left: 5px;
  margin-right: 5px;
  border: 1px solid #ccc;
  border-radius: 3px;
  text-align: center;
  font-size: 14px;
  outline: none;
  box-sizing: border-box;

  -moz-appearance: textfield;
  -webkit-appearance: none;
}

.paginationPxy form {
  margin-top: 15px;
  display: inline-block;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 113px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  position: relative;
}

.nav a {
  position: relative;
  padding: 10px 0;
  color: #000;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s;
}

.nav a:hover {
  color: #c71330;
}

.nav a.active {

  font-weight: bold;
  color: #c71330;
}

.nav a.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  height: 2px;
  background-color: #c71330;
  border-radius: 1px;
}


.phone {
  text-align: right;
  font-size: 16px;
  color: #000; /* 默认黑色 */
  line-height: 1.5;
}

.phone-label {
  font-weight: normal;
  color: #000;
}

.phone-number {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 6px; /* 图标与号码间距 */
  color: #c71330;
  font-weight: bold;
}

.phone-icon {
  width: 22px;
  height: 22px;
  vertical-align: middle;
}


.banner {
  background: #f5f5f5;
  padding: 0px 0;
}

.banner img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}

.section-title {
  width: 100%;
  max-width: 1200px;
  margin: 50px auto 20px;
  height: 34px;
  background-image: url('/static/images/index-title.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  text-align: center;
  line-height: 34px;
  color: #a40000;
  font-size: 22px;
}

.exhibits {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.exhibit-item {
  background: #fff;
  border: 1px solid #ccc;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
  border-radius: 4px;
  overflow: hidden;
  text-align: center;
  width: 100%;
  max-width: 256px;
  transition: transform 0.3s;
}

.exhibit-item:hover {
  transform: translateY(-4px);
}

.exhibit-item img {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
}

.exhibit-caption {
  padding: 10px;
  font-size: 14px;
  color: #333;
}


.news {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.news-item {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  overflow: hidden;
  width: 100%;
  max-width: 368px;
  transition: transform 0.3s;
}

.news-item:hover {
  transform: translateY(-4px);
}

.news-item img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  display: block;
}

.news-content {
  padding: 16px;
}

.news-title {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  margin: 0 0 10px 0;
}

.news-title a {
    color: inherit;
    text-decoration: none;
}

.news-title a:visited {
    color: inherit;
}

.news-title a:hover {
    text-decoration: none;
}

.news-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

.about {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  gap: 20px;
}

.about-text {
  flex: 1;
  min-width: 0; /* 防止内容过宽撑破布局 */
  position: relative;
  z-index: 1;
}

.about img {
  width: 300px;
  flex-shrink: 0;
}

.about-text::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -100px;
  transform: translateY(-50%);
  width: 200px;
  height: 200px;
  background: url('/static/images/index_aboutbg.png') no-repeat center;
  background-size: contain;
  z-index: -1;
}

.about-text .more-button {
  display: inline-block;
  margin-top: 20px;
  padding: 8px 20px;
  font-size: 14px;
  color: #232323;
  border: 1px solid #e0d8C7;
  border-radius: 20px;
  text-decoration: none;
  background-color: #e0d8C7;
  transition: all 0.3s;
  z-index: 999;
}

.about-text .more-button:hover {
  color: #fff;
  background-color: #c71330;
  border-color: #c71330;
}


.about img {
  width: 300px;
}

footer {
  background: #222;
  color: #fff;
  padding: 30px 0 0px 0px;
  margin-top: 60px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-inner > div:nth-child(1),
.footer-inner > div:nth-child(2) {
  flex: 0 0 30%; /* 各占 30%，共 60% */
}

.footer-inner > div:nth-child(3) {
  flex: 0 0 30%; /* 占 40% */
}

.qr-codes {
  display: flex;
  gap: 20px;
  margin-top: 10px;
}

.qr-block {
  text-align: center;
}

.qr-block img {
  width: 100px;
  height: 100px;
  display: block;
  margin: 0 auto;
}

.qr-block p {
  margin-top: 8px;
  font-size: 14px;
  color: #fff; /* 或其他你页面中合适的颜色 */
  text-align: center;
}

.footer a {
  color: #fff;
  text-decoration: none;
}

.copyright {
  height: 54px;
  border-top: 1px solid #262626;
  color: #aaa;
  font-size: 12px;
  text-align: center;

  display: flex;
  align-items: center;
  justify-content: center;
}

.copyright a {
  color: inherit;            /* 跟父级一样的颜色 */
  text-decoration: none;     /* 去掉下划线 */
}
.copyright a:visited { color: inherit; }
.copyright a:hover { text-decoration: underline; } /* 悬停再显示下划线 */

