/* 教育地图页面样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  font-family: "Microsoft YaHei", sans-serif;
}

body {
  background: url("https://webapp.yunnan.cn/new/s/2025/xl/ylsz/b0.gif") no-repeat top center;
  background-size: 100% auto;
}

a {
  text-decoration: none;
  color: #333;
}

@media screen and (max-width: 768px) {
  body {
    background-image: url("../../images/mb1.jpg");
    background-size: cover;
    height: 100vh;
  }
}

/* 容器样式 */
.container {
  padding: 20px;
  margin-left: 200px;
  /* 左侧导航宽度 */
  display: flex;
  flex-direction: column;
  margin-top: 20px;
}

@media screen and (max-width: 768px) {
  .container {
    margin-left: 0;
    padding: 10px;
    margin-top: 0px;
  }
}

/* 地图区域样式 */
.map-section {
  display: flex;
  margin-bottom: 30px;
}

.map1 {
  position: relative;
  flex: 1;
  max-width: 55%;
  text-align: center;
}

.map1 .logo {
  width: 50%;
}

/* 地图上的覆盖内容容器，仅影响地图内的 map-container */
.map-section {
  position: relative;
  justify-content: space-around;
}

.map-section .map-container {
  position: absolute;
  top: 20%;
  left: 10%;
  z-index: 900;
  display: none;
  width: calc(40% - 20px);
}

.map1 .map-container {
  display: none !important;
}

.map-container .map-close-btn {
  position: absolute;
  top: 1%;
  right: 3%;
  text-align: center;
  border-radius: 10px;
  background-color: #318eb7;
  color: #fff;
  cursor: pointer;
  padding: 4px 10px;
  font-size: 14px;
}

@media screen and (max-width: 768px) {
  .map-container .map-close-btn {
    top: 5px;
    right: 5px;
  }

  .map-section .map-container {
    width: calc(100% - 20px);
    left: 10px;
  }
}

@media screen and (max-width: 768px) {
  .map-section {
    flex-direction: column;
  }

  .map1 {
    max-width: 100%;
    margin-bottom: 20px;
  }
}

.mtitle img {
  max-width: 39%;
}


/* 移动端顶部卡片 */
.mobile-top-card {
  position: fixed;
  padding-right: 20px;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  /* padding: 12px 16px 12px 8px; */
  z-index: 900;
}

.mobile-top-card .city-badge {
  width: 36px;
  height: 72px;
  border-radius: 10px 0 0 10px;
  background: linear-gradient(180deg, #4bb3ff, #2cc5b5);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-top-card .city-badge .city-text {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 14px;
}

.mobile-top-card .type-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 70px;
  cursor: pointer;
}

.mobile-top-card .type-item .count {
  font-size: 24px;
  font-weight: 700;
}

.mobile-top-card .type-item .label {
  margin-top: 4px;
  font-size: 14px;
}

.mobile-top-card .type-item.active {
  color: #068fdb;
}

@media screen and (min-width: 769px) {
  .mobile-top-card {
    display: none !important;
  }
}

/* 移动端：标题前位置图标与后下拉箭头，仅移动端显示 */
@media screen and (max-width: 768px) {
  .map-section-title.hd h2 {
    display: inline-flex;
    align-items: center;
  }

  .map-section-title.hd h2::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    background: url("ic1.png") no-repeat center/contain;
    margin-right: 6px;
  }

  .map-section-title.hd h2::after {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid #ffffff;
    margin-left: 6px;
  }
}

/* 右侧内容区样式 */
.right-content {
  width: 450px;
  padding-top: 40px;
}

@media screen and (max-width: 768px) {
  .right-content {
    width: 100%;
  }
}

.content-box {
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 0 10px 10px 10px;
  padding: 15px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  overflow: hidden;
}

.content-box h2 {
  color: #2196F3;
  font-size: 18px;
  margin-bottom: 10px;
  padding-bottom: 5px;
  border-bottom: 2px solid #e0e0e0;
}

.content-box .le,
.content-box .ri {
  margin-top: 5%;
  cursor: pointer;
}

.content-box .le {
  float: left;
}

.content-box .ri {
  float: right;
}

.mySwiper {
  float: left;
  width: 375px;
  overflow: hidden;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .mySwiper {
    width: 80%;
    margin: 0 auto;
  }

  .content-box .le,
  .content-box .ri {
    width: 30px;
  }
}

.content-box.videos .swiper-slide span {
  display: none;
}

/* 移动端：videos 区域改为纵向列表并隐藏左右按钮 */
@media screen and (max-width: 768px) {

  .content-box.videos .le,
  .content-box.videos .ri {
    display: none;
  }

  .content-box.videos .mySwiper {
    width: 100%;
    float: none;
    overflow: visible;
  }

  .content-box.videos .swiper-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .content-box.videos .swiper-slide {
    width: 100% !important;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .content-box.videos .swiper-slide span,
  .content-box.videos .swiper-slide p {
    display: block;
  }
  .content-box .videos{
    padding: 10px 20px;
  }
  .content-box .swiper-slide img{
    width: 100%;
  }
  .content-box .swiper-slide{
    padding: 20px 0;
    border-bottom: 1px solid #ccc;
  }
  .content-box.videos .swiper-slide:last-child{
    border-bottom: none;
  }
  .content-box.videos .swiper-slide p {
    font-size: 16px;
    font-weight: bold;
    text-align: left;
    width: 100%;
    padding: 10px 0;
  }

  .content-box.videos .swiper-slide span {
    font-size: 14px;
    line-height: 28px;
    text-align: justify;
    color: #3f3f3f;
  }
}


/* 地图栏目标题样式 */
.map-section-title {
  background: url(lb.png) no-repeat center center;
  border-radius: 10px 10px 0 0;
  padding: 5px 15px;
  display: inline-block;
}

.map-section-title h2 {
  color: white;
  font-size: 20px;
  margin: 0;
}

.map-section-title a {
  color: #fff;
}

.map-section-title.hd {
  width: 100%;
  background-size: cover;
}

.content-box.hd {
  border-top-right-radius: 0;
}

/* 地图内容区样式 */
.map-content {
  padding-top: 20px;
}

/* 学校滚动容器样式 */
.school-scroll-container {
  max-height: 400px;
  overflow-y: auto;
  padding-right: 10px;
}

@media screen and (max-width: 768px) {
  .school-scroll-container {
    max-height: 320px;
  }
}

/* 自定义滚动条样式 */
.school-scroll-container::-webkit-scrollbar {
  width: 6px;
}

.school-scroll-container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.school-scroll-container::-webkit-scrollbar-thumb {
  background: #c9923c;
  border-radius: 3px;
}

.school-scroll-container::-webkit-scrollbar-thumb:hover {
  background: #c9923c;
}

/* 学校列表纵向排列 */
.school-column {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* 学校列表样式 */
.school-list,
.video-list {
  display: flex;
  gap: 10px;
}

.school-item,
.video-item {
  text-align: center;
}

.school-column .school-item {
  display: flex;
  align-items: center;
  text-align: left;
  padding: 0px 10px 10px;
  border-bottom: 1px solid #e0e0e0;

}

.school-column .school-item:last-child {
  border-bottom: none;
}

.school-item img,
.video-item img {
  width: 175px;
  /* object-fit: cover; */
}

.school-column .school-item img {
  width: 120px;
  height: auto;
  border-radius: 5px;
}

.school-item p,
.video-item p {
  margin-top: 5px;
  font-size: 14px;
}

.school-column .school-item p {
  margin-left: 15px;
  margin-top: 0;
  font-size: 16px;
  font-weight: 500;
  color: #333;
}

/* 新闻列表样式 */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 300px;
  overflow-y: auto;
}

@media screen and (max-width: 768px) {
  .news-list {
    max-height: 240px;
  }
}

.news-list::-webkit-scrollbar {
  width: 6px;
}

.news-list::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.news-list::-webkit-scrollbar-thumb {
  background: #c9923c;
  border-radius: 3px;
}

.news-list::-webkit-scrollbar-thumb:hover {
  background: #c9923c;
}



.news-item {
  display: flex;
  align-items: center;
  font-size: 16px;
  padding: 10px 0 20px;
  border-bottom: 1px solid #e0e0e0;
}

.news-item:last-child {
  border-bottom: none;
}

.news-item p {
  flex: 1;
  margin: 0 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-item .date {
  color: #888;
  font-size: 14px;
}

span.dot {
  color: #c9923c;
}

/* 实践教学基地区域样式 */
.base-section {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 30px 0;
}

.section-content {
  padding: 20px;
  width: 80%;
  max-width: 1200px;
}

@media screen and (max-width: 768px) {
  .base-section {
    padding: 15px 0;
  }

  .section-content {
    width: 95%;
    padding: 10px;
  }
}

.section-title {
  overflow: hidden;
  text-align: center;
}

.section-title h2 {
  color: #2196F3;
  font-size: 22px;
  position: relative;
  display: inline-block;
}

.section-title h2:before,
.section-title h2:after {
  content: '';
  position: absolute;
  height: 2px;
  background-color: #e0e0e0;
  top: 50%;
  width: 50px;
}

.section-title h2:before {
  right: 100%;
  margin-right: 15px;
}

.section-title h2:after {
  left: 100%;
  margin-left: 15px;
}

@media screen and (max-width: 768px) {
  .section-title img {
    max-width: 200%;
    margin-left: -50%;
  }
}


/* 筛选按钮样式 */
.base-filter {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
}

.filter-btn {
  background-color: #f0f0f0;
  border: none;
  border-radius: 20px;
  padding: 5px 30px;
  font-size: 18px;
  cursor: pointer;
  border: 1px solid #0b87dc;
  color: #0b87dc;
}

@media screen and (max-width: 768px) {
  .base-filter {
    flex-wrap: wrap;
    gap: 10px;
  }

  .filter-btn {
    padding: 5px 15px;
    font-size: 14px;
  }
}

.filter-btn:hover {
  background-color: #e0e0e0;
}

.filter-btn.active {
  background-color: #00c3cc;
  border-color: #00c3cc;
  color: white;
}

/* 基地列表样式 */
.base-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

@media screen and (max-width: 768px) {
  .base-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

.base-item {
  background-color: #f9f9f9;
  border-radius: 5px;
  padding: 15px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.base-item:hover {
  background-color: #e5f6fc;
}

.base-content {
  font-size: 14px;
  color: #333;
}

/* 实践教学基地卡片展示区样式 */
.base-swiper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

@media screen and (max-width: 768px) {
  .base-swiper .swiper-slide {
    display: flex;
    justify-content: center;
  }
}

.base-card {
  width: 210px;
  height: 365px;
  perspective: 1000px;
  cursor: pointer;
}

@media screen and (max-width: 768px) {
  .base-card {
    height: 210px;
  }
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.base-card:hover .card-inner {
  transform: rotateY(180deg);
}

.card-front,
.card-back {
  position: absolute;
  width: 100%;

  backface-visibility: hidden;
  border-radius: 10px;
  overflow: hidden;
}

.card-front {
  background-color: #f9f9f9;
}

.card-back {
  background-color: #f9f9f9;
  transform: rotateY(180deg);
}

.card-front img,
.card-back img {
  width: 100%;

}

/* Swiper导航按钮样式 */
.swiper-button-prev,
.swiper-button-next {
  width: auto;
  height: auto;
  background: none;
}

@media screen and (max-width: 768px) {

  .swiper-button-prev img,
  .swiper-button-next img {
    width: 20px;
  }
}

.left-nav {
  position: absolute;
}

@media screen and (max-width: 768px) {
  .left-nav {
    position: relative;
  }

}

/* 实践基地 */
.jd .section-content {
  padding: 0;
}

/* 讲堂内容区样式 */
.lecture-content {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.lecture-image {
  position: relative;
  flex: 0 0 48%;
  max-width: 48%;
  font-size: 0;
}

@media screen and (max-width: 768px) {
  .lecture-content {
    flex-direction: column;
    gap: 15px;
  }

  .lecture-image {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

.lecture-image img {
  width: 100%;
}

.lecture-title {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 10px;
  font-size: 18px;
  text-align: center;
}

.lecture-info {
  flex: 1;
}

.lecture-info h3 {
  font-size: 22px;
  color: #333;
  margin-bottom: 15px;
}

.lecture-info p {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
  margin-bottom: 10px;
}

.l1 {
  padding: 20px 0 10px;
  border-bottom: 1px solid #ccc;
}

.l1:last-of-type {
  border-bottom: none;
}

.nav-logo {
  margin-bottom: 300px;
}

.left-nav {
  width: 280px;
  left: 1%;
  top: 0;
  height: auto;
}

@media screen and (max-width: 768px) {
  .nav-logo {
    margin-bottom: 5px;
    /* display: none; */
  }

  .nav-logo-img {
    max-width: 30%;
  }

  .nav-item {
    display: none;
  }

  .left-nav {
    padding: 0;
    left: 0;
    top: 40px;
    width: auto;
  }
}

/* 移动端地区选择底部菜单与遮罩 */
.mobile-region-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 3000;
  display: none;
}

.mobile-region-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.2);
  padding: 0 0 12px;
  z-index: 3001;
}

.mobile-region-sheet .sheet-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(90deg, #4bb3ff, #2cc5b5);
  color: #fff;
  border-radius: 12px 12px 0 0;
  padding: 10px 12px;
}

.mobile-region-sheet .sheet-title {
  font-size: 14px;
}

.mobile-region-sheet .sheet-close {
  background-color: #1f78b7;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 4px 10px;
  cursor: pointer;
}

.mobile-region-sheet .region-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 12px 4px 8px 4px;
}

.mobile-region-sheet .region-item {
  background: #f1f1f1;
  border: none;
  border-radius: 10px;
  padding: 10px 0;
  text-align: center;
  font-size: 14px;
  cursor: pointer;
}

@media screen and (min-width: 769px) {
  .mobile-region-overlay {
    display: none !important;
  }
}

/* 隐藏 */
@media screen and (max-width: 768px) {

  .right-content,
  .base-section {
    display: none !important;
  }
}

/* 移动端全屏资讯覆盖层（保留底部导航可见） */
.mobile-full-overlay {
  position: fixed;
  inset: 0;
  background: url("../../images/mb1.jpg") no-repeat center center;
  background-size: cover;
  z-index: 900;
  /* 底部导航 z-index:1000，确保导航在上 */
  display: none;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 60px;
  /* 给底部导航留空间 */
}

.mobile-full-panel {
  max-width: 680px;
  margin: 0 auto;
  padding: 12px 15px 24px;
}

.mobile-full-panel .panel-header {
  text-align: center;
  margin: 8px 0 12px;
}

.mobile-full-panel .panel-title-img {
  max-width: 90%;
  height: auto;
}

.mobile-full-panel .panel-body {
  padding: 0 4px;
}

@media screen and (min-width: 769px) {
  .mobile-full-overlay {
    display: none !important;
  }

}<!--ecms sync check [sync_thread_id="3bcee7cc5a424330844ab778a62d31c1" sync_date="2025-12-16 16:08:36" check_sum="3bcee7cc5a424330844ab778a62d31c1]-->