/* Custom site styles */

.video-responsive{
    overflow:hidden;
    padding-bottom:56.25%;
    position:relative;
    height:0;
}
.video-responsive iframe{
    left:0;
    top:0;
    height:100%;
    width:100%;
    position:absolute;
}

.text-holder {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.responsive-image {
    width: 45%;
    height: auto;
    margin: 15px 0;
}

@media (max-width: 600px) {
    .responsive-image {
        width: 100%;
    }
}

/* ============================
   Services image-card grid
   ============================ */
.services-image-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
	margin: 0 auto;
}

.service-image-card {
	background: #fff;
	border-radius: 6px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0,0,0,.08);
	display: flex;
	flex-direction: column;
}

.service-image-card__img {
	width: 100%;
	height: 220px;
	overflow: hidden;
}

.service-image-card__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.service-image-card__body {
	padding: 22px 20px 24px;
}

.service-image-card__body h3 {
	font-size: 18px;
	margin: 0 0 10px;
	font-weight: 700;
}

.service-image-card__body p {
	font-size: 14px;
	line-height: 1.5;
	margin: 0 0 6px;
	color: #444;
}

@media (max-width: 900px) {
	.services-image-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 580px) {
	.services-image-grid {
		grid-template-columns: 1fr;
	}
}

/* ============================
   Suburbs card grid
   ============================ */
.suburbs-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 24px;
	margin: 0 auto;
}

.suburbs-grid .suburb-card {
	flex: 0 1 calc(33.333% - 16px);
}

.suburb-card {
	background: #fff;
	border-radius: 6px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0,0,0,.08);
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: inherit;
	transition: box-shadow .2s ease, transform .2s ease;
}

.suburb-card:hover {
	box-shadow: 0 4px 16px rgba(0,0,0,.14);
	transform: translateY(-2px);
	text-decoration: none;
	color: inherit;
}

.suburb-card__img {
	width: 100%;
	height: 180px;
	overflow: hidden;
	position: relative;
}

.img-credit {
	position: absolute;
	bottom: 4px;
	right: 6px;
	font-size: 10px;
	color: rgba(255,255,255,.85);
	background: rgba(0,0,0,.45);
	padding: 2px 6px;
	border-radius: 3px;
	line-height: 1.3;
	pointer-events: none;
}

.suburb-card__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.suburb-card__body {
	padding: 18px 18px 22px;
}

.suburb-card__body h3 {
	font-size: 17px;
	margin: 0 0 8px;
	font-weight: 700;
	color: #262626;
}

.suburb-card__body p {
	font-size: 13px;
	line-height: 1.5;
	margin: 0;
	color: #555;
}

@media (max-width: 900px) {
	.suburbs-grid .suburb-card {
		flex: 0 1 calc(50% - 12px);
	}
}

@media (max-width: 580px) {
	.suburbs-grid .suburb-card {
		flex: 0 1 100%;
	}
}
