.kp-science-day {
  position: relative;
  width: 100%;
  margin: 0 0 22px;
  padding: 20px 18px 18px;
  overflow: hidden;
  border: 1px solid #ececec;
  border-top: 3px solid #c90000;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .055);
  text-align: center;
  font-family: inherit;
}

.kp-science-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  margin: 0 0 14px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff2f2;
  color: #b00000;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.kp-science-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  box-shadow: 0 5px 14px rgba(0, 0, 0, .14);
}

.kp-science-icon i {
  font-size: 26px;
  line-height: 1;
}

.kp-science-day h3 {
  margin: 0 0 9px;
  color: #111;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.32;
}

.kp-science-day p {
  margin: 0;
  color: #333;
  font-size: 14px;
  line-height: 1.58;
}

.kp-science-extra {
  margin: 16px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid #eeeeee;
  color: #666;
  font-size: 12.5px;
  line-height: 1.5;
}

.kp-science-stats {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  margin: 14px 0 16px;
}

.kp-science-stats span {
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  padding: 4px 8px;
  border: 1px solid #ececec;
  border-radius: 999px;
  background: #fafafa;
  color: #555;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.15;
}

.kp-science-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 40px;
  padding: 9px 16px;
  border: 1px solid #c90000;
  border-radius: 999px;
  background: #fff;
  color: #c90000;
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.kp-science-btn:hover,
.kp-science-btn:focus {
  border-color: #b70000;
  background: #c90000;
  color: #fff;
  box-shadow: 0 7px 16px rgba(201, 0, 0, .15);
  outline: none;
}

.kp-science-btn:active {
  transform: translateY(1px);
}

/*
 * Только desktop.
 * Скрываем не только карточку, но и стандартную обёртку Joomla/Helix,
 * чтобы на мобильном не оставался заголовок модуля или пустой отступ.
 */
@media (max-width: 991px) {
  .kp-science-day {
    display: none !important;
  }

  .sp-module:has(.kp-science-day),
  .moduletable:has(.kp-science-day),
  .module:has(.kp-science-day) {
    display: none !important;
  }
}
