/*
Theme Name: fsecom
Author: Carolina Nymark
Author URI: https://fullsiteediting.com
Theme URI:
Version: 3.0.0
Description:
Tags:
Text Domain: fsecom
Requires at least: 5.5
Requires PHP: 7.2

License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

All files, unless otherwise stated, are released under the GNU General Public
License version 2.0 (http://www.gnu.org/licenses/gpl-2.0.html)

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned
with others.
*/

/*  Block figcaptions has an incorrect width on the front. */
.wp-block-image .aligncenter > figcaption {
	display: block;
}

.blocks-gallery-caption,
.comment-body {
	margin-bottom: 2em;
}

.comment-list,
.children {
	list-style: none;
}

.comment-meta .says {
	display: none;
}

@media (min-width: 600px) and (max-width: 1200px) {

	.wp-block-columns {
		flex-wrap: wrap;
	}

	.wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column[style*="flex-basis"] {
		flex-basis: 100% !important;
		flex-grow: 0;
	}

	.wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column:not(:only-child) {
		flex-basis: 100% !important;
		flex-grow: 0;
	}

	.wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column:not(:first-child) {
		margin-left: 1rem;
		margin-right: 1rem;
	}
}

/* Date and categories are all block elements,
we need to adjust them to align them better next to eachother. */
.post-meta .wp-block-post-date,
.post-meta .wp-block-post-hierarchical-terms {
	display: inline;
}

@media (max-width: 600px) {
	body {
		--wp--preset--font-size--large: 20px;
		--wp--preset--font-size--huge: 24px;
		--wp--preset--font-size--extra-large: 22px;
		--wp--preset--font-size--xxl: 24px;
	}
}

.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content,
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	padding-left: 1rem !important;
	padding-right: 1rem !important;
}

.block-archive {
	height: 100%;
	border-radius: 4px;
	padding-top: var(--wp--preset--spacing--40);
	padding-right: var(--wp--preset--spacing--40);
	padding-bottom: var(--wp--preset--spacing--40);
	padding-left: var(--wp--preset--spacing--40);
	background-color: var(--wp--preset--color--silver) !important;
}

.wp-block-support__code,
.wp-block-attribute__code {
	overflow: auto;
}

.wp-block-navigation__submenu-container.has-background {
	padding: 0
}
