/* 
Theme Name: Turulo
Theme URI: koncept404.pl
Author: Adrian Turulski
Author URI: turulo.pl/
Description: Motyw firmowy
Version: 1.0 
*/

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






html{
	scroll-behavior: smooth;
	margin-top: 0 !important;
  overflow-x: hidden;
}


body {
  font-family: "galix-mono", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: clamp(14px, calc(14px + (6) * ((100vw - 320px) / (1680))), 20px);
  line-height: 1.25;
  padding: 0;
  margin: 0;
  color: #000000;
  background: #F2EEE5;
}


/*-----------------------------------------------------------
	Fonts
-------------------------------------------------------------*/

@media (max-width: 991px) {
	iframe {
		width: 100%;
	}
}

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



h1,
h2, 
h3,
h4 {
	margin: 0;
	font-weight: 600;
}


h1 {
	/*F:60-136;*/
}

h2 {
	/*F:32-60;*/
  letter-spacing: 2.4px;
}

h3 {
	/*F:28-44;*/
}

h4 {
	/*F:28-36;*/
}


body {
    /* F:14-20; */

}

body p {
  margin-top: 0;
}

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

a {
	text-decoration: none;
	transition: all 0.3s;
    margin: 0;
}




  

/*-----------------------------------------------------------
	WSPÓLNE WARTOŚCI
-------------------------------------------------------------*/



#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content .moove-gdpr-branding-cnt a span,
#moove_gdpr_cookie_info_bar.moove-gdpr-light-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content a, 
#moove_gdpr_cookie_info_bar.moove-gdpr-light-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content button {
    text-decoration: none !important;
}




/*-----------------------------------------------------------
	HEADER
-------------------------------------------------------------*/

.header-wrapper {
  top: 0;
  left: 0;
  right: 0;
  z-index: 99991;
  background: #f2eee5;
  transition: .3s;
  position: fixed;
  border-bottom: 1px solid #000;
}

.header {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  /* H: 60-88; */
  /* P: 0 12-44; */
  width: 100%;
}

.header .col-left {
  display: flex;
  align-items: center;
}

.custom-logo-link {
  display: block;
  line-height: 0;
}

.custom-logo-link img.custom-logo {
  height: clamp(23px, 3vw, 33px);
  width: auto;
}

.header .col-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
}

.menu-desktop .menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-desktop .menu > li { 
  margin: 0; 
}

.menu-desktop .menu a {
  font-size: 18px;
  font-weight: 500;
  position: relative;
  text-decoration: none;
  color: inherit;
  padding-bottom: 2px;
  transition: .5s;
}

.menu-desktop .menu a:hover{
  opacity: .4;
}




.overlay-section,
.menu-mobile { 
  display: none; 
}


.overlay-section .section-width{
  /* P: 60-88 12 20 12; */
}




/* ----------------------------------------------------------
BUTTON SECTION
-------------------------------------------------------------*/


.button-section {
    display: flex;
}

.button-section a {
  display: inline-flex;
  align-items: center;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: -0.16px;
}



/*-----------------------------------------------------------
	SECTION COMMON
-------------------------------------------------------------*/

.page-template-tekst-page hr:last-child,
.page-template-tekst-page-php hr:last-child,
.page-template-page-onas hr:last-child,
.page-template-page-onas-php hr:last-child,
.page-template-page-kontakt hr:last-child,
.page-template-page-kontakt-php hr:last-child,
.page-template-page-o-projekcie hr:last-child,
.page-template-page-o-projekcie-php hr:last-child{
  margin-bottom: 0;
}

.page-template-tekst-page ul,
.page-template-tekst-page-php ul,
.page-template-page-onas ul,
.page-template-page-onas-php ul,
.page-template-page-kontakt ul,
.page-template-page-kontakt-php ul,
.page-template-page-o-projekcie ul,
.page-template-page-o-projekcie-php ul{
  list-style: square;
}

.page-template-tekst-page ul li::marker,
.page-template-tekst-page-php ul li::marker,
.page-template-page-onas ul li::marker,
.page-template-page-onas-php ul li::marker,
.page-template-page-kontakt ul li::marker,
.page-template-page-kontakt-php ul li::marker,
.page-template-page-o-projekcie ul li::marker,
.page-template-page-o-projekcie-php ul li::marker {
  font-size: 0.7em; /* zmniejsza marker */
}

/*-----------------------------------------------------------
	PODSTRONY: O NAS / KONTAKT / O PROJEKCIE
-------------------------------------------------------------*/

.page-template-page-onas .site-shell__content,
.page-template-page-onas-php .site-shell__content,
.page-template-page-kontakt .site-shell__content,
.page-template-page-kontakt-php .site-shell__content,
.page-template-page-o-projekcie .site-shell__content,
.page-template-page-o-projekcie-php .site-shell__content {
  border-radius: 20px;
  overflow: hidden;
}

.page-template-page-onas .site-shell__content,
.page-template-page-onas-php .site-shell__content,
.page-template-page-kontakt .site-shell__content,
.page-template-page-kontakt-php .site-shell__content {
  background: #B5C6CE;
}

.page-template-page-o-projekcie .site-shell__content,
.page-template-page-o-projekcie-php .site-shell__content {
  background: #EEB2B4;
}

.page-template-page-onas #page-tekst,
.page-template-page-onas-php #page-tekst,
.page-template-page-kontakt #page-tekst,
.page-template-page-kontakt-php #page-tekst,
.page-template-page-o-projekcie #page-tekst,
.page-template-page-o-projekcie-php #page-tekst {
  color: #652933;
}

.page-template-page-onas .site-shell__content,
.page-template-page-onas-php .site-shell__content {
  /* Pt:25-82; */
  /* Pr:17-274; */
  /* Pb:15-51; */
  /* Pl:17-335; */
  position: relative;
}

.page-template-page-onas #page-tekst .title-wrapper--page,
.page-template-page-onas-php #page-tekst .title-wrapper--page,
.page-template-page-kontakt #page-tekst .title-wrapper--page,
.page-template-page-kontakt-php #page-tekst .title-wrapper--page,
.page-template-page-o-projekcie #page-tekst .title-wrapper--page,
.page-template-page-o-projekcie-php #page-tekst .title-wrapper--page {
  margin: 0;
}

.page-template-page-onas #page-tekst .map-detail__nav-center,
.page-template-page-onas-php #page-tekst .map-detail__nav-center,
.page-template-page-kontakt #page-tekst .map-detail__nav-center,
.page-template-page-kontakt-php #page-tekst .map-detail__nav-center,
.page-template-page-o-projekcie #page-tekst .map-detail__nav-center,
.page-template-page-o-projekcie-php #page-tekst .map-detail__nav-center {
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0;
  color: #652933;
  text-align: center;
  margin: 0;
}

.page-template-page-onas #page-tekst .map-detail__dot,
.page-template-page-onas-php #page-tekst .map-detail__dot,
.page-template-page-kontakt #page-tekst .map-detail__dot,
.page-template-page-kontakt-php #page-tekst .map-detail__dot,
.page-template-page-o-projekcie #page-tekst .map-detail__dot,
.page-template-page-o-projekcie-php #page-tekst .map-detail__dot {
  background: currentColor;
}

.page-template-page-onas #page-tekst .text-editor,
.page-template-page-onas-php #page-tekst .text-editor,
.page-template-page-kontakt #page-tekst .text-editor,
.page-template-page-kontakt-php #page-tekst .text-editor,
.page-template-page-o-projekcie #page-tekst .text-editor,
.page-template-page-o-projekcie-php #page-tekst .text-editor {
  color: inherit;
}

.page-template-page-onas #page-tekst .page-onas-shell,
.page-template-page-onas-php #page-tekst .page-onas-shell {
  display: block;
  position: relative;
}

.page-template-page-onas #page-tekst .page-onas-side-logo,
.page-template-page-onas-php #page-tekst .page-onas-side-logo {
  position: absolute;
  --onas-side-logo-width: clamp(150px, calc(150px + (61) * ((100vw - 1300px) / (620))), 211px);
  --onas-side-logo-gap: calc((var(--onas-shell-pad-left, 335px) - var(--onas-side-logo-width)) / 2);
  top: 0;
  left: calc(var(--onas-side-logo-gap) - var(--onas-shell-pad-left, 335px));
  width: var(--onas-side-logo-width);
  max-width: 211px;
  display: none;
  line-height: 0;
  z-index: 2;
}

.page-template-page-onas #page-tekst .page-onas-side-logo img,
.page-template-page-onas-php #page-tekst .page-onas-side-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.page-template-page-onas #page-tekst .page-onas-shell__inner,
.page-template-page-onas-php #page-tekst .page-onas-shell__inner {
  width: 100%;
  max-width: none;
}

.page-template-page-onas #page-tekst .page-onas-mobile-title,
.page-template-page-onas-php #page-tekst .page-onas-mobile-title {
  display: none;
}

.page-template-page-onas #page-tekst .page-onas-intro,
.page-template-page-onas-php #page-tekst .page-onas-intro {
  margin: 0;
}

.page-template-page-onas #page-tekst .page-onas-intro p + p,
.page-template-page-onas-php #page-tekst .page-onas-intro p + p {
  margin-top: 0.9em;
}

.page-template-page-onas #page-tekst .page-onas-team,
.page-template-page-onas-php #page-tekst .page-onas-team {
  /* Mt:45-82; */
}

.page-template-page-onas #page-tekst .page-onas-team__grid,
.page-template-page-onas-php #page-tekst .page-onas-team__grid {
  /* Mt:24-45; */
  padding-left: 15px;
  padding-right: 15px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-items: center;
  column-gap: 50px;
  /* row-gap: 62px */
  row-gap: 62px;
}

.page-template-page-onas #page-tekst .page-onas-team__item,
.page-template-page-onas-php #page-tekst .page-onas-team__item {
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #652933;
}

.page-template-page-onas #page-tekst .page-onas-team__avatar,
.page-template-page-onas-php #page-tekst .page-onas-team__avatar {
  /* W:135-270; */
  /* H:135-270; */
  margin: 0 auto;
  border-radius: 999px;
  border: 1px solid #652933;
  overflow: hidden;
}

.page-template-page-onas #page-tekst .page-onas-team__avatar img,
.page-template-page-onas-php #page-tekst .page-onas-team__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-template-page-onas #page-tekst .page-onas-team__name,
.page-template-page-onas-php #page-tekst .page-onas-team__name {
  /* Mt:15-30; */
  display: flex;
  flex-direction: column;
  align-items: center;
  /* F:18-24; */
  font-family: "galix-mono", sans-serif;
  font-weight: 700;
}

.page-template-page-onas #page-tekst .page-onas-team__bio,
.page-template-page-onas-php #page-tekst .page-onas-team__bio {
  /* Mt:7-15; */
  /* F:12-24; */
  width: 100%;
  max-width: 360px;
  font-weight: 500;
  text-align: center;
}

.page-template-page-onas #page-tekst .page-onas-consultations,
.page-template-page-onas-php #page-tekst .page-onas-consultations {
  /* Mt:45-90; */
}

.page-template-page-onas #page-tekst .page-onas-consultations__lead,
.page-template-page-onas-php #page-tekst .page-onas-consultations__lead {
  /* Mt:20-30; */
  /* F:12-24; */
  font-weight: 500;
  text-align: center;
}

.page-template-page-onas #page-tekst .page-onas-consultations__list,
.page-template-page-onas-php #page-tekst .page-onas-consultations__list {
  /* Mt:45-90; */
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.page-template-page-onas #page-tekst .page-onas-consultations__list li,
.page-template-page-onas-php #page-tekst .page-onas-consultations__list li {
  /* F:12-24; */
  font-weight: 500;
  text-align: center;
}

.page-template-page-onas #page-tekst .page-onas-consultations--mobile,
.page-template-page-onas-php #page-tekst .page-onas-consultations--mobile {
  display: none;
}

.page-template-page-kontakt #page-tekst .page-basic-shell,
.page-template-page-kontakt-php #page-tekst .page-basic-shell,
.page-template-page-o-projekcie #page-tekst .page-basic-shell,
.page-template-page-o-projekcie-php #page-tekst .page-basic-shell {
  padding: 50px 95px;
}

.page-template-page-kontakt .site-shell,
.page-template-page-kontakt-php .site-shell {
  min-height: 0;
}

.page-template-page-kontakt #page-tekst .page-basic-shell__inner,
.page-template-page-kontakt-php #page-tekst .page-basic-shell__inner,
.page-template-page-o-projekcie #page-tekst .page-basic-shell__inner,
.page-template-page-o-projekcie-php #page-tekst .page-basic-shell__inner {
  width: 100%;
  max-width: none;
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) auto auto minmax(0, 1fr);
  grid-template-areas:
    "media ."
    "media heading"
    "media body"
    "media .";
  column-gap: 140px;
  align-items: stretch;
}

.page-template-page-kontakt #page-tekst .page-duocol__heading,
.page-template-page-kontakt-php #page-tekst .page-duocol__heading,
.page-template-page-o-projekcie #page-tekst .page-duocol__heading,
.page-template-page-o-projekcie-php #page-tekst .page-duocol__heading {
  grid-area: heading;
  width: 100%;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-template-page-kontakt #page-tekst .page-duocol__heading .map-detail__nav-center,
.page-template-page-kontakt-php #page-tekst .page-duocol__heading .map-detail__nav-center,
.page-template-page-o-projekcie #page-tekst .page-duocol__heading .map-detail__nav-center,
.page-template-page-o-projekcie-php #page-tekst .page-duocol__heading .map-detail__nav-center {
  width: 100%;
  justify-content: center;
}

.page-template-page-kontakt #page-tekst .page-duocol__media,
.page-template-page-kontakt-php #page-tekst .page-duocol__media,
.page-template-page-o-projekcie #page-tekst .page-duocol__media,
.page-template-page-o-projekcie-php #page-tekst .page-duocol__media {
  grid-area: media;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-template-page-kontakt #page-tekst .page-duocol__media img,
.page-template-page-kontakt-php #page-tekst .page-duocol__media img,
.page-template-page-o-projekcie #page-tekst .page-duocol__media img,
.page-template-page-o-projekcie-php #page-tekst .page-duocol__media img {
  width: 100%;
  height: auto;
  display: block;
}

.page-template-page-kontakt #page-tekst .page-duocol__body,
.page-template-page-kontakt-php #page-tekst .page-duocol__body,
.page-template-page-o-projekcie #page-tekst .page-duocol__body,
.page-template-page-o-projekcie-php #page-tekst .page-duocol__body {
  grid-area: body;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.page-template-page-kontakt #page-tekst .page-duocol__body,
.page-template-page-kontakt-php #page-tekst .page-duocol__body {
  display: flex;
  justify-content: center;
}

.page-template-page-o-projekcie #page-tekst .page-duocol__body,
.page-template-page-o-projekcie-php #page-tekst .page-duocol__body {
  margin-top: 33px;
}

.page-template-page-kontakt #page-tekst .page-duocol__body,
.page-template-page-kontakt-php #page-tekst .page-duocol__body {
  margin-top: 49px;
}

.page-template-page-kontakt #page-tekst .page-basic-shell__inner,
.page-template-page-kontakt-php #page-tekst .page-basic-shell__inner {
  grid-template-rows: auto auto;
  grid-template-areas:
    "media heading"
    "media body";
  align-items: start;
}

.page-template-page-kontakt #page-tekst .page-duocol__media,
.page-template-page-kontakt-php #page-tekst .page-duocol__media {
  align-items: flex-start;
}

.page-template-page-o-projekcie #page-tekst .page-duocol__media,
.page-template-page-o-projekcie-php #page-tekst .page-duocol__media {
  align-items: flex-start;
}

.page-template-page-o-projekcie #page-tekst .page-basic-shell__content > :first-child,
.page-template-page-o-projekcie-php #page-tekst .page-basic-shell__content > :first-child {
  margin-top: 0;
}

.page-template-page-o-projekcie #page-tekst .page-basic-shell__content > :last-child,
.page-template-page-o-projekcie-php #page-tekst .page-basic-shell__content > :last-child {
  margin-bottom: 0;
}

.page-template-page-kontakt #page-tekst .page-contact-links,
.page-template-page-kontakt-php #page-tekst .page-contact-links {
  display: grid;
  gap: 30px;
  justify-items: center;
  text-align: center;
}

.page-template-page-kontakt #page-tekst .page-contact-links__label,
.page-template-page-kontakt-php #page-tekst .page-contact-links__label {
  margin: 0;
  font-family: "galix-mono", sans-serif;
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
}

.page-template-page-kontakt #page-tekst .page-contact-links__value,
.page-template-page-kontakt-php #page-tekst .page-contact-links__value {
  display: inline-block;
  margin-top: 5px;
  font-size: 16px;
  font-weight: 500;
  color: #652933;
  text-decoration: underline;
}

.page-template-page-kontakt #page-tekst .page-contact-links__value--mail,
.page-template-page-kontakt-php #page-tekst .page-contact-links__value--mail {
  text-decoration: none;
}

.page-template-page-onas #page-tekst .text-editor h1,
.page-template-page-onas #page-tekst .text-editor h2,
.page-template-page-onas #page-tekst .text-editor h3,
.page-template-page-onas #page-tekst .text-editor h4,
.page-template-page-onas #page-tekst .text-editor h5,
.page-template-page-onas #page-tekst .text-editor h6,
.page-template-page-onas-php #page-tekst .text-editor h1,
.page-template-page-onas-php #page-tekst .text-editor h2,
.page-template-page-onas-php #page-tekst .text-editor h3,
.page-template-page-onas-php #page-tekst .text-editor h4,
.page-template-page-onas-php #page-tekst .text-editor h5,
.page-template-page-onas-php #page-tekst .text-editor h6,
.page-template-page-kontakt #page-tekst .text-editor h1,
.page-template-page-kontakt #page-tekst .text-editor h2,
.page-template-page-kontakt #page-tekst .text-editor h3,
.page-template-page-kontakt #page-tekst .text-editor h4,
.page-template-page-kontakt #page-tekst .text-editor h5,
.page-template-page-kontakt #page-tekst .text-editor h6,
.page-template-page-kontakt-php #page-tekst .text-editor h1,
.page-template-page-kontakt-php #page-tekst .text-editor h2,
.page-template-page-kontakt-php #page-tekst .text-editor h3,
.page-template-page-kontakt-php #page-tekst .text-editor h4,
.page-template-page-kontakt-php #page-tekst .text-editor h5,
.page-template-page-kontakt-php #page-tekst .text-editor h6,
.page-template-page-o-projekcie #page-tekst .text-editor h1,
.page-template-page-o-projekcie #page-tekst .text-editor h2,
.page-template-page-o-projekcie #page-tekst .text-editor h3,
.page-template-page-o-projekcie #page-tekst .text-editor h4,
.page-template-page-o-projekcie #page-tekst .text-editor h5,
.page-template-page-o-projekcie #page-tekst .text-editor h6,
.page-template-page-o-projekcie-php #page-tekst .text-editor h1,
.page-template-page-o-projekcie-php #page-tekst .text-editor h2,
.page-template-page-o-projekcie-php #page-tekst .text-editor h3,
.page-template-page-o-projekcie-php #page-tekst .text-editor h4,
.page-template-page-o-projekcie-php #page-tekst .text-editor h5,
.page-template-page-o-projekcie-php #page-tekst .text-editor h6,
.page-template-page-onas #page-tekst .text-editor p,
.page-template-page-onas #page-tekst .text-editor li,
.page-template-page-onas #page-tekst .text-editor a,
.page-template-page-onas-php #page-tekst .text-editor p,
.page-template-page-onas-php #page-tekst .text-editor li,
.page-template-page-onas-php #page-tekst .text-editor a,
.page-template-page-kontakt #page-tekst .text-editor p,
.page-template-page-kontakt #page-tekst .text-editor li,
.page-template-page-kontakt #page-tekst .text-editor a,
.page-template-page-kontakt-php #page-tekst .text-editor p,
.page-template-page-kontakt-php #page-tekst .text-editor li,
.page-template-page-kontakt-php #page-tekst .text-editor a,
.page-template-page-o-projekcie #page-tekst .text-editor p,
.page-template-page-o-projekcie #page-tekst .text-editor li,
.page-template-page-o-projekcie #page-tekst .text-editor a,
.page-template-page-o-projekcie-php #page-tekst .text-editor p,
.page-template-page-o-projekcie-php #page-tekst .text-editor li,
.page-template-page-o-projekcie-php #page-tekst .text-editor a {
  color: #652933;
}

@media (max-width: 991px) {
  .page-template-page-onas .site-shell__content,
  .page-template-page-onas-php .site-shell__content,
  .page-template-page-kontakt .site-shell__content,
  .page-template-page-kontakt-php .site-shell__content,
  .page-template-page-o-projekcie .site-shell__content,
  .page-template-page-o-projekcie-php .site-shell__content {
    border-radius: 18px;
  }

  .page-template-page-onas #page-tekst .page-onas-mobile-title,
  .page-template-page-onas-php #page-tekst .page-onas-mobile-title {
    display: block;
    margin-bottom: 25px;
  }

  .page-template-page-onas #page-tekst .page-onas-team__grid,
  .page-template-page-onas-php #page-tekst .page-onas-team__grid {
    grid-template-columns: 1fr;
    justify-content: center;
    row-gap: 45px;
  }

  .page-template-page-onas #page-tekst .page-onas-consultations--desktop,
  .page-template-page-onas-php #page-tekst .page-onas-consultations--desktop {
    display: none;
  }

  .page-template-page-onas #page-tekst .page-onas-consultations--mobile,
  .page-template-page-onas-php #page-tekst .page-onas-consultations--mobile {
    display: block;
    margin-top: 45px;
  }

  .page-template-page-kontakt #page-tekst .page-basic-shell,
  .page-template-page-kontakt-php #page-tekst .page-basic-shell,
  .page-template-page-o-projekcie #page-tekst .page-basic-shell,
  .page-template-page-o-projekcie-php #page-tekst .page-basic-shell {
    padding: 0;
  }

  .page-template-page-kontakt #page-tekst .page-basic-shell__inner,
  .page-template-page-kontakt-php #page-tekst .page-basic-shell__inner,
  .page-template-page-o-projekcie #page-tekst .page-basic-shell__inner,
  .page-template-page-o-projekcie-php #page-tekst .page-basic-shell__inner {
    max-width: none;
    display: block;
  }

  .page-template-page-kontakt #page-tekst .page-duocol__heading,
  .page-template-page-kontakt-php #page-tekst .page-duocol__heading,
  .page-template-page-o-projekcie #page-tekst .page-duocol__heading,
  .page-template-page-o-projekcie-php #page-tekst .page-duocol__heading {
    margin-bottom: 26px;
  }

  .page-template-page-kontakt #page-tekst .page-duocol__body,
  .page-template-page-kontakt-php #page-tekst .page-duocol__body,
  .page-template-page-o-projekcie #page-tekst .page-duocol__body,
  .page-template-page-o-projekcie-php #page-tekst .page-duocol__body {
    margin-top: 15px;
  }

  .page-template-page-kontakt #page-tekst .page-contact-links,
  .page-template-page-kontakt-php #page-tekst .page-contact-links {
    gap: 40px;
  }

  .page-template-page-kontakt #page-tekst .page-contact-links__label,
  .page-template-page-kontakt-php #page-tekst .page-contact-links__label {
    font-size: 18px;
  }

  .page-template-page-kontakt #page-tekst .page-contact-links__value,
  .page-template-page-kontakt-php #page-tekst .page-contact-links__value {
    margin-top: 10px;
    font-size: 12px;
  }

  .page-template-page-onas #page-tekst .map-detail__dot,
  .page-template-page-onas-php #page-tekst .map-detail__dot,
  .page-template-page-kontakt #page-tekst .map-detail__dot,
  .page-template-page-kontakt-php #page-tekst .map-detail__dot,
  .page-template-page-o-projekcie #page-tekst .map-detail__dot,
  .page-template-page-o-projekcie-php #page-tekst .map-detail__dot {
    width: 6px;
    height: 6px;
  }
}

@media (min-width: 1301px) {
  /* Legacy fallback - left white logo in Onas content is intentionally disabled. */
  .page-template-page-onas #page-tekst .page-onas-side-logo,
  .page-template-page-onas-php #page-tekst .page-onas-side-logo {
    display: none;
  }
}

.section {
  width: 100%;
	padding: 0;
	z-index: 1;
} 

.title-wrapper p{
  /* F: 16-20; */
  font-weight: 500;
}


.divider,
.section-divider{
  background-color: #000 !important;
}




/* HERO */

#hero.section {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 42.86vw;
    object-fit: cover;
}

#hero.section:before {
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 35.57%, #000 106.23%);
  background-blend-mode: multiply;
  z-index: 5;
}


#hero.section .video-background {
  position: absolute;
  inset: 0;
  z-index: 1;
}

#hero.section .video-background video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

#hero.section .section-width {
  position: relative;
  z-index: 6;
  height: 100%;
}

#hero.section .title-wrapper {
  position: absolute;
  /* L: 12-44; */
  /* B: 40-60; */
  color:#FFFFFF;
}

#hero.section .title-wrapper h1{
  /* F: 60-136; */
  letter-spacing: 5.44px;
}

.lb {
  position:fixed;
  inset:0;
  background:rgba(255,255,255,.9);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:16px;
  z-index:999999;
}

.lb.hidden {
  display:none;
}

.lb-stage {
  max-width:min(92vw,1400px);
  max-height:80vh;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}

.lb-img {
  max-width:100%;
  max-height:80vh;
  display:block;
  border-radius:10px;
  transition:transform .25s ease;
  cursor:grab;
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: auto;
  transition: transform .25s ease;
}

.lb-close {
  position:absolute;
  top:28px;
  /* R: 12-44; */
  padding: 0;
  border:0;
  background:transparent;
  color:#fff;
  cursor:pointer;
}

.lb-close img{
  width: 39px;
  height: 22px;
}


.lb-dots {
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  justify-content:center;
  position: absolute;
  bottom: 29px;
}

.lb-dots button {
  width:10px;
  height:14px;
  border-radius:50%;
  border:1px solid black;
  background:transparent;
  cursor:pointer;
}

.lb-dots button.active {
  background:black;
  opacity:1;
}

body.lb-open {
  overflow:hidden;
}



/* SVG – bez wypełnienia dla pierścienia progresu (na wszelki wypadek) */
svg.ring .track,
svg.ring .bar {
  fill: none;
}

/* Zegar przy pakietach */
.pakiety .time .image-wrapper {
  position: relative;
}

.icon-clock {
  display: block;
  background: transparent;
}

/* Wskazówka – pivot dokładnie w środku zegara */
.icon-clock .hand {
  transform-origin: 20.5px 20.5px; /* środek viewBoxa */
  transform-box: view-box;         /* współrzędne liczone względem viewBox */
}

/* Klasa uruchamiająca animację – tylko JEDNO pełne obrócenie */
.icon-clock.is-animating .hand {
  animation: clock-hand-spin 1.5s ease-out 1 forwards;
}

@keyframes clock-hand-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}





/* Renowacja lakieru */


.page-id-32052{

}

.special-col .support-wrapper{
  margin-top: 32px;
}

.special-col .support-wrapper .time,
.special-col .support-wrapper .progress{
  display: flex;
  align-items: center;
  gap: 10px;
}

.special-col .support-wrapper .time .image-wrapper,
.special-col .support-wrapper .time img{
  width: 41px;
  height: 41px;
  object-fit: contain;
  transform: translateY(3px);
}

.special-col .support-wrapper p{
  /* F:14-16; */
}


.progress .circle {
  position: relative;
  width: 41px;
  height: 41px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.special-col .progress .circle img{
  display: block;
  position: absolute;
  margin: 0;
  /* F:12-14;*/
  pointer-events: none;
}

.special-col .progress .circle p span{
  display: none;
}

/* pierścień */
.ring { display: block; }
.track {
  fill: none;
  stroke: #E9E9E9;          /* szary border */
  stroke-width: 2.5;
}
.bar {
  fill: none;
  stroke: #FD5000;          /* kolor wypełnienia */
  stroke-width: 2.5;
  stroke-linecap: round;    /* ładne zakończenia */
  transform-origin: 50% 50%;
  /* start od prawej, więc brak rotacji; gdyby od góry: rotate(-90deg) */
  transition: stroke-dashoffset .6s ease;
}

.grid-wrapper{
  display: none;
}

  .grid-wrapper .line{
    /* H:50-88; */
  }

/* dostępność – ukryty tekst 3/5 itp. */
.sr-only{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

















/*-----------------------------------------------------------
	Footer 
-------------------------------------------------------------*/


#footer.footer-wrapper {
  /* Pt:44-104; */
}

#footer .CTA .text-editor-1,
#footer .CTA .text-editor-2 {
  display: block;
  font-size: 120px;
  font-weight: 600;
  letter-spacing: 4.8px;
}

#footer .CTA .text-editor-1 {
  color: #111;
}

#footer .CTA .text-editor-2 {
  /* Mb:44-104; */
  display: flex;
  align-items: flex-end;
  /* Mb:40-104; */
  color: #FD5000;
}

#footer .CTA .text-editor-2 .arrow{
  /* W: 45-139; */
  /* H: 32-77; */
  position: relative;
  overflow: hidden;
  left: -20px;
  transform: translateY(-10px);
}

#footer .CTA .text-editor-2 .arrow img{
  position: absolute;
  top: 0;
  left: -30px;
  /* W: 45-139; */
  /* H: 32-77; */
  transition: .5s;
  object-fit: contain;
}

#footer .CTA:hover .text-editor-2 .arrow img{
  left: 0;
}

#footer .divider {
  height: 1px;
  background: #000000;
  /* M: 20-24 0; */
}

#footer .editors {
  display: flex;
  /* G: 32-129; */
  /* Mt:40-80; */
}

#footer .editors p,
#footer .editors p a{
  /* F: 24-30; */
  font-weight: 600;
  color: #000000;
  transition: .5s;
}

#footer .editors p a:hover{
  opacity: .4;
}

#footer .logo {
  /* Mt:40-120; */
  /* Mb:40-104; */
}

#footer .logo img {
  display: block;
  max-width: 100%;
  height: auto;
}

#footer .copyright {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* Pb: 20-24; */
}

#footer .copyright p{
  /* F: 14-16; */
  font-weight: 600;
  margin: 0;
}















/*************************/













/*-----------------------------------------------------------
	Page Loader 
-------------------------------------------------------------*/



/*-----------------------------------------------------------
HAMBURGER
-------------------------------------------------------------*/

.menu-mobile{
	width: 30px;
}

/*-----------------------------------------------------------
HAMBURGER
-------------------------------------------------------------*/

.hamburger {
  display: flex;
  cursor: pointer;
  background: transparent;
  border: 0;
  padding: 0;
}

.hamburger-box {
  position: relative;
  width: 45px;
  height: 17px; /* 1 + 8 + 1 + 8 + 1 */
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
  position: absolute;
  width: 45px;
  height: 1px; 
  background: #000000;
  left: 0;
  transition: transform .2s ease, background-color .2s ease, top .2s ease;
  content: "";
}

.hamburger-inner {
  top: 50%;
  transform: translateY(-50%);
}

.hamburger-inner::before { top: calc(50% - 9px); }
.hamburger-inner::after  { top: calc(50% + 8px); }

/* Emphatic active -> X */
.hamburger--emphatic.is-active .hamburger-inner { background: transparent; }
.hamburger--emphatic.is-active .hamburger-inner::before {
  top: 50%;
  transform: translateY(-50%) rotate(30deg);
}
.hamburger--emphatic.is-active .hamburger-inner::after {
  top: 50%;
  transform: translateY(-50%) rotate(-30deg);
}

.hamburger--emphatic.is-active .hamburger-inner,
.hamburger--emphatic.is-active .hamburger-inner::before,
.hamburger--emphatic.is-active .hamburger-inner::after {
	transition-delay: 0s;
	transition-timing-function: ease-out;
}









.d-see{
  display: block;
}

.m-none{
  display: none;
}
  
  

   








  

/* -----------------------------------------------------------
   Map styles (moved from map.css)
----------------------------------------------------------- */

/* Map layout */

:root {
  --shell-pad-top: 72px;
  --shell-pad-right: 0px;
  --shell-pad-bottom: 40px;
  --shell-pad-left: 72px;
  --rail-width: 82.8px;
  --content-pad-right: calc(var(--rail-width) + var(--shell-pad-right));
  --mobile-header-h: clamp(33px, calc(33px + (16.35) * ((100vw - 390px) / (1530))), 49.35px);
  --mobile-header-total: var(--mobile-header-h);
  --mobile-map-gap: 26px;
}

.site-shell {
  /* Pt:25-63; */
  /* Pr:25-63; */
  /* Pb:25-63; */
  /* Pl:25-63; */
  min-height: 100vh;
  padding: var(--shell-pad-top) var(--shell-pad-right) var(--shell-pad-bottom) var(--shell-pad-left);
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 1fr var(--rail-width);
  gap: 0;
  background: #f2eee5;
  color: #1b1b1b;
}

.site-shell__content {
  min-width: 0;
  display: block;
}

.site-main {
  min-width: 0;
  display: block;
}

.mobile-header {
  display: none;
  align-items: center;
  justify-content: space-between;
  min-height: var(--mobile-header-h);
  gap: 16px;
  width: 100%;
  padding: var(--mobile-pad, 25px);
  box-sizing: border-box;
  background: #f2eee5;
}

.mobile-menu-toggle {
  /* W:33-49.35; */
  /* H:33-49.35; */
  width: var(--mobile-header-h);
  height: var(--mobile-header-h);
  border-radius: 999px;
  border: none;
  background: #652933;
  padding: 0;
  cursor: pointer;
}

.mobile-logo img {
  display: block;
}

.mobile-logo .custom-logo-link img.custom-logo {
  width: clamp(137.5px, calc(137.5px + (68.11) * ((100vw - 390px) / (1530))), 205.61px);
  height: var(--mobile-header-h);
}

.site-rail {
  position: relative;
  width: var(--rail-width);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  height: calc(100% - 40px);
}

.site-rail__brand {
  display: none;
}

.site-rail__lang {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0;
  color: #652933;
}

.site-rail__lang-btn {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: currentColor;
  cursor: pointer;
}

.site-rail__lang-btn.is-active {
  font-weight: 700;
}

.site-rail__divider {
  width: 100%;
  height: 1px;
  background: currentColor;
}

.site-rail__access {
  width: 30px;
  height: 30px;
  border: none;
  background: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.site-rail__access img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  display: block;
}

.site-rail__menu .menu {
  --menu-gap: 43px;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--menu-gap);
  align-items: center;
}

.site-rail__menu .menu > li {
  position: relative;
  writing-mode: vertical-rl;
  transform: none;
  text-orientation: mixed;
  /* F:14-22; */
  font-size: clamp(14px, calc(14px + (8) * ((100vw - 390px) / (1530))), 22px);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0;
  color: #652933;
}

.site-rail__menu .menu > li + li::before {
  content: "•";
  position: absolute;
  top: calc(-1 * var(--menu-gap) / 2);
  left: 50%;
  transform: translate(-50%, -50%);
  color: currentColor;
}

.site-rail__menu a {
  color: inherit;
  text-decoration: none;
}

.site-rail__menu .menu > li.current-menu-item,
.site-rail__menu .menu > li.current-menu-parent,
.site-rail__menu .menu > li.current-menu-ancestor,
.site-rail__menu .menu > li.current_page_item,
.site-rail__menu .menu > li.current_page_parent,
.site-rail__menu .menu > li.current_page_ancestor,
.site-rail__menu .menu > li > a[aria-current="page"] {
  font-weight: 700;
}

.site-rail__access {
  margin-top: 15.6px;
}

.site-rail__lang {
  margin-top: 0;
}

.site-rail__menu {
  margin-top: 50px;
}

.site-rail > .site-rail__lang {
  display: none;
}

.site-rail > .site-rail__access {
  margin-top: 0;
}

.site-rail > .site-rail__menu {
  margin-top: 24px;
}

.map-page {
  width: 100%;
  position: relative;
  /* G:26-35; */
  --map-min-h: clamp(420px, 55vh, 640px);
  height: calc(100dvh - var(--shell-pad-top) - var(--shell-pad-bottom));
  display: grid;
  grid-template-rows: minmax(var(--map-min-h), 1fr) auto;
  gap: 35px;
}

.map-screen {
  min-height: 0;
}

.map-home .map-page {
  height: calc(100dvh - var(--shell-pad-top) - var(--shell-pad-bottom));
}

.page-layout {
  width: 100%;
}

.page-layout__inner {
  max-width: 960px;
}

.map-area {
  position: relative;
  height: 100%;
  --map-radius: 18px;
  --panel-width: 80%;
  --map-shell: 100%;
  --map-gap: 40px;
  border-radius: var(--map-radius);
  background: #f2eee5;
}

.map-area,
.map-area * {
  -webkit-user-drag: none;
  user-drag: none;
}

.map-area.is-open {
  --map-shell: calc(100% - var(--panel-width) - var(--map-gap));
}

.map-area.is-open.is-max {
  --map-shell: 100%;
}

@media (min-width: 992px) {
  .map-area {
    --map-shell-open: clamp(200px, 19.2708vw, 370px);
    --panel-width-open: calc(100% - var(--map-gap) - var(--map-shell-open));
  }

  .map-area.is-open {
    --map-shell: var(--map-shell-open);
    --panel-width: var(--panel-width-open);
  }
}

.map-shell {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: var(--map-shell);
  transition: width 0.6s ease;
  background: #f2eee5;
  border-radius: var(--map-radius);
  overflow: visible;
  box-shadow: none;
  z-index: 2;
  border: 1px solid #000;
}

.map-area.map-is-booting .map-shell {
  overflow: hidden;
}

.map-viewport {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
  touch-action: none;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  user-drag: none;
  border-radius: inherit;
}

.map-viewport.is-dragging {
  cursor: grabbing;
}

.map-touch-hint {
  position: absolute;
  left: 50%;
  bottom: 34px;
  width: 79px;
  height: 79px;
  border-radius: 999px;
  background: rgba(101, 41, 51, 0.6);
  color: #F2EEE5;
  display: none;
  align-items: center;
  justify-content: center;
  transform: translateX(-50%);
  z-index: 6;
  pointer-events: none;
  transition: opacity 220ms ease, transform 220ms ease;
}

.map-touch-hint svg {
  display: block;
  width: 54.81px;
  height: 54.81px;
}

.map-touch-hint line,
.map-touch-hint polyline {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 991px) {
  .map-area .map-viewport {
    touch-action: pan-y;
  }

  .map-area.is-touch-map-enabled .map-viewport {
    touch-action: none;
  }

  .map-touch-hint {
    display: inline-flex;
  }

  .map-area.is-touch-map-enabled .map-touch-hint {
    opacity: 0;
    transform: translate(-50%, 8px);
  }
}

.map-stage {
  position: absolute;
  top: 0;
  left: 0;
  transform-origin: 0 0;
  will-change: auto;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  user-drag: none;
}

.map-stage.is-transforming {
  will-change: transform;
}

.map-area.map-is-booting .map-stage {
  opacity: 1;
  visibility: visible;
}

.map-area.map-is-booting .map-detail {
  opacity: 0 !important;
  pointer-events: none;
}

.map-area.map-is-booting .map-resize-handle {
  opacity: 0;
  pointer-events: none;
}

.map-boot-overlay {
  position: absolute;
  inset: 0;
  border-radius: var(--map-radius);
  background: #F2EEE5;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  pointer-events: none;
  transform: translate3d(0, 0, 0);
  will-change: transform;
  contain: paint;
  transform-origin: top center;
  transition: transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

.map-area.map-is-booting .map-boot-overlay {
  pointer-events: auto;
}

.map-boot-overlay.is-ready {
  transform: translate3d(0, -104%, 0);
}

.map-boot-loader {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  min-height: 44px;
  transform: translateZ(0);
  transform-origin: center center;
  backface-visibility: hidden;
  will-change: opacity;
  gap: 14px;
}

.map-boot-loader__logo {
  display: block;
  width: clamp(132px, 10vw, 196px);
  height: auto;
  opacity: 0.9;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.map-boot-loader__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #652933;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.map-boot-loader__status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 8px;
}

.map-boot-loader__status > span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #652933;
  opacity: 0.35;
  animation: mapBootDots 0.9s linear infinite;
}

.map-boot-loader__status > span:nth-child(2) {
  animation-delay: 0.18s;
}

.map-boot-loader__status > span:nth-child(3) {
  animation-delay: 0.36s;
}

@keyframes mapBootDots {
  0% {
    opacity: 0.25;
  }

  40% {
    opacity: 1;
  }

  100% {
    opacity: 0.25;
  }
}

@media (prefers-reduced-motion: reduce) {
  .map-stage,
  .map-boot-overlay {
    transition-duration: 1ms;
  }

  .map-detail__inner,
  .map-detail__nav,
  .map-audio,
  .map-detail__card::before,
  .map-detail__card::after {
    transition-duration: 1ms;
  }

  .map-detail.is-pending .map-detail__card::before {
    animation: none;
  }

  .map-boot-loader__logo,
  .map-boot-loader__dot,
  .map-boot-loader__status > span {
    animation: none;
  }
}

.map-points {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.map-image {
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  user-drag: none;
}

.map-point {
  position: absolute;
  top: var(--y);
  left: var(--x);
  z-index: 1;
  width: var(--point-size, 48px);
  height: var(--point-size, 48px);
  border-radius: var(--point-radius, 999px);
  background: var(--point-bg, #652933);
  color: var(--point-color, #f2eee5);
  --point-accent: #652933;
  --point-accent-gradient: linear-gradient(90deg, #652933 0 50%, #242872 50% 100%);
  --point-flag-h: 77.5px;
  --point-flag-extra: 8px;
  --point-line-w: 2px;
  --point-flag-gap: 0px;
  --point-flag-border: 2px;
  border: 0;
  font-weight: 700;
  font-size: 14px;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: none;
  outline: none;
}

.map-point:focus,
.map-point:focus-visible {
  outline: none;
}

.map-point:hover,
.map-point.is-active,
.map-point.is-hover {
  z-index: 3;
}

.map-point[data-point-category="reception"] {
  background: #242872;
  --point-accent: #242872;
}

body.category-weinbergs-life {
  --category-color: #652933;
}

body.category-reception {
  --category-color: #242872;
}

.map-point[data-point-category="weinbergs-life"] {
  background: #652933;
  --point-accent: #652933;
}

.map-point-label {
  position: absolute;
  top: calc((var(--point-flag-h) + var(--point-flag-extra)) * -1 * var(--point-ui-scale, 1));
  left: calc(50% + (var(--point-line-w) * var(--point-ui-scale, 1) / 2));
  overflow: hidden;
  pointer-events: none;
  white-space: nowrap;
  transform: scale(var(--point-ui-scale, 1));
  transform-origin: 0 0;
}

.map-point-label__inner {
  display: inline-flex;
  align-items: center;
  background: #f2eee5;
  padding: 10px 20px;
  border: var(--point-flag-border) solid var(--point-accent);
  border-left-width: 0;
  border-radius: 0;
  font-size: 32px;
  font-family: "galix-mono", monospace;
  font-weight: 700;
  white-space: nowrap;
  transform: translateX(calc(-100% - var(--point-flag-border)));
  transition: transform 0.28s ease;
  transition-delay: 0s;
}

.map-point-label__text {
  color: var(--point-accent);
}

.map-point:hover .map-point-label__inner,
.map-point.is-active .map-point-label__inner,
.map-point.is-hover .map-point-label__inner {
  transform: translateX(0);
  transition-delay: 0.08s;
}

.map-point::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 100%;
  width: calc(var(--point-line-w) * var(--point-ui-scale, 1));
  height: calc((var(--point-flag-h) + var(--point-flag-extra)) * var(--point-ui-scale, 1));
  background: var(--point-accent);
  transform: translateX(-50%) scaleY(0);
  transform-origin: bottom;
  transition: transform 0.22s ease;
  transition-delay: 0.12s;
  pointer-events: none;
}

.map-point:hover::after,
.map-point.is-active::after,
.map-point.is-hover::after {
  transform: translateX(-50%) scaleY(1);
  transition-delay: 0s;
}

.map-point.is-active {
  outline: none;
}

.map-point-number {
  font-size: 55px;
}

.map-resize-handle {
  position: absolute;
  right: -20px;
  bottom: -1px;
  width: 20px;
  height: 50px;
  border-radius: 0 10px 10px 0;
  border: 1px solid #1b1b1b;
  background: #f2eee5;
  cursor: pointer;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  z-index: 2;
  transition: opacity 0.2s ease;
}

.map-area.is-resizing .map-resize-handle {
  cursor: ew-resize;
}

.map-resize-handle::before {
  content: "›";
  font-size: 14px;
  color: #1b1b1b;
  display: block;
  transform: translateY(-3px) scale(2.4);
  transform-origin: center;
}

.map-area.is-open:not(.is-max) .map-resize-handle {
  opacity: 1;
  pointer-events: auto;
}

.map-area.is-open:not(.is-max) .map-shell {
  border-bottom-right-radius: 0;
}

.map-detail {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  z-index: 1;
  color: #f2eee5;
}

.map-area.is-open .map-detail {
  opacity: 1;
  pointer-events: auto;
}

.map-detail__card {
  height: 100%;
  width: var(--panel-width);
  margin-left: 0;
  border-radius: var(--map-radius);
  overflow: hidden;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  transition: none;
  position: relative;
}

.map-detail__card::before,
.map-detail__card::after {
  content: "";
  position: absolute;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease, transform 220ms ease;
}

.map-detail__card::before {
  top: 50%;
  left: 50%;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 2px solid rgba(242, 238, 229, 0.34);
  border-top-color: rgba(242, 238, 229, 0.96);
  transform: translate(-50%, -38%) scale(0.92);
  z-index: 4;
}

.map-detail__card::after {
  inset: 0;
  background: rgba(15, 8, 10, 0.26);
  z-index: 3;
}

.map-detail[data-category="reception"] .map-detail__card::after {
  background: rgba(7, 10, 32, 0.26);
}

.map-detail[data-category="weinbergs-life"] .map-detail__card::before,
.map-detail[data-category="reception"] .map-detail__card::before {
  border-color: rgba(242, 238, 229, 0.34);
  border-top-color: rgba(242, 238, 229, 0.96);
}

.map-detail[data-category="reception"] .map-detail__card::before {
  border-color: rgba(197, 201, 255, 0.34);
  border-top-color: rgba(231, 234, 255, 0.96);
}

.map-detail__inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  grid-template-rows: 1fr;
  align-items: stretch;
  flex: 1 1 auto;
  height: 100%;
  padding-left: 0;
  transition: opacity 220ms ease, transform 220ms ease;
  box-sizing: border-box;
  position: relative;
  min-height: 0;
}

.map-detail.is-pending .map-detail__card::before {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  animation: mapDetailSpinner 0.78s linear infinite;
}

.map-detail.is-pending .map-detail__card::after {
  opacity: 1;
}

.map-detail.is-pending .map-detail__inner,
.map-detail.is-pending .map-detail__nav {
  opacity: 0;
  transform: translateY(12px);
}

@keyframes mapDetailSpinner {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.map-detail[data-category="weinbergs-life"] .map-detail__card {
  background: #652933;
}

.map-detail[data-category="reception"] .map-detail__card {
  background: #242872;
}

.map-gallery {
  /* Pt:20-40; */
  padding-top: 40px;
  /* Pr:28-28; */
  padding-right: 28px;
  /* Pb:24-40; */
  padding-bottom: 40px;
  /* Pl:28-45; */
  padding-left: 45px;
  display: flex;
  flex-direction: column;
  gap: 0;
  background: transparent;
  height: 100%;
  min-height: 0;
  box-sizing: border-box;
  color: #f2eee5;
}

.map-gallery__main {
  flex: 1 1 0;
  min-height: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: transparent;
  overflow: visible;
}

.map-gallery__media {
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: 14px;
  background: transparent;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-gallery__media img,
.map-gallery__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: inherit;
}

.map-gallery__media video {
  background: transparent;
}

.map-gallery__media.is-contain img,
.map-gallery__media.is-contain video {
  object-fit: contain;
}

.map-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(7, 48px);
  /* G:6-6; */
  gap: 6px;
  justify-content: center;
  flex: 0 0 auto;
  /* Mt:10-10; */
  margin-top: 10px;
}

.map-gallery__thumb {
  /* W:48-48; */
  width: 48px;
  /* H:48-48; */
  height: 48px;
  border-radius: 3px;
  background: rgba(242,238,229,0.3);
  border: 1px solid currentColor;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  padding: 0;
  appearance: none;
}

.map-gallery__thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
  pointer-events: none;
}

.map-gallery__thumb.is-active {
  border-color: currentColor;
}

.map-gallery__pager {
  display: flex;
  justify-content: center;
  /* G:6-6; */
  gap: 6px;
  flex: 0 0 auto;
  /* Mt:12-12; */
  margin-top: 12px;
  overflow: hidden;
}

.map-gallery__pager span {
  /* W:10-10; */
  width: 10px;
  /* H:10-10; */
  height: 10px;
  border-radius: 999px;
  border: 1px solid currentColor;
  background: transparent;
  opacity: 1;
}

.map-gallery__pager span.is-active {
  background: currentColor;
}

@media (prefers-reduced-motion: no-preference) {
  .map-gallery__pager.is-shift-left span {
    animation: mapGalleryPagerShiftLeft 220ms cubic-bezier(0.22, 0.61, 0.36, 1);
  }

  .map-gallery__pager.is-shift-right span {
    animation: mapGalleryPagerShiftRight 220ms cubic-bezier(0.22, 0.61, 0.36, 1);
  }

  .map-gallery__pager span.is-active {
    animation: mapGalleryPagerActiveDot 220ms cubic-bezier(0.22, 0.61, 0.36, 1);
  }
}

@keyframes mapGalleryPagerShiftLeft {
  from {
    transform: translateX(12px);
    opacity: 0.55;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes mapGalleryPagerShiftRight {
  from {
    transform: translateX(-12px);
    opacity: 0.55;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes mapGalleryPagerActiveDot {
  0% {
    transform: scale(0.82);
  }

  65% {
    transform: scale(1.12);
  }

  100% {
    transform: scale(1);
  }
}

.map-gallery__thumbs:empty,
.map-gallery__pager:empty {
  display: none;
}

@media (min-width: 992px) {
  .map-detail {
    --detail-center-gap: clamp(44px, calc(44px + (70) * ((100vw - 992px) / (928))), 114px);
    --detail-center-half: calc(var(--detail-center-gap) / 2);
    --detail-col-pad-top: clamp(20px, calc(20px + (20) * ((100vw - 992px) / (928))), 40px);
    --detail-col-pad-left: clamp(24px, calc(24px + (21) * ((100vw - 992px) / (928))), 45px);
    --detail-col-pad-bottom: clamp(24px, calc(24px + (16) * ((100vw - 992px) / (928))), 40px);
    --detail-text-pad-right: clamp(20px, calc(20px + (8) * ((100vw - 992px) / (928))), 28px);
    --detail-scroll-pad-right: clamp(24px, calc(24px + (19) * ((100vw - 992px) / (928))), 43px);
    --detail-nav-gap: clamp(36px, calc(36px + (24) * ((100vw - 992px) / (928))), 60px);
    --detail-nav-pad-top: clamp(12px, calc(12px + (4) * ((100vw - 992px) / (928))), 16px);
    --detail-nav-pad-x: clamp(18px, calc(18px + (10) * ((100vw - 992px) / (928))), 28px);
    --detail-nav-pad-bottom: clamp(14px, calc(14px + (6) * ((100vw - 992px) / (928))), 20px);
    --detail-arrow-gap: 12px;
    --detail-arrow-size: clamp(18px, 1.8229vw, 35px);
    --thumb-size: 48px;
    --thumb-gap: 6px;
    --thumbs-visible: 7;
    --thumbs-width: calc(var(--thumbs-visible) * var(--thumb-size) + (var(--thumbs-visible) - 1) * var(--thumb-gap));
  }

  .map-detail .map-gallery {
    position: relative;
    padding-top: var(--detail-col-pad-top);
    padding-left: var(--detail-col-pad-left);
    padding-right: var(--detail-center-half);
    padding-bottom: var(--detail-col-pad-bottom);
  }

  .map-detail .map-text {
    padding-top: var(--detail-col-pad-top);
    padding-left: var(--detail-center-half);
    padding-right: var(--detail-text-pad-right);
    padding-bottom: var(--detail-col-pad-bottom);
  }

  .map-detail .map-text__scroll {
    padding-right: var(--detail-scroll-pad-right);
  }

  .map-detail .map-detail__nav {
    gap: var(--detail-nav-gap);
    padding: var(--detail-nav-pad-top) var(--detail-nav-pad-x) var(--detail-nav-pad-bottom);
  }

  .map-detail .map-gallery__main {
    display: grid;
    grid-template-columns: var(--detail-arrow-size) var(--detail-arrow-gap) minmax(0, 1fr) var(--detail-arrow-gap) var(--detail-arrow-size);
    align-items: center;
    justify-content: stretch;
    background: transparent;
    border-radius: 0;
    overflow: visible;
  }

  .map-detail .map-gallery__media {
    grid-column: 3;
    width: 100%;
    height: 100%;
    min-width: 0;
    max-width: 100%;
    max-height: 100%;
    border-radius: 14px;
    background: transparent;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
    align-self: center;
  }

  .map-detail .map-gallery__arrow {
    background: none;
    border: none;
    color: #f2eee5;
    width: var(--detail-arrow-size);
    height: var(--detail-arrow-size);
    display: grid;
    place-items: center;
    padding: 0;
    cursor: pointer;
  }

  .map-detail .map-gallery__arrow--prev {
    grid-column: 1;
  }

  .map-detail .map-gallery__arrow--next {
    grid-column: 5;
  }

  .map-detail .map-gallery__arrow--prev::before,
  .map-detail .map-gallery__arrow--next::after {
    font-size: var(--detail-arrow-size);
  }

  .map-detail .map-gallery__arrow--prev::before {
    content: "‹";
  }

  .map-detail .map-gallery__arrow--next::after {
    content: "›";
  }

  .map-detail .map-gallery__arrow.is-hidden {
    opacity: 0;
    pointer-events: none;
  }

  .map-detail .map-gallery__thumbs {
    margin-top: 10px;
  }

  .map-detail .map-gallery.is-video-hero {
    padding-top: 0;
  }

  .map-detail .map-gallery.is-video-hero .map-gallery__arrow {
    transform: translateY(calc(var(--detail-col-pad-top) / 2));
  }

  .map-detail .map-gallery.is-video-hero .map-gallery__media video {
    transform: scale(1.01);
  }

  .map-detail .map-gallery__thumbs.is-overflowing {
    display: flex;
    justify-content: flex-start;
    gap: var(--thumb-gap);
    width: var(--thumbs-width);
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    scroll-behavior: smooth;
  }

  .map-detail .map-gallery__thumbs.is-overflowing .map-gallery__thumb {
    flex: 0 0 var(--thumb-size);
  }

  .map-detail .map-gallery__pager {
    position: absolute;
    left: 0;
    right: 0;
    margin-top: 0;
    top: calc(100% - var(--detail-col-pad-bottom) + 12px);
  }

  .map-detail .map-gallery__thumb {
    border: 1px solid #f2eee5;
  }
}
.map-text {
  /* Pt:20-40; */
  padding-top: 40px;
  /* Pr:20-28; */
  padding-right: 28px;
  /* Pb:24-40; */
  padding-bottom: 40px;
  /* Pl:28-45; */
  padding-left: 45px;
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
  color: #f2eee5;
  height: 100%;
  position: relative;
}

.map-text__scroll-wrap {
  flex: 1 1 auto;
  min-height: 0;
  position: relative;
  padding-top: 0;
}

.map-text__scroll {
  margin-top: 0;
  overflow-y: auto;
  /* Pr:24-43; */
  padding-right: 43px;
  flex: 1 1 auto;
  min-height: 0;
  max-height: 100%;
  position: relative;
  scrollbar-width: none;
  height: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.map-text__scroll::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.map-text__scroll h2 {
  margin: 0 0 16px;
  font-size: 28px;
  color: #f2eee5;
  display: none;
}

.map-text__scroll,
.map-text__scroll p,
.map-text__scroll a,
.map-text__scroll li,
.map-text__scroll strong,
.map-text__scroll em {
  /* F:12-16; */
  font-size: 16px;
  color: #f2eee5;
  font-weight: 500;
  overflow-wrap: anywhere;
  word-break: break-word;
  min-width: 0;
}

.map-text__scroll a,
.map-text__scroll a:visited {
  color: #B5C6CE;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.12em;
}

.map-text__scroll-indicator {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  /* W:15-15; */
  width: 15px;
  display: flex;
  align-items: stretch;
  justify-content: center;
  pointer-events: none;
}

.map-text__scroll-line {
  position: absolute;
  top: 0;
  bottom: 0;
  /* W:2-2; */
  width: 2px;
  background: currentColor;
}

.map-text__scroll-dot {
  position: absolute;
  top: 0;
  /* W:15-15; */
  width: 15px;
  /* H:15-15; */
  height: 15px;
  border-radius: 999px;
  background: currentColor;
  transform: translateY(0);
  transition: transform 0.08s linear;
}

.map-detail__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  /* G:60-60; */
  gap: 60px;
  padding: 16px 28px 20px;
  /* F:18-20; */
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-sizing: border-box;
  color: #f2eee5;
  transition: opacity 220ms ease, transform 220ms ease;
}

.map-detail__nav button {
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
  color: inherit;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.map-detail__nav button[data-nav-prev]::before {
  content: "‹";
}

.map-detail__nav button[data-nav-next]::after {
  content: "›";
}

.map-detail__nav-center {
  display: inline-flex;
  align-items: center;
  /* G:8-8; */
  gap: 8px;
  /* F:22-48; */
  font-size: 48px;
  font-weight: 700;
  text-transform: uppercase;
}

.map-detail__dot {
  /* W:10-10; */
  width: 10px;
  /* H:10-10; */
  height: 10px;
  border-radius: 999px;
  background: #f2eee5;
  flex: 0 0 auto;
  transform: translateY(1px);
}

.map-under {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 0;
  gap: 24px;
}

@media (min-width: 992px) {
  .map-under {
    min-height: clamp(92px, 9.5vh, 132px);
  }
}

.map-categories {
  display: flex;
  gap: 48px;
  position: relative;
}

.map-category {
  display: flex;
  gap: 20px;
  align-items: flex-end;
  color: #1b1b1b;
}

.map-category[data-category="weinbergs-life"] {
  color: #652933;
}

.map-category[data-category="reception"] {
  color: #242872;
}

.map-category__label {
  color: currentColor;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  position: relative;
  padding-right: 12px;
}

.map-category__label::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 1px;
  height: 100%;
  background: currentColor;
}

.map-category__label-word {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  /* F:14-22; */
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.map-category__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 7px;
  align-items: flex-end;
}

.map-active-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  left: 0;
  top: 0;
  opacity: 0;
  transform: translate3d(0, 0, 0);
  transform-origin: center;
  transition: opacity 0.2s ease;
  pointer-events: none;
  z-index: 3;
  will-change: transform, left, top;
  backface-visibility: hidden;
}

.map-active-dot.is-visible {
  opacity: 1;
}

.map-category__list li {
  /* F:14-16; */
  font-size: 16px;
  letter-spacing: 0.04em;
  font-weight: 400;
  color: currentColor;
  display: flex;
  align-items: flex-end;
}

.map-category__list button {
  background: none;
  border: none;
  cursor: pointer;
  color: currentColor;
  padding: 0;
  font: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  justify-content: flex-end;
}

.map-category__num {
  display: flex;
  flex-direction: column;
  align-items: center;
  letter-spacing: 0;
  gap: 1px;
}

.map-category__num-bold {
  display: none;
}

.map-category__num--stack {
  position: relative;
  display: block;
  height: 1em;
}

.map-category__num--stack .map-category__num-text > span,
.map-category__num--stack .map-category__num-bold > span {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.map-category__num--stack .map-category__num-text > span:first-child,
.map-category__num--stack .map-category__num-bold > span:first-child {
  bottom: 0;
}

.map-category__num--stack .map-category__num-text > span:nth-child(2),
.map-category__num--stack .map-category__num-bold > span:nth-child(2) {
  top: calc(100% + 1px);
}

.map-category__title {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.map-category__list button.is-active {
  font-weight: 800;
}

.map-category__list .is-missing {
  opacity: 0.4;
}

.map-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
  align-self: stretch;
}

.map-audio {
  --audio-pad-y: 7.5px;
  --audio-pad-x: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* G:9-9; */
  gap: 9px;
  background: #B5C6CE;
  border-radius: 21px;
  /* P:7.5-7.5 10-10; */
  padding: 0 var(--audio-pad-x);
  color: var(--category-color, #652933);
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  overflow: hidden;
  transform: translateY(10px);
  transition:
    max-height 240ms ease,
    padding-top 240ms ease,
    padding-bottom 240ms ease,
    opacity 240ms ease,
    transform 240ms ease,
    visibility 0s linear 240ms;
}

.map-audio[data-category="weinbergs-life"] {
  color: #652933;
}

.map-audio[data-category="reception"] {
  color: #242872;
}

.map-audio.is-visible {
  max-height: 56px;
  padding-top: var(--audio-pad-y);
  padding-bottom: var(--audio-pad-y);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition-delay: 0s;
}

.map-audio.is-pending.is-visible {
  opacity: 0;
  visibility: visible;
  pointer-events: none;
  transform: translateY(-10px);
  transition-delay: 0s;
}

.map-audio__btn {
  /* W:26-26; */
  width: 26px;
  /* H:26-26; */
  height: 26px;
  min-width: 26px;
  min-height: 26px;
  max-width: 26px;
  max-height: 26px;
  flex: 0 0 26px;
  border-radius: 999px;
  border: 2px solid currentColor;
  background: transparent;
  color: inherit;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
  box-sizing: border-box;
}

.map-audio__icon {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 0 6px 9px;
  border-color: transparent transparent transparent currentColor;
  margin-left: 2px;
  color: inherit;
}

.map-audio__btn.is-playing .map-audio__icon {
  width: 8px;
  height: 10px;
  border: 0;
  position: relative;
  margin-left: 0;
}

.map-audio__btn.is-playing .map-audio__icon::before,
.map-audio__btn.is-playing .map-audio__icon::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 10px;
  background: currentColor;
}

.map-audio__btn.is-playing .map-audio__icon::after {
  right: 0;
  left: auto;
}

.map-logo {
  margin-top: auto;
}

.map-audio__title {
  /* F:16-16; */
  font-size: 16px;
  font-style: italic;
  font-weight: 300;
  color: inherit;
}

.map-logo img {
  /* W:137.5-205.61; */
  /* H:33-49.35; */
  width: 205.61px;
  height: 49.35px;
}

.site-footer {
  background: #f2eee5;
}

.site-footer__inner {
  padding-left: var(--shell-pad-left);
  padding-right: var(--content-pad-right);
  box-sizing: border-box;
}

.map-strip {
  background: #fff;
  border-radius: 0;
  width: 100%;
  --map-strip-kpo-w: 779px;
  --map-strip-kpo-h: 100px;
  --map-strip-zaiks-gap: 32px;
  --map-strip-zaiks-pad-y: 20px;
}

.map-strip .site-footer__inner {
  background: #fff;
  padding-left: 0;
  padding-right: 0;
}

.map-strip__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.map-strip__logos {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: var(--map-strip-zaiks-gap);
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
}

.map-strip__logo {
  display: block;
  object-fit: contain;
  max-width: none;
}

.map-strip__logo--kpo {
  /* W:340-779; */
  /* H:44-100; */
  width: var(--map-strip-kpo-w);
  height: var(--map-strip-kpo-h);
}

.map-strip__logo--zaiks {
  width: auto;
  height: calc(var(--map-strip-kpo-h) - (var(--map-strip-zaiks-pad-y) * 2));
}

.map-copy {
  color: #652933;
}

.map-copy__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-weight: 400;
  padding: 10px 50px;
  /* Pt:10-10; */
  /* Pb:10-10; */
  /* Pl:32-50; */
  /* Pr:32-50; */
  min-height: 37px;
  box-sizing: border-box;
}

.map-copy__right {
  display: flex;
  align-items: center;
  gap: 0;
}

.map-copy__right span + a {
  margin-left: 0.25em;
}

.map-copy__right a + span {
  margin-left: 6px;
}

.map-copy__link {
  color: inherit;
  text-decoration: underline;
  text-transform: uppercase;
  font-weight: 500;
}

.map-listing-arrow {
  display: none;
}

@media (max-width: 991px) {
  :root {
    --mobile-pad: clamp(25px, calc(25px + (38) * ((100vw - 390px) / (1530))), 63px);
    --mobile-gap-menu: clamp(34px, calc(34px + (52) * ((100vw - 390px) / (1530))), 86px);
    --mobile-gap-lg: clamp(50px, calc(50px + (76) * ((100vw - 390px) / (1530))), 126px);
    --mobile-gap-sm: clamp(15px, calc(15px + (23) * ((100vw - 390px) / (1530))), 38px);
    --mobile-copy-pad: clamp(20px, calc(20px + (12) * ((100vw - 390px) / (1530))), 32px);
    --mobile-copy-gap: clamp(20px, calc(20px + (12) * ((100vw - 390px) / (1530))), 32px);
    --mobile-copy-font: clamp(12px, calc(12px + (4) * ((100vw - 390px) / (1530))), 16px);
    --mobile-listing-arrow-w: clamp(19.77px, calc(19.77px + (9.78) * ((100vw - 390px) / (1530))), 29.55px);
    --mobile-listing-arrow-h: clamp(19.77px, calc(19.77px + (9.78) * ((100vw - 390px) / (1530))), 29.55px);
    --shell-pad-top: var(--mobile-pad);
    --shell-pad-right: var(--mobile-pad);
    --shell-pad-bottom: var(--mobile-pad);
    --shell-pad-left: var(--mobile-pad);
    --mobile-header-total: calc(var(--mobile-header-h) + var(--mobile-pad) * 2);
    --rail-width: 0px;
  }

  .site-shell {
    grid-template-columns: 1fr;
  }

  .map-home .site-shell {
    --shell-pad-top: 1px;
    padding-top: 1px;
  }

  .mobile-header {
    display: flex;
    margin-bottom: 0;
    position: sticky;
    top: 0;
    z-index: 10001;
    transition: transform 260ms cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
  }

  .mobile-header.is-hidden {
    transform: translateY(calc(-100% - var(--mobile-pad, 25px)));
    pointer-events: none;
  }

  body.menu-active .mobile-header {
    transform: translateY(0);
    pointer-events: auto;
  }

  .map-page {
    height: auto;
    display: block;
  }

  .map-home .map-page {
    height: auto;
  }

  .map-screen {
    min-height: calc(100dvh - var(--shell-pad-top) - var(--shell-pad-bottom) - var(--mobile-header-total) - var(--mobile-map-gap));
    height: auto;
  }

  .map-area {
    min-height: calc(100dvh - var(--shell-pad-top) - var(--shell-pad-bottom) - var(--mobile-header-total) - var(--mobile-map-gap));
    height: auto;
    --map-radius: 20px;
  }

  .map-shell {
    box-shadow: none;
  }

  .map-detail__card {
    box-shadow: none;
  }

  .map-under {
    margin-top: var(--mobile-map-gap);
    background: #B5C6CE;
    border-radius: 20px;
    padding: 20px 18px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
    align-items: start;
    position: relative;
  }

  .map-categories {
    display: contents;
  }

  .map-category {
    flex-direction: column;
    align-items: flex-start;
    gap: 24.5px;
    width: 100%;
  }

  .map-category__label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0 10px;
    height: 22px;
    border-radius: 11px;
    background: #652933;
    color: #fff;
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .map-category[data-category="reception"] .map-category__label {
    background: #242872;
    justify-content: center;
    text-align: center;
  }

  .map-category__label::after {
    display: none;
  }

  .map-category__label-word {
    writing-mode: horizontal-tb;
    transform: none;
    font-size: 14px;
    text-transform: none;
    letter-spacing: -0.4px;
  }

  .map-point-label__inner {
    font-size: 18px;
  }

  .map-category__list {
    flex-direction: column;
    gap: 7px;
    align-items: flex-start;
  }

  .map-category__list li {
    writing-mode: horizontal-tb;
    transform: none;
  }

  .map-category__list button {
    flex-direction: row;
    align-items: baseline;
    gap: 8px;
    transition: font-weight 120ms ease;
  }

  .map-category__list button.is-arrow-active {
    font-family: inherit;
    font-weight: 400;
  }

  .map-category__title {
    position: relative;
    display: inline-block;
  }

  .map-category__title::after {
    content: attr(data-text);
    position: absolute;
    inset: 0;
    font-family: inherit;
    font-weight: 600;
    letter-spacing: inherit;
    text-transform: inherit;
    writing-mode: inherit;
    transform: inherit;
    color: inherit;
    opacity: 0;
    pointer-events: none;
  }

  .map-category__title-text {
    display: inline-block;
  }

  .map-category__list button.is-arrow-active .map-category__title::after {
    opacity: 1;
  }

  .map-category__list button.is-arrow-active .map-category__title-text {
    color: transparent;
  }

  .map-category__num {
    position: relative;
  }

  .map-category__num-text {
    display: inherit;
    justify-content: inherit;
  }

  .map-category__num-bold {
    position: absolute;
    inset: 0;
    display: inherit;
    flex-direction: inherit;
    align-items: inherit;
    gap: inherit;
    justify-content: inherit;
    font-family: inherit;
    font-weight: 600;
    letter-spacing: inherit;
    color: inherit;
    opacity: 0;
    pointer-events: none;
  }

  .map-category__list button.is-arrow-active .map-category__num-bold {
    opacity: 1;
  }

  .map-category__list button.is-arrow-active .map-category__num-text {
    color: transparent;
  }

  .map-listing-arrow {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: var(--mobile-listing-arrow-w, 16px);
    height: var(--mobile-listing-arrow-h, 16px);
    background-image: var(--mobile-listing-arrow-url, url('/wp-content/themes/turulo/images/arrow-listing.svg'));
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    transform: translate(var(--listing-arrow-shift, -50%), -100%);
    --listing-arrow-color: #652933;
    opacity: 0;
    pointer-events: none;
    z-index: 3;
    transition: left 180ms ease, top 180ms ease, opacity 120ms ease;
  }

  .map-listing-arrow.is-visible {
    opacity: 1;
  }

  @supports ((-webkit-mask-image: url("")) or (mask-image: url(""))) {
    .map-listing-arrow {
      background-image: none;
      background-color: var(--listing-arrow-color, #652933);
      -webkit-mask-image: var(--mobile-listing-arrow-url, url('/wp-content/themes/turulo/images/arrow-listing.svg'));
      mask-image: var(--mobile-listing-arrow-url, url('/wp-content/themes/turulo/images/arrow-listing.svg'));
      -webkit-mask-size: contain;
      mask-size: contain;
      -webkit-mask-repeat: no-repeat;
      mask-repeat: no-repeat;
      -webkit-mask-position: center;
      mask-position: center;
    }
  }

  .map-category__num,
  .map-category__num--stack {
    position: relative;
    height: auto;
    display: inline-flex;
    flex-direction: row;
    gap: 0;
    transform: none;
    order: -1;
    min-width: 2ch;
    justify-content: flex-end;
    font-variant-numeric: tabular-nums;
  }

  .map-category__num-text > span,
  .map-category__num-bold > span {
    position: static;
    transform: none;
    display: inline-block;
    width: 1ch;
    text-align: right;
  }

  .map-category__num--stack .map-category__num-text > span,
  .map-category__num--stack .map-category__num-bold > span {
    position: static;
    transform: none;
  }

  .map-category__title {
    writing-mode: horizontal-tb;
    transform: none;
    text-transform: none;
  }

  .map-active-dot {
    display: none;
  }

  .map-text__scroll-indicator {
    display: none;
  }

  .map-audio {
    display: none;
  }

  .map-side {
    display: none;
  }

  .site-rail {
    display: none;
  }

  .site-rail__menu .menu {
    --menu-gap: 40px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--menu-gap);
    font-size: 18px;
  }

  .site-rail__menu .menu > li {
    writing-mode: horizontal-tb;
    transform: none;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    font-size: 18px;
    font-weight: 400;
  }

  .site-rail__access {
    margin-top: 15.6px;
    width: 25px;
    height: 25px;
  }

  .site-rail__lang {
    margin-top: 0;
    flex-direction: row;
    gap: 0;
    font-size: 14px;
  }

  .site-rail__menu {
    margin-top: 50px;
  }

  .site-rail__divider {
    width: 1px;
    height: 100%;
    margin: 0 20px;
  }

  .site-rail__access img {
    width: 25px;
    height: 25px;
  }

  .site-footer__inner {
    padding-left: var(--shell-pad-left);
    padding-right: var(--shell-pad-right);
  }

  .map-strip {
    position: relative;
    z-index: 10002;
  }

  .map-strip .site-footer__inner {
    position: relative;
    z-index: 1;
  }

  .map-strip__inner {
    height: auto;
    padding: 7px 25px;
  }

  .map-copy__inner {
    flex-direction: column;
    gap: 20px;
    font-size: 12px;
    padding: 20px 32px;
    min-height: auto;
    text-align: center;
  }

  .map-copy__right {
    justify-content: center;
    flex-wrap: wrap;
  }

  .single .site-shell {
    --shell-pad-top: 0px;
    padding-top: 0;
  }

  .single-entry {
    padding: 0;
    color: #f2eee5;
  }

  .single-entry__card {
    background: var(--category-color, #652933);
    border-radius: 20px;
    /* P:20-20; */
    padding: 20px;
    box-shadow: 0 18px 50px rgba(0,0,0,0.12);
  }

  .single .single-entry__featured {
    /* M:0-0 0; */
    margin: 0;
    border-radius: 14px;
    overflow: hidden;
  }

  .single .single-entry__featured img {
    display: block;
    width: 100%;
    height: auto;
  }

  .single .single-entry__featured--video {
    aspect-ratio: 284 / 341;
  }

  .single .single-entry__featured--video video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .single .single-entry__content {
    /* F:12-16; */
    font-size: 16px;
    font-weight: 400;
    color: #f2eee5;
  }

  .single .single-entry__gallery {
    /* M:27-68 0; */
    margin: clamp(27px, calc(27px + (41) * ((100vw - 390px) / (1530))), 68px) 0;
    display: grid;
    justify-items: stretch;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
    position: relative;
  }

  .single .single-entry__slider-wrap {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    overflow: visible;
    box-sizing: border-box;
    padding-left: 12px;
    padding-right: 12px;
    --single-entry-gallery-pad: 12px;
  }

  .single .single-entry__slider {
    /* W:284-464; */
    width: 100%;
    max-width: 100%;
    aspect-ratio: 284 / 341;
    position: relative;
    margin: 0 auto;
    overflow: hidden;
    box-sizing: border-box;
  }

  .single .single-entry__slider .swiper-slide {
    /* P:0 0-0; */
    padding: 0;
    box-sizing: border-box;
  }

  .single .single-entry__slider .swiper-wrapper,
  .single .single-entry__slider .swiper-slide {
    min-width: 0;
  }

  .single .single-entry__slider img,
  .single .single-entry__slider video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    display: block;
    object-position: center;
  }

  .single .single-entry__arrow {
    --single-entry-arrow-size: clamp(24px, calc(24px + (8) * ((100vw - 390px) / (1530))), 32px);
    position: absolute;
    top: 50%;
    background: none;
    border: none;
    color: #f2eee5;
    /* W:24-32; */
    width: var(--single-entry-arrow-size);
    /* H:24-32; */
    height: var(--single-entry-arrow-size);
    padding: 0;
    cursor: pointer;
    z-index: 2;
  }

  .single .single-entry__arrow--prev {
    left: 0;
    transform: translate(-65%, -50%);
  }

  .single .single-entry__arrow--next {
    right: 0;
    transform: translate(65%, -50%);
  }

  .single .single-entry__arrow--prev::before,
  .single .single-entry__arrow--next::after {
    font-size: var(--single-entry-arrow-size);
  }

  .single .single-entry__arrow--prev::before {
    content: "‹";
  }

  .single .single-entry__arrow--next::after {
    content: "›";
  }

  .single .single-entry__caption {
    /* F:12-12; */
    font-size: 16px;
    font-style: italic;
    font-weight: 400;
    text-align: center;
    color: #f2eee5;
    margin-top: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(-4px);
    transition: max-height 260ms cubic-bezier(0.4, 0, 0.2, 1), opacity 180ms ease, transform 260ms cubic-bezier(0.4, 0, 0.2, 1), margin-top 260ms cubic-bezier(0.4, 0, 0.2, 1);
  }

  .single .single-entry__caption:not(.is-empty) {
    margin-top: var(--mobile-gap-sm);
    max-height: var(--single-entry-caption-h, 0px);
    opacity: 1;
    transform: translateY(0);
  }

  .single .single-entry__caption.is-empty {
    margin-top: 0;
    max-height: 0;
    opacity: 0;
    transform: translateY(-4px);
  }

  .single .single-entry__dots {
    display: flex;
    gap: 7px;
    justify-content: center;
    margin-top: var(--mobile-gap-sm);
    margin-bottom: 0;
  }

  .single-entry__dots .swiper-pagination-bullet {
    /* W:10-10; */
    width: 10px;
    /* H:10-10; */
    height: 10px;
    border-radius: 999px;
    border: 1px solid #f2eee5;
    background: transparent;
    opacity: 1;
    margin: 0 !important;
  }

  .single-entry__dots .swiper-pagination-bullet-active {
    background: #f2eee5;
  }

  .single-entry__bar-wrap {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* G:15-15; */
    gap: 15px;
    pointer-events: none;
    z-index: 9999;
  }

  .single-entry__frame {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9998;
  }

  .site-mobile-frame {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9998;
  }

  .site-mobile-frame::before {
    content: "";
    position: absolute;
    left: var(--shell-pad-left);
    right: var(--shell-pad-right);
    top: var(--mobile-header-total, 0px);
    bottom: 0;
    border-radius: 20px;
    box-shadow: 0 0 0 9999px #f2eee5;
    transition: top 260ms cubic-bezier(0.4, 0, 0.2, 1);
  }

  .mobile-header.is-hidden ~ .site-shell .site-mobile-frame::before {
    top: 20px;
  }

  body.menu-active .site-shell .site-mobile-frame::before {
    top: var(--mobile-header-total, 0px);
  }

  body.menu-active .mobile-header.is-hidden ~ .site-shell .site-mobile-frame::before {
    top: var(--mobile-header-total, 0px);
  }

  .single-entry__frame::before {
    content: "";
    position: absolute;
    left: var(--shell-pad-left);
    right: var(--shell-pad-right);
    top: var(--mobile-header-total, 0px);
    bottom: var(--single-bar-h, 0px);
    border-radius: 20px;
    box-shadow: 0 0 0 9999px #f2eee5;
    transition: top 260ms cubic-bezier(0.4, 0, 0.2, 1);
  }

  .mobile-header.is-hidden ~ .site-shell .single-entry__frame::before {
    top: 20px;
  }

  body.menu-active .site-shell .single-entry__frame::before {
    top: var(--mobile-header-total, 0px);
  }

  body.menu-active .mobile-header.is-hidden ~ .site-shell .single-entry__frame::before {
    top: var(--mobile-header-total, 0px);
  }

  .single-entry__to-top {
    /* W:33-33; */
    width: 33px;
    /* H:48-48; */
    height: 48px;
    border-radius: 17px;
    background: #f2eee5;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    pointer-events: auto;
  }

  .single-entry__to-top span {
    width: 8px;
    height: 8px;
    border-left: 2px solid var(--category-color, #652933);
    border-top: 2px solid var(--category-color, #652933);
    transform: rotate(45deg);
  }

  .single-entry__bar {
    width: 100%;
    background: #f2eee5;
    color: var(--category-color, #652933);
    /* Pt:20-20; */
    padding-top: 20px;
    padding-right: var(--shell-pad-right);
    /* Pb:40-40; */
    padding-bottom: 40px;
    padding-left: var(--shell-pad-left);
    pointer-events: auto;
    box-sizing: border-box;
    position: relative;
    overflow: visible;
    border-radius: 0;
  }

  .single-entry__bar-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    /* F:22-22; */
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--category-color, #652933);
  }

  .single-entry__bar-dot {
    /* W:10-10; */
    width: 10px;
    /* H:10-10; */
    height: 10px;
    border-radius: 999px;
    background: var(--category-color, #652933);
    flex: 0 0 auto;
  }

  .single-entry__bar-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* G:20-20; */
    gap: 20px;
    /* M:20-20 0 0; */
    margin: 20px 0 0;
    /* F:18-18; */
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
  }

  .single-entry__bar-link {
    color: #f2eee5;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--category-color, #652933);
  }

  .single-entry__bar-link--prev::before {
    content: "‹";
  }

  .single-entry__bar-link--next::after {
    content: "›";
  }
}

@media (max-width: 991px) {
  .single-entry__bar-wrap {
    left: 0;
    right: 0;
  }
}

.single-entry__content {
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
  hyphens: auto;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.single-entry__content p {
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
  hyphens: auto;
  max-width: 100%;
  min-width: 0;
  display: block;
}

.single-entry__content a,
.single-entry__content a:visited {
  color: #B5C6CE;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.12em;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.single-entry__content * {
  max-width: 100%;
  box-sizing: border-box;
}

.single-entry__content img,
.single-entry__content video,
.single-entry__content iframe,
.single-entry__content table {
  max-width: 100%;
}

.single-entry__content img,
.single-entry__content video {
  height: auto;
}

.single-entry__content .wp-block-gallery,
.single-entry__content .wp-block-gallery.has-nested-images,
.single-entry__content .blocks-gallery-grid,
.single-entry__content .gallery {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-left: 0;
  margin-right: 0;
  box-sizing: border-box;
}

.single-entry__content .wp-block-gallery .wp-block-image,
.single-entry__content .blocks-gallery-item,
.single-entry__content .gallery-item {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.single-entry__content .wp-block-gallery img,
.single-entry__content .wp-block-gallery .wp-block-image img,
.single-entry__content .blocks-gallery-grid img,
.single-entry__content .blocks-gallery-item img,
.single-entry__content .gallery img,
.single-entry__content .gallery-item img {
  display: block;
  width: 100% !important;
  max-width: 100%;
  height: auto !important;
}

.single-entry__content .alignfull,
.single-entry__content .alignwide {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.single-entry__content pre {
  max-width: 100%;
  overflow-x: auto;
}

.single-entry__card {
  min-width: 0;
  max-width: 100%;
}

.single-entry {
  min-width: 0;
}

.single-entry__bar {
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  overflow: hidden;
}

@media (max-width: 991px) {
  .single-entry__bar {
    border-radius: 0;
    overflow: visible;
  }
}

.single-entry__link {
  overflow-wrap: anywhere;
  word-break: break-all;
  max-width: 100%;
  display: inline-block;
}

.single-entry__person-link {
  cursor: pointer;
}

.person-popup__veil {
  position: absolute;
  inset: 0;
  border: none;
  margin: 0;
  padding: 0;
  background: #f2eee5;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
  z-index: 30;
}

.person-popup__veil.is-open {
  opacity: 0.35;
  pointer-events: auto;
}

.person-popup {
  --person-popup-accent: var(--category-color, #652933);
  --person-popup-pad: clamp(24px, calc(24px + (16) * ((100vw - 390px) / (1530))), 40px);
  --person-popup-image: clamp(170px, calc(170px + (71) * ((100vw - 390px) / (1530))), 241px);
  --person-popup-gap: clamp(18px, calc(18px + (7) * ((100vw - 390px) / (1530))), 25px);
  background: #b5c6ce;
  border-radius: 20px;
  box-shadow: 0 3px 6px #00000029;
  color: var(--person-popup-accent);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.person-popup.is-open {
  opacity: 1;
  transform: translateY(0);
}

.person-popup__close {
  border: none;
  background: transparent;
  color: var(--person-popup-accent);
  font-size: clamp(28px, calc(28px + (6) * ((100vw - 390px) / (1530))), 34px);
  padding: 0;
  cursor: pointer;
  font-family: "galix-mono", sans-serif;
}

.person-popup__close--bottom {
  display: none;
}

.map-text .person-popup--desktop {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 35;
  padding: var(--person-popup-pad);
  display: flex;
  flex-direction: column;
  gap: var(--person-popup-gap);
  max-height: 100%;
}

.person-popup--desktop .person-popup__close--top {
  position: absolute;
  top: 19px;
  right: 19px;
  width: 21.33px;
  height: 21.33px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-size: 0;
  line-height: 0;
  color: transparent;
}

.person-popup--desktop .person-popup__close--top::before,
.person-popup--desktop .person-popup__close--top::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(100% * 1.4142);
  height: 2px;
  background: var(--person-popup-accent);
  transform-origin: center;
}

.person-popup--desktop .person-popup__close--top::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.person-popup--desktop .person-popup__close--top::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.person-popup__head {
  display: grid;
  grid-template-columns: var(--person-popup-image) minmax(0, 1fr);
  gap: clamp(18px, calc(18px + (14) * ((100vw - 390px) / (1530))), 32px);
  align-items: end;
}

.person-popup__image-wrap {
  width: var(--person-popup-image);
  height: var(--person-popup-image);
  border-radius: 20px;
  border: 1px solid var(--person-popup-accent);
  overflow: hidden;
  background: rgba(242, 238, 229, 0.3);
}

.person-popup__image-wrap.is-empty {
  display: none;
}

.person-popup__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.person-popup__name {
  margin: 0;
  padding-bottom: 0;
  color: var(--person-popup-accent);
  font-size: clamp(20px, calc(20px + (4) * ((100vw - 390px) / (1530))), 24px);
}

.person-popup__desc-wrap {
  position: relative;
  min-height: 0;
  height: clamp(120px, 24vh, 230px);
  color: var(--person-popup-accent);
}

.person-popup__desc {
  color: var(--person-popup-accent);
  font-size: clamp(15px, calc(15px + (1) * ((100vw - 390px) / (1530))), 16px);
  overflow-y: auto;
  min-height: 0;
  height: 100%;
  padding-right: 22px;
  scrollbar-width: none;
}

.person-popup__desc::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.person-popup__scroll-indicator {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 15px;
  display: flex;
  align-items: stretch;
  justify-content: center;
  pointer-events: none;
  color: var(--person-popup-accent);
}

.person-popup__scroll-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: currentColor;
}

.person-popup__scroll-dot {
  position: absolute;
  top: 0;
  width: 15px;
  height: 15px;
  border-radius: 999px;
  background: currentColor;
  transform: translateY(0);
  transition: transform 0.08s linear;
}

.person-popup__desc p:first-child {
  margin-top: 0;
}

.person-popup__desc p:last-child {
  margin-bottom: 0;
}

.person-popup-mobile-shell {
  position: fixed;
  left: var(--shell-pad-left);
  right: var(--shell-pad-right);
  top: var(--person-popup-mobile-top, 0px);
  bottom: calc(var(--single-bar-h, 0px) + env(safe-area-inset-bottom, 0px));
  z-index: 9997;
  pointer-events: none;
}

.person-popup-mobile-shell .person-popup--mobile {
  position: absolute;
  inset: 0;
  pointer-events: auto;
  z-index: 1;
}

@media (max-width: 991px) {
  .person-popup__close--top {
    display: none;
  }

  .person-popup__close--bottom {
    display: inline-flex;
    align-self: center;
    justify-content: center;
    margin-top: 10px;
  }

  .person-popup-mobile-shell .person-popup--mobile {
    --person-popup-pad-y: clamp(15px, calc(15px + (8) * ((100vw - 390px) / (1530))), 23px);
    --person-popup-pad-x: clamp(17px, calc(17px + (10) * ((100vw - 390px) / (1530))), 27px);
    inset: 0;
    padding: var(--person-popup-pad-y) var(--person-popup-pad-x);
    display: flex;
    flex-direction: column;
    gap: 0;
    border-radius: 20px;
  }

  .person-popup-mobile-shell .person-popup__head {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .person-popup-mobile-shell .person-popup__image-wrap {
    width: 100%;
    height: auto;
    aspect-ratio: 306 / 303;
    border-radius: 20px;
    margin: 0;
  }

  .person-popup-mobile-shell .person-popup__name {
    margin-top: clamp(24px, calc(24px + (6) * ((100vw - 390px) / (1530))), 30px);
    padding-bottom: 0;
    width: 100%;
    font-size: 18px;
    text-align: center;
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: normal;
  }

  .person-popup-mobile-shell .person-popup__desc-wrap {
    margin-top: clamp(20px, calc(20px + (5) * ((100vw - 390px) / (1530))), 25px);
    flex: 1 1 auto;
    min-height: 0;
    height: auto;
  }

  .person-popup-mobile-shell .person-popup__desc {
    margin-top: 0;
    height: 100%;
    min-height: 0;
    padding-right: 0;
    font-size: clamp(15px, calc(15px + (1) * ((100vw - 390px) / (1530))), 16px);
  }

  .person-popup-mobile-shell .person-popup__scroll-indicator {
    display: none;
  }

  .person-popup-mobile-shell .person-popup__close--bottom {
    width: 12.48px;
    height: 12.48px;
    min-width: 12.48px;
    min-height: 12.48px;
    padding: 0;
    font-size: 0;
    line-height: 0;
    color: transparent;
    position: relative;
  }

  .person-popup-mobile-shell .person-popup__close--bottom::before,
  .person-popup-mobile-shell .person-popup__close--bottom::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: calc(100% * 1.4142);
    height: 1.6px;
    background: var(--person-popup-accent);
    transform-origin: center;
  }

  .person-popup-mobile-shell .person-popup__close--bottom::before {
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .person-popup-mobile-shell .person-popup__close--bottom::after {
    transform: translate(-50%, -50%) rotate(-45deg);
  }

}

@media (min-width: 992px) {
  .map-text .person-popup--desktop {
    /*
      Proporcje referencyjne (desktop 1920):
      szerokość 698, wysokość 526,
      padding góra/dół 40, odstęp 25, opis 180, blok foto+tytuł 241.
    */
    --person-popup-right-edge: 28px;
    --person-popup-design-w: clamp(380px, 36.3542vw, 698px);
    --person-popup-pad-x: 5.73%;
    --person-popup-pad-y: 5.73%;
    --person-popup-col-gap: clamp(14px, 1.3021vw, 25px);
    --person-popup-image-size: clamp(150px, 9.5313vw, 183px);
    aspect-ratio: 698 / 526;
    width: min(calc(100% - var(--person-popup-right-edge)), var(--person-popup-design-w));
    height: auto;
    max-height: 100%;
    left: auto;
    right: var(--person-popup-right-edge);
    padding: var(--person-popup-pad-y) var(--person-popup-pad-x);
    row-gap: clamp(14px, 1.3021vw, 25px);
    column-gap: 0;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    align-content: stretch;
  }

  .map-text .person-popup--desktop .person-popup__close--top {
    top: 19px;
    right: 19px;
  }

  .map-text .person-popup--desktop .person-popup__head {
    display: grid;
    height: 100%;
    min-height: 0;
    grid-template-columns: var(--person-popup-image-size) minmax(0, 1fr);
    column-gap: var(--person-popup-col-gap);
    align-items: end;
  }

  .map-text .person-popup--desktop .person-popup__image-wrap {
    width: var(--person-popup-image-size);
    height: var(--person-popup-image-size);
    aspect-ratio: auto;
    max-width: 100%;
  }

  .map-text .person-popup--desktop .person-popup__name {
    min-width: 0;
    align-self: end;
    padding-bottom: 0;
    font-size: clamp(20px, 1.25vw, 24px);
  }

  .map-text .person-popup--desktop .person-popup__desc-wrap {
    margin: 0;
    flex: 1 1 auto;
    height: 100%;
    min-height: 0;
    max-height: none;
  }

  .map-text .person-popup--desktop .person-popup__desc {
    margin: 0;
    height: 100%;
    min-height: 0;
    max-height: none;
    font-size: clamp(14px, 0.833vw, 16px);
  }
}
