:root {
    --primary-color: #ff5722;
    --secondary-color: #6c757d;
    --accent-color: #2fd6b0;
    --light-bg: #f8f9fa;
    --dark-bg: #343a40;
    --border-radius: 12px;
    --box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #f5f7fa;
    color: #495057;
    padding-bottom: 70px;
    line-height: 1.5;
}

/* 头部样式增强 */
.index-header {
    width: 100%;
    position: relative;
    background: url(../../images/image.png) no-repeat;
    background-size: 100% auto;
    border-bottom-left-radius: var(--border-radius);
    border-bottom-right-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.index-top__search {
    padding: 15px 15px 10px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.dislay-flex {
    display: flex;
    align-items: center;
}

.search-box__lt {
    margin-right: 10px;
}

.search-box__lt a {
    display: flex;
    align-items: center;
    color: #fff;
    font-size: 14px;
    text-decoration: none;
}

.logo-image {
    height: 30px;
    width: auto;
    border-radius: 50%;
}

.lbs_txt {
    margin-right: 3px;
    font-style: normal;
}

.tcicon-jiantou__xia {
    font-size: 12px;
}

/* 搜索框美化 */
.search-box__main {
    flex: 1;
    position: relative;
    border-radius: 20px;
    background-color: rgba(255,255,255,0.95);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: var(--transition);
}

.search-box__main:hover, .search-box__main:focus-within {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.search-box__input {
    display: flex;
    align-items: center;
}

.search-box__input form {
    width: 100%;
    display: flex;
    position: relative;
}

.search-box__input input[type="text"] {
    border: none;
    border-radius: 20px;
    padding: 12px 15px;
    width: 100%;
    font-size: 14px;
    background: transparent;
}

.search-box__input i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #ff5722;
    cursor: pointer;
    font-size: 18px;
}

.search-box__rt {
    margin-left: 10px;
    color: #fff;
    font-size: 22px;
    text-decoration: none;
}

/* 轮播图增强 */
.swiper-container-focuspic {
    margin: 0 15px 15px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--box-shadow);
}

.top-focuspic__item {
    width: 100%;
    height: auto;
    overflow: hidden;
}

.top-focuspic__item img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.top-focuspic__item:hover img {
    transform: scale(1.02);
}

/* 覆盖原有的banner-swiper样式 */
.banner-swiper {
    margin-bottom: 0;
    border-radius: 0;
}

.header-left {
    display: flex;
    align-items: center;
}

.site-logo {
    color: #fff;
    font-weight: bold;
    font-size: 16px;
    margin-right: 10px;
    display: flex;
    align-items: center;
}

.site-logo i {
    margin-right: 5px;
}

/* 搜索框样式 */
.search-container {
    flex: 1;
    max-width: 90%;
    position: relative;
}

.search-input {
    border: none;
    border-radius: 20px;
    padding: 10px 15px;
    padding-right: 40px;
    width: 100%;
    font-size: 14px;
    background-color: rgba(255,255,255,0.9);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #ff5722;
    cursor: pointer;
    font-size: 18px;
}

.login-icon {
    color: #fff;
    font-size: 24px;
    margin-left: 15px;
}

/* 轮播图 */
.banner-swiper {
    margin-bottom: 15px;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    overflow: hidden;
}

.banner-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

/* 数据统计 */
.stats-container {
    background: #fff;
    padding: 10px;
    display: flex;
    justify-content: space-around;
    font-size: 12px;
    color: #666;
    margin-bottom: 15px;
}

.stat-item {
    display: flex;
    align-items: center;
}

.stat-icon {
    color: #ff5722;
    margin-right: 5px;
    font-size: 14px;
}

.stat-value {
    color: #ff5722;
    font-weight: bold;
}

/* 图标导航增强 */
.icon-grid {
    background: #fff;
    padding: 15px 10px;
    margin-bottom: 5px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-top: -10px;
}

.icon-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.icon-row:last-child {
    margin-bottom: 0;
}

.icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 20%;
}

.icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
    color: #fff;
    font-size: 18px;
    transition: var(--transition);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.icon-item:hover .icon-circle {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

.icon-text {
    font-size: 12px;
    color: #333;
}

.bg-orange {
    background: linear-gradient(135deg, #ff9800, #ff5722);
}

.bg-green {
    background: linear-gradient(135deg, #4caf50, #2e7d32);
}

.bg-blue {
    background: linear-gradient(135deg, #2196f3, #1565c0);
}

.bg-purple {
    background: linear-gradient(135deg, #9c27b0, #6a1b9a);
}

.bg-red {
    background: linear-gradient(135deg, #f44336, #c62828);
}

/* 卡片标题栏 */
.card-header-title {
    padding: 15px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    background: linear-gradient(to right, #fff, #f8f9fa);
}

.card-header-title .title {
    font-size: 16px;
    display: flex;
    align-items: center;
}

.card-header-title .title i {
    color: #ff5722;
    margin-right: 5px;
}

.card-header-title .more {
    color: #999;
    font-size: 12px;
}

/* 内容卡片 */
.content-card {
    background: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 15px;
    box-shadow: var(--box-shadow);
}

/* 新闻中心增强 */
.module-card {
    background: #fff;
    margin-bottom: 10px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.card-body {
    padding: 15px;
}

.card-image {
    width: 100%;
    border-radius: 4px;
    margin-bottom: 12px;
}

.card-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.4;
    color: var(--dark-bg);
}

/* 栏目块样式 */
.column-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 10px;
    padding: 10px;
}

.column-item {
    background: #fff;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100px;
    color: #fff;
    font-weight: bold;
    position: relative;
    overflow: hidden;
}

.column-item.pink {
    background: #ff4d8c;
}

.column-item.blue {
    background: #2196f3;
}

.column-item.green {
    background: #4caf50;
}

.column-item.orange {
    background: #ff9800;
}

.column-icon {
    font-size: 24px;
    margin-bottom: 5px;
}

.column-text {
    font-size: 14px;
}

.column-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: rgba(255,255,255,0.3);
    padding: 2px 6px;
    font-size: 10px;
    border-radius: 0 0 0 8px;
}

/* 新闻中心样式 */
.news-list {
    padding: 10px 15px;
    background: #fff;
}

.news-item {
    display: flex;
    padding: 15px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: var(--transition);
}

.news-item:last-child {
    border-bottom: none;
}

.news-item:hover {
    background-color: #f8f9fa;
}

.news-content {
    flex: 1;
    padding-right: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-title {
    font-size: 16px;
    font-weight: 500;
    margin: 0 0 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #333;
}

.news-meta {
    font-size: 12px;
    color: #999;
    display: flex;
}

.news-meta span {
    margin-right: 15px;
    display: flex;
    align-items: center;
}

.news-meta i {
    margin-right: 3px;
    font-size: 14px;
}

.news-image {
    width: 100px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 联系区域增强 */
.contact-section {
    background: linear-gradient(to bottom, #333, #222);
    color: #fff;
    padding: 20px 15px;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    box-shadow: var(--box-shadow);
}

.container {
    max-width: 100%;
}

.contact-title {
    font-size: 18px;
    font-weight: 500;
    margin: 0 0 15px;
    color: #fff;
    text-align: center;
}

.contact-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.contact-left {
    flex: 1;
}

.contact-row {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.contact-label {
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    margin-right: 5px;
}

.contact-phone {
    font-size: 18px;
    font-weight: bold;
    color: #ff5722;
}

.contact-time {
    font-size: 14px;
    color: #bfbfbf;
}

.qrcode-title {
    font-size: 14px;
    color: #fff;
    margin-bottom: 10px;
    text-align: center;
}

.qrcode-title.right {
    text-align: right;
}

.qrcode-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.qrcode-item {
    width: 45%;
    text-align: center;
}

.qrcode-img {
    width: 120px;
    height: 120px;
    border: 3px solid #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: var(--transition);
}

.qrcode-img:hover {
    transform: scale(1.05);
}

.copyright-section {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
    text-align: center;
}

.copyright-item {
    font-size: 12px;
    color: #bfbfbf;
    margin-bottom: 5px;
}

.copyright-item a {
    color: #bfbfbf;
    text-decoration: none;
}

.beian-icon {
    width: 15px;
    vertical-align: middle;
    margin-right: 5px;
}

/* 底部导航增强 */
.app-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 8px 0 5px;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.nav-item {
    text-align: center;
}

.footer-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 12px;
    transition: var(--transition);
}

.footer-link.active {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.nav-icon {
    font-size: 22px;
    margin-bottom: 2px;
}

.publish-button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff5722, #ff7043);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -25px auto 0;
    box-shadow: 0 4px 15px rgba(255, 87, 34, 0.5);
    font-size: 24px;
    transition: var(--transition);
}

.publish-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 18px rgba(255, 87, 34, 0.6);
}

/* 添加flex布局样式 */
.flex-col {
    display: flex;
    flex-direction: column;
}

/* 分类导航增强 */
.course-cate {
    background: #fff;
    padding: 10px 0;
    margin-bottom: 3px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.course-cate::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
}

.course-item {
    display: flex;
    flex-wrap: nowrap;
    list-style: none;
    padding: 0 10px;
    margin: 0;
    white-space: nowrap;
}

.course-item .item {
    background: var(--primary-color);
    border-radius: 20px;
    padding: 4px 15px;
    margin: 0 5px;
    font-size: 14px;
    color: #fff;
    display: inline-block;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(255, 87, 34, 0.3);
    transition: var(--transition);
}

.course-item .item:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(255, 87, 34, 0.4);
}

.course-item .item a {
    color: #fff;
    text-decoration: none;
}
