.values-container {
    display: flex;
    flex-direction: column;
    height: 74vh;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 20px;
    border-radius: 10px;
    overflow: hidden;
}

.values-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    flex-grow: 1;
    overflow: hidden;
}

.left-column {
    overflow-y: auto;
    padding-right: 20px;
    max-height: 100%;
}

.right-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow-y: auto;
    max-height: 100%;
    margin-bottom: 20px;
}


.values-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.values-content {
    overflow-y: auto;
    max-height: 100%;
}

.values-content h2 {
    margin-top: 0;
}

.values-content h4 {
    margin-top: 20px;
    margin-bottom: 10px;
}

.values-content p {
    margin-bottom: 15px;
}

.back-button {
    align-self: flex-start;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .values-container {
        height: auto;
    }

    .values-content-wrapper {
        grid-template-columns: 1fr;
        overflow: visible;
    }

    .left-column, .right-column {
        width: 100%;
        max-height: none;
    }

    .left-column {
        overflow-y: visible;
        padding-right: 0;
    }

    .right-column {
        height: auto;
    }

    .values-image {
        max-height: 300px; /* Limit image height on mobile */
    }
}

