/* ==========================================================================
   Farjovca 2026 — glavni slogi
   Kazalo:
   1. Žetoni (barve, pisave, razmiki)
   2. Osnova
   3. Gumbi in povezave
   4. Glava (HFE)
   5. Naslovna (hero) + kartica naslednjega dogodka
   6. Sekcije in naslovi sekcij
   7. Kartice prispevkov (Essential Addons Post Grid)
   8. Zanimiva dejstva (števci)
   9. Poziv + obrazec (Contact Form 7)
   10. Noga
   11. Podstrani (glava strani, O nas)
   12. Posamezen prispevek
   13. Arhivi, 404
   14. Animacije, dostopnost
   ========================================================================== */

/* 1. Žetoni ---------------------------------------------------------------- */
:root {
	--fj-purple: #5e56a8;
	--fj-purple-600: #4f4795;
	--fj-purple-700: #423b80;
	--fj-purple-50: #f1effa;
	--fj-purple-100: #e4e0f5;
	--fj-lime: #a8cf45;
	--fj-lime-300: #c4e27a;
	--fj-ink: #211d3d;
	--fj-ink-900: #17142c;
	--fj-text: #3d3954;
	--fj-muted: #6c6884;
	--fj-stone: #f6f3ee;
	--fj-stone-200: #ebe5da;
	--fj-line: rgba(33, 29, 61, 0.1);
	--fj-white: #fff;

	--fj-font-head: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
	--fj-font-body: 'Figtree', 'Segoe UI', system-ui, sans-serif;

	--fj-radius-lg: 28px;
	--fj-radius: 20px;
	--fj-radius-sm: 12px;
	--fj-shadow-sm: 0 1px 2px rgba(33, 29, 61, 0.06), 0 4px 14px -6px rgba(33, 29, 61, 0.12);
	--fj-shadow: 0 2px 4px rgba(33, 29, 61, 0.04), 0 18px 40px -18px rgba(33, 29, 61, 0.28);
	--fj-shadow-lg: 0 30px 60px -24px rgba(23, 20, 44, 0.45);

	--fj-wrap: 1240px;
	--fj-gutter: clamp(16px, 4vw, 40px);
	--fj-section: clamp(64px, 9vw, 128px);
	--fj-header-gap: 12px;
	--fj-header-bar: 72px;
	--fj-header-h: calc(var(--fj-header-bar) + var(--fj-header-gap) * 2);
	--fj-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (max-width: 1024px) {
	:root {
		--fj-header-gap: 10px;
		--fj-header-bar: 64px;
	}
}

/* 2. Osnova ---------------------------------------------------------------- */
html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--fj-header-h) + 16px);
	-webkit-text-size-adjust: 100%;
}

html,
body {
	overflow-x: clip; /* nič več vodoravnega drsenja na telefonu */
}

body.fj {
	background: var(--fj-white);
	color: var(--fj-text);
	font-family: var(--fj-font-body);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

body.fj h1,
body.fj h2,
body.fj h3,
body.fj h4,
body.fj h5,
body.fj h6,
body.fj .elementor-heading-title {
	font-family: var(--fj-font-head);
	color: var(--fj-ink);
	letter-spacing: -0.015em;
	line-height: 1.1;
	text-wrap: balance;
}

body.fj p {
	text-wrap: pretty;
}

body.fj a {
	color: var(--fj-purple);
	text-underline-offset: 0.18em;
	text-decoration-thickness: 1px;
	transition: color 0.2s, background-color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.25s var(--fj-ease);
}

body.fj a:hover {
	color: var(--fj-purple-700);
}

body.fj ::selection {
	background: var(--fj-lime);
	color: var(--fj-ink);
}

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

.fj-wrap {
	width: 100%;
	max-width: calc(var(--fj-wrap) + var(--fj-gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--fj-gutter);
}

/* Elementor: privzeti razmiki vsebnikov */
body.fj .e-con {
	--container-default-padding-top: 0px;
	--container-default-padding-right: 0px;
	--container-default-padding-bottom: 0px;
	--container-default-padding-left: 0px;
}

body.fj .elementor-widget:not(:last-child) {
	margin-block-end: 0;
}

/* 3. Gumbi in povezave ------------------------------------------------------ */
body.fj .fj-btn,
body.fj .fj-btn .elementor-button,
body.fj .fj-btn-lime .elementor-button,
body.fj .fj-btn-ghost .elementor-button,
body.fj .fj-btn-light .elementor-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 14px 26px;
	border: 2px solid transparent;
	border-radius: 999px;
	background: var(--fj-purple);
	color: var(--fj-white);
	font-family: var(--fj-font-body);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.01em;
	text-decoration: none;
	box-shadow: 0 10px 24px -12px rgba(94, 86, 168, 0.8);
	transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.25s, transform 0.25s var(--fj-ease);
}

body.fj .fj-btn:hover,
body.fj .fj-btn .elementor-button:hover {
	background: var(--fj-purple-700);
	color: var(--fj-white);
	transform: translateY(-2px);
	box-shadow: 0 16px 28px -14px rgba(94, 86, 168, 0.9);
}

body.fj .fj-btn-lime .elementor-button {
	background: var(--fj-lime);
	color: var(--fj-ink);
	box-shadow: 0 12px 28px -14px rgba(168, 207, 69, 0.9);
}

body.fj .fj-btn-lime .elementor-button:hover {
	background: var(--fj-lime-300);
	color: var(--fj-ink);
	transform: translateY(-2px);
}

body.fj .fj-btn--ghost,
body.fj .fj-btn-ghost .elementor-button {
	background: transparent;
	color: var(--fj-ink);
	border-color: var(--fj-ink);
	box-shadow: none;
}

body.fj .fj-btn--ghost:hover,
body.fj .fj-btn-ghost .elementor-button:hover {
	background: var(--fj-ink);
	color: var(--fj-white);
	transform: translateY(-2px);
}

body.fj .fj-btn-light .elementor-button {
	background: rgba(255, 255, 255, 0.08);
	color: var(--fj-white);
	border-color: rgba(255, 255, 255, 0.7);
	box-shadow: none;
	backdrop-filter: blur(6px);
}

body.fj .fj-btn-light .elementor-button:hover {
	background: var(--fj-white);
	color: var(--fj-ink);
	transform: translateY(-2px);
}

body.fj .elementor-button .elementor-button-icon svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

/* povezava s puščico ("Vsi dogodki →") */
body.fj .fj-link-arrow .elementor-button {
	padding: 8px 0;
	min-height: 0;
	background: none;
	color: var(--fj-purple);
	font-family: var(--fj-font-body);
	font-size: 16px;
	font-weight: 700;
	border-radius: 0;
	box-shadow: none;
}

body.fj .fj-link-arrow .elementor-button .elementor-button-text {
	background-image: linear-gradient(currentColor, currentColor);
	background-size: 0% 2px;
	background-position: 0 100%;
	background-repeat: no-repeat;
	transition: background-size 0.3s var(--fj-ease);
}

body.fj .fj-link-arrow .elementor-button:hover {
	color: var(--fj-purple-700);
	background: none;
}

body.fj .fj-link-arrow .elementor-button:hover .elementor-button-text {
	background-size: 100% 2px;
}

body.fj .fj-link-arrow .elementor-button-content-wrapper::after {
	content: '→';
	margin-left: 8px;
	transition: transform 0.3s var(--fj-ease);
}

body.fj .fj-link-arrow .elementor-button:hover .elementor-button-content-wrapper::after {
	transform: translateX(4px);
}

/* 4. Glava ----------------------------------------------------------------- */
body.fj #masthead {
	position: fixed;
	inset: 0 0 auto;
	z-index: 1000;
	padding: var(--fj-header-gap) var(--fj-gutter) 0;
	pointer-events: none;
}

body.admin-bar.fj #masthead {
	top: 32px;
}

@media (max-width: 782px) {
	body.admin-bar.fj #masthead {
		top: 46px;
	}
}

body.fj #masthead .main-title {
	display: none;
}

body.fj .fj-header.e-con {
	pointer-events: auto;
	max-width: var(--fj-wrap);
	min-height: var(--fj-header-bar);
	margin-inline: auto;
	padding: 8px 10px 8px 22px;
	background: rgba(255, 255, 255, 0.86);
	-webkit-backdrop-filter: blur(16px) saturate(1.6);
	backdrop-filter: blur(16px) saturate(1.6);
	border: 1px solid rgba(255, 255, 255, 0.6);
	border-radius: 20px;
	box-shadow: 0 8px 30px -14px rgba(23, 20, 44, 0.35);
	transition: box-shadow 0.3s, background-color 0.3s;
}

.fj-scrolled body.fj .fj-header.e-con {
	background: rgba(255, 255, 255, 0.94);
	box-shadow: 0 12px 36px -12px rgba(23, 20, 44, 0.4);
}

body.fj .fj-logo img {
	display: block;
	width: 196px;
	max-width: none;
	height: auto;
}

@media (max-width: 1024px) {
	body.fj .fj-header.e-con {
		padding: 6px 8px 6px 16px;
		border-radius: 18px;
	}

	body.fj .fj-logo img {
		width: 168px;
	}
}

@media (max-width: 380px) {
	body.fj .fj-logo img {
		width: 148px;
	}
}

/* meni (HFE Navigation Menu) */
body.fj .fj-nav .hfe-nav-menu {
	gap: 4px;
}

body.fj .fj-nav .hfe-nav-menu > li > a.hfe-menu-item {
	position: relative;
	padding: 10px 16px;
	border-radius: 999px;
	color: var(--fj-ink);
	font-family: var(--fj-font-body);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
}

body.fj .fj-nav .hfe-nav-menu > li > a.hfe-menu-item:hover {
	background: var(--fj-purple-50);
	color: var(--fj-purple-700);
}

body.fj .fj-nav .hfe-nav-menu > li.current-menu-item > a.hfe-menu-item:not(.elementor-button) {
	color: var(--fj-purple);
}

body.fj .fj-nav .hfe-nav-menu > li.current-menu-item > a.hfe-menu-item:not(.elementor-button)::after {
	content: '';
	position: absolute;
	left: 50%;
	bottom: 2px;
	width: 6px;
	height: 6px;
	margin-left: -3px;
	border-radius: 50%;
	background: var(--fj-lime);
}

/* zadnja postavka menija = gumb */
body.fj .fj-nav .hfe-nav-menu > li:last-child > a.hfe-menu-item.elementor-button {
	margin-left: 8px;
	padding: 13px 22px;
	background: var(--fj-purple);
	color: var(--fj-white);
	font-weight: 700;
	box-shadow: 0 10px 24px -12px rgba(94, 86, 168, 0.85);
}

body.fj .fj-nav .hfe-nav-menu > li:last-child > a.hfe-menu-item.elementor-button:hover {
	background: var(--fj-purple-700);
	color: var(--fj-white);
}

/* hamburger (ikona točno na sredini vijoličnega kvadratka) */
body.fj .fj-nav .hfe-nav-menu__toggle {
	width: 48px;
	height: 48px;
	margin: 0;
	padding: 0;
	border-radius: 14px;
	background: var(--fj-purple);
	color: var(--fj-white);
	cursor: pointer;
}

@media (max-width: 1024px) {
	body.fj .fj-nav .hfe-nav-menu__toggle {
		display: flex !important;
		align-items: center;
		justify-content: center;
	}
}

body.fj .fj-nav .hfe-nav-menu__toggle .hfe-nav-menu-icon {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	padding: 0 !important;
	margin: 0;
	border: 0 !important;
	line-height: 1;
}

body.fj .fj-nav .hfe-nav-menu__toggle .hfe-nav-menu-icon svg,
body.fj .fj-nav .hfe-nav-menu__toggle .hfe-nav-menu-icon i {
	display: block;
	width: 20px;
	height: 20px;
	color: var(--fj-white);
	fill: var(--fj-white);
	font-size: 20px;
	line-height: 1;
}

@media (max-width: 1024px) {
	/* spustni meni kot plošča pod glavo */
	body.fj .fj-header.e-con {
		position: relative;
	}

	body.fj .fj-nav,
	body.fj .fj-nav .hfe-nav-menu,
	body.fj .fj-nav .elementor-widget-container {
		position: static !important;
	}

	body.fj .fj-nav nav.hfe-dropdown {
		position: absolute !important;
		top: calc(100% + 10px) !important;
		left: 0 !important;
		right: 0 !important;
		width: auto !important;
		padding: 10px;
		background: var(--fj-white) !important;
		border-radius: 20px;
		box-shadow: var(--fj-shadow-lg);
		overflow: hidden;
	}

	body.fj .fj-nav nav.hfe-dropdown .hfe-nav-menu {
		display: flex;
		flex-direction: column;
		gap: 2px;
	}

	body.fj .fj-nav nav.hfe-dropdown .hfe-nav-menu > li > a.hfe-menu-item {
		display: flex;
		width: 100%;
		padding: 16px 18px;
		border-radius: 14px;
		font-size: 19px;
		background: transparent;
	}

	body.fj .fj-nav nav.hfe-dropdown .hfe-nav-menu > li.current-menu-item > a.hfe-menu-item::after {
		display: none;
	}

	body.fj .fj-nav nav.hfe-dropdown .hfe-nav-menu > li.current-menu-item > a.hfe-menu-item:not(.elementor-button) {
		background: var(--fj-purple-50);
	}

	body.fj .fj-nav nav.hfe-dropdown .hfe-nav-menu > li:last-child > a.hfe-menu-item {
		margin: 8px 0 0;
		justify-content: center;
		border-radius: 999px;
		color: var(--fj-white);
		background: var(--fj-purple);
		font-weight: 700;
	}

	body.fj .fj-nav nav.hfe-dropdown li.menu-item {
		border: 0 !important;
	}
}

/* 5. Naslovna (hero) -------------------------------------------------------- */
body.fj .fj-hero.e-con {
	position: relative;
	isolation: isolate;
	min-height: min(100svh, 940px);
	--padding-top: calc(var(--fj-header-h) + clamp(40px, 7vh, 96px));
	--padding-bottom: clamp(28px, 6vh, 64px);
	--padding-left: var(--fj-gutter);
	--padding-right: var(--fj-gutter);
	background-color: var(--fj-ink);
	background-size: cover;
	color: var(--fj-white);
	overflow: hidden;
}

body.fj .fj-hero.e-con::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background:
		linear-gradient(0deg, rgba(23, 20, 44, 0.72) 0%, rgba(23, 20, 44, 0) 48%),
		linear-gradient(90deg, rgba(23, 20, 44, 0.82) 0%, rgba(23, 20, 44, 0.5) 42%, rgba(23, 20, 44, 0.05) 78%),
		linear-gradient(180deg, rgba(23, 20, 44, 0.45) 0%, rgba(23, 20, 44, 0) 22%);
}

@media (max-width: 767px) {
	body.fj .fj-hero.e-con {
		min-height: 100svh;
	}

	body.fj .fj-hero.e-con::after {
		background:
			linear-gradient(0deg, rgba(23, 20, 44, 0.9) 0%, rgba(23, 20, 44, 0.55) 55%, rgba(23, 20, 44, 0.25) 100%);
	}
}

body.fj .fj-hero > .e-con-inner {
	justify-content: center;
}

@media (max-width: 1024px) {
	body.fj .fj-hero > .e-con-inner {
		justify-content: flex-start;
	}
}

body.fj .fj-hero__row.e-con {
	--flex-direction: row;
	--align-items: center;
	--justify-content: space-between;
	--row-gap: 40px;
	--column-gap: 40px;
	width: 100%;
}

@media (max-width: 1024px) {
	body.fj .fj-hero__row.e-con {
		--flex-direction: column;
		--align-items: stretch;
		--row-gap: 28px;
		--column-gap: 28px;
	}
}

body.fj .fj-hero__content.e-con {
	--row-gap: 0px;
	--column-gap: 0px;
	max-width: 760px;
}

p.fj-eyebrow,
body.fj .fj-eyebrow .elementor-heading-title {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 18px;
	color: var(--fj-purple);
	font-family: var(--fj-font-body);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.16em;
	line-height: 1.3;
	text-transform: uppercase;
}

p.fj-eyebrow::before,
body.fj .fj-eyebrow .elementor-heading-title::before {
	content: '';
	width: 28px;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
	flex: none;
}

body.fj .fj-hero .fj-eyebrow .elementor-heading-title {
	color: var(--fj-lime);
}

@media (max-width: 480px) {
	p.fj-eyebrow,
	body.fj .fj-eyebrow .elementor-heading-title {
		font-size: 12px;
		letter-spacing: 0.12em;
	}

	p.fj-eyebrow::before,
	body.fj .fj-eyebrow .elementor-heading-title::before {
		width: 20px;
	}
}

body.fj .fj-hero-title .elementor-heading-title {
	margin: 0;
	color: var(--fj-white);
	font-family: var(--fj-font-head);
	font-size: clamp(66px, 11vw, 164px);
	font-weight: 800;
	font-stretch: 75%;
	line-height: 0.88;
	letter-spacing: -0.02em;
	text-shadow: 0 2px 30px rgba(23, 20, 44, 0.25);
}

body.fj .fj-hero-tagline .elementor-heading-title {
	margin: 14px 0 0;
	color: var(--fj-lime);
	font-family: var(--fj-font-head);
	font-size: clamp(24px, 3vw, 38px);
	font-weight: 600;
	font-stretch: 85%;
	line-height: 1.1;
}

body.fj .fj-hero-intro {
	margin-top: 22px;
	max-width: 34em;
	color: rgba(255, 255, 255, 0.9);
	font-size: clamp(17px, 1.4vw, 20px);
	line-height: 1.6;
}

body.fj .fj-hero-intro p {
	margin: 0;
}

body.fj .fj-hero__actions.e-con {
	--flex-direction: row;
	--flex-wrap: wrap;
	--row-gap: 12px;
	--column-gap: 12px;
	margin-top: 32px;
}

body.fj .fj-hero__aside.e-con {
	flex: 0 0 auto;
	width: 400px;
	max-width: 100%;
}

@media (max-width: 1024px) {
	body.fj .fj-hero__aside.e-con {
		width: 100%;
		max-width: 560px;
	}
}

@media (max-width: 480px) {
	body.fj .fj-hero__actions .elementor-widget-button,
	body.fj .fj-hero__actions .elementor-button {
		width: 100%;
	}
}

/* kartica "naslednji dogodek" */
.fj-next {
	position: relative;
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	gap: 16px;
	padding: 14px 52px 14px 14px;
	border-radius: var(--fj-radius);
	background: rgba(255, 255, 255, 0.95);
	color: var(--fj-ink) !important;
	text-decoration: none !important;
	box-shadow: var(--fj-shadow-lg);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}

.fj-next:hover {
	transform: translateY(-3px);
	background: var(--fj-white);
}

.fj-next__media {
	width: 84px;
	height: 84px;
	border-radius: 14px;
	overflow: hidden;
	flex: none;
}

.fj-next__media img,
.fj-next .fj-next__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.fj-next__body {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.fj-next__label {
	color: var(--fj-purple);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.fj-next__title {
	font-family: var(--fj-font-head);
	font-size: 21px;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.01em;
}

.fj-next__date {
	color: var(--fj-muted);
	font-size: 15px;
	line-height: 1.4;
}

.fj-next__count {
	grid-column: 1 / -1;
	display: inline-flex;
	align-items: baseline;
	gap: 6px;
	justify-self: start;
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--fj-lime);
	color: var(--fj-ink);
	font-size: 15px;
	font-weight: 600;
}

.fj-next__count b {
	font-family: var(--fj-font-head);
	font-size: 22px;
	font-weight: 800;
	line-height: 1;
}

.fj-next__cta {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--fj-purple) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M13.3 5.3a1 1 0 0 1 1.4 0l6 6a1 1 0 0 1 0 1.4l-6 6a1 1 0 0 1-1.4-1.4l4.3-4.3H4a1 1 0 1 1 0-2h13.6l-4.3-4.3a1 1 0 0 1 0-1.4Z'/%3E%3C/svg%3E") center / 16px no-repeat;
	transition: transform 0.25s var(--fj-ease);
}

.fj-next:hover .fj-next__cta {
	transform: translateX(3px);
}

.fj-next--empty {
	grid-template-columns: 1fr;
}

.fj-next--empty .fj-next__cta {
	position: static;
	width: auto;
	height: auto;
	background: none;
	color: var(--fj-purple);
	font-weight: 700;
}

/* 6. Sekcije ----------------------------------------------------------------- */
body.fj .fj-section.e-con {
	--padding-top: var(--fj-section);
	--padding-bottom: var(--fj-section);
	--padding-left: var(--fj-gutter);
	--padding-right: var(--fj-gutter);
}

body.fj .fj-section--stone.e-con {
	background-color: var(--fj-stone);
}

/* novice na naslovnici: takoj za njimi pride pas z obrazcem (enaka podlaga) → brez dvojnega razmika */
body.fj .fj-home-news.e-con {
	--padding-bottom: 0px;
}

body.fj .fj-section--tight.e-con {
	--padding-top: clamp(48px, 6vw, 80px);
}

body.fj .fj-sechead.e-con {
	--flex-direction: row;
	--flex-wrap: wrap;
	--align-items: flex-end;
	--justify-content: space-between;
	--row-gap: 16px;
	--column-gap: 32px;
	width: 100%;
	margin-bottom: clamp(28px, 4vw, 48px);
}

body.fj .fj-sechead__text.e-con {
	--row-gap: 0px;
	--column-gap: 0px;
	max-width: 720px;
}

body.fj .fj-h2 .elementor-heading-title {
	margin: 0;
	font-size: clamp(36px, 5vw, 64px);
	font-weight: 800;
	font-stretch: 80%;
	line-height: 0.98;
	letter-spacing: -0.02em;
}

body.fj .fj-lead {
	margin-top: 14px;
	color: var(--fj-muted);
	font-size: 18px;
}

body.fj .fj-lead p {
	margin: 0;
}

/* 7. Kartice prispevkov (EA Post Grid) ---------------------------------------- */
body.fj .fj-grid .eael-post-grid-container {
	margin: 0;
}

body.fj .fj-grid .eael-post-grid {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(16px, 2vw, 28px);
	margin: 0 !important;
	height: auto !important;
}

@media (max-width: 1024px) {
	body.fj .fj-grid .eael-post-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	body.fj .fj-grid .eael-post-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

body.fj .fj-grid .eael-post-grid::before,
body.fj .fj-grid .eael-post-grid::after,
body.fj .fj-grid .eael-post-grid > .clearfix {
	display: none;
}

body.fj .fj-grid.elementor-element .eael-grid-post {
	position: static !important;
	float: none !important;
	width: auto !important;
	max-width: none !important;
	padding: 0 !important;
	margin: 0 !important;
	transform: none !important;
}

body.fj .fj-grid.elementor-element .eael-grid-post .eael-grid-post-holder {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	border: 1px solid var(--fj-line);
	border-radius: var(--fj-radius);
	background: var(--fj-white);
	box-shadow: var(--fj-shadow-sm);
	transition: transform 0.35s var(--fj-ease), box-shadow 0.35s var(--fj-ease), border-color 0.35s;
}

body.fj .fj-section--stone .fj-grid.elementor-element .eael-grid-post .eael-grid-post-holder {
	border-color: transparent;
}

body.fj .fj-grid.elementor-element .eael-grid-post .eael-grid-post-holder:hover {
	transform: translateY(-6px);
	box-shadow: var(--fj-shadow);
	border-color: transparent;
}

body.fj .fj-grid.elementor-element .eael-grid-post .eael-grid-post-holder-inner {
	display: flex;
	flex-direction: column;
	height: 100%;
}

body.fj .fj-grid.elementor-element .eael-entry-media {
	position: relative;
	overflow: hidden;
	aspect-ratio: 3 / 2;
	background: var(--fj-stone-200);
}

body.fj .fj-grid.elementor-element .eael-entry-media .eael-entry-thumbnail {
	height: 100%;
	padding: 0 !important;
}

body.fj .fj-grid.elementor-element .eael-entry-media img {
	position: static !important;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
	transition: transform 0.6s var(--fj-ease);
}

body.fj .fj-grid.elementor-element .eael-grid-post-holder:hover .eael-entry-media img {
	transform: scale(1.04);
}

body.fj .fj-grid.elementor-element .eael-entry-overlay {
	z-index: 2;
	background: transparent !important;
	opacity: 1 !important;
	visibility: visible !important;
}

body.fj .fj-grid.elementor-element .eael-entry-overlay > i {
	display: none;
}

body.fj .fj-grid.elementor-element .eael-entry-wrapper {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 10px;
	padding: 22px 24px 24px !important;
}

body.fj .fj-grid.elementor-element .eael-entry-header,
body.fj .fj-grid.elementor-element .eael-entry-content {
	margin: 0;
	padding: 0;
}

body.fj .fj-grid.elementor-element .eael-entry-content {
	display: flex;
	flex: 1;
	flex-direction: column;
}

body.fj .fj-grid.elementor-element .eael-entry-title {
	margin: 0 !important;
	font-family: var(--fj-font-head) !important;
	font-size: 22px !important;
	font-weight: 700 !important;
	line-height: 1.18 !important;
	letter-spacing: -0.01em;
}

body.fj .fj-grid.elementor-element .eael-entry-title a {
	color: var(--fj-ink) !important;
	text-decoration: none;
}

body.fj .fj-grid.elementor-element .eael-grid-post-holder:hover .eael-entry-title a {
	color: var(--fj-purple) !important;
}

body.fj .fj-grid.elementor-element .eael-grid-post-excerpt {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	gap: 18px;
}

body.fj .fj-grid.elementor-element .eael-grid-post-excerpt p {
	margin: 0 !important;
	color: var(--fj-muted) !important;
	font-family: var(--fj-font-body) !important;
	font-size: 16px !important;
	line-height: 1.55 !important;
	text-align: left !important;
}

/* dogodki: izvleček = datum → značka s koledarčkom */
body.fj .fj-grid--events.elementor-element .eael-grid-post-excerpt p {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 14px 7px 12px;
	border-radius: 999px;
	background: var(--fj-purple-50);
	color: var(--fj-purple-700) !important;
	font-size: 15px !important;
	font-weight: 600;
	line-height: 1.3 !important;
}

body.fj .fj-grid--events.elementor-element .eael-grid-post-excerpt p::before {
	content: '';
	width: 17px;
	height: 17px;
	flex: none;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 2a1 1 0 0 1 1 1v1h8V3a1 1 0 1 1 2 0v1h1a3 3 0 0 1 3 3v12a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3V7a3 3 0 0 1 3-3h1V3a1 1 0 0 1 1-1Zm13 8H4v9a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-9Z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 2a1 1 0 0 1 1 1v1h8V3a1 1 0 1 1 2 0v1h1a3 3 0 0 1 3 3v12a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3V7a3 3 0 0 1 3-3h1V3a1 1 0 0 1 1-1Zm13 8H4v9a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-9Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

body.fj .fj-grid.elementor-element .eael-post-elements-readmore-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: auto !important;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
	color: var(--fj-purple) !important;
	font-family: var(--fj-font-body) !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	text-decoration: none !important;
	position: relative;
	z-index: 3;
}

body.fj .fj-grid.elementor-element .eael-post-elements-readmore-btn::after {
	content: '→';
	transition: transform 0.25s var(--fj-ease);
}

body.fj .fj-grid.elementor-element .eael-grid-post-holder:hover .eael-post-elements-readmore-btn::after {
	transform: translateX(4px);
}

/* celotna kartica je klikljiva */
body.fj .fj-grid.elementor-element .eael-entry-title a::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1;
}

body.fj .fj-grid.elementor-element .eael-entry-header-after,
body.fj .fj-grid.elementor-element .eael-entry-footer {
	margin: 0;
	padding: 0;
}

body.fj .fj-grid.elementor-element .eael-entry-meta {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 0 !important;
	color: var(--fj-muted) !important;
	font-size: 14px !important;
}

body.fj .fj-grid.elementor-element .eael-entry-meta:empty {
	display: none;
}

body.fj .fj-grid.elementor-element .eael-entry-meta *,
body.fj .fj-grid.elementor-element .eael-posted-on {
	color: var(--fj-muted) !important;
	font-size: 14px !important;
}

body.fj .fj-grid.elementor-element .eael-entry-header-after.style-two {
	margin-top: 4px;
	padding-top: 14px;
	border-top: 1px solid var(--fj-line);
}

body.fj .fj-grid.elementor-element .eael-entry-header-after.style-two:has(.eael-entry-meta:empty) {
	display: none;
}

/* en sam prihajajoči dogodek → široka "izpostavljena" kartica */
@media (min-width: 768px) {
	body.fj .fj-grid--events .eael-post-grid:has(> article.eael-grid-post:only-of-type) {
		grid-template-columns: minmax(0, 1fr);
	}

	body.fj .fj-grid--events.elementor-element .eael-post-grid > article.eael-grid-post:only-of-type .eael-grid-post-holder-inner {
		flex-direction: row;
	}

	body.fj .fj-grid--events.elementor-element .eael-post-grid > article.eael-grid-post:only-of-type .eael-entry-media {
		flex: 0 0 56%;
		aspect-ratio: auto;
		min-height: 360px;
	}

	body.fj .fj-grid--events.elementor-element .eael-post-grid > article.eael-grid-post:only-of-type .eael-entry-wrapper {
		justify-content: center;
		gap: 18px;
		padding: clamp(32px, 4vw, 56px) !important;
	}

	body.fj .fj-grid--events.elementor-element .eael-post-grid > article.eael-grid-post:only-of-type .eael-entry-wrapper::before {
		content: 'Naslednji dogodek';
		color: var(--fj-purple);
		font-size: 13px;
		font-weight: 800;
		letter-spacing: 0.16em;
		text-transform: uppercase;
	}

	body.fj .fj-grid--events.elementor-element .eael-post-grid > article.eael-grid-post:only-of-type .eael-entry-content {
		flex: 0 0 auto;
	}

	body.fj .fj-grid--events.elementor-element .eael-post-grid > article.eael-grid-post:only-of-type .eael-entry-title {
		font-size: clamp(30px, 3.4vw, 44px) !important;
		font-weight: 800 !important;
		font-stretch: 82%;
		line-height: 1 !important;
	}

	body.fj .fj-grid--events.elementor-element .eael-post-grid > article.eael-grid-post:only-of-type .eael-grid-post-excerpt {
		gap: 26px;
	}

	body.fj .fj-grid--events.elementor-element .eael-post-grid > article.eael-grid-post:only-of-type .eael-post-elements-readmore-btn {
		padding: 14px 24px !important;
		border-radius: 999px;
		background: var(--fj-purple) !important;
		color: var(--fj-white) !important;
	}
}

/* naslovnica: kompaktne kartice (slika, naslov, datum) */
body.fj .fj-grid--compact.elementor-element .eael-entry-wrapper {
	gap: 8px;
	padding: 20px 22px 22px !important;
}

body.fj .fj-grid--compact.elementor-element .eael-entry-content {
	display: none;
}

body.fj .fj-grid--compact.elementor-element .eael-entry-header-after.style-two {
	margin-top: 0;
	padding-top: 0;
	border-top: 0;
}

/* gumb "Naloži več" */
body.fj .fj-grid .eael-load-more-button-wrap {
	margin-top: 36px;
}

body.fj .fj-grid .eael-load-more-button {
	padding: 14px 26px !important;
	border-radius: 999px !important;
	background: var(--fj-purple) !important;
	color: var(--fj-white) !important;
	font-family: var(--fj-font-body) !important;
	font-weight: 700 !important;
}

/* 8. Zanimiva dejstva ------------------------------------------------------- */
body.fj .fj-stats.e-con {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background:
		radial-gradient(120% 140% at 100% 0%, rgba(94, 86, 168, 0.55) 0%, rgba(94, 86, 168, 0) 55%),
		var(--fj-ink);
	color: var(--fj-white);
}

body.fj .fj-stats.e-con::after {
	content: '';
	position: absolute;
	z-index: -1;
	right: calc(min(620px, 80vw) * -0.3);
	bottom: calc(min(620px, 80vw) * -0.32);
	width: min(620px, 80vw);
	aspect-ratio: 1;
	background: url(../img/bodika-vrtljiva.webp) center / contain no-repeat;
	opacity: 0.2;
	transform: rotate(calc(-12deg + var(--fj-rot, 0) * 0.7deg));
	pointer-events: none;
}

body.fj .fj-stats .fj-eyebrow .elementor-heading-title {
	color: var(--fj-lime);
}

body.fj .fj-stats .fj-h2 .elementor-heading-title {
	color: var(--fj-white);
}

body.fj .fj-stats__row.e-con {
	--flex-direction: row;
	--row-gap: 0px;
	--column-gap: 0px;
	width: 100%;
	border-top: 1px solid rgba(255, 255, 255, 0.16);
}

body.fj .fj-stat.e-con {
	--padding-top: 32px;
	--padding-right: 24px;
	--padding-bottom: 8px;
	--padding-left: 0px;
	flex: 1 1 0;
	min-width: 0;
}

body.fj .fj-stat.e-con + .fj-stat.e-con {
	--padding-left: 32px;
	border-left: 1px solid rgba(255, 255, 255, 0.16);
}

@media (max-width: 767px) {
	body.fj .fj-stats__row.e-con {
		--flex-direction: column;
	}

	body.fj .fj-stat.e-con,
	body.fj .fj-stat.e-con + .fj-stat.e-con {
		flex: 0 0 auto;
		width: 100%;
		--padding-top: 22px;
		--padding-bottom: 22px;
		--padding-left: 0px;
		border-left: 0;
		border-bottom: 1px solid rgba(255, 255, 255, 0.16);
	}
}

body.fj .fj-stat .elementor-counter {
	display: flex;
	flex-direction: column-reverse;
	align-items: flex-start;
	gap: 6px;
}

body.fj .fj-stat .elementor-counter-number-wrapper {
	color: var(--fj-lime);
	font-family: var(--fj-font-head);
	font-size: clamp(64px, 8vw, 112px);
	font-weight: 800;
	font-stretch: 75%;
	line-height: 0.9;
	letter-spacing: -0.02em;
	justify-content: flex-start;
}

body.fj .fj-stat .elementor-counter-title {
	color: rgba(255, 255, 255, 0.82);
	font-family: var(--fj-font-body);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.14em;
	line-height: 1.4;
	text-transform: uppercase;
	text-align: left;
	justify-content: flex-start;
}

/* 9. Poziv + obrazec --------------------------------------------------------- */
body.fj .fj-cta-band.e-con {
	--padding-top: var(--fj-section);
	--padding-bottom: 0px;
	--padding-left: var(--fj-gutter);
	--padding-right: var(--fj-gutter);
	background: linear-gradient(180deg, var(--fj-stone) 0%, var(--fj-stone) 62%, var(--fj-ink) 62%, var(--fj-ink) 100%);
}


body.fj .fj-cta.e-con {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	--flex-direction: row;
	--row-gap: clamp(32px, 5vw, 72px);
	--column-gap: clamp(32px, 5vw, 72px);
	--padding-top: clamp(36px, 5vw, 72px);
	--padding-bottom: clamp(36px, 5vw, 72px);
	--padding-left: clamp(24px, 5vw, 72px);
	--padding-right: clamp(24px, 5vw, 72px);
	border-radius: var(--fj-radius-lg);
	background: linear-gradient(135deg, var(--fj-purple) 0%, var(--fj-purple-700) 100%);
	color: var(--fj-white);
	box-shadow: var(--fj-shadow-lg);
}

body.fj .fj-cta.e-con::after {
	content: '';
	position: absolute;
	z-index: 3;
	left: -150px;
	bottom: -170px;
	width: 480px;
	aspect-ratio: 1;
	background: url(../img/bodika-vrtljiva.webp) center / contain no-repeat;
	opacity: 0.18;
	filter: brightness(1.6);
	transform: rotate(calc(18deg + var(--fj-rot, 0) * -0.6deg));
	pointer-events: none;
}

@media (max-width: 900px) {
	body.fj .fj-cta.e-con {
		--flex-direction: column;
	}
}

body.fj .fj-cta__text.e-con {
	--row-gap: 0px;
	--column-gap: 0px;
	flex: 1 1 0;
	min-width: 0;
}

body.fj .fj-cta__form.e-con {
	flex: 1.2 1 0;
	min-width: 0;
}

@media (max-width: 900px) {
	body.fj .fj-cta__text.e-con,
	body.fj .fj-cta__form.e-con {
		flex: 1 1 auto;
		width: 100%;
	}
}

body.fj .fj-cta .fj-eyebrow .elementor-heading-title {
	color: var(--fj-lime);
}

body.fj .fj-cta .fj-h2 .elementor-heading-title {
	color: var(--fj-white);
}

body.fj .fj-cta .fj-lead {
	color: rgba(255, 255, 255, 0.86);
}

body.fj .fj-cta__contact {
	margin-top: 28px;
}

body.fj .fj-cta__contact .elementor-icon-list-item,
body.fj .fj-cta__contact .elementor-icon-list-item a,
body.fj .fj-cta__contact .elementor-icon-list-text {
	color: var(--fj-white) !important;
	font-size: 17px;
	font-weight: 600;
	text-decoration: none;
}

body.fj .fj-cta__contact .elementor-icon-list-item a:hover,
body.fj .fj-cta__contact .elementor-icon-list-item a:hover .elementor-icon-list-text {
	color: var(--fj-lime) !important;
}

body.fj .fj-cta__contact .elementor-icon-list-icon svg {
	width: 18px;
	height: 18px;
	fill: var(--fj-lime) !important;
}

body.fj .fj-cta__contact .elementor-icon-list-items {
	display: grid;
	gap: 12px;
}

/* Contact Form 7 */
body.fj .wpcf7 form {
	display: grid;
	gap: 18px;
}

body.fj .wpcf7 form > p {
	margin: 0;
}

body.fj .wpcf7 label {
	display: grid;
	gap: 8px;
	width: 100%;
	color: inherit;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.01em;
}

body.fj .wpcf7 .wpcf7-form-control-wrap {
	display: block;
}

body.fj .wpcf7 input[type='text'],
body.fj .wpcf7 input[type='email'],
body.fj .wpcf7 input[type='tel'],
body.fj .wpcf7 textarea {
	width: 100%;
	padding: 14px 18px;
	border: 2px solid transparent;
	border-radius: 14px;
	background: var(--fj-white);
	color: var(--fj-ink);
	font-family: var(--fj-font-body);
	font-size: 17px;
	font-weight: 500;
	line-height: 1.4;
	box-shadow: inset 0 1px 2px rgba(33, 29, 61, 0.08);
	transition: border-color 0.2s, box-shadow 0.2s;
}

body.fj .wpcf7 textarea {
	min-height: 150px;
	max-height: 320px;
	resize: vertical;
}

body.fj .wpcf7 input:focus,
body.fj .wpcf7 textarea:focus {
	outline: none;
	border-color: var(--fj-lime);
	box-shadow: 0 0 0 4px rgba(168, 207, 69, 0.35);
}

body.fj .wpcf7 input[type='submit'] {
	justify-self: start;
	min-height: 54px;
	padding: 14px 30px;
	border: 0;
	border-radius: 999px;
	background: var(--fj-lime);
	color: var(--fj-ink);
	font-family: var(--fj-font-body);
	font-size: 17px;
	font-weight: 800;
	cursor: pointer;
	box-shadow: 0 14px 30px -14px rgba(23, 20, 44, 0.6);
	transition: background-color 0.2s, transform 0.25s var(--fj-ease);
}

body.fj .wpcf7 input[type='submit']:hover {
	background: var(--fj-lime-300);
	transform: translateY(-2px);
}

@media (max-width: 900px) {
	body.fj .fj-cta.e-con::after {
		left: auto;
		right: -90px;
		bottom: -100px;
		width: 260px;
	}
}

body.fj .wpcf7 .wpcf7-spinner {
	margin: 0 0 0 12px;
}

body.fj .wpcf7-not-valid-tip {
	margin-top: 6px;
	color: #ffd2d2;
	font-size: 14px;
	font-weight: 600;
}

body.fj .wpcf7 form .wpcf7-response-output {
	margin: 4px 0 0;
	padding: 12px 16px;
	border-radius: 12px;
	border-width: 2px;
	font-weight: 600;
}

/* 10. Noga -------------------------------------------------------------------- */
body.fj .fj-footer.e-con {
	--padding-top: clamp(56px, 7vw, 96px);
	--padding-bottom: 28px;
	--padding-left: var(--fj-gutter);
	--padding-right: var(--fj-gutter);
	background: var(--fj-ink);
	color: rgba(255, 255, 255, 0.78);
}

body.fj .fj-footer__grid.e-con {
	--flex-direction: row;
	--row-gap: clamp(32px, 5vw, 64px);
	--column-gap: clamp(32px, 5vw, 64px);
	width: 100%;
}

body.fj .fj-footer__col.e-con {
	--row-gap: 0px;
	--column-gap: 0px;
	flex: 1 1 0;
	min-width: 0;
}

body.fj .fj-footer__col--brand.e-con {
	flex: 1.15 1 0;
}

body.fj .fj-footer__col--map.e-con {
	flex: 1.4 1 0;
}

@media (max-width: 1024px) {
	body.fj .fj-footer__grid.e-con {
		--flex-wrap: wrap;
	}

	body.fj .fj-footer__col.e-con {
		flex: 1 1 calc(50% - 32px);
	}

	body.fj .fj-footer__col--map.e-con {
		flex: 1 1 100%;
	}
}

@media (max-width: 640px) {
	body.fj .fj-footer__grid.e-con {
		--flex-direction: column;
	}

	body.fj .fj-footer__col.e-con {
		flex: 0 0 auto;
		width: 100%;
	}
}

body.fj .fj-footer .fj-logo img {
	width: 220px;
}

body.fj .fj-footer__about {
	margin-top: 20px;
	max-width: 30em;
	font-size: 16px;
	line-height: 1.6;
}

body.fj .fj-footer__about p {
	margin: 0;
}

body.fj .fj-footer__title .elementor-heading-title {
	margin: 4px 0 18px;
	color: var(--fj-white);
	font-family: var(--fj-font-body);
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

body.fj .fj-footer .elementor-icon-list-items {
	display: grid;
	gap: 12px;
}

body.fj .fj-footer .elementor-widget-text-editor,
body.fj .fj-footer .elementor-widget-text-editor p {
	color: rgba(255, 255, 255, 0.72);
}

body.fj .fj-footer .elementor-icon-list-item,
body.fj .fj-footer .elementor-icon-list-item a,
body.fj .fj-footer .elementor-icon-list-text {
	align-items: flex-start !important;
	color: rgba(255, 255, 255, 0.82) !important;
	font-size: 16px;
	line-height: 1.45;
	text-decoration: none;
}

body.fj .fj-footer .elementor-icon-list-item a:hover,
body.fj .fj-footer .elementor-icon-list-item a:hover .elementor-icon-list-text {
	color: var(--fj-lime) !important;
}

body.fj .fj-footer .elementor-icon-list-icon {
	padding-top: 3px;
}

body.fj .fj-footer .elementor-icon-list-icon svg {
	width: 17px;
	height: 17px;
	fill: var(--fj-lime) !important;
}

body.fj .fj-footer__map iframe,
body.fj .fj-footer__map .elementor-custom-embed {
	display: block;
	width: 100%;
	height: 260px;
	border: 0;
	border-radius: var(--fj-radius);
	filter: saturate(0.85);
}

body.fj .fj-footer__bottom.e-con {
	--flex-direction: row;
	--flex-wrap: wrap;
	--justify-content: space-between;
	--row-gap: 8px;
	--column-gap: 24px;
	width: 100%;
	margin-top: clamp(40px, 5vw, 64px);
	padding-top: 22px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	color: rgba(255, 255, 255, 0.6);
	font-size: 14px;
}

body.fj .fj-footer__bottom p {
	margin: 0;
}

body.fj .fj-footer__bottom a {
	color: rgba(255, 255, 255, 0.78);
}

/* 11. Podstrani ---------------------------------------------------------------- */
body.fj .fj-pagehero.e-con {
	position: relative;
	isolation: isolate;
	min-height: clamp(420px, 62vh, 620px);
	--padding-top: calc(var(--fj-header-h) + 48px);
	--padding-bottom: clamp(36px, 6vw, 72px);
	--padding-left: var(--fj-gutter);
	--padding-right: var(--fj-gutter);
	background-color: var(--fj-ink);
	background-size: cover;
	overflow: hidden;
}

body.fj .fj-pagehero > .e-con-inner {
	justify-content: flex-end;
}

body.fj .fj-pagehero.e-con::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background:
		linear-gradient(0deg, rgba(23, 20, 44, 0.85) 0%, rgba(23, 20, 44, 0.25) 60%, rgba(23, 20, 44, 0.45) 100%),
		linear-gradient(90deg, rgba(23, 20, 44, 0.55) 0%, rgba(23, 20, 44, 0) 70%);
}

body.fj .fj-pagehero .fj-eyebrow .elementor-heading-title {
	color: var(--fj-lime);
}

body.fj .fj-pagehero-title .elementor-heading-title {
	margin: 0;
	color: var(--fj-white);
	font-size: clamp(56px, 9vw, 128px);
	font-weight: 800;
	font-stretch: 75%;
	line-height: 0.9;
	letter-spacing: -0.02em;
}

body.fj .fj-pagehero-sub {
	margin-top: 16px;
	max-width: 36em;
	color: rgba(255, 255, 255, 0.9);
	font-size: clamp(18px, 1.6vw, 22px);
	line-height: 1.5;
}

body.fj .fj-pagehero-sub p {
	margin: 0;
}

/* O nas: besedilo + slika */
body.fj .fj-split.e-con {
	--flex-direction: row;
	--align-items: center;
	--row-gap: clamp(32px, 6vw, 96px);
	--column-gap: clamp(32px, 6vw, 96px);
	width: 100%;
}

body.fj .fj-split + .fj-split.e-con {
	margin-top: var(--fj-section);
}

body.fj .fj-split--reverse.e-con {
	--flex-direction: row-reverse;
}

@media (max-width: 900px) {
	body.fj .fj-split.e-con,
	body.fj .fj-split--reverse.e-con {
		--flex-direction: column;
		--align-items: stretch;
	}

	body.fj .fj-split__text.e-con,
	body.fj .fj-split__media.e-con {
		flex: 0 0 auto;
		width: 100%;
	}
}

body.fj .fj-split__text.e-con {
	--row-gap: 0px;
	--column-gap: 0px;
	flex: 1 1 0;
	min-width: 0;
}

body.fj .fj-split__media.e-con {
	position: relative;
	flex: 1.1 1 0;
	min-width: 0;
}

body.fj .fj-split__media.e-con::before {
	content: '';
	position: absolute;
	inset: 28px -18px -18px 28px;
	z-index: 0;
	border-radius: var(--fj-radius-lg);
	background: var(--fj-lime);
}

body.fj .fj-split--reverse .fj-split__media.e-con::before {
	inset: 28px 28px -18px -18px;
	background: var(--fj-purple-100);
}

body.fj .fj-split__media .elementor-widget-image {
	position: relative;
	z-index: 1;
}

body.fj .fj-split__media img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--fj-radius-lg);
	box-shadow: var(--fj-shadow);
}

@media (max-width: 900px) {
	body.fj .fj-split__media.e-con::before {
		inset: 18px -10px -10px 18px;
	}

	body.fj .fj-split--reverse .fj-split__media.e-con::before {
		inset: 18px 18px -10px -10px;
	}
}

body.fj .fj-prose,
body.fj .fj-richtext {
	font-size: 18px;
	line-height: 1.75;
	color: var(--fj-text);
}

body.fj .fj-richtext p {
	margin: 0 0 1em;
}

body.fj .fj-richtext p:last-child {
	margin-bottom: 0;
}

body.fj .fj-richtext strong {
	color: var(--fj-ink);
	font-weight: 700;
}

body.fj .fj-split .fj-h2 + .fj-richtext,
body.fj .fj-split .fj-h3 + .fj-richtext {
	margin-top: 24px;
}

body.fj .fj-h3 .elementor-heading-title {
	margin: 0;
	font-size: clamp(30px, 3.6vw, 46px);
	font-weight: 800;
	font-stretch: 82%;
	line-height: 1.02;
}

body.fj .fj-quote {
	margin-top: 28px;
	padding: 20px 24px;
	border-left: 4px solid var(--fj-lime);
	border-radius: 0 var(--fj-radius-sm) var(--fj-radius-sm) 0;
	background: var(--fj-stone);
	color: var(--fj-ink);
	font-family: var(--fj-font-head);
	font-size: 22px;
	font-weight: 600;
	line-height: 1.35;
}

body.fj .fj-quote p {
	margin: 0;
}

/* 12. Posamezen prispevek ---------------------------------------------------- */
/* Hello Elementor omeji .site-main na 1140 px — naše predloge so polne širine */
body.fj .site-main.fj-single,
body.fj .site-main.fj-archive,
body.fj .site-main.fj-page,
body.fj .site-main.fj-404 {
	max-width: none;
	width: 100%;
	padding-inline: 0;
	margin: 0;
}

.fj-single__head,
.fj-pagehead {
	padding-top: calc(var(--fj-header-h) + clamp(32px, 5vw, 64px));
	padding-bottom: clamp(40px, 6vw, 80px);
	background:
		radial-gradient(90% 120% at 100% 0%, rgba(168, 207, 69, 0.18) 0%, rgba(168, 207, 69, 0) 60%),
		var(--fj-stone);
}

.fj-single__head-inner {
	display: grid;
	gap: clamp(28px, 5vw, 72px);
	align-items: center;
}

.fj-single--has-media .fj-single__head-inner {
	grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
}

@media (max-width: 900px) {
	.fj-single--has-media .fj-single__head-inner {
		grid-template-columns: minmax(0, 1fr);
	}
}

.fj-crumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 22px;
	color: var(--fj-muted);
	font-size: 15px;
	font-weight: 600;
}

.fj-crumbs a {
	color: var(--fj-muted) !important;
	text-decoration: none;
}

.fj-crumbs a:hover {
	color: var(--fj-purple) !important;
}

.fj-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--fj-white);
	color: var(--fj-purple-700);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	box-shadow: var(--fj-shadow-sm);
}

.fj-chip--live::before {
	content: '';
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--fj-lime);
	box-shadow: 0 0 0 4px rgba(168, 207, 69, 0.3);
}

body.fj .fj-single__title {
	margin: 18px 0 0;
	font-size: clamp(40px, 6vw, 76px);
	font-weight: 800;
	font-stretch: 80%;
	line-height: 0.98;
	letter-spacing: -0.02em;
	overflow-wrap: anywhere;
	hyphens: auto;
}

.fj-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 22px;
	margin: 26px 0 0;
	padding: 0;
	list-style: none;
	color: var(--fj-muted);
	font-size: 16px;
}

.fj-meta__item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.fj-meta__item svg {
	flex: none;
	color: var(--fj-purple);
}

.fj-meta__item--date {
	color: var(--fj-ink);
	font-size: 18px;
	font-weight: 700;
}

.fj-single__media {
	margin: 0;
	justify-self: end;
	width: 100%;
	max-width: 560px;
}

@media (max-width: 900px) {
	.fj-single__media {
		justify-self: stretch;
		max-width: none;
	}
}

.fj-single__media img {
	display: block;
	width: 100%;
	max-height: 72vh;
	object-fit: contain;
	border-radius: var(--fj-radius-lg);
	background: var(--fj-white);
	box-shadow: var(--fj-shadow-lg);
}

.fj-single__body {
	padding-top: clamp(40px, 6vw, 72px);
}

.fj-prose {
	max-width: 760px;
	margin-inline: auto;
}

.fj-prose > * {
	margin-block: 0 1.1em;
}

.fj-prose h2,
.fj-prose h3 {
	margin-top: 1.6em;
	font-weight: 700;
}

.fj-prose h2 {
	font-size: clamp(28px, 3vw, 36px);
}

.fj-prose h3 {
	font-size: clamp(22px, 2.4vw, 28px);
}

.fj-prose a {
	text-decoration: underline;
	font-weight: 600;
}

.fj-prose ul,
.fj-prose ol {
	padding-left: 1.3em;
}

.fj-prose li {
	margin-bottom: 0.4em;
}

.fj-prose li::marker {
	color: var(--fj-purple);
}

.fj-prose img,
.fj-prose video,
.fj-prose .wp-block-image img {
	border-radius: var(--fj-radius);
}

.fj-prose .wp-block-image,
.fj-prose .wp-block-video,
.fj-prose figure {
	margin-block: 1.6em;
}

.fj-prose .alignwide,
.fj-prose .alignfull,
.fj-prose .wp-block-gallery {
	max-width: none;
}

.fj-prose .wp-block-gallery.has-nested-images {
	gap: 12px;
}

.fj-prose .wp-block-gallery.has-nested-images figure.wp-block-image img {
	border-radius: var(--fj-radius-sm);
}

.fj-prose hr,
.fj-prose .wp-block-separator {
	margin-block: 2.4em;
	border: 0;
	border-top: 2px solid var(--fj-stone-200);
}

.fj-prose blockquote {
	margin-inline: 0;
	padding: 4px 0 4px 22px;
	border-left: 4px solid var(--fj-lime);
	color: var(--fj-ink);
	font-size: 1.1em;
}

/* galerija naj bo širša od besedila na računalniku */
@media (min-width: 1100px) {
	.fj-prose .wp-block-gallery {
		margin-inline: -120px;
	}
}

.fj-single__foot {
	display: grid;
	gap: 28px;
	max-width: calc(760px + var(--fj-gutter) * 2);
	padding-block: clamp(40px, 6vw, 72px) var(--fj-section);
}

.fj-back {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	justify-self: start;
	padding: 12px 20px 12px 16px;
	border-radius: 999px;
	background: var(--fj-purple-50);
	color: var(--fj-purple-700) !important;
	font-weight: 700;
	text-decoration: none !important;
}

.fj-back:hover {
	background: var(--fj-purple);
	color: var(--fj-white) !important;
}

.fj-adjacent {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	padding-top: 28px;
	border-top: 1px solid var(--fj-line);
}

@media (max-width: 600px) {
	.fj-adjacent {
		grid-template-columns: minmax(0, 1fr);
	}
}

.fj-adjacent__link {
	display: grid;
	gap: 4px;
	padding: 18px 20px;
	border: 1px solid var(--fj-line);
	border-radius: var(--fj-radius);
	color: var(--fj-ink) !important;
	text-decoration: none !important;
}

.fj-adjacent__link:hover {
	border-color: var(--fj-purple);
	transform: translateY(-2px);
	box-shadow: var(--fj-shadow-sm);
}

.fj-adjacent__link--next {
	text-align: right;
	grid-column: 2;
}

@media (max-width: 600px) {
	.fj-adjacent__link--next {
		grid-column: auto;
	}
}

.fj-adjacent__label {
	color: var(--fj-muted);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.fj-adjacent__title {
	font-family: var(--fj-font-head);
	font-size: 19px;
	font-weight: 700;
	line-height: 1.25;
}

.fj-comments {
	max-width: calc(760px + var(--fj-gutter) * 2);
	padding-bottom: var(--fj-section);
}

/* 13. Arhivi, 404, navadne strani -------------------------------------------- */
body.fj .fj-pagehead__title {
	margin: 0;
	font-size: clamp(44px, 7vw, 96px);
	font-weight: 800;
	font-stretch: 78%;
	line-height: 0.95;
	letter-spacing: -0.02em;
}

.fj-pagehead__desc {
	margin-top: 14px;
	max-width: 40em;
	color: var(--fj-muted);
}

.fj-page .fj-prose {
	padding-block: clamp(40px, 6vw, 72px) var(--fj-section);
}

.fj-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
	gap: clamp(16px, 2vw, 28px);
	padding-block: clamp(40px, 6vw, 72px);
}

.fj-card {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--fj-line);
	border-radius: var(--fj-radius);
	background: var(--fj-white);
	box-shadow: var(--fj-shadow-sm);
	transition: transform 0.35s var(--fj-ease), box-shadow 0.35s var(--fj-ease);
}

.fj-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--fj-shadow);
}

.fj-card__media {
	display: block;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	background: var(--fj-stone-200);
}

.fj-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.fj-card__body {
	display: grid;
	gap: 10px;
	padding: 22px 24px 24px;
}

body.fj .fj-card__title {
	margin: 0;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.2;
}

.fj-card__title a {
	color: var(--fj-ink) !important;
	text-decoration: none;
}

.fj-card__title a::after {
	content: '';
	position: absolute;
	inset: 0;
}

.fj-card__date {
	justify-self: start;
	margin: 0;
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--fj-purple-50);
	color: var(--fj-purple-700);
	font-size: 15px;
	font-weight: 600;
}

.fj-card__excerpt {
	margin: 0;
	color: var(--fj-muted);
	font-size: 16px;
}

.fj-card__meta {
	margin: 0;
	color: var(--fj-muted);
	font-size: 14px;
}

.fj-archive .navigation.pagination {
	padding-bottom: var(--fj-section);
}

.fj-archive .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
}

.fj-archive .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 46px;
	height: 46px;
	padding: 0 14px;
	border-radius: 999px;
	background: var(--fj-stone);
	color: var(--fj-ink) !important;
	font-weight: 700;
	text-decoration: none !important;
}

.fj-archive .page-numbers.current,
.fj-archive a.page-numbers:hover {
	background: var(--fj-purple);
	color: var(--fj-white) !important;
}

.fj-404__inner {
	min-height: 70vh;
	padding-top: calc(var(--fj-header-h) + 80px);
	padding-bottom: var(--fj-section);
}

.fj-404__inner > p:not(.fj-eyebrow) {
	max-width: 34em;
	font-size: 19px;
}

.fj-404__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 28px;
}

/* 13b. Bodike ob robu, ki se vrtijo ob drsenju -------------------------------
   Kot (--fj-rot) nastavlja assets/js/farjovca.js glede na pomik strani.
   Slika je kvadratna, glavica je v središču → vrti se okoli glavice. */
body.fj .elementor-widget.fj-thistle {
	--fj-size: 420px;
	position: absolute !important;
	z-index: 5;
	width: var(--fj-size) !important;
	max-width: none !important;
	margin: 0 !important;
	pointer-events: none;
	user-select: none;
}

body.fj .fj-thistle img {
	display: block;
	width: 100% !important;
	height: auto !important;
	max-width: none !important;
	transform: rotate(calc(var(--fj-rot, 0) * 1deg));
	will-change: transform;
}

body.fj .fj-spin--ccw img {
	transform: rotate(calc(40deg + var(--fj-rot, 0) * -0.85deg));
}

/* naslovnica: spodaj desno (glavica pokukne izza kartice z dogodkom) */
body.fj .fj-hero > .e-con-inner {
	position: static;
}

body.fj .fj-hero__row.e-con {
	position: relative;
	z-index: 2;
}

body.fj .elementor-widget.fj-thistle--hero {
	--fj-size: clamp(300px, 30vw, 460px);
	right: calc(var(--fj-size) * -0.28);
	bottom: calc(var(--fj-size) * -0.28);
}

/* prihajajoči dogodki: levo, sega čez rob v temno sekcijo s številkami */
body.fj .fj-home-events > .e-con-inner {
	position: static;
}

body.fj .fj-home-events .fj-sechead,
body.fj .fj-home-events .fj-grid {
	position: relative;
	z-index: 2;
}

body.fj .elementor-widget.fj-thistle--left {
	--fj-size: clamp(260px, 30vw, 440px);
	left: calc(var(--fj-size) * -0.42);
	bottom: calc(var(--fj-size) * -0.25);
}

@media (max-width: 1024px) {
	/* na telefonu/tablici je kartica čez celo širino → bodika zgoraj desno */
	body.fj .elementor-widget.fj-thistle--hero {
		--fj-size: clamp(190px, 50vw, 340px);
		right: calc(var(--fj-size) * -0.26);
		bottom: calc(var(--fj-size) * -0.26);
	}

	body.fj .elementor-widget.fj-thistle--left {
		--fj-size: clamp(170px, 44vw, 320px);
		left: calc(var(--fj-size) * -0.45);
		bottom: calc(var(--fj-size) * -0.3);
	}
}

/* 14. Animacije, dostopnost --------------------------------------------------- */
body.fj :focus-visible {
	outline: 3px solid var(--fj-lime);
	outline-offset: 3px;
	border-radius: 6px;
}

body.fj .fj-hero :focus-visible,
body.fj .fj-pagehero :focus-visible,
body.fj .fj-cta :focus-visible,
body.fj .fj-footer :focus-visible {
	outline-color: var(--fj-white);
}

.fj-anim .fj-reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.7s var(--fj-ease), transform 0.7s var(--fj-ease);
	transition-delay: var(--fj-delay, 0s);
}

.fj-anim .fj-reveal.is-in {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
	}
}

/* Elementor urejevalnik: glava ne sme prekrivati vsebine */
body.elementor-editor-active.fj #masthead {
	position: relative;
}

/* 13c. 10 let društva: značka + konfeti ------------------------------------- */
body.fj .elementor-widget.fj-hero-badge {
	position: absolute !important;
	z-index: 4;
	top: 26px;
	left: 430px;
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
}

@media (max-width: 1024px) {
	body.fj .elementor-widget.fj-hero-badge {
		left: auto;
		right: 0;
		top: 30px;
	}
}

.fj-10let-wrap {
	position: relative;
	width: 156px;
	height: 156px;
}

.fj-10let__bits {
	position: absolute;
	inset: -26px;
	width: calc(100% + 52px);
	height: calc(100% + 52px);
	pointer-events: none;
}

.fj-10let {
	position: relative;
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: radial-gradient(circle at 35% 30%, var(--fj-lime-300) 0%, var(--fj-lime) 62%);
	color: var(--fj-ink);
	cursor: pointer;
	transform: rotate(-10deg);
	box-shadow: 0 22px 40px -18px rgba(10, 8, 25, 0.75), inset 0 0 0 3px rgba(255, 255, 255, 0.35);
	transition: transform 0.35s var(--fj-ease);
}

.fj-10let:hover,
.fj-10let:focus-visible {
	transform: rotate(-3deg) scale(1.05);
}

.fj-10let__ring {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	overflow: visible;
	transform: rotate(calc(var(--fj-rot, 0) * -0.6deg));
}

.fj-10let__ring text {
	fill: var(--fj-purple-700);
	font-family: var(--fj-font-body);
	font-size: 15px;
	font-weight: 800;
	letter-spacing: 0.08em;
}

.fj-10let__center {
	display: flex;
	flex-direction: column;
	align-items: center;
	line-height: 1;
}

.fj-10let__num {
	font-family: var(--fj-font-head);
	font-size: 60px;
	font-weight: 800;
	font-stretch: 75%;
	line-height: 0.82;
	letter-spacing: -0.02em;
}

.fj-10let__let {
	margin-top: 2px;
	color: var(--fj-purple-700);
	font-family: var(--fj-font-head);
	font-size: 17px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

@media (max-width: 767px) {
	.fj-10let-wrap {
		width: 104px;
		height: 104px;
	}

	.fj-10let__num {
		font-size: 40px;
	}

	.fj-10let__let {
		font-size: 12px;
	}

	.fj-10let__ring text {
		font-size: 16px;
	}
}

/* konfeti (platno, ki ga ustvari farjovca.js) — pod bodikami, nad vsebino naslovne slike */
.fj-confetti {
	position: absolute;
	inset: 0;
	z-index: 4;
	width: 100%;
	height: 100%;
	pointer-events: none;
}

/* H1 naslovnice: »Športno · kulturno · turistično« (majhno) + »Društvo Farjovca« (veliko) = en naslov */
body.fj .fj-hero-title .fj-hero-pre {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 18px;
	color: var(--fj-lime);
	font-family: var(--fj-font-body);
	font-size: 14px;
	font-weight: 700;
	font-stretch: 100%;
	letter-spacing: 0.16em;
	line-height: 1.3;
	text-transform: uppercase;
	text-shadow: none;
}

body.fj .fj-hero-title .fj-hero-pre::before {
	content: '';
	width: 28px;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
	flex: none;
}

@media (max-width: 480px) {
	body.fj .fj-hero-title .fj-hero-pre {
		font-size: 12px;
		letter-spacing: 0.12em;
	}

	body.fj .fj-hero-title .fj-hero-pre::before {
		width: 20px;
	}
}

/* 13d. Arhiv s filtri (Dogodki, Novice) ----------------------------------- */
.fj-arhiv {
	scroll-margin-top: calc(var(--fj-header-h) + 16px);
}

.fj-filtri {
	display: grid;
	gap: 14px;
	margin-bottom: 18px;
	padding: 18px 20px;
	border: 1px solid var(--fj-line);
	border-radius: var(--fj-radius);
	background: var(--fj-white);
	box-shadow: var(--fj-shadow-sm);
}

.fj-filtri__skupina {
	display: grid;
	grid-template-columns: 70px minmax(0, 1fr);
	align-items: center;
	gap: 12px;
}

.fj-filtri__oznaka {
	color: var(--fj-muted);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.fj-filtri__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

body.fj a.fj-chipf {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 8px 16px;
	border: 1.5px solid var(--fj-line);
	border-radius: 999px;
	background: var(--fj-white);
	color: var(--fj-ink);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
}

body.fj a.fj-chipf:hover {
	border-color: var(--fj-purple);
	color: var(--fj-purple-700);
}

body.fj a.fj-chipf.is-active {
	border-color: var(--fj-purple);
	background: var(--fj-purple);
	color: var(--fj-white);
}

@media (max-width: 640px) {
	.fj-filtri {
		padding: 14px;
	}

	.fj-filtri__skupina {
		grid-template-columns: minmax(0, 1fr);
		gap: 8px;
	}

	/* na telefonu čipi v eni vrstici z drsenjem vstran */
	.fj-filtri__chips {
		flex-wrap: nowrap;
		overflow-x: auto;
		margin-inline: -14px;
		padding: 2px 14px 6px;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}

	.fj-filtri__chips::-webkit-scrollbar {
		display: none;
	}
}

.fj-arhiv__stevec {
	margin: 0 0 18px;
	color: var(--fj-muted);
	font-size: 15px;
}

.fj-arhiv__stevec strong {
	color: var(--fj-ink);
}

.fj-arhiv .fj-cards {
	padding-block: 0;
}

.fj-arhiv .fj-card[hidden],
.fj-arhiv .fj-card.is-vec {
	display: none;
}

.fj-arhiv__prazno {
	padding: 28px;
	border-radius: var(--fj-radius);
	background: var(--fj-white);
	text-align: center;
}

.fj-arhiv__vec {
	display: flex;
	justify-content: center;
	margin-top: 36px;
}

.fj-arhiv__vec [hidden] {
	display: none;
}

.fj-card__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
}

.fj-tag {
	display: inline-flex;
	padding: 3px 10px;
	border-radius: 999px;
	background: var(--fj-stone);
	color: var(--fj-text);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.fj-tag--koncert { background: #f0ecff; color: #4f4795; }
.fj-tag--kultura { background: #fdf0e3; color: #8a4b12; }
.fj-tag--pohod   { background: #eef6dc; color: #4a6413; }
.fj-tag--sport   { background: #e3f2fb; color: #1f5b80; }
.fj-tag--drugo   { background: var(--fj-stone); color: var(--fj-text); }

/* slika kartice vedno zapolni okvir 3:2 (splošno pravilo img{height:auto} bi jo skrajšalo) */
body.fj .fj-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s var(--fj-ease);
}

body.fj .fj-card:hover .fj-card__media img {
	transform: scale(1.04);
}

/* 13e. Pas »10 let« pod naslovno sliko (stalni konfeti v ozadju) ------------ */
body.fj .fj-anniv.e-con {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	--padding-top: clamp(40px, 6vw, 64px);
	--padding-bottom: clamp(40px, 6vw, 64px);
	--padding-left: var(--fj-gutter);
	--padding-right: var(--fj-gutter);
	background-color: var(--fj-lime);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='180' viewBox='0 0 260 180'%3E%3Cg opacity='.7'%3E%3Crect x='14' y='18' width='7' height='14' rx='1.5' fill='%235E56A8' transform='rotate(-25 17 25)'/%3E%3Ccircle cx='62' cy='40' r='3.5' fill='%23fff'/%3E%3Crect x='104' y='12' width='6' height='12' rx='1.5' fill='%23211D3D' transform='rotate(30 107 18)'/%3E%3Ccircle cx='150' cy='30' r='3' fill='%235E56A8'/%3E%3Crect x='196' y='22' width='7' height='13' rx='1.5' fill='%23fff' transform='rotate(-40 199 28)'/%3E%3Ccircle cx='238' cy='54' r='4' fill='%238F84D6'/%3E%3Crect x='30' y='88' width='6' height='12' rx='1.5' fill='%23fff' transform='rotate(50 33 94)'/%3E%3Ccircle cx='86' cy='104' r='3' fill='%23211D3D'/%3E%3Crect x='128' y='82' width='7' height='14' rx='1.5' fill='%238F84D6' transform='rotate(-15 131 89)'/%3E%3Ccircle cx='176' cy='96' r='3.5' fill='%23fff'/%3E%3Crect x='220' y='110' width='6' height='12' rx='1.5' fill='%235E56A8' transform='rotate(35 223 116)'/%3E%3Ccircle cx='18' cy='150' r='3' fill='%238F84D6'/%3E%3Crect x='64' y='146' width='7' height='13' rx='1.5' fill='%235E56A8' transform='rotate(-35 67 152)'/%3E%3Ccircle cx='118' cy='160' r='3.5' fill='%23fff'/%3E%3Crect x='160' y='140' width='6' height='12' rx='1.5' fill='%23211D3D' transform='rotate(20 163 146)'/%3E%3Ccircle cx='206' cy='164' r='3' fill='%235E56A8'/%3E%3C/g%3E%3C/svg%3E");
	background-size: 260px 180px;
}

body.fj .fj-anniv__row.e-con {
	--flex-direction: row;
	--align-items: center;
	--justify-content: center;
	--row-gap: 20px;
	--column-gap: clamp(24px, 4vw, 48px);
	--container-widget-width: initial;
	width: 100%;
}

body.fj .fj-anniv__text.e-con {
	--row-gap: 0px;
	--column-gap: 0px;
	flex: 0 1 620px;
	min-width: 0;
}

body.fj .elementor-widget.fj-anniv-badge {
	flex: none;
	width: auto !important;
	margin: 0 !important;
}

body.fj .fj-anniv-title .elementor-heading-title {
	margin: 0;
	color: var(--fj-ink);
	font-size: clamp(34px, 5vw, 60px);
	font-weight: 800;
	font-stretch: 80%;
	line-height: 1;
	letter-spacing: -0.02em;
}

body.fj .fj-anniv-lead {
	margin-top: 10px;
	color: var(--fj-ink);
	font-size: clamp(16px, 1.5vw, 19px);
	font-weight: 500;
	line-height: 1.5;
}

body.fj .fj-anniv-lead p {
	margin: 0;
}

/* značka na limetini podlagi: vijolična */
body.fj .fj-anniv .fj-10let {
	background: radial-gradient(circle at 35% 30%, #7a71c7 0%, var(--fj-purple) 62%);
	color: var(--fj-white);
	box-shadow: 0 18px 36px -16px rgba(33, 29, 61, 0.65), inset 0 0 0 3px rgba(255, 255, 255, 0.25);
}

body.fj .fj-anniv .fj-10let__let {
	color: var(--fj-lime);
}

body.fj .fj-anniv .fj-10let__ring text {
	fill: var(--fj-white);
}

@media (max-width: 767px) {
	body.fj .fj-anniv__row.e-con {
		--flex-direction: column;
		text-align: center;
	}

	body.fj .fj-anniv__text.e-con {
		flex: 0 0 auto;
		width: 100%;
	}

	body.fj .fj-anniv .fj-10let-wrap {
		width: 120px;
		height: 120px;
	}

	body.fj .fj-anniv .fj-10let__num {
		font-size: 46px;
	}

	body.fj .fj-anniv .fj-10let__let {
		font-size: 14px;
	}
}

/* 13f. Naslovna slika na telefonu: naslov zgoraj, manjša prosojna kartica spodaj */
@media (max-width: 767px) {
	body.fj .fj-hero.e-con {
		--padding-bottom: 104px; /* prostor za bodiko v spodnjem desnem kotu */
	}

	body.fj .fj-hero > .e-con-inner {
		flex: 1 1 auto;
	}

	body.fj .fj-hero__row.e-con {
		flex: 1 1 auto;
		--justify-content: space-between;
	}

	body.fj .fj-hero__aside.e-con {
		max-width: none;
	}

	body.fj .fj-hero .fj-next {
		gap: 12px;
		padding: 10px 46px 10px 10px;
		border: 1px solid rgba(255, 255, 255, 0.22);
		background: rgba(23, 20, 44, 0.5);
		color: var(--fj-white) !important;
		box-shadow: none;
	}

	body.fj .fj-hero .fj-next__media {
		width: 56px;
		height: 56px;
		border-radius: 10px;
	}

	body.fj .fj-hero .fj-next__label {
		color: var(--fj-lime);
		font-size: 11px;
	}

	body.fj .fj-hero .fj-next__title {
		font-size: 17px;
	}

	body.fj .fj-hero .fj-next__date {
		color: rgba(255, 255, 255, 0.78);
		font-size: 13px;
	}

	body.fj .fj-hero .fj-next__count {
		padding: 4px 10px;
		font-size: 13px;
	}

	body.fj .fj-hero .fj-next__count b {
		font-size: 17px;
	}

	body.fj .fj-hero .fj-next__cta {
		top: 50%;
		right: 10px;
		width: 28px;
		height: 28px;
		transform: translateY(-50%);
		background-color: var(--fj-lime);
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23211D3D' d='M13.3 5.3a1 1 0 0 1 1.4 0l6 6a1 1 0 0 1 0 1.4l-6 6a1 1 0 0 1-1.4-1.4l4.3-4.3H4a1 1 0 1 1 0-2h13.6l-4.3-4.3a1 1 0 0 1 0-1.4Z'/%3E%3C/svg%3E");
	}

	body.fj .fj-hero .fj-next:hover .fj-next__cta {
		transform: translate(3px, -50%);
	}
}
