/* ==================================================
   EDUKACJA PAGE
================================================== */

.education-page {
  position: relative;
  width: 100%;
  overflow: clip;
  background-color: var(--Primary-colors-Grey-200);
}

/* ==================================================
   EDUKACJA — INTRO
================================================== */

.education-intro {
  position: relative;
  margin-top: -96px;
  padding-top: 96px;
  overflow: visible;
}

/* ==================================================
   ANIMATED BACKGROUND
================================================== */

.education-intro__background {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: visible;
  pointer-events: none;
}

.education-intro__blob {
  position: absolute;
  width: 640px;
  height: 640px;
  filter: blur(53.099998474121094px);
  opacity: 0.8;
  transform: translate3d(0, 0, 0);
  will-change: transform, border-radius;
}

.education-intro__blob--one {
  top: -320px;
  left: 25%;
  background: rgba(37, 191, 160, 0.15);
  animation: education-intro-blob-one 8s ease-in-out infinite alternate;
}

.education-intro__blob--two {
  display: none;
  left: calc(50% - 100px + 269px);
  bottom: -20%;
  width: 829px;
  height: 555px;
  background: rgba(113, 89, 237, 0.15);
  animation: education-intro-blob-two 8s ease-in-out infinite alternate;
  animation-delay: -3s;
}

/* ==================================================
   BLOB ANIMATIONS
================================================== */

@keyframes education-intro-blob-one {

  0% {
    transform:
      translate3d(12%, -12%, 0)
      scale(1);
    border-radius:
      44% 56% 63% 37%
      /
      46% 36% 64% 54%;
  }

  50% {
    transform:
      translate3d(-5%, 5%, 0)
      scale(1.25);
    border-radius:
      62% 38% 42% 58%
      /
      38% 61% 39% 62%;
  }

  100% {
    transform:
      translate3d(-8%, 8%, 0)
      scale(0.95);
    border-radius:
      36% 64% 55% 45%
      /
      58% 42% 58% 42%;
  }
}

@keyframes education-intro-blob-two {
  0% {
    transform:
      translate3d(5%, 10%, 0)
      scale(1.1);
    border-radius:
      61% 39% 52% 48%
      /
      42% 58% 42% 58%;
  }

  50% {
    transform:
      translate3d(-5%, -2%, 0)
      scale(0.9);
    border-radius:
      38% 62% 36% 64%
      /
      62% 38% 62% 38%;
  }

  100% {
    transform:
      translate3d(2%, -12%, 0)
      scale(1.1);
    border-radius:
      54% 46% 65% 35%
      /
      35% 55% 45% 65%;
  }
}

/* ==================================================
   INTRO — LAYOUT
================================================== */

.education-intro__container {
  position: relative;
  z-index: 1;
}

.education-intro__layout {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  row-gap: 0;
}

/* ==================================================
   INTRO — CONTENT
================================================== */

.education-intro__content {
  grid-column: 4 / 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  padding-top: 144px;
  text-align: center;
}

.education-intro__eyebrow {
  margin: 0;
  color: var(--Primary-colors-Blue-500);
}

.education-intro__title {
  margin: 8px 0 0;
  color: var(--Primary-colors-Dark-Blue-700);
}

.education-intro__title span,
.education-intro__title em {
  display: inline;
}

.education-intro__description {
  margin: 40px 0 0;
  color: var(--Primary-colors-Dark-Blue-600);
}

/* ==================================================
   DIAGNOSTIC CARDS
================================================== */

.education-diagnostic-cards {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding-bottom: 168px;
  width: 100%;
  margin-top: 96px;
}

/* ==================================================
   DIAGNOSTIC CARD
================================================== */

.education-diagnostic-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--Primary-colors-Grey-300);
  border-radius: 25px;
  background-color: var(--Primary-colors-Grey-100);
}

/* ==================================================
   CARD CONTENT
================================================== */

.education-diagnostic-card__content {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
  padding: 32px;
}

.education-diagnostic-card__eyebrow {
  margin: 0px;
  color: var(--Primary-colors-Blue-500);
}

.education-diagnostic-card__title {
  margin: 4px 0 0;
  color: var(--Primary-colors-Dark-Blue-700);
}

/* ==================================================
   CARD LIST
================================================== */

.education-diagnostic-card__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.education-diagnostic-card__item {
  display: flex;
  align-items: flex-start;
  min-width: 0;
  margin: 0;
  color: var(--Primary-colors-Dark-Blue-600);
}

.education-diagnostic-card__dot {
  flex: 0 0 5px;
  width: 5px;
  height: 5px;
  margin-right: 12px;
  margin-top: 8px;
  background: var(--Primary-colors-Blue-500);
  box-shadow: 0 0 6px 0 var(--Primary-colors-Blue-500);
  border-radius: 50%;
}

.education-diagnostic-card__text {
  min-width: 0;
}

/* ==================================================
   CARD FOOTER
================================================== */

.education-diagnostic-card__footer {
    display: flex;
    padding: 32px;
    justify-content: center;
    align-items: center;
    align-self: stretch;
  background-color: var(--Primary-colors-Blue-500);

}

.education-diagnostic-card__footer-text {
  margin: 0;
  color: var(--Primary-colors-Grey-100);
  text-align: center;
}



/* ==================================================
   REDUCED MOTION
================================================== */

@media (prefers-reduced-motion: reduce) {

  .education-intro__blob {

    animation: none;

  }

}

/* ==================================================
   EDUKACJA — REMINDER
================================================== */

.education-reminder {

  position: relative;

  width: 100%;

}

.education-reminder__container {

  padding-block: 0px;

  padding-bottom: 64px;

}

.education-reminder__layout {

  align-items: start;

}

.education-reminder__content {

  grid-column: 4 / 10;

  display: flex;

  flex-direction: column;

  align-items: center;

  min-width: 0;

  text-align: center;

}

.education-reminder__eyebrow {

  margin: 0;

  color: var(--Primary-colors-Blue-500);

}

.education-reminder__description {

  margin: 12px 0 0;

  color: var(--Primary-colors-Dark-Blue-700);

}

/* ==================================================
   DIAGNOSTYKA KRĘGOSŁUPA
================================================== */

.spine-diagnostics {

  position: relative;

}

/* ==================================================
   DIAGNOSTYKA KRĘGOSŁUPA — BLOB
================================================== */

.spine-diagnostics {
  position: relative;
  overflow: clip;
}

.spine-diagnostics__blob {
  position: absolute;
  z-index: 0;
  width: 640px;
  height: 640px;
  filter: blur(53.099998474121094px);
  opacity: 0.8;
  pointer-events: none;
  transform: translate3d(0, 0, 0);
  will-change: transform, border-radius;
  bottom: 10%;
  right: calc(100% - 50px);
  background: rgba(113, 89, 237, 0.15);
  animation:
    spine-diagnostics-blob 8s ease-in-out infinite alternate;
  animation-delay: -3s;
}

/* ==================================================
   BLOB ANIMATION
================================================== */

@keyframes spine-diagnostics-blob {
  0% {
    transform:
      translate3d(12%, -12%, 0)
      scale(1);
    border-radius:
      44% 56% 63% 37%
      /
      46% 36% 64% 54%;
  }

  50% {
    transform:
      translate3d(-5%, 5%, 0)
      scale(1.25);
    border-radius:
      62% 38% 42% 58%
      /
      38% 61% 39% 62%;
  }

  100% {
    transform:
      translate3d(-8%, 8%, 0)
      scale(0.95);
    border-radius:
      36% 64% 55% 45%
      /
      58% 42% 58% 42%;
  }
}

/* ==================================================
   LAYOUT
================================================== */

.spine-diagnostics__layout {

  align-items: start;

  padding-block: 96px 168px;

}

/* ==================================================
   HEADING
================================================== */

.spine-diagnostics__heading {

  grid-column: 1 / 5;

  min-width: 0;
  z-index: 1;

}

.spine-diagnostics__eyebrow {

  margin: 0;

  color:
    var(--Primary-colors-Blue-500);

}

.spine-diagnostics__title {

  margin: 8px 0 0;

  color:
    var(--Primary-colors-Dark-Blue-700);

}

.spine-diagnostics__title span,
.spine-diagnostics__title em {

  display: inline;

}

.spine-diagnostics__description {

  margin: 40px 0 40px;

  color:
    var(--Primary-colors-Dark-Blue-700);

}

/* ==================================================
   CARDS WRAPPER
================================================== */

.spine-diagnostics__cards {

  grid-column: 5 / -1;
  z-index: 1;

  display: flex;

  flex-direction: column;

  gap: 20px;

  margin-top: 0;

  min-width: 0;

}

/* ==================================================
   CARD ITEM
================================================== */

.spine-diagnostics__item {

    display: flex;
    align-items: center;
    gap: 20px;
    align-self: stretch;

}

/* ==================================================
   CARD IMAGE
================================================== */

.spine-diagnostics__image {

    width: 325px;
    height: 244px;

  aspect-ratio: 4 / 3;

  overflow: hidden;

  border-radius: 25px;

}

.spine-diagnostics__image img {

  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;

}

/* ==================================================
   CARD
================================================== */

.spine-diagnostics__card {

    display: grid;
    width: 555px;
    height: 244px;
    padding: 32px;
    row-gap: 32px;
    column-gap: 32px;
    grid-template-rows: repeat(1,minmax(0,1fr));
    grid-template-columns:   minmax(0,1fr) minmax(0,0.80fr);
    grid-auto-flow: row;

  border: 1px solid
    var(--Primary-colors-Grey-300);

  border-radius: 25px;

  background-color:
    var(--Primary-colors-Grey-100);

}

/* ==================================================
   CARD MAIN
================================================== */

.spine-diagnostics__card-main {

 min-width: 0;

  display: flex;

  flex-direction: column;

}

.spine-diagnostics__card-type {

  margin: 0;

  color:
    var(--Primary-colors-Blue-500);

}

.spine-diagnostics__card-title {

  margin: 4px 0 0;

  color:
    var(--Primary-colors-Dark-Blue-700);

}

.spine-diagnostics__card-description {

    margin: 8px 0 0;

  color:
    var(--Primary-colors-Dark-Blue-600);

}

.spine-diagnostics__card-note {
  margin: auto 0 0;

  color:
    var(--Primary-colors-Green-500);

}

/* ==================================================
   CARD RESULTS
================================================== */

.spine-diagnostics__card-results {

display: flex;
padding: 27px 0 0 32px;
flex-direction: column;
align-items: flex-start;
gap: 8px;
align-self: stretch;
grid-row: span 1;
grid-column: span 1;
justify-self: stretch;

border-left: 1px solid var(--Primary-colors-Grey-300);

}

.spine-diagnostics__card-results-title {

  margin: 0;

  color:
    var(--Primary-colors-Dark-Blue-700);

}

.spine-diagnostics__card-list {

  display: flex;

  flex-direction: column;

  gap: 4px;

  padding: 0;

  list-style: none;

}

.spine-diagnostics__card-list li {
  position: relative;
  margin: 0;
  padding-left: 17px;

}

.spine-diagnostics__card-list li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 5px;
  height: 5px;
  background: var(--Primary-colors-Blue-500);
  box-shadow: 0 0 6px 0 var(--Primary-colors-Blue-500);
  border-radius: 50%;
  transform: translateY(-50%);

}


/* ==================================================
   DIAGNOSTYKA MÓZGU
================================================== */

.brain-diagnostics {

  position: relative;

}

/* ==================================================
   DIAGNOSTYKA MÓZGU — BLOB
================================================== */

.brain-diagnostics {
  position: relative;
  overflow: clip;
}

.brain-diagnostics__blob {
  position: absolute;
  z-index: 0;
  width: 640px;
  height: 640px;
  filter: blur(53.099998474121094px);
  opacity: 0.8;
  pointer-events: none;
  transform: translate3d(0, 0, 0);
  will-change: transform, border-radius;
  bottom: 10%;
  right: calc(100% - 50px);
  background: rgba(37, 191, 160, 0.15);
  animation:
    brain-diagnostics-blob 8s ease-in-out infinite alternate;
  animation-delay: -3s;
}

/* ==================================================
   BLOB ANIMATION
================================================== */

@keyframes brain-diagnostics-blob {
  0% {
    transform:
      translate3d(12%, -12%, 0)
      scale(1);
    border-radius:
      44% 56% 63% 37%
      /
      46% 36% 64% 54%;
  }

  50% {
    transform:
      translate3d(-5%, 5%, 0)
      scale(1.25);
    border-radius:
      62% 38% 42% 58%
      /
      38% 61% 39% 62%;
  }

  100% {
    transform:
      translate3d(-8%, 8%, 0)
      scale(0.95);
    border-radius:
      36% 64% 55% 45%
      /
      58% 42% 58% 42%;
  }
}

/* ==================================================
   LAYOUT
================================================== */

.brain-diagnostics__layout {

  align-items: start;

  padding-block: 96px 168px;

}

/* ==================================================
   HEADING
================================================== */

.brain-diagnostics__heading {

  grid-column: 1 / 5;
  z-index: 1;

  min-width: 0;

}

.brain-diagnostics__eyebrow {

  margin: 0;

  color:
    var(--Primary-colors-Blue-500);

}

.brain-diagnostics__title {

  margin: 8px 0 0;

  color:
    var(--Primary-colors-Dark-Blue-700);

}

.brain-diagnostics__title span,
.brain-diagnostics__title em {

  display: inline;

}

.brain-diagnostics__description {

  margin: 40px 0 40px;

  color:
    var(--Primary-colors-Dark-Blue-700);

}

/* ==================================================
   CARDS WRAPPER
================================================== */

.brain-diagnostics__cards {

  grid-column: 5 / -1;
  z-index: 1;

  display: flex;

  flex-direction: column;

  gap: 20px;

  margin-top: 0;

  min-width: 0;

}

/* ==================================================
   CARD ITEM
================================================== */

.brain-diagnostics__item {

  display: flex;

  align-items: center;

  gap: 20px;

  align-self: stretch;

}

/* ==================================================
   CARD IMAGE
================================================== */

.brain-diagnostics__image {

  width: 325px;
  height: 244px;

  aspect-ratio: 4 / 3;

  overflow: hidden;

  border-radius: 25px;

}

.brain-diagnostics__image img {

  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;

}

/* ==================================================
   CARD
================================================== */

.brain-diagnostics__card {

  display: grid;

  width: 555px;
  height: 244px;

  padding: 32px;

  row-gap: 32px;
  column-gap: 32px;

  grid-template-rows:
    repeat(1, minmax(0, 1fr));

  grid-template-columns:
    minmax(0, 1fr)
    minmax(0, 0.80fr);

  grid-auto-flow: row;

  border: 1px solid
    var(--Primary-colors-Grey-300);

  border-radius: 25px;

  background-color:
    var(--Primary-colors-Grey-100);

}

/* ==================================================
   CARD MAIN
================================================== */

.brain-diagnostics__card-main {

  min-width: 0;

  display: flex;

  flex-direction: column;

}

.brain-diagnostics__card-type {

  margin: 0;

  color:
    var(--Primary-colors-Blue-500);

}

.brain-diagnostics__card-title {

  margin: 4px 0 0;

  color:
    var(--Primary-colors-Dark-Blue-700);

}

.brain-diagnostics__card-description {

  margin: 8px 0 0;

  color:
    var(--Primary-colors-Dark-Blue-600);

}

.brain-diagnostics__card-note {

  margin: auto 0 0;

  color:
    var(--Primary-colors-Green-500);

}

/* ==================================================
   CARD RESULTS
================================================== */

.brain-diagnostics__card-results {

  display: flex;

  padding: 27px 0 0 32px;

  flex-direction: column;

  align-items: flex-start;

  gap: 8px;

  align-self: stretch;

  grid-row: span 1;
  grid-column: span 1;

  justify-self: stretch;

  border-left: 1px solid
    var(--Primary-colors-Grey-300);

}

.brain-diagnostics__card-results-title {

  margin: 0;

  color:
    var(--Primary-colors-Dark-Blue-700);

}

.brain-diagnostics__card-list {

  display: flex;

  flex-direction: column;

  gap: 4px;

  padding: 0;

  list-style: none;

}

.brain-diagnostics__card-list li {

  position: relative;

  margin: 0;

  padding-left: 17px;

}

.brain-diagnostics__card-list li::before {

  content: "";

  position: absolute;

  top: 0.68em;
  left: 0;

  width: 5px;
  height: 5px;

  background:
    var(--Primary-colors-Blue-500);

  box-shadow:
    0 0 6px 0 var(--Primary-colors-Blue-500);

  border-radius: 50%;

  transform: translateY(-50%);

}


/* ==================================================
   EDUKACJA — CZYM JEST BIOPSJA?
================================================== */

.education-biopsy {

  position: relative;

  padding-block: 96px 168px;

  background:
    var(--Primary-colors-Grey-200);

}

/* ==================================================
   LAYOUT
================================================== */

.education-biopsy__layout {

  position: relative;

}

/* ==================================================
   LEFT
================================================== */

.education-biopsy__left {

  grid-column: 1 / span 5;

  min-width: 0;

}

.education-biopsy__eyebrow {

  margin: 0;

  color:
    var(--Primary-colors-Blue-500);

}

.education-biopsy__title {

  margin: 8px 0 0;

}

.education-biopsy__title-main,
.education-biopsy__title-accent {

  display: inline;

}

/* ==================================================
   IMAGE
================================================== */

.education-biopsy__image {

  width: 100%;

  aspect-ratio: 16 / 9;

  margin-top: 32px;

  overflow: hidden;

  border-radius: 25px;

}

.education-biopsy__image img {

  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;

}

/* ==================================================
   RIGHT
================================================== */

.education-biopsy__right {

  grid-column: 8 / -1;

  min-width: 0;

  padding-top: 40px;

}

/* ==================================================
   DESCRIPTION
================================================== */

.education-biopsy__description {

  display: flex;

  flex-direction: column;

  gap: 20px;

}

.education-biopsy__description p {

  margin: 0;

}

/* ==================================================
   SUPPORT
================================================== */

.education-biopsy__support {

  margin-top: 48px;

}

.education-biopsy__support-title {

  margin: 0;

}

/* ==================================================
   LIST
================================================== */

.education-biopsy__list {

  display: flex;

  flex-direction: column;

  gap: 16px;

  margin: 20px 0 0;

  padding: 0;

  list-style: none;

}

.education-biopsy__list li {

  position: relative;

  margin: 0;

  padding-left: 17px;

}

.education-biopsy__list li::before {

  content: "";

  position: absolute;

  top: 0.68em;

  left: 0;

  width: 5px;
  height: 5px;

  background:
    var(--Primary-colors-Blue-500);

  box-shadow:
    0 0 6px 0
    var(--Primary-colors-Blue-500);

  border-radius: 50%;

  transform:
    translateY(-50%);

}

/* ==================================================
   FILMY ZE SPOTKAŃ
================================================== */

.doctor-videos {

  position: relative;

  background-color:
    var(--Primary-colors-Grey-200);

}

.doctor-videos__container {

  position: relative;

}

.doctor-videos__layout {

  align-items: start;

  padding-block: 96px 0;

}

.doctor-videos__heading {

  grid-column: 1 / 5;

  min-width: 0;

}

.doctor-videos__eyebrow {

  margin: 0;

  color:
    var(--Primary-colors-Blue-500);

}

.doctor-videos__title {

  margin: 8px 0 0;

  color:
    var(--Primary-colors-Dark-Blue-700);

}

.doctor-videos__title span,
.doctor-videos__title em {

  display: inline;

}

.doctor-videos__action {

  grid-column: 9 / -1;

  display: flex;

  justify-content: flex-end;

  align-items: flex-end;

  align-self: end;

}

.doctor-videos__cards {

  grid-column: 1 / -1;

  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 20px;

  align-items: start;

  margin-top: 96px;

}




/* ==================================================
   TABLET / MOBILE
================================================== */

@media (max-width: 1024px) {

  /* ==================================================
     INTRO
  ================================================== */

  .education-page {
    overflow: clip;
  }

  .education-intro {
    margin-top: -82px;
    padding-top: 82px;
  }

  .education-intro__layout {
    padding-block: 48px 0;
  }

  .education-intro__content {
    grid-column: 1 / -1;
    padding-top: 0;
    max-width: none;
    text-align: center;
  }

  .education-intro__description {
    margin-top: 24px;
    font-size: 16px;
  }

  .education-intro__blob {
    width: 220px;
    height: 220px;
  }

  .education-intro__blob--one {
    top: 1%;
    left: 50%;
    animation-name: education-intro-blob-one-tablet;
  }

  @keyframes education-intro-blob-one-tablet {
    0% {
      transform:
        translate3d(-50%, -12%, 0)
        scale(1);
    }

    50% {
      transform:
        translate3d(-50%, 5%, 0)
        scale(1.25);
    }

    100% {
      transform:
        translate3d(-50%, 8%, 0)
        scale(0.95);
    }
  }

  /* ==================================================
     DIAGNOSTIC CARDS
  ================================================== */

  .education-diagnostic-cards {
    grid-template-columns: repeat(1, minmax(0, 1fr));
    margin-top: 40px;
    padding-bottom: 120px;
  }

  .education-diagnostic-card__content {
    padding: 28px;
  }

  .education-diagnostic-card__footer {
    padding: 28px;
  }


  /* ==================================================
     EDUKACJA — REMINDER
  ================================================== */

  .education-reminder__content {
    grid-column: 1 / -1;

    display: flex;
    flex-direction: column;
    align-items: center;

    width: 100%;
    min-width: 0;

    text-align: center;
  }

  .education-reminder__container {
    padding-block: 0px 120px;
  }


  /* ==================================================
     DIAGNOSTYKA KRĘGOSŁUPA
  ================================================== */

  .spine-diagnostics__layout {
    padding-block: 0px 120px;
  }

  .spine-diagnostics__heading {
    grid-column: 1 / -1;
  }

  .spine-diagnostics__description {
    grid-column: 1 / -1;
    margin: 24px 0 0px;
  }

  .spine-diagnostics__cards {
    grid-column: 1 / -1;
    margin-top: 64px;
    gap: 40px;
  }

  .spine-diagnostics__link {
    margin-top: 24px;
  }


/* ==================================================
   DIAGNOSTYKA KRĘGOSŁUPA CARDS
================================================== */

  .spine-diagnostics__item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 16px;
    align-self: stretch;
  }


  .spine-diagnostics__card {
    padding: 28px;
    width: 100%;
    height: auto;
  }


  .spine-diagnostics__image {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    overflow: hidden;
  }

  .spine-diagnostics__card-note {
    margin: 20px 0 0;
  }


    /* ==================================================
     DIAGNOSTYKA MÓZGU
  ================================================== */

  .brain-diagnostics__layout {
    padding-block: 0px 120px;
  }

  .brain-diagnostics__heading {
    grid-column: 1 / -1;
  }

  .brain-diagnostics__description {
    grid-column: 1 / -1;
    margin: 24px 0 0px;
  }

  .brain-diagnostics__cards {
    grid-column: 1 / -1;
    margin-top: 64px;
    gap: 40px;
  }

  .brain-diagnostics__link {
    margin-top: 24px;
  }


/* ==================================================
   DIAGNOSTYKA MÓZGU CARDS
================================================== */

  .brain-diagnostics__item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 16px;
    align-self: stretch;
  }


  .brain-diagnostics__card {
    padding: 28px;
    width: 100%;
    height: auto;
  }


  .brain-diagnostics__image {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    overflow: hidden;
  }

  .brain-diagnostics__card-note {
    margin: 20px 0 0;
  }


  /* ==================================================
   EDUKACJA — CZYM JEST BIOPSJA?
================================================== */

  .education-biopsy {
    padding-block: 0 0;
  }

  .education-biopsy__layout {
    position: relative;
  }

  .education-biopsy__image {
    margin-top: 40px;
  }

  .education-biopsy__left {
    grid-column: 1 / -1;
    min-width: 0;
  }

  .education-biopsy__right {
    grid-column: 1 / -1;
    padding-top: 40px;
  }


    /* ==================================================
   FILMY ZE SPOTKAŃ
================================================== */

  .doctor-videos__layout {
    padding-block: 120px 0px;
  }

  .doctor-videos__heading {
    grid-column: 1 / -1;
  }

  .doctor-videos__title {
    max-width: none;
  }

  .doctor-videos__action {
    grid-column: 1 / -1;
    justify-content: flex-start;
    margin-top: 24px;
  }

  .doctor-videos__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 20px;
    margin-top: 64px;
  }
}






/* ==================================================
   MOBILE
================================================== */

@media (max-width: 767px) {

    /* ==================================================
     DIAGNOSTYKA KRĘGOSŁUPA
  ================================================== */

  .spine-diagnostics__heading {
    display: contents;
  }

  .spine-diagnostics__eyebrow {
    grid-column: 1 / -1;
    grid-row: 1;
  }

    .spine-diagnostics__title {
    grid-column: 1 / -1;
    grid-row: 2;
  }

    .spine-diagnostics__description {
    grid-row: 3;
  }

  .spine-diagnostics__cards {
    grid-column: 1 / -1;
    grid-row: 4;
    margin-top: 32px;
    gap: 48px;
  }

  .spine-diagnostics__link {
    grid-column: 1 / -1;
    grid-row: 5;
    margin-top: 40px;
    justify-self: center;
  }


/* ==================================================
   DIAGNOSTYKA KRĘGOSŁUPA CARDS
================================================== */

  .spine-diagnostics__card {
    display: inline-grid;
    padding: 28px;
    row-gap: 24px;
    column-gap: 20px;
    align-self: stretch;
    grid-template-rows: repeat(2,fit-content(100%));
    grid-template-columns: repeat(1,minmax(0,1fr));
    grid-auto-flow: row;
  }

  .spine-diagnostics__card-results {
    display: flex;
    padding: 24px 0 0 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    align-self: stretch;
    grid-row: span 1;
    grid-column: span 1;
    justify-self: stretch;

    border-top: 1px solid var(--Primary-colors-Grey-300);
    border-left: none;
  }


  .spine-diagnostics__image {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    overflow: hidden;
  }

  .spine-diagnostics__card-note {
    margin: 20px 0 0;
  }


    /* ==================================================
     DIAGNOSTYKA MÓZGU
  ================================================== */

  .brain-diagnostics__heading {
    display: contents;
  }

  .brain-diagnostics__eyebrow {
    grid-column: 1 / -1;
    grid-row: 1;
  }

      .brain-diagnostics__title {
    grid-column: 1 / -1;
    grid-row: 2;
  }

    .brain-diagnostics__description {
    grid-row: 3;
  }

  .brain-diagnostics__cards {
    grid-column: 1 / -1;
    grid-row: 4;
    margin-top: 32px;
    gap: 48px;
  }

  .brain-diagnostics__link {
    grid-column: 1 / -1;
    grid-row: 5;
    margin-top: 40px;
    justify-self: center;
  }


/* ==================================================
   DIAGNOSTYKA MÓZGU CARDS
================================================== */

  .brain-diagnostics__card {
    display: inline-grid;
    padding: 28px;
    row-gap: 24px;
    column-gap: 20px;
    align-self: stretch;
    grid-template-rows: repeat(2,fit-content(100%));
    grid-template-columns: repeat(1,minmax(0,1fr));
    grid-auto-flow: row;
  }

  .brain-diagnostics__card-results {
    display: flex;
    padding: 24px 0 0 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    align-self: stretch;
    grid-row: span 1;
    grid-column: span 1;
    justify-self: stretch;

    border-top: 1px solid var(--Primary-colors-Grey-300);
    border-left: none;
  }


  .brain-diagnostics__image {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    overflow: hidden;
  }

  .brain-diagnostics__card-note {
    margin: 20px 0 0;
  }


    /* ==================================================
   FILMY ZE SPOTKAŃ
================================================== */

  .doctor-videos__heading {
    display: contents;
  }

  .doctor-videos__eyebrow {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .doctor-videos__title {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .doctor-videos__cards {
    grid-column: 1 / -1;
    grid-row: 3;
    grid-template-columns: 1fr;
    margin-top: 32px;
    gap: 48px;
  }

  .doctor-videos__action {
    grid-column: 1 / -1;
    grid-row: 4;
    justify-content: flex-start;
    margin-top: 48px;
    justify-self: center;
  }

}