.container .right-list {
    width: 900px;
    padding-bottom: 50px;
}

.container .right-list .list-title {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bolder;
    font-size: 36px;
    color: #000000;
    word-wrap: break-word;
}

.container .right-list .line {
    width: 100%;
    height: 2px;
    margin: 10px 0;
    background: linear-gradient(to right, #770000 0%, #770000 15%, #ddd 15%, #ddd 100%);
}

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 220px;
    gap: 15px;
    grid-auto-flow: dense;
}

.item {
    position: relative;
    overflow: hidden;
}

.item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.item img:hover {
    transform: scale(1.2);
}

.item .info {
    position: absolute;
    left: 12px;
    bottom: 12px;   /* ⭐ 只控制这一处 */
    z-index: 2;
    color: #fff;
}

.item .title {
    font-size: 16px;
    font-weight: bold;
}

.item .author {
    font-size: 13px;
    opacity: 0.9;
    margin-top: 4px;  /* 有作者才有间距 */
}

/* Overlay 样式 */
.image-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    cursor: grab;
}

#overlayImage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translate(0px, 0px) scale(1);
    cursor: grab;
}

.image-overlay img {
    max-width: 90%;
    max-height: 90%;
    transition: transform 0.2s ease;
}

/* 关闭按钮 */
.close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 30px;
    color: #fff;
    cursor: pointer;
    z-index: 10;
}

/* 控制按钮 */
.controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    z-index: 10;
}

.controls button {
    background: rgba(255,255,255,0.2);
    border: none;
    color: #fff;
    font-family: "mw-iconfont", serif;
    font-size: 20px;
    padding: 6px 12px;
    cursor: pointer;
}

.controls span {
    font-size: 16px;
    min-width: 50px;
    text-align: center;
}