:root {
    --nno-bg: #ffffff;
    --nno-bg-soft: #f6f9ff;
    --nno-surface: #ffffff;
    --nno-surface-alt: #f9fbff;
    --nno-text: #0a1f3a;
    --nno-muted: #62738b;
    --nno-line: #dce5f2;
    --nno-blue: #155ee8;
    --nno-blue-dark: #0a3f9b;
    --nno-cyan: #11bddd;
    --nno-green: #20bf8f;
    --nno-shadow: 0 16px 40px rgba(28, 61, 111, 0.08);
    --nno-radius: 16px;
    --nno-container: 1180px;
}

html[data-theme="dark"] {
    --nno-bg: #07111f;
    --nno-bg-soft: #0b1727;
    --nno-surface: #0d1c2f;
    --nno-surface-alt: #11243a;
    --nno-text: #f2f7ff;
    --nno-muted: #9db0c9;
    --nno-line: #223852;
    --nno-blue: #63a5ff;
    --nno-blue-dark: #9bc5ff;
    --nno-cyan: #49d5f0;
    --nno-green: #58d6ad;
    --nno-shadow: 0 16px 42px rgba(0, 0, 0, 0.28);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.nno-body {
    margin: 0;
    background: var(--nno-bg);
    color: var(--nno-text);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    line-height: 1.55;
    transition: background-color .22s ease, color .22s ease;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: var(--nno-blue);
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

.nno-container {
    width: min(var(--nno-container), calc(100% - 34px));
    margin-inline: auto;
}

.nno-topbar {
    background: linear-gradient(90deg, rgba(21, 94, 232, 0.07), rgba(17, 189, 221, 0.035));
    border-bottom: 1px solid var(--nno-line);
}

.nno-topbar-inner {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: var(--nno-muted);
    font-size: 14px;
}

.nno-tagline::before {
    content: "✦";
    color: var(--nno-blue);
    margin-right: 9px;
}

.nno-topbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nno-topbar-right time {
    padding-right: 16px;
    border-right: 1px solid var(--nno-line);
}

.nno-theme-toggle,
.nno-menu-toggle {
    border: 1px solid var(--nno-line);
    background: var(--nno-surface);
    color: var(--nno-text);
    border-radius: 999px;
    padding: 8px 13px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.nno-theme-toggle {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.nno-theme-toggle:hover,
.nno-menu-toggle:hover {
    color: var(--nno-blue);
    border-color: var(--nno-blue);
}

.nno-brand-row {
    min-height: 108px;
    display: grid;
    grid-template-columns: minmax(280px, 0.86fr) minmax(650px, 1.7fr);
    align-items: center;
    gap: 38px;
    padding-block: 18px;
}

.nno-brand {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    width: max-content;
    color: var(--nno-text);
    font-size: clamp(27px, 2.3vw, 39px);
    font-weight: 900;
    letter-spacing: -0.045em;
}

.nno-brand:hover {
    color: var(--nno-text);
}

.nno-logo,
.nno-custom-logo,
.nno-custom-logo img {
    width: 74px;
    height: 74px;
    flex: 0 0 74px;
}

.nno-custom-logo img {
    object-fit: contain;
}

.nno-menu-toggle {
    display: none;
}

.nno-nav-list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nno-nav-list-custom {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nno-nav-list-custom > li {
    flex: 0 0 calc(20% - 18px);
}

.nno-nav-item {
    min-width: 0;
}

.nno-nav-item a,
.nno-nav-list-custom a {
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border-bottom: 2px solid transparent;
    color: var(--nno-text);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.17;
    text-align: center;
    transition: .18s ease;
}

.nno-nav-item a:hover,
.nno-nav-list-custom a:hover,
.nno-nav-list-custom .current-menu-item > a {
    color: var(--nno-blue);
    border-bottom-color: var(--nno-blue);
}

.nno-nav-item.is-disabled {
    opacity: .5;
}

.nno-nav-icon {
    display: inline-grid;
    place-items: center;
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
    color: var(--nno-blue-dark);
}

.nno-nav-icon svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.nno-main {
    padding-bottom: 0;
}

.nno-hero {
    min-height: 440px;
    position: relative;
    overflow: hidden;
    border-radius: 17px;
    background-image: var(--nno-hero-image);
    background-size: cover;
    background-position: center;
    box-shadow: var(--nno-shadow);
}

.nno-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(3, 18, 43, .96) 0%, rgba(4, 25, 56, .82) 34%, rgba(4, 25, 56, .25) 65%, rgba(4, 25, 56, .08) 100%),
        linear-gradient(0deg, rgba(0, 0, 0, .2), rgba(0, 0, 0, .02));
}

.nno-hero-content {
    position: relative;
    z-index: 2;
    width: min(520px, 58%);
    padding: 68px 34px 62px;
    color: #fff;
}

.nno-hero-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    font-size: 13px;
}

.nno-hero-meta span {
    display: inline-flex;
    padding: 7px 12px;
    border-radius: 7px;
    background: var(--nno-blue);
    font-weight: 800;
    text-transform: uppercase;
}

.nno-hero h1 {
    max-width: 510px;
    margin: 0 0 16px;
    font-size: clamp(34px, 4.25vw, 62px);
    line-height: 1.02;
    letter-spacing: -0.045em;
}

.nno-hero h1 a,
.nno-hero h1 a:hover {
    color: #fff;
}

.nno-hero p {
    max-width: 500px;
    margin: 0 0 24px;
    color: rgba(255, 255, 255, .82);
    font-size: 17px;
}

.nno-primary-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 13px 18px;
    border-radius: 8px;
    background: var(--nno-blue);
    color: #fff;
    font-weight: 800;
}

.nno-primary-button:hover {
    background: #0d4fc9;
    color: #fff;
}

.nno-hero-arrow {
    position: absolute;
    z-index: 2;
    top: 50%;
    right: 17px;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 50%;
    color: #fff;
    font-size: 22px;
    transform: translateY(-50%);
}

.nno-hero-dots {
    position: absolute;
    z-index: 2;
    left: 50%;
    bottom: 18px;
    display: flex;
    gap: 7px;
}

.nno-hero-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .55);
}

.nno-hero-dots .is-active {
    background: var(--nno-blue);
}

.nno-home-cards {
    padding-top: 16px;
    padding-bottom: 18px;
}

.nno-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.nno-card {
    overflow: hidden;
    border: 1px solid var(--nno-line);
    border-radius: 13px;
    background: var(--nno-surface);
    box-shadow: 0 7px 20px rgba(28, 61, 111, .045);
    transition: transform .18s ease, box-shadow .18s ease;
}

.nno-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--nno-shadow);
}

.nno-card-image {
    position: relative;
    display: block;
}

.nno-card-image img {
    width: 100%;
    aspect-ratio: 1.67 / 1;
    object-fit: cover;
}

.nno-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    max-width: calc(100% - 24px);
    padding: 6px 9px;
    border-radius: 7px;
    background: var(--nno-blue);
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    line-height: 1.1;
    text-transform: uppercase;
}

.nno-card:nth-child(2) .nno-card-badge {
    background: #7a42e8;
}

.nno-card:nth-child(3) .nno-card-badge {
    background: var(--nno-green);
}

.nno-card:nth-child(4) .nno-card-badge {
    background: #1687d5;
}

.nno-card-body {
    padding: 14px 14px 12px;
}

.nno-card h3 {
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.nno-card p {
    margin: 0 0 13px;
    color: var(--nno-muted);
    font-size: 13px;
}

.nno-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: var(--nno-muted);
    font-size: 11px;
}

.nno-more-wrap {
    display: flex;
    justify-content: center;
    padding-top: 13px;
}

.nno-more-button {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    padding: 9px 18px;
    border: 1px solid var(--nno-line);
    border-radius: 999px;
    background: var(--nno-surface);
    color: var(--nno-text);
    font-size: 13px;
    font-weight: 800;
}

.nno-more-button:hover {
    color: var(--nno-blue);
    border-color: var(--nno-blue);
}

.nno-footer {
    margin-top: 12px;
    padding-top: 24px;
    background: linear-gradient(180deg, rgba(21, 94, 232, .055), rgba(21, 94, 232, .09));
    border-top: 1px solid var(--nno-line);
}

.nno-footer-grid {
    display: grid;
    grid-template-columns: .95fr 1.45fr .75fr;
    gap: 34px;
}

.nno-footer h2 {
    margin: 0 0 13px;
    font-size: 16px;
}

.nno-footer p {
    margin: 0 0 13px;
    color: var(--nno-muted);
    font-size: 13px;
}

.nno-footer-search {
    display: flex;
    gap: 8px;
    margin-top: 14px;
}

.nno-footer-search input {
    min-width: 0;
    flex: 1;
    border: 1px solid var(--nno-line);
    border-radius: 9px;
    background: var(--nno-surface);
    color: var(--nno-text);
    padding: 10px 12px;
}

.nno-footer-search button {
    border: 0;
    border-radius: 9px;
    background: var(--nno-blue);
    color: #fff;
    padding: 10px 14px;
    font-weight: 800;
    cursor: pointer;
}

.nno-footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.nno-footer-categories {
    columns: 2;
    column-gap: 24px;
}

.nno-footer-links li {
    margin-bottom: 9px;
    break-inside: avoid;
}

.nno-footer-links a {
    color: var(--nno-text);
    font-size: 13px;
}

.nno-footer-links a::before {
    content: "›";
    color: var(--nno-blue);
    margin-right: 8px;
}

.nno-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 22px;
    padding: 15px 0 21px;
    border-top: 1px solid var(--nno-line);
    color: var(--nno-muted);
    font-size: 12px;
}

.nno-listing,
.nno-related {
    padding-top: 28px;
    padding-bottom: 28px;
}

.nno-section-header {
    margin-bottom: 18px;
}

.nno-section-header h1,
.nno-section-header h2,
.nno-page h1 {
    margin: 0;
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.nno-card-grid-listing {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nno-card-grid-related {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nno-pagination {
    padding-top: 24px;
}

.nno-pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.nno-pagination .page-numbers {
    min-width: 38px;
    padding: 8px 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--nno-line);
    border-radius: 8px;
    background: var(--nno-surface);
}

.nno-pagination .current {
    background: var(--nno-blue);
    color: #fff;
}

.nno-article,
.nno-page {
    max-width: 940px;
    margin-top: 28px;
    margin-bottom: 30px;
    padding: 34px;
    border: 1px solid var(--nno-line);
    border-radius: 18px;
    background: var(--nno-surface);
    box-shadow: var(--nno-shadow);
}

.nno-article-badge {
    display: inline-flex;
    padding: 7px 11px;
    border-radius: 8px;
    background: rgba(21, 94, 232, .1);
    color: var(--nno-blue);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.nno-article h1 {
    margin: 14px 0 9px;
    font-size: clamp(38px, 5.3vw, 72px);
    line-height: .98;
    letter-spacing: -0.052em;
}

.nno-article-meta {
    display: flex;
    gap: 14px;
    color: var(--nno-muted);
    font-size: 13px;
}

.nno-article-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    margin-top: 21px;
    border-radius: 14px;
}

.nno-content {
    max-width: 760px;
    margin: 26px auto 0;
    font-size: 17px;
    line-height: 1.75;
}

.nno-content p {
    margin: 0 0 18px;
}

.nno-content img {
    margin: 22px auto;
    border-radius: 12px;
}

.nno-content a {
    color: var(--nno-blue);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.nno-post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.nno-post-navigation > div:last-child {
    text-align: right;
}

.nno-post-navigation a {
    display: block;
    padding: 14px 16px;
    border: 1px solid var(--nno-line);
    border-radius: 10px;
    background: var(--nno-surface);
    font-weight: 700;
}

.nno-404 {
    text-align: center;
}

.nno-404 h1 {
    font-size: 94px;
}

@media (max-width: 1020px) {
    .nno-brand-row {
        grid-template-columns: 1fr;
        gap: 17px;
    }

    .nno-brand {
        margin-inline: auto;
    }

    .nno-card-grid,
    .nno-card-grid-listing,
    .nno-card-grid-related {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .nno-footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .nno-footer-grid > section:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 760px) {
    .nno-topbar-inner,
    .nno-topbar-right {
        flex-wrap: wrap;
    }

    .nno-topbar-right time {
        border-right: 0;
        padding-right: 0;
    }

    .nno-brand-row {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .nno-brand {
        margin: 0;
    }

    .nno-menu-toggle {
        display: inline-flex;
    }

    .nno-nav {
        display: none;
        width: 100%;
    }

    .nno-nav.is-open {
        display: block;
    }

    .nno-nav-list,
    .nno-nav-list-custom {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .nno-nav-list-custom > li {
        flex: 0 0 calc(50% - 8px);
    }

    .nno-hero {
        min-height: 500px;
    }

    .nno-hero-overlay {
        background: linear-gradient(0deg, rgba(3, 18, 43, .96), rgba(3, 18, 43, .55));
    }

    .nno-hero-content {
        width: 100%;
        padding: 160px 24px 62px;
    }

    .nno-hero-arrow {
        top: 24px;
        right: 18px;
        transform: none;
    }

    .nno-card-grid,
    .nno-card-grid-listing,
    .nno-card-grid-related,
    .nno-footer-grid,
    .nno-post-navigation {
        grid-template-columns: 1fr;
    }

    .nno-footer-grid > section:last-child {
        grid-column: auto;
    }

    .nno-post-navigation > div:last-child {
        text-align: left;
    }
}

@media (max-width: 520px) {
    .nno-container {
        width: min(100% - 20px, var(--nno-container));
    }

    .nno-topbar-inner {
        align-items: flex-start;
        padding-block: 9px;
    }

    .nno-topbar-right {
        width: 100%;
        justify-content: space-between;
    }

    .nno-logo,
    .nno-custom-logo,
    .nno-custom-logo img {
        width: 58px;
        height: 58px;
        flex-basis: 58px;
    }

    .nno-brand {
        gap: 11px;
        font-size: 27px;
    }

    .nno-nav-list {
        grid-template-columns: 1fr;
    }

    .nno-hero h1 {
        font-size: 38px;
    }

    .nno-footer-categories {
        columns: 1;
    }

    .nno-footer-search {
        flex-direction: column;
    }

    .nno-footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .nno-article,
    .nno-page {
        padding: 22px;
    }
}

/* ===== Novyny Nauky Orbit 2.1.0 ===== */
.nno-hero-stage {
    position: relative;
    overflow: hidden;
    padding: 52px 0 28px;
    background: #06162c;
    isolation: isolate;
}

.nno-space-backdrop {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(180deg, rgba(2, 9, 21, .04), rgba(2, 9, 21, .38)),
        url('../img/earth-space.svg');
    background-size: cover;
    background-position: center bottom;
}

.nno-hero-frame {
    max-width: 1080px;
}

.nno-hero-stage .nno-hero {
    min-height: 360px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 22px;
    box-shadow: 0 26px 70px rgba(0, 0, 0, .3);
}

.nno-hero-stage .nno-hero-content {
    width: min(500px, 58%);
    padding: 48px 36px 48px;
}

.nno-hero-stage .nno-hero h1 {
    font-size: clamp(34px, 4vw, 54px);
}

.nno-home-cards {
    padding-top: 22px;
    padding-bottom: 34px;
}

.nno-explore {
    margin-top: 18px;
    margin-bottom: 50px;
    padding: 34px;
    border: 1px solid var(--nno-line);
    border-radius: 24px;
    background: var(--nno-surface);
    box-shadow: var(--nno-shadow);
}

.nno-explore-heading {
    margin-bottom: 22px;
}

.nno-explore-heading > span {
    color: var(--nno-blue);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.nno-explore-heading h2 {
    margin: 6px 0 8px;
    font-size: clamp(34px, 4.6vw, 58px);
    line-height: 1;
    letter-spacing: -.045em;
}

.nno-explore-heading p {
    max-width: 680px;
    margin: 0;
    color: var(--nno-muted);
}

.nno-explore-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.nno-explore-card {
    position: relative;
    min-height: 178px;
    overflow: hidden;
    border: 1px solid var(--nno-line);
    border-radius: 18px;
    color: #fff;
    isolation: isolate;
    box-shadow: 0 10px 30px rgba(11, 34, 64, .12);
    transition: transform .2s ease, box-shadow .2s ease;
}

.nno-explore-card:hover {
    color: #fff;
    transform: translateY(-4px);
    box-shadow: 0 18px 42px rgba(11, 34, 64, .2);
}

.nno-explore-bg {
    position: absolute;
    inset: -14px;
    z-index: -3;
    background-size: cover;
    background-position: center;
    filter: blur(6px) saturate(.82);
    transform: scale(1.08);
    opacity: .9;
}

.nno-explore-shade {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(180deg, rgba(4, 15, 33, .34), rgba(3, 17, 37, .9)),
        linear-gradient(120deg, rgba(21, 94, 232, .26), rgba(17, 189, 221, .08));
}

.nno-explore-card::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
}

.nno-explore-content {
    min-height: 178px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 18px;
}

.nno-explore-icon {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    margin-bottom: auto;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 12px;
    background: rgba(255, 255, 255, .12);
    backdrop-filter: blur(6px);
}

.nno-explore-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.nno-explore-content strong {
    margin-top: 18px;
    font-size: 19px;
    line-height: 1.05;
}

.nno-explore-content small {
    margin-top: 5px;
    color: rgba(255, 255, 255, .76);
    line-height: 1.25;
}

.nno-explore-content em {
    margin-top: 10px;
    color: #88e7ff;
    font-size: 11px;
    font-style: normal;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.nno-footer {
    margin-top: 0;
    padding-top: 42px;
    color: #d8e7f7;
    background:
        radial-gradient(circle at 14% 0%, rgba(18, 104, 196, .2), transparent 32%),
        linear-gradient(135deg, #031528 0%, #061f39 100%);
    border-top: 0;
}

.nno-footer-grid {
    display: grid;
    grid-template-columns: 1.1fr 1.45fr .9fr;
    gap: 42px;
    align-items: start;
}

.nno-footer h2 {
    color: #fff;
    font-size: 16px;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.nno-footer p {
    color: #b8cce1;
    font-size: 13px;
}

.nno-footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: #fff;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -.035em;
}

.nno-footer-brand:hover {
    color: #fff;
}

.nno-footer-brand img {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
}

.nno-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.nno-social-links a,
.nno-social-links span {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 50%;
    color: #fff;
    background: rgba(255, 255, 255, .05);
}

.nno-social-links a:hover {
    color: #fff;
    border-color: #4ecfff;
    background: rgba(78, 207, 255, .16);
    transform: translateY(-2px);
}

.nno-social-links .is-empty {
    opacity: .38;
}

.nno-social-links svg,
.nno-rss-link svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.nno-social-links svg path:first-child:not(:only-child),
.nno-social-links svg rect,
.nno-social-links svg circle {
    fill: none;
}

.nno-footer-categories-section h2 {
    text-align: center;
}

.nno-footer-categories {
    columns: 2;
    column-gap: 38px;
}

.nno-footer-links a {
    color: #d8e7f7;
}

.nno-footer-links a:hover {
    color: #fff;
}

.nno-footer-search-section {
    min-width: 0;
}

.nno-footer-search {
    margin-top: 0;
}

.nno-footer-search input {
    color: #fff;
    border-color: rgba(255, 255, 255, .22);
    background: rgba(255, 255, 255, .06);
}

.nno-footer-search input::placeholder {
    color: rgba(255, 255, 255, .56);
}

.nno-footer-search button {
    width: 44px;
    min-width: 44px;
    padding: 0;
    border-radius: 50%;
    font-size: 20px;
}

.nno-footer-quicklinks {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 18px;
}

.nno-footer-quicklinks a {
    color: #b8cce1;
    font-size: 13px;
}

.nno-footer-quicklinks a:hover {
    color: #fff;
}

.nno-footer-bottom {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    margin-top: 34px;
    padding: 18px 0 24px;
    color: #91abc4;
    border-top-color: rgba(255, 255, 255, .14);
}

.nno-made-in-ua {
    justify-self: center;
    color: #c8dbed;
}

.nno-rss-link {
    justify-self: end;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #c8dbed;
}

.nno-rss-link:hover {
    color: #fff;
}

html[data-theme="dark"] .nno-explore {
    background: #0d1c2f;
}

@media (max-width: 1100px) {
    .nno-explore-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .nno-footer-grid {
        grid-template-columns: 1fr 1.35fr;
    }

    .nno-footer-search-section {
        grid-column: 1 / -1;
    }
}

@media (max-width: 760px) {
    .nno-hero-stage {
        padding: 26px 0 18px;
    }

    .nno-hero-stage .nno-hero-content {
        width: 100%;
        padding: 38px 24px 42px;
    }

    .nno-hero-stage .nno-hero {
        min-height: 390px;
    }

    .nno-explore {
        padding: 24px;
    }

    .nno-explore-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .nno-footer-grid {
        grid-template-columns: 1fr;
    }

    .nno-footer-search-section {
        grid-column: auto;
    }

    .nno-footer-bottom {
        grid-template-columns: 1fr;
        gap: 10px;
        text-align: center;
    }

    .nno-made-in-ua,
    .nno-rss-link {
        justify-self: center;
    }
}

@media (max-width: 520px) {
    .nno-explore-grid {
        grid-template-columns: 1fr;
    }

    .nno-explore-card,
    .nno-explore-content {
        min-height: 160px;
    }

    .nno-footer-categories {
        columns: 1;
    }
}

/* ===== Novyny Nauky Orbit 2.2.0 ===== */
:root {
    --nno-bg: #edf4fb;
    --nno-bg-soft: #e5eef9;
    --nno-surface: #ffffff;
    --nno-surface-alt: #f7fbff;
    --nno-line: #d8e6f4;
    --nno-shadow: 0 18px 42px rgba(22, 61, 109, 0.09);
}

html[data-theme="dark"] {
    --nno-bg: #07111f;
    --nno-bg-soft: #0b1727;
}

body.nno-body {
    background: var(--nno-bg);
}

.nno-home-cards,
.nno-listing,
.nno-related {
    position: relative;
}

.nno-hero-stage {
    padding: 34px 0 24px;
    background: #041427;
}

.nno-space-backdrop {
    background-image:
        linear-gradient(180deg, rgba(3, 10, 25, .08), rgba(3, 10, 25, .34)),
        url('../img/earth-space.svg');
    background-size: cover;
    background-position: center top;
}

.nno-hero-frame {
    max-width: 980px;
}

.nno-hero-stage .nno-hero {
    min-height: 332px;
    border-radius: 24px;
}

.nno-hero-stage .nno-hero-content {
    width: min(460px, calc(56% - 42px));
    margin: 22px 0 22px 22px;
    padding: 28px 26px 26px;
    border: 1px solid rgba(132, 188, 255, .22);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(9, 37, 84, .78), rgba(4, 22, 52, .88));
    backdrop-filter: blur(3px);
    box-shadow: 0 16px 40px rgba(2, 10, 26, .22);
}

.nno-hero-stage .nno-hero h1 {
    font-size: clamp(30px, 3.8vw, 48px);
}

.nno-hero-stage .nno-hero p {
    font-size: 15px;
}

.nno-card,
.nno-explore,
.nno-article,
.nno-page {
    box-shadow: var(--nno-shadow);
}

.nno-article,
.nno-page {
    background: rgba(255, 255, 255, .98);
    border-color: #d7e5f4;
}

.nno-explore {
    background: rgba(255, 255, 255, .94);
}

.nno-explore-bg {
    inset: -4px;
    filter: blur(2px) saturate(1.02);
    transform: scale(1.03);
    opacity: .94;
}

.nno-explore-shade {
    background:
        linear-gradient(180deg, rgba(3, 14, 30, .16), rgba(3, 16, 35, .78)),
        linear-gradient(120deg, rgba(21, 94, 232, .12), rgba(17, 189, 221, .08));
}

.nno-explore-card--orbit .nno-explore-shade { background: linear-gradient(180deg, rgba(3,14,30,.1), rgba(2,14,38,.78)); }
.nno-explore-card--flask .nno-explore-shade { background: linear-gradient(180deg, rgba(9,25,40,.12), rgba(9,43,63,.74)); }
.nno-explore-card--pulse .nno-explore-shade { background: linear-gradient(180deg, rgba(6,27,42,.14), rgba(7,43,63,.78)); }
.nno-explore-card--gear .nno-explore-shade { background: linear-gradient(180deg, rgba(5,19,38,.12), rgba(9,35,73,.74)); }
.nno-explore-card--brain .nno-explore-shade { background: linear-gradient(180deg, rgba(7,18,43,.12), rgba(15,39,88,.76)); }
.nno-explore-card--leaf .nno-explore-shade { background: linear-gradient(180deg, rgba(6,27,29,.08), rgba(8,40,38,.74)); }
.nno-explore-card--mind .nno-explore-shade { background: linear-gradient(180deg, rgba(18,20,48,.12), rgba(43,48,92,.74)); }
.nno-explore-card--ufo .nno-explore-shade { background: linear-gradient(180deg, rgba(4,17,37,.1), rgba(6,23,49,.78)); }
.nno-explore-card--bulb .nno-explore-shade { background: linear-gradient(180deg, rgba(25,20,54,.08), rgba(69,58,130,.7)); }
.nno-explore-card--moon .nno-explore-shade { background: linear-gradient(180deg, rgba(10,18,49,.12), rgba(47,42,90,.76)); }

.nno-footer-grid {
    grid-template-columns: 1.08fr 1.42fr .92fr;
}

.nno-footer-search-section h2,
.nno-footer-categories-section h2 {
    text-align: center;
}

.nno-footer-quicklinks a {
    color: #d8e7f7;
    font-size: 13px;
}

.nno-footer-quicklinks a::before {
    content: "›";
    color: var(--nno-cyan);
    margin-right: 8px;
}

.nno-rss-link {
    text-decoration: none;
}

.nno-rss-link span {
    display: inline-block;
}

@media (max-width: 1100px) {
    .nno-hero-frame {
        max-width: 920px;
    }

    .nno-hero-stage .nno-hero-content {
        width: min(430px, calc(60% - 34px));
    }
}

@media (max-width: 760px) {
    .nno-hero-stage .nno-hero-content {
        width: calc(100% - 34px);
        margin: 18px 17px 24px;
        padding: 24px 20px 22px;
    }

    .nno-hero-stage .nno-hero {
        min-height: 350px;
    }
}

/* ===== Novyny Nauky Orbit 2.3.0 ===== */
.nno-brand {
    align-items: center;
    gap: 14px;
}

.nno-brand-copy,
.nno-footer-brand-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.nno-brand-copy strong {
    font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
    font-size: clamp(31px, 2.65vw, 44px);
    line-height: .95;
    letter-spacing: -0.045em;
    font-weight: 700;
}

.nno-brand-copy small {
    margin-top: 7px;
    color: var(--nno-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.nno-footer-brand-copy strong {
    color: #fff;
    font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
    font-size: 26px;
    line-height: 1;
}

.nno-footer-brand-copy small {
    margin-top: 5px;
    color: #9db5cf;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

/* Editorial homepage */
.nno-editorial-stage {
    padding: 34px 0 30px;
    border-top: 1px solid var(--nno-line);
    border-bottom: 1px solid var(--nno-line);
    background:
        radial-gradient(circle at 8% 12%, rgba(35, 124, 235, .08), transparent 33%),
        linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

html[data-theme="dark"] .nno-editorial-stage {
    background:
        radial-gradient(circle at 8% 12%, rgba(69, 151, 255, .13), transparent 33%),
        linear-gradient(180deg, #081523 0%, #0b192a 100%);
}

.nno-editorial-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.62fr) minmax(240px, .72fr) minmax(250px, .72fr);
    gap: 24px;
    align-items: stretch;
}

.nno-editorial-grid.no-headlines {
    grid-template-columns: minmax(0, 1.65fr) minmax(260px, .75fr);
}

.nno-lead-slider {
    position: relative;
    min-width: 0;
    min-height: 610px;
    overflow: hidden;
    border: 1px solid var(--nno-line);
    border-radius: 18px;
    background: var(--nno-surface);
    box-shadow: var(--nno-shadow);
}

.nno-lead-slides,
.nno-lead-slide {
    height: 100%;
}

.nno-lead-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-rows: minmax(330px, 1fr) auto;
    opacity: 0;
    visibility: hidden;
    transform: translateX(18px);
    transition: opacity .35s ease, transform .35s ease, visibility .35s ease;
}

.nno-lead-slide.is-active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.nno-lead-image {
    display: block;
    overflow: hidden;
    background: #061225;
}

.nno-lead-image img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
    transition: transform .45s ease;
}

.nno-lead-slide:hover .nno-lead-image img {
    transform: scale(1.018);
}

.nno-lead-copy {
    padding: 24px 26px 28px;
}

.nno-kicker {
    display: inline-flex;
    color: var(--nno-blue);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.nno-lead-copy h1 {
    margin: 10px 0 11px;
    font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
    font-size: clamp(38px, 4.3vw, 66px);
    line-height: .94;
    letter-spacing: -0.045em;
    font-weight: 700;
}

.nno-lead-copy p {
    margin: 0 0 15px;
    color: var(--nno-muted);
    font-size: 16px;
}

.nno-lead-meta {
    display: flex;
    gap: 13px;
    color: var(--nno-muted);
    font-size: 12px;
}

.nno-slider-arrow {
    position: absolute;
    z-index: 5;
    top: 37%;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.42);
    border-radius: 50%;
    background: rgba(4, 21, 45, .62);
    color: #fff;
    font-size: 29px;
    cursor: pointer;
    backdrop-filter: blur(5px);
}

.nno-slider-prev { left: 15px; }
.nno-slider-next { right: 15px; }

.nno-slider-dots {
    position: absolute;
    z-index: 5;
    left: 50%;
    top: calc(58% - 8px);
    display: flex;
    gap: 7px;
    transform: translateX(-50%);
}

.nno-slider-dots button {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 1px solid rgba(255,255,255,.75);
    border-radius: 50%;
    background: rgba(255,255,255,.38);
    cursor: pointer;
}

.nno-slider-dots button.is-active {
    width: 25px;
    border-radius: 999px;
    background: #fff;
}

.nno-editorial-middle {
    display: grid;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.nno-side-feature {
    overflow: hidden;
    display: grid;
    grid-template-rows: minmax(155px, .92fr) auto;
    border: 1px solid var(--nno-line);
    border-radius: 16px;
    background: var(--nno-surface);
}

.nno-side-feature-image {
    overflow: hidden;
}

.nno-side-feature-image img {
    width: 100%;
    height: 100%;
    min-height: 168px;
    object-fit: cover;
}

.nno-side-feature-body {
    padding: 17px 18px 19px;
}

.nno-side-feature h2 {
    margin: 7px 0 8px;
    font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
    font-size: 25px;
    line-height: 1.02;
    letter-spacing: -.025em;
}

.nno-side-feature p {
    margin: 0;
    color: var(--nno-muted);
    font-size: 13px;
}

.nno-headline-column {
    display: flex;
    flex-direction: column;
    border-top: 3px solid var(--nno-text);
}

.nno-headline-column-title {
    padding: 13px 0 7px;
    color: var(--nno-text);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.nno-headline-item {
    flex: 1 1 0;
    padding: 15px 0;
    border-bottom: 1px solid var(--nno-line);
}

.nno-headline-item h2 {
    margin: 7px 0 10px;
    font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
    font-size: clamp(22px, 2vw, 30px);
    line-height: 1.02;
    letter-spacing: -.025em;
    font-weight: 700;
}

.nno-headline-item time {
    color: var(--nno-muted);
    font-size: 12px;
}

/* Category rows */
.nno-category-strip {
    padding-top: 36px;
}

.nno-category-strip-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
    padding-bottom: 11px;
    border-bottom: 2px solid var(--nno-text);
}

.nno-category-strip-head span {
    color: var(--nno-blue);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.nno-category-strip-head h2 {
    margin: 4px 0 0;
    font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
    font-size: clamp(30px, 3.2vw, 44px);
    line-height: 1;
    letter-spacing: -.035em;
}

.nno-category-more {
    color: var(--nno-blue);
    font-size: 13px;
    font-weight: 800;
}

.nno-category-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.nno-category-card-grid .nno-card {
    box-shadow: none;
}

.nno-category-card-grid .nno-card-body h3 {
    font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
}

/* Article page: stronger blue surround, correct dark theme and source alignment */
body.single-post .nno-main {
    padding: 42px 0 54px;
    background:
        radial-gradient(circle at 12% 8%, rgba(70, 154, 238, .19), transparent 36%),
        linear-gradient(180deg, #dceafb 0%, #edf5fd 50%, #d9e9f8 100%);
}

body.single-post .nno-article {
    background: #ffffff;
    color: #0a1f3a;
    border: 1px solid #cbdced;
    box-shadow: 0 24px 58px rgba(33, 79, 128, .14);
}

body.single-post .nno-article h1,
body.single-post .nno-content,
body.single-post .nno-content p,
body.single-post .nno-content li,
body.single-post .nno-content strong,
body.single-post .nno-content em {
    color: #0a1f3a;
}

body.single-post .nno-article-meta {
    color: #62738b;
}

body.single-post .nno-content .nn-source,
body.single-post .nno-content p.nn-source {
    display: block !important;
    clear: both !important;
    width: 100% !important;
    margin: 24px 0 0 !important;
    padding: 0 !important;
    text-align: left !important;
    float: none !important;
}

html[data-theme="dark"] body.single-post .nno-main {
    background:
        radial-gradient(circle at 12% 8%, rgba(43, 113, 188, .24), transparent 36%),
        linear-gradient(180deg, #06101d 0%, #0a1828 52%, #071321 100%);
}

html[data-theme="dark"] body.single-post .nno-article {
    background: #0f2237;
    color: #edf5ff;
    border-color: #243d59;
}

html[data-theme="dark"] body.single-post .nno-article h1,
html[data-theme="dark"] body.single-post .nno-content,
html[data-theme="dark"] body.single-post .nno-content p,
html[data-theme="dark"] body.single-post .nno-content li,
html[data-theme="dark"] body.single-post .nno-content strong,
html[data-theme="dark"] body.single-post .nno-content em {
    color: #edf5ff !important;
}

html[data-theme="dark"] body.single-post .nno-article-meta {
    color: #9db0c9;
}

html[data-theme="dark"] body.single-post .nno-content a {
    color: #75b6ff;
}

html[data-theme="dark"] body.single-post .nno-post-navigation a {
    background: #0f2237;
    color: #edf5ff;
    border-color: #243d59;
}

html[data-theme="dark"] body.single-post .nno-related .nno-section-header h2 {
    color: #edf5ff;
}

/* Generated thematic direction visuals */
.nno-explore-bg {
    inset: 0;
    filter: none;
    transform: none;
    opacity: 1;
}

.nno-explore-card:hover .nno-explore-bg {
    transform: scale(1.025);
}

.nno-explore-shade {
    background: linear-gradient(180deg, rgba(4, 13, 28, .06) 0%, rgba(4, 14, 32, .35) 47%, rgba(3, 14, 32, .88) 100%) !important;
}

.nno-explore-content strong,
.nno-explore-content small,
.nno-explore-content em {
    text-shadow: 0 1px 12px rgba(0,0,0,.34);
}

@media (max-width: 1120px) {
    .nno-editorial-grid {
        grid-template-columns: minmax(0, 1.5fr) minmax(250px, .8fr);
    }

    .nno-headline-column {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 20px;
        border-top: 2px solid var(--nno-text);
    }

    .nno-headline-column-title {
        grid-column: 1 / -1;
        padding-bottom: 0;
    }

    .nno-headline-item {
        border-bottom: 0;
    }

    .nno-category-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 780px) {
    .nno-brand-copy strong {
        font-size: 31px;
    }

    .nno-editorial-grid,
    .nno-editorial-grid.no-headlines {
        grid-template-columns: 1fr;
    }

    .nno-lead-slider {
        min-height: 580px;
    }

    .nno-editorial-middle {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: none;
    }

    .nno-headline-column {
        grid-template-columns: 1fr 1fr;
    }

    .nno-category-strip-head {
        align-items: flex-start;
    }
}

@media (max-width: 560px) {
    .nno-editorial-stage {
        padding-top: 20px;
    }

    .nno-lead-slider {
        min-height: 555px;
    }

    .nno-lead-slide {
        grid-template-rows: 280px auto;
    }

    .nno-lead-image img {
        min-height: 280px;
    }

    .nno-lead-copy {
        padding: 20px 19px 24px;
    }

    .nno-lead-copy h1 {
        font-size: 36px;
    }

    .nno-slider-dots {
        top: 260px;
    }

    .nno-editorial-middle,
    .nno-headline-column,
    .nno-category-card-grid {
        grid-template-columns: 1fr;
    }

    .nno-category-strip-head {
        flex-direction: column;
    }

    body.single-post .nno-main {
        padding-top: 22px;
    }
}

body.single-post .nno-content .nno-source,
html[data-theme="dark"] body.single-post .nno-content .nno-source {
    display: block !important;
    clear: both !important;
    width: 100% !important;
    margin: 24px 0 0 !important;
    padding: 0 !important;
    text-align: left !important;
    float: none !important;
}
.nno-editorial-middle.is-single {
    grid-template-rows: 1fr;
}

/* ===== Novyny Nauky Orbit 2.4.0 ===== */
/* Compact three-column editorial lead on desktop */
.nno-editorial-stage {
    padding: 24px 0 26px;
}

.nno-editorial-grid,
.nno-editorial-grid.no-headlines {
    grid-template-columns: minmax(0, 1.42fr) minmax(220px, .68fr) minmax(220px, .62fr);
    gap: 18px;
}

.nno-lead-slider {
    min-height: 520px;
}

.nno-lead-slide {
    grid-template-rows: minmax(280px, 1fr) auto;
}

.nno-lead-image img {
    min-height: 300px;
}

.nno-lead-copy {
    padding: 19px 22px 22px;
}

.nno-lead-copy h1 {
    margin: 8px 0 9px;
    font-size: clamp(32px, 3.15vw, 49px);
    line-height: .96;
}

.nno-lead-copy p {
    margin-bottom: 11px;
    font-size: 14px;
    line-height: 1.48;
}

.nno-slider-arrow {
    top: 31%;
    width: 38px;
    height: 38px;
}

.nno-slider-dots {
    top: calc(56% - 5px);
}

.nno-editorial-middle {
    gap: 18px;
}

.nno-side-feature {
    grid-template-rows: minmax(118px, .82fr) auto;
}

.nno-side-feature-image img {
    min-height: 126px;
}

.nno-side-feature-body {
    padding: 13px 14px 15px;
}

.nno-side-feature h2 {
    margin: 5px 0 6px;
    font-size: 20px;
    line-height: 1;
}

.nno-side-feature p {
    font-size: 12px;
    line-height: 1.38;
}

.nno-headline-column-title {
    padding: 10px 0 5px;
}

.nno-headline-item {
    padding: 10px 0;
}

.nno-headline-item h2 {
    margin: 4px 0 6px;
    font-size: clamp(18px, 1.45vw, 22px);
    line-height: 1.03;
}

.nno-headline-item .nno-kicker {
    font-size: 9px;
}

.nno-headline-item time {
    font-size: 10px;
}

/* Article source returns to the right edge */
body.single-post .nno-content .nn-source,
body.single-post .nno-content p.nn-source,
body.single-post .nno-content .nno-source,
body.single-post .nno-content p.nno-source,
html[data-theme="dark"] body.single-post .nno-content .nn-source,
html[data-theme="dark"] body.single-post .nno-content p.nn-source,
html[data-theme="dark"] body.single-post .nno-content .nno-source,
html[data-theme="dark"] body.single-post .nno-content p.nno-source {
    text-align: right !important;
}

/* The mobile menu lives between the date and theme switch */
.nno-menu-toggle-topbar {
    display: none;
}

@media (max-width: 1120px) {
    .nno-editorial-grid,
    .nno-editorial-grid.no-headlines {
        grid-template-columns: minmax(0, 1.42fr) minmax(230px, .72fr);
    }

    .nno-headline-column {
        grid-column: 1 / -1;
    }
}

@media (max-width: 760px) {
    .nno-menu-toggle-topbar {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding-inline: 12px;
    }

    .nno-brand-row {
        display: block;
    }

    .nno-brand {
        margin-inline: auto;
    }

    .nno-nav {
        margin-top: 16px;
    }

    .nno-editorial-grid,
    .nno-editorial-grid.no-headlines {
        grid-template-columns: 1fr;
    }

    .nno-lead-slider {
        min-height: 560px;
    }

    .nno-editorial-middle {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: none;
    }

    .nno-headline-column {
        grid-template-columns: 1fr 1fr;
    }

    /* Rebuild the vertical footer as a clean one-column stack. */
    .nno-footer {
        padding-top: 32px;
    }

    .nno-footer-grid {
        display: grid;
        grid-template-columns: 1fr !important;
        gap: 0;
    }

    .nno-footer-grid > section {
        grid-column: auto !important;
        padding: 0 0 26px;
        margin: 0 0 26px;
        border-bottom: 1px solid rgba(255,255,255,.13);
    }

    .nno-footer-grid > section:last-child {
        margin-bottom: 0;
        border-bottom: 0;
    }

    .nno-footer-brand {
        justify-content: flex-start;
    }

    .nno-footer-categories-section h2,
    .nno-footer-search-section h2 {
        text-align: left;
    }

    .nno-footer-categories {
        columns: 2;
        column-gap: 24px;
    }

    .nno-footer-search {
        max-width: none;
    }

    .nno-footer-quicklinks {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px 18px;
    }

    .nno-footer-bottom {
        display: grid;
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 12px;
        text-align: center;
    }
}

@media (max-width: 560px) {
    .nno-topbar-inner {
        display: block;
    }

    .nno-tagline {
        display: block;
        margin-bottom: 8px;
        font-size: 12px;
    }

    .nno-topbar-right {
        width: 100%;
        display: grid;
        grid-template-columns: auto auto minmax(0, 1fr);
        align-items: center;
        gap: 8px;
    }

    .nno-topbar-right time {
        white-space: nowrap;
        font-size: 12px;
    }

    .nno-menu-toggle-topbar,
    .nno-theme-toggle {
        min-height: 36px;
        padding: 7px 10px;
        font-size: 12px;
        white-space: nowrap;
    }

    .nno-theme-toggle {
        justify-self: end;
    }

    .nno-editorial-stage {
        padding-top: 16px;
    }

    .nno-lead-slider {
        min-height: 535px;
    }

    .nno-editorial-middle,
    .nno-headline-column {
        grid-template-columns: 1fr;
    }

    .nno-footer-grid > section {
        padding-bottom: 22px;
        margin-bottom: 22px;
    }

    .nno-footer-categories {
        columns: 1;
    }

    .nno-footer-search {
        flex-direction: row;
    }

    .nno-footer-quicklinks {
        grid-template-columns: 1fr;
    }

    .nno-footer-about,
    .nno-footer-categories-section,
    .nno-footer-search-section {
        text-align: left;
    }

    .nno-social-links {
        justify-content: flex-start;
    }
}


/* ===== Novyny Nauky Orbit 2.5.0 ===== */
/* Cleaner lead card: no excerpt, slightly shorter desktop composition. */
.nno-lead-slider {
    min-height: 485px;
}

.nno-lead-slide {
    grid-template-rows: minmax(270px, 1fr) auto;
}

.nno-lead-image img {
    min-height: 285px;
}

.nno-lead-copy {
    padding-bottom: 20px;
}

.nno-lead-copy h1 {
    margin-bottom: 10px;
}

.nno-slider-arrow {
    top: 33%;
}

.nno-slider-dots {
    top: calc(57% - 6px);
}

/* Six compact latest-publication items on desktop. */
.nno-headline-item {
    padding: 8px 0;
}

.nno-headline-item h2 {
    margin: 3px 0 5px;
    font-size: clamp(16px, 1.18vw, 19px);
    line-height: 1.02;
}

.nno-headline-item .nno-kicker {
    font-size: 8px;
    line-height: 1.2;
}

.nno-headline-item time {
    font-size: 9px;
}

/* The real 404 must remain readable in the dark theme. */
html[data-theme="dark"] .nno-404 {
    background: #0f2237;
    color: #edf5ff;
    border-color: #29425f;
}

html[data-theme="dark"] .nno-404 h1,
html[data-theme="dark"] .nno-404 p {
    color: #edf5ff !important;
}

html[data-theme="dark"] .nno-404 .nno-primary-button {
    color: #ffffff !important;
}

@media (max-width: 1120px) {
    .nno-headline-column {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .nno-headline-item h2 {
        font-size: clamp(18px, 2.1vw, 23px);
    }
}

@media (max-width: 760px) {
    .nno-lead-slider {
        min-height: 505px;
    }

    .nno-headline-column {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    /* Exact three-position mobile top row: date | centered Menu | theme. */
    .nno-topbar-right {
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        gap: 6px;
    }

    .nno-topbar-right time {
        justify-self: start;
        padding-right: 0;
        border-right: 0;
    }

    .nno-menu-toggle-topbar {
        justify-self: center;
    }

    .nno-theme-toggle {
        justify-self: end;
    }

    .nno-lead-slider {
        min-height: 455px;
    }

    .nno-lead-slide {
        grid-template-rows: 245px auto;
    }

    .nno-lead-image img {
        min-height: 245px;
    }

    .nno-slider-dots {
        top: 226px;
    }

    .nno-headline-column {
        grid-template-columns: 1fr;
    }

    /* Keep the search button visible when iOS opens its keyboard. */
    .nno-footer-search {
        position: relative;
        display: block;
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .nno-footer-search input[type="search"] {
        display: block;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding: 12px 52px 12px 14px;
        font-size: 16px;
        line-height: 1.2;
    }

    .nno-footer-search button {
        position: absolute;
        top: 50%;
        right: 4px;
        width: 38px;
        min-width: 38px;
        height: 38px;
        padding: 0;
        transform: translateY(-50%);
    }
}
