/* KIEMELT KÁRTYÁK */
.highlighted-news .cards-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.highlight-row {
  display: flex;
  gap: 20px;
  justify-content: space-between;
}

.highlight-card {
  flex: 1 1 calc(33.333% - 13.333px);
  display: flex;
  flex-direction: column;
  border: 1px solid #ddd;
  border-radius: 34px;
  background: var(--color0);
  overflow: hidden;
}

.highlight-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.highlight-body {
  padding: 15px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.highlight-title {
  font-size: 1.2rem;
  font-weight: bold;
  margin: 10px;
}

.highlight-excerpt {
  margin: 0 10px 10px;
  flex-grow: 1;
}

.highlight-readmore {
  display: flex;
  margin: 10px;
  justify-content: space-between;
}

.highlight-readmore a {
  all: unset;
  cursor: pointer;
}

.highlight-readmore a img {
  width: 20px;
  transition: transform 0.3s ease;
}

.highlight-readmore a img:hover {
  transform: scale(1.5);
}

/* NEM KIEMELT HÍREK LISTÁJA */
.other-news {
  padding: 30px 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.other-news .news-item {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--color7);
  border-radius: 34px;
  overflow: hidden;
}

.news-thumb {
  flex: 0 0 250px;
  height: auto;
  overflow: hidden;
}

.news-item img {
  width: 300px;
  height: auto;
}

.news-item a img {
  padding: 20px 50px 20px 10px;
  width: 20px;
  transition: transform 0.3s ease;
}

.news-item a img:hover {
  transform: scale(1.2);
}

.news-content {
  flex: 1;
}

.news-text {
  padding: 20px;
}

.news-title {
  margin: 0 0 10px;
  font-weight: bold;
  font-size: 1.1rem;
}

.news-excerpt {
  margin: 10px 0;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .other-news {
    gap: 20px;
  }

  .highlight-card {
    flex: 1 1 100%;
    max-width: none;
  }

  .highlight-row {
    flex-direction: column;
  }

  .other-news .news-item {
    flex-direction: column;
  }

  .news-item a img {
    padding: 0 0 20px 0;
    transform: rotate(90deg);
  }

  .news-item a img:hover {
    transform: scale(1.5);
  }

  .news-thumbnail img {
    width: 100%;
    height: auto;
  }
}
