/* Perth Azzurri — child theme
   Editorial terrace layout. Not a clone of the reference mock. */

:root {
	--pa-navy: #071428;
	--pa-navy-mid: #0c2340;
	--pa-navy-deep: #040c18;
	--pa-green: #0b7a43;
	--pa-green-bright: #129b54;
	--pa-red: #c8102e;
	--pa-gold: #c6a135;
	--pa-cream: #f4efe4;
	--pa-paper: #f7f8fa;
	--pa-ink: #122033;
	--pa-muted: #5b6b7c;
	--pa-white: #ffffff;
	--pa-line: rgba(255, 255, 255, 0.14);
	--pa-wrap: 1180px;
	--pa-header-h: 84px;
	--pa-display: "Barlow Condensed", "Arial Narrow", sans-serif;
	--pa-sans: "Manrope", "Segoe UI", sans-serif;
}

html.perth-azzurri,
.perth-azzurri,
.perth-azzurri .site,
.perth-azzurri #page {
	background: var(--pa-paper);
	color: var(--pa-ink);
	font-family: var(--pa-sans);
	overflow-x: clip;
}

.perth-azzurri h1,
.perth-azzurri h2,
.perth-azzurri h3,
.perth-azzurri h4 {
	font-family: var(--pa-display);
	letter-spacing: 0.02em;
	text-transform: uppercase;
	line-height: 0.95;
	color: var(--pa-navy);
}

.perth-azzurri a {
	color: var(--pa-green);
}

.perth-azzurri .site-content,
.perth-azzurri.ast-page-builder-template .site-content > .ast-container,
.perth-azzurri .pa-canvas {
	max-width: none;
	width: 100%;
	padding: 0;
	margin: 0;
}

.perth-azzurri.home #primary,
.perth-azzurri.home .entry-header,
.perth-azzurri.home .ast-article-single {
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
}

.perth-azzurri .pa-wrap {
	width: min(var(--pa-wrap), calc(100% - 40px));
	margin-inline: auto;
}

.perth-azzurri .pa-rail {
	display: none;
	position: fixed;
	inset: 0 auto 0 0;
	width: 8px;
	z-index: 80;
}

.perth-azzurri .pa-rail span {
	display: block;
	flex: 1;
	height: 33.334%;
}

.perth-azzurri .pa-rail__green { background: var(--pa-green); }
.perth-azzurri .pa-rail__white { background: var(--pa-white); }
.perth-azzurri .pa-rail__red { background: var(--pa-red); }

.perth-azzurri .pa-tricolour {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	height: 6px;
}

.perth-azzurri .pa-tricolour::before,
.perth-azzurri .pa-tricolour::after {
	content: "";
}

.perth-azzurri .pa-tricolour {
	background:
		linear-gradient(var(--pa-green), var(--pa-green)) left / 33.34% 100% no-repeat,
		linear-gradient(var(--pa-white), var(--pa-white)) center / 33.32% 100% no-repeat,
		linear-gradient(var(--pa-red), var(--pa-red)) right / 33.34% 100% no-repeat;
}

.perth-azzurri .pa-tricolour--hairline {
	height: 3px;
}

.perth-azzurri .pa-eyebrow {
	margin: 0 0 10px;
	color: var(--pa-green);
	font-family: var(--pa-display);
	font-size: 0.92rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.perth-azzurri .pa-eyebrow--light {
	color: var(--pa-gold);
}

.perth-azzurri .pa-badge {
	display: inline-block;
	margin: 0;
	padding: 6px 10px;
	background: var(--pa-green);
	color: var(--pa-white);
	font-family: var(--pa-display);
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.perth-azzurri .pa-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 0 22px;
	border: 2px solid transparent;
	border-radius: 2px;
	font-family: var(--pa-display);
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.perth-azzurri .pa-btn svg {
	width: 18px;
	height: 18px;
}

.perth-azzurri .pa-btn:hover {
	transform: translateY(-1px);
}

.perth-azzurri .pa-btn--green {
	background: var(--pa-green);
	border-color: var(--pa-green);
	color: var(--pa-white);
}

.perth-azzurri .pa-btn--green:hover {
	background: var(--pa-green-bright);
	border-color: var(--pa-green-bright);
	color: var(--pa-white);
}

.perth-azzurri .pa-btn--ghost {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.7);
	color: var(--pa-white);
}

.perth-azzurri .pa-btn--ghost:hover {
	background: var(--pa-white);
	border-color: var(--pa-white);
	color: var(--pa-navy);
}

.perth-azzurri .pa-btn--white {
	background: var(--pa-white);
	border-color: var(--pa-white);
	color: var(--pa-green);
}

.perth-azzurri .pa-btn--white:hover {
	background: var(--pa-cream);
	color: var(--pa-navy);
}

.perth-azzurri .pa-text-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--pa-navy);
	font-family: var(--pa-display);
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none;
}

.perth-azzurri .pa-text-link svg {
	width: 16px;
	height: 16px;
}

.perth-azzurri .pa-text-link:hover {
	color: var(--pa-green);
}

.perth-azzurri .pa-section-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 36px;
}

.perth-azzurri .pa-section-head h2,
.perth-azzurri .pa-why h2,
.perth-azzurri .pa-venue h2,
.perth-azzurri .pa-split h2,
.perth-azzurri .pa-naming h2 {
	margin: 0 0 8px;
	font-size: clamp(2rem, 4vw, 3.2rem);
}

.perth-azzurri .pa-section-head p,
.perth-azzurri .pa-why .pa-section-head p {
	margin: 0;
	max-width: 46ch;
	color: var(--pa-muted);
}

.perth-azzurri .pa-section-head--left {
	display: block;
	max-width: 620px;
}

.perth-azzurri .pa-logo {
	display: inline-flex;
	flex-shrink: 0;
}

.perth-azzurri .pa-logo__img {
	display: block;
	width: 64px;
	height: auto;
}

.perth-azzurri .pa-logo--footer .pa-logo__img {
	width: 80px;
}

/* Header */
.perth-azzurri #masthead.pa-header,
.perth-azzurri .pa-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--pa-navy);
	border: 0;
	padding: 0;
	min-height: 0;
	box-shadow: none;
}

.perth-azzurri .pa-header.is-scrolled {
	box-shadow: 0 10px 30px rgba(4, 12, 24, 0.28);
}

.perth-azzurri .pa-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: var(--pa-header-h);
}

.perth-azzurri .pa-nav {
	display: flex;
	align-items: center;
	gap: 28px;
}

.perth-azzurri .pa-nav__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 18px 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.perth-azzurri .pa-nav__list a {
	color: rgba(255, 255, 255, 0.86);
	font-family: var(--pa-display);
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
}

.perth-azzurri .pa-nav__list a:hover,
.perth-azzurri .pa-nav__list .current-menu-item > a,
.perth-azzurri .pa-nav__list .current-menu-ancestor > a {
	color: var(--pa-white);
}

.perth-azzurri .pa-nav__list .menu-item-has-children {
	position: relative;
}

.perth-azzurri .pa-nav__list .sub-menu {
	display: none;
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	z-index: 40;
	min-width: 220px;
	margin: 0;
	padding: 10px 0;
	list-style: none;
	background: var(--pa-navy-deep);
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.perth-azzurri .pa-nav__list .sub-menu a {
	display: block;
	padding: 8px 16px;
	font-size: 0.88rem;
}

.perth-azzurri .pa-nav__list .menu-item-has-children:hover > .sub-menu,
.perth-azzurri .pa-nav__list .menu-item-has-children:focus-within > .sub-menu {
	display: block;
}

.perth-azzurri .pa-header__cta {
	min-height: 42px;
	padding-inline: 16px;
	white-space: nowrap;
}

.perth-azzurri .pa-nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.perth-azzurri .pa-nav-toggle__bar {
	display: block;
	width: 22px;
	height: 2px;
	background: var(--pa-white);
}

/* Hero */
.perth-azzurri .pa-hero {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(circle at 18% 20%, rgba(18, 155, 84, 0.18), transparent 28%),
		linear-gradient(160deg, var(--pa-navy-mid) 0%, var(--pa-navy) 46%, var(--pa-navy-deep) 100%);
	color: var(--pa-white);
	padding: 56px 0 72px;
}

.perth-azzurri .pa-hero__watermark {
	position: absolute;
	right: -4%;
	bottom: 8%;
	font-family: var(--pa-display);
	font-size: clamp(5rem, 18vw, 14rem);
	font-weight: 800;
	letter-spacing: 0.04em;
	line-height: 0.8;
	color: transparent;
	-webkit-text-stroke: 1px rgba(255, 255, 255, 0.06);
	user-select: none;
	pointer-events: none;
}

.perth-azzurri .pa-hero__rings {
	position: absolute;
	left: -80px;
	top: 10%;
	width: 420px;
	height: 420px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 50%;
	box-shadow:
		0 0 0 28px rgba(255, 255, 255, 0.03),
		0 0 0 56px rgba(255, 255, 255, 0.025);
}

.perth-azzurri .pa-hero__grid {
	position: relative;
	z-index: 1;
	display: grid;
	gap: 36px;
	align-items: center;
}

.perth-azzurri .pa-crest-frame {
	display: grid;
	place-items: center;
	width: min(250px, 68vw);
	margin: 0 auto;
	aspect-ratio: 1;
	border: 1px dashed rgba(198, 161, 53, 0.45);
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 255, 255, 0.04), transparent 68%);
}

.perth-azzurri .pa-crest-frame img {
	display: block;
	width: auto;
	height: 86%;
	max-width: 78%;
}

.perth-azzurri .pa-hero__copy h1 {
	margin: 0 0 18px;
	color: var(--pa-white);
	font-size: clamp(3.4rem, 9vw, 7rem);
}

.perth-azzurri .pa-hero__copy h1 span {
	display: block;
	font-size: 0.38em;
	letter-spacing: 0.28em;
	opacity: 0.8;
}

.perth-azzurri .pa-hero__copy h1 strong {
	display: block;
	font-weight: 800;
}

.perth-azzurri .pa-hero__line {
	margin: 0 0 14px;
	color: var(--pa-gold);
	font-family: var(--pa-display);
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.perth-azzurri .pa-hero__venue {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 0 0 28px;
	color: rgba(255, 255, 255, 0.78);
	font-size: 0.98rem;
}

.perth-azzurri .pa-hero__venue svg {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	margin-top: 3px;
	color: var(--pa-gold);
}

.perth-azzurri .pa-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.perth-azzurri .pa-hero__flag {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	height: 10px;
	margin-top: 48px;
	clip-path: polygon(0 0, 100% 0, 100% 70%, 50% 100%, 0 70%);
}

.perth-azzurri .pa-hero__flag span:nth-child(1) { background: var(--pa-green); }
.perth-azzurri .pa-hero__flag span:nth-child(2) { background: var(--pa-white); }
.perth-azzurri .pa-hero__flag span:nth-child(3) { background: var(--pa-red); }

/* Naming rights plaque */
.perth-azzurri .pa-naming {
	position: relative;
	z-index: 3;
	margin-top: -28px;
	margin-bottom: 18px;
}

.perth-azzurri .pa-naming__card {
	display: grid;
	gap: 18px;
	padding: 22px 24px;
	background: var(--pa-white);
	border-left: 6px solid var(--pa-gold);
	box-shadow: 0 18px 40px rgba(7, 20, 40, 0.12);
}

.perth-azzurri .pa-naming__copy h2 {
	margin: 0 0 8px;
	font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.perth-azzurri .pa-naming__copy p {
	margin: 0;
	color: var(--pa-muted);
}

/* Next match ticket */
.perth-azzurri .pa-match {
	padding: 18px 0 10px;
}

.perth-azzurri .pa-ticket {
	display: grid;
	grid-template-columns: 92px 1fr;
	overflow: hidden;
	background: var(--pa-green);
	color: var(--pa-white);
	clip-path: polygon(0 8px, 8px 0, calc(100% - 8px) 0, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0 calc(100% - 8px));
}

.perth-azzurri .pa-ticket__stub {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px 8px;
	border-right: 2px dashed rgba(255, 255, 255, 0.4);
	background: rgba(0, 0, 0, 0.12);
	writing-mode: vertical-rl;
	transform: rotate(180deg);
	font-family: var(--pa-display);
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.perth-azzurri .pa-ticket__body {
	padding: 18px 22px;
}

.perth-azzurri .pa-ticket__comp {
	margin: 0 0 4px;
	opacity: 0.82;
	font-size: 0.85rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.perth-azzurri .pa-ticket__teams {
	margin: 0 0 8px;
	font-family: var(--pa-display);
	font-size: clamp(1.4rem, 3vw, 2rem);
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.perth-azzurri .pa-ticket__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	margin: 0;
	font-size: 0.92rem;
}

/* Why join */
.perth-azzurri .pa-why {
	padding: 72px 0 64px;
	background: var(--pa-cream);
}

.perth-azzurri .pa-why__grid {
	display: grid;
	gap: 18px;
	margin-bottom: 32px;
}

.perth-azzurri .pa-why__card {
	position: relative;
	padding: 28px 24px 24px;
	background: var(--pa-white);
	border-top: 3px solid var(--pa-green);
}

.perth-azzurri .pa-why__card:nth-child(2) { border-top-color: var(--pa-navy); }
.perth-azzurri .pa-why__card:nth-child(3) { border-top-color: var(--pa-gold); }
.perth-azzurri .pa-why__card:nth-child(4) { border-top-color: var(--pa-red); }

.perth-azzurri .pa-why__num {
	position: absolute;
	top: 14px;
	right: 16px;
	color: rgba(18, 32, 51, 0.12);
	font-family: var(--pa-display);
	font-size: 2rem;
	font-weight: 800;
}

.perth-azzurri .pa-why__icon {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	margin-bottom: 16px;
	background: var(--pa-navy);
	color: var(--pa-gold);
}

.perth-azzurri .pa-why__icon svg {
	width: 20px;
	height: 20px;
}

.perth-azzurri .pa-why__card h3 {
	margin: 0 0 10px;
	font-size: 1.45rem;
}

.perth-azzurri .pa-why__card p {
	margin: 0;
	color: var(--pa-muted);
	font-size: 0.98rem;
}

.perth-azzurri .pa-why__cta {
	text-align: left;
}

/* Two panel */
.perth-azzurri .pa-split {
	padding: 28px 0 8px;
}

.perth-azzurri .pa-split__grid {
	display: grid;
	gap: 0;
}

.perth-azzurri .pa-split__panel {
	padding: 40px 32px;
	color: var(--pa-white);
}

.perth-azzurri .pa-split__panel h2 {
	color: var(--pa-white);
	margin-bottom: 14px;
}

.perth-azzurri .pa-split__panel p {
	margin: 0 0 24px;
	max-width: 42ch;
	color: rgba(255, 255, 255, 0.82);
}

.perth-azzurri .pa-split__panel--navy {
	background:
		linear-gradient(135deg, transparent 0 18px, var(--pa-green) 18px 24px, var(--pa-white) 24px 30px, var(--pa-red) 30px 36px, transparent 36px),
		var(--pa-navy);
	background-repeat: no-repeat;
	background-size: 36px 100%, 100% 100%;
	padding-left: 56px;
}

.perth-azzurri .pa-split__panel--green {
	background: linear-gradient(160deg, var(--pa-green) 0%, #086536 100%);
}

/* News */
.perth-azzurri .pa-news {
	padding: 80px 0 88px;
	background: var(--pa-cream);
}

.perth-azzurri .pa-news__grid {
	display: grid;
	gap: 22px;
	align-items: stretch;
}

.perth-azzurri .pa-news a {
	color: inherit;
	text-decoration: none;
}

.perth-azzurri .pa-news__feature {
	min-height: 460px;
	background: var(--pa-navy);
	overflow: hidden;
}

.perth-azzurri .pa-news__feature > a {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 460px;
	height: 100%;
	color: var(--pa-white);
}

.perth-azzurri .pa-news__feature .pa-news__media {
	position: absolute;
	inset: 0;
	aspect-ratio: auto;
}

.perth-azzurri .pa-news__feature .pa-news__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(4, 12, 24, 0.08) 20%, rgba(4, 12, 24, 0.92) 78%);
}

.perth-azzurri .pa-news__media {
	position: relative;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	background: var(--pa-navy);
}

.perth-azzurri .pa-news__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.45s ease;
}

.perth-azzurri .pa-news__feature:hover img {
	transform: scale(1.04);
}

.perth-azzurri .pa-news__media--sm {
	aspect-ratio: 1;
	width: 104px;
	flex-shrink: 0;
}

.perth-azzurri .pa-news__media--sm .pa-news__fallback {
	font-size: 0.95rem;
	letter-spacing: 0.08em;
	padding: 8px;
	text-align: center;
}

.perth-azzurri .pa-news__fallback {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	color: var(--pa-white);
	font-family: var(--pa-display);
	font-size: 2rem;
	font-weight: 800;
	letter-spacing: 0.12em;
}

.perth-azzurri .pa-news__fallback--npl,
.perth-azzurri .pa-news__fallback--match-report { background: var(--pa-navy-mid); }
.perth-azzurri .pa-news__fallback--abn,
.perth-azzurri .pa-news__fallback--club-news { background: var(--pa-green); }
.perth-azzurri .pa-news__fallback--naming-rights,
.perth-azzurri .pa-news__fallback--commercial,
.perth-azzurri .pa-news__fallback--club { background: #8d731f; }
.perth-azzurri .pa-news__fallback--womens { background: #5a2d0c; }
.perth-azzurri .pa-news__fallback--juniors { background: var(--pa-red); }

.perth-azzurri .pa-news__feature-copy {
	position: relative;
	z-index: 1;
	padding: 36px 32px 30px;
}

.perth-azzurri .pa-news__feature .pa-news__cat {
	position: static;
	display: inline-block;
	margin-bottom: 14px;
}

.perth-azzurri .pa-news__feature h3 {
	margin: 0 0 12px;
	color: var(--pa-white);
	font-size: clamp(1.8rem, 3.4vw, 2.8rem);
	max-width: 18ch;
}

.perth-azzurri .pa-news__feature p {
	margin: 0 0 18px;
	max-width: 46ch;
	color: rgba(255, 255, 255, 0.78);
	font-size: 1.02rem;
	line-height: 1.55;
}

.perth-azzurri .pa-news__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 20px;
}

.perth-azzurri .pa-news__feature time {
	color: rgba(255, 255, 255, 0.62);
}

.perth-azzurri .pa-news__more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--pa-gold);
	font-family: var(--pa-display);
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.perth-azzurri .pa-news__more svg {
	width: 16px;
	height: 16px;
}

.perth-azzurri .pa-news__cat {
	padding: 4px 8px;
	background: var(--pa-gold);
	color: var(--pa-navy);
	font-family: var(--pa-display);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.perth-azzurri .pa-news__cat--inline {
	display: inline-block;
	margin-bottom: 8px;
}

.perth-azzurri .pa-news__rail {
	margin: 0 0 4px;
	color: var(--pa-green);
	font-family: var(--pa-display);
	font-size: 0.88rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.perth-azzurri .pa-news__stack {
	display: grid;
	gap: 14px;
	align-content: start;
}

.perth-azzurri .pa-news__item {
	background: var(--pa-white);
	border-top: 3px solid var(--pa-green);
	transition: transform 0.18s ease;
}

.perth-azzurri .pa-news__item:nth-child(3) {
	border-top-color: var(--pa-gold);
}

.perth-azzurri .pa-news__item:hover {
	transform: translateY(-2px);
}

.perth-azzurri .pa-news__item a {
	position: relative;
	display: flex;
	gap: 16px;
	align-items: stretch;
	padding: 16px;
	min-height: 148px;
}

.perth-azzurri .pa-news__num {
	position: absolute;
	top: 10px;
	right: 14px;
	color: rgba(18, 32, 51, 0.1);
	font-family: var(--pa-display);
	font-size: 2.1rem;
	font-weight: 800;
	line-height: 1;
}

.perth-azzurri .pa-news__body {
	position: relative;
	z-index: 1;
	padding-right: 28px;
}

.perth-azzurri .pa-news__item h3 {
	margin: 0 0 8px;
	font-size: 1.28rem;
}

.perth-azzurri .pa-news time {
	color: var(--pa-muted);
	font-size: 0.88rem;
}

/* Stats */
.perth-azzurri .pa-stats {
	background: var(--pa-navy);
	padding: 42px 0;
}

.perth-azzurri .pa-stats__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 22px 16px;
}

.perth-azzurri .pa-stats__item {
	padding-top: 12px;
	border-top: 3px solid var(--pa-green);
}

.perth-azzurri .pa-stats__item:nth-child(2) { border-top-color: var(--pa-white); }
.perth-azzurri .pa-stats__item:nth-child(3) { border-top-color: var(--pa-red); }
.perth-azzurri .pa-stats__item:nth-child(4) { border-top-color: var(--pa-gold); }
.perth-azzurri .pa-stats__item:nth-child(5) { border-top-color: var(--pa-white); }
.perth-azzurri .pa-stats__item:nth-child(6) { border-top-color: var(--pa-green); }

.perth-azzurri .pa-stats__item strong {
	display: block;
	color: var(--pa-gold);
	font-family: var(--pa-display);
	font-size: clamp(1.8rem, 4vw, 2.6rem);
	line-height: 1;
}

.perth-azzurri .pa-stats__item span {
	color: rgba(255, 255, 255, 0.78);
	font-size: 0.88rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

/* Partners */
.perth-azzurri .pa-partners {
	padding: 48px 0;
	background: #edf3ee;
}

.perth-azzurri .pa-partners__label {
	margin: 0 0 22px;
	text-align: center;
	font-family: var(--pa-display);
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--pa-navy);
}

.perth-azzurri .pa-partners__row {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.perth-azzurri .pa-partners__row a {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 140px;
	min-height: 92px;
	padding: 14px;
	background: var(--pa-white);
	color: var(--pa-navy);
	text-decoration: none;
	box-shadow: 0 1px 0 rgba(7, 20, 40, 0.06);
}

.perth-azzurri .pa-partners__row img {
	max-width: 120px;
	max-height: 48px;
	object-fit: contain;
}

.perth-azzurri .pa-partners__mark {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	background: var(--pa-navy);
	color: var(--pa-white);
	font-family: var(--pa-display);
	font-weight: 700;
}

.perth-azzurri .pa-partners__name {
	font-size: 0.78rem;
	font-weight: 600;
	text-align: center;
}

/* Venue */
.perth-azzurri .pa-venue {
	padding: 72px 0;
	background: var(--pa-white);
}

.perth-azzurri .pa-venue__grid {
	display: grid;
	gap: 32px;
	align-items: center;
}

.perth-azzurri .pa-venue__copy p {
	margin: 0 0 22px;
	max-width: 48ch;
	color: var(--pa-muted);
}

.perth-azzurri .pa-pitch {
	position: relative;
	min-height: 220px;
	border: 3px solid var(--pa-green);
	background:
		linear-gradient(90deg, rgba(11, 122, 67, 0.08) 50%, transparent 50%),
		#e7f4ec;
	background-size: 40px 100%, auto;
}

.perth-azzurri .pa-pitch__circle {
	position: absolute;
	inset: 50% auto auto 50%;
	width: 84px;
	height: 84px;
	border: 2px solid var(--pa-green);
	border-radius: 50%;
	transform: translate(-50%, -50%);
}

.perth-azzurri .pa-pitch__line {
	position: absolute;
	left: 50%;
	top: 0;
	bottom: 0;
	width: 2px;
	background: var(--pa-green);
}

/* Footer */
.perth-azzurri .pa-footer {
	background: var(--pa-navy-deep);
	color: rgba(255, 255, 255, 0.78);
}

.perth-azzurri .pa-footer__grid {
	display: grid;
	gap: 32px;
	padding: 56px 0 40px;
}

.perth-azzurri .pa-footer h2 {
	margin: 0 0 16px;
	color: var(--pa-white);
	font-size: 1.2rem;
}

.perth-azzurri .pa-footer__brand p {
	margin: 14px 0 18px;
	max-width: 28ch;
}

.perth-azzurri .pa-footer__links,
.perth-azzurri .pa-footer__contact,
.perth-azzurri .pa-social,
.perth-azzurri .pa-footer__legal {
	margin: 0;
	padding: 0;
	list-style: none;
}

.perth-azzurri .pa-footer__links a,
.perth-azzurri .pa-footer__legal a,
.perth-azzurri .pa-footer__contact a {
	color: rgba(255, 255, 255, 0.78);
	text-decoration: none;
}

.perth-azzurri .pa-footer__links a:hover,
.perth-azzurri .pa-footer__legal a:hover,
.perth-azzurri .pa-footer__contact a:hover {
	color: var(--pa-white);
}

.perth-azzurri .pa-footer__links li + li,
.perth-azzurri .pa-footer__contact li + li {
	margin-top: 8px;
}

.perth-azzurri .pa-footer__contact li {
	display: flex;
	gap: 10px;
	align-items: flex-start;
}

.perth-azzurri .pa-footer__contact svg,
.perth-azzurri .pa-social svg {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	margin-top: 3px;
	color: var(--pa-gold);
}

.perth-azzurri .pa-social {
	display: flex;
	gap: 10px;
}

.perth-azzurri .pa-social a {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 50%;
	color: var(--pa-white);
}

.perth-azzurri .pa-social a:hover {
	background: var(--pa-green);
	border-color: var(--pa-green);
}

.perth-azzurri .pa-social svg {
	margin: 0;
	color: currentColor;
}

.perth-azzurri .pa-footer__bar {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	background: #030910;
}

.perth-azzurri .pa-footer__bar-inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 10px;
	padding: 16px 0;
	font-size: 0.85rem;
}

.perth-azzurri .pa-footer__bar p {
	margin: 0;
}

.perth-azzurri .pa-footer__legal {
	display: flex;
	gap: 16px;
}

/* Inner pages */
.perth-azzurri:not(.home):not(.blog):not(.single-post):not(.page-template-page-membership):not(.page-template-page-business-network):not(.page-template-page-venue):not(.page-template-page-events):not(.page-template-page-football):not(.page-template-page-team):not(.page-template-page-sponsors):not(.page-template-page-shop):not(.page-template-page-contact):not(.page-template-page-redevelopment):not(.page-template-page-about) #content {
	padding: 36px 0 64px;
}

.perth-azzurri:not(.home) .entry-title {
	font-family: var(--pa-display);
	font-size: clamp(2.2rem, 5vw, 3.4rem);
	text-transform: uppercase;
}

.perth-azzurri:not(.home) .entry-content {
	font-size: 1.05rem;
	line-height: 1.7;
}

/* Desktop */
@media (min-width: 900px) {
	.perth-azzurri .pa-rail {
		display: flex;
		flex-direction: column;
	}

	.perth-azzurri .site,
	.perth-azzurri #page {
		padding-left: 8px;
	}

	.perth-azzurri .pa-hero {
		padding: 72px 0 88px;
	}

	.perth-azzurri .pa-hero__grid {
		grid-template-columns: 0.9fr 1.4fr;
		gap: 48px;
		min-height: 520px;
	}

	.perth-azzurri .pa-crest-frame {
		width: 300px;
		margin: 0;
	}

	.perth-azzurri .pa-nav__list {
		gap: 14px 16px;
	}

	.perth-azzurri .pa-naming__card {
		grid-template-columns: auto 1fr auto;
		align-items: center;
		gap: 28px;
		padding: 28px 32px;
	}

	.perth-azzurri .pa-why__grid {
		grid-template-columns: repeat(4, 1fr);
	}

	.perth-azzurri .pa-split__grid {
		grid-template-columns: 1.1fr 0.9fr;
	}

	.perth-azzurri .pa-news__grid {
		grid-template-columns: 1.35fr 0.85fr;
		gap: 28px;
	}

	.perth-azzurri .pa-news__feature,
	.perth-azzurri .pa-news__feature > a {
		min-height: 520px;
	}

	.perth-azzurri .pa-stats__grid {
		grid-template-columns: repeat(6, 1fr);
	}

	.perth-azzurri .pa-venue__grid {
		grid-template-columns: 1.1fr 0.9fr;
	}

	.perth-azzurri .pa-footer__grid {
		grid-template-columns: 1.3fr 0.8fr 0.9fr 1.1fr;
	}
}

@media (max-width: 899px) {
	.perth-azzurri .pa-nav-toggle {
		display: flex;
		z-index: 60;
	}

	.perth-azzurri .pa-nav {
		position: fixed;
		inset: 0 0 0 20%;
		display: none;
		flex-direction: column;
		align-items: flex-start;
		gap: 28px;
		padding: 96px 28px 32px;
		background: var(--pa-navy-deep);
		box-shadow: -16px 0 40px rgba(0, 0, 0, 0.28);
	}

	.perth-azzurri.pa-nav-open .pa-nav {
		display: flex;
	}

	.perth-azzurri .pa-nav__list {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
	}

	.perth-azzurri .pa-nav__list a {
		font-size: 1.25rem;
	}

	.perth-azzurri .pa-nav__list .sub-menu {
		position: static;
		display: flex;
		flex-direction: column;
		min-width: 0;
		padding: 8px 0 0 12px;
		box-shadow: none;
		background: transparent;
	}

	.perth-azzurri .pa-nav__list .sub-menu a {
		font-size: 1rem;
		padding: 6px 0;
	}

	.perth-azzurri .pa-section-head {
		flex-direction: column;
		align-items: flex-start;
	}

	.perth-azzurri .pa-ticket {
		grid-template-columns: 1fr;
	}

	.perth-azzurri .pa-ticket__stub {
		writing-mode: horizontal-tb;
		transform: none;
		border-right: 0;
		border-bottom: 2px dashed rgba(255, 255, 255, 0.4);
		padding: 10px 16px;
	}
}
