

.pblk {
  padding-left: 0;
  padding-right: 0;
}

.pblk p:not(.crumbs),
.pblk li,
.pblk dd {
  font-size: 15px;
  line-height: 21.75px;
  color: #3d4247;
}

@media (max-width: 900px) {
  .pblk p:not(.crumbs),
  .pblk li,
  .pblk dd {
    font-size: 13px;
    line-height: 17.55px;
  }
}

.pblk h1,
.pblk h2 {
  text-align: center;
}

.pblk h1 {
  margin: 0 0 16px;
  font-size: 32px;
  line-height: 38.4px;
  font-weight: 700;
}

.pblk h2 {
  margin: 42px 0 14px;
  font-size: 28px;
  line-height: 33.6px;
}

@media (max-width: 900px) {
  .pblk h2 {
    margin: 28px 0 12px;
    font-size: 20px;
    line-height: 24px;
  }

  
  .pblk h1 {
    font-size: 32px;
    line-height: 38.4px;
  }
}

body .pblk h2 + .cards3,
body .pblk h2 + .kp-kolonki,
body .pblk h2 + .kakpoluchit,
body .pblk h2 + .proekty,
body .pblk h2 + .rekomendacii,
body .pblk h2 + .sertifikaty {
  margin-top: 70px;
}

body .pblk h2:has(+ .cards3),
body .pblk h2:has(+ .kp-kolonki),
body .pblk h2:has(+ .kakpoluchit),
body .pblk h2:has(+ .proekty),
body .pblk h2:has(+ .rekomendacii),
body .pblk h2:has(+ .sertifikaty) {
  margin-top: 70px;
}

@media (max-width: 900px) {
  body .pblk h2 + .cards3,
  body .pblk h2 + .kp-kolonki,
  body .pblk h2 + .kakpoluchit,
  body .pblk h2 + .proekty,
  body .pblk h2 + .rekomendacii,
  body .pblk h2 + .sertifikaty,
  body .pblk h2:has(+ .cards3),
  body .pblk h2:has(+ .kp-kolonki),
  body .pblk h2:has(+ .kakpoluchit),
  body .pblk h2:has(+ .proekty),
  body .pblk h2:has(+ .rekomendacii),
  body .pblk h2:has(+ .sertifikaty) {
    margin-top: 35px;
  }
}

.pblk img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.pblk p:not(.crumbs) a:not(.tp-knopka),
.pblk li a:not(.tp-knopka),
.pblk td a:not(.tp-knopka),
.pblk p:not(.crumbs) a:not(.tp-knopka):link,
.pblk li a:not(.tp-knopka):link,
.pblk p:not(.crumbs) a:not(.tp-knopka):visited,
.pblk li a:not(.tp-knopka):visited {
  color: var(--krasnyj, #8c1821);
  text-decoration: none;
}

.pblk p:not(.crumbs) a:not(.tp-knopka):hover,
.pblk li a:not(.tp-knopka):hover,
.pblk td a:not(.tp-knopka):hover,
.pblk p:not(.crumbs) a:not(.tp-knopka):focus-visible,
.pblk li a:not(.tp-knopka):focus-visible {
  text-decoration: underline;
}

.pblk table.tablica-v-tekste th,
.pblk table.tablica-v-tekste td {
  font-size: 15px;
  line-height: 21.75px;
  color: #3d4247;
}

@media (max-width: 900px) {
  .pblk table.tablica-v-tekste th,
  .pblk table.tablica-v-tekste td {
    font-size: 13px;
    line-height: 17.55px;
  }
}

.pblk a.tp-knopka {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 240px;
  height: 51.2px;
  margin: 24px auto;
  border-radius: 999px;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.pblk a.tp-knopka:hover,
.pblk a.tp-knopka:focus-visible,
.pblk a.tp-knopka:visited {
  color: #fff;
  text-decoration: none;
}

body .sertifikaty .sert-skan,
body .sertifikaty .skan-knopka,
body .sertifikaty .sert-skan img {
  margin-inline: auto;
}

body .sertifikaty .sert-skan {
  display: flex;
  justify-content: center;
}
