/* Auto-extracted from live /gallery/ Bricks CSS */

.brxe-section {
	align-items: center;
	display: flex;
	flex-direction: column;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
}
.brxe-container {
	align-items: flex-start;
	display: flex;
	flex-direction: column;
	margin-left: auto;
	margin-right: auto;
	width: 1100px;
	max-width: 92%;
}
.brxe-block {
	align-items: flex-start;
	display: flex;
	flex-direction: column;
	width: 100%;
}
.brx-grid { display: grid; grid-template-columns: 1fr; width: 100%; }
.nl-section-padding { padding-top: 50px; padding-bottom: 50px; }
.brxe-section.bricks-lazy-hidden { background-image: unset; }
.bricks-lazy-hidden {
	content-visibility: visible !important;
	opacity: 1 !important;
	visibility: visible !important;
}

.cwf-rich-body {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding-left: 0;
	padding-right: 0;
	overflow: visible;
}
.cwf-rich-body > .cwf-entry-content {
	max-width: none;
	width: 100%;
	padding-left: 0;
	padding-right: 0;
}

/* Isotope-free masonry for Bricks image gallery */
#brxe-lhhfmz {
	background-color: #054060 !important;
}
#brxe-xmqell {
	width: 90%;
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
}
#brxe-zktrdw.brxe-image-gallery,
#brxe-zktrdw.isotope,
#brxe-zktrdw {
	--gutter: 16px;
	--columns: 3;
	display: block !important;
	columns: var(--columns);
	column-gap: var(--gutter);
	list-style: none;
	margin: 0;
	padding: 0;
	width: 100%;
	height: auto !important;
	position: relative !important;
}
#brxe-zktrdw .bricks-layout-item,
#brxe-zktrdw > li {
	break-inside: avoid;
	page-break-inside: avoid;
	margin: 0 0 var(--gutter);
	padding: 0;
	position: static !important;
	left: auto !important;
	top: auto !important;
	width: 100% !important;
	transform: none !important;
	display: block;
}
#brxe-zktrdw .image,
#brxe-zktrdw img {
	display: block !important;
	width: 100% !important;
	height: auto !important;
	max-width: 100%;
	border-radius: 16px;
	box-shadow: 0 0 4px 2px rgba(0, 0, 0, 0.37);
	opacity: 1 !important;
	visibility: visible !important;
}
@media (max-width: 991px) {
	#brxe-zktrdw { --columns: 2; }
	#brxe-xmqell { width: 90%; }
}
@media (max-width: 478px) {
	#brxe-zktrdw { --columns: 1; }
}
.bricks-button {color: #ffffff; font-size: clamp(1.25rem, 1.03125rem + 0.875vw, 1.6875rem); font-family: "Poppins"; font-weight: 600; border-radius: 16px; padding-top: 0.3em; padding-bottom: 0.3em}

.bricks-button:not([class*="bricks-background-"]):not([class*="bricks-color-"]):not(.outline) {background-color: #1c75bc}

:root .bricks-button[class*="primary"] {color: #ffffff; border-radius: 16px}

:root .bricks-button[class*="primary"]:not(.outline) {background-color: #1c75bc}

:root .bricks-button[class*="secondary"]:not(.outline) {background-color: #032356}

:root .bricks-button[class*="secondary"] {border-radius: 16px; color: #ffffff}

:root .bricks-button[class*="light"]:not(.bricks-lightbox) {color: #1c75bc; font-weight: 500; border-radius: 16px}

:root .bricks-button[class*="light"]:not(.outline):not(.bricks-lightbox) {background-color: #ffffff}

:root .bricks-button[class*="dark"] {font-weight: 400; color: #ffffff; border-radius: 16px}

:root .bricks-button[class*="dark"]:not(.outline) {background-color: #032356}

.bricks-button.sm {padding-top: 0.3em; padding-bottom: 0.3em; font-size: clamp(0.875rem, 0.75rem + 0.5vw, 1.125rem)}

.bricks-button.md {padding-top: 0.4em; padding-bottom: 0.4em; font-size: clamp(1.25rem, 1.09375rem + 0.625vw, 1.5625rem)}

.bricks-button.lg {padding-top: 0.5em; padding-bottom: 0.5em; font-size: clamp(1.25rem, 0.9375rem + 1.25vw, 1.875rem)}

#brxe-zktrdw {--gutter: 16px}

#brxe-zktrdw .image {border-radius: 16px; box-shadow: 0 0 4px 2px rgba(0, 0, 0, 0.37)}

@media (max-width: 478px) {
	#brxe-zktrdw {--columns: 1}
}

@media (max-width: 991px) {
	#brxe-xmqell {width: 90%}
}

#brxe-lhhfmz {background-color: #054060}

.bricks-button.bricks-background-secondary.icon-right { padding: 20px 25px !important;}

/* -- GALLERY polish -- */

/* CTA — reinforce live #footer-section photo band */
.page-gallery .cwf-cta,
.cwf-brand-northland.page-gallery .cwf-cta {
	background-color: #054060 !important;
	background-image: url("/wp-content/uploads/2025/11/image-8.webp") !important;
	background-size: cover !important;
	background-position: center center !important;
	background-attachment: scroll !important;
	background-repeat: no-repeat !important;
	padding-top: 100px !important;
	padding-bottom: 100px !important;
}

.page-gallery .cwf-cta::before {
	background: rgba(5, 64, 96, 0.55) !important;
	background-image: none !important;
}

@media (max-width: 991px) {
	.page-gallery .cwf-cta,
	.cwf-brand-northland.page-gallery .cwf-cta {
		padding-top: 50px !important;
		padding-bottom: 50px !important;
	}
}

.page-gallery .cwf-hero--page .cwf-hero__overlay {
	background: rgba(0, 0, 0, 0.83);
}

.page-gallery .cwf-hero--page .cwf-hero__copy .cwf-btn--hero {
	gap: 8px;
	padding: 15px 25px !important;
	border-radius: 16px;
	font-weight: 600;
	letter-spacing: 0.5px;
	background-color: var(--rf-color-secondary);
	color: #ffffff;
}

.page-gallery .cwf-hero--page .cwf-hero__copy .cwf-btn--hero:hover {
	filter: brightness(0.92);
	color: #ffffff;
}

/* Ensure masonry band sits full-bleed navy */
.page-gallery #brxe-lhhfmz.nl-section-padding {
	padding-top: 80px;
	padding-bottom: 80px;
}
