/*
Theme Name: Hey Tuesday
Theme URI: https://heytuesday.co
Author: Built by PXL
Description: Custom block theme for Hey Tuesday. A like-for-like rebuild of the Shopkeeper/WPBakery/Revolution Slider site using core blocks.
Version: 1.3.0
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hey-tuesday
*/

/*
 * Measurements below were taken from the previous Shopkeeper build so the
 * rebuild renders like for like. Breakpoints follow the old Foundation grid:
 *   small  <= 640px, medium 641-1023px, large >= 1024px.
 */

/* =========================================================================
 * Base
 * ====================================================================== */

html body {
	--ht-header-h: 164px;
	--ht-header-h-sticky: 63px;
	--ht-offcanvas-w: 270px;
	overflow-wrap: break-word; /* as Shopkeeper: long words (e.g. tag titles) break instead of overflowing */
	-webkit-font-smoothing: antialiased;
}

/* The side menu was 320px wide on tablets. */
@media (min-width: 641px) {
	html body {
		--ht-offcanvas-w: 320px;
	}
}

@media (max-width: 640px) {
	html body {
		--wp--style--root--padding-left: 30px;
		--wp--style--root--padding-right: 30px;
	}
}

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

.has-text-align-justify {
	text-align: justify;
}

.screen-reader-text:not(:focus) {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* Font Awesome 4 / revicons glyphs, drawn with CSS masks. */
.ht-icon {
	display: inline-block;
	vertical-align: middle;
	background-color: currentColor;
	-webkit-mask: var(--ht-icon) no-repeat center / contain;
	mask: var(--ht-icon) no-repeat center / contain;
}

.ht-icon--search { --ht-icon: url(assets/icons/search.svg); aspect-ratio: 1664 / 1792; }
.ht-icon--bars { --ht-icon: url(assets/icons/bars.svg); aspect-ratio: 1536 / 1792; }
.ht-icon--chevron-left { --ht-icon: url(assets/icons/chevron-left.svg); aspect-ratio: 1280 / 1792; }
.ht-icon--chevron-right { --ht-icon: url(assets/icons/chevron-right.svg); aspect-ratio: 1280 / 1792; }
.ht-icon--rev-left { --ht-icon: url(assets/icons/rev-left.svg); aspect-ratio: 513 / 1000; }
.ht-icon--rev-right { --ht-icon: url(assets/icons/rev-right.svg); aspect-ratio: 514 / 1000; }

/* =========================================================================
 * Header
 * ====================================================================== */

.site-header {
	position: relative;
	z-index: 8888;
	padding: 10px 20px;
	color: #fff;
	background-color: #333;
	transition: all 0.3s linear;
}

@media (min-width: 641px) {
	.site-header {
		padding: 15px 20px;
	}
}

/* Fixed row heights as before: 120px (desktop), 33px (sticky + small screens). */
.site-header__inner {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	height: 33px;
	transition: height 0.3s linear;
}

/* Logo: Shopkeeper showed the full 1920x1080 artwork at 213x120, and swapped
 * to the lightning bolt in the sticky bar and below 1024px. */
.site-header .wp-block-site-logo {
	flex: none;
	margin: 0 25px 0 0;
	line-height: 0;
}

.site-header .custom-logo-link {
	display: block;
	background: url(assets/images/logo-sticky.png) no-repeat center / contain;
	background-size: 0 0;
}

.site-header .custom-logo {
	display: block;
	width: auto !important;
	height: 33px !important;
	opacity: 0;
	transition: height 0.3s, opacity 0s;
}

.site-header .custom-logo-link {
	background-size: contain;
}

/* Desktop menu (hidden until large screens). */
.site-header__nav {
	display: none !important;
}

/* Old menu items were inline-blocks: ~4px of whitespace between them. */
.site-header__nav .wp-block-navigation__container {
	gap: 0 4px;
}

.site-header__nav .wp-block-navigation-item__content {
	display: block;
	padding: 10px 15px;
	font-family: Poppins, sans-serif;
	font-size: 15px;
	font-weight: 700;
	line-height: 15px;
	text-transform: uppercase;
	color: inherit !important;
	transition: opacity 0.3s;
}

.site-header__nav .wp-block-navigation-item:hover > .wp-block-navigation-item__content {
	opacity: 0.6;
}

/* Tools (search + mobile menu buttons are injected by assets/js/theme.js). */
.site-header__inner .site-tools {
	display: flex;
	align-items: center;
	margin: 0 -8px 0 auto;
}

.site-tools button {
	display: flex;
	align-items: center;
	padding: 0;
	font: inherit;
	color: inherit;
	background: none;
	border: 0;
	cursor: pointer;
	transition: opacity 0.3s;
}

.site-tools button:hover {
	opacity: 0.6;
}

.ht-search-toggle {
	display: none !important;
	justify-content: center;
	width: 32px;
	height: 33px;
}

.ht-search-toggle .ht-icon {
	height: 20px;
}

.ht-menu-toggle {
	margin: 0 0 0 5px;
	padding: 0 10px 0 2px !important;
}

.ht-menu-toggle__text {
	margin-right: 10px;
	padding: 1px 0 2px 11px;
	font-family: Yantramanav, sans-serif;
	font-size: 12px;
	font-weight: 700;
	line-height: 15px;
	text-transform: uppercase;
	border-left: 1px solid #ddd;
}

.ht-menu-toggle .ht-icon {
	height: 14px;
}

/* Below 1024px the menu button replaced the navigation. */
@media (max-width: 1023px) {
	.site-header__inner .site-tools {
		margin-right: 2px;
	}

	.ht-menu-toggle__text {
		position: relative;
		top: 2px;
	}
}

/* Phones: the bolt sat 10px from the edge and the menu button 22px. */
@media (max-width: 640px) {
	.site-header .wp-block-site-logo {
		margin-left: -10px;
	}
}

/* Tablets: a 14px label and an 18px icon centred in a 32px box, 12px from the edge. */
@media (min-width: 641px) and (max-width: 1023px) {
	.site-header__inner .site-tools {
		margin-right: -8px;
	}

	.ht-menu-toggle {
		padding: 0 !important;
	}

	.ht-menu-toggle__text {
		margin-right: 0;
		padding: 2px 0 2px 12px;
		font-size: 14px;
	}

	.ht-menu-toggle .ht-icon {
		height: 18px;
		margin: 0 8.285px;
	}
}

@media (min-width: 1024px) {
	body:not(.editor-styles-wrapper) .site-header {
		position: fixed;
		top: var(--wp-admin--admin-bar--height, 0px);
		right: 0;
		left: 0;
		padding: 22px 20px;
		color: #ccc;
		background-color: transparent;
	}

	.site-header__inner {
		height: 120px;
	}

	.is-scrolled .site-header__inner {
		height: 33px;
	}

	.site-header .custom-logo {
		height: 120px !important;
		opacity: 1;
	}

	.site-header .custom-logo-link {
		background-size: 0 0;
	}

	.site-header__nav {
		display: flex !important;
	}

	.home .site-header__nav .wp-block-navigation-item__content {
		color: #fff !important;
	}

	.ht-search-toggle {
		display: flex !important;
	}

	.ht-menu-toggle {
		display: none !important;
	}

	.site-header__inner .site-tools {
		margin-left: auto;
		padding-left: 35px;
	}

	/* Sticky bar once the page scrolls (class set by theme.js). */
	html.is-scrolled body:not(.editor-styles-wrapper) .site-header {
		padding: 15px 20px;
		color: #fff;
		background-color: #333;
	}

	.is-scrolled .site-header__nav .wp-block-navigation-item__content {
		color: #fff !important;
	}

	.is-scrolled .site-header .custom-logo {
		height: 33px !important;
		opacity: 0;
	}

	.is-scrolled .site-header .custom-logo-link {
		background-size: contain;
	}
}

html:not(.js) .site-header__nav {
	display: flex !important;
	flex-wrap: wrap;
}

/* =========================================================================
 * Search overlay (desktop) and off-canvas menu (mobile/tablet)
 * ====================================================================== */

.ht-search-overlay {
	position: fixed;
	inset: 0;
	z-index: 99999;
	visibility: hidden;
	background: rgb(255 255 255 / 0.95);
	opacity: 0;
	transition: opacity 0.3s, visibility 0s 0.3s;
}

.ht-search-overlay.is-open {
	visibility: visible;
	opacity: 1;
	transition: opacity 0.3s;
}

.ht-search-overlay form {
	position: fixed;
	top: 50%;
	left: 50%;
	width: 50%;
	margin: -25px 0 0 -25%;
}

.ht-search-overlay input[type="search"] {
	box-sizing: border-box;
	width: 100%;
	height: 52px;
	padding: 6px 50px 6px 15px;
	font-family: Yantramanav, sans-serif;
	font-size: 30px;
	font-weight: 900;
	color: #000;
	background: transparent;
	border: 0;
	border-bottom: 1px solid #ddd;
	border-radius: 0;
	outline: 0;
	-webkit-appearance: none;
	appearance: none;
}

.ht-search-overlay input[type="search"]::placeholder {
	color: #999;
}

.ht-search-overlay button {
	position: absolute;
	top: 50%;
	right: 15px;
	padding: 0;
	color: #000;
	background: none;
	border: 0;
	cursor: pointer;
	transform: translateY(-50%);
}

.ht-search-overlay button .ht-icon {
	height: 26px;
}

.wp-site-blocks {
	transition: transform 0.5s;
}

.ht-menu-open .wp-site-blocks {
	transform: translateX(calc(var(--ht-offcanvas-w) * -1));
}

.ht-offcanvas {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 9000;
	width: var(--ht-offcanvas-w);
	overflow-y: auto;
	visibility: hidden;
	background: #fff;
	transform: translateX(100%);
	transition: transform 0.5s, visibility 0s 0.5s;
}

.ht-menu-open .ht-offcanvas {
	visibility: visible;
	transform: none;
	transition: transform 0.5s;
}

.ht-offcanvas__backdrop {
	position: fixed;
	inset: 0;
	z-index: 8999;
	visibility: hidden;
	background: rgb(0 0 0 / 0.3);
	opacity: 0;
	transition: opacity 0.5s, visibility 0s 0.5s;
}

.ht-menu-open .ht-offcanvas__backdrop {
	visibility: visible;
	opacity: 1;
	transition: opacity 0.5s;
}

.ht-offcanvas form {
	position: relative;
	border-top: 1px solid rgb(84 84 84 / 0.15);
	border-bottom: 1px solid rgb(84 84 84 / 0.15);
}

.ht-offcanvas input[type="search"] {
	box-sizing: border-box;
	width: 100%;
	padding: 13px 60px 14px 24px;
	font-family: Yantramanav, sans-serif;
	font-size: 18px;
	font-weight: 700;
	color: #000;
	background: #fff;
	border: 0;
	border-bottom: 1px solid #e5e5e5;
	border-radius: 0;
	outline: 0;
	-webkit-appearance: none;
	appearance: none;
}

.ht-offcanvas input[type="search"]::placeholder {
	color: #a3a3a3;
}

.ht-offcanvas form button {
	position: absolute;
	top: 50%;
	right: 24px;
	padding: 0;
	color: #a3a3a3;
	background: none;
	border: 0;
	transform: translateY(-50%);
}

.ht-offcanvas form button .ht-icon {
	height: 16px;
}

.ht-offcanvas nav {
	padding: 23px 0;
	border-bottom: 1px solid #e5e5e5;
}

/* Shopkeeper's (empty) language/currency strip under the menu. */
.ht-offcanvas__extra {
	height: 57px;
	border-bottom: 1px solid #e5e5e5;
}

.ht-offcanvas nav ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ht-offcanvas nav a {
	display: inline-block;
	padding: 8px 24px;
	font-family: Poppins, sans-serif;
	font-size: 13px;
	font-weight: 700;
	line-height: 19.5px;
	text-transform: uppercase;
	color: #a3a3a3;
	transition: color 0.3s;
}

.ht-offcanvas nav a:hover,
.ht-offcanvas nav a:focus-visible {
	color: #000;
}

/* =========================================================================
 * Main + page titles
 * ====================================================================== */

/* 58px: the old pages ended with an empty .entry-meta carrying margin-top: 58px. */
.site-main {
	padding-top: 85px;
	padding-bottom: 58px;
}

@media (min-width: 1024px) {
	.site-main {
		padding-top: calc(var(--ht-header-h) + 85px);
	}
}

.site-main.home-main {
	padding-top: 0;
	padding-bottom: 0;
}

body .site-main .page-title {
	max-width: none;
	margin: -3.9px auto 15px !important;
	font-family: Poppins, sans-serif;
	font-size: 30px;
	font-weight: 900;
	line-height: 40px;
	text-align: center;
	text-transform: capitalize;
	color: #000;
}

.site-main .page-title::after {
	content: "";
	display: block;
	width: 90px;
	height: 2px;
	margin: 23px auto 21px;
	background: #000;
}

.site-main .page-title.no-rule::after {
	display: none;
}

@media (min-width: 641px) {
	body .site-main .page-title {
		margin: -6.5px auto 28px !important;
		font-size: 50px;
		line-height: 50px;
	}

	.site-main .page-title::after {
		width: 100px;
		height: 3px;
		margin: 32px auto;
	}
}

@media (min-width: 1024px) {
	body .site-main .page-title {
		margin: -13px auto 28px !important;
		font-size: 100px;
		line-height: 100px;
	}
}

/*
 * Old Foundation grid: rows grow to 1700px inside 50px gutters; columns pad 10px.
 * Plain content therefore spans min(viewport - 120px, 1680px) (theme.json contentSize)
 * and WPBakery rows inset it by a further 5px each side (1670px max).
 * Column fractions are expressed against that content box (100% below):
 *   width = fraction x (min(100%, 1680px) + 20px) - 20px
 */
body.vc-layout .entry-content.has-global-padding {
	--wp--style--global--content-size: 1670px;
	padding-right: calc(var(--wp--style--root--padding-right) + 5px);
	padding-left: calc(var(--wp--style--root--padding-left) + 5px);
}

:root {
	--ht-col-12-12: min(100%, 1680px);
	--ht-col-11-12: calc(0.916667 * (min(100%, 1680px) + 20px) - 20px);
	--ht-col-10-12: calc(0.833333 * (min(100%, 1680px) + 20px) - 20px);
	--ht-col-9-12: calc(0.75 * (min(100%, 1680px) + 20px) - 20px);
	--ht-col-8-12: calc(0.666667 * (min(100%, 1680px) + 20px) - 20px);
	--ht-col-6-12: calc(0.5 * (min(100%, 1680px) + 20px) - 20px);
}

/* Page titles: large-10. Blog title and category list: xlarge-8 large-10. */
@media (min-width: 1024px) {
	body .site-main .page-title,
	body .site-main.blog-main .list_categories {
		max-width: var(--ht-col-10-12);
	}
}

@media (min-width: 1280px) {
	body .site-main.blog-main .page-title,
	body .site-main.blog-main .list_categories {
		max-width: var(--ht-col-8-12);
	}
}

/* Blog grid column: xxlarge-10 xlarge-11 large-12, widened by the container's -1.5% gutters. */
@media (min-width: 1280px) {
	body .site-main.blog-main .blog-isotope {
		--iso-w: calc(var(--ht-col-11-12) * 1.03);
	}
}

@media (min-width: 1600px) {
	body .site-main.blog-main .blog-isotope {
		--iso-w: calc(var(--ht-col-10-12) * 1.03);
	}
}

/* Single post: header xxlarge-6 xlarge-8 large-12; body xxlarge-6 xlarge-8 large-10; nav xlarge-8 large-10. */
body .single-post-header {
	padding-right: 60px;
	padding-left: 60px;
}

body .single-post-header .wp-block-cover__inner-container {
	--wp--style--global--content-size: 100%;
	max-width: 1680px;
	padding-right: 0;
	padding-left: 0;
	margin-right: auto;
	margin-left: auto;
}

body .single-main {
	--wp--style--global--content-size: 100%;
}

@media (min-width: 1024px) {
	body .single-main {
		--wp--style--global--content-size: var(--ht-col-10-12);
	}
}

@media (min-width: 1280px) {
	body .single-post-header .wp-block-cover__inner-container,
	body .single-main {
		--wp--style--global--content-size: var(--ht-col-8-12);
	}
}

@media (min-width: 1600px) {
	body .single-post-header .wp-block-cover__inner-container,
	body .single-main {
		--wp--style--global--content-size: var(--ht-col-6-12);
	}

	body .single-main > .post-navigation {
		max-width: var(--ht-col-8-12) !important;
	}
}

@media (max-width: 640px) {
	body .single-post-header {
		padding-right: 30px;
		padding-left: 30px;
	}
}

/* =========================================================================
 * Content: replicates WPBakery's spacing model (elements carry a bottom
 * margin; text inside a "Text Block" is grouped in .vc-text).
 * ====================================================================== */

body .entry-content.entry-content p {
	margin: 0 0 20px;
}

/* The empty paragraph wpautop wrapped around a lone <!--more--> (see the migration converter). */
body .entry-content.entry-content .wp-block-spacer.ht-more-gap {
	margin: 0 0 20px;
}

@media (max-width: 640px) {
	body .entry-content.entry-content .wp-block-spacer.ht-more-gap {
		margin-bottom: 10px;
	}
}

body .entry-content.entry-content :is(h1, h2, h3, h4, h5, h6) {
	margin-top: 8px;
	margin-bottom: 8px;
}

body .entry-content.entry-content h1 {
	margin-top: -6.5px;
}

/* The negative offset was WPBakery's; headings in classic posts kept the plain 8px. */
body .entry-content.entry-content.blog-single h1 {
	margin-top: 8px;
}

body .entry-content.entry-content :is(ul, ol).wp-block-list {
	margin-top: 15.75px;
	margin-bottom: 15.75px;
	padding-left: 39.375px;
}

body .entry-content.entry-content li {
	margin: 0;
}

body .entry-content.entry-content .vc-text {
	margin-top: 0;
	margin-bottom: 35px;
}

/* A text block that opens a WPBakery row: the row clearfix kept its heading margin inside. */
body .entry-content.entry-content .vc-text.vc-row-start {
	display: flow-root;
}

body .entry-content.entry-content .vc-text > :last-child,
body .entry-content.entry-content .vc-mb-0 {
	margin-bottom: 0;
}

body .entry-content.entry-content .vc-mt-8 {
	margin-top: 8px;
}

body .entry-content.entry-content .wp-block-image {
	margin-top: 0;
	margin-bottom: 1em;
}

/* WPBakery single images carried the 35px element spacing. */
body.vc-layout .entry-content.entry-content .wp-block-image {
	margin-bottom: 35px;
}

/* …except as the last item of a text block (WPBakery's :last-child reset). */
body.vc-layout .entry-content.entry-content .vc-text > :last-child,
body.vc-layout .entry-content.entry-content .vc-mb-0 {
	margin-bottom: 0;
}

body .entry-content.entry-content .wp-block-image img {
	vertical-align: bottom;
}

body .entry-content.entry-content .wp-block-buttons {
	margin-top: 0;
	margin-bottom: 21.74px;
}

/* WPBakery columns had no gap when stacked; spacing came from element margins. */
body .entry-content.entry-content .wp-block-columns {
	row-gap: 0;
	margin-top: 0;
	margin-bottom: 0;
}

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

body .entry-content.entry-content .wp-block-gallery:not(.is-style-slideshow) {
	--wp--style--gallery-gap-default: 15px;
	gap: 15px;
	margin-top: 0;
	margin-bottom: 35px;
}

.entry-content strong,
.entry-content b {
	font-weight: 700;
}

/* Plain separators rendered as Foundation's <hr>: 1px #ddd rule, 20px above, 19px below. */
body .entry-content.entry-content .wp-block-separator:not(.is-style-narrow):not(.is-style-broad) {
	clear: both;
	width: auto;
	height: 0;
	margin: 20px 0 19px;
	border: 0;
	border-top: 1px solid #ddd;
	opacity: 1;
}

/* Separators (WPBakery "turquoise" separators). */
body .entry-content.entry-content .wp-block-separator.is-style-narrow,
body .entry-content.entry-content .wp-block-separator.is-style-broad {
	height: 0;
	margin-top: 1px;
	margin-bottom: 34px;
	border: 0;
	border-top: 2px solid #00c1cf;
	opacity: 1;
}

.wp-block-separator.is-style-narrow {
	width: 60%;
}

.wp-block-separator.is-style-broad {
	width: 80%;
}

body .entry-content.entry-content .wp-block-separator.is-style-broad {
	margin-bottom: 31px;
	border-top-width: 5px;
}

/* Buttons: WPBakery "modern" style (subtle top gloss) and "flat". */
.wp-block-button__link {
	background-image: linear-gradient(to bottom, rgb(255 255 255 / 0.2) 0, rgb(255 255 255 / 0.01) 100%);
	background-repeat: repeat-x;
	transition: all 0.2s ease-in-out;
}

.wp-block-button.is-style-flat .wp-block-button__link {
	background-image: none;
}

.wp-block-button__link.has-info-background-color:hover,
.wp-block-button__link.has-info-background-color:focus {
	color: #f7f7f7 !important;
	background-color: #3fafd4 !important;
}

/* Custom headings that WPBakery set in Montserrat. */
body .entry-content.entry-content .has-montserrat-font-family {
	font-weight: 400;
}

/* =========================================================================
 * FAQs: core Details styled as WPBakery's default toggle.
 * ====================================================================== */

body .entry-content.entry-content .wp-block-details {
	margin: 0 0 21.74px;
	padding: 0;
	border: 0;
}

/* The last toggle in a column kept the standard 35px element spacing. */
body .entry-content.entry-content .wp-block-details:last-child {
	margin-bottom: 35px;
}

.wp-block-details summary {
	position: relative;
	display: block;
	padding-left: 24.2px;
	font-family: Poppins, sans-serif;
	font-size: 21px;
	font-weight: 700;
	line-height: 29.2174px;
	color: #000;
	cursor: pointer;
	list-style: none;
	-webkit-user-select: none;
	user-select: none;
}

.wp-block-details summary::-webkit-details-marker {
	display: none;
}

.wp-block-details summary::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 5px;
	width: 10px;
	height: 10px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Crect x='.5' y='3.5' width='9' height='3' fill='%23bababa' stroke='%23acacac'/%3E%3Crect x='3.5' y='.5' width='3' height='9' fill='%23bababa' stroke='%23acacac'/%3E%3Crect x='1' y='4' width='8' height='2' fill='%23bababa'/%3E%3C/svg%3E") no-repeat center / 10px 10px;
	transform: translateY(-50%);
}

.wp-block-details[open] summary::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Crect x='.5' y='3.5' width='9' height='3' fill='%23bababa' stroke='%23acacac'/%3E%3C/svg%3E");
}

.wp-block-details summary:focus-visible {
	outline: 1px dotted currentColor;
}

body .entry-content.entry-content .wp-block-details > :not(summary) {
	padding-left: 24.2px;
}

body .entry-content.entry-content .wp-block-details > summary + * {
	margin-top: 16px;
}

body .entry-content.entry-content .wp-block-details > :last-child:not(summary) {
	margin-bottom: 21.74px;
}

/* =========================================================================
 * Contact Form 7
 * ====================================================================== */

.wpcf7 form.wpcf7-form {
	margin: 0 0 16px;
}

.wpcf7-form p {
	margin: 1px 0 !important;
	font-family: Yantramanav, sans-serif;
	font-size: 13px !important;
	font-weight: 700;
	line-height: 26px !important;
	text-transform: uppercase;
	color: #545454;
}

.wpcf7-form p + p {
	margin-top: 16px !important;
}

.wpcf7-form .wpcf7-form-control-wrap {
	display: block;
}

.wpcf7-form :is(input[type="text"], input[type="email"], input[type="tel"], input[type="url"], textarea) {
	display: block;
	box-sizing: border-box;
	width: 100%;
	height: 40px;
	margin: 0;
	padding: 8px;
	font-family: Yantramanav, sans-serif;
	font-size: 16px;
	font-weight: 900;
	text-transform: none;
	color: #444;
	background-color: #fff;
	border: 1px solid rgb(84 84 84 / 0.1);
	border-radius: 0;
	box-shadow: none;
	transition: all 0.15s linear;
	-webkit-appearance: none;
	appearance: none;
}

.wpcf7-form textarea.wpcf7-textarea {
	height: 278px;
	line-height: 26px;
	overflow: auto;
}

.wpcf7-form :is(input, textarea):focus {
	background-color: #fafafa;
	border-color: rgb(84 84 84 / 0.25);
	outline: none;
}

.wpcf7-form input[type="submit"] {
	width: 220px;
	height: 53px;
	margin: 0 0 10px;
	padding: 16px;
	font-family: Poppins, sans-serif;
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	color: #fff;
	background-color: #64bcb8;
	border: 0;
	border-radius: 0;
	cursor: pointer;
	transition: all 0.3s;
	-webkit-appearance: none;
	appearance: none;
}

.wpcf7-form input[type="submit"]:hover {
	background-color: rgb(100 188 184 / 0.8);
}

/* Full-width button on small screens; the (hidden) spinner then wraps beneath it, as before. */
@media (max-width: 640px) {
	.wpcf7-form input[type="submit"] {
		width: 100%;
	}

	/* The old (hidden) loader line under the button was 8px taller than CF7 6's spinner. */
	.wpcf7-form .wpcf7-spinner {
		margin-top: 8px;
	}
}

.wpcf7-spinner {
	vertical-align: middle;
}

/* =========================================================================
 * Home: hero slideshow (core Gallery + "Slideshow" style), full-width content
 * ====================================================================== */

.home-content {
	padding-right: 15px;
	padding-left: 15px;
}

body:not(.editor-styles-wrapper) .wp-block-gallery.is-style-slideshow {
	position: relative;
	display: block;
	height: 100vh;
	margin: 0 -15px 0 !important;
	overflow: hidden;
	background-color: #e7e7e7;
	touch-action: pan-y;
}

body:not(.editor-styles-wrapper) .wp-block-gallery.is-style-slideshow.has-nested-images figure.wp-block-image:not(#individual-image) {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	transition: opacity 0.3s ease;
}

body:not(.editor-styles-wrapper) .wp-block-gallery.is-style-slideshow.has-nested-images figure.wp-block-image:not(#individual-image).is-active,
body:not(.editor-styles-wrapper) .wp-block-gallery.is-style-slideshow:not(.is-ready).has-nested-images figure.wp-block-image:not(#individual-image):first-of-type {
	opacity: 1;
}

body:not(.editor-styles-wrapper) .wp-block-gallery.is-style-slideshow.has-nested-images figure.wp-block-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
}

/* Revolution Slider "hesperiden" arrows + "hephaistos" bullets, shown on hover. */
.ht-slide-arrow,
.ht-slide-bullets {
	position: absolute;
	visibility: hidden;
	opacity: 0;
	transition: opacity 0.3s 0.2s, visibility 0s 0.5s;
}

.wp-block-gallery.is-style-slideshow.is-hovered .ht-slide-arrow,
.wp-block-gallery.is-style-slideshow.is-hovered .ht-slide-bullets,
.wp-block-gallery.is-style-slideshow:focus-within .ht-slide-arrow,
.wp-block-gallery.is-style-slideshow:focus-within .ht-slide-bullets {
	visibility: visible;
	opacity: 1;
	transition: opacity 0.3s, visibility 0s;
}

.ht-slide-arrow {
	top: 50%;
	z-index: 100;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	padding: 0;
	transform: translateY(-50%);
	color: #fff;
	background: rgb(0 0 0 / 0.5);
	border: 0;
	border-radius: 50%;
	cursor: pointer;
}

.ht-slide-arrow:hover {
	background: #000;
}

.ht-slide-arrow .ht-icon {
	height: 20px;
}

.ht-slide-arrow--prev {
	left: 30px;
}

.ht-slide-arrow--next {
	right: 30px;
}

.ht-slide-arrow--prev .ht-icon {
	margin-left: -2px;
}

.ht-slide-arrow--next .ht-icon {
	margin-left: 2px;
}

.ht-slide-bullets {
	bottom: 30px;
	left: 50%;
	z-index: 1000;
	display: flex;
	gap: 5px;
	transform: translateX(-50%);
}

.ht-slide-bullet {
	box-sizing: border-box;
	width: 18px;
	height: 18px;
	padding: 0;
	background: #999;
	border: 3px solid #f5f5f5;
	border-radius: 50%;
	box-shadow: 0 0 2px 1px rgb(130 130 130 / 0.3);
	cursor: pointer;
	transition: all 0.3s;
}

.ht-slide-bullet:hover,
.ht-slide-bullet.is-selected {
	background: #fff;
	border-color: #000;
}

@media (max-width: 599px) {
	.ht-slide-arrow,
	.ht-slide-bullets {
		display: none;
	}
}

/* =========================================================================
 * Card meta (shared by blog listing and "From the blog")
 * ====================================================================== */

/* Inline like the old markup: "by <author>" with real spaces between. */
.post_meta_archive {
	display: block;
	margin: 0 0 13px;
	font-family: Yantramanav, sans-serif;
	font-size: 13.2px;
	line-height: 19.8px;
	color: rgb(84 84 84 / 0.55);
}

.post_meta_archive > * {
	display: inline;
}

body .entry-content.entry-content .post_meta_archive p,
body .post_meta_archive p {
	margin: 0;
	font-size: inherit;
	line-height: inherit;
}

.post_meta_archive .wp-block-post-author-name a {
	margin: 0 16px 0 4px;
	font-family: Poppins, sans-serif;
	font-weight: 700;
	text-transform: uppercase;
	color: #545454;
	transition: color 0.3s;
}

.post_meta_archive .wp-block-post-author-name a:hover {
	color: #64bcb8;
}

/* Image hover: slides 40px and tints with the brand teal. */
.thumbnail_archive,
.from_the_blog_img_container {
	position: relative;
	overflow: hidden;
}

.thumbnail_archive::before,
.from_the_blog_img_container::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: #64bcb8;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.35s;
}

.thumbnail_archive img,
.from_the_blog_img_container img {
	width: calc(100% + 50px) !important;
	max-width: none !important;
	transform: translate3d(-40px, 0, 0);
	transition: opacity 0.35s, transform 0.35s;
}

.blog-post-inner:has(.thumbnail_archive a:hover, .entry-title-archive a:hover) .thumbnail_archive::before,
.from_the_blog_item:has(a:hover) .from_the_blog_img_container::before {
	opacity: 0.6;
}

.blog-post-inner:has(.thumbnail_archive a:hover, .entry-title-archive a:hover) .thumbnail_archive img,
.from_the_blog_item:has(a:hover) .from_the_blog_img_container img {
	transform: translate3d(0, 0, 0);
}

/* =========================================================================
 * Blog listing (masonry, laid out by theme.js)
 * ====================================================================== */

.site-main.blog-main {
	padding-bottom: 0;
}

/* The listing title sat 20px lower, with no rule. */

@media (min-width: 641px) {
	body .site-main.blog-main .page-title {
		margin-top: 13.5px !important;
	}
}

@media (min-width: 1024px) {
	body .site-main.blog-main .page-title {
		margin-top: 7px !important;
	}
}

.blog-main .list_categories {
	max-width: 100%;
	margin: 15.75px auto 5px !important;
	padding: 0;
	font-size: 18px;
	line-height: 27px;
	text-align: center;
	list-style: none;
}

.blog-main .list_categories li {
	display: inline-block;
	margin: 0;
}

.blog-main .list_categories a {
	display: inline-block;
	margin: 0 12px 5px;
	padding: 5px 0;
	font-family: Poppins, sans-serif;
	font-size: 13px;
	font-weight: 700;
	line-height: 19.5px;
	text-transform: uppercase;
	color: #545454;
	border-bottom: 1px solid rgb(84 84 84 / 0.15);
	transition: color 0.3s, border-color 0.3s;
}

.blog-main .list_categories a:hover {
	color: #64bcb8;
}

body .blog-main .blog-isotope {
	--iso-w: calc(100% * 1.03); /* container gutters were -1.5% each side */
	width: var(--iso-w);
	max-width: none !important;
	margin: 85px calc((100% - var(--iso-w)) / 2) 0 !important;
	padding-bottom: 90px;
}

.blog-isotope .wp-block-post-template {
	display: grid;
	grid-template-columns: 1fr;
	align-items: start;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Isotope sized its columns as ceil(container / columns); the padding (a percentage of the
   column, as for any grid item) then matches the old cards to the 1/64 px. */
@media (min-width: 641px) {
	.blog-isotope .wp-block-post-template {
		grid-template-columns: repeat(2, round(up, 100% / 2, 1px));
	}

	.blog-isotope .wp-block-post-template > li {
		padding: 0 3% !important;
	}
}

@media (min-width: 1024px) {
	.blog-isotope .wp-block-post-template > li {
		padding: 0 4.5% !important;
	}
}

@media (min-width: 1024px) {
	.blog-isotope .wp-block-post-template {
		grid-template-columns: repeat(3, round(up, 100% / 3, 1px));
	}
}

.blog-isotope .wp-block-post-template.is-masonry {
	grid-auto-rows: 1px;
}

.blog-isotope .wp-block-post-template > li {
	margin: 0;
	padding: 0 4.5%; /* 1.5% of the grid, as before */
}

.blog-post-inner {
	position: relative;
	padding-bottom: 60px;
}

body .blog-post-inner .thumbnail_archive {
	margin: 8px 0 24px;
}

body .blog-post-inner .entry-title-archive {
	margin: 0 0 17px;
	font-size: 30px;
	font-weight: 900;
	line-height: 1.1333;
}

.entry-title-archive a {
	color: #000;
	transition: color 0.3s;
}

.entry-title-archive a:hover,
.blog-post-inner:has(.thumbnail_archive a:hover) .entry-title-archive a {
	color: #64bcb8; /* image and title were one link on the old cards */
}

/* Shopkeeper faded every link in page and post content to 0.7 on hover (not the listing teasers). */
body .entry-content:not(.entry-content-archive) a {
	transition: all 0.3s;
}

body .entry-content:not(.entry-content-archive) a:not(.more-link):not(.from_the_blog_img_container a):not(.from_the_blog_title a):hover {
	opacity: 0.7;
}

/* "From the blog": image and title were one link, so they faded together. */
.from_the_blog_item:has(.from_the_blog_img_container a:hover, .from_the_blog_title a:hover) :is(.from_the_blog_img_container, .from_the_blog_title) {
	opacity: 0.7;
}

.from_the_blog_item :is(.from_the_blog_img_container, .from_the_blog_title) {
	transition: opacity 0.3s;
}

body .blog-post-inner .entry-content.entry-content-archive {
	margin-bottom: 20px;
}

/* Post Content is flow-root; the old teaser let its first margin collapse into the meta gap. */
body .entry-content.entry-content-archive > :first-child {
	margin-top: 0;
}

body .entry-content.entry-content-archive :is(h1, h2, h3, h4, h5) {
	margin: 8px 0 20px;
	font-size: 18px;
	line-height: 28px;
}

.entry-content-archive h6 {
	display: none;
}

/* The old link sat inside the last paragraph: 16px below its text, not the 20px paragraph gap… */
body .entry-content.entry-content-archive p:has(+ .more-link) {
	margin-bottom: 0;
}

/* …unless the teaser ended in a blank line, which gave the link a paragraph of its own, or in an
   opened heading (a <!--more--> typed inside one), which held the link on a heading line. */
@media (min-width: 641px) {
	body .entry-content.entry-content-archive p:is(.ht-more-own-p, .ht-more-in-heading):has(+ .more-link) {
		margin-bottom: 20px;
	}
}

body .entry-content.entry-content-archive p.ht-more-in-heading + .more-link {
	line-height: 28px;
}

@media (max-width: 640px) {
	body .entry-content.entry-content-archive p.ht-more-in-heading + .more-link {
		line-height: 26px;
	}
}

.more-link {
	display: block;
	margin-top: 16px;
	font-family: Poppins, sans-serif;
	font-size: 13px;
	font-weight: 700;
	line-height: 27px;
	text-transform: uppercase;
	color: #64bcb8;
	transition: opacity 0.3s;
}

.more-link:hover {
	opacity: 0.8;
}

/* Older / newer posts links. */
body .paging-navigation {
	justify-content: flex-start !important;
	min-height: 40px;
	margin: 50px 0 3px !important;
	padding: 0 1.5%;
}

/* Each link lives in a half-width column; when the text doesn't fit beside the chevron it wraps below it. */
.paging-navigation a {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	max-width: calc(50% - 10px);
	font-family: Poppins, sans-serif;
	font-size: 21px;
	font-weight: 900;
	line-height: 37.8px;
	text-transform: capitalize;
	color: #545454;
	transition: color 0.3s;
}

.paging-navigation a:hover {
	color: #64bcb8;
}

.paging-navigation .wp-block-query-pagination-next::before,
.paging-navigation .wp-block-query-pagination-previous::after {
	content: "";
	display: inline-block;
	width: 6px;
	height: 37.8px;
	margin-right: 5px;
	background-color: currentColor;
	-webkit-mask: url(assets/icons/chevron-left.svg) no-repeat center / 6px 11px;
	mask: url(assets/icons/chevron-left.svg) no-repeat center / 6px 11px;
}

.paging-navigation .wp-block-query-pagination-previous::after {
	margin-right: 0;
	margin-left: 5px;
}

.paging-navigation .wp-block-query-pagination-previous::after {
	-webkit-mask-image: url(assets/icons/chevron-right.svg);
	mask-image: url(assets/icons/chevron-right.svg);
}

body .paging-navigation .wp-block-query-pagination-next {
	margin: 0 !important;
}

body .paging-navigation .wp-block-query-pagination-previous {
	margin: 0 0 0 auto !important;
}

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

/* =========================================================================
 * Home "From the blog"
 * ====================================================================== */

/* Owl carousel replacement: 3 posts per view above 1000px, 2 above 600px, else 1. */
.home-content {
	overflow-x: clip;
}

body .from-the-blog-wrapper .wp-block-post-template {
	display: flex;
	max-width: none;
	margin: 0 -20px;
	padding: 0;
	overflow-x: auto;
	list-style: none;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.from-the-blog-wrapper .wp-block-post-template::-webkit-scrollbar {
	display: none;
}

body .from-the-blog-wrapper .wp-block-post-template > li {
	box-sizing: border-box;
	flex: 0 0 33.3333%;
	margin: 0;
	padding: 0 15px 13px;
	scroll-snap-align: start;
}

@media (max-width: 1000px) {
	body .from-the-blog-wrapper .wp-block-post-template > li {
		flex-basis: 50%;
	}
}

@media (max-width: 600px) {
	body .from-the-blog-wrapper .wp-block-post-template > li {
		flex-basis: 100%;
	}
}

.ht-carousel-dots {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 22px;
}

.ht-carousel-dots[hidden] {
	display: none;
}

.ht-carousel-dot {
	width: 6px;
	height: 6px;
	margin: 5px 3px;
	padding: 0;
	background: #a9a9ab;
	border: 0;
	border-radius: 20px;
	cursor: pointer;
}

.ht-carousel-dot.is-active {
	background: #d4d4d4;
}

body .entry-content.entry-content .from_the_blog_item .from_the_blog_img_container {
	height: 245px;
	margin: 0 0 22px;
}

.from_the_blog_img_container a,
.from_the_blog_img_container img {
	height: 100% !important;
}

.from_the_blog_img_container img {
	object-fit: cover;
	object-position: center center;
}

body .entry-content.entry-content .from_the_blog_item .from_the_blog_title {
	margin: 0 0 15px;
	font-size: 30px;
	font-weight: 900;
	line-height: 1.1333;
	text-align: center;
}

.from_the_blog_title a {
	color: #545454;
	transition: color 0.35s;
}

.from_the_blog_item:has(a:hover) .from_the_blog_title a {
	color: #64bcb8;
}

.from_the_blog_item .post_meta_archive {
	text-align: center;
	color: #545454;
}



.from_the_blog_item .post_meta_archive p {
	opacity: 0.55;
}

/* =========================================================================
 * Single post
 * ====================================================================== */

body .single-post-header {
	min-height: 0 !important;
	margin: 0 0 50px;
	padding-top: 125px;
	padding-bottom: 55px;
}

@media (min-width: 641px) {
	body .single-post-header {
		padding-top: 225px;
		padding-bottom: 220px;
	}
}

@media (min-width: 1024px) {
	body .single-post-header {
		padding-top: 364px;
	}
}

.single-post-header .wp-block-cover__image-background {
	object-position: center top !important;
}

body .single-post-header .entry-title {
	margin: -3.9px 0 8px;
	font-size: 30px;
	line-height: 1.13;
	color: #fff;
	text-align: center;
}

@media (min-width: 641px) {
	body .single-post-header .entry-title {
		margin: -9.75px 0 8px;
		font-size: 75px;
	}
}

.single-post-header .post_meta {
	margin-bottom: 80px !important;
	font-size: 13.2px;
	line-height: 19.8px;
	color: #fff;
	text-align: center;
}

.single-post-header .post_meta::before {
	content: "";
	display: block;
	width: 100px;
	height: 3px;
	margin: 39px auto 43px;
	background: #fff;
}

.single-post-header .post_meta > * {
	display: inline;
	margin: 0;
	font-size: inherit;
	line-height: inherit;
}

.single-post-header .post_meta a {
	display: inline-block;
	margin: 0 0 8px 4px;
	padding: 0 0 4px;
	font-family: Poppins, sans-serif;
	font-weight: 900;
	text-transform: uppercase;
	color: #fff;
	border-bottom: 1px solid #ddd;
	transition: color 0.3s, border-color 0.3s;
}

.single-post-header .post_meta a:hover {
	color: #fff;
	border-bottom-color: transparent;
}

.single-post-header .post_meta .wp-block-post-author-name a {
	margin-right: 16px;
}

.single-post-header .wp-block-post-terms__separator {
	color: #fff;
}

body .single-main {
	padding-top: 0;
	padding-bottom: 0;
}

/* Old post content let its last margin collapse into the 58px gap above the tags. */
body .entry-content.entry-content.blog-single > :last-child {
	margin-bottom: 0 !important;
}

body .single-main .post_tags {
	margin: 58px 0 0;
	font-size: 13.6px;
	line-height: 24.48px;
	text-align: center;
}

.post_tags a {
	display: inline-block;
	margin: 0 0 10px 10px;
	padding: 6px 13px 4px;
	font-family: Poppins, sans-serif;
	font-size: 12px;
	font-weight: 700;
	line-height: 14.4px;
	text-transform: uppercase;
	color: rgb(84 84 84 / 0.4);
	border: 1px solid rgb(84 84 84 / 0.15);
	border-radius: 13px;
	transition: color 0.3s, background-color 0.3s, border-color 0.3s;
}

.post_tags a:first-child {
	margin-left: 0;
}

.post_tags .wp-block-post-terms__separator {
	display: none;
}

.post_tags a:hover {
	color: #fff;
	background-color: #64bcb8;
	border-color: #64bcb8;
}

/* Posts without tags still kept the tag row's 58px gap. */
body .single-main:not(:has(.post_tags)) .post-navigation {
	margin-top: 108px;
}

body .single-main .post-navigation {
	display: flex;
	justify-content: space-between;
	gap: 20px; /* two 10px column gutters */
	margin: 50px 0 57px;
}

/* The old columns had a 21px / 37.8px line box, which adds the inline-block link's descender gap. */
.post-navigation .wp-block-post-navigation-link {
	flex: 1 1 50%;
	font-size: 21px;
	line-height: 37.8px;
}

.post-navigation .post-navigation-link-next {
	text-align: right;
}

.post-navigation .wp-block-post-navigation-link a {
	display: inline-block;
	font-family: Poppins, sans-serif;
	font-size: 21px;
	font-weight: 900;
	line-height: 37.8px;
	color: #545454;
	transition: color 0.3s;
}

.post-navigation .wp-block-post-navigation-link a:hover {
	color: #64bcb8;
}

.post-navigation .post-navigation-link__label {
	display: block;
	padding-left: 15px;
	font-size: 13px;
	font-weight: 700;
	line-height: 28px;
	text-transform: uppercase;
	color: rgb(84 84 84 / 0.4);
}

.post-navigation .post-navigation-link-next .post-navigation-link__label {
	padding-right: 15px;
	padding-left: 0;
}

/* Shopkeeper's 8px FontAwesome chevrons beside the labels. */
.post-navigation .post-navigation-link__label {
	position: relative;
}

.post-navigation .post-navigation-link-previous .post-navigation-link__label::before,
.post-navigation .post-navigation-link-next .post-navigation-link__label::after {
	content: "";
	position: absolute;
	top: 10px;
	width: 5px;
	height: 7px;
	background-color: currentColor;
}

.post-navigation .post-navigation-link-previous .post-navigation-link__label::before {
	left: 1px;
	-webkit-mask: url(assets/icons/chevron-left.svg) no-repeat center / contain;
	mask: url(assets/icons/chevron-left.svg) no-repeat center / contain;
}

.post-navigation .post-navigation-link-next .post-navigation-link__label::after {
	right: 1px;
	-webkit-mask: url(assets/icons/chevron-right.svg) no-repeat center / contain;
	mask: url(assets/icons/chevron-right.svg) no-repeat center / contain;
}

body .entry-content.entry-content.blog-single .wp-block-image {
	margin-bottom: 20px;
}

/* Pieces of one old paragraph (text and images) sat directly on top of each other. */
body .entry-content.entry-content.blog-single .wp-block-image.vc-mb-0 {
	margin-bottom: 0;
}

/* A <!--more--> typed mid-sentence split one paragraph; on the post itself the halves run on. */
body .entry-content.entry-content.blog-single :is(p.ht-more-split-start, p.ht-more-split-end) {
	display: inline;
}

body .entry-content.entry-content.blog-single p.ht-more-split-end::after {
	content: "";
	display: block;
	margin-bottom: 20px;
}

@media (max-width: 640px) {
	body .entry-content.entry-content.blog-single p.ht-more-split-end::after {
		margin-bottom: 10px;
	}
}

/* Images the old posts placed inside a heading (<h3><img></h3>) kept the heading's margins. */
body .entry-content.entry-content.blog-single .wp-block-image.ht-heading-image {
	margin-top: 8px;
	margin-bottom: 8px;
}

/* ...and when the heading also had text, the text sat right under the image. */
body .entry-content.entry-content.blog-single .wp-block-image.ht-heading-image.vc-mb-0 {
	margin-bottom: 0;
}

body .entry-content.entry-content.blog-single .ht-mt-0 {
	margin-top: 0;
}

/* =========================================================================
 * Archive labels, search results, "Nothing Found" and 404
 * ====================================================================== */

/* "Category Archives" / "Tag Archives" / "Author" above archive titles. */
body .site-main .page-type {
	max-width: none;
	margin: 0 auto 15px;
	font-family: Poppins, sans-serif;
	font-size: 13px;
	font-weight: 700;
	line-height: 19.5px;
	letter-spacing: 2px;
	text-align: center;
	text-transform: uppercase;
	color: #545454;
}

/* With the label above it, an archive title keeps the normal page-title offsets. */
body .site-main.blog-main.archive-main .page-title {
	margin-top: -3.9px !important;
	line-height: 40px;
}

@media (min-width: 641px) {
	body .site-main .page-type {
		margin-bottom: 20px;
	}

	body .site-main.blog-main.archive-main .page-title {
		margin-top: -6.5px !important;
		line-height: 50px;
	}
}

@media (min-width: 1024px) {
	body .site-main.blog-main.archive-main .page-title {
		margin-top: -13px !important;
		line-height: 100px;
	}
}

/* Archive grids sat 80px under the header (45px on phones), with cards flush to the top. */
body .site-main.blog-main.archive-main .blog-isotope {
	margin-top: 45px !important;
}

@media (min-width: 641px) {
	body .site-main.blog-main.archive-main .blog-isotope {
		margin-top: 80px !important;
	}

	body .site-main.archive-main .blog-isotope .thumbnail_archive {
		margin-top: 0;
	}
}

/* Search: "SEARCH RESULTS FOR" over the term, then a narrow list of titles. */
body .site-main.search-main {
	padding-bottom: 90px;
}

body.search-no-results .site-main.search-main > :is(.search-type, .search-title) {
	display: none;
}

body .site-main .page-type.search-type {
	margin-top: 0;
	margin-bottom: 0;
	font-size: 14px;
	line-height: 14px;
	letter-spacing: 3px;
	color: #000;
}

body .site-main .page-title.search-title {
	margin-top: 15px !important;
	margin-bottom: 96px !important;
	letter-spacing: 3px;
}

body .site-main .page-type.search-type {
	margin-top: 14px;
}

@media (min-width: 641px) {
	body .site-main .page-type.search-type {
		margin-top: 24px;
	}

	body .site-main .page-title.search-title {
		margin-top: 8px !important;
	}
}

@media (min-width: 1024px) {
	body .site-main .page-type.search-type {
		margin-top: 60px;
	}

	body .site-main .page-title.search-title {
		margin-top: 15px !important;
	}
}

body .search_result_item .post_meta_archive {
	margin: 0 0 13px;
}

body .site-main .search-results-list {
	max-width: var(--ht-col-12-12);
}

@media (min-width: 1024px) {
	body .site-main .search-results-list {
		max-width: var(--ht-col-9-12);
	}
}

.search-results-list .wp-block-post-template {
	margin: 0;
	padding: 0;
	list-style: none;
}

.search_result_item {
	margin: 0 0 33px;
	padding: 0 0 21px;
	border-bottom: 1px solid rgb(84 84 84 / 0.15);
}

.search-results-list li:last-child .search_result_item {
	border-bottom: 0;
}

body .search_result_item .entry-title-archive {
	margin: 0 0 13px;
	font-family: Poppins, sans-serif;
	font-size: 30px;
	font-weight: 900;
	line-height: 33.999px;
	text-align: left;
	color: #000;
}

body .search_result_item .entry-title-archive a {
	color: #000;
}

body .search-main .paging-navigation {
	padding: 0;
}

@media (max-width: 640px) {
	body .site-main .page-title.search-title {
		margin-bottom: 104px !important; /* the old list kept the title link's 8px top margin apart */
		font-size: 26.25px;
	}

	body .search_result_item .entry-title-archive {
		margin-top: 8px;
		padding: 0 30px;
	}

	body .search_result_item .post_meta_archive {
		margin: 0 30px 13px;
	}
}

/* "Nothing Found" (search) and 404: Shopkeeper's error banner, title, text and search box. */
body .site-main.error-main {
	padding-bottom: 0;
}

body .site-main .error-404 {
	text-align: center;
}

@media (min-width: 1024px) {
	body .site-main .error-404 {
		max-width: var(--ht-col-10-12);
		margin-right: auto;
		margin-left: auto;
	}
}

/* No results: the message spans the full row like the 404, not the narrower results column. */
body.search-no-results .site-main .search-results-list {
	max-width: var(--ht-col-12-12);
}

body .error-404 .error-banner {
	margin: 0;
	padding: 5px 0 30px;
	text-align: center;
}

body .error-404 .error-banner img {
	display: inline-block;
	vertical-align: top;
}

body .site-main .error-404 .page-title {
	max-width: none;
	margin: -7.8px auto 23px !important;
	font-size: 60px;
	line-height: 60px;
}

body .error-404 p {
	margin: 0 0 20px;
	font-size: 18px;
	line-height: 27px;
	text-align: center;
}

body .error-404 .error-404-text {
	margin-bottom: 35px;
	font-size: 24px;
	line-height: 36px;
}

/* Inline-block like the old form; the extra 6px is the line-box descent it sat on. */
body .error-404 .error-search {
	display: inline-block;
	margin: 0 0 22px;
	padding: 0 0 80px;
	vertical-align: top;
}

body .error-404 .error-search .wp-block-search__inside-wrapper {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 0;
	border: 0;
}

body .error-404 .error-search .wp-block-search__input {
	flex: 0 0 auto;
	width: 470px;
	height: 50px;
	margin: 0 0 20px;
	padding: 8px;
	font-family: Yantramanav, sans-serif;
	font-size: 16px;
	font-weight: 900;
	color: #444;
	background: #fff;
	border: 1px solid rgb(84 84 84 / 0.1);
	border-radius: 0;
}

body .error-404 .error-search .wp-block-search__button {
	flex: 0 0 auto;
	width: 220px;
	height: 50px;
	margin: 0;
	padding: 16px;
	font-family: Poppins, sans-serif;
	font-size: 14px;
	font-weight: 700;
	line-height: normal;
	text-transform: uppercase;
	color: #fff;
	background: #64bcb8;
	border: 0;
	border-radius: 0;
}

@media (min-width: 641px) and (max-width: 1023px) {
	body .error-404 .error-search .wp-block-search__input {
		width: 300px;
	}
}

@media (max-width: 640px) {
	body .site-main .error-404 {
		margin-top: -30px;
	}

	body .error-404 .error-banner img {
		width: 120px !important;
		height: auto !important;
	}

	body .site-main .error-404 .page-title {
		margin: -3.9px auto 23px !important;
		font-size: 30px;
		line-height: 30px;
	}

	body .error-404 p,
	body .error-404 .error-404-text {
		font-size: 16px;
		line-height: 24px;
	}

	body .error-404 p:not(.error-404-text) {
		margin-bottom: 10px;
	}

	body .error-404 .error-search {
		display: block;
		margin-bottom: 16px;
		padding-bottom: 47px;
	}

	body .error-404 .error-search .wp-block-search__inside-wrapper {
		flex-direction: column;
		gap: 0;
	}

	body .error-404 .error-search :is(.wp-block-search__input, .wp-block-search__button) {
		width: 100%;
	}
}

/* =========================================================================
 * Footer
 * ====================================================================== */

.site-footer {
	padding: 80px 0 30px;
	color: #000;
	background: #47a69e;
}

.site-footer__inner {
	padding: 0 50px;
	text-align: center;
}

.site-footer a {
	color: #333;
	opacity: 1;
	transition: opacity 0.3s;
}

.site-footer a:hover {
	opacity: 0.7;
}

.site-footer .footer-socials {
	gap: 0 !important;
	margin: 15.75px 0 34px !important;
}

.site-footer .footer-socials .wp-social-link {
	margin: 0 15px 15px;
	padding: 0;
	color: #333 !important;
	background: none !important;
}

.site-footer .footer-socials .wp-block-social-link-anchor {
	display: block;
	padding: 0 !important;
	line-height: 36px;
}

.site-footer .footer-socials .wp-block-social-link-anchor svg {
	display: none;
}

.site-footer .footer-socials .wp-block-social-link-anchor::before {
	content: "";
	display: inline-block;
	width: 20.57px;
	height: 24px;
	vertical-align: middle;
	position: relative;
	top: -2px;
	background-color: currentColor;
	-webkit-mask: url(assets/icons/linkedin.svg) no-repeat center / contain;
	mask: url(assets/icons/linkedin.svg) no-repeat center / contain;
}

.site-footer .wp-social-link-instagram .wp-block-social-link-anchor::before {
	-webkit-mask-image: url(assets/icons/instagram.svg);
	mask-image: url(assets/icons/instagram.svg);
}

.site-footer .footer-nav {
	justify-content: center;
}

.site-footer .footer-nav .wp-block-navigation__container {
	justify-content: center;
	gap: 0 4.57px; /* the old inline-block list had an 18px Yantramanav space between items */
	margin: 3px 0 34px; /* old inline-block list sat 3px into its line box */
	line-height: 14px;
}

.site-footer .footer-nav .wp-block-navigation-item {
	position: relative;
	margin: 0 10px 15px 0;
	padding: 0 14px 0 0;
	font-size: 18px;
	line-height: 14px;
}

.site-footer .footer-nav .wp-block-navigation-item::after {
	content: "";
	position: absolute;
	top: -1px;
	right: 0;
	height: 15px;
	border-right: 1px solid #333;
	opacity: 0.5;
}

.site-footer .footer-nav .wp-block-navigation-item:last-child {
	margin-right: 0;
	padding-right: 0;
}

.site-footer .footer-nav .wp-block-navigation-item:last-child::after {
	display: none;
}

.site-footer .footer-nav .wp-block-navigation-item__content {
	padding: 0;
	color: #333; /* core sets nav links to inherit the footer's #000 */
	font-family: Yantramanav, sans-serif;
	font-size: 15px;
	font-weight: 400;
	line-height: 1;
	text-transform: none;
}

body .site-footer .copyright_text {
	margin: -5px 0 26px;
	padding: 0;
	font-size: 14px;
	line-height: 20px;
	text-align: center;
	color: #000;
}

@media (min-width: 641px) {
	body .site-footer .copyright_text {
		margin-bottom: 46px;
	}
}

/* When the footer menu wraps (below ~1200px) the old inline-block list sat 2px higher. */
@media (min-width: 641px) and (max-width: 1200px) {
	.site-footer .footer-nav .wp-block-navigation__container {
		margin-top: -2px;
	}
}

/* Small screens: menu links stacked one per line, no dividers. */
@media (max-width: 640px) {
	.site-footer {
		padding-top: 60px;
	}

	.site-footer__inner {
		padding: 0 30px;
	}

	.site-footer .footer-socials {
		margin-bottom: 16px !important;
	}

	.site-footer .footer-nav .wp-block-navigation__container {
		flex-direction: column;
		align-items: center;
		margin-bottom: 19px;
	}

	.site-footer .footer-nav .wp-block-navigation-item {
		margin: 0 0 15px;
		padding: 0;
	}

	.site-footer .footer-nav .wp-block-navigation-item::after {
		display: none;
	}
}

/* =========================================================================
 * Search page + 404
 * ====================================================================== */

.error-404 .no-results-text {
	margin-bottom: 20px;
}

.error-404 .wp-block-search {
	max-width: 757px;
	margin: 0 auto 90px;
}

.error-404 .wp-block-search__input {
	height: 50px;
	padding: 8px 15px;
	font-size: 16px;
	border: 1px solid rgb(84 84 84 / 0.1);
	border-radius: 0;
}

/* =========================================================================
 * Small screens (Shopkeeper's < 40em typography)
 * ====================================================================== */

@media (max-width: 640px) {
	body .entry-content.entry-content p {
		margin-bottom: 10px;
		font-size: 16px;
		line-height: 24px;
	}

	body .entry-content.entry-content h1 {
		margin-top: -3.9px;
		font-size: 30px;
		line-height: 40px;
	}

	body .entry-content.entry-content h2 {
		font-size: 27px;
		line-height: 34px;
	}

	body .entry-content.entry-content h3 {
		font-size: 23px;
		line-height: 32px;
	}

	body .entry-content.entry-content h4 {
		font-size: 18px;
		line-height: 28px;
	}

	body .entry-content.entry-content h6 {
		font-size: 14px;
		line-height: 24px;
	}
}

/* Small screens: toggles, blog listing and its pagination as Shopkeeper laid them out. */
@media (max-width: 640px) {
	.wp-block-details summary {
		line-height: 32.6665px;
	}

	body .site-main.blog-main .page-title {
		margin-top: 6.1px !important;
		line-height: 37.7778px;
	}

	body .site-main.blog-main .blog-isotope {
		--iso-w: calc(100% + 2 * var(--wp--style--root--padding-left));
		margin-top: 50px !important;
		padding-bottom: 0;
	}

	body .blog-isotope .wp-block-post-template > li {
		padding: 0 !important;
	}

	.blog-isotope .wp-block-post-template > li {
		padding: 0;
	}

	.blog-post-inner {
		padding-bottom: 37px;
	}

	body .blog-post-inner > :not(.thumbnail_archive) {
		margin-right: 30px;
		margin-left: 30px;
	}

	body .blog-post-inner .entry-content.entry-content-archive {
		margin-bottom: 10px;
	}

	body .entry-content.entry-content-archive :is(h1, h2, h3, h4, h5) {
		margin-bottom: 10px;
		font-size: 16px;
		line-height: 26px;
	}

	.more-link {
		margin-top: 13px;
		line-height: 24px;
	}

	body .paging-navigation {
		margin: 50px 0 0 !important;
		padding: 0;
	}

	.paging-navigation > *,
	.paging-navigation::before,
	.paging-navigation::after {
		flex: 1 1 50%;
	}

	body .paging-navigation a {
		display: flex;
		align-items: center;
		justify-content: center;
		max-width: none;
		height: 70px;
		padding: 0;
		font-size: 0;
		background: #f5f5f5;
	}

	.paging-navigation a:hover {
		color: #fff;
		background: #64bcb8;
	}

	.paging-navigation .wp-block-query-pagination-next::before,
	.paging-navigation .wp-block-query-pagination-previous::after {
		width: 11px;
		height: 30px;
		margin: 0;
		-webkit-mask-size: contain;
		mask-size: contain;
		-webkit-mask-image: url(assets/icons/angle-left.svg);
		mask-image: url(assets/icons/angle-left.svg);
	}

	.paging-navigation .wp-block-query-pagination-previous::after {
		-webkit-mask-image: url(assets/icons/angle-right.svg);
		mask-image: url(assets/icons/angle-right.svg);
	}

	/* Only one direction available: the other half stays as an empty, lighter block. */
	.paging-navigation:not(:has(.wp-block-query-pagination-previous))::after,
	.paging-navigation:not(:has(.wp-block-query-pagination-next))::before {
		content: "";
		height: 70px;
		background: #f9f9f9;
	}

	/* Single post: tighter rule in the header, 10px image gaps, arrow-block navigation. */
	.single-post-header .post_meta::before {
		margin: 24px auto 28px;
	}

	body .entry-content.entry-content.blog-single .wp-block-image {
		margin-bottom: 10px;
	}

	body .single-main .post-navigation {
		gap: 0;
		margin: 50px calc(var(--wp--style--root--padding-left) * -1) 0;
	}

	.post-navigation:not(:has(.post-navigation-link-previous))::before,
	.post-navigation:not(:has(.post-navigation-link-next))::after {
		content: "";
		flex: 1 1 50%;
		height: 70px;
		background: #f9f9f9;
	}

	.post-navigation .wp-block-post-navigation-link a {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 100%;
		height: 70px;
		font-size: 0;
		background: #f5f5f5;
	}

	.post-navigation .wp-block-post-navigation-link a:hover {
		color: #fff;
		background: #64bcb8;
	}

	.post-navigation .wp-block-post-navigation-link a > * {
		display: none !important;
	}

	.post-navigation .wp-block-post-navigation-link a::before {
		content: "";
		width: 11px;
		height: 30px;
		background-color: currentColor;
		-webkit-mask: url(assets/icons/angle-left.svg) no-repeat center / contain;
		mask: url(assets/icons/angle-left.svg) no-repeat center / contain;
	}

	.post-navigation .post-navigation-link-next a::before {
		-webkit-mask-image: url(assets/icons/angle-right.svg);
		mask-image: url(assets/icons/angle-right.svg);
	}
}

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