/* ============================================================
   Grad Vinkovci – predložak službene web stranice
   ============================================================ */

:root {
    --blue-900: #07294a;
    --blue-800: #0a3a6b;
    --blue-700: #0a4d8c;
    --blue-600: #1273c4;
    --blue-100: #e3eef9;
    --gold-500: #e8b021;
    --gold-600: #c49212;
    --vk-yellow: #FFDD03;
    --ink: #1c2733;
    --ink-soft: #51606f;
    --line: #e2e8ef;
    --bg-soft: #f5f8fb;
    --white: #ffffff;
    --radius: 12px;
    --shadow-sm: 0 1px 3px rgba(10, 40, 70, 0.08);
    --shadow-md: 0 8px 28px rgba(10, 40, 70, 0.12);
    --container: 1200px;
    --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body { overflow-x: clip; }

body {
    font-family: var(--font);
    color: var(--ink);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img, svg { display: block; }
img, video, iframe, svg { max-width: 100%; height: auto; }

a { color: var(--blue-700); text-decoration: none; }

ul { list-style: none; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ============ Gornja traka ============ */
.topbar {
    background: var(--blue-900);
    color: #b9cde2;
    font-size: 0.82rem;
}

.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 38px;
    gap: 16px;
}

.topbar__links {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
}

.topbar__links a,
.topbar__lang a {
    color: #b9cde2;
    transition: color 0.15s;
}

.topbar__links a:hover,
.topbar__lang a:hover { color: var(--white); }

.topbar__right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.topbar__social { color: #b9cde2; }
.topbar__social:hover { color: var(--gold-500); }

.topbar__lang { display: flex; gap: 8px; align-items: center; }
.topbar__lang span { opacity: 0.45; }
.topbar__lang a.active { color: var(--white); font-weight: 600; }

/* ============ Zaglavlje ============ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
}

.header {
    background: var(--white);
    border-bottom: 4px solid var(--vk-yellow);
    box-shadow: var(--shadow-sm);
}

.header__inner {
    display: flex;
    align-items: center;
    gap: 28px;
    min-height: 76px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.brand__crest img {
    display: block;
    height: 52px;
    width: auto;
}

.brand--footer .brand__crest img { height: 46px; }

.brand__text { display: flex; flex-direction: column; line-height: 1.2; }

.brand__name {
    font-size: 1.18rem;
    font-weight: 800;
    color: var(--blue-800);
    letter-spacing: -0.01em;
}

.brand__tagline {
    font-size: 0.72rem;
    color: var(--ink-soft);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* --- Navigacija --- */
.nav { margin-left: auto; }

.nav__panel-head,
.nav__panel-foot,
.nav__title,
.nav__close { display: none; }

.nav__list {
    display: flex;
    gap: 4px;
}

.nav__item { position: relative; }

.nav__link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 28px 16px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ink);
    transition: color 0.15s;
}

.has-dropdown > .nav__link::after {
    content: "";
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    opacity: 0.55;
}

.nav__item:hover > .nav__link,
.nav__item:focus-within > .nav__link { color: var(--blue-600); }

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    background: var(--white);
    border: 1px solid var(--line);
    border-top: 3px solid var(--gold-500);
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--shadow-md);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
}

.nav__item:hover > .dropdown,
.nav__item:focus-within > .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown a {
    display: block;
    padding: 9px 20px;
    font-size: 0.9rem;
    color: var(--ink);
    transition: background 0.12s, color 0.12s, padding-left 0.12s;
}

.dropdown a:hover {
    background: var(--blue-100);
    color: var(--blue-700);
    padding-left: 26px;
}

/* --- Pretraga --- */
.search-toggle {
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: 50%;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: var(--blue-700);
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    flex-shrink: 0;
}

.search-toggle:hover { background: var(--blue-700); color: var(--white); }

.searchbar {
    display: none;
    background: var(--bg-soft);
    border-top: 1px solid var(--line);
    padding: 16px 0;
}

.searchbar.is-open { display: block; }

.searchbar form { display: flex; gap: 10px; }

.searchbar input {
    flex: 1;
    padding: 12px 18px;
    font: inherit;
    border: 1px solid var(--line);
    border-radius: 8px;
    outline: none;
}

.searchbar input:focus { border-color: var(--blue-600); }

.searchbar button {
    padding: 12px 28px;
    font: inherit;
    font-weight: 600;
    background: var(--blue-700);
    color: var(--white);
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.searchbar button:hover { background: var(--blue-600); }

/* --- Hamburger --- */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-left: auto;
}

.nav-toggle span {
    width: 26px;
    height: 3px;
    background: var(--blue-800);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

body.nav-open { overflow: hidden; }

.nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(7, 41, 74, 0.45);
    z-index: 85;
}

@media (max-width: 880px) {
    body.nav-open .nav-backdrop { display: block; }
}

/* ============ Hero ============ */
.hero {
    position: relative;
    color: var(--white);
    overflow: hidden;
}

.hero__slides { position: relative; min-height: clamp(480px, 38vw, 620px); }

.hero__slide {
    position: absolute;
    inset: 0;
    background: var(--img);
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.7s ease, visibility 0.7s;
}

.hero__slide--photo {
    background-color: var(--blue-900);
    background-image: var(--img-url);
    background-size: cover;
    background-position: 55% 42%;
    background-repeat: no-repeat;
}

.hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}

.hero__slide.is-active { opacity: 1; visibility: visible; }

/* dekorativni uzorak */
.hero__slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 80% at 85% 20%, rgba(255,255,255,0.08), transparent 60%),
        radial-gradient(ellipse 50% 60% at 10% 90%, rgba(0,0,0,0.18), transparent 60%);
    pointer-events: none;
}

.hero__slide--photo::before {
    background:
        linear-gradient(
            105deg,
            rgba(8, 42, 78, 0.88) 0%,
            rgba(8, 42, 78, 0.62) 42%,
            rgba(8, 42, 78, 0.18) 68%,
            transparent 88%
        ),
        radial-gradient(ellipse 60% 80% at 85% 20%, rgba(255,255,255,0.06), transparent 60%);
}

.hero__slide--photo .hero__kicker {
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.hero__slide--photo h1,
.hero__slide--photo .hero__lead {
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.hero__content {
    position: relative;
    z-index: 1;
    width: 100%;
    padding-top: 64px;
    padding-bottom: 96px;
    max-width: var(--container);
}

.hero__kicker {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--gold-500);
    margin-bottom: 14px;
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 18px;
    max-width: 14ch;
}

.hero__lead {
    font-size: 1.08rem;
    max-width: 156ch;
    opacity: 0.92;
    margin-bottom: 32px;
}

.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero__dots {
    position: absolute;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
}

.hero__dots button {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.85);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, transform 0.2s;
}

.hero__dots button.is-active {
    background: var(--gold-500);
    border-color: var(--gold-500);
    transform: scale(1.2);
}

/* ============ Gumbi ============ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.1s;
}

.btn:active { transform: translateY(1px); }

.btn--accent { background: var(--gold-500); color: var(--blue-900); }
.btn--accent:hover { background: #f3c23a; }

.btn--ghost {
    border-color: rgba(255,255,255,0.55);
    color: var(--white);
}
.btn--ghost:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }

.btn--outline {
    border-color: var(--blue-700);
    color: var(--blue-700);
}
.btn--outline:hover { background: var(--blue-700); color: var(--white); }

/* ============ Brze usluge ============ */
.services {
    background: var(--bg-soft);
    padding: 0;
}

.services__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    transform: translateY(-44px);
    margin-bottom: -16px;
}

.service-card {
    flex: 0 1 calc((100% - 7 * 12px) / 8);
    min-width: 132px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--blue-600);
}

.service-card__icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    border-radius: 14px;
    background: var(--blue-100);
    color: var(--blue-700);
    display: grid;
    place-items: center;
    transition: background 0.18s, color 0.18s;
}

.service-card:hover .service-card__icon {
    background: var(--blue-700);
    color: var(--white);
}

.service-card h3 {
    font-size: 0.94rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 4px;
}

.service-card p {
    font-size: 0.78rem;
    color: var(--ink-soft);
    line-height: 1.45;
}

/* ============ Info kutije ============ */
.info-boxes {
    background: var(--bg-soft);
    padding: 8px 0 48px;
}

.info-boxes--with-ticker,
.info-boxes:has(.announcement-ticker) {
    padding-top: 0;
}

.info-boxes__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.info-card {
    flex: 0 1 calc((100% - 2 * 20px) / 3);
    min-width: 280px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 22px 24px;
}

.info-card h3 {
    font-size: 0.98rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--ink);
    margin-bottom: 12px;
}

.info-card__body {
    font-size: 0.86rem;
    color: var(--ink-soft);
    line-height: 1.55;
}

.info-card__body p { margin: 0 0 8px; }
.info-card__body p:last-child { margin-bottom: 0; }
.info-card__body strong { color: var(--ink); }
.info-card__body a { color: var(--blue-700); text-decoration: none; }
.info-card__body a:hover { text-decoration: underline; }
.info-card__body ul { margin: 0 0 8px; padding-left: 18px; }

/* ============ Sekcijska zaglavlja ============ */
.section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 32px;
}

.section-head h2 {
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--blue-900);
    position: relative;
    padding-bottom: 12px;
}

.section-head h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 56px;
    height: 4px;
    border-radius: 2px;
    background: var(--gold-500);
}

.section-head__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--blue-700);
    transition: gap 0.15s;
}

.section-head__link:hover { gap: 10px; }

/* ============ Novosti ============ */
.news {
    padding: 72px 0 64px;
    background: var(--white);
}

.news__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.news-card {
    background: #f3f4f5;
    border: 1px solid #e7e9eb;
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.18s, box-shadow 0.18s;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.news-card--featured {
    grid-column: span 2;
    grid-row: span 1;
    flex-direction: row;
}

.news-card__media {
    position: relative;
    background: var(--img);
    min-height: 200px;
    flex-shrink: 0;
}

.news-card--featured .news-card__media { width: 46%; min-height: 100%; }

.news-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 30%, rgba(255,255,255,0.14), transparent 55%);
}

.news-card__tag {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    background: var(--gold-500);
    color: var(--blue-900);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 5px 11px;
    border-radius: 99px;
}

.news-card__body {
    padding: 22px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.news-card time {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--ink-soft);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.news-card h3 {
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.35;
}

.news-card--featured h3 { font-size: 1.45rem; }

.news-card h3 a { color: var(--ink); transition: color 0.15s; }
.news-card h3 a:hover { color: var(--blue-600); }

.news-card p {
    font-size: 0.9rem;
    color: var(--ink-soft);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card--featured p { -webkit-line-clamp: 5; }

.more-link {
    margin-top: auto;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--blue-700);
}

.more-link::after {
    content: " →";
    transition: margin-left 0.15s;
}

.more-link:hover::after { margin-left: 4px; }

.news__more {
    margin-top: 40px;
    text-align: center;
}

/* ============ Projekti ============ */
.projects-section {
    padding: 40px 0 64px;
    background: #f0f2f4;
}

.projects__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.project-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 140px;
    padding: 20px 16px 24px;
    border-radius: var(--radius);
    background: var(--img);
    text-decoration: none;
    overflow: hidden;
    border-bottom: 3px solid var(--gold-500);
    transition: transform 0.18s, box-shadow 0.18s;
}

.project-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(10, 58, 107, 0.78);
    z-index: 1;
}

.project-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.project-card__title {
    position: relative;
    z-index: 2;
    color: #fff;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
}

.project-detail__logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
}

.project-detail__logo {
    max-height: 72px;
    max-width: 180px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.project-detail__fields {
    margin: 0 0 28px;
    padding: 0;
}

.project-detail__field {
    display: grid;
    grid-template-columns: minmax(180px, 240px) 1fr;
    gap: 12px 24px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}

.project-detail__field dt {
    margin: 0;
    font-weight: 700;
    color: var(--blue-900);
}

.project-detail__field dd {
    margin: 0;
    color: #2c3a48;
}

/* ============ Događanja ============ */
.events { padding: 72px 0; }

.events__inner {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 48px;
    align-items: start;
}

.event-row {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    margin-bottom: 14px;
    background: var(--white);
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.event-row:hover {
    border-color: var(--blue-600);
    box-shadow: var(--shadow-sm);
    transform: translateX(4px);
}

.event-row__date {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    border-radius: 12px;
    background: var(--blue-700);
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.1;
}

.event-row__date strong { font-size: 1.45rem; font-weight: 800; }
.event-row__date span { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; opacity: 0.85; }

.event-row__body h4 {
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--ink);
}

.event-row__body p {
    font-size: 0.85rem;
    color: var(--ink-soft);
}

/* --- bočni stupac --- */
.events__aside {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stats-card {
    background: var(--blue-900);
    color: var(--white);
    border-radius: var(--radius);
    padding: 28px;
}

.stats-card h3 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--gold-500);
}

.stats-card ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.stats-card li { display: flex; flex-direction: column; }

.stats-card strong {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gold-500);
}

.stats-card span { font-size: 0.78rem; opacity: 0.85; line-height: 1.4; }

.banner-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: linear-gradient(135deg, var(--gold-600), var(--gold-500));
    color: var(--blue-900);
    border-radius: var(--radius);
    padding: 26px 28px;
    transition: transform 0.15s, box-shadow 0.15s;
}

.banner-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.banner-card__kicker {
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.75;
}

.banner-card strong { font-size: 1.2rem; font-weight: 800; }

.banner-card__cta { font-size: 0.9rem; font-weight: 700; margin-top: 8px; }

/* ============ Podnožje ============ */
.footer {
    background: var(--blue-900);
    color: #b9cde2;
    border-top: 4px solid var(--vk-yellow);
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(4, 1fr);
    gap: 36px;
    padding: 56px 24px 44px;
}

.brand--footer .brand__name { color: var(--white); }
.brand--footer .brand__tagline { color: #8fa9c4; }

.footer__col--brand address {
    font-style: normal;
    font-size: 0.88rem;
    margin: 18px 0;
    line-height: 1.7;
}

.footer__col--brand address a { color: var(--gold-500); }

.footer__social { display: flex; gap: 12px; }

.footer__social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: #b9cde2;
    display: grid;
    place-items: center;
    transition: background 0.15s, color 0.15s;
}

.footer__social a:hover { background: var(--gold-500); color: var(--blue-900); }

.footer__col h4 {
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 800;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--vk-yellow);
    display: inline-block;
}

.footer__col ul li { margin-bottom: 8px; }

.footer__col ul a {
    font-size: 0.86rem;
    color: #b9cde2;
    transition: color 0.15s, padding-left 0.15s;
}

.footer__col ul a:hover { color: var(--white); padding-left: 4px; }

.footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 18px 0;
    font-size: 0.82rem;
}

.footer__bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.footer__bottom ul { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__bottom a { color: #b9cde2; }
.footer__bottom a:hover { color: var(--white); }

/* ============ Podstranice ============ */
.page-hero {
    background: linear-gradient(135deg, var(--blue-800), var(--blue-600));
    color: var(--white);
    padding: 56px 0;
}

.page-hero .breadcrumbs {
    font-size: 0.84rem;
    margin-bottom: 12px;
    opacity: 0.85;
}

.page-hero .breadcrumbs a { color: var(--gold-500); }

.page-hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.01em;
}

.page-content {
    padding-block: 56px 72px;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 48px;
    align-items: start;
}

.article time {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ink-soft);
    text-transform: uppercase;
    display: block;
    margin-bottom: 18px;
}

.article p { margin-bottom: 18px; font-size: 1rem; color: #2c3a48; }

.article h2 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--blue-900);
    margin: 32px 0 14px;
}

.article ul {
    list-style: disc;
    padding-left: 24px;
    margin-bottom: 18px;
    color: #2c3a48;
}

.article ul li { margin-bottom: 6px; }

.article ol {
    list-style: decimal;
    padding-left: 24px;
    margin-bottom: 18px;
    color: #2c3a48;
}

.article ol li {
    margin-bottom: 6px;
    list-style-position: outside;
}

.article__media {
    border-radius: var(--radius);
    min-height: 320px;
    background: var(--img, linear-gradient(135deg, var(--blue-700), var(--blue-600)));
    margin-bottom: 28px;
}

.sidebar .widget {
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 24px;
}

.sidebar .widget h3 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--blue-900);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gold-500);
}

.sidebar .widget ul li { margin-bottom: 10px; }

.sidebar .widget ul a {
    font-size: 0.9rem;
    color: var(--ink);
    font-weight: 600;
}

.sidebar .widget ul a:hover { color: var(--blue-600); }

/* ============ Savjetovanja s javnošću ============ */
.c-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}

.c-summary__card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px 24px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.c-summary__card strong {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--blue-700);
    line-height: 1.2;
}

.c-summary__card span {
    font-size: 0.86rem;
    color: var(--ink-soft);
}

.c-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 28px;
}

.c-filters__states {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.c-filters .btn { padding: 9px 18px; font-size: 0.86rem; }
.c-filters .btn.is-active { background: var(--blue-700); color: var(--white); }

.c-filters__search {
    display: flex;
    gap: 8px;
}

.c-filters__search input {
    padding: 9px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-family: var(--font);
    font-size: 0.9rem;
    min-width: 220px;
}

.c-filters__search input:focus { outline: 2px solid var(--blue-600); border-color: transparent; }

.c-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.c-item {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px 26px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.18s, border-color 0.18s;
}

.c-item:hover { box-shadow: var(--shadow-md); border-color: var(--blue-600); }

.c-item__head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 8px;
}

.c-item__head h3 { font-size: 1.08rem; line-height: 1.4; }
.c-item__head h3 a { color: var(--ink); }
.c-item__head h3 a:hover { color: var(--blue-700); }

.c-item > p { color: var(--ink-soft); font-size: 0.92rem; margin-bottom: 12px; }

.c-item__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    font-size: 0.84rem;
    color: var(--ink-soft);
    margin-bottom: 10px;
}

.c-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
    flex-shrink: 0;
    margin-top: 2px;
}

.c-status--otvoreno { background: #e2f5ea; color: #14693c; }
.c-status--zatvoreno { background: #fdeaea; color: #9b1c1c; }
.c-status--izvjesce { background: var(--blue-100); color: var(--blue-700); }
.c-status--najava { background: #fdf3da; color: #8a6406; }

.c-detail-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 24px;
    padding: 14px 18px;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    font-size: 0.88rem;
    color: var(--ink-soft);
    margin-bottom: 24px;
}

.article ul.c-docs { list-style: none; padding-left: 0; }

.c-docs li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: 8px;
    margin-bottom: 8px !important;
}

.c-docs svg { color: var(--blue-700); flex-shrink: 0; }
.c-docs a { font-weight: 600; }

.c-docs__type {
    margin-left: auto;
    font-size: 0.76rem;
    background: var(--blue-100);
    color: var(--blue-700);
    padding: 3px 10px;
    border-radius: 20px;
    white-space: nowrap;
}

.c-doclist {
    list-style: none;
    padding-left: 0;
    margin: 12px 0 0;
}

.c-doclist li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
    padding: 10px 14px;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: 8px;
    margin-bottom: 8px;
}

.c-doclist a { font-weight: 600; }

.c-doclist__type {
    font-size: 0.76rem;
    background: var(--blue-100);
    color: var(--blue-700);
    padding: 3px 10px;
    border-radius: 20px;
    white-space: nowrap;
}

.c-doclist__desc {
    flex-basis: 100%;
    font-size: 0.85rem;
    color: var(--ink-soft);
}

.c-comments {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 10px;
}

.c-comment {
    border: 1px solid var(--line);
    border-left: 3px solid var(--gold-500);
    border-radius: 8px;
    padding: 14px 18px;
}

.c-comment__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
}

.c-comment__head time { font-size: 0.8rem; color: var(--ink-soft); }
.c-comment p { margin-bottom: 0 !important; font-size: 0.92rem; }

.c-form { margin-top: 8px; }

.c-form label {
    display: block;
    font-weight: 600;
    font-size: 0.88rem;
    margin-bottom: 14px;
}

.c-form label small { font-weight: 400; color: var(--ink-soft); }

.c-form input[type="text"],
.c-form input[type="email"],
.c-form textarea {
    display: block;
    width: 100%;
    margin-top: 6px;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-family: var(--font);
    font-size: 0.92rem;
}

.c-form input:focus, .c-form textarea:focus { outline: 2px solid var(--blue-600); border-color: transparent; }

.c-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.c-form__hp { position: absolute; left: -9999px; top: -9999px; }

.c-form-msg {
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 0.92rem;
    margin-bottom: 16px;
}

.c-form-msg--success { background: #e2f5ea; color: #14693c; border: 1px solid #bfe6cf; }
.c-form-msg--error { background: #fdeaea; color: #9b1c1c; border: 1px solid #f3c6c6; }

@media (max-width: 880px) {
    .c-summary { grid-template-columns: 1fr; }
    .c-form__row { grid-template-columns: 1fr; }
    .c-filters__search { width: 100%; }
    .c-filters__search input { flex: 1; min-width: 0; }
}

/* ============ Responzivnost ============ */
@media (max-width: 1080px) {
    .service-card { flex-basis: calc((100% - 2 * 12px) / 3); min-width: 0; }
    .info-card { flex-basis: calc((100% - 20px) / 2); }
    .news__grid { grid-template-columns: repeat(2, 1fr); }
    .news-card--featured { grid-column: span 2; }
    .projects__grid { grid-template-columns: repeat(3, 1fr); }
    .footer__grid { grid-template-columns: 1.5fr 1fr 1fr; }
}

@media (max-width: 880px) {
    .nav-toggle { display: flex; }

    .nav {
        position: fixed;
        top: 0;
        right: 0;
        width: min(300px, 85vw);
        height: 100vh;
        height: 100dvh;
        background: var(--white);
        box-shadow: var(--shadow-md);
        padding: 0;
        overflow: hidden;
        transform: translateX(100%);
        visibility: hidden;
        transition: transform 0.25s ease, visibility 0.25s;
        margin-left: 0;
        z-index: 90;
        display: flex;
        flex-direction: column;
    }

    .nav.is-open { transform: translateX(0); visibility: visible; }

    .nav__panel-head {
        display: block;
        flex-shrink: 0;
        padding: 20px 24px 0;
        border-bottom: 1px solid var(--line);
    }

    .nav__panel-top {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 12px;
    }

    .nav__panel-top .brand--nav {
        flex: 1;
        min-width: 0;
    }

    .nav__close {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        background: none;
        border: none;
        padding: 4px;
        cursor: pointer;
        color: var(--ink);
    }

    .nav__close:hover { color: var(--blue-700); }

    .brand--nav .brand__crest img { height: 40px; }

    .nav__title {
        display: block;
        font-size: 1.05rem;
        font-weight: 700;
        color: var(--ink);
        padding: 16px 0 12px;
        margin: 0;
    }

    .nav__list {
        flex-direction: column;
        gap: 0;
        flex: 1;
        overflow-y: auto;
    }

    .nav__item { border-bottom: 1px solid var(--line); }

    .nav__link {
        padding: 14px 24px;
        text-transform: uppercase;
        font-size: 0.82rem;
        font-weight: 600;
        letter-spacing: 0.04em;
    }

    .nav__panel-foot {
        display: flex;
        flex-direction: column;
        gap: 10px;
        flex-shrink: 0;
        padding: 16px 24px 20px;
        border-top: 1px solid var(--line);
    }

    .nav__contact {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 0.88rem;
        color: var(--ink-soft);
    }

    .nav__contact:hover { color: var(--blue-700); }

    .nav__contact svg { flex-shrink: 0; }

    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-left: 3px solid var(--gold-500);
        margin: 0 24px 10px;
        padding: 0;
        display: none;
    }

    .nav__item.is-open .dropdown { display: block; }

    .nav-toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
    .nav-toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    .events__inner { grid-template-columns: 1fr; }
    .page-content { grid-template-columns: 1fr; }
    .topbar__links { gap: 14px; }
}

@media (max-width: 640px) {
    .service-card { flex-basis: calc((100% - 12px) / 2); }
    .info-card { flex-basis: 100%; min-width: 0; }
    .news__grid { grid-template-columns: 1fr; }
    .news-card--featured { grid-column: span 1; flex-direction: column; }
    .news-card--featured .news-card__media { width: 100%; min-height: 200px; }
    .projects__grid { grid-template-columns: repeat(2, 1fr); }
    .project-detail__field { grid-template-columns: 1fr; gap: 4px; }
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .topbar__links { display: none; }
    .stats-card ul { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 420px) {
    .footer__grid { grid-template-columns: 1fr; }
    .services__grid { gap: 10px; }
    .service-card { flex-basis: calc((100% - 10px) / 2); padding: 18px 12px; }
}

/* ============ Pristupačnost – plutajući gumb ============ */
.a11y-fab {
    position: fixed;
    left: 18px;
    bottom: 18px;
    z-index: 900;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: none;
    background: var(--blue-800);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: background 0.15s, transform 0.15s;
}

.a11y-fab:hover {
    background: var(--blue-600);
    transform: scale(1.06);
}

.a11y-fab:focus-visible {
    outline: 3px solid var(--gold-500);
    outline-offset: 2px;
}

/* ============ Pristupačnost – modal ============ */
.a11y-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(7, 41, 74, 0.55);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 4vh 16px;
    overflow-y: auto;
}

.a11y-overlay[hidden] { display: none; }

body.a11y-modal-open { overflow: hidden; }

.a11y-modal {
    background: var(--bg-soft);
    border-radius: var(--radius);
    width: 100%;
    max-width: 640px;
    padding: 22px 24px 26px;
    box-shadow: var(--shadow-md);
}

.a11y-modal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.a11y-modal__head h2 {
    color: var(--ink);
    font-size: 1.35rem;
    font-weight: 700;
}

.a11y-modal__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.a11y-modal__reset {
    border: none;
    background: none;
    color: var(--ink-soft);
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s, background 0.15s;
}

.a11y-modal__reset:hover {
    color: var(--ink);
    background: rgba(10, 40, 70, 0.06);
}

.a11y-modal__close {
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--blue-600);
    color: var(--white);
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}

.a11y-modal__close:hover { background: var(--blue-700); }

.a11y-modal__body {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.a11y-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.a11y-tile {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 64px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--white);
    color: var(--ink);
    font-family: var(--font);
    font-size: 0.92rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}

.a11y-tile:hover {
    border-color: var(--blue-600);
}

.a11y-tile.is-active {
    border-color: var(--blue-600);
    background: var(--blue-100);
    box-shadow: inset 0 0 0 1px var(--blue-600);
    color: var(--blue-800);
}

.a11y-tile__icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink-soft);
}

.a11y-tile.is-active .a11y-tile__icon { color: var(--blue-700); }

.a11y-tile__label { line-height: 1.3; }

.a11y-sliders {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.a11y-slider-row {
    display: grid;
    grid-template-columns: minmax(120px, 1fr) 1fr auto auto;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--white);
}

.a11y-slider-row__label {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--ink);
}

.a11y-slider {
    width: 100%;
    height: 6px;
    appearance: none;
    background: var(--line);
    border-radius: 999px;
    outline: none;
    cursor: pointer;
}

.a11y-slider::-webkit-slider-thumb {
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--blue-600);
    border: 2px solid var(--white);
    box-shadow: 0 1px 4px rgba(10, 40, 70, 0.25);
}

.a11y-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--blue-600);
    border: 2px solid var(--white);
    box-shadow: 0 1px 4px rgba(10, 40, 70, 0.25);
}

.a11y-slider-row__value {
    min-width: 44px;
    text-align: right;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--ink-soft);
}

.a11y-slider-row__steppers {
    display: flex;
    align-items: center;
    gap: 0;
    border-left: 1px solid var(--line);
    padding-left: 8px;
}

.a11y-stepper {
    border: none;
    background: none;
    width: 32px;
    height: 32px;
    font-size: 1.2rem;
    line-height: 1;
    color: var(--ink-soft);
    cursor: pointer;
    border-radius: 6px;
    transition: color 0.15s, background 0.15s;
}

.a11y-stepper:hover {
    color: var(--blue-700);
    background: var(--blue-100);
}

/* ============ Pristupačnost – načini prikaza ============ */
#a11y-root.a11y-invert {
    filter: invert(1) hue-rotate(180deg);
}

#a11y-root.a11y-mono {
    filter: grayscale(1);
}

#a11y-root.a11y-low-sat {
    filter: saturate(0.4);
}

#a11y-root.a11y-high-sat {
    filter: saturate(1.6);
}

#a11y-root.a11y-dark-contrast {
    background: #000 !important;
    color: #fff !important;
}

#a11y-root.a11y-dark-contrast :not(svg):not(path):not(circle):not(rect):not(line):not(polyline):not(polygon) {
    background-color: #000 !important;
    color: #fff !important;
    border-color: #fff !important;
}

#a11y-root.a11y-dark-contrast a,
#a11y-root.a11y-dark-contrast a * {
    color: #ffe34d !important;
    text-decoration: underline !important;
}

#a11y-root.a11y-dark-contrast img,
#a11y-root.a11y-dark-contrast svg {
    filter: contrast(1.2);
}

#a11y-root.a11y-dark-contrast button,
#a11y-root.a11y-dark-contrast input,
#a11y-root.a11y-dark-contrast select,
#a11y-root.a11y-dark-contrast textarea {
    outline: 1px solid #fff !important;
}

#a11y-root.a11y-light-contrast {
    background: #fff !important;
    color: #000 !important;
}

#a11y-root.a11y-light-contrast :not(svg):not(path):not(circle):not(rect):not(line):not(polyline):not(polygon) {
    background-color: #fff !important;
    color: #000 !important;
    border-color: #000 !important;
}

#a11y-root.a11y-light-contrast a,
#a11y-root.a11y-light-contrast a * {
    color: #0000cc !important;
    text-decoration: underline !important;
    font-weight: 600;
}

#a11y-root.a11y-highlight-links a {
    text-decoration: underline !important;
    outline: 2px solid var(--blue-600) !important;
    outline-offset: 2px;
    background: rgba(18, 115, 196, 0.1) !important;
}

#a11y-root.a11y-highlight-headings h1,
#a11y-root.a11y-highlight-headings h2,
#a11y-root.a11y-highlight-headings h3,
#a11y-root.a11y-highlight-headings h4,
#a11y-root.a11y-highlight-headings h5,
#a11y-root.a11y-highlight-headings h6 {
    outline: 2px solid var(--blue-600) !important;
    background: rgba(18, 115, 196, 0.08) !important;
    padding: 4px 8px;
}

/* ============ Cookie privola ============ */
.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 950;
    background: var(--blue-900);
    color: #d7e4f2;
    box-shadow: 0 -4px 20px rgba(7, 41, 74, 0.35);
}

.cookie-banner__inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-banner__inner p {
    flex: 1 1 420px;
    font-size: 0.92rem;
    line-height: 1.5;
    margin: 0;
}

.cookie-banner__actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-banner__btn {
    padding: 10px 22px;
    border: none;
    border-radius: 8px;
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: filter 0.15s;
}

.cookie-banner__btn:hover { filter: brightness(1.12); }

.cookie-banner__btn--accept {
    background: var(--gold-500);
    color: var(--blue-900);
}

.cookie-banner__btn--decline {
    background: transparent;
    color: #d7e4f2;
    border: 1px solid rgba(215, 228, 242, 0.5);
}

.cookie-banner__link {
    background: none;
    border: none;
    color: var(--gold-400, #e8c547);
    text-decoration: underline;
    cursor: pointer;
    font: inherit;
    padding: 0;
}

.cookie-banner__link:hover { color: #fff; }

/* Cookie FAB */
.cookie-fab {
    position: fixed;
    left: 18px;
    bottom: 80px;
    z-index: 900;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: none;
    background: var(--blue-800);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: background 0.15s, transform 0.15s;
}

.cookie-fab:hover {
    background: var(--blue-600);
    transform: scale(1.06);
}

.cookie-fab:focus-visible {
    outline: 3px solid var(--gold-500);
    outline-offset: 2px;
}

body.cookie-modal-open { overflow: hidden; }

/* Cookie modal */
.cookie-overlay {
    position: fixed;
    inset: 0;
    z-index: 1100;
    background: rgba(7, 41, 74, 0.55);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 4vh 16px;
    overflow-y: auto;
}

.cookie-overlay[hidden] { display: none; }

.cookie-modal {
    width: min(640px, 100%);
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(7, 41, 74, 0.25);
    overflow: hidden;
}

.cookie-modal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #e7ebef;
}

.cookie-modal__head h2 {
    margin: 0;
    font-size: 1.25rem;
    color: var(--blue-900);
}

.cookie-modal__close {
    background: none;
    border: none;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    color: #5a6775;
    padding: 4px 8px;
}

.cookie-modal__body {
    padding: 20px 24px;
}

.cookie-modal__intro {
    margin: 0 0 18px;
    font-size: 0.92rem;
    line-height: 1.55;
    color: #3d4a57;
}

.cookie-categories {
    border: 1px solid #e0e5ea;
    border-radius: 10px;
    overflow: hidden;
}

.cookie-category + .cookie-category {
    border-top: 1px solid #e0e5ea;
}

.cookie-category__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    background: #f8fafc;
}

.cookie-category__toggle {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font: inherit;
    color: var(--blue-900);
    padding: 0;
}

.cookie-category__title {
    font-weight: 600;
    font-size: 0.95rem;
}

.cookie-category__chevron {
    color: #7a8794;
    font-size: 0.85rem;
}

.cookie-category__body {
    padding: 0 16px 14px;
    background: #f8fafc;
}

.cookie-category__body p {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.5;
    color: #5a6775;
}

.cookie-switch {
    position: relative;
    display: inline-flex;
    flex-shrink: 0;
}

.cookie-switch__input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-switch__track {
    display: block;
    width: 44px;
    height: 24px;
    background: #c5ced8;
    border-radius: 12px;
    transition: background 0.2s;
    cursor: pointer;
}

.cookie-switch__track::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.2s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.cookie-switch__input:checked + .cookie-switch__track {
    background: var(--blue-800);
}

.cookie-switch__input:checked + .cookie-switch__track::after {
    transform: translateX(20px);
}

.cookie-switch__input:disabled + .cookie-switch__track {
    opacity: 0.55;
    cursor: not-allowed;
}

.cookie-meta {
    margin-top: 18px;
    padding: 14px 16px;
    background: #f0f4f8;
    border-radius: 8px;
    font-size: 0.88rem;
    line-height: 1.6;
    color: #3d4a57;
}

.cookie-meta strong { color: var(--blue-900); }

.cookie-modal__foot {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 16px 24px 20px;
    border-top: 1px solid #e7ebef;
    background: #fafbfc;
}

.cookie-btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-family: var(--font);
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: filter 0.15s;
}

.cookie-btn:hover { filter: brightness(1.08); }

.cookie-btn--primary {
    background: var(--blue-800);
    color: #fff;
}

.cookie-btn--secondary {
    background: #e8edf2;
    color: var(--blue-900);
}

@media (max-width: 640px) {
    .cookie-banner__actions { width: 100%; }
    .cookie-banner__btn { flex: 1; }
    .a11y-modal { padding: 18px 16px 22px; }
    .a11y-grid { gap: 10px; }
    .a11y-tile { min-height: 58px; padding: 12px 14px; font-size: 0.85rem; }
}

@media (max-width: 480px) {
    .a11y-slider-row {
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto;
    }
    .a11y-slider-row__label { grid-column: 1 / -1; }
    .a11y-slider { grid-column: 1; }
    .a11y-slider-row__value { grid-column: 2; }
    .a11y-slider-row__steppers {
        grid-column: 1 / -1;
        border-left: none;
        padding-left: 0;
        justify-content: flex-end;
    }
}

/* ============ Obavijesti – popup na naslovnici ============ */
.announcement-overlay {
    position: fixed;
    inset: 0;
    z-index: 1050;
    background: rgba(7, 41, 74, 0.55);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 4vh 16px;
    overflow-y: auto;
}

.announcement-overlay[hidden] { display: none; }

.announcement-modal {
    background: var(--white);
    border-radius: var(--radius);
    width: 100%;
    max-width: 640px;
    padding: 24px 28px 28px;
    box-shadow: var(--shadow-md);
}

.announcement-modal__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.announcement-modal__head h2 {
    color: var(--blue-700);
    font-size: 1.45rem;
    font-weight: 700;
    margin: 0;
}

.announcement-modal__close {
    border: none;
    background: none;
    font-size: 1.7rem;
    line-height: 1;
    color: var(--ink-soft);
    cursor: pointer;
    padding: 4px 8px;
    flex-shrink: 0;
}

.announcement-modal__close:hover {
    color: var(--blue-700);
}

.announcement-modal__body {
    color: var(--ink);
}

@media (max-width: 640px) {
    .announcement-modal { padding: 20px 18px 22px; }
}

/* ============ Obavijesti – klizač (marquee) iznad info kutija ============ */
.announcement-ticker {
    width: 100%;
    background: transparent;
    color: var(--ink);
    overflow: visible;
}

.announcement-ticker a {
    color: inherit;
    text-decoration: none;
}

.announcement-ticker a:hover,
.announcement-ticker a:focus {
    text-decoration: underline;
    color: var(--blue-700);
}

.announcement-ticker__viewport {
    width: var(--ticker-viewport-width, 80%);
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    min-height: 44px;
}

.announcement-ticker__track {
    position: absolute;
    left: 0;
    top: 0;
    display: inline-flex;
    align-items: center;
    flex-wrap: nowrap;
    white-space: nowrap;
    padding: 10px 0;
    min-height: 44px;
    will-change: transform;
}

.announcement-ticker:not(.announcement-ticker--ready):not(.announcement-ticker--static) .announcement-ticker__track {
    visibility: hidden;
}

.announcement-ticker--ready .announcement-ticker__track {
    animation: announcement-ticker-scroll var(--ticker-duration, 30s) linear infinite;
}

.announcement-ticker:hover .announcement-ticker__track,
.announcement-ticker:focus-within .announcement-ticker__track {
    animation-play-state: paused;
}

.announcement-ticker__item {
    display: inline-flex;
    align-items: center;
}

.announcement-ticker__link,
.announcement-ticker__text {
    font-weight: 600;
    font-size: 0.95rem;
    padding: 4px 0;
}

.announcement-ticker__link {
    cursor: pointer;
}

.announcement-ticker__link:focus-visible {
    outline: 2px solid var(--gold-500);
    outline-offset: 2px;
}

.announcement-ticker__sep {
    color: var(--ink-soft);
    padding: 0 1.25rem;
    user-select: none;
}

.announcement-ticker--static .announcement-ticker__track {
    position: static;
    display: block;
    text-align: center;
    white-space: normal;
    padding: 12px 16px;
    visibility: visible;
}

.announcement-ticker--static .announcement-ticker__sep {
    padding: 0 0.5rem;
}

@keyframes announcement-ticker-scroll {
    from { transform: translateX(var(--ticker-from, 100%)); }
    to { transform: translateX(var(--ticker-to, -50%)); }
}

@media (prefers-reduced-motion: reduce) {
    .announcement-ticker--ready .announcement-ticker__track {
        animation: none;
    }
}
