﻿/*  льбрус — фото в верхнем блоке без обрезки */

html body .club-heritage {
    overflow: hidden !important;
}

html body .club-heritage .heritage-layout {
    position: relative !important;
    overflow: hidden !important;
}

/* озвращаем блоку прежнюю компоновку */
html body .club-heritage .heritage-center {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
}

/* лавное: фото не кропаем, а отдаляем */
html body .club-heritage .elbrus-official-emblem,
html body .club-heritage .elbrus-hero-photo,
html body .club-heritage img[src*="elbrus-hero-team"] {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    transform: scale(0.86) !important;
    transform-origin: center center !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: block !important;
    image-rendering: auto !important;
}

/* сли есть затемняющий слой — оставляем мягким */
html body .club-heritage::before,
html body .club-heritage .hero-overlay,
html body .club-heritage .elbrus-hero-overlay {
    opacity: 0.22 !important;
}

/* одпись поверх фото */
html body .club-heritage .hero-caption,
html body .club-heritage .elbrus-hero-caption,
html body .club-heritage .heritage-photo-caption {
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
    text-shadow: 0 2px 10px rgba(0,0,0,.45) !important;
}

/* Телефон */
@media (max-width: 640px) {
    html body .club-heritage .elbrus-official-emblem,
    html body .club-heritage .elbrus-hero-photo,
    html body .club-heritage img[src*="elbrus-hero-team"] {
        transform: scale(0.92) !important;
    }
}
