.simple-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex-wrap: wrap;
    overflow: hidden;
    margin-bottom: 10px;
}

.simple-card:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.simple-card-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000;
    padding: 15px;
    border-radius: 8px;
    height: 80px;
    min-width: 250px;
    max-width: 250px;
}

.simple-card-logo img {
    max-width: 100%;
    max-height: 60px;
}

.simple-card-content {
    flex-grow: 1;
    padding: 0 20px;
    text-align: center;
}

.simple-card-offer {
    font-size: 1.75rem;
    font-weight: bold;
    color: #333;
    margin: 0;
    max-width: 600px;
}

.simple-card-button {
    flex: 0 0 auto;
    padding: 15px 30px;
    background-color: #28a745;
    color: #fff;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 30px;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.simple-card-button:hover {
    background-color: #218838;
}

.simple-card-terms {
    font-size: 0.8rem;
    color: #666;
    text-align: left;
    margin-top: 10px;
    border-top: 1px solid #ddd;
    padding-top: 10px;
    flex-basis: 100%;
    max-height: calc(1.2em * 2); /* 3 lines of text */
    overflow-y: auto; /* Add vertical scroll */
    line-height: 1.2em; /* Adjust line height for readability */
    scrollbar-width: thin; /* For modern browsers, thin scrollbar */
    scrollbar-color: #ccc #f0f0f0; /* Custom scrollbar colors */
}

/* Optional: Customize the scrollbar for WebKit browsers (Chrome, Safari) */
.simple-card-terms::-webkit-scrollbar {
    width: 6px;
}

.simple-card-terms::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 3px;
}

.simple-card-terms::-webkit-scrollbar-track {
    background: #f0f0f0;
}

@media screen and (max-width: 768px) {
    .simple-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
    }

    .simple-card-logo {
        width: 100%;
        max-width: 200px;
        max-height: 80px;
        min-height: 80px;
        margin-bottom: 15px;
        background-color: #000; /* Keep the background color */
        padding: 15px;
        border-radius: 8px;
    }

    .simple-card-logo img {
        max-width: 100%;
        height: auto;
    }

    .simple-card-content {
        padding: 0;
        margin-bottom: 15px;
    }

    .simple-card-offer {
        font-size: 1.5rem;
        font-weight: bold;
        color: #333;
        margin: 0 0 10px;
    }

    .simple-card-button {
        width: 100%;
        max-width: 300px;
        padding: 12px 20px;
        font-size: 1rem;
        border-radius: 25px;
    }

    .simple-card-terms {
        margin-top: 10px;
        font-size: 0.9rem;
        line-height: 1.4;
        text-align: center;
        border-top: 1px solid #ddd;
        padding-top: 10px;
        width: 100%;
    }
}

