/*
Theme Name: Startorg
Theme URI: 
Author: Automattic
Author URI: https://automattic.com/
Description: Startorg is a community/non profit theme perfect for organizations.
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 5.7
Version: 1.0.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: startorg
Tags: blog, one-column, wide-blocks, block-patterns, featured-images, full-site-editing, rtl-language-support, threaded-comments, translation-ready
*/

/*
 * Control the hover stylings of outline block style.
 * Unnecessary once block styles are configurable via theme.json
 * https://github.com/WordPress/gutenberg/issues/42794
 */
:root {
	--global--font-primary: 'ohno-blazeface', sans-serif;
	--global--font-secondary: 'grenadine-mvb', sans-serif;
}

.wp-block-button.is-style-outline>.wp-block-button__link:not(.has-background):hover {
	background-color: var(--wp--preset--color--secondary);
	color: var(--wp--preset--color--base);
	border-color: var(--wp--preset--color--secondary);
}

/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */
a {
	text-decoration-thickness: .0625em !important;
	text-underline-offset: .15em;
}

h1 {
	font-family: 'ohno-blazeface', sans-serif;
}

h2, h3, h4, h5, h6 {
	font-family: 'grenadine-mvb', sans-serif;
}

.wp-block-latest-posts__post-title {
	font-family: 'ohno-blazeface', sans-serif;
}

/* Blog opmaak hieronder */

.wp-block-post-featured-image.alignfull img, .wp-block-post-featured-image.alignwide img {
    width: 100%;
    height: 800px;
    object-fit: scale-down !important;
    position: relative;
}

.wp-block-latest-posts__featured-image img {
    border-radius: 40px;
}

.wp-block-latest-posts__post-title {
    font-family: 'ohno-blazeface', sans-serif;
    font-size: xx-large;
}

.wp-block-latest-posts.wp-block-latest-posts__list li {
    clear: both;
    overflow-wrap: break-word;
    text-align: center;
}

.wp-block-latest-posts__post-author, .wp-block-latest-posts__post-date {
    text-align: center;
	color: var(--wp--preset--color--primary) !important;
}

.wp-block-latest-posts__post-excerpt {
    text-align: center;
	color: var(--wp--preset--color--primary) !important;
}

:root :where(.wp-block-post-featured-image img, .wp-block-post-featured-image .components-placeholder) {
    box-shadow: 6px 6px 0px #007855;
}

.wp-block-post-featured-image.alignfull img, .wp-block-post-featured-image.alignwide img {
    width: 100%;
    height: auto;
    object-fit: cover !important;
    position: relative;
}

.wp-block-navigation__responsive-container {
    bottom: 0;
    display: none;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    padding: 40px !important;
}

.wp-block-navigation__responsive-dialog .is-menu-open {
    background-color: #000000 !important;
}
/* BLACK BOX BEHIND MENU DESKTOP
.wp-block-navigation__responsive-container:not(.is-menu-open.is-menu-open) {
    background-color: #000 !important;
    color: inherit !important;
}
*/

@media and only screen and (max-width: 1024px) {
	
.has-global-padding > .alignfull {
/*    margin-right: calc(var(--wp--style--root--padding-right)* -1);
    margin-left: calc(var(--wp--style--root--padding-left)* -1); */
    padding: 10% !important;
}	

.has-medium-font-size {
    font-size: 24px !important;
}

}

