/*STUDIUJ Z NAMI*/

#page .block-yellow-border {
  margin: 100px 0;
  background-color: #192878;
  border-bottom: solid 8px #faaf0f;
  gap: 64px;
}

#page .block-yellow-border h2,
#page .block-yellow-border p {
  color: white;
}

/* #page .block-yellow-border p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  } */

#page .block-yellow-border .wp-block-column:first-of-type h2,
#page .block-yellow-border .wp-block-column:first-of-type p,
#page .block-yellow-border .wp-block-column:first-of-type .wp-block-buttons {
  padding-left: 50px;
}

#page .block-yellow-border .wp-block-column:nth-of-type(2) h2,
#page .block-yellow-border .wp-block-column:nth-of-type(2) p,
#page .block-yellow-border .wp-block-column:nth-of-type(2) .wp-block-buttons {
  padding-right: 50px;
}

#page .block-yellow-border h2 {
  padding-top: 50px;
}

#page .block-yellow-border .wp-block-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

#page .block-yellow-border .wp-block-buttons {
  padding-bottom: 50px;
  gap: 24px;
}

#page .block-yellow-border .wp-block-buttons .wp-block-button a {
  width: -webkit-fill-available;
}

#page .block-yellow-border .wp-block-buttons .wp-block-button:first-of-type a {
  color: #192878;
  background-color: white;
  border-color: white;
}

#page
  .block-yellow-border
  .wp-block-buttons
  .wp-block-button:first-of-type
  a:hover {
  color: white;
  background-color: transparent;
  border-color: white;
}

#page .block-yellow-border .wp-block-buttons .wp-block-button:nth-of-type(2) a,
#page .block-yellow-border .wp-block-buttons .wp-block-button:nth-of-type(3) a,
#page .block-yellow-border .wp-block-buttons .wp-block-button:nth-of-type(4) a {
  border-color: white;
}

#page
  .block-yellow-border
  .wp-block-buttons
  .wp-block-button:nth-of-type(2)
  a:hover,
#page
  .block-yellow-border
  .wp-block-buttons
  .wp-block-button:nth-of-type(3)
  a:hover,
#page
  .block-yellow-border
  .wp-block-buttons
  .wp-block-button:nth-of-type(4)
  a:hover {
  color: #192878;
  background-color: white;
  border-color: white;
}

#page .block-yellow-border figure {
  height: 100%;
}

#page .block-yellow-border img {
  /* aspect-ratio: 16/9; */
  object-fit: cover;
  height: 100%;
}

@media (max-width: 781px) {
  #page .block-yellow-border {
    margin: 40px 0;
  }

  #page .block-yellow-border .wp-block-column:first-of-type .wp-block-buttons {
    padding: 0 24px 0 24px;
    margin-bottom: -20px;
  }

  #page .block-yellow-border .wp-block-column:nth-of-type(2) .wp-block-buttons {
    padding: 0 24px 48px 24px;
    margin-bottom: 0;
  }

  #page .block-yellow-border .wp-block-buttons .wp-block-button,
  #page .block-yellow-border .wp-block-buttons .wp-block-button a {
    width: 100%;
  }

  #page .block-yellow-border .wp-block-column:first-of-type h2 {
    padding-top: 48px;
  }

  #page .block-yellow-border .wp-block-column:nth-of-type(2) h2 {
    padding-top: 0;
    margin-top: -40px;
  }

  #page .block-yellow-border .wp-block-buttons {
    padding-bottom: 48px;
  }

  #page .block-yellow-border h2,
  #page .block-yellow-border p {
    padding-left: 24px !important;
    padding-right: 24px;
  }
}

@media (max-width: 600px) {
  #page .block-yellow-border .wp-block-buttons {
    display: grid;
    grid-template-columns: 1fr;
  }
}

/*WYSZUKAJ KIERUNEK*/

#page .pattern-block {
  position: relative;
  margin: 100px -160px;
  padding: 100px 160px !important;
  background-color: #192878;
}

#page .pattern-block::after {
  content: "";
  background: url(/wp-content/uploads/2023/10/mniejszy-parkiet.svg);
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
}

#page .pattern-block h2,
#page .pattern-block p {
  color: white;
}

#page .pattern-block .wp-block-button a {
  color: #192878;
  border-color: white;
  background-color: white;
}

#page .pattern-block .wp-block-button a:hover {
  color: white;
  border-color: white;
  background-color: #192878;
}

@media (min-width: 1600px) {
  #page .pattern-block {
    margin: 100px -200px;
  }
}

@media (min-width: 781px) and (max-width: 1200px) {
  #page .pattern-block {
    margin: 100px -30px;
    padding: 100px 30px !important;
  }
}
@media (max-width: 781px) {
  #page .pattern-block {
    margin: 40px -20px;
    padding: 40px 20px !important;
  }
}

@media (min-width: 2500px) {
  #page .pattern-block {
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
  }

  #page .pattern-block > .wp-block-column {
    max-width: 1600px;
    margin: auto;
  }

  #page .pattern-block::after {
    background-size: cover;
  }
}

/*ROZWIJAJ SIĘ Z NAMI (BLOK Z LUDŹMMI)*/

#page .block-people {
  margin: 100px -160px;
  padding: 0 160px !important;
  background: var(
    --gradient-gray,
    linear-gradient(136deg, #eef3fa 0%, #fcfdff 102.74%)
  );
  gap: 24px;
  position: relative;
}

#page .block-people .is-vertically-aligned-center {
  align-self: flex-start !important;
}

#page .block-people h2 {
  margin-top: 100px;
  margin-bottom: 40px;
}

#page .block-people .inside-columns {
  margin-bottom: 100px;
  position: relative;
  z-index: 9;
  gap: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

#page .block-people .inside-columns .wp-block-column {
  padding: 32px;
  background: white;
  box-shadow: 0px 3px 12px 0px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 360px;
  height: 100%;
}

#page
  .block-people
  .inside-columns
  .wp-block-column:nth-of-type(2)
  figure::after {
  display: none;
}

#page .block-people .inside-columns .wp-block-column:nth-of-type(2) figure {
  margin-right: 0;
  margin-left: 0;
}

#page .block-people .inside-columns p:first-of-type {
  font-size: 1.25em;
  color: #343434;
  font-weight: 600;
}

#page .block-people .inside-columns p {
  margin-bottom: 0;
}

#page .block-people .inside-columns img {
  width: 32px;
  height: 32px;
  padding: 8px;
  background: rgba(250, 175, 15, 0.3);
}

#page .block-people .inside-columns .wp-block-buttons {
  margin-top: 0;
}

#page .block-people .inside-columns .wp-block-buttons a {
  color: #192878;
  background: transparent;
  padding: 0;
  border: none;
  text-align: left;
}

#page .block-people .inside-columns .wp-block-buttons a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

#page .block-people .wp-block-column:nth-of-type(2) img {
  position: relative;
  z-index: 9;
}

#page .block-people .wp-block-column:nth-of-type(2) figure {
  margin-right: -100px;
}

#page .block-people .wp-block-column:nth-of-type(2) figure::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 650px;
  height: 35%;
  background: var(
    --gradient-yellow,
    linear-gradient(127deg, #f8b20e 0%, #f89324 100%)
  );
}

#page .block-people .one-person img {
  width: 400px;
}

#page .block-people .one-person::after {
  width: 815px !important;
}

@media (min-width: 1600px) {
  #page .block-people {
    margin: 100px -200px;
    padding: 0 200px !important;
  }
}

@media (min-width: 781px) and (max-width: 1200px) {
  #page .block-people {
    margin: 100px -30px;
    padding: 0 30px !important;
    flex-direction: column;
  }

  #page .block-people .inside-columns {
    margin-bottom: 0;
  }

  #page .block-people .inside-columns .wp-block-column {
    min-height: 300px;
  }

  #page .block-people .wp-block-column:nth-of-type(2) figure {
    margin-right: 0;
  }

  #page .block-people .wp-block-column:nth-of-type(2) figure::after {
    height: 20%;
  }

  #page .block-people .one-person::after {
    width: 650px !important;
  }
}

@media (max-width: 781px) {
  #page .block-people {
    margin: 40px -20px;
    padding: 0 20px !important;
    flex-direction: column;
  }

  #page .block-people h2 {
    margin-top: 40px;
    text-align: center;
  }

  #page .block-people .inside-columns {
    margin-bottom: 0;
    grid-template-columns: 1fr;
  }

  #page .block-people .inside-columns .wp-block-column {
    padding: 16px;
    gap: 16px;
    min-height: auto;
    margin-bottom: 0;
  }

  #page .block-people .wp-block-column:nth-of-type(2) figure {
    margin: 0;
  }

  #page .block-people .wp-block-column:nth-of-type(2) figure::after {
    width: 75%;
    height: 28vw;
  }
}

@media (min-width: 2500px) {
  #page .block-people {
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    padding-left: calc((100vw - 1600px) / 2) !important;
    padding-right: calc((100vw - 1600px) / 2) !important;
  }

  #page .block-people .wp-block-column:nth-of-type(2) figure::after {
    margin-right: calc((100vw - 1500px) / 2);
  }

  #page .block-people .wp-block-column:first-of-type figure::after {
    margin-left: calc((100vw - 1500px) / 2);
  }

  #page .block-people .one-person::after {
    width: 650px !important;
  }
}

/*Odbicie lustrzane*/

#page
  .block-people
  .inside-columns
  .wp-block-column:first-of-type
  figure::after {
  display: none;
}

#page .block-people .inside-columns .wp-block-column:first-of-type figure {
  margin-left: 0;
}

#page .block-people .wp-block-column:first-of-type img {
  position: relative;
  z-index: 9;
}

#page .block-people .wp-block-column:first-of-type figure {
  margin-left: -100px;
  float: left;
}

#page .block-people .wp-block-column:first-of-type figure::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 535px;
  height: 35%;
  background: var(
    --gradient-yellow,
    linear-gradient(127deg, #f8b20e 0%, #f89324 100%)
  );
}

@media (min-width: 781px) and (max-width: 1200px) {
  #page .block-people {
    margin: 100px -30px;
    padding: 0 30px !important;
    flex-direction: column;
  }

  #page .block-people .wp-block-column:nth-of-type(2) .inside-columns {
    margin-bottom: 40px;
    grid-template-columns: 1fr;
  }

  #page .block-people .inside-columns .wp-block-column {
    min-height: 300px;
  }

  #page .block-people .wp-block-column:first-of-type figure {
    margin-left: 0;
    position: relative;
  }

  #page .block-people .wp-block-column:first-of-type figure::after {
    height: 20%;
    left: -30px;
  }

  #page .block-people h2 {
    margin-top: 40px;
  }
}

@media (max-width: 781px) {
  #page .block-people {
    margin: 40px -20px;
    padding: 0 20px !important;
    flex-direction: column;
  }

  #page .block-people h2 {
    margin-top: 40px;
    text-align: center;
  }

  #page .block-people .wp-block-column:nth-of-type(2) .inside-columns {
    margin-bottom: 40px;
    grid-template-columns: 1fr;
  }

  #page .block-people .inside-columns .wp-block-column {
    padding: 16px;
    gap: 16px;
    min-height: auto;
  }

  #page .block-people .wp-block-column:first-of-type figure {
    margin-left: 0;
    position: relative;
  }

  #page .block-people .wp-block-column:first-of-type figure::after {
    height: 20%;
    left: -30px;
    width: 60vw;
  }

  #page .block-people h2 {
    margin-top: 40px;
  }
}

/*NOWE AKTUALNOŚCI*/

#page .news-four-column {
  margin: 100px 0;
}

#page .four-news {
  column-gap: 24px;
  margin: 80px 0;
}

#page .four-news .uagb-post__title {
  font-size: 1.2em;
  color: #343434;
  font-weight: 600;
  display: -webkit-inline-box;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  padding-bottom: 0;
}

#page .four-news img {
  aspect-ratio: 4/3 !important;
}

#page .four-news p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

#page .four-news .uagb-post__inner-wrap {
  padding-left: 0;
  padding-right: 0;
  display: flex;
  flex-direction: column;
}

#page .four-news .uagb-post__inner-wrap .uagb-post__excerpt {
  padding-bottom: 16px;
}

#page .four-news .uagb-post__inner-wrap:nth-of-type(2) {
  position: relative;
}

#page .four-news .uagb-post__inner-wrap div:nth-of-type(2) {
  margin-top: -40px;
  margin-bottom: 24px;
  position: relative;
  text-align: center;
}

#page .four-news .uagb-post__inner-wrap div:nth-of-type(2) span {
  color: #343434;
  text-transform: uppercase;
  background: var(--main-secondary-yellow, #faaf0f);
  padding: 5px 16px;
  margin: 2px 0 0 0;
  font-size: 1em;
}

#page .four-news .uagb-post__image {
  margin-left: 0;
  margin-right: 0;
  padding: 0;
  border-bottom: solid 5px #faaf0f;
}

#page .four-news .wp-block-button__link {
  padding: 0;
  border: 0;
  color: #192878;
}

#page .four-news .uagb-post__inner-wrap .wp-block-button {
  margin-top: auto;
}

#page .four-news .uagb-post__inner-wrap:hover .wp-block-button a {
  text-decoration: underline;
  text-underline-offset: 5px;
}

@media (min-width: 781px) and (max-width: 1200px) {
  #page .four-news {
    margin-bottom: 0px;
  }
}

@media (max-width: 781px) {
  #page .news-four-column {
    margin: 40px 0;
  }

  #page .four-news {
    margin-top: 0;
    margin-bottom: -40px;
    row-gap: 0;
  }

  #page .four-news .uagb-post__inner-wrap {
    padding: 0 0 40px 0;
  }

  #page .four-news .uagb-post__title {
    font-size: 1.5em;
    -webkit-line-clamp: inherit;
    line-height: 24px;
  }

  #page .four-news .uagb-post__inner-wrap:nth-of-type(2)::before {
    content: "";
    background: #ececec;
    width: 100%;
    height: 1px;
    position: absolute;
    left: 0;
    top: 0;
  }

  #page .four-news .uagb-post__inner-wrap:nth-of-type(2)::after {
    content: "";
    background: #ececec;
    width: 100%;
    height: 1px;
    position: absolute;
    right: 0;
    top: 100%;
  }
}

/*LICZNIK*/

#page .block-counter {
  margin: 100px -160px 200px -160px !important;
  padding: 0 160px !important;
  background: #192878;
  position: relative;
  display: flex;
  justify-content: space-between;
  text-align: -webkit-center;
}

#page .block-counter::after {
  content: "";
  background: url(/wp-content/uploads/2023/10/mniejszy-parkiet.svg);
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
}

#page .block-counter .wp-block-column {
  margin-bottom: -100px;
  padding-top: 100px;
}

#page .block-counter .wp-block-uagb-counter--circle {
  background: white;
  border-radius: 100%;
  max-width: 260px;
}

@media (min-width: 1600px) {
  #page .block-counter {
    margin: 100px -200px 200px -200px !important;
    padding: 0 200px !important;
  }
}

@media (min-width: 1200px) and (max-width: 1300px) {
  #page .block-counter {
    margin: 100px -160px !important;
    padding: 50px 160px !important;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    justify-items: center;
  }

  #page .block-counter .wp-block-column {
    margin-bottom: 0;
    padding-top: 0;
  }

  #page .block-counter .wp-block-column:nth-of-type(4),
  #page .block-counter .wp-block-column:nth-of-type(5) {
    padding-top: 40px;
  }
}

@media (min-width: 781px) and (max-width: 1200px) {
  #page .block-counter {
    margin: 100px -30px !important;
    padding: 50px 30px !important;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    justify-items: center;
  }

  #page .block-counter::after {
    background-repeat: no-repeat;
    background-size: cover;
  }

  #page .block-counter .wp-block-column {
    margin-bottom: 0;
    padding-bottom: 16px;
    padding-top: 16px;
  }
}

@media (max-width: 781px) {
  #page .block-counter {
    margin: 40px -20px !important;
    padding: 40px 20px !important;
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-items: center;
  }

  #page .block-counter .wp-block-column {
    margin-bottom: 0;
    padding-bottom: 16px;
    padding-top: 16px;
  }

  #page .block-counter .wp-block-uagb-counter__number {
    font-size: 2.5em;
  }

  #page .block-counter .wp-block-uagb-counter__title {
    font-size: 1em;
    margin: 0;
  }

  #page
    .block-counter
    .wp-block-column:last-of-type
    .wp-block-uagb-counter--circle {
    margin-right: -55%;
    margin-left: 55%;
  }
}

@media (min-width: 2500px) {
  #page .block-counter {
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    padding-left: calc((100vw - 1600px) / 2) !important;
    padding-right: calc((100vw - 1600px) / 2) !important;
  }
}

/*AKREDYTACJE*/

#page .block-five-tiles-image {
  margin-left: -160px;
  margin-right: -160px;
  margin-top: 100px;
  margin-bottom: 100px;
  background: var(
    --gradient-gray,
    linear-gradient(136deg, #eef3fa 0%, #fcfdff 102.74%)
  );
}

#page .block-five-tiles-image .wp-block-columns:first-of-type {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 24px;
}

#page .block-five-tiles-image .wp-block-columns {
  max-width: none;
}

#page .block-five-tiles-image .wp-block-column {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: white;
  border: solid 1px #faaf0f;
  padding: 32px;
}

#page .block-five-tiles-image .wp-block-column .wp-block-buttons {
  margin-top: 0;
}

#page .block-five-tiles-image .wp-block-column .wp-block-buttons a {
  padding: 0;
  color: #192878;
  background: transparent;
  border: none;
}

#page .block-five-tiles-image .wp-block-column .wp-block-buttons a:hover {
  background: transparent;
  border: none;
  text-decoration: underline;
  text-underline-offset: 5px;
}

#page .block-five-tiles-image .wp-block-column p {
  margin-bottom: 0.5em;
}

#page .block-five-tiles-image .wp-block-column p:first-of-type {
  font-size: 1.15em;
  font-weight: 600;
}

#page .block-five-tiles-image .wp-block-columns:first-of-type .wp-block-column {
  min-height: -webkit-fill-available;
}

#page
  .block-five-tiles-image
  .wp-block-columns:first-of-type
  .wp-block-column:first-child {
  background: var(
    --gradient-yellow,
    linear-gradient(127deg, #f8b20e 0%, #f89324 100%)
  );
  position: relative;
  justify-content: center;
}

#page
  .block-five-tiles-image
  .wp-block-columns:first-of-type
  .wp-block-column:first-child
  p:first-of-type {
  font-size: 1em;
  font-weight: inherit;
}

#page
  .block-five-tiles-image
  .wp-block-columns:first-of-type
  .wp-block-column:first-child::before {
  content: "";
  position: absolute;
  top: 32px;
  width: 80px;
  height: 4px;
  background: #192878;
}

#page
  .block-five-tiles-image
  .wp-block-columns:nth-of-type(2)
  .wp-block-column {
  min-height: 315px;
}

#page
  .block-five-tiles-image
  .wp-block-columns:nth-of-type(2)
  .wp-block-column:last-child {
  background: transparent;
  border: none;
  padding: 0;
}

#page
  .block-five-tiles-image
  .wp-block-columns:nth-of-type(2)
  .wp-block-column:last-child
  img {
  height: 315px;
  object-fit: cover;
}

#page .block-five-tiles-image figure {
  border: solid 1px #faaf0f;
}

@media (min-width: 1600px) {
  #page .block-five-tiles-image {
    margin-left: -200px;
    margin-right: -200px;
    padding-left: 200px !important;
    padding-right: 200px !important;
  }
}

@media (min-width: 781px) and (max-width: 1200px) {
  #page .block-five-tiles-image {
    margin-left: -30px;
    margin-right: -30px;
    padding-left: 30px !important;
    padding-right: 30px !important;
  }

  #page
    .block-five-tiles-image
    .wp-block-columns:nth-of-type(2)
    .wp-block-column:last-child
    img,
  #page
    .block-five-tiles-image
    .wp-block-columns:nth-of-type(2)
    .wp-block-column {
    min-height: 400px;
  }
}

@media (max-width: 781px) {
  #page .block-five-tiles-image {
    margin-left: -20px;
    margin-right: -20px;
    padding: 40px 20px !important;
  }

  #page .block-five-tiles-image .wp-block-columns:first-of-type {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 2px;
  }

  #page
    .block-five-tiles-image
    .wp-block-columns:first-of-type
    .wp-block-column:first-child
    h2 {
    margin-top: 40px;
  }

  #page
    .block-five-tiles-image
    .wp-block-columns:first-of-type
    .wp-block-column {
    min-height: auto;
  }

  #page
    .block-five-tiles-image
    .wp-block-columns:nth-of-type(2)
    .wp-block-column:last-child
    img,
  #page
    .block-five-tiles-image
    .wp-block-columns:nth-of-type(2)
    .wp-block-column {
    min-height: auto;
  }
}

@media (min-width: 2500px) {
  #page .block-five-tiles-image {
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
  }

  #page .block-five-tiles-image .wp-block-columns {
    max-width: 1600px;
    margin: auto;
  }
}

/*ZIELONY KAMPUS*/

#page .block-campus {
  gap: 100px;
}

#page .block-campus h2 strong {
  font-weight: 600 !important;
}

#page
  .block-campus
  .wp-block-column:nth-child(2)
  .wp-block-image:first-of-type {
  display: flex;
  justify-content: flex-end;
}

#page
  .block-campus
  .wp-block-column:nth-child(2)
  .wp-block-image:first-of-type
  img {
  height: 300px;
  width: 100%;
  object-fit: cover;
  padding-left: 100px;
}

#page
  .block-campus
  .wp-block-column:nth-child(2)
  .wp-block-image:nth-of-type(2) {
  margin-top: -100px;
}

#page
  .block-campus
  .wp-block-column:nth-child(2)
  .wp-block-image:nth-of-type(2)
  img {
  width: 300px;
  height: 215px;
  object-fit: cover;
  border-top: 8px solid white;
  border-right: 8px solid white;
}

@media (min-width: 781px) and (max-width: 1200px) {
  #page
    .block-campus
    .wp-block-column:nth-child(2)
    .wp-block-image:first-of-type
    img {
    height: auto;
    padding-left: 50px;
  }

  #page
    .block-campus
    .wp-block-column:nth-child(2)
    .wp-block-image:nth-of-type(2)
    img {
    width: 65%;
    height: auto;
  }

  #page
    .block-campus
    .wp-block-column:nth-child(2)
    .wp-block-image:nth-of-type(2) {
    margin-top: -65px;
  }
}

@media (min-width: 1600px) {
  #page
    .block-campus
    .wp-block-column:nth-child(2)
    .wp-block-image:first-of-type
    img {
    height: auto;
    width: 100%;
  }
}

@media (max-width: 781px) {
  #page .block-campus {
    margin: 40px 0 !important;
    gap: 32px;
    flex-direction: column-reverse;
  }

  #page
    .block-campus
    .wp-block-column:nth-child(2)
    .wp-block-image:first-of-type
    img {
    height: auto;
    padding-left: 12%;
  }

  #page
    .block-campus
    .wp-block-column:nth-child(2)
    .wp-block-image:nth-of-type(2)
    img {
    width: 50%;
    height: auto;
  }

  #page
    .block-campus
    .wp-block-column:nth-child(2)
    .wp-block-image:nth-of-type(2) {
    margin-top: -20%;
  }
}

/*Odbicie lustrzane*/

#page .block-campus {
  gap: 100px;
}

#page .block-campus .wp-block-column:first-child .wp-block-image:first-of-type {
  display: flex;
  justify-content: flex-start;
}

#page
  .block-campus
  .wp-block-column:first-child
  .wp-block-image:first-of-type
  img {
  height: 300px;
  object-fit: cover;
  padding-right: 100px;
}

#page
  .block-campus
  .wp-block-column:first-child
  .wp-block-image:nth-of-type(2) {
  margin-top: -100px;
  display: flex;
  justify-content: flex-end;
}

#page
  .block-campus
  .wp-block-column:first-child
  .wp-block-image:nth-of-type(2)
  img {
  width: 300px;
  height: 215px;
  object-fit: cover;
  border-top: 8px solid white;
  border-left: 8px solid white;
}

@media (min-width: 781px) and (max-width: 1200px) {
  #page
    .block-campus
    .wp-block-column:first-child
    .wp-block-image:first-of-type
    img {
    height: auto;
    padding-right: 50px;
  }

  #page
    .block-campus
    .wp-block-column:first-child
    .wp-block-image:nth-of-type(2)
    img {
    width: 65%;
    height: auto;
  }

  #page
    .block-campus
    .wp-block-column:first-child
    .wp-block-image:nth-of-type(2) {
    margin-top: -65px;
  }
}

@media (max-width: 781px) {
  #page .block-campus {
    margin: 40px 0 !important;
    gap: 32px;
    flex-direction: column-reverse;
  }

  #page
    .block-campus
    .wp-block-column:first-child
    .wp-block-image:first-of-type
    img {
    height: auto;
    padding-right: 12%;
  }

  #page
    .block-campus
    .wp-block-column:first-child
    .wp-block-image:nth-of-type(2)
    img {
    width: 50%;
    height: auto;
    border-width: 4px;
  }

  #page
    .block-campus
    .wp-block-column:first-child
    .wp-block-image:nth-of-type(2) {
    margin-top: -20%;
  }
}

/*NAUKA I BADANIA*/

#page .block-image-yellow-background figure {
  position: relative;
  padding: 24px 0;
  display: flex;
  align-items: center;
}

#page .block-image-yellow-background img {
  position: relative;
  z-index: 9;
}

#page .block-image-yellow-background .wp-block-column:nth-of-type(2) figure {
  justify-content: flex-end;
  padding-right: 12%;
}

#page .block-image-yellow-background .wp-block-column:first-of-type figure {
  justify-content: flex-start;
  padding-left: 12%;
}

#page
  .block-image-yellow-background
  .wp-block-column:nth-of-type(2)
  figure::after {
  position: absolute;
  content: "";
  background: var(
    --gradient-yellow,
    linear-gradient(127deg, #f8b20e 0%, #f89324 100%)
  );
  height: 100%;
  width: 60%;
  right: 0;
}

#page .block-image-yellow-background .wp-block-column:first-of-type figure {
  justify-content: flex-end;
  padding-right: 12%;
}

#page
  .block-image-yellow-background
  .wp-block-column:first-of-type
  figure::after {
  position: absolute;
  content: "";
  background: var(
    --gradient-yellow,
    linear-gradient(127deg, #f8b20e 0%, #f89324 100%)
  );
  height: 100%;
  width: 60%;
  left: 0;
}

@media (max-width: 1200px) {
  #page .block-image-yellow-background {
    gap: 1em;
  }
}

@media (max-width: 781px) {
  #page .block-image-yellow-background {
    margin: 40px 0 !important;
    flex-direction: column-reverse;
  }
}

/*KARUZELA KIERUNKÓW*/

#page .block-courses-of-study {
  padding: 170px 0 100px 0;
  position: relative;
  max-width: none;
}

#page .block-courses-of-study::before {
  content: "";
  position: absolute;
  left: -160px;
  top: 0;
  width: 78%;
  height: 100%;
  background: var(
    --gradient-gray,
    linear-gradient(136deg, #eef3fa 0%, #fcfdff 102.74%)
  );
}

#page .block-courses-of-study .wp-block-column {
  z-index: 9;
}

#page .block-courses-of-study .uagb-ifb-content {
  position: relative;
}

#page .block-courses-of-study .uagb-ifb-content .uagb-ifb-image-content img {
  aspect-ratio: 4/5;
  object-fit: cover;
}

#page .block-courses-of-study .uagb-ifb-title-wrap {
  position: absolute;
  bottom: 0;
  padding: 40px 24px;
}

#page .block-courses-of-study .uagb-ifb-title {
  color: white;
  font-size: 1.2em;
  padding-top: 5%;
}

#page .block-courses-of-study .wp-block-uagb-info-box:hover .uagb-ifb-title {
  text-decoration: underline;
  text-underline-offset: 5px;
}

#page .block-courses-of-study .uagb-ifb-image-content {
  position: relative;
}

#page .block-courses-of-study .uagb-ifb-image-content::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  background: linear-gradient(0deg, #00041b 0%, rgba(0, 0, 0, 0) 100%);
  height: 100%;
  width: 100%;
}

#page .block-courses-of-study .swiper-button-next {
  position: absolute;
  top: -50px;
  right: 0;
  background: transparent;
  border: solid 1px #192878;
  border-radius: 0;
}

#page .block-courses-of-study .swiper-button-next::after {
  content: "";
  background: url(/wp-content/uploads/2023/10/Arrow-Copy-7-1.svg);
  background-size: 16px;
  background-repeat: no-repeat;
  width: 16px;
  height: 14px;
}

#page .block-courses-of-study .swiper-button-next:hover {
  background: #192878;
}

#page .block-courses-of-study .swiper-button-next:hover::after {
  background: url(/wp-content/uploads/2023/10/Arrow-Copy-7-2.svg);
  background-size: 16px;
}

#page
  .block-courses-of-study
  .swiper-button-next.swiper-button-disabled:hover::after {
  background: url(/wp-content/uploads/2023/10/Arrow-Copy-7-1.svg);
  background-size: 16px;
}

#page .block-courses-of-study .swiper-button-prev {
  position: absolute;
  top: -50px;
  left: auto;
  right: 64px;
  background: transparent;
  border: solid 1px #192878;
  border-radius: 0;
}

#page .block-courses-of-study .swiper-button-prev::after {
  content: "";
  background: url(/wp-content/uploads/2023/10/Arrow-Copy-7.svg);
  background-size: 16px;
  background-repeat: no-repeat;
  width: 16px;
  height: 14px;
}

#page .block-courses-of-study .swiper-button-prev:hover {
  background: #192878;
}

#page .block-courses-of-study .swiper-button-prev:hover::after {
  background: url(/wp-content/uploads/2023/10/Arrow-Copy-7-3.svg);
  background-size: 16px;
}

#page
  .block-courses-of-study
  .swiper-button-prev.swiper-button-disabled:hover::after {
  background: url(/wp-content/uploads/2023/10/Arrow-Copy-7.svg);
  background-size: 16px;
}

#page .block-courses-of-study .swiper-button-disabled:hover {
  background: transparent;
}

#page .block-courses-of-study .uagb-swiper {
  margin-right: -24px;
}

#page .block-courses-of-study .swiper-content {
  margin-right: 24px;
  padding: 0;
}

@media (min-width: 1600px) {
  #page .block-courses-of-study::before {
    left: -200px;
  }
}

@media (min-width: 781px) and (max-width: 1200px) {
  #page .block-courses-of-study {
    flex-direction: column;
    gap: 144px;
  }

  #page .block-courses-of-study .uagb-ifb-image-content img {
    width: 100%;
    height: 500px !important;
    object-fit: cover;
  }
}

@media (max-width: 781px) {
  #page .block-courses-of-study.desktop {
    display: none;
  }
}

@media (min-width: 2500px) {
  #page .block-courses-of-study::before {
    left: -100vw !important;
    width: 140vw !important;
  }
}

/*wersja mobilna*/

@media (min-width: 781px) {
  #page .block-courses-of-study.mobile {
    display: none;
  }
}

@media (max-width: 781px) {
  #page .block-courses-of-study.mobile {
    margin: 40px -20px !important;
    padding: 40px 20px 100px 20px;
    display: flex;
    background: var(
      --gradient-gray,
      linear-gradient(136deg, #eef3fa 0%, #fcfdff 102.74%)
    );
  }

  #page .block-courses-of-study::before {
    display: none;
  }

  #page .block-courses-of-study .swiper-slide {
    width: 100% !important;
    margin-left: 0;
  }

  #page .block-courses-of-study .uagb-ifb-image-content img {
    width: 100%;
    height: 250px !important;
    object-fit: cover;
    object-position: top;
  }

  #page .block-courses-of-study .swiper-wrapper,
  #page .block-courses-of-study .swiper-wrapper .uagb-slides,
  #page .block-courses-of-study .swiper-slide {
    height: 250px;
    min-height: 250px;
  }

  #page .block-courses-of-study.mobile .swiper-button-prev {
    position: absolute;
    top: 0;
    left: auto;
    background: 0 0;
    border: solid 1px #192878;
    border-radius: 0;
    bottom: 0;
    margin-top: 278px;
  }

  #page .block-courses-of-study.mobile .swiper-button-prev:hover {
    background: #192878;
  }

  #page .block-courses-of-study.mobile .swiper-button-prev:hover::after {
    background: url(/wp-content/uploads/2023/10/Arrow-Copy-7-3.svg);
    background-size: 16px;
  }

  #page .block-courses-of-study.mobile .swiper-button-next {
    position: absolute;
    top: 0;
    right: 0;
    left: auto;
    background: 0 0;
    border: solid 1px #192878;
    border-radius: 0;
    bottom: 0;
    margin-top: 278px;
  }

  #page .block-courses-of-study.mobile .swiper-button-next:hover {
    background: #192878;
  }

  #page .block-courses-of-study.mobile .swiper-button-next:hover::after {
    background: url(/wp-content/uploads/2023/10/Arrow-Copy-7-2.svg);
    background-size: 16px;
  }

  #page .block-courses-of-study.mobile .swiper-button-disabled:hover {
    background: transparent;
  }
}

/*DOKĄD NA STUDIA MILORDZIE*/

#page .block-study-offer {
  padding: 120px 0 100px 0;
  position: relative;
}

#page .block-study-offer::before {
  content: "";
  position: absolute;
  left: -160px;
  top: 0;
  width: 78%;
  height: 100%;
  background: var(
    --gradient-gray,
    linear-gradient(136deg, #eef3fa 0%, #fcfdff 102.74%)
  );
}

#page .block-study-offer .wp-block-column:nth-of-type(2) {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}

#page .block-study-offer .wp-block-uagb-info-box {
  margin-top: 0;
}

#page .block-study-offer .wp-block-column {
  z-index: 9;
}

#page .block-study-offer .uagb-ifb-content {
  position: relative;
}

#page .block-study-offer .uagb-ifb-title-wrap {
  position: absolute;
  bottom: 0;
  padding: 24px;
}

#page .block-study-offer .uagb-ifb-title {
  color: white;
  font-size: 1.2em;
  padding-top: 5%;
}

#page .block-study-offery .wp-block-uagb-info-box:hover .uagb-ifb-title {
  text-decoration: underline;
  text-underline-offset: 5px;
}

#page .block-study-offer .uagb-ifb-image-content {
  position: relative;
}

#page .block-study-offer .uagb-ifb-image-content::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  background: linear-gradient(0deg, #00041b 0%, rgba(0, 0, 0, 0) 100%);
  height: 100%;
  width: 100%;
}

#page .block-study-offer .uagb-ifb-image-content img {
  aspect-ratio: 6/4;
  object-fit: cover;
}

#page .block-study-offer .wp-block-uagb-info-box:hover .uagb-ifb-title {
  text-decoration: underline;
  text-underline-offset: 5px;
}

@media (min-width: 1600px) {
  #page .block-study-offer::before {
    left: -200px;
  }
}

@media (min-width: 781px) and (max-width: 1200px) {
  #page .block-study-offer .wp-block-column:nth-of-type(2) {
    grid-template-columns: 1fr 1fr;
  }

  #page .block-study-offer::before {
    left: -30px;
  }

  #page .block-study-offer .uagb-ifb-image-content img {
    height: 215px !important;
    width: 100%;
  }
}

@media (max-width: 781px) {
  #page .block-study-offer {
    flex-direction: column;
    padding: 40px 0;
  }

  #page .block-study-offer::before {
    width: 110%;
    left: -20px;
  }

  #page .block-study-offer .wp-block-column:first-of-type .wp-block-image {
    display: none;
  }

  #page .block-study-offer .wp-block-column:nth-of-type(2) {
    grid-template-columns: 1fr;
  }

  #page .block-study-offer .uagb-ifb-image-content img {
    max-height: none !important;
    height: auto !important;
    width: 100%;
  }

  #page .block-study-offer .wp-block-column {
    margin: 0;
  }
}

@media (min-width: 2500px) {
  #page .block-study-offer::before {
    left: -100vw !important;
    width: 140vw !important;
  }
}

/*BIZNES*/

#page .block-six-tiles {
  gap: 24px;
}

#page .block-six-tiles .wp-block-columns {
  max-width: none;
}

#page .block-six-tiles .wp-block-column {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: white;
  border: solid 1px #faaf0f;
  padding: 32px;
}

#page .block-six-tiles .wp-block-column:nth-of-type(2) {
  border: none;
}

#page
  .block-six-tiles
  .wp-block-column:nth-of-type(2)
  .wp-block-columns
  .wp-block-column {
  border: solid 1px #faaf0f;
  background: transparent;
}

#page .block-six-tiles .wp-block-buttons {
  margin-top: 0.5em;
}

#page .block-six-tiles .wp-block-buttons a {
  padding: 0;
  color: #192878;
  background: transparent;
  border: none;
  text-align: left;
}

#page .block-six-tiles .wp-block-buttons a:hover {
  background: transparent;
  border: none;
  text-decoration: underline;
  text-underline-offset: 5px;
}

#page .block-six-tiles .wp-block-column p,
#page .block-six-tiles .wp-block-column ul {
  margin-bottom: 0.5em;
}

#page
  .block-six-tiles
  .wp-block-column:nth-of-type(2)
  .wp-block-columns
  .wp-block-column
  p:first-of-type {
  font-size: 1.15em;
  font-weight: 600;
}

#page .block-six-tiles .wp-block-columns:first-of-type .wp-block-column {
  min-height: 300px;
}

#page .block-six-tiles .wp-block-column:first-of-type {
  background: var(
    --gradient-yellow,
    linear-gradient(127deg, #f8b20e 0%, #f89324 100%)
  );
  position: relative;
}

#page .block-six-tiles .wp-block-columns:nth-of-type(2) .wp-block-column {
  min-height: 235px;
}

#page
  .block-six-tiles
  .wp-block-columns:nth-of-type(2)
  .wp-block-column:last-child
  img {
  height: auto;
  object-fit: cover;
}

@media (min-width: 1600px) {
  #page .block-six-tiles {
    margin-left: -200px;
    margin-right: -200px;
    padding-left: 200px !important;
    padding-right: 200px !important;
  }
}

@media (min-width: 781px) and (max-width: 1200px) {
  #page .block-six-tiles {
    margin-left: -30px;
    margin-right: -30px;
    padding-left: 30px !important;
    padding-right: 30px !important;
  }

  #page .block-six-tiles .wp-block-columns:first-of-type .wp-block-column {
    min-height: 460px;
  }

  #page
    .block-six-tiles
    .wp-block-columns:nth-of-type(2)
    .wp-block-column:last-child
    img,
  #page .block-six-tiles .wp-block-columns:nth-of-type(2) .wp-block-column {
    min-height: 400px;
  }
}

@media (max-width: 781px) {
  #page .block-six-tiles {
    margin: 40px 0 !important;
    gap: 0;
  }

  #page .block-six-tiles .wp-block-columns {
    gap: 0;
    margin-bottom: 0 !important;
  }

  #page .block-six-tiles .wp-block-columns:first-of-type .wp-block-column {
    min-height: auto;
    margin-bottom: 24px;
  }

  #page
    .block-six-tiles
    .wp-block-columns:nth-of-type(2)
    .wp-block-column:last-child
    img,
  #page .block-six-tiles .wp-block-columns:nth-of-type(2) .wp-block-column {
    min-height: auto;
    margin-bottom: 24px;
  }
}

/*WYDARZENIA*/

#page .block-main-events {
  margin-left: -160px;
  margin-right: -160px;
  padding-left: 160px;
  padding-right: 160px;
  background: var(
    --gradient-gray,
    linear-gradient(136deg, #eef3fa 0%, #fcfdff 102.74%)
  );
}

#page .block-main-events .mec-skin-carousel-container {
  margin: 60px 0;
}

#page .block-main-events .mec-event-carousel-content {
  margin-bottom: 0;
  padding: 32px;
}

#page .block-main-events .mec-event-carousel-content {
  background: white;
  min-height: 208px;
  box-shadow: none;
}

#page .block-main-events .mec-event-carousel-content p {
  font-family: "Poppins";
  font-size: 1em;
  margin-bottom: 0;
}

#page .block-main-events .wp-block-buttons {
  margin-top: 0;
}

#page .block-main-events .mec-event-date-carousel {
  font-family: "Poppins";
  font-weight: 600;
  /* margin-top: -8px; */
  background: #192878;
  line-height: 1.75;
  /* width: 180px; */
  height: 72px;
}

#page .block-main-events .mec-start-date-label {
  font-family: "Poppins";
  font-size: 1.1em;
  margin-left: -34px;
}

#page .block-main-events .mec-event-date-info-year {
  font-family: "Poppins";
  font-size: 16px;
  top: 34px;
  left: auto;
  right: 68px;
}

#page .block-main-events .mec-event-date-info {
  top: 14px;
  left: auto;
  right: 42px;
}

#page .block-main-events .mec-event-date-info .mec-start-date-label,
#page .block-main-events .mec-event-date-info .mec-event-date-info-year {
  font-size: 16px;
}

#page .block-main-events .mec-event-date-carousel::after {
  border-color: #192878;
}

#page .block-main-events .mec-event-carousel-title {
  font-family: "Poppins";
  margin-bottom: 24px;
  line-height: 28.8px;
}

#page .block-main-events .mec-event-carousel-title a {
  font-size: 22px;
  font-weight: 600;
}

#page .block-main-events .mec-event-image img {
  height: 245px;
  object-fit: cover;
  object-position: top;
}

#page .block-main-events .owl-item:first-of-type .mec-event-carousel-content {
  border: 1px solid #faaf0f;
  border-bottom-width: 4px;
}

#page .block-main-events .owl-item:nth-of-type(2) .mec-event-carousel-content {
  border: 1px solid #73be78;
  border-bottom-width: 4px;
}

#page .block-main-events .owl-item:nth-of-type(3) .mec-event-carousel-content {
  border: 1px solid #afe1fa;
  border-bottom-width: 4px;
}

#page .block-main-events .mec-event-article.mec-clear:hover h4 a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (min-width: 1600px) {
  #page .block-main-events {
    margin-left: -200px;
    margin-right: -200px;
    padding-left: 200px;
    padding-right: 200px;
  }

  #page .block-main-events .mec-event-image img {
    height: 300px;
  }
}

@media (min-width: 781px) and (max-width: 1200px) {
  #page .block-main-events {
    margin-left: -30px;
    margin-right: -30px;
    padding-left: 30px;
    padding-right: 30px;
  }

  #page .block-main-events .owl-stage {
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 32px;
  }

  #page .block-main-events .owl-stage .owl-item {
    width: 100% !important;
  }

  #page .block-main-events .mec-event-date-info-year {
    font-family: "Poppins";
    font-size: 16px;
    top: 34px;
    left: 71px;
  }

  #page .block-main-events .mec-event-date-info {
    top: 12px;
    left: 105px;
  }

  #page .block-main-events .mec-event-date-carousel:after {
    top: 53px;
  }

  #page .block-main-events .mec-event-date-carousel:after {
    left: 7px;
  }
}

@media (min-width: 781px) and (max-width: 1000px) {
  #page .block-main-events .mec-start-date-label {
    font-size: 1.7em;
  }
}

@media (max-width: 781px) {
  #page .block-main-events {
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
    padding-right: 20px;
    margin-top: 40px !important;
    margin-bottom: 40px !important;
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }

  #page .block-main-events .mec-skin-carousel-container {
    margin: 32px 0;
  }

  #page .block-main-events .mec-event-carousel-content {
    padding: 16px;
    min-height: auto;
  }
  #page .block-main-events .mec-event-carousel-title {
    margin-bottom: 16px;
  }

  #page .block-main-events .mec-event-image img {
    height: auto;
  }

  #page .block-main-events .owl-stage {
    display: grid;
    grid-template-columns: 1fr;
  }

  #page .block-main-events .owl-stage .owl-item {
    width: 100% !important;
    margin-bottom: 24px;
  }

  #page .block-main-events .mec-event-date-info-year {
    font-family: "Poppins";
    font-size: 12px;
    top: 28px;
    left: auto;
    right: 44px;
  }

  #page .block-main-events .mec-event-date-info {
    top: 12px;
    left: auto;
    right: 24px;
  }

  #page .block-main-events .mec-event-date-carousel:after {
    top: 46px;
    left: 5.5px;
  }

  #page .block-main-events .mec-start-date-label {
    font-family: "Poppins";
    /* font-size: 1.4em; */
    margin-left: -34px;
    line-height: normal;
  }

  #page .block-main-events .mec-event-date-info .mec-start-date-label,
  #page .block-main-events .mec-event-date-info .mec-event-date-info-year {
    font-size: 12px;
  }

  #page .block-main-events .mec-event-date-carousel,
  #page .block-main-events .mec-event-date-carousel::before {
    height: 60px;
    margin-top: -25px;
  }
}

@media (max-width: 450px) {
  #page .block-main-events .mec-start-date-label {
    font-family: "Poppins";
    font-size: 1.4em;
    margin-left: 0;
    line-height: inherit;
  }

  #page .block-main-events .mec-event-date-info {
    right: 16px;
  }

  #page .block-main-events .mec-event-date-info-year {
    right: 36px;
  }
}

@media (min-width: 2500px) {
  #page .block-main-events {
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
  }

  #page .block-main-events > .wp-block-column {
    max-width: 1600px;
    margin: auto;
  }
}

/*SOCIAL MEDIA*/

#page .custom-social-media {
  position: absolute;
  z-index: 10;
  right: 0;
  top: 200px;
  background-color: #192878;
  border-radius: 16px 0px 0px 16px;
  padding: 8px;
}

#page .custom-social-media svg {
  width: 24px;
  height: 24px;
}

#page .custom-social-media li {
  padding: 0.25em 0;
  color: white !important;
}

@media (max-width: 781px) {
  #page .custom-social-media {
    top: 180px;
  }
}
