/*
WP Podrška Theme — shared shell
Page-specific visual sections will be supplied as Elementor HTML blocks.
*/
:root{
	--wpp-bg:#171717;
	--wpp-bg-soft:#1d1c1a;
	--wpp-paper:#f4f0e9;
	--wpp-white:#fff;
	--wpp-text:#181818;
	--wpp-muted:#746d64;
	--wpp-line:#e1d8cd;
	--wpp-amber:#d88924;
	--wpp-amber-2:#f0a842;
	--wpp-green:#67b47c;
	--wpp-radius:22px;
	--wpp-width:1180px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
	margin:0;
	background:#fff;
	color:var(--wpp-text);
	font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
	line-height:1.62;
	-webkit-font-smoothing:antialiased;
}
body.wpp-menu-open{overflow:hidden}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto}
button,input,textarea,select{font:inherit}
.screen-reader-text{
	position:absolute!important;
	width:1px;height:1px;padding:0;margin:-1px;
	overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0
}
.wpp-skip-link{
	position:fixed;left:12px;top:-80px;z-index:99999;
	background:#fff;color:#111;padding:10px 14px;border-radius:8px
}
.wpp-skip-link:focus{top:12px}
.wpp-site-header{
	position:sticky;top:0;z-index:1000;
	background:rgba(18,18,18,.95);
	border-bottom:1px solid rgba(255,255,255,.07);
	backdrop-filter:blur(14px);
}
.wpp-header-inner{
	width:min(var(--wpp-width),calc(100% - 40px));
	height:76px;margin:auto;
	display:flex;align-items:center;gap:28px;
}
.wpp-brand{display:inline-flex;align-items:center;gap:11px;color:#fff;font-weight:850;letter-spacing:-.025em}
.wpp-brand-mark{
	width:38px;height:38px;display:grid;place-items:center;
	border-radius:10px;color:#17120d;font-size:13px;font-weight:950;
	background:linear-gradient(135deg,var(--wpp-amber),var(--wpp-amber-2));
	box-shadow:0 8px 25px rgba(216,137,36,.22);
}
.wpp-brand-name{font-size:19px}
.wpp-primary-nav{margin-left:auto}
.wpp-menu,.wpp-footer-menu{list-style:none;padding:0;margin:0}
.wpp-menu{display:flex;align-items:center;gap:24px}
.wpp-menu a{color:#d9d2ca;font-size:14px;font-weight:700}
.wpp-menu a:hover,.wpp-menu .current-menu-item>a{color:#fff}
.wpp-header-cta,.wpp-button{
	display:inline-flex;align-items:center;justify-content:center;
	padding:12px 17px;border-radius:13px;font-weight:850;
	background:linear-gradient(135deg,var(--wpp-amber),var(--wpp-amber-2));
	color:#17120d;
}
.wpp-menu-toggle{
	display:none;margin-left:auto;width:42px;height:42px;
	background:transparent;border:0;padding:9px;cursor:pointer
}
.wpp-menu-toggle>span:not(.screen-reader-text){
	display:block;height:2px;background:#fff;margin:5px 0;border-radius:2px
}
.wpp-main{min-height:55vh}
.wpp-page-content{margin:0;padding:0}
.wpp-page-content>.elementor{margin:0}
.wpp-page-content .elementor-section-wrap{margin:0}
.wpp-content-shell{width:min(980px,calc(100% - 40px));margin:auto;padding:78px 0 92px}
.wpp-article-header,.wpp-archive-header{max-width:780px;margin-bottom:42px}
.wpp-eyebrow{
	margin:0 0 10px;color:#b86c10;
	font-size:12px;font-weight:900;letter-spacing:.13em;text-transform:uppercase
}
.wpp-article-header h1,.wpp-archive-header h1{
	font-size:clamp(38px,5vw,62px);line-height:1.06;
	letter-spacing:-.045em;margin:0 0 12px
}
.wpp-article-meta{color:var(--wpp-muted)}
.wpp-featured-image{margin:0 0 36px;border-radius:24px;overflow:hidden}
.wpp-entry-content{max-width:800px;font-size:17px}
.wpp-entry-content h2{font-size:32px;line-height:1.15;letter-spacing:-.03em;margin-top:46px}
.wpp-entry-content h3{font-size:24px;margin-top:34px}
.wpp-entry-content p,.wpp-entry-content li{color:#504b45}
.wpp-post-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}
.wpp-post-card{
	overflow:hidden;border:1px solid var(--wpp-line);
	border-radius:var(--wpp-radius);background:#fff
}
.wpp-post-thumb{aspect-ratio:16/9;overflow:hidden;background:var(--wpp-paper)}
.wpp-post-thumb img{width:100%;height:100%;object-fit:cover}
.wpp-post-card-body{padding:22px}
.wpp-post-card small{color:var(--wpp-muted)}
.wpp-post-card h2{font-size:24px;line-height:1.15;letter-spacing:-.025em;margin:8px 0}
.wpp-post-card p{color:var(--wpp-muted);margin:0}
.wpp-error-page{padding:70px 0;text-align:center}
.wpp-error-code{font-size:90px;font-weight:950;color:var(--wpp-amber);margin:0;line-height:1}
.wpp-site-footer{background:#101010;color:#9f978e;padding:54px 0 24px}
.wpp-footer-inner{
	width:min(var(--wpp-width),calc(100% - 40px));margin:auto;
	display:grid;grid-template-columns:1.4fr .7fr .7fr;gap:44px
}
.wpp-footer-brand p{max-width:520px}
.wpp-footer-inner strong{display:block;color:#fff;margin-bottom:12px}
.wpp-footer-nav a,.wpp-footer-contact a,.wpp-footer-contact span{display:block;margin:8px 0}
.wpp-footer-bottom{
	width:min(var(--wpp-width),calc(100% - 40px));margin:36px auto 0;
	padding-top:20px;border-top:1px solid rgba(255,255,255,.08);
	display:flex;justify-content:space-between;gap:20px;font-size:13px
}
@media(max-width:900px){
	.wpp-header-inner{height:68px}
	.wpp-menu-toggle{display:block}
	.wpp-header-cta{display:none}
	.wpp-primary-nav{
		display:none;position:fixed;left:14px;right:14px;top:78px;
		background:#1b1a18;border:1px solid rgba(255,255,255,.09);
		border-radius:18px;padding:14px;box-shadow:0 30px 60px rgba(0,0,0,.35)
	}
	.wpp-primary-nav.is-open{display:block}
	.wpp-menu{display:flex;flex-direction:column;align-items:stretch;gap:0}
	.wpp-menu a{display:block;padding:12px;border-radius:10px}
	.wpp-footer-inner{grid-template-columns:1fr 1fr}
}
@media(max-width:620px){
	.wpp-header-inner,.wpp-footer-inner,.wpp-footer-bottom{width:calc(100% - 28px)}
	.wpp-content-shell{width:calc(100% - 28px);padding:58px 0 72px}
	.wpp-post-grid,.wpp-footer-inner{grid-template-columns:1fr}
	.wpp-footer-bottom{flex-direction:column}
}

/* 0.2.0 — WordPress custom logo support */
.wpp-brand-wrap{display:flex;align-items:center;min-width:180px}
.wpp-brand-wrap .custom-logo-link,
.wpp-footer-brand .custom-logo-link{display:inline-flex;align-items:center}
.wpp-brand-wrap .custom-logo{
	display:block;width:auto;max-width:230px;max-height:52px;object-fit:contain
}
.wpp-footer-brand .custom-logo{
	display:block;width:auto;max-width:220px;max-height:58px;object-fit:contain
}
@media(max-width:620px){
	.wpp-brand-wrap{min-width:0}
	.wpp-brand-wrap .custom-logo{max-width:185px;max-height:44px}
}

/* 0.2.1 — keep visible fallback brand compact even when WP Site Title is SEO-oriented */
.wpp-brand-name{white-space:nowrap}
@media(max-width:620px){
  .wpp-brand-name{font-size:18px}
  .wpp-brand-mark{width:36px;height:36px}
}


/* =========================================================
   0.3.0 — production polish
   ========================================================= */
.wpp-site-header{
	box-shadow:0 1px 0 rgba(255,255,255,.015);
}
.wpp-brand-mark{
	transition:transform .22s ease,box-shadow .22s ease;
}
.wpp-brand:hover .wpp-brand-mark,
.wpp-brand-wrap:hover .custom-logo{
	transform:translateY(-1px);
}
.wpp-menu a{
	position:relative;
	padding:8px 0;
	transition:color .18s ease;
}
.wpp-menu a::after{
	content:"";
	position:absolute;
	left:0;right:100%;bottom:2px;
	height:2px;border-radius:2px;
	background:linear-gradient(90deg,var(--wpp-amber),var(--wpp-amber-2));
	transition:right .22s ease;
}
.wpp-menu a:hover::after,
.wpp-menu .current-menu-item>a::after,
.wpp-menu .current_page_item>a::after{right:0}
.wpp-header-cta{
	transition:transform .2s ease,box-shadow .2s ease;
	box-shadow:0 10px 24px rgba(216,137,36,.13);
}
.wpp-header-cta:hover{
	transform:translateY(-1px);
	box-shadow:0 14px 28px rgba(216,137,36,.20);
}
.wpp-site-footer{
	position:relative;
	overflow:hidden;
}
.wpp-site-footer::before{
	content:"";
	position:absolute;
	left:0;right:0;top:0;height:1px;
	background:linear-gradient(90deg,transparent,rgba(216,137,36,.36),transparent);
}
.wpp-footer-brand p{
	line-height:1.75;
}
.wpp-footer-menu li{margin:0}
.wpp-footer-menu a,
.wpp-footer-contact a{
	display:inline-block;
	color:#aaa197;
	transition:color .18s ease,transform .18s ease;
}
.wpp-footer-menu a:hover,
.wpp-footer-contact a:hover{
	color:#fff;
	transform:translateX(2px);
}
.wpp-footer-contact span{color:#817970}
.wpp-footer-contact .wpp-footer-business{
	margin-top:14px;max-width:250px;font-size:12px;line-height:1.55;color:#6f6861
}
.wpp-footer-bottom{color:#766f68}

/* Elementor Free should be a content host, not a width constraint. */
.wpp-page-content,
.wpp-front-page{
	width:100%;
	max-width:none;
	overflow:hidden;
}
.wpp-page-content > .elementor,
.wpp-front-page > .elementor{
	width:100%;
	max-width:none;
}

@media(max-width:900px){
	.wpp-primary-nav{
		top:76px;
	}
	.wpp-menu a{
		padding:12px 13px;
	}
	.wpp-menu a::after{display:none}
}
@media(max-width:620px){
	.wpp-site-footer{padding-top:46px}
	.wpp-footer-inner{gap:30px}
}
@media(prefers-reduced-motion:reduce){
	.wpp-brand-mark,.wpp-header-cta,.wpp-menu a::after,
	.wpp-footer-menu a,.wpp-footer-contact a{transition:none!important}
}

/* =========================================================
   0.3.1 — primary menu dropdown polish
   ========================================================= */
@media(min-width:901px){
	/* 0.3.2 — submenu toggle button is mobile-only. */
	.wpp-submenu-toggle{display:none!important}
	.wpp-primary-nav{overflow:visible}
	.wpp-menu>li{position:relative}
	.wpp-menu>li.menu-item-has-children>a{
		display:inline-flex;align-items:center;gap:7px
	}
	.wpp-menu>li.menu-item-has-children>a::before{
		content:"";
		width:6px;height:6px;
		border-right:1.5px solid #9f978e;
		border-bottom:1.5px solid #9f978e;
		transform:rotate(45deg) translateY(-2px);
		order:2;
		transition:transform .18s ease,border-color .18s ease
	}
	.wpp-menu>li.menu-item-has-children:hover>a::before,
	.wpp-menu>li.menu-item-has-children:focus-within>a::before{
		border-color:#f0a842;
		transform:rotate(225deg) translate(-1px,-1px)
	}
	.wpp-menu .sub-menu{
		list-style:none;
		position:absolute;
		z-index:1200;
		left:50%;top:calc(100% + 14px);
		min-width:315px;
		margin:0;padding:10px;
		border:1px solid rgba(255,255,255,.09);
		border-radius:16px;
		background:rgba(25,24,22,.985);
		box-shadow:0 24px 58px rgba(0,0,0,.38),0 0 0 1px rgba(216,137,36,.018) inset;
		backdrop-filter:blur(16px);
		opacity:0;visibility:hidden;
		transform:translate(-50%,-7px);
		pointer-events:none;
		transition:opacity .17s ease,transform .17s ease,visibility .17s ease
	}
	.wpp-menu .sub-menu::before{
		content:"";
		position:absolute;
		left:0;right:0;top:-15px;height:15px
	}
	.wpp-menu .sub-menu::after{
		content:"";
		position:absolute;
		left:16px;right:16px;top:0;height:1px;
		background:linear-gradient(90deg,transparent,rgba(216,137,36,.38),transparent)
	}
	.wpp-menu>li:hover>.sub-menu,
	.wpp-menu>li:focus-within>.sub-menu{
		opacity:1;visibility:visible;
		transform:translate(-50%,0);
		pointer-events:auto
	}
	.wpp-menu .sub-menu li{position:relative;margin:0}
	.wpp-menu .sub-menu a{
		display:flex;
		align-items:center;
		min-height:42px;
		padding:10px 12px;
		border-radius:10px;
		color:#cfc7be;
		font-size:13px;
		font-weight:720;
		line-height:1.3;
		white-space:normal;
		transition:background .16s ease,color .16s ease,transform .16s ease
	}
	.wpp-menu .sub-menu a::after{display:none}
	.wpp-menu .sub-menu a::before{
		content:"";
		flex:0 0 5px;width:5px;height:5px;
		margin-right:10px;
		border-radius:50%;
		background:#5d564f;
		box-shadow:0 0 0 0 rgba(216,137,36,0);
		transition:background .16s ease,box-shadow .16s ease
	}
	.wpp-menu .sub-menu a:hover,
	.wpp-menu .sub-menu .current-menu-item>a,
	.wpp-menu .sub-menu .current_page_item>a{
		color:#fff;
		background:rgba(255,255,255,.045);
		transform:translateX(2px)
	}
	.wpp-menu .sub-menu a:hover::before,
	.wpp-menu .sub-menu .current-menu-item>a::before,
	.wpp-menu .sub-menu .current_page_item>a::before{
		background:var(--wpp-amber-2);
		box-shadow:0 0 0 4px rgba(216,137,36,.08)
	}
}

/* Mobile/tablet: nested menu stays compact and opens independently. */
@media(max-width:900px){
	.wpp-menu li{position:relative;width:100%}
	.wpp-menu .menu-item-has-children>a{
		padding-right:48px
	}
	.wpp-submenu-toggle{
		position:absolute;
		right:5px;top:5px;
		width:38px;height:38px;
		padding:0;border:0;border-radius:9px;
		background:rgba(255,255,255,.035);
		color:#bdb4aa;
		cursor:pointer
	}
	.wpp-submenu-toggle::before{
		content:"";
		position:absolute;
		left:50%;top:50%;
		width:7px;height:7px;
		border-right:1.5px solid currentColor;
		border-bottom:1.5px solid currentColor;
		transform:translate(-50%,-65%) rotate(45deg);
		transition:transform .18s ease,color .18s ease
	}
	.wpp-menu .menu-item-has-children.is-submenu-open>.wpp-submenu-toggle{
		color:var(--wpp-amber-2);
		background:rgba(216,137,36,.07)
	}
	.wpp-menu .menu-item-has-children.is-submenu-open>.wpp-submenu-toggle::before{
		transform:translate(-50%,-25%) rotate(225deg)
	}
	.wpp-menu .sub-menu{
		display:none;
		list-style:none;
		margin:2px 0 7px;
		padding:5px 0 5px 13px;
		border-left:1px solid rgba(216,137,36,.20)
	}
	.wpp-menu .menu-item-has-children.is-submenu-open>.sub-menu{display:block}
	.wpp-menu .sub-menu a{
		padding:10px 12px;
		font-size:13px;
		font-weight:650;
		color:#aaa197;
		background:transparent
	}
	.wpp-menu .sub-menu a:hover,
	.wpp-menu .sub-menu .current-menu-item>a,
	.wpp-menu .sub-menu .current_page_item>a{
		color:#fff;
		background:rgba(255,255,255,.035)
	}
}

@media(prefers-reduced-motion:reduce){
	.wpp-menu .sub-menu,
	.wpp-menu>li.menu-item-has-children>a::before,
	.wpp-submenu-toggle::before{transition:none!important}
}

/* =========================================================
   0.3.4 — final WP Podrška brand logo
   ========================================================= */
.wpp-bundled-logo-link{
	display:inline-flex;
	align-items:center;
	line-height:0;
}
.wpp-bundled-logo{
	display:block;
	width:auto;
	height:auto;
	max-width:230px;
	max-height:52px;
	object-fit:contain;
	transition:transform .22s ease,filter .22s ease;
}
.wpp-bundled-logo-link:hover .wpp-bundled-logo{
	transform:translateY(-1px);
	filter:drop-shadow(0 5px 13px rgba(216,137,36,.10));
}
.wpp-bundled-logo-footer{
	max-width:220px;
	max-height:58px;
}
@media(max-width:620px){
	.wpp-bundled-logo{
		max-width:190px;
		max-height:44px;
	}
	.wpp-bundled-logo-footer{
		max-width:210px;
		max-height:52px;
	}
}
@media(prefers-reduced-motion:reduce){
	.wpp-bundled-logo{transition:none!important}
}

