/* ============================================================
   Chrome — header/footer/newsletter skin. Migration step 4
   (2026-07-02). Sits over HFE 2.9.0 output ("Ultimate Addons"
   rebrand: slug + hfe_* hooks unchanged) and the theme footer.
   Complianz banner COLORS are Complianz settings (dashboard task
   in /work/tasks.md), not overridden here.
   ============================================================ */

/* ---- 1. Newsletter band (now inside the page flow, above the
        footer, via hfe_footer_before — was below </footer>) ---- */
.tzlg-newsletter--footer {
	background: var(--tz-navy);
	padding: var(--tz-s7) var(--tz-s5);
	margin: 0;                 /* flush band between content and footer */
	text-align: center;
}
.tzlg-newsletter--footer .tzlg-newsletter__content,
.tzlg-newsletter--footer .tzlg-newsletter__form {
	max-width: 640px;
	margin-left: auto;
	margin-right: auto;
}
.tzlg-newsletter--footer .tzlg-newsletter__heading {
	font-family: var(--tz-font-display);
	color: var(--tz-white);
}
.tzlg-newsletter--footer .tzlg-newsletter__sub {
	color: var(--tz-navy-300);
}

/* Consent row: visible, adjacent to the field, ≥20px target.
   The !importants are the point — this widget must survive theme/
   Elementor input resets (a reset collapsing the checkbox to 0×0
   was audit P0 finding #5). */
html .tzlg-newsletter__consent {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	gap: 10px;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.85);
	margin-top: 14px;
	cursor: pointer;
	line-height: 1.5;
	text-align: left;
	position: static;
}
html .tzlg-newsletter__consent input[type="checkbox"] {
	-webkit-appearance: checkbox !important;
	appearance: auto !important;
	position: static !important;
	opacity: 1 !important;
	width: 20px !important;
	height: 20px !important;
	min-width: 20px;
	margin: 0 !important;
	flex-shrink: 0;
	cursor: pointer;
	accent-color: var(--tz-coral-600);
}
html .tzlg-newsletter__consent a {
	color: var(--tz-coral-100); /* AA on navy; raw coral is 3.99:1 there */
	text-decoration: underline;
}

/* ---- 2. Footer legal bar: kill the #0073aa WP-default drift
        (emitted inline by child functions.php; emitter gutted at
        step 8 — html prefix outranks the inline block's selector) */
html .tz-footer-bar__links a {
	color: var(--tz-navy);
}
html .tz-footer-bar__links a:hover {
	color: var(--tz-coral-text);
}

/* ---- 3. Footer link/heading alignment ------------------------- */
footer.tft-site-footer a:hover {
	color: var(--tz-coral-text);
}

/* ---- 4. No page-in-a-box (2026-07-02, user feedback) -----------
   Travelfic wraps single PAGES in the same glow-card article styling
   it uses for archive post cards — entire pages rendered inside one
   shadowed box (About, legal pages, any default-template page).
   Kill it for page-type articles everywhere; post cards on archives
   are .type-post and unaffected. */
html body article.type-page {
	/* html body prefix: outranks travelfic's `.tft-single-page main article` */
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}
