.promotion-headline-section.section:not(.full-width-layout):not(.no-background) {

    .wrapper {
        max-width: 2560px;
    }
    .section-content-wrap {
    
        padding-right: 0;
    }
}

#promotion-headline-section.style-two.promotion-headline-section.full-width-layout .hentry {
    max-width: 100%;
}

.promotion-headline-section.section.style-two:not(.full-width-layout):not(.no-background) .section-content-wrap {
    padding-top: 0;
}

.promotion-headline-section.section.full-width-layout {
    
    .section-content-wrap {
        max-width: 100%;
    }
    .wrapper {
        max-width: 100%;

        .post-thumbnail {
            margin-right: 0;
        }
   
        .entry-container {
    
            @include media(diagonal) {
                margin-left: auto;
                margin-right: auto;
            }
        }
    }

    .section-content-wrap {
        padding-left: 0;
        padding-right: 0;
    }

    .post-thumbnail img {
        width: 100%;
    }
}

.boxed-layout #promotion-headline-section.promotion-headline-section.section.full-width-layout .section-content-wrap {
    padding-left: 0;
    padding-right: 0;
}

.promotion-headline-section .entry-container {
    max-width: 1500px;
}

.promotion-headline-section .section-content-wrap {
    padding-right: 0;
    max-width: 1500px;
    margin: 0 auto;
}

.promotion-headline-section .post-thumbnail {
    @include media(large) {
        margin-right: -100%;
    }
}

.promotion-headline-section .inner-container {
    line-height: 1.75;
    margin-top: -42px;
    margin-left: 30px;
    margin-right: 30px;
    max-width: 100%;
    padding: 42px 35px 35px; 
    position: relative;

    > * {
        position: relative;
        z-index: 1;
    }

    &:after {
        bottom: 0;
        content: "";
        height: 100%;
        left: 0;
        position: absolute;
        width: 100%;
    }
    
    @include media(mobile_horizontal) {
        line-height: inherit;
        margin-bottom: 0;
        margin-left: 40px;
        margin-right: 40px;
        padding: 35px 40px;
    }

    @include media(tablet) {
        margin-left: auto;
        margin-top: -162px;
        max-width: 480px;
    }

    @include media(desktop) {
        margin-top: -232px;
        max-width: 680px;
        padding: 70px;
    }

    @include media(wide) {
        margin-right: 50px;
    }
}

/***
    No Background image
****/
.promotion-headline-section.no-background {
    margin-bottom: 0;

    .section-content-wrap {
        padding-left: 30px;
        padding-right: 30px;

        @include media(mobile_horizontal) {
            padding-left: 40px;
            padding-right: 40px;
        }

        @include media(wide) {
            padding-left: 50px;
            padding-right: 50px;
        }

        .hentry {
            margin-left: auto;
            margin-right: auto;
            max-width: 1500px;
        }
    }

    .inner-container {
        margin-top: 0;

        @include media(tablet) {
            margin: 0 auto;
        }
    }
}

/* Color Scheme */

#promotion-headline-section.style-two.promotion-headline-section:not(.no-background):not(.default) {
    .section-content-wrap {
        padding-bottom: 0;
        padding-top: 0;
        padding-left: 0;
    }
}

#promotion-headline-section.style-two.promotion-headline-section {
    padding: 0;

     .hentry {
        margin: 0 auto;
        max-width: 1500px;
        position: relative;

        @include media(mobile_horizontal) {
            padding-bottom: 66px;
            padding-top: 66px;
        }

        @include media(wide) {
            padding-bottom: 112px;
            padding-top: 112px;    
        }

        .post-thumbnail {
            position: static;

            img {
                @include media(mobile_horizontal) {
                    bottom: 0;
                    left: 0;
                    min-height: 100%;
                    object-fit: cover;
                    position: absolute;
                    right: 0;
                    top: 0;
                    width: 100%;
                }
            }
        }

        .inner-container {

            @include media(mobile_horizontal) {
                margin-top: 0;
            }
        }
    }
}

#promotion-headline-section.style-two.default.promotion-headline-section .post-thumbnail img {
    margin-right: calc( -100vw / 2 + 100% / 2 );
    width: auto;
    max-width: 100vw;
}

#promotion-headline-section.style-two.promotion-headline-section:not(.no-background) {
    .hentry,
    .post-thumbnail {
        margin-bottom: 0;
    }
}

.color-scheme-modern #promotion-headline-section.style-one.promotion-headline-section,
.color-scheme-wedding #promotion-headline-section.style-one.promotion-headline-section,
.color-scheme-minimal #promotion-headline-section.style-one.promotion-headline-section {
    padding-top: 0;

    .section-content-wrap {
        padding-top: 0;
    }
}

.color-scheme-modern .section.promotion-headline-section.style-one,
.color-scheme-wedding .section.promotion-headline-section.style-one,
.color-scheme-minimal .section.promotion-headline-section.style-one {
    border-bottom: 1px solid;
}

.color-scheme-modern .section:nth-child(2n+1) + .section.promotion-headline-section.style-one,
.color-scheme-wedding .section:nth-child(2n+1) + .section.promotion-headline-section.style-one,
.color-scheme-minimal .section:nth-child(2n+1) + .section.promotion-headline-section.style-one,
.color-scheme-corporate .section:nth-child(2n+1) + .section.promotion-headline-section.style-one {
    border-bottom: 0;
}

.section.promotion-headline-section.style-one {
    border-color: transparent;
}

#promotion-headline-section.style-two.promotion-headline-section.no-background .inner-container {
    margin-bottom: 35px;
    margin-left: 30px;
    margin-right: 30px;
    max-width: 640px;

    @include media(mobile_horizontal) {
        margin: 0 auto;
    }

}

[class*="color-scheme"]:not(.color-scheme-modern):not(.color-scheme-wedding):not(.color-scheme-minimal) {
    #promotion-headline-section.style-two.no-background.promotion-headline-section {
        padding-top: 0;

        .section-content-wrap {
            padding-top: 0;
            
            .hentry {
                margin-bottom: 0;
            }
        }  
    }
}

[class*="color-scheme"]:not(.color-scheme-modern):not(.color-scheme-wedding):not(.color-scheme-minimal) {
    #promotion-headline-section.style-two.promotion-headline-section:not(.no-background) {
        margin-bottom: 42px;

        @include media(mobile_horizontal) {
            margin-bottom: 66px;
        }

        @include media(wide) {
            margin-bottom: 112px;
        }

        .section-content-wrap {
            padding-top: 0;
            
            .hentry {
                margin-bottom: 0;
            }
        }  
    }
}

.contact-section.section .hentry-inner {

    @include media(desktop) {
        padding: 66px 0;
    }

    @include media(wide) {
        padding: 112px 0;
    }
}