/* 防止任何元素撑破屏幕 */
* {
  box-sizing: border-box;
  max-width: 100%; /* 关键安全措施 */
}
html,body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

.blank780 {
    width: 100%;
    clear: both;
    display: block;
    height: 0;
    padding-top: 44.08%;
    background: url(../../images/sxmrw/tuiwulaobingbg1_1.jpg) no-repeat;
    background-size: contain;
    background-position: center center;
}

body {
    font-family: "微软雅黑";
    font-size: 14px;
    background: #f2f2f2;
}

body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,blockquote,p{padding:0; margin:0; color:#2b2b2b;}
li{list-style-type:none;list-style:none;}
ol,ul {list-style:none;}
img{border:0;}
a {color:#2b2b2b;text-decoration:none;}
a:hover {color:#ba2636;text-decoration:none;}
.footer .bot{ text-align: center; line-height: 25px; }
.mainBox {
    max-width: 1100px; /* 限制最大宽度 */
	width: 100%; /* 手机端自动收缩 */
	margin: 0 auto;
    clear: both;
    position:relative;
}


.banner {
    height: 58px;
    margin: 0 auto;
    background-color: #8b1310;
}

.banner ul {
    width: 1200px;
    margin: 0 auto;
}

.banner ul li {
    float: left;
    width: 198px;
    line-height: 58px;
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 2px;
    text-align: center;
    border-left: 1px solid #fff;
    border-right: 1px solid #fff;
}

.banner ul li a {
    color: #FFF;
}

.banner ul li a:hover {
    color: #d11815;
}




.first-word {
    background-color: #fee8ea;
    padding: 10px 15px;
    box-shadow: 0 8px 10px 0px #fee8ea;
}

.first-word ul {
    padding: 25px 32px;
    border: 2px dashed #78b0c4;
}

.first-word ul p {
    font-size: 18px;
    line-height: 34px;
    text-indent: 2em;
}

.first-word p a,
.link {
    color: #d11815;
}

.first-word p a:hover,
.link:hover {
    font-weight: bold;
    text-decoration: underline;
}

.content {
    background-color: #f7f7f7;
    color: #222;
    line-height: 1.8;
    padding: 20px;
}

.con_word {
    max-width: 1100px;
    margin: 0 auto;
}

.con_word h1 {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    line-height: 50px;
}

.con_word h2 {
    font-weight: bold;
    font-size: 16px;
}

.con_word h3 {
    font-weight: bold;
    font-size: 18px;
    color: #d11815;
    text-indent: 2rem;
    text-align: center;
}

.con_word p {
    line-height: 38px;
    text-indent: 2rem;
    padding: 8px 0;
}

.con_word table p {
    text-indent: 0;
}

.p_right {
    text-align: right;
    text-indent: 4rem;
}

.tet_img {
    margin-left: 60px;
    padding-top: 20px;
}

.tet_img3 {
    margin-left: 20px;
    padding-top: 20px;
}

.con_word table .thead td {
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    background-color: #d11815;
    color: #fff;
}



.pics ul img {
    width: 440px;
    height: 500px;
    margin: 0;
    border: 0;
}

.wfxh-wrapper ul img {
    width: 900px;
    height: auto;
    object-fit: cover;
    margin: 0px 0px;
}

.pic1 ul img {
    width: 756px;
    height: 1054px;
    margin: 20px 10px;
}

.pics ul li img {
    width: 269px;
    height: 360px;
    margin: 20px 28px;
    border: 10px solid #fff;
}

/*底部*/
.footer {
    clear: both;
    padding-top: 12px;
    padding-bottom: 10px;
    border-top: 1px solid #c00;
    text-align: center;
    color: #555555;
    font: 12px/22px "微软雅黑";
}

.footer a {
    color: #555;
}

.footer a:hover {
    color: #ff6600;
}

.banner2 {
    background: none;
}

.banner2 ul li a {
    color: #000;
}

/* 服务项目栏目 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

.wfxh-container {
    background-color: #f7f7f7;
    color: #222;
    line-height: 1.8;
    padding: 20px;
}

.wfxh-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.wfxh-header {
    text-align: center;
    position: relative;
    padding: 20px 0;
}

.wfxh-header h1 {
    color: #8b1310;
    font-size: 2.8rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
}

.wfxh-header h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, #8b1310 0%, #f7d3d2 100%);
    border-radius: 2px;
}

.wfxh-header p {
    font-size: 1.4rem;
    color: #555;
    max-width: 700px;
    margin: 0 auto;
    padding-top: 20px;
}

/* 导航样式 */
.wfxh-nav {
    position: sticky;
    top: 20px;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    padding: 18px 0;
    margin-bottom: 40px;
    z-index: 1000;
    backdrop-filter: blur(5px);
    overflow: hidden;
    border: 1px solid rgba(139, 19, 16, 0.15);
}

.wfxh-nav-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.wfxh-nav-item {
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    background-color: transparent;
    color: #8b1310;
    border: 2px solid rgba(139, 19, 16, 0.3);
}

.wfxh-nav-item:hover,
.wfxh-nav-item.active {
    background-color: #8b1310;
    color: white;
    box-shadow: 0 4px 12px rgba(139, 19, 16, 0.3);
}

/* 内容区域样式 */
.wfxh-content-section {
    margin-bottom: 45px;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    padding: 35px 40px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 5px solid rgba(139, 19, 16, 0.8);
    position: relative;
    overflow: hidden;
}

.wfxh-content-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #8b1310 0%, rgba(139, 19, 16, 0.3) 100%);
    opacity: 0.7;
}

.wfxh-content-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.wfxh-section-title {
    color: #8b1310;
    font-size: 1.8rem;
    margin-bottom: 20px;
    position: relative;
    padding-left: 20px;
    font-weight: 700;
}

.wfxh-section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background-color: #8b1310;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(139, 19, 16, 0.2);
}

.wfxh-list {
    list-style-type: none;
}

.wfxh-list-item {
    position: relative;
    padding: 15px;
    padding-left: 35px;
    margin-bottom: 15px;
    border-radius: 8px;
    background-color: rgba(139, 19, 16, 0.03);
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.wfxh-list-item:hover {
    background-color: rgba(139, 19, 16, 0.08);
    border-left: 3px solid #8b1310;
    transform: translateX(5px);
}

.wfxh-list-item::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 20px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #8b1310;
    box-shadow: 0 0 0 2px rgba(139, 19, 16, 0.2);
}

.wfxh-sub-list {
    padding-left: 20px;
    margin-top: 10px;
    list-style-type: none;
}

.wfxh-sub-list li {
    position: relative;
    padding: 6px 0;
    padding-left: 25px;
}

.wfxh-sub-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #8b1310;
    font-size: 14px;
}

.wfxh-list-item strong {
    color: #8b1310;
    font-weight: 700;
}

.wfxh-indent {
    display: block;
    padding-left: 30px;
    color: #555;
    font-size: 0.95em;
    margin-top: 5px;
}

/* 底部位居 */
.wfxh-footer {
    text-align: center;
    padding: 0px 0 30px;
}

.wfxh-slogan {
    font-size: 1.8rem;
    color: #8b1310;
    font-weight: 700;
    font-style: italic;
    padding: 30px;
    position: relative;
    border-radius: 15px;
    background-color: rgba(139, 19, 16, 0.05);
}

.wfxh-slogan::before,
.wfxh-slogan::after {
    content: "“";
    font-size: 4rem;
    position: absolute;
    color: rgba(139, 19, 16, 0.15);
    font-weight: 700;
}

.wfxh-slogan::before {
    top: 0;
    left: 20px;
}

.wfxh-slogan::after {
    bottom: -20px;
    right: 20px;
    transform: rotate(180deg);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .wfxh-header h1 {
        font-size: 2.2rem;
    }

    .wfxh-content-section {
        padding: 25px 20px;
    }

    .wfxh-section-title {
        font-size: 1.5rem;
    }

    .wfxh-nav-item {
        font-size: 0.9rem;
        padding: 6px 15px;
    }
}


/* 英烈事迹列表页 */
/* 全局样式重置 */
.ylsj-container,
.ylsjshow-container {
    margin: 0;
    padding: 0;
    font-family: 'Microsoft YaHei', 'Segoe UI', sans-serif;
    color: #333;
    line-height: 1.6;
}

/* ===== 列表页样式 ===== */
.ylsj-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    line-height: 1.8;
}




.ylsj-header {
    text-align: center;
    position: relative;
    padding: 20px 0;
}

.ylsj-title {
    font-size: 2.8rem;
    color: #8b1310;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
}

.ylsj-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, #8b1310 0%, #f7d3d2 100%);
    border-radius: 2px;
}

.ylsj-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.ylsj-martyr-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 35px;
    margin-top: 40px;
}

.ylsj-martyr-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    border-top: 4px solid #8b1310;
}

.ylsj-martyr-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(139, 19, 16, 0.2);
}

.ylsj-martyr-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    border-bottom: 2px solid #f0f0f0;
}

.ylsj-martyr-info {
    padding: 22px;
    text-align: center;
}

.ylsj-martyr-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 8px;
    transition: color 0.3s;
}

.ylsj-martyr-card:hover .ylsj-martyr-name {
    color: #8b1310;
}

.ylsj-martyr-birth {
    color: #777;
    font-size: 0.95rem;
    margin-top: 5px;
}

.ylsj-martyr-intro {
    color: #555;
    font-size: 0.95rem;
    margin-top: 12px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ylsj-martyr-link {
    display: inline-block;
    padding: 8px 24px;
    background: #8b1310;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s;
}

.ylsj-martyr-link:hover {
    background: #6a0f0d;
    transform: scale(1.05);
}


/* 响应式设计 */


@media (max-width: 768px) {
    .ylsj-martyr-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 25px;
    }

    .ylsj-title {
        font-size: 2.2rem;
    }

    .ylsjshow-martyr-img {
        max-width: 100%;
    }
}



/* 会员风采列表页 */
/* 全局样式重置 */
.hyfc-container {
    margin: 0;
    padding: 0;
    font-family: 'Microsoft YaHei', 'Segoe UI', sans-serif;
    color: #333;
    line-height: 1.6;
}

/* ===== 列表页样式 ===== */
.hyfc-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    line-height: 1.8;
}




.hyfc-header {
    text-align: center;
    position: relative;
    padding: 20px 0;
}

.hyfc-title {
    font-size: 2.8rem;
    color: #8b1310;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
}

.hyfc-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, #8b1310 0%, #f7d3d2 100%);
    border-radius: 2px;
}

.hyfc-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.hyfc-martyr-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 35px;
    margin-top: 40px;
}

.hyfc-martyr-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    border-top: 4px solid #8b1310;
}

.hyfc-martyr-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(139, 19, 16, 0.2);
}

.hyfc-martyr-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    border-bottom: 2px solid #f0f0f0;
}

.hyfc-martyr-info {
    padding: 22px;
    text-align: center;
}

.hyfc-martyr-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 8px;
    transition: color 0.3s;
}

.hyfc-martyr-card:hover .hyfc-martyr-name {
    color: #8b1310;
}

.hyfc-martyr-birth {
    color: #777;
    font-size: 0.95rem;
    margin-top: 5px;
}

.hyfc-martyr-intro {
    color: #555;
    font-size: 0.95rem;
    margin-top: 12px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hyfc-martyr-link {
    display: inline-block;
    padding: 8px 24px;
    background: #8b1310;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s;
}

.hyfc-martyr-link:hover {
    background: #6a0f0d;
    transform: scale(1.05);
}


/* 响应式设计 */


@media (max-width: 768px) {
    .hyfc-martyr-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 25px;
    }

    .hyfc-title {
        font-size: 2.2rem;
    }
}




/* ===== 英列事迹详情页内容区块 ===== */
.ylsjshow-section {
    margin-bottom: 45px;
}


.ylsjshow-section-content {
    font-size: 1.1rem;
    color: #444;
    line-height: 1.9;
}

.ylsjshow-section-content p {
    margin-bottom: 25px;
    text-indent: 2em;
}

/* ===== 返回按钮 ===== */
.ylsjshow-back-btn {
    display: inline-block;
    margin: 40px 0 30px;
    padding: 12px 35px;
    background: #8b1310;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 1.1rem;
}

.ylsjshow-back-btn:hover {
    background: #6a0f0d;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 19, 16, 0.2);
}

/* ===== 响应式设计 ===== */
@media (max-width: 768px) {
    .ylsjshow-title {
        font-size: 2.1rem;
    }

    .ylsjshow-section-title {
        font-size: 1.5rem;
    }

    .ylsjshow-section-content {
        font-size: 1.05rem;
    }
}

/* ===== 优抚维权文章列表页面 ===== */
/* 基础样式 */
.yfwq-article-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    padding: 20px;
    background: white;
}

/* 文章项卡片 */
.yfwq-article-item {
    border: 1px solid #eee;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.yfwq-article-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* 图片区域 */
.yfwq-article-image {
    height: 280px;
    overflow: hidden;
    position: relative;
}

.yfwq-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.yfwq-article-item:hover .yfwq-article-image img {
    transform: scale(1.05);
}

/* 内容区域 */
.yfwq-article-content {
    padding: 20px;
}

.yfwq-article-title {
    font-size: 1.4rem;
    color: #000;
    margin: 0 0 12px;
    line-height: 1.4;
}

.yfwq-article-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.yfwq-article-title a:hover {
    color: #8b1310;
}

.yfwq-article-summary {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 18px;
}

/* 信息栏 */
.yfwq-article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px dashed #eee;
    padding-top: 15px;
    font-size: 0.85rem;
}

.yfwq-article-date {
    color: #777;
}

.yfwq-article-more {
    color: #8b1310;
    text-decoration: none;
    font-weight: 600;
    position: relative;
    padding-right: 15px;
}

.yfwq-article-more::after {
    content: "→";
    position: absolute;
    right: 0;
    transition: transform 0.3s;
}

.yfwq-article-more:hover::after {
    transform: translateX(3px);
}

/* 分页导航 */
.yfwq-pagination {
    display: flex;
    justify-content: center;
    margin: 40px 0 30px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.yfwq-page-item {
    margin: 0 5px;
}

.yfwq-page-link {
    display: block;
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #555;
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
}

.yfwq-page-link:hover {
    background: rgba(139, 19, 16, 0.05);
    border-color: #8b1310;
    color: #8b1310;
}

.yfwq-page-link.active {
    background: #8b1310;
    color: white;
    border-color: #8b1310;
}

.yfwq-page-link.disabled {
    color: #bbb;
    pointer-events: none;
    cursor: not-allowed;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .yfwq-article-list {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 25px;
    }

    .yfwq-article-image {
        height: 180px;
    }

    .yfwq-pagination {
        flex-wrap: wrap;
    }

    .yfwq-page-item {
        margin: 5px;
    }
}
/* 超小屏手机单列显示 */
@media (max-width: 480px) {
  .yfwq-article-list {
    grid-template-columns: 1fr; /* 强制单列 */
    gap: 15px; /* 缩小间距 */
    padding: 10px; /* 减少内边距 */
  }
  .yfwq-article-image { height: 25vh; } /* 窄屏用视口单位 */
}
@media (max-width: 480px) {
  .yfwq-article-title { font-size: 1.2rem; } /* 标题缩小 */
  .yfwq-article-summary { font-size: 0.85rem; } /* 摘要缩小 */
}