@font-face {
  font-family: 'zhengwen';
  src: url('../fonts/zhengwen.otf') format('truetype')
}
@font-face {
  font-family: 'siyuanhei';
  src: url('../fonts/NotoSansCJK-Light-3.otf') format('truetype')
}
@font-face {
  font-family: 'Bagnard';
  src: url('../fonts/Bagnard-2.otf') format('truetype')
}
@font-face {
  font-family: 'canger';
  src: url('../fonts/CangErYuMoW02-2.ttf') format('truetype')
}
@font-face {
  font-family: 'source sans pro';
  src: url('../fonts/Source-Sans-Pro-Light-2.otf') format('truetype');
}
@font-face {
  font-family: 'Chalkboard';
  src: url('../fonts/Chalkboard-SE-2.ttf') format('truetype');
}
@font-face {
  font-family: 'button';
  src: url('../fonts/NotoSansCJK-Regular-1.otf') format('truetype')
}

html {
  /* 将文本行高设置为字体大小的 1.15 倍 */
  line-height: 1.15;
  /* 在移动设备上确保文本大小不会被浏览器自动调整 */
  -webkit-text-size-adjust: 100%;
}
body {
  /* background-color: #faeee7;
  background-image: url("https://transparenttextures.com/patterns/inspiration-geometry.png");
  background-attachment: fixed; */
  /* background-image: linear-gradient(to bottom, #ffddd9, #fff2d8, #e3edd4, #caf0fe, #E1E5FF, #ffddd9);
  transition: background-position 0.5s ease; */
  /* 平滑过渡效果 */
  margin: 0;
  max-width: 100vw;
  overflow-x: hidden;
  background-color: #f9f1db;
}
@media screen and (max-width: 767px) {
  body {
    overflow-x: hidden;
  }
  html,body {
    max-width: 100%;
  }
}

.top {
  max-height: 100vh;
  margin-top: 4rem;
}


.content {
  width: 60%;
  margin: 0 auto;
  padding: 10px 60px;
  color: #343434;
  font-size: 1em;
  line-height: 2em;
  font-family: 'zhengwen';
}
@media only screen and (max-width: 600px) {
  .content {
    width: 80%;
    margin: 0 auto;
    padding: 10px 10px;
    color: #343434;
    font-size: 14px;
    line-height: 1.8em;
    font-family: 'zhengwen';
  }
}

p,span {
  font-family: 'zhengwen';
}

.content p,.content span{
  margin: 2em auto;
}

.intro-text p {
  font-family: 'zhengwen';
  font-weight: 100;
  font-size: 16px;
  line-height: 2em;
  margin: 0 10% 1.5em 10%;
}

@media only screen and (max-width: 600px) {
  .intro-text p {
    font-family: 'zhengwen';
    font-weight: 100;
    font-size: 14px;
    line-height: 1.6em;
    margin: 0 0 1.5em 0;
  }
}
/* 首行缩进 */
/* #chpt1 .content p {
  text-indent: 2em;
}


#chpt2 .content p {
  text-indent: 2em;
} */
#note {
  /* background-color: #fefbf4; */
  font-size: 12px;
  color: #999999;
  display: inline-block;
  padding: 10px 5px;
  width: 900px;
  line-height: 1.4em;
  z-index: 2;
}


#note p {
  text-indent: 0 !important;
  z-index: 2 !important;
}


@media only screen and (max-width: 600px) {
  #note {
    /* background-color: #fefbf4; */
    font-size: 10px;
    color: #999999;
    display: inline-block;
    padding: 10px 5px;
    max-width: 100%;
    width: 100%;
    line-height: 1.4em;
    z-index: 2;
    margin: 5em auto;
  }
}

.content #note {
  width: 100%; /* 继承.content的宽度设置 */
  max-width: inherit; /* 继承父级最大宽度 */
}

.tiktok-text {
  position: relative;
  z-index: 2;
/*   margin-top: 50em; */
}

.policy {
  z-index: 1;
}
#policy {
    height: 600px;
  }

.chpt2-text img {
  max-width: 100%;
  height: auto;
  margin: 1% auto;
  display: block;
}
.chpt3-text img {
  max-width: 50%;
  height: auto;
  margin:  auto;
  display: block;
}

/* 封面图 */
.cover {
  text-align: center;
}
#chap1 {
    display: block;
  }

#chap2 {
    display: block;
  }

#chap3 {
    display: block;
  }

#chpt1-cover {
  position: relative;
  width: 100%;
  margin: 9.375rem auto 9rem;
  /* margin-top: 180px; */
  /* margin-top: 15.625rem;
  /* margin-bottom: 11.25rem; */
  max-width: 1440px;
}

.chap1 {
  position: relative;
  width: 65%;
  /* max-width: 1200px; */
  z-index: 1;
  display: block;
  margin: 0 auto;
}

#chpt2-cover {
  /* position: relative;
  max-width: 100vw;
  margin-top: 100px; */
  position: relative;
  width: 100%;
  margin: 9.375rem auto 9rem;
  max-width: 1440px;
}

.chap2 {
  position: relative;
  width: 65%;
  /* max-width: 1200px; */
  z-index: 1;
  display: block;
  margin: 0 auto;
}

#chpt3-cover {
  /* position: relative;
  max-width: 100vw;
  margin-top: 100px; */
  position: relative;
  width: 100%;
  margin: 9.375rem auto 9rem;
  max-width: 1440px;
}

.chap3 {
  position: relative;
  width: 65%;
  /* max-width: 1200px; */
  z-index: 1;
  display: block;
  margin: 0 auto;
}

@media only screen and (max-width: 600px) {
  .chap1 {
    position: relative;
    width: 100%;
    z-index: 1;
    display: block;
    margin: 0 auto;
  }

  .chap2 {
    position: relative;
    width: 100%;
    z-index: 1;
    display: block;
    margin: 0 auto;
  }

  .chap3 {
    position: relative;
    width: 100%;
    z-index: 1;
    display: block;
    margin: 0 auto;
  }
}
@media only screen and (max-width: 768px){
	#policy {
		height: 400px;
	}
}

footer {
	position: relative;
	background-size: cover;
	background-position: center;
	color: rgb(24, 23, 23);
	padding: 20px;
	text-align: center;
	line-height: 1.2;
	font-size: 14px;
}
.section-title {
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 2.5rem;
    position: relative;
    text-align: center;
}
footer p {
	font-family: 'source sans pro';
	margin-bottom: 2em;
}
.divider-line {
    /* height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(0,0,0,0.1) 50%, 
        transparent 100%);
    margin: 2rem auto;
	width: 80%; */
	
	height: 3px;
	margin: 2rem auto;
	width: 80%;
	position: relative;
	background: 
	    radial-gradient(circle at center, 
	        rgba(139,69,19) 0%,
	        rgba(139,69,19,0.5) 50%,
	        rgba(255,245,235,0) 100%);
	    /* background-size: 150% 150%; */
}
.spacing{
	height: 60px;
}
.divider-line::before/* ,
.divider-line::after */ {
    content: "☁☁☁";
    color: #9b7355;
    font-size: 1.4em;
    position: absolute;
    left: 50%;
    top: -10px;
    transform: translateX(-50%);
    background: #f9f1db;
    padding: 0 1em;
}

@media screen and (max-width: 600px) {

	footer {
		background-size: cover;
		background-position: center;
		color: rgb(24, 23, 23);
		padding: 10px;
		text-align: center;
		line-height: 1.2;
		font-size: 14px;
	}
}

/* 卡片样式 */
.wrapper {
	max-width: 60%;
	width: 45%;
	position: relative;
	margin: 0 auto;
}

.carousel {
	display: flex;
	height: calc(50vh - 50px);
	white-space: nowrap;
	font-size: 0;
	cursor: pointer;
	overflow: hidden;
	scroll-behavior: smooth;
	padding: 20px 0;
	scroll-snap-type: x mandatory;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.carousel::-webkit-scrollbar {
    display: none;
}

.card {
	display: flex;
	flex: 0 0 100%;
	height: 100%;
	flex-direction: column;
	scroll-snap-align: start;
	width: 100%;
	/* text-align: center; */
	background: 
		linear-gradient(to bottom right, 
        rgba(255,255,255,0.9) 0%, 
        rgba(245,235,220,0.9) 100%),
		url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="%238b4513" opacity="0.05" d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"/></svg>');
		/* url('data:image/svg+xml;utf8,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><path d="M50 0L100 50 50 100 0 50Z" fill="%238b4513" opacity="0.05"/></svg>'); */
	border-radius: 12px;
	border: double 4px transparent;
	background-clip: padding-box, border-box;
	background-origin: border-box;
	border: 2px solid #8b4513;
	/* box-shadow: 0 4px 12px rgba(139,69,19,0.15); */
	box-shadow: 
	        0 4px 12px rgba(139,69,19,0.1),
	        inset 0 0 20px rgba(139,69,19,0.05);
	margin-left: 0;
	box-sizing: border-box;
	padding: 25px;
	transition: transform 0.3s ease;
}

.card::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 60px;
    height: 60px;
	background: linear-gradient(135deg, 
	        #8b4513 0%, 
	        rgba(139,69,19,0.5) 50%, 
	        #8b4513 100%);
    /* background: rgba(139,69,19,0.1); */
    transform: rotate(45deg);
}
.card::after {
    content: '';
    position: absolute;
    bottom: -15px;
    right: -15px;
    width: 60px;
    height: 60px;
    background: rgba(139,69,19,0.1);
    /* font-family: ; */
    font-size: 2.5rem;
    color: rgba(139,69,19,0.3);
    transform: rotate(-15deg);
    display: flex;
    align-items: center;
    justify-content: center;
}
.card-content {
    width: 100%; /* 限制文本容器宽度 */
    max-width: 600px; /* 最大文本宽度 */
    margin: auto; /* 自动外边距增强居中效果 */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card:first-child {
	margin-left: 0;
}

.card:hover {
	transform: translateY(-5px);
}

.card-title {
	font-size: 1.4rem;
	color: #2d3436;
	margin-bottom: 15px;
	font-weight: 600;
}

.card-content {
	flex: 1;
	font-size: 1rem;
	color: #5a4a42;
	line-height: 1.5;
	overflow-y: auto; /* 内容过长时显示滚动条 */
	padding-right: 10px; /* 避免滚动条遮挡 */
	white-space: normal;
	position: relative;
	z-index: 1;
}

.wrapper i {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	height: 46px;
	width: 46px;
	background: #8b4513;
	color: #efe5ca !important;
	border-radius: 50%;
	box-shadow: 0 2px 8px rgba(139,69,19,0.3);
	/* cursor: pointer; */
	display: flex !important;
	align-items: center;
	justify-content: center;
	font-size: 1.2rem;
	transition: all 0.3s ease;
	z-index: 10;
}

.wrapper i:hover {
	background: #6b3410;
	/* color: #fff; */
}
#left {
    left: -45px;
}
#right {
    right: -45px;
}

.wrapper i::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border: 2px solid currentColor;
}

#left::before {
    border-right: none;
    border-bottom: none;
    transform: rotate(-45deg) translate(2px, 1px);
}

#right::before {
    border-left: none;
    border-top: none;
    transform: rotate(-45deg) translate(-1px, 2px);
}

@media (max-width: 1200px) {
    .wrapper {
        max-width: 60%;
        width: 60%;
    }
}

@media (max-width: 900px) {
    .wrapper {
        max-width: 70%;
        width: 70%;
    }
    .carousel {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .wrapper {
        max-width: 70%;
        width: 70%;
    }
    .carousel {
        height: 400px;
    }
    .card {
        padding: 15px;
    }
	 .card-content {
	        max-width: 100%;
	    }
}

@media (max-width: 480px) {
    .wrapper {
        max-width: 75%;
        width: 75%;
    }
    .carousel {
        height: 600px;
    }
}

.carousel.dragging {
	scroll-behavior: auto;
	cursor: grab;
}

.carousel.dragging .card {
	pointer-events: none;
}
@media screen and (max-width: 767px) {
  .flourish-embed-iframe {
	width: 100%;
    height: 400px !important;
  }
}


/* 携程数据图 */
/* 主容器 */
    .scroll-container {
		width: 60%;
        display: grid;
        grid-template-columns: 75% 25%;
        gap: 2rem;
        min-height: 100vh;
        padding: 2rem 0;
		margin: 0 auto;
    }

    /* 固定图表容器 */
    .fixed-chart {
        position: sticky;
        top: 70px;
        height: calc(85vh - 40px);
        background: rgba(255,255,255,0.3);
        border: 2px solid #8b4513;
        border-radius: 12px;
        padding: 1rem;
    }

    /* 滚动文案容器 */
    .scroll-narrative {
        position: relative;
        padding-right: 1rem;
		padding-top: 20rem; /* 增加顶部留白 */
		margin-left: -1rem;
    }

    /* 季度文案块 */
    .season-card {
        margin-bottom: 80vh;
        opacity: 0;
        transform: translateY(40px);
		transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1); /* 平滑动画曲线 */
        /* transition: all 0.6s ease; */
        padding: 2rem;
        background: rgba(255,255,255,0.4);
        border-radius: 8px;
        box-shadow: 3px 3px 10px rgba(0,0,0,0.05);
        border-left: 4px solid #8b4513;
    }

    .season-card.active {
        opacity: 1;
        transform: translateY(0);
    }

    /* 装饰元素 */
    .season-card::before {
        content: '';
        position: absolute;
        left: -2.2rem;
        top: 50%;
        width: 24px;
        height: 24px;
        background: #efe5ca;
        border: 2px solid #8b4513;
        border-radius: 50%;
        transform: translateY(-50%);
    }
	
@media (max-width: 768px) {
        .scroll-container {
            grid-template-columns: 1fr;
        }
        .fixed-chart {
            position: relative;
            height: auto;
        }
        .season-card::before {
            left: -1.5rem;
        }
    }
