/* Hírek: kártyák (nyitóoldal, /hirek lista) és a teljes hír szövege (/hirek/<slug>) */

/* Nyitóoldali blokk a következő (Wiki) szakasz felnyúló díszítő képe fölött: különben mobilon
   eltakarja az "Összes hír" gombot, és nem lehet rákattintani (a .features z-index: 2, ezért itt 3) */
.home-news {
  position: relative;
  z-index: 3;
}

.news-card {
  position: relative; /* a .stretched-link miatt: a teljes kártya kattintható */
  height: 100%;
  background: #fff;
  border: 1px solid #e3e8f0;
  border-radius: 12px;
  padding: 24px;
  transition: box-shadow 0.3s, transform 0.3s;
}
.news-card:hover,
.news-card:focus-within {
  box-shadow: 0 10px 30px rgba(11, 26, 51, 0.1);
  transform: translateY(-3px);
}
.news-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #5d6369;
  margin-bottom: 10px;
}
.news-category {
  background: #eef3fb;
  color: #0b1a33;
  border-radius: 111px;
  padding: 2px 10px;
}
.news-card .news-title {
  font-size: 20px;
  line-height: 28px;
  font-weight: 600;
  margin-bottom: 10px;
}
.news-card .news-title a {
  color: #0b1a33;
}
.news-card:hover .news-title a {
  color: #0061ff;
}
.news-summary {
  color: #415069;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

/* A listaoldal és a hír alacsonyabb fejlécet kap, mint a szolgáltatás oldalak */
.news-hero {
  padding-bottom: 50px;
}
/* A hírek címe hosszú is lehet: kisebb, a képernyő szélességéhez igazodó betű */
.inner-hero1.news-hero .main-heading h1 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.25;
}

/* A hír szövege: a main.css lenullázza a bekezdések, listák térközét, itt visszaadjuk */
.news-body {
  background: #fff;
  border: 1px solid #e3e8f0;
  border-radius: 12px;
  padding: 32px;
  color: #2b3648;
  line-height: 1.7;
  overflow-wrap: break-word;
  overflow-x: auto; /* széles táblázat mobilon görgethető */
}
.news-body p,
.news-body ul,
.news-body ol,
.news-body pre,
.news-body table,
.news-body blockquote {
  margin-bottom: 16px;
}
.news-body > :last-child {
  margin-bottom: 0;
}
.news-body h3,
.news-body h4 {
  color: #0b1a33;
  font-weight: 600;
  margin: 24px 0 12px;
}
.news-body h3 {
  font-size: 22px;
}
.news-body h4 {
  font-size: 18px;
}
.news-body ul {
  list-style: disc;
  padding-left: 24px;
}
.news-body ol {
  list-style: decimal;
  padding-left: 24px;
}
.news-body li > ul,
.news-body li > ol {
  margin-bottom: 0;
}
.news-body a {
  color: #0061ff;
}
.news-body a:hover {
  text-decoration: underline;
}
.news-body img {
  height: auto;
}
.news-body blockquote {
  border-left: 4px solid #d4e0ee;
  padding-left: 16px;
}
.news-body table {
  border-collapse: collapse;
}
.news-body th,
.news-body td {
  border: 1px solid #d4e0ee;
  padding: 6px 10px;
  vertical-align: top;
}
.news-body th {
  background: #eef3fb;
}
/* A szerkesztőben választható táblázat szélességek (online css/tables.css) */
.news-body #table50 { width: 50%; }
.news-body #table70 { width: 70%; }
.news-body #table90 { width: 90%; }
.news-body #table99 { width: 99%; }

@media (max-width: 767px) {
  .news-body {
    padding: 20px;
  }
  .news-body #table50,
  .news-body #table70,
  .news-body #table90,
  .news-body #table99 {
    width: 100%;
  }
}
