﻿@font-face {
    font-family: 'Source Han Serif CN';
    src: url('../fonts/SourceHanSerifCN-Heavy.woff2') format('woff2'),
        url('../fonts/SourceHanSerifCN-Heavy.woff') format('woff'),
        url('../fonts/SourceHanSerifCN-Heavy.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    background-color: #0066cc;
    color: #fff;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
    touch-action: pan-y;
    -webkit-user-select: none;
    user-select: none;
}

::-webkit-scrollbar {
    display: none;
}

/* ===== 屏 ===== */
.screen {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 20px;
}

.screen-1 {
    background: url(../images/bg1.jpg) no-repeat center/cover;
    text-align: center;
    z-index: 1;
    padding-top: 60px !important;
}

.screen-2 {
    background: url(../images/bg2.jpg) no-repeat center/cover;
    color: #333;
    padding: 40px;
}

.screen-3 {
    background: url(../images/bg3.jpg) no-repeat center/cover;
    color: #333;
    padding: 40px;
}

.screen-4 {
    background: url(../images/bg4.jpg) no-repeat center/cover;
    color: #333;
    padding: 40px;
}

.screen-5 {
    background: url(../images/bg5.jpg) no-repeat center/cover;
    color: #fff;
    padding: 40px;
}

/* ===== 顶部导航 ===== */
.top-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #2F8BF0;
    color: white;
    padding: 8px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2000;
    box-shadow: 0 2px 10px rgb(40 115 242);
}

.header-left {
    flex: 1;
}

.quick-links {
    display: flex;
    gap: 30px;
}

.quick-link {
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    padding: 5px 10px;
    position: relative;
    transition: all 0.3s;
    font-family: 'Source Han Serif CN', "宋体", "微软雅黑", sans-serif;
    font-weight: bolder;
}

.quick-link:hover {
    color: #ffcc00;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.quick-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #ffcc00;
    transition: width 0.3s;
}

.quick-link:hover::after {
    width: 80%;
}

.header-right {
    display: flex;
    align-items: center;
}

.date-search-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.date-info {
    font-size: 0.8rem;
    padding: 6px 15px;
    border-radius: 4px;
    white-space: nowrap;
}

.search-container {
    display: flex;
    align-items: center;
}

.search-input {
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 15px 0 0 15px;
    width: 200px;
    font-size: 0.9rem;
    outline: none;
}

.search-input:focus {
    border-color: #ff3333;
}

.search-btn {
    padding: 15.1px 20px;
    background: #fff url(../images/fdj.png) no-repeat center;
    background-size: 15px;
    border: none;
    border-radius: 0 15px 15px 0;
    cursor: pointer;
    font-size: 0;
    transition: background 0.3s;
}

.search-btn:hover {
    background: #ffcc00 url(../images/fdj-h.png) no-repeat center;
    background-size: 15px;
}

/* ===== 第1屏 ===== */
.logo-container {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

/* ===== 通用模块标题 ===== */
.section-title {
    text-align: center;
    font-size: 1.5rem;
    background: #0066cc url(../images/lan.png) no-repeat center;
    color: white;
    padding: 10px 40px;
    border-radius: 8px;
    display: inline-block;
    position: relative;
    top: 15px;
    font-family: 'Source Han Serif CN', "宋体", "微软雅黑", sans-serif;
    font-style: italic;
    text-shadow: 3px 3px #66666685;
}

.screen-5 .section-title {
    background: url(../images/linkicon.png) no-repeat left;
    background-size: auto 33px;
    text-align: left;
    margin-bottom: 0;
    text-shadow: 0 0 black;
    width: 90%;
    max-width: 100%;
}

/* ===== 第2屏：新闻幻灯片 + 列表 ===== */
.news-container {
    display: flex;
    gap: 0;
    max-width: 90%;
    width: 100%;
    margin: 0 auto;
    background: white;
    padding: 50px 25px 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.news-img {
    flex: 2;
    min-width: 300px;
}

.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.carousel-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 480px;
}

.slide {
    min-width: 100%;
    position: relative;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(#00000000, #2f8bf0);
    color: white;
    padding: 20px 15px 15px;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    /* display: none; */
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s, background-color 0.3s;
}

.carousel-container:hover .carousel-btn {
    opacity: 1;
}

.carousel-btn:hover {
    background: rgba(0, 102, 204, 0.8);
}

.prev-btn {
    left: 15px;
}

.next-btn {
    right: 15px;
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 15px;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.indicator.active {
    background: #ffcc00;
    width: 20px;
    border-radius: 7px;
    transform: scale(1.2);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

.news-list {
    flex: 1.5;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: white;
    padding: 20px;
    border-radius: 10px;
}

.news-item {
    padding: 15px 0;
    border-bottom: 1px dashed #eee;
    transition: all 0.3s ease;
}

.news-item:last-child {
    border-bottom: none;
}

.news-item:hover {
    background-color: #f8faff;
    padding-left: 10px;
    padding-right: 10px;
    margin-left: -10px;
    margin-right: -10px;
    border-radius: 6px;
}

.news-item a {
    text-decoration: none;
    color: #333;
    display: block;
}

.news-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.news-desc {
    color: #666;
    flex: 1;
    margin-right: 15px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: nowrap;      /* 强制文字不换行 */
    overflow: hidden;         /* 隐藏超出部分 */
    text-overflow: ellipsis;  /* 超出部分显示省略号 */
}

.news-date {
    color: #999;
    font-size: 0.8rem;
    white-space: nowrap;
}

/* ===== 第3屏：淮青简讯 ===== */
.huaiqing-container {
    display: grid;
    grid-template-columns: 180px 1fr;
    grid-template-rows: auto 1fr auto;
    grid-template-areas:
        "categories categories"
        "tabs content"
        "indicator indicator";
    gap: 20px;
    max-width: 90%;
    width: 100%;
    margin: 0 auto;
    background: white;
    padding: 40px 25px 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.huaiqing-container.no-tabs {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr auto;
    grid-template-areas:
        "categories"
        "content"
        "indicator";
}

.category-tabs {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    grid-area: categories;
    border-bottom: 1px solid #ccc;
}

.category-tabs::-webkit-scrollbar {
    display: none;
}

.category-item {
    padding: 8px 16px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0;
    text-align: center;
}

.category-item.active {
    color: #0066cc;
    border-bottom: 2px solid #0066cc;
    font-weight: 900;
}

.category-item:hover:not(.active) {
    color: #0066cc;
    border-bottom: 2px solid #0066cc;
    font-weight: 900;
}

.secondary-tabs {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
    padding: 0 10px;
    justify-content: space-evenly;
    align-items: stretch;
    grid-area: tabs;
    width: 100%;
}

.municipal-tabs,
.youth-tabs {
    width: 180px;
}

.tab-item {
    background: #F6F6F6;
    border: 1px solid #F6F6F6;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    width: 150px;
    height: 65px;
    line-height: 65px;
    font-family: 'Source Han Serif CN', "宋体", "微软雅黑", sans-serif;
    font-weight: bold;
}

.tab-item.active {
    background: url(../images/sjk.png) no-repeat center;
    background-size: 100%;
    color: #0066cc;
    font-weight: bolder;
    border: 0;
    width: 160px;
    font-size: 1.18rem;
}

.tab-item:hover:not(.active) {
    background: url(../images/sjk.png) no-repeat center;
    background-size: 100%;
    color: #0066cc;
    font-weight: bolder;
    border: 0;
    width: 160px;
    font-size: 1.18rem;
}

.huaiqing-content {
    flex: 1;
    min-width: 300px;
    display: flex;
    background: white;
    padding: 0;
    border-radius: 0;
    grid-area: content;
    flex-direction: column;
    gap: 15px;
}

.category-content {
    display: none;
    width: 100%;
    animation: fadeIn 0.5s ease;
}

.category-content.active {
    display: grid;
    grid-template-columns: 520px 1fr;
    column-gap: 16px;
    align-items: start;
}

.county .left-col,
.school .left-col,
.unit .left-col,
.enterprise .left-col {
    gap: 8px;
}

.left-col {
    grid-column: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.category-content.active .tab-news-list {
    grid-column: 2;
    grid-row: 1;
}

.category-content[data-category="county"].active,
.category-content[data-category="school"].active,
.category-content[data-category="unit"].active,
.category-content[data-category="enterprise"].active {
    grid-template-columns: 480px 650px;
    grid-template-columns: 480px 1fr;
}

.tab-news-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    color: inherit;
    width: 100%;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-news-list {
    display: flex;
    flex-direction: column;
    gap: 3px;
    white-space: nowrap;      /* 强制文字不换行 */
    overflow: hidden;         /* 隐藏超出部分 */
    text-overflow: ellipsis;  /* 超出部分显示省略号 */
}

.tab-news-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 4px;
    border-bottom: 1px dashed #eee;
    transition: background 0.2s;
    cursor: pointer;
}

.tab-news-item:hover {
    background: #f9fbff;
}

.tab-news-item:last-child {
    border-bottom: none;
}

.tab-news-title {
    flex: 1;
    font-size: 0.85rem;
    font-weight: 400;
    color: #666;
    line-height: 1.4;
    white-space: nowrap;      /* 强制文字不换行 */
    overflow: hidden;         /* 隐藏超出部分 */
    text-overflow: ellipsis;  /* 超出部分显示省略号 */
}

.tab-news-title::before {
    content: "•";
    display: inline-block;
    color: #333;
    margin-right: 8px;
}

.tab-news-date {
    color: #999;
    font-size: 0.9rem;
    min-width: 50px;
    text-align: right;
    margin-left: 15px;
}

.tab-indicator {
    display: none !important;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    grid-area: indicator;
}

.indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s;
}

.indicator-dot.active {
    background: #0066cc;
    transform: scale(1.3);
}

.tab-feature img {
    width: 100%;
    height: 346px;
    border-radius: 6px;
    display: block;
}

/* ===== 选项卡轮播图样式 ===== */
.tab-feature-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 6px;
}

.tab-feature-carousel .carousel-container {
    position: relative;
    width: 100%;
    height: 346px;
    overflow: visible;
}

.tab-feature-carousel .carousel-slides {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%;
    height: 100%;
}

.tab-feature-carousel .carousel-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
}

.tab-feature-carousel .carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    display: block;
}

/* 确保所有轮播图幻灯片高度一致 */
.tab-feature-carousel .carousel-slide {
    position: relative;
    height: 100%;
}

.tab-feature-carousel .carousel-slide a {
    display: block;
    height: 100%;
    position: relative;
}

/* 县区、学校、市直、企业分类轮播图容器高度调整为336px */
.county .tab-feature-carousel .carousel-container,
.school .tab-feature-carousel .carousel-container,
.unit .tab-feature-carousel .carousel-container,
.enterprise .tab-feature-carousel .carousel-container {
    height: 336px !important;
}

.tab-feature-carousel .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 102, 204, 0.7);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s ease;
}

.tab-feature-carousel .carousel-btn:hover {
    background: rgba(0, 102, 204, 0.9);
}

.tab-feature-carousel .prev-btn {
    left: 10px;
}

.tab-feature-carousel .next-btn {
    right: 10px;
}

.tab-feature-carousel .carousel-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
    justify-content: center;
    right: 0;
}

.tab-feature-carousel .indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-feature-carousel .indicator.active {
    background: #2f8bf0;
    transform: scale(1.2);
}

.tab-feature-carousel .indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* ===== 轮播图标题样式 ===== */
.tab-feature-carousel .carousel-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: 15px 20px 10px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    text-align: center;
    transition: all 0.3s ease;
    z-index: 5;
    display: none;
}

.tab-feature-carousel .carousel-slide:hover .carousel-title {
    background: linear-gradient(transparent, rgba(0, 102, 204, 0.8));
}

/* 确保标题在移动端也有良好的显示 */
@media (max-width: 768px) {
    .tab-feature-carousel .carousel-title {
        font-size: 14px;
        padding: 10px 15px 8px;
    }
}

/* ===== 第4屏：公告 ===== */
.announcement-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 90%;
    width: 100%;
    margin: 0 auto;
    background: white;
    padding: 70px 30px 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.announcements {
    background: transparent;
    padding: 0;
    border-radius: 0;
    flex: 1;
    white-space: nowrap;      /* 强制文字不换行 */
    overflow: hidden;         /* 隐藏超出部分 */
    text-overflow: ellipsis;  /* 超出部分显示省略号 */
}

.announcements ul {
    list-style: none;
    padding: 0;
}

.announcements li {
    padding: 12px 0;
    border-bottom: 1px dashed #eee;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
}

.announcements li:last-child {
    border-bottom: none;
}

.announcements a {
    text-decoration: none;
    color: #666;
    display: block;
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.announcements li:hover {
    background: #f9fbff;
    border-radius: 6px;
}

.announce-feature {
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px dashed #eee;
}

.announce-title {
    font-weight: 800;
    font-size: 1.2rem;
    line-height: 1.4;
    margin-bottom: 8px;
}

.announce-summary {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    white-space: normal;
}

/* ===== 第5屏：链接 ===== */
.screen-5-layout {
    max-width: 90%;
    width: 100%;
    margin: 30px auto 0;
    display: grid;
    grid-template-columns: 1.5fr 1.5fr;
    gap: 30px;
    align-items: start;
}

.links-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.links-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    justify-items: start;
}

.link-btn {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 10px 16px;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s;
    border: 1px solid #ffffff08;
    display: block;
    width: 100%;
    text-align: center;
    border-radius: 4px;
}

.link-btn:hover {
    background: #0656af;
    border-color: #0656af;
    color: #ffffff;
}

.feedback {
    grid-template-columns: repeat(5, 1fr);
}

.footer-info p {
    margin: 10px 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-info p a {
    color: #fff;
    text-decoration: none;
}

.links-right {
    display: flex;
    justify-content: flex-end;
}

.qr-codes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 110px;
}

.qr-item {
    background:#1e72cf;
    border-radius: 8px;
}

.qr-item img {
    width: 120px;
    display: block;
    margin: 0 auto 8px;
    padding: 8px;
    border-radius: 13px;
}

.qr-label {
    font-size: 0.9rem;
    color: #333;
}

/* ===== 右侧小圆点导航 ===== */
.navigation-dots {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: block;
}

.dot {
    position: relative;
    width: 12px;
    height: 12px;
    background-color: white;
    border-radius: 50%;
    margin: 8px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    border: 4px solid transparent;
}

.dot.active::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    border: 2px solid white;
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.8);
}

/* ===== 固定返回首页按钮 ===== */
.back-home-btn {
    position: fixed;
    left: 50%;
    bottom: 0px;
    transform: translateX(-50%);
    background: #00308178;
    color: #ffffff;
    border: 1px solid #2162b699;
    border-top-left-radius: 999px;
    border-top-right-radius: 999px;
    padding: 5px 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    cursor: pointer;
    z-index: 1500;
    user-select: none;
    text-align: center;
}

.back-home-btn:hover {
    background: #003264;
    color: #ffffff;
}

.back-home-btn img {
    width: 18px;
    height: 18px;
    vertical-align: middle;
    margin-right: 6px;
    display: inline-block;
}

/* ===== 响应式 ===== */
@media (max-width: 768px) {
    .top-header {
        flex-direction: column;
        padding: 10px;
        gap: 10px;
    }

    .header-left {
        width: 100%;
        justify-content: center;
    }

    .quick-links {
        gap: 15px;
        justify-content: center;
    }

    .quick-link {
        font-size: 0.85rem;
        padding: 4px 8px;
    }

    .header-right {
        width: 100%;
        justify-content: center;
    }

    .date-search-container {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        max-width: 400px;
    }

    .date-info {
        text-align: center;
        width: 100%;
    }

    .search-container {
        width: 100%;
    }

    .search-input {
        flex: 1;
        width: auto;
    }

    .screen-1 {
        padding-top: 100px !important;
    }

    .news-container,
    .huaiqing-container,
    .announcement-container {
        flex-direction: column;
        padding: 35px 15px 20px;
    }

    .news-img,
    .news-list {
        min-width: 100%;
    }

    .news-item:hover {
        padding-left: 5px;
        padding-right: 5px;
        margin-left: -5px;
        margin-right: -5px;
    }

    .news-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .news-desc {
        margin-right: 0;
        -webkit-line-clamp: 3;
    }

    .news-date {
        align-self: flex-end;
    }

    .screen-3 {
        padding: 20px 15px;
    }

    .huaiqing-container {
        padding: 30px 15px 20px;
        gap: 15px;
        grid-template-columns: 1fr;
        grid-template-rows: auto auto 1fr auto;
        grid-template-areas:
            "categories"
            "tabs"
            "content"
            "indicator";
    }

    .huaiqing-content {
        flex-direction: column;
    }

    .category-content.active {
        display: block;
    }

    .secondary-tabs {
        flex-direction: column;
        overflow-y: auto;
        white-space: normal;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        justify-content: flex-start;
    }

    .secondary-tabs::-webkit-scrollbar {
        display: none;
    }

    .municipal-tabs,
    .youth-tabs {
        width: 100%;
    }

    .tab-item {
        min-width: auto;
        padding: 8px 12px;
        font-size: 0.85rem;
        width: 100%;
    }

    .tab-item.active,
    .tab-item:hover:not(.active) {
        width: 100%;
        font-size: 0.95rem;
    }

    .tab-news-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 12px;
    }

    .tab-news-date {
        align-self: flex-end;
        margin-left: 0;
    }

    .screen {
        -webkit-overflow-scrolling: touch;
    }

    .news-item,
    .announcements li {
        padding: 15px 0 !important;
    }

    .link-btn {
        padding: 12px 16px;
        font-size: 1rem;
        min-width: 140px;
        text-align: center;
    }

    .news-list,
    .announcements {
        max-height: 60vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .tab-indicator {
        display: flex !important;
    }

    .navigation-dots {
        display: none;
    }
}

@media (max-width: 480px) {
    .screen-2,
    .screen-3,
    .screen-4 {
        padding: 15px 10px;
    }

    .news-container,
    .huaiqing-container {
        padding: 35px 12px 15px;
    }

    .carousel-slides {
        height: 250px;
    }

    .carousel-btn {
        opacity: 0.7;
        width: 36px;
        height: 36px;
    }

    .carousel-btn svg {
        width: 20px;
        height: 20px;
    }

    .slide-caption {
        font-size: 1rem;
        padding: 15px 10px 10px;
    }

    .carousel-indicators {
        bottom: 10px;
    }

    .indicator {
        width: 8px;
        height: 8px;
    }

    .tab-item {
        padding: 8px 10px;
        font-size: 0.8rem;
    }

    .tab-news-item {
        padding: 10px;
    }

    .qr-codes {
        margin-top: 100px;
    }
}