/* 全局样式 */
* {
    margin: 0;
    padding: 0;

}

body {
    font-family: "Microsoft YaHei", "Hiragino Sans GB", "WenQuanYi Micro Hei", sans-serif;
    color: #333;
    background-color: #f5f7fa;
    background-repeat: repeat-y;
    background-position: center top;
    background-size: 100% auto;
    line-height: 1.5;
}

ul, li {
    list-style: none;
}

a {
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

a:hover {
    color: #2b87d8;
}

img {
    width: 100%;
    height: auto;
}

.container {
    width: 100%;
    margin: 0 auto;
}

/* 内容包装器，提供15%的左右padding */
.content-wrapper {
    padding-left: 15% !important;
    padding-right: 15% !important;
    box-sizing: border-box !important;
    width: 100% !important;
}

/* 头部区域 */


.header .logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo img {
    height: 60px;
    margin-right: 15px;
}

.logo h1 {
    font-size: 28px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    background: linear-gradient(to bottom, #a0cfff 10%, #004cff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 主要内容区域 */
.main-content {
    padding: 10px 0;
}

/* 模块公共样式 */
.module {
    margin-bottom: 25px;
    width: 100%;

}

.module-inner {

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 10px;

    width: 100%;

}

/* 智慧农业导航模块 */


/* 左侧垂直导航 */




.nav-item.active {
    background-color: #f0f5fe;
    color: #0b70eb;
    border-left: 5px solid #016aeb;
    font-weight: bold;
}

.nav-item:hover:not(.active) {
    background-color: #f0f6ff;
    border-left: 3px solid #004cff;
}

.nav-item img {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    flex-shrink: 0;
    transition: all 0.3s ease;
    object-fit: contain;
}

/* 导航项激活状态下的图标样式 */
.nav-item.active img {
    filter: none !important; /* 移除之前的filter */
}

/* 导航项悬停状态下的图标样式 */
.nav-item:hover:not(.active) img {
    transform: scale(1.1);
}

.nav-item span {
    font-size: 18px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

/* 右侧内容区 */


/* 顶部Tab导航 */
.tab-nav {
    display: flex !important;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 15px;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

.tab-item {
    padding: 10px 20px !important;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    white-space: nowrap !important;
}

.tab-item.active {
    color: #004cff;
    font-weight: bold;
}

.tab-item.active:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #004cff;
}

/* 内容网格 */


.grid-item {
    min-height: 80px;
    box-sizing: border-box !important;
  
    overflow: hidden !important;
}

.grid-item a {
    display: block !important;

    height: 100% !important;
    text-decoration: none;
}

.grid-inner {
    width: 100% !important;
    height: 100% !important;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    text-align: center;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

.grid-inner h4 {
    color: #004cff;
    font-size: 16px;
    margin: 0;
}

.grid-inner:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background-color: rgba(255, 255, 255, 0.9);
}

/* 工作动态模块 */
.section-title {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
}

.section-title h2 {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.section-title span {
    font-size: 15px;
    color: #999;
    text-transform: uppercase;
}

.news-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 0 15px;
}

.news-column {
    width: 48%;
}

.news-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 12px 15px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.news-dot {
    width: 15px;
    height: 15px;
    background-color: #004cff;
    margin-right: 10px;
    flex-shrink: 0;
}

.news-item a {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news-date {
    color: #999;
    font-size: 12px;
    margin-left: 10px;
}

/* 广告区域 */
.banner-box {
    display: flex;
    justify-content: space-between;

}

.banner-box a {
    width: 48%;
}



/* 精品课程模块 */
.courses-container {
    margin-bottom: 20px;
    padding: 0 15px;
    width: 100%;
    box-sizing: border-box;
    display: grid;
    gap: 20px;
}

/* 移除旧的行结构，统一使用grid布局 */


.course-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: inherit;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.course-img {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 比例 */
    overflow: hidden;
}

.course-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.course-card:hover .course-img img {
    transform: scale(1.05);
}

.course-info {
    padding: 15px;
    background: #fff;
}

.course-info h3 {
    font-size: 16px;
    color: #333;
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.course-date {
    font-size: 12px;
    color: #999;
}

/* 课程列表页面样式 */
.courses-grid {
    display: grid;
   
    gap: 20px;
    padding: 0 0px;
}

/* 底部 */
.footer {
    background-color: #0084ff;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

.footer p {
    font-size: 14px;
}

/* 媒体查询 - 响应式设计 */




/* 导航区域 */
.nav-wrapper {
    background-color: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    margin-bottom: 20px;
    padding: 10px 0;
}

.main-nav ul {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
}

.main-nav li {
    position: relative;
    padding: 10px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.main-nav li.active {
    background-color: #004cff;
    border-radius: 5px;
}

.main-nav li.active a {
    color: white;
}

.main-nav li:hover:not(.active) {
    background-color: #f0f6ff;
    border-radius: 5px;
}

.main-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333;
    font-size: 14px;
    transition: all 0.3s ease;
}

.main-nav img {
    width: 24px;
    height: 24px;
    transition: all 0.3s ease;
}

/* 导航项激活状态下的图标样式 */
.main-nav li.active img {
    filter: brightness(0) invert(1); /* 将图标颜色改为白色 */
}

/* 导航项悬停状态下的图标样式 */
.main-nav li:hover:not(.active) img {
    transform: scale(1.1);
}

/* 分类 */
.category {
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    margin-top: 15px;
}

.category span {
    color: #666;
    font-size: 14px;
}

.category a {
    padding: 5px 15px;
    border-radius: 15px;
    color: #333;
    font-size: 14px;
    transition: all 0.3s ease;
}

.category a.active {
    background-color: #0b70eb;
    color: white;
}

.category a:hover:not(.active) {
    background-color: #f0f6ff;
}

/* 二级页面顶部样式 */
.courses-header {
    background: linear-gradient(to bottom, #3a8dff, #004cff);
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.courses-header .logo img {
    height: 50px;
    margin-right: 10px;
}

.courses-nav {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    margin: 20px auto;
    max-width: 1200px;
    overflow: hidden;
}


.courses-nav-item {
    padding: 15px 25px;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    font-weight: normal;
}

.courses-nav-item.active {
    color: #0b70eb;
    font-weight: bold;
}

.courses-nav-item.active::after {
}

.courses-nav-item:hover:not(.active) {
    color: #0b70eb;
    background-color: #f9f9f9;
}

.courses-category {
    padding: 10px 25px;
    display: flex;
    align-items: center;
    border-top: 0;
    margin-top: 0;
    background-color: #f9f9f9;
}

.courses-category span {
    color: #666;
    margin-right: 10px;
}

.courses-category a {
    padding: 5px 15px;
    border-radius: 15px;
    color: #333;
    transition: all 0.3s ease;
    margin-right: 5px;
}

.courses-category a.active {
    color: #0b70eb;
}

.courses-category a:hover:not(.active) {
    background-color: #e9f2ff;
}

.courses-title {
    text-align: center;
    margin: 0 0 30px 0;
}

.courses-title h2 {
    font-size: 24px;
    color: #333;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.courses-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background-color: #004cff;
}

/* 课程列表容器样式 */
.main-content .container.content-wrapper {

    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* 优化响应式布局 */
/* 媒体查询优化 */
@media screen and  (min-width: 2560px) {
.courses-title h2 {
    font-size: 44px;
}
.course-info img{
width:18px;
margin-right:1%;
}
.phone1{
display:none;
}
.right-content1{
width:1970px;
}
.course-row{
margin-top:660px;
}
.course-card1 {
    width: 46%;
    float: left;
    padding: 10px 30px;
}



.side_list img{
width:1920px;
height:1080px;
}
.courses-category a {
    font-size: 28px;
}
.courses-category span {
    font-size: 28px;
}
.courses-nav-item {
    font-size: 32px;
}

.course-card {
   width: 32%;
    margin-left: 1%;
	float: left;
}
.grid-item {
    min-height: 80px;
    box-sizing: border-box !important;
     width: 100%;
    height: 100%;
    float: left;
    overflow: hidden !important;
    padding: 5px 5px;
}
.courses-nav-inner {
    display: flex;
    border-bottom: 1px solid #f0f0f0;
}
.banner-box img {
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;

}
.content-grid {
	margin-left: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);

}
left-nav {
    width: 15% !important; 
     min-width: 150px !important; 
    background-color: white;
    border-radius: 5px 0 0 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    display: flex; 
    flex-direction: column;
    flex-shrink: 0 !important;
}
.nav-item {
    display: flex;
    align-items: center;
    padding: 15px 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.nav-container {
    display: flex !important;
    border-radius: 5px;
    overflow: hidden;
    min-height: 300px;
    width: 100% !important;

}
.right-content {
      width: 80%;  
    background-color: #e5f1fd;
    padding: 15px !important;
    border-radius: 0 5px 5px 0;
	position: absolute;
	height:1050px;


}
 .courses-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 0 0px;
}
.courses-nav{max-width: 2400px;}

.header {
    background-image: url(../images/banner.png);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 100% auto;
    height: auto;
    padding-top: 16%;
    position: relative;
    margin-bottom: 10px;
}

	.course-date {
    font-size: 24px;
    color: #999;
	}
	.course-info h3 {
    font-size: 26px;
    color: #333;
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
	}
	.footer p {
    font-size: 24px;
	}
	.left-nav {
    width: 425px;
    background-color: white;
    border-radius: 5px 0 0 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    flex-shrink: 0 !important;
    height: 1100px;
	}
	.section-title h2 {
    font-size: 46px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
	}
	.news-date {
    color: #999;
    font-size: 24px;
    margin-left: 10px;
	}
    .news-item {
    font-size: 22px;
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 12px 15px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
	}
    
	.nav-item span {
    font-size: 28px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
	}
	.tab-item {
    padding: 10px 20px !important;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    white-space: nowrap !important;
    font-size: 26px;
	}
}
@media screen and (max-width: 2560px) and (min-width: 1940px) {
.courses-title h2 {
    font-size: 40px;
}
.course-info img{
width:18px;
margin-right:1%;
}
.phone1{
display:none;
}
.right-content1{
width:1500px;
}
.course-row{
margin-top:465px;
}
.course-card1 {
    width: 46%;
    float: left;
    padding: 10px 24px;
}



.side_list img{
width:1470px;
height:827px;
}
.courses-category a {
    font-size: 22px;
}
.courses-category span {
    font-size: 22px;
}
.courses-nav-item {
    font-size: 26px;
}
.course-card {
        width: 32%;
    margin-left: 1%;
	float: left;
}
.grid-item {
   
    width: 100%;
    height: 100%;
    float: left;
    padding: 5px 5px;
}
.courses-nav-inner {
    display: flex;
    border-bottom: 1px solid #f0f0f0;
}

.header {
    background-image: url(../images/banner.png);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 100% auto;
    height: auto;
    padding-top: 16%;
    position: relative;
    margin-bottom: 10px;
}
.banner-box img {
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;

}
.content-grid {
  margin-left: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);

}
left-nav {
    width: 15% !important; 
     min-width: 150px !important; 
    background-color: white;
    border-radius: 5px 0 0 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    display: flex; 
    flex-direction: column;
    flex-shrink: 0 !important;
}
.nav-item {
    display: flex;
    align-items: center;
    padding: 15px 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.nav-container {
    display: flex !important;
    border-radius: 5px;
    overflow: hidden;
    min-height: 300px;
    width: 100% !important;
    padding: 10px 0 10px 0;
}
.right-content {

    background-color: #e5f1fd;
    padding: 15px !important;
    border-radius: 0 5px 5px 0;
    display: initial;
    flex-direction: column !important;
    min-height: 70px;
    overflow: hidden !important;
    box-sizing: border-box !important;
	position: absolute;
	    height: 827px;
    width: 1500px;

}
 .courses-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 0 0px;
}
	.courses-nav{max-width: 1800px;}
    .header {
       
    }
	.course-date {
    font-size: 20px;
    color: #999;
	}
	.course-info h3 {
    font-size: 22px;
    color: #333;
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
	}
	.footer p {
    font-size: 22px;
	}
	.left-nav {
    width: 300px;
    background-color: white;
    border-radius: 5px 0 0 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    flex-shrink: 0 !important;
    height: 827px;
	}
	.section-title h2 {
    font-size: 42px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
	}
	.news-date {
    color: #999;
    font-size: 20px;
    margin-left: 10px;
	}
    .news-item {
    font-size: 22px;
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 12px 15px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
	}

	.nav-item span {
    font-size: 24px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
	}
	.tab-item {
    padding: 10px 20px !important;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    white-space: nowrap !important;
    font-size: 22px;
	}
}
@media screen and (max-width: 1940px) and (min-width: 1500px) {
.courses-title h2 {
    font-size: 24px;
}
.course-info img{
width:14px;
margin-right:1%;
}
.phone1{
display:none;
}


.right-content1{
width:1180px;
}
.side_list img{
width:1150px;
height:647px;
}
.courses-category a {
    font-size: 20px;
}s
.courses-category span {
    font-size: 20px;
}
.courses-nav-item {
    font-size: 24px;
}
.course-card {
       width: 32%;
    margin-left: 1%;
	float: left;
}
.course-row{
margin-top:320px;
}
.course-card1 {
    width: 46%;
    float: left;
    padding: 10px 15px;
}
.grid-item {
   
    width: 100%;
    height: 100%;
    float: left;
    padding: 5px 5px;
}
.courses-nav-inner {
    display: flex;
    border-bottom: 1px solid #f0f0f0;
}

.header {
    background-image: url(../images/banner.png);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 100% auto;
    height: auto;
    padding-top: 16%;
    position: relative;
    margin-bottom: 10px;
}
.banner-box img {
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
 
}
.content-grid {
  margin-left: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);

}
left-nav {
    width: 15% !important; 
     min-width: 150px !important; 
    background-color: white;
    border-radius: 5px 0 0 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    display: flex; 
    flex-direction: column;
    flex-shrink: 0 !important;
}
.nav-item {
    display: flex;
    align-items: center;
    padding: 15px 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.nav-container {
    display: flex !important;
    border-radius: 5px;
    overflow: hidden;
    min-height: 300px;
    width: 100% !important;
	    padding: 10px 0 10px 0;
  
}
.right-content {
    width: 1130px;  
    background-color: #e5f1fd;
    padding: 15px !important;
    border-radius: 0 5px 5px 0;
	position: absolute;
	height: 627px;


}
 .courses-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 0 0px;
}
    .header {
       
    }
	.courses-nav{
	max-width: 1400px;
	}
	.course-date {
    font-size: 16px;
    color: #999;
	}
	.course-info h3 {
    font-size: 17px;
    color: #333;
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
	}
	.footer p {
    font-size: 18px;
	}
	.left-nav {
    width: 220px;
    background-color: white;
    border-radius: 5px 0 0 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    flex-shrink: 0 !important;
    height: 647px;
	}
	.section-title h2 {
    font-size: 35px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
	}
	.news-date {
    color: #999;
    font-size: 16px;
    margin-left: 10px;
	}
    .news-item {
    font-size: 18px;
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 12px 15px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
	}

	.nav-item span {
    font-size: 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
	}
	.tab-item {
    padding: 10px 20px !important;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    white-space: nowrap !important;
    font-size: 18px;
	}
}
@media screen and (max-width: 1500px) and (min-width: 1080px) {
.courses-title h2 {
    font-size: 20px;
}
.course-info img{
width:18px;
margin-right:1%;
}
.phone1{
display:none;
}
module-courses {

    width: 1200px;

}
.right-content1{
width:890px;
}
.side_list img{
width:890px;
height:500px;
}
.courses-category a {
    font-size: 16px;
}
.courses-category span {
    font-size: 16px;
}
.courses-nav-item {
    font-size: 20px;
}
.course-row{
margin-top:200px;
}
.course-card1 {
    width: 48%;
    float: left;
    padding: 10px 5px;
}
.course-card {
        width: 32%;
    margin-left: 1%;
	float: left;
}
.grid-item {
   
    width: 100%;
    height: 100%;
    float: left;
    padding: 5px 5px;
}
.courses-nav-inner {
    display: flex;
    border-bottom: 1px solid #f0f0f0;
}

.header {
    background-image: url(../images/banner.png);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 100% auto;
    height: auto;
    padding-top: 16%;
    position: relative;
    margin-bottom: 10px;
}
.banner-box img {
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;

}
.content-grid {
   margin-left: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);

}
left-nav {
    width: 15% !important; 
     min-width: 150px !important; 
    background-color: white;
    border-radius: 5px 0 0 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    display: flex; 
    flex-direction: column;
    flex-shrink: 0 !important;
}
.nav-item {
    display: flex;
    align-items: center;
    padding: 15px 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.nav-container {
    display: flex !important;
    border-radius: 5px;
    overflow: hidden;
    min-height: 300px;
    width: 100% !important;
 
}
.right-content {
      width: 880px;  
    background-color: #e5f1fd;
    padding: 15px !important;
    border-radius: 0 5px 5px 0;
	position: absolute;
height:480px;

}
 .courses-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 0 0px;
}
    .header {
       
    }
	max-width: 1200px;
	.course-date {
    font-size: 16px;
    color: #999;
	}
	.course-info h3 {
    font-size: 17px;
    color: #333;
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
	}
	.footer p {
    font-size: 18px;
	}
	.left-nav {
    width: 270px;

    background-color: white;
    border-radius: 5px 0 0 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    flex-shrink: 0 !important;
    height: 510px;
	}
	.section-title h2 {
    font-size: 35px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
	}
	.news-date {
    color: #999;
    font-size: 16px;
    margin-left: 10px;
	}
    .news-item {
    font-size: 18px;
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 12px 15px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
	}
	.nav-item span {
    font-size: 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
	}
	.tab-item {
    padding: 10px 20px !important;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    white-space: nowrap !important;
    font-size: 18px;
	}
}




@media (max-width: 1080px) {
.courses-title h2 {
    font-size: 20px;
}
.phone2{
display:none;
}

.module-inner {

    padding: 0px !important;

}
.left-nav{

    width: 100%;
    background-color: azure;

}
.nav-item.active {
    width: 85%;
}
.course-card {
    width: 100%;
}
.grid-item {
   
    width: 100%;
    height: 100%;
    float: left;
    padding: 5px 5px;
}
.courses-nav-item {

    float: left;
}
.courses-nav-inner {
    display: flow-root;
    border-bottom: 1px solid #f0f0f0;
}

.header {
    background-image: url(../images/20250608banner.jpg);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 100% auto;
    height: auto;
    padding-top: 25%;
    position: relative;

}
.banner-box img {
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    margin-top: 10px;
}
.content-grid {
   margin-left: 2%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);

}
left-nav {

    background-color: white;
    border-radius: 5px 0 0 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    flex-direction: column;
    flex-shrink: 0 !important;
}
.nav-item {
	background-color: #378dfa;
    align-items: center;
    padding: 5px 0px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 1px solid transparent;
	border-bottom: 2px solid #ffffff;
    width: 33%;
    float: left;

}
.nav-container {
    display: block;
    border-radius: 5px;
    overflow: hidden;
    min-height: 300px;
    width: 100% !important;

}
.tab-item {
    padding: 10px 5px !important;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    white-space: nowrap !important;
    width: 25%;
    float: left;
}
.tab-nav {
    display: block;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 15px;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}
.right-content {
      width: 100%;  
    background-color: #e5f1fd;
    padding: 15px !important;
    border-radius: 0 5px 5px 0;
	position: absolute;

}

 .courses-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
    padding: 0 0px;
}
    .banner-box {
    display: block;
    justify-content: space-between;
    padding: 0 15px;
}.course-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .content-wrapper {
        padding-left: 5%;
        padding-right: 5%;
		display: block;
    }、
    .news-column {
    width: 100%;
    float: left;
	}	
	.news-container {
    display: block;

	}
.news-column {
    width: 100%;
}
}



/* 课程页面样式 */
.module-courses {
    box-sizing: border-box !important;
}

.module-courses .module-inner {  
    border-radius: 8px;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

.courses-title {
    text-align: center;
    margin: 0 0 30px 0;
    }
    
.courses-title h2 {

    color: #333;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    }
    
.courses-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background-color: #004cff;
    }
    

.phone .header {
    background-image: url(../images/20250608banner.jpg);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 100% auto;
    height: auto;
    padding-top: 25%;
    position: relative;
    margin-bottom: 10px;
}
.lecture_room .poster-next-btn {
    background: url(farmer202107lectureNext.png) no-repeat center;
    right: 0;
}
.lecture_room .poster-prev-btn {
    background: url(farmer202107lecturePrev.png) no-repeat center;
    left: 0;
}