
/* 主要内容区域 */
.main-content {
    min-height: calc(100vh - 200px - 200px); /* 减去头部和底部高度 */
    padding: 20px;
}

.content-placeholder {
    text-align: center;
    color: #666;
}

.content-placeholder h2 {
    margin-bottom: 15px;
    color: #333;
}

.current-position {
    font-family: Source Han Sans;
    font-size: 16px;
    font-weight: normal;
    line-height: 25px;
    letter-spacing: 0px;
    font-variation-settings: "opsz" auto;
    font-feature-settings: "kern" on;
    color: #999999;
    text-align: left;
}


/* 头部标题通用样式 */
.news-header,
.policy-header,
.policy-reading-header {
    text-align: center;
    padding-top: 15px;
}

.news-header h1,
.policy-header h1,
.policy-reading-header h1 {
    font-family: Source Han Sans;
    font-size: 22px;
    font-weight: bold;
    line-height: 25px;
    letter-spacing: 2px;
    font-variation-settings: "opsz" auto;
    font-feature-settings: "kern" on;
    color: #3D3D3D;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.news-header h1::after,
.policy-header h1::after,
.policy-reading-header h1::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 3px;
    opacity: 1;
    background: #0063F9;
}

/* 特定头部样式 */
.policy-header {
    margin-bottom: 20px;
}

/* 政策动态列表样式 */
.policy {
    background-image: url('../images/xxdt-zcdt-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 20px;
    text-align: center;
}

.policy-list {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 0;
}

.policy-item {
    display: flex;
    background: #fff;
    /*box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);*/
    box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    min-height: 100px;
    align-items: stretch;
}

.policy-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    border-color: #0063F9;
}

.policy-time {
    flex: 0 0 20.666%;
    max-width: 20.666%;
    flex-direction: column;
    justify-content: center;
    padding: 17px 10px;
    
}

.policy-time p:first-child {
    font-size: 18px;
    font-weight: bold;
    color: #000000;
    margin: 0;
    line-height: 1.2;
}

.policy-time p:last-child {
    font-size: 12px;
    color: #C2C2C2;
    margin: 4px;
    line-height: 1.2;
    text-align: left;
    padding-bottom: 25px;
    border-bottom: 2px solid #ECECEC;
}

.policy-content {
    flex: 1;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.policy-title {
    font-family: Source Han Sans;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.4;
    color: rgba(0, 0, 0, 0.8);
    margin: 0 0 8px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 44.8px;
    min-height: 44.8px;
    text-align: left;
}

.policy-text {
    font-family: Source Han Sans;
    font-size: 12px;
    font-weight: normal;
    line-height: 22px;
    color: #999999;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 39.2px;
    min-height: 39.2px;
    text-align: left;
}

/* 新闻轮播图样式 */
.news-slider {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    margin: 20px 0 0px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.slider-container {
    display: flex;
    width: 200%;
    height: 100%;
    transition: transform 0.5s ease;
}

.slider-item {
    width: 50%;
    height: 100%;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.slider-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: 15px;
    text-align: left;
}

.slider-content p {
    font-size: 14px;
    margin: 0;
    line-height: 1.4;
}

.slider-content p:first-child {
     /* margin-bottom: 5px;*/
    font-family: Arial;
    font-size: 14px;
    font-weight: normal;
    line-height: 25px;
    letter-spacing: 0px;
    font-variation-settings: "opsz" auto;
    color: #E2F0FB;
}

.slider-content p:last-child {
    font-family: Source Han Sans;
    font-size: 16px;
    font-weight: 500;
    line-height: 25px;
    letter-spacing: 0px;
    font-variation-settings: "opsz" auto;
    font-feature-settings: "kern" on;
    color: #FFFFFF;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

.slider-controls {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 10;
    display: none;
}

.slider-prev,
.slider-next {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    display: none;
}

.slider-prev:hover,
.slider-next:hover {
    background: rgba(255, 255, 255, 0.4);
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
    display: none;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: white;
    transform: scale(1.2);
}

/* 新闻列表样式优化 */
.news-list {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    padding: 0;
}

.news-item {
    display: flex;
    overflow: hidden;
    transition: all 0.3s ease;
    min-height: 100px;
    margin-top: 5px;
    border-bottom: 1px solid #ECECEC;
}

.news-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    border-color: #0063F9;
}

.news-img-container {
    flex: 0 0 33%;
    max-width: 33%;
    position: relative;
    overflow: hidden;
    order: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-item:hover .news-img {
    transform: scale(1.05);
}

.news-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 12px;
}
.news-img-placeholder img {height: 72px;}

.news-content {
    flex: 0 0 66%;
    max-width: 66%;
    padding: 10px 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    order: 1;
    text-align: left;
}

.news-content-noimage {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 10px 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    order: 1;
    text-align: left;
}

.news-time {
    font-size: 16px;
    color: #C2C2C2;
    font-family: PingFang SC;
    margin-top: 5px;
}

.news-title {
    font-family: Microsoft YaHei;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    color: #333;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 44.8px; /* 16px * 1.4 * 2 = 44.8px，确保两行高度 */
    min-height: 44.8px;
}

/* 查看更多按钮通用样式 */
.news-more,
.policy-more,
.policy-reading-more {
    border: none;
    border-radius: 6px;
    opacity: 1;
    background: #EDF4F9;
    width: 200px;
    height: 42px;
    color: #0063F9;
    margin-top: 20px;
  /*  margin-bottom: 30px;*/
    font-size: 16px;
}

.news-more:hover,
.policy-more:hover,
.policy-reading-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 99, 249, 0.4);
}

/* 政策解读样式 */
.policy-reading {
    background: #fff;
    text-align: center;
}

.policy-reading-header {
    text-align: center;
    padding-top: 15px;
    margin-bottom: 10px;
}

.policy-reading-header h1 {
    font-family: Source Han Sans;
    font-size: 22px;
    font-weight: bold;
    line-height: 25px;
    letter-spacing: 2px;
    font-variation-settings: "opsz" auto;
    font-feature-settings: "kern" on;
    color: #3D3D3D;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.policy-reading-header h1::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 3px;
    opacity: 1;
    background: #0063F9;
}

/* 轮播图通用样式 */
.news-slider,
.policy-reading-slider {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.slider-container,
.policy-slider-container {
    display: flex;
    width: 200%;
    height: 100%;
    transition: transform 0.5s ease;
}

.slider-item,
.policy-slider-item {
    width: 50%;
    height: 100%;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.slider-item img,
.policy-slider-item img {
    width: 100%;
    height: 100%;
}

/* 轮播图控制按钮通用样式 */
.slider-controls,
.policy-slider-controls {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-prev,
.slider-next,
.policy-slider-prev,
.policy-slider-next {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-prev:hover,
.slider-next:hover,
.policy-slider-prev:hover,
.policy-slider-next:hover {
    background: rgba(255, 255, 255, 0.4);
}

/* 轮播图指示器通用样式 */
.slider-dots,
.policy-slider-dots {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    gap: 8px;
    z-index: 10;
}

.slider-dot,
.policy-slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active,
.policy-slider-dot.active {
    background: white;
    transform: scale(1.2);
}

/* 政策解读轮播图特定样式 */
.policy-slider-dot {
    background: #C2C2C2;
}

.policy-slider-dot.active {
    width: 32px;
    background: #0063F9;
    border-radius: 10px;
    transform: scale(1);
}

/* 政策解读列表样式 */
.policy-reading-list {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 0;
    margin-top: 30px;
}

.policy-reading-item {
    display: flex;
    overflow: hidden;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
    min-height: 80px;
    align-items: center;
		margin: 0 15px;
}

.policy-reading-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    border-color: #0063F9;
}

.policy-reading-time {
    flex: 0 0 25%;
    max-width: 25%;
    padding: 15px;
    color: #666666;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.policy-reading-time p:first-child {
    font-size: 36px;
    font-weight: bold;
    margin: 0;
    line-height: 1.2;
}

.policy-reading-time p:last-child {
    font-size: 10px;
    margin: 5px 0 0 0;
    line-height: 1.2;
		 color: #C2C2C2;
}

.policy-reading-content {
    flex: 1;
    padding: 10px 10px 10px 0px;
    display: flex;
    align-items: center;
    min-width: 0;
}

.policy-reading-title {
    font-family: Source Han Sans;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.4;
    color: #333;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 44.8px; /* 16px * 1.4 * 2 = 44.8px，确保两行高度 */
    min-height: 44.8px;
    text-align: left;
}

.policy-reading-more {
    border: none;
    border-radius: 6px;
    opacity: 1;
    background: #EDF4F9;
    width: 200px;
    height: 42px;
    color: #0063F9;
    margin-top: 20px;
   /* margin-bottom: 30px;*/
    font-size: 16px;
}

.policy-reading-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 99, 249, 0.4);
}



