.bread {
  background: transparent;
}

.detail {
  padding: 1rem 0 1.54rem;
  background: #fff;
  position: relative;
  z-index: 2;
}

.detail>.main {
  margin-top: .93rem;
}

.detail>.main .text {
  padding: 0 2.1rem;
}

.detail h1 {
  font-weight: bold;
  font-size: 0.35rem;
  color: #333333;
  line-height: 0.5rem;
  text-align: center;
}

.detail .meta {
  display: flex;
  justify-content: center;
  gap: 0.64rem;
  margin-top: .32rem;
  padding-bottom: .41rem;
  border-bottom: 0.01rem solid #D8D8D8;
}

.detail .meta span {
  font-weight: 400;
  font-size: 0.16rem;
  color: #727272;
  display: flex;
  align-items: center;
}

.detail .meta img {
  width: 0.2rem;
  height: 0.2rem;
}

.detail article {
  padding: .39rem 0 .72rem;
  font-weight: 400;
  font-size: 0.16rem;
  color: #333333;
  line-height: 0.24rem;
}

.detail article p {
  font-weight: 400;
  font-size: 0.16rem;
  color: #333333;
  line-height: 0.24rem;
}

.detailFoot {
  padding-top: .48rem;
  border-top: 0.01rem solid #e5e5e5;
  display: flex;
  justify-content: space-between;
}

.detailFoot .left a {
  font-weight: 400;
  font-size: 0.16rem;
  color: #333333;
  line-height: 0.4rem;
}

.detailFoot .right {
  display: flex;
  align-items: center;
  gap: 0.22rem;
}

.detailFoot .right i {
  width: 0.62rem;
  height: 0.62rem;
  background: #FFFFFF;
  border: 0.01rem solid #C4C4C4;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: .2rem;
  border-radius: 50%;
}

.detailFoot .right a {
  font-weight: 400;
  font-size: 0.16rem;
  color: #333333;
}

.profileDetail {
  padding-top: 1rem;
  background: #F7F7F7;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.profileBread {
  height: 1.52rem;
  display: flex;
  align-items: center;
  gap: 0.12rem;
}

.profileBread a,
.profileBread span {
  font-weight: 400;
  font-size: 0.14rem;
  color: #8b8b8b;
  display: flex;
  align-items: center;
  gap: 0.12rem;
}

.profileBread a:first-child::before {
  content: "";
  width: 0.12rem;
  height: 0.18rem;
  background-image: url(../images/arrow-left.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.profileBread a:not(:last-of-type)::after {
  content: "";
  width: 0.06rem;
  height: 0.1rem;
  border-right: 0.01rem solid #b8b8b8;
  border-bottom: 0.01rem solid #b8b8b8;
  transform: rotate(-45deg);
}

.profileBread span {
  color: #777;
}

.profileHero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 6.68rem;
  background: #f7f7f7;
  margin-top: .72rem;
  margin-bottom: 1.16rem;
}

.profileHero .heroImg {
  min-height: 6.68rem;
}

.profileHero .heroImg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profileHero .heroText {
  padding: 0.64rem 2.04rem 0.85rem 0.9rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.profileHero .heroText>img {
  width: 2.65rem;
  height: auto;
  object-fit: contain;
  margin-bottom: 0.73rem;
}

.palaceProfile .profileHero .heroText>img {
  width: 1.64rem;
}

.profileHero h1 {
  font-weight: 400;
  font-size: 0.32rem;
  color: #333333;
  line-height: 0.46rem;
  margin-bottom: 0.24rem;
}

.profileHero p {
  max-width: 6.3rem;
  font-weight: 400;
  font-size: 0.16rem;
  color: #4f4f4f;
  line-height: 0.32rem;
}

.profileHero p+p {
  margin-top: 0.06rem;
}

.profileWide {
  height: 7.9rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.profileWide>img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profileWide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.64);
}

.profileWide .text {
  width: 13.1rem;
  max-width: 88%;
  position: relative;
  z-index: 2;
  text-align: center;
}

.profileWide p {
  font-weight: 400;
  font-size: 0.16rem;
  color: #FFFFFF;
  line-height: 0.34rem;
}

.profileStory {
  height: 7.9rem;
  position: relative;
  background-image: url(../images/28.png);
  background-position: center;
  background-size: cover;
  border-bottom: 0.03rem solid #212F5E;
}

.profileStory .storyImage {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 9.82rem;
  height: 6.74rem;
  overflow: hidden;
}

.profileStory .storyImage::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /*background: rgba(33, 47, 94, 0.81);*/
}

.profileStory .storyImage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.78;
}

.profileStory .storyCard {
  position: relative;
  z-index: 2;
  width: calc(100% - 7.22rem);
  height: 3.95rem;
  background: #FFFFFF;
  box-shadow: 0rem 0rem 0.2rem 0.01rem rgba(0, 0, 0, 0.1);
  margin-left: 7.22rem;
  padding: 1.1rem 1.79rem 1.1rem 1.45rem;
  font-weight: 400;
  font-size: 0.16rem;
  color: #333333;
  line-height: 0.34rem;
}

.profileStory .storyCard * {
  font-weight: 400;
  font-size: 0.16rem;
  color: #333333;
  line-height: 0.34rem;
}

.profileStory .storyMark {
  position: absolute;
  right: 1.6rem;
  bottom: 1.67rem;
  width: 1.25rem;
  height: auto;
  z-index: 4;
}

.museumStory {
  padding-top: 1.14rem;
}

.palaceShowcase {
  height: 8.55rem;
  position: relative;
  background: #111;
  overflow: hidden;
}

.palaceShowcase>img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.palaceShowcase .shade {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
}

.palaceShowcase .showText {
  position: relative;
  z-index: 2;
  padding-top: 1.94rem;
  text-align: center;
  width: 13.64rem;
}

.palaceShowcase .showText * {
  font-weight: 400;
  font-size: 0.16rem;
  color: #FFFFFF;
  line-height: 0.34rem;
}

.showTextPanel {
  display: none;
}

.showTextPanel.active {
  display: block;
}

.showTabs {
  position: absolute;
  left: 50%;
  bottom: 1.15rem;
  transform: translateX(-50%);
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
  align-items: start;
}

.showTabs .item {
  text-align: center;
}

.showTabs i {
  width: 0.76rem;
  height: 0.76rem;
  border-radius: 50%;
  margin: 0 auto 0.32rem;
  background: rgba(255, 255, 255, 0.36);
  display: flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
}

.showTabs .active i {
  background: #CC712C;
}

.showTabs i img {
  width: 0.32rem;
  height: 0.32rem;
  object-fit: contain;
}

.showTabs span {
  display: block;
  font-weight: bold;
  font-size: 0.18rem;
  color: #FFFFFF;
  line-height: 0.3rem;
  white-space: nowrap;
}

.relatedExhibits {
  padding: 1.2rem 0 1.48rem;
  text-align: center;
}

.relatedExhibits h2 {
  font-weight: 400;
  font-size: 0.36rem;
  color: #333333;
  line-height: 0.5rem;
  margin-bottom: 0.56rem;
}

.relBodyBox{
  position: relative;
}

.relList a {
  height: 2.78rem;
}

.relPrev,
.relNext {
  width: 0.45rem;
  height: 0.45rem;
  font-size: 0.6rem;
  color: #333;
}

.relPrev::after,
.relNext::after{
  font-size: .35rem;
  font-weight: bold;
}

.relPrev{
  left: .95rem;
}

.relNext{
  right: .95rem;
}

.relatedExhibits>p {
  margin-top: 0.28rem;
  font-weight: 400;
  font-size: 0.12rem;
  color: #b2b2b2;
}

@media (max-width: 1024px) {
  .profileHero {
    grid-template-columns: 1fr;
  }

  .profileHero .heroText {
    padding: 0.65rem 5%;
  }

  .profileStory .storyImage,
  .profileStory .storyCard {
    position: relative;
    width: 100%;
    margin-left: 0;
  }

  .profileStory .storyImage {
    height: 4.2rem;
  }

  .profileStory .storyCard {
    padding: 0.6rem 5%;
  }

  .showTabs {
    width: 94%;
    gap: 0.35rem;
  }
}

@media (max-width: 768px) {
  .profileBread {
    height: 1.1rem;
  }

  .profileHero .heroImg {
    min-height: 4rem;
  }

  .profileWide,
  .palaceShowcase {
    height: auto;
    min-height: 6.2rem;
    padding: 0.8rem 0;
  }

  .showTabs {
    grid-template-columns: repeat(2, 1fr);
  }

  .showTabs {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    margin: 0.7rem auto 0;
  }

  .showTabs span {
    white-space: normal;
  }

  .relPrev,
  .relNext {
    display: none;
  }
}
