.content-section {
    background: var(--color-background);
    margin-top: var(--space-xxl);
    padding-top: var(--space-xxl);
}
.content-section.gray {
    background: var(--color-lightgray);
    padding-bottom: var(--space-xxl);
}

.content-section h2 {
    margin-top: var(--space-xxl);
    margin-bottom: 0;
}
.content-section h2.no-margin-top {
    margin-top: 0;
}
.content-section .column > h3 {
    margin-top: var(--space-xl);
    margin-bottom: 0;
}
.content-section p, .content-section ul, .content-section ol, .content-section figure {
    margin-top: var(--space-l);
    margin-bottom: 0;
}
aside {
    background: var(--color-background);
    border-radius: var(--border-radius);
    padding: 1.2rem;
    position: relative;
    top: 6rem;
    height: fit-content;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 4rem;
    margin-bottom: 4rem;
}
@media screen and (min-height: 760px) and (min-width: 1200px) {
    aside {
        position: sticky;
        margin-bottom: 0;
    }
}
aside h2 {
    font-size: var(--font-size-h3);
    width: 100%;
    margin-top: 0 !important;
    margin-bottom: 1rem !important;
}
aside a {
    font-size: var(--font-size);
    color: var(--color-primary);
    text-decoration: none;
    display: inline-block;
    margin: 0.2rem 0;
    width: 100%;
    display: flex;
    transition: 0.2s ease-in-out all;
}
aside a span {
    width: calc(100% - 1rem);
}
aside a:hover {
    transform: translateX(5px);
}
aside a svg {
    width: 1rem;
    height: 1rem;
    transform: translateY(3px);
    margin-right: 0.6rem;
}
aside a path {
    fill: var(--color-primary);
}
aside hr {
    width: 100%;
    margin: 2rem 0;
    border: 1px solid var(--color-gray);
}
.content-section aside p {
    margin-top: 0;
}
aside img, aside .sponsorlink {
    width: 43%;
    height: 20%;
    object-fit: contain;
    border-radius: 0;
}
aside .sponsorlink img {
    width: 100%;
    height: auto;
}
aside img {
    margin-bottom: 1rem;
}
aside .sponsorlink {
    margin: 0;
}
.teaser-section {
    margin-top: var(--space-xxl);
    margin-bottom: var(--space-xxl);
}
.block-type-teaser {
    background: var(--color);
    color: var(--color-background);
    border-radius: var(--border-radius);
    padding: 0;
    overflow: hidden;
}
.block-type-teaser.content-width {
    margin-left: var(--content-padding);
    margin-right: var(--content-padding);
    max-width: calc(var(--content-width) - (var(--content-padding) * 2));
}
.block-type-sponsors.swiper {
    padding-bottom: 2rem;
}
.swiper .child-content {
    display: block;
    text-align: center;
    padding: 0 1rem;
} 
.swiper-horizontal>.swiper-pagination-bullets, .swiper-pagination-bullets.swiper-pagination-horizontal {
    bottom: 0;
}
.block-type-sponsors img {
    max-width: 200px;
    border-radius: 0;
}
.sponsor-container {
    list-style: none;
}
@media screen and (min-width: 1465px) {
    .block-type-teaser.content-width {
        margin-left: auto;
        margin-right: auto;
    }
}
.block-type-teaser .image-container {
    display: block; 
    width: 100%;
    padding-bottom: 66%;
    position: relative;
}
.block-type-teaser img {
    border-radius: 0;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.block-type-teaser > span:last-child {
    display: block;
    padding: var(--space-l) var(--space-m);
}
.block-type-teaser p:first-of-type{
    color: var(--color-primary);
    font-size: var(--font-size-s);
    font-weight: 800;
}
.block-type-teaser .teaser-buttons {
    display: block;
    margin-top: var(--space-m);
}
@media screen and (min-width: 800px) {
    aside {
        padding: 2rem;
    }
    aside img, aside .sponsorlink  {
        width: 26%;
        height: 20%;
    }
}
@media screen and (min-width: 900px) {
    .block-type-teaser > span:last-child {
        padding: var(--space-l);
    }
    .block-type-teaser {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .block-type-teaser > span:last-child{
        order: -1;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .block-type-teaser h2 {
        margin-bottom: var(--space-s);
    }
}
@media screen and (min-width: 1200px) {
    .content-section > div {
        display: grid;
        min-height: 0;
        gap: 4rem;
        grid-template-columns: repeat(13, 1fr);
    }
    .content-section {
        padding-top: var(--space-xxl);
    }
    .content-section > div > div {
        grid-row-start: 1;
        grid-column: 1 / span 9;
    }
    aside {
        margin-top: 0;
        grid-column: 10 / span 4;
        grid-row-start: 1;
    }
    aside img, aside a.sponsorlink {
        width: 47%;
        height: 20%;
    }
}


/* Blocks */

.card-imagecontainer {
    display: block;
    max-width: 100px;
    margin-bottom: 1rem;
}
.card-imagecontainer.contain {
    max-width: 240px;
    height: 80px;
}
.card-imagecontainer.contain img {
    height: 100%;
    object-fit: contain;
}
.block-type-cards .card {
    margin-bottom: 2rem;
}
.block-type-cards2 .card > span:last-child{
    padding: 0;
    display: block;
}
.block-type-cards h3 {
    font-size: var(--font-size);
}
.block-type-cards p {
    margin-top: 0.4rem;
}

.testimonials .card{
    background: var(--color-background);
    padding: 1rem;
    border-radius: var(--border-radius);
    display: flex;
    height: 100%;
    flex-direction: column;
}
.teaser-section .testimonials .card{
    background: var(--color-lightgray);
}
.testimonials .card-imagecontainer{
    width: 3rem;
    height: 3rem;
    border-radius: 0;
}
.testimonials img {
    border-radius: 0;
    object-fit: contain;
}

.testimonials .content {
    margin-top: auto;
    padding-top: 1rem;
    position: relative;
    padding-left: 1.4rem;
}
.testimonials .content:before {
    content: "—";
    position: absolute;
    left: 0;
    top: 1.45rem;
}
.testimonials .content p {
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-headline); 
}
.content-section ul li p , .content-section ol li p {
    margin: 0;
}
.content-section .textblock ul, .content-section .textblock ol {
    margin-left: 1.4rem;
    margin-top: 0.4rem;
}
@media screen and (min-width: 600px){
    .block-type-cards {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    .block-type-cards .card {
        margin: 0;
    }
}

@media screen and (min-width: 1024px){
    .block-type-cards {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .block-type-cards.grid-50 {
        grid-template-columns: 1fr 1fr;
    }

}
@media screen and (min-width: 1200px){
    .block-type-accordion, .block-type-cards, .block-type-news, .block-type-linkcards {
        margin: 2rem 0 2rem;
    }
    .testimonials .card{
        padding: 1.4rem;
    }
}

/* Gallery and Table */
.pws-gallery {
    column-gap: 1rem;
    columns: 1;
    column-count: 1;
}
.pws-gallery:after {
    content: "";
    height: 1px;
    display: block;
}
.pws-gallery > * {
    padding-bottom: 1rem;
    display: block;
    line-height: 0;
    display: block;
    width: 100%;
}
.block-gallery > * img {
    border-radius: 0;
}
.pswp img {
    border-radius: 0;
}

table {
    margin-top: var(--space-xl)
}
td {
    font-size: var(--font-size);
    vertical-align: top;
    padding: 0 0 1rem;
    line-height: 160%;
}
th {
    text-align: left;
    padding: 0 0 1rem;
}
thead tr {
  border-bottom: 1rem solid transparent;
}

td:first-child {
    width: 50%;
    font-weight: var(--font-weight-headline);
}
@media screen and (min-width: 600px){
    .pws-gallery {
        columns: 2;
        column-count: 2;
    }
    td:first-child {
        width: auto;
        min-width: 8rem;
        max-width: 12rem;
    }

}
@media screen and (min-width: 900px){
    .pws-gallery {
        columns: 3;
        column-count: 3;
    }
    td:first-child {
        min-width: 12rem;
        max-width: 16rem;
    }
}

