.container_downloads {
    max-width: 90%;
    background: #fff;
    padding: 30px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    text-align: center;
    margin: 0 auto;
    margin-top: 20px;
}

.container_downloads h1 {
    font-size: 36px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    background-image: linear-gradient(to right, #30CFD0, #330867);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.container_downloads h3 {
    font-size: 25px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 40px 0 20px;
    background-image: linear-gradient(to right, #30CFD0, #330867);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.container_downloads p {
    font-size: 16px;
    color: #0a0a0a;
    margin-bottom: 30px;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 30px auto;
}

.downloads {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 equal-width columns */
    gap: 20px;
    /* Space between the buttons */
    grid-auto-rows: 1fr;
    /* Auto-adjust the height of rows */
}

.offer-link {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
    height: 100%;
    /* Make the link fill the entire grid cell */
}

.offer {
    display: flex;
    align-items: flex-start;
    /* Align items at the top */
    justify-content: flex-start;
    background-color: #3498db;
    color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s, transform 0.3s;
    height: 100%;
    /* Make the button fill the entire grid cell */
    width: 100%;
    /* Ensure buttons take up full width of the grid cell */
    box-sizing: border-box;
    text-align: left;
    flex-direction: column;
    /* Ensure content is stacked vertically */
}

.offer__icon {
    margin-right: 15px;
    flex-shrink: 0;
    /* Prevent icon from shrinking */
}

.offer__icon img {
    width: 50px;
    height: auto;
}

.offer__details {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* Align text at the top */
    overflow-wrap: break-word;
    word-wrap: break-word;
    flex-grow: 1;
    /* Make sure this section grows to fill available space */
}

.offer__details h2 {
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 10px 0;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    /* Prevent the title from wrapping */
}

.offer__details p {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
    white-space: normal;
    /* Allow the text to wrap naturally */
    overflow: visible;
    /* Ensure all content is shown */
    flex-grow: 1;
    /* Allow the paragraph to take up available space */
}

.offer:hover {
    background-color: #2980b9;
    transform: translateY(-5px);
}

.offer__details a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
    align-self: flex-start;
}

.offer__details a:hover {
    color: #ddd;
}

@media (max-width: 768px) {
    .container_downloads h1 {
        font-size: 28px;
    }

    .downloads {
        grid-template-columns: 1fr;
        /* Switch to a single column layout on smaller screens */
    }

    .offer {
        width: 100%;
        padding: 20px;
        height: auto;
        /* Allow height to adjust naturally on smaller screens */
    }

    .offer__icon img {
        margin: 0 auto 10px;
    }

    .offer__details h2 {
        font-size: 16px;
    }

    .offer__details p {
        font-size: 12px;
        overflow: visible;
    }
}