/**
 * /programma-palliativnoj-pomoshhi/
 * Etalon: medpribor.pro/programma-palliativnoj-pomoshhi/
 * Prices omitted by design.
 */

.mp-pall {
  margin: 0 0 2rem;
  color: #526371;
  font-family: "Exo 2", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow: visible;
}

.mp-pall a {
  color: #00bf80;
  text-decoration: none;
}

.mp-pall a:hover {
  color: #0055a6;
}

.mp-pall__hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 280px;
  margin: 0 0 1.25rem;
  padding: 2.25rem 1.5rem;
  background-image: var(--mp-pall-hero);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 3px;
  overflow: hidden;
}

.mp-pall__hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(40, 55, 48, 0.62);
}

.mp-pall__title {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 40rem;
  font-family: "Exo 2", Roboto, sans-serif;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.25;
  text-align: center;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.mp-pall-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  margin: 28px 0 24px;
  padding: 20px 16px;
  font-family: "Exo 2", Roboto, sans-serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.25;
  color: #54595f;
  text-align: center;
  background-image: linear-gradient(180deg, #c0e6d2 0%, rgba(192, 230, 210, 0.37) 100%);
}

.mp-pall-section {
  margin: 0 0 8px;
}

.mp-pall-section p {
  margin: 0 0 14px;
}

.mp-pall-subhead {
  margin: 0.5rem 0 0.75rem;
  font-family: Roboto, "Exo 2", sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: #333;
}

.mp-pall-list {
  margin: 0 0 14px;
  padding: 0 0 0 1.25rem;
}

.mp-pall-list li {
  margin: 0 0 0.45rem;
}

.mp-pall-list--num {
  list-style: decimal;
}

.mp-pall-cat {
  margin: 0 0 1.5rem;
  padding: 1rem 1.1rem 1.15rem;
  background: #f7fbf9;
  border: 1px solid #d7ebe2;
  border-radius: 4px;
}

.mp-pall-cat__title {
  margin: 0 0 0.9rem;
  font-family: Roboto, "Exo 2", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
}

.mp-pall-cat__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 1rem;
}

.mp-pall-item {
  margin: 0;
  background: #fff;
  border: 1px solid #e4eee9;
  border-radius: 3px;
}

.mp-pall-item__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
}

.mp-pall-item__link img {
  display: block;
  width: 100%;
  height: 160px;
  object-fit: contain;
  padding: 0.65rem;
  background: #fff;
}

.mp-pall-item__name {
  display: block;
  padding: 0.55rem 0.75rem 0.75rem;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.35;
  color: #333;
}

a.mp-pall-item__link:hover .mp-pall-item__name {
  color: #00bf80;
}

.mp-pall-callout {
  margin: 0.5rem 0 0;
  padding: 1.1rem 1.2rem;
  background: #f7fbf9;
  border: 1px solid #d7ebe2;
  border-radius: 4px;
}

.mp-pall-callout p:last-child {
  margin-bottom: 0;
}

.mp-pall-faq__item {
  margin: 0 0 0.65rem;
  border: 1px solid #d7ebe2;
  border-radius: 4px;
  background: #fff;
}

.mp-pall-faq__q {
  cursor: pointer;
  list-style: none;
  padding: 0.85rem 1rem;
  font-family: Roboto, "Exo 2", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: #333;
}

.mp-pall-faq__q::-webkit-details-marker {
  display: none;
}

.mp-pall-faq__a {
  padding: 0 1rem 1rem;
}

.mp-pall-faq__a p:last-child {
  margin-bottom: 0;
}

@media (max-width: 760px) {
  .mp-pall__title {
    font-size: 22px;
  }

  .mp-pall-bar {
    font-size: 1.05rem;
    padding: 1rem 0.85rem;
  }

  .mp-pall-cat__grid {
    grid-template-columns: 1fr;
  }

  .mp-pall-item__link img {
    height: 180px;
  }
}
