.section6 .media-grid {
    display: grid;
    grid-template-areas: "media""text""small""portrait";
    grid-template-columns: 1fr;
    grid-gap: 1.25rem;
    position: relative
}

@media screen and (min-width:768px) {
    .section6 .media-grid {
        grid-template-areas: "media text""media text""portrait small";
        grid-template-columns: 53% 35%;
        justify-content: space-between;
        padding-right: 8%
    }
}

.section6 .media-grid:before {
    border: .0625rem solid;
    bottom: 10%;
    content: "";
    left: -1.5rem;
    opacity: .3;
    pointer-events: none;
    position: absolute;
    right: 1.875rem;
    top: 58%
}

@media screen and (max-width:768px) {
    .section6 .media-grid:before {
        border-left: none;
        border-top: none
    }
}

@media screen and (min-width:768px) {
    .section6 .media-grid:before {
        bottom: 30%;
        left: 30%;
        right: 0;
        top: 6.25rem
    }
}

.section6 .media-grid__text {
    grid-area: text
}

.section6 .media-grid__text-title {
    position: relative;
    z-index: 1
}

@media screen and (min-width:768px) {
    .section6 .media-grid__text-title {
        margin-left: -55%;
        padding-top: 9.625rem
    }
}

.section6 .media-grid__media {
    grid-area: media;
    width: 100%
}

.section6 .media-grid__media--portrait {
    grid-area: portrait;
    max-width: 78%
}

@media screen and (min-width:768px) {
    .section6 .media-grid__media--portrait {
        max-width: 23.6875rem;
        padding-top: 3.75rem
    }
}

.section6 .media-grid__media--sm {
    grid-area: small;
    width: 100%
}

@media screen and (max-width:768px) {
    .section6 .media-grid__media--sm {
        width: 74%
    }
}


.section14 .media-grid {
    display: grid;
    grid-template-areas: "smallImg1 smallImg2""smallImg3 smallImg4""bigImg bigImg";
    grid-template-columns: 1fr 1fr
}

.section14 .media-grid>.media-grid__item:first-child {
    grid-area: smallImg1
}

.section14 .media-grid>.media-grid__item:nth-child(2) {
    grid-area: smallImg2
}

.section14 .media-grid>.media-grid__item:nth-child(3) {
    grid-area: smallImg3
}

.section14 .media-grid>.media-grid__item:nth-child(4) {
    grid-area: smallImg4
}

.section14 .media-grid>.media-grid__item:nth-child(5) {
    grid-area: bigImg
}

@media screen and (min-width:768px) {
    .section14 .media-grid {
        grid-template-columns: 1fr 1fr 1fr 1fr
    }

    .section14 .media-grid:nth-of-type(odd) {
        grid-template-areas: "smallImg1 smallImg2 bigImg bigImg""smallImg3 smallImg4 bigImg bigImg"
    }

    .section14 .media-grid:nth-of-type(odd)>.media-grid__item:first-child {
        grid-area: smallImg1
    }

    .section14 .media-grid:nth-of-type(odd)>.media-grid__item:nth-child(2) {
        grid-area: smallImg2
    }

    .section14 .media-grid:nth-of-type(odd)>.media-grid__item:nth-child(3) {
        grid-area: smallImg3
    }

    .section14 .media-grid:nth-of-type(odd)>.media-grid__item:nth-child(4) {
        grid-area: smallImg4
    }

    .section14 .media-grid:nth-of-type(odd)>.media-grid__item:nth-child(5) {
        grid-area: bigImg
    }
}

.section14 .media-grid:before {
    display: none;
}

.section14 .media-grid:nth-of-type(2n) {
    grid-template-areas: "bigImg bigImg""smallImg1 smallImg2""smallImg3 smallImg4"
}

.section14 .media-grid:nth-of-type(2n)>.media-grid__item:first-child {
    grid-area: bigImg
}

.section14 .media-grid:nth-of-type(2n)>.media-grid__item:nth-child(2) {
    grid-area: smallImg1
}

.section14 .media-grid:nth-of-type(2n)>.media-grid__item:nth-child(3) {
    grid-area: smallImg2
}

.section14 .media-grid:nth-of-type(2n)>.media-grid__item:nth-child(4) {
    grid-area: smallImg3
}

.section14 .media-grid:nth-of-type(2n)>.media-grid__item:nth-child(5) {
    grid-area: smallImg4
}

@media screen and (min-width:768px) {
    .section14 .media-grid:nth-of-type(2n) {
        grid-template-areas: "bigImg bigImg smallImg1 smallImg2""bigImg bigImg smallImg3 smallImg4"
    }
}

.lg-container .lg-outer.lg-grab img.lg-object {
    max-width: 80vw;
    max-height: 100%;
    object-fit: contain;
}

.media-grid:nth-of-type(odd)>.media-grid__item:nth-child(4),
.media-grid:nth-of-type(odd)>.media-grid__item:nth-child(3),
.media-grid:nth-of-type(odd)>.media-grid__item:nth-child(2),
.media-grid:nth-of-type(odd)>.media-grid__item:first-child {
    width: 382px;
}

.media-grid .media-grid__item img {
    width: 100%;
}

.section16 .ratio>picture>img {
    object-fit: cover;
}

@media screen and (max-width: 1792px) {

    .media-grid:nth-of-type(odd)>.media-grid__item:nth-child(5),
    .media-grid:nth-of-type(odd)>.media-grid__item:nth-child(4),
    .media-grid:nth-of-type(odd)>.media-grid__item:nth-child(3),
    .media-grid:nth-of-type(odd)>.media-grid__item:nth-child(2),
    .media-grid:nth-of-type(odd)>.media-grid__item:first-child,
    .media-grid:nth-of-type(odd)>.media-grid__item:nth-child(4),
    .media-grid:nth-of-type(odd)>.media-grid__item:nth-child(3),
    .media-grid:nth-of-type(odd)>.media-grid__item:nth-child(2),
    .media-grid:nth-of-type(odd)>.media-grid__item:first-child {
        width: fit-content;
    }

    .media-grid:nth-of-type(odd)>.media-grid__item:nth-child(4),
    .media-grid:nth-of-type(odd)>.media-grid__item:nth-child(3),
    .media-grid:nth-of-type(odd)>.media-grid__item:nth-child(2),
    .media-grid:nth-of-type(odd)>.media-grid__item:first-child {
        max-width: 382px;
    }

    .media-grid:nth-of-type(odd)>.media-grid__item:nth-child(5) {
        max-width: 788px;
    }

    .media-grid .media-grid__item .img,
    .media-grid .media-grid__item img {
        height: 100%;
    }
}

@media screen and (max-width:1680px) {
    .section18 h2,
    .section17 h2,
    .section15 h2,
    .section13 h2,
    .section12 h2,
    .section10 h2,
    .section9 h2,
    .section8 h2,
    .section7 h2,
    .section6 h2 {
        font-size: 40px;
    }

    .section6 .media-grid {
        grid-template-columns: 53% 42%;
        padding-right: 4%;
    }
     .section18 .outline-box-left ,
    .section12 .outline-box-left {
        padding-bottom: 3rem;
        padding-left: 2.333333%;
        padding-top: 3rem;
        margin-left: 0;
        width: 100%;
    }

    .section10 .outline-box-right,
    .section7 .outline-box-right {
        padding-bottom: 3rem;
        padding-right: 2.333333%;
        padding-top: 3rem;
        margin-left: 0;
        width: 100%;
    }
    .section18 .offset-md-1,
    .section12 .offset-md-1 {
        margin-left: 4.333333%;
    }
    .section18 .mt-5,
    .section12 .mt-5 {
        width: 45.66666667%;
    }

    .section10 .mt-5,
    .section7 .mt-5 {
        margin-left: 4.333333%;
        width: 45.666667%;
    }

    .section8 .col-md-5 {
        width: 50%;
    }

    .section8 .ps-md-5 {
        padding-left: 0 !important;
    }

    .section9 .teaser__content-title {
        font-size: 18px;
    }

    .section9 .slider .slider__scroll-area {
        padding-right: 2.1875rem;
    }

    .section17 .col-md-5{
        width: 50%;
    }
    .section17 .ps-md-5{
        padding-left: 1rem !important;
    }

}

@media screen and (max-width:1024px) {
    .section6 .media-grid:before {
        display: none;
    }

    .section6 .media-grid__text-title {
        margin-left: 0;
        padding-top: 0;
    }

    .section6 .media-grid {
        grid-template-areas:
            "media"
            "text"
            "small"
            "portrait";
        grid-template-columns: 1fr;
        padding-right: 0;
    }

    .section6 .wysiwyg>p {
        font-size: 14px;
        line-height: 2;
    }
    .section18 h2,
    .section17 h2,
    .section15 h2,
    .section13 h2,
    .section12 h2,
    .section10 h2,
    .section9 h2,
    .section8 h2,
    .section7 h2,
    .section6 h2 {
        font-size: 36px;
        margin-bottom: 10px;
    }
    .section18 .outline-box-right:before,
    .section12 .outline-box-right:before,
    .section10 .outline-box-right:before,
    .section7 .outline-box-right:before {
        width: 100%;
    }
    .section18 .outline-box-right,
    .section12 .outline-box-right,
    .section10 .outline-box-right,
    .section7 .outline-box-right {
        flex-direction: column;
        padding: 30px;
    }
    .section18 .col-md-6,
    .section12 .col-md-6,
    .section10 .col-md-6,
    .section7 .col-md-6 {
        width: 100%;
        padding: 0;
    }
    .section18 .mt-5
    .section12 .mt-5,
    .section10 .mt-5,
    .section7 .mt-5 {
        width: 100%;
        padding: 0;
        margin-left: 0;
        margin-top: 1rem !important;
    }
    .section18 .wysiwyg p,
    .section12 .wysiwyg p,
    .section10 .wysiwyg p,
    .section7 .wysiwyg p {
        font-size: 14px;
        line-height: 2;
    }
    .section18 .mt-5 .title-block,
    .section12 .mt-5 .title-block,
    .section10 .mt-5 .title-block,
    .section7 .mt-5 .title-block {
        margin-bottom: 0;
    }

    .section8 .row {
        grid-gap: 1rem;
        flex-direction: column-reverse;
    }

    .section8 .col-md-5 {
        width: 100%;
    }

    .section8 .pb-md-5 {
        padding-bottom: 0 !important;
    }

    .section9 .row {
        flex-direction: column;
    }

    .section9 .row .col-md-3 {
        width: 100%;
        margin-bottom: 30px !important;
    }

    .slider--teaser .slider__scroll-area {
        padding-bottom: 50px;
    }

    .content-block+.content-block {
        margin-top: 3.5rem;
    }

    .section11 .wysiwyg p {
        font-size: 14px;
        line-height: 2;
    }

    .outline-box-left:before {
        width: 100%;
        left: 0;
    }
    .section18 .outline-box-left,
    .section12 .outline-box-left {
        padding: 30px;
    }
    .section18 .offset-md-1,
    .section12 .offset-md-1 {
        margin-left: 0;
    }
    .section18 .outline-box-left,
    .section12 .outline-box-left {
        flex-direction: column-reverse;
    }

    .section13 .wysiwyg {
        font-size: 14px;
        line-height: 2;
    }
    .section15 .wysiwyg p{
        font-size: 14px;
        line-height: 2;
    }
    .section16 .teaser__content-title{
        font-size: 14px;
    }
    .section17 .row{
        flex-direction: column;
    }
    .section17 .col-md-5{
        width: 100%;
    }
    .section17 .ps-md-5{
        padding-left: 0 !important;
    }
    .section17 .title-block--offset-left{
        margin-left: 0;
        margin-top: 10px;
    }
    .section17 .title-block{
        margin-bottom: 20px;
    }
    .section17 .wysiwyg p{
        font-size: 14px;
        line-height: 2;
    }
    .section16 .row .col-6{
        padding-left: 0;
        padding-right: 12px;
    }
    .section16 .row .col-6:last-child{
        padding-right: 0;
    }
    .section18 .mt-5, .section12 .mt-5{
        width: 100%;
    }
    .section17 .col-md-5,
    .section15 .col,
    .section15 .col-md,
    .section12 .col-md,
    .section12 .col,
    .section18 .col-md,
    .section18 .col{
        padding: 0;
    }
    .section14 .media-grid{
        grid-gap: 10px;
        padding: 0;
    }
    .section14 .media-grid:nth-of-type(2n){
        margin-top: 10px;
    }
    .section3 .wysiwyg p{
        font-size: 14px;
        line-height: 2;
    }
}

@media screen and (max-width:767px) {
    .section9 {
        padding-right: 1.5625rem !important;
    }

    .section9 .slider .slider__scroll-area {
        padding-right: 0;
    }

    .outline-box-right:before {
        left: 0;
    }
.section18 .outline-box-left,
    .section12 .outline-box-left,
    .section10 .outline-box-right,
    .section7 .outline-box-right {
        padding: 20px;
    }
    .section18 .mt-5,
    .section12 .mt-5,
    .section10 .mt-5,
    .section7 .mt-5 {
        margin-top: 2rem;
    }
     .section18 h2,
    .section17 h2,
    .section15 h2,
    .section13 h2,
    .section12 h2,
    .section10 h2,
    .section9 h2,
    .section8 h2,
    .section7 h2,
    .section6 h2 {
        font-size: 28px;
    }
 .section18 .outline-box-left ,
    .section12 .outline-box-left {
        flex-direction: column;
    }
}