/* Brand colours: primary #0F4028, secondary #7EB015 */

/* Domine (SIL Open Font License, see /fonts/domine/OFL.txt), self-hosted; variable weight 400–700 */
@font-face {
    font-family: 'Domine';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('/fonts/domine/domine-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Domine';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('/fonts/domine/domine-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Poppins and Barlow Condensed (SIL Open Font License, licences in the font folders), self-hosted
   instead of Google Fonts: no request to another server before text can render */
@font-face {
    font-family: 'Barlow Condensed';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('/fonts/barlow-condensed/barlow-condensed-800-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Barlow Condensed';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('/fonts/barlow-condensed/barlow-condensed-800-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('/fonts/poppins/poppins-300-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('/fonts/poppins/poppins-300-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/fonts/poppins/poppins-400-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/fonts/poppins/poppins-400-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('/fonts/poppins/poppins-500-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('/fonts/poppins/poppins-500-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('/fonts/poppins/poppins-600-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('/fonts/poppins/poppins-600-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/fonts/poppins/poppins-700-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/fonts/poppins/poppins-700-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Page canvas in the footer colour: scrolling past the end of the page (iOS bounce,
   mobile browser bars) shows dark green instead of white; the page itself stays white. */
html { background-color: #0b2f1e; }
body { background-color: #fff; }

/* Buttons in the campaign sticker style */
.zj-btn {
    font-family: 'Barlow Condensed', 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
    line-height: 1.1;
    letter-spacing: .02em;
    text-transform: uppercase;
    text-align: center;
    text-wrap: balance;
    text-decoration: none;
    padding: .7em 1.2em;
    border: 0;
    border-radius: .35em;
    box-shadow: -4px 4px 0 #d8d8d8;
    transform: rotate(-1.5deg);
    transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease;
    cursor: pointer;
}
.zj-btn:hover {
    transform: rotate(0) translate(-2px, 2px);
    box-shadow: -2px 2px 0 #d8d8d8;
}
.zj-btn:active {
    transform: translate(-4px, 4px);
    box-shadow: none;
}
.zj-btn:focus { outline: none; }
.zj-btn:focus-visible {
    outline: 3px solid #e85a00;
    outline-offset: 3px;
}
.zj-btn--primary { background-color: #0f4028; color: #fff; }
.zj-btn--primary:hover { background-color: #e85a00; color: #fff; }
.zj-btn--secondary { background-color: #7eb015; color: #0f4028; }
.zj-btn--secondary:hover { background-color: #0f4028; color: #fff; }
@media (min-width: 768px) {
    .zj-btn { font-size: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
    .zj-btn, .zj-btn:hover, .zj-btn:active { transition: none; transform: none; }
}

/* Hero sticker */
.zj-sticker {
    display: inline-block;
    transform: rotate(-6deg);
    transform-origin: left bottom;
    filter: drop-shadow(-6px 6px 0 #d8d8d8);
    pointer-events: none;
}
.zj-sticker__text {
    font-family: 'Barlow Condensed', 'Poppins', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 1.75rem;
    line-height: 1.12;
    letter-spacing: .01em;
    padding: .05em .35em;
    border-radius: .3em;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    background: #7eb015;
    color: #0f4028;
}
.zj-sticker--orange .zj-sticker__text {
    background: #e85a00;
    color: #fff;
}
.zj-sticker-wrap {
    position: absolute;
    z-index: 20;
    left: 1rem;
    bottom: 1.25rem;
}
.zj-sticker-wrap--inline {
    position: relative;
    left: auto;
    bottom: auto;
    margin-top: 2rem;
}
@media (min-width: 768px) {
    .zj-sticker__text { font-size: 2.25rem; }
}
@media (min-width: 1024px) {
    .zj-sticker-wrap { left: -2rem; bottom: 3rem; }
    .zj-sticker-wrap--inline { left: auto; bottom: auto; }
    .zj-sticker__text { font-size: 2.75rem; }
}

/* Keep the hero description clear of the sticker that overlaps the image edge */
@media (min-width: 1024px) {
    .zj-hero-text--sticker { max-width: min(calc(50vw - 7.5rem), 33rem); }
}

/* Heroes "with buttons" and "without buttons": about 30% lower than the Tailwind
   spacing gave, so what follows shows on the first screen. */
.zj-hero .zj-hero__main { padding-top: 1.5rem; }
.zj-hero .zj-hero__col { padding-bottom: .5rem; }
/* Phones: less space under the hero, also at the top of the section after it */
@media (max-width: 639px) {
    .zj-hero + .pt-16 { padding-top: 2rem; }
    .zj-hero + .pt-16 [x-data] > .zj-people-search:first-child { margin-top: 0; }
}
.zj-hero .zj-hero__img { height: 11rem; object-position: center 25%; }
@media (min-width: 640px) {
    .zj-hero .zj-hero__main { padding-top: 2rem; }
    .zj-hero .zj-hero__col { padding-bottom: 2.5rem; }
    .zj-hero .zj-hero__img { height: 14rem; }
}
@media (min-width: 768px) {
    .zj-hero .zj-hero__img { height: 18rem; }
}
@media (min-width: 1024px) {
    .zj-hero .zj-hero__main { padding-top: 2rem; }
    .zj-hero .zj-hero__col { padding-bottom: 2rem; }
    .zj-hero .zj-hero__img { height: 100%; }
}
/* Phones: no hero photo (the <picture> gives them a blank pixel, so it isn't downloaded either);
   a sticker that sat on the photo shows under the text instead. */
.zj-hero__media picture { display: contents; }
.zj-hero__sticker-phone { display: none; }
@media (max-width: 639px) {
    .zj-hero__media { display: none; }
    .zj-hero__sticker-phone { display: block; }
    .zj-hero__sticker-phone .zj-sticker-wrap { margin: 2rem 0 .75rem .5rem; }
    .zj-hero__sticker-phone .zj-sticker__text { font-size: clamp(2.25rem, 10.5vw, 2.75rem); }
}
/* News cards ("Izpostavljamo"): the whole card opens the article, an arrow bottom right shows it;
   on phones photo, title and date only */
.zj-post-card { position: relative; transition: box-shadow .15s ease, transform .15s ease; }
.zj-post-card:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(15, 64, 40, .16); }
.zj-post-card__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.zj-post-card__link:focus { outline: none; }
.zj-post-card:has(.zj-post-card__link:focus-visible) { outline: 3px solid #e85a00; outline-offset: 2px; }
.zj-post-card__meta { justify-content: space-between; gap: 1rem; }
.zj-post-card__arrow { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: #eef5e2; color: #0f4028; transition: background-color .15s ease, color .15s ease; }
.zj-post-card__arrow svg { transition: transform .15s ease; }
.zj-post-card:hover .zj-post-card__arrow { background: #0f4028; color: #fff; }
.zj-post-card:hover .zj-post-card__arrow svg { transform: translateX(2px); }
.zj-post-card picture { display: block; }
@media (max-width: 639px) {
    .zj-post-card .zj-post-card__img { height: auto; aspect-ratio: 4 / 5; }
    .zj-post-card__excerpt { display: none; }
    .zj-post-card__body { padding: .9rem 1.1rem 1rem; }
    .zj-post-card__body h3 { margin-top: 0; }
    .zj-post-card__meta { margin-top: .6rem; }
}
@media (prefers-reduced-motion: reduce) {
    .zj-post-card, .zj-post-card:hover, .zj-post-card__arrow svg { transition: none; transform: none; }
}
/* On narrow desktops the lower hero leaves the sticker no room beside the text: smaller, on the photo. */
@media (min-width: 1024px) and (max-width: 1279px) {
    .zj-hero .zj-sticker-wrap { left: 2.5rem; bottom: 1rem; }
    .zj-hero .zj-sticker__text { font-size: 2rem; }
}

/* Election bar under the menu (global "Volilna pasica") */
.zj-bar {
    position: relative;
    z-index: 40;
    background: #0f4028;
    color: #fff;
    border-top: 3px solid #7eb015;
}
.zj-bar__inner {
    max-width: 80rem;
    margin: 0 auto;
    padding: .4rem 1rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: .5rem 1.25rem;
    color: inherit;
    text-decoration: none;
}
.zj-bar__date {
    margin: 0;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: .6rem;
    width: 100%;
    line-height: 1;
}
.zj-bar__eyebrow {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: .75rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #7eb015;
}
.zj-bar__headline {
    font-family: 'Domine', Georgia, serif;
    font-weight: 600;
    font-size: 1.35rem;
    letter-spacing: -.01em;
}
.zj-bar__items {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(9rem, max-content));
    justify-content: center;
    gap: .5rem 1rem;
}
.zj-bar__item {
    display: flex;
    align-items: center;
    gap: .55rem;
}
.zj-bar__num {
    flex-shrink: 0;
    width: 1.9rem;
    height: 1.9rem;
    border: 3px solid #7eb015;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    line-height: 1;
}
.zj-bar__text {
    display: flex;
    flex-direction: column;
    font-family: 'Poppins', sans-serif;
    font-size: .75rem;
    line-height: 1.2;
}
.zj-bar__text strong { font-weight: 600; }
@media (min-width: 768px) and (min-height: 560px) {
    .zj-bar--sticky { position: sticky; top: var(--zj-header-h, 58px); }
}
@media (min-width: 768px) {
    .zj-bar__inner { padding: .45rem 1.5rem; flex-wrap: nowrap; justify-content: center; gap: 2.25rem; }
    .zj-bar__date { width: auto; flex-direction: column; align-items: flex-start; gap: .2rem; }
    .zj-bar__eyebrow { font-size: .68rem; }
    .zj-bar__headline { font-size: 1.55rem; }
    .zj-bar__items { width: auto; display: flex; flex-wrap: nowrap; gap: 2.25rem; }
    .zj-bar__num { width: 2.6rem; height: 2.6rem; border-width: 4px; font-size: 1.3rem; }
    .zj-bar__text { font-size: .85rem; }
}
@media (min-width: 1024px) {
    .zj-bar__inner { padding: .45rem 2rem; }
}

/* Bar colours, chosen in the CMS (Globals → Volilna pasica → Barva); "temna" is the base style above */
.zj-bar--nezna { background: #eef5e2; color: #0f4028; border-top-color: #7eb015; box-shadow: inset 0 -1px 0 #d6e4c2; }
.zj-bar--nezna .zj-bar__eyebrow { color: #5e8a10; }
.zj-bar--svetla { background: #7eb015; color: #0f4028; border-top-color: #0f4028; }
.zj-bar--svetla .zj-bar__eyebrow { color: #0f4028; opacity: .8; }
.zj-bar--svetla .zj-bar__num { background: #0f4028; color: #fff; border-color: #0f4028; }
.zj-bar--oranzna { background: #e85a00; color: #fff; border-top-color: #0f4028; }
.zj-bar--oranzna .zj-bar__eyebrow { color: #ffe1cc; }
.zj-bar--oranzna .zj-bar__num { border-color: #fff; }

/* Bar button (Globals → Volilna pasica → Gumb). Below 1024px there is no room for it next to the
   numbers, so it stretches invisibly over the whole bar and the bar itself is the link. */
.zj-bar__cta { position: absolute; inset: 0; z-index: 1; opacity: 0; transform: none; }
.zj-bar:has(.zj-bar__cta:focus-visible) { outline: 3px solid #e85a00; outline-offset: -3px; }
@media (min-width: 1024px) {
    .zj-bar__cta {
        position: static;
        flex-shrink: 0;
        opacity: 1;
        padding: .5em 1.05em;
        font-size: 1.05rem;
        transform: rotate(-1.5deg);
        background-color: #0f4028;
        color: #fff;
        box-shadow: -3px 3px 0 #c9d6bd;
    }
    .zj-bar__cta:hover { background-color: #e85a00; color: #fff; }
    .zj-bar--temna .zj-bar__cta { background-color: #7eb015; color: #0f4028; box-shadow: -3px 3px 0 #0b2f1e; }
    .zj-bar--temna .zj-bar__cta:hover { background-color: #e85a00; color: #fff; }
    .zj-bar--svetla .zj-bar__cta { box-shadow: -3px 3px 0 #5e8a10; }
    .zj-bar--oranzna .zj-bar__cta { background-color: #fff; color: #0f4028; box-shadow: -3px 3px 0 #b84700; }
    .zj-bar--oranzna .zj-bar__cta:hover { background-color: #0f4028; color: #fff; }
}

/* On dark green sections the secondary button's hover would vanish into the background */
.bg-customblue-100 .zj-btn--secondary:hover,
.zj-ctaband .zj-btn--secondary:hover { background-color: #e85a00; color: #fff; }

/* Projects element (mozaik_galerija_projektov) */
.zj-projects { background: #f5f8f1; padding: 3rem 0 3.5rem; }
.zj-projects__inner { max-width: 80rem; margin: 0 auto; padding: 0 1rem; }
.zj-projects__title {
    font-family: 'Domine', Georgia, serif;
    font-weight: 600;
    font-size: 2rem;
    line-height: 1.15;
    color: #0f4028;
    margin: 0;
}
.zj-projects__tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.5rem 0 2rem; }
.zj-projects__tab {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .55rem 1.1rem;
    border: 2px solid #0f4028;
    border-radius: 999px;
    background: #fff;
    color: #0f4028;
    font-weight: 600;
    font-size: .95rem;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease;
}
.zj-projects__tab:hover { background: #e8f2d4; }
.zj-projects__tab.is-active { background: #0f4028; color: #fff; }
.zj-projects__tab:focus { outline: none; }
.zj-projects__tab:focus-visible { outline: 3px solid #e85a00; outline-offset: 2px; }
.zj-projects__count {
    font-size: .75rem;
    font-weight: 700;
    line-height: 1;
    padding: .3rem .55rem;
    border-radius: 999px;
    background: #e8f2d4;
    color: #0f4028;
}
.zj-projects__tab.is-active .zj-projects__count { background: #7eb015; }
.zj-projects__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}
.zj-projects__item--extra { display: none; }
.zj-projects__list.is-expanded .zj-projects__item--extra { display: block; }
.zj-projects__card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border-radius: .75rem;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(15, 64, 40, .06), 0 6px 16px rgba(15, 64, 40, .07);
    transition: transform .2s ease, box-shadow .2s ease;
}
.zj-projects__card:hover { transform: translateY(-3px); box-shadow: -6px 6px 0 #7eb015; }
.zj-projects__card:focus { outline: none; }
.zj-projects__card:focus-visible { outline: 3px solid #e85a00; outline-offset: 3px; }
.zj-projects__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #e3eadc; }
.zj-projects__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.zj-projects__card:hover .zj-projects__media img { transform: scale(1.04); }
.zj-projects__body { display: flex; flex-direction: column; gap: .45rem; padding: 1rem 1.1rem 1.25rem; }
.zj-projects__badge {
    align-self: flex-start;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: .25rem .6rem;
    border-radius: 999px;
}
.zj-projects__badge--zakljuceni { background: #e8f2d4; color: #0f4028; }
.zj-projects__badge--vteku { background: #fde6d6; color: #9a3a00; }
.zj-projects__name { margin: 0; font-size: 1.125rem; font-weight: 700; line-height: 1.3; color: #0f4028; }
.zj-projects__desc {
    font-size: .925rem;
    line-height: 1.5;
    color: #4b5a51;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.zj-projects__more { margin-top: 2.25rem; text-align: center; }
@media (min-width: 640px) {
    .zj-projects__list { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
    .zj-projects { padding: 4rem 0 4.5rem; }
    .zj-projects__inner { padding: 0 1.5rem; }
    .zj-projects__title { font-size: 2.6rem; }
}
@media (min-width: 1024px) {
    .zj-projects__inner { padding: 0 2rem; }
    .zj-projects__list { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}
@media (min-width: 1280px) {
    .zj-projects__list { grid-template-columns: repeat(4, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
    .zj-projects__card, .zj-projects__media img { transition: none; }
    .zj-projects__card:hover, .zj-projects__card:hover .zj-projects__media img { transform: none; }
}

/* All headings in the campaign serif (footer column labels, h4, stay sans).
   Domine: the closest free match to the campaign's Sagona. */
h1, h2, h3 {
    font-family: 'Domine', Georgia, serif;
    letter-spacing: 0;
}

/* Project modal (replaces lightbox2 on the projects element) */
.zj-pmodal { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.zj-pmodal__backdrop { position: absolute; inset: 0; background: rgba(8, 30, 19, .82); }
.zj-pmodal__dialog {
    position: relative;
    width: 100%;
    max-width: 60rem;
    /* Fixed height, so the prev/next buttons stay put whatever the photo or text */
    height: min(calc(100vh - 2rem), 42rem);
    height: min(calc(100dvh - 2rem), 42rem);
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: .9rem;
    overflow: hidden;
    box-shadow: -8px 8px 0 #7eb015, 0 20px 50px rgba(0, 0, 0, .35);
    animation: zj-pmodal-in .18s ease-out;
}
@keyframes zj-pmodal-in { from { transform: translateY(8px) scale(.985); } to { transform: none; } }
.zj-pmodal__close {
    position: absolute;
    top: .75rem;
    right: .75rem;
    z-index: 2;
    width: 2.6rem;
    height: 2.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    color: #0f4028;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
}
.zj-pmodal__close:hover { background: #7eb015; }
.zj-pmodal__media {
    position: relative;
    flex: 0 0 50%;
    background: #0b2f1e;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.zj-pmodal__media img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; transition: opacity .15s ease; }
.zj-pmodal__media.is-loading img { opacity: .25; }
.zj-pmodal__spinner {
    position: absolute;
    width: 2.4rem;
    height: 2.4rem;
    border: 3px solid rgba(255, 255, 255, .25);
    border-top-color: #7eb015;
    border-radius: 50%;
    opacity: 0;
    animation: zj-spin .8s linear infinite;
}
.zj-pmodal__media.is-loading .zj-pmodal__spinner { opacity: 1; }
@keyframes zj-spin { to { transform: rotate(360deg); } }
.zj-pmodal__body { flex: 1 1 0; min-height: 0; padding: 1.1rem 1.25rem 1rem; overflow-y: auto; overscroll-behavior: contain; }
.zj-pmodal__title { margin: .5rem 0 .4rem; font-size: 1.4rem; line-height: 1.2; font-weight: 700; color: #0f4028; }
.zj-pmodal__desc { margin: 0; font-size: 1rem; line-height: 1.55; color: #33443a; }
.zj-pmodal__nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1rem; padding-top: .9rem; border-top: 1px solid #e6ece1; }
.zj-pmodal__nav--bar { flex: 0 0 auto; margin-top: 0; padding: .75rem 1.25rem; background: #fff; box-shadow: 0 -6px 14px rgba(15, 64, 40, .06); }
.zj-pmodal__navbtn {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .5rem .9rem;
    border: 2px solid #0f4028;
    border-radius: 999px;
    background: #fff;
    color: #0f4028;
    font-weight: 600;
    font-size: .9rem;
    cursor: pointer;
}
.zj-pmodal__navbtn:hover { background: #0f4028; color: #fff; }
.zj-pmodal__counter { font-size: .85rem; font-weight: 600; color: #5c6b62; }
.zj-pmodal__close:focus, .zj-pmodal__navbtn:focus { outline: none; }
.zj-pmodal__close:focus-visible, .zj-pmodal__navbtn:focus-visible { outline: 3px solid #e85a00; outline-offset: 2px; }
@media (min-width: 768px) {
    .zj-pmodal { padding: 2rem; }
    .zj-pmodal__dialog { height: min(calc(100vh - 4rem), 50rem); height: min(calc(100dvh - 4rem), 50rem); }
    .zj-pmodal__media { flex-basis: 62%; }
    .zj-pmodal__nav--bar { padding: .9rem 1.75rem; }
    .zj-pmodal__body { padding: 1.4rem 1.75rem 1.25rem; }
    .zj-pmodal__title { font-size: 1.75rem; }
}
@media (max-width: 480px) {
    .zj-pmodal__navbtn { padding: .5rem .7rem; }
}
@media (prefers-reduced-motion: reduce) {
    .zj-pmodal__dialog, .zj-pmodal__spinner { animation: none; }
}

/* "Back to listing" link on entry pages */
.zj-back,
.prose a.zj-back {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .45rem 1rem .45rem .75rem;
    border-radius: 999px;
    background: #eef5e2;
    color: #0f4028;
    font-weight: 600;
    font-size: .925rem;
    line-height: 1.2;
    text-decoration: none;
    transition: background-color .15s ease, color .15s ease;
}
.zj-back svg { transition: transform .15s ease; }
.zj-back:hover,
.prose a.zj-back:hover { background: #0f4028; color: #fff; }
.zj-back:hover svg { transform: translateX(-3px); }
.zj-back:focus { outline: none; }
.zj-back:focus-visible { outline: 3px solid #e85a00; outline-offset: 2px; }

/* The back link above the content stays under the menu (and sticky election bar) while reading.
   clip instead of hidden on the wrapper: still hides the decorative pattern, but does not stop sticky */
.single_article.overflow-hidden { overflow: clip; }
.zj-back-bar { position: sticky; top: calc(var(--zj-sticky-h, 58px) + .75rem); z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 1rem; pointer-events: none; }
.zj-back-bar .zj-back,
.zj-back-bar .zj-share { pointer-events: auto; box-shadow: 0 4px 14px rgba(15, 64, 40, .14); }
.zj-back-bar .zj-share--page { width: 2.4rem; height: 2.4rem; margin-left: auto; border-color: #eef5e2; background: #eef5e2; }
.zj-back-bar .zj-share--page:hover { border-color: #0f4028; background: #0f4028; }
/* Phones: away while scrolling down, back when scrolling up (/js/zj-interactive.js, backBar) */
.zj-back-bar { transition: transform .2s ease, opacity .2s ease; }
.zj-back-bar.is-tucked { transform: translateY(-1rem); opacity: 0; }
.zj-back-bar.is-tucked .zj-back, .zj-back-bar.is-tucked .zj-share { pointer-events: none; }
@media (prefers-reduced-motion: reduce) {
    .zj-back-bar { transition: none; }
}

/* Entry pages on phones: less empty space above the title, between the date and the content, and after it */
@media (max-width: 639px) {
    .zj-entry-head { padding-top: 0; padding-bottom: 1rem; }
    .zj-entry-head > .zj-entry-head__inner { margin-top: 2rem; }
    .single_article.py-16 { padding-top: .5rem; padding-bottom: 2.5rem; }
    .single_article .zj-back-bar + img { margin-top: 1rem; }
}
/* … and on tablets and desktop: about half the space above the title and between the date and the content */
@media (min-width: 640px) {
    .zj-entry-head { padding-top: 0; padding-bottom: 1.5rem; }
    .zj-entry-head > .zj-entry-head__inner { margin-top: 3rem; }
    .single_article.py-16 { padding-top: 1rem; }
}

/* Header dropdown (sub menu style-1) */
.zj-dropdown-panel { background: #fff; border-top: 3px solid #7eb015; box-shadow: 0 18px 40px rgba(15, 64, 40, .14); }
.zj-dropdown { max-width: 80rem; margin: 0 auto; padding: 1.5rem 1rem; }
.zj-dropdown__grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(13rem, 16.5rem));
    justify-content: center;
    gap: .75rem;
}
.zj-dropdown__item {
    display: flex;
    align-items: center;
    gap: .85rem;
    height: 100%;
    padding: .85rem 1rem;
    border: 1px solid #e3eadd;
    border-radius: .8rem;
    background: #fff;
    color: #0f4028;
    text-decoration: none;
    transition: background-color .15s ease, border-color .15s ease;
}
.zj-dropdown__item:hover, .zj-dropdown__item.is-current { background: #f2f7e9; border-color: #7eb015; }
.zj-dropdown__item:focus { outline: none; }
.zj-dropdown__item:focus-visible { outline: 3px solid #e85a00; outline-offset: 2px; }
.zj-dropdown__icon {
    flex-shrink: 0;
    width: 2.75rem;
    height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #e5f0cf;
    color: #0f4028;
}
.zj-dropdown__icon svg { width: 1.35rem; height: 1.35rem; }
.zj-dropdown__item:hover .zj-dropdown__icon, .zj-dropdown__item.is-current .zj-dropdown__icon { background: #0f4028; color: #fff; }
.zj-dropdown__text { flex: 1 1 auto; display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.zj-dropdown__title { font-family: 'Domine', Georgia, serif; font-weight: 700; font-size: 1.1rem; line-height: 1.2; }
.zj-dropdown__desc { font-size: .85rem; line-height: 1.35; color: #4b5a51; }
.zj-dropdown__arrow { flex-shrink: 0; opacity: .45; transition: transform .15s ease, opacity .15s ease; }
.zj-dropdown__item:hover .zj-dropdown__arrow { opacity: 1; transform: translateX(3px); }
@media (min-width: 1024px) {
    .zj-dropdown { padding: 2rem 2rem 2.25rem; }
}

/* Image + text split (simple_stacked_image_left / _right): same image size on both */
.zj-split { background: #fff; padding: 3rem 0; }
.zj-split__inner {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
    align-items: center;
}
.zj-split__media { aspect-ratio: 4 / 3; overflow: hidden; border-radius: .9rem; background: #e3eadc; }
.zj-split__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.zj-split__ctas { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
@media (min-width: 768px) {
    .zj-split { padding: 4rem 0; }
    .zj-split__inner { padding: 0 1.5rem; }
}
@media (min-width: 1024px) {
    .zj-split { padding: 5rem 0; }
    .zj-split__inner { grid-template-columns: 1fr 1fr; gap: 3.5rem; padding: 0 2rem; }
    .zj-split--image-right .zj-split__media { order: 2; }
}

/* Court cases / Q&A groups (faq_centered_accordion) */
.zj-cases { background: #fff; padding: 3rem 0; }
.zj-cases + .zj-cases { padding-top: 0; }
.zj-cases__inner { max-width: 52rem; margin: 0 auto; padding: 0 1rem; }
.zj-cases__title { margin: 0; font-size: 1.75rem; line-height: 1.2; font-weight: 700; color: #0f4028; }
.zj-cases__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .9rem; margin: .9rem 0 0; font-size: .9rem; color: #4b5a51; }
.zj-cases__asof { padding: .25rem .7rem; border-radius: 999px; background: #eef5e2; color: #0f4028; font-weight: 600; }
.zj-cases__list { display: flex; flex-direction: column; gap: .75rem; margin-top: 1.5rem; }
.zj-cases__empty { margin-top: 1rem; color: #4b5a51; }

.zj-case { border: 1px solid #e3eadd; border-radius: .9rem; background: #fff; transition: border-color .15s ease, box-shadow .15s ease; }
.zj-case:hover { border-color: #b9d58a; }
.zj-case[open] { border-color: #7eb015; box-shadow: -5px 5px 0 #e5f0cf; }
.zj-case__summary {
    display: flex;
    align-items: center;
    gap: .85rem;
    padding: 1rem 1.1rem;
    cursor: pointer;
    list-style: none;
}
.zj-case__summary::-webkit-details-marker { display: none; }
.zj-case__summary:focus { outline: none; }
.zj-case__summary:focus-visible { outline: 3px solid #e85a00; outline-offset: 2px; border-radius: .9rem; }
.zj-case__num {
    flex-shrink: 0;
    width: 2.1rem;
    height: 2.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 2px solid #7eb015;
    color: #0f4028;
    font-weight: 800;
    font-size: .95rem;
}
.zj-case__title { flex: 1 1 auto; font-weight: 700; font-size: 1.05rem; line-height: 1.35; color: #0f4028; }
.zj-case__status {
    flex-shrink: 0;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: .3rem .6rem;
    border-radius: 999px;
    white-space: nowrap;
}
.zj-case__status--zakljuceno { background: #e5f0cf; color: #0f4028; }
.zj-case__status--predkazenski { background: #fde6d6; color: #9a3a00; }
.zj-case__status--sojenje, .zj-case__status--ponovljeno { background: #e6edf3; color: #24425c; }
.zj-case__chevron { flex-shrink: 0; color: #0f4028; opacity: .6; transition: transform .2s ease; }
.zj-case[open] .zj-case__chevron { transform: rotate(180deg); opacity: 1; }

.zj-case__body { padding: .25rem 1.25rem 1.4rem 4.1rem; color: #2f3d35; font-size: 1rem; line-height: 1.65; }
.zj-case--plain .zj-case__body { padding-left: 1.1rem; }
.zj-case__body p { margin: .6rem 0; }
.zj-case__body strong { color: #13281d; }
.zj-case__body a { color: #0f4028; text-decoration: underline; text-underline-offset: 2px; }
.zj-case__body ul { list-style: none; margin: .9rem 0; padding: 0 0 0 1.25rem; border-left: 2px solid #d6e6b8; }
.zj-case__body li { position: relative; margin: 0 0 .9rem; padding-left: .25rem; }
.zj-case__body li::before {
    content: "";
    position: absolute;
    left: -1.25rem;
    top: .55rem;
    width: .75rem;
    height: .75rem;
    margin-left: -.4rem;
    border-radius: 999px;
    background: #7eb015;
    box-shadow: 0 0 0 3px #fff;
}
.zj-case__body li > p { margin: 0; }
.zj-case__body li > p > strong:first-child { color: #0f4028; }

@media (max-width: 640px) {
    .zj-case__summary { flex-wrap: wrap; }
    .zj-case__title { flex-basis: calc(100% - 6rem); }
    .zj-case__status { order: 3; margin-left: 2.95rem; }
    .zj-case__body { padding: .25rem 1rem 1.25rem 1.1rem; }
}
@media (min-width: 768px) {
    .zj-cases { padding: 4rem 0; }
    .zj-cases__title { font-size: 2.2rem; }
}
@media (prefers-reduced-motion: reduce) {
    .zj-case__chevron { transition: none; }
}

/* Instagram reels strip (demo until the API is connected) */
.zj-reels { background: #0f4028; color: #fff; padding: 3rem 0 3.25rem; overflow: hidden; }
.zj-reels__inner { max-width: 80rem; margin: 0 auto; padding: 0 1rem; }
.zj-reels__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 1.5rem; }
.zj-reels__eyebrow { margin: 0 0 .35rem; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #7eb015; }
.zj-reels__title { margin: 0; font-size: 2rem; line-height: 1.1; font-weight: 700; color: #fff; }
.zj-reels__actions { display: flex; align-items: center; gap: .6rem; }
.zj-reels__arrow {
    display: none;
    width: 2.75rem;
    height: 2.75rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, .5);
    background: transparent;
    color: #fff;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.zj-reels__arrow:hover { background: #fff; border-color: #fff; color: #0f4028; }
.zj-reels__arrow:focus { outline: none; }
.zj-reels__arrow:focus-visible { outline: 3px solid #e85a00; outline-offset: 2px; }
/* Prev/next under the posts, centred (desktop; phones swipe) */
.zj-reels__nav { display: none; justify-content: center; gap: .75rem; margin-top: 1.25rem; }
.zj-reels .zj-btn--secondary:hover { background-color: #e85a00; color: #fff; }
.zj-reels__follow { margin-left: .4rem; }
.zj-reels__demo { margin: 1rem 0 0; font-size: .85rem; color: rgba(255, 255, 255, .7); }
.zj-reels__track {
    list-style: none;
    margin: 1.5rem -1rem 0;
    padding: .25rem 1rem 1rem;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 62%;
    gap: .9rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 1rem;
    scrollbar-width: none;
}
.zj-reels__track::-webkit-scrollbar { display: none; }
.zj-reels__item { scroll-snap-align: start; }
.zj-reel {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 9 / 16;
    padding: 0;
    border: 0;
    border-radius: 1rem;
    overflow: hidden;
    background: #0b2f1e;
    color: #fff;
    text-align: left;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
}
.zj-reel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.zj-reel__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .35) 0%, rgba(0, 0, 0, 0) 22%, rgba(0, 0, 0, 0) 50%, rgba(5, 25, 15, .88) 100%); }
.zj-reel__ago {
    position: absolute;
    top: .7rem;
    left: .7rem;
    padding: .2rem .55rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    color: #0f4028;
    font-size: .75rem;
    font-weight: 700;
}
.zj-reel__icon { position: absolute; top: .7rem; right: .7rem; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .5)); }
.zj-reel__play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 3.4rem;
    height: 3.4rem;
    margin: -1.7rem 0 0 -1.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: .2rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .25);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: .85;
    transition: opacity .2s ease, transform .2s ease, background-color .2s ease;
}
.zj-reel__caption {
    position: absolute;
    left: .85rem;
    right: .85rem;
    bottom: .85rem;
    font-weight: 700;
    font-size: .95rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.zj-reel:hover, .zj-reel:focus-visible { transform: translateY(-4px); box-shadow: -6px 6px 0 #7eb015; }
.zj-reel:hover img { transform: scale(1.05); }
.zj-reel:hover .zj-reel__play { background: #e85a00; opacity: 1; transform: scale(1.08); }
.zj-reel:focus { outline: none; }
.zj-reel:focus-visible { outline: 3px solid #e85a00; outline-offset: 3px; }

.zj-rmodal { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; padding: 1rem; color: #13281d; }
.zj-rmodal__backdrop { position: absolute; inset: 0; background: rgba(8, 30, 19, .88); }
.zj-rmodal__dialog {
    position: relative;
    width: 100%;
    max-width: 22rem;
    max-height: calc(100vh - 2rem);
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: -8px 8px 0 #7eb015, 0 20px 50px rgba(0, 0, 0, .35);
    animation: zj-pmodal-in .18s ease-out;
}
.zj-rmodal__media { position: relative; flex: 0 0 auto; aspect-ratio: 9 / 16; max-height: 50vh; background: #0b2f1e; }
.zj-rmodal__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.zj-rmodal__play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4.2rem;
    height: 4.2rem;
    margin: -2.1rem 0 0 -2.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: .25rem;
    border-radius: 999px;
    background: #e85a00;
    color: #fff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .3);
}
.zj-rmodal__note {
    position: absolute;
    left: 50%;
    bottom: .8rem;
    transform: translateX(-50%);
    white-space: nowrap;
    padding: .25rem .7rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, .55);
    color: #fff;
    font-size: .75rem;
    font-weight: 600;
}
.zj-rmodal__body { padding: 1rem 1.15rem; overflow-y: auto; }
.zj-rmodal__handle { margin: 0; font-size: .85rem; color: #4b5a51; }
.zj-rmodal__title { margin: .35rem 0 .3rem; font-size: 1.2rem; line-height: 1.25; font-weight: 700; color: #0f4028; }
.zj-rmodal__text { margin: 0; font-size: .95rem; line-height: 1.5; color: #33443a; }
.zj-rmodal__cta { display: inline-block; margin-top: 1.25rem; align-self: flex-start; }
@media (max-width: 767px) {
    /* Phones: video/photo + title + buttons, all within the visible screen
       (dvh: iOS Safari's 100vh is taller than what's visible) */
    .zj-rmodal__dialog { max-height: calc(100dvh - 2rem); }
    .zj-rmodal__media { width: 100%; aspect-ratio: auto; height: min(55vh, calc(100vh - 2rem - 16rem)); height: min(55dvh, calc(100dvh - 2rem - 16rem)); max-height: none; }
    .zj-rmodal__media img { object-fit: contain; }
    .zj-rmodal__body { padding: .85rem 1.1rem 1rem; overflow: visible; }
    .zj-rmodal__title { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 1.1rem; }
    .zj-rmodal__text { display: none !important; }
    .zj-rmodal__cta { margin-top: .75rem; }
    .zj-rmodal__body .zj-pmodal__nav { margin-top: .85rem; padding-top: .75rem; }
}

@media (min-width: 640px) {
    .zj-reels__track { grid-auto-columns: 38%; }
}
@media (min-width: 768px) {
    .zj-reels { padding: 4rem 0 4.25rem; }
    .zj-reels__inner { padding: 0 1.5rem; }
    .zj-reels__title { font-size: 2.6rem; }
    .zj-reels__arrow { display: inline-flex; }
    .zj-reels__nav { display: flex; }
    .zj-reels__track { margin: 1.75rem 0 0; padding: .25rem 0 1rem; grid-auto-columns: 14.5rem; gap: 1.1rem; scroll-padding: 0; }
    .zj-rmodal__dialog { max-width: 54rem; flex-direction: row; max-height: min(42rem, calc(100vh - 4rem)); }
    .zj-rmodal__media { flex: 0 0 auto; height: min(42rem, calc(100vh - 4rem)); max-height: none; }
    .zj-rmodal__body { flex: 1 1 auto; display: flex; flex-direction: column; padding: 2.75rem 1.75rem 1.5rem; }
    .zj-rmodal__title { font-size: 1.6rem; }
    .zj-rmodal__body .zj-pmodal__nav { margin-top: auto; }
}
@media (min-width: 1024px) {
    .zj-reels__inner { padding: 0 2rem; }
}
@media (prefers-reduced-motion: reduce) {
    .zj-reel, .zj-reel img, .zj-reel__play { transition: none; }
    .zj-reel:hover, .zj-reel:hover img { transform: none; }
}
.zj-reel__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.zj-rmodal__video { display: block; width: 100%; height: 100%; object-fit: contain; background: #000; }

/* ── Mobile UX ─────────────────────────────────────────────────────────── */

/* Pagination: real 44px tap targets, clear current page */
.zj-pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .4rem; list-style: none; padding: 0; }
.zj-pager li { padding: 0 !important; }
.zj-pager a, .zj-pager li > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.75rem;
    min-height: 2.75rem;
    padding: 0 .9rem;
    border-radius: 999px;
    border: 1.5px solid #d6e2c8;
    color: #0f4028;
    font-weight: 600;
    font-size: .95rem;
    text-decoration: none;
}
.zj-pager a:hover { background: #0f4028; border-color: #0f4028; color: #fff; text-decoration: none; }
.zj-pager a.underline, .zj-pager li.active > span { background: #0f4028; border-color: #0f4028; color: #fff; text-decoration: none; }
.zj-pager li.disabled > span { border-color: transparent; }

/* Footer links: 44px tall tap targets */
.bg-customblue-300 li.mt-4 { margin-top: 0; }
.bg-customblue-300 ul a { display: inline-block; padding: .625rem 0; }

@media (max-width: 639px) {
    /* Candidates two per row instead of one long column */
    .zj-people-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; max-width: none; margin-top: 2rem; }
    .zj-people-grid img { height: auto; aspect-ratio: 4 / 5; object-position: center 25%; }
    .zj-people-grid .p-6 { padding: .7rem .75rem .9rem; }
    .zj-people-grid .mt-6 { margin-top: 0; }
    .zj-people-grid p.text-xl { font-size: .95rem; line-height: 1.25; margin-bottom: .3rem; }
    .zj-people-grid .text-gray-700 { font-size: .78rem; line-height: 1.3; flex-wrap: wrap; }

}

/* Supporter quotes: 5 lines on the cards (full text on the supporter's page); only cut quotes fade out */
.zj-clamp { position: relative; max-height: 7.5em; overflow: hidden; }
.zj-clamp > :first-child { margin-top: 0; }
.zj-clamp.is-cut { -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent); mask-image: linear-gradient(180deg, #000 60%, transparent); }
/* Short "Podporniki" section (home page), four supporters: two by two up to desktop, then four in a row */
@media (min-width: 640px) and (max-width: 1023px) {
    .zj-supporters-teaser[data-zj-people] { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 44rem; margin-left: auto; margin-right: auto; }
}

@media (max-width: 767px) {
    /* Stand-alone links (a whole paragraph/list item) get a finger-sized hit area */
    .prose p > a:only-child, .prose li > a:only-child, .content-section p > a:only-child, .content-section li > a:only-child, .zj-404 li > a:only-child, .zj-404 p > a:only-child { display: inline-block; padding: .4rem 0; }
}

/* Election bar on phones: only the two ballot numbers (date row dropped) */
@media (max-width: 767px) {
    .zj-bar__date { display: none; }
    .zj-bar__inner { padding-top: .4rem; padding-bottom: .4rem; }
    /* Without ballot numbers (the second round) the date stays, beside the name, in one row */
    .zj-bar:not(:has(.zj-bar__num)) .zj-bar__inner { flex-wrap: nowrap; gap: 1.1rem; }
    .zj-bar:not(:has(.zj-bar__num)) .zj-bar__date { display: flex; width: auto; flex-direction: column; align-items: flex-start; gap: .2rem; }
    .zj-bar:not(:has(.zj-bar__num)) .zj-bar__eyebrow { font-size: .6rem; letter-spacing: .12em; white-space: nowrap; }
    .zj-bar:not(:has(.zj-bar__num)) .zj-bar__headline { font-size: 1.2rem; white-space: nowrap; }
    .zj-bar:not(:has(.zj-bar__num)) .zj-bar__items { width: auto; display: flex; }
}

/* Phones, variant B (November 2026): without ballot numbers, the date stays on the left and the bar's button
   is visible on the right in place of the name (the name is in the logo above), with the desktop look; under
   them one line on early voting (App\Tags\ElectionInfoTag::earlyBar, until 26 November). The arrow is only
   drawn here, after the text in its span (one line with the last word), so the button's text (and its Plausible "CTA klik" label) stays "Kje in kako glasovati".
   Not on the home page and the voting page (body.zj-bar-plain, layout.antlers.html): there the bar stays
   as before, the whole bar being the link. From 768 px up nothing changes. */
.zj-bar__early { display: none; }
@media (max-width: 767px) {
    body:not(.zj-bar-plain) .zj-bar:not(:has(.zj-bar__num)) .zj-bar__inner { flex-wrap: wrap; justify-content: space-between; column-gap: .9rem; row-gap: .35rem; padding-bottom: .5rem; }
    body:not(.zj-bar-plain) .zj-bar:not(:has(.zj-bar__num)) .zj-bar__items { display: none; }
    body:not(.zj-bar-plain) .zj-bar:not(:has(.zj-bar__num)) .zj-bar__date { order: 1; }
    body:not(.zj-bar-plain) .zj-bar:not(:has(.zj-bar__num)) .zj-bar__cta {
        order: 2;
        position: static;
        flex: 1 1 0;
        max-width: 12.5rem;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: .45em 1em;
        font-size: 1rem;
        line-height: 1.05;
        opacity: 1;
        transform: rotate(-1.5deg);
        background-color: #0f4028;
        color: #fff;
        box-shadow: -3px 3px 0 #c9d6bd;
    }
    body:not(.zj-bar-plain) .zj-bar:not(:has(.zj-bar__num)) .zj-bar__cta-text::after { content: " \2192"; content: " \2192" / ""; }
    body:not(.zj-bar-plain) .zj-bar--temna:not(:has(.zj-bar__num)) .zj-bar__cta { background-color: #7eb015; color: #0f4028; box-shadow: -3px 3px 0 #0b2f1e; }
    body:not(.zj-bar-plain) .zj-bar--svetla:not(:has(.zj-bar__num)) .zj-bar__cta { box-shadow: -3px 3px 0 #5e8a10; }
    body:not(.zj-bar-plain) .zj-bar--oranzna:not(:has(.zj-bar__num)) .zj-bar__cta { background-color: #fff; color: #0f4028; box-shadow: -3px 3px 0 #b84700; }
    /* The visible button has its own focus ring (.zj-btn:focus-visible), not the whole bar's. */
    body:not(.zj-bar-plain) .zj-bar:not(:has(.zj-bar__num)):has(.zj-bar__cta:focus-visible) { outline: none; }
    body:not(.zj-bar-plain) .zj-bar:not(:has(.zj-bar__num)) .zj-bar__early { order: 3; display: block; width: 100%; margin: 0; text-align: center; font-family: 'Poppins', sans-serif; font-size: .8rem; line-height: 1.3; color: inherit; }
    .zj-bar__early b { font-weight: 700; }
}

/* Mobile menu: full-screen brand overlay */
.zj-mnav {
    position: fixed;
    inset: 0;
    z-index: 70;
    display: flex;
    flex-direction: column;
    background: #0f4028;
    color: #fff;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding-bottom: env(safe-area-inset-bottom);
}
.zj-mnav__top {
    position: sticky;
    top: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 58px;
    padding: .25rem .5rem .25rem 1rem;
    background: #0f4028;
    border-bottom: 3px solid #7eb015;
}
.zj-mnav__logo img { display: block; height: 50px; width: auto; }
.zj-mnav__close {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #fff;
    cursor: pointer;
}
.zj-mnav__close:focus { outline: none; }
.zj-mnav__close:focus-visible { outline: 3px solid #e85a00; }
.zj-mnav__nav { flex: 1 0 auto; display: flex; flex-direction: column; padding: .5rem 1.25rem 1.5rem; }
.zj-mnav__list, .zj-mnav__list ul { list-style: none; margin: 0; padding: 0; }
.zj-mnav__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 52px;
    padding: .65rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    color: #fff;
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none;
}
.zj-mnav__link svg { flex-shrink: 0; opacity: .5; }
.zj-mnav__link:hover, .zj-mnav__link:active, .zj-mnav__link.is-current { color: #a8d45a; }
.zj-mnav__link.is-current svg { opacity: 1; }
.zj-mnav__link:focus { outline: none; }
.zj-mnav__link:focus-visible { outline: 3px solid #e85a00; outline-offset: -3px; }
.zj-mnav__link--sub { font-size: 1.05rem; font-weight: 500; }
/* Groups ("Postopki in dejstva", "Mestna občina") fold open on tap, so the menu fits one screen */
.zj-mnav__toggle { width: 100%; background: none; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .12); font-family: inherit; text-align: left; cursor: pointer; }
.zj-mnav__toggle svg { opacity: 1; color: #7eb015; transition: transform .2s ease; }
.zj-mnav__toggle[aria-expanded="true"] { color: #a8d45a; }
.zj-mnav__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.zj-mnav__sub { margin: .35rem 0 .6rem; padding: .2rem 0; border-radius: .6rem; background: #0b2f1e; }
.zj-mnav__sub .zj-mnav__link { min-height: 46px; padding-left: 1.5rem; padding-right: 1rem; border-bottom-color: rgba(255, 255, 255, .08); }
.zj-mnav__sub li:last-child .zj-mnav__link { border-bottom: 0; }
/* "More below" hint, shown by the script in _menu while the menu is taller than the screen */
.zj-mnav__more {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4.5rem;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: calc(.6rem + env(safe-area-inset-bottom));
    background: linear-gradient(rgba(15, 64, 40, 0), #0f4028 75%);
    color: #a8d45a;
    pointer-events: none;
    opacity: 0;
    transition: opacity .2s ease;
}
.zj-mnav.has-more .zj-mnav__more { opacity: 1; }
.zj-mnav__more svg { animation: zj-mnav-nudge 1.4s ease-in-out infinite; }
@keyframes zj-mnav-nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }
@media (prefers-reduced-motion: reduce) { .zj-mnav__more svg { animation: none; } }
/* The menu button sits at the bottom of the empty space, just above the social icons */
.zj-mnav__nav > .zj-mnav__list { margin-bottom: 1.5rem; }
.zj-mnav__cta { margin-top: auto; width: 100%; }
.zj-mnav__social { display: flex; gap: .6rem; padding: 1rem 1.25rem 1.5rem; border-top: 1px solid rgba(255, 255, 255, .12); }
.zj-mnav__social a {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    color: #fff;
}
.zj-mnav__social a:hover { background: #7eb015; color: #0f4028; }
@media (min-width: 768px) {
    .zj-mnav { display: none !important; }
}

/* The header stays on top while scrolling (all screen sizes); the sticky election bar sits right
   under it. --zj-header-h and --zj-sticky-h (header + sticky bar) are measured in layout.antlers.html. */
.zj-header { position: sticky; top: 0; }
html { scroll-padding-top: calc(var(--zj-sticky-h, 58px) + var(--zj-toc-h, 0px) + 1rem); }

/* Volilni štab section: photo, address, opening hours and upcoming events */
.zj-stab { background: #f2f6ef; padding: 3.5rem 1.25rem; }
.zj-stab__inner { max-width: 72rem; margin: 0 auto; display: grid; gap: 2.25rem; align-items: center; }
.zj-stab__media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 1rem;
    box-shadow: -8px 8px 0 #7eb015;
}
.zj-stab__eyebrow {
    margin: 0 0 .5rem;
    font-family: 'Barlow Condensed', 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #5e8a10;
}
.zj-stab__title { margin: 0 0 1rem; font-family: 'Domine', Georgia, serif; font-size: 2rem; line-height: 1.15; font-weight: 700; color: #0f4028; }
.zj-stab__desc { color: #33443a; font-size: 1.05rem; line-height: 1.65; }
.zj-stab__desc p { margin: 0 0 .9rem; }
.zj-stab__desc a { color: #0f4028; text-decoration: underline; }
.zj-stab__address { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .6rem; margin: .5rem 0 1.25rem; font-weight: 600; color: #0f4028; }
.zj-stab__address svg { flex-shrink: 0; color: #7eb015; }
.zj-stab__address a { font-weight: 500; font-size: .95rem; color: #0f4028; text-decoration: underline; text-underline-offset: 3px; }
.zj-stab__address a:hover { color: #e85a00; }
.zj-stab__hours { background: #fff; border-radius: .9rem; padding: 1.1rem 1.25rem; box-shadow: 0 6px 20px rgba(15, 64, 40, .08); }
.zj-stab__hours-title { margin: 0 0 .5rem; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #5e8a10; }
.zj-stab__hours dl { margin: 0; }
.zj-stab__hours-row { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-top: 1px solid #e6ece1; }
.zj-stab__hours-row:first-child { border-top: 0; }
.zj-stab__hours dt { color: #33443a; }
.zj-stab__hours dd { margin: 0; font-weight: 700; color: #0f4028; white-space: nowrap; }

.zj-stab__events { max-width: 72rem; margin: 3rem auto 0; }
.zj-stab__events:not(:has(.zj-event)) { display: none; }
.zj-stab__events-title { margin: 0 0 1.25rem; font-family: 'Domine', Georgia, serif; font-size: 1.6rem; font-weight: 700; color: #0f4028; }
.zj-stab__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.zj-event { display: flex; gap: 1rem; align-items: stretch; background: #fff; border-radius: .9rem; padding: 1rem; box-shadow: 0 6px 20px rgba(15, 64, 40, .08); }
.zj-event__date {
    flex: 0 0 5.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: .6rem .25rem;
    border-radius: .7rem;
    /* Soft green, so the date doesn't read as a dark CTA button */
    background: #eef5e2;
    color: #0f4028;
    text-align: center;
    line-height: 1.1;
}
.zj-event__weekday { font-size: .7rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #4a6e0c; }
.zj-event__day { font-family: 'Domine', Georgia, serif; font-size: 2rem; font-weight: 700; }
.zj-event__month { font-size: .8rem; }
.zj-event__body { min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.zj-event__time { margin: 0 0 .2rem; font-size: .85rem; font-weight: 600; color: #5e8a10; }
.zj-event__headline {
    margin: 0 0 .2rem;
    font-family: 'Barlow Condensed', 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.35rem;
    line-height: 1.05;
    text-transform: uppercase;
    color: #e85a00;
}
.zj-event__text { margin: 0; color: #33443a; line-height: 1.4; }

@media (min-width: 768px) {
    .zj-stab { padding: 5rem 2rem; }
    .zj-stab__inner { grid-template-columns: 1.05fr 1fr; gap: 3.5rem; }
    .zj-stab__title { font-size: 2.4rem; }
    .zj-stab__list { grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr)); }
}

/* Home page teaser for the Volilni štab events (events come from the štab section) */
.zj-stabteaser { background: #f2f6ef; padding: 3rem 1.25rem; }
.zj-stabteaser__inner {
    max-width: 72rem;
    margin: 0 auto;
    display: grid;
    grid-template-areas: "head" "list" "cta";
    gap: 1.25rem;
}
.zj-stabteaser__head { grid-area: head; }
.zj-stabteaser__list { grid-area: list; }
.zj-stabteaser__cta { grid-area: cta; }
.zj-stabteaser__title { margin: 0 0 .4rem; font-family: 'Domine', Georgia, serif; font-size: 1.9rem; line-height: 1.15; font-weight: 700; color: #0f4028; }
.zj-stabteaser__meta { display: flex; flex-direction: column; gap: .25rem; margin: 0; color: #33443a; font-size: .95rem; }
@media (min-width: 768px) {
    .zj-stabteaser { padding: 3.5rem 2rem; }
    .zj-stabteaser__inner { grid-template-areas: "head cta" "list list"; grid-template-columns: 1fr auto; align-items: end; gap: 1.5rem 2rem; }
    .zj-stabteaser__title { font-size: 2.2rem; }
    .zj-stabteaser__meta { flex-direction: row; flex-wrap: wrap; gap: .25rem 1.1rem; }
    .zj-stabteaser__meta span + span::before { content: '·'; margin-right: 1.1rem; color: #7eb015; font-weight: 700; }
}

/* Centered hero: title, subtitle and up to two buttons */
.zj-chero { background: #fff; padding: 3.5rem 1.25rem 1rem; text-align: center; }
.zj-chero__inner { max-width: 48rem; margin: 0 auto; }
.zj-chero__title { margin: 0; font-family: 'Domine', Georgia, serif; font-weight: 700; font-size: 2.4rem; line-height: 1.1; letter-spacing: -.01em; color: #0f4028; text-wrap: balance; }
.zj-chero__subtitle { margin: 1rem auto 0; max-width: 38rem; font-size: 1.1rem; line-height: 1.6; color: #33443a; text-wrap: pretty; }
.zj-chero__subtitle a { color: #0f4028; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.zj-chero__subtitle a:hover { color: #e85a00; }
.zj-chero__subtitle strong { font-weight: 700; color: #0f4028; }
.zj-chero__buttons { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.75rem; }
@media (min-width: 640px) {
    .zj-chero__buttons { flex-direction: row; justify-content: center; }
}
@media (min-width: 768px) {
    .zj-chero { padding: 5rem 2rem 1.5rem; }
    .zj-chero__title { font-size: 3.4rem; }
    .zj-chero__subtitle { font-size: 1.25rem; }
}

/* ── Biography modules (also usable on other pages) ───────────────────────── */
.zj-wrap { max-width: 72rem; margin: 0 auto; padding: 0 1.25rem; }
.zj-eyebrow { margin: 0 0 .6rem; font-family: 'Barlow Condensed', 'Poppins', sans-serif; font-weight: 800; font-size: 1.05rem; letter-spacing: .06em; text-transform: uppercase; color: #5e8a10; }

/* Hero "Portret z dejstvi": shared hero layout (see partial/hero/_portrait), plus fact pills */
.zj-pintro__facts { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.zj-pintro__facts li { padding: .45rem .85rem; border-radius: 999px; background: #eef5e2; color: #0f4028; font-weight: 600; font-size: .9rem; }
@media (min-width: 640px) and (max-width: 1023px) {
    .zj-pintro__facts { justify-content: center; }
}

/* "Številke" */
.zj-stats { background: #0f4028; color: #fff; padding: 2.5rem 1.25rem; }
.zj-stats__grid { max-width: 72rem; margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.75rem 1rem; }
.zj-stats__item { margin: 0; }
.zj-stats__item b { display: block; font-family: 'Domine', Georgia, serif; font-size: 2.4rem; line-height: 1; color: #a8d45a; }
.zj-stats__item span { display: block; margin-top: .45rem; font-size: .92rem; line-height: 1.35; color: #d9e6d6; }

/* "Časovnica v poglavjih" */
.zj-life { padding: 4rem 0 1rem; }
.zj-life__title { margin: 0 0 2.5rem; font-family: 'Domine', Georgia, serif; font-size: 2.1rem; font-weight: 700; color: #0f4028; }
.zj-life__chapter { display: grid; gap: 1.75rem; margin-bottom: 3.5rem; }
.zj-life__media { margin: 0; }
.zj-life__media img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 1rem; }
.zj-life__media figcaption { margin-top: .5rem; font-size: .85rem; color: #5c6b62; }
.zj-life__chapter-title { margin: 0 0 .4rem; font-family: 'Domine', Georgia, serif; font-size: 1.6rem; font-weight: 700; color: #0f4028; }
.zj-life__intro { margin: 0 0 1.25rem; color: #33443a; line-height: 1.6; }
.zj-tl { list-style: none; margin: 0; padding: 0 0 0 1.4rem; border-left: 3px solid #d6e4c2; }
.zj-tl li { position: relative; padding: 0 0 1.15rem .4rem; }
.zj-tl li::before { content: ''; position: absolute; left: -1.98rem; top: .3rem; width: .9rem; height: .9rem; border-radius: 50%; background: #fff; border: 3px solid #7eb015; }
.zj-tl li.is-key::before { background: #7eb015; }
.zj-tl__year { display: block; font-weight: 800; font-size: .95rem; color: #0f4028; }
.zj-tl__text p { margin: .15rem 0 0; color: #33443a; line-height: 1.5; }
.zj-tl__text strong { color: #0f4028; }

/* "Citat" */
.zj-quote { background: #f2f6ef; padding: 3.5rem 0; }
.zj-quote blockquote { max-width: 52rem; margin: 0 auto; text-align: center; }
.zj-quote p { margin: 0; font-family: 'Domine', Georgia, serif; font-size: 1.55rem; line-height: 1.35; color: #0f4028; }
.zj-quote mark { background: none; color: #e85a00; }
.zj-quote cite { display: block; margin-top: 1rem; font-style: normal; font-size: .9rem; color: #5c6b62; }

/* "Kartice s slikami" */
.zj-cards { padding: 4rem 0; }
.zj-cards__title { margin: 0 0 1.75rem; font-family: 'Domine', Georgia, serif; font-size: 2.1rem; font-weight: 700; color: #0f4028; }
.zj-cards__grid { display: grid; gap: 1.25rem; }
.zj-cards__card { overflow: hidden; border-radius: 1rem; background: #fff; box-shadow: 0 8px 24px rgba(15, 64, 40, .09); }
.zj-cards__card img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.zj-cards__body { padding: 1.1rem 1.25rem 1.3rem; }
.zj-cards__body h3 { margin: 0 0 .45rem; font-family: 'Domine', Georgia, serif; font-size: 1.3rem; font-weight: 700; color: #0f4028; }
.zj-cards__body p { margin: 0; color: #33443a; line-height: 1.55; }

/* "Priznanja v stolpcih" */
.zj-awards { background: #f2f6ef; padding: 4rem 0; }
.zj-awards__title { margin: 0 0 .5rem; font-family: 'Domine', Georgia, serif; font-size: 2.1rem; font-weight: 700; color: #0f4028; }
.zj-awards__lede { margin: 0 0 2rem; color: #33443a; }
.zj-awards__cols { display: grid; gap: 1.5rem; }
.zj-awards__col { padding: 1.4rem 1.4rem .6rem; border-radius: 1rem; background: #fff; box-shadow: 0 8px 24px rgba(15, 64, 40, .07); }
.zj-awards__col h3 { margin: 0 0 1rem; font-family: 'Domine', Georgia, serif; font-size: 1.25rem; font-weight: 700; color: #0f4028; }
.zj-awards__row { display: grid; grid-template-columns: 3.6rem 1fr; gap: .75rem; padding: .7rem 0; border-top: 1px solid #e6ece1; }
.zj-awards__col > .zj-awards__row:first-of-type { border-top: 0; }
.zj-awards__year { font-weight: 800; color: #5e8a10; }
.zj-awards__text, .zj-awards__text p { margin: 0; color: #33443a; font-size: .95rem; line-height: 1.5; }
.zj-awards__text p + p { margin-top: .35rem; }
.zj-awards details summary { margin: .5rem 0 1rem; list-style: none; cursor: pointer; font-weight: 700; color: #0f4028; }
.zj-awards details summary::-webkit-details-marker { display: none; }
.zj-awards details summary::after { content: ' ↓'; color: #7eb015; }
.zj-awards details[open] summary { display: none; }

/* "Poziv" */
.zj-ctaband { background: #0f4028; color: #fff; padding: 3rem 0; text-align: center; }
.zj-ctaband h2 { margin: 0 0 .6rem; font-family: 'Domine', Georgia, serif; font-size: 2rem; font-weight: 700; color: #fff; }
.zj-ctaband p { margin: 0 0 1.5rem; color: #d9e6d6; }
.zj-ctaband__buttons { display: flex; flex-direction: column; gap: 1rem; max-width: 22rem; margin: 0 auto; }

@media (min-width: 768px) {
    .zj-stats__grid { grid-template-columns: repeat(4, 1fr); }
    .zj-stats__item b { font-size: 3rem; }
    .zj-life__chapter { grid-template-columns: .9fr 1.1fr; gap: 3.5rem; align-items: start; }
    .zj-life__chapter:nth-child(odd) .zj-life__media { order: 2; }
    .zj-quote p { font-size: 2rem; }
    .zj-cards__grid { grid-template-columns: repeat(3, 1fr); }
    .zj-awards__cols { grid-template-columns: 1fr 1fr; align-items: start; }
    .zj-ctaband__buttons { flex-direction: row; justify-content: center; max-width: none; }
}

/* Candidate lists: four per row on desktop; button to the full list instead of page numbers */
@media (min-width: 1024px) {
    .zj-people-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .zj-people-grid img { object-position: center 25%; }
}
.zj-people-more, .zj-more { display: flex; justify-content: center; margin-top: 2.5rem; }


/* Desktop menu bar a little taller than the election bar under it */
@media (min-width: 1024px) {
    .zj-header > div:first-child > .max-w-7xl { padding-top: .5rem; padding-bottom: .5rem; }
}

/* ── Info page modules: Glasovnice, Ključni datumi, Načini, Pogosta vprašanja ── */
.zj-sec-title { margin: 0 0 .6rem; font-family: 'Domine', Georgia, serif; font-size: 2rem; line-height: 1.15; font-weight: 700; color: #0f4028; }
.zj-sec-intro { max-width: 46rem; margin: 0 0 2rem; font-size: 1.1rem; line-height: 1.6; color: #33443a; }
.zj-sec-intro p { margin: 0; }
.zj-sec-intro a, .zj-note a, .zj-ballot__text a, .zj-faq__answer a { color: #0f4028; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.zj-note { margin-top: 1.75rem; padding: 1rem 1.25rem; border-left: 4px solid #7eb015; border-radius: 0 .6rem .6rem 0; background: #f2f6ef; color: #33443a; line-height: 1.6; }
.zj-note p { margin: 0; }
.zj-note strong { color: #0f4028; }

/* Glasovnice */
.zj-ballots { padding: 4rem 0; background: #fff; }
.zj-ballots__grid { display: grid; gap: 1.25rem; }
.zj-ballot { position: relative; padding: 1.4rem 1.4rem 1.5rem; border: 1px solid #dfe6d7; border-top: 6px solid #0f4028; border-radius: .9rem; background: #fffefb; box-shadow: 0 8px 24px rgba(15, 64, 40, .07); }
.zj-ballot__label { margin: 0 0 1rem; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #5e8a10; }
.zj-ballot__choice { display: flex; align-items: center; gap: 1rem; margin: 0 0 1rem; }
.zj-ballot__num {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4.25rem;
    height: 4.25rem;
    border: 4px solid #e85a00;
    border-radius: 50%;
    transform: rotate(-8deg);
    font-family: 'Domine', Georgia, serif;
    font-size: 2.3rem;
    font-weight: 700;
    line-height: 1;
    color: #0f4028;
}
.zj-ballot__name { font-family: 'Domine', Georgia, serif; font-size: 1.4rem; line-height: 1.2; font-weight: 700; color: #0f4028; }
.zj-ballot__text, .zj-ballot__text p { margin: 0; color: #33443a; line-height: 1.55; }
.zj-ballot__text p + p { margin-top: .5rem; }

/* Ključni datumi */
.zj-dates { padding: 4rem 0; background: #f2f6ef; }
.zj-dates__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.zj-date { display: flex; gap: 1rem; align-items: stretch; padding: .85rem; border-radius: .9rem; background: #fff; box-shadow: 0 6px 18px rgba(15, 64, 40, .06); }
.zj-date__badge { flex: 0 0 7.5rem; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: .15rem; padding: .6rem .4rem; border-radius: .7rem; background: #eef5e2; color: #0f4028; text-align: center; line-height: 1.15; }
.zj-date__day { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #5e8a10; }
.zj-date__date { font-family: 'Domine', Georgia, serif; font-size: 1.45rem; font-weight: 700; }
.zj-date__time { font-size: .8rem; font-weight: 600; }
.zj-date__body { min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.zj-date__title { margin: 0 0 .2rem; font-weight: 700; font-size: 1.05rem; line-height: 1.35; color: #0f4028; }
.zj-date__place { margin: 0; color: #33443a; line-height: 1.45; overflow-wrap: anywhere; }
/* Calendar links are regular CTA buttons; on the dark "election day" card the green one turns orange on hover */
.zj-date__links { display: flex; flex-wrap: wrap; gap: .75rem 1rem; margin: 1rem 0 .25rem; }
.zj-date.is-highlight .zj-btn--secondary:hover { background-color: #e85a00; color: #fff; }
.zj-date.is-highlight { background: #0f4028; }
.zj-date.is-highlight .zj-date__badge { background: #7eb015; }
.zj-date.is-highlight .zj-date__day { color: #0f4028; }
.zj-date.is-highlight .zj-date__title { color: #fff; }
.zj-date.is-highlight .zj-date__place { color: #d9e6d6; }

/* Načini (kartice) */
.zj-options { padding: 4rem 0; background: #fff; }
.zj-options__grid { display: grid; gap: 1rem; }
.zj-option { padding: 1.25rem 1.3rem 1.3rem; border-radius: .9rem; background: #fff; border: 1px solid #e3eadb; box-shadow: 0 6px 18px rgba(15, 64, 40, .06); }
.zj-option__badge { display: inline-block; margin: 0 0 .6rem; padding: .25rem .65rem; border-radius: 999px; background: #eef5e2; color: #0f4028; font-size: .8rem; font-weight: 700; }
.zj-option__title { margin: 0 0 .8rem; font-family: 'Domine', Georgia, serif; font-size: 1.3rem; font-weight: 700; color: #0f4028; }
.zj-option__rows { margin: 0; display: grid; gap: .65rem; }
.zj-option__rows dt { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #5e8a10; }
.zj-option__rows dd { margin: .15rem 0 0; color: #33443a; line-height: 1.5; }

/* Pogosta vprašanja (harmonika) */
.zj-faq { padding: 4rem 0; background: #f2f6ef; }
.zj-faq__wrap { max-width: 52rem; }
.zj-faq__list { display: grid; gap: .6rem; margin-top: 1.5rem; }
.zj-faq__item { border-radius: .8rem; background: #fff; box-shadow: 0 4px 14px rgba(15, 64, 40, .06); }
.zj-faq__item summary { position: relative; display: block; padding: 1.05rem 3.25rem 1.05rem 1.25rem; list-style: none; cursor: pointer; font-weight: 700; font-size: 1.05rem; line-height: 1.4; color: #0f4028; }
.zj-faq__item summary::-webkit-details-marker { display: none; }
.zj-faq__item summary:focus { outline: none; }
.zj-faq__item summary:focus-visible { outline: 3px solid #e85a00; outline-offset: -3px; border-radius: .8rem; }
.zj-faq__icon { position: absolute; right: 1.1rem; top: 50%; width: 1.5rem; height: 1.5rem; margin-top: -.75rem; border-radius: 50%; background: #eef5e2; }
.zj-faq__icon::before, .zj-faq__icon::after { content: ''; position: absolute; left: 50%; top: 50%; width: .7rem; height: 2px; margin: -1px 0 0 -.35rem; background: #0f4028; transition: transform .2s ease; }
.zj-faq__icon::after { transform: rotate(90deg); }
.zj-faq__item[open] .zj-faq__icon::after { transform: rotate(0); }
.zj-faq__answer { padding: 0 1.25rem 1.15rem; color: #33443a; line-height: 1.6; }
.zj-faq__answer p { margin: 0; }
.zj-faq__answer p + p { margin-top: .6rem; }

/* Poziv: extra links under the buttons */
.zj-ctaband .zj-ctaband__links { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.5rem; margin: 1.75rem 0 0; }
.zj-ctaband__links a { color: #d9e6d6; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.zj-ctaband__links a:hover { color: #fff; }

@media (max-width: 479px) {
    .zj-date__badge { flex-basis: 6rem; }
    .zj-date__date { font-size: 1.2rem; }
}
@media (min-width: 768px) {
    .zj-sec-title { font-size: 2.3rem; }
    .zj-ballots__grid { grid-template-columns: repeat(3, 1fr); }
    .zj-options__grid { grid-template-columns: repeat(2, 1fr); }
    .zj-date { padding: 1rem; gap: 1.5rem; }
    .zj-date__badge { flex-basis: 9rem; }
}
@media (min-width: 1024px) {
    .zj-options__grid { grid-template-columns: repeat(3, 1fr); }
}

/* "Besedilo z naslovom" and "Tabela podatkov" (e.g. Ljubljana v številkah, biografija) */
.zj-rtext, .zj-dtable, .zj-mol { padding: 3.5rem 0; background: #fff; }
.zj-rtext--soft, .zj-dtable--soft, .zj-mol--soft { background: #f2f6ef; }
.zj-rtext__body { max-width: 46rem; font-size: 1.1rem; line-height: 1.7; color: #33443a; }
.zj-rtext__body p { margin: 0 0 1.1rem; }
.zj-rtext__body h3 { margin: 2rem 0 .6rem; font-family: 'Domine', Georgia, serif; font-size: 1.35rem; line-height: 1.25; color: #0f4028; }
.zj-rtext__body ul, .zj-rtext__body ol { margin: 0 0 1.1rem; padding-left: 1.3rem; }
.zj-rtext__body ul { list-style: disc; }
.zj-rtext__body ol { list-style: decimal; }
.zj-rtext__body li { margin: .3rem 0; }
.zj-rtext__body li p { margin: 0; }
.zj-rtext__body blockquote { margin: 1.5rem 0; padding: .2rem 0 .2rem 1.1rem; border-left: 4px solid #7eb015; font-family: 'Domine', Georgia, serif; font-size: 1.2rem; color: #0f4028; }
.zj-rtext__body a { color: #0f4028; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.zj-rtext__body strong { color: #0f4028; }
/* Photos of "Besedilo z naslovom": under the text on phones (two a row on wider phones), beside it on desktop */
.zj-rtext__photos { display: grid; gap: 1.25rem; margin-top: 1.5rem; }
.zj-rtext__photo { margin: 0; }
.zj-rtext__photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: .6rem; background: #e3eadf; }
.zj-rtext__photo figcaption { margin-top: .45rem; font-size: .9rem; line-height: 1.4; color: #5b6b61; }
@media (min-width: 640px) {
    .zj-rtext__photos { grid-template-columns: 1fr 1fr; }
    .zj-rtext__photo:only-child { grid-column: 1 / -1; max-width: 36rem; }
}
@media (min-width: 1024px) {
    .zj-rtext__cols { display: grid; grid-template-columns: minmax(0, 46rem) minmax(0, 22rem); gap: 3rem; justify-content: space-between; align-items: start; }
    .zj-rtext__photos { grid-template-columns: 1fr; margin-top: .4rem; }
    .zj-rtext__photo:only-child { max-width: none; }
}
.zj-dtable__scroll { overflow-x: auto; border-radius: .8rem; box-shadow: 0 6px 20px rgba(15, 64, 40, .07); background: #fff; }
.zj-dtable__table { width: 100%; border-collapse: collapse; font-size: 1rem; line-height: 1.45; color: #33443a; }
.zj-dtable__table th, .zj-dtable__table td { padding: .8rem 1.1rem; text-align: left; vertical-align: top; border-bottom: 1px solid #e3eadf; }
.zj-dtable__table thead th { background: #eef5e2; color: #0f4028; font-size: .8rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.zj-dtable__table tbody th { font-weight: 500; color: #33443a; }
.zj-dtable__table--stack tbody td:nth-child(2) { font-weight: 700; color: #0f4028; }
.zj-dtable__table--stack th:first-child { width: 42%; }
.zj-dtable__table--stack td:nth-child(3), .zj-dtable__table--stack thead th:nth-child(3) { width: 20%; color: #5c6b62; }
/* Wide (multi-column) tables scroll sideways on phones; three-column ones stack per row */
.zj-dtable__table:not(.zj-dtable__table--stack):not(.zj-dtable__table--compare) { min-width: 32rem; }
.zj-dtable__table:not(.zj-dtable__table--stack):not(.zj-dtable__table--compare) td { font-variant-numeric: tabular-nums; }
/* "Primerjava dveh stolpcev": both sides the same width and weight; on phones each row is a
   block with the heading of its column in front of every value */
.zj-dtable__table--compare th:first-child { width: 22%; }
.zj-dtable__table--compare td { width: 39%; }
.zj-dtable__table--compare tbody th { font-weight: 700; color: #0f4028; }
@media (max-width: 639px) {
    .zj-dtable__table--compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .zj-dtable__table--compare tr { display: block; padding: .9rem 1rem; border-bottom: 1px solid #e3eadf; }
    .zj-dtable__table--compare tbody tr:last-child { border-bottom: 0; }
    .zj-dtable__table--compare th, .zj-dtable__table--compare td { display: block; width: auto !important; padding: 0; border: 0; }
    .zj-dtable__table--compare tbody th { font-size: 1.05rem; }
    .zj-dtable__table--compare td { margin-top: .55rem; font-size: .95rem; }
    .zj-dtable__table--compare td::before { content: attr(data-label); display: block; font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #5c6b62; }
}
@media (max-width: 639px) {
    .zj-dtable__table--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .zj-dtable__table--stack tr { display: block; padding: .85rem 1rem; border-bottom: 1px solid #e3eadf; }
    .zj-dtable__table--stack tbody tr:last-child { border-bottom: 0; }
    .zj-dtable__table--stack th, .zj-dtable__table--stack td { display: block; width: auto !important; padding: 0; border: 0; }
    .zj-dtable__table--stack tbody th { font-size: .92rem; color: #5c6b62; }
    .zj-dtable__table--stack tbody td:nth-child(2) { margin-top: .2rem; font-size: 1.05rem; }
    .zj-dtable__table--stack tbody td:nth-child(3) { margin-top: .15rem; font-size: .85rem; }
}
.zj-dtable__table tbody tr:last-child th, .zj-dtable__table tbody tr:last-child td { border-bottom: 0; }
.zj-dtable__source { margin: .9rem 0 0; font-size: .88rem; color: #5c6b62; }
.zj-dtable__more { margin: .5rem 0 0; font-size: .95rem; font-weight: 700; }
.zj-dtable__more a { color: #0f4028; text-decoration: underline; text-underline-offset: 3px; }
.zj-dtable__more a:hover { color: #e85a00; }
@media (min-width: 1024px) {
    .zj-rtext, .zj-dtable, .zj-mol { padding: 4.5rem 0; }
}

/* Interactive charts drawn from "Tabela podatkov" (/js/zj-interactive.js); the table stays in the page, visually hidden */
.zj-chart { position: relative; margin: 0 0 1.25rem; padding: 1.25rem 1.25rem 1rem; border-radius: .8rem; background: #fff; box-shadow: 0 6px 20px rgba(15, 64, 40, .07); }
.zj-chart__canvas { width: 100%; min-height: 12rem; }
.zj-chart__canvas > svg { display: block; width: 100%; height: auto; overflow: visible; }
.zj-chart__grid { stroke: #e3eadf; stroke-width: 1; }
.zj-chart__axis { fill: #5c6b62; font-size: 12px; font-family: 'Poppins', sans-serif; }
.zj-chart__value { fill: #0f4028; font-size: 13px; font-weight: 700; font-family: 'Poppins', sans-serif; }
.zj-chart__limit { stroke: #e85a00; stroke-width: 2; stroke-dasharray: 6 5; }
.zj-chart__limit-text { pointer-events: none; fill: #c24a00; font-size: 12px; font-weight: 600; font-family: 'Poppins', sans-serif; paint-order: stroke; stroke: #fff; stroke-width: 4px; stroke-linejoin: round; }
.zj-chart__guide { stroke: #0f4028; stroke-width: 1; stroke-dasharray: 3 3; transition: opacity .15s; }
.zj-chart__dot { transition: r .15s; }
.zj-chart__hit, .zj-chart__bar, .zj-chart__seg { cursor: pointer; outline: none; }
.zj-chart__bar:focus-visible, .zj-chart__seg:focus-visible { stroke: #e85a00; stroke-width: 3; }
.zj-chart__hit:focus-visible { stroke: none; }
.zj-chart__seg { transition: opacity .2s; }
.zj-chart__tip { position: absolute; z-index: 2; left: 0; top: 0; padding: .55rem .75rem; border-radius: .5rem; background: #0f4028; color: #fff; font-size: .85rem; line-height: 1.4; pointer-events: none; opacity: 0; transform: translateY(4px); transition: opacity .15s, transform .15s; white-space: nowrap; }
.zj-chart__tip.is-on { opacity: 1; transform: none; }
.zj-chart__tip b { display: block; margin-bottom: .15rem; }
.zj-chart__tip span { display: flex; align-items: center; gap: .4rem; }
.zj-chart__tip i, .zj-chart__key i { display: inline-block; width: .7rem; height: .7rem; border-radius: 50%; flex: 0 0 auto; }
.zj-chart__tip i { box-shadow: 0 0 0 2px #fff; }
.zj-chart__legend { display: flex; flex-wrap: wrap; gap: .5rem .9rem; margin-top: .9rem; }
.zj-chart__legend:empty { display: none; }
.zj-chart__key { display: inline-flex; align-items: center; gap: .45rem; padding: .3rem .7rem; border: 1px solid #e3eadf; border-radius: 999px; background: #fff; color: #33443a; font-size: .88rem; }
button.zj-chart__key { cursor: pointer; }
.zj-chart__key--limit i { width: 1.1rem; height: 0; border-radius: 0; border-top: 2px dashed #e85a00; }
.zj-chart__key--limit { border-color: transparent; padding-left: .3rem; color: #c24a00; font-weight: 600; }
@media (pointer: coarse) {
    button.zj-chart__key { min-height: 2.5rem; }
}
button.zj-chart__key[aria-pressed="false"] { opacity: .45; text-decoration: line-through; }
button.zj-chart__key:focus-visible { outline: 3px solid #e85a00; outline-offset: 2px; }
.zj-chart__donut { position: relative; width: 220px; max-width: 100%; margin: 0 auto; }
.zj-chart__donut svg { width: 220px; }
.zj-chart__center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 3.2rem; text-align: center; pointer-events: none; }
.zj-chart__center b { font-family: 'Domine', Georgia, serif; font-size: 2rem; line-height: 1; color: #0f4028; }
.zj-chart__center span { margin-top: .3rem; font-size: .78rem; line-height: 1.25; color: #5c6b62; }
.zj-chart--donut .zj-chart__legend { justify-content: center; }

/* "Kazalo strani": slim sticky bar under the header and the election bar, opens a list of sections */
.zj-toc { position: sticky; top: var(--zj-sticky-h, 58px); z-index: 30; background: rgba(255, 255, 255, .97); border-bottom: 1px solid #e3eadf; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: box-shadow .2s; }
.zj-toc.is-stuck, .zj-toc.is-open { box-shadow: 0 6px 16px rgba(15, 64, 40, .08); }
.zj-toc__inner { max-width: 72rem; margin: 0 auto; padding: 0 1.25rem; display: flex; align-items: center; gap: 1rem; }
.zj-toc__toggle { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: .5rem; min-height: 2.9rem; padding: 0; border: 0; background: none; color: #0f4028; font: inherit; text-align: left; cursor: pointer; }
.zj-toc__label { flex: 0 0 auto; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #4a6e0c; }
.zj-toc__current { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; font-size: .98rem; }
.zj-toc__chevron { flex: 0 0 auto; transition: transform .2s; }
.zj-toc.is-open .zj-toc__chevron { transform: rotate(180deg); }
.zj-toc__toggle:focus-visible { outline: 3px solid #e85a00; outline-offset: 2px; border-radius: .3rem; }
.zj-toc__count { flex: 0 0 auto; font-size: .82rem; color: #5c6b62; font-variant-numeric: tabular-nums; }
.zj-toc__progress { height: 3px; background: transparent; }
.zj-toc__progress span { display: block; height: 100%; background: #7eb015; transform: scaleX(0); transform-origin: 0 50%; }
.zj-toc__panel { position: absolute; left: 0; right: 0; top: 100%; max-height: min(70vh, 34rem); overflow-y: auto; background: #fff; border-bottom: 1px solid #e3eadf; box-shadow: 0 14px 28px rgba(15, 64, 40, .12); }
.zj-toc__list { max-width: 72rem; margin: 0 auto; padding: .75rem 1.25rem 1.1rem; list-style: none; counter-reset: zjtoc; display: grid; gap: .1rem 2rem; }
.zj-toc__list li { counter-increment: zjtoc; }
.zj-toc__link { display: flex; gap: .7rem; padding: .55rem .75rem; border-left: 3px solid transparent; border-radius: 0 .4rem .4rem 0; color: #33443a; font-size: .95rem; line-height: 1.35; text-decoration: none; }
.zj-toc__link::before { content: counter(zjtoc, decimal-leading-zero); flex: 0 0 1.6rem; font-size: .8rem; font-weight: 700; color: #8a998f; padding-top: .1rem; }
.zj-toc__link:hover { background: #f2f6ef; color: #0f4028; }
.zj-toc__link.is-active { border-left-color: #7eb015; background: #eef5e2; color: #0f4028; font-weight: 600; }
.zj-toc__link.is-active::before { color: #4a6e0c; }
.zj-toc__link:focus-visible { outline: 3px solid #e85a00; outline-offset: -3px; }
@media (min-width: 768px) {
    .zj-toc__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 639px) {
    .zj-toc__inner { padding: 0 1rem; }
    .zj-toc__label { display: none; }
    .zj-chart { padding: 1rem .75rem .9rem; }
}
@media (prefers-reduced-motion: reduce) {
    .zj-chart__tip, .zj-chart__seg, .zj-chart__dot, .zj-toc__link { transition: none; }
}

/* Trend badges in "Tabela podatkov" (App\Modifiers\TableCell): green = better, orange = worse */
.zj-trend { display: inline-flex; align-items: center; gap: .3rem; padding: .1rem .5rem .1rem .15rem; border-radius: 999px; font-size: .75rem; font-weight: 600; line-height: 1.4; white-space: nowrap; }
.zj-trend__arrow { display: inline-flex; align-items: center; justify-content: center; width: 1.1rem; height: 1.1rem; border-radius: 50%; font-size: .72rem; line-height: 1; color: #fff; }
.zj-trend--good { background: #eef5e2; color: #3d5c0a; }
.zj-trend--good .zj-trend__arrow { background: #5e8a10; }
.zj-trend--bad { background: #fdeee4; color: #a8420a; }
.zj-trend--bad .zj-trend__arrow { background: #e85a00; }
.zj-trend--neutral { background: #eef1ee; color: #4b5a51; }
.zj-trend--neutral .zj-trend__arrow { background: #7b8a81; }
.zj-dtable__table th .zj-trend { margin-left: .35rem; vertical-align: .05em; }

/* Smiley pictogram (chart "Smeški"): 100 faces, one per percent */
.zj-smileys { display: grid; gap: 1.5rem; align-items: center; }
.zj-smileys__cards { display: grid; gap: .75rem; }
.zj-smileys__card { display: flex; align-items: center; gap: .9rem; padding: .8rem 1rem; border: 1px solid #e3eadf; border-radius: .8rem; background: #fff; cursor: default; outline: none; transition: border-color .15s, box-shadow .15s, opacity .2s; }
.zj-smileys__card > svg { flex: 0 0 auto; width: 44px; height: 44px; }
.zj-smileys__card b { display: block; font-family: 'Domine', Georgia, serif; font-size: 1.9rem; line-height: 1; color: #0f4028; font-variant-numeric: tabular-nums; }
.zj-smileys__card span { display: block; margin-top: .2rem; font-size: .92rem; line-height: 1.3; color: #33443a; }
.zj-smileys__card--sad b { color: #c24a00; }
.zj-smileys__card--neutral b { color: #4b5a51; }
.zj-smileys__card.is-active, .zj-smileys__card:focus-visible { border-color: #0f4028; box-shadow: 0 6px 18px rgba(15, 64, 40, .1); }
.zj-smileys__card:focus-visible { outline: 3px solid #e85a00; outline-offset: 2px; }
.zj-smileys__grid { display: grid; grid-template-columns: repeat(10, 1fr); gap: .3rem; max-width: 22rem; justify-self: center; width: 100%; }
.zj-smileys__cell { display: flex; justify-content: center; transition: transform .35s cubic-bezier(.2, .9, .3, 1.4), opacity .3s; }
.zj-smileys__cell svg { width: 100%; max-width: 1.9rem; height: auto; }
.zj-smileys__cell.is-hidden { opacity: 0; transform: scale(.2); }
.zj-smileys__cell.is-dim { opacity: .18; transform: scale(.85); }
@media (min-width: 768px) {
    .zj-smileys { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 2.5rem; }
    .zj-smileys__grid { max-width: 26rem; }
}
@media (prefers-reduced-motion: reduce) {
    .zj-smileys__cell { transition: none; }
}

/* Pictogram (chart "Ikone"): one icon per unit, a row per year */
.zj-icons { display: grid; gap: 1rem; }
.zj-icons__row { display: grid; gap: .5rem; padding: .85rem 1rem; border: 1px solid #e3eadf; border-radius: .8rem; background: #fff; color: #0f4028; outline: none; transition: opacity .2s, border-color .15s, box-shadow .15s; }
.zj-icons__row.is-last { color: #5e8a10; }
.zj-icons__row:focus-visible { outline: 3px solid #e85a00; outline-offset: 2px; }
.zj-icons.is-focus .zj-icons__row:not(.is-dim) { border-color: #0f4028; box-shadow: 0 6px 18px rgba(15, 64, 40, .1); }
.zj-icons__row.is-dim { opacity: .35; }
.zj-icons__head { display: flex; align-items: baseline; flex-wrap: wrap; gap: .35rem .6rem; }
.zj-icons__label { min-width: 3.2rem; font-size: .85rem; font-weight: 700; letter-spacing: .04em; color: #5c6b62; }
.zj-icons__head b { font-family: 'Domine', Georgia, serif; font-size: 1.7rem; line-height: 1; font-variant-numeric: tabular-nums; }
.zj-icons__head small { font-size: .9rem; color: #33443a; }
.zj-icons__head em { margin-left: auto; padding: .1rem .55rem; border-radius: 999px; background: #eef5e2; color: #3d5c0a; font-size: .8rem; font-style: normal; font-weight: 700; }
.zj-icons__head em.is-down { background: #fdeee4; color: #a8420a; }
.zj-icons__line { display: flex; flex-wrap: wrap; gap: .2rem; }
.zj-icons__cell { display: inline-flex; width: 1.35rem; height: 1.35rem; transition: transform .35s cubic-bezier(.2, .9, .3, 1.3), opacity .25s; }
.zj-icons__cell svg { width: 100%; height: 100%; fill: currentColor; }
.zj-icons__cell.is-hidden { opacity: 0; transform: translateX(-.6rem); }
.zj-icons__key { display: flex; align-items: center; gap: .4rem; margin: 0; font-size: .85rem; color: #5c6b62; }
.zj-icons__key svg { width: 1.1rem; height: 1.1rem; fill: #0f4028; }
@media (min-width: 768px) {
    .zj-icons__row { grid-template-columns: 11rem minmax(0, 1fr); align-items: center; gap: 1.25rem; }
    .zj-icons__head em { margin-left: 0; }
    .zj-icons__cell { width: 1.5rem; height: 1.5rem; }
}
@media (min-width: 1024px) {
    /* One line per year, so row lengths compare at a glance */
    .zj-icons__line { flex-wrap: nowrap; gap: .15rem; }
    .zj-icons__cell { width: 1.3rem; height: 1.3rem; flex: 0 0 auto; }
}
@media (prefers-reduced-motion: reduce) {
    .zj-icons__cell { transition: none; }
}

/* Tabs joining "Tabela podatkov" sections (e.g. three air-quality charts in one section) */
.zj-tabs { display: inline-flex; flex-wrap: wrap; gap: .3rem; margin: .4rem 0 1.5rem; padding: .3rem; border-radius: .8rem; background: #e7efe0; }
.zj-tabs__tab { padding: .55rem 1rem; border: 0; border-radius: .6rem; background: transparent; color: #33443a; font: inherit; font-size: .95rem; font-weight: 600; cursor: pointer; transition: background-color .15s, color .15s, box-shadow .15s; }
.zj-tabs__tab:hover { color: #0f4028; background: rgba(255, 255, 255, .6); }
.zj-tabs__tab[aria-selected="true"] { background: #fff; color: #0f4028; box-shadow: 0 2px 8px rgba(15, 64, 40, .12); }
.zj-tabs__tab:focus { outline: none; }
.zj-tabs__tab:focus-visible { outline: 3px solid #e85a00; outline-offset: 2px; }
.zj-tabs__panel[hidden] { display: none; }
@media (max-width: 639px) {
    .zj-tabs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
    .zj-tabs__tab { padding: .5rem .4rem; font-size: .82rem; line-height: 1.25; }
}

/* Share a section (pages with "Kazalo strani"): button next to the title, toast after copying.
   The button (2.4rem) is about as tall as the title's first line, so it lines up with it at the top. */
.zj-sec-head { display: flex; align-items: flex-start; gap: .75rem; }
.zj-sec-head .zj-sec-title { flex: 0 1 auto; }
.zj-share { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 2.4rem; height: 2.4rem; border: 1px solid #d5e0cf; border-radius: 50%; background: #fff; color: #0f4028; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.zj-share:hover { background: #0f4028; border-color: #0f4028; color: #fff; }
.zj-share:focus { outline: none; }
.zj-share:focus-visible { outline: 3px solid #e85a00; outline-offset: 2px; }
.zj-toast { position: fixed; left: 50%; bottom: 1.5rem; z-index: 80; max-width: calc(100% - 2rem); padding: .75rem 1.1rem; border-radius: .7rem; background: #0f4028; color: #fff; font-size: .92rem; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); transform: translate(-50%, 1rem); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.zj-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* "Številke s povezavo na stran" (homepage): the numbers of "Ljubljana v številkah" and a button to the page.
   Phones: title, numbers, button; wider: button next to the title. */
.zj-nteaser { background: #0f4028; color: #fff; padding: 3rem 0 3.25rem; }
.zj-nteaser__inner { display: grid; grid-template-areas: "head" "grid" "btn"; gap: 1.75rem; }
.zj-nteaser__head { grid-area: head; }
.zj-nteaser__grid { grid-area: grid; margin: 0; max-width: none; }
.zj-nteaser__btn { grid-area: btn; justify-self: stretch; box-shadow: -4px 4px 0 #0b2f1e; }
.zj-nteaser__btn:hover { background-color: #e85a00; color: #fff; box-shadow: -2px 2px 0 #0b2f1e; }
.zj-nteaser__title { margin: 0; font-family: 'Domine', Georgia, serif; font-size: 2rem; line-height: 1.15; font-weight: 700; color: #fff; }
.zj-nteaser__text { max-width: 36rem; margin: .7rem 0 0; color: #d9e6d6; line-height: 1.5; }
.zj-nteaser__item { display: block; padding-top: 1rem; border-top: 2px solid rgba(168, 212, 90, .35); color: inherit; text-decoration: none; transition: border-color .15s; }
.zj-nteaser__item:hover { border-top-color: #a8d45a; }
.zj-nteaser__item:hover span { color: #fff; }
.zj-nteaser__item:focus { outline: none; }
.zj-nteaser__item:focus-visible { outline: 3px solid #e85a00; outline-offset: 4px; border-radius: .2rem; }
.zj-nteaser__item span { overflow-wrap: break-word; hyphens: auto; }
@media (min-width: 768px) {
    .zj-nteaser { padding: 4rem 0; }
    .zj-nteaser__inner { grid-template-areas: "head btn" "grid grid"; grid-template-columns: 1fr auto; align-items: end; gap: 2.5rem 2rem; }
    .zj-nteaser__title { font-size: 2.5rem; }
    .zj-nteaser__btn { justify-self: end; }
}

/* "Površina mesta": the city in 100 squares (1 % each) – forest as trees, other green, the rest; the goal square is dashed */
.zj-area { display: grid; gap: 1.75rem; align-items: center; }
.zj-area__cards { display: grid; gap: .75rem; }
.zj-area__total b { display: block; font-family: 'Domine', Georgia, serif; font-size: 3.2rem; line-height: 1; color: #0f4028; font-variant-numeric: tabular-nums; }
.zj-area__total span { display: block; margin-top: .35rem; font-size: 1.05rem; color: #33443a; }
.zj-area__total em { display: inline-flex; align-items: center; gap: .45rem; margin-top: .7rem; padding: .25rem .65rem; border-radius: 999px; background: #fff4ec; color: #c24a00; font-size: .85rem; font-style: normal; font-weight: 600; }
.zj-area__total em i { width: .85rem; height: .85rem; border: 2px dashed #e85a00; border-radius: .2rem; }
.zj-area__total { margin-bottom: .5rem; }
.zj-area__card { display: flex; align-items: center; gap: .9rem; padding: .75rem 1rem; border: 1px solid #e3eadf; border-radius: .8rem; background: #fff; outline: none; transition: border-color .15s, box-shadow .15s; }
.zj-area__card > i { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; width: 2.4rem; height: 2.4rem; border-radius: .5rem; }
.zj-area__card--part > i { background: #0f4028; color: #a8d45a; }
.zj-area__card--rest > i { background: #a8d45a; }
.zj-area__card b { display: block; font-family: 'Domine', Georgia, serif; font-size: 1.7rem; line-height: 1; color: #0f4028; font-variant-numeric: tabular-nums; }
.zj-area__card span { display: block; margin-top: .2rem; font-size: .92rem; line-height: 1.3; color: #33443a; }
.zj-area__card:hover, .zj-area__card:focus-visible { border-color: #0f4028; box-shadow: 0 6px 18px rgba(15, 64, 40, .1); }
.zj-area__card:focus-visible { outline: 3px solid #e85a00; outline-offset: 2px; }
.zj-area__grid { display: grid; grid-template-columns: repeat(10, 1fr); gap: .3rem; width: 100%; max-width: 24rem; justify-self: center; }
.zj-area__cell { aspect-ratio: 1; border-radius: .3rem; transition: transform .35s cubic-bezier(.2, .9, .3, 1.4), opacity .3s; }
.zj-area__cell--part { display: flex; align-items: center; justify-content: center; background: #0f4028; color: #a8d45a; }
.zj-area__cell--part svg { width: 70%; height: 70%; fill: currentColor; }
.zj-area__cell--rest { background: #a8d45a; }
.zj-area__cell--other { background: #e6ebe3; }
.zj-area__cell.is-goal { background: #fff; box-shadow: inset 0 0 0 2px #e85a00; background-image: repeating-linear-gradient(45deg, transparent 0 3px, rgba(232, 90, 0, .18) 3px 5px); }
.zj-area__cell.is-hidden { opacity: 0; transform: scale(.2); }
.zj-area__cell.is-dim { opacity: .2; transform: scale(.85); }
.zj-chart--area { margin-bottom: 2rem; }
@media (min-width: 768px) {
    .zj-area { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 3rem; }
    .zj-area__grid { max-width: 26rem; }
}
@media (prefers-reduced-motion: reduce) {
    .zj-area__cell { transition: none; }
}

/* "Primerjava": a bar per row, the whole with its part (e.g. full price and what parents pay) */
.zj-cmp { list-style: none; margin: 0; padding: 0; display: grid; gap: .2rem; }
.zj-cmp__row { display: grid; grid-template-columns: 1fr; gap: .2rem; padding: .35rem .5rem; border-radius: .6rem; outline: none; cursor: default; transition: opacity .2s, background-color .15s, transform .5s cubic-bezier(.2, .8, .2, 1); }
.zj-cmp__name { font-size: .95rem; color: #33443a; }
.zj-cmp__row.is-first .zj-cmp__name { font-weight: 700; color: #0f4028; }
.zj-cmp__track { display: flex; align-items: center; gap: .5rem; }
.zj-cmp__bar { position: relative; display: block; flex: 0 0 auto; width: calc((100% - 4.5rem) * var(--w)); height: 1.75rem; border-radius: .4rem; background: #dbe6cf; overflow: hidden; transition: width .9s cubic-bezier(.2, .8, .2, 1); }
.zj-cmp__part { position: absolute; inset: 0 auto 0 0; min-width: 4px; background: #5c6b62; }
.zj-cmp__val { position: absolute; top: 0; bottom: 0; display: flex; align-items: center; padding-left: .45rem; font-size: .88rem; font-weight: 600; color: #33443a; white-space: nowrap; font-variant-numeric: tabular-nums; }
.zj-cmp__total { font-size: .88rem; color: #5c6b62; white-space: nowrap; font-variant-numeric: tabular-nums; }
.zj-cmp__row.is-first { background: #f2f6ef; }
.zj-cmp__row.is-first .zj-cmp__bar { background: #a8d45a; }
.zj-cmp__row.is-first .zj-cmp__part { background: #0f4028; }
.zj-cmp__row.is-first .zj-cmp__val, .zj-cmp__row.is-first .zj-cmp__total { color: #0f4028; font-weight: 700; }
.zj-cmp.is-focus .zj-cmp__row:not(.is-on) { opacity: .45; }
.zj-cmp__row:focus-visible { outline: 3px solid #e85a00; outline-offset: 2px; }
.zj-cmp__row.is-hidden .zj-cmp__bar { width: 0; }
.zj-cmp__key--part, .zj-cmp__key--rest { border-radius: .2rem !important; }
.zj-cmp__key--part { background: #0f4028; }
.zj-cmp__key--rest { background: #a8d45a; }
@media (min-width: 768px) {
    .zj-cmp__row { grid-template-columns: 10.5rem minmax(0, 1fr); align-items: center; gap: 1rem; padding: .45rem .6rem; }
    .zj-cmp { gap: .35rem; }
    .zj-cmp__name { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
    .zj-cmp__row, .zj-cmp__bar { transition: none; }
}

/* Podpri: gradiva za deljenje, deli in podpri (Instagram), ključna sporočila, glasovanje */
.zj-kit, .zj-points { padding: 4rem 0; background: #fff; }
.zj-picks, .zj-vote { padding: 4rem 0; background: #f2f6ef; }
.zj-kit__grid, .zj-picks__grid { display: grid; gap: 1.25rem; }
/* Phones: a row to swipe through instead of ten images one under another. */
@media (max-width: 639px) {
    .zj-kit__grid, .zj-picks__grid { grid-auto-flow: column; grid-auto-columns: 80%; margin: 0 -1.25rem; padding: .25rem 1.25rem 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 1.25rem; -webkit-overflow-scrolling: touch; }
    .zj-kit__item, .zj-pick { scroll-snap-align: start; }
}
@media (min-width: 640px) { .zj-kit__grid, .zj-picks__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .zj-kit__grid, .zj-picks__grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1150px) { .zj-kit__grid { grid-template-columns: repeat(4, 1fr); } }
.zj-kit__item, .zj-pick { display: flex; flex-direction: column; overflow: hidden; border-radius: 1rem; background: #fff; box-shadow: 0 8px 24px rgba(15, 64, 40, .09); }
.zj-kit .zj-kit__item { border: 1px solid #e3eadd; box-shadow: 0 6px 18px rgba(15, 64, 40, .06); }
.zj-kit__img, .zj-pick__img { position: relative; display: block; background: #e8efe3; }
.zj-kit__img img { display: block; width: 100%; height: auto; }
.zj-pick__img img, .zj-pick__ph { display: flex; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.zj-pick__ph { align-items: center; justify-content: center; background: radial-gradient(120% 90% at 85% 0%, #2f6b2a 0%, #164a2c 40%, #0f4028 75%); color: #a8d45a; font-family: 'Domine', Georgia, serif; font-size: 1.8rem; font-weight: 700; }
.zj-kit__body { flex: 1; display: flex; flex-direction: column; gap: .85rem; padding: 1rem 1rem 1.15rem; }
.zj-kit__title { margin: 0; font-family: 'Domine', Georgia, serif; font-size: 1.1rem; line-height: 1.3; font-weight: 700; color: #0f4028; }
.zj-pick__foot { padding: 1rem; }
.zj-pick__foot .zj-btn { display: block; }
.zj-kit__actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.zj-kit__btn[hidden] { display: none; }
.zj-kit__btn { font-size: 1rem; padding: .55em .95em; box-shadow: -3px 3px 0 #d8d8d8; }
@media (min-width: 768px) { .zj-kit__btn { font-size: 1.05rem; } }
.zj-kit__caption { padding-top: .8rem; border-top: 1px solid #e3eadd; }
.zj-kit__text { margin: 0 0 .75rem; font-size: .88rem; line-height: 1.5; color: #33443a; white-space: pre-line; overflow-wrap: anywhere; user-select: text; }
.zj-copy { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .85rem; border: 1px solid #cfdcc6; border-radius: 999px; background: #fff; color: #0f4028; font: 600 .85rem/1.2 'Poppins', sans-serif; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.zj-copy:hover { background: #0f4028; border-color: #0f4028; color: #fff; }
.zj-copy:focus { outline: none; }
.zj-copy:focus-visible { outline: 3px solid #e85a00; outline-offset: 2px; }
.zj-points__grid { display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .zj-points__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .zj-points__grid { grid-template-columns: repeat(3, 1fr); } }
.zj-point { display: flex; flex-direction: column; gap: .6rem; padding: 1.35rem 1.4rem 1.3rem; border: 1px solid #e3eadd; border-top: 6px solid #7eb015; border-radius: .9rem; background: #fffefb; box-shadow: 0 8px 24px rgba(15, 64, 40, .07); }
.zj-point__claim { margin: 0; font-family: 'Domine', Georgia, serif; font-size: 1.1rem; line-height: 1.35; font-style: italic; color: #5c6b62; }
.zj-point__num { margin: .2rem 0 0; font-family: 'Domine', Georgia, serif; font-size: 2.5rem; line-height: 1; font-weight: 700; color: #0f4028; }
.zj-point__answer { margin: 0; color: #33443a; line-height: 1.55; }
.zj-point__foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: auto; padding-top: .5rem; }
.zj-point__foot .zj-copy { flex: 0 0 auto; margin-left: auto; }
.zj-point__link { min-width: 0; color: #0f4028; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.zj-point__link:hover { color: #e85a00; }
.zj-vote__grid { display: grid; gap: 1.25rem; align-items: start; }
@media (min-width: 1024px) { .zj-vote__grid { grid-template-columns: 19rem minmax(0, 1fr); gap: 2rem; } }
.zj-vote__ballots { display: grid; gap: 1rem; }
.zj-vote__ballot { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.2rem; border-top: 6px solid #0f4028; border-radius: .9rem; background: #fffefb; box-shadow: 0 6px 18px rgba(15, 64, 40, .06); }
.zj-vote__ballot .zj-ballot__num { width: 3.6rem; height: 3.6rem; font-size: 2rem; }
.zj-vote__who small { display: block; margin-bottom: .2rem; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #5e8a10; }
.zj-vote__who b { display: block; font-family: 'Domine', Georgia, serif; font-size: 1.2rem; line-height: 1.2; color: #0f4028; }
/* Phones: title, ballots and dates, button; wider: button at the top right, next to the title. */
.zj-vote__inner { display: grid; grid-template-areas: "head" "grid" "btn"; gap: 1.5rem; }
.zj-vote__head { grid-area: head; }
.zj-vote__head .zj-sec-intro { margin-bottom: 0; }
.zj-vote__grid { grid-area: grid; }
.zj-vote__more { grid-area: btn; justify-self: start; }
@media (min-width: 768px) {
    .zj-vote__inner { grid-template-areas: "head btn" "grid grid"; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 2rem; }
}

/* Instagram post embedded in a news article (Bard set "Instagram objava") */
.content-section .zj-igpost { max-width: 26rem; margin: 2rem auto; overflow: hidden; border-radius: 1rem; background: #fff; box-shadow: 0 8px 24px rgba(15, 64, 40, .09); }
.content-section .zj-igpost__media { display: block; background: #e8efe3; }
.content-section .zj-igpost__media img, .content-section video.zj-igpost__media { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; margin: 0; border-radius: 0; box-shadow: none; object-fit: cover; }
.content-section .zj-igpost__body { margin: 0; padding: 1rem 1.25rem 1.25rem; font-size: .95rem; line-height: 1.5; color: #374151; }
.content-section .zj-igpost__caption { margin: 0 0 .4rem; font-weight: 700; color: #0f4028; }
.content-section .zj-igpost__text { display: -webkit-box; margin: 0 0 .6rem; overflow: hidden; -webkit-line-clamp: 4; -webkit-box-orient: vertical; }
.content-section .zj-igpost__link { font-weight: 700; color: #0f4028; }
/* Posts that follow each other (App\Support\InstagramGroups): one row instead of a tall column of cards.
   Phones: a swipe row with the next card showing. Wider: two side by side in the text column; three or
   more in a wider grid under the text column, two or three to a row. Cards are equal in height. */
.content-section .zj-iggroup { display: flex; gap: .9rem; margin: 2rem -1rem; padding: .25rem 1rem 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 1rem; overscroll-behavior-x: contain; }
.content-section .zj-iggroup:focus-visible { outline: 3px solid #e85a00; outline-offset: 2px; }
.content-section .zj-iggroup .zj-igpost { flex: 0 0 82%; display: flex; flex-direction: column; max-width: none; margin: 0; scroll-snap-align: start; }
.content-section .zj-iggroup .zj-igpost__body { display: flex; flex: 1; flex-direction: column; }
.content-section .zj-iggroup .zj-igpost__link { margin-top: auto; }
@media (min-width: 640px) {
    .content-section .zj-iggroup { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin: 2.25rem 0; padding: 0; overflow: visible; }
    .content-section .zj-iggroup .zj-igpost { min-width: 0; }
    .content-section .zj-iggroup--many { position: relative; left: 50%; width: min(60rem, calc(100vw - 3rem)); transform: translateX(-50%); grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
}

/* "Galerija" in a news article (Bard set): the grid, shaped by how many photos there are */
.content-section .zj-gallery { margin: 2rem 0; }
.content-section .zj-gallery__title + .zj-gallery { margin-top: 0; }
.content-section .zj-gallery__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.content-section .zj-gallery__item { position: relative; display: block; overflow: hidden; border-radius: .6rem; background: #e8efe3; cursor: zoom-in; text-decoration: none; }
.content-section .zj-gallery__item:focus-visible { outline: 3px solid #7eb015; outline-offset: 2px; }
.content-section .zj-gallery__item img { display: block; width: 100%; height: 100%; aspect-ratio: 4 / 3; margin: 0; border-radius: 0; box-shadow: none; object-fit: cover; transition: transform .25s ease; }
.content-section .zj-gallery__item:hover img { transform: scale(1.03); }
.content-section .zj-gallery--1 .zj-gallery__grid { grid-template-columns: minmax(0, 1fr); }
.content-section .zj-gallery--1 .zj-gallery__item img { height: auto; aspect-ratio: auto; }
.content-section .zj-gallery--3 .zj-gallery__item:first-child,
.content-section .zj-gallery--5 .zj-gallery__item:first-child { grid-column: 1 / -1; }
.content-section .zj-gallery--3 .zj-gallery__item:first-child img,
.content-section .zj-gallery--5 .zj-gallery__item:first-child img { aspect-ratio: 16 / 9; }
.content-section .zj-gallery--many .zj-gallery__item:nth-child(n+7) { display: none; }
.content-section .zj-gallery__more { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(8, 30, 19, .62); color: #fff; font-size: 1.75rem; font-weight: 700; }
.content-section .zj-gallery__caption { margin: .6rem 0 0; font-size: .9rem; line-height: 1.45; color: #5c6b62; }
@media (min-width: 640px) {
    .content-section .zj-gallery--5 .zj-gallery__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .content-section .zj-gallery--5 .zj-gallery__item { grid-column: span 2; }
    .content-section .zj-gallery--5 .zj-gallery__item:nth-child(-n+2) { grid-column: span 3; }
    .content-section .zj-gallery--5 .zj-gallery__item:first-child img { aspect-ratio: 4 / 3; }
    .content-section .zj-gallery--many .zj-gallery__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* The gallery's big photos over the whole page */
.zj-lb { position: fixed; inset: 0; z-index: 70; display: flex; flex-direction: column; background: #081e13; color: #fff; }
.zj-lb:focus { outline: none; }
.zj-lb[hidden], .zj-lb [hidden] { display: none; }
.zj-lb__top { flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; padding: .5rem .5rem .5rem 1rem; }
.zj-lb__count { font-size: .95rem; font-variant-numeric: tabular-nums; }
.zj-lb__btn { display: flex; align-items: center; justify-content: center; width: 2.9rem; height: 2.9rem; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer; transition: background .15s ease, color .15s ease; }
.zj-lb__btn:hover { background: #7eb015; color: #0b2f1e; }
.zj-lb__btn:focus-visible, .zj-lb__thumb:focus-visible { outline: 3px solid #a8d45a; outline-offset: 2px; }
.zj-lb__stage { position: relative; flex: 1 1 0; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 0 .5rem; touch-action: pinch-zoom; }
.zj-lb__img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; border-radius: .25rem; transition: opacity .15s ease; }
.zj-lb__stage.is-loading .zj-lb__img { opacity: .3; }
.zj-lb__spinner { position: absolute; top: 50%; left: 50%; width: 2.4rem; height: 2.4rem; margin: -1.2rem 0 0 -1.2rem; border: 3px solid rgba(255, 255, 255, .25); border-top-color: #7eb015; border-radius: 50%; opacity: 0; pointer-events: none; animation: zj-spin .8s linear infinite; }
.zj-lb__stage.is-loading .zj-lb__spinner { opacity: 1; }
.zj-lb__prev, .zj-lb__next { position: absolute; top: 50%; margin-top: -1.45rem; background: rgba(8, 30, 19, .6); }
.zj-lb__prev { left: .5rem; }
.zj-lb__next { right: .5rem; }
.zj-lb__caption { flex: 0 0 auto; max-width: 48rem; margin: 0 auto; padding: .7rem 1rem 0; font-size: .95rem; line-height: 1.4; text-align: center; }
.zj-lb__caption:empty { display: none; }
.zj-lb__thumbs { flex: 0 0 auto; display: flex; gap: .35rem; max-width: 100%; margin: 0 auto; padding: .7rem 1rem; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.zj-lb__thumbs::-webkit-scrollbar { display: none; }
.zj-lb__thumb { flex: 0 0 auto; width: 4rem; height: 3rem; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: .35rem; background: rgba(255, 255, 255, .1); opacity: .55; cursor: pointer; transition: opacity .15s ease; }
.zj-lb__thumb:hover { opacity: .85; }
.zj-lb__thumb.is-active { border-color: #7eb015; opacity: 1; }
.zj-lb__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 768px) {
    .zj-lb__prev { left: 1.25rem; }
    .zj-lb__next { right: 1.25rem; }
    .zj-lb__stage { padding: 0 5rem; }
}
@media (prefers-reduced-motion: reduce) {
    .content-section .zj-gallery__item img, .zj-lb__img { transition: none; }
    .content-section .zj-gallery__item:hover img { transform: none; }
}

/* "PDF dokument": pages drawn by /js/zj-interactive.js, swiped or turned with the arrows */
.zj-pdf { padding: 3.5rem 0; background: #fff; }
.zj-pdf--soft { background: #f2f6ef; }
.zj-pdf__viewer { margin: 0; }
.zj-pdf__stage { position: relative; border-radius: 1rem; background: #e8efe3; }
.zj-pdf__track { display: flex; align-items: center; min-height: 12rem; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; border-radius: 1rem; outline: none; }
.zj-pdf__track::-webkit-scrollbar { display: none; }
.zj-pdf__track:focus-visible { box-shadow: 0 0 0 3px #7eb015; }
.zj-pdf__status { margin: auto; padding: 2rem 1rem; text-align: center; color: #33443a; }
.zj-pdf__status a { font-weight: 700; color: #0f4028; text-decoration: underline; }
.zj-pdf__slide { display: flex; flex: 0 0 auto; align-items: center; justify-content: center; padding: 1rem .5rem; scroll-snap-align: start; }
.zj-pdf__page { position: relative; background: #fff; box-shadow: 0 6px 20px rgba(15, 64, 40, .14); cursor: zoom-in; }
.zj-pdf__page canvas { display: block; width: 100%; height: 100%; }
.zj-pdf__nav { position: absolute; top: 50%; z-index: 2; display: flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; margin-top: -1.375rem; padding: 0; border: 0; border-radius: 50%; background: #0f4028; color: #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, .2); cursor: pointer; }
.zj-pdf__nav svg { display: block; }
.zj-pdf__nav:hover { background: #e85a00; }
.zj-pdf__nav:disabled { opacity: 0; pointer-events: none; }
.zj-pdf__nav[hidden] { display: none; }
.zj-pdf__nav--prev { left: .75rem; }
.zj-pdf__nav--next { right: .75rem; }
.zj-pdf__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; margin-top: .9rem; }
.zj-pdf__count { font-weight: 700; color: #0f4028; font-variant-numeric: tabular-nums; }
.zj-pdf__actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-left: auto; }
.zj-pdf__btn { display: inline-flex; align-items: center; min-height: 2.75rem; padding: .5rem 1.1rem; border: 2px solid #0f4028; border-radius: 999px; background: transparent; color: #0f4028; font-weight: 700; font-size: .95rem; text-decoration: none; cursor: pointer; }
.zj-pdf__btn:hover { background: #0f4028; color: #fff; }
.zj-pdf__btn[hidden] { display: none; }
/* Phones: arrows would cover the page, swiping turns it */
@media (pointer: coarse) and (max-width: 767px) { .zj-pdf__nav { display: none; } }
/* Full screen (a fixed layer, also where the Fullscreen API is missing, e.g. iPhone) */
.zj-pdf__viewer.is-full { position: fixed; inset: 0; z-index: 1000; display: flex; flex-direction: column; margin: 0; padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); background: #10231a; }
.zj-pdf__viewer.is-full .zj-pdf__stage { flex: 1 1 auto; min-height: 0; border-radius: 0; background: transparent; }
.zj-pdf__viewer.is-full .zj-pdf__track { height: 100%; border-radius: 0; }
.zj-pdf__viewer.is-full .zj-pdf__page { cursor: default; }
.zj-pdf__viewer.is-full .zj-pdf__bar { margin: 0; padding: .6rem 1rem; }
.zj-pdf__viewer.is-full .zj-pdf__count { color: #fff; }
.zj-pdf__viewer.is-full .zj-pdf__btn { border-color: #fff; color: #fff; }
.zj-pdf__viewer.is-full .zj-pdf__btn:hover { background: #fff; color: #0f4028; }
html.zj-pdf-open { overflow: hidden; }

/* Share button beside a news article's date */
.zj-share--page { width: 2.25rem; height: 2.25rem; margin-left: .75rem; }
.zj-share[hidden] { display: none; }
/* Phones: the two buttons side by side under the page count */
@media (max-width: 767px) {
    .zj-pdf__actions { flex-wrap: nowrap; width: 100%; margin-left: 0; }
    .zj-pdf__btn { flex: 1 1 auto; justify-content: center; min-width: 0; padding: .5rem .7rem; font-size: .88rem; white-space: nowrap; }
}
@media (max-width: 359px) { .zj-pdf__btn { padding: .5rem .5rem; font-size: .82rem; } }
/* Full screen: close at the top right; page count and download in one row below */
.zj-pdf__close { position: absolute; top: .75rem; right: .75rem; z-index: 3; display: flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .95); color: #0f4028; box-shadow: 0 4px 14px rgba(0, 0, 0, .3); cursor: pointer; }
.zj-pdf__close:hover { background: #e85a00; color: #fff; }
.zj-pdf__close[hidden] { display: none; }
.zj-pdf__close svg { display: block; }
.zj-pdf__viewer.is-full .zj-pdf__bar { flex-wrap: nowrap; }
.zj-pdf__viewer.is-full .zj-pdf__actions { width: auto; margin-left: auto; }
.zj-pdf__viewer.is-full .zj-pdf__btn { flex: 0 0 auto; }

/* "Projekti po četrtnih skupnostih" (partial/builder/_mol_projects): one district at a time once JS runs */
.zj-mol__pick { scroll-margin-top: 6rem; margin: 0 0 2rem; padding: 1.5rem; border-radius: 1rem; background: #0f4028; color: #fff; box-shadow: 0 10px 30px rgba(15, 64, 40, .2); }
.zj-mol__label { display: block; margin: 0 0 .9rem; font-family: 'Domine', Georgia, serif; font-size: 1.6rem; line-height: 1.2; font-weight: 700; color: #fff; }
.zj-mol__pick-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.zj-mol__select { flex: 1 1 18rem; min-width: 0; min-height: 3.4rem; padding: .7rem 2.8rem .7rem 1.1rem; border: 0; border-radius: .7rem; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%230f4028' stroke-width='2.2'/%3E%3C/svg%3E") no-repeat right 1.1rem center; -webkit-appearance: none; appearance: none; font: inherit; font-size: 1.15rem; font-weight: 700; color: #0f4028; cursor: pointer; }
.zj-mol__select:focus-visible, .zj-mol__locate:focus-visible { outline: 3px solid #e85a00; outline-offset: 2px; }
.zj-mol__pick-row { align-items: center; }
.zj-mol__or { flex: 0 0 auto; font-size: .95rem; font-weight: 600; color: #c9dcbc; }
.zj-mol__or[hidden] { display: none; }
.zj-mol__locate { display: inline-flex; flex: 0 1 auto; align-items: center; justify-content: center; gap: .45rem; min-height: 3.4rem; padding: .7rem 1.3rem; border: 2px solid rgba(255, 255, 255, .55); border-radius: .7rem; background: transparent; font: inherit; font-size: 1.05rem; font-weight: 700; color: #fff; cursor: pointer; transition: background .15s, border-color .15s; }
.zj-mol__locate svg { color: #a8d45a; }
.zj-mol__locate[hidden] { display: none; }
.zj-mol__locate:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.zj-mol__locate[aria-busy="true"] { opacity: .7; cursor: progress; }
.zj-mol__msg { margin: .7rem 0 0; font-size: .95rem; color: #dbe9cf; }
.zj-mol__msg:empty { display: none; }
@media (max-width: 559px) {
    .zj-mol__pick { padding: 1.2rem; }
    .zj-mol__label { font-size: 1.35rem; }
    .zj-mol__locate { flex: 1 1 100%; }
    .zj-mol__or { display: flex; flex: 1 1 100%; align-items: center; gap: .75rem; font-size: .88rem; }
    .zj-mol__or::before, .zj-mol__or::after { content: ""; flex: 1; border-top: 1px solid rgba(255, 255, 255, .25); }
}
.zj-mol__area { margin: 0 0 2.5rem; scroll-margin-top: 6rem; }
.zj-mol.is-js .zj-mol__area { display: none; margin-bottom: 0; }
.zj-mol.is-js .zj-mol__area.is-active { display: block; }
.zj-mol__name { margin: 0 0 1rem; font-family: 'Domine', Georgia, serif; font-size: 1.5rem; line-height: 1.2; color: #0f4028; }
.zj-mol__top { display: grid; gap: 1rem; margin-bottom: 1rem; }
@media (min-width: 900px) { .zj-mol__top { grid-template-columns: 3fr 2fr; } .zj-mol__top > :only-child { grid-column: 1 / -1; } }
.zj-mol__card { margin: 0 0 1rem; padding: 1.25rem; border-radius: .8rem; background: #fff; box-shadow: 0 6px 20px rgba(15, 64, 40, .07); }
.zj-mol__top .zj-mol__card { margin: 0; }
.zj-mol__total { margin: 0 0 .9rem; color: #33443a; }
.zj-mol__total b { display: block; font-family: 'Domine', Georgia, serif; font-size: 2.2rem; line-height: 1.1; color: #0f4028; }
.zj-mol__stack { display: flex; height: 1.1rem; overflow: hidden; border-radius: 999px; background: #eef3ea; }
.zj-mol__stack--thin { height: .8rem; }
.zj-mol__seg { display: block; height: 100%; }
.zj-mol__seg--complete, .zj-mol__dot--complete { background: #0f4028; }
.zj-mol__seg--ongoing, .zj-mol__dot--ongoing { background: #7eb015; }
.zj-mol__seg--unknown, .zj-mol__dot--unknown { background: #c5d0c0; }
.zj-mol__legend { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin: .8rem 0 0; padding: 0; list-style: none; font-size: .95rem; color: #33443a; }
.zj-mol__legend li { display: inline-flex; align-items: center; gap: .4rem; }
.zj-mol__legend b { color: #0f4028; }
.zj-mol__dot { display: inline-block; width: .75rem; height: .75rem; border-radius: 50%; }
.zj-mol__rep { display: flex; align-items: center; gap: 1rem; }
.zj-mol__photo { flex: 0 0 auto; width: 88px; height: 88px; border-radius: 50%; object-fit: cover; background: #eef3ea; }
.zj-mol__role { margin: 0; font-size: .85rem; color: #5c6b62; }
.zj-mol__person { margin: .1rem 0 .4rem; font-family: 'Domine', Georgia, serif; font-size: 1.3rem; line-height: 1.2; font-weight: 700; color: #0f4028; }
.zj-mol__links { display: flex; flex-wrap: wrap; gap: .3rem 1rem; margin: 0; font-size: .92rem; }
.zj-mol__links a, .zj-mol__ptitle a, .zj-dtable__source a { color: #0f4028; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.zj-mol__links a:hover, .zj-mol__ptitle a:hover { color: #e85a00; }
.zj-mol__h { margin: 0 0 .8rem; font-size: 1.05rem; font-weight: 700; color: #0f4028; }
.zj-mol__hint { margin: -.4rem 0 .9rem; font-size: .9rem; color: #5c6b62; }
.zj-mol__bars + .zj-mol__hint { margin: .8rem 0 0; }
.zj-mol__bars { margin: 0; padding: 0; list-style: none; }
.zj-mol__bar-row { display: grid; grid-template-columns: minmax(6rem, 13rem) 1fr 2.6rem; align-items: center; gap: .75rem; padding: .3rem 0; color: #33443a; font-size: .95rem; text-decoration: none; }
a.zj-mol__bar-row { margin: 0 -.5rem; padding: .35rem .5rem; border-radius: .4rem; }
a.zj-mol__bar-row:hover, a.zj-mol__bar-row:focus-visible { background: #f2f6ef; color: #0f4028; }
a.zj-mol__bar-row:focus-visible { outline: 3px solid #e85a00; outline-offset: 0; }
a.zj-mol__bar-row .zj-mol__bar-name { font-weight: 600; text-decoration: underline; text-decoration-color: #c5d0c0; text-underline-offset: 3px; }
.zj-mol__bar-track { min-width: 0; }
.zj-mol__fill { display: block; height: .8rem; min-width: 3px; border-radius: 999px; background: #7eb015; }
.zj-mol__bar-value { text-align: right; font-variant-numeric: tabular-nums; color: #0f4028; }
@media (max-width: 559px) {
    .zj-mol__bar-row { grid-template-columns: 1fr 2.4rem; gap: .2rem .6rem; }
    .zj-mol__bar-track { grid-column: 1 / -1; grid-row: 2; }
    .zj-mol__bar-value { grid-column: 2; grid-row: 1; }
}
.zj-mol__projects { display: grid; gap: .75rem; margin: 0; padding: 0; list-style: none; }
@media (min-width: 768px) { .zj-mol__projects { grid-template-columns: 1fr 1fr; } }
.zj-mol__project { padding: 1rem 1.1rem; border-radius: .7rem; background: #fff; box-shadow: 0 4px 14px rgba(15, 64, 40, .06); }
.zj-mol.is-js .zj-mol__list:not(.is-open) .zj-mol__project--more { display: none; }
.zj-mol__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .5rem; margin: 0 0 .4rem; font-size: .82rem; color: #5c6b62; }
.zj-mol__pill { display: inline-block; padding: .1rem .55rem; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.zj-mol__pill--complete { background: #e3ede0; color: #0f4028; }
.zj-mol__pill--ongoing { background: #edf6d6; color: #476a05; }
.zj-mol__pill--unknown { background: #eef0ec; color: #5c6b62; }
.zj-mol__ptitle { margin: 0; font-size: 1.02rem; line-height: 1.35; }
.zj-mol__pintro { margin: .35rem 0 0; font-size: .92rem; line-height: 1.5; color: #33443a; }
.zj-mol__also { margin: .35rem 0 0; font-size: .82rem; color: #5c6b62; }
.zj-mol__more { display: block; margin: 1.2rem auto 0; min-height: 2.9rem; padding: .7rem 1.4rem; border: 2px solid #0f4028; border-radius: 999px; background: #fff; font: inherit; font-weight: 700; color: #0f4028; cursor: pointer; }
.zj-mol__more:hover { background: #0f4028; color: #fff; }
.zj-mol__more:focus-visible { outline: 3px solid #e85a00; outline-offset: 2px; }
.zj-mol__subs { margin: .5rem 0 0; font-size: .88rem; color: #33443a; }
.zj-mol__subs summary { display: inline-flex; align-items: center; gap: .35rem; min-height: 2rem; cursor: pointer; font-weight: 700; color: #0f4028; list-style: none; }
.zj-mol__subs summary::-webkit-details-marker { display: none; }
.zj-mol__subs summary::after { content: ""; width: .45rem; height: .45rem; margin-left: .15rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.zj-mol__subs[open] summary::after { transform: rotate(-135deg) translateY(-1px); }
.zj-mol__subs summary:focus-visible { outline: 3px solid #e85a00; outline-offset: 2px; border-radius: .3rem; }
.zj-mol__subs ul { display: grid; gap: .45rem; margin: .4rem 0 0; padding: .7rem 0 0; border-top: 1px solid #e3eadf; list-style: none; }
.zj-mol__subs li { line-height: 1.4; }
.zj-mol__subs .zj-mol__pill { margin-right: .25rem; font-size: .64rem; vertical-align: 1px; }
.zj-mol__subyear { color: #5c6b62; white-space: nowrap; }
/* The headline split (only in the centre vs elsewhere) and the district tile map */
.zj-mol__split { margin: 0 0 1.75rem; }
/* District name with the share button beside it (added by /js/zj-interactive.js) */
.zj-mol__head { align-items: center; margin: 0 0 1rem; }
.zj-mol__head .zj-mol__name { margin: 0; }
.zj-mol__big { margin: 0; font-size: 1.15rem; line-height: 1.3; font-weight: 600; color: #0f4028; }
.zj-mol__big b { display: block; font-family: 'Domine', Georgia, serif; font-size: 3.2rem; line-height: 1; }
.zj-mol__sub { max-width: 40rem; margin: .5rem 0 1rem; color: #33443a; }
.zj-mol__stack--big { height: 1.6rem; }
.zj-mol__seg--outside, .zj-mol__dot--outside { background: #7eb015; }
.zj-mol__seg--both, .zj-mol__dot--both { background: #b9db7a; }
.zj-mol__seg--city, .zj-mol__dot--city { background: #c5d0c0; }
.zj-mol__seg--center, .zj-mol__dot--center { background: #0f4028; }
.zj-mol__map { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .35rem; max-width: 34rem; margin: 0 auto; padding: 0; list-style: none; }
.zj-mol__tile { display: flex; flex-direction: column; justify-content: space-between; height: 100%; min-height: 4.6rem; padding: .45rem .5rem; border-radius: .5rem; color: #0f4028; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.zj-mol__tile span { font-size: .78rem; line-height: 1.15; font-weight: 600; overflow-wrap: anywhere; hyphens: auto; }
.zj-mol__tile b { font-family: 'Domine', Georgia, serif; font-size: 1.25rem; line-height: 1; }
a.zj-mol__tile:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(15, 64, 40, .18); }
a.zj-mol__tile:focus-visible { outline: 3px solid #e85a00; outline-offset: 2px; }
.zj-mol__tile--1 { background: #e6f1d0; }
.zj-mol__tile--2 { background: #cbe59b; }
.zj-mol__tile--3 { background: #a3cf55; }
.zj-mol__tile--4 { background: #6a9f1c; color: #fff; }
.zj-mol__tile--5 { background: #3d6e12; color: #fff; }
.zj-mol__tile--center { background: #fff; color: #0f4028; box-shadow: inset 0 0 0 2px #0f4028; }
.zj-mol__scale { display: flex; align-items: center; justify-content: center; gap: .25rem; margin: .9rem 0 0; font-size: .82rem; color: #5c6b62; }
.zj-mol__scale i { display: inline-block; width: 1.4rem; height: .8rem; border-radius: .2rem; }
.zj-mol__scale i:first-of-type { margin-left: .3rem; }
.zj-mol__scale i:last-of-type { margin-right: .3rem; }
.zj-mol__map + .zj-mol__scale + .zj-mol__hint { margin-top: .6rem; text-align: center; }
@media (max-width: 479px) {
    .zj-mol__map { gap: .25rem; }
    .zj-mol__tile { min-height: 3.9rem; padding: .35rem .3rem; }
    .zj-mol__tile span { font-size: .64rem; }
    .zj-mol__tile b { font-size: 1.05rem; }
    .zj-mol__big b { font-size: 2.6rem; }
}
/* The slim picker under the menu once the big one has scrolled away (built in zj-interactive.js) */
.zj-mol__float { position: fixed; left: 0; right: 0; top: calc(var(--zj-sticky-h, 58px) + var(--zj-toc-h, 0px)); z-index: 29; padding: .5rem 1.25rem; background: #0f4028; box-shadow: 0 8px 20px rgba(15, 64, 40, .25); animation: zj-mol-float .2s ease-out; }
.zj-mol__float[hidden] { display: none; }
.zj-mol__float-in { display: flex; gap: .5rem; max-width: 69.5rem; margin: 0 auto; }
.zj-mol__float .zj-mol__select { flex: 1 1 auto; min-height: 2.75rem; padding-top: .45rem; padding-bottom: .45rem; font-size: 1rem; }
.zj-mol__locate--slim { flex: 0 0 auto; min-height: 2.75rem; padding: .45rem 1rem; font-size: .95rem; }
@media (max-width: 559px) {
    .zj-mol__float { padding: .45rem .75rem; }
    .zj-mol__locate--slim { padding: .45rem .8rem; }
    .zj-mol__locate--slim span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
@keyframes zj-mol-float { from { transform: translateY(-100%); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .zj-mol__float { animation: none; } }

/* "Ključne zaveze": the dark green band of "Številke", with a heading and a sentence under each number;
   one a row on phones, two on tablets, three on desktop */
.zj-commit { padding: 3.5rem 0; background: #0f4028; color: #fff; }
.zj-commit .zj-sec-title { color: #fff; }
.zj-commit .zj-sec-intro { color: #d9e6d6; }
.zj-commit .zj-sec-intro a { color: #a8d45a; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.zj-commit .zj-sec-intro a:hover { color: #fff; }
.zj-commit .zj-share { border-color: rgba(168, 212, 90, .45); background: transparent; color: #fff; }
.zj-commit .zj-share:hover { border-color: #a8d45a; background: #a8d45a; color: #0f4028; }
.zj-commit__list { display: grid; gap: 1.5rem; margin: 0; padding: 0; list-style: none; }
.zj-commit__item { padding-top: 1rem; border-top: 2px solid rgba(168, 212, 90, .35); }
.zj-commit__num { display: block; font-family: 'Domine', Georgia, serif; font-size: 2.4rem; line-height: 1.05; font-weight: 700; color: #a8d45a; }
.zj-commit__text { margin: .5rem 0 0; min-width: 0; font-size: 1rem; line-height: 1.5; color: #d9e6d6; overflow-wrap: break-word; }
@media (min-width: 640px) {
    .zj-commit__list { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.75rem; }
}
@media (min-width: 1024px) {
    .zj-commit { padding: 4rem 0; }
    .zj-commit__list { grid-template-columns: repeat(3, 1fr); gap: 2.5rem 2rem; }
    .zj-commit__num { font-size: 2.6rem; }
}

/* "Besedilo z naslovom" with "Skrajšaj sezname": the rest of a long list behind a button (zj-interactive.js) */
.zj-rtext__body ul.is-limited > li.zj-rtext__extra, .zj-rtext__body ol.is-limited > li.zj-rtext__extra { display: none; }
.zj-rtext__body li:focus { outline: none; }
.zj-rtext__more { display: inline-block; margin: 0 0 1.1rem; min-height: 2.75rem; padding: .6rem 1.3rem; border: 2px solid #0f4028; border-radius: 999px; background: transparent; font: inherit; font-size: 1rem; font-weight: 700; color: #0f4028; cursor: pointer; }
.zj-rtext__more:hover { background: #0f4028; color: #fff; }
.zj-rtext__more:focus-visible { outline: 3px solid #e85a00; outline-offset: 2px; }

/* "Volilni program (povezava)": the dark band of "Številke s povezavo na stran" with the first key commitments, one to three a row */
.zj-pteaser__grid { grid-area: grid; display: grid; gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
/* Programme page and topic pages: the topic pages as cards */
.zj-topics { padding: 3rem 0; background: #f4f8ef; }
/* A case with a page of its own: the link at the end of its text */
.zj-case__more { margin-top: 1rem; font-weight: 700; }
.zj-case__more a { color: #0f4028; text-decoration: underline; text-underline-offset: 3px; }
.zj-topics__list { display: grid; gap: .9rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.zj-topics__link { display: flex; flex-direction: column; gap: .35rem; height: 100%; padding: 1.1rem 1.25rem; border: 2px solid transparent; border-radius: 1rem; background: #fff; color: #33443a; text-decoration: none; box-shadow: 0 4px 14px rgba(15, 64, 40, .06); }
.zj-topics__link:hover { border-color: #0f4028; }
.zj-topics__link:focus-visible { outline: 3px solid #e85a00; outline-offset: 2px; }
.zj-topics__link b { font-family: 'Domine', Georgia, serif; font-size: 1.15rem; line-height: 1.3; color: #0f4028; }
.zj-topics__link span { font-size: .92rem; line-height: 1.5; }
@media (min-width: 768px) {
    .zj-topics { padding: 4rem 0; }
    .zj-topics__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
}
@media (min-width: 1100px) {
    .zj-topics__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.zj-pteaser__grid:empty { display: none; }
.zj-pteaser__item { padding-top: 1rem; border-top: 2px solid rgba(168, 212, 90, .35); }
.zj-pteaser__item b { display: block; font-family: 'Domine', Georgia, serif; font-size: 2.2rem; line-height: 1.1; color: #a8d45a; }
.zj-pteaser__item span { display: block; margin-top: .45rem; font-size: 1rem; line-height: 1.45; color: #d9e6d6; overflow-wrap: break-word; }
@media (min-width: 768px) {
    .zj-pteaser__grid { grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 2rem; }
}

/* Instagram floater (partial/_ig_floater): a round button bottom right whose picture keeps moving,
   and the story-like viewer it opens */
.zj-igf { position: fixed; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom)); z-index: 55; width: 4rem; height: 4rem; padding: 0; border: 0; border-radius: 50%; background: transparent; box-shadow: 0 8px 22px rgba(8, 30, 19, .3); cursor: pointer; opacity: 0; transform: translateY(1rem) scale(.6); pointer-events: none; transition: opacity .3s ease, transform .3s ease; }
.zj-igf.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.zj-igf-root.is-away .zj-igf { opacity: 0; transform: translateY(1rem) scale(.6); pointer-events: none; }
.zj-igf.is-shown:hover { transform: scale(1.06); }
.zj-igf:focus { outline: none; }
.zj-igf:focus-visible { outline: 3px solid #e85a00; outline-offset: 3px; }
.zj-igf__ring { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5, #feda75); animation: zj-igf-spin 3.5s linear infinite; }
.zj-igf__media { position: absolute; inset: 3px; overflow: hidden; border: 2px solid #fff; border-radius: 50%; background: #0f4028; }
.zj-igf__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s ease; }
.zj-igf__media img.is-on { opacity: 1; animation: zj-igf-pan 3.4s ease-out both; }
.zj-igf__badge { position: absolute; right: -3px; bottom: -3px; display: flex; align-items: center; justify-content: center; width: 1.45rem; height: 1.45rem; border: 2px solid #fff; border-radius: 50%; background: linear-gradient(135deg, #fa7e1e, #d62976 55%, #962fbf); color: #fff; }
@keyframes zj-igf-spin { to { transform: rotate(360deg); } }
@keyframes zj-igf-pan { from { transform: scale(1.02); } to { transform: scale(1.22) translate(-3%, 2%); } }
@media (min-width: 768px) {
    .zj-igf { right: 1.5rem; bottom: 1.5rem; width: 4.5rem; height: 4.5rem; }
}

.zj-igv { position: fixed; inset: 0; z-index: 65; display: flex; align-items: center; justify-content: center; }
.zj-igv__backdrop { position: absolute; inset: 0; background: rgba(4, 14, 9, .9); }
.zj-igv__dialog { position: relative; width: 100%; height: 100%; overflow: hidden; background: #000; color: #fff; touch-action: pan-y; }
.zj-igv__dialog::before, .zj-igv__dialog::after { content: ""; position: absolute; left: 0; right: 0; z-index: 2; pointer-events: none; }
.zj-igv__dialog::before { top: 0; height: 7rem; background: linear-gradient(rgba(0, 0, 0, .55), transparent); }
.zj-igv__dialog::after { bottom: 0; height: 13rem; background: linear-gradient(transparent, rgba(0, 0, 0, .75)); }
.zj-igv__media { position: absolute; inset: 0; z-index: 1; }
.zj-igv__media video, .zj-igv__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.zj-igv__paused { position: absolute; top: 50%; left: 50%; display: flex; align-items: center; justify-content: center; width: 4.5rem; height: 4.5rem; border-radius: 50%; background: rgba(0, 0, 0, .45); transform: translate(-50%, -50%); }
.zj-igv__bars { position: absolute; top: calc(.6rem + env(safe-area-inset-top)); left: .6rem; right: .6rem; z-index: 3; display: flex; gap: 4px; }
.zj-igv__bar { flex: 1; height: 3px; overflow: hidden; border-radius: 3px; background: rgba(255, 255, 255, .35); }
.zj-igv__bar > span { display: block; height: 100%; background: #fff; transition: width .25s linear; }
.zj-igv__head { position: absolute; top: calc(1.1rem + env(safe-area-inset-top)); left: .75rem; right: .5rem; z-index: 3; display: flex; align-items: center; gap: .5rem; font-size: .9rem; text-shadow: 0 1px 3px rgba(0, 0, 0, .4); }
.zj-igv__handle { display: inline-flex; align-items: center; gap: .5rem; min-width: 0; color: #fff; text-decoration: none; }
.zj-igv__handle strong { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.zj-igv__avatar { display: flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 2rem; height: 2rem; border-radius: 50%; background: linear-gradient(135deg, #fa7e1e, #d62976 55%, #962fbf); }
.zj-igv__ago { flex: 0 0 auto; opacity: .8; }
.zj-igv__count { margin-left: auto; flex: 0 0 auto; opacity: .8; font-variant-numeric: tabular-nums; }
.zj-igv__icon { display: flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 2.6rem; height: 2.6rem; padding: 0; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .3); color: #fff; cursor: pointer; }
.zj-igv__icon:hover { background: rgba(0, 0, 0, .55); }
.zj-igv__nav { position: absolute; top: 50%; z-index: 3; display: flex; align-items: center; justify-content: center; width: 2.6rem; height: 2.6rem; padding: 0; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .38); color: #fff; cursor: pointer; transform: translateY(-50%); }
.zj-igv__nav:hover { background: #fff; color: #0f4028; }
.zj-igv__nav--prev { left: .5rem; }
.zj-igv__nav--next { right: .5rem; }
.zj-igv__foot { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 1rem 1rem calc(1.1rem + env(safe-area-inset-bottom)); }
.zj-igv__caption { display: -webkit-box; margin: 0 0 .85rem; overflow: hidden; font-size: 1rem; font-weight: 600; line-height: 1.4; text-shadow: 0 1px 3px rgba(0, 0, 0, .5); -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.zj-igv__actions { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.zj-igv__follow { flex: 0 1 auto; }
.zj-igv__post { flex: 0 0 auto; color: #fff; font-size: .9rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.zj-igv button:focus { outline: none; }
.zj-igv button:focus-visible, .zj-igv a:focus-visible { outline: 3px solid #e85a00; outline-offset: 2px; }
@media (min-width: 640px) {
    .zj-igv__dialog { width: auto; height: min(calc(100dvh - 3rem), 56rem); aspect-ratio: 9 / 16; border-radius: 1rem; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
}
@media (prefers-reduced-motion: reduce) {
    .zj-igf__ring, .zj-igf__media img.is-on { animation: none; }
    .zj-igf, .zj-igf__media img { transition: none; }
}

/* Candidate list (partial/builder/_person_card): three small portraits per row on phones, more on
   wider screens; search above the full list; a tap opens the candidate as a card over the page */
.zj-people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; margin-top: 1.75rem; text-align: left; }
.zj-person { display: flex; flex-direction: column; overflow: hidden; border-radius: .75rem; background: #fff; color: inherit; text-decoration: none; box-shadow: 0 4px 14px rgba(15, 64, 40, .08); transition: transform .15s ease, box-shadow .15s ease; }
.zj-person[hidden] { display: none; }
.zj-person:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(15, 64, 40, .15); }
.zj-person:focus { outline: none; }
.zj-person:focus-visible { outline: 3px solid #e85a00; outline-offset: 2px; }
.zj-person__photo { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: #e8efe3; }
.zj-person__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.zj-person__no { position: absolute; left: .4rem; top: .4rem; display: flex; align-items: center; justify-content: center; min-width: 1.75rem; height: 1.75rem; padding: 0 .45rem; border-radius: 999px; background: #a8d45a; color: #0f4028; font-size: .8rem; font-weight: 700; line-height: 1; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); }
.zj-person__body { display: flex; flex: 1; flex-direction: column; gap: .2rem; padding: .5rem .55rem .65rem; }
.zj-person__name { font-size: .8rem; font-weight: 600; line-height: 1.22; color: #0f4028; overflow-wrap: anywhere; }
.zj-person__job { display: -webkit-box; overflow: hidden; font-size: .7rem; line-height: 1.3; color: #5c6b62; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
@media (max-width: 639px) {
    /* No. 1, the candidate for mayor too: across the row, photo beside the name */
    .zj-person--lead { grid-column: 1 / -1; flex-direction: row; }
    .zj-person--lead .zj-person__photo { flex: 0 0 42%; }
    .zj-person--lead .zj-person__body { justify-content: center; gap: .35rem; padding: 1rem 1.1rem; }
    .zj-person--lead .zj-person__name { font-family: 'Domine', Georgia, serif; font-size: 1.35rem; font-weight: 700; }
    .zj-person--lead .zj-person__job { font-size: .9rem; -webkit-line-clamp: 3; }
    .zj-person--lead .zj-person__no { min-width: 2.1rem; height: 2.1rem; font-size: .95rem; }
}
@media (min-width: 640px) {
    .zj-people { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: 2.5rem; }
    .zj-person__body { padding: .75rem .9rem .9rem; }
    .zj-person__name { font-size: 1rem; }
    .zj-person__job { font-size: .82rem; }
    .zj-person__no { left: .6rem; top: .6rem; min-width: 2rem; height: 2rem; font-size: .9rem; }
}
@media (min-width: 1024px) {
    .zj-people { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.25rem; }
}

.zj-people-search { max-width: 34rem; margin: 1.75rem auto 0; text-align: left; }
.zj-people-search[hidden] { display: none; }
.zj-people-search__label { display: block; margin: 0 0 .45rem; font-size: .95rem; font-weight: 600; color: #0f4028; }
.zj-people-search__field { position: relative; }
.zj-people-search__field svg { position: absolute; left: 1rem; top: 50%; color: #5c6b62; transform: translateY(-50%); pointer-events: none; }
.zj-people-search__field input { width: 100%; height: 3.1rem; padding: 0 1rem 0 2.9rem; border: 2px solid #d5e0cf; border-radius: 999px; background: #fff; color: #13281d; font-size: 1rem; -webkit-appearance: none; appearance: none; }
.zj-people-search__field input:focus { outline: none; border-color: #7eb015; box-shadow: 0 0 0 3px rgba(126, 176, 21, .25); }
.zj-people-search__count { min-height: 1.3em; margin: .5rem 0 0 .25rem; font-size: .88rem; color: #5c6b62; }
.zj-people__empty { margin: 1.5rem 0 0; text-align: center; color: #5c6b62; }
.zj-people__empty[hidden] { display: none; }

.zj-pview { position: fixed; inset: 0; z-index: 66; display: flex; align-items: flex-end; justify-content: center; }
.zj-pview[hidden] { display: none; }
.zj-pview__backdrop { position: absolute; inset: 0; background: rgba(4, 14, 9, .6); }
.zj-pview__panel { position: relative; width: 100%; max-height: 94dvh; overflow-y: auto; overscroll-behavior: contain; border-radius: 1.1rem 1.1rem 0 0; background: #fff; color: #13281d; box-shadow: 0 -10px 40px rgba(0, 0, 0, .25); animation: zj-pview-up .22s ease-out; }
@keyframes zj-pview-up { from { transform: translateY(2rem); opacity: .4; } to { transform: none; opacity: 1; } }
.zj-pview__photo { position: relative; aspect-ratio: 1 / 1; max-height: 48dvh; width: 100%; background: #e8efe3; }
.zj-pview__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.zj-pview__close { position: absolute; top: .75rem; right: .75rem; z-index: 2; display: flex; align-items: center; justify-content: center; width: 2.6rem; height: 2.6rem; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: #0f4028; cursor: pointer; box-shadow: 0 2px 10px rgba(0, 0, 0, .2); }
.zj-pview__body { padding: 1.1rem 1.25rem calc(1.1rem + env(safe-area-inset-bottom)); }
.zj-pview__head { display: flex; align-items: center; gap: .75rem; }
.zj-pview__no[hidden] { display: none; }
.zj-pview__no { display: flex; flex: 0 0 auto; align-items: center; justify-content: center; min-width: 2.4rem; height: 2.4rem; padding: 0 .5rem; border-radius: 999px; background: #a8d45a; color: #0f4028; font-size: 1.05rem; font-weight: 700; }
.zj-pview__name { margin: 0; font-family: 'Domine', Georgia, serif; font-size: 1.45rem; font-weight: 700; line-height: 1.2; color: #0f4028; }
.zj-pview__job { margin: .5rem 0 0; font-size: .95rem; color: #5c6b62; }
.zj-pview__quote { margin: .9rem 0 0; padding-left: .9rem; border-left: 3px solid #a8d45a; font-size: .98rem; line-height: 1.55; color: #26372d; }
.zj-pview__quote[hidden] { display: none; }
.zj-pview__profile { display: block; margin-top: 1.1rem; width: 100%; }
.zj-pview__nav { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-top: 1rem; }
.zj-pview__navbtn { display: inline-flex; align-items: center; gap: .3rem; min-height: 2.75rem; padding: 0 .9rem; border: 0; border-radius: 999px; background: #eef5e2; color: #0f4028; font-size: .9rem; font-weight: 600; cursor: pointer; }
.zj-pview__navbtn:hover { background: #0f4028; color: #fff; }
.zj-pview__count { font-size: .88rem; color: #5c6b62; font-variant-numeric: tabular-nums; }
.zj-pview button:focus { outline: none; }
.zj-pview button:focus-visible, .zj-pview a:focus-visible { outline: 3px solid #e85a00; outline-offset: 2px; }
@media (min-width: 768px) {
    .zj-pview { align-items: center; padding: 1.5rem; }
    .zj-pview__panel { display: grid; grid-template-columns: 340px minmax(0, 1fr); max-width: 52rem; max-height: min(40rem, 92dvh); border-radius: 1.1rem; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
    .zj-pview__photo { aspect-ratio: auto; max-height: none; height: 100%; min-height: 28rem; }
    .zj-pview__body { display: flex; flex-direction: column; padding: 2rem 2rem 1.5rem; overflow-y: auto; }
    .zj-pview__name { font-size: 1.75rem; }
    .zj-pview__profile { align-self: flex-start; width: auto; }
    .zj-pview__nav { margin-top: auto; padding-top: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
    .zj-person, .zj-pview__panel { transition: none; animation: none; }
}

/* Supporters (partial/builder/supporter_card): square photo with the year of the statement */
/* The names matter more than the photos: two in a row on phones, a low photo, the name large */
[data-zj-people="podporniki"] { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
.zj-person--supp .zj-person__photo { aspect-ratio: 3 / 2; }
.zj-person--supp .zj-person__photo img { object-position: center 30%; }
.zj-person--supp .zj-person__body { justify-content: center; padding: .6rem .75rem .75rem; }
.zj-person--supp .zj-person__name { font-family: 'Domine', Georgia, serif; font-size: 1.05rem; font-weight: 700; line-height: 1.25; overflow-wrap: break-word; }
@media (min-width: 640px) {
    [data-zj-people="podporniki"] { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
    .zj-person--supp .zj-person__body { padding: .8rem 1rem 1rem; }
    .zj-person--supp .zj-person__name { font-size: 1.2rem; }
}
@media (min-width: 1024px) {
    [data-zj-people="podporniki"] { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
    .zj-person--supp .zj-person__name { font-size: 1.3rem; }
}
.zj-person__tag { position: absolute; left: .4rem; bottom: .4rem; padding: .2rem .45rem; border-radius: 999px; background: rgba(15, 64, 40, .88); color: #fff; font-size: .68rem; font-weight: 600; line-height: 1.2; font-variant-numeric: tabular-nums; }
@media (min-width: 640px) {
    .zj-person__tag { left: .6rem; bottom: .6rem; padding: .25rem .6rem; font-size: .78rem; }
}
/* Elected to the city council: the tag on a candidate's photo, in the opened card and on the profile */
.zj-person__tag--elected { background: #7eb015; color: #0f2a1c; white-space: nowrap; }
/* Three narrow cards in a row on phones: the tag without the years (the first, wide card keeps them) */
@media (max-width: 639px) {
    .zj-person:not(.zj-person--lead) .zj-person__years { display: none; }
}
.zj-pview__tag { display: inline-block; margin: .6rem 0 0; padding: .25rem .7rem; border-radius: 999px; background: #7eb015; color: #0f2a1c; font-size: .82rem; font-weight: 700; }
.zj-pview__tag[hidden] { display: none; }
.zj-elected { display: inline-block; margin: 1rem 0 0; padding: .35rem .9rem; border-radius: 999px; background: #7eb015; color: #0f2a1c; font-size: .95rem; font-weight: 700; }

/* The candidates as a list: each <li> stands for its card, which stays the grid's item */
ul.zj-people { padding: 0; list-style: none; }
.zj-people__item { display: contents; }
.zj-people__none { grid-column: 1 / -1; }
/* The name is a heading for machines; it keeps the card's own type (headings are set in Domine) */
h3.zj-person__name { margin: 0; font-family: inherit; letter-spacing: inherit; }
/* Above the list: the search, and beside it (below it on phones) how many of the candidates won a seat */
.zj-people-top { display: flex; flex-direction: column; gap: 1rem; max-width: 34rem; margin: 1.75rem auto 0; }
.zj-people-top > .zj-people-search { width: 100%; max-width: none; margin: 0; }
.zj-people__elected { margin: 0; padding: .75rem 1rem; border-radius: .75rem; background: #eef5e2; color: #13281d; font-size: .95rem; line-height: 1.45; text-align: left; }
@media (min-width: 900px) {
    .zj-people-top:has(.zj-people__elected) { flex-direction: row; align-items: center; gap: 2rem; max-width: 64rem; }
    .zj-people-top:has(.zj-people__elected) > * { flex: 1 1 0; min-width: 0; }
}
.zj-people__elected strong { color: #0f4028; }
.zj-people-search__seats { margin-top: .7rem; }

/* A candidate's page: where it is, the place on the list and the seat, who the person is, the neighbours on the list */
.zj-crumbs { display: flex; flex-wrap: wrap; justify-content: center; gap: .15rem .45rem; margin: 0 0 1rem; font-size: .85rem; line-height: 1.4; color: #5c6b62; }
.zj-crumbs a { color: #0f4028; text-decoration: underline; text-underline-offset: 2px; }
.zj-crumbs a:hover { color: #7eb015; }
.zj-entry-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin: 1rem 0 0; }
.zj-entry-tags .zj-elected { margin: 0; }
.zj-entry-tag { display: inline-block; padding: .35rem .9rem; border: 2px solid #d5e0cf; border-radius: 999px; background: #fff; color: #0f4028; font-size: .95rem; font-weight: 600; }
.prose .zj-profile-lead { margin-top: 1.5rem; font-size: 1.05rem; font-weight: 500; color: #13281d; }
/* The candidate's own words: a quotation for machines, set as before for readers */
.prose blockquote.zj-statement { margin: 0; padding: 0; border: 0; font-style: normal; font-weight: inherit; color: inherit; quotes: none; }
.prose blockquote.zj-statement p:first-of-type::before,
.prose blockquote.zj-statement p:last-of-type::after { content: none; }
.zj-prevnext { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin-top: 2rem; }
.prose .zj-prevnext__link { display: flex; flex-direction: column; gap: .15rem; padding: .7rem .9rem; border: 2px solid #d5e0cf; border-radius: .75rem; background: #fff; color: #0f4028; text-decoration: none; line-height: 1.3; }
.prose .zj-prevnext__link:hover { border-color: #0f4028; }
.zj-prevnext__link--next { text-align: right; }
.zj-prevnext__label { font-size: .78rem; font-weight: 500; color: #5c6b62; }
.zj-prevnext__name { font-size: .95rem; font-weight: 700; color: #0f4028; overflow-wrap: anywhere; }
.zj-people-search__years { display: flex; gap: .3rem; margin-top: .7rem; overflow-x: auto; scrollbar-width: none; }
.zj-people-search__years::-webkit-scrollbar { display: none; }
.zj-people-search__years[hidden] { display: none; }
.zj-people-search__year { display: inline-flex; flex: 0 0 auto; align-items: center; gap: .25rem; min-height: 2.5rem; padding: 0 .6rem; border: 2px solid #d5e0cf; border-radius: 999px; background: #fff; color: #0f4028; font-size: .85rem; font-weight: 600; cursor: pointer; }
.zj-people-search__year span { font-weight: 500; color: #5c6b62; font-size: .72rem; }
@media (min-width: 640px) {
    .zj-people-search__years { gap: .45rem; }
    .zj-people-search__year { padding: 0 1rem; font-size: .9rem; }
}
.zj-people-search__year[aria-pressed="true"] { border-color: #0f4028; background: #0f4028; color: #fff; }
.zj-people-search__year[aria-pressed="true"] span { color: #c9e3a0; }
.zj-people-search__year:focus { outline: none; }
.zj-people-search__year:focus-visible { outline: 3px solid #e85a00; outline-offset: 2px; }
/* The supporter's card: the photo whole (they are landscape), the statement under it */
.zj-pview--wide .zj-pview__photo { aspect-ratio: 3 / 2; max-height: 42dvh; }
.zj-pview--wide .zj-pview__photo img { object-position: center 30%; }
.zj-pview--wide .zj-pview__quote { font-style: italic; }
@media (min-width: 768px) {
    .zj-pview--wide .zj-pview__panel { display: block; max-width: 36rem; max-height: 94dvh; }
    .zj-pview--wide .zj-pview__photo { height: auto; min-height: 0; max-height: none; aspect-ratio: 3 / 2; }
    .zj-pview--wide .zj-pview__body { overflow: visible; padding: 1.5rem 2rem 1.5rem; }
}

/* The list's heads in the districts (partial/builder/nosilci_cs_full_list): a row each on phones,
   photo (video when there is one), name, district and a link to the district's projects */
.zj-csreps { display: grid; gap: .65rem; margin-top: 2rem; text-align: left; }
.zj-csrep { display: flex; align-items: stretch; overflow: hidden; border-radius: .9rem; background: #fff; box-shadow: 0 4px 14px rgba(15, 64, 40, .08); }
.zj-csrep__photo { position: relative; display: block; flex: 0 0 7rem; align-self: stretch; min-height: 7rem; padding: 0; border: 0; background: #e8efe3; overflow: hidden; }
.zj-csrep__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.zj-csrep__photo--video { cursor: pointer; }
.zj-csrep__play { position: absolute; left: .45rem; bottom: .45rem; display: flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; border-radius: 50%; background: rgba(255, 255, 255, .94); color: #0f4028; box-shadow: 0 2px 8px rgba(0, 0, 0, .25); }
.zj-csrep__play svg { margin-left: 2px; }
.zj-csrep__photo--video:hover .zj-csrep__play { background: #a8d45a; }
.zj-csrep__photo--video:focus { outline: none; }
.zj-csrep__photo--video:focus-visible { outline: 3px solid #e85a00; outline-offset: -3px; }
.zj-csrep__body { display: flex; flex: 1; flex-direction: column; justify-content: center; gap: .15rem; min-width: 0; padding: .75rem .9rem .8rem; }
.zj-csrep__cs { margin: 0; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #5f8f12; }
.zj-csrep__name { margin: 0; font-family: 'Domine', Georgia, serif; font-size: 1.08rem; font-weight: 700; line-height: 1.25; color: #0f4028; }
.zj-csrep__projects { display: inline-flex; align-self: flex-start; align-items: center; gap: .4rem; margin-top: .45rem; padding: .45rem .75rem; border-radius: 999px; background: #eef5e2; color: #0f4028; font-size: .82rem; font-weight: 600; line-height: 1.25; text-decoration: none; }
.zj-csrep__projects svg { flex: 0 0 auto; }
.zj-csrep__projects:hover { background: #0f4028; color: #fff; }
.zj-csrep__projects:focus { outline: none; }
.zj-csrep__projects:focus-visible { outline: 3px solid #e85a00; outline-offset: 2px; }
@media (min-width: 640px) {
    .zj-csreps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 2.5rem; }
    .zj-csrep__photo { flex-basis: 8.5rem; min-height: 8.5rem; }
    .zj-csrep__name { font-size: 1.2rem; }
}
@media (min-width: 1024px) {
    .zj-csreps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
}
@media (max-width: 639px) {
    .zj-csrep__photo { flex-basis: 6.25rem; min-height: 6.75rem; }
    .zj-csrep__body { padding: .7rem .75rem .75rem; }
    .zj-csrep__projects { padding: .42rem .65rem; font-size: .78rem; white-space: nowrap; }
}

/* Novice: search, topics and years over all news (partial/builder/blog, /js/zj-interactive.js newsTools) */
.zj-news-tools { max-width: 52rem; margin: 1.5rem auto 0; text-align: left; }
.zj-news-tools__topics { display: flex; gap: .35rem; margin: .75rem -1rem 0; padding: 0 1rem .15rem; overflow-x: auto; scrollbar-width: none; }
.zj-news-tools__topics::-webkit-scrollbar { display: none; }
.zj-news-tools__count { min-height: 1.3em; margin: .5rem 0 0 .25rem; font-size: .88rem; color: #5c6b62; }
.zj-news-tools ~ [data-zj-news-grid] { margin-top: 1rem; }
.zj-news-more { display: flex; justify-content: center; margin-top: 2.5rem; }
.zj-news-more[hidden], [data-zj-news-pager][hidden] { display: none; }
.zj-news-more .zj-btn[disabled] { opacity: .6; cursor: progress; }
@media (min-width: 640px) {
    .zj-news-tools { margin-top: 2rem; }
    .zj-news-tools__topics { flex-wrap: wrap; justify-content: center; margin: .9rem 0 0; padding: 0; overflow: visible; }
    .zj-news-tools__count { text-align: center; }
}

/* "Preberite še" under an article (partial/news_more) */
.zj-related { padding: 2.5rem 1rem 3.5rem; background: #f4f8ef; }
.zj-related__inner { max-width: 80rem; margin: 0 auto; }
.zj-related__title { margin: 0; font-family: 'Domine', Georgia, serif; font-size: 1.6rem; font-weight: 700; line-height: 1.2; color: #0f4028; }
.zj-related__links { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .9rem; }
.zj-related__link { display: inline-flex; align-items: center; gap: .35rem; min-height: 2.5rem; padding: .35rem .9rem; border: 2px solid #d5e0cf; border-radius: 999px; background: #fff; color: #0f4028; font-size: .88rem; font-weight: 600; line-height: 1.25; text-decoration: none; }
.zj-related__link--cs { border-color: #a8d45a; background: #a8d45a; }
.zj-related__link:hover { border-color: #0f4028; background: #0f4028; color: #fff; }
.zj-related__link:focus { outline: none; }
.zj-related__link:focus-visible { outline: 3px solid #e85a00; outline-offset: 2px; }
.zj-related__grid { display: grid; gap: .75rem; margin-top: 1.4rem; }
.zj-related__all { display: flex; justify-content: center; margin-top: 2rem; }
/* A news card's stand-in for a missing photo: only in the compact rows */
.zj-post-card__ph { display: none; }
@media (max-width: 639px) {
    /* Compact rows, photo beside the title: "Preberite še", and the news lists (Novice page, home page) after their first news */
    .zj-news-list { gap: .7rem; }
    :is(.zj-related, .zj-news-list) > .zj-post-card:not(:first-child), .zj-related .zj-post-card { flex-direction: row; }
    :is(.zj-related, .zj-news-list) > .zj-post-card:not(:first-child) > .flex-shrink-0, .zj-related .zj-post-card > .flex-shrink-0 { flex: 0 0 6.5rem; }
    :is(.zj-related, .zj-news-list) > .zj-post-card:not(:first-child) > .flex-shrink-0 a,
    :is(.zj-related, .zj-news-list) > .zj-post-card:not(:first-child) picture,
    .zj-related .zj-post-card > .flex-shrink-0 a, .zj-related .zj-post-card picture { display: block; height: 100%; }
    :is(.zj-related, .zj-news-list) > .zj-post-card:not(:first-child) .zj-post-card__img, .zj-related .zj-post-card .zj-post-card__img { height: 100%; min-height: 7rem; aspect-ratio: auto; }
    .zj-news-list > .zj-post-card:not(:first-child) .zj-post-card__ph, .zj-related .zj-post-card__ph { display: block; min-height: 7rem; background: #e8efe3 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='30' height='30' fill='none' stroke='%237eb015' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h13v14H6a2 2 0 0 1-2-2z'/%3E%3Cpath d='M17 9h3v8a2 2 0 0 1-2 2'/%3E%3Cpath d='M7.5 9h6M7.5 12.5h6M7.5 16h4'/%3E%3C/svg%3E") no-repeat center; }
    :is(.zj-related, .zj-news-list) > .zj-post-card:not(:first-child) .zj-post-card__body, .zj-related .zj-post-card__body { padding: .75rem .9rem; }
    :is(.zj-related, .zj-news-list) > .zj-post-card:not(:first-child) h3, .zj-related .zj-post-card h3 { margin-top: 0; font-size: 1rem; line-height: 1.3; }
    :is(.zj-related, .zj-news-list) > .zj-post-card:not(:first-child) .zj-post-card__meta, .zj-related .zj-post-card__meta { margin-top: .5rem; }
    :is(.zj-related, .zj-news-list) > .zj-post-card:not(:first-child) .zj-post-card__arrow, .zj-related .zj-post-card__arrow { width: 2rem; height: 2rem; }
}
@media (min-width: 640px) {
    .zj-related { padding: 3.5rem 1.5rem 4.5rem; }
    .zj-related__title { font-size: 2rem; }
    .zj-related__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin-top: 1.75rem; }
}

/* The card over the candidate and supporter lists: "Prejšnji" / "Naslednji" stay in one place at the
   bottom, whatever the length of the text (it scrolls above them). On phones the card is always as tall. */
.zj-pview__nav { position: sticky; bottom: 0; z-index: 1; background: #fff; }
.zj-pview__profile { margin-bottom: 1rem; }
@media (max-width: 767px) {
    /* The whole screen high, up to the top (no gap above the card) */
    .zj-pview__panel { display: flex; flex-direction: column; height: 100dvh; max-height: 100dvh; border-radius: 0; }
    .zj-pview__close { top: calc(.75rem + env(safe-area-inset-top)); }
    .zj-pview__photo { flex: 0 0 auto; }
    .zj-pview__body { display: flex; flex: 1 0 auto; flex-direction: column; padding-bottom: 0; }
    .zj-pview__nav { margin: auto -1.25rem 0; padding: .7rem 1.25rem calc(.7rem + env(safe-area-inset-bottom)); border-top: 1px solid #e3ebdc; }
}
@media (min-width: 768px) {
    .zj-pview__body { padding-bottom: 0; }
    .zj-pview__nav { margin: auto -2rem 0; padding: 1rem 2rem 1.25rem; }
    .zj-pview--wide .zj-pview__body { padding-bottom: 0; }
}
/* No zoom on a double tap in the card (a near-miss of a button zoomed it); pinching still zooms. */
.zj-pview { touch-action: manipulation; }
@media (max-width: 767px) {
    /* The buttons look the same; a tap beside one (above, below, towards the edge or the middle) still counts */
    .zj-pview__navbtn { position: relative; }
    .zj-pview__navbtn::after { content: ''; position: absolute; top: -.7rem; bottom: -.7rem; }
    .zj-pview__navbtn[data-dir="-1"]::after { left: -1.25rem; right: -2rem; }
    .zj-pview__navbtn[data-dir="1"]::after { left: -2rem; right: -1.25rem; }
}

/* "Kako lahko pomagate" (partial/builder/support_actions): cards with an icon, a short text and a button */
.zj-support { padding: 3rem 0; background: #fff; }
.zj-support__grid { display: grid; gap: .9rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.zj-support__card { display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; padding: 1.25rem 1.25rem 1.35rem; border-radius: 1rem; background: #f4f8ef; }
.zj-support__icon { display: flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; border-radius: 50%; background: #0f4028; color: #fff; }
.zj-support__card--instagram .zj-support__icon { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.zj-support__card--facebook .zj-support__icon { background: #1877f2; }
.zj-support__card--share .zj-support__icon { background: #a8d45a; color: #0f4028; }
.zj-support__title { margin: .25rem 0 0; font-family: 'Domine', Georgia, serif; font-size: 1.2rem; font-weight: 700; line-height: 1.25; color: #0f4028; }
.zj-support__text { flex: 1; margin: 0; font-size: .95rem; line-height: 1.5; color: #33443a; }
.zj-support__btn { margin-top: .5rem; }
/* Two buttons on a card ("Dodaj v koledar" and "Google Koledar"): side by side, one under the other on a narrow card */
.zj-support__btns { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .5rem; }
.zj-support__btns .zj-support__btn { margin-top: 0; }
.zj-support__card--calendar .zj-support__icon { background: #e85a00; }
/* A district's page, under its heading: the day of the second round (until 29 November) */
.zj-runoff { max-width: 40rem; margin: 1.5rem auto 0; padding: 1.1rem 1.25rem 1.2rem; border: 2px solid #d5e0cf; border-radius: 1rem; background: #f4f8ef; text-align: center; }
.zj-runoff__when { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: .2rem .7rem; margin: 0; color: #0f4028; }
.zj-runoff__when b { font-family: 'Domine', Georgia, serif; font-size: 1.35rem; line-height: 1.2; }
.zj-runoff__when span { font-size: .95rem; font-weight: 600; color: #33443a; }
.zj-runoff__text { margin: .45rem 0 0; font-size: .98rem; line-height: 1.45; color: #13281d; }
/* /rezultati until 26 November: early voting on a line of its own, under the day of the second round. */
.zj-runoff__early { margin: .5rem auto 0; max-width: 34rem; font-size: .98rem; line-height: 1.45; color: #13281d; }
.zj-runoff__early b { color: #0f4028; }
.zj-runoff__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-top: .9rem; }
.zj-runoff__links { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.25rem; margin: .9rem 0 0; font-size: .92rem; }
.zj-runoff__links a, .zj-runoff__share { padding: 0; border: 0; background: none; color: #0f4028; font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.zj-runoff__links a:hover, .zj-runoff__share:hover { color: #e85a00; }
.zj-runoff--results { max-width: none; margin-top: 1.25rem; }
.zj-nowrap { white-space: nowrap; }
@media (min-width: 640px) {
    .zj-support { padding: 4rem 0; }
    .zj-support__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
}
@media (min-width: 1024px) {
    .zj-support__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* "Kaj smo naredili v vaši četrti?" (partial/builder/district_picker): the 17 districts with projects done */
.zj-dpick { padding: 3rem 0; background: #f4f8ef; }
.zj-dpick__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.zj-dpick__d { display: flex; align-items: center; justify-content: space-between; gap: .5rem; min-height: 3.25rem; padding: .55rem .6rem .55rem .9rem; border: 2px solid transparent; border-radius: .8rem; background: #fff; color: #0f4028; text-decoration: none; box-shadow: 0 3px 10px rgba(15, 64, 40, .07); transition: border-color .15s ease, background-color .15s ease; }
.zj-dpick__name { min-width: 0; font-size: .95rem; font-weight: 700; line-height: 1.2; overflow-wrap: anywhere; }
.zj-dpick__num { flex: 0 0 auto; min-width: 2.6rem; padding: .3rem .5rem; border-radius: 999px; background: #a8d45a; color: #0f4028; font-size: .82rem; font-weight: 700; text-align: center; font-variant-numeric: tabular-nums; }
.zj-dpick__d:hover { border-color: #0f4028; }
.zj-dpick__d:hover .zj-dpick__num { background: #0f4028; color: #fff; }
.zj-dpick__d:focus { outline: none; }
.zj-dpick__d:focus-visible { outline: 3px solid #e85a00; outline-offset: 2px; }
.zj-dpick__note { margin: 1.1rem 0 0; font-size: .9rem; color: #5c6b62; }
.zj-dpick__note a { color: #0f4028; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
@media (min-width: 640px) {
    .zj-dpick { padding: 4rem 0; }
    .zj-dpick__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
    .zj-dpick__name { font-size: 1.02rem; }
}
@media (min-width: 1024px) {
    .zj-dpick__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

/* Projekti po četrtnih skupnostih, a district's own page: the other districts as links (partial/builder/mol_projects). */
/* Space above, so it doesn't touch "Pokaži vse projekte" (the district above it has no bottom margin once the page's script runs) */
.zj-mol__others { margin-top: 2.5rem; }
.zj-mol__others-list { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; }
.zj-mol__others-list a { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .8rem; border-radius: 999px; background: #fff; border: 1px solid rgba(15, 64, 40, .18); color: #0f4028; font-weight: 600; font-size: .92rem; text-decoration: none; }
.zj-mol__others-list a:hover { border-color: #0f4028; }
.zj-mol__others-list b { font-weight: 700; color: #5a7a2a; }

/* Hero "Osebni portret" (partial/hero/_personal): the photo whole and large. Phones: a rounded photo
   card on top, the sticker over its lower edge, then name and buttons on dark green. Desktop: the
   photo on the right fades into the green, name, sticker and buttons on the left. */
.zj-phero { position: relative; overflow: hidden; background: #0f4028; color: #fff; }
.zj-phero__in { display: grid; grid-template-columns: minmax(0, 1fr); padding: 1rem 1rem 1.75rem; max-width: 40rem; margin: 0 auto; }
.zj-phero__media { grid-row: 1; grid-column: 1; }
.zj-phero__img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 1.25rem; box-shadow: 0 12px 30px rgba(0, 0, 0, .35); background: #0b2f1e; }
.zj-phero__sticker { grid-row: 1; grid-column: 1; align-self: end; justify-self: start; position: relative; z-index: 2; margin: 0 0 -1.75rem -.25rem; }
.zj-phero .zj-sticker-wrap { position: static; margin: 0; }
.zj-phero .zj-sticker__text { font-size: 1.45rem; }
.zj-phero__title { grid-row: 2; margin: 2.75rem 0 0; font-family: 'Domine', Georgia, serif; font-weight: 700; font-size: clamp(1.85rem, 7.6vw, 2.4rem); line-height: 1.05; letter-spacing: -.01em; color: #fff; }
.zj-phero__title span { display: block; color: #a8d45a; }
.zj-phero__btns { grid-row: 3; display: grid; grid-template-columns: minmax(0, 1fr); gap: .65rem; margin-top: 1.25rem; }
.zj-phero__btn { display: flex; align-items: center; justify-content: center; padding: .75rem 1rem; }
.zj-phero .zj-btn { box-shadow: -4px 4px 0 rgba(0, 0, 0, .3); }
.zj-phero .zj-btn--secondary:hover { background-color: #e85a00; color: #fff; }
.zj-phero .zj-phero__btn--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .85), -4px 4px 0 rgba(0, 0, 0, .3); }
.zj-phero .zj-phero__btn--ghost:hover { background: #fff; color: #0f4028; box-shadow: inset 0 0 0 2px #fff; }
.zj-phero--noimg .zj-phero__title { grid-row: 1; margin-top: 1rem; }
.zj-phero--noimg .zj-phero__sticker { grid-row: 2; margin: 1.25rem 0 0; }
@media (max-width: 639px) {
    .zj-phero + .pt-16 { padding-top: 2rem; }
}
@media (min-width: 640px) {
    .zj-phero__btns { display: flex; flex-wrap: wrap; gap: 1rem; }
    .zj-phero__btn { padding: .9rem 2rem; }
}
@media (min-width: 1024px) {
    .zj-phero { --zj-phero-h: max(540px, min(640px, calc(100vh - 200px))); min-height: var(--zj-phero-h); }
    .zj-phero__in { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; max-width: 80rem; min-height: var(--zj-phero-h); padding: 3rem 2rem; }
    .zj-phero__in > :not(.zj-phero__media) { position: relative; z-index: 2; max-width: min(34rem, 46vw); }
    .zj-phero__media { position: absolute; inset: 0 0 0 auto; width: 60%; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 38%); mask-image: linear-gradient(to right, transparent 0, #000 38%); }
    .zj-phero__img { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; box-shadow: none; }
    .zj-phero__title { margin: 0; font-size: clamp(3.2rem, 4.6vw, 4.6rem); }
    .zj-phero__sticker { align-self: flex-start; margin: 2rem 0 0; }
    .zj-phero .zj-sticker__text { font-size: 2.2rem; }
    .zj-phero__btns { margin-top: 2rem; }
}

/* Hero "Portret z dejstvi" (/biografija): on phones the photo shows too, as a rounded card under the
   facts with the sticker on its lower edge (instead of the sticker alone under the text). */
@media (max-width: 639px) {
    .zj-hero--portrait .zj-hero__media { display: block; padding: 0 1rem 2.5rem; }
    .zj-hero--portrait .zj-hero__media img { height: auto; aspect-ratio: 3 / 2; border-radius: 1.25rem; box-shadow: 0 10px 28px rgba(15, 64, 40, .18); }
    .zj-hero--portrait .zj-hero__sticker-phone { display: none; }
    .zj-hero--portrait .zj-hero__media .zj-sticker-wrap { left: .75rem; bottom: .75rem; }
    .zj-hero--portrait .zj-hero__media .zj-sticker__text { font-size: 1.45rem; }
}

/* Phones: the second round for the calendar, a low bar at the bottom (partial/_calendar_nudge,
   calendarNudge in zj-interactive.js). While it shows, the Instagram button in the corner steps aside. */
.zj-cal { position: fixed; left: .6rem; right: .6rem; bottom: calc(.6rem + env(safe-area-inset-bottom)); z-index: 60; display: flex; gap: .6rem; align-items: center; padding: .55rem .5rem .55rem .55rem; background: #fff; border-radius: 1rem; box-shadow: 0 12px 34px rgba(8, 30, 19, .32), 0 0 0 1px rgba(15, 64, 40, .08); color: #0f4028; transform: translateY(calc(100% + 1.5rem)); opacity: 0; transition: transform .35s ease, opacity .35s ease; }
.zj-cal[hidden] { display: none; }
.zj-cal.is-shown { transform: none; opacity: 1; }
.zj-cal__icon { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 2.7rem; height: 2.9rem; border-radius: .55rem; background: #0f4028; color: #fff; line-height: 1; }
.zj-cal__icon small { font-size: .58rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #a8d45a; }
.zj-cal__icon b { font-family: 'Domine', Georgia, serif; font-size: 1.25rem; margin-top: .1rem; }
.zj-cal__text { flex: 1; min-width: 0; margin: 0; font-size: .82rem; line-height: 1.25; color: #3d5a49; }
.zj-cal__text b { display: block; font-family: 'Domine', Georgia, serif; font-size: .95rem; color: #0f4028; }
.zj-cal .zj-cal__btn { flex: 0 0 auto; padding: .6rem .75rem; font-size: 1rem; }
.zj-cal .zj-btn--secondary:hover { background-color: #e85a00; color: #fff; }
.zj-cal__x { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; padding: 0; border: 0; border-radius: 50%; background: #eef5e2; color: #0f4028; cursor: pointer; }
.zj-cal__x:focus-visible { outline: 3px solid #e85a00; outline-offset: 2px; }
body.zj-cal-open .zj-igf.is-shown { opacity: 0; pointer-events: none; transform: translateY(1rem) scale(.6); }
@media (min-width: 768px) { .zj-cal { display: none; } }
@media (prefers-reduced-motion: reduce) { .zj-cal { transition: none; } }

/* A note at the top of a first-round article that people still find (App\Support\ArticleNotices). */
.zj-article-notice { margin: 1rem 0 1.75rem; border-left-color: #e85a00; background: #fff4ec; }
.zj-article-notice a, .prose .zj-article-notice a { color: #0f4028; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }

/* "Oblika: Intervju" (App\Support\InterviewLayout): the question in a speech bubble on the left, the
   answer in one bubble on the right (who answers at its top, then every paragraph of the answer). */
.zj-iv .iv-q { max-width: 88%; margin: 2rem 0 0; padding: .8rem 1.05rem; background: #0f4028; color: #fff; border-radius: 1.1rem 1.1rem 1.1rem .3rem; font-size: 1rem; line-height: 1.5; }
.zj-iv .iv-q strong, .zj-iv .iv-q b, .zj-iv .iv-q a { color: #fff; font-weight: 600; }
.zj-iv .iv-who, .zj-iv .iv-a { margin: 0 0 0 10%; background: #eef5e2; color: #13281d; }
.zj-iv .iv-who { display: flex; align-items: center; gap: .6rem; margin-top: .6rem; padding: .85rem 1.1rem .55rem; border-radius: 1.1rem 1.1rem 0 0; font-size: .78rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #5e8a10; line-height: 1.2; }
.zj-iv .iv-av { flex: none; width: 2rem; height: 2rem; margin: 0 !important; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px #a8d45a; }
.zj-iv .iv-av--txt { display: inline-flex; align-items: center; justify-content: center; background: #fff; color: #0f4028; font-size: .75rem; letter-spacing: 0; }
.zj-iv .iv-a { padding: 0 1.1rem .8rem; font-size: 1.02rem; line-height: 1.6; }
.zj-iv .iv-a-last { padding-bottom: .95rem; border-radius: 0 0 .3rem 1.1rem; }
@media (max-width: 480px) {
  .zj-iv .iv-q { max-width: 92%; }
  .zj-iv .iv-who, .zj-iv .iv-a { margin-left: 6%; }
  .zj-iv .iv-a { padding-left: .95rem; padding-right: .95rem; }
}

/* ── Accessibility (WCAG 2.1 AA), November 2026: nothing here changes the page for mouse and touch;
   it shows only with the keyboard (:focus-visible), to screen readers, or with reduced motion. ── */
/* "Preskoči na vsebino": off screen until it has the keyboard focus (layout.antlers.html). */
.zj-skip { position: absolute; left: -9999px; top: 0; z-index: 200; }
.zj-skip:focus { position: fixed; left: 1rem; top: .5rem; padding: .6rem 1rem; background: #0f4028; color: #fff; font-weight: 600; border-radius: .4rem; outline: 3px solid #e85a00; outline-offset: 2px; text-decoration: none; }
#vsebina:focus { outline: none; }
/* Phone menu button: a ring for the keyboard, as everywhere else (its background is the bar's colour). */
.zj-mnav-btn:focus-visible { outline: 3px solid #e85a00; outline-offset: 2px; }
/* YouTube window: "Zapri" is a real button now, looking as the old span did. */
button.modal__close { align-self: flex-start; margin: 0; padding: 0; border: 0; background: none; color: inherit; line-height: inherit; }
.modal__close:focus { outline: none; }
.modal__close:focus-visible { outline: 3px solid #e85a00; outline-offset: 2px; }
/* Instagram viewer: the video is a button for the keyboard (Enter or Space stops and starts it). */
.zj-igv__media:focus { outline: none; }
.zj-igv__media:focus-visible { outline: 3px solid #e85a00; outline-offset: -3px; }
/* Footer column headings are h2 now (were h4): the same look (h1–h3 are otherwise in Domine). */
.zj-foot-h { font-family: inherit; }
/* Data tables under the charts are for screen readers only: nothing to scroll there (axe scrollable-region-focusable). */
.sr-only .zj-dtable__scroll { overflow: visible; }
/* Reduced motion set in the system: no animation or transition anywhere (loops, spinners, menus, windows). */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
}
