/*
Theme Name:   Canberra Matrix
Theme URI:    https://canberra.matrix
Description:  Standalone SaaS-style theme for Canberra Matrix. Tailwind CSS + Elementor compatible.
Author:       Canberra Matrix
Author URI:   https://canberra.matrix
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  canberramatrix
Tags:         custom-logo, custom-menu, featured-images, footer-widgets, full-width-template, one-column, theme-options, threaded-comments, translation-ready, block-styles, wide-blocks
Elementor tested up to: 3.34
*/

/* Base styles – Tailwind handles layout. This file is for theme metadata and minimal overrides. */

/* AdSense unit wrapper – responsive (auto format, full-width-responsive) */
.canberramatrix-ad-wrap {
	display: block;
	max-width: 100%;
	overflow: hidden;
	margin: 1.5rem auto;
}
.canberramatrix-ad-wrap .adsbygoogle {
	display: block;
	max-width: 100%;
}
.canberramatrix-ad-responsive {
	min-height: 50px;
}
@media (max-width: 768px) {
	.canberramatrix-ad-wrap {
		padding-left: max(1rem, env(safe-area-inset-left));
		padding-right: max(1rem, env(safe-area-inset-right));
	}
}

/* AdSense placement wrappers – spacing */
.single-post-ad {
	margin-top: 2rem;
	margin-bottom: 0;
}
.archive-ad-top {
	margin-bottom: 1.5rem;
}
.search-ad .canberramatrix-ad-wrap {
	margin-top: 0;
	margin-bottom: 0;
}

html {
	font-size: 18px;
}
body {
	font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
}

/* Page/post content: headings H1–H6 and UI (guidelines and other default pages) */
.entry-content,
article .entry-content {
	max-width: 65ch;
	line-height: 1.7;
	color: #334155;
}

.entry-content > * + * {
	margin-top: 1.25em;
}

/* Headings: clear hierarchy, bottom space and line-height for rhythm */
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
	margin-bottom: 0.5rem;
}

.entry-content h1:first-child,
.entry-content h2:first-child,
.entry-content h3:first-child,
.entry-content h4:first-child,
.entry-content h5:first-child,
.entry-content h6:first-child {
	margin-top: 0;
}

.entry-content h1 {
	font-size: 2.25rem;
	font-weight: 800;
	line-height: 1.25;
	color: #0f172a;
	letter-spacing: -0.03em;
	margin-top: 0;
	margin-bottom: 0.6rem;
}

.entry-content h2 {
	font-size: 1.625rem;
	font-weight: 700;
	line-height: 1.28;
	color: #0f172a;
	letter-spacing: -0.02em;
	margin-top: 1.75em;
	margin-bottom: 0.55rem;
	padding-bottom: 0.35rem;
	border-bottom: 2px solid #2563eb;
}

.entry-content h3 {
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.3;
	color: #1e293b;
	margin-top: 1.5em;
	margin-bottom: 0.5rem;
}

.entry-content h4 {
	font-size: 1.125rem;
	font-weight: 600;
	line-height: 1.35;
	color: #334155;
	margin-top: 1.25em;
	margin-bottom: 0.45rem;
}

.entry-content h5 {
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.35;
	color: #475569;
	margin-top: 1em;
	margin-bottom: 0.4rem;
}

.entry-content h6 {
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.35;
	color: #64748b;
	margin-top: 1em;
	margin-bottom: 0.4rem;
}

.entry-content p {
	font-size: 1rem;
	font-weight: 400;
	color: #334155;
	margin-bottom: 0;
	line-height: 1.7;
}

/* Links: override Tailwind's a{color:inherit} so URLs are visibly blue */
.entry-content a[href],
body .entry-content a {
	color: #2563eb !important;
	text-decoration: underline;
	text-underline-offset: 2px;
}
.entry-content a[href]:hover,
body .entry-content a:hover {
	color: #1d4ed8 !important;
}

.entry-content ul,
.entry-content ol {
	margin: 1em 0;
	padding-left: 1.5em;
}
.entry-content ul { list-style-type: disc; }
.entry-content ol { list-style-type: decimal; }
.entry-content li {
	margin: 0.35em 0;
}
.entry-content li::marker {
	color: #64748b;
}

.entry-content blockquote {
	margin: 1.25em 0;
	padding: 0.75em 1em 0.75em 1.25em;
	border-left: 4px solid #2563eb;
	background: #f8fafc;
	color: #475569;
	font-size: 1rem;
	border-radius: 0 0.25rem 0.25rem 0;
}

.entry-content strong {
	font-weight: 600;
}

.entry-content hr {
	margin: 2em 0;
	border: none;
	border-top: 1px solid #e2e8f0;
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9375rem;
	margin: 1.25em 0;
}
.entry-content th,
.entry-content td {
	padding: 0.5rem 0.75rem;
	text-align: left;
	border: 1px solid #e2e8f0;
}
.entry-content th {
	background: #f8fafc;
	font-weight: 600;
	color: #0f172a;
}
.entry-content tr:nth-child(even) td {
	background: #f8fafc;
}

.entry-content img {
	max-width: 100%;
	height: auto;
	border-radius: 0.5rem;
}

.entry-content code,
.entry-content kbd {
	font-size: 0.875em;
	padding: 0.15em 0.4em;
	background: #f1f5f9;
	border-radius: 0.25rem;
	color: #334155;
}
.entry-content pre {
	overflow-x: auto;
	padding: 1rem;
	background: #f1f5f9;
	border-radius: 0.5rem;
	margin: 1.25em 0;
	font-size: 0.875rem;
	line-height: 1.6;
}
.entry-content pre code {
	padding: 0;
	background: none;
}

/* When article has prose (max-w-none), allow content to use full width; keep readable line length for text. */
article.prose .entry-content {
	max-width: none;
}

/* Elementor: same H1–H6 hierarchy with bottom space and line-height (overrides widget inline styles) */
.elementor-widget-heading h1.elementor-heading-title {
	font-size: 2.25rem !important;
	font-weight: 800 !important;
	color: #0f172a !important;
	letter-spacing: -0.03em;
	line-height: 1.25 !important;
	margin-top: 0 !important;
	margin-bottom: 0.6rem !important;
}
.elementor-widget-heading h2.elementor-heading-title {
	font-size: 1.625rem !important;
	font-weight: 700 !important;
	color: #0f172a !important;
	letter-spacing: -0.02em;
	line-height: 1.28 !important;
	margin-top: 1.5rem !important;
	margin-bottom: 0.55rem !important;
	padding-bottom: 0.35rem;
	border-bottom: 2px solid #2563eb;
}
.elementor-widget-heading h3.elementor-heading-title {
	font-size: 1.25rem !important;
	font-weight: 700 !important;
	color: #1e293b !important;
	line-height: 1.3 !important;
	margin-top: 1.25rem !important;
	margin-bottom: 0.5rem !important;
}
.elementor-widget-heading h4.elementor-heading-title {
	font-size: 1.125rem !important;
	font-weight: 600 !important;
	color: #334155 !important;
	line-height: 1.35 !important;
	margin-top: 1rem !important;
	margin-bottom: 0.45rem !important;
}
.elementor-widget-heading h5.elementor-heading-title {
	font-size: 1rem !important;
	font-weight: 600 !important;
	color: #475569 !important;
	line-height: 1.35 !important;
	margin-top: 0.75rem !important;
	margin-bottom: 0.4rem !important;
}
.elementor-widget-heading h6.elementor-heading-title {
	font-size: 0.9375rem !important;
	font-weight: 600 !important;
	color: #64748b !important;
	line-height: 1.35 !important;
	margin-top: 0.75rem !important;
	margin-bottom: 0.4rem !important;
}

/* Elementor text editor: headings and paragraphs with spacing and line-height */
.elementor-widget-text-editor h1 { font-size: 2.25rem !important; font-weight: 800 !important; color: #0f172a !important; line-height: 1.25 !important; margin-top: 0 !important; margin-bottom: 0.6rem !important; }
.elementor-widget-text-editor h2 { font-size: 1.625rem !important; font-weight: 700 !important; color: #0f172a !important; line-height: 1.28 !important; margin-top: 1.5rem !important; margin-bottom: 0.55rem !important; padding-bottom: 0.35rem; border-bottom: 2px solid #2563eb; }
.elementor-widget-text-editor h3 { font-size: 1.25rem !important; font-weight: 700 !important; color: #1e293b !important; line-height: 1.3 !important; margin-top: 1.25rem !important; margin-bottom: 0.5rem !important; }
.elementor-widget-text-editor h4 { font-size: 1.125rem !important; font-weight: 600 !important; color: #334155 !important; line-height: 1.35 !important; margin-top: 1rem !important; margin-bottom: 0.45rem !important; }
.elementor-widget-text-editor h5 { font-size: 1rem !important; font-weight: 600 !important; color: #475569 !important; line-height: 1.35 !important; margin-top: 0.75rem !important; margin-bottom: 0.4rem !important; }
.elementor-widget-text-editor h6 { font-size: 0.9375rem !important; font-weight: 600 !important; color: #64748b !important; line-height: 1.35 !important; margin-top: 0.75rem !important; margin-bottom: 0.4rem !important; }
.elementor-widget-text-editor p { font-size: 1rem !important; font-weight: 400 !important; color: #334155 !important; line-height: 1.7 !important; margin-top: 0 !important; margin-bottom: 0.75rem !important; }
.elementor-widget-text-editor p:last-child { margin-bottom: 0 !important; }
.elementor-widget-text-editor a[href] { color: #2563eb !important; text-decoration: underline !important; text-underline-offset: 2px; }
.elementor-widget-text-editor a[href]:hover { color: #1d4ed8 !important; }

/* ==========================================================================
   Single post page – layout and design
   ========================================================================== */
.single-post-page {
	width: 100%;
	max-width: 100%;
	padding-bottom: 3rem;
	overflow-x: hidden;
	box-sizing: border-box;
}
.single-post-page *,
.single-post-page *::before,
.single-post-page *::after {
	box-sizing: inherit;
}
.single-post-article-wrap {
	margin-bottom: 2.5rem;
}

/* Article header: title + meta (hero-style) */
.single-post-header {
	background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
	border-bottom: 1px solid #e2e8f0;
	padding: 2rem 0 2.25rem;
	margin-bottom: 0;
}
.single-post-header-inner {
	max-width: 72rem;
	margin: 0 auto;
	padding-left: max(1rem, env(safe-area-inset-left));
	padding-right: max(1rem, env(safe-area-inset-right));
}
.single-post-categories {
	margin-bottom: 0.75rem;
	font-size: 0.8125rem;
}
.single-post-categories a {
	display: inline-block;
	padding: 0.25rem 0.625rem;
	margin-right: 0.375rem;
	margin-bottom: 0.375rem;
	background: #2563eb;
	color: #fff;
	text-decoration: none;
	border-radius: 9999px;
	font-weight: 500;
	transition: background-color 0.2s ease;
}
.single-post-categories a:hover {
	background: #1d4ed8;
	color: #fff;
}
.single-post-title {
	font-size: 1.875rem;
	font-weight: 800;
	line-height: 1.25;
	color: #0f172a;
	letter-spacing: -0.03em;
	margin: 0 0 0.75rem;
}
@media (min-width: 640px) {
	.single-post-title {
		font-size: 2.25rem;
	}
}
.single-post-title-inline {
	margin-bottom: 1.25rem;
}
.single-post-meta {
	font-size: 0.9375rem;
	color: #64748b;
}
.single-post-meta-sep {
	margin: 0 0.5rem;
	opacity: 0.6;
}
.single-post-date {
	font-style: normal;
}
.single-post-author {
	font-weight: 500;
	color: #475569;
}

/* Featured image */
.single-post-thumbnail-wrap {
	max-width: 80rem;
	margin: 0 auto 2rem;
	padding-left: max(1rem, env(safe-area-inset-left));
	padding-right: max(1rem, env(safe-area-inset-right));
}
.single-post-thumbnail {
	margin: 0;
	border-radius: 0.75rem;
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
	border: 1px solid #e2e8f0;
}
.single-post-thumbnail-img {
	display: block;
	width: 100%;
	height: auto;
	vertical-align: middle;
}

/* Article body and content */
.single-post-body {
	max-width: 72rem;
	margin: 0 auto;
	padding: 0 max(1rem, env(safe-area-inset-right)) 0 max(1rem, env(safe-area-inset-left));
}
.single-post-content {
	font-size: 1.0625rem;
	line-height: 1.75;
	color: #334155;
}
.single-post-content > * + * {
	margin-top: 1.25em;
}
.single-post-footer {
	margin-top: 2.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid #e2e8f0;
	font-size: 0.9375rem;
}
.single-post-tags-label {
	font-weight: 600;
	color: #475569;
	margin-right: 0.5rem;
}
.single-post-tags {
	list-style: none;
	margin: 0.5rem 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}
.single-post-tags li {
	margin: 0;
}
.single-post-tags a {
	color: #2563eb;
	text-decoration: none;
	padding: 0.25rem 0.5rem;
	background: #eff6ff;
	border-radius: 0.375rem;
	transition: background-color 0.2s ease, color 0.2s ease;
}
.single-post-tags a:hover {
	background: #2563eb;
	color: #fff;
}

/* Post navigation (prev/next) */
.single-post-nav-wrap {
	max-width: 72rem;
	margin: 0 auto 2.5rem;
	padding: 0 max(1rem, env(safe-area-inset-right)) 0 max(1rem, env(safe-area-inset-left));
}
.single-post-page .post-navigation {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
	margin: 0;
	padding: 0;
	border: none;
}
.single-post-page .nav-links {
	display: contents;
}
.single-post-page .nav-previous,
.single-post-page .nav-next {
	margin: 0;
}
.single-post-page .nav-previous a,
.single-post-page .nav-next a {
	display: block;
	padding: 1rem 1.25rem;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 0.75rem;
	text-decoration: none;
	color: #334155;
	font-size: 0.9375rem;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}
.single-post-page .nav-previous a:hover,
.single-post-page .nav-next a:hover {
	border-color: #2563eb;
	box-shadow: 0 2px 8px rgba(37, 99, 246, 0.1);
	color: #1d4ed8;
}
.single-post-page .nav-next {
	text-align: right;
}
.single-post-page .nav-subtitle {
	display: block;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #94a3b8;
	margin-bottom: 0.25rem;
}
.single-post-page .nav-title {
	font-weight: 600;
	color: #0f172a;
}

/* Comments */
.single-post-comments-wrap {
	max-width: 72rem;
	margin: 0 auto;
	padding: 0 max(1rem, env(safe-area-inset-right)) 0 max(1rem, env(safe-area-inset-left));
}
.single-post-page .comment-reply-title,
.single-post-page .comments-title {
	font-size: 1.25rem;
	font-weight: 700;
	color: #0f172a;
	margin-bottom: 1rem;
}
.single-post-page .comment-list {
	list-style: none;
	margin: 0 0 1.5rem;
	padding: 0;
}
.single-post-page .comment-body {
	padding: 1rem 0;
	border-bottom: 1px solid #e2e8f0;
}
.single-post-page .comment-meta {
	font-size: 0.875rem;
	color: #64748b;
	margin-bottom: 0.25rem;
}
.single-post-page .comment-content {
	font-size: 0.9375rem;
	line-height: 1.6;
	color: #334155;
}
.single-post-page .comment-form label {
	display: block;
	font-weight: 500;
	font-size: 0.875rem;
	color: #334155;
	margin-bottom: 0.25rem;
}
.single-post-page .comment-form input[type="text"],
.single-post-page .comment-form input[type="email"],
.single-post-page .comment-form input[type="url"],
.single-post-page .comment-form textarea {
	width: 100%;
	max-width: 100%;
	padding: 0.625rem 0.75rem;
	border: 1px solid #cbd5e1;
	border-radius: 0.5rem;
	font-size: 1rem;
	margin-bottom: 1rem;
	box-sizing: border-box;
}
.single-post-page .comment-form textarea {
	min-height: 120px;
	resize: vertical;
}

@media (max-width: 639px) {
	.single-post-header {
		padding: 1.5rem 0 1.75rem;
	}
	.single-post-title {
		font-size: 1.5rem;
	}
	.single-post-page .post-navigation {
		grid-template-columns: 1fr;
	}
	.single-post-page .nav-next {
		text-align: left;
	}
}

/* ==========================================================================
   Archive / blog listing page
   ========================================================================== */
.archive-page {
	width: 100%;
	max-width: 100%;
	padding-bottom: 3rem;
	overflow-x: hidden;
	box-sizing: border-box;
}

/* Hero-style header */
.archive-header {
	background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
	border-bottom: 1px solid #e2e8f0;
	padding: 2rem 0 2.25rem;
	margin-bottom: 0;
}
.archive-header-inner {
	max-width: 72rem;
	margin: 0 auto;
	padding-left: max(1rem, env(safe-area-inset-left));
	padding-right: max(1rem, env(safe-area-inset-right));
}
.archive-title {
	font-size: 1.875rem;
	font-weight: 800;
	line-height: 1.25;
	color: #0f172a;
	letter-spacing: -0.03em;
	margin: 0 0 0.5rem;
}
.archive-title::before {
	content: none;
	display: none;
}
.archive-description {
	font-size: 0.875rem;
	line-height: 1.5;
	color: #64748b;
	margin: 0.25rem 0 0;
	max-height: 3em;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}
.archive-description p {
	margin: 0;
}
.archive-description p:last-child {
	margin-bottom: 0;
}

/* Content area and grid */
.archive-content {
	max-width: 72rem;
	margin: 0 auto;
	padding: 2rem max(1rem, env(safe-area-inset-right)) 0 max(1rem, env(safe-area-inset-left));
}
.archive-grid {
	display: grid;
	gap: 2rem;
	grid-template-columns: 1fr;
}
@media (min-width: 640px) {
	.archive-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (min-width: 1024px) {
	.archive-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 2.25rem;
	}
}

/* Post card */
.archive-card {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 0.75rem;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
	transition: box-shadow 0.2s ease, border-color 0.2s ease;
	display: flex;
	flex-direction: column;
}
.archive-card:hover {
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
	border-color: #cbd5e1;
}
.archive-card-image-link {
	display: block;
	text-decoration: none;
}
.archive-card-image {
	margin: 0;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	background: #f1f5f9;
}
.archive-card-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	vertical-align: middle;
	transition: transform 0.25s ease;
}
.archive-card:hover .archive-card-img {
	transform: scale(1.03);
}
.archive-card-body {
	padding: 1.25rem 1.5rem;
	flex: 1;
	display: flex;
	flex-direction: column;
}
.archive-card-categories {
	margin-bottom: 0.5rem;
	font-size: 0.75rem;
}
.archive-card-categories a {
	display: inline-block;
	padding: 0.2rem 0.5rem;
	margin-right: 0.25rem;
	margin-bottom: 0.25rem;
	background: #2563eb;
	color: #fff;
	text-decoration: none;
	border-radius: 9999px;
	font-weight: 500;
	transition: background-color 0.2s ease;
}
.archive-card-categories a:hover {
	background: #1d4ed8;
	color: #fff;
}
.archive-card-header {
	margin-bottom: 0.75rem;
}
.archive-card-title {
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.35;
	margin: 0 0 0.5rem;
	letter-spacing: -0.02em;
}
.archive-card-title a {
	color: #0f172a;
	text-decoration: none;
	transition: color 0.2s ease;
}
.archive-card-title a:hover {
	color: #2563eb;
}
.archive-card-meta {
	font-size: 0.8125rem;
	color: #64748b;
}
.archive-card-meta-sep {
	margin: 0 0.35rem;
	opacity: 0.6;
}
.archive-card-date {
	font-style: normal;
}
.archive-card-author {
	font-weight: 500;
	color: #475569;
}
.archive-card-excerpt {
	font-size: 0.9375rem;
	line-height: 1.6;
	color: #334155;
	margin-bottom: 1rem;
	flex: 1;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}
.archive-card-excerpt p {
	margin: 0 0 0.5em;
}
.archive-card-excerpt p:last-child {
	margin-bottom: 0;
}
.archive-card-link {
	display: inline-block;
	font-size: 0.9375rem;
	font-weight: 600;
	color: #2563eb;
	text-decoration: none;
	transition: color 0.2s ease;
}
.archive-card-link:hover {
	color: #1d4ed8;
}

/* Pagination */
.archive-pagination {
	margin-top: 2.5rem;
	padding-top: 2rem;
	border-top: 1px solid #e2e8f0;
	text-align: center;
}
.archive-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 0.5rem;
}
.archive-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.5rem;
	height: 2.5rem;
	padding: 0 0.75rem;
	font-size: 0.9375rem;
	font-weight: 500;
	color: #334155;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 0.5rem;
	text-decoration: none;
	transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.archive-pagination .page-numbers:hover,
.archive-pagination .page-numbers:focus {
	border-color: #2563eb;
	background: #eff6ff;
	color: #1d4ed8;
}
.archive-pagination .page-numbers.current {
	background: #2563eb;
	border-color: #2563eb;
	color: #fff;
}
.archive-pagination .page-numbers.dots {
	border: none;
	background: transparent;
	color: #94a3b8;
	min-width: auto;
}
.archive-pagination .prev,
.archive-pagination .next {
	font-weight: 600;
}

/* No results */
.archive-none {
	text-align: center;
	padding: 3rem 1.5rem;
	background: #f8fafc;
	border-radius: 0.75rem;
	border: 1px solid #e2e8f0;
}
.archive-none-title {
	font-size: 1.25rem;
	font-weight: 700;
	color: #0f172a;
	margin: 0 0 0.5rem;
}
.archive-none-text {
	font-size: 1rem;
	color: #64748b;
	margin: 0;
}

@media (max-width: 639px) {
	.archive-header {
		padding: 1.5rem 0 1.75rem;
	}
	.archive-title {
		font-size: 1.5rem;
	}
	.archive-content {
		padding-top: 1.5rem;
	}
	.archive-card-body {
		padding: 1rem 1.25rem;
	}
}

/* ACT Occupation List shortcode [act_occupation_list] – purple header, merged unit group/code */
.act-occupation-list-wrap {
	max-width: 72rem;
	margin-left: auto;
	margin-right: auto;
	margin-top: 2rem;
	margin-bottom: 2rem;
}
.act-occupation-list-wrap .act-occupation-list-intro {
	margin-bottom: 1rem;
	color: #334155;
	line-height: 1.6;
}
.act-occupation-list-wrap .act-occupation-list-source {
	margin-bottom: 1.5rem;
	font-size: 0.875rem;
	color: #64748b;
}
/* Search form above table */
.act-occupation-list-wrap .act-occupation-list-search {
	margin-bottom: 1.25rem;
}
.act-occupation-list-wrap .act-occupation-search-label {
	display: block;
	font-weight: 600;
	font-size: 0.9375rem;
	color: #1e293b;
	margin-bottom: 0.5rem;
}
.act-occupation-list-wrap .act-occupation-search-input {
	display: block;
	width: 100%;
	max-width: 28rem;
	padding: 0.6rem 0.875rem;
	font-size: 1rem;
	line-height: 1.5;
	color: #1e293b;
	background: #fff;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	box-sizing: border-box;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.act-occupation-list-wrap .act-occupation-search-input::placeholder {
	color: #94a3b8;
}
.act-occupation-list-wrap .act-occupation-search-input:focus {
	outline: none;
	border-color: #4f2e8d;
	box-shadow: 0 0 0 3px rgba(79, 46, 141, 0.15);
}
.act-occupation-list-wrap .act-occupation-search-no-results {
	display: block;
	margin-top: 0.75rem;
	font-size: 0.9375rem;
	color: #64748b;
}
.act-occupation-list-wrap .act-occupation-list-table-wrap {
	overflow-x: auto;
	border: 1px solid #ddd;
	border-radius: 4px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
.act-occupation-list-wrap .act-occupation-list-table {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
}
/* Header: dark purple, white text, center-aligned, white vertical borders */
.act-occupation-list-wrap .act-occupation-list-table thead th {
	background: #4f2e8d;
	color: #fff;
	font-weight: 700;
	text-align: center;
	padding: 0.75rem 1rem;
	border-right: 1px solid rgba(255, 255, 255, 0.35);
	vertical-align: middle;
}
.act-occupation-list-wrap .act-occupation-list-table thead th:last-child {
	border-right: none;
}
/* Body: white bg, light gray borders, vertical center */
.act-occupation-list-wrap .act-occupation-list-table tbody td {
	padding: 0.6rem 1rem;
	border: 1px solid #ddd;
	color: #000;
	vertical-align: middle;
	font-size: 0.9375rem;
}
.act-occupation-list-wrap .act-occupation-list-table tbody tr:hover {
	background: #f8f9fa;
}
/* Unit Group and Nominated occupation: left-aligned */
.act-occupation-list-wrap .act-occupation-list-table .act-occ-unit-group,
.act-occupation-list-wrap .act-occupation-list-table .act-occ-occupation {
	text-align: left;
}
/* Unit Group Code and ANZSCO Code: center-aligned */
.act-occupation-list-wrap .act-occupation-list-table .act-occ-unit-code,
.act-occupation-list-wrap .act-occupation-list-table .act-occ-anzsco {
	text-align: center;
	font-variant-numeric: tabular-nums;
}
@media (max-width: 768px) {
	.act-occupation-list-wrap .act-occupation-list-table-wrap {
		margin-left: -0.5rem;
		margin-right: -0.5rem;
	}
	.act-occupation-list-wrap .act-occupation-list-table thead th,
	.act-occupation-list-wrap .act-occupation-list-table tbody td {
		padding: 0.45rem 0.6rem;
		font-size: 0.8125rem;
	}
}

/* Canberra Matrix Invitation Schedule shortcode [canberra_matrix_invitation_schedule] – premium design */
.act-invitation-schedule-wrap {
	max-width: 44rem;
	margin: 2.5rem auto;
	padding: 0;
	font-family: inherit;
}
/* Hero-style header with gradient */
.act-invitation-schedule-header {
	background: linear-gradient(135deg, #4f2e8d 0%, #6b3fb8 50%, #5a3599 100%);
	color: #fff;
	padding: 1.75rem 1.5rem;
	border-radius: 12px 12px 0 0;
	text-align: center;
	position: relative;
	box-shadow: 0 4px 14px rgba(79, 46, 141, 0.25);
}
.act-invitation-schedule-badge {
	display: inline-block;
	background: rgba(255, 255, 255, 0.2);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 0.35rem 0.75rem;
	border-radius: 999px;
	margin-bottom: 0.75rem;
	border: 1px solid rgba(255, 255, 255, 0.3);
}
.act-invitation-schedule-title {
	font-size: 1.5rem;
	font-weight: 700;
	color: #fff;
	margin: 0;
	line-height: 1.3;
	letter-spacing: -0.02em;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
@media (min-width: 640px) {
	.act-invitation-schedule-title {
		font-size: 1.625rem;
	}
}
/* Rounds list – card stack */
.act-invitation-schedule-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-top: none;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
.act-invitation-schedule-item {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	gap: 1.25rem;
	padding: 1.25rem 1.5rem;
	border-bottom: 1px solid #e2e8f0;
	transition: background 0.2s ease;
}
.act-invitation-schedule-item:last-child {
	border-bottom: none;
	border-radius: 0 0 12px 12px;
}
.act-invitation-schedule-item:hover {
	background: #faf9fc;
}
.act-invitation-schedule-item-marker {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	flex-shrink: 0;
	background: linear-gradient(145deg, #4f2e8d, #5a3599);
	color: #fff;
	font-size: 0.9375rem;
	font-weight: 700;
	border-radius: 10px;
	box-shadow: 0 2px 8px rgba(79, 46, 141, 0.3);
}
.act-invitation-schedule-item--final .act-invitation-schedule-item-marker {
	background: linear-gradient(145deg, #0f766e, #0d9488);
	box-shadow: 0 2px 8px rgba(13, 148, 136, 0.3);
	font-size: 0.75rem;
}
.act-invitation-schedule-item-content {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.5rem 1rem;
}
.act-invitation-schedule-label {
	font-weight: 700;
	font-size: 1.0625rem;
	color: #1e293b;
}
.act-invitation-schedule-week {
	font-size: 0.9375rem;
	color: #64748b;
	font-variant-numeric: tabular-nums;
}
/* Disclaimer – info box */
.act-invitation-schedule-disclaimer {
	display: flex;
	gap: 1rem;
	align-items: flex-start;
	margin: 1.5rem 0 1rem;
	padding: 1.25rem 1.5rem;
	background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
	border: 1px solid #bae6fd;
	border-radius: 12px;
}
.act-invitation-schedule-disclaimer-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 1.75rem;
	height: 1.75rem;
	flex-shrink: 0;
	background: #0ea5e9;
	color: #fff;
	font-size: 0.875rem;
	font-weight: 700;
	border-radius: 50%;
	line-height: 1;
}
.act-invitation-schedule-disclaimer p {
	margin: 0;
	font-size: 0.9375rem;
	color: #0c4a6e;
	line-height: 1.6;
}
.act-invitation-schedule-disclaimer strong {
	color: #075985;
}
/* Source link */
.act-invitation-schedule-source {
	margin: 0;
	font-size: 0.8125rem;
	color: #94a3b8;
}
.act-invitation-schedule-source a {
	color: #4f2e8d;
	text-decoration: none;
	font-weight: 500;
	border-bottom: 1px solid transparent;
	transition: border-color 0.2s ease, color 0.2s ease;
}
.act-invitation-schedule-source a:hover {
	color: #3d2380;
	border-bottom-color: #4f2e8d;
}
@media (max-width: 640px) {
	.act-invitation-schedule-wrap {
		margin: 1.5rem auto;
	}
	.act-invitation-schedule-header {
		padding: 1.25rem 1rem;
	}
	.act-invitation-schedule-item {
		padding: 1rem 1.25rem;
		gap: 1rem;
	}
	.act-invitation-schedule-item-marker {
		width: 2.5rem;
		height: 2.5rem;
		font-size: 0.875rem;
	}
	.act-invitation-schedule-item-content {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.25rem;
	}
	.act-invitation-schedule-label {
		font-size: 1rem;
	}
	.act-invitation-schedule-week {
		font-size: 0.875rem;
	}
	.act-invitation-schedule-disclaimer {
		flex-direction: column;
		padding: 1rem 1.25rem;
		gap: 0.75rem;
	}
}

/* ==========================================================================
   Invitation Round Page – 100% mobile friendly
   ========================================================================== */
.invitation-round-page {
	overflow-x: hidden;
	-webkit-tap-highlight-color: transparent;
}

/* AdSense placements on invitation round page */
.invitation-round-ad {
	margin: 1.5rem 0;
}
.invitation-round-ad .canberramatrix-ad-wrap {
	margin-top: 0;
	margin-bottom: 0;
}
.invitation-round-ad-after-hero {
	padding-left: max(1rem, env(safe-area-inset-left));
	padding-right: max(1rem, env(safe-area-inset-right));
}

/* Find your occupation – search dropdown */
.invitation-round-search-wrap {
	position: relative;
}
.invitation-round-search-input-wrap {
	position: relative;
}
.invitation-round-search-dropdown {
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	margin-top: 0.25rem;
	z-index: 50;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 0 0 0.5rem 0.5rem;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
	padding: 0.5rem;
	min-height: 3rem;
	max-height: 20rem;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}
.invitation-round-search-dropdown.hidden {
	display: none !important;
}
.invitation-round-search-dropdown-loading {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 1rem;
	color: #64748b;
	font-size: 0.875rem;
}
.invitation-round-search-dropdown-loading.hidden {
	display: none !important;
}
.invitation-round-search-dropdown-spinner {
	display: inline-block;
	width: 1.25rem;
	height: 1.25rem;
	border: 2px solid #e2e8f0;
	border-top-color: #2563eb;
	border-radius: 50%;
	animation: invitation-round-spin 0.6s linear infinite;
}
@keyframes invitation-round-spin {
	to { transform: rotate(360deg); }
}
.invitation-round-search-dropdown-list {
	flex: 1;
	overflow-y: auto;
	overflow-x: hidden;
	-webkit-overflow-scrolling: touch;
}
.invitation-round-search-dropdown-list.hidden {
	display: none !important;
}
.invitation-round-search-dropdown-item {
	transition: background-color 0.15s ease;
}
.invitation-round-search-dropdown-item:hover {
	background-color: #f8fafc;
}
.invitation-round-search-dropdown-item .search-result-item-label:hover {
	color: #2563eb;
}
.invitation-round-search-dropdown-item + .invitation-round-search-dropdown-item {
	margin-top: 0.25rem;
}

/* Floating "Jump to search" button – anchor to search section */
.invitation-round-jump-to-search {
	position: fixed;
	bottom: 1.25rem;
	right: 1.25rem;
	z-index: 40;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.75rem 1rem;
	min-height: 48px;
	background: #2563eb;
	color: #fff;
	font-size: 0.9375rem;
	font-weight: 600;
	text-decoration: none;
	border-radius: 9999px;
	box-shadow: 0 4px 14px rgba(37, 99, 246, 0.4);
	transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.invitation-round-jump-to-search:hover {
	background: #1d4ed8;
	box-shadow: 0 6px 20px rgba(37, 99, 246, 0.5);
	transform: translateY(-2px);
	color: #fff;
}
.invitation-round-jump-to-search:focus {
	outline: none;
	box-shadow: 0 0 0 3px rgba(37, 99, 246, 0.4);
}
.invitation-round-jump-to-search-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.invitation-round-jump-to-search-label {
	white-space: nowrap;
}
@media (max-width: 480px) {
	.invitation-round-jump-to-search {
		bottom: max(1rem, env(safe-area-inset-bottom));
		right: max(1rem, env(safe-area-inset-right));
		padding: 0.875rem 1rem;
	}
	.invitation-round-jump-to-search-label {
		display: none;
	}
	.invitation-round-jump-to-search .invitation-round-jump-to-search-icon {
		margin: 0;
	}
}
/* Safe area for notched devices (iPhone X+, etc.) */
.invitation-round-page .container-saas,
.invitation-round-page .invitation-round-content {
	padding-left: max(1rem, env(safe-area-inset-left));
	padding-right: max(1rem, env(safe-area-inset-right));
}
.invitation-round-hero {
	padding-left: max(1rem, env(safe-area-inset-left));
	padding-right: max(1rem, env(safe-area-inset-right));
}

@media (max-width: 767px) {
	.invitation-round-page .section-padding {
		padding-top: 1.5rem;
		padding-bottom: 1.5rem;
	}
	.invitation-round-title {
		font-size: 1.5rem;
		line-height: 1.3;
		word-wrap: break-word;
	}
	.invitation-round-subtitle {
		font-size: 0.9375rem;
		line-height: 1.5;
	}
	.invitation-round-seo h2 {
		font-size: 1.25rem;
	}
	.invitation-round-seo h3 {
		font-size: 1.125rem;
		margin-top: 1.5rem;
	}
	.invitation-round-seo p {
		font-size: 0.9375rem;
		line-height: 1.6;
	}
	/* Touch-friendly inputs: min 48px height, 16px font to prevent iOS zoom */
	.invitation-round-input {
		min-height: 48px !important;
		font-size: 16px !important;
		padding-top: 0.75rem !important;
		padding-bottom: 0.75rem !important;
	}
	.invitation-round-filters {
		gap: 1rem;
	}
	.invitation-round-filter-item {
		width: 100%;
	}
	/* Table: smooth horizontal scroll, touch-friendly */
	.invitation-round-table-wrap {
		-webkit-overflow-scrolling: touch;
		overflow-x: auto;
		margin-left: -0.5rem;
		margin-right: -0.5rem;
		border-radius: 0.5rem;
	}
	.invitation-round-table-wrap::-webkit-scrollbar {
		height: 6px;
	}
	.invitation-round-table-wrap::-webkit-scrollbar-thumb {
		background: #cbd5e1;
		border-radius: 3px;
	}
	.invitation-round-table th,
	.invitation-round-table td {
		padding: 0.625rem 0.75rem !important;
		font-size: 0.8125rem !important;
		white-space: nowrap;
	}
	.invitation-round-table th {
		font-size: 0.6875rem !important;
		text-transform: uppercase;
		letter-spacing: 0.02em;
	}
	.invitation-round-table td:nth-child(2) {
		min-width: 8rem;
		max-width: 12rem;
		white-space: normal;
		word-break: break-word;
	}
	.invitation-round-scroll-hint {
		text-align: center;
		padding: 0.25rem 0.5rem;
	}
	/* Save button in search results: touch target min 44px */
	.invitation-round-page .search-result-save-btn {
		min-height: 44px;
		min-width: 44px;
		padding: 0.5rem 0.75rem !important;
		font-size: 0.875rem !important;
	}
	/* Saved occupations cards: readable on small screens */
	.invitation-round-saved .rounded-xl.border.border-surface-200 {
		padding: 0.875rem 1rem !important;
	}
	.invitation-round-saved .rounded-xl.border.border-surface-200 h3 {
		font-size: 1rem;
		line-height: 1.35;
	}
	.invitation-round-saved .overflow-x-auto {
		-webkit-overflow-scrolling: touch;
		margin-left: -0.25rem;
		margin-right: -0.25rem;
	}
	.invitation-round-saved table {
		font-size: 0.8125rem;
	}
	.invitation-round-saved th,
	.invitation-round-saved td {
		padding: 0.5rem 0.625rem !important;
	}
	/* Stats cards: comfortable spacing */
	.invitation-round-stats .card {
		padding: 1rem !important;
	}
	.invitation-round-stats .card .text-2xl {
		font-size: 1.375rem;
	}
	/* PDF / CTA button: touch-friendly */
	.invitation-round-page .btn-primary {
		min-height: 48px;
		padding: 0.75rem 1.25rem !important;
		font-size: 1rem !important;
		display: inline-flex !important;
		align-items: center;
		justify-content: center;
	}
}

@media (max-width: 480px) {
	.invitation-round-hero .section-padding {
		padding-top: 1.25rem;
		padding-bottom: 1.25rem;
	}
	.invitation-round-table th,
	.invitation-round-table td {
		padding: 0.5rem 0.5rem !important;
		font-size: 0.75rem !important;
	}
	.invitation-round-table th {
		font-size: 0.625rem !important;
	}
}
