/* FerryHawks Consent — banner, modal, toggles. v2.14.491 */
.fhc-root { --fhc-navy:#0b1f3a; --fhc-navy2:#13294b; --fhc-orange:var(--color-orange, #c2410c); --fhc-ink:#1f2937; --fhc-line:#e5e7eb; }
.fhc-root *, .fhc-modal * { box-sizing: border-box; }
body.fhc-lock { overflow: hidden; }

/* Banner */
.fhc-banner {
	position: fixed; z-index: 2147483000; left: 0; right: 0;
	background: #fff; color: var(--fhc-ink);
	box-shadow: 0 -6px 30px rgba(0,0,0,.18);
	font-family: inherit; font-size: 14px; line-height: 1.5;
	animation: fhc-rise .28s ease;
}
.fhc-banner.fhc-bottom { bottom: 0; border-top: 3px solid var(--fhc-orange); }
.fhc-banner.fhc-center {
	top: 50%; left: 50%; right: auto; transform: translate(-50%,-50%);
	max-width: 560px; width: calc(100% - 32px); border-radius: 12px; border: 1px solid var(--fhc-line);
}
.fhc-inner { max-width: 1200px; margin: 0 auto; padding: 16px 20px; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.fhc-banner.fhc-center .fhc-inner { flex-direction: column; align-items: stretch; }
.fhc-copy { flex: 1 1 340px; min-width: 260px; }
.fhc-copy strong { display: block; color: var(--fhc-navy); font-size: 15px; margin-bottom: 3px; }
.fhc-copy p { margin: 0; color: #4b5563; }
.fhc-link { color: var(--fhc-orange); text-decoration: underline; }
.fhc-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.fhc-banner.fhc-center .fhc-actions { justify-content: flex-end; }

.fhc-btn {
	font: inherit; font-weight: 700; font-size: 13px; cursor: pointer;
	border-radius: 8px; padding: 10px 16px; border: 1px solid transparent; white-space: nowrap;
	transition: filter .15s ease, background .15s ease;
}
.fhc-primary { background: var(--fhc-navy); color: #fff; }   /* 2.81.0: Accept and Reject alike; white on this navy always reads, whatever the site's accent color */
.fhc-primary:hover { filter: brightness(1.06); }
.fhc-ghost { background: #fff; color: var(--fhc-navy); border-color: var(--fhc-line); }
.fhc-ghost:hover { background: #f8fafc; }

/* Modal */
.fhc-modal-backdrop {
	position: fixed; inset: 0; z-index: 2147483001; background: rgba(2,6,23,.55);
	display: flex; align-items: center; justify-content: center; padding: 16px; animation: fhc-fade .2s ease;
}
.fhc-modal {
	background: #fff; color: var(--fhc-ink); width: 100%; max-width: 560px; max-height: 86vh;
	border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 24px 70px rgba(0,0,0,.4);
	font-family: inherit; font-size: 14px;
}
.fhc-modal-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--fhc-line); }
.fhc-modal-head strong { color: var(--fhc-navy); font-size: 16px; }
.fhc-x { background: none; border: 0; font-size: 26px; line-height: 1; cursor: pointer; color: #64748b; }
.fhc-modal-body { padding: 8px 20px; overflow-y: auto; }
.fhc-modal-foot { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; padding: 14px 20px; border-top: 1px solid var(--fhc-line); background: #f8fafc; }

.fhc-cat { padding: 14px 0; border-bottom: 1px solid #f1f5f9; }
.fhc-cat:last-child { border-bottom: 0; }
.fhc-cat-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 700; color: var(--fhc-navy); cursor: pointer; }
.fhc-cat-head em { font-weight: 500; font-style: normal; color: #5b6878; font-size: 12px; }
.fhc-cat p { margin: 6px 0 0; color: #64748b; font-size: 13px; }

/* Toggle switch */
.fhc-switch { position: relative; display: inline-block; width: 44px; height: 24px; flex: none; }
.fhc-switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.fhc-slider { position: absolute; inset: 0; background: #7b8794; border-radius: 24px; transition: background .2s ease; }
.fhc-slider::before { content: ""; position: absolute; height: 18px; width: 18px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: transform .2s ease; }
.fhc-switch input:checked + .fhc-slider { background: var(--fhc-orange); }
.fhc-switch input:checked + .fhc-slider::before { transform: translateX(20px); }
.fhc-switch input:disabled + .fhc-slider { background: #94a3b8; opacity: .7; cursor: not-allowed; }

/* Floating manage control */
.fhc-manage {
	position: fixed; left: 16px; bottom: 16px; z-index: 2147482999;
	background: var(--fhc-navy); color: #fff; border: 0; border-radius: 20px;
	padding: 8px 14px; font: inherit; font-size: 12px; font-weight: 600; cursor: pointer;
	box-shadow: 0 4px 14px rgba(0,0,0,.25); opacity: .9;
}
.fhc-manage:hover { opacity: 1; }
.fhc-open { background: none; border: 0; color: var(--fhc-orange); text-decoration: underline; cursor: pointer; font: inherit; padding: 0; }

@keyframes fhc-rise { from { transform: translateY(12px); opacity: 0; } to { transform: none; opacity: 1; } }
.fhc-banner.fhc-center { animation: fhc-fade .24s ease; }
@keyframes fhc-fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .fhc-banner, .fhc-modal-backdrop { animation: none; } }

@media (max-width: 640px) {
	.fhc-inner { padding: 14px 16px; }
	.fhc-actions { width: 100%; }
	.fhc-actions .fhc-btn { flex: 1 1 auto; text-align: center; }
	.fhc-manage { left: 10px; bottom: 10px; }
}

/* Visible keyboard focus on the toggles and buttons (2.42.0, from the FerryHawks theme 2.14.1007). */
.fhc-switch input:focus-visible + .fhc-slider { outline: var(--focus-outline, 3px solid #005fcc); outline-offset: 2px; }
.fhc-root button:focus-visible, .fhc-root a:focus-visible { outline: var(--focus-outline, 3px solid #005fcc); outline-offset: 2px; }
