

/* Start:/local/templates/elhard/components/bitrix/news.list/banner_homepage/style.css?17833285783472*/
/* ============================================
   БАННЕРЫ В СТИЛЕ APPLE
   ============================================ */

.apple-banners {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.banner-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #f5f5f7;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.banner-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.banner-image {
    width: 100%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.banner-image img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    max-height: 300px;
}

.banner-content {
    padding: 30px 24px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.banner-title {
    font-size: 28px;
    font-weight: 600;
    color: #1d1d1f;
    margin: 0 0 12px 0;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.banner-description {
    font-size: 16px;
    color: #6e6e73;
    line-height: 1.6;
    margin: 0 0 20px 0;
    max-width: 600px;
}

.banner-button {
    display: inline-block;
    padding: 10px 28px;
    background: #0071e3;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 40px;
    transition: background 0.2s ease, transform 0.15s ease;
    box-shadow: 0 2px 8px rgba(0, 113, 227, 0.2);
}

.banner-button:hover {
    background: #0077ed;
}

.banner-button:active {
    transform: scale(0.96);
}

/* ---- Адаптив для планшетов и десктопов ---- */
@media (min-width: 768px) {
    .apple-banners {
        padding: 60px 30px;
        gap: 40px;
    }

    .banner-item {
        flex-direction: row;
        align-items: center;
        padding: 20px;
        border-radius: 30px;
    }

    .banner-image {
        flex: 0 0 50%;
        padding: 20px 30px;
    }

    .banner-image img {
        max-height: 400px;
    }

    .banner-content {
        flex: 1;
        padding: 20px 40px;
        text-align: left;
        align-items: flex-start;
    }

    .banner-title {
        font-size: 36px;
    }

    .banner-description {
        font-size: 18px;
    }

    /* Чередуем порядок для визуального разнообразия */
    .banner-item:nth-child(even) {
        flex-direction: row-reverse;
    }
}

@media (min-width: 1024px) {
    .apple-banners {
        padding: 80px 40px;
        gap: 60px;
    }

    .banner-title {
        font-size: 44px;
    }

    .banner-description {
        font-size: 20px;
    }

    .banner-button {
        font-size: 18px;
        padding: 12px 36px;
    }
}

/* ---- Маленькие телефоны ---- */
@media (max-width: 374px) {
    .banner-title {
        font-size: 24px;
    }
    .banner-description {
        font-size: 14px;
    }
    .banner-button {
        font-size: 14px;
        padding: 8px 24px;
    }
}

/* ---- Для сенсорных устройств увеличиваем область касания ---- */
@media (pointer: coarse) {
    .banner-button {
        min-height: 44px;
        min-width: 44px;
    }
}
/* End */
/* /local/templates/elhard/components/bitrix/news.list/banner_homepage/style.css?17833285783472 */
