/* ===== 水生知旅页 ===== */

.study-main {
  padding-top: 0;
  padding-bottom: 30px;
  padding-bottom: var(--space);
}

/* ----- 标题 ----- */
.study-hero {
  text-align: center;
}

/* ----- 卡片走马灯（Element Plus card 模式） ----- */
.study-deck {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  /* 底边留给圆点；与下一板块间距由 .page-block 统一控制 */
  padding: 8px 0 0;
}

.study-deck__viewport {
  position: relative;
  /* 允许左右露出侧卡边缘；外层 body 已 overflow-x:hidden */
  overflow: visible;
  padding: 16px 0;
}

.study-deck__container {
  position: relative;
  width: 100%;
  height: 380px;
  cursor: grab;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  touch-action: pan-y;
}

.study-deck__container.is-dragging {
  cursor: grabbing;
}

.study-deck__container.is-dragging .study-deck__item {
  -webkit-transition: none;
  transition: none;
}

/* 宽约 70%：中间大卡，左右只露边缘（对齐效果图叠法） */
.study-deck__item {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 70%;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  overflow: hidden;
  background: #fff;
  background-color: rgba(255, 255, 255, 0.98);
  border-radius: 2px;
  box-shadow: 0 4px 16px rgba(30, 70, 100, 0.05);
  box-shadow: var(--shadow);
  -webkit-transform-origin: center center;
  -ms-transform-origin: center center;
  transform-origin: center center;
  -webkit-transition: -webkit-transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s ease, opacity 0.45s ease;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s ease, opacity 0.45s ease;
  will-change: transform;
  -webkit-user-drag: none;
}

/* 等导航期间先隐藏，避免中卡以 0.8 定住显得“卡住” */
.study-deck.is-intro-wait .study-deck__item,
.study-deck.is-intro-wait .study-deck__arrow,
.study-deck.is-intro-wait .study-deck__dots {
  opacity: 0;
  -webkit-transition: none;
  transition: none;
}

/* 入场：缩放与透明度一同柔和出现 */
.study-deck.is-intro .study-deck__item {
  -webkit-transition: -webkit-transform 0.72s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.55s ease, opacity 0.5s ease;
  transition: transform 0.72s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.55s ease, opacity 0.5s ease;
  pointer-events: none;
  opacity: 1;
}

.study-deck.is-intro .study-trip__pkg,
.study-deck.is-intro .study-trip__cta {
  pointer-events: auto;
}

.study-deck.is-intro .study-deck__arrow,
.study-deck.is-intro .study-deck__dot {
  pointer-events: none;
}

.study-deck__item img {
  -webkit-user-drag: none;
  pointer-events: none;
}

.study-deck__item.is-in-stage {
  cursor: pointer;
  z-index: 2;
}

.study-deck__item.is-active {
  z-index: 4;
  cursor: default;
  box-shadow: 0 8px 24px rgba(30, 70, 100, 0.09);
  box-shadow: var(--shadow-hover);
}

.study-deck__mask {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 5;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.35);
  opacity: 1;
  pointer-events: none;
  -webkit-transition: opacity 0.2s ease;
  transition: opacity 0.2s ease;
}

.study-deck__item.is-active .study-deck__mask {
  opacity: 0;
  visibility: hidden;
}

.study-deck__item.is-in-stage:hover .study-deck__mask {
  background: rgba(255, 255, 255, 0.18);
}

/* ----- 卡片内容 ----- */
.study-trip__media {
  position: relative;
  -webkit-box-flex: 0;
  -ms-flex: 0 0 50%;
  flex: 0 0 50%;
  width: 50%;
  max-width: 50%;
  height: 100%;
  overflow: hidden;
  background: #d8e6ee;
}

.study-trip__media img {
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.study-trip__body {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 50%;
  flex: 0 0 50%;
  width: 50%;
  max-width: 50%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  padding: 22px 24px 18px;
  min-width: 0;
  height: 100%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.study-trip__tags {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
  gap: 6px;
}

.study-trip__tags li {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 2px;
  background: #e8f6fb;
  color: #1a6b8a;
  font-size: 12px;
  line-height: 1.4;
  white-space: nowrap;
}

.study-trip__title {
  margin: 0 0 12px;
  color: #1a3a5c;
  font-size: 18px;
  font-weight: 700;
  line-height: 2;
  letter-spacing: 0.02em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.study-trip__meta {
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}

.study-trip__meta-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-bottom: 8px;
  color: #4a5a6a;
  font-size: 13px;
  line-height: 1.4;
}

.study-trip__meta-item:last-child {
  margin-bottom: 0;
}

.study-trip__icon {
  display: inline-block;
  -webkit-box-flex: 0;
  -ms-flex: 0 0 16px;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin-right: 6px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.study-trip__icon--pin {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300a8c0' stroke-width='2'%3E%3Cpath d='M12 21s7-4.5 7-11a7 7 0 1 0-14 0c0 6.5 7 11 7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E");
}

.study-trip__icon--people {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300a8c0' stroke-width='2'%3E%3Ccircle cx='9' cy='8' r='3'/%3E%3Ccircle cx='17' cy='9' r='2.5'/%3E%3Cpath d='M2 19c1.2-3.2 3.8-5 7-5s5.8 1.8 7 5'/%3E%3Cpath d='M14 19c.6-1.8 1.8-3 3.5-3 1.4 0 2.5.8 3.2 2'/%3E%3C/svg%3E");
}

.study-trip__packages {
  margin-bottom: 12px;
}

.study-trip__packages-label {
  display: block;
  margin-bottom: 8px;
  color: #1a3a5c;
  font-size: 13px;
  font-weight: 700;
}

.study-trip__package-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 8px;
}

.study-trip__pkg {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid #d0d8e0;
  border-radius: 2px;
  background: #f5f7f9;
  color: #666;
  font-size: 12px;
  line-height: 1.4;
  cursor: pointer;
  -webkit-transition: border-color 0.2s, background 0.2s, color 0.2s;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.study-trip__pkg.is-selected {
  border-color: #00a8c0;
  background: #e8f8fa;
  color: #1a6b8a;
}

.study-trip__pkg.is-soldout,
.study-trip__pkg:disabled {
  border-color: transparent;
  background: #eef0f2;
  color: #a0a8b0;
  cursor: not-allowed;
}

.study-trip__pkg:not(:disabled):not(.is-soldout):hover {
  border-color: #00a8c0;
}

.study-trip__followers {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  margin: 14px 0 4px;
  gap: 12px;
}

.study-trip__avatars {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.study-trip__avatars li {
  width: 28px;
  height: 28px;
  margin-left: -10px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #b8dce8;
  box-shadow: 0 4px 16px rgba(30, 70, 100, 0.05);
  box-shadow: var(--shadow);
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.study-trip__avatars li:first-child {
  margin-left: 0;
}

html.is-ie .study-trip__avatars li {
  margin-left: -10px;
}

html.is-ie .study-trip__avatars li:first-child {
  margin-left: 0;
}

.study-trip__follow-count {
  margin: 0;
  color: #2a3a4a;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
}

.study-trip__foot {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #e8ecf0;
  gap: 12px;
}

.study-trip__price {
  margin: 0;
  color: #f57c2f;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.study-trip__price span {
  margin-left: 4px;
  color: #999;
  font-size: 12px;
  font-weight: 400;
}

.study-trip__cta {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 30px;
  background: #f57c2f;
  background: -webkit-linear-gradient(left, #f8a053, #f57c2f);
  background: linear-gradient(to right, #f8a053, #f57c2f);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(30, 70, 100, 0.05);
  box-shadow: var(--shadow);
  -webkit-transition: -webkit-transform 0.15s ease, box-shadow 0.15s ease;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.study-trip__cta:hover,
.study-trip__cta:focus {
  color: #fff;
  -webkit-transform: translateY(-1px);
  -ms-transform: translateY(-1px);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(30, 70, 100, 0.09);
  box-shadow: var(--shadow-hover);
}

/* ----- 左右箭头 ----- */
.study-deck__arrow {
  position: absolute;
  top: 50%;
  z-index: 10;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: #7ec8d8;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  box-shadow: 0 4px 16px rgba(30, 70, 100, 0.05);
  box-shadow: var(--shadow);
  -webkit-transition: background 0.2s ease;
  transition: background 0.2s ease;
}

.study-deck__arrow span {
  display: block;
  margin-top: -2px;
}

.study-deck__arrow:hover {
  background: #00a8c0;
}

.study-deck__prev {
  left: 0;
}

.study-deck__next {
  right: 0;
}

/* ----- 分页圆点 ----- */
.study-deck__dots {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.study-deck__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #c5d8e0;
  cursor: pointer;
  -webkit-transition: background 0.2s ease, -webkit-transform 0.2s ease;
  transition: background 0.2s ease, transform 0.2s ease;
}

.study-deck__dot:hover {
  background: #7ec8d8;
}

.study-deck__dot.is-active {
  background: #00a8c0;
  -webkit-transform: scale(1.15);
  -ms-transform: scale(1.15);
  transform: scale(1.15);
}

/* ----- 响应式 ----- */
@media (max-width: 991px) {
  .study-deck__container {
    height: 360px;
  }

  .study-deck__item {
    width: 78%;
  }

  .study-trip__title {
    font-size: 16px;
  }

  .study-trip__body {
    padding: 16px 16px 14px;
  }

  .study-trip__price {
    font-size: 18px;
  }

  .study-trip__cta {
    padding: 8px 14px;
    font-size: 13px;
  }

  .study-trip__avatars li {
    width: 24px;
    height: 24px;
    margin-left: -8px;
  }

  .study-trip__follow-count {
    font-size: 13px;
  }
}

@media (max-width: 767px) {
  .study-deck {
    padding: 0;
  }

  .study-deck__container {
    height: 520px;
  }

  .study-deck__item {
    width: 86%;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }

  .study-trip__media {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 160px;
    flex: 0 0 160px;
    width: 100%;
    max-width: 100%;
    height: 160px;
  }

  .study-trip__body {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .study-trip__title {
    font-size: 15px;
    -webkit-line-clamp: 2;
  }

  .study-trip__meta-item {
    font-size: 12px;
  }

  .study-trip__avatars li {
    width: 22px;
    height: 22px;
    margin-left: -8px;
    border-width: 1.5px;
  }

  .study-trip__follow-count {
    font-size: 12px;
  }

  .study-deck__arrow {
    width: 32px;
    height: 32px;
    font-size: 22px;
  }

  .study-deck__prev {
    left: 4px;
  }

  .study-deck__next {
    right: 4px;
  }
}

/* ===== 研学课程（间距见 .page-block） ===== */
.study-courses {
  padding-bottom: 24px;
}

.study-courses .pagination {
  margin-top: 12px;
}

.study-courses__grid > [class*="col-"] {
  margin-bottom: 30px;
  margin-bottom: var(--space);
}

/* 保持不透明，仅上移入场，避免滚动时列表区空白闪烁 */
.study-courses__grid.js-reveal {
  opacity: 1;
  -webkit-transform: translateY(16px);
  -ms-transform: translateY(16px);
  transform: translateY(16px);
}

.study-courses__grid.js-reveal.is-in {
  -webkit-animation: study-courses-up-in 1s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation: study-courses-up-in 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@-webkit-keyframes study-courses-up-in {
  from {
    opacity: 1;
    -webkit-transform: translateY(16px);
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

@keyframes study-courses-up-in {
  from {
    opacity: 1;
    -webkit-transform: translateY(16px);
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

.course-card {
  display: block;
  height: 100%;
  overflow: hidden;
  border-radius: 2px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  -webkit-box-shadow: 0 4px 16px rgba(30, 70, 100, 0.05);
  box-shadow: 0 4px 16px rgba(30, 70, 100, 0.05);
  box-shadow: var(--shadow);
  -webkit-transition: -webkit-box-shadow 0.2s ease, -webkit-transform 0.2s ease;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.course-card:hover,
.course-card:focus {
  -webkit-box-shadow: 0 8px 24px rgba(30, 70, 100, 0.09);
  box-shadow: 0 8px 24px rgba(30, 70, 100, 0.09);
  box-shadow: var(--shadow-hover);
  -webkit-transform: translateY(-2px);
  -ms-transform: translateY(-2px);
  transform: translateY(-2px);
  outline: none;
}

.course-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #d8e6ef;
}

.course-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.course-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  padding: 4px 10px;
  border-radius: 2px;
  background: #30b0c7;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
}

.course-card__body {
  padding: 14px 14px 16px;
}

.course-card__name {
  margin: 0 0 14px;
  min-height: 2.8em;
  color: #222;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.course-card__foot {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  gap: 10px;
}

.course-card__price {
  margin: 0;
  color: #f57c2f;
  font-size: 14px;
  line-height: 1.2;
  white-space: nowrap;
}

.course-card__price span {
  font-size: 13px;
  font-weight: 700;
}

.course-card__price strong {
  margin: 0 1px;
  font-size: 20px;
  font-weight: 700;
}

.course-card__price em {
  margin-left: 2px;
  color: #999;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
}

.course-card__btn {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 999px;
  background: #f57c2f;
  background: -webkit-linear-gradient(left, #f8a053, #f57c2f);
  background: linear-gradient(to right, #f8a053, #f57c2f);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

/* ----- IE11：gap / aspect-ratio 降级 ----- */
html.is-ie .study-trip__tags li {
  margin: 0 6px 6px 0;
}

html.is-ie .study-trip__package-list .study-trip__pkg {
  margin: 0 8px 8px 0;
}

html.is-ie .study-trip__foot .study-trip__btn,
html.is-ie .course-card__foot .course-card__btn {
  margin-left: 12px;
}

html.is-ie .study-deck__dot {
  margin: 0 5px;
}

html.is-ie .course-card__media {
  height: 0;
  padding-bottom: 75%;
}

html.is-ie .course-card__media img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

html.is-ie .course-card:hover,
html.is-ie .course-card:focus {
  -webkit-transform: none;
  -ms-transform: none;
  transform: none;
}

@media (max-width: 767px) {
  .course-card__name {
    font-size: 14px;
    min-height: 0;
  }

  .course-card__price strong {
    font-size: 18px;
  }
}

/* ===== 水生知旅详情页 ===== */
.study-detail-page .study-main {
  padding-bottom: 30px;
  padding-bottom: var(--space);
}

.study-trip--detail {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin: 0 auto 24px;
  height: 380px;
  overflow: hidden;
  background: #fff;
  border-radius: 2px;
  box-shadow: 0 4px 16px rgba(30, 70, 100, 0.05);
  box-shadow: var(--shadow);
}

.study-trip--detail .study-trip__title {
  -webkit-line-clamp: 3;
  font-size: 20px;
}

.study-detail-tabs {
  margin: 0 auto;
  overflow: hidden;
  background: #fff;
  border-radius: 2px;
  box-shadow: 0 4px 16px rgba(30, 70, 100, 0.05);
  box-shadow: var(--shadow);
}

.study-detail-tabs__nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 8px;
  padding: 18px 24px 0;
  border-bottom: 1px solid #e8ecf0;
}

.study-detail-tab {
  position: relative;
  height: 40px;
  padding: 0 20px;
  margin: 0 0 -1px;
  border: none;
  border-radius: 2px 2px 0 0;
  background: transparent;
  color: #6b7a86;
  font-size: 16px;
  font-weight: 700;
  line-height: 40px;
  cursor: pointer;
  -webkit-transition: color 0.2s, background 0.2s;
  transition: color 0.2s, background 0.2s;
}

.study-detail-tab:hover {
  color: #2f92b8;
}

.study-detail-tab.is-active {
  color: #fff;
  background: #01B2C4;
  background: -webkit-linear-gradient(left, #01B2C4, #01A2F8);
  background: linear-gradient(90deg, #01B2C4, #01A2F8);
}

.study-detail-tab.is-active:hover {
  color: #fff;
}

.study-detail-tabs__panels {
  padding: 28px 32px 36px;
}

.study-detail-panel {
  display: none;
  color: #4a5a6a;
  font-size: 15px;
  line-height: 1.75;
}

.study-detail-panel.is-active {
  display: block;
}

.study-detail-panel__title {
  margin: 0 0 14px;
  color: #1a3a5c;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}

.study-detail-panel__title + .study-detail-panel__title,
.study-detail-schedule + .study-detail-panel__title,
.study-detail-panel__list + .study-detail-panel__title {
  margin-top: 28px;
}

.study-detail-panel__subtitle {
  margin: 20px 0 10px;
  color: #1a3a5c;
  font-size: 16px;
  font-weight: 700;
}

.study-detail-panel__lead {
  margin: 0 0 12px;
  color: #4a5a6a;
}

.study-detail-panel__lead strong {
  color: #f57c2f;
}

.study-detail-panel__note {
  margin: 20px 0 0;
  color: #8a96a0;
  font-size: 13px;
}

.study-detail-panel__list {
  margin: 0;
  padding: 0 0 0 1.2em;
}

.study-detail-panel__list li {
  margin-bottom: 8px;
}

.study-detail-panel__list li:last-child {
  margin-bottom: 0;
}

.study-detail-schedule {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 8px;
}

.study-detail-schedule__block {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 280px;
  flex: 1 1 280px;
  padding: 16px 18px;
  border-radius: 2px;
  background: #f5f9fb;
}

.study-detail-schedule__block h3 {
  margin: 0 0 10px;
  color: #1a6b8a;
  font-size: 15px;
  font-weight: 700;
}

.study-detail-schedule__block ol {
  margin: 0;
  padding: 0 0 0 1.2em;
}

.study-detail-schedule__block li {
  margin-bottom: 6px;
}

.study-detail-schedule__block p {
  margin: 0;
}

.study-detail-figure {
  margin: 28px 0 0;
  padding: 0;
}

.study-detail-figure img {
  display: block;
  width: 100%;
  max-height: 420px;
  border-radius: 2px;
  -o-object-fit: cover;
  object-fit: cover;
  background: #d8e6ee;
}

.study-detail-figure figcaption {
  margin-top: 8px;
  color: #8a96a0;
  font-size: 13px;
  text-align: center;
}

/* IE11：gap 降级 */
html.is-ie .study-detail-tabs__nav .study-detail-tab {
  margin-right: 8px;
}

html.is-ie .study-detail-schedule__block {
  margin: 0 20px 20px 0;
}

@media (max-width: 991px) {
  .study-trip--detail {
    height: 360px;
  }

  .study-trip--detail .study-trip__title {
    font-size: 18px;
  }

  .study-detail-tabs__panels {
    padding: 22px 20px 28px;
  }
}

@media (max-width: 767px) {
  .study-trip--detail {
    height: auto;
    min-height: 0;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }

  .study-trip--detail .study-trip__media {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 180px;
    flex: 0 0 180px;
    width: 100%;
    max-width: 100%;
    height: 180px;
  }

  .study-trip--detail .study-trip__body {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .study-trip--detail .study-trip__title {
    font-size: 16px;
    -webkit-line-clamp: 3;
  }

  .study-detail-tabs__nav {
    padding: 14px 14px 0;
    gap: 6px;
  }

  .study-detail-tab {
    height: 36px;
    padding: 0 14px;
    font-size: 14px;
    line-height: 36px;
  }

  .study-detail-tabs__panels {
    padding: 18px 16px 24px;
  }

  .study-detail-panel {
    font-size: 14px;
  }

  .study-detail-panel__title {
    font-size: 16px;
  }
}

/* ===== 首页水生知旅 ===== */
/* ===== 水生知旅（Swiper） ===== */
.study-section {
  width: 100%;
  padding: 30px 0;
  padding-top: var(--space);
  padding-bottom: var(--space);
  margin-top: 120px;
}

.study-track {
  position: relative;
  padding: 8px 36px;
  overflow: visible;
}

.study-wave {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 0;
  /* 抵消 study-track 左右 36px padding，大屏可铺满至 1600 */
  width: calc(100% + 72px);
  max-width: 1600px;
  height: auto;
  max-height: 477px;
  aspect-ratio: 1600 / 477;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  overflow: visible;
  background-image: url("../images/line.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 100% 100%;
}

.study-swiper {
  position: relative;
  z-index: 1;
  overflow: visible;
  padding-bottom: 8px;
}

.study-swiper .swiper-wrapper {
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  overflow: visible;
}

.study-swiper .swiper-slide {
  height: auto;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

/* 交错：偶数年下移，露出背后波浪线 */
.study-swiper .swiper-slide:nth-child(even) {
  margin-top: 52px;
}

.study-swiper .swiper-slide:nth-child(odd) {
  margin-top: 0;
  padding-bottom: 52px;
}

.study-card__link {
  display: block;
  background: #fff;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(30, 70, 100, 0.05);
  box-shadow: var(--shadow);
  -webkit-transition: box-shadow 0.2s, -webkit-transform 0.2s;
  transition: box-shadow 0.2s, transform 0.2s;
}

.study-card__link:hover {
  box-shadow: 0 8px 24px rgba(30, 70, 100, 0.09);
  box-shadow: var(--shadow-hover);
  -webkit-transform: translateY(-2px);
  -ms-transform: translateY(-2px);
  transform: translateY(-2px);
}

.study-card__media {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #d8e6ee;
}

.study-card__media img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  display: block;
}

.study-card__body {
  padding: 14px 14px 16px;
}

.study-card__desc {
  margin: 0 0 14px;
  min-height: 2.8em;
  color: #333;
  color: var(--text);
  font-size: 16px;
  line-height: 1.4;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.study-card__foot {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.study-card__price {
  color: #e74c3c;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}

.study-card__btn {
  display: inline-block;
  height: 30px;
  line-height: 30px;
  padding: 0 14px;
  border-radius: 15px;
  background: #f57c2f;
  background: -webkit-linear-gradient(left, #f8a053, #f57c2f);
  background: linear-gradient(to right, #f8a053, #f57c2f);
  color: #fff;
  font-size: 16px;
  white-space: nowrap;
}

.study-swiper__prev,
.study-swiper__next {
  width: 36px;
  height: 36px;
  margin-top: 0;
  top: 42%;
  color: #00a8c0;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(30, 70, 100, 0.05);
  box-shadow: var(--shadow);
}

.study-swiper__prev::after,
.study-swiper__next::after {
  font-size: 14px;
  font-weight: 700;
}

.study-swiper__prev {
  left: 0;
}

.study-swiper__next {
  right: 0;
}

.study-swiper__prev.swiper-button-disabled,
.study-swiper__next.swiper-button-disabled {
  opacity: 0.35;
}



/* object-fit 降级 */
.no-object-fit .study-card__media {
  position: relative;
}

.no-object-fit .study-card__media img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  -o-object-fit: none;
  object-fit: none;
  font-family: "object-fit: cover;";
}


html.is-ie .study-card__link:hover {
  -webkit-transform: none;
  -ms-transform: none;
  transform: none;
}

html.is-ie .study-wave {
  display: none;
}

html.is-ie .study-swiper .swiper-slide:nth-child(even),
html.is-ie .study-swiper .swiper-slide:nth-child(odd) {
  margin-top: 0;
  padding-bottom: 0;
}

html.is-ie .study-track {
  padding-left: 0;
  padding-right: 0;
}

html.is-ie .study-swiper {
  overflow: hidden;
}

html.is-ie .study-swiper .swiper-wrapper {
  display: block;
  *zoom: 1;
}

html.is-ie .study-swiper .swiper-wrapper:before,
html.is-ie .study-swiper .swiper-wrapper:after {
  content: " ";
  display: table;
}

html.is-ie .study-swiper .swiper-wrapper:after {
  clear: both;
}

html.is-ie .study-swiper .swiper-slide {
  float: left;
  width: 25%;
  max-width: none;
  padding: 0 10px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

html.is-ie .study-swiper__prev,
html.is-ie .study-swiper__next {
  display: none;
}


/* ===== 首页水生知旅：响应式 ===== */
@media (max-width: 1199px) {
  .study-section {
    margin-top: 56px;
  }

  .study-card__media {
    height: 140px;
  }
}

@media (max-width: 991px) {
  .study-section {
    margin-top: 48px;
  }

  .study-swiper .swiper-slide:nth-child(even) {
    margin-top: 36px;
  }

  .study-swiper .swiper-slide:nth-child(odd) {
    padding-bottom: 36px;
  }

  html.is-ie .study-swiper .swiper-slide {
    width: 50%;
  }
}

@media (max-width: 767px) {
  .study-section {
    margin-top: 40px;
    padding: 30px 0;
    padding-top: var(--space);
    padding-bottom: var(--space);
    overflow-x: hidden;
  }

  .study-track {
    padding-left: 28px;
    padding-right: 28px;
    overflow-x: hidden;
  }

  .study-swiper {
    overflow: hidden;
  }

  .study-wave {
    display: none;
  }

  .study-swiper .swiper-slide:nth-child(even),
  .study-swiper .swiper-slide:nth-child(odd) {
    margin-top: 0;
    padding-bottom: 0;
  }

  .study-card__media {
    height: 180px;
  }

  html.is-ie .study-swiper .swiper-slide {
    float: none;
    width: 100%;
    padding: 0 0 16px;
  }
}

