* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #222;
    background: #fff;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

.top-bar {
    background: #f4f7fa;
    border-bottom: 1px solid #dce3ea;
    padding: 10px 0;
    font-size: 0.95rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: center;
}

.site-header {
    padding: 15px 0;
    border-bottom: none;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}
.header-stacked {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding-top: 12px;
    padding-bottom: 12px;
}
.logo img {
    max-height: 150px;
    width: auto;
    display: block;
}
.main-nav {
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    padding-top: 10px;
    width: 100%;
    display: flex;
    justify-content: center;
}
.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

.nav-list a {
    text-decoration: none;
    color: #1b4f72;
    font-weight: 600;
}

.main-content {
    padding: 0px 0 55px;
}

.site-footer {
    background: #f4f7fa;
    color: #000000;
    padding: 20px 0;
    text-align: center;
}

@media (max-width: 768px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .nav-list {
        flex-wrap: wrap;
        gap: 12px;
    }
}


.top-bar {
    background: #f4f7fa;
    color: #000000;
    padding: 10px 0;
    font-size: 0.95rem;
}

.top-bar-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.top-contacts {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 18px;
}

.top-item {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.top-item a {
    color: #000000;
    text-decoration: none;
}

.top-item a:hover {
    text-decoration: underline;
}

.top-icon-img {
    width: 18px !important;
    height: 18px !important;
    max-width: 18px !important;
    max-height: 18px !important;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.top-divider {
    color: rgba(255, 255, 255, 0.45);
    user-select: none;
}

@media (max-width: 768px) {
    .top-contacts {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .top-divider {
        display: none;
    }
}

ul {
    margin: -10px 0 0px;
    padding-left: 50px;
}

li {
    margin-bottom: 4px;
}

.btn-primary {
    display: inline-block;
    padding: 10px 18px;
    background: #005596;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    line-height: 1.2;
}

.btn-primary:hover {
    background: #003f70;
}

.nav-list,
.dropdown-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item.has-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #ffffff;
    border: 1px solid #d9d9d9;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
    z-index: 100;
    text-align: left;
}

.dropdown-menu li {
    display: block;
    margin: 0;
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 9px 14px;
    color: #005596;
    text-decoration: none;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background: #f2f6fa;
}

.nav-item.has-dropdown:hover .dropdown-menu {
    display: block;
}


.stranka-s-vodoznakem {
    position: relative;
    overflow: hidden;
}

.stranka-s-vodoznakem > *:not(.vodoznak) {
    position: relative;
    z-index: 2;
}

.vodoznak {
    position: absolute;
    top: 24px; /* začátek divu s trochou odstupu od horního okraje; pro úplně nahoře dej 0 */
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    height: auto;
    max-width: 75%;
    max-height: 75%; /* ať nezabere celou výšku, když je div dlouhý */
    object-fit: contain;
    opacity: 0.30;
    pointer-events: none;
    z-index: 1;
}


.seznam-stred {
    display: flex;
    margin: 0 auto;
}

.seznam-stred ul {
    display: block;
    list-style-position: inside;
    position: static;
    left: auto;
    transform: none;
    margin: 0 auto;
    padding-left: 22px;
    text-align: center;
}

.seznam-stred li {
    text-align: center;
    margin: 0 auto;
}


.logo img,
.header-logo img {
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
  max-height: 90px;
}

@media (max-width: 768px) {
  .logo img,
  .header-logo img {
    max-height: 64px;
    margin: 0 auto;
  }
}


@media (max-width: 992px) {
  .menu,
  nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 14px;
    padding: 8px;
  }
}

@media (max-width: 768px) {
  .menu li,
  nav ul li {
    border-right: none;
  }

  .menu a,
  nav ul a {
    display: inline-block;
    padding: 6px 8px;
  }
}