/* ------------------------------------
   FONT
------------------------------------ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: #f5f5f5;
    min-height: 100vh;
    overflow-x: hidden;
}


a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid #ffbf47;
    outline-offset: 2px;
}

.hzs-skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;

    z-index: 3000;
    background: #ffffff;
    color: #000000;
    padding: 8px 14px;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    text-decoration: none;
    font-weight: 600;
}

.hzs-skip-link:focus,
.hzs-skip-link:focus-visible {
    left: 16px;
    top: 12px;
    width: auto;
    height: auto;
}
.hzs-sidebar-close {
    display: none;
}
/* =====================================
   LIGHTBOX – PREVIEW OBRÁZKOV V ČLÁNKU
===================================== */

#hzs-lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    display: none;                 /* defaultne skryté */
    align-items: center;
    justify-content: center;
    padding: 32px;
    z-index: 6000;                 /* nad obsahom aj mapou */
}

#hzs-lightbox-overlay.open {
    display: flex;
}

.hzs-lightbox-toolbar {
    position: absolute;
    top: 16px;
    left: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.hzs-lightbox-status {
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
}

.hzs-lightbox-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hzs-lightbox-btn,
.hzs-lightbox-nav {
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,0.14);
    color: #ffffff;
    cursor: pointer;
}

.hzs-lightbox-btn {
    min-height: 44px;
    padding: 0 16px;
    font-size: 14px;
    font-weight: 700;
}

.hzs-lightbox-btn--icon {
    width: 44px;
    padding: 0;
    font-size: 30px;
}

.hzs-lightbox-figure {
    margin: 0;
    max-width: min(94vw, 1280px);
    max-height: calc(100vh - 120px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

#hzs-lightbox-img {
    max-width: 90vw;
    max-height: calc(100vh - 180px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border-radius: 12px;
}

.hzs-lightbox-caption {
    max-width: min(90vw, 900px);
    color: rgba(255,255,255,0.92);
    font-size: 15px;
    line-height: 1.5;
    text-align: center;
}

.hzs-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    font-size: 34px;
    font-weight: 700;
}

#hzs-lightbox-prev {
    left: 20px;
}

#hzs-lightbox-next {
    right: 20px;
}

#hzs-lightbox-close:focus-visible,
#hzs-lightbox-prev:focus-visible,
#hzs-lightbox-next:focus-visible,
#hzs-lightbox-play:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 4px;
    border-radius: 8px;
}

#hzs-lightbox-prev[hidden],
#hzs-lightbox-next[hidden],
#hzs-lightbox-play[hidden],
#hzs-lightbox-caption[hidden] {
    display: none;
}

@media (max-width: 768px) {
    #hzs-lightbox-overlay {
        padding: 24px 16px;
    }

    .hzs-lightbox-toolbar {
        left: 16px;
        right: 16px;
        top: 12px;
        flex-wrap: wrap;
    }

    .hzs-lightbox-actions {
        margin-left: auto;
    }

    .hzs-lightbox-nav {
        width: 44px;
        height: 44px;
        font-size: 28px;
    }

    #hzs-lightbox-prev {
        left: 12px;
    }

    #hzs-lightbox-next {
        right: 12px;
    }

    .hzs-lightbox-btn {
        min-height: 40px;
        padding: 0 14px;
    }
}

.hzs-single-body .hzs-lightbox,
.hzs-page-content .hzs-lightbox {
    display: block;
    line-height: 0;
    transform: none !important;
    transition: none !important;
    animation: none !important;
}

.hzs-single-body .hzs-lightbox img,
.hzs-page-content .hzs-lightbox img {
    cursor: zoom-in;
    transform: none !important;
    transition: none !important;
    animation: none !important;
}

.hzs-single-body .hzs-lightbox:hover,
.hzs-page-content .hzs-lightbox:hover,
.hzs-single-body .hzs-lightbox:focus-visible,
.hzs-page-content .hzs-lightbox:focus-visible,
.hzs-single-body figure,
.hzs-page-content figure,
.hzs-single-body .wp-block-gallery,
.hzs-page-content .wp-block-gallery,
.hzs-single-body .blocks-gallery-grid,
.hzs-page-content .blocks-gallery-grid,
.hzs-single-body .gallery,
.hzs-page-content .gallery,
.hzs-single-body .gallery-item,
.hzs-page-content .gallery-item,
.hzs-single-body figure:hover,
.hzs-page-content figure:hover,
.hzs-single-body img:hover,
.hzs-page-content img:hover {
    transform: none !important;
    transition: none !important;
    animation: none !important;
}

.hzs-video-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 16px 0 20px;
}

.hzs-video-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 100%;
    min-height: 220px;
    padding: 18px;
    border: 0;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(8, 25, 39, 0.16), rgba(8, 25, 39, 0.82)), #173a56;
    background-image: linear-gradient(180deg, rgba(8, 25, 39, 0.12), rgba(8, 25, 39, 0.82)), var(--hzs-video-thumb, none);
    background-size: cover;
    background-position: center;
    box-shadow: 0 12px 30px rgba(16, 42, 67, 0.16);
    color: #ffffff;
    text-align: left;
    cursor: pointer;
}

.hzs-video-card__badge {
    position: absolute;
    top: 16px;
    right: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(6px);
    font-size: 24px;
}

.hzs-video-card__meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hzs-video-card__label {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.78);
}

.hzs-video-card__title {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.3;
    color: #ffffff;
}

.hzs-video-card:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 4px;
}

.hzs-video-source {
    display: none !important;
}

#hzs-video-overlay {
    position: fixed;
    inset: 0;
    z-index: 6100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(4, 12, 18, 0.88);
}

#hzs-video-overlay.open {
    display: flex;
}

.hzs-video-modal {
    width: min(1100px, 100%);
    max-height: 100%;
    padding: 18px;
    border-radius: 24px;
    background: #081923;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.hzs-video-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.hzs-video-toolbar-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hzs-video-title {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
}

.hzs-video-status {
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    font-weight: 700;
}

.hzs-video-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hzs-video-nav,
.hzs-video-close {
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    cursor: pointer;
}

.hzs-video-nav {
    font-size: 26px;
    font-weight: 700;
}

.hzs-video-close {
    font-size: 28px;
}

.hzs-video-close:focus-visible,
.hzs-video-nav:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 4px;
}

.hzs-video-nav[hidden] {
    display: none;
}

.hzs-video-player {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 18px;
    overflow: hidden;
    background: #000000;
}

.hzs-video-player iframe,
.hzs-video-player video {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

@media (max-width: 768px) {
    .hzs-video-grid {
        grid-template-columns: 1fr;
    }

    .hzs-video-card {
        min-height: 200px;
    }

    #hzs-video-overlay {
        padding: 16px;
    }

    .hzs-video-modal {
        padding: 14px;
        border-radius: 18px;
    }

    .hzs-video-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .hzs-video-actions {
        width: 100%;
        justify-content: flex-end;
    }
}


/* ------------------------------------
   LAYOUT WRAPPER
------------------------------------ */
.hzs-wrapper {
    display: flex;
    height: 100vh;
    overflow: hidden;
}
/* ------------------------------------
   SIDEBAR
------------------------------------ */
.hzs-sidebar {
    width: 260px;
    background: #0072ae;
    color: #ffffff;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    padding: 20px 0;
    box-sizing: border-box;
    overflow-y: auto;
    z-index: 1000;
}

/* ------------------------------------
   LOGO + SOS + HĽADAČIK
------------------------------------ */
.hzs-logo-area {
    text-align: center;
    margin-bottom: 10px;
    padding: 10px 20px;
}

.hzs-logo {
    width: 140px;
    height: auto;
    margin-bottom: 10px;
}

/* SOS číslo */
.hzs-sos {
    margin-bottom: 25px;
}

.hzs-sos a {
    text-decoration: none;
    color: #fff;
    font-size: 30px;
    font-weight: 800;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hzs-sos i {
    font-size: 18px;
}
/* ------------------------------------
   ANIMÁCIA LOGA
------------------------------------ */
@keyframes hzs-pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.06);
    }
    100% {
        transform: scale(1);
    }
}

/* efekt pri nabehnutí myšou */
.hzs-logo:hover {
    animation: hzs-pulse 0.8s ease-in-out;
}

/*  jemný prechod, keď odíde kurzor */
.hzs-logo {
    transition: transform 0.3s ease;
}


/* ------------------------------------
   HĽADAČIK POD SOS
------------------------------------ */
.hzs-search-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    box-shadow: 0 3px 1px rgba(0,0,0,0.2);
    padding: 5px 10px;
}

.hzs-search-input {
    border: none;
    outline: none;
    background: transparent;
    width: 100%;
    color: #10396b;
    font-weight: 600;
    padding: 6px 8px;
    font-size: 17px;
}

.hzs-search-input::placeholder {
    color: rgba(0, 79, 163, 0.8);
    font-weight: 500;
}

.hzs-search-btn {
    background: none;
    border: none;
    color: rgba(0, 79, 163, 0.8);
    font-size: 18px;
    cursor: pointer;
    padding: 4px;
}
/* ------------------------------------
   MENU
------------------------------------ */
.hzs-side-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hzs-side-nav > ul > li {
    border-bottom: 1px solid #15649e;
}

.hzs-side-nav > ul > li:last-child {
    border-bottom: none;
}

.hzs-side-nav > ul > li > a {
    display: block;
    padding: 12px 20px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.25s ease, padding 0.2s ease;
}

.hzs-side-nav > ul > li > a:hover {
    padding-left: 26px;
}

/* Aktívna položka */
.hzs-side-nav .current-menu-item > a,
.hzs-side-nav .current_page_item > a {
    background: no;
}

/* SUBMENU */
.hzs-side-nav .sub-menu {
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.35s ease;
    background-color:#15649e;
    margin-left: 0;
    padding-left: 0;
    border-left: none;
    max-height: 0;
    opacity: 0;
}

.hzs-side-nav .submenu-open > .sub-menu {
    max-height: 800px;
    opacity: 1;
}

.hzs-side-nav .sub-menu li {
    border-bottom: 1px solid rgba(17, 85, 139, 1);
}

.hzs-side-nav .sub-menu li:last-child {
    border-bottom: none;
}

.hzs-side-nav .sub-menu a {
    display: block;
    padding: 8px 24px;
    font-size: 14px;
    color: #ffffff;
    opacity: 0.95;
    text-decoration: none;
    transition: all 0.25s ease;
}

.hzs-side-nav .sub-menu a:hover {
    background: rgba(255,255,255,0.1);
    padding-left: 30px;
}

/* Arrow icons */
.menu-item-has-children > a {
    position: relative;
    padding-right: 30px;
}

.menu-item-has-children > a::after {
    content: "▸";
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    opacity: 0.8;
    transition: transform 0.25s ease;
}

.menu-item-has-children.submenu-open > a::after {
    transform: translateY(-50%) rotate(90deg);
}

/* ------------------------------------
   SEKCIA – Aplikácia HZS (full width)
------------------------------------ */
.hzs-app-block {
    width: 100%;
    margin-bottom: 5px;
}

.hzs-app-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    overflow: hidden;
    width: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hzs-app-link:hover {
    transform: translateY(-2px);
}

/* ĽAVÁ MODRÁ ČASŤ */
.hzs-app-left {
    flex: 1;
    background: #10396b;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
}

/* PRAVÁ ČERVENÁ ČASŤ */
.hzs-app-right {
    background: #e63946;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 48px;
    font-size: 22px;
}

/* ------------------------------------
   SOCIÁLNE IKONY
------------------------------------ */
.hzs-social-block {
    text-align: center;
    padding: 25px 20px;
}

.hzs-social-title {
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 10px;
    opacity: 0.9;
}

.hzs-social {
    display: flex;
    justify-content: center;
    gap: 14px;
}

.hzs-social a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 22px;
    transition: color 0.25s ease, transform 0.2s ease;
}

.hzs-social a:hover {
    color: #ffffff;
    transform: scale(1.1);
}

/* ======================================
   PROFESIONÁLNA TOP LIŠTA HZS
====================================== */

/* Celá horná lišta */
.hzs-top-bar {
    background: #ffffff;
    color: #2e2e2e;
    height: 64px;
    padding: 0 28px;
    display: flex;
    align-items: center;
    border-bottom: 3px solid rgba(0,0,0,0.08);  /* jemné oddelenie */
    box-sizing: border-box;
}

/* kontajner pre titul + menu */
.hzs-top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    gap: 40px;
}

/* Nadpis vľavo */
.hzs-top-bar-title {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

/* Zoznam položiek (taby) */
.hzs-top-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

/* Jednotlivé odkazy */
.hzs-top-nav-list > li > a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 28px;
    height: 40px;
    font-size: 15px;
    font-weight: 600;
    color: #2e2e2e;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    transition: background 0.15s ease, border-bottom 0.2s ease;
}

/* Hover efekt */
.hzs-top-nav-list > li > a:hover {
    background: rgba(0,0,0,0.10);
}

/* Aktívna položka – zvýraznenie */
.hzs-top-nav-list > li.current-menu-item > a,
.hzs-top-nav-list > li.current_page_item > a {
    background: rgba(0,0,0,0.10);              /* HZS červená */
    border-bottom: 3px solid #ffffff; /* efekt karty */
    color: #2e2e2e;
}

.hzs-top-nav-list > li.menu-app > a {
    background: #e64a39;
    color: #ffffff;
    border-bottom: 3px solid #ffffff;
    display: flex;
    gap: 10px;
    font-weight: 700;
}
.hzs-top-nav-list > li.menu-app > a:hover {
    background: #10396b;
}
.hzs-top-nav-list > li.menu-app > a i {
    font-size: 28px;
}
/* ------------------------------------
   CONTENT
------------------------------------ */
.hzs-content {
    flex: 1;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    overflow: visible;
}
.hzs-content-inner {
    flex: 1;
    overflow-y: auto;
    box-sizing: border-box;
}
/* Úvodná stránka obsahu */
/* ================================
   HERO ČLÁNOK + QUICKLINKY
================================ */
.hzs-home-feature-wrapper {
    box-sizing: border-box;
}

.hzs-home-feature-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 2.1fr) minmax(0, 2.4fr);
    gap: 20px;
    margin-top: 20px;
    padding: 10px;
    align-items: flex-start;
}

/* 1. stĺpec – fotka */
.hzs-home-feature-media {
    width: 100%;
}

/* kontajner fotky – výška + orezanie */
.hzs-home-feature-image {
    display: block;
    height: 320px;
    overflow: hidden;
    border-radius: 6px;
}

.hzs-home-feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* 2. stĺpec – text článku */
.hzs-home-feature-main {
    padding-right: 10px;
    padding-left: 10px;

}

.hzs-home-feature-date {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* H2 – kontajner nadpisu */
.hzs-home-feature-title {
    margin: 0 0 16px;      /* odstráni defaultné margin-block-start / end */
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
}

/* link vnútri nadpisu – len farba a dekorácia */
.hzs-home-feature-title a {
    color: #10396b;
    text-decoration: none;
}

.hzs-home-feature-title a:hover {
    text-decoration: underline;
}

.hzs-home-feature-excerpt {
    margin-top: 16px;
    font-size: 16px;
    line-height: 1.7;
    color: #4b5563;

    max-height: 11.9em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 7;
    -webkit-box-orient: vertical;
}


.hzs-home-feature-tags {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.hzs-home-feature-tags-single {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hzs-tag {
    padding: 6px 12px;
    border-radius: 999px;
    background: #e5e7eb;
    font-size: 13px;
    color: #374151;
}





.hzs-home-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 10px;
    margin-bottom: 20px;
    padding: 10px;
}
/* 4 ➜ 3 ➜ 2 stĺpce podľa šírky okna */
@media (max-width: 1200px) {
    .hzs-home-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 992px) {
    .hzs-home-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
     /* ======================================
   PARTNERS & ZRIADOVATEĽ – SEKCIA
====================================== */

.hzs-partners-wrapper {
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
    margin-top: 40px;
    border-top: 1px solid rgba(0,0,0,0.06);
}

.hzs-partners-inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.hzs-zriadovatel-row {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 0 18px;
}

.hzs-zriadovatel-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hzs-partners-title {
    font-size: 22px;
    font-weight: 700;
    color: #10396b;
    margin: 0 0 20px;
}

/* Logá partnerov */
.hzs-partners-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 28px;
    margin-bottom: 30px;
}

.hzs-partners-logos a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hzs-partners-logos img {
    height: 50px;
    width: auto;
    object-fit: contain;
    opacity: 0.95;
    transition: opacity 0.2s ease;
}

.hzs-partners-logos img:hover {
    opacity: 1;
}

.hzs-zriadovatel-logo img {
    height: 44px;
    width: auto;
    object-fit: contain;
}

.hzs-partners-logo-link--imgw img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: contain;
}

/* Zriaďovateľ – MV SR */
.hzs-zriadovatel {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    font-size: 16px;
    color: #374151;
    font-weight: 600;
}

.hzs-zriadovatel img {
    height: 42px;
    width: auto;
    object-fit: contain;
}


    .hzs-partners-wrapper {
        padding: 30px 16px;
        margin-top: 20px;
    }

    .hzs-zriadovatel-row {
        margin-bottom: 14px;
    }

    .hzs-zriadovatel img {
        height: 34px;
    }

    .hzs-zriadovatel-logo img {
        height: 34px;
    }

    .hzs-partners-logo-link--imgw img {
        width: 48px;
        height: 48px;
    }


.hzs-home-grid-item {
    background: #ffffff;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: box-shadow 0.18s ease, transform 0.18s ease;
    cursor: pointer;
}

.hzs-home-grid-item:hover {
    box-shadow: 0 8px 18px rgba(0,0,0,0.16);
    transform: translateY(-3px);
}


.hzs-home-grid-thumb img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
}

.hzs-home-grid-content {
    padding: 10px 14px 14px;
}

.hzs-home-grid-meta {
    font-size: 10px;
    color: #777;
    display: block;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.hzs-home-grid-cat {
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-weight: 600;
    color: #777777;
    text-decoration: none;
}

.hzs-home-grid-cat:hover {
    text-decoration: underline;
}

.hzs-home-grid-title {
    font-size: 19px;
    line-height: 1.2;
    margin: 0;
}

.hzs-home-grid-title a {
    color: #1450a0;
    text-decoration: none;
}

.hzs-home-grid-title a:hover {
    text-decoration: underline;
}


.hzs-more-news-wrapper {
    position: relative;
    z-index: 10000 !important;
    text-align: center;
    margin: 40px 0 60px;
}

.hzs-more-news-link {
    font-size: 18px;
    font-weight: 600;
    color: #0A4C80;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    padding-bottom: 3px;
    transition: 0.25s;
}

.hzs-more-news-link:hover,
.hzs-more-news-link:focus {
    border-color: #0A4C80;
}
.hzs-pagination {
    text-align: center;
    margin: 40px 0 60px;
}

.hzs-pagination a,
.hzs-pagination span {
    display: inline-block;
    padding: 8px 14px;
    margin: 0 4px;
    border-radius: 6px;
    background: #f1f1f1;
    color: #0A4C80;
    text-decoration: none;
    font-weight: 500;
}

.hzs-pagination .current {
    background: #0A4C80;
    color: #fff;
}

/* ------------------------------------
   HEADER
------------------------------------ */
.hzs-top {
    border-bottom: 1px solid rgba(0,0,0,0.1);
    padding: 15px 30px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 999;
}

.hzs-top h1 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

/* ------------------------------------
   MENU TOGGLE
------------------------------------ */
.hzs-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 26px;
    color: #333;
    cursor: pointer;
}

/* ------------------------------------
   SCROLL BEHAVIOUR
------------------------------------ */
.hzs-sidebar,
.hzs-content-inner {
    scroll-behavior: smooth;
}

.hzs-sidebar {
    -ms-overflow-style: none;   /* IE/Edge */
    scrollbar-width: none;      /* Firefox */
}

.hzs-sidebar::-webkit-scrollbar {
    width: 0 !important;        /* Chrome / Safari / Edge */
    height: 0 !important;
}

.hzs-content-inner::-webkit-scrollbar {
    width: 8px;
}

.hzs-content-inner::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.2);
    border-radius: 10px;
}

.hzs-content-inner::-webkit-scrollbar-thumb:hover {
    background: rgba(0,0,0,0.35);
}

/* ------------------------------------
   OVERLAY (pri mobilnom menu)
------------------------------------ */
.hzs-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.3);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease;
    z-index: 900;
}

.hzs-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* =============================
Články
============================= */
.hzs-single-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 30px 24px 40px;
}

.hzs-single-meta {
    display: flex;
    gap: 15px;
    font-size: 15px;
    color: #666;
    margin-bottom: 10px;
}

.hzs-single-cats a {
    text-decoration: none;
    font-weight: 500;
}

.hzs-single-title {
    font-size: 32px;
    font-weight: 700;
    margin: 25px 0 25px;
}

.hzs-single-thumb img {
    width: 100%;
    height: auto;
    margin-bottom: 25px;
}
.hzs-archive-title {
    color: #10396b;
    font-size: 32px;
    font-weight: 700;
    margin: 24px 0 16px;
    padding: 0 20px;
}

.hzs-single-body {
    font-size: 17px;
    line-height: 1.75;
    color: #333;
}

.hzs-single-body img {
    max-width: 100%;
    margin: 20px 0;
}

.hzs-single-body p {
    margin: 16px 0;
}
body.single .hzs-content-inner > * {
    padding: 0;
}

body.single .hzs-single-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 30px 24px 40px;
}
/* Kontakty */
.hzs-kontakty-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
}

.hzs-kontakty-wrapper h1,
.hzs-kontakty-wrapper h2,
.hzs-kontakty-wrapper h3 {
    font-weight: 700;
}

.hzs-kontakty-wrapper hr {
    margin: 40px 0;
}
#hzs-warning-bar {
    z-index: 4000 !important;
}

body.menu-open #hzs-warning-bar {
    display: none !important;
}

.hzs-mobile-header {
    display: none;
}
/* ===================================================================
   MOBILNÁ VERZIA (FINÁLNY KÓD) – max-width: 768px
=================================================================== */
@media (max-width: 768px) {

    /* ------------------------------------------------------------
       SKRYŤ DESKTOP PRVKY
    ------------------------------------------------------------ */
    .hzs-top-bar,
    .hzs-top {
        display: none !important;
    }
    .hzs-wrapper {
         display: block;          /* namiesto flex */
         height: auto;            /* zruší fixnú výšku */
         min-height: 100vh;       /* aby stránka vedela byť aspoň na výšku okna */
         overflow: visible;       /* zruší hidden */
     }


    /* ------------------------------------------------------------
       MOBILNÁ HLAVIČKA – fixnutá + hide on scroll
    ------------------------------------------------------------ */
    .hzs-mobile-header {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 70px;

        background: #ffffff;
        border-bottom: 1px solid rgba(0,0,0,0.1);
        box-shadow: 0 2px 6px rgba(0,0,0,0.08);

        z-index: 5000;
        transition: transform 0.25s ease-in-out;
        transform: translateY(0);
    }

    .hzs-mobile-header.hide {
        transform: translateY(-100%);
    }

    .hzs-mobile-header-inner {
        height: 70px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 16px;
    }

    .hzs-mobile-logo {
        width: 48px;
        height: auto;
    }

    .hzs-mobile-sos {
        font-size: 25px;
        font-weight: 700;
        color: #e61e2a;
        display: flex;
        align-items: center;
        gap: 6px;
    }
    .hzs-side-nav > ul > li > a {
     font-size: 20px;
    }
    .hzs-side-nav .sub-menu a {
        font-size: 17px;
    
    }

    /* Hamburger */
    .hzs-mobile-menu-toggle {
        background: none;
        border: none;
        font-size: 30px;
        color: #12315b;
        cursor: pointer;
        padding: 6px;
        z-index: 9001;
        line-height: 1;
    }

    .hzs-mobile-menu-toggle.active i::before {
        content: "\f00d";
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
    }

    /* Obsah pod hlavičkou */
    body {
        padding-top: 70px;
    }

    /* ------------------------------------------------------------
       FULLSCREEN MOBILNÝ SIDEBAR (MENU)
    ------------------------------------------------------------ */
    .hzs-sidebar {
        position: fixed;
        top: 0;
        left: 0;

        width: 100%;
        height: 100%;
        background: #0072ae;

        transform: translateX(100%);
        transition: transform 0.35s ease;

        overflow-y: auto;
        z-index: 9000 !important;
    }

    .hzs-sidebar.active {
        transform: translateX(0);
    }

    /* Logo v menu */
    .hzs-sidebar::before {
        content: "";
        position: absolute;
        top: 20px;
        left: 20px;

        width: 58px;
        height: 58px;
        background: url('/wp-content/themes/hzs/img/logo.svg') no-repeat center/contain;
        z-index: 99999;
    }

    /* Zavrieť (X) v menu */
    .hzs-sidebar-close {
        position: absolute;
        top: 22px;
        right: 22px;
        background: none;
        border: none;
        font-size: 34px;
        color: #fff;
        z-index: 99999;
        cursor: pointer;
        display: block;

    }

    .hzs-sidebar-close:hover {
        opacity: 0.7;
    }

    /* Overlay */
    .hzs-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.35);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease;
        z-index: 8500;
    }

    .hzs-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* Zakázať scroll */
    body.menu-open {
        overflow: hidden;
    }

    /* Skryť výstrahy pri otvorenom menu */
    body.menu-open #hzs-warning-bar {
        display: none !important;
    }

    /* ------------------------------------------------------------
       HERO ČLÁNOK – MOBILNÁ VERZIA
    ------------------------------------------------------------ */
    .hzs-home-feature-wrapper {
        display: block !important;
    }

    .hzs-home-feature-media,
    .hzs-home-feature-image,
    .hzs-home-feature-image img {
        width: 100% !important;
        height: auto !important;
        object-fit: cover;
    }

    .hzs-home-feature-main {
        padding: 16px !important;
    }



    /* ------------------------------------------------------------
       GRID ČLÁNKOV – MOBIL 1 STĹPEC
    ------------------------------------------------------------ */
    .hzs-home-grid {
        grid-template-columns: 1fr;
    }
}
