/*
 * [tc_location_links] — sits in the Elementor footer (template 38) under "Useful Links".
 * Mirrors that column's styling by reading the same global tokens the footer uses:
 *   heading  = the "Useful Links" h6 (global typography 67d8d3f, colour 70c0e6b)
 *   links    = the footer nav menus (Oakes Grotesk 16px / 14px mobile, weight 400, no underline, 6px between items)
 * Two columns when the slot is at least 250px wide (the longest names, e.g. "Sunshine Coast", need ~115px each),
 * otherwise one column. Left aligned.
 */
/* Elementor shrink-wraps a widget inside a flex container; let this one use the full column width. */
.elementor-widget:has(.tc-location-links) {
	width: 100%;
	max-width: 100%;
	flex: 1 1 100%;
	min-width: 0;
}

.tc-location-links {
	container-type: inline-size;
	width: 100%;
	margin: 0;
	padding: 0;
	text-align: left;
}

.tc-location-links__heading {
	margin: 0 0 40px;
	padding: 0;
	font-family: var(--e-global-typography-67d8d3f-font-family), "Oakes Grotesk", Sans-serif;
	font-size: var(--e-global-typography-67d8d3f-font-size, 24px);
	font-weight: var(--e-global-typography-67d8d3f-font-weight, 500);
	font-style: var(--e-global-typography-67d8d3f-font-style, normal);
	text-transform: var(--e-global-typography-67d8d3f-text-transform, none);
	text-decoration: var(--e-global-typography-67d8d3f-text-decoration, none);
	line-height: var(--e-global-typography-67d8d3f-line-height, 1.5);
	letter-spacing: var(--e-global-typography-67d8d3f-letter-spacing, 0.2px);
	color: var(--e-global-color-70c0e6b, #fff);
}

.tc-location-links__list {
	margin: 0;
	padding: 0;
	list-style: none;
	column-count: 1;
	column-gap: 12px;
}

.tc-location-links__list li {
	margin: 0 0 6px;
	padding: 0;
	line-height: 1.3333;
	break-inside: avoid;
}

.tc-location-links__list a {
	display: block;
	padding: 0;
	font-family: "Oakes Grotesk", Sans-serif;
	font-size: 16px;
	font-weight: 400;
	font-style: normal;
	line-height: 1.3333;
	text-transform: none;
	text-decoration: none;
	color: var(--e-global-color-70c0e6b, #fff);
}

/*
 * The theme styles every footer link with an underline that disappears on hover
 * (style.css ".elementor-location-footer a"). The Useful Links menu overrides that, so do the same here
 * with higher specificity: never underlined; hover just dims to 75% like the other footer links.
 */
.tc-location-links .tc-location-links__list a,
.tc-location-links .tc-location-links__list a:hover,
.tc-location-links .tc-location-links__list a:focus {
	text-decoration: none;
}

/*
 * style.css draws a 1px bar under every footer list link
 * ("footer .elementor-element ul li a::before") that shrinks to the right on hover.
 * On the Useful Links menu, Elementor keeps that bar invisible until hover/focus, so the
 * effect is: hover → full underline appears and slides away. Match that exactly.
 */
.tc-location-links .tc-location-links__list a:not(:hover):not(:focus)::before {
	opacity: 0;
}

.tc-location-links .tc-location-links__list a::after {
	content: none;
	display: none;
}

/* Two neat columns (filled top to bottom) whenever the slot is wide enough; one column in a narrow slot or when the footer stacks. */
@container (min-width: 250px) {
	.tc-location-links__list {
		column-count: 2;
	}
}

/* Same step-downs the footer uses. */
@media (max-width: 1024px) {
	.tc-location-links__heading {
		margin-bottom: 20px;
	}
}

@media (max-width: 767px) {
	.tc-location-links__list a {
		font-size: 14px;
	}
}
