.values {
    padding: 1rem 1%;
    background-color: #f8f9fa;
    text-align: center;
}

.value-card {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.value-item {
    background: white;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.value-item h3 {
    color: #B5171C;
    margin-bottom: 1rem;
}

.value-item p {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* 响应式设计 - 移动版改为单行列表样式 */
@media (max-width: 768px) {
    .values {
        padding: 1rem 0;
        text-align: left;
        background-color: #fff;
    }

    .value-card {
        display: flex;
        flex-direction: column;
        gap: 0;
        margin-top: 0;
    }

    .value-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1.2rem 1rem;
        border-radius: 0;
        box-shadow: none;
        border-bottom: 1px solid #f0f0f0;
        margin: 0;
        transition: none;
    }

    .value-item:last-child {
        border-bottom: none;
    }

    .value-item:hover {
        transform: none;
        box-shadow: none;
        background-color: #f9f9f9;
    }

    .value-item h3 {
        margin: 0;
        flex: 1;
        display: flex;
        align-items: center;
        color: #333;
        font-size: 1.1rem;
        font-weight: normal;
    }

    .value-item h3 a {
        color: inherit;
        text-decoration: none;
        display: flex;
        align-items: center;
        width: 100%;
    }

    .value-item p {
        display: none; /* 移动端隐藏描述文字，保持简洁 */
    }

    .account-icon {
        margin-right: 12px;
        font-size: 1.2rem;
        color: #B5171C;
        width: 24px;
        text-align: center;
    }

    /* 添加右侧箭头图标 */
    .value-item h3 a::after {
        content: "";
        color: #999;
        font-size: 1.2rem;
        margin-left: auto;
    }
}

/* 在大屏上隐藏的移动端专用项 */
@media (min-width: 769px) {
    .mobile-only {
        display: none;
    }
}