/*
 * footer.css
 * Footer disclaimer strip, custom 3-column footer, and Astra overrides.
 */

/* ==========================================================================
   Hide Astra's default empty footer — we use our own custom footer
   ========================================================================== */
.site-footer,
#colophon {
	display: none !important;
}

/* ==========================================================================
   Footer Disclaimer Strip (injected via astra_footer_top hook)
   ========================================================================== */
.financeblog-footer-disclaimer {
	background-color: #111c33;
	border-top: 3px solid #2ecc71;
	padding: 1rem 0;
}

.financeblog-footer-disclaimer p {
	margin: 0;
	font-size: 0.78rem;
	color: rgba(255, 255, 255, 0.72);
	line-height: 1.6;
	text-align: center;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1.25rem;
}

.financeblog-footer-disclaimer a {
	color: #2ecc71;
	text-decoration: underline;
	font-weight: 500;
}

.financeblog-footer-disclaimer a:hover {
	color: #fff;
}

/* ==========================================================================
   Custom 3-Column Footer (injected via wp_footer hook)
   ========================================================================== */
.financeblog-custom-footer {
	background-color: #1a2744;
	color: rgba(255, 255, 255, 0.65);
	padding: 2.5rem 1.25rem 0;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.financeblog-footer-inner {
	max-width: 1200px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	gap: 2rem;
}

/* Brand column */
.financeblog-footer-brand strong {
	color: #fff;
	font-size: 1.1rem;
	display: block;
	margin-bottom: 0.5rem;
}

.financeblog-footer-brand p {
	font-size: 0.85rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.5);
	margin: 0;
}

/* Link columns */
.financeblog-footer-col h4 {
	color: #fff;
	font-size: 0.82rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	margin: 0 0 0.85rem;
}

.financeblog-footer-col a {
	display: block;
	color: rgba(255, 255, 255, 0.55);
	font-size: 0.85rem;
	margin-bottom: 0.4rem;
	text-decoration: none;
	transition: color 0.2s;
}

.financeblog-footer-col a:hover {
	color: #2ecc71;
}

/* Copyright bar */
.financeblog-footer-bottom {
	max-width: 1200px;
	margin: 0 auto;
	padding: 1.5rem 0 1.25rem;
	margin-top: 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 0.78rem;
	color: rgba(255, 255, 255, 0.35);
	flex-wrap: wrap;
	gap: 0.5rem;
}

/* ==========================================================================
   Back to Top (if Astra generates it)
   ========================================================================== */
.ast-scroll-top {
	background-color: #2ecc71 !important;
	color: #1a2744 !important;
}

.ast-scroll-top:hover {
	background-color: #27ae60 !important;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 768px) {
	.financeblog-footer-inner {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	.financeblog-footer-bottom {
		flex-direction: column;
		text-align: center;
	}
}
