body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #f2f7fb;
}

.header {
    background-color: #67a8c8;
    color: #333;
    padding: 10px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    height: 70px;
}

.logo {
    height: 45px;
}

.logo img {
    height: 45px;
    display: block;
}

.header-right {
    padding: 0 10px;
}

.sousuo {
    width: 30px;
    height: 30px;
}

.sousuo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.menu {
    display: none;
}

.menu-btn {
    color: #6699b2;
    font-size: 18px;
    padding: 4px 6px;
    border-radius: 4px;
    cursor: pointer;
}

/* 顶部小导航 */
.top-nav {
    display: flex;
    padding: 8px 10px;
    background: #ffffff;
    align-items: center;
    border-radius: 10px;
    margin: 8px 0 8px 10px;
    position: relative;
}

.top-nav-scroll {
    display: flex;
    gap: 10px;
    flex: 1;
    overflow-x: auto;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
}

.top-nav-scroll::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari and Opera */
}

.top-nav-right {
    margin-left: auto;
    flex-shrink: 0;
}

.nav-item {
    color: #6aa2bd;
    font-size: 15px;
    text-decoration: none;
    padding: 4px 8px;
    border-radius: 18px;
    font-weight: 600;
    flex: 0 0 auto;
    white-space: nowrap;
}

.nav-item.active {
    background: #6aa2bd;
    color: #fff;
}

.menu-btn {
    color: #6aa2bd;
    font-size: 30px;
    padding: 2px 6px;
    border-radius: 4px;
    cursor: pointer;
    flex: 0 0 auto;
}

.swiper-container {
    width: 100%;
    height: 180px;
}

.swiper-slide {
    position: relative;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: #ffffff;
    padding: 20px 15px 15px;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.headline,
.hot-news,
.county,
.videos,
.digital-paper,
.reader-letters,
.block-list,
.banner-topic {
    padding: 15px;
    background-color: white;
    margin: 10px;
    border-radius: 5px;
}

.headline {
    padding: 10px;
}

.hot-news {
    padding: 0;
    background-color: #f1f6fa;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    color: #6aa2bd;
    padding: 4px 0 8px;
    padding-left: 25px;
    position: relative;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-image: url('../../image/wap/icon.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

/* 热点关注标题特殊样式 */
.hot-title {
    display: flex;
    align-items: center;
    padding-left: 0;
}

.hot-title::before {
    display: none;
}

.hot-icon {
    width: 20px;
    height: 20px;
    background-image: url('../../image/wap/icon2.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    margin-right: 8px;
    display: inline-block;
}

.hot-text {
    color: #6aa2bd;
    font-size: 18px;
    font-weight: 600;
}

/* 友情链接横向滑动样式 */
.friendly-links-section {
    margin: 10px;
    border-radius: 8px;
    padding: 15px;
}

.links-icon {
    width: 20px;
    height: 20px;
    background-image: url('../../image/wap/icon.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    margin-right: 8px;
    display: inline-block;
}

.links-scroll-container {
    position: relative;
}

.links-scroll {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
}

.links-scroll::-webkit-scrollbar {
    display: none;
}

.links-page {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    width: 100%;
    flex-shrink: 0;
}

.links-column {
    display: flex;
    flex-direction: column;
}

.links-column a {
    display: block;
    color: #747474;
    text-decoration: none;
    padding: 6px 0;
    font-size: 18px;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.links-column a:hover {
    color: #6aa2bd;
}

.scroll-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #6aa2bd;
    width: 20px;
    border-radius: 4px;
}

.headline-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
}

.headline-main {
    font-size: 20px;
    font-weight: 800;
    color: #2b6f8c;
    line-height: 1.45;
    flex: 1;
}

.headline-list .headline-item {
    color: #555;
    line-height: 1.6;
}

/* 头条卡片样式 */
.headline-card {
    background: #ffffff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.headline-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    border-right: 1px solid #bbd3de;
}

.headline-badge {
    color: #70a9c4;
    border-radius: 14px;
    padding: 0 10px;
    font-weight: 800;
    font-size: 22px;
}

.headline-sep {
    width: 1px;
    height: 28px;
    background: #cfe1ec;
}

.headline-date {
    color: #9fb9c7;
    font-size: 14px;
    width: 40px;
    text-align: center;
}

.headline-date em {
    font-style: normal;
}

.news-item,
a {
    display: block;
    margin: 5px 0;
    text-decoration: none;
    color: #333;
}

.news-list .news-row {
    background: #ffffff;
    border-radius: 6px;
    padding: 5px 15px;
    margin: 15px 0;
    text-decoration: none;
    color: #333;
    font-size: 16px;
    line-height: 30px;
    border: none;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
}

.news-list .news-row:last-child {
    border-bottom: none;
}

.video-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.video-item img {
    width: 100%;
    height: auto;
}

.video-title {
    font-size: 13px;
    color: #333;
    margin: 6px 0 0;
}

.banner-topic img {
    width: 100%;
    border-radius: 6px;
    display: block;
}


/* 主题横幅 */
.theme-banners {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.banner-item {
    width: 460px;
    height: 120px;
    overflow: hidden;
    cursor: pointer;
    border-radius: 8px;
}

.banner-item a img {
    width: 100%;
    height: 100%;
    transition: all 1s;
}

.banner-item a img:hover {
    transform-origin: center;
    transform: scale(1.05);
}

.banners-more {
    text-align: center;
    margin: -5px 0 20px 0;
}

.banners-more-link {
    display: inline-block;
    padding: 8px 18px;
    color: #223765;
    border: 1px solid #e0e5f0;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease-in-out;
}

.banners-more-link:hover {
    background: #7baabe;
    color: #fff;
    border-color: #7baabe;
}

/* 县域观察 */
.county-nav {
    display: flex;
    padding: 8px 10px;
    background: #e8f3f9;
    align-items: center;
    border-radius: 10px;
    margin: 8px 0;
    position: relative;
}

.county-nav-scroll {
    display: flex;
    gap: 12px;
    flex: 1;
    overflow-x: auto;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
}

.county-nav-scroll::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari and Opera */
}

.county-nav-item {
    color: #6aa2bd;
    font-size: 15px;
    text-decoration: none;
    padding: 4px 8px;
    border-radius: 18px;
    font-weight: 600;
    flex: 0 0 auto;
    white-space: nowrap;
}

.county-nav-item.active {
    background: #6aa2bd;
    color: #fff;
}

.county-content {
    position: relative;
}

.county-card {
    display: none;
    margin: 10px 0;
}

.county-card.active {
    display: block;
}

/* 县域导航右侧按钮 */
.county-nav-right {
    margin-left: auto;
    flex-shrink: 0;
}

.county-menu-btn {
    color: #6aa2bd;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.county-menu-btn:hover {
    background-color: rgba(106, 162, 189, 0.1);
}

/* 县域特色内容 */
.county-feature {
    margin-bottom: 15px;
}

.county-feature-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.county-feature-link img {
    width: 100%;
    height: 240px;
    object-fit: fill;
    border-radius: 8px;
    margin-bottom: 10px;
}

.county-feature-title {
    font-size: 18px;
    font-weight: 600;
    color: #222;
    line-height: 35px;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 县域观察弹层 */
.county-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.county-mask.active {
    opacity: 1;
    visibility: visible;
}

.county-sheet {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    border-radius: 20px 20px 0 0;
    z-index: 999;
    transform: translateY(100%);
    transition: transform 0.3s;
    max-height: 80vh;
    overflow: hidden;
}

.county-sheet.active {
    transform: translateY(0);
}

.county-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 20px;
}

.county-grid-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 8px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    text-decoration: none;
    color: #495057;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    transition: all 0.2s;
    min-height: 44px;
}

.county-grid-item:hover {
    background: #e8f3f9;
    border-color: #6aa2bd;
    color: #6aa2bd;
}

.county-grid-item.active {
    background: #6aa2bd;
    border-color: #6aa2bd;
    color: #fff;
}

/* 视觉板块 */
.vision {
    margin: 10px;
    background: #fff;
    border-radius: 8px;
    padding: 15px;
}

.vision-content {
    margin-top: 10px;
}

.vision-cards {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
}

.vision-card {
    flex: 1;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.vision-image {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.vision-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.vision-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 100%);
}

.vision-title {
    position: absolute;
    bottom: 10px;
    left: 10px;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.vision-horizontal {
    display: flex;
    gap: 8px;
}

.vision-horizontal-item {
    flex: 1;
    display: flex;
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    flex-direction: column;
}

.vision-horizontal-image {
    width: 185px;
    flex-shrink: 0;
}

.vision-horizontal-image img {
    width: 100%;
    height: 100px;
    object-fit: cover;
}

.vision-horizontal-text {
    flex: 1;
    padding: 8px 12px;
    display: flex;
    align-items: center;
}

.vision-horizontal-title {
    font-size: 16px;
    color: #333;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.county-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.img-wrap img {
    width: 100%;
    height: 90px;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}

.county-list {
    margin-top: 10px;
}

.county-row {
    padding: 5px 0;
    border-bottom: 1px dashed #eee;
    color: #333;
    font-size: 16px;
    overflow: hidden;
    text-overflow: ellipsis;
    word-wrap: break-word;
    -webkit-line-clamp: 1;
    letter-spacing: 1px;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    cursor: pointer;
    line-height: 35px;
}

.county-row:last-child {
    border-bottom: 0;
}

/* 数字报 */
.digital-paper img {
    width: 70%;
    border-radius: 6px;
    display: block;
    margin: 0 auto;
}

/* 读者来信 */
.reader-letters {
    background: none;
}

.reader-letters img {
    width: 100%;
    height: 90px;
    border-radius: 6px;
    display: block;
    margin: 0 auto;
}

/* 列表块 */
.block-feature img {
    width: 100%;
    height: 220px;
    object-fit: fill;
    border-radius: 10px;
    display: block;
}

.feature-title {
    position: relative;
    margin-top: 6px;
    font-size: 16px;
    font-weight: 600;
    color: #222;
    line-height: 35PX;
    overflow: hidden;
    text-overflow: ellipsis;
    word-wrap: break-word;
    -webkit-line-clamp: 1;
    letter-spacing: 1px;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    cursor: pointer;
}

.block-items {
    margin-top: 10px;
}

.block-row {
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
    color: #333;
    font-size: 16px;
    overflow: hidden;
    text-overflow: ellipsis;
    word-wrap: break-word;
    -webkit-line-clamp: 1;
    letter-spacing: 1px;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    cursor: pointer;
    line-height: 40px;
}

.block-row:last-child {
    border-bottom: 0;
}

.site-footer {
    text-align: center;
    padding: 20px;
    background-color: #6aa2bd;
    color: #ffffff;
    margin: 0;
}

.about-links {
    display: flex;
    justify-content: space-around;
    max-width: 100%;
    margin: 0 auto;
}

.about-link {
    margin: 8px 0;
    line-height: 1.6;
    color: #ffffff;
    font-size: 18px;
}

.copyright-info {
    max-width: 100%;
    margin: 0 auto;
}

.copyright-info p {
    margin: 8px 0;
    line-height: 1.6;
    color: #ffffff;
    font-size: 18px;
}



/* 网站导航弹层 */
.nav-mask {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease;
}

.nav-mask.active {
    opacity: 1;
    visibility: visible;
}

.nav-sheet {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: 85vh;
    background: #fff;
    z-index: 1000;
    overflow-y: auto;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    transform: translateY(100%);
    transition: transform .25s ease-out;
    display: block;
}

.nav-sheet.active {
    transform: translateY(0);
}

.sheet-header {
    position: sticky;
    top: 0;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 48px;
    border-bottom: 1px solid #eee;
    font-weight: 700;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.sheet-header .close-btn {
    position: absolute;
    right: 12px;
    color: #6699b2;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.sheet-body {
    padding: 12px;
}

.sheet-title {
    color: #5a92ae;
    font-weight: 700;
    margin: 10px 0;
}

.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.chip {
    display: inline-block;
    padding: 6px 10px;
    background: #f0f3f5;
    border-radius: 6px;
    color: #666;
    text-decoration: none;
    font-size: 13px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.grid-item {
    text-align: center;
    padding: 8px 0;
    background: #f0f3f5;
    border-radius: 6px;
    color: #666;
    text-decoration: none;
    font-size: 13px;
}

/*农技宝典按钮*/
.nongji_bar {
    position: fixed;
    top: 80%;
    right: 2%;
    width: 50px;
    height: 50px;
    z-index: 999;
}

.nongji_bar img {
    width: 100%;
    height: 100%;
}

#fastgpt-chatbot-button {
    top: 84% !important;
    right: 2% !important;
    width: 60px !important;
    height: 60px !important;
}

#fastgpt-chatbot-window {
    right: 17px !important;
    bottom: 135px !important;
    height: 480px !important;
}

/*返回按钮*/
.slider_bar {
    position: fixed;
    top: 93%;
    right: 4%;
    width: 40px;
    height: 40px;
    z-index: 999;
}

.slider_bar img {
    width: 100%;
    height: 100%;
}