.hos-knowledge {
  padding: 64px 0;
}

@media (max-width: 768px) {
  .hos-knowledge {
    padding: 48px 0;
  }
}
.hos-knowledge__head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 16px;
  margin-bottom: 48px;
}
.hos-knowledge__head-text {
  max-width: 768px;
}
@media (max-width: 768px) {
  .hos-knowledge__head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 32px;
  }
}
.hos-knowledge__heading {
  margin-bottom: 12px;
}
.hos-knowledge__label {
  display: inline-block;
  color: #0f1115;
  font-weight: 500;
  font-size: 14px;
  position: relative;
  padding: 8px 15px;
  margin-bottom: 10px;
}
.hos-knowledge__lead {
  color: #697289;
  font-size: 16px;
  max-width: 584px;
}
.hos-knowledge__head-cta .btn,
.hos-knowledge__head-cta .rd-btn {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  padding: 0.95rem 1.4rem;
}

.hos-knowledge__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 16px;
}
@media (max-width: 992px) {
  .hos-knowledge__grid {
    grid-template-columns: 1fr;
  }
}
.hos-knowledge__side {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  align-content: start;
  width: 100%;
  min-width: 0;
}
.hos-knowledge__side > * {
  min-width: 0;
}
@media (max-width: 768px) {
  .hos-knowledge__side {
    grid-template-columns: 1fr;
  }
}
.strefawiedzy .hos-k-item {
  width: calc(50% - 12px);
}
@media (max-width:768px) {
  .strefawiedzy .hos-k-item {
    width: 100%;
  }
}
.hos-k-item {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  min-width: 0;
}
.hos-k-item__media {
  position: relative;
  width: 100%;
  aspect-ratio: 300 / 157;
  background: #f3f5f7;
  border-radius: 28px;
  display: flex;
  box-shadow: 0px 4px 20px 0px rgba(17, 17, 17, 0.04);
}
.hos-k-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 28px;
  border: 1px solid #e2e7ee;
}
.hos-k-item__meta {
  color: #697289;
  font-size: 13px;
  margin-bottom: 8px;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.hos-k-item__meta a {
  display: flex;
  gap: 8px;
  align-items: center;
}
.hos-k-item__meta a::after {
  content: "";
  width: 4px;
  height: 4px;
  display: block;
  background-color: #697289;
  border-radius: 50%;
}

.hos-k-item__title a {
  color: inherit;
  text-decoration: none;
  color: #070d0b;
  font-size: 16px;
  font-weight: 500;
  display: inline-block;
  display: flex;
  gap: 16px;
}
.hos-k-item__title a svg {
  min-width: 24px;
}
.hos-k-item__cats {
  margin-top: 12px;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.hos-k-item__cat {
  background: #fff;
  border: 1px solid #e2e7ee;
  color: #39413f;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  text-decoration: none;
  transition: 0.3s;
}

.hos-k-item__cat:hover {
  background-color: #e2e7ee;
}
.hos-k-item__date {
  color: #697289;
  font-size: 13px;
  margin-left: 8px;
}

.hos-k-item .hos-k-item__title {
  font-size: 16px;
  font-weight: 500;
}
@media (min-width: 768px) {
  .hos-k-item {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  .hos-k-item:hover {
    transform: translateY(-4px);
  }
}

/* Mobile slider (<=768px) */
@media (max-width: 768px) {
  .hos-knowledge--slider .hos-knowledge__grid {
    display: block;
  }
  .hos-knowledge__viewport {
    overflow: hidden;
    width: 100%;
    touch-action: pan-y;
  }
  .hos-knowledge__track {
    display: flex;
    gap: 0;
    will-change: transform;
    transition: transform 0.28s ease;
  }
  .hos-knowledge__track > .hos-k-item {
    flex: 0 0 100%;
    width: 100%;
  }
  .hos-knowledge__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
  }
  .hos-knowledge__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e2e7ee;
    border: none;
    padding: 0;
  }
  .hos-knowledge__dot.is-active {
    background: #ff7031;
  }
}
