/* Global Styles */
:root {
    --primary-color: #971e23;
    --secondary-color: #e5cb9d;
    --text-dark: #111111;
    --text-gray: #666666;
    --bg-light: #fcfcfc;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: '微软雅黑', 'Microsoft YaHei', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

a:hover {
    text-decoration: none;
}

ul {
    list-style: none;
}

.container {
    width: 1170px !important;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}

.news-content-section .container {
    width: 1200px !important;
    padding: 0px !important;
}

.header-container::before,
.header-container::after {
    display: none !important;
}

/* Header */
.site-header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 85px;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0;
    margin: 0 auto;
}

.logo-box a {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 71px;
    width: 73px;
    margin-right: 10px;
    object-fit: contain;
}

.logo-text {
    font-size: 22px;
    font-weight: bold;
    color: var(--primary-color);
}

.nav-list {
    display: flex;
    height: 100%;
    align-items: center;
}

.nav-list li {
    height: 100%;
}

/* 1. 基础链接样式，增加相对定位 */
.nav-list a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 100%;
    font-size: 17px;
    color: #666666;
    font-weight: bold;
    position: relative;
    /* 必须，用于下划线定位 */
    transition: color 0.3s ease;
}

/* 2. 创建下划线（初始状态：宽度为0，位于中间） */
.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -30px;
    /* 下划线距离底部的距离，可根据视觉调整 */
    left: 50%;
    /* 起始点在中间 */
    width: 0;
    /* 初始宽度为0 */
    height: 3px;
    /* 下划线粗细 */
    background-color: var(--primary-color);
    transform: translateX(-50%);
    /* 确保宽度增加时向两边等比展开 */
    transition: width 0.3s ease;
    /* 宽度变化的过渡动画 */
}

/* 3. 鼠标移上去及激活状态的效果 */
.nav-list a:hover::after {
    width: 80%;
    /* 展开后的宽度，您可以根据喜好设为 100% 或固定像素 */
}

.nav-list a.active::after {}

/* 4. 悬停及激活时的文字颜色 */
.nav-list a:hover,
.nav-list a.active {
    color: var(--primary-color);
}

/* Banner */
.banner-section {
    height: 500px;
    margin-top: 85px;
    position: relative;
}

.banner-swiper {
    height: 100%;
}

.swiper-slide {
    background-size: cover;
    background-position: center;
}

.swiper-pagination-bullet {
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.84);
    opacity: 1;
    transition: width 0.3s ease;
}

.swiper-pagination-bullet-active {
    width: 20px;
    border-radius: 2.5px;
    background: var(--white);
}

/* Banner Overlay Box */
.banner-overlay-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(151, 30, 35, 0.85);
    padding: 40px 60px;
    text-align: center;
    color: var(--white);
    z-index: 10;
    width: 600px;
    max-width: 90%;
    border-radius: 4px;
}

.banner-overlay-box h2 {
    font-size: 52px;
    font-weight: bold;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.banner-overlay-box p {
    font-size: 24px;
    margin-bottom: 35px;
    opacity: 0.9;
}

.banner-btn {
    display: inline-block;
    background: var(--white);
    color: var(--primary-color);
    padding: 12px 40px;
    border-radius: 50px;
    text-align: center;
    transition: all 0.3s ease;
    line-height: 1.2;
}

.banner-btn .btn-top {
    font-size: 20px;
    display: block;
    margin-bottom: 2px;
    font-weight: bold;
}

.banner-btn .btn-bottom {
    font-size: 20px;
    font-weight: bold;
    display: block;
}

.banner-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    color: var(--primary-color);
}

/* Section Common */
.section-padding {
    padding: 70px 0;
}

.section-title-box {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 146px;
    height: 3px;
    background: var(--primary-color);
}

.section-subtitle {
    font-size: 22px;
    color: var(--text-gray);
    margin-top: 25px;
}

/* Dispute Section */
.dispute-section {
    height: auto;
    background-size: cover;
    background-position: center;
    position: relative;
}

.dispute-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.5);
}

.dispute-section .container {
    position: relative;
    z-index: 1;
    width: 1200px !important;
    max-width: 100%;
    padding: 0;
}

.title-icon {
    color: var(--primary-color);
    font-size: 24px;
    margin: 0 10px;
    vertical-align: middle;
}

.dispute-grid {
    display: grid;
    grid-template-columns: repeat(3, 384px);
    justify-content: space-between;
    margin-top: 50px;
}

.dispute-item {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.dispute-item:hover {
    transform: translateY(-10px);
}

.dispute-img img {
    width: 100%;
    height: 220px;
    display: block;
    object-fit: cover;
}

.dispute-info {
    padding: 25px 15px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.item-title {
    font-size: 26px;
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.arrow-img {
    width: 24px;
    height: auto;
    margin: 0 15px;
}

.dispute-list {
    text-align: left;
    margin-bottom: 35px;
    padding: 0 5px;
    flex-grow: 1;
}

.dispute-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 18px;
    font-size: 16px;
    color: #333;
    line-height: 1.5;
    font-weight: 500;
}

.dispute-list li::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 18px;
}
.list-paddingleft-2 {
    text-align: left;
    margin-bottom: 35px;
    padding: 0 5px;
    flex-grow: 1;
}

.list-paddingleft-2 li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 18px;
    font-size: 16px;
    color: #333;
    line-height: 1.5;
    font-weight: 500;
}
.list-paddingleft-2 li p
{
	padding:0px;
	margin:0px;
}
.list-paddingleft-2 li::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 18px;
}

.dispute-btn {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 14px 0;
    width: 100%;
    border-radius: 50px;
    font-size: 19px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.dispute-btn:hover {
    background: #7a181c;
    color: var(--white);
    box-shadow: 0 5px 15px rgba(151, 30, 35, 0.3);
}

/* Form Strip */
.form-strip {
    height: 100px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.form-strip::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(229, 203, 157, 0.8);
}

.form-strip .container {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.form-strip h3 {
    font-size: 30px;
    color: #111;
    font-weight: normal;
}

.form-btn {
    background: var(--primary-color);
    color: var(--white);
    padding: 10px 30px;
    border-radius: 100px;
    font-size: 18px;
    font-weight: bold;
}
.form-btn:hover {
	color:var(--secondary-color);
}
/* Services Section */
.services-section {
    height: 708px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.93);
}

.services-section .container {
    position: relative;
    z-index: 1;
}

.services-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.service-card {
    flex: 1;
    text-align: center;
    cursor: pointer;
}

.service-flow-icon {
    width: 40px;
    height: 40px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: -40px;
    margin-left: -20px;
    margin-right: -20px;
    position: relative;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.service-flow-icon::after {
    content: '';
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 12px solid #333;
    margin-left: 4px;
}

.service-img-box {
    position: relative;
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-img-box img {
    width: 100%;
    display: block;
    transition: opacity 0.3s ease;
}

.service-img-box .hover-img {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}


/* PC端隐藏手机版背景图 - 提高权重 */
.justice-img-box .mobi-img {
    display: none;
}

.service-card:hover .main-img {
    opacity: 0;
}

.service-card:hover .hover-img {
    opacity: 1;
}

.service-card h3 {
    font-size: 20px;
    font-weight: bold;
    color: var(--text-dark);
}

/* Justice Section */
.justice-section {
    background: var(--bg-light);
}

.justice-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.justice-img-box {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.justice-img-box img {
    width: 100%;
    display: block;
    transition: opacity 0.3s ease;
}

.justice-img-box .hover-img {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.justice-item:hover .justice-img-box {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.justice-item:hover .main-img {
    opacity: 0;
}

.justice-item:hover .hover-img {
    opacity: 1;
}

/* Justice Section Card Text and Overlay */
.justice-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(151, 30, 35, 0.85);
    /* Red overlay */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.justice-item:hover .justice-overlay {
    opacity: 1;
    display: none;
}

.justice-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--white);
    margin-bottom: 15px;
}

.justice-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
}

.justice-tags span {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 13px;
}

.justice-btn-box {
    margin-top: 10px;
}

.justice-more {
    display: inline-block;
    border: 1px solid var(--white);
    padding: 8px 25px;
    border-radius: 25px;
    font-size: 14px;
    color: var(--white);
    transition: all 0.3s ease;
    text-decoration: none;
}

.justice-more:hover {
    background: var(--white);
    color: #971e23;
    text-decoration: none;
}

/* Advantages Section */
.advantages-section {
    background-size: cover;
    background-position: center;
    position: relative;
}

.advantages-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
}

.advantages-section .container {
    position: relative;
    z-index: 1;
}

.advantages-title::before,
.advantages-title::after {
    content: '◆';
    color: var(--primary-color);
    margin: 0 15px;
    font-size: 24px;
    vertical-align: middle;
    display: inline-block;
}

.advantages-title::after {
    position: static;
    width: auto;
    height: auto;
    background: none;
    transform: none;
}

.advantages-comparison {
    max-width: 1000px;
    margin: 0 auto;
    align-items: center;
}

.comparison-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    font-size: 22px;
    font-weight: bold;
}

.header-item {
    flex: 1;
    text-align: center;
}

.header-item.gold {
    color: var(--primary-color);
}

.header-vs {
    width: 80px;
    text-align: center;
    color: var(--secondary-color);
    font-style: italic;
    font-size: 28px;
}

.comparison-row {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
    gap: 0;
}

.comp-box {
    flex: 1;
    height: 75px;
    display: flex;
    align-items: center;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.comp-box.general {
    background: #e9d5b1;
    color: #333;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.comp-box.gold {
    background: var(--primary-color);
    color: var(--secondary-color);
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.comp-icon {
    width: 70px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: bold;
    flex-shrink: 0;
}

.comp-box.general .comp-icon {
    color: transparent;
    -webkit-text-stroke: 1.5px var(--primary-color);
}

.comp-box.gold .comp-icon {
    color: var(--secondary-color);
}

.comp-text {
    flex: 1;
    padding-left: 10px;
    font-size: 20px;
    font-weight: bold;
}

/* News Section */
.news-section {
    background: #f9f9f9;
    position: relative;
}

.news-swiper-container {
    position: relative;
    width: 100%;
    margin-top: 30px;
}

.news-swiper {
    padding-bottom: 20px;
}

.news-card {
    height: 300px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0;
    color: var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
    transition: background 0.4s ease;
}

.news-card:hover {
    background-color: var(--primary-color) !important;
    background-image: none !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    color: #fff;
}

.news-card:hover::before {
    display: none;
}

.news-card .news-overlay {
    position: relative;
    z-index: 2;
    padding: 30px 25px 40px;
    width: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.85) 100%);
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    transform: translateY(60px);
}

.news-card:hover .news-overlay {
    transform: translateY(0);
    background: transparent;
}

.news-card .news-date {
    font-size: 14px;
    opacity: 0.8;
    display: block;
    margin-bottom: 8px;
}

.news-card .news-title {
    font-size: 18px;
    font-weight: bold;
    line-height: 1.4;
    margin: 0 0 15px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card .news-desc {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0;
    height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
}

.news-card:hover .news-desc {
    opacity: 0.9;
    height: auto;
    margin-bottom: 20px;
}

.news-card .news-details-btn {
    display: inline-block;
    border: 1px solid var(--white);
    padding: 6px 25px;
    border-radius: 20px;
    font-size: 14px;
    width: fit-content;
    opacity: 0;
    transition: all 0.4s ease;
}

.news-card:hover .news-details-btn {
    opacity: 1;
}

.news-bg-icon {
    position: absolute;
    right: 15px;
    bottom: 15px;
    width: 60px;
    height: 60px;
    background: url('../images/newsbg.png') no-repeat center;
    background-size: contain;
    opacity: 0.2;
    z-index: 1;
}

.news-card:hover .news-bg-icon {
    opacity: 0.4;
}

/* Swiper Navigation */
.news-prev,
.news-next {
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    color: var(--white);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 10;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-prev::after,
.news-next::after {
    font-size: 18px !important;
}

.news-swiper-container:hover .news-prev,
.news-swiper-container:hover .news-next {
    opacity: 1;
    visibility: visible;
}

.news-prev:hover,
.news-next:hover {
    background: var(--primary-color);
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(151, 30, 35, 0.3);
}

.news-prev {
    left: 20px;
}

.news-next {
    right: 20px;
}

/* CTA Section */
.cta-section {
    height: 520px;
    background-size: cover;
    background-position: center;
    position: relative;
    text-align: center;
    color: var(--white);
    display: flex;
    align-items: center;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(151, 30, 35, 0.8);
}

.cta-content {
    position: relative;
    z-index: 1;
    width: 100%;
}

.cta-content h2 {
    font-size: 52px;
    font-weight: bold;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 24px;
    margin-bottom: 40px;
}

.cta-btn {
    display: inline-block;
    background: var(--white);
    color: var(--primary-color);
    padding: 15px 40px;
    border-radius: 100px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Footer */
.site-footer {
    background: #1a1a1a;
    color: #ccc;
    padding: 60px 0 110px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-logo {
    height: 50px;
    margin-bottom: 20px;
    /*filter: brightness(0) invert(1);*/
    border-radius: 8px
}

.footer-info p {
    line-height: 1.8;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 18px;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 15px;
}

.footer-contact i {
    margin-right: 10px;
    color: var(--primary-color);
}

.footer-qrcode {
    width: 100px;
    margin-top: 10px;
}

.footer-links-row {
    border-top: 1px solid #333;
    padding: 25px 0;
}

.friendly-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 14px;
    color: #999;
}

.friendly-links span {
    color: #ccc;
    font-weight: bold;
    margin-right: 5px;
}

.friendly-links a {
    color: #888;
}

.friendly-links a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
}

.footer-bottom a {
    color: #999;
}

/* Floating Bottom Banner */
.bottom-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 90px;
    background: url('../images/17066714865885.png') no-repeat center;
    background-size: cover;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    z-index: 999;
    display: flex;
    align-items: center;
}

.banner-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.banner-left .banner-slogan {
    font-size: 24px;
    font-weight: bold;
    color: var(--white);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.banner-center .banner-text {
    font-size: 20px;
    color: var(--white);
    letter-spacing: 2px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.banner-right {
    display: flex;
    gap: 15px;
    align-items: center;
}

.banner-btn-white {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 1px solid var(--white);
    padding: 5px 25px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.banner-btn-white .btn-label {
    font-size: 15px;
    color: var(--primary-color);
    font-weight: bold;
}

.banner-btn-white .btn-phone {
    font-size: 15px;
    font-weight: bold;
    color: var(--primary-color);
}

.banner-btn-white:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.banner-btn-white:hover .btn-label,
.banner-btn-white:hover .btn-phone {
    color: var(--white);
}

.banner-btn-gold {
    background: #e5cb9d;
    color: #971e23;
    padding: 10px 30px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #e5cb9d;
}

.banner-btn-gold:hover {
    background: #c5a059;
    border-color: #c5a059;
    color: #971e23;
    transform: translateY(-2px);
}

/* Floating Contact Bar */
.floating-contact {
    position: fixed;
    right: 20px;
    bottom: 100px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-item {
    width: 60px;
    height: 60px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: var(--text-dark);
    transition: all 0.3s ease;
    overflow: hidden;
}

.contact-item i {
    font-size: 20px;
    margin-bottom: 2px;
}

.contact-item span {
    font-size: 10px;
    white-space: nowrap;
}

.contact-item:hover {
    background: var(--primary-color);
    color: var(--white);
    width: 120px;
    border-radius: 30px;
}

.contact-item:hover i {
    margin-right: 5px;
}

#back-to-top {
    display: none;
}

/* Responsive */
@media (max-width: 992px) {
    .header-container {
        padding: 0;
    }

    .main-nav {
        width: 100%;
    }

    .nav-list {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 5px;
        width: 100%;
        padding: 10px 5px;
        height: auto;
    }

    .nav-list li {
        height: auto;
        display: block;
    }

    .nav-list li:first-child {
        display: block;
    }

    .nav-list a {
        width: 100%;
        height: 42px;
        font-size: 14px;
        border: 1px solid #ccc;
        border-radius: 8px;
        background: #fff;
        color: #333;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: normal;
        padding: 0 5px;
        white-space: nowrap;
    }

    .nav-list a.active {
        background: var(--primary-color);
        color: #fff;
        border-color: var(--primary-color);
    }

    .nav-list a:hover,
    {
        color: inherit;
    }

   

    .dispute-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .service-flow-icon {
        display: none;
    }

    .justice-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* 弹窗遮罩层 */
.modal-overlay {
    display: none;
    /* 默认隐藏 */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

/* 弹窗主体 */
.modal-content {
    background: #fff;
    width: 540px;
    max-width: 95%;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 关闭按钮 */
.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 32px;
    color: #fff;
    cursor: pointer;
    z-index: 10;
    line-height: 1;
}

/* 弹窗头部 */
.modal-header {
    height: 200px;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #333;
    text-align: center;
}

.modal-header h2 {
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.modal-header p {
    font-size: 28px;
    letter-spacing: 8px;
    margin: 0;
}

/* 弹窗表单内容区 */
.modal-body {
    padding: 40px 50px;
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    font-size: 16px;
    font-weight: bold;
    color: #555;
    margin-bottom: 12px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 15px;
    outline: none;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #971e23;
    box-shadow: 0 0 5px rgba(151, 30, 35, 0.1);
}

.form-group textarea {
    height: 120px;
    resize: none;
}

/* 提交按钮 */
.submit-btn {
    width: 200px;
    height: 50px;
    background: #971e23;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    display: block;
    margin: 20px auto 0;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: #7a181c;
}

/* 验证码组布局 */
.captcha-group {
    display: flex;
    gap: 15px;
    /* 输入框和图片之间的间距 */
    align-items: center;
}

.captcha-group input {
    flex: 1;
    /* 输入框占据剩余空间 */
}

.captcha-img {
    width: 120px;
    height: 45px;
    /* 高度与输入框保持一致 */
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    flex-shrink: 0;
    /* 防止图片被压缩 */
}

.captcha-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 确保占位图铺满容器 */
}

@media (max-width: 768px) {
    .site-header {
        position: absolute;
        height: auto;
        padding: 10px 0;
    }

    .section-padding {
        padding: 40px 0;
    }

    .header-container {
        flex-direction: column;
        padding: 0;
    }

    .logo-img {
        height: 50px;
        width: 50px;
    }

    .banner-section {
        height: 250px;
        margin-top: 180px;
    }

    .banner-overlay-box {
        padding: 15px 10px;
        width: 80%;
    }

    .banner-overlay-box h2 {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .banner-overlay-box p {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .dispute-btn {
        width: 80%;
        font-size: 16px;
        margin: 0 auto;
        display: block;
        padding: 10px 0;
    }

    .banner-btn {
        padding: 8px 25px;
    }

    .banner-btn .btn-top {
        font-size: 14px;
    }

    .form-strip {
        padding: 5px 0;
    }

    .form-strip h3 {
        font-size: 18px;
        font-weight: 600;
    }

    .form-btn {
        font-size: 16px;
        margin: 0 auto;
    }

    .banner-btn .btn-bottom {
        font-size: 18px;
    }

    .dispute-section {
        height: auto;
    }

    .section-title {
        font-size: 24px;
    }

    .section-subtitle {
        font-size: 16px;
        margin-top: 15px;
    }

    .item-title {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .title-icon {
        font-size: 18px;
    }

    .dispute-grid {
        grid-template-columns: 1fr;
    }

    .form-strip {
        height: auto;
        padding: 20px 0;
    }

    .form-strip .container {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }

    .section-title-box {
        margin-bottom: 20px;
    }

    .services-section {
        height: auto;
    }

    .reviews-section {
        padding: 30px 0 !important;
    }

    .services-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .service-card h3 {
        font-size: 16px;
    }

    /* Justice Section Mobile */
    .justice-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .justice-section .container {
        padding: 0 10px;
    }

    .justice-item .justice-overlay {
        opacity: 1;
        background: rgba(151, 30, 35, 0.75);
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        text-align: left;
        padding: 15px 25px;
    }

    .justice-item:hover .justice-overlay {
        display: flex;
    }

    .justice-item .main-img {
        opacity: 1 !important;
    }

    .justice-item .hover-img {
        display: none;
    }

    /* 手机端显示 mobi-img，隐藏 PC 端的 main-img 和 hover-img */
    .justice-item .mobi-img {
        display: block;
    }

    .justice-item .main-img,
    .justice-item .hover-img {
        display: none !important;
    }

    .justice-img-box {
        aspect-ratio: 345 / 220;
    }

    .justice-title {
        font-size: 17px;
        font-weight: bold;
        color: #fff;
        margin-bottom: 25px;
    }

    .justice-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 15px 30px;
        justify-content: flex-start;
        margin-bottom: 20px;
    }

    .justice-tags span {
        background: none;
        color: #fff;
        padding: 0;
        font-size: 15px;
        border-radius: 0;
    }

    .justice-btn-box {
        width: 100%;
        text-align: center;
        margin-top: 0px;
    }

    .justice-more {
        background: #fff;
        color: #971e23;
        border: none;
        padding: 8px 35px;
        font-size: 17px;
        font-weight: bold;
        border-radius: 50px;
        display: inline-block;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    /* News Section Mobile List Style */
    .news-swiper-container {
        margin-top: 5px;
        padding: 0 15px;
    }

    .news-swiper .swiper-wrapper {
        flex-direction: column !important;
        height: auto !important;
        transform: none !important;
    }

    .news-swiper .swiper-slide {
        width: 100% !important;
        height: auto !important;
        margin-bottom: 0 !important;
    }

    .news-swiper .swiper-slide:nth-child(n+5) {
        display: none !important;
    }

    .news-card {
        height: auto !important;
        min-height: 100px;
        background-color: #fff !important;
        background-size: 110px 75px !important;
        background-position: 0px center !important;
        background-repeat: no-repeat !important;
        display: flex !important;
        align-items: center;
        padding: 15px 0 15px 125px !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        border-bottom: 1px solid #eee;
        color: #333 !important;
        position: relative;
    }

    .news-card::before {
        display: none !important;
    }

    /* Image Border Effect */
    .news-card::after {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 110px;
        height: 75px;
        border: 1px solid #eee;
        pointer-events: none;
        z-index: 1;
    }

    .news-card .news-overlay {
        transform: none !important;
        padding: 0 !important;
        background: transparent !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        text-align: left !important;
        position: static !important;
    }

    .news-card .news-title {
        color: #333 !important;
        font-size: 14px !important;
        margin-bottom: 8px !important;
        line-height: 1.4 !important;
        font-weight: normal !important;
        display: -webkit-box !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        order: 1;
    }

    .news-card .news-date {
        color: #999 !important;
        font-size: 13px !important;
        margin-bottom: 0 !important;
        opacity: 1 !important;
        display: block !important;
        order: 2;
    }

    .news-card .news-desc,
    .news-card .news-details-btn,
    .news-card .news-bg-icon {
        display: none !important;
    }

    /* Disable Hover Effects on Mobile */
    .news-card:hover {
        background-color: #fff !important;
        transform: none !important;
        box-shadow: none !important;
    }

    .news-card:hover .news-overlay {
        transform: none !important;
        background: transparent !important;
    }

    .news-card:hover .news-title {
        color: #333 !important;
    }

    /* Hide Swiper Arrows on Mobile */
    .news-prev,
    .news-next {
        display: none !important;
    }

    .cta-content h2 {
        font-size: 32px;
    }

    .cta-content p {
        font-size: 18px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .site-footer {
        padding-bottom: 80px;
    }

    .floating-contact {
        right: 10px;
        bottom: 50px;
    }

    .contact-item {
        width: 50px;
        height: 50px;
    }

    .comparison-header {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .header-vs {
        width: 40px;
        font-size: 18px;
    }

    .comparison-row {
        flex-direction: row;
        gap: 0;
        margin-bottom: 10px;
    }

    .comp-box {
        flex: 1;
        height: 60px;
    }

    .comp-box.general {
        border-top-left-radius: 8px !important;
        border-bottom-left-radius: 8px !important;
        border-top-right-radius: 0 !important;
        border-bottom-right-radius: 0 !important;
    }

    .comp-box.gold {
        border-top-right-radius: 8px !important;
        border-bottom-right-radius: 8px !important;
        border-top-left-radius: 0 !important;
        border-bottom-left-radius: 0 !important;
    }

    .comp-icon {
        width: 40px;
        font-size: 24px;
    }

    .comp-text {
        font-size: 14px;
        padding-left: 0px;
        padding-right: 10px;
    }

    .comp-box.general .comp-icon {
        font-size: 30px;
    }

    /* Bottom Banner Responsive */
    .bottom-banner {
        height: 60px;
    }

    .banner-left,
    .banner-center {
        display: none;
    }

    .banner-container {
        justify-content: center;
    }

    .banner-right {
        width: 100%;
        justify-content: space-around;
        gap: 10px;
    }

    .banner-btn-white,
    .banner-btn-gold {
        flex: 1;
        padding: 8px 10px;
        font-size: 14px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .banner-btn-white .btn-label {
        font-size: 14px;
    }

    .banner-btn-white .btn-phone {
        display: none;
    }

    .banner-btn-gold {
        font-size: 14px;
    }

    .footer-info,
    .footer-links,
    .footer-contact img {
        display: none;
    }
}

/* Good Reviews Section */
.reviews-section {
    padding: 80px 0;
    background-size: cover;
    background-position: center;
    position: relative;
}

.reviews-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 100px;
}

.rating-box {
    flex: 0 0 487px;
    border: 1px dashed var(--primary-color);
    padding: 10px;
    border-radius: 6px;
    position: relative;
}

.rating-content {
    background-color: rgba(151, 30, 35, 0.8);

    box-shadow: 0px 0px 10px 1px transparent;
    padding: 40px 40px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    height: 100%;
}

.rating-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.rating-text {
    text-align: left;
}

.rating-num-row {
    display: flex;
    align-items: baseline;
    line-height: 1;
    margin-bottom: 5px;
}

.rating-num-row .num {
    font-size: 32px;
    font-weight: bold;
}

.rating-num-row .unit {
    font-size: 14px;
    margin-left: 5px;
}

.rating-text .label {
    font-size: 14px;
    margin: 0;
    opacity: 0.9;
    font-weight: normal;
}

.rating-icon {
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 24px;
}

.rating-divider {
    width: 1px;
    height: 80px;
    background: rgba(255, 255, 255, 0.3);
    margin: 0 30px;
}

.scrolling-box {
    flex: 1;
    background-color: rgba(151, 30, 35, 0.8);

    box-shadow: 0px 0px 10px 1px transparent;
    border-radius: 6px;
    padding: 30px 30px;
    overflow: hidden;
    height: 320px;
    position: relative;
}

.scrolling-box::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px solid #fff;
    border-radius: 8px;
    pointer-events: none;
    z-index: 5;
}

.scroll-container {
    height: 100%;
    overflow: hidden;
}

.scroll-list {
    padding: 0;
    margin: 0;
    animation: scroll-up 30s linear infinite;
}

.scroll-list li {
    color: #fff;
    font-size: 14px;
    line-height: 2.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    list-style: none;
}

.scroll-list:hover {
    animation-play-state: paused;
}

@keyframes scroll-up {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-50%);
    }
}

/* Responsive for Reviews */
@media (max-width: 1200px) {
    .reviews-wrapper {
        gap: 100px;
    }

    .rating-box {
        flex: 0 0 400px;
    }
}

@media (max-width: 992px) {
    .reviews-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .rating-box {
        flex: 0 0 auto;
        width: 100%;
        max-width: 500px;
    }

    .scrolling-box {
        width: 100%;
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .reviews-wrapper {
        flex-direction: column;
        gap: 20px;
    }

    .rating-box {
        flex: none;
        width: 100%;
        padding: 8px;
    }

    .rating-content {
        padding: 25px 10px;
    }

    .rating-num-row .num {
        font-size: 32px;
    }

    .rating-divider {
        margin: 0 15px;
        height: 50px;
    }

    .scrolling-box {
        width: 100%;
        height: 220px !important;
        flex: none !important;
        overflow: hidden;
        padding: 15px 20px;
    }

    .scrolling-box::after {
        top: 8px;
        left: 8px;
        right: 8px;
        bottom: 8px;
    }

    .rating-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}

/* News List Page */
.news-list-container {
    max-width: 1200px;
    margin: 0 auto;
}

.news-list-item {
    display: flex;
    padding: 30px 0;
    border-bottom: 1px solid #eee;
    gap: 30px;
}

.news-list-item:last-child {
    border-bottom: none;
}

.news-list-img {
    flex: 0 0 240px;
    height: 160px;
    overflow: hidden;
    border-radius: 4px;
}

.news-list-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-list-item:hover .news-list-img img {
    transform: scale(1.05);
}

.news-list-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-list-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 12px;
}

.news-list-title a {
    color: #971e23;
}

.news-list-title a:hover {
    color: #7a181c;
}

.news-list-desc {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-list-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 13px;
    color: #999;
}

.news-list-meta .meta-item i {
    margin-right: 5px;
}

@media (max-width: 768px) {
    .news-list-item {
        flex-direction: column;
        gap: 15px;
        padding: 20px 0;
    }

    .news-list-img {
        flex: 0 0 auto;
        width: 100%;
        height: 200px;
    }

    .news-list-title {
        font-size: 18px;
    }
}

/* Pagination */
/* Pagination */
.pagination-container {
    margin-top: 50px;
    display: flex;
    justify-content: center;
}

.pagination {
    display: flex;
    gap: 10px;
    padding: 0;
}

/* 这里的选择器去掉了 li */
.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #666;
    font-size: 15px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.pagination a:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: #fff5f5;
}

/* 激活状态样式 */
.pagination .active,.pagination .page-num-current {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

/* 禁用状态样式 */
.pagination .disabled {
    color: #ccc;
    cursor: not-allowed;
    background: #f9f9f9;
}

/* 响应式部分同步修改 */
@media (max-width: 768px) {
    .pagination-container {
        margin-top: 30px;
    }

    .pagination {
        gap: 5px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .pagination a,
    .pagination span {
        min-width: 32px;
        height: 32px;
        padding: 0 8px;
        font-size: 13px;
    }

    /* 移动端隐藏部分页码 */
    @media (max-width: 480px) {
        .pagination > *:nth-child(4),
        .pagination > *:nth-child(5),
        .pagination > *:nth-child(6) {
            display: none;
        }
    }
}

/* News Content Page */
.news-content-row {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.article-main {
    flex: 1;
    background: #fff;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
}

.article-header {
    text-align: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 30px;
    margin-bottom: 30px;
}

.article-title {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.4;
}

.article-meta {
    font-size: 14px;
    color: #999;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.article-body {
    font-size: 16px;
    color: #444;
    line-height: 1.8;
}

.article-body p {
    margin-bottom: 20px;
    text-indent: 2em;
}

.article-body h3 {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin: 30px 0 15px;
    padding-left: 15px;
    border-left: 4px solid var(--primary-color);
}

.article-body h4 {
    font-size: 18px;
    font-weight: bold;
    color: #555;
    margin: 25px 0 10px;
}

.article-body ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.article-body ul li {
    list-style: disc;
    margin-bottom: 10px;
}

.article-body strong {
    color: #333;
}

.article-footer {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.prev-next {
    margin-bottom: 30px;
}

.prev-next p {
    margin-bottom: 10px;
    font-size: 15px;
    color: #666;
}

.prev-next a {
    color: #333;
}

.prev-next a:hover {
    color: var(--primary-color);
}

.article-share {
    display: flex;
    align-items: left;
    gap: 15px;
    font-size: 14px;
    color: #666;
    justify-content: flex-end;
}

* 微信分享按钮定位 */ .share-wechat {
    position: relative;
}

/* 微信二维码弹窗 */
.wechat-qrcode {
    position: absolute;
    bottom: 45px;
    /* 弹出在图标上方 */
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 10px;
    border-radius: 4px;
    display: none;
    /* 默认隐藏 */
    z-index: 100;
    text-align: center;
}

/* 弹窗小箭头 */
.wechat-qrcode::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 10px 10px 0;
    border-style: solid;
    border-color: #fff transparent transparent;
}

.wechat-qrcode img {
    width: 120px;
    height: 120px;
    margin-bottom: 5px;
    display: block;
}

/* 修正后的分享样式 */

/* 1. 确保分享按钮容器允许溢出显示二维码 */
.article-share a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    transition: all 0.3s ease;
    position: relative;
    /* 必须设置定位 */
    overflow: visible !important;
    /* 必须确保不裁剪子元素 */
}

/* 2. 微信分享按钮定位（修正了之前的注释错误） */
.share-wechat {
    position: relative;
}

/* 3. 微信二维码弹窗 */
.wechat-qrcode {
    position: absolute;
    bottom: 45px;
    /* 弹出在图标上方 */
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    padding: 10px;
    border-radius: 4px;
    display: none;
    /* 默认隐藏 */
    z-index: 999;
    text-align: center;
    pointer-events: none;
    /* 防止鼠标误触弹窗导致闪烁 */
}

/* 弹窗小箭头 */
.wechat-qrcode::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 10px 10px 0;
    border-style: solid;
    border-color: #fff transparent transparent;
}

.wechat-qrcode img {
    width: 120px;
    height: 120px;
    margin-bottom: 5px;
    display: block;
}

.wechat-qrcode p {
    font-size: 12px;
    color: #666;
    margin: 0 !important;
    text-indent: 0 !important;
    /* 强制取消缩进 */
    line-height: 1.4;
}

/* 4. 鼠标移入微信图标显示二维码 */
.share-wechat:hover .wechat-qrcode {
    display: block;
}

/* 分享图标悬停颜色（可选） */
.article-share a:hover .fa-wechat {
    color: #07c160;
}

.article-share a:hover .fa-star {
    color: #ffce3d;
}

.article-share a:hover .fa-qq {
    color: #12b7f5;
}

.article-share a:hover .fa-weibo {
    color: #e6162d;
}

.article-share a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    transition: all 0.3s ease;
}

.article-share a:hover {
    background: var(--primary-color);
    color: #fff;
}

/* Sidebar */
.article-sidebar {
    flex: 0 0 260px;
}

.sidebar-box {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.qr-box {
    text-align: center;
}

.qr-box img {
    width: 150px;
    height: 150px;
    margin-bottom: 15px;
}

.qr-box p {
    font-size: 14px;
    color: #666;
}

.sidebar-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f5f5f5;
    position: relative;
}

.sidebar-title::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-color);
}

.related-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.related-item {
    display: block;
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    height: 140px;
}

.related-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.related-item p {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px 15px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
    color: #fff;
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
    z-index: 2;
    transition: all 0.3s ease;
}

.article-meta {
    display: flex !important;
    flex-direction: row !important;
    /* 强制横向 */
    justify-content: center !important;
    align-items: center !important;
    gap: 15px !important;
}

.article-meta span {
    display: inline-block !important;
    /* 确保 span 不会独占一行 */
    width: auto !important;
    /* 确保宽度不被撑满 */
    margin-bottom: 0 !important;
    /* 去掉可能的底部间距 */
}

.related-item:hover img {
    transform: scale(1.1);
}

.related-item:hover p {
    padding-bottom: 15px;
    background: linear-gradient(to top, rgba(151, 30, 35, 0.9) 0%, rgba(151, 30, 35, 0) 100%);
}

@media (max-width: 992px) {
    .news-content-row {
        flex-direction: column;
    }

    .article-sidebar {
        width: 100%;
        flex: none;
    }
}

@media (max-width: 768px) {
    .article-main {
        padding: 20px;
    }

    .article-title {
        font-size: 22px;
    }

    .article-meta {
        flex-direction: column;
        gap: 10px;
    }
}