/* =========================================================
   ACTIVE HEALTH HUB – GLOBAL CSS PASS
   Purpose:
   - Centralise site tokens
   - Standardise spacing, typography, cards and buttons
   - Fix homepage hero/header conflicts
   - Avoid broad selectors accidentally affecting template parts
   ========================================================= */
/* =========================================================
   1. ROOT TOKENS
   Purpose:
   Required global design values used throughout the full site.
   ========================================================= */
:root {
}

/* =========================================================
   2. GLOBAL PAGE WIDTH + BASE TYPOGRAPHY
   Purpose:
   Sets global width, content rhythm, heading styles and base text.
   ========================================================= */
.wp-site-blocks {
	max-width: var(--site-max);
	margin-left: auto;
	margin-right: auto;
	padding-left: 20px;
	padding-right: 20px;
	box-sizing: border-box;
}

body,
.wp-site-blocks,
.wp-site-blocks p,
.wp-site-blocks li {
	color: var(--color-text);
}

.wp-site-blocks p {
	font-size: 16px;
	line-height: 1.72;
	margin-top: 0;
	margin-bottom: 16px;
}

.wp-site-blocks ul,
.wp-site-blocks ol {
	padding-left: 20px;
	margin-top: 10px;
	margin-bottom: 18px;
}

.wp-site-blocks li {
	line-height: 1.65;
	margin-bottom: 7px;
}

.wp-site-blocks h1,
.wp-site-blocks h2,
.wp-site-blocks h3,
.wp-site-blocks h4 {
	color: var(--color-heading);
	font-weight: 700;
}

.wp-site-blocks h1 {
	font-size: 56px;
	line-height: 1.1;
	text-align: center;
	margin: 10px auto 16px;
	max-width: var(--hero-max);
}

.wp-site-blocks h1 + p {
	font-size: 18px;
	line-height: 1.6;
	color: var(--color-muted);
	text-align: center;
	max-width: 720px;
	margin: 0 auto 24px;
}

.wp-site-blocks h2 {
	font-size: 34px;
	line-height: 1.2;
	margin-top: 42px;
	margin-bottom: 16px;
}

.wp-site-blocks h3 {
	font-size: 24px;
	line-height: 1.25;
	margin-top: 28px;
	margin-bottom: 12px;
}

.wp-site-blocks h4 {
	font-size: 18px;
	line-height: 1.35;
	margin-top: 24px;
	margin-bottom: 8px;
}

.wp-site-blocks .wp-block-separator {
	border: none;
	height: 2px;
	background: #d9e2e1;
	margin: 20px 0 28px;
}

.wp-site-blocks main {
	padding-top: 20px !important;
	margin-top: 0 !important;
}

.wp-site-blocks main > :first-child {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

/* =========================================================
   3. FULL-WIDTH INNER ALIGNMENT
   Purpose:
   Allows full-width sections while keeping inner content aligned.
   ========================================================= */
.wp-block-group.alignfull > .wp-block-group__inner-container,
.wp-block-cover__inner-container {
	max-width: 1200px;
	margin: 0 auto;
	padding-left: 20px;
	padding-right: 20px;
	box-sizing: border-box;
}

/* =========================================================
   4. STANDARD HEADER
   Purpose:
   Styles the normal site header, logo, navigation and dropdowns.
   ========================================================= */
header,
header .wp-block-group,
header .wp-block-navigation,
header .wp-block-navigation__container,
header .wp-block-navigation-item,
header .wp-block-navigation-submenu {
	overflow: visible !important;
}

header {
	position: relative;
	width: 100%;
	background: var(--color-muted);
}

header > * {
	position: relative;
	z-index: 2;
}

header.wp-block-template-part > .wp-block-group,
header .wp-block-cover__inner-container,
header .wp-block-group {
	max-width: var(--site-max);
	margin: 0 auto;
	padding-left: 20px !important;
	padding-right: 20px !important;
	box-sizing: border-box;
}

header .wp-block-site-logo img,
header .custom-logo {
	max-width: 120px !important;
	height: auto !important;
}

header .wp-block-site-title,
header .site-title {
	margin: 0 !important;
	font-size: 20px !important;
	line-height: 1.2 !important;
	font-weight: 700 !important;
}

header .wp-block-site-title a,
header .site-title a,
header .wp-block-navigation a,
header .wp-block-navigation .wp-block-navigation-item__label,
header .wp-block-navigation-submenu__toggle {
	color: #ffffff !important;
	text-decoration: none !important;
}

header .wp-block-navigation__container {
	gap: 28px !important;
}

header .wp-block-navigation a {
	font-size: 16px !important;
	font-weight: 500 !important;
}

header .wp-block-navigation a:hover,
header .wp-block-navigation a:focus {
	opacity: .85;
}

header .wp-block-navigation-item.has-child {
	position: relative !important;
}

header .wp-block-navigation__submenu-container {
	position: absolute !important;
	top: 100% !important;
	left: 0 !important;
	z-index: 9999 !important;
	min-width: 220px;
	margin-top: 0 !important;
	padding-top: 0 !important;
}

header .wp-block-navigation-item.has-child:hover > .wp-block-navigation__submenu-container,
header .wp-block-navigation-item.has-child:focus-within > .wp-block-navigation__submenu-container {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
}

/* =========================================================
   5. GLOBAL BUTTONS
   Purpose:
   Gives all standard buttons consistent spacing, shape and colour.
   ========================================================= */
.wp-site-blocks .wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px;
	margin-top: 18px;
	margin-bottom: 24px;
}

.wp-site-blocks .wp-block-button {
	margin: 0 !important;
}

.wp-site-blocks .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 12px 22px;
	border-radius: var(--radius-pill);
	background: var(--color-accent-light);
	color: #ffffff !important;
	text-decoration: none !important;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	border: none !important;
	box-shadow: none !important;
	text-align: center;
	white-space: nowrap;
}

.wp-site-blocks .wp-block-button__link:hover,
.wp-site-blocks .wp-block-button__link:focus {
	background: var(--color-accent);
	color: #ffffff !important;
}

/* =========================================================
   6. PAGE TITLES / HERO TITLES
   Purpose:
   Standardises large page headings and intro text.
   ========================================================= */
.page .wp-block-post-title,
.page .entry-title,
.page-hero-title {
	font-size: 56px !important;
	line-height: 1.1 !important;
	font-weight: 700 !important;
	color: var(--color-heading) !important;
	text-align: center !important;
	margin: 10px auto 16px !important;
	max-width: var(--hero-max) !important;
	width: 100% !important;
	display: block !important;
}

.page .wp-block-post-title + p,
.page .entry-title + p,
.page-hero-title + p {
	font-size: 18px !important;
	line-height: 1.6 !important;
	color: var(--color-muted) !important;
	max-width: 720px !important;
	margin: 0 auto 24px !important;
	text-align: center !important;
}

/* =========================================================
   7. NOTICE BAR
   Purpose:
   Styles the full clickable notice strip.
   ========================================================= */
.notice-bar {
	max-width: var(--site-max) !important;
	margin: 0 auto !important;
	padding: 0 !important;
	background: #ffffff !important;
	color: var(--color-brand) !important;
	overflow: hidden !important;
}

.notice-bar,
.notice-bar > *,
.notice-bar .wp-block-group,
.notice-bar .wp-block-group__inner-container,
.notice-bar .wp-block-paragraph,
.notice-bar p {
	background: transparent !important;
	margin: 0 !important;
	padding: 0 !important;
	width: 100% !important;
	max-width: none !important;
	text-align: center !important;
}

.notice-bar a {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	min-height: 48px !important;
	padding: 12px 16px !important;
	color: var(--color-brand) !important;
	text-decoration: none !important;
	box-sizing: border-box !important;
}

.notice-bar:hover,
.notice-bar:focus-within {
	background: var(--color-brand) !important;
}

.notice-bar:hover a,
.notice-bar:focus-within a {
	color: #ffffff !important;
}

/* =========================================================
   8. BODY MAP
   Purpose:
   Styles the interactive body map, hover zones and label tooltips.
   ========================================================= */
.body-map-wrap {
	text-align: center;
}

.body-map-intro {
	font-size: 18px;
	color: var(--color-muted);
	margin-bottom: 22px;
}

.body-map-subtitle {
	font-size: 16px;
	font-weight: 600;
	color: var(--color-muted);
	margin: 14px 0;
}

.body-map-img {
	position: relative;
	max-width: 340px;
	margin: 0 auto 20px;
}

.body-map-img img {
	width: 100%;
	display: block;
	position: relative;
	z-index: 1;
}

.zone {
	position: absolute;
	display: block;
	z-index: 3;
	cursor: pointer;
	background: rgba(102, 157, 188, 0);
	border-radius: 999px;
	transition: .2s ease;
	text-decoration: none;
}

.zone:hover,
.zone:focus {
	background: rgba(102, 157, 188, 0.28);
	box-shadow: 0 0 0 2px rgba(102, 157, 188, 0.45) inset;
	outline: none;
}

.zone-label {
	position: absolute;
	left: 50%;
	bottom: calc(100% + 12px);
	transform: translateX(-50%);
	background: var(--color-muted);
	color: #ffffff;
	font-size: 12px;
	line-height: 1;
	padding: 8px 10px;
	border-radius: 999px;
	white-space: nowrap;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: .18s ease;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
	z-index: 10;
}

.zone-label::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 100%;
	width: 10px;
	height: 10px;
	background: var(--color-muted);
	transform: translateX(-50%) rotate(45deg);
}

.zone:hover .zone-label,
.zone:focus .zone-label {
	opacity: 1;
	visibility: visible;
}

.body-map-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
}

.body-map-links a {
	text-decoration: none;
	background: var(--color-bg-soft-2);
	color: #334155;
	padding: 8px 12px;
	border-radius: 999px;
	font-size: 14px;
	transition: .2s ease;
}

.body-map-links a:hover,
.body-map-links a:focus {
	background: #dbe5ea;
	outline: none;
}

/* Body map clickable zone positions */
.neck {
	top: 9.5%;
	left: 42%;
	width: 16%;
	height: 7%;
}

.shoulder-left {
	top: 14%;
	left: 22%;
	width: 22%;
	height: 9%;
	border-radius: 30px;
}

.shoulder-right {
	top: 14%;
	left: 56%;
	width: 22%;
	height: 9%;
	border-radius: 30px;
}

.upper-back {
	top: 24%;
	left: 34%;
	width: 32%;
	height: 17%;
	border-radius: 24px;
}

.lower-back {
	top: 41%;
	left: 35%;
	width: 30%;
	height: 11%;
	border-radius: 24px;
}

.hip {
	top: 53%;
	left: 31%;
	width: 38%;
	height: 12%;
	border-radius: 28px;
}

.knee-left {
	top: 71%;
	left: 39%;
	width: 10%;
	height: 10%;
	border-radius: 20px;
}

.knee-right {
	top: 71%;
	left: 51%;
	width: 10%;
	height: 10%;
	border-radius: 20px;
}

/* =========================================================
   9. GLOBAL CARD SYSTEM
   Purpose:
   Styles query loop cards, post cards, titles, excerpts and links.
   ========================================================= */
.wp-site-blocks .wp-block-post-template {
	list-style: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

.wp-site-blocks .wp-block-post-template > li,
.wp-site-blocks .wp-block-post {
	background: #ffffff !important;
	border: 1px solid var(--color-border) !important;
	border-radius: var(--radius-card) !important;
	padding: 22px !important;
	margin-bottom: 20px !important;
	box-sizing: border-box !important;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
	transition: .2s ease;
	text-align: left;
	list-style: none;
}

.wp-site-blocks .wp-block-post-template > li:hover,
.wp-site-blocks .wp-block-post:hover {
	box-shadow: var(--shadow-hover);
	transform: translateY(-1px);
}

.wp-block-query .wp-block-post-title,
.wp-block-post-template .wp-block-post-title {
	font-size: 18px !important;
	line-height: 1.3 !important;
	font-weight: 600 !important;
	color: var(--color-heading) !important;
	text-align: left !important;
	margin: 0 0 10px !important;
	max-width: none !important;
	padding: 0 !important;
}

.wp-site-blocks .wp-block-post-excerpt {
	font-size: 14px !important;
	line-height: 1.6 !important;
	color: var(--color-muted) !important;
	margin: 0 0 12px !important;
	max-width: 100% !important;
}

.wp-site-blocks .wp-block-read-more,
.wp-site-blocks .wp-block-post-excerpt__more-link {
	font-size: 14px !important;
	font-weight: 600 !important;
	color: var(--color-accent) !important;
	text-decoration: none !important;
}

.wp-site-blocks .wp-block-read-more:hover,
.wp-site-blocks .wp-block-post-excerpt__more-link:hover {
	text-decoration: underline !important;
}

.wp-site-blocks .wp-block-post-read-more::after,
.wp-site-blocks .wp-block-read-more::after {
	content: " →";
}

.wp-site-blocks .wp-block-post-date,
.wp-site-blocks .wp-block-post-terms {
	display: none;
}

/* =========================================================
   10. CARD LAYOUT WITH IMAGE ON RIGHT
   Purpose:
   Makes query cards display text left and featured image right.
   ========================================================= */
.tax-category .wp-block-post-template > li > .wp-block-group,
.page .wp-block-query .wp-block-post-template > li > .wp-block-group {
	display: flex !important;
	align-items: flex-start !important;
	justify-content: space-between !important;
	gap: 24px !important;
	width: 100% !important;
}

.tax-category .wp-block-post-template > li > .wp-block-group > .wp-block-group:first-child,
.page .wp-block-query .wp-block-post-template > li > .wp-block-group > .wp-block-group:first-child {
	flex: 1 1 auto !important;
	min-width: 0 !important;
}

.tax-category .wp-block-post-template .wp-block-post-featured-image,
.page .wp-block-query .wp-block-post-template .wp-block-post-featured-image {
	flex: 0 0 140px !important;
	width: 140px !important;
	margin: 0 !important;
	align-self: flex-start !important;
}

.tax-category .wp-block-post-template .wp-block-post-featured-image img,
.page .wp-block-query .wp-block-post-template .wp-block-post-featured-image img {
	display: block !important;
	width: 140px !important;
	height: 98px !important;
	object-fit: cover !important;
	border-radius: 12px !important;
	margin: 0 !important;
}

/* =========================================================
   11. CATEGORY PAGE LAYOUT
   Purpose:
   Controls category archive spacing, titles and descriptions.
   ========================================================= */
.tax-category main {
	padding-top: 56px !important;
}

.tax-category .wp-block-post-content,
.tax-category .wp-block-query,
.tax-category .wp-block-group.alignwide {
	max-width: var(--site-max);
	margin-left: auto;
	margin-right: auto;
}

.tax-category .wp-block-term-description {
	margin-top: 10px;
	margin-bottom: 28px;
	color: var(--color-muted);
	line-height: 1.6;
	font-size: 18px;
	text-align: center;
}

.tax-category h1 {
	margin-bottom: 10px;
	font-size: 56px;
	line-height: 1.1;
	text-align: center;
}

/* =========================================================
   12. JUMP LINKS
   Purpose:
   Styles the pill-style in-page navigation buttons.
   ========================================================= */
.jump-links-wrap {
	display: inline-flex !important;
	flex-wrap: nowrap !important;
	justify-content: center !important;
	align-items: center !important;
	gap: 14px !important;
	margin: 20px auto 28px !important;
	padding: 14px 16px !important;
	background: var(--color-bg-soft-2) !important;
	border: 1px solid var(--color-border) !important;
	border-radius: 22px !important;
	width: fit-content !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
}

.jump-links-wrap .wp-block-button {
	display: block !important;
	flex: 0 0 auto !important;
	width: auto !important;
	min-width: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
}

.jump-links-wrap .wp-block-button::before,
.jump-links-wrap .wp-block-button::after {
	display: none !important;
	content: none !important;
}

.jump-links-wrap .wp-block-button__link {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	margin: 0 !important;
	padding: 10px 18px !important;
	min-width: 170px !important;
	background: var(--color-accent-light) !important;
	color: #ffffff !important;
	border: 0 !important;
	border-radius: 999px !important;
	box-shadow: none !important;
	text-decoration: none !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	line-height: 1.2 !important;
	white-space: nowrap !important;
	text-align: center !important;
}

.jump-links-wrap .wp-block-button__link:hover,
.jump-links-wrap .wp-block-button__link:focus {
	background: var(--color-accent) !important;
	color: #ffffff !important;
}

/* =========================================================
   13. QUICK ANSWERS + COMPARISON COLUMNS
   Purpose:
   Styles selected column blocks as light comparison panels.
   ========================================================= */
.page .wp-block-heading + p + .wp-block-columns {
	background: var(--color-bg-soft);
	border: 1px solid var(--color-border-soft);
	border-radius: var(--radius-card);
	padding: 22px 24px;
	margin-top: 18px;
	margin-bottom: 32px;
	gap: 24px !important;
	box-sizing: border-box;
}

.page .wp-block-heading + p + .wp-block-columns .wp-block-column {
	background: transparent !important;
	border: none !important;
	padding: 0 !important;
}

.page .wp-block-heading + p + .wp-block-columns h3,
.page .wp-block-heading + p + .wp-block-columns h4 {
	font-size: 16px;
	line-height: 1.3;
	margin-top: 0 !important;
	margin-bottom: 10px !important;
	color: var(--color-heading);
}

.page .wp-block-heading + p + .wp-block-columns ul {
	margin: 0;
	padding-left: 18px;
}

.page .wp-block-heading + p + .wp-block-columns li {
	font-size: 14px;
	line-height: 1.45;
	margin-bottom: 5px;
}

.page h2 + p + .wp-block-columns {
	gap: 20px !important;
	margin-top: 18px;
	margin-bottom: 28px;
}

.page h2 + p + .wp-block-columns .wp-block-column {
	background: #f8fafb;
	border: 1px solid #e1e8eb;
	border-radius: 14px;
	padding: 18px 20px;
	box-sizing: border-box;
}

/* =========================================================
   14. SINGLE POST LAYOUT
   Purpose:
   Controls post width, title alignment, spacing and content rhythm.
   ========================================================= */
.single-post .wp-block-post-content {
	max-width: var(--content-max);
	margin: 0 auto;
}

.single-post main,
.single-post .wp-site-blocks,
.single-post .wp-block-post-content {
	padding-top: 28px !important;
	margin-top: 0 !important;
}

.single-post main > .wp-block-group,
.single-post main > article,
.single-post .wp-block-post-template,
.single-post .wp-block-post-featured-image,
.single-post .wp-block-post-title {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

.single-post .wp-block-post-title,
.single-post h1 {
	max-width: var(--content-max);
	margin: 0 auto 16px !important;
	padding: 0 !important;
	text-align: center;
	box-sizing: border-box;
}

.single-post .is-layout-constrained > :first-child,
.single-post .is-layout-flow > :first-child,
.single-post .wp-block-post-content + *,
.single-post .wp-block-post-title + * {
	margin-block-start: 0 !important;
}

.single-post h2 {
	margin-top: 32px;
	margin-bottom: 12px;
}

.single-post p {
	line-height: 1.7;
	margin-bottom: 16px;
}

.single-post .meta-info-box,
.single-post .summary-box,
.single-post .author-box,
.single-post .wp-block-post-content > p:first-of-type {
	max-width: var(--content-max);
	margin-left: auto;
	margin-right: auto;
}

/* =========================================================
   ARTICLE IMAGE TEXT WRAPPING - INSIDE TEXT WIDTH ONLY
   Keeps floated images within the main article column.
   ========================================================= */
/* Make sure the article content itself controls the width */
.single-post .wp-block-post-content,
.page .wp-block-post-content {
	max-width: var(--content-max);
	margin-left: auto;
	margin-right: auto;
}

/* Reset WordPress/theme align styles that push images into side gutters */
.single-post .wp-block-post-content figure.wp-block-image,
.page .wp-block-post-content figure.wp-block-image {
	max-width: 100%;
	box-sizing: border-box;
	position: static !important;
	left: auto !important;
	right: auto !important;
	transform: none !important;
}

/* Default article images: wrap right, but stay inside the text column */
.single-post .wp-block-post-content figure.wp-block-image:not(.alignwide):not(.alignfull),
.page .wp-block-post-content figure.wp-block-image:not(.alignwide):not(.alignfull) {
	float: right !important;
	width: min(38%, 280px);
	max-width: 280px;
	margin: 6px 0 18px 24px !important;
	clear: none;
}

/* Left aligned images stay inside the text column too */
.single-post .wp-block-post-content figure.wp-block-image.alignleft,
.page .wp-block-post-content figure.wp-block-image.alignleft {
	float: left !important;
	width: min(38%, 280px);
	max-width: 280px;
	margin: 6px 24px 18px 0 !important;
}

/* Right and centre aligned images both behave as wrapped right images */
.single-post .wp-block-post-content figure.wp-block-image.alignright,
.single-post .wp-block-post-content figure.wp-block-image.aligncenter,
.page .wp-block-post-content figure.wp-block-image.alignright,
.page .wp-block-post-content figure.wp-block-image.aligncenter {
	float: right !important;
	width: min(38%, 280px);
	max-width: 280px;
	margin: 6px 0 18px 24px !important;
}

/* Image itself */
.single-post .wp-block-post-content figure.wp-block-image img,
.page .wp-block-post-content figure.wp-block-image img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--radius-soft);
}

/* Captions */
.single-post .wp-block-post-content figure.wp-block-image figcaption,
.page .wp-block-post-content figure.wp-block-image figcaption {
	margin-top: 8px;
	font-size: 13px;
	line-height: 1.45;
	color: var(--color-muted);
	text-align: center;
}

/* Wide/full images remain block images */
.single-post .wp-block-post-content figure.wp-block-image.alignwide,
.single-post .wp-block-post-content figure.wp-block-image.alignfull,
.page .wp-block-post-content figure.wp-block-image.alignwide,
.page .wp-block-post-content figure.wp-block-image.alignfull {
	float: none !important;
	width: 100%;
	max-width: 100%;
	margin: 24px auto !important;
	clear: both;
}

/* Mobile: stack images */
@media (max-width: 700px) {
	.single-post .wp-block-post-content figure.wp-block-image:not(.alignwide):not(.alignfull),
						.page .wp-block-post-content figure.wp-block-image:not(.alignwide):not(.alignfull),
						.single-post .wp-block-post-content figure.wp-block-image.alignleft,
						.single-post .wp-block-post-content figure.wp-block-image.alignright,
						.single-post .wp-block-post-content figure.wp-block-image.aligncenter,
						.page .wp-block-post-content figure.wp-block-image.alignleft,
						.page .wp-block-post-content figure.wp-block-image.alignright,
						.page .wp-block-post-content figure.wp-block-image.aligncenter {
		float: none !important;
		width: 100%;
		max-width: 100%;
		margin: 20px auto !important;
		clear: both;
	}
}

/* =========================================================
   15. SUMMARY BOX
   Purpose:
   Styles article summary boxes with bullets.
   ========================================================= */
.summary-box {
	background: var(--color-bg-soft-2);
	border-left: 4px solid var(--color-brand);
	padding: 20px 22px;
	border-radius: 8px;
	margin: 24px auto;
}

.summary-box h3 {
	margin-top: 0;
	margin-bottom: 10px;
	font-size: 22px;
	line-height: 1.35;
	letter-spacing: .3px;
}

.summary-box ul {
	margin: 0;
	padding-left: 20px;
}

.summary-box li {
	margin-bottom: 6px;
}

/* =========================================================
   16. AUTHOR BOX
   Purpose:
   Styles compact author/E-E-A-T boxes below posts.
   ========================================================= */
.author-box {
	width: fit-content;
	max-width: min(100%, var(--content-max));
	margin: 16px auto 20px;
	padding: 10px 16px 10px 22px !important;
	border-left: 4px solid var(--color-accent);
	background: var(--color-bg-soft);
	border-radius: 6px;
	font-size: 14px;
	line-height: 1.3;
	color: var(--color-muted);
	display: flex;
	flex-direction: column;
	gap: 2px;
	box-sizing: border-box;
}

.author-box * {
	margin: 0 !important;
}

.author-box p + p {
	margin-top: 2px !important;
}

/* =========================================================
   17. CTA BOX
   Purpose:
   Styles article call-to-action boxes.
   ========================================================= */
.cta-box {
	background: var(--color-brand);
	color: #ffffff;
	padding: 24px;
	border-radius: 12px;
	text-align: center;
	margin-top: 30px;
}

.cta-box h2,
.cta-box h3,
.cta-box h4,
.cta-box p,
.cta-box a {
	color: #ffffff !important;
}

/* =========================================================
   18. UNDERSTAND BOX
   Purpose:
   Styles the custom "understand-box" used inside posts.
   ========================================================= */
.single-post .wp-block-group.understand-box {
	max-width: var(--content-max);
	margin: 24px auto !important;
	padding: 20px 22px !important;
	background: #f2f5f7 !important;
	border-left: 4px solid var(--color-accent) !important;
	border-radius: 8px !important;
	box-sizing: border-box !important;
}

.single-post .wp-block-group.understand-box h3 {
	margin: 0 0 14px !important;
	font-size: 24px !important;
	line-height: 1.35 !important;
	letter-spacing: .3px;
	color: var(--color-heading);
}

.single-post .wp-block-group.understand-box ul {
	margin: 0 !important;
	padding-left: 22px !important;
}

.single-post .wp-block-group.understand-box li {
	margin: 0 0 8px !important;
	line-height: 1.6 !important;
	color: var(--color-text);
}

.single-post .wp-block-group.understand-box li:last-child {
	margin-bottom: 0 !important;
}

/* =========================================================
   20. META INFO BOX
   Purpose:
   Creates a compact centred author/date/read-time info box.
   ========================================================= */
.single-post .meta-info-box {
	background: #f2f5f7;
	border-left: 3px solid #7f93a8;
	border-radius: 10px;
	padding: 0;
	margin: 14px auto 24px !important;
	display: grid;
	grid-template-columns: repeat(3, auto);
	width: fit-content;
	max-width: min(100%, var(--content-max));
	overflow: hidden;
	box-sizing: border-box;
}

.single-post .meta-info-box > .wp-block-group {
	padding: 14px 34px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	box-sizing: border-box;
}

.single-post .meta-info-box > .wp-block-group:not(:last-child) {
	border-right: 1px solid #dbe2e7;
}

.single-post .meta-info-box > .wp-block-group * {
	margin: 0 !important;
}

.single-post .meta-info-box > .wp-block-group p + p {
	margin-top: 4px !important;
}

/* =========================================================
   21. FOOTER
   Purpose:
   Styles only the footer, avoiding accidental header/template conflicts.
   ========================================================= */
footer,
footer.wp-block-template-part,
footer.wp-block-template-part > div,
footer .wp-block-group {
	border: none !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

footer,
.wp-site-blocks > footer {
	background: #7d9a96 !important;
}

footer {
	padding: 64px 24px 36px !important;
	margin-top: 40px;
	color: #ffffff;
}

footer .wp-block-group {
	max-width: var(--site-max);
	margin: 0 auto;
	background: transparent !important;
	padding: 0 !important;
}

footer .wp-block-columns {
	gap: 28px !important;
}

footer h2,
footer h3,
footer h4,
footer strong {
	color: #ffffff;
	margin-bottom: 12px;
}

footer p,
footer li,
footer a {
	color: rgba(255, 255, 255, 0.98) !important;
	line-height: 1.7 !important;
}

footer ul {
	list-style: none;
	padding-left: 0;
	margin: 0;
}

footer li {
	margin-bottom: 10px;
}

footer a {
	text-decoration: none;
}

footer a:hover {
	text-decoration: underline;
}

footer input[type="email"] {
	background: #ffffff;
	border: none;
	padding: 12px 14px;
	min-height: 48px;
	color: #334155;
	border-radius: 0 !important;
}

footer button,
footer .wp-element-button {
	background: rgba(255, 255, 255, 0.18) !important;
	color: #ffffff !important;
	border: none !important;
	padding: 12px 18px !important;
	min-height: 48px;
	font-weight: 600;
	border-radius: 0 !important;
}

footer button:hover,
footer .wp-element-button:hover {
	background: rgba(255, 255, 255, 0.26) !important;
}

footer .footer-bottom {
	margin-top: 36px;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.18);
	text-align: center;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.9);
}

/* =========================================================
   22. HIDE WORDPRESS / JETPACK SHARING UI
   Purpose:
   Removes default sharing/like blocks from WordPress.com/Jetpack.
   ========================================================= */
.sharedaddy,
.sd-sharing,
.sd-like,
.jetpack-sharing,
.wpcom-social-sharing {
	display: none !important;
}

/* =========================================================
   23. HOMEPAGE HERO
   Purpose:
   Single clean replacement for all previous conflicting hero fixes.
   - Removes unwanted hero white box
   - Keeps logo left and menu right
   - Keeps hero content controlled and readable
   ========================================================= */
.home .wp-block-cover:first-of-type {
	position: relative;
}

.home .wp-block-cover:first-of-type .wp-block-cover__background {
	background: transparent !important;
	opacity: 0 !important;
}

.home .wp-block-cover:first-of-type .wp-block-cover__inner-container {
	width: 100% !important;
	max-width: var(--site-max) !important;
	margin: 0 auto !important;
	padding-left: 20px !important;
	padding-right: 20px !important;
	box-sizing: border-box !important;
}

/* Remove accidental panels inside hero */
.home .wp-block-cover:first-of-type .wp-block-cover__inner-container,
.home .wp-block-cover:first-of-type .wp-block-cover__inner-container .wp-block-stack,
.home .wp-block-cover:first-of-type .wp-block-cover__inner-container .wp-block-row,
.home .wp-block-cover:first-of-type .wp-block-cover__inner-container .wp-block-group {
	background: transparent !important;
	background-color: transparent !important;
	box-shadow: none !important;
	border: none !important;
}

/* Hero top navigation row */
.home .wp-block-cover:first-of-type .wp-block-cover__inner-container > .wp-block-stack > .wp-block-row:first-child,
.home .wp-block-cover:first-of-type .wp-block-cover__inner-container > .wp-block-row:first-child {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	width: 100% !important;
	max-width: var(--site-max) !important;
	margin: 0 auto 28px !important;
	gap: 24px !important;
}

/* Hero logo */
.home .wp-block-cover:first-of-type .wp-block-site-logo {
	flex: 0 0 auto !important;
	margin: 0 !important;
}

.home .wp-block-cover:first-of-type .wp-block-site-logo img {
	display: block !important;
	max-width: 100px !important;
	height: auto !important;
}

/* Hero navigation */
.home .wp-block-cover:first-of-type .wp-block-navigation {
	flex: 0 1 auto !important;
	margin-left: auto !important;
	width: auto !important;
}

.home .wp-block-cover:first-of-type .wp-block-navigation__container {
	display: flex !important;
	align-items: center !important;
	justify-content: flex-end !important;
	gap: 28px !important;
	width: auto !important;
}

.home .wp-block-cover:first-of-type .wp-block-navigation a,
.home .wp-block-cover:first-of-type .wp-block-navigation .wp-block-navigation-item__label,
.home .wp-block-cover:first-of-type .wp-block-navigation-submenu__toggle {
	color: #ffffff !important;
	text-decoration: none !important;
}

/* Hero content block */
.home .wp-block-cover:first-of-type .wp-block-cover__inner-container > .wp-block-stack > .wp-block-group:last-child,
.home .wp-block-cover:first-of-type .wp-block-cover__inner-container > .wp-block-group:last-child {
	max-width: 760px !important;
	margin-left: 0 !important;
	margin-right: auto !important;
	text-align: left !important;
}

/* Hero text */
.home .wp-block-cover:first-of-type h1,
.home .wp-block-cover:first-of-type h2,
.home .wp-block-cover:first-of-type h3,
.home .wp-block-cover:first-of-type h4,
.home .wp-block-cover:first-of-type p {
	color: #ffffff !important;
	text-align: left !important;
}

/* Hero buttons */
.home .wp-block-cover:first-of-type .wp-block-buttons {
	justify-content: flex-start !important;
	margin-top: 20px !important;
	margin-bottom: 0 !important;
}

.home .wp-block-cover:first-of-type .wp-block-button {
	margin: 0 !important;
}

.home .wp-block-cover:first-of-type .wp-block-button__link {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-width: 220px !important;
	min-height: 52px !important;
	padding: 12px 24px !important;
	background: #ffffff !important;
	color: var(--color-muted) !important;
	border-radius: 999px !important;
	font-size: 16px !important;
	font-weight: 600 !important;
	text-decoration: none !important;
	white-space: nowrap !important;
}

.home .wp-block-cover:first-of-type .wp-block-button__link:hover,
.home .wp-block-cover:first-of-type .wp-block-button__link:focus {
	background: var(--color-bg-soft-2) !important;
	color: var(--color-brand-dark) !important;
}

/* =========================================================
   24. HOMEPAGE BODY AREA STRIP
   Purpose:
   Styles the "Explore by body area" section.
   ========================================================= */
.explore-body-area {
	background: var(--color-brand) !important;
	padding: 28px 20px !important;
}

.explore-body-area .wp-block-buttons {
	justify-content: center !important;
	gap: 14px !important;
	margin: 16px 0 0 !important;
}

.explore-body-area .wp-block-button__link {
	background: var(--color-accent-light) !important;
	color: #ffffff !important;
	min-width: 140px !important;
	padding: 10px 18px !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	border-radius: 999px !important;
}

.explore-body-area .wp-block-button__link:hover,
.explore-body-area .wp-block-button__link:focus {
	background: var(--color-accent) !important;
	color: #ffffff !important;
}

/* =========================================================
   25. HOMEPAGE CONTENT STRIPS
   Purpose:
   Keeps homepage column/image sections aligned.
   ========================================================= */
.home .wp-block-columns {
	align-items: center;
}

.home .wp-block-columns .wp-block-image img {
	display: block;
	height: auto;
}

/* =========================================================
   26. HOMEPAGE BOTTOM CTA COVER
   Purpose:
   Styles the lower homepage CTA panel without affecting the hero.
   ========================================================= */
.home .wp-block-cover:last-of-type {
	display: flex;
	align-items: center;
}

.home .wp-block-cover:last-of-type .wp-block-cover__inner-container {
	max-width: var(--site-max) !important;
	margin: 0 auto !important;
	padding: 0 20px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: flex-start !important;
	box-sizing: border-box !important;
}

.home .wp-block-cover:last-of-type .wp-block-cover__inner-container > .wp-block-group {
	max-width: 520px !important;
	width: 100% !important;
	background: rgba(255, 255, 255, 0.88) !important;
	padding: 32px !important;
	box-sizing: border-box !important;
}

.home .wp-block-cover:last-of-type .wp-block-cover__inner-container > .wp-block-group .wp-block-group {
	background: transparent !important;
	padding: 0 !important;
	margin: 0 !important;
	max-width: none !important;
}

.home .wp-block-cover:last-of-type h2,
.home .wp-block-cover:last-of-type h3 {
	color: var(--color-heading) !important;
	margin-bottom: 12px !important;
}

.home .wp-block-cover:last-of-type p {
	color: var(--color-text) !important;
	margin-bottom: 18px !important;
	max-width: 480px !important;
}

.home .wp-block-cover:last-of-type .wp-block-buttons {
	justify-content: flex-start !important;
	margin-top: 12px !important;
	margin-bottom: 0 !important;
}

.home .wp-block-cover:last-of-type .wp-block-button {
	display: inline-block !important;
}

.home .wp-block-cover:last-of-type .wp-block-button__link {
	background: #ffffff !important;
	color: var(--color-muted) !important;
	min-width: 220px !important;
	min-height: 48px !important;
	padding: 12px 24px !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-size: 16px !important;
	font-weight: 600 !important;
	line-height: 1.2 !important;
	text-align: center !important;
	text-decoration: none !important;
	white-space: nowrap !important;
}

/* =========================================================
   27. TABLET RESPONSIVE STYLES
   Purpose:
   Adjusts typography and spacing on medium screens.
   ========================================================= */
@media (max-width: 900px) {
	.wp-site-blocks h1,
								.page .wp-block-post-title,
								.page .entry-title,
								.page-hero-title,
								.tax-category h1 {
		font-size: 48px !important;
	}
	
	.wp-site-blocks h2 {
		font-size: 30px;
	}
	
	.wp-site-blocks h3 {
		font-size: 21px;
	}
}

/* =========================================================
   28. MOBILE RESPONSIVE STYLES
   Purpose:
   Stacks layouts, resizes images, adjusts nav and improves mobile fit.
   ========================================================= */
@media (max-width: 782px) {
	header .wp-block-group,
								header .wp-block-cover__inner-container {
		padding-left: 18px !important;
		padding-right: 18px !important;
	}
	
	header .wp-block-site-logo img,
								header .custom-logo {
		max-width: 90px !important;
	}
	
	header .wp-block-navigation__container {
		gap: 16px !important;
	}
	
	.body-map-img {
		max-width: 300px;
	}
	
	.zone-label {
		font-size: 11px;
		padding: 7px 9px;
	}
	
	.jump-links-wrap {
		flex-wrap: wrap !important;
		gap: 10px !important;
		padding: 12px 14px !important;
	}
	
	.jump-links-wrap .wp-block-button__link {
		min-width: 150px !important;
		font-size: 12px !important;
		padding: 9px 14px !important;
		white-space: normal !important;
	}
	
	.tax-category .wp-block-post-template > li > .wp-block-group,
								.page .wp-block-query .wp-block-post-template > li > .wp-block-group {
		flex-direction: column !important;
		align-items: flex-start !important;
	}
	
	.tax-category .wp-block-post-template .wp-block-post-featured-image,
								.page .wp-block-query .wp-block-post-template .wp-block-post-featured-image {
		width: 100% !important;
		flex: none !important;
	}
	
	.tax-category .wp-block-post-template .wp-block-post-featured-image img,
								.page .wp-block-query .wp-block-post-template .wp-block-post-featured-image img {
		width: 100% !important;
		height: auto !important;
		max-height: 220px !important;
	}
	
	.single-post .wp-block-image.alignleft,
								.single-post .wp-block-image.alignright {
		float: none;
		max-width: 100%;
		margin-left: auto;
		margin-right: auto;
	}
	
	.single-post .meta-info-box {
		grid-template-columns: 1fr;
		max-width: calc(100% - 32px);
		padding: 14px 18px;
	}
	
	.single-post .meta-info-box > .wp-block-group {
		padding: 0 0 10px;
		margin-bottom: 10px;
		height: auto;
		border-right: none !important;
		border-bottom: 1px solid #dbe2e7;
	}
	
	.single-post .meta-info-box > .wp-block-group:last-child {
		border-bottom: none;
		padding-bottom: 0;
		margin-bottom: 0;
	}
	
	.home .wp-block-cover:first-of-type .wp-block-cover__inner-container {
		padding-left: 18px !important;
		padding-right: 18px !important;
	}
	
	.home .wp-block-cover:first-of-type .wp-block-cover__inner-container > .wp-block-stack > .wp-block-row:first-child,
								.home .wp-block-cover:first-of-type .wp-block-cover__inner-container > .wp-block-row:first-child {
		flex-direction: column !important;
		justify-content: center !important;
		align-items: center !important;
		gap: 16px !important;
		margin-bottom: 20px !important;
	}
	
	.home .wp-block-cover:first-of-type .wp-block-navigation {
		margin-left: 0 !important;
		width: 100% !important;
	}
	
	.home .wp-block-cover:first-of-type .wp-block-navigation__container {
		justify-content: center !important;
		width: 100% !important;
		gap: 16px !important;
	}
	
	.home .wp-block-cover:first-of-type .wp-block-cover__inner-container > .wp-block-stack > .wp-block-group:last-child,
								.home .wp-block-cover:first-of-type .wp-block-cover__inner-container > .wp-block-group:last-child {
		margin-left: auto !important;
		margin-right: auto !important;
		text-align: center !important;
	}
	
	.home .wp-block-cover:first-of-type h1,
								.home .wp-block-cover:first-of-type h2,
								.home .wp-block-cover:first-of-type h3,
								.home .wp-block-cover:first-of-type h4,
								.home .wp-block-cover:first-of-type p {
		text-align: center !important;
	}
	
	.home .wp-block-cover:first-of-type .wp-block-buttons {
		justify-content: center !important;
	}
	
	.home .wp-block-cover:first-of-type .wp-block-button__link,
								.home .wp-block-cover:last-of-type .wp-block-button__link {
		min-width: 190px !important;
		font-size: 14px !important;
		padding: 10px 18px !important;
	}
	
	.explore-body-area .wp-block-buttons {
		flex-wrap: wrap !important;
	}
	
	.home .wp-block-cover:last-of-type .wp-block-cover__inner-container {
		padding: 0 18px !important;
	}
	
	.home .wp-block-cover:last-of-type .wp-block-cover__inner-container > .wp-block-group {
		max-width: 100% !important;
		padding: 24px !important;
	}
}

/* =========================================================
   29. SMALL MOBILE RESPONSIVE STYLES
   Purpose:
   Final typography and spacing reductions for narrow screens.
   ========================================================= */
@media (max-width: 600px) {
	.wp-site-blocks h1,
								.page .wp-block-post-title,
								.page .entry-title,
								.page-hero-title,
								.tax-category h1 {
		font-size: 40px !important;
	}
	
	.wp-site-blocks h1 + p,
								.page .wp-block-post-title + p,
								.page .entry-title + p,
								.page-hero-title + p,
								.tax-category .wp-block-term-description {
		font-size: 16px !important;
	}
	
	.wp-site-blocks h2 {
		font-size: 27px;
	}
	
	.wp-site-blocks h3 {
		font-size: 20px;
	}
	
	.wp-site-blocks h4 {
		font-size: 17px;
	}
	
	.wp-site-blocks p,
								.wp-site-blocks li {
		font-size: 15px;
	}
	
	.wp-site-blocks .wp-block-button__link {
		font-size: 13px !important;
		padding: 10px 14px !important;
		min-width: 0 !important;
		white-space: normal !important;
	}
	
	.page .wp-block-heading + p + .wp-block-columns {
		padding: 18px;
		gap: 18px !important;
	}
	
	.page h2 + p + .wp-block-columns .wp-block-column {
		padding: 16px;
	}
	
	.wp-site-blocks .wp-block-post-template > li,
								.wp-site-blocks .wp-block-post {
		padding: 18px !important;
	}
}

/* =========================================================
   HOMEPAGE – EXPLORE BODY AREA
   Purpose:
   Makes the body area section visible and branded.
   ========================================================= */
.home .explore-body-area {
	background: var(--color-brand) !important;
	color: #ffffff !important;
	padding: 44px 24px !important;
	margin: 48px auto !important;
	text-align: center !important;
	max-width: var(--site-max) !important;
	border-radius: 18px !important;
	box-sizing: border-box !important;
}

.home .explore-body-area p {
	color: #ffffff !important;
	font-size: 22px !important;
	font-weight: 800 !important;
	text-transform: uppercase !important;
	letter-spacing: .6px !important;
	text-align: center !important;
	margin: 0 auto 24px !important;
}

.home .explore-body-area .wp-block-buttons {
	display: flex !important;
	justify-content: center !important;
	flex-wrap: wrap !important;
	gap: 14px !important;
	margin: 0 !important;
}

.home .explore-body-area .wp-block-button__link {
	background: #ffffff !important;
	color: var(--color-brand) !important;
	border-radius: 999px !important;
	padding: 11px 20px !important;
	min-width: 130px !important;
	font-size: 15px !important;
	font-weight: 700 !important;
}

.home .explore-body-area .wp-block-button__link:hover {
	background: var(--color-accent-light) !important;
	color: #ffffff !important;
}

/* =========================================================
   GLOBAL BUTTON VISIBILITY FIX
   Purpose:
   Ensures normal buttons never appear invisible.
   ========================================================= */
.wp-site-blocks .wp-block-button__link,
.wp-site-blocks .wp-element-button,
.wp-site-blocks a.wp-block-button__link {
	background: var(--color-accent-light) !important;
	background-color: var(--color-accent-light) !important;
	color: #ffffff !important;
	border-radius: var(--radius-pill) !important;
	text-decoration: none !important;
	opacity: 1 !important;
	visibility: visible !important;
}

.wp-site-blocks .wp-block-button__link:hover,
.wp-site-blocks .wp-element-button:hover,
.wp-site-blocks a.wp-block-button__link:hover {
	background: var(--color-accent) !important;
	background-color: var(--color-accent) !important;
	color: #ffffff !important;
}

/* =========================================================
   HOMEPAGE – BODY AREA STRIP CUSTOM HTML
   Purpose:
   Reliable replacement for broken Stack/Button block rendering.
   ========================================================= */
.home-body-area-strip {
	background: var(--color-brand) !important;
	color: #ffffff !important;
	max-width: var(--site-max) !important;
	margin: 42px auto 56px !important;
	padding: 34px 24px !important;
	border-radius: 18px !important;
	text-align: center !important;
	box-sizing: border-box !important;
}

.home-body-area-strip p {
	color: #ffffff !important;
	font-size: 22px !important;
	font-weight: 800 !important;
	line-height: 1.2 !important;
	text-transform: uppercase !important;
	letter-spacing: .6px !important;
	margin: 0 0 22px !important;
	text-align: center !important;
}

.home-body-area-buttons {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 14px !important;
}

.home-body-area-buttons a {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	background: #ffffff !important;
	color: var(--color-brand) !important;
	border-radius: 999px !important;
	padding: 11px 20px !important;
	min-width: 130px !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	text-decoration: none !important;
	line-height: 1.2 !important;
}

.home-body-area-buttons a:hover,
.home-body-area-buttons a:focus {
	background: var(--color-accent-light) !important;
	color: #ffffff !important;
}

.home-body-area-inline-buttons a {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	background: #ffffff !important;
	color: #5f7287 !important;
	border: 2px solid #ffffff !important;
	border-radius: 999px !important;
	padding: 11px 20px !important;
	min-width: 130px !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	text-decoration: none !important;
	line-height: 1.2 !important;
	transition: all .2s ease !important;
}

.home-body-area-inline-buttons a:hover,
.home-body-area-inline-buttons a:focus {
	background: #5f7287 !important;
	color: #ffffff !important;
	border-color: #ffffff !important;
	transform: translateY(-1px);
}

/* =========================================================
   HOMEPAGE HERO – REMOVE WHITE NAV BOX BUT KEEP LOGO/NAV
   ========================================================= */
/* Remove white background from the header row inside hero */
.home .wp-block-cover:first-of-type .wp-block-cover__inner-container > .wp-block-row:first-child,
.home .wp-block-cover:first-of-type .wp-block-cover__inner-container > .wp-block-stack > .wp-block-row:first-child,
.home .wp-block-cover:first-of-type .wp-block-cover__inner-container > .wp-block-group:first-child {
	background: transparent !important;
	background-color: transparent !important;
	box-shadow: none !important;
	border: none !important;
}

/* Also remove background from anything inside that row */
.home .wp-block-cover:first-of-type .wp-block-cover__inner-container > .wp-block-row:first-child *,
.home .wp-block-cover:first-of-type .wp-block-cover__inner-container > .wp-block-stack > .wp-block-row:first-child *,
.home .wp-block-cover:first-of-type .wp-block-cover__inner-container > .wp-block-group:first-child * {
	background: transparent !important;
	background-color: transparent !important;
	box-shadow: none !important;
	border: none !important;
}

/* Keep logo visible */
.home .wp-block-cover:first-of-type .wp-block-site-logo img {
	background: transparent !important;
	opacity: 1 !important;
	visibility: visible !important;
}

/* Keep nav links visible */
.home .wp-block-cover:first-of-type .wp-block-navigation,
.home .wp-block-cover:first-of-type .wp-block-navigation__container,
.home .wp-block-cover:first-of-type .wp-block-navigation-item {
	background: transparent !important;
	background-color: transparent !important;
}

.home .wp-block-cover:first-of-type .wp-block-navigation a,
.home .wp-block-cover:first-of-type .wp-block-navigation .wp-block-navigation-item__label {
	color: #ffffff !important;
	background: transparent !important;
	font-weight: 600 !important;
	text-decoration: none !important;
}

/* =========================================================
   HOMEPAGE HERO – NAV PILLS
   ========================================================= */
/* Nav container spacing */
.home .wp-block-cover:first-of-type .wp-block-navigation__container {
	gap: 12px !important;
}

/* Each nav item becomes a pill */
.home .wp-block-cover:first-of-type .wp-block-navigation a,
.home .wp-block-cover:first-of-type .wp-block-navigation .wp-block-navigation-item__label {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	padding: 10px 18px !important;
	border-radius: 999px !important;
	background: var(--color-brand) !important;
	color: #ffffff !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	text-decoration: none !important;
	transition: .2s ease;
}

/* Hover flip */
.home .wp-block-cover:first-of-type .wp-block-navigation a:hover,
.home .wp-block-cover:first-of-type .wp-block-navigation-item:hover .wp-block-navigation-item__label {
	background: #ffffff !important;
	color: var(--color-brand) !important;
}

/* Fix submenu arrow alignment */
.home .wp-block-cover:first-of-type .wp-block-navigation-submenu__toggle {
	margin-left: 6px;
}

/* =========================================================
   HERO CTA BUTTON – EXPLORE BODY PARTS
   ========================================================= */
.home .wp-block-cover:first-of-type .wp-block-button__link {
	background: var(--color-accent) !important;
	color: #ffffff !important;
	border-radius: 999px !important;
	padding: 12px 24px !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	min-width: 220px !important;
	transition: .2s ease;
}

/* Hover flip (same behaviour as nav) */
.home .wp-block-cover:first-of-type .wp-block-button__link:hover {
	background: #ffffff !important;
	color: var(--color-accent) !important;
}

/* =========================================================
   FINAL SINGLE POST IMAGE FIX
   Keeps all article images inside the actual text column.
   ========================================================= */
/* Force the post content itself to be the text width, not wide width */
.single-post .wp-block-post-content,
.single-post .entry-content {
	width: 100% !important;
	max-width: 760px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	box-sizing: border-box !important;
/* Override WordPress block theme layout variables */
}

/* Force all normal blocks inside the post to use the same column */
.single-post .wp-block-post-content > :where(:not(.alignleft):not(.alignright):not(.alignfull)),
.single-post .entry-content > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
	max-width: 760px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	box-sizing: border-box !important;
}

/* Reset image blocks */
.single-post .wp-block-post-content .wp-block-image,
.single-post .entry-content .wp-block-image {
	box-sizing: border-box !important;
	position: static !important;
	transform: none !important;
}

/* Right aligned images: float inside the text column only */
.single-post .wp-block-post-content .wp-block-image.alignright,
.single-post .entry-content .wp-block-image.alignright {
	float: right !important;
	width: 240px !important;
	max-width: 36% !important;
	margin: 4px 0 18px 24px !important;
	clear: none !important;
}

/* Left aligned images: float inside the text column only */
.single-post .wp-block-post-content .wp-block-image.alignleft,
.single-post .entry-content .wp-block-image.alignleft {
	float: left !important;
	width: 240px !important;
	max-width: 36% !important;
	margin: 4px 24px 18px 0 !important;
	clear: none !important;
}

/* Centre/default images should not escape into the side gutter */
.single-post .wp-block-post-content .wp-block-image:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright),
.single-post .entry-content .wp-block-image:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright),
.single-post .wp-block-post-content .wp-block-image.aligncenter,
.single-post .entry-content .wp-block-image.aligncenter {
	float: right !important;
	width: 240px !important;
	max-width: 36% !important;
	margin: 4px 0 18px 24px !important;
	clear: none !important;
}

/* Image itself */
.single-post .wp-block-post-content .wp-block-image img,
.single-post .entry-content .wp-block-image img {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
	margin: 0 !important;
	border-radius: 12px !important;
	box-sizing: border-box !important;
}

/* Full/wide images should stay full text-column width, not page width */
.single-post .wp-block-post-content .wp-block-image.alignwide,
.single-post .wp-block-post-content .wp-block-image.alignfull,
.single-post .entry-content .wp-block-image.alignwide,
.single-post .entry-content .wp-block-image.alignfull {
	float: none !important;
	width: 100% !important;
	max-width: 760px !important;
	margin: 24px auto !important;
	clear: both !important;
}

/* Important: do NOT clear headings, otherwise text will not wrap around images */
.single-post .wp-block-post-content h2,
.single-post .wp-block-post-content h3,
.single-post .entry-content h2,
.single-post .entry-content h3 {
	clear: none !important;
}

/* Clear only custom boxes/large sections so layout does not get messy */
.single-post .summary-box,
.single-post .understand-box,
.single-post .cta-box,
.single-post .author-box,
.single-post .meta-info-box {
	clear: both !important;
}

/* Mobile: stack images */
@media (max-width: 700px) {
	.single-post .wp-block-post-content .wp-block-image,
						.single-post .entry-content .wp-block-image,
						.single-post .wp-block-post-content .wp-block-image.alignleft,
						.single-post .wp-block-post-content .wp-block-image.alignright,
						.single-post .wp-block-post-content .wp-block-image.aligncenter,
						.single-post .entry-content .wp-block-image.alignleft,
						.single-post .entry-content .wp-block-image.alignright,
						.single-post .entry-content .wp-block-image.aligncenter {
		float: none !important;
		width: 100% !important;
		max-width: 100% !important;
		margin: 20px auto !important;
		clear: both !important;
	}
}

/* =========================================================
   SINGLE POST LIST TYPOGRAPHY FIX
   Keeps bullet lists consistent with normal body text.
   ========================================================= */
.single-post .wp-block-post-content p,
.single-post .wp-block-post-content li {
	font-size: 16px !important;
	line-height: 1.7 !important;
	color: var(--color-text) !important;
}

.single-post .wp-block-post-content ul,
.single-post .wp-block-post-content ol {
	margin-top: 8px !important;
	margin-bottom: 18px !important;
	padding-left: 22px !important;
}

.single-post .wp-block-post-content li {
	margin-bottom: 6px !important;
}

.single-post .wp-block-post-content li::marker {
	font-size: .85em;
	color: var(--color-heading);
}

/* Slightly tighter lists inside summary/understanding boxes */
.single-post .summary-box li,
.single-post .understand-box li {
	font-size: 15px !important;
	line-height: 1.6 !important;
	margin-bottom: 6px !important;
}

/* =========================================================
   SINGLE POST LIST REFINEMENT
   Makes bullet lists easier to read without making them oversized.
   ========================================================= */
.single-post .wp-block-post-content ul,
.single-post .wp-block-post-content ol {
	margin-top: 10px !important;
	margin-bottom: 18px !important;
	padding-left: 24px !important;
}

.single-post .wp-block-post-content li {
	font-size: 16px !important;
	line-height: 1.65 !important;
	margin-bottom: 7px !important;
}

.single-post .wp-block-post-content li::marker {
	font-size: .8em;
	color: var(--color-heading);
}

/* Keep lists inside grey boxes slightly neater */
.single-post .understand-box li,
.single-post .summary-box li {
	font-size: 15px !important;
	line-height: 1.55 !important;
	margin-bottom: 5px !important;
}

/* =========================================================
   STANDARD PAGE CLEANUP
   Hides featured image, comments and Fediverse reactions
   Page IDs:
   - Privacy Policy: 1682
   - Medical Disclaimer: 1687
   - Contact: 1719
   ========================================================= */
.page-id-1682 .wp-block-post-featured-image,
.page-id-1687 .wp-block-post-featured-image,
.page-id-1719 .wp-block-post-featured-image,
.page-id-1682 .wp-block-comments,
.page-id-1687 .wp-block-comments,
.page-id-1719 .wp-block-comments,
.page-id-1682 .wp-block-post-comments,
.page-id-1687 .wp-block-post-comments,
.page-id-1719 .wp-block-post-comments,
.page-id-1682 .wp-block-comment-template,
.page-id-1687 .wp-block-comment-template,
.page-id-1719 .wp-block-comment-template,
.page-id-1682 .wp-block-post-comments-form,
.page-id-1687 .wp-block-post-comments-form,
.page-id-1719 .wp-block-post-comments-form,
.page-id-1682 .comment-respond,
.page-id-1687 .comment-respond,
.page-id-1719 .comment-respond,
.page-id-1682 .comments-area,
.page-id-1687 .comments-area,
.page-id-1719 .comments-area,
.page-id-1682 #comments,
.page-id-1687 #comments,
.page-id-1719 #comments,
.page-id-1682 .wp-block-jetpack-like,
.page-id-1687 .wp-block-jetpack-like,
.page-id-1719 .wp-block-jetpack-like,
.page-id-1682 .wp-block-jetpack-reblog,
.page-id-1687 .wp-block-jetpack-reblog,
.page-id-1719 .wp-block-jetpack-reblog,
.page-id-1682 .sharedaddy,
.page-id-1687 .sharedaddy,
.page-id-1719 .sharedaddy,
.page-id-1682 .sd-sharing-enabled,
.page-id-1687 .sd-sharing-enabled,
.page-id-1719 .sd-sharing-enabled,
.page-id-1682 .wp-block-jetpack-subscriptions,
.page-id-1687 .wp-block-jetpack-subscriptions,
.page-id-1719 .wp-block-jetpack-subscriptions,
.page-id-1682 .fediverse-reactions,
.page-id-1687 .fediverse-reactions,
.page-id-1719 .fediverse-reactions,
.page-id-1682 .wp-block-fediverse-reactions,
.page-id-1687 .wp-block-fediverse-reactions,
.page-id-1719 .wp-block-fediverse-reactions,
.page-id-1682 [class*="fediverse"],
.page-id-1687 [class*="fediverse"],
.page-id-1719 [class*="fediverse"],
.page-id-1682 [class*="Fediverse"],
.page-id-1687 [class*="Fediverse"],
.page-id-1719 [class*="Fediverse"] {
	display: none !important;
}

/* AHH HOMEPAGE HEADER ROW FIX */
.home .wp-block-cover:first-of-type .wp-block-cover__inner-container > .wp-block-group:first-child .ahh-home-header-row {
	align-items: center !important;
	display: flex !important;
	flex-wrap: nowrap !important;
	gap: clamp(16px, 3vw, 40px) !important;
	justify-content: space-between !important;
	max-width: var(--site-max) !important;
	overflow: visible !important;
	position: relative !important;
	width: 100% !important;
	z-index: 20 !important;
}

.home .wp-block-cover:first-of-type .wp-block-cover__inner-container > .wp-block-group:first-child .ahh-home-header-row > .wp-block-site-logo {
	flex: 0 0 auto !important;
	margin-right: auto !important;
}

.home .wp-block-cover:first-of-type .wp-block-cover__inner-container > .wp-block-group:first-child .ahh-home-header-row > .wp-block-navigation {
	flex: 0 1 auto !important;
	margin-left: auto !important;
	overflow: visible !important;
}

.home .wp-block-cover:first-of-type .wp-block-cover__inner-container > .wp-block-group:first-child .ahh-home-header-row > .wp-block-search {
	flex: 0 0 auto !important;
}

.home .wp-block-cover:first-of-type .wp-block-cover__inner-container > .wp-block-group:first-child .ahh-home-header-row .wp-block-navigation__container {
	align-items: center !important;
	display: flex !important;
	flex-wrap: nowrap !important;
	gap: 10px !important;
	justify-content: flex-end !important;
}

.home .wp-block-cover:first-of-type .wp-block-cover__inner-container > .wp-block-group:first-child .ahh-home-header-row .wp-block-navigation-item {
	overflow: visible !important;
	white-space: nowrap !important;
}

.home .wp-block-cover:first-of-type .wp-block-cover__inner-container > .wp-block-group:first-child .ahh-home-header-row .wp-block-navigation a,
.home .wp-block-cover:first-of-type .wp-block-cover__inner-container > .wp-block-group:first-child .ahh-home-header-row .wp-block-navigation .wp-block-navigation-item__label {
	background: rgba(31, 75, 100, 0.92) !important;
	border: 1px solid rgba(255, 255, 255, 0.22) !important;
	border-radius: 999px !important;
	color: #ffffff !important;
	display: inline-flex !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	line-height: 1.1 !important;
	padding: 10px 16px !important;
	text-decoration: none !important;
}

.home .wp-block-cover:first-of-type .wp-block-cover__inner-container > .wp-block-group:first-child .ahh-home-header-row .wp-block-navigation-item:hover > a,
.home .wp-block-cover:first-of-type .wp-block-cover__inner-container > .wp-block-group:first-child .ahh-home-header-row .wp-block-navigation a:focus,
.home .wp-block-cover:first-of-type .wp-block-cover__inner-container > .wp-block-group:first-child .ahh-home-header-row .wp-block-navigation-item:hover .wp-block-navigation-item__label {
	background: #ffffff !important;
	color: #1f4b64 !important;
}

.home .wp-block-cover:first-of-type .wp-block-cover__inner-container > .wp-block-group:first-child .ahh-home-header-row .wp-block-navigation__submenu-container {
	background: #ffffff !important;
	border: 1px solid rgba(15, 23, 42, 0.12) !important;
	border-radius: 8px !important;
	box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18) !important;
	left: 0 !important;
	min-width: 220px !important;
	overflow: visible !important;
	padding: 8px !important;
	top: calc(100% + 8px) !important;
	z-index: 9999 !important;
}

.home .wp-block-cover:first-of-type .wp-block-cover__inner-container > .wp-block-group:first-child .ahh-home-header-row .wp-block-navigation__submenu-container a,
.home .wp-block-cover:first-of-type .wp-block-cover__inner-container > .wp-block-group:first-child .ahh-home-header-row .wp-block-navigation__submenu-container .wp-block-navigation-item__label {
	background: transparent !important;
	border: 0 !important;
	border-radius: 6px !important;
	color: #1f2937 !important;
	display: block !important;
	padding: 10px 12px !important;
	width: 100% !important;
}

.home .wp-block-cover:first-of-type .wp-block-cover__inner-container > .wp-block-group:first-child .ahh-home-header-row .wp-block-navigation__submenu-container a:hover,
.home .wp-block-cover:first-of-type .wp-block-cover__inner-container > .wp-block-group:first-child .ahh-home-header-row .wp-block-navigation__submenu-container a:focus {
	background: #edf6f7 !important;
	color: #1f4b64 !important;
}

.home .wp-block-cover:first-of-type .wp-block-cover__inner-container > .wp-block-group:first-child .ahh-home-header-row .wp-block-search__button {
	background: rgba(31, 75, 100, 0.92) !important;
	border: 1px solid rgba(255, 255, 255, 0.22) !important;
	border-radius: 999px !important;
	color: #ffffff !important;
	min-width: 44px !important;
	padding: 10px !important;
}

@media (max-width: 900px) {
	.home .wp-block-cover:first-of-type .wp-block-cover__inner-container > .wp-block-group:first-child .ahh-home-header-row {
		align-items: flex-start !important;
		flex-direction: column !important;
	}
	
	.home .wp-block-cover:first-of-type .wp-block-cover__inner-container > .wp-block-group:first-child .ahh-home-header-row > .wp-block-navigation,
	  .home .wp-block-cover:first-of-type .wp-block-cover__inner-container > .wp-block-group:first-child .ahh-home-header-row > .wp-block-search {
		margin-left: 0 !important;
	}
	
	.home .wp-block-cover:first-of-type .wp-block-cover__inner-container > .wp-block-group:first-child .ahh-home-header-row .wp-block-navigation__container {
		flex-wrap: wrap !important;
		justify-content: flex-start !important;
	}
}

/* END AHH HOMEPAGE HEADER ROW FIX */
/* Logo size fix for all pages */
.wp-block-site-logo.is-default-size img { width: 80px !important; height: auto !important; }
/* Touch targets */
.wp-block-navigation-item__content { min-height:44px !important; display:flex !important; align-items:center !important; }
.wp-block-navigation__submenu-icon { min-width:44px !important; min-height:44px !important; display:flex !important; align-items:center !important; justify-content:center !important; }
/* Breadcrumb bar separator before post-title */
.ahh-breadcrumbs .wp-block-post-title::before { content: ' \203A '; margin: 0 4px; font-weight: 400; color: #666; }