/*
Theme Name: Siebert Container
Author: Kollektiv13
Author URI: https://kollektiv13.eu/
Version: 2.4.0
Text Domain: siebert-container
*/


/* Layout */
* {
    box-sizing: border-box;
}

html {
    max-width: 1920px;
    margin: 0 auto;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    box-shadow: 0 0 1em lightgrey;
}

.wp-site-blocks {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

main {
    flex-grow: 1;
}

body .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
    width: 90%;
}

/* Tables */
.is-style-blank table {
    width: auto;
}

.is-style-blank td {
    border: none;
    padding: 0;
    vertical-align: top;
}

.is-style-blank td + td {
    padding-left: .5em;
}

/* Forms */
input, textarea, select {
    font-size: 1rem;
    padding: .5em;
}

.wpcf7-form p > label {
    display: block;
    padding: .5em 0;
}

.wpcf7-form-control-wrap {
    display: block;
}

.wpcf7-form-control:not(.wpcf7-submit):not(.wpcf7-acceptance) {
    display: block;
    width: 100%;
}

.wpcf7-list-item {
    margin-left: 0;
}

@media screen and (min-width: 768px) {
    .wpcf7 .group {
        margin: 1em 0;
        display: flex;
        gap: 2em;
    }

    .wpcf7 .group > * {
        margin-top: 0;
        margin-bottom: 0;
        flex-grow: 1;
    }
}

/* Custom */

iframe {
    display: block;
}

.wp-site-blocks {
    overflow: clip;
}

.wp-block-cover.alignwide {
    position: relative;
    margin-top: calc(var(--wp--preset--spacing--60) * -1);
    overflow: visible
}

.wp-block-cover.alignwide::before {
    content: '';
    height: 100%;
    width: 1000px;
    position: absolute;
    top: 0;
    left: -1000px;
    background: linear-gradient(to bottom, #0176c3 0%, #0176c3 12%, #ededed 12.1%, #ededed 88%, #ffffff 88.1%, #ffffff 100%);
}

.wp-block-cover.alignwide::after {
content: '';
    height: 100%;
    width: 1000px;
    position: absolute;
    top: 0;
    right: -1000px;
    background: linear-gradient(to bottom, #0176c3 0%, #0176c3 12%, #0176c3 12.1%, #0176c3 88%, #ffffff 88.1%, #ffffff 100%);
}

.is-style-centered {
    text-align: center;
}

.has-asphaltic-scratch-rounded-perso-font-family::before {
    content: '';
    position: absolute;
    width: 1000px;
    height: 100%;
    background: yellow;
    left: -1000px;
    top: 0;
}

.alignwide.bleed-left {
    margin-left: 0 !important;
    padding-left: 5%; 
    width: 95%;
    position: relative;
}

.alignwide.bleed-left > .is-layout-flex {
    position: relative;
    top: -1rem;
}

.alignwide.bleed-left::after {
    content: '';
    width: 1000px;
    height: calc(100% - 100px);
    position: absolute;
    top: 50px;
    right: -1000px;
    background: #ededed;
    display: inline-block;
    z-index: -1;
}

@media screen and (min-width: 1340px) {
    .alignwide.bleed-left {
        padding-left: calc((100vw - 1340px) / 2);
        box-sizing: content-box;
    }
}

@media screen and (min-width: 1920px) {
    .alignwide.bleed-left {
        padding-left: calc((1920px - 1340px) / 2);
    }
}

.alignwide.bleed-right {
    margin-right: 0 !important;
    padding-right: 5%;
    width: 95%;
    position: relative;
}

.alignwide.bleed-right > .is-layout-flex {
    position: relative;
    top: 1rem;
}

.alignwide.bleed-right::after {
    content: '';
    width: 1000px;
    height: calc(100% - 100px);
    position: absolute;
    top: 50px;
    left: -1000px;
    background: #ededed;
    display: inline-block;
    z-index: -1;
}

@media screen and (min-width: 1340px) {
    .alignwide.bleed-right {
        padding-right: calc((100vw - 1340px) / 2);
        box-sizing: content-box;
    }
}

@media screen and (min-width: 1920px) {
    .alignwide.bleed-right {
        padding-right: calc((1920px - 1340px) / 2);
    }
}
