/* ==========================================================================
   LiptovPortal — homepage v3 (front-page-v3.php)
   Komponenty: home-base · home-hero · home-events · home-cities ·
   home-discovery · home-news-columns · home-trending · home-latest
   Breakpointy: ≥1280 desktop · 1024–1279 small desktop · 768–1023 tablet ·
   480–767 mobile · <480 small mobile
   ========================================================================== */

/* ---------- home-base ---------- */
.home .lp-section { padding: 0; }
.h3-section { padding-block: 36px; }
.h3-section--soft { background: #F6F8FB; }
@media (max-width: 767px) { .h3-section { padding-block: 26px; } }

.h3-wrap > .lp-ad { margin-block: var(--space-6); }

.h3-icon { width: 20px; height: 20px; flex-shrink: 0; }

.h3-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
  margin-bottom: 18px;
}
.h3-head__title { display: flex; align-items: center; gap: 10px; min-width: 0; }
.h3-head__title .h3-icon { width: 22px; height: 22px; color: var(--color-blue); }
.h3-head__title h2 {
  font-size: 21px;
  font-weight: var(--font-weight-extrabold);
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: #0B1F45;
}
.h3-head__sub { font-size: 13px; color: var(--color-text-secondary); margin-left: 4px; }
.h3-head__more {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 40px;
  font-size: 13px;
  font-weight: var(--font-weight-semibold);
  color: var(--color-blue);
  white-space: nowrap;
}
.h3-head__more:hover { text-decoration: underline; }
@media (max-width: 767px) {
  .h3-head__title h2 { font-size: 19px; }
  .h3-head__sub { flex-basis: 100%; margin-left: 32px; }
  .h3-head__title { flex-wrap: wrap; row-gap: 2px; }
}

.h3-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 3px 5px;
  border-radius: 0;
  background: var(--color-red);
  color: #fff;
  font-size: 10px;
  font-weight: var(--font-weight-bold);
  line-height: 1;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.h3-badge--blue { background: var(--color-blue); }

.h3-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.h3-empty { font-size: 13px; color: var(--color-text-muted); padding-block: 8px; }

/* Klikateľné karty — focus + jemný hover len pre myš */
.h3-ov__link:focus-visible, .h3-row__link:focus-visible, .h3-ev__link:focus-visible,
.h3-card__link:focus-visible, .h3-disc:focus-visible, .h3-rank__link:focus-visible,
.h3-city__main:focus-visible, .h3-city__head:focus-visible, .h3-evrow:focus-visible,
.h3-tab:focus-visible, .h3-more__btn:focus-visible { outline: 2px solid var(--color-blue); outline-offset: 2px; }
@media (hover: hover) {
  .h3-ov__media img, .h3-ev__media img, .h3-card__media img, .h3-disc img, .h3-city__head img { transition: transform .35s ease; }
  .h3-ov__link:hover img, .h3-ev__link:hover img, .h3-card__link:hover img, .h3-disc:hover img, .h3-city__head:hover img { transform: scale(1.03); }
  .h3-row__link:hover .h3-row__title, .h3-card__link:hover .h3-card__title,
  .h3-city__main:hover .h3-city__title, .h3-rank__link:hover .h3-rank__title,
  .h3-evrow:hover .h3-evrow__title { color: var(--color-blue); }
}

.h3-breaking { background: var(--color-red); color: #fff; }
.h3-breaking__in { display: flex; align-items: center; gap: 12px; min-height: 40px; font-size: 14px; font-weight: var(--font-weight-semibold); }
.h3-breaking__tag { background: #fff; color: var(--color-red); padding: 3px 7px; border-radius: 0; font-size: 11px; font-weight: 800; text-transform: uppercase; white-space: nowrap; }
.h3-breaking a { color: #fff; }

/* Spoločné riadky / box */
.h3-row__link {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding-block: 10px;
}
.h3-row + .h3-row .h3-row__link { border-top: 1px solid var(--color-border); }
.h3-row__thumb { width: 72px; height: 52px; border-radius: 0; overflow: hidden; background: var(--color-surface-soft); }
.h3-row__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.h3-row__title {
  font-size: 14px; font-weight: var(--font-weight-semibold); line-height: 1.3; color: var(--color-text);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.h3-row__meta { font-size: 12px; color: var(--color-text-muted); }

.h3-box { background: #F3F6FB; border-radius: 0; padding: 18px 20px; }
.h3-box__head {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: var(--font-weight-extrabold);
  letter-spacing: .05em; text-transform: uppercase; color: #0B1F45;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #DDE5F1;
}
.h3-box__head .h3-icon { width: 16px; height: 16px; color: var(--color-blue); }
.h3-box__head a { margin-left: auto; font-size: 11px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--color-blue); display: inline-flex; align-items: center; min-height: 32px; }
.h3-box .lp-ad { margin: 6px 0 0; }
.h3-box .lp-ad img { border-radius: 0; }

/* ---------- home-hero ---------- */
.h3-hero { padding-block: 20px 28px; }
.h3-hero__grid { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }

.h3-ov { position: relative; border-radius: 0; overflow: hidden; background: #0B1F45; height: 100%; }
.h3-ov__link { display: block; position: relative; height: 100%; color: #fff; }
.h3-ov__media { position: absolute; inset: 0; }
.h3-ov__body {
  position: absolute; inset: auto 0 0 0;
  display: flex; flex-direction: column; gap: 6px;
  padding: 14px 16px;
  background: linear-gradient(0deg, rgba(5, 14, 32, .9) 0%, rgba(5, 14, 32, .55) 55%, rgba(5, 14, 32, 0) 100%);
}
.h3-ov__title {
  font-size: 16px; font-weight: var(--font-weight-bold); line-height: 1.25;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.h3-ov__title--main { font-size: clamp(24px, 2.6vw, 36px); line-height: 1.15; letter-spacing: -0.02em; -webkit-line-clamp: 4; }
.h3-ov__excerpt { font-size: 15px; line-height: 1.5; opacity: .9; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.h3-ov__meta { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; opacity: .85; }
.h3-ov__meta .h3-icon { width: 13px; height: 13px; }

.h3-ov--main { aspect-ratio: 4 / 3; height: auto; }
.h3-ov--main .h3-ov__body { padding: 22px 24px; gap: 8px; }
.h3-hero__side { display: grid; gap: 14px; }
.h3-ov--side { min-height: 140px; }
.h3-ov--side .h3-ov__title { -webkit-line-clamp: 2; }
.h3-ov--side .h3-ov__body {
  inset: 0; padding: 12px 14px; gap: 4px;
  justify-content: flex-end;
  background: linear-gradient(180deg, rgba(5, 14, 32, .15) 0%, rgba(5, 14, 32, .55) 45%, rgba(5, 14, 32, .9) 100%);
}
.h3-hero__aside { display: grid; gap: 16px; align-content: stretch; }

.h3-evrow {
  display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; align-items: center;
  padding-block: 12px;
}
.h3-evrow + .h3-evrow { border-top: 1px solid #DDE5F1; }
.h3-evrow__date {
  width: 44px; height: 44px; border-radius: 0; background: #fff; color: var(--color-blue);
  display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1;
  border: 1px solid #DDE5F1;
}
.h3-evrow__day { font-size: 17px; font-weight: 800; }
.h3-evrow__mon { font-size: 10px; font-weight: 700; text-transform: uppercase; margin-top: 2px; }
.h3-evrow__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.h3-evrow__title {
  font-size: 13.5px; font-weight: 600; line-height: 1.3; color: var(--color-text);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.h3-evrow__loc {
  font-size: 11.5px; color: var(--color-text-muted);
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}

/* ---------- Hero slider (3 najnovšie správy) ---------- */
.h3-hero__main { position: relative; min-width: 0; }
.h3-slider { position: relative; height: 100%; width: 100%; min-width: 0; overflow: hidden; }
.h3-slider__track { display: grid; grid-template-columns: minmax(0, 1fr); height: 100%; min-width: 0; }
.h3-slide { grid-area: 1 / 1; min-width: 0; opacity: 0; visibility: hidden; transition: opacity .55s ease, visibility 0s linear .55s; }
.h3-slide.is-active { opacity: 1; visibility: visible; transition: opacity .55s ease, visibility 0s; z-index: 1; }
.h3-slide .h3-ov--main { height: 100%; }
.h3-slider__dots { position: absolute; top: 14px; right: 14px; z-index: 3; display: flex; gap: 6px; }
.h3-slider__dot { width: 28px; height: 4px; padding: 0; border: 0; border-radius: 0; background: rgba(255, 255, 255, .45); cursor: pointer; position: relative; }
.h3-slider__dot::before { content: ""; position: absolute; inset: -10px -2px; }
.h3-slider__dot.is-active { background: #fff; }
.h3-slider__arrow {
  position: absolute; top: 50%; z-index: 3; width: 40px; height: 40px; margin-top: -20px;
  display: grid; place-items: center; padding: 0; border: 0; border-radius: 0;
  background: rgba(5, 14, 32, .55); color: #fff; cursor: pointer; opacity: 0; transition: opacity .2s ease, background .2s ease;
}
.h3-slider__arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.h3-slider__arrow--prev { left: 0; }
.h3-slider__arrow--next { right: 0; }
.h3-slider:hover .h3-slider__arrow, .h3-slider__arrow:focus-visible { opacity: 1; }
.h3-slider__arrow:hover { background: rgba(5, 14, 32, .85); }
.h3-slider__dot:focus-visible, .h3-slider__arrow:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (hover: none) { .h3-slider__arrow { display: none; } }
@media (prefers-reduced-motion: reduce) { .h3-slide, .h3-slide.is-active { transition: none; } }

/* Desktop: hlavná | 3 vedľajšie | sidebar — aside stretch na celú výšku hero */
@media (min-width: 1024px) {
  .h3-hero__grid { grid-template-columns: minmax(0, 1.65fr) minmax(0, .92fr) minmax(260px, .85fr); align-items: stretch; }
  .h3-hero__grid--nosidebar { grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); }
  .h3-ov--main { aspect-ratio: auto; height: 100%; min-height: 460px; }
  .h3-hero__side { grid-template-rows: repeat(3, minmax(140px, 1fr)); }
  .h3-hero__aside { height: 100%; }
  /* Aside boxy sa rovnomerne roztiahnu po celej výške */
  .h3-hero__aside > .h3-box { display: flex; flex-direction: column; }
  .h3-hero__aside > .h3-box.h3-hero-events { flex: 1; min-height: 0; }
  .h3-hero__aside > .h3-box.h3-hero-events .h3-evrow { flex: 1; }
  .h3-hero__aside > .h3-box.h3-hero-events .h3-evrow + .h3-evrow { border-top: 1px solid #DDE5F1; }
  .h3-evrow__date { align-self: center; }
}
/* Tablet: hlavná cez celú šírku, 3 vedľajšie vedľa seba, sidebar 2 stĺpce */
@media (min-width: 768px) and (max-width: 1023px) {
  .h3-hero__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .h3-hero__main { grid-column: 1 / -1; }
  .h3-ov--main { aspect-ratio: 16 / 9; }
  .h3-hero__side { grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .h3-ov--side { min-height: 170px; }
  .h3-hero__aside { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Mobil: vedľajšie správy ako riadok thumbnail | text */
@media (max-width: 767px) {
  .h3-hero { padding-block: 12px 22px; }
  .h3-ov--main .h3-ov__body { padding: 16px; }
  .h3-ov--main .h3-ov__excerpt { display: none; }
  .h3-hero__side { gap: 0; }
  .h3-ov--side { background: transparent; border-radius: 0; min-height: 0; height: auto; overflow: visible; }
  .h3-ov--side .h3-ov__link { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; color: var(--color-text); padding-block: 12px; }
  .h3-hero__side .h3-ov--side + .h3-ov--side .h3-ov__link { border-top: 1px solid var(--color-border); }
  .h3-ov--side .h3-ov__media { position: relative; inset: auto; width: 112px; height: 76px; border-radius: 0; overflow: hidden; }
  .h3-ov--side .h3-ov__body { position: static; background: none; padding: 0; gap: 5px; }
  .h3-ov--side .h3-ov__title { font-size: 15px; }
  .h3-ov--side .h3-ov__meta { color: var(--color-text-muted); opacity: 1; }
}

/* ---------- home-events ---------- */
.h3-tabs {
  display: flex; gap: 6px; order: 2;
  overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.h3-tabs::-webkit-scrollbar { display: none; }
.h3-tab {
  flex-shrink: 0;
  min-height: 38px; padding: 0 14px;
  border: 1px solid transparent; border-radius: 0; background: transparent;
  font: inherit; font-size: 13px; font-weight: 600; color: var(--color-text-secondary);
  cursor: pointer;
}
.h3-tab:hover { color: var(--color-blue); }
.h3-tab[aria-selected="true"] { background: #fff; border-color: #DDE5F1; color: var(--color-blue); box-shadow: 0 2px 8px rgba(0, 0, 0, .04); }
.h3-tabs--text .h3-tab[aria-selected="true"] { background: none; box-shadow: none; border-color: transparent; color: var(--color-red); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.h3-head .h3-head__more { order: 3; }
@media (max-width: 1023px) {
  .h3-head .h3-tabs { order: 4; flex-basis: 100%; margin-inline: -2px; }
}

/* Mobile: tmavomodrý pás pre tabs + scroll fade indikátor (len u h3-events) */
@media (max-width: 767px) {
  .h3-events .h3-head { position: relative; }
  .h3-events .h3-tabs {
    background: #0B1F45;
    margin-inline: calc(-1 * var(--space-4, 16px));
    padding: 10px 44px 10px 16px;
    gap: 4px;
    scroll-padding-right: 32px;
    mask-image: linear-gradient(to right, #000 calc(100% - 44px), transparent 100%);
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 44px), transparent 100%);
  }
  .h3-events .h3-tabs .h3-tab {
    color: rgba(255, 255, 255, .72);
    min-height: 34px;
    padding: 0 12px;
    font-size: 12.5px;
    border-color: transparent;
  }
  .h3-events .h3-tabs .h3-tab:hover { color: #fff; }
  .h3-events .h3-tabs .h3-tab[aria-selected="true"] {
    background: #fff;
    color: #0B1F45;
    border-color: #fff;
    box-shadow: none;
  }
  .h3-events .h3-tabs--text .h3-tab[aria-selected="true"] {
    background: transparent;
    color: #fff;
    border-color: transparent;
    text-decoration: underline;
    text-decoration-color: #D71920;
    text-underline-offset: 6px;
    text-decoration-thickness: 2px;
  }
  /* Šípka → indikátor že sa dá scrollovať (na rodičovi aby ju nemaska nezrezala) */
  .h3-events .h3-head::after {
    content: '';
    position: absolute;
    right: 18px;
    bottom: 24px;
    width: 10px;
    height: 10px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
    pointer-events: none;
    opacity: .85;
    z-index: 2;
    animation: lp-scroll-hint 1.8s ease-in-out infinite;
  }
}
@keyframes lp-scroll-hint {
  0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: .45; }
  50%      { transform: rotate(45deg) translate(4px, -4px); opacity: 1; }
}

.h3-events__grid { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
.h3-ev { position: relative; border-radius: 0; overflow: hidden; background: #0B1F45; height: 240px; }
.h3-ev__link { display: block; position: relative; height: 100%; color: #fff; }
.h3-ev__media { position: absolute; inset: 0; }
.h3-ev__date {
  position: absolute; top: 12px; left: 12px; z-index: 1;
  width: 46px; height: 48px; border-radius: 0; background: #fff; color: #0B1F45;
  display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.05;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
}
.h3-ev__day { font-size: 19px; font-weight: 800; }
.h3-ev__mon { font-size: 10px; font-weight: 700; text-transform: uppercase; }
.h3-ev__body {
  position: absolute; inset: auto 0 0 0; display: flex; flex-direction: column; gap: 6px; padding: 14px;
  background: linear-gradient(0deg, rgba(5, 14, 32, .9) 0%, rgba(5, 14, 32, .5) 60%, rgba(5, 14, 32, 0) 100%);
}
.h3-ev__title { font-size: 16px; font-weight: 700; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.h3-ev--big .h3-ev__title { font-size: 20px; }
.h3-ev__loc { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; opacity: .88; min-width: 0; }
.h3-ev__loc .h3-icon { width: 13px; height: 13px; }

@media (min-width: 1024px) {
  .h3-events__grid { grid-template-columns: minmax(0, 1.75fr) repeat(4, minmax(0, 1fr)); }
  .h3-ev { height: 250px; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .h3-ev:not(.h3-ev--big) .h3-ev__title { font-size: 15px; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .h3-events__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .h3-ev--big { grid-column: span 2; }
  .h3-ev { height: 220px; }
}
@media (max-width: 767px) {
  .h3-events__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .h3-ev--big { grid-column: 1 / -1; height: 230px; }
  .h3-ev { height: 190px; }
  .h3-ev:not(.h3-ev--big) .h3-ev__body { padding: 10px; }
  .h3-ev:not(.h3-ev--big) .h3-ev__title { font-size: 14px; }
  .h3-ev:not(.h3-ev--big) .h3-ev__date { top: 8px; left: 8px; width: 40px; height: 42px; }
}
@media (max-width: 359px) {
  .h3-events__grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- home-cities ---------- */
.h3-cities__grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .h3-cities__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.h3-city { background: #fff; border: 1px solid var(--color-border); border-radius: 0; overflow: hidden; display: flex; flex-direction: column; }
.h3-city__head { position: relative; display: block; height: 124px; overflow: hidden; color: #fff; }
.h3-city__head img { width: 100%; height: 100%; object-fit: cover; display: block; }
.h3-city__head::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 31, 69, .55) 0%, rgba(11, 31, 69, 0) 45%, rgba(11, 31, 69, .55) 100%); }
.h3-city__name { position: absolute; left: 14px; bottom: 10px; z-index: 1; font-size: 19px; font-weight: 800; letter-spacing: -0.01em; text-shadow: 0 1px 6px rgba(0, 0, 0, .35); }
.h3-city__count { position: absolute; right: 12px; top: 10px; z-index: 1; font-size: 12px; font-weight: 600; opacity: .95; }
.h3-city__body { padding: 14px 16px 6px; display: flex; flex-direction: column; }
.h3-city__main { display: flex; flex-direction: column; gap: 6px; padding-bottom: 12px; border-bottom: 1px solid var(--color-border); }
.h3-city__title { font-size: 18px; font-weight: 800; line-height: 1.25; color: #0B1F45; letter-spacing: -0.01em; }
.h3-city__meta { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--color-text-muted); }
.h3-city__meta .h3-icon { width: 13px; height: 13px; }
.h3-city .h3-row__link { grid-template-columns: 70px minmax(0, 1fr); }
.h3-city .h3-row__thumb { width: 70px; height: 50px; }
.h3-city .h3-row__title { font-weight: 500; }
.h3-city .h3-row:first-of-type .h3-row__link { border-top: 0; }
@media (max-width: 767px) { .h3-city__head { height: 120px; } }

/* ---------- home-discovery ---------- */
.h3-discover__grid { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1024px) { .h3-discover__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 767px) { .h3-discover__grid { gap: 10px; } }
.h3-disc { position: relative; display: block; aspect-ratio: 1.7 / 1; border-radius: 0; overflow: hidden; background: #0B1F45; color: #fff; }
.h3-disc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.h3-disc::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5, 14, 32, .78) 0%, rgba(5, 14, 32, .15) 55%, rgba(5, 14, 32, 0) 100%); }
.h3-disc__body { position: absolute; inset: auto 0 0 0; z-index: 1; display: flex; align-items: center; gap: 10px; padding: 12px 14px; }
.h3-disc__icon { width: 38px; height: 38px; border-radius: 0; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; color: #fff; }
.h3-disc__icon .h3-icon { width: 20px; height: 20px; }
.h3-disc__icon--green  { background: #2E9E57; }
.h3-disc__icon--orange { background: #F28C1E; }
.h3-disc__icon--teal   { background: #14A3A3; }
.h3-disc__icon--lime   { background: #7CB518; }
.h3-disc__title { font-size: 18px; font-weight: 800; line-height: 1.2; letter-spacing: -0.01em; }
.h3-disc__arrow { margin-left: auto; display: inline-flex; }
.h3-disc__arrow .h3-icon { width: 18px; height: 18px; }
@media (max-width: 767px) {
  .h3-disc { aspect-ratio: 1.25 / 1; }
  .h3-disc__body { flex-wrap: wrap; gap: 6px 8px; padding: 10px; }
  .h3-disc__icon { width: 32px; height: 32px; }
  .h3-disc__icon .h3-icon { width: 17px; height: 17px; }
  .h3-disc__title { font-size: 15px; flex-basis: 100%; }
  .h3-disc__arrow { display: none; }
}
@media (max-width: 339px) { .h3-discover__grid { grid-template-columns: minmax(0, 1fr); } .h3-disc { aspect-ratio: 1.9 / 1; } }

/* ---------- home-news-columns ---------- */
.h3-columns__grid { display: grid; gap: 18px 28px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) { .h3-columns__grid { grid-template-columns: repeat(min(2, var(--h3-cols)), minmax(0, 1fr)); } }
@media (min-width: 1024px) { .h3-columns__grid { grid-template-columns: repeat(var(--h3-cols), minmax(0, 1fr)); } }
.h3-col .h3-head { margin-bottom: 4px; padding-bottom: 8px; border-bottom: 2px solid #0B1F45; }
.h3-col .h3-head__title h2 { font-size: 15px; }
.h3-col .h3-head__title .h3-icon { width: 18px; height: 18px; }
.h3-col .h3-head__more { min-height: 32px; font-size: 12px; }

/* ---------- home-trending ---------- */
.h3-ranking { padding-top: 8px; }
.h3-ranking__box { border: 1px solid var(--color-border); border-radius: 0; padding: 18px 20px 8px; }
.h3-ranking__list { display: grid; gap: 0 24px; grid-template-columns: minmax(0, 1fr); list-style: none; margin: 0; padding: 0; }
@media (min-width: 768px) { .h3-ranking__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .h3-ranking__list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.h3-rank__link { display: grid; grid-template-columns: 26px 88px minmax(0, 1fr); gap: 10px; align-items: center; padding-block: 12px; }
.h3-rank + .h3-rank .h3-rank__link { border-top: 1px solid var(--color-border); }
@media (min-width: 1024px) { .h3-rank + .h3-rank .h3-rank__link { border-top: 0; } }
.h3-rank__num { font-size: 30px; font-weight: 800; color: var(--color-blue); text-align: center; line-height: 1; }
.h3-rank__thumb { width: 88px; height: 60px; border-radius: 0; overflow: hidden; background: var(--color-surface-soft); }
.h3-rank__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.h3-rank__title { font-size: 14px; font-weight: 700; line-height: 1.3; color: var(--color-text); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.h3-rank__meta { font-size: 12px; color: var(--color-text-muted); }
@media (max-width: 767px) { .h3-ranking__box { padding: 14px 14px 4px; } }

/* ---------- home-latest ---------- */
.h3-latest__grid { display: grid; gap: 20px 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px)  { .h3-latest__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .h3-latest__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .h3-latest__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (max-width: 359px)  { .h3-latest__grid { grid-template-columns: minmax(0, 1fr); } }
.h3-card__link { display: flex; flex-direction: column; gap: 8px; height: 100%; }
.h3-card__media { display: block; aspect-ratio: 16 / 9; border-radius: 0; overflow: hidden; background: var(--color-surface-soft); }
.h3-card__body { display: flex; flex-direction: column; gap: 5px; }
.h3-card__title { font-size: 14px; font-weight: 700; line-height: 1.3; color: var(--color-text); }
.h3-card__meta { font-size: 12px; color: var(--color-text-muted); }
@media (max-width: 479px) { .h3-card__title { font-size: 14px; } .h3-latest__grid { gap: 16px 12px; } }

.h3-more { display: flex; justify-content: center; margin-top: 28px; }
.h3-more__btn {
  min-height: 44px; padding: 0 22px;
  border: 1.5px solid #0B1F45; border-radius: 0; background: #fff;
  font: inherit; font-size: 14px; font-weight: 700; color: #0B1F45; cursor: pointer;
}
.h3-more__btn:hover { background: #0B1F45; color: #fff; }
.h3-more__btn:disabled { opacity: .5; cursor: wait; }

/* Skryté panely tabov (atribút hidden musí prebiť display: grid) */
.h3-events__grid[hidden],
.h3-ranking__list[hidden] { display: none !important; }

/* Miesto podujatia: 1 riadok (veľká karta 2), aby nepretieklo pod dátum */
.h3-ev__loc { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.h3-ev__loc .h3-icon { display: inline-block; vertical-align: -2px; margin-right: 3px; }
.h3-ev--big .h3-ev__loc { -webkit-line-clamp: 2; }
@media (max-width: 767px) {
  .h3-ev { height: 200px; }
  .h3-ev:not(.h3-ev--big) .h3-ev__title { -webkit-line-clamp: 3; }
}

/* Tablet: sidebar hero — 1 box cez celú šírku, 2 boxy vedľa seba */
@media (min-width: 768px) and (max-width: 1023px) {
  .h3-hero__aside { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
}

/* ==========================================================================
   Typografia — zjednotené podľa škály v chrome.css (:root --fs-*)
   ========================================================================== */
.h3-head__title h2 { font-size: var(--fs-section); }
.h3-col .h3-head__title h2,
.h3-box__head { font-size: var(--fs-label); }
.h3-head__more,
.h3-col .h3-head__more,
.h3-box__head a,
.h3-tab,
.h3-more__btn,
.h3-breaking__in { font-size: var(--fs-ui); }
.h3-head__sub,
.h3-empty { font-size: var(--fs-ui); }

.h3-ov__title--main { font-size: clamp(24px, 2.6vw, 36px); }
.h3-ov__excerpt { font-size: var(--fs-body); }
.h3-ev--big .h3-ev__title,
.h3-city__title,
.h3-city__name,
.h3-disc__title { font-size: var(--fs-title-l); }
.h3-ov__title,
.h3-ev__title,
.h3-ev:not(.h3-ev--big) .h3-ev__title,
.h3-ov--side .h3-ov__title { font-size: var(--fs-title-m); }
.h3-row__title,
.h3-rank__title,
.h3-card__title,
.h3-evrow__title { font-size: var(--fs-title-s); }
.h3-row__meta,
.h3-ov__meta,
.h3-ev__loc,
.h3-evrow__loc,
.h3-city__meta,
.h3-city__count,
.h3-rank__meta,
.h3-card__meta { font-size: var(--fs-meta); }
.h3-badge { font-size: var(--fs-badge); }
.h3-ev__day, .h3-evrow__day { font-size: 18px; }
.h3-ev__mon, .h3-evrow__mon { font-size: var(--fs-badge); }
.h3-head__title .h3-icon { width: 22px; height: 22px; }

@media (min-width: 1024px) and (max-width: 1279px) {
  .h3-ev:not(.h3-ev--big) .h3-ev__title { font-size: var(--fs-title-s); }
}
@media (max-width: 767px) {
  .h3-head__title .h3-icon { width: 20px; height: 20px; }
  .h3-ov--side .h3-ov__title { font-size: var(--fs-title-m); }
  .h3-ev:not(.h3-ev--big) .h3-ev__title,
  .h3-disc__title { font-size: var(--fs-title-s); }
  .h3-ev--big .h3-ev__title { font-size: var(--fs-title-l); }
}

/* Hero sidebar: krátky odkaz, nech sa zmestí s nadpisom do jedného riadku */
.h3-box__head a { white-space: nowrap; }

/* ==========================================================================
   „Všetky podujatia" / „Všetky tipy" — na mobile tlačidlo pod obsahom
   ========================================================================== */
.h3-btn-all { display: none; }
@media (max-width: 767px) {
  .h3-events .h3-head__more,
  .h3-discover .h3-head__more { display: none; }
  .h3-btn-all {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 46px;
    margin-top: 16px;
    background: var(--color-blue);
    color: #fff;
    font-size: var(--fs-ui);
    font-weight: var(--font-weight-bold);
  }
  .h3-btn-all:hover, .h3-btn-all:focus-visible { background: var(--color-blue-dark); color: #fff; }
}

/* Nadpisy sekcií bez ikon */
@media (max-width: 767px) { .h3-head__sub { margin-left: 0; } }

/* Mobil: „Načítať ďalšie správy" rovnako ako ostatné tlačidlá (plné modré, celá šírka) */
@media (max-width: 767px) {
  .h3-more { margin-top: 16px; }
  .h3-more__btn {
    width: 100%;
    min-height: 46px;
    border: 0;
    background: var(--color-blue);
    color: #fff;
    font-weight: var(--font-weight-bold);
  }
  .h3-more__btn:hover, .h3-more__btn:focus-visible { background: var(--color-blue-dark); color: #fff; }
}

/* Podujatia: na mobile bez boxu „Aktuálne podujatia" v hero — tab Najbližšie
   má vlastný panel, ktorý začína týmito podujatiami. */
@media (min-width: 768px) { .h3-only-m { display: none !important; } }
@media (max-width: 767px) {
  .h3-only-d { display: none !important; }
  .h3-hero-events { display: none; }
}
