/* ===== 1. Сам слайд (tns-item) ===== */
/* Мы НЕ трогаем display, чтобы не ломать горизонтальный ряд Tiny Slider */
.container-our_awards .banner_slide.our_awards.tns-item {
    height: 400px !important;
    width: auto !important;        /* Позволяет слайду сжиматься/расширяться */
    flex-shrink: 0;                /* Запрещает сжатие меньше размера картинки */
    border-radius: 8px;
    overflow: hidden;
    background-color: #f4f4f4;
    cursor: zoom-in;
}

.container-our_awards .banner_slide.our_awards:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* ===== 2. Внутренние обёртки ===== */
/* Заставляем их занимать ровно столько места, сколько картинка, и центрируем */
.container-our_awards .banner_slide__wrap,
.container-our_awards picture.banner_img {
    height: 100%;
    width: max-content !important; /* Ширина строго по картинке */
    display: block;
}

/* ===== 3. Изображение ===== */

.container-our_awards .banner_slide.our_awards img.specials_box__pic {
    height: 100% !important;
    width: auto !important;        /* Пропорциональная ширина */
    max-width: none !important;    /* Ломает глобальные ограничения */
    object-fit: cover;
    display: block;
}

/* ===== 4. Адаптив для мобильных ===== */
@media (max-width: 979px) {
    .container-our_awards .banner_slide.our_awards.tns-item {
        height: 250px !important;
    }
}

/* ===== 5. Точки пагинации ===== */
.container-our_awards .tns-nav {
    text-align: center !important;
    margin-top: 20px;
    display: block;
    padding: 10px 0 !important;
}

.container-our_awards .tns-nav button {
    display: inline-block !important;
    width: 10px !important;
    height: 10px !important;
    border-radius: 50% !important;
    border: none !important;
    background-color: #ccc !important;
    margin: 0 5px !important;
    padding: 0 !important;
    cursor: pointer !important;
    text-indent: -9999px !important;
}

.container-our_awards .tns-nav button.tns-nav-active {
    background-color: #333 !important;
}

/* ===== 6. Лайтбокс ===== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.lightbox_show {
    display: flex;
    opacity: 1;
}

.lightbox_inner {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
}

.lightbox-full-img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
}

.lightbox-close-btn {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 50px;
    color: #fff;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
    z-index: 1;
}

.lightbox-close-btn:hover {
    color: #ccc;
}