/*
 * Odinana — extra front-end styles.
 */

/* Keep the header, main, and footer flush (no gap between full-width sections). */
.wp-site-blocks > * {
	margin-block-start: 0 !important;
}

/* Header: comfortable, standard sizing with the logo aligned to the content container. */
.wp-site-blocks header {
	padding-top: 1rem !important;
	padding-bottom: 1rem !important;
	padding-left: 0 !important;
}
/* Align the header bar's inner content (logo left, nav right) with the 1200px container. */
.wp-site-blocks > header > header {
	padding-left: max(1.5rem, calc((100% - 1200px) / 2)) !important;
	padding-right: max(1.5rem, calc((100% - 1200px) / 2)) !important;
}
/* Force the whole header strip dark so no cream shows around the nav. */
.wp-site-blocks > header {
	background-color: #0d3d2c !important;
}
.wp-site-blocks > header > header {
	background-color: transparent !important;
	width: 100%;
	flex-wrap: nowrap !important;
	gap: 1rem !important;
}
.wp-site-blocks > header > header > .wp-block-group {
	flex: 0 1 auto !important;
	min-width: 0 !important;
	flex-wrap: nowrap !important;
	justify-content: flex-end !important;
}
.wp-site-blocks header .wp-block-navigation {
	flex-wrap: nowrap !important;
}
.wp-site-blocks header .wp-block-navigation a {
	line-height: 1.4 !important;
}
/* Keep the header CTA button compact so the bar stays a sensible height. */
.wp-site-blocks header .wp-block-buttons {
	align-items: center !important;
}
.wp-site-blocks header .wp-block-button__link {
	line-height: 1.4 !important;
	padding-top: 0.6rem !important;
	padding-bottom: 0.6rem !important;
	padding-left: 1.25rem !important;
	padding-right: 1.25rem !important;
	font-size: 0.95rem !important;
}

/* Footer: balanced sizing with room to breathe. */
.wp-site-blocks footer {
	padding-top: 3rem !important;
	padding-bottom: 2.5rem !important;
}
/* Force the whole footer strip dark so no cream shows around it. */
.wp-site-blocks > footer {
	background-color: #0d3d2c !important;
}
/* Spacing between the footer columns and the copyright line. */
.wp-site-blocks footer .wp-block-separator {
	margin-top: 2.5rem !important;
	margin-bottom: 1.5rem !important;
}

/* Footer: stack columns on small screens. */
@media (max-width: 768px) {
	.wp-site-blocks footer .is-content-justification-space-between > .wp-block-group {
		flex-basis: 100% !important;
	}
}

/* Language dropdown (Polylang) in the header. */
.wp-site-blocks header .wp-block-shortcode select,
.wp-site-blocks header select.pll-switcher-select,
.wp-site-blocks header select.pll-lang-dropdown {
	background: #14563f;
	color: #f4ecd8;
	border: 1px solid #c9a227;
	border-radius: 4px;
	padding: 0.4rem 0.6rem;
	font-size: 0.9rem;
	font-family: inherit;
	cursor: pointer;
	line-height: 1.3;
}
.wp-site-blocks header .wp-block-shortcode select:focus,
.wp-site-blocks header select.pll-switcher-select:focus {
	outline: 2px solid #c9a227;
	outline-offset: 1px;
}
