/* Hide site info and center footer menu */
.site-info {
	display: none;
}

.footer-navigation .footer-menu {
	justify-content: center;
}

.site-footer {
	flex-wrap: wrap-reverse;
}

/* Hero image block (sharp & full width) */
.full-hero {
	background: none !important;
	margin-bottom: 2em !important;
}

.full-hero img {
	width: 100vw !important;
	max-width: 100vw !important;
	height: auto !important;
	display: block;
	object-fit: contain !important;
	object-position: center !important;
	margin: 0 auto;
	image-rendering: auto;
}

/* Paragraph spacing (frontend + editor) */
p,
.wp-block-paragraph,
.block-editor-block-list__block .block-editor-rich-text__editable,
.editor-styles-wrapper p,
.editor-styles-wrapper .wp-block-paragraph {
	line-height: 1.6 !important;
	margin-bottom: .5em !important;
	margin-top: 0 !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

/* Desktop layout for .block-2 */
@media (min-width: 1024px) {
	.wp-block-group.block-2 {
		max-width: 720px;
		margin-left: auto !important;
		margin-right: auto !important;
	}
}

/* Desktop layout for .block-3 */
@media (min-width: 768px) {
	.wp-block-group.block-3 {
		display: flex !important;
		flex-direction: row !important;
		align-items: center !important;
		justify-content: space-between !important;
		gap: 3em !important;
		flex-wrap: nowrap !important;
	}
	
	.wp-block-group.block-3 > .wp-block-image {
		width: 40% !important;
		flex-shrink: 0 !important;
		margin: 0 !important;
	}
	
	.wp-block-group.block-3 > .wp-block-group {
		width: 60% !important;
		margin: 0 !important;
	}
	
	.wp-block-group.block-3 img {
		width: 100% !important;
		height: auto !important;
		display: block;
		object-fit: contain !important;
		object-position: center !important;
	}
}

/* Mobile spacing adjustments */
@media (max-width: 768px) {
	.full-hero {
		margin-bottom: 2em !important;
	}
	
	.full-hero::before {
		background: none !important;
		opacity: 0 !important;
	}
	
	.wp-block-group.block-2 {
		margin-top: 1.5em !important;
	}
	
	.wp-block-group.block-2 p {
		margin-bottom: .6em !important;
	}
	
	.wp-block-group.block-2 h2,
															  .wp-block-group.block-2 h3,
															  .wp-block-group.block-2 strong {
		font-size: 1.1em !important;
	}
	
	.block-3 img {
		margin-bottom: .2em !important;
	}
	
	.block-3 ul {
		margin-top: 0 !important;
		padding-top: 0 !important;
	}
	
	.block-3 {
		padding-top: 0 !important;
		margin-top: 0 !important;
	}
	
	.wp-block-columns.block-3 {
		padding-bottom: 0 !important;
		margin-bottom: 0 !important;
	}
}

@media (min-width: 768px) {
	.wp-block-columns.block-3 {
		display: flex !important;
		flex-direction: row !important;
		align-items: center !important;
		justify-content: space-between !important;
		gap: 3em !important;
		flex-wrap: nowrap !important;
	}
	
	.wp-block-columns.block-3 > .wp-block-column:first-child {
		width: 40% !important;
		flex-shrink: 0 !important;
		margin: 0 !important;
	}
	
	.wp-block-columns.block-3 > .wp-block-column:last-child {
		width: 58% !important;
		margin: 0 !important;
	}
	
	.wp-block-columns.block-3 img {
		width: 100% !important;
		max-width: 100% !important;
		height: auto !important;
		display: block;
		object-fit: contain !important;
		object-position: center !important;
		margin: 0 auto;
	}
}

@media (min-width: 768px) {
	.wp-block-columns.block-3 {
		flex-wrap: nowrap !important;
		flex-direction: row !important;
		display: flex !important;
		align-items: flex-start !important;
		justify-content: space-between !important;
		gap: 2em !important;
	}
	
	.wp-block-columns.block-3 > .wp-block-column {
		width: auto !important;
		flex: 1 1 0 !important;
		margin: 0 !important;
	}
	
	.wp-block-columns.block-3 > .wp-block-column:first-child {
		max-width: 40% !important;
		flex-basis: 40% !important;
	}
	
	.wp-block-columns.block-3 > .wp-block-column:last-child {
		max-width: 58% !important;
		flex-basis: 58% !important;
	}
	
	.wp-block-columns.block-3 img {
		width: 100% !important;
		height: auto !important;
		max-width: 100% !important;
		display: block !important;
		object-fit: contain !important;
		margin: 0 auto !important;
	}
}

@media (max-width: 767px) {
	.wp-block-columns.block-3 {
		flex-direction: column !important;
		gap: 1em !important;
	}
	
	.wp-block-columns.block-3 > .wp-block-column {
		width: 100% !important;
		max-width: 100% !important;
	}
	
	.wp-block-columns.block-3 img {
		width: 100% !important;
	}
}

.package-list {
	margin-bottom: 1.5em !important;
}

.package-btn {
	max-width: 220px;
	margin: 0 auto;
	display: block;
}

/* About – Credibility block */
.about-cred {
	max-width: 680px;
/* keeps the block centered & readable */
	margin: 40px auto;
/* centers the container */
	padding: 0 12px;
/* light side breathing */
	text-align: left;
}

/* Title & divider */
.about-cred h2,.about-cred h3 {
	text-align: center;
	margin-bottom: 10px;
}

.about-cred .wp-block-separator {
	width: 120px;
/* shorter line under the title */
	height: 3px;
	background: #26655f;
/* your brand green */
	margin: 8px auto 24px;
/* centered */
}

/* Center and narrow the credibility block */
#about-cred {
	max-width: 680px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	padding: 0 12px;
	text-align: left;
}

.hero-mobile {
	display: none !important;
}

/* Show desktop hero on desktop, hide mobile hero */
@media (min-width: 769px) {
	.hero-mobile {
		display: none !important;
	}
	
	.hero-desktop {
		display: block !important;
	}
}

/* Show mobile hero on mobile, hide desktop hero */
@media (max-width: 768px) {
	.hero-desktop {
		display: none !important;
	}
	
	.hero-mobile {
		display: block !important;
	}
}