
/* 主要内容区域 */
.main-content {
    padding: 20px 20px 0 20px;
}

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


/* 头部标题通用样式 */
.news-header,
.policy-header,
.policy-reading-header {
   text-align: left;
    padding-top: 10px;
    background-color: #EDF4F9;
    padding-left: 20px;
    /* padding-bottom: 1px; */
    margin-top: 20px;
    height: 48px;
}

.news-header h1,
.policy-header h1,
.policy-reading-header h1 {
    font-family: Source Han Sans;
    font-size: 18px;
    font-weight: bold;
    line-height: 25px;
    letter-spacing: 1px;
    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: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 2px;
    opacity: 1;
    background: #0063F9;
}

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

/* 政策动态列表样式 */
.policy {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /*padding: 20px;*/
    border-radius: 8px;
   /* margin: 20px 0;*/
    text-align: center;
}

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

.policy-item {
    display: flex;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    border-bottom: 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: 10px;
    line-height: 1.2;
    text-align: left;
    padding-bottom: 15px;
    border-bottom: 2px solid #ECECEC;
    margin-top: 10px;
}

.policy-content {
    flex: 1;
    padding: 15px 15px 15px 0px;
    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: #3D3D3D;
    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-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: 10px;
    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: 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: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    order: 1;
    text-align: left;
}

.news-time {
    font-size: 12px;
    color: #999;
    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;
}




.confirm-btn {
    background: #0063F9;
    color: white;
    border-color: #0063F9;
}

.confirm-btn:hover {
    background: #0052d4;
    border-color: #0052d4;
}


/* 政策解读样式 */
.policy-reading {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    text-align: center;
}

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

.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;
}

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

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

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

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

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

.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;
}

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

/* 轮播图指示器样式 */
.policy-slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
    z-index: 10;
}

.policy-slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #C2C2C2;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.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;
    /* background: #f8f9fa; */
    /* border-radius: 8px; */
    /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); */
    overflow: hidden;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
    min-height: 80px;
    align-items: center;
}

.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: 15px;
    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;
}

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

