  /** 页面样式调整 */
div#comments {
    margin-top: 0;
    min-width: 300px;
}
.wu-comment {
    display: flex;
    flex-direction: column; /* 图标在上，文字在下 */
    justify-content: center; /* 垂直居中 */
    align-items: center;     /* 水平居中 */
    margin: 0 auto;          /* 外层居中 */
    height: 100px;           
    color: #999;
    text-align: center;
}

.wu-comment i {
    font-size: 24px;
    margin-bottom: 8px;
}

.wu-comment p {
    margin: 0;
    font-size: 14px;
}
#qr-box {
    background-color: transparent;
}

.post-buttons,
#qr-box {
    display: none;
}

#body-bottom {
    margin-top: 0;
}

#footer {
    padding: 1.25rem 0;
}

@media screen and (max-width: 40rem) {
    #post article {
        margin-top: 2.6rem;
    }
}
/* banner-ad 样式 */
.image-grid {
    display: grid;
    grid-template-columns: 1fr;

}

@media (min-width: 768px) {
    .image-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.image-grid a {
    display: block;
    overflow: hidden;
    padding: .1rem .2rem;
    cursor: pointer;
}

.image-grid img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: inherit;
    transition: transform 0.3s ease;
    margin: 0;
    cursor: pointer;
}

.image-grid a:hover img {
    transform: scale(1.02);
}

.image-grid-image {
    padding: 0;
    margin: 0;
    border: none;
    cursor: pointer;
    pointer-events: none;
    aspect-ratio: 393/55;
}

.image-grid-a {
    padding: 0;
    margin: 0;
    border: none;
    cursor: pointer;
}
/* font-ad 样式 */
 .font-button-grid-1 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    gap: 0.75rem;
    padding: 1rem 0;
    width: 100%;
}

.font-button-grid-1 a.grid-button {
    padding: 0.5rem;
    border: 1px solid #bcbcbc !important;
    background: transparent;
    border-radius: 6px;
    color: #bcbcbc !important;
    font-size: .89rem;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    width: 100%;
    -webkit-line-clamp: 1;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    text-align: center;
}
@media (max-width: 767px) {
    .font-button-grid-1 {
        grid-template-columns: 1fr 1fr 1fr 1fr;
        /* 一行四个按钮 */
    }

    .font-button-grid-1 a.grid-button {
        font-size: .75rem;
    }
}

/* @media (max-width: 365px) {
    .font-button-grid-1 {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
    .font-button-grid-1 a.grid-button {
        font-size:.75rem;
    }
} */
.font-button-grid a.grid-button:hover {
    background: rgba(255, 255, 255, 0.05);
}
/* icon-ad 样式 */
.image-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(82px, 1fr));
    gap: 0.75rem;
    padding-top: 0.5rem;
    justify-items: center;
}

.image-card-grid .post-meta a,
.post-content a,
.widget a,
.comment-content a {
    border-bottom: none;
}

.image-card-grid a {
    text-align: center;
    text-decoration: none;
    color: inherit;
    width: 100%;
    max-width: 82px;
    cursor: pointer;
}

.image-card-grid img {
    width: 82px;
    height: 82px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
    margin: 0 auto 0.2rem;
    transition: transform 0.3s ease;
    cursor: pointer;

}

.image-card-grid a:hover img {
    transform: scale(1.05);
}

.image-card-grid .caption {
    font-size: 0.85rem;
    color: #ccc;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 680px) {

    .image-card-grid {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
        gap: 0.2rem;
        justify-items: center;
    }

    .image-card-grid img {
        width: 52px;
        height: 52px;
        min-height: 52px;
        pointer-events: none;
    }

    .image-card-grid-title-wrapper {
        display: flex;
        align-items: center;
        margin: .3rem 0;
    }

    .image-card-grid-title {
        font-weight: 500;

    }

    .image-card-grid-title-icon {
        height: 14px;
        width: 2px;
        background: #00d95a;
        margin-right: 0.3rem;
    }
}

.image-card-grid-title-wrapper {
    display: flex;
    align-items: center;
    margin: .5rem 0;
}

.image-card-grid-title {
    font-weight: 700;

}

.image-card-grid-title-icon {
    height: 28px;
    width: 4px;
    background: #00d95a;
    margin-right: 0.5rem;
}
/* 热门应用 */
.image-grid {
    display: grid;
    grid-template-columns: 1fr;

}

@media (min-width: 768px) {
    .image-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* .image-grid a {
    display: block;
    overflow: hidden;
    padding: 2px;
    cursor: pointer;
} */

.image-grid img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: inherit;
    transition: transform 0.3s ease;
    margin: 0;
    cursor: pointer;
}

.image-grid a:hover img {
    transform: scale(1.02);
}

.image-grid-image {
    padding: 0;
    margin: 0;
    border: none;
    cursor: pointer;
    pointer-events: none;
    aspect-ratio: 393/55;
}

.image-grid-a {
    padding: 0;
    margin: 0;
    border: none;
    cursor: pointer;
}
/* palyer */
.dplayer {
    width: 70%;
    /* max-width: 100%; */
    height: 20rem;
    margin: 0 auto;
}
/* 瀑布流布局 */
.gallery-wrapper {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.gallery-wrapper a {
  display: block;
}

.gallery-wrapper img {
  width: 100%;
  height: 13rem;
  display: block;
  border-radius: 6px;
  object-fit: cover;
  cursor: pointer;
}
.post-content img{
    margin: .25rem auto;
  }
@media (max-width: 768px) {
  .gallery-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
  .dplayer {
    width: 100%;
    max-width: 100%;
    height: 20rem;
    margin: 20px auto;
}
}

/* 展开按钮 */
.toggle-more {
  display:flex;
  justify-content:center;
  align-items:center;
  gap:8px;
  font-size:16px;
  color:#111;
  cursor:pointer;
  margin:1rem 0;
  user-select:none;
  color: #fff;
  width: 100%;
  min-height: 40px;
}
.toggle-more .arrow {
  font-size:18px;
  transition:transform .3s;
}
.toggle-more.expanded .arrow {
  transform:rotate(180deg);
}
.gallery-wrapper > img{ aspect-ratio: 2/3; }
.image-card-grid-wrapper{width: auto;min-height: 200px;}
