/*
Theme Name: APT Bathurst Child
Theme URI: https://apt.bathurstanglican.org.au/
Description: A heritage-led child theme for the Anglican Property Trust, built on the Go theme.
Author: Eliot Harper
Template: go
Version: 1.1.1
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: apt-child
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

@import url('https://apt.bathurstanglican.org.au/wp-includes/css/dashicons.min.css');

:root {
	--go-navigation--font-size: 0.95em;
	--apt-forest: #173b36;
	--apt-forest-soft: #31554f;
	--apt-cream: #f5f0e7;
	--apt-paper: #fffdf8;
	--apt-clay: #a4573d;
	--apt-clay-dark: #7f3f2d;
	--apt-gold: #c9a661;
	--apt-border: #d8cdbd;
	--apt-shadow: 0 12px 32px rgba(23, 59, 54, 0.12);
	--apt-heading-font-family: "Roboto", Sans-serif;
}

body {
	background: var(--apt-paper);
	color: var(--apt-forest);
}

a {
	color: var(--apt-clay-dark);
}

.header__navigation a {
	font-family: var(--apt-heading-font-family);
}


h1, h2, h3, h4, h5, h6, .site-title {
	font-family: var(--apt-heading-font-family);
}

.site-title {
	text-transform: uppercase;
	font-size: 1.5rem;
	font-weight: 200;
	letter-spacing: 0.15rem;
}

.site-header {
	background: var(--apt-forest);
	color: #fff;
}

.site-header .header__inner {
	margin-left: 0;
	margin-right: 0;
	max-width: none;
	padding-bottom: 1.25rem;
	padding-top: 1.25rem;
	width: 100%;
}

.site-header a,
.site-header .site-title,
.site-header button {
	color: #fff;
}

.site-header .primary-menu > li > a {
	font-size: 0.95em;
	font-weight: 400;
}

.site-header .header__navigation .primary-menu .sub-menu {
	background-color: #c08960;
}

.site-header .header__navigation .primary-menu .sub-menu::before {
	border-bottom-color: #c08960;
}

.home .site-content {
	margin: 0;
	padding: 0;
}

.apt-front-page {
	background: var(--apt-paper);
}

.apt-front-page__notice {
	background: var(--apt-clay);
	color: #fff;
	font-size: 0.875rem;
	letter-spacing: 0.02em;
	padding: 0.6rem 1.5rem;
	text-align: center;
} 

.apt-front-page__help {
	display: none;
}

p.apt-front-page__notice {
	margin-bottom: 0;
	display: none; /* future use */
}

.apt-front-page__hero {
	background: var(--apt-cream);
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(22rem, 0.95fr);
	min-height: 34rem;
}

.apt-front-page__hero-copy {
	align-self: center;
	padding: clamp(3rem, 7vw, 6.5rem) clamp(1.5rem, 6vw, 5rem);
}

.apt-front-page__eyebrow {
	color: var(--apt-clay-dark);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	margin: 0 0 1rem;
	text-transform: uppercase;
}

.apt-front-page__hero h1,
.apt-front-page__intro h2,
.apt-front-page__resources h2,
.apt-front-page__help h2 {
	color: var(--apt-forest);
	font-family: var(--apt-heading-font-family);
	font-weight: 400;
}

.apt-front-page__hero h1 {
	font-size: clamp(2.5rem, 5vw, 4.75rem);
	letter-spacing: -0.035em;
	line-height: 1.02;
	margin: 0 0 1.5rem;
}

.apt-front-page__lede {
	color: var(--apt-forest-soft);
	font-size: clamp(1.05rem, 1.7vw, 1.25rem);
	line-height: 1.7;
	max-width: 38rem;
}

.apt-front-page__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 2rem;
}

.apt-front-page__button {
	align-items: center;
	border: 1px solid var(--apt-clay);
	display: inline-flex;
	font-weight: 600;
	gap: 0.5rem;
	justify-content: center;
	padding: 0.85rem 1.15rem;
	text-decoration: none;
}

.apt-front-page__button:hover,
.apt-front-page__button:focus {
	background: var(--apt-clay-dark);
	border-color: var(--apt-clay-dark);
	color: #fff;
}

.apt-front-page__button--primary {
	background: var(--apt-clay);
	color: #fff;
}

.apt-front-page__hero-media {
	height: 100%;
	isolation: isolate;
	min-height: 28rem;
	overflow: hidden;
	position: relative;
}

.apt-front-page__hero-media::after {
	background: linear-gradient(180deg, transparent 55%, rgba(23, 59, 54, 0.78));
	content: "";
	inset: 0;
	pointer-events: none;
	position: absolute;
	z-index: 2;
}

.apt-front-page__hero-media img {
	box-sizing: border-box;
	display: block;
	height: 100%;
	inset: 0;
	max-height: 100%;
	max-width: 100%;
	min-height: 100%;
	min-width: 100%;
	object-fit: cover;
	object-position: center;
	opacity: 1;
	position: absolute;
	transform: none !important;
	transition: opacity 800ms ease;
	width: 100%;
	z-index: 0;
}

.apt-front-page__hero-media img.is-fading-in,
.apt-front-page__hero-media img.is-fading-out {
	opacity: 0;
}

.apt-front-page__hero-media img.is-fading-in.is-visible {
	opacity: 1;
	z-index: 1;
}

.apt-front-page__image-caption {
	bottom: 1.5rem;
	color: #fff;
	font-size: 0.85rem;
	left: 1.5rem;
	margin: 0;
	position: absolute;
	z-index: 3;
}

.apt-front-page__inner {
	margin: 0 auto;
	max-width: 1180px;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}

.apt-front-page__intro {
	display: grid;
	gap: clamp(2rem, 6vw, 5rem);
	grid-template-columns: minmax(14rem, 0.72fr) minmax(0, 1.28fr);
	padding-bottom: clamp(3.5rem, 7vw, 6rem);
	padding-top: clamp(3.5rem, 7vw, 6rem);
}

.apt-front-page__intro h2,
.apt-front-page__resources h2,
.apt-front-page__help h2 {
	font-size: clamp(2rem, 4vw, 3.25rem);
	line-height: 1.1;
	margin: 0;
}

.apt-front-page__content {
	color: var(--apt-forest-soft);
	font-size: 1.05rem;
	line-height: 1.75;
}

.apt-front-page__content > :first-child {
	margin-top: 0;
}

.apt-front-page__content > :last-child {
	margin-bottom: 0;
}

.apt-front-page__services {
	background: var(--apt-border);
	border-bottom: 1px solid var(--apt-border);
	border-top: 1px solid var(--apt-border);
	display: grid;
	gap: 1px;
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

.apt-front-page__service {
	background: var(--apt-paper);
	color: var(--apt-forest);
	min-height: 12rem;
	padding: 1.75rem 1.5rem;
	text-decoration: none;
	transition: background-color 160ms ease, color 160ms ease;
}

.apt-front-page__service:hover,
.apt-front-page__service:focus {
	background: var(--apt-forest);
	color: #fff;
}

.apt-front-page__service-icon {
	color: var(--apt-clay);
	display: block;
	font-size: 1.4rem;
	margin-bottom: 1.25rem;
}

.apt-front-page__service strong {
	display: block;
	font-family: var(--apt-heading-font-family);
	font-size: 1.3rem;
	font-weight: 400;
	margin-bottom: 0.45rem;
}

.apt-front-page__service span:last-child {
	display: block;
	font-size: 0.9rem;
	line-height: 1.5;
	opacity: 0.8;
}

.apt-front-page__resources {
	background: var(--apt-cream);
	padding-bottom: clamp(3.5rem, 7vw, 6rem);
	padding-top: clamp(3.5rem, 7vw, 6rem);
}

.apt-front-page__resources-header {
	align-items: end;
	display: flex;
	gap: 2rem;
	justify-content: space-between;
	margin-bottom: 2rem;
}

.apt-front-page__resources-intro {
	color: var(--apt-forest-soft);
	margin: 0;
	max-width: 34rem;
}

.apt-front-page__resource-grid {
	display: grid;
	gap: 1.25rem;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.apt-front-page__resource {
	background: var(--apt-paper);
	border-top: 4px solid var(--apt-clay);
	box-shadow: var(--apt-shadow);
	color: var(--apt-forest);
	display: block;
	padding: 1.5rem;
	text-decoration: none;
}

.apt-front-page__resource:hover,
.apt-front-page__resource:focus {
	transform: translateY(-2px);
}

.apt-front-page__resource-meta {
	color: var(--apt-clay-dark);
	display: block;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	margin-bottom: 1rem;
	text-transform: uppercase;
}

.apt-front-page__resource h3 {
	font-family: var(--apt-heading-font-family);
	font-size: 1.45rem;
	font-weight: 400;
	margin: 0 0 0.65rem;
}

.apt-front-page__resource p {
	color: var(--apt-forest-soft);
	line-height: 1.6;
	margin-bottom: 0;
}

.apt-front-page__help {
	align-items: center;
	background: var(--apt-clay);
	color: #fff;
	display: flex;
	gap: 2rem;
	justify-content: space-between;
	padding-bottom: 2.5rem;
	padding-top: 2.5rem;
}

.apt-front-page__help h2 {
	color: #fff;
	font-size: clamp(1.8rem, 3vw, 2.6rem);
	margin-bottom: 0.4rem;
}

.apt-front-page__help p {
	margin: 0;
}

.apt-front-page__help .apt-front-page__button {
	background: var(--apt-paper);
	border-color: var(--apt-paper);
	color: var(--apt-clay-dark);
	flex: 0 0 auto;
}

.apt-front-page__help .apt-front-page__button:hover,
.apt-front-page__help .apt-front-page__button:focus {
	background: var(--apt-forest);
	border-color: var(--apt-forest);
	color: #fff;
}

.site-footer {
	background: var(--apt-forest);
	color: #fff;
	margin-top: 0;
}

.site-footer .site-info {
	color: #fff;
}

.site-footer .footer-navigation {
	font-family: var(--apt-heading-font-family);
	text-align: left;
}

.footer-menu {
	padding-top: calc(var(--go--spacing--vertical--lg) * .5);
}

.site-footer--1 .footer-menu {
	display: flex;
	width: 100%;
}

.site-footer--1 .footer-menu > .menu-item {
	flex: 1 1 0;
	width: auto;
}

.site-footer--1 .footer-menu .menu-item {
	text-align: center;
}

.site-footer--1 .footer-menu > .menu-item-has-children {
	vertical-align: top;
}

.site-footer--1 .footer-menu .sub-menu {
	list-style: none;
	margin: 0.35rem 0 0;
	padding: 0;
	text-align: center;
}

.site-footer--1 .footer-navigation .sub-menu li {
	display: block;
	width: 100%;
}

.site-footer--1 .footer-navigation .sub-menu a {
	font-size: 0.85em;
	opacity: 0.85;
	padding-left: 0;
	padding-right: 0;
}

.site-footer--1 .footer-navigation a {
	font-family: var(--apt-heading-font-family);
	font-size: 1em;
	font-weight: 400;
	padding: 0;
}


.site-footer a {
	color: #fff;
}

@media (max-width: 960px) {
	.site-header .menu-main-container {
		background-color: var(--apt-forest);
		height: 100%;
		width: 100%;
	}

	.site-header #menu-main {
		align-items: center;
		display: flex;
		flex-direction: column;
		justify-content: center;
		text-align: center;
		width: 100%;
	}

	.apt-front-page__hero {
		grid-template-columns: 1fr;
	}

	.apt-front-page__hero-media {
		min-height: 22rem;
	}

	.apt-front-page__services {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.apt-front-page__resource-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 680px) {
	.site-footer--1 .footer-navigation {
		display: none;
	}

	.apt-front-page__intro {
		grid-template-columns: 1fr;
	}

	.apt-front-page__resources-header,
	.apt-front-page__help {
		align-items: flex-start;
		flex-direction: column;
	}

	.apt-front-page__services {
		grid-template-columns: 1fr;
	}

	.apt-front-page__service {
		min-height: auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	.apt-front-page__hero-media img,
	.apt-front-page__service,
	.apt-front-page__resource {
		transition: none;
	}
}

/* Global */
h1,
h1.entry-title,
h2,
h2.wp-block-heading,
h3,
h4,
strong {
	color: #804533;
}

p:not(.has-background).is-style-info {
	background-color: #ebd9bc;
	color: #000;
}

h1,
h1.entry-title,
h2,
h2.wp-block-heading,
h3,
h3.wp-block-heading,
h4 {
	font-weight: 400;
	margin-top: 1rem;
}

h4 {
	color: #202020;
	font-size: 1.5rem;
}

.wp-block-heading img {
	display: inline-block;
	margin: 0 auto;
	padding-right: 0.5rem;
	vertical-align: text-bottom;
}

li {
	font-size: var(--go--font-size);
}

img.custom-logo {
	height: 110px;
	width: 110px;
}

.has-fixed-layout tbody tr:first-child {
	background-color: #c08960 !important;
	color: #fff;
	font-size: 1.2em;
	font-weight: 700;
}

.has-fixed-layout tbody tr:first-child td {
	color: #fff;
}

.wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
	background-color: #f3e6dc;
}

.header__search-toggle svg {
	fill: #fff;
}

.nav-toggle-icon {
	color: #fff;
}

.site-header .nav-toggle-icon svg,
.site-header .nav-toggle-icon svg path {
	fill: #fff;
}

.site-header .nav-toggle-icon:not(.nav-toggle-icon--close) {
	height: 18px;
	position: relative;
	width: 24px;
}

.site-header .nav-toggle-icon:not(.nav-toggle-icon--close)::before {
	background-color: #fff;
	box-shadow: 0 7px 0 #fff, 0 14px 0 #fff;
	content: "";
	height: 2px;
	left: 0;
	position: absolute;
	top: 1px;
	width: 24px;
}

.site-header .nav-toggle-icon:not(.nav-toggle-icon--close) svg {
	display: none;
}

.header__titles {
	align-items: center;
	background-image: url('https://apt.bathurstanglican.org.au/wp-content/uploads/2025/09/cropped-cropped-cropped-Bathurst-Diocese-Logo-Circle-New-300x300.png.webp');
	background-repeat: no-repeat;
	background-size: 100px;
	display: flex;
	flex-wrap: wrap;
	height: 100px;
	padding-left: 120px;
}

.site-title {
	display: block;
	width: 100%;
}

.site-description {
	display: none;
}

.site-footer a,
.header__navigation a {
	font-weight: 400;
}

/* Home */
.wp-image-22 {
	border-radius: 20px;
	margin-top: 1em;
}

.primary-menu .sub-menu {
	background-color: #c08960;
	width: 300px;
}

ul.sub-menu {
	text-align: left;
}

/* Directory */
#wpbdp-page-category {
	max-width: 70vw;
}

.wpbdp-main-links-3-buttons {
	display: none;
}

p.is-style-info {
	font-size: 0.95rem;
}

p:not(.has-background).is-style-info {
	border-radius: 1rem;
	margin-bottom: 2em;
}

.wpbdp-is-table .wpbdp-listing > div {
	padding: 0.5em 1.5em 0;
}

.field-value .field-label {
	padding-right: 0;
}

.wpbdp-listing-table-header div:nth-child(2),
.wpbdp-listing-table-header div:nth-child(3),
.wpbdp-listing-table-header div:nth-child(6),
.wpbdp-field-display.field-value.wpbdp-field-category,
.wpbdp-field-display.field-value.wpbdp-field-contact_name,
.wpbdp-field-display.field-value.wpbdp-field-state,
div.social-fields.cf,
#wpbdp-listings-list > div > div:empty {
	display: none;
}

.wpbdp-listing.wpbdp-listing-table-header > div {
	background-color: var(--go-navigation--color--text);
	color: #fff;
	font-size: 1rem;
	padding: 1em 1.8em;
	text-transform: uppercase;
}

.content-area ul.doc-nav-list ul.children li {
	list-style: none;
}

li.cat-item {
	font-size: 0.9rem;
}

.wpbdp-main-links {
	justify-content: flex-start;
}

.wpbdp-main-box .wpbdp-link {
	font-size: 1.1rem;
}

a#wpbdp-bar-submit-listing-button {
	font-size: 1.1rem;
	font-weight: 400;
}

body.home .entry-content > :not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide) {
	max-width: 75%;
}

/* Docs */
ol.list-none.m-0.mb-8.p-0.flex.items-center.flex-wrap {
	margin-top: 1em;
}

h3.widget-title { 
	display: none;
}

div.wedocs-single-search-input {
	margin:1rem;
}

.right-sidebar h3 {
	font-size: 1.5em;
}

.mailing-address {
	color: #666;
}

.article-child.well {
	display: none;
}

.px-2\.5 {
	font-size: 18px;
	padding-left: 0;
}

.prose :where(a):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
	font-weight: unset;
}

.header .header__titles {
	flex: 0 1 40%;
}

ul.children li.page_item.current_page_item > a {
	background-color: #fff !important;
	color: rgb(192, 118, 96) !important;
}

/* Remove breadcrumb. */
ol[itemtype="http://schema.org/BreadcrumbList"] {
	display: none;
}

/* Heritage trade directory: remove duplicate comment area and listing button. */
main#site-content.site-content > .comments-area__wrapper,
#wpbdp-bar-submit-listing-button {
	display: none;
}

@media (max-width: 767px) {
	.site-description {
		display: none;
	}
}
