:root {
    --primary-color: #195CCD;
    --primary-light: #1a66cc;
    --bg-color: #EEF9FF;
    --text-main: #333;
    --text-light: #666;
    --container-width: 1280px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
}

a {
    text-decoration: none;
    color: inherit;
}

li {
    list-style: none;
}

.container {
    width: var(--container-width);
    margin: 0 auto;
    max-width: 100%;
    padding: 0 10px;
    position: relative;
}

/* --- Header & Nav --- */
header {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
    background: linear-gradient(to bottom, var(--primary-color), transparent);
    transition: all 0.3s ease;
}

header.sticky {
    position: fixed;
    background: var(--primary-color);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    color: #fff;
}

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

.logo img {
    height: 60px;
}

.logo-text {
    margin-left: 12px;
    padding-left: 12px;
    border-left: 1px solid rgba(255, 255, 255, 0.75);
    font-size: 22px;
    line-height: 1;
    color: #fff;
}

.header-actions {
    display: none;
    align-items: center;
    gap: 5px;
}

.icon-btn {
    width: 30px;
    height: 30px;
    /* border: 1px solid rgba(255, 255, 255, 0.5); */
    border: none;
    border-radius: 8px;
    /* background: rgba(255, 255, 255, 0.08); */
    background: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.25s ease, border-color 0.25s ease;
}

.icon-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.8);
}

.search-icon {
    width: 16px;
    height: 16px;
    display: block;
    background-image: url('fwzx-2026-icon-search.svg');
    background-size: contain;
    background-repeat: no-repeat;
}

.nav-toggle {
    flex-direction: column;
    gap: 4px;
}

.nav-toggle .bar {
    width: 16px;
    height: 2px;
    background: #fff;
    border-radius: 4px;
    transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-open .nav-toggle .bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.nav-open .nav-toggle .bar:nth-child(2) {
    opacity: 0;
}

.nav-open .nav-toggle .bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* 根据实际切图比例可微调 */
.search-box {
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    padding: 5px 15px;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    position: relative;
}

.search-box form {
    display: flex;
    align-items: center;
    width: 100%;
}

.search-box button {
    border: none;
    background: transparent;
    padding: 0;
    margin-left: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.search-box button img {
    width: 14px;
    height: 14px;
    opacity: 0.8;
}

.search-box input {
    background: transparent;
    border: none;
    color: #fff;
    outline: none;
    width: 120px;
}

.search-box input::placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
}

nav ul {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: 20px;
}

nav a {
    color: #fff;
    font-size: 16px;
    position: relative;
    padding-bottom: 8px;
    transition: 0.3s;
}

nav a:hover::after,
nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 70%;
    height: 4px;
    background: #fff;
    border-radius: 5px;
    transform: translateX(-50%);
}

/* --- Hero Banner --- */
.hero {
    position: relative;
    height: 500px;
}

.hero .swiper {
    width: 100%;
    height: 100%;
}

.hero .swiper-slide {
    background-size: cover;
    background-position: center;
}

.hero-swiper .swiper-pagination {
    bottom: 24px !important;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    z-index: 5;
}

.hero-swiper .swiper-pagination-bullet {
    width: 24px;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.4);
    opacity: 1;
    position: relative;
    overflow: hidden;
    transition: width 0.35s ease, background-color 0.35s ease;
}

.hero-swiper .swiper-pagination-bullet::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 1));
    transform: scaleX(0);
    transform-origin: left center;
}

.hero-swiper .swiper-pagination-bullet-active {
    width: 64px;
    background: rgba(255, 255, 255, 0.22);
}

.hero-swiper .swiper-pagination-bullet-active::before {
    animation: heroBulletProgress 4s linear forwards;
}

@keyframes heroBulletProgress {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

/* --- Section Titles --- */
.section-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    color: rgba(0,0,0,0.88);
    border-left: 6px solid var(--primary-color);
    padding-left: 10px;
    margin: 50px 0 30px;
    display: flex;
    justify-content: space-between;
    line-height: 1;
}

.section-title .more {
    font-size: 14px;
    color: var(--text-light);
    font-weight: normal;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
    position: relative;
    padding-right: 20px;
}

.section-title .more::after {
    content: '';
    width: 20px;
    height: 20px;
    background-image: url('fwzx-2026-icon-more.svg');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.6;
    position: absolute;
    right: 0;
    transition: 0.3s;
}

.section-title .more:hover {
    color: var(--primary-color);
}

.section-title .more:hover::after {
    opacity: 1;
    transform: translateX(3px);
}

/* Native reveal animations (replacing GSAP) */
.gs-reveal,
.gs-reveal-left,
.gs-reveal-right,
.gs-reveal-stagger-item {
    opacity: 0;
    will-change: transform, opacity;
}

.gs-reveal {
    transform: translateY(10px);
}

.gs-reveal-left {
    transform: translateX(-50px);
}

.gs-reveal-right {
    transform: translateX(50px);
}

.gs-reveal-stagger-item {
    transform: translateY(30px);
}

.gs-reveal.is-visible,
.gs-reveal-left.is-visible,
.gs-reveal-right.is-visible,
.gs-reveal-stagger-item.is-visible {
    opacity: 1;
    transform: translate(0, 0);
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.gs-reveal-stagger-item.is-visible {
    transition-duration: 0.6s;
    transition-delay: var(--reveal-delay, 0.5s);
}

@media (prefers-reduced-motion: reduce) {

    .gs-reveal,
    .gs-reveal-left,
    .gs-reveal-right,
    .gs-reveal-stagger-item {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* --- Services Grid --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}

.service-item {
    background: #fff;
    padding: 20px 10px;
    border-radius: 8px;
    text-align: left;
    transition: transform 0.3s, box-shadow 0.3s;
    /* cursor: pointer; */
    position: relative;
    overflow: hidden;
    height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.service-item h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--primary-color);
    position: relative;
    z-index: 2;
}

.service-body {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.service-item p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 5px;
    position: relative;
    z-index: 1;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

/* 服务项图标 */
.service-item p.icon-tel::before {
    content: '';
    width: 14px;
    height: 14px;
    background-image: url('fwzx-2026-icon-tel.svg');
    background-size: contain;
    background-repeat: no-repeat;
}

.service-item p.icon-tel a {
    color: inherit;
}

.service-item p.icon-tel a:hover {
    color: var(--primary-color);
}

.service-item p.icon-mail::before {
    content: '';
    width: 14px;
    height: 14px;
    background-image: url('fwzx-2026-icon-mail.svg');
    background-size: contain;
    background-repeat: no-repeat;
}

.service-item p.icon-item::before {
    content: '';
    width: 14px;
    height: 14px;
    background-image: url('fwzx-2026-icon-item.svg');
    background-size: contain;
    background-repeat: no-repeat;
}

.service-body.with-qr {
    display: grid;
    grid-template-columns: 1fr 52px;
    grid-template-rows: auto auto;
    column-gap: 8px;
    row-gap: 6px;
    align-items: center;
}

.service-body.with-qr .icon-tel {
    grid-column: 1;
    grid-row: 1;
}

.service-body.with-qr .icon-item {
    grid-column: 1;
    grid-row: 2;
}

.service-body.with-qr .order-qr {
    grid-column: 2;
    grid-row: 1 / span 2;
    width: 52px;
    height: 52px;
    border: 1px solid #d8e7f7;
    border-radius: 2px;
    justify-self: end;
    object-fit: cover;
    background: #fff;
    transform-origin: right bottom;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: zoom-in;
    position: relative;
    z-index: 10;
}

.service-body.with-qr .order-qr:hover,
.service-body.with-qr .order-qr.is-enlarged {
    transform: scale(2);
    box-shadow: 0 10px 22px rgba(8, 71, 153, 0.2);
}

.service-body.with-qr .order-qr.is-enlarged {
    cursor: zoom-out;
}

.service-link {
    margin-left: 2px;
    color: #0b56b8;
    font-size: 12px;
    white-space: nowrap;
}

.service-link::after {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-left: 2px;
    background-image: url('fwzx-2026-icon-link.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.85;
    vertical-align: middle;
}

.service-link:hover {
    color: var(--primary-color);
}

/* 使用伪元素添加背景图片 */
.service-item::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    transition: 0.3s;
    opacity: 0.7;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right bottom;
}

.service-item:hover::after {
    filter: drop-shadow(2px 10px 5px blue);
    transform: scale(1.1) translateX(-5px) translateY(-5px);
}

/* 为每个服务项定义对应的背景图片 */
.service-1::after {
    background-image: url('fwzx-2026-service-监督服务总线.svg');
}

.service-2::after {
    background-image: url('fwzx-2026-service-房管服务.svg');
}

.service-3::after {
    background-image: url('fwzx-2026-service-餐饮服务.svg');
}

.service-4::after {
    background-image: url('fwzx-2026-service-物业服务.svg');
}

.service-5::after {
    background-image: url('fwzx-2026-service-绿化服务.svg');
}

.service-6::after {
    background-image: url('fwzx-2026-service-环卫服务.svg');
}

.service-7::after {
    background-image: url('fwzx-2026-service-维修服务.svg');
}

.service-8::after {
    background-image: url('fwzx-2026-service-供水服务.svg');
}

.service-9::after {
    background-image: url('fwzx-2026-service-供电服务.svg');
}

.service-10::after {
    background-image: url('fwzx-2026-service-车辆服务.svg');
}

.service-11::after {
    background-image: url('fwzx-2026-service-居委会.svg');
}

.service-12::after {
    background-image: url('fwzx-2026-service-安防服务.svg');
}

.small-icon {
    width: 14px;
    height: 14px;
    object-fit: contain;
}

/* --- News Section --- */
.news-wrapper {
    display: flex;
    gap: 20px;
    align-items: stretch;
}

.news-left {
    --news-cover-h: 400px;
    flex: 1;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    cursor: pointer;
}

.news-left a img {
    width: 100%;
    height: var(--news-cover-h);
    object-fit: cover;
    transition: transform 0.5s;
}

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

.news-left-info {
    position: relative;
    background: #fff;
    color: #222;
    padding: 40px 24px 24px;
}

.news-switcher {
    position: absolute;
    right: 24px;
    top: 2px;
    display: flex;
    gap: 8px;
}

.news-switch-btn {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid #0b56b8;
    background: #fff;
    color: #0b56b8;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s ease;
}

.news-switch-btn.is-active,
.news-switch-btn:hover {
    background: #0b56b8;
    color: #fff;
}

.news-left-info h3 {
    font-size: 20px;
    line-height: 1.35;
    color: #0d3875;
    width: 100%;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.news-left-info p {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    margin-top: 12px;
    font-size: 13px;
    line-height: 1.8;
    color: #666;
}

.news-left-date {
    position: absolute;
    left: 24px;
    top: calc(var(--news-cover-h) - 44px);
    background: var(--primary-color);
    color: #fff;
    padding: 10px 14px;
    text-align: center;
    border-radius: 0;
    font-weight: bold;
    z-index: 3;
}

.news-left-date span {
    display: block;
    font-size: 24px;
}

.news-right {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-right-top {
    display: flex;
    gap: 15px;
}

.news-small-card {
    flex: 1;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: 0.3s;
}

.news-small-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.news-small-card img {
    width: 100%;
    height: 210px;
    object-fit: cover;
}

.news-small-card h4 {
    padding: 14px 14px 6px;
    font-size: 13px;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.small-date {
    display: flex;
    align-items: center;
    gap: 6px;
    padding-left: 14px;
    margin: 0 14px 14px;
    font-size: 14px;
    color: #999;
    background: url(fwzx-2026-icon-time.svg) no-repeat left center / auto 60%;
}

.news-list {
    background: #fff;
    border-radius: 8px;
    padding: 12px 14px;
    flex: 1;
}

.news-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #e9edf1;
    cursor: pointer;
    transition: 0.3s;
}

.news-list li:last-child a {
    border-bottom: none;
}

.news-list li a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.list-text-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
}

/* .list-text-wrap::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #0b56b8;
    flex-shrink: 0;
} */

.list-text-wrap h4{
    font-size: 13px;
    padding-left: 14px;
    background: url('fwzx-2026-icon-dot.svg') no-repeat left center / auto 8px;
}

.news-item-date,
.party-card .icon-time {
    flex-shrink: 0;
    padding-left: 14px;
    background: url('fwzx-2026-icon-time.svg') no-repeat left center / auto 60%;
    font-size: 13px;
    color: #999;
}


/* --- Party Building Section --- */
.party-section {
    position: relative;
}

.party-section::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background: url('fwzx-2026-group-list-bg.png') no-repeat center top;
    background-size: cover;
    opacity: 0.6;
    z-index: 0;
    pointer-events: none;
}

.party-swiper {
    padding-bottom: 40px !important;
}

.party-card {
    display: block;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: 0.3s;
}

.party-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.party-card>img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.party-card-info {
    padding: 15px;
}

.party-card h4 {
    font-size: 15px;
    margin-bottom: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.party-card p {
    font-size: 12px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* --- Footer --- */
footer {
    background: var(--primary-color) url('fwzx-2026-bottom-bg.png') no-repeat center bottom;
    background-size: 100% auto;
    color: #fff;
    padding: 40px 0 20px;
    margin-top: 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.footer-contact h4 {
    width: 60%;
    min-width: 300px;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.1)) no-repeat left bottom / 100% 1px;
    font-size: 18px;
    margin-bottom: 15px;
    padding-bottom: 8px;
}

.footer-contact h4 span{
    position: relative;
    padding-bottom: 8px;
}

.footer-contact h4 span::after{
    content: '';
    width: 100%;
    height: 1px;
    background: #fff;
    position: absolute;
    left: 0;
    bottom: 0;
}

.footer-contact a {
    margin-bottom: 10px;
    font-size: 14px;
    opacity: 0.8;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-contact a.icon-arrow::before {
    content: '';
    width: 12px;
    height: 12px;
    background-image: url('fwzx-2026-icon-list-style.svg');
    background-size: contain;
    background-repeat: no-repeat;
    filter: brightness(0) invert(1);
    flex-shrink: 0;
}

/* 借用箭头图标做列表点 */
.footer-contact a:hover {
    opacity: 1;
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    font-size: 12px;
    opacity: 0.6;
}

/* --- List Page --- */
.list-page {
    color: var(--text-main);
    background: #fff;
}

.list-page header,
.detail-page header {
    position: sticky;
    top: 0;
    left: 0;
    background: var(--primary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.list-page .nav-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.banner-inner {
    height: 320px;
}

.banner-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.breadcrumb {
    padding: 20px 0;
    color: #999;
    font-size: 14px;
}

.breadcrumb a {
    color: #999;
}

.breadcrumb span {
    margin: 0 8px;
}

.list-page .main-content {
    display: flex;
    gap: 30px;
    padding-bottom: 50px;
}

.list-page .sidebar {
    margin-top: -40px;
    width: 280px;
    flex-shrink: 0;
}

.list-page .side-menu {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.list-page .side-menu-title {
    /* background: var(--primary-color) url('fwzx-2026-group-list-bg.svg') no-repeat center; */
    background: linear-gradient(to right, #4a8dff, var(--primary-light));
    background-size: cover;
    color: #fff;
    padding: 25px 20px;
    font-size: 20px;
    font-weight: bold;
}

.list-page .side-menu ul li {
    border-bottom: 1px solid #eee;
}

.list-page .side-menu ul li a {
    display: block;
    padding: 15px 20px;
    color: #444;
    transition: 0.3s;
    position: relative;
}

.list-page .side-menu ul li a:hover,
.list-page .side-menu ul li a.active {
    background: #f0f5ff;
    color: var(--primary-color);
    font-weight: bold;
}

.list-page .side-menu ul li a.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-color);
}

.list-page .list-section {
    flex: 1;
}

.list-page .news-list-box {
    border-radius: 8px;
    padding: 20px 0;
    background: #fff;
    /* border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); */
}

.list-page .list-header {
    border-bottom: 2px solid var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.list-page .list-header h2 {
    font-size: 22px;
    color: var(--primary-color);
}

.list-page .news-list-ul li {
    border-bottom: 1px dashed #ddd;
}

.list-page .news-list-ul li a {
    display: flex;
    justify-content: space-between;
    padding: 18px 0;
    color: #333;
    transition: 0.3s;
}

.list-page .news-list-ul li a:hover {
    color: var(--primary-color);
    padding-left: 10px;
}

.list-page .news-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    padding-left: 14px;
    background: url('fwzx-2026-icon-dot.svg') no-repeat left center / auto 8px;
}

.list-page .news-date {
    color: #999;
    font-size: 14px;
    flex-shrink: 0;
}

.list-page .pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
    align-items: center
}

.list-page .pagination .go-page {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.list-page .pagination span,
.list-page .pagination a {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #666;
    display: flex;
    align-items: center;
}

.list-page .pagination a:hover,
.list-page .pagination .current {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

/* --- Detail Page --- */
.detail-page .article-container {
    /* width: 1000px; */
}

.detail-page .article-card {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    min-height: 600px;
}

.detail-page .article-header {
    text-align: center;
    border-bottom: 1px solid #eee;
    margin-bottom: 30px;
    padding-bottom: 20px;
}

.detail-page .article-header h1 {
    font-size: 28px;
    color: #222;
    margin-bottom: 20px;
    line-height: 1.4;
}

.detail-page .article-meta {
    color: #888;
    font-size: 14px;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.detail-page .article-body {
    line-height: 1.8;
    color: #444;
    font-size: 16px;
}

.detail-page .article-body p {
    margin-bottom: 20px;
    text-indent: 2em;
}

.detail-page .article-body img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 4px;
}

.detail-page .article-footer {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-size: 14px;
    color: #666;
}

.detail-page .article-footer p {
    margin-bottom: 10px;
    cursor: pointer;
}

.detail-page .article-footer p:hover {
    color: var(--primary-color);
}

.detail-page .btn-back {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 25px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 4px;
    transition: 0.3s;
}

.detail-page .btn-back:hover {
    opacity: 0.9;
    transform: translateX(-5px);
}


@media (min-width: 1600px) {
    .banner-inner {
        height: 450px;
    }
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .news-wrapper {
        flex-direction: column;
    }

    .news-right {
        width: 100%;
    }

    nav ul {
        gap: 20px;
    }

    .list-page .main-content {
        flex-direction: column;
        gap: 16px;
        padding-top: 16px;
        padding-bottom: 20px;
    }

    .list-page .sidebar {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    header {
        background: linear-gradient(to bottom, var(--primary-color), transparent);
    }

    header .container {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .service-item {
        padding: 10px 8px;
        height: 100px;
    }

    .service-item p {
        font-size: 13px;
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
    }

    .service-link {
        font-size: 10px;
    }

    .section-title {
        font-size: 20px;
        margin: 28px 0 18px;
    }

    .section-title .more {
        font-size: 12px;
    }

    .news-right {
        gap: 10px;
    }

    .news-right .news-list {
        padding: 0 10px;
    }

    .news-wrapper {
        gap: 10px;
    }

    .news-right-top {
        gap: 10px;
    }

    .news-left {
        --news-cover-h: 210px;
    }

    .news-left-date{
        left: 10px;
    }

    .news-switcher{
        right: 10px;
    }

    .news-left-info{
        padding: 36px 10px 8px;
    }

    .news-left-info h3 {
        font-size: 18px;
    }

    .news-left-info p {
        font-size: 12px;
        margin-top: 8px;
    }

    .news-small-card h4 {
        font-size: 14px;
        padding: 8px 10px 4px;
    }

    .news-small-card img {
        height: 120px;
    }

    .news-small-card span{
        margin: 0 10px 8px;
    }

    .header-top {
        flex-wrap: wrap;
        gap: 10px;
        padding: 0;
    }

    .logo img {
        height: 24px;
    }

    .logo-text {
        font-size: 18px;
    }

    .header-actions {
        display: inline-flex;
        margin-left: auto;
    }

    .search-box {
        display: none;
        order: 3;
        width: 100%;
        margin-top: 8px;
        border-radius: 10px;
        padding: 8px 12px;
        background: rgba(255, 255, 255, 0.12);
    }

    .search-box input {
        width: 100%;
    }

    .search-box button {
        margin-left: 8px;
    }

    header.search-open .search-box {
        display: flex;
    }

    nav {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    nav ul {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 12px 0 2px;
    }

    nav li {
        border-top: 1px solid rgba(255, 255, 255, 0.12);
    }

    nav a {
        display: block;
        padding: 12px 4px;
        font-size: 15px;
    }

    nav a:hover::after,
    nav a.active::after {
        display: none;
    }

    header.nav-open{
        background: var(--primary-color);

    }

    header nav {
        position: sticky;
        top: calc(100% - 1px);
        left: 0;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        background: var(--primary-color);
        z-index: 20;
    }

    header.nav-open nav {
        max-height: 420px;
        padding: 0 10px 10px;
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
    }

    .hero {
        height: 240px;
    }

    .banner-inner {
        height: 160px;
    }

    .list-page .news-list-box {
        padding: 0;
    }

    .breadcrumb {
        padding: 10px 0;
    }

    .list-page .breadcrumb {
        display: none;
    }

    .list-page .side-menu {
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    }

    .list-page .side-menu-title {
        display: none;
    }

    .list-page .side-menu ul {
        display: flex;
        align-items: center;
        gap: 0;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
        scrollbar-width: none;
    }

    .list-page .side-menu ul li a:hover,
    .list-page .side-menu ul li a.active {
        background: transparent;
        color: var(--primary-color);
        font-weight: bold;
    }

    .list-page .side-menu ul li a.active::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        width: 4px;
        height: 100%;
        background: transparent;
    }

    .list-page .side-menu ul::-webkit-scrollbar {
        display: none;
    }

    .list-page .side-menu ul li {
        border-bottom: none;
        /* border-right: 1px solid #eee; */
        flex: 0 0 auto;
    }

    .list-page .side-menu ul li:last-child {
        border-right: none;
    }

    .list-page .side-menu ul li a {
        padding: 12px 18px;
        min-width: max-content;
    }

    .list-page .side-menu ul li a.active::before {
        left: 0;
        top: auto;
        bottom: 0;
        width: 100%;
        height: 3px;
    }

    .list-page .list-section {
        padding: 16px 0;
        border-radius: 8px;
    }

    .list-page .list-header {
        margin: 0 0 16px;
    }

    .list-page .news-list-ul li a {
        padding: 10px 0;
    }

    .list-page .pagination {
        gap: 8px;
    }

    .list-page .pagination .go-page {
        flex-basis: 100%;
        justify-content: center;
        margin-top: 6px;
    }

    .list-page .pagination .tx {
        width: 56px;
        text-align: center;
    }

    .article-container .breadcrumb {
        padding: 10px;
    }

    .detail-page .article-card {
        padding: 16px 10px;
        border-radius: 08px;
    }

    .article-body {
        overflow: hidden;
    }

    .detail-page .article-header h1 {
        font-size: 20px;
    }

    footer {
        background-size: auto 100%;
    }
}