/* ==========================================================================
   IDDEEA tema — glavni stilovi
   Boje: tamnoplava (logo), žuti akcent, svijetlo plava. WCAG 2.1 AA kontrast.
   ========================================================================== */

:root {
	--navy-900: #0A2240;
	--navy-800: #0A2A57;
	--navy-700: #0F3A75;
	--navy-600: #12305C;
	--navy-line: #2C4569;
	--blue-400: #3FB6F4;
	--blue-100: #EAF0F8;
	--accent: #F2B544;
	--accent-ink: #8A4B00;
	--accent-bg: #FFF6E8;
	--accent-line: #F0D5A8;
	--ink: #1A2433;
	--ink-2: #33445C;
	--ink-3: #4A5A70;
	--ink-4: #5B6B82;
	--line: #DDE3EB;
	--line-2: #C9D2DE;
	--ground: #F3F6FA;
	--white: #FFFFFF;
	--font: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--radius: 14px;
	--radius-sm: 10px;
	--wrap: 1240px;
	--gutter: 24px;
	--header-h: 96px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--white); }
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--navy-700); text-underline-offset: 3px; }
a:hover { color: var(--navy-900); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { color: var(--navy-900); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(32px, 4vw, 46px); }
h2 { font-size: clamp(24px, 2.6vw, 32px); }
h3 { font-size: clamp(20px, 2vw, 24px); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 1000; background: var(--accent); color: var(--navy-900); padding: 12px 18px; border-radius: var(--radius-sm); font-weight: 600; }
.skip-link:focus { top: 12px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 860px; }

/* Dugmad */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: var(--radius-sm); border: 1px solid transparent; font: 600 16px/1.2 var(--font); text-decoration: none; cursor: pointer; }
.btn--primary { background: var(--navy-700); color: var(--white); }
.btn--primary:hover { background: var(--navy-900); color: var(--white); }
.btn--accent { background: var(--accent); color: var(--navy-900); }
.btn--accent:hover { background: #E7A42C; color: var(--navy-900); }
.btn--dark { background: var(--navy-900); color: var(--white); }
.btn--dark:hover { background: var(--navy-700); color: var(--white); }
.btn--outline { border-color: var(--navy-700); color: var(--navy-700); background: transparent; }
.btn--outline:hover { background: var(--blue-100); }
.btn--large { min-height: 56px; padding: 14px 28px; font-size: 18px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.more { font-weight: 600; white-space: nowrap; }
.more::after, .card__more::after, .event__more::after { content: " →"; }

/* Gornja traka */
.topbar { background: var(--navy-900); color: #DCE4F0; font-size: 14px; }
.topbar__inner { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; padding-top: 6px; padding-bottom: 6px; }
.topbar__note { margin: 0; }
.topbar__right { display: flex; align-items: center; gap: 8px; }
.topbar__link { color: #DCE4F0; text-decoration: none; padding: 6px 10px; }
.topbar__link:hover { color: var(--white); }
.lang-switch ul { display: flex; gap: 2px; list-style: none; padding: 0; }
.lang-switch a { display: block; padding: 6px 10px; color: #DCE4F0; text-decoration: none; border-bottom: 2px solid transparent; }
.lang-switch a:hover { color: var(--white); }
.lang-switch a.is-current { color: var(--white); font-weight: 600; border-bottom-color: var(--accent); }
.topbar__right .lang-switch { border-right: 1px solid #3A5275; padding-right: 8px; }

/* Zaglavlje (sticky) */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--white); box-shadow: 0 1px 0 #E3E7ED; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; flex: none; }
.brand__logo { height: 64px; width: auto; display: block; }
.brand__name { font-size: 13px; line-height: 1.3; color: var(--ink-2); max-width: 240px; padding-left: 14px; border-left: 1px solid var(--line); }
.site-header__actions { display: flex; align-items: center; gap: 8px; flex: none; }
.icon-btn { width: 44px; height: 44px; border-radius: 22px; border: 1px solid var(--line-2); background: var(--white); color: var(--navy-700); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.icon-btn[aria-expanded="true"] { background: var(--blue-100); }
.menu-toggle { display: none; height: 44px; padding: 0 16px; border-radius: 22px; border: 1px solid var(--line-2); background: var(--white); color: var(--navy-700); align-items: center; gap: 8px; font: 600 16px var(--font); cursor: pointer; }
.menu-toggle__close { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__close { display: block; }
.menu-toggle[aria-expanded="true"] .menu-toggle__open { display: none; }

/* Desktop meni s padajućim podstranicama */
.main-nav .menu { display: flex; flex-wrap: wrap; gap: 2px; list-style: none; padding: 0; margin: 0; }
.main-nav .menu > li { position: relative; }
.main-nav .menu > li > a { display: block; padding: 12px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 16px; border-bottom: 2px solid transparent; }
.main-nav .menu > li > a:hover,
.main-nav .current-menu-item > a,
.main-nav .current-menu-ancestor > a,
.main-nav .current-section > a,
.main-nav .current-page-ancestor > a { color: var(--navy-700); border-bottom-color: var(--navy-700); }
.main-nav .sub-menu { position: absolute; left: 0; top: 100%; min-width: 280px; list-style: none; margin: 0; padding: 10px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 16px 40px rgba(10, 34, 64, .14); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; z-index: 10; }
.main-nav .menu > li:hover > .sub-menu,
.main-nav .menu > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.main-nav .menu > li:last-child > .sub-menu, .main-nav .menu > li:nth-last-child(2) > .sub-menu { left: auto; right: 0; }
.main-nav .sub-menu a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--ink-2); text-decoration: none; font-size: 15px; }
.main-nav .sub-menu a:hover, .main-nav .sub-menu .current-menu-item > a { background: var(--blue-100); color: var(--navy-700); }

/* Pretraga */
.search-panel { border-top: 1px solid var(--line); background: var(--white); padding: 16px 0; }
.search-form__label { display: block; font-size: 14px; font-weight: 600; color: var(--ink-3); margin-bottom: 6px; }
.search-form__row { display: flex; gap: 10px; flex-wrap: wrap; }
.search-form__input { flex: 1 1 260px; min-width: 0; height: 52px; padding: 0 16px; border: 1px solid #9AA8BC; border-radius: var(--radius-sm); font: 17px var(--font); color: var(--ink); background: var(--white); }
.search-form__btn { height: 52px; }

/* Mobilni meni */
.mobile-menu { border-top: 1px solid var(--line); background: var(--white); max-height: calc(100vh - 70px); overflow-y: auto; overscroll-behavior: contain; }
.mobile-menu .wrap { padding-top: 12px; padding-bottom: 24px; }
.mobile-nav .menu { list-style: none; padding: 0; margin: 12px 0 0; }
.mobile-nav .menu > li { border-bottom: 1px solid var(--line); position: relative; }
.mobile-nav .menu > li > a { display: flex; align-items: center; min-height: 54px; padding-right: 56px; font-size: 18px; font-weight: 600; color: var(--navy-900); text-decoration: none; }
.mobile-nav .submenu-toggle { position: absolute; right: 0; top: 5px; width: 44px; height: 44px; border: 0; background: none; color: var(--navy-700); display: flex; align-items: center; justify-content: center; cursor: pointer; border-radius: 22px; }
.mobile-nav .submenu-toggle svg { transition: transform .2s; }
.mobile-nav .submenu-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.mobile-nav .sub-menu { list-style: none; padding: 0 0 12px; margin: 0; }
.mobile-nav .sub-menu[hidden] { display: none; }
.mobile-nav .sub-menu a { display: block; padding: 10px 12px; color: var(--ink-2); text-decoration: none; border-radius: 8px; }
.mobile-nav .sub-menu .current-menu-item > a { background: var(--blue-100); color: var(--navy-700); font-weight: 600; }
.mobile-menu__foot { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding-top: 16px; }
.lang-switch--large ul { gap: 8px; }
.lang-switch--large a { min-width: 44px; min-height: 40px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line-2); border-radius: 8px; color: var(--navy-700); }
.lang-switch--large a.is-current { background: var(--navy-700); color: var(--white); border-color: var(--navy-700); }
.mobile-menu__foot > a { font-weight: 600; }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--navy-800); color: var(--white); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,34,64,.96) 0%, rgba(10,34,64,.82) 42%, rgba(10,34,64,.25) 100%); }
.hero__pause { position: absolute; right: var(--gutter); top: 20px; z-index: 2; min-height: 44px; padding: 0 16px; border-radius: 22px; border: 1px solid #5C7DAA; background: rgba(10,34,64,.6); color: var(--white); font: 14px var(--font); cursor: pointer; }
.hero__inner { position: relative; z-index: 1; padding-top: 72px; padding-bottom: 56px; }
.hero__eyebrow { color: var(--accent); font-weight: 600; font-size: 15px; letter-spacing: .02em; margin-bottom: 12px; }
.hero__title { color: var(--white); font-size: clamp(34px, 5vw, 50px); margin-bottom: 12px; }
.hero__lead { color: #DCE4F0; font-size: 19px; max-width: 640px; margin-bottom: 28px; }
.hero__search { max-width: 820px; }
.hero__search .search-form__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hero__search .search-form__input { height: 60px; border: 0; font-size: 18px; }
.hero__search .search-form__btn { height: 60px; padding: 0 32px; font-size: 18px; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 20px 0 32px; font-size: 15px; }
.hero__chips span { color: #DCE4F0; margin-right: 4px; }
.hero__chips a { color: var(--white); border: 1px solid #5C7DAA; border-radius: 999px; padding: 8px 14px; text-decoration: none; }
.hero__chips a:hover { background: rgba(255,255,255,.08); }
.quick-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; list-style: none; padding: 0; }
.quick-action { height: 100%; display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: var(--radius); background: var(--white); color: var(--ink); text-decoration: none; }
.quick-action .icon { color: var(--navy-700); }
.quick-action:hover { box-shadow: 0 0 0 3px var(--accent); }
.quick-action__title { font-size: 18px; font-weight: 600; }
.quick-action__text { font-size: 15px; color: var(--ink-3); }

/* Trake (sekcije naslovne) */
.band { padding: 72px 0; }
.band--tint { background: var(--ground); }
.band--dark { background: var(--navy-900); color: var(--white); }
.band--dark h2, .band--dark h3 { color: var(--white); }
.band--dark .band__head p { color: #C9D4E4; }
.band__head { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: flex-end; margin-bottom: 28px; }
.band__head h2, .band__head h3 { margin-bottom: 6px; }
.band__head p { margin: 0; color: var(--ink-3); }

.grid { display: grid; gap: 16px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid--docs { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.grid > li { list-style: none; }
ul.grid { padding: 0; }

/* Kartice */
.card { display: flex; gap: 16px; align-items: flex-start; height: 100%; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--ink); text-decoration: none; }
.card:hover { border-color: var(--navy-700); }
.card__icon { width: 48px; height: 48px; flex: none; border-radius: 12px; background: var(--blue-100); color: var(--navy-700); display: flex; align-items: center; justify-content: center; }
.card__body { display: flex; flex-direction: column; gap: 4px; min-height: 100%; }
.card__title { font-size: 18px; font-weight: 600; line-height: 1.35; }
.card__text { font-size: 15px; color: var(--ink-3); }
.card__more { margin-top: auto; padding-top: 6px; font-weight: 600; color: var(--navy-700); }
.grid--4 .card { flex-direction: column; }
.band--dark .card { background: transparent; border-color: var(--navy-line); color: var(--white); }
.band--dark .card:hover { border-color: var(--accent); }
.band--dark .card__icon { background: var(--navy-600); color: var(--blue-400); }
.band--dark .card__text { color: #C9D4E4; }
.band--dark .card__more { color: var(--accent); }

/* Aplikacija i video */
.app { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.app__text { flex: 1 1 480px; }
.app__phone { flex: 1 1 300px; display: flex; justify-content: center; align-items: center; min-height: 360px; border-radius: 36px; background: var(--ground); }
.app__phone img { width: 160px; }
.app__phone .app__screen { width: auto; max-height: 460px; border-radius: 28px; }
.steps { padding-left: 0; list-style: none; counter-reset: s; display: flex; flex-direction: column; gap: 12px; margin: 0 0 1em; }
.steps > li { counter-increment: s; display: flex; gap: 16px; align-items: flex-start; }
.steps > li::before { content: counter(s); width: 36px; height: 36px; flex: none; border-radius: 18px; background: var(--navy-700); color: var(--white); display: flex; align-items: center; justify-content: center; font-weight: 600; margin-top: -4px; }
.steps--compact > li::before { width: 30px; height: 30px; font-size: 15px; margin-top: -2px; }
.videos { margin-top: 56px; }
.video-card { display: flex; flex-direction: column; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 600; }
.video-card__media { position: relative; aspect-ratio: 9 / 13; border-radius: var(--radius); overflow: hidden; background: var(--navy-700); border-bottom: 6px solid var(--accent); display: flex; align-items: center; justify-content: center; }
.video-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-card__play { position: relative; width: 56px; height: 56px; border-radius: 28px; background: rgba(10,34,64,.6); color: var(--white); display: flex; align-items: center; justify-content: center; }
.featured-video { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; margin-top: 40px; padding-top: 40px; border-top: 1px solid #E3E7ED; }
.featured-video > div:last-child { flex: 1 1 280px; }
.yt { position: relative; flex: 2 1 520px; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--navy-900); }
.yt img, .yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.yt__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 72px; height: 72px; border-radius: 36px; border: 0; background: var(--accent); color: var(--navy-900); display: flex; align-items: center; justify-content: center; cursor: pointer; }

/* Brojke */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); margin: 0; border-top: 1px solid var(--line); }
.stat { display: flex; flex-direction: column-reverse; padding: 24px 20px 8px 0; }
.stat dd { margin: 0; font-size: 36px; font-weight: 700; color: var(--navy-700); line-height: 1.2; }
.stat dt { font-size: 15px; color: var(--ink-3); }
.note { font-size: 14px; color: var(--ink-4); margin-top: 12px; }

/* Vijesti */
.post-card__link { display: flex; flex-direction: column; gap: 10px; color: var(--ink); text-decoration: none; }
.post-card__media { display: block; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: #E3E9F1; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-card__placeholder { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; color: #9AA8BC; }
.post-card__date { font-size: 14px; color: var(--ink-4); }
.post-card__title { font-size: 19px; line-height: 1.35; margin: 0; color: var(--ink); }
.post-card__link:hover .post-card__title { color: var(--navy-700); text-decoration: underline; }
.grid--gallery .post-card__media { aspect-ratio: 4 / 3; }
.event { margin-top: 32px; display: grid; gap: 4px; padding: 24px 28px; border-radius: var(--radius); background: var(--accent-bg); border: 1px solid var(--accent-line); color: var(--ink); text-decoration: none; }
.event__label { font-size: 14px; font-weight: 600; color: var(--accent-ink); }
.event__title { font-size: 22px; font-weight: 600; }
.event__meta { font-size: 15px; color: var(--ink-3); }
.event__more { font-weight: 600; color: var(--navy-700); }

/* EU/UN, certifikati */
.panel { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 32px; display: flex; flex-direction: column; align-items: flex-start; }
.panel h2 { font-size: 24px; }
.panel p { color: var(--ink-3); }
.panel .btn { margin-top: auto; }
.certs { padding: 40px 0; }
.certs__inner { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.certs__inner > div { max-width: 540px; }
.certs__title { font-size: 20px; margin-bottom: 4px; }
.certs__inner p { color: var(--ink-3); font-size: 15px; margin: 0; }
.certs__list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; }
.certs__list a { display: block; border: 1px solid var(--line-2); border-radius: 8px; padding: 8px 12px; font-size: 14px; font-weight: 600; color: var(--ink-2); text-decoration: none; }
.certs__list li:last-child a { border-color: var(--navy-700); color: var(--navy-700); }

/* Podstranice */
.page-head { background: var(--ground); border-bottom: 1px solid #E3E7ED; padding: 32px 0 40px; }
.page-title { margin: 12px 0 12px; }
.page-lead { font-size: 19px; color: var(--ink-2); max-width: 780px; margin: 0; }
.page-head .btn-row, .page-head .tabs { margin-top: 20px; }
.page-search { max-width: 760px; margin-top: 20px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; font-size: 14px; color: var(--ink-3); }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: var(--ink-4); }
.breadcrumbs--light ol { color: #DCE4F0; }
.breadcrumbs--light a { color: #DCE4F0; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; max-width: 980px; margin: 24px 0 0; }
.fact { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.fact dt { font-size: 14px; color: var(--ink-4); }
.fact dd { margin: 0; font-size: 20px; font-weight: 600; }

.layout { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; padding-top: 48px; padding-bottom: 72px; }
.layout__main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 40px; }
.layout__side { flex: 1 1 250px; display: flex; flex-direction: column; gap: 24px; position: sticky; top: calc(var(--header-h) + 24px); }
.section-nav__title { font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--ink-4); margin-bottom: 8px; }
.section-nav__title a { color: inherit; text-decoration: none; }
.section-nav ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.section-nav a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--ink-2); text-decoration: none; }
.section-nav a:hover { background: var(--ground); }
.section-nav a[aria-current] { background: var(--blue-100); color: var(--navy-700); font-weight: 600; }
.help-box { background: var(--navy-700); color: var(--white); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.help-box p { margin: 0; font-size: 15px; color: #DCE4F0; }
.help-box .help-box__title { font-size: 18px; font-weight: 600; color: var(--white); }
.page-updated { font-size: 14px; color: var(--ink-4); border-top: 1px solid #E3E7ED; padding-top: 16px; margin: 0; }
.editor-note { border: 1px dashed var(--line-2); border-radius: var(--radius-sm); padding: 14px 18px; color: var(--ink-3); background: var(--ground); }
.empty { color: var(--ink-3); }

.section-hero { background: var(--navy-700); color: var(--white); padding: 32px 0 56px; }
.section-hero__title { color: var(--white); margin: 16px 0 12px; font-size: clamp(34px, 5vw, 48px); }
.section-hero__lead { font-size: 19px; color: #DCE4F0; max-width: 760px; margin: 0; }
.section-entry { margin-top: 48px; }

/* Sadržaj iz editora */
.entry { max-width: 760px; }
.entry > * + * { margin-top: 1em; }
.entry h2 { margin-top: 1.6em; }
.entry h3 { margin-top: 1.4em; }
.entry ul, .entry ol { padding-left: 22px; }
.entry li + li { margin-top: 6px; }
.entry ol.steps, .entry ol.is-style-koraci { padding-left: 0; }
.entry .is-style-koraci { list-style: none; counter-reset: s; display: flex; flex-direction: column; gap: 12px; }
.entry .is-style-koraci > li { counter-increment: s; display: flex; gap: 16px; }
.entry .is-style-koraci > li::before { content: counter(s); width: 36px; height: 36px; flex: none; border-radius: 18px; background: var(--navy-700); color: var(--white); display: flex; align-items: center; justify-content: center; font-weight: 600; }
.entry .is-style-napomena { border: 1px solid var(--accent-line); background: var(--accent-bg); border-radius: 12px; padding: 16px 18px; }
.entry .wp-block-table { overflow-x: auto; }
.entry table, .table { width: 100%; border-collapse: collapse; font-size: 16px; }
.entry th, .entry td, .table th, .table td { padding: 12px 16px; text-align: left; border-top: 1px solid #E3E7ED; vertical-align: top; }
.entry thead th, .table thead th { background: var(--ground); border-top: 0; }
.entry .wp-block-table table { border: 1px solid var(--line); border-radius: 12px; }
.entry img { border-radius: 12px; }
.entry .wp-block-file { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.entry .wp-block-file__button { background: var(--navy-700); color: var(--white); border-radius: var(--radius-sm); padding: 10px 18px; text-decoration: none; }
.entry details { border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; }

/* Česta pitanja */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq__item { border: 1px solid var(--line); border-radius: 12px; padding: 0 18px; }
.faq__item summary { padding: 14px 0; font-weight: 600; cursor: pointer; list-style-position: outside; }
.faq__item[open] summary { color: var(--navy-700); }
.faq__answer { padding-bottom: 14px; color: var(--ink-2); }

/* Provjera */
.check-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; max-width: 680px; }
.check-box h2 { font-size: 24px; }

/* Lista dokumenata */
.tabs ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.tabs a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--white); color: var(--navy-700); font-weight: 600; font-size: 15px; text-decoration: none; }
.tabs a[aria-current] { background: var(--navy-700); border-color: var(--navy-700); color: var(--white); }
.doc-list { display: flex; flex-direction: column; gap: 20px; }
.doc-list h2 { margin: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.field { display: flex; flex-direction: column; gap: 6px; flex: 1 1 140px; }
.field--grow { flex: 2 1 260px; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea { min-height: 46px; padding: 0 14px; border: 1px solid #9AA8BC; border-radius: var(--radius-sm); font: 16px var(--font); color: var(--ink); background: var(--white); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.table { min-width: 560px; }
.nowrap { white-space: nowrap; }
.doc-title { display: block; font-weight: 600; }
.doc-excerpt { display: block; font-size: 15px; color: var(--ink-3); }
.doc-dl { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.pagination ul { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 24px 0 0; }
.pagination a, .pagination span { min-width: 44px; height: 44px; padding: 0 10px; border-radius: var(--radius-sm); border: 1px solid var(--line-2); display: flex; align-items: center; justify-content: center; text-decoration: none; }
.pagination .current { background: var(--navy-700); border-color: var(--navy-700); color: var(--white); font-weight: 600; }
.pagination .dots { border: 0; }

/* Kontakt, rukovodstvo, pretraga */
.locations { list-style: none; padding: 0; display: grid; gap: 18px; }
.location { display: flex; flex-direction: column; gap: 2px; }
.location__tel { font-size: 15px; }
.locations--cards { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin-bottom: 16px; }
.locations--cards .location { border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.locations--cards .location--hq { border-color: var(--navy-700); }
.map-box { border-radius: var(--radius); background: var(--ground); padding: 24px; display: flex; justify-content: center; }
.map-box .bih-map { max-width: 460px; }
.contact-card { border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.contact-card__title { font-weight: 600; margin-bottom: 4px; }
.person { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-end; }
.person__photo img { border-radius: 16px; display: block; width: 240px; }
.person__role { font-weight: 600; color: var(--navy-700); margin: 0; }
.person__name { margin: 4px 0 0; }
.listing { padding-top: 48px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 32px; }
.results { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 24px; }
.result__type { font-size: 13px; font-weight: 600; color: var(--ink-4); }
.result__title { font-size: 21px; margin: 2px 0 6px; }
.related { margin-top: 24px; }
.article__date { display: block; color: var(--ink-4); font-size: 15px; margin-top: 16px; }
.article__body { padding-top: 40px; padding-bottom: 72px; }
.article__image { margin: 0 0 32px; }
.article__image img { border-radius: var(--radius); width: 100%; }
.article__image figcaption { font-size: 14px; color: var(--ink-4); margin-top: 8px; }
.article .entry { max-width: none; }

/* Podnožje */
.site-footer { background: var(--navy-900); color: #C9D4E4; font-size: 15px; }
.site-footer > .wrap { padding-top: 56px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 40px; }
.site-footer a { color: #C9D4E4; }
.site-footer a:hover { color: var(--white); }
.site-footer__map { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; border-bottom: 1px solid var(--navy-line); padding-bottom: 40px; }
.site-footer__map-img { flex: 1 1 320px; max-width: 460px; }
.site-footer__map > div:last-child { flex: 1 1 340px; }
.site-footer__title { color: var(--white); font-size: 26px; margin-bottom: 20px; }
.locations--footer { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.locations--footer strong { color: var(--white); }
.site-footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.site-footer__heading { color: var(--white); font-size: 17px; margin-bottom: 8px; }
.site-footer__links { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.site-footer__bottom { border-top: 1px solid var(--navy-line); padding-top: 20px; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; font-size: 14px; }
.site-footer__bottom p { margin: 0; }
.social ul { display: flex; flex-wrap: wrap; gap: 16px; list-style: none; padding: 0; }
.bih-map { width: 100%; height: auto; display: block; font-family: var(--font); }

/* Animacije (hero i mapa) */
@keyframes hDrift { from { transform: translateY(40px); } to { transform: translateY(-140px); } }
@keyframes hFlow { from { transform: translateX(-420px); } to { transform: translateX(1860px); } }
@keyframes hBlobA { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-140px, 70px); } }
@keyframes hBlobB { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(160px, -50px); } }
@keyframes hRidge { to { stroke-dashoffset: -480; } }
@keyframes hScan { 0%, 100% { transform: translateY(-190px); } 50% { transform: translateY(190px); } }
@keyframes hNode { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(3); opacity: 0; } }
@keyframes bihFlow { from { stroke-dashoffset: 226; } to { stroke-dashoffset: 0; } }
@keyframes bihPulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(3.2); opacity: 0; } }
.h-drift { animation: hDrift 14s linear infinite alternate; }
.h-flow { animation: hFlow 9s linear infinite; }
.h-blob-a { animation: hBlobA 18s ease-in-out infinite; }
.h-blob-b { animation: hBlobB 22s ease-in-out infinite; }
.h-ridge { animation: hRidge 16s linear infinite; }
.h-scan { animation: hScan 7s ease-in-out infinite; }
.h-node, .bih-pulse { transform-box: fill-box; transform-origin: center; }
.h-node { animation: hNode 2.6s ease-out infinite; }
.bih-flow { animation: bihFlow 2.8s linear infinite; }
.bih-pulse { animation: bihPulse 2.4s ease-out infinite; }
.hero[data-paused="true"] .hero-bg * { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.hero__pause { display: none; }
}

/* Mobilno / tablet */
@media (max-width: 1100px) {
	.brand__name { display: none; }
}
@media (max-width: 980px) {
	:root { --header-h: 66px; --gutter: 16px; }
	.main-nav { display: none; }
	.menu-toggle { display: inline-flex; }
	.brand__logo { height: 44px; }
	.topbar__note { display: none; }
	.topbar__inner { justify-content: flex-end; }
	.band { padding: 48px 0; }
	.hero__inner { padding-top: 24px; padding-bottom: 40px; }
	.hero__pause { position: relative; right: auto; top: auto; display: block; margin: 12px var(--gutter) 0 auto; }
	.layout { gap: 32px; padding-top: 32px; padding-bottom: 48px; }
	.layout__side { order: 2; position: static; }
	.page-head { padding: 24px 0 32px; }
	.section-hero { padding: 24px 0 40px; }
	.app__phone { min-height: 240px; }
}
@media (min-width: 981px) {
	.mobile-menu { display: none !important; }
}
@media (max-width: 560px) {
	body { font-size: 16px; }
	.hero__search .search-form__btn { width: 100%; }
	.stat dd { font-size: 30px; }
	.panel { padding: 24px; }
	.check-box { padding: 20px; }
}

/* Štampa */
@media print {
	.topbar, .site-header, .site-footer, .layout__side, .hero-bg, .hero__shade, .hero__pause, .skip-link { display: none !important; }
	body { font-size: 12pt; color: #000; }
	a { color: #000; }
	.page-head, .band--tint { background: none; }
}

/* e-Servisi uz prijavu */
.eservices { display: flex; flex-direction: column; gap: 16px; }
.eservices h2 { margin: 0; }
.eservices__lead { color: var(--ink-3); margin: 0; }
.eservices__grid { list-style: none; padding: 0; margin: 8px 0 0; }
.eservice { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.eservice__title { font-size: 18px; margin: 4px 0 0; }
.eservice__text { font-size: 15px; color: var(--ink-3); margin: 0; }
.eservice .btn { margin-top: auto; }
.layout__main .eservices__grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
