:root {
  --wp--preset--font-family--base: 'Mona Sans', sans-serif;
  --wp--preset--font-family--heading: 'Mona Sans', sans-serif;
}

body {
  font-family: 'Mona Sans', sans-serif !important;
}

footer { 
  margin-top: -1px;
}

p {
  margin-block-start: 20px!important;
  margin-block-end: 20px!important;
}

/* ul li::marker {
  font-size: 0.5em;
  line-height: 1;
} */

ul li{
  margin-bottom: 10px;
}

/* ul {
  list-style: none!important;
  padding-left: 1.2em;
}

ul li::before {
  content: "•";
  font-size: 0.8em;
  display: inline-block;
  width: 1em;
  margin-left: -1.2em;
  position: relative;
  top: -2px;
} */

.wp-block-post-content ul:not(.has-disc-bullets):not([style*="list-style-type: none"]),
article ul:not(.has-disc-bullets):not([style*="list-style-type: none"]) {
  list-style: none !important;
  padding-left: 1.5em;
}

.wp-block-post-content ul:not(.has-disc-bullets):not([style*="list-style-type: none"]),
article ul:not(.has-disc-bullets):not([style*="list-style-type: none"]):last-child {
  margin-bottom: 0!important;
}

.wp-block-post-content ul:not(.has-disc-bullets):not([style*="list-style-type: none"]) li,
article ul:not(.has-disc-bullets):not([style*="list-style-type: none"]) li {
  position: relative;
  margin-bottom: 10px;
}

.wp-block-post-content ul:not(.has-disc-bullets):not([style*="list-style-type: none"]) li::before,
article ul:not(.has-disc-bullets):not([style*="list-style-type: none"]) li::before {
  content: "•";
  font-size: 0.75em;
  position: absolute;
  left: -1.5em;
  top: 0.25em;
  line-height: 1;
}

ul.has-disc-bullets {
  list-style-type: disc !important;
  font-size: 18px;
}

.transparent-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent !important;
    margin: 0;
  }
  .row-set{
    padding-top:100px;
    padding-bottom:100px;
  }
  
  .wp-site-blocks {
    position: relative;
  }
  
 /* .hero-section-main{
    display:flex;
    align-content: center;
  }   */

  .hero-section {
  margin-top: 0;
  padding-top: 0;
  position: relative;
  overflow: visible;
}
.payally-logo{
  width:145px;
  height:50px;
}

.elevate-section{
  min-height: 764px !important;
  height: auto !important;
}


.glass-card {
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transform: translateY(50px);
  position: relative;
  z-index: 10;
}

.hero-section.wp-block-cover {
  overflow: visible !important;
  position: relative;
}

:where(.wp-site-blocks) > * {
  margin-block-start: 0;
  margin-block-end: 0;
}

.benefits-block {
  background: #E9F1F8;
  padding: 20px 24px;
  margin: 15px 0;
}

.benefits-block.benefits-block--secondary {
  padding: 24px 32px 20px;
}

form.wp-block-search {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.wp-block-search__inside-wrapper {
  position: relative;
}

.wp-block-search__input {
  width: 100%;
  background-color: rgba(255,255,255,0.2);
  border: none;
  border-radius: 10px;
  padding: 12px 16px;
  padding-left: 40px;
  font-size: 16px;
  color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg fill='none' height='14' viewBox='0 0 24 24' width='14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13 5c-3.3 0-6 2.7-6 6 0 1.4.5 2.7 1.3 3.7l-3.8 3.8 1.1 1.1 3.8-3.8c1 .8 2.3 1.3 3.7 1.3 3.3 0 6-2.7 6-6S16.3 5 13 5zm0 10.5c-2.5 0-4.5-2-4.5-4.5s2-4.5 4.5-4.5 4.5 2 4.5 4.5-2 4.5-4.5 4.5z' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 12px center;
  background-size: 16px 16px;
}

.wp-block-search__input::placeholder {
  color: rgba(255,255,255,0.8);
}

.wp-block-search__button {
  display: none;
}

.sort-by label {
  font-weight: normal;
}

.taxonomy-category{
  max-width:200px;
}
.read-more-row{
  position: absolute;
  bottom: 40px;
  right:40px;
}

.footer-bottom-bar{
	margin-block-start: 0!important;
	margin-block-end: 0!important;
}

.footer-section1{
  gap:0!important;
  max-width:800px!important;
}
.footer-section2{
  gap:0!important;
}
.footer-link:hover{
	text-decoration: underline!important;
}

.footer-link-terms:hover{
	text-decoration: underline!important;
}

@media screen and (max-width: 768px) {
  .benefits-block + h3 {
    margin-top: 40px !important;
  }
  
  .footer-link-terms{
    display:block;
    padding-bottom: 10px;
  }

  .wp-block-cover .wp-block-cover__image-background{
    object-position: 35% 0% !important;
  }
  
  .payally-logo{
    width: 104px;
    height:36px;
  }

  .cta-button-header {
    width: 111px !important;
    height: 44px !important;
    flex-shrink: 0 !important;
  }

  .cta-button-header .wp-block-button__link {
    width: 111px !important;
    height: 44px !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    min-width: 111px !important;
    max-width: 111px !important;
    min-height: 44px !important;
    max-height: 44px !important;
  }

  .hero-section-subtitle .desktop-break {
    display: none;
  }

  .wp-block-list li::marker {
    font-size: 0.6em;
  }

  .hero-section{
    min-height: 812px!important;
    padding: 107px 30px!important;
  }

  .hero-section-title{
    font-size:48px!important;
  }
  
  .hero-section-subtitle{
    font-size:22px!important;
  }

  .section-subtitle{
    font-size:22px!important;
    max-width:100%!important;
  }

  .hero-section-button{
    width:100%;
  }
  .our-expertise-section-title{
    font-size:36px!important;
    font-weight:300!important;
  }

  .experience-section-title{
    margin-block-start:0!important;
    font-size:28px!important;
    font-weight:300;
  }

  .experience-section-subtitle{
    margin-block-end:0!important;
    font-size:18px!important;
    font-weight:300;
  }

  .gray-box .kt-inside-inner-col {
    padding-bottom: 40px !important;
  }

  .elevate-section{
    padding:132px 30px!important;
  }

  .elevate-section .wp-block-cover__image-background {
    object-position: 90% center !important;
  }

  .elevate-section-title{
    font-size:36px!important;
    font-weight:300!important;
  }

  .elevate-section-subtitle{
    font-size:22px!important;
    margin-block-start:0!important;
  }
  
  .elevate-subsection-subtitle{
    font-size:18px!important;
    margin-top:-10px!important;
  }

  .business-cases-title{
    font-size:36px!important;
    font-weight:300!important;
  }

  .business-cases-subtitle{
    font-size:22px!important;
    max-width:100%!important;
  }

  .business-cases-subsection-title{
    font-size:28px!important;
  }

  .business-cases-subsection-group{
    padding-bottom: 0!important;
  }

  .business-cases-subsection-subtitle{
    font-size:18px!important;
    margin-bottom:60px!important;
  }
  
  .payally-benefits-title{
    font-size:36px!important;
    font-weight:300!important;
  }

  .payally-benefits-subtitle{
    font-size:22px!important;
    max-width:100%!important;
  }

  .payally-benefits-subsection-title{
    font-size:28px!important;
  }

  .payally-benefits-subsection-subtitle{
    font-size:18px!important;
    margin-top:-10px!important;
  }

  .tailored-services-title{
    font-size:36px!important;
    font-weight:300!important;
  }

  .tailored-services-subtitle{
    font-size:22px!important;
  }

  .blog-section-title{
    font-size: 36px!important;
    padding-top: 40px!important;
  }

  .blog-section-subtitle{
      font-size: 22px!important;
  }

  .global-fuel-section{
    display:flex!important;
    flex-direction: column!important;
  }

  .global-fuel-section-1 {
    order:2;
    margin-top:0!important;
  }

  .global-fuel-section-2 {
    order:1;
    margin-top:20px!important;
  }

  .footer-app-badges{
    width:100%!important;
  }

  .footer-app-badges a{
    flex: 1 1 calc(50% - 5px);
  }

  .footer-app-badges img{
    max-width: 100%!important;
    height:auto!important;
    width:100%;
  }

  .row-set{
    padding: 80px 30px 80px 30px!important;
  }

  .cta-button{
    width:100%!important;
  }

  .hero-section-main{
    min-height: 812px!important;
    padding:0 30px !important;
    align-items: flex-end;
    padding-bottom:200px!important;
  }

  .wp-image-460{
    object-position: 90% center;
  }

  .transparent-header {
    padding: 30px 30px;
  }

  .header-site-logo{
    width:120px;
  }
  .wp-container-content-0733e5d0 {
    flex-basis: 100%;
    padding-top: 28px;
    padding-right: 36px;
    padding-bottom: 28px;
    padding-left: 36px;
  }

  .footer-row-mobile{
    font-size:30px;
  }
  .row-set{
    padding-top:0;
    padding-bottom:0;
  }

  .footer-stack-mobile {
    flex-direction: column;
    gap: 1.5rem;
  }

  .footer-row-mobile {
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 1rem;
    width:100%;
  }

  .footer-group-mobile {
    flex-direction: column;
    align-items: flex-start; 
    gap: 1rem;
    margin-bottom: 1.5rem; 
  }


  .footer-stack-mobile p, 
  .footer-stack-mobile h3,
  .footer-stack-mobile nav,
  .footer-stack-mobile figure {
    text-align: left;
    margin: 0;
  }

  .footer-stack-mobile nav.wp-block-navigation ul.is-vertical li {
    margin-bottom: 0.5rem; 
  }

  .footer-row-mobile img {
    max-width: 150px;
    height: auto;
  }

  .footer-row-mobile p{
    font-size:22px;
    margin-bottom:20px!important;
    margin-top:40px!important;
  }
  
  .footer-main-row-mobile{
    flex-direction: column;
    align-items: flex-start;
    padding:40px 40px!important;
  }

  .footer-two-columns{
    display: flex;
    flex-direction: column;
    padding: 0 30px 30px 30px!important;
  }

  .footer-section1{
    order:2;
  }
  .footer-section2{
    order:1;
  }

  .partnership-cover {
    display:none!important;
  }
  
  .footer-two-columns{
	gap:0!important;
  }
  .footer-section2{
  margin-bottom:40px!important;
  }
  .custom-breadcrumbs .current-page {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .wp-block-cover {
    min-height: 812px !important;
  }
  .case-study {
    margin-top: 20px !important;
  }
}

@media screen and (min-width: 1024px) {

  .row-layout-1,
  .row-layout-2,
  .row-layout-3 {
    min-height: 80vh;
  }

  .footer-section1{
    gap:0!important;
    min-width:800px!important;
  }

  .wp-container-core-post-content-is-layout-4383d167 > .alignwide {
    max-width: 1376px;
  }

  .trusted-by-section{
    max-width: 1376px;
  }

  /* Pierwsza sekcja – wyświetlana normalnie na początku */
  .row-layout-1 {
    position: sticky;
    z-index: 1;
    top:0;
  }

  /* Druga sekcja – po osiągnięciu górnej krawędzi ekranu staje się przylepiona,
     a jej z-index powoduje, że przykrywa pierwszą sekcję */
  .row-layout-2 {
    position: sticky;
    top: 0;
    z-index: 2;
  }

  /* Trzecia sekcja – podobnie sticky, ale z wyższym z-index,
     dzięki czemu przykrywa obie poprzednie sekcje */
  .row-layout-3 {
    position: sticky;
    top: 0;
    z-index: 3;
  }

  .footer-row-mobile{
    width:100%;
  }

  .slide-excerpt {
    margin-bottom: 24px !important;
  }
}

.cta-button a:hover{
  background-color: rgba(33, 63, 200, 1)!important;
  border-radius:9px;
}
.cta-button a{
  min-height: 66px;
  line-height: 1.3;
  font-size:20px!important;
  font-weight:400!important;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.cta-button-header a:hover{
  background-color: #ffffff!important;
  color: #000!important;
}
.cta-button-header a{
  transition: background-color 0.3s ease, color 0.3s ease;
}

.footer-app-badges{
  width:100%!important;
  max-width:500px
}

.footer-app-badges a{
  flex: 1 1 calc(50% - 5px);
}

.footer-app-badges img{
  max-width: 250px!important;
  height:auto!important;
  width:100%;
}

.badge-googleplay,
.badge-appstore {
  transition: content 0.2s ease;
}

.badge-googleplay:hover {
  content: url("/wp-content/uploads/2025/06/badge_googleplay_hover.svg") !important;
}

.badge-appstore:hover {
  content: url("/wp-content/uploads/2025/07/badge_appstore_hover2.svg") !important;
}

.overlay-in-section {
  position: relative;
  overflow: hidden;
}

.overlay-in-section::before {
  content: "";
  display: block; /* ważne dla Safari */
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0; /* lepiej niż width/height: 100% */
  background: black;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 2; /* ustalony z-index */
}

.overlay-in-section:hover::before {
  opacity: 0.1;
}

@media screen and (min-width: 1080px) and (max-width: 1400px) {
    .footer-two-columns {
        padding: 0 60px !important;
    }
}

@supports (-webkit-touch-callout: none) {
  .elevate-section {
    min-height: -webkit-fill-available;
    min-height: 764px !important;
  }
  
  @media screen and (max-width: 768px) {
    .elevate-section {
      min-height: 812px !important;
    }
  }
}

/* ========================================
   MF CUSTOMIZATIONS
   ======================================== */
@media screen and (min-width: 769px) {
  .mf-details-form .phone-input-group input[type="tel"] {
    padding-left: calc(120px + 10px);
  }
}

@media (max-width: 768px) {
  .mf-logo img {
      width: 104px !important;
      margin-bottom: 20px !important;
  }
  .mf-schedule-call-section::before, .mf-membership-section::before {
      background: rgba(0, 0, 0, 0.05) !important;
  }
  .mf-mobile-calendar-container .mf-calendar-header {
      padding-block: 0 16px !important;
      padding-left: 16px !important;
      margin-inline: -16px !important;
  }
  .mf-mobile-calendar-container .mf-calendar-nav {
    padding-right: 16px !important;
  }
  .mf-calendar-grid {
    row-gap: 10px !important;
  }
  .mf-section-text h1 {
    text-shadow: none !important;
  }
  .mf-details-header h2 {
    font-size: 36px !important;
  }
  .mf-details-subtitle {
    font-size: 24px !important;
  }
  .mf-schedule-section {
    padding-top: 80px !important;
  }
  .mf-office-city-item:hover {
    background: transparent !important;
  }
  .mf-details-form {
    margin-bottom: 40px !important;
  }
  .mf-breadcrumb .home-icon, 
  .mf-breadcrumb .breadcrumb-separator {
    display: flex !important;
  }
}

@media (max-width: 480px) {
  .mf-section-content {
      padding-block: 22px 0 !important;
  }
  .mf-section-text h1 {
      margin-top: 6px !important;
  }
  .mf-section-subtitle {
      font-size: 22px !important;
  }
  .mf-mobile-calendar-container .mf-calendar-mock {
      padding: 16px !important;
  }
  .mf-calendar-day {
    font-size: 18px !important;
  }
  .mf-mobile-calendar-container .mf-calendar-day {
    width: 34px !important;
    height: 34px !important;
  }
  .mf-mobile-time-content .mf-selected-date {
    font-size: 28px !important;
    font-weight: 300 !important;
  }
  .mf-details-section {
    margin-block-start: 0 !important;
  }
}

#mf-popup h2 {
  margin-block: 15px 10px !important;
}
#mf-popup p {
  margin-block-start: 10px !important;
  margin-block-end: 40px !important
}
.mf-popup-button {
  width: auto;
  max-width: 380px !important;
}
#mf-popup {
  padding: 40px !important;
}

.mf-form-submit button:hover, .mf-popup-button:hover {
  background-color: rgba(33, 63, 200, 1);
}

/* ========================================
   BLOG SLIDER CUSTOMIZATIONS
   ======================================== */

@media (max-width: 480px) {
  .blog-slider .read-more-btn {
    height: 44px !important;
    font-size: 16px !important;
  }
}