/* ========================================================== */
/* 1. Card Container Styling (No change needed here for reported issues) */
/* ========================================================== */

.card {
    width: 100%;
    max-width: 350px;
    margin: 20px auto;
    border: 1px solid #ddd;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    background-color: #fff;
    display: flex;
    flex-direction: column;
}

/* ========================================================== */
/* 2. Image and Scaling (No change needed here for reported issues) */
/* ========================================================== */

.card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ========================================================== */
/* 3. Text and Content Spacing (Adjusted) */
/* ========================================================== */

.card-content {
    padding: 20px; /* <--- This is the key change for heading spacing */
}

/* The H2 in your screenshot looks like the overall card title, not inside card-content */
.card > h2 { /* Targeting the H2 directly inside the card, above the image */
    font-size: 1.5rem;
    color: #333;
    margin: 0; /* Remove default margin */
    padding: 10px 20px 10px 20px; /* Add padding here too, especially for top/sides */
    text-align: center; /* Center the title if desired */
}


.card h3 { /* This corresponds to "Score Major Savings & Cash Rebates" */
    font-size: 1.2rem;
    color: #ff9933;
    margin-top: 0;
    margin-bottom: 15px;
}

.card p {
    line-height: 1.6;
    margin-bottom: 15px;
}

.key-benefits {
    list-style-type: disc !important;
    padding-left: 20px !important;
    margin-bottom: 25px;
}

.key-benefits li {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

/* ========================================================== */
/* 4. Call-to-Action Button Styling (Adjusted) */
/* ========================================================== */

.button {
    /* Changed from display: block to display: inline-block */
    display: inline-block; 
    /* Remove width: 100% to let content define width, then constrain */
    /* width: 100%; */ 
    max-width: 250px; /* <--- New: Sets a maximum width for the button */
    padding: 12px 20px;
    text-align: center;
    text-decoration: none;
    background-color: #ff9933;
    color: #fff;
    border-radius: 6px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    /* To center the button if it's not full width: */
    margin: 0 auto; 
}

.button:hover {
    background-color: #e68a2e;
}