/*
Theme Name: Infinitum
Theme URI: https://store.johnrussell.dev/product/infinitum/
Author: John Russell
Author URI: https://www.johnrussell.dev
Description: A starter theme and a framework that uses the full site editor capabilities of WordPress
Tags: 
Version: 0.0.1-alpha-2
Requires at least: 6.5
Tested up to: 6.5
Requires PHP: 8.1
License: GNU General Public License v2 or Later
License URI: http://www.gnu.org/license/gpl-2.0.html
Text Domain: infinitum
*/

*, *::before, *::after {
	box-sizing: border-box;
}

* {
	margin: 0;
}

body {
	-webkit-font-smoothing: antialiased;
}

img, picture, video, canvas, svg {
	display: block;
	max-width: 100%;
}

input, button, textarea, select {
	font: inherit;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

:where(.wp-site-blocks) > main {
	margin-block-start: 0;
}

p,
li,
h1,
h2,
h3,
h4,
h5,
h6,
.has-1000-font-size,
.has-900-font-size,
.has-800-font-size,
.has-700-font-size,
.has-600-font-size,
.has-500-font-size,
.has-400-font-size,
.has-300-font-size,
.has-200-font-size {
	overflow-wrap: break-word;
	hyphens: auto;
}

.has-1000-font-size,
.has-900-font-size,
.has-800-font-size,
.has-700-font-size,
.has-600-font-size,
.has-500-font-size,
.has-400-font-size,
.has-300-font-size,
.has-200-font-size {
	line-height: var(--wp--custom--infinitum--typography--line-height);
}

.has-sub-heading-font-size {
	font-size: var(--wp--custom--infinitum--typography--font-size-sub-heading);
}

/**
 * Shadows
 */
.has-small-soft-shadow {box-shadow: var(--wp--preset--shadow--small-soft);}
.has-small-glass-shadow {box-shadow: var(--wp--preset--shadow--small-glass);}
.has-small-solid-shadow {box-shadow: var(--wp--preset--shadow--small-solid);}
.has-medium-soft-shadow {box-shadow: var(--wp--preset--shadow--medium-soft);}
.has-medium-glass-shadow {box-shadow: var(--wp--preset--shadow--medium-glass);}
.has-medium-solid-shadow {box-shadow: var(--wp--preset--shadow--medium-solid);}
.has-large-soft-shadow {box-shadow: var(--wp--preset--shadow--large-soft);}
.has-large-glass-shadow {box-shadow: var(--wp--preset--shadow--large-glass);}
.has-large-solid-shadow {box-shadow: var(--wp--preset--shadow--large-solid);}

/**
 * Thumbnail Image
 */
 .wp-block-post-featured-image img {
	aspect-ratio: var(--wp--custom--infinitum--featured-image-thumbnail-display-ratio);
	object-fit: var(--wp--custom--infinitum--featured-image-thumbnail-display-fit);
}

/**
 * Featured Image
 */
.infinitum-post-header-image img {
	aspect-ratio: var(--wp--custom--infinitum--featured-image-display-ratio);
	object-fit: var(--wp--custom--infinitum--featured-image-display-fit);
}

/**
 * wp:columns
 */
.wp-block-post .wp-block-column:empty {
	display: none;
}

/**
 * Comments
 */
.infinitum-comments-avatar img {
	width: 100%;
	height: auto;
}