/*
 * Sugimoto Shop — site stylesheet.
 *
 * Breakpoints: tablet >= 600px, desktop >= 960px.
 * Sizes below 600px scale with the viewport width (root font size 3.6vw).
 */

/* ------------------------------------------------------------------ */
/* Tokens                                                              */
/* ------------------------------------------------------------------ */
:root {
	--color-main: #09510c;
	--color-main-dark: #063a08;
	--color-main-soft: rgba(9, 81, 12, .06);
	--color-accent: #c8841f;
	--color-text: #333;
	--color-link: #087c00;
	--color-bg: #fff5e5;
	--color-header-bg: #fff;
	--color-footer-bg: var(--color-main);
	--color-footer-text: #fff5e5;
	--color-border: hsla(0, 0%, 78%, .5);
	--color-hover: rgba(3, 2, 2, .05);
	--color-shadow: rgba(0, 0, 0, .12);
	--color-drawer-bg: #ededda;
	--font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
	--radius: 6px;
	--radius-card: 14px;
	--color-card: #fff;
	--shadow-card: 0 1px 2px rgba(80, 50, 10, .06), 0 8px 24px -12px rgba(80, 50, 10, .18);
	--nav-pad: 12px;
	--fz-root: 3.6vw;
	--fz-content: 4vw;
	--fz-side: var(--fz-root);
	--pad-container: 4vw;
	--pad-content: 0px;
	--heading-bleed: -2vw;
	--logo-size: 50px;
	--logo-size-sticky: 45px;
	--sidebar-width: 280px;
	--sidebar-gap: 24px;
	--shadow-box: 0 2px 4px rgba(0, 0, 0, .05), 0 4px 4px -4px rgba(0, 0, 0, .1);
	--shadow-thumb: 0 2px 8px rgba(0, 0, 0, .1), 0 4px 4px -4px rgba(0, 0, 0, .1);
	--header-height: 82px;
	--sticky-height: 77px;
	--scroll-offset: 0px;
}

@media (min-width: 600px) {
	:root {
		--fz-root: 16px;
		--fz-content: 18px;
		--heading-bleed: -16px;
	}
}

@media (min-width: 960px) {
	:root {
		--fz-side: 14px;
		--pad-content: 16px;
		--pad-container: 32px;
	}
}

@media (min-width: 1200px) {
	:root {
		--pad-container: 48px;
		--sidebar-width: 304px;
		--sidebar-gap: 52px;
	}
}

/* ------------------------------------------------------------------ */
/* Base                                                                */
/* ------------------------------------------------------------------ */
*,
::before,
::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
}

html {
	font-size: var(--fz-root);
}

body {
	position: relative;
	max-width: 100%;
	overflow-x: clip;
	background-color: var(--color-bg);
	background-image: radial-gradient(rgba(200, 132, 31, .14) 1px, transparent 1.6px);
	background-size: 20px 20px;
	color: var(--color-text);
	font-family: var(--font-family);
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.6;
	overflow-wrap: break-word;
	-webkit-text-size-adjust: 100%;
}

a {
	color: var(--color-link);
}

strong {
	font-weight: 700;
}

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

:where(ul, ol) {
	list-style: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

button,
input {
	color: var(--color-text);
	font: inherit;
}

button {
	cursor: pointer;
}

svg:not([fill]) {
	fill: currentColor;
}

.icon {
	display: block;
	width: 1em;
	height: 1em;
	flex: none;
}

.icon-sprite {
	display: none;
}

.visually-hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.site {
	position: relative;
	z-index: 1;
	max-width: 100%;
	overflow-x: clip;
}

.container {
	max-width: calc(1920px + var(--pad-container) * 2);
	margin-right: auto;
	margin-left: auto;
	padding-right: var(--pad-container);
	padding-left: var(--pad-container);
}

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

.align-left {
	text-align: left;
}

@media (max-width: 959px) {
	.pc-only {
		display: none !important;
	}
}

@media (min-width: 960px) {
	.sp-only {
		display: none !important;
	}
}

.icon-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	border: 0;
	background: none;
	color: inherit;
	font-size: 24px;
}

.scroll-marker {
	position: absolute;
	top: 100px;
	left: 0;
	width: 100%;
	height: 1px;
	visibility: hidden;
	pointer-events: none;
}

/* Overlays stay hidden until the script has initialised them. */
html:not(.is-loaded) .drawer,
html:not(.is-loaded) .search-modal,
html:not(.is-loaded) .page-top {
	display: none;
}

/* ------------------------------------------------------------------ */
/* Header                                                              */
/* ------------------------------------------------------------------ */
.site-header {
	position: relative;
	z-index: 100;
	width: 100%;
	border-top: 4px solid var(--color-main);
	background: var(--color-header-bg);
	box-shadow: 0 1px 4px var(--color-shadow);
}

.site-header__inner,
.sticky-header__inner {
	position: relative;
	display: flex;
	justify-content: space-between;
	color: #333;
}

.logo {
	display: block;
	height: var(--logo-size);
	font-weight: 700;
	line-height: 1;
}

.logo__link {
	display: block;
	height: 100%;
	text-decoration: none;
}

.logo__img {
	width: auto;
	height: 100%;
	object-fit: contain;
}

.global-nav {
	margin-left: auto;
}

.global-nav__list {
	display: flex;
	height: 100%;
	text-align: center;
}

.global-nav__item {
	position: relative;
	height: 100%;
}

.global-nav__link,
.global-nav__search {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	height: 100%;
	padding: 0 var(--nav-pad);
	color: inherit;
	text-decoration: none;
	white-space: nowrap;
	transition: color .25s;
}

/* Curry-coloured underline that opens from the centre. */
.global-nav__link::after {
	content: "";
	position: absolute;
	right: var(--nav-pad);
	bottom: 18px;
	left: var(--nav-pad);
	display: block;
	height: 2px;
	border-radius: 1px;
	background: var(--color-accent);
	transform: scaleX(0);
	transition: transform .3s ease-out;
}

.global-nav__item:hover > .global-nav__link,
.global-nav__item.is-current > .global-nav__link {
	color: var(--color-main);
}

.global-nav__item:hover > .global-nav__link::after,
.global-nav__item.is-current > .global-nav__link::after {
	transform: scaleX(1);
}

.global-nav__label {
	position: relative;
	z-index: 1;
	display: block;
	font-size: 14px;
	line-height: 1;
}

.global-nav__note {
	position: relative;
	top: 4px;
	display: block;
	font-size: 10px;
	line-height: 1;
	opacity: .6;
}

.global-nav__search {
	border: 0;
	background: none;
	font-size: 20px;
}

.header-cart {
	display: flex;
	align-items: center;
	margin-left: 12px;
}

.header-cart__link {
	display: block;
	color: #000;
	font-size: 16px;
}

.header-button {
	width: var(--logo-size);
	height: var(--logo-size);
	text-align: center;
}

@media (min-width: 960px) {
	.site-header__inner,
	.sticky-header__inner {
		align-items: stretch;
	}

	.site-header__logo,
	.sticky-header__logo {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		margin-right: 24px;
		padding: 16px 0;
		line-height: 1;
	}

	.site-header__logo .logo {
		max-width: 400px;
		margin-right: 16px;
	}

	.sticky-header__logo .logo {
		height: var(--logo-size-sticky);
	}
}

@media (max-width: 1200px) {
	.global-nav__link {
		--nav-pad: 10px;
	}
}

@media (max-width: 1080px) {
	.global-nav__link {
		--nav-pad: 8px;
	}
}

@media (max-width: 959px) {
	.site-header {
		position: sticky;
		top: 0;
	}

	.site-header__inner {
		align-items: center;
		justify-content: flex-end;
		padding: 0;
	}

	.site-header__logo {
		margin-right: auto;
		padding: 0 2vw;
		line-height: 1;
	}

	.logo__link {
		padding: 10px 0;
	}

	.global-nav,
	.header-cart,
	.sticky-header {
		display: none;
	}
}

/* Header copy that slides in after scrolling (desktop only). */
.sticky-header {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 101;
	width: 100%;
	border-top: 3px solid var(--color-main);
	background: var(--color-header-bg);
	box-shadow: 0 2px 4px var(--color-shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(calc(var(--sticky-height) * -1));
}

.sticky-header.is-ready {
	transition: all .5s;
}

html.is-scrolled .sticky-header.is-ready {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

/* ------------------------------------------------------------------ */
/* Mobile menu                                                         */
/* ------------------------------------------------------------------ */
.drawer {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 101;
	width: 100%;
	height: 100%;
	color: var(--color-main);
}

html:not(.is-menu-open) .drawer {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0s 1s, visibility 0s 1s;
}

.drawer__overlay {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 0;
	width: 100%;
	height: 100%;
	background: #fff;
	opacity: .9;
	transition: opacity .5s, visibility .5s;
}

html:not(.is-menu-open) .drawer__overlay {
	opacity: 0;
	visibility: hidden;
}

.drawer__panel {
	position: absolute;
	top: 0;
	right: 0;
	z-index: 1;
	width: 88vw;
	height: 100%;
	padding-top: var(--logo-size);
	background: var(--color-drawer-bg);
	box-shadow: 0 0 8px var(--color-shadow);
	transform: translateX(88vw);
	transition: transform .45s ease-out;
}

html.is-menu-open .drawer__panel {
	transform: translateX(0);
}

.drawer__close {
	position: absolute;
	top: 0;
	right: 0;
	z-index: 1;
	width: var(--logo-size);
	height: var(--logo-size);
}

.drawer__close .icon-button {
	font-size: 20px;
}

.drawer__body {
	position: relative;
	height: 100%;
	padding: 0 4vw 10vw;
	overflow-y: scroll;
}

.drawer__title {
	position: relative;
	margin-bottom: 1.5em;
	padding: 0 0 .5em;
	font-size: 4vw;
	font-weight: 700;
	letter-spacing: .2em;
}

.drawer__title::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	display: block;
	width: 2.5em;
	height: 3px;
	border-radius: 2px;
	background: linear-gradient(90deg, var(--color-main) 50%, var(--color-accent) 50%);
}

.drawer__nav {
	margin-top: -1em;
	padding-bottom: .5em;
}

.drawer-nav {
	text-align: left;
}

.drawer-nav__note {
	margin-left: 8px;
	font-size: 10px;
	line-height: 1;
	opacity: .6;
}

.drawer__bottom {
	margin-top: 2em;
}

@media (min-width: 600px) {
	.drawer__title {
		font-size: 16px;
	}
}

@media (min-width: 960px) {
	.drawer {
		display: none;
	}
}

@media (max-width: 959px) {
	html.is-menu-open body {
		overflow-y: hidden;
		touch-action: none;
	}
}

/* Link lists with a chevron (mobile menu, sidebar). */
.drawer-nav a,
.side-nav a {
	position: relative;
	display: block;
	padding: .75em 1em .75em 1.5em;
	border-bottom: 1px solid var(--color-border);
	color: inherit;
	line-height: 1.4;
	text-decoration: none;
	transition: padding .25s;
}

.drawer-nav li:first-child > a {
	border-top: 0;
}

.drawer-nav a::before,
.side-nav a::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 4px;
	width: .4em;
	height: .4em;
	background: var(--color-accent);
	transform: translateY(-50%) rotate(45deg);
}

.drawer-nav a:hover,
.side-nav a:hover {
	padding-right: .75em;
	padding-left: 1.75em;
	background-color: var(--color-hover);
}

/* ------------------------------------------------------------------ */
/* Main visual (home)                                                  */
/* ------------------------------------------------------------------ */
.hero {
	position: relative;
	width: 100%;
	height: 20vh;
	overflow: hidden;
}

.hero__picture,
.hero__img,
.hero__link {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.hero__img {
	display: block;
	object-fit: cover;
}

.hero__link {
	z-index: 1;
}

.hero::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 2;
	height: 5px;
	background: linear-gradient(90deg, var(--color-main) 0 70%, var(--color-accent) 70%);
	pointer-events: none;
}

@media (min-width: 960px) {
	.hero {
		height: 20vw;
	}
}

/* ------------------------------------------------------------------ */
/* Breadcrumb                                                          */
/* ------------------------------------------------------------------ */
.breadcrumb {
	position: relative;
	padding: 8px 0;
	border-bottom: 1px solid var(--color-border);
	background: rgba(255, 255, 255, .55);
}

.breadcrumb__list {
	display: flex;
	align-items: center;
	gap: .5em;
	width: 100%;
	overflow: hidden;
	font-size: 10px;
}

.breadcrumb__item {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: .5em;
}

.breadcrumb__item::after {
	content: "";
	display: block;
	width: 1px;
	height: 1em;
	margin: 0 .25em;
	background-color: currentColor;
	opacity: .4;
	transform: rotate(20deg);
}

.breadcrumb__item:last-child::after {
	content: none;
}

.breadcrumb__link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: inherit;
	text-decoration: none;
	white-space: nowrap;
}

.breadcrumb__link:hover {
	opacity: .76;
}

.breadcrumb__current {
	opacity: .8;
	white-space: nowrap;
}

.breadcrumb__home {
	width: 1em;
	height: 1em;
}

@media (min-width: 600px) {
	.breadcrumb__list {
		font-size: 11px;
	}
}

/* ------------------------------------------------------------------ */
/* Content area                                                        */
/* ------------------------------------------------------------------ */
.content {
	position: relative;
	z-index: 1;
	margin: 0 auto 6em;
	padding-top: 2em;
}

.template-home .content {
	padding-top: 0;
}

.main {
	display: block;
	width: 100%;
	max-width: 1200px;
	margin-right: auto;
	margin-left: auto;
}

.main > :first-child {
	margin-top: 0 !important;
}

.main > :last-child {
	margin-bottom: 0 !important;
}

@media (min-width: 600px) {
	.content {
		padding-top: 4em;
	}

	body:not(.template-home) .main {
		padding: 2.5em 2em;
		border-radius: var(--radius-card);
		background: var(--color-card);
		box-shadow: var(--shadow-card);
	}

	.sidebar .widget {
		padding: 1.25em;
		border-radius: var(--radius-card);
		background: var(--color-card);
		box-shadow: var(--shadow-card);
	}
}

@media (min-width: 960px) {
	body:not(.template-home) .main {
		padding: 3em;
	}
}

.sidebar {
	position: relative;
	font-size: var(--fz-side);
}

.widget + .widget {
	margin-top: 2em;
}

@media (max-width: 959px) {
	.sidebar {
		margin-top: 4em;
	}
}

@media (min-width: 960px) {
	.has-sidebar .content {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
	}

	.has-sidebar .main {
		order: 2;
		width: calc(100% - var(--sidebar-width) - var(--sidebar-gap));
		max-width: 100%;
		margin: 0;
	}

	.has-sidebar .sidebar {
		order: 1;
		width: var(--sidebar-width);
	}

	.sidebar .widget + .widget {
		margin-top: 2.5em;
	}
}

/* Page titles */
.page-title,
.entry-title,
.related__title,
.entry-content > h2,
.entry-content > h3 {
	letter-spacing: .04em;
}

.page-title {
	position: relative;
	font-size: 1.3em;
	line-height: 1.4;
}

.page-title__inner {
	display: block;
	padding-top: .5em;
}

.page-title::after {
	content: "";
	display: block;
	width: 3em;
	height: 3px;
	margin-top: .6em;
	border-radius: 2px;
	background: linear-gradient(90deg, var(--color-main) 50%, var(--color-accent) 50%);
}

.page-title__sub {
	position: relative;
	top: -2px;
	margin-left: 1em;
	padding-block: 2px;
	font-size: 14px;
	font-style: italic;
	letter-spacing: 1px;
	opacity: .8;
}

.entry-title {
	width: 100%;
	font-size: 5vw;
	line-height: 1.4;
}

.entry-header {
	padding-bottom: 9px;
}

.title-404 {
	padding-top: 2em;
	font-size: 4.6vw;
	text-align: center;
}

@media (min-width: 600px) {
	.page-title {
		font-size: 1.5em;
	}

	.entry-title,
	.title-404 {
		font-size: 24px;
	}
}

.term-description {
	position: relative;
	margin-top: 3rem;
	border: 1px solid var(--color-border);
}

.term-description p {
	width: 100%;
	padding: 1.5em;
}

@media (min-width: 600px) {
	.term-description {
		display: flex;
	}
}

/* ------------------------------------------------------------------ */
/* Article body                                                        */
/* ------------------------------------------------------------------ */
.entry-content {
	margin: 4em 0;
	padding: 0 var(--pad-content);
	font-size: var(--fz-content);
	line-height: 1.8;
}

.entry-content > * {
	clear: both;
	margin-bottom: 2em;
}

.entry-content > :first-child,
.entry-content div > :first-child {
	margin-top: 0 !important;
}

.entry-content > :last-child,
.entry-content div > :last-child {
	margin-bottom: 0 !important;
}

.entry-content > h2,
.entry-content > h3,
.entry-content > h4 {
	position: relative;
	font-weight: 700;
	line-height: 1.4;
}

.entry-content > h2 {
	z-index: 1;
	margin: 4em var(--heading-bleed) 2em;
	font-size: 1.2em;
}

/* Underlined heading with a short curry-coloured segment at the start. */
.entry-content > h3 {
	margin: 3em 0 2em;
	padding: 0 0 .5em;
	border-bottom: 1px solid rgba(9, 81, 12, .25);
	color: var(--color-main);
	font-size: 1.1em;
}

.entry-content > h3::before {
	content: "";
	position: absolute;
	bottom: -2px;
	left: 0;
	display: block;
	width: 3em;
	height: 3px;
	background: var(--color-accent);
}

/* Heading led by a small diamond. */
.entry-content > h4 {
	margin: 3em 0 1.5em;
	padding-left: 1.1em;
	font-size: 1.05em;
}

.entry-content > h4::before {
	content: "";
	position: absolute;
	top: .475em;
	left: .1em;
	display: block;
	width: .45em;
	height: .45em;
	background: var(--color-accent);
	transform: rotate(45deg);
}

/* Centered section heading with a two-tone rule below. */
.entry-content > .section-title {
	padding: 0;
	border-bottom: 0;
	color: inherit;
	letter-spacing: .12em;
	text-align: center;
}

.entry-content > .section-title::before {
	content: none;
}

.entry-content > .section-title::after {
	content: "";
	display: block;
	width: 48px;
	height: 3px;
	margin: .75em auto 0;
	border-radius: 2px;
	background: linear-gradient(90deg, var(--color-main) 50%, var(--color-accent) 50%);
}

@media (min-width: 600px) {
	.entry-content > h2 {
		font-size: 1.4em;
	}

	.entry-content > h3 {
		font-size: 1.3em;
	}

	.entry-content > h4 {
		font-size: 1.2em;
	}
}

.marker {
	padding: 0;
}

.text-main {
	color: var(--color-main) !important;
}

.text-main a {
	color: inherit;
}

.entry-content :where(ul) {
	padding-left: 1.5em;
	list-style: disc;
}

.entry-content :where(ol) {
	padding-left: 1.5em;
	list-style: decimal;
}

.entry-content :where(li) {
	position: relative;
	margin: .25em 0;
	line-height: 1.5;
}

/* Horizontal rules */
.rule {
	margin: 2.5em auto;
	max-width: 100px;
	border: 0;
	border-bottom: 1px solid rgba(0, 0, 0, .1);
}

.entry-content > .rule {
	margin-bottom: 2.5em;
}

.rule--wide {
	max-width: none;
	margin-right: 0;
	margin-left: 0;
}

.rule--main {
	background-color: var(--color-main);
}

.spacer {
	clear: both;
}

/* Images */
.figure {
	text-align: center;
}

.figure img {
	vertical-align: bottom;
}

.figure figcaption {
	display: block;
	margin-top: .75em;
	font-size: .8em;
	line-height: 1.4;
	text-align: center;
	opacity: .8;
}

.figure > a {
	display: block;
	transition: opacity .25s;
}

.figure > a:hover {
	opacity: .8;
}

img.is-zoomable {
	cursor: zoom-in;
}

/* Image + text side by side (desktop only on this site) */
.media-text {
	display: grid;
	gap: 1.5rem;
	grid-template-columns: 50% 1fr;
}

.media-text__media {
	align-self: center;
	height: 100%;
	min-height: 250px;
	margin: 0;
	background-size: cover;
}

.media-text__media img {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}

.media-text__content {
	align-self: center;
	padding: 1.5rem 0;
	word-break: break-word;
}

.media-text__content > * {
	margin-bottom: 1em;
}

/* Tables */
.table-wrap {
	overflow-x: auto;
}

.table-wrap table {
	width: 100%;
	max-width: 100%;
	line-height: 1.6;
	text-align: left;
}

.table-wrap td {
	padding: .5em .75em;
	border: 1px solid #dcdcdc;
	vertical-align: top;
	word-break: break-all;
}

/* Accordion (native <details>) */
.accordion__item + .accordion__item {
	margin-top: .5em;
}

.accordion__title {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1em;
	border-left: 3px solid var(--color-main);
	border-radius: 0 var(--radius) var(--radius) 0;
	background: var(--color-main-soft);
	font-weight: 400;
	list-style: none;
	cursor: pointer;
}

.accordion__title::-webkit-details-marker {
	display: none;
}

.accordion__label {
	flex: 1 1 auto;
	padding-right: 1em;
	word-break: break-all;
}

.accordion__icon {
	position: relative;
	flex: 0 0 auto;
	width: 1em;
	font-size: 1.25em;
}

.accordion__icon .icon {
	transition: transform .25s, opacity .25s;
}

.accordion__icon-opened {
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0;
	transform: scale(.5) rotate(-180deg);
}

.accordion__item.is-open .accordion__icon-closed {
	opacity: 0;
	transform: scale(.5) rotate(180deg);
}

.accordion__item.is-open .accordion__icon-opened {
	opacity: 1;
	transform: none;
}

.accordion__body {
	padding: 1em;
	overflow: hidden;
	transition: padding .25s, opacity .25s;
}

.accordion__item:not(.is-open) > .accordion__body {
	padding-top: 0;
	padding-bottom: 0;
	opacity: 0;
}

.accordion__body > * {
	margin-bottom: 1em;
}

/* Row of pill-shaped anchor links */
.entry-content > .link-buttons {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .5em;
	margin-bottom: 6em;
	padding-left: 0;
	list-style: none;
}

.entry-content > .link-buttons + * {
	margin-top: 0 !important;
}

.link-buttons__item {
	margin: 0 !important;
}

.link-buttons__link {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: .25em;
	padding: .25em .75em;
	border: 1px solid var(--color-main);
	border-radius: var(--radius);
	background-color: var(--color-main);
	color: #fff;
	line-height: 1.4;
	text-align: center;
	text-decoration: none;
	transition: background-color .25s, color .25s;
}

.link-buttons__link:hover {
	background-color: transparent;
	color: var(--color-main);
}

.link-buttons__icon {
	margin-right: -.15em;
	font-size: 1.25em;
}

/* Call-to-action button */
.entry-content > .button {
	position: relative;
	display: block;
	margin: 0 auto 2em;
	text-align: center;
}

.button__link {
	position: relative;
	display: inline-block;
	min-width: 64%;
	padding: .75em 2.5em;
	border-radius: var(--radius);
	background: var(--color-main);
	box-shadow: 0 4px 0 var(--color-main-dark);
	color: #fff;
	font-weight: 700;
	letter-spacing: 1px;
	line-height: 1.5;
	text-decoration: none;
	transition: box-shadow .2s, transform .2s;
}

.button__link::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 1.25em;
	width: .5em;
	height: .5em;
	border-top: 2px solid var(--color-accent);
	border-right: 2px solid var(--color-accent);
	transform: translateY(-50%) rotate(45deg);
	transition: right .2s;
}

.button__link:hover {
	box-shadow: 0 1px 0 var(--color-main-dark);
	transform: translateY(3px);
}

.button__link:hover::after {
	right: 1em;
}

@media (min-width: 600px) {
	.button__link {
		min-width: 40%;
	}
}

.more-button {
	position: relative;
	display: block;
	margin: 0 auto 2em;
	padding: 2px 0;
	text-align: center;
}

.more-button a {
	position: relative;
	display: inline-block;
	min-width: 80%;
	padding: .75rem 3em;
	border-radius: var(--radius);
	background: #fff;
	box-shadow: 0 0 0 1px var(--color-main);
	color: var(--color-main);
	font-size: .9em;
	text-decoration: none;
	transition: box-shadow .25s, background-color .25s;
}

.more-button .icon {
	position: absolute;
	top: 50%;
	right: 1em;
	transform: translateY(-50%);
	transition: transform .25s;
}

.more-button a:hover {
	background-color: var(--color-main);
	box-shadow: none;
	color: #fff;
}

.more-button a:hover .icon {
	transform: translateX(4px) translateY(-50%);
}

@media (min-width: 600px) {
	.more-button a {
		min-width: 64%;
	}
}

/* ------------------------------------------------------------------ */
/* Post lists                                                          */
/* ------------------------------------------------------------------ */
.post-list {
	padding-left: 0 !important;
	list-style: none !important;
}

.post-list__item {
	margin: 0 !important;
}

.post-list__link {
	position: relative;
	display: block;
	color: inherit;
	text-decoration: none;
}

.post-list__thumb {
	position: relative;
	overflow: hidden;
	border-radius: var(--radius);
	box-shadow: var(--shadow-thumb);
}

.post-list__thumb::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
	background: #fff;
	opacity: 0;
	transition: opacity .25s;
}

.post-list__link:hover .post-list__thumb::before {
	opacity: .2;
}

.post-list__img {
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
	transition: transform .25s;
}

.post-list__link:hover .post-list__img {
	transform: scale(1.06);
}

.post-list__body {
	position: relative;
	transition: opacity .25s;
}

.post-list__title {
	display: block;
	margin: 0;
	padding: 0;
	color: inherit;
	font-weight: 700;
	line-height: 1.5;
}

/* Simple list (news on the home page) */
.post-list--simple {
	border-top: 1px solid var(--color-border);
}

.post-list--simple .post-list__link {
	padding: 1em .25em 1em .75em;
	border-bottom: 1px solid var(--color-border);
	box-shadow: inset 0 0 0 var(--color-accent);
	transition: background-color .25s, box-shadow .25s;
}

.post-list--simple .post-list__link:hover {
	background-color: var(--color-main-soft);
	box-shadow: inset 3px 0 0 var(--color-accent);
}

.post-list--simple .post-list__title {
	font-size: 1em;
}

.post-list__date {
	display: flex;
	align-items: center;
	margin: 0 0 4px;
	padding: 4px 0;
	font-size: 10px;
	line-height: 1.25;
	opacity: .8;
}

.post-list--simple .post-list__date {
	display: inline-flex;
	margin-bottom: 6px;
	padding: 3px 8px;
	border-radius: 100px;
	background: var(--color-main);
	color: #fff;
	opacity: 1;
}

.post-list--simple .post-list__date .icon {
	color: var(--color-accent);
}

.post-list__date .icon {
	position: relative;
	top: 0;
	margin-right: .325em;
}

@media (min-width: 600px) {
	.post-list__date {
		font-size: 11px;
	}
}

/* Rows with a thumbnail (archives, search) */
.archive-list,
#search-results {
	margin-top: 4em;
}

.post-list--rows .post-list__item {
	margin-bottom: 2em !important;
}

.post-list--rows .post-list__link {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
}

.post-list--rows .post-list__thumb {
	width: 36%;
	aspect-ratio: 1 / .61805;
}

.post-list--rows .post-list__body {
	width: 60%;
	padding-bottom: 7.5px;
}

.post-list--rows .post-list__title {
	font-size: 3.6vw;
}

.post-list__excerpt {
	margin-top: .5em;
	font-size: 3.4vw;
	line-height: 1.5;
}

.post-list--rows .post-list__item:hover .post-list__body,
.post-list--cards .post-list__item:hover .post-list__body {
	opacity: .75;
}

@media (min-width: 600px) {
	.post-list--rows .post-list__title {
		font-size: 16px;
	}

	.post-list__excerpt {
		font-size: 14px;
	}

	.post-list--rows .post-list__body {
		padding-bottom: 8.25px;
	}
}

/* Cards (related posts) */
.post-list--cards {
	display: flex;
	flex-wrap: wrap;
	margin-right: -.5em;
	margin-left: -.5em;
}

.post-list--cards .post-list__item {
	width: 50%;
	margin-bottom: 1.5em !important;
	padding: 0 .5em;
}

.post-list--cards .post-list__link {
	height: 100%;
	transition: transform .25s;
}

.post-list--cards .post-list__link:hover {
	transform: translateY(-4px);
}

.post-list--cards .post-list__thumb {
	width: 100%;
	aspect-ratio: 16 / 9;
}

.post-list--cards .post-list__body {
	padding-top: 1em;
}

.post-list--cards .post-list__title {
	font-size: 3.6vw;
}

@media (min-width: 600px) {
	.post-list--cards .post-list__item {
		width: 33.3333%;
	}

	.post-list--cards .post-list__title {
		font-size: 14px;
	}
}

@media (min-width: 1240px) {
	.post-list--cards .post-list__item {
		width: 25%;
	}
}

.pagination {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	margin: 3em 0 1em;
	font-size: 13px;
}

.pagination__current {
	display: block;
	min-width: 36px;
	height: 36px;
	margin: 6px;
	border-radius: var(--radius);
	background-color: var(--color-main);
	box-shadow: var(--shadow-box);
	color: #fff;
	font-size: 14px;
	line-height: 36px;
	text-align: center;
}

.archive-list .post-list {
	margin-bottom: 1em;
}

/* ------------------------------------------------------------------ */
/* Post footer: categories, related posts                             */
/* ------------------------------------------------------------------ */
.entry-footer {
	margin: 2em 0;
	padding-top: 2em;
	border-top: 1px dashed var(--color-border);
}

.entry-categories {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .5em;
	padding: 0 1px;
	color: var(--color-main);
	font-size: 12px;
}

.category-tag {
	display: block;
	padding: 4px .6em;
	border-radius: 3px;
	background-color: var(--color-main);
	color: #fff;
	line-height: 1;
	text-decoration: none;
	transition: box-shadow .25s;
}

.category-tag:hover {
	box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
}

.related {
	margin-top: 4em;
}

.related__title {
	position: relative;
	display: block;
	margin-bottom: 1.5em;
	padding-bottom: .4em;
	font-size: 4.5vw;
}

.related__title::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	display: block;
	width: 2.5em;
	height: 3px;
	border-radius: 2px;
	background: linear-gradient(90deg, var(--color-main) 50%, var(--color-accent) 50%);
}

@media (min-width: 600px) {
	.related {
		margin-top: 6em;
	}

	.related__title {
		font-size: 20px;
	}
}

/* ------------------------------------------------------------------ */
/* Search                                                              */
/* ------------------------------------------------------------------ */
.search-form {
	position: relative;
}

.search-form__input {
	width: 100%;
	padding: 4px 44px 4px 8px;
	border: 1px solid rgba(199, 199, 199, .5);
	border-radius: var(--radius);
	background-color: #fff;
	line-height: 2;
}

.search-form__submit {
	position: absolute;
	top: 0;
	right: 0;
	width: 40px;
	height: 100%;
	overflow: hidden;
	border: 1px solid rgba(199, 199, 199, .5);
	border-radius: 0 var(--radius) var(--radius) 0;
	background-color: var(--color-main);
	color: #fff;
	font-size: 20px;
	transition: opacity .25s;
}

.search-form__submit:hover {
	opacity: .8;
}

.search-form__submit .icon {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.search-page .search-form {
	margin: 1.5em 0 2.5em;
}

.search-modal {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 1000;
	width: 100%;
	height: 100%;
	transition: opacity .5s, visibility .5s;
}

.search-modal:not(.is-open) {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

.search-modal__overlay {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, .75);
}

.search-modal__inner {
	position: absolute;
	top: calc(50% + 16px);
	left: 50%;
	z-index: 1;
	width: 96%;
	max-width: 600px;
	padding: 1em;
	border-radius: calc(var(--radius) * 2);
	background: rgba(255, 255, 255, .1);
	transform: translate(-50%, -50%);
	transition: top .5s;
}

.search-modal.is-open .search-modal__inner {
	top: 50%;
}

.search-modal .search-form {
	border-radius: var(--radius);
	box-shadow: 0 0 4px rgba(255, 255, 255, .2);
}

.search-modal .search-form__input {
	font-size: 16px;
}

.search-modal__close {
	position: absolute;
	top: 100%;
	left: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: .25em;
	width: 100%;
	padding-top: .5em;
	border: 0;
	background: none;
	color: #fff;
	line-height: 2;
	text-shadow: 1px 1px 1px #000;
}

/* ------------------------------------------------------------------ */
/* Footer                                                              */
/* ------------------------------------------------------------------ */
.site-footer {
	position: relative;
	z-index: 0;
	padding-bottom: calc(env(safe-area-inset-bottom) * .5);
	background-color: var(--color-footer-bg);
	color: var(--color-footer-text);
}

.site-footer__widgets,
.site-footer__bottom {
	padding-top: 1em;
	padding-bottom: 1em;
}

.site-footer__logo {
	padding: 1em 0;
	text-align: center;
}

/* The logo artwork is green on white, so it sits on its own white tile. */
.site-footer__logo img {
	padding: 8px;
	border-radius: calc(var(--radius) * 2);
	background: #fff;
	vertical-align: bottom;
}

.footer-nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	padding: .5em 0 1em;
}

.footer-nav a {
	display: block;
	padding: .25em .5em;
	color: inherit;
	font-size: 3vw;
	text-decoration: none;
}

.footer-nav a:hover {
	text-decoration: underline;
}

.copyright {
	font-size: 12px;
	text-align: center;
	opacity: .75;
}

@media (min-width: 600px) {
	.footer-nav a {
		padding: 0 .75em;
		border-right: 1px solid rgba(255, 245, 229, .35);
		font-size: 13px;
	}

	.footer-nav li:first-child a {
		border-left: 1px solid rgba(255, 245, 229, .35);
	}
}

@media (min-width: 960px) {
	.site-footer {
		padding-bottom: 0;
	}

	.site-footer__logo {
		padding: 1em;
	}
}

/* ------------------------------------------------------------------ */
/* Page-top button                                                     */
/* ------------------------------------------------------------------ */
.page-top {
	position: fixed;
	right: 1em;
	bottom: 1.25em;
	z-index: 99;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	padding-bottom: calc(env(safe-area-inset-bottom) * .5);
	text-align: center;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-8px);
	transition: opacity .3s, transform .3s, visibility .3s;
}

html.is-scrolled .page-top {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.page-top__button {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	overflow: hidden;
	border: 0;
	border-radius: calc(var(--radius) * 2);
	background: var(--color-main);
	box-shadow: 0 3px 0 var(--color-main-dark);
	color: #fff;
	letter-spacing: .1em;
	line-height: 1;
	opacity: .85;
	transition: .25s;
}

.page-top__icon {
	font-size: 18px;
	color: var(--color-accent);
}

.page-top__label {
	display: block;
	margin-top: 2px;
	font-size: 9px;
	font-weight: 700;
	text-transform: uppercase;
}

@media (min-width: 960px) {
	.page-top {
		right: 2.5em;
		bottom: 2.5em;
		padding-bottom: 0;
	}

	.page-top__button:hover {
		box-shadow: 0 1px 0 var(--color-main-dark);
		opacity: 1;
		transform: translateY(2px);
	}
}

/* ------------------------------------------------------------------ */
/* Image lightbox                                                      */
/* ------------------------------------------------------------------ */
.lightbox {
	position: fixed;
	inset: 0;
	z-index: 999;
	display: none;
	background: rgba(0, 0, 0, .6);
}

.lightbox.is-open {
	display: block;
	animation: lightbox-fade .18s ease-out;
}

.lightbox.is-closing {
	animation: lightbox-fade .3s ease-in reverse;
}

.lightbox__inner {
	position: absolute;
	inset: 2.5%;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.lightbox__img {
	max-width: 100%;
	max-height: 100%;
	transition: opacity .12s ease-out;
}

.lightbox.is-loading .lightbox__img {
	opacity: 0;
}

.lightbox__close {
	position: absolute;
	top: 5px;
	right: 5px;
	width: 32px;
	height: 32px;
	border: 0;
	background: none;
	opacity: .3;
}

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

.lightbox__close::before,
.lightbox__close::after {
	content: "";
	position: absolute;
	top: 0;
	left: 15px;
	width: 2px;
	height: 33px;
	background-color: #fff;
}

.lightbox__close::before {
	transform: rotate(45deg);
}

.lightbox__close::after {
	transform: rotate(-45deg);
}

@media (max-width: 460px) {
	.lightbox__inner {
		overflow: auto;
	}

	.lightbox__img {
		max-width: 150vw;
		max-height: 88vh;
		margin: auto;
	}
}

@keyframes lightbox-fade {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

/* ------------------------------------------------------------------ */
/* Print                                                               */
/* ------------------------------------------------------------------ */
@media print {
	.breadcrumb,
	.site-header,
	.sticky-header,
	.site-footer,
	.sidebar,
	.entry-footer,
	.related,
	.page-top {
		display: none !important;
	}

	.main {
		width: 100% !important;
	}
}
