﻿/* 整体main区域的样式 */
.lawTop {
    display: flex;
    justify-content: space-between;
}

/* 左边部分的样式 */
.left-section {
    width: 60%;
    display: flex;
    flex-direction: column;
}

/* 左边上面文字部分的样式 */
.left-upper-text {
    padding: 10px;
    font-size: 12px;
    color: #FFFFFF;
    height: 100%;
}

/* 左边下面金色背景部分的样式 */
.left-lower-gold {
    background: linear-gradient( 135deg, #FFD39C 0%, #FAE0C5 48%, #FFD39C 100%);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding-top: 10px;
    flex-wrap: nowrap; /* 不换行，确保图片在同一行 */
}

    /* 左边金色背景里每个包含图片和文字的div的样式 */
    .left-lower-gold div {
        display: flex;
        flex-direction: column;
        align-items: center; /* 让图片和文字在div内居中对齐 */
    }

    /* 左边金色背景里图片的样式 */
    .left-lower-gold img {
        width: 50px; /* 根据需求调整图片宽度占比 */
        object-fit: cover; /* 保持图片比例并填充容器 */
    }

    /* 图片下方文字的样式 */
    .left-lower-gold p {
        text-align: center;
        margin-top: 10px; /* 给文字添加顶部间距，使其在图片下方并与图片有间隔 */
        font-size: 12px;
        color: #9B5810;
    }

/* 右边部分的样式 */
.right-section {
    width: 30%;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
    /* 右边图片的样式 */
    .right-section img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

/* 设置新的div样式 */
.new-div {
    display: flex;
    /*justify-content: space-around;*/
    margin: 0 20px 0 20px;
}

/* 设置正方形div的通用样式，确保无外边距且为正方形 */
.square-div {
    width: 25%;
    padding: 0; /* 去除内边距 */
    margin: 0; /* 去除外边距 */
    aspect-ratio: 1 / 1; /* 设置宽高比为1:1，确保为正方形 */
    display: flex;
    justify-content: center;
    /*align-items: center;*/
}

/* 设置第一个和第三个div中的文字内容样式 */
.text-content {
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
    font-size: 12px;
}

/* 设置箭头图标样式 */
.arrow-icon {
    margin-top: auto; /* 将箭头推到最下方 */
}

.carousel1 {
}

.carousel1-item {
    text-align: center;
    margin: 0 5px 0 5px;
}

    .carousel1-item img {
        width: 100%;
        height: auto;
    }

.text-container {
    background-color: #FFD7A6;
    color: #9B5810;
    padding: 5px;
}

    .text-container p:first-child {
        font-size: 14px;
    }

    .text-container p:last-child {
        font-size: 12px;
    }

/* 整体左右有20px边距的容器样式 */
.margin-lr201 {
    padding-left: 20px;
    padding-right: 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.margin-t10 {
    margin-top: 6px;
}

/* 左边层样式 */
.left-layer {
    width: 50%; /* 左右层各占约一半宽度，可根据实际情况微调 */
    position: relative;
    margin-right: 10px;
}

.left-img {
    width: 100%;
    height: auto;
    aspect-ratio: 5 / 4; /* 保持图片5:4的比例 */
}

.left-gray-layer {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    height: 30px;
    background-color: rgba(0, 0, 0, 0.5); /* 半透明灰度背景 */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
}

.left-text {
    color: white;
    color: #FFFFFF;
    font-size: 12px;
}

.right-arrow {
    width: 20px; /* 可根据实际图标大小调整 */
    height: 20px;
    fill: white; /* 如果是SVG图标，设置填充色为白色 */
}

/* 右边层样式 */
.right-layer {
    width: 50%;
    position: relative;
}

.right-img {
    width: 100%;
    height: auto;
    aspect-ratio: 5 / 4;
}

.right-gray-layer {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    height: 30px;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
}

.right-text {
    color: white;
    color: #FFFFFF;
    font-size: 12px;
}

/* 左右两个层的外层容器样式 */
.main-container1 {
    display: flex;
    justify-content: space-between;
}

/* 左边层的样式 */
.left-layer1 {
    width: 50%;
    position: relative;
    margin-right: 10px;
}

/* 左边层图片的样式，确保铺满div且保持比例 */
.left-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 右边层的样式 */
.right-layer1 {
    width: 50%;
    display: flex;
    flex-direction: column;
}

/* 右边层上层的样式 */
.right-upper-layer1 {
    position: relative;
    flex: 1;
}

/* 右边层下层的样式 */
.right-lower-layer1 {
    position: relative;
    flex: 1;
}

/* 右边层图片的样式，确保铺满div且保持比例 */
.right-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
