/* --------------------------
        BRAND BANNER
-------------------------- */

.brand-banner img { aspect-ratio: 4/1; position: relative; }
.brand-banner .cm-img-txt span { display: none; }
.brand-banner .cm-img-txt-wrap {
    inset: unset;
    transform: unset;
    bottom: 0;
    padding: 0;
    background: rgb(0,0,0);
    background: linear-gradient(0deg, rgba(0,0,0,0.4962359943977591) 60%, rgba(255,255,255,0) 100%);
}
.brand-banner .cm-img-txt {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;    
    padding: 3em 2em 2em 2em;
}

/* FONTS */
.brand-banner h2, .brand-banner h4 { color: white; text-align: left; margin: 0; padding: 0; }
.brand-banner h2 { font-size: 3rem; }
.brand-banner h4 { font-size: 1.5rem; }


/* ------------------------------------
        INFORMATION +  BUTTONS
------------------------------------ */

.brand-info .Egen_Infogad_HTML:not(:empty) { max-height: 200px; }

.brand-info article .readmore span { cursor: pointer; }
.brand-info article.toggled .Egen_Infogad_HTML:not(:empty) { max-height: max-content; }
.brand-info article.toggled .readmore span:before { content: attr(data-less); }
.brand-info article .readmore span:before { content: attr(data-more); }

.brand-info > .row { margin-top: 2em; }

.brand-info article {
    width: 83%!important;
    max-width: 83%!important;
    flex-basis: 83%!important;
    position: relative;
}

.brand-info article:before {
    content: '';
    width: 100%;
    position: absolute;
    bottom: 60px;
    height: 14%;
    background: rgb(255,255,255);
    background: linear-gradient( 0deg , rgba(255,255,255,1) 25%, rgba(255,255,255,0) 100%);
    z-index: 1;
    left: 0;
    pointer-events: none;
}

.brand-info article.toggled:before { display: none; }

.brand-info .brand_buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 1em;
}

.brand-info .brand_buttons button {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 20px;
    background: #82C493;
    padding: 10px 20px;
}

/* ------------------------------------
            HIGHLIGHTS
------------------------------------ */

.brand-highlights .cm-img-wrapper {
    max-height: 200px;
    overflow: hidden;
    border-radius: 15px;
}

.brand-highlights .cm-img-wrapper img {
    object-position: center center;
}

.brand-highlights .cm-img-cta a {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 24px;
    padding: .5em 1.5em;
}


/* ------------------------------------
            CATEGORIES
------------------------------------ */

.brand-categories .cm-img-txt-wrap { inset: unset; position: unset; transform: unset; }
.brand-categories .cm-img-txt-wrap h2 { font-size: 22px; margin-top: 1em; }
.brand-categories .cm-img-txt-wrap:not(:empty) { padding: 0; }

.brand-categories .cm-img-wrapper {
    display: flex;
    flex-direction: column-reverse;
}

.brand-categories .cm-img-wrapper img {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 15px;
    aspect-ratio: 1/1;
}

/* --------------------------------
        @MEDIA QUERIES
-------------------------------- */
@media only screen and (max-width: 1200px) {
    .brand-banner img { aspect-ratio: 4/2; }
    .brand-banner .cm-img-txt {
        flex-direction: column;
        align-items: flex-start;
        padding: 2em 1em 1em 1em;
    }
    .brand-banner h2 { font-size: 2rem; line-height: 28px; }
    .brand-banner h4 { font-size: 1rem; }

    .brand-info > .row, .brand-info .brand_buttons { margin-top: 0; flex-direction: row; }

    .brand-info article {
        position: relative;
        width: 100%!important;
        max-width: 100%!important;
        flex-basis: 100%!important;
    }

    .brand-info article .readmore { text-align: center; }
    .brand-info .Egen_Infogad_HTML:not(:empty) {
        max-height: 120px;
    }

    .brand-info article:before {
        content: '';
        width: 100%;
        position: absolute;
        bottom: 60px;
        height: 25%;
        background: rgb(255,255,255);
        background: linear-gradient( 0deg , rgba(255,255,255,1) 25%, rgba(255,255,255,0) 100%);
        z-index: 1;
        left: 0;
        pointer-events: none;
    }

    .brand-info .brand_buttons button { font-size: 18px; }

    .brand-highlights .cm-img-wrapper { max-height: 120px; }
    .brand-highlights .row { gap: 1em; margin-top: 2em; }
    .brand-highlights .cm-img-cta a { font-size: 20px; }

}

@media only screen and (max-width: 600px) {
    .brand-banner h2 { font-size: 1.8rem; }
    .brand-highlights .cm-img-wrapper { max-height: 80px; }
    .brand-info > .row, .brand-info .brand_buttons { flex-direction: column; }
}