/*BANER GŁÓWNY DUŻY*/

#page .big-main-banner {
  /* margin-top: -315px; */
  height: calc(100vh - 0px) !important;
}

#page .big-main-banner::before {
  content: "";
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #000000 0%, rgba(0, 0, 0, 0.0001) 100%);
  z-index: 9;
}

#page .big-main-banner .wp-block-cover__background {
  background-color: #ffffff00;
}

#page .big-main-banner .wp-block-cover__inner-container {
  max-width: 100%;
  margin: 8% 45% 0 115px;
  z-index: 9;
}

#page .big-main-banner .wp-block-cover__inner-container h1,
#page .big-main-banner .wp-block-cover__inner-container h2 {
  font-size: 3.75em;
  line-height: 64px;
  color:white;
}

#page .big-main-banner .wp-block-cover__inner-container p {
  font-size: 1.25em;
  line-height: 32px;
  color: white !important;
}

@media (min-width: 2500px) {
  #page .big-main-banner .wp-block-cover__inner-container {
    max-width: 1600px;
    margin: 0 auto !important;
  }
}

@media (min-width: 1200px) and (max-width: 1240px) {
  #page .single-post-banner {
    margin-top: -295px;
    height: 600px;
  }
}

@media (min-width: 781px) and (max-width: 1200px) {
  #page .big-main-banner .wp-block-cover__inner-container {
    margin: 100px 25% 0 0px;
  }

  #page .big-main-banner .wp-block-cover__inner-container h1,
  #page .big-main-banner .wp-block-cover__inner-container h2 {
    font-size: 3em;
  }
}

@media (max-width: 781px) {
  #page .big-main-banner {
    height: calc(100vh - 200px) !important;
    display: flex;
    align-items: flex-end;
  }

  #page .big-main-banner img {
    object-position: 80% 70% !important;
  }

  #page .big-main-banner .wp-block-cover__inner-container h1,
  #page .big-main-banner .wp-block-cover__inner-container h2 {
    font-size: 2.5em;
    line-height: 40px;
  }

  #page .big-main-banner .wp-block-cover__inner-container {
    margin: 50px;
  }

  #page .big-main-banner::before {
    background: linear-gradient(180deg, #000000 0%, rgb(0 0 0 / 35%) 100%);
  }

  #page .big-main-banner .wp-block-cover__inner-container p {
    font-size: 1em;
    line-height: 20px;
  }
}

@media (max-height: 800px) {
  #page .big-main-banner {
    height: 900px !important;
  }
}

/*BANER PODSTRON Z TYM SAMYM ZDJĘCIEM*/

#page .subpage-banner {
  margin-bottom: 0;
  position: relative;
  height: 430px;
}

#page .subpage-banner .wp-block-cover__inner-container {
  width: 100%;
}

#page .subpage-banner img {
  height: 540px;
  object-fit: cover;
}

#page .subpage-banner h1 {
  margin-bottom: 90px;
  position: relative;
  z-index: 9;
  margin-left: 140px;
  color: white;
  font-size: 3.75em;
  line-height: 70px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-right: 8%;
}

.units-template-default .subpage-banner h1 {
  margin-bottom: 100px !important;
  margin-top: 0 !important;
}

#page .subpage-banner .baner-meta-posts .wp-block-column {
  display: flex;
  flex-direction: inherit;
}

@media (min-width: 2500px) {
  #page .subpage-banner .wp-block-cover__inner-container {
    max-width: 1600px;
    margin: 0 auto !important;
  }

  #page .subpage-banner .baner-meta-posts {
    left: 29% !important;
  }

  #page .subpage-banner h1 {
    margin-left: 0 !important;
  }
}

@media (min-width: 781px) and (max-width: 1200px) {
  #page .subpage-banner h1 {
    font-size: 3em;
    margin-left: 12px;
  }
}

@media (max-width: 781px) {
  #page .subpage-banner h1 {
    font-size: 2.5em;
    margin-left: 12px;
    line-height: 48px;
    margin-right: 20px;
    -webkit-line-clamp: 3;
  }
}

@media (max-width: 310px) {
  #page .subpage-banner .baner-meta-posts .wp-block-column {
    display: block;
  }
}

@media (min-width: 1600px) {
  #page .subpage-banner h1 {
    margin-left: 0 !important;
  }
}

/*BANER 404*/

#page .subpage-banner-2 {
  min-height: 165px !important;
  padding: 0;
}

#page .subpage-banner-2::before {
  content: "";
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  background: #00000099;
  z-index: 9;
}

#page .subpage-banner-2 .wp-block-cover__background {
  background-color: #ffffff00;
}

#page .subpage-banner-2 .wp-block-cover__inner-container {
  max-width: 100%;
  margin: 0 0 90px 150px;
  z-index: 9;
}

#page .subpage-banner-2 .wp-block-cover__inner-container h1 {
  font-size: 3.75em;
  line-height: 70px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-right: 450px;
}

@media (min-width: 781px) and (max-width: 1200px) {
  #page .subpage-banner-2 .wp-block-cover__inner-container {
    margin: 0 0 80px 30px;
  }

  #page .subpage-banner-2 .wp-block-cover__inner-container h1 {
    font-size: 3em;
  }
}

@media (max-width: 781px) {
  #page .subpage-banner-2 .wp-block-cover__inner-container {
    margin: 0px 0 50px 20px;
  }

  #page .subpage-banner-2 .wp-block-cover__inner-container h1 {
    font-size: 2.5em;
  }
}

/*BANER PODSTRON Z RÓŻNYM ZDJĘCIEM*/

#page .single-post-banner {
  margin-bottom: 0;
  position: relative;
  height: auto;
  /* height: 540px; */
}

#page .single-post-banner .wp-block-cover__inner-container {
  width: 100%;
}

#page .bsingle-post-banner img {
  height: 540px;
  object-fit: cover;
}

#page .single-post-banner h1 {
  margin-top: 250px;
  margin-bottom: 130px;
  position: relative;
  z-index: 9;
  margin-left: 140px;
  color: white;
  font-size: 3.75em;
  line-height: 70px;
  display: -webkit-box;
  /* -webkit-line-clamp: 2; */
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-right: 8%;
}

.units-template-default .single-post-banner h1 {
  margin-bottom: 100px !important;
  margin-top: 0 !important;
}

#page .single-post-banner .baner-meta-posts {
  position: absolute;
  bottom: 8%;
  left: 160px;
  z-index: 9;
  background: #192878;
  padding: 10px 15px;
  font-size: 0.85em;
  font-weight: 700;
  line-height: 16px;

  text-transform: uppercase;
}

#page .single-post-banner .baner-meta-posts .wp-block-column {
  display: flex;
  flex-direction: inherit;
}

#page
  .single-post-banner
  .baner-meta-posts
  .wp-block-column
  .wp-block-post-author {
  margin: 0;
  border-left: solid 2px white;
  padding-left: 10px;
  color: white;
}

#page
  .single-post-banner
  .baner-meta-posts
  .wp-block-column
  .wp-block-post-date {
  padding-right: 10px;
  color: white;
}

@media (min-width: 2500px) {
  #page .single-post-banner .wp-block-cover__inner-container {
    max-width: 1600px;
    margin: 0 auto !important;
  }

  #page .single-post-banner .baner-meta-posts {
    position: inherit;
    width: fit-content;
  }

  #page .single-post-banner h1 {
    margin-left: 0 !important;
    margin-bottom: 50px;
  }
}

@media (min-width: 1200px) and (max-width: 1240px) {
  #page .single-post-banner {
    height: 600px;
  }
}

@media (min-width: 781px) and (max-width: 1200px) {
  #page .single-post-banner {
    /* height: 615px; */
  }

  #page .single-post-banner h1 {
    font-size: 3em;
    margin-left: 12px;
  }

  #page .single-post-banner .baner-meta-posts {
    left: 30px;
  }

  #page .single-post-banner::before {
    height: 540px;
  }

  #page .single-post-bannert .baner-meta-posts {
    bottom: 8%;
  }
}

@media (max-width: 781px) {
  #page .single-post-banner::before {
    height: 540px;
  }

  #page .single-post-banner h1 {
    font-size: 1.8em;
    margin-left: 12px;
    line-height: normal;
    margin-right: 20px;
    margin-top: 200px;
    margin-bottom: 90px;
    /* -webkit-line-clamp: 3; */
  }

  #page .single-post-banner .baner-meta-posts {
    left: 20px;
  }

  #page .single-post-banner .baner-meta-posts {
    bottom: 8%;
  }
}

@media (max-width: 310px) {
  #page .single-post-banner .baner-meta-posts {
    left: 0;
    bottom: 0;
  }

  #page .single-post-banner .baner-meta-posts .wp-block-column {
    display: block;
  }

  #page
    .single-post-banner
    .baner-meta-posts
    .wp-block-column
    .wp-block-post-author {
    border: 0;
    padding: 0;
    margin: 15px 0 0 0;
  }
}

@media (min-width: 1600px) {
  #page .single-post-banner h1 {
    margin-left: 180px;
  }

  #page .single-post-banner .baner-meta-posts {
    left: 195px;
  }
}

/*BANER PODSTRONY WYDARZENIA*/

#page .event-banner {
  height: 540px !important;
  padding: 0;
  position: relative;
}

#page .event-banner::before {
  content: "";
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  background: #00000099;
  z-index: 9;
}

#page .event-banner .wp-block-cover__background {
  background-color: #ffffff00;
}

#page .event-banner .wp-block-cover__inner-container {
  max-width: 70%;
  margin: 0 0 90px 160px;
  z-index: 9;
}

#page .event-banner .wp-block-cover__inner-container h1 {
  font-size: 3.75em;
  line-height: 70px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

#page .event-banner .event-information {
  position: absolute;
  display: flex;
  bottom: 8%;
  left: 160px;
  z-index: 9;
  background: #192878;
  padding: 10px 15px;
}

#page .event-banner .event-information p {
  color: white;
  margin: 0;
  text-transform: uppercase;
  font-size: 0.85em;
  font-weight: 700;
  line-height: 16px;
}

#page .event-banner .event-information .event-hour {
  margin: 0 10px;
  padding: 0 10px;
  border-right: solid 2px white;
  border-left: solid 2px white;
}

@media (min-width: 781px) and (max-width: 1200px) {
  #page .event-banner .wp-block-cover__inner-container {
    margin: 0 0 80px 30px;
    max-width: 100%;
  }

  #page .event-banner .wp-block-cover__inner-container h1 {
    font-size: 3em;
  }

  #page .event-banner .event-information {
    left: 30px;
  }
}

@media (max-width: 781px) {
  #page .event-banner .wp-block-cover__inner-container {
    margin: 0px 20px 90px 20px;
    max-width: 100%;
  }

  #page .event-banner .wp-block-cover__inner-container h1 {
    font-size: 2.5em;
    line-height: 48px;
    -webkit-line-clamp: 3;
  }

  #page .event-banner .event-information {
    left: 20px;
  }
}

@media (max-width: 445px) {
  #page .event-banner .event-information {
    display: block;
    left: 0;
    bottom: 0;
  }

  #page .event-banner .event-information .event-hour {
    border: 0;
    padding: 0;
    margin: 15px 0;
  }
}

/*Baner strony kierunków studiów*/

#page .field-of-study-banner {
  height: 700px !important;
  padding: 0;
}

#page .field-of-study-banner::before {
  content: "";
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  background: #00000099;
  z-index: 9;
}

#page .field-of-study-banner .wp-block-cover__background {
  background-color: #ffffff00;
}

#page .field-of-study-banner .wp-block-cover__inner-container {
  width: 100%;
  margin: 215px 160px 60px 160px;
  z-index: 9;
}

#page .field-of-study-banner .wp-block-cover__inner-container h1 {
  font-size: 3.75em;
  color: white;
  line-height: 1em;
}

#page .field-of-study-banner .wp-block-columns {
  margin-bottom: 0;
  justify-content: space-between;
}

#page .field-of-study-banner .wp-block-columns .wp-block-column:nth-child(2) {
  background: white;
  flex-basis: 665px;
}

#page
  .field-of-study-banner
  .wp-block-columns
  .wp-block-column:nth-child(2)
  .wp-block-columns {
  padding: 0 48px 24px 48px;
  margin-top: 0;
}

#page
  .field-of-study-banner
  .wp-block-columns
  .wp-block-column:nth-child(2)
  .wp-block-columns
  .studies-language {
  display: flex;
  gap: 10px;
  margin-top: -20px;
  justify-content: end;
}

#page
  .field-of-study-banner
  .wp-block-columns
  .wp-block-column:nth-child(2)
  .wp-block-columns
  .wp-block-column:nth-child(2) {
  text-align: end;
}

/* #page .field-of-study-banner .wp-block-columns .wp-block-column:nth-child(2) .wp-block-columns p:first-child,
#page .field-of-study-banner .wp-block-columns .wp-block-column:nth-child(2) .wp-block-columns p:nth-child(3),
#page .field-of-study-banner .wp-block-columns .wp-block-column:nth-child(2) .wp-block-columns p:nth-child(5),
#page .field-of-study-banner .wp-block-columns .wp-block-column:nth-child(2) .wp-block-columns p:nth-child(7){
    display: none;
} */

#page .field-of-study-banner .level {
  line-height: 21.78px;
  margin-bottom: 10px;
  margin-top: 10px;
  font-size: 18px;
  color: #2e2e2e;
  font-weight: 500;
}

#page .field-of-study-banner .studies-type {
  line-height: 16px;
  color: #bbbbbb;
  font-size: 0.82em;
  text-transform: uppercase;
  margin-bottom: 15px;
  margin-top: -15px;
  font-weight: 700;
}

#page .field-of-study-banner .studies-departments {
  line-height: 35px;
  color: #192878;
  font-size: 2em;
  text-transform: uppercase;
  margin-bottom: 15px;
  margin-top: 0px;
  font-weight: 700;
}

#page .field-of-study-banner .language-label,
#page .field-of-study-banner .language {
  margin-bottom: 0;
  margin-top: 0;
}

#page .field-of-study-banner .branch {
  line-height: 30px;
  font-size: 18px;
  color: #2e2e2e;
  font-weight: 500;
}

#page .field-of-study-banner .language-label {
  line-height: 16px;
  color: #bbbbbb;
  font-size: 0.82em;
  text-transform: uppercase;
  font-weight: 700;
}

#page .field-of-study-banner .language {
  line-height: 16px;
  color: #192878;
  font-size: 0.82em;
  text-transform: uppercase;
  font-weight: 700;
}

#page .field-of-study-banner .awarded_section {
  margin-top: -8px;
  background: #192878;
  padding: 20px 0px 20px 24px;
  margin-left: -24px;
  margin-right: 24px;
  position: relative;
  margin-bottom: -18px;
}

#page .field-of-study-banner .awarded_section::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 24px;
  position: absolute;
  bottom: 0;
  margin-bottom: -23px;
  background: #192878;
  left: -0.8px;
  clip-path: polygon(0 0, 100% 0%, 100% 100%, 54% 50%);
}

#page .field-of-study-banner .awarded_section strong {
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.82em;
  line-height: 26px;
}

#page .field-of-study-banner .awarded_section p {
  line-height: 16px;
  color: white;
  font-size: 1em;
  margin-bottom: 0;
  position: relative;
}

#page .field-of-study-banner .awarded_section::after {
  content: "";
  background: url(/wp-content/uploads/2023/02/Icon-10.svg);
  width: 40px;
  max-height: 100%;
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  right: 24px;
  top: 0;
  bottom: 0;
}

@media (min-width: 2500px) {
  #page .field-of-study-banner .wp-block-columns {
    max-width: 1600px;
    margin: 0 auto;
  }
}

@media (max-width: 1500px) {
  #page .field-of-study-banner {
    height: 600px;
    max-height: none !important;
  }

  #page
    .field-of-study-banner
    .wp-block-columns
    .wp-block-column:nth-child(2)
    .wp-block-columns
    .studies-language {
    display: grid;
    grid-template-columns: 120% 15%;
  }
}

@media (min-width: 781px) and (max-width: 1200px) {
  #page .field-of-study-banner .wp-block-cover__inner-container {
    margin: 0 30px 20px 30px;
  }

  #page .field-of-study-banner .wp-block-cover__inner-container h1 {
    font-size: 3em;
  }

  #page .field-of-study-banner .awarded_section {
    margin-bottom: -60px;
  }

  #page .field-of-study-banner .studies-departments {
    font-size: 1.8em;
  }

  #page
    .field-of-study-banner
    .wp-block-columns
    .wp-block-column:nth-child(2)
    .wp-block-columns {
    padding: 40px 30px;
    gap: 0;
  }

  @media (max-width: 885px) {
    #page .field-of-study-banner {
      height: 680px;
    }

    #page .field-of-study-banner .awarded_section p {
      width: 80%;
    }
  }
}

@media (max-width: 781px) {
  #page
    .field-of-study-banner
    .wp-block-columns
    .wp-block-column:nth-child(2)
    .wp-block-columns
    .studies-language {
    display: flex;
    justify-content: flex-start;
  }

  #page .field-of-study-banner .wp-block-columns {
    flex-direction: column-reverse;
    gap: 32px;
  }

  #page .field-of-study-banner {
    height: 900px;
    max-height: none !important;
  }

  #page .field-of-study-banner .wp-block-cover__inner-container {
    margin: 0px 20px 50px 20px;
  }

  #page .field-of-study-banner .wp-block-cover__inner-container h1 {
    font-size: 2.5em;
  }

  #page
    .field-of-study-banner
    .wp-block-columns
    .wp-block-column:nth-child(2)
    .wp-block-columns {
    padding: 24px;
    gap: 0;
  }

  #page
    .field-of-study-banner
    .wp-block-columns
    .wp-block-column:nth-child(2)
    .wp-block-columns
    .wp-block-column {
    margin-bottom: 0;
  }

  #page .field-of-study-banner .studies-departments {
    font-size: 1.5em;
    margin-bottom: 0;
  }

  #page .field-of-study-banner .awarded_section p {
    width: 80%;
  }

  #page .field-of-study-banner .awarded_section strong {
    font-size: 1em;
  }

  #page .field-of-study-banner .language-label,
  #page .field-of-study-banner .language,
  #page .field-of-study-banner .studies-type {
    font-size: 0.95em;
  }

  #page .field-of-study-banner .awarded_section {
    margin: 0 24px -42px 0;
    padding: 20px 0 20px 24px;
  }

  #page .field-of-study-banner .awarded_section::after {
    max-height: 100%;
    right: 10px;
  }

  #page .field-of-study-banner .branch {
    margin-top: 0;
    text-align: left;
  }

  #page .field-of-study-banner .awarded_section::before {
    display: none;
  }
}

/*BANER ZE SLIDEREM*/

#page .slider-banner {
  height: 800px !important;
  padding: 0;
}

#page .slider-banner::before {
  content: "";
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  background: #00000099;
  z-index: 9;
}

/* #page .slider-banner .first-column {
  margin-left: 160px;
} */

#page .slider-banner .second-column {
  margin-right: 160px;
}

#page .slider-banner .wp-block-cover__background {
  background-color: #ffffff00;
}

#page .slider-banner .wp-block-cover__inner-container {
  width: 100%;
  margin: 215px 160px 160px 160px;
  z-index: 9;
}

#page .slider-banner .wp-block-cover__inner-container h1,
#page .slider-banner .wp-block-cover__inner-container h2 {
  font-size: 3.75em;
  color: white;
}

#page .slider-banner .wp-block-cover__inner-container p {
  color: white;
}

#page .slider-banner .wp-block-columns {
  margin-bottom: 0;
}

#page .slider-banner .wp-block-columns .wp-block-column:nth-child(2) {
  background: white;
}

#page .slider-banner .b-baner-slider-text-and-button-2.wp-block-uagb-slider {
  width: 100%;
}

#page .slider-banner .b-baner-slider-text-and-button-2.wp-block-uagb-slider h1,
#page .slider-banner .b-baner-slider-text-and-button-2.wp-block-uagb-slider h2,
#page .slider-banner .b-baner-slider-text-and-button-2.wp-block-uagb-slider h3,
#page .slider-banner .b-baner-slider-text-and-button-2.wp-block-uagb-slider h4,
#page .slider-banner .b-baner-slider-text-and-button-2.wp-block-uagb-slider h5,
#page .slider-banner .b-baner-slider-text-and-button-2.wp-block-uagb-slider h6 {
  color: #000000;
  font-size: 1.5em;
}

#page .slider-banner .b-baner-slider-text-and-button-2.wp-block-uagb-slider p,
#page .slider-banner .b-baner-slider-text-and-button-2.wp-block-uagb-slider a,
#page
  .slider-banner
  .b-baner-slider-text-and-button-2.wp-block-uagb-slider
  span {
  color: #626369;
}

#page
  .slider-banner
  .b-baner-slider-text-and-button-2.wp-block-uagb-slider
  .wp-block-button__link {
  color: #343434;
}

#page
  .slider-banner
  .wp-block-columns
  .wp-block-column:nth-child(2)
  .wp-block-columns {
  /* padding: 24px 48px; */
  margin-top: 0;
}

#page
  .slider-bannerr
  .wp-block-columns
  .wp-block-column:nth-child(2)
  .wp-block-columns
  .studies-language {
  display: flex;
  gap: 10px;
  margin-top: -20px;
  justify-content: end;
}

#page
  .slider-banner
  .wp-block-columns
  .wp-block-column:nth-child(2)
  .wp-block-columns
  .wp-block-column:nth-child(2) {
  text-align: end;
}

@media (min-width: 2500px) {
  #page .slider-banner .wp-block-columns {
    max-width: 1600px;
    margin: 0 auto;
  }

  #page .slider-banner .first-column {
    margin-left: 0;
  }

  #page .slider-banner .second-column {
    margin-right: 0;
  }
}

@media (min-width: 1600px) {
  #page .slider-banner .wp-block-cover__inner-container {
    width: 100%;
    margin: 215px 200px 160px 200px;
    z-index: 9;
  }
}

@media (max-width: 1500px) {
  #page .slider-banner {
    max-height: none !important;
  }
}

@media (min-width: 781px) and (max-width: 1200px) {
  #page .slider-banner {
    max-height: none !important;
  }

  #page .slider-banner .wp-block-cover__inner-container {
    margin: 0 30px 120px 30px;
  }

  #page .slider-banner .wp-block-cover__inner-container h1,
  #page .slider-banner .wp-block-cover__inner-container h2 {
    font-size: 3em;
  }

  #page .slider-banner .first-column {
    margin-left: 30px;
  }

  #page .slider-banner .second-column {
    margin-right: 30px;
  }

  @media (max-width: 985px) {
  }

  @media (max-width: 885px) {
    #page .slider-banner {
      height: 910px !important;
    }

    #page .slider-banner {
      height: 680px;
    }
  }
}

@media (max-width: 800px) {
  #page .slider-banner .wp-block-columns {
    display: flex;
    flex-direction: column;
  }

  #page .slider-banner {
    min-height: 820px;
  }

  #page .slider-banner .wp-block-cover__inner-container h1,
  #page .slider-banner .wp-block-cover__inner-container h2 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  #page .slider-banner .first-column {
    margin-left: 0;
    padding-left: 20px;
  }

  #page .slider-banner .second-column {
    margin-right: 0;
  }

  #page .slider-banner .wp-block-columns .wp-block-column:nth-child(2) {
    background: transparent;
  }

  #page .slider-banner .wp-block-columns .second-column .wp-block-columns {
    padding: 0px 20px 0 20px;
    gap: 0;
  }

  #page
    .slider-banner
    .wp-block-columns
    .second-column
    .wp-block-columns
    .block-banner-slider-2 {
    padding: 0;
  }

  #page
    .slider-banner
    .wp-block-columns
    .wp-block-column:nth-child(2)
    .wp-block-columns
    .wp-block-column {
    margin-bottom: 0;
  }
}

@media (max-width: 781px) {
  #page .slider-banner {
    max-height: none !important;
  }

  #page .slider-banner .wp-block-cover__inner-container {
    margin: 0px 20px 50px 20px;
  }

  #page .slider-banner .wp-block-cover__inner-container h1,
  #page .slider-banner .wp-block-cover__inner-container h2 {
    font-size: 2.5em;
  }

  #page .slider-banner .wp-block-columns .second-column .wp-block-columns {
    padding: 0px 20px 0 20px;
    gap: 0;
  }

  #page
    .slider-banner
    .wp-block-columns
    .second-column
    .wp-block-columns
    .block-banner-slider-2 {
    padding: 0;
  }

  #page
    .slider-banner
    .wp-block-columns
    .wp-block-column:nth-child(2)
    .wp-block-columns
    .wp-block-column {
    margin-bottom: 0;
  }
}

/*BLOK SLIDERA NA BANERZE - DRUGA WERSJA*/

#page .block-banner-slider-2 {
  text-align: -webkit-right;
  margin-bottom: 140px;
}

#page .b-baner-slider-text-and-button-2.wp-block-uagb-slider {
  position: relative;
  background-color: #fff;
  width: 50%;
  height: 280px;
  padding: 35px 48px;
  z-index: 9;
}

#page .b-baner-slider-text-and-button-2 .uagb-slides.uagb-swiper {
  height: 100%;
}

#page .b-baner-slider-text-and-button-2 .swiper-content {
  padding: 0;
}

#page .b-baner-slider-text-and-button-2 .swiper-content h2 {
  font-weight: 700;
  font-size: 1.5em;
  line-height: 28px;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

#page .b-baner-slider-text-and-button-2 .swiper-content p {
  font-weight: 500;
  line-height: 24px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

#page
  .b-baner-slider-text-and-button-2
  .wp-block-buttons.animated-button-light
  .wp-block-button {
  position: absolute !important;
  left: 0 !important;
  bottom: -45px;
  z-index: 9;
}

#page
  .b-baner-slider-text-and-button-2
  .swiper-pagination-bullets.swiper-pagination-horizontal {
  position: absolute;
  left: 79%;
  bottom: 48px;
  width: auto;
}

#page .b-baner-slider-text-and-button-2 .swiper-button-next {
  right: 0;
  top: 78.5%;
}

#page .b-baner-slider-text-and-button-2 .swiper-button-prev {
  top: 78.5%;
  left: 70%;
}

#page .b-baner-slider-text-and-button-2 .swiper-pagination-bullet-active {
  background: #192878 !important;
}

#page .b-baner-slider-text-and-button-2 .uagb-slider-child-wrap .swiper-slide {
  width: 100% !important;
  height: 180px !important;
}

#page .b-baner-slider-text-and-button-2 .swiper-backface-hidden .swiper-slide {
  width: 100%;
  height: 100%;
  max-height: 165px;
}

#page .b-baner-slider-text-and-button-2 .swiper-wrapper {
  min-height: 165px;
}

#page .b-baner-slider-text-and-button-2 .swiper-button-next,
#page .b-baner-slider-text-and-button-2 .swiper-button-prev {
  background-color: transparent;
}

#page .b-baner-slider-text-and-button-2 .swiper-button-next::after,
#page .b-baner-slider-text-and-button-2 .swiper-button-prev::after {
  font-size: 12px;
}

@media (max-width: 1500px) {
  #page .b-baner-slider-text-and-button-2.wp-block-uagb-slider {
    width: 66%;
  }
}

@media (max-width: 1350px) {
  #page
    .b-baner-slider-text-and-button-2
    .swiper-pagination-bullets.swiper-pagination-horizontal {
    left: 75%;
    bottom: 15px;
  }

  #page .b-baner-slider-text-and-button-2 .swiper-button-prev {
    top: 91%;
    left: 65%;
  }

  #page .b-baner-slider-text-and-button-2 .swiper-button-next {
    top: 91%;
  }
}

@media (max-width: 1000px) {
  #page .b-baner-slider-text-and-button-2.wp-block-uagb-slider {
    height: 310px;
  }

  #page
    .b-baner-slider-text-and-button-2
    .swiper-pagination-bullets.swiper-pagination-horizontal {
    bottom: 22px;
    left: 72%;
  }

  #page .b-baner-slider-text-and-button-2 .swiper-button-next,
  #page .b-baner-slider-text-and-button-2 .swiper-button-prev {
    top: 89.5%;
  }

  #page .b-baner-slider-text-and-button-2 .swiper-button-prev {
    left: 60%;
  }
}

@media (max-width: 800px) {
  #page .slider-banner .b-baner-slider-text-and-button-2.wp-block-uagb-slider {
    height: 320px;
  }

  #page .b-baner-slider-text-and-button-2 .swiper-button-next,
  #page .b-baner-slider-text-and-button-2 .swiper-button-prev {
    top: 89%;
  }

  #page .b-baner-slider-text-and-button-2.wp-block-uagb-slider {
    height: 320px;
  }

  #page .b-baner-slider-text-and-button-2 .swiper-button-prev {
    left: 30%;
  }

  #page
    .b-baner-slider-text-and-button-2
    .swiper-pagination-bullets.swiper-pagination-horizontal {
    left: 45%;
    bottom: 25px;
  }

  #page .b-baner-slider-text-and-button-2 .swiper-button-next {
    right: 30%;
  }
}

@media (max-width: 500px) {
  #page .b-baner-slider-text-and-button-2.wp-block-uagb-slider {
    padding: 34px 20px;
  }

  #page .b-baner-slider-text-and-button-2 .swiper-button-prev {
    left: 20%;
  }

  #page .b-baner-slider-text-and-button-2 .swiper-button-next {
    right: 28%;
  }

  #page
    .b-baner-slider-text-and-button-2
    .swiper-pagination-bullets.swiper-pagination-horizontal {
    left: 37%;
  }
}

@media (max-width: 400px) {
  #page .b-baner-slider-text-and-button-2 .swiper-button-prev {
    left: 10%;
  }

  #page .b-baner-slider-text-and-button-2 .swiper-button-next {
    right: 10%;
  }

  #page
    .b-baner-slider-text-and-button-2
    .swiper-pagination-bullets.swiper-pagination-horizontal {
    left: 37%;
  }
}