/* ==========================================================
   DVD San Marino - Novi Vinodolski
   Glavna stylesheet datoteka

   Vodilja dizajna: civilno/tradicionalno društvo (od 1949.), a
   ne startup. Serifni naslovi, tamnocrvena/tintasta paleta iz
   grba, ravne (ne "pill") površine, tanke linije umjesto teških
   sjena, malo brojčanih/plaketnih detalja umjesto ikona-emoji.
   ========================================================== */

:root {
    --red: #9c231f;
    --red-dark: #741a17;
    --red-tint: #fbebe9;
    --ink: #1c1d22;
    --ink-soft: #33343b;
    --navy: #1e3350;
    --paper: #fbfaf6;
    --paper-raised: #ffffff;
    --grey-bg: #f2efe8;
    --grey-line: #e2ddd0;
    --gold: #b5842a;
    --gold-soft: #e7d3a4;
    --text-muted: #676356;
    --radius: 4px;
    --radius-lg: 6px;
    --shadow: 0 1px 2px rgba(28, 29, 34, 0.06);
    --shadow-lift: 0 14px 30px -18px rgba(28, 29, 34, 0.35);
    --font-head: 'PT Serif', Georgia, 'Times New Roman', serif;
    --font: 'PT Sans', 'Segoe UI', Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink-soft);
    background: var(--paper);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

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

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

.icon { width: 1em; height: 1em; display: inline-block; vertical-align: -0.15em; }

.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

.section { padding: 84px 0; }
.section--tight { padding: 54px 0; }
.section--grey { background: var(--grey-bg); }
.section--ink { background: var(--ink); color: rgba(255,255,255,0.82); }
.section--border-top { border-top: 1px solid var(--grey-line); }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 14px;
}
.eyebrow::before {
    content: "";
    display: inline-block;
    width: 22px;
    height: 2px;
    background: var(--gold);
}
.eyebrow--light { color: var(--gold-soft); }
    text-shadow: 0 1px 4px rgba(0,0,0,0.55);

h1, h2, h3, h4 {
    font-family: var(--font-head);
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -0.01em;
    margin: 0 0 16px;
    color: var(--ink);
}

h2 { font-size: clamp(1.65rem, 2.7vw, 2.3rem); }
h3 { font-size: 1.24rem; }

p { color: var(--ink-soft); }
.lede { font-size: 1.08rem; color: var(--ink-soft); }

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 36px;
}
.section-head h2 { margin: 0; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 26px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn--primary {
    background: var(--red);
    color: #fff;
    border-color: var(--red);
}
.btn--primary:hover { background: var(--red-dark); border-color: var(--red-dark); }

.btn--outline {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.55);
    color: #fff;
}
.btn--outline:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }

.btn--dark {
    background: transparent;
    color: var(--ink);
    border-color: var(--ink);
}
.btn--dark:hover { background: var(--ink); color: #fff; }

.btn--ghost {
    background: transparent;
    color: var(--red);
    border-color: var(--red-tint);
    padding: 10px 18px;
}
.btn--ghost:hover { border-color: var(--red); }

/* ---------- Top emergency bar ---------- */
.topbar {
    background: var(--ink);
    color: rgba(255,255,255,0.8);
    font-size: 0.82rem;
    border-bottom: 2px solid var(--gold);
}
.topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 9px;
    padding-bottom: 9px;
    gap: 12px;
    flex-wrap: wrap;
}
.topbar__emergency {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.02em;
}
.topbar__emergency .icon { color: var(--gold); }
.topbar__links { display: flex; gap: 20px; }
.topbar__links a { display: inline-flex; align-items: center; gap: 6px; }
.topbar__links a:hover { color: var(--gold-soft); }
    text-shadow: 0 1px 4px rgba(0,0,0,0.55);

/* ---------- Header / nav ---------- */
.header {
    background: var(--paper-raised);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--grey-line);
}
.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    padding-bottom: 12px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 13px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.08rem;
    color: var(--ink);
}
.brand__logo {
    width: 48px;
    height: auto;
    flex-shrink: 0;
}
.brand__text small {
    display: block;
    font-family: var(--font);
    font-weight: 700;
    font-size: 0.66rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
}

.nav { display: flex; align-items: center; gap: 28px; }
.nav__links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
    display: inline-block;
    font-weight: 700;
    font-size: 0.86rem;
    letter-spacing: 0.02em;
    padding: 9px 12px;
    border-bottom: 2px solid transparent;
    transition: border-color 0.15s ease, color 0.15s ease;
}
.nav__links a:hover, .nav__links a.active {
    color: var(--red);
    border-color: var(--red);
}
.nav__toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: var(--ink);
}

@media (max-width: 880px) {
    .nav__links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--paper-raised);
        flex-direction: column;
        gap: 0;
        border-bottom: 1px solid var(--grey-line);
        box-shadow: var(--shadow-lift);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.25s ease;
        z-index: 999;
        transform: translateZ(0);
        isolation: isolate;
    }
    .nav__links.open { max-height: 640px; }
    .nav__links li { border-top: 1px solid var(--grey-line); }
    .nav__links a { display: block; padding: 14px 24px; }
    .nav__cta { display: none; }
    .nav__toggle { display: block; }
    .header .container { position: relative; }
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    color: #fff;
    background: var(--ink);
    padding: 96px 0 0;
    overflow: hidden;
}
.hero__texture {
    position: absolute;
    inset: 0;
    opacity: 0.5;
    background-image: repeating-linear-gradient(
        135deg,
        rgba(255,255,255,0.035) 0px,
        rgba(255,255,255,0.035) 1px,
        transparent 1px,
        transparent 13px
    );
    pointer-events: none;
}
.hero__motif {
    position: absolute;
    right: -40px;
    bottom: -10px;
    width: 480px;
    max-width: 46vw;
    opacity: 0.42;
    pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero__top {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    margin-bottom: 8px;
}
.hero__crest { width: 76px; height: auto; flex-shrink: 0; margin-top: 4px; }
.hero__content { max-width: 620px; }
.hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.1rem); margin-bottom: 18px; color: #fff; }
.hero p { color: rgba(255,255,255,0.82); font-size: 1.08rem; margin-bottom: 30px; max-width: 540px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }

.hero__stats {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}
.stat {
    padding: 22px 24px;
}
.stat strong {
    display: block;
    font-family: var(--font-head);
    font-size: 2rem;
    color: var(--gold-soft);
    text-shadow: 0 1px 4px rgba(0,0,0,0.55);
    line-height: 1;
    margin-bottom: 6px;
}
.stat span { font-size: 0.78rem; letter-spacing: 0.04em; color: rgba(255,255,255,0.85); text-transform: uppercase; text-shadow: 0 1px 3px rgba(0,0,0,0.5); }

@media (max-width: 640px) {
    .hero__stats { grid-template-columns: 1fr; }
    .hero__top { flex-direction: column; gap: 14px; }
    .hero__crest { width: 56px; }
}

/* ---------- Cards / grid ---------- */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--grey-line);
    border: 1px solid var(--grey-line);
}
.grid-3 > * { background: var(--paper-raised); }
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}
@media (max-width: 880px) {
    .grid-3 { grid-template-columns: 1fr; }
    .grid-2 { grid-template-columns: 1fr; }
}
.grid-3--cards {
    background: none;
    border: none;
    gap: 26px;
}
.grid-3--cards > * { background: none; }

.card {
    background: var(--paper-raised);
    border: 1px solid var(--grey-line);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.15s ease, transform 0.15s ease;
}
.card:hover { border-color: var(--red); transform: translateY(-3px); }
.card__img { aspect-ratio: 16/10; background: var(--grey-bg) center/cover no-repeat; }
.card__body { padding: 22px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.card__date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.74rem;
    color: var(--red);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.card__body h3 { font-size: 1.12rem; }
.card__body p { color: var(--text-muted); font-size: 0.92rem; margin: 0; }
.card__link {
    margin-top: auto;
    padding-top: 8px;
    font-weight: 700;
    color: var(--ink);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.card:hover .card__link { color: var(--red); }

.icon-card {
    position: relative;
    padding: 34px 28px;
}
.icon-card__idx {
    position: absolute;
    top: 20px;
    right: 24px;
    font-family: var(--font-head);
    font-size: 0.85rem;
    color: var(--grey-line);
}
.icon-card__icon {
    width: 46px;
    height: 46px;
    border: 1.5px solid var(--red);
    color: var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 20px;
}
.icon-card h3 { margin-bottom: 8px; }
.icon-card p { font-size: 0.92rem; color: var(--text-muted); margin: 0; }

/* ---------- Two-column intro section ---------- */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }
.split__media {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--ink) center/cover no-repeat;
    border: 1px solid var(--grey-line);
}

/* ---------- Story / pull-quote strip ---------- */
.story {
    display: flex;
    gap: 22px;
    align-items: flex-start;
    padding: 30px 32px;
    background: var(--paper-raised);
    border: 1px solid var(--grey-line);
    border-left: 3px solid var(--gold);
}
.story .icon { width: 30px; height: 30px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.story p:last-child { margin-bottom: 0; }
.story h3 { margin-bottom: 8px; }

/* ---------- Timeline (povijest) ---------- */
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--grey-line); }
.timeline li { position: relative; padding: 2px 0 34px 32px; }
.timeline li:last-child { padding-bottom: 2px; }
.timeline li::before {
    content: "";
    position: absolute;
    left: -7px;
    top: 4px;
    width: 12px;
    height: 12px;
    background: var(--paper);
    border: 2.5px solid var(--red);
    border-radius: 50%;
}
.timeline__year {
    font-family: var(--font-head);
    font-weight: 700;
    color: var(--red);
    font-size: 1.1rem;
    display: block;
    margin-bottom: 4px;
}
.timeline p { margin: 0; color: var(--text-muted); }

/* ---------- CTA band ---------- */
.cta-band {
    position: relative;
    background: var(--ink);
    color: #fff;
    border-top: 3px solid var(--gold);
    padding: 46px 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    overflow: hidden;
}
.cta-band__motif {
    position: absolute;
    right: -20px;
    bottom: -30px;
    width: 220px;
    opacity: 0.32;
    pointer-events: none;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h3 { margin: 0 0 6px; color: #fff; }
.cta-band p { color: rgba(255,255,255,0.7); margin: 0; }

/* ---------- Gallery ---------- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
}
@media (max-width: 880px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
.gallery-grid a {
    aspect-ratio: 1/1;
    overflow: hidden;
    display: block;
    position: relative;
}
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; filter: saturate(0.94); }
.gallery-grid a:hover img { transform: scale(1.06); }

/* ---------- Page header (subpages) ---------- */
.page-header {
    position: relative;
    background: var(--ink);
    color: #fff;
    padding: 58px 0 44px;
    overflow: hidden;
    border-bottom: 3px solid var(--gold);
}
.page-header__motif {
    position: absolute;
    right: -20px;
    top: -20px;
    width: 240px;
    opacity: 0.26;
    pointer-events: none;
}
.page-header .container { position: relative; z-index: 1; }
.page-header .eyebrow { color: var(--gold-soft); }
    text-shadow: 0 1px 4px rgba(0,0,0,0.55);
.page-header .eyebrow::before { background: var(--gold-soft); }
.page-header h1 { margin-bottom: 6px; color: #fff; }
.breadcrumbs { font-size: 0.82rem; color: rgba(255,255,255,0.6); }
.breadcrumbs a:hover { color: var(--gold-soft); }
    text-shadow: 0 1px 4px rgba(0,0,0,0.55);

/* ---------- Contact ---------- */
.contact-info li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 22px;
    font-size: 0.95rem;
}
.contact-info li strong { display: block; font-family: var(--font-head); font-size: 0.98rem; }
.contact-info { list-style: none; padding: 0; }
.contact-info .icon-wrap {
    width: 38px;
    height: 38px;
    border: 1.5px solid var(--red);
    color: var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.05rem;
}

.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-weight: 700; margin-bottom: 6px; font-size: 0.86rem; color: var(--ink); }
.form-field input, .form-field textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: var(--radius);
    border: 1.5px solid var(--grey-line);
    background: var(--paper-raised);
    font-family: var(--font);
    font-size: 0.95rem;
    color: var(--ink);
}
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--red); }

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 22px;
}
.form-check input[type="checkbox"] {
    margin-top: 3px;
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    accent-color: var(--red);
}
.form-check label {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.55;
}
.form-check a { color: var(--red); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.form-check a:hover { color: var(--red-dark); }

.alert {
    padding: 14px 18px;
    border-radius: var(--radius);
    font-size: 0.9rem;
    margin-bottom: 20px;
    border-left: 3px solid transparent;
}
.alert--success { background: #eef6ee; color: #1c5e2f; border-color: #2f7d43; }
.alert--error { background: #fbeceb; color: #8c231e; border-color: var(--red); }

/* ---------- Footer ---------- */
.footer {
    background: var(--ink);
    color: rgba(255,255,255,0.68);
    padding: 56px 0 22px;
    font-size: 0.9rem;
    border-top: 3px solid var(--gold);
}
.footer h4 {
    color: #fff;
    font-family: var(--font);
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.footer .grid-4 {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 32px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(255,255,255,0.14);
}
@media (max-width: 880px) { .footer .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer .grid-4 { grid-template-columns: 1fr; gap: 26px; } }
.footer a:hover { color: var(--gold-soft); }
    text-shadow: 0 1px 4px rgba(0,0,0,0.55);
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 11px; display: flex; align-items: flex-start; gap: 8px; }
.footer li .icon { margin-top: 3px; color: var(--gold); flex-shrink: 0; }
.footer__brand-line { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.45);
}
.footer__social { display: flex; gap: 10px; }
.footer__social a {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255,255,255,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 700;
}
.footer__social a:hover { border-color: var(--gold); color: var(--gold-soft); }
    text-shadow: 0 1px 4px rgba(0,0,0,0.55);

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

/* ---------- Site alert (npr. zabrana lozenja vatre) ---------- */
.site-alert {
    background: #c9822b;
    color: #1c1d22;
}
.site-alert .container {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
    flex-wrap: wrap;
    font-size: 0.86rem;
    font-weight: 700;
}
.site-alert .icon { flex-shrink: 0; width: 18px; height: 18px; }
.site-alert a { text-decoration: underline; text-underline-offset: 2px; font-weight: 700; }
.site-alert a:hover { color: #fff; }

/* ---------- Weather / fire-risk corner widget (naslovnica) ---------- */
.weather-widget { display: none; }
@media (min-width: 881px) {
    .weather-widget {
        display: block;
        position: absolute;
        top: 28px;
        right: 28px;
        z-index: 2;
        width: 230px;
        background: var(--paper-raised);
        border: 1px solid rgba(255,255,255,0.14);
        border-radius: var(--radius);
        padding: 16px 18px;
        color: var(--ink-soft);
        box-shadow: 0 18px 40px -20px rgba(0,0,0,0.5);
    }
}
.weather-widget__risk {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--grey-line);
    color: var(--ink);
}
.weather-widget__risk .icon { width: 16px; height: 16px; }
.weather-widget__risk--niska { color: #1c7c3c; }
.weather-widget__risk--niska .icon { color: #1c7c3c; }
.weather-widget__risk--umjerena { color: #9c7a12; }
.weather-widget__risk--umjerena .icon { color: #9c7a12; }
.weather-widget__risk--povisena { color: #b5591f; }
.weather-widget__risk--povisena .icon { color: #b5591f; }
.weather-widget__risk--visoka { color: var(--red); }
.weather-widget__risk--visoka .icon { color: var(--red); }
.weather-widget__days { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.weather-widget__day { display: flex; flex-direction: column; align-items: center; gap: 4px; flex: 1; text-align: center; }
.weather-widget__day .icon { width: 24px; height: 24px; color: var(--gold); }
.weather-widget__label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); }
.weather-widget__temp { font-family: var(--font-head); font-weight: 700; font-size: 0.98rem; color: var(--ink); }
.weather-widget__meta { font-size: 0.76rem; color: var(--text-muted); margin: 0 0 10px; }
.weather-widget__link { display: block; font-size: 0.76rem; font-weight: 700; color: var(--red); margin-bottom: 6px; }
.weather-widget__link:hover { color: var(--red-dark); }
.weather-widget__disclaimer { font-size: 0.68rem; color: var(--text-muted); margin: 0; line-height: 1.4; }
.weather-widget__badge {
    margin-left: auto;
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--text-muted);
    background: var(--grey-bg);
    border: 1px solid var(--grey-line);
    padding: 2px 6px;
    border-radius: 3px;
    white-space: nowrap;
}

/* ---------- Page header s kartom (Kontakt) ---------- */
.page-header--map {
    background:
        linear-gradient(rgba(28,29,34,0.72), rgba(28,29,34,0.92)),
        url('/assets/img/kontakt-mapa.png') center/cover no-repeat;
}

/* ---------- Hero slideshow ---------- */
.hero__slideshow { position: absolute; inset: 0; overflow: hidden; }
.hero__slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.8s ease;
}
.hero__slide.is-active { opacity: 1; }
.hero__slideshow::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(28,29,34,0.15) 0%, rgba(28,29,34,0.3) 55%, rgba(28,29,34,0.55) 100%);
}

/* ---------- Javna nabava ---------- */
.procurement-list { display: flex; flex-direction: column; gap: 18px; }
.procurement-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 22px 26px;
    border: 1px solid #eee;
    border-radius: 12px;
    background: #fafafa;
    flex-wrap: wrap;
}
.procurement-item__info h3 { margin: 0 0 6px; font-size: 1.15rem; }
.procurement-item__info p { margin: 0 0 8px; color: #555; }
.procurement-item__meta { font-size: 0.82rem; color: #888; }

/* ---------- Novosti tabovi i oznaka za intervencije ---------- */
.news-tabs { display: flex; gap: 28px; margin-bottom: 34px; border-bottom: 1px solid #eee; flex-wrap: wrap; }
.news-tabs a {
    padding: 12px 2px;
    color: #777;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}
.news-tabs a.active { color: var(--ink); border-bottom-color: var(--red); }
.news-tabs a:hover:not(.active) { color: var(--ink); }
.card__tag {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    border-radius: 4px;
    background: var(--red);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* ---------- Nav dropdown (Novosti) ---------- */
.nav__item--dropdown { position: relative; }
.nav__dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 12px 28px rgba(0,0,0,0.14);
    border-radius: 8px;
    min-width: 190px;
    list-style: none;
    margin: 6px 0 0;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .15s ease, transform .15s ease, visibility .15s;
    z-index: 30;
}
.nav__item--dropdown:hover .nav__dropdown,
.nav__item--dropdown:focus-within .nav__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.nav__dropdown a {
    display: block;
    padding: 9px 18px;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--ink);
    border-bottom: none !important;
}
.nav__dropdown a:hover { background: #f6f6f6; color: var(--red); }
@media (max-width: 880px) {
    .nav__dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-radius: 0;
        background: transparent;
        padding: 0;
        margin: 0;
    }
    .nav__dropdown a { padding: 12px 40px; font-size: 0.82rem; color: #666; }
}
