/*!
Theme Name: hss
Theme URI: http://underscores.me/
Author: Kuuki Marketing Lab Oy
Author URI: https://www.kuuki.fi
Description: PTCS teema
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: ptcs
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

Use it to make something cool, have fun, and share what you've learned.

ptcs is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> 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;
}

/* 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: bold;
}

/**
 * 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: 30px;
	border: 1px solid #C9D7E0;
	position: relative;
	border-radius: 25px;
}

/**
 * 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;
	font-size: 14px;
    font-family: var(--heading-font);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-darkblue);
	top: -23px;
    background: #fff;
    display: inline-block;
    width: inherit;
    padding: 10px;
	position: absolute;
}

/**
 * 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;
}

.wpcf7 label {
	font-size: 14px;
	margin-bottom: 5px;
    margin-top: 10px;
	width: 100%;
}

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


:root {
	--theme-font: 'Mulish', sans-serif;
	--heading-font: 'Newsreader', serif;
	--color-p: #2E2C2A;
	--color-white: #ffffff;
	
	--color-black: #2E2C2A;
	--color-sand: #F8F4F0;
	--color-beige: #E4C8AB;
	--color-brown: #B37A41;
	
	--color-link: #B37A41;
	--color-link-hover: #510f0f;
	
	--padding-top-large: 80px;
	--padding-top-medium: 60px;
	--padding-top-small: 30px;
	--padding-top-none: 0px;
	
	--padding-bottom-large: 80px;
	--padding-bottom-medium: 60px;
	--padding-bottom-small: 30px;
	--padding-bottom-none: 0px;
}

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	-moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    color: var(--color-p);
    text-rendering: geometricPrecision;
	font-family: var(--theme-font);
	font-size: 1rem;
	line-height: 1.7;
}

body.disable-scroll {
    overflow: hidden;
}

.site-main {
	background-color: var(--color-white);
	margin: auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--heading-font);
	clear: both;
	color: var(--color-black);
	text-transform: initial;
	line-height: 1.4;
    letter-spacing: -0.5px;
	margin-bottom: 1rem;
	font-weight: 500;
}

.text-white h1,
.text-white h2,
.text-white h3,
.text-white h4,
.text-white h5,
.text-white h6,
.text-white p,
.text-white a,
.text-white a:hover,
.text-white ul,
.text-white li,
.text-white span,
.text-white span a {
    color: var(--color-white);
}

.text-white span.readmore, 
.text-white a.readmore:after {
	filter: invert(99%) sepia(83%) saturate(165%) hue-rotate(295deg) brightness(116%) contrast(100%);
}

.text-white .breadcrumb-item a {
	color: var(--color-sand);	
}

h1 {
	font-size: 3rem;
}

h2 {
	font-size: 2rem;
}

h3 {
	font-size: 1.38rem;
	line-height: 1.4;
}

.section-title {
	font-size: 14px;
	font-family: var(--theme-font);
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: var(--color-gold);
	font-weight: 600;
}

p {
	margin-bottom: 1.5em;
	font-size: 18px;
}

p.site-title {
	text-transform: uppercase;
	letter-spacing: 2px;
	margin:0;
}

p.site-title a {
	color: var(--color-black);
	text-decoration: none;
}

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

blockquote {
	margin: 0;
	position: relative;
}

blockquote p {
	font-family: var(--heading-font);
	font-size: 32px;
	line-height: 44px;
	margin: 0;
	font-weight: 300;
}

.wp-block-pullquote {
	padding: 2em 0;
}

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;
}

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

ul,
ol {
	margin: 0 0 1em 0em;
	font-size: 17px;
	padding-left: 22px;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
	padding-left: 20px;
}

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

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%;
}

.lift-image,
img {
	height: auto;
	max-width: 100%;
}

.site-main .lift-image {
	overflow: hidden;
}

.site-main .lift-image img {
	height: 100%;
    object-fit: cover;
    width: 100%;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
	border-collapse: collapse;
    width: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    overflow: hidden;
}

td, th {
    padding: 8px 10px;
    vertical-align: top;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: #f2f2f2;
	font-family: var(--heading-font);
}

tr:nth-child(even) {
    background-color: #f9f9f9; 
}

tr:hover {
    background-color: #f2f2f2; 
  }

/* Links
--------------------------------------------- */
a {
	color: var(--color-link);
    cursor: pointer;
	text-decoration: underline;
    text-decoration-color: var(--color-link);
    text-underline-offset: 2px;
    transition: all .2s;
}

a.external-link:after,
a.mailto-link:after,
a[target="_blank"]:after {
	content: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAQElEQVR42qXKwQkAIAxDUUdxtO6/RBQkQZvSi8I/pL4BoGw/XPkh4XigPmsUgh0626AjRsgxHTkUThsG2T/sIlzdTsp52kSS1wAAAABJRU5ErkJggg==);
	margin: 0 3px 0 5px;
}

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

a:hover,
a:active {
	outline: 0;
	text-decoration: underline;
    text-decoration-color: var(--color-link-hover);
    text-underline-offset: 2px;
    transition: all .2s;
}

.text-white a:hover {
	text-decoration-color: var(--color-white);
}

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




/* Forms
--------------------------------------------- */
.wp-block-button__link, a.button, 
a.button, 
button, 
input[type="button"], 
input[type="reset"], 
input[type="submit"] {
    border-radius: 4px;
    color: var(--color-black);
    text-decoration: none;
    padding: 14px 24px;
    display: inline-block;
    font-size: 18px;
    background-color: var(--color-beige);
	border: 2px solid var(--color-beige);
	transition: all .2s ease-in-out;
	text-decoration: none !important;
}

.wp-block-button.is-style-outline a,
a.button.button-ghost, 
button.button.button-ghost {
	border: 2px solid var(--color-beige);
	background-color: transparent;
	padding: 14px 24px;
}

.news-item:hover a.button,
a.wp-block-button__link.wp-element-button:hover, 
a.button.button-ghost:hover,
button.button.button-ghost:hover,
a.button:hover, 
button:hover, 
input[type="button"]:hover, 
input[type="reset"]:hover, 
input[type="submit"]:hover {
	background-color: var(--color-black);
	border: 2px solid var(--color-black);
    color: var(--color-white);
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}


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-beige);
    border-radius: 3px;
    padding: 10px;
    width: 100%;
	background: var(--color-white);
}

.error-404 input {
	padding: 15px 10px;
	margin-right: 10px;
}

.error-404 input.search-submit {
	padding: 12px 24px;
}

.error-404 .search-form {
	display: block; 
}

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: #111;
}

select {
	border: 1px solid rgb(0 79 113 / 20%);
	border-radius: 10px;
	padding: 10px;
    width: 100%;
	background: #F1F4F7;
	color: var(--color-darkblue);
	font-family: var(--heading-font);
	font-size: 14px;
}

textarea {
	width: 100%;
}

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

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

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


.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;
}

.site-header .site-branding img {
	max-width: 180px;
	width: 120px;
}

.main-navigation ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

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

.main-navigation a {
	color: var(--color-maroon);
	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;
}

.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-brown);
}

.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-black);
	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-sand);
		height: 100vh;
		margin: 0;
		top: 140px;
		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;
	}

	.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-black);
		border-left: 5px solid var(--color-brown);
	}
		
	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;
	}
	
	.nav-container span.home::before {
		content: '';
		display: inline-block;
		width: 20px;
		height: 21px;
		background-image: url('/wp-content/uploads/2024/09/home.svg');
		background-size: cover; 
	}
	
	.nav-container span.home:hover::before,
	.current-menu-item span.home::before {
		filter: invert(35%) sepia(87%) saturate(327%) hue-rotate(349deg) brightness(92%) contrast(84%);
	}

	.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: 18px;
		padding: 12px 15px;
		display: block;
	}
	
	.main-navigation ul li > a:hover {
		color: var(--color-brown);
	}

	.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-brown);
		transition: all .2s;
	}
	
	.main-navigation li.current-menu-item > a:after {
		content: '';
        background: url(/wp-content/themes/hss/svg/active-menu.svg);
        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;
	}
	
	.main-navigation ul.sub-menu li a:hover,
	.main-navigation ul.sub-menu li.current-menu-item a {
		color: var(--color-maroon);
		background: var(--color-sand);
		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: inline-block;
		line-height: 1.2;
		text-align: center;
	}
	
	.site-header .main-navigation ul li {
		margin: 0 20px;
	}
	
	
	.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: 57px;
		border-radius: 0 0 5px 5px;
		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 {
		width: 0;
		height: 0;
		padding: 0;
		border: none;
	}

	.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;
	}

	.extra-nav {
		display: none !important;
	}
	
	.menu-container {
		width: 100%;
		margin-right: 20px;
	}
	
	.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: 18px;
    height: 18px;
    border: none;
	vertical-align: text-top;
}

.main-navigation ul ul .dropdown-toggle:after {
	content: url(svg/chevron-right.svg);
}

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

.main-navigation ul ul .dropdown-toggle.toggled-on:after {
	content: url(svg/chevron-left.svg);
}

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

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 0.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: left;
    line-height: 1.2;
    font-size: 15px;
}

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

.gallery-item {
	display: flex;
	text-align: center;
	width: 70%;
	justify-content: center;
	align-items: center;
	margin: auto;
}

.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;
}

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

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

/* Text meant only for screen readers. */
.screen-readers,
.screen-reader-text {
	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;
	background-position: center;
}

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

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

.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);
}

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

.sand-bg,
.bg-sand {
	background-color: var(--color-sand);
}

.black-bg,
.bg-black {
	background-color: var(--color-black);
}

.beige-bg,
.bg-beige {
	background-color: var(--color-beige);
}


section.breadcrumbs {
	margin-top: 10px;
	margin-bottom: 10px;
}

.breadcrumb-list {
    font-size: 14px;
	font-weight: 600;
    font-family: var(--theme-font);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}

.breadcrumb-list a {
	text-decoration: none;
}

ul.breadcrumb-list {
    list-style: none;
    padding: 0;
	margin: 0;
}

.entry-meta {
    clear: both;
    color: var(--color-gold);
    text-transform: uppercase;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

.entry-meta p {
	font-size: 13px;
}

.site-footer {
	padding-bottom: 60px;
	padding-top: 60px;
	background-color: var(--color-white);
}

.site-footer figure {
	margin-top: 0;
}

.site-footer h2 {
	letter-spacing: 0;
}

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

.site-footer ul li {
	margin: 0 15px;
}

.site-footer a {
	color: var(--color-black);
	display: block;
	border: 1px solid var(--color-brown);
	border-radius: 4px;
	padding: 12px 24px 12px 24px;
	text-decoration: none;
}

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

.site-footer:after {
	content: '';
	background-image: url(/wp-content/themes/hss/svg/footer.svg);
	height: 127px;
	width: 15px;
	display: block;
	position: absolute;
	left: 0;
    right: 0;
    margin: auto;
}

.wpcf7 .margin-bottom {
	margin-bottom: 30px;
}

.wpcf7 p {
	margin-bottom: 0;
}

.wpcf7-not-valid-tip {
	font-size: 0.7em;
    margin-top: 3px;
}

.menu-items li {
    position: relative;
}

.wp-video, video.wp-video-shortcode, .mejs-container, .mejs-overlay.load {
	width: 100% !important;
	height: 100% !important;
}

.mejs-container {
	padding-top: 56.25%;
}

.wp-video, video.wp-video-shortcode {
	max-width: 100% !important;
}

video.wp-video-shortcode {
	position: relative;
}

.mejs-mediaelement {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}

.mejs-controls {
	display: none;
}

.mejs-overlay-play {
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: auto !important;
	height: auto !important;
}

.block-single .wp-block-quote {
    font-size: clamp(22px,18.4px + .6vw,28px);
    font-weight: 400;
    line-height: 1.4;
    margin: 4rem auto;
    padding-bottom: 0rem;
    padding-right: 13.5rem;
    padding-top: 0rem;
}

.block-single .wp-block-quote p {
    font-size: clamp(22px,18.4px + .6vw,28px);
    margin-bottom: 0;
}

.block-single .article-line {
    background-image: url('data:image/svg+xml,%3Csvg%20width%3D%22300%22%20height%3D%228%22%20viewBox%3D%220%200%20300%208%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M0%204%20C75%2012%2C%20225%20-4%2C%20300%204%22%20stroke%3D%22%23B37A41%22%20fill%3D%22none%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: repeat-x;
    background-size: auto 100%;
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 6px;
    animation: moveLine 16s ease-in-out infinite; 
}

@keyframes moveLine {
    0% { background-position: 0 0; }
    50% { background-position: 800px 0; }
    100% { background-position: 0 0; }
}


.form-popup .wpcf7 label {
	font-size: 14px;
    margin-bottom: 15px;
    margin-top: 0;
    width: 100%;	
}

.form-popup .wpcf7-list-item {
	margin: 0;
	width: 100%;
	display: block;
	position: relative;
}

.form-popup .wpcf7-form input[type="radio"] {
    position: absolute;
    top: 11px;
    right: 20px;
	height: 24px;
    width: 24px;
}

.form-popup .wpcf7-form span.wpcf7-list-item-label {
  border-radius: 4px;
  color: var(--color-black);
  text-decoration: none;
  padding: 0.5em 1.2em;
  display: block;
  font-size: 16px;
  background-color: var(--color-beige);
  border: 2px solid var(--color-beige);
  transition: all .4s ease-in-out;
  cursor: pointer;
}


.form-popup input[type="radio"] {
  -webkit-appearance: none;
  appearance: none;
}

.form-popup input[type="radio"]:after {
    background-image: url('/wp-content/themes/hss/svg/ArrowDown.svg');
    content: '';
    width: 24px;
    height: 24px;
    display: inline-block;
    background-size: cover;
    margin-left: 0;
}

.form-popup input[type="radio"]:checked:after {
	background-image: url('/wp-content/themes/hss/svg/CheckCircle.svg');
}

.form-popup input.wpcf7-submit {
    width: 100%;
    margin-top: 20px;
}

.nav-container .open-button {
	background-color: var(--color-beige);
    transition: all .2s ease-in-out;
    z-index: 9;
    cursor: pointer;
    display: flex;
    align-items: center;
    text-decoration: none;
	border: none;
	white-space: nowrap;
	font-size: 18px;
}

.nav-container .open-button:hover {
	border: none;
}

.form-popup {
    display: none;
    height: auto;
    min-height: 100vh;
    width: 500px;
    visibility: hidden;
    position: fixed;
    top: 0;
    right: 0; 
    background-color: var(--color-white);
    padding: 30px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.1);
    z-index: 99;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.5s ease-in-out, visibility 0.5s ease-in-out; 
	height: 100%;
	z-index: 99999999;
}

.form-popup.active {
    visibility: visible;
    transform: translateX(0);
}

.form-popup > div {
	max-width: 500px;
	padding: 80px 0px 20px 0px;
	background-color: var(--color-white);
	border-bottom: 1px solid var(--color-beige);
}

.form-popup button.btn.cancel {
	position: absolute;
    left: 30px;
    top: 30px;
    cursor: pointer;
    padding: 14px 14px;
    background: var(--color-beige);
    display: block;
    line-height: 1;
	border: none;
}

.form-popup button.btn.cancel:hover {
	background: var(--color-black);
}

.form-popup button.trash:hover img,
.form-popup button.btn.cancel:hover img {
	filter: invert(1);
}

.form-popup button.trash {
    position: absolute;
    top: 30px;
    right: 30px;
	padding: 11px 12px;
}

.has-scribble {
	background: url(/wp-content/uploads/2024/09/scribble.svg);
	background-repeat: no-repeat;
	background-position: center;
}

.block-single .article-img {
	aspect-ratio: 1320/730;
	background-size: cover;
}

.block-single .shade {
	filter: blur(15px);
	-webkit-filter: blur(15px);
	position: absolute;
    width: 100%;
    height: 80%;
	top: 10%;
	opacity: 0.3;
}

.wp-block-cb-carousel .slick-next:before {
	content: '';
    background: url(/wp-content/themes/hss/svg/ArrowRight.svg);
    width: 24px;
    height: 24px;
    display: block;
    background-repeat: no-repeat;
    background-position: center;
}

.wp-block-cb-carousel .slick-prev:before {
	content: '';
    background: url(/wp-content/themes/hss/svg/ArrowLeft.svg);
    width: 24px;
    height: 24px;
    display: block;
	background-repeat: no-repeat;
    background-position: center;
}

.wp-block-cb-carousel button.slick-prev.slick-arrow,
.wp-block-cb-carousel button.slick-next.slick-arrow {
    background: var(--color-beige);
    padding: 12px;
    display: block;
    width: 48px;
    height: 48px;
	z-index: 99;
}

.wp-block-cb-carousel button.slick-prev.slick-arrow:hover,
.wp-block-cb-carousel button.slick-next.slick-arrow:hover {
	border: none!important;
}

.wp-block-cb-carousel .slick-dots li button:not(:hover):not(:active), 
.wp-block-cb-carousel .slick-next:not(:hover):not(:active), 
.wp-block-cb-carousel .slick-prev:not(:hover):not(:active) {
	background: var(--color-beige);
}

.wp-block-cb-carousel .slick-slide {
	padding-left: 0;
	padding-right: 3px;
}

.wp-block-cb-carousel .slick-track {
  display: flex;
}

.wp-block-cb-carousel .wp-block-cb-slide {
  height: auto;
}

.wp-block-cb-carousel .gb-container, .wp-block-cb-carousel .gb-inside-container {
  height: 100%;
}

.wp-block-cb-carousel .wp-block-image {
  position: relative;
  overflow: hidden;
}

.wp-block-cb-carousel .wp-block-image:before {
  content: "";
  display: block;
  padding-bottom: 100%;
}

.wp-block-cb-carousel .wp-block-image img {
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: absolute;
  top: 0;
}

.carousel .container {
	position: relative;
}

.carousel .container::before {
	content: '';
	background: url(/wp-content/themes/hss/svg/before-slider.svg);
	width: 8px;
    height: 100px;
	display: block;
    left: 300px;
    position: absolute;
    top: -100px;
}

.wp-block-buttons {
    margin-bottom: 30px;
}

.sticky-top .sticky {
	position: sticky;
    top: 20px;
}

.wp-block-image {
	position: relative;
}

.wp-block-image figcaption.wp-element-caption {
	position: absolute;
    bottom: 0;
    background: #2e2c2ae6;
	color: var(--color-beige);
    margin: 0;
	padding: 10px 15px;
	line-height: 1.3;
    font-size: 12px;
	left: 0;
    right: 0;
}

.wp-block-aab-accordion-item {
    overflow: hidden;
    border-radius: 4px !important;
}

.aagb__accordion_component p {
	margin-bottom: 0px;
}

@media screen and (min-width: 992px) and (max-width: 1200px) {

}

@media (max-width: 992px) {
	
}

@media (max-width: 767px) {
	.site-header {padding-right: 0px; padding-left: 0px;}
	.site-footer ul {flex-direction: column;justify-content: center; width: 100%;}
	.site-footer ul li {text-align: center; margin-top: 15px}
	.site-main {overflow: hidden;}
}

@media (max-width: 576px) {
	.site-header-menu .main-navigation {top: 185px;}
	.form-popup {width: 100%; padding: 20px}
	.nav-container {padding: padding: 10px 0;}
}