.banner {
    --ff: Rubik;
    --fs-title:  24px;
    --fs-p:      14px;
    --fs-p-spec: 11px;

    --primary-color: #03A9F4;
}

.banner {
    display: flex;
    justify-content: start;
    align-items: center;
    position: relative;

    /* font-family: var(--ff); */
    
    background-color: var(--myBackgroundColor);

    overflow: hidden;
}

.banner, .banner-inner, .banner-inner > * {
    max-width: 100%;
}

.banner > .background-overlay-img,
.article .article__content img.background-overlay-img {
    position: absolute;
    height: 95%;
    width: 35%;
    right: 0;
    bottom: 0;
    object-fit: cover;
    object-position: left;

    z-index: 0;
}

.banner-inner {
    display: flex;
    flex-wrap: nowrap;

    width: 100%;
    min-height: 285px;

    container-type: inline-size;
    container-name: banner-inner;

    z-index: 1;
}

.banner-inner img {
    max-width: 100%;
    object-fit: contain;
}

.banner .banner-inner p.txt-white {
    color: white;
}

.banner .banner-inner p.h2 {
    color: #fff;
}

.banner .banner-inner .btn.btn-secondary {
    color: var(--primary-color);
}

.banner .left-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;

    width: 50%;
    
    margin-block: 5%;
    margin-left: min( 5%, 40px );
    margin-right: 0;
    padding: min( 1rem, 1% );

    gap: 1rem;
}

.banner :is(h1, h2, h3, h4, h5, h6, .h2, p) {
    line-height: 1.2 !important;
    margin: 0 !important;
}

.banner .banner-inner .h2 {
    font-size: var(--fs-title) !important;
    font-weight: 700 !important;
}

.banner p {
    font-size: var(--fs-p) !important;
    font-weight: 400 !important;
}

.banner p.banner-special-paragraph {
    font-size: var(--fs-p-spec) !important;
    letter-spacing: 3px;
    line-height: 1.6;
}

.banner .left-column .btn-icon-right img {
    max-width: var(--fs-p);
}

.banner .buttons-wrap {
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 15px;
}

.banner .buttons-wrap .btn {
    min-height: unset;
    padding: 0.425rem .625rem !important;
    gap: 0.425rem;

    white-space: nowrap;
    font-size: var(--fs-p) !important;
    font-weight: 600;
    color: var(--primary-color);
    line-height: 13px;
    
    border-radius: 4px;
    border: 1px solid #fff !important;
    background-color: #fff;
}

.banner .buttons-wrap .btn,
.banner .buttons-wrap .btn path {
    stroke: var(--primary-color);

    transition: all 200ms ease;
}

.banner .buttons-wrap .btn.dark {
    color: #fff;

    background-color: var(--primary-color) !important;
    border: 1px solid var(--primary-color) !important;
}

.banner .buttons-wrap .btn.btn-transparent {
    background-color: transparent !important;
    border: 1px solid var(--primary-color) !important;
}

.banner .buttons-wrap .btn.btn-transparent.dark {
    color: var(--primary-color);
}

.banner .buttons-wrap .btn.btn-transparent.light {
    color: #fff;
    border-color: #fff !important;
}

.banner .buttons-wrap .btn.dark:hover,
.banner .buttons-wrap .btn.light:hover,
.banner .buttons-wrap .btn.dark:hover path,
.banner .buttons-wrap .btn.light:hover path {
    color: #455a64;
    stroke: #455a64;
}

.banner .right-column {
    display: flex;
    justify-content: flex-end;
    align-items: end;
    position: relative;

    margin-block: 5% 0;
    margin-inline-start: 15px;
    padding-block: 0;
    padding-inline: 0;
    width: 60%;

    background-position: right bottom;
    background-size: 95%;
    background-repeat: no-repeat;
}

.banner-inner .right-column img {
    position: absolute;
    width: 60%;
    max-width: 150px;
    bottom: 0;

    filter: drop-shadow(-5px 4px 17px rgba(0, 0, 0, 0.25));
}
.banner-inner .right-column img.img-left {
    max-width: 140px;
    max-height: 75%;
    left: 0;

    z-index: 1;
}
.banner-inner .right-column img.img-right {
    width: 75%;
    max-width: 200px;
    max-height: 85%;
    left: min( 5%, 20px );
}

.banner .background-overlay-img:has( ~ .banner-inner .right-column img:first-child:nth-last-child(1)) {
    width: 50%;
    height: 92%;
    object-position: left;
}

.banner-inner .right-column img:first-child:nth-last-child(1) {
    width: 65%;
    max-width: 150px;
    max-height: 85%;
    right: min( -10%, -30px ) !important;
    left: auto;
}

@media only screen and (min-width: 1700px) {
    .banner .right-column {
        background-position: right bottom;
        background-size: 95%;
    }
}

@media only screen and (max-width: 600px) {
    .banner-inner {
        flex-direction: column;
    }

    .banner-inner > .left-column,
    .banner-inner > .right-column {
        width: 100%;
        min-height: 250px;
    }

    .banner-inner > .left-column {
        width: 100%;
        padding: 7%;
        margin: 0;
        margin-bottom: 30%;
        gap: 1.5rem;
    }

    .banner .buttons-wrap {
        flex-direction: column;
        justify-content: space-between;
    }

    .banner .buttons-wrap .btn.btn-transparent {
        min-height: unset;
    }

    .banner > .background-overlay-img,
    .banner > .banner-inner > .right-column > .img-right {
        display: none;
    }

    .banner-inner > .right-column {
        position: absolute;
        bottom: 0;

        margin-block: 0 !important;
        margin-inline-start: 0;

        pointer-events: none;
    }

    .banner-inner > .right-column img.img-left {
        --img_width: min(40%, 150px);

        position: absolute;
        width: var(--img_width);
        right: calc(( 93% - var(--img_width) - 112px ) / 2) !important;
        top: auto;
        left: auto;
        bottom: -15%;
    }


    .banner .background-overlay-img:has( ~ .banner-inner .right-column img:first-child:nth-last-child(1)) {
        width: 95%;
        height: 55%;
        object-position: left;
    }

    .banner-inner .right-column img:first-child:nth-last-child(1) {
        width: 60%;
        max-width: 120px;
        max-height: 100%;
        right: 7% !important;
        left: auto;
    }
}

@container banner-inner (min-width: 400px) {
    .banner .right-column {
        margin-block: 0;
        background-position: right bottom !important;
        background-size: 90% !important;
    }
}