/* Main stylesheet for Souss Massa National Park WP Theme */
:root {
  --marsh: #1F3A2E;
  --marsh-deep: #142720;
  --sand: #F5F1E6;
  --sand-dim: #EDE6D3;
  --clay: #9E350D;
  --clay-soft: #E8A06B;
  --teal: #3F6E63;
  --ink: #1B2420;
  --ink-soft: #4A554E;
  --line: rgba(27,36,32,0.12);
  --font-display: "Fraunces", "Source Serif 4", serif;
  --font-body: "Work Sans", "Plus Jakarta Sans", sans-serif;

  /* Tailwind compatibility variables */
  --primary: #012d1d;
  --primary-container: #1b4332;
  --on-primary: #ffffff;
  --on-primary-container: #86af99;
  --secondary: #924c00;
  --secondary-container: #fda055;
  --on-secondary-container: #703800;
  --surface: #fefae0;
  --surface-variant: #e7e3ca;
  --surface-container-high: #ede9cf;
  --surface-container-low: #f8f4db;
  --surface-container-highest: #e7e3ca;
  --outline-variant: #c1c8c2;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--sand);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .wrap {
    padding: 0 16px;
  }
}

@media (max-width: 480px) {
  .wrap {
    padding: 0 12px;
  }
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--marsh-deep);
}

/* Material symbols */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  vertical-align: middle;
}

/* Skip link & Accessible Hidden Labels */
.skip-link,
.screen-reader-text,
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.skip-link:focus {
  position: fixed !important;
  top: 16px !important;
  left: 16px !important;
  width: auto !important;
  height: auto !important;
  padding: 12px 20px !important;
  margin: 0 !important;
  overflow: visible !important;
  clip: auto !important;
  white-space: normal !important;
  background: var(--clay) !important;
  color: #fff !important;
  z-index: 999999 !important;
  border-radius: 6px !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3) !important;
}

/* Header & Navbar */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--sand);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  width: 100%;
  box-sizing: border-box;
  padding: 0;
}
header.site-header.shadow-md {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .nav-row {
    padding: 12px 0;
  }
}

.logo-container {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-link,
.logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  color: var(--marsh-deep);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  max-width: 100%;
}

.logo-link img,
.logo img,
.custom-logo {
  max-height: 58px !important;
  max-width: 220px !important;
  height: auto !important;
  width: auto !important;
  object-fit: contain;
  display: block;
}

.logo-title-text span {
  color: var(--clay);
}

@media (max-width: 768px) {
  .logo-link,
  .logo {
    font-size: 1.1rem;
    gap: 8px;
  }
  .logo-link img,
  .logo img,
  .custom-logo {
    max-height: 44px !important;
    max-width: 160px !important;
  }
}

.primary-navigation ul {
  list-style: none;
  display: flex;
  gap: 34px;
  font-size: 0.95rem;
  font-weight: 500;
}
.primary-navigation a {
  text-decoration: none;
  position: relative;
  padding: 4px 0;
  transition: color 0.2s;
}
.primary-navigation a:hover,
.primary-navigation .current-menu-item > a,
.primary-navigation a[aria-current="page"] {
  color: var(--clay);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-actions-mobile {
  display: none;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--marsh-deep);
  padding: 6px 10px;
  border-radius: 6px;
  transition: background-color 0.2s ease;
}
.menu-toggle:hover,
.menu-toggle:focus {
  background: var(--sand-dim);
}

.btn {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 11px 22px;
  border-radius: 3px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-primary {
  background: var(--marsh);
  color: var(--sand);
}
.btn-primary:hover {
  background: var(--marsh-deep);
  color: var(--sand);
}
.btn-outline {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn-outline:hover {
  background: var(--ink);
  color: var(--sand);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  color: #fff;
  overflow: hidden;
}
.hero-gradient,
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(1, 45, 29, 0.72) 0%, rgba(1, 45, 29, 0.45) 45%, rgba(1, 45, 29, 0.92) 100%);
  z-index: 1;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding: 0 32px 72px;
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
}
.hero .eyebrow {
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--clay-soft);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--clay-soft);
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  color: #fff;
  max-width: 820px;
  font-weight: 500;
}
.hero .lede {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.9);
  max-width: 640px;
  margin-top: 20px;
  font-weight: 400;
}
.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 34px;
  flex-wrap: wrap;
}
.hero .btn-outline {
  border-color: rgba(255,255,255,0.6);
  color: #fff;
}
.hero .btn-outline:hover {
  background: #fff;
  color: var(--marsh-deep);
}

/* Waymarker Stat Ribbon */
.waymarker {
  background: var(--marsh);
  color: var(--sand);
  border-top: 4px solid var(--clay);
}
.waymarker .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 26px 32px;
}
.waymarker .stat {
  padding: 0 24px;
  border-left: 1px solid rgba(245,241,230,0.18);
}
.waymarker .stat:first-child {
  border-left: none;
  padding-left: 0;
}
.waymarker .stat .num {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--clay-soft);
}
.waymarker .stat .label {
  font-size: 0.82rem;
  color: rgba(245,241,230,0.75);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* General Sections */
section {
  padding: 88px 0;
}
.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}
.section-head .eyebrow {
  color: #8A2E1B;
}
.section-head .eyebrow::before {
  background: #8A2E1B;
}
.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}
.section-head p {
  color: var(--ink-soft);
  margin-top: 14px;
  font-size: 1.05rem;
}

/* Intro Section */
.intro {
  background: var(--sand);
}
.intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: start;
}
.intro-copy p {
  margin-bottom: 18px;
  color: var(--ink-soft);
  font-size: 1.02rem;
}
.intro-copy p:first-of-type {
  font-size: 1.15rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.5;
}
.info-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 32px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.03);
}
.info-card h2,
.info-card h3 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--marsh-deep);
}
.info-list {
  list-style: none;
}
.info-list li,
.info-list .info-item {
  display: flex;
  justify-content: space-between;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
  gap: 16px;
}
.info-list li:last-child,
.info-list .info-item:last-child {
  border-bottom: none;
}
.info-list dt {
  color: var(--ink-soft);
  font-weight: 500;
}
.info-list dd {
  font-weight: 600;
  text-align: right;
}

/* Species Section (index.html design integrated) */
.species {
  background: var(--sand-dim);
}
.species-grid-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 20px;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.species-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.species-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}
.species-card .img-wrap {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #e2dfd5;
}
.species-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.species-card:hover img {
  transform: scale(1.05);
}
.species-card .body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.species-card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--marsh-deep);
}
.tags {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 4px 10px;
  border-radius: 20px;
}
.tag-type-birds,
.tag-birds {
  background: #e0f2fe;
  color: #0369a1;
  border: 1px solid #bae6fd;
}

.tag-type-mammals,
.tag-mammals {
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
}

.tag-type-reptiles,
.tag-reptiles {
  background: #ffedd5;
  color: #c2410c;
  border: 1px solid #fed7aa;
}

.tag-type-plants,
.tag-plants {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.tag-type-default,
.tag-neutral {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #c8e6c9;
}
.species-card p {
  font-size: 0.93rem;
  color: var(--ink-soft);
}
.view-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: #8A2E1B;
  text-decoration: none;
  margin-top: 36px;
  transition: gap 0.2s ease;
}
.view-all:hover {
  gap: 12px;
}

/* Conservation Section */
.conservation {
  background: var(--sand-dim);
}
.conservation-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.conservation-grid img {
  border-radius: 8px;
  width: 100%;
  aspect-ratio: 4/3.2;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.milestone {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.milestone:last-of-type {
  border-bottom: 1px solid var(--line);
}
.milestone .num {
  font-family: var(--font-display);
  color: #8A2E1B;
  font-weight: 700;
  font-size: 1.25rem;
  flex-shrink: 0;
  min-width: 48px;
  line-height: 1.3;
}
.milestone > div:last-child {
  flex: 1;
  min-width: 0;
}
.milestone h3,
.milestone h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--marsh-deep);
  line-height: 1.3;
}
.milestone p {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* FAQ Section */
.faq-section {
  background: var(--sand);
}
.faq {
  max-width: 820px;
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  cursor: pointer;
  padding: 22px 0;
  font-weight: 600;
  font-size: 1.08rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-family: var(--font-display);
  color: var(--marsh-deep);
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--clay);
  flex-shrink: 0;
  font-family: var(--font-body);
}
.faq-item[open] summary::after {
  content: "\2212";
}
.faq-item .faq-a {
  padding-bottom: 22px;
  color: var(--ink-soft);
  max-width: 680px;
  font-size: 0.98rem;
  line-height: 1.6;
}

/* Newsletter Section (from index.html styling) */
.newsletter-wrapper {
  padding: 60px 0;
}
.newsletter {
  background: var(--marsh);
  color: var(--sand);
  border-radius: 12px;
  padding: 56px 32px;
  text-align: center;
  box-shadow: 0 12px 36px rgba(20,39,32,0.15);
  position: relative;
  overflow: hidden;
}
.newsletter-bg-icon {
  position: absolute;
  top: -10px;
  padding: 30px;
  opacity: 0.1;
  pointer-events: none;
  line-height: 1;
  user-select: none;
}
.newsletter-bg-icon-right {
  right: -10px;
}
.newsletter-bg-icon-left {
  left: -10px;
}
.newsletter-bg-icon .material-symbols-outlined {
  font-size: 200px;
  font-variation-settings: 'FILL' 1;
  color: var(--sand);
}
.newsletter-content {
  position: relative;
  z-index: 2;
}
.newsletter h2 {
  color: var(--sand);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
}
.newsletter p {
  color: rgba(245,241,230,0.85);
  margin: 14px auto 28px;
  max-width: 480px;
  font-size: 1.05rem;
}
.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 460px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}
.newsletter-form input {
  flex: 1;
  min-width: 200px;
  max-width: 100%;
  padding: 14px 18px;
  border-radius: 4px;
  border: none;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  box-sizing: border-box;
}
.newsletter-form button {
  background: var(--clay);
  color: #fff;
  border: none;
  padding: 14px 24px;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
  white-space: nowrap;
}
.newsletter-form button:hover {
  background: #a33e18;
}

@media (max-width: 540px) {
  .newsletter {
    padding: 36px 18px;
  }
  .newsletter-form {
    flex-direction: column;
    gap: 10px;
  }
  .newsletter-form input,
  .newsletter-form button {
    width: 100%;
    min-width: 0;
  }
}

/* Single Post / Blog Page Styles (from blog.html) */
.single-post-main {
  padding-top: 40px;
  padding-bottom: 80px;
}
.post-header {
  margin-bottom: 40px;
}
.post-meta-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.cat-badge {
  background: var(--secondary-container, #fda055);
  color: var(--on-secondary-container, #703800);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.post-date {
  color: var(--ink-soft);
  font-size: 0.85rem;
}
.single-post-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--marsh-deep);
  line-height: 1.2;
  margin-bottom: 16px;
}
.single-post-excerpt {
  font-size: 1.15rem;
  color: var(--ink-soft);
  font-style: italic;
  max-width: 800px;
}

.featured-image-wrap {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 48px;
  aspect-ratio: 21/9;
  background: #e2dfd5;
  position: relative;
}
.featured-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.featured-caption {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(20,39,32,0.75);
  color: #fff;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-style: italic;
}

.post-layout-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 56px;
  align-items: start;
}
@media (max-width: 992px) {
  .post-layout-grid {
    grid-template-columns: 1fr;
  }
}

.prose {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--ink);
}
.prose p {
  margin-bottom: 1.6rem;
}
.prose h2 {
  font-size: 1.6rem;
  margin-top: 2.2rem;
  margin-bottom: 1rem;
}
.prose h3 {
  font-size: 1.3rem;
  margin-top: 1.8rem;
  margin-bottom: 0.8rem;
}
.prose blockquote {
  border-left: 4px solid var(--clay);
  padding-left: 20px;
  margin: 32px 0;
  font-size: 1.2rem;
  font-style: italic;
  color: var(--marsh-deep);
}
.prose cite {
  display: block;
  font-size: 0.88rem;
  font-style: normal;
  margin-top: 8px;
  color: var(--ink-soft);
}

.post-tags {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.post-tags .tag-label {
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--ink-soft);
  text-transform: uppercase;
}
.post-tags a {
  background: var(--sand-dim);
  color: var(--marsh-deep);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  transition: background 0.2s ease;
}
.post-tags a:hover {
  background: var(--marsh);
  color: var(--sand);
}

/* Sidebar */
.sidebar-sticky {
  position: sticky;
  top: 100px;
}
.sidebar-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  margin-bottom: 32px;
}
.sidebar-box a[aria-label*="Share"]:hover,
.sidebar-box button[aria-label*="Share"]:hover,
.sidebar-box a[aria-label*="hare"]:hover,
.sidebar-box button[aria-label*="hare"]:hover {
  border-color: var(--clay);
  color: var(--clay) !important;
  transform: translateY(-1px);
}
.sidebar-box h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--clay);
  margin-bottom: 20px;
}

.related-items-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.related-item-card {
  display: flex;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}
.related-item-card .thumb-wrap {
  width: 80px;
  height: 80px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  background: #e2dfd5;
}
.related-item-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.related-item-card:hover img {
  transform: scale(1.08);
}
.related-item-card h4 {
  font-size: 0.95rem;
  line-height: 1.35;
  color: var(--marsh-deep);
  transition: color 0.2s ease;
}
.related-item-card:hover h4 {
  color: var(--clay);
}
.related-item-card .meta {
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin-top: 4px;
}

/* Footer */
footer.site-footer {
  background: var(--marsh-deep);
  color: rgba(245,241,230,0.75);
  padding: 64px 0 32px;
  margin-top: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(245,241,230,0.12);
}
.footer-grid h4 {
  color: var(--sand);
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 18px;
}
.footer-grid ul {
  list-style: none;
}
.footer-grid li {
  margin-bottom: 10px;
  font-size: 0.92rem;
}
.footer-grid a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}
.footer-grid a:hover {
  color: var(--sand);
}
.footer-brand {
  font-family: var(--font-display);
  color: var(--sand);
  font-size: 1.2rem;
  margin-bottom: 14px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 12px;
}

/* Responsive Rules */
@media (max-width: 900px) {
  .primary-navigation {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--sand);
    border-bottom: 1px solid var(--line);
    padding: 24px 32px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.12);
    z-index: 99;
  }
  .primary-navigation.is-active {
    display: block;
  }
  .primary-navigation ul {
    flex-direction: column;
    gap: 16px;
  }
  .nav-actions {
    display: none !important;
  }
  .nav-actions-mobile {
    display: block;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
  }
  .nav-actions-mobile .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .menu-toggle {
    display: block;
  }
  .intro-grid {
    grid-template-columns: 1fr;
  }
  .card-grid {
    grid-template-columns: 1fr 1fr;
  }
  .conservation-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 800px) {
  .waymarker .wrap {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 0;
  }
  .waymarker .stat {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid rgba(245,241,230,0.18);
    padding-top: 16px;
  }
  .waymarker .stat:nth-child(1),
  .waymarker .stat:nth-child(2) {
    border-top: none;
    padding-top: 0;
  }
}

@media (max-width: 600px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .newsletter {
    padding: 36px 20px;
  }
}

/* ============================================
   ABOUT PAGE STYLES
   ============================================ */

/* About Hero */
.about-hero {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: flex-end;
  background: var(--marsh-deep);
  overflow: hidden;
}
.about-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.about-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20,39,32,0.92) 0%, rgba(20,39,32,0.45) 60%, rgba(20,39,32,0.2) 100%);
}
.about-hero-inner {
  position: relative;
  z-index: 2;
  padding-top: 100px;
  padding-bottom: 64px;
  max-width: 720px;
}
.about-hero .eyebrow {
  color: var(--clay-soft);
  margin-bottom: 12px;
}
.about-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 18px;
}
.about-hero-lede {
  color: rgba(245,241,230,0.85);
  font-size: 1.15rem;
  line-height: 1.7;
}

/* Mission Section */
.about-mission {
  padding: 96px 0;
  background: var(--sand);
}
.mission-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: start;
}
.mission-text .eyebrow {
  margin-bottom: 10px;
}
.mission-text h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin-bottom: 24px;
}
.mission-text p {
  margin-bottom: 18px;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink-soft);
}
.mission-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.stat-card {
  background: var(--marsh-deep);
  color: #fff;
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
}
.stat-card .stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--clay-soft);
  margin-bottom: 6px;
}
.stat-card .stat-label {
  font-size: 0.85rem;
  color: rgba(245,241,230,0.75);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Ecosystems Section */
.about-ecosystems {
  padding: 96px 0;
  background: var(--sand-dim);
}
.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.eco-card {
  background: var(--sand);
  border-radius: 12px;
  padding: 36px 28px;
  border: 1px solid var(--line);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.eco-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(31,58,46,0.1);
}
.eco-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.eco-icon .material-symbols-outlined {
  color: #fff;
  font-size: 28px;
}
.eco-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}
.eco-card p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

/* Flagship Species / Ibis Section */
.about-species {
  padding: 96px 0;
  background: var(--sand);
}
.ibis-feature {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: stretch;
}
.ibis-text h3 {
  font-size: 1.55rem;
  margin-bottom: 20px;
}
.ibis-text p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.ibis-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 24px;
}
.ibis-fact {
  background: var(--sand-dim);
  border-radius: 8px;
  padding: 16px 18px;
  border: 1px solid var(--line);
}
.ibis-fact strong {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--teal);
  margin-bottom: 4px;
}
.ibis-fact span {
  font-size: 0.95rem;
  color: var(--ink);
}
.ibis-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(31,58,46,0.12);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.ibis-image img {
  width: 100%;
  flex: 1;
  min-height: 0;
  object-fit: cover;
}
.img-caption {
  display: block;
  background: var(--marsh-deep);
  color: rgba(245,241,230,0.8);
  font-size: 0.82rem;
  padding: 10px 16px;
  text-align: center;
}

/* Other Wildlife Section */
.about-wildlife {
  padding: 96px 0;
  background: var(--marsh-deep);
}
.about-wildlife .eyebrow {
  color: var(--clay-soft);
}
.about-wildlife h2 {
  color: #fff;
}
.wildlife-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.wildlife-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 32px 24px;
  transition: background 0.25s ease;
}
.wildlife-card:hover {
  background: rgba(255,255,255,0.1);
}
.wildlife-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.wildlife-icon .material-symbols-outlined {
  color: #fff;
  font-size: 22px;
}
.wildlife-card h4 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 10px;
}
.wildlife-card p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(245,241,230,0.7);
}

/* Conservation Timeline */
.about-timeline {
  padding: 96px 0;
  background: var(--sand);
}
.timeline {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding-left: 48px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--teal), var(--clay));
  border-radius: 2px;
}
.timeline-item {
  position: relative;
  padding-bottom: 48px;
}
.timeline-item:last-child {
  padding-bottom: 0;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -36px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--clay);
  border: 3px solid var(--sand);
  box-shadow: 0 0 0 3px var(--teal);
}
.timeline-year {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--clay);
  margin-bottom: 6px;
}
.timeline-content h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.timeline-content p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* CTA Section */
.about-cta {
  padding: 80px 0;
  background: var(--sand-dim);
}
.about-cta .eyebrow {
  margin-bottom: 10px;
}
.about-cta h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 16px;
}
.about-cta p {
  font-size: 1.05rem;
  color: var(--ink-soft);
  line-height: 1.7;
}
.about-cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* About Page Responsive */
@media (max-width: 900px) {
  .mission-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .ecosystem-grid {
    grid-template-columns: 1fr 1fr;
  }
  .ibis-feature {
    grid-template-columns: 1fr;
  }
  .ibis-image {
    position: static;
    max-width: 420px;
  }
  .wildlife-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .ecosystem-grid {
    grid-template-columns: 1fr;
  }
  .ibis-facts {
    grid-template-columns: 1fr;
  }
  .wildlife-grid {
    grid-template-columns: 1fr;
  }
  .mission-stats {
    grid-template-columns: 1fr 1fr;
  }
  .about-hero-inner {
    padding-top: 80px;
    padding-bottom: 44px;
  }
  .timeline {
    padding-left: 40px;
  }
}

/* ============================================
   CONTACT PAGE STYLES
   ============================================ */

/* Contact Hero */
.contact-hero {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  background: var(--marsh-deep);
  overflow: hidden;
}
.contact-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.contact-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20,39,32,0.92) 0%, rgba(20,39,32,0.45) 60%, rgba(20,39,32,0.2) 100%);
}
.contact-hero-inner {
  position: relative;
  z-index: 2;
  padding-top: 90px;
  padding-bottom: 56px;
  max-width: 680px;
}
.contact-hero .eyebrow {
  color: var(--clay-soft);
  margin-bottom: 10px;
}
.contact-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin-bottom: 14px;
}
.contact-hero-lede {
  color: rgba(245,241,230,0.85);
  font-size: 1.1rem;
  line-height: 1.65;
}

/* Contact Section & Grid */
.contact-section {
  padding: 80px 0;
  background: var(--sand);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch;
}

/* Form Card */
.contact-form-card {
  background: var(--sand-dim);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}
.contact-form-card h2 {
  font-size: 1.75rem;
  margin-bottom: 8px;
}
.form-intro {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin-bottom: 28px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.form-group label .required {
  color: var(--clay);
}
.form-group input,
.form-group textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(63,110,99,0.15);
}
.form-status-msg {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.92rem;
  margin-bottom: 20px;
  line-height: 1.5;
}
.form-status-msg.success {
  background: #e6f4ea;
  color: #137333;
  border: 1px solid #ceead6;
}
.form-status-msg.error {
  background: #fce8e6;
  color: #c5221f;
  border: 1px solid #fad2cf;
}
.btn-submit {
  width: 100%;
  padding: 14px 24px;
  font-size: 1rem;
  justify-content: center;
  cursor: pointer;
}

/* Map Card */
.contact-map-card {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
  background: var(--sand-dim);
}
.map-wrapper {
  flex: 1;
  min-height: 380px;
}
.map-wrapper iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
  display: block;
}
.map-info-footer {
  padding: 24px 32px;
  background: var(--marsh-deep);
  color: #fff;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.map-info-footer .info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.map-info-footer .material-symbols-outlined {
  color: var(--clay-soft);
  font-size: 24px;
}
.map-info-footer strong {
  display: block;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--clay-soft);
  margin-bottom: 2px;
}
.map-info-footer span {
  font-size: 0.88rem;
  color: rgba(245,241,230,0.85);
  line-height: 1.4;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .contact-form-card {
    padding: 28px 20px;
  }
  .map-wrapper iframe {
    min-height: 320px;
  }
}
@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  .map-info-footer {
    grid-template-columns: 1fr;
    padding: 20px;
  }
}/* ============================================
   LEGAL PAGES (PRIVACY POLICY & TERMS OF USE)
   ============================================ */

.legal-hero {
  background: linear-gradient(135deg, var(--marsh) 0%, var(--teal) 100%);
  color: #fff;
  padding: 80px 0 60px;
}
.legal-hero-inner {
  max-width: 900px;
}
.legal-hero .eyebrow {
  color: var(--clay-soft);
  margin-bottom: 12px;
}
.legal-hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  margin-bottom: 16px;
}
.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 0.92rem;
  color: rgba(245,241,230,0.85);
}
.legal-meta .meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.legal-meta .material-symbols-outlined {
  font-size: 18px;
  color: var(--clay-soft);
}

.legal-body {
  padding: 80px 0;
  background: var(--sand);
}
.legal-container {
  max-width: 880px;
  margin: 0 auto;
}

.legal-sidebar {
  position: sticky;
  top: 100px;
}
.legal-toc-card {
  background: var(--sand-dim);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px 20px;
}
.legal-toc-card h3 {
  font-size: 1.05rem;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.legal-toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.legal-toc a {
  font-size: 0.88rem;
  color: var(--ink-soft);
  transition: color 0.2s ease, padding-left 0.2s ease;
  display: block;
}
.legal-toc a:hover {
  color: var(--clay);
  padding-left: 4px;
}

.legal-content {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 48px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}
.legal-content section {
  margin-bottom: 40px;
  scroll-margin-top: 110px;
}
.legal-content section:last-child {
  margin-bottom: 0;
}
.legal-content h2 {
  font-size: 1.55rem;
  margin-bottom: 16px;
  color: var(--marsh-deep);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--sand-dim);
}
.legal-content h3 {
  font-size: 1.15rem;
  margin: 20px 0 10px;
  color: var(--marsh);
}
.legal-content p {
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 16px;
}
.legal-content ul,
.legal-content ol {
  margin: 0 0 18px 24px;
  color: var(--ink-soft);
  font-size: 0.96rem;
  line-height: 1.7;
}
.legal-content li {
  margin-bottom: 8px;
}
.legal-content a {
  color: var(--clay);
  text-decoration: underline;
}
.legal-content a:hover {
  color: var(--marsh-deep);
}

.legal-callout {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--sand-dim);
  border-left: 4px solid var(--teal);
  border-radius: 8px;
  padding: 20px 24px;
  margin-bottom: 32px;
}
.legal-callout .material-symbols-outlined {
  color: var(--teal);
  font-size: 24px;
  margin-top: 2px;
}
.legal-callout.warning {
  background: #fdf6ec;
  border-left-color: var(--clay);
}
.legal-callout.warning .material-symbols-outlined {
  color: var(--clay);
}
.legal-callout p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink);
}

.legal-contact-card {
  background: var(--sand-dim);
  border-radius: 10px;
  padding: 24px;
  margin-top: 16px;
  border: 1px solid var(--line);
}
.legal-contact-card p {
  margin-bottom: 8px;
}
.legal-contact-card p:last-child {
  margin-bottom: 0;
}

@media (max-width: 960px) {
  .legal-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .legal-sidebar {
    position: static;
  }
  .legal-content {
    padding: 28px 20px;
  }
}

/* ============================================
   CONSERVATION PAGE STYLES
   ============================================ */
.conservation-hero {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: flex-end;
  background: var(--marsh-deep);
  overflow: hidden;
}
.conservation-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.conservation-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20,39,32,0.92) 0%, rgba(20,39,32,0.45) 60%, rgba(20,39,32,0.2) 100%);
}
.conservation-hero-inner {
  position: relative;
  z-index: 2;
  padding-top: 100px;
  padding-bottom: 64px;
  max-width: 740px;
}
.conservation-hero .eyebrow {
  color: var(--clay-soft);
  margin-bottom: 12px;
}
.conservation-hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  margin-bottom: 18px;
}
.conservation-hero-lede {
  color: rgba(245,241,230,0.85);
  font-size: 1.15rem;
  line-height: 1.7;
}

.conservation-pillars {
  padding: 96px 0;
  background: var(--sand);
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.pillar-card {
  background: var(--sand-dim);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 32px 24px;
  transition: transform 0.25s ease;
}
.pillar-card:hover {
  transform: translateY(-4px);
}
.pillar-icon {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  background: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.pillar-icon .material-symbols-outlined {
  color: #fff;
  font-size: 26px;
}
.pillar-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}
.pillar-card p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

.conservation-reserves {
  padding: 96px 0;
  background: var(--marsh-deep);
  color: #fff;
}
.reserves-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
}
.reserves-copy .eyebrow {
  color: var(--clay-soft);
  margin-bottom: 10px;
}
.reserves-copy h2 {
  color: #fff;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  margin-bottom: 20px;
}
.reserves-copy p {
  color: rgba(245,241,230,0.85);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 28px;
}
.species-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.species-item {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.species-name {
  font-weight: 600;
  font-size: 0.98rem;
}
.species-status {
  font-size: 0.82rem;
  color: var(--clay-soft);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.reserves-stats-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 36px 28px;
}
.reserves-stats-card h3 {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.res-stat {
  margin-bottom: 24px;
}
.res-stat:last-child {
  margin-bottom: 0;
}
.res-stat .num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--clay-soft);
}
.res-stat .label {
  font-size: 0.85rem;
  color: rgba(245,241,230,0.7);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

@media (max-width: 900px) {
  .pillars-grid {
    grid-template-columns: 1fr 1fr;
  }
  .reserves-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  .species-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}

/* ============================================
   SPECIES SHOWCASE PAGE
   ============================================ */

/* Species Hero */
.species-hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  background: var(--marsh-deep);
  overflow: hidden;
}
.species-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.species-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}
.species-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: 
    linear-gradient(to right, rgba(20, 39, 32, 0.92) 0%, rgba(20, 39, 32, 0.78) 50%, rgba(20, 39, 32, 0.35) 100%),
    linear-gradient(to top, rgba(20, 39, 32, 0.8) 0%, transparent 60%);
}
.species-hero-inner {
  position: relative;
  z-index: 2;
  padding-top: 100px;
  padding-bottom: 64px;
  max-width: 760px;
}
.species-hero .eyebrow {
  color: var(--clay-soft);
  margin-bottom: 12px;
}
.species-hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin-bottom: 20px;
  line-height: 1.12;
}
.species-title-accent {
  color: var(--clay-soft);
  font-style: italic;
}
.species-hero-lede {
  color: rgba(245,241,230,0.8);
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 600px;
}

/* Biodiversity Intro */
.species-intro {
  padding: 96px 0;
  background: var(--sand);
}
.intro-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 56px;
  align-items: start;
}
.intro-text .eyebrow {
  margin-bottom: 10px;
}
.intro-text h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 24px;
}
.intro-text p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.intro-numbers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.intro-stat {
  background: var(--marsh-deep);
  border-radius: 14px;
  padding: 28px 22px;
  text-align: center;
}
.intro-stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--clay-soft);
  margin-bottom: 4px;
}
.intro-stat-label {
  font-size: 0.8rem;
  color: rgba(245,241,230,0.7);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Category Sections */
.species-category-section {
  padding: 80px 0;
}
.section-bg-sand {
  background: var(--sand);
}
.section-bg-dim {
  background: var(--sand-dim);
}

.cat-section-header {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 36px;
}
.cat-header-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 4px;
}
.cat-header-icon .material-symbols-outlined {
  color: #fff;
  font-size: 28px;
}
.cat-header-content {
  flex-grow: 1;
}
.cat-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 8px;
}
.cat-section-title {
  font-size: 1.75rem;
  margin-bottom: 0 !important;
  color: var(--marsh-deep);
}
.cat-view-all-btn {
  white-space: nowrap !important;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.cat-section-desc {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 780px;
  margin-top: 6px;
}

/* Species Cards Grid (4 per row) */
.species-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Individual Species Card */
.sp-card {
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.section-bg-dim .sp-card {
  background: var(--sand);
}
.sp-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 40px rgba(31,58,46,0.1);
}
.sp-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.sp-card-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--sand-dim);
}
.sp-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.sp-card:hover .sp-card-img img {
  transform: scale(1.06);
}
.sp-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 100px;
  backdrop-filter: blur(6px);
}
.status-critical {
  background: rgba(197,34,31,0.9);
  color: #fff;
}
.status-endangered {
  background: rgba(230,81,0,0.9);
  color: #fff;
}
.status-vulnerable {
  background: rgba(249,168,37,0.9);
  color: #fff;
}
.status-extinct {
  background: rgba(20,39,32,0.85);
  color: var(--clay-soft);
}
.status-default {
  background: rgba(0,0,0,0.5);
  color: #fff;
}

.sp-card-body {
  padding: 22px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.sp-card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 2px;
  color: var(--marsh-deep);
  line-height: 1.25;
}
.sp-card-sci {
  font-size: 0.82rem;
  color: var(--teal);
  margin-bottom: 10px;
}
.sp-card-excerpt {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.sp-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--clay);
  margin-top: auto;
  transition: gap 0.25s ease;
}
.sp-card-cta .material-symbols-outlined {
  font-size: 16px;
  transition: transform 0.25s ease;
}
.sp-card:hover .sp-card-cta {
  gap: 8px;
}
.sp-card:hover .sp-card-cta .material-symbols-outlined {
  transform: translateX(3px);
}

/* View All Link */
.cat-section-footer {
  margin-top: 36px;
  text-align: center;
}
.view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--marsh-deep);
  padding: 12px 28px;
  border: 2px solid var(--marsh-deep);
  border-radius: 100px;
  transition: all 0.25s ease;
}
.view-all-link:hover {
  background: var(--marsh-deep);
  color: #fff;
}
.view-all-link .material-symbols-outlined {
  font-size: 18px;
}

/* Species CTA */
.species-cta {
  padding: 0 0 80px;
  background: var(--sand);
}
.species-cta-card {
  background: var(--marsh-deep);
  border-radius: 28px;
  padding: 72px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.species-cta-card h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
  position: relative;
}
.species-cta-card p {
  color: rgba(245,241,230,0.8);
  font-size: 1.08rem;
  line-height: 1.7;
  max-width: 620px;
  margin: 0 auto 32px;
  position: relative;
}
.species-cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

.species-cta-card .btn-primary {
  background: var(--clay);
  color: #ffffff;
  border: 1px solid var(--clay);
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 4px;
}

.species-cta-card .btn-primary:hover {
  background: #963512;
  border-color: #963512;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

/* Species Page Responsive */
@media (max-width: 1024px) {
  .species-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .intro-numbers {
    grid-template-columns: 1fr 1fr;
  }
  .species-card-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .cat-section-header {
    flex-direction: column;
    gap: 16px;
  }
  .species-cta-card {
    padding: 48px 24px;
    border-radius: 20px;
  }
  .species-hero-inner {
    padding-top: 80px;
    padding-bottom: 48px;
  }
}

@media (max-width: 600px) {
  .species-card-grid {
    grid-template-columns: 1fr;
  }
}

.species-section-empty {
  text-align: center;
  padding: 48px 20px;
  background: rgba(0,0,0,0.03);
  border-radius: 14px;
  border: 1px dashed var(--line);
}
.species-section-empty p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* ============================================
   BLOG SHOWCASE PAGE
   ============================================ */

.blog-hero {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: flex-end;
  background: var(--marsh-deep);
  overflow: hidden;
}
.blog-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.blog-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}
.blog-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: 
    linear-gradient(to right, rgba(20, 39, 32, 0.92) 0%, rgba(20, 39, 32, 0.78) 50%, rgba(20, 39, 32, 0.35) 100%),
    linear-gradient(to top, rgba(20, 39, 32, 0.8) 0%, transparent 60%);
}
.blog-hero-inner {
  position: relative;
  z-index: 2;
  padding-top: 100px;
  padding-bottom: 60px;
  max-width: 800px;
}
.blog-hero .eyebrow {
  color: var(--clay-soft);
  margin-bottom: 12px;
}
.blog-hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin-bottom: 18px;
  line-height: 1.12;
}
.blog-title-accent {
  color: var(--clay-soft);
  font-style: italic;
}
.blog-hero-lede {
  color: rgba(245,241,230,0.85);
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 640px;
}

/* Featured Blog Card */
.blog-featured-card {
  margin-bottom: 72px;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 12px 32px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.blog-featured-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.09);
}
.featured-card-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
}
.featured-img-wrap {
  position: relative;
  min-height: 380px;
  overflow: hidden;
}
.featured-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.blog-featured-card:hover .featured-img-wrap img {
  transform: scale(1.04);
}
.featured-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--clay);
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.featured-content {
  padding: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.blog-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-bottom: 16px;
}
.blog-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.blog-meta .material-symbols-outlined {
  font-size: 1.1rem;
  color: var(--clay);
}
.featured-content h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  line-height: 1.25;
  margin-bottom: 16px;
}
.featured-content h2 a {
  color: var(--marsh-deep);
  text-decoration: none;
  transition: color 0.2s ease;
}
.featured-content h2 a:hover {
  color: var(--clay);
}
.featured-excerpt {
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.65;
  margin-bottom: 28px;
}
.featured-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.blog-author {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--ink-soft);
  font-weight: 600;
}
.blog-author .material-symbols-outlined {
  font-size: 1.2rem;
  color: var(--teal);
}

/* Blog Grid Section */
.blog-grid-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
}
.blog-grid-header h2 {
  font-size: 1.8rem;
  color: var(--marsh-deep);
}
.article-count {
  background: var(--sand-dim);
  color: var(--marsh-deep);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.88rem;
  font-weight: 600;
  border: 1px solid var(--line);
}

/* Blog Card Grid */
.blog-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.blog-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 6px 18px rgba(0,0,0,0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.08);
}
.blog-card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.blog-card-img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--sand-dim);
}
.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.blog-card:hover .blog-card-img img {
  transform: scale(1.06);
}
.blog-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-bottom: 12px;
  font-weight: 600;
}
.blog-card-body h3 {
  font-size: 1.25rem;
  line-height: 1.35;
  color: var(--marsh-deep);
  margin-bottom: 12px;
  transition: color 0.2s ease;
}
.blog-card:hover .blog-card-body h3 {
  color: var(--clay);
}
.blog-card-body p {
  color: var(--ink-soft);
  font-size: 0.93rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}
.blog-card-readmore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--clay);
  font-weight: 700;
  font-size: 0.9rem;
  margin-top: auto;

}
.blog-card-readmore .material-symbols-outlined {
  font-size: 1.1rem;
  transition: transform 0.2s ease;
}
.blog-card:hover .blog-card-readmore .material-symbols-outlined {
  transform: translateX(4px);
}

/* Pagination */
.blog-pagination {
  margin-top: 56px;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--marsh-deep);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}
.blog-pagination .page-numbers.current,
.blog-pagination .page-numbers:hover {
  background: var(--marsh-deep);
  color: #fff;
  border-color: var(--marsh-deep);
}

/* Empty State */
.blog-empty-state {
  text-align: center;
  padding: 72px 24px;
  background: #fff;
  border-radius: 20px;
  border: 1px dashed var(--line);
}
.blog-empty-state .material-symbols-outlined {
  font-size: 3.5rem;
  color: var(--clay);
  margin-bottom: 16px;
}
.blog-empty-state h3 {
  font-size: 1.5rem;
  color: var(--marsh-deep);
  margin-bottom: 10px;
}
.blog-empty-state p {
  color: var(--ink-soft);
  max-width: 500px;
  margin: 0 auto;
  font-size: 1rem;
}

@media (max-width: 992px) {
  .featured-card-grid {
    grid-template-columns: 1fr;
  }
  .featured-img-wrap {
    min-height: 280px;
  }
  .blog-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .blog-card-grid {
    grid-template-columns: 1fr;
  }
  .featured-content {
    padding: 28px 20px;
  }
}

/* ============================================
   CARD HEIGHT EQUALIZATION & TEXT LINE-CLAMP
   ============================================ */
.species-card,
.sp-card,
.blog-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.species-card .body,
.sp-card-body,
.blog-card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.species-card p,
.sp-card-excerpt,
.blog-card-body p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ============================================
   OVERLAPPING FLOATING BIRD DESIGN ACCENT
   ============================================ */

.overlapping-bird-wrap {
  position: relative;
  width: 100%;
  height: 0;
  z-index: 35;
  pointer-events: none;
}

.flying-bird-overlap {
  position: absolute;
  top: -100px;
  right: clamp(16px, 6vw, 100px);
  width: clamp(180px, 20vw, 290px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.24));
  animation: birdFlyFromRightOverlap 1.8s cubic-bezier(0.16, 1, 0.3, 1) forwards, birdFloat 4.5s ease-in-out infinite 1.8s;
  will-change: transform, opacity;
}

/* Entrance from the right edge of the page */
@keyframes birdFlyFromRightOverlap {
  0% {
    transform: translate3d(280px, -30px, 0) scale(0.6) rotate(-12deg);
    opacity: 0;
  }
  65% {
    transform: translate3d(-15px, 8px, 0) scale(1.04) rotate(3deg);
    opacity: 1;
  }
  100% {
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
    opacity: 1;
  }
}

/* Gentle soaring float animation */
@keyframes birdFloat {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(-8px, -14px, 0) rotate(-3deg);
  }
}

@media (max-width: 768px) {
  .flying-bird-overlap {
    top: -70px;
    right: 12px;
    width: 160px;
  }
}

/* Dynamic Custom Homepage Sections & Background Variations */
.custom-home-section {
  padding: 88px 0;
  background: #ffffff;
  transition: background 0.3s ease, color 0.3s ease;
}

.custom-home-section.bg-white {
  background: #ffffff;
  color: var(--ink);
}

.custom-home-section.bg-sand {
  background: var(--sand);
  color: var(--ink);
}

.custom-home-section.bg-sand-dim {
  background: var(--sand-dim);
  color: var(--ink);
}

.custom-home-section.bg-dark-marsh {
  background: var(--marsh-deep);
  color: #ffffff;
}

.custom-home-section.bg-dark-marsh .section-head h2 {
  color: #ffffff;
}

.custom-home-section.bg-dark-marsh .section-head .eyebrow {
  color: var(--clay-soft);
}

.custom-home-section.bg-dark-marsh .section-head .eyebrow::before {
  background: var(--clay-soft);
}

.custom-home-section.bg-dark-marsh .custom-section-body {
  color: rgba(245, 241, 230, 0.9);
}

.custom-home-section.bg-dark-marsh .custom-section-body strong {
  color: #ffffff;
}

.custom-section-body {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 860px;
  margin-top: 24px;
}

.custom-section-body h2,
.custom-section-body h3 {
  color: var(--marsh-deep);
  margin: 24px 0 12px;
}

.custom-home-section.bg-dark-marsh .custom-section-body h2,
.custom-home-section.bg-dark-marsh .custom-section-body h3 {
  color: #ffffff;
}

.custom-section-body p {
  margin-bottom: 16px;
}

.custom-section-body strong {
  color: var(--ink);
}

.custom-section-body ul,
.custom-section-body ol {
  margin: 16px 0 16px 24px;
}

.custom-section-body li {
  margin-bottom: 8px;
}

/* Homepage Blog Section */
.home-blog-section {
  padding: 88px 0;
  background: var(--sand-dim);
}

/* ==========================================================================
   Category Archive Page Styles
   ========================================================================== */

.category-hero-header {
  padding: 72px 0 48px;
  background: var(--marsh-deep);
  color: #ffffff;
  position: relative;
}

.category-hero-inner {
  max-width: 800px;
}

.category-hero-header .eyebrow {
  color: var(--clay-soft);
  margin-bottom: 12px;
}

.category-hero-header .eyebrow::before {
  background: var(--clay-soft);
}

.category-title-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.category-main-title {
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  color: #ffffff;
  margin: 0;
  line-height: 1.15;
}

.category-count-badge {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 5px 14px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.15);
  color: var(--sand);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.category-main-desc {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(245, 241, 230, 0.85);
  max-width: 720px;
  margin: 0;
}

/* Category Filter Bar */
.category-filter-bar {
  background: var(--sand-dim);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}

.category-filter-list {
  display: flex;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.category-filter-list::-webkit-scrollbar {
  display: none;
}

.filter-pill {
  display: inline-block;
  white-space: nowrap;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 100px;
  background: #ffffff;
  color: var(--ink-soft);
  text-decoration: none;
  border: 1px solid var(--line);
  transition: all 0.2s ease;
}

.filter-pill:hover {
  background: var(--sand);
  color: var(--marsh-deep);
  border-color: var(--marsh-deep);
}

.filter-pill.active {
  background: var(--clay);
  color: #ffffff;
  border-color: var(--clay);
  box-shadow: 0 4px 12px rgba(184, 72, 30, 0.25);
}

/* Posts Grid Section */
.category-posts-section {
  padding: 64px 0 96px;
  background: var(--sand);
}

.category-posts-section .species-card h3 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
}

.category-posts-section .species-card p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 16px;
  line-height: 1.6;
}

.card-meta-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-meta-footer .pub-date {
  font-size: 0.8rem;
  color: var(--ink-soft);
  font-weight: 600;
}

.card-meta-footer .read-more-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--clay);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: transform 0.2s ease;
}

.species-card:hover .read-more-link {
  transform: translateX(4px);
}

/* Category Pagination */
.category-pagination {
  margin-top: 56px;
  text-align: center;
}

.category-pagination .nav-links {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.category-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--marsh-deep);
  background: #ffffff;
  border: 1px solid var(--line);
  text-decoration: none;
  transition: all 0.2s ease;
}

.category-pagination .page-numbers:hover {
  background: var(--sand-dim);
  border-color: var(--marsh-deep);
}

.category-pagination .page-numbers.current {
  background: var(--marsh-deep);
  color: #ffffff;
  border-color: var(--marsh-deep);
}

/* Category Empty State */
.category-empty-state {
  text-align: center;
  padding: 80px 24px;
  background: #ffffff;
  border-radius: 16px;
  max-width: 600px;
  margin: 0 auto;
  border: 1px solid var(--line);
}

.category-empty-state .empty-icon {
  font-size: 56px;
  color: var(--ink-soft);
  margin-bottom: 16px;
  opacity: 0.6;
}

.category-empty-state h2 {
  font-size: 1.6rem;
  color: var(--marsh-deep);
  margin-bottom: 12px;
}

.category-empty-state p {
  color: var(--ink-soft);
  margin-bottom: 24px;
}

/* Footer Social Media Icons */
.footer-social-icons {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.social-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(245, 241, 230, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.25s ease;
  text-decoration: none;
}

.social-icon-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  transition: transform 0.2s ease;
}

.social-icon-btn:hover {
  background: var(--clay);
  color: #ffffff;
  border-color: var(--clay);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(184, 72, 30, 0.35);
}

.social-icon-btn:hover svg {
  transform: scale(1.1);
}

/* Multilingual Header Language Switcher Dropdown */
.souss-lang-dropdown {
  position: relative;
  display: inline-block;
  margin-right: 12px;
}

.souss-lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid var(--line, rgba(0, 0, 0, 0.1));
  border-radius: 20px;
  color: var(--ink, #1a1a1a);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
  font-family: inherit;
}

.souss-lang-btn:hover,
.souss-lang-dropdown.open .souss-lang-btn {
  background: rgba(30, 77, 43, 0.08);
  border-color: rgba(30, 77, 43, 0.3);
  color: var(--green, #1e4d2b);
}

.souss-lang-btn .lang-flag {
  font-size: 0.95rem;
  line-height: 1;
}

.souss-lang-btn .lang-code {
  letter-spacing: 0.5px;
}

.souss-lang-btn .lang-arrow {
  font-size: 1.15rem;
  line-height: 1;
  color: var(--ink-soft, #666);
  transition: transform 0.25s ease;
}

.souss-lang-dropdown:hover .lang-arrow,
.souss-lang-dropdown.open .lang-arrow {
  transform: rotate(180deg);
  color: var(--green, #1e4d2b);
}

.souss-lang-menu {
  position: absolute;
  top: 100%;
  margin-top: 6px;
  right: 0;
  min-width: 175px;
  background: #ffffff;
  border: 1px solid var(--line, rgba(0, 0, 0, 0.12));
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.04);
  padding: 6px 0;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  pointer-events: none;
}

/* Invisible hover bridge to eliminate gap between button and menu */
.souss-lang-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
  background: transparent;
  display: block;
}

.souss-lang-dropdown:hover .souss-lang-menu,
.souss-lang-dropdown.open .souss-lang-menu,
.souss-lang-dropdown:focus-within .souss-lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.souss-lang-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  color: var(--ink, #222);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.souss-lang-item:hover {
  background: rgba(30, 77, 43, 0.07);
  color: var(--green, #1e4d2b);
}

.souss-lang-item.active {
  color: var(--green, #1e4d2b);
  font-weight: 700;
  background: rgba(30, 77, 43, 0.08);
}

.souss-lang-item .lang-flag {
  font-size: 1rem;
  line-height: 1;
}

.souss-lang-item .lang-name {
  flex: 1;
  text-align: left;
}

.souss-lang-item .lang-code-sub {
  font-size: 0.72rem;
  color: var(--ink-soft, #888);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.souss-lang-item .lang-check {
  font-size: 1rem;
  color: var(--green, #1e4d2b);
}

@media (max-width: 900px) {
  .nav-actions .souss-lang-dropdown {
    display: none;
  }
  .nav-actions-mobile .souss-lang-dropdown {
    display: inline-block;
    margin-bottom: 12px;
  }
  .nav-actions-mobile .souss-lang-menu {
    left: 0;
    right: auto;
  }
}

/* ==========================================================================
   PARTNERS & SUPPORTERS SECTION
   ========================================================================== */
.partners-section {
  padding: 84px 0 92px;
  background: linear-gradient(180deg, rgba(237, 230, 211, 0.35) 0%, rgba(245, 241, 230, 0.75) 100%);
  border-top: 1px solid var(--line, rgba(27, 36, 32, 0.08));
  border-bottom: 1px solid var(--line, rgba(27, 36, 32, 0.08));
  position: relative;
  overflow: hidden;
}

.partners-section .section-head {
  max-width: 720px;
  margin: 0 auto 46px;
  text-align: center;
}

.partners-section .eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--clay, #9E350D);
  margin-bottom: 12px;
}

.partners-section .section-title {
  font-size: clamp(1.85rem, 3.6vw, 2.45rem);
  font-family: var(--font-display);
  color: var(--marsh-deep, #142720);
  margin-bottom: 14px;
  font-weight: 600;
  line-height: 1.2;
}

.partners-section .section-subtitle {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink-soft, #4A554E);
  max-width: 650px;
  margin: 0 auto;
}

.partners-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 36px 56px;
  max-width: 1100px;
  margin: 0 auto;
}

.partner-item,
.partner-card {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: auto;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.partner-link,
.partner-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  outline: none;
}

.partner-link:focus-visible {
  outline: 2px solid var(--clay, #9E350D);
  outline-offset: 6px;
  border-radius: 6px;
}

.partner-logo {
  max-height: 80px;
  max-width: 240px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(8%);
  opacity: 0.88;
  transition: filter 0.28s ease, opacity 0.28s ease, transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.partner-link:hover .partner-logo,
.partner-item:hover .partner-logo,
.partner-card:hover .partner-logo {
  filter: grayscale(0%);
  opacity: 1;
  transform: translateY(-4px) scale(1.06);
}

@media (max-width: 1024px) {
  .partners-grid {
    gap: 30px 42px;
  }
  .partner-logo {
    max-height: 70px;
    max-width: 210px;
  }
}

@media (max-width: 768px) {
  .partners-section {
    padding: 56px 0 64px;
  }
  .partners-section .section-head {
    margin-bottom: 36px;
  }
  .partners-grid {
    gap: 24px 32px;
  }
  .partner-logo {
    max-height: 60px;
    max-width: 180px;
  }
}

@media (max-width: 480px) {
  .partners-grid {
    gap: 20px 24px;
  }
  .partner-logo {
    max-height: 52px;
    max-width: 150px;
  }
}









