/*!
Theme Name: Spis
Theme URI: http://underscores.me/
Author: Holistic Digital Solutions
Author URI: https://holistic-digital.com/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: spis
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Spis is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */


 *{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}





html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}





/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
/* h1 {
	font-size: 2em;
	margin: 0.67em 0;
} */

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

/* p {
	margin-bottom: 1.5em;
} */

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

/* address {
	margin: 0 0 1.5em;
} */

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 1em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

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

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: #4169e1;
}

/* a:visited {
	color: #800080;
} */

/*a:hover,*/
/*a:focus,*/
/*a:active {*/
/*	color: #191970;*/
/*}*/

/*a:focus {*/
/*	outline: thin dotted;*/
/*}*/

/*a:hover,*/
/*a:active {*/
/*	outline: 0;*/
/*}*/

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

/* .post,
.page {
	margin: 0 0 1.5em;
} */

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}


/*Global width*/
/*---------------------*/

:root {
    --global-width-boxed: 1152px;
    --global-width-boxed-2: 1200px;
	--global-width-boxed-3: 1050px;
    --global-width-boxed-4: 624px;
    --global-width-boxed-5: 1220px;
    --global-width-boxed-6: 960px;
    --global-width-full: 100%;
}

.page-width-boxed {
    width: var(--global-width-boxed);
}

@media (max-width: 1192px) {
    .page-width-boxed {
        width: 100%;
        padding: 0 20px;
    }
}

.page-width-boxed-2 {
    width: var(--global-width-boxed-2);
}

@media (max-width: 1240px) {
    .page-width-boxed-2 {
        width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }
}

.page-width-boxed-3 {
	width: var(--global-width-boxed-3);
}

@media (max-width: 1090px) {
    .page-width-boxed-3 {
        width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }
}

.page-width-boxed-4 {
    width: var(--global-width-boxed-4);
}

@media (max-width: 664px) {
    .page-width-boxed-4 {
        width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }
}

.page-width-boxed-5 {
    width: var(--global-width-boxed-5);
}

@media (max-width: 1280px) {
    .page-width-boxed-5 {
        width: 100%;
        padding-left: 30px;
        padding-right: 30px;
    }
}

.page-width-boxed-6 {
    width: var(--global-width-boxed-6);
}

@media (max-width: 1000px) {
    .page-width-boxed-6 {
        width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }
}

.page-width-full {
    width: var(--global-width-full);
}

/*Global fonts*/
:root {
    --global-font-family-1: 'Argent CF', sans-serif;
    --global-font-family-2: 'Trade Gothic', sans-serif;
	--global-font-family-3: 'Argent CF Thin', sans-serif;
	--global-font-family-4: 'Trade Gothic Light', sans-serif;
	--global-font-family-5: 'Argent CF Light', sans-serif;
	--global-font-family-6: 'Trade Gothic Bold', sans-serif;
	--global-font-family-7: 'Inter', sans-serif;
}

@font-face {
    font-family: 'Argent CF';
    src: url('/wp-content/themes/spis/assets/fonts/argent-cf/Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Trade Gothic';
    src: url('/wp-content/themes/spis/assets/fonts/trade-gothic/Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Argent CF Thin';
    src: url('/wp-content/themes/spis/assets/fonts/argent-cf/Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'Trade Gothic Light';
    src: url('/wp-content/themes/spis/assets/fonts/trade-gothic/Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Argent CF Light';
    src: url('/wp-content/themes/spis/assets/fonts/argent-cf/Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Trade Gothic Bold';
    src: url('/wp-content/themes/spis/assets/fonts/trade-gothic/Bold.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

/*Global colors*/

:root {
	--global-color-1: #EEE9DF;
	--global-color-2: #DDD1C5;
	--global-color-3: #1D2C3F;
	--global-color-4: #1C1F2A;
}


/* ================= HEADER ================= */
.header-main {
    position: sticky;
    top: 0;
    background-color: transparent;
    display: flex;
    justify-content: center;
    z-index: 999;
    margin-bottom: -77px;
    padding: 6px 20px;
    transition: background-color 0.5s ease;
}

.header-main.scrolled {
    background-color: var(--global-color-3);
}

.header-container {
    padding: 12px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--global-color-2);
}

/* Logo */
.header-left,
.header-right {
    width: 10%;
}

.header-left a {
    display: flex;
    gap: 8px;
    text-decoration: none;
}

.header-left p {
    padding-top: 3px;
    text-transform: uppercase;
    font-family: var(--global-font-family-1);
    font-size: 24px;
    margin: 0;
    color: var(--global-color-1);
}

/* Menu */
.header-menu {
    display: flex;
    justify-content: center;
    position: relative;
}

/* Desktop menu */
.header-menu ul {
    display: flex;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.header-menu ul li {
    position: relative;
}

.header-menu a {
    text-transform: uppercase;
    color: #DDD1C5;
    font-family: var(--global-font-family-2);
    font-weight: 400;
    font-size: 12px;
    line-height: 18px;
    letter-spacing: 3px;
    text-decoration: none;
}

.header-menu a:hover {
    text-decoration: underline;
}

.header-menu a.active {
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-thickness: 1px;
}

/* ================= DROPDOWN ================= */
.header-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    flex-direction: column;
    min-width: 240px;
    padding: 12px 0;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    z-index: 999;
    gap:0px;
}

.header-menu .sub-menu li {
    width: 100%;
}

.header-menu .sub-menu a {
    display: block;
    padding: 10px 18px;
    font-size: 12px;
    letter-spacing: 1px;
    color: #333;
    text-decoration: none;
}

.header-menu .sub-menu a:hover {
    background: #e6e6e6; 
    text-decoration: none;
}

/* Fix za active/focus da ne menja izgled */
.header-menu .sub-menu a,
.header-menu .sub-menu a:hover,
.header-menu .sub-menu a:focus,
.header-menu .sub-menu a:active {
    background: transparent;
    color: #333;
    text-decoration: none;
}

/* Show dropdown on hover (desktop) */
.header-menu ul li:hover > .sub-menu {
    display: flex;
}

/* ================= MOBILE ================= */
@media (max-width: 1024px) {
    .header-main {
        margin-bottom: -79px;
    }

    .header-container {
        padding-left: 0;
        padding-right: 0;
    }

    /* Hamburger ikona */
    .header-menu::after {
        content: "☰";
        font-size: 28px;
        color: var(--global-color-2);
        cursor: pointer;
        z-index: 1001;
        position: relative;
    }

    .header-menu.active::after {
        content: "✕";
    }

    /* Fullscreen menu */
    .header-menu ul {
        position: fixed;
        inset: 0;
        width: 100vw;
        height: 100vh;
        background: linear-gradient(135deg,#1C1F2A 0%,#1D2C3F 100%);
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        transform: translateY(-100%);
        transition: transform 0.35s ease;
        z-index: 1000;
        padding: 80px 20px 20px;
        margin: 0;
        gap: 0;
    }

    .header-menu.active ul {
        transform: translateY(0);
    }

    /* Mobile links */
    .header-menu ul > li {
        position: relative;
        width: 100%;
        text-align: center;
    }

    .header-menu ul li a {
        font-size: 24px;
        line-height: 30px;
        font-family: var(--global-font-family-3);
        color: var(--global-color-1);
        text-decoration: none;
        letter-spacing: 2px;
        text-transform: uppercase;
        padding: 18px 0;
        display: block;
        position: relative;
    }

    /* Strelica za submenu */
    .header-menu ul li.menu-item-has-children > a::after {
        content: "▼";
        font-size: 14px;
        margin-left: 8px;
        display: inline-block;
        transition: transform 0.3s ease;
    }

    /* Kad je submenu otvoren, strelica ide gore */
    .header-menu ul li.menu-item-has-children > a.submenu-open::after {
        content: "▲";
    }

    /* Submenu mobile – sada static da gura dole */
    .header-menu ul li ul.sub-menu {
        display: none;
        flex-direction: column;
        position: static;       /* umesto absolute */
        transform: none;
        background: transparent;
        padding: 0;
        margin: 0;
        width: 100%;
        align-items: center;
        border-radius: 0;
    }

    .header-menu ul li ul.sub-menu.open {
        display: flex;
    }

    .header-menu ul li ul.sub-menu li a {
        font-size: 18px;
        color: var(--global-color-1);
        font-family: var(--global-font-family-3);
        padding: 6px 12px;
        text-align: center;
        display: block;
        letter-spacing: 1px;
        text-transform: none;
        background: transparent;
    }

    /* Fix za active/focus na mobilnom */
    .header-menu ul li ul.sub-menu li a,
    .header-menu ul li ul.sub-menu li a:hover,
    .header-menu ul li ul.sub-menu li a:focus,
    .header-menu ul li ul.sub-menu li a:active {
        background: transparent;
        color: var(--global-color-1);
        text-decoration: none;
    }

    .header-right {
        display: none;
    }

    .no-scroll {
        overflow: hidden;
        height: 100vh;
    }
}



/*Footer*/

.footer-main {
    display: flex;
    justify-content: center;
    background: linear-gradient(175.27deg, #1C1F2A -151.78%, #1D2C3F 61.94%);
    padding-top: 59px;
    padding-bottom: 53.5px;
    z-index: 9999;
}

.footer-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1200px;
    gap: 80px !important;
}

.footer-container-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-container-left {
	width: 115px;
}

.footer-container-left,
.footer-container-right {
    flex: 0 0 auto;
}

.footer-container-left img {
    display: block;
    max-width: 100%;
    height: auto;
}

.footer-container-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
}

.footer-center-top,
.footer-center-bottom {
    display: grid;
    grid-template-columns: repeat(2, 240px);
    gap: 84px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-middle-spis {
    text-transform: uppercase;
    color: var(--global-color-1);
    font-family: var(--global-font-family-1);
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
}

.footer-middle-text {
    font-family: var(--global-font-family-3);
    color: var(--global-color-1);
    font-size: 16px;
    line-height: 24px;
    font-weight: 100;
}

.hidden {
    visibility: hidden;
}

.footer-column-spis{
	font-family: var(--global-font-family-1);
	color: var(--global-color-1);
	text-transform: uppercase;
	/*line-height:140%;*/
}

.footer-column-spis span {
    font-size: 24px;
}

.top-text-sr {
	font-family: var(--global-font-family-3);
	font-weight: 100;
	color: var(--global-color-1);
	line-height: 24px;
}

.footer-text-about {
	font-family: var(--global-font-family-3);
	font-weight: 100;
	color: var(--global-color-1);
	font-size: 16px;
}

.footer-bottom-text {
	font-family: var(--global-font-family-2);
	color: var(--global-color-1);
}
.footer-container-right a {
    color: var(--global-color-3);
    text-decoration: none;
    padding: 10px 20px;
    background-color: var(--global-color-2);
    border-radius: 40px;
    font-family: var(--global-font-family-2);
    font-size: 14px;
    line-height: 19px;
    display: inline-block;
}

@media (max-width: 1024px) {
    .footer-container-top {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .footer-center-top,
    .footer-center-bottom {
        grid-template-columns: 1fr;
    }
}

.footer-container-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.footer-bottom-left {
    width: 155px;
    display: flex;
    gap: 13.6px;
}

.footer-bottom-left-sm {
	padding-top: 20px;
}

.footer-bottom-left-sm a {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 14px;
    background: rgba(221, 209, 197, 0.15);
}

.footer-bottom-left-sm img {
    width: 16px;
    height: 16px;
}

.footer-bottom-center {
    display: flex;
    justify-content: center;
}

.footer-bottom-grid {
    display: grid;
    grid-template-columns: repeat(2, 240px);
    gap: 84px;
}

.footer-bottom-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-contact-line {
    width: 40px;
    height: 1px;
    background-color: #EEE9DF;
    margin-bottom: 25px;
}

.footer-bottom-contact p {
    font-family: var(--global-font-family-2);
    color: rgba(238, 233, 223, 0.75);
    font-size: 14px;
    line-height: 18px;
    margin: 0;
}


.footer-contact-mail {
    font-family: var(--global-font-family-2);
    color: rgba(238, 233, 223, 0.75);
    font-size: 14px;
    line-height: 140%px;
    text-decoration: none;
}
.footer-phone {
    margin-bottom: 4px;
    font-family: var(--global-font-family-2);
    color: rgba(238, 233, 223, 0.75);
    font-size: 14px;
    line-height: 140%px;
    text-decoration: none;
}

.footer-bottom-right {
	padding-top: 25px;
    width: 155px;
    text-align: right;
    font-family: var(--global-font-family-2);
    font-size: 12px;
    line-height: 16px;
    color: rgba(238, 233, 223, 0.25);
}

.footer-column a,
.footer-center-top a,
.footer-center-bottom a {
    text-decoration: none;
    color: var(--global-color-1); 
}

@media (max-width: 1024px) {

    .footer-main {
        padding-left: 16px;
        padding-right: 16px;
    }

    .footer-container {
        gap: 80px;
    }

    .footer-container-top,
    .footer-container-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 40px;
    }

    .footer-container-left,
    .footer-container-right {
        width: auto;
        display: flex;
        justify-content: center;
    }

    .footer-container-center {
        align-items: center;
    }

    .footer-center-top,
    .footer-center-bottom {
        grid-template-columns: 1fr;
        gap: 24px;
        justify-items: center;
        text-align: center;
    }

    .footer-column {
        align-items: center;
        text-align: center;
    }

    .footer-bottom-left {
        width: auto;
        justify-content: center;
    }

    .footer-bottom-center {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .footer-bottom-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        justify-items: center;
        text-align: center;
    }

    .footer-bottom-contact {
        align-items: center;
        text-align: center;
    }

    .footer-contact-line {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-bottom-right {
        width: auto;
        text-align: center;
    }
}




/* ================= HEADER SINGLE ================= */
.header-single-main {
    position: sticky;
    top: 0;
    background: linear-gradient(180deg, #1C1F2A 16.43%, rgba(29, 44, 63, 0) 445%);
    display: flex;
    justify-content: center;
    z-index: 999;
    height: 70px;
    margin-bottom: -70px;
}

.header-single-main.scrolled {
    background-color: var(--global-color-3);
}

.header-single-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
}

/* Logo */
.header-single-left,
.header-single-right {
    width: 10%;
}

.header-single-left a {
    display: flex;
    gap: 8px;
    text-decoration: none;
    align-items: center;
}

.header-single-left p {
    padding-top: 3px;
    text-transform: uppercase;
    font-family: var(--global-font-family-1);
    font-size: 24px;
    margin: 0;
    color: var(--global-color-1);
}

/* Menu */
.header-single-menu {
    display: flex;
    justify-content: center;
}

.header-single-menu ul {
    display: flex;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.header-single-menu ul li {
    position: relative;
}

.header-single-menu a {
    text-transform: uppercase;
    color: #DDD1C5;
    font-family: var(--global-font-family-2);
    font-weight: 400;
    font-size: 12px;
    line-height: 18px;
    letter-spacing: 3px;
    text-decoration: none;
}

.header-single-menu a:hover {
    text-decoration: underline;
}

.header-single-menu a.active {
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-thickness: 1px;
}

/* ================= DROPDOWN ================= */
.header-single-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    flex-direction: column;
    min-width: 240px;
    padding: 12px 0;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    z-index: 999;
    gap:0px;
}

.header-single-menu .sub-menu li {
    width: 100%;
}

.header-single-menu .sub-menu a {
    display: block;
    padding: 10px 18px;
    font-size: 12px;
    letter-spacing: 1px;
    color: #333;
    text-decoration: none;
}

.header-single-menu .sub-menu a:hover {
    background: #e6e6e6;
}

/* Fix za active/focus da ne menja izgled */
.header-single-menu .sub-menu a,
.header-single-menu .sub-menu a:hover,
.header-single-menu .sub-menu a:focus,
.header-single-menu .sub-menu a:active {
    background: transparent;
    color: #333;
    text-decoration: none;
}

/* Show dropdown on hover (desktop) */
.header-single-menu ul li:hover > .sub-menu {
    display: flex;
}

/* ================= MOBILE ================= */
@media (max-width: 1024px) {
    .header-single-menu {
        position: relative;
    }

    /* Hamburger */
    .header-single-menu::after {
        content: "☰";
        font-size: 28px;
        color: var(--global-color-2);
        cursor: pointer;
        z-index: 1001;
        position: relative;
    }

    .header-single-menu.active::after {
        content: "✕";
    }

    /* Fullscreen menu */
    .header-single-menu ul {
        position: fixed;
        inset: 0;
        width: 100vw;
        height: 100vh;
        background: linear-gradient(135deg, #1C1F2A 0%, #1D2C3F 100%);
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        transform: translateY(-100%);
        transition: transform 0.35s ease;
        z-index: 1000;
        padding: 80px 20px 20px;
        margin: 0;
        gap: 0;
    }

    .header-single-menu.active ul {
        transform: translateY(0);
    }

    /* Glavni linkovi */
    .header-single-menu ul > li {
        position: relative; /* parent za submenu */
        width: 100%;
        text-align: center;
    }

    .header-single-menu ul > li > a {
        font-size: 24px;
        line-height: 30px;
        font-family: var(--global-font-family-3);
        color: var(--global-color-1);
        text-decoration: none;
        text-transform: uppercase;
        letter-spacing: 2px;
        padding: 18px 0;
        display: block;
        position: relative;
    }

    /* Strelica za submenu */
    .header-single-menu ul li.menu-item-has-children > a::after {
        content: "▼";
        font-size: 14px;
        margin-left: 8px;
        display: inline-block;
    }

    /* Submenu sakriven dok se ne otvori */
    .header-single-menu ul li ul.sub-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        background: linear-gradient(135deg, #1C1F2A 0%, #1D2C3F 100%);
        padding: 0;
        margin: 0;
        width: auto;
        align-items: center;
        border-radius: 6px;
    }

    .header-single-menu ul li ul.sub-menu.open {
        display: flex;
        background: transparent;
    }

    .header-single-menu ul li ul.sub-menu li a {
        font-size: 16px;
        color: var(--global-color-1);
        font-family: var(--global-font-family-3);
        padding: 6px 12px;
        text-align: center;
        display: block;
        letter-spacing: 1px;
        text-transform: none;
        background: transparent;
    }

    /* Fix za active/focus na mobilnom */
    .header-single-menu ul li ul.sub-menu li a,
    .header-single-menu ul li ul.sub-menu li a:hover,
    .header-single-menu ul li ul.sub-menu li a:focus,
    .header-single-menu ul li ul.sub-menu li a:active {
        background: transparent;
        color: var(--global-color-1);
        text-decoration: none;
    }

    .header-single-right {
        display: none;
    }

    .no-scroll {
        overflow: hidden;
        height: 100vh;
    }
}



/*.header-menu {*/
/*    display: flex;*/
/*}*/
/*.mobilni-meni {*/
/*    display: none;*/
/*}*/


/*@media (max-width: 1024px) {*/
/*    .header-menu {*/
/*        display: none; */
/*    }*/
/*    .mobilni-meni {*/
/*        display: block;*/
/*    }*/
/*}*/

@media (max-width: 1024px) {
    .header-menu,
    .header-single-menu {
        position: relative;
    }

    /* Hamburger ikona */
    .header-menu::after,
    .header-single-menu::after {
        content: "☰";
        font-size: 28px;
        color: var(--global-color-2);
        cursor: pointer;
        z-index: 1001;
        position: relative;
    }

    .header-menu.active::after,
    .header-single-menu.active::after {
        content: "✕";
    }

    /* Fullscreen menu */
    .header-menu ul,
    .header-single-menu ul {
        position: fixed;
        inset: 0;
        width: 100vw;
        height: 100vh;
        background: linear-gradient(135deg,#1C1F2A 0%,#1D2C3F 100%);
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        transform: translateY(-100%);
        transition: transform 0.35s ease;
        z-index: 1000;
        padding: 80px 20px 20px;
        margin: 0;
        gap: 0;
    }

    .header-menu.active ul,
    .header-single-menu.active ul {
        transform: translateY(0);
    }

    /* Glavni linkovi */
    .header-menu ul > li,
    .header-single-menu ul > li {
        position: relative;
        width: 100%;
        text-align: center;
    }

    .header-menu ul li a,
    .header-single-menu ul li a {
        font-size: 24px;
        line-height: 30px;
        font-family: var(--global-font-family-3);
        color: var(--global-color-1);
        text-decoration: none;
        text-transform: uppercase;
        letter-spacing: 2px;
        padding: 18px 0;
        display: block;
        position: relative;
    }

    /* Strelica za submenu */
    .header-menu ul li.menu-item-has-children > a::after,
    .header-single-menu ul li.menu-item-has-children > a::after {
        content: "▼";
        font-size: 14px;
        margin-left: 8px;
        display: inline-block;
        transition: transform 0.3s ease;
    }

    .header-menu ul li.menu-item-has-children > a.submenu-open::after,
    .header-single-menu ul li.menu-item-has-children > a.submenu-open::after {
        content: "▲";
    }

    /* Submenu mobile */
    .header-menu ul li ul.sub-menu,
    .header-single-menu ul li ul.sub-menu {
        display: none;
        flex-direction: column;
        position: static;
        transform: none;
        background: transparent;
        padding: 0;
        margin: 0;
        width: 100%;
        align-items: center;
        border-radius: 0;
    }

    .header-menu ul li ul.sub-menu.open,
    .header-single-menu ul li ul.sub-menu.open {
        display: flex;
        height:90px;
    }

    .header-menu ul li ul.sub-menu li a,
    .header-single-menu ul li ul.sub-menu li a {
        font-size: 18px;
        color: var(--global-color-1);
        font-family: var(--global-font-family-3);
        padding: 6px 12px;
        text-align: center;
        display: block;
        letter-spacing: 1px;
        text-transform: none;
        background: transparent;
    }

    .header-right,
    .header-single-right {
        display: none;
    }

    .no-scroll {
        overflow: hidden;
        height: 100vh;
    }
}


/*Search post on News page*/
.custom-search-form {
  position: relative;
}

.custom-search-form .search-field {
  display: none; 
}

.custom-search-form.active .search-field {
  display: inline-block;
}

.custom-search-form.active .search-trigger {
  display: none; 
}

.search-trigger {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
}

.search-trigger img {
    width: 13px;
    height: 13px;
}

.search-trigger span {
    text-transform: uppercase;
    font-family: var(--global-font-family-2);
    font-weight: 400;
    font-size: 11px;
    color: #606060;
    line-height: 140%;
    letter-spacing: 3px;
}

.custom-search-form input {
    outline: none;
    font-family: var(--global-font-family-2);
    font-weight: 400;
    font-size: 11px;
    color: #606060;
    line-height: 140%;
    letter-spacing: 3px;
    padding: 5px 10px;  
    border-radius: 0px;
}

.search-results-title {
    color: var(--global-color-3);
    font-size: 36px;
    text-align: center;
    line-height: 140%;
    font-family: var(--global-font-family-2);
    font-weight: 400;
    padding-bottom: 65px;
}

.search-results-title span {
    color: var(--global-color-2);
    font-family: var(--global-font-family-6);
}

.search-results-main {
  padding: 200px 0 50px 0;
}

.search-results-container.page-width-boxed {
  max-width: 1150px;
  margin: 0 auto;
}

.search-results-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
}

.search-results-cards .news-card {
  flex: 1 1 300px;
  max-width: 362px;
  box-sizing: border-box;
}

@media (max-width: 1024px) {
  .search-results-cards .news-card {
    flex: 1 1 calc(50% - 32px);
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .search-results-container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .search-results-cards {
    flex-direction: column;
    gap: 40px;
    width: 100%;
  }

  .search-results-cards .news-card {
    width: 100%;
    max-width: 100%;
  }
}

/*Privacy policy*/
.text-main {
    background: var(--global-color-1);
    padding-top: 160px;
    padding-bottom: 80px;
}

.text-container {
    margin: 0 auto;
}

.text-title-main {
    font-family: var(--global-font-family-3);
    font-weight: 100;
    font-size: 64px;
    line-height: 140%;
    color: var(--global-color-3);
    padding-bottom: 20px;
}

.text-content-holder h2 {
    font-family: var(--global-font-family-5);
    font-weight: 300;
    font-size: 36px;
    line-height: 140%;
    padding-top: 40px;
    padding-bottom: 20px;
    color: var(--global-color-3);
}

.text-content-holder p {
    color: var(--global-color-3);
    font-family: var(--global-font-family-4);
}

@media (max-width: 768px) {

    .text-main {
        padding-top: 120px;
        padding-bottom: 60px;
        text-align: left;
    }

    .text-title-main {
        font-size: 36px;
        line-height: 130%;
        padding-bottom: 16px;
    }

    .text-content-holder h2 {
        font-size: 24px;
        line-height: 130%;
        padding-top: 24px;
        padding-bottom: 12px;
        text-align: left;
    }

    .text-content-holder p {
        font-size: 16px;
        line-height: 150%;
        text-align: left;
    }
}

/*404*/
.page-404 {
    height:100vh;
    background-color: var(--global-color-2);
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
}

.page-404-content h1 {
    color:var(--global-color-3);
    font-size:96px;
    line-height:120%;
    font-family: var(--global-font-family-5);
    font-weight: 300;
}

.page-404-content h2 {
    color:var(--global-color-3);
    font-size:48px;
    line-height:120%;
    font-family: var(--global-font-family-5);
    font-weight: 300;
}

.page-404-content p {
    color:var(--global-color-3);
    font-size:20px;
    line-height:120%;
    font-family: var(--global-font-family-3);
    font-weight: 100;
    margin-top:20px;
    margin-bottom:40px;
}

.page-404-content a {
    background-color: #FFB259;
    color: #1D2C3F;
    font-family: var(--global-font-family-2);
    font-size: 18px;
    line-height: 20px;
    letter-spacing: 0.5px;
    padding: 15px 25px;
    text-align: center;
    border-radius: 54px;
    text-decoration: none;
}

@media (max-width: 768px) {

    .page-404 {
        padding: 0 20px;
    }

    .page-404-content h1 {
        font-size: 56px;
        line-height: 120%;
    }

    .page-404-content h2 {
        font-size: 28px;
        line-height: 120%;
        margin-top: 10px;
    }

    .page-404-content p {
        font-size: 16px;
        line-height: 140%;
        margin-top: 16px;
        margin-bottom: 28px;
    }

    .page-404-content a {
        font-size: 16px;
        line-height: 18px;
        padding: 12px 22px;
        border-radius: 40px;
    }
    
    .page-404-content p br {
        display:none;
    }
}


