/*
 * TBP canonical Footer layer.
 * Blocksy owns Footer markup; legacy Footer markup remains rollback-only.
 */

footer#footer.ct-footer {
	display: block !important;
	background: #0f172a;
	color: rgba(255, 255, 255, 0.76);
}

footer#footer.ct-footer [data-row="bottom"] {
	--theme-border: none;
	background: transparent;
}

footer#footer.ct-footer [data-row="bottom"] > div {
	padding-top: 0;
	padding-bottom: 0;
}

footer#footer.ct-footer .ct-footer-copyright {
	width: 100%;
	color: inherit;
	text-align: start;
}

.tbp-native-footer {
	padding: 52px 0 28px;
}

.tbp-native-footer__grid {
	display: grid;
	grid-template-columns: 1.1fr 1fr 0.8fr;
	gap: 36px;
}

.tbp-native-footer__grid--v2 {
	grid-template-columns: minmax(220px, 1.35fr) repeat(4, minmax(130px, 1fr));
	gap: clamp(24px, 3vw, 44px);
}

.tbp-native-footer h2,
.tbp-native-footer h3 {
	margin: 0 0 14px;
	color: #fff;
	font-size: 16px;
	font-weight: 900;
}

.tbp-native-footer p {
	margin: 0 0 8px;
	color: rgba(255, 255, 255, 0.76);
	font-size: 14px;
	line-height: 1.65;
}

.tbp-native-footer strong {
	color: #fff;
}

.tbp-native-footer a {
	color: rgba(255, 255, 255, 0.9);
	font-weight: 700;
	text-decoration: none;
}

.tbp-native-footer a:hover {
	color: #ff9f1a;
}

.tbp-native-footer ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.tbp-native-footer li {
	margin: 0 0 9px;
	color: rgba(255, 255, 255, 0.76);
	font-size: 14px;
	line-height: 1.5;
}

.tbp-native-footer__company strong {
	color: #fff;
}

.tbp-native-footer__trust-list li {
	position: relative;
	padding-left: 18px;
}

.tbp-native-footer__trust-list li::before {
	position: absolute;
	top: 0;
	left: 0;
	color: #ff9f1a;
	content: "✓";
	font-weight: 900;
}

.tbp-native-footer__bct {
	display: inline-block;
	margin-top: 12px;
}

.tbp-native-footer__bct img {
	display: block;
	width: auto;
	max-width: 150px;
	max-height: 56px;
}

.tbp-native-footer__socials,
.tbp-native-footer__location-secondary,
.tbp-native-footer__email {
	margin-top: 12px !important;
}

.tbp-native-footer__bottom {
	margin-top: 32px;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	color: rgba(255, 255, 255, 0.48);
	font-size: 13px;
	text-align: center;
}

.tbp-native-footer__policies {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	font-size: 13px;
}

.tbp-native-footer__policies img {
	display: block;
	width: auto;
	max-width: 150px;
	max-height: 56px;
}

footer.tbp-bright-footer {
	display: none !important;
}

.tbp-policy {
	width: min(100% - 32px, 880px);
	margin: 0 auto;
	padding: clamp(40px, 6vw, 72px) 0;
	color: #334155;
}

.tbp-policy__intro {
	margin-bottom: 32px;
	padding-bottom: 24px;
	border-bottom: 1px solid #e2e8f0;
}

.tbp-policy h2 {
	margin: 34px 0 12px;
	color: #0f172a;
	font-size: clamp(21px, 2.5vw, 27px);
}

.tbp-policy h3 {
	margin: 24px 0 8px;
	color: #1e293b;
	font-size: 18px;
}

.tbp-policy p,
.tbp-policy li {
	font-size: 16px;
	line-height: 1.75;
}

.tbp-policy ul,
.tbp-policy ol {
	padding-left: 24px;
}

.tbp-policy-contact {
	margin-top: 40px;
	padding: clamp(22px, 4vw, 32px);
	border: 1px solid #dbeafe;
	border-radius: 16px;
	background: #f8fbff;
}

.tbp-policy-contact h2 {
	margin-top: 0;
}

.tbp-policy-contact dl,
.tbp-policy-contact dl div {
	margin: 0;
}

.tbp-policy-contact dl div {
	display: grid;
	grid-template-columns: minmax(120px, 0.35fr) 1fr;
	gap: 18px;
	padding: 10px 0;
	border-bottom: 1px solid #e2e8f0;
}

.tbp-policy-contact dl div:last-child {
	border-bottom: 0;
}

.tbp-policy-contact dt {
	color: #475569;
	font-weight: 700;
}

.tbp-policy-contact dd {
	margin: 0;
}

@media (max-width: 1100px) {
	.tbp-native-footer__grid--v2 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.tbp-native-footer__company {
		grid-column: span 2;
	}
}

@media (max-width: 768px) {
	.tbp-native-footer {
		padding: 40px 0 24px;
	}

	.tbp-native-footer__grid {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.tbp-native-footer__company {
		grid-column: auto;
	}

	.tbp-policy-contact dl div {
		grid-template-columns: 1fr;
		gap: 3px;
	}
}
