/* === LP HEADER BASE === */
* {
  font-family: "Inter", sans-serif;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
dl,
dd,
dt {
  padding: 0;
  margin: 0;
  line-height: 1;
}

ul {
  list-style-type: none;
}

address {
  font-style: normal;
}

a {
  text-decoration: none;
}

body {
  margin: 0;
  padding: 0;
}
.lp-container {
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
  position: relative;
  z-index: 1;
}

@media (min-width: 1328px) {
  .lp-container {
    margin: 0 auto;
    padding-left: 0;
    padding-right: 0;
    max-width: 1352px;
  }
}
/* === HEADER === */
.lp-header {
  width: 100%;
  height: 80px;
  max-height: 80px;
  z-index: 10;
  padding-top: 9px;
  padding-bottom: 9px;
  border-bottom: 1px solid #eee;
  background-color: white;
  position: fixed;
  top: 0;
}

.lp-header__wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

/* === LOGO === */
.lp-logo {
  display: flex;
  align-items: center;
  max-width: 100%;
}
.lp-logo img {
  max-height: 55.8px;
  width: auto;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: contain;
}

/* === DESKTOP NAV === */
.lp-nav ul {
  list-style: none;
  display: flex;
  gap: 24px;
  padding: 0;
  margin: 0;
}
.lp-nav {
  margin-left: auto;
}
.lp-cta {
  margin-left: 24px;
}

.lp-nav a {
  text-decoration: none;
  color: #020817;
  font-weight: 500;
  font-size: 14px;
  transition: 0.25s ease-in-out;
}
.lp-nav a:hover {
  color: #288de2;
}

/* === MOBILE BUTTON === */
.lp-mobile-btn {
  display: none;
  background: none;
  border: none;
  font-size: 30px;
  cursor: pointer;
}

/* === MOBILE MENU (hidden by default) === */
.lp-mobile-menu {
  position: fixed;
  z-index: 9;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  transform: translateY(-100%);
  transition: 0.3s ease;
  padding: 150px 30px 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.lp-mobile-menu.active-btn {
  transform: translateY(0);
}

.lp-mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.lp-mobile-menu li a {
  text-decoration: none;
  color: #000;
  font-size: 32px;
  font-weight: 500;
}

/* === MOBILE CTA === */
.lp-mobile-cta {
  margin-top: 45px;
  padding: 15px 0;
  width: 100%;
  background-color: #288de2;
  color: white;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  font-size: 20px;
  display: block;
  text-align: center;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .lp-header__wrapper {
    justify-content: space-between;
  }
  .lp-logo {
    max-width: calc(100% - 48px);
  }
  .lp-nav,
  .lp-cta {
    display: none !important;
  }

  .lp-mobile-btn {
    display: block;
  }
}

/* BURGER */
.lp-burger {
  width: 30px;
  height: 24px;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.lp-burger span {
  display: block;
  height: 3px;
  width: 100%;
  background: #000;
  border-radius: 2px;
  transition: 0.3s ease;
}

.lp-burger.active-btn span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

.lp-burger.active-btn span:nth-child(2) {
  opacity: 0;
}

.lp-burger.active-btn span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

@media (max-width: 768px) {
  .lp-burger {
    display: flex;
  }
}
/* HERO */
.lp-hero {
  margin-top: 80px;
  padding-top: 112px;
  padding-bottom: 112px;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  background-position: center center !important;
}
.lp-hero__wrapper {
  display: flex;
  justify-content: center;
}
.lp-hero__content {
  max-width: 847px;
}
.lp-hero__content p {
  margin-bottom: 0 !important;
}
.lp-hero p {
  font-size: 20px;
  line-height: 28px;
  text-align: center;
  color: #f8fafce5;
  margin-bottom: 24px;
}
.lp-hero-btns {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.lp-courses {
  background: #f8f9fc;
  padding-top: 48px;
  padding-bottom: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}
.lp-courses__wrapper {
  width: 100%;
}
.lp-why,
.lp-what,
.lp-faq {
  background: #f1f5f9;
  padding-top: 32px;
  padding-bottom: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}
.lp-faq {
  background: #f8f9fc !important;
}
/* Common */
.lp-btn {
  padding: 10px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.25s ease-in-out;
  text-align: center;
  cursor: pointer;
}
.lp-btn:hover {
  opacity: 0.8;
}
.lp-btn--blue {
  background-color: #288de2;
  color: white;
}
.lp-btn--border {
  background-color: #ffffff;
  color: #288de2;
  border: 1px solid #288de2;
}
.lp-btn--yellow {
  background-color: #d4af37;
  color: white;
}
.lp-title-h1 {
  font-size: 26px;
  line-height: 35px;
  font-weight: 700;
  margin-bottom: 24px;
  color: white;
  text-align: center;
}
.lp-title-h2 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  color: #020817;
}
.lp-title-h3 {
  font-size: 20px;
  line-height: 28px;
  color: #020817;
}
.lp-title-h4 {
  font-size: 18px;
  line-height: 28px;
  font-weight: 600;
  color: #f8fafc;
}
.lp-desc-14 {
  font-size: 14px;
  line-height: 20px;
}
.lp-desc-16 {
  font-size: 16px;
  line-height: 28px;
}
.lp-3-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.lp-3-col-item {
  width: 100%;
  flex-grow: 1;
  border-radius: 8px;
}
.lp-intro {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}
.lp-intro p,
.lp-intro h2 {
  text-align: center;
}

.lp-intro h2 {
  color: #020817;
  max-width: 678px;
}
.lp-intro p {
  color: #64748b;
  max-width: 672px;
}

/* LP Gutenberg */
.lp-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
/* .lp-content ul {
  list-style: inside;
  list-style-type: disc !important;
} */
.lp-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.lp-content ul li {
  position: relative;
  display: block;
  padding-left: 19px;
}

.lp-content ul li::before {
  content: "\2022";
  position: absolute;
  left: 0;
  top: 0;
  line-height: 26px;
  text-align: center;
}

.lp-content ul li > * {
  min-width: 0;
}
.lp-content ol {
  list-style: inside;
}
.lp-content h1 {
  font-size: 26px;
  line-height: 35px;
  font-weight: 700;
  margin-bottom: 24px;
  color: #020817;
  text-align: center;
}
.lp-content h2 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  color: #020817;
}
.lp-content h3 {
  font-size: 20px;
  line-height: 28px;
  color: #020817;
}
.lp-content h4 {
  font-size: 18px;
  line-height: 28px;
  font-weight: 600;
  color: #020817;
}
.lp-content p,
.lp-content li,
.lp-content span {
  color: #64748b;
  font-size: 16px;
  line-height: 28px;
}
.lp-content a {
  color: #288de2;
}
@media (min-width: 991px) {
  .lp-content h1 {
    font-size: 60px;
    line-height: 60px;
  }
  .lp-content h2 {
    font-size: 36px;
    line-height: 40px;
  }
}
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 32px;
  margin-bottom: 32px;
}
thead tr {
  background: #f9f9f9;
}
tbody tr {
  background: #ffffff;
}
table a {
  color: #64748b;
  text-decoration: underline;
}
td,
th {
  vertical-align: top;
}
th {
  color: #64748b;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px;
  padding: 10px;
  border: 1px solid #f8f9fc;
}

td {
  padding: 10px;
  color: #64748b;
  font-size: 14px;
  font-style: normal;
  font-weight: 300;
  line-height: 20px;
  border: 1px solid #f8f9fc;
  height: 76px;
}

td a,
td p,
td span {
  color: #64748b;
  font-size: 14px;
  font-style: normal;
  font-weight: 300;
  line-height: 20px;
}

td,
th {
  text-align: left;
}

.wp-block-table {
  margin-left: 0;
  margin-right: 0;
}

/* LP Gutenberg end */
/* Course Item */
.lp-3-col-item--course {
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.lp-3-col-item--course-top {
  padding: 24px;
  background-color: #0040800d;
}
.lp-3-col-item--course-top-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}
.lp-3-col-item--course-top-rating {
  min-height: 40px;
  display: flex;
  align-items: center;
}
.lp-3-col-item--course-top-rating.is-empty {
  visibility: hidden;
}
.lp-3-col-item--course-top-actions .lp-btn {
  width: auto;
  max-width: 100%;
  white-space: nowrap;
}
.lp-3-col-item--course-bottom {
  flex-grow: 1;
  padding: 24px;
}
.lp-3-col-item--course-top-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: space-between;
}
.lp-3-col-item--course-top-left .lp-title-h3 {
  display: flex;
  flex-direction: column;
}
.lp-course-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.lp-course-info .lp-separator {
  display: none;
}
.lp-course-info p {
  color: #64748b;
}

.lp-3-col-item--course-bottom {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.lp-3-col-item--course-bottom .lp-desc-16 {
  color: #64748b;
}
.lp-3-col-item--course-date {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.lp-3-col-item--course-date-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 12px;
}
.lp-3-col-item--course-date-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1;
}
.lp-3-col-item--course-date .lp-3-col-item--course-date-heading,
.lp-3-col-item--course-date .lp-content.lp-desc-14.info.bold {
  font-weight: 600;
  color: #020817;
}
.lp-3-col-item--course-date .lp-content.lp-desc-14.info.bold p,
.lp-3-col-item--course-date .lp-content.lp-desc-14.info.bold a {
  color: #64748b !important;
  font-weight: bold !important;
}

.lp-3-col-item--course-date .lp-content.lp-desc-14.info.bold {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 8px;
}
.lp-3-col-item--course-date .lp-content.lp-desc-14.info.bold > span {
  display: inline-flex;
  line-height: 1;
}
.lp-3-col-item--course-date .lp-content.lp-desc-14.info.bold > span svg {
  display: block;
}
.lp-3-col-item--course-date .lp-content.lp-desc-14.info.bold p,
.lp-3-col-item--course-date .lp-content.lp-desc-14.info.bold a {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  margin: 0;
}
.lp-3-col-item--course-date .lp-content.lp-desc-14.info.bold a {
  text-decoration: underline;
}
.lp-3-col-item--course-date p.additional {
  margin-left: 24px;
  margin-top: -4px;
  font-size: 14px;
  line-height: 20px;
  color: #64748b;
}
.lp-3-col-item--course-date-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-width: 112px;
  min-height: 36px;
  padding: 8px 14px;
  background: #288de2;
  border: 1px solid #288de2;
  border-radius: 6px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}
.lp-3-col-item--course-date-link::after {
  content: "";
  width: 7px;
  height: 7px;
  display: inline-block;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  margin-left: 10px;
}
.lp-3-col-item--course-date-link:hover {
  opacity: 0.9;
}
.lp-3-col-item--course-date-link[aria-disabled="true"]::after {
  content: none;
}
.lp-3-col-item--course-date-link[aria-disabled="true"] {
  background: #e2e8f0;
  border-color: #e2e8f0;
  color: #64748b;
  pointer-events: none;
}

.lp-3-col-item--course-btns {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.rating-number {
  font-weight: 700;
}
.rating-block {
  width: 100px;
}
/* why item */
.lp-3-col-item--why {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0px 2px 4px -2px #0000001a;
  box-shadow: 0px 4px 6px -1px #0000001a;
  border-radius: 8px;
  background-color: #ffffff;
}
/* what item */
.lp-3-col-item--what {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: space-between;
  box-shadow: 0px 2px 4px -2px #0000001a;
  box-shadow: 0px 4px 6px -1px #0000001a;
  border-radius: 8px;
  background-color: #ffffff;
  position: relative;
}
.lp-3-col-item--what::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1.5px;
  width: 100%;
  width: calc(100% - 3px);
  height: 4px;
  background-color: #ffbf00;
  display: block;
  border-top-left-radius: 3000px 1000px;
  border-top-right-radius: 3000px 1000px;
  -webkit-transform-origin: center;
  transform-origin: center;
  -webkit-transform: scaleX(-1);
  transform: scaleX(-1);
}
.lp-3-col-item--what-txt {
  color: #64748b;
}
.lp-3-col-item--what-bottom .lp-desc-16 {
  font-weight: 600;
  color: #020817;
  margin-bottom: 2px;
}
.lp-3-col-item--what-bottom .lp-desc-14 {
  color: #64748b;
}
.lp-3-col-item--what.has-rating {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "txt txt"
    "bottom rating";
  align-items: end;
}
.lp-3-col-item--what.has-rating .lp-3-col-item--what-txt {
  grid-area: txt;
}
.lp-3-col-item--what.has-rating .lp-3-col-item--what-bottom {
  grid-area: bottom;
  max-width: none;
}
.lp-3-col-item--what-rating {
  grid-area: rating;
  position: static;
  pointer-events: none;
  margin-left: 16px;
}
.lp-3-col-item--what-rating .rating-block {
  width: auto;
}
.lp-3-col-item--what-rating .rating-stars {
  display: flex;
  align-items: center;
  gap: 2px;
}

@media (max-width: 420px) {
  .lp-3-col-item--what.has-rating {
    grid-template-columns: 1fr;
    grid-template-areas:
      "txt"
      "bottom"
      "rating";
    align-items: start;
  }
  .lp-3-col-item--what.has-rating .lp-3-col-item--what-bottom {
    max-width: none;
  }
  .lp-3-col-item--what-rating {
    margin-left: 0;
  }
}
/* FAQ Accordion */
.js-accordion-lp {
  display: flex;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  cursor: pointer;
  transition: 0.4s;
  background: transparent;
  font-weight: 500;
  color: #020817;
}
.js-accordion-lp:after {
  content: url("data:image/svg+xml,%3Csvg width='11' height='7' viewBox='0 0 11 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.67163 1.83594L5.83585 6.00015L10.0001 1.83594' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
  color: #020817;
  font-weight: bold;
  transition: 0.3s;
}

.active:after {
  transform: rotate(180deg);
  content: url("data:image/svg+xml,%3Csvg width='11' height='7' viewBox='0 0 11 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.67163 1.83594L5.83585 6.00015L10.0001 1.83594' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
}

.panel-lp {
  max-height: 0;
  height: 100%;
  border-bottom: 1px solid #e2e8f0;
  overflow-x: hidden;
  overflow-y: auto;
  transition:
    padding-bottom 0.1s ease-in-out,
    max-height 0.4s ease-in-out;
}
.panel-lp.is-active {
  max-height: 1000px;
  padding-bottom: 16px;
}
.lp-faq-item:nth-last-child(1) .panel-lp {
  border-bottom: none;
}
.lp-faq__wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.lp-faq-items {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 768px;
  border-radius: 8px;
  overflow: hidden;
  background-color: #ffffff;
  box-shadow: 0px 1px 2px 0px #0000000d;
  padding: 24px;
}
/* Media query */
@media (min-width: 768px) {
  .lp-container {
    padding-left: 30px;
    padding-right: 30px;
  }
  .lp-hero-btns {
    flex-direction: row;
    justify-content: center;
  }
  .lp-course-info {
    flex-direction: row;
    gap: 8px;
    align-items: center;
  }
  .lp-course-info .lp-separator:not(:last-child) {
    display: flex;
  }
  .lp-3-col-item--course-date-row {
    align-items: flex-start;
  }
  .lp-3-col-item--course-btns {
    width: 100%;
    flex-direction: row;
  }
  .lp-3-col-item--course-btns a {
    width: calc(50% - 12px);
  }
}

@media (min-width: 992px) {
  .lp-title-h1 {
    font-size: 60px;
    line-height: 60px;
  }
  .lp-title-h2 {
    font-size: 36px;
    line-height: 40px;
  }
  .lp-container {
    padding-left: 40px;
    padding-right: 40px;
  }
  .lp-3-col {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .lp-3-col-item {
    width: calc(100% / 3 - 16px);
    max-width: calc(50% - 12px);
  }
  .lp-intro {
    margin-bottom: 48px;
  }
  .lp-courses {
    padding-bottom: 96px;
    gap: 48px;
  }
  .lp-why,
  .lp-what,
  .lp-faq {
    padding-top: 64px;
    padding-bottom: 64px;
    gap: 48px;
  }
  .lp-3-col-item--course-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
  }
  .lp-3-col-item--course-top-actions {
    margin-top: 0;
    align-items: center;
  }
  .rating-block {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}
@media (min-width: 992px) and (max-width: 1176px) {
  .lp-3-col-item--course-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .lp-3-col-item--course-top-actions {
    width: 100%;
    align-items: flex-start;
  }

  .lp-3-col-item--course-top-actions .lp-btn {
    width: 100%;
    max-width: 220px;
  }

  .lp-3-col-item--course-top-left .lp-title-h3 {
    font-size: 18px;
    line-height: 24px;
  }
}

.lp-ninja .nf-form-content {
  padding: 0;
}

.lp-ninja .nf-before-form-content .nf-form-fields-required {
  color: #64748b;
  font-size: 12px;
  font-weight: 400;
  margin-bottom: 10px;
}

.lp-ninja .nf-field .nf-field-label label {
  color: #f8fafccc;
  font-size: 10px;
  font-weight: 400;
}
.lp-ninja .checkbox-wrap .nf-field-label label:after {
  background-color: #f8fafccc;
  width: 12px;
  height: 12px;
}
.lp-ninja .checkbox-container.label-right label {
  margin: 0 0 0 20px;
  line-height: 1.3;
}
.lp-ninja .checkbox-container.label-right label:after {
  left: -20px;
}
.lp-ninja .nf-field .submit-wrap {
  height: 36px;
}

.lp-ninja .nf-field .submit-wrap .nf-field-label {
  display: none;
}

.lp-ninja .nf-field .nf-field-element {
  font-family: "Inter", sans-serif;
}

/* Email input */
.lp-ninja .nf-field .nf-field-element input[type="email"] {
  border-radius: 6px;
  height: 36px;
  border-color: #f8fafc1a;
  background: #f8fafc1a;
}

.lp-ninja .nf-field .nf-field-element input[type="email"]::placeholder {
  color: #eaeaea;
  font-size: 14px;
}

/* Submit button */
.lp-ninja .nf-field .nf-field-element input[type="submit"] {
  width: 100%;
  border-radius: 6px;
  height: 36px;
  background-color: #d4af36;
  font-size: 14px;
  font-weight: 500;
  transition: 0.25s;
  line-height: 1;
  cursor: pointer;
}

.lp-ninja .nf-field .nf-field-element input[type="submit"]:hover {
  background: #d79200;
  color: #fff;
  opacity: 1;
}

.lp-ninja .nf-field .nf-field-element:after {
  height: 36px !important;
  line-height: 36px !important;
}

.lp-ninja .email-container {
  margin-bottom: 0;
}
.lp-ninja .nf-checked-label:before {
  font-size: 12px !important;
  left: -20px !important;
}
/* ---------------------------------------- */
/* Desktop styles (min-width: 991px)        */
/* ---------------------------------------- */

@media (min-width: 991px) {
  .lp-ninja nf-fields-wrap {
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: 40px auto;
    row-gap: 1px;
  }
  .lp-ninja .nf-field .nf-field-element input[type="submit"] {
    margin-left: 8px;
  }
  /* Powtórzenie niepotrzebne, ale Ninja Forms generuje to pseudo-elementem */
  .lp-ninja .nf-field .nf-field-element:after {
    height: 36px !important;
    line-height: 36px !important;
  }
}

/* Footer */
.lp-footer {
  background: #003461;
  padding-top: 24px;
  padding-bottom: 24px;
}
.lp-footer-top {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media (min-width: 660px) {
  .lp-footer-top {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .lp-top-item {
    width: calc(50% - 16px);
    max-width: 314px;
  }
}
@media (min-width: 1024px) {
  .lp-top-item {
    width: calc(25% - 8px);
    max-width: 314px;
  }
}
@media (min-width: 1200px) {
  .lp-top-item:not(:nth-last-child(1)) {
    width: 20%;
  }
}
.lp-footer-logos {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 16px;
}
.lp-footer-logos img,
.lp-top-item img {
  max-height: 44px;
  width: auto;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: contain;
}
.lp-footer-logos p {
  color: #f8fafccc;
}
.lp-footer-quick .lp-title-h4 {
  margin-bottom: 16px;
}
.lp-footer-quick ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.lp-footer-quick ul li a {
  font-size: 14px;
  color: #f8fafc;
  transition: 0.25s ease-in-out;
}
.lp-footer-quick ul li a:hover {
  opacity: 0.7;
}

.lp-footer-contact .lp-title-h4 {
  margin-bottom: 8px;
}
.lp-footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.lp-footer-contact a,
.lp-footer-contact p,
.lp-footer-contact span,
.lp-footer-contact li {
  font-size: 14px;
  color: #f8fafc;
  transition: 0.25s ease-in-out;
  line-height: 1;
}
.lp-footer-contact a:hover {
  opacity: 0.7;
}
.lp-footer-newsletter {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.lp-footer-newsletter .lp-desc-14 {
  color: #f8fafccc;
}
.lp-footer-bottom {
  display: flex;
  flex-direction: column-reverse;
  gap: 16px;
  padding-top: 25px;
  margin-top: 25px;
  border-top: 1px solid #f8fafc33;
}

.lp-footer-bottom ul {
  display: flex;
  gap: 8px;
}
.lp-footer-bottom ul li a {
  font-size: 12px;
  color: #f8fafc99;
  transition: 0.25s ease-in-out;
}
.lp-footer-bottom ul li a:hover {
  opacity: 0.7;
}
.lp-footer-bottom-c {
  font-size: 12px;
  color: #f8fafc99;
  line-height: 16px;
}
@media (min-width: 991px) {
  .lp-footer {
    padding-top: 48px;
    padding-bottom: 48px;
  }
  .lp-footer-newsletter {
    gap: 16px;
  }
  .lp-footer-bottom ul {
    gap: 16px;
  }
  .lp-footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}
/* ABOUT US template and Contact */
.page-template-lp-about .lp-hero,
.page-template-lp-contact .lp-hero {
  padding-bottom: 122px;
}
.page-template-lp-about .lp-hero__content {
  max-width: 981px;
}
.page-template-lp-about .lp-hero__content span {
  font-weight: 400;
}
.page-template-lp-about .lp-title-h2 {
  text-align: left;
  margin-bottom: 24px;
}
@media (min-width: 991px) {
  .page-template-lp-about .lp-title-h1 {
    line-height: 68px;
  }
  .page-template-lp-about .lp-title-h2 {
    margin-bottom: 48px;
  }
}
/* Content section */
.lp-about-content {
  padding-top: 48px;
  padding-bottom: 48px;
}
.lp-about-content .lp-content p,
.lp-about-content .lp-content li,
.lp-about-content .lp-content span {
  color: #64748b;
  font-size: 20px;
  line-height: 28px;
}
.lp-about-content .lp-content a {
  color: #288de2;
}
@media (min-width: 991px) {
  .lp-about-content {
    padding-top: 96px;
    padding-bottom: 96px;
  }
}
/* INSIGHTS CSS */
.lp-insights {
  padding-top: 32px;
  padding-bottom: 32px;
}
.lp-insights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.lp-insight-item {
  border: 1px solid #64748bb3;
  border-radius: 6px;
  padding: 16px;
  display: flex;
  flex-direction: column;
}

.lp-insight-item img {
  width: 100%;
  height: auto;
  margin-bottom: 12px;
  display: block;
  border-radius: 6px;
}

.lp-insight-item h3 {
  font-size: 18px;
  margin: 0 0 8px;
}

.lp-insight-item p {
  font-size: 14px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #64748b;
}
.lp-insight-item a {
  text-decoration: none;
  color: inherit;
}

.lp-insights-loadmore {
  display: flex;
  justify-content: flex-end;
  margin-top: 24px;
}

.lp-insights-loadmore button {
  border-color: #288de2;
  cursor: pointer;
}
@media (min-width: 991px) {
  .lp-insights {
    padding-top: 64px;
    padding-bottom: 64px;
  }
}
@media (max-width: 1024px) {
  .lp-insights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .lp-insights-grid {
    grid-template-columns: 1fr;
  }
}
.lp-insights-loader {
  text-align: center;
  padding: 16px;
  font-weight: bold;
  display: none;
}
/* Partners */
.lp-partners {
  background: #f1f5f9;
  padding-top: 32px;
  padding-bottom: 32px;
}
.lp-partners-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 768px) {
  .lp-partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.lp-partners-item-top {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}
.lp-partners-logo {
  min-height: 62px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.lp-partners-logo img {
  max-width: 126px;
  height: auto;
  margin-bottom: 0;
}
.lp-partners-logo-link {
  display: inline-block;
  line-height: 1;
}

.lp-partners-title {
  margin-bottom: 0 !important;
}

.lp-partners-description .lp-content p,
.lp-partners-description .lp-content li,
.lp-partners-description .lp-content span {
  color: #64748b;
  font-size: 20px;
  line-height: 28px;
}
.lp-partners-description .lp-content a {
  color: #288de2;
}
@media (min-width: 991px) {
  .lp-partners {
    padding-top: 64px;
    padding-bottom: 64px;
  }
  .lp-partners-description {
    padding-right: 68px;
  }
}

.lp-contact {
  padding-top: 32px;
  padding-bottom: 32px;
}
.lp-contact__wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
@media (min-width: 991px) {
  .lp-contact {
    padding-top: 64px;
    padding-bottom: 64px;
  }
}
/* ---------------------------------------- */
/* Ninja Form – lp-ninja-contact (base)     */
/* ---------------------------------------- */

.lp-ninja-contact {
  max-width: 500px;
  width: 100%;
}

.lp-ninja-contact .nf-form-content {
  padding: 0;
}

.lp-ninja-contact .nf-before-form-content .nf-form-fields-required {
  color: #64748b;
  font-size: 12px;
  font-weight: 400;
  margin-bottom: 10px;
}
.lp-ninja-contact .nf-error .nf-error-msg {
  font-size: 12px;
}
.lp-ninja-contact .nf-field .nf-field-label label {
  color: #64748b;
  font-size: 10px;
  font-weight: 400;
}

/* ---------------------------------------- */
/* Checkbox                                 */
/* ---------------------------------------- */

.lp-ninja-contact .checkbox-wrap .nf-field-label label:after {
  background-color: #f8fafccc;
  width: 12px;
  height: 12px;
}

.lp-ninja-contact .checkbox-container.label-right label {
  margin: 0 0 0 20px;
  line-height: 1.3;
}

.lp-ninja-contact .checkbox-container.label-right label:after {
  left: -20px;
}

.lp-ninja-contact .checkbox-wrap .nf-checked-label:before {
  font-size: 12px !important;
  left: -20px !important;
}

/* ---------------------------------------- */
/* Fields                 */
/* ---------------------------------------- */

.lp-ninja-contact .nf-field .nf-field-element {
  font-family: "Inter", sans-serif;
}

/* Inputy jak email */
.lp-ninja-contact input[type="email"],
.lp-ninja-contact input[type="text"],
.lp-ninja-contact input[type="tel"],
.lp-ninja-contact select,
.lp-ninja-contact textarea {
  border-radius: 6px !important;
  height: 36px !important;
  border: 1px solid #f8fafc1a !important;
  background: #fff !important;
  color: #64748b !important;
  padding: 0 12px !important ;
  font-size: 14px !important;
}
/* ---------------------------------------- */
/* Select */
/* ---------------------------------------- */

.lp-ninja-contact .nf-field-element select.ninja-forms-field {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  width: 100% !important;
  height: 36px !important;
  padding: 0 36px 0 12px !important;
  border-radius: 6px !important;
  border: 1px solid #f8fafc1a !important;
  background-color: #64748b !important;
  color: #64748b !important;
  font-family: "Inter", sans-serif;
  font-size: 14px !important;
  line-height: 36px !important;
  cursor: pointer;
}
.lp-ninja-contact select option {
  background-color: #1f2933; /* działa w Chrome/Edge */
  color: #ffffff;
}
/* Hover / focus */
.lp-ninja-contact .nf-field-element select:focus {
  outline: none !important;
  border-color: #d4af36 !important;
}

.lp-ninja-contact .nf-form-content .list-select-wrap .nf-field-element > div {
  height: 36px !important;
  background: #f8fafc1a !important;
}
.lp-ninja-contact
  .nf-form-content
  .list-select-wrap
  .nf-field-element
  > div:after {
  line-height: 36px !important;
  height: 36px !important;
}
/* textarea */
.lp-ninja-contact textarea {
  height: auto !important;
  min-height: 80px !important;
  padding: 8px 12px !important;
  resize: vertical !important;
}

/* Placeholder */
.lp-ninja-contact input::placeholder,
.lp-ninja-contact textarea::placeholder {
  color: #64748b !important;
  font-size: 14px !important;
}

/* ---------------------------------------- */
/* Submit                                   */
/* ---------------------------------------- */

.lp-ninja-contact .nf-field .submit-wrap {
  height: 36px !important;
}

.lp-ninja-contact .nf-field .submit-wrap .nf-field-label {
  display: none;
}

.lp-ninja-contact input[type="submit"] {
  width: 100% !important;
  height: 36px !important;
  border-radius: 6px !important;
  background-color: #d4af36 !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  transition: 0.25s !important;
  line-height: 1 !important;
  cursor: pointer !important;
}

.lp-ninja-contact input[type="submit"]:hover {
  background: #d79200 !important;
  color: #fff !important;
  opacity: 1 !important;
}

/* Pseudo-element Ninja */
.lp-ninja-contact .nf-field .nf-field-element:after {
  height: 36px !important;
  line-height: 36px !important;
}

.lp-ninja-contact .nf-error.field-wrap .nf-field-element:after {
  top: 1px !important;
  right: 2px !important;
  bottom: 1px !important;
  height: 36px !important;
  width: 36px !important;
  line-height: 32px !important;
  border-radius: 4px !important;
  font-size: 14px !important;
}

.lp-ninja-contact .nf-error.field-wrap .ninja-forms-field {
  padding-right: 44px !important;
}

/* ---------------------------------------- */
/* Layout – zawsze jedna kolumna            */
/* ---------------------------------------- */

.lp-ninja-contact nf-fields-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lp-ninja-contact .nf-field-container {
  margin-bottom: 10px;
}

/* ---------------------------------------- */
/* Ninja wrappers (lp-ninja-contact)        */
/* ---------------------------------------- */

.lp-ninja-contact .field-wrap,
.lp-ninja-contact .list-wrap,
.lp-ninja-contact .listradio-wrap,
.lp-ninja-contact .list-radio-wrap {
  margin-bottom: 12px;
}

.lp-ninja-contact .field-wrap .nf-field-label,
.lp-ninja-contact .list-wrap .nf-field-label,
.lp-ninja-contact .listradio-wrap .nf-field-label,
.lp-ninja-contact .list-radio-wrap .nf-field-label {
  margin-bottom: 6px;
}

.lp-ninja-contact .list-wrap .nf-field-element,
.lp-ninja-contact .listradio-wrap .nf-field-element,
.lp-ninja-contact .list-radio-wrap .nf-field-element {
  background: #ffffff;
}

.lp-ninja-contact .listradio-wrap .nf-field-element,
.lp-ninja-contact .list-radio-wrap .nf-field-element {
  background: transparent;
}

.lp-ninja-contact .listradio-wrap ul,
.lp-ninja-contact .list-radio-wrap ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.lp-ninja-contact .field-wrap.listradio-wrap.list-wrap.list-radio-wrap ul {
  position: relative;
}

.lp-ninja-contact
  .field-wrap.listradio-wrap.list-wrap.list-radio-wrap
  ul::before {
  content: "*";
  display: inline-block;
  margin-left: 2px;
  align-self: flex-start;
  color: #334155;
  font-size: 14px;
  line-height: 1;
}

.lp-ninja-contact .listradio-wrap li,
.lp-ninja-contact .list-radio-wrap li {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.lp-ninja-contact .listradio-wrap .nf-field-element label,
.lp-ninja-contact .list-radio-wrap .nf-field-element label {
  display: inline-block;
  width: auto;
  min-height: 0;
  margin: 0;
  padding: 0;
  background: transparent;
  color: #334155;
  font-size: 14px;
  line-height: 1.35;
  cursor: pointer;
  transition: none;
}

.lp-ninja-contact .listradio-wrap .nf-field-element label:hover,
.lp-ninja-contact .list-radio-wrap .nf-field-element label:hover {
  color: #334155;
}

.lp-ninja-contact .listradio-wrap .nf-field-element input[type="radio"],
.lp-ninja-contact .list-radio-wrap .nf-field-element input[type="radio"] {
  position: static;
  transform: none;
  width: 14px;
  height: 14px;
  margin: 0;
  vertical-align: middle;
  accent-color: #d4af36;
}

.lp-ninja-contact .listradio-wrap .nf-checked-label:before,
.lp-ninja-contact .list-radio-wrap .nf-checked-label:before {
  content: none !important;
  display: none !important;
}

.lp-ninja-contact
  .listradio-wrap
  .nf-field-element
  input[type="radio"]:checked
  + label,
.lp-ninja-contact
  .list-radio-wrap
  .nf-field-element
  input[type="radio"]:checked
  + label {
  color: #334155;
  font-weight: 400;
}

/* ---------------------------------------- */
/* Desktop – bez zmian kolumn               */
/* ---------------------------------------- */

@media (min-width: 991px) {
  .lp-ninja-contact {
    max-width: 500px;
  }
}

.page-template-lp-contact {
  background-color: #f1f5f9;
}

/* Modal redirect */
.lp-modal,
.lp-course-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  transition: opacity 0.2s ease;
}

.lp-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.lp-modal__content {
  position: relative;
  max-width: 460px;
  min-height: 240px;
  margin: 25vh auto;
  padding: 30px 32px;
  background: #f1f5f9;
  border-radius: 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.lp-modal__logo {
  display: block;
  max-width: 250px;
  width: 100%;
  height: auto;
  margin: 0 auto 18px;
}
.lp-modal__text {
  font-size: 20px;
  line-height: 28px;
  color: #020817;
}

.lp-modal__counter {
  margin-top: 12px;
  font-size: 20px;
  line-height: 28px;
  font-weight: 700;
  color: #020817;
  opacity: 1;
}

/* === Course Modal === */

.lp-course-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lp-course-modal-hero {
  padding-top: 40px;
  padding-bottom: 40px;
}
.lp-course-modal .lp-content p,
.lp-course-modal .lp-content li {
  color: #020817;
}
.lp-course-modal-hero h2 {
  color: #fff;
}
/* === MODAL BOX === */
.lp-course-modal__inner {
  --lp-modal-scrollbar-width: 0px;
  position: relative;
  background: #fff;
  max-width: 90vw;
  max-height: 90vh;
  width: 1272px;
  overflow: hidden;
  z-index: 2;
  display: flex;
  flex-direction: column;
  border-radius: 4px; /* opcjonalnie */
}

/* === HEADER (BELKA Z X) === */
.lp-course-modal__header {
  height: 65px;
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  border-bottom: 1px solid #eee;
  flex-shrink: 0;
}

.lp-course-modal-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  line-height: 0;
  color: #000;
}

.lp-course-modal-close svg {
  display: block;
}

/* === SCROLLABLE CONTENT === */
.lp-course-modal-hero {
  flex: 1;
  background-size: cover;
  background-position: center;
}

.lp-course-modal-hero__wrapper {
  padding: 50px;
}

/* === HERO TITLE === */
.lp-course-modal-hero__content {
  padding-left: 24px;
  padding-right: 24px;
}
.lp-course-modal-hero__content .lp-title-h2 {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

/* === CONTENT WRAPPER === */
.lp-course-modal__content {
  overflow-y: auto;
  scrollbar-gutter: stable;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 24px 24px 50px 24px;
}
@media (min-width: 1366px) {
  .lp-course-modal__content {
    padding: 50px 50px 50px 50px;
  }
}
.lp-course-modal__stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 410px);
  grid-template-areas:
    "content1 card"
    "columns card";
  column-gap: 24px;
  row-gap: 28px;
  align-items: start;
}
.lp-course-modal__card {
  width: 100%;
  grid-area: card;
  align-self: start;
  height: fit-content;
  position: sticky;
  top: 24px;
  z-index: 1;
}
.lp-course-modal__card.lp-3-col-item--course {
  max-width: none;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0px 1px 2px 0px #0000000d;
}
.lp-course-modal__card .lp-3-col-item--course-top {
  background: #f8f9fc;
}
.lp-course-modal__card-title {
  display: flex;
  flex-direction: column;
}
.lp-course-modal__card .lp-3-col-item--course-bottom {
  padding: 24px;
}
.lp-course-modal__card .lp-3-col-item--course-top-actions {
  align-items: flex-end;
  min-height: 56px;
}
.lp-course-modal__card .lp-3-col-item--course-top-rating {
  min-height: 40px;
}
.lp-course-modal__card .lp-3-col-item--course-top-rating.is-empty {
  visibility: hidden;
}
.lp-course-modal__card .lp-course-modal__extra-text {
  color: #64748b;
  margin-bottom: 8px;
}
.lp-course-modal__card .lp-course-info {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.lp-course-modal__card .lp-course-info .lp-separator {
  display: none;
}
.lp-course-modal__card .lp-course-info .lp-separator:not(:last-child) {
  display: flex;
  align-items: center;
}
.lp-course-modal__card .lp-btn {
  white-space: nowrap;
}
.lp-course-modal__card .lp-3-col-item--course-date {
  gap: 16px;
}
.lp-course-modal__columns {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
  grid-area: columns;
}
.lp-course-modal__content1,
.lp-course-modal__content2 {
  width: 100%;
}
.lp-course-modal__content1 {
  grid-area: content1;
}
.lp-course-modal__content2 {
  display: block;
  grid-area: content2;
}
.lp-course-modal__column {
  min-width: 0;
  background: #f1f5f9;
  border-radius: 8px;
  padding: 24px;
  width: 100%;
}
.lp-course-modal__dates {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0px 1px 2px 0px #0000000d;
}
.lp-course-modal__dates .lp-3-col-item--course-date {
  gap: 16px;
}
/* === RESPONSIVE === */
@media (max-width: 991px) {
  .lp-course-modal__inner {
    max-width: 95vw;
    max-height: 95vh;
  }

  .lp-course-modal-hero__wrapper {
    padding: 32px 20px;
  }

  .lp-course-modal__content {
    gap: 20px;
  }
  .lp-course-modal__content {
    padding: 20px 20px 40px 20px;
  }
  .lp-course-modal__stage {
    grid-template-columns: 1fr;
    grid-template-areas:
      "content1"
      "card"
      "columns";
  }
  .lp-course-modal__card {
    position: static;
    top: auto;
  }
  .lp-course-modal__dates {
    padding: 20px;
  }
}

/* EMBED */
.lp-content .wp-block-embed {
  display: flex;
  justify-content: center;
}

.lp-content .wp-block-embed__wrapper {
  width: 100%;
  max-width: calc(1272px * 0.85);
}

.lp-content .wp-block-embed iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  display: block;
}
