:root {
  --ink: #153b2c;
  --green: #1d5038;
  --lime: #d7e7a9;
  --cream: #f8f8f1;
  --muted: #657568;
  --line: #dce1d5;
  --gold: #be9858;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.7;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
img {
  max-width: 100%;
}
h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-family: 'Manrope', sans-serif;
  line-height: 1.15;
  letter-spacing: -0.045em;
}
h1 {
  font-size: clamp(2.7rem, 4.5vw, 4.5rem);
  font-weight: 500;
}
h2 {
  font-size: clamp(2rem, 3.4vw, 3.25rem);
  font-weight: 500;
}
h3 {
  font-size: 1.4rem;
  letter-spacing: -0.025em;
}
em {
  font-family: Georgia, serif;
  font-weight: 400;
  color: #688557;
}
p {
  color: var(--muted);
}
.wrap {
  width: min(1320px, 90%);
  margin: auto;
}
.header {
  height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Manrope', sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.7px;
}
.brand img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 50%;
  mix-blend-mode: multiply;
}
.brand strong {
  display: block;
  font-size: 10px;
  letter-spacing: 3.8px;
  margin-top: 5px;
}
.header nav {
  display: flex;
  gap: 30px;
  font-size: 14px;
  font-weight: 500;
}
.header nav a:hover,
.text-link:hover {
  color: #769348;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: var(--green);
  color: white;
  border: 1px solid var(--green);
  padding: 15px 24px;
  border-radius: 6px;
  font-weight: 500;
  line-height: 1.5;
  transition: background 0.2s;
}
.button:hover {
  background: #123524;
}
.button.small {
  padding: 12px 19px;
  font-size: 14px;
}
.button.light {
  background: var(--lime);
  color: var(--ink);
  border-color: var(--lime);
}
.button.outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.button:disabled {
  opacity: 0.55;
  cursor: wait;
}
.hero {
  display: grid;
  grid-template-columns: 1.04fr 1fr;
  gap: 40px;
  padding-top: 60px;
  padding-bottom: 65px;
  align-items: center;
}
.eyebrow {
  display: block;
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 700;
  margin-bottom: 23px;
}
.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #809c59;
  margin-right: 9px;
}
.hero h1 {
  margin-bottom: 24px;
}
.hero p {
  max-width: 430px;
  font-size: 17px;
}
.actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.text-link {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
}
.hero-foot {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-top: 44px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}
.hero-foot svg {
  color: var(--green);
}
.hero-foot strong {
  font-weight: 500;
}
.hero-art {
  height: 560px;
  position: relative;
}
.hero-image {
  height: 100%;
  border-radius: 160px 8px 8px 8px;
  background: #24513c url('../images/hero.png') center/cover;
}
.image-caption {
  position: absolute;
  bottom: 24px;
  left: 30px;
  right: 25px;
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: white;
  letter-spacing: 1.5px;
  text-shadow: 0 1px 3px black;
}
.floating-note {
  position: absolute;
  bottom: 90px;
  left: -34px;
  background: var(--cream);
  padding: 20px 26px;
  display: flex;
  align-items: center;
  gap: 18px;
  border-radius: 5px;
  box-shadow: 0 12px 35px #12352422;
  font-size: 15px;
  line-height: 1.5;
}
.floating-note svg {
  width: 36px;
  height: 36px;
  color: #70934f;
}
.floating-note strong {
  font-weight: 500;
}
.ribbon {
  background: var(--green);
  color: #e2e7d3;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  gap: 15px;
  padding: 24px 5%;
  font-size: 11px;
  letter-spacing: 2px;
}
.ribbon b {
  color: var(--lime);
  font-size: 25px;
  line-height: 1;
}
.section {
  padding-top: 90px;
  padding-bottom: 90px;
}
.intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 100px;
}
.intro > .eyebrow {
  grid-column: 1/-1;
}
.intro h2 {
  grid-row: 2/4;
}
.intro p {
  margin-bottom: 25px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 45px;
  padding-top: 65px;
  padding-bottom: 55px;
}
footer {
  background: #143b2d;
  color: #e3ecde;
}
footer p {
  color: #b5c7b9;
  font-size: 14px;
}
footer a {
  display: block;
  font-size: 14px;
  margin-bottom: 9px;
}
footer .eyebrow {
  color: #a9c48b;
  font-size: 10px;
}
.footer-brand {
  font-family: Manrope, sans-serif;
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-bottom {
  border-top: 1px solid #ffffff22;
  display: flex;
  justify-content: space-between;
  padding-top: 23px;
  padding-bottom: 23px;
  color: #b5c7b9;
  font-size: 12px;
}
:focus-visible {
  outline: 3px solid #a98b35;
  outline-offset: 4px;
}
::selection {
  background: var(--lime);
  color: var(--ink);
}
@media (max-width: 1000px) {
  .header nav {
    gap: 16px;
  }
  .header > .button {
    display: none;
  }
  .hero {
    gap: 25px;
  }
  .hero-art {
    height: 490px;
  }
  .intro {
    column-gap: 45px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 680px) {
  .header {
    height: auto;
    min-height: 110px;
    flex-wrap: wrap;
    gap: 10px;
    padding: 15px 0;
  }
  .brand img {
    width: 43px;
    height: 43px;
  }
  .brand {
    font-size: 18px;
  }
  .header nav {
    width: 100%;
    justify-content: space-between;
    font-size: 13px;
    gap: 8px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 35px;
    gap: 40px;
  }
  .hero-art {
    height: 390px;
    margin-left: 18px;
  }
  .hero-image {
    border-top-left-radius: 110px;
  }
  .floating-note {
    left: -18px;
    padding: 15px 20px;
  }
  .hero-foot {
    margin-top: 25px;
  }
  .hero h1 {
    font-size: 2.8rem;
  }
  .ribbon {
    flex-wrap: wrap;
    font-size: 9px;
    gap: 12px;
    padding: 20px;
  }
  .ribbon b {
    font-size: 16px;
  }
  .section {
    padding-top: 55px;
    padding-bottom: 55px;
  }
  .intro {
    display: block;
  }
  .footer-grid {
    gap: 25px;
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid > div:first-child {
    grid-column: 1/-1;
  }
  .footer-bottom {
    flex-wrap: wrap;
    gap: 12px;
  }
  .eyebrow {
    font-size: 10px;
    letter-spacing: 1.5px;
  }
  .actions {
    gap: 20px;
  }
}
.page-heading {
  padding-top: 65px;
  padding-bottom: 45px;
  max-width: 1320px;
}
.page-heading h1 {
  max-width: 930px;
  font-size: clamp(2.8rem, 4.2vw, 4rem);
}
.page-heading p {
  font-size: 18px;
  max-width: 690px;
}
.compact {
  padding-top: 15px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 35px;
}
.section-heading h2 {
  margin-bottom: 0;
}
.purpose-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}
.purpose-grid > div {
  padding: 40px;
  background: #edf0e4;
  border: 1px solid #dfe5d3;
  border-radius: 6px;
}
.purpose-grid > div + div {
  background: #e3ebd7;
}
.purpose-grid svg {
  margin-bottom: 22px;
}
.purpose-grid .eyebrow {
  margin-bottom: 15px;
}
.purpose-grid h3 {
  font-size: 27px;
  font-weight: 500;
  margin-bottom: 22px;
}
.purpose-grid p {
  margin-bottom: 0;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.category-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 30px;
  transition:
    background 0.2s,
    transform 0.2s;
}
.category-card:hover {
  background: #eef2e5;
  transform: translateY(-3px);
}
.card-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 32px;
  color: #73905b;
}
.card-top span {
  font-size: 12px;
  color: #75836e;
}
.category-card h3 {
  font-size: 21px;
  line-height: 1.3;
  min-height: 56px;
}
.category-card p {
  font-size: 14px;
  line-height: 1.8;
  flex: 1;
}
.category-card .text-link {
  margin-top: 14px;
  font-size: 13px;
}
.category-card:last-child {
  grid-column: span 3;
  display: grid;
  grid-template-columns: 70px 1fr 1.5fr;
  gap: 30px;
  align-items: center;
}
.category-card:last-child .card-top {
  margin: 0;
  flex-direction: column;
  gap: 15px;
}
.category-card:last-child h3 {
  min-height: 0;
  margin: 0;
}
.category-card:last-child p {
  margin: 0;
}
.category-card:last-child > .text-link {
  grid-column: 3;
}
.projects-section {
  background: #edf0e7;
}
.status-overviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-bottom: 35px;
}
.status-overviews > a {
  border-top: 1px solid #bac9ad;
  padding: 20px 0;
}
.status-overviews span {
  font-size: 11px;
  letter-spacing: 1px;
  color: #657950;
}
.status-overviews h3 {
  font-size: 18px;
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.status-overviews p {
  font-size: 13px;
  margin: 0;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}
.project-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--cream);
  transition: box-shadow 0.2s;
}
.project-card:hover {
  box-shadow: 0 12px 30px #153b2c12;
}
.project-image {
  height: 235px;
  position: relative;
  overflow: hidden;
}
.project-image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.project-card:hover img {
  transform: scale(1.035);
}
.project-placeholder {
  height: 100%;
  background: #dae5cc;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 15px;
  color: #6d8855;
  font-size: 12px;
}
.badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
}
.badge.ongoing {
  background: #e0edcd;
  color: #315b25;
}
.badge.done {
  background: #e0eae6;
  color: #28524a;
}
.badge.future {
  background: #f4e9d2;
  color: #765921;
}
.project-image > .badge {
  position: absolute;
  top: 15px;
  left: 15px;
}
.project-body {
  padding: 25px;
}
.project-body > .eyebrow {
  font-size: 9px;
  line-height: 1.6;
  margin-bottom: 12px;
}
.project-body h3 {
  font-size: 23px;
  line-height: 1.3;
}
.project-body p {
  font-size: 14px;
  margin-top: 17px;
  overflow-wrap: anywhere;
}
.place {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
}
.empty-state {
  padding: 45px;
  text-align: center;
  border: 1px dashed #c4cebb;
  border-radius: 8px;
  background: #ffffff50;
}
.empty-state > svg {
  margin: 0 auto 18px;
  color: #78965c;
}
.empty-state h3 {
  font-size: 23px;
  font-weight: 500;
}
.empty-state p {
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}
.empty-state.large {
  padding: 70px 25px;
}
.support {
  margin-top: 70px;
  margin-bottom: 80px;
  padding: 50px 60px;
  background: #234d36;
  border-radius: 8px;
  color: white;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 70px;
  align-items: center;
}
.support h2 {
  font-size: 40px;
  margin-bottom: 0;
}
.support em {
  color: #c3d598;
}
.support p {
  color: #c4d2c4;
}
.support .eyebrow {
  color: #c3d598;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 75px;
  align-items: center;
}
.about-photo {
  position: relative;
  height: 550px;
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px 100px 8px 8px;
}
.about-photo span {
  position: absolute;
  bottom: 25px;
  left: 25px;
  color: white;
  letter-spacing: 2px;
  font-size: 10px;
}
.commitment-section {
  background: #edf0e6;
}
.commitments {
  list-style: none;
  padding: 0;
  margin: 0;
}
.commitments li {
  display: flex;
  gap: 18px;
  padding: 17px 0;
  border-bottom: 1px solid #d4dccb;
  font-size: 15px;
}
.commitments svg {
  flex-shrink: 0;
  color: #73905b;
  margin-top: 4px;
}
.certificate-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.certificate-section > a {
  background: #e8edde;
  padding: 25px 70px;
  border-radius: 8px;
}
.certificate-section img {
  display: block;
  max-height: 420px;
  margin: auto;
  box-shadow: 0 8px 25px #153b2c20;
}
.certificate-section dl {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 8px;
  font-size: 14px;
  margin: 25px 0;
}
.certificate-section dt {
  color: var(--muted);
}
.certificate-section dd {
  margin: 0;
}
.filters {
  display: flex;
  gap: 20px;
  align-items: flex-end;
  padding: 25px;
  background: #edf0e6;
  border-radius: 8px;
}
.filter-field {
  flex: 1;
}
.filter-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}
.filters select {
  width: 100%;
}
.filters .text-link {
  padding-bottom: 13px;
  white-space: nowrap;
}
.results-line {
  font-size: 13px;
  color: var(--muted);
  margin: 25px 0;
}
input,
select,
textarea {
  border: 1px solid #d7dfd0;
  background: #fff;
  color: var(--ink);
  padding: 12px 14px;
  border-radius: 5px;
  width: 100%;
  min-width: 0;
  outline-offset: 2px;
}
textarea {
  resize: vertical;
}
label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
}
label input,
label textarea,
label select {
  display: block;
  margin-top: 8px;
  font-weight: 400;
}
label small {
  display: block;
  text-align: right;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
}
select {
  max-width: 100%;
}
.form-card {
  border: 1px solid var(--line);
  background: #fff;
  padding: 35px;
  border-radius: 8px;
}
.form-card > h3 {
  margin-bottom: 25px;
}
.form-card > p {
  font-size: 14px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.checkbox {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-weight: 400;
  line-height: 1.6;
}
.checkbox input {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  margin: 3px 0 0;
  accent-color: var(--green);
}
.fine-print {
  font-size: 12px !important;
  line-height: 1.7;
  color: var(--muted);
  margin-top: 18px;
}
.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.alert {
  background: #f3f1e5;
  border: 1px solid #e7dfc1;
  padding: 17px 20px;
  border-radius: 6px;
  font-size: 14px;
  margin-bottom: 22px;
}
.alert p {
  font-size: 14px;
  margin: 8px 0 0;
}
.alert.error {
  background: #fff1ed;
  border-color: #f1cdc3;
  color: #943a2b;
}
.alert.success {
  background: #eaf2df;
  color: #355827;
  display: flex;
  align-items: center;
  gap: 10px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.3fr;
  gap: 75px;
}
.contact-detail {
  display: flex;
  gap: 20px;
  margin: 25px 0 40px;
}
.contact-detail svg {
  color: #799159;
  margin-top: 3px;
}
.contact-detail h3 {
  font-size: 19px;
  margin-bottom: 10px;
}
.contact-detail p,
.contact-detail a {
  font-size: 15px;
}
.contact-note {
  background: #e6eddc;
  padding: 30px;
  border-radius: 7px;
}
.contact-note h3 {
  font-size: 25px;
  margin-top: 15px;
}
.contact-note p {
  font-size: 14px;
  margin-bottom: 0;
}
.success > svg {
  color: #73905b;
  margin-bottom: 25px;
}
.donate-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
}
.donate-photo {
  position: relative;
  border-radius: 100px 8px 8px 8px;
  overflow: hidden;
}
.donate-photo > img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.donate-photo > div {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent, #143b2dd9);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
  color: white;
}
.donate-photo h2 {
  font-size: 38px;
  margin-top: 20px;
}
.donate-causes {
  list-style: none;
  padding: 0;
  margin: 25px 0;
}
.donate-causes li {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 10px 0;
  font-size: 15px;
}
.donate-causes svg {
  color: #789559;
}
.project-detail-heading {
  max-width: 950px;
  padding: 45px 0;
}
.project-detail-heading h1 {
  margin-top: 25px;
}
.project-detail-heading p {
  font-size: 20px;
  margin-top: 25px;
}
.detail-cover {
  width: 100%;
  max-height: 650px;
  object-fit: cover;
  border-radius: 8px;
}
.description {
  max-width: 850px;
  margin: 60px auto;
  overflow-wrap: anywhere;
}
.prose p {
  color: var(--ink);
}
.prose ul,
.prose ol {
  padding-left: 25px;
  list-style: revert;
}
.prose a {
  text-decoration: underline;
  color: #4e7633;
}
.prose blockquote {
  border-left: 3px solid #789559;
  padding-left: 20px;
  margin-left: 0;
}
.prose table {
  border-collapse: collapse;
  width: 100%;
}
.prose td,
.prose th {
  border: 1px solid var(--line);
  padding: 10px;
}
.prose h2 {
  font-size: 32px;
}
.prose figure.table {
  overflow: auto;
  margin: 20px 0;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.gallery img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 7px;
}
.admin-shell {
  display: flex;
  background: #f3f5ef;
  min-height: 100vh;
}
.admin-sidebar {
  width: 250px;
  flex-shrink: 0;
  position: fixed;
  top: 0;
  bottom: 0;
  background: #173e2d;
  color: #d9e4d3;
  padding: 30px 23px;
  display: flex;
  flex-direction: column;
}
.admin-brand {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 58px;
  font-size: 20px;
  line-height: 1.3;
}
.admin-brand img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
}
.admin-brand small {
  display: block;
  letter-spacing: 3px;
  font-size: 9px;
  margin-top: 6px;
}
.admin-sidebar > .eyebrow {
  font-size: 10px;
  color: #92ab88;
  padding-left: 12px;
  margin-bottom: 17px;
}
.admin-sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.admin-sidebar nav button {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #c6d5be;
  font-size: 14px;
  text-align: left;
}
.admin-sidebar nav button.active {
  background: #dce9bc;
  color: #214832;
}
.admin-sidebar nav button:hover:not(.active) {
  background: #ffffff12;
}
.admin-sidebar nav b {
  margin-left: auto;
  background: #446836;
  color: white;
  border-radius: 100%;
  font-size: 10px;
  padding: 0 5px;
}
.sidebar-bottom {
  margin-top: auto;
}
.sidebar-bottom > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  padding: 12px 10px;
}
.admin-tip {
  padding: 20px;
  background: #ffffff08;
  border: 1px solid #ffffff13;
  border-radius: 8px;
  margin-bottom: 22px;
}
.admin-tip svg {
  color: #bcce9b;
}
.admin-tip p {
  color: #b9ccb0;
  font-size: 13px;
  margin: 12px 0 0;
}
.admin-main {
  margin-left: 250px;
  width: calc(100% - 250px);
  min-width: 0;
}
.admin-topbar {
  height: 86px;
  border-bottom: 1px solid #dce2d6;
  background: #fafbf7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  font-size: 13px;
  color: #7b8974;
}
.admin-topbar strong {
  color: var(--ink);
  font-weight: 500;
}
.admin-account {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
}
.avatar {
  width: 33px;
  height: 33px;
  border-radius: 50%;
  background: #e3ebd6;
  color: #526d3b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  flex-shrink: 0;
}
.admin-content {
  padding: 42px;
  max-width: 1600px;
  margin: auto;
}
.admin-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  margin-bottom: 32px;
}
.admin-heading .eyebrow {
  font-size: 9px;
  margin-bottom: 12px;
}
.admin-heading h1 {
  font-size: 30px;
  line-height: 1.3;
  letter-spacing: -1px;
  margin-bottom: 8px;
}
.admin-heading p {
  font-size: 14px;
  margin-bottom: 0;
}
.admin-heading .button {
  font-size: 13px;
  padding: 12px 17px;
  gap: 10px;
  white-space: nowrap;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}
.stats-grid > div {
  background: #fff;
  border: 1px solid var(--line);
  padding: 22px;
  border-radius: 8px;
}
.stats-grid > div > span {
  font-size: 13px;
  color: var(--muted);
}
.stats-grid strong {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 37px;
  font-weight: 500;
  margin-top: 13px;
  line-height: 1;
}
.stat-mark {
  background: #edf2e4;
  border-radius: 10px;
  padding: 11px;
  color: #7d9661;
}
.mark-2 {
  background: #e8eeeb;
  color: #708c82;
}
.mark-3 {
  background: #f4eedf;
  color: #b09760;
}
.admin-welcome {
  padding: 32px;
  background: #244b35;
  color: white;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  gap: 25px;
  align-items: center;
  margin-bottom: 38px;
}
.admin-welcome h2 {
  font-size: 29px;
  margin-bottom: 10px;
}
.admin-welcome p {
  font-size: 14px;
  color: #c3d3b8;
}
.admin-welcome > .lucide {
  color: #8ba86b;
  transform: rotate(-15deg);
  flex-shrink: 0;
}
.admin-welcome .eyebrow {
  font-size: 9px;
  color: #bed39c;
  margin-bottom: 12px;
}
.admin-welcome .button {
  font-size: 12px;
  padding: 10px 18px;
  gap: 12px;
}
.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
}
.panel-heading h3 {
  font-size: 18px;
  margin: 0;
}
.panel-heading button {
  background: none;
  border: 0;
  font-size: 12px;
}
.table-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  overflow: hidden;
}
.table-panel .empty-state {
  border: 0;
  background: white;
  padding: 55px 20px;
}
.table-panel .empty-state h3 {
  font-size: 19px;
}
.table-panel .empty-state p {
  font-size: 13px;
}
.table-panel .empty-state button {
  background: none;
  border: 0;
}
.table-filters {
  padding: 20px;
  display: flex;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}
.search-input {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  margin: 0;
}
.search-input input {
  border: 0;
  background: #f4f6ef;
  margin: 0;
  font-size: 13px;
}
.table-filters > select {
  width: 180px;
  font-size: 13px;
}
.table-scroll {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
th {
  font-size: 11px;
  font-weight: 500;
  color: #77856f;
  padding: 15px 20px;
  background: #f9faf6;
}
td {
  padding: 18px 20px;
  border-top: 1px solid #e8ecdf;
  font-size: 12px;
}
td strong {
  display: block;
  font-weight: 600;
  font-size: 14px;
  max-width: 360px;
  overflow-wrap: anywhere;
}
td .place {
  font-size: 11px;
  margin-top: 4px;
}
.table-actions {
  display: flex;
  gap: 15px;
  align-items: center;
}
.table-actions button {
  border: 0;
  background: none;
  color: var(--ink);
  padding: 0;
  font-size: 12px;
}
.table-actions button:last-child {
  color: #a36856;
}
.admin-bottom {
  padding: 20px 42px;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #89957e;
}
.project-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
  align-items: start;
}
.project-form > .form-card {
  padding: 28px;
}
.project-form .form-row {
  grid-template-columns: 1fr;
}
.editor-sidebar {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.editor-sidebar .form-card {
  padding: 23px;
}
.editor-sidebar .button {
  width: 100%;
  margin-top: 10px;
  font-size: 13px;
}
.editor-sidebar h3 {
  font-size: 18px;
}
.editor .ck-editor__editable_inline {
  min-height: 330px;
  max-height: 700px;
}
.editor {
  margin-top: 8px;
}
.editor .ck-content {
  font-size: 16px;
}
.editor .ck-content ul,
.editor .ck-content ol {
  list-style: revert;
  padding-left: 24px;
}
.upload-box {
  border: 1px dashed #bacbab;
  background: #f6f8f0;
  border-radius: 6px;
  padding: 25px;
  text-align: center;
  position: relative;
  font-size: 12px;
  color: #6d8355;
}
.upload-box svg {
  display: block;
  margin: 0 auto 10px;
}
.upload-box input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
  margin: 0;
}
.upload-previews {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.upload-previews > div {
  position: relative;
}
.upload-previews img {
  height: 100px;
  object-fit: cover;
  width: 100%;
  border-radius: 4px;
}
.upload-previews button {
  position: absolute;
  right: 3px;
  top: 3px;
  background: white;
  border: 0;
  border-radius: 3px;
  padding: 4px;
  color: #874731;
}
.upload-previews span,
.upload-previews .make-cover {
  position: absolute;
  bottom: 4px;
  top: auto;
  left: 4px;
  right: auto;
  background: #173e2de8;
  color: white;
  padding: 2px 6px;
  font-size: 9px;
  border-radius: 3px;
}
.admin-category-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.admin-category-grid .form-card {
  display: flex;
  flex-direction: column;
  padding: 26px;
}
.admin-category-grid h3 {
  font-size: 20px;
  margin-bottom: 14px;
}
.admin-category-grid p {
  flex: 1;
}
.admin-category-grid button {
  background: none;
  border: 0;
  padding: 0;
}
.category-editor {
  max-width: 850px;
}
.message-row {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: white;
  display: flex;
  align-items: center;
  gap: 17px;
  text-align: left;
  padding: 22px;
  color: var(--ink);
}
.message-row.unread {
  background: #f1f6e8;
}
.message-row strong {
  display: block;
  font-size: 15px;
}
.message-row small {
  font-size: 12px;
  color: var(--muted);
}
.message-row time {
  margin-left: auto;
  font-size: 12px;
  color: var(--muted);
}
.message-detail {
  max-width: 900px;
}
.message-detail h2 {
  font-size: 30px;
  margin: 25px 0;
}
.message-detail > button {
  border: 0;
  background: none;
}
.message-text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  border-top: 1px solid var(--line);
  padding-top: 25px;
  margin: 25px 0 35px;
}
.admin-login {
  min-height: 100vh;
  background: #e9eedf;
  padding: 60px 20px;
}
.admin-login > .footer-brand {
  justify-content: center;
  color: var(--ink);
  margin-bottom: 35px;
}
.admin-login .form-card {
  max-width: 490px;
  margin: auto;
  padding: 45px;
}
.admin-login h1 {
  font-size: 37px;
}
.admin-login .eyebrow {
  margin-top: 25px;
}
.admin-login .text-link {
  display: block;
  margin-top: 24px;
  font-weight: 400;
  font-size: 13px;
}
@media (min-width: 1450px) {
  .project-form .form-row {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 1100px) {
  .category-grid {
    grid-template-columns: 1fr 1fr;
  }
  .category-card:last-child {
    grid-column: span 2;
    display: flex;
    gap: 0;
    align-items: stretch;
  }
  .category-card:last-child .card-top {
    flex-direction: row;
    margin-bottom: 30px;
  }
  .category-card:last-child h3 {
    margin-bottom: 15px;
  }
  .category-card:last-child > .text-link {
    margin-top: 25px;
  }
  .about-grid,
  .contact-grid {
    gap: 35px;
  }
  .admin-sidebar {
    width: 205px;
    padding: 25px 17px;
  }
  .admin-main {
    margin-left: 205px;
    width: calc(100% - 205px);
  }
  .admin-content {
    padding: 28px;
  }
  .admin-topbar {
    padding: 0 28px;
  }
  .project-form {
    grid-template-columns: 1fr;
  }
  .editor-sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .stats-grid {
    gap: 12px;
  }
  .stats-grid > div {
    padding: 17px;
  }
  .stat-mark {
    display: none;
  }
  .support {
    gap: 35px;
    padding: 40px;
  }
  .certificate-section {
    gap: 35px;
  }
  .certificate-section > a {
    padding: 25px;
  }
}
@media (max-width: 780px) {
  .project-grid {
    grid-template-columns: 1fr 1fr;
  }
  .about-grid,
  .contact-grid,
  .donate-grid {
    grid-template-columns: 1fr;
  }
  .about-photo {
    height: 380px;
  }
  .donate-photo {
    height: 380px;
  }
  .filters {
    flex-wrap: wrap;
  }
  .filter-field {
    flex-basis: 100%;
  }
  .purpose-grid > div {
    padding: 28px;
  }
  .support {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .support h2 {
    font-size: 34px;
  }
  .certificate-section {
    grid-template-columns: 1fr;
  }
  .certificate-section > a {
    max-width: 450px;
  }
  .admin-account {
    font-size: 10px;
  }
  .admin-heading {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .admin-welcome > .lucide {
    display: none;
  }
  .admin-category-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .admin-welcome {
    padding: 25px;
  }
  .admin-content {
    padding: 22px;
  }
  .editor-sidebar {
    grid-template-columns: 1fr;
  }
  .form-card {
    padding: 25px;
  }
  .message-row {
    gap: 10px;
    padding: 16px;
  }
  .message-row time {
    display: none;
  }
}
@media (max-width: 680px) {
  .page-heading {
    padding-top: 40px;
    padding-bottom: 25px;
  }
  .page-heading h1 {
    font-size: 2.55rem;
  }
  .page-heading p {
    font-size: 16px;
  }
  .purpose-grid,
  .category-grid,
  .project-grid,
  .status-overviews,
  .form-row,
  .gallery {
    grid-template-columns: 1fr;
  }
  .category-card:last-child {
    grid-column: auto;
  }
  .section-heading {
    display: block;
  }
  .section-heading > p,
  .section-heading > a {
    margin-top: 20px;
  }
  .category-card h3 {
    min-height: 0;
  }
  .category-card {
    padding: 25px;
  }
  .status-overviews {
    gap: 0;
  }
  .status-overviews > a {
    padding: 20px 0;
  }
  .support {
    padding: 30px;
    margin-top: 40px;
    margin-bottom: 45px;
  }
  .support h2 {
    font-size: 30px;
  }
  .form-card {
    padding: 23px;
  }
  .filters {
    padding: 18px;
    gap: 15px;
  }
  .certificate-section dl {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .certificate-section dd {
    margin-bottom: 12px;
  }
  .contact-grid {
    gap: 20px;
  }
  .donate-photo h2 {
    font-size: 32px;
  }
  .project-detail-heading h1 {
    font-size: 2.5rem;
  }
  .project-detail-heading p {
    font-size: 17px;
  }
  .admin-shell {
    display: block;
  }
  .admin-sidebar {
    position: static;
    width: 100%;
    padding: 17px 20px;
  }
  .admin-brand {
    margin-bottom: 20px;
    font-size: 17px;
  }
  .admin-brand img {
    width: 37px;
    height: 37px;
  }
  .admin-sidebar > .eyebrow,
  .sidebar-bottom {
    display: none;
  }
  .admin-sidebar nav {
    flex-direction: row;
    justify-content: space-between;
    gap: 5px;
  }
  .admin-sidebar nav button {
    font-size: 11px;
    padding: 10px 7px;
    gap: 6px;
  }
  .admin-sidebar nav svg {
    width: 15px;
  }
  .admin-main {
    margin: 0;
    width: 100%;
  }
  .admin-topbar {
    height: 60px;
    padding: 0 20px;
    gap: 15px;
    font-size: 11px;
  }
  .admin-account {
    max-width: 190px;
    overflow-wrap: anywhere;
    line-height: 1.3;
  }
  .admin-content {
    padding: 25px 18px;
  }
  .admin-heading h1 {
    font-size: 26px;
  }
  .admin-heading p {
    font-size: 13px;
  }
  .stats-grid strong {
    font-size: 31px;
  }
  .admin-welcome h2 {
    font-size: 26px;
  }
  .admin-bottom {
    padding: 20px 18px;
    flex-wrap: wrap;
    gap: 8px;
  }
  .table-filters {
    flex-wrap: wrap;
    padding: 15px;
    gap: 10px;
  }
  .table-filters > select {
    width: 100%;
  }
  .search-input {
    flex-basis: 100%;
  }
  .admin-login .form-card {
    padding: 30px;
  }
  .project-form > .form-card {
    padding: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Local PHP adaptations. All assets are served by Apache. */
body{font-family:Arial,Helvetica,sans-serif}h1,h2,h3,.brand,.footer-brand{font-family:Arial,Helvetica,sans-serif}h1,h2{font-weight:500}
button{border:0}.icon{display:inline-block;vertical-align:middle;flex-shrink:0}
.skip-link{position:absolute;left:-9999px;top:10px;background:white;padding:12px;z-index:999}.skip-link:focus{left:10px}
.admin-sidebar nav a{display:flex;align-items:center;gap:14px;padding:12px;border-radius:6px;color:#c6d5be;font-size:14px}.admin-sidebar nav a.active{background:#dce9bc;color:#214832}.admin-sidebar nav a:hover:not(.active){background:#ffffff12}.sidebar-logout{background:transparent;color:#d9e4d3;font-size:13px;padding:12px 10px}
.table-actions form{margin:0}.table-actions .danger,.danger{color:#a34332}.table-actions button{cursor:pointer}
.gallery-editor>div{border-top:1px solid var(--line);padding-top:18px;margin-top:18px}.gallery-editor img{width:100%;height:150px;object-fit:cover;border-radius:5px;margin-bottom:15px}.gallery-editor label{font-size:12px}
.admin-welcome>.icon{width:130px;height:130px;color:#8ba86b}.hero-foot>.icon{width:25px;height:25px}.card-top>.icon{width:30px;height:30px}.empty-state>.icon{display:block;width:35px;height:35px}
.editor .ck-editor__editable_inline{min-height:330px}.editor .ck-content p{color:var(--ink)}.editor .ck-content ul,.editor .ck-content ol{padding-left:25px;list-style:revert}
[hidden]{display:none!important}.category-card:last-child{grid-column:auto;display:flex;align-items:stretch;gap:0}.category-card:last-child .card-top{flex-direction:row;margin-bottom:32px}.category-card:last-child h3{margin-bottom:16px}.category-card:last-child p{flex:1}.category-card:last-child>.text-link{margin-top:24px}
@media(max-width:680px){.admin-sidebar nav{flex-wrap:wrap;justify-content:flex-start}.admin-sidebar nav a{font-size:12px;padding:8px;gap:6px}.admin-sidebar nav a .icon{width:16px}.admin-sidebar .sidebar-bottom{display:block;margin-top:10px}.admin-sidebar .admin-tip,.admin-sidebar .sidebar-bottom>a{display:none}.admin-welcome>.icon{display:none}.project-form{display:block}.editor-sidebar{margin-top:20px}.filters .button{width:auto}}
