
/* Base reset comes from normalize.css linked in HTML */
:root {
    --bg: #faf7f5;
    --bg2: #7b1614;
    --surface: #ffffff;
    --primary: #1f6feb;
    --text: #1f2937;
    --muted: #6b7280;
    --border: #e5e7eb;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    --radius: 14px;
    --transition: 180ms ease;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    /*display: block;*/
}

.page {
    width: 100%;
    overflow: hidden;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

h1,
h2 {
    padding: 0;
    margin: 0;
}

.container {
    width: min(1400px, 92vw);
    margin: 0 auto;
    padding: 20px 0;
}

header {
    width: 100vw;
    height: 100vh;
    position: relative;
}

.news {
    display: flex;
    gap: 80px;
}
.banner {
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo {
    position: absolute;
    top: 50px;
    left: 50px;
}
.mouse {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 30px;
}

.content {
    width: 100%;
    background: url(/upload/images/2025/12/7e0ff6eafd0913aa.png) no-repeat;
    background-size: cover;
}

.title-com {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.title-com h1 {
    display: block;
    background: url(/upload/images/2025/12/5262eb04c3217e24.png) no-repeat;
    background-position: 1px 0px;
    /*width: 250px;*/
    padding-left: 50px;
    position: relative;
    margin: 20px 0;
}
.title-com h1::before {
    content: "";
    display: block;
    width: 100%;
    height: 4px;
    position: absolute;
    bottom: -5px;
    left: 0;
    border-radius: 5px;
    background: linear-gradient(to right, #d14a2e, #fd6d4f00);
}

.title-com a {
    display: flex;
    width: 100px;
    justify-content: flex-end;
    align-items: center;
    background: url(/upload/images/2025/12/837ac420dbcb594b.png) no-repeat;
    background-position: 14px center;
    font-size: 14px;
    font-weight: bold;
    color: var(--muted);
}
.title-com a:hover {
    color: var(--text);
}

.list-new {
    font-size: 14px;
    line-height: 1.5;
}
.list-new li {
    margin: 40px 0;
    padding: 10px 0;
}

.list-new li a {
    display: flex;
    gap: 20px;
    justify-content: space-between;
}
.list-new > li:first-child a h2 {
    font-size: 20px;
}
.list-new li:first-child {
    border-bottom: 2px dashed var(--bg2);
    margin-top:0;
}
.Notice li:first-child {
    border-bottom: 1px solid var(--bg2);
}
.list-new li:first-child a{
  padding:20px 0;
  /*display: block;*/
}
.list-new:not(.Notice) li:first-child .date{
  display: none;
}

.list-new li a h2 {
    font-size: 18px;
    overflow: hidden;    
    white-space: nowrap;
    text-overflow:ellipsis;
}

/*.list-new li:last-child {
    font-size: 16px;
}*/
.date {
    text-align: right;
}
.date span {
    font-size: 20px;
    color: var(--text);
}
.Notice > li:first-child a{
    padding:40px 0 0;
}
.Notice > li:first-child a h2 {
    font-size: 18px;
}
.Notice li {
    border-bottom: 1px solid var(--bg2);
}
.list-new li a:hover {
    color: var(--bg2);
}
.card {
    flex: 1;
}

.dandai {
    background: url(/upload/images/2025/12/600c4bf50d804a0f.png) no-repeat;
    background-size: cover;
}

.dand {
    display: flex;
    justify-content: space-between;
}
.Swiper_img {
    width: 50%;
}
.dandai_list {
    width: 45%;
    overflow: hidden;
    position: relative;
}
.dandai_list li {
    width: 100%;
    background: var(--surface);
    margin: 0 0 20px 0;
}
.dandai_list li a {
    display: block;
    width: 100%;
    font-size: 16px;
    line-height: 1.2;
    padding: 25px 20px;
    font-weight: bold;
}
.dandai_list li a:hover {
    color: var(--bg2);
}
/* 控制外层宽度，居中 */
.swiper-container {
    width: 100%;
    height: 480px;
}
.swiper-container .swiper-pagination-bullet-active {
    background: var(--bg2);
}
/* 图片等比填满 */
.mySwiper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.xxdt {
    background: url(/upload/images/2025/12/2725472231a46878.png) no-repeat;
    background-size: cover;
    background-position: center;
}

.list-xxdt li {
    background: #fff;
    margin: 0 0 20px 0;
    padding: 20px 20px;
}

.list-xxdt li h2 {
    font-size: 18px;
    overflow: hidden;    
    white-space: nowrap;
    text-overflow:ellipsis;
}
.list-xxdt li a:hover {
    color: var(--bg2);
}

/* 列表 */
.title-list {
    display: block;
    width: fit-content;
    text-align: center;
    font-size: 24px;
    line-height: 2;
    font-weight: bold;
    padding-left: 70px;
    background: url(/upload/images/2025/12/38d7901be05061ac.png) no-repeat;
    background-position: 10px center;
    margin: 20px auto;
}
.more-list {
    display: block;
    width: 100px;
    height: 24px;
    background: url(/upload/images/2025/12/837ac420dbcb594b.png) no-repeat;
    background-position: 0px center;
    padding-left: 20px;
    font-size: 14px;
    font-weight: bold;
    color: var(--muted);
    margin-left: auto;
    align-self: flex-end;
    flex-shrink: 0;
}
.more-list:hover {
    color: var(--text);
}

.list-gong {
    width: 100%;
    padding-top: 20px;
}
.list-gong li {
    width: 100%;
    background: #fff5f5;
    margin: 0 0 40px 0;
    padding: 20px 20px;
    border: 2px solid #ef6b45;
    border-radius: 10px;
    box-shadow: 0 4px 0 #ef6b45;
}
.list-gong li:hover {
    background: #fff;
}

.date_list {
    width: 80px;
    height: 65px;
    border: 1px solid #ef6b45;
    border-radius: 5px;
    display: flex;
    background: url(/upload/images/2025/12/f4b3e20aa94ab5eb.png) no-repeat;
    background-position: 53% center;
    justify-content: space-around;
    flex-shrink: 0;
}
.date_list .day {
    font-size: 30px;
    font-weight: bold;
    line-height: 1.2;
    font-family: "Times New Roman", Times, serif;
    color: #c20000;
    margin-left: 5px;
    display: inline-flex;
    padding-top: 10px;
}
.date_list .moon {
    font-size: 20px;
    padding-right: 5px;
    padding-top: 25px;
    font-family: "Times New Roman", Times, serif;
    color: #1f2937;
    text-align: center;
}
.list-gong li a {
    display: flex;
    gap: 20px;
}
.list-cont p {
    margin: 0;
}
.list-cont h2 {
    font-size: 24px;
    line-height: 1.2;
    margin-bottom: 10px;
}

footer {
    border-top: 1px solid var(--border);
    padding: 16px 0 24px;
    color: var(--muted);
    background: var(--bg2);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 12px;
    color: var(--surface);
    flex-wrap: wrap;
}

.topbars {
    position: fixed;
    z-index: 999;
    right: 20px;
    bottom: 20px;
}
.topbars a {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    background: #fff;
    color: var(--bg2);
    border-radius: 8px;
    font-size: 12px;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.3s ease-in-out;
    flex-direction: column;
}
.topbars a:hover {
    background: #c20000;
    color: var(--border);
}
.topbars a img {
    width: 30px;
}
.home img {
    content: url("/upload/images/2025/12/ced5ed9e8b451a8e.png");
}

.home:hover img {
    content: url("/upload/images/2025/12/1a417414ffe8b24f.png");
}

.details-conent {
    border-radius: 5px;
    background: #fff;
    padding: 20px;
}
.details-conent .title {
    font-size: 30px;
    line-height: 1.2;
    text-align: center;
}
.details-conent .ly {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.2;
    margin: 20px 0;
    text-align: center;
}
.ly span {
    margin-left: 50px;
}
.date-content {
    font-size: 20px;
    line-height: 1.5;
    padding: 40px;
    background: #fff;
}

.date-content p{
    text-indent: 2em;
    margin-bottom: 20px;
    text-align: justify;
}

.return {
    display: flex;
    font-size: 12px;
    line-height: 2;
    flex-direction: row-reverse;
    align-items: center;
    color: var(--bg2);
    margin: 20px 0;
}
.return a{
  display: flex;
  gap: 10px;
}
.return a img{
  margin-left:10px
}
.return a:hover {
    font-weight: bold;
}

/* Responsive tweaks */
@media (max-width: 720px) {
  .topbars{
    display:none;
  }
  .title-list{
    margin: 0 auto;
    font-size: 20px;
    background-size: 22px;
    padding-left: 25px;
    background-position: 0 center;

  }
.more-list{
    text-align: right;
    background-position: 20px center;
}
.date_list{
    font-size: 10px;
    width: 40px;
    height: 50px;
}
 .date_list .day{
    font-size: 15px;
} 
.date_list .moon{
font-size: 15px;
}

    .title-com h1 {
        margin: 0;
        font-size: 18px;
        background-size: 28px;
        padding-left: 29px;
    }
.title-com a{
  background-position: 25px center;
  font-size: 12px;
  width: 92px;
}
.list-xxdt li{
  padding: 10px;
}
    .list-new li {
        margin: 0;
        padding: 15px 0;
    }
    .list-new > li:first-child a h2 {
        font-size: 16px;
        line-height: 1.2;
    }
    .list-new li a h2 {
        font-size: 14px;
        line-height: 1.2;
    }
    .dand {
        flex-direction: column;
    }
    .Swiper_img {
        width: 100%;
    }
    .swiper-container {
        height: 270px;
    }
    .dandai_list{
        width: 100%;
    }
    .dandai_list li {
       margin: 0 0 10px 0;
    }
    .news{
        flex-direction: column;
        gap: 20px;
    }
    .title-com{
        margin-bottom: 20px;
    }
    .list-gong li a{
        flex-direction: column;
      gap: 10px;
    }
    .list-cont h2{
        font-size: 20px;
        line-height: 1.2;
    }
    .date-content{
        padding: 10px;
    }
    .return img{
        width: 30px;
        align-self: center;
    }
}
/*
   6. 2K / 4K 大屏优化
-------------------------------------------------- */
@media (min-width: 2560px) {
    .container {
        width: clamp(1400px, 60vw, 1800px);
    }
    .feature-box {
        font-size: 1.4rem;
        padding: 40px;
    }
}

@media (min-width: 3840px) {
    .container {
        width: 2000px;
    }
}

/* 分页样式 */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 20px 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 14px;
}

/* 通用按钮样式 */
.pagination a,
.pagination span {
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    border-radius: 6px;
    border: 1px solid #ddd;
    background-color: #fff;
    color: #333;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-sizing: border-box;
    cursor: pointer;
    user-select: none;
}

/* 数字按钮 */
.pagination .page-num {
    font-weight: 400;
}

/* 当前页 */
.pagination .page-num.active {
    border-color: var(--bg2);
    background-color: var(--bg2);
    color: #fff;
    font-weight: 500;
}

/* 上一页/下一页按钮 */
.pagination .page-btn {
    padding: 0 12px;
}

/* 省略号 */
.pagination .page-ellipsis {
    border: none;
    background: transparent;
    cursor: default;
}

/* hover 效果 */
.pagination a:hover:not(.active):not(.disabled) {
    border-color: #ef6b45;
    color: #ef6b45;
}

/* 禁用状态 */
.pagination .disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* 移动端适配 */
@media (max-width: 480px) {
    .pagination {
        gap: 4px;
        font-size: 12px;
    }

    .pagination a,
    .pagination span {
        min-width: 28px;
        height: 28px;
        padding: 0 6px;
    }

    .pagination .page-btn {
        padding: 0 8px;
    }

    /* 小屏可以隐藏部分页码（按需自己增加逻辑） */
}

