/* Pathwise block theme: component styles that theme.json cannot express.
   Colors, fonts, sizes and spacing come from theme.json presets. */

:root {
	--pw-navy: var(--wp--preset--color--navy);
	--pw-navy-2: var(--wp--preset--color--navy-dark);
	--pw-teal: var(--wp--preset--color--teal);
	--pw-teal-50: var(--wp--preset--color--teal-50);
	--pw-gold: var(--wp--preset--color--gold);
	--pw-gold-text: var(--wp--preset--color--gold-text);
	--pw-cream: var(--wp--preset--color--cream);
	--pw-muted: var(--wp--preset--color--muted);
	--pw-line: var(--wp--preset--color--line);
	--pw-mist: var(--wp--preset--color--mist);
	--pw-r: 14px;
	--pw-r-lg: 22px;
	--pw-shadow: var(--wp--preset--shadow--soft);
	--pw-header-h: 84px;
	--pw-admin-bar: var(--wp-admin--admin-bar--height, 0px);
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--pw-header-h) + 72px + var(--pw-admin-bar)); }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; }

/* Full-width sections sit flush against each other. */
.wp-site-blocks > *,
.pw-main > *,
.pw-full-content > *,
.pw-full-content > .alignfull,
.pw-main > .alignfull { margin-block-start: 0; margin-block-end: 0; }
.pw-full-content > .alignfull { margin-left: 0 !important; margin-right: 0 !important; max-width: none; }

/* ------------------------------------------------------------ Accessibility */
.skip-link.screen-reader-text:focus {
	background: var(--pw-navy); color: #fff; border-radius: 8px; padding: 12px 18px;
	font-family: var(--wp--preset--font-family--montserrat); font-weight: 700; z-index: 100000;
	clip: auto !important; clip-path: none; height: auto; width: auto; left: 12px; top: 12px; text-decoration: none;
}
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 3px solid var(--pw-teal);
	outline-offset: 3px;
	border-radius: 4px;
}
.pw-on-dark :focus-visible,
.pw-topbar :focus-visible,
.pw-footer :focus-visible,
.has-navy-background-color :focus-visible,
.has-teal-background-color :focus-visible { outline-color: var(--pw-gold); }
.wp-element-button:focus-visible { outline-offset: 3px; }

/* ------------------------------------------------------------ Type helpers */
.is-style-pw-eyebrow {
	font-family: var(--wp--preset--font-family--montserrat);
	font-weight: 700; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
	color: var(--pw-gold-text);
	display: inline-flex; align-items: center; gap: 10px; margin: 0;
}
.is-style-pw-eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--pw-gold); flex: none; }
.pw-on-dark .is-style-pw-eyebrow, .has-navy-background-color .is-style-pw-eyebrow { color: var(--pw-gold); }
.is-style-pw-lead { font-size: var(--wp--preset--font-size--large); color: var(--pw-muted); max-width: 68ch; }
.pw-on-dark p { color: var(--pw-mist); }
.pw-on-dark h1, .pw-on-dark h2, .pw-on-dark h3 { color: #fff; }

/* Placeholder (striped gold) */
.pw-ph {
	display: inline-block;
	background: repeating-linear-gradient(45deg, #FFF6DD, #FFF6DD 8px, #FCEFC9 8px, #FCEFC9 16px);
	border: 1.5px dashed var(--wp--preset--color--gold-dark);
	color: #6d5520 !important; font-size: .85rem; font-weight: 700; border-radius: 8px; padding: 6px 10px;
	font-family: var(--wp--preset--font-family--montserrat); max-width: 100%;
}
.pw-ph--dark { background: rgba(201,165,76,.12); color: #E9D9A9 !important; border-color: rgba(201,165,76,.6); }

/* ------------------------------------------------------------ Buttons */
.wp-element-button, .wp-block-button__link { transition: background-color .2s, color .2s, border-color .2s; white-space: nowrap; }
.wp-block-button.is-style-outline > .wp-block-button__link:hover,
.wp-block-button.is-style-outline > .wp-block-button__link:focus-visible { background: var(--pw-navy); color: #fff; border-color: var(--pw-navy); }
.wp-block-button.is-style-pw-gold > .wp-block-button__link { background: var(--pw-gold); border-color: var(--pw-gold); color: var(--pw-navy); }
.wp-block-button.is-style-pw-gold > .wp-block-button__link:hover { background: #d6b35c; border-color: #d6b35c; color: var(--pw-navy); }
.wp-block-button.is-style-pw-ghost-light > .wp-block-button__link { background: transparent; border-color: rgba(255,255,255,.6); color: #fff; }
.wp-block-button.is-style-pw-ghost-light > .wp-block-button__link:hover { background: #fff; color: var(--pw-navy); border-color: #fff; }
.wp-block-buttons { gap: 12px 14px; }
@media (max-width: 480px) { .wp-element-button, .wp-block-button__link { white-space: normal; } }

/* ------------------------------------------------------------ Utility bar + header */
.pw-topbar { font-size: .85rem; padding-top: 8px; padding-bottom: 8px; }
.pw-topbar p { margin: 0; color: #DDE1F0; }
.pw-topbar a { color: #fff; text-decoration: none; }
.pw-topbar a:hover { text-decoration: underline; }
.pw-topbar__links { gap: 22px; }

.pw-site-header { position: sticky; top: var(--pw-admin-bar); z-index: 50; }
.pw-header {
	background: #fff;
	/* No backdrop-filter: it would trap the fixed mobile menu overlay inside the header. */
	border-bottom: 1px solid var(--pw-line);
}
.pw-header__inner { min-height: var(--pw-header-h); gap: 18px; }
.pw-logo { margin: 0; flex: none; }
.pw-logo img { height: 46px; width: auto; display: block; }
/* 1.3.4: no inline line box under the main-site logo, so it centres with the menu and buttons (hub headers unchanged). */
.pw-header:not(.pw-hub-header) .pw-logo a { display: block; line-height: 0; }
.pw-main-nav { flex: 1 1 auto; }
.pw-main-nav .wp-block-navigation__container { gap: 18px; flex-wrap: nowrap; }
/* 1.3.4: top-level items never wrap ("Worksite Approach" / "Pathwise Gives" broke onto two lines when the row was a pixel or two short). */
.pw-main-nav .wp-block-navigation__container > .wp-block-navigation-item { flex: none; }
.pw-main-nav .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content { white-space: nowrap; }
.pw-main-nav .wp-block-navigation-item__content { padding: 6px 0; }
.pw-main-nav .current-menu-item > a,
.pw-main-nav .wp-block-navigation-item__content[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--pw-gold); color: var(--pw-teal); }
.pw-main-nav .wp-block-navigation__submenu-container {
	border: 1px solid var(--pw-line) !important; border-radius: 12px; box-shadow: var(--pw-shadow);
	padding: 8px 0; min-width: 280px !important; background: #fff;
}
.pw-main-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: 8px 18px; }
.pw-main-nav .wp-block-navigation__submenu-icon { opacity: .6; }
.pw-header-cta { flex: none; gap: 10px; }
.pw-header-cta .wp-block-button__link { padding: 10px 18px; font-size: .88rem; }
/* Mobile overlay */
.pw-main-nav .wp-block-navigation__responsive-container-open {
	width: 44px; height: 44px; border: 1.5px solid var(--pw-line); border-radius: 10px; justify-content: center; align-items: center; color: var(--pw-navy);
}
.pw-main-nav .wp-block-navigation__responsive-container.is-menu-open { padding: 24px; background: #fff; }
.pw-main-nav .is-menu-open .wp-block-navigation__container { gap: 18px; font-size: 1.05rem; }
.pw-main-nav .is-menu-open .wp-block-navigation__responsive-container-content,
.pw-main-nav .is-menu-open .wp-block-navigation__container,
.pw-main-nav .is-menu-open .wp-block-navigation-item { align-items: flex-start !important; text-align: left; }
.pw-main-nav .is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 24px; }
.pw-main-nav .is-menu-open .wp-block-navigation-item__content { color: var(--pw-navy); font-weight: 700; }
.pw-main-nav .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content { font-weight: 600; font-size: .95rem; color: var(--pw-ink); padding: 4px 0; }
.pw-main-nav .is-menu-open .wp-block-navigation__submenu-container { box-shadow: none; border: 0 !important; padding: 6px 0 0 14px; }

/* Switch to the hamburger below 1240px (the core default is 600px). */
@media (max-width: 1239px) {
	.pw-main-nav { flex: 0 0 auto; order: 3; }
	.pw-main-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	.pw-main-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
	.pw-header__inner { justify-content: flex-start !important; }
	.pw-logo { margin-right: auto !important; }
	.wp-block-buttons .wp-block-button.pw-btn-assess { display: none; }
}
@media (max-width: 860px) {
	:root { --pw-header-h: 70px; }
	.pw-logo img { height: 38px; }
	.wp-block-buttons.pw-header-cta { display: none; }
	.pw-topbar { font-size: .78rem; }
	.pw-topbar__tagline, .pw-topbar__hours { display: none; }
	.pw-topbar__inner { justify-content: center !important; }
	.pw-topbar__links { gap: 14px; justify-content: center; }
}

/* Guard against stray horizontal scroll from decorative art (clip keeps sticky header working). */
.wp-site-blocks { overflow-x: clip; }

/* Core gives background groups 1.25em vertical padding; these sections size themselves. */
.pw-hero.has-background, .pw-audience.has-background, .pw-cta-band.has-background { padding-top: 0; padding-bottom: 0; }
/* Inline text colour should never pick up the browser's yellow <mark> highlight. */
mark.has-inline-color { background-color: transparent; }

/* ------------------------------------------------------------ Sections */
.pw-section { padding-top: var(--wp--preset--spacing--90); padding-bottom: var(--wp--preset--spacing--90); }
@media (max-width: 860px) { .pw-section { padding-top: 64px; padding-bottom: 64px; } }
.pw-s-head { gap: 14px 40px; margin-bottom: 48px; align-items: flex-end; }
.pw-s-head__title { flex: 1 1 420px; }
.pw-s-head__title > * + * { margin-top: 12px; }
.pw-s-head__title h2 { max-width: 20ch; }
.pw-s-head__aside { flex: 0 1 520px; color: var(--pw-muted); margin: 0; }
@media (max-width: 860px) { .pw-s-head { margin-bottom: 32px; flex-direction: column; align-items: flex-start !important; } .pw-s-head__aside, .pw-s-head__title { flex-basis: auto; } }
.pw-center-head { text-align: center; margin-bottom: 48px; gap: 12px; }
.pw-center-head h2 { max-width: 24ch; margin: 0 auto; }
.pw-center-head p { margin-left: auto; margin-right: auto; }
.pw-mt-lg { margin-top: 32px !important; }

/* Photos */
.pw-photo img, .pw-photo { border-radius: var(--pw-r-lg); }
.pw-photo { overflow: hidden; box-shadow: var(--pw-shadow); margin: 0; }
.pw-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pw-photo--5-4 img { aspect-ratio: 5/4; }
.pw-photo--4-3 img { aspect-ratio: 4/3; }

/* Icons */
.pw-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--pw-teal-50); display: grid !important; place-items: center; flex: none; margin: 0; }
.pw-icon .wp-block-image, .pw-icon figure { margin: 0; }
.pw-icon img { width: 26px; height: 26px; display: block; }

/* ------------------------------------------------------------ Hero */
.pw-hero { position: relative; overflow: hidden; }
.pw-hero__cols { gap: 56px; padding-top: 76px; padding-bottom: 88px; margin: 0; }
.pw-hero__title { margin-top: 18px; }
.pw-hero .is-style-pw-lead { margin: 22px 0 32px; }
.pw-hero__micro { margin-top: 22px; font-size: .92rem; color: var(--pw-muted); }
.pw-hero__micro strong { color: var(--pw-navy); }
.pw-hero-media { position: relative; }
.pw-hero-media > * { margin: 0 !important; }
.pw-hero-photo { border-radius: var(--pw-r-lg); overflow: hidden; box-shadow: var(--wp--preset--shadow--lifted); }
.pw-hero-photo img { aspect-ratio: 4/3.4; width: 100%; object-fit: cover; display: block; }
.pw-hex { position: absolute !important; width: 160px; right: -40px; top: -46px; z-index: 2; pointer-events: none; }
.pw-hex img { width: 100%; height: auto; }
.pw-hero-card {
	position: absolute !important; left: -34px; bottom: -30px; z-index: 3;
	background: #fff; border-radius: 16px; box-shadow: var(--pw-shadow); padding: 18px 20px;
	gap: 14px; align-items: center; max-width: 330px; border-left: 4px solid var(--pw-gold);
}
.pw-hero-card .pw-icon { width: 44px; height: 44px; border-radius: 12px; }
.pw-hero-card .pw-icon img { width: 24px; height: 24px; }
.pw-hero-card__body > * { margin: 0; }
.pw-hero-card__title { font-family: var(--wp--preset--font-family--montserrat); color: var(--pw-navy); font-size: .98rem; }
.pw-hero-card__text { color: var(--pw-muted); font-size: .86rem; line-height: 1.4; }
@media (max-width: 860px) {
	.pw-hero__cols { padding-top: 44px; padding-bottom: 70px; gap: 44px; }
	.pw-hero__ctas .wp-block-button { width: 100%; }
	.pw-hero__ctas .wp-block-button__link { width: 100%; justify-content: center; }
	.pw-hex { width: 96px; right: -12px; top: -30px; }
	.pw-hero-card { left: 12px; right: 12px; bottom: -26px; max-width: none; }
}

/* ------------------------------------------------------------ Audience strip */
.pw-audience .pw-audience__grid { gap: 0 !important; }
@media (min-width: 861px) { .pw-audience .pw-audience__grid { grid-template-columns: repeat(3, 1fr) !important; } }
.pw-aud { padding: 30px 28px; border-right: 1px solid rgba(255,255,255,.12); }
.pw-aud:last-child { border-right: 0; }
.pw-aud > * { margin: 0; }
.pw-aud__label { font-family: var(--wp--preset--font-family--montserrat); font-weight: 800; color: var(--pw-gold) !important; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; }
.pw-aud__title { color: #fff; font-size: 1.05rem !important; margin: 2px 0 6px !important; }
.pw-aud__text { font-size: .94rem; line-height: 1.5; }
.pw-aud__link { margin-top: 10px !important; }
.pw-aud__link a { color: var(--pw-gold); font-family: var(--wp--preset--font-family--montserrat); font-weight: 700; font-size: .85rem; text-decoration: none; }
.pw-aud__link a:hover { text-decoration: underline; }
@media (max-width: 860px) {
	.pw-audience { padding-left: 0 !important; padding-right: 0 !important; }
	.pw-aud { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); padding: 24px; }
	.pw-aud:last-child { border-bottom: 0; }
}

/* ------------------------------------------------------------ Grids */
.pw-grid-3 { gap: 22px; }
@media (min-width: 861px) { .pw-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }
@media (max-width: 860px) { .pw-grid-3 { grid-template-columns: 1fr !important; } }

/* Service cards */
.pw-svc {
	background: #fff; border: 1px solid var(--pw-line); border-radius: var(--pw-r); padding: 30px 28px 26px;
	display: flex; flex-direction: column; position: relative; transition: box-shadow .2s, transform .2s, border-color .2s;
}
.pw-svc > * { margin: 0; }
.pw-svc .pw-icon { margin-bottom: 20px; }
.pw-svc__title { margin-bottom: 8px !important; }
.pw-svc__title a { color: inherit; text-decoration: none; }
.pw-svc__title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--pw-r); }
.pw-svc__title a:focus-visible { outline: none; }
.pw-svc:has(a:focus-visible) { outline: 3px solid var(--pw-teal); outline-offset: 3px; }
.pw-svc__text { color: var(--pw-muted); font-size: .98rem; flex: 1; }
.pw-svc__more { font-family: var(--wp--preset--font-family--montserrat); font-weight: 700; font-size: .88rem; margin-top: 18px !important; color: var(--pw-teal); }
.pw-svc:hover { box-shadow: var(--pw-shadow); transform: translateY(-3px); border-color: transparent; }
.pw-svc--feature { border-color: var(--pw-navy); }
.pw-svc--feature .pw-svc__title, .pw-svc--feature .pw-svc__title a { color: #fff; }
.pw-svc--feature .pw-svc__text { color: var(--pw-mist); }
.pw-svc--feature .pw-svc__more { color: var(--pw-gold); }
.pw-svc--feature .pw-icon { background: rgba(255,255,255,.08); }
.pw-svc--feature:has(a:focus-visible) { outline-color: var(--pw-gold); }
.pw-tag {
	position: absolute; top: 22px; right: 22px; font-family: var(--wp--preset--font-family--montserrat);
	font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--pw-navy);
	background: var(--pw-gold); padding: 4px 10px; border-radius: 999px; line-height: 1.4;
}
@media (max-width: 860px) { .pw-svc { padding: 24px 22px 20px; } .pw-svc .pw-icon { margin-bottom: 14px; } }

/* Steps */
.pw-steps { gap: 28px; }
.pw-step { background: #fff; border-radius: var(--pw-r); padding: 34px 30px; box-shadow: var(--pw-shadow); }
.pw-step > * { margin: 0; }
.pw-step__num { font-family: var(--wp--preset--font-family--montserrat); font-weight: 800; font-size: 2.6rem; color: var(--wp--preset--color--gold-dark); line-height: 1; margin-bottom: 16px !important; }
.pw-step h3 { margin-bottom: 10px; }
.pw-step__text { color: var(--pw-muted); font-size: .98rem; }
.pw-steps__cta { margin-top: 40px !important; }

/* Split / worksite */
.pw-split { gap: 64px; margin: 0; }
.pw-split h2 { margin-top: 12px; }
.is-style-pw-checks { list-style: none; padding: 0; margin-top: 28px; display: grid; gap: 20px; }
.is-style-pw-checks li { position: relative; padding-left: 50px; color: var(--pw-muted); font-size: .97rem; min-height: 36px; }
.is-style-pw-checks li::before {
	content: "✓"; position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%;
	background: var(--pw-teal); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 1rem;
}
.is-style-pw-checks li strong { font-family: var(--wp--preset--font-family--montserrat); color: var(--pw-navy); display: block; margin-bottom: 2px; font-size: 1.0625rem; }
.pw-worksite .wp-block-buttons { margin-top: 32px; }
@media (max-width: 860px) {
	.pw-split { gap: 32px; }
	.pw-worksite .pw-media-col { order: -1; }
}

/* Support channels */
.pw-channels { gap: 16px; }
@media (min-width: 1100px) { .pw-channels { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; } }
@media (min-width: 481px) and (max-width: 860px) { .pw-channels { grid-template-columns: 1fr 1fr !important; } }
.pw-ch { background: #fff; border-radius: var(--pw-r); padding: 24px 20px; border-top: 4px solid var(--pw-teal); }
.pw-ch:nth-child(even) { border-top-color: var(--pw-gold); }
.pw-ch > * { margin: 0; }
.pw-ch h3 { font-size: 1rem; margin-bottom: 8px; }
.pw-ch p { font-size: .9rem; color: var(--pw-muted); line-height: 1.5; }

/* Testimonial */
.pw-quote { border-radius: var(--pw-r-lg); padding: 56px; gap: 36px; }
.pw-quote > * { margin: 0; }
.pw-quote__mark { font-family: Georgia, "Times New Roman", serif; font-size: 7rem; line-height: .6; color: var(--pw-gold); flex: none; }
.pw-quote__cite { margin-top: 16px !important; color: #D7ECEC; }
@media (max-width: 860px) { .pw-quote { padding: 36px 28px; gap: 10px; flex-direction: column; align-items: flex-start !important; } .pw-quote__mark { font-size: 5rem; } }

/* Pledge */
.pw-gives { gap: 56px; }
.pw-gives h2 { margin-top: 12px; }
.pw-gives .is-style-pw-lead { margin-top: 14px; }
.pw-pledge { gap: 14px; margin-top: 24px; }
.pw-pledge__item { flex: 1 1 120px; background: #fff; border: 1px solid var(--pw-line); border-radius: 12px; padding: 16px; text-align: center; }
.pw-pledge__item > * { margin: 0; }
.pw-pledge__num { font-family: var(--wp--preset--font-family--montserrat); font-weight: 700; font-size: 1.6rem; color: var(--pw-teal); line-height: 1.3; }
.pw-pledge__label { color: var(--pw-muted); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; }
.pw-gives .wp-block-buttons { margin-top: 28px; }

/* Insights cards */
.pw-post-grid { gap: 22px !important; }
.pw-post-card { border-radius: var(--pw-r); overflow: hidden; background: #fff; border: 1px solid var(--pw-line); display: flex; flex-direction: column; height: 100%; position: relative; }
.pw-post-card > * { margin: 0; }
.pw-post-card:not(:has(.wp-block-post-featured-image))::before {
	content: ""; display: block; aspect-ratio: 16/9; background: var(--wp--preset--gradient--navy-teal);
}
.pw-post-grid > li:nth-child(3n+2) .pw-post-card::before { background: var(--wp--preset--gradient--teal-fade); }
.pw-post-grid > li:nth-child(3n+3) .pw-post-card::before { background: var(--wp--preset--gradient--gold-fade); }
.pw-post-card__thumb { margin: 0; }
.pw-post-card__thumb img { display: block; }
.pw-post-card__body { padding: 22px 24px 26px; }
.pw-post-card__body > * { margin: 0; }
.pw-post-card__title { font-size: 1.06rem !important; line-height: 1.35; margin-top: 8px !important; }
.pw-post-card__title a::after { content: ""; position: absolute; inset: 0; }
.pw-post-card:has(a:focus-visible) { outline: 3px solid var(--pw-teal); outline-offset: 3px; }
.pw-post-card__title a:focus-visible { outline: none; }
.pw-post-card__excerpt { margin-top: 10px !important; color: var(--pw-muted); font-size: .95rem; }
.pw-post-card__excerpt .wp-block-post-excerpt__more-link { display: none; }
.pw-pagination { margin-top: 48px; font-family: var(--wp--preset--font-family--montserrat); font-weight: 600; }
.pw-insights .pw-s-head { align-items: flex-end; }

/* CTA band */
.pw-cta-band { position: relative; overflow: hidden; }
.pw-cta-band__cols { gap: 48px; padding-top: 80px; padding-bottom: 80px; margin: 0; position: relative; z-index: 1; }
.pw-cta-band h2 { margin-top: 14px; }
.pw-cta-band p { margin-top: 14px; }
.pw-cta-band .wp-block-buttons { margin-top: 28px; }
.pw-bg-hex { position: absolute !important; right: -90px; top: -60px; width: 420px; opacity: .08; filter: grayscale(1) brightness(3); margin: 0 !important; pointer-events: none; z-index: 0; }
.pw-contact-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 18px; padding: 28px; }
.pw-contact__row { gap: 14px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.1); margin: 0 !important; }
.pw-contact__row:last-child { border-bottom: 0; }
.pw-contact__row p { margin: 0 !important; }
.pw-contact__label { font-family: var(--wp--preset--font-family--montserrat); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--pw-gold) !important; width: 80px; flex: none; padding-top: 3px; }
.pw-contact__value { color: #fff !important; }
.pw-contact__value a { color: #fff; }
@media (max-width: 860px) { .pw-cta-band__cols { padding-top: 56px; padding-bottom: 56px; } }

/* ------------------------------------------------------------ Footer */
.pw-footer { font-size: .92rem; padding-top: 64px; padding-bottom: 28px; }
.pw-footer p { color: #AEB4CF; }
.pw-footer a { color: #D9DDEE; text-decoration: none; }
.pw-footer a:hover { color: var(--pw-gold); text-decoration: underline; }
.pw-footer__grid { gap: 40px; margin: 0; }
.pw-footer__logo { margin: 0 0 18px; }
.pw-footer__logo img { height: 44px; width: auto; display: block; }
.pw-footer__contact { margin-top: 14px !important; line-height: 1.5; }
.pw-footer__contact strong { color: #fff; font-family: var(--wp--preset--font-family--montserrat); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; }
.pw-footer__heading { color: #fff !important; font-size: .82rem !important; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 16px !important; }
.pw-footer__heading--partners { margin-top: 28px !important; }
.pw-plain-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.pw-footer__partners { margin: 0; line-height: 1.7; }
.pw-footer__legal { border-top: 1px solid rgba(255,255,255,.1); margin-top: 48px !important; padding-top: 22px; gap: 20px; font-size: .84rem; }
.pw-footer__legal p { margin: 0; }
@media (max-width: 860px) {
	.pw-footer__grid { display: grid !important; grid-template-columns: 1fr 1fr; }
	.pw-footer__grid > .wp-block-column { flex-basis: auto !important; }
	.pw-footer__brand { grid-column: 1 / -1; }
}

/* ------------------------------------------------------------ Interior pages */
.pw-page-hero { padding-top: 64px; padding-bottom: 56px; position: relative; overflow: hidden; }
.pw-page-hero > :not(.pw-page-hero__hex) { margin-left: max(0px, calc((100% - 1152px) / 2)) !important; }
.pw-page-hero h1 { font-size: clamp(2.1rem, 4vw, 3.1rem); margin: 12px 0 16px; max-width: 22ch; }
.pw-page-hero .wp-block-buttons { margin-top: 28px; }
.pw-page-hero > .is-style-pw-lead { margin-top: 0; }
.pw-crumbs, .pw-crumbs p, .pw-crumbs .wp-block-post-title { font-size: .86rem; color: var(--pw-muted); margin: 0 0 18px; font-family: var(--wp--preset--font-family--lato); font-weight: 400; letter-spacing: 0; line-height: 1.5; }
.pw-crumbs.wp-block-group { gap: .35em; }
.pw-crumbs p, .pw-crumbs .wp-block-post-title { margin: 0; }
.pw-crumbs a { color: var(--pw-muted); }
.pw-page-hero__hex { position: absolute !important; right: 6%; top: 50%; transform: translateY(-50%); width: 230px; opacity: .9; margin: 0 !important; pointer-events: none; }
.pw-page-hero .wp-block-post-date { margin-top: 0; }
@media (max-width: 1100px) { .pw-page-hero__hex { width: 160px; right: 2%; } }
@media (max-width: 860px) { .pw-page-hero__hex { display: none; } }
.pw-page-body { padding-top: 56px; padding-bottom: 72px; }
.pw-article { padding-top: 48px; padding-bottom: 72px; }
.pw-article .pw-photo { margin-bottom: 40px; }
.pw-post-nav { margin-top: 56px !important; padding-top: 24px; border-top: 1px solid var(--pw-line); font-family: var(--wp--preset--font-family--montserrat); font-weight: 600; }
.pw-post-nav a { text-decoration: none; }
.pw-search { max-width: 560px; margin-top: 24px; }
.pw-search .wp-block-search__input { border: 1.5px solid var(--pw-line); border-radius: 999px; padding: 10px 18px; font-size: 1rem; }
.pw-search .wp-block-search__button { margin-left: 10px; }

/* Sticky sub-navigation (Services) */
.pw-subnav { position: sticky; top: calc(var(--pw-header-h) + var(--pw-admin-bar)); z-index: 40; background: #fff; border-bottom: 1px solid var(--pw-line); }
nav.pw-subnav__nav { overflow-x: auto; scrollbar-width: none; padding: 12px 0; }
ul.pw-subnav__nav { padding: 0; }
.pw-subnav__nav .wp-block-navigation__container { gap: 8px; flex-wrap: nowrap; }
.pw-subnav__nav .wp-block-navigation-item__content {
	font-size: .86rem; color: var(--pw-navy); padding: 8px 14px !important; border-radius: 999px; border: 1px solid var(--pw-line); white-space: nowrap; display: block;
}
.pw-subnav__nav .wp-block-navigation-item:first-child .wp-block-navigation-item__content,
.pw-subnav__nav .wp-block-navigation-item__content:hover { background: var(--pw-navy); color: #fff; border-color: var(--pw-navy); }

/* Service detail rows */
.pw-svc-detail { padding: 72px 0; border-bottom: 1px solid var(--pw-line); margin-top: 0 !important; margin-bottom: 0 !important; }
.pw-svc-detail:last-child { border-bottom: 0; }
.pw-svc-detail__cols { gap: 64px; margin: 0; }
.pw-svc-detail__cols > .wp-block-column:first-child { flex-basis: 45%; }
.pw-kicker { gap: 16px; align-items: center; margin-bottom: 16px; }
.pw-kicker .pw-icon { width: 56px; height: 56px; }
.pw-kicker .pw-icon img { width: 28px; height: 28px; }
.pw-svc-detail h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 10px; }
.pw-sub { color: var(--pw-teal); font-family: var(--wp--preset--font-family--montserrat); font-weight: 600; margin: 0 0 16px !important; }
.pw-svc-detail p:not(.pw-sub):not(.pw-ph):not(.is-style-pw-eyebrow) { color: var(--pw-muted); }
.pw-acts { margin-top: 24px !important; }
.is-style-pw-panel { background: var(--pw-cream); border-radius: var(--pw-r); padding: 28px 30px; }
.is-style-pw-panel > * { margin: 0; }
.is-style-pw-panel + .is-style-pw-panel, .pw-two-col + .is-style-pw-panel { margin-top: 16px !important; }
.pw-panel__title { font-size: .8rem !important; letter-spacing: .14em; text-transform: uppercase; color: var(--pw-gold-text); margin-bottom: 14px !important; }
.pw-two-col { gap: 16px; }
.is-style-pw-diamonds { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.is-style-pw-diamonds li { padding-left: 26px; position: relative; font-size: .98rem; }
.is-style-pw-diamonds li::before {
	content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 12px; border-radius: 3px;
	background: var(--pw-teal); transform: rotate(45deg) scale(.7);
}
@media (max-width: 860px) {
	.pw-svc-detail { padding: 48px 0; }
	.pw-svc-detail__cols { gap: 24px; }
	.pw-two-col { grid-template-columns: 1fr !important; }
}

/* Columns stack at 860px to match the mockup (core stacks at 782px). */
@media (max-width: 860px) {
	.pw-hero__cols, .pw-split, .pw-cta-band__cols, .pw-svc-detail__cols { flex-wrap: wrap !important; }
	.pw-hero__cols > .wp-block-column, .pw-split > .wp-block-column, .pw-cta-band__cols > .wp-block-column, .pw-svc-detail__cols > .wp-block-column { flex-basis: 100% !important; }
}

/* Content defaults inside regular pages and posts */
.wp-block-post-content a:where(:not(.wp-element-button)) { text-underline-offset: .15em; }
.pw-page-body .wp-block-post-content :where(h2, h3), .pw-article .wp-block-post-content :where(h2, h3) { margin-top: 2em; }
