/* 5th Axis — Policy Document (Elementor widget) */
.axis5th-pol {
	--axis5th-pol-sticky-top: 66px;
	display: grid;
	grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
	gap: 3rem 4rem;
	align-items: start;
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 0 3rem;
	color: var(--e-global-color-accent);
}

.axis5th-pol *,
.axis5th-pol *::before,
.axis5th-pol *::after {
	box-sizing: border-box;
}

/* ---- Sticky left ---- */
.axis5th-pol__aside {
	position: sticky;
	top: var(--axis5th-pol-sticky-top);
	align-self: start;
	max-height: calc(100vh - var(--axis5th-pol-sticky-top) - 24px);
	overflow-x: hidden;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
	z-index: 5;
	padding-right: 4px;
}

.axis5th-pol__aside::-webkit-scrollbar {
	width: 4px;
}

.axis5th-pol__aside::-webkit-scrollbar-thumb {
	background: var(--e-global-color-e235f34);
}

.axis5th-pol__aside-label {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--e-global-color-accent);
	margin: 0 0 0.65rem;
}

.axis5th-pol__region {
	margin: 0 0 2rem;
}

.axis5th-pol__select {
	width: 100%;
	appearance: none;
	-webkit-appearance: none;
	background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%2318181B' stroke-width='1.4' d='M1 1.5L6 6.5L11 1.5'/%3E%3C/svg%3E") no-repeat right 0.85rem center;
	border: 1px solid var(--e-global-color-e235f34);
	border-radius: 0;
	padding: 0.7rem 2.25rem 0.7rem 0.85rem;
	font-size: 14px;
	font-weight: 500;
	color: var(--e-global-color-accent);
	line-height: 1.3;
	cursor: pointer;
}

.axis5th-pol__select:focus {
	outline: 1px solid var(--e-global-color-primary);
	outline-offset: 1px;
}

.axis5th-pol__region-note {
	margin: 0.55rem 0 0;
	font-size: 12px;
	font-style: italic;
	font-weight: 400;
	color: var(--e-global-color-text);
	line-height: 1.45;
}

.axis5th-pol__toc {
	list-style: none;
	margin: 0;
	padding: 0;
	border: 1px solid var(--e-global-color-e235f34);
	background: #ffffff;
}

.axis5th-pol__toc a {
	display: block;
	padding: 0.8rem 0.9rem;
	font-size: 13px;
	font-weight: 500;
	color: var(--e-global-color-accent);
	text-decoration: none;
	line-height: 1.35;
	border-bottom: 1px solid var(--e-global-color-e235f34);
	background: #ffffff;
	transition: background 0.2s ease, color 0.2s ease;
}

.axis5th-pol__toc li:last-child a {
	border-bottom: 0;
}

.axis5th-pol__toc a:hover {
	color: var(--e-global-color-primary);
}

.axis5th-pol__toc a.is-active {
	background: var(--e-global-color-accent);
	color: #ffffff;
	border-bottom: 2px solid var(--e-global-color-primary);
}

/* ---- Main content ---- */
.axis5th-pol__main {
	min-width: 0;
}

.axis5th-pol__lead {
	margin: 0 0 1.25rem;
	font-size: 15px;
	font-weight: 700;
	color: var(--e-global-color-accent);
	line-height: 1.6;
}

.axis5th-pol__updated {
	margin: 0 0 1rem;
	font-size: 13px;
	font-weight: 500;
	color: var(--e-global-color-text);
}

.axis5th-pol__intro p,
.axis5th-pol__body p {
	margin: 0 0 1rem;
	font-size: 14px;
	font-weight: 400;
	color: var(--e-global-color-text);
	line-height: 1.7;
}

.axis5th-pol__body a,
.axis5th-pol__intro a {
	color: var(--e-global-color-primary);
	text-decoration: none;
}

.axis5th-pol__body a:hover,
.axis5th-pol__intro a:hover {
	text-decoration: underline;
}

/* Sub-headings typed inside a section (Heading 3 in the editor) */
.axis5th-pol__body h3,
.axis5th-pol__body h4 {
	margin: 1.15rem 0 0.5rem;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--e-global-color-accent);
}

/* Bullet / numbered lists typed inside a section */
.axis5th-pol__body ul,
.axis5th-pol__body ol {
	margin: 0 0 1.15rem;
	padding: 0 0 0 1.15rem;
}

.axis5th-pol__body li {
	font-size: 14px;
	color: var(--e-global-color-text);
	line-height: 1.7;
	margin: 0 0 0.4rem;
}

/* Tables typed inside a section scroll sideways on small screens */
.axis5th-pol__body table {
	display: block;
	width: 100%;
	max-width: 100%;
	overflow-x: auto;
	margin: 0.5rem 0 1.25rem;
	border: 1px solid var(--e-global-color-e235f34);
	border-collapse: collapse;
}

.axis5th-pol__body table th,
.axis5th-pol__body table td {
	padding: 0.7rem 0.85rem;
	font-size: 13px;
	text-align: left;
	vertical-align: top;
	border-bottom: 1px solid var(--e-global-color-e235f34);
	color: var(--e-global-color-text);
	line-height: 1.5;
}

.axis5th-pol__body table th {
	background: var(--e-global-color-e735d4d);
	font-weight: 700;
	color: var(--e-global-color-accent);
	text-transform: uppercase;
	letter-spacing: 0.03em;
	font-size: 11px;
}

.axis5th-pol__body table tr:last-child th,
.axis5th-pol__body table tr:last-child td {
	border-bottom: 0;
}

/* ---- Accordion sections ---- */
.axis5th-pol__section {
	border-top: 1px solid var(--e-global-color-e235f34);
	padding: 1.35rem 0 0.5rem;
	margin: 0;
}

.axis5th-pol__section > summary {
	list-style: none;
	display: grid;
	grid-template-columns: 1fr auto;
	grid-template-areas: "num icon" "title icon";
	column-gap: 1rem;
	align-items: start;
	cursor: pointer;
	margin: 0 0 1rem;
}

.axis5th-pol__section > summary::-webkit-details-marker {
	display: none;
}

.axis5th-pol__num {
	grid-area: num;
	display: block;
	font-size: 12px;
	font-weight: 600;
	color: var(--e-global-color-text);
	margin: 0 0 0.25rem;
}

.axis5th-pol__heading {
	grid-area: title;
	margin: 0;
	font-size: clamp(1.25rem, 2.2vw, 1.75rem);
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--e-global-color-accent);
	line-height: 1.2;
}

.axis5th-pol__heading em {
	font-style: normal;
	color: var(--e-global-color-primary);
}

.axis5th-pol__toggle {
	grid-area: icon;
	width: 22px;
	height: 22px;
	margin-top: 0.35rem;
	position: relative;
}

.axis5th-pol__toggle::before,
.axis5th-pol__toggle::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 12px;
	height: 1.5px;
	background: var(--e-global-color-accent);
	transform: translate(-50%, -50%);
}

.axis5th-pol__section:not([open]) .axis5th-pol__toggle::after {
	transform: translate(-50%, -50%) rotate(90deg);
}

/* ---- Highlighted note, info boxes and contact ---- */
.axis5th-pol__callout {
	margin: 0.25rem 0 1.25rem;
	padding: 1.1rem 1.25rem;
	background: var(--e-global-color-e735d4d);
	border-left: 4px solid var(--e-global-color-primary);
}

.axis5th-pol__callout h3 {
	margin: 0 0 0.45rem;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--e-global-color-accent);
}

.axis5th-pol__callout p {
	margin: 0;
}

.axis5th-pol__box-link {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin-top: 0.75rem;
	font-size: 14px;
	font-weight: 600;
	color: var(--e-global-color-primary);
	text-decoration: none;
}

.axis5th-pol__box-link:hover {
	text-decoration: underline;
}

.axis5th-pol__box-link--button {
	padding: 0.6rem 1rem;
	border: 1px solid var(--e-global-color-primary);
	background: #ffffff;
}

.axis5th-pol__box-link--button:hover {
	background: var(--e-global-color-primary);
	color: #ffffff;
	text-decoration: none;
}

.axis5th-pol__cards {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
	margin: 0.25rem 0 1.25rem;
}

.axis5th-pol__card {
	background: var(--e-global-color-e735d4d);
	padding: 1.15rem 1.25rem;
}

.axis5th-pol__card h3 {
	margin: 0 0 0.45rem;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--e-global-color-accent);
}

.axis5th-pol__card p {
	margin: 0;
	font-size: 13px;
	color: var(--e-global-color-text);
	line-height: 1.6;
}

.axis5th-pol__contact {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem;
	margin: 0.25rem 0 1.25rem;
}

.axis5th-pol__contact-label {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 0.45rem;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--e-global-color-accent);
}

.axis5th-pol__contact-label svg {
	width: 16px;
	height: 16px;
	flex: 0 0 auto;
	color: var(--e-global-color-primary);
}

.axis5th-pol__contact a {
	display: inline-block;
	font-size: 14px;
	font-weight: 600;
	color: var(--e-global-color-primary);
	text-decoration: none;
}

.axis5th-pol__contact a:hover {
	text-decoration: underline;
}

@media screen and (max-width: 991px) {
	.axis5th-pol {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.axis5th-pol__aside {
		position: static;
		max-height: none;
		overflow: visible;
	}
}

@media screen and (max-width: 767px) {
	.axis5th-pol__cards,
	.axis5th-pol__contact {
		grid-template-columns: 1fr;
	}

	.axis5th-pol__heading {
		font-size: 1.2rem;
	}
}

/* Responsive fix: table headers readable on phones (were 11px). */
@media screen and (max-width: 480px) {
	.axis5th-pol__body table th { font-size: 12px; }
}
