.content{
    padding: 2rem;
    border: solid 2px var(--colorPrimary);
}
.content h1{
    color: var(--colorLowlight);
}
.heading-with-icon {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--colorTextPrimary); /* nastavuje barvu SVG i textu */
  padding-bottom: 1rem;
}

.icon {
  width: 24px;
  height: 24px;
}
.responsive-heading {
  /* clamp(min, preferred, max) */
  font-size: clamp(1.5rem, 5vw, 2rem);
  line-height: 1.2;
  font-weight: bold;
  margin: 0;
}

.news-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background-color: #f8f9fa;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  padding: 1rem;
  transition: transform 0.2s;
}

.news-item:hover {
  transform: translateY(-3px);
}

.news-image {
  max-width: 300px; /* maximální šířka obrázku na desktopu */
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.news-content {
  flex: 1;
}

.news-date {
  font-size: 0.8rem;
  color: #888;
  margin: 0 0 0.25rem 0;
}

.news-title {
  font-size: 1.25rem;
  margin: 0 0 0.5rem 0;
  color: var(--colorTextSecondary);
}

.news-excerpt {
  margin: 0 0 0.5rem 0;
  color: var(--colorTextPrimary);
  font-size: 0.95rem;
  line-height: 1.4;
}

.news-link {
  font-size: 0.95rem;
  color: var(--colorLowlight);
  text-decoration: none;
  font-weight: bold;
}

.news-link:hover {
  text-decoration: underline;
}

/* Responzivní nastavení pro mobilní zařízení */
@media (max-width: 768px) {
  .news-item {
    flex-direction: column;  /* přepnutí na sloupec */
    align-items: stretch;    /* obsah se roztáhne na šířku */
  }

  .news-image {
    max-width: 100%;         /* obrázek zabere celou šířku */
    width: 100%;             /* zajistí skutečnou šířku 100% */
    margin-bottom: 1rem;     /* mezera pod obrázkem */
    flex-shrink: unset;      /* zruší omezení zmenšení */
  }

  .news-content {
    width: 100%;             /* text se roztáhne pod obrázek */
  }
}

@media (max-width: 768px) {
  .contentBlock .container {
    max-width: 100% !important;
  }
}
@media (max-width: 576px) {
  .contentBlock .container {
    max-width: 100% !important;
  }
}