/* Native Australia Additional CSS compatibility layer.
 * Only selector body qualification changes; declaration values/media order remain native.
 * Original CSS post2714 is retained and separately byte-hashed.
 */
body:not(.custom-background-image):before,
body:not(.custom-background-image):after {
	display: none;
}

body a.highlight {
	font-weight: bold;
	color: red;
}

body .content-table {
	width: 100%;
	border-collapse: collapse;
	margin: 24px 0;
	font-size: 1rem;
	line-height: 1.5;
}

body .content-table caption {
	caption-side: top;
	text-align: left;
	font-weight: 700;
	margin-bottom: 12px;
}

body .content-table th,
body .content-table td {
	border: 1px solid #ddd;
	padding: 10px;
	text-align: left;
	vertical-align: top;
	overflow-wrap: anywhere;
}

body .content-table th {
	background-color: #f4f4f4;
	font-weight: 700;
}

body .content-table tbody tr:nth-child(even) {
	background-color: #f9f9f9;
}

@media screen and (max-width: 768px) {
	body .content-table,
	body .content-table thead,
	body .content-table tbody,
	body .content-table th,
	body .content-table td,
	body .content-table tr {
		display: block;
	}

	body .content-table thead tr {
		position: absolute;
		top: -9999px;
		left: -9999px;
	}

	body .content-table tbody tr {
		margin-bottom: 20px;
		border: 1px solid #ddd;
		padding: 10px;
		background: #fff;
	}

	body .content-table td {
		position: relative;
		padding: 12px 12px 12px 50%;
		border: none;
		border-bottom: 1px solid #eee;
		text-align: left;
		min-height: 44px;
	}

	body .content-table td::before {
		content: attr(data-label);
		position: absolute;
		top: 12px;
		left: 12px;
		width: calc(50% - 24px);
		font-weight: 700;
		white-space: normal;
	}

	body .content-table td:last-child {
		border-bottom: none;
	}

}

body p.teaser {
	font-weight: bold;
	margin-top: 1em;
}

body .cta-box {
	background: #fafafa;
	border-radius: 12px;
	padding: 16px;
	margin: 30px 0;
}

body .cta-text {
	margin: 0;
	font-size: 1em;
	font-weight: bold;
}

body .cta-button {
	display: inline-block;
	margin-top: 5px;
	padding: 10px 16px;
	background: #d32f2f;
	color: #fff;
	border-radius: 8px;
	text-decoration: none;
	font-weight: bold;
}

body .entry-content h2,
body .entry-content h3,
body .entry-content h4 {
	clear: none;
}

body .box2 {
	border: 2px solid #f0f0f0;
	padding: 15px;
	border-radius: 8px;
	margin: 30px 0;
	background: #fafafa;
}

body .box2-text {
	font-size: 1.2em;
	margin-bottom: 10px;
	font-weight: bold;
}

body .box2-description {
	margin-bottom: 15px;
}

body .box2-button {
	display: inline-block;
	padding: 12px 20px;
	background: #d32f2f;
	margin-top: 5px;
	color: #fff;
	text-decoration: none;
	font-weight: bold;
	border-radius: 5px;
	flex: 1;
	min-width: 160px;
	text-align: center;
}

body .box2-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 1px;
}

body .box2-button:hover,
body .box2-button:focus,
body .box2-button:active,
body .cta-button:hover,
body .cta-button:focus,
body .cta-button:active {
	color: #fff;
}

body .back-to-top {
	position: fixed;
	bottom: 24px;
	right: 24px;
	background: #ccd6dd !important;
	color: #ffffff !important;
	font-size: 20px;
	line-height: 1;
	padding: 10px 14px;
	border-radius: 50%;
	text-align: center;
	text-decoration: none;
	font-weight: bold;
	z-index: 999;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

body .back-to-top:hover {
	background: #aab8c2 !important;
}

body.scrolled .back-to-top {
	opacity: 1;
	visibility: visible;
}

html {
	scroll-behavior: smooth;
}

body .site-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 9999;
	background-color: #fff;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
	transition: top 0.3s ease;
}

body .site-header.hide-header {
	top: -100px;
}

@media screen and (min-width: 768px) {
	body .site-header {
		height: 81px;
		padding-top: 0;
		padding-bottom: 0;
	}

	body .site-header .custom-logo {
		max-width: 160px;
		height: auto;
		margin-bottom: 16px;
	}

	body .main-navigation {
		padding-top: 2px;
		padding-bottom: 2px;
	}

	body .main-navigation a {
		padding: 12px 12px;
		line-height: 1.1;
	}

	body .site-content {
		margin-top: 90px;
	}

}

@media (max-width: 768px) {
	body .site-header {
		padding-top: 0;
		padding-bottom: 0;
	}

	body .site-header .custom-logo {
		max-width: 120px;
		height: auto;
	}

	body .main-navigation {
		padding-top: 2px;
		padding-bottom: 2px;
	}

	body .site-content {
		margin-top: 80px;
	}

	body .entry-content .wp-caption.alignright:not(.ag-mobile-full) {
		float: none;
		clear: both;
		display: block;
		max-width: 100%;
		margin: 0 auto 12px;
	}

	body .entry-content .wp-caption.alignright.ag-mobile-full {
		float: none;
		clear: both;
		display: block;
		width: 100% !important;
		max-width: 100%;
		margin: 0 auto 12px;
		text-align: left;
	}

	body .entry-content .wp-caption.alignright.ag-mobile-full img {
		display: block;
		width: 100%;
		max-width: 100%;
		height: auto;
		margin: 0 auto;
	}

	body .cta-link {
		display: block;
		width: 100%;
		text-align: center;
	}

}

body.page-id-6387 .entry-content figure.ag-route-map picture,
body.page-id-6387 .entry-content figure.ag-route-map img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
}

@media screen and (min-width: 768px) {
	body.page-id-6387 .entry-content figure.map-sydney-brisbane {
		max-width: 580px;
		margin-left: auto;
		margin-right: auto;
	}

}
