/**
 * Cookie-consent banner + content-blocker placeholder.
 * Brand tokens (--dfv-*) come from main.css :root; fallbacks kept for safety.
 */

/* ---- Banner ---- */
.dfv-cookie-banner {
	position: fixed;
	left: 1rem;
	right: 1rem;
	bottom: 1rem;
	z-index: 9999;
	background: #fff;
	border: 1px solid #e6e2dd;
	border-radius: 8px;
	box-shadow: var(--card-shadow, 0 6px 24px rgba(0, 0, 0, 0.14));
	max-width: 1080px;
	margin: 0 auto;
}

.dfv-cookie-banner__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem 1.5rem;
	padding: 1.1rem 1.35rem;
}

.dfv-cookie-banner__text {
	flex: 1 1 340px;
	font-family: var(--font-main, 'Work Sans', sans-serif);
	font-size: 0.9rem;
	line-height: 1.5;
	color: var(--dfv-text-light, #5c5450);
}

.dfv-cookie-banner__title {
	margin: 0 0 0.25rem;
	font-weight: 600;
	font-size: 0.95rem;
	color: var(--dfv-heading, #2a2520);
}

.dfv-cookie-banner__text p {
	margin: 0;
}

.dfv-cookie-banner__text a {
	color: var(--dfv-orange, #cc4400);
	text-decoration: underline;
}

.dfv-cookie-banner__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	flex: 0 0 auto;
}

.dfv-cookie-banner__btn {
	font-family: var(--font-main, 'Work Sans', sans-serif);
	font-size: 0.9rem;
	font-weight: 600;
	padding: 0.6rem 1.2rem;
	border-radius: 6px;
	border: 1px solid transparent;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.dfv-cookie-banner__btn--primary {
	background: var(--dfv-orange, #cc4400);
	color: #fff;
}

.dfv-cookie-banner__btn--primary:hover {
	background: #b23c00;
}

.dfv-cookie-banner__btn--ghost {
	background: transparent;
	color: var(--dfv-text-light, #5c5450);
	border-color: #cfc9c2;
}

.dfv-cookie-banner__btn--ghost:hover {
	border-color: var(--dfv-orange, #cc4400);
	color: var(--dfv-orange, #cc4400);
}

@media (max-width: 640px) {
	.dfv-cookie-banner__actions {
		width: 100%;
	}
	.dfv-cookie-banner__btn {
		flex: 1 1 auto;
		text-align: center;
	}
}

/* ---- Content-blocker placeholder (in place of a feed) ---- */
.dfv-consent-block {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 300px;
	padding: 2rem 1.5rem;
	background: var(--dfv-bg-alt, #f3f2ef);
	border: 1px dashed #d5cfc8;
	border-radius: 8px;
	text-align: center;
}

.dfv-consent-block__inner {
	max-width: 340px;
}

.dfv-consent-block__title {
	margin: 0 0 0.4rem;
	font-family: var(--font-main, 'Work Sans', sans-serif);
	font-weight: 600;
	color: var(--dfv-heading, #2a2520);
}

.dfv-consent-block__text {
	margin: 0 0 1rem;
	font-family: var(--font-main, 'Work Sans', sans-serif);
	font-size: 0.9rem;
	line-height: 1.5;
	color: var(--dfv-text-light, #5c5450);
}

.dfv-consent-block__btn {
	font-family: var(--font-main, 'Work Sans', sans-serif);
	font-size: 0.9rem;
	font-weight: 600;
	padding: 0.6rem 1.4rem;
	border-radius: 6px;
	border: none;
	background: var(--dfv-orange, #cc4400);
	color: #fff;
	cursor: pointer;
	transition: background 0.15s ease;
}

.dfv-consent-block__btn:hover {
	background: #b23c00;
}

.dfv-consent-block__note {
	margin: 0.75rem 0 0;
	font-size: 0.8rem;
}

.dfv-consent-block__note a {
	color: var(--dfv-text-light, #5c5450);
	text-decoration: underline;
}

/* Landscape phones: the banner was taking half the screen.
   Measured with the consent cookie cleared: 178.0px at 667x375 (47.5% of the
   viewport), 146.4px at 844x390, 124.8px at 932x430. The banner is the first
   thing every visitor meets, so on a landscape phone it hid the page it is
   asking about. Horizontal button padding only - trimming the vertical
   padding here would drop the buttons under the 44px tap floor. */
@media (max-width: 1024px) and (max-height: 500px) {
	.dfv-cookie-banner {
		left: 0.5rem;
		right: 0.5rem;
		bottom: 0.5rem;
	}
	.dfv-cookie-banner__inner {
		padding: 0.7rem 0.9rem;
		gap: 0.6rem 1rem;
	}
	.dfv-cookie-banner__text {
		flex: 1 1 260px;
		font-size: 0.82rem;
		line-height: 1.4;
	}
	.dfv-cookie-banner__btn {
		padding: 0.6rem 0.9rem;
		font-size: 0.85rem;
	}
}

/* BATCH 2 (Aug 2026): the banner buttons measured ~37px tall; 44px floor on
   touch widths. Desktop keeps the designed size. */
@media (max-width: 1024px) {
	.dfv-cookie-banner__btn { min-height: 44px; }
}