[data-horackova-category-news][hidden] { display: none !important; }

.hz-language-news-wrap {
  margin-top: 0 !important;
  padding-top: 3.13rem !important;
  padding-bottom: 3.13rem !important;
  border-top: 0 !important;
}

.hz-language-news-wrap .hz-category-news-section {
  margin-top: 0 !important;
  padding-top: 0 !important;
  border-top: 0 !important;
}

.hz-category-news-section {
  --hz-category-control: #ea7066;
  --hz-category-control-hover: #d9534f;
  --hz-category-control-focus: rgba(234, 112, 102, .35);
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.hz-category-news-theme-success {
  --hz-category-control: #b5d56a;
  --hz-category-control-hover: #9fbd58;
  --hz-category-control-focus: rgba(181, 213, 106, .4);
}

.hz-category-news-theme-primary {
  --hz-category-control: #f0c24b;
  --hz-category-control-hover: #d9a92f;
  --hz-category-control-focus: rgba(240, 194, 75, .4);
}

.hz-category-news-theme-pink {
  --hz-category-control: #ea77ad;
  --hz-category-control-hover: #d95f98;
  --hz-category-control-focus: rgba(234, 119, 173, .4);
}

.hz-category-news-section .section-title h2 { text-transform: none; }

.hz-category-news-empty {
  margin: 0;
  padding: clamp(2.5rem, 7vw, 5rem) 1rem;
  color: #647083;
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 600;
  text-align: center;
}

.hz-category-news-carousel { position: relative; }

.hz-category-news-viewport {
  overflow-x: auto;
  margin: -.75rem -.25rem;
  padding: .75rem .25rem;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.hz-category-news-viewport::-webkit-scrollbar { display: none; }

.hz-category-news-track {
  display: flex;
  align-items: stretch;
  gap: 1.5rem;
}

.hz-category-news-track .hz-news-card {
  flex: 0 0 calc((100% - 3rem) / 3);
  scroll-snap-align: start;
}

.hz-category-news-arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  display: grid;
  width: 48px;
  height: 48px;
  padding: 0 0 4px;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--hz-category-control);
  box-shadow: 0 8px 24px rgba(23, 33, 49, .25);
  color: #fff;
  font: 700 2.25rem/1 Arial, sans-serif;
  cursor: pointer;
  transform: translateY(-50%);
}

.hz-category-news-arrow-prev { left: -24px; }
.hz-category-news-arrow-next { right: -24px; }
.hz-category-news-arrow:hover:not(:disabled),
.hz-category-news-arrow:focus-visible:not(:disabled) { background: var(--hz-category-control-hover); }
.hz-category-news-arrow:focus-visible { outline: 3px solid var(--hz-category-control-focus); outline-offset: 3px; }
.hz-category-news-arrow:disabled { opacity: .35; cursor: default; }
.hz-category-news-arrow[hidden] { display: none; }

.hz-category-news-actions { margin-top: 2rem !important; }

@media (max-width: 900px) {
  .hz-category-news-track .hz-news-card { flex-basis: calc((100% - 1.5rem) / 2); }
}

@media (min-width: 768px) {
  .hz-language-news-wrap {
    padding-top: 6.25rem !important;
    padding-bottom: 6.25rem !important;
  }
}

@media (max-width: 620px) {
  .hz-category-news-section { margin-top: 0; padding-top: 0; }
  .hz-category-news-track .hz-news-card { flex-basis: 100%; }
  .hz-category-news-arrow { width: 42px; height: 42px; }
  .hz-category-news-arrow-prev { left: 4px; }
  .hz-category-news-arrow-next { right: 4px; }
}
