/* Pozadie sekcie */
.content.wide .content-inner{
  background: linear-gradient(180deg, #f5f9ff, #eef6ff);
  border-radius: 12px;
  padding: 24px 18px 32px;
}

/* H1 štýl */
.sectionDescription h1{
  font-weight: 800;
  color: #243246;
  letter-spacing: .2px;
  line-height: 1.15;
  margin: 6px 0 24px;
  font-size: clamp(28px, 3.6vw, 42px);
}

/* GRID rozloženie kariet */
#newsWrapper.news-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
  align-items: stretch;
}

/* Karta článku */
#newsWrapper .news-item {
  background: #ffffff;
  border-radius: 22px;
  box-shadow: 0 10px 30px rgba(20,40,80,.08);
  overflow: hidden;
  display: flex;
width:100%;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
#newsWrapper .news-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(20,40,80,.12);
}

/* Obrázok fixne vysoký */
#newsWrapper .news-item .news-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

/* Text blok */
#newsWrapper .news-item h2,
#newsWrapper .news-item .description {
  padding: 16px 18px 0;
}

#newsWrapper .news-item h2 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 8px;
}
#newsWrapper .news-item h2 a {
  color: #243246;
  text-decoration: none;
}
#newsWrapper .news-item h2 a:hover {
  color: #4cb7bf;
}

/* Popis obmedziť na 3 riadky */
#newsWrapper .news-item .description {
  font-size: 15px;
  color: rgba(36,50,70,.78);
  line-height: 1.5;
  padding-bottom: 18px;
}
#newsWrapper .news-item .description p {
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Pagination */
.pagination-wrapper{
  margin-top: 28px;
}
.pagination{
  display: flex;
  align-items: center;
  gap: 8px;
}
.pagination a,
.pagination .current{
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(36,50,70,.12);
  color: #243246;
  background: #fff;
  transition: all .2s ease;
}
.pagination a:hover{
  border-color: rgba(36,50,70,.24);
  color: #4cb7bf;
}
.pagination .current{
  background: #4cb7bf;
  color: #fff;
  border-color: transparent;
}

/* Responsive */
@media (max-width: 768px){
  #newsWrapper.news-wrapper{
    gap: 20px;
  }
  #newsWrapper .news-item .news-image{
    height: 180px;
  }
}