/*
0. Podstawowe
1. Typografia
2. Formularze
3. Nagłowek
5. Strony
6. Stopka
*/


@import url('https://fonts.googleapis.com/css2?family=Cardo:ital,wght@0,400;0,700;1,400&display=swap');


/* ------------------------------- 0. Podstawowe ------------------------------- */

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Georgia', sans-serif;
    overscroll-behavior-y: none;
    overscroll-behavior-x: none;
}

html, 
body {
    max-width: 100%;
}

.text-left {
    text-align: left;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.boxed-div {
    max-width: 1320px;
    margin: 0 auto;
}

/* ------------------------------- 1. Typografia ------------------------------- */

h1 {
    font-family: 'Cardo', serif;
    font-size: 70px;
    margin: 30px 0;
    font-weight: 400;
    line-height: normal;
}

h2 {
    font-family: 'Cardo', serif;
    font-size: 2.3rem;
    margin: 20px 0;
    line-height: normal;
}

h3 {
    font-family: 'Cardo', serif;
    font-size: 2.1rem;
    margin: 20px 0;
    line-height: normal;
}

h4 {
    font-family: 'Cardo', serif;
    font-size: 2.0rem;
    margin: 20px 0;
    line-height: normal;
}

/* ------------------------------- 2. Formularze ------------------------------- */

.cf7 {
    margin-top: 0;
}

.cf7 input[type="text"],
.cf7 input[type="email"],
.cf7 input[type="url"],
.cf7 input[type="password"],
.cf7 input[type="search"],
.cf7 input[type="number"],
.cf7 input[type="tel"],
.cf7 input[type="range"],
.cf7 input[type="date"],
.cf7 input[type="month"],
.cf7 input[type="week"],
.cf7 input[type="time"],
.cf7 input[type="datetime"],
.cf7 input[type="datetime-local"],
.cf7 input[type="color"],
.cf7 textarea {
    color: #10335D;
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 5px 14px;
    vertical-align: middle;
    width: 100%;
    font-size: 18px;
    font-family: 'Cardo', sans-serif;
    box-sizing: border-box;
}

.cf7 textarea {
    width: 100%;
    box-sizing: border-box;
}

.cf7 input[type="text"]:focus,
.cf7 textarea:focus,
.cf7 input[type="email"]:focus {
    background-color: #ffffff;
    border: 1px solid #6083C6;
}

.cf7 input[type="text"]::placeholder,
.cf7 textarea::placeholder,
.cf7 input[type="email"]::placeholder {
    font-family: 'Cardo', sans-serif;
    font-size: 15px;
    color: #9a9a9a;
}

.cf7 button,
.cf7 input[type="button"],
.cf7 input[type="reset"],
.cf7 input[type="submit"],
.cf7 .btn,
.button, 
.cf7 .reply a {
    background-color: #6083C6;
    padding: 15px 65px;
    font-size: 15px;
    color: #fff;
    border: 0;
}

.cf7 .wpcf7-submit:hover,
.cf7 .wpcf7-submit:focus, 
.button:hover {
    background-color: #6083C6;
}

.cf7 button:active,
.cf7 button:focus, 
.button:focus {
    background-color: #6083C6;
}

.wpcf7 form.sent .wpcf7-response-output {
    border-radius: 5px;
}

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
    border-radius: 5px;
}

.wpcf7 form.spam .wpcf7-response-output {
    border-radius: 5px;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
    border-radius: 5px;
}

.cf7emailinput,
.cf7phoneinput {
    width: 100% !important;
}



/* ------------------------------- 3. Nagłowek ------------------------------- */

.desktop-only {
  display: block;
}
.mobile-only {
  display: none;
}

.hero-header {
  position: relative;
  background-color: #000;
  color: #fff;
  min-height: 315px;
}

.hero-header a {
    color: #fff;
    text-decoration: none;
}

.hero-header.is-front {
  height: 900px;
}

.hero-background .hero-image,
.hero-background .hero-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  overflow: hidden;
  z-index: 0;
}

.hero-background .hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover; 
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 0;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-background::before,
.hero-background::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.hero-background::before {
  background-color: #000;
  opacity: 0;
  z-index: 1;
}

.hero-background::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.6) 20%,
    rgba(0, 0, 0, 0.4) 60%,
    rgba(0, 0, 0, 0.2) 80%,
    rgba(0, 0, 0, 0) 100%
  );
  z-index: 2;
  pointer-events: none;
}

.hero-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.hero-video iframe {
  width: 100vw;
  height: 56.25vw; /* 16:9 */
  min-height: 100vh;
  min-width: 177.77vh;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 12px 0;
}

.top-contact {
    font-size: 14px;
    font-family: 'Cardo', sans-serif;
    font-weight: 600;
    border-bottom: 1px solid #444;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 0 28px 0;
    margin: 0 20px;
}

.top-item {
    padding: 0;
    margin: 0;    
}

.top-icon {
    vertical-align: middle;
    margin-top: -2px;
    margin-right: 5px;
}

.lang-mobile {
    display: none;
}

 
ul.top-lang {
    margin: 0;
}

.lang-item,
ul.top-contact {
    display: inline;
    list-style: none;
    margin-left: 10px;
}

.current-lang {
    border-bottom: 1px solid #ccc;
}

.booking-div {
    margin-top: 26px;
}

@media (max-width: 1023px) {
    .lang-mobile {
        display: block;
        margin-top: 17px;
        margin-right: 10px;
        float: left;
    }
    .lang-item, ul.top-contact {
        margin-right: 10px;
        margin-left: 0;
    }
    .lang-item a {
        color: #fff;
        text-decoration: none;
    }
}  

@media (max-width: 1023px) {
  .desktop-only {
    display: none !important;
  }
  .mobile-only {
    display: block !important;
  }


  .mainmenu {
    display: none;
  }

  body.mobile-open .mainmenu {
    display: block;
  }


  .mobile-header-bar {
    background-color: #000;
    color: #fff;
    padding: 15px 0;
  }

  .mobile-header-bar .head-logo {
    max-width: 230px;
    width: 100%;
    height: auto;
    margin-left: 5px;
  }

  .mobile-hero-title h1 {
    font-size: 30px;
    margin: 1rem 20px 1rem;
    color: #000;
    text-align: center;
  }

  .mobile-video {
    width: 100%;
    background: #000;
    position: relative;
    z-index: 1;
  }

  .mobile-video .video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
    overflow: hidden;
  }

  .mobile-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
  }
}

.booking-button {
  padding: 15px 35px;
  border: 1px solid #fff;
  background-color: transparent;
  color: #fff;
  position: relative;
  z-index: 1;
}

.booking-button::after {
  content: "";
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  border: 1px solid #fff;
  pointer-events: none;
  z-index: -1;
}

.booking-button:hover {
    background-color: #ffffff31;
}

.booking-button::before {
    content: "";
    display: inline-block;
    background-image: url('../img/i-booking.svg');
    width: 34px;
    height: 27px;
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 25px;
    margin-top: -4px;
    vertical-align: middle;
}

a.booking-button {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-style: normal;
    font-size: 20px;
}

.booking-button-mobile {
    display: none;
    background-color: #373737;
    border-radius: 50px;
    margin-right: 20px;
}

.booking-button .iconmobile {
    width: 41px;
    height: 30px;
    padding: 10px 5px;
}

.page-title h1 {
  font-size: 65px;
  font-weight: normal;
  color: #fff;
  margin-top: 2rem;
}

.page-title h1.homepage-hero-title {
  width: 60%;
  text-align: left;
  font-size: 65px;
  margin-top: 19rem;
}

@media (max-width: 1023px) {

    .hero-header.is-front {
        height: 300px;
    }

    .page-title h1.homepage-hero-title {
        width: 90%;
        text-align: left;
        font-size: 37px;
        margin-top: 5rem;
        margin-left: 20px;
    }

    .hero-header {
        min-height: 260px;
    }

    .page-title h1 {
        font-size: 35px;
    }

}



/* ---- nawigacja ---- */

.head-logo {
    width: 320px;
    height: auto;
}

#site-navigation {
    display: flex;
    align-items: center;
    padding: 15px 0 0 0;
    justify-content: center;
}


.nav-menu {
    float: right;
}


.menulinks {
    display: none;
    text-align: center;
    width: 35px;
    height: 35px;
    color: #fff;
    right: 1px;
    position: absolute;
    cursor: pointer;
}

ul.mainmenu {
    vertical-align: middle;
    display: inline-block;
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: left;
}

ul.mainmenu>li {
    display: inline-block;
    padding: 0 5px;
    position: relative;
}

ul.mainmenu>li>a:link,
ul.mainmenu>li>a:visited {
    margin: 10px 35px;
    padding-bottom: 10px;
    display: inline-block;
    text-align: center;
    font-size: 21px;
    font-weight: 700;
    color: #fff;
    line-height: 18px;
    border-bottom: 2px solid transparent;
    position: relative;
}

ul.mainmenu > li:hover > a,
ul.mainmenu > li > a.current {
    color: #fff;
    border-bottom: 2px solid #fff;
}

.current-menu-item a {
    color: #fff !important;
    border-bottom: 2px solid #fff !important;
}

ul.mainmenu ul {
    position: absolute;
    left: 0;
    width: 250px;
    list-style: none;
    margin: 0;
    border-radius: 5px;
    padding: 10px;
    z-index: 2;
    display: none;
}

ul.mainmenu ul li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    padding: 6px 0;
}

ul.mainmenu ul li:last-child {
    border-bottom: none;
}

ul.mainmenu li li a:link,
ul.mainmenu li li a:visited {
    display: block;
    padding: 8px 15px;
    font-size: 15px;
    text-decoration: none;
    color: #10335D;
}

ul.mainmenu li li a:hover {
    color: #1e5fad;
    border-radius: 5px;
}

ul.mainmenu ul ul {
    position: absolute;
    left: 100%;
    top: 0;
    display: none;
}

li.menu-item-2877::after, li#menu-item-2876::after {
    content: "";
    display: inline-block;
    background-image: url('../img/i-booking.svg');
    width: 26px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    margin-top: -8px;
    margin-left: -15px;
    vertical-align: middle;
}

@media (max-width: 1140px) {
        ul.mainmenu>li>a:link, ul.mainmenu>li>a:visited {
        margin: 10px 20px;
    }
}    


@media (min-width: 1024px) {
    ul.mainmenu {
        display: block !important;
    }

    ul.mainmenu li:hover>ul {
        display: block;
    }

    ul.mainmenu ul li:hover ul {
        display: block;
    }
}


@media (max-width: 1023px) {

    ul.mainmenu > li:hover > a,
    ul.mainmenu > li > a.current {
        border-bottom: none !important;
    }

    li.menu-item-2877::after, li#menu-item-2876::after {
        margin-left: -7px;
        margin-top: 17px;
    }
    
    .site-header .logo img {
        max-width: 230px;
        width: 100%;
        height: auto;
        margin-left: 5px;
    }

    .mobile-buttons {
        display: block; 
        margin-right: 45px;
    }

    .mobile-button {
        width: 45px;
        float: right;
    }

    .menulinks {
        display: inline-block;
        margin-right: 1px;
    }

    a.menulinks.secondm {
        margin-top: 15px;
    }

    li#menu-item-2877::after, li#menu-item-2876::after {
        margin-left: -5px;
        margin-top: 17px;
        vertical-align: middle;
    }

    ul.mainmenu {
        text-align: left;
        position: absolute;
        top: 64px;
        padding: 20px;
        right: 0;
        width: 100%;
        background: #000;
        border: 1px solid #eee;
        display: none;
        z-index: 9999999;
    }

    ul.mainmenu>li {
        float: left;
        width: 100%;
        padding: 0px;
        margin: 0;
        position: relative;
    }

    ul.mainmenu>li:first-child {
        border: none;
    }

    ul.mainmenu>li>a:link,
    ul.mainmenu>li>a:visited {
        padding: 10px 0;
        font-size: 19px;
        float: left;
        border: none;
        text-align: left;
        color: #ffffff;
        text-decoration: none;
    }

    ul.mainmenu > li:hover > a,
    ul.mainmenu > li > a.current {
        background-color: transparent
    }
    
    ul.mainmenu li li a:hover {
        background-color: #fff;
        border-radius: 0;
    }

    ul.mainmenu ul {
        border: 0;
        padding-left: 10px;
        padding: 0;
    }

    a.menulinks i {
        display: inline;
        position: relative;
        top: -2px;
        margin-left: 0;
        -webkit-transition-duration: 0s;
        -webkit-transition-delay: .2s;
        -moz-transition-duration: 0s;
        -moz-transition-delay: .2s;
        transition-duration: 0s;
        transition-delay: .2s;
    }

    a.menulinks i:before,
    a.menulinks i:after {
        position: absolute;
        content: '';
        left: 0;
    }

    a.menulinks i,
    a.menulinks i:before,
    a.menulinks i:after {
        width: 30px;
        height: 4px;
        background-color: #fff;
        display: inline-block;
        border-radius: 5px;
    }

    a.menulinks i {
        background-color: #fff;
        left: -5px;
    }

    a.menulinks i:before {
        margin-top: -10px;
        transition-property: margin, -webkit-transform;
        transition-duration: .2s;
        transition-delay: .2s, 0;
        -webkit-transition-property: margin, -webkit-transform;
        -webkit-transition-duration: .2s;
        -webkit-transition-delay: .2s, 0;
    }

    a.menulinks i:after {
        margin-top: 10px;
        transition-property: margin, -webkit-transform;
        transition-duration: .2s;
        transition-delay: .2s, 0;
        -webkit-transition-property: margin, -webkit-transform;
        -webkit-transition-duration: .2s;
        -webkit-transition-delay: .2s, 0;
    }

    .mobile-open a.menulinks i {
        background-color: rgba(0, 0, 0, 0.0);
        transition-delay: .2s;
        -webkit-transition-delay: .2s;
        -webkit-box-shadow: 0px 1px 1px rgba(0, 0, 0, 0);
        -moz-box-shadow: 0px 1px 1px rgba(0, 0, 0, 0);
        box-shadow: 0px 1px 1px rgba(0, 0, 0, 0);
    }

    .mobile-open a.menulinks i:before {
        margin-top: 0;
        -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        transform: rotate(45deg);
        transition-delay: 0, .2s;
        -webkit-transition-delay: 0, .2s;
        -webkit-box-shadow: 0px 1px 1px rgba(0, 0, 0, 0);
        -moz-box-shadow: 0px 1px 1px rgba(0, 0, 0, 0);
        box-shadow: 0px 1px 1px rgba(0, 0, 0, 0);
    }

    .mobile-open a.menulinks i:after {
        margin-top: 0;
        -webkit-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        transform: rotate(-45deg);
        transition-delay: 0, .2s;
        -webkit-transition-delay: 0, .2s;
        -webkit-box-shadow: 0px 1px 1px rgba(0, 0, 0, 0);
        -moz-box-shadow: 0px 1px 1px rgba(0, 0, 0, 0);
        box-shadow: 0px 1px 1px rgba(0, 0, 0, 0);
    }

    ul.mainmenu>li>a.current:after {
        display: none;
    }

    ul.mainmenu ul {
        position: relative;
        top: auto;
        left: auto;
        float: left;
        width: 100%;
    }

    ul.mainmenu ul li {
        position: relative;
        margin-left: 20px;
    }

    ul.mainmenu ul li a {
        padding: 8px 15px 8px 25px;
        color: #10335D;
    }

    ul.mainmenu ul ul {
        position: relative;
        left: auto;
        top: auto;
        float: left;
        width: 100%;
    }

    ul.mainmenu ul ul li {
        padding-left: 10px;
    }

    a.child-triggerm {
        display: block !important;
        cursor: pointer;
        position: absolute !important;
        top: 0px;
        right: 0px;
        width: 50px !important;
        min-width: 50px !important;
        height: 38px !important;
        padding: 0 !important;
        border-radius: 5px;
    }

    a.child-triggerm:hover {
        color: #C68100;
    }

    a.child-triggerm span {
        position: relative;
        top: 50%;
        margin: 0 auto !important;
        -webkit-transition-duration: .2s;
        -moz-transition-duration: .2s;
        transition-duration: .2s;
    }

    a.child-triggerm span:after {
        position: absolute;
        content: '';
    }

    a.child-triggerm span,
    a.child-triggerm span:after {
        width: 10px;
        height: 1px;
        background-color: #C68100;
        display: block;
    }

    a.child-triggerm span:after {
        -webkit-transform: rotate(-90deg);
        -ms-transform: rotate(-90deg);
        transform: rotate(-90deg);
        -webkit-transition-duration: .2s;
        -moz-transition-duration: .2s;
        transition-duration: .2s;
    }

    a.child-triggerm.child-open span:after {
        -webkit-transform: rotate(-180deg);
        -ms-transform: rotate(-180deg);
        transform: rotate(-180deg);
        -webkit-transition-duration: .2s;
        -moz-transition-duration: .2s;
        transition-duration: .2s;
    }

    a.child-triggerm.child-open span {
        -webkit-transform: rotate(180deg);
        -ms-transform: rotate(180deg);
        transform: rotate(180deg);
        -webkit-transition-duration: .2s;
        -moz-transition-duration: .2s;
        transition-duration: .2s;
    }

    a.child-triggerm:hover span,
    a.child-triggerm:hover span:after {
        background-color: #C68100;
    }

}

/* ------------------------------- 5. Sekcje ------------------------------- */

.ramka {
    padding: 0 20px;
}

.vertical-center {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: -30px;
}

.blueh {
    color: #6083C6;
}

.blok {
    padding: 50px 0 65px 0;
}

.blok h2 {
    font-size: 48px;
    font-weight: 400;
    margin-bottom: 50px;
    letter-spacing: 0.6px;
}

.blok h4 {
    font-size: 22px;
    margin-top: 0;
    padding-top: 0;
    font-weight: 400;
    margin-bottom: 30px;
    letter-spacing: 0.6px;
}

.blok p {
    color: #717171;
    margin-bottom: 30px;
    line-height: 24px;
    font-size: 18px;
    letter-spacing: 0.4px;
}

.blok strong {
    font-weight: 700;
}

.blok ul {
    list-style-type: none;
    padding-left: 1.3em;
    margin-left: 30px;
}
.blok ul li {
    color: #717171;
    margin-bottom: 15px;
    font-size: 18px;
    letter-spacing: 0.4px;
}

.blok ul li ul {
    margin-top: 15px;
    padding-left: 5px;
}

.blok ul li::before {
  content: '✤';
  font-size: 20px;
  color: #ddd;
  display: inline-block;
  width: 1em;
  margin-left: -1.3em;
  margin-right: 0.3em;
}

.blok-single-image {
    max-width: 100%;
    height: auto;
}

.acf-gallery-slider {
    max-width: 1280px;
    margin: 0 auto;
}

.lSSlideOuter .lSPager, .lSSlideOuter .lightSlider {
    padding-left: 0 !important;
    list-style: none;
}

ul.lightSlider {
    margin:0 !important;
    padding:0 !important;    
}

ul.lightSlider li::before {
    content: none !important;
}

.lSSlideWrapper {
    border: 1px solid #fff;
}

.acf-gallery-slider ul.lightSlider li {
    text-align: center;
    overflow: hidden;
    position: relative;
}
.acf-gallery-slider img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.acf-gallery-slider ul.lightSlider li img {
    transition: transform 0.3s ease;
    transform: scale(1);
    width: 100%;
    height: 380px;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.acf-gallery-slider ul.lightSlider li:hover img {
    transform: scale(1.1);
}

.slider-custom-arrows {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 15px;
}
.slider-custom-arrows button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}
.slider-custom-arrows img {
    width: 50px;
    height: auto;
    transition: transform 0.2s ease;
}
.slider-custom-arrows img:hover {
    transform: scale(1.1);
}


@media (max-width: 1023px) {
    .blok {
        padding: 30px 0 35px 0;
    }
    .blok h2 {
        font-size: 26px;
        margin-bottom: 40px;
        margin-top: 10px;
    }
    .vertical-center {
        margin-top: 20px;
    }
}   

@media (max-width: 768px) {
    .ramka {
        padding: 0;
    }
    .blok-tekst {
        padding: 20px;
    }
    .blok-tekst p {
        font-size: 17px;
    }
}

@media screen and (max-width: 768px) {
    .grid-reorder-mobile {
        flex-wrap: wrap; /* Kolumny przechodzą do nowego rzędu */
        width: 100%; /* Pełna szerokość kontenera */
    }
    .grid-reorder-mobile > .blok-tekst {
        order: 2; /* Tekst na dole */
        width: 100%; /* Pełna szerokość kolumny */
    }
    .grid-reorder-mobile > .blok-galeria {
        order: 1; /* Galeria na górze */
        width: 100%; /* Pełna szerokość kolumny */
        overflow: hidden; /* Ukrywa przepełnienie */
    }
    .grid-reorder-mobile > .blok-galeria .acf-gallery-slider {
        width: 100%; /* Ogranicza kontener galerii */
        max-width: 100%;
        overflow: hidden;
    }
    .grid-reorder-mobile > .blok-galeria .lSSlideOuter {
        width: 100% !important; /* Wymusza szerokość dla kontenera zewnętrznego */
        max-width: 100%;
        overflow: hidden;
    }
    .grid-reorder-mobile > .blok-galeria .lSSlideWrapper {
        width: 100% !important; /* Ogranicza wrapper slidera */
        max-width: 100%;
        overflow: hidden;
        position: relative; /* Zapewnia kontekst dla transformacji */
    }
    .grid-reorder-mobile > .blok-galeria .lightSlider {
        width: 100% !important; /* Ogranicza listę slajdów */
        max-width: 100%;
        overflow: hidden;
        display: block; /* Zapewnia poprawny układ */
    }
    .grid-reorder-mobile > .blok-galeria .lightSlider li {
        width: 100% !important; /* Każdy slajd ma pełną szerokość kolumny */
        max-width: 100%;
        float: none; /* Wyłącza float, jeśli lightSlider go używa */
        display: block;
    }
    .grid-reorder-mobile > .blok-galeria .lightSlider img,
    .grid-reorder-mobile > .blok-galeria .blok-single-image {
        width: 100%; /* Obrazy wypełniają kolumnę */
        max-width: 100%;
        height: auto; /* Zachowuje proporcje */
        object-fit: contain; /* Zapobiega rozciąganiu */
    }
}



/* ------------------------------- 5. Strony ------------------------------- */

.wpis-title {
    background-color: #141824;
    background-image: url('/wp-content/themes/wertis/img/header-tlo.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    padding: 40px 0;
    margin-bottom: 80px;
}

.wpis-title h1 {
    color: #fff;
    font-size: 50px;
    font-weight: 200;
}

img.wp-post-image {
    max-width: 100%;
    height: auto;
}

.tresc {
    margin-right: 50px;
    box-sizing: content-box;
    line-height: 29px;
    margin-bottom: 80px;
}

.tresc h2 {
    line-height: 42px;
    color: #C68100;
    margin-bottom: 50px;
}

.tresc h3 {
    color: #C68100;
    margin-bottom: 30px;
}

.tresc h4 {
    line-height: 30px;
    color: #C68100;
    font-size: 23px;
}

.tresc p {
    margin-bottom: 30px;
    color: #777;
    font-weight: 300;
}

.tresc strong {
    margin-bottom: 30px;
    color: #777;
    font-weight: 600;
}

.tresc ul:not(.image-gallery):not(.lSPager)  {
    padding-left: 20px;
    line-height: 25px;
    font-size: 15px;
    margin-bottom: 30px;
    color: #777;
}

.tresc ul:not(.image-gallery):not(.lSPager) li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    font-weight: 300;
}

.tresc ul:not(.image-gallery):not(.lSPager) li::before {
    content: '⦿';
    position: absolute;
    left: 0;
    top: 2px;
    color: #C68100;
    font-size: 18px;
    line-height: 1;
}

.tresc ol {
    list-style-type: decimal;
    padding-left: 20px;

}

.tresc ol ol {
    list-style-type: lower-alpha;
}

.tresc ol li {
    margin-bottom: 15px;
}

.tresc ol li::marker {
    color: #C68100;
    font-weight: bold;
}

.tresc .size-full {
    border: 1px solid #eee;
    padding: 20px;
    max-width: 100%;
    height: auto;
    box-sizing: border-box;
}

.oferta-img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
    border-radius: 5px;
}

.error-404 {
    margin: 70px 0 150px 0;
}

h3.widget-title {
    color: #888; 
}


.obrazek-ramka {
    border: 1px solid #eee;
    padding: 20px;
    margin: 0 0 10px 10px;
}

.textwidget {
    font-weight: 300;
    font-size: 14px;
    line-height: 24px;
    color: #777;
}

.textwidget strong {
    font-weight: 600;
}

.textwidget ul {
    list-style: circle;
    padding-left: 20px;
    margin: 20px 0;
}

#nav_menu-2, #nav_menu-3 {
    box-sizing: content-box;
    margin-left: 100px;
}

.wpisblog {
    border: 1px solid #eee;
    margin: 10px;
    padding: 20px 20px 30px 20px;
}

.wpisblog p {
    font-weight: 300;
    color: #777;
    font-size: 15px;
    line-height: 25px;
    margin-bottom: 20px;
}

.tresc .featured-image {
    margin-bottom: 20px;
    max-width: 100%;
}
.tresc .featured-image img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

@media screen and (max-width: 797px) {
    .tresc {
        margin-right: 0;
    }

    .wpis-title {
        margin-bottom: 20px;
        padding: 10px 0;
    }

    .wpis-title h1 {
        font-size: 40px;
    }

}    


/* ------------------------------- 6. Stopka ------------------------------- */

section#footer {
  position: relative;
  padding: 40px 0 57px 0;
  min-height: 500px;
  overflow: hidden;
}

/* Pseudo-element jako tło */
section#footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url(../img/bg-footer.png);
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: contain;
  opacity: 1;
  pointer-events: none;
  z-index: 0;
}

section#footer > * {
  position: relative;
  z-index: 1;
}

#scrollToTop {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 2;
}

@media (max-width: 1023px) {
  section#footer::before {
    opacity: 0.3;
  }
  #mgk_contact_info-2 {
    margin-left: 30px;
  }
}

footer {
    background-color: #f6f5f0;
    color: #787878;
    font-size: 16px;
}

footer h3 {
    font-size: 27px;
}

footer h3 .it {
    color: #5485FF;
    font-weight: 800;
    font-size: 32px;
}

footer h3 .tp {
    font-size: 22px;
}

footer h4 {
    font-size: 18px;
}

.footerbox {
    margin-bottom: 35px;
    line-height: 25px;
}

.footerhr {
    border: 1px solid #ccc;
    opacity: 0.5;
    margin: 20px 0 11px 0;
    width: 85%;
}

.footer-infos {
    font-size: 13px;
    letter-spacing: 2px;
}

.footer-social {
    text-align: right;
}

.footer-infos a {
    color: #888;
    font-size: 16px;
    text-decoration: none;
    color: #666;
}

.footer-container .widget a {
    text-decoration: none;
    color: #787878;
}

#footer .current-menu-item a {
    color: #787878 !important;
    border-bottom: 2px solid #787878;
}

.footer-container .widget a:hover {
    color: #6083C6;
}

#footer .widget_text {
    font-size: 14px;
    line-height: 22px;
}


#footer .widget_text p {
    margin-bottom: 35px;
    line-height: 28px;
}


#footer .widget_nav_menu ul li {
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: 600;
    border:0;
    padding-top: 15px;
    padding-left: 5px;
}


#footer .widget_nav_menu ul li::before {
    content: '';
}   

.foot-logo {
    margin: 35px 0 0 0;
}

.grid.contact-infos {
    margin-left: 5px;
}

.foot-ornament {
    margin: 5px 5px 5px 145px;
}

.footc-element {
    margin: 25px 0;
    clear: both;
}

.footc-img,
.footc-txt {
    display: flex;
    align-items: center;
}

.footc-img {
    justify-content: center;
}

.footc-txt {
    padding-top: 5px;
    padding-right: 105px;
    padding-left: 21px;
    
}

.menu-footer-fr-container, .menu-footer-en-container {
    margin-top: 150px;
}

.logo-stopka {
    margin-bottom: 5px;
}

@media (max-width: 797px) {
    #mgk_contact_info-2 {
        margin: 0 20px;
    }
    .foot-ornament {
        margin: 5px;
        text-align: center;
    }
    .footc-txt {
        padding: 0 5px 5px 5px;
        letter-spacing: 0.7px;
    }
    .footc-img {
        margin: 9px 0 0 0;
    }
    .footc-img img {
        width: 22px;
        height: auto;
    }
    .foot-logo {
        text-align: center;
    }

    .foot-logo img {
        width: 100%;
        max-width: 280px;
        height: auto;
    }
    .footer-infos {
        font-size: 12px;
        letter-spacing: 0.4px;
        padding: 0 30px;
        line-height: 20px;
    }
    .footc-img {
        justify-content: left;
    }
}    


/* back to top */

#back-to-top {
    position: fixed;
    bottom: 20px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: transparent;
    color: #6083C6;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    font-size: 17px;
    cursor: pointer;
    display: none;
    z-index: 2000;
    transition: background-color 0.3s ease;
}

#back-to-top:hover {
    background-color: #d5e3ff;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {

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

    50% {
        transform: scale(1.1);
    }
}

.progress-circle {
    position: absolute;
    top: -4px;
    left: -4px;
    width: calc(100% + 8px);
    height: calc(100% + 8px);
    pointer-events: none;
}

.progress-circle svg {
    width: 100%;
    height: 100%;
    transform: rotate(0deg);
}

.progress-circle .circle-bg {
    fill: none;
    stroke: #eee;
    stroke-width: 2px;
}

.progress-circle .circle-progress {
    fill: none;
    stroke: #6083C6;
    stroke-width: 2px;
    stroke-dasharray: 100, 100;
    stroke-dashoffset: 100;
    transition: stroke-dashoffset 0.1s linear;
}

@media screen and (max-width: 797px) {

    section#kontakt {
        padding: 80px 0 50px 0;
    }

    .footerbox {
        text-align: center;
    }

    #footer .widget-title {
        text-align: center;
    }    

    .textwidget {
        text-align: center;
    }

    #footer .widget_nav_menu ul li  {
        text-align: center;
    }

    .wpcf7-spinner {
        display: block;
        position: relative;
    }

    .footer-infos {
        text-align: center;
    }


    #nav_menu-2, #nav_menu-3 {
        box-sizing: content-box;
        margin-left: 0;
    }

    .menu-footer-fr-container, .menu-footer-en-container {
        margin-top: 30px;
    }
    .footerhr {
        display: none;
    }

}