@media (max-width: 1280px) {
    section[class*="section__subheadline"]:not(#news section[class*="section__subheadline"]),    
    section[class*="section__text"]:not(#news section[class*="section__text"]) {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 1024px) {
    header accordion-header div.site-title,
    aside#news {
        width: 263px;
    }

    section.swiper,
    section.section__gallery.swiper {
        /* min-height: 100svh; */
        max-height: auto !important;
    }

    main, 
    #focus__content {
        scroll-snap-type: none;
    }

    body.home main {
        scroll-snap-type: y mandatory;
    }

    .section__gallery[data-imagesperview="2"] .swiper-wrapper,
    .section__gallery[data-imagesperview="3"] .swiper-wrapper {
        flex-direction: column;
        gap: 0px !important;
    }

    .section__gallery .swiper-wrapper picture,
    .section__gallery .swiper-wrapper img {
        display: block;
    }

    header.is-inactive {
        top: -120px;
    }

    .section__appendix {
        padding: 40px;
    }

    .section__gallery.swiper-h .swiper-slide {
        max-height: 100vh;
        width: 100vw;
        height: 100%;
    }

    main[data-page="startseite"] .swiper-slide video {
        background-position: center center;
        width: 100vw;
        height: 100vh;
        object-fit: cover;
    }

    .section__text .text__columns {
        flex-direction: column;
        gap: var(--padding);
    }

    .section__accordion {
        padding: 0 var(--padding);
    }

    .section__accordion tr {
        flex-direction: column;
    }

    main[data-page="about"] .section__wrapper {
        flex-direction: column;
    }

    .grid__work--group {
        gap: var(--padding);
    }

    .grid__work--group[data-grid="2"],
    .grid__work--group[data-grid="3"]  {
        grid-template-columns: 1fr;
    }

    html, main {
        -webkit-overflow-scrolling: touch;
    }

    main {
        height: 100dvh;
    }

    section[class*="section__accordion"] accordion-header {
        padding-top: calc( 1 * var(--padding) );
        padding-bottom: calc( 1 * var(--padding));
    }
}

@media (max-width: 768px) {
    header accordion-header div.site-title,
    aside#news {
        width: 245px;
    }
}

@media (min-width: 1025px) {
    [data-imagewidth="half"] .swiper-wrapper {
        width: 50%;
        margin: auto;
    }

    [data-imagewidth="third"] .swiper-wrapper {
        width: calc( 100% / 3);
        margin: auto;
    }

    .swiper .post__meta--bar {
        opacity: 0;
        transition: opacity var(--transition-duration) var(--transition-function);
    }

    .swiper.in-view:hover .swiper-slide-prev .post__meta--bar,
    .swiper.in-view:hover .swiper-slide-active .post__meta--bar,
    .swiper.in-view:hover .swiper-slide-next .post__meta--bar {
        opacity: 1;
    }

    section[class*="section__"].text__size--extra {
        max-width: inherit;
        margin: 0 20px;
    }

    section[class*="section__"].full {
        width: 100vw;
        /* padding: 0 20px; */
        max-width: inherit;
    }

    .section__accordion .acc-helper {
        top: 4px;
        position: relative;
    }
}

@media (min-width: 2000px) {
    section[class*="section__"] {
        max-width: 1600px;
    }
}