/* VoucherIco brand logo — header + footer */

.wpv-site-brand-logo {
	display: inline-flex;
	align-items: center;
	line-height: 0;
	text-decoration: none;
	background: transparent !important;
}

.wpv-site-brand-logo__img {
	display: block;
	width: auto;
	height: auto;
	background: transparent !important;
	border: 0;
	box-shadow: none;
}

/* Header: same visual weight as search field (48–64px tall) */
.site-header-custom .wpv-header-brand .wpv-site-brand-logo__img,
.wpv-site-brand-logo--header .wpv-site-brand-logo__img {
	height: 3.25rem;
	min-height: 52px;
	max-height: none !important;
	width: auto !important;
	max-width: none !important;
}

.wpv-header-brand {
	display: flex;
	align-items: center;
	min-width: 0;
	flex-shrink: 1;
}

.wpv-header-brand .wpv-site-brand-logo--header {
	flex-shrink: 1;
	min-width: 0;
}

.wpv-header-primary {
	grid-template-columns: minmax(0, 1fr) auto;
}

@media (min-width: 768px) {
	.wpv-header-primary {
		grid-template-columns: max-content minmax(0, 1fr);
	}

	.wpv-header-brand {
		flex-shrink: 0;
		min-width: max-content;
	}
}

/* Footer: clear readable wordmark on dark band */
.wpv-site-footer__logo--image {
	display: block;
	margin-bottom: 0.85rem;
	background: transparent !important;
}

.site-footer .wpv-site-footer__logo--image .wpv-site-brand-logo__img,
.wpv-site-brand-logo--footer .wpv-site-brand-logo__img {
	height: 3.25rem;
	min-height: 52px;
	max-height: none !important;
	width: auto !important;
	max-width: min(100%, 220px) !important;
}

@media (min-width: 768px) {
	.site-header-custom .wpv-header-brand .wpv-site-brand-logo__img,
	.wpv-site-brand-logo--header .wpv-site-brand-logo__img {
		height: 3.5rem;
		min-height: 56px;
	}

	.wpv-site-brand-logo--footer .wpv-site-brand-logo__img {
		height: 3.75rem;
		min-height: 60px;
		max-width: 240px !important;
	}
}

@media (max-width: 767px) {
	.site-header-custom .wpv-header-brand .wpv-site-brand-logo__img,
	.wpv-site-brand-logo--header .wpv-site-brand-logo__img {
		height: 2.35rem;
		min-height: 38px;
		max-width: min(100%, 168px) !important;
	}
}

@media (min-width: 1100px) {
	.site-header-custom .wpv-header-brand .wpv-site-brand-logo__img,
	.wpv-site-brand-logo--header .wpv-site-brand-logo__img {
		height: 4rem;
		min-height: 64px;
	}
}
