html {
    
}

body {
    display: flex;
    flex-direction: column;

    width: 100%;
    min-height: 100dvh;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    

    font-size: 14px;
    font-family: "Arial";

    &.admin-bar {
        margin-top: var(--wp-admin--admin-bar--height);
        min-height: calc(100vh - 32px);
    }
}


.wp-site-blocks {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
	height: auto;
}


main {
	display:flex;
	flex-direction:column;
    flex:1;
}

.wp-site-blocks {
    width: 100%;
    padding: 0;
}

section {
    padding: 32px;
    box-sizing: border-box;
    margin-block-start: 0;

    &.dark-blue {
        background-color: var(--wp--preset--color--dark-blue);
        * {
            color: #fff;
        }
    }
    &.light-grey {
        background-color: var(--wp--preset--color--light-grey);
    }
}

h1,
h1.wp-block-post-title,
h1.wp-block-post-title:first-of-type,
h1.wp-block-query-title:first-child {
    font-size: 2em;
    position: relative;
    color: var(--wp--preset--color--dark-blue);
    text-align: center;
    margin-block-start: 64px;
    margin-block-end: 64px;

    &::after {
        content: "";
        display: block;
        height: 3px;
        width: 50px;
        margin-top: 8px;
        margin-left: auto;
        margin-right: auto;
        background: var(--wp--preset--color--orange);
    }
}

h2 {
    font-size: 1.8em;
    position: relative;
    color: var(--wp--preset--color--dark-blue);
    text-align: left;

    &::after {
        content: "";
        display: block;
        height: 3px;
        width: 50px;
        margin-top: 8px;
        background: var(--wp--preset--color--orange);
    }

    &.center {
        text-align: center;

        &::after {
            margin-left: auto;
            margin-right: auto;
        }
    }
}

h3 {
    font-size: 1.5em;
    color: var(--wp--preset--color--dark-blue);
}



.wp-block-table table {
	border: 1px solid #000;
}

.wp-block-table thead {
	border: none;
}

.wp-block-table th {
	background-color: var(--wp--preset--color--light-blue);
	color: #fff;
	border: none;
}

:root .has-text-align-left {
    text-align: justify;
    hyphens: auto;
    text-justify: inter-word;
}

.wp-element-button {
    font-size: 1.2em;
}

.wp-block-group {
    margin-block-start: 0;
}

.outline-button {
    border-radius: 8px;
    border: 1px solid #fff;
    color: #fff;
    background: transparent;
    padding: 8px 32px;
    box-sizing: border-box;
    text-decoration: none;
    font-weight: bold;
}

.wp-block-accordion-heading__toggle {
    background: var(--wp--preset--color--light-blue);
    color: #fff;
    padding: 8px;
    box-sizing: border-box;
}

@media screen and (max-width: 782px) {
    body.admin-bar {
        min-height: calc(100vh - 46px);   
    }
}