/* CSS Document */
/* CSS Document */
/* =============== resetovani css =============== */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
}
ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
/* =============== Hlavni =============== */

.cleaner { clear: both; height: 0; font-size: 0; visibility: hidden; }
.content { padding-left: 5.083333333333333%; padding-right: 5.083333333333333%; }
.vcontent { padding-top: 5em; padding-bottom: 5em; }
.vcontent_top { padding-top: 5em; }
.vcontent_bottom { padding-bottom: 5em; }
.right { float: right; }
.left { float: left; }
.center { text-align: center; }

.webdesign {
    background-color: #2d2d2d !important;
    border-top: none !important;
}

.webdesign,
.webdesign a {
    color: #b2b2b2 !important;
    text-decoration: none !important;
}

.shadow {
    box-shadow: 0 1px 2px 0 rgba(0,0,0,.1), 0 6px 20px 0 rgba(0,0,0,.09);
}

.ramecek {
    border: 1px solid #edefef;
}

.np .page .ramecek h2 {
    margin-top: 0;
}

:root {
    --primary: #f2b600;
    --primary-dark: #d79f00;
    --navy: #203864;
    --navy-2: #2c4a7a;
    --text: #1f2937;
    --muted: #5f6b7a;
    --bg: #f7f9fc;
    --card: #ffffff;
    --line: #dbe3ee;
    --soft: #eef3f8;
    --shadow: 0 12px 32px rgba(28, 50, 84, 0.08);
    --shadow-lg: 0 18px 44px rgba(18, 35, 63, 0.16);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 14px;
    --transition: .22s ease;
    --max: 1320px;
}

.wrap {
    min-width: 320px;
    color: var(--text);
    background: #fff;
    font-family: "Nunito Sans", Arial, Helvetica, sans-serif;
    line-height: 1.5;
}

.wrap *,
.wrap *::before,
.wrap *::after {
    box-sizing: border-box;
}

.wrap img {
    display: block;
    max-width: 100%;
    height: auto;
}

.wrap a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(calc(100% - 32px), var(--max));
    margin: 0 auto;
}

.button,
.button1,
.button2 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 22px;
    font-weight: 700;
    line-height: 1.2;
    border-radius: 999px;
    transition: all var(--transition);
    cursor: pointer;
    border: 0;
    white-space: nowrap;
    text-align: center;
}

.button,
.button1 {
    color: #17263f;
    background: var(--primary);
    box-shadow: 0 8px 22px rgba(242, 182, 0, 0.26);
}

.button:hover,
.button1:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.button2 {
    color: var(--navy);
    background: #fff;
    border: 1px solid var(--line);
}

.button2:hover {
    background: var(--soft);
}

.site-header {
    position: relative;
    z-index: 30;
}

.top-utility {
    background: linear-gradient(90deg, #ffffff 0%, #fff8d8 100%);
}

.top-utility-inner {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 0;
}

.top-utility-nav {
    position: relative;
    top: -6px;
    z-index: 2;
    display: flex;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.top-utility-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    background: var(--navy);
    border-radius: 0 0 10px 10px;
    box-shadow: 0 6px 14px rgba(32, 56, 100, 0.15);
    transition: background var(--transition), transform var(--transition);
}

.top-utility-nav a:hover {
    background: var(--navy-2);
    transform: translateY(3px);
}

.topbar {
    padding-top: 10px;
    background: linear-gradient(90deg, #ffffff 0%, #fff8d8 100%);
    border-bottom: 1px solid var(--line);
}

.topbar-inner {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 32px;
    align-items: center;
    padding: 20px 0 18px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 260px;
}

.brand img {
    width: 285px;
    height: auto;
    object-fit: contain;
}

.topbar-right {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: 18px;
    align-items: center;
}

.contact-strip,
.donate-strip {
    padding: 14px 18px;
    background: rgba(255,255,255,.9);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.contact-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    align-items: center;
    max-width: 640px;
    font-size: 14px;
    color: var(--navy);
}

.contact-strip strong {
    color: var(--text);
}

.donate-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    background: linear-gradient(135deg, #fffdf3 0%, #fff7cf 100%);
}

.donate-strip .button {
    flex: 0 0 auto;
    min-width: 158px;
}

@media (max-width: 860px) {
    .donate-strip {
        flex-wrap: wrap;
    }

    .donate-strip .button {
        min-width: 0;
    }
}

.donate-copy {
    font-size: 14px;
}

.donate-copy strong {
    display: block;
    margin-bottom: 2px;
    font-size: 18px;
    color: var(--navy);
}

.nav-wrap {
    position: relative;
    z-index: 20;
    color: #fff;
    background: var(--navy);
    border-bottom: 4px solid var(--primary);
}

.nav-inner {
    display: block;
    min-height: 64px;
}

.menu {
    position: relative;
    z-index: 200;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px;
    min-height: 64px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.menu__item {
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
}

.menu__item--level-0 {
    display: flex;
    align-items: stretch;
    padding-bottom: 14px;
    margin-bottom: -14px;
}

.menu__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 18px 14px;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.2;
    color: rgba(255,255,255,.96);
    background: transparent;
    border-radius: 10px;
    transition: background var(--transition), color var(--transition);
}

.menu__link:hover {
    background: rgba(255,255,255,.1);
}

.menu__item--level-0:hover > .menu__link,
.menu__item--level-0.is-active > .menu__link,
.menu__item--level-0.is-current > .menu__link,
.menu__item--level-0.is-open > .menu__link {
    background: rgba(255,255,255,.1);
}


.menu__toggle {
    display: none;
}

.menu__item--level-0.has-children > .menu__link::after {
    content: "▾";
    font-size: 11px;
    opacity: .9;
}

.menu__submenu {
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    min-width: 320px;
    max-width: 420px;
    margin: 0;
    padding: 16px;
    list-style: none;
    color: var(--text);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow-lg);
}

.menu__item.has-children::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 14px;
}

.menu__item.is-open > .menu__submenu {
    display: block;
}

@media (min-width: 961px) {
    .menu__item:hover > .menu__submenu {
        display: block;
    }
}
.menu__submenu--level-1::before {
    content: "";
    position: absolute;
    top: -8px;
    left: 24px;
    width: 16px;
    height: 16px;
    background: #fff;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
    transform: rotate(45deg);
}

.menu__submenu .menu__item {
    display: block;
}

.menu__submenu .menu__link {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 8px 10px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--navy);
    background: transparent;
    border-radius: 10px;
}

.menu__submenu .menu__link:hover,
.menu__submenu .menu__item.is-active > .menu__link,
.menu__submenu .menu__item.is-current > .menu__link,
.menu__submenu .menu__item.is-open > .menu__link {
    background: var(--soft);
    color: var(--navy);
}

.menu__submenu .has-children > .menu__link::after {
    content: "›";
    margin-left: 12px;
    font-size: 14px;
    line-height: 1;
    opacity: .8;
}

.menu__submenu .menu__submenu {
    top: 0;
    left: calc(100% + 12px);
    min-width: 280px;
    max-width: 360px;
}

.menu__submenu .menu__submenu::before {
    display: none;
}

.menu__link:focus,
.menu__toggle:focus {
    outline: none;
}

.menu__link:focus-visible,
.menu__toggle:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.hero {
    padding: 30px 0 40px;
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 28px;
    align-items: stretch;
}

.hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 46px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
}

.kicker {
    display: inline-flex;
    align-self: flex-start;
    margin-bottom: 18px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 700;
    color: #7a5a00;
    background: #fff5cc;
    border-radius: 999px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
}

.section-head h2,
.hero h1 {
    font-weight: 800;
}

.service-card h3,
.news-card h3,
.info-card h3,
.footer-card h3 {
    font-weight: 800;
}
.section-head h2 {
    font-weight: 800;
    letter-spacing: -0.02em;
}

.service-card h3 {
    margin: 0;
    font-size: 1.08rem;
    font-weight: 800;
    color: var(--navy);
}

.service-card p {
    color: var(--muted);
    line-height: 1.6;
}

.hero h1 {
    margin: 0 0 18px;
    font-size: clamp(36px, 5vw, 58px);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -0.03em;
    color: var(--navy);
}

.lead {
    max-width: 34ch;
    margin: 0 0 24px;
    font-size: 20px;
    line-height: 1.65;
    color: var(--muted);
}

.motto {
    margin-top: 12px;
    padding: 16px 18px;
    font-size: 17px;
    font-style: italic;
    color: var(--navy);
    background: #fffdf6;
    border-left: 4px solid var(--primary);
    border-radius: 0 14px 14px 0;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.hero-visual {
    display: grid;
    gap: 14px;
}

.banner-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 14px;
    min-height: 100%;
}

.banner-large,
.banner-stack > div {
    position: relative;
    overflow: hidden;
    min-height: 260px;
    border-radius: 14px;
    box-shadow: var(--shadow);
}

.banner-stack {
    display: grid;
    gap: 14px;
}

.banner-stack > div {
    min-height: 123px;
}

.banner-large img,
.banner-stack img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 18px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(180deg, rgba(25,39,64,0) 0%, rgba(25,39,64,.84) 100%);
}

.site-section {
    padding: 42px 0;
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.section-head h2 {
    margin: 0;
    font-size: clamp(28px, 3vw, 40px);
    color: var(--navy);
}

.section-head p {
    max-width: 70ch;
    margin: 8px 0 0;
    color: var(--muted);
}

.cards-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.service-card,
.news-card,
.footer-card,
.info-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.footer-card a {
    color: var(--navy);
    text-decoration: none;
    word-break: break-word;
}

.footer-card a:hover {
    text-decoration: underline;
}

.service-card,
.info-card,
.footer-card {
    padding: 24px;
}

.service-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 210px;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.service-card:hover,
.news-card:hover {
    transform: translateY(-4px);
    border-color: #c8d5e8;
    box-shadow: 0 18px 38px rgba(18, 35, 63, 0.12);
}
.service-card--link {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 210px;
    padding: 24px;
    text-decoration: none;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.service-card--link:hover {
    transform: translateY(-4px);
    border-color: #c8d5e8;
    box-shadow: 0 18px 38px rgba(18, 35, 63, 0.12);
}

.service-card--link:hover h3 {
    color: var(--navy);
}

.service-card--link:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}


.service-card h3,
.news-card h3,
.info-card h3,
.footer-card h3 {
    margin: 0;
    color: var(--navy);
}

.service-card p,
.news-card p,
.info-card p,
.footer-card p,
.footer-card li {
    margin: 0;
    color: var(--muted);
}

.service-icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    color: var(--navy);
    background: #fff5cc;
    border-radius: 50%;
    flex: 0 0 58px;
}

.service-icon svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.news-card {
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.news-card__image a,
.news-card__image img {
    display: block;
    width: 100%;
}

.news-card__image img {
    height: 220px;
    object-fit: cover;
}

.news-content {
    display: grid;
    gap: 10px;
    padding: 20px;
}

.tag {
    display: inline-flex;
    align-self: start;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 700;
    color: var(--navy-2);
    background: #eef5ff;
    border-radius: 999px;
}

.news-date {
    font-size: 14px;
    color: var(--muted);
}

.news-date strong {
    color: var(--navy);
}

.news-text {
    color: var(--muted);
}

.news-text *:first-child {
    margin-top: 0;
}

.news-text *:last-child {
    margin-bottom: 0;
}

.pagination-centered {
    margin-top: 26px;
    text-align: center;
}

.pagination-centered p {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
}

.pagination-centered a,
.pagination-centered span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 42px;
    padding: 0 14px;
    font-weight: 700;
    color: var(--navy);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
}

.pagination-centered span,
.pagination-centered a:hover {
    background: var(--soft);
}

.pagination-centered .is-current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 42px;
    padding: 0 14px;
    font-weight: 700;
    color: var(--navy);
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 999px;
}

.tabs-section {
    background: #f3f6fb;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.tabs-wrap {
    display: grid;
    gap: 20px;
}

.accordion-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.accordion-item {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.accordion-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 20px 24px;
    font-size: 18px;
    font-weight: 700;
    text-align: left;
    color: #10233e;
    background: #fff;
    border: 0;
    cursor: pointer;
}

.accordion-trigger:hover {
    background: #f8fbff;
}

.accordion-trigger::after {
    content: "+";
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    font-size: 22px;
    line-height: 1;
    color: var(--navy);
    background: #eef3f8;
    border-radius: 999px;
}

.accordion-item.is-open .accordion-trigger::after {
    content: "−";
}

.accordion-panel {
    display: none;
    padding: 0 24px 24px;
    background: #fcfdff;
    border-top: 1px solid var(--line);
}

.accordion-item.is-open .accordion-panel {
    display: block;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 18px;
    padding-top: 20px;
}

.detail-item,
.logo-item {
    display: block;
    padding: 14px 16px;
    font-weight: 700;
    color: var(--navy);
    background: var(--soft);
    border-radius: 10px;
    transition: transform var(--transition), background var(--transition);
}

.detail-item:hover,
.logo-item:hover {
    background: #e7eef7;
    transform: translateY(-2px);
}

.detail-item small,
.logo-item small {
    display: block;
    margin-bottom: 4px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .02em;
    text-transform: uppercase;
    color: var(--muted);
}

.logo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px 18px;
    padding-top: 20px;
}

.logo-item {
    text-align: center;
}

.logo-item img {
    width: 72px;
    height: 72px;
    margin: 0 auto 10px;
    object-fit: contain;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.footer-card ul {
    display: grid;
    gap: 10px;
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
}

.site-footer {
    margin-top: 28px;
    padding: 26px 0;
    color: rgba(255,255,255,.92);
    background: #12233f;
}

.site-footer .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px 24px;
    font-size: 14px;
}

.subpage-main {
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.np .page {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
}

.page,
.page-text {
    color: inherit;
}

.page * + *,
.page-text * + * {
    margin-top: 1em;
}

.page img,
.page-text img {
    max-width: 100%;
    height: auto;
}

.page table,
.page-text table {
    width: 100%;
    border-collapse: collapse;
}

.page iframe,
.page-text iframe {
    max-width: 100%;
}

.page h1, .page h2, .page h3, .page h4, .page h5, .page h6,
.page-text h1, .page-text h2, .page-text h3, .page-text h4, .page-text h5, .page-text h6 {
    color: inherit;
}

.page a,
.page-text a {
    text-decoration: underline;
}

@media (max-width: 1180px) {
    .topbar-right,
    .hero-grid,
    .cards-4,
    .news-grid,
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .topbar-inner {
        grid-template-columns: 1fr;
    }

    .top-utility-inner {
        justify-content: flex-start;
    }
}

@media (max-width: 960px) {
    .menu {
        display: block;
        min-height: 0;
        padding: 10px 0;
    }

    .menu__item--level-0 {
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
        padding-bottom: 0;
        margin-bottom: 0;
    }

    .menu__item--level-0 > .menu__link {
        min-width: 0;
    }

    .menu__item--level-0.has-children > .menu__link::after,
    .menu__submenu .has-children > .menu__link::after {
        display: none;
    }

    .menu__toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        min-height: 44px;
        margin-right: 6px;
        color: #fff;
        background: transparent;
        border: 0;
        border-radius: 10px;
        cursor: pointer;
    }

    .menu__toggle span,
    .menu__toggle span::before {
        display: block;
        width: 14px;
        height: 2px;
        background: currentColor;
        content: "";
    }

    .menu__toggle span::before {
        transform: rotate(90deg);
    }

    .menu__item.is-open > .menu__toggle span::before {
        transform: rotate(0);
    }

    .menu__link {
        display: flex;
        width: 100%;
        padding: 14px 12px;
    }

    .menu__submenu {
        position: static;
        min-width: 0;
        max-width: none;
        padding: 8px 0 8px 14px;
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }
    .menu__item.has-children::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        height: 14px;
    }

    .menu__submenu,
    .menu__item:hover > .menu__submenu {
        display: none;
    }

    .menu__item.is-open > .menu__submenu {
        display: block;
    }

    .menu__submenu::before {
        display: none;
    }

    .menu__submenu .menu__link {
        padding: 10px 12px;
        color: rgba(255,255,255,.92);
        background: transparent;
    }

    .menu__submenu .menu__link:hover,
    .menu__submenu .menu__item.is-active > .menu__link,
    .menu__submenu .menu__item.is-current > .menu__link,
    .menu__submenu .menu__item.is-open > .menu__link {
        background: rgba(255,255,255,.08);
        color: #fff;
    }

    .menu__submenu .menu__submenu {
        padding-left: 14px;
    }
}

@media (max-width: 860px) {
    .accordion-list,
    .topbar-right,
    .hero-grid,
    .cards-4,
    .news-grid,
    .footer-top,
    .banner-grid,
    .detail-grid,
    .logo-grid {
        grid-template-columns: 1fr;
    }

    .hero-copy {
        padding: 28px;
    }

    .brand {
        min-width: 0;
    }

    .brand img {
        width: 180px;
    }
}

.gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 220px 220px;
    gap: 14px;
}

.gallery-main,
.gallery-item {
    overflow: hidden;
    box-shadow: var(--shadow);
}

.gallery-main {
    grid-row: span 2;
    border-radius: 14px;
}

.gallery-item {
    border-radius: 12px;
}

.gallery-main img,
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease, filter .3s ease;
}

.gallery-main:hover img,
.gallery-item:hover img {
    transform: scale(1.04);
    filter: brightness(.96);
}

@media (max-width: 860px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .gallery-main {
        grid-row: auto;
    }
}

.subpage-main {
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.subpage-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 32px;
    align-items: start;
}

.subpage-content {
    min-width: 0;
}

.subpage-sidebar {
    min-width: 0;
}

.sidebar-card {
    position: sticky;
    top: 24px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
}

.sidebar-card {
    position: sticky;
    top: 24px;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
}
.sidebar-card__inner {
    padding: 16px 16px 18px;
}

.sidebar-title {
    margin: 0 0 12px;
    font-size: 1.08rem;
    font-weight: 800;
    color: var(--navy);
}

.np .page {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
}

@media (max-width: 1100px) {
    .subpage-layout {
        grid-template-columns: 1fr;
    }

    .subpage-content {
        order: 1;
    }

    .subpage-sidebar {
        order: 2;
    }

    .sidebar-card {
        position: static;
    }
}

.menu2,
.menu2 ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.menu2 {
    display: grid;
    gap: 2px;
}

.side-menu__item {
    margin: 0;
    padding: 0;
}

.side-menu__item > a {
    display: block;
    padding: 5px 8px;
    color: var(--navy);
    text-decoration: none;
    border-radius: 9px;
    font-size: 0.88rem;
    line-height: 1.3;
    transition: background var(--transition), color var(--transition);
}

.side-menu__item > a:hover {
    background: var(--soft);
}

.side-menu__item--level-0 > a {
    font-size: 0.95rem;
    font-weight: 800;
}

.side-menu__item--level-1 > a,
.side-menu__item--level-2 > a,
.side-menu__item--level-3 > a {
    font-size: 0.86rem;
    font-weight: 600;
}

.side-menu__item--level-1 {
    margin-left: 6px;
}

.side-menu__item--level-2 {
    margin-left: 12px;
}

.side-menu__item--level-3 {
    margin-left: 18px;
}

.side-menu__item.has-children > a {
    position: relative;
    padding-right: 22px;
}

.side-menu__item.has-children > a::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 9px;
    width: 6px;
    height: 6px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-60%) rotate(45deg);
    opacity: 0.5;
}

.side-menu__item ul {
    display: grid;
    gap: 1px;
    margin-top: 1px;
    padding-top: 0;
}

.side-menu__item.is-active > a,
.side-menu__item.is-current > a {
    color: var(--navy);
    background: #eef5ff;
}

.side-menu__item.is-current > a {
    font-weight: 800;
    box-shadow: inset 3px 0 0 var(--primary);
}

.subpages-nav {
    margin: 0 0 28px;
    padding: 16px 18px;
    background: #f8fbff;
    border: 1px solid var(--line);
    border-radius: 12px;
}

.subpages-nav__title {
    margin: 0 0 10px;
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--navy);
}

.subpages-nav__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.subpages-nav__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 7px 14px;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--navy);
    text-decoration: none;
    background: #ffffff;
    border: 1px solid #d9e2ef;
    border-radius: 999px;
    transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.subpages-nav__item:hover {
    background: #eef3f8;
    border-color: #c8d5e8;
    transform: translateY(-1px);
}
.subpages-nav__list > * {
    margin-top: 0 !important;
}

.subpages-nav__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 7px 14px;
    line-height: 1.2;
}

.page-text h1,
.page h1 {
    margin: 0 0 18px;
    font-size: clamp(2rem, 3.2vw, 2.6rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--navy);
}

.page-text h2,
.page h2 {
    margin: 32px 0 14px;
    font-size: clamp(1.35rem, 2vw, 1.7rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--navy);
}

.page-text h3,
.page h3 {
    margin: 24px 0 12px;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--navy);
}

.page-text h1,
.page h1 {
    margin-bottom: 22px;
}


.article-contacts {
    margin-top: 42px;
}

.article-contacts__list {
    display: grid;
    gap: 22px;
}

.article-contact-card {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 0;
    align-items: stretch;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.article-contact-card__media {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: #f8fbff;
    border-right: 1px solid var(--line);
    min-height: 220px;
}

.article-contact-card__media img {
    display: block;
    width: 100%;
    max-width: 190px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 8px 18px rgba(18, 35, 63, 0.08);
}

.article-contact-card__content {
    min-width: 0;
    padding: 28px 30px;
}

.article-contact-card__content h2 {
    margin: 0 0 12px;
    font-size: clamp(1.5rem, 2vw, 1.95rem);
    font-weight: 800;
    line-height: 1.12;
    color: var(--navy);
}

.article-contact-card__text {
    color: var(--text);
}

.article-contact-card__text > *:first-child {
    margin-top: 0;
}

.article-contact-card__text > *:last-child {
    margin-bottom: 0;
}

.article-contact-card__text p {
    margin: 0 0 10px;
    line-height: 1.7;
    color: var(--muted);
}

.article-contact-card__text strong,
.article-contact-card__text b {
    color: var(--navy);
    font-weight: 700;
}

.article-contact-card__text a {
    color: var(--navy);
    text-decoration: underline;
    word-break: break-word;
}

.article-contact-card__text a:hover {
    text-decoration-thickness: 2px;
}

@media (max-width: 760px) {
    .article-contact-card {
        grid-template-columns: 1fr;
    }

    .article-contact-card__media {
        min-height: 0;
        padding: 22px 22px 10px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .article-contact-card__media img {
        max-width: 240px;
    }

    .article-contact-card__content {
        padding: 22px;
    }
}

.article-contacts__list {
    display: grid;
    gap: 20px;
}

.article-contact-card {
    padding: 18px;
    gap: 20px;
}


.article-files {
    margin-top: 42px;
}

.article-files h2 {
    margin-bottom: 18px;
}

.article-files__list {
    display: grid;
    gap: 14px;
}

.article-file-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 20px;
    background: #f8fbff;
    border: 1px solid var(--line);
    border-radius: 12px;
}

.article-file-card__content {
    min-width: 0;
}

.article-file-card__content h3 {
    margin: 0;
    font-size: 1.08rem;
    font-weight: 800;
    line-height: 1.3;
    color: var(--navy);
    word-break: break-word;
}

.article-file-card__actions {
    flex: 0 0 auto;
}

.article-file-card__link {
    white-space: nowrap;
}

@media (max-width: 700px) {
    .article-file-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .article-file-card__actions {
        width: 100%;
    }

    .article-file-card__link {
        width: 100%;
        justify-content: center;
    }
}

.article-gallery {
    margin-top: 42px;
}

.article-gallery__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.article-gallery__item {
    margin: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.article-gallery__link {
    display: block;
    overflow: hidden;
}

.article-gallery__link img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform .3s ease, filter .3s ease;
}

.article-gallery__link:hover img {
    transform: scale(1.04);
    filter: brightness(.97);
}

.article-gallery__caption {
    margin: 0;
    padding: 12px 14px 14px;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--navy);
}

@media (max-width: 900px) {
    .article-gallery__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .article-gallery__grid {
        grid-template-columns: 1fr;
    }


}

.article-gallery__grid > * {
    margin-top: 0 !important;
}

.article-gallery__item > * {
    margin-top: 0 !important;
}

.article-hero-media {
    margin: 0 0 30px;
}

.article-hero-media__item {
    margin: 0;
}

.article-hero-media__link {
    display: block;
    overflow: hidden;
    border-radius: 14px;
    box-shadow: var(--shadow);
}

.article-hero-media__image {
    display: block;
    width: 100%;
    height: auto;
}

.article-hero-media__caption {
    margin: 10px 4px 0;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--muted);
}

/* text z editoru - zkrocení */
/* =========================================================
   NORMALIZACE OBSAHU Z EDITORU
   ========================================================= */

.page-text,
.page {
    color: var(--text);
    font-size: 1rem;
    line-height: 1.75;
}

.page-text > *:first-child,
.page > *:first-child {
    margin-top: 0 !important;
}

.page-text > *:last-child,
.page > *:last-child {
    margin-bottom: 0 !important;
}

/* základní vertikální rytmus jen pro přímé děti obsahu */
.page-text > * + *,
.page > * + * {
    margin-top: 1.1em;
}

/* odstavce */
.page-text p,
.page p {
    margin: 0;
    line-height: 1.75;
    color: var(--text);
}

/* prázdné odstavce a balast */
.page-text p:empty,
.page p:empty {
    display: none;
}

/* nadpisy */
.page-text h1,
.page h1 {
    margin: 0 0 20px;
    font-size: clamp(2rem, 3.2vw, 2.6rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--navy);
}

.page-text h2,
.page h2 {
    margin: 34px 0 14px;
    font-size: clamp(1.35rem, 2vw, 1.7rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--navy);
}

.page-text h3,
.page h3 {
    margin: 24px 0 10px;
    font-size: 1.12rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--navy);
}

.page-text h4,
.page h4 {
    margin: 20px 0 8px;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--navy);
}

/* seznamy */
.page-text ul,
.page ul {
    margin: 0 0 1.2em 1.4em;
    padding: 0;
    list-style: disc;
}

.page-text ol,
.page ol {
    margin: 0 0 1.2em 1.5em;
    padding: 0;
    list-style: decimal;
}

.page-text li,
.page li {
    margin: 0 0 0.5em;
    line-height: 1.7;
}

.page-text li::marker,
.page li::marker {
    color: var(--navy);
}

/* odkazy */
.page-text a,
.page a {
    color: var(--navy);
    text-decoration: underline;
    text-underline-offset: 2px;
    word-break: break-word;
}

.page-text a:hover,
.page a:hover {
    text-decoration-thickness: 2px;
}

/* zvýraznění */
.page-text strong,
.page-text b,
.page strong,
.page b {
    font-weight: 700;
    color: var(--navy);
}

.page-text em,
.page-text i,
.page em,
.page i {
    font-style: italic;
}

/* obrázky */
.page-text img,
.page img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 16px;
}

/* obrázek vložený samostatně */
.page-text p > img:only-child,
.page p > img:only-child {
    margin-left: 0;
    margin-right: 0;
}

/* tabulky */
.page-text table,
.page table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.2em 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
}

.page-text th,
.page-text td,
.page th,
.page td {
    padding: 12px 14px;
    vertical-align: top;
    border-bottom: 1px solid var(--line);
    text-align: left;
}

.page-text tr:last-child td,
.page tr:last-child td {
    border-bottom: 0;
}

.page-text th,
.page th {
    font-weight: 700;
    color: var(--navy);
    background: #f8fbff;
}

/* blockquote */
.page-text blockquote,
.page blockquote {
    margin: 1.4em 0;
    padding: 14px 18px;
    color: var(--navy);
    background: #fffdf6;
    border-left: 4px solid var(--primary);
    border-radius: 0 14px 14px 0;
}

/* hr */
.page-text hr,
.page hr {
    margin: 28px 0;
    border: 0;
    border-top: 1px solid var(--line);
}

/* iframe / video */
.page-text iframe,
.page iframe,
.page-text video,
.page video {
    display: block;
    max-width: 100%;
    border-radius: 16px;
}

/* editorové span classy z CKEditor a podobných editorů */
.page-text .text-tiny,
.page-text .text-small,
.page-text .text-big,
.page-text .text-huge,
.page .text-tiny,
.page .text-small,
.page .text-big,
.page .text-huge {
    font-size: inherit !important;
    line-height: inherit !important;
}

/* obecně vnořené spany a font wrappery */
.page-text span,
.page span {
    line-height: inherit;
}

/* ruční centrování obrázků nebo bloků přes inline styl může zůstat,
   ale text nechceme příliš rozházený */
.page-text p[style*="text-align"],
.page-text li[style*="text-align"],
.page p[style*="text-align"],
.page li[style*="text-align"] {
    line-height: 1.75;
}

/* aby nevznikaly kolize u našich vlastních komponent uvnitř page-text */
.subpages-nav,
.subpages-nav *,
.article-files,
.article-files *,
.article-gallery,
.article-gallery *,
.article-hero-media,
.article-hero-media *,
.article-contacts,
.article-contacts * {
    box-sizing: border-box;
}

/* vypnutí globálních margin-top kolizí pro komponenty */
.subpages-nav > *,
.subpages-nav__list > *,
.article-files__list > *,
.article-gallery__grid > *,
.article-contacts__list > * {
    margin-top: 0 !important;
}

.page-text p > img:only-child,
.page p > img:only-child {
    display: block;
    margin: 0;
}

.page-text p:has(> img:only-child),
.page p:has(> img:only-child) {
    margin: 0;
}
.page-text p > a[href$=".pdf"]:only-child,
.page-text p > a[href$=".doc"]:only-child,
.page-text p > a[href$=".docx"]:only-child,
.page-text p > a[href$=".xls"]:only-child,
.page-text p > a[href$=".xlsx"]:only-child,
.page-text p > a[href$=".zip"]:only-child,
.page p > a[href$=".pdf"]:only-child,
.page p > a[href$=".doc"]:only-child,
.page p > a[href$=".docx"]:only-child,
.page p > a[href$=".xls"]:only-child,
.page p > a[href$=".xlsx"]:only-child,
.page p > a[href$=".zip"]:only-child {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    min-height: 40px;
    padding: 8px 14px;
    font-weight: 700;
    color: var(--navy);
    text-decoration: none;
    word-break: break-word;
    background: #f8fbff;
    border: 1px solid var(--line);
    border-radius: 12px;
    transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.page-text p > a[href$=".pdf"]:only-child::before,
.page-text p > a[href$=".doc"]:only-child::before,
.page-text p > a[href$=".docx"]:only-child::before,
.page-text p > a[href$=".xls"]:only-child::before,
.page-text p > a[href$=".xlsx"]:only-child::before,
.page-text p > a[href$=".zip"]:only-child::before,
.page p > a[href$=".pdf"]:only-child::before,
.page p > a[href$=".doc"]:only-child::before,
.page p > a[href$=".docx"]:only-child::before,
.page p > a[href$=".xls"]:only-child::before,
.page p > a[href$=".xlsx"]:only-child::before,
.page p > a[href$=".zip"]:only-child::before {
    content: "↘";
    margin-right: 8px;
    opacity: 0.75;
}

.page-text p > a[href$=".pdf"]:only-child:hover,
.page-text p > a[href$=".doc"]:only-child:hover,
.page-text p > a[href$=".docx"]:only-child:hover,
.page-text p > a[href$=".xls"]:only-child:hover,
.page-text p > a[href$=".xlsx"]:only-child:hover,
.page-text p > a[href$=".zip"]:only-child:hover,
.page p > a[href$=".pdf"]:only-child:hover,
.page p > a[href$=".doc"]:only-child:hover,
.page p > a[href$=".docx"]:only-child:hover,
.page p > a[href$=".xls"]:only-child:hover,
.page p > a[href$=".xlsx"]:only-child:hover,
.page p > a[href$=".zip"]:only-child:hover {
    background: #eef3f8;
    border-color: #c8d5e8;
    transform: translateY(-1px);
}

.page-text p:has(> a[href$=".pdf"]:only-child),
.page-text p:has(> a[href$=".doc"]:only-child),
.page-text p:has(> a[href$=".docx"]:only-child),
.page-text p:has(> a[href$=".xls"]:only-child),
.page-text p:has(> a[href$=".xlsx"]:only-child),
.page-text p:has(> a[href$=".zip"]:only-child),
.page p:has(> a[href$=".pdf"]:only-child),
.page p:has(> a[href$=".doc"]:only-child),
.page p:has(> a[href$=".docx"]:only-child),
.page p:has(> a[href$=".xls"]:only-child),
.page p:has(> a[href$=".xlsx"]:only-child),
.page p:has(> a[href$=".zip"]:only-child) {
    margin: 0 0 10px;
}

.page-text br + br,
.page br + br {
    display: none;
}

.page-text u,
.page u {
    text-underline-offset: 2px;
}

.page-text a[href^="mailto:"],
.page a[href^="mailto:"] {
    color: var(--navy);
    font-weight: 600;
    text-decoration: underline;
    word-break: break-word;
}

/* text rozbitý přes <br> */
.page-text p br,
.page br {
    line-height: 1.6;
}

/* dvojité prázdné zalomení zklidnit */
.page-text br + br,
.page br + br {
    display: none;
}

/* span balast z editoru */
.page-text span,
.page span {
    line-height: inherit;
    font-size: inherit;
}

/* editorové velikosti vypnout */
.page-text .text-tiny,
.page-text .text-small,
.page-text .text-big,
.page-text .text-huge,
.page .text-tiny,
.page .text-small,
.page .text-big,
.page .text-huge {
    font-size: inherit !important;
    line-height: inherit !important;
}

/* podtržené nadpisy / zvýraznění */
.page-text u,
.page u {
    text-underline-offset: 2px;
}

/* maily a telefonní odkazy */
.page-text a[href^="mailto:"],
.page-text a[href^="tel:"],
.page a[href^="mailto:"],
.page a[href^="tel:"] {
    font-weight: 600;
    color: var(--navy);
    word-break: break-word;
}

/* obrázek vložený samostatně v odstavci */
.page-text p > img:only-child,
.page p > img:only-child,
.page-text p > a:only-child > img:only-child,
.page p > a:only-child > img:only-child {
    display: block;
    margin: 0;
}

/* odstavec, který obsahuje jen obrázek */
.page-text p:has(> img:only-child),
.page-text p:has(> a:only-child > img:only-child),
.page p:has(> img:only-child),
.page p:has(> a:only-child > img:only-child) {
    margin-top: 0;
    margin-bottom: 0;
}

.gallery-page-intro {
    margin-bottom: 28px;
}

.gallery-filter {
    margin: 0 0 30px;
}

.gallery-filter__text {
    margin: 0 0 14px;
    color: var(--text);
}

.gallery-filter__list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.gallery-filter__list > * {
    margin-top: 0 !important;
}

.gallery-filter__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 18px;
    font-weight: 700;
    color: #17263f;
    text-decoration: none;
    background: var(--primary);
    border: 1px solid transparent;
    border-radius: 999px;
    box-shadow: 0 8px 22px rgba(242, 182, 0, 0.18);
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.gallery-filter__item:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.gallery-filter__item.is-active {
    color: #fff;
    background: var(--navy);
    box-shadow: 0 8px 20px rgba(32, 56, 100, 0.18);
}

.gallery-list__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.gallery-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.gallery-card:hover {
    transform: translateY(-4px);
    border-color: #c8d5e8;
    box-shadow: 0 18px 38px rgba(18, 35, 63, 0.12);
}

.gallery-card__image {
    overflow: hidden;
}

.gallery-card__image img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform .3s ease, filter .3s ease;
}

.gallery-card:hover .gallery-card__image img {
    transform: scale(1.04);
    filter: brightness(.97);
}

.gallery-card__content {
    display: grid;
    gap: 12px;
    padding: 18px 20px 20px;
}

.gallery-card__content h2 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--navy);
}

.gallery-card__perex {
    color: var(--muted);
    line-height: 1.65;
}

.gallery-card__more {
    font-weight: 700;
    color: var(--navy);
}

.gallery-card__more::after {
    content: " →";
}

@media (max-width: 980px) {
    .gallery-list__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .gallery-list__grid {
        grid-template-columns: 1fr;
    }
}

.gallery-detail__hero {
    margin: 0 0 28px;
}

.gallery-detail__hero-link {
    display: block;
    overflow: hidden;
    border-radius: 14px;
    box-shadow: var(--shadow);
}

.gallery-detail__hero-image {
    display: block;
    width: 100%;
    height: auto;
}

.gallery-detail__text {
    margin-bottom: 34px;
}

.gallery-detail__gallery {
    margin-top: 10px;
}

.gallery-detail__actions {
    margin-top: 30px;
}

.news-page-intro {
    margin-bottom: 28px;
}

.news-list-page h1 {
    margin: 0 0 24px;
}

.news-list-page__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.news-list-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.news-list-card:hover {
    transform: translateY(-4px);
    border-color: #c8d5e8;
    box-shadow: 0 18px 38px rgba(18, 35, 63, 0.12);
}

.news-list-card__image {
    overflow: hidden;
}

.news-list-card__image img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform .3s ease, filter .3s ease;
}

.news-list-card:hover .news-list-card__image img {
    transform: scale(1.04);
    filter: brightness(.97);
}

.news-list-card__content {
    display: grid;
    gap: 12px;
    padding: 18px 20px 20px;
}

.news-list-card__date {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--muted);
}

.news-list-card__content h2 {
    margin: 0;
    font-size: 1.28rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--navy);
}

.news-list-card__text {
    color: var(--muted);
    line-height: 1.65;
}

.news-list-card__more {
    font-weight: 700;
    color: var(--navy);
}

.news-list-card__more::after {
    content: " →";
}

@media (max-width: 980px) {
    .news-list-page__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .news-list-page__grid {
        grid-template-columns: 1fr;
    }
}

.news-detail__hero {
    margin: 0 0 24px;
}

.news-detail__hero-link {
    display: block;
    overflow: hidden;
    border-radius: 14px;
    box-shadow: var(--shadow);
}

.news-detail__hero-image {
    display: block;
    width: 100%;
    height: auto;
}

.news-detail__meta {
    margin: 0 0 22px;
}

.news-detail__date {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 6px 12px;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--navy);
    background: #eef5ff;
    border: 1px solid var(--line);
    border-radius: 999px;
}

.news-detail__text {
    margin-bottom: 34px;
}

.news-detail__gallery {
    margin-top: 10px;
}

.news-detail__actions {
    margin-top: 30px;
}

/*sitemap*/

.site-map,
.site-map__children {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-map__item {
    margin: 0 0 8px 0;
}

.site-map__children {
    margin-top: 8px;
    margin-left: 20px;
}

.site-map__link {
    text-decoration: none;
}

.site-map__item.is-current > .site-map__link {
    font-weight: 700;
}

.site-map__item.is-hidden-in-nav > .site-map__link {
    opacity: 0.75;
}

.site-map__flag {
    margin-left: 6px;
    font-size: 0.9em;
    opacity: 0.8;
}

/* =========================================================
   HRANATĚJŠÍ VARIANTA DESIGNU
   ========================================================= */

.contact-strip,
.donate-strip,
.service-card,
.news-card,
.footer-card,
.info-card,
.accordion-item,
.detail-item,
.logo-item,
.subpages-nav,
.article-file-card,
.article-gallery__item,
.article-contact-card,
.gallery-card,
.news-list-card,
.sidebar-card,
.page,
.menu__submenu,
.dropdown {
    border-radius: 12px;
}

.hero-copy,
.gallery-detail__hero-link,
.news-detail__hero-link,
.article-hero-media__link,
.gallery-main,
.banner-large,
.banner-stack > div {
    border-radius: 14px;
}

.gallery-item,
.article-contact-card__media img,
.article-gallery__link,
.page-text img,
.page img {
    border-radius: 12px;
}

.top-utility-nav a {
    border-radius: 0 0 8px 8px;
}

.menu__link,
.menu__submenu .menu__link {
    border-radius: 8px;
}

.side-menu__item > a {
    border-radius: 8px;
}

.subpages-nav__item {
    border-radius: 999px;
}

.tag,
.news-detail__date,
.pagination-centered a,
.pagination-centered span,
.pagination-centered .is-current,
.kicker {
    border-radius: 999px;
}

/* tlačítka ponechat kulatá */
.button,
.button1,
.button2 {
    border-radius: 999px;
}

/* ikonky ponechat kulaté */
.service-icon,
.accordion-trigger::after {
    border-radius: 50%;
}

/* =========================================================
   HRANATĚJŠÍ VARIANTA 2
   klientská verze – více do hranata
   ========================================================= */

:root {
    --radius: 6px;
    --radius-sm: 4px;
    --radius-lg: 8px;
}

/* hlavní boxy a karty */
.contact-strip,
.donate-strip,
.service-card,
.news-card,
.footer-card,
.info-card,
.accordion-item,
.subpages-nav,
.article-file-card,
.article-gallery__item,
.article-contact-card,
.gallery-card,
.news-list-card,
.sidebar-card,
.page,
.menu__submenu,
.dropdown,
.np .page,
.tabs-section {
    border-radius: 6px;
}

/* menší panelové prvky */
.detail-item,
.logo-item,
.menu__link,
.menu__submenu .menu__link,
.side-menu__item > a {
    border-radius: 4px;
}

/* větší vizuální bloky */
.hero-copy,
.gallery-detail__hero-link,
.news-detail__hero-link,
.article-hero-media__link,
.banner-large,
.banner-stack > div,
.gallery-main,
.gallery-item,
.article-contact-card__media img,
.page-text img,
.page img,
.article-gallery__link {
    border-radius: 8px;
}

/* horní pomocná navigace */
.top-utility-nav a {
    border-radius: 0 0 4px 4px;
}

/* zachovat kulaté prvky */
.button,
.button1,
.button2,
.subpages-nav__item,
.tag,
.news-detail__date,
.pagination-centered a,
.pagination-centered span,
.pagination-centered .is-current,
.kicker {
    border-radius: 999px;
}

.service-icon,
.accordion-trigger::after {
    border-radius: 50%;
}

/* =========================================================
   BACKGROUND BAND POD NAVIGACÍ – HOMEPAGE
   tmavší varianta s lepším kontrastem
   ========================================================= */

.home-intro-band {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: #f7f9fc;
    padding-bottom: 0;
}

.home-intro-band::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
            linear-gradient(
                    90deg,
                    rgba(18, 35, 63, 0.76) 0%,
                    rgba(24, 46, 82, 0.64) 28%,
                    rgba(24, 46, 82, 0.50) 58%,
                    rgba(24, 46, 82, 0.28) 100%
            ),
            linear-gradient(
                    180deg,
                    rgba(18, 35, 63, 0.20) 0%,
                    rgba(18, 35, 63, 0.12) 38%,
                    rgba(18, 35, 63, 0.06) 100%
            ),
            url('/images/hp/socha-paprsek-2.jpg') center 22% / cover no-repeat;
}

.home-intro-band .site-section {
    position: relative;
    z-index: 1;
}

.home-intro-band #sluzby {
    padding-top: 64px;
    padding-bottom: 34px;
}

.home-intro-band #aktuality {
    padding-top: 28px;
    padding-bottom: 56px;
}

/* text v pásu */
.home-intro-band .section-head > div {
    padding: 10px 14px;
    background: rgba(18, 35, 63, 0.18);
    border-radius: 8px;
}

.home-intro-band .section-head h2 {
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.24);
}

.home-intro-band .section-head p {
    color: rgba(255, 255, 255, 0.92);
    max-width: 60ch;
}

/* karty zůstanou čitelné */
.home-intro-band .service-card,
.home-intro-band .news-card {
    background: rgba(255, 255, 255, 0.93);
    backdrop-filter: blur(1.5px);
    -webkit-backdrop-filter: blur(1.5px);
    box-shadow: 0 12px 28px rgba(12, 24, 45, 0.12);
}

/* tlačítko v hlavičce sekce aktualit */
.home-intro-band .button2 {
    background: rgba(255, 255, 255, 0.96);
    color: var(--navy);
    border: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow: 0 8px 20px rgba(10, 20, 38, 0.16);
}

.home-intro-band .button2:hover {
    background: #ffffff;
}

/* stránkování */
.home-intro-band .pagination-centered a,
.home-intro-band .pagination-centered span,
.home-intro-band .pagination-centered .is-current {
    background: rgba(255, 255, 255, 0.96);
}

/* mobil */
@media (max-width: 860px) {
    .home-intro-band::before {
        background:
                linear-gradient(
                        180deg,
                        rgba(18, 35, 63, 0.76) 0%,
                        rgba(24, 46, 82, 0.56) 36%,
                        rgba(24, 46, 82, 0.34) 100%
                ),
                url('/images/hp/socha-paprsek-2.jpg') center 24% / cover no-repeat;
    }

    .home-intro-band #sluzby {
        padding-top: 42px;
        padding-bottom: 24px;
    }

    .home-intro-band #aktuality {
        padding-top: 20px;
        padding-bottom: 42px;
    }

    .home-intro-band .section-head > div {
        padding: 10px 12px;
    }
}

.service-icon {
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    color: var(--navy);
    background: linear-gradient(180deg, #f7e6a3 0%, #f2d977 100%);
    border: 1px solid #e8c95a;
    border-radius: 50%;
    box-shadow:
            inset 0 1px 0 rgba(255,255,255,0.45),
            0 4px 10px rgba(242, 182, 0, 0.18);
    flex: 0 0 60px;
}

.service-icon svg {
    width: 29px;
    height: 29px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.1;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.article-videos {
    margin-top: 2.5rem;
}

.article-videos h2 {
    margin-bottom: 1.25rem;
}

.article-videos__grid {
    display: grid;
    gap: 1.5rem;
}

.article-video {
    min-width: 0;
}

.article-video__title {
    margin: 0 0 0.75rem;
    font-size: 1.15rem;
}

.article-video__media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 12px;
    background: #f3f3f3;
}

.article-video__media iframe,
.article-video__media video {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

.article-video__media video {
    object-fit: contain;
    background: #000;
}

@media (min-width: 768px) {
    .article-videos__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
.article-video__media {
    aspect-ratio: 16 / 9;
}

.article-video__media video,
.article-video__media iframe {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.page-text .article-videos__grid,
.page-text .article-video,
.page-text .article-video__title,
.page-text .article-video__media,
.page-text .article-video__media video,
.page-text .article-video__media iframe {
    margin-top: 0;
}

.page-text .article-videos {
    margin-top: 2.5rem;
}

.page-text .article-videos h2 {
    margin-top: 0;
    margin-bottom: 1.25rem;
}

.page-text .article-video__title {
    margin-bottom: 0.75rem;
}