/*
Theme Name: Little Winners Hub
Theme URI: https://littlewinners.com.au/
Author: Little Winners Child Care
Description: A self-contained one-page brand hub for Little Winners Child Care, listing the Hurstville, Smithfield and Casula centres.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: little-winners-hub
*/

/* Reset and base */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	padding: 0;
	background-color: #f2f2f2;
	color: #222;
	font-family: "Source Sans Pro", "Source Sans 3", sans-serif;
	font-size: 18px;
	font-weight: 400;
	line-height: 1.45;
	font-style: normal;
	word-wrap: break-word;
}

img {
	max-width: 100%;
	height: auto;
	border: 0;
	vertical-align: middle;
}

iframe {
	max-width: 100%;
	border: 0;
}

a {
	color: #49b7c4;
	text-decoration: none;
}

a:hover,
a:focus {
	color: #00b0c4;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0;
	padding: 0;
	color: #333;
	font-family: "Rubik", sans-serif;
	font-weight: 500;
	line-height: 1.4;
	text-transform: none;
	font-style: normal;
}

h1 {
	font-size: 36px;
	letter-spacing: 2px;
	font-weight: 800;
}

h2 {
	font-size: 26px;
	letter-spacing: 2px;
}

h3 {
	font-size: 24px;
	letter-spacing: 0;
}

p {
	margin: 0;
}

ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.lwh-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.lwh-sr-only:focus {
	position: static;
	width: auto;
	height: auto;
	margin: 0;
	clip: auto;
	overflow: visible;
	white-space: normal;
}

/* Page wrapper is white so the tagline section matches the live site */
.lwh-page {
	background-color: #fff;
	position: relative;
	margin: 0 auto;
}

/* Header */
.lwh-header {
	background-color: #fff;
	color: #000;
}

.lwh-header-inner {
	max-width: 1100px;
	margin: 0 auto;
	padding: 30px 20px;
	text-align: center;
}

.lwh-logo {
	display: inline-block;
	text-decoration: none;
	line-height: 0;
}

.lwh-logo img {
	display: block;
	width: 420px;
	max-width: 100%;
	height: auto;
	margin: 0 auto;
}

/* Centres section */
.lwh-centres {
	position: relative;
	background-color: #f5f5f5;
	padding: 80px 0;
	overflow: hidden;
}

.lwh-particles {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	overflow: hidden;
}

.lwh-particles canvas {
	display: block;
	width: 100%;
	height: 100%;
}

.lwh-edge {
	position: absolute;
	left: 0;
	right: 0;
	width: 100%;
	z-index: 1;
	pointer-events: none;
	line-height: 0;
}

.lwh-edge svg {
	display: block;
	width: 100%;
	height: 100%;
}

.lwh-edge svg .lwh-shape {
	fill: #49b7c4;
}

.lwh-edge--top {
	top: -3px;
	height: 85px;
}

.lwh-edge--bottom {
	bottom: 0;
	height: 60px;
	transform: scaleY(-1);
}

.lwh-centres-inner {
	position: relative;
	z-index: 2;
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 20px;
}

.lwh-centres-title {
	text-align: center;
	margin: 0 0 0;
	color: #333;
}

/* Cards */
.lwh-cards {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	margin-top: 0;
}

.lwh-card-wrap {
	width: 33.333%;
	display: flex;
}

.lwh-card {
	background-color: #fff;
	border: 1px solid #8cc43a;
	box-shadow: 6px 1px 10px 2px rgba(33, 33, 33, 0.85);
	margin: 20px;
	padding: 20px 0;
	text-align: center;
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: stretch;
}

.lwh-card h2 {
	text-align: center;
	margin: 10px 0 5px;
	color: #333;
}

.lwh-card h3 {
	text-align: center;
	margin: 0;
	color: #333;
	font-weight: 500;
}

.lwh-card h3 strong {
	font-weight: 700;
}

.lwh-card-photo {
	line-height: 0;
	margin: 0;
	text-align: center;
}

.lwh-card-photo img {
	display: inline-block;
	width: 100%;
	height: auto;
	max-width: 100%;
}

.lwh-btn {
	display: inline-block;
	margin: 10px auto 0;
	padding: 12px 24px;
	background: #8dc53e;
	color: #fff !important;
	border: 1px solid #33929d;
	border-radius: 4px;
	font-family: "Source Sans Pro", "Source Sans 3", sans-serif;
	font-size: 18px;
	font-weight: 400;
	line-height: 18px;
	text-align: center;
	text-decoration: none;
	text-shadow: none;
	cursor: pointer;
}

.lwh-btn:hover,
.lwh-btn:focus {
	background: #52aa00;
	border-color: #007987;
	color: #fff !important;
	text-decoration: none;
}

.lwh-btn:active {
	position: relative;
	top: 1px;
}

.lwh-btn-icon {
	display: inline-block;
	width: 1.15em;
	height: 1.15em;
	margin-left: 8px;
	vertical-align: middle;
	fill: currentColor;
}

.lwh-btn-label,
.lwh-btn-icon {
	vertical-align: middle;
}

.lwh-directions {
	text-align: center;
	margin: 8px 0 10px;
	color: #212121;
}

.lwh-directions a {
	color: #212121;
	text-decoration: none;
}

.lwh-directions a:hover,
.lwh-directions a:focus {
	color: #212121;
	text-decoration: underline;
}

.lwh-social {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	margin: 0 0 0;
}

.lwh-social a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	margin: 0 4px;
	color: #212121;
	border-radius: 100px;
	text-decoration: none;
	line-height: 60px;
}

.lwh-social a:hover,
.lwh-social a:focus {
	color: #8dc53e;
}

.lwh-social svg {
	display: block;
	width: 40px;
	height: 40px;
	fill: currentColor;
}

.lwh-phone {
	text-align: center;
	margin: 0;
	font-size: 30px;
	color: #212121;
}

.lwh-phone a {
	color: #212121;
	text-decoration: none;
}

.lwh-phone a:hover,
.lwh-phone a:focus {
	color: #212121;
	text-decoration: underline;
}

/* Tagline + video */
.lwh-about {
	background-color: #fff;
	padding: 60px 0 30px;
}

.lwh-about-inner {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 20px;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
}

.lwh-about-copy,
.lwh-about-video {
	width: 50%;
}

.lwh-deco {
	line-height: 0;
}

.lwh-deco svg {
	display: inline-block;
	vertical-align: middle;
	fill: currentColor;
}

.lwh-deco--shapes {
	color: #8dc53e;
	text-align: left;
	margin-top: -20px;
	margin-bottom: 0;
}

.lwh-deco--shapes svg {
	width: 40px;
	height: 40px;
}

.lwh-about-copy h2 {
	text-transform: uppercase;
	margin: 10px 0 0;
	color: #333;
}

.lwh-deco-row {
	display: flex;
	align-items: flex-start;
	width: 100%;
}

.lwh-deco-row > * {
	width: 33.33%;
}

.lwh-deco--square {
	color: #49b7c4;
	text-align: center;
	margin-top: 0;
}

.lwh-deco--square svg {
	width: 40px;
	height: 40px;
}

.lwh-deco--circle {
	color: #818286;
	text-align: left;
	margin-top: -35px;
}

.lwh-deco--circle svg {
	width: 50px;
	height: 50px;
}

.lwh-about-video {
	line-height: 0;
}

.lwh-video {
	position: relative;
	width: 100%;
	max-width: 560px;
	aspect-ratio: 560 / 314;
	margin: 0;
	overflow: hidden;
}

.lwh-video iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: none;
	overflow: hidden;
}

/* Footer */
.lwh-footer {
	background-color: #818286;
	color: #fff;
	border-top: 1px solid #68696c;
	font-size: 12px;
	text-align: center;
}

.lwh-footer p {
	margin: 0;
	padding: 20px;
	color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
	h1 {
		font-size: 30px;
	}

	.lwh-header-inner {
		padding: 24px 16px;
	}

	.lwh-centres {
		padding: 72px 0 64px;
	}

	.lwh-centres-inner,
	.lwh-about-inner {
		padding: 0 16px;
	}

	.lwh-cards {
		display: block;
	}

	.lwh-card-wrap {
		width: auto;
		max-width: 400px;
		margin-left: auto;
		margin-right: auto;
		display: block;
	}

	.lwh-about-copy,
	.lwh-about-video {
		width: 100%;
	}

	.lwh-about-video {
		margin-top: 24px;
	}

	.lwh-video {
		max-width: 100%;
	}

	.lwh-deco-row {
		display: block;
	}

	.lwh-deco-row > * {
		width: auto;
	}

	.lwh-deco--square {
		display: none;
	}

	.lwh-deco--shapes {
		margin-top: 0;
	}

	.lwh-deco--circle {
		text-align: left;
		margin-top: 10px;
		margin-bottom: 8px;
	}
}
