/*
 * Стили страницы политики (как на protezirovanie-biofordent.ru)
 * Шрифт Museo Sans подключается глобально в common.css (museo-sans-cyrillic.css).
 */
/* #page-content в common.css с flex-grow:1 тянется на всю высоту экрана — под коротким
   текстом остаётся пустая белая полоса над футером. Класс page-policy на <body> в шаблоне политики. */
.page-policy #page-content {
  flex-grow: 0 !important;
  min-height: 0 !important;
}
#page-content:has(.policy-page-wrap) {
  flex-grow: 0;
}

/* Нижний отступ см. блоки #page-content > .policy-page-wrap ниже — py-8/py-md-9 дают padding-bottom,
   фон обёртки прозрачный → белая полоса над футером */

.policy-page-wrap {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.policy-strip {
  width: 100%;
  margin: 0;
  box-sizing: border-box;
}
.policy-strip--white {
  background: #fff;
  padding: 1.35rem 0 1.55rem;
}
.policy-strip--grey {
  background: #f2f6f7;
  padding: 1.35rem 0 2.75rem;
  /* не flex-grow: иначе полоса раздувается на всю высоту родителя */
  flex: 0 0 auto;
}
@media (min-width: 768px) {
  .policy-strip--white {
    padding: 1.65rem 0 1.85rem;
  }
  .policy-strip--grey {
    padding: 1.5rem 0 3rem;
  }
}
.policy-page-header {
  background: transparent;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 0.25rem;
  box-shadow: none;
}
.policy-strip-white__stack {
  display: grid;
  grid-template-rows: 1fr auto 1fr auto;
  align-items: center;
  min-height: 10.5rem;
  box-sizing: border-box;
}
.policy-strip-white__spacer {
  min-height: 0;
}
.policy-breadcrumb-strip__nav {
  color: #98a5ad;
  line-height: 1.35;
  margin: 0;
  justify-self: start;
}
@media (min-width: 768px) {
  .policy-strip-white__stack {
    min-height: 12rem;
  }
}
#page-content > .policy-page-wrap.py-8,
body.page-policy .policy-page-wrap.py-8 {
  padding-top: 1.25rem !important;
  padding-bottom: 0 !important;
}
@media (min-width: 768px) {
  #page-content > .policy-page-wrap.py-md-9,
  body.page-policy .policy-page-wrap.py-md-9 {
    padding-top: 1.5rem !important;
    padding-bottom: 0 !important;
  }
}
.policy-page-h1-main {
  text-align: center;
  font-weight: 500 !important;
  line-height: 1.35;
  margin-bottom: 0.55rem;
}
.policy-page-h2-order {
  text-align: center;
  color: #8a7968;
  font-size: 0.95rem;
  font-weight: 400 !important;
  margin: 0 !important;
  line-height: 1.4;
}
.policy-page-body {
  max-width: 860px;
  margin: 0 auto;
  background: transparent;
  padding: 0 0.25rem;
  border: 0;
  text-align: left;
}
.policy-page-body p {
  color: #2f4048;
  margin: 0 0 1rem;
  line-height: 1.5;
}
.policy-section-title {
  color: #1f343e;
  font-size: 1.75rem;
  font-weight: 600;
  margin: 1.5rem 0 0.85rem;
  line-height: 1.3;
}
.policy-section-title:first-of-type {
  margin-top: 0;
}
