.accordions {
    margin-bottom: 2.22rem;
}

.accordions h2 {
    margin-bottom: 1.556rem;
}

.accordions p {
    margin-bottom: 1em;
}

.accordions details {
    margin-bottom: 0.556rem;
}
.accordions summary {
    background-color: var(--optris-blue);
    color: white;
    padding: 1.667rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.accordions summary::after {
    content: 'add';
    font-family: 'Material Symbols Sharp';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
}
.accordions details[open] > summary {
    background-color: black;
}
.accordions details[open] > summary::after {
    content: 'remove';
}

.accordions:where(table,h2,h3,p,ul) {
    margin: 1em 0;
}

.accordions table {
    width: 100%;
}
.accordions table thead td {
    background-color: white;
    border: 1px solid white;
    border-top: 1px solid var(--optris-dark-grey);
    border-bottom: 1px solid var(--optris-dark-grey);
}
.accordions table thead td:first-child {
    border-left: 1px solid var(--optris-dark-grey);
}
.accordions table thead td:last-child {
    border-right: 1px solid var(--optris-dark-grey);
}
.accordions table td {
    overflow: clip;
    padding: 1em;
}
.accordions table td:first-child {
    border-top-left-radius: 0.556rem;
    border-bottom-left-radius: 0.556rem;
}

.accordions table td:last-child {
    border-top-right-radius: 0.556rem;
    border-bottom-right-radius: 0.556rem;
}
.accordions table tbody tr:nth-child(even) td {
    background-color: white;
    border: 1px solid white;
    border-top: 1px solid var(--optris-dark-grey);
    border-bottom: 1px solid var(--optris-dark-grey);
}
.accordions table tbody tr:nth-child(even) td:first-child {
    border-left: 1px solid var(--optris-dark-grey);
}
.accordions table tbody tr:nth-child(even) td:last-child {
    border-right: 1px solid var(--optris-dark-grey);
}
.accordion-content {
    padding: 2.11rem 0;
    position: relative;
}

.video-carousel {
    flex-wrap: nowrap;
    overflow:auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    --video-border-radius: 0.556rem;
    --video-border: none;
}
.video-carousel .col {
    flex: 1 0 100%;
    scroll-snap-align: center;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
}
.video-carousel iframe {
    overflow: clip;
}
.video-carousel media-player {
    max-width: 768px;
}

.video-carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
    background-color: transparent;
    color: black;
    padding: 1rem;
}
.video-carousel-button span {
    font-size: inherit;
}

.video-carousel-button.left {
    left: calc(50% - (768px/2) - 4rem);
}
.video-carousel-button.right {
    right: calc(50% - (768px/2) - 4rem);
}

.accordion-content ul {
    margin-left: 1em;
}

@media (hover: hover) {
    .video-carousel-button:hover {
        background-color: transparent;
        color: black;
        padding: 1rem;
    }
}
.video-carousel-button:focus-visible {
    background-color: transparent;
    color: black;
    padding: 1rem;
}

.accordion-content details {
    max-width: 90%;
    margin-left: auto;
}
.accordion-content summary {
    background-color: var(--optris-blue);
}

@media screen and (max-width: 920px) {
    .accordion-content:has(.video-carousel) {
        display: flex;
        flex-flow: row wrap;
        justify-content: space-between;
    }
    .accordion-content:has(.video-carousel) .video-carousel {
        flex: 1 0 100%;
    }
    .accordion-content:has(.video-carousel) .video-carousel-button {
        position: relative;
        transform: none;
    }
    .accordion-content:has(.video-carousel) .video-carousel-button.left,.accordion-content:has(.video-carousel) .video-carousel-button.right {
        left: auto;
        right: auto;
    }
}