:root {
  --green-900: #071d3b;
  --green-700: #099486;
  --green-100: #e8f7f5;
  --gold-500: #0a8f85;
  --rose-500: #118ab2;
  --teal-500: #099486;
  --ink: #081a3d;
  --muted: #50617d;
  --line: #d9e8ea;
  --cream: #f4f8f8;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(8, 26, 61, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 176px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.skip-link,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  width: auto;
  height: auto;
  margin: 12px;
  padding: 10px 14px;
  clip: auto;
  background: var(--white);
  z-index: 10;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 10px 30px rgba(18, 38, 27, 0.08);
}

.top-bar {
  background: #069487;
  color: var(--white);
  font-size: 0.85rem;
}

.top-bar__inner,
.main-header__inner,
.section__content {
  width: min(1500px, calc(100% - 56px));
  margin-inline: auto;
}

.top-bar__inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.contact-strip,
.social-links,
.contact-strip a,
.contact-list a,
.contact-list span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-strip {
  flex-wrap: wrap;
  gap: 18px;
}

.contact-strip svg,
.contact-list svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.social-links {
  gap: 10px;
  white-space: nowrap;
}

.social-links a {
  opacity: 0.88;
}

.main-header {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(14px);
}

.main-header__inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 260px;
}

.brand__mark {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, #e9f7f5, #ffffff);
  border: 1px solid var(--line);
  color: var(--green-700);
}

.brand__mark svg {
  width: 30px;
  height: 30px;
}

.brand strong {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0;
  line-height: 1.1;
}

.brand small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.78rem;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.92rem;
}

.primary-nav a,
.icon-button,
.nav-toggle {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.primary-nav > a,
.nav-item > a {
  padding: 0 10px;
  border-radius: 6px;
}

.primary-nav > a:hover,
.nav-item > a:hover,
.icon-button:hover {
  background: var(--green-100);
  color: var(--green-700);
}

.nav-item {
  position: relative;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}

.nav-item::after {
  content: "";
  position: absolute;
  left: 0;
  width: 260px;
  top: 100%;
  height: 18px;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 246px;
  display: grid;
  gap: 2px;
  padding: 12px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 22px 54px rgba(8, 26, 61, 0.16);
  opacity: 0;
  pointer-events: none;
  transform: none;
  transition: opacity 160ms ease;
}

.dropdown-menu a {
  justify-content: flex-start;
  min-height: 38px;
  padding: 0 10px;
  border-radius: 6px;
  color: var(--muted);
  white-space: nowrap;
}

.dropdown-menu a:hover {
  color: var(--green-700);
  background: var(--green-100);
}

.nav-item:hover .dropdown-menu,
.nav-item:focus-within .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
}

.nav-donate {
  color: var(--white);
  background: var(--green-700);
  border-radius: 999px;
  padding-inline: 18px;
}

.primary-nav .nav-donate:hover {
  background: #087c72;
}

.icon-button,
.nav-toggle {
  width: 40px;
  border: 0;
  border-radius: 6px;
  color: var(--green-900);
  background: transparent;
  cursor: pointer;
}

.icon-button svg,
.nav-toggle svg {
  width: 20px;
  height: 20px;
}

.nav-toggle {
  display: none;
}

.program-strip {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(9, minmax(92px, 1fr));
  gap: 1px;
  padding: 0;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.program-strip a {
  min-height: 108px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 8px;
  padding: 10px;
  text-align: center;
  color: var(--green-900);
  background: var(--white);
  border: 0;
  border-radius: 0;
}

.program-strip a:hover {
  color: var(--green-700);
  background: var(--green-100);
}

.program-strip a:nth-child(3n + 1) svg {
  color: var(--green-700);
}

.program-strip a:nth-child(3n + 2) svg {
  color: var(--rose-500);
}

.program-strip a:nth-child(3n) svg {
  color: var(--teal-500);
}

.program-strip svg {
  width: 26px;
  height: 26px;
}

.program-strip span {
  font-size: 0.78rem;
  line-height: 1.2;
}

.hero-slider {
  position: relative;
  width: 100%;
  min-height: clamp(520px, 72vh, 760px);
  margin: 0;
  overflow: hidden;
  border-radius: 0;
  box-shadow: none;
  background: var(--green-900);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 800ms ease;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.hero-slide__media {
  position: absolute;
  inset: 0;
  transform: scale(1.04);
  transition: transform 5600ms ease;
  background:
    linear-gradient(90deg, rgba(7, 29, 59, 0.82), rgba(7, 29, 59, 0.42) 48%, rgba(9, 148, 134, 0.08)),
    var(--slide-image) center/cover;
}

.hero-slide.is-active .hero-slide__media {
  transform: scale(1);
}

.hero-slide__content {
  position: relative;
  z-index: 1;
  width: min(1500px, calc(100% - 56px));
  margin-inline: auto;
  padding: clamp(70px, 10vw, 128px) 0;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-500);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-slider h1,
.section h2,
.impact-band h2,
.contact-section h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.7rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-slider p:not(.eyebrow) {
  max-width: 560px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.02rem, 2vw, 1.25rem);
  line-height: 1.6;
}

.hero__actions,
.action-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  color: var(--white);
  background: rgba(7, 29, 59, 0.46);
  backdrop-filter: blur(8px);
  cursor: pointer;
  transform: translateY(-50%);
}

.slider-arrow:hover {
  background: var(--green-700);
}

.slider-arrow svg {
  width: 26px;
  height: 26px;
}

.slider-arrow--prev {
  left: 26px;
}

.slider-arrow--next {
  right: 26px;
}

.slider-dots {
  position: absolute;
  left: 50%;
  bottom: 26px;
  z-index: 4;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

.slider-dot {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
}

.slider-dot.is-active {
  width: 32px;
  border-radius: 999px;
  background: var(--green-700);
  border-color: var(--green-700);
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  cursor: pointer;
}

.button svg {
  width: 18px;
  height: 18px;
}

.button--primary {
  color: var(--white);
  background: var(--green-700);
}

.button--secondary {
  color: var(--green-900);
  background: var(--white);
  border-color: var(--line);
}

.button--whatsapp {
  color: var(--white);
  background: #128c7e;
  border-color: #128c7e;
}

.section,
.impact-band,
.contact-section {
  padding: clamp(54px, 8vw, 90px) 0;
}

.section--intro {
  background: #eef5f5;
}

.home-about {
  display: grid;
  grid-template-columns: minmax(360px, 0.85fr) minmax(0, 1.05fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
}

.home-about__media {
  position: relative;
}

.home-about__media img {
  width: 100%;
  min-height: 460px;
  display: block;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.home-about__badge {
  position: absolute;
  left: 24px;
  bottom: 24px;
  max-width: 250px;
  padding: 18px;
  color: var(--white);
  background: rgba(7, 29, 59, 0.88);
  border-left: 5px solid var(--green-700);
  border-radius: 8px;
  backdrop-filter: blur(8px);
}

.home-about__badge strong {
  display: block;
  font-size: 2.4rem;
  line-height: 1;
}

.home-about__badge span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.45;
}

.home-about__content p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.75;
}

.about-values {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0;
}

.about-values span {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  color: var(--green-900);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 800;
}

.about-values svg {
  width: 18px;
  height: 18px;
  color: var(--green-700);
}

.section--soft {
  background: #eef5f5;
}

.two-column,
.involvement-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(26px, 5vw, 74px);
  align-items: start;
}

.section h2,
.impact-band h2,
.contact-section h2 {
  font-size: clamp(1.8rem, 3vw, 3.1rem);
}

.body-copy,
.involvement-layout p,
.work-grid p,
.news-grid p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.message-section {
  padding: 0;
  background: #bff2dd;
}

.message-card {
  position: relative;
  width: 100%;
  min-height: 520px;
  display: grid;
  grid-template-columns: 1fr minmax(360px, 0.82fr);
  gap: clamp(38px, 6vw, 88px);
  align-items: center;
  margin-inline: auto;
  padding-block: clamp(42px, 6vw, 88px);
  padding-inline: max(28px, calc((100vw - 1500px) / 2 + 56px));
  overflow: hidden;
  color: #073d40;
  background: #bff2dd;
  border-radius: 0;
}

.message-card__copy {
  position: relative;
  z-index: 1;
}

.quote-mark {
  display: block;
  height: 86px;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.95);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(7rem, 13vw, 12rem);
  font-weight: 800;
  line-height: 0.72;
  text-shadow: 0 12px 24px rgba(7, 61, 64, 0.12);
}

.message-card__copy p {
  max-width: 650px;
  margin: 0;
  color: #073d40;
  font-size: clamp(1.55rem, 2.2vw, 2.28rem);
  line-height: 1.34;
}

.message-card__copy h2 {
  margin: 30px 0 8px;
  color: #073d40;
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.1;
}

.message-card__copy span:not(.quote-mark) {
  display: block;
  color: rgba(7, 61, 64, 0.78);
  font-size: 1.02rem;
}

.message-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  padding: 0 28px;
  color: #073d40;
  background: #ffe58a;
  border-radius: 999px;
  font-weight: 800;
}

.message-card__image {
  min-height: 430px;
  align-self: stretch;
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(7, 61, 64, 0.02), rgba(7, 61, 64, 0.08)),
    var(--message-image) center/cover;
  transition: opacity 240ms ease;
}

.message-next {
  position: absolute;
  right: 24px;
  top: 50%;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  color: #073d40;
  background: rgba(255, 255, 255, 0.22);
  cursor: pointer;
  transform: translateY(-50%);
}

.message-next:hover {
  background: rgba(255, 255, 255, 0.42);
}

.message-next svg {
  width: 23px;
  height: 23px;
}

.message-dots {
  position: absolute;
  left: 50%;
  bottom: 36px;
  display: flex;
  gap: 14px;
  transform: translateX(-50%);
}

.message-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(7, 61, 64, 0.16);
  cursor: pointer;
}

.message-dots .is-active {
  background: rgba(7, 61, 64, 0.48);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 30px;
}

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

.work-grid article,
.news-grid article,
.contact-form {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 18px 45px rgba(8, 26, 61, 0.06);
}

.work-grid article svg {
  width: 32px;
  height: 32px;
  color: var(--green-700);
}

.work-grid h3,
.news-grid h3 {
  margin: 16px 0 8px;
  font-size: 1.12rem;
}

.work-grid p,
.news-grid p {
  margin: 0;
}

.impact-band {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(7, 29, 59, 0.93), rgba(9, 148, 134, 0.84)),
    url("assets/images/impact-community.jpg") center/cover;
}

.impact-band .eyebrow {
  color: #b9fffa;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.impact-grid div {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.impact-grid strong {
  display: block;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.impact-grid span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.82);
}

.action-panel {
  margin-top: 0;
  justify-content: flex-start;
  padding: 26px;
  border-left: 5px solid var(--green-700);
  background: var(--white);
  border-radius: 6px;
}

.involvement-side {
  display: grid;
  gap: 16px;
}

.involvement-side img {
  width: 100%;
  height: 280px;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.news-grid article span {
  display: inline-flex;
  padding: 5px 9px;
  color: var(--green-900);
  background: var(--green-100);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

.news-grid .news-card {
  overflow: hidden;
  padding: 0;
}

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

.news-card__body {
  padding: 24px;
}

.contact-section {
  background: var(--white);
}

.contact-section--home {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(232, 247, 245, 0.92), rgba(255, 255, 255, 0.96)),
    url("assets/images/impact-community.jpg") center/cover;
}

.contact-section--home::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.82), rgba(232, 247, 245, 0.72));
  pointer-events: none;
}

.contact-section--home .section__content {
  position: relative;
  z-index: 1;
}

.contact-info-panel {
  display: grid;
  align-content: start;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
  color: var(--muted);
}

.contact-chip {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 14px;
  padding: 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 35px rgba(8, 26, 61, 0.06);
}

.contact-chip svg {
  width: 44px;
  height: 44px;
  padding: 11px;
  color: var(--white);
  background: var(--green-700);
  border-radius: 50%;
}

.contact-chip strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
  font-size: 0.88rem;
}

.map-panel {
  min-height: 132px;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 18px;
  padding: 22px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(7, 29, 59, 0.92), rgba(9, 148, 134, 0.86)),
    url("assets/images/hero-rural.jpg") center/cover;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.map-panel svg {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
}

.map-panel strong,
.map-panel span {
  display: block;
}

.map-panel span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.78);
}

.contact-form {
  display: grid;
  gap: 16px;
  box-shadow: var(--shadow);
}

.contact-section--home .contact-form {
  padding: clamp(24px, 3vw, 36px);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
}

.donate-panel {
  display: grid;
  gap: 18px;
  align-content: start;
  padding: clamp(24px, 3vw, 36px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.donate-panel h2 {
  margin: 0;
}

.donate-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.form-kicker {
  margin: 0;
  color: var(--green-700);
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0;
}

.form-success,
.form-alert {
  padding: 12px 14px;
  border-radius: 6px;
  font-weight: 800;
  line-height: 1.45;
}

.form-success {
  color: #064e3b;
  background: #d1fae5;
}

.form-alert {
  color: #7f1d1d;
  background: #fee2e2;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--green-900);
  font-weight: 750;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fbfdf9;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 0;
  border-color: var(--green-700);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(9, 148, 134, 0.12);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer {
  position: relative;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.82);
  background:
    linear-gradient(135deg, rgba(7, 29, 59, 0.98), rgba(7, 45, 64, 0.96)),
    url("assets/images/impact-community.jpg") center/cover;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 10%, rgba(9, 148, 134, 0.34), transparent 28%);
  pointer-events: none;
}

.footer-main,
.footer-bottom {
  position: relative;
  z-index: 1;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(280px, 1.25fr) repeat(3, minmax(180px, 0.75fr));
  gap: clamp(28px, 4vw, 58px);
  padding: clamp(54px, 7vw, 82px) 0 34px;
}

.footer-about h2,
.footer-column h3 {
  margin: 0 0 16px;
  color: var(--white);
}

.footer-about h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.05;
}

.footer-about p {
  max-width: 430px;
  margin: 0;
  line-height: 1.7;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.footer-social a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  transition: background 160ms ease, transform 160ms ease;
}

.footer-social a:hover,
.footer-donate:hover {
  background: var(--green-700);
}

.footer-social a:hover {
  transform: translateY(-2px);
}

.footer-social img {
  width: 19px;
  height: 19px;
  display: block;
}

.footer-contact svg {
  width: 18px;
  height: 18px;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-column a,
.footer-column span {
  color: rgba(255, 255, 255, 0.78);
}

.footer-column a:hover {
  color: var(--white);
}

.footer-contact a,
.footer-contact span {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.footer-donate {
  width: fit-content;
  margin-top: 10px;
  padding: 11px 16px;
  color: var(--white) !important;
  background: rgba(9, 148, 134, 0.88);
  border-radius: 6px;
  font-weight: 850;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom div {
  display: flex;
  gap: 16px;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.82);
}

.page-hero {
  padding: clamp(72px, 9vw, 130px) 0;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(7, 29, 59, 0.94), rgba(9, 148, 134, 0.72)),
    var(--page-image, url("assets/images/impact-community.jpg")) center/cover;
}

.page-hero__inner,
.page-section__inner {
  width: min(1500px, calc(100% - 56px));
  margin-inline: auto;
}

.page-hero h1 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(2.3rem, 5vw, 5.2rem);
  line-height: 1.02;
}

.page-hero p {
  max-width: 760px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.16rem;
  line-height: 1.7;
}

.page-subnav {
  position: sticky;
  top: 128px;
  z-index: 12;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 26px rgba(8, 26, 61, 0.08);
}

.page-subnav {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 8px;
  padding-inline: max(12px, calc((100vw - 1500px) / 2));
}

.page-subnav__inner {
  width: 100%;
  display: flex;
  gap: 10px;
  padding: 12px 0;
  overflow-x: auto;
  scrollbar-width: none;
  user-select: none;
  scroll-behavior: smooth;
}

.page-subnav__inner::-webkit-scrollbar {
  display: none;
}

.page-subnav a {
  flex: 0 0 auto;
  padding: 10px 14px;
  color: var(--green-900);
  background: var(--green-100);
  border-radius: 999px;
  font-weight: 750;
  transition: background 140ms ease, color 140ms ease;
}

.page-subnav a.is-active,
.page-subnav a:hover {
  color: var(--white);
  background: var(--green-700);
}

.subnav-arrow {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--green-900);
  background: var(--white);
  box-shadow: 0 10px 24px rgba(8, 26, 61, 0.08);
  cursor: pointer;
}

.subnav-arrow:hover {
  color: var(--white);
  background: var(--green-700);
}

.subnav-arrow svg {
  width: 20px;
  height: 20px;
}

.page-section {
  padding: clamp(54px, 7vw, 92px) 0;
  background: var(--white);
  scroll-margin-top: 176px;
  border-bottom: 1px solid rgba(217, 232, 234, 0.72);
}

.page-section.section-highlight {
  animation: sectionPulse 1400ms ease;
}

@keyframes sectionPulse {
  0% {
    box-shadow: inset 0 0 0 0 rgba(9, 148, 134, 0);
  }
  28% {
    box-shadow: inset 0 0 0 999px rgba(9, 148, 134, 0.12);
  }
  100% {
    box-shadow: inset 0 0 0 0 rgba(9, 148, 134, 0);
  }
}

.page-section:nth-of-type(even) {
  background: #eef5f5;
}

.page-section h2 {
  max-width: 780px;
  margin: 0 0 18px;
  color: var(--ink);
  font-size: clamp(1.85rem, 3vw, 3.2rem);
  line-height: 1.08;
}

.page-section p {
  max-width: 840px;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.75;
}

.page-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.page-card {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(8, 26, 61, 0.06);
}

.page-card i,
.page-card svg {
  width: 32px;
  height: 32px;
  color: var(--green-700);
}

.page-card h3 {
  margin: 16px 0 8px;
  color: var(--ink);
  font-size: 1.16rem;
}

.page-card p {
  margin: 0;
  font-size: 0.98rem;
}

.page-card img,
.story-card img,
.media-tile img,
.career-card img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.page-card--image {
  overflow: hidden;
  padding: 0;
}

.page-card--image img {
  height: 210px;
}

.page-card--image div {
  padding: 22px;
}

.program-detail-media {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.8fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.program-detail-media img {
  width: 100%;
  min-height: 360px;
  display: block;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.media-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.story-card,
.media-tile,
.career-card,
.video-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(8, 26, 61, 0.06);
}

.story-card img,
.media-tile img,
.career-card img {
  height: 220px;
}

.story-card div,
.media-tile div,
.career-card div,
.video-card div {
  padding: 22px;
}

.video-thumb {
  position: relative;
  min-height: 230px;
  display: grid;
  place-items: center;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(7, 29, 59, 0.78), rgba(9, 148, 134, 0.68)),
    var(--video-image) center/cover;
}

.youtube-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 24px;
  align-items: center;
  margin: 28px 0;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.youtube-feature iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 8px;
}

.youtube-feature h3 {
  margin: 12px 0 8px;
  color: var(--ink);
  font-size: 1.45rem;
}

.video-thumb i,
.video-thumb svg {
  width: 64px;
  height: 64px;
  padding: 17px;
  color: var(--green-700);
  background: rgba(255, 255, 255, 0.94);
  border-radius: 50%;
}

.media-label {
  display: inline-flex;
  padding: 5px 9px;
  color: var(--green-900);
  background: var(--green-100);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

.updates-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 1200px;
  margin-top: 28px;
}

.updates-list article {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: stretch;
  overflow: hidden;
  min-height: 210px;
  padding: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(8, 26, 61, 0.05);
}

.updates-list article > img {
  width: 100%;
  height: 100%;
  min-height: 210px;
  display: block;
  object-fit: cover;
}

.updates-list article > div {
  padding: 22px;
}

.updates-list time {
  display: inline-flex;
  margin-right: 8px;
  margin-bottom: 12px;
  color: var(--green-700);
  font-weight: 850;
}

.updates-list h3 {
  margin: 0 0 7px;
  color: var(--ink);
}

.updates-list p {
  margin: 0;
  font-size: 0.98rem;
}

.page-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.page-stats div {
  padding: 24px;
  color: var(--white);
  background: var(--green-900);
  border-radius: 8px;
}

.page-stats strong {
  display: block;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
}

.page-stats span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.78);
}

.page-list {
  display: grid;
  gap: 12px;
  max-width: 900px;
  margin-top: 26px;
  padding: 0;
  list-style: none;
}

.page-list li {
  padding: 16px 18px;
  color: var(--muted);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.publication-feature {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 44px);
  align-items: stretch;
  margin-top: 26px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.publication-feature > img {
  width: 100%;
  min-height: 360px;
  display: block;
  object-fit: cover;
}

.publication-feature > div {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: clamp(26px, 4vw, 44px);
}

.publication-feature h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.08;
}

.publication-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.publication-grid article {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(8, 26, 61, 0.06);
}

.publication-grid img {
  width: 100%;
  height: 190px;
  display: block;
  object-fit: cover;
}

.publication-grid article > div {
  padding: 20px;
}

.publication-grid h3 {
  margin: 12px 0 8px;
  color: var(--ink);
}

.publication-grid a {
  display: inline-flex;
  margin-top: 14px;
  color: var(--green-700);
  font-weight: 900;
}

.insight-feature-card {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(22px, 4vw, 44px);
  margin-top: 26px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 18px 45px rgba(8, 26, 61, 0.07);
}

.insight-feature-card > img {
  width: 100%;
  min-height: 330px;
  display: block;
  object-fit: cover;
}

.insight-feature-card > div {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: clamp(26px, 4vw, 44px);
}

.insight-feature-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  line-height: 1.08;
}

.section-jump-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.section-jump-links a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  color: var(--white);
  background: var(--green-700);
  border-radius: 999px;
  font-weight: 850;
}

.section-jump-links a:hover {
  background: var(--green-900);
}

.mini-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.mini-header__inner {
  width: min(1500px, calc(100% - 56px));
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-inline: auto;
}

.mini-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mini-nav a {
  color: var(--green-900);
  font-weight: 750;
}

.page-subnav + .page-section {
  border-top: 4px solid var(--green-700);
}

.program-detail .body-copy,
.page-section__inner > .body-copy {
  display: grid;
  align-content: start;
  gap: 18px;
}

.about-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.72fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.about-feature__image {
  min-height: 420px;
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(7, 29, 59, 0.02), rgba(7, 29, 59, 0.12)),
    var(--about-image) center/cover;
  box-shadow: var(--shadow);
}

.info-band {
  padding: 28px;
  color: var(--white);
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
  border-radius: 8px;
}

.info-band p {
  color: rgba(255, 255, 255, 0.84);
}

@media (max-width: 1080px) {
  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .program-strip {
    grid-template-columns: repeat(5, minmax(110px, 1fr));
  }

  .primary-nav {
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    display: none;
    padding: 14px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .primary-nav.is-open {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }

  .primary-nav > a,
  .nav-item,
  .nav-item > a,
  .icon-button {
    width: 100%;
    justify-content: flex-start;
  }

  .nav-item {
    display: grid;
  }

  .dropdown-menu {
    position: static;
    display: grid;
    min-width: 0;
    padding: 4px 0 8px 12px;
    border: 0;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-toggle {
    display: inline-flex;
  }
}

@media (max-width: 780px) {
  body {
    background: linear-gradient(180deg, #f5fbfa 0, #ffffff 40%);
  }

  .site-header {
    box-shadow: 0 18px 40px rgba(8, 26, 61, 0.12);
  }

  .top-bar {
    background: linear-gradient(135deg, #047d74, #0aa295);
  }

  .top-bar__inner,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    padding: 12px 0;
  }

  .contact-strip {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    width: 100%;
  }

  .contact-strip a,
  .social-links {
    width: 100%;
    min-height: 34px;
    padding: 7px 10px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
  }

  .social-links {
    gap: 8px;
    justify-content: flex-start;
  }

  .main-header__inner {
    min-height: 76px;
  }

  .main-header {
    background: rgba(255, 255, 255, 0.96);
  }

  .nav-toggle {
    width: 46px;
    height: 46px;
    color: var(--white);
    background: var(--green-700);
    border-radius: 50%;
    box-shadow: 0 12px 28px rgba(9, 148, 134, 0.28);
  }

  .primary-nav {
    left: 11px;
    right: 11px;
    padding: 12px;
    border-radius: 14px;
  }

  .primary-nav > a,
  .nav-item > a,
  .nav-donate {
    min-height: 44px;
    padding: 0 12px;
    border-radius: 10px;
    background: #f7fbfb;
  }

  .dropdown-menu {
    padding: 6px 0 8px;
    background: #f8fdfc;
    border-radius: 10px;
  }

  .dropdown-menu a {
    min-height: 36px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .social-links {
    flex-wrap: wrap;
    white-space: normal;
  }

  .program-strip,
  .work-grid,
  .news-grid,
  .impact-grid,
  .youtube-feature,
  .media-strip,
  .page-grid,
  .page-stats,
  .updates-list,
  .publication-feature,
  .publication-grid,
  .insight-feature-card,
  .program-detail-media,
  .about-feature,
  .home-about,
  .two-column,
  .involvement-layout,
  .contact-layout,
  .message-card {
    grid-template-columns: 1fr;
  }

  .updates-list article {
    grid-template-columns: 1fr;
  }

  .message-card {
    width: 100%;
    min-height: 0;
    padding: 34px 22px 76px;
    border-radius: 0;
  }

  .message-card__image {
    min-height: 320px;
    order: -1;
  }

  .about-feature__image {
    min-height: 300px;
    order: -1;
  }

  .home-about__media img {
    min-height: 320px;
  }

  .message-next {
    top: auto;
    right: 22px;
    bottom: 26px;
    transform: none;
  }

  .contact-chip {
    grid-template-columns: 38px 1fr;
    padding: 14px;
    background: var(--white);
    border-radius: 14px;
    box-shadow: 0 16px 36px rgba(8, 26, 61, 0.08);
  }

  .contact-chip svg {
    width: 38px;
    height: 38px;
    padding: 9px;
  }

  .page-subnav {
    top: 0;
  }

  .mini-header__inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 0;
  }

  .mini-nav {
    flex-wrap: wrap;
  }

  .program-strip a {
    min-height: 74px;
    grid-template-columns: 34px 1fr;
    justify-items: start;
    text-align: left;
  }

  .hero-slider {
    min-height: 560px;
    border-radius: 0;
  }

  .page-hero {
    min-height: 430px;
    padding: 76px 0;
    background:
      linear-gradient(180deg, rgba(7, 29, 59, 0.52), rgba(7, 29, 59, 0.88)),
      var(--page-image) center/cover;
  }

  .page-hero__inner {
    width: min(100% - 32px, 1500px);
  }

  .page-hero h1 {
    font-size: clamp(2.25rem, 10vw, 3.5rem);
    line-height: 1.02;
  }

  .page-hero p {
    font-size: 1rem;
  }

  .page-section {
    padding: 56px 0;
  }

  .page-section__inner {
    width: min(100% - 28px, 1500px);
  }

  .page-card,
  .donate-panel,
  .contact-form,
  .info-band {
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(8, 26, 61, 0.08);
  }

  .donate-panel {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background:
      linear-gradient(135deg, rgba(7, 29, 59, 0.94), rgba(9, 148, 134, 0.9)),
      url("assets/images/news-volunteer.jpg") center/cover;
  }

  .donate-panel p,
  .donate-panel .contact-chip {
    color: inherit;
  }

  .donate-panel .contact-chip {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: none;
  }

  .donate-panel .button {
    width: 100%;
    justify-content: center;
    background: #ffe182;
    color: var(--ink);
  }

  .hero-slide__media {
    background:
      linear-gradient(180deg, rgba(7, 29, 59, 0.9), rgba(7, 29, 59, 0.44)),
      var(--slide-image) center/cover;
  }

  .hero-slide__content {
    width: min(100% - 32px, 1500px);
    padding: 54px 0 86px;
  }

  .slider-arrow {
    top: auto;
    bottom: 22px;
    width: 42px;
    height: 42px;
    transform: none;
  }

  .slider-arrow--prev {
    left: 18px;
  }

  .slider-arrow--next {
    right: 18px;
  }

  .slider-dots {
    bottom: 36px;
  }

  .site-footer {
    padding-top: 54px;
  }
}

.admin-portal-body {
  min-height: 100vh;
  overflow-x: hidden;
  color: #151b2d;
  background: #f3f4f7;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.admin-portal-body a {
  text-decoration: none;
}

.portal-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 20;
  width: 240px;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-right: 1px solid #e7e9ef;
}

.portal-brand {
  height: 72px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  color: #111827;
  border-bottom: 1px solid #e7e9ef;
}

.portal-brand span,
.portal-user span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: #173c8f;
  border-radius: 5px;
  font-weight: 900;
}

.portal-brand strong,
.portal-user strong {
  display: grid;
  gap: 2px;
  font-size: 0.96rem;
  line-height: 1.1;
}

.portal-brand small,
.portal-user small {
  color: #9ca3af;
  font-size: 0.74rem;
  font-weight: 700;
}

.portal-nav {
  display: grid;
  gap: 4px;
  overflow-y: auto;
  padding: 20px 10px;
}

.portal-nav p {
  margin: 12px 0 6px;
  padding: 0 6px;
  color: #9ca3af;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.portal-nav a {
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  color: #5f6675;
  border-radius: 5px;
  font-size: 0.91rem;
  font-weight: 800;
}

.portal-nav a svg,
.portal-topbar svg,
.portal-toolbar svg,
.portal-row-actions svg,
.portal-drawer svg {
  width: 17px;
  height: 17px;
  stroke-width: 2;
}

.portal-nav a.is-active,
.portal-nav a:hover {
  color: #173c8f;
  background: #eef3ff;
}

.portal-nav a.is-active {
  box-shadow: inset 3px 0 0 #173c8f;
}

.portal-nav a.portal-nav__sub {
  min-height: 34px;
  margin-left: 10px;
  padding-left: 12px;
  color: #6b7280;
  background: #f8fafc;
  border: 1px solid transparent;
  font-size: 0.84rem;
}

.portal-nav a.portal-nav__sub:hover {
  color: #173c8f;
  background: #eef3ff;
  border-color: #dbe5ff;
}

.portal-collapse {
  width: calc(100% - 20px);
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 10px 12px;
  padding: 0 12px;
  color: #9ca3af;
  background: #ffffff;
  border: 1px solid #e7e9ef;
  border-radius: 5px;
  font-weight: 800;
}

.portal-version {
  display: block;
  margin: auto 10px 8px;
  color: #9ca3af;
  font-size: 0.78rem;
  font-weight: 900;
  text-align: center;
}

.portal-main {
  min-height: 100vh;
  margin-left: 240px;
}

.portal-topbar {
  position: sticky;
  top: 0;
  z-index: 15;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 26px;
  color: #9ca3af;
  background: #ffffff;
  border-bottom: 1px solid #e7e9ef;
}

.portal-topbar__actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.portal-topbar__actions > a {
  color: #6b7280;
}

.portal-user {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #111827;
}

.portal-content {
  padding: 24px;
}

.portal-page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin: -4px 0 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e0e4ec;
  box-shadow: inset 0 -3px 0 #173c8f;
}

.portal-page-head h1,
.portal-page-head p {
  margin: 0;
}

.portal-page-head h1 {
  color: #111827;
  font-size: 1.55rem;
  line-height: 1.1;
}

.portal-page-head p {
  margin-top: 4px;
  color: #9ca3af;
  font-size: 0.92rem;
}

.portal-toolbar {
  display: flex;
  gap: 10px;
}

.portal-toolbar a,
.portal-panel__head > a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  color: #273044;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 5px;
  font-size: 0.82rem;
  font-weight: 900;
}

.portal-toolbar .portal-primary,
.portal-panel__head > a:hover {
  color: #ffffff;
  background: #173c8f;
  border-color: #173c8f;
}

.portal-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.portal-stats article {
  min-height: 126px;
  display: grid;
  align-content: start;
  grid-template-columns: auto 1fr;
  column-gap: 16px;
  padding: 22px;
  background: #ffffff;
  border: 1px solid #e4e6ec;
  border-top: 3px solid #173c8f;
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

.portal-stat-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 6px;
}

.portal-stat-icon.is-blue {
  color: #173c8f;
  background: #eef3ff;
}

.portal-stat-icon.is-green {
  color: #0e9f6e;
  background: #ebf8f1;
}

.portal-stat-icon.is-amber {
  color: #d97706;
  background: #fff7df;
}

.portal-stat-icon.is-purple {
  color: #7c3aed;
  background: #f4edff;
}

.portal-stats strong {
  display: block;
  color: #111827;
  font-size: 2rem;
  line-height: 0.95;
}

.portal-stats small {
  display: block;
  margin-top: 7px;
  color: #9ca3af;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portal-stats em {
  grid-column: 2;
  margin-top: 14px;
  color: #1f9d61;
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 800;
}

.portal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(340px, 0.75fr);
  gap: 18px;
  margin-top: 18px;
}

.portal-panel {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e4e6ec;
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
}

.portal-panel--wide {
  min-width: 0;
  grid-column: 1 / -1;
}

.portal-panel__head {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 18px;
  border-bottom: 1px solid #e7e9ef;
}

.portal-panel__head h2,
.portal-panel__head p {
  margin: 0;
}

.portal-panel__head h2 {
  font-size: 1rem;
}

.portal-panel__head p {
  margin-top: 3px;
  color: #9ca3af;
  font-size: 0.8rem;
}

.portal-table-wrap {
  overflow-x: auto;
}

.portal-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.portal-table th,
.portal-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid #edf0f4;
  vertical-align: middle;
}

.portal-table th {
  color: #a0a7b4;
  background: #fbfcfe;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portal-table td {
  color: #4b5563;
  font-size: 0.87rem;
}

.portal-table td > strong,
.portal-media-cell strong {
  display: grid;
  gap: 4px;
  color: #1f2937;
  font-size: 0.9rem;
}

.portal-table small,
.portal-media-cell small {
  max-width: 420px;
  overflow: hidden;
  color: #9ca3af;
  font-size: 0.76rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.portal-media-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.portal-media-cell > span {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  background: #173c8f center / cover;
  border-radius: 6px;
}

.portal-page-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 18px;
}

.portal-page-card {
  min-width: 0;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e4e6ec;
  border-radius: 8px;
}

.portal-page-card__head {
  min-height: 68px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #fbfcfe;
  border-bottom: 1px solid #e7e9ef;
}

.portal-page-card__head > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #173c8f;
  background: #eef3ff;
  border-radius: 6px;
}

.portal-page-card__head h3,
.portal-page-card__head p,
.portal-section-list p {
  margin: 0;
}

.portal-page-card__head h3 {
  color: #111827;
  font-size: 1rem;
}

.portal-page-card__head p,
.portal-section-list small {
  color: #8b95a7;
  font-size: 0.78rem;
  font-weight: 800;
}

.portal-page-card__tools {
  display: flex;
  align-items: center;
  gap: 8px;
}

.portal-page-card__tools a:first-child {
  width: auto;
  padding: 0 12px;
  gap: 7px;
  font-size: 0.82rem;
  font-weight: 900;
}

.portal-page-card__tools a,
.portal-section-actions a,
.portal-section-actions button {
  width: 34px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #173c8f;
  background: #ffffff;
  border: 1px solid #d8deea;
  border-radius: 5px;
  cursor: pointer;
}

.portal-section-list {
  display: grid;
}

.portal-section-list article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-bottom: 1px solid #edf0f4;
}

.portal-section-list article:last-child {
  border-bottom: 0;
}

.portal-section-list strong,
.portal-section-list small {
  display: block;
}

.portal-section-list strong {
  overflow: hidden;
  color: #1f2937;
  font-size: 0.9rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.portal-section-list p {
  overflow: hidden;
  margin-top: 5px;
  color: #5f6675;
  font-size: 0.84rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.portal-section-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.portal-section-actions form {
  margin: 0;
}

.portal-section-actions button {
  color: #ffffff;
  background: #dc2626;
  border-color: #dc2626;
}

.portal-empty {
  margin: 0;
  padding: 18px;
  color: #8b95a7;
  background: #fbfcfe;
  border: 1px dashed #d8deea;
  border-radius: 8px;
  font-weight: 800;
}

.portal-badge {
  display: inline-flex;
  margin: 2px 5px 2px 0;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
}

.portal-badge.is-live {
  color: #176f4a;
  background: #dcfce7;
}

.portal-badge.is-muted {
  color: #8a1f1f;
  background: #fee2e2;
}

.portal-badge.is-featured {
  color: #7c4a03;
  background: #fef3c7;
}

.portal-row-actions {
  width: 96px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.portal-row-actions a,
.portal-row-actions button {
  width: 34px;
  height: 28px;
  display: grid;
  place-items: center;
  color: #173c8f;
  background: #ffffff;
  border: 1px solid #173c8f;
  border-radius: 5px;
  cursor: pointer;
}

.portal-row-actions button {
  color: #ffffff;
  background: #dc2626;
  border-color: #dc2626;
}

.portal-overview {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 18px;
}

.portal-overview span {
  min-height: 82px;
  display: grid;
  place-items: center;
  gap: 6px;
  color: #6b7280;
  background: #eef3ff;
  border-radius: 8px;
}

.portal-overview span:nth-child(2) {
  background: #e9f9ef;
}

.portal-overview span:nth-child(3) {
  background: #fff4cc;
}

.portal-overview strong {
  color: #111827;
  font-size: 1.3rem;
}

.portal-progress-list {
  display: grid;
  gap: 18px;
  padding: 18px;
}

.portal-progress-list label {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 7px 10px;
  color: #374151;
  font-weight: 850;
}

.portal-progress-list small {
  color: #9ca3af;
  font-weight: 800;
}

.portal-progress-list i {
  grid-column: 1 / -1;
  height: 5px;
  overflow: hidden;
  background: #edf0f4;
  border-radius: 999px;
}

.portal-progress-list i::before {
  content: "";
  display: block;
  width: var(--w);
  height: 100%;
  background: #173c8f;
}

.portal-drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, visibility 0.18s ease;
}

.portal-drawer:target {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.portal-drawer__scrim {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.58);
}

.portal-drawer__panel {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(560px, 100%);
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: auto;
  background: #ffffff;
  box-shadow: -22px 0 50px rgba(15, 23, 42, 0.24);
  transform: translateX(100%);
  transition: transform 0.2s ease;
}

.portal-drawer:target .portal-drawer__panel {
  transform: translateX(0);
}

.portal-drawer__head {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  color: #ffffff;
  background: #173c8f;
}

.portal-drawer__head > span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 6px;
}

.portal-drawer__head h2,
.portal-drawer__head p {
  margin: 0;
}

.portal-drawer__head h2 {
  font-size: 1rem;
}

.portal-drawer__head p {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
}

.portal-drawer__head a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin-left: auto;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 5px;
}

.portal-form-section {
  display: grid;
  align-content: start;
  gap: 14px;
  margin: 16px;
  padding: 16px;
  border: 1px solid #e7e9ef;
  border-radius: 6px;
}

.portal-form-section h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: -16px -16px 4px;
  padding: 13px 16px;
  color: #374151;
  background: #fbfcfe;
  border-bottom: 1px solid #e7e9ef;
  font-size: 0.92rem;
}

.portal-form-section label {
  display: grid;
  gap: 7px;
  color: #4b5563;
  font-size: 0.86rem;
  font-weight: 800;
}

.portal-form-section input,
.portal-form-section textarea {
  width: 100%;
  min-height: 38px;
  padding: 10px 11px;
  background: #ffffff;
  border: 1px solid #dfe3ea;
  border-radius: 3px;
  font: inherit;
}

.portal-form-section textarea {
  min-height: 104px;
  resize: vertical;
}

.portal-form-section .ck.ck-editor {
  width: 100%;
}

.portal-form-section .ck.ck-editor__main > .ck-editor__editable {
  min-height: 150px;
  color: #111827;
  border-color: #dfe3ea;
  box-shadow: none;
}

.portal-form-section .ck.ck-toolbar {
  border-color: #dfe3ea;
  background: #fbfcfe;
}

.portal-image-preview {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 10px;
  background: #f8fbfb;
  border: 1px solid #dfe3ea;
  border-radius: 6px;
}

.portal-image-preview > a {
  display: block;
  width: 112px;
}

.portal-image-preview > a > span {
  width: 112px;
  aspect-ratio: 16 / 10;
  display: block;
  background: #e5e7eb center / cover;
  border: 1px solid #d8deea;
  border-radius: 5px;
  transition: border-color 160ms ease, transform 160ms ease;
}

.portal-image-preview > a:hover > span {
  border-color: #173c8f;
  transform: scale(1.02);
}

.portal-image-preview strong,
.portal-image-preview small {
  display: block;
}

.portal-image-preview strong {
  color: #111827;
  font-size: 0.9rem;
}

.portal-image-preview small {
  overflow: hidden;
  margin-top: 4px;
  color: #6b7280;
  font-size: 0.78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rich-text p,
.rich-text ul,
.rich-text ol,
.rich-text blockquote {
  margin: 0 0 0.85em;
}

.rich-text :last-child {
  margin-bottom: 0;
}

.rich-text ul,
.rich-text ol {
  padding-left: 1.25rem;
}

.rich-text a {
  color: var(--green-700);
  font-weight: 800;
}

.portal-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.portal-switches {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.portal-switches label,
.portal-check {
  display: flex !important;
  align-items: center;
  flex-direction: row;
}

.portal-switches input,
.portal-check input {
  width: auto;
  min-height: 0;
}

.portal-check--danger {
  width: fit-content;
  padding: 9px 11px;
  color: #991b1b !important;
  background: #fee2e2;
  border: 1px solid #fecaca;
  border-radius: 5px;
}

.portal-drawer__footer {
  position: sticky;
  bottom: 0;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 18px;
  background: #ffffff;
  border-top: 1px solid #e7e9ef;
  box-shadow: 0 -8px 20px rgba(15, 23, 42, 0.06);
}

.portal-drawer__footer a,
.portal-drawer__footer button {
  min-width: 78px;
  min-height: 36px;
  display: inline-grid;
  place-items: center;
  padding: 0 14px;
  border-radius: 5px;
  font-weight: 900;
}

.portal-drawer__footer a {
  color: #4b5563;
  background: #f3f4f7;
}

.portal-drawer__footer button {
  color: #ffffff;
  background: #173c8f;
  border: 0;
  cursor: pointer;
}

@media (max-width: 1100px) {
  .portal-stats,
  .portal-grid {
    grid-template-columns: 1fr 1fr;
  }

  .portal-page-grid {
    grid-template-columns: 1fr;
  }

  .admin-login {
    grid-template-columns: 1fr;
    width: min(720px, 100%);
  }

  .admin-login__form {
    width: auto;
    margin: 0;
  }
}

@media (max-width: 760px) {
  .portal-sidebar {
    position: static;
    width: 100%;
    border-right: 0;
  }

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

  .portal-nav p,
  .portal-collapse {
    display: none;
  }

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

  .portal-page-head,
  .portal-topbar {
    align-items: flex-start;
    flex-direction: column;
    height: auto;
    padding: 16px;
  }

  .portal-content {
    padding: 16px;
  }

  .portal-stats,
  .portal-grid,
  .portal-form-grid,
  .portal-page-grid {
    grid-template-columns: 1fr;
  }

  .portal-section-list article {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .portal-image-preview {
    grid-template-columns: 1fr;
  }

  .portal-image-preview > a,
  .portal-image-preview > a > span {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .top-bar__inner,
  .main-header__inner,
  .section__content {
    width: min(100% - 22px, 1500px);
  }

  .brand {
    min-width: 0;
  }

  .brand__mark {
    width: 46px;
    height: 46px;
  }

  .brand strong {
    font-size: 0.92rem;
  }

  .brand small {
    font-size: 0.72rem;
  }

  .brand {
    gap: 9px;
  }

  .primary-nav.is-open {
    grid-template-columns: 1fr;
  }

  .page-hero {
    min-height: 390px;
    padding: 56px 0;
  }

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

  .page-section h2,
  .section h2,
  .contact-section h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .page-card,
  .donate-panel,
  .contact-form {
    padding: 22px;
  }
}

.admin-body {
  min-height: 100vh;
  background: #eef5f5;
}

.admin-login-page {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 28px;
  background:
    linear-gradient(120deg, rgba(6, 17, 45, 0.94), rgba(3, 116, 112, 0.84)),
    url("assets/images/impact-community.jpg") center / cover fixed;
}

.admin-login-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 17, 45, 0.92), rgba(6, 17, 45, 0.35) 52%, rgba(2, 128, 117, 0.38)),
    radial-gradient(circle at 82% 18%, rgba(255, 221, 87, 0.18), transparent 28%);
  pointer-events: none;
}

.admin-login__halo {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.58;
  pointer-events: none;
}

.admin-login__halo--one {
  left: -120px;
  top: 18%;
  background: rgba(17, 138, 178, 0.38);
}

.admin-login__halo--two {
  right: 8%;
  bottom: -170px;
  background: rgba(9, 148, 134, 0.45);
}

.admin-login {
  position: relative;
  z-index: 1;
  min-height: min(760px, calc(100vh - 56px));
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(420px, 0.78fr);
  align-items: center;
  gap: 16px;
  width: min(1180px, 100%);
  margin-inline: auto;
  overflow: hidden;
  padding: 12px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 28px;
  box-shadow: 0 34px 100px rgba(3, 12, 33, 0.46);
  backdrop-filter: blur(18px);
}

.admin-login__panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 650px;
  padding: clamp(34px, 4vw, 54px);
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(5, 17, 43, 0.12), rgba(5, 17, 43, 0.92)),
    url("assets/images/hero-education.jpg") center / cover;
  border: 0;
  border-radius: 20px;
  box-shadow: none;
}

.admin-login__panel::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 68%;
  background: linear-gradient(180deg, transparent, rgba(3, 12, 33, 0.88));
  pointer-events: none;
}

.admin-login__brandline {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-login__brandline strong {
  display: grid;
  gap: 3px;
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.1;
}

.admin-login__brandline small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 700;
}

.admin-login__copy {
  position: relative;
  z-index: 1;
  margin-top: auto;
}

.admin-login__panel h1 {
  position: relative;
  max-width: 590px;
  margin: 12px 0 16px;
  font-size: clamp(2.45rem, 3.7vw, 4rem);
  line-height: 1.02;
}

.admin-login__panel p {
  position: relative;
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.06rem;
  line-height: 1.7;
}

.admin-login__mark {
  position: relative;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: var(--green-700);
  background: var(--white);
  border-radius: 14px;
  font-weight: 900;
  letter-spacing: 0.02em;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.22);
}

.admin-login__features {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(128px, 1fr));
  gap: 12px;
  margin-top: 30px;
  max-width: 420px;
}

.admin-login__features span {
  min-height: 58px;
  display: inline-grid;
  align-content: center;
  gap: 3px;
  padding: 10px 16px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 800;
  backdrop-filter: blur(12px);
}

.admin-login__features strong {
  color: #bff2dd;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.admin-login__form {
  position: relative;
  z-index: 2;
  align-self: center;
  min-height: 0;
  display: grid;
  gap: 18px;
  align-content: center;
  width: min(100%, 500px);
  margin: 0 18px 0 0;
  padding: clamp(34px, 4vw, 50px);
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 22px;
  box-shadow: 0 24px 70px rgba(3, 12, 33, 0.28);
}

.admin-login__form .form-kicker {
  color: var(--green-700);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-login__form h2 {
  margin: -6px 0 0;
  color: var(--green-900);
  font-size: clamp(2.35rem, 3.2vw, 3.2rem);
  line-height: 1.05;
}

.admin-login__form-head p:not(.form-kicker) {
  margin: -4px 0 6px;
  color: var(--muted);
}

.admin-login__form label {
  gap: 9px;
  color: var(--green-900);
  font-size: 0.94rem;
}

.admin-login__form input {
  min-height: 58px;
  padding-inline: 14px;
  color: var(--green-900);
  background: #f8fbfb;
  border-color: #cfe0e2;
  border-radius: 10px;
}

.admin-login__form input:focus {
  outline: 3px solid rgba(9, 148, 134, 0.14);
  border-color: var(--green-700);
}

.admin-login__form .button {
  min-height: 58px;
  margin-top: -2px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #099486, #087c72);
  cursor: pointer;
  box-shadow: 0 18px 34px rgba(9, 148, 134, 0.28);
}

.admin-login__help {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

.admin-login__help a,
.admin-alert a {
  color: var(--green-700);
  font-weight: 900;
}

.admin-topbar {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 28px;
  color: var(--white);
  background: var(--green-900);
}

.admin-topbar nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.admin-topbar a {
  color: var(--white);
  font-weight: 800;
}

.admin-shell {
  width: min(1500px, calc(100% - 44px));
  margin: 0 auto;
  padding: 36px 0 70px;
}

.admin-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
  padding: 28px;
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(8, 26, 61, 0.94), rgba(6, 148, 135, 0.86)),
    url("assets/images/news-field.jpg") center / cover;
  border-radius: 10px;
}

.admin-hero h1,
.admin-hero p {
  margin: 0;
}

.admin-hero h1 {
  margin-top: 8px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
}

.admin-hero p:not(.form-kicker) {
  max-width: 680px;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.84);
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.admin-stats article {
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(8, 26, 61, 0.06);
}

.admin-stats strong {
  display: block;
  color: var(--green-700);
  font-size: 2rem;
  line-height: 1;
}

.admin-stats span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-weight: 800;
}

.admin-section {
  margin-top: 30px;
}

.admin-section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.admin-section__head h2,
.admin-section__head p {
  margin: 0;
}

.admin-section__head p {
  margin-top: 6px;
  color: var(--muted);
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.admin-card {
  display: grid;
  gap: 14px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 18px 45px rgba(8, 26, 61, 0.08);
}

.admin-card h1,
.admin-card h3,
.admin-card p {
  margin: 0;
}

.admin-card h3 {
  font-size: 1.1rem;
}

.admin-card label {
  display: grid;
  gap: 7px;
  font-weight: 750;
}

.admin-card input,
.admin-card textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.admin-card textarea {
  min-height: 96px;
  resize: vertical;
}

.admin-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.admin-checks,
.admin-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.admin-check {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center;
  flex-direction: row;
}

.admin-check input {
  width: auto;
}

.admin-check--inline {
  align-self: end;
  min-height: 43px;
}

.admin-danger {
  color: #991b1b;
  background: #fee2e2;
  border: 1px solid #fecaca;
  cursor: pointer;
}

.admin-table-wrap {
  overflow-x: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(8, 26, 61, 0.06);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

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

.admin-table th {
  color: var(--green-900);
  background: #f8fbfb;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.admin-table td span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.86rem;
}

.admin-table a,
.admin-link {
  color: var(--green-700);
  font-weight: 900;
}

.admin-pill {
  display: inline-flex !important;
  width: fit-content;
  margin: 0 6px 6px 0 !important;
  padding: 5px 9px;
  color: #7f1d1d !important;
  background: #fee2e2;
  border-radius: 999px;
  font-size: 0.75rem !important;
  font-weight: 900;
}

.admin-pill.is-active {
  color: #064e3b !important;
  background: #d1fae5;
}

.admin-pill.is-featured {
  color: #713f12 !important;
  background: #fef3c7;
}

.admin-alert,
.admin-success {
  padding: 12px 14px;
  border-radius: 8px;
  font-weight: 750;
}

.admin-alert {
  color: #7f1d1d;
  background: #fee2e2;
}

.admin-success {
  color: #064e3b;
  background: #d1fae5;
}

@media (max-width: 780px) {
  .admin-login-page {
    padding: 14px;
  }

  .admin-login {
    grid-template-columns: 1fr;
    width: min(100%, 560px);
    min-height: 0;
    padding: 10px;
    border-radius: 22px;
  }

  .admin-login__panel {
    min-height: 430px;
    padding: 34px 26px;
    border-radius: 16px;
  }

  .admin-login__panel::before {
    inset: auto 0 0;
  }

  .admin-login__form {
    min-height: 0;
    margin: 10px 0 0;
    padding: 30px 22px;
    border-left: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 16px;
  }

  .admin-login__features span {
    min-height: 50px;
    padding: 8px 10px;
    font-size: 0.78rem;
  }

  .admin-hero,
  .admin-section__head {
    align-items: flex-start;
    flex-direction: column;
  }

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

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

  .admin-topbar {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 22px;
  }
}
