@import url("https://use.typekit.net/eqe7ebc.css");

:root {
	/* Colors */
	--c-black: #000;
	--c-white: #fff;

	/* Font sizes between 390-1440px */
	--font-12-14: clamp(0.75rem, 0.5985rem + 0.3072vw, 0.875rem);
	--fs-14-16: clamp(0.875rem, 0.6087rem + 0.4348vw, 1rem);
	--fs-16: 1rem;
	--fs-20: 1.25rem;
	--fs-20-24: clamp(1.25rem, 1.1571rem + 0.381vw, 1.5rem);
	--fs-28-38: clamp(1.75rem, 1.5179rem + 0.9524vw, 2.375rem);
	--fs-32-48: clamp(2rem, 1.6286rem + 1.5238vw, 3rem);

	/* Font family */
	--ff-argent: "argent-cf", serif;
	--ff-argent-pixel: "argent-pixel-cf", serif;

	/* Font weight */
	--fw-200: 200;
	--fw-300: 300;
	--fw-600: 600;

	/* Spacing */
	--gap-4: 0.25rem;
	--gap-8: 0.5rem;
	--gap-12: 0.75rem;
	--gap-16: 1rem;
	--gap-24: 1.5rem;
	--gap-32: 2rem;
	--gap-64: 4rem;

	--sides: 4rem;

	/* Other */
	/* --scrollbar-width: calc(100vw - 100%); */
}

/* -------------------- */
/* ------ RESETS ------ */
/* -------------------- */

*,
*::before,
*::after {
	box-sizing: border-box;
}

body,
html {
	margin: 0;
	padding: 0;
	min-height: 100%;
	overflow-x: hidden;
}

html {
	overflow-y: scroll;
	scrollbar-gutter: stable;
	font-size: 100%;
}

body .site-inner {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

img {
	width: auto;
	max-width: 100%;
	height: 100%;
	display: flex;
	margin: 0;
	padding: 0;
}

ul,
li,
ol {
	padding: 0;
	margin: 0;
	list-style: none;
}

.site-content a {
	text-decoration: none;
	color: var(--c-black);
	font-weight: var(--fw-200);
}

h1,
h2,
h3,
h4,
h5,
p {
	margin: 0;
	padding: 0;
	line-height: 1.3;
}

hr {
	margin: 0;
}

main,
.site-content {
	flex: 1;
}

footer {
	margin-top: auto;
}

/* --------------------- */
/* ------ GENERAL ------ */
/* --------------------- */

h1 {
	font-family: var(--ff-argent-pixel);
	font-weight: var(--fw-600);
	font-size: var(--fs-32-48);
	margin-bottom: var(--gap-24);
	font-style: italic;
}

h2 {
	font-family: var(--ff-argent-pixel);
	font-weight: var(--fw-600);
	font-size: var(--fs-28-38);
	font-style: italic;
}

p {
	margin-bottom: var(--gap-12);
	font-family: var(--ff-argent);
	font-weight: var(--fw-200);
}

button {
	font-family: var(--ff-argent);
}

.site-content,
header:not(.entry-header) {
	max-width: 1440px;
	width: 100%;
	margin: 0 auto;
	padding: 0 var(--sides);
}

.page-template-page-archive .site-content,
.page-template-page-events .site-content,
.home .site-content {
	max-width: 100%;
	padding: 0;
}

.site-content .read-more-btn {
	color: var(--c-black);
	background-color: transparent;
	padding: var(--gap-12) var(--gap-24);
	font-size: var(--fs-16);
	border: 1px solid var(--c-black);
	max-width: fit-content;
	font-family: var(--ff-argent);
}

.site-content .read-more-btn:hover {
	color: var(--c-white);
	background-color: var(--c-black);
}

.site-content .cta-button {
	color: var(--c-white);
	background-color: var(--c-black);
	padding: var(--gap-12) var(--gap-24);
	font-size: var(--fs-16);
	border: none;
	max-width: fit-content;
	font-family: var(--ff-argent);
	order: 3;
}

.site-content .cta-button:hover {
	color: var(--c-black);
	background-color: var(--c-white);
	border: 1px solid var(--c-black);
}

.page-template-page-art-camp .pagination,
.page-template-page-archive .pagination,
.page-template-page-events .pagination {
	/* max-width: 1440px;
    width: 100%;
    margin: 0 auto; */
	padding: var(--gap-24) var(--sides);
	font-family: var(--ff-argent);
	font-size: var(--fs-20);
	display: flex;
	align-items: center;
	gap: var(--gap-16);
	justify-content: center;
}

.search-results .pagination {
	padding: var(--gap-32) var(--sides);
	display: flex;
	justify-content: center;
}

.search-results .nav-links {
	font-family: var(--ff-argent);
	font-size: var(--fs-20);
	display: flex;
	align-items: center;
	gap: var(--gap-16);
	justify-content: center;
}

.search-results .page-header {
	padding: 0;
}

/* -------------------- */
/* ------ SLIDER ------ */
/* -------------------- */

/* .splide__track {
	max-width: 34.5vw !important;
}

.programme-template-default .splide__track {
	max-width: 100vw !important;
} */
/* .one-slide-section,
.two-slide-section {
	margin-top: var(--gap-32);
} */

.two-slide-section {
	padding-top: var(--gap-16);
}

.splide {
	padding-bottom: 3.5rem;
}

.splide__arrow {
	background: transparent !important;
	/* top: calc(-1 * var(--gap-32)) !important; */
	/* bottom: -3.2rem !important; */
	bottom: 0 !important;
	top: unset !important;
}

.splide__pagination {
	/* top: -2.5rem !important;
	bottom: auto !important; */
	bottom: -2rem !important;
}

.splide__pagination__page {
	background: transparent !important;
	border: 1px solid var(--c-black) !important;
}

.splide__pagination__page.is-active {
	background-color: var(--c-black) !important;
}

.splide__arrow--prev {
	left: 0 !important;
}

.splide__arrow--next {
	right: 0 !important;
}

.splide__arrow {
	background: transparent !important;
}

.splide__arrow:hover {
	background: var(--c-black) !important;
}

.splide__arrow:hover svg {
	fill: var(--c-white) !important;
}

/* -------------------- */
/* ------ HEADER ------ */
/* -------------------- */
.site-header img {
	max-height: 50px;
}

.site-header-main {
	display: flex;
	justify-content: space-between;
	align-items: center;
	/* gap: var(--gap-24); */
	padding: var(--gap-24) 0;
	width: 100%;
	/* margin-bottom: var(--gap-24); */
}

#search-icon-trigger {
	padding: var(--gap-24);
	font-family: var(--ff-argent-pixel);
	font-size: var(--fs-20-24);
	font-weight: var(--fw-200);
	cursor: pointer;
	font-style: italic;
}

.site-header-menu {
	margin-left: auto;
	position: relative;
}

.site-header-menu .dropdown-toggle {
	display: none;
}

.site-header-menu .sub-menu {
	display: none;
	position: absolute;
	top: 3.5rem;
	right: 0;

	flex-direction: column;
	background-color: var(--c-black);
	padding: var(--gap-24);
	color: var(--c-white);
	width: 400px;
	z-index: 100;
}

.site-header-menu .sub-menu::before {
	content: "";
	top: -2rem;
	left: 0;
	width: 100%;
	height: 1px;
	padding: 1rem;
	position: absolute;
}

.site-header-menu .sub-menu a {
	color: var(--c-white);
	font-family: var(--ff-argent-pixel);
	font-size: var(--fs-20-24);
	font-style: italic;
	font-weight: var(--fw-200);
	display: flex;
	width: 100%;
}

.site-header-menu .menu-item {
	position: relative;
	padding: var(--gap-16);
}

.site-header-menu .menu-item:hover .sub-menu {
	display: flex;
}

.site-header-menu .menu-item:nth-child(2) .sub-menu {
	width: fit-content;
}

.site-header-menu .sub-menu .menu-item {
	padding: var(--gap-12) 0;
}

.site-header-menu a {
	text-decoration: none;
	color: var(--c-black);
	font-weight: var(--fw-200);
	font-family: var(--ff-argent-pixel);
	font-size: var(--fs-20-24);
	font-style: italic;
}

.site-header-menu .sub-menu li:hover a {
	font-weight: var(--fw-600);
}

.primary-menu {
	display: flex;
	align-items: center;
}

/* -------------------- */
/* ------ FOOTER ------ */
/* -------------------- */

footer {
	padding-block: var(--gap-24);
	/* margin-top: var(--gap-32); */
	border-top: 1px solid var(--c-black);
}

footer .footer-logo img {
	max-height: 50px;
}

footer .site-info {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--gap-24);

	max-width: 1440px;
	width: 100%;
	margin: 0 auto;
	padding: 0 var(--sides);
}

footer .site-info .footer-links {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: var(--gap-12);
	width: 100%;
}

.social-links-label {
	font-size: var(--fs-16);
	font-weight: var(--fw-200);
	margin-bottom: var(--gap-16);
	font-family: var(--ff-argent-pixel);
	font-style: italic;
}

.social-links {
	display: flex;
	align-items: center;
	gap: var(--gap-16);
}

.social-links img {
	width: var(--gap-24);
	height: var(--gap-24);
}

.copyright-section {
	font-family: var(--ff-argent);
	font-size: var(--fs-16);
}

/* ------------------------- */
/* ------ SINGLE PAGE ------ */
/* ------------------------- */

.page-template-default .page-content,
.single-event .page-content,
.page-template-page-art-camp .page-content,
.single-art-camp .page-content {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--gap-32);
	align-items: start;
	/* width: calc(100vw - var(--scrollbar-width)); */
}

.programme-template-default .page-content {
	display: grid;
	grid-template-columns: 2fr 4fr;
	gap: var(--gap-32);
	align-items: start;
	padding: 0 var(--sides);
}

.wysiwyg-content.is-collapsed .wysiwyg-content-inner {
	/* max-height: 300px; */
	overflow: hidden;
}

.wysiwyg-content .wysiwyg-content-inner a {
	border-bottom: 1.5px solid var(--c-black);
	font-weight: var(--fw-300);
	padding: 1px 2px;
}

.wysiwyg-content .wysiwyg-content-inner a:hover {
	/* border-bottom: 2px solid transparent; */
	background-color: black;
	color: white;
}

.wysiwyg-content.is-collapsed.is-expanded .wysiwyg-content-inner {
	max-height: none;
}

.wysiwyg-content {
	display: flex;
	flex-direction: column;
	gap: var(--gap-24);
	padding-bottom: var(--gap-24);
	margin-bottom: var(--gap-24);
}

.event-details {
	display: grid;
	gap: var(--gap-24);
	grid-template-columns: 2fr 1fr 1fr;
	font-family: var(--ff-argent);
	margin-bottom: var(--gap-16);
}

/* .slider-caption {
	padding-top: 3rem;
} */

.image-row {
	margin-top: var(--gap-24);
}

/* ---------------------- */
/* ------  ARCHIVE ------ */
/* ---------------------- */

.page-template-page-archive .page-title,
.page-template-page-events .page-title {
	max-width: 1440px;
	width: 100%;
	margin: 0 auto;
	padding: 0 var(--sides);
	margin-bottom: var(--gap-32);
}

.page-template-page-archive .page-content hr:last-of-type,
.page-template-page-events .page-content hr:last-of-type {
	display: none;
}

.archive-item {
	max-width: 1440px;
	width: 100%;
	margin: 0 auto;
	padding: var(--gap-32) var(--sides);

	display: grid;
	align-items: start;
	gap: var(--gap-24);
	grid-template-columns:
		minmax(0, 4fr)
		minmax(0, 1fr)
		minmax(0, 6fr)
		minmax(0, 2fr);
}

.archive-date,
.archive-programme,
.art-camp-year,
.art-camp-location,
.art-camp-title a {
	font-size: var(--fs-20-24);
	font-family: var(--ff-argent-pixel);
	font-weight: var(--fw-200);
	font-style: italic;
}

.archive-desc p {
	margin-bottom: 0;
}

.archive-item > * {
	min-width: 0;
}

.archive-title h2,
.archive-title a,
.archive-desc,
.archive-programme,
.archive-date {
	overflow-wrap: break-word;
	word-break: normal;
}

.art-camp-item {
	display: grid;
	align-items: center;
	gap: var(--gap-24);
	grid-template-columns:
		minmax(0, 6fr)
		minmax(0, 1fr)
		minmax(0, 4fr);
	padding: var(--gap-32) 0;
}

.art-camp-item:first-child {
	padding-top: 0;
}

.art-camp-list hr:last-child {
	display: none;
}

.art-camp-year {
	text-align: center;
}

.art-camp-location {
	text-align: right;
}

.art-camp-template-default .media-content {
	grid-column: span 2;
}

.art-camp-template-default .media-content .event-details {
	width: fit-content;
	width: max-content;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--gap-64);
	margin-bottom: var(--gap-32);
}

.media-content {
	display: flex;
	flex-direction: column;
}

.media-content .map {
	margin-top: var(--gap-24);
}

/* -------------------------- */
/* ------ LANDING PAGE ------ */
/* -------------------------- */

body.page-template-page-hometemplate {
	/* background-color: #dedede; */
	background-color: var(--c-black);
}
svg.floorplan {
	display: block;
	width: 100%;
	height: auto;
}

@keyframes roomIntro {
	0% {
		stroke-opacity: 0;
	}
	40% {
		stroke-opacity: 1;
	}
	100% {
		stroke-opacity: 0;
	}
}

.rooms .outline {
	fill: transparent;
	stroke: #1638d9;
	stroke-width: 10;
	stroke-linejoin: round;
	stroke-opacity: 0;
	animation-name: roomIntro;
	animation-duration: 2s;
	animation-timing-function: ease-out;
	animation-fill-mode: forwards;
	animation-iteration-count: infinite;
}

.room-terrace .outline {
	animation-delay: 0.5s;
}
.room-conference .outline {
	animation-delay: 0.7s;
}
.room-production .outline {
	animation-delay: 0.9s;
}
.room-office .outline {
	animation-delay: 1.1s;
}
.room-bathroom .outline {
	animation-delay: 1.3s;
}
.room-kitchen .outline {
	animation-delay: 1.5s;
}
.room-shower .outline {
	animation-delay: 1.7s;
}
.room-entrance .outline {
	animation-delay: 1.9s;
}

.rooms:hover .outline {
	animation: none;
	stroke-opacity: 0;
}

.room:hover .outline {
	stroke-opacity: 1;
}

.room-overlay {
	fill: rgba(0, 0, 0, 0.65);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.25s ease-out;
}

.rooms:hover .room:not(:hover) {
	filter: blur(8px);
}

.rooms:hover .room:not(:hover) .room-overlay {
	opacity: 0.75;
}

.rooms:hover .room:hover {
	filter: none;
}

.rooms:hover .room:hover .room-overlay {
	opacity: 0;
}

.room-label {
	opacity: 0;
	transform: translateY(18px);
	transition:
		opacity 0.2s ease-out,
		transform 0.2s ease-out;
	pointer-events: none;
	filter: drop-shadow(11px 11px 25px #000000);
}

.room-label-bg {
	fill: #1636d9b7;
	rx: 10;
	ry: 10;
}

.room-label-text {
	font-family:
		system-ui,
		-apple-system,
		BlinkMacSystemFont,
		"Segoe UI",
		sans-serif;
	font-size: 40px;
	font-weight: 600;
	fill: #fff;
	dominant-baseline: middle;
	text-anchor: middle;
}

.room:hover .room-label {
	opacity: 1;
	transform: translateY(0);
}

.room a {
	cursor: pointer;
}

.home .site-branding img,
.home .social-links img {
	filter: invert(1);
}

.home .site-header-menu a,
.home #search-icon-trigger,
.home .social-links-label {
	color: var(--c-white);
}

/* ------------------- */
/* ------ SEARCH ------*/
/* ------------------- */
#search-popup-overlay {
	display: none;
}

#search-popup-overlay.is-open {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.8);
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
}

.search-popup {
	position: absolute;
	top: 0;
	background-color: transparent;
	padding: var(--gap-64) var(--gap-16) 0;
	display: flex;
	align-items: center;
	gap: var(--gap-20);
	width: 100%;
	z-index: 1;
}

.search-popup-form {
	display: flex;
	align-items: center;
	gap: var(--gap-16);
	border: none;
	/* border-bottom: 1px solid var(--c-black); */
	/* padding-bottom: var(--gap-16); */
	max-width: 1000px;
	width: 100%;
	margin: 0 auto;
	justify-content: center;
}

.search-popup-close {
	/* position: absolute;
    top: 0;
    left: 0; */
	font-weight: 100;
	cursor: pointer;
	font-family: var(--ff-argent);
	width: var(--gap-32);
	height: var(--gap-32);
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: transparent;
	border-radius: 0;
	border: none;
}

.search-popup-close svg {
	width: auto;
	height: var(--gap-24);
	color: var(--c-white);
}

.search-popup-close:hover,
.search-popup-submit:hover {
	color: var(--c-white);
	background-color: var(--c-black);
}

.search-popup-submit:hover svg {
	fill: var(--c-white);
}

.screen-reader-text {
	border: 0;
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

label {
	font-size: var(--fs-16);
	margin-bottom: var(--gap-24);
}

#search-popup-input {
	padding: var(--gap-16);
	outline: none;
	box-shadow: none;
	font-size: var(--fs-16);
	color: var(--color-black);
	min-width: 40vw;
}

.search-popup-submit {
	display: flex;
	width: var(--gap-32);
	height: var(--gap-32);
	align-items: center;
	background-color: transparent;
	border: none;
	cursor: pointer;
}

.search-popup-submit svg {
	width: var(--gap-24);
	height: var(--gap-24);
	fill: var(--c-white);
}

.search-results p {
	margin-bottom: var(--gap-32);
}

.search-results article {
	margin-top: var(--gap-32);
}

splide fix .splide {
	width: 100%;
}

.splide__track {
	overflow: hidden;
}

.splide__slide {
	height: 20rem;
	overflow: hidden;
}

.splide__slide img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
}

.mobile-only {
	display: none;
}

.submenu-toggle {
	display: none;
}

.home .submenu-toggle-icon {
	filter: invert(1);
}

.hotspot {
	position: absolute;
	z-index: 1;
}

.hotspots:has(.hotspot:is(:hover, :focus, :focus-within))
	.hotspot:not(:hover):not(:focus):not(:focus-within) {
	opacity: 0;
}

.hotspot:is(:hover, :focus, :focus-within) {
	opacity: 1;
	z-index: 999;
}

.floor:has(.hotspot.gradina:is(:hover, :focus, :focus-within))
	.rooms
	.room:not(.room-terrace)
	.room-overlay {
	fill: rgba(0, 0, 0, 0.65);
	opacity: 0;
}

.floorplan:has(.hotspot.biblioteca:is(:hover, :focus, :focus-within))
	.rooms
	.room:not(.room-conference)
	.room-overlay {
	fill: rgba(0, 0, 0, 0.65);
	opacity: 0;
}

.floorplan:has(.hotspot.radio:is(:hover, :focus, :focus-within))
	.rooms
	.room:not(.room-conference)
	.room-overlay {
	fill: rgba(0, 0, 0, 0.65);
	opacity: 0;
}

.floorplan:has(.hotspot.artcamp:is(:hover, :focus, :focus-within))
	.rooms
	.room:not(.room-production)
	.room-overlay {
	fill: rgba(0, 0, 0, 0.65);
	opacity: 0;
}

.floorplan:has(.hotspot.atelier:is(:hover, :focus, :focus-within))
	.rooms
	.room:not(.room-production)
	.room-overlay {
	fill: rgba(0, 0, 0, 0.65);
	opacity: 0;
}

.floorplan:has(.hotspot.birou:is(:hover, :focus, :focus-within))
	.rooms
	.room:not(.room-office)
	.room-overlay {
	fill: rgba(0, 0, 0, 0.65);
	opacity: 0;
}

.floorplan:has(.hotspot.mezanina:is(:hover, :focus, :focus-within))
	.rooms
	.room:not(.room-office)
	.room-overlay {
	fill: rgba(0, 0, 0, 0.65);
	opacity: 0;
}

.floorplan:has(.hotspot.shop:is(:hover, :focus, :focus-within))
	.rooms
	.room:not(.room-entrance)
	.room-overlay {
	fill: rgba(0, 0, 0, 0.65);
	opacity: 0;
}

.floorplan:has(.hotspot.avizier:is(:hover, :focus, :focus-within))
	.rooms
	.room:not(.room-entrance)
	.room-overlay {
	fill: red;
	opacity: 0.75;
}

@media (max-width: 768px) {
	.submenu-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		padding: 0;
		margin: 0;
		border: 0;
		background: transparent;
		color: #000;
		cursor: pointer;
	}

	.submenu-toggle-icon {
		display: block;
		width: 28px;
		height: 28px;
		overflow: visible;
	}

	.submenu-toggle-icon path {
		fill: none;
		stroke: currentColor;
		stroke-width: 2;
		stroke-linecap: round;
	}

	.primary-menu > li.mobile-menu-toggle > a {
		display: none;
	}

	.primary-menu > li.mobile-menu-toggle > .sub-menu {
		display: none;
	}

	.primary-menu > li.mobile-menu-toggle.submenu-open > .sub-menu {
		display: block;
	}

	.wysiwyg-content {
		margin-bottom: 0;
		padding-bottom: 0;
	}
}

@media screen and (width <= 1440px) {
	:root {
		--sides: 2rem;
	}
	/* html {
		font-size: 88%;
	}
	p {
		font-size: 1.125rem;
	} */
}

@media screen and (width <= 1000px) {
	:root {
		--sides: 1rem;
	}
	.archive-item {
		display: flex;
		flex-direction: column;
	}
	.page-template-default .page-content,
	.single-event .page-content,
	.page-template-page-art-camp .page-content,
	.single-art-camp .page-content {
		grid-template-columns: 1fr;
	}
}

@media screen and (width <= 789px) {
	:root {
		--sides: 1rem;
	}
	.site-header-main {
		/* gap: var(--gap-12); */
		padding: var(--gap-16) 0;
		margin-bottom: 0;
	}
	footer .footer-logo img {
		max-height: 40px;
	}
	#search-popup-input {
		min-width: auto;
		width: 100%;
	}
	.search-popup-form {
		justify-content: space-between;
	}
	.site-header-menu .sub-menu {
		position: fixed;
		top: 0;
		right: 0;
		width: 100%;
		border-bottom: 1px solid white;
	}
	.site-header-menu .menu-item:focus-within .sub-menu {
		display: flex;
	}
	.site-header-menu a,
	#search-icon-trigger {
		font-size: 1.125rem;
	}
	#search-icon-trigger {
		padding: var(--gap-16);
	}
	.site-header-menu .menu-item:nth-child(2) .sub-menu {
		width: 100%;
		align-items: center;
	}
	.site-header-menu .sub-menu .menu-item {
		padding: var(--gap-16) 0;
	}
	body.home #main {
		padding-inline: 1.5rem;
	}
	footer {
		margin-top: var(--gap-16);
		padding-block: var(--gap-16);
	}
	.mobile-only {
		display: flex;
	}
	.desktop-label {
		display: none;
	}
}

@media screen and (width <= 500px) {
	:root {
		--sides: 1rem;
	}
	.event-details {
		display: flex;
		flex-direction: column;
		gap: var(--gap-16);
	}
}

/* ------------------------- */
.home .page_content {
	position: relative;
	/* max-width: 70vw;
	margin: 0 auto; */
}

.home .hotspot {
	background-color: #1739d9;
	color: var(--c-white);
	font-size: var(--fs-12-14);
	font-family: var(--ff-argent);
	font-weight: var(--fw-600);
	padding: var(--gap-4) var(--gap-8);
	border: none;
	position: relative;
	transform: translate(-50%, -50%);
}

.hotspot .overlay-inner a {
	color: var(--c-white);
	background-color: var(--c-black);
	font-size: var(--fs-14-16);
	font-family: var(--ff-argent);
	font-weight: var(--fw-600);
}

.hotspot .title {
	font-family: var(--ff-argent-pixel);
	font-size: var(--fs-20);
	font-weight: var(--fw-600);
	color: var(--c-black);
	text-align: left;
}

.hotspot .desc {
	font-family: var(--ff-argent);
	font-size: var(--fs-16);
	line-height: 1.3;
	color: var(--c-black);
	font-weight: var(--fw-200);
	margin-top: var(--gap-16);
	text-align: left;
}

.hotspot .overlay-link {
	background-color: var(--c-black);
	color: var(--c-white);
	padding: var(--gap-8) var(--gap-12);
}

.hotspot .overlay {
	display: none;
}

.hotspot .overlay.is-open {
	position: absolute;
	bottom: 1rem;
	left: 50%;
	transform: translateX(-50%);
	background-color: var(--c-white);
	padding: var(--gap-16);
	max-width: 92%;
	margin: 0 auto;
}

.home .gradina {
	position: absolute;
	top: 23%;
	left: 9%;
}

.home .biblioteca {
	position: absolute;
	top: 20%;
	left: 29.7%;
}

.home .radio {
	position: absolute;
	top: 35%;
	left: 29.7%;
}

.home .artcamp {
	position: absolute;
	top: 35.5%;
	left: 61.5%;
}

.home .atelier {
	position: absolute;
	top: 19%;
	left: 73%;
}

.home .birou {
	position: absolute;
	top: 77%;
	left: 28%;
}

.home .mezanina {
	position: absolute;
	top: 86%;
	left: 44%;
}

.home .shop {
	position: absolute;
	top: 67.5%;
	left: 78%;
}

.home .avizier {
	position: absolute;
	top: 84.5%;
	left: 89.5%;
}

.home .hotspot .fp-link {
	color: var(--c-white);
}

.hotspot .tooltip {
	display: none;
	position: absolute;
	top: 2.5rem;
	left: 50%;
	transform: translateX(-50%);
	background-color: var(--c-white);
	padding: var(--gap-12);
	color: var(--c-black);
	font-weight: 200;
	z-index: 100;
}

.hotspot:hover .tooltip {
	display: block;
	width: max-content;
	max-width: 200px;
}

.home .hotspot .fp-link {
	font-size: var(--fs-20);
}

@media screen and (width <=980px) {
	svg.floorplan {
		position: absolute;
		height: auto;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%) rotate(90deg);
		transform-origin: center center;
		height: min(50%, 100vw);
		width: auto;
	}
	.home .page_content {
		position: relative;
		width: 100%;
		aspect-ratio: 1920 / 3840;
	}
	.home .hotspot .fp-link {
		display: block;
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
		border-radius: inherit;
		z-index: 2;
		font-size: 0;
		color: transparent;
		text-indent: -9999px;
		overflow: hidden;
	}

	.home .hotspot {
		height: 22px;
		width: 22px;
		padding: 1.125rem;
		border-radius: 100vw;
		background: #1638d9;
		/* animation: hotspot 1.6s ease-out infinite; */
	}
	/* @keyframes hotspot {
		0% {
			transform: scale(1);
			box-shadow: 0 0 0 0 rgba(22, 56, 217, 0.55);
		}

		70% {
			transform: scale(1.08);
			box-shadow: 0 0 0 18px rgba(22, 56, 217, 0);
		}

		100% {
			transform: scale(1);
			box-shadow: 0 0 0 0 rgba(22, 56, 217, 0);
		}
	} */
	.home .gradina {
		top: 9%;
		left: 77%;
	}
	.home .biblioteca {
		top: 29.5%;
		left: 83.7%;
	}
	.home .radio {
		top: 29.5%;
		left: 60%;
	}
	.home .artcamp {
		top: 61.5%;
		left: 63.5%;
	}
	.home .atelier {
		top: 73%;
		left: 81%;
	}
	.home .birou {
		top: 27.5%;
		left: 23%;
	}
	.home .mezanina {
		top: 44%;
		left: 16.5%;
	}
	.home .shop {
		top: 77.5%;
		left: 32%;
	}
	.home .avizier {
		top: 90.5%;
		left: 15%;
	}
	.hotspot:hover .tooltip,
	.hotspot .tooltip {
		display: none;
	}
	.site-header img,
	footer .footer-logo img {
		max-height: unset;
		max-width: 150px;
		width: 100%;
	}
}

/* ---------------------------------- */
#random-cats {
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 9999;
	overflow: hidden;
}

.random-cat {
	position: absolute;
	width: clamp(120px, 18vw, 340px);
	height: auto;
	transform-origin: center;
	will-change: transform, opacity;
	user-select: none;
}

/* =========================
   NORMAL
   Full cat appears, waits, leaves
========================= */

.cat-normal[data-edge="bottom"] {
	bottom: 0;
	left: calc(var(--cat-x, 40) * 1%);
	animation: cat-normal-bottom var(--cat-duration, 6000ms) ease-in-out forwards;
}

.cat-normal[data-edge="left"] {
	left: 0;
	top: calc(var(--cat-y, 40) * 1%);
	animation: cat-normal-left var(--cat-duration, 6000ms) ease-in-out forwards;
}

.cat-normal[data-edge="right"] {
	right: 0;
	top: calc(var(--cat-y, 40) * 1%);
	animation: cat-normal-right var(--cat-duration, 6000ms) ease-in-out forwards;
}

@keyframes cat-normal-bottom {
	0% {
		transform: translateY(110%) rotate(0deg);
	}
	18% {
		transform: translateY(0) rotate(-1deg);
	}
	25% {
		transform: translateY(0) rotate(0deg);
	}
	78% {
		transform: translateY(0) rotate(0deg);
	}
	100% {
		transform: translateY(110%) rotate(1deg);
	}
}

@keyframes cat-normal-left {
	0% {
		transform: translateX(-110%) rotate(0deg);
	}
	18% {
		transform: translateX(0) rotate(1deg);
	}
	25% {
		transform: translateX(0) rotate(0deg);
	}
	78% {
		transform: translateX(0) rotate(0deg);
	}
	100% {
		transform: translateX(-110%) rotate(-1deg);
	}
}

@keyframes cat-normal-right {
	0% {
		transform: translateX(110%) rotate(0deg);
	}
	18% {
		transform: translateX(0) rotate(-1deg);
	}
	25% {
		transform: translateX(0) rotate(0deg);
	}
	78% {
		transform: translateX(0) rotate(0deg);
	}
	100% {
		transform: translateX(110%) rotate(1deg);
	}
}

/* =========================
   SHY
   Barely peeks, waits, retreats
========================= */

.cat-shy[data-edge="bottom"] {
	bottom: 0;
	left: calc(var(--cat-x, 40) * 1%);
	animation: cat-shy-bottom var(--cat-duration, 4000ms) ease-in-out forwards;
}

.cat-shy[data-edge="left"] {
	left: 0;
	top: calc(var(--cat-y, 40) * 1%);
	animation: cat-shy-left var(--cat-duration, 4000ms) ease-in-out forwards;
}

.cat-shy[data-edge="right"] {
	right: 0;
	top: calc(var(--cat-y, 40) * 1%);
	animation: cat-shy-right var(--cat-duration, 4000ms) ease-in-out forwards;
}

@keyframes cat-shy-bottom {
	0% {
		transform: translateY(112%) rotate(0deg);
	}
	28% {
		transform: translateY(78%) rotate(-1deg);
	}
	70% {
		transform: translateY(78%) rotate(1deg);
	}
	100% {
		transform: translateY(112%) rotate(0deg);
	}
}

@keyframes cat-shy-left {
	0% {
		transform: translateX(-112%) rotate(0deg);
	}
	28% {
		transform: translateX(-78%) rotate(1deg);
	}
	70% {
		transform: translateX(-78%) rotate(-1deg);
	}
	100% {
		transform: translateX(-112%) rotate(0deg);
	}
}

@keyframes cat-shy-right {
	0% {
		transform: translateX(112%) rotate(0deg);
	}
	28% {
		transform: translateX(78%) rotate(-1deg);
	}
	70% {
		transform: translateX(78%) rotate(1deg);
	}
	100% {
		transform: translateX(112%) rotate(0deg);
	}
}

/* =========================
   CURIOUS
   Comes in halfway, looks around, leaves
========================= */

.cat-curious[data-edge="bottom"] {
	bottom: 0;
	left: calc(var(--cat-x, 40) * 1%);
	animation: cat-curious-bottom var(--cat-duration, 6500ms) ease-in-out forwards;
}

.cat-curious[data-edge="left"] {
	left: 0;
	top: calc(var(--cat-y, 40) * 1%);
	animation: cat-curious-left var(--cat-duration, 6500ms) ease-in-out forwards;
}

.cat-curious[data-edge="right"] {
	right: 0;
	top: calc(var(--cat-y, 40) * 1%);
	animation: cat-curious-right var(--cat-duration, 6500ms) ease-in-out forwards;
}

@keyframes cat-curious-bottom {
	0% {
		transform: translateY(112%) rotate(0deg);
	}
	18% {
		transform: translateY(28%) rotate(-2deg);
	}
	38% {
		transform: translateY(18%) rotate(2deg);
	}
	58% {
		transform: translateY(22%) rotate(-1deg);
	}
	78% {
		transform: translateY(20%) rotate(1deg);
	}
	100% {
		transform: translateY(112%) rotate(0deg);
	}
}

@keyframes cat-curious-left {
	0% {
		transform: translateX(-112%) rotate(0deg);
	}
	18% {
		transform: translateX(-28%) rotate(2deg);
	}
	38% {
		transform: translateX(-18%) rotate(-2deg);
	}
	58% {
		transform: translateX(-22%) rotate(1deg);
	}
	78% {
		transform: translateX(-20%) rotate(-1deg);
	}
	100% {
		transform: translateX(-112%) rotate(0deg);
	}
}

@keyframes cat-curious-right {
	0% {
		transform: translateX(112%) rotate(0deg);
	}
	18% {
		transform: translateX(28%) rotate(-2deg);
	}
	38% {
		transform: translateX(18%) rotate(2deg);
	}
	58% {
		transform: translateX(22%) rotate(-1deg);
	}
	78% {
		transform: translateX(20%) rotate(1deg);
	}
	100% {
		transform: translateX(112%) rotate(0deg);
	}
}

/* =========================
   TROLL
   Full-screen interruption
========================= */

.cat-troll {
	top: 50%;
	left: 50%;
	width: clamp(360px, 58vw, 900px);
	animation: cat-troll-entrance var(--cat-duration, 10000ms) ease-in-out
		forwards;
}

@keyframes cat-troll-entrance {
	0% {
		opacity: 0;
		transform: translate(-50%, -50%) scale(0.45) rotate(-3deg);
	}
	12% {
		opacity: 1;
		transform: translate(-50%, -50%) scale(1.04) rotate(2deg);
	}
	22% {
		opacity: 1;
		transform: translate(-50%, -50%) scale(1) rotate(0deg);
	}
	74% {
		opacity: 1;
		transform: translate(-50%, -50%) scale(1) rotate(0deg);
	}
	86% {
		opacity: 1;
		transform: translate(-50%, -50%) scale(1.025) rotate(-1deg);
	}
	100% {
		opacity: 0;
		transform: translate(-50%, -50%) scale(0.96) rotate(1deg);
	}
}

/* =========================
   Accessibility
========================= */

@media (prefers-reduced-motion: reduce) {
	#random-cats {
		display: none;
	}
}

@media (max-width: 600px) {
	.random-cat {
		width: clamp(140px, 38vw, 220px);
	}

	.cat-troll {
		width: clamp(220px, 72vw, 320px);
	}

	.cat-shy[data-edge="left"],
	.cat-curious[data-edge="left"],
	.cat-normal[data-edge="left"] {
		top: calc(var(--cat-y, 35) * 1%);
	}

	.cat-shy[data-edge="right"],
	.cat-curious[data-edge="right"],
	.cat-normal[data-edge="right"] {
		top: calc(var(--cat-y, 35) * 1%);
	}
}

/* HOME FUCKED UP FLOOR */
@media screen and (width >= 1000px) {
	svg.floorplan {
		display: block;
		width: 100%;
		height: auto;
	}

	.home .page_content {
		position: relative;
	}

	body.home {
		height: 100vh;
		min-height: 100vh;
		/* overflow: hidden; */
		background-color: var(--c-black);
	}

	body.home #page,
	body.home .site,
	body.home .site-inner {
		height: 100vh;
		min-height: 0;
		/* overflow: hidden; */
	}

	body.home .site-inner {
		display: flex;
		flex-direction: column;
	}

	body.home .site-header,
	body.home .site-footer {
		flex: 0 0 auto;
	}

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

	/* Middle area between header and footer */
	body.home .site-content,
	body.home #primary,
	body.home .site-main {
		flex: 1 1 auto;
		min-height: 0;
		/* overflow: hidden; */
		display: flex;
		flex-direction: column;
	}

	/* Centers the floorplan in the available space */
	body.home .page_content {
		position: relative;
		flex: 1 1 auto;
		min-height: 0;
		width: 100%;
		/* overflow: hidden; */

		display: flex;
		align-items: center;
		justify-content: center;
	}

	/* Shared coordinate system for SVG + hotspots */
	body.home .floorplan-stage {
		position: relative;
		/* width: 100%; */
		height: auto;
		aspect-ratio: 3840 / 1920;
		max-width: 100%;
		max-height: 100%;
	}

	/* SVG fills the shared stage */
	body.home svg.floorplan {
		display: block;
		position: static;
		width: 100%;
		height: 100%;
		max-width: 100%;
		max-height: 100%;
		transform: none;
		padding: 0;
	}

	/* Hotspots sit on the same coordinate system as the SVG */
	body.home .hotspots {
		position: absolute;
		inset: 0;
		z-index: 5;
		pointer-events: none;
	}

	body.home .hotspot {
		position: absolute;
		pointer-events: auto;
	}
}

@media (max-width: 768px) {
	.mobile-menu-toggle a {
		display: none;
	}
	.mobile-menu-toggle a .sub-menu a {
		display: flex;
	}
	.site-header-menu .menu-item.mobile-menu-toggle {
		padding: 0 !important;
	}
	.site-header-menu {
		display: flex;
		align-items: center;
	}
	.submenu-toggle {
		padding: var(--gap-16);
	}
}

.my-carousel-progress {
	background: #ddd;
	height: 4px;
	width: 100%;
	margin-top: 1rem;
}

.my-carousel-progress-bar {
	background: #000;
	height: 100%;
	width: 0;
	transition: width 400ms ease;
}
