/* =========================================================
   BosHelp Centar - glavni stilovi
   Boje se mogu mijenjati kroz Izgled > Prilagodi > BosHelp - Boje
   ========================================================= */

:root {
	--boshelp-primary: #fc1951;
	--boshelp-primary-dark: #c4133f;
	--boshelp-dark: #17171a;
	--boshelp-text: #1c2333;
	--boshelp-text-muted: #5b6478;
	--boshelp-border: #e3e6ee;
	--boshelp-bg-soft: #f5f6fb;
	--boshelp-radius: 10px;
	--boshelp-max-width: 1080px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: var(--boshelp-text);
	background: #ffffff;
	line-height: 1.6;
}

/* Naslovi (h1/h2/h3) koriste font Inter - veličina/debljina/boja ostaju
   iste kao ranije po elementu, mijenja se samo font. */
h1, h2, h3 {
	font-family: 'Inter', 'Inter Fallback', sans-serif;
}

a {
	color: var(--boshelp-primary);
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}

img {
	max-width: 100%;
	height: auto;
}

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

.boshelp-container {
	max-width: var(--boshelp-max-width);
	margin: 0 auto;
	padding: 0 24px;
}

/* ---------- Dugmad ---------- */
.boshelp-btn {
	display: inline-block;
	padding: 11px 22px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 0.95rem;
	border: 2px solid transparent;
	cursor: pointer;
	transition: all .15s ease;
	text-decoration: none;
}
.boshelp-btn:hover {
	text-decoration: none;
}
.boshelp-btn-primary {
	background: var(--boshelp-primary);
	color: #fff;
}
.boshelp-btn-primary:hover {
	background: var(--boshelp-primary-dark);
	color: #fff;
}
.boshelp-btn-light {
	background: #fff;
	color: var(--boshelp-dark);
}
.boshelp-btn-light:hover {
	background: #eef0ff;
	color: var(--boshelp-dark);
}
.boshelp-btn-outline {
	background: transparent;
	border-color: var(--boshelp-border);
	color: var(--boshelp-text);
}
.boshelp-btn-outline:hover {
	border-color: var(--boshelp-primary);
	color: var(--boshelp-primary);
}
.boshelp-btn-outline.is-selected {
	background: var(--boshelp-primary);
	border-color: var(--boshelp-primary);
	color: #fff;
}

/* ---------- Zaglavlje ---------- */
.boshelp-header {
	background: var(--boshelp-primary);
	padding: 20px 0;
}
.boshelp-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}
.boshelp-logo-text {
	font-size: 1.3rem;
	font-weight: 800;
	color: #fff;
}
.boshelp-logo img {
	display: block;
}
.boshelp-header-nav {
	display: flex;
	align-items: center;
	gap: 24px;
}
.boshelp-utility-menu {
	list-style: none;
	display: flex;
	gap: 18px;
	margin: 0;
	padding: 0;
}
.boshelp-utility-menu a {
	color: #fff;
	font-weight: 500;
}
.boshelp-header-link {
	color: #fff;
	font-weight: 700;
}
.boshelp-header-link:hover {
	color: #fff;
	text-decoration: underline;
}
.boshelp-mobile-toggle {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
}
.boshelp-burger,
.boshelp-burger::before,
.boshelp-burger::after {
	display: block;
	width: 22px;
	height: 2px;
	background: #fff;
	position: relative;
	transition: all .15s ease;
}
.boshelp-burger::before,
.boshelp-burger::after {
	content: "";
	position: absolute;
	left: 0;
}
.boshelp-burger::before { top: -7px; }
.boshelp-burger::after { top: 7px; }

/* ---------- Hero / naslovna traka za pretragu ---------- */
.boshelp-hero {
	background: var(--boshelp-primary);
	color: #fff;
	padding: 40px 0 80px;
	text-align: center;
}
.boshelp-hero h1 {
	margin: 0 0 8px;
	font-size: clamp(1.8rem, 4vw, 2.6rem);
}
.boshelp-hero-subtitle {
	margin: 0 0 28px;
	font-size: 1.1rem;
	opacity: 0.9;
}
.boshelp-search-form {
	display: flex;
	max-width: 640px;
	margin: 0 auto;
	background: #fff;
	border-radius: 999px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.boshelp-search-form-inline {
	margin: 20px 0 30px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
	border: 1px solid var(--boshelp-border);
}
.boshelp-search-input {
	flex: 1;
	border: none;
	outline: none;
	padding: 16px 22px;
	font-size: 1rem;
	color: var(--boshelp-text);
}
.boshelp-search-submit {
	border: none;
	background: var(--boshelp-dark);
	color: #fff;
	padding: 0 24px;
	cursor: pointer;
	font-size: 1.1rem;
}
.boshelp-search-submit:hover {
	background: var(--boshelp-primary-dark);
}

/* ---------- Kategorije / kartice ---------- */
.boshelp-categories {
	padding: 48px 24px 24px;
}
.boshelp-category-block {
	margin-bottom: 48px;
	margin-top: -32px;
}
.boshelp-category-title {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 1.4rem;
	margin-bottom: 20px;
	color: var(--boshelp-dark);
}
.boshelp-card-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}
.boshelp-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	padding: 22px;
	border: 1px solid var(--boshelp-border);
	border-radius: var(--boshelp-radius);
	background: #fff;
	color: var(--boshelp-text);
	transition: box-shadow .15s ease, transform .15s ease, border-color .15s ease;
}
.boshelp-card:hover {
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
	border-color: var(--boshelp-primary);
	transform: translateY(-2px);
	text-decoration: none;
}
.boshelp-card-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: var(--boshelp-dark);
	color: #fff;
}
.boshelp-card-icon svg {
	width: 22px;
	height: 22px;
}
.boshelp-card-body {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.boshelp-card-title {
	font-weight: 700;
	font-size: 1.05rem;
	color: var(--boshelp-dark);
}
.boshelp-card-desc {
	font-size: 0.9rem;
	color: var(--boshelp-text-muted);
}
.boshelp-card-link {
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--boshelp-primary);
	margin-top: 4px;
}

.boshelp-empty-state {
	background: var(--boshelp-bg-soft);
	border: 1px dashed var(--boshelp-border);
	border-radius: var(--boshelp-radius);
	padding: 24px;
	color: var(--boshelp-text-muted);
	text-align: center;
}

/* ---------- Opšte stranice (kategorija/odjeljak/pretraga/kontakt) ---------- */
.boshelp-page {
	padding: 32px 24px 64px;
	max-width: 820px;
}
.boshelp-page-wide {
	max-width: var(--boshelp-max-width);
}
.boshelp-breadcrumb {
	display: flex;
	align-items: center;
	font-size: 0.9rem;
	color: var(--boshelp-text-muted);
	margin-bottom: 18px;
}
.boshelp-breadcrumb a {
	color: var(--boshelp-text-muted);
}
.boshelp-breadcrumb-home {
	display: inline-flex;
	align-items: center;
}
.boshelp-breadcrumb-home svg {
	width: 18px;
	height: 18px;
}
.boshelp-breadcrumb .sep {
	margin: 0 8px;
}
.boshelp-breadcrumb .current {
	color: var(--boshelp-text);
	font-weight: 600;
}
.boshelp-page-title {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 1.9rem;
	margin: 0 0 12px;
	color: var(--boshelp-dark);
}
.boshelp-page-desc {
	color: var(--boshelp-text-muted);
	margin-bottom: 28px;
	font-size: 1.05rem;
}
.boshelp-page-desc-italic {
	font-style: italic;
}

/* ---------- Dvokolonski raspored: bočna traka + glavni sadržaj ---------- */
.boshelp-layout {
	display: flex;
	align-items: flex-start;
	gap: 40px;
}
.boshelp-main-col {
	flex: 1;
	min-width: 0;
}
.boshelp-sidebar {
	width: 280px;
	flex-shrink: 0;
}
.boshelp-sidebar-search {
	margin-bottom: 20px;
}
.boshelp-sidebar-search-input {
	width: 100%;
	padding: 12px 18px;
	border: 1px solid var(--boshelp-border);
	border-radius: 999px;
	font-size: 0.95rem;
	font-family: inherit;
}
.boshelp-sidebar-list {
	list-style: none;
	margin: 0;
	padding: 0;
	border: 1px solid var(--boshelp-border);
	border-radius: var(--boshelp-radius);
	overflow: hidden;
}
.boshelp-sidebar-list li {
	border-bottom: 1px solid var(--boshelp-border);
}
.boshelp-sidebar-list li:last-child {
	border-bottom: none;
}
.boshelp-sidebar-list a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 16px;
	color: var(--boshelp-text-muted);
	font-weight: 500;
}
.boshelp-sidebar-list a:hover {
	background: var(--boshelp-bg-soft);
	text-decoration: none;
}
.boshelp-sidebar-list li.is-active a {
	color: var(--boshelp-text);
	font-weight: 700;
	background: var(--boshelp-bg-soft);
}
.boshelp-sidebar-icon {
	display: inline-flex;
	flex-shrink: 0;
}
.boshelp-sidebar-icon svg {
	width: 20px;
	height: 20px;
}

/* ---------- Mreža članaka (dvije kolone, sa malom ikonom) ---------- */
.boshelp-article-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	column-gap: 40px;
}
.boshelp-article-grid li {
	border-bottom: 1px solid var(--boshelp-border);
}
.boshelp-article-grid a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 16px 0;
	color: var(--boshelp-text);
	font-weight: 500;
}
.boshelp-article-grid a:hover {
	color: var(--boshelp-primary);
	text-decoration: none;
}
.boshelp-article-grid-icon {
	display: inline-flex;
	flex-shrink: 0;
	color: var(--boshelp-text-muted);
}
.boshelp-article-grid-icon svg {
	width: 18px;
	height: 18px;
}

.boshelp-article-list {
	list-style: none;
	margin: 0;
	padding: 0;
	border: 1px solid var(--boshelp-border);
	border-radius: var(--boshelp-radius);
	overflow: hidden;
}
.boshelp-article-list li {
	border-bottom: 1px solid var(--boshelp-border);
}
.boshelp-article-list li:last-child {
	border-bottom: none;
}
.boshelp-article-list a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px 20px;
	color: var(--boshelp-text);
	font-weight: 500;
}
.boshelp-article-list a:hover {
	background: var(--boshelp-bg-soft);
	text-decoration: none;
	color: var(--boshelp-primary);
}
.boshelp-search-results li {
	padding: 16px 20px;
}
.boshelp-search-results a {
	padding: 0;
	display: inline-flex;
}
.boshelp-search-path {
	display: block;
	font-size: 0.8rem;
	color: var(--boshelp-text-muted);
	margin-top: 4px;
}
.boshelp-search-excerpt {
	margin: 6px 0 0;
	font-size: 0.9rem;
	color: var(--boshelp-text-muted);
}
.boshelp-search-count {
	color: var(--boshelp-text-muted);
	font-size: 0.9rem;
}

/* ---------- Članak ---------- */
.boshelp-article-title {
	font-size: 2rem;
	margin: 0 0 6px;
	color: var(--boshelp-dark);
}
.boshelp-article-meta {
	color: var(--boshelp-text-muted);
	font-size: 0.9rem;
	margin-bottom: 28px;
}
.boshelp-article-content {
	font-size: 1.05rem;
}
.boshelp-article-content p {
	margin: 0 0 18px;
}
.boshelp-article-content h2,
.boshelp-article-content h3 {
	color: var(--boshelp-dark);
	margin-top: 32px;
}
.boshelp-article-content img {
	border-radius: var(--boshelp-radius);
}

.boshelp-helpful {
	margin-top: 48px;
	padding: 24px;
	background: var(--boshelp-bg-soft);
	border-radius: var(--boshelp-radius);
	text-align: center;
}
.boshelp-helpful-question {
	font-weight: 600;
	margin: 0 0 14px;
}
.boshelp-helpful-buttons {
	display: flex;
	justify-content: center;
	gap: 12px;
	margin-bottom: 14px;
}
.boshelp-helpful-count {
	font-size: 0.85rem;
	color: var(--boshelp-text-muted);
	margin: 0;
}
.boshelp-helpful-thanks {
	font-weight: 600;
	color: var(--boshelp-primary);
	margin: 0;
}

.boshelp-return-top {
	text-align: center;
	margin-top: 24px;
}

.boshelp-support-inline {
	margin-top: 48px;
	padding: 28px;
	border: 1px solid var(--boshelp-border);
	border-radius: var(--boshelp-radius);
	text-align: center;
}
.boshelp-support-inline h3 {
	margin: 0 0 8px;
	color: var(--boshelp-dark);
}
.boshelp-support-inline p {
	color: var(--boshelp-text-muted);
	margin: 0 0 18px;
}

.boshelp-related {
	margin-top: 48px;
}
.boshelp-related h3 {
	color: var(--boshelp-dark);
}

/* ---------- CTA traka ---------- */
.boshelp-cta-band {
	background: var(--boshelp-dark);
	color: #fff;
	padding: 40px 0;
	margin-top: 40px;
}
.boshelp-cta-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
}
.boshelp-cta-inner h2 {
	margin: 0 0 6px;
	font-size: 1.4rem;
}
.boshelp-cta-inner p {
	margin: 0;
	opacity: 0.85;
}

/* ---------- Podnožje ---------- */
.boshelp-footer {
	padding: 28px 0;
	background: var(--boshelp-dark);
}
.boshelp-footer-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.6);
}
.boshelp-social-list {
	list-style: none;
	display: flex;
	gap: 16px;
	margin: 0;
	padding: 0;
}
.boshelp-legal-menu {
	list-style: none;
	display: flex;
	gap: 16px;
	margin: 0;
	padding: 0;
}
.boshelp-social-list a,
.boshelp-legal-menu a {
	color: rgba(255, 255, 255, 0.75);
}

/* ---------- Kontakt forma ---------- */
.boshelp-contact-form {
	margin-top: 20px;
}
.boshelp-form-row {
	margin-bottom: 18px;
}
.boshelp-form-row label {
	display: block;
	font-weight: 600;
	margin-bottom: 6px;
}
.boshelp-form-row input,
.boshelp-form-row textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--boshelp-border);
	border-radius: 8px;
	font-size: 1rem;
	font-family: inherit;
}
.boshelp-notice {
	padding: 14px 18px;
	border-radius: 8px;
	margin-bottom: 20px;
	font-weight: 600;
}
.boshelp-notice-success {
	background: #e7f7ec;
	color: #1c6b3a;
}
.boshelp-notice-error {
	background: #fdecec;
	color: #a3251c;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
	.boshelp-card-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.boshelp-layout {
		flex-direction: column;
	}
	.boshelp-sidebar {
		width: 100%;
	}
	.boshelp-article-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 680px) {
	.boshelp-card-grid {
		grid-template-columns: 1fr;
	}
	.boshelp-mobile-toggle {
		display: inline-block;
	}
	.boshelp-header-nav {
		display: none;
		flex-direction: column;
		align-items: flex-start;
		width: 100%;
		margin-top: 12px;
	}
	.boshelp-header-nav.is-open {
		display: flex;
	}
	.boshelp-utility-menu {
		flex-direction: column;
		gap: 10px;
	}
	.boshelp-header-inner {
		flex-wrap: wrap;
	}
	.boshelp-cta-inner {
		text-align: center;
		justify-content: center;
	}
	.boshelp-footer-inner {
		flex-direction: column;
		text-align: center;
	}
}
