/* ==========================================================
   Z CZYM MOŻEMY CI POMÓC?
   Kafelki problemów podologicznych z obrazami 1:1.
   ========================================================== */

.help-grid-section {
    padding:
        clamp(4rem, 8vw, 7rem)
        0;
    background: #f8f9f8;
}

.help-grid-section__header {
    max-width: 760px;
    margin:
        0 auto
        clamp(2.5rem, 5vw, 4rem);
    text-align: center;
}

.help-grid-section__eyebrow {
    margin: 0 0 0.65rem;
    color: #168387;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.help-grid-section__title {
    margin: 0;
    color: #003d46;
    font-size:
        clamp(2.2rem, 7vw, 4rem);
    line-height: 1;
}

.help-grid-section__lead {
    max-width: 620px;
    margin: 1.25rem auto 0;
    color: #666d70;
    line-height: 1.7;
}

.help-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.help-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border:
        1px solid rgba(0, 76, 88, 0.10);
    border-radius: 16px;
    background: #ffffff;
    color: #202529;
    text-decoration: none;
    box-shadow:
        0 12px 32px rgba(0, 61, 70, 0.06);
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        border-color 180ms ease;
}

.help-card:hover,
.help-card:focus-visible {
    transform: translateY(-4px);
    border-color:
        rgba(22, 131, 135, 0.35);
    box-shadow:
        0 18px 42px rgba(0, 61, 70, 0.12);
}

.help-card__media {
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: #eef2f1;
}

.help-card__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition:
        transform 350ms ease;
}

.help-card:hover .help-card__image,
.help-card:focus-visible .help-card__image {
    transform: scale(1.035);
}

.help-card__content {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        auto;
    gap: 0.65rem;
    align-items: center;
    min-height: 76px;
    padding:
        0.85rem
        0.9rem;
}

.help-card__title {
    margin: 0;
    color: #17464c;
    font-size: 0.9rem;
    font-weight: 750;
    line-height: 1.25;
}

.help-card__arrow {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 50%;
    background:
        rgba(22, 131, 135, 0.10);
    color: #045158;
    font-size: 1rem;
    transition:
        background 180ms ease,
        color 180ms ease;
}

.help-card:hover .help-card__arrow,
.help-card:focus-visible .help-card__arrow {
    background: #045158;
    color: #ffffff;
}

.help-grid-section__footer {
    display: flex;
    justify-content: center;
    margin-top:
        clamp(2rem, 5vw, 3.5rem);
}


@media (min-width: 48rem) {

    .help-grid {
        grid-template-columns:
            repeat(4, minmax(0, 1fr));
        gap: 1.25rem;
    }

    .help-card {
        border-radius: 20px;
    }

    .help-card__content {
        min-height: 82px;
        padding: 1rem 1.1rem;
    }

    .help-card__title {
        font-size: 0.98rem;
    }

}


@media (min-width: 75rem) {

    .help-grid {
        gap: 1.5rem;
    }

}


/* MADLEN_EXTRA_TILES_20261018 */
@media (min-width: 75rem) {
    .help-grid-section > .container {
        width: calc(100% - 3rem);
        max-width: 1480px;
        margin-right: auto;
        margin-left: auto;
    }
    .help-grid-section .help-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
    .help-grid > .help-card--oxygen {
        grid-column: 1;
        grid-row: 1;
    }
    .help-grid > .help-card--hidrex {
        grid-column: 1;
        grid-row: 2;
    }
}
