/* ==========================================================================
   Kotizacija – prijavnica na dogodek
   Slog za KATERIKOLI Formidable obrazec: večino oblike nastavimo prek
   Formidable spremenljivk (--border-color, --field-height …), zato velja za
   vse obrazce, ne glede na izbran Formidable slog.
   ========================================================================== */

.afk {
	--afk-line: #e4d9d2;
	--afk-shadow: 0 22px 48px -30px rgba(18, 18, 18, 0.35), 0 2px 6px -2px rgba(18, 18, 18, 0.06);
	--afk-sticky: calc(var(--af-admin) + var(--af-navbar-h) + 24px);
	background: var(--af-page);
	color: var(--af-text);
	padding-bottom: clamp(48px, 7vw, 88px);
}
.af-scheme-bela .afk { --afk-line: #e2dfdb; }


/* ---------- Glava ---------- */

.afk-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background: #141211;
	color: #fff;
}
.afk-hero--img {
	background: #141211 var(--afk-img) center / cover no-repeat;
}
.afk-hero--img::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(90deg, rgba(14, 12, 11, 0.96) 0%, rgba(14, 12, 11, 0.86) 48%, rgba(14, 12, 11, 0.55) 100%),
		linear-gradient(0deg, rgba(14, 12, 11, 0.7), transparent 60%);
}
.afk-hero::before {
	/* Rdeča nit ob levem robu – enako kot pri dogodkih. */
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 4px;
	background: var(--af-red);
}
.afk-hero__inner {
	padding-block: clamp(28px, 4vw, 44px) clamp(104px, 11vw, 132px);
}
.afk-back {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin: 0 0 22px -4px;
	padding: 4px 10px 4px 4px;
	border-radius: 999px;
	font-size: 13.5px;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.78) !important;
	transition: color 0.15s, background-color 0.15s;
}
.afk-back .af-icon { width: 18px; height: 18px; }
.afk-back:hover { color: #fff !important; background: rgba(255, 255, 255, 0.1); }
.afk-hero__eyebrow {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin: 0 0 16px;
}
.afk-hero__kicker {
	font-size: 12.5px;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #ff4a4a;
}
.afk-hero__past {
	padding: 4px 9px;
	border-radius: 2px;
	background: rgba(255, 255, 255, 0.14);
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
.af-main .afk-hero__title {
	max-width: 900px;
	margin: 0;
	color: #fff;
	font-size: clamp(27px, 3.6vw, 44px);
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -0.02em;
	text-wrap: balance;
}
.afk-hero__facts {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 28px;
	margin: 22px 0 0;
	padding: 0;
	list-style: none;
	font-size: 15px;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.92);
}
.afk-hero__facts li { display: flex; align-items: center; gap: 9px; }
.afk-hero__facts .af-icon { width: 19px; height: 19px; color: #ff4a4a; flex: none; }

/* ---------- Postavitev ---------- */

.afk-layout {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 372px;
	align-items: start;
	gap: 28px;
	margin-top: clamp(-88px, -8vw, -64px);
}
.afk--solo .afk-layout,
.afk--solo .afk-hero__inner {
	max-width: 900px;
}
.afk--solo .afk-layout { grid-template-columns: minmax(0, 1fr); }

.afk-card {
	background: var(--af-paper);
	border: 1px solid rgba(18, 18, 18, 0.07);
	border-radius: var(--af-radius);
	box-shadow: var(--afk-shadow);
}

.afk-sum__label,
.afk-form__kicker {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 10px;
	font-size: 11.5px;
	font-weight: 800;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: var(--af-red-t);
}
.afk-form__kicker .af-icon { width: 18px; height: 18px; }

/* ---------- Kartica obrazca ---------- */

.afk-form {
	position: relative;
	padding: clamp(22px, 3.6vw, 44px);
}
.afk-form::before {
	content: "";
	position: absolute;
	left: -1px;
	right: -1px;
	top: -1px;
	height: 4px;
	border-radius: var(--af-radius) var(--af-radius) 0 0;
	background: var(--af-red);
}
.afk-form__head {
	padding-bottom: 22px;
	margin-bottom: 6px;
	border-bottom: 1px solid var(--afk-line);
}
.af-main .afk-form__title {
	font-size: clamp(22px, 2.4vw, 28px);
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -0.015em;
}
.afk-form__sub {
	margin: 8px 0 0;
	font-size: 16px;
	color: var(--af-soft);
}
.afk-form__req {
	margin: 12px 0 0;
	font-size: 13px;
	color: var(--af-muted);
}
.afk-form__req span { color: var(--af-red-t); font-weight: 800; }

.afk-notice {
	margin: 18px 0 0;
	padding: 12px 16px;
	border-left: 3px solid #d98a00;
	background: #fff6e5;
	font-size: 14px;
	color: var(--af-text);
}

.afk-closed {
	display: grid;
	justify-items: center;
	gap: 6px;
	padding: 44px 12px 24px;
	text-align: center;
}
.afk-closed > .af-icon {
	width: 56px;
	height: 56px;
	padding: 15px;
	margin-bottom: 8px;
	border-radius: 50%;
	background: var(--af-bg);
	color: var(--af-red-t);
}
.afk-closed p { margin: 0; color: var(--af-soft); }
.afk-closed .afk-closed__title { font-size: 21px; font-weight: 800; color: var(--af-ink); }
.afk-closed .af-btn { margin-top: 16px; }

/* ---------- Formidable: spremenljivke (velja za vse obrazce) ---------- */

.afk-form .frm_forms.with_frm_style {
	--font: var(--af-font);
	--form-width: 100%;
	--fieldset: 0px;
	--fieldset-padding: 0;
	--fieldset-bg-color: transparent;
	--title-size: 22px;
	--title-color: var(--af-ink);
	--title-margin-top: 24px;
	--title-margin-bottom: 8px;
	--form-desc-color: var(--af-soft);
	--form-desc-size: 15px;
	--font-size: 13.5px;
	--label-color: var(--af-ink);
	--weight: 650;
	--label-padding: 0 0 6px 0;
	--required-color: var(--af-red);
	--required-weight: 800;
	--description-font-size: 12.5px;
	--description-color: var(--af-muted);
	--description-weight: 400;
	--field-font-size: 15px;
	--field-height: 48px;
	--line-height: 48px;
	--field-pad: 10px 14px;
	--field-margin: 20px;
	--field-weight: 400;
	--text-color: var(--af-ink);
	--border-color: #d8ccc4;
	--field-border-width: 1px;
	--bg-color: #fff;
	--bg-color-active: #fff;
	--border-color-active: var(--af-red);
	--border-radius: 3px;
	--box-shadow: none;
	--text-color-error: var(--af-ink);
	--bg-color-error: #fff;
	--border-color-error: var(--af-red);
	--border-color-disabled: #ebe3de;
	--bg-color-disabled: #faf6f4;
	--check-font-size: 14.5px;
	--check-label-color: var(--af-text);
	--check-weight: 400;
	--section-font-size: 13px;
	--section-color: var(--af-ink);
	--section-weight: 800;
	--section-pad: 0;
	--section-mar-top: 34px;
	--section-mar-bottom: 18px;
	--section-bg-color: transparent;
	--section-border-width: 0px;
	--submit-font-size: 16px;
	--submit-width: auto;
	--submit-height: 54px;
	--submit-bg-color: var(--af-red);
	--submit-border-color: var(--af-red);
	--submit-border-width: 0px;
	--submit-text-color: #fff;
	--submit-weight: 750;
	--submit-border-radius: 3px;
	--submit-margin: 0;
	--submit-padding: 0 34px;
	--submit-shadow-color: transparent;
	--submit-hover-bg-color: var(--af-red-d);
	--submit-hover-color: #fff;
	--submit-hover-border-color: var(--af-red-d);
	--submit-active-bg-color: var(--af-red-d);
	--submit-active-color: #fff;
	--submit-active-border-color: var(--af-red-d);
	--error-bg: #fff1f0;
	--error-border: #f5c6c2;
	--error-text: #9b1c1c;
	--error-font-size: 14px;
	--success-bg-color: #edf7ef;
	--success-border-color: #bfe3c7;
	--success-text-color: #14532d;
	--success-font-size: 16px;
	--progress-active-bg-color: var(--af-red);
	--progress-color: var(--af-ink);
	--progress-bg-color: #efe6e1;
	--progress-border-color: #efe6e1;
	--progress-size: 30px;
	--toggle-on-color: var(--af-red);
	--slider-color: var(--af-red);
	--date-head-bg-color: var(--af-red);
	--date-head-color: #fff;
	--date-band-color: var(--af-red-d);
	margin: 0;
	font-family: var(--af-font);
	counter-reset: afk-sec;
}

/* Polja */
.afk-form .frm_forms.with_frm_style input[type=text],
.afk-form .frm_forms.with_frm_style input[type=email],
.afk-form .frm_forms.with_frm_style input[type=tel],
.afk-form .frm_forms.with_frm_style input[type=number],
.afk-form .frm_forms.with_frm_style input[type=url],
.afk-form .frm_forms.with_frm_style input[type=password],
.afk-form .frm_forms.with_frm_style input[type=search],
.afk-form .frm_forms.with_frm_style select,
.afk-form .frm_forms.with_frm_style textarea {
	transition: border-color 0.15s, box-shadow 0.15s, background-color 0.15s;
}
.afk-form .frm_forms.with_frm_style input:hover:not(:focus):not([type=checkbox]):not([type=radio]):not([type=submit]),
.afk-form .frm_forms.with_frm_style select:hover:not(:focus),
.afk-form .frm_forms.with_frm_style textarea:hover:not(:focus) {
	border-color: #b9aaa1 !important;
}
.afk-form .frm_forms.with_frm_style input:focus:not([type=checkbox]):not([type=radio]),
.afk-form .frm_forms.with_frm_style select:focus,
.afk-form .frm_forms.with_frm_style textarea:focus {
	border-color: var(--af-red) !important;
	box-shadow: 0 0 0 4px rgba(224, 0, 0, 0.11) !important;
	outline: none;
}
.afk-form .frm_forms.with_frm_style ::placeholder { color: #a39892; opacity: 1; }
.afk-form .frm_forms.with_frm_style textarea { min-height: 120px; line-height: 1.5 !important; }
.afk-form .frm_forms.with_frm_style select { cursor: pointer; }
.afk-form .frm_forms.with_frm_style .frm_primary_label { line-height: 1.35; }
.afk-form .frm_forms.with_frm_style .frm_required { margin-left: 1px; }
.afk-form .frm_forms.with_frm_style .frm_description { margin-top: 6px; line-height: 1.45; }

/* Naslov obrazca (če ga urednik vklopi v Formidable) */
.afk-form .frm_forms.with_frm_style .frm_form_title {
	font-weight: 800;
	letter-spacing: -0.01em;
}

/* Razdelki: samodejno oštevilčeni (01, 02 …) s tanko črto do roba. */
.afk-form .frm_forms.with_frm_style .frm-show-form .frm_section_heading h3[class*="frm_pos_"],
.afk-form .frm_forms.with_frm_style .frm_section_heading > h3 {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 18px !important;
	padding: 0 !important;
	border: 0 !important;
	font-size: 13px !important;
	font-weight: 800 !important;
	line-height: 1.3;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--af-ink) !important;
	counter-increment: afk-sec;
}
.afk-form .frm_forms.with_frm_style .frm_section_heading > h3::before {
	content: counter(afk-sec, decimal-leading-zero);
	display: grid;
	place-items: center;
	flex: none;
	width: 30px;
	height: 30px;
	border-radius: 2px;
	background: var(--af-inv);
	color: #fff;
	font-size: 12px;
	letter-spacing: 0.02em;
}
.afk-form .frm_forms.with_frm_style .frm_section_heading:focus-within > h3::before { background: var(--af-red); }
.afk-form .frm_forms.with_frm_style .frm_section_heading > h3::after {
	content: "";
	flex: 1;
	height: 1px;
	background: var(--afk-line);
}
.afk-form .frm_forms.with_frm_style .frm_section_heading {
	margin-top: 34px;
}
.afk-form .frm_forms.with_frm_style .frm_fields_container > .frm_section_heading:first-of-type,
.afk-form .frm_forms.with_frm_style .frm_fields_container > input + .frm_section_heading {
	margin-top: 26px;
}
/* Zložljiv razdelek (Formidable »collapsible«). */
.afk-form .frm_forms.with_frm_style .frm_section_heading > h3.frm_trigger { cursor: pointer; }
.afk-form .frm_forms.with_frm_style .frm_section_heading > h3 .frm_icon_font,
.afk-form .frm_forms.with_frm_style .frm_section_heading > h3 svg { order: 3; }

/* Ponavljajoči razdelek (npr. več udeležencev) */
.afk-form .frm_forms.with_frm_style .frm_repeat_sec {
	margin: 0;
	padding: 0;
	border: 0;
}
.afk-form .frm_forms.with_frm_style .frm_repeat_sec + .frm_repeat_sec {
	margin-top: 18px;
	padding-top: 22px;
	border-top: 1px dashed var(--afk-line);
}
.afk-form .frm_forms.with_frm_style .frm_repeat_buttons:not(.frm_hidden) {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 4px;
}
.afk-form .frm_forms.with_frm_style .frm_repeat_buttons .frm_button {
	gap: 6px;
	height: auto !important;
	padding: 8px 14px !important;
	border: 1px dashed #c8b9b0 !important;
	border-radius: 3px !important;
	background: transparent !important;
	box-shadow: none !important;
	color: var(--af-ink) !important;
	font-size: 13px !important;
	font-weight: 650 !important;
	line-height: 1.2 !important;
	text-decoration: none !important;
	transition: border-color 0.15s, color 0.15s, background-color 0.15s;
}
.afk-form .frm_forms.with_frm_style .frm_form_field.frm_repeat_buttons .frm_button svg.frm-svg-icon,
.afk-form .frm_forms.with_frm_style .frm_form_field.frm_repeat_buttons .frm_button:hover svg.frm-svg-icon { width: 14px; height: 14px; fill: currentColor !important; }
.afk-form .frm_forms.with_frm_style .frm_repeat_buttons .frm_add_form_row:hover {
	border-color: var(--af-red) !important;
	border-style: solid !important;
	color: var(--af-red-t) !important;
	background: #fff5f3 !important;
}
.afk-form .frm_forms.with_frm_style .frm_repeat_buttons .frm_remove_form_row { color: var(--af-muted) !important; }
.afk-form .frm_forms.with_frm_style .frm_repeat_buttons .frm_remove_form_row:hover { color: var(--af-ink) !important; border-color: var(--af-ink) !important; }

/* Izbirni gumbi in potrditvena polja */
/* Globalni »Custom CSS« v nastavitvah Formidable izbirna polja skrije in
   (prek JS) doda <span> kot okvirček. Tu poenotimo oboje: če <span> obstaja,
   je okvirček on, sicer je viden izvorni input. */
.afk-form .frm_forms.with_frm_style .frm_radio,
.afk-form .frm_forms.with_frm_style .frm_checkbox { margin: 0 !important; }
.afk-form .frm_forms.with_frm_style .frm_radio label,
.afk-form .frm_forms.with_frm_style .frm_checkbox label {
	display: block !important;
	position: relative !important;
	height: auto !important;
	min-height: 20px;
	padding: 0 0 0 30px !important;
	text-indent: 0 !important;
	line-height: 1.45 !important;
	vertical-align: top;
	cursor: pointer;
}
.afk-form .frm_forms.with_frm_style .frm_radio input[type=radio],
.afk-form .frm_forms.with_frm_style .frm_checkbox input[type=checkbox],
.afk-form .frm_forms.with_frm_style .frm_radio label > span:empty,
.afk-form .frm_forms.with_frm_style .frm_checkbox label > span:empty {
	position: absolute !important;
	left: 0 !important;
	top: 1px !important;
	width: 19px !important;
	min-width: 19px !important;
	height: 19px !important;
	margin: 0 !important;
	border: 1.5px solid #a89a91 !important;
	border-radius: 3px !important;
	background-color: #fff !important;
	opacity: 1 !important;
	visibility: visible !important;
	box-sizing: border-box !important;
	cursor: pointer;
	transition: background-color 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.afk-form .frm_forms.with_frm_style .frm_radio input[type=radio],
.afk-form .frm_forms.with_frm_style .frm_radio label > span:empty { border-radius: 50% !important; }
.afk-form .frm_forms.with_frm_style label:hover > input ~ span:empty,
.afk-form .frm_forms.with_frm_style label:hover > input[type=checkbox]:not(:checked),
.afk-form .frm_forms.with_frm_style label:hover > input[type=radio]:not(:checked) { border-color: var(--af-ink) !important; background-color: #fff !important; }
.afk-form .frm_forms.with_frm_style label > input:checked ~ span:empty {
	border-color: var(--af-red) !important;
	background-color: var(--af-red) !important;
}
.afk-form .frm_forms.with_frm_style .frm_checkbox label > span:empty::after {
	left: 5.5px !important;
	top: 1.5px !important;
	width: 5px !important;
	height: 10px !important;
	border-width: 0 2.5px 2.5px 0 !important;
}
.afk-form .frm_forms.with_frm_style .frm_radio label > span:empty::after {
	left: 4.5px !important;
	top: 4.5px !important;
	width: 7px !important;
	height: 7px !important;
	border: 0 !important;
	border-radius: 50%;
	background: #fff;
	transform: none !important;
}
.afk-form .frm_forms.with_frm_style label > input:focus-visible ~ span:empty,
.afk-form .frm_forms.with_frm_style .frm_radio input[type=radio]:focus-visible,
.afk-form .frm_forms.with_frm_style .frm_checkbox input[type=checkbox]:focus-visible {
	box-shadow: 0 0 0 3px rgba(224, 0, 0, 0.2) !important;
}
.afk-form .frm_forms.with_frm_style .frm_opt_container {
	display: grid;
	gap: 8px;
}
.afk-form .frm_forms.with_frm_style .horizontal_radio .frm_opt_container {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
}
/* Posamezna možnost kot »kartica« – bolj pregledno pri daljših besedilih. */
.afk-form .frm_forms.with_frm_style .vertical_radio .frm_radio,
.afk-form .frm_forms.with_frm_style .vertical_radio .frm_checkbox {
	margin: 0;
	padding: 12px 14px;
	border: 1px solid var(--afk-line);
	border-radius: 3px;
	background: #fff;
	transition: border-color 0.15s, background-color 0.15s;
}
.afk-form .frm_forms.with_frm_style .vertical_radio .frm_radio:hover,
.afk-form .frm_forms.with_frm_style .vertical_radio .frm_checkbox:hover { border-color: #c8b9b0; }
.afk-form .frm_forms.with_frm_style .vertical_radio .frm_radio:has(input:checked),
.afk-form .frm_forms.with_frm_style .vertical_radio .frm_checkbox:has(input:checked) {
	border-color: var(--af-red);
	background: #fff7f5;
}
.afk-form .frm_forms.with_frm_style .frm_other_input { margin-top: 8px !important; }

/* Besedilni (HTML) deli obrazca: pojasnila, soglasja */
.afk-form .frm_forms.with_frm_style .frm_html_container {
	font-size: 13.5px;
	line-height: 1.6;
	color: var(--af-soft);
}
.afk-form .frm_forms.with_frm_style .frm_html_container a,
.afk-form .frm_forms.with_frm_style .frm_checkbox label a,
.afk-form .frm_forms.with_frm_style .frm_description a {
	color: var(--af-red-t);
	text-decoration: underline;
	text-underline-offset: 2px;
}
.afk-form .frm_forms.with_frm_style .frm_html_container p { margin: 0 0 8px; }
.afk-form .frm_forms.with_frm_style .frm_html_container p:last-child { margin-bottom: 0; }

/* Nalaganje datotek */
.afk-form .frm_forms.with_frm_style .frm_dropzone {
	max-width: 100%;
	border-radius: 3px;
}
.afk-form .frm_forms.with_frm_style .frm_dropzone .dz-message {
	border: 2px dashed #d8ccc4 !important;
	border-radius: 3px;
	background: #fcf8f6 !important;
	color: var(--af-soft);
}
.afk-form .frm_forms.with_frm_style .frm_dropzone .dz-message:hover { border-color: var(--af-red) !important; }

/* Napake in uspešna oddaja */
.afk-form .frm_forms.with_frm_style .frm_error_style {
	margin: 0 0 22px !important;
	padding: 14px 16px !important;
	border: 0 !important;
	border-left: 3px solid var(--af-red) !important;
	border-radius: 0 3px 3px 0 !important;
	background: #fff1f0 !important;
	color: #7f1d1d !important;
	font-size: 14.5px !important;
}
.afk-form .frm_forms.with_frm_style .frm_error {
	margin-top: 6px;
	font-size: 12.5px !important;
	font-weight: 600;
	color: var(--af-red-t) !important;
}
.afk-form .frm_forms.with_frm_style .frm_blank_field input,
.afk-form .frm_forms.with_frm_style .frm_blank_field select,
.afk-form .frm_forms.with_frm_style .frm_blank_field textarea { background: #fffafa !important; }
.afk-form .frm_forms.with_frm_style .frm_message,
.afk-form .frm_message {
	position: relative;
	margin: 8px 0 0;
	padding: 22px 22px 22px 64px;
	border: 1px solid #bfe3c7;
	border-radius: 3px;
	background: #edf7ef;
	color: #14532d;
	font-size: 16px;
	line-height: 1.55;
}
.afk-form .frm_message::before {
	content: "";
	position: absolute;
	left: 20px;
	top: 20px;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #1f8a3f url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.afk-form .frm_message p { margin: 0 0 6px; }
.afk-form .frm_message p:last-child { margin-bottom: 0; }

/* Večstranski obrazci: napredek */
.afk-form .frm_forms.with_frm_style .frm_progress_line input,
.afk-form .frm_forms.with_frm_style .frm_rootline_single input { font-weight: 700 !important; }

/* Oddaja */
.afk-form .frm_forms.with_frm_style .frm_submit {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-top: 10px;
	padding-top: 26px;
	border-top: 1px solid var(--afk-line);
}
.afk-form .frm_forms.with_frm_style .frm_submit button,
.afk-form .frm_forms.with_frm_style .frm_submit input[type=submit] {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-width: 220px;
	margin: 0 !important;
	font-weight: 750 !important;
	letter-spacing: 0.01em;
	cursor: pointer;
	transition: background-color 0.15s, transform 0.15s, box-shadow 0.15s;
	box-shadow: 0 10px 22px -12px rgba(224, 0, 0, 0.7) !important;
}
.afk-form .frm_forms.with_frm_style .frm_submit .frm_button_submit::after {
	content: "";
	width: 18px;
	height: 18px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%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' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: transform 0.15s;
}
.afk-form .frm_forms.with_frm_style .frm_submit .frm_button_submit:hover { transform: translateY(-1px); }
.afk-form .frm_forms.with_frm_style .frm_submit .frm_button_submit:hover::after { transform: translateX(3px); }
.afk-form .frm_forms.with_frm_style .frm_loading_form .frm_button_submit::after { visibility: hidden; }
.afk-form .frm_forms.with_frm_style .frm_submit .frm_prev_page {
	min-width: 0;
	background: transparent !important;
	border: 1px solid #c8b9b0 !important;
	color: var(--af-ink) !important;
	box-shadow: none !important;
}

/* ---------- Povzetek ob strani ---------- */

.afk-aside {
	position: sticky;
	top: var(--afk-sticky);
	display: grid;
	gap: 16px;
}
.afk-sum { overflow: hidden; }
.afk-sum__media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--af-bg-2);
}
.afk-sum__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}
.afk-sum__media:hover img { transform: scale(1.03); }
.afk-sum__body { padding: 20px 22px 22px; }
.af-main .afk-sum__title {
	margin: 0 0 16px;
	font-size: 18px;
	font-weight: 800;
	line-height: 1.3;
	letter-spacing: -0.01em;
}
.afk-sum__title a { transition: color 0.15s; }
.afk-sum__title a:hover { color: var(--af-red-t); }

.afk-facts {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 14.5px;
	line-height: 1.4;
	color: var(--af-text);
}
.afk-facts li { display: flex; align-items: flex-start; gap: 10px; }
.afk-facts .af-icon { flex: none; width: 18px; height: 18px; margin-top: 1px; color: var(--af-red-t); }

.afk-prices {
	margin-top: 20px;
	padding-top: 18px;
	border-top: 1px solid var(--afk-line);
}
.afk-prices__list { display: grid; margin: 0; padding: 0; list-style: none; }
.afk-price {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: baseline;
	gap: 4px 14px;
	padding: 11px 0;
	border-bottom: 1px dashed var(--afk-line);
}
.afk-price:last-child { border-bottom: 0; }
.afk-price.is-current {
	margin-inline: -22px;
	padding-inline: 19px 22px;
	border-left: 3px solid var(--af-red);
	background: #fff6f3;
}
.afk-price__name { font-size: 14px; font-weight: 650; line-height: 1.35; color: var(--af-ink); }
.afk-price__name em,
.afk-price__name a {
	display: block;
	margin-top: 3px;
	font-size: 11px;
	font-style: normal;
	font-weight: 750;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--af-red-t);
}
.afk-price__name a { color: var(--af-muted); text-decoration: underline; text-underline-offset: 2px; }
.afk-price__name a:hover { color: var(--af-red-t); }
.afk-price__amount { text-align: right; white-space: nowrap; }
.afk-price__amount strong { font-size: 17px; font-weight: 800; color: var(--af-ink); letter-spacing: -0.01em; }
.afk-price__amount s { display: block; font-size: 12.5px; color: var(--af-muted); }
.afk-price__text { grid-column: 1 / -1; font-size: 13px; line-height: 1.45; color: var(--af-muted); }

.afk-free {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 11px 14px;
	border-radius: 3px;
	background: #edf7ef;
	color: #14532d;
	font-size: 14.5px;
	font-weight: 700;
}
.afk-free .af-icon { width: 18px; height: 18px; }

.afk-terms {
	margin-top: 16px;
	border-top: 1px solid var(--afk-line);
}
.afk-terms summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 0 0;
	font-size: 13.5px;
	font-weight: 700;
	color: var(--af-ink);
	cursor: pointer;
	list-style: none;
}
.afk-terms summary::-webkit-details-marker { display: none; }
.afk-terms summary::after {
	content: "+";
	display: grid;
	place-items: center;
	flex: none;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--af-bg);
	font-size: 16px;
	font-weight: 600;
	color: var(--af-red-t);
	transition: transform 0.2s;
}
.afk-terms[open] summary::after { transform: rotate(45deg); }
.afk-terms summary:hover { color: var(--af-red-t); }
.afk-terms__text {
	max-height: 340px;
	overflow: auto;
	margin-top: 10px;
	padding-right: 4px;
	font-size: 13px;
	line-height: 1.55;
	color: var(--af-soft);
}
.afk-terms__text p { margin: 0 0 8px; }
.afk-terms__text a { color: var(--af-red-t); text-decoration: underline; }

.afk-help { padding: 20px 22px; }
.afk-help__person { display: flex; gap: 14px; align-items: flex-start; }
.afk-help__person + .afk-help__person { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--afk-line); }
.afk-help__img {
	flex: none;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	object-fit: cover;
}
.afk-help__initials {
	display: grid;
	place-items: center;
	background: var(--af-inv);
	color: #fff;
	font-size: 16px;
	font-weight: 800;
}
.afk-help__name { margin: 0; font-size: 15px; font-weight: 750; color: var(--af-ink); }
.afk-help__role { margin: 2px 0 6px; font-size: 13px; color: var(--af-muted); }
.afk-help a {
	display: flex;
	align-items: center;
	gap: 7px;
	margin-top: 4px;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--af-text);
	overflow-wrap: anywhere;
	transition: color 0.15s;
}
.afk-help a:hover { color: var(--af-red-t); }
.afk-help .af-icon { flex: none; width: 16px; height: 16px; color: var(--af-red-t); }

/* ---------- Odzivnost ---------- */

@media (max-width: 1080px) {
	.afk-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; }
}
@media (max-width: 900px) {
	.afk-layout { grid-template-columns: minmax(0, 1fr); }
	.afk-aside { position: static; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); align-items: start; }
}
@media (max-width: 600px) {
	.afk-hero__facts { flex-direction: column; gap: 8px; font-size: 14.5px; }
	.afk-layout { margin-top: -72px; }
	.afk-form { padding: 22px 18px 26px; }
	.afk-form .frm_forms.with_frm_style { --field-height: 50px; --field-font-size: 16px; }
	.afk-form .frm_forms.with_frm_style .frm_submit button,
	.afk-form .frm_forms.with_frm_style .frm_submit input[type=submit] { width: 100% !important; }
	.afk-aside { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
	.afk *,
	.afk *::before,
	.afk *::after { transition: none !important; }
}
.afk-aside .af-ad { margin: 0; padding: 0; }

/* ==========================================================================
   Temen videz – izjeme (žetoni so v af.css)
   ========================================================================== */
html[data-theme="dark"] .afk { --afk-line: #3a3a3a; --afk-shadow: 0 22px 48px -30px rgba(0, 0, 0, 0.8); }
html[data-theme="dark"] .afk-card { border-color: var(--af-hair); }
html[data-theme="dark"] .afk-notice { background: rgba(217, 138, 0, 0.14); }
html[data-theme="dark"] .afk-price.is-current { background: rgba(224, 0, 0, 0.14); }
html[data-theme="dark"] .afk-free { background: rgba(46, 160, 83, 0.16); color: #8fdba6; }
/* Formidable: iste spremenljivke, temne vrednosti */
html[data-theme="dark"] .afk-form .frm_forms.with_frm_style {
	--border-color: #4a4a4a;
	--bg-color: #171717;
	--bg-color-active: #171717;
	--bg-color-error: #171717;
	--border-color-disabled: #333;
	--bg-color-disabled: #2a2a2a;
	--error-bg: rgba(224, 0, 0, 0.16);
	--error-border: rgba(255, 74, 74, 0.45);
	--error-text: #ffc2bd;
	--success-bg-color: rgba(46, 160, 83, 0.16);
	--success-border-color: rgba(46, 160, 83, 0.5);
	--success-text-color: #8fdba6;
	--progress-bg-color: #333;
	--progress-border-color: #333;
}
html[data-theme="dark"] .afk-form .frm_forms.with_frm_style input:hover:not(:focus):not([type=checkbox]):not([type=radio]):not([type=submit]),
html[data-theme="dark"] .afk-form .frm_forms.with_frm_style select:hover:not(:focus),
html[data-theme="dark"] .afk-form .frm_forms.with_frm_style textarea:hover:not(:focus) { border-color: #6a6a6a !important; }
html[data-theme="dark"] .afk-form .frm_forms.with_frm_style input:focus:not([type=checkbox]):not([type=radio]),
html[data-theme="dark"] .afk-form .frm_forms.with_frm_style select:focus,
html[data-theme="dark"] .afk-form .frm_forms.with_frm_style textarea:focus { box-shadow: 0 0 0 4px rgba(255, 74, 74, 0.22) !important; }
html[data-theme="dark"] .afk-form .frm_forms.with_frm_style ::placeholder { color: #7d756f; }
html[data-theme="dark"] .afk-form .frm_forms.with_frm_style .frm_repeat_buttons .frm_button,
html[data-theme="dark"] .afk-form .frm_forms.with_frm_style .frm_submit .frm_prev_page { border-color: #5a5a5a !important; }
html[data-theme="dark"] .afk-form .frm_forms.with_frm_style .frm_repeat_buttons .frm_add_form_row:hover { border-color: var(--af-red) !important; background: rgba(224, 0, 0, 0.14) !important; }
html[data-theme="dark"] .afk-form .frm_forms.with_frm_style .frm_radio input[type=radio],
html[data-theme="dark"] .afk-form .frm_forms.with_frm_style .frm_checkbox input[type=checkbox],
html[data-theme="dark"] .afk-form .frm_forms.with_frm_style .frm_radio label > span:empty,
html[data-theme="dark"] .afk-form .frm_forms.with_frm_style .frm_checkbox label > span:empty { border-color: #7a7a7a !important; background-color: #171717 !important; }
html[data-theme="dark"] .afk-form .frm_forms.with_frm_style label:hover > input ~ span:empty,
html[data-theme="dark"] .afk-form .frm_forms.with_frm_style label:hover > input[type=checkbox]:not(:checked),
html[data-theme="dark"] .afk-form .frm_forms.with_frm_style label:hover > input[type=radio]:not(:checked) { background-color: #171717 !important; }
html[data-theme="dark"] .afk-form .frm_forms.with_frm_style label > input:checked ~ span:empty { border-color: var(--af-red) !important; background-color: var(--af-red) !important; }
html[data-theme="dark"] .afk-form .frm_forms.with_frm_style .vertical_radio .frm_radio,
html[data-theme="dark"] .afk-form .frm_forms.with_frm_style .vertical_radio .frm_checkbox { background: var(--af-bg); }
html[data-theme="dark"] .afk-form .frm_forms.with_frm_style .vertical_radio .frm_radio:hover,
html[data-theme="dark"] .afk-form .frm_forms.with_frm_style .vertical_radio .frm_checkbox:hover { border-color: #5a5a5a; }
html[data-theme="dark"] .afk-form .frm_forms.with_frm_style .vertical_radio .frm_radio:has(input:checked),
html[data-theme="dark"] .afk-form .frm_forms.with_frm_style .vertical_radio .frm_checkbox:has(input:checked) { border-color: var(--af-red); background: rgba(224, 0, 0, 0.14); }
html[data-theme="dark"] .afk-form .frm_forms.with_frm_style .frm_dropzone .dz-message { border-color: #4a4a4a !important; background: var(--af-bg) !important; }
html[data-theme="dark"] .afk-form .frm_forms.with_frm_style .frm_error_style { background: rgba(224, 0, 0, 0.16) !important; color: #ffc2bd !important; }
html[data-theme="dark"] .afk-form .frm_forms.with_frm_style .frm_blank_field input,
html[data-theme="dark"] .afk-form .frm_forms.with_frm_style .frm_blank_field select,
html[data-theme="dark"] .afk-form .frm_forms.with_frm_style .frm_blank_field textarea { background: rgba(224, 0, 0, 0.1) !important; }
html[data-theme="dark"] .afk-form .frm_forms.with_frm_style .frm_message,
html[data-theme="dark"] .afk-form .frm_message { border-color: rgba(46, 160, 83, 0.5); background: rgba(46, 160, 83, 0.16); color: #8fdba6; }

