html
{
	scroll-behavior: smooth;
}

body
{
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.stetic-container
{
	box-sizing: border-box;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	max-width: 80rem;
	padding-left: 1rem;
	padding-right: 1rem;
}

@media (min-width: 640px)
{
	.stetic-container
	{
		padding-left: 1.5rem;
		padding-right: 1.5rem;
	}
}

@media (min-width: 1024px)
{
	.stetic-container
	{
		padding-left: 2rem;
		padding-right: 2rem;
	}
}

/* Header */

.stetic-header
{
	padding-top: 2.5rem;
	padding-bottom: 2.5rem;
}

.stetic-header__nav
{
	position: relative;
	z-index: 50;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.stetic-header__left
{
	display: flex;
	align-items: center;
	gap: 3rem;
}

.stetic-header__logo
{
	display: flex;
	align-items: center;
	justify-content: flex-start;
	margin-top: -0.5rem;
	text-decoration: none;
	color: inherit;
}

.stetic-header__logo svg
{
	height: 1.5rem;
	width: auto;
	flex-shrink: 0;
}

.stetic-header__wordmark
{
	margin-left: 0.25rem;
	padding-top: 0.25rem;
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1;
	letter-spacing: -0.05em;
}

@media (min-width: 1024px)
{
	.stetic-header__wordmark
	{
		font-size: 1.5rem;
	}
}

.stetic-header__links
{
	display: none;
	gap: 1.5rem;
}

@media (min-width: 768px)
{
	.stetic-header__links
	{
		display: flex;
	}
}

.stetic-header__right
{
	display: flex;
	align-items: center;
	gap: 2rem;
}

.stetic-header__login
{
	display: none;
	align-items: center;
	gap: 0.5rem;
	text-decoration: none;
	color: inherit;
}

@media (min-width: 768px)
{
	.stetic-header__login
	{
		display: flex;
	}
}

.stetic-header__login svg
{
	height: 1rem;
	width: 1rem;
}

.stetic-nav-link
{
	display: inline-block;
	border-radius: 0.5rem;
	padding: 0.25rem 0.5rem;
	font-size: 0.875rem;
	color: var(--wp--preset--color--slate-700);
	text-decoration: none;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.stetic-nav-link:hover
{
	background-color: var(--wp--preset--color--slate-100);
	color: var(--wp--preset--color--slate-900);
}

/* Mobile navigation */

.stetic-mobile-nav
{
	position: relative;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

@media (min-width: 768px)
{
	.stetic-mobile-nav
	{
		display: none;
	}
}

.stetic-mobile-nav__toggle
{
	position: relative;
	z-index: 10;
	display: inline-flex;
	align-items: center;
	margin: -0.5rem;
	padding: 0.5rem;
	border: none;
	border-radius: 0.5rem;
	background: transparent;
	color: var(--wp--preset--color--slate-900);
	cursor: pointer;
}

.stetic-mobile-nav__toggle:hover
{
	background-color: rgba(226, 232, 240, 0.5);
}

.stetic-mobile-nav__toggle svg
{
	height: 1.5rem;
	width: 1.5rem;
}

.stetic-mobile-nav__backdrop
{
	display: none;
	position: fixed;
	inset: 0;
	z-index: 20;
	background-color: rgba(203, 213, 225, 0.5);
	backdrop-filter: blur(4px);
}

.stetic-mobile-nav.is-open .stetic-mobile-nav__backdrop
{
	display: block;
}

.stetic-mobile-nav__panel
{
	display: none;
	position: absolute;
	inset-inline: 0;
	top: 100%;
	z-index: 30;
	margin-top: 1rem;
	border-radius: 1rem;
	background-color: #ffffff;
	padding: 1.5rem;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
	outline: 1px solid rgba(15, 23, 42, 0.05);
}

.stetic-mobile-nav.is-open .stetic-mobile-nav__panel
{
	display: block;
}

.stetic-mobile-nav__panel a
{
	display: block;
	border-radius: 0.5rem;
	padding: 0.5rem 0.75rem;
	font-size: 1rem;
	font-weight: 500;
	color: var(--wp--preset--color--slate-900);
	text-decoration: none;
}

.stetic-mobile-nav__panel a:hover
{
	background-color: var(--wp--preset--color--slate-100);
}

.stetic-mobile-nav__panel-divider
{
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px solid var(--wp--preset--color--slate-200);
}

/* Footer */

.stetic-footer
{
	background-color: var(--wp--preset--color--slate-50);
	padding-top: 6rem;
	padding-bottom: 3rem;
}

.stetic-footer__top
{
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: space-between;
	padding-bottom: 2rem;
}

@media (min-width: 1024px)
{
	.stetic-footer__top
	{
		flex-direction: row;
	}
}

.stetic-footer__brand
{
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding-left: 0.5rem;
}

@media (min-width: 1024px)
{
	.stetic-footer__brand
	{
		padding-left: 0;
	}
}

.stetic-footer__social
{
	display: flex;
	gap: 1.5rem;
	margin-top: 3rem;
	width: 100%;
}

@media (min-width: 1024px)
{
	.stetic-footer__social
	{
		margin-top: 5rem;
		width: 50%;
	}
}

.stetic-footer__social a
{
	color: var(--wp--preset--color--slate-500);
	transition: color 0.15s ease;
}

.stetic-footer__social a:hover
{
	color: var(--wp--preset--color--slate-700);
}

.stetic-footer__social svg
{
	height: 1.5rem;
	width: 1.5rem;
	fill: currentColor;
}

.stetic-footer__lang
{
	display: flex;
	gap: 1rem;
	margin-top: 2rem;
}

.stetic-footer__lang a
{
	display: flex;
	align-items: center;
	gap: 0.25rem;
	padding: 0.5rem 0.75rem 0.5rem 0;
	border-radius: 0.5rem;
	font-size: 0.875rem;
	color: var(--wp--preset--color--slate-700);
	text-decoration: none;
	transition: color 0.15s ease;
}

.stetic-footer__lang a:hover
{
	color: var(--wp--preset--color--slate-900);
}

.stetic-footer__lang svg
{
	height: 1rem;
	width: 1rem;
}

.stetic-footer__nav
{
	margin-top: 3rem;
	font-size: 0.875rem;
}

@media (min-width: 1024px)
{
	.stetic-footer__nav
	{
		margin-top: 0;
	}
}

.stetic-footer__columns
{
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem 1.5rem;
}

@media (min-width: 1024px)
{
	.stetic-footer__columns
	{
		grid-template-columns: repeat(3, 1fr);
		gap: 1rem 1.5rem;
	}
}

.stetic-footer__column
{
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.stetic-footer__column-title
{
	padding-left: 0.5rem;
	font-size: 0.875rem;
	font-weight: 600;
}

.stetic-footer__copyright
{
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-top: 2.5rem;
	padding-bottom: 2.5rem;
	font-size: 0.875rem;
	color: var(--wp--preset--color--slate-500);
}

/* Posts index row layout */

.stetic-posts-row .wp-block-post-template
{
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--50);
}

.stetic-post-row
{
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--30);
	padding-bottom: var(--wp--preset--spacing--40);
	border-bottom: 1px solid var(--wp--preset--color--slate-200);
}

@media (min-width: 768px)
{
	.stetic-post-row
	{
		flex-direction: row;
		align-items: center;
		gap: var(--wp--preset--spacing--40);
	}
}

.stetic-post-row__image
{
	flex-shrink: 0;
}

@media (min-width: 768px)
{
	.stetic-post-row__image
	{
		width: 35%;
		max-width: 20rem;
	}
}

.stetic-post-row__image img
{
	border-radius: 0.5rem;
	width: 100%;
	height: auto;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}

.stetic-post-row__content
{
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.stetic-post-row__title
{
	margin: 0;
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--x-large);
	font-weight: 500;
	line-height: 1.3;
}

.stetic-post-row__title a
{
	color: var(--wp--preset--color--slate-900);
	text-decoration: none;
}

.stetic-post-row__title a:hover
{
	text-decoration: underline;
}

.stetic-post-row__excerpt
{
	margin: 0;
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.75;
	color: var(--wp--preset--color--slate-600);
}

.stetic-post-row__link
{
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--wp--preset--color--slate-800);
	text-decoration: none;
}

.stetic-post-row__link:hover
{
	color: var(--wp--preset--color--slate-900);
	text-decoration: underline;
}

/* Single post content */

.stetic-single .wp-block-post-content
{
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.75;
	color: var(--wp--preset--color--slate-700);
}

.stetic-single .wp-block-post-content h2,
.stetic-single .wp-block-post-content h3,
.stetic-single .wp-block-post-content h4
{
	font-family: var(--wp--preset--font-family--display);
	color: var(--wp--preset--color--slate-900);
}

/* Code blocks */

.stetic-single .wp-block-post-content pre,
.stetic-single .wp-block-post-content .wp-block-code,
.stetic-single .wp-block-post-content .wp-block-preformatted,
.stetic-single .wp-block-post-content .wp-block-verse,
.stetic-single .wp-block-post-content code.block,
.editor-styles-wrapper pre,
.editor-styles-wrapper .wp-block-code,
.editor-styles-wrapper .wp-block-preformatted,
.editor-styles-wrapper .wp-block-verse,
.editor-styles-wrapper code.block
{
	display: block;
	background-color: #121212;
	color: #d1d1d1;
	border: none;
	border-radius: 0.5rem;
	padding: 1.5rem;
	margin: 0.25rem 0 1.5rem;
	font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.6;
	overflow-x: auto;
	white-space: pre-wrap;
	word-break: break-word;
}

.stetic-single .wp-block-post-content p:has(> code.block),
.editor-styles-wrapper p:has(> code.block)
{
	margin: 0 0 1.5rem;
	padding: 0;
}

.stetic-single .wp-block-post-content p > code.block,
.editor-styles-wrapper p > code.block
{
	margin-bottom: 0;
}

.stetic-single .wp-block-post-content code.block,
.editor-styles-wrapper code.block
{
	white-space: normal;
}

.stetic-single .wp-block-post-content pre code,
.stetic-single .wp-block-post-content .wp-block-code code,
.stetic-single .wp-block-post-content .wp-block-preformatted
{
	display: inline;
	background: none;
	color: inherit;
	padding: 0;
	margin: 0;
	border-radius: 0;
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
	white-space: inherit;
}

.stetic-single .wp-block-post-content :not(pre) > code:not(.block),
.editor-styles-wrapper :not(pre) > code:not(.block)
{
	display: inline;
	background-color: var(--wp--preset--color--slate-100);
	color: var(--wp--preset--color--slate-800);
	border-radius: 0.25rem;
	padding: 0.15em 0.4em;
	margin: 0;
	font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
	font-size: 0.875em;
	font-weight: 400;
}

.stetic-post-meta
{
	font-size: 0.875rem;
	color: var(--wp--preset--color--slate-500);
	gap: 8px;
}

.stetic-post-meta a
{
	color: var(--wp--preset--color--slate-500);
}

.stetic-post-meta a:hover
{
	color: var(--wp--preset--color--slate-700);
}

/* Main content area */

.stetic-main
{
	flex: 1;
	width: 100%;
}

.stetic-main .stetic-container > *
{
	max-width: 100%;
}

.stetic-main .stetic-container .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull))
{
	max-width: 100%;
}

.stetic-main .stetic-container .wp-block-query,
.stetic-main .stetic-container .wp-block-post-content,
.stetic-main .stetic-container .wp-block-post-featured-image
{
	max-width: 100%;
}

.stetic-page-title
{
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--xxx-large);
	font-weight: 500;
	letter-spacing: -0.025em;
	color: var(--wp--preset--color--slate-900);
	padding-top: var(--wp--preset--spacing--50);
	padding-bottom: var(--wp--preset--spacing--30);
}

/* Comments */

.stetic-comments
{
	margin-top: var(--wp--preset--spacing--40);
}

.stetic-comments__title
{
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--x-large);
	font-weight: 500;
	color: var(--wp--preset--color--slate-900);
	margin-bottom: var(--wp--preset--spacing--40);
}

.stetic-comments .wp-block-comment-template
{
	list-style: none;
	margin: 0;
	padding: 0;
}

.stetic-comments .wp-block-comment-template ol
{
	list-style: none;
	margin: var(--wp--preset--spacing--30) 0 0;
	padding: 0 0 0 var(--wp--preset--spacing--40);
	border-left: 1px solid var(--wp--preset--color--slate-200);
}

.stetic-comment__header
{
	display: flex;
	align-items: flex-start;
	gap: var(--wp--preset--spacing--20);
}

.stetic-comment__avatar,
.stetic-comment__avatar .wp-block-avatar,
.stetic-comment__avatar .wp-block-avatar__image,
.stetic-comment__avatar img
{
	flex-shrink: 0;
	width: 3rem;
	height: 3rem;
	border-radius: 50%;
}

.stetic-comment__meta
{
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	min-width: 0;
}

.stetic-comment__author,
.stetic-comment__author a
{
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.4;
	color: #337ab7;
	text-decoration: none;
}

.stetic-comment__author a:hover
{
	text-decoration: underline;
}

.stetic-comment__date,
.stetic-comment__date a
{
	font-size: 0.75rem;
	font-weight: 400;
	line-height: 1.4;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--wp--preset--color--slate-500);
	text-decoration: none;
}

.stetic-comment__date a:hover
{
	color: var(--wp--preset--color--slate-700);
}

.stetic-comment__content
{
	margin-top: var(--wp--preset--spacing--30);
	margin-bottom: var(--wp--preset--spacing--20);
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.75;
	color: var(--wp--preset--color--slate-900);
}

.stetic-comment__content p
{
	margin: 0;
}

.stetic-comment__reply
{
	margin: 0;
}

.stetic-comment__reply a,
.stetic-comment__reply .comment-reply-link
{
	display: inline-block;
	padding: 0.5rem 0.875rem;
	border-radius: 0.25rem;
	background-color: #eeeeee;
	font-size: 0.75rem;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--wp--preset--color--slate-600);
	text-decoration: none;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.stetic-comment__reply a:hover,
.stetic-comment__reply .comment-reply-link:hover
{
	background-color: var(--wp--preset--color--slate-200);
	color: var(--wp--preset--color--slate-800);
}

.stetic-comments__form .comment-reply-title,
.stetic-comments__form label
{
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--wp--preset--color--slate-900);
}

.stetic-comments__form input:not([type="submit"]):not([type="checkbox"]),
.stetic-comments__form textarea
{
	border: 1px solid var(--wp--preset--color--slate-200);
	border-radius: 0.375rem;
	padding: 0.75rem 1rem;
	font-family: var(--wp--preset--font-family--body);
	font-size: 1rem;
	color: var(--wp--preset--color--slate-900);
}

.stetic-comments__form input[type="submit"]
{
	border: none;
	border-radius: 9999px;
	padding: 0.5rem 1rem;
	background-color: var(--wp--preset--color--slate-800);
	font-size: 0.875rem;
	font-weight: 600;
	color: #ffffff;
	cursor: pointer;
}

.stetic-comments__form input[type="submit"]:hover
{
	background-color: var(--wp--preset--color--slate-700);
}

img.alignright {float:right; margin:0 0 1em 1em}
img.alignleft {float:left; margin:0 1em 1em 0}
img.aligncenter {display: block; margin-left: auto; margin-right: auto}
a img.alignright {float:right; margin:0 0 1em 1em}
a img.alignleft {float:left; margin:0 1em 1em 0}
a img.aligncenter {display: block; margin-left: auto; margin-right: auto}
