.programs-grid img.tool-icon[src*="handbrake.fr"] {
    width: 42px !important;
    height: 42px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    object-fit: contain;
    transition: transform 220ms ease, filter 220ms ease;
}

.programs-grid .tool-item:hover img.tool-icon[src*="handbrake.fr"],
.programs-grid .tool-item:focus-within img.tool-icon[src*="handbrake.fr"] {
    transform: translateY(-2px) scale(1.06);
    filter: brightness(1.08);
}

@media (max-width: 560px) {
    .programs-grid img.tool-icon[src*="handbrake.fr"] {
        width: 40px !important;
        height: 40px !important;
    }
}

/* Szerszy i czytelniejszy przycisk prowadzący do sekcji narzędzi AI. */
@media (min-width: 681px) {
    .hero-ai-note {
        width: min(100%, 330px) !important;
        min-height: 68px;
        grid-template-columns: 42px minmax(0, 1fr) !important;
        grid-template-rows: auto !important;
        column-gap: 0.9rem !important;
        padding: 0.68rem 1rem 0.68rem 0.7rem !important;
        border-radius: 22px !important;
    }

    .hero-ai-icon {
        grid-column: 1 !important;
        grid-row: 1 !important;
        width: 42px !important;
        height: 42px !important;
        flex-basis: 42px !important;
    }

    .hero-ai-content {
        display: flex !important;
        min-width: 0;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 0.22rem !important;
    }

    .hero-ai-description,
    .hero-ai-cta {
        grid-column: auto !important;
        grid-row: auto !important;
        justify-self: auto !important;
        text-align: left !important;
    }

    .hero-ai-description {
        font-size: 0.86rem !important;
    }

    .hero-ai-cta {
        font-size: 0.74rem !important;
    }
}
