/*
 * Satomi Social
 *
 * Rewritten from Hanne 1.0.6 (default skin), the parts of Bootstrap 3 it used,
 * and the Satomi Social (Beta) child theme. The look is meant to stay the same.
 */

@font-face {
	font-family: "Nunito";
	font-style: normal;
	font-weight: 200 700;
	font-display: swap;
	src: url("../fonts/nunito-latin.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;
}

:root {
	--accent: #8890d5;
	--accent-soft: #8c94d6;
	--heading-bar: #8991d0;
	--text: #333;
	--text-content: #444;
	--text-muted: rgb(68 68 68 / 0.8);
	--text-faint: rgb(68 68 68 / 0.6);
	--line: #eee;
	--line-light: #f0f0f0;
	--title-color: #5b5b5b;
	--tagline-color: #5b5b5b;
	--font-sans: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "ヒラギノ角ゴシック", "游ゴシック Medium", YuGothic, YuGothicM, "メイリオ", Meiryo, sans-serif;
	--font-title: "Nunito", var(--font-sans);
	--container: 1100px;
	--gutter: 15px;
	--ease: 0.4s ease;
}

/* Base ------------------------------------------------------------------ */

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

html {
	font-size: 10px;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	overflow-y: scroll;
}

body {
	margin: 0;
	background: #fff;
	color: var(--text);
	font-family: var(--font-sans);
	font-size: 14px;
	line-height: 1.42857;
	overflow-wrap: break-word;
	overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	margin: 20px 0 10px;
	font-weight: 500;
	line-height: 1.1;
}

h1 { font-size: 36px; }
h2 { font-size: 30px; }
h3 { font-size: 24px; }
h4 { font-size: 18px; }
h5 { font-size: 14px; }
h6 { font-size: 12px; }

h4,
h5,
h6 {
	margin-top: 10px;
}

p {
	margin: 0 0 1.75em;
	font-size: 18px;
	line-height: 1.7;
}

ul,
ol {
	margin: 0 0 10px 3em;
	padding: 0;
}

ul {
	list-style: disc;
}

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

li > ul.children {
	margin-left: 1.25em;
}

b,
strong {
	font-weight: 700;
}

a {
	color: var(--accent);
	text-decoration: none;
}

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

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

hr {
	height: 0;
	margin: 20px 0;
	border: 0;
	border-top: 1px solid var(--line);
}

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

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

th,
td {
	padding: 0;
	text-align: left;
}

th {
	font-weight: 700;
}

blockquote {
	margin: 0 0 20px;
	padding: 10px 20px;
	border-left: 5px solid var(--line);
	font-size: 17.5px;

	& p:last-child {
		margin-bottom: 0;
	}
}

figure {
	margin: 1em 40px;
}

pre {
	overflow: auto;
	margin: 0 0 10px;
	padding: 9.5px;
	border: 1px solid #ccc;
	border-radius: 4px;
	background: #f5f5f5;
	font-size: 13px;
	line-height: 1.42857;
	word-break: break-all;
	overflow-wrap: break-word;
}

code,
kbd,
pre,
samp,
tt,
var {
	font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
}

code {
	padding: 2px 4px;
	border-radius: 4px;
	background: #f9f2f4;
	color: #c7254e;
	font-size: 90%;
}

pre code {
	padding: 0;
	background: none;
	color: inherit;
	font-size: inherit;
}

kbd {
	padding: 2px 4px;
	border-radius: 3px;
	background: #333;
	color: #fff;
	font-size: 90%;
}

abbr[title] {
	border-bottom: 1px dotted #777;
	text-decoration: none;
	cursor: help;
}

small {
	font-size: 85%;
}

big {
	font-size: 125%;
}

dl {
	margin: 0 0 20px;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 0 1.5em;
}

address {
	margin: 0 0 1.5em;
	font-style: normal;
}

button,
input,
select,
textarea {
	margin: 0;
	color: inherit;
	font: inherit;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
	padding: 3px;
	border: 1px solid #ccc;
	border-radius: 3px;
	color: #666;
}

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

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	padding: 0.6em 1em 0.4em;
	border: 1px solid #ccc;
	border-bottom-color: #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgb(0 0 0 / 0.8);
	font-size: 12px;
	line-height: 1;
	cursor: pointer;
}

:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.skip-link:focus {
	z-index: 100000;
	top: 5px;
	left: 5px;
	width: auto;
	height: auto;
	padding: 15px 23px 14px;
	clip-path: none;
	background: #f1f1f1;
	box-shadow: 0 0 2px 2px rgb(0 0 0 / 0.6);
	color: #21759b;
	font-size: 14px;
	font-weight: 700;
}

/* WordPress core classes */

.alignleft {
	float: left;
	margin: 0 1.5em 1.5em 0;
}

.alignright {
	float: right;
	margin: 0 0 1.5em 1.5em;
}

.aligncenter {
	display: block;
	margin-inline: auto;
}

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

	& img {
		display: block;
		margin-inline: auto;
	}
}

.wp-caption-text,
.wp-element-caption {
	margin: 0.8em 0;
	text-align: center;
}

.gallery-item {
	margin: 0;
	text-align: center;
}

.gallery {
	display: grid;
	grid-template-columns: repeat(var(--gallery-columns, 3), 1fr);
	gap: 1em;
	margin-bottom: 1.5em;
}

.gallery-columns-1 { --gallery-columns: 1; }
.gallery-columns-2 { --gallery-columns: 2; }
.gallery-columns-4 { --gallery-columns: 4; }
.gallery-columns-5 { --gallery-columns: 5; }
.gallery-columns-6 { --gallery-columns: 6; }
.gallery-columns-7 { --gallery-columns: 7; }
.gallery-columns-8 { --gallery-columns: 8; }
.gallery-columns-9 { --gallery-columns: 9; }

.sticky,
.bypostauthor {
	display: block;
}

/* Layout ---------------------------------------------------------------- */

.container {
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

@media (min-width: 768px) {
	.container { max-width: 750px; }
}

@media (min-width: 992px) {
	.container { max-width: 970px; }
}

@media (min-width: 1200px) {
	.container { max-width: var(--container); }
}

.mega-container {
	max-width: 1170px;
	margin: 20px auto 0;
	background: #fff;
}

.site-content {
	display: flow-root;
	margin-top: 30px;
	padding-top: 30px;
}

.content-area,
#secondary {
	padding-inline: var(--gutter);
}

.error404 .content-area {
	padding-inline: 0;
}

@media (min-width: 992px) {
	.sidebar-enabled .site-content {
		display: grid;
		grid-template-columns: 2fr 1fr;
		align-items: start;
	}
}

/* Navigation ------------------------------------------------------------ */

.main-navigation {
	position: relative;
	z-index: 100;
	border-bottom: 1px solid var(--line-light);
	background: #fff;
	font-family: var(--font-title);
	text-align: center;

	& ul {
		margin: 0;
		padding: 0;
		list-style: none;
	}

	& li {
		display: inline-block;
		position: relative;
	}

	& a {
		display: block;
		margin-right: 1px;
		padding: 12px 18px;
		color: var(--text-muted);
		font-size: 12px;
		font-weight: 400;
		text-transform: uppercase;
		transition: background-color 0.2s ease;
	}

	& li:hover > a,
	& li:focus-within > a {
		background: #f2f2f2;
	}

	& .current-menu-item > a,
	& .current_page_item > a,
	& .current_page_ancestor > a {
		background: var(--line-light);
		color: var(--text-content);
	}

	& .sub-menu {
		position: absolute;
		z-index: 99999;
		top: 100%;
		left: 0;
		padding: 5px 0;
		background: #ededed;
		text-align: left;
		opacity: 0;
		visibility: hidden;
		transform: translateX(20px);
		transform-origin: top;
		transition: opacity var(--ease), transform var(--ease), visibility var(--ease);

		& li {
			display: block;
		}

		& a {
			width: 200px;
			margin: 0;
			padding: 1px 15px;
			background: none;
			font-weight: 200;
			text-transform: none;

			&:hover {
				text-decoration: underline;
			}
		}

		& .sub-menu {
			top: 0;
			left: 100%;
		}
	}

	& li:hover > .sub-menu,
	& li:focus-within > .sub-menu {
		opacity: 1;
		visibility: visible;
		transform: none;
	}
}

/* Header ---------------------------------------------------------------- */

.site-header {
	position: relative;
	z-index: 90;
	text-align: center;
}

.site-branding {
	display: inline-block;
	padding: 25px 0;

	& .custom-logo {
		display: block;
		margin: 0 auto 10px;
	}
}

.site-title {
	margin: 0 0 10px;
	font-size: 48px;
	font-weight: 400;
	line-height: 1.1;

	& a {
		color: var(--title-color);
	}
}

.site-description {
	margin: 0 0 10px;
	color: var(--tagline-color);
	font-size: 15px;
	line-height: 1.1;
}

.social-icons {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px;
	margin: 5px 0 0;
	padding: 0;
	list-style: none;

	& a {
		display: grid;
		place-items: center;
		width: 35px;
		height: 35px;
		border-radius: 50%;
		background: #a6a6a6;
		color: #fff;
		transition: background-color var(--ease), transform var(--ease);

		&:hover,
		&:focus-visible {
			background: var(--accent);
			transform: scale(1.05);
		}
	}

	& .icon {
		width: 16px;
		height: 16px;
	}
}

@media (max-width: 767px) {
	.site-branding {
		padding-bottom: 5px;
	}

	.social-icons {
		gap: 8px;

		& a {
			width: 33px;
		}
	}
}

/* Slideshow ------------------------------------------------------------- */

.slideshow-wrap {
	display: flow-root;
	margin-top: 45px;
}

@media (max-width: 767px) {
	.slideshow-wrap {
		margin-top: 25px;
	}
}

.slideshow {
	position: relative;
	margin-bottom: 20px;

	& .slides {
		display: grid;
		touch-action: pan-y;
	}

	& .slide {
		grid-area: 1 / 1;

		& img {
			display: block;
			width: 100%;
		}
	}

	&.is-ready .slide {
		opacity: 0;
		visibility: hidden;
		transition: opacity 2s ease, visibility 2s;

		&.is-active {
			opacity: 1;
			visibility: visible;
		}
	}

	&:not(.is-ready) .slide:not(:first-child) {
		display: none;
	}
}

.slideshow-prev,
.slideshow-next {
	position: absolute;
	top: 50%;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	margin-top: -22px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgb(255 255 255 / 0.75);
	color: #444;
	opacity: 0;
	transition: opacity var(--ease);

	& .icon {
		width: 20px;
		height: 20px;
	}

	.slideshow:hover &,
	&:focus-visible {
		opacity: 1;
	}
}

.slideshow-prev { left: 10px; }
.slideshow-next { right: 10px; }

.slideshow-pager {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	display: flex;
	gap: 3px;

	& button {
		width: 9px;
		height: 9px;
		padding: 0;
		border: 1px solid #c8c8c8;
		border-radius: 50%;
		background: #fff;
		box-shadow: none;

		&[aria-current="true"] {
			border-color: #aaa;
			background: #aaa;
		}
	}
}

@media (hover: none) {
	.slideshow-prev,
	.slideshow-next {
		display: none;
	}
}

/* Featured posts -------------------------------------------------------- */

.featposts {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	margin-top: 45px;

	& .item {
		position: relative;
		margin: 0;

		&:nth-child(1) { z-index: 6; }
		&:nth-child(2) { z-index: 7; }
		&:nth-child(3) { z-index: 8; }
	}

	& a {
		display: block;
		color: var(--text-content);
	}

	& .item-container {
		display: block;
		transition: transform 0.8s ease;
	}

	& img {
		display: block;
		width: 100%;
		transform: scale(1.02);
		transform-origin: bottom;
		transition: transform var(--ease), filter var(--ease);
	}

	& .post-title {
		position: absolute;
		z-index: 10;
		bottom: 0;
		left: 0;
		width: 100%;
		padding: 10px 30px;
		background: #fff;
		text-align: center;
		opacity: 0;
		transform: translateY(100%) scale(1.03);
		transition: opacity var(--ease), transform var(--ease);
	}
}

@media (min-width: 768px) {
	.featposts .item:hover {
		& .item-container {
			transform: translateY(-1px);
		}

		& img {
			filter: brightness(0.9);
			transform: scale(1.05);
		}

		& .post-title {
			opacity: 1;
			transform: scale(1.05);
		}
	}

	.featposts .item:focus-within .post-title {
		opacity: 1;
		transform: none;
	}
}

@media (max-width: 767px) {
	.featposts {
		grid-template-columns: 1fr;
		margin-top: 25px;

		& .post-title {
			padding-bottom: 15px;
			opacity: 1;
			transform: none;
		}
	}
}

/* Post grid ------------------------------------------------------------- */

.section-title {
	position: relative;
	z-index: 3;
	margin: 20px 0 10px;
	color: #232323;
	font-family: var(--font-title);
	font-size: 24px;
	font-weight: 700;
	line-height: 1.42857;
	text-align: center;
	text-transform: uppercase;

	& span {
		display: inline-block;
		padding: 5px 15px 5px 0;
		background: #fff;
	}
}

.masonry-main {
	position: relative;
	display: flow-root;
}

.hanne {
	position: relative;
	float: left;
	width: 100%;
	min-height: 144px;
	margin: 10px 0;
	padding: 20px 50px;

	& .featured-thumb {
		position: relative;
		overflow: hidden;
		padding: 8px;
		border: 1px solid #e0e0e0;

		& a {
			display: block;
		}

		& img {
			display: block;
			width: 100%;
			transition: filter var(--ease);
		}

		&:hover img {
			filter: brightness(0.8);
		}
	}

	& .postedon {
		position: absolute;
		bottom: 5px;
		left: 50%;
		padding: 3px;
		background: rgb(0 0 0 / 0.5);
		font-size: 12px;
		font-weight: 200;
		opacity: 0;

		& a {
			color: #fff;
		}

		& .updated {
			display: none;
		}
	}

	& .out-thumb {
		position: relative;
		display: flow-root;
		margin-top: 25px;
		padding-inline: var(--gutter);
		text-align: center;

		&::after {
			content: "";
			position: absolute;
			top: -10px;
			left: calc(49% - 6px);
			width: 12px;
			height: 12px;
			border-radius: 50%;
			background: #ededed;
			transition: background-color var(--ease), transform var(--ease);
		}
	}

	&:hover .out-thumb::after {
		background: var(--accent);
		transform: scale(1.2);
	}

	& .entry-title {
		margin: 17px 0 5px;
		font-size: 14px;
		font-weight: 400;
		line-height: 1.1;

		& a {
			padding-bottom: 2px;
			color: rgb(68 68 68 / 0.7);
		}
	}
}

@media (min-width: 768px) {
	.hanne {
		width: 33.3333%;
	}
}

@media (max-width: 768px) {
	.hanne {
		overflow: hidden;

		& .out-thumb {
			padding: 10px 3px;
		}
	}
}

/* Page headers and pagination ------------------------------------------- */

.page-header {
	margin: 0 0 20px;
	padding-bottom: 9px;

	& .page-title {
		display: inline-block;
		margin: 20px 0 0;
		padding-bottom: 10px;
		font-size: 18px;
		font-weight: 700;
		text-transform: uppercase;
	}
}

.pagination {
	clear: both;
	margin: 20px 0;
	padding-top: 25px;
	text-align: center;

	& .page-numbers {
		display: inline-block;
		margin-right: 5px;
		padding: 4px 12px;
		border: 1px solid #e6e6e6;
		border-radius: 3px;
		background: #fff;
		color: var(--text-content);
		font-weight: lighter;
		line-height: 20px;
		transition: background-color var(--ease), color var(--ease);

		&:hover {
			background: var(--accent);
			color: #fff;
		}
	}

	& .dots {
		background: #fafafa;
		color: var(--accent);
		pointer-events: none;
	}

	& .current {
		background: var(--accent);
		color: #fff;
		pointer-events: none;
	}
}

/* Single posts and pages ------------------------------------------------ */

#primary-mono {
	padding: 0 10px 0 20px;

	& .entry-title {
		margin: 0;
		padding: 2px 0;
		color: var(--text-content);
		font-size: 28px;
		font-weight: 700;
		line-height: 1.25;
	}

	/* Pages: the title sits on a hatched rule. */
	&.page .entry-title {
		position: relative;
		margin: 20px 0 10px;
		color: #000;
		font-size: 25px;
		line-height: 1.1;
		text-transform: uppercase;

		& span {
			position: relative;
			z-index: 1;
			padding: 19px 15px 19px 0;
			background: #fff;
		}

		&::after {
			content: "";
			position: absolute;
			z-index: 0;
			top: 27%;
			left: 2%;
			width: 96%;
			height: 11px;
			background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAMUlEQVQIW2NkwAEePHjwnxGbHEhCQUGBEUMSJgHShCKJLIEiiS4Bl8QmAZbEJQGSBADSZhunpas31QAAAABJRU5ErkJggg==");
		}
	}
}

@media (max-width: 767px) {
	#primary-mono {
		padding-left: 10px;
	}
}

:where(.hentry) {
	margin: 0 0 1.5em;
}

.entry-meta {
	display: inline-block;
	overflow: auto;
	padding: 2px 0 8px;
	color: #5e5e5e;
	font-size: 12px;
	letter-spacing: 1px;
	text-transform: uppercase;

	& a {
		color: var(--accent);
		text-decoration: underline;

		&:hover {
			text-decoration: none;
		}
	}

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

	& .byline {
		margin-left: 2px;
	}
}

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

.entry-content {
	display: flow-root;
	color: var(--text-content);
	line-height: 1.7;

	& > h2 {
		font-size: 24px;
		line-height: 1.25;
	}

	& > h1 {
		margin: 37.5px 0 25px;
		padding: 10px;
		border-left: 4px solid var(--heading-bar);
		background: #f7f7f7;
		font-size: 24px;
		line-height: 1.25;
	}

}

.entry-footer {
	margin-top: 25px;
	padding: 7px 0;
	overflow: auto;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line-light);
	font-size: 12px;

	& a {
		color: var(--text-content);
		text-decoration: underline;

		&:hover {
			color: var(--accent);
		}
	}

	& > span {
		margin-right: 6px;
	}
}

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

/* Jetpack related posts: the child theme forced paragraph spacing on them. */

#jp-relatedposts .jp-relatedposts-items p {
	margin-bottom: 1.75em;
}

/* 全記事一覧 (post-all.php) */

.post-all .entry-title {
	margin: 20px 0 10px;
	font-size: 36px;
	font-weight: 500;
	line-height: 1.1;
}

/* Blog card shortcode --------------------------------------------------- */

.blogcard {
	display: flow-root;
	margin: 40px;
	border: 1px solid var(--line);
	background: #fff;
	box-shadow: 0 0 10px 6px rgb(0 0 0 / 0.025);
	line-height: 1;

	& a {
		display: block;
		transition: opacity 0.2s ease;

		&:hover {
			opacity: 0.6;
		}
	}
}

.blogcard_thumbnail {
	float: left;
	padding: 20px;
}

.blogcard_title {
	padding: 17px 20px 10px;
	font-size: 1em;
	font-weight: 700;
	line-height: 1.4;
}

.blogcard_excerpt {
	padding: 0 17px 15px 20px;
	font-size: 0.85em;
	line-height: 1.6;
}

@media (max-width: 768px) {
	.blogcard {
		margin: 40px 0;
	}

	.blogcard_title {
		padding-bottom: 17px;
		font-size: 0.95em;
	}

	.blogcard_excerpt {
		display: none;
	}
}

/* Sidebar and widgets --------------------------------------------------- */

.widget {
	margin: 0 0 1.5em;

	& select {
		max-width: 100%;
	}
}

#secondary {
	& .widget {
		padding: 10px;
	}

	& .widget-title {
		position: relative;
		display: inline-block;
		margin: 0 0 20px;
		padding: 5px;
		color: rgb(0 0 0 / 0.9);
		font-size: 17px;
		font-weight: 700;
		line-height: 1.1;
		text-transform: uppercase;
		word-break: break-all;

		&::before,
		&::after {
			content: "";
			position: absolute;
			bottom: -3px;
			width: 30px;
			height: 4px;
		}

		&::before {
			left: 5px;
			background: var(--accent);
		}

		&::after {
			left: 35px;
			background: #e0e0e0;
		}
	}

	& .widget a {
		color: #555;
		transition: color var(--ease);

		&:hover {
			color: var(--accent);
		}
	}

	& .widget ul {
		margin: 0 0 10px;
		font-size: 13px;
		list-style: none;
	}

	& .widget li > :is(ul, ol) {
		margin: 0 0 0 1.25em;
	}

	& .widget li {
		padding: 6px;
		border-bottom: 1px solid var(--line);

		&:last-child {
			border-bottom: 0;
		}
	}

	& :is(.widget_archive, .widget_categories, .widget_meta, .widget_nav_menu, .widget_pages, .widget_recent_comments, .widget_recent_entries) li::before {
		content: "";
		display: inline-block;
		width: 6px;
		height: 10px;
		margin-right: 5px;
		background: var(--accent-soft);
		mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 6 10'%3E%3Cpath d='M1.2 0 0 1.2 3.8 5 0 8.8 1.2 10l5-5z'/%3E%3C/svg%3E") no-repeat center / contain;
		transition: transform var(--ease);
	}

	& .widget li:hover::before {
		transform: rotate(-360deg);
	}

	& .widget_search {
		margin-bottom: 20px;
	}

}

.search-form {
	margin-bottom: 5px;
}

.widget_search .search-submit {
	display: none;
}

#secondary .search-field {
	width: 80%;
	padding: 15px 15px 10px;
	border: 2px solid #f4f4f4;
	border-radius: 0;
	outline: none;
	background: #fff;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.42857;
}

/* Comments -------------------------------------------------------------- */

.comment-list {
	margin: 0 0 1.5em;
	list-style: none;

	& .children {
		list-style: none;
	}
}

.comment-body {
	margin-bottom: 1.5em;
}

/* Footer ---------------------------------------------------------------- */

#footer-sidebar .container {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 30px;
}

.site-footer {
	padding: 15px 10px;
	background: #fff;
	color: var(--text-faint);
	font-family: var(--font-title);
	font-size: 13px;
	text-align: center;
}

/* Motion ---------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}

	/* The slideshow keeps its fade (see theme.js). */
	.slideshow.is-ready .slide {
		transition-duration: 2s !important;
	}
}
