/*  
  B-test
*/
.hero-test {
    display: grid;
    grid-template-columns: minmax(var(--space-section-x), 1fr) repeat(12, minmax(10px, 100px)) minmax(var(--space-section-x), 1fr);
    grid-template-rows: 120px auto;
    background-color: var(--c-primary);
    overflow: hidden;
    height: 540px;
}
.hero-test-img-bgr {
    height: 100%;
    overflow: hidden;
    grid-area: 1 / 9 / 3 / 15;
    align-self: end;
    display: flex;
    justify-content: start;
    img {
        width: auto;
        height: 100%;
        aspect-ratio: 580/523;
        margin-left: 100px;
        filter: drop-shadow(-100px 10px 10px rgba(0, 0, 0, .25));
    }
}
.hero-test-text {
    grid-area: 2 / 2 / 3 / 10;
    z-index: 1;
    position: relative;
    align-self: center;
    padding-bottom: var(--space-section-y);
}
.hero-test-text a {
    color: var(--c-text-s);
}
.hero-test-text p {
    align-self: end;
    justify-content: end;
    margin-top: var(--space-text-y);
    font-size: var(--fs-l);
    color: var(--c-secondary);
    line-height: 1.1;
    font-weight: 500;
}
.stripes {
    grid-area: 1 / 1 / 3 / 10;
    height: 100%;
    width: 100%;
    background: url('img/background.svg') repeat;
}
.hero-test .bigtext {
    grid-area: 1 / 2 / 3 / 15;
    background: url(img/b-test-hero-text.svg) no-repeat 0 100%;
}
@media (max-width: 1024px) {
    .hero-test-img-bgr {
        grid-area: 1 / 9 / 3 / 15;
    }
}
@media (max-width: 600px) {
    .marquee {
        display: none;
    }
    .hero-test {
        height: auto;
    }
    .hero-test-text {
        grid-area: 2 / 2 / 3 / 14;
    }
    .hero-test-img-bgr {
        display: none;
    }
    .stripes {
        grid-area: 1 / 1 / 4 / 10;
    }
}
.b-test-compliance {
    background-color: var(--c-gray);
    padding: var(--space-section-y) var(--space-section-x);
    position: relative;
}
.b-test-compliance-layout {
    color: var(--c-text-s);
    display: grid;
    grid-template-columns: repeat(12, 1fr);
}
.b-test-compliance h2 {
    grid-area: 1 / 1 / 1 / 13;
}

.b-test-compliance p {
    margin-top: 0;
    font-size: var(--fs-s);
}

.b-test-compliance .highlight {
    text-decoration: underline;
}

.b-test-compliance .past {
    grid-area: 2 / 1 / 2 / 5;
}

.b-test-compliance .present {
    grid-area: 2 / 5 / 2 / 9;
}

.b-test-compliance .future {
    grid-area: 2 / 9 / 2 / 13;
}

.b-test-compliance .icon.past {
    background-image: url('img/icon-past.svg');
}

.b-test-compliance .icon.present {
    background-image: url('img/icon-present.svg');
}

.b-test-compliance .icon.future {
    background-image: url('img/icon-future.svg');
}

.b-test-compliance .icon {
    padding-left: 50px;
    background-repeat: no-repeat;
    background-position: 0 40px;
    background-size: 30px;
    margin-top: var(--editorial-gap);

    p {
        margin-top: var(--space-text-y)
    }
}

.b-test-compliance:before {
    grid-area: 1 / 1 / 1 / 15;
    content: ' ';
    width: 100%;
    height: 40px;
    position: absolute;
    z-index: 20;
    top: 0;
    left: 0;
    background: url('img/section-marker-primary.svg') no-repeat center 0;
    background-size: var(--spacer-size);
}


@media (max-width: 600px) {
    .b-test-compliance .past {
        grid-area: 2 / 1 / 2 / 13;
    }

    .b-test-compliance .present {
        grid-area: 3 / 1 / 3 / 13;
    }

    .b-test-compliance .future {
        grid-area: 4 / 1 / 4 / 13;
    }

    .b-test-compliance .icon {
        padding-left: 40px;
        background-repeat: no-repeat;
        background-position: 0 30px;
        background-size: 20px;
    }
}

.b-test-explained {
    background-color: #F2F2F2;
    padding: var(--space-section-y) var(--space-section-x) var(--space-section-y);
    position: relative;
}

.b-test-explained .split {
    margin-top: var(--editorial-gap);
    display: flex;
    gap: var(--space-text-x)
}

.b-test-explained .split p {
    margin-top: var(--space-text-y);
}

.b-test-explained:before {
    content: ' ';
    width: 100%;
    height: 40px;
    position: absolute;
    z-index: 20;
    top: 0;
    left: 0;
    background: url('img/section-marker-darkgrey.svg') no-repeat center 0;
    background-size: var(--spacer-size);
}

.b-test-explained:after {
    content: ' ';
    width: 100%;
    height: 40px;
    position: absolute;
    z-index: 10;
    bottom: -40px;
    left: 0;
    background: url('img/section-marker-lightgrey.svg') no-repeat center 0;
    background-size: var(--spacer-size);
}

.annexes {
    padding: var(--space-section-y) var(--space-section-x);
    background: #E6E6E6;
    position: relative;
}

.annexes-heading {}

.annexes-intro-text {
    margin-top: var(--space-text-y)
}

.annexes-groups {
    --grid-gap: 3em;
    display: flex;
    flex-wrap: wrap;
    gap: var(--grid-gap);
    margin-top: var(--editorial-gap);
}

.annexes-groups .annex {
    width: calc(33% - var(--grid-gap));
    display: flex;
    gap: .5em;
    font-size: var(--fs-s);
    justify-content: space-between;
}

.annexes .additional,
.annexes .additional h4,
.annexes .additional p {
    margin-top: var(--space-text-y)
}

.annexes-groups .annex .text {}

.annexes-groups .annex .highlight {
    font-weight: 500;
}

.annexes-groups .annex .expander {
    cursor: pointer;
}

.annexes-groups .annex .expander span {
    display: block;
    font-size: var(--fs-xs);
    background-color: #ccc;
    position: relative;
    padding: 3px 10px;
}

.annexes-groups .annex .expander span:after {
    content: ' ';
    display: inline-block;
    width: 20px;
    height: 100%;
    position: absolute;
    right: 3px;
    top: 0px;
    background: url(img/expand-icon.svg) no-repeat center;
}

.annexes-groups .annex .expander:hover {
    span {
        background-color: #888;
        color: #ccc;
    }

    span:after {
        background-image: url(img/expand-icon-light.svg)
    }
}

.annexes-groups .annex .expander img {
    display: block;
    width: 130px;
    height: 130px;
    background-color: var(--c-primary);
}

@media (max-width:1024px) {
    .annexes-groups .annex {
        width: calc(50% - var(--grid-gap));
    }
}

@media (max-width:600px) {
    .annexes-groups .annex {
        width: 100%
    }
}


.expanded-annex-layout {
    display: grid;
    grid-template-columns: repeat(12, 1fr);

}

.expanded-annex.is_expanded {
    height: fit-content;
    max-height: 1000px;
    transition: max-height .75s ease-in-out, padding .75s ease-in-out;
    /* padding: var(--space-section-y) var(--space-section-x); */
}

.expanded-annex {
    overflow: hidden;
    max-height: 0px;
    background-color: #CCCCCC;
    transition: max-height .7s cubic-bezier(0, 1, 0, 1), padding .5s;
    padding: 0 var(--space-section-x);
}

.expanded-annex .annex-detail {
    margin-top: var(--space-text-y)
}

.expanded-annex .text {
    grid-area: 1 / 1 / 1 / 8;
    align-content: center;
    padding: var(--space-section-y) 0;
}

.expanded-annex .media {
    grid-area: 1 / 9 / 1 / 13;
    align-items: center;
    justify-content: center;
    display: flex;
    background-color: var(--c-primary);

    img {
        aspect-ratio: 1;
        object-fit: cover;
        /* display: block; */
    }
}

@media (max-width: 1024px) {
    .expanded-annex .text {
        grid-area: 1 / 1 / 1 / 7;
    }

    .expanded-annex .media {
        grid-area: 1 / 7 / 1 / 13;
    }

    .annexes-groups .annex .expander img {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 600px) {
    .expanded-annex .text {
        grid-area: 1 / 1 / 1 / 13;
    }

    .expanded-annex .media {
        grid-area: 2 / 1 / 2 / 13;
    }

    .annexes-groups .annex .expander img {
        width: 80px;
        height: 80px;
    }
}
.expanded-annex .annex-a,
.expanded-annex .annex-b,
.expanded-annex .annex-c,
.expanded-annex .annex-d,
.expanded-annex .annex-e,
.expanded-annex .annex-f {
    display: none;
}
[data-expand-view="a"] .annex-a {
    display: block
}
[data-expand-view="b"] .annex-b {
    display: block
}
[data-expand-view="c"] .annex-c {
    display: block
}
[data-expand-view="d"] .annex-d {
    display: block
}
[data-expand-view="e"] .annex-e {
    display: block
}
[data-expand-view="f"] .annex-f {
    display: block
}
.testing {
    padding: var(--space-section-y) var(--space-section-x);
    background-color: #F2F2F2;
}
.testing .intro p {
    margin-top: var(--header-para-gap);
}
.testing .breakdown {
    margin-top: var(--editorial-gap);
    text-wrap: pretty;
    columns: 3;
}
@media (max-width:600px) {
    .testing .breakdown {
        margin-top: var(--space-section-y);
        columns: 1;
    }
}
.breakdown *[class^="icon"] {
    padding-left: 40px;
    background-position: 0 5px;
    background-repeat: no-repeat;
    background-size: 30px 30px;
    break-inside: avoid;
}
.breakdown .group:not(:first-child) {
    margin-top: var(--space-text-y);
}
.breakdown .group p {
    margin-top: var(--space-text-y);
}
.breakdown .group h4 {
    margin: 0;
}
.breakdown .group.groupbreak {
    break-before: column;
    margin-top: 0;
}
.breakdown .group p:first-child {}
.icon-load {
    background-image: url(img/load.svg);
}
.icon-impact {
    background-image: url(img/impact.svg);
}
.icon-compliance {
    background-image: url(img/compliance.svg);
}
.icon-prevention {
    background-image: url(img/prevention.svg);
}
.icon-longevity {
    background-image: url(img/longevity.svg);
}
.icon-materials {
    background-image: url(img/materials.svg);
}
.icon-maintenance {
    background-image: url(img/maintenance.svg);
}
.icon-details {
    background-image: url(img/details.svg);
}