/*
 * Klay block styles. Breakpoints follow the old Elementor kit:
 * desktop > 1024px, tablet 768â€“1024px, mobile <= 767px.
 */

:root {
	--klay-clay: #a18973;
	--klay-sand: #d8c8b5;
	--klay-stone: #d4c3b0;
	--klay-green: #264f48;
	--klay-ink: #3e3e3e;
}

/* ==========================================================================
   Button styles
   ========================================================================== */

.wp-block-button:is(.is-style-klay, .is-style-klay-clay, .is-style-klay-green, .is-style-klay-white) > .wp-block-button__link {
	position: relative;
	z-index: 2;
	display: inline-block;
	max-width: 100%;
	margin: 15px 0;
	padding: 10px 40px;
	border: 1px solid var(--klay-clay);
	border-radius: 0;
	background-color: transparent;
	color: var(--klay-ink);
	font-family: Lato, sans-serif;
	font-size: 20px;
	font-weight: 700;
	line-height: 20px;
	text-transform: uppercase;
}

.wp-block-button:is(.is-style-klay, .is-style-klay-clay, .is-style-klay-green, .is-style-klay-white) > .wp-block-button__link::before {
	content: "";
	position: absolute;
	top: -12px;
	left: 50%;
	width: calc((100% + 2px) * 0.8915);
	max-width: none;
	height: calc(100% + 24px);
	border: 1px solid;
	border-color: inherit;
	transform: translateX(-50%);
}

.wp-block-button:is(.is-style-klay, .is-style-klay-clay, .is-style-klay-green, .is-style-klay-white) > .wp-block-button__link::after {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	z-index: -1;
	width: 100%;
	height: 100%;
	transform: translateX(-50%);
}

.wp-block-button.is-style-klay-clay > .wp-block-button__link {
	border-color: var(--klay-clay);
	background-color: var(--klay-clay);
	color: #fff;
}

.wp-block-button.is-style-klay-green > .wp-block-button__link {
	border-color: var(--klay-green);
	background-color: var(--klay-green);
	color: #fff;
}

.wp-block-button.is-style-klay-white > .wp-block-button__link {
	border-color: #fff;
	color: #fff;
}

.wp-block-button.is-style-klay-white > .wp-block-button__link::after {
	background: #fff;
	opacity: 0.4;
}

/* ==========================================================================
   Site header
   ========================================================================== */

.klay-site-header {
	position: relative;
	z-index: 100;
}

:is(.klay-site-header, .editor-styles-wrapper) .klay-header,
:is(.klay-site-header, .editor-styles-wrapper) .klay-header.has-background {
	margin: 0;
	padding: 0 10px;
	background-repeat: repeat;
	background-position: 0 0;
	font-family: Lato, sans-serif;
	font-weight: 300;
}

:is(.klay-site-header, .editor-styles-wrapper) .klay-header .klay-header__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	justify-content: flex-start;
	gap: 0;
	max-width: 1210px;
	margin: 0 auto;
	padding: 10px 0;
}

:is(.klay-site-header, .editor-styles-wrapper) .klay-header .klay-header__inner > .wp-block-group {
	box-sizing: border-box;
	margin: 0;
	padding: 10px;
}

:is(.klay-site-header, .editor-styles-wrapper) .klay-header :is(ul, li) {
	margin-top: 0;
	margin-bottom: 0;
}

:is(.klay-site-header, .editor-styles-wrapper) .klay-header__logo { flex: 0 0 36.61%; }
:is(.klay-site-header, .editor-styles-wrapper) .klay-header__contact { flex: 0 0 63%; align-self: center; }
:is(.klay-site-header, .editor-styles-wrapper) .klay-header__nav { flex: 0 0 63%; align-self: center; }
:is(.klay-site-header, .editor-styles-wrapper) .klay-header__search { flex: 0 0 18%; }
:is(.klay-site-header, .editor-styles-wrapper) .klay-header__social { flex: 0 0 18%; }

/* Logo */

:is(.klay-site-header, .editor-styles-wrapper) .klay-header__logo .wp-block-image {
	margin: 5px 0 0;
	line-height: 0;
}

:is(.klay-site-header, .editor-styles-wrapper) .klay-header__logo .wp-block-image img {
	display: block;
	width: 101px;
	max-width: 100%;
	height: auto;
}

/* Contact line */

:is(.klay-site-header, .editor-styles-wrapper) .klay-header .klay-contact-list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 0 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

:is(.klay-site-header, .editor-styles-wrapper) .klay-header .klay-contact-list li {
	display: flex;
	margin: 0;
	padding: 0;
	list-style: none;
}

:is(.klay-site-header, .editor-styles-wrapper) .klay-header .klay-contact-list a {
	display: inline-flex;
	align-items: center;
	color: var(--klay-clay);
	font-family: Lato, sans-serif;
	font-size: 15px;
	font-weight: 300;
	line-height: 18px;
	word-spacing: 1.5px;
	text-transform: uppercase;
	text-decoration: none;
}

:is(.klay-site-header, .editor-styles-wrapper) .klay-header .klay-contact-list a::before {
	content: "";
	flex: none;
	width: 15px;
	height: 15px;
	margin: 0 calc(5px + 1.875px) 0 1.875px;
	background-color: currentColor;
	mask: var(--klay-icon) no-repeat center / contain;
	-webkit-mask: var(--klay-icon) no-repeat center / contain;
}

:is(.klay-site-header, .editor-styles-wrapper) .klay-header .klay-contact-list a[href^="tel:"] { --klay-icon: url("../icons/phone.svg"); }
:is(.klay-site-header, .editor-styles-wrapper) .klay-header .klay-contact-list a[href^="mailto:"] { --klay-icon: url("../icons/envelope.svg"); }
:is(.klay-site-header, .editor-styles-wrapper) .klay-header .klay-contact-list a[href*="quote"],
:is(.klay-site-header, .editor-styles-wrapper) .klay-header .klay-contact-list a[href*="cart"] { --klay-icon: url("../icons/cart.svg"); }
:is(.klay-site-header, .editor-styles-wrapper) .klay-header .klay-contact-list a:not([href^="tel:"], [href^="mailto:"], [href*="quote"], [href*="cart"])::before { display: none; }

/* Navigation: shared */

:is(.klay-site-header, .editor-styles-wrapper) .klay-header .klay-nav {
	position: relative;
	gap: 0;
	color: var(--klay-clay);
	font-family: Lato, sans-serif;
	font-size: 16px;
	font-weight: 300;
	line-height: 30px;
	letter-spacing: 0.4px;
	text-transform: uppercase;
}

:is(.klay-site-header, .editor-styles-wrapper) .klay-header .klay-nav .wp-block-navigation__container {
	gap: 19px;
}

:is(.klay-site-header, .editor-styles-wrapper) .klay-header .klay-nav .wp-block-navigation-item__content,
:is(.klay-site-header, .editor-styles-wrapper) .klay-header .klay-nav .wp-block-navigation-item__content.wp-block-navigation-item__content {
	display: block;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
	color: var(--klay-clay);
	font: inherit;
	letter-spacing: inherit;
	word-spacing: inherit;
	text-rendering: inherit;
	line-height: 30px;
	text-align: left;
	text-decoration: none;
	text-transform: uppercase;
	cursor: pointer;
	transition: color 0.3s;
}

:is(.klay-site-header, .editor-styles-wrapper) .klay-header .klay-nav .wp-block-navigation__submenu-icon {
	display: none;
}

/* Elementor reserved 10px after items with a submenu for its (empty) arrow. */
:is(.klay-site-header, .editor-styles-wrapper) .klay-header .klay-nav .wp-block-navigation-submenu__toggle.wp-block-navigation-item__content {
	padding-right: 10px;
}

:is(.klay-site-header, .editor-styles-wrapper) .klay-header .klay-nav .current-menu-item > .wp-block-navigation-item__content {
	color: var(--klay-sand);
}

:is(.klay-site-header, .editor-styles-wrapper) .klay-header .klay-nav .wp-block-navigation-item__content:is(:hover, :focus-visible) {
	color: var(--klay-stone);
}

/* Navigation: desktop dropdowns open on hover, like Elementor did */

@media (min-width: 1025px) {
	:is(.klay-site-header, .editor-styles-wrapper) .klay-header .klay-nav .has-child:hover > .wp-block-navigation-item__content,
	:is(.klay-site-header, .editor-styles-wrapper) .klay-header .klay-nav .wp-block-navigation-submenu__toggle[aria-expanded="true"] {
		color: var(--klay-stone);
	}

	:is(.klay-site-header, .editor-styles-wrapper) .klay-header .klay-nav .has-child .wp-block-navigation__submenu-container {
		top: 100%;
		left: 0;
		min-width: 130px;
		padding: 0;
		border: 0;
		background-color: #fff;
		box-shadow: none;
	}

	:is(.klay-site-header, .editor-styles-wrapper) .klay-header .klay-nav .has-child:is(:hover, :focus-within) > .wp-block-navigation__submenu-container {
		width: auto;
		height: auto;
		min-width: 130px;
		overflow: visible;
		visibility: visible;
		opacity: 1;
	}

	/*
	 * Invisible triangle from the hovered item to its flyout: a diagonal move over
	 * the items below keeps the flyout open. Elementor's menu used a close delay,
	 * which reduced-motion settings would cancel here.
	 */
	:is(.klay-site-header, .editor-styles-wrapper) .klay-header .klay-nav .wp-block-navigation__submenu-container .has-child:hover::after {
		content: "";
		position: absolute;
		top: 0;
		left: 50%;
		z-index: 2;
		width: 50%;
		height: 320px;
		clip-path: polygon(0 23px, 100% 0, 100% 100%);
	}

	:is(.klay-site-header, .editor-styles-wrapper) .klay-header .klay-nav .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container {
		top: 0;
		left: 100%;
	}

	:is(.klay-site-header, .editor-styles-wrapper) .klay-header .klay-nav .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container::before {
		display: none;
	}

	:is(.klay-site-header, .editor-styles-wrapper) .klay-header .klay-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content.wp-block-navigation-item__content {
		width: 100%;
		padding: 13px 20px;
		border-left: 8px solid transparent;
		font-size: 13px;
		letter-spacing: normal;
		line-height: 20px;
		white-space: nowrap;
	}

	:is(.klay-site-header, .editor-styles-wrapper) .klay-header .klay-nav .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container .wp-block-navigation-item__content.wp-block-navigation-item__content {
		border-left-width: 16px;
	}
}

/* Navigation: tablet and mobile burger with an in-flow panel */

@media (max-width: 1024px) {
	:is(.klay-site-header, .editor-styles-wrapper) .klay-header .klay-nav .wp-block-navigation__responsive-container-open:not(.always-shown) {
		display: flex;
	}

	:is(.klay-site-header, .editor-styles-wrapper) .klay-header .klay-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
		display: none;
	}

	:is(.klay-site-header, .editor-styles-wrapper) .klay-header .klay-nav .wp-block-navigation__responsive-container-open,
	:is(.klay-site-header, .editor-styles-wrapper) .klay-header .klay-nav .wp-block-navigation__responsive-container-close {
		box-sizing: border-box;
		width: 48px;
		height: 48px;
		min-height: 0;
		padding: 8px;
		border: 0;
		background: transparent;
		color: var(--klay-clay);
		box-shadow: none;
	}

	:is(.klay-site-header, .editor-styles-wrapper) .klay-header .klay-nav :is(.wp-block-navigation__responsive-container-open, .wp-block-navigation__responsive-container-close) svg {
		display: none;
	}

	:is(.klay-site-header, .editor-styles-wrapper) .klay-header .klay-nav :is(.wp-block-navigation__responsive-container-open, .wp-block-navigation__responsive-container-close)::before {
		content: "";
		display: block;
		width: 100%;
		height: 100%;
		background-color: currentColor;
		mask: url("../icons/menu.svg") no-repeat center / contain;
		-webkit-mask: url("../icons/menu.svg") no-repeat center / contain;
	}

	:is(.klay-site-header, .editor-styles-wrapper) .klay-header .klay-nav .wp-block-navigation__responsive-container-close::before {
		mask-image: url("../icons/close.svg");
		-webkit-mask-image: url("../icons/close.svg");
	}

	:is(.klay-site-header, .editor-styles-wrapper) .klay-header .klay-nav:has(.is-menu-open) .wp-block-navigation__responsive-container-open {
		visibility: hidden;
	}

	:is(.klay-site-header, .editor-styles-wrapper) .klay-header .klay-nav .wp-block-navigation__responsive-container.is-menu-open {
		position: static;
		display: block;
		width: 100%;
		margin-top: 10px;
		padding: 0;
		overflow: visible;
		background-color: #fff;
		color: var(--klay-clay);
		animation: none;
		z-index: auto;
	}

	:is(.klay-site-header, .editor-styles-wrapper) .klay-header .klay-nav .is-menu-open :is(.wp-block-navigation__responsive-close, .wp-block-navigation__responsive-dialog, .wp-block-navigation__responsive-container-content) {
		position: static;
		max-width: none;
		margin: 0;
		padding: 0;
	}

	:is(.klay-site-header, .editor-styles-wrapper) .klay-header .klay-nav .is-menu-open .wp-block-navigation__responsive-container-close {
		position: absolute;
		top: 0;
		left: 0;
		right: auto;
	}

	:is(.klay-site-header, .editor-styles-wrapper) .klay-header .klay-nav .is-menu-open .wp-block-navigation__responsive-container-content {
		display: block;
		padding-top: 0;
	}

	:is(.klay-site-header, .editor-styles-wrapper) .klay-header .klay-nav .is-menu-open .wp-block-navigation__container,
	:is(.klay-site-header, .editor-styles-wrapper) .klay-header .klay-nav .is-menu-open .wp-block-navigation-item {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		width: 100%;
	}

	:is(.klay-site-header, .editor-styles-wrapper) .klay-header .klay-nav .is-menu-open .wp-block-navigation-item__content.wp-block-navigation-item__content {
		box-sizing: border-box;
		width: 100%;
		padding: 10px 20px;
		font-size: 13px;
		line-height: 30px;
		background: #fff;
	}

	:is(.klay-site-header, .editor-styles-wrapper) .klay-header .klay-nav .is-menu-open .has-child .wp-block-navigation__submenu-container {
		display: none;
		min-width: 0;
		width: 100%;
		padding: 0;
		gap: 0;
	}

	:is(.klay-site-header, .editor-styles-wrapper) .klay-header .klay-nav .is-menu-open .has-child.klay-sub-open > .wp-block-navigation__submenu-container {
		display: flex;
	}

	:is(.klay-site-header, .editor-styles-wrapper) .klay-header .klay-nav .is-menu-open .klay-sub-open > .wp-block-navigation-item__content.wp-block-navigation-item__content {
		color: var(--klay-stone);
	}

	:is(.klay-site-header, .editor-styles-wrapper) .klay-header .klay-nav .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content.wp-block-navigation-item__content {
		border-left: 8px solid transparent;
		letter-spacing: normal;
		line-height: 20px;
	}

	:is(.klay-site-header, .editor-styles-wrapper) .klay-header .klay-nav .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container .wp-block-navigation-item__content.wp-block-navigation-item__content {
		border-left-width: 16px;
	}

	html.has-modal-open:has(:is(.klay-site-header, .editor-styles-wrapper) .klay-header .is-menu-open) {
		overflow: visible;
	}
}

/* Search */

:is(.klay-site-header, .editor-styles-wrapper) .klay-header .klay-search {
	margin: 0;
}

:is(.klay-site-header, .editor-styles-wrapper) .klay-header .klay-search .wp-block-search__inside-wrapper {
	box-sizing: border-box;
	display: flex;
	height: 44px;
	padding: 0;
	border: 1px solid var(--klay-clay);
	border-radius: 3px;
	background-color: #fff;
	overflow: hidden;
}

:is(.klay-site-header, .editor-styles-wrapper) .klay-header .klay-search .wp-block-search__input {
	flex: 1 1 auto;
	min-width: 0;
	height: 100%;
	min-height: 0;
	margin: 0;
	padding: 0 10px;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: var(--klay-clay);
	font-family: Lato, sans-serif;
	font-size: 16px;
	font-weight: 300;
	line-height: 30px;
	letter-spacing: 0.4px;
	text-transform: uppercase;
}

:is(.klay-site-header, .editor-styles-wrapper) .klay-header .klay-search .wp-block-search__input::placeholder {
	color: inherit;
	font-family: inherit;
	opacity: 0.6;
}

:is(.klay-site-header, .editor-styles-wrapper) .klay-header .klay-search .wp-block-search__button {
	flex: 0 0 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	min-width: 30px;
	height: 100%;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background-color: #fff;
	box-shadow: none;
	color: var(--klay-clay);
}

:is(.klay-site-header, .editor-styles-wrapper) .klay-header .klay-search .wp-block-search__button svg {
	display: none;
}

:is(.klay-site-header, .editor-styles-wrapper) .klay-header .klay-search .wp-block-search__button::before {
	content: "";
	width: 16px;
	height: 16px;
	background-color: currentColor;
	mask: url("../icons/search.svg") no-repeat center / contain;
	-webkit-mask: url("../icons/search.svg") no-repeat center / contain;
}

/* Social icons */

:is(.klay-site-header, .editor-styles-wrapper) .klay-header .klay-social {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 5px;
	margin: 0;
	padding: 0;
	font-size: 18px;
}

:is(.klay-site-header, .editor-styles-wrapper) .klay-header .klay-social .wp-social-link,
:is(.klay-site-header, .editor-styles-wrapper) .klay-header .klay-social .wp-social-link:hover {
	box-sizing: border-box;
	width: 36px;
	height: 36px;
	margin: 0;
	border: 1px solid var(--klay-clay);
	border-radius: 50%;
	background-color: transparent;
	color: var(--klay-clay);
	transform: none;
}

:is(.klay-site-header, .editor-styles-wrapper) .klay-header .klay-social .wp-social-link a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	padding: 0;
	color: inherit;
}

:is(.klay-site-header, .editor-styles-wrapper) .klay-header .klay-social .wp-social-link svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

:is(.klay-site-header, .editor-styles-wrapper) .klay-header .klay-social :is(.wp-social-link-facebook, .wp-social-link-instagram, .wp-social-link-pinterest) svg {
	visibility: hidden;
}

:is(.klay-site-header, .editor-styles-wrapper) .klay-header .klay-social :is(.wp-social-link-facebook, .wp-social-link-instagram, .wp-social-link-pinterest) a {
	background: var(--klay-social) no-repeat center / 18px 18px;
}

:is(.klay-site-header, .editor-styles-wrapper) .klay-header .klay-social .wp-social-link-facebook { --klay-social: url("../icons/social-facebook.svg"); }
:is(.klay-site-header, .editor-styles-wrapper) .klay-header .klay-social .wp-social-link-instagram { --klay-social: url("../icons/social-instagram.svg"); }
:is(.klay-site-header, .editor-styles-wrapper) .klay-header .klay-social .wp-social-link-pinterest { --klay-social: url("../icons/social-pinterest.svg"); }

:is(.klay-site-header, .editor-styles-wrapper) .klay-header .klay-social .wp-social-link-linkedin,
:is(.klay-site-header, .editor-styles-wrapper) .klay-header .klay-social .wp-social-link-linkedin:hover {
	background-color: #fff;
}

/* Header: tablet */

@media (max-width: 1024px) {
	:is(.klay-site-header, .editor-styles-wrapper) .klay-header .klay-header__inner {
		align-items: center;
		justify-content: center;
	}

	:is(.klay-site-header, .editor-styles-wrapper) .klay-header__logo { flex-basis: 30%; }
	:is(.klay-site-header, .editor-styles-wrapper) .klay-header__contact { flex-basis: 66%; }
	:is(.klay-site-header, .editor-styles-wrapper) .klay-header__nav { flex-basis: 30%; }
	:is(.klay-site-header, .editor-styles-wrapper) .klay-header__search { flex-basis: 36%; }
	:is(.klay-site-header, .editor-styles-wrapper) .klay-header__social { flex-basis: 32%; }

	:is(.klay-site-header, .editor-styles-wrapper) .klay-header__logo .wp-block-image img {
		width: 50%;
	}

	:is(.klay-site-header, .editor-styles-wrapper) .klay-header .klay-contact-list a {
		line-height: 2.3em;
	}

	:is(.klay-site-header, .editor-styles-wrapper) .klay-header .klay-header__inner > .klay-header__nav {
		padding-bottom: 20px;
	}

	:is(.klay-site-header, .editor-styles-wrapper) .klay-header .klay-header__inner > .klay-header__nav:has(.is-menu-open) {
		padding-bottom: 10px;
	}
}

/* Header: mobile */

@media (max-width: 767px) {
	:is(.klay-site-header, .editor-styles-wrapper) .klay-header .klay-header__inner > * {
		flex-basis: 100%;
	}

	:is(.klay-site-header, .editor-styles-wrapper) .klay-header__logo .wp-block-image img {
		width: 20%;
		margin: 0 auto;
	}

	:is(.klay-site-header, .editor-styles-wrapper) .klay-header .klay-header__inner > .klay-header__contact {
		padding: 0;
	}

	:is(.klay-site-header, .editor-styles-wrapper) .klay-header .klay-contact-list {
		justify-content: center;
	}

	:is(.klay-site-header, .editor-styles-wrapper) .klay-header .klay-contact-list a {
		line-height: 1.8em;
	}

	:is(.klay-site-header, .editor-styles-wrapper) .klay-header .klay-header__inner > .klay-header__nav {
		padding: 0 0 10px;
	}

	:is(.klay-site-header, .editor-styles-wrapper) .klay-header .klay-header__inner > .klay-header__nav:has(.is-menu-open) {
		padding-bottom: 0;
	}

	:is(.klay-site-header, .editor-styles-wrapper) .klay-header .klay-nav .wp-block-navigation__responsive-container-open,
	:is(.klay-site-header, .editor-styles-wrapper) .klay-header .klay-nav .wp-block-navigation__responsive-container-close {
		width: 33px;
		height: 33px;
		padding: 5.5px;
	}

	:is(.klay-site-header, .editor-styles-wrapper) .klay-header .klay-nav .wp-block-navigation__responsive-container-open {
		margin: 0 auto;
	}

	:is(.klay-site-header, .editor-styles-wrapper) .klay-header .klay-nav .is-menu-open .wp-block-navigation__responsive-container-close {
		left: calc(50% - 16.5px);
	}

	:is(.klay-site-header, .editor-styles-wrapper) .klay-header .klay-search .wp-block-search__inside-wrapper {
		width: 217px;
		margin: 0 auto;
	}

	:is(.klay-site-header, .editor-styles-wrapper) .klay-header .klay-social {
		justify-content: center;
	}
}

/* ==========================================================================
   Block pages: full-width main, boxed content unless "Full width"
   ========================================================================== */

/* No gap between the header, the page content and the footer. */
:root .wd-content-layout {
	padding-block: 0;
}

:root .wd-page-title + .wd-content-layout {
	padding-top: 40px;
}

/* Banner-less listing pages keep production's gap: Blog (47), Press (45), Social Media (19131). */
:root :is(.page-id-47, .page-id-45, .page-id-19131) .wd-content-layout {
	padding-top: 40px;
}

@media (max-width: 1024px) {
	:root .woodmart-archive-shop .wd-page-title + .wd-content-layout {
		padding-top: 20px;
	}
}

.klay-block-page .entry-content {
	padding-inline: 15px;
}

.klay-block-page .entry-content > :not(.alignfull) {
	max-width: 1192px;
	margin-inline: auto;
}

.klay-block-page .entry-content > .alignfull {
	width: calc(100% + 30px);
	max-width: none;
	margin-inline: -15px;
}

/* Sections set their own spacing; Woodmart's block spacing stays for loose text blocks. */
.klay-block-page .entry-content > :is(.wp-block-group, .alignfull, [class*="wp-block-wd-"], .pntrst_main_before_after) {
	margin-block: 0;
}

/* Woodmart zeroes the last block's bottom margin; these closing sections keep theirs. */
:root :is(.entry-content, .wd-entry-content) > :is(.klay-social-grid, .klay-news-grid, .klay-project-grid, .klay-article):last-child {
	margin-bottom: 20px;
}

:root .wd-single-project {
	display: flow-root;
}

:root .wd-single-project > .klay-project__products:last-child {
	margin-bottom: 30px;
}

:root .entry-content > .klay-press-pack:last-child {
	margin-bottom: 40px;
}
/* ==========================================================================
   Heading styles
   ========================================================================== */

:root :is(h1, h2, h3, h4, h5, h6).is-style-klay-title {
	margin: 0 0 25px;
	padding: 15px 0 20px;
	color: var(--klay-green);
	font-family: Prata, serif;
	font-size: 36px;
	font-weight: 400;
	line-height: 29px;
	text-transform: capitalize;
}

:root :is(h1, h2, h3, h4, h5, h6).is-style-klay-subtitle {
	margin: 0 0 20px;
	color: var(--klay-clay);
	font-family: Lato, sans-serif;
	font-size: 20px;
	font-weight: 700;
	line-height: 30px;
	text-transform: uppercase;
}

:root :is(h1, h2, h3, h4, h5, h6).is-style-klay-page-title {
	margin: 0;
	color: var(--klay-green);
	font-family: Prata, serif;
	font-size: 40px;
	font-weight: 400;
	line-height: 40px;
	word-spacing: 3px;
}

@media (max-width: 767px) {
	:root :is(h1, h2, h3, h4, h5, h6).is-style-klay-page-title {
		word-spacing: 2px;
	}

	:root :is(h1, h2, h3, h4, h5, h6).is-style-klay-title {
		margin-bottom: 20px;
		padding: 10px;
		line-height: 1.2;
	}
}

/* ==========================================================================
   Home banner (Woodmart Slider with the "klay-hero" class)
   Button sizes and positions follow the old 1240px-wide banner grid and scale
   with the screen below that width; phones use a 480px grid.
   ========================================================================== */

.klay-hero .wd-slide {
	overflow: hidden;
}

/* Buttons are placed against the whole slide, not Woodmart's padded content box. */
.klay-hero .wd-slide {
	padding: 0;
}

.klay-hero .wd-slide-container {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

.klay-hero .klay-hero-buttons {
	--u: min(1px, calc(100vw / 1240));
	position: absolute;
	top: calc(421 * var(--u));
	right: 0;
	left: 0;
	flex-wrap: nowrap;
	align-items: flex-start;
	gap: calc(120.4 * var(--u));
	width: min(1240px, 100%);
	margin: 0 auto;
	padding-left: calc(255 * var(--u));
}

.klay-hero .klay-hero-buttons .wp-block-button {
	margin: 0;
}

.wp-block-button.is-style-klay-banner > .wp-block-button__link {
	padding: 0 calc(50 * var(--u, 1px));
	border: 1px solid transparent;
	border-radius: 0;
	font-family: Lato, sans-serif;
	font-size: calc(18 * var(--u, 1px));
	font-weight: 700;
	line-height: calc(50 * var(--u, 1px));
	letter-spacing: calc(1.8 * var(--u, 1px));
	text-transform: capitalize;
	position: relative;
}

/* Offset outer frame in the button's own background colour (the ring is masked out of an inherited background). */
.wp-block-button.is-style-klay-banner > .wp-block-button__link::before {
	content: "";
	position: absolute;
	top: -30%;
	left: 50%;
	width: 90%;
	height: 160%;
	padding: 1px;
	background: inherit;
	transform: translateX(-50%);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
	pointer-events: none;
}

.klay-hero .klay-hero-buttons .wp-block-button:nth-child(2) {
	margin-top: calc(3 * var(--u));
}

.klay-hero .klay-hero-buttons .wp-block-button:nth-child(2) > .wp-block-button__link {
	padding-inline: calc(30 * var(--u));
}

/* Tablet height follows the old banner: 472px at 768 up to 630px at 1024. */
@media (min-width: 768px) and (max-width: 1024px) {
	.klay-hero .wd-slide {
		min-height: calc(61.72vw - 2px) !important;
	}
}

@media (max-width: 767px) {
	.klay-hero .klay-hero-buttons {
		--u: calc(100vw / 480);
		top: calc(153 * var(--u));
		flex-direction: column;
		align-items: center;
		gap: calc(88.5 * var(--u));
		padding-left: 0;
	}

	.klay-hero .klay-hero-buttons .wp-block-button:nth-child(n) {
		margin-top: 0;
	}

	.klay-hero .klay-hero-buttons .wp-block-button > .wp-block-button__link {
		width: calc(267 * var(--u));
		padding: 0;
		font-size: calc(15 * var(--u));
		line-height: calc(43 * var(--u));
		letter-spacing: 0;
	}

	.klay-hero .klay-hero-buttons .wp-block-button:nth-child(2) > .wp-block-button__link {
		font-size: calc(16 * var(--u));
		line-height: calc(44 * var(--u));
	}
}

/* ==========================================================================
   Home sections
   ========================================================================== */

.klay-block-page .entry-content .klay-home-intro > h2 {
	margin-bottom: 0;
}

.klay-block-page .entry-content .klay-home-intro > p {
	margin: 32px 0 20px;
}

.klay-home-images .wp-block-columns {
	gap: 20px;
	margin: 0;
}

.klay-home-images .wp-block-image {
	margin: 0;
	text-align: center;
}

/* Core Columns stack below 782px; the old design keeps the images side by side down to 768px. */
@media (min-width: 768px) and (max-width: 781px) {
	.klay-home-images .wp-block-columns {
		flex-wrap: nowrap !important;
	}

	.klay-home-images .wp-block-columns > .wp-block-column {
		flex-basis: 0 !important;
		flex-grow: 1;
	}
}

@media (max-width: 767px) {
	.klay-block-page .klay-home-intro > * {
		max-width: none;
	}

	.klay-block-page .entry-content .klay-home-intro > p {
		margin: 22px 0 0;
	}

	:root .klay-home-projects > .is-style-klay-title {
		padding: 15px 0 25px;
	}
}

/* ==========================================================================
   Page sections
   ========================================================================== */

/* Sub-menu (Navigation block with the "klay-subnav" class), e.g. the Why Klay menu. */
.klay-subnav,
.klay-subnav .wp-block-navigation__container {
	gap: 0;
}

.klay-subnav .wp-block-navigation-item {
	margin: 0;
}

.wp-block-navigation.klay-subnav .wp-block-navigation-item__content {
	padding: 15px;
	color: var(--klay-clay);
	font-family: Lato, sans-serif;
	font-size: 15px;
	font-weight: 400;
	line-height: 15px;
	text-transform: uppercase;
}

.wp-block-navigation.klay-subnav .wp-block-navigation-item__content:hover,
.wp-block-navigation.klay-subnav .current-menu-item > .wp-block-navigation-item__content {
	color: var(--klay-stone);
}

/* Post cards (Query Loop with the "klay-post-cards" class): two columns, one on tablets and phones. */
.klay-post-cards {
	padding-inline: 10px;
}

.klay-post-cards .wp-block-post-template {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 30px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.klay-post-cards .wp-block-post-template > li {
	margin: 0;
}

.klay-post-cards .wp-block-post-featured-image {
	margin: 0 0 20px;
	overflow: hidden;
}

.klay-post-cards .wp-block-post-featured-image img {
	transition: transform 0.3s ease;
}

.klay-post-cards .wp-block-post-featured-image:hover img {
	transform: scale(1.05);
}

.klay-post-cards .wp-block-post-title {
	margin: 0 0 15px;
	padding-top: 4px;
	color: var(--klay-green);
	font-family: Lato, sans-serif;
	font-size: 15px;
	font-weight: 400;
	line-height: 30px;
	text-transform: uppercase;
}

.klay-post-cards .wp-block-post-title a {
	color: inherit;
}

.klay-post-cards .wp-block-post-title a:hover {
	color: var(--klay-clay);
}

.klay-post-cards .wp-block-post-excerpt {
	margin: 0 0 20px;
	color: #666;
	font-family: Lato, sans-serif;
	font-size: 14px;
	font-weight: 300;
	line-height: 21px;
}

.klay-post-cards .wp-block-post-excerpt__excerpt {
	margin: 0;
}

.klay-post-cards .wp-block-read-more {
	padding-top: 2px;
	color: var(--klay-clay);
	font-family: Lato, sans-serif;
	font-size: 11.9px;
	font-weight: 700;
	line-height: 30px;
	letter-spacing: 0.5px;
	text-decoration: underline;
	text-transform: uppercase;
}

.klay-post-cards .wp-block-read-more:hover {
	color: var(--klay-green);
	text-decoration: none;
}

@media (max-width: 768px) {
	.klay-post-cards .wp-block-post-template {
		grid-template-columns: minmax(0, 1fr);
		gap: 40px;
	}
}

/* Breadcrumbs block with the "klay-breadcrumbs" class. */
.klay-breadcrumbs,
.klay-breadcrumbs ol {
	margin: 0;
	padding: 0;
	color: var(--klay-clay);
	font-family: Lato, sans-serif;
	font-size: 16px;
	font-weight: 300;
	line-height: 30px;
	text-transform: uppercase;
}

.klay-breadcrumbs a {
	color: var(--klay-clay);
	font-size: 15px;
	font-weight: 400;
}

.wp-block-breadcrumbs.klay-breadcrumbs li:not(:last-child)::after {
	margin: 0 3.5px;
	opacity: 1;
}

/* Post grid (Query Loop with the "klay-post-grid" class): large square cards, two columns, one on phones. */
.klay-post-grid .wp-block-query {
	max-width: 736px;
	margin-inline: auto;
}

.klay-post-grid .wp-block-query > .wp-block-post-template {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 35px 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.klay-post-grid .wp-block-post-template > li {
	margin: 0;
}

.klay-post-grid .wp-block-post-featured-image {
	margin: 0 0 20px;
}

.klay-post-grid .wp-block-post-title {
	margin: 0 0 10px;
	color: var(--klay-green);
	font-family: Prata, serif;
	font-size: 30px;
	font-weight: 400;
	line-height: 32px;
	word-spacing: 3px;
	text-transform: uppercase;
}

.klay-post-grid .wp-block-post-title a {
	color: inherit;
}

.klay-post-grid .wp-block-read-more {
	padding-bottom: 1px;
	color: var(--klay-clay);
	font-family: Lato, sans-serif;
	font-size: 20px;
	font-weight: 400;
	line-height: 32px;
	word-spacing: 2px;
	text-decoration: underline;
	text-transform: uppercase;
}

/* "View more": the Next page link, styled as the Klay button; klay-nav.js loads the next posts in place. */
.wp-block-query > .wp-block-query-pagination.klay-load-more {
	margin: 30px 0 0;
}

.klay-load-more .wp-block-query-pagination-next {
	position: relative;
	display: inline-block;
	margin: 15px 0;
	padding: 10px 40px;
	border: 1px solid var(--klay-clay);
	color: var(--klay-clay);
	font-family: Lato, sans-serif;
	font-size: 20px;
	font-weight: 700;
	line-height: 20px;
	text-transform: uppercase;
}

.klay-load-more .wp-block-query-pagination-next::before {
	content: "";
	position: absolute;
	top: -12px;
	left: 50%;
	width: calc((100% + 2px) * 0.8915);
	height: calc(100% + 24px);
	border: 1px solid;
	border-color: inherit;
	transform: translateX(-50%);
}

.klay-load-more.is-loading {
	opacity: 0.5;
	pointer-events: none;
}

@media (max-width: 767px) {
	.klay-post-grid .wp-block-query > .wp-block-post-template {
		grid-template-columns: minmax(0, 1fr);
	}

	.klay-post-grid .wp-block-post-featured-image img {
		aspect-ratio: 2 / 1 !important;
	}
}

/* Resources pages: "General information" download boxes, then spec-sheet carousels (Woodmart Carousel). */
.klay-res-general,
.klay-res-specs {
	padding: 10px;
	text-align: center;
}

:root .entry-content > .klay-res-general {
	margin-top: 41px;
}

:root .klay-res-general > .klay-res-title {
	margin: 5% 0;
}

:root :is(.klay-res-general, .klay-res-specs) > .klay-res-title {
	color: var(--klay-green);
	font-family: Prata, serif;
	font-size: 50px;
	font-weight: 400;
	line-height: 40px;
	word-spacing: 3px;
	text-transform: none;
	padding-block: 2.5px;
}

:root .klay-res-specs > .klay-res-title {
	margin: 5% 0 calc(5% + 20px);
}

:root .entry-content > .klay-res-specs {
	margin-top: 50px;
}

.entry-content > .klay-res-specs--first {
	margin-left: max(0px, (100% - 1192px) / 2);
	width: calc(min(100%, 1192px) * 0.97987);
}

:root :is(.klay-res-general, .klay-res-specs) > .klay-res-label {
	margin: 0 0 60px;
	color: var(--klay-clay);
	font-family: Lato, sans-serif;
	font-size: 20px;
	font-weight: 300;
	line-height: 30px;
	word-spacing: 2px;
}

:root .klay-res-grid {
	gap: 20px;
	margin: 0;
	padding: 21px 0 0;
}

:root .klay-res-box > *,
:root .klay-res-box > .wp-block-image {
	margin: 0;
}

.klay-res-box .wp-block-image img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
}

:root .klay-res-box > .wp-block-heading {
	margin: 15px 0 0;
	color: var(--klay-green);
	font-family: Prata, serif;
	font-size: 18px;
	font-weight: 400;
	line-height: 23.4px;
}

:root :is(.klay-res-box, .klay-spec-card) > .wp-block-buttons {
	justify-content: center;
	height: 30px;
	margin: 15px 0 0;
	padding-top: 7px;
}

.klay-res-general--left .klay-res-box {
	text-align: left;
}

:root .klay-res-general--left .klay-res-box > .wp-block-buttons {
	justify-content: flex-start;
}

.klay-spec-card {
	padding: 30px;
	background-color: #fff;
	box-shadow: 0 0 4px rgba(0, 0, 0, 0.12);
}

.klay-spec-card > * {
	margin: 0;
}

:root .klay-spec-card > .wp-block-image {
	display: block;
	margin: 0;
}

.klay-spec-card .wp-block-image img {
	width: 100%;
	max-width: 300px;
	height: auto;
}

:root .klay-spec-card > p {
	margin: 15px 0 0;
	color: var(--klay-clay);
	font-family: Lato, sans-serif;
	font-size: 14px;
	font-weight: 700;
	line-height: 18.2px;
}

:root .wp-block-buttons > .wp-block-button.is-style-klay-link {
	display: flex;
}

:root .wp-block-button.is-style-klay-link > .wp-block-button__link {
	padding: 0;
	border: 0;
	border-bottom: 2px solid var(--klay-clay);
	border-radius: 0;
	background: none;
	color: #333;
	font-family: Lato, sans-serif;
	font-size: 13px;
	font-weight: 600;
	line-height: 15.6px;
	text-transform: uppercase;
}

@media (max-width: 767px) {
	:root :is(.klay-res-general, .klay-res-specs) > .klay-res-title {
		line-height: 50px;
		word-spacing: 2px;
		padding-block: 0;
	}

	:root .klay-res-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.entry-content > .klay-res-specs--first {
		width: auto;
		margin-left: 0;
	}
}

/* Why Klay post (synced pattern "Why Klay Post"): white panel pulled up over the page title, then the four Why Klay cards. */
.klay-single {
	position: relative;
	z-index: 1;
	display: flow-root;
	margin-top: -23%;
	padding: 10px;
	background-color: #fff;
}

.klay-single.wp-block-group > .klay-single__label {
	margin: 5% 0 0;
}

/* Resources posts have no page title banner to overlap, so the panel starts below the header. */
.klay-single.klay-single--resources {
	margin-top: 0;
}

html:root .klay-single.wp-block-group > * + * {
	margin-block: 20px 0;
}

:root .klay-single .klay-single__content > :is(.pntrst_main_before_after, :last-child, :has(+ .pntrst_main_before_after:last-child)) {
	margin-bottom: 0;
}

.klay-single .taxonomy-category,
.klay-related .taxonomy-category {
	color: var(--klay-clay);
	font-family: Lato, sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 30px;
	text-transform: uppercase;
}

:root .klay-single .taxonomy-category a,
:root .klay-related .taxonomy-category a {
	color: inherit;
	font-size: inherit;
}

:root .klay-single .wp-block-post-title,
:root .klay-related .wp-block-post-title {
	margin: 0;
	color: var(--klay-green);
	font-family: Prata, serif;
	font-size: 22px;
	font-weight: 400;
	line-height: 40px;
	word-spacing: 3px;
	text-transform: none;
}

.klay-single .wp-block-post-featured-image {
	text-align: center;
}

.klay-single .wp-block-post-featured-image img {
	width: auto;
	max-width: 100%;
	height: auto;
}

.klay-single .klay-single__content {
	width: 63%;
	margin-inline: auto;
}

.klay-related {
	margin-inline: calc(50% - 50vw);
	padding: 10px 15px;
}

.klay-related .wp-block-query {
	position: relative;
	padding-bottom: 62px;
}

.klay-related .wp-block-query > .wp-block-post-template {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.klay-related .wp-block-post-template > li {
	margin: 0;
	padding-bottom: 9px;
}

:root .klay-related .wp-block-post-template > li > * + * {
	margin-top: 20px;
}

.klay-related .wp-block-post-featured-image img {
	width: 100%;
	height: 266px;
	object-fit: cover;
}

.klay-related .wp-block-post-excerpt,
.klay-related .wp-block-post-excerpt__excerpt {
	margin-bottom: 0;
	color: #939598;
	font-family: Lato, sans-serif;
	font-size: 16px;
	font-weight: 300;
	line-height: 30px;
}

:root .klay-related .wp-block-post-template > li > .wp-block-read-more {
	display: inline-block;
	margin-top: 15px;
	border-bottom: 1px solid var(--klay-clay);
	color: var(--klay-clay);
	font-family: Lato, sans-serif;
	font-size: 15px;
	font-weight: 700;
	line-height: 30px;
	letter-spacing: 0.4px;
	text-transform: uppercase;
}

.klay-dots {
	position: absolute;
	bottom: 0;
	left: 0;
	display: none;
	justify-content: center;
	width: 100%;
	height: 12px;
}

.klay-dots button {
	flex: none;
	width: 12px;
	height: 12px;
	min-height: 0;
	margin: 0 6px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background-color: var(--klay-clay);
	opacity: 0.2;
	cursor: pointer;
}

.klay-dots button.is-active {
	opacity: 1;
}

@media (max-width: 1024px) {
	.klay-single {
		margin-top: -13%;
	}

	.klay-related .wp-block-post-featured-image img {
		height: 380px;
	}

	:root .klay-related li > .wp-block-post-title {
		margin-right: 1%;
	}

	:root .klay-related .wp-block-post-template > li > .wp-block-read-more {
		margin-top: 0;
	}
}

@media (max-width: 767px) {
	.klay-single {
		margin-top: -27%;
		padding: 0;
	}
	:root .klay-single .wp-block-post-title,
	:root .klay-related .wp-block-post-title {
		font-size: min(50px, calc((100vw - 30px) / 7.4));
		line-height: 1;
		word-spacing: 2px;
	}

	.klay-single .klay-single__content {
		width: 100%;
	}

	.klay-related .wp-block-query > .wp-block-post-template {
		display: flex;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
	}

	.klay-related .wp-block-query > .wp-block-post-template::-webkit-scrollbar {
		display: none;
	}

	.klay-related .wp-block-post-template > li {
		flex: 0 0 100%;
		scroll-snap-align: start;
		text-align: center;
	}

	.klay-related .taxonomy-category {
		text-align: center;
	}

	.klay-single.wp-block-group > .klay-single__label {
		margin-bottom: -14px;
	}

	.klay-related .wp-block-post-featured-image img {
		height: 410px;
	}

	.klay-dots {
		display: flex;
	}
}

/* Our company page. --klay-box is the boxed content width; section spacing is a share of it, as on the Elementor page. */
:is(.klay-block-page .entry-content, .editor-styles-wrapper) {
	--klay-box: min(1192px, 100vw - 30px);
}

:root :is(.entry-content, .is-root-container) > .klay-oc-intro {
	max-width: calc(var(--klay-box) * 0.96055);
	margin-top: 50px;
	padding: 10px 10px 60px;
	text-align: center;
}

:root :is(.entry-content, .is-root-container) .klay-oc-intro > * {
	margin: 30px 0 0;
}

:root :is(.entry-content, .is-root-container) .klay-oc-intro > .klay-oc-title {
	margin: 0;
	color: var(--klay-green);
	font-family: Prata, serif;
	font-size: 50px;
	font-weight: 400;
	line-height: 44px;
	word-spacing: 1px;
	text-transform: none;
}

:root :is(.entry-content, .is-root-container) .klay-oc-intro > .klay-oc-label {
	margin: 77px 0 0;
	color: var(--klay-clay);
	font-family: Lato, sans-serif;
	font-size: 20px;
	font-weight: 700;
	line-height: 30px;
	word-spacing: 2px;
	text-transform: uppercase;
}

:root :is(.entry-content, .is-root-container) .klay-oc-intro > .klay-oc-label + p {
	margin-top: 22px;
}

.klay-oc-intro > p,
.klay-oc-brand > p {
	color: #939598;
	font-family: Lato, sans-serif;
	font-size: 16px;
	font-weight: 300;
	line-height: 30px;
	word-spacing: 0.4px;
}

.klay-oc-banner img {
	display: block;
	width: 100%;
	max-width: 1300px;
	margin-inline: auto;
}

:root :is(.entry-content, .is-root-container) > .klay-oc-brand {
	max-width: calc(var(--klay-box) * 0.98826);
	margin-top: calc(var(--klay-box) * 0.02);
	padding: 10px 10px 30px;
	text-align: center;
}

:root :is(.entry-content, .is-root-container) > .klay-oc-brand--concept {
	max-width: var(--klay-box);
	margin-bottom: calc(var(--klay-box) * 0.04 + 10px);
	padding: 0;
}

:root :is(.entry-content, .is-root-container) .klay-oc-brand > * {
	margin: 30px auto 0;
}

:root :is(.entry-content, .is-root-container) .klay-oc-brand > .klay-oc-logo {
	display: block;
	margin: -20px 0 0;
}

:root :is(.entry-content, .is-root-container) .klay-oc-brand--concept > .klay-oc-logo {
	margin: 0;
}

.klay-oc-logo img {
	display: block;
	margin-inline: auto;
}

:root :is(.entry-content, .is-root-container) .klay-oc-brand > p {
	width: 70%;
	font-size: 14px;
}

:root :is(.entry-content, .is-root-container) .klay-oc-brand > .klay-oc-logo + p {
	margin-top: 10px;
}

:root :is(.entry-content, .is-root-container) .klay-oc-brand--concept > .klay-oc-logo + p {
	margin-top: 20px;
}

:root :is(.entry-content, .is-root-container) > .klay-oc-quote-wrap {
	margin-bottom: calc(var(--klay-box) * 0.05);
	padding: 10px 10px 10px;
}

:root :is(.entry-content, .is-root-container) .klay-oc-quote-wrap > .klay-oc-quote {
	width: 87.689%;
	margin: 0 auto;
	padding: 0;
	border: 0;
	text-align: center;
}

.klay-oc-quote::before {
	content: "\201C";
	display: block;
	height: 48px;
	color: rgb(249, 250, 250);
	font-family: "Times New Roman", serif;
	font-size: 80px;
	font-weight: 900;
	line-height: 1;
}

:root :is(.entry-content, .is-root-container) .klay-oc-quote > p {
	margin: 0;
	color: var(--klay-clay);
	font-family: Prata, serif;
	font-size: 20px;
	font-style: normal;
	font-weight: 300;
	line-height: 30px;
	letter-spacing: 0.4px;
	word-spacing: 0.4px;
}

:root :is(.entry-content, .is-root-container) > .klay-oc-stack {
	gap: 20px;
	max-width: calc((var(--klay-box) - 20px) * 0.76 - 20px);
	padding: 20px 0;
}

.klay-oc-stack > :first-child {
	grid-column: 1 / -1;
}

:root :is(.entry-content, .is-root-container) .klay-oc-stack > .wp-block-image {
	margin: 0;
}

.klay-oc-stack img,
.klay-oc-card img {
	display: block;
	width: 100%;
	height: auto;
}

:root :is(.entry-content, .is-root-container) > .klay-oc-contact {
	min-height: 476px;
	margin-block: 10px;
	padding: 10px;
}

.klay-oc-contact > .wp-block-cover__inner-container {
	padding-top: 70px;
}

:root :is(.entry-content, .is-root-container) .klay-oc-contact .klay-oc-contact__title {
	width: 60%;
	margin: 0 auto;
	color: #fff;
	font-family: Prata, serif;
	font-size: 50px;
	font-weight: 400;
	line-height: 65px;
	word-spacing: 0.4px;
	text-align: center;
	text-transform: none;
}

:root :is(.entry-content, .is-root-container) .klay-oc-contact .wp-block-buttons {
	justify-content: center;
	margin: 20px 0 0;
}

:root :is(.entry-content, .is-root-container) .klay-oc-contact .wp-block-button__link {
	word-spacing: 0.4px;
}

:root :is(.entry-content, .is-root-container) > .klay-oc-benefits {
	gap: 0;
	margin-bottom: calc(var(--klay-box) * 0.03);
	padding: 10px;
}

:root :is(.entry-content, .is-root-container) .klay-oc-benefits > .klay-oc-benefit {
	position: relative;
	margin: 0;
	padding: 10%;
	text-align: center;
}

:root :is(.entry-content, .is-root-container) .klay-oc-benefit > * {
	margin: 0;
}

.klay-oc-benefit .wp-block-image img {
	display: block;
	width: auto;
	height: 150px;
	margin-inline: auto;
}

:root :is(.entry-content, .is-root-container) .klay-oc-benefit > .wp-block-heading {
	margin-top: 15px;
	color: var(--klay-clay);
	font-family: Lato, sans-serif;
	font-size: 20px;
	font-weight: 700;
	line-height: 30px;
	letter-spacing: 0.4px;
	word-spacing: 2px;
	text-transform: uppercase;
}

.klay-oc-benefit > .wp-block-heading a,
.klay-oc-card > .wp-block-heading a {
	color: inherit;
	font: inherit;
}

/* The whole box links to the title's page. */
.klay-oc-benefit > .wp-block-heading a::after {
	content: "";
	position: absolute;
	inset: 0;
}

:root :is(.entry-content, .is-root-container) .klay-oc-benefit > p {
	margin-top: 10px;
	color: #939598;
	font-family: Lato, sans-serif;
	font-size: 16px;
	font-weight: 300;
	line-height: 30px;
	word-spacing: 0.4px;
}

:root :is(.entry-content, .is-root-container) > .klay-oc-media {
	padding: 10px 0;
}

:root :is(.entry-content, .is-root-container) .klay-oc-media > .klay-oc-media__title {
	margin: calc((var(--klay-box) - 20px) * 0.038) 0;
	color: var(--klay-green);
	font-family: Prata, serif;
	font-size: 36px;
	font-weight: 400;
	line-height: 40px;
	word-spacing: 3px;
	text-align: center;
	text-transform: capitalize;
}

:root :is(.entry-content, .is-root-container) .klay-oc-media > .klay-oc-cards {
	gap: 20px;
	max-width: calc((var(--klay-box) - 20px) * 0.76);
	margin: 0 auto;
	padding-top: 20px;
}

:root :is(.entry-content, .is-root-container) .klay-oc-card > * {
	margin: 0;
}

:root :is(.entry-content, .is-root-container) .klay-oc-card > .wp-block-image {
	margin: 0;
}

.klay-oc-card .wp-block-image a {
	display: block;
}

.klay-oc-card img {
	max-width: 427px;
}

:root :is(.entry-content, .is-root-container) .klay-oc-card > .wp-block-heading {
	margin: 9px 0 20px;
	color: var(--klay-clay);
	font-family: Lato, sans-serif;
	font-size: 15px;
	font-weight: 400;
	line-height: 30px;
	word-spacing: 2px;
	text-align: left;
	text-transform: uppercase;
}

@media (max-width: 1024px) {
	.klay-oc-benefits.wp-block-group-is-layout-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 767px) {
	:root :is(.entry-content, .is-root-container) > :is(.klay-oc-intro, .klay-oc-brand) {
		max-width: var(--klay-box);
	}

	:root :is(.entry-content, .is-root-container) > .klay-oc-stack {
		max-width: calc(var(--klay-box) - 40px);
	}

	.klay-oc-stack.wp-block-group-is-layout-grid,
	.klay-oc-cards.wp-block-group-is-layout-grid,
	.klay-oc-benefits.wp-block-group-is-layout-grid {
		grid-template-columns: 1fr;
	}

	:root :is(.entry-content, .is-root-container) .klay-oc-contact .klay-oc-contact__title {
		width: 100%;
		font-size: 30px;
		line-height: 30px;
		word-spacing: 2px;
	}

	:root :is(.entry-content, .is-root-container) .klay-oc-media > .klay-oc-media__title {
		line-height: 36px;
		word-spacing: 2px;
	}

	:root :is(.entry-content, .is-root-container) .klay-oc-media > .klay-oc-cards {
		max-width: calc(var(--klay-box) - 20px);
	}

	.klay-oc-card img {
		max-width: none;
	}
}

/* Page heading with a small label underneath (Press "Media", "Media Pack", project listings). */
:root :is(.entry-content, .is-root-container) > .klay-page-head {
	margin-top: 20px;
	padding: 10px;
	text-align: center;
}

:root :is(.entry-content, .is-root-container) .klay-page-head > * {
	margin: 0;
}

:root :is(.entry-content, .is-root-container) .klay-page-head > .wp-block-heading {
	color: var(--klay-green);
	font-family: Prata, serif;
	font-size: 50px;
	font-weight: 400;
	line-height: 40px;
	word-spacing: 3px;
	text-transform: none;
}

:root :is(.entry-content, .is-root-container) .klay-page-head > p {
	margin-top: 15px;
	color: var(--klay-clay);
	font-family: Lato, sans-serif;
	font-size: 15px;
	font-weight: 700;
	line-height: 30px;
	word-spacing: 0.4px;
	text-transform: uppercase;
}

/* Post grids (Query Loop with the "klay-news-grid" class): Press, Blog. */
:root :is(.entry-content, .is-root-container) > .klay-news-grid {
	padding: 10px;
}

:root :is(.entry-content, .is-root-container) > .klay-page-head + .klay-news-grid {
	margin-top: 0;
}

:root :is(.entry-content, .is-root-container) > .klay-news-grid:first-child,
:root :is(.entry-content, .is-root-container) > .pntrst_main_before_after + .klay-news-grid {
	margin-top: 20px;
}

:root .klay-news-grid > .wp-block-post-template {
	gap: 30px;
	margin: 0;
}

.klay-news-grid--2 > .wp-block-post-template.is-layout-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.klay-news-grid--3 > .wp-block-post-template.is-layout-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

:root .klay-news-grid .wp-block-post > * {
	margin: 0;
}

.klay-news-grid .wp-block-post-featured-image img {
	width: 100%;
	object-fit: cover;
}

:root .klay-news-grid .wp-block-post > .wp-block-post-featured-image {
	margin-bottom: 20px;
}

:root .klay-news-grid .wp-block-post > .wp-block-post-title {
	margin-bottom: 10px;
	color: var(--klay-green);
	font-family: Prata, serif;
	font-size: 22px;
	font-weight: 400;
	line-height: 30.8px;
	word-spacing: 0.4px;
	text-transform: none;
}

.klay-news-grid .wp-block-post-title a {
	display: inline;
	color: var(--klay-green);
	font-size: 28px;
	line-height: 32px;
	word-spacing: 3px;
	text-transform: capitalize;
}

.klay-news-grid .wp-block-post-title a:hover {
	color: var(--klay-clay);
}

:root .klay-news-grid .wp-block-post-excerpt__excerpt {
	margin: 0 0 15px;
	color: #555;
	font-family: Lato, sans-serif;
	font-size: 14px;
	font-weight: 300;
	line-height: 30px;
	word-spacing: 0.4px;
}

:root .klay-news-grid .wp-block-post > .wp-block-read-more {
	margin-bottom: 2px;
}

.klay-news-grid .wp-block-read-more {
	color: var(--klay-clay);
	font-family: Lato, sans-serif;
	font-size: 12.6px;
	font-weight: 700;
	line-height: 30px;
	text-decoration: underline;
	text-transform: uppercase;
}

.klay-news-grid .wp-block-read-more:hover {
	text-decoration: none;
}

:root :is(.klay-news-grid, .klay-social-grid) > .wp-block-query-pagination.klay-load-more {
	justify-content: center;
}

:is(.klay-news-grid, .klay-social-grid) .klay-load-more .wp-block-query-pagination-next {
	color: var(--klay-ink);
	line-height: 24px;
}

/* Project listings (Klay Brick â†’ Projects, Klay Concept â†’ Projects). */
:root :is(.entry-content, .is-root-container) > .klay-breadcrumbs--projects {
	margin-top: 30px;
	padding-inline: 10px;
}

.klay-breadcrumbs--projects,
.klay-breadcrumbs--projects ol {
	font-size: 15px;
	word-spacing: 1.5px;
}

:root :is(.entry-content, .is-root-container) > .klay-page-head--brick {
	margin-top: 102px;
	padding-bottom: 105px;
}

:root :is(.entry-content, .is-root-container) > .klay-page-head--concept {
	margin-top: 87px;
	padding-bottom: calc(var(--klay-box) * 0.05 + 15px);
}

:root :is(.entry-content, .is-root-container) > .klay-project-grid {
	padding: 10px;
}

:root .klay-project-grid > .wp-block-post-template {
	gap: 30px;
	margin: 0;
}

.klay-project-grid > .wp-block-post-template.is-layout-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

:root .klay-project-grid .wp-block-post {
	border: 1px solid rgba(161, 137, 115, 0.23);
}

:root .klay-project-grid .wp-block-post > * {
	margin: 0;
	padding-inline: 15px;
}

:root .klay-project-grid .wp-block-post > .wp-block-post-featured-image {
	margin-bottom: 40px;
	padding: 0;
}

.klay-project-grid .wp-block-post-featured-image img {
	width: 100%;
	object-fit: cover;
}

:root .klay-project-grid .wp-block-post > .wp-block-post-title {
	margin-bottom: 10px;
	padding-inline: 15px;
	font-family: Prata, serif;
	font-size: 21px;
	font-weight: 400;
	line-height: 29.4px;
	word-spacing: 0.4px;
	text-transform: none;
}

.klay-project-grid .wp-block-post-title a {
	display: inline;
	color: var(--klay-green);
	font-family: Lato, sans-serif;
	font-size: 15px;
	font-weight: 400;
	line-height: 30px;
	text-transform: uppercase;
}

:root .klay-project-grid .wp-block-post-excerpt__excerpt {
	margin: 0 0 15px;
	color: #555;
	font-family: Lato, sans-serif;
	font-size: 14px;
	font-weight: 300;
	line-height: 30px;
	word-spacing: 0.4px;
}

:root .klay-project-grid .wp-block-post > .wp-block-read-more {
	margin-bottom: 22px;
	color: var(--klay-clay);
	font-family: Lato, sans-serif;
	font-size: 12.6px;
	font-weight: 700;
	line-height: 30px;
	text-transform: uppercase;
}

:root .klay-project-grid > .wp-block-query-pagination.klay-load-more {
	justify-content: center;
}

.klay-project-grid .klay-load-more .wp-block-query-pagination-next {
	color: var(--klay-ink);
	line-height: 24px;
}

@media (max-width: 767px) {
	.klay-project-grid > .wp-block-post-template.is-layout-grid {
		grid-template-columns: 1fr;
	}

	:root :is(.entry-content, .is-root-container) > .klay-page-head--brick {
		margin-top: 101px;
		padding-bottom: 120px;
	}

	:root :is(.entry-content, .is-root-container) > .klay-page-head--concept {
		margin-top: 94px;
		padding-bottom: 28px;
	}
}

/* Social Media page: Query Loop of Social posts with page numbers. */
:root :is(.entry-content, .is-root-container) > .klay-breadcrumbs--social {
	margin-top: 30px;
	padding-inline: 10px;
}

:root :is(.entry-content, .is-root-container) > .klay-page-head--social {
	margin-top: calc(var(--klay-box) * 0.05 + 27px);
	padding-bottom: calc(var(--klay-box) * 0.05 + 15px);
}

:root :is(.entry-content, .is-root-container) > .klay-social-grid {
	padding: 10px;
}

:root .klay-social-grid > .wp-block-post-template {
	gap: 20px;
	margin: 0;
}

.klay-social-grid > .wp-block-post-template.is-layout-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

:root .klay-social-grid .wp-block-post > * {
	margin: 0;
}

.klay-social-grid .wp-block-post-featured-image img {
	width: 100%;
	object-fit: cover;
}

:root .klay-social-grid .wp-block-post > .wp-block-post-featured-image {
	margin-bottom: 15px;
}

:root .klay-social-grid .wp-block-post-content {
	padding: 0;
}

:root .klay-social-grid .wp-block-post-content > * {
	margin: 0 0 10px;
	color: #939598;
	font-family: Lato, sans-serif;
	font-size: 16px;
	font-weight: 300;
	line-height: 30px;
	word-spacing: 0.4px;
}

:root .klay-social-grid .wp-block-post-content > :last-child {
	margin-bottom: 0;
}

:root .klay-social-grid .wp-block-post > .wp-block-buttons {
	margin-top: 24px;
	padding-bottom: 3px;
}

@media (max-width: 767px) {
	.klay-social-grid > .wp-block-post-template.is-layout-grid {
		grid-template-columns: 1fr;
	}

	:root :is(.entry-content, .is-root-container) > .klay-page-head--social {
		margin-top: 45px;
		padding-bottom: 28px;
	}
}

/* Contact page: cream details column (title, map, addresses) beside the enquiry form. */
:root :is(.entry-content, .is-root-container) > .klay-contact {
	gap: 0;
	max-width: none;
	margin: 0 max(-10px, (100% - 1212px) / 2);
	background-color: #fbf9f8;
	box-shadow: 0 0 0 100vmax #fbf9f8;
	clip-path: inset(0 -100vmax);
}

.klay-contact .gm-style-mtc {
	display: none;
}

/* NEXForms writes its white form background as an inline style. */
:root .klay-contact__form .v7_container {
	background: transparent !important;
}

:root .klay-contact.wp-block-columns > .wp-block-column {
	flex: 0 0 50%;
	min-width: 0;
}

:root .klay-contact > .klay-contact__info {
	padding: 50px 0 30px;
}

:root .klay-contact__info > * {
	margin: 0;
}

:root :is(.entry-content, .is-root-container) .klay-contact .klay-contact__title {
	margin: 0 0 31px;
	color: var(--klay-green);
	font-family: Prata, serif;
	font-size: 36px;
	font-weight: 400;
	line-height: 1.4;
	word-spacing: 0.4px;
	text-align: center;
	text-transform: none;
}

:root .klay-contact__info > .klay-contact__map {
	margin-bottom: 20px;
	padding: 26px;
}

.klay-contact__map .wd-map-container {
	height: 300px;
}

/* Place card over the map, like Google's embedded map. */
:root .klay-contact__info > .klay-contact__map {
	position: relative;
}

:root .klay-contact__map > .klay-map-card {
	position: absolute;
	top: 36px;
	left: 36px;
	z-index: 2;
	display: flex;
	align-items: center;
	gap: 8px;
	box-sizing: border-box;
	width: 300px;
	max-width: calc(100% - 72px);
	margin: 0;
	padding: 10px 10px 10px 12px;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 1px 4px -1px rgba(0, 0, 0, .3);
	font-family: Roboto, Arial, sans-serif;
	text-align: left;
}

:root .klay-contact__map > .klay-map-card > * {
	margin: 0;
}

:root .klay-map-card a {
	font-size: inherit;
	line-height: inherit;
}

:root .klay-map-card__text {
	flex: 1;
	min-width: 0;
}

:root .klay-map-card p {
	margin: 0;
	letter-spacing: 0;
	word-spacing: 0;
}

:root .klay-map-card__name {
	overflow: hidden;
	color: #202124;
	font-size: 14px;
	font-weight: 500;
	line-height: 20px;
	white-space: nowrap;
	text-overflow: ellipsis;
}

:root .klay-map-card :is(.klay-map-card__address, .klay-map-card__rating) {
	overflow: hidden;
	color: #5b5b5b;
	font-size: 12px;
	line-height: 18px;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.klay-map-card__rating a {
	color: var(--klay-clay);
	text-decoration: underline;
}

.klay-map-card__rating a::before {
	content: "\2605";
	display: inline-block;
	margin-right: 4px;
	color: #e7a500;
	text-decoration: none;
}

:root .klay-map-card__actions {
	display: flex;
	flex: none;
	gap: 8px;
}

:root .klay-map-card__actions a {
	display: block;
	width: 36px;
	height: 36px;
	overflow: hidden;
	border-radius: 50%;
	background: var(--klay-sand);
	color: transparent;
	font-size: 0;
}

.klay-map-card__actions a::before {
	content: "";
	display: block;
	width: 100%;
	height: 100%;
	background: var(--klay-clay);
	-webkit-mask: var(--klay-icon) center / 20px no-repeat;
	mask: var(--klay-icon) center / 20px no-repeat;
}

.klay-map-card__actions a:hover::before {
	background: var(--klay-ink);
}

.klay-map-card__open a {
	--klay-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19 19H5V5h7V3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z'/%3E%3C/svg%3E");
}

.klay-map-card__directions a {
	--klay-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21.71 11.29l-9-9a1 1 0 0 0-1.42 0l-9 9a1 1 0 0 0 0 1.42l9 9a1 1 0 0 0 1.42 0l9-9a1 1 0 0 0 0-1.42zM14 14.5V12h-4v3H8v-4a1 1 0 0 1 1-1h5V7.5l3.5 3.5-3.5 3.5z'/%3E%3C/svg%3E");
}

:root .klay-contact__info > .klay-contact__details {
	padding: 15px 0;
	text-align: center;
}

:root :is(.entry-content, .is-root-container) .klay-contact__details > * {
	margin: 0 0 20px;
}

:root :is(.entry-content, .is-root-container) .klay-contact__details > :last-child {
	margin-bottom: 0;
}

:root :is(.entry-content, .is-root-container) .klay-contact__details > h2 {
	color: var(--klay-clay);
	font-family: Lato, sans-serif;
	font-size: 20px;
	font-weight: 700;
	line-height: 30px;
	text-transform: uppercase;
}

:root :is(.entry-content, .is-root-container) .klay-contact__details > p {
	color: #939598;
	font-family: Lato, sans-serif;
	font-size: 16px;
	font-weight: 300;
	line-height: 30px;
}

:root .klay-contact > .klay-contact__form {
	padding: 20px 40px 10px 10px;
}

@media (max-width: 1024px) {
	:root :is(.entry-content, .is-root-container) > .klay-contact {
		display: block;
	}

	:root :is(.entry-content, .is-root-container) .klay-contact .klay-contact__title {
		margin-bottom: 10px;
		font-size: 22px;
	}

	:root .klay-contact__info > .klay-contact__map {
		margin-bottom: 0;
	}

	:root .klay-contact > .klay-contact__form {
		padding: 10px;
	}
}

@media (max-width: 767px) {
	:root :is(.entry-content, .is-root-container) .klay-contact .klay-contact__title {
		margin: 1px 0 11px;
		font-size: 20px;
	}
}

/* Project pages (Portfolio items). */
:root :is(.wd-single-project, .is-root-container) > :is(.klay-breadcrumbs--project, [class*="klay-project__"]) {
	margin: 0;
	padding-inline: 10px;
}

:root :is(.wd-single-project, .is-root-container) > .klay-breadcrumbs--project {
	margin-top: 20px;
}

:root .wd-page-title + .wd-content-layout .wd-single-project > .klay-breadcrumbs--project {
	margin-top: 30px;
}

.klay-breadcrumbs--project,
.klay-breadcrumbs--project ol {
	font-size: 15px;
	word-spacing: 1.5px;
}

:root :is(.wd-single-project, .is-root-container) > .klay-project__title {
	margin-top: 45px;
	color: var(--klay-green);
	font-family: Prata, serif;
	font-size: 38px;
	font-weight: 400;
	line-height: 40px;
	text-align: center;
	word-spacing: 2px;
}

:root :is(.wd-single-project, .is-root-container) > .klay-project__images {
	--wp--style--unstable-gallery-gap: 20px;
	gap: 20px;
	margin-top: 60px;
}

.klay-project__images img {
	width: 100%;
}

:root :is(.wd-single-project, .is-root-container) > :is(.klay-project__info, .klay-project__about) {
	color: var(--klay-clay);
	text-align: center;
}

:root :is(.wd-single-project, .is-root-container) > .klay-project__info {
	margin-top: 20px;
	font-size: 13px;
	line-height: 30px;
}

:root :is(.wd-single-project, .is-root-container) > .klay-project__about {
	margin-top: 30px;
	font-size: 15px;
	line-height: 30px;
}

:root :is(.klay-project__info, .klay-project__about) > p {
	margin: 0;
	color: inherit;
	font-size: inherit;
	line-height: inherit;
}

:root :is(.wd-single-project, .is-root-container) > .klay-project__products-title {
	margin-top: 50px;
	color: var(--klay-clay);
	font-family: Lato, sans-serif;
	font-size: 20px;
	font-weight: 300;
	line-height: 30px;
	text-align: center;
	text-transform: uppercase;
}

:root :is(.wd-single-project, .is-root-container) > .klay-project__products {
	margin-top: 60px;
	margin-bottom: 30px;
}

:root .klay-project__products > .wd-products {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px;
}

:root .klay-project__products > .wd-products > .wd-product {
	flex: 0 1 calc((100% - 60px) / 4);
	min-width: 0;
	max-width: 288px;
}

@media (max-width: 767px) {
	:root :is(.wd-single-project, .is-root-container) > .klay-project__images figure.wp-block-image:not(#individual-image) {
		width: 100%;
	}

	:root .klay-project__products > .wd-products > .wd-product {
		flex-basis: calc((100% - 20px) / 2);
	}
}

/* News and blog posts: the "Article" group holding the post content. */
:root .wd-single-post-header {
	margin-top: 40px;
}

/* Padding rather than margin: Woodmart zeroes the top margin of the first child in .wd-entry-content. */
:root .klay-article {
	padding: 30px 10px;
}

/* Older posts without the Article group: production has 20px gaps from an empty Pinterest plugin div. */
:root .single-post .wd-entry-content:not(:has(> .klay-article)) {
	padding-block: 20px;
}

:root .klay-article > :is(.wp-block-image, .wp-block-gallery) {
	margin-block: 40px;
}

:root .klay-article > .wp-block-gallery {
	--wp--style--unstable-gallery-gap: 20px;
	gap: 20px;
}

.klay-article .wp-block-gallery img {
	width: 100%;
}

:root .klay-article > .klay-article__images--narrow {
	max-width: 640px;
	margin-inline: auto;
}

:root .klay-article .wp-block-table {
	margin-bottom: 35px;
}

:root .klay-article .wp-block-table table {
	table-layout: auto;
}

:root .klay-article .wp-block-table :is(td, th) {
	padding: 15px 12px;
	border: 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.106);
}

/* Two-column (label / description) tables: production's pasted tables used a 22% first column. */
:root .klay-article .wp-block-table :is(td, th):first-child:nth-last-child(2) {
	width: 22%;
}

:root .klay-article > :last-child {
	margin-bottom: 0;
}

@media (max-width: 767px) {
	:root .klay-article > .wp-block-gallery figure.wp-block-image:not(#individual-image) {
		width: 100%;
	}
}

/* Post category label (Woodmart single post). */
.wd-post-cat.wd-style-with-bg {
	padding: 0 10px;
	background-color: var(--klay-clay, #a18973);
	color: #fff;
	font-family: Lato, sans-serif;
	font-size: 12.8px;
	font-weight: 600;
	line-height: 25.6px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.wd-post-cat.wd-style-with-bg a,
.wd-post-cat.wd-style-with-bg a:hover,
.wd-post-cat.wd-style-with-bg a:focus {
	color: #fff;
	font: inherit;
	letter-spacing: inherit;
	text-transform: inherit;
	text-decoration: none;
}

.wd-post-cat.wd-style-with-bg a:hover,
.wd-post-cat.wd-style-with-bg a:focus-visible {
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Single product page. */
:root .single-product-page > .klay-sp-crumbs {
	margin: 50px 0 0;
}

:root .single-product-page > .klay-sp-main {
	gap: 30px;
	margin: 37px 0 0;
}

/* Core Columns break words anywhere, which stacks the variation "Clear" link letter by letter. */
:root .klay-sp-main > .wp-block-column {
	word-break: normal;
	overflow-wrap: normal;
}

:root .klay-sp-main > .wp-block-column > * {
	margin-block: 0;
}

.klay-sp-media {
	position: relative;
}

:root .klay-sp-main .klay-sp-title {
	max-width: 80%;
	padding-right: 10px;
	margin-bottom: 20px;
}

:root .klay-sp-title .product_title {
	font-size: 28px;
	line-height: 40px;
	word-spacing: 3px;
	text-transform: none;
}

:root .klay-sp-main .klay-sp-divider {
	margin: 31px 0 20px;
	border: 0;
	border-top: 1px solid #f3eee9;
	opacity: 1;
}

:root .klay-sp-meta .meta-label {
	color: var(--klay-clay);
	font-family: Lato, sans-serif;
	font-size: 13px;
	font-weight: 300;
	line-height: 14px;
	word-spacing: 2px;
	text-transform: uppercase;
}

:root .klay-sp-main .klay-sp-share {
	margin-top: 8px;
}

:root .klay-sp-main .klay-sp-share .wd-label {
	flex: 0 0 auto;
	color: var(--klay-clay);
	font-family: Lato, sans-serif;
	font-size: 13px;
	font-weight: 700;
	line-height: 30px;
	word-spacing: 2px;
	text-transform: uppercase;
}

:root .single-product-page > .klay-sp-related {
	margin: 50px 0 0;
}

:root .klay-sp-related .klay-sp-related-title {
	position: relative;
	display: block;
	padding-bottom: 10px;
	color: var(--klay-green);
	font-family: Prata, Arial, Helvetica, sans-serif;
	font-size: 22px;
	font-weight: 400;
	line-height: 30.8px;
	word-spacing: normal;
	text-align: center;
	text-transform: none;
}

:root .klay-sp-related .klay-sp-related-title::after {
	content: "";
	position: absolute;
	bottom: -2px;
	left: 50%;
	width: 40px;
	height: 2px;
	margin: 0;
	border: 0;
	background: var(--klay-clay);
	transform: translateX(-50%);
}

:root .klay-sp-related > * {
	margin-block: 0;
}

/* The carousel pulls itself up 15px. */
:root .klay-sp-related > .klay-sp-related-title {
	margin-bottom: 31px;
}

@media (max-width: 1024px) {
	:root .single-product-page > .klay-sp-main {
		gap: 20px;
		margin-top: 27px;
	}

	:root .klay-sp-main .klay-sp-title {
		max-width: none;
	}
}

/* Core Columns stack below 782px; the old layout keeps gallery and summary side by side down to 768px. */
@media (min-width: 768px) and (max-width: 781px) {
	:root .single-product-page > .klay-sp-main {
		flex-wrap: nowrap !important;
	}

	:root .single-product-page > .klay-sp-main > .wp-block-column {
		flex-basis: 0 !important;
		flex-grow: 1;
	}
}

@media (max-width: 767px) {
	:root .single-product-page > .klay-sp-main {
		margin-top: 67px;
	}

	:root .klay-sp-title .product_title {
		line-height: 28px;
	}

	:root .klay-sp-main .klay-sp-divider {
		margin-top: 46px;
	}

	:root .klay-sp-related .klay-sp-related-title {
		font-size: 20px;
		line-height: 28px;
	}
}

/* Klay outline button (Press "Media Pack"). */
.wp-block-button.is-style-klay-outline > .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 5px 20px;
	border: 2px solid var(--klay-clay);
	border-radius: 0;
	background: transparent;
	color: var(--klay-clay);
	font-family: Lato, sans-serif;
	font-size: 13px;
	font-weight: 600;
	line-height: 15.6px;
	word-spacing: 0.4px;
	text-transform: uppercase;
}

.wp-block-button.is-style-klay-outline > .wp-block-button__link:hover {
	background: var(--klay-clay);
	color: #fff;
}

:root :is(.entry-content, .is-root-container) > .klay-press-pack {
	margin: 60px auto 40px;
	padding: 10px 0;
}

:root :is(.entry-content, .is-root-container) .klay-press-pack > .wp-block-heading {
	margin: 0;
	padding: 0 10px;
}

:root .klay-press-pack > .wp-block-buttons {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	justify-items: center;
	gap: 0;
	max-width: 799px;
	margin: 0 auto;
	padding: 35px 0 10px;
}

@media (max-width: 991px) {
	.klay-news-grid--2 > .wp-block-post-template.is-layout-grid {
		grid-template-columns: 1fr;
	}

	.klay-news-grid--3 > .wp-block-post-template.is-layout-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	:root :is(.entry-content, .is-root-container) .klay-page-head > .wp-block-heading {
		line-height: 50px;
		word-spacing: 2px;
	}

	:root :is(.entry-content, .is-root-container) .klay-page-head > p {
		margin-top: 10px;
	}

	.klay-news-grid--3 > .wp-block-post-template.is-layout-grid {
		grid-template-columns: 1fr;
	}

	:root .klay-press-pack > .wp-block-buttons {
		grid-template-columns: 1fr;
		row-gap: 20px;
		padding-top: 30px;
	}
}

/* Instagram strip (synced pattern "Instagram Strip", above the footer on every page but the home page). */
:is(.klay-site-footer, .editor-styles-wrapper) hr.wp-block-separator.klay-divider {
	width: 100%;
	max-width: none;
	height: 0;
	margin: 35px 0 25px;
	border: 0;
	border-top: 1px solid var(--klay-stone);
	opacity: 1;
}

/* ==========================================================================
   Site footer (synced pattern "Site Footer")
   ========================================================================== */

:is(.klay-site-footer, .editor-styles-wrapper) .klay-footer {
	color: var(--klay-text, #939598);
	font-family: Lato, sans-serif;
	font-size: 16px;
	font-weight: 300;
	line-height: 30px;
}

:is(.klay-site-footer, .editor-styles-wrapper) .klay-footer__columns {
	gap: 0;
	max-width: 1222px;
	margin: 0 auto;
	padding: 0 25px;
}

:is(.klay-site-footer, .editor-styles-wrapper) .klay-footer__columns > .wp-block-column {
	padding-block: 10px;
}

:is(.klay-site-footer, .editor-styles-wrapper) .klay-footer p {
	margin: 0 0 20px;
	color: inherit;
	font: inherit;
}

:is(.klay-site-footer, .editor-styles-wrapper) .klay-footer p:last-child {
	margin-bottom: 0;
}

:is(.klay-site-footer, .editor-styles-wrapper) .klay-footer__address {
	max-width: 394px;
	margin-inline: auto;
}

:is(.klay-site-footer, .editor-styles-wrapper) .klay-footer__address a {
	color: var(--klay-clay);
	font-size: 15px;
	font-weight: 400;
	text-transform: uppercase;
}

:is(.klay-site-footer, .editor-styles-wrapper) .klay-footer__menu {
	display: flex;
	justify-content: center;
}

:is(.klay-site-footer, .editor-styles-wrapper) .klay-footer-nav,
:is(.klay-site-footer, .editor-styles-wrapper) .klay-footer-nav .wp-block-navigation__container {
	gap: 0;
	font-size: 15px;
	font-weight: 400;
	line-height: 20px;
	text-transform: uppercase;
}

:is(.klay-site-footer, .editor-styles-wrapper) .klay-footer-nav .wp-block-navigation-item {
	width: 100%;
	margin: 0;
}

:is(.klay-site-footer, .editor-styles-wrapper) .klay-footer-nav .wp-block-navigation-item__content {
	display: block;
	width: 100%;
	padding: 13px 20px;
	color: var(--klay-clay);
	line-height: 20px;
}

:is(.klay-site-footer, .editor-styles-wrapper) .klay-footer-nav .wp-block-navigation-item__content:hover {
	color: var(--klay-stone);
}

:is(.klay-site-footer, .editor-styles-wrapper) .klay-footer__signup {
	padding-inline: 10px;
}

:is(.klay-site-footer, .editor-styles-wrapper) .klay-footer__signup .wp-block-buttons {
	margin: 10px 0 15px;
}

:is(.klay-site-footer, .editor-styles-wrapper) .klay-footer > .klay-footer__bar {
	margin-top: 50px;
	padding: 20px 10px;
}

/* Pages still built with Elementor drop the core block CSS. */
.klay-site-footer .has-text-align-center {
	text-align: center;
}


:is(.klay-site-footer, .editor-styles-wrapper) .klay-footer .klay-social {
	gap: 9px;
	margin: 0 0 20px;
	padding: 0;
}

:is(.klay-site-footer, .editor-styles-wrapper) .klay-footer .klay-social .wp-social-link,
:is(.klay-site-footer, .editor-styles-wrapper) .klay-footer .klay-social .wp-social-link:hover {
	box-sizing: border-box;
	width: 44px;
	height: 44px;
	margin: 0;
	border: 2px solid var(--klay-clay);
	border-radius: 50%;
	background-color: transparent;
	color: var(--klay-clay);
	transform: none;
}

:is(.klay-site-footer, .editor-styles-wrapper) .klay-footer .klay-social .wp-social-link a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	padding: 0;
	color: inherit;
}

:is(.klay-site-footer, .editor-styles-wrapper) .klay-footer .klay-social .wp-social-link svg {
	width: 22px;
	height: 22px;
	fill: currentColor;
}

:is(.klay-site-footer, .editor-styles-wrapper) .klay-footer p.klay-footer__copyright {
	font-size: 9px;
	word-spacing: 0.4px;
}

:is(.klay-site-footer, .editor-styles-wrapper) .klay-footer__copyright a {
	color: inherit;
	font-size: inherit;
	font-weight: 400;
	text-transform: uppercase;
}

@media (min-width: 768px) {
	:is(.klay-site-footer, .editor-styles-wrapper) .klay-footer__columns {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	:is(.klay-site-footer, .editor-styles-wrapper) .klay-footer__columns {
		padding: 0 25px;
	}

	:is(.klay-site-footer, .editor-styles-wrapper) .klay-footer__columns > .wp-block-column {
		padding-bottom: 0;
	}

	:is(.klay-site-footer, .editor-styles-wrapper) .klay-footer__columns > .wp-block-column:not(:first-child) {
		padding-top: 0;
	}

	:is(.klay-site-footer, .editor-styles-wrapper) .klay-footer__address {
		max-width: 414px;
		padding-left: 20px;
	}

	:is(.klay-site-footer, .editor-styles-wrapper) .klay-footer__menu {
		display: block;
	}

	:is(.klay-site-footer, .editor-styles-wrapper) nav.klay-footer-nav {
		padding-top: 10px;
	}

	:is(.klay-site-footer, .editor-styles-wrapper) .klay-footer__columns > .klay-footer__signup {
		padding-bottom: 20px;
	}

	:is(.klay-site-footer, .editor-styles-wrapper) .klay-footer-nav .wp-block-navigation-item__content {
		padding: 10px 20px;
	}

	:is(.klay-site-footer, .editor-styles-wrapper) .klay-footer__signup .wp-block-buttons {
		margin-top: 10px;
	}
}

/* ==========================================================================
   Form pages (group with the "klay-form-page" class): Enquiry Cart, Get a Quote
   A centred title above a plugin shortcode (Pi enquiry cart, NEX-Forms).
   ========================================================================== */

:root :is(.entry-content, .is-root-container) > .klay-form-page {
	padding: 60px 10px 10px;
}

:root :is(.entry-content, .is-root-container) > .klay-form-page--quote {
	padding-top: 70px;
}

:root :is(.entry-content, .is-root-container) .klay-form-page > * {
	max-width: none;
	margin-block: 0;
}

:root :is(.entry-content, .is-root-container) .klay-form-page--cart > .wp-block-heading {
	margin-bottom: 52px;
}

:root :is(.entry-content, .is-root-container) .klay-form-page > .klay-form-page__subtitle {
	margin-bottom: 10px;
	color: #a5a5a5;
	font-family: Lato, sans-serif;
	font-size: 18px;
	font-weight: 300;
	line-height: 30px;
}

:root :is(.entry-content, .is-root-container) .klay-form-page > .klay-form-page__title {
	margin-bottom: 40px;
	color: var(--klay-green);
	font-family: Prata, serif;
	font-size: 46px;
	font-weight: 400;
	line-height: 1.4;
	word-spacing: inherit;
	text-transform: none;
}

@media (max-width: 1024px) {
	:root :is(.entry-content, .is-root-container) > .klay-form-page--quote {
		padding-top: 71px;
	}

	:root :is(.entry-content, .is-root-container) .klay-form-page > .klay-form-page__subtitle {
		font-size: 14px;
	}

	:root :is(.entry-content, .is-root-container) .klay-form-page > .klay-form-page__title {
		font-size: 22px;
	}
}

@media (max-width: 767px) {
	:root :is(.entry-content, .is-root-container) > .klay-form-page--quote {
		padding-top: 72px;
	}

	:root :is(.entry-content, .is-root-container) .klay-form-page > .klay-form-page__subtitle {
		margin-bottom: 11px;
		font-size: 12px;
	}

	:root :is(.entry-content, .is-root-container) .klay-form-page > .klay-form-page__title {
		margin-bottom: 41px;
		font-size: 20px;
	}
}

/* ==========================================================================
   Policy pages (group with the "klay-policy" class): Privacy Policy
   Headings, paragraphs and lists use the theme's text styles; only the
   spacing and the tables need setting.
   ========================================================================== */

:root :is(.entry-content, .is-root-container) > .klay-policy {
	padding: 30px 10px 10px;
}

:root :is(.entry-content, .is-root-container) .klay-policy > * {
	max-width: none;
}

:root .klay-policy > .wp-block-table {
	margin: 0 0 35px;
}

:root .klay-policy > .wp-block-table :is(td, th) {
	padding: 15px 12px 35px;
	border: 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.106);
	line-height: 1.4;
	vertical-align: middle;
}

@media (max-width: 767px) {
	:root .klay-policy > .wp-block-table table {
		table-layout: auto;
	}
}

/* ==========================================================================
   Media Kit page (group with the "klay-media-kit" class): Klay Logos panel
   (Columns with a background colour) and image grids (Columns with the
   "klay-media-kit__grid" class). Linked images download the original file.
   ========================================================================== */
:root :is(.entry-content, .is-root-container) > .klay-page-head--media-kit {
	margin-top: 60px;
	padding: 20px;
}

:root :is(.entry-content, .is-root-container) > .klay-media-kit {
	padding: 0 10px 50px;
}

:root :is(.entry-content, .is-root-container) .klay-media-kit > * {
	max-width: none;
	margin-block: 0;
}

:root .klay-media-kit .wp-block-image {
	margin: 0;
	line-height: 0;
}

:root .klay-media-kit .wp-block-image img {
	vertical-align: top;
}

:root .klay-media-kit p {
	margin: 0;
}

:root .klay-media-kit > .klay-media-kit__heading {
	margin-top: 50px;
	color: var(--klay-green);
	font-family: Prata, serif;
	font-size: 22px;
	font-weight: 400;
	line-height: 1.4;
	text-transform: none;
}

:root .klay-media-kit > .klay-media-kit__heading:first-child {
	margin-top: 10px;
}

:root .klay-media-kit > .klay-media-kit__heading + * {
	margin-top: 10px;
}

:root .klay-media-kit > .klay-media-kit__logos {
	gap: 0;
	margin-inline: -10px;
	padding: 20px 10px;
}

:root .klay-media-kit__logos > .wp-block-column {
	box-sizing: border-box;
	padding: 0 10px;
}

@media (min-width: 782px) {
	:root .klay-media-kit > .klay-media-kit__logos > .wp-block-column {
		flex: 0 0 33.3333%;
	}
}

:root .klay-media-kit__logos > .wp-block-column:nth-child(3) {
	padding-left: 60px;
}

:root .klay-media-kit__logos .wp-block-image {
	margin-top: 20px;
}

:root .klay-media-kit__logos p + .wp-block-image {
	margin-top: 30px;
}

:root .klay-media-kit > .klay-media-kit__heading + .klay-media-kit__label {
	margin-top: 20px;
}

:root .klay-media-kit > .klay-media-kit__label:not(.klay-media-kit__heading + *) {
	margin-top: 70px;
}

:root .klay-media-kit > .klay-media-kit__grid {
	gap: 20px;
	padding: 0 10px;
}

:root .klay-media-kit > .klay-media-kit__label + .klay-media-kit__grid {
	margin-top: 30px;
}

:root .klay-media-kit > .klay-media-kit__grid + .klay-media-kit__grid {
	margin-top: 70px;
}

:root .klay-media-kit > .klay-media-kit__label + .klay-media-kit__grid + .klay-media-kit__grid {
	margin-top: 60px;
}

:root .klay-media-kit__family p + .wp-block-image {
	margin-top: 50px;
}

:root .klay-media-kit__lifestyle .wp-block-image img {
	width: 100%;
	height: auto;
}

@media (max-width: 767px) {
	:root .klay-media-kit > .klay-media-kit__heading {
		font-size: 20px;
	}

	:root .klay-media-kit > .klay-media-kit__logos {
		gap: 20px;
	}

	:root .klay-media-kit > .klay-media-kit__lifestyle {
		gap: 35px;
	}

	:root .klay-media-kit > .klay-media-kit__grid + .klay-media-kit__grid,
	:root .klay-media-kit > .klay-media-kit__label + .klay-media-kit__grid + .klay-media-kit__grid {
		margin-top: 45px;
	}

	:root :is(.entry-content, .is-root-container) > .klay-media-kit {
		padding-bottom: 20px;
	}
}

/* ==========================================================================
   Thank you page: message group ("klay-thanks") with a core Icon, then a
   full-width cream best sellers carousel ("klay-thanks-products").
   ========================================================================== */
:root :is(.entry-content, .is-root-container) > .klay-thanks {
	padding-top: 30px;
}

:root .klay-thanks > .klay-thanks__icon svg path {
	stroke: currentColor;
	stroke-width: 1.4px;
	stroke-linejoin: round;
}

:root :is(.entry-content, .is-root-container) .klay-thanks > p {
	margin: 89px 0 0;
}

:root :is(.entry-content, .is-root-container) > .klay-thanks-products {
	display: flow-root;
	margin-top: 70px;
	padding: 58px 0 29px;
}

:root .klay-thanks-products > .is-style-klay-title {
	margin: 0 0 40px;
	padding: 0;
	line-height: 40px;
}

@media (max-width: 1024px) {
	:root :is(.entry-content, .is-root-container) .klay-thanks > p {
		margin-top: 79px;
	}

	:root :is(.entry-content, .is-root-container) > .klay-thanks-products {
		margin-top: 60px;
		padding: 48px 0 0;
	}
}

@media (max-width: 767px) {
	:root :is(.entry-content, .is-root-container) .klay-thanks > p {
		margin-top: 47px;
	}

	:root :is(.entry-content, .is-root-container) > .klay-thanks-products {
		margin-top: 28px;
		padding-top: 27px;
	}

	:root .klay-thanks-products > .is-style-klay-title {
		margin-bottom: 32px;
		padding: 0 10px;
		line-height: 36px;
	}
}

/*
 * Relevanssi Live Search defaults width:auto (matches the narrow input).
 * Keep the dropdown readable and aligned to the search field.
 */
.klay-header .relevanssi-live-search-results {
	box-sizing: border-box;
	width: 360px !important;
	min-width: 280px !important;
	max-width: min(360px, calc(100vw - 24px));
	max-height: 360px;
	overflow-x: hidden;
	overflow-y: auto;
	border: 1px solid var(--klay-clay, #a18973);
	border-radius: 3px;
	background: #fff;
	box-shadow: 0 2px 10px rgba(62, 62, 62, 0.12);
	color: var(--klay-clay, #a18973);
	font-family: Lato, sans-serif;
	z-index: 100050;
}

.klay-header .relevanssi-live-search-results .relevanssi-live-search-result a,
.klay-header .relevanssi-live-search-results .relevanssi-live-search-result-status p {
	color: var(--klay-clay, #a18973);
}

.klay-header .relevanssi-live-search-results .rlv-has-spinner {
	border-color: var(--klay-clay, #a18973);
	border-right-color: transparent;
	margin: 1.25em auto;
}

.klay-header .relevanssi-live-search-results .rlv-has-spinner::after {
	background: var(--klay-clay, #a18973);
}
