/* =====================================================
   Pussy theme — main stylesheet
   Light / clean / dating-style
   ===================================================== */

/* --- Design tokens --- */
:root {
	--bg:              #ffffff;
	--bg-soft:         #fafafa;
	--bg-muted:        #f4f4f5;
	--surface:         #ffffff;
	--border:          #ececec;
	--border-strong:   #d4d4d8;

	--text:            #0f172a;
	--text-soft:       #475569;
	--text-muted:      #94a3b8;

	--accent:          #ec4899;
	--accent-hover:    #db2777;
	--accent-soft:     #fce7f3;
	--accent-soft-2:   #fdf2f8;

	--cta:             #f7d584;
	--cta-hover:       #f3c75f;
	--cta-text:        #1f1f1f;

	--success:         #10b981;
	--danger:          #ef4444;

	--shadow-sm:       0 1px 2px rgba(15, 23, 42, .04);
	--shadow-md:       0 6px 24px rgba(15, 23, 42, .07);
	--shadow-lg:       0 18px 48px rgba(15, 23, 42, .10);

	--radius-sm:       6px;
	--radius-md:       12px;
	--radius-lg:       20px;
	--radius-xl:       28px;
	--radius-full:     999px;

	--container:       1180px;
	--container-narrow: 760px;

	--header-h:        72px;

	--font-sans:       'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	--font-display:    'Playfair Display', Georgia, 'Times New Roman', serif;

	--ease:            cubic-bezier(.4, 0, .2, 1);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; }
html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-sans);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}
img, picture, svg, video { max-width: 100%; height: auto; display: block; }
a {
	color: var(--accent);
	text-decoration: none;
	transition: color .18s var(--ease);
}
a:hover { color: var(--accent-hover); }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }

h1, h2, h3, h4 {
	font-family: var(--font-display);
	font-weight: 700;
	line-height: 1.2;
	color: var(--text);
	margin: 0 0 .5em;
	letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.25rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
hr {
	border: 0;
	border-top: 1px solid var(--border);
	margin: 32px 0;
}

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

/* --- Layout --- */
.container {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 24px;
}
.container--narrow { max-width: var(--container-narrow); }

/* --- Buttons --- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 24px;
	border-radius: var(--radius-full);
	font-weight: 600;
	font-size: 14px;
	letter-spacing: 0.01em;
	text-align: center;
	border: 1px solid transparent;
	transition: all .2s var(--ease);
	text-decoration: none;
	white-space: nowrap;
}
.btn--primary {
	background: var(--accent);
	color: #fff;
	box-shadow: 0 6px 18px -8px rgba(236, 72, 153, .55);
}
.btn--primary:hover {
	background: var(--accent-hover);
	color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 12px 24px -8px rgba(236, 72, 153, .55);
}
.btn--ghost {
	background: transparent;
	color: var(--text);
	border-color: var(--border-strong);
}
.btn--ghost:hover {
	background: var(--bg-muted);
	color: var(--text);
	border-color: transparent;
}

/* --- Header --- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, .82);
	backdrop-filter: saturate(180%) blur(14px);
	-webkit-backdrop-filter: saturate(180%) blur(14px);
	border-bottom: 1px solid var(--border);
}
.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	height: var(--header-h);
}
.site-header__brand { flex: 0 0 auto; }
.site-header__logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-weight: 700;
	color: var(--text);
	text-decoration: none;
	font-size: 17px;
	letter-spacing: -0.02em;
}
.site-header__logo:hover { color: var(--text); }
.site-header__logo-mark {
	width: 36px;
	height: 36px;
	border-radius: var(--radius-full);
	background: linear-gradient(135deg, var(--accent), #f472b6);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-display);
	font-size: 18px;
	font-weight: 900;
	box-shadow: 0 8px 20px -8px rgba(236, 72, 153, .6);
}
.custom-logo { max-height: 44px; width: auto; }

.site-header__nav {
	flex: 1;
	min-width: 0;
}
.site-nav {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 4px 22px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.site-nav > li {
	margin: 0;
	position: relative;
}
.site-nav a {
	display: inline-flex;
	align-items: center;
	color: var(--text);
	font-weight: 500;
	font-size: 14px;
	padding: 8px 0;
	transition: color .15s var(--ease);
	white-space: nowrap;
}
.site-nav a:hover { color: var(--accent); }

/* Dropdown caret on parent items */
.site-nav .menu-item-has-children > a::after {
	content: '';
	width: 6px;
	height: 6px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg);
	margin: -3px 0 0 8px;
	display: inline-block;
	transition: transform .2s var(--ease), margin .2s var(--ease);
	opacity: .55;
}
.site-nav .menu-item-has-children:hover > a::after,
.site-nav .menu-item-has-children:focus-within > a::after {
	transform: rotate(225deg);
	margin-top: 2px;
	opacity: .9;
}

/* Animated underline only on simple top-level items (those without children) */
.site-nav > li:not(.menu-item-has-children) > a {
	position: relative;
}
.site-nav > li:not(.menu-item-has-children) > a::before {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 4px;
	height: 2px;
	background: var(--accent);
	transform: scaleX(0);
	transform-origin: center;
	transition: transform .25s var(--ease);
}
.site-nav > li:not(.menu-item-has-children) > a:hover::before,
.site-nav > li.current-menu-item:not(.menu-item-has-children) > a::before,
.site-nav > li.current-cat:not(.menu-item-has-children) > a::before,
.site-nav > li.current_page_item:not(.menu-item-has-children) > a::before {
	transform: scaleX(1);
}
.site-nav .current-menu-item > a,
.site-nav .current-menu-parent > a,
.site-nav .current-menu-ancestor > a,
.site-nav .current-cat > a,
.site-nav .current_page_item > a {
	color: var(--accent);
}

/* Sub-menu (dropdown) */
.site-nav .sub-menu {
	position: absolute;
	top: 100%;
	left: 50%;
	min-width: 240px;
	max-width: 340px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	padding: 8px;
	margin: 10px 0 0;
	list-style: none;
	box-shadow: var(--shadow-lg);
	opacity: 0;
	visibility: hidden;
	transform: translate(-50%, 8px);
	transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s linear .18s;
	z-index: 50;
}
.site-nav > li:hover > .sub-menu,
.site-nav > li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translate(-50%, 0);
	transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s;
}
.site-nav .sub-menu li { margin: 0; }
.site-nav .sub-menu a {
	display: block;
	padding: 10px 14px;
	font-size: 14px;
	font-weight: 500;
	color: var(--text-soft);
	border-radius: var(--radius-sm);
	white-space: normal;
	line-height: 1.4;
}
.site-nav .sub-menu a::before,
.site-nav .sub-menu a::after { display: none; }
.site-nav .sub-menu a:hover {
	background: var(--accent-soft-2);
	color: var(--accent-hover);
}
/* Bridge so cursor can travel from trigger to dropdown without flicker */
.site-nav > li.menu-item-has-children > .sub-menu::before {
	content: '';
	position: absolute;
	top: -10px;
	left: 0;
	right: 0;
	height: 10px;
}
/* Right-edge items: pop left so dropdown stays on screen */
.site-nav > li:nth-last-of-type(-n+2) > .sub-menu {
	left: auto;
	right: 0;
	transform: translate(0, 8px);
}
.site-nav > li:nth-last-of-type(-n+2):hover > .sub-menu,
.site-nav > li:nth-last-of-type(-n+2):focus-within > .sub-menu {
	transform: translate(0, 0);
}

.site-header__menu-toggle {
	display: none;
	background: transparent;
	border: 0;
	width: 44px;
	height: 44px;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 5px;
	border-radius: var(--radius-md);
	transition: background .15s var(--ease);
}
.site-header__menu-toggle:hover { background: var(--bg-muted); }
.site-header__menu-toggle span {
	display: block;
	width: 22px;
	height: 2px;
	background: var(--text);
	border-radius: 2px;
	transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.site-header__menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header__menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.site-header__menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1024px) {
	.site-header__nav { display: none; }
	.site-header__menu-toggle { display: flex; }
	.site-header__nav.is-open {
		display: block;
		position: absolute;
		top: var(--header-h);
		left: 0;
		right: 0;
		max-height: calc(100vh - var(--header-h));
		overflow-y: auto;
		background: var(--bg);
		border-bottom: 1px solid var(--border);
		padding: 8px 24px 24px;
		box-shadow: var(--shadow-md);
	}
	.site-header__nav.is-open .site-nav {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}
	.site-header__nav.is-open .site-nav > li {
		border-bottom: 1px solid var(--border);
	}
	.site-header__nav.is-open .site-nav > li:last-child {
		border-bottom: 0;
	}
	.site-header__nav.is-open .site-nav a {
		display: block;
		padding: 14px 0;
		font-size: 16px;
		white-space: normal;
	}
	.site-header__nav.is-open .site-nav .menu-item-has-children > a::after {
		float: right;
		margin-top: 8px;
	}
	/* Mobile: submenus expanded inline (accordion-always-open) */
	.site-header__nav.is-open .site-nav .sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		border: 0;
		padding: 0 0 12px 16px;
		margin: 0;
		background: transparent;
		max-width: none;
		min-width: 0;
	}
	.site-header__nav.is-open .site-nav .sub-menu a {
		padding: 10px 0;
		font-size: 14px;
		color: var(--text-soft);
	}
	.site-header__nav.is-open .site-nav .menu-item-has-children > a::after {
		display: none;
	}
}

/* --- Page header --- */
.page-header {
	text-align: center;
	padding: 56px 0 32px;
	margin-bottom: 16px;
}
.page-header__title {
	margin: 0 0 12px;
}
.page-header__lead {
	color: var(--text-soft);
	max-width: 640px;
	margin: 0 auto;
	font-size: 17px;
}
.page-header__lead p:last-child { margin-bottom: 0; }

/* --- Profile grid --- */
.profile-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 28px;
	padding: 8px 0 64px;
}
.profile-grid--small {
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 20px;
}
@media (max-width: 480px) {
	.profile-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
	.profile-grid--small { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

/* --- Profile card --- */
.profile-card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-xl);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition:
		transform .25s var(--ease),
		box-shadow .25s var(--ease),
		border-color .25s var(--ease);
}
.profile-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-lg);
	border-color: transparent;
}
.profile-card__media {
	position: relative;
	display: block;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	background: linear-gradient(135deg, var(--accent-soft-2), var(--bg-muted));
}
.profile-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s var(--ease);
}
.profile-card:hover .profile-card__img { transform: scale(1.06); }
.profile-card__placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-display);
	font-size: 80px;
	font-weight: 700;
	color: var(--accent);
	background: linear-gradient(135deg, var(--accent-soft), var(--bg-muted));
}
.profile-card__chip {
	position: absolute;
	left: 12px;
	top: 12px;
	background: rgba(255, 255, 255, .92);
	backdrop-filter: blur(8px);
	color: var(--text);
	padding: 5px 10px;
	font-size: 11px;
	font-weight: 600;
	border-radius: var(--radius-full);
	letter-spacing: 0.02em;
	max-width: calc(100% - 24px);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.profile-card__body {
	padding: 18px 20px 22px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1;
}
.profile-card__name {
	margin: 0;
	font-size: 1.35rem;
	line-height: 1.2;
}
.profile-card__name a { color: var(--text); }
.profile-card__name a:hover { color: var(--accent); }
.profile-card__meta {
	color: var(--text-muted);
	font-size: 13px;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 6px 10px;
}
.profile-card__meta span:not(:last-child)::after {
	content: '·';
	margin-left: 10px;
	color: var(--border-strong);
}
.profile-card__excerpt {
	color: var(--text-soft);
	font-size: 14px;
	margin: 4px 0 8px;
	flex: 1;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.profile-card__cta {
	align-self: flex-start;
	font-size: 13px;
	padding: 10px 18px;
}

/* --- List view (sexy-oglasi, drkanje-oglasi) --- */
.profile-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 8px 0 64px;
}
.list-card {
	display: grid;
	grid-template-columns: 80px 1fr auto;
	align-items: center;
	gap: 16px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	padding: 12px;
	transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.list-card:hover {
	transform: translateY(-1px);
	border-color: transparent;
	box-shadow: var(--shadow-sm), 0 6px 18px -10px rgba(15,23,42,.08);
}
.list-card__media {
	width: 80px;
	height: 80px;
	border-radius: var(--radius-sm);
	overflow: hidden;
	background: linear-gradient(135deg, var(--accent-soft-2), var(--bg-muted));
	display: block;
	flex: 0 0 80px;
}
.list-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .4s var(--ease);
}
.list-card:hover .list-card__img { transform: scale(1.06); }
.list-card__placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-display);
	font-size: 32px;
	font-weight: 700;
	color: var(--accent);
}
.list-card__body {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}
.list-card__title {
	margin: 0;
	font-size: 1.05rem;
	line-height: 1.25;
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.list-card__title a { color: var(--text); }
.list-card__title a:hover { color: var(--accent); }
.list-card__excerpt {
	color: var(--text-soft);
	margin: 0;
	font-size: 13.5px;
	line-height: 1.45;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.list-card__actions {
	display: flex;
	align-items: center;
}
.list-card__more {
	font-size: 13px;
	padding: 9px 18px;
	gap: 6px;
}
.list-card__more-arrow { transition: transform .18s var(--ease); }
.list-card__more:hover .list-card__more-arrow { transform: translateX(3px); }

@media (max-width: 600px) {
	.list-card {
		grid-template-columns: 64px 1fr auto;
		gap: 12px;
		padding: 10px;
	}
	.list-card__media {
		width: 64px;
		height: 64px;
		flex-basis: 64px;
	}
	.list-card__placeholder { font-size: 26px; }
	.list-card__title { font-size: .95rem; }
	.list-card__excerpt {
		font-size: 12.5px;
		-webkit-line-clamp: 2;
	}
	.list-card__more {
		padding: 8px 10px;
		font-size: 0;
	}
	.list-card__more-text { display: none; }
	.list-card__more-arrow { font-size: 16px; }
}

/* --- Reveal on scroll --- */
.reveal {
	opacity: 0;
	transform: translateY(12px);
	transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.reveal.is-visible {
	opacity: 1;
	transform: none;
}

/* --- Profile single --- */
.profile-single { padding: 40px 0 80px; }
.profile-single__header {
	text-align: center;
	margin-bottom: 48px;
}
.profile-single__name {
	margin: 0 0 12px;
	font-size: clamp(2.5rem, 5vw, 4rem);
}
.profile-single__summary {
	color: var(--text-soft);
	font-size: 17px;
	margin: 0 0 16px;
}
.profile-single__categories {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 0;
}
.profile-single__categories a {
	display: inline-block;
	padding: 5px 14px;
	background: var(--accent-soft);
	color: var(--accent-hover);
	border-radius: var(--radius-full);
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	transition: all .18s var(--ease);
}
.profile-single__categories a:hover {
	background: var(--accent);
	color: #fff;
}
.profile-single__layout {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: 56px;
	align-items: start;
}
@media (max-width: 900px) {
	.profile-single__layout { grid-template-columns: 1fr; gap: 40px; }
}
.profile-single__media {
	position: sticky;
	top: calc(var(--header-h) + 24px);
	display: flex;
	flex-direction: column;
	gap: 16px;
}
@media (max-width: 900px) {
	.profile-single__media { position: static; }
}
.profile-single__photo-wrap {
	position: relative;
	border-radius: var(--radius-xl);
	overflow: hidden;
	background: linear-gradient(135deg, var(--accent-soft-2), var(--bg-muted));
	aspect-ratio: 3 / 4;
	box-shadow: var(--shadow-md);
}
.profile-single__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.profile-single__placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-display);
	font-size: 120px;
	font-weight: 700;
	color: var(--accent);
}
.profile-single__cta { /* phone CTA wrapper */ }

.profile-single__info {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

/* --- Info block (cards on profile detail) --- */
.info-block {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 28px 32px;
}
.info-block--cta { display: flex; flex-direction: column; gap: 14px; }
.info-block--tags { padding: 22px 28px; }
.info-block__title {
	margin: 0 0 14px;
	font-size: 1.5rem;
	color: var(--text);
}
.info-block__title--small {
	font-size: 1rem;
	font-family: var(--font-sans);
	font-weight: 600;
	color: var(--text-muted);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	margin-bottom: 10px;
}
.info-block__text {
	color: var(--text-soft);
	font-size: 16px;
	line-height: 1.75;
	margin: 0;
}

/* --- Profile attributes (key/value) --- */
.profile-attrs {
	margin: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
	gap: 0 32px;
}
.profile-attrs__row {
	display: flex;
	flex-direction: column;
	padding: 14px 0;
	border-bottom: 1px solid var(--border);
}
.profile-attrs__label {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--text-muted);
	font-weight: 600;
	margin: 0 0 4px;
}
.profile-attrs__value {
	color: var(--text);
	font-weight: 500;
	margin: 0;
	font-size: 15px;
}

/* --- Tags --- */
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags a {
	display: inline-block;
	padding: 5px 12px;
	background: var(--bg-muted);
	color: var(--text-soft);
	border-radius: var(--radius-full);
	font-size: 12px;
	transition: all .15s var(--ease);
}
.tags a:hover {
	background: var(--accent-soft);
	color: var(--accent-hover);
}

/* --- Override za postojeći [pp_call_me_button] --- */
.pp-call-el {
	display: block !important;
	background: var(--cta) !important;
	color: var(--cta-text) !important;
	padding: 16px 18px 16px 64px !important;
	border-radius: var(--radius-md) !important;
	box-shadow: 0 6px 16px -8px rgba(247, 213, 132, .8);
	transition: transform .2s var(--ease), box-shadow .2s var(--ease) !important;
	text-decoration: none !important;
	text-transform: none !important;
	font-weight: 600 !important;
	font-size: 15px !important;
	line-height: 1.4 !important;
	position: relative !important;
}
.pp-call-el:hover {
	background: var(--cta-hover) !important;
	color: var(--cta-text) !important;
	transform: translateY(-2px);
	box-shadow: 0 12px 28px -10px rgba(247, 213, 132, 1) !important;
}
.pp-call-el div:first-child { font-weight: 700; font-size: 16px; }
.pp-call-el div:last-child  { font-size: 12px; opacity: .7; font-weight: 500; }

/* --- Related profiles --- */
.profile-related {
	margin-top: 80px;
	padding-top: 56px;
	border-top: 1px solid var(--border);
}
.profile-related__title {
	text-align: center;
	margin-bottom: 32px;
}

/* --- Pagination --- */
.nav-links {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 6px;
	padding: 16px 0 64px;
}
.nav-links .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 14px;
	border-radius: var(--radius-md);
	background: var(--surface);
	border: 1px solid var(--border);
	color: var(--text);
	font-weight: 500;
	font-size: 14px;
	text-decoration: none;
	transition: all .15s var(--ease);
}
.nav-links .page-numbers:hover,
.nav-links .page-numbers.current {
	background: var(--accent);
	color: #fff;
	border-color: var(--accent);
}
.nav-links .page-numbers.dots {
	background: transparent;
	border-color: transparent;
	color: var(--text-muted);
}
.nav-links .page-numbers.dots:hover { background: transparent; color: var(--text-muted); }

/* --- Post card (blog) --- */
.post-card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: all .25s var(--ease);
}
.post-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-md);
	border-color: transparent;
}
.post-card__media {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
}
.post-card__img {
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform .4s var(--ease);
}
.post-card:hover .post-card__img { transform: scale(1.04); }
.post-card__body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card__category {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-weight: 600;
	color: var(--accent);
	align-self: flex-start;
}
.post-card__title {
	font-size: 1.2rem;
	margin: 0;
	line-height: 1.3;
}
.post-card__title a { color: var(--text); }
.post-card__title a:hover { color: var(--accent); }
.post-card__excerpt {
	color: var(--text-soft);
	font-size: 14px;
	margin: 0;
	flex: 1;
}
.post-card__meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 12px;
	color: var(--text-muted);
	margin: 8px 0 0;
}
.post-card__more { font-weight: 600; }

/* Mobile: kompaktnija blog kartica — bez excerpta, bez datuma, samo naslov + "Čitaj više" */
@media (max-width: 600px) {
	.post-card__media { aspect-ratio: 4 / 3; }
	.post-card__body {
		padding: 14px 16px 16px;
		gap: 6px;
	}
	.post-card__category {
		font-size: 10px;
	}
	.post-card__title {
		font-size: 1rem;
		line-height: 1.3;
		display: -webkit-box;
		-webkit-line-clamp: 3;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}
	.post-card__excerpt { display: none; }
	.post-card__meta { margin-top: 4px; font-size: 11px; }
	.post-card__meta time { display: none; }
	.post-card__more { margin-left: auto; }
}

/* --- Single blog post --- */
.post-single { padding: 48px 0 80px; }
.post-single__header { text-align: center; margin-bottom: 40px; }
.post-single__category {
	display: inline-block;
	background: var(--accent-soft);
	color: var(--accent-hover);
	padding: 5px 14px;
	border-radius: var(--radius-full);
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin-bottom: 16px;
}
.post-single__title { margin: 0 0 12px; }
.post-single__meta { color: var(--text-muted); font-size: 14px; }
.post-single__media {
	margin: 0 0 40px;
	border-radius: var(--radius-lg);
	overflow: hidden;
}
.post-single__media img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}
.post-single__content {
	font-size: 17px;
	line-height: 1.85;
	color: var(--text-soft);
}
.post-single__content > * { margin-bottom: 1.2em; }
.post-single__content h2,
.post-single__content h3,
.post-single__content h4 {
	color: var(--text);
	margin: 1.8em 0 .6em;
}
.post-single__content a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.post-single__content blockquote {
	border-left: 4px solid var(--accent);
	padding: 12px 24px;
	margin: 24px 0;
	color: var(--text);
	font-style: italic;
	background: var(--accent-soft-2);
	border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.post-single__content img { border-radius: var(--radius-md); margin: 8px 0; }
.post-single__content ul,
.post-single__content ol { padding-left: 24px; }
.post-single__content code {
	background: var(--bg-muted);
	padding: 2px 6px;
	border-radius: 4px;
	font-size: .92em;
}
.post-single__tags { margin-top: 32px; }

/* --- Page (static) --- */
.page-single { padding: 48px 0 80px; }
.page-single__header { text-align: center; margin-bottom: 32px; }
.page-single__media {
	margin: 0 0 32px;
	border-radius: var(--radius-lg);
	overflow: hidden;
}
.page-single__content {
	font-size: 17px;
	line-height: 1.8;
	color: var(--text-soft);
}
.page-single__content h2,
.page-single__content h3 { color: var(--text); margin: 1.8em 0 .6em; }

/* --- Search form --- */
.search-form {
	display: flex;
	gap: 8px;
	max-width: 520px;
	margin: 16px auto 0;
}
.search-form__input {
	flex: 1;
	padding: 12px 18px;
	border: 1px solid var(--border-strong);
	border-radius: var(--radius-full);
	font-size: 14px;
	background: var(--surface);
	transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.search-form__input:focus {
	outline: none;
	border-color: var(--accent);
	box-shadow: 0 0 0 4px var(--accent-soft);
}
.search-form__btn {
	padding: 12px 22px;
	border: 0;
	border-radius: var(--radius-full);
	background: var(--accent);
	color: #fff;
	font-weight: 600;
	font-size: 14px;
	transition: background .15s var(--ease);
}
.search-form__btn:hover { background: var(--accent-hover); }

/* --- 404 --- */
.error-404 {
	text-align: center;
	padding: 96px 0;
}
.error-404__code {
	font-family: var(--font-display);
	font-size: clamp(80px, 14vw, 140px);
	font-weight: 900;
	background: linear-gradient(135deg, var(--accent), #f472b6);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	margin: 0;
	line-height: 1;
}
.error-404__title { margin-top: 16px; }
.error-404__lead {
	color: var(--text-soft);
	max-width: 480px;
	margin: 0 auto 28px;
	font-size: 17px;
}
.error-404__search { margin-top: 32px; }

/* --- No results --- */
.no-results {
	text-align: center;
	padding: 64px 24px;
	color: var(--text-soft);
	font-size: 16px;
}

/* --- Footer --- */
.site-footer {
	background: var(--bg-soft);
	border-top: 1px solid var(--border);
	padding: 48px 0 32px;
	margin-top: 80px;
}
.site-footer__inner {
	display: grid;
	grid-template-columns: auto 1fr auto;
	gap: 32px;
	align-items: center;
}
@media (max-width: 768px) {
	.site-footer__inner {
		grid-template-columns: 1fr;
		text-align: center;
	}
}
.site-footer__brand { display: flex; flex-direction: column; gap: 4px; }
.site-footer__logo {
	color: var(--text);
	font-weight: 700;
	font-size: 18px;
	font-family: var(--font-display);
}
.site-footer__logo:hover { color: var(--text); }
.site-footer__tag {
	color: var(--text-muted);
	font-size: 13px;
	margin: 0;
}
.site-nav--footer {
	justify-content: center;
}
@media (max-width: 768px) {
	.site-nav--footer { flex-wrap: wrap; }
}
.site-footer__copyright {
	color: var(--text-muted);
	font-size: 13px;
}

/* --- Body lock when mobile nav open --- */
body.nav-open { overflow: hidden; }

/* --- Selection --- */
::selection { background: var(--accent-soft); color: var(--accent-hover); }

/* --- Focus styles --- */
:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
	border-radius: 4px;
}

/* --- Reduced motion --- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: .01ms !important;
		transition-duration: .01ms !important;
	}
	.reveal { opacity: 1; transform: none; }
}

/* =====================================================
   Homepage template (page-templates/template-home.php)
   ===================================================== */

.home-hero {
	padding: 64px 0 32px;
	text-align: center;
	position: relative;
	overflow: hidden;
}
.home-hero::before {
	content: '';
	position: absolute;
	top: -180px;
	left: 50%;
	transform: translateX(-50%);
	width: 820px;
	height: 820px;
	background: radial-gradient(closest-side, var(--accent-soft-2), transparent 72%);
	z-index: -1;
	pointer-events: none;
}
.home-hero__title {
	font-size: clamp(2.25rem, 5vw, 3.75rem);
	margin: 0 0 18px;
	line-height: 1.1;
}
.home-hero__title-em {
	display: inline-block;
	background: linear-gradient(135deg, var(--accent), #f472b6);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	font-style: italic;
}
.home-hero__lead {
	color: var(--text-soft);
	font-size: 17px;
	line-height: 1.7;
	max-width: 680px;
	margin: 0 auto;
}

.home-section__title {
	text-align: center;
	margin: 56px 0 28px;
}

.home-profiles {
	padding: 24px 0 48px;
}
.home-profiles .profile-grid {
	padding-top: 0;
}
.home-profiles__more {
	display: flex;
	justify-content: center;
	margin-top: 8px;
}

.home-categories {
	padding: 16px 0 64px;
}
.home-categories .home-section__title {
	margin-top: 16px;
}
.cat-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 16px;
}
.cat-tile {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 22px 22px 20px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	color: var(--text);
	transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
	text-decoration: none;
	min-height: 110px;
}
.cat-tile:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow-md);
	border-color: transparent;
	color: var(--text);
}
.cat-tile__count {
	font-family: var(--font-display);
	font-size: 30px;
	font-weight: 700;
	color: var(--accent);
	line-height: 1;
}
.cat-tile__name {
	font-size: 14px;
	font-weight: 500;
	color: var(--text);
	line-height: 1.35;
}
.cat-tile:hover .cat-tile__name { color: var(--accent-hover); }

.home-blog {
	background: var(--bg-soft);
	padding: 56px 0 64px;
	border-top: 1px solid var(--border);
}
.home-blog .home-section__title {
	margin-top: 0;
}

.home-cta {
	padding: 80px 0 64px;
	text-align: center;
	background: linear-gradient(180deg, transparent 0%, var(--accent-soft-2) 100%);
	margin-top: 24px;
}
.home-cta__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
}
.home-cta__title {
	font-size: clamp(1.75rem, 3.5vw, 2.5rem);
	margin: 0;
}
.home-cta__lead {
	color: var(--text-soft);
	font-size: 16px;
	margin: 0 0 12px;
	letter-spacing: 0.04em;
}
.home-cta__btn {
	width: 100%;
	max-width: 440px;
}
.home-cta__btn .pp-call-el {
	font-size: 16px !important;
	padding: 18px 18px 18px 70px !important;
}

.home-content {
	padding: 32px 0 8px;
}
.home-content .container {
	color: var(--text-soft);
	font-size: 16px;
	line-height: 1.75;
}
.home-content h2,
.home-content h3 { color: var(--text); margin: 1.6em 0 .5em; }
