/* Cookie banner (parts cookies-hr/en, shown by mano-core's mano-consent.js): a dark bar at the
   bottom of the screen, text on the left, two buttons of equal weight at the right edge, Odbijam then Prihvaćam
   (accept on the right, owner 2026-11-19). Hidden until
   the script adds .is-open (no choice stored yet, or "Postavke kolačića" clicked). */
.mano-consent.mano-consent {
	display: none;
	position: fixed;
	inset: auto 0 0;
	z-index: 1000;
	margin: 0;
	padding: 20px var(--wp--preset--spacing--gutter, 24px);
	background: var(--wp--preset--color--dark-kaptol);
	color: var(--wp--preset--color--topla-bijela);
	font-size: 13px;
	line-height: 1.5;
	align-items: center;
	justify-content: space-between; /* text left, buttons pushed to the right edge (owner, 2026-11-19) */
	gap: 16px 40px;
}

.mano-consent.is-open {
	display: flex;
}

.mano-consent .mano-consent__text {
	flex: 1 1 auto;
	max-width: 820px;
	margin: 0;
}

.mano-consent a {
	color: inherit;
	text-decoration: underline;
}

.mano-consent .mano-consent__buttons {
	flex: 0 0 auto;
	gap: 12px;
	margin: 0;
	flex-wrap: nowrap;
}

.mano-consent .wp-block-button__link {
	min-width: 132px;
	padding: 10px 20px;
	border: 1px solid var(--wp--preset--color--topla-bijela);
	border-radius: 0;
	font-size: 13px;
	line-height: 1.4;
	cursor: pointer;
}

.mano-consent .mano-consent__accept .wp-block-button__link,
.mano-consent .mano-consent__reject .wp-block-button__link {
	background: var(--wp--preset--color--topla-bijela);
	color: var(--wp--preset--color--tekst-primarna);
}

.mano-consent .wp-block-button__link:hover,
.mano-consent .wp-block-button__link:focus-visible {
	background: transparent;
	color: var(--wp--preset--color--topla-bijela);
}

@media (max-width: 781px) {
	.mano-consent.is-open {
		flex-direction: column;
		align-items: stretch;
	}

	.mano-consent .mano-consent__buttons > .wp-block-button {
		flex: 1 1 0;
	}

	.mano-consent .wp-block-button__link {
		width: 100%;
		min-width: 0;
	}
}
