/* Adapt the shared site's award container to the original Systemhaus carousel. */
main .c-section.lay40 {
    display: block;
}

/* Keep every award reachable at its original size when JavaScript is unavailable. */
main .c-section.lay40 > .contentWidth,
main .c-section.lay40.sh-shared-awards > .outer > .contentWidth {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
}

main .c-section.lay40 > .contentWidth {
    width: 100%;
    overflow-x: auto;
}

main .c-section.lay40 > .contentWidth > div,
main .c-section.lay40.sh-shared-awards > .outer > .contentWidth > div {
    display: block;
    flex: 0 0 204px;
    width: 204px;
    margin: 0 20px 0 0;
}

main .c-section.lay40 > .contentWidth > div:last-child,
main .c-section.lay40.sh-shared-awards > .outer > .contentWidth > div:last-child {
    margin-right: 0;
}

main .c-section.lay40 .ce-gallery {
    width: 180px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

main .c-section.lay40 .ce-gallery img {
    width: 180px;
    max-width: 100%;
    height: 180px;
    object-fit: contain;
}

main .c-section.lay40.sh-shared-awards > .outer {
    width: 1102px;
    max-width: calc(100% - 80px);
    margin: auto;
    overflow: hidden;
    position: relative;
}

main .c-section.lay40.sh-shared-awards > .outer > .contentWidth {
    width: max-content;
    overflow: visible;
}

/* Geometry and colours match the existing section.lacos carousel arrows. */
main .c-section.lay40.sh-shared-awards > .prev,
main .c-section.lay40.sh-shared-awards > .next {
    position: absolute;
    top: 48px;
    width: 40px;
    height: 200px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #debdad;
    font-size: 33px;
    cursor: pointer;
    opacity: 1;
    transition: all 0.7s;
}

main .c-section.lay40.sh-shared-awards > .prev {
    left: 35px;
}

main .c-section.lay40.sh-shared-awards > .next {
    right: 35px;
}

main .c-section.lay40.sh-shared-awards > .prev::after,
main .c-section.lay40.sh-shared-awards > .next::after {
    position: absolute;
    left: 10px;
    top: 100px;
    width: 20px;
    height: 20px;
    border-right: 2px solid #debdad;
    border-top: 2px solid #debdad;
    transform: rotate(45deg);
    content: "";
    display: block;
}

main .c-section.lay40.sh-shared-awards > .prev::after {
    transform: rotate(-135deg);
}

main .c-section.lay40.sh-shared-awards > .disabled {
    opacity: 0;
    cursor: auto;
    pointer-events: none;
}

@media (max-width: 630px) {
    main .c-section.lay40.sh-shared-awards > .prev {
        left: 0;
    }

    main .c-section.lay40.sh-shared-awards > .next {
        right: 0;
    }
}
