

/* Start:/bitrix/components/custom/iblock.cards/templates/.default/style.css?17689986912650*/
.iblock-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ===== Карточка ===== */
.iblock-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    min-height: 110px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    transition: box-shadow .2s ease, transform .2s ease;
}

.iblock-card:hover {
    box-shadow: 0 8px 22px rgba(0,0,0,.08);
    transform: translateY(-2px);
}

/* ===== Левая часть (картинка) ===== */
.iblock-card__left {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.iblock-card__left img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* ===== Центр ===== */
.iblock-card__center {
    flex: 1;
}

.iblock-card__title {
    font-size: 17px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 6px;
}

.iblock-card__text {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.4;
}

/* ===== Правая часть (кнопка) ===== */
.iblock-card__right {
    margin-left: auto;
}

.iblock-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    background: #ef4444;
    color: #ffffff;
    text-decoration: none;
    white-space: nowrap;
    transition: background .2s ease;
}

.iblock-card__btn:hover {
    background: #dc2626;
}

/* ========================= */
/* ===== МОБИЛЬНАЯ ВЕРСИЯ ==== */
/* ========================= */

@media (max-width: 768px) {

    .iblock-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding: 18px;
        min-height: auto;
    }

    .iblock-card__left {
        width: 64px;
        height: 64px;
    }

    .iblock-card__center {
        width: 100%;
    }

    .iblock-card__title {
        font-size: 16px;
    }

    .iblock-card__text {
        font-size: 13px;
    }

    .iblock-card__right {
        width: 100%;
        margin-left: 0;
    }

    .iblock-card__btn {
        width: 100%;
        justify-content: center;
        padding: 12px 0;
        font-size: 15px;
    }
}

/* ===== Маленькие экраны ===== */
@media (max-width: 480px) {

    .iblock-card {
        padding: 16px;
        border-radius: 8px;
    }

    .iblock-card__left {
        width: 56px;
        height: 56px;
    }

    .iblock-card__title {
        font-size: 15px;
    }

    .iblock-card__text {
        font-size: 13px;
    }
}


/* End */
/* /bitrix/components/custom/iblock.cards/templates/.default/style.css?17689986912650 */
