.vault-gallery img,
.vault-gallery figure img,
.vault-gallery .wp-block-image img {
	height: 400px !important;
	width: auto !important;
	object-fit: contain !important;
	max-height: 400px !important;
	max-width: 100% !important;
	display: block;
	margin: 0 auto;
}

a {
	color: #3b82f6;
/* your preferred blue */
	font-weight: bold;
	text-decoration: none;
/* optional */
}
/* Footer alignment and spacing fix */
.site-footer {
	max-width: 1200px;
/* match your main content column */
	margin: 0 auto;
	padding: 2em 1em;
	text-align: center;
}

.site-footer .wp-block-jetpack-subscriptions,
.site-footer .jetpack-subscriptions,
.site-footer .subscribe-form {
	display: block;
	width: 100%;
	text-align: center;
	margin-top: 1em;
}

.site-footer .wp-block-jetpack-subscriptions__title {
	display: block;
	width: 100%;
	text-align: center;
	margin-bottom: .5em;
	font-style: italic;
}

.site-footer p {
	margin-bottom: .5em;
}

/* Stronger Dawson footer alignment override */
.site-footer,
.footer-widgets,
.site-info,
#colophon {
	max-width: 1200px !important;
	margin: 0 auto !important;
	padding: 2em 1em !important;
	text-align: center !important;
}

.footer-widgets,
.site-footer .widget-area,
.site-footer .jetpack-subscriptions,
.site-footer .subscribe-form,
.site-footer .wp-block-jetpack-subscriptions {
	display: block !important;
	width: 100% !important;
	text-align: center !important;
	margin-top: 1em !important;
}

.site-footer .wp-block-jetpack-subscriptions__title {
	display: block !important;
	width: 100% !important;
	text-align: center !important;
	margin-bottom: .5em !important;
	font-style: italic !important;
}

/* Dawson full-width footer realignment fix */
footer.wp-block-template-part {
	display: block;
	max-width: 1200px;
/* match your content column width */
	margin: 0 auto !important;
	padding: 2em 1em !important;
	text-align: center !important;
}

/* Override inner group alignment */
footer.wp-block-template-part .wp-block-group.alignfull.is-content-justification-left {
	justify-content: center !important;
	align-items: center !important;
	flex-direction: column !important;
	text-align: center !important;
}

/* Jetpack subscribe section fix */
footer.wp-block-template-part .wp-block-jetpack-subscriptions {
	width: 100%;
	margin-top: 1em;
	text-align: center;
}

footer.wp-block-template-part .wp-block-jetpack-subscriptions__title {
	font-style: italic;
	margin-bottom: .5em;
}

/* Subtle footer spacing tighten */
footer.wp-block-template-part {
	margin-top: 1.5em !important;
/* reduces the gap above the footer */
	padding-top: 1.5em !important;
/* trims the top padding slightly */
	padding-bottom: 1.5em !important;
/* keeps visual balance below */
}

footer.wp-block-template-part .wp-block-group.alignfull.is-content-justification-left {
	gap: .75em !important;
/* brings text and subscribe form slightly closer */
}

/* Tighten space between main content and footer */
.wp-site-blocks > :last-child {
	margin-bottom: 0 !important;
}

main > .wp-block-group:last-child,
main > .wp-block-columns:last-child,
main > .wp-block-post-content:last-child {
	margin-bottom: 0 !important;
	padding-bottom: 0 !important;
}

footer.wp-block-template-part {
	margin-top: 1em !important;
/* controls final breathing room */
}

/* Remove default block gap above footer */
.wp-site-blocks {
}

/* Force last content block to sit closer to footer */
.wp-site-blocks > :last-child {
	margin-bottom: 0 !important;
	padding-bottom: 0 !important;
}

/* Fine-tune final breathing room */
footer.wp-block-template-part {
	margin-top: .75em !important;
/* adjust up/down to taste */
}

/* --- FINAL FOOTER GAP FIX --- */
:where(.wp-site-blocks) > :last-child {
	margin-bottom: 0 !important;
	padding-bottom: 0 !important;
}

:where(main),
:where(.wp-block-post-content),
:where(.entry-content),
:where(.wp-block-group),
:where(.wp-block-template-part) {
	margin-bottom: 0 !important;
	padding-bottom: 0 !important;
}

:where(main) + footer.wp-block-template-part {
	margin-top: 0 !important;
	padding-top: 1em !important;
/* adjust for visual breathing room */
}

/* Safety override for any global theme padding */
body .wp-site-blocks {
	padding-bottom: 0 !important;
}

/* --- Final Dawson Footer Spacing Correction --- */
/* Remove any extra space below page/post content */
.wp-block-post-content,
.entry-content,
main.wp-block-group,
main .wp-block-group {
	margin-bottom: 0 !important;
	padding-bottom: 0 !important;
}

/* Remove global layout padding that Dawson applies via variables */
:root {
}
.comment-form, .comment-respond {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
}
/* --- Universal image link hover effect site-wide --- */
a img {
  transition: transform 0.3s ease, opacity 0.3s ease;
  display: block;
}

a:hover img {
  transform: scale(1.02);
  opacity: 0.9;
}
