/* ========================= */
/* БАЗА */
/* ========================= */

body, h1, h2, h3, h4, h5, h6, a, p, span, ul, ol, li {
    font-family: "Rubik", Arial, sans-serif !important;
}

/* ========================= */
/* ЛОГОТИП */
/* ========================= */

.header-logo img,
.header-logo-2 img,
.offcanvas__logo img {
    max-width: 120px !important;
    height: auto;
}

/* футер логотип */
footer img {
    max-width: 120px !important;
    height: auto;
}

/* ========================= */
/* HERO */
/* ========================= */

.hero-content h1 {
    font-size: 45px;
}

/* ========================= */
/* NEWS */
/* ========================= */

.news-img {
    width: 100%;
    height: auto;
    border-radius: 12px 12px 0 0;
}

/* карточка */
.news-card {
    transition: 0.3s ease;
}

/* hover */
.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* картинки только внутри новостей */
.news-card img {
    max-width: 100%;
    height: auto;
}

/* защита от старых стилей */
img.rounded-t-lg {
    max-width: 100%;
    height: auto;
}

/* ========================= */
/* АДАПТИВ */
/* ========================= */

@media screen and (max-width: 767px) {
    .news-img {
        height: auto;
    }
}

@media screen and (max-width: 480px) {
    .hero-1 {
        padding: 50px 0px;
    }

    .header-top-section {
        display: block;
    }
}
/* ========================= */
/* NEWS PAGE (мобильная адаптация) */
/* ========================= */

.news-detail img {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    display: block;
    margin: 15px auto;
    border-radius: 12px;
}

/* на телефоне */
@media (max-width: 768px) {
    .news-detail img {
        max-height: 250px;
    }
	
}
/* ========================= */
/* WhatsApp кнопка */
/* ========================= */

.whatsapp-float {
    position: fixed;

    left: 20px;
    bottom: 120px; /* выше кнопки вверх */

    width: 60px;
    height: 60px;

    background: #25D366;
    color: #fff;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 28px;

    z-index: 999999;

    cursor: pointer;

    /* 🔥 важно для iPhone */
    user-select: none;
    -webkit-user-select: none;
}

/* иконка внутри */
.whatsapp-float i {
    pointer-events: none;
}

/* hover только для ПК */
@media (hover: hover) {
    .whatsapp-float:hover {
        transform: scale(1.1);
    }
}