/* 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;
}

/* 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); }
}

/* 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) {
    .zj-bar--sticky { position: sticky; top: var(--zj-header-h, 58px); }
    .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; pointer-events: none; }
.zj-back-bar .zj-back { pointer-events: auto; box-shadow: 0 4px 14px rgba(15, 64, 40, .14); }

/* 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__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 .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) {
    .zj-rmodal__text { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
}

@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__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) */
.zj-clamp { position: relative; max-height: 7.5em; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); }
/* Long random supporters list: first 12, then "Pokaži vse" */
.zj-supporters:not(.is-expanded) > :nth-child(n+13) { display: none; }

@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; }
}

/* 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; 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; } }
.zj-mnav__cta { margin-top: 1.5rem; 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) + 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;
    background: #0f4028;
    color: #fff;
    text-align: center;
    line-height: 1.1;
}
.zj-event__weekday { font-size: .7rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #a8d45a; }
.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__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; }

/* Supporters: four per row on desktop */
@media (min-width: 1024px) {
    .zj-supporters-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* 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; }
.zj-date__links { display: flex; flex-wrap: wrap; gap: .5rem; margin: .7rem 0 0; }
.zj-date__link { display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .85rem; border-radius: 999px; background: #0f4028; color: #fff; font-size: .88rem; font-weight: 700; text-decoration: none; }
.zj-date__link::before { content: ''; width: .95rem; height: .95rem; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Crect x='3.5' y='5' width='17' height='15' rx='2.5'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Crect x='3.5' y='5' width='17' height='15' rx='2.5'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4'/%3E%3C/svg%3E") center / contain no-repeat; }
.zj-date__link:hover { background: #e85a00; color: #fff; }
.zj-date.is-highlight .zj-date__link { background: #7eb015; color: #0f4028; }
.zj-date.is-highlight .zj-date__link:hover { background: #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); }
}
