/* ==========================================================================
   The Gizmo Lab - static replica
   --------------------------------------------------------------------------
   A dependency-free recreation of https://thegizmolab.com, which ran
   WordPress 5.5.23 with the Twenty Twenty theme (v1.5) and a handful of
   Additional CSS rules.

   Contents
   01. Fonts
   02. Base / reset
   03. Forms and buttons
   04. Layout helpers and accessibility
   05. Site header
   06. Menu modal
   07. Entry header, featured media and content
   08. Columns and content boxes
   09. Footer
   10. Error page
   11. Print and reduced motion
   ========================================================================== */

/* 01. Fonts ---------------------------------------------------------------- */

@font-face {
	font-family: "Inter var";
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
	src: url("../fonts/inter/Inter-upright-var.woff2") format("woff2");
}

@font-face {
	font-family: "Inter var";
	font-weight: 100 900;
	font-style: italic;
	font-display: swap;
	src: url("../fonts/inter/Inter-italic-var.woff2") format("woff2");
}

/* 02. Base / reset --------------------------------------------------------- */

html {
	font-size: 62.5%; /* 1rem = 10px */
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

*,
*::before,
*::after {
	box-sizing: border-box;
	-webkit-font-smoothing: antialiased;
	word-break: break-word;
	word-wrap: break-word;
}

body {
	margin: 0;
	background: #f5efe0;
	color: #000;
	font-family: "Inter var", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, sans-serif;
	font-size: 1.8rem;
	letter-spacing: -0.015em;
	text-align: left;
}

h1,
h2,
h3,
h4,
h5,
h6,
.faux-heading {
	font-feature-settings: "lnum";
	font-variant-numeric: lining-nums;
	font-weight: 700;
	letter-spacing: -0.0415625em;
	line-height: 1.25;
	margin: 3.5rem 0 2rem;
}

h1,
.heading-size-1 {
	font-size: 3.6rem;
	font-weight: 800;
	line-height: 1.138888889;
}

h2,
.heading-size-2 {
	font-size: 3.2rem;
}

h3,
.heading-size-3 {
	font-size: 2.8rem;
}

h4,
.heading-size-4 {
	font-size: 2.4rem;
}

h5,
.heading-size-5 {
	font-size: 2.1rem;
}

h6,
.heading-size-6 {
	font-size: 1.6rem;
	letter-spacing: 0.03125em;
	text-transform: uppercase;
}

p {
	line-height: 1.5;
	margin: 0 0 1em 0;
}

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

ul,
ol {
	margin: 0 0 1em 0;
	padding: 0 0 0 2rem;
}

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

figure {
	margin: 0;
}

a {
	color: #cd2653;
	text-decoration: underline;
	transition: all 0.15s linear;
}

a:hover,
a:focus {
	text-decoration: none;
}

/* 03. Forms and buttons ---------------------------------------------------- */

input,
select,
textarea,
button {
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
}


/* 04. Layout helpers and accessibility ------------------------------------ */

.section-inner {
	margin-left: auto;
	margin-right: auto;
	max-width: 120rem;
	width: calc(100% - 4rem);
}

.section-inner.medium {
	max-width: 100rem;
}

.section-inner.thin {
	max-width: 58rem;
}

.reset-list-style {
	list-style: none;
	margin: 0;
	padding: 0;
}

.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;
}

.skip-link:focus {
	background: #fff;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto;
	clip-path: none;
	color: #cd2653;
	display: block;
	font-size: 1.6rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

:focus-visible {
	outline: 0.2rem solid #cd2653;
	outline-offset: 0.2rem;
}

/* 05. Site header ---------------------------------------------------------- */

#site-header {
	background: #fff;
	position: relative;
	z-index: 2;
}

.header-inner {
	margin-left: auto;
	margin-right: auto;
	max-width: 168rem;
	padding: 3.15rem 0;
	position: relative;
	width: calc(100% - 4rem);
}

.header-titles-wrapper {
	align-items: center;
	display: flex;
	justify-content: center;
	padding: 0 6.6rem;
	position: relative;
	text-align: center;
}

.site-title,
.site-description {
	margin: 0;
}

.site-title {
	font-size: 2.1rem;
	font-weight: 600;
	line-height: 1;
}

.site-title a {
	color: inherit;
	display: block;
	text-decoration: none;
}

.site-title a:hover,
.site-title a:focus {
	text-decoration: underline;
}

.site-description {
	margin-top: 1rem;
	color: #6d6d6d;
	display: none;
	font-size: 1.8rem;
	font-weight: 500;
	letter-spacing: -0.0311em;
}

.header-inner .toggle {
	-webkit-appearance: none;
	appearance: none;
	background: none;
	border: none;
	color: inherit;
	cursor: pointer;
	display: flex;
	font-family: inherit;
	padding: 0;
}

.header-inner .toggle svg {
	display: block;
}

.header-inner .toggle path {
	fill: currentColor;
}

.toggle-inner {
	align-items: center;
	display: flex;
	flex-direction: column;
	height: 2.3rem;
	justify-content: center;
	position: relative;
}

.toggle-icon {
	display: block;
	overflow: hidden;
}

.toggle-inner .toggle-text {
	color: #6d6d6d;
	font-size: 1rem;
	font-weight: 600;
	position: absolute;
	top: calc(100% + 0.5rem);
	white-space: nowrap;
}

.header-inner .toggle:focus .toggle-text,
.header-inner .toggle:hover .toggle-text {
	text-decoration: underline;
}

/* Mobile toggles */


.nav-toggle {
	bottom: 0;
	position: absolute;
	right: 0;
	top: 0;
	width: 6.6rem;
}

.nav-toggle .toggle-inner {
	padding-top: 0.8rem;
	width: 100%;
}

.nav-toggle .toggle-icon,
.nav-toggle svg {
	height: 0.8rem;
	width: 2.6rem;
}

.primary-menu-wrapper {
	display: none;
}


@media (min-width: 700px) {

	.site-description {
		display: block;
	}
}

@media (min-width: 1000px) {

	#site-header {
		z-index: 2;
	}

	.header-inner {
		align-items: center;
		display: flex;
		justify-content: space-between;
		padding: 2.8rem 0;
	}

	.header-titles-wrapper {
		justify-content: flex-start;
		margin-right: 4rem;
		max-width: 50%;
		padding: 0;
		text-align: left;
	}

	.header-titles {
		align-items: baseline;
		display: flex;
		flex-wrap: wrap;
		justify-content: flex-start;
		margin: -1rem 0 0 -2.4rem;
	}

	.header-titles .site-title,
	.header-titles .site-description {
		margin: 1rem 0 0 2.4rem;
	}

	.header-navigation-wrapper {
		align-items: center;
		display: flex;
	}

	.primary-menu-wrapper {
		display: block;
		width: 100%;
	}

	.mobile-nav-toggle {
		display: none !important;
	}

	.header-inner .toggle {
		height: 4.4rem;
		padding: 0 3rem;
		position: relative;
		top: auto;
		right: auto;
		bottom: auto;
		left: auto;
		width: auto;
	}


	ul.primary-menu {
		display: flex;
		flex-wrap: wrap;
		font-size: 1.8rem;
		font-weight: 500;
		justify-content: flex-end;
		letter-spacing: -0.0277em;
		margin: -0.8rem 0 0 -1.6rem;
	}

	.primary-menu li {
		font-size: inherit;
		line-height: 1.25;
		position: relative;
	}

	.primary-menu > li {
		margin: 0.8rem 0 0 1.6rem;
	}

	.primary-menu a {
		color: #cd2653;
		text-decoration: none;
	}

	.primary-menu a:hover,
	.primary-menu a:focus {
		text-decoration: underline;
	}

	.primary-menu li.current-menu-item > a {
		text-decoration: underline;
	}

	.primary-menu li.current-menu-item > a:hover,
	.primary-menu li.current-menu-item > a:focus {
		text-decoration: none;
	}
}

/* 06. Menu modal ----------------------------------------------------------- */

.menu-modal {
	background: #fff;
	bottom: 0;
	display: none;
	left: -99999rem;
	opacity: 0;
	overflow-x: hidden;
	overflow-y: auto;
	position: fixed;
	right: 99999rem;
	top: 0;
	transition: opacity 0.25s ease-in, left 0s 0.25s, right 0s 0.25s;
	z-index: 99;
}

.menu-modal.show-modal {
	display: flex;
}

.menu-modal.active {
	left: 0;
	opacity: 1;
	right: 0;
	transition: opacity 0.25s ease-out;
}

.menu-modal-inner {
	background: #fff;
	display: flex;
	justify-content: stretch;
	overflow: auto;
	width: 100%;
}

.menu-wrapper {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	position: relative;
}

.close-nav-toggle {
	align-items: center;
	background: none;
	border: none;
	color: inherit;
	cursor: pointer;
	display: flex;
	font-size: 1.6rem;
	font-weight: 500;
	justify-content: flex-end;
	padding: 3.1rem 0;
	width: 100%;
}

.close-nav-toggle .toggle-text {
	color: #6d6d6d;
	font-size: 1.6rem;
	font-weight: 500;
	margin-right: 1.6rem;
	position: static;
	top: auto;
}

.close-nav-toggle svg {
	height: 1.6rem;
	width: 1.6rem;
}

.menu-top {
	flex-shrink: 0;
}

.modal-menu {
	left: calc(50% - 50vw);
	list-style: none;
	margin: 0;
	padding: 0;
	position: relative;
	width: 100vw;
}

.modal-menu li {
	border-color: #dedfdf;
	border-style: solid;
	border-width: 0.1rem 0 0 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	line-height: 1;
	margin: 0;
}

.modal-menu > li:last-child {
	border-bottom-width: 0.1rem;
}

.modal-menu .ancestor-wrapper {
	display: flex;
	justify-content: space-between;
	width: 100%;
}

.modal-menu a {
	color: #cd2653;
	display: block;
	padding: 2rem 2.5rem;
	text-decoration: none;
	width: 100%;
}

.modal-menu > li > a,
.modal-menu > li > .ancestor-wrapper > a {
	font-size: 2rem;
	font-weight: 700;
	letter-spacing: -0.0375em;
}

.modal-menu a:focus,
.modal-menu a:hover,
.modal-menu li.current-menu-item > .ancestor-wrapper > a {
	text-decoration: underline;
}

.menu-bottom {
	padding: 6rem 0;
}

/* 07. Entry header, featured media and content ---------------------------- */

#site-content {
	overflow: hidden;
}

.entry-header {
	background: #fff;
	padding: 4rem 0;
}

.entry-header-inner {
	margin: 0 auto;
	max-width: 100rem;
	text-align: center;
	width: calc(100% - 4rem);
}

h1.entry-title {
	font-size: 3.6rem;
	font-weight: 800;
	letter-spacing: -0.0415625em;
	line-height: 1.138888889;
	margin: 0;
}

.entry-title a {
	color: inherit;
	text-decoration: none;
}

.entry-title a:hover,
.entry-title a:focus {
	text-decoration: underline;
}

.featured-media {
	margin-top: 5rem;
	position: relative;
}

.singular .featured-media {
	margin-top: 0;
}

.singular .featured-media-inner {
	left: calc(50% - 50vw);
	position: relative;
	width: 100vw;
}

.singular .featured-media::before {
	background: #fff;
	bottom: 50%;
	content: "";
	display: block;
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
}

.featured-media-inner {
	margin: 0 auto;
	max-width: 120rem;
	width: calc(100% - 4rem);
}

.featured-media img {
	display: block;
	height: auto;
	margin: 0 auto;
	max-width: 100%;
}

.post-inner {
	padding-top: 5rem;
}

.entry-content {
	font-family: "Hoefler Text", Garamond, "Times New Roman", serif;
	letter-spacing: normal;
	line-height: 1.5;
}

.entry-content > * {
	margin-bottom: 1.25em;
	margin-left: auto;
	margin-right: auto;
	max-width: 58rem;
	width: calc(100% - 4rem);
}

body.template-full-width .entry-content > * {
	max-width: 120rem;
}

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

.entry-content > *:last-child {
	margin-bottom: 0;
}

.entry-content p,
.entry-content li {
	line-height: 1.4;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
	font-family: "Inter var", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, sans-serif;
	letter-spacing: -0.0415625em;
}

/* The original site hides page titles with Additional CSS. */

.page .entry-header {
	display: none;
}

/* Post categories and meta ------------------------------------------------ */

.entry-categories {
	line-height: 1.25;
	margin-bottom: 2rem;
}

.entry-categories-inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin: -0.5rem 0 0 -1rem;
}

.entry-categories a {
	border-bottom: 0.15rem solid currentColor;
	color: #6d6d6d;
	font-size: 1.4rem;
	font-weight: 700;
	letter-spacing: 0.036666667em;
	margin: 0.5rem 0 0 1rem;
	text-decoration: none;
	text-transform: uppercase;
}

.entry-categories a:focus,
.entry-categories a:hover {
	border-bottom-color: transparent;
}

h1.entry-title,
h2.entry-title {
	margin: 0;
}

.post-meta-wrapper {
	margin: 2rem auto 0;
	max-width: 58rem;
	width: 100%;
}

.post-meta {
	color: #6d6d6d;
	display: flex;
	flex-wrap: wrap;
	font-size: 1.5rem;
	font-weight: 500;
	list-style: none;
	margin: -1rem 0 0 -2rem;
	padding: 0;
}

.post-meta li {
	flex-shrink: 0;
	letter-spacing: -0.016875em;
	margin: 1rem 0 0 2rem;
	max-width: calc(100% - 2rem);
}

.post-meta a {
	color: inherit;
	text-decoration: none;
}

.post-meta a:focus,
.post-meta a:hover {
	text-decoration: underline;
}

.post-meta .meta-wrapper {
	align-items: center;
	display: flex;
	flex-wrap: nowrap;
}

.post-meta .meta-icon {
	flex-shrink: 0;
	margin-right: 1rem;
}

.post-meta .meta-icon svg {
	display: block;
}

.post-meta svg * {
	fill: currentColor;
}

/* 08. Columns and content boxes ------------------------------------------- */

.wp-block-columns {
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 1.25em;
}

.wp-block-column {
	flex-basis: 0;
	flex-grow: 1;
	min-width: 0;
}

.wp-block-column + .wp-block-column {
	margin-left: 2em;
}

.wp-block-column > *:first-child {
	margin-top: 0;
}

.wp-block-column > *:last-child {
	margin-bottom: 0;
}

@media (max-width: 899px) {

	.wp-block-columns {
		flex-wrap: wrap;
	}

	.wp-block-column {
		flex-basis: 100%;
		margin-bottom: 2em;
		margin-left: 0 !important;
	}

	.wp-block-column:last-child {
		margin-bottom: 0;
	}
}

/* Additional CSS from the original site */

.content-box-blue,
.content-box-gray,
.content-box-grey,
.content-box-army,
.content-box-green,
.content-box-purple,
.content-box-red,
.content-box-yellow {
	margin: 0 0 25px;
	overflow: hidden;
	padding: 20px;
	color: #919191;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-style: italic;
	font-size: 18px;
}

.content-box-blue {
	background-color: #f0f8ff;
	border-left: 8px solid #cee1ef;
	font-size: 18px;
}

.content-box-gray {
	background-color: #e2e2e2;
	border-left: 8px solid #bdbdbd;
	font-size: 18px;
}

.content-box-grey {
	background-color: #f5f5f5;
	border-left: 8px solid #dddddd;
	font-size: 18px;
}

.content-box-army {
	background-color: #737a36;
	border: 1px solid #000;
}

.content-box-green {
	background-color: #d9edc2;
	border: 1px solid #b2ce96;
}

.content-box-purple {
	background-color: #e2e2f9;
	border: 1px solid #bebde9;
}

.content-box-red {
	background-color: #f9dbdb;
	border-left: 8px solid #d95762;
	font-size: 18px;
}

.content-box-yellow {
	background-color: #fef5c4;
	border-left: 8px solid #fadf98;
}

/* 09. Footer -------------------------------------------------------------- */

#site-footer {
	background-color: #fff;
	border-top: 0.1rem solid #dedfdf;
	font-size: 1.6rem;
	margin-top: 5rem;
	padding: 3rem 0;
}

#site-footer .section-inner {
	align-items: baseline;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 2rem;
	justify-content: space-between;
}

#site-footer a {
	text-decoration: none;
}

#site-footer a:focus,
#site-footer a:hover {
	text-decoration: underline;
}

.footer-copyright {
	font-weight: 600;
	margin: 0;
}

.footer-copyright a {
	color: inherit;
}

.to-the-top {
	color: #6d6d6d;
}

a.to-the-top > * {
	pointer-events: none;
}

.to-the-top-long {
	display: none;
}

.arrow {
	display: inline-block;
}

@media (min-width: 1000px) {

	#site-footer {
		margin-top: 8rem;
	}

	.to-the-top-short {
		display: none;
	}

	.to-the-top-long {
		display: inline;
	}
}

/* Lock the page behind the open menu. */

body.showing-menu-modal {
	overflow: hidden;
}

/* 10. Error page ---------------------------------------------------------- */

.error404 #site-content {
	padding-top: 5rem;
}

.error404-content {
	margin: 0 auto;
	max-width: 58rem;
	padding-bottom: 5rem;
	text-align: center;
	width: calc(100% - 4rem);
}

.error404-content .entry-title {
	margin: 0 0 2rem;
}

.error404-content .intro-text p {
	margin: 0;
}

.error404-home-link {
	margin: 3rem 0 0;
}

.error404-home-link a {
	color: #cd2653;
	font-weight: 600;
}

/* Without JavaScript the menu button cannot work, so show the links inline. */

.no-js .nav-toggle {
	display: none !important;
}

.no-js .primary-menu-wrapper {
	display: block;
}

.no-js .primary-menu {
	display: flex;
	flex-wrap: wrap;
	font-size: 1.8rem;
	font-weight: 500;
	gap: 1rem 2.4rem;
	justify-content: center;
	margin: 2rem 0 0;
}

.no-js .primary-menu a {
	color: #cd2653;
	text-decoration: none;
}

.no-js .primary-menu a:focus,
.no-js .primary-menu a:hover {
	text-decoration: underline;
}

@media (min-width: 1000px) {

	.error404 #site-content {
		padding-top: 8rem;
	}
}

/* Comfortable tap targets on touch screens. */

@media (any-pointer: coarse) {

	.to-the-top {
		display: inline-block;
		padding: 1rem 0;
	}
}

/* Print ------------------------------------------------------------------- */

@media print {

	.menu-modal,
	.to-the-top,
	#site-header .toggle {
		display: none !important;
	}

	body {
		background: #fff;
		color: #000;
	}

	a {
		color: #000;
	}
}

/* Reduced motion ---------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}