/* ===== TSB FOOTER BASE ===== */
#tsb-footer {
	background-color: #153c67 !important;
	font-family: 'Roboto Slab', serif !important;
	font-size: 16px;
	line-height: 1.6;
	color: rgba(255,255,255,0.8);
	width: 100%;
	box-sizing: border-box;
}

#tsb-footer *,
#tsb-footer *::before,
#tsb-footer *::after {
	box-sizing: border-box;
}

/* ===== FOOTER TOP — COLUMNS GRID ===== */
.tsb-footer-top {
	max-width: 1300px;
	margin: 0 auto;
	padding: 60px 40px 50px;
	display: grid;
	grid-template-columns: 1.5fr 1fr 1.1fr 1.2fr 1.5fr;
	gap: 20px 48px;
	align-items: start;
}

/* ===== COLUMN: LOGO + TAGLINE ===== */
.tsb-col-brand {}

.tsb-footer-logo {
	display: inline-block;
	margin-bottom: 20px;
	line-height: 0;
}

.tsb-footer-logo img {
	height: 84px;
	width: auto;
	max-width: 180px;
	display: block;
}

.tsb-footer-tagline {
	font-family: 'Roboto Slab', serif !important;
	font-size: 15px;
	font-weight: 400;
	color: rgba(255,255,255,0.8);
	line-height: 26px;
	margin: 0 !important;
	max-width: 280px;
}

/* ===== COLUMN HEADINGS ===== */
.tsb-footer-col-heading {
	font-family: 'Sora', sans-serif !important;
	font-weight: 700 !important;
	font-size: 18px !important;
	color: #ffffff !important;
	line-height: 24px !important;
	margin: 0 0 20px !important;
	padding: 0 !important;
	border: none !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
}

/* ===== COLUMN: NAV MENUS ===== */
.tsb-col-nav {}

/* Reset any Astra/theme interference */
.tsb-col-nav .menu-container,
.tsb-col-nav nav,
.tsb-col-nav div {
	margin: 0 !important;
	padding: 0 !important;
}

.tsb-col-nav ul,
.tsb-col-nav ul.menu {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	display: flex !important;
	flex-direction: column !important;
	gap: 0 !important;
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
}

.tsb-col-nav ul li,
.tsb-col-nav ul.menu li {
	margin: 0 !important;
	padding: 0 0 18px !important;
	list-style: none !important;
	background: transparent !important;
	border: none !important;
	float: none !important;
	position: static !important;
}

.tsb-col-nav ul li:last-child,
.tsb-col-nav ul.menu li:last-child {
	padding-bottom: 0 !important;
}

.tsb-col-nav ul li a,
.tsb-col-nav ul.menu li a {
	font-family: 'Roboto Slab', serif !important;
	font-size: 16px !important;
	font-weight: 400 !important;
	color: rgba(255,255,255,0.8) !important;
	text-decoration: none !important;
	line-height: 22px !important;
	transition: color 0.25s ease !important;
	display: inline !important;
	padding: 0 !important;
	background: transparent !important;
}

.tsb-col-nav ul li a:hover,
.tsb-col-nav ul.menu li a:hover {
	color: #F8C20D !important;
	text-decoration: none !important;
	background: transparent !important;
}

/* Hide sub-menus if any */
.tsb-col-nav ul li ul {
	display: none !important;
}

/* ===== COLUMN: CONTACT ===== */
.tsb-col-contact {}

.tsb-contact-list {
	list-style: none !important;
	margin: 0 0 20px !important;
	padding: 0 !important;
	display: flex !important;
	flex-direction: column !important;
	gap: 18px !important;
}

.tsb-contact-list li {
	display: flex !important;
	align-items: flex-start !important;
	gap: 10px !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.tsb-contact-icon {
	width: 16px !important;
	height: 16px !important;
	flex-shrink: 0 !important;
	display: block !important;
	margin-top: 3px;
}

.tsb-contact-list li a,
.tsb-contact-list li span {
	font-family: 'Roboto Slab', serif !important;
	font-size: 15px !important;
	font-weight: 400 !important;
	color: rgba(255,255,255,0.8) !important;
	text-decoration: none !important;
	line-height: 22px !important;
	transition: color 0.25s ease !important;
	word-break: break-word !important;
}

.tsb-contact-list li a:hover {
	color: #F8C20D !important;
	text-decoration: none !important;
}

/* ===== SOCIAL ICONS ===== */
.tsb-social-row {
	display: flex;
	align-items: center;
	gap: 12px;
	padding-top: 6px;
}

.tsb-social-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	background: rgba(255,255,255,0.1) !important;
	border-radius: 50% !important;
	text-decoration: none !important;
	transition: background 0.25s ease;
	flex-shrink: 0;
	border: none !important;
}

.tsb-social-btn:hover {
	background: rgba(255,255,255,0.22) !important;
	text-decoration: none !important;
}

.tsb-social-btn svg {
	width: 18px;
	height: 18px;
	display: block;
}

/* ===== DIVIDER ===== */
.tsb-footer-divider {
	width: 100%;
	margin: 0;
	border: none;
	border-top: 1px solid rgba(255,255,255,0.1);
}

/* ===== FOOTER BOTTOM — COPYRIGHT ===== */
.tsb-footer-bottom {
	max-width: 1300px;
	margin: 0 auto;
	padding: 18px 40px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
}

.tsb-footer-copyright,
.tsb-footer-powered {
	font-family: 'Roboto Slab', serif !important;
	font-size: 14px !important;
	font-weight: 400;
	color: rgba(255,255,255,0.55);
	text-align: center;
	margin: 0 !important;
	line-height: 1.6;
}

.tsb-footer-copyright a {
	color: rgba(255,255,255,0.55) !important;
	text-decoration: none !important;
}

.tsb-footer-powered a {
	color: #F8C20D !important;
	text-decoration: none !important;
	transition: opacity 0.2s ease;
}

.tsb-footer-powered a:hover {
	opacity: 0.8;
	text-decoration: underline !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1199px) {
	.tsb-footer-top {
		grid-template-columns: 1fr 1fr 1fr;
		gap: 36px 32px;
		padding: 50px 30px 44px;
	}
	.tsb-col-brand {
		grid-column: 1 / -1;
	}
	.tsb-col-contact {
		grid-column: 1 / -1;
		max-width: 420px;
	}
	.tsb-footer-bottom {
		padding: 16px 30px;
	}
}

@media (max-width: 900px) {
	.tsb-footer-top {
		grid-template-columns: 1fr 1fr;
		gap: 32px 24px;
		padding: 40px 24px 36px;
	}
	.tsb-col-brand {
		grid-column: 1 / -1;
	}
	.tsb-col-contact {
		grid-column: 1 / -1;
		max-width: 100%;
	}
	.tsb-footer-tagline {
		max-width: 100%;
	}
}

@media (max-width: 600px) {
	.tsb-footer-top {
		grid-template-columns: 1fr 1fr;
		gap: 28px 16px;
		padding: 32px 20px 28px;
	}
	.tsb-col-brand {
		grid-column: 1 / -1;
	}
	.tsb-col-contact {
		grid-column: 1 / -1;
	}
	.tsb-footer-col-heading {
		font-size: 16px !important;
	}
	.tsb-col-nav ul li a,
	.tsb-col-nav ul.menu li a {
		font-size: 15px !important;
	}
	.tsb-footer-logo img {
		height: 72px;
	}
	.tsb-footer-bottom {
		padding: 14px 20px;
	}
	.tsb-footer-copyright,
	.tsb-footer-powered {
		font-size: 13px !important;
	}
}

@media (max-width: 440px) {
	.tsb-footer-top {
		grid-template-columns: 1fr;
		gap: 28px;
		padding: 28px 16px 24px;
	}
	.tsb-col-contact {
		grid-column: 1;
	}
	.tsb-footer-bottom {
		padding: 14px 16px;
	}
}
