/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */


/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: 600;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}


/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

@font-face {
    font-family: 'Dm Sans';
    src: url('/wp-content/themes/huld/fonts/DMSans-VariableFont_opsz,wght.ttf') format('truetype');
    font-weight: 300 700;
    font-style: normal;
}

@font-face {
    font-family: 'Dm Mono';
    src: url('/wp-content/themes/huld/fonts/DMMono-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

:root {
	--theme-font: 'DM Sans', sans-serif;
	--heading-font: 'DM Sans', sans-serif;
	--special-font: 'DM Mono', sans-serif;
	--color-p: #00264B;

	--color-black: #000000;
	--color-white: #FFFFFF;
	--color-dark-blue: #00264B;
	--color-blue: #7CB2D3;
	--color-sand: #E6E1D5;
	--color-smoke: #E1E8EC;
	--color-olive: #b9bd5c;
	--color-orange: #f39200;
	--color-yellow: #f7d563;
	--color-burgund: #a33e47;
	--color-rose: #f08590;
	--color-mint: #98d1cb;

	--color-link: #7CB2D3;
	--color-link-hover: #00264B;

	--padding-top-large: clamp(60px, calc(1vw + 20px), 80px); /* Adjusts between 60px (sm) and 80px (xl) */
	--padding-top-medium: clamp(40px, calc(1vw + 10px), 60px); /* Adjusts between 40px (sm) and 60px (xl) */
	--padding-top-small: clamp(20px, calc(0.5vw + 10px), 30px); /* Adjusts between 20px (sm) and 30px (xl) */
	--padding-top-none: 0px;

	--padding-bottom-large: clamp(60px, calc(1vw + 20px), 80px); /* Adjusts between 60px (sm) and 80px (xl) */
	--padding-bottom-medium: clamp(40px, calc(1vw + 10px), 60px); /* Adjusts between 40px (sm) and 60px (xl) */
	--padding-bottom-small: clamp(20px, calc(0.5vw + 10px), 30px); /* Adjusts between 20px (sm) and 30px (xl) */
	--padding-bottom-none: 0px;
}

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: var(--color-p);
	font-family: var(--theme-font);
	font-size: 1rem;
	line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--heading-font);
	clear: both;
	font-weight: 400;
	margin-bottom: 15px;
	line-height: 1.2;
	color: var(--color-dark-blue);
}


.has-white-color h1,
.has-white-color h2,
.has-white-color h3,
.has-white-color h4,
.has-white-color h5,
.has-white-color h6,
.has-white-color p,
.has-white-color ul {
	color: var(--color-white);
}

h1 {
	font-size: clamp(36px, calc(36px + (72 - 36) * ((100vw - 576px) / (1400 - 576))), 72px);
	font-weight: 500;
}

h2, .block-single-hero h1 {
    font-size: clamp(26px, calc(26px + (38 - 26) * ((100vw - 576px) / (1400 - 576))), 38px);
}

h3 {
	font-size: clamp(20px, calc(20px + (30 - 20) * ((100vw - 576px) / (1400 - 576))), 30px);
}

h4, .lift h2, h2.section-title {
	font-size: clamp(18px, calc(20px + (24 - 18) * ((100vw - 576px) / (1400 - 576))), 24px);
}

h5 {
	font-size: clamp(16px, calc(16px + (18 - 16) * ((100vw - 576px) / (1400 - 576))), 18px);
}

p {
	margin-bottom: 1.5em;
}

.block-breadcrumbs p,
p.is-style-highlight {
	font-family: var(--special-font);
}

.block-breadcrumbs p {
	font-size: 14px !important;
	line-height: 1.4;
}

.block-breadcrumbs a {
	text-decoration: none;
	color: var(--color-blue);
}

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

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

body.disable-scroll {
    overflow: hidden;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

hr.wp-block-separator {
    border: none;
    border-top: none!important;
}

ul,
ol {
	margin: 0 0 1.5em 0em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

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

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

.padding-top-large {
    padding-top: var(--padding-top-large)
}

.padding-top-medium {
    padding-top: var(--padding-top-medium)
}

.padding-top-small {
    padding-top: var(--padding-top-small)
}

.no-padding-top {
    padding-top: var(--padding-top-none)
}

.padding-bottom-large {
    padding-bottom: var(--padding-bottom-large)
}

.padding-bottom-medium {
    padding-bottom: var(--padding-bottom-medium)
}

.padding-bottom-small {
    padding-bottom: var(--padding-bottom-small)
}

.no-padding-bottom {
    padding-bottom: var(--padding-bottom-none)
}

/* Links
--------------------------------------------- */
a {
	color: var(--color-violet);
	text-decoration-line: underline;
    text-underline-offset: 2px;
}

a:hover,
a:focus,
a:active {
	color: var(--color-p);
}

/* Forms
--------------------------------------------- */

a.button,
.wp-block-button a.wp-block-button__link.wp-element-button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid var(--color-dark-blue);
    border-radius: 4px;
    background: var(--color-dark-blue);
    color: var(--color-white);
    line-height: 1;
    padding: 16px 32px;
    font-weight: 500;
    font-size: 16px;
    text-decoration: none;
    transition: all 700ms cubic-bezier(.19,1,.22,1);
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center
}

a.button.button-ghost,
.wp-block-button.is-style-outline a.wp-block-button__link {
    background: transparent;
    border: 1px solid var(--color-dark-blue);
    color: var(--color-dark-blue);
}

a.button:after,
.wp-block-button a.wp-block-button__link.wp-element-button:after {
    content: '';
    background-image: url(images/arrow_white.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100%;
    display: inline-flex;
    width: 24px;
    height: 24px;
    margin-left: 7px;
    margin-right: 0;
    position: relative;
}

.wp-block-button a.wp-block-button__link.wp-element-button:hover,
.wp-block-button.is-style-outline a.wp-block-button__link:hover,
a.button.button-ghost:hover,
a.button:hover,
button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
    background: var(--color-blue)!important;
    border: 1px solid var(--color-blue);
    color: var(--color-white);
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: var(--color-p);
	border: 1px solid var(--color-smoke);
	border-radius: 3px;
	padding: 10px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: var(--color-p);
	border: 1px solid var(--color-sand);
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}


a.readmore {
	text-transform: uppercase;
	color: var(--color-blue);
	font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.5px;
	transition: all 700ms cubic-bezier(.19,1,.22,1);
}

.alert a  {
	text-transform: uppercase;
	color: var(--color-darkblue);
	font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.5px;
	transition: all 700ms cubic-bezier(.19,1,.22,1);
}

a.readmore:after {
	content: '';
    background-image: url(images/arrow_blue.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100%;
    display: inline-flex;
    width: 24px;
    height: 14px;
    margin-left: 2px;
    margin-right: 0;
    position: relative;
	transition: all 700ms cubic-bezier(.19,1,.22,1);
}

.alert a:after {
	content: '';
    background-image: url(images/arrow_darkblue.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100%;
    display: inline-flex;
    width: 24px;
    height: 14px;
    margin-left: 2px;
    margin-right: 0;
    position: relative;
	transition: all 700ms cubic-bezier(.19,1,.22,1);
}

a.readmore:hover {
	color: var(--color-dark-blue);
	transition: all 700ms cubic-bezier(.19,1,.22,1);
}

a.readmore:hover:after {
	background-image: url(images/arrow_darkblue.svg);
	transition: all 700ms cubic-bezier(.19,1,.22,1);
}

.entry-meta {
	color: var(--color-blue);
	font-family: var(--special-font);
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

.site {
	position: relative;
}

.site:before {
	content: '';
    width: 100%;
    height: 15px;
    background-color: var(--color-white);
    position: absolute;
    top: -15px;
    border-radius: 16px 16px 0 0;
}


/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.nav-container {
	position: relative;
	width: 100%;
	background-color: var(--color-dark-blue);
	z-index: 3;
	transition: all .3s ease-in-out;
	padding-bottom: 10px;
	padding-top: 10px;
}

.nav-container:after {
	content: '';
	display: block;
	width: 100%;
	background-color: var(--color-dark-blue);
	height: 15px;
    bottom: -10px;
    position: absolute;
	border-radius: 0 0 12px 12px;
}

.site-header {
	align-items: center;
	display: flex;
	justify-content: space-between;
	margin-left: auto;
	margin-right: auto;
	position: relative;
	z-index: 15;
	transition: all 0.3s ease-in-out;
	padding-right: 40px;
    padding-left: 40px;
}


.main-navigation ul {
	margin: 0;
	padding: 0;
	list-style: none;
	font-family: var(--special-font);
}

.main-navigation ul li {
	position: relative;
}

.main-navigation a {
	color: var(--color-white);
	text-decoration: none;
}

.main-navigation ul ul {
	display: none;
	margin-top: 0px;
	margin-left: 10px;
}

.main-navigation ul ul ul {
	display: none;
	margin-left: 25px;
}

button.menu-button {
	background-color: transparent;
	background: none;
	border: 0;
	-webkit-appearance: none;
	-moz-appearance: none;
	cursor: pointer;
	content: "";
	z-index: 99;
	position: relative;
	top: 4px;
	border-radius: 0;
	padding: 0 10px;
	background: transparent !important;
}

.menu-button:before,
.menu-button.toggled-on:before {
	margin-right: 5px;
}

.no-js .menu-button {
	display: none;
}

/*! Hamburgers */

.hamburger {
	display: inline-block;
	cursor: pointer;
	transition-property: opacity, filter;
	transition-duration: 0.15s;
	transition-timing-function: linear;
	font: inherit;
	color: inherit;
	text-transform: none;
	background-color: transparent;
	border: 0;
	margin: 0;
	overflow: visible;
}

.hamburger.toggled-on .hamburger-inner,
.hamburger.toggled-on .hamburger-inner::before,
.hamburger.toggled-on .hamburger-inner::after {
	background-color: var(--color-rose);
}

.hamburger-box {
	width: 2.5rem;
	display: inline-block;
	position: relative;
}

.hamburger-inner {
	display: block;
	top: 50%;
	margin-top: -0.1rem;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
	width: 2.0rem;
	height: 2px;
	background-color: var(--color-white);
	border-radius: 0;
	position: absolute;
	transition-property: transform;
	transition-duration: 0.15s;
	transition-timing-function: ease;
}

.hamburger-inner::before,
.hamburger-inner::after {
	content: "";
	display: block;
}

.hamburger-inner::before {
	top: -0.5rem;
}

.hamburger-inner::after {
	bottom: -1rem;
}

.hamburger--collapse .hamburger-inner,
.hamburger .hamburger-inner {
	top: auto;
	bottom: 0;
	transition-duration: 0.13s;
	transition-delay: 0.13s;
	transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.hamburger--collapse .hamburger-inner::after,
.hamburger .hamburger-inner::after {
	top: -1rem;
	transition: top 0.2s 0.2s cubic-bezier(0.33333, 0.66667, 0.66667, 1), opacity 0.1s linear;
}

.hamburger--collapse .hamburger-inner::before,
.hamburger .hamburger-inner::before {
	transition: top 0.12s 0.2s cubic-bezier(0.33333, 0.66667, 0.66667, 1), transform 0.13s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.hamburger--collapse.toggled-on .hamburger-inner,
.toggled-on.hamburger .hamburger-inner {
	transform: translate3d(0, -0.7rem, 0) rotate(-45deg);
	transition-delay: 0.22s;
	transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
}

.hamburger--collapse.toggled-on .hamburger-inner::after,
.toggled-on.hamburger .hamburger-inner::after {
	top: 0;
	opacity: 0;
	transition: top 0.2s cubic-bezier(0.33333, 0, 0.66667, 0.33333), opacity 0.1s 0.22s linear;
}

.hamburger--collapse.toggled-on .hamburger-inner::before,
.toggled-on.hamburger .hamburger-inner::before {
	top: 0;
	transform: rotate(-90deg);
	transition: top 0.1s 0.16s cubic-bezier(0.33333, 0, 0.66667, 0.33333), transform 0.13s 0.25s cubic-bezier(0.215, 0.61, 0.355, 1);
}

/*! Mobile menu */

@media (max-width: 991px) {

	.site-header-menu .main-navigation {
		opacity: 0;
		visibility: hidden;
		position: fixed;
		pointer-events: none;
		transition: all 0.3s ease-in-out;
		-webkit-transform: translateX(100vh);
		-ms-transform: translateX(100vh);
		transform: translateX(100vh);
		left: 0;
		right: 0;
		background-color: var(--color-dark-blue);
		height: 100vh;
		margin: 0;
		top: 135px;
		overflow: auto;
		padding-bottom: 75px;
		-webkit-overflow-scrolling: touch;
		z-index: 9;
	}

	.site-header-menu.toggled-on .main-navigation {
		pointer-events: none;
		transition: all 0.3s ease-in-out;
		visibility: visible;
		opacity: 1;
		pointer-events: all;
		-webkit-transform: translateX(0px);
		-ms-transform: translateX(0px);
		transform: translateX(0px);
	}

	.main-navigation .menu-items {
		padding: 0;
	}

	.main-navigation ul ul {
		margin-top: 10px;
		margin-bottom: 30px;
	}

	.main-navigation ul {
		font-size: 18px;
	}

	.main-navigation ul li {
		border-bottom: 1px solid #b19f8140;
	}

	.main-navigation ul li a,
	a:not([href]):not([class]),
	a:not([href]):not([class]):hover {
		display: block;
    	padding: 20px;
		padding: 20px;
   	 	line-height: 1;
		color: var(--color-white);
	}

	.main-navigation ul.sub-menu li {
		border-bottom: none;
		padding: 0;
		font-size: 15px;
		margin: 8px 0 8px;
	}

	.main-navigation ul.sub-menu li a {
		padding: 0 25px;
   		margin-bottom: 20px;
	}

	.main-navigation ul ul {
		margin-left: 0;
	}


	.main-navigation li.current-menu-item > a,
	.main-navigation ul.sub-menu li.current_page_item > a {
		color: var(--color-rose);
		border-left: 5px solid var(--color-rose);
	}

	button.dropdown-toggle {
		position: absolute;
		right: 0px;
		margin: 0;
		padding: 10px;
		text-align: center;
		top: 8px;
		background: transparent;
		border: none;
	}

	.main-navigation ul.sub-menu.has-sub-menu button.dropdown-toggle {
		top: -15px;
	}

	ul.sub-menu.toggled-on {
		display: block;
	}

}

/* Navigation desktop media query */
@media only screen and (min-width: 992px) {
	button.menu-button {
		display: none;
	}

	.site-header-menu {
		position: relative;
	}


	.site-header-menu .main-navigation {
		opacity: 1;
	}

	.site-header-menu .main-navigation ul {
		justify-content: flex-end;
   		display: flex;
    	align-items: center;
	}

	.main-navigation ul li > a {
		font-size: 16px;
		padding: 12px 15px;
		display: block;
		font-weight 600;
	}

	.main-navigation ul li > a:hover {
		color: var(--color-rose);
	}

	.main-navigation ul.sub-menu li a {
		display: flex;
		font-size: 14px;
		text-transform: none;
	}

	.main-navigation ul li:hover:before {
		position: absolute;
		content: "";
		width: 100%;
		height: 5px;
    	bottom: -32px;
		left: 0;
	}

	.main-navigation li.current-page-ancestor > a,
	.main-navigation li.current-menu-item > a,
	.main-navigation ul.sub-menu li.current_page_item > a,
	.main-navigation ul.sub-menu li a:hover,
	.main-navigation ul.sub-menu li.current-menu-item a {
		color: var(--color-rose);
		transition: all 700ms cubic-bezier(.19,1,.22,1);
	}

	.main-navigation li.current-menu-item > a:after {
		content: '';
        width: 100%;
        display: block;
        height: 30px;
        background-repeat: no-repeat;
        position: absolute;
        bottom: -30px;
		left: 0;
	}

	.main-navigation ul.sub-menu li > a {
		padding: 12px 20px;
		color: var(--color-dark-blue);
	}

	.main-navigation ul.sub-menu li a:hover,
	.main-navigation ul.sub-menu li.current-menu-item a {
		color: var(--color-rose);
		text-decoration: none;
	}

	.main-navigation ul.sub-menu li:last-child a:hover {
		border-radius: 0 0 5px 5px;
	}

	.main-navigation ul.sub-menu.has-sub-menu ul.sub-menu li:last-child a:hover {
		border-radius: 0 0 15px 0px;
	}

	.main-navigation ul.sub-menu li:hover:before {
		display: none!important;
	}

	.main-navigation ul li {
		position: relative;
		margin: 0;
		padding-left: 0;
		padding-right: 0;
		border-bottom: none;
		display: flex;
		line-height: 1.2;
		text-align: center;
	}

	.site-header .main-navigation ul li {
		margin: 0 20px;
	}

	.site-header .main-navigation ul li.lang-item {
		position: relative;
		text-transform: uppercase;
	}

	/**
	.site-header .main-navigation ul li.lang-item:before {
		content: '';
		background-image: url(/wp-content/themes/huld/images/lang.svg);
		width: 24px;
		height: 24px;
		top: 10px;
		left: -15px;
		background-size: cover;
		position: absolute;
	} */

	li.pll-parent-menu-item a:before {
		content: '';
		background-image: url(/wp-content/themes/huld/images/lang.svg);
		width: 24px;
		height: 24px;
		top: 10px;
		left: -15px;
		background-size: cover;
		position: absolute;
	}

	.main-navigation li.pll-parent-menu-item ul.sub-menu {
		width: 70px;
	}

	.main-navigation li.pll-parent-menu-item ul.sub-menu a:before {
		display: none;
	}

	.site-header .main-navigation ul li.button a {
		background: var(--color-white);
		border-radius: 4px;
		transition: all 700ms cubic-bezier(.19,1,.22,1);
		display: flex;
	}

	.site-header .main-navigation ul li.menu-item-has-children {
		margin-right: 30px;
	}

	.main-navigation li.mobile-only {
		display: none;
	}

	.main-navigation ul.sub-menu {
		position: absolute;
		display: none;
		top: 55px;
		border-radius: 8px;
		left: 0px;
		margin-left: 0;
		padding: 0px;
		background-color: #fff;
		box-shadow: 0 2px 2px rgba(49, 51, 53, 0.1);
		z-index: 999;
		column-count: 1;
		width: 220px;
	}

	.site-header .main-navigation ul.sub-menu li {
		margin: 0;
	}

	.main-navigation ul.sub-menu.has-sub-menu ul.sub-menu::before {
		border-color: transparent transparent #fff;
		border-style: solid;
		border-width: 0 5px 5px;
		top: 15px;
		content: '';
		display: block;
		height: 0;
		left: -8px;
		position: absolute;
		transform: scale(1);
		transition: all 0.2s cubic-bezier(0.19, 1, 0.22, 1);
		width: 0;
		transform: rotate(270deg);
	}

	.no-js .main-navigation ul ul li,
	.main-navigation ul ul li {
		display: block;
		width: 100%;
		border-bottom: 1px solid #a18c6b33;
		text-align: left;
	}

	.main-navigation ul ul li:last-child {
		border-bottom: none;
	}

	.main-navigation ul .has-sub-menu > li {

	}

	.no-js .main-navigation ul ul ul,
	.main-navigation ul ul ul {
		top: 0px;
		left: 100%;
		margin-left: 0;
		margin-top: 0px;
		padding: 0;
	}

	button.dropdown-toggle {
		padding: 0;
		border: none;
		background: transparent!important;
	}

	button.dropdown-toggle:hover {
		background: transparent!important
	}

	.main-navigation ul.sub-menu.toggled-on,
	.main-navigation ul li:hover > ul {
		display: inline-flex;
		flex-direction: column;
		align-items: flex-start;
	}

	.main-navigation ul li.two-col:hover>ul,
	.main-navigation ul li.two-col.sub-menu.toggled-on {
		display: inline-block;
		flex-direction: unset;
	}

	.menu-item.menu-item-has-children::after {
		content: '';
		display: block;
		height: 2.5rem;
		position: absolute;
		top: 100%;
		width: 100%;
	}

	.main-navigation ul.sub-menu.has-sub-menu ul.sub-menu {
		position: absolute;
		top: 0px;
		left: 300px;
		border-radius: 0px 15px 15px 0px;
		padding: 0;
	}

}

.main-navigation ul .dropdown-toggle:after {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 16.59L6.41 11L5 12.41L12 19.41L19 12.41L17.59 11L12 16.59Z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	width: 16px;
    height: 18px;
    border: none;
	vertical-align: text-top;
	filter: invert(1);
	margin: 0;
}


.main-navigation ul .dropdown-toggle.toggled-on:after {
	transform: rotate(180deg);
}


ul.sub-menu .menu-item > a::after {
	display: none;
}


/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text, .screen-readers {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

.block {
	position: relative;
}

.lift-image {
	aspect-ratio: 413/240;
	background-size: cover;
	border-radius: 4px 4px 0 0;
}

.site-footer {
	position: relative;
	background-color: var(--color-dark-blue);
	background-image: url(/wp-content/uploads/2025/01/Into_Taustakuva_web-res.webp);
}

.site-footer .border-top {
	border-top: 1px solid #41516A!important;
}

.site-footer ul {
	display: flex;
	list-style: none;
	padding: 0;
}

.site-footer ul li {
	margin-right: 20px;
}

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

.site-footer a:hover {
	color: var(--color-blue);
}

.is-style-ingress-text {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
}

.has-bgelement-1 {
	background-image: url(/wp-content/themes/huld/images/into-element-1.svg);
	background-repeat: no-repeat;
	background-position: left bottom;
}

.has-bgelement-2 {
	background-image: url(/wp-content/themes/huld/images/into-element-2.svg);
}
.social-icon img {
	margin-left: 20px;
}

.white-filter {
	-webkit-filter: invert(100%); /* Safari/Chrome */
    filter: invert(100%);
}

.block-single-hero {
	min-height: 700px;
	overflow: hidden;
    z-index: 1;
    display: flex;
    align-items: center;
	background-repeat: no-repeat;
    background-position: center;
	background-size: cover;
}

.block-single-hero .shade {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	top: 0;
	background: rgb(0,38,75);
	background: linear-gradient(90deg, rgba(0,38,75,1) 0%, rgba(0,38,75,0) 50%);
}

.site-footer a.button,
.site-footer .wp-block-button a.wp-block-button__link.wp-element-button {
	justify-content: flex-end;
    flex-direction: row-reverse;
}

.site-footer a.button:after,
.site-footer .wp-block-button a.wp-block-button__link.wp-element-button:after {
	width: 18px;
	height: 18px;
	margin-left: 0;
    margin-right: 7px;
}

.block-single p {
	font-size: 17px;
}

.author .author-image {
	max-width: 170px;
}

.block-single:after {
    content: '';
    position: absolute;
    background-image: url(/wp-content/themes/huld/images/blog-bg.svg);
    right: 0;
	top: 80px;
    width: 480px;
    height: 260px;
    background-repeat: no-repeat;
}

.global-link {
	position: absolute;
	z-index: 1;
	left: 0;
	right: 0;
	bottom: 0;
	top: 0;
}

.post-tags .tag {
	border: 1px solid var(--color-dark-blue);
	text-decoration: none;
	padding: 5px 8px;
	border-radius: 4px;
}

.post-tags .tag:hover {
	border: 1px solid var(--color-dark-blue);
	background:  var(--color-dark-blue);
	color: var(--color-white);
}

.accordion-button:hover {
	border: none!important;
	color: var(--color-dark-blue);
}

li#menu-item-1445-sv,
li#menu-item-1446-sv,
li#menu-item-1684-sv {
    /* display: none !important; */
}

.wp-block-quote {
  overflow-wrap: break-word;
  font-size: clamp(18px, calc(20px + (24 - 18) * ((100vw - 576px) / (1400 - 576))), 24px);
  font-weight: bold;
  line-height: 1.2;
  margin: 30px 0 30px 0;
  padding: 0;
  border-top: 1px solid var(--color-smoke);
  border-bottom: 1px solid var(--color-smoke);
  padding-top: 20px;
  padding-bottom: 20px;
}

.wp-block-quote p {
	margin-bottom: 0;
}

.jump-menu ul {
  list-style: none;
  display: inline-flex;
  padding: 20px;
  font-family: var(--special-font);
  margin-top: 40px;
  background: var(--color-dark-blue);
  border-radius: 10px;
  width: 100%;
  justify-content: center;
}

.jump-menu ul li {
	margin-right: 10px;
}

.jump-menu ul li a {
  padding: 10px;
  background: var(--color-dark-blue);
  color: #fff;
  border-radius: 10px;
  text-decoration: none;
  font-size: 14px;
}

.jump-menu ul li a:hover {
	color: var(--color-rose);
}

.page-id-2516 .block-breadcrumbs {
	display: none!important;
}
.site-main img {
	border-radius: 10px;
}

.site-main .logos img {
	border-radius: 0px;
	padding: 0 20px;
	width: 145px;
	max-width: 100%;
}

.logos .logo-img {
	align-items: center;
}

.logos .logo-img figure {
	margin: auto;
}

@media (max-width:991px) {
	.jump-menu ul {flex-direction: column;}
	.jump-menu ul li a {margin: 15px 0;}
	.logos .wp-block-group-is-layout-grid {grid-template-columns: repeat(3, minmax(0, 1fr));}

}

@media (max-width:767px) {
	.site {overflow: hidden;}
	.site-header {padding-right: 15px; padding-left: 15px;}
}
