/*
 * News of Insurance: the public design.
 * Cream paper with the two colours of the NI logo, navy and red, serif throughout. Everything here is prefixed nz-,
 * and the last part restyles the older lb- and sp- pages (category, story, search) to match.
 */

:root {
    --nz-navy: #1c2454;
    --nz-navy-2: #2b3676;
    --nz-gold: #c39a3c;
    --nz-gold-soft: #e6c878;
    --nz-gold-ink: #7a5a12;
    --nz-red: #cb2227;
    --nz-red-ink: #b01c21;
    --nz-cream: #fbf7ea;
    --nz-cream-2: #f6ecd2;
    --nz-paper: #ffffff;
    --nz-page: #fffdf8;
    --nz-ink: #22252b;
    --nz-muted: #5b6472;
    --nz-line: #e3e8f2;
    --nz-shadow: 0 8px 24px rgba(11, 31, 75, .07);
    --nz-shadow-lift: 0 16px 36px rgba(11, 31, 75, .13);
    --nz-radius: 16px;
    --nz-serif: Cambria, "Cambria Math", Caladea, Georgia, "Times New Roman", serif;
    --nz-heading: var(--nz-navy);
}

html[data-theme="dark"] {
    --nz-cream: #101a35;
    --nz-cream-2: #0d1730;
    --nz-paper: #121d3b;
    --nz-page: #0a1226;
    --nz-ink: #e6eaf3;
    --nz-muted: #a3adc2;
    --nz-line: #26335a;
    --nz-shadow: 0 8px 24px rgba(0, 0, 0, .35);
    --nz-shadow-lift: 0 16px 36px rgba(0, 0, 0, .5);
    --nz-heading: #f1e4bd;
    --nz-gold-ink: #e6c878;
    --nz-red-ink: #ff8a8d;
}

/* ---------------------------------------------------------------- base */

body.nz {
    margin: 0;
    background: var(--nz-page);
    color: var(--nz-ink);
    font-family: var(--nz-serif);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.nz h1, .nz h2, .nz h3, .nz h4 {
    font-family: var(--nz-serif);
    color: var(--nz-heading);
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}

.nz a { color: inherit; text-decoration: none; }
.nz :focus-visible { outline: 3px solid var(--nz-red); outline-offset: 2px; border-radius: 4px; }

.nz-wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; }

.nz-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.nz-skip { position: absolute; left: -9999px; top: 8px; z-index: 2000; background: var(--nz-navy); color: #fff !important; padding: 10px 16px; border-radius: 8px; }
.nz-skip:focus { left: 8px; }

/* ---------------------------------------------------------------- small parts */

.nz-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; padding: 0 26px; border-radius: 999px; border: 2px solid transparent;
    font: 700 17px/1 var(--nz-serif); cursor: pointer; white-space: nowrap;
    transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease;
}
.nz-btn:hover { transform: translateY(-1px); text-decoration: none; }
.nz-btn--gold { background: linear-gradient(135deg, #b88a2e, var(--nz-gold-soft)); color: #1c1503 !important; box-shadow: 0 8px 18px rgba(184, 138, 46, .28); }
.nz-btn--line { border-color: var(--nz-heading); color: var(--nz-heading) !important; background: transparent; }
.nz-btn--line:hover { background: var(--nz-navy); border-color: var(--nz-navy); color: #fff !important; }
.nz-btn--navy { background: var(--nz-navy); color: #fff !important; }

.nz-eyebrow {
    display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px; border-radius: 999px;
    background: var(--nz-paper); box-shadow: var(--nz-shadow);
    color: var(--nz-gold-ink); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.nz-eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--nz-gold); }

.nz-round {
    display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none; padding: 0;
    border-radius: 50%; border: 1px solid var(--nz-line); background: var(--nz-paper); color: var(--nz-heading); cursor: pointer;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.nz-round:hover { border-color: var(--nz-red); box-shadow: var(--nz-shadow); }
.nz-round--small { width: 32px; height: 32px; }
.nz-round--small svg { width: 16px; height: 16px; }

/* ---------------------------------------------------------------- ticker */

.nz-ticker { display: flex; align-items: center; gap: 12px; padding: 5px 16px; background: var(--nz-cream); border-bottom: 1px solid var(--nz-line); font-size: 15px; }
.nz-ticker__window { flex: 1; min-width: 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.nz-ticker__track { display: flex; width: max-content; animation: nz-ticker var(--nz-ticker-time, 60s) linear infinite; }
.nz-ticker__window:hover .nz-ticker__track, .nz-ticker__window:focus-within .nz-ticker__track { animation-play-state: paused; }
.nz-ticker ul { display: flex; gap: 44px; margin: 0; padding: 0 22px; list-style: none; }
.nz-ticker li { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.nz-ticker li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--nz-red); flex: none; }
.nz-ticker a:hover { color: var(--nz-red-ink); }
@keyframes nz-ticker { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------- header */

.nz-header { background: var(--nz-paper); border-bottom: 1px solid var(--nz-line); z-index: 980; }
.nz-header--stuck { box-shadow: 0 6px 20px rgba(11, 31, 75, .09); }
.nz-header__row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; min-height: 78px; }
.nz-header__tools { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.nz-logo { display: block; }
.nz-logo img { display: block; height: 46px; width: auto; }
html[data-theme="dark"] .nz-logo img, html[data-theme="dark"] .nz-menu__logo { background: #fff; border-radius: 8px; padding: 4px 8px; }

.nz-sections { border-top: 1px solid var(--nz-line); }
.nz-sections ul { display: flex; justify-content: center; gap: 4px; margin: 0 auto; list-style: none; overflow-x: auto; scrollbar-width: none; }
.nz-sections ul::-webkit-scrollbar { display: none; }
.nz-sections a { display: block; padding: 11px 13px; white-space: nowrap; font-size: 16px; font-weight: 700; color: var(--nz-heading); border-bottom: 3px solid transparent; }
.nz-sections a:hover, .nz-sections a.is-active { border-bottom-color: var(--nz-red); color: var(--nz-red-ink); }

.nz-search { border-top: 1px solid var(--nz-line); background: var(--nz-cream); padding: 14px 0; }
.nz-search form { display: flex; gap: 10px; }
.nz-search input { flex: 1; min-width: 0; height: 48px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--nz-line); background: var(--nz-paper); color: var(--nz-ink); font: 17px var(--nz-serif); }

.nz-menu.uk-offcanvas-bar { background: var(--nz-navy); width: 320px; padding: 28px 26px; font-family: var(--nz-serif); }
.nz-menu__logo { display: block; width: 190px; height: auto; background: #fff; border-radius: 8px; padding: 6px 10px; margin-bottom: 22px; }
.nz-menu ul { list-style: none; margin: 0 0 18px; padding: 0; }
.nz-menu li a { display: block; padding: 11px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); color: #fff; font-size: 19px; font-weight: 700; }
.nz-menu li a:hover { color: var(--nz-gold-soft); text-decoration: none; }
.nz-menu__small li a { font-size: 16px; font-weight: 400; color: #cfd6e6; border: 0; padding: 7px 0; }

/* ---------------------------------------------------------------- featured stories, leading the homepage */

.nz-leads { background: var(--nz-paper); }
.nz-lead { padding: 44px 0 40px; border-bottom: 1px solid var(--nz-line); text-align: center; }
.nz .nz-lead__title { max-width: 960px; margin: 0 auto; font-size: clamp(30px, 5vw, 60px); line-height: 1.1; letter-spacing: -.01em; }
.nz-lead:last-child { border-bottom: 0; }
.nz-lead__title a:hover { color: var(--nz-red-ink); }
.nz-lead__by { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 18px; margin: 18px 0 22px; font-size: 16px; color: var(--nz-muted); }
.nz-lead__author { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--nz-heading) !important; }
.nz-lead__author:hover { color: var(--nz-red-ink) !important; }
.nz-lead__author img, .nz-lead__initial { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex: none; }
.nz-lead__initial { display: inline-grid; place-items: center; background: var(--nz-navy); color: #fff; font-size: 16px; }
.nz-lead__by time { display: inline-flex; align-items: center; gap: 6px; }
.nz-lead__img { display: block; max-width: 620px; margin: 0 auto 22px; border-radius: 10px; overflow: hidden; background: var(--nz-cream); }
.nz-lead__img img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.nz-lead__text { max-width: 900px; margin: 0 auto; font-size: 18px; line-height: 1.6; color: var(--nz-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 640px) {
    .nz-lead { padding: 28px 0 26px; }
    .nz-lead__by { margin: 14px 0 16px; font-size: 15px; }
    .nz-lead__text { font-size: 16px; -webkit-line-clamp: 3; }
}

/* ---------------------------------------------------------------- hero */

/* The Breaking block sits on a very light tint of the logo's navy: no gradient, no rule above it. */
.nz-hero { padding: 38px 0 46px; background: #f6f7fb; }
html[data-theme="dark"] .nz-hero { background: #0d1630; }
.nz-hero__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 26px; align-items: stretch; }
.nz-hero__lead { display: grid; }
.nz-hero__side { display: grid; gap: 16px; }

/* ---------------------------------------------------------------- cards */

.nz-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; background: var(--nz-paper); border: 1px solid var(--nz-line); border-radius: var(--nz-radius); box-shadow: var(--nz-shadow); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.nz-card:hover { transform: translateY(-3px); box-shadow: var(--nz-shadow-lift); border-color: rgba(203, 34, 39, .4); }
.nz-card__img { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, var(--nz-navy), var(--nz-navy-2)); }
/* A story without a picture shows the paper's initials on navy instead of an empty box. */
.nz-card__img::before, .nz-person__ring::before { content: "NI"; position: absolute; inset: 0; display: grid; place-items: center; font: italic 700 30px var(--nz-serif); letter-spacing: .04em; color: rgba(230, 200, 120, .5); }
.nz-card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.nz-card:hover .nz-card__img img { transform: scale(1.04); }
.nz-card__play { position: absolute; inset: 0; margin: auto; width: 54px; height: 54px; border-radius: 50%; background: rgba(11, 31, 75, .78); border: 2px solid var(--nz-gold-soft); }
.nz-card__play::after { content: ""; position: absolute; left: 21px; top: 15px; border-style: solid; border-width: 10px 0 10px 16px; border-color: transparent transparent transparent #fff; }
.nz-card__body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; flex: 1; }
.nz .nz-card__title { font-size: 21px; line-height: 1.28; }
.nz-card__title a:hover { color: var(--nz-red-ink); }
.nz-card__text { margin: 0; color: var(--nz-muted); font-size: 16px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nz-card__meta { margin: auto 0 0; padding-top: 4px; color: var(--nz-muted); font-size: 14px; }

.nz-card--wide .nz-card__img { aspect-ratio: 16 / 9; }
.nz .nz-card--wide .nz-card__title { font-size: clamp(24px, 2.3vw, 32px); line-height: 1.2; }
.nz-card--wide .nz-card__body { padding: 24px 28px 28px; }
.nz-card--wide .nz-card__text { font-size: 17px; }

.nz-card--row { flex-direction: row; align-items: stretch; }
.nz-card--row .nz-card__img { flex: 0 0 34%; aspect-ratio: auto; min-height: 104px; }
.nz-card--row .nz-card__body { padding: 14px 16px; gap: 7px; justify-content: center; }
.nz .nz-card--row .nz-card__title { font-size: 17px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nz-card--row .nz-card__meta { font-size: 13px; margin: 0; padding: 0; }

/* ---------------------------------------------------------------- sections */

.nz-section { padding: 58px 0; }
.nz-section--alt { background: var(--nz-cream); }
.nz-section--dark { background: var(--nz-navy); --nz-heading: #fff; --nz-paper: #13295d; --nz-line: #2a407a; --nz-ink: #e6eaf3; --nz-muted: #b6c0d6; --nz-cream: #1b3470; --nz-gold-ink: #e6c878; }

.nz-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.nz .nz-head h2 { position: relative; padding-top: 18px; font-size: clamp(27px, 3vw, 36px); }
.nz-head h2::before { content: ""; position: absolute; left: 0; top: 0; width: 56px; height: 4px; border-radius: 4px; background: var(--nz-red); }
.nz-more { flex: none; padding-bottom: 3px; border-bottom: 2px solid var(--nz-red); color: var(--nz-heading) !important; font-weight: 700; font-size: 16px; }
.nz-more:hover { color: var(--nz-red-ink) !important; }

.nz-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.nz-grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.nz-grid--four .nz-card__title { font-size: 18px; }

.nz-latest--rail { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; }
.nz-latest--rail .nz-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.nz-rail { position: sticky; top: 150px; display: grid; gap: 22px; }
.nz-rail .hp-ad { margin: 0; }
.nz-rank { padding: 24px; background: var(--nz-paper); border: 1px solid var(--nz-line); border-radius: var(--nz-radius); box-shadow: var(--nz-shadow); }
.nz .nz-rank h3 { font-size: 22px; margin-bottom: 8px; }
.nz-rank ol { list-style: none; margin: 0; padding: 0; counter-reset: rank; }
.nz-rank li { counter-increment: rank; display: grid; grid-template-columns: 38px 1fr; gap: 10px; padding: 14px 0; border-top: 1px solid var(--nz-line); font-weight: 700; line-height: 1.35; }
.nz-rank li::before { content: counter(rank); font-size: 30px; line-height: 1; font-style: italic; color: var(--nz-red); }
.nz-rank a:hover { color: var(--nz-red-ink); }

.nz-slider { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 52px) / 3); gap: 26px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 22px; margin: -6px -4px 0; scrollbar-width: thin; scrollbar-color: var(--nz-red) transparent; }
.nz-slider > * { scroll-snap-align: start; }

.nz-feature { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 26px; align-items: stretch; }
.nz-feature__list { display: grid; gap: 16px; align-content: start; }

.nz-people { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px; }
.nz-person { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.nz-person__ring { position: relative; display: block; width: 100%; max-width: 168px; aspect-ratio: 1; border-radius: 50%; padding: 6px; border: 2px solid var(--nz-red); background: var(--nz-paper); box-shadow: var(--nz-shadow); overflow: hidden; box-sizing: border-box; transition: transform .2s ease, box-shadow .2s ease; }
.nz-person__ring::before { inset: 6px; border-radius: 50%; background: linear-gradient(135deg, var(--nz-navy), var(--nz-navy-2)); }
.nz-person__ring img { position: relative; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
.nz-person:hover .nz-person__ring { transform: translateY(-4px); box-shadow: var(--nz-shadow-lift); }
.nz-person strong { color: var(--nz-heading); font-size: 16px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nz-person:hover strong { color: var(--nz-red-ink); }

/* Advertisement slots. An empty slot prints nothing, so these only apply while an advertisement runs. */
.nz .hp-ad { margin: 28px auto; text-align: center; line-height: 0; }
.nz .hp-ad::before { content: "Advertisement"; display: block; margin-bottom: 6px; font-size: 11px; line-height: 1.4; letter-spacing: .12em; text-transform: uppercase; color: var(--nz-muted); }
.nz .hp-ad img { max-width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--nz-line); }
.nz .hp-ad a { display: inline-block; max-width: 100%; }
/* "Desktop only" and "Mobile only" advertisements: the page is the same for everyone, so the screen decides. */
@media (max-width: 767.98px) { .nz .hp-ad--on-desktop { display: none; } }
@media (min-width: 768px) { .nz .hp-ad--on-mobile { display: none; } }

/* ---------------------------------------------------------------- footer */

.nz-footer { background: var(--nz-navy); color: #cfd6e6; padding: 56px 0 0; font-size: 16px; }
.nz-footer__grid { display: grid; grid-template-columns: 1.4fr 1.3fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
.nz-footer__logo img { display: block; width: 210px; height: auto; background: #fff; border-radius: 10px; padding: 8px 12px; }
.nz-footer__about p { margin: 18px 0; max-width: 340px; }
.nz .nz-footer h3 { color: #fff; font-size: 19px; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--nz-red); display: inline-block; }
.nz-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.nz-footer__two { grid-template-columns: 1fr 1fr; column-gap: 18px; }
.nz-footer a:hover { color: var(--nz-gold-soft); text-decoration: none; }
.nz-footer__social { display: flex; gap: 10px; }
.nz-footer__social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .28); color: #fff; }
.nz-footer__social a:hover { border-color: var(--nz-gold-soft); }
.nz-footer__credit { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 22px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 14.5px; }
.nz-footer__credit a { color: var(--nz-gold-soft); }

.nz-top { position: fixed; right: 22px; bottom: 22px; z-index: 900; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--nz-red); color: #fff !important; box-shadow: 0 8px 18px rgba(28, 36, 84, .28); }

/* ---------------------------------------------------------------- older pages, restyled to match */

body.nz-inner { --lb-line: var(--nz-line); --lb-paper: var(--nz-paper); --lb-radius: var(--nz-radius); --lb-shadow: var(--nz-shadow); }
body.nz-inner, body.nz-inner p, body.nz-inner li, body.nz-inner a, body.nz-inner span, body.nz-inner h1, body.nz-inner h2, body.nz-inner h3, body.nz-inner h4,
body.nz-inner input, body.nz-inner button, body.nz-inner textarea { font-family: var(--nz-serif); }
.nz-inner .nz-main { padding: 34px 0 56px; min-height: 50vh; }

.nz-inner .lb-head { margin-bottom: 28px; padding: 0; border: 0; background: none; }
.nz-inner .lb-head__title { position: relative; padding-top: 18px; font-size: clamp(30px, 3.6vw, 44px); color: var(--nz-heading); }
.nz-inner .lb-head__title::before { content: ""; position: absolute; left: 0; top: 0; width: 56px; height: 4px; border-radius: 4px; background: var(--nz-red); }

.nz-inner .lb-card { border-radius: var(--nz-radius); border-color: var(--nz-line); background: var(--nz-paper); box-shadow: var(--nz-shadow); }
.nz-inner .lb-card:hover { border-color: rgba(203, 34, 39, .4); box-shadow: var(--nz-shadow-lift); }
.nz-inner .lb-card__media { background: linear-gradient(135deg, var(--nz-navy), var(--nz-navy-2)); }
.nz-inner .lb-card__title { font-size: 21px; line-height: 1.28; }
.nz-inner .lb-card__title a { color: var(--nz-heading); }
.nz-inner .lb-card__title a:hover { color: var(--nz-red-ink); }
.nz-inner .lb-card__excerpt, .nz-inner .lb-card__meta { color: var(--nz-muted); }
.nz-inner .lb-btn, .nz-inner .pagination-active { background: var(--nz-navy) !important; border-color: var(--nz-navy) !important; color: #fff !important; }
.nz-inner .pagination-btn { border-radius: 999px; }

.nz-inner .ah-single-heading { max-width: 940px; margin-left: auto; margin-right: auto; font-size: clamp(30px, 4vw, 48px); line-height: 1.14; color: var(--nz-heading); }
.nz-inner .ah-post-entry { font-size: 19px; line-height: 1.75; color: var(--nz-ink); }
.nz-inner .ah-post-entry p, .nz-inner .uk-article-content p { font-size: 19px; line-height: 1.75; color: var(--nz-ink); }
.nz-inner .ah-post-entry a, .nz-inner .uk-article-content a { color: var(--nz-red-ink); text-decoration: underline; }
.nz-inner .ah-post-entry h2, .nz-inner .ah-post-entry h3 { margin: 1.4em 0 .5em; }
.nz-inner .ah-post-entry img, .nz-inner .sp-main img { border-radius: 12px; }
.nz-inner .ah-post-entry blockquote { border-left: 4px solid var(--nz-red); background: var(--nz-cream); padding: 16px 22px; border-radius: 0 12px 12px 0; font-style: italic; }
.nz-inner .sp-author__name, .nz-inner .lb-profile__name { color: var(--nz-heading); }
.nz-inner .sp-author__initial { background: var(--nz-navy); color: #fff; }
.nz-inner .sp-trend { background: var(--nz-paper); border: 1px solid var(--nz-line); border-radius: var(--nz-radius); box-shadow: var(--nz-shadow); padding: 22px; }
.nz-inner .sp-trend h2 { font-size: 22px; color: var(--nz-heading); border: 0; background: none; padding: 0; }
.nz-inner .sp-trend a { color: var(--nz-ink); font-weight: 700; }
.nz-inner .sp-trend a:hover { color: var(--nz-red-ink); }
.nz-inner .sp-published { color: var(--nz-muted); }
.nz-inner .uk-badge { border-radius: 999px; background: var(--nz-cream) !important; color: var(--nz-gold-ink) !important; border: 1px solid rgba(195, 154, 60, .45); }

/* ---------------------------------------------------------------- smaller screens */

@media (max-width: 1100px) {
    .nz-latest--rail { grid-template-columns: 1fr; }
    .nz-rail { position: static; }
    .nz-grid--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nz-people { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .nz-footer__grid { grid-template-columns: 1fr 1fr; }
    .nz-sections ul { justify-content: flex-start; }
}

@media (max-width: 900px) {
    .nz-hero { padding: 36px 0 34px; }
    .nz-hero__grid { grid-template-columns: 1fr; gap: 20px; }
    .nz-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
    .nz-slider { grid-auto-columns: calc((100% - 20px) / 2); gap: 20px; }
    .nz-feature { grid-template-columns: 1fr; }
    .nz-section { padding: 44px 0; }
}

@media (max-width: 640px) {
    body.nz { font-size: 16px; }
    .nz-wrap { padding: 0 16px; }
    .nz-header__row { min-height: 64px; gap: 10px; }
    .nz-logo img { height: 34px; }
    .nz-sections a { padding: 9px 11px; font-size: 15px; }
    .nz-grid, .nz-latest--rail .nz-grid, .nz-grid--four { grid-template-columns: 1fr; }
    .nz-slider { grid-auto-columns: 84%; }
    .nz-people { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nz-head { margin-bottom: 20px; }
    .nz-footer__grid { grid-template-columns: 1fr; gap: 30px; }
    .nz-btn { min-height: 46px; padding: 0 22px; font-size: 16px; }
    .nz-card--wide .nz-card__body { padding: 18px 18px 20px; }
}

@media (prefers-reduced-motion: reduce) {
    .nz-ticker__track { animation: none; }
    .nz-ticker__window { overflow-x: auto; }
    .nz-card, .nz-card__img img, .nz-btn, .nz-person__ring { transition: none; }
}

/* The numbered circles in "Most read" on a story page, in the site's colours. */
.nz-inner .sp-trend__num { background: var(--nz-red); color: #fff; }
