

.marble-msp-hidden {
  display: none !important;
}


/* Status */

.marble-msp-status {
  margin:
    18px 0
    30px;

  padding:
    18px
    24px;

  border:
    1px solid
    #d5e0eb;

  border-radius:
    16px;

  background:
    #eef3f8;
}

.marble-msp-status__label {
  margin-bottom:
    7px;

  color:
    #073e72;

  font-size:
    11px;

  font-weight:
    800;

  line-height:
    1.2;

  text-transform:
    uppercase;
}

.marble-msp-status__title {
  color:
    #073e72;

  font-size:
    26px;

  font-weight:
    800;

  line-height:
    1.15;
}


/* Directions */

.marble-msp-original-directions {
  display: none !important;
}

.marble-msp-directions {
  display: grid;

  grid-template-columns:
    repeat(
      2,
      minmax(0, 1fr)
    );

  gap:
    10px 14px;

  margin-top:
    18px;
}

.marble-msp-directions__item {
  display: flex;

  align-items: center;

  min-height:
    48px;

  padding:
    12px 15px;

  box-sizing:
    border-box;

  border:
    1px solid
    #d7e3ee;

  border-radius:
    10px;

  background:
    #ffffff;

  color:
    #063d70;

  font-size:
    14px;

  font-weight:
    650;

  line-height:
    1.3;
}


@media (max-width: 700px) {

  .marble-msp-directions {
    grid-template-columns:
      1fr;
  }

}


.marble-msp-status {
  margin-bottom: 8px !important;
}

.marble-support-program__section.marble-support-program__msp-projects {
  margin-top: 0 !important;
  padding-top: 0 !important;
  border-top: 0 !important;
}

.marble-support-program__section.marble-support-program__msp-projects::before,
.marble-support-program__section.marble-support-program__msp-projects::after {
  display: none !important;
  content: none !important;
}

.marble-support-program__section.marble-support-program__msp-projects > h2:first-child {
  margin-top: 0 !important;
  padding-top: 0 !important;
}



.marble-support-program__section.marble-support-program__msp-projects {
  margin-top: 0 !important;
  padding-top: 0 !important;
  border-top: 0 !important;
  box-shadow: none !important;
  background-image: none !important;
}

.marble-support-program__section.marble-support-program__msp-projects::before,
.marble-support-program__section.marble-support-program__msp-projects::after {
  display: none !important;
  content: none !important;
  border: 0 !important;
  box-shadow: none !important;
  background: none !important;
  background-image: none !important;
}

.marble-support-program__section.marble-support-program__msp-projects > hr,
.marble-support-program__section.marble-support-program__msp-projects .marble-divider,
.marble-support-program__section.marble-support-program__msp-projects .marble-support-program__divider {
  display: none !important;
}

.marble-support-program__section.marble-support-program__msp-projects > h2:first-child {
  margin-top: 0 !important;
  padding-top: 0 !important;
}



/*
 * Диагностика F12 показала:
 *
 * промежуточная обычная .marble-support-program__section
 * перед .marble-support-program__msp-projects
 * рисует border-top: 1px solid rgb(227, 235, 241).
 *
 * Убираем только этот separator на странице MSP.
 */
.marble-support-program--msp
.marble-support-program__section:not(.marble-support-program__msp-projects)
+
.marble-support-program__section.marble-support-program__msp-projects {
  border-top: 0 !important;
}

/*
 * Если между ними остаётся скрытая секция, используем
 * современный :has() и адресуем непосредственно ту секцию,
 * после которой идёт блок направлений.
 */
.marble-support-program--msp
.marble-support-program__section:not(.marble-support-program__msp-projects):has(
  +
  .marble-support-program__section.marble-support-program__msp-projects
) {
  border-top: 0 !important;
  padding-top: 0 !important;
  margin-top: 0 !important;
}



/*
 * Compact vertical transition:
 * Directions -> Documents
 */
.marble-support-program--msp
.marble-support-program__section.marble-support-program__msp-projects {
  margin-bottom: 28px !important;
  padding-bottom: 0 !important;
}

.marble-support-program--msp
.marble-document-collection-public {
  margin-top: 0 !important;
}

.marble-support-program--msp
.marble-document-collection-public__header {
  margin-top: 0 !important;
}




.marble-support-program--msp
.marble-support-program__msp-projects {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

body.path-support-measure-archive
.marble-document-collection-public {
  margin-top: 24px !important;
  padding-top: 0 !important;
}




/*
 * Три шага вертикального ритма после статусной плашки:
 * 24px × 3 = 72px.
 */

.marble-support-program--msp
.marble-msp-status {
  margin-bottom: 72px !important;
}

.marble-support-program--msp
.marble-support-program__section.marble-support-program__msp-projects {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

