.gyzz {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between; /* 添加此行确保间距均匀 */
    margin: 0 -8px;
    width: 100%; /* 确保容器宽度为100% */
}

/* 默认三列布局 */
.gybk {
    flex: 0 0 calc(33.33% - 12px); /* 替换width为flex属性 */
    border-radius: 12px;
    border: 1px solid #000;
    overflow: hidden;
    margin: 8px 6px;
    position: relative;
    box-sizing: border-box; /* 添加此行确保边框不影响宽度计算 */
}

.gybk-1 {
    padding: 8px 16px 16px 16px;
    margin-top: 12px;
}

.gybk-2 {
    font-size: 18px;
    font-weight: bold;
    line-height: 1;
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
    width: fit-content;
}

.gybk-3 {
    line-height: 20px;
    color: rgba(60, 60, 67, 0.8);
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    font-size: 14px;
}
.iphone {
    width: 100%;
    height: auto;
    min-height: 150px;
    display: flex;
    margin: 8px 0 0 0;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
}
/* 图片自适应 */
.iphone img {
    max-width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: contain;
}

/* 替换现有的媒体查询 */
/* 大屏幕显示三列 */
@media screen and (min-width: 741px) {
    .gybk {
        flex: 0 0 calc(33.33% - 12px);
        max-width: calc(33.33% - 12px);
    }
}

/* 中等屏幕显示两列 */
@media screen and (max-width: 740px) {
    .gybk {
        flex: 0 0 calc(50% - 12px);
        max-width: calc(50% - 12px);
    }
}

/* 小屏幕仍显示两列（缩小间距）*/
@media screen and (max-width: 480px) {
    .gybk {
        flex: 0 0 calc(50% - 8px);
        max-width: calc(50% - 8px);
        margin: 6px 4px;
    }
}