.block-block {z-index: 10;}

.block-block[data-color="white"] .block-c_text {color: var(--c-white);}

body[data-template="home"] .block-c_text {text-align: center;}

body[data-template="home"] .b-title,
body[data-template="home"] .b-text,
body[data-template="home"] .b-links,
body[data-template="home"] .b-bullet {
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
}

body[data-template="home"] .b-headline {
    max-width: 24rem;
    margin-left: auto;
    margin-right: auto;
}


body[data-template="default"] .b-title,
body[data-template="default"] .b-headline,
body[data-template="default"] .b-text,
body[data-template="default"] .b-list {max-width: 32rem;}

body[data-template="default"] .b-qa {
    max-width: 38rem;
    margin: 0 auto;
}


/* 
B TITLE
*/
/* .b-title {row-gap: var(--size_xs);} */
body[data-template="default"] .b-title {margin: var(--size_l) 0 var(--size_s);}

@media only screen and (min-width: 768px) {
    .block_b--anchor {top: -9rem;}
}


/* 
B HEADLINE
*/
.home_p-block-container .b-headline:not(:first-child) {margin-top: var(--size_s);}
.home_p-block-container .b-headline:not(:last-child) {margin-bottom: var(--size_s);}

/* 
B TEXT
*/


/* 
B LINKS
*/
.b-links {gap: var(--size_xs);}

/* .home_p-block-container .b-links:last-child {
    margin-top: auto;
    padding-bottom: var(--size_l);
} */

.b-links .button {width: 100%;}

@media only screen and (min-width: 768px) {
    .home_p-block-container .b-links:last-child {
        margin-top: 0;
        padding-bottom: var(--size);
    }
    
    .b-links .button {width: fit-content;}
}

@media (hover: hover) {
    .block-block.b-links a {transition: background 500ms, color 500ms;}
    .block-block.b-links a:hover {
        background: var(--c-black);
        color: var(--c-white);
    }
}


/* 
B LIST
*/
.b-list {row-gap: var(--size);}
ol.b-list {padding-left: var(--size);}

.b_list-item .--marker {min-width: 22px;}


/* 
B BULLET
*/
body[data-template="home"] .home_p-block-container .b-bullet:not(:first-child) {margin-top: var(--size_s);}
body[data-template="home"] .home_p-block-container .b-bullet:not(:last-child) {margin-bottom: var(--size_s);}

.b-bullet.--solo {
    /* min-height: 70vw;
    max-width: 70vw; */
    margin: 0 auto;
    gap: var(--size_xs);
}

.b-bullet.--multiple {gap: var(--size_m);}

.b-bullet.--multiple,
.b-bullet.--solo .b_bullet-item {
    background: rgba(245, 245, 245, .7);
    backdrop-filter: blur(10px);
    padding: 1rem 1.5rem;
}

.b_bullet-item {width: 100%;}
body[data-template="home"] .b-bullet.--solo .b_bullet-item {row-gap: var(--size_s);}
body[data-template="default"] .b-bullet.--solo .b_bullet-item {row-gap: var(--size_m);}
.b-bullet.--multiple .b_bullet-item {row-gap: var(--size_xs);}

.b_bullet-item--title,
.b_bullet-item--text {width: 100%;}

body[data-template="home"] .b_bullet-item--text {max-width: 8rem;}
@media only screen and (min-width: 1096px) {
    body[data-template="home"] .b_bullet-item--text {
        max-width: unset;
        white-space: nowrap;
    }
}

.b_bullet-item.--invert .b_bullet-item--title {order: 3;}
.b_bullet-item.--invert .b_bullet-item--icon {order: 2;}
.b_bullet-item.--invert .b_bullet-item--text {order: 1;}

.b_bullet-item--icon {
    height: .85rem;
    width: auto;
}

@media only screen and (min-width: 768px) {
    body[data-template="default"] .b-bullet.--solo .b_bullet-item {
        width: calc(calc(100% - calc(var(--size_xs) * 1)) / 2);
        height: auto;
    }

    .b-bullet.--multiple .b_bullet-item {
        width: calc(50% - var(--size));
    }
}

@media only screen and (min-width: 1096px) {
    body[data-template="home"] .b-bullet {max-width: unset;}
    body[data-template="home"] .b_bullet-item {width: 14rem; height: 4.2rem;}

    body[data-template="default"] .b_bullet-item {width: calc(calc(100% - calc(var(--size_xs) * 1)) / 2);}
}


/* 
B PICTURE
*/
.b-picture {padding: var(--size) 0;}
.b-picture.--fit .b_picture-media {width: 8rem;}


/* 
B TABLE
*/
.b-table {
    min-width: 100vw;
    max-width: 100vw;
    margin: 0 -1rem;
    padding: 0 var(--size);
    overflow-y: hidden;
    overflow-x: auto;
}

.b-table * {
    border: none;
    border-spacing: 0;
}

.b-table thead {background: #EFEFEF;}
.b-table tbody {background: #F7F7F7;}

.b-table th,
.b-table td {
    vertical-align: top;
    min-width: 66.6666vw;
    padding: var(--size_s);
}

.b-table td {padding: var(--size_s);}

.b_table-button {
    padding: 2px 5px;
    width: fit-content;
    height: fit-content;
}

.b_table-button.--blue {
    border: 1px solid #6A92B6;
    color: #6A92B6;
}
.b_table-button.--green {
    border: 1px solid #7BBD45;
    color: #7BBD45;
}
.b_table-button.--red {
    border: 1px solid #AB684E;
    color: #AB684E;
}
.b_table-button.--grey {
    border: 1px solid #A2A2A2;
    color: #A2A2A2;
}

@media only screen and (min-width: 768px) {
    .b-table th,
    .b-table td {min-width: 38vw;}
}

@media only screen and (min-width: 1096px) {
    .b-table {
        margin-left: calc(calc(calc(calc(calc(100vw - calc(var(--size) * 2)) - 5rem) / 6) * 2 + 3rem) * -1);
        padding-left: calc(calc(calc(calc(100vw - calc(var(--size) * 2)) - 5rem) / 6) * 2 + 3rem);
    }

    .b-table th,
    .b-table td {min-width: 22vw;}
}


/* 
B CARDS
*/
.block-block.b-cards {
    gap: var(--size_s);
}
body[data-template="home"] .home_p-block-container .b-cards:not(:first-child) {margin-top: var(--size_s);}
body[data-template="home"] .home_p-block-container .b-cards:not(:last-child) {margin-bottom: var(--size_s);}

.b_cards-item {
    width: 100%;
    aspect-ratio: 4/5;
}

.b_cards-item--title {z-index: 5;}

.b_cards-item--subtitle {
    margin-top: var(--size_xs);
    width: fit-content;
    background: var(--c-light_grey);
    z-index: 5;
}

.b_card-picture {mix-blend-mode: multiply;}

.b_cards-item--button {
    background: rgb(248, 248, 248) !important;
    margin-top: auto;
    column-gap: var(--size_s);
    z-index: 5;
}

.b_cards-item--button .--icon {
    height: .75rem; width: auto;
    transition: rotate 1000ms;
}
.b_cards-item[data-status="open"] .b_cards-item--button .--icon {rotate: 45deg;}

.b_cards-item[data-status="close"] .b_cards-item--info {visibility: hidden;}

.b_cards-item--info .--shade-top {
    top: 0;
    right: 0;
    left: 0;
    height: 5.5rem;
    background: linear-gradient(0deg, rgba(248, 248, 248, 0) 0%, rgba(248, 248, 248, 1) 50%);
    z-index: 10;
}
.b_cards-item--info .--shade-bottom {
    bottom: 0;
    right: 0;
    left: 0;
    height: 3.5rem;
    background: linear-gradient(0deg, rgba(248, 248, 248, 1) 50%, rgba(248, 248, 248, 0) 100%);
    z-index: 10;
}

.b_cards-item--info .--container {
    height: 100%;
    padding: 5.5rem 1.5rem 3.5rem;
    row-gap: var(--size_m);
    z-index: 3;
    backdrop-filter: blur(.5rem);
    overflow-y: auto;
}
@media only screen and (min-width: 768px) {
    .b_cards-item--info .--container {padding: 4.5rem 1.5rem 3.5rem;}
}
@media only screen and (min-width: 1096px) {
    .b_cards-item--info .--container {padding: 6rem 1.5rem 4rem;}
}

.b_cards-item--info-entries {row-gap: var(--size_s);}

.b_cards-item--info .--help {opacity: .5;}

@media only screen and (min-width: 768px) {
    .b_cards-item {
        width: calc(calc(calc(100vw - 2.5rem) - calc(var(--size_s) * 2)) / 3);
        height: calc(calc(calc(calc(calc(100vw - 2.5rem) - calc(var(--size_s) * 2)) / 3) * 5) / 4);
        aspect-ratio: unset;
    }

    .b_cards-item--title {
        min-height: 2rem;
        align-content: flex-end;
    }

    .b_card-picture {padding: var(--size);}

}

@media only screen and (min-width: 1096px) {
    .b_cards-item {
        width: calc(calc(calc(100vw - 2.5rem) - calc(var(--size_s) * 3)) / 4);
        height: calc(calc(calc(calc(calc(100vw - 2.5rem) - calc(var(--size_s) * 3)) / 4) * 5) / 4);
        transition: 500ms;
    }

    .b_cards-item[data-status="open"] {flex-grow: 1;}

    .b_cards-item--title {
        min-height: 2.375rem;
    }

    .b_card-picture {padding: var(--size_m);}
}

@media (hover: hover) {
    .b_cards-item:hover {background: rgba(225, 225, 225, .7);}

    .b_cards-item--info-entries .--item:hover {background: var(--c-light_grey);}
}


/* 
B QA
*/
.b-qa {row-gap: var(--size_xs);}

.b_qa-entry {background: #F7F7F7;}

.b_qa-entry .--question span:first-of-type {
    width: 100%;
    padding-right: var(--size);
}
.b_qa-entry .--question .--icon {transition: rotate 1000ms;}
.b_qa-entry[data-status="open"] .--question .--icon {rotate: 45deg;}

.b_qa-entry[data-status="close"] dd {height: 0;}
.b_qa-entry .--answer {margin-top: var(--size_m);}

@media (hover: hover) {
    .b_qa-entry {
        cursor: pointer !important;
        transition: opacity 500ms;
    }
    
    .block-block.b-qa:hover .b_qa-entry {opacity: .5;}
    .block-block.b-qa .b_qa-entry:hover {opacity: 1;}
}