
body {
    background-color: #f5f5f5;
}

/* 主横幅 */
.main-banner {
    position: relative;
    padding: 0;
    text-align: center;
    overflow: hidden;
    margin-top: 8px;
}

.banner-title {
    font-size: 38px;
    font-weight: 600;
    margin-bottom: 8px;
    color: black;
}

.banner-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    font-size: 14px;
}

.banner-link {
    color: #6099ea;
    text-decoration: none;
    font-size: 16px;
}

.banner-link:hover {
    text-decoration: underline;
}

/* 头条新闻区域 */
.headline-news {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 16px;
}

@media (min-width: 768px) {
    .headline-news {
        grid-template-columns: 2fr 1fr;
    }
}

.headline-main {
    width: 736px;
    display: flex;
    flex-direction: column;
}

.main-image-container {
    width: 100%;
    height: 414px;
    overflow: hidden;
    position: relative;
    margin-bottom: 14px;
}
.main-image-container a{
    width: 100%;
    height: 100%;
    display: block;
}
.main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 12px;
}

.overlay-title {
    font-weight: bold;
}

.small-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    width: 100%;
}

.small-image-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 232px;
}
.small-image-item a{
     width: 100%;
      height: ;: 100%;
      display: block;
}
.small-image-container {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    margin-bottom: 4px;
    padding: 4px;
}

.small-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.small-image-title {
    font-size: 16px;
    font-weight: 500;
    line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: left;
    width: 100%;
}

.headline-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    height: 100%;
    width: 416px;
}

.headline-item {
    padding: 8px;
    border-bottom: 1px solid #e5e7eb;
}

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

.headline-link {
    color: #374151;
    text-decoration: none;
    transition: color 0.2s;
    font-size: 16px;
    line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
    line-height: 25px;
}

.headline-link:hover {
    color: #dc2626;
}

/* 三栏新闻区域 */
.three-column-news {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 16px;
}

@media (min-width: 768px) {
    .three-column-news {
        grid-template-columns: repeat(3, 1fr);
    }
}

.news-section {
    margin-top: 16px;
        width: 378px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.section-title {
    color: #dc2626;
    font-weight: bold;
    font-size: 18px;
}

.section-more {
    color: #6b7280;
    font-size: 14px;
    text-decoration: none;
}

.section-more:hover {
    color: #dc2626;
    transition: color 0.2s;
}

.section-divider {
    border-bottom: 2px solid #dc2626;
    margin-bottom: 12px;
}

/* 安顺时政样式 */
.politics-content {
    display: flex;
    flex-direction: column;
}

.politics-main {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 15px;
}

@media (min-width: 768px) {
    .politics-main {
        flex-direction: row;
    }
}

.politics-image-container {
    width: 100%;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .politics-image-container {
        width: 50%;
    }
}

.politics-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 16/9;
}

.politics-content-right {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

@media (min-width: 768px) {
    .politics-content-right {
        width: 50%;
    }
}

.politics-main-title {
    color: #374151;
    text-decoration: none;
    transition: color 0.2s;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: auto;
}

.politics-main-title:hover {
    color: #dc2626;
}

.politics-date {
    color: #6b7280;
    margin-top: auto;
    padding-top: 8px;
    font-size: 12px;
}

.politics-list {
    list-style: none;
    margin-top: 8px;
}

.politics-item {
    padding-bottom: 8px;
    border-bottom: 1px solid #f3f4f6;
    line-height: 34px;
}

.politics-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.politics-link {
    color: #374151;
    text-decoration: none;
    transition: color 0.2s;
    font-size: 16px;
    display: block;
        overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.politics-link:hover {
    color: #dc2626;
}

/* 社会新闻样式 */
.society-content {
    /*display: flex;*/
    /*flex-direction: column;*/
    gap: 12px;
}

@media (min-width: 768px) {
    .society-content {
        flex-direction: row;
    }
}

.society-image-container {
    width: 100%;
    overflow: hidden;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .society-image-container {
        width: 33.333%;
    }
}

.society-image {
    width: 100%;
    height: 192px;
    object-fit: cover;
}

.society-list {
    list-style: none;
}

.society-item {
    padding-bottom: 8px;
    border-bottom: 1px solid #f3f4f6;
    line-height: 34px;
}

.society-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.society-link {
    color: #374151;
    text-decoration: none;
    transition: color 0.2s;
    font-size: 16px;
    display: block;
        overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.society-link:hover {
    color: #dc2626;
}

/* 直播样式 */
.live-content {
    display: flex;
    flex-direction: column;
}

.live-image-container {
    width: 100%;
    overflow: hidden;
    margin-bottom: 8px;
    height: 212px;
}
.live-image-container a{
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.live-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.live-news-list {
    margin-top: 0px;
}

.live-news-item {
    margin-top: 8px;
    line-height: 32px;
}

.live-news-item:first-child {
    margin-top: 0;
}

.live-news-link {
    color: #374151;
    text-decoration: none;
    transition: color 0.2s;
    font-size: 16px;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.live-news-link:hover {
    color: #dc2626;
}

/* 红色横幅区域 */
.red-banners {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
}

@media (min-width: 768px) {
    .red-banners {
        flex-direction: row;
    }
}

.red-banner {
    flex: 1;
    padding: 12px 16px;
    text-align: center;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) {
    .red-banner {
        padding: 16px;
        min-height: 120px;
    }
}

.banner-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.2);
}

/* 区县和数字报区域 */
.county-newspaper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 16px;
}

@media (min-width: 768px) {
    .county-newspaper {
        grid-template-columns: 2fr 1fr;
    }
}

/* 区县部分 */
.county-section {
    margin-top: 16px;
}

.county-header {
    display: flex;
    align-items: center;
    margin-bottom: 4px;
    padding-bottom: 4px;
    border-bottom: 2px solid #dc2626;
    height: 40px;
}

.county-title {
    color: #dc2626;
    font-weight: bold;
}

.county-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-left: 16px;
}

.county-tab {
    padding: 4px 12px;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
    white-space: nowrap;
    background: none;
    border: none;
    cursor: pointer;
    color: #6b7280;
}

.county-tab:hover,
.county-tab.active {
    color: #dc2626;
}

.county-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 768px) {
    .county-content {
        grid-template-columns: 1fr 1fr;
    }
}

.county-main-content{
    width: 384px;
}
.county-image-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.county-main-image-container {
    position: relative;
    width: 100%;
    height: 216px;
}

.county-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    /* background-image: url('https://space-static.coze.site/coze_space/7582431540936769828/upload/%E6%A4%AD%E5%9C%86%E5%BD%A2@3x_63x63.png?sign=1768100656-cd732480b2-0-aaeec41a0a53d400bb5c043bf8b110a782a2f2c23681242441cd328b29e42381');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 50%; */
}

.county-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: white;
    padding: 8px;
}

.county-image-title {
    font-weight: bold;
    font-size: 14px;
}

.county-small-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.county-small-image-container {
    position: relative;
    width: 100%;
    height: 106px;
}

.county-small-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 16/9;
}

.county-small-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: white;
    padding: 4px;
}

.county-small-title {
    font-size: 12px;
}

.county-news-list {
    margin-top: 2px;
}

.county-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    width: 384px;
}

.county-item {
    border-bottom: 1px solid #f3f4f6;
    line-height: 41px;
    height: 41px;
}

.county-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.county-link {
    color: #374151;
    text-decoration: none;
    transition: color 0.2s;
    font-size: 16px;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.county-link:hover {
    color: #dc2626;
}

/* 数字报部分 */
.newspaper-section {
    margin-top: 16px;
}

.newspaper-header {
    display: flex;
    align-items: center;
    margin-bottom: 4px;
    padding-bottom: 4px;
    border-bottom: 2px solid #dc2626;
    height: 40px;
}

.newspaper-title {
    color: #dc2626;
    font-weight: bold;
}

.newspaper-more {
    color: #6b7280;
    font-size: 14px;
    text-decoration: none;
    margin-left: auto;
}

.newspaper-more:hover {
    color: #dc2626;
    transition: color 0.2s;
}

.newspaper-content {
    background-color: #fef2f2;
    padding: 12px;
    display: flex;
    flex-direction: column;
}

.newspaper-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
}

.newspaper-tab {
    padding: 4px;
    cursor: pointer;
    background: none;
    border: none;
}

.newspaper-tab.active {
    border-bottom: 2px solid #dc2626;
}

.newspaper-logo {
    height: 32px;
    object-fit: contain;
}

.newspaper-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
    justify-content: space-between;
}

.newspaper-image-container {
    width: 160px;
    aspect-ratio: 3/4;
    overflow: hidden;
    margin-bottom: 8px;
    margin-left: auto;
    margin-right: auto;
    object-fit: contain;
}

.newspaper-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.newspaper-description {
    font-size: 14px;
    text-align: center;
}

/* 违法行为公告 */
.illegal-notice {
    margin-top: 16px;
}

.illegal-notice-link {
    display: block;
    width: 100%;
    height: auto;
    text-decoration: none;
}

.illegal-notice-image {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* 紫云政法视频 */
.ziyun-legal {
    margin-top: 16px;
}

.ziyun-title {
    color: #dc2626;
    font-weight: bold;
    border-bottom: 2px solid #dc2626;
    padding-bottom: 4px;
    margin-bottom: 12px;
}

.ziyun-videos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

@media (min-width: 768px) {
    .ziyun-videos {
        grid-template-columns: repeat(4, 1fr);
    }
}

.ziyun-video-item {
    display: flex;
    flex-direction: column;
}

.ziyun-video-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.ziyun-video-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.ziyun-video-container:hover .ziyun-video-image {
    transform: scale(1.05);
}

.ziyun-play-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ziyun-play-button {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.ziyun-video-title {
    margin-top: 8px;
    font-size: 14px;
    font-weight: 500;
    line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* 新闻分类区域 */
.news-categories {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 16px;
}

@media (min-width: 768px) {
    .news-categories {
        grid-template-columns: repeat(3, 1fr);
    }
}

.category-section {
    margin-top: 16px;
    width: 378px;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.category-title {
    color: #dc2626;
    font-weight: bold;
    font-size: 18px;
}

.category-more {
    color: #6b7280;
    font-size: 14px;
    text-decoration: none;
}

.category-more:hover {
    color: #dc2626;
    transition: color 0.2s;
}

.category-divider {
    border-bottom: 2px solid #dc2626;
    margin-bottom: 12px;
}

.category-content {
    display: flex;
    flex-direction: column;
}

.category-main {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 12px;
}

@media (min-width: 768px) {
    .category-main {
        flex-direction: row;
    }
}

.category-image-container {
    width: 100%;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .category-image-container {
        width: 50%;
    }
}

.category-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 16/9;
}

.category-content-right {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

@media (min-width: 768px) {
    .category-content-right {
        width: 50%;
    }
}

.category-main-title {
    color: #374151;
    text-decoration: none;
    transition: color 0.2s;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: auto;
}

.category-main-title:hover {
    color: #dc2626;
}

.category-date {
    color: #6b7280;
    margin-top: auto;
    padding-top: 8px;
    font-size: 12px;
}

.category-list {
    list-style: none;
    margin-top: 8px;
}

.category-item {
    border-bottom: 1px solid #f3f4f6;
    line-height: 42px;
    height: 42px;
}

.category-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.category-link {
    color: #374151;
    text-decoration: none;
    transition: color 0.2s;
    font-size: 16px;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.category-link:hover {
    color: #dc2626;
}

/* 省内样式 */
.province-content {
    margin-top: 8px;
}

.province-list {
    list-style: none;
    display: flex;
    flex-direction: column;
}

.province-item {
    border-bottom: 1px solid #f3f4f6;
    line-height: 42px;
    height: 42px;
}

.province-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.province-link {
    color: #374151;
    text-decoration: none;
    transition: color 0.2s;
    font-size: 16px;
    display: block;
        overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.province-link:hover {
    color: #dc2626;
}

/* 网络文明广告 */
.network-civilization-ad {
    margin-top: 16px;
}

.ad-image-full {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* 安顺影像 */
.anshun-images {
    margin-top: 16px;
}

.images-title {
    color: #dc2626;
    font-weight: bold;
    border-bottom: 2px solid #dc2626;
    padding-bottom: 4px;
    margin-bottom: 12px;
    font-size: 18px;
}

.images-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

@media (min-width: 768px) {
    .images-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.images-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.images-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.image-item {
    position: relative;
}

.image-container {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.image-full {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-overlay-top {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 8px;
}

.image-title {
    color: white;
    font-weight: 500;
    font-size: 14px;
}
