:root {
  --paper: #f7f3e8;
  --ink: #1e1b1b;
  --muted: #5a524a;
  --line: #c7bca8;
  --accent: #a51f2d
}

* {
  box-sizing: border-box
}

html {
  background: #2b221e
}

body {
  margin: 0;
  background: #2b221e;
  color: var(--ink);
}

.phone-page {
  width: min(100%, 428px);
  margin: 0 auto;
  background: var(--paper);
  overflow: hidden;
  box-shadow: 0 0 40px rgba(0, 0, 0, .18);
      background-repeat: no-repeat;
    background-size: 100%;
}

.intro-section {
  padding: 20px 24px 30px;
  position: relative
}

.hero-head {
  text-align: center;
  padding: 12px 0 18px
}

.hero-head img {
  display: block;
  max-width: 100%;
  height: auto;
  max-height: 286px;
  object-fit: contain;
  margin: 0 auto;
}

.hero-head h1 {
  font-size: 50px;
  line-height: 1.15;
  margin: 0 auto;
  font-weight: 600;
  letter-spacing: 20px
}
.hero-head .wzjs {
    font-size: 10px;
    margin-top: 0px;
    letter-spacing: 2px;
    font-weight: 500;
}
.hero-head p {
    font-size: 18px;
    margin: 0;
    margin-top: 25px;
    letter-spacing: 8px;
    font-weight: 600;
}

.media-card {
  background: #f9f6eb;
  border-radius: 27px;
  overflow: hidden;
  box-shadow: 0 6px 12px rgba(62, 49, 37, .08);
  margin-top: 21px
}

.media-frame {
  height: 242px;
  position: relative;
  overflow: hidden
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block
}

.tea-card .media-frame img {
  object-position: center
}

.play-btn {
  position: absolute;
  right: 20px;
  bottom: 17px;
  width: 43px;
  height: 43px;
  border: 1px solid #4e463d;
  border-radius: 50%;
  background: rgba(252, 249, 238, .9);
  display: grid;
  place-items: center
}

.play-btn span,
.mini-play span {
  display: block;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 10px solid var(--accent);
  margin-left: 3px
}

.card-caption {
  min-height: 77px;
  padding: 13px 17px 14px 19px;
  display: flex;
  align-items: center;
  justify-content: space-between
}

.card-caption strong {
  display: block;
  font-size: 21px;
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: 1px
}

.card-caption span {
  display: block;
  font-size: 11px;
  margin-top: 6px;
  letter-spacing: 1px
}

.mini-play {
  width: 39px;
  height: 39px;
  border: 1px solid #4e463d;
  border-radius: 50%;
  background: transparent;
  display: grid;
  place-items: center;
  flex: none
}

.mini-play span {
  margin-top: 0;
  border-top-width: 6px;
  border-bottom-width: 6px;
  border-left-width: 9px
}

.center {
  padding-top: 13px
}

.center>div:first-child {
  text-align: center;
  flex: 1;
  margin-left: 25px
}

.center strong {
  font-size: 22px
}

.center span {
  font-size: 10px
}

.temple-card {
  margin-top: 20px
}

.temple-card .media-frame {
  height: 244px
}

.temple-card .media-frame img {
  object-position: center 46%
}

.video-progress {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 24px;
  height: 2px;
  background: rgba(255, 255, 255, .3)
}

.video-progress span {
  display: block;
  width: 19%;
  height: 100%;
  background: #c51f34
}

.video-time {
  position: absolute;
  bottom: 10px;
  left: 18px;
  right: 18px;
  display: flex;
  justify-content: space-between;
  color: #eee;
  font: 8px Arial, sans-serif
}

.timeline {
  height: 35px;
  display: flex;
  align-items: center;
  gap: 0;
  margin: 3px 12px 0
}

.timeline:before {
  content: '';
  height: 1px;
  background: var(--line);
  flex: 1
}

.timeline span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  display: block
}

.timeline i {
  display: none
}

.temple-banner {
  /*height: 194px;*/
  /*overflow: hidden*/
}

.temple-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 51%;
  display: block
}
.temple-info img{
    max-width: 100px;
}
.temple-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    text-align: center;
    padding: 54px 10px 50px;
    background: var(--paper);
    align-items: center;
    justify-items: center;
}

.temple-info h2 {
  font-size: 38px;
  line-height: 1.1;
  margin: 0;
  font-weight: 600;
  letter-spacing: 5px
}
.alltupian{
        margin-top: 30px;
       display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px; 
}
.tupian img{
      width: 100%;
    aspect-ratio: 1 / 0.8;
    object-fit: contain;
}
.temple-info .motto {
  font-size: 19px;
  margin: 8px 0 25px;
  letter-spacing: 2px
}

.temple-info dl {
  margin: 0;
  text-align: left;
  font-size: 12px;
  line-height: 2.25;
  letter-spacing: .5px;
      display: grid;
    grid-template-columns: 1fr 1fr;
        gap: 0 10px;
}

.temple-info dl div {
  display: flex;
  margin: 10px 0;
    flex-direction: column-reverse;
    align-items: center;
}
.temple-info dl div:first-child,.temple-info dl div:last-child {
    flex-direction: row;
    align-items: flex-start;
    grid-column: 1 / span 2;
}
.temple-info dl div img{
    max-width: 160px;
    max-height: 120px;
}

.temple-info dt {
  width: 75px;
  flex: none;
      text-align: justify;
    text-align-last: justify;
}

.temple-info dd {
  margin: 0;
  /*white-space: nowrap*/
}

@media (min-width:700px) {
  body {
    padding: 24px 0
  }

  .phone-page {
    border-radius: 32px
  }

  .intro-section {
    padding-top: 24px
  }
}

@media (max-width:380px) {
  .intro-section {
    padding-left: 18px;
    padding-right: 18px
  }

  .hero-main {
    font-size: 68px
  }

  .hero-head h1 {
    font-size: 35px
  }

  .media-frame,
  .temple-card .media-frame {
    height: 220px
  }

  .temple-info {
    padding-left: 20px;
    padding-right: 20px
  }

  .temple-info dl {
    font-size: 12px
  }
}

@media (prefers-reduced-motion:reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important
  }
}

.play-btn {
  display: none !important
}

.mini-play span {
  margin-left: 0;
  transform: translateX(1px)
}

.media-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block
}