:root {
    --hero-header-offset: 77px;
    --bg: #101712;
    --panel: #1b2920;
    --green: #a6c78a;
    --green-bright: #c2dfa4;
    --brown: #bd946f;
    --text: #f1f1e8;
    --muted: #a8b1a5;
    --line: rgb(222 235 215 / 13%);
    --font-body: "DM Sans", system-ui, sans-serif;
    --font-head: "DM Sans", system-ui, sans-serif;
    --bs-body-bg: var(--bg);
    --bs-body-color: var(--text);
    --bs-body-font-family: var(--font-body);
}

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

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

body {
    min-width: 320px;
    margin: 0;
    color: var(--text);
    background: var(--bg);
    font: 15px/1.65 var(--font-body);
}

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

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

h1,
h2,
h3 {
    font-family: var(--font-head);
}

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

.container-xl {
    width: calc(100% - 36px);
    max-width: 1160px;
    margin-inline: auto;
}

.site-header {
    z-index: 20;
    border-bottom: 1px solid rgb(255 255 255 / 7%);
    background: rgb(16 23 18 / 96%);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
}

.site-nav {
    min-height: 76px;
    padding: 0;
    background: transparent;
}

.nav-wrap {
    width: calc(100% - 32px);
    max-width: 1280px;
    margin-inline: auto;
    gap: clamp(1rem, 2.5vw, 2.25rem);
}

.brand {
    flex: 0 0 auto;
    color: var(--text);
    font-family: var(--font-head);
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .12em;
    white-space: nowrap;
}

.brand:hover {
    color: var(--text);
}

.brand-mark {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid rgb(190 214 169 / 18%);
    border-radius: 13px;
    background: rgb(166 199 138 / 11%);
}

.brand-mark img {
    width: 33px;
    height: 33px;
    object-fit: contain;
}

.brand-copy {
    display: grid;
    gap: .16rem;
    line-height: 1;
}

.brand-copy strong {
    font-size: .9rem;
    letter-spacing: .14em;
}

.brand-copy span {
    color: var(--green);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .14em;
}

.site-nav .navbar-nav {
    gap: .2rem;
}

.site-nav .nav-link {
    position: relative;
    padding: .62rem .75rem;
    color: #c4c9c0;
    font-size: .92rem;
    transition: color .2s ease;
}

.site-nav .nav-link::after {
    position: absolute;
    right: .75rem;
    bottom: .35rem;
    left: .75rem;
    height: 1px;
    transform: scaleX(0);
    transform-origin: left;
    background: var(--green);
    content: "";
    transition: transform .2s ease;
}

.site-nav .nav-link:hover,
.site-nav .nav-link:focus-visible,
.site-nav .nav-link.active {
    color: var(--green-bright);
    background: transparent;
}

.site-nav .nav-link:hover::after,
.site-nav .nav-link:focus-visible::after,
.site-nav .nav-link.active::after {
    transform: scaleX(1);
}

.site-nav .nav-link.nav-cta {
    margin-left: .35rem;
    padding: .65rem .85rem;
    border: 1px solid rgb(166 199 138 / 40%);
    border-radius: 3px;
    color: var(--green-bright);
    transition: all 0.2s ease;
}

.site-nav .nav-link.nav-cta::after {
    display: none;
}

.nav-cta span {
    margin-left: .55rem;
}

.nav-drawer {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(88vw, 380px);
    height: 100vh;
    height: 100dvh;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 1.25rem;
    border: 1px solid var(--line);
    border-radius: 0;
    color: var(--text);
    background: #111b14;
    box-shadow: -18px 0 40px rgb(0 0 0 / 30%);
}

.nav-drawer::backdrop {
    background: rgb(5 11 7 / 68%);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.nav-drawer.hiding {
    transform: translateX(100%);
    visibility: hidden;
}

.nav-drawer.hiding::backdrop {
    background: transparent;
    -webkit-backdrop-filter: blur(0);
    backdrop-filter: blur(0);
}

.nav-drawer .drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--line);
}

.nav-drawer .drawer-title {
    color: var(--text);
}

.nav-drawer .drawer-body {
    overflow-y: auto;
    padding: .75rem 0;
}

.nav-drawer .navbar-nav {
    display: flex;
    flex-direction: column;
}

.nav-drawer .nav-link {
    color: #d4dbd0;
}

.nav-drawer .nav-link.active {
    color: var(--green-bright);
}

.site-toggler {
    border: 1px solid var(--line);
    border-radius: 4px;
}

@media (min-width: 992px) {
    .site-nav .nav-drawer:not([open]) {
        display: contents;
        visibility: visible;
    }

    .site-nav .nav-drawer:not([open]) .drawer-header {
        display: none;
    }

    .site-nav .site-toggler {
        display: none;
    }

    .site-nav .drawer-body {
        margin-left: auto;
        padding: 0;
        visibility: visible;
    }

    .site-nav .navbar-nav {
        flex-direction: row;
        align-items: center;
    }
}

.hero-section {
    position: relative;
    isolation: isolate;
    display: flex;
    min-height: calc(100vh - var(--hero-header-offset));
    min-height: calc(100svh - var(--hero-header-offset));
    align-items: center;
    overflow: hidden;
    background: #101b13;
}

.hero-section::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(90deg, rgb(8 17 12 / 91%) 0%, rgb(8 17 12 / 68%) 42%, rgb(8 17 12 / 13%) 100%), linear-gradient(0deg, rgb(8 17 12 / 54%), transparent 44%);
    content: "";
}

.hero-background {
    position: absolute;
    z-index: -2;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 46%;
    animation: hero-image-open 1.5s cubic-bezier(.2, .65, .3, 1) both;
}

.hero-inner {
    position: relative;
    padding-block: clamp(6rem, 11vw, 9rem);
}

.hero-copy {
    width: min(700px, 100%);
    min-width: 0;
    animation: hero-copy-open .75s .12s ease-out both;
}

@keyframes hero-image-open {
    from {
        opacity: .7;
        transform: scale(1.08);
    }

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

@keyframes hero-copy-open {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

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

.eyebrow {
    display: flex;
    align-items: center;
    gap: .65rem;
    margin-bottom: 1.1rem;
    color: var(--green);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.hero-section h1 {
    margin: 0 0 1.25rem;
    color: var(--text);
    font-size: clamp(3.6rem, 8vw, 7rem);
    font-weight: 800;
    letter-spacing: -.075em;
    line-height: 1.08;
    text-shadow: 0 4px 28px rgb(0 0 0 / 65%);
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.hero-section h1 em {
    color: var(--brown);
    font-style: normal;
}

.hero-text {
    max-width: 460px;
    margin: 0;
    color: #e0e7dc;
    font-size: clamp(.92rem, 1.3vw, 1.05rem);
    line-height: 1.9;
    text-shadow: 0 2px 12px rgb(0 0 0 / 75%);
}

.hero-actions {
    margin-top: 1.8rem;
}

.button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    padding: .8rem 1.15rem;
    border: 1px solid transparent;
    border-radius: 3px;
    font-size: .9rem;
    font-weight: 700;
    transition: transform .2s ease, background .2s ease, color .2s ease;
}

.button:hover,
.nav-cta:hover {
    transform: translateY(-2px);
}

.button-primary {
    color: #142016;
    background: var(--green);
}

.button-primary:hover,
.button-primary:focus-visible,
.nav-cta:hover {
    color: #142016;
    background: var(--green-bright);
}

.underlined-link:hover {
    transition: all 0.2s ease;
    transform: translateY(-2px);
    color: #eeee;
    border-color: #eeee;
}

.text-link {
    color: #e2e6dd;
    font-size: .9rem;
}

.text-link span {
    margin-left: .55rem;
    color: var(--green);
}

.text-link:hover {
    color: var(--green-bright);
}

.hero-caption {
    position: absolute;
    right: clamp(1rem, 4vw, 3rem);
    bottom: 1.4rem;
    display: flex;
    align-items: center;
    gap: .6rem;
    margin: 0;
    padding: .65rem .9rem;
    border: 1px solid rgb(255 255 255 / 20%);
    border-radius: 3px;
    color: #edf1e8;
    background: rgb(16 28 19 / 62%);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    font-size: .82rem;
}

.intro-section {
    padding-block: clamp(4.5rem, 9vw, 7rem);
    border-block: 1px solid var(--line);
    background: linear-gradient(100deg, rgb(29 42 32 / 72%), rgb(21 31 24 / 62%));
}

.intro-grid>* {
    min-width: 0;
}

.intro-media {
    position: relative;
    display: flex;
    min-height: 390px;
    flex-direction: column;
    gap: 1rem;
}

.section-kicker {
    display: flex;
    align-items: center;
    gap: .9rem;
    margin: 0;
    color: var(--green);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .1em;
    white-space: nowrap;
}

.kicker-line {
    width: 38px;
    height: 1px;
    background: rgb(166 199 138 / 45%);
}

.intro-media img {
    width: 100%;
    min-height: 0;
    flex: 1;
    border: 1px solid var(--line);
    border-radius: 3px;
    object-fit: cover;
    filter: brightness(.82) saturate(.83);
}

.intro-photo-caption {
    position: absolute;
    bottom: 1rem;
    left: .8rem;
    padding: .5rem .7rem;
    color: #e4ecd9;
    background: rgb(11 23 15 / 78%);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    font-size: .76rem;
    letter-spacing: .08em;
}

.intro-content .eyebrow {
    margin-bottom: .85rem;
}

.intro-content h2 {
    max-width: 34rem;
    margin-bottom: 1.1rem;
    color: #e9e5d7;
    font-size: clamp(2rem, 3.6vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -.05em;
    line-height: 1.28;
}

.intro-content>p:not(.eyebrow) {
    max-width: 540px;
    margin-bottom: 1rem;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.85;
}

.underlined-link {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    margin-top: .2rem;
    padding: .65rem 0;
    border-bottom: 1px solid rgb(166 199 138 / 42%);
    color: var(--green-bright);
    font-size: .9rem;
}

.discover-section {
    padding-block: clamp(4.5rem, 9vw, 7rem);
    background: var(--bg);
}

.section-heading {
    margin-bottom: 2.2rem;
}

.section-heading .eyebrow {
    margin-bottom: .8rem;
}

.section-heading h2 {
    margin: 0;
    color: #e9e5d7;
    font-size: clamp(2rem, 3.6vw, 2.8rem);
    letter-spacing: -.05em;
    line-height: 1.25;
}

.section-heading h2 span {
    color: var(--green);
}

.section-heading>div>p:last-child {
    max-width: 36rem;
    margin: .8rem 0 0;
    color: var(--muted);
    font-size: .95rem;
}

.desktop-link {
    margin-bottom: .3rem;
    white-space: nowrap;
}

.feature-grid>.col {
    min-width: 0;
}

.feature-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 3px;
    background: #151f18;
    transition: transform .25s ease, border-color .25s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgb(166 199 138 / 36%);
}

.card-art {
    position: relative;
    height: clamp(190px, 23vw, 265px);
    overflow: hidden;
    background: #203427;
}

.card-art::after {
    position: absolute;
    inset: 35% 0 0;
    background: linear-gradient(0deg, rgb(8 17 12 / 48%), transparent);
    content: "";
    pointer-events: none;
}

.card-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(.86) brightness(.84);
    transition: transform .5s ease, filter .3s ease;
}

.feature-card:hover .card-art img {
    transform: scale(1.045);
    filter: saturate(1) brightness(.96);
}

.art-tag {
    position: absolute;
    z-index: 1;
    bottom: .8rem;
    left: .8rem;
    padding: .42rem .55rem;
    border: 1px solid rgb(255 255 255 / 18%);
    color: #eef2e9;
    background: rgb(16 28 19 / 62%);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    font-size: .75rem;
    letter-spacing: .08em;
}

.feature-card .card-body {
    min-height: 215px;
    padding: 1.35rem;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    gap: .5rem;
    margin-bottom: 1.1rem;
    color: #9aa895;
    font-size: .74rem;
    letter-spacing: .06em;
}

.feature-card h3 {
    margin-bottom: .65rem;
    color: #e7eadf;
    font-size: 1.25rem;
    letter-spacing: -.025em;
    line-height: 1.3;
}

.feature-card p {
    margin-bottom: 1.1rem;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.7;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    color: var(--green-bright);
    font-size: .9rem;
    font-weight: 700;
}

.card-link:hover {
    color: #e2efd3;
}

.wildlife-page {
    background: var(--bg);
}

.wildlife-intro {
    padding-block: clamp(4.5rem, 8vw, 6.5rem) 3.5rem;
    text-align: center;
    background: radial-gradient(ellipse at 50% 0%, rgb(166 199 138 / 10%), transparent 62%);
}

.wildlife-intro .eyebrow {
    margin-bottom: 1rem;
}

.wildlife-intro h1 {
    margin-bottom: 1.1rem;
    color: #eeeade;
    font-size: clamp(2.6rem, 6vw, 4.7rem);
    font-weight: 800;
    letter-spacing: -.065em;
    line-height: 1.18;
}

.wildlife-intro h1 span {
    color: var(--green);
}

.wildlife-lead {
    max-width: 690px;
    margin: 0 auto;
    color: var(--muted);
    font-size: clamp(1rem, 1.4vw, 1.12rem);
    line-height: 1.8;
}

.wildlife-jump-links {
    margin-top: 2rem;
}

.wildlife-filter {
    min-width: 155px;
    cursor: pointer;
}

.wildlife-filter:focus-visible {
    outline: 2px solid var(--green-bright);
    outline-offset: 3px;
}

.wildlife-count {
    font-size: .72rem;
    font-variant-numeric: tabular-nums;
    opacity: .75;
}

.wildlife-group[hidden] {
    display: none !important;
}

.button-secondary {
    border-color: rgb(189 148 111 / 52%);
    color: #e2c09c;
    background: rgb(189 148 111 / 8%);
}

.button-secondary:hover,
.button-secondary:focus-visible {
    border-color: var(--brown);
    color: #f1d2ae;
    background: rgb(189 148 111 / 16%);
}

.wildlife-group {
    padding-block: clamp(3.5rem, 6vw, 5rem);
}

.wildlife-plants {
    border-top: 1px solid var(--line);
    background: linear-gradient(110deg, rgb(29 42 32 / 52%), rgb(21 31 24 / 40%));
}

.wildlife-group-heading {
    margin-bottom: 1.8rem;
}

.wildlife-group-heading .eyebrow {
    margin-bottom: .55rem;
}

.wildlife-group-heading h2 {
    margin: 0;
    color: #e9e5d7;
    font-size: clamp(1.9rem, 3.5vw, 2.7rem);
    letter-spacing: -.05em;
    line-height: 1.25;
}

.wildlife-group-heading>p {
    max-width: 340px;
    margin: 0;
    color: var(--muted);
}

.wildlife-card {
    display: flex;
    flex-direction: column;
}

.wildlife-card .card-art {
    height: clamp(190px, 23vw, 260px);
}

.wildlife-card .card-body {
    min-height: 275px;
    padding: 1.35rem;
}

.wildlife-card .card-meta {
    margin-bottom: .75rem;
    color: var(--green);
}

.wildlife-card h3 {
    margin-bottom: .3rem;
    font-size: 1.35rem;
}

.wildlife-card .wildlife-latin {
    margin: 0 0 .8rem;
    color: var(--brown);
    font-size: .88rem;
    font-style: italic;
}

.wildlife-card .wildlife-description {
    margin-bottom: 1.25rem;
}

.sound-button {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    align-self: flex-start;
    margin-top: auto;
    padding: .5rem .8rem;
    border: 1px solid rgb(166 199 138 / 35%);
    border-radius: 3px;
    color: var(--green-bright);
    background: rgb(166 199 138 / 7%);
    font: inherit;
    font-size: .82rem;
    font-weight: 600;
    transition: border-color .2s ease, background .2s ease, color .2s ease;
}

.sound-button:hover,
.sound-button:focus-visible {
    border-color: var(--green);
    color: #e7f0dc;
    background: rgb(166 199 138 / 14%);
}

.sound-button svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

.sound-button.is-playing {
    border-color: var(--brown);
    color: #f1d2ae;
    background: rgb(189 148 111 / 12%);
}

.wildlife-audio-credits {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 1.25rem 2rem;
    color: var(--muted);
    font-size: .83rem;
}

.wildlife-audio-credits summary {
    width: fit-content;
    color: var(--green-bright);
    cursor: pointer;
}

.wildlife-audio-credits ul {
    display: grid;
    gap: .5rem;
    margin: .8rem 0 0;
    padding-left: 1.25rem;
}

.wildlife-audio-credits a {
    color: #d0b18e;
}

.site-footer {
    padding-top: 2.6rem;
    background: #0c120e;
}

.footer-top {
    min-height: 85px;
    padding-bottom: 1.6rem;
    border-bottom: 1px solid var(--line);
}

.footer-motto {
    margin: 0;
    color: #849080;
    font-size: .88rem;
}

.footer-links {
    margin-left: auto;
}

.footer-links a,
.footer-bottom a {
    color: #b0baad;
    font-size: .85rem;
    transition: color .2s ease;
}

.footer-links a:hover,
.footer-bottom a:hover {
    color: var(--green);
}

.footer-bottom {
    padding-block: 1.2rem;
    color: #899486;
    font-size: .8rem;
}

.footer-authors {
    color: #a8b1a5;
}

.footer-note {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
}

.footer-note .pulse-dot {
    width: 5px;
    height: 5px;
}

/* Interaktív esőerdő-térkép */
.map-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    min-height: 425px;
    align-items: center;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    background: #142119;
}

.map-hero::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(90deg, rgb(8 17 12 / 94%) 0%, rgb(8 17 12 / 76%) 48%, rgb(8 17 12 / 18%) 100%),
        linear-gradient(0deg, rgb(8 17 12 / 52%), transparent 62%);
    content: "";
}

.map-hero-image {
    position: absolute;
    z-index: -2;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 47%;
}

.map-hero-inner {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2.5rem;
    padding-block: 4.75rem 4.5rem;
}

.map-hero-copy {
    max-width: 680px;
}

.map-hero-copy .eyebrow {
    display: flex;
    align-items: center;
    gap: .6rem;
}

.map-hero-copy h1 {
    max-width: 650px;
    margin-bottom: 1rem;
    color: var(--text);
    font-size: clamp(2.65rem, 5vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -.055em;
    line-height: 1.15;
}

.map-hero-copy h1 span {
    color: var(--brown);
}

.map-hero-copy>p:not(.eyebrow) {
    max-width: 600px;
    margin-bottom: 1.45rem;
    color: #d0d6cc;
    font-size: 1.02rem;
    line-height: 1.75;
}

.map-hero-copy .button {
    min-height: 48px;
}

.map-hero-stats {
    display: flex;
    flex: 0 0 auto;
    gap: 1.4rem;
    padding: 1rem 1.15rem;
    border: 1px solid rgb(225 235 219 / 20%);
    border-radius: 5px;
    background: rgb(13 22 16 / 70%);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

.map-hero-stats div {
    display: grid;
    gap: .18rem;
    min-width: 82px;
}

.map-hero-stats div+div {
    padding-left: 1.2rem;
    border-left: 1px solid var(--line);
}

.map-hero-stats strong {
    color: var(--green-bright);
    font-size: 1.45rem;
    line-height: 1;
}

.map-hero-stats span {
    color: #c2cbbd;
    font-size: .69rem;
    letter-spacing: .035em;
    white-space: nowrap;
}

.map-hero-caption {
    position: absolute;
    right: max(18px, calc((100vw - 1160px) / 2));
    bottom: 1rem;
    padding: .45rem .7rem;
    border: 1px solid rgb(225 235 219 / 18%);
    border-radius: 3px;
    color: #dbe2d6;
    background: rgb(13 22 16 / 72%);
    font-size: .72rem;
}

.map-explorer {
    padding-block: 5rem 5.5rem;
    background: radial-gradient(ellipse at 50% 0%, rgb(38 59 43 / 28%), transparent 46%), var(--bg);
}

.map-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 1.6rem;
}

.map-section-heading .eyebrow {
    display: flex;
    align-items: center;
    gap: .6rem;
}

.map-section-heading h2 {
    margin-bottom: .55rem;
    color: var(--text);
    font-size: clamp(1.8rem, 3.3vw, 2.65rem);
    font-weight: 700;
    letter-spacing: -.04em;
    line-height: 1.25;
}

.map-section-heading>div>p:last-child {
    max-width: 650px;
    margin-bottom: 0;
    color: var(--muted);
}

.map-region-total {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: .55rem;
    margin: 0 0 .25rem;
    color: var(--green-bright);
    font-size: .88rem;
}

.map-region-total span {
    color: var(--brown);
    font-size: 1.2rem;
}

.map-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    margin-bottom: 1rem;
}

.map-filter {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: .65rem;
    padding: .45rem .8rem;
    border: 1px solid rgb(222 235 215 / 16%);
    border-radius: 3px;
    color: #c3cbbf;
    background: #151f18;
    font: inherit;
    font-size: .82rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color .2s ease, background-color .2s ease, color .2s ease, transform .2s ease;
}

.map-filter span {
    color: #8d9989;
    font-size: .7rem;
    font-variant-numeric: tabular-nums;
}

.map-filter:hover,
.map-filter:focus-visible {
    border-color: rgb(166 199 138 / 60%);
    color: var(--green-bright);
}

.map-filter:focus-visible,
.map-location-card:focus-visible {
    outline: 2px solid var(--green-bright);
    outline-offset: 3px;
}

.map-filter.is-active {
    border-color: rgb(166 199 138 / 58%);
    color: #101712;
    background: var(--green);
}

.map-filter.is-active span {
    color: #34472c;
}

.map-explorer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(285px, 350px);
    align-items: stretch;
    gap: 1rem;
}

.map-panel,
.map-location-panel {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #151f18;
    box-shadow: 0 20px 50px rgb(0 0 0 / 14%);
}

.map-panel-heading,
.map-panel-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-inline: 1rem;
}

.map-panel-heading {
    min-height: 49px;
    border-bottom: 1px solid var(--line);
    color: #c6d0c2;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .085em;
}

.map-panel-heading>div,
.map-panel-footer>span:first-child {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
}

.map-live-indicator {
    display: inline-block;
    width: 8px;
    height: 8px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 12px rgb(166 199 138 / 55%);
}

.map-panel-hint {
    color: #899688;
    font-size: .72rem;
    font-weight: 400;
    letter-spacing: 0;
    text-align: right;
}

.map-canvas {
    position: relative;
    height: 520px;
    background: #1b2920;
    isolation: isolate;
}

.map-canvas .map-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    margin: 0;
    transform: translate(-50%, -50%);
    color: #c2cbbd;
    font-size: .9rem;
}

.map-panel-footer {
    min-height: 43px;
    border-top: 1px solid var(--line);
    color: #a5b09f;
    font-size: .73rem;
}

.map-panel-footer>span:first-child {
    color: #cad2c5;
}

.map-panel-footer {
    width: 7px;
    height: 7px;
}

.map-panel-footer a {
    color: var(--green-bright);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.map-location-panel {
    display: flex;
    flex-direction: column;
    padding: 1.1rem 1rem .75rem;
}

.map-list-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.map-list-kicker {
    margin-bottom: .2rem;
    color: var(--green);
    font-size: .67rem;
    font-weight: 700;
    letter-spacing: .13em;
}

.map-list-heading h3 {
    margin: 0;
    color: var(--text);
    font-size: 1.2rem;
    font-weight: 700;
}

.map-list-count {
    display: grid;
    width: 36px;
    height: 36px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid rgb(166 199 138 / 25%);
    border-radius: 50%;
    color: var(--green-bright);
    background: rgb(166 199 138 / 8%);
    font-size: .78rem;
    font-variant-numeric: tabular-nums;
}

.map-list-description {
    margin: .55rem 0 .45rem;
    color: #9da99b;
    font-size: .82rem;
}

.map-location-list {
    display: flex;
    flex-direction: column;
    margin: .25rem 0 0;
    padding: 0;
    list-style: none;
}

.map-location-list li+li {
    border-top: 1px solid var(--line);
}

.map-location-card {
    display: grid;
    width: 100%;
    min-height: 58px;
    grid-template-columns: 28px minmax(0, 1fr) 18px;
    align-items: center;
    gap: .55rem;
    padding: .55rem .2rem;
    border: 0;
    color: inherit;
    background: transparent;
    text-align: left;
    cursor: pointer;
    transition: background-color .2s ease, padding .2s ease;
}

.map-location-card:hover,
.map-location-card.is-selected {
    padding-inline: .5rem;
    background: rgb(166 199 138 / 8%);
}

.map-location-number {
    color: var(--green);
    font-size: .74rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.map-location-copy {
    display: grid;
    min-width: 0;
    gap: .12rem;
}

.map-location-copy strong {
    overflow: hidden;
    color: #e9ece3;
    font-size: .83rem;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.map-location-copy>span {
    overflow: hidden;
    color: #98a393;
    font-size: .7rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.map-location-arrow {
    color: #82917e;
    font-size: .95rem;
    transition: color .2s ease, transform .2s ease;
}

.map-location-card:hover .map-location-arrow,
.map-location-card.is-selected .map-location-arrow {
    transform: translate(2px, -2px);
    color: var(--green-bright);
}

.map-note {
    display: flex;
    align-items: flex-start;
    gap: .8rem;
    margin-top: 1.2rem;
    padding: .9rem 1rem;
    border: 1px solid rgb(189 148 111 / 20%);
    border-radius: 4px;
    background: rgb(189 148 111 / 5%);
}

.map-note-mark {
    display: grid;
    width: 21px;
    height: 21px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid rgb(189 148 111 / 50%);
    border-radius: 50%;
    color: #d0ad8c;
    font-size: .75rem;
    font-weight: 700;
}

.map-note p {
    margin: 0;
    color: #aeb7a9;
    font-size: .8rem;
    line-height: 1.6;
}

.map-unavailable {
    display: grid;
    min-height: inherit;
    place-items: center;
    padding: 2rem;
    color: #c2cbbd;
    text-align: center;
}

.map-canvas .leaflet-tile {
    filter: brightness(.74) saturate(.66) contrast(1.06);
}

.map-canvas .leaflet-control-zoom a {
    border-color: #d3dacd;
    color: #243328;
    background: #f1f1e8;
}

.map-canvas .leaflet-control-zoom a:hover {
    color: #142119;
    background: var(--green-bright);
}

.map-canvas .leaflet-control-attribution {
    color: #485346;
    background: rgb(241 241 232 / 88%);
    font-size: 10px;
}

.map-canvas .leaflet-control-attribution a {
    color: #35583a;
}

.rainforest-marker-shell {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid rgb(232 242 221 / 88%);
    border-radius: 50%;
    color: #142119;
    background: var(--green-bright);
    box-shadow: 0 0 0 6px rgb(166 199 138 / 23%), 0 4px 14px rgb(0 0 0 / 48%);
    font-size: .73rem;
    font-weight: 800;
    transition: transform .2s ease, background-color .2s ease;
}

.map-canvas .rainforest-marker {
    border: 0;
    background: transparent;
}

.rainforest-marker-shell.is-selected {
    transform: scale(1.17);
    background: #d1a681;
}

.map-canvas .leaflet-marker-icon:focus-visible .rainforest-marker-shell {
    outline: 3px solid #f4f4e8;
    outline-offset: 3px;
}

.rainforest-popup .leaflet-popup-content-wrapper,
.rainforest-popup .leaflet-popup-tip {
    color: var(--text);
    background: #142119;
}

.rainforest-popup .leaflet-popup-content-wrapper {
    border: 1px solid rgb(166 199 138 / 32%);
    border-radius: 5px;
    box-shadow: 0 12px 30px rgb(0 0 0 / 35%);
}

.rainforest-popup .leaflet-popup-content {
    margin: .85rem 1rem;
    min-width: 180px;
}

.rainforest-popup .leaflet-popup-close-button {
    color: #c4d1be !important;
}

.map-popup-region {
    display: block;
    margin-bottom: .2rem;
    color: var(--green);
    font-size: .64rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.map-popup-name {
    margin: 0 0 .3rem;
    color: var(--text);
    font-size: 1rem;
    font-weight: 700;
}

.map-popup-country {
    color: #aab5a6;
    font-size: .76rem;
}

.map-popup-description {
    margin: .55rem 0 0;
    color: #c1c9bc;
    font-size: .76rem;
    line-height: 1.5;
}

@media (max-width: 991.98px) {
    :root {
        --hero-header-offset: 71px;
    }

    .site-nav {
        min-height: 70px;
    }

    .site-nav .navbar-nav {
        gap: 0;
    }

    .site-nav .nav-link {
        padding: .8rem 1rem;
    }

    .site-nav .nav-link.nav-cta {
        margin: .4rem 0 0;
        text-align: center;
    }

    .hero-section::before {
        background: linear-gradient(90deg, rgb(8 17 12 / 90%), rgb(8 17 12 / 45%)), linear-gradient(0deg, rgb(8 17 12 / 76%), transparent 58%);
    }

    .hero-background {
        object-position: 57% center;
    }

    .intro-media {
        min-height: 320px;
    }

    .feature-card .card-body {
        min-height: 205px;
        padding: 1.15rem;
    }

    .map-hero-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .map-hero-stats {
        margin-top: .15rem;
    }

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

    .map-location-panel {
        padding-inline: 1.2rem;
    }

    .map-location-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 1rem;
    }

    .map-location-list li:nth-child(2) {
        border-top: 0;
    }

    .map-location-list li:nth-child(odd) {
        border-right: 1px solid var(--line);
        padding-right: .75rem;
    }

    .map-location-list li:nth-child(even) {
        padding-left: .75rem;
    }
}

@media (max-width: 767.98px) {
    .hero-inner {
        padding-block: 5rem 6rem;
    }

    .hero-section h1 {
        font-size: clamp(3.1rem, 11vw, 4.6rem);
    }

    .hero-caption {
        right: 1rem;
        bottom: 1rem;
        font-size: .78rem;
    }

    .intro-media {
        min-height: 340px;
    }

    .intro-content h2 {
        font-size: clamp(1.95rem, 7vw, 2.5rem);
    }

    .section-heading {
        margin-bottom: 1.7rem;
    }

    .card-art {
        height: 230px;
    }

    .feature-card .card-body {
        min-height: 190px;
    }

    .wildlife-intro {
        padding-block: 4rem 3rem;
    }

    .wildlife-group {
        padding-block: 3.5rem;
    }

    .wildlife-group-heading>p {
        max-width: 100%;
    }

    .wildlife-card .card-body {
        min-height: 250px;
    }

    .footer-top {
        align-items: flex-start;
    }

    .footer-motto {
        width: 100%;
        order: 2;
    }

    .footer-links {
        width: 100%;
        order: 3;
        margin-left: 0;
    }

    .footer-bottom {
        align-items: flex-start;
    }

    .map-hero {
        min-height: 510px;
    }

    .map-hero-inner {
        padding-block: 3.75rem 4.25rem;
    }

    .map-hero-copy h1 {
        font-size: clamp(2.65rem, 10vw, 4rem);
    }

    .map-hero-copy>p:not(.eyebrow) {
        max-width: 540px;
        font-size: .96rem;
    }

    .map-hero-stats {
        gap: .65rem;
        padding: .8rem .9rem;
    }

    .map-hero-stats div+div {
        padding-left: .7rem;
    }

    .map-explorer {
        padding-block: 3.75rem 4.25rem;
    }

    .map-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: .7rem;
    }

    .map-section-heading>div>p:last-child {
        font-size: .9rem;
    }

    .map-region-total {
        margin: 0;
    }

    .map-canvas {
        height: 440px;
    }

    .map-panel-hint {
        max-width: 185px;
    }

    .map-panel-footer {
        flex-wrap: wrap;
        padding-block: .5rem;
    }
}

@media (max-width: 420px) {
    .container-xl {
        width: calc(100% - 28px);
    }

    .nav-wrap {
        width: calc(100% - 24px);
    }

    .brand {
        gap: .45rem !important;
        font-size: .72rem;
        letter-spacing: .06em;
    }

    .brand-mark {
        width: 36px;
        height: 36px;
        border-radius: 11px;
    }

    .brand-mark img {
        width: 29px;
        height: 29px;
    }

    .hero-section h1 {
        font-size: clamp(2.8rem, 12vw, 3.25rem);
    }

    .hero-text {
        font-size: .9rem;
    }

    .hero-actions {
        align-items: flex-start;
    }

    .hero-caption {
        max-width: calc(100% - 2rem);
    }

    .map-hero {
        min-height: 500px;
    }

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

    .map-hero-stats {
        width: 100%;
        justify-content: space-between;
        gap: .45rem;
        padding: .75rem .65rem;
    }

    .map-hero-stats div {
        min-width: 0;
    }

    .map-hero-stats div+div {
        padding-left: .5rem;
    }

    .map-hero-stats strong {
        font-size: 1.25rem;
    }

    .map-hero-stats span {
        font-size: .62rem;
        white-space: normal;
    }

    .map-hero-caption {
        right: 14px;
        bottom: .65rem;
        max-width: calc(100% - 28px);
        font-size: .64rem;
    }

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

    .map-filter {
        min-width: 0;
        gap: .4rem;
        padding-inline: .4rem;
        font-size: .72rem;
    }

    .map-filter:first-child {
        grid-column: 1 / -1;
    }

    .map-canvas {
        height: 350px;
    }

    .map-panel-heading {
        min-height: 45px;
        padding-inline: .7rem;
        font-size: .63rem;
    }

    .map-panel-hint {
        display: none;
    }

    .map-panel-footer {
        align-items: flex-start;
        flex-direction: column;
        gap: .2rem;
        padding: .6rem .75rem;
        font-size: .68rem;
    }

    .map-location-panel {
        padding-inline: .8rem;
    }

    .map-location-list {
        column-gap: .55rem;
    }

    .map-location-list li:nth-child(odd) {
        padding-right: .35rem;
    }

    .map-location-list li:nth-child(even) {
        padding-left: .35rem;
    }

    .map-location-card {
        grid-template-columns: 22px minmax(0, 1fr) 12px;
        gap: .35rem;
    }

    .map-location-copy strong {
        font-size: .76rem;
    }

    .map-location-copy>span {
        font-size: .62rem;
    }

    .map-location-arrow {
        font-size: .8rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}