:root {
    --ndzh-navy: #073f7f;
    --ndzh-blue: #1682c8;
    --ndzh-blue-dark: #075a9d;
    --ndzh-red: #e51b36;
    --ndzh-text: #24364b;
    --ndzh-muted: #5b6878;
    --ndzh-bg: #ffffff;
    --ndzh-soft: #f4f8fc;
    --ndzh-shadow: 0 8px 22px rgba(20, 46, 74, .12);
}

html { scroll-behavior: smooth; }
body.ndzh-home-template {
    margin: 0;
    background: #fff;
    color: var(--ndzh-text);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}
body.ndzh-home-template * { box-sizing: border-box; }
body.ndzh-home-template a { color: inherit; }
body.ndzh-home-template img { max-width: 100%; height: auto; }
body.ndzh-home-template button,
body.ndzh-home-template input { font: inherit; }

.ndzh-skip-link {
    position: absolute;
    z-index: 10000;
    top: -100px;
    left: 16px;
    padding: 10px 16px;
    color: #fff !important;
    background: var(--ndzh-navy);
    border-radius: 0 0 8px 8px;
}
.ndzh-skip-link:focus { top: 0; }

/* Header */
.ndzh-header {
    position: relative;
    z-index: 50;
    width: 100%;
    background: rgba(255,255,255,.98);
    box-shadow: 0 1px 8px rgba(16, 42, 74, .05);
}
.ndzh-header__inner {
    width: min(1280px, calc(100% - 48px));
    min-height: 76px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
}
.ndzh-brand,
.ndzh-footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
    color: var(--ndzh-navy) !important;
    text-decoration: none !important;
}
.ndzh-brand { min-width: 260px; }
.ndzh-brand__logo {
    display: block;
    width: auto;
    max-width: 285px;
    max-height: 70px;
    object-fit: contain;
}
.ndzh-brand__name,
.ndzh-footer-brand__name {
    color: var(--ndzh-navy);
    font-size: 19px;
    line-height: 1.08;
    font-weight: 600;
}
.ndzh-brand__name strong,
.ndzh-footer-brand__name strong { font-weight: 800; }
.ndzh-brand__seal {
    width: 67px;
    height: 67px;
    border: 2px solid var(--ndzh-red);
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    color: #fff;
    background: radial-gradient(circle at center, #0c69ae 0 46%, #fff 47% 58%, #e51b36 59% 62%, #fff 63%);
    box-shadow: inset 0 0 0 3px #fff;
}
.ndzh-brand__seal span {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    color: #fff;
    font-size: 25px;
    line-height: 1;
    background: var(--ndzh-red);
    border-radius: 50%;
}

.ndzh-nav { margin-left: auto; }
.ndzh-nav__list {
    display: flex;
    align-items: center;
    gap: clamp(16px, 2.2vw, 36px);
    list-style: none;
    padding: 0;
    margin: 0;
}
.ndzh-nav__list > li { position: relative; }
.ndzh-nav__list > li > a,
.ndzh-nav__parent > a,
.ndzh-submenu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 0;
    padding: 10px 0;
    background: transparent;
    color: var(--ndzh-navy) !important;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none !important;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
    transition: color .18s ease;
}
.ndzh-nav__list > li > a:hover,
.ndzh-nav__parent > a:hover,
.ndzh-submenu-toggle:hover { color: var(--ndzh-blue) !important; }
.ndzh-nav__parent { display: flex; align-items: center; gap: 2px; }
.ndzh-nav__parent .ndzh-submenu-toggle { padding: 10px 4px; }
.ndzh-chevron {
    width: 0;
    height: 0;
    margin-top: 3px;
    border-top: 5px solid currentColor;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
}
.ndzh-submenu {
    position: absolute;
    top: calc(100% + 6px);
    left: -16px;
    z-index: 60;
    min-width: 205px;
    padding: 8px;
    margin: 0;
    list-style: none;
    background: #fff;
    border: 1px solid #e8eef5;
    border-radius: 12px;
    box-shadow: var(--ndzh-shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.ndzh-nav__has-submenu:hover .ndzh-submenu,
.ndzh-nav__has-submenu:focus-within .ndzh-submenu,
.ndzh-submenu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.ndzh-submenu a {
    display: block;
    padding: 10px 12px;
    border-radius: 7px;
    color: var(--ndzh-navy) !important;
    text-decoration: none !important;
    font-size: 14px;
}
.ndzh-submenu a:hover { background: var(--ndzh-soft); }

.ndzh-header__tools {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-left: 14px;
}
.ndzh-search-toggle,
.ndzh-instagram {
    display: inline-grid;
    place-items: center;
    width: 27px;
    height: 32px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}
.ndzh-search-toggle svg,
.ndzh-instagram svg {
    display: block;
    width: 25px;
    height: 25px;
    fill: none;
    stroke: var(--ndzh-navy);
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.ndzh-instagram svg { stroke: var(--ndzh-red); stroke-width: 1.8; }
.ndzh-instagram__dot { fill: var(--ndzh-red); stroke: none; }
.ndzh-search-toggle:hover svg { stroke: var(--ndzh-blue); }
.ndzh-instagram:hover svg { opacity: .72; }
.ndzh-menu-toggle { display: none; }

.ndzh-search-panel {
    position: absolute;
    z-index: 70;
    top: 100%;
    right: max(24px, calc((100% - 1280px) / 2));
    width: min(440px, calc(100% - 32px));
    padding: 14px;
    background: #fff;
    border: 1px solid #e5edf6;
    border-radius: 0 0 12px 12px;
    box-shadow: var(--ndzh-shadow);
}
.ndzh-search-panel form { display: flex; gap: 8px; }
.ndzh-search-panel input {
    width: 100%;
    min-width: 0;
    padding: 11px 13px;
    border: 1px solid #d7e2ee;
    border-radius: 8px;
    outline-color: var(--ndzh-blue);
}
.ndzh-search-panel button {
    flex: 0 0 auto;
    padding: 10px 17px;
    border: 0;
    border-radius: 8px;
    color: #fff;
    background: var(--ndzh-blue);
    font-weight: 700;
    cursor: pointer;
}

/* Hero banner */
.ndzh-hero {
    position: relative;
    min-height: 330px;
    overflow: hidden;
    background: #f6eeee;
}
.ndzh-hero::before {
    position: absolute;
    inset: 0;
    content: "";
    background-image:
        linear-gradient(90deg, rgba(249,246,246,.98) 0%, rgba(249,246,246,.86) 27%, rgba(249,246,246,.15) 58%, rgba(249,246,246,0) 100%),
        var(--ndzh-hero-image);
    background-repeat: no-repeat, no-repeat;
    background-position: center, right center;
    background-size: 100% 100%, auto 138%;
}
.ndzh-hero__inner {
    position: relative;
    z-index: 2;
    width: min(1256px, calc(100% - 48px));
    min-height: 330px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 12px 0 42px;
}
.ndzh-hero__copy { max-width: 540px; padding-bottom: 4px; }
.ndzh-hero h1 {
    margin: 0 0 6px;
    color: var(--ndzh-navy);
    font-size: clamp(42px, 4vw, 58px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -.8px;
}
.ndzh-red-line {
    display: block;
    width: 84px;
    height: 6px;
    margin: 0 0 10px;
    background: var(--ndzh-red);
}
.ndzh-hero p {
    margin: 0 0 21px;
    color: var(--ndzh-navy);
    font-size: clamp(18px, 1.5vw, 22px);
    line-height: 1.4;
}
.ndzh-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    min-height: 40px;
    padding: 9px 18px;
    color: #fff !important;
    background: linear-gradient(110deg, #278bc9, #0864ae);
    border-radius: 13px;
    box-shadow: 0 3px 8px rgba(0, 81, 147, .13);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none !important;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.ndzh-button:hover {
    color: #fff !important;
    background: linear-gradient(110deg, #1479ba, #064b8a);
    box-shadow: 0 7px 15px rgba(0, 81, 147, .22);
    transform: translateY(-1px);
}
.ndzh-button span { font-size: 21px; line-height: .7; }
.ndzh-button--hero { min-width: 188px; min-height: 39px; }
.ndzh-hero-wave {
    position: absolute;
    z-index: 3;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 88px;
    pointer-events: none;
}
.ndzh-hero-wave svg { display: block; width: 100%; height: 100%; }
.ndzh-wave-blue { fill: #b9dcf9; }
.ndzh-wave-red { fill: #e6002e; }
.ndzh-wave-navy { fill: #064681; }

/* Three feature cards */
.ndzh-content-shell {
    width: min(1380px, calc(100% - 56px));
    margin-right: auto;
    margin-left: auto;
}
.ndzh-feature-section { padding-top: 20px; }
.ndzh-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}
.ndzh-feature-card {
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--ndzh-shadow);
    transition: transform .2s ease, box-shadow .2s ease;
}
.ndzh-feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 26px rgba(20, 46, 74, .15);
}
.ndzh-feature-card__image {
    display: block;
    height: 112px;
    overflow: hidden;
    background: #e9f2f9;
}
.ndzh-feature-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .35s ease;
}
.ndzh-feature-card:hover .ndzh-feature-card__image img { transform: scale(1.035); }
.ndzh-feature-card__body { padding: 12px 20px 14px; }
.ndzh-feature-card h2 {
    margin: 0 0 7px;
    color: var(--ndzh-navy);
    font-size: 21px;
    font-weight: 800;
    line-height: 1.2;
}
.ndzh-feature-card h2 a { color: inherit !important; text-decoration: none !important; }
.ndzh-feature-card p {
    min-height: 43px;
    margin: 0 0 8px;
    color: #435065;
    font-size: 14px;
    line-height: 1.45;
}
.ndzh-text-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #0066bb !important;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none !important;
}
.ndzh-text-link span { font-size: 20px; line-height: .8; transition: transform .18s ease; }
.ndzh-text-link:hover span { transform: translateX(4px); }

/* News */
.ndzh-news-section { padding-top: 39px; padding-bottom: 62px; }
.ndzh-section-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 14px;
}
.ndzh-section-heading h2 {
    margin: 0 0 7px;
    color: var(--ndzh-navy);
    font-size: 29px;
    font-weight: 800;
    line-height: 1.2;
}
.ndzh-section-heading .ndzh-red-line { width: 70px; height: 5px; margin-bottom: 0; }
.ndzh-all-news {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
    color: #005fb4 !important;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none !important;
    white-space: nowrap;
}
.ndzh-all-news span { font-size: 21px; transition: transform .18s ease; }
.ndzh-all-news:hover span { transform: translateX(4px); }
.ndzh-news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.ndzh-news-card {
    min-width: 0;
    display: flex;
    gap: 16px;
    padding: 0 20px;
    border-right: 1px solid #d5dce5;
}
.ndzh-news-card:first-child { padding-left: 0; }
.ndzh-news-card:last-child { padding-right: 0; border-right: 0; }
.ndzh-news-card__image {
    display: block;
    flex: 0 0 122px;
    width: 122px;
    height: 98px;
    overflow: hidden;
    border-radius: 8px;
    background: #e9f2f9;
}
.ndzh-news-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ndzh-news-placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, #b7dcf5, #0b6eaf);
}
.ndzh-news-placeholder span { font-size: 58px; font-weight: 300; line-height: 1; }
.ndzh-news-card__content { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.ndzh-news-card time {
    display: block;
    margin: -2px 0 3px;
    color: #667386;
    font-size: 11px;
    line-height: 1.4;
}
.ndzh-news-card h3 {
    margin: 0 0 10px;
    color: var(--ndzh-navy);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.4;
}
.ndzh-news-card h3 a { color: inherit !important; text-decoration: none !important; }
.ndzh-news-card h3 a:hover { color: #0879c5 !important; }
.ndzh-button--small {
    min-height: 31px;
    margin-top: auto;
    padding: 7px 13px;
    border-radius: 18px;
    font-size: 12px;
    font-weight: 600;
}
.ndzh-button--small span { font-size: 17px; }
.ndzh-no-news { padding: 18px; color: var(--ndzh-muted); background: var(--ndzh-soft); border-radius: 10px; }

/* Footer */
.ndzh-footer {
    position: relative;
    min-height: 104px;
    color: #fff;
    background: #064681;
}
.ndzh-footer-wave {
    position: absolute;
    right: 0;
    bottom: calc(100% - 1px);
    left: 0;
    height: 48px;
    pointer-events: none;
}
.ndzh-footer-wave svg { display: block; width: 100%; height: 100%; }
.ndzh-footer-wave__light { fill: #d9ecfc; }
.ndzh-footer-wave__blue { fill: #b8dcf8; }
.ndzh-footer__inner {
    width: min(1380px, calc(100% - 56px));
    min-height: 104px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 13px 0 10px;
}
.ndzh-footer-brand { color: #fff !important; }
.ndzh-footer-brand__logo {
    display: block;
    width: auto;
    max-width: 250px;
    max-height: 66px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}
.ndzh-footer-brand__name { color: #fff; font-size: 17px; }
.ndzh-brand__seal--footer { width: 58px; height: 58px; }
.ndzh-footer-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: clamp(14px, 2.1vw, 32px);
}
.ndzh-footer-nav a {
    color: #fff !important;
    font-size: 13px;
    text-decoration: none !important;
    text-transform: uppercase;
    white-space: nowrap;
    transition: opacity .18s ease;
}
.ndzh-footer-nav a:hover { opacity: .72; }
.ndzh-footer-social { display: flex; align-items: center; gap: 18px; }
.ndzh-footer-social a { display: inline-grid; place-items: center; width: 31px; height: 31px; }
.ndzh-footer-social svg {
    display: block;
    width: 30px;
    height: 30px;
    fill: none;
    stroke: #fff;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.ndzh-footer-social svg circle:first-child { fill: none; }
.ndzh-footer-social .ndzh-social-dot { fill: #fff; stroke: none; }
.ndzh-footer-social a:hover { opacity: .72; }

/* Tablet */
@media (max-width: 1100px) {
    .ndzh-header__inner { gap: 16px; }
    .ndzh-brand { min-width: 210px; }
    .ndzh-brand__logo { max-width: 225px; }
    .ndzh-nav__list { gap: 14px; }
    .ndzh-nav__list > li > a,
    .ndzh-submenu-toggle { font-size: 12px; }
    .ndzh-header__tools { gap: 15px; margin-left: 4px; }
    .ndzh-feature-grid { gap: 20px; }
    .ndzh-news-card { gap: 12px; padding: 0 14px; }
    .ndzh-news-card__image { flex-basis: 100px; width: 100px; height: 88px; }
    .ndzh-footer__inner { gap: 18px; }
    .ndzh-footer-brand__logo { max-width: 190px; }
    .ndzh-footer-nav { gap: 13px; }
    .ndzh-footer-nav a { font-size: 11px; }
}

@media (max-width: 820px) {
    .ndzh-header__inner { width: calc(100% - 32px); min-height: 72px; }
    .ndzh-brand { min-width: 0; }
    .ndzh-brand__logo { max-width: 215px; max-height: 60px; }
    .ndzh-brand__name { font-size: 16px; }
    .ndzh-header__tools { margin-left: auto; gap: 14px; }
    .ndzh-menu-toggle {
        display: flex;
        width: 37px;
        height: 36px;
        padding: 7px 5px;
        flex-direction: column;
        justify-content: space-around;
        border: 0;
        background: transparent;
        cursor: pointer;
    }
    .ndzh-menu-toggle span { display: block; height: 2px; width: 27px; border-radius: 2px; background: var(--ndzh-navy); }
    .ndzh-nav {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        display: none;
        padding: 8px 22px 18px;
        background: #fff;
        border-top: 1px solid #edf1f5;
        box-shadow: 0 12px 16px rgba(16,42,74,.09);
    }
    .ndzh-nav.is-open { display: block; }
    .ndzh-nav__list { align-items: stretch; flex-direction: column; gap: 0; }
    .ndzh-nav__list > li > a,
    .ndzh-nav__parent > a,
    .ndzh-submenu-toggle { display: flex; width: 100%; justify-content: space-between; padding: 12px 2px; font-size: 14px; border-bottom: 1px solid #eff3f7; }
    .ndzh-nav__parent { justify-content: space-between; gap: 8px; }
    .ndzh-nav__parent > a { flex: 1; }
    .ndzh-nav__parent .ndzh-submenu-toggle { width: auto; flex: 0 0 auto; padding: 12px 8px; }
    .ndzh-submenu { position: static; display: none; min-width: 0; padding: 0 0 8px 10px; border: 0; border-radius: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
    .ndzh-submenu.is-open { display: block; }
    .ndzh-hero { min-height: 315px; }
    .ndzh-hero__inner { min-height: 315px; width: calc(100% - 42px); }
    .ndzh-hero::before { background-size: 100% 100%, auto 118%; background-position: center, right center; }
    .ndzh-hero__copy { max-width: 440px; }
    .ndzh-hero h1 { font-size: clamp(36px, 6vw, 48px); }
    .ndzh-hero p { max-width: 330px; font-size: 18px; }
    .ndzh-content-shell { width: calc(100% - 36px); }
    .ndzh-feature-grid { gap: 16px; }
    .ndzh-feature-card__body { padding: 12px 14px 14px; }
    .ndzh-feature-card h2 { font-size: 18px; }
    .ndzh-feature-card p { font-size: 13px; }
    .ndzh-news-section { padding-top: 32px; }
    .ndzh-news-grid { grid-template-columns: 1fr; gap: 14px; }
    .ndzh-news-card,
    .ndzh-news-card:first-child,
    .ndzh-news-card:last-child { padding: 0 0 14px; border-right: 0; border-bottom: 1px solid #e0e6ed; }
    .ndzh-news-card:last-child { border-bottom: 0; padding-bottom: 0; }
    .ndzh-news-card__image { flex-basis: 116px; width: 116px; height: 90px; }
    .ndzh-news-card h3 { font-size: 14px; }
    .ndzh-footer__inner { flex-wrap: wrap; justify-content: center; padding: 22px 0 16px; }
    .ndzh-footer-brand { margin-right: auto; }
    .ndzh-footer-social { margin-left: auto; }
    .ndzh-footer-nav { width: 100%; order: 3; padding-top: 8px; }
}

@media (max-width: 560px) {
    .ndzh-header__inner { gap: 8px; }
    .ndzh-brand__logo { max-width: 175px; max-height: 54px; }
    .ndzh-brand__seal { width: 49px; height: 49px; }
    .ndzh-brand__seal span { width: 26px; height: 26px; font-size: 19px; }
    .ndzh-brand__name { font-size: 13px; }
    .ndzh-header__tools { gap: 10px; }
    .ndzh-search-toggle, .ndzh-instagram { width: 22px; }
    .ndzh-search-toggle svg, .ndzh-instagram svg { width: 22px; height: 22px; }
    .ndzh-hero { min-height: 330px; }
    .ndzh-hero::before {
        background-image:
            linear-gradient(90deg, rgba(249,246,246,.97) 0%, rgba(249,246,246,.88) 45%, rgba(249,246,246,.25) 100%),
            var(--ndzh-hero-image);
        background-size: 100% 100%, auto 92%;
        background-position: center, right bottom;
    }
    .ndzh-hero__inner { min-height: 330px; width: calc(100% - 36px); padding-bottom: 54px; align-items: flex-start; }
    .ndzh-hero__copy { padding-top: 54px; }
    .ndzh-hero h1 { font-size: 38px; letter-spacing: -.5px; }
    .ndzh-hero p { max-width: 260px; margin-bottom: 17px; font-size: 17px; }
    .ndzh-hero-wave { height: 64px; }
    .ndzh-button--hero { min-height: 38px; }
    .ndzh-feature-section { padding-top: 16px; }
    .ndzh-feature-grid { grid-template-columns: 1fr; gap: 16px; }
    .ndzh-feature-card__image { height: 135px; }
    .ndzh-feature-card__body { padding: 13px 17px 15px; }
    .ndzh-feature-card h2 { font-size: 20px; }
    .ndzh-feature-card p { min-height: 0; font-size: 14px; }
    .ndzh-news-section { padding-top: 34px; padding-bottom: 46px; }
    .ndzh-section-heading { align-items: flex-start; flex-direction: column; gap: 7px; margin-bottom: 17px; }
    .ndzh-section-heading h2 { font-size: 27px; }
    .ndzh-all-news { margin-top: 0; }
    .ndzh-news-card__image { flex-basis: 104px; width: 104px; height: 86px; }
    .ndzh-news-card h3 { font-size: 13px; }
    .ndzh-footer-wave { height: 35px; }
    .ndzh-footer__inner { width: calc(100% - 36px); gap: 16px; }
    .ndzh-footer-brand__logo { max-width: 165px; max-height: 55px; }
    .ndzh-footer-brand__name { font-size: 14px; }
    .ndzh-brand__seal--footer { width: 48px; height: 48px; }
    .ndzh-footer-nav { justify-content: center; gap: 9px 16px; }
    .ndzh-footer-nav a { font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Logo Fundacji: osobny emblemat i typograficzny logotyp. */
body.ndzh-home-template .ndzh-brand__seal-img,
body.ndzh-home-template .ndzh-footer-brand__seal-img {
    display: block;
    flex: 0 0 auto;
    width: 76px;
    height: 76px;
    object-fit: contain;
}
body.ndzh-home-template .ndzh-brand__name {
    color: var(--ndzh-navy);
    font-size: 18px;
    line-height: 1.08;
    font-weight: 600;
}
body.ndzh-home-template .ndzh-brand__name strong { font-weight: 800; }
body.ndzh-home-template .ndzh-footer-brand__seal-img {
    width: 62px;
    height: 62px;
}
body.ndzh-home-template .ndzh-footer-brand__name {
    color: #fff;
    font-size: 16px;
    line-height: 1.08;
}
body.ndzh-home-template .ndzh-hero::before {
    background-size: 100% 100%, cover;
    background-position: center, center 48%;
}
@media (max-width: 820px) {
    body.ndzh-home-template .ndzh-brand__seal-img { width: 62px; height: 62px; }
}
@media (max-width: 560px) {
    body.ndzh-home-template .ndzh-brand__seal-img { width: 49px; height: 49px; }
    body.ndzh-home-template .ndzh-brand__name { font-size: 13px; }
    body.ndzh-home-template .ndzh-footer-brand__seal-img { width: 48px; height: 48px; }
}

/* WordPress native menu compatibility */
.ndzh-nav .ndzh-nav__list { list-style: none; padding: 0; margin: 0; }
.ndzh-nav .ndzh-nav__list > li { position: relative; }
.ndzh-nav .ndzh-nav__list .sub-menu { list-style: none; padding: 8px; margin: 0; }
.ndzh-nav .ndzh-nav__list .menu-item-has-children > a { padding-right: 7px; }
.ndzh-nav .ndzh-nav__list .menu-item-has-children > a::after { content: ""; display: inline-block; margin: 0 0 2px 7px; border-top: 5px solid currentColor; border-left: 4px solid transparent; border-right: 4px solid transparent; }
.ndzh-nav .ndzh-nav__list .sub-menu a { display: block; padding: 10px 12px; border-radius: 7px; color: var(--ndzh-navy); text-decoration: none; font-size: 14px; font-weight: 600; }
.ndzh-nav .ndzh-nav__list .sub-menu a:hover { background: var(--ndzh-soft); }
.ndzh-nav .ndzh-nav__list .menu-item-has-children:hover > .sub-menu,
.ndzh-nav .ndzh-nav__list .menu-item-has-children:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.ndzh-nav .ndzh-nav__list .ndzh-submenu-toggle { display: none; }
.ndzh-brand__logo { display: block; width: auto; max-width: 290px; max-height: 72px; object-fit: contain; }
@media (min-width: 821px) {
  .ndzh-nav .ndzh-nav__list .sub-menu { position: absolute; top: calc(100% + 6px); left: -14px; z-index: 60; min-width: 215px; background: #fff; border: 1px solid #e8eef5; border-radius: 12px; box-shadow: var(--ndzh-shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s ease, transform .18s ease, visibility .18s ease; }
}
@media (max-width: 820px) {
  .ndzh-nav .ndzh-nav__list .sub-menu { position: static; display: none; min-width: 0; padding: 0 0 8px 12px; border: 0; border-radius: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .ndzh-nav .ndzh-nav__list .sub-menu.is-open { display: block; }
  .ndzh-nav .ndzh-nav__list .menu-item-has-children > a::after { display: none; }
  .ndzh-nav .ndzh-nav__list .ndzh-submenu-toggle { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 42px; width: 42px; border: 0; background: transparent; color: var(--ndzh-navy); cursor: pointer; }
  .ndzh-nav .ndzh-nav__list .menu-item-has-children { display: flex; flex-wrap: wrap; align-items: center; }
  .ndzh-nav .ndzh-nav__list .menu-item-has-children > a { flex: 1 1 auto; width: calc(100% - 46px); }
  .ndzh-nav .ndzh-nav__list .menu-item-has-children > .sub-menu { flex: 0 0 100%; }
  .ndzh-brand__logo { max-width: 220px; max-height: 60px; }
}

/* Prawidłowy układ listy linków w stopce WordPressa. */
.ndzh-footer-nav__list { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:clamp(14px,2.1vw,32px); list-style:none; margin:0; padding:0; }
.ndzh-footer-nav__list li { margin:0; padding:0; list-style:none; }
@media (max-width:1100px) { .ndzh-footer-nav__list { gap:13px; } }
@media (max-width:560px) { .ndzh-footer-nav__list { justify-content:center; gap:9px 16px; } }
