/* ==================================================
   DLA LEKARZA PAGE
================================================== */

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


/* ==================================================
   DLA LEKARZA INTRO
================================================== */

.doctor-intro {
  position: relative;
  margin-top: -96px;
  padding-top: 96px;
}

.doctor-intro__container {
  position: relative;
}

.doctor-intro__layout {
  position: relative;
  padding-block: 144px 168px;
}

.doctor-intro__content {
  grid-column: 4 / 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  text-align: center;
}

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

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

.doctor-intro__title-accent {
  margin-top: 0;
}

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


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

.doctor-page__background {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: visible;
  pointer-events: none;
}

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

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

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


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

@keyframes doctor-page-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 doctor-page-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%;
  }
}


/* ==================================================
   OCENA ZESPOŁOWA
================================================== */

.doctor-assessment {
  position: relative;
  width: 100%;
  background-color: var(--Primary-colors-Grey-200);
}

.doctor-assessment__layout {
  align-items: start;
  padding-block: 96px 168px;
}

.doctor-assessment__heading {
  grid-column: 1 / 6;
  min-width: 0;
}

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

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

.doctor-assessment__title span {
  display: inline;
}

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

.doctor-assessment__description {
  margin: 20px 0 0;
  color: var(--Primary-colors-Dark-Blue-600);
}

.doctor-assessment__content {
  grid-column: 8 / -1;
  min-width: 0;
  padding-top: 37px;
}

.doctor-assessment__list-intro {
  margin: 0;
  color: var(--Primary-colors-Dark-Blue-600);
}

.doctor-assessment__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.doctor-assessment__list li {
  position: relative;
  margin: 0;
  padding-left: 17px;
}

.doctor-assessment__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%);
}

.doctor-assessment__conclusion {
  margin-top: 48px;
  color: var(--Primary-colors-Dark-Blue-700);
}


/* ==================================================
   MATERIAŁY INFORMACYJNE
================================================== */

.doctor-materials {
  position: relative;
  background-color: var(--Primary-colors-Grey-200);
}

.doctor-materials__container {
  position: relative;
}

.doctor-materials__layout {
  align-items: start;
  padding-block: 96px 168px;
}

.doctor-materials__heading {
  grid-column: 1 / 5;
  min-width: 0;
}

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

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

.doctor-materials__title span,
.doctor-materials__title em {
  display: inline;
}

.doctor-materials__link {
  margin-top: 40px;
}

.doctor-materials__cards {
  grid-column: 5 / -1;
  display: flex;
  flex-direction: column;
  margin-top: 37px;
  gap: 20px;
  min-width: 0;
}


/* ==================================================
   MATERIAŁY INFORMACYJNE — BLOB
================================================== */

.doctor-materials {
  position: relative;
  overflow: clip;
}

.doctor-materials__blob {
  position: absolute;
  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:
    doctor-materials-blob 8s ease-in-out infinite alternate;
  animation-delay: -3s;
}


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

@keyframes doctor-materials-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%;
  }
}


/* ==================================================
   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 168px;
}

.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;
}


/* ==================================================
   AKTUALNOŚCI
================================================== */

.doctor-news {
  position: relative;
  background-color: var(--Primary-colors-Grey-200);
}

.doctor-news__container {
  position: relative;
}

.doctor-news__layout {
  align-items: start;
  padding-top: 96px;
}

.doctor-news__heading {
  grid-column: 4 / 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  text-align: center;
}

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

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

.doctor-news__title span {
  display: inline;
}

.doctor-news__link {
  margin-top: 40px;
}

.doctor-news__cards {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
  min-width: 0;
  margin-top: 96px;
}


/* ==================================================
   AKTUALNOŚCI — BLOB
================================================== */

.doctor-news {
  position: relative;
  overflow: clip;
}

.doctor-news__blob {
  position: absolute;
  width: 640px;
  height: 640px;
  filter: blur(53.099998474121094px);
  opacity: 0.8;
  pointer-events: none;
  transform: translate3d(0, 0, 0);
  will-change: transform, border-radius;
}

.doctor-news__blob--pink {
  top: 10%;
  left: calc(100% - 40px);
  background: rgba(113, 89, 237, 0.15);
  animation:
    doctor-news-blob-pink 8s ease-in-out infinite alternate;
}


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

@media (max-width: 1024px) {

  /* ==================================================
     DLA LEKARZA
  ================================================== */

  .doctor-page {
    overflow: clip;
  }

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

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

  .doctor-intro__content {
    grid-column: 1 / -1;
    max-width: none;
    text-align: center;
  }

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

  .doctor-page__blob {
    width: 220px;
    height: 220px;
  }

  .doctor-page__blob--one {
    top: 1%;
    left: 50%;
    animation-name: doctor-page-blob-one-tablet;
  }

  @keyframes doctor-page-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);
    }
  }

  /* ==================================================
     OCENA ZESPOŁOWA
  ================================================== */

  .doctor-assessment__layout {
    padding-block: 120px;
  }

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

  .doctor-assessment__content {
    grid-column: 1 / -1;
    padding-top: 48px;
  }

  .doctor-assessment__intro {
    margin-top: 24px;
  }

  .doctor-assessment__description {
    margin-top: 24px;
  }

  /* ==================================================
     MATERIAŁY INFORMACYJNE
  ================================================== */

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

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

  .doctor-materials__cards {
    grid-column: 1 / -1;
    margin-top: 64px;
  }

  .doctor-materials__link {
    margin-top: 24px;
  }


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

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

  .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;
  }

  /* ==================================================
     AKTUALNOŚCI
  ================================================== */

  .doctor-news__layout {
    padding-block: 0px 0px;
  }

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

  .doctor-news__link {
    margin-top: 24px;
  }

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


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

@media (max-width: 767px) {

  /* ==================================================
     MATERIAŁY INFORMACYJNE
  ================================================== */

  .doctor-materials__heading {
    display: contents;
  }

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

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

  .doctor-materials__cards {
    grid-column: 1 / -1;
    grid-row: 3;
    margin-top: 32px;
  }

  .doctor-materials__link {
    grid-column: 1 / -1;
    grid-row: 4;
    margin-top: 40px;
    justify-self: center;
  }


  /* ==================================================
     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;
  }


  /* ==================================================
     AKTUALNOŚCI
  ================================================== */

  .doctor-news__heading {
    display: contents;
  }

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

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

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

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

}


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

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

  .doctor-page__blob {
    animation: none;
  }
}

