/*!
Theme Name: ContentAxis
Theme URI: https://contentaxis.io/
Author: ContentAxis
Author URI: https://contentaxis.io/
Description: A fast, clean blog theme made for sites that publish with ContentAxis. Text-first post cards, readable articles with tables and source lists, and nothing extra to load: no jQuery, no icon fonts and no requests to other sites. Built to stay quick on sites with a very large number of posts.
Version: 1.0.2
Requires at least: 5.8
Requires PHP: 7.4
Tested up to: 7.1
License: GNU General Public License v3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: contentaxis-theme
Update URI: https://app.contentaxis.io/downloads/contentaxis-theme.json
Tags: blog, one-column, two-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-logo, custom-menu, featured-images, footer-widgets, theme-options, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL. Credits for the work
it builds on are in readme.txt.
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Fonts
# Variables
# Normalize
# Base
# Forms
# Layout
# Header
# Post cards
# Post grid
# Featured posts
# Pagination and post navigation
# Single post and page
# Article content
# Breadcrumbs
# Comments
# Widgets
# Footer
# Back to top
# Accessibility
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Fonts
--------------------------------------------------------------*/

/* Served from the theme itself. A browser fetches only the files a page
   uses, and only the "ext" ones when the text has those letters. */
@font-face {
	font-family: "Lato";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url(assets/fonts/lato-latin-ext-400.woff2) format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "Lato";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url(assets/fonts/lato-latin-400.woff2) format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Lato";
	font-style: italic;
	font-weight: 400;
	font-display: swap;
	src: url(assets/fonts/lato-latin-ext-400-italic.woff2) format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "Lato";
	font-style: italic;
	font-weight: 400;
	font-display: swap;
	src: url(assets/fonts/lato-latin-400-italic.woff2) format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Lato";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url(assets/fonts/lato-latin-ext-700.woff2) format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "Lato";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url(assets/fonts/lato-latin-700.woff2) format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Quando";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url(assets/fonts/quando-latin-ext-400.woff2) format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "Quando";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url(assets/fonts/quando-latin-400.woff2) format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Copse";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url(assets/fonts/copse-latin-400.woff2) format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Cabin";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url(assets/fonts/cabin-latin-ext-400.woff2) format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "Cabin";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url(assets/fonts/cabin-latin-400.woff2) format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/*--------------------------------------------------------------
# Variables
--------------------------------------------------------------*/
:root {
	--post-item-background: #ffffff;
	--body-background: #ffffff;
	--primary-color: #db3b2c;
	--header-text-color: #000000;
	--color-text: #4b464c;
	--color-background: #fff;

	--font-size-xs: clamp(0.7rem, 0.17vw + 0.76rem, 0.79rem);
	--font-size-sm: clamp(0.8rem, 0.17vw + 0.76rem, 0.89rem);
	--font-size-base: clamp(1rem, 0.34vw + 0.91rem, 1.19rem);
	--font-size-md: clamp(1.25rem, 0.61vw + 1.1rem, 1.58rem);
	--font-size-lg: clamp(1.56rem, 1vw + 1.31rem, 2.11rem);
	--font-size-xl: clamp(1.95rem, 1.56vw + 1.56rem, 2.81rem);
	--font-size-xxl: clamp(2.44rem, 2.38vw + 1.85rem, 3.75rem);

	--font-site-title: "Copse", serif;
	--font-tagline: "Cabin", sans-serif;
	--font-head: "Quando", serif;
	--font-body: "Lato", sans-serif;

	--glow-box-shadow-color: #dddddd;
	--glow-border-color: rgba(51, 51, 51, 0.75);
	--glow-box-shadow: 0 0 0 0 var(--glow-box-shadow-color);
	--glow-small-shadow: 2px 2px 0 0 var(--glow-box-shadow-color);
	--glow-medium-shadow: 4px 4px 0 0 var(--glow-box-shadow-color);
	--transition: all 0.3s cubic-bezier(0.5, 2.5, 0.7, 0.7);

	--border-radius-all: 100vmax;

	/* Icons drawn by CSS, for places WordPress writes the markup. */
	--icon-chevron-down: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	--icon-chevron-left: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m15 18-6-6 6-6'/%3E%3C/svg%3E");
	--icon-chevron-right: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E");
}

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
	box-sizing: border-box;
}

*,
*::before,
*::after {
	box-sizing: inherit;
}

body {
	margin: 0;
	color: var(--color-text);
	background: var(--body-background);
	font-size: 1rem;
	line-height: 1.5;
	font-family: var(--font-body);
}

main {
	display: block;
}

h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

a {
	background-color: transparent;
}

abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

b,
strong {
	font-weight: bolder;
}

code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

small {
	font-size: 80%;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

img {
	border-style: none;
}

button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

button,
input {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

fieldset {
	padding: 0.35em 0.75em 0.625em;
}

legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

progress {
	vertical-align: baseline;
}

textarea {
	overflow: auto;
}

[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

details {
	display: block;
}

summary {
	display: list-item;
}

template,
[hidden] {
	display: none;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/
button,
input,
select,
optgroup,
textarea {
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	font-family: var(--font-head);
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #f5f5f5;
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

a {
	color: #4169e1;
}

a:visited {
	color: #800080;
}

a:hover,
a:focus,
a:active {
	color: #191970;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* An icon from inc/icons.php. */
.icon {
	display: inline-block;
	width: 1em;
	height: 1em;
	flex-shrink: 0;
	vertical-align: -0.125em;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	cursor: pointer;
	display: inline-flex;
	color: var(--color-text);
	text-decoration: none;
	font-weight: 600;
	border-radius: var(--border-radius-all);
	line-height: 1.3;
	padding: 0.6em 1em;
	background-color: var(--post-item-background);
	font-size: var(--font-size-xs);
	text-transform: capitalize;
	transition: var(--transition);
	box-shadow: var(--glow-small-shadow);
	border: 1px solid var(--glow-border-color);
}

button:hover,
button:active,
button:focus,
input[type="button"]:hover,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:hover,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:hover,
input[type="submit"]:active,
input[type="submit"]:focus {
	box-shadow: var(--glow-box-shadow);
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid var(--glow-border-color);
	border-radius: 3px;
	padding: 3px;
	width: 100%;
	background-color: var(--post-item-background);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

.search-form {
	display: flex;
}

.search-form label,
.search-form .search-field {
	width: 100%;
}

.search-form .search-field {
	padding: 6px 16px;
	font-size: 0.9rem;
	border-radius: 0;
}

.search-form .search-submit {
	border-radius: 0;
}

/*--------------------------------------------------------------
# Layout
--------------------------------------------------------------*/
.site-content {
	margin-top: 50px;
}

.theme-wrapper {
	max-width: 1240px;
	margin-inline: auto;
	padding-left: 15px;
	padding-right: 15px;
}

.theme-wrap {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 30px;
}

.theme-wrap #secondary,
.theme-wrap #primary {
	width: 100%;
	min-width: 0;
}

.left-sidebar .theme-wrap {
	flex-direction: row-reverse;
}

.no-sidebar .theme-wrap {
	display: block;
}

@media (min-width: 992px) {
	.theme-wrap #primary {
		width: calc(70% - 15px);
		flex-grow: 1;
	}

	.theme-wrap #secondary {
		width: calc(30% - 15px);
		position: sticky;
		top: 40px;
		flex-shrink: 0;
	}

	.no-sidebar .theme-wrap #primary {
		width: 100%;
	}
}

/* Without a sidebar, a post or page keeps a line length that reads well,
   and its wide and full-width blocks reach out past it. */
@media (min-width: 992px) {
	body.no-sidebar.single .site-main,
	body.no-sidebar.page .site-main {
		max-width: 860px;
		margin-inline: auto;
	}
}

.no-sidebar .site {
	overflow-x: clip;
}

.no-sidebar .entry-content > .alignfull {
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	max-width: 100vw;
	width: 100vw;
}

@media (min-width: 1140px) {
	body.no-sidebar.single .entry-content > .alignwide,
	body.no-sidebar.page .entry-content > .alignwide {
		margin-left: -125px;
		margin-right: -125px;
		max-width: none;
		width: auto;
	}
}

.page-header .page-title {
	margin-top: 0;
}

.section-title,
.related-title {
	font-size: var(--font-size-md);
	font-family: var(--font-head);
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.site-header {
	margin-block: 20px;
}

.header-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	position: relative;
	background-color: var(--post-item-background);
	padding: 20px 60px;
	border-radius: var(--border-radius-all);
	box-shadow: var(--glow-medium-shadow);
	border: 1px solid var(--glow-border-color);
}

.site-branding {
	width: 30%;
	flex-grow: 1;
}

.custom-logo-link {
	display: inline-block;
}

.site-branding .site-title {
	font-size: var(--font-size-md);
	line-height: 1.1;
	font-weight: 700;
	margin: 0;
}

.site-title a {
	font-family: var(--font-site-title);
	text-decoration: none;
	color: var(--header-text-color);
}

.site-branding .site-description {
	margin-bottom: 0;
	margin-top: 5px;
	font-family: var(--font-tagline);
	color: #000;
}

/* Search */
.header-search {
	width: 30px;
	margin-inline-start: 10px;
	position: relative;
	text-align: center;
}

.header-search-toggle {
	color: var(--color-text);
	font-size: 16px;
	height: 30px;
	width: 30px;
	padding: 0;
	opacity: 0.8;
	align-items: center;
	justify-content: center;
	background: none;
	border: 0;
	box-shadow: none;
	border-radius: 3px;
	transition: none;
}

.header-search-toggle:focus,
.header-search-toggle:hover {
	opacity: 1;
	color: var(--primary-color);
	box-shadow: none;
}

.header-search-toggle:focus-visible {
	outline: 1px dashed;
}

.header-search-form {
	position: absolute;
	background: var(--post-item-background);
	right: 0;
	opacity: 0;
	visibility: hidden;
	top: 100%;
	width: 325px;
	padding: 14px;
	z-index: 99;
	border-radius: 15px;
	border: 1px solid var(--glow-border-color);
}

/* Where the page reads right to left the button is at the left end of the
   header, and the box opens from there: from the right it would reach off
   the screen and make the page scroll sideways. */
.rtl .header-search-form {
	left: 0;
	right: auto;
}

/* Opened by the script; where the script has not run, by moving into it. */
.header-search.show .header-search-form,
html:not(.js) .header-search:focus-within .header-search-form {
	opacity: 1;
	visibility: visible;
}

.header-search-form .search-form label {
	width: 75%;
}

.header-search-form .search-form .search-field {
	border-radius: var(--border-radius-all) 0 0 var(--border-radius-all);
}

.header-search-form .search-form .search-submit {
	margin: 0;
	padding: 2px 25px;
	align-items: center;
	box-shadow: none;
	border-radius: 0 var(--border-radius-all) var(--border-radius-all) 0;
}

@media (max-width: 480px) {
	.header-search {
		position: static;
	}

	.header-search-form {
		width: 100%;
	}
}

/* Menu */
.main-navigation ul {
	list-style: none;
	padding: 0;
	margin: 0;
	font-size: var(--font-size-sm);
}

.main-navigation ul a {
	text-decoration: none;
}

.main-navigation .menu li {
	position: relative;
}

.main-navigation li.menu-item-has-children > a::after,
.main-navigation li.page_item_has_children > a::after {
	content: "";
	display: inline-block;
	width: 0.9em;
	height: 0.9em;
	margin-inline-start: 6px;
	vertical-align: -0.1em;
	background-color: currentColor;
	-webkit-mask: var(--icon-chevron-down) center / contain no-repeat;
	mask: var(--icon-chevron-down) center / contain no-repeat;
}

@media (min-width: 992px) {
	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
		flex-wrap: wrap;
	}

	.main-navigation ul ul li.menu-item-has-children > a::after,
	.main-navigation ul ul li.page_item_has_children > a::after {
		-webkit-mask-image: var(--icon-chevron-right);
		mask-image: var(--icon-chevron-right);
	}

	.main-navigation ul a {
		padding: 10px;
		color: var(--color-text);
		font-weight: bold;
		display: block;
	}

	.main-navigation ul .current_page_item > a,
	.main-navigation ul .current-menu-item > a,
	.main-navigation ul .current_page_ancestor > a,
	.main-navigation ul .current-menu-ancestor > a,
	.main-navigation ul li a:focus,
	.main-navigation ul li a:hover {
		color: var(--primary-color);
	}

	/* A closed sub-menu is not drawn at all. Merely hidden, it would still
	   take up room where it is placed, and one near the edge of the screen
	   would make the whole page scroll sideways. */
	.main-navigation ul ul {
		width: 200px;
		display: none;
		position: absolute;
		text-align: left;
		margin: 0 auto;
		padding: 0;
		top: 100%;
		left: 0;
		z-index: 999;
		border-radius: 15px;
		background-color: var(--post-item-background);
		border: 1px solid var(--glow-border-color);
	}

	.main-navigation ul ul a {
		font-weight: normal;
		padding: 6px 15px;
		text-transform: capitalize;
	}

	.main-navigation ul ul li:not(:last-child) {
		border-bottom: 1px solid var(--glow-border-color);
	}

	.main-navigation ul li:focus-within > ul,
	.main-navigation ul li:hover > ul,
	.main-navigation ul li.focus > ul {
		display: block;
	}

	.main-navigation ul ul li ul {
		top: 0;
		left: 100%;
	}

	/* Where the page reads right to left, sub-menus open towards the left. */
	.rtl .main-navigation ul ul {
		left: auto;
		right: 0;
		text-align: right;
	}

	.rtl .main-navigation ul ul li ul {
		right: 100%;
	}

	/* A sub-menu that would reach past the edge of the screen opens the
	   other way. The script finds out which do, as they open. */
	.main-navigation ul li.opens-back > ul {
		left: auto;
		right: 0;
	}

	.main-navigation ul ul li.opens-back > ul {
		right: 100%;
	}

	.rtl .main-navigation ul li.opens-back > ul {
		left: 0;
		right: auto;
	}

	.rtl .main-navigation ul ul li.opens-back > ul {
		left: 100%;
	}
}

@media (max-width: 991px) {
	.menu-toggle {
		width: 35px;
		height: 35px;
		position: relative;
		overflow: hidden;
		cursor: pointer;
		padding: 5px;
		background: none;
		margin: 5px;
		display: flex;
		flex-direction: column;
		justify-content: space-around;
		border: 0.2px solid var(--glow-border-color);
		border-radius: 3px;
		box-shadow: none;
		transition: none;
	}

	.menu-toggle .menu-toggle-bar {
		display: block;
		height: 3px;
		width: 100%;
		max-width: 23px;
		background: var(--color-text);
		border-radius: 3px;
		transition: 0.25s ease-in-out;
	}

	.main-navigation.toggled .menu-toggle-bar {
		position: absolute;
		top: 50%;
		left: 50%;
	}

	.main-navigation.toggled .menu-toggle-bar:nth-of-type(2) {
		transform: translate(-50%, -50%) rotate(45deg);
	}

	.main-navigation.toggled .menu-toggle-bar:nth-of-type(3) {
		transform: translate(-50%, -50%) rotate(-45deg);
	}

	.main-navigation ul.nav-menu {
		text-align: left;
		position: absolute;
		left: 50%;
		transform: translateX(-50%);
		top: 100%;
		width: 95%;
		z-index: 9999;
		display: none;
		border-radius: 15px;
		background: var(--color-background);
		box-shadow: var(--glow-medium-shadow);
		border: 1px solid var(--glow-border-color);
	}

	.main-navigation.toggled ul.nav-menu,
	html:not(.js) .main-navigation:focus-within ul.nav-menu {
		display: block;
	}

	.main-navigation ul a {
		padding: 15px;
		text-transform: uppercase;
		color: var(--color-text);
		display: block;
	}

	.main-navigation ul li:not(:last-child) {
		border-bottom: 1px solid #f1f1f1;
	}

	.main-navigation ul ul {
		display: none;
		margin-inline-start: 10px;
	}

	.main-navigation ul li:focus-within > ul,
	.main-navigation ul li.focus > ul {
		display: block;
	}

	.main-navigation ul ul a {
		padding: 10px 15px;
		text-transform: capitalize;
	}

	.main-navigation ul ul li {
		border-bottom: 1px solid #f1f1f1;
	}

	.main-navigation ul ul li a:focus {
		outline-offset: -2px;
	}
}

@media (max-width: 600px) {
	.header-bar {
		padding: 10px 20px;
	}

	.header-bar .main-navigation {
		order: 1;
	}

	.header-bar .site-branding {
		order: 2;
		text-align: center;
	}

	.header-bar .header-search {
		order: 3;
	}
}

/*--------------------------------------------------------------
# Post cards
--------------------------------------------------------------*/
.post-item {
	padding: 15px;
	padding-bottom: 20px;
	border-radius: 15px;
	border: 1px solid var(--glow-border-color);
	box-shadow: var(--glow-medium-shadow);
	background-color: var(--post-item-background);
}

.post-item .post-item-image {
	position: relative;
	overflow: hidden;
	border-radius: 15px;
	box-shadow: var(--glow-medium-shadow);
	border: 1px solid var(--glow-border-color);
}

.post-item .post-item-image a.post-thumbnail {
	display: block;
	height: 100%;
	width: 100%;
	line-height: 0;
}

.post-item .post-item-image a.post-thumbnail:focus {
	outline-offset: -3px;
}

.post-item .post-item-image img {
	width: 100%;
	height: 100%;
	aspect-ratio: 4 / 2.8;
	object-fit: cover;
}

/* Reading time and comments */
.read-time-comment {
	line-height: 1;
	padding: 5px 8px;
	font-weight: bold;
	font-size: calc(var(--font-size-xs) - 1px);
	display: inline-flex;
	align-items: center;
	gap: 10px;
	border-radius: var(--border-radius-all);
	background-color: var(--post-item-background);
	border: 1px solid var(--glow-border-color);
	box-shadow: var(--glow-small-shadow);
}

.read-time-comment span {
	display: flex;
	align-items: center;
	gap: 5px;
	color: var(--color-text);
}

.post-item .post-item-image .read-time-comment {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 1;
}

/* Categories */
.entry-cat .post-categories {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	row-gap: 5px;
	column-gap: 7px;
}

.entry-cat .post-categories li a {
	display: inline-block;
	color: var(--primary-color);
	text-decoration: none;
	font-weight: bold;
	font-size: var(--font-size-xs);
	line-height: 1;
	transition: var(--transition);
	letter-spacing: 0.8px;
	padding: 3px 7px;
	border-radius: var(--border-radius-all);
	background-color: var(--post-item-background);
	box-shadow: var(--glow-small-shadow);
	border: 1px solid var(--glow-border-color);
}

.entry-cat .post-categories li a:focus,
.entry-cat .post-categories li a:hover {
	box-shadow: var(--glow-box-shadow);
}

.entry-cat .post-categories li a:focus {
	outline-offset: 2px;
}

.post-item .post-item-image .entry-cat {
	position: absolute;
	left: 0;
	bottom: 0;
	padding: 10px;
	width: 100%;
	z-index: 1;
}

/* A card with no picture: the same two rows of labels, above the title. */
.post-item-top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 12px;
	margin-bottom: 4px;
}

.post-item .post-item-content {
	font-size: var(--font-size-sm);
}

.post-item .post-item-content .entry-title {
	margin-block: 10px;
	line-height: 1.5;
	font-size: var(--font-size-base);
	font-family: var(--font-head);
	overflow-wrap: break-word;
}

.post-item .post-item-content .entry-title a {
	color: var(--color-text);
	text-decoration-line: underline;
	text-decoration-color: transparent;
}

.post-item:focus-within .post-item-content .entry-title a,
.post-item:hover .post-item-content .entry-title a {
	text-decoration-color: currentColor;
}

.post-item .post-item-content .entry-title a:focus,
.post-item .post-item-content .entry-title a:hover {
	color: var(--primary-color);
}

.post-item .post-item-content .entry-meta {
	margin: 0;
	margin-block-end: 10px;
	padding: 0;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	row-gap: 5px;
	column-gap: 10px;
	align-items: center;
}

.post-item .post-item-content .entry-meta li {
	margin-bottom: 0;
	font-size: var(--font-size-xs);
	font-weight: 500;
}

.post-item .post-item-content .entry-meta li .icon {
	margin-inline-end: 5px;
}

.post-item .post-item-content .entry-meta li a {
	text-decoration: none;
	color: var(--color-text);
}

.post-item .post-item-content .entry-meta li a:focus,
.post-item .post-item-content .entry-meta li a:hover {
	color: var(--primary-color);
}

.post-item .post-item-content .post-content {
	margin-bottom: 15px;
}

.post-item .post-item-content .post-content p {
	margin: 0;
}

.post-item .post-item-content .btn-read-more {
	display: inline-flex;
	color: var(--color-text);
	text-decoration: none;
	font-weight: 600;
	border-radius: var(--border-radius-all);
	line-height: 1.3;
	padding: 4px 8px;
	font-size: var(--font-size-xs);
	text-transform: capitalize;
	transition: var(--transition);
	box-shadow: var(--glow-small-shadow);
	border: 1px solid var(--glow-border-color);
}

.post-item .post-item-content .btn-read-more:focus,
.post-item .post-item-content .btn-read-more:hover {
	box-shadow: var(--glow-box-shadow);
}

/*--------------------------------------------------------------
# Post grid
--------------------------------------------------------------*/
.post-grid {
	display: grid;
	gap: 30px;
	grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 768px) {
	.post-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 992px) {
	.post-grid.columns-3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.post-grid > article {
	margin: 0;
	min-width: 0;
}

/* Cards in a row are as tall as each other, with the button at the foot. */
.post-grid .post-item {
	height: 100%;
	display: flex;
	flex-direction: column;
}

.post-grid .post-item-content {
	flex: 1;
	display: flex;
	flex-direction: column;
}

.post-grid .post-item.has-image .post-item-content {
	padding-top: 5px;
}

.post-grid .post-btn {
	margin-top: auto;
}

.related-posts {
	margin-top: 40px;
}

/*--------------------------------------------------------------
# Featured posts
--------------------------------------------------------------*/
.featured-posts {
	position: relative;
	padding-block: 20px;
	margin-bottom: 20px;
}

/* Slides sit side by side and snap into place; a swipe moves them, and
   so do the arrows and dots when the script has loaded.

   The track is positioned so that everything in its slides scrolls with
   them and is cut off at its edge. Without that, what is placed absolutely
   in a slide (the labels kept for screen readers are) belongs to a box
   outside the track, is not cut off, and makes the whole page scroll
   sideways as far as the last slide. */
.slider-track {
	position: relative;
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.slider-track::-webkit-scrollbar {
	display: none;
}

.slider-slide {
	flex: 0 0 100%;
	min-width: 0;
	padding: 5px;
	scroll-snap-align: start;
}

.featured-posts .post-item {
	height: 100%;
	padding: 20px;
	display: flex;
}

.featured-posts .post-item .post-item-image {
	flex: 0 0 50%;
	max-width: 50%;
	align-self: center;
}

.featured-posts .post-item .post-item-content {
	flex-grow: 1;
	min-width: 0;
	padding: 20px;
	align-self: center;
}

.featured-posts .post-item .post-item-content .entry-title {
	font-size: var(--font-size-md);
}

.featured-posts .post-item .post-item-content .post-content {
	margin-block: 5px 15px;
}

.slider-arrow {
	position: absolute;
	top: calc(50% - 6px);
	transform: translateY(-50%);
	font-size: var(--font-size-base);
	width: 40px;
	height: 40px;
	padding: 0;
	z-index: 1;
	align-items: center;
	justify-content: center;
	border-radius: 100%;
	opacity: 0;
	visibility: hidden;
}

.slider-arrow.slide-prev {
	left: -20px;
}

.slider-arrow.slide-next {
	right: -20px;
}

.featured-posts:focus-within .slider-arrow,
.featured-posts:hover .slider-arrow {
	opacity: 1;
	visibility: visible;
}

.slider-arrow:focus,
.slider-arrow:hover {
	color: var(--primary-color);
}

.slider-arrow[disabled] {
	cursor: default;
	color: #b5b5b5;
}

.slider-dots {
	margin-top: 20px;
	display: flex;
	gap: 5px;
	align-items: center;
	justify-content: center;
}

.slider-dots button {
	width: 12px;
	height: 12px;
	padding: 0;
	box-shadow: none;
}

.slider-dots button[aria-current="true"] {
	width: 25px;
	box-shadow: var(--glow-small-shadow);
}

/* Until the script has loaded there is nothing for them to do. The dots
   keep their room, so nothing moves when they appear. */
.featured-posts:not(.is-ready) .slider-arrow {
	display: none;
}

.featured-posts:not(.is-ready) .slider-dots {
	visibility: hidden;
}

/* Up to here the page's own margin is 15px wide: an arrow 20px out would
   reach past the edge of the screen and make the page scroll sideways. */
@media (max-width: 1260px) {
	.slider-arrow.slide-prev {
		left: -10px;
	}

	.slider-arrow.slide-next {
		right: -10px;
	}
}

@media (max-width: 768px) {
	.slider-arrow {
		display: none;
	}
}

@media (max-width: 600px) {
	.featured-posts {
		padding-block: 10px;
	}

	.featured-posts .post-item {
		flex-direction: column;
		padding: 10px;
	}

	.featured-posts .post-item .post-item-image {
		flex: 0 0 auto;
		max-width: 100%;
		width: 100%;
	}

	.featured-posts .post-item .post-item-content {
		padding: 20px 5px 10px;
		width: 100%;
	}
}

/*--------------------------------------------------------------
# Pagination and post navigation
--------------------------------------------------------------*/
.site-main .post-navigation {
	margin-top: 30px;
	padding: 20px 0;
	border-block: 1px solid rgba(25, 27, 29, 0.16);
}

.post-navigation .nav-links {
	display: flex;
	gap: 20px;
}

@media (max-width: 480px) {
	.post-navigation .nav-links {
		flex-wrap: wrap;
	}
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
	flex: 1 1 50%;
	min-width: 0;
}

.post-navigation .nav-next {
	text-align: end;
	margin-inline-start: auto;
}

.post-navigation .nav-links a {
	display: inline-flex;
	gap: 5px;
	color: var(--color-text);
	text-decoration: none;
	flex-direction: column;
	overflow-wrap: anywhere;
}

.post-navigation .nav-links a:focus,
.post-navigation .nav-links a:hover {
	color: var(--primary-color);
}

.post-navigation .nav-subtitle {
	font-weight: bold;
}

.post-navigation .nav-previous .nav-subtitle::before,
.post-navigation .nav-next .nav-subtitle::after {
	content: "";
	display: inline-block;
	width: 0.9em;
	height: 0.9em;
	vertical-align: -0.1em;
	background-color: currentColor;
}

.post-navigation .nav-previous .nav-subtitle::before {
	margin-inline-end: 5px;
	-webkit-mask: var(--icon-chevron-left) center / contain no-repeat;
	mask: var(--icon-chevron-left) center / contain no-repeat;
}

.post-navigation .nav-next .nav-subtitle::after {
	margin-inline-start: 5px;
	-webkit-mask: var(--icon-chevron-right) center / contain no-repeat;
	mask: var(--icon-chevron-right) center / contain no-repeat;
}

/* Numbered pages */
nav.navigation.pagination {
	margin-top: 30px;
}

nav.navigation.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	margin: 10px 0 20px;
	justify-content: center;
}

nav.navigation.pagination .nav-links .page-numbers {
	text-decoration: none;
	min-width: 30px;
	height: 30px;
	padding-inline: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: var(--transition);
	color: var(--color-text);
	border: 1px solid var(--color-text);
}

nav.navigation.pagination .nav-links a.page-numbers:hover,
nav.navigation.pagination .nav-links a.page-numbers:focus {
	color: var(--primary-color);
	border-color: var(--primary-color);
}

nav.navigation.pagination .nav-links .page-numbers.current {
	color: #fff;
	background-color: var(--primary-color);
	border-color: var(--primary-color);
}

nav.navigation.pagination .nav-links .page-numbers.dots {
	border: none;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/*--------------------------------------------------------------
# Single post and page
--------------------------------------------------------------*/
.sticky,
.bypostauthor {
	display: block;
}

.post,
.page {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-summary {
	margin: 1.5em 0 0;
}

section.error-404.not-found {
	margin-bottom: 50px;
	text-align: center;
	max-width: 991px;
	margin-inline: auto;
}

section.error-404.not-found .search-form {
	max-width: 480px;
	margin-inline: auto;
}

.site-main article .entry-header .entry-title {
	font-size: var(--font-size-lg);
	margin-top: 0;
	margin-bottom: 10px;
	overflow-wrap: break-word;
}

.site-main article .entry-header .entry-title a {
	text-decoration: none;
	color: var(--color-text);
}

.site-main > article .entry-header {
	margin-bottom: 10px;
}

.site-main > article .entry-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 14px;
	margin-bottom: 10px;
	font-size: var(--font-size-sm);
}

.site-main > article .entry-meta a {
	text-decoration: none;
	color: var(--color-text);
}

.site-main > article .entry-meta a:hover,
.site-main > article .entry-meta a:focus {
	color: var(--primary-color);
}

.site-main > article .entry-meta .reading-time {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.site-main article .post-thumbnail {
	display: block;
	line-height: 0;
	margin-bottom: 15px;
}

.site-main article .entry-footer {
	display: flex;
	flex-direction: column;
	margin-top: 10px;
}

.site-main article .entry-footer > span {
	margin-bottom: 6px;
	font-weight: bold;
}

.site-main article .entry-footer span a {
	font-weight: normal;
	text-decoration: none;
	color: var(--color-text);
}

.site-main article .entry-footer span a:hover,
.site-main article .entry-footer span a:focus {
	color: var(--primary-color);
}

/*--------------------------------------------------------------
# Article content
--------------------------------------------------------------*/

/* What a post or page is made of, whether it was written in the block
   editor, in the classic editor, or sent by ContentAxis. The same rules,
   without ".entry-content", are in assets/css/editor.css for the editor. */
.entry-content {
	margin: 0;
	overflow-wrap: break-word;
}

.entry-content::after {
	content: "";
	display: table;
	clear: both;
}

.entry-content p {
	margin-bottom: 10px;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	line-height: 1.3;
	margin: 1.4em 0 0.5em;
}

.entry-content > :first-child {
	margin-top: 0;
}

/* Lists */
.entry-content ul,
.entry-content ol {
	margin: 0 0 1.25em;
	padding-inline-start: 1.6em;
}

.entry-content li {
	padding-block: 3px;
}

.entry-content li > ul,
.entry-content li > ol {
	margin: 3px 0 0;
}

/* Quotes */
.entry-content blockquote {
	margin: 1.5em 0;
	padding: 0.25em 0 0.25em 1.25em;
	border-inline-start: 4px solid var(--primary-color);
	color: #333;
}

.entry-content blockquote p:last-child {
	margin-bottom: 0;
}

.entry-content blockquote cite {
	display: block;
	margin-top: 0.5em;
	font-size: var(--font-size-sm);
}

.entry-content .wp-block-pullquote {
	margin: 30px 0;
	padding: 30px 0;
	border-block: 4px solid currentColor;
	text-align: center;
}

.entry-content .wp-block-pullquote blockquote {
	margin: 0;
	padding: 16px;
	border: 0;
}

/* Code */
.entry-content pre,
.entry-content .wp-block-code {
	margin: 0 0 1.5em;
	padding: 1em 1.25em;
	overflow: auto;
	color: #2b2b2b;
	background: #f5f5f5;
	border: 1px solid #e3e3e3;
	border-radius: 8px;
	font-size: 0.9em;
	line-height: 1.6;
	white-space: pre;
	overflow-wrap: normal;
}

.entry-content :not(pre) > code {
	padding: 0.1em 0.35em;
	background: #f3f3f3;
	border-radius: 4px;
	font-size: 0.9em;
}

.entry-content pre code {
	display: block;
	padding: 0;
	background: none;
	font-size: inherit;
}

.entry-content pre.wp-block-verse {
	white-space: pre-wrap;
}

/* Separators */
.entry-content hr {
	margin-block: 2em;
}

/* Tables: wide ones scroll sideways rather than squeezing their words. */
.entry-content .wp-block-table {
	margin: 0 0 1.5em;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.entry-content table {
	margin: 0 0 1.5em;
	width: 100%;
	border-collapse: collapse;
	border-spacing: 0;
	font-size: 0.95em;
}

.entry-content .wp-block-table table {
	margin: 0;
}

.entry-content > table {
	display: block;
	max-width: 100%;
	overflow-x: auto;
}

.entry-content th,
.entry-content td {
	padding: 10px 14px;
	border: 1px solid #d9d9d9;
	text-align: start;
	vertical-align: top;
	word-break: normal;
	overflow-wrap: normal;
}

.entry-content th[align="center"],
.entry-content td[align="center"],
.entry-content .has-text-align-center {
	text-align: center;
}

.entry-content th[align="right"],
.entry-content td[align="right"],
.entry-content .has-text-align-right {
	text-align: right;
}

.entry-content thead th,
.entry-content tfoot td {
	background: #f7f7f7;
	font-weight: 700;
}

.entry-content .wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
	background: #f7f7f7;
}

.entry-content .wp-block-table figcaption,
.entry-content .wp-block-image figcaption,
.entry-content .wp-block-video figcaption,
.entry-content .wp-block-embed figcaption {
	margin-top: 8px;
	text-align: center;
	font-size: var(--font-size-sm);
}

@media (max-width: 600px) {
	.entry-content th,
	.entry-content td {
		min-width: 7em;
		padding: 8px 10px;
	}
}

/* Sources: a number in the text jumps to its entry in the list, which is
   then marked so it can be found. */
.entry-content sup a[href^="#ca-"] {
	padding-inline: 1px;
	font-weight: 700;
	text-decoration: none;
}

.entry-content a[id^="ca-"] {
	scroll-margin-top: 24px;
	overflow-wrap: anywhere;
}

.admin-bar .entry-content a[id^="ca-"] {
	scroll-margin-top: 70px;
}

.entry-content a[id^="ca-"]:target {
	background-color: #fff3a6;
	box-shadow: 0 0 0 4px #fff3a6;
	border-radius: 2px;
}

/* Pictures, captions, galleries and embeds */
.alignleft {
	float: left;
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {
	float: right;
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

.entry-content .aligncenter {
	text-align: center;
}

.alignfull,
.alignwide {
	margin-top: 30px;
	margin-bottom: 30px;
}

.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

.entry-content .wp-block-button:not(.alignleft):not(.alignright) {
	margin-block: 1em;
}

.entry-content .wp-block-audio,
.entry-content .wp-block-video,
.entry-content .wp-block-file {
	margin: 0 0 20px;
}

.entry-content .wp-block-columns .wp-block-column > p {
	margin-bottom: 0;
}

@media (max-width: 480px) {
	.wp-block-media-text {
		display: block;
	}

	.wp-block-media-text .wp-block-media-text__media {
		margin: 10px auto;
	}

	.wp-block-media-text .wp-block-media-text__content {
		padding: 0;
	}
}

/*--------------------------------------------------------------
# Breadcrumbs
--------------------------------------------------------------*/
.breadcrumbs {
	padding: 0 0 20px;
	font-size: var(--font-size-sm);
}

.breadcrumbs .trail-items {
	list-style: none;
	margin: 0;
	padding: 0;
}

.breadcrumbs .trail-items li {
	display: inline;
	margin-right: 5px;
	overflow-wrap: anywhere;
}

.breadcrumbs .trail-items li a {
	text-decoration: none;
	color: var(--color-text);
	opacity: 0.7;
}

.breadcrumbs .trail-items li a:hover,
.breadcrumbs .trail-items li a:focus {
	opacity: 1;
	color: var(--primary-color);
}

.breadcrumbs .trail-items li:not(:last-child)::after {
	content: "/";
	padding-inline-start: 7px;
	color: var(--color-text);
}

/*--------------------------------------------------------------
# Comments
--------------------------------------------------------------*/
#comments.comments-area {
	margin-block: 20px;
	padding-bottom: 30px;
}

.comments-area > * {
	margin-top: 30px;
	margin-bottom: 30px;
}

.comments-area > *:first-child {
	margin-top: 0;
}

.comments-area > *:last-child {
	margin-bottom: 0;
}

#comments.comments-area .comments-title {
	font-size: var(--font-size-lg);
	font-family: var(--font-body);
	line-height: 1.2;
}

.comment-list,
.comment-list .children {
	padding-left: 0;
	list-style: none;
	margin-left: 0;
}

.comment-list > li,
.comment-list .children > li {
	margin-top: 30px;
	margin-bottom: 30px;
}

@media (min-width: 482px) {
	.comment-list .depth-2,
	.comment-list .depth-3 {
		padding-left: 80px;
	}
}

.comment-body {
	position: relative;
	margin-bottom: 40px;
	padding: 30px;
	background-color: var(--post-item-background);
	border: 1px solid #eee;
}

.comment-meta {
	margin-bottom: 10px;
}

.comment-meta .comment-author .avatar {
	float: left;
	margin-right: 20px;
	margin-bottom: 20px;
	width: 50px;
	border-radius: 50%;
}

.comment-meta .comment-author .fn {
	font-weight: normal;
	overflow-wrap: break-word;
}

.comment-meta .comment-metadata {
	padding: 8px 0 9px;
	display: flex;
	justify-content: space-between;
}

.comment-meta .comment-metadata .edit-link {
	margin-left: 20px;
}

.says {
	display: none;
}

.comment-content {
	overflow-wrap: break-word;
	padding-bottom: 15px;
	color: #555;
}

.comment-content p {
	margin-bottom: 5px;
}

.comment div#respond,
.comment-content {
	margin-left: 70px;
}

.comment-body .reply {
	margin: 0;
}

.reply a,
.comment-content a,
.comment-meta .comment-metadata a,
.comment-author .url {
	color: currentColor;
}

.reply a:focus,
.reply a:hover,
.comment-content a:focus,
.comment-content a:hover,
.comment-meta .comment-metadata a:focus,
.comment-meta .comment-metadata a:hover,
.comment-author .url:focus,
.comment-author .url:hover {
	color: var(--primary-color);
}

.comment-respond {
	margin-top: 20px;
}

.comment-reply-title {
	display: flex;
	justify-content: space-between;
	margin-top: 0;
	font-weight: 700;
	font-size: var(--font-size-base);
}

.comment-reply-title small a {
	margin-left: 10px;
	font-weight: normal;
}

.comment-form > p {
	margin-block: 0 10px;
}

.comment-form label {
	display: block;
	font-weight: normal;
}

.comment-form .comment-form-cookies-consent {
	display: flex;
	align-items: center;
	gap: 8px;
}

.comment-form .comment-form-cookies-consent label {
	display: inline;
}

.comment-form input[type="submit"] {
	margin-top: 10px;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 1.5em;
	background-color: var(--post-item-background);
	padding: 20px;
	border-radius: 15px;
	box-shadow: var(--glow-medium-shadow);
	border: 1px solid var(--glow-border-color);
	overflow-wrap: break-word;
}

.widget select {
	max-width: 100%;
}

.widget > :last-child,
.widget p:last-child {
	margin-bottom: 0;
}

.widget_block h1,
.widget_block h2,
.widget_block h3,
.widget_block h4,
.widget_block h5,
.widget_block h6 {
	margin-top: 0;
	margin-bottom: 10px;
	line-height: 1.2;
}

.widget-title {
	padding-block-end: 15px;
	border-bottom: 1px solid #d9d9d9;
	position: relative;
	margin: 0 0 15px;
	font-family: var(--font-head);
	font-size: var(--font-size-base);
}

.widget-title::after {
	position: absolute;
	bottom: -2px;
	left: 0;
	content: "";
	width: 60px;
	height: 3px;
	background: var(--primary-color);
}

.widget ol,
.widget ul {
	list-style: none;
	padding: 0;
	margin-inline: 0;
}

.widget ol li,
.widget ul li {
	margin-bottom: 7px;
	padding-bottom: 7px;
	font-size: var(--font-size-sm);
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.widget ol li a,
.widget ul li a {
	text-decoration: none;
	color: var(--color-text);
	transition: var(--transition);
}

.widget ol li a:focus,
.widget ol li a:hover,
.widget ul li a:focus,
.widget ul li a:hover {
	color: var(--primary-color);
}

.widget ol ol,
.widget ul ol,
.widget ol ul,
.widget ul ul {
	padding-top: 7px;
	margin-left: 10px;
	padding-left: 10px;
}

.widget ol > li:last-child,
.widget ul > li:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: none;
}

.wp-block-tag-cloud a,
.tagcloud a {
	display: inline-block;
	text-decoration: none;
	font-size: var(--font-size-sm) !important;
	color: var(--color-text);
	border: 1px solid var(--color-text);
	padding: 3px 7px;
	margin-inline-end: 5px;
	margin-block-end: 5px;
	line-height: 1.2;
}

.wp-block-tag-cloud a:focus,
.wp-block-tag-cloud a:hover,
.tagcloud a:focus,
.tagcloud a:hover {
	color: var(--primary-color);
	border-color: var(--primary-color);
}

.widget .wp-block-search__inside-wrapper {
	display: flex;
}

.widget .wp-block-search__input {
	padding: 6px 16px;
	font-size: 0.9rem;
	border-radius: var(--border-radius-all) 0 0 var(--border-radius-all);
}

.widget .wp-block-search__input:focus-visible {
	outline: 0;
}

.widget .wp-block-search__button {
	margin: 0;
	padding: 10px 25px;
	align-items: center;
	box-shadow: none;
	border-radius: 0 var(--border-radius-all) var(--border-radius-all) 0;
}

.wp-block-social-links li {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
}

.wp-block-calendar #today,
.wp-block-calendar a {
	color: var(--primary-color);
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.site-footer {
	margin-top: 50px;
	background-color: #1c1c1c;
	color: #fff;
}

.site-footer .top-footer-widgets {
	display: grid;
	gap: 0 30px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	padding-top: 20px;
}

@media (max-width: 768px) {
	.site-footer .top-footer-widgets {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.site-footer .top-footer-widgets {
		grid-template-columns: minmax(0, 1fr);
	}
}

.site-footer .widget {
	background-color: #2e2e2e;
	box-shadow: 4px 4px 0 0 #000;
}

.site-footer .widget h1,
.site-footer .widget h2,
.site-footer .widget h3,
.site-footer .widget h4,
.site-footer .widget h5,
.site-footer .widget h6 {
	margin-top: 0;
	color: #fff;
}

.site-footer .widget a,
.site-footer .widget ul li a,
.site-footer .widget ol li a {
	color: #fff;
	opacity: 0.8;
	transition: var(--transition);
}

.site-footer .widget a:focus,
.site-footer .widget a:hover,
.site-footer .widget ul li a:focus,
.site-footer .widget ul li a:hover,
.site-footer .widget ol li a:focus,
.site-footer .widget ol li a:hover {
	color: #fff;
	opacity: 1;
}

.site-footer .wp-block-tag-cloud a,
.site-footer .tagcloud a {
	border-color: #fff;
}

.site-footer .bottom-footer {
	padding: 15px 0;
	background: rgba(217, 217, 217, 0.1);
}

.site-footer .site-info {
	text-align: center;
	overflow-wrap: break-word;
}

.site-footer .site-info a {
	text-decoration: none;
	color: #fff;
	opacity: 0.8;
	transition: var(--transition);
}

.site-footer .site-info a:focus,
.site-footer .site-info a:hover {
	opacity: 1;
}

/*--------------------------------------------------------------
# Back to top
--------------------------------------------------------------*/
a.scroll-to-top {
	position: fixed;
	bottom: 53px;
	right: 30px;
	height: 40px;
	width: 40px;
	opacity: 0;
	visibility: hidden;
	z-index: 17;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	color: var(--color-text);
	border-radius: 10px;
	background-color: var(--post-item-background);
	transition: var(--transition);
	font-size: var(--font-size-base);
	box-shadow: var(--glow-small-shadow);
	border: 1px solid var(--glow-border-color);
}

a.scroll-to-top:hover,
a.scroll-to-top:focus {
	color: var(--primary-color);
	transform: translateY(-10px);
}

a.scroll-to-top.show {
	opacity: 1;
	visibility: visible;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

#primary[tabindex="-1"]:focus {
	outline: 0;
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition: none !important;
		scroll-behavior: auto !important;
	}
}
