#section01,
#section01 * {
  box-sizing: border-box;
}

#section01 {
  --primary: #70208d;
  --primary-dark: #5e1479;
  --text: #25202a;
  --muted: #69616f;
  --surface: #ffffff;
  --shadow: 0 8px 24px rgba(30, 20, 38, 0.10);
  --overlay: rgba(116, 73, 39, 0.78);
  --radius: 3px;
  padding: 76px 0 40px;
  background: #fff;
  color: var(--text);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

#section01 .inner {
  width: min(calc(100% - 40px), 1140px);
  margin-inline: auto;
}

#section01 .head {
  margin-bottom: 46px;
}

#section01 .eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 7px;
  color: #665c68;
  font-size: 15px;
  line-height: 1.5;
}

#section01 .eyebrow::before {
  width: 40px;
  height: 1px;
  background: var(--primary);
  content: "";
}

#section01 .title {
  margin: 0;
  color: #090909;
  font-size: clamp(38px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.04em;
}

#section01 .title span {
  color: var(--primary);
}

#section01 .layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}

#section01 .nav {
  display: grid;
  gap: 16px;
  align-content: start;
}

#section01 .nav-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 61px;
  padding: 14px 18px;
  border: 0;
  background: var(--surface);
  box-shadow: var(--shadow);
  color: #5f5864;
  font: inherit;
  font-size: 17px;
  text-align: left;
  cursor: pointer;
  transition: background-color .22s ease, color .22s ease, transform .22s ease, box-shadow .22s ease;
}

#section01 .nav-item:hover {
  color: var(--primary);
  transform: translateX(3px);
  box-shadow: 0 10px 28px rgba(30, 20, 38, 0.14);
}

#section01 .nav-item:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

#section01 .nav-item.is-active {
  background: var(--primary);
  color: #fff;
  box-shadow: none;
}

#section01 .nav-item.is-active::after {
  position: absolute;
  top: 50%;
  right: -11px;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 11px solid var(--primary);
  content: "";
  transform: translateY(-50%);
}

#section01 .icon {
  display: grid;
  width: 16px;
  flex: 0 0 16px;
  place-items: center;
  color: var(--primary);
  font-size: 15px;
  line-height: 1;
}

#section01 .nav-item.is-active .icon {
  color: #fff;
}

#section01 .panels {
  min-width: 0;
}

#section01 .panel {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #ddd;
  box-shadow: 0 10px 26px rgba(31, 22, 35, 0.12);
}

#section01 .panel[hidden] {
  display: none;
}

#section01 .image {
  display: block;
  width: 100%;
  height: 450px;
  object-fit: cover;
}

#section01 .info {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 21px 20px 25px;
  background: var(--overlay);
  color: #fff;
  backdrop-filter: blur(2px);
}

#section01 .info h2 {
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.35;
}

#section01 .info p {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
}

#section01 .info .meta {
  margin-bottom: 7px;
  font-size: 14px;
}

#section01 .info strong {
  font-weight: 700;
}

@media (max-width: 991px) {
  #section01 {
    padding-top: 64px;
  }

  #section01 .head {
    margin-bottom: 34px;
  }

  #section01 .layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  #section01 .nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  #section01 .nav-item {
    min-height: 56px;
    padding: 12px 15px;
    font-size: 15px;
  }

  #section01 .nav-item.is-active::after {
    top: auto;
    right: auto;
    bottom: -9px;
    left: 50%;
    border-top: 9px solid var(--primary);
    border-right: 9px solid transparent;
    border-bottom: 0;
    border-left: 9px solid transparent;
    transform: translateX(-50%);
  }
}

@media (max-width: 767px) {
  #section01 {
    padding: 48px 0 24px;
  }

  #section01 .inner {
    width: min(calc(100% - 32px), 1140px);
  }

  #section01 .head {
    margin-bottom: 28px;
  }

  #section01 .eyebrow {
    font-size: 13px;
  }

  #section01 .eyebrow::before {
    width: 30px;
  }

  #section01 .title {
    font-size: clamp(34px, 11vw, 44px);
  }

  #section01 .nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 8px;
    border-radius: 4px;
    background: #f7f4f8;
  }

  #section01 .nav-item {
    min-width: 0;
    min-height: 50px;
    padding: 11px 12px;
    gap: 9px;
    border: 1px solid rgba(112, 32, 141, 0.08);
    box-shadow: 0 4px 12px rgba(30, 20, 38, 0.08);
    font-size: 14px;
  }

  #section01 .nav-item:hover {
    transform: none;
  }

  #section01 .nav-item.is-active {
    border-color: var(--primary);
    box-shadow: 0 5px 14px rgba(112, 32, 141, 0.18);
  }

  #section01 .nav-item.is-active::after {
    display: none;
  }

  #section01 .icon {
    width: 15px;
    flex-basis: 15px;
    font-size: 14px;
  }

  #section01 .panel {
    min-height: 0;
    height: 450px;
  }

  #section01 .image {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
  }

  #section01 .info {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    min-height: 0;
    overflow: visible;
    padding: 18px 17px 20px;
    background: rgba(117, 80, 49, 0.94);
    backdrop-filter: none;
  }

  #section01 .info h2 {
    margin-bottom: 8px;
    font-size: 19px;
  }

  #section01 .info p {
    font-size: 14px;
    line-height: 1.7;
  }

  #section01 .info .meta {
    font-size: 13px;
  }
}

@media (max-width: 380px) {
  #section01 .panel {
    height: 430px;
  }

  #section01 .nav {
    gap: 8px;
    padding: 7px;
  }

  #section01 .nav-item {
    min-height: 48px;
    padding: 10px;
    gap: 7px;
    font-size: 13px;
  }
}
