.gallery-wrapper .gallery-box {
  padding: 20px 20px !important;
  display: inline-block;
  position: relative;
  transition: all 0.6s;
}

.gallery-box:nth-child(odd) {
  transform: rotateZ(-5deg);
}

.gallery-box:nth-child(2n) {
  transform: rotateZ(5deg);
}

.gallery-wrapper .gallery-item {
  display: block;
  overflow: hidden;
  background-color: var(--card-bg-color);
  padding: 5px;
  padding-bottom: 0;
  position: relative;
  -moz-box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.22);
  -webkit-box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.22);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.22);
}

.gallery-cover-box {
  width: 100%;
  padding-top: 60%;
  text-align: center;
  overflow: hidden;
  position: relative;
  background: center center no-repeat;
  -webkit-background-size: cover;
  background-size: cover;
}

.gallery-cover-box .gallery-cover-img {
  display: inline-block;
  width: 100%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.gallery-item .gallery-name {
  font-size: 14px;
  line-height: 24px;
  text-align: center;
  /* color: var(--text-color); */
  margin: 0;
}

.my-gallery .gallery-box img {
  border-radius: 10px;
  height: 240px;
}

.card .card-content {
  padding: 24px 24px 24px 24px;
}

.miaoshus {
  padding: 20px;
  border: 1px dashed var(--link-hover-color);
  /* color: var(--text-color); */
  position: relative;
  display: inline-block;
  width: 95%;
  background-color: var(--toc-activ-bg-color);
  border-radius: 10px;
  font-size: 16px;
  margin: 12px auto;
}

.waterfall {
  column-count: 3;
  column-gap: 1em;
}

.photo-wrapper {
  padding-top: 20px;
}

.photo-item {
  display: block;
  padding: 10px;
  padding-bottom: 0;
  margin-bottom: 14px;
  font-size: 0;
  /* -moz-page-break-inside: avoid; */
  -webkit-column-break-inside: avoid;
  break-inside: avoid;
  background: var(--card-bg-color);
  -moz-box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.22);
  -webkit-box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.22);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.22);
}

.photo-item img {
  width: 100%;
}

.photo-item .photo-name {
  font-size: 14px;
  line-height: 30px;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 10px;
  border-top: 1px solid #ddd;
}

.gallery-wrapper .img-item a {
  background-color: var(--toc-activ-bg-color);
  border-radius: 5px;
}

@media only screen and (max-width: 601px) {
  .waterfall {
    column-count: 2;
    column-gap: 1em;
  }
}

input::placeholder {
  color: red;
  font-size: 1.2em;
  font-style: italic;
}
