:root{
  --topgreen:#00539F;
  --headergreen:#00539F;
  --text:#1b1b1b;
  --muted:#666;
  --white:#fff;
  --max: 1120px;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:#fff;
  line-height:1.65;
  overflow-x:hidden;
}
a{color:inherit;text-decoration:none}
a:hover{opacity:.95}
.container{max-width:var(--max); margin:0 auto; padding:0 22px}

.topbar{
  background:#df7734;
}
.topbar .container{
  display:flex;
  align-items:center;
  justify-content:left;
  gap:14px;
  color:var(--white);
  font-weight:700;
  font-size:14px;
	padding:5px;
}
.topbar svg{width:24px;height:24px;fill:var(--white)}

.header{
  background:#00539F;
}
.headerinner{
  min-height:96px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}
.brand{
  display:flex;
  align-items:center;
  gap:14px;
  min-width:180px;
}
.brand img{
  width:88px;height:64px;
  object-fit:contain;
  display:block;
}
.nav{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:22px;
  flex:1;
  flex-wrap:nowrap;
  margin:0;
  padding:0;
}
.nav > li{list-style:none; position:relative}
.nav > li > a, .nav > li > button{
  -webkit-appearance:none;
  appearance:none;
  margin:0;
  font:inherit;
  background:none;
  border:none;
  padding:10px 0;
  color:var(--white);
  font-size:18px;
  font-weight:800;
  line-height:1.1;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  white-space:nowrap;
}
.nav .caret{
  line-height:1;
  display:inline-flex;
  align-items:center;
  display:inline-block;
  margin-left:8px;
  transform: translateY(0px);
  font-size:13px;
  opacity:.95;
}
 .sub{
  position:absolute;
  top:calc(100% - 6px);
  left:-10px;
  background:rgba(255,255,255,.98);
  border:1px solid rgba(0,0,0,.18);
  min-width:240px;
  padding:10px 0;
  display:none;
  z-index:60;
  box-shadow:0 8px 22px rgba(0,0,0,.18);
}
.sub a{
  display:block;
  padding:10px 14px;
  color:#1b1b1b;
  font-size:16px;
  font-weight:700;
}
.sub a:hover{background:rgba(0,0,0,.06)}
.hasSub:hover .sub{display:block}
.hasSub:focus-within .sub{display:block}
.hasSub.open .sub{display:block}


.heroimg{
  width:100%;
  height:480px;
  object-fit:cover;
  display:block;
}

main{padding:28px 0 56px}
h1{
  font-size:50px;
  line-height:1.15;
  margin:0 0 14px;
  font-weight:900;
}
h2{
  font-size:34px;
  line-height:1.2;
  margin:26px 0 10px;
  font-weight:900;
}
h3{
  font-size:24px;
  line-height:1.2;
  margin:22px 0 10px;
  font-weight:900;
}
p{margin:0 0 16px; font-size:19px; color:#2a2a2a}
ul{margin:0 0 16px; padding-left:22px; font-size:19px; color:#2a2a2a}
li{margin:6px 0}

.figure{
  margin:18px 0 0;
  border:1px solid rgba(0,0,0,.14);
}
.figure img{width:100%; height:auto; display:block}

.btn{
  display:inline-block;
  margin:8px 0 18px;
  padding:12px 18px;
  background:#FF6A00;
  color:#fff;
  font-weight:900;
  border-radius:4px;
}
.btn:hover{opacity:.95}

.grid2{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
  align-items:start;
}
.card{
  border:1px solid rgba(0,0,0,.14);
  padding:18px;
}
.table{
  width:100%;
  border-collapse:collapse;
  border:1px solid rgba(0,0,0,.14);
  font-size:18px;
}
.table th,.table td{
  padding:12px 12px;
  border-bottom:1px solid rgba(0,0,0,.14);
  text-align:left;
}
.table th{background:#f4f4f4}

label{display:block; font-size:16px; font-weight:800; margin:12px 0 6px}
input, textarea{
  width:100%;
  padding:12px 12px;
  border:1px solid rgba(0,0,0,.18);
  border-radius:4px;
  font:inherit;
}
textarea{min-height:160px; resize:vertical}

.footer{
  border-top:1px solid rgba(0,0,0,.14);
  padding:22px 0 32px;
  color:#ffffff;
  font-size:14px;
	background:#d79a33;
}

.mobiletoggle{
  display:none;
  width:46px;height:46px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.45);
  background: rgba(255,255,255,.12);
}
.mobiletoggle svg{width:24px;height:24px;fill:var(--white)}
.mobilenav{
  display:none;
  padding:14px 0 18px;
}
.mobilenav a{
  display:block;
  padding:10px 0;
  color:var(--white);
  font-size:18px;
  font-weight:800;
  border-top:1px solid rgba(255,255,255,.22);
}
.mobilenav a:first-child{border-top:none}

@media (max-width: 1120px){
  .nav{gap:20px}
  .nav > li > a, .nav > li > button{
  -webkit-appearance:none;
  appearance:none;
  margin:0;
  font:inherit;font-size:18px}
}

@media (max-width: 980px){
  .nav{display:none}
  .tools{min-width:auto}
  .mobiletoggle{display:inline-flex; align-items:center; justify-content:center}
  .brand{min-width:auto}
  .headerinner{padding:14px 0; min-height:0}
  .heroimg{height:360px}
  h1{font-size:40px}
  p,ul{font-size:18px}
  .grid2{grid-template-columns:1fr}
}

@media (max-width: 1180px){
  .nav{display:none}
  .mobiletoggle{display:inline-flex; align-items:center; justify-content:center}
  .headerinner{padding:14px 0; min-height:0}
}

.hasSub{position:relative;}

/* Hover bridge so submenu doesn't disappear when moving cursor down */
.hasSub::after{
  content:"";
  position:absolute;
  left:-10px;
  right:-10px;
  top:100%;
  height:14px;
}

h4{
  font-size:22px;
  line-height:1.2;
  margin:18px 0 10px;
  font-weight:900;
}

/* Homepage intro: text left, two small images stacked right (like the example site) */
.homeintro{
  display:grid;
  grid-template-columns: 1fr 360px;
  gap:28px;
  align-items:start;
  margin-top:10px;
}
.homeintro h2{
  margin-top:0;
}
.homeintro-right{
  display:flex;
  flex-direction:column;
  gap:18px;
}
.homeintro-right .figure{
  margin:0;
}
.homeintro-right img{
  width:100%;
  height:auto;
  display:block;
}
@media (max-width: 980px){
  .homeintro{
    grid-template-columns:1fr;
  }
}
