/* Reset and Base Styles */
@import "iconfont/iconfont.css";
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
  background: linear-gradient(to bottom, #f5f5f5, #e8e8e8);
  color: #333;
}
.index-top{
  background: url("/public/assets/img/ptljz/bannerbg.png") no-repeat center top;
  background-size: 100% auto;
  min-height: 870px;
  position: relative;
}
.pic-slide{
  position: absolute;
  right:0;
  bottom:0;
  z-index: 999;
  width:637px;
}
.pic-slide img{
  width: 100%;
  height: auto;
}
.pic-slide .owl-dots{
  display: none;
}
/* Header Styles */
.main-header {
  position: relative;
  z-index: 1000;
}
.main-header .container{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}
.main-header .container:before,
.main-header .container:after{
  display: none;
}
.main-header .banner-text{
  width: 85%;
  margin:0 auto
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 50px;
}

.logo img {
  width: auto;
  height: 40px;
}

.logo span {
  font-size: 16px;
  font-weight: bold;
  color: #333;
}

.main-nav {
  text-align: center;
}

.nav-list {
  display: flex;
  align-items: flex-start;
  margin: 0;
  padding: 0;
}
.nav-list li{
  flex:1;
}
.nav-list li a {
  text-decoration: none;
  color: #423E34;
  font-size: 20px;
  padding:50px 20px 0;
  letter-spacing: 10px;
  transition: color 0.3s;
  width: 100%;
  display: block;
  box-sizing: border-box;
  writing-mode: vertical-rl;
  position: relative;
}
.nav-list li a:after{
  content: '';
  position: absolute;
  right:0;
  top: 50px;
  bottom: 0;
  width: 1px;
  background:rgba(66, 62, 52, 0.15);
}

.nav-list li a:hover {
  background: linear-gradient( 180deg, rgba(255,219,171,0.5) 0%, rgba(232,194,142,0) 100%);
  color: #65504A;
  font-weight: bold;
}
.header-tools{
  margin-top: 50px;
}
.header-tools .accessibility-tools {
  display: flex;
  align-items: flex-start;
}
.header-tools .accessibility-tools a{
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding:0 20px;
  background: url("/public/assets/img/ptljz/ico.png") no-repeat center top;
  background-size: 4px auto;
  padding-top: 30px;
  color:#65504A;
  font-size: 18px;
  writing-mode: vertical-rl;
  letter-spacing: 6px;
  transition: .3s;
}
.header-tools .accessibility-tools a .iconfont{
  font-size: 25px;
  display: block;
}
.header-tools .accessibility-tools a:hover{
  color:#222;
  font-weight: bold;
}

.tool-item {
  font-size: 12px;
  color: #666;
  cursor: pointer;
  transition: color 0.3s;
}

.tool-item:hover {
  color: #d4573b;
}

/* Hero Section */
.hero-section {
  background: url("/placeholder.svg?height=400&width=1200") center / cover;
  min-height: 400px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 2;
}

.decorative-branches {
  position: absolute;
  top: -50px;
  width: 200px;
  height: 150px;
  background: url("/placeholder.svg?height=150&width=200") no-repeat center / contain;
}

.left-branch {
  left: -300px;
}

.right-branch {
  right: -300px;
  transform: scaleX(-1);
}

.main-title {
  font-size: 4rem;
  font-weight: bold;
  color: #2c3e50;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.sub-title {
  font-size: 2.5rem;
  color: #34495e;
  margin-bottom: 20px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}



/* Temple Section */
.temple-section {
  position: relative;
  background: url("/public/assets/img/ptljz/wuding.png") no-repeat center top;
  background-size: 100%  auto;
}

.temple-header {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.temple-icon {
  display: inline-block;
  margin-bottom: 10px;
}

.temple-title {
  font-size: 2.5rem;
  color: #2c3e50;
  margin: 0;
  position: relative;
  display: inline-block;
}

.temple-number {
  position: absolute;
  top: -10px;
  right: -20px;
  background: #d4573b;
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Main Carousel */
.main-carousel-container {
  position: relative;
  margin-bottom: 30px;
  margin-top: -160px;
}
.main-carousel-container .slide-item{
  display: flex;
  align-items: center;
}
.main-carousel-container .video-cont{
  flex:1;
  padding:22px;
}
.main-carousel-container .video-cont:before,
.main-carousel-container .video-cont:after{
  content: '';
  width: 60px;
  height: 60px;
  position: absolute;
}
.main-carousel-container .video-cont:before{
  background: url("/public/assets/img/ptljz/border-01.png") no-repeat center center;
  background-size: 60px 60px;
  position: absolute;
  left:0;
  top:0;
}
.main-carousel-container .video-cont:after{
  background: url("/public/assets/img/ptljz/border-02.png") no-repeat center center;
  background-size: 60px 60px;
  right:0;
  bottom:0;
}
.main-carousel-container .temple-description{
  flex:1;
  margin-top: -80px;
  background: url("/public/assets/img/ptljz/videobg.png") no-repeat center top #fff;
  background-size: 100% auto;
  margin-left: -100px;
  padding-left: 120px;
}
.main-carousel-container .video-cont{
  position: relative;
}
.main-carousel-container .video-cont i{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 60px;
  color:#fff;
}
.main-carousel-container .video-cont video{
  width: 100%;
}
.main-carousel-container .temple-description h2.temple-title{
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  margin-top: -120px;
  margin-bottom: 30px;
}
.main-carousel-container .temple-description h2.temple-title .num{
  width: 50px;
  height: 50px;
}
.main-carousel-container .temple-description h2.temple-title .title{
  height: 84px;
  width: auto;
}
#mainCarousel .owl-stage-outer{
  padding:100px 0 0;
}
#mainCarousel .bg-slide{
  height: 260px;
  width: auto;
}
#mainCarousel .item{
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.carousel-nav {
  position: absolute;
  top: 60%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 99;
}

.nav-btn {
  background:url("/public/assets/img/ptljz/arr-left.png") no-repeat;
  background-size: 100% 100%;
  border: none;
  width: 40px;
  height: 110px;
  cursor: pointer;
  pointer-events: all;
  transition: all 0.3s;
  margin-bottom: 340px;
}

.nav-btn:hover {
  opacity: .6;
}

.prev-btn {
  margin-left: -30px;
}

.next-btn {
  margin-right: -30px;
  background:url("/public/assets/img/ptljz/arr-right.png") no-repeat;
  background-size: 100% 100%;
  border: none;
  width: 40px;
  height: 110px;
}

/* Temple Description */
.temple-description {
  padding: 40px 20px;
  background: white;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.temple-description p {
  font-size: 18px;
  line-height: 1.8;
  color: #65504A;
  margin-bottom: 20px;
  position: relative;
}
.temple-description p:after{
  content: '';
  width: 65px;
  height: 1px;
  background: #65504A;
  display: block;
  margin-top: 20px;
}

.more-btn {
  background: url("/public/assets/img/ptljz/more-bg.png") no-repeat;
  background-size: 100% 100%;
  border:0;
  padding: 8px 20px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
  align-self: flex-end;
  color:#333;
}

.more-btn:hover {
  border-color: #d4573b;
  color: #d4573b;
}

/* Thumbnail Carousel */
.thumbnail-carousel-container {
  background: url("/public/assets/img/ptljz/huajuan.png") no-repeat center center;
  background-size: 100% 100%;
  position: relative;
  margin-bottom: 80px;
  padding:40px 30px;
}

.scroll-container {

}



.scroll-container::before {
  left: 0;
}

.scroll-container::after {
  right: 0;
  transform: scaleX(-1);
}

#thumbnailCarousel .item {
  padding: 0 10px;
  transform: scale(.8);
}

.thumbnail-frame {
  transition: transform 0.3s;
  position: relative;
  background-blend-mode: multiply;
  display: flex;
  align-items: center;
  justify-content: center;
}
.thumbnail-frame .video-cont{
  /*background: url("/public/assets/img/ptljz/imgbg_active.png") no-repeat;*/
  background: url("https://www.shpt.gov.cn/public/assets/img/ptljz/imgbg_active.png") no-repeat;
  background-size: 100% 100%;
  padding: 30px;
  cursor: pointer;
}
#thumbnailCarousel .item:hover{
  transform: scale(.84);
}
#thumbnailCarousel .item .thumbnail-frame:hover{
  /*background: url("/public/assets/img/ptljz/img_bg.png") no-repeat;*/
  background: url("https://www.shpt.gov.cn/public/assets/img/ptljz/img_bg.png") no-repeat;
  background-size: 100% 100%;
}
.thumbnail-frame:hover {
  transform: translateY(-5px);
}
.thumbnail-frame .video-cont{
  position: relative;
  transform: scale(.85);
}
.thumbnail-frame .video-cont i{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 40px;
}
.thumbnail-frame .video-cont img,
.thumbnail-frame .video-cont video{
  height: 154px;
  object-fit: cover;
}
.thumbnail-frame .frame-label{
  margin-left: -20px;
}
.thumbnail-frame .frame-label img {
  width: 53px!important;
  height: 160px;
  object-fit: contain;
}
.swiper-slide-active .thumbnail-frame .video-cont{
  transform: scale(.95);
  background: url("https://www.shpt.gov.cn/public/assets/img/ptljz/img_bg.png") no-repeat;
  background-size: 100% 100%;
}
.swiper-slide-active .thumbnail-frame .frame-label {
  margin-left: 0;
}


/* Heritage Section */
.heritage-section {
  padding: 80px 0;
  background: url("/public/assets/img/ptljz/index-bottom.jpg") no-repeat;
  background-size: cover;
  position: relative;
}
.heritage-section:before{
  content: '';
  position: absolute;
  top:0;
  left:0;
  right: 0;
  height: 30px;
  background: url("/public/assets/img/ptljz/line.png") repeat-x;
  background-size: auto 100%;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.section-header .decorative-icon{
  flex:1;
}
.section-header .section-title {
  flex:1;
}

.decorative-icon img {
  height: 30px;
}

.heritage-cards {
  margin-bottom: 40px;
}

.heritage-card {
  margin-bottom: 30px;
}

.card-frame {
  background: url("/public/assets/img/ptljz/box-01.png") no-repeat;
  background-size: 100% 100%;
  padding: 20px 30px;
  position: relative;
  transition: transform 0.3s;
}

.card-frame:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.card-frame img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 15px;
}
.card-content{
  padding:0;
}
.card-content p {
  font-size: 16px;
  line-height: 1.6;
  color: #2B2220;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-seal {
  display: flex;
  justify-content: center;
  margin-top: 20px;

}

.card-seal img {
  width: 20px;
  height: auto;
}

.section-footer {
  text-align: center;
}
.footer{
  margin-top: 0;
}
.footer .links .dropdown{
  margin-left: 0;
}
.footer .links>.container>ul{
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer .links>.container>ul:before,
.footer .links>.container>ul:after{
  display: none;
}


/* Owl Carousel Custom Styles */
.owl-carousel .owl-nav {
  display: none;
}

.owl-carousel .owl-dots {
  text-align: center;
  margin-top: 20px;
}

#thumbnailCarousel .owl-dots {
  bottom: -80px;
  position: absolute;
  display: flex!important;
  justify-content: center;
  left:0;
  right:0;
}
#thumbnailCarousel .owl-dots .owl-dot span{
  margin:0;
  border-radius: 0;
  height: 2px;
  width: 200px;
}
#thumbnailCarousel .owl-dots .owl-dot.active span
{
  background: #231815;
}

/*图片列表*/
.inner-cont{
  background: url("/public/assets/img/ptljz/list-bg.jpg") no-repeat center top;
  background-size: cover;
}
.pic-list{
  padding:0 0 40px;
}
.pic-list li a{
  background: url("/public/assets/img/ptljz/img-bg.png") no-repeat center center;
  background-size: 100% 100% ;
  padding:26px;
  display: block;
  margin:16px 0;

}
.pic-list li a span{
  color:#222;
  margin-top: 10px;
  display: block;
  white-space: nowrap;
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pic-list li a img{
  height: 245px;
  object-fit: cover;
}
.whj_jqueryPaginationCss-1 [name="whj_page"]{
  background: url("/public/assets/img/ptljz/pagebg.jpg") no-repeat;
  border:0;
  width: 43px;
  height: 43px;
  line-height: 33px;
  background-size: 100% 100%;
}
.whj_jqueryPaginationCss-1 .whj_checked{
  background: url("/public/assets/img/ptljz/page_active.jpg") no-repeat;
  background-size: 100% 100%;
}
.whj_jqueryPaginationCss-1{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.breadcrumb{
  padding-left: 0;
}
.breadcrumb>li a{
  color:#7F6C61!important;
}


/*swiper*/

.scroll-container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  padding: 0 60px;
}

.scroll-rod {
  position: absolute;
  width: 40px;
  height: 100%;
  top: 0;
  background: linear-gradient(to bottom, #d4a574, #c89968, #d4a574);
  border-radius: 20px;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.3);
}

.scroll-rod.left {
  left: 0;
}

.scroll-rod.right {
  right: 0;
}

.scroll-rod::before,
.scroll-rod::after {
  content: '';
  position: absolute;
  width: 50px;
  height: 30px;
  background: #8b6f47;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 5px;
}

.scroll-rod::before {
  top: -10px;
}

.scroll-rod::after {
  bottom: -10px;
}

.scroll-content {
  position: relative;
  overflow: hidden;
}
.swiper-bg{
  /*background: url("/public/assets/img/ptljz/huajuan.png") no-repeat center center;*/
  background: url("https://www.shpt.gov.cn/public/assets/img/ptljz/huajuan.png") no-repeat center center;
  background-size: 100% 100%;
  margin-bottom: 30px;
  overflow: hidden;
}
.swiper-container {
  margin:40px 30px;
  overflow: hidden;
}

.swiper-slide {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.site-card {
  position: relative;
  width: 30%;
  text-align: center;
}

.decorative-frame {
  position: relative;
  padding: 20px;
  border: 3px solid #c89968;
  background: rgba(255, 255, 255, 0.5);
}

.decorative-frame::before,
.decorative-frame::after {
  content: '';
  position: absolute;
  width: 30px;
  height: 30px;
  border: 3px solid #c89968;
}

.decorative-frame::before {
  top: -3px;
  left: -3px;
  border-right: none;
  border-bottom: none;
}

.decorative-frame::after {
  top: -3px;
  right: -3px;
  border-left: none;
  border-bottom: none;
}

.corner-bottom-left,
.corner-bottom-right {
  position: absolute;
  width: 30px;
  height: 30px;
  border: 3px solid #c89968;
}

.corner-bottom-left {
  bottom: -3px;
  left: -3px;
  border-right: none;
  border-top: none;
}

.corner-bottom-right {
  bottom: -3px;
  right: -3px;
  border-left: none;
  border-top: none;
}

.site-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.site-title {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-size: 28px;
  font-weight: bold;
  color: #8b6f47;
  letter-spacing: 8px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.navigation-dots {
  text-align: center;
  display: flex;
  justify-content: center;
  gap: 15px;
}

/*  Updated navigation buttons to image-style elements */
.nav-button {
  border: none;
  cursor: pointer;
  position: relative;
  background-size: cover;
  background-position: center;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: bold;
  color: #fff;
}

.nav-button span {
  position: relative;
  z-index: 1;
  background: url("/public/assets/img/ptljz/dotbg.png") no-repeat center center;
  background-size: 100% 100%;
  width: 42px;
  height: 42px;
  text-align: center;
  line-height: 42px;
  transition: .3s;
}

.nav-button.active span{
  background: none;
  height: 45px;
  width: auto;
}
.nav-button.active span img{
  height: 45px;
  width: auto;
}


@media (max-width: 1600px){
  .index-top{
    min-height: 600px;
  }
}

@media (max-width: 1200px){
  .index-top{
    min-height: 400px;
  }
  .main-carousel-container{
  }
  .main-carousel-container .temple-description{
    margin-top: 0;
  }
  .nav-list li a{
    padding-left: 5px;
    padding-right: 5px;
  }
  .header-tools .accessibility-tools a{
    font-size: 16px;
  }
  .main-carousel-container .temple-description h2.temple-title .title{
    width: 80px;
    height: auto;
  }
  .main-carousel-container .temple-description h2.temple-title .num{
    width: 30px;
    height: 30px;
  }
  .header-tools .accessibility-tools a .iconfont{
    font-size: 20px;
  }
  .nav-list li a{
    font-size: 16px;
  }
  .main-carousel-container .temple-description h2.temple-title{
    margin-top: -30px;
  }
  .header-tools .accessibility-tools a{
    padding-left: 4px;
    padding-right: 4px;
  }
}
@media (max-width: 991px) {
  .index-top{
    min-height: 400px;
  }
  .pic-slide{
    width: 100%;
  }
  .main-carousel-container{
    margin-bottom: 0;
  }
  .main-carousel-container .slide-item{
    flex-direction: column;

  }
  #mainCarousel .owl-stage-outer{
    padding-top: 0;
  }
  .main-carousel-container .temple-description{
    margin-left: 0;
    margin-top: 0;
    padding-left: 20px;
    margin-right: 0;
  }
  .temple-description p{
    font-size: 14px;
  }
  .main-carousel-container .temple-description h2.temple-title .title{
    height: 30px;
  }
  .main-carousel-container .temple-description h2.temple-title .num{
    width: 30px;
    height: 30px;
  }
  .main-carousel-container .temple-description h2.temple-title{
    margin-top: 0;
  }
  .thumbnail-carousel-container{
    margin-bottom: 20px;
    padding:20px;
  }
  .carousel-nav{
    z-index: 99;
    width: 96%;
  }
  #thumbnailCarousel .owl-dots{
    bottom: -30px;
  }
  .header-tools{
    margin-top: 0;
  }

  .ma-infinitypush-wrapper .ma-infinitypush>ul>li>a, .ma-infinitypush-wrapper .ma-infinitypush ol li a{
    height: auto;
    padding: 0;
  }
  .main-carousel-container .video-cont img{
    width: 500px;
  }
}
/* Responsive Design */
@media (max-width: 768px) {
  .main-title {
    font-size: 2.5rem;
  }

  .sub-title {
    font-size: 1.8rem;
  }

  .nav-list {
    flex-direction: column;
  }

  .decorative-branches {
    display: none;
  }

  .temple-description {
    margin-top: 20px;
    height: auto;
  }

  .heritage-cards{
    margin-bottom: 10px;
  }
  .heritage-section{
    padding:20px 0;
  }
  .section-header{
    margin-bottom: 20px;
    margin-top: 20px;
  }
  .decorative-icon img{
    height: auto;
  }
  #thumbnailCarousel .owl-dots{
    bottom: -20px!important;
  }
  #thumbnailCarousel .owl-dots .owl-dot span{
    width: 50px!important;
  }
  .next-btn,.prev-btn{
    width: 20px;
    height: 55px;
    margin-right: -5px;
  }
  .prev-btn{
    margin-left: -5px;
    z-index: 999;
  }
  .nav-list li a{
    writing-mode: initial;
    padding:10px 0!important;
    font-size: 16px;
    display: block;
  }
  .ma-infinitypush-wrapper .ma-infinitypush-button{
    box-shadow: inset 0 4px #65504A, inset 0 6px white, inset 0 9px #65504A, inset 0 11px white, inset 0 14px #65504A, inset 0 16px white;
  }
  #mobile-navigation{
    background: #65504A!important;
  }
  .header-tools .accessibility-tools a,.header-tools .accessibility-tools a .iconfont{
    font-size: 12px;
    padding:0;
  }
  .header-tools .accessibility-tools a{
    background: none;
    padding-top: 0;
    writing-mode:initial;
  }
  .logo{
    margin-top: 10px;
    flex-shrink: 0;
  }
  .header-tools{
    position: absolute;
    right:0;
    top: 10px;
    bottom:0;
    width: 50%;
    gap: 10px;
  }
  .logo img{
    height: 30px;
  }
  .header-tools .accessibility-tools{
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    letter-spacing: 3px;
  }
  .temple-section{
    margin-top: -60px;
  }
  .main-header .banner-text{
    margin-top: 60px;
    margin-right: 18%;
  }
}
@media (max-width: 600px) {
  .header-tools .accessibility-tools{
    gap: 10px;
  }
  .header-tools{
    width: 30%;
    top: 50px;
    right:20px;
  }
  .header-tools .accessibility-tools{
    flex-direction: column;
    align-items: flex-end;
  }
  .header-tools .accessibility-tools a{
    letter-spacing: 0;
  }
  .index-top{
    min-height: 300px;
  }
  .main-carousel-container .video-cont{
    padding:0;
  }
  .main-carousel-container .video-cont:before, .main-carousel-container .video-cont:after{
    width: 30px;
    height: 30px;
    background-size: 100% 100%;
  }
  .pic-list li a{
    padding:16px;
  }
}
