/*
Theme Name:   Inspiro Child
Description:  Child theme of Inspiro for site-specific customisations.
Author:       Ben Mawhinney
Template:     inspiro
Version:      1.2.0
Text Domain:  inspiro-child
*/

/* Custom styles go below. */

/*--------------------------------------------------------------
Footer columns
Footer background comes from the Customizer (Colors → Footer).
Inspiro's default grey footer text is too low-contrast on the dark
navy, so text and links here use translucent white instead.
--------------------------------------------------------------*/
.footer-columns {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2em 2.5em;
	padding: 3em 0 2.5em;
}

.footer-column-title {
	margin: 0 0 1em;
	padding: 0;
	font-family: "Montserrat", sans-serif;
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #fff;
}

.footer-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-menu li {
	margin: 0 0 0.6em;
	line-height: 1.4;
}

.footer-menu a,
.footer-bottom a {
	color: rgba(255, 255, 255, 0.8);
	text-decoration: none;
	transition: color 0.2s ease;
}

.footer-menu a:hover,
.footer-menu a:focus,
.footer-bottom a:hover,
.footer-bottom a:focus {
	color: var(--inspiro-primary-color);
	text-decoration: underline;
}

.footer-menu .current-menu-item > a {
	color: #fff;
}

/* Bottom bar */
.footer-bottom {
	display: flex;
	flex-direction: column;
	gap: 0.5em;
	color: rgba(255, 255, 255, 0.65);
}

.footer-bottom p {
	margin: 0;
}

/* Two columns on large phones / small tablets. */
@media screen and (min-width: 600px) {
	.footer-columns {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.footer-bottom {
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: space-between;
	}
}

/* Three columns on tablets. */
@media screen and (min-width: 800px) {
	.footer-columns {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* Desktop: one column per assigned menu (up to five). */
@media screen and (min-width: 1024px) {
	.footer-columns {
		grid-template-columns: repeat(var(--footer-columns, 5), minmax(0, 1fr));
	}
}
