/* Management Plans: the original page had no inline styles; its stylesheet css/management_plans.css is loaded as is. */

/* Management Plans in the site style (Home → Territorial Overview): full width inside 5% margins, left headings (38px),
   deep-green cards with gold accents and mouse interaction, as on Man-Animal Conflict */
html body .mp-page .mp-wrap { max-width: none; padding-left: 5%; padding-right: 5%; box-sizing: border-box; }
html body .mp-page .mp-section-title { margin: 52px 0 12px; padding: 0; border: 0; text-align: left; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: clamp(28px, 2.5vw, 38px); line-height: 1.05; letter-spacing: -.035em; color: #0a2e1a; }
html body .mp-page .mp-section-title::before, html body .mp-page .mp-section-title::after, html body .mp-page .wa-title-bar { display: none; }
html body .mp-page .mp-section-subtitle { margin: 0 0 32px; max-width: 72ch; text-align: left; font-size: 17px; line-height: 1.6; color: #4b5563; }
html body .mp-page { padding-bottom: 84px; }

/* objectives: deep-green cards, faint number, pointer light and tilt, gold on hover */
html body .mp-page .mp-objectives-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; counter-reset: mpo; }
html body .mp-page .mp-objective-card, html body .mp-page .mp-objective-card.active { counter-increment: mpo; position: relative; overflow: hidden; isolation: isolate; padding: 32px 24px; border: 0; border-radius: 8px; background: #0a2e1a; box-shadow: none; opacity: 1;
    transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 200ms cubic-bezier(.4, 0, .2, 1), background-color 200ms; cursor: default; }
html body .mp-page .mp-objective-card::before { content: counter(mpo, decimal-leading-zero); position: absolute; right: 16px; bottom: -18px; z-index: -1; font: 500 120px/1 Roboto, sans-serif; letter-spacing: -.06em; color: rgba(255, 255, 255, .05); transition: color 300ms, transform 400ms cubic-bezier(.16, 1, .3, 1); }
html body .mp-page .mp-objective-card::after { content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 200ms; pointer-events: none;
    background: radial-gradient(300px circle at var(--gx, 50%) var(--gy, 50%), rgba(241, 196, 15, .18), transparent 60%), linear-gradient(#f1c40f, #f1c40f) no-repeat 0 0 / 100% 3px; }
html body .mp-page .mp-objective-card:hover { background: #0f3a22; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-4px); }
html body .mp-page .mp-objective-card:hover::after { opacity: 1; }
html body .mp-page .mp-objective-card:hover::before { color: rgba(241, 196, 15, .14); transform: translateY(-8px); }
html body .mp-page .mp-obj-icon { width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 255, 255, .1) !important; color: #8fc9a3 !important; box-shadow: none; transition: background-color 150ms, color 150ms, transform 300ms cubic-bezier(.34, 1.56, .64, 1) !important; }
html body .mp-page .mp-objective-card:hover .mp-obj-icon { background: #f1c40f !important; color: #0a2e1a !important; transform: translateY(-4px) rotate(-8deg) !important; }
html body .mp-page .mp-obj-title { margin: 20px 0 8px; font-size: 19px; font-weight: 800; color: #fff; transition: color 150ms; }
html body .mp-page .mp-objective-card:hover .mp-obj-title { color: #f1c40f; }
html body .mp-page .mp-obj-desc, html body .mp-page .mp-obj-desc p { font-size: 15px; line-height: 1.65; color: rgba(255, 255, 255, .75); }
html body .mp-page .mp-species-tag { display: inline-block; margin: 12px 4px 0 0; padding: 4px 10px; border-radius: 999px; background: rgba(241, 196, 15, .15); color: #f1c40f; font-size: 12px; font-weight: 700; border: 0; }

/* plans: the list on the left, the chosen plan's details on the right, one green card */
html body .mp-page .mp-plans-container { padding: 32px; border: 0; border-radius: 8px; background: #0a2e1a; box-shadow: none; }
html body .mp-page .mp-plans-container::before, html body .mp-page .mp-plans-container::after { display: none; }
html body .mp-page .mp-plans-grid { display: grid; grid-template-columns: 38.2fr 61.8fr; gap: 32px; align-items: start; }
html body .mp-page .mp-plans-list { counter-reset: mpp; display: flex; flex-direction: column; gap: 4px; }
html body .mp-page .mp-plan-tab { counter-increment: mpp; position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 16px; border: 0; border-radius: 8px; background: transparent; box-shadow: none; cursor: pointer; transition: background-color 150ms; }
html body .mp-page .mp-plan-tab::before { content: counter(mpp, decimal-leading-zero); font: 600 13px/1 Roboto, sans-serif; color: rgba(255, 255, 255, .4); }
html body .mp-page .mp-plan-tab::after { content: ''; position: absolute; left: 0; top: 12px; bottom: 12px; width: 3px; border-radius: 3px; background: #f1c40f; transform: scaleY(0); transition: transform 250ms cubic-bezier(.16, 1, .3, 1); }
html body .mp-page .mp-plan-tab + .mp-plan-tab { box-shadow: 0 -1px 0 rgba(255, 255, 255, .08); }
html body .mp-page .mp-plan-tab:hover { background: rgba(255, 255, 255, .05); }
html body .mp-page .mp-plan-tab.active { background: rgba(255, 255, 255, .09); box-shadow: none; border: 0; }
html body .mp-page .mp-plan-tab.active::before { color: #f1c40f; }
html body .mp-page .mp-plan-tab.active::after { transform: scaleY(1); }
html body .mp-page .mp-plan-tab-title { font-size: 16px; font-weight: 700; line-height: 1.35; color: #fff; }
html body .mp-page .mp-plan-tab-meta { margin-top: 2px; font-size: 13px; color: rgba(255, 255, 255, .55); }
.mpx-badge { padding: 3px 8px; border-radius: 4px; background: rgba(241, 196, 15, .15); color: #f1c40f; font-size: 11px; font-weight: 700; white-space: nowrap; }
html body .mp-page .mpx-panel { position: relative; padding: 32px; border: 0; border-radius: 8px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); min-height: 0; }
html body .mp-page .mpx-panel::before, html body .mp-page .mpx-panel::after { display: none; }
.mpx-label { display: block; padding-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: 12px; font-weight: 600; letter-spacing: .04em; color: #8fc9a3; }
html body .mp-page .mp-cert-title { margin: 20px 0 20px; font-family: 'Plus Jakarta Sans', sans-serif; font-size: clamp(24px, 2.2vw, 32px); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; color: #fff; }
.mpx-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0 0 20px; }
.mpx-facts div { padding: 16px 20px; border-radius: 8px; background: rgba(255, 255, 255, .06); transition: background-color 150ms; }
.mpx-facts div:hover { background: rgba(255, 255, 255, .1); }
.mpx-facts dt { font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, .6); }
.mpx-facts dd { margin: 4px 0 0; font: 500 20px/1.3 Roboto, sans-serif; color: #f1c40f; }
.mpx-goal { margin: 0 0 20px; font-size: 16px; line-height: 1.7; color: rgba(255, 255, 255, .82); }
.mpx-approved { margin: 0; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; font-weight: 600; color: #8fc9a3; }
@media (prefers-reduced-motion: no-preference) { .mpx-panel.is-in .mp-cert-meta { animation: mpxIn 400ms cubic-bezier(.16, 1, .3, 1); } @keyframes mpxIn { from { opacity: 0; translate: 0 8px; } to { opacity: 1; translate: 0 0; } } }

/* habitat photos: one frame split in half (picture | words), deep green, as on Man-Animal Conflict */
html body .mp-page .mp-parallel-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 20px; }
html body .mp-page .mp-img-card { overflow: hidden; border: 0; border-radius: 8px; background: #0a2e1a; box-shadow: none; opacity: 1; transition: transform 200ms cubic-bezier(.4, 0, .2, 1); }
html body .mp-page .mp-img-card:hover { transform: translateY(-4px); }
html body .mp-page .mp-img-frame img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; transition: transform 600ms cubic-bezier(.16, 1, .3, 1); }
html body .mp-page .mp-img-card:hover .mp-img-frame img { transform: scale(1.05); }
html body .mp-page .mp-img-info { padding: 24px; }
html body .mp-page .mp-img-title { margin: 0 0 8px; font-size: 19px; font-weight: 800; color: #fff; transition: color 150ms; }
html body .mp-page .mp-img-card:hover .mp-img-title { color: #f1c40f; }
html body .mp-page .mp-img-cap { margin: 0; font-size: 15px; line-height: 1.65; color: rgba(255, 255, 255, .75); }
@media (min-width: 769px) {
    html body .mp-page .mp-img-card { display: grid; grid-template-columns: 1fr 1fr; min-height: 260px; }
    html body .mp-page .mp-img-frame { height: auto; min-height: 260px; }
    html body .mp-page .mp-img-info { display: flex; flex-direction: column; justify-content: center; padding: 32px; }
}
@media (max-width: 1100px) { html body .mp-page .mp-objectives-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } html body .mp-page .mp-plans-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { html body .mp-page .mp-wrap { padding-left: 20px; padding-right: 20px; } html body .mp-page .mp-objectives-grid, .mpx-facts { grid-template-columns: minmax(0, 1fr); } html body .mp-page .mp-plans-container, html body .mp-page .mpx-panel { padding: 20px; } }

html body .mp-page .mp-objective-card { border-top: 0 !important; }
html body .mp-page .mp-objective-card::before { top: auto !important; left: auto !important; width: auto !important; height: auto !important; background: none !important; }

/* breathing space between a heading and the block under it */
html body .mp-page .mp-section-title { margin-bottom: 20px !important; }
html body .mp-page .mp-section-title + .wa-title-bar + .mp-section-subtitle, html body .mp-page .mp-section-title + .mp-section-subtitle { margin-top: -8px; }
