/* Standard Kadence pages and posts; the custom landing template is excluded by body class. */
body.somatic-standard {
	--sc-standard-ink: #080908;
	--sc-standard-ink-soft: #10110f;
	--sc-standard-paper: #e9e6de;
	--sc-standard-paper-soft: #cbc7bc;
	--sc-standard-white: #f3f0e9;
	--sc-standard-muted: #aaa8a0;
	--sc-standard-line: rgba(243, 240, 233, .16);
	--sc-standard-accent: #a72a29;
	--sc-standard-accent-bright: #d45a52;
}

body.somatic-standard #masthead,
body.somatic-standard #masthead .site-header-row-container,
body.somatic-standard #masthead .site-header-row-container-inner {
	background: rgba(8, 9, 8, .96);
}

body.somatic-standard #masthead {
	border-bottom: 1px solid var(--sc-standard-line);
}

body.somatic-standard #masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start),
body.somatic-standard #masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start) > .site-header-row-container-inner {
	background: rgba(8, 9, 8, .88);
	border-bottom-color: var(--sc-standard-line);
	-webkit-backdrop-filter: blur(16px);
	backdrop-filter: blur(16px);
}

body.somatic-standard #masthead .site-header-row-container-inner > .site-container {
	width: min(calc(100% - clamp(2.5rem, 8vw, 9rem)), 86.25rem);
	max-width: none;
}

body.somatic-standard #masthead .site-header-row {
	min-height: 5.2rem;
}

body.somatic-standard #masthead .site-branding a.brand {
	display: inline-flex;
	align-items: center;
}

body.somatic-standard #masthead .sc-standard-logo,
body.somatic-standard #masthead .custom-logo {
	display: block;
	width: clamp(3.75rem, 5vw, 4.75rem);
	height: auto;
	aspect-ratio: 1;
	object-fit: contain;
}

body.somatic-standard .main-navigation .primary-menu-container > ul > li > a {
	color: var(--sc-standard-paper-soft);
	font-size: .72rem;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
}

body.somatic-standard .main-navigation .primary-menu-container > ul > li > a:hover,
body.somatic-standard .main-navigation .primary-menu-container > ul > li.current-menu-item > a {
	color: var(--sc-standard-white);
}

body.somatic-standard .main-navigation .primary-menu-container > ul > li.current-menu-item > a {
	box-shadow: inset 0 -1px 0 var(--sc-standard-accent);
}

body.somatic-standard .sc-standard-language-item {
	display: flex;
	align-items: center;
	margin-left: .65rem;
}

body.somatic-standard .sc-standard-language-switcher {
	display: inline-flex;
	align-items: center;
	gap: .55rem;
	font-size: .7rem;
	font-weight: 700;
	letter-spacing: .14em;
}

body.somatic-standard .sc-standard-language-link {
	color: var(--sc-standard-muted);
	text-decoration: none;
}

body.somatic-standard .sc-standard-language-link:hover,
body.somatic-standard .sc-standard-language-link:focus-visible,
body.somatic-standard .sc-standard-language-link.is-current {
	color: var(--sc-standard-white);
}

body.somatic-standard .sc-standard-language-link.is-current {
	text-decoration: underline;
	text-decoration-color: var(--sc-standard-accent);
	text-underline-offset: .4em;
}

body.somatic-standard .sc-standard-language-link.is-unavailable {
	opacity: .42;
}

body.somatic-standard .sc-standard-language-separator {
	color: rgba(243, 240, 233, .3);
}

body.somatic-standard.somatic-legal .entry-hero .hero-container.site-container {
	padding-top: clamp(2.25rem, 4vw, 3.25rem);
	padding-bottom: clamp(1.75rem, 3vw, 2.5rem);
}

body.somatic-standard.somatic-legal .entry-title {
	font-size: clamp(2.5rem, 5vw, 4.25rem);
}

body.somatic-standard.somatic-legal .entry-hero .entry-header {
	min-height: 0;
}

body.somatic-standard .site-footer-wrap,
body.somatic-standard .site-footer-row-container,
body.somatic-standard .site-footer-row-container-inner {
	background: var(--sc-standard-ink);
}

body.somatic-standard .site-footer-wrap {
	border-top: 1px solid var(--sc-standard-line);
}

body.somatic-standard .site-footer-row-container-inner > .site-container {
	width: 100%;
	max-width: none;
	padding-inline: clamp(1.25rem, 4vw, 4.5rem);
}

body.somatic-standard .site-footer-section,
body.somatic-standard .footer-widget-area,
body.somatic-standard .footer-widget-area-inner,
body.somatic-standard .footer-html,
body.somatic-standard .footer-html-inner {
	width: 100%;
}

body.somatic-standard .site-footer-row {
	min-height: auto;
	padding-block: 3rem;
}

body.somatic-standard .footer-html-inner p {
	text-transform: none;
}

body.somatic-standard .sc-standard-footer {
	display: grid;
	grid-template-columns: auto 1fr auto;
	grid-template-rows: auto auto;
	align-items: end;
	gap: 1.1rem 3rem;
	width: 100%;
	color: var(--sc-standard-muted);
	font-size: .72rem;
	letter-spacing: normal;
	text-align: left;
	text-transform: none;
}

body.somatic-standard .sc-standard-footer p {
	margin: 0;
	color: inherit;
	font-size: inherit;
	letter-spacing: normal;
	text-transform: none;
}

body.somatic-standard .sc-standard-footer-logo {
	grid-row: 1 / 3;
	align-self: center;
}

body.somatic-standard .sc-standard-footer-logo .sc-standard-logo,
body.somatic-standard .sc-standard-footer-logo .custom-logo {
	display: block;
	width: clamp(3.75rem, 5vw, 4.75rem);
	height: auto;
	aspect-ratio: 1;
	object-fit: contain;
}

body.somatic-standard .sc-standard-footer-brand {
	color: var(--sc-standard-paper-soft);
}

body.somatic-standard .sc-standard-footer-nav {
	display: flex;
	gap: 1.5rem;
	justify-content: flex-end;
}

body.somatic-standard .sc-standard-footer a {
	color: var(--sc-standard-muted);
	text-decoration: none;
}

body.somatic-standard .sc-standard-footer a:hover,
body.somatic-standard .sc-standard-footer a:focus-visible {
	color: var(--sc-standard-white);
}

body.somatic-standard .sc-standard-footer-copyright {
	grid-column: 3;
	text-align: right;
}

@media screen and (max-width: 1024px) {
	body.somatic-standard #masthead .site-header-row {
		min-height: 4.5rem;
	}

	body.somatic-standard #masthead .sc-standard-logo,
	body.somatic-standard #masthead .custom-logo {
		width: 3.75rem;
	}

	body.somatic-standard .popup-drawer .drawer-inner,
	body.somatic-standard .popup-drawer .drawer-content {
		background: var(--sc-standard-ink-soft);
		color: var(--sc-standard-white);
	}

	body.somatic-standard .popup-drawer .drawer-navigation a,
	body.somatic-standard .popup-drawer .menu-toggle-close,
	body.somatic-standard #mobile-toggle {
		color: var(--sc-standard-white);
	}

	body.somatic-standard .popup-drawer .drawer-navigation a {
		border-bottom-color: var(--sc-standard-line);
		font-family: "Iowan Old Style", Baskerville, "Times New Roman", serif;
	}

	body.somatic-standard .popup-drawer .sc-standard-language-item {
		display: block;
		margin: 1.5rem 1.5rem 0;
	}

	body.somatic-standard .popup-drawer .sc-standard-language-switcher {
		font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
	}
}

@media screen and (max-width: 767px) {
	body.somatic-standard.somatic-legal .entry-hero .hero-container.site-container {
		padding-top: 2rem;
		padding-bottom: 1.6rem;
	}

	body.somatic-standard .sc-standard-footer {
		grid-template-columns: auto 1fr;
	}

	body.somatic-standard .sc-standard-footer-logo {
		grid-row: 1 / 4;
	}

	body.somatic-standard .sc-standard-footer-nav {
		justify-content: flex-start;
		flex-wrap: wrap;
	}

	body.somatic-standard .sc-standard-footer-copyright {
		grid-column: 2;
		text-align: left;
	}
}

@media screen and (max-width: 600px) {
	body.somatic-standard .site-footer-row {
		padding-block: 2.5rem;
	}

	body.somatic-standard .sc-standard-footer {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 1.25rem;
	}

	body.somatic-standard .sc-standard-footer-nav {
		gap: .8rem 1.25rem;
	}
}
