/*
Theme Name: Base Theme
Author: steph
Author URI: 
Theme URI: 
Tags: full-site-editing, block-patterns
Text Domain: base-theme
Requires at least: 6.4
Requires PHP: 7.4
Tested up to: 6.4
Version: 1.0.0


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

/* Styles intended only for the front.*/
html {
	scroll-behavior: smooth;
}

@media screen and (prefers-reduced-motion: reduce) {

	html {
		scroll-behavior: auto;
	}
}

body {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
}

/* Code block in paragraph */
p code {
	font-size: var(--wp--preset--font-size--paragraph-text);
	font-weight: 300;
	color: var(--wp--preset--color--contrast);
	background-color: var(--wp--preset--color--note-1);
	padding: 0.2em 0.5em; 
	border-radius: 0.2em;
} 

main{padding-block: 0px !important;} 
.wp-site-blocks{display: flex; flex-direction: column; min-height: 100vh;} 
footer{margin-top: auto;}

:root {
    --global-palette1: var(--wp--preset--color--accent-2) !important;
    --global-palette2: var(--wp--preset--color--accent-1) !important;
    --global-palette3: var(--wp--preset--color--contrast) !important;
	--global-palette4: var(--wp--preset--color--primary) !important;
	--global-palette5: var(--wp--preset--color--secondary) !important;
	--global-palette6: var(--wp--preset--color--borders) !important;
	--global-palette7: var(--wp--preset--color--note-1) !important;
	--global-palette8: var(--wp--preset--color--note-2) !important;
	--global-palette9: var(--wp--preset--color--base) !important;
}

.wp-block-table.is-style-stripes tbody tr:nth-child(2n+1) {
	background-color: var(--wp--preset--color--note-1);
}

.wp-block-post-author__content > p{
	margin-top: 0 !important;
}

.taxonomy-category a, .wp-block-post-author__name a{
	text-decoration: none;
}


.border .wp-block-post{
	border: 1px solid var(--wp--preset--color--borders);
}

.border-bottom .wp-block-post{
	border-bottom: 1px solid var(--wp--preset--color--borders);
}

@media (max-width:900px) {
	.grid-fix.wp-block-post-template-is-layout-grid.wp-block-post-template-is-layout-grid.wp-block-post-template-is-layout-grid.wp-block-post-template-is-layout-grid {
	  grid-template-columns: 1fr;
	}
  }

strong{
	font-weight: 700;
}