.activity-hero {
  display: flex;
  max-width: 1440px;
  flex-direction: row;
  gap: 8rem;
  padding: 0 48px;
  align-items: center;
}

.activity-hero > .wp-block-column {
  width: 100%;
}

activity-hero__text {
  font-weight: 500;
  font-size: 16px;
  line-height: 20px;
}

.logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  max-height: 12.5rem;
  gap: 20px;
  min-width: 0;
}

.logo__image {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
}

.activity-image {
  margin: 0;
  min-width: 0;
  display: block;
  width: auto;
  max-width: 100%;
  height: 12.5rem;
  object-fit: contain;
}

.logo__title {
  width: 240px;
  min-width: 240px;
}

.logo__title h1 {
  font-style: normal;
  font-weight: 700;
  font-size: 48px;
  line-height: 61px;
}

@media (max-width: 1024px) {
  .activity-hero {
    padding: 0 24px;
    flex-direction: column;
    gap: 36px;
  }

  .logo {
    justify-content: center;
  }
  .logo__image img {
    height: 10rem;
  }
}

@media (max-width: 667px) {
  .logo__title {
    width: 180px;
    min-width: 180px;
  }

  .logo__title h1 {
    font-size: 36px;
    line-height: 46px;
  }

  .logo__image img {
    height: 8rem;
  }
}

@media (max-width: 375px) {
  .logo__title {
    min-width: 130px;
    width: 130px;
  }
  .logo__title h1 {
    font-size: 26px;
  }
}

.activity__description {
  padding: 4rem 3rem;

  max-width: 70%;
  font-weight: 700;
  font-size: 40px;
  line-height: 51px;

  background: linear-gradient(90deg, #f07e1b 0%, #c02030 50%, #1c1b17 100%);

  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

@media (max-width: 1024px) {
  .activity__description {
    padding: 2.5rem 1.5rem;
    max-width: 100%;
    font-size: 32px;
    line-height: 41px;
  }
}

@media (max-width: 689px) {
  .activity__description {
    font-size: 20px;
    line-height: 26px;
  }
}

.tasks__title {
  padding: 2.25rem 3rem;
  font-weight: 700;
  font-size: 45px;
  line-height: 57px;
}

@media (max-width: 1024px) {
  .tasks__title {
    padding: 2.25rem 1.5rem;
  }
}

@media (max-width: 689px) {
  .tasks__title {
    font-size: 28px;
    line-height: 36px;
    padding: 1.5rem 1.5rem 0 1.5rem;

    background-color: #efefef;
  }
}

.activity__wrapper {
  background: linear-gradient(180deg, #efefef 0%, #ffff 100%);
}

.activity__wrapper > .wp-block-group__inner-container {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

@media (max-width: 689px) {
  .activity__wrapper > .wp-block-group__inner-container {
    gap: 3.75rem;
    padding: 3rem 0;
  }
}

@media (max-width: 689px) {
  .activity__wrapper > .wp-block-group__inner-container {
    gap: 2.5rem;
  }
}

.activity-cards > .wp-block-group__inner-container {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, auto);
  gap: 32px;
}

.task-card {
  display: flex;
  flex-direction: column;
  min-height: 22rem;
  padding: 1.5rem;
  background: white;
  border-radius: 25px;
  gap: 7rem;
  position: relative;
}

.task-card--disclosure {
  background-image:
    url("../img/svyazi.webp"),
    linear-gradient(90deg, #f07e1b 0%, #c02030 50%, #1c1b17 100%);

  background-repeat: no-repeat, no-repeat;
  background-position:
    right 13% center,
    center;
  background-size:
    auto 68%,
    cover;

  color: white;
}

.task-card::after,
.task-card::before {
  content: "";
  position: absolute;
  z-index: 0;
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: contain;
  pointer-events: none;

  max-height: 100%;
}

.task-card__title {
  width: 60%;
  font-weight: 700;
  font-size: 24px;
  line-height: 31px;
}

.task-card__text {
  width: 60%;
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;
}

.task-card--identification::after {
  right: 9%;
  bottom: -1.8rem;
  width: 150px;
  aspect-ratio: 1 / 1;

  background-image: url("../img/lupa.webp");
}

.task-card--identification::before {
  right: 18%;
  top: 3.43rem;
  width: 5rem;
  aspect-ratio: 1 / 1;

  background-image: url("../img/znak.webp");
}

.task-card--disclosure::after {
  right: 9%;
  bottom: -1.8rem;
  width: 150px;
  aspect-ratio: 1 / 1;

  background-image: url("../img/novosti_mega.webp");
}

.task-card--disclosure::before {
  right: -4%;
  top: 2.3rem;
  width: 5rem;
  aspect-ratio: 1 / 1;

  background-image: url("../img/spisok.webp");
}

.task-card--realization::after {
  right: 9%;
  bottom: -30px;
  width: auto;
  height: 9.3rem;
  aspect-ratio: 1 / 1;

  background-image: url("../img/algoritm.webp");
}

.task-card--provide::after {
  right: 1%;
  bottom: 0;
  width: 40%;
  height: auto;
  aspect-ratio: 1 / 1;

  background-image: url("../img/zashhita-copy.webp");
}

.task-card--interaction::after {
  right: 2.5%;
  bottom: 0;
  width: 40%;
  height: auto;
  aspect-ratio: 1 / 1;

  background-image: url("../img/gerb.webp");
}

.task-card--analytics::after {
  right: 16%;
  bottom: 0;
  width: 24%;
  height: auto;
  aspect-ratio: 1 / 1;

  background-image: url("../img/razvitie.webp");
}

.task-card--analytics::before {
  right: -3%;
  bottom: 110px;
  width: 20%;
  height: auto;
  aspect-ratio: 1 / 1;

  background-image: url("../img/sreda.webp");
}

@media screen and (max-width: 1024px) {
  .task-card {
    gap: 40px;
    min-height: 25rem;
    padding-bottom: 120px;
  }
  .task-card__title,
  .task-card__text {
    width: 100%;
  }
  .task-card--identification::before,
  .task-card--analytics::before,
  .task-card--disclosure::before {
    display: none;
  }

  .task-card--identification::after,
  .task-card--disclosure::after {
    width: 130px;
  }

  .task-card--provide::after {
    left: 28%;
    width: 59%;

    background-image: url("../img/zashhita-loptop.png");
  }

  .task-card--interaction::after {
    right: 23%;
    width: 53%;
  }

  .task-card--analytics::after {
    right: 25%;
    width: 50%;
  }
}

@media screen and (max-width: 689px) {
  .activity-cards > .wp-block-group__inner-container {
    display: flex;
    flex-direction: column;
  }
}

.activity__wrapper h3 {
  font-weight: 700;
  font-size: 45px;
  line-height: 57px;
}

@media (max-width: 689px) {
  .activity__wrapper h3 {
    padding: 1.5rem 1.5rem 0 1.5rem;
  }
}

@media (max-width: 400px) {
  .activity__wrapper h3 {
    font-size: 24px;
    line-height: 31px;
  }
}

.document-center {
  display: flex;
  flex-direction: row;
  border-radius: 25px;
  background: linear-gradient(90deg, #f07e1b 0%, #c02030 50%, #1c1b17 100%);
  padding: 1.5rem;
  gap: 2.5rem;
  position: relative;
}

.document-center__title {
  flex: 1;
}

.document-center__title h3 {
  font-weight: 700;
  font-size: 40px;
  line-height: 51px;
  color: white;

  max-width: 25rem;
}

@media (max-width: 689px) {
  .document-center__title h3 {
    font-weight: 700;
    font-size: 20px;
    line-height: 26px;
  }
}

.activity-documents {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.activity-documents::after {
  right: 51%;
  bottom: -66px;
  width: 10%;
  height: auto;
  aspect-ratio: 1 / 1;

  background-image: url("../img/anketa.webp");

  content: "";
  position: absolute;
  z-index: 0;
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: contain;
  pointer-events: none;
}

.activity-documents__item {
  border-radius: 25px;
  border: 2px solid #ffffff;
  padding: 10px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  max-width: 31.25rem;
}

.activity-documents__item {
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;

  color: #ffffff;
}

@media (max-width: 1024px) {
  .document-center {
    flex-direction: column;
  }

  .activity-documents::after {
    right: 1.5rem;
    top: 1.5rem;
    width: 17%;
    bottom: auto;
  }

  .activity-documents {
    width: 100%;
  }

  .activity-documents__item {
    max-width: 100%;
  }
}

@media (max-width: 689px) {
  .activity-documents::after {
    display: none;
  }
}
