/* Kezdőlapi oldalsáv („Közösség" hasáb): egységes kártyák */
.hv-side {
  --hv-red: #e10600;
  --hv-card: #1c1c1c;
  --hv-line: rgba(255, 255, 255, 0.09);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hv-side-card {
  padding: 18px;
  background: var(--hv-card);
  border: 1px solid var(--hv-line);
  border-radius: 8px;
}

.hv-side-card__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-family: 'Rajdhani', 'Arial Narrow', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}

.hv-side-card__title i {
  color: var(--hv-red);
}

/* Videók */
.hv-video {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  text-align: left;
  color: inherit;
  background: none;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
}

.hv-video:focus-visible,
.hv-copy:focus-visible,
.hv-social a:focus-visible,
.hv-partners a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.hv-video__thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 6px;
  overflow: hidden;
}

.hv-video__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.hv-video:hover .hv-video__thumb img {
  transform: scale(1.04);
}

.hv-video__play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: #fff;
  background: rgba(225, 6, 0, 0.92);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.hv-video--lead .hv-video__title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin-top: 10px;
  font-size: 0.97rem;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
}

.hv-video-list {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.hv-video-list li {
  padding: 10px 0;
  border-top: 1px solid var(--hv-line);
}

.hv-video--row {
  display: flex;
  gap: 12px;
  align-items: center;
}

.hv-video--row .hv-video__thumb {
  flex: 0 0 104px;
  border-radius: 4px;
}

.hv-video--row .hv-video__play {
  width: 28px;
  height: 28px;
  font-size: 0.7rem;
}

.hv-video--row .hv-video__title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  min-width: 0;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.3;
  color: #e6e6e6;
}

.hv-side-card .hv-more {
  width: 100%;
  margin-top: 6px;
  padding: 9px 16px;
  font-size: 0.95rem;
}

/* Legújabb hírek (cikkoldalon) */
.hv-side-news {
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
}

.hv-side-news li + li {
  border-top: 1px solid var(--hv-line);
}

.hv-side-news a {
  display: block;
  padding: 10px 0;
  text-decoration: none;
}

.hv-side-news li:first-child a {
  padding-top: 0;
}

.hv-side-news__meta {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 3px;
  font-size: 0.78rem;
  color: #8f8f8f;
}

.hv-side-news__cat {
  font-family: 'Rajdhani', 'Arial Narrow', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ff5a55;
}

.hv-side-news__title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: 0.93rem;
  font-weight: 600;
  line-height: 1.3;
  color: #f0f0f0;
}

.hv-side-news a:hover .hv-side-news__title,
.hv-side-news a:focus .hv-side-news__title {
  color: #ff5a55;
}

/* Hírkereső, kategóriák, legolvasottabb (hírek listáján) */
.hv-side-search {
  display: flex;
}

.hv-side-search input {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  font-size: 0.97rem;
  color: #fff;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-right: 0;
  border-radius: 4px 0 0 4px;
}

.hv-side-search input::placeholder {
  color: #7f7f7f;
}

.hv-side-search input:focus {
  outline: none;
  border-color: var(--hv-red);
}

.hv-side-search button {
  flex: 0 0 46px;
  margin: 0;
  padding: 0;
  color: #fff;
  background: var(--hv-red);
  border: 1px solid var(--hv-red);
  border-radius: 0 4px 4px 0;
  cursor: pointer;
}

.hv-side-search button:hover {
  background: #ff1a14;
}

.hv-side-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hv-side-cats a {
  padding: 6px 12px;
  font-family: 'Rajdhani', 'Arial Narrow', Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #e6e6e6;
  text-decoration: none;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 4px;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.hv-side-cats a:hover,
.hv-side-cats a:focus {
  color: #fff;
  border-color: #fff;
}

.hv-side-cats a.is-active {
  color: #fff;
  background: var(--hv-red);
  border-color: var(--hv-red);
}

.hv-side-top {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: hv-top;
}

.hv-side-top li {
  position: relative;
  padding: 10px 0 10px 34px;
  counter-increment: hv-top;
}

.hv-side-top li + li {
  border-top: 1px solid var(--hv-line);
}

.hv-side-top li:first-child {
  padding-top: 0;
}

.hv-side-top li::before {
  content: counter(hv-top);
  position: absolute;
  left: 0;
  top: 8px;
  font-family: 'Rajdhani', 'Arial Narrow', Arial, sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  color: var(--hv-red);
}

.hv-side-top li:first-child::before {
  top: -2px;
}

.hv-side-top a {
  display: block;
  text-decoration: none;
}

.hv-side-top__title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: 0.93rem;
  font-weight: 600;
  line-height: 1.3;
  color: #f0f0f0;
}

.hv-side-top a:hover .hv-side-top__title,
.hv-side-top a:focus .hv-side-top__title {
  color: #ff5a55;
}

.hv-side-top__views {
  display: block;
  margin-top: 3px;
  font-size: 0.78rem;
  color: #8f8f8f;
}

.hv-side-top__views i {
  margin-right: 5px;
}

/* Szerverek */
.hv-server + .hv-server {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--hv-line);
}

.hv-server__head {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hv-server__head img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.hv-server__name {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-family: 'Rajdhani', 'Arial Narrow', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  overflow-wrap: anywhere;
}

.hv-server__online {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Rajdhani', 'Arial Narrow', Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4ade80;
}

.hv-server__online::before {
  content: '';
  width: 7px;
  height: 7px;
  background: #4ade80;
  border-radius: 50%;
}

.hv-server__meta {
  margin: 6px 0 0;
  font-size: 0.88rem;
  color: #a8a8a8;
}

.hv-server__meta i {
  margin-right: 6px;
  color: #7f7f7f;
}

.hv-server__fields {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}

.hv-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  margin: 0;
  padding: 8px 10px;
  text-align: left;
  color: #fff;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.hv-copy:hover {
  border-color: rgba(225, 6, 0, 0.7);
}

.hv-copy__label {
  display: block;
  font-family: 'Rajdhani', 'Arial Narrow', Arial, sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8f8f8f;
}

.hv-copy__value {
  display: block;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.86rem;
  color: #fff;
  overflow-wrap: anywhere;
}

.hv-copy__action {
  flex: 0 0 auto;
  font-size: 0.78rem;
  color: #a8a8a8;
}

.hv-copy.is-copied {
  border-color: #4ade80;
}

.hv-copy.is-copied .hv-copy__action {
  color: #4ade80;
}

/* Támogatás */
.hv-support__text {
  margin: 0 0 14px;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #bdbdbd;
}

.hv-support__links {
  display: grid;
  gap: 8px;
}

.hv-support__box {
  padding: 12px;
  font-size: 0.9rem;
  color: #d0d0d0;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
}

.hv-support__box h4 {
  margin: 0 0 8px;
  font-family: 'Rajdhani', 'Arial Narrow', Arial, sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8f8f8f;
}

.hv-support__box p {
  margin: 0 0 4px;
}

.hv-support__qr {
  text-align: center;
}

.hv-support__qr img {
  width: 168px;
  height: 168px;
  object-fit: contain;
  border-radius: 6px;
}

.hv-support__footer {
  margin: 12px 0 0;
  font-size: 0.82rem;
  color: #8f8f8f;
}

/* Közösségi linkek */
.hv-social {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.hv-social a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  font-family: 'Rajdhani', 'Arial Narrow', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.hv-social a i {
  width: 20px;
  text-align: center;
  color: var(--hv-social-icon, var(--hv-social, #fff));
}

.hv-social a:hover,
.hv-social a:focus {
  color: #fff;
  background: var(--hv-social, #e10600);
  border-color: var(--hv-social, #e10600);
}

.hv-social a:hover i,
.hv-social a:focus i {
  color: #fff;
}

/* Partnerek */
.hv-partners {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hv-partners li > * {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 72px;
  padding: 10px;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  transition: border-color 0.2s ease;
}

.hv-partners img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%) brightness(0.85);
  transition: filter 0.3s ease;
}

.hv-partners li > a:hover {
  border-color: rgba(255, 255, 255, 0.4);
}

.hv-partners li > a:hover img,
.hv-partners li > a:focus img {
  filter: none;
}

@media (prefers-reduced-motion: reduce) {
  .hv-video__thumb img,
  .hv-partners img,
  .hv-copy,
  .hv-social a {
    transition: none;
  }

  .hv-video:hover .hv-video__thumb img {
    transform: none;
  }
}
