:root {
  --teal-900: #005f68;
  --teal-700: #008895;
  --teal-300: #70dfd0;
  --mint: #d8fff5;
  --cream: #fff7ee;
  --paper: #ffffff;
  --gold: #d5a844;
  --terracotta: #e56f4f;
  --rose: #d95876;
  --plum: #68378a;
  --ink: #19343a;
  --muted: #667476;
  --accent-dark: #9b3f2f;
  --gold-dark: #8a6815;
  --hero-readable: #073f46;
  --line: rgba(11, 89, 97, 0.16);
  --shadow: 0 22px 70px rgba(20, 55, 60, 0.13);
  --radius: 8px;

  /* Font size variables */
  --fs-hero-title: clamp(2.5rem, 5.5vw, 5.2rem);
  --fs-hero-text: clamp(1.12rem, 2vw, 1.42rem);
  --fs-section-title: clamp(2rem, 4vw, 4.2rem);
  --fs-body-text: 1.08rem;
  --fs-nav-links: 0.88rem;
  --fs-indicator-val: clamp(1.8rem, 3.5vw, 2.6rem);
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--cream);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: var(--fs-body-text);
  line-height: 1.6;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
  padding: 12px clamp(18px, 4vw, 64px);
  background:
    linear-gradient(90deg, rgba(216, 255, 245, 0.96), rgba(255, 247, 238, 0.96) 46%, rgba(255, 231, 224, 0.96)),
    var(--cream);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 230px;
  color: var(--teal-900);
  font-weight: 700;
}

.brand img {
  width: 54px;
  height: 54px;
  border: 2px solid rgba(112, 223, 208, 0.65);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 95, 104, 0.16);
}

.brand span {
  max-width: 180px;
  font-size: 0.95rem;
  line-height: 1.15;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: clamp(10px, 1.7vw, 24px);
  color: var(--teal-900);
  font-size: var(--fs-nav-links);
  font-weight: 600;
}

.main-nav a {
  padding: 9px 11px;
  border-radius: 999px;
  transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus {
  color: var(--teal-900);
  background: rgba(112, 223, 208, 0.25);
  box-shadow: 0 8px 18px rgba(0, 95, 104, 0.1);
  transform: translateY(-1px);
}

.nav-action {
  padding: 10px 16px !important;
  color: var(--paper);
  background: linear-gradient(135deg, var(--teal-900), var(--plum));
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(0, 95, 104, 0.22);
}

.nav-action:hover,
.nav-action:focus {
  color: var(--paper) !important;
  background: linear-gradient(135deg, var(--teal-700), var(--plum)) !important;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(216, 255, 245, 0.9));
  box-shadow: 0 8px 20px rgba(0, 95, 104, 0.12);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--teal-900);
}

.section-band,
.section-block,
.section-grid,
.support,
.admin-layout {
  padding: clamp(64px, 8vw, 112px) clamp(20px, 5vw, 78px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: clamp(20px, 3vh, 40px);
  min-height: calc(100vh - 78px);
  padding-top: clamp(24px, 4vh, 56px);
  padding-bottom: clamp(24px, 4vh, 56px);
  background:
    linear-gradient(105deg, rgba(216, 255, 245, 0.92), rgba(255, 247, 238, 0.96) 43%, rgba(229, 111, 79, 0.24)),
    radial-gradient(circle at 86% 12%, rgba(213, 168, 68, 0.34), transparent 30%),
    radial-gradient(circle at 12% 84%, rgba(112, 223, 208, 0.42), transparent 34%);
}

.hero-content {
  max-width: 1200px;
  width: 100%;
}

.hero-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 3vw, 48px);
  margin-bottom: clamp(10px, 1.5vh, 20px);
}

.hero-title-group {
  flex: 1;
}

.hero-title-row h1 {
  margin-bottom: 0;
  max-width: none;
  font-size: var(--fs-hero-title);
}

.hero-title-logo {
  flex: 0 0 auto;
  width: 300px;
  height: 300px;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.hero.has-uploaded-bg h1,
.hero.has-uploaded-bg .hero-text {
  color: var(--paper);
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.28);
}

.hero > .hero-content > .eyebrow {
  color: var(--paper);
  text-shadow: 0 2px 14px rgba(0, 95, 104, 0.28);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  color: var(--teal-900);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.08;
}

h1 {
  max-width: 820px;
  margin-bottom: 20px;
  font-size: clamp(3rem, 7vw, 6.8rem);
}

h2 {
  margin-bottom: 18px;
  font-size: var(--fs-section-title);
}

h3 {
  color: var(--teal-900);
  font-size: 1.16rem;
  line-height: 1.25;
}

.hero-text {
  max-width: 680px;
  color: #35585d;
  font-size: var(--fs-hero-text);
  margin-top: 12px;
  margin-bottom: 0;
}

.hero-lead,
.hero-complement {
  max-width: 860px;
  color: var(--hero-readable);
  font-weight: 800;
}

.hero-lead {
  margin: 18px 0 12px;
  width: fit-content;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 28px rgba(11, 89, 97, 0.1);
  font-size: clamp(1.25rem, 2.4vw, 2rem);
  line-height: 1.25;
}

.hero-complement {
  margin: 20px 0 0;
  padding: 12px 14px;
  border-left: 4px solid var(--gold-dark);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  color: #14373c;
  font-size: 1.02rem;
}

.hero-actions,
.social-links,
.section-actions,
.admin-actions,
.admin-item-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-actions {
  margin-top: clamp(12px, 2vh, 24px);
  justify-content: flex-start;
}

.institutional-motto {
  display: grid;
  gap: 8px;
  max-width: 980px;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid rgba(213, 168, 68, 0.42);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 42px rgba(11, 89, 97, 0.12);
}

.institutional-motto strong {
  color: var(--teal-900);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2.6vw, 2.2rem);
  font-weight: 500;
}

.institutional-motto span {
  color: var(--plum);
  font-weight: 800;
}

.centered-actions {
  justify-content: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(11, 89, 97, 0.18);
}

.button.primary {
  color: var(--paper);
  background: var(--teal-900);
}

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

.impact-strip,
.hero-impact {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  width: min(100%, 900px);
  margin-inline: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 36px rgba(11, 89, 97, 0.11);
}

.impact-strip div,
.hero-impact div {
  min-height: 86px;
  padding: 18px 12px;
  text-align: center;
}

.impact-strip div + div,
.hero-impact div + div {
  border-left: 1px solid var(--line);
}

.impact-strip strong,
.impact-strip span,
.hero-impact strong,
.hero-impact span {
  display: block;
}

.impact-strip strong,
.hero-impact strong {
  color: var(--teal-900);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  font-weight: 500;
}

.hero-impact strong.impact-value {
  font-size: var(--fs-indicator-val);
  font-weight: 700;
  line-height: 1.1;
  color: var(--teal-900);
  margin-bottom: 2px;
}

.hero-impact strong.impact-title {
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  font-family: "Segoe UI", Arial, sans-serif;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 1px;
}

.impact-strip span,
.hero-impact span {
  color: var(--muted);
  font-size: 0.86rem;
}

.hero-impact span.impact-text {
  font-size: 0.82rem;
}

.intro-line {
  padding: 28px clamp(20px, 5vw, 78px);
  color: var(--paper);
  background: linear-gradient(90deg, var(--teal-900), var(--teal-700), var(--plum));
  text-align: center;
}

.intro-line p {
  max-width: 1040px;
  margin: 0 auto 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.2rem, 2.6vw, 2rem);
}

.intro-line span {
  display: block;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(30px, 5vw, 76px);
  align-items: center;
}

.section-grid > *,
.support > *,
.contact > *,
.transparency > *,
.book-callout > * {
  min-width: 0;
}

.section-heading {
  max-width: 760px;
  min-width: 0;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.about-copy {
  min-width: 0;
  color: #43575a;
  font-size: var(--fs-body-text);
}

.mission {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  background: #f2ebe4;
}

.mission article,
.card,
.project-list article,
.gallery-grid article,
.project-card,
.event-card,
.media-wall article,
.video-wall article,
.admin-form,
.admin-event-item,
.support-panel,
.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 16px 46px rgba(25, 68, 72, 0.08);
}

.page-hero {
  padding: clamp(72px, 9vw, 132px) clamp(20px, 5vw, 78px);
  background:
    linear-gradient(110deg, rgba(216, 255, 245, 0.94), rgba(255, 247, 238, 0.96) 52%, rgba(229, 111, 79, 0.18)),
    radial-gradient(circle at 88% 12%, rgba(213, 168, 68, 0.25), transparent 30%);
}

.page-hero h1 {
  max-width: 980px;
  font-size: clamp(2.7rem, 6vw, 5.8rem);
}

.page-hero p {
  max-width: 760px;
  color: #43575a;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.event-hero,
.admin-hero {
  background:
    linear-gradient(135deg, rgba(0, 95, 104, 0.98), rgba(104, 55, 138, 0.9), rgba(229, 111, 79, 0.64)),
    linear-gradient(90deg, rgba(139, 215, 205, 0.2), transparent);
}

.event-hero h1,
.event-hero p,
.event-hero .eyebrow,
.admin-hero h1,
.admin-hero p,
.admin-hero .eyebrow {
  color: var(--paper);
}

.mission article {
  padding: 28px;
}

.mission span {
  color: var(--gold-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
}

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

.card {
  min-height: 244px;
  padding: 24px;
}

.area-card-image,
.project-card-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  margin-bottom: 18px;
  border-radius: var(--radius);
  object-fit: cover;
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  color: var(--teal-900);
  border: 1px solid rgba(181, 139, 79, 0.36);
  border-radius: 50%;
  background: rgba(139, 215, 205, 0.2);
  font-size: 0.74rem;
  font-weight: 900;
}

.projects {
  background: linear-gradient(135deg, rgba(0, 95, 104, 0.97), rgba(104, 55, 138, 0.9), rgba(217, 88, 118, 0.72));
}

.projects h2,
.projects h3,
.projects .eyebrow {
  color: var(--paper);
}

.projects .eyebrow {
  opacity: 0.82;
}

.project-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(190px, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.project-list article {
  min-height: 210px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.94);
}

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

.project-card {
  min-height: 290px;
  padding: 28px;
  overflow: hidden;
}

.project-card span,
.event-card span,
.admin-event-item span {
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.project-card a,
.media-wall a,
.admin-item-actions a,
.admin-item-actions button {
  color: var(--teal-900);
  font-weight: 900;
}

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

.event-card {
  overflow: hidden;
}

.event-card a {
  display: grid;
  height: 100%;
}

.event-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--mint);
}

.event-card div {
  padding: 22px;
}

.event-card small {
  color: var(--muted);
  font-weight: 700;
}

.impact-section {
  background: #eef8f5;
}

.impact-section .section-heading p {
  color: #43575a;
}

.impact-grid,
.axis-grid,
.ods-grid,
.governance-grid,
.support-ways {
  display: grid;
  gap: 14px;
}

.impact-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 34px;
}

.impact-placeholder,
.axis-card,
.ods-card,
.governance-item,
.support-way {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 12px 34px rgba(25, 68, 72, 0.07);
}

.impact-placeholder {
  min-height: 150px;
  padding: 20px;
}

.impact-placeholder span,
.axis-card span,
.governance-item span {
  color: var(--accent-dark);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.impact-placeholder strong,
.governance-item strong {
  display: block;
  margin-top: 8px;
  color: var(--teal-900);
  font-size: 1.08rem;
  line-height: 1.25;
}

.impact-placeholder p,
.empty-axis {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.axis-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 34px;
}

.axis-card {
  min-height: 238px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.95);
}

.axis-card h3 {
  color: var(--teal-900);
  margin-top: 8px;
}

.axis-card p {
  color: #43575a;
  font-size: 0.96rem;
}

.international {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(216, 255, 245, 0.86)),
    radial-gradient(circle at 78% 18%, rgba(213, 168, 68, 0.28), transparent 28%);
}

.international::after {
  content: "";
  position: absolute;
  right: clamp(18px, 7vw, 120px);
  bottom: clamp(18px, 6vw, 96px);
  width: min(28vw, 320px);
  aspect-ratio: 1;
  border: 1px solid rgba(0, 95, 104, 0.18);
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 48%, rgba(0, 95, 104, 0.16) 49% 51%, transparent 52%),
    linear-gradient(0deg, transparent 48%, rgba(104, 55, 138, 0.16) 49% 51%, transparent 52%);
  opacity: 0.65;
  pointer-events: none;
}

.ods-section {
  background: var(--paper);
}

.ods-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 34px;
}

.ods-card {
  min-height: 132px;
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 247, 238, 0.94)),
    linear-gradient(135deg, rgba(0, 95, 104, 0.12), rgba(213, 168, 68, 0.16));
}

.ods-card strong {
  display: inline-grid;
  place-items: center;
  min-width: 58px;
  height: 34px;
  margin-bottom: 14px;
  color: var(--paper);
  border-radius: 999px;
  background: var(--teal-900);
  font-size: 0.88rem;
}

.ods-card span {
  display: block;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.25;
}

.origin {
  background: #fffdf9;
}

.book-callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
  gap: clamp(24px, 5vw, 68px);
  align-items: center;
  color: var(--paper);
  background: linear-gradient(135deg, var(--teal-900), var(--plum));
}

.book-callout h2,
.book-callout .eyebrow {
  color: var(--paper);
}

.book-placeholder {
  display: grid;
  place-items: center;
  min-height: 360px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  background:
    linear-gradient(155deg, rgba(213, 168, 68, 0.24), rgba(255, 255, 255, 0.08)),
    rgba(255, 255, 255, 0.08);
  text-align: center;
}

.book-placeholder span {
  max-width: 180px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.book-placeholder img {
  width: 100%;
  max-height: 420px;
  border-radius: var(--radius);
  object-fit: cover;
}

.book-placeholder img:not([hidden]) + span {
  display: none;
}

.highlight-list {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.highlight-list strong {
  display: block;
  padding: 14px 16px;
  color: var(--teal-900);
  border-left: 4px solid var(--gold-dark);
  border-radius: var(--radius);
  background: rgba(216, 255, 245, 0.5);
}

.presence {
  background: var(--paper);
}

.portrait-wrap {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.portrait-wrap img {
  width: 100%;
  height: min(72vw, 680px);
  object-fit: cover;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 38px;
}

.gallery-grid article {
  min-height: 220px;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.98)),
    linear-gradient(135deg, rgba(139, 215, 205, 0.45), rgba(183, 107, 121, 0.22));
}

.gallery-grid span {
  display: block;
  width: 100%;
  height: 82px;
  margin-bottom: 20px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(11, 89, 97, 0.9), rgba(139, 215, 205, 0.45)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.24) 0 8px, transparent 8px 16px);
}

.media-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}

.tab-button {
  min-height: 44px;
  padding: 10px 18px;
  color: var(--teal-900);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.tab-button.is-active {
  color: var(--paper);
  background: var(--teal-900);
}

.media-wall,
.video-wall {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.media-wall article,
.video-wall article {
  overflow: hidden;
}

.media-wall img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.media-wall h3,
.media-wall a,
.video-wall h3 {
  margin: 16px 18px;
}

.video-wall iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.video-wall video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #101010;
}

.empty-state {
  padding: 24px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.68);
}

.event-detail-hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(44px, 7vw, 86px) clamp(20px, 5vw, 78px);
  background: var(--paper);
}

.event-detail-hero > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.event-meta span {
  padding: 10px 14px;
  color: var(--teal-900);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--cream);
  font-weight: 900;
}

.event-copy {
  background: #eef8f5;
}

.video-section {
  background: #f6f0f3;
}

.transparency {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  background: linear-gradient(135deg, #e9fff9, #fff7ee);
}

.document-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.document-list li {
  padding: 15px 16px;
  color: var(--teal-900);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.8);
  font-weight: 700;
}

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

.governance-item {
  min-height: 96px;
  padding: 18px;
}

.support {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.support-panel {
  padding: clamp(28px, 4vw, 48px);
}

.support-panel.accent {
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(213, 168, 68, 0.98), rgba(255, 247, 238, 0.94)),
    var(--gold);
  border-color: rgba(181, 139, 79, 0.38);
}

.support-panel.accent h2,
.support-panel.accent .eyebrow {
  color: var(--ink);
}

.echo-title {
  position: relative;
}

.echo-title::after {
  content: none;
}

.support-ways {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 24px;
}

.support-way {
  padding: 18px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: none;
}

.support-way h3 {
  margin-bottom: 8px;
}

.support-way p {
  margin-bottom: 0;
}

.cta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.cta-list a {
  padding: 10px 12px;
  color: var(--teal-900);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  font-size: 0.9rem;
  font-weight: 800;
}

.contact {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 72px);
  background: #f6f0f3;
}

.social-links a {
  padding: 10px 14px;
  color: var(--teal-900);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 36px);
}

label {
  display: grid;
  gap: 7px;
  color: var(--teal-900);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--ink);
  background: #fffdf9;
  font: inherit;
}

.admin-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(320px, 1.1fr);
  gap: 22px;
  align-items: start;
}

.admin-shell {
  padding: clamp(42px, 6vw, 78px) clamp(20px, 5vw, 78px);
}

.admin-tabs {
  justify-content: flex-start;
  margin-bottom: 22px;
}

.admin-panel {
  display: none;
}

.admin-panel.is-active {
  display: block;
}

.wide-form {
  max-width: 1120px;
}

.compact-admin {
  padding: 0;
}

.admin-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.three-cols {
  grid-template-columns: repeat(3, 1fr);
}

.admin-list {
  min-width: 0;
}

.admin-event-item {
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 16px;
  padding: 14px;
  margin-bottom: 14px;
}

.admin-event-item img {
  width: 116px;
  height: 116px;
  border-radius: var(--radius);
  object-fit: cover;
}

.admin-item-letter {
  display: grid;
  place-items: center;
  width: 116px;
  height: 116px;
  color: var(--paper);
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--teal-900), var(--terracotta));
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3rem;
}

.admin-event-item h3 {
  margin-bottom: 6px;
}

.admin-event-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.admin-item-actions {
  margin-top: 12px;
}

.admin-item-actions button {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
}

.upload-preview,
.media-manager {
  display: grid;
  gap: 12px;
}

.upload-preview img,
.upload-preview video {
  width: min(100%, 420px);
  max-height: 260px;
  border-radius: var(--radius);
  object-fit: cover;
  background: var(--mint);
}

.upload-preview button,
.media-admin-item button {
  justify-self: start;
  padding: 8px 12px;
  color: var(--teal-900);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

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

.media-admin-item {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.7);
}

.media-admin-item img,
.media-admin-item video {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  object-fit: cover;
  background: var(--mint);
}

textarea {
  resize: vertical;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--teal-900);
  font-weight: 700;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.1fr);
  gap: 22px;
  align-items: start;
  padding: 42px 20px;
  color: var(--paper);
  background: var(--teal-900);
  text-align: left;
}

.site-footer img {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
}

.site-footer p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
}

.site-footer span {
  color: rgba(255, 255, 255, 0.76);
}

.site-footer small {
  grid-column: 1 / -1;
  max-width: 980px;
  color: rgba(255, 255, 255, 0.7);
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.84);
  font-weight: 800;
}

@media (max-width: 1120px) {
  .main-nav {
    gap: 10px;
    font-size: 0.84rem;
  }

  .cards,
  .gallery-grid,
  .project-directory,
  .events-grid,
  .media-wall,
  .video-wall,
  .impact-grid,
  .axis-grid,
  .ods-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 860px) {
  .site-header {
    min-height: 70px;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 70px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 12px 10px;
  }

  .nav-action {
    margin-top: 8px;
    text-align: center;
  }

  .hero,
  .section-grid,
  .mission,
  .transparency,
  .support,
  .contact,
  .event-detail-hero,
  .admin-layout,
  .three-cols,
  .book-callout,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 46px;
  }

  .portrait-wrap img {
    height: 520px;
  }
}

@media (max-width: 620px) {
  :root {
    --fs-hero-title: calc(var(--fs-hero-title) * 0.55);
    --fs-hero-text: calc(var(--fs-hero-text) * 0.85);
    --fs-section-title: calc(var(--fs-section-title) * 0.7);
    --fs-indicator-val: calc(var(--fs-indicator-val) * 0.75);
  }

  .brand {
    min-width: 0;
  }

  .brand span {
    max-width: 150px;
    font-size: 0.84rem;
  }

  .hero-actions,
  .social-links {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-title-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .button,
  .social-links a {
    width: 100%;
  }

  .impact-strip,
  .hero-impact,
  .cards,
  .project-list,
  .gallery-grid,
  .document-list,
  .project-directory,
  .events-grid,
  .media-wall,
  .video-wall,
  .form-row,
  .impact-grid,
  .axis-grid,
  .ods-grid,
  .governance-grid,
  .support-ways,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .media-manager {
    grid-template-columns: 1fr;
  }

  .impact-strip div + div,
  .hero-impact div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .card,
  .gallery-grid article,
  .project-list article,
  .project-card,
  .admin-event-item {
    min-height: auto;
  }

  .admin-event-item {
    grid-template-columns: 1fr;
  }

  .admin-event-item img,
  .admin-item-letter {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .portrait-wrap img {
    height: 420px;
  }

  .international::after {
    display: none;
  }
}

/* Admin Dashboard Color and Font Grids */
.color-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
  padding: 10px 0;
}

.color-field div {
  display: flex;
  gap: 10px;
}

.color-field input[type="color"] {
  flex: 0 0 60px;
  height: 50px;
  padding: 4px;
  border-radius: var(--radius);
  cursor: pointer;
}

.color-field input[type="text"] {
  flex: 1;
}

.font-field input[type="text"] {
  width: 100%;
}

/* Font Slider Controls */
.font-slider-container {
  display: grid;
  gap: 8px;
  background: var(--paper);
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.font-label {
  color: var(--teal-900);
  font-weight: 800;
  font-size: 0.9rem;
}

.font-control-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.font-step-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--cream);
  color: var(--teal-900);
  font-size: 0.75rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 150ms, transform 100ms;
}

.font-step-btn:hover {
  background: var(--teal-300);
  color: var(--teal-900);
}

.font-step-btn:active {
  transform: scale(0.92);
}

.font-control-row input[type="range"] {
  flex: 1;
  height: 6px;
  -webkit-appearance: none;
  background: var(--line);
  border-radius: 999px;
  outline: none;
  cursor: pointer;
}

.font-control-row input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--teal-900);
  box-shadow: 0 2px 6px rgba(0, 95, 104, 0.3);
  transition: background 150ms, transform 150ms;
}

.font-control-row input[type="range"]::-webkit-slider-thumb:hover {
  background: var(--teal-700);
  transform: scale(1.15);
}

.font-value-display {
  flex: 0 0 54px;
  text-align: right;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--teal-900);
}

/* Auth / Login Dashboard Styles */
.auth-section {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 180px);
  padding: 40px 20px;
}

.auth-card {
  width: 100%;
  max-width: 480px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 42px rgba(11, 89, 97, 0.08);
  overflow: hidden;
  padding: 32px;
}

.auth-tabs {
  display: flex;
  border-bottom: 2px solid var(--line);
  margin-bottom: 28px;
}

.auth-tab-btn {
  flex: 1;
  padding: 12px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  transition: all 180ms ease;
}

.auth-tab-btn.is-active {
  color: var(--teal-900);
  border-bottom-color: var(--teal-900);
}

.auth-form {
  display: none;
  flex-direction: column;
  gap: 18px;
}

.auth-form.is-active {
  display: flex;
}

.auth-form h2 {
  font-size: 1.6rem;
  color: var(--teal-900);
  margin-bottom: 4px;
}

.auth-form p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.wide-btn {
  width: 100%;
  padding: 14px;
  font-weight: 800;
  margin-top: 8px;
}
