:root {
  --green: #397251;
  --green-dark: #24533a;
  --green-light: #ecf3ee;
  --ink: #252b27;
  --muted: #607066;
  --line: #dce3de;
  --paper: #ffffff;
  --page: #fdfbdd;
  --content-width: 1160px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}

a { color: inherit; }

a:focus-visible,
button:focus-visible {
  outline: 3px solid #e2a441;
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -4rem;
  left: 1rem;
  z-index: 10;
  padding: .6rem 1rem;
  color: #fff;
  background: var(--green-dark);
}

.skip-link:focus { top: 1rem; }

.header-content,
.news,
.voices,
.footer-content,
.copyright,
.main-content {
  width: min(calc(100% - 2rem), var(--content-width));
  margin-inline: auto;
}

.voices {
  padding-block: 0 4.5rem !important;
}

.site-header { background: var(--page); }

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 120px;
}

.identity {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 1rem;
  align-items: center;
  padding-block: 1rem;
}

.logo {
  grid-row: span 2;
  height: 95px;
  object-fit: contain;
}

.organisation-name,
.tagline { margin: 0;}

.organisation-name { font-size: clamp(1.12rem, 2.5vw, 1.55rem); line-height: 1.2; align-self: end; }
.tagline { color: var(--green-dark); font-style: italic; align-self: start; }

.main-navigation { position: relative; }

.menu-toggle {
  display: none;
  align-items: center;
  gap: .55rem;
  min-height: 44px;
  padding: .45rem .7rem;
  border: 0;
  color: var(--green-dark);
  background: transparent;
  font: inherit;
  font-weight: bold;
  cursor: pointer;
}

.menu-toggle-icon,
.menu-toggle-icon::before,
.menu-toggle-icon::after {
  display: block;
  width: 1.4rem;
  height: 2px;
  background: currentColor;
  content: "";
}

.menu-toggle-icon { position: relative; }
.menu-toggle-icon::before { position: absolute; top: -.42rem; }
.menu-toggle-icon::after { position: absolute; top: .42rem; }

.menu-list,
.footer-links {
  display: flex;
  gap: .15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu-list { gap: clamp(.5rem, 1.8vw, 2rem); }

.menu-list a {
  display: block;
  padding: .55rem 0;
  color: var(--ink);
  font-size: .95rem;
  font-weight: normal;
  text-decoration: none;
}

.menu-list a:hover,
.menu-list a[ariacurrent="page"] { color: var(--green-dark); box-shadow: inset 0 -2px var(--green-dark); }

.hero { position: relative; margin: 0 0 4rem 0; }
.hero > img { display: block; width: 100%; height: clamp(300px, 30vw, 455px); object-fit: cover; object-position: center 56%; }

.hero-overlay {
  position: absolute;
  top: 50%;
  left: max(1rem, calc((100% - var(--content-width)) / 2));
  width: min(30rem, calc(100% - 2rem));
  padding: clamp(1.5rem, 3vw, 2.4rem);
  border-radius: 1rem;
  background: rgb(255 255 255 / 93%);
  box-shadow: 0 12px 30px rgb(20 42 28 / 15%);
  transform: translateY(-50%);
}

.hero-overlay h1 { margin: 0; font-size: clamp(1.4rem, 3vw, 1.6rem); }
.hero-overlay p { margin: 1rem 0 1.3rem; }

.hero-link {
  display: inline-flex;
  gap: .7rem;
  align-items: center;
  padding: .65rem 1.15rem;
  border-radius: 2rem;
  color: #fff;
  background: var(--green-dark);
  font-weight: bold;
  text-decoration: none;
}

.hero-link:hover { background: var(--green); }

.news, .voices { padding-block: 4.5rem; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2rem; }
.section-heading p { margin: .25rem 0 0; color: var(--muted); }
.eyebrow { color: var(--green) !important; font-size: .85rem; font-weight: bold; letter-spacing: .08em; text-transform: uppercase; }
h1, h2 { color: var(--green-dark); line-height: 1.2; }
.section-heading h2 { margin: .2rem 0; font-size: clamp(2rem, 4vw, 2.8rem); }

.section-link {
  flex: 0 0 auto;
  color: var(--green-dark);
  font-weight: bold;
  text-decoration: underline;
  text-underline-offset: .2em;
}

.section-link:hover { color: var(--green); }

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.news-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: .65rem;
  background: var(--paper);
  box-shadow: 0 4px 14px rgb(32 56 41 / 10%);
}

.news-card > img { width: 100%; height: clamp(150px, 14vw, 190px); object-fit: cover; }

.news-card-content { display: flex; flex: 1; flex-direction: column; padding: 1.1rem; }
.news-date { margin: 0; color: var(--muted); font-size: .9rem; }
.news-card h2 { margin: .45rem 0 .65rem; font-size: 1.28rem; }
.news-intro { margin: 0 0 2em 0; }

.read-more {
  align-self: flex-start;
  margin-top: auto;
  padding: .45rem 1rem;
  border: 1px solid var(--green-dark);
  border-radius: .35rem;
  color: var(--green-dark);
  background: transparent;
  font-size: .92rem;
  font-weight: normal;
  text-decoration: none;
}
.read-more:hover { color: #fff; background: var(--green-dark); }

.site-footer { color: #fff; background: var(--green-dark); }
.footer-content { display: flex; justify-content: space-between; gap: 2rem; padding-block: 2.3rem; margin-top: 5rem; }
.footer-content h2 { margin: 0; color: inherit; font-size: 1.1rem; }
.footer-content p { margin: .2rem 0 0; }
.footer-links { flex-wrap: wrap; justify-content: flex-end; gap: .25rem 1.1rem; }
.footer-links a { text-underline-offset: .2em; }
.footer-links a:hover { color: #d7eadc; }
.copyright { margin: 0 auto; padding-block: .9rem; border-top: 1px solid rgb(255 255 255 / 28%); font-size: .88rem; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

section#documents article {
	margin-bottom: 3rem;
}

section#documents article h2 {
	font-size: 1.1rem;
}

section#documents article span.description p {
	margin: 0.1rem;
}
	

section#documents article span.downloadLink {
    background: var(--green-light);
    padding: 0.5rem 1rem 0.5rem 0.5rem;
    border: 1px solid var(--green);
	display: inline-block;
	margin-top: 1.5rem;
}

section#documents article span.downloadLink a {
	text-decoration: none;	
}

section#documents article span.downloadLink img {
    height: 1.1rem;
    margin: -2px 5px;
}


@media (max-width: 899px) {
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .header-content { min-height: 90px; }
  .menu-toggle { display: inline-flex; }
  .menu-list { display: none; position: absolute; top: calc(100% + .5rem); right: 0; z-index: 3; min-width: 14rem; padding: .5rem; border: 1px solid var(--line); border-radius: .4rem; background: #fff; box-shadow: 0 5px 15px rgb(32 56 41 / 14%); }
  .menu-list.is-open { display: block; }
  .menu-list a { padding: .65rem .75rem; }
  .menu-list a:hover, .menu-list a[ariacurrent="page"] { box-shadow: none; background: var(--green-light); }
}

@media (max-width: 650px) {
  .header-content { min-height: 78px; }
  .identity { padding-block: .6rem; }
  .logo { width: 60px; height: 60px; }
  .organisation-name { font-size: 1rem; }
  .tagline { font-size: .85rem; }
  .hero > img { height: 400px; }
  .hero-overlay { top: auto; bottom: 1rem; left: 1rem; width: calc(100% - 2rem); padding: 1.35rem; transform: none; }
  .hero-overlay h1 { font-size: 1.65rem; }
  .news, .voices { padding-block: 3rem; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: .75rem; }
  .news-grid { grid-template-columns: 1fr; }
  .footer-content { display: block; }
  .footer-content nav { margin-top: 1.3rem; }
  .footer-links { justify-content: flex-start; }
}
