/* Eger Termál – főoldali hírek. Betöltés csak a widget használatakor. */
.ivc-home-news,
.ivc-home-news * { box-sizing: border-box; }
.ivc-home-news {
  --ivch-navy: #034469;
  --ivch-blue: #067caf;
  --ivch-turquoise: #00a7c7;
  --ivch-ink: #153f56;
  --ivch-muted: #547183;
  --ivch-line: #dceaf0;
  display: block !important;
  width: 100% !important;
  max-width: 1440px !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 auto !important;
  padding: clamp(18px, 2.4vw, 34px) clamp(12px, 1.7vw, 24px) !important;
  color: var(--ivch-ink);
  font-family: inherit;
  line-height: 1.55;
  clear: both;
}
.ivc-home-news a { color: inherit; text-decoration: none; }
.ivc-home-news [hidden] { display: none !important; }
.ivc-home-news a:focus-visible,
.ivc-home-news button:focus-visible,
.ivc-home-news [tabindex="0"]:focus-visible {
  outline: 3px solid #006fa6 !important;
  outline-offset: 3px !important;
}
.ivc-home-news__header {
  display: flex !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
  gap: 22px !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 0 clamp(18px, 2vw, 26px) !important;
  padding: 0 !important;
}
.ivc-home-news__heading-copy { flex: 1 1 auto; min-width: 0; }
.ivc-home-news .ivc-home-news__eyebrow {
  display: flex !important;
  align-items: center !important;
  gap: 9px !important;
  margin: 0 0 8px !important;
  color: #08799d !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  line-height: 1.4 !important;
  letter-spacing: 1.45px !important;
  text-transform: uppercase;
}
.ivc-home-news__eyebrow span { display: inline-block; width: 24px; height: 3px; flex: 0 0 24px; border-radius: 2px; background: linear-gradient(90deg, var(--ivch-blue), var(--ivch-turquoise)); }
.ivc-home-news .ivc-home-news__title {
  display: block !important;
  width: auto !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--ivch-navy) !important;
  font-size: clamp(24px, 2.1vw, 31px) !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  letter-spacing: -.45px !important;
  overflow-wrap: anywhere;
}
.ivc-home-news .ivc-home-news__subtitle { max-width: 280px; margin: 0 0 2px !important; color: var(--ivch-muted) !important; font-size: 13px !important; font-weight: 400 !important; line-height: 1.5 !important; text-align: right; }
.ivc-home-news__heading-aside { display: flex; flex: 0 0 auto; align-items: center; justify-content: flex-end; gap: 12px; min-width: 0; }
.ivc-home-news__navigation { display: flex; flex: 0 0 auto; gap: 8px; }
.ivc-home-news__nav {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; padding: 0;
  border: 1px solid #cae4ee; border-radius: 50%;
  background: #fff; color: var(--ivch-navy);
  box-shadow: 0 4px 14px rgba(3, 68, 105, .09); cursor: pointer;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}
.ivc-home-news__nav:hover { color: #fff; border-color: var(--ivch-turquoise); background: var(--ivch-turquoise); }
.ivc-home-news__nav svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ivc-home-news__viewport {
  display: flex !important; align-items: stretch !important; justify-content: flex-start !important;
  gap: 20px !important; width: 100% !important; max-width: 100% !important; min-width: 0 !important;
  height: auto !important; min-height: 0 !important; max-height: none !important;
  overflow-x: auto !important; overflow-y: hidden !important;
  margin: 0 !important; padding: 3px 3px 14px !important;
  scroll-snap-type: x mandatory; scroll-padding-inline: 3px;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.ivc-home-news__viewport::-webkit-scrollbar { display: none; }
.ivc-home-news .ivc-home-news__card {
  display: flex !important; flex: 0 0 var(--ivch-card-width, min(100%, 420px)) !important;
  flex-direction: column !important; align-self: stretch !important;
  width: var(--ivch-card-width, min(100%, 420px)) !important;
  max-width: var(--ivch-card-width, min(100%, 420px)) !important;
  min-width: 0 !important; min-height: 0 !important; height: auto !important; max-height: none !important;
  margin: 0 !important; padding: 0 !important; overflow: hidden !important;
  border: 1px solid var(--ivch-line) !important; border-radius: 16px !important;
  background: #fff !important; box-shadow: 0 5px 22px rgba(3, 68, 105, .065) !important;
  scroll-snap-align: start; scroll-snap-stop: normal;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.ivc-home-news__card:hover { border-color: #9eddea !important; box-shadow: 0 11px 28px rgba(3, 68, 105, .12) !important; }
.ivc-home-news__image-link {
  position: relative !important; display: block !important; flex: 0 0 auto !important;
  width: 100% !important; max-width: 100% !important; min-width: 0 !important;
  margin: 0 !important; padding: 0 !important; overflow: hidden !important;
  aspect-ratio: 16 / 9; background: #e8f3f7;
}
.ivc-home-news .ivc-home-news__image { display: block !important; width: 100% !important; height: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important; object-fit: cover !important; object-position: center; transition: transform .25s ease; }
.ivc-home-news__card:hover .ivc-home-news__image { transform: scale(1.025); }
.ivc-home-news__image-placeholder { display: grid; width: 100%; height: 100%; place-items: center; color: #7ca5b7; background: linear-gradient(135deg, #edf7fa, #d5eaf2); }
.ivc-home-news__image-placeholder svg { width: 45px; height: 45px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.ivc-home-news__date-chip { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 48px; min-height: 56px; padding: 5px 7px; border: 1px solid rgba(255,255,255,.8); border-radius: 10px; color: var(--ivch-navy); background: rgba(255,255,255,.96); box-shadow: 0 3px 12px rgba(3,68,105,.12); line-height: 1; }
.ivc-home-news__date-chip span { font-size: 21px; font-weight: 850; line-height: 1.05; }
.ivc-home-news__date-chip small { margin-top: 4px; color: #08799d; font-size: 10px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; }
.ivc-home-news__type { position: absolute; right: 12px; bottom: 12px; left: auto; max-width: calc(100% - 24px); padding: 5px 10px; border: 1px solid rgba(255,255,255,.58); border-radius: 999px; color: #fff; background: rgba(3, 68, 105, .92); font-size: 10px; font-weight: 750; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; }
.ivc-home-news .ivc-home-news__body { display: flex !important; flex: 1 1 auto !important; flex-direction: column !important; align-items: flex-start !important; width: 100% !important; min-width: 0 !important; min-height: 0 !important; height: auto !important; margin: 0 !important; padding: 16px 19px 18px !important; }
.ivc-home-news .ivc-home-news__card-title { display: -webkit-box !important; width: 100% !important; min-height: 2.65em !important; max-height: none !important; margin: 0 0 8px !important; padding: 0 !important; overflow: hidden !important; color: var(--ivch-navy) !important; font-size: clamp(17px, 1.25vw, 19px) !important; font-weight: 800 !important; line-height: 1.35 !important; letter-spacing: 0 !important; overflow-wrap: anywhere; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.ivc-home-news .ivc-home-news__card-title a { color: inherit !important; font: inherit !important; text-decoration: none !important; }
.ivc-home-news .ivc-home-news__card-title a:hover { color: #067da9 !important; text-decoration: underline !important; text-underline-offset: 3px; }
.ivc-home-news .ivc-home-news__excerpt { display: -webkit-box !important; width: 100% !important; min-height: 5.7em !important; margin: 0 0 15px !important; padding: 0 !important; overflow: hidden !important; color: #4a6979 !important; font-size: 13.5px !important; font-weight: 400 !important; line-height: 1.62 !important; overflow-wrap: anywhere; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }
.ivc-home-news .ivc-home-news__more { display: inline-flex !important; align-items: center !important; justify-content: center !important; gap: 9px !important; min-height: 42px !important; margin: auto 0 0 !important; padding: 9px 13px !important; border: 1px solid #087ba4 !important; border-radius: 8px !important; color: #fff !important; background: #087ba4 !important; font-size: 13px !important; font-weight: 750 !important; line-height: 1.3 !important; text-decoration: none !important; transition: background-color .16s ease, border-color .16s ease; }
.ivc-home-news .ivc-home-news__more:hover { border-color: #034469 !important; background: #034469 !important; }
.ivc-home-news__more svg { width: 17px; height: 17px; flex: 0 0 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ivc-home-news__empty { margin: 0; padding: 20px 22px; border: 1px dashed #b9dce7; border-radius: 12px; color: var(--ivch-muted); background: #f7fbfd; }
.ivc-home-news .ivc-sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
@media (max-width: 1099px) and (min-width: 768px) {
  .ivc-home-news__viewport { gap: 16px !important; }
  .ivc-home-news .ivc-home-news__card { border-radius: 14px !important; }
}
@media (max-width: 767px) {
  .ivc-home-news { padding: 24px 12px !important; }
  .ivc-home-news__header { align-items: flex-start !important; gap: 10px !important; margin-bottom: 16px !important; }
  .ivc-home-news__heading-aside { flex: 0 1 auto; align-items: flex-start; }
  .ivc-home-news .ivc-home-news__subtitle { max-width: 150px; margin-top: 2px !important; font-size: 12px !important; text-align: right; }
  .ivc-home-news__navigation { display: none !important; }
  .ivc-home-news__viewport { display: grid !important; grid-template-columns: minmax(0, 1fr) !important; gap: 16px !important; overflow: visible !important; padding: 2px 0 0 !important; scroll-snap-type: none; }
  .ivc-home-news .ivc-home-news__card { display: flex !important; width: 100% !important; max-width: 100% !important; flex: 0 0 auto !important; height: auto !important; border-radius: 14px !important; }
  .ivc-home-news__image-link { aspect-ratio: 16 / 9; }
  .ivc-home-news .ivc-home-news__body { padding: 15px 16px 16px !important; }
  .ivc-home-news .ivc-home-news__card-title { min-height: 0 !important; font-size: 18px !important; }
  .ivc-home-news .ivc-home-news__excerpt { min-height: 0 !important; margin-bottom: 15px !important; -webkit-line-clamp: 4; }
  .ivc-home-news .ivc-home-news__more { width: auto !important; min-width: 110px; justify-content: center !important; }
}
@media (max-width: 380px) {
  .ivc-home-news { padding-right: 10px !important; padding-left: 10px !important; }
  .ivc-home-news__header { flex-direction: column !important; align-items: flex-start !important; }
  .ivc-home-news__heading-aside { width: 100%; justify-content: flex-start; }
  .ivc-home-news .ivc-home-news__subtitle { max-width: none; text-align: left; }
  .ivc-home-news__date-chip { top: 8px; left: 8px; min-width: 44px; min-height: 52px; }
  .ivc-home-news__type { right: 8px; bottom: 8px; max-width: calc(100% - 16px); }
}
@media (prefers-reduced-motion: reduce) {
  .ivc-home-news *, .ivc-home-news *::before, .ivc-home-news *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .ivc-home-news__card:hover .ivc-home-news__image { transform: none; }
}
