.header_loyalnosti {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 50px 20px;
  background: #E2E2D6;
  color: #000;
}
.header_loyalnosti h1 {
  max-width: 837px;
  text-align: center;
  font-size: clamp(25px, 3vw, 40px);
  font-weight: 300;
  margin: 0;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
}
.header_loyalnosti h1:before {
  width: 42px;
  height: 38px;
  content: "";
  background-position: center;
  background-repeat: no-repeat;
  background-image: url("/wp-content/uploads/2025/12/program_logo.png");
}
.header_loyalnosti p {
  max-width: 837px;
  text-align: center;
  font-size: var(--fs-body);
  font-weight: 300;
}
@media (max-width: 1600px) {
  .header_loyalnosti p {
    font-size: 16px;
  }
}

/* scoped to page content — bare h2/h3/p here leaked into the footer */
.page_content h2 {
  font-size: var(--fs-subhead);
  text-align: center;
  margin: 0;
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 400;
  color: #000;
}
@media (max-width: 1600px) {
  .page_content h2 {
    font-size: var(--fs-body);
  }
}

.page_content h3 {
  font-size: var(--fs-body);
  text-align: center;
  margin: 0;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 600;
  color: #000;
}

.page_content p {
  font-size: var(--fs-body);
  text-align: center;
  font-weight: 300;
  max-width: 988px;
  margin: 0 auto;
  color: #141414;
}
p.after_items {
  font-weight: 600;
  margin-top: 20px;
}
p.after_btns {
  font-size: var(--fs-body);
  margin-bottom: 40px;
}
p.gray_after_hr {
  border-top: 1px solid #979797;
  padding-top: 40px;
  color: #A6A2A2;
  font-size: 16px;
}

.items_list {
  max-width: 988px;
  margin: 0 auto;
  margin-top: 30px;
  gap: 10px;
}

.items_list .wp-block-column {
  padding: 55px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #ECECEC;
  align-items: center;
  gap: 20px;
}
.items_list .wp-block-column p:first-child {
  position: relative;
  margin: 0;
  width: 78px;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-subhead-lg);
  color: #000;
  border: 1px solid #141414;
  font-weight: 300;
}
.items_list .wp-block-column p:first-child:before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  border: 1px solid #000;
  border-radius: 100%;
}
.items_list .wp-block-column p:last-child {
  margin: 0;
  text-align: center;
  max-width: 263px;
  color: #000;
  font-weight: 600;
  font-size: 16px;
}

.btns_program {
  max-width: 988px;
  margin: 40px auto;
}
.btns_program .wp-block-column {
  display: flex;
  justify-content: center;
}
@media (max-width: 992px) {
  .btns_program .wp-block-column .wp-block-buttons {
    width: 100%;
  }
  .btns_program .wp-block-column .wp-block-buttons .wp-block-button {
    width: 100%;
  }
}
.btns_program .wp-block-column a {
  font-size: var(--fs-body);
  padding: 12px 55px;
  border: 1px solid #141414;
  border-radius: 0px;
  color: #fff;
  background: #141414;
  text-decoration: none !important;
  transition: 0.2s 0s;
}
@media (max-width: 1600px) {
  .btns_program .wp-block-column a {
    width: 100%;
    display: block;
    font-size: var(--fs-caption);
  }
}
.btns_program .wp-block-column a:hover {
  background: transparent;
  color: #141414;
}
.btns_program .wp-block-column:last-child a {
  background: transparent;
  color: #141414;
}
.btns_program .wp-block-column:last-child a:hover {
  color: #fff;
  background: #141414;
}
