/* ---------------------------------------------------------------------------
   Bridges WordPress block layout to the original page CSS.

   The converted sections carry their own vertical rhythm — each <section> sets
   its own padding — so the block editor's flow spacing has to be switched off
   inside them, or every section gains a gap the source design never had.
   Nothing here restyles the design.
   --------------------------------------------------------------------------- */

.wp-site-blocks > .entry-content,
.wp-site-blocks > main > .entry-content,
.entry-content.is-layout-flow,
.entry-content.is-layout-constrained {
	max-width: none;
	margin-block: 0;
	padding-inline: 0;
}

.entry-content > *,
.wp-site-blocks > *,
.wp-block-group.is-layout-flow > * {
	margin-block-start: 0;
	margin-block-end: 0;
}

.entry-content > *,
.wp-site-blocks > * {
	max-width: none;
}

.entry-content > .wp-block-html,
.wp-site-blocks > .wp-block-html {
	max-width: none;
}

.nav > *,
footer > *,
.foot-top > *,
.foot-bottom > *,
.record > *,
.projects > * {
	margin-block-start: 0;
}

/* Project cards come from the post type, so the featured image is a WP image. */
.p-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Three inline style attributes from the source markup, moved to classes so the
   block content carries no style="" of its own. Values are unchanged. */
.hero-actions {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
}

.btn.btn-solid {
	background: var(--water);
	color: #fff;
}

.foot-entity {
	color: #fff;
}

/* Skip link: visible on focus, matching the site's focus treatment. */
.guhu-skip-link {
	position: absolute;
	inset-inline-start: -9999px;
	top: 0;
	z-index: 300;
	background: var(--water, #3f6c83);
	color: #fff;
	padding: 12px 20px;
	font-size: 14px;
	font-weight: 600;
}

.guhu-skip-link:focus {
	inset-inline-start: 0;
}

/* Editor canvas: the editor has no <body> of ours, so restate the page ground. */
.editor-styles-wrapper {
	background: var(--paper, #fff);
	color: var(--ink, #34464f);
	font-family: 'Inter', Arial, Helvetica, sans-serif;
	line-height: 1.65;
}

.editor-styles-wrapper .wp-block {
	max-width: none;
}

/* running text is justified by justify.js; each block keeps its own last-line alignment */
.gm-j,.gm-jc,.gm-jr{text-align:justify;text-justify:inter-word;hyphens:none;-webkit-hyphens:none;text-wrap:pretty}
.gm-jc{text-align-last:center}
.gm-jr{text-align-last:right}
.caps li.gm-j{text-align:left;text-align-last:auto}

/* the page you are on */
.menu a[aria-current="page"],.menu a.on{color:var(--ink,#211d18)}
.menu > a[aria-current="page"]::after,.menu > .dropdown > a[aria-current="page"]::after,.menu > a.on::after,.menu > .dropdown > a.on::after{width:100%}
.dropdown-menu li a[aria-current="page"]{color:var(--gold-text,#7d5b24);font-weight:700}
.foot-brand p{text-align:justify;text-justify:inter-word;hyphens:none;-webkit-hyphens:none;text-wrap:pretty}
.dtext p.lede.gm-j{text-align:left}
