/* ---------------------------------------------------------------------------
   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 an extra gap that the source design did
   not have. Nothing here restyles the design; it only neutralises WordPress
   defaults that the original markup never had to account for.
   --------------------------------------------------------------------------- */

/* Post content wrapper: full bleed, no injected rhythm. */
.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 > * {
	margin-block-start: 0;
	margin-block-end: 0;
	max-width: none;
}

/* Raw-HTML sections must not inherit block alignment constraints. */
.entry-content > .wp-block-html,
.wp-site-blocks > .wp-block-html {
	max-width: none;
}

/* The theme's own containers own their spacing; block layout must not add to it. */
.util > *,
.nav > *,
footer > *,
.foot-top > *,
.ent-cols > *,
.foot-bottom > * {
	margin-block-start: 0;
}

/* Site logo blocks stand in for the original <img> in header and footer. */
.logo .wp-block-site-logo,
.foot-brand .wp-block-site-logo {
	margin: 0;
	line-height: 0;
}

.logo .wp-block-site-logo img {
	height: 38px;
	width: auto;
}

.foot-brand .wp-block-site-logo img {
	height: 44px;
	width: auto;
	margin-bottom: 18px;
	filter: brightness(0) opacity(0.45);
}

/* Skip link: visible on focus, matching the site's focus treatment. */
.guh-skip-link {
	position: absolute;
	inset-inline-start: -9999px;
	top: 0;
	z-index: 300;
	background: var(--gold-deep, #8a6528);
	color: #fff;
	padding: 12px 20px;
	font-size: 14px;
	font-weight: 600;
}

.guh-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, #fdfbf7);
	color: var(--ink, #211d18);
	font-family: 'Plus Jakarta Sans', Arial, Helvetica, sans-serif;
	line-height: 1.65;
}

.editor-styles-wrapper .wp-block {
	max-width: none;
}

/* 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;
}

.ent-stacked {
	margin-top: 10px;
}

.btn.btn-solid {
	background: var(--gold-deep);
	color: #fff;
}

/* 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}
