.pobyt-pulse {
  --pulse-red: #c62828;
  --pulse-ink: #18202a;
  --pulse-muted: #667085;
  --pulse-line: #e5e7eb;
  --pulse-bg: #ffffff;
  --pulse-soft: #f7f9fc;
  width: 100%;
  margin: 28px 0;
  color: var(--pulse-ink);
  isolation: isolate;
}

.pobyt-pulse__inner {
  border: 1px solid var(--pulse-line);
  border-radius: 8px;
  background: var(--pulse-bg);
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.08);
}

.pobyt-pulse__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  background: #101820;
  color: #fff;
}

.pobyt-pulse__head,
.pobyt-pulse__head * {
  color: #fff !important;
}

.pobyt-pulse__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.pobyt-pulse__dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #37d67a;
  box-shadow: 0 0 0 5px rgba(55, 214, 122, 0.16);
  flex: 0 0 auto;
}

.pobyt-pulse__title {
  margin: 0;
  color: #fff !important;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 800;
}

.pobyt-pulse__meta {
  color: rgba(255, 255, 255, 0.82) !important;
  font-size: 12px;
  line-height: 1.35;
  white-space: nowrap;
}

.pobyt-pulse__filters {
  display: flex;
  gap: 8px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--pulse-line);
  background: #f8fafc;
  overflow-x: auto;
  scrollbar-width: thin;
}

.pobyt-pulse__filter {
  flex: 0 0 auto;
  border: 1px solid var(--pulse-line);
  border-radius: 999px;
  background: #fff;
  color: var(--pulse-ink);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  padding: 8px 10px;
  white-space: nowrap;
}

.pobyt-pulse__filter:hover,
.pobyt-pulse__filter.is-active {
  border-color: var(--pulse-red);
  background: #fff5f5;
  color: var(--pulse-red);
}

.pobyt-pulse__filter.is-current {
  border-color: #37d67a;
  box-shadow: 0 0 0 3px rgba(55, 214, 122, 0.16);
}

.pobyt-pulse__filter.is-active.is-current {
  border-color: var(--pulse-red);
  box-shadow: none;
}

.pobyt-pulse__body {
  position: relative;
  height: 276px;
  overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, var(--pulse-soft) 100%);
  color: var(--pulse-ink);
}

.pobyt-pulse__list {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
  transition: transform 460ms ease;
}

.pobyt-pulse__item {
  min-height: 92px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--pulse-line);
  background: rgba(255, 255, 255, 0.82);
  color: var(--pulse-ink);
}

.pobyt-pulse__source {
  display: block;
  margin-bottom: 5px;
  color: var(--pulse-red);
  font-size: 11px;
  line-height: 1.2;
  font-weight: 800;
  text-transform: uppercase;
}

.pobyt-pulse__link {
  display: block;
  color: var(--pulse-ink);
  text-decoration: none;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 700;
}

.pobyt-pulse__link:hover {
  color: var(--pulse-red);
}

.pobyt-pulse__badge {
  align-self: center;
  border: 1px solid #ffd9d9;
  border-radius: 999px;
  color: var(--pulse-red);
  background: #fff5f5;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 8px;
  white-space: nowrap;
}

.pobyt-pulse__empty {
  padding: 18px 16px;
  color: var(--pulse-muted);
  font-size: 14px;
}

.pobyt-pulse__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 10px 16px;
  border-top: 1px solid var(--pulse-line);
  color: var(--pulse-muted);
  font-size: 12px;
  background: #fff;
}

.pobyt-pulse__button {
  border: 1px solid var(--pulse-line);
  border-radius: 6px;
  background: #fff;
  color: var(--pulse-ink);
  font-size: 12px;
  font-weight: 700;
  padding: 7px 10px;
  cursor: pointer;
}

.pobyt-pulse__button:hover {
  border-color: var(--pulse-red);
  color: var(--pulse-red);
}

@media (max-width: 640px) {
  .pobyt-pulse__head,
  .pobyt-pulse__foot {
    align-items: flex-start;
    flex-direction: column;
  }

  .pobyt-pulse__meta {
    white-space: normal;
  }

  .pobyt-pulse__body {
    height: 330px;
  }

  .pobyt-pulse__item {
    min-height: 110px;
    grid-template-columns: 1fr;
  }

  .pobyt-pulse__badge {
    justify-self: start;
  }
}
