/* ========== Reset & Base ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  background-color: #f5f5f5;
  color: #333;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

/* ========== Layout ========== */
.page-wrapper {
  width: 100%;
  min-width: 1200px;
}

.container {
  width: 1200px;
  margin: 0 auto;
}

/* ========== Top Banner ========== */
.top-banner {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #c0392b 0%, #e74c3c 30%, #f5a623 60%, #c0392b 100%);
  position: relative;
  overflow: hidden;
}

.top-banner img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ========== Section: 线上实践体验 ========== */
.practice-section {
  background-color: #faf6f1;
  padding: 36px 0 48px;
}

.practice-inner {
  display: flex;
  gap: 18px;
  align-items: stretch;
  height: 360px;
}

/* Left text area — dashed box */
.practice-text {
  width: 280px;
  flex-shrink: 0;
  padding: 22px 20px 20px;
  display: flex;
  border-radius: 20px;
  flex-direction: column;
  background-color:#fff;
}

.practice-text .section-label {
  font-size: 22px;
  font-weight: 700;
  color: #c42a1b;
  margin-bottom: 16px;
  line-height: 1.3;
}

.practice-text .desc {
  flex: 1;
  font-size: 13px;
  line-height: 1.85;
  color: #333;
  text-align: justify;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 9;
  -webkit-box-orient: vertical;
}

.btn-experience {
  display: block;
  width: 148px;
  margin: 18px auto 0;
  padding: 10px 0;
  text-align: center;
  background: linear-gradient(90deg, #f07a2a 0%, #f5a623 55%, #f8c056 100%);
  color: #fff;
  font-size: 15px;
  border-radius: 24px;
  cursor: pointer;
  border: none;
  letter-spacing: 2px;
  box-shadow: 0 4px 10px rgba(240, 122, 42, 0.35);
  transition: opacity 0.25s, transform 0.25s;
}

.btn-experience:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

/* Center main image */
.practice-main-img {
  flex: 1;
  min-width: 0;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background: linear-gradient(160deg, #8b1a12 0%, #c0392b 35%, #d35400 70%, #e67e22 100%);
}

.practice-main-img .main-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.practice-main-img .img-placeholder {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at 70% 20%, rgba(255, 220, 150, 0.35) 0%, transparent 45%),
    linear-gradient(160deg, #7a1510 0%, #c0392b 40%, #e07a20 100%);
}

.practice-main-img .main-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.18) 100%);
}

.practice-main-img .main-title {
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 8px;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.45);
  margin-bottom: 18px;
  font-family: "STKaiti", "KaiTi", "华文楷体", "Microsoft YaHei", serif;
}

.practice-main-img .main-ribbon {
  position: relative;
  padding: 8px 36px;
  background: rgba(255, 255, 255, 0.92);
  color: #c42a1b;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 50%, calc(100% - 8px) 100%, 8px 100%, 0 50%);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Right thumbnail stack — image only */
.practice-thumbs {
  width: 148px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
}

.practice-thumbs .thumb-item {
  flex: 1;
  min-height: 0;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  background: linear-gradient(135deg, #c0392b, #e67e22);
  transition: border-color 0.2s, box-shadow 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.practice-thumbs .thumb-item.active {
  border-color: #c42a1b;
  box-shadow: 0 0 0 1px #c42a1b;
}

.practice-thumbs .thumb-item:hover {
  border-color: rgba(196, 42, 27, 0.55);
}

.practice-thumbs .thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.practice-thumbs .thumb-item .thumb-label {
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  text-align: center;
  padding: 0 8px;
  line-height: 1.4;
}

/* ========== Common Section Title ========== */
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 10px;
  margin-bottom: 24px;
  padding: 16px 0 12px;
}

.section-header .titles{
  font-size: 24px;
  font-weight: 700;
  color: #c42a1b;
  line-height: 1.2;
  letter-spacing: 1px;
}

.section-header .more-link {
  font-size: 13px;
  color: #999;
  cursor: pointer;
  transition: color 0.2s;
  line-height: 1.2;
}

.section-header .more-link:hover {
  color: #c42a1b;
}

/* ========== Section: 红色文化基地 ========== */
.base-section {
  padding: 0 0 40px;
  background-color: #f5f5f5;
}

.base-grid {
  display: flex;
  gap: 20px;
}

/* Left large card */
.base-main-card {
  width: 590px;
  height: 360px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
}

.base-main-card .card-img {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #5d3a1a 0%, #8b4513 40%, #6b3a2a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.base-main-card .card-img .placeholder-label {
  color: rgba(255, 255, 255, 0.9);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 3px;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.5);
}

.base-main-card .card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.2) 70%, transparent 100%);
}

.base-main-card .card-overlay .tag-badge {
  display: inline-block;
  background-color: #c0392b;
  color: #fff;
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 3px;
  margin-bottom: 8px;
}

.base-main-card .card-overlay .card-title {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.base-main-card .card-overlay .card-subtitle {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 14px;
}

.base-main-card .card-overlay .btn-enter {
  display: inline-block;
  padding: 7px 22px;
  background-color: #c0392b;
  color: #fff;
  font-size: 13px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.base-main-card .card-overlay .btn-enter:hover {
  background-color: #a93226;
}

/* Right grid */
.base-right-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 20px;
}

.base-small-card {
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: box-shadow 0.3s;
}

.base-small-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.base-small-card .card-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.base-small-card .card-img .placeholder-label {
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  font-weight: 600;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
  text-align: center;
  padding: 0 10px;
}

.base-small-card:nth-child(1) .card-img {
  background: linear-gradient(135deg, #2d5016 0%, #4a7c2e 50%, #2d5016 100%);
}

.base-small-card:nth-child(2) .card-img {
  background: linear-gradient(135deg, #8b4513 0%, #a0522d 50%, #6b3a2a 100%);
}

.base-small-card:nth-child(3) .card-img {
  background: linear-gradient(135deg, #7b241c 0%, #a93226 50%, #7b241c 100%);
}

.base-small-card:nth-child(4) .card-img {
  background: linear-gradient(135deg, #1a5276 0%, #2980b9 50%, #1a5276 100%);
}

.base-small-card .card-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 12px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

.base-small-card .card-bottom .name {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.base-small-card .card-bottom .sub {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 2px;
}

/* ========== Section: 主题活动 ========== */
.activity-section {
  padding: 0 0 50px;
  background-color: #f5f5f5;
}

.activity-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.activity-card {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.3s, transform 0.2s;
}

.activity-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.activity-card .card-banner {
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.card-banner img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.activity-card .card-banner .placeholder-label {
  color: rgba(255, 255, 255, 0.95);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 3px;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
  z-index: 1;
  text-align: center;
  padding: 0 20px;
}

.activity-card:nth-child(1) .card-banner {
  background: linear-gradient(135deg, #c0392b 0%, #e74c3c 40%, #f39c12 100%);
}

.activity-card:nth-child(2) .card-banner {
  background: linear-gradient(135deg, #b5271a 0%, #d4301a 50%, #e67e22 100%);
}

.activity-card:nth-child(3) .card-banner {
  background: linear-gradient(135deg, #7b241c 0%, #c0392b 40%, #d35400 100%);
}

.activity-card:nth-child(4) .card-banner {
  background: linear-gradient(135deg, #922b21 0%, #c0392b 50%, #e74c3c 100%);
}

.activity-card .card-body {
  padding: 18px 20px 22px;
}

.activity-card .card-body .card-title {
  font-size: 17px;
  font-weight: 700;
  color: #222;
  margin-bottom: 10px;
}

.activity-card .card-body .card-desc {
  font-size: 13px;
  line-height: 1.8;
  color: #777;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* 模块外层不加白底，宽度锁 1200，避免两侧白边铺满整屏 */
.shx-home {
  background-color: #f5f5f5 !important;
  overflow: hidden;
}

.shx-home .shx-map-card {
  width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
  overflow: hidden;
  border-radius: 16px;
}
