/*
Theme Name: Web-Elements Theme
Theme URI: https://web-elements.ch/
Author: Web-Elements GmbH
Author URI: https://web-elements.ch/
Description: Web-Elements Theme. Bei Fragen oder Problemen stehen wir Ihnen gerne mit Rat & Tat zur Seite.
Version: 16.2.24
License: Non-Public, Non-GPL
License URI: none
Text Domain: webelements
Requires PHP: 7.4
Requires at least: 6.3
Tested up to: 7.1

This theme is not intended for further use.
© 2014-2021 by Web-Elements GmbH
*/


/* Fonts */

@font-face {
    font-family: "Donau Neue";
    src: url("fonts/Donau-Neue.woff") format("woff"),
         url("fonts/Donau-Neue.otf") format("opentype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Agrandir Narrow";
    src: url("fonts/Agrandir-Narrow.woff") format("woff"),
         url("fonts/Agrandir-Narrow.otf") format("opentype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Agrandir Narrow Bold";
    src: url("fonts/Agrandir-NarrowBold.woff") format("woff"),
         url("fonts/Agrandir-NarrowBold.otf") format("opentype");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}


/* Variables */

:root{
    --navy:#0d1a29;
    --teal:#56b2b8;
    --teal-dark:#3e9499;
    --ice:#d8ebea;
    --sand:#b8a88d;
    --cream:#fbf8f2;
    --cream-dark:#ebe5da;
    --soft:#f2f7f6;
    --line:rgba(13,26,41,.10);
    --shadow:0 22px 65px rgba(13,26,41,.12);
    --shadow-soft:0 12px 35px rgba(13,26,41,.08);
    --radius:28px;
    --max:1180px;
}


/* Reset */

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
    font-size: 100%;
    font: inherit;
    padding: 0;
    border: 0;
    margin: 0;
    vertical-align: center;
}

body {
    line-height: 1;
}

ol, ul {
    list-style: none;
}

q {
    quotes: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block;
}

.clear {
    clear: both;
}


/*
|=============================================================
|
|   INDEX
|   |-- 1. General
|   |-- 2. Typography
|   |--- 2.1. Titles
|   |-- 3. Elements
|   |--- 3.1. Pagination
|   |--- 3.2. Social Media
|   |--- 3.3. Search
|   |-- 4. Tables
|   |-- 5. Navigation
|   |-- 6. Page content
|   |--- 6.1. Containers
|   |--- 6.2. Header
|   |--- 6.3. Footer
|   |--- 6.4. Frontpage
|   |--- 6.5. Single post
|   |-- 7. Miscellaneous
|
|=============================================================
*/


/*______________________
|                       |
|   1. GENERAL          |
|______________________*/

html, body {
    padding: 0;
    margin: 0;
    scroll-behavior:smooth
}

body {
    font-size:16px;
    min-height: 100%;
    line-height:1.5;
    font-weight: 400;
    position: relative;
    letter-spacing: 0.1px;
    color: #333333;
    font-family: "Agrandir Narrow", "Arial Narrow", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color:var(--navy);
    background:
      radial-gradient(circle at 15% 5%, rgba(216,235,234,.85), transparent 24rem),
      radial-gradient(circle at 90% 8%, rgba(184,168,141,.20), transparent 26rem),
      linear-gradient(180deg,#fff 0%, var(--cream) 44%, #fff 100%);
}

.mobile {
    display: none;
}

ol,
ul {
    margin-left: 18px;
}

ol {
    list-style-type: upper-roman;
}

ul {
    list-style-type: disc;
}

figure {
    margin: 0;
}

iframe {
    border: none;
}

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

a {
    color:inherit
}

a.acf-wysiwyg-link:not(.button) {
    color: var(--teal) !important;
    font-weight: 700;
    transition: color .2s ease;
}

a.acf-wysiwyg-link:not(.button)::after {
    display: inline-block;
    margin-left: .35em;
    content: '\25B8';
    font-size: .8em;
    line-height: 1;
    text-decoration: none;
    transform: translateY(-.03em);
}

a.acf-wysiwyg-link:not(.button):hover,
a.acf-wysiwyg-link:not(.button):focus,
a.acf-wysiwyg-link:not(.button):focus-visible {
    color: var(--teal-dark) !important;
}

a.acf-wysiwyg-link:not(.button):has(> img)::after {
    display: none;
}

a.button {
    font-size:16px;
  display:inline-flex; 
  align-items:center; 
  justify-content:center; 
  gap:10px;
  min-height:48px; 
  padding:13px 22px; 
  border-radius:999px;
  background:var(--teal); 
  color:#fff; 
  text-decoration:none; 
  font-weight:700;
  box-shadow:0 14px 30px rgba(86,178,184,.24);
  transition:.2s ease;
  border:0;
}

a.button:hover {
    transform:translateY(-1px); 
    background:var(--teal-dark)
}

a.button.secondary {
    background:#fff; 
    color:var(--navy); 
    box-shadow:none; 
    border:1px solid var(--line)
}

a.button.small {
    min-height:42px; 
    padding:10px 16px; 
    font-size:.94rem
}

.fade {
    opacity:0; 
    transform:translateY(18px); 
    transition:opacity .7s ease, transform .7s ease;
}

.fade.in {
    opacity:1; 
    transform:none;
}

section.acf-block {
    padding-top: 100px;
    padding-bottom: 100px;
}

.acf-block:first-of-type {
    padding-top: 140px;
}

.acf-block:last-of-type {
    padding-bottom: 140px;
}


/* 404 page */

.error-404-page__section {
    display: flex;
    align-items: center;
    min-height: clamp(620px, 72vh, 820px);
    padding: clamp(70px, 9vw, 120px) 0;
}

.error-404-page__card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
    align-items: center;
    gap: clamp(36px, 6vw, 90px);
    min-height: 500px;
    padding: clamp(42px, 6vw, 78px);
    overflow: hidden;
    background:
        radial-gradient(circle at 88% 18%, rgba(86, 178, 184, .22), transparent 18rem),
        linear-gradient(135deg, var(--navy), #183148);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 36px;
    box-shadow: var(--shadow);
}

.error-404-page__content {
    position: relative;
    z-index: 1;
    max-width: 670px;
}

.error-404-page .subtitel {
    background: rgba(86, 178, 184, .12);
    border-color: rgba(86, 178, 184, .24);
    color: var(--teal);
}

.error-404-page h1 {
    margin-top: .2rem;
    margin-bottom: .35em;
    color: #fff;
    font-size: clamp(3.5rem, 6vw, 5.4rem);
}

.error-404-page .lead {
    max-width: 610px;
    color: rgba(255, 255, 255, .78);
}

.error-404-page__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.error-404-page__buttons .button:focus-visible {
    outline: 3px solid rgba(86, 178, 184, .45);
    outline-offset: 4px;
}

.error-404-page__buttons .button.secondary {
    background: transparent;
    border-color: rgba(255, 255, 255, .36);
    color: #fff;
}

.error-404-page__buttons .button.secondary:hover,
.error-404-page__buttons .button.secondary:focus-visible {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .7);
}

.error-404-page__visual {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    min-width: 0;
}

.error-404-page__visual::before {
    position: absolute;
    width: min(31vw, 390px);
    aspect-ratio: 1;
    background: rgba(216, 235, 234, .07);
    border: 1px solid rgba(216, 235, 234, .12);
    border-radius: 50%;
    content: "";
}

.error-404-page__visual span {
    position: relative;
    color: var(--teal);
    font-family: "Donau Neue", ui-sans-serif, system-ui, sans-serif;
    font-size: clamp(7rem, 13vw, 12rem);
    line-height: .8;
    letter-spacing: -.04em;
    text-shadow: 0 18px 45px rgba(0, 0, 0, .16);
}

@media only screen and (max-width: 991.98px) {
    .error-404-page__section {
        min-height: 0;
    }

    .error-404-page__card {
        grid-template-columns: minmax(0, 1fr);
        min-height: 0;
    }

    .error-404-page__visual {
        order: -1;
        justify-content: start;
    }

    .error-404-page__visual::before {
        display: none;
    }

    .error-404-page__visual span {
        font-size: clamp(5rem, 18vw, 8rem);
    }
}

@media only screen and (max-width: 575.98px) {
    .error-404-page__section {
        padding: 42px 0 64px;
    }

    .error-404-page__card {
        gap: 28px;
        padding: 30px 22px 34px;
        border-radius: 28px;
    }

    .error-404-page h1 {
        font-size: clamp(3rem, 14vw, 4.15rem);
    }

    .error-404-page__buttons {
        align-items: stretch;
        flex-direction: column;
    }

    .error-404-page__buttons .button {
        width: 100%;
    }
}




/*______________________
|                       |
|   2. TYPOGRAPHY       |
|______________________*/

h1 {
    font-family: "Donau Neue", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 82px;
    line-height:1.1;
    color: #333333;
    letter-spacing: -2px;
    margin-top: 0.1em;
    margin-bottom: 0.5em;
}

h2 {
    font-family: "Donau Neue", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 62px;
    line-height:1.1;
    color: #333333;
    letter-spacing: -1px;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

h3 {
    font-family: "Donau Neue", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 34px;
    line-height:1.2;
    color: #333333;
    letter-spacing: -1px;
    margin-top: 1.5em;
    margin-bottom: 0.3em;
}

h4 {
    font-family: "Donau Neue", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 24px;
    line-height:1.2;
    color: #333333;
    letter-spacing: -1px;
    margin-top: 1.5em;
    margin-bottom: 0.3em;
}

h5 {
    font-family: "Donau Neue", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 20px;
    color: #333333;
    letter-spacing: 0;
    margin-top: 1.5em;
    margin-bottom: 0.3em;
}

h6 {
    font-family: "Donau Neue", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    color: #333333;
    letter-spacing: 0;
    margin-top: 1.5em;
    margin-bottom: 0.3em;
}

.subtitel ~ h2,
.subtitel ~ h3,
.subtitel ~ h4,
.subtitel ~ h5,
.subtitel ~ h6 {
    margin-top: 0.2rem;
}

h1 + h2,
h2 + h3,
h3 + h4,
h4 + h5,
h5 + h6 {
    margin-top: 0;
}

*:not(.content-wrapper) > h1:first-child,
h2:first-child,
h3:first-child,
h4:first-child,
h5:first-child,
h6:first-child {
    margin-top: 0;
}

.lead {
    font-weight:400;
    font-size: 22px;
    line-height: 1.4;
}

p {
    margin-bottom: 15px;
    color: rgba(13,26,41,.72);
}

p:last-child {
    margin-bottom: 0;
}

p.kleingeschriebenes {
    font-size:14px;
}

strong {
    font-family: "Agrandir Narrow Bold", "Agrandir Narrow", "Arial Narrow", ui-sans-serif, system-ui, sans-serif;
    font-weight: 700;
}

blockquote {
    font-family: "Donau Neue", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight:unset;
    font-size: 24px;
}

blockquote p {
    padding: 13px 16px;
    font-size:16px;
    border-left: 4px solid var(--teal-dark);
    background: rgba(216,235,234,.45);
    border-radius: 0 14px 14px 0;
    font-weight: 700;
}

blockquote p:last-child {
    margin-bottom:15px;
}

.subtitel,
.eyebrow {
    display:inline-flex; 
    align-items:center; 
    gap:8px;
    color:var(--teal-dark); 
    background:rgba(216,235,234,.65);
    border:1px solid rgba(86,178,184,.22);
    padding:7px 12px; 
    border-radius:999px; 
    font-family: "Agrandir Narrow Bold", "Agrandir Narrow", "Arial Narrow", ui-sans-serif, system-ui, sans-serif;
    font-weight:700; 
    font-size:.86rem;
    letter-spacing:.02em;
}


/*______________________
|                       |
|   3. ELEMENTS         |
|______________________*/

/*
|    3.1. Pagination
*/

.pagination {
    display: block;
    margin: 30px 0;
    width: 100%;
    max-width: 100%;
    min-height: 36px;
    /*text-align: center;*/
}

.pagination .nav-links {
    height: 100%;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 8px;
    background-color: var(--color-grey2);
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}


/*
|    3.2. Social Media
*/

.social-media {
}


/*
|    3.3. Search
*/

.searchform {
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    -webkit-align-items: center;
    align-items: center;
}

.searchform label {
    width: 100%;
    margin-right: 15px;
    display: inline-block;
}

.search #content {
    margin-top: 60px;
    margin-bottom: 60px;
}

.search h2 {
    margin-bottom: 0;
}

.search .search-field .searchform button {
    margin: 0;
}

.search #content article a {
    text-decoration: none;
}

.search #content article p {
    color: #333333;
}

.search #content article:not(:last-of-type) {
    margin-bottom: 30px;
}



/*______________________
|                       |
|   4. TABLES           |
|______________________*/

caption {
    font-size: 0.9rem;
    font-weight: 700;
    font-family: "Agrandir Narrow", "Arial Narrow", ui-sans-serif, system-ui, sans-serif;
    margin-bottom: 1.2rem;
    text-align: left;
}

table.borderless th,
table.borderless td {
    border: none;
    border-bottom: 1px solid #5B616B;
}

thead th,
thead td {
    background-color: #F1F1F1;
    font-weight: 600;
}

table.borderless thead th,
table.borderless thead td {
    background-color: #FFFFFF;
    font-weight: 600;
}

th,
td {
    background-color: #FFFFFF;
    border: 1px solid #5B616B;
    font-weight: 400;
    padding: 1rem 1.5rem;
}


/*______________________
|                       |
|   5. NAVIGATION       |
|______________________*/

.hamburger {
    display: none;
}

#menuwrapper {
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    -webkit-align-items: center;
    align-items: center;
}

header#top {
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(18px);
    background: rgba(255,255,255,.82);
    border-bottom: 1px solid rgba(13,26,41,.06);
}

header .logo-wrapper {
    display:flex;
    justify-content: flex-start;
    align-items: center;
}

header img.logo {
    width:300px;
    height:auto
}

nav#menu {
    display:flex; 
    align-items:center; 
    gap:22px; 
    font-size:.94rem; 
    color:rgba(13,26,41,.70)
}

nav#menu a {
    text-decoration:none
}

nav#menu a:hover {
    color:var(--teal-dark)
}

header nav {

}

header nav ul,
nav ul {
    overflow: hidden;
    margin-left: 0;
    list-style-type: none;
}

header nav ul li {
    display: inline-block;
    float: left;
}

header nav ul li a {
    display: block;
    padding: 24px 18px;
    border: none;
    font-size: 15px;
    font-weight: 400;
    color: #FFFFFF;
    letter-spacing: 1px;
    text-decoration: none;
}

header nav ul li.current-menu-ancestor a,
header nav ul li.current-menu-item a,
header nav ul li a:hover,
header nav ul li a:focus,
header nav ul li a:active {
    color: var(--teal-dark);
    text-decoration: none;
}

/* Dropdown Menu */

header nav ul ul {
    position: absolute;
    background-color: #333333;
    visibility: hidden;
    opacity: 0;
    -webkit-filter: opacity(0);
    filter: opacity(0);
    -webkit-transition: all 200ms ease;
    -moz-transition: all 200ms ease;
    -o-transition: all 200ms ease;
    transition: all 200ms ease;
}

header nav ul ul li {
    display: block;
    float: none;
    min-width: 175px;
}

header nav ul li:hover ul,
header nav ul li:focus ul {
    visibility: visible;
    opacity: 1;
    -webkit-filter: opacity(1);
    filter: opacity(1);
    -webkit-transition: all 200ms 200ms ease;
    -moz-transition: all 200ms 200ms ease;
    -o-transition: all 200ms 200ms ease;
    transition: all 200ms 200ms ease;
}

header nav ul ul li a {
    padding: 10px 45px 10px 18px;
    font-weight: 300;
    text-transform: none;
    font-size: 14px;
    color: #FFFFFF !important;
}

header nav ul ul li.current-menu-item a,
header nav ul ul li a:hover,
header nav ul ul li a:focus,
header nav ul ul li a:active {
    color: var(--color-grey4) !important;
    text-decoration: none;
}

header nav ul ul li:last-of-type a {
    padding: 10px 45px 20px 18px;
}

/* Modern primary navigation */

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 1000;
    padding: 11px 16px;
    background: var(--navy);
    border-radius: 10px;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transform: translateY(-160%);
    transition: transform .18s ease;
}

.skip-link:focus {
    color: #fff;
    transform: translateY(0);
}

header#top.topbar {
    height: 84px;
    min-height: 84px;
    max-height: 84px;
    padding: 0;
    background: rgba(255, 255, 255, .9);
    border-bottom: 1px solid rgba(13, 26, 41, .08);
    box-shadow: 0 8px 30px rgba(13, 26, 41, .035);
}

header#top .topbar-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(20px, 3vw, 46px);
    height: 100%;
    min-height: 0;
}

header#top > .container {
    height: 100%;
}

header#top .logo-wrapper,
header#top .logo-wrapper a {
    display: flex;
    align-items: center;
}

header#top .logo-wrapper a:focus-visible,
header#top .cta-wrapper a:focus-visible {
    border-radius: 999px;
    outline: 3px solid rgba(86, 178, 184, .3);
    outline-offset: 4px;
}

header#top img.logo {
    width: clamp(190px, 17vw, 250px);
    max-height: 58px;
    object-fit: contain;
}

header#top #menuwrapper {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(18px, 2.4vw, 36px);
    min-width: 0;
}

header#top.without-header-navigation #menuwrapper {
    display: flex;
    justify-content: flex-end;
    justify-self: stretch;
}

@media (min-width: 1200px) {
    header#top.without-navigation-cta .topbar-inner {
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    }

    header#top.without-navigation-cta #menuwrapper {
        display: block;
        justify-self: center;
        width: max-content;
        max-width: 100%;
    }
}

header#top nav#menu {
    display: block;
    min-width: 0;
    color: var(--navy);
    font-family: "Donau Neue", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 1rem;
}

header#top nav#menu > ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(3px, .65vw, 12px);
    overflow: visible;
    margin: 0;
}

header#top nav#menu li {
    position: relative;
    display: block;
    float: none;
}

header#top nav#menu > ul > li > a {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 46px;
    padding: 10px clamp(8px, .8vw, 14px);
    border-radius: 0;
    color: rgba(13, 26, 41, .76);
    font-family: inherit;
    font-size: clamp(1.08rem, 1.05vw, 1.16rem);
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    transition: color .18s ease, background .18s ease;
}

header#top nav#menu > ul > li.menu-item-has-children > a {
    padding-right: 29px;
}

header#top nav#menu > ul > li.menu-item-has-children > a::before {
    position: absolute;
    top: 50%;
    right: 12px;
    width: 7px;
    height: 7px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    content: '';
    transform: translateY(-65%) rotate(45deg);
}

header#top nav#menu > ul > li > a::after {
    position: absolute;
    right: 12px;
    bottom: 5px;
    left: 12px;
    height: 2px;
    background: var(--teal);
    border-radius: 2px;
    content: '';
    opacity: 0;
    transform: scaleX(.45);
    transition: opacity .18s ease, transform .18s ease;
}

header#top nav#menu > ul > li.current-menu-item > a,
header#top nav#menu > ul > li.current-menu-ancestor > a,
header#top nav#menu > ul > li > a:hover,
header#top nav#menu > ul > li > a:focus-visible {
    background: transparent;
    color: var(--teal-dark);
}

header#top nav#menu > ul > li.current-menu-item > a::after,
header#top nav#menu > ul > li.current-menu-ancestor > a::after,
header#top nav#menu > ul > li > a:hover::after,
header#top nav#menu > ul > li > a:focus-visible::after {
    opacity: 1;
    transform: scaleX(1);
}

header#top nav#menu a:focus-visible,
header#top .submenu-toggle:focus-visible,
header#top .hamburger:focus-visible {
    outline: 3px solid rgba(86, 178, 184, .3);
    outline-offset: 2px;
}

header#top nav#menu ul.sub-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    z-index: 20;
    display: grid;
    min-width: 230px;
    max-width: 320px;
    padding: 9px;
    overflow: visible;
    background: rgba(255, 255, 255, .98);
    border: 1px solid rgba(13, 26, 41, .09);
    border-radius: 18px;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translate(-50%, 8px);
    visibility: hidden;
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

header#top nav#menu li:hover > ul.sub-menu,
header#top nav#menu li:focus-within > ul.sub-menu {
    opacity: 1;
    transform: translate(-50%, 0);
    visibility: visible;
}

header#top nav#menu ul.sub-menu li,
header#top nav#menu ul.sub-menu li:last-of-type {
    width: 100%;
    min-width: 0;
}

header#top nav#menu ul.sub-menu a,
header#top nav#menu ul.sub-menu li:last-of-type a {
    display: block;
    padding: 11px 13px;
    border-radius: 10px;
    color: rgba(13, 26, 41, .76) !important;
    font-family: inherit;
    font-size: 1.08rem;
    font-weight: 400;
    line-height: 1.35;
    text-decoration: none;
    transition: background .18s ease, color .18s ease;
}

header#top nav#menu ul.sub-menu a:hover,
header#top nav#menu ul.sub-menu a:focus-visible,
header#top nav#menu ul.sub-menu .current-menu-item > a {
    background: var(--ice);
    color: var(--teal-dark) !important;
}

header#top .submenu-toggle {
    display: none;
}

header#top .cta-wrapper {
    flex: 0 0 auto;
}

header#top .cta-wrapper .button {
    min-height: 46px;
    padding: 11px 20px;
    white-space: nowrap;
}

header#top.site-header--simplified .topbar-inner {
    display: flex;
    justify-content: center;
}

header#top.site-header--simplified .logo-wrapper {
    width: 100%;
    justify-content: center;
}


/*______________________
|                       |
|   6. PAGE CONTENTS    |
|______________________*/

/*
|    6.1. Containers
*/

.content-wrapper {
    overflow: hidden;
}


/*
|    6.2. Header
*/

header {
    position: relative;
    z-index: 100;
    background-color: #333333;
    color: #FFFFFF;
}

header .page-title {
    font-size: 24px;
    font-weight: 500;
    padding-top: 15px;
}

header #site-description {
    font-size: 12px;
    font-weight: 400;
    text-transform: uppercase;
}

.topbar {
    background-color: var(--color-grey2);
    padding: 8px 0;
    font-size: 12px;
}


/*
|    6.3. Footer
*/

div.admin-tools {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px;
    gap: 10px;
}

footer.site-footer {
    position: relative;
    padding: clamp(64px, 7vw, 92px) 0 26px;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 0, rgba(86, 178, 184, .13), transparent 28rem),
        linear-gradient(135deg, var(--navy), #183148);
    border-top: 0;
    color: rgba(255, 255, 255, .78);
    text-align: left;
}

footer.site-footer::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 1px;
    background: rgba(255, 255, 255, .12);
    content: '';
}

.site-footer__grid {
    display: grid;
    grid-template-columns: minmax(280px, 1.35fr) minmax(170px, .65fr) minmax(210px, .8fr);
    gap: clamp(38px, 6vw, 86px);
    align-items: start;
}

.site-footer__brand {
    max-width: 470px;
}

.site-footer__logo {
    display: inline-flex;
    align-items: center;
    border-radius: 8px;
}

footer.site-footer .site-footer__logo img.logo {
    width: min(310px, 100%);
    height: auto;
    filter: brightness(0) invert(1);
}

.site-footer__description {
    max-width: 420px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, .72);
    font-size: 1.08rem;
    line-height: 1.6;
}

.site-footer__socials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

footer.site-footer .site-footer__socials a {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    background: rgba(216, 235, 234, .1);
    border: 1px solid rgba(216, 235, 234, .2);
    border-radius: 50%;
    color: var(--ice);
    font-size: 1.05rem;
    text-decoration: none;
    transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

footer.site-footer .site-footer__socials a:hover,
footer.site-footer .site-footer__socials a:focus-visible {
    background: var(--teal);
    border-color: var(--teal);
    color: #fff;
    transform: translateY(-2px);
}

.site-footer__title {
    margin: 3px 0 20px;
    color: var(--teal);
    font-family: "Donau Neue", Georgia, serif;
    font-size: 1.14rem;
    font-weight: 700;
    letter-spacing: .02em;
    line-height: 1.25;
}

footer.site-footer ul.site-footer__menu {
    display: grid;
    gap: 5px;
    align-items: initial;
    justify-content: initial;
    margin: 0;
    list-style: none;
}

footer.site-footer .site-footer__menu li {
    margin: 0;
}

footer.site-footer .site-footer__menu a {
    position: relative;
    display: inline-flex;
    padding: 6px 0;
    color: rgba(255, 255, 255, .8);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.35;
    text-decoration: none;
    transition: color .18s ease, transform .18s ease;
}

footer.site-footer .site-footer__menu a::after {
    position: absolute;
    right: 0;
    bottom: 2px;
    left: 0;
    height: 1px;
    background: currentColor;
    content: '';
    opacity: 0;
    transform: scaleX(.65);
    transform-origin: left;
    transition: opacity .18s ease, transform .18s ease;
}

footer.site-footer .site-footer__menu a:hover,
footer.site-footer .site-footer__menu a:focus-visible,
footer.site-footer .site-footer__menu .current-menu-item > a,
footer.site-footer .site-footer__menu .current-menu-ancestor > a {
    color: #fff;
}

footer.site-footer .site-footer__menu a:hover::after,
footer.site-footer .site-footer__menu a:focus-visible::after,
footer.site-footer .site-footer__menu .current-menu-item > a::after,
footer.site-footer .site-footer__menu .current-menu-ancestor > a::after {
    opacity: .65;
    transform: scaleX(1);
}

.site-footer__bottom {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 24px 32px;
    align-items: center;
    margin-top: clamp(48px, 6vw, 76px);
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .82);
    font-size: .94rem;
    line-height: 1.45;
}

.site-footer__bottom p,
.site-footer__bottom address {
    margin: 0;
}

footer.site-footer .site-footer__bottom p {
    color: rgba(255, 255, 255, .82);
}

.site-footer__address {
    grid-column: 1;
    color: rgba(255, 255, 255, .82);
    font-style: normal;
}

.site-footer__copyright {
    grid-column: 2;
    text-align: right;
    white-space: nowrap;
}

.site-footer__bottom a {
    color: rgba(255, 255, 255, .9);
    text-underline-offset: 3px;
    transition: color .18s ease;
}

.site-footer__bottom a:hover,
.site-footer__bottom a:focus-visible {
    color: #fff;
}

.site-footer .screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-footer__logo:focus-visible,
footer.site-footer a:focus-visible {
    border-radius: 4px;
    outline: 3px solid rgba(86, 178, 184, .55);
    outline-offset: 4px;
}

footer.site-footer .site-footer__scroller {
    grid-column: 3;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    background: rgba(216, 235, 234, .12);
    border: 1px solid rgba(216, 235, 234, .28);
    border-radius: 50%;
    color: var(--ice);
    font-size: 1.15rem;
    text-decoration: none;
    align-self: center;
    transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

footer.site-footer .site-footer__scroller:hover,
footer.site-footer .site-footer__scroller:focus-visible {
    background: var(--teal);
    border-color: var(--teal);
    color: #fff;
    transform: translateY(-2px);
}

footer.site-footer.site-footer--simplified {
    padding: 26px 0;
}

footer.site-footer.site-footer--simplified .site-footer__bottom {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}


/*
|    6.4. Frontpage
*/


/*
|    6.5. Single-Post
*/

.postmeta {
    margin-top: 15px;
    margin-bottom: 15px;
    background-color: #EFEFEF;
    padding-top: 15px;
    padding-bottom: 15px;
}

.postmeta .share_counter {
    display: inline-block;
    text-align: center;
    float: right;
    margin-left: 10px;
}

.postmeta p {
    margin-bottom: 0;
}

#commentform {
    margin-bottom: 75px;
}

#wp-comment-cookies-consent {
    float: left;
    margin-top: 4px;
    margin-right: 6px;
    position: relative;
}

.comment-form-cookies-consent label {
    font-weight: 300 !important;
    font-size: 14px;
}

.commentlist ul {
    list-style-type: none;
    margin-left: 0;
}

#commentform label {
    display: block;
    font-weight: 500;
    padding-bottom: 5px;
}

#commentform #email,
#commentform #author,
#commentform #url {
    width: 100%;
    max-width: 100%;
}

.comment-form-email {
    width: 50%;
    float: left;
}

.comment-form-url {
    width: 100%;
    margin-bottom: 25px;
}

.comment-form-author {
    width: 50%;
    float: left;
    padding-right: 10px;
}

#commentform #submit {
    cursor: pointer;
}

#commentform #comment {
    width: 100%;
}

.single_post_thumbnail {
    height: 50vh;
    min-height: 50vh;
    background-position: center;
    background-repeat: no-repeat;
    -moz-background-size: cover;
    background-size: cover;
    position: relative;
    z-index: 1;
}

.single_post_thumbnail::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    background-color: rgba(255, 255, 255, 0.55);
}

#single_post_wrapper {
    background-color: #FFFFFF;
    margin: 25px 50px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    z-index: 2;
    position: relative;
}

.single_post_thumbnail_zoom {
    position: absolute;
    right: 0;
    background-color: rgba(255, 255, 255, 0.7);
    bottom: 0;
    -webkit-border-top-left-radius: 5px;
    -moz-border-radius-topleft: 5px;
    border-top-left-radius: 5px;
    -webkit-transition: all 150ms ease-in-out;
    -moz-transition: all 150ms ease-in-out;
    -o-transition: all 150ms ease-in-out;
    transition: all 150ms ease-in-out;
}

.single_post_thumbnail_zoom a {
    padding: 10px;
    display: block;
}

.single_post_thumbnail_zoom:hover {
    margin-bottom: -2px;
    -webkit-transition: all 150ms ease-in-out;
    -moz-transition: all 150ms ease-in-out;
    -o-transition: all 150ms ease-in-out;
    transition: all 150ms ease-in-out;
}

.single_post_thumb_caption {
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 10px 15px 10px 10px;
    font-style: italic;
    font-size: 14px;
}

.vote_overlay {
    position: relative;
}

#feedback.voted {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: transparent;
    z-index: 100;
}

.commentlist .comment-author img {
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}

.commentlist .comment-author .fn,
.commentlist .comment-author .says {
    padding: 0 5px;
}

.commentlist .comment-author {
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: flex-start;
    align-items: flex-start;
    flex-direction: row;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
    padding-top: 10px;
    padding-left: 25px;
}

.commentlist .date {
    font-size: 12px;
    margin-top: -4px;
    color: var(--color-grey4);
    display: block;
}

.commentlist .comment-body {
    margin: 25px 0 45px 0;
}

.commentlist .comment-body .comment_text_body {
    background-color: var(--color-grey2);
    padding: 25px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    position: relative;
    margin-bottom: 15px;
}

.commentlist .comment-body .comment_text_body::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 35px;
    width: 0;
    height: 0;
    border: 20px solid transparent;
    border-top-color: var(--color-grey2);
    border-bottom: 0;
    border-right: 0;
    margin-left: -10px;
    margin-bottom: -20px;
}

.commentlist .reply {
    float: right;
}

.commentlist ul ul {
    margin-left: 8%;
}

.post-wrapper {
    margin-top: 60px;
    margin-bottom: 60px;
}

.post-wrapper article[id^=post-]:not(:last-of-type) {
    margin-bottom: 30px;
}

.post-wrapper article[id^=post-] h2 {
    margin-bottom: 0;
}

.post-wrapper article[id^=post-] a {
    text-decoration: none;
}

.post-wrapper article[id^=post-] p {
    color: #333333;
}


/*______________________
|                       |
|   7. MISCELLANEOUS    |
|______________________*/

.slick-slide {
    height: unset;
}


/* Page-load popup */

body.page-load-popup-is-open {
    overflow: hidden;
}

.page-load-popup {
    position: fixed;
    z-index: 10000;
    inset: 0;
    display: grid;
    place-items: center;
    overflow-y: auto;
    padding: clamp(16px, 4vw, 48px);
    background: rgba(13, 26, 41, .72);
    backdrop-filter: blur(5px);
    animation: page-load-popup-backdrop-in 220ms ease-out both;
}

.page-load-popup[hidden] {
    display: none;
}

.page-load-popup__dialog {
    position: relative;
    width: min(720px, 100%);
    max-height: calc(100vh - clamp(32px, 8vw, 96px));
    overflow-y: auto;
    padding: clamp(34px, 6vw, 64px);
    border: 1px solid rgba(86, 178, 184, .24);
    border-radius: var(--radius);
    background:
        radial-gradient(circle at 100% 0, rgba(216, 235, 234, .9), transparent 19rem),
        var(--cream);
    box-shadow: var(--shadow);
    animation: page-load-popup-dialog-in 260ms ease-out both;
}

.page-load-popup__close {
    position: absolute;
    z-index: 1;
    top: 16px;
    right: 16px;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.page-load-popup__close span {
    position: relative;
    display: block;
    width: 24px;
    height: 24px;
    transition: transform .2s ease;
}

.page-load-popup__close span::before,
.page-load-popup__close span::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 28px;
    height: 4px;
    border-radius: 999px;
    background: var(--teal-dark);
    content: '';
    transform-origin: center;
}

.page-load-popup__close span::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.page-load-popup__close span::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.page-load-popup__close:focus-visible {
    outline: 2px solid var(--teal);
    outline-offset: 1px;
    border-radius: 8px;
}

.page-load-popup__close:hover span,
.page-load-popup__close:focus-visible span {
    transform: scale(1.08);
}

.page-load-popup__close:focus:not(:focus-visible) {
    outline: none;
}

.page-load-popup__content h2 {
    margin-bottom: .45em;
    font-size: clamp(38px, 6vw, 56px);
}

.page-load-popup__content h3 {
    margin-bottom: .4em;
    font-size: clamp(27px, 4vw, 34px);
}

.page-load-popup__content p {
    font-size: clamp(17px, 2vw, 20px);
    line-height: 1.55;
}

.page-load-popup__content a:not(.button) {
    color: var(--teal-dark);
    font-weight: 700;
    text-decoration-thickness: 1px;
    text-underline-offset: .18em;
}

.page-load-popup__content a:not(.button):hover,
.page-load-popup__content a:not(.button):focus-visible {
    color: var(--navy);
}

.click-popup__buttons {
    display: flex;
    width: min(100%, 520px);
    flex-direction: column;
    gap: 14px;
    margin-right: auto;
    margin-left: auto;
}

.page-load-popup__content + .click-popup__buttons {
    margin-top: clamp(26px, 4vw, 40px);
}

.click-popup__buttons .button {
    width: 100%;
    margin: 0;
    text-align: center;
}

.page-load-popup.is-closing {
    animation: page-load-popup-backdrop-out 220ms ease-in both;
}

.page-load-popup.is-closing .page-load-popup__dialog {
    animation: page-load-popup-dialog-out 180ms ease-in both;
}

@keyframes page-load-popup-backdrop-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes page-load-popup-backdrop-out {
    from { opacity: 1; }
    to { opacity: 0; }
}

@keyframes page-load-popup-dialog-in {
    from { opacity: 0; transform: translateY(18px) scale(.98); }
    to { opacity: 1; transform: none; }
}

@keyframes page-load-popup-dialog-out {
    from { opacity: 1; transform: none; }
    to { opacity: 0; transform: translateY(12px) scale(.98); }
}

@media (max-width: 575.98px) {
    .page-load-popup {
        align-items: end;
        padding: 12px;
    }

    .page-load-popup__dialog {
        max-height: calc(100vh - 24px);
        padding: 48px 24px 30px;
        border-radius: 22px;
    }

    .page-load-popup__close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .page-load-popup,
    .page-load-popup__dialog,
    .page-load-popup.is-closing,
    .page-load-popup.is-closing .page-load-popup__dialog {
        animation-duration: 1ms;
    }
}
