:root {
  --color-primary: #62c86b;
  --color-primary-dark: #2e8b57;
  --color-secondary: #176b3a;
  --color-secondary-dark: #0e522d;
  --color-accent: #f4b942;
  --color-ink: #173026;
  --color-ink-soft: #40564b;
  --color-cream: #f5faf5;
  --color-line: #d9e4dc;
  --color-danger: #c0392b;
  --font-display: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --radius: 10px;
  --shadow-soft: 0 4px 18px #10241a14;
  --shadow-pop: 0 20px 60px #10241a59;
  --header-height: 132px;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;
  --brand-light: #62c86b;
  --brand-soft: #eaf7ec;
  --brand-mid: #3daa5a;
  --brand-deep: #176b3a;
  --text-primary: #173026;
  --text-secondary: #40564b;
  --surface: #fff;
  --surface-soft: #f5faf5;
  --border: #d9e4dc;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-cream);
  -webkit-font-smoothing: antialiased;
  margin: 0;
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--color-ink);
  margin: 0 0 .5em;
  line-height: 1.15;
}

p {
  margin: 0 0 1em;
  line-height: 1.65;
}

a {
  color: var(--color-primary-dark);
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  font-family: var(--font-body);
  cursor: pointer;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

.btn {
  border: 2px solid #0000;
  border-radius: 999px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  font-size: .95rem;
  font-weight: 600;
  transition: transform .15s,box-shadow .15s,background .15s;
  display: inline-flex;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--brand-light);
  color: #12301d;
  border-color: var(--brand-light);
}

.btn-primary:hover {
  background: #4fb95c;
  border-color: #4fb95c;
}

.btn-outline {
  color: inherit;
  background: 0 0;
  border-color: currentColor;
}

.btn-outline:hover {
  background: #ffffff1f;
}

.btn-secondary {
  background: var(--color-secondary);
  color: #fff;
}

.btn-secondary:hover {
  background: var(--color-secondary-dark);
}

.btn-sm {
  border-radius: 8px;
  padding: 8px 16px;
  font-size: .85rem;
}

.site-header {
  z-index: 200;
  font-family: var(--font-body);
  position: sticky;
  top: 0;
}

.topbar {
  color: var(--color-ink-soft);
  background: #eaf6ea;
  font-size: .82rem;
}

.topbar .container {
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
  height: 34px;
  display: flex;
}

.mainbar {
  background: var(--brand-mid);
  color: #fff;
}

.mainbar .container {
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  height: 76px;
  display: flex;
}

.brand {
  color: #fff;
  align-items: center;
  gap: 12px;
  display: flex;
}

.brand img {
  background: #fff;
  border-radius: 6px;
  width: auto;
  height: 60px;
  padding: 4px;
}

.brand-text {
  flex-direction: column;
  line-height: 1.15;
  display: flex;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
}

.brand-text span {
  opacity: .9;
  font-size: .78rem;
}

.mainbar-actions {
  align-items: center;
  gap: 12px;
  display: flex;
  margin-left: auto;
}

.mainbar-actions .btn-outline {
  color: #fff;
  border-color: #fff;
}

.mainbar-actions .btn-outline:hover {
  background: #ffffff26;
}

.navbar {
  border-bottom: 1px solid var(--color-line);
  background: #fff;
  z-index: 501;
  position: relative;
  box-shadow: 0 1px #1730260a;
}

.navbar .container {
  justify-content: space-between;
  align-items: center;
  height: 54px;
  display: flex;
}

.nav-list {
  gap: 4px;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
}

.nav-item {
  align-items: center;
  display: flex;
  position: relative;
}

.nav-link {
  height: 54px;
  color: var(--text-primary);
  white-space: nowrap;
  align-items: center;
  gap: 4px;
  padding: 0 14px;
  font-size: .92rem;
  font-weight: 600;
  display: flex;
}

.nav-link:hover,
.nav-item.open .nav-link {
  color: var(--color-primary-dark);
}

.nav-caret {
  font-size: .65rem;
  transition: transform .15s;
}

.nav-item.open .nav-caret {
  transform: rotate(180deg);
}

.dropdown {
  border: 1px solid var(--color-line);
  min-width: 260px;
  box-shadow: 0 14px 35px #17302629;
  opacity: 0;
  visibility: hidden;
  background: #fff;
  border-radius: 0 0 10px 10px;
  padding: 8px;
  transition: opacity .15s,transform .15s,visibility .15s;
  position: absolute;
  top: 100%;
  left: 0;
  transform: translateY(-6px);
  z-index: 1000;
}

.nav-item.open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  color: var(--color-ink);
  border-radius: 6px;
  padding: 10px 14px;
  font-size: .9rem;
  font-weight: 500;
  display: block;
}

.dropdown a:hover {
  background: var(--color-cream);
  color: var(--color-primary-dark);
}

.mobile-toggle {
  color: #fff;
  background: 0 0;
  border: none;
  padding: 6px;
  display: none;
}

.hero {
  color: #fff;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  align-items: center;
  min-height: 610px;
  display: flex;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero:before {
  content: "";
  background: linear-gradient(180deg,rgba(4,35,20,.04) 0%,rgba(4,35,20,.08) 48%,rgba(4,35,20,.34) 100%);
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-inner {
  z-index: 2;
  padding: 0 16px 18px;
  position: relative;
  max-width: 1180px;
  height: 100%;
  min-height: 610px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.hero h1 {
  max-width: 780px;
  font-size: clamp(2.2rem,5vw,3.6rem);
  text-shadow: 0 2px 12px #00000052;
  letter-spacing: -.025em;
}

.hero p.lead {
  opacity: 1;
  max-width: 440px;
  font-size: .72rem;
  color: #155c34;
  text-shadow: none;
  font-weight: 600;
}

.stats-bar {
  background: linear-gradient(180deg,#ffffff 0%,#f7fbf8 100%);
  color: var(--brand-deep);
  position: relative;
  padding: 0;
  box-shadow: inset 0 1px #fff,0 3px 12px rgba(23,48,38,.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid #e3eee6;
}

.stats-grid {
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 16px;
  padding: 16px 0;
  display: grid;
  position: relative;
  z-index: 1;
}

.stat-item {
  align-items: center;
  gap: 10px;
  display: flex;
  min-height: 62px;
  padding: 8px 12px;
  border: 1px solid rgba(61,170,90,.24);
  border-radius: 12px;
  background: linear-gradient(135deg,#e6f6eb 0%,#d8f0df 100%);
  box-shadow: 0 4px 12px rgba(23,48,38,.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.stat-icon {
  background: rgba(255,255,255,.58);
  border-radius: 10px;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  display: flex;
  border: 1px solid rgba(72,151,93,.20);
  color: var(--brand-deep);
  flex: 0 0 auto;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.05;
  color: #174c2d;
  white-space: nowrap;
}

.stat-label {
  opacity: 1;
  margin-top: 3px;
  font-size: .74rem;
  font-weight: 600;
  color: #315b42;
  line-height: 1.15;
  white-space: nowrap;
}

.section {
  padding: var(--space-6) 0;
  background: #fff;
}

.section-alt {
  background: #fff;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 44px;
}

.eyebrow {
  color: var(--color-secondary-dark);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 10px;
  font-size: .78rem;
  font-weight: 700;
  display: inline-block;
}

.section-head h2 {
  font-size: clamp(1.7rem,3vw,2.3rem);
}

.pillars-grid {
  gap: var(--space-3);
  grid-template-columns: repeat(4,1fr);
  display: grid;
}

.pillar-card {
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  background: #fff;
  padding: 26px 22px;
  transition: transform .18s,box-shadow .18s;
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px #12241c24;
}

.pillar-icon {
  background: var(--color-cream);
  width: 52px;
  height: 52px;
  color: var(--color-secondary-dark);
  border-radius: 14px;
  justify-content: center;
  align-items: center;
  margin-bottom: 16px;
  display: flex;
}

.pillar-card h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.pillar-card p {
  color: var(--color-ink-soft);
  font-size: .92rem;
}

.pillar-card a.card-link {
  color: var(--color-primary-dark);
  font-size: .88rem;
  font-weight: 700;
}

.stories-grid {
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
  display: grid;
}

.story-card {
  border-radius: var(--radius);
  border: 1px solid var(--color-line);
  box-shadow: var(--shadow-soft);
  background: #fff;
  overflow: hidden;
}

.story-card .thumb {
  background-position: 50%;
  background-size: cover;
  background-color: var(--color-line);
  height: 180px;
}

.story-card .body {
  padding: 20px;
}

.story-card .cat {
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--color-secondary-dark);
  font-size: .72rem;
  font-weight: 700;
}

.story-card h3 {
  margin: 8px 0;
  font-size: 1.05rem;
}

.newsletter {
  background: var(--color-ink);
  color: #fff;
  border-radius: 16px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 18px;
  padding: 28px 30px;
  display: flex;
  flex-direction: column;
}

.newsletter h2 {
  color: #fff;
  margin-bottom: 6px;
  font-size: 1.32rem;
}

.newsletter p {
  color: #ffffffbf;
  margin: 0;
  font-size: .84rem;
  line-height: 1.5;
}

.newsletter-form {
  flex-wrap: wrap;
  gap: 8px;
  display: grid;
  width: 100%;
  grid-template-columns: 1fr 1fr auto;
}

.newsletter-form input {
  min-width: 0;
  font-size: .85rem;
  font-family: var(--font-body);
  border: none;
  border-radius: 999px;
  padding: 11px 13px;
  width: 100%;
}

.popup-overlay {
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  z-index: 999;
  background: #0a140f99;
  justify-content: center;
  align-items: center;
  padding: 20px;
  animation: .25s fadeIn;
  display: flex;
  position: fixed;
  inset: 0;
}

.popup-card {
  width: 100%;
  max-width: 460px;
  box-shadow: var(--shadow-pop);
  background: #fff;
  border-radius: 16px;
  animation: .3s cubic-bezier(.2,.8,.2,1) popIn;
  overflow: hidden;
}

.popup-banner {
  background-position: 50%;
  background-size: cover;
  height: 130px;
  position: relative;
}

.popup-banner:after {
  content: "";
  background: linear-gradient(#0000 40%,#0000008c 100%);
  position: absolute;
  inset: 0;
}

.popup-body {
  text-align: center;
  padding: 24px 26px 28px;
}

.popup-body h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.popup-body p {
  color: var(--color-ink-soft);
  font-size: .95rem;
}

.popup-close {
  color: #fff;
  z-index: 2;
  background: #00000059;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 1.1rem;
  position: absolute;
  top: 10px;
  right: 10px;
}

.site-footer {
  background: #173026;
  color: #ffffffd9;
  padding: 60px 0 0;
}

.footer-grid {
  border-bottom: 1px solid #ffffff1f;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 44px;
  display: grid;
}

.footer-grid h4 {
  color: #fff;
  margin-bottom: 16px;
  font-size: .95rem;
}

.footer-grid p {
  color: #ffffffbd;
  font-size: .88rem;
}

.footer-grid ul {
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
}

.footer-grid a {
  color: #ffffffbf;
  font-size: .88rem;
}

.footer-grid a:hover {
  color: #fff;
}

.footer-brand {
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  display: flex;
}

.footer-brand img {
  background: #fff;
  border-radius: 6px;
  height: 46px;
  padding: 3px;
}

.footer-brand strong {
  color: #fff;
  font-family: var(--font-display);
}

.social-row {
  gap: 10px;
  margin-top: 16px;
  display: flex;
}

.social-row a {
  background: #ffffff1a;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  display: flex;
}

.social-row a:hover {
  background: var(--color-primary);
}

.footer-bottom {
  color: #ffffffad;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 18px 0;
  font-size: .8rem;
  display: flex;
}

.footer-credit {
  color: #ffffff80;
  border-top: 1px solid #ffffff1a;
  padding: 10px 0 4px;
  font-family: "Source Sans 3", var(--font-body);
  font-size: 13px;
  font-weight: 500;
  text-align: center;
}

.footer-credit a {
  color: inherit;
  font-weight: 500;
  text-decoration: none;
}

.footer-credit a:hover {
  color: #ffffffc7;
}

.page-hero {
  background: linear-gradient(135deg,#f7faf8 0%,#eef6f1 100%);
  color: #173026;
  padding: 58px 0 46px;
  border-bottom: 1px solid #d6e3da;
  box-shadow: inset 0 -1px #fff;
}

.page-hero h1 {
  font-size: clamp(1.8rem,4vw,2.6rem);
  color: #173026;
  letter-spacing: -.025em;
}

.breadcrumb {
  opacity: .85;
  margin-bottom: 10px;
  font-size: .82rem;
}

.prose {
  max-width: 820px;
  color: var(--color-ink-soft);
  font-size: 1.02rem;
  line-height: 1.75;
}

.prose h2 {
  color: var(--color-ink);
  margin-top: 1.4em;
  font-size: 1.4rem;
  padding-top: .35em;
}

.auth-wrap {
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 120px);
  padding: 60px 20px;
  display: flex;
  background: linear-gradient(180deg,#f6faf7 0%,#eef4f0 100%);
}

.auth-card {
  box-shadow: 0 14px 40px rgba(23,48,38,.09);
  background: #fff;
  border-radius: 16px;
  width: 100%;
  max-width: 400px;
  padding: 40px;
  border: 1px solid #d9e5de;
}

.auth-card h1 {
  text-align: center;
  font-size: 1.5rem;
}

.auth-card p.sub {
  text-align: center;
  color: var(--color-ink-soft);
  margin-bottom: 26px;
  font-size: .9rem;
}

.field {
  text-align: left;
  margin-bottom: 16px;
}

.field label {
  margin-bottom: 6px;
  font-size: .85rem;
  font-weight: 600;
  display: block;
}

.field input,
.field select,
.field textarea {
  border: 1px solid var(--color-line);
  width: 100%;
  font-size: .95rem;
  font-family: var(--font-body);
  border-radius: 8px;
  padding: 11px 14px;
}

.field textarea {
  resize: vertical;
}

.form-error {
  color: var(--color-danger);
  background: #fdecea;
  border-radius: 8px;
  margin-bottom: 16px;
  padding: 10px 14px;
  font-size: .88rem;
}

.form-success {
  color: var(--color-secondary-dark);
  background: #eaf7ee;
  border-radius: 8px;
  margin-bottom: 16px;
  padding: 10px 14px;
  font-size: .88rem;
}

/* .newsletter p{color:#ffffffbf} (a generic rule for the dark newsletter
   card's intro paragraph) is more specific than .form-error/.form-success
   alone, so it was silently overriding the status message's text color to
   near-white -- making success/error text unreadable against its own light
   background. These scoped overrides win regardless of element type. */
.newsletter .form-error,
.newsletter .form-success {
  color: var(--color-danger);
}

.newsletter .form-success {
  color: var(--color-secondary-dark);
}

.admin-sidebar .brand-mini {
  border-bottom: 1px solid #ffffff1a;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  display: flex;
  min-height: 76px;
}

.admin-sidebar .brand-mini img {
  background: #fff;
  border-radius: 6px;
  height: 38px;
  padding: 2px;
}

.admin-nav {
  flex-direction: column;
  flex: 1;
  gap: 2px;
  margin: 0;
  padding: 14px 12px;
  list-style: none;
  display: flex;
}

.admin-nav a,
.admin-nav button {
  color: #ffffffc7;
  text-align: left;
  background: 0 0;
  border: none;
  border-radius: 9px;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 11px 14px;
  font-size: .9rem;
  font-weight: 500;
  display: flex;
  min-height: 42px;
}

.admin-card {
  border: 1px solid var(--color-line);
  padding: var(--space-3);
  margin-bottom: var(--space-3);
  background: #fff;
  border-radius: 12px;
}

.admin-card h2 {
  font-size: 1.15rem;
}

table.admin-table {
  border-collapse: collapse;
  width: 100%;
  font-size: .88rem;
  background: #fff;
}

table.admin-table th,
table.admin-table td {
  text-align: left;
  border-bottom: 1px solid var(--color-line);
  vertical-align: top;
  padding: 10px 12px;
}

table.admin-table th {
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: .03em;
  font-size: .78rem;
  font-weight: 600;
  background: #f5faf5;
}

.badge {
  border-radius: 999px;
  padding: 3px 10px;
  font-size: .74rem;
  font-weight: 700;
  display: inline-block;
}

.badge-active {
  color: var(--color-secondary-dark);
  background: #eaf7ee;
}

.badge-suspended {
  color: var(--color-danger);
  background: #fdecea;
}

.stat-cards {
  grid-template-columns: repeat(auto-fit,minmax(180px,1fr));
  gap: 16px;
  margin-bottom: 24px;
  display: grid;
}

.stat-card {
  border: 1px solid var(--color-line);
  background: #fff;
  border-radius: 12px;
  padding: 18px;
}

.stat-card .num {
  font-family: var(--font-display);
  color: var(--brand-deep);
  font-size: 1.8rem;
  font-weight: 800;
}

.stat-card .lbl {
  color: var(--color-ink-soft);
  font-size: .82rem;
}

.row-actions {
  gap: 8px;
  display: flex;
}

.icon-btn {
  border: 1px solid var(--color-line);
  background: 0 0;
  border-radius: 6px;
  padding: 5px 9px;
  font-size: .8rem;
}

.icon-btn.danger {
  color: var(--color-danger);
  border-color: #f2c9c4;
}

.nav-link.active {
  color: var(--color-primary-dark);
}

.nav-dropdown-button {
  cursor: pointer;
  background: 0 0;
  border: 0;
  font-family: inherit;
}

.contact-grid {
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  display: grid;
}

.contact-list {
  flex-direction: column;
  gap: 14px;
  padding: 0;
  list-style: none;
  display: flex;
}

.contact-list li {
  align-items: flex-start;
  gap: 10px;
  display: flex;
}

.admin-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 12px;
}

button,
input,
select,
textarea {
  font: inherit;
}

.nav-link:hover,
.nav-item.open .nav-link,
.nav-link.active {
  color: var(--brand-deep);
}

.footer-policies {
  border-top: 1px solid #ffffff1f;
  border-bottom: 1px solid #ffffff1f;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  padding: 22px 0;
  display: flex;
}

.footer-policies strong {
  color: #fff;
  margin-right: 4px;
}

.footer-policies a {
  color: #ffffffc7;
  font-size: .86rem;
}

.footer-policies a:hover {
  color: #fff;
  text-decoration: underline;
}

.admin-sidebar .brand-mini div {
  flex-direction: column;
  gap: 2px;
  display: flex;
}

.admin-sidebar .brand-mini strong {
  font-size: .96rem;
}

.admin-sidebar .brand-mini span {
  color: #ffffff94;
  font-size: .68rem;
}

.admin-nav a:hover,
.admin-nav a.active {
  color: #fff;
  background: #62c86b29;
}

.admin-nav a.active {
  box-shadow: inset 3px 0 0 var(--brand-light);
}

.admin-nav-bottom {
  border-top: 1px solid #ffffff1a;
  flex: 0;
}

.admin-topbar-left {
  align-items: center;
  gap: 12px;
  display: flex;
}

.admin-role {
  color: var(--text-secondary);
  text-transform: capitalize;
  margin-top: 2px;
  font-size: .76rem;
}

.admin-content>h1 {
  margin-bottom: 8px;
  font-size: clamp(1.7rem,2.5vw,2.25rem);
}

.admin-card,
.stat-card {
  border-color: var(--border);
  border-radius: 14px;
  box-shadow: 0 2px 10px #17302609;
}

table.admin-table tbody tr:hover {
  background: #fbfdfb;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--brand-mid);
  outline-offset: 0;
  outline: 3px solid #62c86b2e;
}

.admin-menu-toggle {
  border: 1px solid var(--border);
  color: var(--text-primary);
  background: #fff;
  border-radius: 8px;
  padding: 8px;
  display: none;
}

.admin-overlay {
  display: none;
}

.page-hero .breadcrumb {
  color: #567064;
  opacity: 1;
  font-weight: 600;
}

.auth-card .btn-secondary {
  background: #176b3a;
  border-color: #176b3a;
  color: #fff;
}

.auth-card .btn-secondary:hover {
  background: #12572f;
  border-color: #12572f;
}

.password-field {
  position: relative;
  display: flex;
  align-items: center;
}

.password-field input {
  padding-right: 68px;
}

.password-toggle {
  position: absolute;
  right: 7px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: #176b3a;
  border-radius: 6px;
  padding: 5px 7px;
  font-size: .78rem;
  font-weight: 700;
  cursor: pointer;
}

.password-toggle:hover {
  background: #eaf4ed;
}

.password-toggle:focus-visible {
  outline: 3px solid #62c86b66;
  outline-offset: 1px;
}

.hero-message {
  margin: 0 auto;
  max-width: 440px;
  padding: 4px 12px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 10px;
  background: rgba(247,252,248,.86);
  box-shadow: 0 4px 14px rgba(8,45,25,.12);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #155c34;
  text-align: center;
  font-size: .72rem;
  font-weight: 600;
  line-height: 1.3;
  text-shadow: none;
}

.stats-bar:before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  pointer-events: none;
}

.mission-vision-section {
  padding: 42px 0 30px;
  background: linear-gradient(180deg,#fff 0%,#f7fbf8 100%);
}

.mission-vision-head {
  margin: 0 auto 20px;
}

.mission-vision-head h2 {
  color: var(--text-primary);
}

.mission-vision-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 20px;
  max-width: 980px;
  margin: 0 auto;
}

.mission-vision-card {
  border: 1px solid var(--border);
  border-radius: 15px;
  background: rgba(255,255,255,.88);
  padding: 25px 28px;
  box-shadow: 0 10px 30px rgba(23,48,38,.07);
  position: relative;
  overflow: hidden;
}

.mission-vision-card:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg,var(--brand-light),var(--brand-deep));
}

.mission-vision-card .eyebrow {
  margin-bottom: 8px;
}

.mission-vision-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin: 0 0 10px;
  color: var(--brand-deep);
}

.mission-vision-card p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: .91rem;
}

.stats-grid .stat-item:nth-child(4) .stat-num {
  font-size: 1.16rem;
}

.pillars-section {
  padding: 18px 0 46px;
}

.pillars-section .section-head {
  margin: 0 auto 18px;
}

.closing-section {
  padding: 42px 0 50px;
}

.closing-grid {
  display: grid;
  grid-template-columns: minmax(0,1.08fr) minmax(360px,.92fr);
  gap: 26px;
  align-items: stretch;
}

.partners-panel {
  min-width: 0;
  padding: 22px 24px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(180deg,#fff 0%,#f7fbf8 100%);
  box-shadow: 0 8px 24px rgba(23,48,38,.06);
  overflow: hidden;
}

.partners-panel h2 {
  font-size: 1.35rem;
  margin: 3px 0 5px;
  color: var(--text-primary);
}

.partners-panel p {
  color: var(--text-secondary);
  font-size: .86rem;
  margin-bottom: 18px;
}

.partners-marquee {
  overflow: hidden;
  position: relative;
  margin: 0 -4px;
}

.partners-track {
  display: flex;
  width: max-content;
  gap: 14px;
  animation: eud-partners-scroll 28s linear infinite;
}

.partners-panel:hover .partners-track,
.partners-panel:focus-within .partners-track {
  animation-play-state: paused;
}

.partner-item {
  width: 138px;
  min-height: 88px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex: 0 0 auto;
  box-shadow: 0 4px 12px rgba(23,48,38,.04);
}

.partner-item a,
.partner-item>div {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text-primary);
}

.partner-item img {
  width: 100%;
  height: 44px;
  object-fit: contain;
}

.partner-item strong {
  font-size: .76rem;
  line-height: 1.25;
  font-weight: 700;
}

.partner-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--brand-soft);
  color: var(--brand-deep);
  display: flex;
  align-items: center;
  justify-content: center;
}

.newsletter-form .btn {
  padding: 10px 16px;
  font-size: .84rem;
  white-space: nowrap;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes popIn {
  0% {
    opacity: 0;
    transform: scale(.92)translateY(10px);
  }

  to {
    opacity: 1;
    transform: scale(1)translateY(0);
  }
}

@keyframes eud-partners-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 7px));
  }
}

/* Admin shell layout: fixed-height app frame with a persistent sidebar,
   a card-style topbar (raised off the very top edge, not flush against it),
   and an independently scrolling content pane. This is the single source of
   truth for these selectors -- do not add a second, competing definition
   elsewhere in this file; only responsive breakpoint overrides belong in the
   @media blocks below. */

.admin-shell {
  display: flex;
  height: 100dvh;
  min-height: 100dvh;
  overflow: hidden;
  background: #f4f7f4;
}

.admin-sidebar {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  width: 258px;
  background: #173026;
  color: #fff;
  position: fixed;
  inset: 0 auto 0 0;
  height: 100dvh;
  overflow: hidden;
  z-index: 1000;
}

.admin-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  height: 100dvh;
  overflow: hidden;
}

.admin-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 50;
  position: relative;
  top: auto;
  flex: 0 0 auto;
  margin: 16px 18px 0;
  padding: 14px 22px;
  min-height: 68px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(23,48,38,.06);
}

.admin-content {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 24px 28px 40px;
  max-width: none;
  width: auto;
  margin: 0;
}

.admin-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.admin-section-title h2 {
  margin: 0;
}

.danger-text {
  color: var(--color-danger);
  border-color: #e9c2bc;
}

.news-ticker {
  display: flex;
  justify-content: center;
  padding: 12px 20px;
}

.news-ticker .container {
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  white-space: nowrap;
  overflow: hidden;
  width: fit-content;
  max-width: 100%;
  padding: 9px 30px;
  background: #fff7ed;
  border: 1px solid #f2d3ad;
  clip-path: polygon(16px 0, 100% 0, calc(100% - 16px) 100%, 0 100%);
}

.news-ticker strong {
  color: #a13b16;
  font-family: "Poppins", var(--font-display);
  font-size: .74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  flex: 0 0 auto;
}

.news-ticker a {
  color: #7c3015;
  font-family: "Poppins", var(--font-display);
  font-weight: 700;
  font-size: .82rem;
  max-width: 320px;
  text-overflow: ellipsis;
  overflow: hidden;
}

.news-ticker a:hover {
  text-decoration: underline;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 20px;
}

.news-card {
  border: 1px solid var(--border);
  border-radius: 15px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(23,48,38,.06);
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.news-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
}

.news-card-body {
  padding: 18px;
}

.news-card-body h3 {
  margin: 4px 0 8px;
  color: var(--brand-deep);
  font-size: 1.08rem;
  line-height: 1.3;
}

.news-card-body p {
  margin: 0 0 12px;
  color: var(--text-secondary);
  font-size: .9rem;
  line-height: 1.6;
  white-space: pre-line;
}

.news-card-body a {
  color: var(--brand-deep);
  font-weight: 700;
  font-size: .84rem;
}

.news-badge {
  display: inline-flex;
  padding: 4px 9px;
  border-radius: 999px;
  background: #fff0e8;
  color: #a13b16;
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.news-urgent {
  border-color: #e7b59d;
  animation: eud-news-pulse 1.5s ease-in-out infinite;
}

.news-urgent .news-badge {
  animation: eud-news-blink 1s steps(2,end) infinite;
}

@keyframes eud-news-pulse {
  0%, 100% {
    box-shadow: 0 8px 22px rgba(23,48,38,.06);
  }

  50% {
    box-shadow: 0 8px 24px rgba(161,59,22,.18);
  }
}

@keyframes eud-news-blink {
  50% {
    opacity: .45;
  }
}

.popup-urgent .popup-card {
  border: 2px solid #d46a3d;
  box-shadow: 0 18px 60px rgba(120,45,15,.28);
}

.popup-urgent .popup-body h3 {
  color: #a13b16;
}

@media (max-width:900px) {
  .mainbar .container {
    height: 64px;
  }

  .brand img {
    height: 46px;
  }

  .mobile-toggle {
    display: flex;
  }

  .navbar {
    display: none;
    box-shadow: var(--shadow-soft);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
  }

  .navbar.mobile-open {
    display: block;
  }

  .navbar .container {
    flex-direction: column;
    align-items: stretch;
    height: auto;
    padding: 8px 0;
    max-height: calc(100vh - 98px);
    overflow-y: auto;
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
  }

  .nav-item {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .nav-link {
    height: auto;
    padding: 12px 24px;
    justify-content: space-between;
    width: 100%;
  }

  .dropdown {
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    border: none;
    padding-left: 12px;
    display: none;
    position: static;
    transform: none;
    width: 100%;
    min-width: 0;
  }

  .nav-item.open .dropdown {
    display: block;
  }

  .topbar {
    display: none;
  }

  .stories-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .admin-sidebar {
    transform: translateX(-105%);
    overflow: hidden;
  }

  .admin-sidebar.open {
    transform: translateX(0);
  }

  .admin-overlay {
    z-index: 999;
    background: #00000059;
    border: 0;
    padding: 0;
    display: block;
    position: fixed;
    inset: 0;
  }

  .admin-menu-toggle {
    display: inline-flex;
  }

  .admin-view-site {
    display: inline-flex;
  }

  .hero,
  .hero-inner {
    min-height: 520px;
  }

  .hero-inner {
    padding: 0 16px 18px;
  }

  .mission-vision-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .closing-grid {
    grid-template-columns: 1fr;
  }

  .newsletter-form {
    grid-template-columns: 1fr 1fr auto;
  }

  .admin-topbar {
    margin: 10px 10px 0;
    padding: 11px 14px;
    min-height: 64px;
  }

  .admin-content {
    padding: 20px 14px 34px;
  }

  .admin-main {
    margin-left: 0;
  }

  .news-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    min-height: 520px;
    background-size: cover;
  }
}

@media (max-width:980px) {
  .pillars-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width:800px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width:700px) {
  .newsletter {
    text-align: center;
    flex-direction: column;
    align-items: stretch;
  }

  .newsletter-form {
    justify-content: center;
  }

  .newsletter-form input {
    flex: 1;
    min-width: 0;
  }
}

@media (max-width:640px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .mainbar .container {
    height: 70px;
  }

  .brand-text strong {
    font-size: .92rem;
  }

  .brand-text span {
    font-size: .7rem;
  }

  .mainbar-actions {
    gap: 7px;
    margin-left: auto;
  }

  .mainbar-actions .btn-sm {
    padding: 8px 10px;
  }

  .hero {
    min-height: 520px;
    background-size: auto 100%;
    background-position: center center;
  }

  .hero-inner {
    padding: 0 16px 18px;
    min-height: 520px;
  }

  .hero h1 {
    font-size: clamp(2rem,11vw,3rem);
  }

  .hero p.lead {
    font-size: .68rem;
  }

  .hero-message {
    padding: 5px 10px;
    font-size: .68rem;
    border-radius: 10px;
    max-width: 92%;
  }

  .stats-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    padding: 12px 16px;
    gap: 10px;
  }

  .stat-item {
    min-height: 60px;
    padding: 7px 8px;
    gap: 8px;
  }

  .stat-num {
    font-size: 1.12rem;
  }

  .stats-grid .stat-item:nth-child(4) .stat-num {
    font-size: 1rem;
  }

  .stat-label {
    font-size: .68rem;
    white-space: normal;
    line-height: 1.2;
  }

  .mission-vision-section {
    padding: 34px 0 24px;
  }

  .mission-vision-card {
    padding: 22px 20px;
  }

  .mission-vision-card h3 {
    font-size: 1.18rem;
  }

  .mission-vision-card p {
    font-size: .94rem;
    line-height: 1.65;
  }

  .pillars-section {
    padding: 16px 0 40px;
  }

  .pillars-section .section-head {
    margin-bottom: 16px;
  }

  .pillars-section .section-head .eyebrow {
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .09em;
    margin-bottom: 8px;
    padding-bottom: 5px;
  }

  .pillars-section .section-head h2 {
    font-size: clamp(1.65rem,7vw,2.1rem);
    font-weight: 800;
    line-height: 1.15;
    margin: 0;
  }

  .pillars-section .section-head p {
    margin-top: 12px;
    line-height: 1.5;
    font-size: .9rem;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .pillar-card {
    padding: 20px 18px;
  }

  .pillar-card h3 {
    font-size: 1rem;
  }

  .pillar-card p {
    font-size: .88rem;
  }

  .closing-section {
    padding: 28px 0 36px;
  }

  .partners-panel {
    padding: 18px 16px;
  }

  .partners-panel h2 {
    font-size: 1.18rem;
  }

  .partners-panel p {
    font-size: .82rem;
    margin-bottom: 12px;
  }

  .partner-item {
    width: 128px;
    min-height: 82px;
    padding: 9px;
  }

  .partner-item img {
    height: 40px;
  }

  .partner-item strong {
    font-size: .72rem;
  }

  .partner-icon {
    width: 34px;
    height: 34px;
  }

  .newsletter {
    padding: 22px 18px;
  }

  .newsletter-form {
    grid-template-columns: 1fr;
  }

  .newsletter-form .btn {
    width: 100%;
  }

  .admin-topbar {
    padding: 10px 14px;
    min-height: 64px;
  }

  .admin-topbar-left {
    min-width: 0;
  }

  .admin-topbar-left>div:last-child {
    min-width: 0;
  }

  .admin-topbar-left strong {
    font-size: .9rem;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 190px;
  }

  .admin-role {
    font-size: .7rem;
  }

  .admin-view-site {
    font-size: .78rem;
    padding: 8px 10px;
  }

  .admin-menu-toggle {
    padding: 7px;
  }

  .admin-card,
  .stat-card {
    border-radius: 12px;
  }

  .stat-cards {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 10px;
  }

  .stat-card {
    padding: 14px;
  }

  .stat-card .num {
    font-size: 1.55rem;
  }

  .admin-topbar {
    margin: 8px 8px 0;
    border-radius: 12px;
  }

  .admin-content {
    padding: 18px 12px 30px;
  }

  .admin-section-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-section-title .btn {
    width: 100%;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .news-card img {
    height: 128px;
  }

  .news-card-body {
    padding: 15px;
  }

  .news-ticker .container {
    justify-content: flex-start;
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero,
  .hero-inner {
    min-height: 520px;
  }

  .hero {
    background-size: cover;
    background-position: center center;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    max-width: 100%;
    overflow: hidden;
  }

  .stat-item {
    min-width: 0;
  }
}

@media (max-width:420px) {
  .hero,
  .hero-inner {
    min-height: 500px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-item {
    min-height: 56px;
  }

  .admin-view-site {
    font-size: .72rem;
  }

  .admin-topbar-left strong {
    max-width: 145px;
  }

  .news-card img {
    height: 115px;
  }
}

/* Desktop only: offset the main pane by the sidebar's width. Every other
   admin-shell property is already set in the base rules above and applies
   at all viewport widths, so it is not repeated here. */

@media (min-width:901px) {
  .nav-item:hover>.dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .admin-main {
    margin-left: 258px;
  }
}

@media (prefers-reduced-motion:reduce) {
  *,
  :before,
  :after {
    scroll-behavior: auto;
    transition-duration: .01ms;
    animation-duration: .01ms;
    animation-iteration-count: 1;
  }

  .partners-track,
  .news-urgent,
  .news-urgent .news-badge {
    animation: none;
  }
}

/* Strategic Focus visual treatment */

.pillars-section .section-head .eyebrow {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  margin-bottom: 8px;
  position: relative;
  padding-bottom: 5px;
}

.pillars-section .section-head .eyebrow:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--brand-light);
  border-radius: 999px;
}

.pillars-section .section-head h2 {
  font-weight: 800;
  line-height: 1.15;
  margin: 0;
}

.pillars-section .section-head p {
  margin-top: 12px;
  line-height: 1.55;
}