:root {
  --bg: #f7faf7;
  --surface: #ffffff;
  --surface-soft: #eef6f0;
  --text: #10231b;
  --muted: #64746b;
  --line: #dce7df;

  --green: #0f5f3d;
  --green-dark: #063b28;
  --green-light: #e8f5ec;
  --teal: #0f766e;
  --blue: #143d63;
  --orange: #e88a2c;

  --shadow: 0 12px 30px rgba(6, 59, 40, 0.07);
  --shadow-hover: 0 18px 48px rgba(6, 59, 40, 0.12);

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 32px;

  --container: 1180px;
}

/* =========================================================
   RESET / BASE
========================================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(15, 95, 61, 0.08), transparent 32%),
    radial-gradient(circle at top right, rgba(15, 118, 110, 0.08), transparent 28%),
    var(--bg);
  line-height: 1.6;
}

img {
  max-width: 100%;
}

a {
  color: var(--green);
  text-decoration: none;
  font-weight: 700;
}

a:hover {
  color: var(--teal);
}

.container {
  width: min(var(--container), calc(100% - 36px));
  margin: 0 auto;
}

/* =========================================================
   CLEAN HEADER / DROPDOWN NAVIGATION
   Matches header.php classes:
   site-header, topbar, brand, brand-text, site-nav,
   nav-dropdown, nav-label, dropdown-menu, nav-register,
   nav-login, nav-toggle
========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid #dfe9e2;
  box-shadow: 0 8px 30px rgba(7, 59, 40, 0.06);
}

.topbar {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--green-dark);
  text-decoration: none;
  flex: 0 0 auto;
  min-width: 260px;
  max-width: 360px;
}

.brand img,
.brand-logo-fallback {
  width: 54px;
  height: 54px;
  min-width: 54px;
  max-width: 54px;
  object-fit: contain;
  border-radius: 16px;
  background: var(--green-light);
  border: 1px solid #dfe9e2;
  padding: 5px;
  display: grid;
  place-items: center;
  color: var(--green-dark);
  font-size: 1.7rem;
  font-weight: 900;
}

.brand-text strong {
  display: block;
  font-size: 1.65rem;
  line-height: 1;
  color: var(--green-dark);
  letter-spacing: 0.08em;
  font-weight: 900;
}

.brand-text small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  flex: 1 1 auto;
  flex-wrap: nowrap;
}

.site-nav > a,
.nav-label,
.nav-register,
.nav-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: auto;
  min-height: 40px;
  padding: 10px 10px;
  margin: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--green-dark);
  box-shadow: none;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  transition: 0.2s ease;
}

.site-nav > a:hover,
.nav-register:hover,
.nav-login:hover,
.nav-dropdown:hover > .nav-label,
.nav-dropdown.is-open > .nav-label {
  background: var(--green-light);
  color: #0b5035;
}

.nav-label::after {
  content: " ▾";
  font-size: 0.78rem;
  opacity: 0.75;
}

.nav-register {
  border: 1px solid #cfe3d5;
  background: #eef6ef;
}

.nav-login {
  background: var(--green);
  color: #ffffff;
  padding-inline: 16px;
  box-shadow: 0 12px 24px rgba(16, 107, 69, 0.18);
}

.nav-login:hover {
  background: var(--teal);
  color: #ffffff;
}

.nav-dropdown {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 250px;
  background: #ffffff;
  border: 1px solid #dfe9e2;
  border-radius: 20px;
  box-shadow: 0 22px 60px rgba(7, 59, 40, 0.13);
  padding: 10px;
  display: none;
  z-index: 10000;
  pointer-events: auto;
}

.dropdown-menu-right {
  right: 0;
  left: auto;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.is-open .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 12px 13px;
  border-radius: 14px;
  text-decoration: none;
  color: #173225;
  background: transparent;
  font-weight: 800;
  font-size: 0.94rem;
  white-space: nowrap;
  pointer-events: auto;
}

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

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 14px;
  background: var(--green);
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(16, 107, 69, 0.18);
}

.page-shell {
  padding-top: 28px;
  padding-bottom: 42px;
}

/* =========================================================
   HERO
========================================================= */

.hero {
  position: relative;
  overflow: hidden;
  margin: 34px 0 22px;
  padding: clamp(34px, 6vw, 70px);
  border-radius: var(--radius-lg);
  color: white;
  background:
    linear-gradient(135deg, rgba(6, 59, 40, 0.96), rgba(15, 118, 110, 0.88)),
    radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.18), transparent 28%);
  box-shadow: 0 24px 70px rgba(6, 59, 40, 0.2);
}

.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -150px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.hero > * {
  position: relative;
  z-index: 2;
}

.hero h1 {
  max-width: 920px;
  margin: 16px 0 14px;
  font-size: clamp(2.4rem, 7vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: -0.07em;
}

.hero p {
  max-width: 790px;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.92);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
  position: relative;
  z-index: 5;
}

.hero-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 34px;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-image {
  margin-top: 34px;
  width: 100%;
  max-width: 980px;
  position: relative;
  z-index: 3;
}

.hero-image img {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  object-position: center;
  background: #ffffff;
  border-radius: 24px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

/* =========================================================
   BUTTONS
========================================================= */

.btn,
.btn-small,
button:not(.nav-toggle):not(.password-toggle):not(.registration-submit-btn) {
  border: 0;
  border-radius: 999px;
  background: var(--green);
  color: white;
  padding: 12px 20px;
  font-weight: 800;
  cursor: pointer;
  display: inline-block;
  box-shadow: 0 10px 24px rgba(15, 95, 61, 0.18);
  transition: 0.2s ease;
}

.btn:hover,
.btn-small:hover,
button:not(.nav-toggle):not(.password-toggle):not(.registration-submit-btn):hover {
  background: var(--teal);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(15, 95, 61, 0.22);
}

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

.btn.secondary:hover {
  background: #f4fbf6;
}

.btn-small {
  padding: 8px 14px;
  font-size: 0.88rem;
}

/* =========================================================
   LAYOUT
========================================================= */

.grid {
  display: grid;
  gap: 18px;
}

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

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

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

/* =========================================================
   CARDS / TYPOGRAPHY
========================================================= */

.card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.card:hover {
  box-shadow: var(--shadow-hover);
}

.card h2,
.card h3 {
  color: var(--green-dark);
  margin-top: 0;
  line-height: 1.2;
}

.card p:last-child {
  margin-bottom: 0;
}

.kpi {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 900;
  color: var(--green);
  line-height: 1;
  margin-bottom: 8px;
}

.badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.03em;
}

.page-title {
  margin: 36px 0 18px;
  color: var(--green-dark);
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

/* =========================================================
   FORMS
========================================================= */

form label {
  display: block;
  margin: 13px 0 7px;
  color: var(--green-dark);
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #cbd9d0;
  border-radius: 14px;
  background: white;
  color: var(--text);
  font: inherit;
  outline: none;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(15, 95, 61, 0.12);
}

textarea {
  min-height: 130px;
  resize: vertical;
}

input[type="checkbox"] {
  width: auto;
  margin-right: 8px;
}

input[type="file"] {
  background: #fbfdfb;
}

/* Password eye toggle */

.password-field {
  position: relative;
}

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

.password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: var(--green-dark);
  box-shadow: none;
  width: 36px;
  min-width: 36px;
  max-width: 36px;
  height: 36px;
  min-height: 36px;
  max-height: 36px;
  padding: 0;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.password-toggle:hover {
  background: var(--green-light);
  transform: translateY(-50%);
  box-shadow: none;
}

.password-toggle:focus {
  outline: 2px solid rgba(15, 95, 61, 0.25);
}

/* Registration submit button */

.registration-submit-row,
.form-actions {
  display: block;
  width: 100%;
  margin-top: 24px;
  padding: 0;
  text-align: left;
  align-self: start;
  justify-self: start;
}

.registration-submit-btn,
.form-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 210px;
  max-width: 280px;
  height: auto;
  min-height: 48px;
  max-height: 54px;
  padding: 13px 24px;
  margin: 0;
  border: 0;
  border-radius: 999px;
  background: var(--green);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.2;
  box-shadow: 0 10px 24px rgba(15, 95, 61, 0.18);
  cursor: pointer;
  align-self: start;
  justify-self: start;
}

.registration-submit-btn:hover,
.form-submit-btn:hover {
  background: var(--teal);
  transform: translateY(-2px);
}

/* =========================================================
   TABLES
========================================================= */

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

table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  background: white;
  border-radius: 18px;
  overflow: hidden;
}

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

th {
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 0.9rem;
}

tr:hover td {
  background: #fbfdfb;
}

/* =========================================================
   ALERTS / UTILITIES
========================================================= */

.alert {
  padding: 13px 16px;
  margin: 16px 0;
  border-radius: 15px;
  background: var(--green-light);
  border: 1px solid #b9ddc5;
  color: var(--green-dark);
  font-weight: 800;
}

.alert.error {
  background: #fff0ee;
  border-color: #fac1b8;
  color: #8a2a1d;
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 18px 0;
}

code {
  background: var(--green-light);
  color: var(--green-dark);
  padding: 3px 7px;
  border-radius: 8px;
  font-weight: 800;
}

ul,
ol {
  padding-left: 22px;
}

li {
  margin-bottom: 7px;
}

/* =========================================================
   PROGRAM / SESSIONS
========================================================= */

.session {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  border-left: 6px solid var(--green);
  margin-bottom: 16px;
}

.session-time {
  align-self: start;
  padding: 14px;
  border-radius: 16px;
  background: var(--green-light);
  color: var(--blue);
  font-weight: 900;
  text-align: center;
}

.session-time span {
  display: inline-block;
  color: var(--muted);
  font-size: 0.78rem;
  margin: 3px 0;
}

/* Session speakers */

.session-speaker-grid {
  display: grid;
  gap: 16px;
}

.session-speaker-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.session-speaker-card:last-child {
  border-bottom: 0;
}

.session-speaker-photo {
  width: 96px;
  height: 96px;
  border-radius: 20px;
  overflow: hidden;
  background: var(--green-light);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
}

.session-speaker-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.session-speaker-photo span {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--green-dark);
}

/* =========================================================
   BIOME HISTORY
========================================================= */

.biome-timeline {
  position: relative;
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.biome-history-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  align-items: start;
  border-left: 6px solid var(--green);
}

.biome-history-left {
  width: 140px;
  max-width: 140px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.biome-history-number {
  width: 120px;
  padding: 10px 12px;
  border-radius: 18px;
  background: var(--green-light);
  color: var(--green-dark);
  font-weight: 900;
  font-size: 1rem;
  text-align: center;
}

.biome-history-logo {
  width: 120px;
  height: 120px;
  min-height: 120px;
  max-width: 120px;
  max-height: 120px;
  padding: 10px;
  margin: 0;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.biome-history-logo img,
.history-logo-img {
  width: 90px;
  height: 90px;
  max-width: 90px;
  max-height: 90px;
  object-fit: contain;
  display: block;
  margin: 0;
}

.biome-history-logo-placeholder {
  background: #f8fbf8;
  color: var(--muted);
  font-weight: 700;
}

.biome-history-content {
  min-width: 0;
}

.biome-history-content h2 {
  margin: 12px 0;
}

/* =========================================================
   GALLERIES
========================================================= */

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

.photo-grid figure {
  margin: 0;
}

.photo-grid img,
.gallery-card img {
  width: 100%;
  height: 235px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
  background: var(--surface-soft);
}

.gallery-hero,
.speakers-hero,
.resources-hero,
.announcements-hero,
.exhibitors-hero,
.important-dates-hero,
.pledge-hero,
.impact-hero,
.donor-wall-hero,
.venue-guide-hero,
.committee-hero,
.newsletter-hero,
.feedback-hero {
  margin-top: 34px;
}

.gallery-hero .page-title,
.speakers-hero .page-title,
.resources-hero .page-title,
.announcements-hero .page-title,
.exhibitors-hero .page-title,
.important-dates-hero .page-title,
.pledge-hero .page-title,
.impact-hero .page-title,
.donor-wall-hero .page-title,
.venue-guide-hero .page-title,
.committee-hero .page-title,
.newsletter-hero .page-title,
.feedback-hero .page-title {
  margin-top: 14px;
  margin-bottom: 12px;
}

.gallery-card {
  padding: 14px;
  overflow: hidden;
}

.gallery-card img,
.gallery-missing-image {
  height: 260px;
}

.gallery-missing-image {
  border-radius: 16px;
  background: var(--green-light);
  color: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

.gallery-card figcaption,
figcaption {
  margin-top: 12px;
}

figcaption small,
.gallery-meta {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

/* =========================================================
   SPEAKERS
========================================================= */

.speakers-grid,
.speaker-featured-grid,
.speaker-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}

.speaker-card,
.speaker-featured-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.speaker-photo,
.speaker-photo-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  overflow: hidden;
  background: var(--green-light);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.speaker-photo img,
.speaker-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.speaker-photo span,
.speaker-photo-placeholder {
  font-size: 4rem;
  font-weight: 900;
  color: var(--green-dark);
}

.speaker-card h2,
.speaker-featured-card h2,
.speaker-info h2 {
  margin: 12px 0 6px;
}

.speaker-position {
  color: var(--muted);
  font-weight: 800;
}

.speaker-topic {
  margin: 16px 0;
  padding: 16px;
  border-radius: 18px;
  background: var(--green-light);
  color: var(--green-dark);
  font-weight: 800;
}

.speaker-badges,
.speaker-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.speaker-links {
  margin-top: 18px;
}

.speaker-links a {
  background: var(--green-light);
  color: var(--green-dark);
  border-radius: 999px;
  padding: 8px 13px;
  font-size: 0.9rem;
  font-weight: 900;
}

.speaker-profile {
  margin-top: 34px;
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 28px;
  align-items: start;
}

.speaker-profile-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 28px;
  overflow: hidden;
  background: var(--green-light);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
}

.speaker-profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.speaker-profile-photo span {
  font-size: 5rem;
  font-weight: 900;
  color: var(--green-dark);
}

.speaker-session-box {
  margin-top: 18px;
  background: var(--surface-soft);
}

/* =========================================================
   RESOURCES / ANNOUNCEMENTS / PROCEEDINGS / FAQ
========================================================= */

.resources-grid,
.resources-featured-grid,
.announcements-grid,
.announcement-pinned-grid,
.award-entry-grid,
.exhibitor-grid,
.impact-featured-grid,
.impact-metric-grid,
.donor-wall-grid,
.venue-featured-grid,
.venue-guide-grid,
.committee-featured-grid,
.committee-grid,
.pledge-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}

.resource-card {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 16px;
  align-items: start;
}

.resource-icon {
  width: 74px;
  height: 74px;
  border-radius: 20px;
  background: var(--green-light);
  color: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 900;
  border: 1px solid var(--line);
}

.resource-card h2,
.resource-featured-card h2 {
  margin-top: 14px;
}

.resource-card .btn {
  margin-top: auto;
}

.resource-badges,
.announcement-badges,
.proceedings-meta,
.important-date-badges,
.impact-metric-top,
.donor-card-top,
.venue-guide-badges,
.committee-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.announcement-list,
.proceedings-list,
.faq-list,
.important-date-list {
  display: grid;
  gap: 18px;
}

.announcement-card {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 0;
  padding: 0;
  overflow: hidden;
}

.announcement-card-image,
.announcement-card img {
  width: 100%;
  height: 100%;
  min-height: 230px;
  object-fit: cover;
  display: block;
  background: var(--surface-soft);
}

.announcement-card-body {
  padding: 24px;
}

.urgent-badge {
  background: #fff1e8;
  color: #9a3412;
}

.announcement-card h2,
.announcement-pinned-card h2 {
  margin-top: 14px;
}

.announcement-pinned-card,
.resource-featured-card {
  border-left: 6px solid var(--green);
}

.announcement-detail,
.announcement-single {
  margin-top: 34px;
}

.announcement-detail-image,
.announcement-single-image {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  border-radius: 24px;
  margin: 18px 0;
  border: 1px solid var(--line);
}

.announcement-excerpt {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--green-dark);
  background: var(--green-light);
  padding: 18px;
  border-radius: 18px;
}

.announcement-body {
  font-size: 1.05rem;
  line-height: 1.8;
}

.home-announcement-banner {
  display: grid;
  gap: 14px;
  margin: 24px 0;
}

.home-announcement-item {
  border-left: 6px solid var(--green);
}

.home-announcement-item strong {
  display: block;
  color: var(--green-dark);
  font-size: 1.2rem;
  margin-top: 10px;
}

.faq-item {
  cursor: pointer;
}

.faq-item summary,
.proceedings-card summary,
.table-wrap details summary {
  cursor: pointer;
  font-weight: 900;
  color: var(--green-dark);
}

.faq-answer {
  margin-top: 16px;
}

.proceedings-card details {
  margin-top: 12px;
  padding: 14px;
  border-radius: 16px;
  background: var(--green-light);
}

/* =========================================================
   EXHIBITORS / VENUE / COMMITTEE / IMPORTANT DATES
========================================================= */

.exhibitor-card,
.venue-featured-card,
.venue-guide-card {
  padding: 0;
  overflow: hidden;
}

.exhibitor-cover,
.venue-featured-card img,
.venue-guide-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  background: var(--surface-soft);
}

.exhibitor-card-body,
.venue-featured-body,
.venue-guide-card-body {
  padding: 22px;
}

.exhibitor-logo-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.exhibitor-logo {
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.exhibitor-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}

.exhibitor-logo span {
  font-size: 2rem;
  font-weight: 900;
  color: var(--green-dark);
}

.exhibitor-links,
.venue-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 14px;
}

.exhibitor-links a,
.venue-links a {
  background: var(--green-light);
  color: var(--green-dark);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.9rem;
  font-weight: 900;
}

.next-date-card {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 22px;
  align-items: center;
  margin-bottom: 18px;
  border-left: 6px solid var(--green);
}

.countdown-box {
  text-align: center;
  background: var(--green-light);
  border-radius: 24px;
  padding: 24px;
  color: var(--green-dark);
}

.countdown-number {
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 900;
  line-height: 1;
}

.important-date-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 20px;
  align-items: start;
  border-left: 6px solid var(--green);
}

.important-date-calendar {
  background: var(--green-light);
  color: var(--green-dark);
  border-radius: 20px;
  padding: 14px;
  text-align: center;
}

.important-date-calendar span,
.important-date-calendar small {
  display: block;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.important-date-calendar strong {
  display: block;
  font-size: 2.6rem;
  line-height: 1;
  margin: 8px 0;
}

.important-date-past {
  opacity: 0.72;
}

.committee-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 22px;
  overflow: hidden;
  background: var(--green-light);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.committee-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.committee-photo span {
  font-size: 4rem;
  font-weight: 900;
  color: var(--green-dark);
}

.committee-card,
.committee-featured-card,
.donor-card,
.impact-featured-card,
.impact-metric-card,
.pledge-card,
.award-entry-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.committee-card h2,
.committee-featured-card h2 {
  margin: 12px 0 6px;
}

.committee-position {
  color: var(--muted);
  font-weight: 800;
}

.committee-card details {
  margin-top: 10px;
}

.committee-card summary {
  cursor: pointer;
  font-weight: 900;
  color: var(--green-dark);
}

/* =========================================================
   IMPACT / DONOR / PLEDGE / AWARDS
========================================================= */

.impact-number {
  margin-top: 16px;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1;
  color: var(--green-dark);
}

.impact-unit {
  margin: 6px 0 10px;
  font-weight: 900;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.donor-amount {
  font-size: 2rem;
  line-height: 1;
  color: var(--green-dark);
  font-weight: 900;
  margin: 8px 0 14px;
}

.donor-card blockquote {
  margin: 12px 0;
  padding: 14px 16px;
  border-left: 5px solid var(--green);
  background: var(--green-light);
  border-radius: 14px;
  color: var(--green-dark);
  font-weight: 700;
}

.pledge-target {
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--green-light);
  color: var(--green-dark);
  font-weight: 900;
}

.award-category-card {
  margin-top: 18px;
}

/* =========================================================
   USER DASHBOARD
========================================================= */

.user-dashboard-hero {
  margin-top: 34px;
}

.user-dashboard-hero .page-title {
  margin-top: 14px;
  margin-bottom: 12px;
}

.user-dashboard-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}

.user-dashboard-stat {
  text-decoration: none;
  color: var(--text);
  border-left: 6px solid var(--green);
  transition: 0.2s ease;
}

.user-dashboard-stat:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(7, 59, 40, 0.12);
}

.user-dashboard-stat span {
  display: block;
  color: var(--muted);
  font-weight: 900;
}

.user-dashboard-stat strong {
  display: block;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1;
  margin: 12px 0 8px;
  color: var(--green-dark);
}

.user-dashboard-stat small {
  color: var(--muted);
  font-weight: 800;
}

.user-dashboard-grid {
  margin-bottom: 18px;
  align-items: start;
}

.user-quick-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.user-quick-actions a {
  padding: 14px;
  border-radius: 16px;
  background: var(--green-light);
  color: var(--green-dark);
  text-decoration: none;
  font-weight: 900;
  text-align: center;
}

.user-dashboard-card-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.user-dashboard-card-heading h2 {
  margin: 0;
}

.user-mini-list {
  display: grid;
  gap: 10px;
}

.user-mini-list a {
  display: block;
  padding: 14px;
  border-radius: 16px;
  background: var(--green-light);
  color: var(--green-dark);
  text-decoration: none;
}

.user-mini-list strong {
  display: block;
  margin-bottom: 4px;
}

.user-mini-list small {
  color: var(--muted);
  font-weight: 800;
}

/* =========================================================
   ADMIN LEGACY LAYOUT
   New admin dashboard has its own inline CSS in admin/_admin_header.php
========================================================= */

.admin-layout {
  display: grid;
  grid-template-columns: 255px 1fr;
  gap: 22px;
  align-items: start;
}

.sidebar {
  position: sticky;
  top: 110px;
}

.sidebar strong {
  display: block;
  margin-bottom: 12px;
  color: var(--green-dark);
}

.sidebar a {
  display: block;
  padding: 11px 13px;
  border-radius: 13px;
  color: var(--green-dark);
  margin: 4px 0;
}

.sidebar a:hover {
  background: var(--green-light);
}

/* =========================================================
   FOOTER
========================================================= */

.clean-footer,
.site-footer {
  margin-top: 46px;
  background: linear-gradient(135deg, #073b28, #0b5035);
  color: #ffffff;
  padding: 44px 0 22px;
}

.clean-footer-grid,
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1.2fr;
  gap: 28px;
}

.clean-footer strong,
.site-footer strong {
  display: block;
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  color: #ffffff;
}

.clean-footer h3,
.site-footer h3 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: 1rem;
}

.clean-footer p,
.clean-footer small,
.site-footer p,
.site-footer small {
  color: rgba(255, 255, 255, 0.78);
  margin: 6px 0;
  line-height: 1.5;
}

.clean-footer a,
.site-footer a {
  display: block;
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  margin: 8px 0;
  font-weight: 800;
}

.clean-footer a:hover,
.site-footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.clean-footer-bottom {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1180px) {
  .brand {
    min-width: 245px;
    max-width: 320px;
  }

  .brand img,
  .brand-logo-fallback {
    width: 50px;
    height: 50px;
    min-width: 50px;
    max-width: 50px;
  }

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

  .brand-text small {
    font-size: 0.78rem;
  }

  .site-nav > a,
  .nav-label,
  .nav-register,
  .nav-login {
    padding-inline: 8px;
    font-size: 0.84rem;
  }
}

@media (max-width: 1020px) {
  .grid-4,
  .resources-grid,
  .resources-featured-grid,
  .announcements-grid,
  .announcement-pinned-grid,
  .award-entry-grid,
  .exhibitor-grid,
  .impact-featured-grid,
  .impact-metric-grid,
  .donor-wall-grid,
  .venue-featured-grid,
  .venue-guide-grid,
  .committee-featured-grid,
  .committee-grid,
  .pledge-grid,
  .speakers-grid,
  .speaker-featured-grid,
  .speaker-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .hero-split,
  .admin-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }

  .speaker-profile {
    grid-template-columns: 260px 1fr;
  }
}

@media (max-width: 920px) {
  .topbar {
    min-height: auto;
    flex-wrap: wrap;
    padding: 12px 0;
  }

  .brand {
    min-width: 0;
    max-width: calc(100% - 64px);
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding-top: 12px;
  }

  body.nav-open .site-nav {
    display: flex;
  }

  .site-nav > a,
  .nav-label,
  .nav-register,
  .nav-login {
    width: 100%;
    justify-content: flex-start;
    text-align: left;
    border-radius: 14px;
    padding: 14px;
    background: #f5faf6;
    font-size: 0.95rem;
  }

  .nav-login,
  .nav-register {
    justify-content: center;
  }

  .nav-dropdown {
    width: 100%;
  }

  .dropdown-menu,
  .dropdown-menu-right {
    position: static;
    display: block;
    min-width: 100%;
    box-shadow: none;
    border-radius: 16px;
    margin-top: 6px;
    border: 1px solid #e4eee6;
    background: #ffffff;
  }

  .dropdown-menu a {
    white-space: normal;
  }

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

  .clean-footer-bottom {
    flex-direction: column;
  }

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

  .announcement-card {
    grid-template-columns: 1fr;
  }

  .announcement-card-image,
  .announcement-card img {
    height: 220px;
  }
}

@media (max-width: 780px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .brand img,
  .brand-logo-fallback {
    width: 50px;
    height: 50px;
    min-width: 50px;
  }

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

  .brand-text small {
    font-size: 0.78rem;
    white-space: normal;
  }

  .hero {
    padding: 32px 24px;
    border-radius: 24px;
  }

  .hero h1 {
    font-size: clamp(2.25rem, 12vw, 3.8rem);
  }

  .hero-image {
    margin-top: 28px;
  }

  .hero-image img {
    max-height: 320px;
    padding: 16px;
    border-radius: 18px;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .photo-grid,
  .gallery-grid,
  .resources-grid,
  .resources-featured-grid,
  .announcements-grid,
  .announcement-pinned-grid,
  .award-entry-grid,
  .exhibitor-grid,
  .impact-featured-grid,
  .impact-metric-grid,
  .donor-wall-grid,
  .venue-featured-grid,
  .venue-guide-grid,
  .committee-featured-grid,
  .committee-grid,
  .pledge-grid,
  .speakers-grid,
  .speaker-featured-grid,
  .speaker-grid,
  .speaker-profile,
  .user-dashboard-stats,
  .user-quick-actions {
    grid-template-columns: 1fr;
  }

  .session,
  .next-date-card,
  .important-date-item,
  .session-speaker-card {
    grid-template-columns: 1fr;
  }

  .session-time,
  .countdown-box {
    text-align: left;
  }

  .photo-grid img,
  .gallery-card img,
  .gallery-missing-image {
    height: 220px;
  }

  .biome-history-card {
    grid-template-columns: 1fr;
  }

  .biome-history-left {
    width: 100%;
    max-width: 100%;
    flex-direction: row;
    align-items: center;
  }

  .biome-history-number,
  .biome-history-logo {
    width: 110px;
  }

  .biome-history-logo {
    height: 110px;
    min-height: 110px;
  }

  .biome-history-logo img,
  .history-logo-img {
    width: 80px;
    height: 80px;
    max-width: 80px;
    max-height: 80px;
  }

  .resource-card {
    grid-template-columns: 1fr;
  }

  .important-date-calendar {
    width: 120px;
  }

  .user-dashboard-card-heading {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .clean-footer-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .card {
    padding: 20px;
  }

  .btn,
  .btn-small,
  .registration-submit-btn,
  .form-submit-btn {
    width: 100%;
    max-width: 100%;
    text-align: center;
  }

  .password-toggle {
    width: 36px;
    min-width: 36px;
    max-width: 36px;
  }

  .hero-image img {
    height: 200px;
    border-radius: 20px;
  }

  table {
    font-size: 0.9rem;
  }
}
/* =========================================================
   ACCOUNT DROPDOWN ALIGNMENT FIX
========================================================= */

@media (min-width: 921px) {
  .site-nav {
    flex-wrap: nowrap !important;
    align-items: center !important;
  }

  .nav-dropdown {
    width: auto !important;
    flex: 0 0 auto !important;
  }

  .nav-label {
    width: auto !important;
    white-space: nowrap !important;
  }

  .dropdown-menu-right {
    right: 0 !important;
    left: auto !important;
  }
}
/* =========================================================
   ACCOUNT DROPDOWN CLICK FIX
========================================================= */

.nav-dropdown {
  position: relative !important;
}

.nav-label {
  cursor: pointer !important;
  user-select: none !important;
}

.dropdown-menu {
  top: 100% !important;
  margin-top: 0 !important;
  z-index: 99999 !important;
  pointer-events: auto !important;
}

.dropdown-menu a {
  pointer-events: auto !important;
  cursor: pointer !important;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.is-open .dropdown-menu {
  display: block !important;
}

.dropdown-menu-right {
  right: 0 !important;
  left: auto !important;
}

.account-dropdown .dropdown-menu {
  min-width: 180px !important;
}
.login-submit-row {
  display: block !important;
  width: 100% !important;
  margin-top: 22px !important;
  text-align: left !important;
}

.login-submit-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 150px !important;
  max-width: 220px !important;
  min-height: 48px !important;
  padding: 13px 26px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #0f5f3d !important;
  color: #ffffff !important;
  font-size: 1rem !important;
  font-weight: 900 !important;
  cursor: pointer !important;
  box-shadow: 0 10px 24px rgba(15, 95, 61, 0.18) !important;
}

.login-submit-btn:hover {
  background: #0f766e !important;
}
/* =========================================================
   ADMIN TOPBAR BUTTON TEXT FIX
   View Site / Profile / Logout
========================================================= */

.admin-topbar-actions a {
  background: #0f5f3d !important;
  color: #ffffff !important;
  border: 0 !important;
}

.admin-topbar-actions a:hover {
  background: #073b28 !important;
  color: #ffffff !important;
}