/* Basic modern reset */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; color: #1e2022; background: #f7f8fa; }

.container { width: min(1120px, 92%); margin: 0 auto; }

/* Banner (logo) */
.site-header { background: #ffffff; border-bottom: 1px solid #e5e7eb; position: relative; z-index: 10; }
.header-inner { display: flex; align-items: center; justify-content: flex-start; padding: 64px 0; min-height: 200px;
	background: url('../img/branding/top.png') no-repeat center top / cover; border-bottom: 0; }
.brand { font-weight: 800; font-size: 22px; text-decoration: none; color: #0f172a; }

/* Separate navigation bar UNDER the banner */
.nav-bar { background: #ffffff; border-top: 1px solid #e5e7eb; border-bottom: 1px solid #e5e7eb; position: relative; z-index: 20; }
.nav { position: relative; }
.nav-toggle { display: none; }
.nav-menu { display: flex; gap: 18px; list-style: none; margin: 0; padding: 10px 0; }
.nav-menu a { text-decoration: none; color: #0f172a; padding: 8px 10px; border-radius: 6px; font-weight: 700; }
.nav-menu a:hover { background: #f1f5f9; }

@media (max-width: 1100px) {
	.header-inner { padding: 40px 0; min-height: 140px; }
	.nav-toggle { display: inline-block; background: #ffffff; border: 1px solid #e5e7eb; padding: 6px 10px; border-radius: 6px; cursor: pointer; }
	.nav-menu { display: none; position: absolute; right: 0; top: 100%; background: #ffffff; border: 1px solid #e5e7eb; box-shadow: 0 6px 18px rgba(0,0,0,0.08); border-radius: 10px; padding: 8px; min-width: 220px; z-index: 20; }
	.nav-menu.open { display: block; }
	.nav-menu li { margin: 6px 0; }
	.nav-menu a { display: block; }
}

.site-main { padding: 28px 0 48px; }
.hero { background: #ffffff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 24px; }
.hero h1 { margin-top: 0; font-size: 28px; }
.grid { display: grid; gap: 16px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 860px){ .grid.two { grid-template-columns: 1fr; } }

.card { background: #ffffff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 20px; }
.card h2 { margin-top: 0; font-size: 20px; }
.card p { margin: 6px 0 0; }

/* Footer limited to container; background sits on inner wrapper */
.site-footer { background: #ffffff; border-top: 1px solid #e5e7eb; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; gap: 12px; flex-wrap: wrap;
	background: url('../img/branding/bottom.png') repeat-x center top; }
.footer-nav a { color: #0f172a; text-decoration: none; margin-right: 12px; }
.copy { margin: 0; color: #475569; font-size: 14px; }

body { background: #f0f2f5; }

