/*-----------------------------------------------------------
Podstawowy styl (dla najmniejszych ekranów) - mobile-first 
------------------------------------------------------------*/

@media (max-width: 991px){



h1{
		letter-spacing: 2.4px;
}

h2,
h3 {
		letter-spacing: 1.12px;
}


.header-wrapper{
  position: fixed;
}

.header{
  grid-template-columns: 1fr 45px;
  padding: 0 12px;
}

.header .col-right{
  display: block;
}

.page-template-page-onas .site-shell,
.page-template-page-onas-php .site-shell,
.page-template-page-kontakt .site-shell,
.page-template-page-kontakt-php .site-shell,
.page-template-page-o-projekcie .site-shell,
.page-template-page-o-projekcie-php .site-shell {
  padding-top: 0;
}

.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 {
  padding-top: 25px;
  padding-bottom: 15px;
  padding-left: 17px;
  padding-right: 17px;
}

.header .menu-desktop{
  display: none;
}

.menu-mobile{
  display: block ;
}

/*-----------------------------------------------------------
Overlay menu
-------------------------------------------------------------*/

.overlay-section {
    display: flex;
    align-items: stretch;
    top: var(--mobile-header-total);
    left: 0;
    z-index: 10000;
    width: 100%;
    height: calc((var(--vh, 1vh) * 100) - var(--mobile-header-total));
    transition: transform 0.6s cubic-bezier(.77,0,.175,1);
    position: fixed;
    overflow: hidden;
    background-color: #F2EEE5;
    flex-direction: column;
    transform: translateX(-100%);
}

.overlay-section.active {  
	transform: translateX(0);
}

.overlay-section .section-width {
    width: 100%;
    margin: 0;
    height: 100%;
    display: flex;
    padding: 0 var(--mobile-pad) var(--mobile-pad);
    box-sizing: border-box;
}

.overlay-section .section-content {
  padding: 0;
	visibility: hidden;
	opacity: 0;
	position: relative;
	transition: all 1s;
	transition-timing-function: ease;
	text-align: left;
  margin: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow-y: auto;
}

.overlay-section .section-content.active {
	visibility: visible;
	opacity: 1;
}

.overlay-section .mobile-drawer {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.overlay-section .mobile-drawer__categories {
  width: 100%;
  margin-bottom: 0;
}

.overlay-section .mobile-drawer__categories:empty {
  display: none;
  margin-bottom: 0;
}

.overlay-section .mobile-drawer__menu {
  width: 100%;
  margin-top: var(--mobile-gap-menu);
  align-self: center;
}

.overlay-section .mobile-drawer__access {
  margin-top: var(--mobile-gap-lg);
  align-self: center;
}

.overlay-section .mobile-drawer__lang {
  margin-top: var(--mobile-gap-sm);
  align-self: center;
}

.overlay-section .map-under {
  margin-top: 0;
}

.overlay-section .map-under[data-map-clone] .map-side {
  display: none;
}

.overlay-section .site-rail__menu {
  margin-top: 0;
}

.overlay-section .site-rail__menu .menu {
  --menu-gap: 20px;
  align-items: center;
  text-align: center;
  width: 100%;
}

.overlay-section .site-rail__menu.mobile-drawer__menu {
  margin-top: var(--mobile-gap-menu);
}

.overlay-section .site-rail__menu .menu > li {
  justify-content: center;
  text-align: center;
  width: 100%;
}

.overlay-section .site-rail__divider {
  margin: 0 10px;
}






/* Overlay Menu */

.overlay-section ul.mobile-menu,
.overlay-section ul.mobile-menu li ul{
    margin: 0;
    padding-left: 0;
    list-style: none;
    display: grid;
    gap: 30px;
}

/* Pierwszy poziom */

.overlay-section ul.mobile-menu li,
.overlay-section ul.mobile-menu li a {
    color: black;
    font-size: 60px;
    font-style: normal;
    font-weight: 600;
    letter-spacing: 2.4px;
}

.overlay-section ul.mobile-menu li.menu-item-has-children a{
    position: relative;
}

.overlay-section ul.mobile-menu li.menu-item-has-children a:before{
    content: '';
    width: 14px;
    height: 9px;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%) rotate(0deg);
    background-image: url('/wp-content/themes/turulo/images/arrow-mobile.png');
    background-size: contain;
    background-repeat: no-repeat;
    transition: .5s;
}

.overlay-section ul.mobile-menu li.menu-item-has-children.active a:before{
    transform: translateY(-50%) rotate(180deg);
}




.overlay-section .overlay-content {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid black;
}

.overlay-section .overlay-content p{
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.96px;
  margin-bottom: 40px;
}

.overlay-section .overlay-content img{
  max-width: 100%;
}


.footer-wrapper{
  height: 100%;
}


body.home {
  padding-top: 0;
}

.map-copy__inner {
  flex-direction: column;
  align-items: center;
  gap: var(--mobile-copy-gap);
  font-size: var(--mobile-copy-font);
  padding: var(--mobile-copy-pad) 0;
  min-height: auto;
  text-align: center;
}

.map-copy__left {
  order: 2;
}

.map-copy__right {
  order: 1;
  justify-content: center;
  flex-wrap: nowrap;
  white-space: nowrap;
}
  







#hero.section {
  height: 133.33vw;
}

#hero.section .section-width {
  height: 100%;
}


#hero.section .title-wrapper h1 {
    letter-spacing: 2.4px;
}

.title-wrapper h1 br{
  display: none;
}

.button-slider{
  display: none;
}












































/* Sekcja 6 */







/* Sekcja 7 */


/* Sekcja 8 */























/* Powłoki ceramiczne */






/* Bezbarwne folie ochronne */








/* Renowacja lakieru */








































/* Usługi dodatkowe */





























































































































/* FOOTER */

#footer .CTA .text-editor-1,
#footer .CTA .text-editor-2 {
  font-size: 52px;
}

#footer .CTA .text-editor-2 .arrow{
  left: -42vw;
  transform: translateY(0px);
}

#footer .CTA .text-editor-2 .arrow img{
  left: -16px;
}

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


#footer .editors {
    display: flex;
    flex-direction: column;
}

#footer .CTA .text-editor-1{
  margin-bottom: 20px;
}

#footer .CTA .text-editor-1, 
#footer .CTA .text-editor-2{
  letter-spacing: 2.08px;
}


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

#footer .copyright {
  justify-content: space-between;
  align-items: center;
}







.single .single-entry__slider-wrap,
.single .single-entry__slider,
.single .single-entry__slider .swiper-wrapper,
.single .single-entry__slider .swiper-slide {
  min-width: 0;
  max-width: 100%;
}

.single .single-entry__slider {
  width: 100% !important;
}

.single .single-entry__arrow {
  --single-entry-arrow-size: clamp(28.8px, calc(28.8px + (9.6) * ((100vw - 390px) / (1530))), 38.4px);
  width: var(--single-entry-arrow-size);
  height: var(--single-entry-arrow-size);
}

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

.single .single-entry__gallery {
  --single-entry-gallery-pad: clamp(12px, calc(12px + (8) * ((100vw - 390px) / (1530))), 20px);
  --single-entry-gallery-gap: 15px;
  --single-entry-gallery-bottom-gap: clamp(27px, calc(27px + (41) * ((100vw - 390px) / (1530))), 68px);
  margin-top: clamp(27px, calc(27px + (41) * ((100vw - 390px) / (1530))), 68px);
  margin-bottom: var(--single-entry-gallery-bottom-gap);
  gap: 0;
}

.single .single-entry__slider-wrap {
  padding-left: var(--single-entry-gallery-pad);
  padding-right: var(--single-entry-gallery-pad);
}

.single .single-entry__caption {
  margin-top: 0;
  width: 100%;
  text-align: left;
  padding-left: var(--single-entry-gallery-pad);
  padding-right: var(--single-entry-gallery-pad);
  box-sizing: border-box;
}

.single .single-entry__caption:not(.is-empty) {
  margin-top: var(--single-entry-gallery-gap);
}

.single .single-entry__dots {
  margin-top: var(--single-entry-gallery-gap);
  width: 100%;
  padding-left: var(--single-entry-gallery-pad);
  padding-right: var(--single-entry-gallery-pad);
  box-sizing: border-box;
}

.single .single-entry__bar {
  padding-top: 13px;
  padding-left: 25px;
  padding-right: 25px;
}

.single .single-entry__card {
  padding-bottom: 50px;
}

.single .single-entry__to-top {
  position: fixed;
  right: calc(var(--shell-pad-right) + 13px);
  bottom: calc(var(--single-bar-h, 0px) + 13px);
  margin: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.single .single-entry__to-top span {
  display: block;
  box-sizing: border-box;
  transform: translate(-0.6px, 1.6px) rotate(45deg);
}

.single .single-entry__bar-title {
  gap: 5px;
  font-size: clamp(22px, calc(22px + (6) * ((100vw - 390px) / (1530))), 28px);
}

.single .single-entry__bar-dot {
  width: 5px;
  height: 5px;
}

.single .single-entry__bar-nav {
  margin-top: 10px;
  font-size: clamp(18px, calc(18px + (4) * ((100vw - 390px) / (1530))), 22px);
  font-family: "galix-mono", sans-serif;
  font-weight: 500;
}

.single .single-entry__bar-link {
  --single-bar-link-pad-outer: 11px;
  --single-bar-link-pad-inner: 16px;
  min-height: 33px;
  border-radius: 17px;
  padding-top: 0;
  padding-bottom: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  font-family: "galix-mono", sans-serif;
  font-weight: 500;
  font-size: inherit;
}

.single .single-entry__bar-link--prev {
  padding-left: var(--single-bar-link-pad-outer);
  padding-right: var(--single-bar-link-pad-inner);
}

.single .single-entry__bar-link--next {
  padding-left: var(--single-bar-link-pad-inner);
  padding-right: var(--single-bar-link-pad-outer);
}

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

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

.single .single-entry__bar-link--prev::before,
.single .single-entry__bar-link--next::after {
  font-size: 1.43em;
  display: inline-flex;
  width: 0.782em;
  height: 0.595em;
  flex: 0 0 0.782em;
  align-items: center;
  justify-content: center;
  transform: translateY(0);
}

@supports ((-webkit-mask-image: url("")) or (mask-image: url(""))) {
  .single .single-entry__bar-link--prev::before,
  .single .single-entry__bar-link--next::after {
    content: "";
    background-color: currentColor;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
  }

  .single .single-entry__bar-link--prev::before {
    -webkit-mask-image: url("/wp-content/themes/turulo/images/bar-double-left.svg");
    mask-image: url("/wp-content/themes/turulo/images/bar-double-left.svg");
  }

  .single .single-entry__bar-link--next::after {
    -webkit-mask-image: url("/wp-content/themes/turulo/images/bar-double-right.svg");
    mask-image: url("/wp-content/themes/turulo/images/bar-double-right.svg");
  }
}

.single .site-shell {
  --shell-pad-bottom: 0px;
  padding-bottom: 0 !important;
}

.single .site-main {
  padding-bottom: calc(var(--single-bar-h, 0px) + env(safe-area-inset-bottom, 0px));
}

.single .site-footer {
  display: none;
}

.d-none{
  display: none;
}

.m-see{
  display: block;
}






}

@media (min-width: 523px) and (max-width: 991px){
  
#footer .CTA .text-editor-2 .arrow{
  left: 0;
}

#footer .CTA .text-editor-2 .arrow,
#footer .CTA .text-editor-2 .arrow img{
  width: 60px;
  height: 40px;
}


}

@media (min-width: 992px){

  .grid-wrapper{
    display: block;
    width: 100%;
    height: var(--porownanie-grid-h);
    position: absolute;
    top: 0;
    left: 0;
  }

  .grid-wrapper .line{
    width: 100%;
    border-bottom: 1px solid black;
  }

  .grid-wrapper .line:last-child{
    border-bottom: none;
  }

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

  .page-template-page-onas .site-shell__content,
  .page-template-page-onas-php .site-shell__content {
    --onas-shell-pad-left: clamp(17px, calc(17px + (318) * ((100vw - 390px) / (1530))), 335px);
    --onas-shell-pad-right: clamp(17px, calc(17px + (257) * ((100vw - 390px) / (1530))), 274px);
    padding-left: var(--onas-shell-pad-left);
    padding-right: var(--onas-shell-pad-right);
  }

  .page-template-page-onas #page-tekst .page-onas-shell__inner,
  .page-template-page-onas-php #page-tekst .page-onas-shell__inner {
    max-width: 1169px;
  }


}

@media (min-width: 1301px) and (max-width: 1920px) {
  .site-shell {
    /* Scale top/left paddings and right rail lane proportionally from 1920px down to 1300px. */
    --shell-pad-top: clamp(
      var(--shell-pad-bottom),
      calc(var(--shell-pad-bottom) + (32) * ((100vw - 1300px) / (620))),
      72px
    );
    --shell-pad-left: clamp(
      var(--shell-pad-bottom),
      calc(var(--shell-pad-bottom) + (32) * ((100vw - 1300px) / (620))),
      72px
    );
    /* Keep right shell padding at 0; the menu rail is the right-side spacing. */
    --shell-pad-right: 0px;
    --rail-width: clamp(
      calc(var(--shell-pad-bottom) * 1.15),
      calc((var(--shell-pad-bottom) + (32) * ((100vw - 1300px) / (620))) * 1.15),
      82.8px
    );
  }
}

@media (min-width: 992px) and (max-width: 1300px) {
  .site-shell {
    --mid-shell-pad: clamp(20px, calc(20px + (4) * ((100vw - 992px) / (308))), 24px);
    --shell-pad-left: var(--mid-shell-pad);
    --shell-pad-right: var(--mid-shell-pad);
    --rail-width: 0px;
    --content-pad-right: var(--shell-pad-right);
    --mid-desktop-controls-h: 41px;
    padding-top: var(--shell-pad-top);
    padding-right: var(--shell-pad-right);
    padding-bottom: var(--shell-pad-bottom);
    padding-left: var(--shell-pad-left);
    grid-template-columns: 1fr;
    position: relative;
  }

  .site-rail {
    position: absolute;
    left: var(--shell-pad-left);
    right: var(--shell-pad-right);
    top: calc((var(--shell-pad-top) - var(--mid-desktop-controls-h)) / 2);
    width: auto;
    height: var(--mid-desktop-controls-h);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    z-index: 25;
    pointer-events: auto;
  }

  .page-template-page-onas .site-rail__brand,
  .page-template-page-onas-php .site-rail__brand,
  .page-template-page-kontakt .site-rail__brand,
  .page-template-page-kontakt-php .site-rail__brand,
  .page-template-page-o-projekcie .site-rail__brand,
  .page-template-page-o-projekcie-php .site-rail__brand,
  .map-home .site-rail__brand {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    margin-right: auto;
    line-height: 0;
  }

  .map-home .map-logo {
    display: none;
  }

  .map-home .map-under .map-side {
    min-width: 0;
    align-self: stretch;
  }

  .map-home .map-under .map-audio {
    position: static;
    top: auto;
    right: auto;
    z-index: auto;
    margin-top: auto;
  }

  .map-home .map-under .map-audio__btn {
    width: 26px;
    height: 26px;
    min-width: 26px;
    min-height: 26px;
    max-width: 26px;
    max-height: 26px;
    flex: 0 0 26px;
  }

  .map-home .map-under .map-audio__icon {
    border-width: 6px 0 6px 9px;
  }

  .map-home .map-under .map-audio__btn.is-playing .map-audio__icon {
    width: 8px;
    height: 10px;
  }

  .map-home .map-under .map-audio__btn.is-playing .map-audio__icon::before,
  .map-home .map-under .map-audio__btn.is-playing .map-audio__icon::after {
    width: 2px;
    height: 10px;
  }

  .page-template-page-onas .site-rail__brand .custom-logo-link,
  .page-template-page-onas-php .site-rail__brand .custom-logo-link,
  .page-template-page-kontakt .site-rail__brand .custom-logo-link,
  .page-template-page-kontakt-php .site-rail__brand .custom-logo-link,
  .page-template-page-o-projekcie .site-rail__brand .custom-logo-link,
  .page-template-page-o-projekcie-php .site-rail__brand .custom-logo-link,
  .map-home .site-rail__brand .custom-logo-link {
    display: block;
    line-height: 0;
  }

  .page-template-page-onas .site-rail__brand .custom-logo-link img.custom-logo,
  .page-template-page-onas-php .site-rail__brand .custom-logo-link img.custom-logo,
  .page-template-page-kontakt .site-rail__brand .custom-logo-link img.custom-logo,
  .page-template-page-kontakt-php .site-rail__brand .custom-logo-link img.custom-logo,
  .page-template-page-o-projekcie .site-rail__brand .custom-logo-link img.custom-logo,
  .page-template-page-o-projekcie-php .site-rail__brand .custom-logo-link img.custom-logo,
  .map-home .site-rail__brand .custom-logo-link img.custom-logo {
    height: clamp(28px, calc(28px + (5) * ((100vw - 992px) / (308))), 33px);
    width: auto;
    max-width: none;
  }

  .site-rail__lang {
    margin-top: 0;
    flex-direction: row;
    align-items: center;
    gap: 0;
  }

  .page-template-page-onas .site-rail__menu,
  .page-template-page-onas-php .site-rail__menu,
  .page-template-page-kontakt .site-rail__menu,
  .page-template-page-kontakt-php .site-rail__menu,
  .page-template-page-o-projekcie .site-rail__menu,
  .page-template-page-o-projekcie-php .site-rail__menu,
  .map-home .site-rail__menu {
    margin-left: auto;
  }

  .page-template-page-onas .site-rail__menu,
  .page-template-page-onas-php .site-rail__menu,
  .page-template-page-kontakt .site-rail__menu,
  .page-template-page-kontakt-php .site-rail__menu,
  .page-template-page-o-projekcie .site-rail__menu,
  .page-template-page-o-projekcie-php .site-rail__menu,
  .map-home .site-rail__menu {
    order: 1;
  }

  .page-template-page-onas .site-rail__access,
  .page-template-page-onas-php .site-rail__access,
  .page-template-page-kontakt .site-rail__access,
  .page-template-page-kontakt-php .site-rail__access,
  .page-template-page-o-projekcie .site-rail__access,
  .page-template-page-o-projekcie-php .site-rail__access,
  .map-home .site-rail__access {
    order: 2;
    margin-left: 50px;
  }

  .page-template-page-onas .site-rail__lang,
  .page-template-page-onas-php .site-rail__lang,
  .page-template-page-kontakt .site-rail__lang,
  .page-template-page-kontakt-php .site-rail__lang,
  .page-template-page-o-projekcie .site-rail__lang,
  .page-template-page-o-projekcie-php .site-rail__lang,
  .map-home .site-rail__lang {
    order: 3;
    margin-left: 20px;
  }

  .site-rail__divider {
    width: 1px;
    height: 1.1em;
    margin: 0 15px;
    align-self: center;
  }

  .site-rail__access {
    margin-top: 0;
    margin-left: 15.6px;
    flex: 0 0 auto;
  }

  .site-rail__menu {
    margin-top: 0;
    margin-left: 50px;
    min-width: 0;
  }

  .site-rail__menu .menu {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    min-width: 0;
  }

  .site-rail__menu .menu > li + li {
    margin-left: 10px;
  }

  .site-rail__menu .menu > li {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    transform: none;
    display: flex;
    align-items: center;
    white-space: nowrap;
  }

  .site-rail__menu .menu > li + li::before {
    position: static;
    top: auto;
    left: auto;
    transform: none;
    display: inline-block;
    margin-right: 10px;
  }

  .map-detail .map-text {
    padding-left: 0;
  }

  .map-page {
    overflow: visible;
  }

  .map-under .map-audio {
    position: absolute;
    top: calc((var(--shell-pad-top) - var(--mid-desktop-controls-h)) / 2 - var(--shell-pad-top));
    right: 0;
    z-index: 8;
  }

  .map-under .map-side {
    min-width: 0;
  }

  .map-point {
    --mid-flag-scale: 0.7;
    width: calc(var(--point-size, 48px) * var(--mid-flag-scale));
    height: calc(var(--point-size, 48px) * var(--mid-flag-scale));
    font-size: calc(14px * var(--mid-flag-scale));
  }

  .map-point-number {
    font-size: calc(55px * 0.7);
  }

  .map-point-label {
    top: calc((var(--point-flag-h) + var(--point-flag-extra)) * -1 * var(--point-ui-scale, 1) * var(--mid-flag-scale, 1));
    left: calc(50% + (var(--point-line-w) * var(--point-ui-scale, 1) * var(--mid-flag-scale, 1) / 2));
    transform: scale(calc(var(--point-ui-scale, 1) * var(--mid-flag-scale, 1)));
  }

  .map-point::after {
    width: calc(var(--point-line-w) * var(--point-ui-scale, 1) * var(--mid-flag-scale, 1));
    height: calc((var(--point-flag-h) + var(--point-flag-extra)) * var(--point-ui-scale, 1) * var(--mid-flag-scale, 1));
  }

  .map-text .person-popup--desktop {
    --person-popup-right-edge: 28px;
    --person-popup-pad-x: clamp(20px, 2.1vw, 28px);
    --person-popup-pad-y: clamp(22px, 2.3vw, 30px);
    --person-popup-head-gap: clamp(16px, 1.8vw, 22px);
    --person-popup-stack-gap: clamp(16px, 1.9vw, 24px);
    --person-popup-image-size: clamp(160px, 15.5vw, 210px);
    left: 0;
    right: var(--person-popup-right-edge);
    top: 0;
    bottom: 0;
    width: auto;
    height: auto;
    max-height: none;
    aspect-ratio: auto;
    display: flex;
    flex-direction: column;
    gap: var(--person-popup-stack-gap);
    padding: var(--person-popup-pad-y) var(--person-popup-pad-x);
    min-height: 0;
  }

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

  .map-text .person-popup--desktop .person-popup__head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--person-popup-head-gap);
    height: auto;
    width: 100%;
    flex: 0 0 auto;
    min-height: 0;
  }

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

  .map-text .person-popup--desktop .person-popup__name {
    margin: 0;
    padding: 0;
    display: block;
    width: 100%;
    flex: 0 0 auto;
    max-width: 100%;
    white-space: normal;
    align-self: flex-start;
  }

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

  .map-text .person-popup--desktop .person-popup__desc {
    height: 100%;
  }
}

@media (min-width: 1301px) {
  .page-template-page-onas .site-shell,
  .page-template-page-onas-php .site-shell,
  .page-template-page-kontakt .site-shell,
  .page-template-page-kontakt-php .site-shell,
  .page-template-page-o-projekcie .site-shell,
  .page-template-page-o-projekcie-php .site-shell {
    position: relative;
  }

  .page-template-page-onas .site-rail,
  .page-template-page-onas-php .site-rail,
  .page-template-page-kontakt .site-rail,
  .page-template-page-kontakt-php .site-rail,
  .page-template-page-o-projekcie .site-rail,
  .page-template-page-o-projekcie-php .site-rail {
    position: static;
    height: 100%;
  }

  /* Place the logo inside the vertical rail stack and pin it to the bottom. */
  .page-template-page-onas .site-rail__brand,
  .page-template-page-onas-php .site-rail__brand,
  .page-template-page-kontakt .site-rail__brand,
  .page-template-page-kontakt-php .site-rail__brand,
  .page-template-page-o-projekcie .site-rail__brand,
  .page-template-page-o-projekcie-php .site-rail__brand {
    --rail-brand-logo-h: 33px;
    --rail-brand-logo-vh: 205px;
    position: static;
    order: 4;
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    z-index: 25;
    pointer-events: auto;
  }

  .page-template-page-onas .site-rail__brand .custom-logo-link,
  .page-template-page-onas-php .site-rail__brand .custom-logo-link,
  .page-template-page-kontakt .site-rail__brand .custom-logo-link,
  .page-template-page-kontakt-php .site-rail__brand .custom-logo-link,
  .page-template-page-o-projekcie .site-rail__brand .custom-logo-link,
  .page-template-page-o-projekcie-php .site-rail__brand .custom-logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--rail-brand-logo-h);
    height: var(--rail-brand-logo-vh);
    line-height: 0;
  }

  .page-template-page-onas .site-rail__brand .custom-logo-link img.custom-logo,
  .page-template-page-onas-php .site-rail__brand .custom-logo-link img.custom-logo,
  .page-template-page-kontakt .site-rail__brand .custom-logo-link img.custom-logo,
  .page-template-page-kontakt-php .site-rail__brand .custom-logo-link img.custom-logo,
  .page-template-page-o-projekcie .site-rail__brand .custom-logo-link img.custom-logo,
  .page-template-page-o-projekcie-php .site-rail__brand .custom-logo-link img.custom-logo {
    height: var(--rail-brand-logo-h);
    width: auto;
    max-width: none;
    display: block;
    transform: rotate(90deg);
    transform-origin: center;
  }
}
