/* PortaraBlox header, navigation and footer in the portaracqg.com style (GeneratePress look: Oxygen, #333 text,
   white header with the logo left and a bold menu right, pale-blue footer with Contact / Connect columns and a centred
   copyright line), with PortaraBlox's red (#e54440) where portaracqg.com uses its purple accent. Self-contained:
   every rule is scoped to .pbx-* so the Creativo theme's CSS never applies to these blocks. Arthur, 26 Oct 2026. */
.pbx-header, .pbx-footer { font-family: Oxygen, "Open Sans", Arial, sans-serif; font-size: 17px; line-height: 1.8; color: #333; }
.pbx-header *, .pbx-footer * { box-sizing: border-box; }
.pbx-header a, .pbx-footer a { text-decoration: none; transition: color .2s ease; }
.pbx-inner { max-width: 1300px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }

/* ---- header ---- */
.pbx-header { background: #fff; position: relative; z-index: 40; }
.pbx-header .pbx-inner { display: flex; align-items: center; justify-content: space-between; padding-top: 40px; padding-bottom: 40px; }
.pbx-logo { display: block; line-height: 0; }
.pbx-logo img { display: block; width: 150px; height: 74px; max-width: none; }
.pbx-nav-toggle { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.pbx-nav-button { display: none; cursor: pointer; color: #333; font-size: 22px; line-height: 1; padding: 10px; margin: -10px; }
.pbx-nav-button .pbx-close { display: none; }
.pbx-nav-button:hover { color: #e54440; }
.pbx-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.pbx-item { margin: 0; padding: 0; }
.pbx-item a { display: block; padding: 0 30px; line-height: 60px; font-weight: 700; color: #333; }
.pbx-item:last-child a { padding-right: 0; }
.pbx-item a:hover, .pbx-item.pbx-current a { color: #e54440; }

@media (max-width: 1023px) {
	.pbx-header .pbx-inner { flex-wrap: wrap; padding-top: 20px; padding-bottom: 20px; }
	.pbx-nav-button { display: block; }
	.pbx-nav { display: none; width: 100%; border-top: 1px solid #e5e5e5; margin-top: 20px; }
	.pbx-nav-toggle:checked ~ .pbx-nav { display: block; }
	.pbx-nav-toggle:checked ~ .pbx-nav-button .pbx-bars { display: none; }
	.pbx-nav-toggle:checked ~ .pbx-nav-button .pbx-close { display: inline; }
	.pbx-menu { display: block; }
	.pbx-item a { padding: 0; line-height: 50px; border-bottom: 1px solid #f0f0f0; }
	.pbx-item:last-child a { border-bottom: 0; }
}

/* ---- footer ---- */
.pbx-footer { background: #f4f7fc; margin-top: 60px; }
.pbx-footer .pbx-inner { padding-top: 60px; padding-bottom: 40px; }
.pbx-footer-grid { display: flex; gap: 60px; align-items: flex-start; }
.pbx-footer-contact { flex: 2 1 0; min-width: 0; }
.pbx-footer-connect { flex: 1 1 0; min-width: 0; }
/* two classes on purpose: the theme's Tailwind reset has `p:last-of-type { margin-bottom: 0 }`, which outranks a single class */
.pbx-footer .pbx-footer-heading { margin: 0 0 25px; padding: 0 0 2px; border-bottom: 1px solid #333; font-weight: 400; display: table; }
.pbx-footer-heading strong { font-weight: 700; }
.pbx-footer-cols { display: flex; gap: 30px; }
.pbx-footer-cols p { margin: 0; flex: 1 1 0; font-size: 17px; line-height: 30.6px; color: #333; }
.pbx-footer-cols p:first-child { flex-basis: 30%; }
.pbx-accent-text, .pbx-accent-text a { color: #e54440; }
.pbx-accent-text a:hover { color: #c93b37; }
.pbx-social { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }   /* lines up with the first text line of the Contact column */
.pbx-social-button { display: inline-flex; align-items: center; justify-content: center; width: 37px; height: 37px; border-radius: 50px; background: #e54440; color: #fff; font-size: 16px; transition: background .2s ease; }
.pbx-social-button:hover { background: #c93b37; color: #fff; }
.pbx-copyright { text-align: center; margin: 50px 0 0; font-size: 17px; color: #333; }
.pbx-sites { text-align: center; margin: 6px 0 0; font-size: 14px; color: #666; }
.pbx-sites a { color: #666; }
.pbx-sites a:hover { color: #e54440; }

@media (max-width: 767px) {
	.pbx-footer-grid { display: block; }
	.pbx-footer-connect { margin-top: 40px; }
	.pbx-footer-cols { display: block; }
	.pbx-footer-cols p { margin-bottom: 20px; }
}
