/* ===== 基础重置 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    /* font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif; */
    /* background: #f5f8fc; */
    color: #333;
    font-size: 16px;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: #000;
    transition: all 0.2s ease;
}

ul {
    list-style: none;
}

svg {
    display: block;
}

/* ===== 页面容器 ===== */
.main {
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 6px;
}

/* ===== 顶部四个功能入口 ===== */
.top-entries {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    /* 与后续模块的间距统一由 .banner 的 margin-top 提供 */
}


.entry-card {
    display: flex;
    align-items: center;
    gap: 0px;
    padding: 16px 26px;
    border-radius: 10px;
    color: #383838;
    background: #4a90e2;
    /* box-shadow: 0 4px 12px rgba(74, 144, 226, 0.15); */
    position: relative;
    overflow: hidden;
}
/*
.entry-card::after {
    content: "";
    position: absolute;
    right: -30px;
    top: -30px;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}
*/
.entry-blue {
	
    /* background: linear-gradient(135deg, #5b9ff5 0%, #3a7fe0 100%); */
	background: #edf5fd;
}

.entry-orange {
    /* background: linear-gradient(135deg, #ff8a65 0%, #ff6e40 100%); */
	background: #fff5f1;
}

.entry-green {
    /* background: linear-gradient(135deg, #6dd9b0 0%, #4ec792 100%); */
	background: #f0f9f3;
}

.entry-amber {
    /* background: linear-gradient(135deg, #ffc06b 0%, #ffa726 100%); */
	background: #fef7f0;
}

.entry-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.entry-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.entry-text {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
	font-weight: bold;
	margin: auto;
}



/* ===== 党政领导信箱横幅 ===== */
.banner {
    background: url('/yasrmzf/pc2026/images/new_zmhd/zwhd_ldxx_images.png') center / cover no-repeat;
    border-radius: 10px;
    height: 90px;
    position: relative;
    overflow: hidden;
    display: inline-block;
    width: 100%;
    margin-top: 20px;
}

.banner-inner {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    height: 100%;
    padding: 0 135px;
}

.banner-actions {
    display: flex;
}

.banner-btn {
	display: inline-flex;
    align-items: center;
    padding: 7px 18px;
    /* background: #fff; */
    border: 1px solid #98bbe2;
    border-radius: 20px;
    color: #0f55a7;
    font-weight: 500;
    font-size: 14px;
}

.banner-btn .btn-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
    display: block;
}

.banner-btn:hover {
    background: #3a7fe0;
    color: #fff;
    border-color: #3a7fe0;
}

/* ===== 公共区块头部 ===== */
.div-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.tabs {
    display: flex;
    align-items: center;
}

.tabs li {
    font-size: 20px;
    color: #666;
    font-weight: 500;
    padding-bottom: 10px;
    cursor: pointer;
    position: relative;
	font-weight: bold;
    padding: 0px 20px 0px 0px;
}

.tabs .on a{
	color: #044da2 !important;
}
/*
.tab .active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -11px;
    height: 3px;
    background: #1d6fd1;
    border-radius: 2px;
}
*/
.more-link {
    color: #999;
}

.more-link:hover {
    color: #1d6fd1;
}

/* ===== 信件列表 ===== */
/* 模块间距统一用 margin-top：与横幅间距 5px，表格区与 tab 间距 15px */
.letter-div {
    margin-top: 5px;
}
.letter-div .bd{
	margin-top: 15px;
    background: linear-gradient(#ebf5ff 1px, #fbfcfd 120px);
}

.letter-table {
    /* background: #fff; */
    /* border-radius: 6px; */
    overflow: hidden;
    /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04); */
	display: contents;
}
.letter-table .more-link {
	position: relative;
	float: right;
	margin-top: -45px;
	color: #aaa;
}


.table-head {
    display: grid;
    grid-template-columns: 150px 1fr 110px 130px 130px;
   /* background: linear-gradient(180deg, #d6e8ff 0%, #c4dbff 100%); */
    padding: 14px 5px;
    /* font-weight: 600; */
    color: #1d6fd1;
}

.table-head .th{
	color: #2a68b1;
}
.table-body {
}
.col-no{
	text-align: center;
}
.table-head .col-type{
	text-align: center;
}
.col-date{
	text-align: center;
}
.col-reply{
	text-align: center;
}
.table-body .col-type{
	text-align: center;
}

.tr {
    display: grid;
    grid-template-columns: 150px 1fr 110px 130px 130px;
    padding: 16px 5px;
    border-bottom: 1px solid #f0f4fa;
    align-items: center;
    color: #555;
    transition: background 0.2s;
}

.tr:last-child {
    border-bottom: none;
}

.tr:hover {
    background: #f5f9ff;
}

.col-no {
    color: #888;
    /* font-family: "Consolas", monospace; */
}

.col-subject {
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-right: 12px;
}

.tr:hover .col-subject {
    color: #1d6fd1;
}

.col-type {
    color: #555;
}

.col-date,
.col-reply {
    color: #888;
    /* font-family: "Consolas", monospace; */
}

/* ===== 三个服务入口卡片 ===== */
.service-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 20px;
}

.service-card {
    display: block;
    /* border-radius: 8px; */
    height: 110px;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* .service-card:hover {
    transform: translateY(-2px);
} 

.service-12345 {
    background-image: url('/yasrmzf/pc2026/images/new_zmhd/zwhd_12345_logo.png');
}

.service-wsxf {
    background-image: url('/yasrmzf/pc2026/images/new_zmhd/zwhd_wsxf_logo.png');
}

.service-kb {
    background-image: url('/yasrmzf/pc2026/images/new_zmhd/zwhd_cjwtzsk_logo.png');
}
*/
/* ===== 底部双列区块 ===== */
.bottom-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 18px;
}

.block {
    background: #fff;
    border-radius: 6px;
    padding: 18px 22px;
    /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04); */
}
.survey-block{
	padding: 17px 20px 0px 0px;
}
.response-block{
	padding: 17px 0px 0px 0px;
}
.block-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.block-title {
    color: #1d6fd1;
    font-weight: 700;
    position: relative;
    /* padding-left: 12px; */
}

/*
.block-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 4px;
    background: #1d6fd1;
    border-radius: 2px;
}
*/

/* ===== 调查征集 ===== */
.survey-list {
    display: flex;
    flex-direction: column;
}

.survey-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    /* border-bottom: 1px dashed #eef2f7; */
    gap: 12px;
}

.survey-item:last-child {
    border-bottom: none;
}

.survey-content {
    display: flex;
    flex: 1;
    align-items: flex-start;
}

.survey-status {
    width: 64px;
    height: 64px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-weight: 700;
    border-radius: 4px;
    color: #0068b3;
    flex-shrink: 0;
    line-height: 20px;
	font-size: 14px;
}

.survey-status span {
    font-weight: 400;
    margin-top: 2px;
    opacity: 0.85;
}

.status-ongoing {
    /* background: linear-gradient(135deg, #5b9ff5 0%, #3a7fe0 100%); */
	background: #d9ebff;
}

.status-done {
    /* background: linear-gradient(135deg, #b39ddb 0%, #9575cd 100%); */
	background: #e6ecf2;
	 color: #4a5563;
}

.survey-info {
    flex: 1;
    min-width: 0;
}

.survey-title {
    color: #333;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.survey-desc {
    color: #999;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.survey-item:hover .survey-title {
    color: #1d6fd1;
}

.survey-btn {
    padding: 6px 18px;
    border: 1px solid #3a7fe0;
    border-radius: 4px;
    color: #3a7fe0;
    background: #fff;
    white-space: nowrap;
    flex-shrink: 0;
}

.survey-btn:hover {
    background: #3a7fe0;
    color: #fff;
}

.survey-btn-gray {
    border-color: #ccc;
    color: #666;
}

.survey-btn-gray:hover {
    background: #666;
    color: #fff;
    border-color: #666;
}

/* ===== 舆情回应 ===== */
.response-list{
	margin-left: 15px;
}
.response-list li {
    padding: 11px 0;
    /* border-bottom: 1px dashed #eef2f7; */
    position: relative;
    /* padding-left: 14px; */
	list-style: disc;
}
.response-list li::marker {
	color: #044da2;
}
.response-list li:last-child {
    border-bottom: none;
}
/*
.response-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 19px;
    width: 4px;
    height: 4px;
    background: #3a7fe0;
    border-radius: 50%;
}
*/
.response-list li a {
	width: 440px;
    color: #555;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
}

.response-list li a:hover {
    color: #1d6fd1;
}

/* ===== 响应式（1200/992/450） ===== */
/*按照1024X1366分辨率写*/
@media (max-width: 1200px) {
    .main {
        padding: 20px 15px;
    }

    .banner-inner {
        padding: 0 60px;
    }

    .table-head,
    .tr {
        grid-template-columns: 90px 1fr 90px 110px 110px;
    }

    .response-list li a {
        width: calc(100% - 40px);
    }

    .service-card {
        height: 90px;
    }

    .service-card img {
        max-width: 100%;
        height: 100%;
        object-fit: contain;
    }
}

/*按照768X1024分辨率写*/
@media (max-width: 992px) {
    .top-entries {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-cards {
        grid-template-columns: 1fr;
        height: 90px;
        display: block;
    }
    .service-card {
        width: calc(33% - 10px);;
        margin-left: 15px;
        float: left;
    }
    .service-card:first-child {margin-left: 0px;}
    .bottom-grid {
        grid-template-columns: 1fr;
        display: block;
    }
    .survey-block {
        padding: 18px 0px 18px 0px;
    }

    .response-block {
        padding: 0px 0px 18px 0px;
    }

    .response-list {
        margin-left: 5px;
    }

    .response-list li a {
        width: auto;
        max-width: 100%;
    }

    .table-head,
    .tr {
        grid-template-columns: 150px 1fr 80px 90px 90px;
        padding: 12px 14px;
    }

    .tabs li {
        font-size: 18px;
    }

    .banner {
        height: auto;
        min-height: 100px;
        padding: 14px 20px;
        padding-left: 290px;
        margin-top: 0px;
    }

    .banner-inner {
        margin-top: 20px;
        flex-wrap: wrap;
        height: auto;
        padding: 0;
        gap: 10px;
        justify-content: center;
    }

    .banner-actions {
        flex-wrap: wrap;
        justify-content: center;
    }

    .banner-btn {
        padding: 6px 14px;
    }
    .response-list li::marker {color: #fff;}
}

/*按照360X740分辨率写*/
@media (max-width: 460px) {
    .main {
        padding: 14px 10px;
    }
    .banner {
        margin-top: 10px;
        min-height: auto;
    }
    .banner-btn {
    }
    .block {
        padding: 14px 10px;
    }
    .bottom-grid {display: block;}
    .survey-block,
    .response-block {
        padding: 10px 15px;
    }

    .tabs {
        width: 100%;
    }

    .tabs li {
        font-size: 20px;
        width: 50%;
        text-align: center;
    }

    .div-header {
        flex-wrap: wrap;
    }

    .more-link {
        font-size: 13px;
    }

    /* 信件表格窄屏横向滚动，防止内容挤压 */
    .letter-div .bd {
        overflow-x: auto;
    }

    .table-head,
    .tr {
        min-width: 560px;
        grid-template-columns: 140px 1fr 90px 95px 95px;
    }

    .banner {
        padding-left: 20px;
        background-image: linear-gradient(180deg, #c4defb  0%, #d0e7fa 65%);
    }
	.banner-inner{
		margin-top:0;
	}
    .banner-btn {
        font-size: 16px;
        padding: 5px 10px;
    }

    .banner-actions {
    }

    .service-cards {
        gap: 10px;
        height: auto;
        display: flow-root;
    }

    .service-card {
        height: auto;
        width: 100%;
        margin-left: 0px;
    }

    .service-card img {
        width: 100%;
        height: auto;
    }

    .survey-content {
    }

    .survey-status {
        width: 54px;
        height: 54px;
        font-size: 12px;
        line-height: 17px;
    }

    .survey-btn {
        padding: 5px 10px;
    }
}
@media (max-width: 365px) {
    .banner-btn {font-size: 14px;}
}