/* 定义STZhongsong字体 */
@font-face {
  font-family: "STZhongsong";
  src: url("/static/font/STZhongsong.ttf") format("truetype");
  /* 如果字体文件在不同路径，请相应调整URL */
  font-weight: normal;
  font-style: normal;
}

.home {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.home .container {
  width: var(--container-width);
}

/* 首页banner图 */
.home .banner {
  width: 100%;
  height: 420px;
  background: url("/static/images/home/banner.png") no-repeat center;
  background-size: 100%;
  background-position: bottom;
  object-fit: cover;
}

/* 首页模块通用标题 */
.home .title {
  width: var(--container-width);
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: "STZhongsong", "STZhongsong-Local", "SimSun", serif;
  color: #a87b3f;
  position: relative;
  -webkit-user-select: none; /* 添加这行以支持 Safari */
  user-select: none;
}
.home .title .title-en {
  font-size: 20px;
  font-weight: 200;
  letter-spacing: 3px;
}
.home .title .title-cn {
  display: flex;
  height: 80px;
  background: url("/static/images/home/title-bg.png") no-repeat center;
  font-weight: 600;
}
.home .title .title-cn span {
  display: flex;
  align-items: center;
}
.home .title .title-cn .font60 {
  font-size: 60px;
  padding-bottom: 10px;
}
.home .title .title-cn .font46 {
  font-size: 46px;
  padding-bottom: 5px;
}
.home .title .title-cn .font50 {
  font-size: 50px;
  padding-bottom: 10px;
}
.home .title svg {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}

/* 精品建设 */
.boutique-construction {
  position: relative;
  width: 100%;
  padding-bottom: 110px;
  background: url("/static/images/home/boutique-construction-bg.png") center repeat-x;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 100px;
}
.boutique-construction .bookshelf {
  width: calc(var(--container-width) + 300px);
  height: 200px;
  background: url("/static/images/home/bookshelf.png") center no-repeat;
  position: absolute;
  top: 63%;
}
.boutique-construction .content {
  z-index: 2;
  width: var(--container-width);
  display: flex;
  justify-content: space-between;
  background-position: 100% 100%;
  margin-top: 100px;
}
.boutique-construction .content .item {
  flex: 1;
}
.boutique-construction .content .item .image {
  width: 245px;
  height: 331px;
}
.boutique-construction .content .item .image img {
  width: 100%;
  height: 100%;
}
.boutique-construction .content .item .info {
  margin-top: 100px;
}
.boutique-construction .content .item .info .book-title {
  color: #282828;
  font-size: 18px;
  margin-bottom: 20px;
}
.boutique-construction .content .item .info .book-author,
.boutique-construction .content .item .info .book-time {
  color: #717171;
  font-size: 16px;
  margin-bottom: 10px;
}

/* 新书速递 */
/* .new-book-express {
  padding-top: 100px;
} */
.new-book-express .content {
  width: 100%;
  height: 750px;
  display: flex;
  /* margin-top: 100px; */
}
.new-book-express .content .left {
  box-sizing: border-box;
  width: 330px;
  background: url("/static/images/home/book-bg.png");
  padding: 15px;
}
.new-book-express .content .left .image {
  width: 100%;
  height: 444px;
}
.new-book-express .content .left .image img {
  width: 100%;
  height: 100%;
}
.new-book-express .content .left .info .book-title {
  font-size: 24px;
  font-weight: 500;
  margin: 24px 0;
}
.new-book-express .content .left .info .book-author,
.new-book-express .content .left .info .book-unit,
.new-book-express .content .left .info .book-time {
  font-size: 16px;
  color: #282828;
  margin-bottom: 6px;
}

.new-book-express .content .right {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.new-book-express .content .right .item {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}
.new-book-express .content .right .item .image {
  width: 240px;
  height: 315px;
}
.new-book-express .content .right .item .image img {
  width: 100%;
  height: 100%;
}
.new-book-express .content .right .item .info {
  width: 100%;
  text-align: center;
  margin-top: 20px;
  font-size: 20px;
  color: #282828;
}
/* 公司简介 */
.company-profile {
  width: 100%;
  background: url("/static/images/home/company-profile-bg.png") center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 20px;
  margin-top: 100px;
}
.company-profile .content {
  width: var(--container-width);
  display: flex;
  margin-top: 50px;
  height: 500px;
}
.company-profile .content .left {
  display: flex;
  width: 470px;
  position: relative;
}
.company-profile .content .left .column-title {
  writing-mode: vertical-lr;
  color: #a87b3f;
  -webkit-user-select: none; /* 添加这行以支持 Safari */
  user-select: none;
}
.company-profile .content .left .column-title .column-title-cn {
  letter-spacing: 20px;
  font-size: 60px;
  padding-top: 60px;
}
.company-profile .content .left .column-title .column-title-en {
  font-size: 20px;
  letter-spacing: 3px;
  font-weight: 200;
  padding-top: 45px;
}
.company-profile .content .left .company-profile-logo {
  height: 380px;
  width: 380px;
  position: absolute;
  left: 80px;
}
.company-profile .content .right {
  flex: 1;
}
.company-profile .content .right p {
  font-size: 16px;
  color: #282828;
  text-indent: 2em;
  line-height: 200%;
}
