/**
 * Stranica /brands/ — moderni page title u Legia paleti.
 */

/* Zona liste brendova — bijela pozadina */
body.page-brands,
body.page-brands #qodef-page-outer,
body.page-brands #qodef-page-content,
body.page-brands .qodef-page-content-section,
body.page-brands .qodef-page-content-holder,
body.page-brands #qodef-page-inner {
	background-color: #fff !important;
}

@keyframes runnerp-brands-title-in {
	from {
		opacity: 0;
		transform: translateY(12px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

body.page-brands .qodef-page-title.runnerp-brands-title,
body.page-brands .qodef-page-title.runnerp-brands-title .qodef-m-inner {
	position: relative;
	height: auto !important;
	min-height: 0 !important;
	overflow: hidden;
	background:
		radial-gradient(120% 90% at 50% 0%, rgba(255, 252, 250, 0.95) 0%, transparent 62%),
		linear-gradient(180deg, var(--runnerp-beige-50, #FBF7F2) 0%, var(--runnerp-beige-100, #F3EBE3) 100%) !important;
	border-bottom: 1px solid rgba(74, 52, 40, 0.08);
}

body.page-brands .qodef-page-title.runnerp-brands-title .qodef-m-inner::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	opacity: 0.35;
	background-image:
		radial-gradient(circle at 12% 78%, rgba(166, 124, 82, 0.12) 0 1px, transparent 1.5px),
		radial-gradient(circle at 88% 22%, rgba(110, 78, 58, 0.1) 0 1px, transparent 1.5px);
	background-size: 28px 28px, 36px 36px;
	background-position: 0 0, 12px 8px;
}

body.page-brands .qodef-page-title.runnerp-brands-title .qodef-m-inner::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0;
	width: min(180px, 40vw);
	height: 2px;
	transform: translateX(-50%);
	background: linear-gradient(
		90deg,
		transparent 0%,
		var(--runnerp-cta-color, #A67C52) 50%,
		transparent 100%
	);
	opacity: 0.85;
}

body.page-brands .qodef-page-title.runnerp-brands-title .qodef-m-content {
	position: relative;
	z-index: 1;
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100%;
	max-width: 760px;
	margin: 0 auto;
	padding: 56px 24px 52px !important;
	text-align: center !important;
	box-sizing: border-box;
	animation: runnerp-brands-title-in 0.7s ease both;
}

body.page-brands .qodef-page-title.runnerp-brands-title .qodef-m-content::before {
	content: "Naši partneri";
	display: block;
	margin: 0 0 14px;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.28em;
	line-height: 1;
	text-transform: uppercase;
	color: var(--runnerp-taupe-500, #A67C52);
}

body.page-brands .qodef-page-title.runnerp-brands-title .qodef-m-title.entry-title {
	margin: 0 !important;
	padding: 0 !important;
	max-width: 16ch;
	font-family: "Cormorant Garamond", Georgia, serif !important;
	font-size: clamp(2.5rem, 5.5vw, 4rem) !important;
	font-weight: 600 !important;
	letter-spacing: 0.04em !important;
	line-height: 1.05 !important;
	text-transform: uppercase !important;
	color: var(--runnerp-sienna-800, #4A3428) !important;
}

body.page-brands .qodef-page-title.runnerp-brands-title .qodef-m-subtitle {
	display: block;
	max-width: 34ch;
	margin: 18px 0 0 !important;
	padding: 0;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: clamp(1.05rem, 2vw, 1.25rem);
	font-weight: 500;
	font-style: italic;
	letter-spacing: 0.01em;
	line-height: 1.45;
	color: var(--runnerp-sienna-700, #6E4E3A);
	opacity: 0.92;
	animation: runnerp-brands-title-in 0.75s ease 0.08s both;
}

@media only screen and (max-width: 680px) {
	body.page-brands .qodef-page-title.runnerp-brands-title .qodef-m-content {
		padding: 40px 20px 38px !important;
	}

	body.page-brands .qodef-page-title.runnerp-brands-title .qodef-m-content::before {
		margin-bottom: 12px;
		font-size: 11px;
		letter-spacing: 0.22em;
	}

	body.page-brands .qodef-page-title.runnerp-brands-title .qodef-m-title.entry-title {
		font-size: clamp(2.1rem, 10vw, 2.75rem) !important;
	}

	body.page-brands .qodef-page-title.runnerp-brands-title .qodef-m-subtitle {
		margin-top: 14px !important;
		font-size: 1.05rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.page-brands .qodef-page-title.runnerp-brands-title .qodef-m-content,
	body.page-brands .qodef-page-title.runnerp-brands-title .qodef-m-subtitle {
		animation: none;
	}
}
