/*---------------------------------------------------------------------------*\
	#Typography
\*---------------------------------------------------------------------------*/

:root {
	color: var(--wp--custom--site--color);
	font-family: var(--wp--custom--site--font-family, ), sans-serif;
	line-height: var(--wp--custom--site--line-height);
}

body {
	/*
	 * Don't add the font size to the root element, because it affects the rem
	 * calculation but not the media queries.
	 */
	font-size: var(--wp--custom--site--font-size);
}


h1, .h1, .heading--1 {
	color: var(--wp--custom--heading--1--color);
	font-size: var(--wp--custom--heading--1--font-size);
	font-weight: var(--wp--custom--heading--1--font-weight);
	line-height: var(--wp--custom--heading--1--line-height);
}

h2, .h2, .heading--2 {
	color: var(--wp--custom--heading--2--color);
	font-size: var(--wp--custom--heading--2--font-size);
	font-weight: var(--wp--custom--heading--2--font-weight);
	line-height: var(--wp--custom--heading--2--line-height);
}

h3, .h3, .heading--3 {
	color: var(--wp--custom--heading--3--color);
	font-size: var(--wp--custom--heading--3--font-size);
	font-weight: var(--wp--custom--heading--3--font-weight);
	line-height: var(--wp--custom--heading--3--line-height);
}

h4, .h4, .heading--4 {
	color: var(--wp--custom--heading--4--color);
	font-size: var(--wp--custom--heading--4--font-size);
	font-weight: var(--wp--custom--heading--4--font-weight);
	line-height: var(--wp--custom--heading--4--line-height);
}

h5, .h5, .heading--5 {
	color: var(--wp--custom--heading--5--color);
	font-size: var(--wp--custom--heading--5--font-size);
	font-weight: var(--wp--custom--heading--5--font-weight);
	line-height: var(--wp--custom--heading--5--line-height);
}

h6, .h6, .heading--6 {
	color: var(--wp--custom--heading--6--color);
	font-size: var(--wp--custom--heading--6--font-size);
	font-weight: var(--wp--custom--heading--6--font-weight);
	line-height: var(--wp--custom--heading--6--line-height);
}





/*---------------------------------------------------------------------------*\
	#Elements
\*---------------------------------------------------------------------------*/

*,
*::before,
*::after {
	/* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing: inherit;
}


:root {
	background: var(--wp--custom--site--background);
	color: var(--wp--custom--site--color);
	box-sizing: border-box;
	margin: 0;
}


hr {
	margin: var(--wp--preset--spacing--large) 0;
	border: none;
	border-top: var(--wp--custom--border--width) solid var(--wp--custom--border--color);
	height: 0;
}





/*---------------------------------------------------------------------------*\
	#Elements
\*---------------------------------------------------------------------------*/

figure {
	display: block;
	margin: 0;
}

img, svg {
	display: block;
	height: auto;
	max-width: 100%;
}





/*---------------------------------------------------------------------------*\
	#Link
\*---------------------------------------------------------------------------*/

a, .link {
	color: var(--wp--preset--color--primary);
	outline: none;
	text-decoration: none;
	transition: .25s color, .25s background;
}

:is(a, .link):where(:focus, :hover, :active) {
	color: var(--wp--preset--color--secondary);
}





/*---------------------------------------------------------------------------*\
	#Separator
\*---------------------------------------------------------------------------*/

.separator {
	background: var(--wp--custom--border--color);
	border: none;
	height: var(--wp--custom--border--width);
	width: 100%;
}





/*---------------------------------------------------------------------------*\
	#Button
\*---------------------------------------------------------------------------*/

.pumacy--button,
.wp-element-button {
	background-color: var(--wp--preset--color--platinum);
	/* Todo: Define gradient for default buttons */
	background-position: 0 0;
	background-size: 200% 100%;
	border: none;
	border-radius: var(--wp--preset--spacing--x-small);
	color: var(--wp--preset--color--black);
	display: inline-block;
	font-weight: var(--wp--custom--font-weight--semi-bold);
	padding: var(--wp--preset--spacing--small) var(--wp--preset--spacing--medium);
	transition: .25s background, .25s border, .25s color;
}

	.pumacy--button:where(:focus, :hover, :active),
	.wp-element-button:where(:focus, :hover, :active) {
		background-color: var(--wp--preset--color--chinese-silver);
		background-position: 100% 0;
	}

.pumacy--button--secondary,
.is-style-secondary > :where(.wp-element-button) {
	background-color: var(--wp--preset--color--secondary);
	background-image: var(--wp--preset--gradient--secondary);
	color: var(--wp--preset--color--white);
}

	.pumacy--button--secondary:where(:focus, :hover, :active),
	.is-style-secondary > :where(.wp-element-button):where(:focus, :hover, :active) {
		background-color: var(--wp--preset--color--secondary-darker);
		color: var(--wp--preset--color--white);
	}

.pumacy--button--primary,
.is-style-primary > :where(.wp-element-button) {
	background-color: var(--wp--preset--color--primary);
	background-image: var(--wp--preset--gradient--primary);
	color: var(--wp--preset--color--white);
}

	.pumacy--button--primary:where(:focus, :hover, :active),
	.is-style-primary > :where(.wp-element-button):where(:focus, :hover, :active) {
		background-color: var(--wp--preset--color--primary-darker);
		color: var(--wp--preset--color--white);
	}





/*---------------------------------------------------------------------------*\
	#Site-Header
\*---------------------------------------------------------------------------*/

.site-header {
	box-shadow: 0 var(--wp--preset--spacing--small) var(--wp--preset--spacing--medium) rgba( 0, 0, 0, .1 );
	position: sticky;
	top: 0;
	z-index: 1000;
}

.site-header_wrapper {
	display: grid;
	gap: 0;
	grid-template-columns: 1fr;
}


.site-header__section {
	color: var(--wp--preset--color--white);
	padding: 0 var(--wp--preset--spacing--medium);
	position: relative;
}

.site-header__section_container {
	margin: 0 auto;
	max-width: 100%;
	width: var(--wp--custom--container--wide--width);
}

.site-header__section_wrapper {
	align-items: center;
	display: flex;
	gap: var(--wp--preset--spacing--medium);
	justify-content: space-between;
}


.site-header__section--main {
	background: var(--wp--preset--color--primary);
	background-image: var(--wp--preset--gradient--primary);
	padding-bottom: var(--wp--preset--spacing--x-small);
	z-index: 10;
}

	.site-header__section--main::after {
		background: var(--wp--preset--color--white);
		bottom: 0;
		content: '';
		height: var(--wp--preset--spacing--x-small);
		left: 0;
		mix-blend-mode: soft-light;
		opacity: .4;
		position: absolute;
		width: 100%;
	}


.site-header__section--bottom {
	background: var(--wp--preset--color--secondary);
	background-image: var(--wp--preset--gradient--secondary);
}






/*---------------------------------------------------------------------------*\
	#Branding
\*---------------------------------------------------------------------------*/

.branding_container {
	padding: var(--wp--preset--spacing--small) 0;
}

.branding_wrapper {
	align-content: center;
	display: grid;
	gap: var(--wp--preset--spacing--small);
	grid-template-columns: 1fr;
	min-height: 3.75rem;
}

.image__img--branding {
	height: 3.75rem;
	width: auto;
}





/*---------------------------------------------------------------------------*\
	#Certificate
\*---------------------------------------------------------------------------*/

.certificate_container {
	padding: var(--wp--preset--spacing--small) 0;
}

.certificate_wrapper {
	align-items: center;
	display: flex;
	gap: var(--wp--preset--spacing--medium);
	justify-content: end;
	line-height: 1.2;
}

.certificate img {
	height: 3.75rem;
}





/*---------------------------------------------------------------------------*\
	#Menu
\*---------------------------------------------------------------------------*/

.menu {
}

.menu_wrapper {
	display: flex;
	gap: var(--wp--preset--spacing--medium);
	list-style-type: none;
	margin: 0;
	padding: 0;
}


.menu :where(a) {
	color: inherit;
	text-decoration: none;
}





/*---------------------------------------------------------------------------*\
	#Menu--main, #Main-menu (Site-Header)
\*---------------------------------------------------------------------------*/

.main-menu > :where(.menu-item) > :where(a) {
	display: block;
	padding: var(--wp--preset--spacing--x-small) var(--wp--preset--spacing--x-small) var(--wp--preset--spacing--small);
	position: relative;
}
.main-menu > :where(.menu-item) > :where(a)::before {
	content: '';
	position: absolute;
	background-color: var(--wp--preset--color--white);
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	mix-blend-mode: soft-light;
	transition: opacity .25s ease;
	opacity: 0;
	z-index: 0;
}
.main-menu > :where(.menu-item) > :where(a):where(:focus,:hover,:active)::before,
.main-menu > :where(.current-menu-item) > :where(a)::before {
	opacity: .4;
}
.main-menu > :where(.menu-item) > :where(a)::after {
	content: '';
	position: absolute;
	background: var(--wp--preset--color--white);
	width: 100%;
	height: var(--wp--preset--spacing--x-small);
	bottom: 0;
	left: 0;
	mix-blend-mode: soft-light;
	z-index: 0;
	opacity: .4;
	border-radius: var(--wp--preset--spacing--x-small) var(--wp--preset--spacing--x-small) 0 0;
}




/*---------------------------------------------------------------------------*\
	#Site-Hero
\*---------------------------------------------------------------------------*/

.site-hero {
	padding: 0 var(--wp--preset--spacing--medium);
}

.site-hero_container {
	border-radius: 0 0 var(--wp--preset--spacing--x-small) var(--wp--preset--spacing--x-small);
	box-shadow: 0 var(--wp--preset--spacing--x-small) var(--wp--preset--spacing--small) rgba( 0, 0, 0, .1 );
	margin: 0 auto;
	max-width: var(--wp--style--global--wide-size);
	overflow: hidden;
}





/*---------------------------------------------------------------------------*\
	#Main
\*---------------------------------------------------------------------------*/

.main {
	min-height: 100vh;
	padding: 0 var(--wp--preset--spacing--medium);
}

.main_container {
	margin: 0 auto;
	max-width: 100%;
}





/*---------------------------------------------------------------------------*\
	#Content
\*---------------------------------------------------------------------------*/

.content_wrapper > :where(*) {
	margin: 0 auto;
	margin-block-end: 0;
	margin-block-start: var(--wp--preset--spacing--medium);
	max-width: var(--wp--style--global--content-size);
}

.content_wrapper > :where(:last-child) {
	margin-block-end: var(--wp--preset--spacing--medium);
}

.content_wrapper > :where(.alignwide) {
	max-width: var(--wp--style--global--wide-size);
}

.content_wrapper > :where(.alignfull) {
	margin-left: calc(var(--wp--style--root--padding-left) * -1);
	margin-right: calc(var(--wp--style--root--padding-right) * -1);
	max-width: none;
}





/*---------------------------------------------------------------------------*\
	#Site-Footer
\*---------------------------------------------------------------------------*/

.site-footer {
	box-shadow: 0 var(--wp--preset--spacing--small) var(--wp--preset--spacing--medium) rgba( 0, 0, 0, .1 );
	font-size: var(--wp--preset--font-size--small);
	position: relative;
	z-index: 100;
}

.site-footer_wrapper {
	display: grid;
	gap: 0;
	grid-template-columns: 1fr;
}


.site-footer__section {
	color: var(--wp--preset--color--white);
	padding: var(--wp--preset--spacing--medium);
	position: relative;
}

.site-footer__section_container {
	margin: 0 auto;
	max-width: 100%;
	width: var(--wp--custom--container--wide--width);
}

.site-footer__section_wrapper {
	align-items: center;
	display: flex;
	gap: var(--wp--preset--spacing--medium);
	justify-content: space-between;
}


.site-footer__section--main {
	background: var(--wp--preset--color--primary-2);
	background-image: var(--wp--preset--gradient--primary-2);
	padding-top: calc(var(--wp--preset--spacing--medium) + var(--wp--preset--spacing--x-small));
	z-index: 10;
}

.site-footer__section--main::before {
	background: var(--wp--preset--color--white);
	top: 0;
	content: '';
	height: var(--wp--preset--spacing--x-small);
	left: 0;
	mix-blend-mode: soft-light;
	opacity: .4;
	position: absolute;
	width: 100%;
}





/*---------------------------------------------------------------------------*\
	#Archive
\*---------------------------------------------------------------------------*/

.pumacy--archive_wrapper {
	display: grid;
	gap: var(--wp--preset--spacing--medium);
	grid-template-columns: repeat(1, 1fr);
}





/*---------------------------------------------------------------------------*\
	#Post
\*---------------------------------------------------------------------------*/

.pumacy--post_container {
	background: var(--wp--preset--color--white);
	border-radius: var(--wp--preset--spacing--x-small);
	box-shadow: var(--wp--preset--shadow--medium);
	height: 100%;
	padding: var(--wp--preset--spacing--small);
	transition: background-color .25s ease;
}


.pumacy--post__heading {
	color: var(--wp--preset--color--primary);
	font-size: var(--wp--custom--heading--3--font-size);
	font-weight: var(--wp--custom--heading--3--font-weight);
	line-height: var(--wp--custom--heading--3--line-height);
	margin: 0;
}

.pumacy--post__date {
	color: var(--wp--preset--color--gray);
	font-size: var(--wp--preset--font-size--small);
}

.pumacy--post__excerpt {
	font-size: var(--wp--preset--font-size--medium);
	margin-top: var(--wp--preset--spacing--small);
}