/* five-new-module.css */

.five-new-module {
    width: 100%;
    background-color: black;
    /* height: 100%; */
}

.five-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    /* height: 100%; */
}
.five-image-list::after {
    content: "";
    display: table;
    clear: both;
}
.five-image-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 两列 */
    grid-template-rows: repeat(2, 1fr); /* 两行 */
    gap: 80px; /* 设置间距 */
    list-style-type: none;
    padding-top: 10px;
    margin: 0;
    width: 100%; /* 确保父容器占据整个宽度 */
    max-width: 900px; /* 设置最大宽度以适应不同屏幕尺寸 */
}

.five-image-item {
    position: relative;
    width: 100%; /* 确保子元素占据其网格单元格的全部宽度 */
    height: 400px; /* 固定高度 */
    
}

.five-image {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
}

.five-title-box {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(254, 252, 252, 0.651);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px; /* 可根据需要调整 */
    border-radius: 0 0 10px 10px;
}

.five-title-text {
    margin: 0;
}

.five-more-button {
    margin-top: 20px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 100px;
    padding: 10px 50px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    background-color: white;
    color: black;
    transition: background-color 0.3s;
    border-radius: 20px;
}

/* .five-more-button:hover {
    background-color: white;
    color: black;
} */

.five-button-text {
    text-align: center;
    display: block;
}