
/* P24 AUTH BANNER FRAME FIX V2.2.1 START */

/*
 * Убираем внешнюю рамку/фон/тень контейнера.
 * Рамка уже есть внутри PNG-баннера.
 */
.p24-auth-body-shell-banner--image,
.p24-auth-body-shell .p24-auth-body-shell-banner--image,
.p24-auth-rendered-banner--image,
.p24-auth-content-banner--image,
.p24-auth-real-banner--image {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    overflow: visible !important;
}

.p24-auth-body-shell-banner--image img,
.p24-auth-body-shell .p24-auth-body-shell-banner--image img,
.p24-auth-rendered-banner--image img,
.p24-auth-content-banner--image img,
.p24-auth-real-banner--image img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    object-fit: contain !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

/* На мобильной версии баннер по-прежнему скрыт. */
@media (max-width: 767px) {
    .p24-auth-body-shell-banner,
    .p24-auth-body-shell-banner--image,
    .p24-auth-rendered-banner,
    .p24-auth-rendered-banner--image,
    .p24-auth-content-banner,
    .p24-auth-content-banner--image,
    .p24-auth-real-banner,
    .p24-auth-real-banner--image {
        display: none !important;
    }
}

/* P24 AUTH BANNER FRAME FIX V2.2.1 END */

/* P24 AUTH BANNER GLOW CLEANUP V2.2.4 START */

/*
 * Убираем старую внешнюю рамку/подсветку у wrapper-контейнера баннера.
 * Визуальная рамка уже нарисована в самом PNG.
 */
.p24-auth-body-shell-banner.p24-auth-body-shell-banner--image,
.p24-auth-body-shell .p24-auth-body-shell-banner.p24-auth-body-shell-banner--image,
.p24-auth-body-shell-banner--image,
.p24-auth-rendered-banner.p24-auth-rendered-banner--image,
.p24-auth-content-banner.p24-auth-content-banner--image,
.p24-auth-real-banner.p24-auth-real-banner--image {
    min-height: 0 !important;
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    filter: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    overflow: visible !important;
}

.p24-auth-body-shell-banner.p24-auth-body-shell-banner--image::before,
.p24-auth-body-shell-banner.p24-auth-body-shell-banner--image::after,
.p24-auth-body-shell .p24-auth-body-shell-banner.p24-auth-body-shell-banner--image::before,
.p24-auth-body-shell .p24-auth-body-shell-banner.p24-auth-body-shell-banner--image::after,
.p24-auth-body-shell-banner--image::before,
.p24-auth-body-shell-banner--image::after,
.p24-auth-rendered-banner.p24-auth-rendered-banner--image::before,
.p24-auth-rendered-banner.p24-auth-rendered-banner--image::after,
.p24-auth-content-banner.p24-auth-content-banner--image::before,
.p24-auth-content-banner.p24-auth-content-banner--image::after,
.p24-auth-real-banner.p24-auth-real-banner--image::before,
.p24-auth-real-banner.p24-auth-real-banner--image::after {
    content: none !important;
    display: none !important;
}

.p24-auth-body-shell-banner.p24-auth-body-shell-banner--image img,
.p24-auth-body-shell .p24-auth-body-shell-banner.p24-auth-body-shell-banner--image img,
.p24-auth-body-shell-banner--image img,
.p24-auth-rendered-banner.p24-auth-rendered-banner--image img,
.p24-auth-content-banner.p24-auth-content-banner--image img,
.p24-auth-real-banner.p24-auth-real-banner--image img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    filter: none !important;
    background: transparent !important;
}

@media (max-width: 767px) {
    .p24-auth-body-shell-banner,
    .p24-auth-body-shell-banner--image,
    .p24-auth-rendered-banner,
    .p24-auth-rendered-banner--image,
    .p24-auth-content-banner,
    .p24-auth-content-banner--image,
    .p24-auth-real-banner,
    .p24-auth-real-banner--image {
        display: none !important;
    }
}

/* P24 AUTH BANNER GLOW CLEANUP V2.2.4 END */
