/* ==========================================================================
   Austrija Info – glavni stilovi
   Crveno = sadržaj redakcije, plavo = zajednica.
   ========================================================================== */

:root {
	--red: #b4162c;
	--red-dark: #8e1022;
	--red-tint: #fbecee;
	--red-soft: #fbf3f4;
	--red-line: #f1d9dd;
	--blue: #1f4e9e;
	--blue-dark: #163a77;
	--navy: #0f2a57;
	--blue-tint: #eaf0fa;
	--blue-line: #d5e0f3;
	--ink: #101828;
	--text: #2e3a4d;
	--muted: #4a5568;
	--line: #e2e6ee;
	--line-strong: #c3c9d4;
	--bg: #f4f6f9;
	--card: #ffffff;
	--green: #1c6b3a;
	--green-tint: #e7f4ec;
	--green-line: #cfe5d7;
	--amber-tint: #fcf1d8;
	--amber-ink: #4a3500;
	--radius: 16px;
	--radius-sm: 12px;
	--shadow: 0 1px 2px rgba(16, 24, 40, 0.06);
	--font: 'Public Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
	--display: 'Schibsted Grotesk', 'Segoe UI', system-ui, sans-serif;
	--gutter: 32px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--red); }
.is-community a:hover, a.is-blue:hover { color: var(--blue); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
hr { border: 0; border-top: 1px solid var(--line); margin: 4px 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	margin: -1px; padding: 0; border: 0;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto;
	position: fixed !important; left: 12px; top: 12px; z-index: 1000;
	background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 10px;
}

.ai-wrap { max-width: 1240px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.ai-wrap--narrow { max-width: 860px; }
.ai-main { min-height: 50vh; outline: none; }
.ai-section { padding-top: 40px; padding-bottom: 8px; }
.ai-section--tint { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-bottom: 40px; margin-top: 40px; }
.ai-icon { flex-shrink: 0; }

/* ---------- Dugmad ---------- */
.ai-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 46px; padding: 0 18px;
	border: 1px solid transparent; border-radius: var(--radius-sm);
	font-weight: 700; font-size: 15px; line-height: 1.2; text-align: center;
	cursor: pointer; transition: background-color .15s, color .15s, border-color .15s;
}
.ai-btn--sm { min-height: 40px; padding: 0 14px; font-size: 14px; }
.ai-btn--lg { min-height: 54px; padding: 0 26px; font-size: 16px; }
.ai-btn--block { width: 100%; }
.ai-btn--dark { background: var(--ink); color: #fff; }
.ai-btn--dark:hover { background: #26324a; color: #fff; }
.ai-btn--red { background: var(--red); color: #fff; }
.ai-btn--red:hover { background: var(--red-dark); color: #fff; }
.ai-btn--blue { background: var(--blue); color: #fff; }
.ai-btn--blue:hover { background: var(--blue-dark); color: #fff; }
.ai-btn--white { background: #fff; color: var(--navy); }
.ai-btn--white:hover { background: var(--blue-tint); color: var(--navy); }
.ai-btn--ghost { background: #fff; border-color: var(--line-strong); color: var(--ink); }
.ai-btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.ai-btn--outline-blue { background: transparent; border: 1px dashed var(--blue); color: var(--blue-dark); }
.ai-btn--outline-blue:hover { background: var(--blue-tint); color: var(--blue-dark); }
.ai-btn--green-outline { background: #fff; border: 2px solid var(--green); color: var(--green); }
.ai-btn--green-outline:hover { background: var(--green-tint); color: var(--green); }
.ai-btn--green-outline.is-on, .ai-btn--green-outline[aria-pressed="true"] { background: var(--green); color: #fff; }
.ai-iconbtn {
	width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
	border: 0; background: transparent; border-radius: 12px; cursor: pointer; color: var(--ink);
}
.ai-iconbtn:hover { background: var(--bg); color: var(--ink); }
.ai-linkbtn { border: 0; background: none; padding: 0; color: var(--blue); font-weight: 600; cursor: pointer; }
.ai-reset { display: inline-block; margin-top: 10px; font-size: 14px; color: var(--muted); text-decoration: underline; }

/* ---------- Oznake (chips) ---------- */
.ai-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ai-chips--spaced { margin-bottom: 16px; }
.ai-chip {
	display: inline-flex; align-items: center; gap: 5px;
	padding: 3px 10px; border-radius: 999px;
	background: #f1f3f7; color: var(--text);
	font-size: 13px; font-weight: 600; line-height: 1.5;
}
.ai-chip--lg { font-size: 14px; padding: 5px 12px; }
.ai-chip--de > span:first-child { color: #5b6577; font-weight: 500; }
.ai-chip--amber { background: var(--amber-tint); color: #5c4300; }
.ai-chip--red { background: var(--red-tint); color: var(--red-dark); }
.ai-chip--blue { background: var(--blue-tint); color: var(--blue-dark); }
.ai-chip--green { background: var(--green-tint); color: var(--green); }
.ai-chip--verified { background: var(--green-tint); color: var(--green); }
.ai-de { font-size: 13px; color: #5b6577; font-style: italic; }
.ai-kicker { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; color: var(--red-dark); }
.is-community .ai-kicker { color: var(--blue-dark); }
.ai-meta { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--muted); }
.ai-badge {
	align-self: flex-start; display: inline-block;
	padding: 4px 10px; border-radius: 999px;
	background: var(--path, var(--red)); color: #fff;
	font-size: 13px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase;
}
.ai-eyebrow { display: inline-block; font-size: 14px; font-weight: 700; color: var(--red-dark); letter-spacing: .02em; text-transform: uppercase; }
.ai-verified { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; color: var(--green); }
.ai-status { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.ai-status--open { background: var(--amber-tint); color: #5c4300; }
.ai-status--answered { background: var(--blue-tint); color: var(--blue-dark); }
.ai-status--solved { background: var(--green-tint); color: var(--green); }
.ai-dot { width: 10px; height: 10px; border-radius: 999px; background: var(--path, var(--red)); flex-shrink: 0; }
.ai-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.ai-pills--scroll { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gutter) * -1); padding: 2px var(--gutter) 6px; scrollbar-width: none; }
.ai-pills--scroll::-webkit-scrollbar { display: none; }
.ai-pill {
	flex-shrink: 0; display: inline-flex; align-items: center; min-height: 40px;
	padding: 0 14px; border-radius: 999px;
	background: #fff; border: 1px solid var(--line-strong);
	font-size: 14px; font-weight: 600; white-space: nowrap;
}
.ai-pill:hover { border-color: var(--ink); color: var(--ink); }
.ai-pill.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.ai-page-hero--blue .ai-pill { border-color: #c9d6ee; }
.ai-page-hero--blue .ai-pill.is-active { background: var(--blue); border-color: var(--blue); }

/* ---------- Zaglavlje ---------- */
.ai-header { background: #fff; border-bottom: 1px solid var(--line); position: relative; z-index: 50; }
.ai-header__bar { min-height: 76px; display: flex; align-items: center; gap: 28px; }
.ai-logo { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.ai-logo:hover { color: var(--ink); }
.ai-logo__flag {
	width: 28px; height: 22px; border-radius: 5px; background: #fff;
	border-top: 7px solid var(--red); border-bottom: 7px solid var(--red);
	box-shadow: 0 0 0 1px var(--line);
}
.ai-logo__text { font-family: var(--display); font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.ai-logo__text span { color: var(--red); }
.ai-logo--small .ai-logo__text { font-size: 20px; }
.custom-logo-link img { max-height: 48px; width: auto; }

.ai-nav { flex: 1 1 auto; }
.ai-nav__list { list-style: none; display: flex; flex-wrap: wrap; gap: 0 22px; }
.ai-nav__list a { display: block; padding: 26px 0 23px; font-weight: 600; font-size: 15px; border-bottom: 3px solid transparent; }
.ai-nav__list .is-community a { color: var(--blue); }
.ai-nav__list .current-menu-item > a,
.ai-nav__list .current_page_item > a,
.ai-nav__list .current-menu-ancestor > a { color: var(--red); border-bottom-color: var(--red); }
.ai-nav__list .is-community.current-menu-item > a { color: var(--blue); border-bottom-color: var(--blue); }
.ai-nav__mobile-extra { display: none; }
.ai-header__actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.ai-header__login { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; font-weight: 600; font-size: 15px; }
.ai-header__cta { border-radius: 999px; min-height: 44px; }
.ai-menu-toggle { display: none; }
.ai-searchbar { border-top: 1px solid var(--line); background: var(--bg); padding: 16px 0; }

/* ---------- Pretraga ---------- */
.ai-search {
	display: flex; flex-wrap: wrap; gap: 8px;
	padding: 8px; background: #fff; border-radius: 18px;
	box-shadow: 0 1px 2px rgba(16, 24, 40, .08), 0 0 0 1px var(--line);
}
.ai-search__field { display: flex; flex-direction: column; justify-content: center; gap: 0; padding: 4px 12px; min-width: 0; }
.ai-search__field--q { flex: 2 1 260px; }
.ai-search__field--where { flex: 1 1 170px; border-left: 1px solid var(--line); }
.ai-search__field label { font-size: 13px; font-weight: 700; color: var(--text); }
.ai-search__field input, .ai-search__field select {
	width: 100%; height: 34px; border: 0; outline: none; background: transparent; font-size: 17px; padding: 0;
}
.ai-search__field:focus-within { box-shadow: inset 0 -2px 0 var(--blue); }
.ai-search__btn { min-height: 56px; padding: 0 24px; }
.ai-search--blue { box-shadow: 0 1px 2px rgba(15, 42, 87, .08); }

/* ---------- Naslovnica: hero ---------- */
.ai-hero { background: linear-gradient(180deg, #fff 0%, var(--red-soft) 100%); border-bottom: 1px solid var(--red-line); }
.ai-hero__inner { display: flex; flex-wrap: wrap; gap: 32px; padding-top: 44px; padding-bottom: 44px; align-items: flex-start; }
.ai-hero__text { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.ai-hero__title { font-family: var(--display); font-size: clamp(34px, 4.6vw, 56px); font-weight: 800; letter-spacing: -.025em; line-height: 1.04; max-width: 15ch; }
.ai-hero__lead { font-size: 19px; color: #3d2a2d; max-width: 640px; }
.ai-popular { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); font-weight: 600; }
.ai-popular .ai-pill { min-height: 34px; font-size: 13px; }
.ai-start { flex: 1 1 330px; background: #fff; border: 1px solid var(--red-line); border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow); }
.ai-start__title { font-family: var(--display); font-size: 22px; font-weight: 800; margin-bottom: 4px; }
.ai-start__item { display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: 14px; border: 1px solid var(--line); }
.ai-start__item:hover { border-color: var(--ink); color: var(--ink); }
.ai-start__item > span:last-child { display: flex; flex-direction: column; }
.ai-start__item strong { font-size: 16px; }
.ai-start__item span span { font-size: 14px; color: var(--muted); }
.ai-start__icon { width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ai-start__icon.is-red { background: var(--red-tint); color: var(--red-dark); }
.ai-start__icon.is-blue { background: var(--blue-tint); color: var(--blue-dark); }

/* ---------- Naslovi sekcija ---------- */
.ai-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 20px; margin-bottom: 18px; }
.ai-head__text { display: flex; flex-direction: column; gap: 4px; }
.ai-head__title { font-family: var(--display); font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
h3.ai-head__title { font-size: 20px; }
.ai-head__sub { color: var(--muted); }
.ai-head__link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 15px; color: var(--red); }
.is-community .ai-head__link, .ai-community-band .ai-head__link { color: var(--blue); }

/* ---------- Kartice ---------- */
.ai-card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.ai-card--list { gap: 0; }
.ai-card__title { font-family: var(--display); font-size: 19px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.ai-card--list .ai-card__title { margin-bottom: 8px; }
.ai-card--blue { background: var(--blue-tint); border-color: var(--blue-line); }
.ai-card--blue .ai-card__title { color: var(--navy); }
.ai-card--note { background: #fff; }
.ai-card--note p { font-size: 14px; color: var(--text); }
.ai-card--actions { gap: 10px; }
.ai-linkrow { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 48px; padding: 0 14px; background: #fff; border-radius: 12px; font-weight: 600; border: 1px solid var(--line); }
.ai-card--blue .ai-linkrow { border-color: transparent; color: var(--navy); }
.ai-linkrow .ai-dot + * { flex: 1; }
.ai-linkrow:has(.ai-dot) { justify-content: flex-start; }
.ai-linkrow:has(.ai-dot) .ai-icon { margin-left: auto; }

/* Životni putevi: kartice */
.ai-path-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.ai-path-grid--large .ai-path-card { min-height: 120px; }
.ai-path-card { display: flex; align-items: center; gap: 16px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .15s, box-shadow .15s; }
.ai-path-card:hover { border-color: var(--path); color: var(--ink); box-shadow: 0 6px 18px rgba(16, 24, 40, .08); }
.ai-path-card__bar { width: 10px; align-self: stretch; min-height: 44px; border-radius: 6px; background: var(--path); flex-shrink: 0; }
.ai-path-card__body { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ai-path-card__title { font-size: 19px; font-weight: 700; line-height: 1.25; }
.ai-path-card__sub { font-size: 14px; color: var(--text); }
.ai-path-card__meta { font-size: 13px; color: var(--muted); font-weight: 600; margin-top: 4px; }
.ai-path-card > .ai-icon { color: var(--path); }

/* Oblasti */
.ai-area-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.ai-area { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 10px; background: #fff; }
.ai-area__title { font-size: 19px; font-weight: 700; }
.ai-area ul { list-style: none; display: flex; flex-direction: column; }
.ai-area li a { display: flex; flex-direction: column; padding: 9px 0; border-top: 1px solid var(--line); }
.ai-area li:first-child a { border-top: 0; }
.ai-area__more { font-size: 14px; font-weight: 700; color: var(--red); margin-top: auto; }

/* Vijesti */
.ai-split { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.ai-split__main { flex: 999 1 560px; min-width: 0; }
.ai-split__side { flex: 1 1 320px; min-width: 0; }
.ai-news-block { display: grid; grid-template-columns: 1.35fr 1fr; gap: 20px; }
.ai-news-block__list { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 18px; }
.ai-news { display: flex; flex-direction: column; gap: 12px; }
.ai-news__media { display: block; border-radius: var(--radius); overflow: hidden; background: var(--red-tint); aspect-ratio: 16 / 9; }
.ai-news__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.ai-news:hover .ai-news__media img { transform: scale(1.02); }
.ai-news__placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: #d8a3ab; }
.ai-news__body { display: flex; flex-direction: column; gap: 6px; }
.ai-news__title { font-size: 19px; font-weight: 700; line-height: 1.3; }
.ai-news--lead .ai-news__title { font-family: var(--display); font-size: clamp(24px, 2.6vw, 30px); font-weight: 800; letter-spacing: -.015em; line-height: 1.15; }
.ai-news__excerpt { color: var(--text); }
.ai-news--row { padding: 14px 0; border-top: 1px solid var(--line); }
.ai-news--row:first-child { border-top: 0; }
.ai-news--row .ai-news__title { font-size: 17px; }
.ai-card--list .ai-news--row { padding: 12px 0; }
.ai-news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.ai-news-grid .ai-news--lead { grid-column: 1 / -1; display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: center; }

/* Vodiči: redovi */
.ai-guide-row { display: flex; flex-direction: column; gap: 4px; padding: 12px 0; border-top: 1px solid var(--line); }
.ai-card--list .ai-guide-row:first-of-type, .ai-az__list > div:first-child .ai-guide-row { border-top: 0; }
.ai-guide-row__link { display: flex; flex-direction: column; gap: 1px; }
.ai-guide-row__title { font-weight: 600; font-size: 16px; }
.ai-guide-row__meta { display: flex; flex-wrap: wrap; gap: 4px 12px; }

/* Oglas */
.ai-ad { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.ai-ad__label { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ai-ad__item { max-width: 100%; }
.ai-ad__item img { margin: 0 auto; }
.ai-ad--empty { border: 2px dashed var(--line-strong); border-radius: var(--radius); padding: 24px; text-align: center; color: var(--muted); font-size: 14px; }
.ai-ad--empty a { color: var(--blue); text-decoration: underline; }
.ai-ad--wide { min-height: 120px; justify-content: center; }
.ai-ad-row { padding-top: 32px; }
.ai-ad--inline { margin: 28px 0; }

/* Zajednica (plavi pojas) */
.ai-community-band { background: var(--blue-tint); border-top: 1px solid var(--blue-line); border-bottom: 1px solid var(--blue-line); padding-bottom: 40px; margin-top: 40px; }
.ai-community-band .ai-head__title { color: var(--navy); }
.ai-community-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.ai-community-band .ai-card { border-color: var(--blue-line); }
.ai-community-band .ai-card .ai-head { margin-bottom: 4px; }
.ai-warning { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; background: var(--amber-tint); border-radius: 14px; color: var(--amber-ink); font-size: 14px; }
.ai-warning a { text-decoration: underline; font-weight: 700; }
.ai-intro-note { display: block; margin-bottom: 12px; font-size: 14px; }

/* Usluge */
.ai-avatar { width: 52px; height: 52px; flex-shrink: 0; border-radius: 999px; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 17px; background: #4d5b70; }
.ai-avatar img { width: 100%; height: 100%; object-fit: cover; }
.ai-avatar--lg { width: 88px; height: 88px; font-size: 28px; border: 3px solid #fff; box-shadow: var(--shadow); }
.ai-avatar--sm { width: 32px; height: 32px; font-size: 12px; }
.ai-svc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.ai-svc--compact { border: 0; padding: 10px 0; border-top: 1px solid var(--line); border-radius: 0; }
.ai-card .ai-svc--compact:first-of-type { border-top: 0; }
.ai-svc--featured { border: 2px solid var(--blue); box-shadow: 0 6px 18px rgba(31, 78, 158, .12); }
.ai-svc__flag { align-self: flex-start; display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; color: var(--blue-dark); background: var(--blue-tint); padding: 3px 10px; border-radius: 999px; }
.ai-svc__main { display: flex; gap: 14px; align-items: flex-start; flex-wrap: wrap; }
.ai-svc__body { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.ai-svc__title { font-size: 18px; font-weight: 700; }
.ai-svc--compact .ai-svc__title { font-size: 16px; }
.ai-svc__sub { font-size: 14px; color: var(--muted); }
.ai-svc__text { font-size: 15px; color: var(--text); }
.ai-svc__cta { align-self: center; }

/* Poslovi */
.ai-job { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.ai-card .ai-job { border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 12px 0; }
.ai-card .ai-job:first-of-type { border-top: 0; }
.ai-job--featured { border: 2px solid var(--blue); }
.ai-job__body { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; flex: 1; min-width: 0; }
.ai-job__title { font-size: 18px; font-weight: 700; line-height: 1.3; }
.ai-card .ai-job__title { font-size: 16px; }
.ai-job__sub { font-size: 14px; color: var(--muted); }
.ai-job--seeker { flex-direction: row; align-items: flex-start; gap: 14px; }
.ai-job--seeker .ai-btn { margin-top: 6px; }
.ai-salary { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; padding: 9px 12px; background: var(--green-tint); border-radius: 12px; color: var(--green); }
.ai-salary span { font-size: 13px; font-weight: 600; }
.ai-salary strong { font-weight: 800; }
.ai-salary--lg { display: inline-flex; margin-top: 8px; padding: 12px 16px; font-size: 18px; }

/* Pitanja */
.ai-q { padding: 12px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.ai-card .ai-q:first-of-type { border-top: 0; }
.ai-card--list .ai-q:first-child { border-top: 0; }
.ai-q__title { font-size: 16px; font-weight: 600; line-height: 1.35; }
.ai-q__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }

/* Događaji */
.ai-event-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.ai-event { display: flex; gap: 14px; align-items: flex-start; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.ai-event__date { width: 58px; flex-shrink: 0; display: flex; flex-direction: column; align-items: center; padding: 6px 0; border-radius: 12px; background: var(--red-tint); color: var(--red-dark); line-height: 1.1; }
.ai-event__day { font-size: 12px; font-weight: 700; text-transform: uppercase; }
.ai-event__num { font-family: var(--display); font-size: 24px; font-weight: 800; }
.ai-event__mon { font-size: 12px; font-weight: 600; }
.ai-event__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ai-event__top { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.ai-event__title { font-size: 17px; font-weight: 700; line-height: 1.3; }
.ai-dayhead { font-family: var(--display); font-size: 20px; font-weight: 800; margin: 28px 0 12px; }
.ai-dayhead:first-child { margin-top: 0; }

/* Newsletter */
.ai-newsletter-wrap { padding-bottom: 48px; }
.ai-newsletter { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; padding: 32px; border-radius: 22px; background: var(--ink); color: #fff; }
.ai-newsletter__text { flex: 1 1 340px; display: flex; flex-direction: column; gap: 6px; }
.ai-newsletter h2 { font-family: var(--display); font-size: 28px; font-weight: 800; }
.ai-newsletter p { color: #c9cfda; }
.ai-newsletter__form { flex: 1 1 380px; display: flex; flex-direction: column; gap: 6px; }
.ai-newsletter__form label { font-size: 14px; font-weight: 700; color: #c9cfda; }
.ai-newsletter__row { display: flex; gap: 8px; }
.ai-newsletter__row input { flex: 1; min-width: 0; height: 50px; padding: 0 14px; border-radius: 12px; border: 0; color: var(--ink); background: #fff; }
.ai-newsletter__row .ai-btn { min-height: 50px; }
.ai-newsletter .ai-notice { flex: 1 1 380px; }

/* ---------- Stranice: hero ---------- */
.ai-page-hero { background: #fff; border-bottom: 1px solid var(--line); padding: 26px 0 32px; }
.ai-page-hero > .ai-wrap { display: flex; flex-direction: column; gap: 14px; }
.ai-page-hero--blue { background: var(--blue-tint); border-bottom-color: var(--blue-line); }
.ai-page-hero--blue .ai-page-hero__title { color: var(--navy); }
.ai-page-hero__title { font-family: var(--display); font-size: clamp(30px, 4vw, 44px); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.ai-page-hero__title--q { font-size: clamp(26px, 3.2vw, 36px); }
.ai-page-hero__lead { font-size: 18px; color: var(--text); max-width: 720px; }
.ai-crumbs { display: flex; flex-wrap: wrap; gap: 6px 8px; font-size: 14px; color: var(--muted); }
.ai-crumbs a { text-decoration: underline; text-decoration-color: rgba(74, 85, 104, .35); text-underline-offset: 3px; }
.ai-filterbox { display: flex; align-items: center; gap: 10px; max-width: 560px; padding: 0 14px; height: 52px; background: var(--bg); border: 1px solid var(--line-strong); border-radius: 14px; color: var(--muted); }
.ai-filterbox input { flex: 1; border: 0; outline: none; background: transparent; height: 100%; font-size: 17px; color: var(--ink); }
.ai-filterbox:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31, 78, 158, .15); }
.ai-inline-filter { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-weight: 600; font-size: 14px; }
.ai-inline-filter select { height: 44px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 12px; background: #fff; min-width: 220px; }

/* ---------- Raspored sa strane ---------- */
.ai-layout { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; padding-top: 28px; padding-bottom: 24px; }
.ai-layout__main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.ai-layout__side { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.ai-layout--filters .ai-layout__filters { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 16px; order: 0; }
.ai-layout--filters .ai-layout__main { order: 1; }
.ai-list { display: flex; flex-direction: column; gap: 12px; }
.ai-results-count { font-size: 14px; color: var(--muted); font-weight: 600; }
.ai-empty { color: var(--muted); padding: 12px 0; }
.ai-empty-state { background: #fff; border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.ai-empty-state h2 { font-size: 20px; }

.ai-filters { background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.ai-filters summary { list-style: none; display: flex; align-items: center; gap: 8px; padding: 16px 20px; font-weight: 700; cursor: pointer; }
.ai-filters summary::-webkit-details-marker { display: none; }
.ai-filters .ai-form { padding: 0 20px 20px; }

.ai-cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 24px; border-radius: 20px; background: var(--navy); color: #fff; margin-top: 8px; }
.ai-cta-band h2 { font-family: var(--display); font-size: 22px; font-weight: 800; }
.ai-cta-band p { color: #c9d6ee; margin-top: 4px; }
.ai-cta-band > div { flex: 1 1 280px; }
.ai-cta-band--stack { flex-direction: column; align-items: stretch; margin-top: 0; }
.ai-cta-band--stack > div { flex: none; }
.ai-cta-band--red { background: var(--red-dark); }
.ai-cta-band--red p { color: #f6d3d8; }

.ai-ticks { list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.ai-ticks li { position: relative; padding-left: 22px; }
.ai-ticks li::before { content: ""; position: absolute; left: 4px; top: 9px; width: 8px; height: 8px; border-radius: 2px; background: var(--red); }

/* ---------- Tabovi (poslovi) ---------- */
.ai-tabs { display: inline-grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; padding: 4px; background: var(--blue-line); border-radius: 14px; max-width: 420px; }
.ai-tab { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px; border-radius: 10px; font-weight: 700; color: #2a3a55; }
.ai-tab.is-active { background: #fff; color: var(--navy); box-shadow: 0 1px 3px rgba(15, 42, 87, .15); }

/* ---------- Životni put ---------- */
.ai-path-hero { background: var(--red-soft); border-bottom: 1px solid var(--red-line); }
.ai-path-hero__inner { display: flex; flex-wrap: wrap; gap: 28px; padding-top: 26px; padding-bottom: 34px; align-items: flex-start; }
.ai-path-hero__text { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.ai-path-hero__title { font-family: var(--display); font-size: clamp(34px, 4.4vw, 52px); font-weight: 800; letter-spacing: -.025em; line-height: 1.05; }
.ai-path-hero__lead { font-size: 19px; color: #3d2a2d; max-width: 660px; }
.ai-path-hero__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: #3d2a2d; align-items: center; }
.ai-path-panel { flex: 1 1 330px; background: #fff; border: 1px solid var(--red-line); border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 1px 2px rgba(90, 42, 49, .06); }
.ai-path-panel__title { font-family: var(--display); font-size: 20px; font-weight: 800; }
.ai-path-panel label { font-size: 14px; font-weight: 700; color: var(--text); }
.ai-path-panel__eu { font-size: 14px; color: var(--green); font-weight: 600; }
.ai-path-panel__note { display: flex; gap: 6px; align-items: flex-start; font-size: 13px; color: var(--muted); }
.ai-path-panel__note .ai-icon { color: var(--green); margin-top: 2px; }
.ai-select { height: 48px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 12px; background: #fff; font-size: 16px; width: 100%; }
.ai-progress { display: flex; flex-direction: column; gap: 8px; }
.ai-progress__top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 14px; font-weight: 700; color: var(--text); }
.ai-progress__top strong { color: var(--ink); }
.ai-progress__bar { height: 10px; background: #eef0f4; border-radius: 999px; overflow: hidden; }
.ai-progress__bar span { display: block; height: 100%; width: 0; background: var(--path, var(--red)); border-radius: 999px; transition: width .3s ease; }

.ai-stepper-wrap { padding-top: 26px; }
.ai-stepper { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.ai-stepper__btn { display: flex; gap: 12px; align-items: flex-start; min-height: 88px; height: 100%; padding: 14px; background: #fff; border: 2px solid var(--line); border-radius: var(--radius); transition: border-color .15s, box-shadow .15s; }
.ai-stepper__btn:hover { border-color: var(--line-strong); color: var(--ink); }
.is-current > .ai-stepper__btn { border-color: var(--path, var(--red)); box-shadow: 0 6px 18px rgba(180, 22, 44, .14); }
.ai-stepper__num { width: 32px; height: 32px; flex-shrink: 0; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px; color: var(--muted); box-shadow: inset 0 0 0 2px var(--line-strong); }
.ai-stepper__num .ai-icon { display: none; }
.is-current .ai-stepper__num { background: var(--path, var(--red)); color: #fff; box-shadow: none; }
.is-done .ai-stepper__num { background: var(--green); color: #fff; box-shadow: none; }
.is-done .ai-stepper__num .ai-icon { display: block; }
.is-done .ai-stepper__n { display: none; }
.ai-stepper__text { display: flex; flex-direction: column; gap: 2px; }
.ai-stepper__name { font-size: 15px; font-weight: 700; line-height: 1.3; }
.ai-stepper__count { font-size: 13px; color: var(--muted); }

.ai-stage { display: flex; flex-direction: column; gap: 14px; padding-bottom: 32px; }
.ai-stage + .ai-stage { border-top: 1px solid var(--line); padding-top: 32px; }
.ai-path.is-js .ai-stage { display: none; }
.ai-path.is-js .ai-stage.is-active { display: flex; border-top: 0; padding-top: 0; }
.ai-stage__head { display: flex; flex-direction: column; gap: 6px; }
.ai-stage__eyebrow { font-size: 14px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; color: var(--red-dark); }
.ai-stage__title { font-family: var(--display); font-size: clamp(26px, 3vw, 34px); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; outline: none; }
.ai-stage__intro { font-size: 18px; color: var(--text); }
.ai-steps { display: flex; flex-direction: column; gap: 12px; }
.ai-step { display: flex; gap: 16px; align-items: flex-start; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: background-color .2s, border-color .2s; }
.ai-step.is-done { background: #f7faf8; border-color: var(--green-line); }
.ai-check {
	width: 44px; height: 44px; flex-shrink: 0;
	display: inline-flex; align-items: center; justify-content: center;
	border: 2px solid #9aa3b2; border-radius: 12px; background: #fff; color: transparent; cursor: pointer;
	transition: background-color .15s, border-color .15s;
}
.ai-check:hover { border-color: var(--green); }
.ai-check[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; }
.ai-step__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.ai-step__title { font-size: 19px; font-weight: 700; line-height: 1.3; }
.ai-step__text { color: #3d4757; }
.ai-step__more { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; font-size: 15px; font-weight: 700; color: var(--red); }
.ai-tip { display: flex; gap: 12px; padding: 18px; background: var(--amber-tint); border-radius: var(--radius); color: var(--amber-ink); }
.ai-tip strong { display: block; }
.ai-stage__nav { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; padding-top: 4px; }
.ai-stage__next { margin-left: auto; }
.ai-path:not(.is-js) .ai-stage__nav { display: none; }
.ai-deadlines { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.ai-deadlines li { display: flex; gap: 12px; align-items: baseline; }
.ai-deadlines__when { min-width: 92px; font-weight: 700; color: var(--red-dark); font-size: 14px; }
.ai-path-about { margin-top: 12px; }

/* ---------- Članak / vodič ---------- */
.ai-article__head { background: #fff; border-bottom: 1px solid var(--line); padding: 26px 0 30px; }
.ai-article__head > .ai-wrap { display: flex; flex-direction: column; gap: 14px; }
.ai-guide__head { background: var(--red-soft); border-bottom-color: var(--red-line); }
.ai-article__title { font-family: var(--display); font-size: clamp(30px, 4vw, 46px); font-weight: 800; letter-spacing: -.02em; line-height: 1.08; }
.ai-article__lead { font-size: 20px; color: var(--text); line-height: 1.5; }
.ai-article__figure { margin: 0; border-radius: var(--radius); overflow: hidden; }
.ai-article__figure figcaption { font-size: 13px; color: var(--muted); padding: 8px 2px; }
.ai-guide__facts { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }

.ai-prose { font-size: 18px; line-height: 1.7; color: #1f2937; }
.ai-prose > * + * { margin-top: 1em; }
.ai-prose h2 { font-family: var(--display); font-size: 26px; font-weight: 800; letter-spacing: -.01em; margin-top: 1.6em; }
.ai-prose h3 { font-size: 21px; margin-top: 1.4em; }
.ai-prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.ai-prose ul, .ai-prose ol { padding-left: 1.3em; }
.ai-prose li + li { margin-top: .35em; }
.ai-prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 18px; border-left: 4px solid var(--red); font-size: 20px; color: var(--text); }
.ai-prose img { border-radius: 12px; }
.ai-prose table { width: 100%; border-collapse: collapse; font-size: 16px; display: block; overflow-x: auto; }
.ai-prose th, .ai-prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.ai-prose .ai-note, .ai-note { padding: 12px 14px; background: var(--amber-tint); color: var(--amber-ink); border-radius: 12px; font-size: 15px; }
.ai-card.ai-prose { font-size: 17px; }

.ai-sources { margin-top: 12px; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; gap: 10px; }
.ai-sources h2 { font-size: 18px; }
.ai-sources ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.ai-sources a { display: inline-flex; gap: 6px; align-items: center; color: var(--blue); font-weight: 600; }

.ai-flow { display: flex; flex-direction: column; gap: 14px; padding: 20px; background: #fff; border: 2px solid var(--line); border-radius: 18px; }
.ai-flow__links { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.ai-flow__link { display: flex; flex-direction: column; gap: 2px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; }
.ai-flow__link:hover { border-color: var(--ink); color: var(--ink); }
.ai-flow__link--next { text-align: right; align-items: flex-end; border-color: var(--red-line); background: var(--red-soft); }
.ai-flow__back { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; color: var(--red); }
.ai-flow__done { align-self: flex-start; }

.ai-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 16px 0; border-top: 1px solid var(--line); font-weight: 600; font-size: 15px; }
.ai-share a { color: var(--blue); }
.ai-tags a { display: inline-block; margin: 0 6px 6px 0; padding: 4px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14px; }

.ai-facts { display: flex; flex-direction: column; gap: 10px; margin: 0; }
.ai-facts > div { display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.ai-facts dt { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; min-width: 90px; color: var(--muted); }
.ai-facts dd { margin: 0; font-size: 17px; font-weight: 600; }
.ai-facts dd a { color: var(--blue); text-decoration: underline; }
.ai-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Profil usluge */
.ai-profile { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.ai-profile > div { display: flex; flex-direction: column; gap: 8px; }
.ai-profile__sub { color: var(--text); font-size: 17px; }

/* Rezultati pretrage */
.ai-results { display: flex; flex-direction: column; gap: 10px; }
.ai-result { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: 14px; padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.ai-result.is-community { border-left-color: var(--blue); }
.ai-result__type { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.ai-result__title { font-size: 19px; font-weight: 700; }
.ai-result__text { color: var(--text); font-size: 15px; }

/* A–Ž lista */
.ai-az { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.ai-az:first-child { border-top: 0; }
.ai-az__letter { font-family: var(--display); font-size: 32px; font-weight: 800; color: var(--red); line-height: 1; padding-top: 10px; }
.ai-az__list { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 18px; }

/* Odgovori */
.ai-answers { margin-top: 24px; display: flex; flex-direction: column; gap: 16px; }
.ai-answers__title { font-family: var(--display); font-size: 22px; font-weight: 800; }
.ai-answers__list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.ai-answer { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.ai-answer.is-best { border: 2px solid var(--green); }
.ai-answer__best { align-self: flex-start; display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 700; color: #fff; background: var(--green); padding: 3px 10px; border-radius: 999px; }
.ai-answer__head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ai-answer__text { font-size: 17px; line-height: 1.6; }
.ai-answer__text p + p { margin-top: .8em; }

/* ---------- Forme ---------- */
.ai-form { display: flex; flex-direction: column; gap: 16px; }
.ai-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; border: 0; margin: 0; padding: 0; }
.ai-field label, .ai-field legend { font-weight: 700; font-size: 15px; color: var(--ink); padding: 0; }
.ai-field input[type=text], .ai-field input[type=email], .ai-field input[type=tel], .ai-field input[type=url],
.ai-field input[type=date], .ai-field input[type=time], .ai-field input[type=number], .ai-field input[type=search],
.ai-field select, .ai-field textarea,
.ai-comment-form input[type=text], .ai-comment-form input[type=email], .ai-comment-form input[type=url], .ai-comment-form textarea {
	width: 100%; min-height: 48px; padding: 10px 12px;
	border: 1px solid var(--line-strong); border-radius: 12px; background: #fff; font-size: 16px;
}
.ai-field textarea, .ai-comment-form textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.ai-field input:focus, .ai-field select:focus, .ai-field textarea:focus,
.ai-comment-form input:focus, .ai-comment-form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31, 78, 158, .18); }
.ai-field [aria-invalid="true"] { border-color: var(--red); box-shadow: 0 0 0 3px rgba(180, 22, 44, .12); }
.ai-field-error { color: var(--red-dark); font-size: 14px; font-weight: 600; }
.ai-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px 16px; }
.ai-field--salary, .ai-field--contact { padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #fafbfc; }
.ai-field--salary legend, .ai-field--contact legend { float: left; width: 100%; margin-bottom: 8px; }
.ai-required { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--green-tint); color: var(--green); font-size: 12px; font-weight: 700; }
.ai-optional { font-weight: 500; color: var(--muted); font-size: 14px; }
.ai-help { font-size: 14px; color: var(--muted); }
.ai-check-label { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: 15px; cursor: pointer; }
.ai-check-label input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--blue); flex-shrink: 0; }
.ai-consent a { color: var(--blue); text-decoration: underline; }
.ai-submit { padding: 24px; gap: 18px; }
.ai-submit__actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.ai-submit__actions .ai-reset { margin-top: 0; }
.ai-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ai-comment-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.ai-comment-form p { display: flex; flex-direction: column; gap: 6px; }
.ai-comment-form label { font-weight: 700; }
.ai-comment-form .comment-form-cookies-consent { flex-direction: row; align-items: center; gap: 8px; font-size: 14px; }
.ai-comment-form .comment-form-cookies-consent label { font-weight: 500; }
.ai-comment-form .submit { min-height: 48px; padding: 0 20px; border: 0; border-radius: 12px; background: var(--blue); color: #fff; font-weight: 700; cursor: pointer; align-self: flex-start; }
.comment-reply-title { font-family: var(--display); font-size: 20px; font-weight: 800; }
.comment-notes { color: var(--muted); font-size: 14px; }

.ai-notice { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; font-weight: 600; }
.ai-notice--success { background: var(--green-tint); color: var(--green); }
.ai-notice--error { background: var(--red-tint); color: var(--red-dark); }
.ai-success { background: #fff; border: 1px solid var(--green-line); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.ai-success__icon { width: 64px; height: 64px; border-radius: 999px; background: var(--green); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.ai-success h2 { font-family: var(--display); font-size: 26px; font-weight: 800; }

.ai-choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; }
.ai-choice { display: flex; align-items: center; gap: 16px; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 18px; transition: border-color .15s, box-shadow .15s; }
.ai-choice:hover { border-color: var(--blue); color: var(--ink); box-shadow: 0 6px 18px rgba(31, 78, 158, .12); }
.ai-choice__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--blue-tint); color: var(--blue-dark); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ai-choice__icon.is-red { background: var(--red-tint); color: var(--red-dark); }
.ai-choice__text { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.ai-choice__text strong { font-size: 18px; }
.ai-choice__text span { font-size: 14px; color: var(--muted); }
.ai-choice > .ai-icon { color: var(--blue); }

.ai-report { margin-top: 8px; }
.ai-report details { background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.ai-report summary { display: flex; align-items: center; gap: 10px; padding: 14px 16px; cursor: pointer; font-size: 15px; color: var(--muted); list-style: none; }
.ai-report summary::-webkit-details-marker { display: none; }
.ai-report summary strong { color: var(--ink); text-decoration: underline; }
.ai-report .ai-form { padding: 0 16px 16px; }
.ai-contact .ai-form { gap: 12px; }

/* Paginacija */
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding: 20px 0; }
.pagination .page-numbers { display: inline-flex; align-items: center; gap: 6px; min-width: 44px; min-height: 44px; padding: 0 14px; justify-content: center; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-weight: 700; }
.pagination .page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }
.pagination .page-numbers.dots { border: 0; background: transparent; }

/* ---------- Footer ---------- */
.ai-footer { background: #fff; border-top: 1px solid var(--line); margin-top: 48px; }
.ai-footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; padding-top: 36px; padding-bottom: 28px; }
.ai-footer__brand { display: flex; flex-direction: column; gap: 12px; }
.ai-footer__brand p { color: var(--muted); font-size: 15px; max-width: 340px; }
.ai-footer__social { display: flex; gap: 14px; font-weight: 600; font-size: 15px; }
.ai-footer__title { font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 10px; }
.ai-footer nav ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.ai-footer nav a { display: inline-block; padding: 5px 0; font-size: 15px; }
.ai-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; padding-top: 18px; padding-bottom: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

/* Donja navigacija (mobitel) */
.ai-tabbar { display: none; }

/* ==========================================================================
   Tablet i mobitel
   ========================================================================== */
@media (max-width: 1100px) {
	.ai-header__login { display: none; }
	.ai-nav__list { gap: 0 16px; }
}

@media (max-width: 960px) {
	:root { --gutter: 20px; }
	.ai-header__bar { min-height: 64px; gap: 12px; justify-content: space-between; }
	.ai-menu-toggle { display: inline-flex; }
	.ai-header__cta { display: none; }
	.ai-nav {
		position: absolute; left: 0; right: 0; top: 100%;
		background: #fff; border-bottom: 1px solid var(--line);
		box-shadow: 0 16px 32px rgba(16, 24, 40, .12);
		padding: 8px var(--gutter) 20px;
		display: none;
	}
	.nav-open .ai-nav { display: block; }
	.ai-nav__list { flex-direction: column; }
	.ai-nav__list a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
	.ai-nav__list .current-menu-item > a { border-bottom-color: var(--line); }
	.ai-nav__mobile-extra { display: flex; flex-direction: column; gap: 10px; padding-top: 16px; }
	.ai-news-block { grid-template-columns: 1fr; }
	.ai-news-grid .ai-news--lead { grid-template-columns: 1fr; }
	.ai-footer__grid { grid-template-columns: 1fr 1fr; }
	.ai-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
	:root { --gutter: 16px; }
	body { padding-bottom: 76px; }
	.ai-logo__text { font-size: 21px; }
	.ai-logo__flag { width: 24px; height: 18px; border-top-width: 6px; border-bottom-width: 6px; }
	.ai-hero__inner { padding-top: 24px; padding-bottom: 28px; gap: 20px; }
	.ai-hero__lead, .ai-path-hero__lead { font-size: 17px; }
	.ai-search__field--where { border-left: 0; border-top: 1px solid var(--line); }
	.ai-search__btn { width: 100%; }
	.ai-section { padding-top: 28px; }
	.ai-section--tint, .ai-community-band { margin-top: 28px; padding-bottom: 28px; }
	.ai-head__title { font-size: 24px; }
	.ai-page-hero { padding: 18px 0 24px; }
	.ai-page-hero__lead { font-size: 16px; }
	.ai-layout { padding-top: 18px; gap: 20px; }
	.ai-stepper { display: flex; overflow-x: auto; margin: 0 calc(var(--gutter) * -1); padding: 2px var(--gutter) 8px; scroll-snap-type: x mandatory; scrollbar-width: none; }
	.ai-stepper::-webkit-scrollbar { display: none; }
	.ai-stepper li { flex: 0 0 72%; scroll-snap-align: start; }
	.ai-stepper__btn { min-height: 76px; }
	.ai-step { padding: 14px; gap: 12px; }
	.ai-step__title { font-size: 17px; }
	.ai-stage__intro { font-size: 16px; }
	.ai-prose { font-size: 17px; }
	.ai-article__lead { font-size: 18px; }
	.ai-newsletter { padding: 24px 20px; }
	.ai-newsletter__row { flex-direction: column; }
	.ai-az { grid-template-columns: 1fr; gap: 8px; }
	.ai-az__letter { padding-top: 0; font-size: 26px; }
	.ai-svc__cta { width: 100%; }
	.ai-footer { margin-top: 32px; }
	.ai-footer__grid { grid-template-columns: 1fr; gap: 20px; }

	.ai-tabbar {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
		display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: center;
		height: 68px; padding-bottom: env(safe-area-inset-bottom);
		background: #fff; border-top: 1px solid var(--line);
		font-size: 11px; font-weight: 600;
	}
	.ai-tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; height: 100%; color: var(--muted); }
	.ai-tabbar a[aria-current="page"] { color: var(--red); }
	.ai-tabbar a.is-blue[aria-current="page"] { color: var(--blue); }
	.ai-tabbar__plus { justify-self: center; width: 54px !important; height: 54px !important; margin-top: -22px; border-radius: 999px; background: var(--ink); color: #fff !important; box-shadow: 0 6px 16px rgba(16, 24, 40, .25); }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

@media print {
	.ai-header, .ai-footer, .ai-tabbar, .ai-ad, .ai-layout__side, .ai-newsletter-wrap, .ai-report, .ai-share { display: none !important; }
	.ai-path.is-js .ai-stage { display: flex !important; }
	body { background: #fff; padding: 0; }
}

/* Dorade */
.ai-page-hero .ai-status, .ai-page-hero .ai-kicker, .ai-article__head .ai-kicker, .ai-page-hero .ai-warning { align-self: flex-start; }
.ai-chip { flex-wrap: wrap; max-width: 100%; }
.ai-comment-form .ai-btn { align-self: flex-start; }
@media (max-width: 720px) {
	.ai-layout--filters .ai-card--note, .ai-layout--filters .ai-layout__filters .ai-ad { display: none; }
}
