textarea {
    padding:1rem;
    width:100%;
}
select { 
    padding:3px;
}
button:not(.components-button):not(.wp-block-navigation *),
input[type=color],
input[type=date],
input[type=datetime-local],
input[type=datetime],
input[type=email],
input[type=month],
input[type=number],
input[type=password],
input[type=reset],
input[type=search],
input[type=submit],
input[type=tel],
input[type=text],
input[type=time],
input[type=url],
input[type=week],
select,
textarea {
    font-size:var(--wp--preset--font-size--small);
    font-family:var(--wp--preset--font-family--system);
    line-height:1.7;
}
button:not(.components-button):not(.wp-block-navigation *),
input[type=reset],
input[type=submit] { 
    border:2px solid var(--wp--custom--button-border-color);
    padding:var(--wp--custom--button-padding);
    border-radius:var(--wp--custom--button-border-radius);
    background:var(--wp--preset--color--secondary);
    color:var(--wp--preset--color--foreground);
    box-shadow:var(--wp--custom--small-button-shadow);
}
button:not(.components-button):not(.wp-block-navigation *):focus,
button:not(.components-button):not(.wp-block-navigation *):hover,
input[type=reset]:focus,
input[type=reset]:hover,
input[type=submit]:focus,
input[type=submit]:hover {
    color:var(--wp--preset--color--foreground);
    filter:brightness(94%)!important;
    box-shadow:var(--wp--custom--small-button-shadow);
}
button:not(.components-button):not(.wp-block-navigation *):active,
input[type=reset]:active,
input[type=submit]:active {
    border-color:var(--wp--custom--button-border-color);
    box-shadow:var(--wp--custom--button-highlight);
    color:var(--wp--preset--color--foreground);
    filter:brightness(93%)!important;
    margin-top:1px;
    margin-bottom:-1px;
}
button:not(.components-button):not(.wp-block-navigation *):visited,
input[type=reset]:visited,
input[type=submit]:visited {
    background-color:initial;
    border-color:var(--wp--custom--button-border-color);
    color:var(--wp--preset--color--foreground);
    box-shadow:var(--wp--custom--small-button-shadow);
}
.post-password-form input[type=password] {
    min-height:46px;
}
.is-style-identi-theme-block-edition-flat-button .wp-block-button__link,
.is-style-identi-theme-block-edition-flat-button .wp-block-button__link:active,
.is-style-identi-theme-block-edition-flat-button .wp-block-button__link:focus,
.is-style-identi-theme-block-edition-flat-button .wp-block-button__link:hover,
.is-style-identi-theme-block-edition-flat-button .wp-block-button__link:visited {
    box-shadow:none;
    border-radius:0;
    margin-top:0;
    margin-bottom:0;
}
.is-style-identi-theme-block-edition-shadow-button .wp-block-button__link,
.is-style-identi-theme-block-edition-shadow-button .wp-block-button__link:focus,
.is-style-identi-theme-block-edition-shadow-button .wp-block-button__link:hover,
.is-style-identi-theme-block-edition-shadow-button .wp-block-button__link:visited {
    box-shadow:var(--wp--custom--button-shadow);
}
.is-style-identi-theme-block-edition-shadow-button .wp-block-button__link:active {
    box-shadow:var(--wp--custom--button-highlight);
}

/* ----------------------------------------------------------------------- */
/* Override theme.json color of h1 so we can see the page titles */
.edit-post-visual-editor__post-title-wrapper h1 {
    color: var(--wp--preset--color--theme-primary) !important;
}

/* Fix content width on cover inner container */
.wp-block-cover-image.has-custom-content-position.has-custom-content-position .wp-block-cover__inner-container, 
.wp-block-cover.has-custom-content-position.has-custom-content-position .wp-block-cover__inner-container {
    width: 100%;
}

/* remove padding from media & text to align with rest of page */
.wp-block-media-text .wp-block-media-text__content {
    padding: 0;
}


footer a {
    color: #fff !important;
}
footer a:hover,
footer a:focus,
footer a:active {
    opacity: 0.6;
}

@media screen and (max-width: 959px) {
    header .wp-block-navigation a {
        color: #fff !important;
    }
    header .wp-block-navigation a:hover,
    header .wp-block-navigation a:focus,
    header .wp-block-navigation a:active {
        opacity: 0.6;
    }
}

/* copy of wp default css to a 1000px media query */
@media (min-width: 960px) {
    .wp-block-navigation__responsive-container-open:not(.always-shown) {
        display: none !important;
    }

    .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
        display: block !important;
        width: 100%;
        position: relative;
        z-index: auto;
        background-color: inherit;
    }

    header .wp-block-navigation .wp-block-navigation-submenu.has-background {
        padding: 0 !important;
    }
    header .wp-block-navigation .wp-block-navigation-submenu a:hover,
    header .wp-block-navigation .wp-block-navigation-submenu a:focus,
    header .wp-block-navigation .wp-block-navigation-submenu a:active {
        opacity: 0.6;
    }
}

/* neutralize the wp default for 600px */
@media (min-width: 600px) {
    .wp-block-navigation__responsive-container-open:not(.always-shown) {
        display: flex;
    }
    .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
        display: none;
    }
}