/* Counsellors NZ footer columns (v1.7). Loaded on every page while inc/footer-cols.php is on. */
.cnz-footer-cols-on .site-footer .site-above-footer-wrap { display: none; }

.cnz-footer-cols {
	background: #f2f3f1;
	border-top: 1px solid rgba(19, 35, 43, .12);
	color: #33454d;
	font-family: "CNZ Atkinson", "Atkinson Hyperlegible Next", "Segoe UI", sans-serif;
}
.cnz-footer-cols__inner {
	display: grid;
	gap: 2.25rem clamp(1.5rem, 3vw, 3rem);
	grid-template-columns: minmax(0, 1.3fr) repeat(4, minmax(0, 1fr));
	margin-inline: auto;
	max-width: 80rem;
	padding: clamp(2.75rem, 5vw, 4rem) clamp(1rem, 4vw, 3rem) clamp(2rem, 4vw, 3rem);
}
.cnz-footer-cols p { margin: 0; }
.cnz-footer-cols__name {
	color: #174e6a;
	font-family: "CNZ Archivo", "Archivo", sans-serif;
	font-size: 1.25rem;
	font-stretch: 112%;
	font-weight: 760;
	line-height: 1.1;
}
.cnz-footer-cols__tag { font-size: .9375rem; line-height: 1.5; margin-top: .5rem !important; max-width: 20rem; }
.cnz-footer-cols__head {
	color: #13232b;
	font-family: "CNZ Archivo", "Archivo", sans-serif;
	font-size: .9375rem;
	font-stretch: 108%;
	font-weight: 750;
	letter-spacing: .01em;
	line-height: 1.2;
	margin: 0 0 .75rem;
}
.cnz-footer-cols ul { list-style: none; margin: 0; padding: 0; }
.cnz-footer-cols li { margin: 0; }
.cnz-footer-cols__group li + li { margin-top: .45rem; }
.cnz-footer-cols a {
	color: #33454d;
	font-size: .9375rem;
	line-height: 1.4;
	text-decoration: none;
}
.cnz-footer-cols a:hover,
.cnz-footer-cols a:focus-visible { color: #13232b; text-decoration: underline; text-underline-offset: .2em; }
.cnz-footer-cols__social { display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin-top: 1.1rem !important; }
.cnz-footer-cols__social a { color: #174e6a; font-weight: 700; }

/* The copyright row underneath matches. */
.cnz-footer-cols-on .site-footer,
.cnz-footer-cols-on .site-footer .site-below-footer-wrap,
.cnz-footer-cols-on .site-footer .site-primary-footer-wrap { background: #f2f3f1; }
.cnz-footer-cols-on .site-footer .site-below-footer-wrap,
.cnz-footer-cols-on .site-footer .site-primary-footer-wrap { border-top: 1px solid rgba(19, 35, 43, .1); }

@media (max-width: 64rem) {
	.cnz-footer-cols__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cnz-footer-cols__brand { grid-column: 1 / -1; }
}
@media (max-width: 30rem) {
	.cnz-footer-cols__inner { gap: 2rem 1.25rem; }
	.cnz-footer-cols a { display: inline-block; padding-block: .15rem; }
}

/* Phones: "Book" pill beside the menu button (v1.7.2). Same green as the desktop header pill. */
.cnz-mobile-book[hidden] { display: none !important; }
#ast-mobile-header .site-header-primary-section-right { align-items: center; gap: .6rem; }
.cnz-mobile-book {
	align-items: center;
	background: #173f38;
	border-radius: 999px;
	color: #ffffff !important;
	display: inline-flex;
	font-family: "CNZ Atkinson", "Atkinson Hyperlegible Next", "Segoe UI", sans-serif;
	font-size: .9375rem;
	font-weight: 700;
	line-height: 1;
	min-height: 2.5rem;
	padding: .55rem 1.05rem;
	text-decoration: none !important;
}
.cnz-mobile-book:hover,
.cnz-mobile-book:focus-visible { background: #22574d; color: #ffffff !important; }
.cnz-mobile-book:focus-visible { outline: 3px solid #f4c430; outline-offset: 2px; }

/* v1.8: footer links reach 44px on touch screens and narrow windows. */
@media (max-width: 48rem), (pointer: coarse) {
	.cnz-footer-cols__group li + li { margin-top: 0; }
	.cnz-footer-cols a { display: inline-flex; align-items: center; min-height: 2.75rem; padding-block: 0; }
}
