﻿:root {
    --gradientphare: linear-gradient(57deg, rgba(255, 132, 132, 0.42) 9.31%, rgba(255, 62, 62, 0.24) 36.7%, rgba(235, 37, 37, 0.24) 52.39%, rgba(109, 38, 231, 0.36) 96.36%);
    --summervibee: linear-gradient(234deg, rgba(255, 186, 132, 0.42) -15.81%, rgba(255, 195, 62, 0.28) 10.74%, rgba(235, 94, 37, 0.23) 25.95%, rgba(231, 38, 123, 0.60) 68.57%);
    --gradientphare-2: linear-gradient(234deg, rgba(255, 186, 132, 0.42) -15.81%, rgba(255, 219, 152, 0.60) 10.74%, rgba(250, 125, 123, 0.60) 25.95%, rgba(231, 38, 38, 0.36) 68.57%);
}

/* Style Global */

.cbk_bento__main {
    display: flex;
    flex-direction: column;
    row-gap: 55px
}

.cbk_bento__header {
    display: flex;
    flex-direction: column;
    row-gap: 30px;
    width: 100%;
}

.cbk_bento__header__title {
    font-size: 24px;
    font-weight: 500;
    color: var(--blanc);
}

.cbk_bento__header__subtitle {
    color: var(--blanc);
}

.cbk_bento__wrapper {
    display: flex;
    column-gap: 20px;
    justify-content: center;
}

.cbk_bento__big-block__title, .cbk_bento__medium-block__title, .cbk_bento__little-block__title {
    color: var(--blanc);
    font-size: 24px;
    font-weight: 500;
    max-width: 200px;
    width: 100%;
    height: 57px;
    line-height: 1.1;
    align-self: flex-end;
    text-align: right;
}

.cbk_bento__cta {
    background: var(--blanc);
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    padding: 10px 24px;
    border-radius: 50px;
    width: 170px;
    height: 40px;
    overflow: hidden;
    align-self: flex-end
}

.cbk_bento__cta--text {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

/* Bloc Grosse vignette */

.cbk_bento__big-block__wrapper {
    border-radius: 10px;
    padding: 2px;
    background: var(--summervibee, rgba(255, 186, 132, 0.70));
    max-width: 535px;
    width: 100%;
    overflow: hidden;
}

.cbk_bento__big-block {
    height: 100%;
    border-radius: 8px;
    background: var(--summervibee, linear-gradient(234deg, rgba(255, 186, 132, 0.42) -15.81%, rgba(255, 195, 62, 0.28) 10.74%, rgba(235, 94, 37, 0.23) 25.95%, rgba(231, 38, 123, 0.60) 68.57%));
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    position: relative;
    padding: 10px;
    justify-content: space-between;
}

.cbk_bento__pill {
    border-radius: 10px;
    background: #FF4747;
    font-size: 14px;
    font-weight: 600;
    color: var(--blanc);
    text-align: center;
    padding: 8px;
    align-self: flex-end;
    width: fit-content;
}

    .cbk_bento__pill > * {
        font-size: 14px;
        font-weight: 600;
        color: var(--blanc)
    }

.cbk_bento__big-block__img {
    width: 345px;
    height: 279px;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

    .cbk_bento__big-block__img img {
        height: 100%;
        width: 100%;
        object-fit: contain;
    }

.cbk_bento__big-block__information, .cbk_bento__medium-block__information, .cbk_bento__little-block__information {
    display: flex;
    flex-direction: column;
    row-gap: 5px;
    align-self: flex-end;
}

.cbk_bento__little-block__information {
    width: 55%;
}

/* Bloc 3 vignettes */
.cbk_bento__three-blocks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    grid-template-areas: "medium medium little1" "medium medium little2";
    gap: 10px;
}

.cbk_bento__medium-block__wrapper {
    border-radius: 10px;
    padding: 2px;
    background: var(--summervibee, rgba(255, 186, 132, 0.70));
    width: 326px;
    height: 350px;
    grid-area: medium;
}

.cbk_bento__medium-block {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 8px;
    background: var(--gradientphare, linear-gradient(234deg, rgba(255, 186, 132, 0.42) -15.81%, rgba(255, 219, 152, 0.60) 10.74%, rgba(250, 125, 123, 0.60) 25.95%, rgba(231, 38, 38, 0.36) 68.57%));
    backdrop-filter: blur(20px);
    padding: 10px;
}

.cbk_bento__medium-block__img {
    height: 185px;
    width: 180px;
    align-self: center;
}

    .cbk_bento__medium-block__img img {
        height: 100%;
        width: 100%;
        object-fit: contain;
    }

.cbk_bento__little-block__wrapper {
    border-radius: 10px;
    padding: 2px;
    background: var(--summervibee, rgba(255, 186, 132, 0.70));
    width: 389px;
    height: 170px;
    overflow: hidden;
}

.cbk_bento__little-block {
    height: 100%;
    display: flex;
    row-gap: 5px;
    flex-direction: column;
    position: relative;
    padding: 10px;
    border-radius: 8px;
    background: var(--gradientphare-2, linear-gradient(234deg, rgba(255, 186, 132, 0.42) -15.81%, rgba(255, 219, 152, 0.60) 10.74%, rgba(250, 125, 123, 0.60) 25.95%, rgba(231, 38, 38, 0.36) 68.57%));
    backdrop-filter: blur(20px);
    justify-content: space-between;
}

.cbk_bento__little-block--top {
    grid-area: little1
}

.cbk_bento__little-block--bottom {
    grid-area: little2
}

.cbk_bento__little-block__img {
    height: 155px;
    width: 175px;
    position: absolute;
    bottom: -25px;
    left: 0;
}

    .cbk_bento__little-block__img img {
        height: 100%;
        width: 100%;
        object-fit: contain;
    }

@media screen and (max-width: 1024px) {

    .cbk_bento__wrapper {
        flex-direction: column;
        row-gap: 15px;
    }

    .cbk_bento__big-block__wrapper {
        max-width: unset;
    }

    .cbk_bento__medium-block__wrapper {
        width: 420px;
    }
}

@media screen and (max-width: 768px) {
    .cbk_bento__main {
        row-gap: 10px
    }

    .cbk_bento__header {
        row-gap: 10px;
    }

    .cbk_bento__header__title {
        font-size: 20px;
        font-weight: 600;
    }

    .cbk_bento__header__subtitle {
        font-size: 12px;
        font-weight: 400;
        line-height: 1.1;
    }

    .cbk_bento__wrapper {
        flex-direction: column;
        row-gap: 10px;
    }

    .cbk_bento__big-block__wrapper {
        height: 150px;
        max-width: unset;
    }

    .cbk_bento__big-block__information, .cbk_bento__medium-block__information, .cbk_bento__little-block__information {
        align-self: flex-start;
    }


    .cbk_bento__three-blocks {
        grid-template-columns: auto auto;
        grid-template-rows: 1fr 1fr;
        grid-template-areas: "medium little1" "medium little2";
    }

    .cbk_bento__pill > * {
        font-size: 12px;
    }

    .cbk_bento__medium-block__wrapper {
        height: 260px;
        width: auto;
        position: relative;
        overflow: hidden;
    }

    .cbk_bento__medium-block {
        justify-content: space-between;
    }

    .cbk_bento__medium-block__title {
        align-self: flex-end;
        max-width: 83px;
    }

    .cbk_bento__medium-block__img {
        position: absolute;
        top: 25%;
        left: unset;
        height: 107px;
        width: 87px;
    }

    .cbk_bento__little-block__wrapper {
        height: 125px;
        width: 100%;
    }

    .cbk_bento__big-block__img {
        height: 138px;
        width: 214px;
        bottom: -36px;
        right: 0;
        left: unset;
    }

    .cbk_bento__little-block__img {
        height: 80px;
        width: 90px;
        right: 0;
        left: unset;
        bottom: 10px;
    }

    .cbk_bento__pill {
        font-size: 12px;
        padding: 4px 8px;
        align-self: flex-start;
        border-radius: 4px;
    }

    .cbk_bento__little-block__information {
        width: 50%;
    }

    .cbk_bento__big-block__title {
        font-size: 16px;
        align-self: flex-start;
        text-align: left;
        max-width: 115px;
        width: fit-content;
    }

    .cbk_bento__medium-block__title, .cbk_bento__little-block__title {
        font-size: 14px;
        text-align: left;
        height: unset;
    }

    .cbk_bento__little-block__title {
        align-self: flex-start;
        max-width: 120px;
    }

    .cbk_bento__cta {
        height: 25px;
        width: 87px;
        padding: 5px 10px;
    }

    .cbk_bento__little-block .cbk_bento__cta, .cbk_bento__big-block .cbk_bento__cta {
        align-self: flex-start;
    }

    .cbk_bento__cta svg {
        height: 13px;
        width: 13px;
    }

    .cbk_bento__cta--text {
        font-size: 10px;
        font-weight: 600;
    }
}
