.flex_layout.content_blok {
  position: relative;
  max-width: 100%;
  margin-bottom: 40px;
}

.flex_layout.content_blok:has(+ .flex_layout.content_blok) {
  margin-bottom: 40px;
}

.flex_layout.content_blok h3,
.flex_layout.content_blok h4,
.flex_layout.content_blok h5 .flex_layout.content_blok h6 {
  font-weight: 500;
  margin-bottom: 8px;
}

.flex_layout.content_blok h3 {
  font-size: 21px;
}

.flex_layout.content_blok h4 {
  font-size: 18px;
}

.flex_layout.content_blok h5 {
  font-size: 16px;
}

.flex_layout.content_blok h6 {
  font-size: 14px;
}

.flex_layout.content_blok .content-section .component__wrapper {
  padding: 0 20px;
}

.content-section .component__wrapper h2 {
  font-size: 26px;
  font-weight: var(--sg-heading-weight);
  color: var(--sg-accent);
  margin-bottom: 20px;
}

.flex_layout.content_blok .component__wrapper ul,
.flex_layout.content_blok .component__wrapper ol {
  line-height: 1.5;
  margin-bottom: 12px;
  padding-left: 20px;
}

.flex_layout.content_blok .component__wrapper ul li a,
.flex_layout.content_blok .component__wrapper ol a {
  color: var(--sg-primary);
  text-decoration: underline;
}

.flex_layout.content_blok .component__wrapper ul li a:hover,
.flex_layout.content_blok .component__wrapper ol a:hover {
  color: var(--sg-accent);
  text-decoration: underline;
}

.flex_layout.content_blok .component__wrapper p:has(+ ul),
.flex_layout.content_blok .component__wrapper p:has(+ ol) {
  margin-bottom: 2.5px;
}

@media screen and (min-width: 990px) {
  .flex_layout.content_blok .content-section .component__wrapper {
    padding: 0 50px;
  }

  .content-section .component__wrapper h2 {
    font-size: 32px;
  }
}
