/*
Theme Name: Castle in Transilvania Theme
Author: Aprilred

Generated from 2017
*/

@import url('https://fonts.googleapis.com/css2?family=Alegreya+Sans:ital,wght@0,100;0,300;0,400;0,500;0,700;0,800;0,900;1,100;1,300;1,400;1,500;1,700;1,800;1,900&family=Inter:ital,opsz,wght@0,14..32,100;1,14..32,100&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Alegreya+Sans+SC:ital,wght@0,100;0,300;0,400;0,500;0,700;0,800;0,900;1,100;1,300;1,400;1,500;1,700;1,800;1,900&family=Alegreya+Sans:ital,wght@0,100;0,300;0,400;0,500;0,700;0,800;0,900;1,100;1,300;1,400;1,500;1,700;1,800;1,900&family=Inter:ital,opsz,wght@0,14..32,100;1,14..32,100&display=swap');

:root {
    /* Colors and gradients */
    --off-black:#141419;
    --off-white:#FDFDFD;
    --pont:#EE2B7D;
    --pont-dark:#D7006A;
    --pont-inactive: #ee2b7c60;
    --site-bg:#F3F3F3;
    --grad-5-100: linear-gradient(90deg, #EE2B7D 0%, rgba(238, 43, 125, 5%) 100%);
    --grad-10-25: linear-gradient(90deg, rgba(238, 43, 125, 25%) 0%, rgba(238, 43, 125, 10%) 100%);
    --grad-st: linear-gradient(-90deg, rgba(0, 0, 0, 0%) 0%, #000000 100%);
    --text-bg: rgba(0, 0, 0, 43%);

    /* Text */
    --ff-alegreya: "Alegreya Sans", sans-serif;
    --ff-alegreya-sc: "Alegreya Sans SC", sans-serif;
    
    --fs-h1: clamp(1.75rem, 1.2692rem + 1.9231vw, 3rem); /* 28px - 48px - 400-1440*/
    /* --fs-h1: clamp(2.25rem, 1.9714rem + 1.1429vw, 3rem); 36px - 48px */
    --fs-h2: clamp(1.375rem, 1.2357rem + 0.5714vw, 1.75rem); /* 22px - 28px */
    --fs-h3: clamp(1.125rem, 1.0786rem + 0.1905vw, 1.25rem); /* 18px - 20px */
    --fs-body: clamp(0.875rem, 0.8286rem + 0.1905vw, 1rem); /* 14px - 16px */
    --fs-menu: clamp(0.75rem, 0.6107rem + 0.5714vw, 1.125rem); /* 12px - 18px */
    --fs-data-value: clamp(0.75rem, 0.7036rem + 0.1905vw, 0.875rem); /* 12px - 14px */
    --fs-img-captoon: clamp(0.75rem, 0.7036rem + 0.1905vw, 0.875rem); /* 12px - 14px */

    --ls-2: 0.02em;
    --ls-5: 0.05em;

    --fw-100: 100;
    --fw-400: 400;
    --fw-700: 700;

    /* Spacing */
    --p-8: 0.5rem;
    --p-12: 0.75rem;
    --p-16: 1rem;
    --p-24: 1.5rem;
    --p-32: 2rem;
    --p-48: 3rem;
    --p-button: 0.5rem 1rem;

    /* Slider related */
    --page-size: 1200px;
    --page-padding: 1.5rem;
    --page-offset: max(var(--page-padding), calc(50vw - var(--page-size) / 2 - var(--page-padding) / 2));

    /* Radius */
    --r-8:0.5rem;
}

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 {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1.4em;
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
}

body *,
::before,
::after {
    box-sizing: border-box;
    /* transition: ease-in-out 0.3s; */
    text-rendering: geometricPrecision;
}

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

body a {
    color: #ee2b7d;
}

body a:hover {
    color: #222;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

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

details,
menu {
    display: block;
}

summary {
    display: list-item;
}

canvas {
    display: inline-block;
}

template {
    display: none;
}

[hidden] {
    display: none;
}

.flex-container {
    display: flex;
}

.bottom-banners .nap {
    background: url('assets/images/bottom1.jpg') no-repeat;
}

.bottom-banners .fb {
    background: url('assets/images/bottom2.jpg') no-repeat;
}

.bottom-banners .web {
    background: url('assets/images/bottom3.jpg') no-repeat;
}

header .header-cnt,
header .navigation-top .wrap,
.site-main .castles-listing,
.site-main .experts-listing .experts-container,
.site-main .videos-listing .videos-container,
.site-main .bottom-banners .bottom-banners-container,
.site-main .breadcrumbs,
.site-main .page_title,
body:not(.home) .site-content,
footer .wrap,
.about_content_home {
    /* max-width: 1240px; */
    max-width: 1200px;
    margin: 0 auto;
}

header .navigation-top {
    background-color: #682e0b;
    position: relative;
}

header .navigation-top:before {
    content: "";
    top: -17px;
    width: 100%;
    background-image: url(assets/images/menu_bg.png);
    background-position: 50%;
    height: 20px;
    position: absolute;
    background-repeat: no-repeat;
}

.site-footer:before {
    content: "";
    width: 100%;
    background-image: url(assets/images/menu_bg.png);
    background-position: 50%;
    height: 20px;
    position: absolute;
    background-repeat: no-repeat;
    margin-top: -17px;
}

header .navigation-top:after {
    content: "";
    bottom: -17px;
    width: 100%;
    background-image: url(assets/images/menu_bg.png);
    background-position: 50%;
    height: 20px;
    position: absolute;
    background-repeat: no-repeat;
    transform: rotate(180deg);
    z-index: 99;
}

header .header-cnt {
    padding: 30px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header .header-cnt .language-switcher {
    margin-left: 40px;
}

header .header-cnt .language-switcher .items li a {
    display: inline-block;
    padding: 20px 20px 20px 0;
    text-decoration: none;
    color: #222;
    font-weight: 700;
    font-size: 14px;
}

header .header-cnt .language-switcher .items li a:hover,
header .header-cnt .language-switcher .items li a.active {
    color: #ee2b7d;
}

header .header-cnt .logo a img {
    max-width: 80%;
}

header .header-cnt .logo a:hover img {
    filter: grayscale();
}

header .header-cnt .pont {
    display: flex;
    align-items: center;
    justify-items: center;
    /* margin-left: auto; */
    margin-left: 25%;
    gap: 15px;
}

header .header-cnt .pont .logo a{
    display: flex;
    align-items: center;
    justify-content: center;
}

header .navigation-top #top-menu,
header .header-cnt .language-switcher .items {
    display: flex;
}

header .navigation-top #top-menu {
    padding: 10px 0;
}

header .navigation-top #top-menu li.search-icon {
    margin-left: auto;
}

header .navigation-top #top-menu li.search-icon a {
    text-indent: -9999px;
    background-image: url("assets/images/search_icon.png");
    background-position: 50%;
    background-repeat: no-repeat;
}

header .navigation-top #top-menu li.search-icon a:hover {
    background-color: transparent;
    opacity: .8;
}

header .navigation-top #top-menu li a {
    display: inline-block;
    padding: 10px 25px;
    font-size: 13px;
    color: #fff;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.5px;
}

header .navigation-top #top-menu li:first-of-type a {}

header .navigation-top #top-menu li.current-menu-item a,
header .navigation-top #top-menu li a:hover {
    background-color: #eee;
    color: #682e0b;
    border-radius: 30px;
}

header .navigation-top #top-menu li.current-menu-item.search-icon a {
    background-color: transparent;
}

.castles-banners .owl-stage .item {
    position: relative;
}

.castles-banners .owl-stage .item .image a:hover img {
    filter: sepia();
}

.castles-banners .owl-stage .item .title {
    position: absolute;
    bottom: 40px;
    left: 0;
    width: 100%;
    text-align: center;
}

.castles-banners .owl-stage .item .title a {
    color: #fff;
    text-transform: uppercase;
    text-decoration: none;
    text-shadow: 1px 1px #4D4D4D;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.castles-banners .owl-stage {
    position: relative;
}

.castles-banners .owl-carousel .owl-nav button.owl-next,
.castles-banners .owl-carousel .owl-nav button.owl-prev {
    position: absolute;
    top: 45%;
    background-color: #eee;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    outline: 0;
    -webkit-box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.2);
}

.castles-banners .owl-carousel .owl-nav button:hover {
    background-color: #ccc;
}

.castles-banners .owl-carousel .owl-nav button.owl-next span {
    display: block;
    margin-top: -5px;
    margin-left: 1px;
    font-size: 24px;
}

.castles-banners .owl-carousel .owl-nav button.owl-prev span {
    display: block;
    margin-top: -5px;
    margin-right: 1px;
    font-size: 24px;
}

.castles-banners .owl-carousel .owl-nav button.owl-next {
    right: 3%;
}

.castles-banners .owl-carousel .owl-nav button.owl-prev {
    left: 3%;
}

.site-main .castles-listing,
.about_content_home {
    padding: 60px 0;
}

.page-template-page-news .castles-listing {
    padding: 0;
}

.site-main .castles-listing .items {
    justify-content: space-between;
    /* flex-wrap: wrap; */
}

.site-main .castles-listing .items li {
    /* flex-basis: 31%; */
    /* margin-bottom: 30px; */
    /* flex-basis: 23%; */
}

.site-main .castles-listing .items li .image {
    margin-bottom: 10px;
}

.site-main .castles-listing .items li .image img {
    width: 100%;
}

.site-main .castles-listing .items li .title a {
    font-size: 24px;
    font-weight: 700;
    color: #ee2b7d;
    text-decoration: none;
    margin-bottom: 10px;
    display: block;
    line-height: 32px;
}

.site-main .castles-listing .items li .teaser {
    font-size: 14px;
    text-align: justify;
}

.site-main .castles-listing .items li .title a:hover {
    color: #222;
}

.site-main .experts-listing .experts-link,
.site-main .videos-listing .videos-container .videos-link {
    text-align: center;
    margin: 60px 0 40px;
}

.site-main .experts-listing .experts-link a,
.site-main .videos-listing .videos-container .videos-link a {
    color: #ee2b7d;
    text-decoration: none;
    font-size: 36px;
}

.site-main .experts-listing .experts-link a:hover,
.site-main .experts-listing .items li .name a:hover,
.site-main .videos-listing .videos-container .videos-link a:hover {
    color: #222;
}

.site-main .experts-listing .items {
    justify-content: space-between;
}

.site-main .experts-listing .items li {
    flex-basis: 23%;
}

.site-main .experts-listing .items li .image {
    margin-bottom: 15px;
    text-align: center;
    max-width: 272px;
    max-height: 282px;
}

.site-main .experts-listing .items li .image a:hover img {
    filter: sepia();
}

.site-main .experts-listing .items li .name {
    text-align: center;
}

.site-main .experts-listing .items li .name a {
    color: #ee2b7d;
    text-decoration: none;
    font-size: 20px;
}

.site-main .experts-listing .items li .occupation {
    text-align: center;
}

.site-main .experts-listing .all-link {
    text-align: center;
    margin: 80px 0 60px;
}

.site-main .experts-listing .all-link a {
    background-color: #ee2b7d;
    text-decoration: none;
    color: #fff;
    padding: 15px 35px;
    border-radius: 25px;
    font-size: 14px;
    text-transform: uppercase;
}

.site-main .experts-listing .all-link a:hover {
    background-color: #222;
}

.site-main .videos-listing {
    background-color: #eee;
    padding: 5px 0 60px;
}

.site-main .videos-listing .videos-container .videos-carousel {
    max-width: 960px;
    margin: 0 auto;
}

.site-main .videos-listing .videos-container {
    position: relative;
}

.site-main .videos-listing .videos-container .videos-carousel .owl-item iframe {
    width: 100%;
    height: 540px;
}

.site-main .videos-listing .videos-container .owl-prev {
    position: absolute;
    top: 50%;
    left: -80px;
}

.site-main .videos-listing .videos-container .owl-next {
    position: absolute;
    top: 50%;
    right: -80px;
}

.site-main .videos-listing .videos-container .owl-prev.disabled,
.site-main .videos-listing .videos-container .owl-next.disabled {
    opacity: 0.35;
}

.site-main .videos-listing .videos-container .owl-prev,
.site-main .videos-listing .videos-container .owl-next {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 3px solid #222;
    outline: none;
}

.site-main .videos-listing .videos-container .owl-prev:hover,
.site-main .videos-listing .videos-container .owl-next:hover {
    background-color: #222;
}

.site-main .videos-listing .videos-container .owl-prev span,
.site-main .videos-listing .videos-container .owl-next span {
    margin-top: -7px;
    display: block;
    font-size: 24px;
}

.site-main .videos-listing .videos-container .owl-prev span {
    margin-right: 2px;
}

.site-main .videos-listing .videos-container .owl-next span {
    margin-left: 2px;
}

.site-main .videos-listing .videos-container .owl-prev:hover span {
    margin-right: 5px;
    color: #eee;
}

.site-main .videos-listing .videos-container .owl-next:hover span {
    margin-left: 5px;
    color: #eee;
}

.site-main .bottom-banners {
    padding: 60px 0;
}

.site-main .bottom-banners .bottom-banners-container h3 {
    text-align: center;
    text-transform: uppercase;
    font-size: 22px;
    width: 100%;
    text-align: center;
    background-size: 100%;
    background-position: center;
    margin: 10px;
}

.site-main .bottom-banners .bottom-banners-container h3 a {
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    padding: 50px 10px;
    display: block;
    text-shadow: 1px 1px #4D4D4D;
}

.site-main .bottom-banners .bottom-banners-container h3:hover {
    background-size: 110%;
    transition: ease-in-out 0.3s;
}

.site-main .bottom-banners .bottom-banners-container h3:hover a {
    background-color: rgba(0, 0, 0, 0.3);
}

footer .wrap {
    padding: 40px 10px;
}

footer .wrap .flex-container {
    justify-content: space-between;
}

footer .wrap .flex-container #footer-menu {
    font-weight: 700;
    display: flex;
    flex-direction: column;
    gap: var(--p-8);
}

footer .wrap .flex-container .navigation-top .wrap {
    padding:0;
}

footer .wrap .flex-container .part-left {
    flex-basis: 33%;
    font-size: 14px;
}

footer .wrap .flex-container .part-right {
    flex-basis: 33%;
    text-align: right;
    font-size: 14px;
}

footer .wrap .flex-container .part-center {
    flex-basis: 34%;
    font-size: 14px;
}

footer .wrap .flex-container .part-left .socials,
footer .wrap .flex-container .part-left .pont,
footer .wrap .flex-container .part-center .pont,
footer .wrap .flex-container .part-left .address {
    margin-bottom: 10px;
}

.above_footer {
    margin-top: 30px;
}

.above_footer .items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: auto;
    /* max-width: 1240px; */
    max-width: 1200px;
}

.above_footer .items li {
    flex-basis: 14%;
    padding: 10px;
    margin-right: 20px;
    margin-bottom: 20px;
    height: 120px;
    /* border: 2px solid #aaa; */
    max-width: 160px;
}

.above_footer .items li a {
    display: block;
    height: 100%;
}

#colophon a {
    color: #ffffff;
    text-decoration: none;
}

#colophon a:hover {
    text-decoration: underline;
}

.above_footer .items li img {
    filter: grayscale();
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: block;
    max-width: 100%;
    max-height: 100%;
    position: relative;
    filter: saturate(0);
    vertical-align: bottom;
}

.above_footer .items li a:hover img {
    filter: none;
}

footer .part-right h2 {
    margin-bottom: 20px;
}

.content-area .breadcrumbs {
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 12px;
    text-transform: uppercase;
}

.site-main .breadcrumbs a {
    text-decoration: none;
}

.breadcrumbs {
    display: none;
}

.site-main .page_title {
    font-size: 30px;
    margin-bottom: 40px;
    color: #ee2b7d;
    line-height: 1.3em;
}

.page-template-page-news .news-listing {
    flex-wrap: wrap;
    justify-content: space-between;
}

.page-template-page-news .news-listing li {
    flex-basis: 23%;
    margin-bottom: 40px;
}

.page-template-page-news .news-listing li img {
    width: 100%;
}

.page-template-page-news .news-listing li img:hover {
    filter: grayscale();
}

.page-template-page-news .news-listing li .date {
    font-size: 12px;
}

.page-template-page-news .news-listing li .name a {
    text-decoration: none;
    font-size: 18px;
}

.page-template-page-news .news-listing li .name {
    margin-bottom: 10px;
    min-height: 60px;
}

.page-template-page-news .news-listing li .excerpt {
    font-size: 14px;
}

.page-template-page-castles .filters {
    background-color: #eee;
    padding: 20px 30px;
}

.page-template-page-castles .filters .input-box {
    margin-top: 10px;
    width: 100%;
}

.page-template-page-castles .filters label,
.page-template-page-experts-register form.wpcf7-form label,
.page-template-page-contact form.wpcf7-form label {
    display: block;
    margin-bottom: 3px;
    font-size: 12px;
    text-transform: uppercase;
}

.page-template-page-castles .filters .cols .col {
    flex-basis: 25%;
    padding-right: 10px;
}

.page-template-page-castles .filters .cols .col:last-of-type {
    padding-right: 0;
    display: flex;
    flex-wrap: wrap;
}

.page-template-page-castles .filters .cols .col input[type=text],
.page-template-page-experts-register form.wpcf7-form input[type=text],
.page-template-page-experts-register form.wpcf7-form input[type=tel],
.page-template-page-experts-register form.wpcf7-form input[type=email],
.page-template-page-castles .filters .cols .col select,
.page-template-page-contact form.wpcf7-form textarea,
.page-template-page-contact form.wpcf7-form input[type=text],
.page-template-page-contact form.wpcf7-form input[type=tel],
.page-template-page-contact form.wpcf7-form input[type=email],
.page-template-page-contact form.wpcf7-form textarea {
    width: 100%;
    background-color: #fff;
    color: #333;
    padding: 10px 15px;
    border: 0;
    border-radius: 0;
    outline: none;
    font-family: "Open Sans", sans-serif;
}

.castle-template-default.single-castle .localization .srcx {
    background-color: #fff;
    color: #333;
    padding: 10px 15px;
    border: 0;
    border-radius: 0;
    outline: none;
    font-family: "Open Sans", sans-serif;
}

.page-template-page-castles .filters .cols .col input[type=text],
.castle-template-default.single-castle .localization .srcx,
.page-template-page-experts-register form.wpcf7-form input[type=text],
.page-template-page-experts-register form.wpcf7-form input[type=tel],
.page-template-page-experts-register form.wpcf7-form input[type=email],
.page-template-page-experts-register form.wpcf7-form textarea,
.page-template-page-contact form.wpcf7-form input[type=text],
.page-template-page-contact form.wpcf7-form input[type=tel],
.page-template-page-contact form.wpcf7-form input[type=email],
.page-template-page-contact form.wpcf7-form textarea {
    border: 1px solid #fff;
}

.page-template-page-castles .filters .cols .col input[type=text]:focus,
.page-template-page-castles .filters .cols .col input[type=text]:hover,
.castle-template-default.single-castle .localization .srcx:hover,
.castle-template-default.single-castle .localization .srcx:focus,
.page-template-page-experts-register form.wpcf7-form input[type=text]:focus,
.page-template-page-experts-register form.wpcf7-form input[type=tel]:focus,
.page-template-page-experts-register form.wpcf7-form input[type=email]:focus,
.page-template-page-experts-register form.wpcf7-form input[type=text]:hover,
.page-template-page-experts-register form.wpcf7-form input[type=tel]:hover,
.page-template-page-experts-register form.wpcf7-form input[type=email]:hover,
.page-template-page-experts-register form.wpcf7-form textarea:hover,
.page-template-page-experts-register form.wpcf7-form textarea:focus,
.page-template-page-contact form.wpcf7-form input[type=text]:focus,
.page-template-page-contact form.wpcf7-form input[type=tel]:focus,
.page-template-page-contact form.wpcf7-form input[type=email]:focus,
.page-template-page-contact form.wpcf7-form input[type=text]:hover,
.page-template-page-contact form.wpcf7-form input[type=tel]:hover,
.page-template-page-contact form.wpcf7-form input[type=email]:hover,
.page-template-page-contact form.wpcf7-form textarea:hover,
.page-template-page-contact form.wpcf7-form textarea:focus {
    border: 1px solid #777;
}

.page-template-page-castles .filters .cols .col input[type=submit],
.page-template-page-experts-register form.wpcf7-form input[type=submit],
.page-template-page-contact form.wpcf7-form input[type=submit] {
    width: 100%;
    background-color: #ee2b7d;
    color: #fff;
    text-transform: uppercase;
    border: 0;
    margin-top: 14px;
    outline: none;
    font-family: "Open Sans", sans-serif;
    cursor: pointer;
}

.page-template-page-experts-register form.wpcf7-form input[type=submit],
.page-template-page-contact form.wpcf7-form input[type=submit] {
    padding: 10px 20px;
}

.castle-template-default.single-castle .localization .srcx2 {
    background-color: #ee2b7d;
    color: #fff;
    text-transform: uppercase;
    outline: none;
    border: 0;
    font-family: "Open Sans", sans-serif;
    cursor: pointer;
    padding: 11px 25px;
}

.page-template-page-castles .filters .cols .col input[type=submit]:hover,
.castle-template-default.single-castle .localization .srcx2:hover,
.page-template-page-experts-register form.wpcf7-form input[type=submit]:hover,
.page-template-page-contact form.wpcf7-form input[type=submit]:hover {
    background-color: #000;
}

.page-template-page-experts-register form.wpcf7-form .wpcf7-response-output,
.page-template-page-contact form.wpcf7-form .wpcf7-response-output {
    margin: 0;
}

.page-template-page-castles .pagination {
    background-color: #eee;
    padding: 10px 30px;
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.page-template-page-castles .pagination a,
.page-template-page-castles .pagination span {
    text-decoration: none;
    display: inline-block;
    padding: 5px 10px;
    font-size: 14px;
}

.page-template-page-castles .sorter {
    margin-top: 10px;
    font-size: 14px;
}

.page-template-page-castles .sorter button {
    border: 0;
    background-color: #555;
    color: #fff;
    text-transform: uppercase;
    font-size: 11px;
    font-family: "Open Sans", sans-serif;
    cursor: pointer;
    padding: 5px 10px;
    outline: none;
}

.page-template-page-castles .sorter button:hover,
.page-template-page-castles .sorter button.active {
    background-color: #ee2b7d;
}

.page-template-page-experts .experts-listing {
    flex-wrap: wrap;
    justify-content: space-between;
    margin-left: -10px;
    margin-right: -10px;
}

.page-template-page-experts .experts-listing li {
    flex-basis: 24%;
    margin-bottom: 40px;
    padding: 10px;
}

.page-template-page-experts .experts-listing li .image,
li .news-elem .image,
.castles-listing ul li .image,
.expert-image .image {
    margin-bottom: 10px;
    text-align: center;
    max-width: 272px;
    max-height: 282px;
}

.expert-image .image img {
    max-width: 272px;
    max-height: 282px;
}

.page-template-page-experts .experts-listing li a {
    text-decoration: none;
    display: block;
}

.page-template-page-experts .experts-listing li .name {
    font-weight: 700;
    font-size: 20px;
    text-align: center;
}

.page-template-page-experts .experts-listing li .occupation {
    font-size: 14px;
    text-align: center;
    margin-bottom: 20px;
}

.page-template-page-experts .experts-listing li .link {
    text-align: center;
}

.page-template-page-experts .experts-listing li .link a {
    display: inline-block;
    padding: 7px 25px;
    border: 1px solid #222;
    border-radius: 20px;
    font-size: 14px;
    text-transform: uppercase;
    color: #222;
}

.page-template-page-experts .experts-listing li .link a:hover {
    background-color: #222;
    color: #fff;
}

.page-template-page-experts .site-main>.flex-container {
    justify-content: space-between;
    margin-bottom: 30px;
}

.social ul {
    display: flex;
}

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

.social ul li a,
.flex-container .socials a {
    display: inline-block;
    border-radius: 50%;
    height: 34px;
}

.social ul li a:hover,
.flex-container .socials a:hover {
    /* background-color: #ccc; */
}

.flex-container .register-experts a {
    display: inline-block;
    padding: 7px 25px;
    color: #fff;
    text-transform: uppercase;
    font-size: 14px;
    border-radius: 20px;
    background-color: #ee2b7d;
    text-decoration: none;
}

.flex-container .register-experts a:hover {
    background-color: #222;
}

.page-template-page-projects .wrapper,
.expert-template-default.single .wrapper {
    justify-content: space-between;
    margin-bottom: 40px;
}

.page-template-page-projects .wrapper .part-left,
.expert-template-default.single .wrapper .expert-image {
    flex-basis: 20%;
}

.page-template-page-projects .wrapper .part-right,
.expert-template-default.single .wrapper .expert-cnt {
    flex-basis: 75%;
}

.page-template-page-projects .wrapper .part-left .chapters li a {
    display: block;
    background-color: #eee;
    text-decoration: none;
    padding: 10px 25px;
}

.page-template-page-projects .wrapper .part-left .chapters li a:hover,
.page-template-page-projects .wrapper .part-left .chapters li a.active {
    background-color: #222;
    color: #fff;
}

.page-template-page-projects .wrapper .part-left .chapters li:first-of-type a {
    padding-top: 15px;
}

.page-template-page-projects .wrapper .part-left .chapters li:last-of-type a {
    padding-bottom: 15px;
}

.page-template-page-projects .page_content {
    margin-top: 20px;
}

.site-main p {
    margin-bottom: 20px;
    line-height: 1.4em;
}

.site-main strong {
    font-weight: 700;
}

.page-template-page-general.page-two-column .page_content {
    column-count: 2;
    column-gap: 80px;
}

.page-template-page-partners .after_content .category {
    margin-bottom: 20px;
}

.page-template-page-partners .after_content .subtitle {
    font-size: 20px;
    margin-bottom: 10px;
}

.page-template-page-partners .after_content .items {
    display: flex;
    justify-content: space-between;
    text-align: center;
}

.page-template-page-partners .after_content .items li {
    flex-basis: 15%;
}

.news-template-default.single-news .site-main,
.castle-template-default.single-castle .site-main {
    max-width: 760px;
    margin: 40px auto;
}

.castle-template-default.single-castle .attributes .castle-table ul,
.expert-template-default.single-expert .expert-table ul {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.castle-template-default.single-castle .attributes .castle-table ul li,
.expert-template-default.single-expert .expert-table ul li {
    flex-basis: 50%;
    border-bottom: 1px solid #777;
    padding: 5px 0;
    font-size: 14px;
}

.castle-template-default.single-castle .attributes .castle-table ul li.table-label,
.expert-template-default.single-expert .expert-table ul li.table-label {
    font-weight: 700;
}

.castle-template-default.single-castle .localization {
    background-color: #eee;
    padding: 30px 25px;
    border-top: 5px solid #ee2b7d;
}

.castle-template-default.single-castle .localization .map_u_title {
    font-size: 24px;
    color: #ee2b7d;
    margin-bottom: 15px;
}

.castle-template-default.single-castle .localization .col-sm-7 {
    display: flex;
    justify-content: space-between;
}

.castle-template-default.single-castle .localization .col-sm-7 .srcx,
.castle-template-default.single-castle .localization .col-sm-7 .srcx2 {
    flex-basis: 32%;
}

.castle-template-default.single-castle .social {
    margin-bottom: 10px;
}

.expert-template-default.single-expert .page_title {
    margin-bottom: 5px;
}

.expert-template-default.single-expert .social {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 10px;
}

.expert-template-default.single-expert .expert-table {
    max-width: 50%;
}

.expert-template-default.single-expert .wrapper .content {
    width: 100%;
}

.page-template-page-experts-register form.wpcf7-form {
    column-count: 2;
    column-gap: 40px;
    background-color: #ddd;
    padding: 20px 30px;
}

.page-template-page-contact form.wpcf7-form {
    background-color: #ddd;
    padding: 20px 30px;
}

.gallery-carousel .owl-nav {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.gallery-carousel .owl-nav button {
    position: absolute;
    top: 40%;
    pointer-events: all;
    outline: none;
}

.gallery-carousel .owl-nav button span {
    display: block;
    color: #fff;
    font-size: 28px;
    background-color: #ee2b7d;
    padding: 4px 13px 10px 13px;
    border-radius: 50%;
}

.gallery-carousel .owl-nav button:hover span {
    background-color: #000;
}

.gallery-carousel .owl-nav button.owl-prev {
    left: 5px;
}

.gallery-carousel .owl-nav button.owl-next {
    right: 5px;
}

#colophon {
    background: #682E0B;
    color: #ffffff;
}

.single-expert .description p strong {
    margin-top: 20px;
}

.single-expert .description ul {
    margin-top: 20px;
    margin-bottom: 30px;
}

.single-expert .description ul li {
    margin-left: 30px;
    padding-left: 10px;
    list-style: disc;
}

.files-doc {
    background: url('assets/images/files-doc.png') no-repeat left center;
}

.files-pdf {
    background: url('assets/images/files-pdf.png') no-repeat left center;
}

.files ul li {
    padding-left: 35px;
}

.social ul li a:hover {
    background: #aaaaaa;
}

ul.videos-listing-page {
    display: flex;
    max-width: 100%;
    flex-wrap: wrap;
}

ul.videos-listing-page li {
    flex-basis: 23%;
}

.circleimg,
.circleimg img {
    max-width: 272px;
    max-height: 282px;
}

ul.videos-listing-page li .title {
    padding: 10px 0px;
    text-align: center;
}

ul.videos-listing-page li .title a {
    font-size: 24px;
    font-weight: 700;
    color: #ee2b7d;
    text-decoration: none;
    margin-bottom: 10px;
    display: block;
    line-height: 32px;
    text-align: center;
}

ul.videos-listing-page li .link a {
    text-align: center;
}

.single-video iframe {
    width: 80%;
    height: 600px;
    margin: auto;
    display: inline-block;
}

.single-video .item {
    text-align: center;
}

.experts-listing .items li .image,
.expert-image .image,
.page-template-page-experts .experts-listing li .image {
    background-size: cover !important;
}

.pont-research {
    height: 100px;
}

.castles-map,
.castles-map * {
    transition: none;
}


/* SITE REDESIGN */

/* General */

#page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-content-contain {
    flex: 1;
}

.site-footer {
    margin-top: 3rem;
}

.wrap-custom {
    width: calc(100% - 2* var(--page-padding, 0px));
    max-width: var(--page-size, 100%);
    padding-inline: var(--page-padding, 0px);
    margin: 0 auto;
    box-sizing: content-box;
}

h1 {
    font-size: var(--fs-h1);
    letter-spacing: var(--ls-2);
    font-weight: 600;
    font-family: var(--ff-alegreya-sc);
    line-height: 1.3;
}

h2 {
    font-size: var(--fs-h2);
    letter-spacing: var(--ls-5);
    font-weight: 400;
    font-family: var(--ff-alegreya-sc);
    color: var(--pont);
}

h3 {
    font-size: var(--fs-h3);
    font-weight: 600;
    color: var(--pont);
    font-family: var(--ff-alegreya);
}



/* Header */
header {
    background-color: var(--off-white);
}
header .navigation-top {
    background-color: transparent;
    font-family: var(--ff-alegreya);
}

header .navigation-top #top-menu li a {
    color: var(--off-black);
    font-size: var(--fs-menu);
    text-transform: none;
    font-weight: var(--fw-400);
    padding:0;
}

header .navigation-top #top-menu li a:hover {
    background-color: transparent;
    border-radius: 0;
    color: var(--pont);
    text-shadow: 0px 0px 1px rgba(238,43,125,0.6);
}

header .navigation-top #top-menu {
    padding:0;
}

header .navigation-top::before, header .navigation-top::after {
    content: none;
}

header .header-cnt .language-switcher .items li a {
    color:var(--off-black);
    font-size: var(--fs-menu);
    font-weight: var(--fw-400);
}

header .header-cnt .logo a img {
    max-width: 100%;
    max-height: 70px;
}

header .header-cnt {
    padding: var(--p-12) 0;
}

header .navigation-top #top-menu li.search-icon a {
    background-image: url("assets/images/search_icon.png");
}

header .header-cnt .language-switcher .items li a {
    padding: 0;
}

header .navigation-top #top-menu, header .header-cnt .language-switcher .items {
    gap:var(--p-24);
}

/* Slider - castles */

.site-main .castles-listing {
    max-width: 100%;

}

.listing-header {
    padding-bottom: var(--p-24);
    max-width: 1200px;
    margin:0 auto;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.listing-header .listing-title {
    font-size: var(--fs-h2);
    color: var(--pont);
    font-family: var(--ff-alegreya-sc);
}

.listing-nav-more {
    display: flex;
    flex-direction: row;
    gap: var(--p-24);
    align-items: center;
}

.listing-nav-more .listing-more {
    padding: var(--p-button);
    background-color: var(--pont);
    border-radius: 8px;
    color: var(--off-white);
}

.site-main .castles-listing .items li {
    border-radius: 8px;
    overflow: hidden;
}

.site-main .castles-listing .items li .image img {
    display: none;
}

.site-main .castles-listing .splide__slide .image {
    width: 100%;
    max-height: 100%;
    aspect-ratio: 1/1;
}

.castles-listing ul li .image {
    max-width: 100%;
    max-height: 100%;
}

.site-main .castles-listing .items li .image {
    margin-bottom: 0;
    background-size: 100%;
}

.site-main .castles-listing .items li .main-info {
    display: flex;
    flex-direction: column;
    gap: var(--p-16);
    align-items: center;

    width: 100%;
    background-color: var(--text-bg);
    border: 1px solid var(--grad-10-25);
    border-radius: 8px;
    padding: var(--p-16) 0;
    backdrop-filter: blur(10px);
}

.site-main .castles-listing .items li .title {
    font-family: var(--ff-alegreya);
    font-size: var(--fs-h3);
    color: var(--off-white);
    text-align: center;
}

.site-main .castles-listing .items li .location {
    font-family: var(--ff-alegreya-sc);
    font-size: var(--fs-h2);
    color: var(--off-white);
    text-align: center;
}

.site-main .castles-listing .items li .teaser {
    font-family: var(--ff-alegreya);
    font-size: var(--fs-body);
    color: var(--off-white);

    -webkit-box-orient: vertical;
    display: -webkit-box;
    -webkit-line-clamp: 7;
    overflow: hidden;

    transition: ease-in-out 0.3s;
    opacity: 0;
}

.site-main .castles-listing .items li a:hover .teaser {
    opacity: 1;
}

.site-main .castles-listing .items li a:hover .info-wrapper {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--text-bg);
    backdrop-filter: blur(10px);
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
}

.site-main .castles-listing .items li a:hover .main-info {
    backdrop-filter: blur(0px);
    background-color: var(--pont);
}


.site-main .castles-listing .splide__slide {
    position: relative;
}

.site-main .castles-listing .splide__slide .info-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--p-32);

    width: 100%;
    position: absolute;
    top:69%;
    left: 50%;
    transform: translate(-50%, 0%);
    padding: 1rem;

    transition: ease-in-out 0.3s;
}

.site-main .castles-listing  .splide-nav {
    position: relative;
}

/* Sliders - castles search results */
.page-template-page-castles .site-main .castles-listing .items,
.page-template-page-news .site-main .castles-listing .items {
    display: grid !important;
    grid-template-columns: repeat(4,1fr);
    gap: 1.5rem;
}

.page-template-page-castles .site-main .castles-listing .splide__slide .info-wrapper,
.page-template-page-news .site-main .castles-listing .splide__slide .info-wrapper {
    top: 55%;
}


/* Progress indicator */

.progress-indicator {
    height: 0.25rem;
    background-color: #FDFDFD;
    background-clip: content-box;
	overflow: hidden;
    margin-top: 3.125rem;

    max-width: 1200px;
    margin: 0 auto;
    margin-top: 5rem;
}

.progress-indicator::before {
    content: '';
    display: block;
    height: 100%;
	width: var(--value, 0%);
    background-color: #D7006A;
    transition: width 400ms ease;
}

/* Footer */
.site-footer:before {
    content: none;
}

#colophon {
    background-color: var(--pont);
    /* margin-top: var(--p-32); */
}

/* Hero */
.castles-banners .items {
    display: flex !important;
    flex-wrap: nowrap;
    flex-direction: row;
    overflow: hidden;

}

.castles-banners .items .item {
    flex-basis: 100%;
    position: relative;
    width: 100%;
    height: 78vh;
    flex-shrink: 1;
    display: block;
    transition: ease-in-out 0.3s;
}

.castles-banners .items:not(:hover) .item:nth-child(1) {
    flex-basis: 500%;
}

.castles-banners .items .item:hover {
    flex-basis: 500%;
}

.castles-banners .items .item .image {
    width: 100%;
    height: auto;
}

.castles-banners .items .item .image {
    position: absolute;
    inset:0;
}

.castles-banners .items .item .image img {
    width: 100%;
    height: 78vh;
    object-fit: cover;
}

.castles-banners .items .item .title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
}

.castles-banners .items .item .title a {
    padding: var(--p-12) var(--p-24);
    background-color: var(--pont-dark);
    color: var(--off-white);
    text-decoration: none;
    text-align: center;
    border-radius: 8px;
    text-wrap:nowrap;
    font-family: var(--ff-alegreya-sc);
    font-size: var(--fs-h2);
}

.castles-banners .items:hover .item .title {
    opacity: 0;
    transition: ease-in-out 0.4s;
}

.castles-banners .items:hover .item:hover .title {
    opacity: 1;
}

.castles-banners .items:not(:hover) .item:nth-child(2) .title,
.castles-banners .items:not(:hover) .item:nth-child(3) .title {
    opacity: 0;
}

.castles-banners .items .item .image {
    position: relative;
    display: block;
}

.castles-banners .items .item .image::before {
    content: '';
    position: absolute;
    inset:0;
    background: linear-gradient(-90deg, rgba(0, 0, 0, 0%) 0%, #000000 100%);
    width: 100%;
    height: 100vh;
}

.castles-banners .items:hover .item:hover .image::before,
.castles-banners .items:not(:hover) .item:nth-child(1) .image::before {
    content: none;
}

.castles-banners .items:hover .item:not(:hover) .image::before  {
    background: linear-gradient(-90deg, #000000 0%, rgba(0, 0, 0, 0%) 100%);
}

.castles-banners .items:hover .item:hover ~ .item .image::before {
    background: linear-gradient(-90deg, rgba(0, 0, 0, 0%) 0%, #000000 100%);
}

/* Castle single page */

body.single-castle .site-content {
    max-width: 1440px;
}

.castle-template-default.single-castle .site-main {
    max-width: 1200px;
    
    display: flex;
    flex-direction: column;
    gap: var(--p-48);
}

h1.castle-name {
    background: -webkit-linear-gradient(-180deg, rgba(238, 43, 125, 50%) 0%, #D7006A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background: linear-gradient(-180deg, rgba(238, 43, 125, 50%) 0%, #D7006A 100%);
    background-clip: text;
    padding: var(--p-16);
    text-align: center;
}

body.single-castle section {
    padding: var(--p-32);
    position: relative;

    display: flex;
    flex-direction: column;
    gap: var(--p-32);
}

body.single-castle section::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 8px;
    border: 1px solid transparent;
    background: linear-gradient(90deg, rgba(238, 43, 125, 25%) 0%, rgba(238, 43, 125, 10%) 100%) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    z-index: -5;
}

h2.section-title {
    position: relative;
}

h2.section-title span {
    background-color: var(--off-white);
    padding-right: var(--p-32);
    font-weight: var(--fw-700);
}

h2.section-title::after {
    content: "";
    position: absolute;
    inset: 0;
    border-top: 5px solid transparent;
    border-radius: var(--r-8);
    background: linear-gradient(90deg, #EE2B7D 0%, rgba(238, 43, 125, 5%) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    z-index: -5;
    top: var(--p-8);
}

.general-info-list {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    align-items: start;
    gap: var(--p-32);
}

.general-info-item {
    display: grid;
    align-items: center;
    position: relative;
}

.general-info-item::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 8px;
    border: 1px solid transparent;
    background: linear-gradient(90deg, rgba(238, 43, 125, 25%) 0%, rgba(238, 43, 125, 10%) 100%) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    z-index: -1;
}

.general-info-label {
    border-radius: var(--r-8) var(--r-8) 0 0;
    background-color: var(--pont);
    color: var(--off-white);
    padding: var(--p-8) var(--p-16);
    height: -webkit-fill-available;
    display: flex;
    justify-content: center;
    align-items: center;
}

.general-info-value {
    border-radius: 0 var(--r-8) var(--r-8) 0;
    color: var(--off-black);
    padding: var(--p-16);
    text-align: center;
}

.castle-owners-list {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: var(--p-32);
}

.castle-owners-item {
    padding:var(--p-button);
    background-color: var(--pont);
    border-radius: var(--r-8);
}

.castle-owners-item a {
    color: var(--off-white);
    text-decoration: none;
}

.castle-history-description p {
    color: var(--off-black);
}

body.single-castle section.castle-history {
    gap: var(--p-12);
}

.castle-contact-list {
    display: flex;
    flex-wrap: wrap;
}

.castle-contact-list-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--p-32);
    margin-bottom: 2rem;
    /* flex-basis: 70%; */
}

.castle-contact-map {
    /* flex-basis: 30%; */
    width: 100%;
}

.castle-contact-map #map {
    height: 70vh !important;
}

.castle-contact-list .castle-contact-map img {
    max-width: 100%;
}

.castle-contact-list a {
    font-weight: var(--fw-700);
    text-decoration: none;
}

.castle-contact-list img {
    max-width: 2rem;
}

.castle-contact-single {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--p-8);
}

.castle-links-list {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: var(--p-32);
}

.castle-links-list a {
    color: var(--off-white);
    text-decoration: none;
}

.castle-link {
    padding: var(--p-button);
    background-color: var(--pont);
    border-radius: var(--r-8);
}

.castle-gallery-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--p-8);
}

.castle-gallery-list a {
    display: flex;
}

.castle-gallery-image {
    object-fit: cover;
    aspect-ratio: 1 / 1;
}

/* New Footer */
footer .wrap .flex-container .part-left {
    font-size: var(--fs-body);
    font-weight: var(--fw-700);
}

footer h3 {
    color: var(--off-white);
}

footer input[type=text] {
    border: 1px solid var(--off-white);
    padding: var(--p-12);
    width: 100%;
    border-radius: var(--r-8);
    font-family: var(--ff-alegreya);
    font-size: var(--fs-data-value);
}

footer input[type=submit] {
    border: 1px solid var(--off-white);
    padding: var(--p-button);
    color: var(--pont);
    background-color: var(--off-white);
    border-radius: var(--r-8);
    font-weight: var(--fw-700);
    font-family: var(--ff-alegreya);
    font-size: var(--fs-data-value);
}

footer input[type=text]::placeholder {
    color: var(--pont);
    font-size: var(--fs-data-value);
}

footer .footer_copyright {
    text-align: center;
    font-size: var(--fs-data-value);
    padding-top: var(--p-32);
    font-weight: var(--fw-700);
}

footer .wrap {
    padding: var(--p-48) 0 var(--p-16);
}

footer .wrap .flex-container {
    display: flex;
    flex-direction: row;
    gap: var(--p-16);
    align-items: center;
    justify-content: space-between;
}

footer .footer-social-wrap {
    color: var(--off-white);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--p-16);
    font-weight: var(--fw-700);
    font-size: var(--fs-body);
}

footer .footer-social-wrap img {
    max-width: 2rem;
    filter: brightness(0) invert(1);
}

footer .footer-social-wrap .footer-social-single {
    display: flex;
    flex-direction: row;
    gap: var(--p-8);
    align-items: center;
}

footer .wrap .flex-container .part-left,
footer .wrap .flex-container .part-right {
    flex-basis: auto;
}

/* About us page */

.about-assoc-wrap {
    display: flex;
    flex-direction: column;
    gap: var(--p-48);
    padding-top: var(--p-48);
}

.about-assoc {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: var(--p-32);

    position: relative;
    padding: var(--p-32);
}

.about-assoc::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 8px;
    border: 1px solid transparent;
    background: linear-gradient(90deg, rgba(238, 43, 125, 25%) 0%, rgba(238, 43, 125, 10%) 100%) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    z-index: -5;
}

.about-assoc-logo {
    display: flex;
}

.about-assoc-logo img {
    max-width: 150px;
}

.about-assoc-desc h2 {
    padding-bottom: var(--p-16);
}

.about-assoc-desc h2 a {
    text-decoration: none;
}

/* Partners */

.page-template-page-partners .category {
    padding: var(--p-32);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--p-32);
}

.page-template-page-partners .category::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 8px;
    border: 1px solid transparent;
    background: linear-gradient(90deg, rgba(238, 43, 125, 25%) 0%, rgba(238, 43, 125, 10%) 100%) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    z-index: -5;
}

/* .page-template-page-partners .after_content .items {
    align-items: center;
} */

.part-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: ease-in-out 300ms;
}

.part-title {
    display: grid;
    position: absolute;
    background: #ee2b7d;
    inset: 0;
    place-items: center;
    color: var(--off-white) !important;
    padding: var(--p-8);
    line-height: 1.5;
    text-decoration: none;
    font-weight: var(--fw-400);
    transition: ease-in-out 300ms;
    opacity: 0;
    border-radius: var(--r-8);
}

.part-wrap:hover .part-title,
.part-wrap:focus .part-title {
    display: grid;
    transition: ease-in-out 300ms;
    opacity: 1;
}

h1.section-title {
    position: relative;
    font-size: var(--fs-h2);
    letter-spacing: var(--ls-5);
    font-weight: 400;
    font-family: var(--ff-alegreya-sc);
    color: var(--pont);
}

h1.section-title span {
    background-color: var(--off-white);
    padding-right: var(--p-32);
    font-weight: var(--fw-700);
}

h1.section-title::after {
    content: "";
    position: absolute;
    inset: 0;
    border-top: 5px solid transparent;
    border-radius: var(--r-8);
    background: linear-gradient(90deg, #EE2B7D 0%, rgba(238, 43, 125, 5%) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    z-index: -5;
    top: var(--p-8);
}

/* News */
.page-template-page-news .site-main {
    padding: var(--p-32);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--p-32);
}

.page-template-page-news .site-main::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 8px;
    border: 1px solid transparent;
    background: linear-gradient(90deg, rgba(238, 43, 125, 25%) 0%, rgba(238, 43, 125, 10%) 100%) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    z-index: -5;
}

.page-template-page-news .site-main .castles-listing .items  {
    grid-template-columns: repeat(3, 1fr);
}

.page-template-page-news .site-main .castles-listing .items li .image {
    background-size: cover !important;
}

/* Experts */

.page-template-page-experts .listing,
.page-template-page-contact .listing {
    padding: var(--p-32);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--p-32);
}

.page-template-page-experts .listing::before,
.page-template-page-contact .listing::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 8px;
    border: 1px solid transparent;
    background: linear-gradient(90deg, rgba(238, 43, 125, 25%) 0%, rgba(238, 43, 125, 10%) 100%) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    z-index: -5;
}

.expert-elem .image {
    aspect-ratio: 1;
    max-width: 300px !important;
    width: 100%;
    border-radius: var(--r-8);
}

.expert-elem .name {
    color: var(--pont-dark);
}

.expert-elem .occupation {
    color: var(--pont);
}

.expert-elem .occupation {
    margin-bottom: 0;
}

/* Map */

.filters-wrap {
    position: relative;
    padding: 3rem;
    margin-top: 3rem;
}

.filters-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 8px;
    border: 1px solid transparent;
    background: linear-gradient(90deg, rgba(238, 43, 125, 25%) 0%, rgba(238, 43, 125, 10%) 100%) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    z-index: -5;
}

.map-container {
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 3rem;
    /* margin-top: 3rem; */
    padding: 3rem;
    position: relative;
}

.map-svg {
    max-width: 65%;
    margin: 0 auto;
}

.map-container::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 8px;
    border: 1px solid transparent;
    background: linear-gradient(90deg, rgba(238, 43, 125, 25%) 0%, rgba(238, 43, 125, 10%) 100%) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    z-index: -5;
}

.ro-active {
    fill: var(--pont);
    cursor: pointer;
    stroke: white;
    stroke-width: 1;
}

.ro-inactive {
    fill:var(--pont-inactive);
    cursor: default;
    stroke: white;
    stroke-width: 1;
}

.ro-active:hover {
    fill:var(--pont-dark);
    stroke-width: 2;
}

text {
    dominant-baseline: central;
    text-anchor: middle;
    fill: var(--off-white);
}

.ro-active:hover text {
    font-weight: 700;
}

#ke_map text {
    pointer-events: none;
}

.map-cta.section-title {
    font-family: var(--ff-alegreya);
    font-size: var(--fs-h2);
    margin-bottom: 2rem;
    font-weight: var(--fw-700);
    position: relative;
    letter-spacing: var(--ls-5);
}

.map-cta.section-title span {
    background-color: var(--off-white);
    padding-right: var(--p-32);
    font-weight: var(--fw-700);
}

.map-cta.section-title::after {
    content: "";
    position: absolute;
    inset: 0;
    border-top: 5px solid transparent;
    border-radius: var(--r-8);
    background: linear-gradient(90deg, #EE2B7D 0%, rgba(238, 43, 125, 5%) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    z-index: -5;
    top: var(--p-8);
}

/* h1.section-title.map-cta::after {
    content: none;
} */

.map-popup {
    display: none;
    position: absolute;
    /* inset: 5rem;
    padding:2rem;
    z-index: 100;
    background-color: var(--pont);
    backdrop-filter: blur(10px); */
    background-color: #ee2b7d;
    backdrop-filter: blur(10px);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 3rem;
}

.map-popup.active {
    display: block;
    width: 100%;
    max-width: 500px;
    z-index: 100;
}

.map-popup.active .county-name {
    color: var(--off-white);
    font-size: calc(var(--fs-h2)*1.3);
    font-family: var(--ff-alegreya-sc);
}

.county-label {
    color:var(--off-white);
    
}

.map-popup-header {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
}

.map-popup .county-castle-nr{
    color: var(--off-white);
    font-size: var(--fs-h3);
    margin-bottom: 2rem;
    margin-top: 1rem;
}

.map-popup.active .popup-close img {
    max-width: 36px;
}

.map-popup.active .popup-close:hover,
.map-filter:hover {
    cursor: pointer;
}

.map-filter {
    background-color: var(--off-white);
    color: var(--pont);
    padding: 1rem;
    font-weight: var(--fw-400);
    width: 100%;
    display: block;
    text-align: center;
}

.map-popup.active ~ .map-svg {
    filter: blur(15px) grayscale(100%) brightness(150%);
    transition: ease-out 300ms;
}

.map-hover-tooltip {
    position: absolute;
    background-color: black;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    display: none;
    white-space: nowrap;
}

.county-box .input-box {
    display: none;
}

.has-suggestions {
    position: relative;
}

.suggestion-wrapper {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    max-height: 200px;
    overflow-y: auto;
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease, top 0.3s ease;
}

.suggestion-item {
    padding: 8px;
    cursor: pointer;
}

.suggestion-item:hover {
    background-color: #f0f0f0;
}

/*parallax START*/

/* Typography */
/**************************/
/* #parallax-world-of-ugg h1 {
    font-size:24px; font-weight:400;
    text-transform: uppercase;
    color:black;
    padding:0;
    margin:0;
} */

#parallax-world-of-ugg section:nth-child(2) > .parallax h2 {
    color: var(--off-white);
    text-align: center;
    font-size: 3vw;
    line-height: 1.5;
    font-weight: 700;
}

#parallax-world-of-ugg h2 {
    position: relative;
    font-size: var(--fs-h2);
    letter-spacing: var(--ls-5);
    font-weight: 400;
    font-family: var(--ff-alegreya-sc);
    color: var(--pont);
    margin-bottom: var(--p-32);
}

#parallax-world-of-ugg h2.empty-title span {
    padding-right: 4px;
}

#parallax-world-of-ugg h2.empty-title:after {
    border-radius: 0;
}

#parallax-world-of-ugg h2 span {
    background-color: var(--off-white);
    padding-right: var(--p-32);
    font-weight: var(--fw-700);
}

#parallax-world-of-ugg h2 span::after {
    content: "";
    position: absolute;
    inset: 0;
    border-top: 5px solid transparent;
    border-radius: var(--r-8);
    background: linear-gradient(90deg, #EE2B7D 0%, rgba(238, 43, 125, 5%) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    z-index: -5;
    top: var(--p-8);
}

#parallax-world-of-ugg .about-assoc-desc h2 {
    font-size: var(--fs-h2);
    color: var(--pont);
    font-family: var(--ff-alegreya-sc);
    text-align: left;
    max-width: 100%;
    position: relative;
    font-weight: 700;
}

#parallax-world-of-ugg h3 {
    font-family:'Oswald', sans-serif;
    font-size:14px; line-height:0; font-weight:400;
    letter-spacing:8px;
    text-transform: uppercase;
    color:black;
}

/* #parallax-world-of-ugg p {
    font-family:'Source Sans Pro', sans-serif;
    font-weight:400;
    font-size:14px;
    line-height:24px;
} */

.first-character {
    font-weight:400;
    float: left;
    font-size: 84px;
    line-height: 64px;
    padding-top: 4px;
    padding-right: 8px;
    padding-left: 3px;
    font-family: 'Source Sans Pro', sans-serif;
}

.sc {
    color: #3b8595;
}
.ny {
    color: #3d3c3a;
}
.atw {
    color: #c48660;
}

/* Section - Title */
/**************************/
#parallax-world-of-ugg .title {
    background: white;
    /* padding: 60px; */
    margin: 0 auto;
    text-align: center;
}
#parallax-world-of-ugg .title h1 {
    font-size: 35px;
    letter-spacing: 8px;
}

/* Section - Block */
/**************************/
#parallax-world-of-ugg .block {
    padding: var(--p-32);
    max-width: 1200px;
    position: relative;
    margin: 4rem auto;
}

#parallax-world-of-ugg .block::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 8px;
    border: 1px solid transparent;
    background: linear-gradient(90deg, rgba(238, 43, 125, 25%) 0%, rgba(238, 43, 125, 10%) 100%) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    z-index: -5;
}

#parallax-world-of-ugg .block-gray {
    background: #f2f2f2;
    padding: 60px;
}
#parallax-world-of-ugg .section-overlay-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    opacity: 0.7;
}

#parallax-world-of-ugg .block a.list-more-link {
    padding: var(--p-button);
    background-color: var(--pont);
    border-radius: 8px;
    color: var(--off-white);
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 1.5rem;
    width: fit-content;
    display: block;
    margin: 0 auto;
    transition: transform 200ms;
}

#parallax-world-of-ugg .block a.list-more-link:hover {
    background-color: var(--pont-dark);
    transform: scale(1.1);
}

#parallax-world-of-ugg .block .listing-more {
    margin-top: 3rem;
    text-align: center;
}

/* Section - Parallax */
/**************************/
#parallax-world-of-ugg .parallax {
    padding-top: 200px;
    padding-bottom: 200px;
    overflow: hidden;
    position: relative;
    width: 100%;
    background-attachment: fixed;
    background-size: cover;
    -moz-background-size: cover;
    -webkit-background-size: cover;
    background-repeat: no-repeat;
    background-position: top center;
}

/* Extras */
/**************************/
#parallax-world-of-ugg .line-break {
    border-bottom: 1px solid black;
    width: 150px;
    margin: 0 auto;
}

#castle_numbers,
.castle_text {
    text-align: center;
    width: max-content;
    padding: 0 0.5rem;
}

.castle_number_description {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem 0;
    font-size: 2rem;
    color: var(--off-black);
}

#castle_numbers .castle_number.count,
.castle_text_inner {
    padding: 1.5rem;
    background-color: var(--pont);
    border-radius: 8px;
    color: var(--off-white);
    text-decoration: none;
    font-size: 1.5rem;
    /* min-width: 7rem; */
    font-weight: 700;
    text-wrap:nowrap;
}

#castle_numbers .castle_number_label {
    font-weight: 400;
    color: var(--off-white);
    font-size: 1.25rem;
    margin-top: .75rem;
}

#parallax-world-of-ugg .about_content_home,
#parallax-world-of-ugg .about-assoc-wrap {
    padding: 0;
}

#parallax-world-of-ugg .about-assoc::before {
    content: none;
}

.home .bottom-image {
    display: flex;
}

span.bold-text {
    font-weight: bold;
}

#jumpToTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
    background: #EE2B7D;
    color: white;
    border: 2px solid white !important;
    font-size: 30px;
    font-weight: bold;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.9);
    transition: opacity 0.3s, transform 0.2s, visibility 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

#jumpToTop:hover {
    transform: scale(1.1);
    opacity: 1;
}

#jumpToTop.visible-but {
    opacity: 0.7;
    visibility: visible;
}


/* Privacy and cookie*/
.content_wrap {
    padding: var(--p-32);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--p-32);
}

.privacy-policy .content_wrap::before,
.page-template-page-cookie-policy .content_wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 8px;
    border: 1px solid transparent;
    background: linear-gradient(90deg, rgba(238, 43, 125, 25%) 0%, rgba(238, 43, 125, 10%) 100%) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    z-index: -5;
}

/* Menu */

#hamburger-state,
.hamburger-toggle {
    display: none;
}

/* .hamburger-toggle {
    width: 2rem;
    height:2rem;
} */

.hamburger-menu .language-switcher {
    display: none;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1;
}

/* Contact page info */
.section-contact-btn {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap:var(--p-32);
}

.section-contact-btn-single, .section-contact-title {
    border: 1px solid var(--pont);
    border-radius: var(--r-8);
    padding: var(--p-32);

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--p-8);
}

.section-contact-title {
    font-family: var(--ff-alegreya);
    font-size: var(--fs-h2);

    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--p-24);
    align-items: center;
    justify-content: center;
}

.section-contact-title img {
    max-width: 120px;
}

.section-contact-btn-single img {
    max-width: 48px;
    margin-bottom: var(--p-16);
}

.contact-btn-label {
    text-align: center;
    font-weight: var(--fw-700);
    color: var(--off-black);
}

.contact-btn-value {
    text-align: center;
}

.contact-btn-value a {
    text-decoration: none;
}

/* Studies */

.page-template-page-studies .studies-listing .splide__slide {
    border-radius: 8px;
    overflow: hidden;
}

.page-template-page-studies .site-main {
    padding: var(--p-32);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--p-32);
}

.page-template-page-studies .site-main::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 8px;
    border: 1px solid transparent;
    background: linear-gradient(90deg, rgba(238, 43, 125, 25%) 0%, rgba(238, 43, 125, 10%) 100%) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    z-index: -5;
}

.page-template-page-studies .studies-listing {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: var(--p-32);
}

.page-template-page-studies .studies-listing {
    background-color: cover !important;
}

.page-template-page-studies .studies-listing .studies-elem img {
    margin-right: var(--p-8);
    max-width: 48px;
    width: 100%;
    height: 100%;
}

.page-template-page-studies .studies-listing .studies-elem .name {
    display: flex;
}

.page-template-page-studies .studies-listing .studies-elem a {
    text-decoration: none;
    font-family: var(--ff-alegreya);
    font-size: var(--fs-h3);
}

.site-main .studies-listing .image {
    margin-bottom: 0;
}

.site-main .studies-listing .splide__slide .image {
    width: 100%;
    max-height: 100%;
    aspect-ratio: 1 / 1;
    background-size: cover !important;
}

.studies-listing ul li .image {
    max-width: 100%;
}

.site-main .studies-listing .splide__slide img {
    display: none;
}

.site-main .studies-listing .splide__slide .info-wrapper {
    bottom:0%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--p-32);
    width: 100%;
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0%);
    padding: 1rem;
    transition: ease-in-out 0.3s;
}

.site-main .studies-listing .splide__slide .info-wrapper .main-info {
    display: flex;
    flex-direction: column;
    gap: var(--p-16);
    align-items: center;
    width: 100%;
    background-color: var(--text-bg);
    border: 1px solid var(--grad-10-25);
    border-radius: 8px;
    padding: var(--p-16) 0;
    backdrop-filter: blur(10px);
}

.site-main .studies-listing .splide__slide .info-wrapper .main-info .location {
    font-family: var(--ff-alegreya-sc);
    font-size: var(--fs-h2);
    color: var(--off-white);
    text-align: center;
}

.site-main .studies-listing .splide__slide .info-wrapper .main-info .title {
    font-family: var(--ff-alegreya);
    font-size: var(--fs-h3);
    color: var(--off-white);
    text-align: center;
}

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

.en_ver_notify {
    font-style: italic;
    text-align: center;
    font-weight: 700;
}
/* 
.page-template-page-castles .castle-listing .items .splide__slide a[title]:hover::after {
    display: none;
} */

/* Media Queries */
/**************************/
@media screen and (max-width: 959px) and (min-width: 768px) {
    #parallax-world-of-ugg .block {
        padding: 40px;
        width: 620px;
    }
}
@media screen and (max-width: 767px) {
    #parallax-world-of-ugg .block {
        padding: 30px;
        width: 420px;
    }
    #parallax-world-of-ugg h2 {
        font-size: 30px;
    }
    #parallax-world-of-ugg .block {
        padding: 30px;
    }
    #parallax-world-of-ugg .parallax-one,
    #parallax-world-of-ugg .parallax-two,
    #parallax-world-of-ugg .parallax-three {
        padding-top: 100px;
        padding-bottom: 100px;
    }
    .page-template-page-contact .section-contact-btn {
        grid-template-columns: 1fr;
    }
    .about-assoc-logo {
        align-self: center;
    }
    #parallax-world-of-ugg .about-assoc-desc h2 {
        text-align: center;
    }

    .page-template-page-experts .experts-listing li .name {
        word-spacing: 100vw;
    }
}
@media screen and (max-width: 479px) {
    #parallax-world-of-ugg .block {
        padding: 30px 15px;
        width: 290px;
    }
    }
/*parallax END*/

@media screen and (width < 961px) {
    .page-template-page-castles .site-main .castles-listing .items,
    .page-template-page-news .site-main .castles-listing .items {
        display: flex;
    }
}

@media screen and (width < 768px) {
    #ke_map text {
        display: none;
    }

    #parallax-world-of-ugg section:nth-child(2) > .parallax h2 {
        font-size: 6vw;
    }

    #parallax-world-of-ugg .parallax {
        padding-top: 20vh;
        padding-bottom: 20vh;
    }

    #parallax-world-of-ugg .block {
        width: 90%;
    }

    .about-assoc {
        flex-direction: column;
        align-items: flex-start;
        padding: var(--p-32) 0;
    }

    .about-assoc-wrap {
        gap: 0;
    }

    #parallax-world-of-ugg .about-assoc-desc h2 {
        margin-bottom: 0;
    }

    #parallax-world-of-ugg h2 span {
        font-size: 1.75rem;
        padding-right: var(--p-16);
    }

    footer .wrap .flex-container {
        flex-direction: column;
        padding: var(--p-16);
        gap: var(--p-32);
        align-items:stretch;
    }

    footer .navigation-top .wrap {
        padding:0;
    }

    #parallax-world-of-ugg .block a.list-more-link {
        font-size: 1.125rem;
        width: 100%;
    }

    .map-container {
        margin: 0 var(--p-16);
        padding: var(--p-32);
    }

    .map-svg {
        max-width: 100%;
    }

    .map-cta.section-title span {
        padding-right: var(--p-16);
    }

    .castle_number_description {
        flex-wrap: wrap;
        gap: var(--p-16);
        padding: 0 var(--p-16);
    }

    #castle_numbers .castle_number.count, .castle_text_inner {
        padding: 1rem;
    }

    .filters-wrap {
        margin: 0 var(--p-16);
        padding: var(--p-32);
    }

    .filters-wrap .filters .cols.flex-container {
        flex-direction: column;
        gap: var(--p-16);
    }

    .page-template-page-castles .filters .cols .col {
        padding-right: 0;
    }

    .page-template-page-castles .filters .cols .col input[type=submit], .page-template-page-experts-register form.wpcf7-form input[type=submit], .page-template-page-contact form.wpcf7-form input[type=submit] {
        padding: var(--p-16);
    }

    .site-main .castles-listing {
        max-width: 90%;
    }

    .page-template-page-castles .site-main .castles-listing .items,
    .page-template-page-news .site-main .castles-listing .items,
    .page-template-page-studies .studies-listing {
        grid-template-columns: 1fr;
    }

    .site-main .castles-listing .items li .image {
        background-size: cover !important;
    }

    .site-main .castles-listing .splide__slide .info-wrapper {
        padding: 0;
    }

    footer .wrap .flex-container .part-center {
        flex-basis: 100%;
    }

    footer input[type=submit] {
        width: 100%;
        padding:var(--p-16);
    }

    .content-area .breadcrumbs {
        margin:var(--p-16);
        display: none;
    }

    .page-template-page-castles .sorter {
        display: flex;
        flex-direction: column;
        gap: var(--p-16);
    }

    .page-template-page-castles .sorter label {
        font-family: var(--ff-alegreya);
        font-size: var(--p-16);
    }

    .page-template-page-castles .sorter button {
        padding:var(--p-16);
    }

    .site-main .castles-listing .items li .teaser {
        background-color: var(--text-bg);
        backdrop-filter: blur(10px);
        padding: var(--p-16);
        display: none;
    }

    .site-main .castles-listing .items li .main-info {
        border-radius: 8px 8px 0 0;
    }
    
    .page-template-page-castles .site-main .castles-listing .splide__slide .info-wrapper,
    .page-template-page-news .site-main .castles-listing .splide__slide .info-wrapper {
        bottom: 0;
        gap: 0;
        top: auto;
    }

    #castle_numbers .castle_number.count, .castle_text_inner {
        font-size: 1.25rem;
    }

    #castle_numbers, .castle_text {
        padding:0;
    }

    .general-info-list,
    .castle-contact-list-inner {
        grid-template-columns: 1fr;
    }

    .castle-contact-map #map {
        height: 55vh !important;
    }

    .castle-template-default.single-castle .localization .col-sm-7 {
        display: grid;
        grid-template-columns: 1fr;
        gap: var(--p-32);
    }

    .castle-template-default.single-castle .localization .srcx,
    .castle-template-default.single-castle .localization .srcx2 {
        padding: var(--p-16);
    }

    .castle-gallery-list {
        grid-template-columns: 1fr 1fr;
    }

    .castle-template-default.single-castle .site-main,
    .page-template-page-experts .listing, .page-template-page-contact .listing,
    .page-template-page-news .site-main,
    .page-template-page-studies .site-main{
        margin: 0 var(--p-16);
    }

    .page-template-page-experts .experts-listing {
        display: grid;
        grid-template-columns: 1fr 1fr;
        margin:0;
    }

    /* .page-template-page-experts .listing, .page-template-page-contact .listing {
        padding:var(--p-16);
    } */

    .page-template-page-experts .experts-listing li {
        margin-bottom: 0;
    }

    .page-template-page-experts .site-main>.flex-container {
        display: none;
    }

    .page-template-page-partners .after_content .category {
        margin: 0 var(--p-16);
    }

    .page-template-page-partners .after_content .items {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: var(--p-16);
    }

    .logo,
    .hamburger-toggle {
        z-index: 2;
    }
    .hamburger-toggle {
        display: block;
    }
    .header-cnt > .language-switcher {
        display: none;
    }
    .hamburger-menu .language-switcher {
        display: block;
    }
    .hamburger-menu {
        position: absolute;
        /* inset: 0; */
        background: white;
        top: 100%;
        left: 0;
        width: 100%;
        z-index: 1;
        display: flex;
        flex-direction: column;
        padding: 2rem 0;
        height: 100vh;
    }

    header .navigation-top #top-menu li a, header .header-cnt .language-switcher .items li a {
        font-size: var(--fs-h3);
        padding: var(--p-16);
    }

    #hamburger-state:not(:checked) ~ .hamburger-menu {
        display: none;
    }

    header .header-cnt {
        padding: var(--p-16);
    }

    footer input[type=text] {
        padding:var(--p-16);
    }

    header .navigation-top #top-menu {
        display: flex;
        flex-direction: column;
        gap: var(--p-16);
        align-items: center;
    }

    header .header-cnt .language-switcher .items {
        display: flex;
        flex-direction: row;
        gap: var(--p-16);
        align-items: center;
        justify-content: space-around;
        margin: 0 var(--p-32);
    }

    header .header-cnt .language-switcher {
        margin-left: 0;
    }

    /* Hamburger button */

    .hamburger-toggle input {
        display: block;
        width: 40px;
        height: 32px;
        position: absolute;
        top: -7px;
        left: -5px;
        cursor: pointer;
        opacity: 0;
        z-index: 2;
    }

    .hamburger-toggle span{
        display: block;
        width: 33px;
        height: 4px;
        margin-bottom: 5px;
        position: relative;
        
        background: var(--off-black);
        border-radius: 3px;
        
        z-index: 1;
        
        transform-origin: 4px 0px;
        
        transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              opacity 0.55s ease;
    }

    .hamburger-toggle:has(+ #hamburger-state:checked) span.ham-3 {
        transform-origin: 0% 0%;
    }
    
    .hamburger-toggle:has(+ #hamburger-state:checked) span {
        opacity: 1;
        transform: rotate(45deg) translate(-2px, -1px);
        background: #232323;
    }

    .hamburger-toggle:has(+ #hamburger-state:checked) span.ham-2{
        opacity: 0;
        transform: rotate(0deg) scale(0.2, 0.2);
    }

    .hamburger-toggle:has(+ #hamburger-state:checked) span.ham-3{
        transform: rotate(-45deg) translate(-1px, -1px);
    }

}

.page-template-page-contact .section-contact-title div {
    font-weight: 700;
}

.is-compact .fancybox__footer .fancybox__caption {
    text-align: center!important;
}