/* elementor.css — normalize Elementor sections to CHN tokens. */
.elementor-button, .elementor-button-link { font-family: var(--chn-font-sans); }

/* ---------------------------------------------------------------------- *
 * Header logo size — per 2026-05-27 client meeting, the top header logo
 * needed to be visibly larger than the original 130px. Bumped to ~180px
 * (footer logo stays at 200px so the two still feel intentional).
 * ---------------------------------------------------------------------- */
.elementor-location-header .elementor-element-wid_logo img,
.elementor-location-header .elementor-widget-image img,
.elementor-location-header .elementor-widget-theme-site-logo img {
	width: 180px !important;
	max-width: 180px !important;
	height: auto !important;
}
@media (max-width: 768px) {
	.elementor-location-header .elementor-element-wid_logo img,
	.elementor-location-header .elementor-widget-image img,
	.elementor-location-header .elementor-widget-theme-site-logo img {
		width: 150px !important;
		max-width: 150px !important;
	}
}

/* ---------------------------------------------------------------------- *
 * Footer template 24690 hooks (P-40)
 * Replaces raw inline `style="font-size:14px;color:#1d2733;..."` decls
 * that Elementor html-content widgets used to emit. Tokenised against
 * --chn-color-text / --chn-color-muted-ink and the type scale.
 * ---------------------------------------------------------------------- */
.chn-footer__text {
	font-size: var(--chn-font-size-sm, 14px);
	color: var(--chn-color-text, #1d2733);
	margin: 0;
	line-height: 1.7;
}
.chn-footer__text--right { text-align: right; }

.chn-footer__badge {
	display: inline-block;
	background: var(--chn-color-text, #1d2733);
	color: #fff;
	padding: 6px 12px;
	margin: 0 0 12px;
	font-size: var(--chn-font-size-base, 15px);
	border-radius: 4px;
}

.chn-footer__list {
	list-style: none;
	padding: 0;
	margin: 0;
	font-size: var(--chn-font-size-sm, 14px);
}
.chn-footer__list-item { margin: 6px 0; }

.chn-footer__link {
	color: var(--chn-color-text, #1d2733);
	text-decoration: none;
}
.chn-footer__link:hover { text-decoration: underline; }

.chn-footer__meta {
	font-size: var(--chn-font-size-xs, 12px);
	color: var(--chn-color-muted-ink, #5b6772);
	margin: 0;
	text-align: right;
}

/* ---------------------------------------------------------------------- *
 * Footer redesign (Phase B3)
 *
 * The Elementor footer template 24690 was carrying a "LET'S BUILD
 * TOGETHER" CTA column that duplicated the chrome-bar CTA, plus a final
 * row that repeated the © copyright + social icons already rendered by
 * the navy `.chn-footer-brand-strip` (mu-plugins/chn-header-footer.php).
 *
 * The new template structure:
 *   1. Top row — logo + tagline | phone/email | postal address (3 cols)
 *   2. Link row — 4 link columns at 25% each (Company / Explore / Services / Join)
 *   3. Trust strip — credibility badges + Visa/Mastercard/Amex/Discover SVGs
 *
 * Social icons + copyright live exclusively in the navy brand-strip bar.
 * ---------------------------------------------------------------------- */

.chn-footer__tagline {
	margin: 12px 0 0;
	font-size: var(--chn-font-size-sm, 14px);
	color: var(--chn-color-muted-ink, #5b6772);
	line-height: 1.55;
	max-width: 28ch;
}

.chn-footer__heading {
	font-family: var(--chn-font-sans, "Manrope", system-ui, sans-serif);
	font-size: var(--chn-font-size-xs, 12px);
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--chn-color-text, #1d2733);
	margin: 0 0 16px;
	padding: 0;
	background: none;
	border: 0;
	border-radius: 0;
}

/* Tighten link spacing in the new 4-col layout. */
.chn-footer__list-item { margin: 8px 0; }
.chn-footer__link {
	color: var(--chn-color-muted-ink, #5b6772);
	transition: color .15s ease;
}
.chn-footer__link:hover {
	color: var(--chn-color-accent, #f3802d);
	text-decoration: none;
}

/* --- Trust strip ----------------------------------------------------- */
.chn-footer__trust-strip {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px 32px;
	max-width: 1280px;
	margin-inline: auto;
	padding: 4px 0;
	font-family: var(--chn-font-sans, "Manrope", system-ui, sans-serif);
}

.chn-footer__credibility {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	align-items: center;
}
.chn-footer__credibility-item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: var(--chn-font-size-xs, 12px);
	font-weight: 600;
	color: var(--chn-color-text, #1d2733);
	letter-spacing: 0.02em;
}
.chn-footer__credibility-icon {
	color: var(--chn-color-accent, #f3802d);
	flex: 0 0 auto;
}
.chn-footer__credibility-flag {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 16px;
	border-radius: 2px;
	background: linear-gradient(to bottom, #009b3a 0 50%, #fed100 50% 100%);
	color: #1d2733;
	font-weight: 800;
	font-size: 8px;
	letter-spacing: 0.04em;
	border: 1px solid rgba(0,0,0,.08);
}
/* F1 (2026-06-17): inline SVG Jamaican flag — replaces the prior "JM"
 * letter-pair span at runtime via CHN_Header_Footer::inject_jm_flag_svg.
 * Sized identically to the legacy flag span so the row layout doesn't
 * shift; rounded corners + subtle border keep parity with the SSL /
 * shield / network icons that share the row. */
.chn-footer__credibility-flag-svg {
	display: inline-block;
	width: 22px;
	height: 14px;
	border-radius: 2px;
	border: 1px solid rgba(0,0,0,.12);
	flex: 0 0 auto;
	vertical-align: middle;
}

.chn-footer__payment-icons {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}
.chn-footer__payment-item {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	padding: 2px;
	border-radius: 4px;
	box-shadow: 0 1px 2px rgba(11, 59, 148, 0.08);
	transition: transform .15s ease, box-shadow .15s ease;
}
.chn-footer__payment-item:hover {
	transform: translateY(-1px);
	box-shadow: 0 2px 6px rgba(11, 59, 148, 0.16);
}
.chn-footer__payment-item svg { display: block; }

/* Tighten the Elementor footer top row alignment. */
footer.elementor-location-footer .chn-footer__text { line-height: 1.7; }

/* --- Responsive breakpoints ----------------------------------------- */
@media (max-width: 1023px) {
	.chn-footer__trust-strip {
		justify-content: center;
		text-align: center;
	}
	.chn-footer__credibility { justify-content: center; }
}

@media (max-width: 767px) {
	.chn-footer__text--right { text-align: left; }
	.chn-footer__meta { text-align: left; }
	.chn-footer__tagline { max-width: 100%; }
	.chn-footer__credibility { gap: 8px 12px; }
	.chn-footer__credibility-item { font-size: 11px; }
	.chn-footer__payment-icons { justify-content: center; width: 100%; }
}

@media (max-width: 480px) {
	.chn-footer__heading { font-size: 11px; }
	.chn-footer__link { overflow-wrap: anywhere; word-break: break-word; }
}
