/*
Theme Name: Affordable Automotive
Theme URI: https://affordableautomotive.com.au/
Author: Dignis Media
Author URI: https://dignismedia.com/
Tags: one-column, two-columns, custom-logo, custom-menu, editor-style, featured-images, accessibility-ready
Description: Fast, local-SEO-ready theme for Affordable Automotive, Port Augusta. Includes the homepage design, service and service-area page templates, a built-in quote form that stores leads, LocalBusiness schema, and a one-click setup (Appearance > Website setup) that creates every page and menu.
Version: 1.4.0
Requires at least: 6.4
Tested up to: 7.1
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: affordable-automotive
*/

/* ---------- Fonts (self-hosted, subset) ---------- */
@font-face {
	font-family: "Saira AA";
	src: url("assets/fonts/saira-800-italic-semicondensed.woff2") format("woff2");
	font-weight: 800;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: "Barlow";
	src: url("assets/fonts/barlow-latin-400-normal.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Barlow";
	src: url("assets/fonts/barlow-latin-600-normal.woff2") format("woff2");
	font-weight: 500 600;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Barlow";
	src: url("assets/fonts/barlow-latin-700-normal.woff2") format("woff2");
	font-weight: 700 900;
	font-style: normal;
	font-display: swap;
}

/* ---------- Brand tokens (from the logo artwork) ---------- */
:root {
	--aa-red: #BF1B2C;
	--aa-red-dark: #9A1523;
	--aa-red-tint: #F0656F;
	--aa-black: #100F0D;
	--aa-pure: #000000;
	--aa-char: #1C1B19;
	--aa-char-line: #2A2926;
	--aa-paper: #F5F4F2;
	--aa-stone: #E8E6E2;
	--aa-line: #E2DFDA;
	--aa-field: #C9C6C0;
	--aa-ink: #100F0D;
	--aa-grey: #4A4844;
	--aa-soft: #D9D6D0;
	--aa-muted: #B8B5AF;
	--aa-star: #F2B705;
	--aa-display: "Saira AA", "Barlow", system-ui, sans-serif;
	--aa-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
	--aa-radius: 6px;
	--aa-header-offset: 110px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--aa-header-offset); }
body {
	margin: 0;
	background: var(--aa-paper);
	color: var(--aa-ink);
	font-family: var(--aa-body);
	font-size: 17px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--aa-red); }
a:hover { color: var(--aa-red-dark); }
:focus-visible { outline: 3px solid var(--aa-red-tint); outline-offset: 2px; }
p { margin: 0 0 1em; }
.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; width: 1px; word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto; margin: 0;
	position: fixed !important; top: 8px; left: 8px; z-index: 1000;
	background: #fff; color: var(--aa-ink); padding: 12px 16px; font-weight: 700;
}
.aa-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.aa-disp {
	font-family: var(--aa-display);
	font-style: italic;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.2px;
	line-height: 1.02;
}
.aa-red { color: var(--aa-red); }

/* ---------- Buttons ---------- */
.aa-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	font-family: var(--aa-body); font-weight: 700; font-size: 17px; line-height: 1.2;
	padding: 13px 22px; min-height: 48px; border-radius: 4px; border: 2px solid transparent;
	text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s;
}
.aa-btn svg { flex: none; }
.aa-btn--red { background: var(--aa-red); color: #fff; }
.aa-btn--red:hover { background: var(--aa-red-dark); color: #fff; }
.aa-btn--black { background: var(--aa-black); color: #fff; }
.aa-btn--black:hover { background: #2A2926; color: #fff; }
.aa-btn--ghost { background: transparent; border-color: #4A4844; color: #fff; }
.aa-btn--ghost:hover { border-color: #fff; color: #fff; }
.aa-btn--lg { font-size: 19px; padding: 15px 26px; min-height: 56px; }
.aa-btn--block { width: 100%; }

.aa-eyebrow {
	display: flex; align-items: center; gap: 10px; margin: 0;
	font-weight: 700; font-size: 14px; letter-spacing: 2px; text-transform: uppercase; color: var(--aa-red);
}
.aa-eyebrow::before {
	content: ""; flex: none; width: 22px; height: 6px; background: var(--aa-red); transform: skewX(-24deg);
}
.aa-eyebrow--light { color: #fff; }

/* ---------- Top bar ---------- */
.aa-topbar { background: var(--aa-pure); color: var(--aa-muted); font-size: 14px; border-bottom: 1px solid var(--aa-char); }
.aa-topbar__inner { display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between; align-items: center; padding-top: 9px; padding-bottom: 9px; }
.aa-topbar__status { display: flex; gap: 10px; align-items: center; }
.aa-topbar__status strong { color: #fff; }
.aa-topbar__right { display: flex; flex-wrap: wrap; gap: 6px 24px; align-items: center; }
.aa-topbar__wa { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 600; text-decoration: none; }
.aa-topbar__wa svg { color: #4ADE80; }
.aa-topbar__wa:hover { text-decoration: underline; }
.aa-nowrap { white-space: nowrap; }
.aa-side-card__wa { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; color: #fff; font-weight: 600; }
.aa-side-card__wa svg { color: #4ADE80; }
.aa-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--aa-red); flex: none; }

/* ---------- Header + navigation ---------- */
.aa-header {
	background: var(--aa-black); color: #fff; position: sticky; top: 0; z-index: 50;
	border-bottom: 1px solid var(--aa-char-line);
}
body.admin-bar .aa-header { top: 32px; }
.aa-header__inner { display: flex; align-items: center; gap: 20px; padding-top: 14px; padding-bottom: 14px; }
.aa-logo { display: flex; align-items: center; flex: none; margin-right: auto; }
.aa-logo img { height: 46px; width: auto; display: block; }
.aa-nav ul { list-style: none; margin: 0; padding: 0; }
.aa-nav > ul { display: flex; align-items: center; gap: 4px; }
.aa-nav a { color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; display: block; padding: 10px 12px; border-radius: 4px; }
.aa-nav a:hover, .aa-nav .current-menu-item > a { color: var(--aa-red-tint); }
.aa-nav li { position: relative; }
.aa-nav .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 260px; padding: 8px;
	background: var(--aa-char); border: 1px solid var(--aa-char-line); border-radius: var(--aa-radius);
	box-shadow: 0 18px 40px rgba(0,0,0,.4);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s;
}
.aa-nav li:hover > .sub-menu, .aa-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.aa-nav .sub-menu a { font-weight: 500; padding: 10px 12px; }
.aa-nav .menu-item-has-children > a::after {
	content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 8px; vertical-align: 2px;
	border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg);
}
/* Wide dropdown for long lists (Service Areas): three tidy columns. */
.aa-nav .aa-mega > .sub-menu {
	left: 50%; width: 620px; transform: translate(-50%, 6px);
	display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 4px; padding: 10px;
}
.aa-nav .aa-mega:hover > .sub-menu, .aa-nav .aa-mega:focus-within > .sub-menu { transform: translate(-50%, 0); }
.aa-nav .aa-mega > .sub-menu > li > a { padding: 9px 12px; }
.aa-nav .aa-menu-all { grid-column: 1 / -1; margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--aa-char-line); }
.aa-nav .aa-menu-all > a { color: var(--aa-red-tint); font-weight: 700; }
.aa-sub-toggle { display: none; }
.aa-header__call, .aa-nav-toggle { flex: none; }
.aa-nav-toggle {
	display: none; align-items: center; justify-content: center; width: 46px; height: 46px; padding: 0;
	background: transparent; color: #fff; border: 1.5px solid #4A4844; border-radius: 4px; cursor: pointer;
}
.aa-header__call .aa-call-short { display: none; }

/* ---------- Hero ---------- */
.aa-hero { background: var(--aa-black); color: #fff; position: relative; overflow: hidden; padding: 64px 0 80px; }
.aa-hero__arc { position: absolute; right: -180px; top: -120px; width: 760px; height: 760px; pointer-events: none; }
.aa-hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.aa-hero__main { display: flex; flex-direction: column; gap: 24px; }
.aa-hero h1 { margin: 0; font-size: 64px; }
.aa-hero__lead { margin: 0; font-size: 20px; color: var(--aa-soft); max-width: 560px; }
.aa-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.aa-trust { display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 15px; color: var(--aa-soft); }
.aa-trust__rating { display: flex; gap: 8px; align-items: center; color: inherit; text-decoration: none; }
.aa-trust__rating strong { color: #fff; font-weight: 800; }
.aa-trust__count { text-decoration: underline; text-decoration-color: rgba(255,255,255,.35); text-underline-offset: 3px; }
.aa-trust__rating:hover .aa-trust__count { color: #fff; text-decoration-color: currentColor; }
.aa-stars { color: var(--aa-star); letter-spacing: 1px; }
.aa-hero--page { padding: 48px 0 64px; }
.aa-hero--page h1 { font-size: 54px; }
.aa-hero--simple .aa-hero__grid { grid-template-columns: minmax(0, 1fr); }
.aa-breadcrumb { font-size: 14px; color: var(--aa-muted); }
.aa-breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.aa-breadcrumb li + li::before { content: "›"; margin-right: 6px; color: #6E6A63; }
.aa-breadcrumb a { color: var(--aa-soft); text-decoration: none; }
.aa-breadcrumb a:hover { color: #fff; text-decoration: underline; }
.aa-hero__meta { display: flex; align-items: center; gap: 8px; font-weight: 600; color: #fff; }
.aa-hero__meta svg { color: var(--aa-red-tint); }

/* ---------- Quote form ---------- */
.aa-quote {
	background: #fff; color: var(--aa-ink); border-radius: var(--aa-radius); padding: 28px;
	display: flex; flex-direction: column; gap: 14px; position: relative;
	box-shadow: 0 24px 60px rgba(0,0,0,.45); border-top: 5px solid var(--aa-red);
}
.aa-quote__title { font-size: 30px; margin: 0; }
.aa-quote__sub { font-size: 15px; color: var(--aa-grey); margin: -6px 0 0; }
.aa-quote label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; }
.aa-quote input, .aa-quote select, .aa-quote textarea {
	font: inherit; font-size: 16px; font-weight: 400; color: var(--aa-ink); background: #fff;
	width: 100%; min-height: 46px; padding: 12px 14px; border: 1.5px solid var(--aa-field); border-radius: 4px;
}
.aa-quote textarea { min-height: 84px; resize: vertical; }
.aa-quote input:focus, .aa-quote select:focus, .aa-quote textarea:focus { border-color: var(--aa-red); outline: 2px solid rgba(191,27,44,.2); outline-offset: 0; }
.aa-quote__note { font-size: 13px; color: var(--aa-grey); margin: 0; }
.aa-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.aa-alert { margin: 0; padding: 10px 12px; border-radius: 4px; font-size: 15px; font-weight: 600; }
.aa-alert--error { background: #FDECEE; color: var(--aa-red-dark); }
.aa-quote--plain { box-shadow: none; border: 1px solid var(--aa-line); border-top: 5px solid var(--aa-red); }

/* ---------- Red strip + CTA band ---------- */
.aa-strip { background: var(--aa-red); color: #fff; }
.aa-strip__inner { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center; padding-top: 24px; padding-bottom: 24px; }
.aa-strip__title { font-size: 28px; margin: 0; line-height: 1.1; }
.aa-strip__right { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; font-weight: 600; }
.aa-cta { background: var(--aa-red); color: #fff; padding: 64px 0; }
.aa-cta__inner { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; }
.aa-cta h2 { margin: 0; font-size: 50px; max-width: 660px; }
.aa-cta .aa-btn { font-size: 22px; min-height: 60px; padding: 16px 30px; }

/* ---------- Sections ---------- */
.aa-section { padding: 88px 0; }
.aa-section--white { background: #fff; }
.aa-section--stone { background: var(--aa-stone); }
.aa-section--dark { background: var(--aa-black); color: #fff; }
.aa-section--tight { padding: 64px 0; }
.aa-head { display: flex; flex-direction: column; gap: 12px; max-width: 760px; margin-bottom: 40px; }
.aa-head--row { max-width: none; flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.aa-head__text { display: flex; flex-direction: column; gap: 10px; }
.aa-h2 { margin: 0; font-size: 46px; }
.aa-lead { margin: 0; color: var(--aa-grey); }
.aa-section--dark .aa-lead { color: var(--aa-soft); }
.aa-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.aa-stack { display: flex; flex-direction: column; gap: 20px; }

/* ---------- Service cards ---------- */
.aa-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.aa-card {
	background: #fff; border: 1px solid var(--aa-line); border-radius: var(--aa-radius); padding: 28px;
	display: flex; flex-direction: column; gap: 12px; color: var(--aa-ink); text-decoration: none;
	transition: border-color .15s, box-shadow .15s;
}
.aa-card:hover { border-color: var(--aa-red); color: var(--aa-ink); box-shadow: 0 10px 30px rgba(16,15,13,.08); }
.aa-card__num { font-size: 18px; color: var(--aa-red); }
.aa-card__title { margin: 0; font-size: 26px; line-height: 1.05; }
.aa-card__text { margin: 0; color: var(--aa-grey); font-size: 16px; flex-grow: 1; }
.aa-card__more { font-weight: 700; font-size: 15px; color: var(--aa-red); }

/* ---------- Travellers ---------- */
.aa-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.aa-tile { background: var(--aa-char); border: 1px solid var(--aa-char-line); border-radius: var(--aa-radius); padding: 22px; }
.aa-tile__title { font-size: 21px; margin: 0 0 6px; color: #fff; }
.aa-tile__text { margin: 0; color: var(--aa-muted); font-size: 15px; }

/* ---------- Why us ---------- */
.aa-why { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.aa-why__item { border-top: 4px solid var(--aa-black); padding-top: 18px; }
.aa-why__item:first-child { border-top-color: var(--aa-red); }
.aa-why__title { font-size: 23px; margin: 0; }
.aa-why__text { margin: 8px 0 0; color: var(--aa-grey); font-size: 16px; }

/* ---------- Reviews ---------- */
.aa-reviews { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.aa-reviews--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.aa-review { margin: 0; background: #fff; border-radius: var(--aa-radius); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.aa-review__stars { color: #D89A00; font-size: 18px; letter-spacing: 2px; }
.aa-review blockquote { margin: 0; font-size: 16px; flex-grow: 1; }
.aa-review figcaption { font-weight: 700; font-size: 15px; }
.aa-review figcaption span { display: block; font-weight: 400; color: var(--aa-grey); font-size: 14px; }

/* ---------- Areas, contact card, photo, map ---------- */
.aa-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.aa-chip {
	display: inline-block; background: #fff; border: 1px solid var(--aa-soft); border-radius: 999px;
	padding: 8px 16px; font-weight: 600; font-size: 15px; color: var(--aa-ink); text-decoration: none;
}
a.aa-chip:hover { border-color: var(--aa-red); color: var(--aa-red); }
.aa-contact-card { background: var(--aa-black); color: #fff; border-radius: var(--aa-radius); padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.aa-contact-card__name { font-size: 24px; margin: 0; }
.aa-contact-card p { margin: 0; color: var(--aa-soft); }
.aa-contact-card a { color: #fff; font-weight: 700; }
.aa-contact-card a.aa-link-tint { color: var(--aa-red-tint); }
.aa-photo { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.aa-photo img { width: 100%; height: auto; border-radius: var(--aa-radius); display: block; }
.aa-photo figcaption { font-size: 14px; color: var(--aa-grey); }
/* Google map of the Business Profile listing, with a reviews / profile / directions bar. */
.aa-gmap { margin: 0; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--aa-line); border-radius: var(--aa-radius); overflow: hidden; }
.aa-gmap__frame {
	position: relative; height: 360px; background: #E8E6E2;
	display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px;
}
.aa-gmap--wide .aa-gmap__frame { height: 440px; }
.aa-gmap__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.aa-gmap__hold { display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--aa-grey); font-size: 15px; }
.aa-gmap__hold strong { color: var(--aa-ink); font-size: 17px; }
.aa-gmap__hold svg { color: var(--aa-red); }
.aa-gmap__bar {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px;
	padding: 14px 18px; border-top: 1px solid var(--aa-line); font-size: 15px;
}
.aa-gmap__rating { display: inline-flex; align-items: center; gap: 8px; color: var(--aa-ink); text-decoration: none; }
.aa-gmap__rating strong { font-weight: 800; font-size: 17px; }
.aa-gmap__stars { color: #D89A00; letter-spacing: 1px; }
.aa-gmap__count { color: var(--aa-grey); text-decoration: underline; text-underline-offset: 3px; }
.aa-gmap__rating:hover .aa-gmap__count { color: var(--aa-red-dark); }
.aa-gmap__links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.aa-gmap__links a { color: var(--aa-red-dark); font-weight: 700; }
.aa-linklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.aa-linklist a { font-weight: 700; }

/* ---------- FAQ ---------- */
.aa-faq-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr); gap: 64px; align-items: start; }
.aa-faq-side { display: flex; flex-direction: column; gap: 18px; }
.aa-help-card { background: var(--aa-black); color: #fff; border-radius: var(--aa-radius); padding: 24px; display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.aa-help-card__title { font-size: 22px; margin: 0; line-height: 1.1; }
.aa-help-card p { margin: 0; color: var(--aa-soft); font-size: 15px; }
.aa-help-card .aa-link-tint { color: var(--aa-red-tint); font-weight: 700; font-size: 15px; }
.aa-faq-groups { display: flex; flex-direction: column; gap: 40px; }
.aa-faq-group__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; border-bottom: 2px solid var(--aa-black); padding-bottom: 10px; }
.aa-faq-group__head h3 { margin: 0; font-size: 24px; }
.aa-faq-group__head span { font-size: 14px; font-weight: 600; color: var(--aa-grey); }
.aa-faq { border-bottom: 1px solid var(--aa-line); }
.aa-faq summary { display: flex; align-items: center; gap: 16px; padding: 18px 0; cursor: pointer; min-height: 44px; list-style: none; }
.aa-faq summary::-webkit-details-marker { display: none; }
.aa-faq__num { font-size: 16px; color: var(--aa-red); width: 28px; flex: none; }
.aa-faq__q { flex: 1; font-weight: 700; font-size: 18px; line-height: 1.35; }
.aa-faq summary:hover .aa-faq__q { color: var(--aa-red); }
.aa-plus {
	width: 32px; height: 32px; flex: none; border-radius: 50%; border: 1.5px solid var(--aa-field);
	display: flex; align-items: center; justify-content: center; color: var(--aa-ink); transition: transform .2s ease;
}
.aa-faq[open] .aa-plus { transform: rotate(45deg); border-color: var(--aa-red); color: var(--aa-red); }
.aa-faq__a { margin: 0; padding: 0 48px 20px 44px; color: var(--aa-grey); }

/* ---------- Page body (service / area / default pages) ---------- */
.aa-body-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }
.aa-side { position: sticky; top: var(--aa-header-offset); display: flex; flex-direction: column; gap: 16px; }
.aa-side-card { background: #fff; border: 1px solid var(--aa-line); border-radius: var(--aa-radius); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.aa-side-card h2, .aa-side-card h3 { margin: 0; font-size: 22px; line-height: 1.1; }
.aa-side-card p { margin: 0; font-size: 15px; color: var(--aa-grey); }
.aa-side-card--dark { background: var(--aa-black); border-color: var(--aa-black); color: #fff; }
.aa-side-card.aa-side-card--dark p { color: var(--aa-soft); }
.aa-side-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.aa-side-list li { display: flex; gap: 10px; align-items: flex-start; }
.aa-side-list svg { color: var(--aa-red); flex: none; margin-top: 3px; }

/* Content from the block editor */
.aa-entry { font-size: 18px; }
.aa-entry > *:first-child { margin-top: 0; }
.aa-entry p { margin: 0 0 18px; color: #2C2A27; }
.aa-entry h2 { font-family: var(--aa-display); font-style: italic; font-weight: 800; text-transform: uppercase; line-height: 1.04; font-size: 34px; margin: 48px 0 18px; }
.aa-entry h3 { font-size: 22px; margin: 32px 0 12px; }
.aa-entry ul, .aa-entry ol { margin: 0 0 22px; padding-left: 22px; }
.aa-entry li { margin: 0 0 8px; }
.aa-entry ul.is-style-checks { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; }
.aa-entry ul.is-style-checks li { position: relative; padding-left: 30px; margin: 0; }
.aa-entry ul.is-style-checks li::before {
	content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
	background: var(--aa-red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.aa-entry ol.is-style-steps { list-style: none; padding: 0; counter-reset: aa-step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.aa-entry ol.is-style-steps li {
	counter-increment: aa-step; margin: 0; background: #fff; border: 1px solid var(--aa-line);
	border-radius: var(--aa-radius); padding: 56px 18px 18px; position: relative; font-weight: 600;
}
.aa-entry ol.is-style-steps li::before {
	content: counter(aa-step, decimal-leading-zero); position: absolute; left: 18px; top: 14px;
	font-family: var(--aa-display); font-style: italic; font-weight: 800; font-size: 26px; color: var(--aa-red);
}
.aa-entry details { border-bottom: 1px solid var(--aa-line); }
.aa-entry details:first-of-type { border-top: 2px solid var(--aa-black); }
.aa-entry details summary {
	list-style: none; cursor: pointer; padding: 16px 44px 16px 0; font-weight: 700; font-size: 18px; position: relative; min-height: 44px;
}
.aa-entry details summary::-webkit-details-marker { display: none; }
.aa-entry details summary::after {
	content: "+"; position: absolute; right: 0; top: 50%; width: 30px; height: 30px; margin-top: -15px;
	border: 1.5px solid var(--aa-field); border-radius: 50%; display: flex; align-items: center; justify-content: center;
	font-size: 20px; font-weight: 600; line-height: 1; transition: transform .2s ease;
}
.aa-entry details[open] summary::after { transform: rotate(45deg); border-color: var(--aa-red); color: var(--aa-red); }
.aa-entry details > p { padding-right: 44px; color: var(--aa-grey); }
.aa-entry blockquote { margin: 24px 0; padding: 18px 22px; background: #fff; border-radius: var(--aa-radius); }
.aa-entry img { border-radius: var(--aa-radius); }
.aa-entry .wp-block-image { margin: 24px 0; }
.aa-entry .aligncenter, .aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignleft { float: left; margin: 6px 24px 16px 0; }
.alignright { float: right; margin: 6px 0 16px 24px; }
.wp-caption { max-width: 100%; margin-bottom: 24px; }
.wp-caption-text, .wp-element-caption, .gallery-caption { font-size: 14px; color: var(--aa-grey); margin-top: 8px; }
.sticky .aa-post-card__title::before { content: "★ "; color: var(--aa-red); }
.bypostauthor { display: block; }

/* Hub: area cards */
.aa-area-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.aa-area-card { background: #fff; border: 1px solid var(--aa-line); border-radius: var(--aa-radius); padding: 22px; text-decoration: none; color: var(--aa-ink); display: flex; flex-direction: column; gap: 6px; }
.aa-area-card:hover { border-color: var(--aa-red); color: var(--aa-ink); }
.aa-area-card__name { font-size: 22px; margin: 0; }
.aa-area-card__dist { font-size: 14px; font-weight: 600; color: var(--aa-red); }

/* Contact page */
.aa-hours { width: 100%; border-collapse: collapse; font-size: 16px; }
.aa-hours th, .aa-hours td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--aa-line); }
.aa-hours th { font-weight: 600; }
.aa-big-phone { font-size: 34px; text-decoration: none; color: var(--aa-ink); }
.aa-big-phone:hover { color: var(--aa-red); }

/* Blog */
.aa-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.aa-post-card { background: #fff; border: 1px solid var(--aa-line); border-radius: var(--aa-radius); overflow: hidden; display: flex; flex-direction: column; }
.aa-post-card img { width: 100%; height: 200px; object-fit: cover; display: block; }
.aa-post-card__body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.aa-post-card__title { margin: 0; font-size: 22px; line-height: 1.1; }
.aa-post-card__title a { color: var(--aa-ink); text-decoration: none; }
.aa-post-card__title a:hover { color: var(--aa-red); }
.aa-post-card__meta { font-size: 14px; color: var(--aa-grey); }
.aa-pagination { margin-top: 36px; display: flex; gap: 8px; flex-wrap: wrap; }
.aa-pagination .page-numbers { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; padding: 0 12px; border: 1px solid var(--aa-line); border-radius: 4px; background: #fff; text-decoration: none; color: var(--aa-ink); font-weight: 600; }
.aa-pagination .current { background: var(--aa-red); border-color: var(--aa-red); color: #fff; }
.aa-narrow { max-width: 780px; margin: 0 auto; }

/* ---------- Footer ---------- */
.aa-footer { background: var(--aa-pure); color: var(--aa-muted); padding: 56px 0 28px; font-size: 15px; }
.aa-footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.aa-footer__brand { display: flex; flex-direction: column; gap: 14px; }
.aa-footer__brand img { height: 52px; width: auto; align-self: flex-start; }
.aa-footer h2 { color: #fff; font-family: var(--aa-body); font-size: 15px; font-weight: 700; margin: 0 0 10px; text-transform: none; }
.aa-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.aa-footer a { color: var(--aa-muted); text-decoration: none; }
.aa-footer a:hover { color: #fff; text-decoration: underline; }
.aa-footer__phone { color: #fff !important; font-weight: 700; }
.aa-footer address { font-style: normal; display: flex; flex-direction: column; gap: 8px; }
.aa-footer__areas { border-top: 1px solid var(--aa-char-line); margin-top: 36px; padding-top: 20px; font-size: 14px; line-height: 2; }
.aa-footer__areas strong { color: #fff; margin-right: 6px; }
.aa-footer__areas a { white-space: nowrap; }
.aa-footer__areas .aa-sep { color: #6E6A63; margin: 0 8px; }
.aa-footer__bottom { border-top: 1px solid var(--aa-char-line); margin-top: 20px; padding-top: 20px; font-size: 14px; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }

/* ---------- Trust bar ---------- */
.aa-trustbar { background: #fff; border-bottom: 1px solid var(--aa-line); }
.aa-trustbar__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 24px; padding-top: 22px; padding-bottom: 22px; }
.aa-trustbar__item { display: flex; align-items: center; gap: 12px; min-width: 0; }
.aa-trustbar__icon { width: 44px; height: 44px; flex: none; border-radius: 50%; background: #FBEAEC; color: var(--aa-red); display: flex; align-items: center; justify-content: center; }
.aa-trustbar__item strong { display: block; font-size: 16px; line-height: 1.25; }
.aa-trustbar__item strong + span { display: block; font-size: 14px; color: var(--aa-grey); line-height: 1.3; }

/* ---------- Suburb "at a glance" card ---------- */
.aa-glance { gap: 14px; border-top: 5px solid var(--aa-red); }
.aa-glance .aa-glance__title { font-size: 24px; }
.aa-glance__list { margin: 0 0 4px; }
.aa-glance__list div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--aa-line); font-size: 15px; }
.aa-glance__list dt { color: var(--aa-grey); flex: none; }
.aa-glance__list dd { margin: 0; font-weight: 700; text-align: right; }
.aa-glance__dir { font-weight: 700; font-size: 15px; text-align: center; padding: 4px 0; }
.aa-btn--outline { background: #fff; border-color: var(--aa-black); color: var(--aa-black); }
.aa-btn--outline:hover { background: var(--aa-black); color: #fff; }

/* ---------- Suburb link lists ---------- */
.aa-arealist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
.aa-arealist--cols-1 { grid-template-columns: minmax(0, 1fr); }
.aa-arealist--cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.aa-arealist a {
	display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 10px 2px;
	border-bottom: 1px solid var(--aa-line); color: var(--aa-ink); text-decoration: none; font-weight: 600;
}
.aa-arealist a:hover { color: var(--aa-red); }
.aa-arealist__name { display: flex; align-items: center; gap: 10px; min-width: 0; }
.aa-arealist__name svg { color: var(--aa-red); flex: none; }
.aa-arealist__meta { font-size: 14px; font-weight: 500; color: var(--aa-grey); white-space: nowrap; }
.aa-arealist-all { margin: 16px 0 0; font-weight: 700; }
.aa-arealist-note { margin: 12px 0 0; font-size: 14px; color: var(--aa-grey); }

/* ---------- Service areas page: distance bands ---------- */
.aa-band { margin-top: 52px; }
.aa-band__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; border-bottom: 2px solid var(--aa-black); padding-bottom: 10px; margin-bottom: 20px; }
.aa-band__head h2 { margin: 0; font-size: 28px; }
.aa-band__head span { font-size: 14px; font-weight: 600; color: var(--aa-grey); }
.aa-area-card { gap: 8px; }
.aa-area-card__tag { margin: 0; font-size: 15px; color: var(--aa-grey); flex-grow: 1; }

/* ---------- Mobile sticky call bar ---------- */
.aa-mbar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
	.aa-hero__grid, .aa-two, .aa-faq-grid, .aa-body-grid { grid-template-columns: minmax(0, 1fr); }
	.aa-faq-grid { gap: 40px; }
	.aa-body-grid { gap: 40px; }
	.aa-side { position: static; }
	.aa-cards, .aa-area-cards, .aa-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.aa-why, .aa-reviews, .aa-reviews--three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.aa-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.aa-trustbar__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.aa-arealist--cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.aa-nav-toggle { display: inline-flex; order: 3; }
	.aa-header__call { order: 2; }
	.aa-nav {
		display: none; position: absolute; left: 0; right: 0; top: 100%;
		background: var(--aa-black); border-top: 1px solid var(--aa-char-line); border-bottom: 1px solid var(--aa-char-line);
		padding: 8px 24px 20px; max-height: calc(100vh - 140px); overflow-y: auto;
	}
	.aa-nav.is-open { display: block; }
	.aa-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
	.aa-nav li { display: flex; flex-wrap: wrap; align-items: stretch; }
	.aa-nav li > a { flex: 1 1 auto; }
	.aa-nav a { padding: 14px 4px; font-size: 17px; border-bottom: 1px solid var(--aa-char); border-radius: 0; }
	.aa-nav .sub-menu {
		display: none; flex-basis: 100%; position: static; left: auto; width: auto; columns: auto;
		opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent;
		padding: 0 0 8px 14px; min-width: 0;
	}
	.aa-nav .aa-mega > .sub-menu,
	.aa-nav .aa-mega:hover > .sub-menu,
	.aa-nav .aa-mega:focus-within > .sub-menu { display: none; left: auto; width: auto; transform: none; padding: 0 0 8px 14px; }
	.aa-nav li.is-open > .sub-menu { display: block; }
	.aa-nav .aa-mega.is-open > .sub-menu { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
	.aa-nav .sub-menu a { font-size: 16px; padding: 12px 4px; }
	.aa-nav .menu-item-has-children > a::after { display: none; }
	.aa-sub-toggle {
		display: inline-flex; align-items: center; justify-content: center; flex: none; width: 52px;
		background: transparent; color: #fff; border: 0; border-bottom: 1px solid var(--aa-char); cursor: pointer; padding: 0;
	}
	.aa-sub-toggle svg { transition: transform .2s ease; }
	.aa-nav li.is-open > .aa-sub-toggle svg { transform: rotate(180deg); }
	.aa-faq-side { position: static; }
}
@media (min-width: 981px) {
	.aa-faq-side { position: sticky; top: var(--aa-header-offset); }
}
@media (max-width: 782px) {
	body.admin-bar .aa-header { top: 46px; }
}
@media (max-width: 640px) {
	body { font-size: 16px; }
	.aa-wrap { padding: 0 16px; }
	.aa-section { padding: 56px 0; }
	.aa-hero { padding: 40px 0 56px; }
	.aa-hero h1, .aa-hero--page h1 { font-size: 40px; }
	.aa-h2, .aa-cta h2 { font-size: 33px; }
	.aa-hero__lead { font-size: 18px; }
	.aa-cards, .aa-why, .aa-reviews, .aa-reviews--three, .aa-footer__grid, .aa-tiles, .aa-area-cards, .aa-posts { grid-template-columns: minmax(0, 1fr); }
	.aa-arealist--cols-2, .aa-arealist--cols-3 { grid-template-columns: minmax(0, 1fr); }
	.aa-trustbar__grid { gap: 14px 12px; padding-top: 18px; padding-bottom: 18px; }
	.aa-trustbar__icon { width: 38px; height: 38px; }
	.aa-trustbar__item strong { font-size: 15px; }
	.aa-trustbar__item strong + span { font-size: 13px; }
	.aa-band__head h2 { font-size: 24px; }
	.aa-entry ul.is-style-checks, .aa-entry ol.is-style-steps { grid-template-columns: minmax(0, 1fr); }
	.aa-entry h2 { font-size: 28px; }
	.aa-logo img { height: 30px; }
	.aa-logo { min-width: 0; flex: 0 1 auto; }
	.aa-header__inner { gap: 10px; }
	.aa-topbar__address, .aa-topbar__msg, .aa-topbar__wa { display: none; }
	.aa-header__call { padding: 10px 14px; min-height: 44px; }
	.aa-header__call .aa-call-num { display: none; }
	.aa-header__call .aa-call-short { display: inline; }
	.aa-faq__a { padding: 0 0 20px 44px; }
	.aa-faq__q { font-size: 17px; }
	.aa-strip__title { font-size: 24px; }
	.aa-big-phone { font-size: 28px; }
	.aa-mbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; box-shadow: 0 -6px 20px rgba(0,0,0,.25); transition: transform .2s ease, visibility .2s; }
	/* Out of the way while someone fills in the quote form, so it never covers the Send button. */
	body.aa-mbar-off .aa-mbar { transform: translateY(110%); visibility: hidden; }
	.aa-mbar a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 58px; color: #fff; text-decoration: none; font-weight: 700; font-size: 17px; }
	.aa-mbar__call { background: var(--aa-red); }
	.aa-mbar__quote { background: var(--aa-black); }
	.aa-mbar__wa { background: #1B7F3A; }
	.aa-mbar--3 a { gap: 6px; padding: 0 6px; font-size: 16px; white-space: nowrap; }
	.aa-mbar--3 .aa-mbar__call { flex: 1.2; }
	body { padding-bottom: 58px; }
}
@media (max-width: 600px) {
	body.admin-bar .aa-header { top: 0; }
	.aa-mbar--3 a { font-size: 15px; }
	.aa-gmap__frame, .aa-gmap--wide .aa-gmap__frame { height: 300px; }
}
@media (max-width: 370px) {
	.aa-mbar--3 a { font-size: 14px; gap: 4px; padding: 0 4px; }
	.aa-mbar--3 svg { width: 16px; height: 16px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
