 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        .main-content {
            width: calc(100% - 400px);
            float: left;
            background: #fff;
            padding: 20px;
            border-radius: 5px;
            box-shadow: 0 0 10px rgba(0,0,0,0.1);
            margin-right: 20px;
        }
        .sidebar {
            width: 360px;
            float: right;
            position: sticky;
            top: 20px;
            background: #fff;
            padding: 20px;
            border-radius: 5px;
            box-shadow: 0 0 10px rgba(0,0,0,0.1);
        }
        .clearfix::after {
            content: "";
            display: table;
            clear: both;
        }
        
        /* 面包屑导航 */
        .breadcrumb {
            padding: 8px 15px;
            margin-bottom: 20px;
            list-style: none;
            background-color: #f5f5f5;
            border-radius: 4px;
            font-size: 14px;
        }
        .breadcrumb li {
            display: inline-block;
        }
        .breadcrumb li+li:before {
            padding: 0 5px;
            color: #ccc;
            content: "/";
        }
        .breadcrumb a {
            color: #666;
            text-decoration: none;
        }
        .breadcrumb a:hover {
            color: #ff6b6b;
        }
        
        /* 图片标题和发布时间 */
        .image-title {
            font-size: 24px;
            margin-bottom: 10px;
            color: #333;
        }
        .publish-time {
            color: #999;
            font-size: 14px;
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 1px solid #eee;
        }
        
        /* 图片样式切换按钮 */
        .style-switcher {
            margin-bottom: 20px;
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }
        .style-btn {
            padding: 8px 15px;
            background: #f5f5f5;
            border: 1px solid #ddd;
            border-radius: 4px;
            cursor: pointer;
            font-size: 14px;
            transition: all 0.3s;
        }
        .style-btn:hover, .style-btn.active  {
            background: #ff6b6b;
            color: #fff;
            border-color: #ff6b6b;
        }
        
        /* 图片集合 */
        .image-collection, .imglist {
            display: flex;
            flex-wrap: wrap;
            margin: 0 -5px;
            list-style: none;
        }
        /* 默认大图样式 - 电脑端一行3张 */
        .collection-item, .tx-img {
            width: calc(33.33% - 20px);
            margin: 0 10px 10px;
            transition: all 0.3s;
        }
        .collection-item img, .tx-img img {
            width: 100%;
            object-fit: cover;
            border-radius: 5px;
            transition: all 0.3s;
        }
        
        /* 图片样式 */
        .image-large {
            height: 200px;
        }
        .image-small {
            height: 144px;
        }
        .image-round {
            border-radius: 50% !important;
        }
        .image-square {
            border-radius: 5px !important;
        }
        
        /* 小图模式 - 电脑端一行4张 */
        .small-mode .tx-img {
            width: calc(20% - 20px);
        }
        
        /* 分页按钮 */
        .pagination-buttons {
            display: flex;
            justify-content: center;
            margin-top: 20px;
            gap: 20px;
        }
        .page-btn {
            padding: 10px 25px;
            background: #ff6b6b;
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 14px;
            transition: all 0.3s;
        }
        .page-btn:hover {
            background: #ff5252;
        }
        
        /* 相关图片区域 */
        .related-images {
            margin-top: 40px;
            padding-top: 20px;
            border-top: 1px solid #eee;
        }
        .related-images h3 {
            font-size: 18px;
            margin-bottom: 15px;
        }
        .related-image-list {
            display: flex;
            flex-wrap: wrap;
            margin: 0 -10px;
        }
        .related-image-item {
            width: calc(25% - 20px);
            margin: 0 10px 20px;
        }
        .related-image-item img {
            width: 100%;
            height: 160px;
            object-fit: cover;
            border-radius: 5px;
            margin-bottom: 8px;
        }
        .related-image-item a {color:#222; text-decoration:none;}
        .related-image-item h4 {
            font-size: 14px;
            font-weight: normal;
            color: #333;
            text-align: center;
        }
        
        /* 右侧侧边栏样式 */
        .sidebar-title {
            font-size: 18px;
            margin-bottom: 15px;
            padding-bottom: 10px;
            border-bottom: 1px solid #eee;
        }
        .hot-image-list {
            display: flex;
            flex-wrap: wrap;
            margin: 0 -10px;
            margin-bottom: 20px;
        }
        .hot-image-item {
            width: calc(50% - 20px);
            margin: 0 10px 15px;
            padding-bottom: 15px;
            border-bottom: 1px dashed #eee;
        }
        .hot-image-item img {
            width: 100%;
            height: 120px;
            object-fit: cover;
            border-radius: 3px;
            margin-bottom: 10px;
        }
        .hot-image-item h4 {
            font-size: 14px;
            font-weight: normal;
            color: #333;
            margin-bottom: 5px;
        }
        .hot-image-item p {
            font-size: 12px;
            color: #999;
        }
        .ad-area {
            background: #f9f9f9;
            padding: 15px;
            text-align: center;
            border-radius: 5px;
            margin-top: 20px;
        }
        .ad-area img {
            max-width: 100%;
            height: auto;
        }
        .ad-area p {
            font-size: 12px;
            color: #999;
            margin-top: 10px;
        }
 
        /* 响应式设计 */
        @media (max-width: 992px) {
            .main-content {
                width: 100%;
                margin-right: 0;
                margin-bottom: 20px;
                float: none;
            }
            .sidebar {
                width: 100%;
                float: none;
                position: static;
            }
            /* 平板设备调整 */
            .collection-item {
                width: calc(50% - 20px); /* 移动端大图一行2张 */
            }
            .small-mode .collection-item {
                width: calc(33.33% - 20px); /* 移动端小图一行3张 */
            }
            .related-image-item {
                width: calc(50% - 20px); /* 移动端相关图片一行2张 */
            }
        }
 
        @media (max-width: 576px) {
            .container {
                padding: 10px;
            }
            .main-content, .sidebar {
                padding: 15px;
            }
            /* 手机设备调整 */
            .tx-img {
                width: calc(50% - 20px);
            }
            .small-mode .tx-img {
                width: calc(25% - 20px);
            }
            .image-large {
            height: 180px;
        }
        .image-small {
            height: 80px;
        }
        .related-image-item img {
            height: 105px;
        }
            .related-image-item {
                width: calc(33.33% - 20px);
            }
            .style-switcher {
                justify-content: center;
            }
        }