/* 设置全局背景 */
body {
    font-family: 'Arial', sans-serif;
	text-align: center;
    margin: 0;
    padding: 0;
    color: #333;
}

/* 照片墙的主要容器 */
.photo-wall {
    max-width: 1200px;
    margin: 30px auto;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* 每个主题组容器 */
.theme-group {
    margin-bottom: 25px;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 15px;
}

/* 主题标题的按钮样式 */
.theme-title {
    width: 100%;
    background-color: #2C3E50;
    color: white;
    border: none;
    padding: 18px 20px;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 10px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.theme-title:hover {
    background-color: #1A252F;
    transform: translateY(-2px);
}

/* 主题图片的数量计数器样式 */
.theme-count {
    font-size: 14px;
    color: #BDC3C7;
    font-weight: normal;
}

/* 图片容器 */
.photo-container {
    display: none; /* 默认折叠 */
    margin-top: 20px;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); /* 缩小图片容器 */
    gap: 15px;
    transition: all 0.3s ease;
}

/* 图片项的样式 */
.photo-item {
    background-color: #ffffff;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.photo-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* 图片本身的样式 */
.photo-item img {
    max-width: 90%; /* 缩小图片的宽度 */
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.photo-item img:hover {
    transform: scale(1.05); /* 图片放大的效果小一点 */
}

/* 图片标题和时间信息的样式 */
.photo-item p {
    margin-top: 15px;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    text-align: center;
}

/* 响应式：调整小屏幕设备的样式 */
@media (max-width: 768px) {
    .photo-wall {
        padding: 15px;
    }

    .theme-title {
        font-size: 18px;
        padding: 15px;
    }

    .photo-container {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); /* 更小的图片尺寸 */
    }

    .photo-item {
        padding: 10px;  /* 更小的内边距 */
    }

    .photo-item p {
        font-size: 13px;
    }
}
