/* Hír */

.news-breadcrumb {
  padding: 10px 60px;
  background: var(--color7);
}

.news-breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.news-body {
  padding: 30px 60px;
}

.news-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  background: linear-gradient( to bottom, var(--color7) 0px, var(--color7) 60px, var(--color0) 60px );
  padding: 10px 60px;
}

.news-header-title {
  padding: unset;
  font-weight: bold;
}

.news-header figure {
  all: unset;
  margin: 0;
}

.news-header img {
  max-width: 400px;
  width: 100%;
  height: auto;
  border-radius: 34px;
}

@media (max-width: 1024px) {
  .news-breadcrumb {
    display: none;
  }

  .news-header {
    padding: 0 10px;
    flex-direction: column;
    background: unset;
  }

  .news-header-title {
    text-align: center;
  }

  .news-body {
    padding: 0 10px;
  }
}




/* Kiemelt hírek (felső rész) */
.highlighted-posts {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.highlighted-post {
  flex: 1 1 calc(33.333% - 1rem);
  box-sizing: border-box;
  border: 1px solid #ccc;
  padding: 1rem;
  background: #f9f9f9;
}

.highlighted-post img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 0.5rem;
}

/* Normál hírek (alsó rész) */
.regular-posts {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.regular-post {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  border-bottom: 1px solid #ccc;
  padding-bottom: 1.5rem;
}

.regular-thumbnail img {
  width: 100px;
  height: auto;
  object-fit: cover;
}

.regular-content h3 {
  margin: 0 0 0.5rem 0;
}

.meta {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 0.5rem;
}

.meta span {
  margin-right: 0.75rem;
}

/* Mobilnézet */
@media (max-width: 768px) {
  .highlighted-posts {
    flex-direction: column;
  }

  .highlighted-post {
    flex: 1 1 100%;
  }

  .regular-post {
    flex-direction: column;
  }

  .regular-thumbnail img {
    width: 100%;
  }
}
